kitchen-simulator 5.0.0-test.0 → 5.0.0-test.10

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 (1620) hide show
  1. package/package.json +45 -53
  2. package/src/KitchenConfigurator.jsx +1 -1
  3. package/src/KitchenConfiguratorApp.jsx +0 -2
  4. package/src/components/export.js +16 -23
  5. package/src/components/viewer3d/scene-creator.js +23 -26
  6. package/src/components/viewer3d/viewer3d.js +18 -18
  7. package/src/index.js +1 -4
  8. package/es/@history.js +0 -3
  9. package/es/@history.js.map +0 -1
  10. package/es/AppContext.js +0 -4
  11. package/es/AppContext.js.map +0 -1
  12. package/es/KitchenConfigurator.js +0 -1345
  13. package/es/KitchenConfigurator.js.map +0 -1
  14. package/es/KitchenConfiguratorApp.js +0 -534
  15. package/es/KitchenConfiguratorApp.js.map +0 -1
  16. package/es/actions/area-actions.js +0 -15
  17. package/es/actions/area-actions.js.map +0 -1
  18. package/es/actions/export.js +0 -26
  19. package/es/actions/export.js.map +0 -1
  20. package/es/actions/groups-actions.js +0 -90
  21. package/es/actions/groups-actions.js.map +0 -1
  22. package/es/actions/holes-actions.js +0 -120
  23. package/es/actions/holes-actions.js.map +0 -1
  24. package/es/actions/items-actions.js +0 -314
  25. package/es/actions/items-actions.js.map +0 -1
  26. package/es/actions/lines-actions.js +0 -83
  27. package/es/actions/lines-actions.js.map +0 -1
  28. package/es/actions/project-actions.js +0 -282
  29. package/es/actions/project-actions.js.map +0 -1
  30. package/es/actions/scene-actions.js +0 -34
  31. package/es/actions/scene-actions.js.map +0 -1
  32. package/es/actions/user-actions.js +0 -59
  33. package/es/actions/user-actions.js.map +0 -1
  34. package/es/actions/vertices-actions.js +0 -28
  35. package/es/actions/vertices-actions.js.map +0 -1
  36. package/es/actions/viewer2d-actions.js +0 -59
  37. package/es/actions/viewer2d-actions.js.map +0 -1
  38. package/es/actions/viewer3d-actions.js +0 -24
  39. package/es/actions/viewer3d-actions.js.map +0 -1
  40. package/es/catalog/areas/area/planner-element.js +0 -41
  41. package/es/catalog/areas/area/planner-element.js.map +0 -1
  42. package/es/catalog/areas/area/textures/ceramic-tile.jpg +0 -0
  43. package/es/catalog/areas/area/textures/grass.jpg +0 -0
  44. package/es/catalog/areas/area/textures/parquet.jpg +0 -0
  45. package/es/catalog/areas/area/textures/strand-porcelain.jpg +0 -0
  46. package/es/catalog/areas/area/textures/tile1.jpg +0 -0
  47. package/es/catalog/back.png +0 -0
  48. package/es/catalog/catalog.js +0 -278
  49. package/es/catalog/catalog.js.map +0 -1
  50. package/es/catalog/doors.png +0 -0
  51. package/es/catalog/doorways.png +0 -0
  52. package/es/catalog/envMap/nx.hdr +0 -0
  53. package/es/catalog/envMap/ny.hdr +0 -0
  54. package/es/catalog/envMap/nz.hdr +0 -0
  55. package/es/catalog/envMap/px.hdr +0 -0
  56. package/es/catalog/envMap/py.hdr +0 -0
  57. package/es/catalog/envMap/pz.hdr +0 -0
  58. package/es/catalog/factories/area-factory-3d.js +0 -183
  59. package/es/catalog/factories/area-factory-3d.js.map +0 -1
  60. package/es/catalog/factories/area-factory.js +0 -82
  61. package/es/catalog/factories/area-factory.js.map +0 -1
  62. package/es/catalog/factories/export.js +0 -8
  63. package/es/catalog/factories/export.js.map +0 -1
  64. package/es/catalog/factories/wall-factory-3d.js +0 -203
  65. package/es/catalog/factories/wall-factory-3d.js.map +0 -1
  66. package/es/catalog/factories/wall-factory.js +0 -269
  67. package/es/catalog/factories/wall-factory.js.map +0 -1
  68. package/es/catalog/holes/door-closet/planner-element.js +0 -223
  69. package/es/catalog/holes/door-closet/planner-element.js.map +0 -1
  70. package/es/catalog/holes/door-double/door_double.png +0 -0
  71. package/es/catalog/holes/door-double/planner-element.js +0 -316
  72. package/es/catalog/holes/door-double/planner-element.js.map +0 -1
  73. package/es/catalog/holes/door-exterior/planner-element.js +0 -216
  74. package/es/catalog/holes/door-exterior/planner-element.js.map +0 -1
  75. package/es/catalog/holes/door-interior/planner-element.js +0 -228
  76. package/es/catalog/holes/door-interior/planner-element.js.map +0 -1
  77. package/es/catalog/holes/door-panic/panicDoor.png +0 -0
  78. package/es/catalog/holes/door-panic/planner-element.js +0 -504
  79. package/es/catalog/holes/door-panic/planner-element.js.map +0 -1
  80. package/es/catalog/holes/door-panic-double/panicDoorDouble.png +0 -0
  81. package/es/catalog/holes/door-panic-double/planner-element.js +0 -464
  82. package/es/catalog/holes/door-panic-double/planner-element.js.map +0 -1
  83. package/es/catalog/holes/door-sliding/planner-element.js +0 -226
  84. package/es/catalog/holes/door-sliding/planner-element.js.map +0 -1
  85. package/es/catalog/holes/doorway-framed/planner-element.js +0 -146
  86. package/es/catalog/holes/doorway-framed/planner-element.js.map +0 -1
  87. package/es/catalog/holes/doorway-frameless/planner-element.js +0 -105
  88. package/es/catalog/holes/doorway-frameless/planner-element.js.map +0 -1
  89. package/es/catalog/holes/gate/gate.jpg +0 -0
  90. package/es/catalog/holes/window-clear/planner-element.js +0 -167
  91. package/es/catalog/holes/window-clear/planner-element.js.map +0 -1
  92. package/es/catalog/holes/window-clear/texture.png +0 -0
  93. package/es/catalog/holes/window-cross/planner-element.js +0 -166
  94. package/es/catalog/holes/window-cross/planner-element.js.map +0 -1
  95. package/es/catalog/holes/window-cross/texture.png +0 -0
  96. package/es/catalog/holes/window-double-hung/planner-element.js +0 -304
  97. package/es/catalog/holes/window-double-hung/planner-element.js.map +0 -1
  98. package/es/catalog/holes/window-double-hung/texture.png +0 -0
  99. package/es/catalog/holes/window-vertical/planner-element.js +0 -277
  100. package/es/catalog/holes/window-vertical/planner-element.js.map +0 -1
  101. package/es/catalog/holes/window-vertical/texture.png +0 -0
  102. package/es/catalog/lines/wall/planner-element.js +0 -71
  103. package/es/catalog/lines/wall/planner-element.js.map +0 -1
  104. package/es/catalog/lines/wall/textures/bricks-normal.jpg +0 -0
  105. package/es/catalog/lines/wall/textures/bricks-normal2.jpg +0 -0
  106. package/es/catalog/lines/wall/textures/bricks.jpg +0 -0
  107. package/es/catalog/lines/wall/textures/bricks2.jpg +0 -0
  108. package/es/catalog/lines/wall/textures/bricks3.jpg +0 -0
  109. package/es/catalog/lines/wall/textures/morden-normal.jpg +0 -0
  110. package/es/catalog/lines/wall/textures/morden.jpg +0 -0
  111. package/es/catalog/lines/wall/textures/painted-normal.jpg +0 -0
  112. package/es/catalog/lines/wall/textures/painted.jpg +0 -0
  113. package/es/catalog/lines/wall/textures/plaster-normal.jpg +0 -0
  114. package/es/catalog/lines/wall/textures/plaster.jpg +0 -0
  115. package/es/catalog/lines/wall/wall.png +0 -0
  116. package/es/catalog/molding/molding-dcm/planner-element.js +0 -30
  117. package/es/catalog/molding/molding-dcm/planner-element.js.map +0 -1
  118. package/es/catalog/molding/molding-dcm/texture.png +0 -0
  119. package/es/catalog/molding/molding-fbm/planner-element.js +0 -30
  120. package/es/catalog/molding/molding-fbm/planner-element.js.map +0 -1
  121. package/es/catalog/molding/molding-fbm/texture.png +0 -0
  122. package/es/catalog/molding/molding-lrm/planner-element.js +0 -30
  123. package/es/catalog/molding/molding-lrm/planner-element.js.map +0 -1
  124. package/es/catalog/molding/molding-lrm/texture.png +0 -0
  125. package/es/catalog/properties/export.js +0 -22
  126. package/es/catalog/properties/export.js.map +0 -1
  127. package/es/catalog/properties/property-checkbox.js +0 -72
  128. package/es/catalog/properties/property-checkbox.js.map +0 -1
  129. package/es/catalog/properties/property-color.js +0 -40
  130. package/es/catalog/properties/property-color.js.map +0 -1
  131. package/es/catalog/properties/property-enum.js +0 -56
  132. package/es/catalog/properties/property-enum.js.map +0 -1
  133. package/es/catalog/properties/property-hidden.js +0 -20
  134. package/es/catalog/properties/property-hidden.js.map +0 -1
  135. package/es/catalog/properties/property-lenght-measure.js +0 -102
  136. package/es/catalog/properties/property-lenght-measure.js.map +0 -1
  137. package/es/catalog/properties/property-length-measure.js +0 -86
  138. package/es/catalog/properties/property-length-measure.js.map +0 -1
  139. package/es/catalog/properties/property-length-measure_hole.js +0 -102
  140. package/es/catalog/properties/property-length-measure_hole.js.map +0 -1
  141. package/es/catalog/properties/property-number.js +0 -49
  142. package/es/catalog/properties/property-number.js.map +0 -1
  143. package/es/catalog/properties/property-read-only.js +0 -27
  144. package/es/catalog/properties/property-read-only.js.map +0 -1
  145. package/es/catalog/properties/property-string.js +0 -49
  146. package/es/catalog/properties/property-string.js.map +0 -1
  147. package/es/catalog/properties/property-toggle.js +0 -40
  148. package/es/catalog/properties/property-toggle.js.map +0 -1
  149. package/es/catalog/properties/shared-property-style.js +0 -15
  150. package/es/catalog/properties/shared-property-style.js.map +0 -1
  151. package/es/catalog/utils/FuseUtils.js +0 -83
  152. package/es/catalog/utils/FuseUtils.js.map +0 -1
  153. package/es/catalog/utils/exporter.js +0 -149
  154. package/es/catalog/utils/exporter.js.map +0 -1
  155. package/es/catalog/utils/geom-utils.js +0 -190
  156. package/es/catalog/utils/geom-utils.js.map +0 -1
  157. package/es/catalog/utils/item-loader.js +0 -1522
  158. package/es/catalog/utils/item-loader.js.map +0 -1
  159. package/es/catalog/utils/load-obj.js +0 -92
  160. package/es/catalog/utils/load-obj.js.map +0 -1
  161. package/es/catalog/utils/mtl-loader.js +0 -358
  162. package/es/catalog/utils/mtl-loader.js.map +0 -1
  163. package/es/catalog/utils/obj-loader.js +0 -477
  164. package/es/catalog/utils/obj-loader.js.map +0 -1
  165. package/es/catalog/windows.png +0 -0
  166. package/es/class/FuseUtils.js +0 -83
  167. package/es/class/FuseUtils.js.map +0 -1
  168. package/es/class/area.js +0 -146
  169. package/es/class/area.js.map +0 -1
  170. package/es/class/export.js +0 -25
  171. package/es/class/export.js.map +0 -1
  172. package/es/class/group.js +0 -441
  173. package/es/class/group.js.map +0 -1
  174. package/es/class/guide.js +0 -63
  175. package/es/class/guide.js.map +0 -1
  176. package/es/class/hole.js +0 -931
  177. package/es/class/hole.js.map +0 -1
  178. package/es/class/item.js +0 -1888
  179. package/es/class/item.js.map +0 -1
  180. package/es/class/layer.js +0 -668
  181. package/es/class/layer.js.map +0 -1
  182. package/es/class/line.js +0 -1290
  183. package/es/class/line.js.map +0 -1
  184. package/es/class/project.js +0 -823
  185. package/es/class/project.js.map +0 -1
  186. package/es/class/vertex.js +0 -267
  187. package/es/class/vertex.js.map +0 -1
  188. package/es/components/atoms/Snackbar/index.js +0 -50
  189. package/es/components/atoms/Snackbar/index.js.map +0 -1
  190. package/es/components/atoms/radio-button/index.js +0 -26
  191. package/es/components/atoms/radio-button/index.js.map +0 -1
  192. package/es/components/atoms/radio-button/styles.js +0 -5
  193. package/es/components/atoms/radio-button/styles.js.map +0 -1
  194. package/es/components/button/MainButton.js +0 -92
  195. package/es/components/button/MainButton.js.map +0 -1
  196. package/es/components/button/ToggleMeasureButton.js +0 -56
  197. package/es/components/button/ToggleMeasureButton.js.map +0 -1
  198. package/es/components/catalog-view/catalog-breadcrumb.js +0 -53
  199. package/es/components/catalog-view/catalog-breadcrumb.js.map +0 -1
  200. package/es/components/catalog-view/catalog-item.js +0 -226
  201. package/es/components/catalog-view/catalog-item.js.map +0 -1
  202. package/es/components/catalog-view/catalog-list.js +0 -182
  203. package/es/components/catalog-view/catalog-list.js.map +0 -1
  204. package/es/components/catalog-view/catalog-page-item.js +0 -130
  205. package/es/components/catalog-view/catalog-page-item.js.map +0 -1
  206. package/es/components/catalog-view/catalog-turn-back-page-item.js +0 -106
  207. package/es/components/catalog-view/catalog-turn-back-page-item.js.map +0 -1
  208. package/es/components/configurator/custom-configurator.js +0 -94
  209. package/es/components/configurator/custom-configurator.js.map +0 -1
  210. package/es/components/configurator/project-configurator.js +0 -131
  211. package/es/components/configurator/project-configurator.js.map +0 -1
  212. package/es/components/content.js +0 -123
  213. package/es/components/content.js.map +0 -1
  214. package/es/components/export.js +0 -24
  215. package/es/components/export.js.map +0 -1
  216. package/es/components/firstsetting/button/styles.js +0 -27
  217. package/es/components/firstsetting/button/styles.js.map +0 -1
  218. package/es/components/firstsetting/export.js +0 -9
  219. package/es/components/firstsetting/export.js.map +0 -1
  220. package/es/components/firstsetting/firstsetting-content-button.js +0 -217
  221. package/es/components/firstsetting/firstsetting-content-button.js.map +0 -1
  222. package/es/components/firstsetting/firstsetting-toggle-button.js +0 -126
  223. package/es/components/firstsetting/firstsetting-toggle-button.js.map +0 -1
  224. package/es/components/firstsetting/firstsetting.js +0 -626
  225. package/es/components/firstsetting/firstsetting.js.map +0 -1
  226. package/es/components/footerbar/button/ControlButton.js +0 -72
  227. package/es/components/footerbar/button/ControlButton.js.map +0 -1
  228. package/es/components/footerbar/button/DirectionButton.js +0 -69
  229. package/es/components/footerbar/button/DirectionButton.js.map +0 -1
  230. package/es/components/footerbar/button/DirectionPanSpinButton.js +0 -50
  231. package/es/components/footerbar/button/DirectionPanSpinButton.js.map +0 -1
  232. package/es/components/footerbar/button/ToggleButton.js +0 -76
  233. package/es/components/footerbar/button/ToggleButton.js.map +0 -1
  234. package/es/components/footerbar/button/ToggleConvertButton.js +0 -73
  235. package/es/components/footerbar/button/ToggleConvertButton.js.map +0 -1
  236. package/es/components/footerbar/button/ToggleMeasureButton.js +0 -52
  237. package/es/components/footerbar/button/ToggleMeasureButton.js.map +0 -1
  238. package/es/components/footerbar/button/styles.js +0 -22
  239. package/es/components/footerbar/button/styles.js.map +0 -1
  240. package/es/components/footerbar/export.js +0 -9
  241. package/es/components/footerbar/export.js.map +0 -1
  242. package/es/components/footerbar/footer-content-button.js +0 -217
  243. package/es/components/footerbar/footer-content-button.js.map +0 -1
  244. package/es/components/footerbar/footer-toggle-button.js +0 -126
  245. package/es/components/footerbar/footer-toggle-button.js.map +0 -1
  246. package/es/components/footerbar/footerbar.js +0 -801
  247. package/es/components/footerbar/footerbar.js.map +0 -1
  248. package/es/components/footerbar/styles.js +0 -34
  249. package/es/components/footerbar/styles.js.map +0 -1
  250. package/es/components/header/button/MenuButton.js +0 -70
  251. package/es/components/header/button/MenuButton.js.map +0 -1
  252. package/es/components/header/button/SaveButton.js +0 -48
  253. package/es/components/header/button/SaveButton.js.map +0 -1
  254. package/es/components/header/button/styles.js +0 -59
  255. package/es/components/header/button/styles.js.map +0 -1
  256. package/es/components/header/export.js +0 -5
  257. package/es/components/header/export.js.map +0 -1
  258. package/es/components/header/header.js +0 -550
  259. package/es/components/header/header.js.map +0 -1
  260. package/es/components/header/header.style.css +0 -47
  261. package/es/components/header/styles.js +0 -41
  262. package/es/components/header/styles.js.map +0 -1
  263. package/es/components/login/Login.js +0 -86
  264. package/es/components/login/Login.js.map +0 -1
  265. package/es/components/login/LoginForm/index.js +0 -132
  266. package/es/components/login/LoginForm/index.js.map +0 -1
  267. package/es/components/login/Register.js +0 -96
  268. package/es/components/login/Register.js.map +0 -1
  269. package/es/components/login/RegisterForm/index.js +0 -230
  270. package/es/components/login/RegisterForm/index.js.map +0 -1
  271. package/es/components/login/jwtService.js +0 -232
  272. package/es/components/login/jwtService.js.map +0 -1
  273. package/es/components/login/style.css +0 -158
  274. package/es/components/login/style.scss +0 -260
  275. package/es/components/molecules/slider/index.js +0 -13
  276. package/es/components/molecules/slider/index.js.map +0 -1
  277. package/es/components/molecules/slider/styles.js +0 -2
  278. package/es/components/molecules/slider/styles.js.map +0 -1
  279. package/es/components/molecules/slider/styles.scss +0 -3
  280. package/es/components/myprojects/export.js +0 -5
  281. package/es/components/myprojects/export.js.map +0 -1
  282. package/es/components/myprojects/index.js +0 -446
  283. package/es/components/myprojects/index.js.map +0 -1
  284. package/es/components/myprojects/styles.js +0 -24
  285. package/es/components/myprojects/styles.js.map +0 -1
  286. package/es/components/sidebar/custom-accordion.js +0 -38
  287. package/es/components/sidebar/custom-accordion.js.map +0 -1
  288. package/es/components/sidebar/export.js +0 -14
  289. package/es/components/sidebar/export.js.map +0 -1
  290. package/es/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js +0 -65
  291. package/es/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js.map +0 -1
  292. package/es/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js +0 -116
  293. package/es/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js.map +0 -1
  294. package/es/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js +0 -126
  295. package/es/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js.map +0 -1
  296. package/es/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js +0 -251
  297. package/es/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js.map +0 -1
  298. package/es/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js +0 -75
  299. package/es/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js.map +0 -1
  300. package/es/components/sidebar/panel-element-editor/element-editor.js +0 -878
  301. package/es/components/sidebar/panel-element-editor/element-editor.js.map +0 -1
  302. package/es/components/sidebar/panel-element-editor/multi-elements-editor.js +0 -2
  303. package/es/components/sidebar/panel-element-editor/multi-elements-editor.js.map +0 -1
  304. package/es/components/sidebar/panel-element-editor/panel-element-editor.js +0 -49
  305. package/es/components/sidebar/panel-element-editor/panel-element-editor.js.map +0 -1
  306. package/es/components/sidebar/panel-element-editor/panel-multi-elements-editor.js +0 -118
  307. package/es/components/sidebar/panel-element-editor/panel-multi-elements-editor.js.map +0 -1
  308. package/es/components/sidebar/panel-group-editor.js +0 -211
  309. package/es/components/sidebar/panel-group-editor.js.map +0 -1
  310. package/es/components/sidebar/panel-groups.js +0 -267
  311. package/es/components/sidebar/panel-groups.js.map +0 -1
  312. package/es/components/sidebar/panel-guides.js +0 -185
  313. package/es/components/sidebar/panel-guides.js.map +0 -1
  314. package/es/components/sidebar/panel-layer-elements.js +0 -251
  315. package/es/components/sidebar/panel-layer-elements.js.map +0 -1
  316. package/es/components/sidebar/panel-layers.js +0 -340
  317. package/es/components/sidebar/panel-layers.js.map +0 -1
  318. package/es/components/sidebar/panel.js +0 -103
  319. package/es/components/sidebar/panel.js.map +0 -1
  320. package/es/components/sidebar/sidebar.js +0 -109
  321. package/es/components/sidebar/sidebar.js.map +0 -1
  322. package/es/components/sidebar/toolbar-panel.js +0 -164
  323. package/es/components/sidebar/toolbar-panel.js.map +0 -1
  324. package/es/components/sign/export.js +0 -6
  325. package/es/components/sign/export.js.map +0 -1
  326. package/es/components/sign/main/index.js +0 -560
  327. package/es/components/sign/main/index.js.map +0 -1
  328. package/es/components/sign/main/styles.js +0 -20
  329. package/es/components/sign/main/styles.js.map +0 -1
  330. package/es/components/style/button.js +0 -114
  331. package/es/components/style/button.js.map +0 -1
  332. package/es/components/style/cancel-button.js +0 -23
  333. package/es/components/style/cancel-button.js.map +0 -1
  334. package/es/components/style/content-container.js +0 -34
  335. package/es/components/style/content-container.js.map +0 -1
  336. package/es/components/style/content-title.js +0 -30
  337. package/es/components/style/content-title.js.map +0 -1
  338. package/es/components/style/delete-button.js +0 -26
  339. package/es/components/style/delete-button.js.map +0 -1
  340. package/es/components/style/export.js +0 -32
  341. package/es/components/style/export.js.map +0 -1
  342. package/es/components/style/form-block.js +0 -25
  343. package/es/components/style/form-block.js.map +0 -1
  344. package/es/components/style/form-color-input.js +0 -28
  345. package/es/components/style/form-color-input.js.map +0 -1
  346. package/es/components/style/form-label.js +0 -27
  347. package/es/components/style/form-label.js.map +0 -1
  348. package/es/components/style/form-number-input.js +0 -190
  349. package/es/components/style/form-number-input.js.map +0 -1
  350. package/es/components/style/form-number-input_2.js +0 -207
  351. package/es/components/style/form-number-input_2.js.map +0 -1
  352. package/es/components/style/form-select.js +0 -21
  353. package/es/components/style/form-select.js.map +0 -1
  354. package/es/components/style/form-slider.js +0 -46
  355. package/es/components/style/form-slider.js.map +0 -1
  356. package/es/components/style/form-submit-button.js +0 -27
  357. package/es/components/style/form-submit-button.js.map +0 -1
  358. package/es/components/style/form-text-input.js +0 -77
  359. package/es/components/style/form-text-input.js.map +0 -1
  360. package/es/components/toolbar/button/ControlButton.js +0 -69
  361. package/es/components/toolbar/button/ControlButton.js.map +0 -1
  362. package/es/components/toolbar/button/DirectionButton.js +0 -50
  363. package/es/components/toolbar/button/DirectionButton.js.map +0 -1
  364. package/es/components/toolbar/button/RightButton.js +0 -133
  365. package/es/components/toolbar/button/RightButton.js.map +0 -1
  366. package/es/components/toolbar/button/ToggleButton.js +0 -59
  367. package/es/components/toolbar/button/ToggleButton.js.map +0 -1
  368. package/es/components/toolbar/button/index.js +0 -88
  369. package/es/components/toolbar/button/index.js.map +0 -1
  370. package/es/components/toolbar/button/styles.js +0 -14
  371. package/es/components/toolbar/button/styles.js.map +0 -1
  372. package/es/components/toolbar/components/DoorStyleMenu.js +0 -105
  373. package/es/components/toolbar/components/DoorStyleMenu.js.map +0 -1
  374. package/es/components/toolbar/components/Pricing.js +0 -101
  375. package/es/components/toolbar/components/Pricing.js.map +0 -1
  376. package/es/components/toolbar/components/ReviewForQuote.js +0 -476
  377. package/es/components/toolbar/components/ReviewForQuote.js.map +0 -1
  378. package/es/components/toolbar/export.js +0 -14
  379. package/es/components/toolbar/export.js.map +0 -1
  380. package/es/components/toolbar/main/Alert.js +0 -125
  381. package/es/components/toolbar/main/Alert.js.map +0 -1
  382. package/es/components/toolbar/main/TakePictureModal.js +0 -100
  383. package/es/components/toolbar/main/TakePictureModal.js.map +0 -1
  384. package/es/components/toolbar/main/confirm-popup.js +0 -88
  385. package/es/components/toolbar/main/confirm-popup.js.map +0 -1
  386. package/es/components/toolbar/main/index.js +0 -4612
  387. package/es/components/toolbar/main/index.js.map +0 -1
  388. package/es/components/toolbar/main/lShaped.json +0 -311
  389. package/es/components/toolbar/main/longNarrow.json +0 -238
  390. package/es/components/toolbar/main/myComponents.js +0 -118
  391. package/es/components/toolbar/main/myComponents.js.map +0 -1
  392. package/es/components/toolbar/main/oRectangle.json +0 -220
  393. package/es/components/toolbar/main/rectangle.json +0 -238
  394. package/es/components/toolbar/main/style.css +0 -107
  395. package/es/components/toolbar/main/styles.js +0 -64
  396. package/es/components/toolbar/main/styles.js.map +0 -1
  397. package/es/components/toolbar/plugin-item.js +0 -150
  398. package/es/components/toolbar/plugin-item.js.map +0 -1
  399. package/es/components/toolbar/popup/appliance/appliance-category/index.js +0 -77
  400. package/es/components/toolbar/popup/appliance/appliance-category/index.js.map +0 -1
  401. package/es/components/toolbar/popup/appliance/choose-appliance/index.js +0 -76
  402. package/es/components/toolbar/popup/appliance/choose-appliance/index.js.map +0 -1
  403. package/es/components/toolbar/popup/appliance/index.js +0 -81
  404. package/es/components/toolbar/popup/appliance/index.js.map +0 -1
  405. package/es/components/toolbar/popup/autosaveprompt/index.js +0 -91
  406. package/es/components/toolbar/popup/autosaveprompt/index.js.map +0 -1
  407. package/es/components/toolbar/popup/autosaveprompt/styles.css +0 -64
  408. package/es/components/toolbar/popup/autosaveprompt/styles.js +0 -9
  409. package/es/components/toolbar/popup/autosaveprompt/styles.js.map +0 -1
  410. package/es/components/toolbar/popup/cabinet/cabinet-category/index.js +0 -77
  411. package/es/components/toolbar/popup/cabinet/cabinet-category/index.js.map +0 -1
  412. package/es/components/toolbar/popup/cabinet/choose-product/index.js +0 -98
  413. package/es/components/toolbar/popup/cabinet/choose-product/index.js.map +0 -1
  414. package/es/components/toolbar/popup/cabinet/index.js +0 -83
  415. package/es/components/toolbar/popup/cabinet/index.js.map +0 -1
  416. package/es/components/toolbar/popup/doorStyle/choose-style/index.js +0 -50
  417. package/es/components/toolbar/popup/doorStyle/choose-style/index.js.map +0 -1
  418. package/es/components/toolbar/popup/doorStyle/index.js +0 -61
  419. package/es/components/toolbar/popup/doorStyle/index.js.map +0 -1
  420. package/es/components/toolbar/popup/doorStyle/style-category/index.js +0 -143
  421. package/es/components/toolbar/popup/doorStyle/style-category/index.js.map +0 -1
  422. package/es/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -3
  423. package/es/components/toolbar/popup/downloadsummary/downloadSummaryContext.js.map +0 -1
  424. package/es/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js +0 -119
  425. package/es/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js.map +0 -1
  426. package/es/components/toolbar/popup/downloadsummary/index.js +0 -564
  427. package/es/components/toolbar/popup/downloadsummary/index.js.map +0 -1
  428. package/es/components/toolbar/popup/downloadsummary/show2D/show2DView.js +0 -51
  429. package/es/components/toolbar/popup/downloadsummary/show2D/show2DView.js.map +0 -1
  430. package/es/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js +0 -191
  431. package/es/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js.map +0 -1
  432. package/es/components/toolbar/popup/downloadsummary/show3D/show3DView.js +0 -245
  433. package/es/components/toolbar/popup/downloadsummary/show3D/show3DView.js.map +0 -1
  434. package/es/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js +0 -1758
  435. package/es/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js.map +0 -1
  436. package/es/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -87
  437. package/es/components/toolbar/popup/downloadsummary/showCabinetInfo.js.map +0 -1
  438. package/es/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js +0 -116
  439. package/es/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js.map +0 -1
  440. package/es/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js +0 -1710
  441. package/es/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js.map +0 -1
  442. package/es/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js +0 -175
  443. package/es/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js.map +0 -1
  444. package/es/components/toolbar/popup/downloadsummary/showWarranty.js +0 -106
  445. package/es/components/toolbar/popup/downloadsummary/showWarranty.js.map +0 -1
  446. package/es/components/toolbar/popup/downloadsummary/styles.css +0 -177
  447. package/es/components/toolbar/popup/downloadsummary/styles.js +0 -40
  448. package/es/components/toolbar/popup/downloadsummary/styles.js.map +0 -1
  449. package/es/components/toolbar/popup/finishingtouch/category/index.js +0 -35
  450. package/es/components/toolbar/popup/finishingtouch/category/index.js.map +0 -1
  451. package/es/components/toolbar/popup/finishingtouch/index.js +0 -47
  452. package/es/components/toolbar/popup/finishingtouch/index.js.map +0 -1
  453. package/es/components/toolbar/popup/finishingtouch/material-edit.js +0 -156
  454. package/es/components/toolbar/popup/finishingtouch/material-edit.js.map +0 -1
  455. package/es/components/toolbar/popup/finishingtouch/product/index.js +0 -56
  456. package/es/components/toolbar/popup/finishingtouch/product/index.js.map +0 -1
  457. package/es/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js +0 -116
  458. package/es/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js.map +0 -1
  459. package/es/components/toolbar/popup/floorplan/choose-floor/index.js +0 -246
  460. package/es/components/toolbar/popup/floorplan/choose-floor/index.js.map +0 -1
  461. package/es/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
  462. package/es/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
  463. package/es/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
  464. package/es/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
  465. package/es/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -11
  466. package/es/components/toolbar/popup/floorplan/choose-floor/styles.js.map +0 -1
  467. package/es/components/toolbar/popup/floorplan/floor-category/index.js +0 -90
  468. package/es/components/toolbar/popup/floorplan/floor-category/index.js.map +0 -1
  469. package/es/components/toolbar/popup/floorplan/index.js +0 -49
  470. package/es/components/toolbar/popup/floorplan/index.js.map +0 -1
  471. package/es/components/toolbar/popup/index.js +0 -188
  472. package/es/components/toolbar/popup/index.js.map +0 -1
  473. package/es/components/toolbar/popup/newproject/index.js +0 -67
  474. package/es/components/toolbar/popup/newproject/index.js.map +0 -1
  475. package/es/components/toolbar/popup/newproject/styles.css +0 -64
  476. package/es/components/toolbar/popup/newproject/styles.js +0 -9
  477. package/es/components/toolbar/popup/newproject/styles.js.map +0 -1
  478. package/es/components/toolbar/popup/product/appliance.js +0 -65
  479. package/es/components/toolbar/popup/product/appliance.js.map +0 -1
  480. package/es/components/toolbar/popup/product/cabinetproduct.js +0 -25
  481. package/es/components/toolbar/popup/product/cabinetproduct.js.map +0 -1
  482. package/es/components/toolbar/popup/product/doorstyle.js +0 -50
  483. package/es/components/toolbar/popup/product/doorstyle.js.map +0 -1
  484. package/es/components/toolbar/popup/product/doorstyleproduct.js +0 -51
  485. package/es/components/toolbar/popup/product/doorstyleproduct.js.map +0 -1
  486. package/es/components/toolbar/popup/product/floor.js +0 -52
  487. package/es/components/toolbar/popup/product/floor.js.map +0 -1
  488. package/es/components/toolbar/popup/product/floorproduct.js +0 -61
  489. package/es/components/toolbar/popup/product/floorproduct.js.map +0 -1
  490. package/es/components/toolbar/popup/product/index.js +0 -52
  491. package/es/components/toolbar/popup/product/index.js.map +0 -1
  492. package/es/components/toolbar/popup/product/primary.js +0 -63
  493. package/es/components/toolbar/popup/product/primary.js.map +0 -1
  494. package/es/components/toolbar/popup/product/productline.js +0 -120
  495. package/es/components/toolbar/popup/product/productline.js.map +0 -1
  496. package/es/components/toolbar/popup/product/reviewItem.js +0 -338
  497. package/es/components/toolbar/popup/product/reviewItem.js.map +0 -1
  498. package/es/components/toolbar/popup/product/reviewMolding.js +0 -282
  499. package/es/components/toolbar/popup/product/reviewMolding.js.map +0 -1
  500. package/es/components/toolbar/popup/product/style.css +0 -54
  501. package/es/components/toolbar/popup/product/styles.js +0 -71
  502. package/es/components/toolbar/popup/product/styles.js.map +0 -1
  503. package/es/components/toolbar/popup/savedesign/FullPictureForm.js +0 -161
  504. package/es/components/toolbar/popup/savedesign/FullPictureForm.js.map +0 -1
  505. package/es/components/toolbar/popup/savedesign/index.js +0 -508
  506. package/es/components/toolbar/popup/savedesign/index.js.map +0 -1
  507. package/es/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
  508. package/es/components/toolbar/popup/savedesign/styles.js +0 -19
  509. package/es/components/toolbar/popup/savedesign/styles.js.map +0 -1
  510. package/es/components/toolbar/popup/setDoorStyleOption/index.js +0 -57
  511. package/es/components/toolbar/popup/setDoorStyleOption/index.js.map +0 -1
  512. package/es/components/toolbar/popup/styles.js +0 -98
  513. package/es/components/toolbar/popup/styles.js.map +0 -1
  514. package/es/components/toolbar/popup/submitforquote/AddToCartOptions.js +0 -157
  515. package/es/components/toolbar/popup/submitforquote/AddToCartOptions.js.map +0 -1
  516. package/es/components/toolbar/popup/submitforquote/CustomerRequestsForm.js +0 -85
  517. package/es/components/toolbar/popup/submitforquote/CustomerRequestsForm.js.map +0 -1
  518. package/es/components/toolbar/popup/submitforquote/SkipDesignerReview.js +0 -36
  519. package/es/components/toolbar/popup/submitforquote/SkipDesignerReview.js.map +0 -1
  520. package/es/components/toolbar/popup/submitforquote/StepDots.js +0 -33
  521. package/es/components/toolbar/popup/submitforquote/StepDots.js.map +0 -1
  522. package/es/components/toolbar/popup/submitforquote/cart-choice.js +0 -132
  523. package/es/components/toolbar/popup/submitforquote/cart-choice.js.map +0 -1
  524. package/es/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -43
  525. package/es/components/toolbar/popup/submitforquote/doorstyle-menus.js.map +0 -1
  526. package/es/components/toolbar/popup/submitforquote/index.js +0 -690
  527. package/es/components/toolbar/popup/submitforquote/index.js.map +0 -1
  528. package/es/components/toolbar/popup/submitforquote/styles.css +0 -105
  529. package/es/components/toolbar/popup/submitforquote/styles.js +0 -31
  530. package/es/components/toolbar/popup/submitforquote/styles.js.map +0 -1
  531. package/es/components/toolbar/popup/submitprompt/index.js +0 -71
  532. package/es/components/toolbar/popup/submitprompt/index.js.map +0 -1
  533. package/es/components/toolbar/popup/submitprompt/styles.css +0 -64
  534. package/es/components/toolbar/popup/submitprompt/styles.js +0 -9
  535. package/es/components/toolbar/popup/submitprompt/styles.js.map +0 -1
  536. package/es/components/toolbar/toolbar-button.js +0 -105
  537. package/es/components/toolbar/toolbar-button.js.map +0 -1
  538. package/es/components/toolbar/toolbar-load-button.js +0 -29
  539. package/es/components/toolbar/toolbar-load-button.js.map +0 -1
  540. package/es/components/toolbar/toolbar-save-button.js +0 -27
  541. package/es/components/toolbar/toolbar-save-button.js.map +0 -1
  542. package/es/components/tutorial-view/Modal.js +0 -498
  543. package/es/components/tutorial-view/Modal.js.map +0 -1
  544. package/es/components/tutorial-view/style.css +0 -111
  545. package/es/components/tutorial-view/styles.js +0 -6
  546. package/es/components/tutorial-view/styles.js.map +0 -1
  547. package/es/components/viewer2d/area.js +0 -83
  548. package/es/components/viewer2d/area.js.map +0 -1
  549. package/es/components/viewer2d/export.js +0 -32
  550. package/es/components/viewer2d/export.js.map +0 -1
  551. package/es/components/viewer2d/grids/grid-horizontal-streak.js +0 -38
  552. package/es/components/viewer2d/grids/grid-horizontal-streak.js.map +0 -1
  553. package/es/components/viewer2d/grids/grid-streak.js +0 -38
  554. package/es/components/viewer2d/grids/grid-streak.js.map +0 -1
  555. package/es/components/viewer2d/grids/grid-vertical-streak.js +0 -38
  556. package/es/components/viewer2d/grids/grid-vertical-streak.js.map +0 -1
  557. package/es/components/viewer2d/grids/grids.js +0 -36
  558. package/es/components/viewer2d/grids/grids.js.map +0 -1
  559. package/es/components/viewer2d/group.js +0 -54
  560. package/es/components/viewer2d/group.js.map +0 -1
  561. package/es/components/viewer2d/item.js +0 -514
  562. package/es/components/viewer2d/item.js.map +0 -1
  563. package/es/components/viewer2d/layer.js +0 -165
  564. package/es/components/viewer2d/layer.js.map +0 -1
  565. package/es/components/viewer2d/line.js +0 -889
  566. package/es/components/viewer2d/line.js.map +0 -1
  567. package/es/components/viewer2d/ruler.js +0 -101
  568. package/es/components/viewer2d/ruler.js.map +0 -1
  569. package/es/components/viewer2d/rulerDist.js +0 -147
  570. package/es/components/viewer2d/rulerDist.js.map +0 -1
  571. package/es/components/viewer2d/rulerX.js +0 -152
  572. package/es/components/viewer2d/rulerX.js.map +0 -1
  573. package/es/components/viewer2d/rulerY.js +0 -154
  574. package/es/components/viewer2d/rulerY.js.map +0 -1
  575. package/es/components/viewer2d/scene.js +0 -141
  576. package/es/components/viewer2d/scene.js.map +0 -1
  577. package/es/components/viewer2d/snap.js +0 -75
  578. package/es/components/viewer2d/snap.js.map +0 -1
  579. package/es/components/viewer2d/state.js +0 -79
  580. package/es/components/viewer2d/state.js.map +0 -1
  581. package/es/components/viewer2d/utils.js +0 -163
  582. package/es/components/viewer2d/utils.js.map +0 -1
  583. package/es/components/viewer2d/vertex.js +0 -67
  584. package/es/components/viewer2d/vertex.js.map +0 -1
  585. package/es/components/viewer2d/viewer2d.js +0 -1402
  586. package/es/components/viewer2d/viewer2d.js.map +0 -1
  587. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +0 -2593
  588. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js.map +0 -1
  589. package/es/components/viewer3d/dcm.js +0 -402
  590. package/es/components/viewer3d/dcm.js.map +0 -1
  591. package/es/components/viewer3d/fbm.js +0 -415
  592. package/es/components/viewer3d/fbm.js.map +0 -1
  593. package/es/components/viewer3d/front3D.js +0 -67
  594. package/es/components/viewer3d/front3D.js.map +0 -1
  595. package/es/components/viewer3d/grid-creator.js +0 -26
  596. package/es/components/viewer3d/grid-creator.js.map +0 -1
  597. package/es/components/viewer3d/grids/grid-horizontal-streak.js +0 -37
  598. package/es/components/viewer3d/grids/grid-horizontal-streak.js.map +0 -1
  599. package/es/components/viewer3d/grids/grid-streak.js +0 -28
  600. package/es/components/viewer3d/grids/grid-streak.js.map +0 -1
  601. package/es/components/viewer3d/grids/grid-vertical-streak.js +0 -37
  602. package/es/components/viewer3d/grids/grid-vertical-streak.js.map +0 -1
  603. package/es/components/viewer3d/libs/first-person-controls.js +0 -68
  604. package/es/components/viewer3d/libs/first-person-controls.js.map +0 -1
  605. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +0 -1282
  606. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js.map +0 -1
  607. package/es/components/viewer3d/libs/mtl-loader.js +0 -358
  608. package/es/components/viewer3d/libs/mtl-loader.js.map +0 -1
  609. package/es/components/viewer3d/libs/obj-loader.js +0 -463
  610. package/es/components/viewer3d/libs/obj-loader.js.map +0 -1
  611. package/es/components/viewer3d/libs/orbit-controls.js +0 -699
  612. package/es/components/viewer3d/libs/orbit-controls.js.map +0 -1
  613. package/es/components/viewer3d/libs/pointer-lock-controls.js +0 -46
  614. package/es/components/viewer3d/libs/pointer-lock-controls.js.map +0 -1
  615. package/es/components/viewer3d/lrm.js +0 -306
  616. package/es/components/viewer3d/lrm.js.map +0 -1
  617. package/es/components/viewer3d/model.js +0 -709
  618. package/es/components/viewer3d/model.js.map +0 -1
  619. package/es/components/viewer3d/pointer-lock-navigation.js +0 -116
  620. package/es/components/viewer3d/pointer-lock-navigation.js.map +0 -1
  621. package/es/components/viewer3d/ruler-utils/itemRect.js +0 -62
  622. package/es/components/viewer3d/ruler-utils/itemRect.js.map +0 -1
  623. package/es/components/viewer3d/ruler-utils/layer3D.js +0 -496
  624. package/es/components/viewer3d/ruler-utils/layer3D.js.map +0 -1
  625. package/es/components/viewer3d/ruler-utils/ruler3D.js +0 -228
  626. package/es/components/viewer3d/ruler-utils/ruler3D.js.map +0 -1
  627. package/es/components/viewer3d/ruler-utils/scene3D.js +0 -62
  628. package/es/components/viewer3d/ruler-utils/scene3D.js.map +0 -1
  629. package/es/components/viewer3d/ruler-utils/state3D.js +0 -19
  630. package/es/components/viewer3d/ruler-utils/state3D.js.map +0 -1
  631. package/es/components/viewer3d/scene-creator.js +0 -3607
  632. package/es/components/viewer3d/scene-creator.js.map +0 -1
  633. package/es/components/viewer3d/three-memory-cleaner.js +0 -52
  634. package/es/components/viewer3d/three-memory-cleaner.js.map +0 -1
  635. package/es/components/viewer3d/viewer3d-first-person.js +0 -316
  636. package/es/components/viewer3d/viewer3d-first-person.js.map +0 -1
  637. package/es/components/viewer3d/viewer3d.js +0 -2504
  638. package/es/components/viewer3d/viewer3d.js.map +0 -1
  639. package/es/components/wizardstep/button/styles.js +0 -60
  640. package/es/components/wizardstep/button/styles.js.map +0 -1
  641. package/es/components/wizardstep/export.js +0 -5
  642. package/es/components/wizardstep/export.js.map +0 -1
  643. package/es/components/wizardstep/index.js +0 -971
  644. package/es/components/wizardstep/index.js.map +0 -1
  645. package/es/components/wizardstep/styles.js +0 -61
  646. package/es/components/wizardstep/styles.js.map +0 -1
  647. package/es/components/wizardstep/wizardstep-content-button.js +0 -217
  648. package/es/components/wizardstep/wizardstep-content-button.js.map +0 -1
  649. package/es/components/wizardstep/wizardstep-toggle-button.js +0 -126
  650. package/es/components/wizardstep/wizardstep-toggle-button.js.map +0 -1
  651. package/es/constants.js +0 -637
  652. package/es/constants.js.map +0 -1
  653. package/es/hooks/useCheckCart.js +0 -53
  654. package/es/hooks/useCheckCart.js.map +0 -1
  655. package/es/hooks/useGetPricesBySku.js +0 -74
  656. package/es/hooks/useGetPricesBySku.js.map +0 -1
  657. package/es/hooks/useValidateToken.js +0 -201
  658. package/es/hooks/useValidateToken.js.map +0 -1
  659. package/es/index.js +0 -18
  660. package/es/index.js.map +0 -1
  661. package/es/models.js +0 -511
  662. package/es/models.js.map +0 -1
  663. package/es/plugins/SVGLoader.js +0 -1413
  664. package/es/plugins/SVGLoader.js.map +0 -1
  665. package/es/plugins/autosave.js +0 -34
  666. package/es/plugins/autosave.js.map +0 -1
  667. package/es/plugins/console-debugger.js +0 -38
  668. package/es/plugins/console-debugger.js.map +0 -1
  669. package/es/plugins/export.js +0 -10
  670. package/es/plugins/export.js.map +0 -1
  671. package/es/plugins/keyboard.js +0 -102
  672. package/es/plugins/keyboard.js.map +0 -1
  673. package/es/reducers/areas-reducer.js +0 -13
  674. package/es/reducers/areas-reducer.js.map +0 -1
  675. package/es/reducers/export.js +0 -26
  676. package/es/reducers/export.js.map +0 -1
  677. package/es/reducers/groups-reducer.js +0 -39
  678. package/es/reducers/groups-reducer.js.map +0 -1
  679. package/es/reducers/holes-reducer.js +0 -63
  680. package/es/reducers/holes-reducer.js.map +0 -1
  681. package/es/reducers/items-reducer.js +0 -144
  682. package/es/reducers/items-reducer.js.map +0 -1
  683. package/es/reducers/lines-reducer.js +0 -46
  684. package/es/reducers/lines-reducer.js.map +0 -1
  685. package/es/reducers/project-reducer.js +0 -130
  686. package/es/reducers/project-reducer.js.map +0 -1
  687. package/es/reducers/reducer.js +0 -20
  688. package/es/reducers/reducer.js.map +0 -1
  689. package/es/reducers/scene-reducer.js +0 -29
  690. package/es/reducers/scene-reducer.js.map +0 -1
  691. package/es/reducers/user-reducer.js +0 -42
  692. package/es/reducers/user-reducer.js.map +0 -1
  693. package/es/reducers/vertices-reducer.js +0 -20
  694. package/es/reducers/vertices-reducer.js.map +0 -1
  695. package/es/reducers/viewer2d-reducer.js +0 -76
  696. package/es/reducers/viewer2d-reducer.js.map +0 -1
  697. package/es/reducers/viewer3d-reducer.js +0 -57
  698. package/es/reducers/viewer3d-reducer.js.map +0 -1
  699. package/es/shared-style.js +0 -67
  700. package/es/shared-style.js.map +0 -1
  701. package/es/styles/export.js +0 -6
  702. package/es/styles/export.js.map +0 -1
  703. package/es/styles/tabs.css +0 -40
  704. package/es/translator/en.js +0 -105
  705. package/es/translator/en.js.map +0 -1
  706. package/es/translator/it.js +0 -80
  707. package/es/translator/it.js.map +0 -1
  708. package/es/translator/ru.js +0 -80
  709. package/es/translator/ru.js.map +0 -1
  710. package/es/translator/translator.js +0 -85
  711. package/es/translator/translator.js.map +0 -1
  712. package/es/utils/browser.js +0 -34
  713. package/es/utils/browser.js.map +0 -1
  714. package/es/utils/email-validator.js +0 -5
  715. package/es/utils/email-validator.js.map +0 -1
  716. package/es/utils/export.js +0 -26
  717. package/es/utils/export.js.map +0 -1
  718. package/es/utils/geometry.js +0 -2237
  719. package/es/utils/geometry.js.map +0 -1
  720. package/es/utils/get-edges-of-subgraphs.js +0 -27
  721. package/es/utils/get-edges-of-subgraphs.js.map +0 -1
  722. package/es/utils/graph-cycles.js +0 -239
  723. package/es/utils/graph-cycles.js.map +0 -1
  724. package/es/utils/graph-inner-cycles.js +0 -47
  725. package/es/utils/graph-inner-cycles.js.map +0 -1
  726. package/es/utils/graph.js +0 -150
  727. package/es/utils/graph.js.map +0 -1
  728. package/es/utils/helper.js +0 -337
  729. package/es/utils/helper.js.map +0 -1
  730. package/es/utils/history.js +0 -30
  731. package/es/utils/history.js.map +0 -1
  732. package/es/utils/id-broker.js +0 -20
  733. package/es/utils/id-broker.js.map +0 -1
  734. package/es/utils/logger.js +0 -9
  735. package/es/utils/logger.js.map +0 -1
  736. package/es/utils/math.js +0 -51
  737. package/es/utils/math.js.map +0 -1
  738. package/es/utils/molding.js +0 -840
  739. package/es/utils/molding.js.map +0 -1
  740. package/es/utils/name-generator.js +0 -19
  741. package/es/utils/name-generator.js.map +0 -1
  742. package/es/utils/objects-utils.js +0 -51
  743. package/es/utils/objects-utils.js.map +0 -1
  744. package/es/utils/phone-validator.js +0 -5
  745. package/es/utils/phone-validator.js.map +0 -1
  746. package/es/utils/process-black-list.js +0 -19
  747. package/es/utils/process-black-list.js.map +0 -1
  748. package/es/utils/react-if.js +0 -19
  749. package/es/utils/react-if.js.map +0 -1
  750. package/es/utils/snap-scene.js +0 -100
  751. package/es/utils/snap-scene.js.map +0 -1
  752. package/es/utils/snap.js +0 -238
  753. package/es/utils/snap.js.map +0 -1
  754. package/es/utils/threeCSG.es6.js +0 -499
  755. package/es/utils/threeCSG.es6.js.map +0 -1
  756. package/es/version.js +0 -2
  757. package/es/version.js.map +0 -1
  758. package/lib/@history.js +0 -11
  759. package/lib/@history.js.map +0 -1
  760. package/lib/AppContext.js +0 -11
  761. package/lib/AppContext.js.map +0 -1
  762. package/lib/KitchenConfigurator.js +0 -1353
  763. package/lib/KitchenConfigurator.js.map +0 -1
  764. package/lib/KitchenConfiguratorApp.js +0 -541
  765. package/lib/KitchenConfiguratorApp.js.map +0 -1
  766. package/lib/actions/area-actions.js +0 -22
  767. package/lib/actions/area-actions.js.map +0 -1
  768. package/lib/actions/export.js +0 -44
  769. package/lib/actions/export.js.map +0 -1
  770. package/lib/actions/groups-actions.js +0 -108
  771. package/lib/actions/groups-actions.js.map +0 -1
  772. package/lib/actions/holes-actions.js +0 -141
  773. package/lib/actions/holes-actions.js.map +0 -1
  774. package/lib/actions/items-actions.js +0 -365
  775. package/lib/actions/items-actions.js.map +0 -1
  776. package/lib/actions/lines-actions.js +0 -98
  777. package/lib/actions/lines-actions.js.map +0 -1
  778. package/lib/actions/project-actions.js +0 -333
  779. package/lib/actions/project-actions.js.map +0 -1
  780. package/lib/actions/scene-actions.js +0 -44
  781. package/lib/actions/scene-actions.js.map +0 -1
  782. package/lib/actions/user-actions.js +0 -69
  783. package/lib/actions/user-actions.js.map +0 -1
  784. package/lib/actions/vertices-actions.js +0 -36
  785. package/lib/actions/vertices-actions.js.map +0 -1
  786. package/lib/actions/viewer2d-actions.js +0 -74
  787. package/lib/actions/viewer2d-actions.js.map +0 -1
  788. package/lib/actions/viewer3d-actions.js +0 -33
  789. package/lib/actions/viewer3d-actions.js.map +0 -1
  790. package/lib/catalog/areas/area/planner-element.js +0 -47
  791. package/lib/catalog/areas/area/planner-element.js.map +0 -1
  792. package/lib/catalog/catalog.js +0 -283
  793. package/lib/catalog/catalog.js.map +0 -1
  794. package/lib/catalog/factories/area-factory-3d.js +0 -192
  795. package/lib/catalog/factories/area-factory-3d.js.map +0 -1
  796. package/lib/catalog/factories/area-factory.js +0 -90
  797. package/lib/catalog/factories/area-factory.js.map +0 -1
  798. package/lib/catalog/factories/export.js +0 -26
  799. package/lib/catalog/factories/export.js.map +0 -1
  800. package/lib/catalog/factories/wall-factory-3d.js +0 -213
  801. package/lib/catalog/factories/wall-factory-3d.js.map +0 -1
  802. package/lib/catalog/factories/wall-factory.js +0 -279
  803. package/lib/catalog/factories/wall-factory.js.map +0 -1
  804. package/lib/catalog/holes/door-closet/planner-element.js +0 -232
  805. package/lib/catalog/holes/door-closet/planner-element.js.map +0 -1
  806. package/lib/catalog/holes/door-double/planner-element.js +0 -325
  807. package/lib/catalog/holes/door-double/planner-element.js.map +0 -1
  808. package/lib/catalog/holes/door-exterior/planner-element.js +0 -225
  809. package/lib/catalog/holes/door-exterior/planner-element.js.map +0 -1
  810. package/lib/catalog/holes/door-interior/planner-element.js +0 -237
  811. package/lib/catalog/holes/door-interior/planner-element.js.map +0 -1
  812. package/lib/catalog/holes/door-panic/planner-element.js +0 -513
  813. package/lib/catalog/holes/door-panic/planner-element.js.map +0 -1
  814. package/lib/catalog/holes/door-panic-double/planner-element.js +0 -473
  815. package/lib/catalog/holes/door-panic-double/planner-element.js.map +0 -1
  816. package/lib/catalog/holes/door-sliding/planner-element.js +0 -235
  817. package/lib/catalog/holes/door-sliding/planner-element.js.map +0 -1
  818. package/lib/catalog/holes/doorway-framed/planner-element.js +0 -155
  819. package/lib/catalog/holes/doorway-framed/planner-element.js.map +0 -1
  820. package/lib/catalog/holes/doorway-frameless/planner-element.js +0 -114
  821. package/lib/catalog/holes/doorway-frameless/planner-element.js.map +0 -1
  822. package/lib/catalog/holes/window-clear/planner-element.js +0 -176
  823. package/lib/catalog/holes/window-clear/planner-element.js.map +0 -1
  824. package/lib/catalog/holes/window-cross/planner-element.js +0 -175
  825. package/lib/catalog/holes/window-cross/planner-element.js.map +0 -1
  826. package/lib/catalog/holes/window-double-hung/planner-element.js +0 -313
  827. package/lib/catalog/holes/window-double-hung/planner-element.js.map +0 -1
  828. package/lib/catalog/holes/window-vertical/planner-element.js +0 -286
  829. package/lib/catalog/holes/window-vertical/planner-element.js.map +0 -1
  830. package/lib/catalog/lines/wall/planner-element.js +0 -77
  831. package/lib/catalog/lines/wall/planner-element.js.map +0 -1
  832. package/lib/catalog/molding/molding-dcm/planner-element.js +0 -39
  833. package/lib/catalog/molding/molding-dcm/planner-element.js.map +0 -1
  834. package/lib/catalog/molding/molding-fbm/planner-element.js +0 -39
  835. package/lib/catalog/molding/molding-fbm/planner-element.js.map +0 -1
  836. package/lib/catalog/molding/molding-lrm/planner-element.js +0 -39
  837. package/lib/catalog/molding/molding-lrm/planner-element.js.map +0 -1
  838. package/lib/catalog/properties/export.js +0 -82
  839. package/lib/catalog/properties/export.js.map +0 -1
  840. package/lib/catalog/properties/property-checkbox.js +0 -79
  841. package/lib/catalog/properties/property-checkbox.js.map +0 -1
  842. package/lib/catalog/properties/property-color.js +0 -47
  843. package/lib/catalog/properties/property-color.js.map +0 -1
  844. package/lib/catalog/properties/property-enum.js +0 -63
  845. package/lib/catalog/properties/property-enum.js.map +0 -1
  846. package/lib/catalog/properties/property-hidden.js +0 -27
  847. package/lib/catalog/properties/property-hidden.js.map +0 -1
  848. package/lib/catalog/properties/property-lenght-measure.js +0 -109
  849. package/lib/catalog/properties/property-lenght-measure.js.map +0 -1
  850. package/lib/catalog/properties/property-length-measure.js +0 -93
  851. package/lib/catalog/properties/property-length-measure.js.map +0 -1
  852. package/lib/catalog/properties/property-length-measure_hole.js +0 -109
  853. package/lib/catalog/properties/property-length-measure_hole.js.map +0 -1
  854. package/lib/catalog/properties/property-number.js +0 -56
  855. package/lib/catalog/properties/property-number.js.map +0 -1
  856. package/lib/catalog/properties/property-read-only.js +0 -34
  857. package/lib/catalog/properties/property-read-only.js.map +0 -1
  858. package/lib/catalog/properties/property-string.js +0 -56
  859. package/lib/catalog/properties/property-string.js.map +0 -1
  860. package/lib/catalog/properties/property-toggle.js +0 -47
  861. package/lib/catalog/properties/property-toggle.js.map +0 -1
  862. package/lib/catalog/properties/shared-property-style.js +0 -21
  863. package/lib/catalog/properties/shared-property-style.js.map +0 -1
  864. package/lib/catalog/utils/FuseUtils.js +0 -89
  865. package/lib/catalog/utils/FuseUtils.js.map +0 -1
  866. package/lib/catalog/utils/exporter.js +0 -156
  867. package/lib/catalog/utils/exporter.js.map +0 -1
  868. package/lib/catalog/utils/geom-utils.js +0 -206
  869. package/lib/catalog/utils/geom-utils.js.map +0 -1
  870. package/lib/catalog/utils/item-loader.js +0 -1534
  871. package/lib/catalog/utils/item-loader.js.map +0 -1
  872. package/lib/catalog/utils/load-obj.js +0 -100
  873. package/lib/catalog/utils/load-obj.js.map +0 -1
  874. package/lib/catalog/utils/mtl-loader.js +0 -360
  875. package/lib/catalog/utils/mtl-loader.js.map +0 -1
  876. package/lib/catalog/utils/obj-loader.js +0 -479
  877. package/lib/catalog/utils/obj-loader.js.map +0 -1
  878. package/lib/class/FuseUtils.js +0 -89
  879. package/lib/class/FuseUtils.js.map +0 -1
  880. package/lib/class/area.js +0 -151
  881. package/lib/class/area.js.map +0 -1
  882. package/lib/class/export.js +0 -97
  883. package/lib/class/export.js.map +0 -1
  884. package/lib/class/group.js +0 -446
  885. package/lib/class/group.js.map +0 -1
  886. package/lib/class/guide.js +0 -68
  887. package/lib/class/guide.js.map +0 -1
  888. package/lib/class/hole.js +0 -935
  889. package/lib/class/hole.js.map +0 -1
  890. package/lib/class/item.js +0 -1894
  891. package/lib/class/item.js.map +0 -1
  892. package/lib/class/layer.js +0 -673
  893. package/lib/class/layer.js.map +0 -1
  894. package/lib/class/line.js +0 -1296
  895. package/lib/class/line.js.map +0 -1
  896. package/lib/class/project.js +0 -829
  897. package/lib/class/project.js.map +0 -1
  898. package/lib/class/vertex.js +0 -272
  899. package/lib/class/vertex.js.map +0 -1
  900. package/lib/components/atoms/Snackbar/index.js +0 -57
  901. package/lib/components/atoms/Snackbar/index.js.map +0 -1
  902. package/lib/components/atoms/radio-button/index.js +0 -33
  903. package/lib/components/atoms/radio-button/index.js.map +0 -1
  904. package/lib/components/atoms/radio-button/styles.js +0 -12
  905. package/lib/components/atoms/radio-button/styles.js.map +0 -1
  906. package/lib/components/button/MainButton.js +0 -98
  907. package/lib/components/button/MainButton.js.map +0 -1
  908. package/lib/components/button/ToggleMeasureButton.js +0 -63
  909. package/lib/components/button/ToggleMeasureButton.js.map +0 -1
  910. package/lib/components/catalog-view/catalog-breadcrumb.js +0 -61
  911. package/lib/components/catalog-view/catalog-breadcrumb.js.map +0 -1
  912. package/lib/components/catalog-view/catalog-item.js +0 -233
  913. package/lib/components/catalog-view/catalog-item.js.map +0 -1
  914. package/lib/components/catalog-view/catalog-list.js +0 -189
  915. package/lib/components/catalog-view/catalog-list.js.map +0 -1
  916. package/lib/components/catalog-view/catalog-page-item.js +0 -137
  917. package/lib/components/catalog-view/catalog-page-item.js.map +0 -1
  918. package/lib/components/catalog-view/catalog-turn-back-page-item.js +0 -113
  919. package/lib/components/catalog-view/catalog-turn-back-page-item.js.map +0 -1
  920. package/lib/components/configurator/custom-configurator.js +0 -101
  921. package/lib/components/configurator/custom-configurator.js.map +0 -1
  922. package/lib/components/configurator/project-configurator.js +0 -138
  923. package/lib/components/configurator/project-configurator.js.map +0 -1
  924. package/lib/components/content.js +0 -132
  925. package/lib/components/content.js.map +0 -1
  926. package/lib/components/export.js +0 -90
  927. package/lib/components/export.js.map +0 -1
  928. package/lib/components/firstsetting/button/styles.js +0 -34
  929. package/lib/components/firstsetting/button/styles.js.map +0 -1
  930. package/lib/components/firstsetting/export.js +0 -16
  931. package/lib/components/firstsetting/export.js.map +0 -1
  932. package/lib/components/firstsetting/firstsetting-content-button.js +0 -224
  933. package/lib/components/firstsetting/firstsetting-content-button.js.map +0 -1
  934. package/lib/components/firstsetting/firstsetting-toggle-button.js +0 -133
  935. package/lib/components/firstsetting/firstsetting-toggle-button.js.map +0 -1
  936. package/lib/components/firstsetting/firstsetting.js +0 -633
  937. package/lib/components/firstsetting/firstsetting.js.map +0 -1
  938. package/lib/components/footerbar/button/ControlButton.js +0 -79
  939. package/lib/components/footerbar/button/ControlButton.js.map +0 -1
  940. package/lib/components/footerbar/button/DirectionButton.js +0 -76
  941. package/lib/components/footerbar/button/DirectionButton.js.map +0 -1
  942. package/lib/components/footerbar/button/DirectionPanSpinButton.js +0 -57
  943. package/lib/components/footerbar/button/DirectionPanSpinButton.js.map +0 -1
  944. package/lib/components/footerbar/button/ToggleButton.js +0 -83
  945. package/lib/components/footerbar/button/ToggleButton.js.map +0 -1
  946. package/lib/components/footerbar/button/ToggleConvertButton.js +0 -80
  947. package/lib/components/footerbar/button/ToggleConvertButton.js.map +0 -1
  948. package/lib/components/footerbar/button/ToggleMeasureButton.js +0 -59
  949. package/lib/components/footerbar/button/ToggleMeasureButton.js.map +0 -1
  950. package/lib/components/footerbar/button/styles.js +0 -29
  951. package/lib/components/footerbar/button/styles.js.map +0 -1
  952. package/lib/components/footerbar/export.js +0 -16
  953. package/lib/components/footerbar/export.js.map +0 -1
  954. package/lib/components/footerbar/footer-content-button.js +0 -224
  955. package/lib/components/footerbar/footer-content-button.js.map +0 -1
  956. package/lib/components/footerbar/footer-toggle-button.js +0 -133
  957. package/lib/components/footerbar/footer-toggle-button.js.map +0 -1
  958. package/lib/components/footerbar/footerbar.js +0 -808
  959. package/lib/components/footerbar/footerbar.js.map +0 -1
  960. package/lib/components/footerbar/styles.js +0 -41
  961. package/lib/components/footerbar/styles.js.map +0 -1
  962. package/lib/components/header/button/MenuButton.js +0 -77
  963. package/lib/components/header/button/MenuButton.js.map +0 -1
  964. package/lib/components/header/button/SaveButton.js +0 -57
  965. package/lib/components/header/button/SaveButton.js.map +0 -1
  966. package/lib/components/header/button/styles.js +0 -68
  967. package/lib/components/header/button/styles.js.map +0 -1
  968. package/lib/components/header/export.js +0 -12
  969. package/lib/components/header/export.js.map +0 -1
  970. package/lib/components/header/header.js +0 -556
  971. package/lib/components/header/header.js.map +0 -1
  972. package/lib/components/header/styles.js +0 -47
  973. package/lib/components/header/styles.js.map +0 -1
  974. package/lib/components/login/Login.js +0 -94
  975. package/lib/components/login/Login.js.map +0 -1
  976. package/lib/components/login/LoginForm/index.js +0 -140
  977. package/lib/components/login/LoginForm/index.js.map +0 -1
  978. package/lib/components/login/Register.js +0 -104
  979. package/lib/components/login/Register.js.map +0 -1
  980. package/lib/components/login/RegisterForm/index.js +0 -237
  981. package/lib/components/login/RegisterForm/index.js.map +0 -1
  982. package/lib/components/login/jwtService.js +0 -239
  983. package/lib/components/login/jwtService.js.map +0 -1
  984. package/lib/components/molecules/slider/index.js +0 -22
  985. package/lib/components/molecules/slider/index.js.map +0 -1
  986. package/lib/components/molecules/slider/styles.js +0 -2
  987. package/lib/components/molecules/slider/styles.js.map +0 -1
  988. package/lib/components/myprojects/export.js +0 -12
  989. package/lib/components/myprojects/export.js.map +0 -1
  990. package/lib/components/myprojects/index.js +0 -453
  991. package/lib/components/myprojects/index.js.map +0 -1
  992. package/lib/components/myprojects/styles.js +0 -31
  993. package/lib/components/myprojects/styles.js.map +0 -1
  994. package/lib/components/sidebar/custom-accordion.js +0 -45
  995. package/lib/components/sidebar/custom-accordion.js.map +0 -1
  996. package/lib/components/sidebar/export.js +0 -50
  997. package/lib/components/sidebar/export.js.map +0 -1
  998. package/lib/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js +0 -74
  999. package/lib/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.js.map +0 -1
  1000. package/lib/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js +0 -124
  1001. package/lib/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.js.map +0 -1
  1002. package/lib/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js +0 -135
  1003. package/lib/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.js.map +0 -1
  1004. package/lib/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js +0 -260
  1005. package/lib/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.js.map +0 -1
  1006. package/lib/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js +0 -84
  1007. package/lib/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.js.map +0 -1
  1008. package/lib/components/sidebar/panel-element-editor/element-editor.js +0 -884
  1009. package/lib/components/sidebar/panel-element-editor/element-editor.js.map +0 -1
  1010. package/lib/components/sidebar/panel-element-editor/multi-elements-editor.js +0 -2
  1011. package/lib/components/sidebar/panel-element-editor/multi-elements-editor.js.map +0 -1
  1012. package/lib/components/sidebar/panel-element-editor/panel-element-editor.js +0 -56
  1013. package/lib/components/sidebar/panel-element-editor/panel-element-editor.js.map +0 -1
  1014. package/lib/components/sidebar/panel-element-editor/panel-multi-elements-editor.js +0 -125
  1015. package/lib/components/sidebar/panel-element-editor/panel-multi-elements-editor.js.map +0 -1
  1016. package/lib/components/sidebar/panel-group-editor.js +0 -218
  1017. package/lib/components/sidebar/panel-group-editor.js.map +0 -1
  1018. package/lib/components/sidebar/panel-groups.js +0 -274
  1019. package/lib/components/sidebar/panel-groups.js.map +0 -1
  1020. package/lib/components/sidebar/panel-guides.js +0 -192
  1021. package/lib/components/sidebar/panel-guides.js.map +0 -1
  1022. package/lib/components/sidebar/panel-layer-elements.js +0 -258
  1023. package/lib/components/sidebar/panel-layer-elements.js.map +0 -1
  1024. package/lib/components/sidebar/panel-layers.js +0 -347
  1025. package/lib/components/sidebar/panel-layers.js.map +0 -1
  1026. package/lib/components/sidebar/panel.js +0 -110
  1027. package/lib/components/sidebar/panel.js.map +0 -1
  1028. package/lib/components/sidebar/sidebar.js +0 -117
  1029. package/lib/components/sidebar/sidebar.js.map +0 -1
  1030. package/lib/components/sidebar/toolbar-panel.js +0 -171
  1031. package/lib/components/sidebar/toolbar-panel.js.map +0 -1
  1032. package/lib/components/sign/export.js +0 -18
  1033. package/lib/components/sign/export.js.map +0 -1
  1034. package/lib/components/sign/main/index.js +0 -567
  1035. package/lib/components/sign/main/index.js.map +0 -1
  1036. package/lib/components/sign/main/styles.js +0 -27
  1037. package/lib/components/sign/main/styles.js.map +0 -1
  1038. package/lib/components/style/button.js +0 -121
  1039. package/lib/components/style/button.js.map +0 -1
  1040. package/lib/components/style/cancel-button.js +0 -30
  1041. package/lib/components/style/cancel-button.js.map +0 -1
  1042. package/lib/components/style/content-container.js +0 -41
  1043. package/lib/components/style/content-container.js.map +0 -1
  1044. package/lib/components/style/content-title.js +0 -38
  1045. package/lib/components/style/content-title.js.map +0 -1
  1046. package/lib/components/style/delete-button.js +0 -35
  1047. package/lib/components/style/delete-button.js.map +0 -1
  1048. package/lib/components/style/export.js +0 -122
  1049. package/lib/components/style/export.js.map +0 -1
  1050. package/lib/components/style/form-block.js +0 -32
  1051. package/lib/components/style/form-block.js.map +0 -1
  1052. package/lib/components/style/form-color-input.js +0 -35
  1053. package/lib/components/style/form-color-input.js.map +0 -1
  1054. package/lib/components/style/form-label.js +0 -34
  1055. package/lib/components/style/form-label.js.map +0 -1
  1056. package/lib/components/style/form-number-input.js +0 -197
  1057. package/lib/components/style/form-number-input.js.map +0 -1
  1058. package/lib/components/style/form-number-input_2.js +0 -214
  1059. package/lib/components/style/form-number-input_2.js.map +0 -1
  1060. package/lib/components/style/form-select.js +0 -30
  1061. package/lib/components/style/form-select.js.map +0 -1
  1062. package/lib/components/style/form-slider.js +0 -53
  1063. package/lib/components/style/form-slider.js.map +0 -1
  1064. package/lib/components/style/form-submit-button.js +0 -36
  1065. package/lib/components/style/form-submit-button.js.map +0 -1
  1066. package/lib/components/style/form-text-input.js +0 -84
  1067. package/lib/components/style/form-text-input.js.map +0 -1
  1068. package/lib/components/toolbar/button/ControlButton.js +0 -76
  1069. package/lib/components/toolbar/button/ControlButton.js.map +0 -1
  1070. package/lib/components/toolbar/button/DirectionButton.js +0 -57
  1071. package/lib/components/toolbar/button/DirectionButton.js.map +0 -1
  1072. package/lib/components/toolbar/button/RightButton.js +0 -140
  1073. package/lib/components/toolbar/button/RightButton.js.map +0 -1
  1074. package/lib/components/toolbar/button/ToggleButton.js +0 -66
  1075. package/lib/components/toolbar/button/ToggleButton.js.map +0 -1
  1076. package/lib/components/toolbar/button/index.js +0 -94
  1077. package/lib/components/toolbar/button/index.js.map +0 -1
  1078. package/lib/components/toolbar/button/styles.js +0 -21
  1079. package/lib/components/toolbar/button/styles.js.map +0 -1
  1080. package/lib/components/toolbar/components/DoorStyleMenu.js +0 -112
  1081. package/lib/components/toolbar/components/DoorStyleMenu.js.map +0 -1
  1082. package/lib/components/toolbar/components/Pricing.js +0 -110
  1083. package/lib/components/toolbar/components/Pricing.js.map +0 -1
  1084. package/lib/components/toolbar/components/ReviewForQuote.js +0 -485
  1085. package/lib/components/toolbar/components/ReviewForQuote.js.map +0 -1
  1086. package/lib/components/toolbar/export.js +0 -50
  1087. package/lib/components/toolbar/export.js.map +0 -1
  1088. package/lib/components/toolbar/main/Alert.js +0 -132
  1089. package/lib/components/toolbar/main/Alert.js.map +0 -1
  1090. package/lib/components/toolbar/main/TakePictureModal.js +0 -109
  1091. package/lib/components/toolbar/main/TakePictureModal.js.map +0 -1
  1092. package/lib/components/toolbar/main/confirm-popup.js +0 -95
  1093. package/lib/components/toolbar/main/confirm-popup.js.map +0 -1
  1094. package/lib/components/toolbar/main/index.js +0 -4619
  1095. package/lib/components/toolbar/main/index.js.map +0 -1
  1096. package/lib/components/toolbar/main/myComponents.js +0 -125
  1097. package/lib/components/toolbar/main/myComponents.js.map +0 -1
  1098. package/lib/components/toolbar/main/styles.js +0 -73
  1099. package/lib/components/toolbar/main/styles.js.map +0 -1
  1100. package/lib/components/toolbar/plugin-item.js +0 -156
  1101. package/lib/components/toolbar/plugin-item.js.map +0 -1
  1102. package/lib/components/toolbar/popup/appliance/appliance-category/index.js +0 -86
  1103. package/lib/components/toolbar/popup/appliance/appliance-category/index.js.map +0 -1
  1104. package/lib/components/toolbar/popup/appliance/choose-appliance/index.js +0 -85
  1105. package/lib/components/toolbar/popup/appliance/choose-appliance/index.js.map +0 -1
  1106. package/lib/components/toolbar/popup/appliance/index.js +0 -89
  1107. package/lib/components/toolbar/popup/appliance/index.js.map +0 -1
  1108. package/lib/components/toolbar/popup/autosaveprompt/index.js +0 -99
  1109. package/lib/components/toolbar/popup/autosaveprompt/index.js.map +0 -1
  1110. package/lib/components/toolbar/popup/autosaveprompt/styles.js +0 -16
  1111. package/lib/components/toolbar/popup/autosaveprompt/styles.js.map +0 -1
  1112. package/lib/components/toolbar/popup/cabinet/cabinet-category/index.js +0 -86
  1113. package/lib/components/toolbar/popup/cabinet/cabinet-category/index.js.map +0 -1
  1114. package/lib/components/toolbar/popup/cabinet/choose-product/index.js +0 -107
  1115. package/lib/components/toolbar/popup/cabinet/choose-product/index.js.map +0 -1
  1116. package/lib/components/toolbar/popup/cabinet/index.js +0 -91
  1117. package/lib/components/toolbar/popup/cabinet/index.js.map +0 -1
  1118. package/lib/components/toolbar/popup/doorStyle/choose-style/index.js +0 -59
  1119. package/lib/components/toolbar/popup/doorStyle/choose-style/index.js.map +0 -1
  1120. package/lib/components/toolbar/popup/doorStyle/index.js +0 -68
  1121. package/lib/components/toolbar/popup/doorStyle/index.js.map +0 -1
  1122. package/lib/components/toolbar/popup/doorStyle/style-category/index.js +0 -152
  1123. package/lib/components/toolbar/popup/doorStyle/style-category/index.js.map +0 -1
  1124. package/lib/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -9
  1125. package/lib/components/toolbar/popup/downloadsummary/downloadSummaryContext.js.map +0 -1
  1126. package/lib/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js +0 -128
  1127. package/lib/components/toolbar/popup/downloadsummary/downloadSummaryTemp.js.map +0 -1
  1128. package/lib/components/toolbar/popup/downloadsummary/index.js +0 -572
  1129. package/lib/components/toolbar/popup/downloadsummary/index.js.map +0 -1
  1130. package/lib/components/toolbar/popup/downloadsummary/show2D/show2DView.js +0 -60
  1131. package/lib/components/toolbar/popup/downloadsummary/show2D/show2DView.js.map +0 -1
  1132. package/lib/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js +0 -200
  1133. package/lib/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.js.map +0 -1
  1134. package/lib/components/toolbar/popup/downloadsummary/show3D/show3DView.js +0 -254
  1135. package/lib/components/toolbar/popup/downloadsummary/show3D/show3DView.js.map +0 -1
  1136. package/lib/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js +0 -1762
  1137. package/lib/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.js.map +0 -1
  1138. package/lib/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -96
  1139. package/lib/components/toolbar/popup/downloadsummary/showCabinetInfo.js.map +0 -1
  1140. package/lib/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js +0 -125
  1141. package/lib/components/toolbar/popup/downloadsummary/showElevation/showElevationView.js.map +0 -1
  1142. package/lib/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js +0 -1713
  1143. package/lib/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.js.map +0 -1
  1144. package/lib/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js +0 -184
  1145. package/lib/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.js.map +0 -1
  1146. package/lib/components/toolbar/popup/downloadsummary/showWarranty.js +0 -115
  1147. package/lib/components/toolbar/popup/downloadsummary/showWarranty.js.map +0 -1
  1148. package/lib/components/toolbar/popup/downloadsummary/styles.js +0 -47
  1149. package/lib/components/toolbar/popup/downloadsummary/styles.js.map +0 -1
  1150. package/lib/components/toolbar/popup/finishingtouch/category/index.js +0 -44
  1151. package/lib/components/toolbar/popup/finishingtouch/category/index.js.map +0 -1
  1152. package/lib/components/toolbar/popup/finishingtouch/index.js +0 -54
  1153. package/lib/components/toolbar/popup/finishingtouch/index.js.map +0 -1
  1154. package/lib/components/toolbar/popup/finishingtouch/material-edit.js +0 -163
  1155. package/lib/components/toolbar/popup/finishingtouch/material-edit.js.map +0 -1
  1156. package/lib/components/toolbar/popup/finishingtouch/product/index.js +0 -65
  1157. package/lib/components/toolbar/popup/finishingtouch/product/index.js.map +0 -1
  1158. package/lib/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js +0 -124
  1159. package/lib/components/toolbar/popup/floorplan/choose-floor/confirm-popup.js.map +0 -1
  1160. package/lib/components/toolbar/popup/floorplan/choose-floor/index.js +0 -255
  1161. package/lib/components/toolbar/popup/floorplan/choose-floor/index.js.map +0 -1
  1162. package/lib/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -20
  1163. package/lib/components/toolbar/popup/floorplan/choose-floor/styles.js.map +0 -1
  1164. package/lib/components/toolbar/popup/floorplan/floor-category/index.js +0 -99
  1165. package/lib/components/toolbar/popup/floorplan/floor-category/index.js.map +0 -1
  1166. package/lib/components/toolbar/popup/floorplan/index.js +0 -56
  1167. package/lib/components/toolbar/popup/floorplan/index.js.map +0 -1
  1168. package/lib/components/toolbar/popup/index.js +0 -195
  1169. package/lib/components/toolbar/popup/index.js.map +0 -1
  1170. package/lib/components/toolbar/popup/newproject/index.js +0 -75
  1171. package/lib/components/toolbar/popup/newproject/index.js.map +0 -1
  1172. package/lib/components/toolbar/popup/newproject/styles.js +0 -16
  1173. package/lib/components/toolbar/popup/newproject/styles.js.map +0 -1
  1174. package/lib/components/toolbar/popup/product/appliance.js +0 -73
  1175. package/lib/components/toolbar/popup/product/appliance.js.map +0 -1
  1176. package/lib/components/toolbar/popup/product/cabinetproduct.js +0 -33
  1177. package/lib/components/toolbar/popup/product/cabinetproduct.js.map +0 -1
  1178. package/lib/components/toolbar/popup/product/doorstyle.js +0 -59
  1179. package/lib/components/toolbar/popup/product/doorstyle.js.map +0 -1
  1180. package/lib/components/toolbar/popup/product/doorstyleproduct.js +0 -59
  1181. package/lib/components/toolbar/popup/product/doorstyleproduct.js.map +0 -1
  1182. package/lib/components/toolbar/popup/product/floor.js +0 -59
  1183. package/lib/components/toolbar/popup/product/floor.js.map +0 -1
  1184. package/lib/components/toolbar/popup/product/floorproduct.js +0 -68
  1185. package/lib/components/toolbar/popup/product/floorproduct.js.map +0 -1
  1186. package/lib/components/toolbar/popup/product/index.js +0 -59
  1187. package/lib/components/toolbar/popup/product/index.js.map +0 -1
  1188. package/lib/components/toolbar/popup/product/primary.js +0 -71
  1189. package/lib/components/toolbar/popup/product/primary.js.map +0 -1
  1190. package/lib/components/toolbar/popup/product/productline.js +0 -128
  1191. package/lib/components/toolbar/popup/product/productline.js.map +0 -1
  1192. package/lib/components/toolbar/popup/product/reviewItem.js +0 -346
  1193. package/lib/components/toolbar/popup/product/reviewItem.js.map +0 -1
  1194. package/lib/components/toolbar/popup/product/reviewMolding.js +0 -291
  1195. package/lib/components/toolbar/popup/product/reviewMolding.js.map +0 -1
  1196. package/lib/components/toolbar/popup/product/styles.js +0 -79
  1197. package/lib/components/toolbar/popup/product/styles.js.map +0 -1
  1198. package/lib/components/toolbar/popup/savedesign/FullPictureForm.js +0 -169
  1199. package/lib/components/toolbar/popup/savedesign/FullPictureForm.js.map +0 -1
  1200. package/lib/components/toolbar/popup/savedesign/index.js +0 -516
  1201. package/lib/components/toolbar/popup/savedesign/index.js.map +0 -1
  1202. package/lib/components/toolbar/popup/savedesign/styles.js +0 -26
  1203. package/lib/components/toolbar/popup/savedesign/styles.js.map +0 -1
  1204. package/lib/components/toolbar/popup/setDoorStyleOption/index.js +0 -64
  1205. package/lib/components/toolbar/popup/setDoorStyleOption/index.js.map +0 -1
  1206. package/lib/components/toolbar/popup/styles.js +0 -104
  1207. package/lib/components/toolbar/popup/styles.js.map +0 -1
  1208. package/lib/components/toolbar/popup/submitforquote/AddToCartOptions.js +0 -166
  1209. package/lib/components/toolbar/popup/submitforquote/AddToCartOptions.js.map +0 -1
  1210. package/lib/components/toolbar/popup/submitforquote/CustomerRequestsForm.js +0 -93
  1211. package/lib/components/toolbar/popup/submitforquote/CustomerRequestsForm.js.map +0 -1
  1212. package/lib/components/toolbar/popup/submitforquote/SkipDesignerReview.js +0 -45
  1213. package/lib/components/toolbar/popup/submitforquote/SkipDesignerReview.js.map +0 -1
  1214. package/lib/components/toolbar/popup/submitforquote/StepDots.js +0 -40
  1215. package/lib/components/toolbar/popup/submitforquote/StepDots.js.map +0 -1
  1216. package/lib/components/toolbar/popup/submitforquote/cart-choice.js +0 -141
  1217. package/lib/components/toolbar/popup/submitforquote/cart-choice.js.map +0 -1
  1218. package/lib/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -50
  1219. package/lib/components/toolbar/popup/submitforquote/doorstyle-menus.js.map +0 -1
  1220. package/lib/components/toolbar/popup/submitforquote/index.js +0 -698
  1221. package/lib/components/toolbar/popup/submitforquote/index.js.map +0 -1
  1222. package/lib/components/toolbar/popup/submitforquote/styles.js +0 -38
  1223. package/lib/components/toolbar/popup/submitforquote/styles.js.map +0 -1
  1224. package/lib/components/toolbar/popup/submitprompt/index.js +0 -79
  1225. package/lib/components/toolbar/popup/submitprompt/index.js.map +0 -1
  1226. package/lib/components/toolbar/popup/submitprompt/styles.js +0 -16
  1227. package/lib/components/toolbar/popup/submitprompt/styles.js.map +0 -1
  1228. package/lib/components/toolbar/toolbar-button.js +0 -111
  1229. package/lib/components/toolbar/toolbar-button.js.map +0 -1
  1230. package/lib/components/toolbar/toolbar-load-button.js +0 -36
  1231. package/lib/components/toolbar/toolbar-load-button.js.map +0 -1
  1232. package/lib/components/toolbar/toolbar-save-button.js +0 -34
  1233. package/lib/components/toolbar/toolbar-save-button.js.map +0 -1
  1234. package/lib/components/tutorial-view/Modal.js +0 -503
  1235. package/lib/components/tutorial-view/Modal.js.map +0 -1
  1236. package/lib/components/tutorial-view/styles.js +0 -13
  1237. package/lib/components/tutorial-view/styles.js.map +0 -1
  1238. package/lib/components/viewer2d/area.js +0 -90
  1239. package/lib/components/viewer2d/area.js.map +0 -1
  1240. package/lib/components/viewer2d/export.js +0 -122
  1241. package/lib/components/viewer2d/export.js.map +0 -1
  1242. package/lib/components/viewer2d/grids/grid-horizontal-streak.js +0 -45
  1243. package/lib/components/viewer2d/grids/grid-horizontal-streak.js.map +0 -1
  1244. package/lib/components/viewer2d/grids/grid-streak.js +0 -45
  1245. package/lib/components/viewer2d/grids/grid-streak.js.map +0 -1
  1246. package/lib/components/viewer2d/grids/grid-vertical-streak.js +0 -45
  1247. package/lib/components/viewer2d/grids/grid-vertical-streak.js.map +0 -1
  1248. package/lib/components/viewer2d/grids/grids.js +0 -45
  1249. package/lib/components/viewer2d/grids/grids.js.map +0 -1
  1250. package/lib/components/viewer2d/group.js +0 -63
  1251. package/lib/components/viewer2d/group.js.map +0 -1
  1252. package/lib/components/viewer2d/item.js +0 -522
  1253. package/lib/components/viewer2d/item.js.map +0 -1
  1254. package/lib/components/viewer2d/layer.js +0 -172
  1255. package/lib/components/viewer2d/layer.js.map +0 -1
  1256. package/lib/components/viewer2d/line.js +0 -899
  1257. package/lib/components/viewer2d/line.js.map +0 -1
  1258. package/lib/components/viewer2d/ruler.js +0 -108
  1259. package/lib/components/viewer2d/ruler.js.map +0 -1
  1260. package/lib/components/viewer2d/rulerDist.js +0 -154
  1261. package/lib/components/viewer2d/rulerDist.js.map +0 -1
  1262. package/lib/components/viewer2d/rulerX.js +0 -159
  1263. package/lib/components/viewer2d/rulerX.js.map +0 -1
  1264. package/lib/components/viewer2d/rulerY.js +0 -161
  1265. package/lib/components/viewer2d/rulerY.js.map +0 -1
  1266. package/lib/components/viewer2d/scene.js +0 -148
  1267. package/lib/components/viewer2d/scene.js.map +0 -1
  1268. package/lib/components/viewer2d/snap.js +0 -84
  1269. package/lib/components/viewer2d/snap.js.map +0 -1
  1270. package/lib/components/viewer2d/state.js +0 -88
  1271. package/lib/components/viewer2d/state.js.map +0 -1
  1272. package/lib/components/viewer2d/utils.js +0 -174
  1273. package/lib/components/viewer2d/utils.js.map +0 -1
  1274. package/lib/components/viewer2d/vertex.js +0 -76
  1275. package/lib/components/viewer2d/vertex.js.map +0 -1
  1276. package/lib/components/viewer2d/viewer2d.js +0 -1409
  1277. package/lib/components/viewer2d/viewer2d.js.map +0 -1
  1278. package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js +0 -2598
  1279. package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js.map +0 -1
  1280. package/lib/components/viewer3d/dcm.js +0 -408
  1281. package/lib/components/viewer3d/dcm.js.map +0 -1
  1282. package/lib/components/viewer3d/fbm.js +0 -421
  1283. package/lib/components/viewer3d/fbm.js.map +0 -1
  1284. package/lib/components/viewer3d/front3D.js +0 -76
  1285. package/lib/components/viewer3d/front3D.js.map +0 -1
  1286. package/lib/components/viewer3d/grid-creator.js +0 -35
  1287. package/lib/components/viewer3d/grid-creator.js.map +0 -1
  1288. package/lib/components/viewer3d/grids/grid-horizontal-streak.js +0 -45
  1289. package/lib/components/viewer3d/grids/grid-horizontal-streak.js.map +0 -1
  1290. package/lib/components/viewer3d/grids/grid-streak.js +0 -36
  1291. package/lib/components/viewer3d/grids/grid-streak.js.map +0 -1
  1292. package/lib/components/viewer3d/grids/grid-vertical-streak.js +0 -45
  1293. package/lib/components/viewer3d/grids/grid-vertical-streak.js.map +0 -1
  1294. package/lib/components/viewer3d/libs/first-person-controls.js +0 -75
  1295. package/lib/components/viewer3d/libs/first-person-controls.js.map +0 -1
  1296. package/lib/components/viewer3d/libs/helvetiker_regular.typeface.js +0 -1288
  1297. package/lib/components/viewer3d/libs/helvetiker_regular.typeface.js.map +0 -1
  1298. package/lib/components/viewer3d/libs/mtl-loader.js +0 -360
  1299. package/lib/components/viewer3d/libs/mtl-loader.js.map +0 -1
  1300. package/lib/components/viewer3d/libs/obj-loader.js +0 -465
  1301. package/lib/components/viewer3d/libs/obj-loader.js.map +0 -1
  1302. package/lib/components/viewer3d/libs/orbit-controls.js +0 -701
  1303. package/lib/components/viewer3d/libs/orbit-controls.js.map +0 -1
  1304. package/lib/components/viewer3d/libs/pointer-lock-controls.js +0 -48
  1305. package/lib/components/viewer3d/libs/pointer-lock-controls.js.map +0 -1
  1306. package/lib/components/viewer3d/lrm.js +0 -312
  1307. package/lib/components/viewer3d/lrm.js.map +0 -1
  1308. package/lib/components/viewer3d/model.js +0 -715
  1309. package/lib/components/viewer3d/model.js.map +0 -1
  1310. package/lib/components/viewer3d/pointer-lock-navigation.js +0 -123
  1311. package/lib/components/viewer3d/pointer-lock-navigation.js.map +0 -1
  1312. package/lib/components/viewer3d/ruler-utils/itemRect.js +0 -69
  1313. package/lib/components/viewer3d/ruler-utils/itemRect.js.map +0 -1
  1314. package/lib/components/viewer3d/ruler-utils/layer3D.js +0 -503
  1315. package/lib/components/viewer3d/ruler-utils/layer3D.js.map +0 -1
  1316. package/lib/components/viewer3d/ruler-utils/ruler3D.js +0 -235
  1317. package/lib/components/viewer3d/ruler-utils/ruler3D.js.map +0 -1
  1318. package/lib/components/viewer3d/ruler-utils/scene3D.js +0 -70
  1319. package/lib/components/viewer3d/ruler-utils/scene3D.js.map +0 -1
  1320. package/lib/components/viewer3d/ruler-utils/state3D.js +0 -26
  1321. package/lib/components/viewer3d/ruler-utils/state3D.js.map +0 -1
  1322. package/lib/components/viewer3d/scene-creator.js +0 -3641
  1323. package/lib/components/viewer3d/scene-creator.js.map +0 -1
  1324. package/lib/components/viewer3d/three-memory-cleaner.js +0 -61
  1325. package/lib/components/viewer3d/three-memory-cleaner.js.map +0 -1
  1326. package/lib/components/viewer3d/viewer3d-first-person.js +0 -321
  1327. package/lib/components/viewer3d/viewer3d-first-person.js.map +0 -1
  1328. package/lib/components/viewer3d/viewer3d.js +0 -2508
  1329. package/lib/components/viewer3d/viewer3d.js.map +0 -1
  1330. package/lib/components/wizardstep/button/styles.js +0 -67
  1331. package/lib/components/wizardstep/button/styles.js.map +0 -1
  1332. package/lib/components/wizardstep/export.js +0 -12
  1333. package/lib/components/wizardstep/export.js.map +0 -1
  1334. package/lib/components/wizardstep/index.js +0 -978
  1335. package/lib/components/wizardstep/index.js.map +0 -1
  1336. package/lib/components/wizardstep/styles.js +0 -68
  1337. package/lib/components/wizardstep/styles.js.map +0 -1
  1338. package/lib/components/wizardstep/wizardstep-content-button.js +0 -224
  1339. package/lib/components/wizardstep/wizardstep-content-button.js.map +0 -1
  1340. package/lib/components/wizardstep/wizardstep-toggle-button.js +0 -133
  1341. package/lib/components/wizardstep/wizardstep-toggle-button.js.map +0 -1
  1342. package/lib/constants.js +0 -646
  1343. package/lib/constants.js.map +0 -1
  1344. package/lib/hooks/useCheckCart.js +0 -60
  1345. package/lib/hooks/useCheckCart.js.map +0 -1
  1346. package/lib/hooks/useGetPricesBySku.js +0 -81
  1347. package/lib/hooks/useGetPricesBySku.js.map +0 -1
  1348. package/lib/hooks/useValidateToken.js +0 -207
  1349. package/lib/hooks/useValidateToken.js.map +0 -1
  1350. package/lib/index.js +0 -108
  1351. package/lib/index.js.map +0 -1
  1352. package/lib/models.js +0 -518
  1353. package/lib/models.js.map +0 -1
  1354. package/lib/plugins/SVGLoader.js +0 -1418
  1355. package/lib/plugins/SVGLoader.js.map +0 -1
  1356. package/lib/plugins/autosave.js +0 -40
  1357. package/lib/plugins/autosave.js.map +0 -1
  1358. package/lib/plugins/console-debugger.js +0 -45
  1359. package/lib/plugins/console-debugger.js.map +0 -1
  1360. package/lib/plugins/export.js +0 -34
  1361. package/lib/plugins/export.js.map +0 -1
  1362. package/lib/plugins/keyboard.js +0 -108
  1363. package/lib/plugins/keyboard.js.map +0 -1
  1364. package/lib/reducers/areas-reducer.js +0 -19
  1365. package/lib/reducers/areas-reducer.js.map +0 -1
  1366. package/lib/reducers/export.js +0 -98
  1367. package/lib/reducers/export.js.map +0 -1
  1368. package/lib/reducers/groups-reducer.js +0 -45
  1369. package/lib/reducers/groups-reducer.js.map +0 -1
  1370. package/lib/reducers/holes-reducer.js +0 -69
  1371. package/lib/reducers/holes-reducer.js.map +0 -1
  1372. package/lib/reducers/items-reducer.js +0 -147
  1373. package/lib/reducers/items-reducer.js.map +0 -1
  1374. package/lib/reducers/lines-reducer.js +0 -52
  1375. package/lib/reducers/lines-reducer.js.map +0 -1
  1376. package/lib/reducers/project-reducer.js +0 -136
  1377. package/lib/reducers/project-reducer.js.map +0 -1
  1378. package/lib/reducers/reducer.js +0 -27
  1379. package/lib/reducers/reducer.js.map +0 -1
  1380. package/lib/reducers/scene-reducer.js +0 -35
  1381. package/lib/reducers/scene-reducer.js.map +0 -1
  1382. package/lib/reducers/user-reducer.js +0 -48
  1383. package/lib/reducers/user-reducer.js.map +0 -1
  1384. package/lib/reducers/vertices-reducer.js +0 -26
  1385. package/lib/reducers/vertices-reducer.js.map +0 -1
  1386. package/lib/reducers/viewer2d-reducer.js +0 -83
  1387. package/lib/reducers/viewer2d-reducer.js.map +0 -1
  1388. package/lib/reducers/viewer3d-reducer.js +0 -64
  1389. package/lib/reducers/viewer3d-reducer.js.map +0 -1
  1390. package/lib/shared-style.js +0 -73
  1391. package/lib/shared-style.js.map +0 -1
  1392. package/lib/styles/export.js +0 -14
  1393. package/lib/styles/export.js.map +0 -1
  1394. package/lib/translator/en.js +0 -111
  1395. package/lib/translator/en.js.map +0 -1
  1396. package/lib/translator/it.js +0 -86
  1397. package/lib/translator/it.js.map +0 -1
  1398. package/lib/translator/ru.js +0 -86
  1399. package/lib/translator/ru.js.map +0 -1
  1400. package/lib/translator/translator.js +0 -91
  1401. package/lib/translator/translator.js.map +0 -1
  1402. package/lib/utils/browser.js +0 -41
  1403. package/lib/utils/browser.js.map +0 -1
  1404. package/lib/utils/email-validator.js +0 -11
  1405. package/lib/utils/email-validator.js.map +0 -1
  1406. package/lib/utils/export.js +0 -57
  1407. package/lib/utils/export.js.map +0 -1
  1408. package/lib/utils/geometry.js +0 -2329
  1409. package/lib/utils/geometry.js.map +0 -1
  1410. package/lib/utils/get-edges-of-subgraphs.js +0 -29
  1411. package/lib/utils/get-edges-of-subgraphs.js.map +0 -1
  1412. package/lib/utils/graph-cycles.js +0 -241
  1413. package/lib/utils/graph-cycles.js.map +0 -1
  1414. package/lib/utils/graph-inner-cycles.js +0 -55
  1415. package/lib/utils/graph-inner-cycles.js.map +0 -1
  1416. package/lib/utils/graph.js +0 -152
  1417. package/lib/utils/graph.js.map +0 -1
  1418. package/lib/utils/helper.js +0 -360
  1419. package/lib/utils/helper.js.map +0 -1
  1420. package/lib/utils/history.js +0 -37
  1421. package/lib/utils/history.js.map +0 -1
  1422. package/lib/utils/id-broker.js +0 -26
  1423. package/lib/utils/id-broker.js.map +0 -1
  1424. package/lib/utils/logger.js +0 -15
  1425. package/lib/utils/logger.js.map +0 -1
  1426. package/lib/utils/math.js +0 -58
  1427. package/lib/utils/math.js.map +0 -1
  1428. package/lib/utils/molding.js +0 -864
  1429. package/lib/utils/molding.js.map +0 -1
  1430. package/lib/utils/name-generator.js +0 -24
  1431. package/lib/utils/name-generator.js.map +0 -1
  1432. package/lib/utils/objects-utils.js +0 -61
  1433. package/lib/utils/objects-utils.js.map +0 -1
  1434. package/lib/utils/phone-validator.js +0 -11
  1435. package/lib/utils/phone-validator.js.map +0 -1
  1436. package/lib/utils/process-black-list.js +0 -25
  1437. package/lib/utils/process-black-list.js.map +0 -1
  1438. package/lib/utils/react-if.js +0 -25
  1439. package/lib/utils/react-if.js.map +0 -1
  1440. package/lib/utils/snap-scene.js +0 -106
  1441. package/lib/utils/snap-scene.js.map +0 -1
  1442. package/lib/utils/snap.js +0 -250
  1443. package/lib/utils/snap.js.map +0 -1
  1444. package/lib/utils/threeCSG.es6.js +0 -504
  1445. package/lib/utils/threeCSG.es6.js.map +0 -1
  1446. package/lib/version.js +0 -8
  1447. package/lib/version.js.map +0 -1
  1448. package/src/components/catalog-view/catalog-breadcrumb.jsx +0 -53
  1449. package/src/components/catalog-view/catalog-item.jsx +0 -229
  1450. package/src/components/catalog-view/catalog-list.jsx +0 -173
  1451. package/src/components/catalog-view/catalog-page-item.jsx +0 -110
  1452. package/src/components/catalog-view/catalog-turn-back-page-item.jsx +0 -80
  1453. package/src/components/configurator/custom-configurator.jsx +0 -77
  1454. package/src/components/configurator/project-configurator.jsx +0 -120
  1455. package/src/components/firstsetting/button/styles.js +0 -223
  1456. package/src/components/firstsetting/export.js +0 -9
  1457. package/src/components/firstsetting/firstsetting-content-button.jsx +0 -198
  1458. package/src/components/firstsetting/firstsetting-toggle-button.jsx +0 -101
  1459. package/src/components/firstsetting/firstsetting.jsx +0 -814
  1460. package/src/components/footerbar/button/ControlButton.jsx +0 -43
  1461. package/src/components/footerbar/button/DirectionButton.jsx +0 -54
  1462. package/src/components/footerbar/button/DirectionPanSpinButton.jsx +0 -36
  1463. package/src/components/footerbar/button/ToggleButton.jsx +0 -58
  1464. package/src/components/footerbar/button/ToggleConvertButton.jsx +0 -48
  1465. package/src/components/footerbar/button/ToggleMeasureButton.jsx +0 -33
  1466. package/src/components/footerbar/button/styles.js +0 -217
  1467. package/src/components/footerbar/export.js +0 -9
  1468. package/src/components/footerbar/footer-content-button.jsx +0 -198
  1469. package/src/components/footerbar/footer-toggle-button.jsx +0 -101
  1470. package/src/components/footerbar/footerbar.jsx +0 -1103
  1471. package/src/components/footerbar/styles.js +0 -263
  1472. package/src/components/header/button/MenuButton.jsx +0 -46
  1473. package/src/components/header/button/SaveButton.jsx +0 -54
  1474. package/src/components/header/button/styles.js +0 -181
  1475. package/src/components/header/export.js +0 -5
  1476. package/src/components/header/header.jsx +0 -631
  1477. package/src/components/header/header.style.css +0 -47
  1478. package/src/components/header/styles.js +0 -320
  1479. package/src/components/login/Login.js +0 -77
  1480. package/src/components/login/LoginForm/index.js +0 -108
  1481. package/src/components/login/Register.js +0 -83
  1482. package/src/components/login/RegisterForm/index.js +0 -171
  1483. package/src/components/login/jwtService.js +0 -201
  1484. package/src/components/login/style.css +0 -158
  1485. package/src/components/login/style.scss +0 -260
  1486. package/src/components/myprojects/export.js +0 -5
  1487. package/src/components/myprojects/index.jsx +0 -445
  1488. package/src/components/myprojects/styles.js +0 -241
  1489. package/src/components/sidebar/custom-accordion.jsx +0 -48
  1490. package/src/components/sidebar/export.js +0 -15
  1491. package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +0 -73
  1492. package/src/components/sidebar/panel-element-editor/attributes-editor/confirm-popup.jsx +0 -101
  1493. package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +0 -149
  1494. package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +0 -316
  1495. package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +0 -108
  1496. package/src/components/sidebar/panel-element-editor/element-editor.jsx +0 -1070
  1497. package/src/components/sidebar/panel-element-editor/multi-elements-editor.jsx +0 -0
  1498. package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +0 -104
  1499. package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +0 -155
  1500. package/src/components/sidebar/panel-group-editor.jsx +0 -272
  1501. package/src/components/sidebar/panel-groups.jsx +0 -310
  1502. package/src/components/sidebar/panel-guides.jsx +0 -192
  1503. package/src/components/sidebar/panel-layer-elements.jsx +0 -298
  1504. package/src/components/sidebar/panel-layers.jsx +0 -381
  1505. package/src/components/sidebar/panel.jsx +0 -71
  1506. package/src/components/sidebar/sidebar.jsx +0 -106
  1507. package/src/components/sidebar/toolbar-panel.jsx +0 -139
  1508. package/src/components/sign/export.js +0 -7
  1509. package/src/components/sign/main/index.jsx +0 -523
  1510. package/src/components/sign/main/styles.js +0 -163
  1511. package/src/components/toolbar/button/ControlButton.jsx +0 -41
  1512. package/src/components/toolbar/button/DirectionButton.jsx +0 -34
  1513. package/src/components/toolbar/button/RightButton.jsx +0 -103
  1514. package/src/components/toolbar/button/ToggleButton.jsx +0 -41
  1515. package/src/components/toolbar/button/index.jsx +0 -55
  1516. package/src/components/toolbar/button/styles.js +0 -127
  1517. package/src/components/toolbar/components/DoorStyleMenu.jsx +0 -103
  1518. package/src/components/toolbar/components/Pricing.jsx +0 -126
  1519. package/src/components/toolbar/components/ReviewForQuote.jsx +0 -635
  1520. package/src/components/toolbar/export.js +0 -21
  1521. package/src/components/toolbar/main/Alert.js +0 -122
  1522. package/src/components/toolbar/main/TakePictureModal.jsx +0 -104
  1523. package/src/components/toolbar/main/confirm-popup.jsx +0 -99
  1524. package/src/components/toolbar/main/index.jsx +0 -5687
  1525. package/src/components/toolbar/main/lShaped.json +0 -311
  1526. package/src/components/toolbar/main/longNarrow.json +0 -238
  1527. package/src/components/toolbar/main/myComponents.js +0 -123
  1528. package/src/components/toolbar/main/oRectangle.json +0 -220
  1529. package/src/components/toolbar/main/rectangle.json +0 -238
  1530. package/src/components/toolbar/main/style.css +0 -107
  1531. package/src/components/toolbar/main/styles.js +0 -696
  1532. package/src/components/toolbar/plugin-item.jsx +0 -123
  1533. package/src/components/toolbar/popup/appliance/appliance-category/index.jsx +0 -73
  1534. package/src/components/toolbar/popup/appliance/choose-appliance/index.jsx +0 -102
  1535. package/src/components/toolbar/popup/appliance/index.jsx +0 -83
  1536. package/src/components/toolbar/popup/autosaveprompt/index.jsx +0 -150
  1537. package/src/components/toolbar/popup/autosaveprompt/styles.css +0 -64
  1538. package/src/components/toolbar/popup/autosaveprompt/styles.js +0 -40
  1539. package/src/components/toolbar/popup/cabinet/cabinet-category/index.jsx +0 -73
  1540. package/src/components/toolbar/popup/cabinet/choose-product/index.jsx +0 -119
  1541. package/src/components/toolbar/popup/cabinet/index.jsx +0 -85
  1542. package/src/components/toolbar/popup/doorStyle/choose-style/index.jsx +0 -63
  1543. package/src/components/toolbar/popup/doorStyle/index.jsx +0 -71
  1544. package/src/components/toolbar/popup/doorStyle/style-category/index.jsx +0 -139
  1545. package/src/components/toolbar/popup/downloadsummary/downloadSummaryContext.js +0 -2
  1546. package/src/components/toolbar/popup/downloadsummary/downloadSummaryTemp.jsx +0 -157
  1547. package/src/components/toolbar/popup/downloadsummary/index.jsx +0 -643
  1548. package/src/components/toolbar/popup/downloadsummary/show2D/show2DView.jsx +0 -51
  1549. package/src/components/toolbar/popup/downloadsummary/show2D/viewer2DDownLoad.jsx +0 -175
  1550. package/src/components/toolbar/popup/downloadsummary/show3D/show3DView.jsx +0 -283
  1551. package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +0 -2257
  1552. package/src/components/toolbar/popup/downloadsummary/showCabinetInfo.js +0 -93
  1553. package/src/components/toolbar/popup/downloadsummary/showElevation/showElevationView.jsx +0 -132
  1554. package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +0 -2198
  1555. package/src/components/toolbar/popup/downloadsummary/showElevation/viewerElevationDownload.jsx +0 -152
  1556. package/src/components/toolbar/popup/downloadsummary/showWarranty.jsx +0 -149
  1557. package/src/components/toolbar/popup/downloadsummary/styles.css +0 -177
  1558. package/src/components/toolbar/popup/downloadsummary/styles.js +0 -453
  1559. package/src/components/toolbar/popup/finishingtouch/category/index.jsx +0 -34
  1560. package/src/components/toolbar/popup/finishingtouch/index.jsx +0 -58
  1561. package/src/components/toolbar/popup/finishingtouch/material-edit.jsx +0 -112
  1562. package/src/components/toolbar/popup/finishingtouch/product/index.jsx +0 -116
  1563. package/src/components/toolbar/popup/floorplan/choose-floor/confirm-popup.jsx +0 -101
  1564. package/src/components/toolbar/popup/floorplan/choose-floor/index.jsx +0 -254
  1565. package/src/components/toolbar/popup/floorplan/choose-floor/lShaped.json +0 -311
  1566. package/src/components/toolbar/popup/floorplan/choose-floor/longNarrow.json +0 -238
  1567. package/src/components/toolbar/popup/floorplan/choose-floor/oRectangle.json +0 -220
  1568. package/src/components/toolbar/popup/floorplan/choose-floor/rectangle.json +0 -238
  1569. package/src/components/toolbar/popup/floorplan/choose-floor/styles.js +0 -86
  1570. package/src/components/toolbar/popup/floorplan/floor-category/index.jsx +0 -109
  1571. package/src/components/toolbar/popup/floorplan/index.jsx +0 -60
  1572. package/src/components/toolbar/popup/index.jsx +0 -241
  1573. package/src/components/toolbar/popup/newproject/index.jsx +0 -59
  1574. package/src/components/toolbar/popup/newproject/styles.css +0 -64
  1575. package/src/components/toolbar/popup/newproject/styles.js +0 -41
  1576. package/src/components/toolbar/popup/product/appliance.jsx +0 -54
  1577. package/src/components/toolbar/popup/product/cabinetproduct.jsx +0 -15
  1578. package/src/components/toolbar/popup/product/doorstyle.jsx +0 -58
  1579. package/src/components/toolbar/popup/product/doorstyleproduct.jsx +0 -47
  1580. package/src/components/toolbar/popup/product/floor.jsx +0 -36
  1581. package/src/components/toolbar/popup/product/floorproduct.jsx +0 -42
  1582. package/src/components/toolbar/popup/product/index.jsx +0 -36
  1583. package/src/components/toolbar/popup/product/primary.jsx +0 -77
  1584. package/src/components/toolbar/popup/product/productline.jsx +0 -93
  1585. package/src/components/toolbar/popup/product/reviewItem.jsx +0 -427
  1586. package/src/components/toolbar/popup/product/reviewMolding.jsx +0 -310
  1587. package/src/components/toolbar/popup/product/style.css +0 -54
  1588. package/src/components/toolbar/popup/product/styles.js +0 -260
  1589. package/src/components/toolbar/popup/savedesign/FullPictureForm.jsx +0 -146
  1590. package/src/components/toolbar/popup/savedesign/index.jsx +0 -495
  1591. package/src/components/toolbar/popup/savedesign/savedesign.style.css +0 -16
  1592. package/src/components/toolbar/popup/savedesign/styles.js +0 -151
  1593. package/src/components/toolbar/popup/setDoorStyleOption/index.jsx +0 -87
  1594. package/src/components/toolbar/popup/styles.js +0 -909
  1595. package/src/components/toolbar/popup/submitforquote/AddToCartOptions.jsx +0 -192
  1596. package/src/components/toolbar/popup/submitforquote/CustomerRequestsForm.jsx +0 -96
  1597. package/src/components/toolbar/popup/submitforquote/SkipDesignerReview.jsx +0 -54
  1598. package/src/components/toolbar/popup/submitforquote/StepDots.jsx +0 -25
  1599. package/src/components/toolbar/popup/submitforquote/cart-choice.jsx +0 -116
  1600. package/src/components/toolbar/popup/submitforquote/doorstyle-menus.js +0 -38
  1601. package/src/components/toolbar/popup/submitforquote/index.jsx +0 -698
  1602. package/src/components/toolbar/popup/submitforquote/styles.css +0 -105
  1603. package/src/components/toolbar/popup/submitforquote/styles.js +0 -294
  1604. package/src/components/toolbar/popup/submitprompt/index.jsx +0 -89
  1605. package/src/components/toolbar/popup/submitprompt/styles.css +0 -64
  1606. package/src/components/toolbar/popup/submitprompt/styles.js +0 -42
  1607. package/src/components/toolbar/toolbar-button.jsx +0 -90
  1608. package/src/components/toolbar/toolbar-load-button.jsx +0 -36
  1609. package/src/components/toolbar/toolbar-save-button.jsx +0 -32
  1610. package/src/components/wizardstep/button/styles.js +0 -677
  1611. package/src/components/wizardstep/export.js +0 -5
  1612. package/src/components/wizardstep/index.jsx +0 -1372
  1613. package/src/components/wizardstep/styles.js +0 -688
  1614. package/src/components/wizardstep/wizardstep-content-button.jsx +0 -198
  1615. package/src/components/wizardstep/wizardstep-toggle-button.jsx +0 -101
  1616. package/src/hooks/useCheckCart.js +0 -38
  1617. package/src/hooks/useGetPricesBySku.js +0 -59
  1618. package/src/hooks/useValidateToken.js +0 -181
  1619. package/src/styles/export.js +0 -7
  1620. package/src/styles/tabs.css +0 -40
@@ -1,190 +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;
3
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
4
- 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); } }
5
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
- 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); }
8
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
9
- 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); }
10
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
11
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
13
- 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); }
14
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
15
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
16
- import React, { Component } from 'react';
17
- import PropTypes from 'prop-types';
18
- import { KEYBOARD_BUTTON_CODE, TEXT_COLOR_NEUTRAL_0, SECONDARY_PURPLE_COLOR, DEFAULT_FONT_FAMILY } from '../../constants';
19
- import styled from 'styled-components';
20
- import { isValidNumber } from '../../utils/helper';
21
- var StyledInput = styled.input(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n padding: 15px 25px 12px 0px;\n width: 120px;\n color: ", ";\n background-color: rgb(255, 255, 255);\n border: 2px solid;\n text-align: right;\n float: right;\n font-family: ", ";\n font-size: 16px;\n font-weight: 600;\n line-height: 17px;\n border-radius: 5px;\n outline: 0;\n :focus {\n border-color: ", ";\n }\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR);
22
- var FormNumberInput = /*#__PURE__*/function (_Component) {
23
- function FormNumberInput(props, context) {
24
- var _this;
25
- _classCallCheck(this, FormNumberInput);
26
- _this = _callSuper(this, FormNumberInput, [props, context]);
27
- _this.state = {
28
- focus: false,
29
- valid: true,
30
- showedValue: props.value,
31
- focusOn: false,
32
- flag: true
33
- };
34
- _this.input = /*#__PURE__*/React.createRef(null);
35
- return _this;
36
- }
37
- _inherits(FormNumberInput, _Component);
38
- return _createClass(FormNumberInput, [{
39
- key: "componentDidMount",
40
- value: function componentDidMount() {
41
- if (this.input.current && ['width', 'length'].includes(this.props.labelName.toLowerCase())) {
42
- this.input.current.focus();
43
- this.input.current.select();
44
- }
45
- }
46
- }, {
47
- key: "componentWillReceiveProps",
48
- value: function componentWillReceiveProps(nextProps) {
49
- if (this.props.value !== nextProps.value || this.props.focus !== nextProps.focus) {
50
- this.setState({
51
- showedValue: nextProps.value,
52
- focusOn: nextProps.focus
53
- });
54
- }
55
- }
56
- }, {
57
- key: "componentDidUpdate",
58
- value: function componentDidUpdate(prevProps, preprevState) {
59
- if (this.props.value !== prevProps.value && prevProps.labelName !== 'Ceiling Height') {
60
- this.input.current.focus();
61
- this.input.current.select();
62
- }
63
- var showedValue = this.state.showedValue;
64
- var _this$props = this.props,
65
- min = _this$props.min,
66
- max = _this$props.max,
67
- isCeiling = _this$props.isCeiling;
68
- if (!isCeiling) {
69
- if (isValidNumber(min) && showedValue < min) {
70
- this.setState({
71
- showedValue: min
72
- });
73
- } else if (isValidNumber(max) && showedValue > max) {
74
- this.setState({
75
- showedValue: max
76
- });
77
- }
78
- }
79
- return null;
80
- }
81
- }, {
82
- key: "render",
83
- value: function render() {
84
- var _this2 = this;
85
- var _this$props2 = this.props,
86
- value = _this$props2.value,
87
- min = _this$props2.min,
88
- max = _this$props2.max,
89
- precision = _this$props2.precision,
90
- onChange = _this$props2.onChange,
91
- onValid = _this$props2.onValid,
92
- onInvalid = _this$props2.onInvalid,
93
- style = _this$props2.style,
94
- placeholder = _this$props2.placeholder,
95
- isCeiling = _this$props2.isCeiling;
96
- var regexp = new RegExp("^-?([0-9]+)?\\.?([0-9]{0,".concat(precision, "})?$"));
97
- var currValue = regexp.test(this.state.showedValue) ? this.state.showedValue : parseFloat(this.state.showedValue).toFixed(precision);
98
- var different = parseFloat(this.props.value).toFixed(precision) !== parseFloat(this.state.showedValue).toFixed(precision);
99
- var saveFn = function saveFn(e) {
100
- e.stopPropagation();
101
- if (_this2.state.valid) {
102
- var savedValue = _this2.state.showedValue !== '' && _this2.state.showedValue !== '-' ? parseFloat(_this2.state.showedValue) : 0;
103
- _this2.setState({
104
- showedValue: savedValue
105
- });
106
- onChange({
107
- target: {
108
- value: savedValue
109
- }
110
- });
111
- }
112
- };
113
- return /*#__PURE__*/React.createElement(StyledInput, {
114
- id: "form_number_input",
115
- autoFocus: this.state.focusOn,
116
- readOnly: !!this.props.disabled,
117
- type: "text",
118
- value: currValue,
119
- style: style,
120
- onChange: function onChange(evt) {
121
- _this2.context.projectActions.copyProperties('ddddd');
122
- var valid = regexp.test(evt.nativeEvent.target.value);
123
- if (valid) {
124
- _this2.setState({
125
- showedValue: evt.nativeEvent.target.value,
126
- flag: false
127
- });
128
- if (onValid) onValid(evt.nativeEvent);
129
- } else {
130
- if (onInvalid) onInvalid(evt.nativeEvent);
131
- }
132
- _this2.setState({
133
- valid: valid
134
- });
135
- },
136
- onFocus: function onFocus(e) {
137
- return _this2.setState({
138
- focusOn: true
139
- });
140
- },
141
- onBlur: function onBlur(e) {
142
- return _this2.setState({
143
- focusOn: false
144
- });
145
- },
146
- ref: this.input,
147
- onKeyDown: function onKeyDown(e) {
148
- var keyCode = e.keyCode || e.which;
149
- if (keyCode == KEYBOARD_BUTTON_CODE.ENTER || keyCode == KEYBOARD_BUTTON_CODE.TAB) {
150
- saveFn(e);
151
- _this2.input.current.blur();
152
- }
153
- if (keyCode == KEYBOARD_BUTTON_CODE.ESC) {
154
- _this2.context.projectActions.rollback();
155
- }
156
- },
157
- placeholder: placeholder
158
- });
159
- }
160
- }]);
161
- }(Component);
162
- export { FormNumberInput as default };
163
- FormNumberInput.propTypes = {
164
- value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
165
- style: PropTypes.object,
166
- onChange: PropTypes.func.isRequired,
167
- onValid: PropTypes.func,
168
- onInvalid: PropTypes.func,
169
- min: PropTypes.number,
170
- max: PropTypes.number,
171
- precision: PropTypes.number,
172
- placeholder: PropTypes.string,
173
- labelName: PropTypes.string,
174
- isCeiling: PropTypes.string
175
- };
176
- FormNumberInput.contextTypes = {
177
- translator: PropTypes.object.isRequired,
178
- projectActions: PropTypes.object.isRequired,
179
- linesActions: PropTypes.object.isRequired
180
- };
181
- FormNumberInput.defaultProps = {
182
- value: 0,
183
- style: {},
184
- min: Number.MIN_SAFE_INTEGER,
185
- max: Number.MAX_SAFE_INTEGER,
186
- precision: 2,
187
- disabled: false,
188
- labelName: 'default'
189
- };
190
- //# sourceMappingURL=form-number-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-number-input.js","names":["React","Component","PropTypes","KEYBOARD_BUTTON_CODE","TEXT_COLOR_NEUTRAL_0","SECONDARY_PURPLE_COLOR","DEFAULT_FONT_FAMILY","styled","isValidNumber","StyledInput","input","_templateObject","_taggedTemplateLiteral","FormNumberInput","_Component","props","context","_this","_classCallCheck","_callSuper","state","focus","valid","showedValue","value","focusOn","flag","createRef","_inherits","_createClass","key","componentDidMount","current","includes","labelName","toLowerCase","select","componentWillReceiveProps","nextProps","setState","componentDidUpdate","prevProps","preprevState","_this$props","min","max","isCeiling","render","_this2","_this$props2","precision","onChange","onValid","onInvalid","style","placeholder","regexp","RegExp","concat","currValue","test","parseFloat","toFixed","different","saveFn","e","stopPropagation","savedValue","target","createElement","id","autoFocus","readOnly","disabled","type","evt","projectActions","copyProperties","nativeEvent","onFocus","onBlur","ref","onKeyDown","keyCode","which","ENTER","TAB","blur","ESC","rollback","default","propTypes","oneOfType","number","string","object","func","isRequired","contextTypes","translator","linesActions","defaultProps","Number","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER"],"sources":["../../../src/components/style/form-number-input.jsx"],"sourcesContent":["import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n KEYBOARD_BUTTON_CODE,\r\n TEXT_COLOR_NEUTRAL_0,\r\n SECONDARY_PURPLE_COLOR,\r\n DEFAULT_FONT_FAMILY\r\n} from '../../constants';\r\nimport styled from 'styled-components';\r\nimport { isValidNumber } from '../../utils/helper';\r\n\r\nconst StyledInput = styled.input`\r\n display: block;\r\n padding: 15px 25px 12px 0px;\r\n width: 120px;\r\n color: ${TEXT_COLOR_NEUTRAL_0};\r\n background-color: rgb(255, 255, 255);\r\n border: 2px solid;\r\n text-align: right;\r\n float: right;\r\n font-family: ${DEFAULT_FONT_FAMILY};\r\n font-size: 16px;\r\n font-weight: 600;\r\n line-height: 17px;\r\n border-radius: 5px;\r\n outline: 0;\r\n :focus {\r\n border-color: ${SECONDARY_PURPLE_COLOR};\r\n }\r\n`;\r\n\r\nexport default class FormNumberInput extends Component {\r\n constructor(props, context) {\r\n super(props, context);\r\n this.state = {\r\n focus: false,\r\n valid: true,\r\n showedValue: props.value,\r\n focusOn: false,\r\n flag: true\r\n };\r\n this.input = React.createRef(null);\r\n }\r\n\r\n componentDidMount() {\r\n if (\r\n this.input.current &&\r\n ['width', 'length'].includes(this.props.labelName.toLowerCase())\r\n ) {\r\n this.input.current.focus();\r\n this.input.current.select();\r\n }\r\n }\r\n\r\n componentWillReceiveProps(nextProps) {\r\n if (\r\n this.props.value !== nextProps.value ||\r\n this.props.focus !== nextProps.focus\r\n ) {\r\n this.setState({ showedValue: nextProps.value, focusOn: nextProps.focus });\r\n }\r\n }\r\n\r\n componentDidUpdate(prevProps, preprevState) {\r\n if (\r\n this.props.value !== prevProps.value &&\r\n prevProps.labelName !== 'Ceiling Height'\r\n ) {\r\n this.input.current.focus();\r\n this.input.current.select();\r\n }\r\n\r\n const { showedValue } = this.state;\r\n const { min, max, isCeiling } = this.props;\r\n\r\n if (!isCeiling) {\r\n if (isValidNumber(min) && showedValue < min) {\r\n this.setState({ showedValue: min });\r\n } else if (isValidNumber(max) && showedValue > max) {\r\n this.setState({ showedValue: max });\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n render() {\r\n let {\r\n value,\r\n min,\r\n max,\r\n precision,\r\n onChange,\r\n onValid,\r\n onInvalid,\r\n style,\r\n placeholder,\r\n isCeiling\r\n } = this.props;\r\n let regexp = new RegExp(`^-?([0-9]+)?\\\\.?([0-9]{0,${precision}})?$`);\r\n\r\n let currValue = regexp.test(this.state.showedValue)\r\n ? this.state.showedValue\r\n : parseFloat(this.state.showedValue).toFixed(precision);\r\n\r\n let different =\r\n parseFloat(this.props.value).toFixed(precision) !==\r\n parseFloat(this.state.showedValue).toFixed(precision);\r\n\r\n let saveFn = e => {\r\n e.stopPropagation();\r\n\r\n if (this.state.valid) {\r\n let savedValue =\r\n this.state.showedValue !== '' && this.state.showedValue !== '-'\r\n ? parseFloat(this.state.showedValue)\r\n : 0;\r\n\r\n this.setState({ showedValue: savedValue });\r\n onChange({ target: { value: savedValue } });\r\n }\r\n };\r\n\r\n return (\r\n <StyledInput\r\n id=\"form_number_input\"\r\n autoFocus={this.state.focusOn}\r\n readOnly={!!this.props.disabled}\r\n type=\"text\"\r\n value={currValue}\r\n style={style}\r\n onChange={evt => {\r\n this.context.projectActions.copyProperties('ddddd');\r\n let valid = regexp.test(evt.nativeEvent.target.value);\r\n\r\n if (valid) {\r\n this.setState({\r\n showedValue: evt.nativeEvent.target.value,\r\n flag: false\r\n });\r\n if (onValid) onValid(evt.nativeEvent);\r\n } else {\r\n if (onInvalid) onInvalid(evt.nativeEvent);\r\n }\r\n this.setState({ valid });\r\n }}\r\n onFocus={e => this.setState({ focusOn: true })}\r\n onBlur={e => this.setState({ focusOn: false })}\r\n ref={this.input}\r\n onKeyDown={e => {\r\n var keyCode = e.keyCode || e.which;\r\n if (\r\n keyCode == KEYBOARD_BUTTON_CODE.ENTER ||\r\n keyCode == KEYBOARD_BUTTON_CODE.TAB\r\n ) {\r\n saveFn(e);\r\n this.input.current.blur();\r\n }\r\n if (keyCode == KEYBOARD_BUTTON_CODE.ESC) {\r\n this.context.projectActions.rollback();\r\n }\r\n }}\r\n placeholder={placeholder}\r\n />\r\n );\r\n }\r\n}\r\n\r\nFormNumberInput.propTypes = {\r\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n style: PropTypes.object,\r\n onChange: PropTypes.func.isRequired,\r\n onValid: PropTypes.func,\r\n onInvalid: PropTypes.func,\r\n min: PropTypes.number,\r\n max: PropTypes.number,\r\n precision: PropTypes.number,\r\n placeholder: PropTypes.string,\r\n labelName: PropTypes.string,\r\n isCeiling: PropTypes.string\r\n};\r\n\r\nFormNumberInput.contextTypes = {\r\n translator: PropTypes.object.isRequired,\r\n projectActions: PropTypes.object.isRequired,\r\n linesActions: PropTypes.object.isRequired\r\n};\r\n\r\nFormNumberInput.defaultProps = {\r\n value: 0,\r\n style: {},\r\n min: Number.MIN_SAFE_INTEGER,\r\n max: Number.MAX_SAFE_INTEGER,\r\n precision: 2,\r\n disabled: false,\r\n labelName: 'default'\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,OAAOC,SAAS,MAAM,YAAY;AAClC,SACEC,oBAAoB,EACpBC,oBAAoB,EACpBC,sBAAsB,EACtBC,mBAAmB,QACd,iBAAiB;AACxB,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,aAAa,QAAQ,oBAAoB;AAElD,IAAMC,WAAW,GAAGF,MAAM,CAACG,KAAK,CAAAC,eAAA,KAAAA,eAAA,GAAAC,sBAAA,0WAIrBR,oBAAoB,EAKdE,mBAAmB,EAOhBD,sBAAsB,CAEzC;AAAC,IAEmBQ,eAAe,0BAAAC,UAAA;EAClC,SAAAD,gBAAYE,KAAK,EAAEC,OAAO,EAAE;IAAA,IAAAC,KAAA;IAAAC,eAAA,OAAAL,eAAA;IAC1BI,KAAA,GAAAE,UAAA,OAAAN,eAAA,GAAME,KAAK,EAAEC,OAAO;IACpBC,KAAA,CAAKG,KAAK,GAAG;MACXC,KAAK,EAAE,KAAK;MACZC,KAAK,EAAE,IAAI;MACXC,WAAW,EAAER,KAAK,CAACS,KAAK;MACxBC,OAAO,EAAE,KAAK;MACdC,IAAI,EAAE;IACR,CAAC;IACDT,KAAA,CAAKP,KAAK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AK;EACfvC,SAAS,EAAE;AACb,CAAC","ignoreList":[]}
@@ -1,207 +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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
6
- 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); } }
7
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
8
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
9
- 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); }
10
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
11
- 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); }
12
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
13
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
15
- 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); }
16
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
17
- import React, { Component } from 'react';
18
- import PropTypes from 'prop-types';
19
- import * as SharedStyle from '../../shared-style';
20
- import { MdUpdate } from 'react-icons/md';
21
- import { KEYBOARD_BUTTON_CODE } from '../../constants';
22
- var STYLE_INPUT = {
23
- display: 'block',
24
- width: '100%',
25
- padding: '0 2px',
26
- fontSize: '13px',
27
- lineHeight: '1.25',
28
- color: SharedStyle.PRIMARY_COLOR.input,
29
- backgroundColor: SharedStyle.COLORS.white,
30
- backgroundImage: 'none',
31
- border: '1px solid rgba(0,0,0,.15)',
32
- outline: 'none',
33
- height: '30px'
34
- };
35
- var confirmStyle = {
36
- position: 'absolute',
37
- cursor: 'pointer',
38
- width: '20px',
39
- height: '20px',
40
- right: '5px',
41
- top: '5px',
42
- backgroundColor: SharedStyle.SECONDARY_COLOR.main,
43
- color: '#FFF',
44
- transition: 'all 0.1s linear'
45
- };
46
- var FormNumberInput = /*#__PURE__*/function (_Component) {
47
- function FormNumberInput(props, context) {
48
- var _this;
49
- _classCallCheck(this, FormNumberInput);
50
- _this = _callSuper(this, FormNumberInput, [props, context]);
51
- _this.state = {
52
- focus: false,
53
- valid: true,
54
- showedValue: props.value,
55
- disabled: props.disabled === true ? true : false,
56
- focusOn: false
57
- };
58
- return _this;
59
- }
60
- _inherits(FormNumberInput, _Component);
61
- return _createClass(FormNumberInput, [{
62
- key: "componentWillReceiveProps",
63
- value: function componentWillReceiveProps(nextProps) {
64
- if (this.props.value !== nextProps.value || this.props.focus !== nextProps.focus) {
65
- this.setState({
66
- showedValue: nextProps.value,
67
- focusOn: nextProps.focus
68
- });
69
- }
70
- if (this.props.focus !== nextProps.focus) {
71
- this.Input.focus();
72
- this.Input.select();
73
- }
74
- }
75
- }, {
76
- key: "render",
77
- value: function render() {
78
- var _this2 = this;
79
- var _this$props = this.props,
80
- value = _this$props.value,
81
- min = _this$props.min,
82
- max = _this$props.max,
83
- precision = _this$props.precision,
84
- onChange = _this$props.onChange,
85
- onValid = _this$props.onValid,
86
- onInvalid = _this$props.onInvalid,
87
- style = _this$props.style,
88
- placeholder = _this$props.placeholder;
89
- var numericInputStyle = _objectSpread(_objectSpread({}, STYLE_INPUT), style);
90
- if (this.state.focusOn) numericInputStyle.border = "1px solid ".concat(SharedStyle.SECONDARY_COLOR.main);
91
- var regexp = new RegExp("^-?([0-9]+)?\\.?([0-9]{0,".concat(precision, "})?$"));
92
- if (!isNaN(min) && isFinite(min) && this.state.showedValue < min) this.setState({
93
- showedValue: min
94
- }); // value = min;
95
- if (!isNaN(max) && isFinite(max) && this.state.showedValue > max) this.setState({
96
- showedValue: max
97
- }); // value = max;
98
-
99
- var currValue = regexp.test(this.state.showedValue) ? this.state.showedValue : parseFloat(this.state.showedValue).toFixed(precision);
100
- var different = parseFloat(this.props.value).toFixed(precision) !== parseFloat(this.state.showedValue).toFixed(precision);
101
- var saveFn = function saveFn(e) {
102
- e.stopPropagation();
103
- if (_this2.state.valid) {
104
- var savedValue = _this2.state.showedValue !== '' && _this2.state.showedValue !== '-' ? parseFloat(_this2.state.showedValue) : 0;
105
- _this2.setState({
106
- showedValue: savedValue
107
- });
108
- onChange({
109
- target: {
110
- value: savedValue
111
- }
112
- });
113
- }
114
- };
115
- return /*#__PURE__*/React.createElement("div", {
116
- style: {
117
- position: 'relative'
118
- }
119
- }, /*#__PURE__*/React.createElement("input", {
120
- autoFocus: this.state.focusOn,
121
- readOnly: this.state.disabled,
122
- type: "text",
123
- value: currValue,
124
- style: numericInputStyle,
125
- onChange: function onChange(evt) {
126
- var valid = regexp.test(evt.nativeEvent.target.value);
127
- if (valid) {
128
- _this2.setState({
129
- showedValue: evt.nativeEvent.target.value
130
- });
131
- if (onValid) onValid(evt.nativeEvent);
132
- } else {
133
- if (onInvalid) onInvalid(evt.nativeEvent);
134
- }
135
- _this2.setState({
136
- valid: valid
137
- });
138
- },
139
- onFocus: function onFocus(e) {
140
- return _this2.setState({
141
- focusOn: true
142
- });
143
- },
144
- onBlur: function onBlur(e) {
145
- return _this2.setState({
146
- focusOn: false
147
- });
148
- },
149
- ref: function ref(ele) {
150
- _this2.Input = ele;
151
- },
152
- onKeyDown: function onKeyDown(e) {
153
- var keyCode = e.keyCode || e.which;
154
- if (keyCode == KEYBOARD_BUTTON_CODE.ENTER || keyCode == KEYBOARD_BUTTON_CODE.TAB) {
155
- saveFn(e);
156
- _this2.Input.blur();
157
- }
158
- if (keyCode == KEYBOARD_BUTTON_CODE.ESC) {
159
- _this2.context.projectActions.rollback();
160
- }
161
- },
162
- placeholder: placeholder
163
- }), /*#__PURE__*/React.createElement("div", {
164
- onClick: function onClick(e) {
165
- if (different) saveFn(e);
166
- },
167
- title: this.context.translator.t('Confirm'),
168
- style: _objectSpread(_objectSpread({}, confirmStyle), {}, {
169
- visibility: different ? 'visible' : 'hidden',
170
- opacity: different ? '1' : '0'
171
- })
172
- }, /*#__PURE__*/React.createElement(MdUpdate, {
173
- style: {
174
- width: '100%',
175
- height: '100%',
176
- padding: '0.2em',
177
- color: '#FFF'
178
- }
179
- })));
180
- }
181
- }]);
182
- }(Component);
183
- export { FormNumberInput as default };
184
- FormNumberInput.propTypes = {
185
- value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
186
- style: PropTypes.object,
187
- onChange: PropTypes.func.isRequired,
188
- onValid: PropTypes.func,
189
- onInvalid: PropTypes.func,
190
- min: PropTypes.number,
191
- max: PropTypes.number,
192
- precision: PropTypes.number,
193
- placeholder: PropTypes.string
194
- };
195
- FormNumberInput.contextTypes = {
196
- translator: PropTypes.object.isRequired,
197
- projectActions: PropTypes.object.isRequired
198
- };
199
- FormNumberInput.defaultProps = {
200
- value: 0,
201
- style: {},
202
- min: Number.MIN_SAFE_INTEGER,
203
- max: Number.MAX_SAFE_INTEGER,
204
- precision: 2,
205
- disabled: false
206
- };
207
- //# sourceMappingURL=form-number-input_2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-number-input_2.js","names":["React","Component","PropTypes","SharedStyle","MdUpdate","KEYBOARD_BUTTON_CODE","STYLE_INPUT","display","width","padding","fontSize","lineHeight","color","PRIMARY_COLOR","input","backgroundColor","COLORS","white","backgroundImage","border","outline","height","confirmStyle","position","cursor","right","top","SECONDARY_COLOR","main","transition","FormNumberInput","_Component","props","context","_this","_classCallCheck","_callSuper","state","focus","valid","showedValue","value","disabled","focusOn","_inherits","_createClass","key","componentWillReceiveProps","nextProps","setState","Input","select","render","_this2","_this$props","min","max","precision","onChange","onValid","onInvalid","style","placeholder","numericInputStyle","_objectSpread","concat","regexp","RegExp","isNaN","isFinite","currValue","test","parseFloat","toFixed","different","saveFn","e","stopPropagation","savedValue","target","createElement","autoFocus","readOnly","type","evt","nativeEvent","onFocus","onBlur","ref","ele","onKeyDown","keyCode","which","ENTER","TAB","blur","ESC","projectActions","rollback","onClick","title","translator","t","visibility","opacity","default","propTypes","oneOfType","number","string","object","func","isRequired","contextTypes","defaultProps","Number","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER"],"sources":["../../../src/components/style/form-number-input_2.jsx"],"sourcesContent":["import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport * as SharedStyle from '../../shared-style';\r\nimport { MdUpdate } from 'react-icons/md';\r\nimport { KEYBOARD_BUTTON_CODE } from '../../constants';\r\n\r\nconst STYLE_INPUT = {\r\n display: 'block',\r\n width: '100%',\r\n padding: '0 2px',\r\n fontSize: '13px',\r\n lineHeight: '1.25',\r\n color: SharedStyle.PRIMARY_COLOR.input,\r\n backgroundColor: SharedStyle.COLORS.white,\r\n backgroundImage: 'none',\r\n border: '1px solid rgba(0,0,0,.15)',\r\n outline: 'none',\r\n height: '30px'\r\n};\r\n\r\nconst confirmStyle = {\r\n position: 'absolute',\r\n cursor: 'pointer',\r\n width: '20px',\r\n height: '20px',\r\n right: '5px',\r\n top: '5px',\r\n backgroundColor: SharedStyle.SECONDARY_COLOR.main,\r\n color: '#FFF',\r\n transition: 'all 0.1s linear'\r\n};\r\n\r\nexport default class FormNumberInput extends Component {\r\n constructor(props, context) {\r\n super(props, context);\r\n this.state = {\r\n focus: false,\r\n valid: true,\r\n showedValue: props.value,\r\n disabled: props.disabled === true ? true : false,\r\n focusOn: false\r\n };\r\n }\r\n\r\n componentWillReceiveProps(nextProps) {\r\n if (\r\n this.props.value !== nextProps.value ||\r\n this.props.focus !== nextProps.focus\r\n ) {\r\n this.setState({ showedValue: nextProps.value, focusOn: nextProps.focus });\r\n }\r\n if (this.props.focus !== nextProps.focus) {\r\n this.Input.focus();\r\n this.Input.select();\r\n }\r\n }\r\n\r\n render() {\r\n let {\r\n value,\r\n min,\r\n max,\r\n precision,\r\n onChange,\r\n onValid,\r\n onInvalid,\r\n style,\r\n placeholder\r\n } = this.props;\r\n let numericInputStyle = { ...STYLE_INPUT, ...style };\r\n if (this.state.focusOn)\r\n numericInputStyle.border = `1px solid ${SharedStyle.SECONDARY_COLOR.main}`;\r\n let regexp = new RegExp(`^-?([0-9]+)?\\\\.?([0-9]{0,${precision}})?$`);\r\n\r\n if (!isNaN(min) && isFinite(min) && this.state.showedValue < min)\r\n this.setState({ showedValue: min }); // value = min;\r\n if (!isNaN(max) && isFinite(max) && this.state.showedValue > max)\r\n this.setState({ showedValue: max }); // value = max;\r\n\r\n let currValue = regexp.test(this.state.showedValue)\r\n ? this.state.showedValue\r\n : parseFloat(this.state.showedValue).toFixed(precision);\r\n\r\n let different =\r\n parseFloat(this.props.value).toFixed(precision) !==\r\n parseFloat(this.state.showedValue).toFixed(precision);\r\n\r\n let saveFn = e => {\r\n e.stopPropagation();\r\n\r\n if (this.state.valid) {\r\n let savedValue =\r\n this.state.showedValue !== '' && this.state.showedValue !== '-'\r\n ? parseFloat(this.state.showedValue)\r\n : 0;\r\n\r\n this.setState({ showedValue: savedValue });\r\n onChange({ target: { value: savedValue } });\r\n }\r\n };\r\n\r\n return (\r\n <div style={{ position: 'relative' }}>\r\n <input\r\n autoFocus={this.state.focusOn}\r\n readOnly={this.state.disabled}\r\n type=\"text\"\r\n value={currValue}\r\n style={numericInputStyle}\r\n onChange={evt => {\r\n let valid = regexp.test(evt.nativeEvent.target.value);\r\n\r\n if (valid) {\r\n this.setState({ showedValue: evt.nativeEvent.target.value });\r\n if (onValid) onValid(evt.nativeEvent);\r\n } else {\r\n if (onInvalid) onInvalid(evt.nativeEvent);\r\n }\r\n\r\n this.setState({ valid });\r\n }}\r\n onFocus={e => this.setState({ focusOn: true })}\r\n onBlur={e => this.setState({ focusOn: false })}\r\n ref={ele => {\r\n this.Input = ele;\r\n }}\r\n onKeyDown={e => {\r\n var keyCode = e.keyCode || e.which;\r\n if (\r\n keyCode == KEYBOARD_BUTTON_CODE.ENTER ||\r\n keyCode == KEYBOARD_BUTTON_CODE.TAB\r\n ) {\r\n saveFn(e);\r\n this.Input.blur();\r\n }\r\n if (keyCode == KEYBOARD_BUTTON_CODE.ESC) {\r\n this.context.projectActions.rollback();\r\n }\r\n }}\r\n placeholder={placeholder}\r\n />\r\n <div\r\n onClick={e => {\r\n if (different) saveFn(e);\r\n }}\r\n title={this.context.translator.t('Confirm')}\r\n style={{\r\n ...confirmStyle,\r\n visibility: different ? 'visible' : 'hidden',\r\n opacity: different ? '1' : '0'\r\n }}\r\n >\r\n <MdUpdate\r\n style={{\r\n width: '100%',\r\n height: '100%',\r\n padding: '0.2em',\r\n color: '#FFF'\r\n }}\r\n />\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nFormNumberInput.propTypes = {\r\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n style: PropTypes.object,\r\n onChange: PropTypes.func.isRequired,\r\n onValid: PropTypes.func,\r\n onInvalid: PropTypes.func,\r\n min: PropTypes.number,\r\n max: PropTypes.number,\r\n precision: PropTypes.number,\r\n placeholder: PropTypes.string\r\n};\r\n\r\nFormNumberInput.contextTypes = {\r\n translator: PropTypes.object.isRequired,\r\n projectActions: PropTypes.object.isRequired\r\n};\r\n\r\nFormNumberInput.defaultProps = {\r\n value: 0,\r\n style: {},\r\n min: Number.MIN_SAFE_INTEGER,\r\n max: Number.MAX_SAFE_INTEGER,\r\n precision: 2,\r\n disabled: false\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAO,KAAKC,WAAW,MAAM,oBAAoB;AACjD,SAASC,QAAQ,QAAQ,gBAAgB;AACzC,SAASC,oBAAoB,QAAQ,iBAAiB;AAEtD,IAAMC,WAAW,GAAG;EAClBC,OAAO,EAAE,OA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AK,EAAEvC,SAAS,CAACyG,SAAS,CAAC,CAACzG,SAAS,CAAC0G,MAAM,EAAE1G,SAAS,CAAC2G,MAAM,CAAC,CAAC;EAChEhD,KAAK,EAAE3D,SAAS,CAAC4G,MAAM;EACvBpD,QAAQ,EAAExD,SAAS,CAAC6G,IAAI,CAACC,UAAU;EACnCrD,OAAO,EAAEzD,SAAS,CAAC6G,IAAI;EACvBnD,SAAS,EAAE1D,SAAS,CAAC6G,IAAI;EACzBxD,GAAG,EAAErD,SAAS,CAAC0G,MAAM;EACrBpD,GAAG,EAAEtD,SAAS,CAAC0G,MAAM;EACrBnD,SAAS,EAAEvD,SAAS,CAAC0G,MAAM;EAC3B9C,WAAW,EAAE5D,SAAS,CAAC2G;AACzB,CAAC;AAED/E,eAAe,CAACmF,YAAY,GAAG;EAC7BZ,UAAU,EAAEnG,SAAS,CAAC4G,MAAM,CAACE,UAAU;EACvCf,cAAc,EAAE/F,SAAS,CAAC4G,MAAM,CAACE;AACnC,CAAC;AAEDlF,eAAe,CAACoF,YAAY,GAAG;EAC7BzE,KAAK,EAAE,CAAC;EACRoB,KAAK,EAAE,CAAC,CAAC;EACTN,GAAG,EAAE4D,MAAM,CAACC,gBAAgB;EAC5B5D,GAAG,EAAE2D,MAAM,CAACE,gBAAgB;EAC5B5D,SAAS,EAAE,CAAC;EACZf,QAAQ,EAAE;AACZ,CAAC","ignoreList":[]}
@@ -1,21 +0,0 @@
1
- var _excluded = ["children", "style"];
2
- var _templateObject;
3
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
5
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
6
- function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
7
- import React from 'react';
8
- import * as SharedStyle from '../../shared-style';
9
- import styled from 'styled-components';
10
- import { TEXT_COLOR_NEUTRAL_3, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR } from '../../constants';
11
- var StyledSelect = styled.select(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: block;\n width: 120px;\n float: right;\n padding: 15px 10px 12px 0px;\n color: ", ";\n border: 2px solid;\n font-family: ", ";\n font-size: 12px;\n font-weight: 600;\n line-height: 17px;\n text-align: right;\n outline: none;\n border-radius: 5px;\n :hover {\n border-color: ", ";\n }\n :focus {\n border-color: ", ";\n }\n"])), TEXT_COLOR_NEUTRAL_3, DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, SECONDARY_PURPLE_COLOR);
12
- export default function FormSelect(_ref) {
13
- var children = _ref.children,
14
- style = _ref.style,
15
- rest = _objectWithoutProperties(_ref, _excluded);
16
- return /*#__PURE__*/React.createElement(StyledSelect, _extends({
17
- type: "text",
18
- style: style
19
- }, rest), children);
20
- }
21
- //# sourceMappingURL=form-select.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-select.js","names":["React","SharedStyle","styled","TEXT_COLOR_NEUTRAL_3","DEFAULT_FONT_FAMILY","SECONDARY_PURPLE_COLOR","StyledSelect","select","_templateObject","_taggedTemplateLiteral","FormSelect","_ref","children","style","rest","_objectWithoutProperties","_excluded","createElement","_extends","type"],"sources":["../../../src/components/style/form-select.jsx"],"sourcesContent":["import React from 'react';\r\nimport * as SharedStyle from '../../shared-style';\r\nimport styled from 'styled-components';\r\nimport {\r\n TEXT_COLOR_NEUTRAL_3,\r\n DEFAULT_FONT_FAMILY,\r\n SECONDARY_PURPLE_COLOR\r\n} from '../../constants';\r\n\r\nconst StyledSelect = styled.select`\r\n display: block;\r\n width: 120px;\r\n float: right;\r\n padding: 15px 10px 12px 0px;\r\n color: ${TEXT_COLOR_NEUTRAL_3};\r\n border: 2px solid;\r\n font-family: ${DEFAULT_FONT_FAMILY};\r\n font-size: 12px;\r\n font-weight: 600;\r\n line-height: 17px;\r\n text-align: right;\r\n outline: none;\r\n border-radius: 5px;\r\n :hover {\r\n border-color: ${SECONDARY_PURPLE_COLOR};\r\n }\r\n :focus {\r\n border-color: ${SECONDARY_PURPLE_COLOR};\r\n }\r\n`;\r\n\r\nexport default function FormSelect({ children, style, ...rest }) {\r\n return (\r\n <StyledSelect type=\"text\" style={style} {...rest}>\r\n {children}\r\n </StyledSelect>\r\n );\r\n}\r\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAO,KAAKC,WAAW,MAAM,oBAAoB;AACjD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SACEC,oBAAoB,EACpBC,mBAAmB,EACnBC,sBAAsB,QACjB,iBAAiB;AAExB,IAAMC,YAAY,GAAGJ,MAAM,CAACK,MAAM,CAAAC,eAAA,KAAAA,eAAA,GAAAC,sBAAA,8WAKvBN,oBAAoB,EAEdC,mBAAmB,EAQhBC,sBAAsB,EAGtBA,sBAAsB,CAEzC;AAED,eAAe,SAASK,UAAUA,CAAAC,IAAA,EAA+B;EAAA,IAA5BC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAKC,IAAI,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAC3D,oBACEhB,KAAA,CAAAiB,aAAA,CAACX,YAAY,EAAAY,QAAA;IAACC,IAAI,EAAC,MAAM;IAACN,KAAK,EAAEA;EAAM,GAAKC,IAAI,GAC7CF,QACW,CAAC;AAEnB","ignoreList":[]}
@@ -1,46 +0,0 @@
1
- var _excluded = ["value", "onChange"];
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
- import React from 'react';
6
- import ReactRange from '@mapbox/react-range';
7
- import FormTextInput from './form-text-input';
8
- var sliderContainerStyle = {
9
- display: 'inline-block',
10
- width: '80%',
11
- marginRight: '5%'
12
- };
13
- var sliderStyle = {
14
- display: 'block',
15
- width: '100%',
16
- height: '30px'
17
- };
18
- var textContainerStyle = {
19
- display: 'inline-block',
20
- width: '15%',
21
- "float": 'right'
22
- };
23
- var textStyle = {
24
- height: '34px',
25
- textAlign: 'center'
26
- };
27
- export default function FormNumberInput(_ref) {
28
- var value = _ref.value,
29
- onChange = _ref.onChange,
30
- rest = _objectWithoutProperties(_ref, _excluded);
31
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
32
- style: sliderContainerStyle
33
- }, /*#__PURE__*/React.createElement(ReactRange, _extends({
34
- type: "range",
35
- style: sliderStyle,
36
- onChange: onChange,
37
- value: value
38
- }, rest))), /*#__PURE__*/React.createElement("div", {
39
- style: textContainerStyle
40
- }, /*#__PURE__*/React.createElement(FormTextInput, {
41
- value: value,
42
- onChange: onChange,
43
- style: textStyle
44
- })));
45
- }
46
- //# sourceMappingURL=form-slider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-slider.js","names":["React","ReactRange","FormTextInput","sliderContainerStyle","display","width","marginRight","sliderStyle","height","textContainerStyle","textStyle","textAlign","FormNumberInput","_ref","value","onChange","rest","_objectWithoutProperties","_excluded","createElement","style","_extends","type"],"sources":["../../../src/components/style/form-slider.jsx"],"sourcesContent":["import React from 'react';\r\nimport ReactRange from '@mapbox/react-range';\r\nimport FormTextInput from './form-text-input';\r\n\r\nconst sliderContainerStyle = {\r\n display: 'inline-block',\r\n width: '80%',\r\n marginRight: '5%'\r\n};\r\nconst sliderStyle = { display: 'block', width: '100%', height: '30px' };\r\nconst textContainerStyle = {\r\n display: 'inline-block',\r\n width: '15%',\r\n float: 'right'\r\n};\r\nconst textStyle = { height: '34px', textAlign: 'center' };\r\n\r\nexport default function FormNumberInput({ value, onChange, ...rest }) {\r\n return (\r\n <div>\r\n <div style={sliderContainerStyle}>\r\n <ReactRange\r\n type=\"range\"\r\n style={sliderStyle}\r\n onChange={onChange}\r\n value={value}\r\n {...rest}\r\n />\r\n </div>\r\n\r\n <div style={textContainerStyle}>\r\n <FormTextInput value={value} onChange={onChange} style={textStyle} />\r\n </div>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,qBAAqB;AAC5C,OAAOC,aAAa,MAAM,mBAAmB;AAE7C,IAAMC,oBAAoB,GAAG;EAC3BC,OAAO,EAAE,cAAc;EACvBC,KAAK,EAAE,KAAK;EACZC,WAAW,EAAE;AACf,CAAC;AACD,IAAMC,WAAW,GAAG;EAAEH,OAAO,EAAE,OAAO;EAAEC,KAAK,EAAE,MAAM;EAAEG,MAAM,EAAE;AAAO,CAAC;AACvE,IAAMC,kBAAkB,GAAG;EACzBL,OAAO,EAAE,cAAc;EACvBC,KAAK,EAAE,KAAK;EACZ,SAAO;AACT,CAAC;AACD,IAAMK,SAAS,GAAG;EAAEF,MAAM,EAAE,MAAM;EAAEG,SAAS,EAAE;AAAS,CAAC;AAEzD,eAAe,SAASC,eAAeA,CAAAC,IAAA,EAA+B;EAAA,IAA5BC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAKC,IAAI,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EAChE,oBACElB,KAAA,CAAAmB,aAAA,2BACEnB,KAAA,CAAAmB,aAAA;IAAKC,KAAK,EAAEjB;EAAqB,gBAC/BH,KAAA,CAAAmB,aAAA,CAAClB,UAAU,EAAAoB,QAAA;IACTC,IAAI,EAAC,OAAO;IACZF,KAAK,EAAEb,WAAY;IACnBQ,QAAQ,EAAEA,QAAS;IACnBD,KAAK,EAAEA;EAAM,GACTE,IAAI,CACT,CACE,CAAC,eAENhB,KAAA,CAAAmB,aAAA;IAAKC,KAAK,EAAEX;EAAmB,gBAC7BT,KAAA,CAAAmB,aAAA,CAACjB,aAAa;IAACY,KAAK,EAAEA,KAAM;IAACC,QAAQ,EAAEA,QAAS;IAACK,KAAK,EAAEV;EAAU,CAAE,CACjE,CACF,CAAC;AAEV","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- var _excluded = ["children"];
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
- import React from 'react';
6
- import Button from './button';
7
- import * as SharedStyle from '../../shared-style';
8
- var STYLE = {
9
- borderColor: '#415375',
10
- backgroundColor: '#415375',
11
- color: SharedStyle.COLORS.white
12
- };
13
- var STYLE_HOVER = {
14
- borderColor: '#1f3149',
15
- backgroundColor: '#1f3149',
16
- color: SharedStyle.COLORS.white
17
- };
18
- export default function FormSubmitButton(_ref) {
19
- var children = _ref.children,
20
- rest = _objectWithoutProperties(_ref, _excluded);
21
- return /*#__PURE__*/React.createElement(Button, _extends({
22
- type: "submit",
23
- style: STYLE,
24
- styleHover: STYLE_HOVER
25
- }, rest), children);
26
- }
27
- //# sourceMappingURL=form-submit-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-submit-button.js","names":["React","Button","SharedStyle","STYLE","borderColor","backgroundColor","color","COLORS","white","STYLE_HOVER","FormSubmitButton","_ref","children","rest","_objectWithoutProperties","_excluded","createElement","_extends","type","style","styleHover"],"sources":["../../../src/components/style/form-submit-button.jsx"],"sourcesContent":["import React from 'react';\r\nimport Button from './button';\r\nimport * as SharedStyle from '../../shared-style';\r\n\r\nconst STYLE = {\r\n borderColor: '#415375',\r\n backgroundColor: '#415375',\r\n color: SharedStyle.COLORS.white\r\n};\r\n\r\nconst STYLE_HOVER = {\r\n borderColor: '#1f3149',\r\n backgroundColor: '#1f3149',\r\n color: SharedStyle.COLORS.white\r\n};\r\n\r\nexport default function FormSubmitButton({ children, ...rest }) {\r\n return (\r\n <Button type=\"submit\" style={STYLE} styleHover={STYLE_HOVER} {...rest}>\r\n {children}\r\n </Button>\r\n );\r\n}\r\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,UAAU;AAC7B,OAAO,KAAKC,WAAW,MAAM,oBAAoB;AAEjD,IAAMC,KAAK,GAAG;EACZC,WAAW,EAAE,SAAS;EACtBC,eAAe,EAAE,SAAS;EAC1BC,KAAK,EAAEJ,WAAW,CAACK,MAAM,CAACC;AAC5B,CAAC;AAED,IAAMC,WAAW,GAAG;EAClBL,WAAW,EAAE,SAAS;EACtBC,eAAe,EAAE,SAAS;EAC1BC,KAAK,EAAEJ,WAAW,CAACK,MAAM,CAACC;AAC5B,CAAC;AAED,eAAe,SAASE,gBAAgBA,CAAAC,IAAA,EAAwB;EAAA,IAArBC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAKC,IAAI,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,SAAA;EAC1D,oBACEf,KAAA,CAAAgB,aAAA,CAACf,MAAM,EAAAgB,QAAA;IAACC,IAAI,EAAC,QAAQ;IAACC,KAAK,EAAEhB,KAAM;IAACiB,UAAU,EAAEX;EAAY,GAAKI,IAAI,GAClED,QACK,CAAC;AAEb","ignoreList":[]}