kitchen-simulator 5.0.0-test.4 → 5.0.0-test.6

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 (751) hide show
  1. package/package.json +23 -41
  2. package/es/@history.js +0 -3
  3. package/es/@history.js.map +0 -1
  4. package/es/AppContext.js +0 -4
  5. package/es/AppContext.js.map +0 -1
  6. package/es/KitchenConfigurator.js +0 -1345
  7. package/es/KitchenConfigurator.js.map +0 -1
  8. package/es/KitchenConfiguratorApp.js +0 -532
  9. package/es/KitchenConfiguratorApp.js.map +0 -1
  10. package/es/actions/area-actions.js +0 -15
  11. package/es/actions/area-actions.js.map +0 -1
  12. package/es/actions/export.js +0 -26
  13. package/es/actions/export.js.map +0 -1
  14. package/es/actions/groups-actions.js +0 -90
  15. package/es/actions/groups-actions.js.map +0 -1
  16. package/es/actions/holes-actions.js +0 -120
  17. package/es/actions/holes-actions.js.map +0 -1
  18. package/es/actions/items-actions.js +0 -314
  19. package/es/actions/items-actions.js.map +0 -1
  20. package/es/actions/lines-actions.js +0 -83
  21. package/es/actions/lines-actions.js.map +0 -1
  22. package/es/actions/project-actions.js +0 -282
  23. package/es/actions/project-actions.js.map +0 -1
  24. package/es/actions/scene-actions.js +0 -34
  25. package/es/actions/scene-actions.js.map +0 -1
  26. package/es/actions/user-actions.js +0 -59
  27. package/es/actions/user-actions.js.map +0 -1
  28. package/es/actions/vertices-actions.js +0 -28
  29. package/es/actions/vertices-actions.js.map +0 -1
  30. package/es/actions/viewer2d-actions.js +0 -59
  31. package/es/actions/viewer2d-actions.js.map +0 -1
  32. package/es/actions/viewer3d-actions.js +0 -24
  33. package/es/actions/viewer3d-actions.js.map +0 -1
  34. package/es/catalog/areas/area/planner-element.js +0 -41
  35. package/es/catalog/areas/area/planner-element.js.map +0 -1
  36. package/es/catalog/areas/area/textures/ceramic-tile.jpg +0 -0
  37. package/es/catalog/areas/area/textures/grass.jpg +0 -0
  38. package/es/catalog/areas/area/textures/parquet.jpg +0 -0
  39. package/es/catalog/areas/area/textures/strand-porcelain.jpg +0 -0
  40. package/es/catalog/areas/area/textures/tile1.jpg +0 -0
  41. package/es/catalog/back.png +0 -0
  42. package/es/catalog/catalog.js +0 -278
  43. package/es/catalog/catalog.js.map +0 -1
  44. package/es/catalog/doors.png +0 -0
  45. package/es/catalog/doorways.png +0 -0
  46. package/es/catalog/envMap/nx.hdr +0 -0
  47. package/es/catalog/envMap/ny.hdr +0 -0
  48. package/es/catalog/envMap/nz.hdr +0 -0
  49. package/es/catalog/envMap/px.hdr +0 -0
  50. package/es/catalog/envMap/py.hdr +0 -0
  51. package/es/catalog/envMap/pz.hdr +0 -0
  52. package/es/catalog/factories/area-factory-3d.js +0 -183
  53. package/es/catalog/factories/area-factory-3d.js.map +0 -1
  54. package/es/catalog/factories/area-factory.js +0 -82
  55. package/es/catalog/factories/area-factory.js.map +0 -1
  56. package/es/catalog/factories/export.js +0 -8
  57. package/es/catalog/factories/export.js.map +0 -1
  58. package/es/catalog/factories/wall-factory-3d.js +0 -203
  59. package/es/catalog/factories/wall-factory-3d.js.map +0 -1
  60. package/es/catalog/factories/wall-factory.js +0 -269
  61. package/es/catalog/factories/wall-factory.js.map +0 -1
  62. package/es/catalog/holes/door-closet/planner-element.js +0 -223
  63. package/es/catalog/holes/door-closet/planner-element.js.map +0 -1
  64. package/es/catalog/holes/door-double/door_double.png +0 -0
  65. package/es/catalog/holes/door-double/planner-element.js +0 -316
  66. package/es/catalog/holes/door-double/planner-element.js.map +0 -1
  67. package/es/catalog/holes/door-exterior/planner-element.js +0 -216
  68. package/es/catalog/holes/door-exterior/planner-element.js.map +0 -1
  69. package/es/catalog/holes/door-interior/planner-element.js +0 -228
  70. package/es/catalog/holes/door-interior/planner-element.js.map +0 -1
  71. package/es/catalog/holes/door-panic/panicDoor.png +0 -0
  72. package/es/catalog/holes/door-panic/planner-element.js +0 -504
  73. package/es/catalog/holes/door-panic/planner-element.js.map +0 -1
  74. package/es/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
  75. package/es/catalog/holes/door-panic-double/planner-element.js +0 -464
  76. package/es/catalog/holes/door-panic-double/planner-element.js.map +0 -1
  77. package/es/catalog/holes/door-sliding/planner-element.js +0 -226
  78. package/es/catalog/holes/door-sliding/planner-element.js.map +0 -1
  79. package/es/catalog/holes/doorway-framed/planner-element.js +0 -146
  80. package/es/catalog/holes/doorway-framed/planner-element.js.map +0 -1
  81. package/es/catalog/holes/doorway-frameless/planner-element.js +0 -105
  82. package/es/catalog/holes/doorway-frameless/planner-element.js.map +0 -1
  83. package/es/catalog/holes/gate/gate.jpg +0 -0
  84. package/es/catalog/holes/window-clear/planner-element.js +0 -167
  85. package/es/catalog/holes/window-clear/planner-element.js.map +0 -1
  86. package/es/catalog/holes/window-clear/texture.png +0 -0
  87. package/es/catalog/holes/window-cross/planner-element.js +0 -166
  88. package/es/catalog/holes/window-cross/planner-element.js.map +0 -1
  89. package/es/catalog/holes/window-cross/texture.png +0 -0
  90. package/es/catalog/holes/window-double-hung/planner-element.js +0 -304
  91. package/es/catalog/holes/window-double-hung/planner-element.js.map +0 -1
  92. package/es/catalog/holes/window-double-hung/texture.png +0 -0
  93. package/es/catalog/holes/window-vertical/planner-element.js +0 -277
  94. package/es/catalog/holes/window-vertical/planner-element.js.map +0 -1
  95. package/es/catalog/holes/window-vertical/texture.png +0 -0
  96. package/es/catalog/lines/wall/planner-element.js +0 -71
  97. package/es/catalog/lines/wall/planner-element.js.map +0 -1
  98. package/es/catalog/lines/wall/textures/bricks-normal.jpg +0 -0
  99. package/es/catalog/lines/wall/textures/bricks-normal2.jpg +0 -0
  100. package/es/catalog/lines/wall/textures/bricks.jpg +0 -0
  101. package/es/catalog/lines/wall/textures/bricks2.jpg +0 -0
  102. package/es/catalog/lines/wall/textures/bricks3.jpg +0 -0
  103. package/es/catalog/lines/wall/textures/morden-normal.jpg +0 -0
  104. package/es/catalog/lines/wall/textures/morden.jpg +0 -0
  105. package/es/catalog/lines/wall/textures/painted-normal.jpg +0 -0
  106. package/es/catalog/lines/wall/textures/painted.jpg +0 -0
  107. package/es/catalog/lines/wall/textures/plaster-normal.jpg +0 -0
  108. package/es/catalog/lines/wall/textures/plaster.jpg +0 -0
  109. package/es/catalog/lines/wall/wall.png +0 -0
  110. package/es/catalog/molding/molding-dcm/planner-element.js +0 -30
  111. package/es/catalog/molding/molding-dcm/planner-element.js.map +0 -1
  112. package/es/catalog/molding/molding-dcm/texture.png +0 -0
  113. package/es/catalog/molding/molding-fbm/planner-element.js +0 -30
  114. package/es/catalog/molding/molding-fbm/planner-element.js.map +0 -1
  115. package/es/catalog/molding/molding-fbm/texture.png +0 -0
  116. package/es/catalog/molding/molding-lrm/planner-element.js +0 -30
  117. package/es/catalog/molding/molding-lrm/planner-element.js.map +0 -1
  118. package/es/catalog/molding/molding-lrm/texture.png +0 -0
  119. package/es/catalog/properties/export.js +0 -22
  120. package/es/catalog/properties/export.js.map +0 -1
  121. package/es/catalog/properties/property-checkbox.js +0 -72
  122. package/es/catalog/properties/property-checkbox.js.map +0 -1
  123. package/es/catalog/properties/property-color.js +0 -40
  124. package/es/catalog/properties/property-color.js.map +0 -1
  125. package/es/catalog/properties/property-enum.js +0 -56
  126. package/es/catalog/properties/property-enum.js.map +0 -1
  127. package/es/catalog/properties/property-hidden.js +0 -20
  128. package/es/catalog/properties/property-hidden.js.map +0 -1
  129. package/es/catalog/properties/property-lenght-measure.js +0 -102
  130. package/es/catalog/properties/property-lenght-measure.js.map +0 -1
  131. package/es/catalog/properties/property-length-measure.js +0 -86
  132. package/es/catalog/properties/property-length-measure.js.map +0 -1
  133. package/es/catalog/properties/property-length-measure_hole.js +0 -102
  134. package/es/catalog/properties/property-length-measure_hole.js.map +0 -1
  135. package/es/catalog/properties/property-number.js +0 -49
  136. package/es/catalog/properties/property-number.js.map +0 -1
  137. package/es/catalog/properties/property-read-only.js +0 -27
  138. package/es/catalog/properties/property-read-only.js.map +0 -1
  139. package/es/catalog/properties/property-string.js +0 -49
  140. package/es/catalog/properties/property-string.js.map +0 -1
  141. package/es/catalog/properties/property-toggle.js +0 -40
  142. package/es/catalog/properties/property-toggle.js.map +0 -1
  143. package/es/catalog/properties/shared-property-style.js +0 -15
  144. package/es/catalog/properties/shared-property-style.js.map +0 -1
  145. package/es/catalog/utils/FuseUtils.js +0 -83
  146. package/es/catalog/utils/FuseUtils.js.map +0 -1
  147. package/es/catalog/utils/exporter.js +0 -149
  148. package/es/catalog/utils/exporter.js.map +0 -1
  149. package/es/catalog/utils/geom-utils.js +0 -190
  150. package/es/catalog/utils/geom-utils.js.map +0 -1
  151. package/es/catalog/utils/item-loader.js +0 -1522
  152. package/es/catalog/utils/item-loader.js.map +0 -1
  153. package/es/catalog/utils/load-obj.js +0 -92
  154. package/es/catalog/utils/load-obj.js.map +0 -1
  155. package/es/catalog/utils/mtl-loader.js +0 -358
  156. package/es/catalog/utils/mtl-loader.js.map +0 -1
  157. package/es/catalog/utils/obj-loader.js +0 -477
  158. package/es/catalog/utils/obj-loader.js.map +0 -1
  159. package/es/catalog/windows.png +0 -0
  160. package/es/class/FuseUtils.js +0 -83
  161. package/es/class/FuseUtils.js.map +0 -1
  162. package/es/class/area.js +0 -146
  163. package/es/class/area.js.map +0 -1
  164. package/es/class/export.js +0 -25
  165. package/es/class/export.js.map +0 -1
  166. package/es/class/group.js +0 -441
  167. package/es/class/group.js.map +0 -1
  168. package/es/class/guide.js +0 -63
  169. package/es/class/guide.js.map +0 -1
  170. package/es/class/hole.js +0 -931
  171. package/es/class/hole.js.map +0 -1
  172. package/es/class/item.js +0 -1888
  173. package/es/class/item.js.map +0 -1
  174. package/es/class/layer.js +0 -668
  175. package/es/class/layer.js.map +0 -1
  176. package/es/class/line.js +0 -1290
  177. package/es/class/line.js.map +0 -1
  178. package/es/class/project.js +0 -823
  179. package/es/class/project.js.map +0 -1
  180. package/es/class/vertex.js +0 -267
  181. package/es/class/vertex.js.map +0 -1
  182. package/es/components/atoms/Snackbar/index.js +0 -50
  183. package/es/components/atoms/Snackbar/index.js.map +0 -1
  184. package/es/components/atoms/radio-button/index.js +0 -26
  185. package/es/components/atoms/radio-button/index.js.map +0 -1
  186. package/es/components/atoms/radio-button/styles.js +0 -5
  187. package/es/components/atoms/radio-button/styles.js.map +0 -1
  188. package/es/components/button/MainButton.js +0 -92
  189. package/es/components/button/MainButton.js.map +0 -1
  190. package/es/components/button/ToggleMeasureButton.js +0 -56
  191. package/es/components/button/ToggleMeasureButton.js.map +0 -1
  192. package/es/components/catalog-view/catalog-breadcrumb.js +0 -53
  193. package/es/components/catalog-view/catalog-breadcrumb.js.map +0 -1
  194. package/es/components/catalog-view/catalog-item.js +0 -226
  195. package/es/components/catalog-view/catalog-item.js.map +0 -1
  196. package/es/components/catalog-view/catalog-list.js +0 -182
  197. package/es/components/catalog-view/catalog-list.js.map +0 -1
  198. package/es/components/catalog-view/catalog-page-item.js +0 -130
  199. package/es/components/catalog-view/catalog-page-item.js.map +0 -1
  200. package/es/components/catalog-view/catalog-turn-back-page-item.js +0 -106
  201. package/es/components/catalog-view/catalog-turn-back-page-item.js.map +0 -1
  202. package/es/components/configurator/custom-configurator.js +0 -94
  203. package/es/components/configurator/custom-configurator.js.map +0 -1
  204. package/es/components/configurator/project-configurator.js +0 -131
  205. package/es/components/configurator/project-configurator.js.map +0 -1
  206. package/es/components/content.js +0 -123
  207. package/es/components/content.js.map +0 -1
  208. package/es/components/export.js +0 -24
  209. package/es/components/export.js.map +0 -1
  210. package/es/components/firstsetting/button/styles.js +0 -27
  211. package/es/components/firstsetting/button/styles.js.map +0 -1
  212. package/es/components/firstsetting/export.js +0 -9
  213. package/es/components/firstsetting/export.js.map +0 -1
  214. package/es/components/firstsetting/firstsetting-content-button.js +0 -217
  215. package/es/components/firstsetting/firstsetting-content-button.js.map +0 -1
  216. package/es/components/firstsetting/firstsetting-toggle-button.js +0 -126
  217. package/es/components/firstsetting/firstsetting-toggle-button.js.map +0 -1
  218. package/es/components/firstsetting/firstsetting.js +0 -626
  219. package/es/components/firstsetting/firstsetting.js.map +0 -1
  220. package/es/components/footerbar/button/ControlButton.js +0 -72
  221. package/es/components/footerbar/button/ControlButton.js.map +0 -1
  222. package/es/components/footerbar/button/DirectionButton.js +0 -69
  223. package/es/components/footerbar/button/DirectionButton.js.map +0 -1
  224. package/es/components/footerbar/button/DirectionPanSpinButton.js +0 -50
  225. package/es/components/footerbar/button/DirectionPanSpinButton.js.map +0 -1
  226. package/es/components/footerbar/button/ToggleButton.js +0 -76
  227. package/es/components/footerbar/button/ToggleButton.js.map +0 -1
  228. package/es/components/footerbar/button/ToggleConvertButton.js +0 -73
  229. package/es/components/footerbar/button/ToggleConvertButton.js.map +0 -1
  230. package/es/components/footerbar/button/ToggleMeasureButton.js +0 -52
  231. package/es/components/footerbar/button/ToggleMeasureButton.js.map +0 -1
  232. package/es/components/footerbar/button/styles.js +0 -22
  233. package/es/components/footerbar/button/styles.js.map +0 -1
  234. package/es/components/footerbar/export.js +0 -9
  235. package/es/components/footerbar/export.js.map +0 -1
  236. package/es/components/footerbar/footer-content-button.js +0 -217
  237. package/es/components/footerbar/footer-content-button.js.map +0 -1
  238. package/es/components/footerbar/footer-toggle-button.js +0 -126
  239. package/es/components/footerbar/footer-toggle-button.js.map +0 -1
  240. package/es/components/footerbar/footerbar.js +0 -801
  241. package/es/components/footerbar/footerbar.js.map +0 -1
  242. package/es/components/footerbar/styles.js +0 -34
  243. package/es/components/footerbar/styles.js.map +0 -1
  244. package/es/components/header/button/MenuButton.js +0 -70
  245. package/es/components/header/button/MenuButton.js.map +0 -1
  246. package/es/components/header/button/SaveButton.js +0 -48
  247. package/es/components/header/button/SaveButton.js.map +0 -1
  248. package/es/components/header/button/styles.js +0 -59
  249. package/es/components/header/button/styles.js.map +0 -1
  250. package/es/components/header/export.js +0 -5
  251. package/es/components/header/export.js.map +0 -1
  252. package/es/components/header/header.js +0 -550
  253. package/es/components/header/header.js.map +0 -1
  254. package/es/components/header/header.style.css +0 -47
  255. package/es/components/header/styles.js +0 -41
  256. package/es/components/header/styles.js.map +0 -1
  257. package/es/components/login/Login.js +0 -86
  258. package/es/components/login/Login.js.map +0 -1
  259. package/es/components/login/LoginForm/index.js +0 -132
  260. package/es/components/login/LoginForm/index.js.map +0 -1
  261. package/es/components/login/Register.js +0 -96
  262. package/es/components/login/Register.js.map +0 -1
  263. package/es/components/login/RegisterForm/index.js +0 -230
  264. package/es/components/login/RegisterForm/index.js.map +0 -1
  265. package/es/components/login/jwtService.js +0 -232
  266. package/es/components/login/jwtService.js.map +0 -1
  267. package/es/components/login/style.css +0 -158
  268. package/es/components/login/style.scss +0 -260
  269. package/es/components/molecules/slider/index.js +0 -13
  270. package/es/components/molecules/slider/index.js.map +0 -1
  271. package/es/components/molecules/slider/styles.js +0 -2
  272. package/es/components/molecules/slider/styles.js.map +0 -1
  273. package/es/components/molecules/slider/styles.scss +0 -3
  274. package/es/components/myprojects/export.js +0 -5
  275. package/es/components/myprojects/export.js.map +0 -1
  276. package/es/components/myprojects/index.js +0 -446
  277. package/es/components/myprojects/index.js.map +0 -1
  278. package/es/components/myprojects/styles.js +0 -24
  279. package/es/components/myprojects/styles.js.map +0 -1
  280. package/es/components/sidebar/custom-accordion.js +0 -38
  281. package/es/components/sidebar/custom-accordion.js.map +0 -1
  282. package/es/components/sidebar/export.js +0 -14
  283. package/es/components/sidebar/export.js.map +0 -1
  284. package/es/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js +0 -65
  285. package/es/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js.map +0 -1
  286. package/es/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js +0 -116
  287. package/es/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js.map +0 -1
  288. package/es/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js +0 -126
  289. package/es/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js.map +0 -1
  290. package/es/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js +0 -251
  291. package/es/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js.map +0 -1
  292. package/es/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js +0 -75
  293. package/es/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js.map +0 -1
  294. package/es/components/sidebar/panel-element-editor/element-editor.js +0 -878
  295. package/es/components/sidebar/panel-element-editor/element-editor.js.map +0 -1
  296. package/es/components/sidebar/panel-element-editor/multi-elements-editor.js +0 -2
  297. package/es/components/sidebar/panel-element-editor/multi-elements-editor.js.map +0 -1
  298. package/es/components/sidebar/panel-element-editor/panel-element-editor.js +0 -49
  299. package/es/components/sidebar/panel-element-editor/panel-element-editor.js.map +0 -1
  300. package/es/components/sidebar/panel-element-editor/panel-multi-elements-editor.js +0 -118
  301. package/es/components/sidebar/panel-element-editor/panel-multi-elements-editor.js.map +0 -1
  302. package/es/components/sidebar/panel-group-editor.js +0 -211
  303. package/es/components/sidebar/panel-group-editor.js.map +0 -1
  304. package/es/components/sidebar/panel-groups.js +0 -267
  305. package/es/components/sidebar/panel-groups.js.map +0 -1
  306. package/es/components/sidebar/panel-guides.js +0 -185
  307. package/es/components/sidebar/panel-guides.js.map +0 -1
  308. package/es/components/sidebar/panel-layer-elements.js +0 -251
  309. package/es/components/sidebar/panel-layer-elements.js.map +0 -1
  310. package/es/components/sidebar/panel-layers.js +0 -340
  311. package/es/components/sidebar/panel-layers.js.map +0 -1
  312. package/es/components/sidebar/panel.js +0 -103
  313. package/es/components/sidebar/panel.js.map +0 -1
  314. package/es/components/sidebar/sidebar.js +0 -109
  315. package/es/components/sidebar/sidebar.js.map +0 -1
  316. package/es/components/sidebar/toolbar-panel.js +0 -164
  317. package/es/components/sidebar/toolbar-panel.js.map +0 -1
  318. package/es/components/sign/export.js +0 -6
  319. package/es/components/sign/export.js.map +0 -1
  320. package/es/components/sign/main/index.js +0 -560
  321. package/es/components/sign/main/index.js.map +0 -1
  322. package/es/components/sign/main/styles.js +0 -20
  323. package/es/components/sign/main/styles.js.map +0 -1
  324. package/es/components/style/button.js +0 -114
  325. package/es/components/style/button.js.map +0 -1
  326. package/es/components/style/cancel-button.js +0 -23
  327. package/es/components/style/cancel-button.js.map +0 -1
  328. package/es/components/style/content-container.js +0 -34
  329. package/es/components/style/content-container.js.map +0 -1
  330. package/es/components/style/content-title.js +0 -30
  331. package/es/components/style/content-title.js.map +0 -1
  332. package/es/components/style/delete-button.js +0 -26
  333. package/es/components/style/delete-button.js.map +0 -1
  334. package/es/components/style/export.js +0 -32
  335. package/es/components/style/export.js.map +0 -1
  336. package/es/components/style/form-block.js +0 -25
  337. package/es/components/style/form-block.js.map +0 -1
  338. package/es/components/style/form-color-input.js +0 -28
  339. package/es/components/style/form-color-input.js.map +0 -1
  340. package/es/components/style/form-label.js +0 -27
  341. package/es/components/style/form-label.js.map +0 -1
  342. package/es/components/style/form-number-input.js +0 -190
  343. package/es/components/style/form-number-input.js.map +0 -1
  344. package/es/components/style/form-number-input_2.js +0 -207
  345. package/es/components/style/form-number-input_2.js.map +0 -1
  346. package/es/components/style/form-select.js +0 -21
  347. package/es/components/style/form-select.js.map +0 -1
  348. package/es/components/style/form-slider.js +0 -46
  349. package/es/components/style/form-slider.js.map +0 -1
  350. package/es/components/style/form-submit-button.js +0 -27
  351. package/es/components/style/form-submit-button.js.map +0 -1
  352. package/es/components/style/form-text-input.js +0 -77
  353. package/es/components/style/form-text-input.js.map +0 -1
  354. package/es/components/toolbar/button/ControlButton.js +0 -69
  355. package/es/components/toolbar/button/ControlButton.js.map +0 -1
  356. package/es/components/toolbar/button/DirectionButton.js +0 -50
  357. package/es/components/toolbar/button/DirectionButton.js.map +0 -1
  358. package/es/components/toolbar/button/RightButton.js +0 -133
  359. package/es/components/toolbar/button/RightButton.js.map +0 -1
  360. package/es/components/toolbar/button/ToggleButton.js +0 -59
  361. package/es/components/toolbar/button/ToggleButton.js.map +0 -1
  362. package/es/components/toolbar/button/index.js +0 -88
  363. package/es/components/toolbar/button/index.js.map +0 -1
  364. package/es/components/toolbar/button/styles.js +0 -14
  365. package/es/components/toolbar/button/styles.js.map +0 -1
  366. package/es/components/toolbar/components/DoorStyleMenu.js +0 -105
  367. package/es/components/toolbar/components/DoorStyleMenu.js.map +0 -1
  368. package/es/components/toolbar/components/Pricing.js +0 -101
  369. package/es/components/toolbar/components/Pricing.js.map +0 -1
  370. package/es/components/toolbar/components/ReviewForQuote.js +0 -476
  371. package/es/components/toolbar/components/ReviewForQuote.js.map +0 -1
  372. package/es/components/toolbar/export.js +0 -14
  373. package/es/components/toolbar/export.js.map +0 -1
  374. package/es/components/toolbar/main/Alert.js +0 -125
  375. package/es/components/toolbar/main/Alert.js.map +0 -1
  376. package/es/components/toolbar/main/TakePictureModal.js +0 -100
  377. package/es/components/toolbar/main/TakePictureModal.js.map +0 -1
  378. package/es/components/toolbar/main/confirm-popup.js +0 -88
  379. package/es/components/toolbar/main/confirm-popup.js.map +0 -1
  380. package/es/components/toolbar/main/index.js +0 -4612
  381. package/es/components/toolbar/main/index.js.map +0 -1
  382. package/es/components/toolbar/main/lShaped.json +0 -311
  383. package/es/components/toolbar/main/longNarrow.json +0 -238
  384. package/es/components/toolbar/main/myComponents.js +0 -118
  385. package/es/components/toolbar/main/myComponents.js.map +0 -1
  386. package/es/components/toolbar/main/oRectangle.json +0 -220
  387. package/es/components/toolbar/main/rectangle.json +0 -238
  388. package/es/components/toolbar/main/style.css +0 -107
  389. package/es/components/toolbar/main/styles.js +0 -64
  390. package/es/components/toolbar/main/styles.js.map +0 -1
  391. package/es/components/toolbar/plugin-item.js +0 -150
  392. package/es/components/toolbar/plugin-item.js.map +0 -1
  393. package/es/components/toolbar/popup/appliance/appliance-category/index.js +0 -77
  394. package/es/components/toolbar/popup/appliance/appliance-category/index.js.map +0 -1
  395. package/es/components/toolbar/popup/appliance/choose-appliance/index.js +0 -76
  396. package/es/components/toolbar/popup/appliance/choose-appliance/index.js.map +0 -1
  397. package/es/components/toolbar/popup/appliance/index.js +0 -81
  398. package/es/components/toolbar/popup/appliance/index.js.map +0 -1
  399. package/es/components/toolbar/popup/autosaveprompt/index.js +0 -91
  400. package/es/components/toolbar/popup/autosaveprompt/index.js.map +0 -1
  401. package/es/components/toolbar/popup/autosaveprompt/styles.css +0 -64
  402. package/es/components/toolbar/popup/autosaveprompt/styles.js +0 -9
  403. package/es/components/toolbar/popup/autosaveprompt/styles.js.map +0 -1
  404. package/es/components/toolbar/popup/cabinet/cabinet-category/index.js +0 -77
  405. package/es/components/toolbar/popup/cabinet/cabinet-category/index.js.map +0 -1
  406. package/es/components/toolbar/popup/cabinet/choose-product/index.js +0 -98
  407. package/es/components/toolbar/popup/cabinet/choose-product/index.js.map +0 -1
  408. package/es/components/toolbar/popup/cabinet/index.js +0 -83
  409. package/es/components/toolbar/popup/cabinet/index.js.map +0 -1
  410. package/es/components/toolbar/popup/doorStyle/choose-style/index.js +0 -50
  411. package/es/components/toolbar/popup/doorStyle/choose-style/index.js.map +0 -1
  412. package/es/components/toolbar/popup/doorStyle/index.js +0 -61
  413. package/es/components/toolbar/popup/doorStyle/index.js.map +0 -1
  414. package/es/components/toolbar/popup/doorStyle/style-category/index.js +0 -143
  415. package/es/components/toolbar/popup/doorStyle/style-category/index.js.map +0 -1
  416. package/es/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -3
  417. package/es/components/toolbar/popup/downloadsummary/downloadSummaryContext.js.map +0 -1
  418. package/es/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js +0 -119
  419. package/es/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js.map +0 -1
  420. package/es/components/toolbar/popup/downloadsummary/index.js +0 -564
  421. package/es/components/toolbar/popup/downloadsummary/index.js.map +0 -1
  422. package/es/components/toolbar/popup/downloadsummary/show2D/show2DView.js +0 -51
  423. package/es/components/toolbar/popup/downloadsummary/show2D/show2DView.js.map +0 -1
  424. package/es/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js +0 -191
  425. package/es/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js.map +0 -1
  426. package/es/components/toolbar/popup/downloadsummary/show3D/show3DView.js +0 -245
  427. package/es/components/toolbar/popup/downloadsummary/show3D/show3DView.js.map +0 -1
  428. package/es/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js +0 -1758
  429. package/es/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js.map +0 -1
  430. package/es/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -87
  431. package/es/components/toolbar/popup/downloadsummary/showCabinetInfo.js.map +0 -1
  432. package/es/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js +0 -116
  433. package/es/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js.map +0 -1
  434. package/es/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js +0 -1710
  435. package/es/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js.map +0 -1
  436. package/es/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js +0 -175
  437. package/es/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js.map +0 -1
  438. package/es/components/toolbar/popup/downloadsummary/showWarranty.js +0 -106
  439. package/es/components/toolbar/popup/downloadsummary/showWarranty.js.map +0 -1
  440. package/es/components/toolbar/popup/downloadsummary/styles.css +0 -177
  441. package/es/components/toolbar/popup/downloadsummary/styles.js +0 -40
  442. package/es/components/toolbar/popup/downloadsummary/styles.js.map +0 -1
  443. package/es/components/toolbar/popup/finishingtouch/category/index.js +0 -35
  444. package/es/components/toolbar/popup/finishingtouch/category/index.js.map +0 -1
  445. package/es/components/toolbar/popup/finishingtouch/index.js +0 -47
  446. package/es/components/toolbar/popup/finishingtouch/index.js.map +0 -1
  447. package/es/components/toolbar/popup/finishingtouch/material-edit.js +0 -156
  448. package/es/components/toolbar/popup/finishingtouch/material-edit.js.map +0 -1
  449. package/es/components/toolbar/popup/finishingtouch/product/index.js +0 -56
  450. package/es/components/toolbar/popup/finishingtouch/product/index.js.map +0 -1
  451. package/es/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js +0 -116
  452. package/es/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js.map +0 -1
  453. package/es/components/toolbar/popup/floorplan/choose-floor/index.js +0 -246
  454. package/es/components/toolbar/popup/floorplan/choose-floor/index.js.map +0 -1
  455. package/es/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
  456. package/es/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
  457. package/es/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
  458. package/es/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
  459. package/es/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -11
  460. package/es/components/toolbar/popup/floorplan/choose-floor/styles.js.map +0 -1
  461. package/es/components/toolbar/popup/floorplan/floor-category/index.js +0 -90
  462. package/es/components/toolbar/popup/floorplan/floor-category/index.js.map +0 -1
  463. package/es/components/toolbar/popup/floorplan/index.js +0 -49
  464. package/es/components/toolbar/popup/floorplan/index.js.map +0 -1
  465. package/es/components/toolbar/popup/index.js +0 -188
  466. package/es/components/toolbar/popup/index.js.map +0 -1
  467. package/es/components/toolbar/popup/newproject/index.js +0 -67
  468. package/es/components/toolbar/popup/newproject/index.js.map +0 -1
  469. package/es/components/toolbar/popup/newproject/styles.css +0 -64
  470. package/es/components/toolbar/popup/newproject/styles.js +0 -9
  471. package/es/components/toolbar/popup/newproject/styles.js.map +0 -1
  472. package/es/components/toolbar/popup/product/appliance.js +0 -65
  473. package/es/components/toolbar/popup/product/appliance.js.map +0 -1
  474. package/es/components/toolbar/popup/product/cabinetproduct.js +0 -25
  475. package/es/components/toolbar/popup/product/cabinetproduct.js.map +0 -1
  476. package/es/components/toolbar/popup/product/doorstyle.js +0 -50
  477. package/es/components/toolbar/popup/product/doorstyle.js.map +0 -1
  478. package/es/components/toolbar/popup/product/doorstyleproduct.js +0 -51
  479. package/es/components/toolbar/popup/product/doorstyleproduct.js.map +0 -1
  480. package/es/components/toolbar/popup/product/floor.js +0 -52
  481. package/es/components/toolbar/popup/product/floor.js.map +0 -1
  482. package/es/components/toolbar/popup/product/floorproduct.js +0 -61
  483. package/es/components/toolbar/popup/product/floorproduct.js.map +0 -1
  484. package/es/components/toolbar/popup/product/index.js +0 -52
  485. package/es/components/toolbar/popup/product/index.js.map +0 -1
  486. package/es/components/toolbar/popup/product/primary.js +0 -63
  487. package/es/components/toolbar/popup/product/primary.js.map +0 -1
  488. package/es/components/toolbar/popup/product/productline.js +0 -120
  489. package/es/components/toolbar/popup/product/productline.js.map +0 -1
  490. package/es/components/toolbar/popup/product/reviewItem.js +0 -338
  491. package/es/components/toolbar/popup/product/reviewItem.js.map +0 -1
  492. package/es/components/toolbar/popup/product/reviewMolding.js +0 -282
  493. package/es/components/toolbar/popup/product/reviewMolding.js.map +0 -1
  494. package/es/components/toolbar/popup/product/style.css +0 -54
  495. package/es/components/toolbar/popup/product/styles.js +0 -71
  496. package/es/components/toolbar/popup/product/styles.js.map +0 -1
  497. package/es/components/toolbar/popup/savedesign/FullPictureForm.js +0 -161
  498. package/es/components/toolbar/popup/savedesign/FullPictureForm.js.map +0 -1
  499. package/es/components/toolbar/popup/savedesign/index.js +0 -508
  500. package/es/components/toolbar/popup/savedesign/index.js.map +0 -1
  501. package/es/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
  502. package/es/components/toolbar/popup/savedesign/styles.js +0 -19
  503. package/es/components/toolbar/popup/savedesign/styles.js.map +0 -1
  504. package/es/components/toolbar/popup/setDoorStyleOption/index.js +0 -57
  505. package/es/components/toolbar/popup/setDoorStyleOption/index.js.map +0 -1
  506. package/es/components/toolbar/popup/styles.js +0 -98
  507. package/es/components/toolbar/popup/styles.js.map +0 -1
  508. package/es/components/toolbar/popup/submitforquote/AddToCartOptions.js +0 -157
  509. package/es/components/toolbar/popup/submitforquote/AddToCartOptions.js.map +0 -1
  510. package/es/components/toolbar/popup/submitforquote/CustomerRequestsForm.js +0 -85
  511. package/es/components/toolbar/popup/submitforquote/CustomerRequestsForm.js.map +0 -1
  512. package/es/components/toolbar/popup/submitforquote/SkipDesignerReview.js +0 -36
  513. package/es/components/toolbar/popup/submitforquote/SkipDesignerReview.js.map +0 -1
  514. package/es/components/toolbar/popup/submitforquote/StepDots.js +0 -33
  515. package/es/components/toolbar/popup/submitforquote/StepDots.js.map +0 -1
  516. package/es/components/toolbar/popup/submitforquote/cart-choice.js +0 -132
  517. package/es/components/toolbar/popup/submitforquote/cart-choice.js.map +0 -1
  518. package/es/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -43
  519. package/es/components/toolbar/popup/submitforquote/doorstyle-menus.js.map +0 -1
  520. package/es/components/toolbar/popup/submitforquote/index.js +0 -690
  521. package/es/components/toolbar/popup/submitforquote/index.js.map +0 -1
  522. package/es/components/toolbar/popup/submitforquote/styles.css +0 -105
  523. package/es/components/toolbar/popup/submitforquote/styles.js +0 -31
  524. package/es/components/toolbar/popup/submitforquote/styles.js.map +0 -1
  525. package/es/components/toolbar/popup/submitprompt/index.js +0 -71
  526. package/es/components/toolbar/popup/submitprompt/index.js.map +0 -1
  527. package/es/components/toolbar/popup/submitprompt/styles.css +0 -64
  528. package/es/components/toolbar/popup/submitprompt/styles.js +0 -9
  529. package/es/components/toolbar/popup/submitprompt/styles.js.map +0 -1
  530. package/es/components/toolbar/toolbar-button.js +0 -105
  531. package/es/components/toolbar/toolbar-button.js.map +0 -1
  532. package/es/components/toolbar/toolbar-load-button.js +0 -29
  533. package/es/components/toolbar/toolbar-load-button.js.map +0 -1
  534. package/es/components/toolbar/toolbar-save-button.js +0 -27
  535. package/es/components/toolbar/toolbar-save-button.js.map +0 -1
  536. package/es/components/tutorial-view/Modal.js +0 -498
  537. package/es/components/tutorial-view/Modal.js.map +0 -1
  538. package/es/components/tutorial-view/style.css +0 -111
  539. package/es/components/tutorial-view/styles.js +0 -6
  540. package/es/components/tutorial-view/styles.js.map +0 -1
  541. package/es/components/viewer2d/area.js +0 -83
  542. package/es/components/viewer2d/area.js.map +0 -1
  543. package/es/components/viewer2d/export.js +0 -32
  544. package/es/components/viewer2d/export.js.map +0 -1
  545. package/es/components/viewer2d/grids/grid-horizontal-streak.js +0 -38
  546. package/es/components/viewer2d/grids/grid-horizontal-streak.js.map +0 -1
  547. package/es/components/viewer2d/grids/grid-streak.js +0 -38
  548. package/es/components/viewer2d/grids/grid-streak.js.map +0 -1
  549. package/es/components/viewer2d/grids/grid-vertical-streak.js +0 -38
  550. package/es/components/viewer2d/grids/grid-vertical-streak.js.map +0 -1
  551. package/es/components/viewer2d/grids/grids.js +0 -36
  552. package/es/components/viewer2d/grids/grids.js.map +0 -1
  553. package/es/components/viewer2d/group.js +0 -54
  554. package/es/components/viewer2d/group.js.map +0 -1
  555. package/es/components/viewer2d/item.js +0 -514
  556. package/es/components/viewer2d/item.js.map +0 -1
  557. package/es/components/viewer2d/layer.js +0 -165
  558. package/es/components/viewer2d/layer.js.map +0 -1
  559. package/es/components/viewer2d/line.js +0 -889
  560. package/es/components/viewer2d/line.js.map +0 -1
  561. package/es/components/viewer2d/ruler.js +0 -101
  562. package/es/components/viewer2d/ruler.js.map +0 -1
  563. package/es/components/viewer2d/rulerDist.js +0 -147
  564. package/es/components/viewer2d/rulerDist.js.map +0 -1
  565. package/es/components/viewer2d/rulerX.js +0 -152
  566. package/es/components/viewer2d/rulerX.js.map +0 -1
  567. package/es/components/viewer2d/rulerY.js +0 -154
  568. package/es/components/viewer2d/rulerY.js.map +0 -1
  569. package/es/components/viewer2d/scene.js +0 -141
  570. package/es/components/viewer2d/scene.js.map +0 -1
  571. package/es/components/viewer2d/snap.js +0 -75
  572. package/es/components/viewer2d/snap.js.map +0 -1
  573. package/es/components/viewer2d/state.js +0 -79
  574. package/es/components/viewer2d/state.js.map +0 -1
  575. package/es/components/viewer2d/utils.js +0 -163
  576. package/es/components/viewer2d/utils.js.map +0 -1
  577. package/es/components/viewer2d/vertex.js +0 -67
  578. package/es/components/viewer2d/vertex.js.map +0 -1
  579. package/es/components/viewer2d/viewer2d.js +0 -1402
  580. package/es/components/viewer2d/viewer2d.js.map +0 -1
  581. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +0 -2593
  582. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js.map +0 -1
  583. package/es/components/viewer3d/dcm.js +0 -402
  584. package/es/components/viewer3d/dcm.js.map +0 -1
  585. package/es/components/viewer3d/fbm.js +0 -415
  586. package/es/components/viewer3d/fbm.js.map +0 -1
  587. package/es/components/viewer3d/front3D.js +0 -67
  588. package/es/components/viewer3d/front3D.js.map +0 -1
  589. package/es/components/viewer3d/grid-creator.js +0 -26
  590. package/es/components/viewer3d/grid-creator.js.map +0 -1
  591. package/es/components/viewer3d/grids/grid-horizontal-streak.js +0 -37
  592. package/es/components/viewer3d/grids/grid-horizontal-streak.js.map +0 -1
  593. package/es/components/viewer3d/grids/grid-streak.js +0 -28
  594. package/es/components/viewer3d/grids/grid-streak.js.map +0 -1
  595. package/es/components/viewer3d/grids/grid-vertical-streak.js +0 -37
  596. package/es/components/viewer3d/grids/grid-vertical-streak.js.map +0 -1
  597. package/es/components/viewer3d/libs/first-person-controls.js +0 -68
  598. package/es/components/viewer3d/libs/first-person-controls.js.map +0 -1
  599. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +0 -1282
  600. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js.map +0 -1
  601. package/es/components/viewer3d/libs/mtl-loader.js +0 -358
  602. package/es/components/viewer3d/libs/mtl-loader.js.map +0 -1
  603. package/es/components/viewer3d/libs/obj-loader.js +0 -463
  604. package/es/components/viewer3d/libs/obj-loader.js.map +0 -1
  605. package/es/components/viewer3d/libs/orbit-controls.js +0 -699
  606. package/es/components/viewer3d/libs/orbit-controls.js.map +0 -1
  607. package/es/components/viewer3d/libs/pointer-lock-controls.js +0 -46
  608. package/es/components/viewer3d/libs/pointer-lock-controls.js.map +0 -1
  609. package/es/components/viewer3d/lrm.js +0 -306
  610. package/es/components/viewer3d/lrm.js.map +0 -1
  611. package/es/components/viewer3d/model.js +0 -709
  612. package/es/components/viewer3d/model.js.map +0 -1
  613. package/es/components/viewer3d/pointer-lock-navigation.js +0 -116
  614. package/es/components/viewer3d/pointer-lock-navigation.js.map +0 -1
  615. package/es/components/viewer3d/ruler-utils/itemRect.js +0 -62
  616. package/es/components/viewer3d/ruler-utils/itemRect.js.map +0 -1
  617. package/es/components/viewer3d/ruler-utils/layer3D.js +0 -496
  618. package/es/components/viewer3d/ruler-utils/layer3D.js.map +0 -1
  619. package/es/components/viewer3d/ruler-utils/ruler3D.js +0 -228
  620. package/es/components/viewer3d/ruler-utils/ruler3D.js.map +0 -1
  621. package/es/components/viewer3d/ruler-utils/scene3D.js +0 -62
  622. package/es/components/viewer3d/ruler-utils/scene3D.js.map +0 -1
  623. package/es/components/viewer3d/ruler-utils/state3D.js +0 -19
  624. package/es/components/viewer3d/ruler-utils/state3D.js.map +0 -1
  625. package/es/components/viewer3d/scene-creator.js +0 -3607
  626. package/es/components/viewer3d/scene-creator.js.map +0 -1
  627. package/es/components/viewer3d/three-memory-cleaner.js +0 -52
  628. package/es/components/viewer3d/three-memory-cleaner.js.map +0 -1
  629. package/es/components/viewer3d/viewer3d-first-person.js +0 -316
  630. package/es/components/viewer3d/viewer3d-first-person.js.map +0 -1
  631. package/es/components/viewer3d/viewer3d.js +0 -2504
  632. package/es/components/viewer3d/viewer3d.js.map +0 -1
  633. package/es/components/wizardstep/button/styles.js +0 -60
  634. package/es/components/wizardstep/button/styles.js.map +0 -1
  635. package/es/components/wizardstep/export.js +0 -5
  636. package/es/components/wizardstep/export.js.map +0 -1
  637. package/es/components/wizardstep/index.js +0 -971
  638. package/es/components/wizardstep/index.js.map +0 -1
  639. package/es/components/wizardstep/styles.js +0 -61
  640. package/es/components/wizardstep/styles.js.map +0 -1
  641. package/es/components/wizardstep/wizardstep-content-button.js +0 -217
  642. package/es/components/wizardstep/wizardstep-content-button.js.map +0 -1
  643. package/es/components/wizardstep/wizardstep-toggle-button.js +0 -126
  644. package/es/components/wizardstep/wizardstep-toggle-button.js.map +0 -1
  645. package/es/constants.js +0 -637
  646. package/es/constants.js.map +0 -1
  647. package/es/hooks/useCheckCart.js +0 -53
  648. package/es/hooks/useCheckCart.js.map +0 -1
  649. package/es/hooks/useGetPricesBySku.js +0 -74
  650. package/es/hooks/useGetPricesBySku.js.map +0 -1
  651. package/es/hooks/useValidateToken.js +0 -201
  652. package/es/hooks/useValidateToken.js.map +0 -1
  653. package/es/index.js +0 -17
  654. package/es/index.js.map +0 -1
  655. package/es/models.js +0 -511
  656. package/es/models.js.map +0 -1
  657. package/es/plugins/SVGLoader.js +0 -1413
  658. package/es/plugins/SVGLoader.js.map +0 -1
  659. package/es/plugins/autosave.js +0 -34
  660. package/es/plugins/autosave.js.map +0 -1
  661. package/es/plugins/console-debugger.js +0 -38
  662. package/es/plugins/console-debugger.js.map +0 -1
  663. package/es/plugins/export.js +0 -10
  664. package/es/plugins/export.js.map +0 -1
  665. package/es/plugins/keyboard.js +0 -102
  666. package/es/plugins/keyboard.js.map +0 -1
  667. package/es/reducers/areas-reducer.js +0 -13
  668. package/es/reducers/areas-reducer.js.map +0 -1
  669. package/es/reducers/export.js +0 -26
  670. package/es/reducers/export.js.map +0 -1
  671. package/es/reducers/groups-reducer.js +0 -39
  672. package/es/reducers/groups-reducer.js.map +0 -1
  673. package/es/reducers/holes-reducer.js +0 -63
  674. package/es/reducers/holes-reducer.js.map +0 -1
  675. package/es/reducers/items-reducer.js +0 -144
  676. package/es/reducers/items-reducer.js.map +0 -1
  677. package/es/reducers/lines-reducer.js +0 -46
  678. package/es/reducers/lines-reducer.js.map +0 -1
  679. package/es/reducers/project-reducer.js +0 -130
  680. package/es/reducers/project-reducer.js.map +0 -1
  681. package/es/reducers/reducer.js +0 -20
  682. package/es/reducers/reducer.js.map +0 -1
  683. package/es/reducers/scene-reducer.js +0 -29
  684. package/es/reducers/scene-reducer.js.map +0 -1
  685. package/es/reducers/user-reducer.js +0 -42
  686. package/es/reducers/user-reducer.js.map +0 -1
  687. package/es/reducers/vertices-reducer.js +0 -20
  688. package/es/reducers/vertices-reducer.js.map +0 -1
  689. package/es/reducers/viewer2d-reducer.js +0 -76
  690. package/es/reducers/viewer2d-reducer.js.map +0 -1
  691. package/es/reducers/viewer3d-reducer.js +0 -57
  692. package/es/reducers/viewer3d-reducer.js.map +0 -1
  693. package/es/shared-style.js +0 -67
  694. package/es/shared-style.js.map +0 -1
  695. package/es/styles/export.js +0 -6
  696. package/es/styles/export.js.map +0 -1
  697. package/es/styles/tabs.css +0 -40
  698. package/es/translator/en.js +0 -105
  699. package/es/translator/en.js.map +0 -1
  700. package/es/translator/it.js +0 -80
  701. package/es/translator/it.js.map +0 -1
  702. package/es/translator/ru.js +0 -80
  703. package/es/translator/ru.js.map +0 -1
  704. package/es/translator/translator.js +0 -85
  705. package/es/translator/translator.js.map +0 -1
  706. package/es/utils/browser.js +0 -34
  707. package/es/utils/browser.js.map +0 -1
  708. package/es/utils/email-validator.js +0 -5
  709. package/es/utils/email-validator.js.map +0 -1
  710. package/es/utils/export.js +0 -26
  711. package/es/utils/export.js.map +0 -1
  712. package/es/utils/geometry.js +0 -2237
  713. package/es/utils/geometry.js.map +0 -1
  714. package/es/utils/get-edges-of-subgraphs.js +0 -27
  715. package/es/utils/get-edges-of-subgraphs.js.map +0 -1
  716. package/es/utils/graph-cycles.js +0 -239
  717. package/es/utils/graph-cycles.js.map +0 -1
  718. package/es/utils/graph-inner-cycles.js +0 -47
  719. package/es/utils/graph-inner-cycles.js.map +0 -1
  720. package/es/utils/graph.js +0 -150
  721. package/es/utils/graph.js.map +0 -1
  722. package/es/utils/helper.js +0 -337
  723. package/es/utils/helper.js.map +0 -1
  724. package/es/utils/history.js +0 -30
  725. package/es/utils/history.js.map +0 -1
  726. package/es/utils/id-broker.js +0 -20
  727. package/es/utils/id-broker.js.map +0 -1
  728. package/es/utils/logger.js +0 -9
  729. package/es/utils/logger.js.map +0 -1
  730. package/es/utils/math.js +0 -51
  731. package/es/utils/math.js.map +0 -1
  732. package/es/utils/molding.js +0 -840
  733. package/es/utils/molding.js.map +0 -1
  734. package/es/utils/name-generator.js +0 -19
  735. package/es/utils/name-generator.js.map +0 -1
  736. package/es/utils/objects-utils.js +0 -51
  737. package/es/utils/objects-utils.js.map +0 -1
  738. package/es/utils/phone-validator.js +0 -5
  739. package/es/utils/phone-validator.js.map +0 -1
  740. package/es/utils/process-black-list.js +0 -19
  741. package/es/utils/process-black-list.js.map +0 -1
  742. package/es/utils/react-if.js +0 -19
  743. package/es/utils/react-if.js.map +0 -1
  744. package/es/utils/snap-scene.js +0 -100
  745. package/es/utils/snap-scene.js.map +0 -1
  746. package/es/utils/snap.js +0 -238
  747. package/es/utils/snap.js.map +0 -1
  748. package/es/utils/threeCSG.es6.js +0 -499
  749. package/es/utils/threeCSG.es6.js.map +0 -1
  750. package/es/version.js +0 -2
  751. package/es/version.js.map +0 -1
@@ -1,92 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _templateObject, _templateObject2, _templateObject3;
3
- 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; }
4
- 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) { _defineProperty(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; }
5
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
7
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
8
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
9
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
10
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
11
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
- function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
14
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
15
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
16
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
17
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
18
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
19
- import React, { Component } from 'react';
20
- import PropTypes from 'prop-types';
21
- import styled from 'styled-components';
22
- import { BG_COLOR_0, BG_COLOR_1, BG_COLOR_HOVER, DEFAULT_FONT_FAMILY, PRIMARY_GREEN_COLOR, SECONDARY_PURPLE_COLOR, SHADE_DARK_GREEN_COLOR, SHADE_DARK_PURPLE_COLOR, SHADE_LIGHT_GREEN_COLOR, SHADE_LIGHT_PURPLE_COLOR, TEXT_COLOR_NEUTRAL_4 } from '../../constants';
23
-
24
- /*
25
- variant: primary, secondary, tertiary(default), icon, close, pagenumber;
26
- size: large, small(default);
27
- disabled: true, false(default);
28
- text: user definition;
29
- icon: user definition;
30
- endIcon: user definition;
31
- onClick: user definition;
32
- buttonStyle: user definition;
33
- textStyle: user definition;
34
- imgStyle: userdefinition;
35
- */
36
- var MainButton = /*#__PURE__*/function (_Component) {
37
- function MainButton(props, context) {
38
- _classCallCheck(this, MainButton);
39
- return _callSuper(this, MainButton, [props, context]);
40
- }
41
- _inherits(MainButton, _Component);
42
- return _createClass(MainButton, [{
43
- key: "render",
44
- value: function render() {
45
- var _this$props = this.props,
46
- variant = _this$props.variant,
47
- text = _this$props.text,
48
- size = _this$props.size,
49
- icon = _this$props.icon,
50
- endIcon = _this$props.endIcon,
51
- disabled = _this$props.disabled;
52
- var padding = '10px 20px';
53
- if (size === 'large') {
54
- if (variant === 'icon' || variant === 'pagenumber') padding = '10px';
55
- } else {
56
- if (variant === 'icon' || variant === 'pagenumber') padding = '5px';else padding = '5px 10px';
57
- }
58
- var StyledButton = styled.button(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* width: max-content; */\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: ", ";\n cursor: ", ";\n user-select: none;\n background-color: ", ";\n border-color: ", ";\n border-radius: ", ";\n outline: 0;\n height: ", ";\n width: ", ";\n :focus {\n box-shadow: ", ";\n }\n :hover {\n background-color: ", ";\n }\n :active {\n background-color: ", ";\n }\n "])), padding, variant === 'primary' ? '0px solid' : '1px solid', disabled ? 'no-drop' : 'pointer', variant === 'primary' ? SECONDARY_PURPLE_COLOR : BG_COLOR_1, variant === 'primary' || variant === 'secondary' ? SECONDARY_PURPLE_COLOR : BG_COLOR_1, variant === 'icon' ? '50%' : '5px', size === 'large' ? '40px' : '35px', variant === 'icon' || variant === 'pagenumber' ? size === 'large' ? '40px' : '35px' : 'max-content', !disabled && "0px 0px 5px 2px ".concat(SHADE_LIGHT_PURPLE_COLOR), !disabled && (variant === 'primary' ? SHADE_LIGHT_PURPLE_COLOR : BG_COLOR_0), !disabled && (variant === 'primary' ? SHADE_DARK_PURPLE_COLOR : BG_COLOR_0));
59
- var StyledLabel = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n color: ", ";\n font-family: ", ";\n font-size: 13px;\n font-weight: 600;\n line-height: 18px;\n text-align: center;\n "])), disabled ? TEXT_COLOR_NEUTRAL_4 : variant === 'primary' ? BG_COLOR_1 : SECONDARY_PURPLE_COLOR, DEFAULT_FONT_FAMILY);
60
- var StyledImage = styled.img(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n background-color: ", ";\n -webkit-mask-image: url(", ");\n -webkit-mask-size: 90%;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-position: center;\n "])), size === 'large' ? '20px' : '15px', size === 'large' ? '20px' : '15px', disabled ? TEXT_COLOR_NEUTRAL_4 : variant !== 'primary' ? SECONDARY_PURPLE_COLOR : BG_COLOR_1, function (props) {
61
- return props.maskImage + '?nocache=2025';
62
- });
63
- if (variant === 'icon' && text) console.log('If your variant is icon, you cannnot use text');
64
- if (variant === 'icon' && endIcon) console.log('If your variant is icon, you cannnot use endIcon');
65
- if (variant === 'icon' && (icon || endIcon)) console.log('If your variant is pagenumber, you cannnot use icon or endIcon');
66
- if (variant === 'close' && icon) console.log('If your variant is close, you cannnot use icon');
67
- return /*#__PURE__*/React.createElement(StyledButton, {
68
- onClick: !disabled && this.props.onClick,
69
- style: _objectSpread({}, this.props.buttonStyle)
70
- }, variant !== 'pagenumber' && variant !== 'close' && icon && /*#__PURE__*/React.createElement(StyledImage, {
71
- style: _objectSpread(_objectSpread({}, this.props.imgStyle), {}, {
72
- marginRight: variant !== 'icon' && 10
73
- }),
74
- maskImage: icon
75
- }), variant !== 'icon' && /*#__PURE__*/React.createElement(StyledLabel, {
76
- style: _objectSpread({}, this.props.textStyle)
77
- }, variant === 'pagenumber' ? parseInt(text) ? parseInt(text) : 0 : text), variant !== 'pagenumber' && variant !== 'icon' && endIcon && /*#__PURE__*/React.createElement(StyledImage, {
78
- style: {
79
- marginLeft: 10
80
- },
81
- maskImage: endIcon
82
- }));
83
- }
84
- }]);
85
- }(Component);
86
- export { MainButton as default };
87
- MainButton.propTypes = {
88
- variant: PropTypes.string.isRequired,
89
- size: PropTypes.string.isRequired,
90
- onClick: PropTypes.func
91
- };
92
- //# sourceMappingURL=MainButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MainButton.js","names":["React","Component","PropTypes","styled","BG_COLOR_0","BG_COLOR_1","BG_COLOR_HOVER","DEFAULT_FONT_FAMILY","PRIMARY_GREEN_COLOR","SECONDARY_PURPLE_COLOR","SHADE_DARK_GREEN_COLOR","SHADE_DARK_PURPLE_COLOR","SHADE_LIGHT_GREEN_COLOR","SHADE_LIGHT_PURPLE_COLOR","TEXT_COLOR_NEUTRAL_4","MainButton","_Component","props","context","_classCallCheck","_callSuper","_inherits","_createClass","key","value","render","_this$props","variant","text","size","icon","endIcon","disabled","padding","StyledButton","button","_templateObject","_taggedTemplateLiteral","concat","StyledLabel","span","_templateObject2","StyledImage","img","_templateObject3","maskImage","console","log","createElement","onClick","style","_objectSpread","buttonStyle","imgStyle","marginRight","textStyle","parseInt","marginLeft","default","propTypes","string","isRequired","func"],"sources":["../../../src/components/button/MainButton.jsx"],"sourcesContent":["import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\nimport {\r\n BG_COLOR_0,\r\n BG_COLOR_1,\r\n BG_COLOR_HOVER,\r\n DEFAULT_FONT_FAMILY,\r\n PRIMARY_GREEN_COLOR,\r\n SECONDARY_PURPLE_COLOR,\r\n SHADE_DARK_GREEN_COLOR,\r\n SHADE_DARK_PURPLE_COLOR,\r\n SHADE_LIGHT_GREEN_COLOR,\r\n SHADE_LIGHT_PURPLE_COLOR,\r\n TEXT_COLOR_NEUTRAL_4\r\n} from '../../constants';\r\n\r\n/*\r\n variant: primary, secondary, tertiary(default), icon, close, pagenumber;\r\n size: large, small(default);\r\n disabled: true, false(default);\r\n text: user definition;\r\n icon: user definition;\r\n endIcon: user definition;\r\n onClick: user definition;\r\n buttonStyle: user definition;\r\n textStyle: user definition;\r\n imgStyle: userdefinition;\r\n*/\r\n\r\nexport default class MainButton extends Component {\r\n constructor(props, context) {\r\n super(props, context);\r\n }\r\n\r\n render() {\r\n const { variant, text, size, icon, endIcon, disabled } = this.props;\r\n let padding = '10px 20px';\r\n\r\n if (size === 'large') {\r\n if (variant === 'icon' || variant === 'pagenumber') padding = '10px';\r\n } else {\r\n if (variant === 'icon' || variant === 'pagenumber') padding = '5px';\r\n else padding = '5px 10px';\r\n }\r\n\r\n const StyledButton = styled.button`\r\n /* width: max-content; */\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding: ${padding};\r\n border: ${variant === 'primary' ? '0px solid' : '1px solid'};\r\n cursor: ${disabled ? 'no-drop' : 'pointer'};\r\n user-select: none;\r\n background-color: ${variant === 'primary'\r\n ? SECONDARY_PURPLE_COLOR\r\n : BG_COLOR_1};\r\n border-color: ${variant === 'primary' || variant === 'secondary'\r\n ? SECONDARY_PURPLE_COLOR\r\n : BG_COLOR_1};\r\n border-radius: ${variant === 'icon' ? '50%' : '5px'};\r\n outline: 0;\r\n height: ${size === 'large' ? '40px' : '35px'};\r\n width: ${variant === 'icon' || variant === 'pagenumber'\r\n ? size === 'large'\r\n ? '40px'\r\n : '35px'\r\n : 'max-content'};\r\n :focus {\r\n box-shadow: ${!disabled &&\r\n `0px 0px 5px 2px ${SHADE_LIGHT_PURPLE_COLOR}`};\r\n }\r\n :hover {\r\n background-color: ${!disabled &&\r\n (variant === 'primary' ? SHADE_LIGHT_PURPLE_COLOR : BG_COLOR_0)};\r\n }\r\n :active {\r\n background-color: ${!disabled &&\r\n (variant === 'primary' ? SHADE_DARK_PURPLE_COLOR : BG_COLOR_0)};\r\n }\r\n `;\r\n\r\n const StyledLabel = styled.span`\r\n color: ${disabled\r\n ? TEXT_COLOR_NEUTRAL_4\r\n : variant === 'primary'\r\n ? BG_COLOR_1\r\n : SECONDARY_PURPLE_COLOR};\r\n font-family: ${DEFAULT_FONT_FAMILY};\r\n font-size: 13px;\r\n font-weight: 600;\r\n line-height: 18px;\r\n text-align: center;\r\n `;\r\n\r\n const StyledImage = styled.img`\r\n height: ${size === 'large' ? '20px' : '15px'};\r\n width: ${size === 'large' ? '20px' : '15px'};\r\n background-color: ${disabled\r\n ? TEXT_COLOR_NEUTRAL_4\r\n : variant !== 'primary'\r\n ? SECONDARY_PURPLE_COLOR\r\n : BG_COLOR_1};\r\n -webkit-mask-image: url(${props => props.maskImage + '?nocache=2025'});\r\n -webkit-mask-size: 90%;\r\n -webkit-mask-repeat: no-repeat;\r\n -webkit-mask-position: center;\r\n `;\r\n\r\n if (variant === 'icon' && text)\r\n console.log('If your variant is icon, you cannnot use text');\r\n if (variant === 'icon' && endIcon)\r\n console.log('If your variant is icon, you cannnot use endIcon');\r\n if (variant === 'icon' && (icon || endIcon))\r\n console.log(\r\n 'If your variant is pagenumber, you cannnot use icon or endIcon'\r\n );\r\n if (variant === 'close' && icon)\r\n console.log('If your variant is close, you cannnot use icon');\r\n\r\n return (\r\n <StyledButton\r\n onClick={!disabled && this.props.onClick}\r\n style={{ ...this.props.buttonStyle }}\r\n >\r\n {variant !== 'pagenumber' && variant !== 'close' && icon && (\r\n <StyledImage\r\n style={{\r\n ...this.props.imgStyle,\r\n marginRight: variant !== 'icon' && 10\r\n }}\r\n maskImage={icon}\r\n />\r\n )}\r\n {variant !== 'icon' && (\r\n <StyledLabel style={{ ...this.props.textStyle }}>\r\n {variant === 'pagenumber'\r\n ? parseInt(text)\r\n ? parseInt(text)\r\n : 0\r\n : text}\r\n </StyledLabel>\r\n )}\r\n {variant !== 'pagenumber' && variant !== 'icon' && endIcon && (\r\n <StyledImage style={{ marginLeft: 10 }} maskImage={endIcon} />\r\n )}\r\n </StyledButton>\r\n );\r\n }\r\n}\r\n\r\nMainButton.propTypes = {\r\n variant: PropTypes.string.isRequired,\r\n size: PropTypes.string.isRequired,\r\n onClick: PropTypes.func\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SACEC,UAAU,EACVC,UAAU,EACVC,cAAc,EACdC,mBAAmB,EACnBC,mBAAmB,EACnBC,sBAAsB,EACtBC,sBAAsB,EACtBC,uBAAuB,EACvBC,uBAAuB,EACvBC,wBAAwB,EACxBC,oBAAoB,QACf,iBAAiB;;AAExB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAXA,IAaqBC,UAAU,0BAAAC,UAAA;EAC7B,SAAAD,WAAYE,KAAK,EAAEC,OAAO,EAAE;IAAAC,eAAA,OAAAJ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":[]}
@@ -1,56 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _templateObject, _templateObject2;
3
- 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; }
4
- 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) { _defineProperty(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; }
5
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
7
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
8
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
9
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
10
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
- function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
13
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
14
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
15
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
16
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
17
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
18
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
19
- import React, { Component } from 'react';
20
- import PropTypes from 'prop-types';
21
- import styled from 'styled-components';
22
- var Toggle = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n position: relative;\n height: 36px;\n margin-left: 20px;\n justify-content: center;\n font-size: 14px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n :hover {\n box-shadow: 0px 3px 5px -1px rgba(156, 154, 154, 0.2),\n 0px 6px 10px 0px rgba(156, 154, 154, 0.39),\n 0px 1px 18px 0px rgba(156, 154, 154, 0.12);\n border-radius: 18px;\n }\n"])));
23
- var ToggleIcon = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n position: absolute;\n top: 0px;\n img {\n font-size: 1.4rem;\n box-sizing: border-box;\n border-radius: 50%;\n }\n"])), '' /* transition-duration: .3s; */);
24
- var ToggleMeasureButton = /*#__PURE__*/function (_Component) {
25
- function ToggleMeasureButton(props, context) {
26
- _classCallCheck(this, ToggleMeasureButton);
27
- return _callSuper(this, ToggleMeasureButton, [props, context]);
28
- }
29
- _inherits(ToggleMeasureButton, _Component);
30
- return _createClass(ToggleMeasureButton, [{
31
- key: "render",
32
- value: function render() {
33
- var props = this.props;
34
- var activeStyle = props.showMeasure === 0 ? {
35
- left: 0
36
- } : {
37
- right: 0
38
- };
39
- return /*#__PURE__*/React.createElement(Toggle, {
40
- onClick: props.onClick,
41
- style: _objectSpread({}, props.style)
42
- }, props.backgroundImage, [props.icon !== undefined ? /*#__PURE__*/React.createElement(ToggleIcon, {
43
- style: _objectSpread({}, activeStyle),
44
- key: props.icon
45
- }, props.icon) : null]);
46
- }
47
- }]);
48
- }(Component);
49
- export { ToggleMeasureButton as default };
50
- ToggleMeasureButton.propTypes = {
51
- title: PropTypes.string,
52
- hover: PropTypes.bool,
53
- active: PropTypes.bool.isRequired,
54
- onClick: PropTypes.func
55
- };
56
- //# sourceMappingURL=ToggleMeasureButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ToggleMeasureButton.js","names":["React","Component","PropTypes","styled","Toggle","div","_templateObject","_taggedTemplateLiteral","ToggleIcon","_templateObject2","ToggleMeasureButton","_Component","props","context","_classCallCheck","_callSuper","_inherits","_createClass","key","value","render","activeStyle","showMeasure","left","right","createElement","onClick","style","_objectSpread","backgroundImage","icon","undefined","default","propTypes","title","string","hover","bool","active","isRequired","func"],"sources":["../../../src/components/button/ToggleMeasureButton.jsx"],"sourcesContent":["import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styled from 'styled-components';\r\n\r\nconst Toggle = styled.div`\r\n display: flex;\r\n align-items: center;\r\n position: relative;\r\n height: 36px;\r\n margin-left: 20px;\r\n justify-content: center;\r\n font-size: 14px;\r\n cursor: pointer;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n :hover {\r\n box-shadow: 0px 3px 5px -1px rgba(156, 154, 154, 0.2),\r\n 0px 6px 10px 0px rgba(156, 154, 154, 0.39),\r\n 0px 1px 18px 0px rgba(156, 154, 154, 0.12);\r\n border-radius: 18px;\r\n }\r\n`;\r\n\r\nconst ToggleIcon = styled.div`\r\n ${'' /* transition-duration: .3s; */}\r\n position: absolute;\r\n top: 0px;\r\n img {\r\n font-size: 1.4rem;\r\n box-sizing: border-box;\r\n border-radius: 50%;\r\n }\r\n`;\r\n\r\nexport default class ToggleMeasureButton extends Component {\r\n constructor(props, context) {\r\n super(props, context);\r\n }\r\n\r\n render() {\r\n let { props } = this;\r\n let activeStyle = props.showMeasure === 0 ? { left: 0 } : { right: 0 };\r\n return (\r\n <Toggle onClick={props.onClick} style={{ ...props.style }}>\r\n {props.backgroundImage}\r\n {[\r\n props.icon !== undefined ? (\r\n <ToggleIcon style={{ ...activeStyle }} key={props.icon}>\r\n {props.icon}\r\n </ToggleIcon>\r\n ) : null\r\n ]}\r\n </Toggle>\r\n );\r\n }\r\n}\r\n\r\nToggleMeasureButton.propTypes = {\r\n title: PropTypes.string,\r\n hover: PropTypes.bool,\r\n active: PropTypes.bool.isRequired,\r\n onClick: PropTypes.func\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,MAAM,MAAM,mBAAmB;A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AACiC,MAAM;EACvBC,KAAK,EAAElC,SAAS,CAACmC,IAAI;EACrBC,MAAM,EAAEpC,SAAS,CAACmC,IAAI,CAACE,UAAU;EACjCb,OAAO,EAAExB,SAAS,CAACsC;AACrB,CAAC","ignoreList":[]}
@@ -1,53 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- 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; }
3
- 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) { _defineProperty(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; }
4
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- import React from 'react';
8
- import PropTypes from 'prop-types';
9
- import { MdArrowBack as Arrow } from 'react-icons/md';
10
- import * as SharedStyle from '../../shared-style';
11
- var breadcrumbStyle = {
12
- margin: '1.5em',
13
- display: 'flex'
14
- };
15
- var breadcrumbTextStyle = {
16
- fontSize: '20px',
17
- cursor: 'pointer'
18
- };
19
- var breadcrumbLastTextStyle = _objectSpread(_objectSpread({}, breadcrumbTextStyle), {}, {
20
- fontWeight: 'bolder',
21
- color: SharedStyle.SECONDARY_COLOR.main
22
- });
23
- var breadcrumbTabStyle = {
24
- fill: SharedStyle.COLORS.black,
25
- fontSize: '24px',
26
- marginLeft: '10px',
27
- marginRight: '10px'
28
- };
29
- var CatalogBreadcrumb = function CatalogBreadcrumb(_ref) {
30
- var names = _ref.names;
31
- var labelNames = names.map(function (name, ind) {
32
- var lastElement = ind === names.length - 1;
33
- return /*#__PURE__*/React.createElement("div", {
34
- key: ind,
35
- style: {
36
- display: 'flex'
37
- }
38
- }, /*#__PURE__*/React.createElement("div", {
39
- style: !lastElement ? breadcrumbTextStyle : breadcrumbLastTextStyle,
40
- onClick: name.action || null
41
- }, name.name), !lastElement ? /*#__PURE__*/React.createElement(Arrow, {
42
- style: breadcrumbTabStyle
43
- }) : null);
44
- });
45
- return /*#__PURE__*/React.createElement("div", {
46
- style: breadcrumbStyle
47
- }, labelNames);
48
- };
49
- CatalogBreadcrumb.propTypes = {
50
- names: PropTypes.arrayOf(PropTypes.object).isRequired
51
- };
52
- export default CatalogBreadcrumb;
53
- //# sourceMappingURL=catalog-breadcrumb.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalog-breadcrumb.js","names":["React","PropTypes","MdArrowBack","Arrow","SharedStyle","breadcrumbStyle","margin","display","breadcrumbTextStyle","fontSize","cursor","breadcrumbLastTextStyle","_objectSpread","fontWeight","color","SECONDARY_COLOR","main","breadcrumbTabStyle","fill","COLORS","black","marginLeft","marginRight","CatalogBreadcrumb","_ref","names","labelNames","map","name","ind","lastElement","length","createElement","key","style","onClick","action","propTypes","arrayOf","object","isRequired"],"sources":["../../../src/components/catalog-view/catalog-breadcrumb.jsx"],"sourcesContent":["import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { MdArrowBack as Arrow } from 'react-icons/md';\r\nimport * as SharedStyle from '../../shared-style';\r\n\r\nconst breadcrumbStyle = {\r\n margin: '1.5em',\r\n display: 'flex'\r\n};\r\n\r\nconst breadcrumbTextStyle = {\r\n fontSize: '20px',\r\n cursor: 'pointer'\r\n};\r\n\r\nconst breadcrumbLastTextStyle = {\r\n ...breadcrumbTextStyle,\r\n fontWeight: 'bolder',\r\n color: SharedStyle.SECONDARY_COLOR.main\r\n};\r\n\r\nconst breadcrumbTabStyle = {\r\n fill: SharedStyle.COLORS.black,\r\n fontSize: '24px',\r\n marginLeft: '10px',\r\n marginRight: '10px'\r\n};\r\n\r\nconst CatalogBreadcrumb = ({ names }) => {\r\n let labelNames = names.map((name, ind) => {\r\n let lastElement = ind === names.length - 1;\r\n\r\n return (\r\n <div key={ind} style={{ display: 'flex' }}>\r\n <div\r\n style={!lastElement ? breadcrumbTextStyle : breadcrumbLastTextStyle}\r\n onClick={name.action || null}\r\n >\r\n {name.name}\r\n </div>\r\n {!lastElement ? <Arrow style={breadcrumbTabStyle} /> : null}\r\n </div>\r\n );\r\n });\r\n\r\n return <div style={breadcrumbStyle}>{labelNames}</div>;\r\n};\r\n\r\nCatalogBreadcrumb.propTypes = {\r\n names: PropTypes.arrayOf(PropTypes.object).isRequired\r\n};\r\n\r\nexport default CatalogBreadcrumb;\r\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,WAAW,IAAIC,KAAK,QAAQ,gBAAgB;AACrD,OAAO,KAAKC,WAAW,MAAM,oBAAoB;AAEjD,IAAMC,eAAe,GAAG;EACtBC,MAAM,EAAE,OAAO;EACfC,OAAO,EAAE;AACX,CAAC;AAED,IAAMC,mBAAmB,GAAG;EAC1BC,QAAQ,EAAE,MAAM;EAChBC,MAAM,EAAE;AACV,CAAC;AAED,IAAMC,uBAAuB,GAAAC,aAAA,CAAAA,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@@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
4
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
5
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
6
- function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
7
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
8
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
10
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
11
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
12
- 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; }
13
- 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) { _defineProperty(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; }
14
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
15
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
17
- import React, { Component } from 'react';
18
- import PropTypes from 'prop-types';
19
- import { FaPlusCircle as IconAdd } from 'react-icons/fa';
20
- import * as SharedStyle from '../../shared-style';
21
- import { API_SERVER_URL, MODE, MODE_IDLE } from '../../constants';
22
- import browserHistory from '../../@history';
23
- import axios from 'axios';
24
- import SnackBar from '../atoms/Snackbar/index';
25
- var AWS = require('aws-sdk');
26
- var s3 = new AWS.S3({
27
- accessKeyId: process.env.REACT_APP_AWS_ID,
28
- secretAccessKey: process.env.REACT_APP_AWS_SECRET
29
- });
30
- var STYLE_BOX = {
31
- width: '14em',
32
- height: '14em',
33
- padding: '0.625em',
34
- background: '#f7f7f9',
35
- border: '1px solid #e1e1e8',
36
- cursor: 'pointer',
37
- position: 'relative',
38
- boxShadow: '0 1px 6px 0 rgba(0, 0, 0, 0.11), 0 1px 4px 0 rgba(0, 0, 0, 0.11)',
39
- borderRadius: '2px',
40
- transition: 'all .15s ease-in-out',
41
- WebkitTransition: 'all .15s ease-in-out',
42
- alignSelf: 'center',
43
- justifySelf: 'center'
44
- };
45
- var STYLE_BOX_HOVER = _objectSpread(_objectSpread({}, STYLE_BOX), {}, {
46
- background: SharedStyle.SECONDARY_COLOR.main
47
- });
48
- var STYLE_TITLE = {
49
- width: '100%',
50
- textAlign: 'center',
51
- display: 'block',
52
- marginBottom: '.5em',
53
- textTransform: 'capitalize'
54
- };
55
- var STYLE_TITLE_HOVER = _objectSpread(_objectSpread({}, STYLE_TITLE), {}, {
56
- color: SharedStyle.COLORS.white
57
- });
58
- var STYLE_IMAGE_CONTAINER = {
59
- width: '100%',
60
- height: '8em',
61
- position: 'relative',
62
- overflow: 'hidden',
63
- border: 'solid 1px #e6e6e6',
64
- padding: 0,
65
- margin: 0,
66
- marginBottom: '5px'
67
- };
68
- var STYLE_IMAGE = {
69
- position: 'absolute',
70
- background: '#222',
71
- width: '100%',
72
- height: '100%',
73
- backgroundSize: 'contain',
74
- backgroundPosition: '50% 50%',
75
- backgroundColor: SharedStyle.COLORS.white,
76
- backgroundRepeat: 'no-repeat',
77
- transition: 'all .2s ease-in-out'
78
- };
79
- var STYLE_IMAGE_HOVER = _objectSpread(_objectSpread({}, STYLE_IMAGE), {}, {
80
- transform: 'scale(1.2)'
81
- });
82
- var STYLE_PLUS_HOVER = {
83
- marginTop: '1.5em',
84
- color: SharedStyle.SECONDARY_COLOR.main,
85
- fontSize: '2em',
86
- opacity: '0.7',
87
- width: '100%'
88
- };
89
- var STYLE_DESCRIPTION = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
90
- display: 'block'
91
- }, "display", '-webkit-box'), "height", '2em'), "margin", '0 auto'), "fontSize", '0.75em'), "fontStyle", 'italic'), "lineHeight", '1em'), "WebkitLineClamp", '2'), "WebkitBoxOrient", 'vertical'), "overflow", 'hidden'), "textOverflow", 'ellipsis');
92
- var STYLE_TAGS = {
93
- listStyle: 'none',
94
- margin: '0px',
95
- padding: '0px',
96
- fontSize: '11px',
97
- marginBottom: '3px'
98
- };
99
- var STYLE_TAG = {
100
- display: 'inline-block',
101
- background: '#337ab7',
102
- color: SharedStyle.COLORS.white,
103
- padding: '1px 4px',
104
- marginRight: '3px',
105
- borderRadius: '3px'
106
- };
107
- var STYLE_ASSIGN_TAG = {
108
- display: 'inline-block',
109
- background: '#33b768',
110
- color: SharedStyle.COLORS.white,
111
- padding: '1px 4px',
112
- marginRight: '3px',
113
- borderRadius: '3px'
114
- };
115
- var CatalogItem = /*#__PURE__*/function (_Component) {
116
- function CatalogItem(props) {
117
- var _this;
118
- _classCallCheck(this, CatalogItem);
119
- _this = _callSuper(this, CatalogItem, [props]);
120
- _this.state = {
121
- hover: false,
122
- snackBarMessage: '',
123
- isSnackBarOpen: ''
124
- };
125
- return _this;
126
- }
127
- _inherits(CatalogItem, _Component);
128
- return _createClass(CatalogItem, [{
129
- key: "select",
130
- value: function select(element) {
131
- var _this2 = this;
132
- sessionStorage.setItem('projectTitle', element.title);
133
- this.context.projectActions.rename(element.title);
134
- sessionStorage.setItem('projectId', element.id);
135
- sessionStorage.setItem('email', element.email);
136
- var _self = this;
137
- if (MODE === 'production') {
138
- s3.getObject({
139
- Bucket: process.env.REACT_APP_AWS_BUCKET_NAME,
140
- Key: element.data
141
- }, function (err, data) {
142
- if (err !== null) {
143
- console.log(err);
144
- this.setState({
145
- snackBarMessage: 'Something went wrong.',
146
- isSnackBarOpen: true
147
- });
148
- return;
149
- }
150
- var fileData = data.Body.toString('utf-8');
151
- var jsonData = JSON.parse(fileData);
152
- _self.context.projectActions.loadProject(jsonData, this.props.categoryData);
153
- });
154
- } else {
155
- axios.post("".concat(API_SERVER_URL, "/api/project/loadPidData"), {
156
- pid: element.id
157
- }).then(function (response) {
158
- var jsonData = JSON.parse(response.data.data);
159
- _this2.context.projectActions.loadProject(jsonData, _this2.props.categoryData);
160
- });
161
- }
162
- this.context.projectActions.setMode(MODE_IDLE);
163
- var visualizerName = sessionStorage.getItem('visualizerName');
164
- browserHistory.push({
165
- pathname: "/".concat(visualizerName, "/project/").concat(element.role, "/").concat(sessionStorage.getItem('jwt_access_token'), "/").concat(element.id)
166
- });
167
- }
168
- }, {
169
- key: "render",
170
- value: function render() {
171
- var _this3 = this;
172
- var element = this.props.element;
173
- var hover = this.state.hover;
174
- return /*#__PURE__*/React.createElement("div", {
175
- style: hover ? STYLE_BOX_HOVER : STYLE_BOX,
176
- onClick: function onClick(e) {
177
- e.preventDefault(), _this3.select(element);
178
- },
179
- onMouseEnter: function onMouseEnter(e) {
180
- return _this3.setState({
181
- hover: true
182
- });
183
- },
184
- onMouseLeave: function onMouseLeave(e) {
185
- return _this3.setState({
186
- hover: false
187
- });
188
- }
189
- }, /*#__PURE__*/React.createElement(SnackBar, {
190
- isOpen: this.state.isSnackBarOpen,
191
- message: this.state.snackBarMessage,
192
- handleClose: function handleClose() {
193
- return _this3.setState({
194
- isSnackBarOpen: false,
195
- snackBarMessage: ''
196
- });
197
- }
198
- }), /*#__PURE__*/React.createElement("b", {
199
- style: STYLE_TITLE
200
- }, element.title), /*#__PURE__*/React.createElement("div", {
201
- style: STYLE_IMAGE_CONTAINER
202
- }, /*#__PURE__*/React.createElement("div", {
203
- style: _objectSpread({}, STYLE_IMAGE)
204
- }, hover ? /*#__PURE__*/React.createElement(IconAdd, {
205
- style: STYLE_PLUS_HOVER
206
- }) : null)), /*#__PURE__*/React.createElement("ul", {
207
- style: STYLE_TAGS
208
- }, element.is_assistance_requested === 1 ? /*#__PURE__*/React.createElement("li", {
209
- style: STYLE_ASSIGN_TAG
210
- }, "Assign") : null, /*#__PURE__*/React.createElement("li", {
211
- style: STYLE_TAG
212
- }, element.saved_at)));
213
- }
214
- }]);
215
- }(Component);
216
- export { CatalogItem as default };
217
- CatalogItem.propTypes = {
218
- element: PropTypes.object.isRequired
219
- };
220
- CatalogItem.contextTypes = {
221
- itemsActions: PropTypes.object.isRequired,
222
- linesActions: PropTypes.object.isRequired,
223
- holesActions: PropTypes.object.isRequired,
224
- projectActions: PropTypes.object.isRequired
225
- };
226
- //# sourceMappingURL=catalog-item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"catalog-item.js","names":["React","Component","PropTypes","FaPlusCircle","IconAdd","SharedStyle","API_SERVER_URL","MODE","MODE_IDLE","browserHistory","axios","SnackBar","AWS","require","s3","S3","accessKeyId","process","env","REACT_APP_AWS_ID","secretAccessKey","REACT_APP_AWS_SECRET","STYLE_BOX","width","height","padding","background","border","cursor","position","boxShadow","borderRadius","transition","WebkitTransition","alignSelf","justifySelf","STYLE_BOX_HOVER","_objectSpread","SECONDARY_COLOR","main","STYLE_TITLE","textAlign","display","marginBottom","textTransform","STYLE_TITLE_HOVER","color","COLORS","white","STYLE_IMAGE_CONTAINER","overflow","margin","STYLE_IMAGE","backgroundSize","backgroundPosition","backgroundColor","backgroundRepeat","STYLE_IMAGE_HOVER","transform","STYLE_PLUS_HOVER","marginTop","fontSize","opacity","STYLE_DESCRIPTION","_defineProperty","STYLE_TAGS","listStyle","STYLE_TAG","marginRight","STYLE_ASSIGN_TAG","CatalogItem","_Component","props","_this","_classCallCheck","_callSuper","state","hover","snackBarMessage","isSnackBarOpen","_inherits","_createClass","key","value","select","element","_this2","sessionStorage","setItem","title","context","projectActions","rename","id","email","_self","getObject","Bucket","REACT_APP_AWS_BUCKET_NAME","Key","data","err","console","log","setState","fileData","Body","toString","jsonData","JSON","parse","loadProject","categoryData","post","concat","pid","then","response","setMode","visualizerName","getItem","push","pathname","role","render","_this3","createElement","style","onClick","e","preventDefault","onMouseEnter","onMouseLeave","isOpen","message","handleClose","is_assistance_requested","saved_at","default","propTypes","object","isRequired","contextTypes","itemsActions","linesActions","holesActions"],"sources":["../../../src/components/catalog-view/catalog-item.jsx"],"sourcesContent":["import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FaPlusCircle as IconAdd } from 'react-icons/fa';\r\nimport * as SharedStyle from '../../shared-style';\r\nimport { API_SERVER_URL, MODE, MODE_IDLE } from '../../constants';\r\nimport browserHistory from '../../@history';\r\nimport axios from 'axios';\r\nimport SnackBar from '../atoms/Snackbar/index';\r\nconst AWS = require('aws-sdk');\r\n\r\nconst s3 = new AWS.S3({\r\n accessKeyId: process.env.REACT_APP_AWS_ID,\r\n secretAccessKey: process.env.REACT_APP_AWS_SECRET\r\n});\r\n\r\nconst STYLE_BOX = {\r\n width: '14em',\r\n height: '14em',\r\n padding: '0.625em',\r\n background: '#f7f7f9',\r\n border: '1px solid #e1e1e8',\r\n cursor: 'pointer',\r\n position: 'relative',\r\n boxShadow: '0 1px 6px 0 rgba(0, 0, 0, 0.11), 0 1px 4px 0 rgba(0, 0, 0, 0.11)',\r\n borderRadius: '2px',\r\n transition: 'all .15s ease-in-out',\r\n WebkitTransition: 'all .15s ease-in-out',\r\n alignSelf: 'center',\r\n justifySelf: 'center'\r\n};\r\n\r\nconst STYLE_BOX_HOVER = {\r\n ...STYLE_BOX,\r\n background: SharedStyle.SECONDARY_COLOR.main\r\n};\r\n\r\nconst STYLE_TITLE = {\r\n width: '100%',\r\n textAlign: 'center',\r\n display: 'block',\r\n marginBottom: '.5em',\r\n textTransform: 'capitalize'\r\n};\r\n\r\nconst STYLE_TITLE_HOVER = {\r\n ...STYLE_TITLE,\r\n color: SharedStyle.COLORS.white\r\n};\r\n\r\nconst STYLE_IMAGE_CONTAINER = {\r\n width: '100%',\r\n height: '8em',\r\n position: 'relative',\r\n overflow: 'hidden',\r\n border: 'solid 1px #e6e6e6',\r\n padding: 0,\r\n margin: 0,\r\n marginBottom: '5px'\r\n};\r\n\r\nconst STYLE_IMAGE = {\r\n position: 'absolute',\r\n background: '#222',\r\n width: '100%',\r\n height: '100%',\r\n backgroundSize: 'contain',\r\n backgroundPosition: '50% 50%',\r\n backgroundColor: SharedStyle.COLORS.white,\r\n backgroundRepeat: 'no-repeat',\r\n transition: 'all .2s ease-in-out'\r\n};\r\n\r\nconst STYLE_IMAGE_HOVER = {\r\n ...STYLE_IMAGE,\r\n transform: 'scale(1.2)'\r\n};\r\n\r\nconst STYLE_PLUS_HOVER = {\r\n marginTop: '1.5em',\r\n color: SharedStyle.SECONDARY_COLOR.main,\r\n fontSize: '2em',\r\n opacity: '0.7',\r\n width: '100%'\r\n};\r\n\r\nconst STYLE_DESCRIPTION = {\r\n display: 'block',\r\n display: '-webkit-box',\r\n height: '2em',\r\n margin: '0 auto',\r\n fontSize: '0.75em',\r\n fontStyle: 'italic',\r\n lineHeight: '1em',\r\n WebkitLineClamp: '2',\r\n WebkitBoxOrient: 'vertical',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis'\r\n};\r\n\r\nconst STYLE_TAGS = {\r\n listStyle: 'none',\r\n margin: '0px',\r\n padding: '0px',\r\n fontSize: '11px',\r\n marginBottom: '3px'\r\n};\r\n\r\nconst STYLE_TAG = {\r\n display: 'inline-block',\r\n background: '#337ab7',\r\n color: SharedStyle.COLORS.white,\r\n padding: '1px 4px',\r\n marginRight: '3px',\r\n borderRadius: '3px'\r\n};\r\n\r\nconst STYLE_ASSIGN_TAG = {\r\n display: 'inline-block',\r\n background: '#33b768',\r\n color: SharedStyle.COLORS.white,\r\n padding: '1px 4px',\r\n marginRight: '3px',\r\n borderRadius: '3px'\r\n};\r\n\r\nexport default class CatalogItem extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = { hover: false, snackBarMessage: '', isSnackBarOpen: '' };\r\n }\r\n\r\n select(element) {\r\n sessionStorage.setItem('projectTitle', element.title);\r\n this.context.projectActions.rename(element.title);\r\n sessionStorage.setItem('projectId', element.id);\r\n sessionStorage.setItem('email', element.email);\r\n const _self = this;\r\n if (MODE === 'production') {\r\n s3.getObject(\r\n {\r\n Bucket: process.env.REACT_APP_AWS_BUCKET_NAME,\r\n Key: element.data\r\n },\r\n function (err, data) {\r\n if (err !== null) {\r\n console.log(err);\r\n this.setState({\r\n snackBarMessage: 'Something went wrong.',\r\n isSnackBarOpen: true\r\n });\r\n return;\r\n }\r\n var fileData = data.Body.toString('utf-8');\r\n const jsonData = JSON.parse(fileData);\r\n _self.context.projectActions.loadProject(\r\n jsonData,\r\n this.props.categoryData\r\n );\r\n }\r\n );\r\n } else {\r\n axios\r\n .post(`${API_SERVER_URL}/api/project/loadPidData`, {\r\n pid: element.id\r\n })\r\n .then(response => {\r\n const jsonData = JSON.parse(response.data.data);\r\n this.context.projectActions.loadProject(\r\n jsonData,\r\n this.props.categoryData\r\n );\r\n });\r\n }\r\n this.context.projectActions.setMode(MODE_IDLE);\r\n const visualizerName = sessionStorage.getItem('visualizerName');\r\n browserHistory.push({\r\n pathname: `/${visualizerName}/project/${\r\n element.role\r\n }/${sessionStorage.getItem('jwt_access_token')}/${element.id}`\r\n });\r\n }\r\n\r\n render() {\r\n let element = this.props.element;\r\n let hover = this.state.hover;\r\n return (\r\n <div\r\n style={hover ? STYLE_BOX_HOVER : STYLE_BOX}\r\n onClick={e => {\r\n e.preventDefault(), this.select(element);\r\n }}\r\n onMouseEnter={e => this.setState({ hover: true })}\r\n onMouseLeave={e => this.setState({ hover: false })}\r\n >\r\n <SnackBar\r\n isOpen={this.state.isSnackBarOpen}\r\n message={this.state.snackBarMessage}\r\n handleClose={() =>\r\n this.setState({ isSnackBarOpen: false, snackBarMessage: '' })\r\n }\r\n />\r\n <b style={STYLE_TITLE}>{element.title}</b>\r\n <div style={STYLE_IMAGE_CONTAINER}>\r\n <div style={{ ...STYLE_IMAGE }}>\r\n {hover ? <IconAdd style={STYLE_PLUS_HOVER} /> : null}\r\n </div>\r\n </div>\r\n <ul style={STYLE_TAGS}>\r\n {element.is_assistance_requested === 1 ? (\r\n <li style={STYLE_ASSIGN_TAG}>Assign</li>\r\n ) : null}\r\n <li style={STYLE_TAG}>{element.saved_at}</li>\r\n </ul>\r\n {/* <div style={STYLE_DESCRIPTION}>{element.info.description}</div> */}\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nCatalogItem.propTypes = {\r\n element: PropTypes.object.isRequired\r\n};\r\n\r\nCatalogItem.contextTypes = {\r\n itemsActions: PropTypes.object.isRequired,\r\n linesActions: PropTypes.object.isRequired,\r\n holesActions: PropTypes.object.isRequired,\r\n projectActions: PropTypes.object.isRequired\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,YAAY,IAAIC,OAAO,QAAQ,gBAAgB;AACxD,OAAO,KAAKC,WAAW,MAAM,oBAAoB;AACjD,SAASC,cAAc,EAAEC,IAAI,EAAEC,SAAS,QAAQ,iBAAiB;AACjE,OAAOC,cAAc,MAAM,gBAAgB;AAC3C,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,IAAMC,GAAG,GAAGC,OAAO,CAAC,SAAS,CAAC;AAE9B,IAAMC,EAAE,GAAG,IAAIF,GAAG,CAACG,EAAE,CAAC;EACpBC,WAAW,EAAEC,OAAO,CAACC,GAAG,CAACC,gBAAgB;EACzCC,eAAe,EAAEH,OAAO,CAACC,GAAG,CAACG;AAC/B,CAAC,CAAC;AAEF,IAAMC,SAAS,GAAG;EAChBC,KAAK,EAAE,MAAM;EACbC,MAAM,EAAE,MAAM;EACdC,OAAO,EAAE,SAAS;EAClBC,UAAU,EAAE,SAAS;EACrBC,MAAM,EAAE,mBAAmB;EAC3BC,MAAM,EAAE,SAAS;EACjBC,QAAQ,EAAE,UAAU;EACpBC,SAAS,EAAE,kEAAkE;EAC7EC,YAAY,EAAE,KAAK;EACnBC,UAAU,EAAE,sBAAsB;EAClCC,gB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