kitchen-simulator 1.1.1-test.7 → 1.1.1-test.70

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 (354) hide show
  1. package/es/@history.js +8 -2
  2. package/es/AppContext.js +8 -3
  3. package/es/KitchenConfigurator.js +93 -106
  4. package/es/KitchenConfiguratorApp.js +143 -154
  5. package/es/actions/area-actions.js +10 -5
  6. package/es/actions/export.js +27 -12
  7. package/es/actions/groups-actions.js +43 -27
  8. package/es/actions/holes-actions.js +53 -34
  9. package/es/actions/items-actions.js +143 -94
  10. package/es/actions/lines-actions.js +34 -21
  11. package/es/actions/project-actions.js +143 -94
  12. package/es/actions/scene-actions.js +19 -11
  13. package/es/actions/vertices-actions.js +13 -7
  14. package/es/actions/viewer2d-actions.js +34 -21
  15. package/es/actions/viewer3d-actions.js +16 -9
  16. package/es/catalog/areas/area/planner-element.js +16 -8
  17. package/es/catalog/catalog.js +19 -24
  18. package/es/catalog/factories/area-factory-3d.js +29 -22
  19. package/es/catalog/factories/area-factory.js +18 -14
  20. package/es/catalog/factories/export.js +12 -6
  21. package/es/catalog/factories/wall-factory-3d.js +39 -31
  22. package/es/catalog/factories/wall-factory.js +29 -21
  23. package/es/catalog/holes/door-closet/planner-element.js +22 -15
  24. package/es/catalog/holes/door-double/planner-element.js +22 -15
  25. package/es/catalog/holes/door-exterior/planner-element.js +23 -16
  26. package/es/catalog/holes/door-interior/planner-element.js +23 -16
  27. package/es/catalog/holes/door-panic/planner-element.js +14 -7
  28. package/es/catalog/holes/door-panic-double/planner-element.js +22 -15
  29. package/es/catalog/holes/door-sliding/planner-element.js +23 -16
  30. package/es/catalog/holes/doorway-framed/planner-element.js +18 -11
  31. package/es/catalog/holes/doorway-frameless/planner-element.js +14 -7
  32. package/es/catalog/holes/export.js +31 -13
  33. package/es/catalog/holes/window-clear/planner-element.js +17 -10
  34. package/es/catalog/holes/window-cross/planner-element.js +17 -10
  35. package/es/catalog/holes/window-double-hung/planner-element.js +17 -10
  36. package/es/catalog/holes/window-vertical/planner-element.js +17 -10
  37. package/es/catalog/lines/wall/planner-element.js +19 -11
  38. package/es/catalog/molding/molding-dcm/planner-element.js +12 -5
  39. package/es/catalog/molding/molding-fbm/planner-element.js +12 -5
  40. package/es/catalog/molding/molding-lrm/planner-element.js +12 -5
  41. package/es/catalog/properties/export.js +33 -20
  42. package/es/catalog/properties/property-checkbox.js +82 -35
  43. package/es/catalog/properties/property-color.js +21 -16
  44. package/es/catalog/properties/property-enum.js +70 -28
  45. package/es/catalog/properties/property-hidden.js +14 -9
  46. package/es/catalog/properties/property-lenght-measure.js +43 -39
  47. package/es/catalog/properties/property-length-measure.js +82 -34
  48. package/es/catalog/properties/property-length-measure_hole.js +43 -39
  49. package/es/catalog/properties/property-number.js +22 -17
  50. package/es/catalog/properties/property-read-only.js +21 -16
  51. package/es/catalog/properties/property-string.js +21 -16
  52. package/es/catalog/properties/property-toggle.js +21 -16
  53. package/es/catalog/properties/shared-property-style.js +5 -1
  54. package/es/catalog/utils/FuseUtils.js +13 -11
  55. package/es/catalog/utils/exporter.js +13 -11
  56. package/es/catalog/utils/geom-utils.js +27 -13
  57. package/es/catalog/utils/item-loader.js +95 -91
  58. package/es/catalog/utils/load-obj.js +26 -20
  59. package/es/catalog/utils/mtl-loader.js +7 -3
  60. package/es/catalog/utils/obj-loader.js +7 -3
  61. package/es/class/FuseUtils.js +13 -11
  62. package/es/class/area.js +26 -26
  63. package/es/class/export.js +38 -23
  64. package/es/class/group.js +57 -62
  65. package/es/class/guide.js +19 -19
  66. package/es/class/hole.js +87 -88
  67. package/es/class/item.js +148 -155
  68. package/es/class/layer.js +63 -63
  69. package/es/class/line.js +141 -144
  70. package/es/class/project.js +96 -94
  71. package/es/class/vertex.js +33 -33
  72. package/es/components/content.js +27 -19
  73. package/es/components/disclaimer/disclaimer.js +79 -93
  74. package/es/components/export.js +15 -8
  75. package/es/components/style/button.js +29 -30
  76. package/es/components/style/cancel-button.js +12 -8
  77. package/es/components/style/content-container.js +14 -12
  78. package/es/components/style/content-title.js +18 -15
  79. package/es/components/style/delete-button.js +15 -9
  80. package/es/components/style/export.js +48 -30
  81. package/es/components/style/form-block.js +13 -12
  82. package/es/components/style/form-color-input.js +12 -8
  83. package/es/components/style/form-label.js +13 -12
  84. package/es/components/style/form-number-input.js +71 -47
  85. package/es/components/style/form-number-input_2.js +42 -42
  86. package/es/components/style/form-select.js +58 -14
  87. package/es/components/style/form-slider.js +36 -16
  88. package/es/components/style/form-submit-button.js +15 -9
  89. package/es/components/style/form-text-input.js +55 -37
  90. package/es/components/viewer2d/area.js +22 -17
  91. package/es/components/viewer2d/export.js +48 -30
  92. package/es/components/viewer2d/grids/grid-horizontal-streak.js +15 -11
  93. package/es/components/viewer2d/grids/grid-streak.js +15 -11
  94. package/es/components/viewer2d/grids/grid-vertical-streak.js +15 -11
  95. package/es/components/viewer2d/grids/grids.js +17 -15
  96. package/es/components/viewer2d/group.js +22 -15
  97. package/es/components/viewer2d/item.js +68 -68
  98. package/es/components/viewer2d/layer.js +28 -23
  99. package/es/components/viewer2d/line.js +109 -104
  100. package/es/components/viewer2d/ruler.js +27 -23
  101. package/es/components/viewer2d/rulerDist.js +26 -21
  102. package/es/components/viewer2d/rulerX.js +45 -45
  103. package/es/components/viewer2d/rulerY.js +43 -43
  104. package/es/components/viewer2d/scene.js +40 -46
  105. package/es/components/viewer2d/snap.js +20 -13
  106. package/es/components/viewer2d/state.js +25 -23
  107. package/es/components/viewer2d/utils.js +63 -21
  108. package/es/components/viewer2d/vertex.js +15 -8
  109. package/es/components/viewer2d/viewer2d.js +169 -166
  110. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +21 -24
  111. package/es/components/viewer3d/dcm.js +5 -1
  112. package/es/components/viewer3d/fbm.js +5 -1
  113. package/es/components/viewer3d/front3D.js +19 -17
  114. package/es/components/viewer3d/grid-creator.js +15 -8
  115. package/es/components/viewer3d/grids/grid-horizontal-streak.js +12 -6
  116. package/es/components/viewer3d/grids/grid-streak.js +11 -5
  117. package/es/components/viewer3d/grids/grid-vertical-streak.js +12 -6
  118. package/es/components/viewer3d/libs/first-person-controls.js +7 -2
  119. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +5 -1
  120. package/es/components/viewer3d/libs/mtl-loader.js +6 -2
  121. package/es/components/viewer3d/libs/obj-loader.js +6 -2
  122. package/es/components/viewer3d/libs/orbit-controls.js +10 -5
  123. package/es/components/viewer3d/libs/pointer-lock-controls.js +9 -4
  124. package/es/components/viewer3d/lrm.js +5 -1
  125. package/es/components/viewer3d/model.js +5 -1
  126. package/es/components/viewer3d/pointer-lock-navigation.js +8 -3
  127. package/es/components/viewer3d/ruler-utils/itemRect.js +23 -18
  128. package/es/components/viewer3d/ruler-utils/layer3D.js +64 -59
  129. package/es/components/viewer3d/ruler-utils/ruler3D.js +44 -42
  130. package/es/components/viewer3d/ruler-utils/scene3D.js +16 -11
  131. package/es/components/viewer3d/ruler-utils/state3D.js +9 -4
  132. package/es/components/viewer3d/scene-creator.js +225 -198
  133. package/es/components/viewer3d/three-memory-cleaner.js +10 -3
  134. package/es/components/viewer3d/viewer3d-first-person.js +44 -46
  135. package/es/components/viewer3d/viewer3d.js +206 -209
  136. package/es/constants.js +356 -349
  137. package/es/index.js +20 -15
  138. package/es/models.js +183 -183
  139. package/es/plugins/SVGLoader.js +51 -48
  140. package/es/plugins/autosave.js +7 -3
  141. package/es/plugins/console-debugger.js +10 -8
  142. package/es/plugins/export.js +15 -8
  143. package/es/plugins/keyboard.js +33 -29
  144. package/es/reducers/areas-reducer.js +11 -7
  145. package/es/reducers/export.js +39 -24
  146. package/es/reducers/groups-reducer.js +35 -31
  147. package/es/reducers/holes-reducer.js +47 -43
  148. package/es/reducers/items-reducer.js +110 -109
  149. package/es/reducers/lines-reducer.js +32 -28
  150. package/es/reducers/project-reducer.js +109 -105
  151. package/es/reducers/reducer.js +21 -16
  152. package/es/reducers/scene-reducer.js +19 -15
  153. package/es/reducers/user-reducer.js +9 -6
  154. package/es/reducers/vertices-reducer.js +15 -11
  155. package/es/reducers/viewer2d-reducer.js +22 -18
  156. package/es/reducers/viewer3d-reducer.js +20 -16
  157. package/es/shared-style.js +14 -10
  158. package/es/styles/export.js +9 -3
  159. package/es/translator/en.js +5 -1
  160. package/es/translator/it.js +5 -1
  161. package/es/translator/ru.js +5 -1
  162. package/es/translator/translator.js +17 -17
  163. package/es/utils/browser.js +7 -2
  164. package/es/utils/convert-units-lite.js +33 -0
  165. package/es/utils/email-validator.js +5 -1
  166. package/es/utils/export.js +32 -15
  167. package/es/utils/geometry.js +277 -191
  168. package/es/utils/get-edges-of-subgraphs.js +7 -1
  169. package/es/utils/graph-cycles.js +9 -9
  170. package/es/utils/graph-inner-cycles.js +16 -10
  171. package/es/utils/graph.js +15 -12
  172. package/es/utils/helper.js +61 -109
  173. package/es/utils/history.js +13 -8
  174. package/es/utils/id-broker.js +13 -12
  175. package/es/utils/logger.js +5 -1
  176. package/es/utils/math.js +10 -5
  177. package/es/utils/molding.js +175 -158
  178. package/es/utils/name-generator.js +11 -11
  179. package/es/utils/objects-utils.js +17 -7
  180. package/es/utils/phone-validator.js +5 -1
  181. package/es/utils/process-black-list.js +8 -6
  182. package/es/utils/react-if.js +10 -6
  183. package/es/utils/snap-scene.js +32 -32
  184. package/es/utils/snap.js +57 -51
  185. package/es/utils/summarizeCart.js +5 -1
  186. package/es/utils/threeCSG.es6.js +20 -17
  187. package/es/version.js +5 -1
  188. package/lib/@history.js +3 -2
  189. package/lib/AppContext.js +3 -2
  190. package/lib/KitchenConfigurator.js +70 -88
  191. package/lib/KitchenConfiguratorApp.js +98 -113
  192. package/lib/actions/export.js +1 -1
  193. package/lib/catalog/areas/area/planner-element.js +13 -8
  194. package/lib/catalog/catalog.js +9 -16
  195. package/lib/catalog/factories/area-factory-3d.js +1 -1
  196. package/lib/catalog/factories/area-factory.js +6 -7
  197. package/lib/catalog/factories/export.js +1 -1
  198. package/lib/catalog/factories/wall-factory-3d.js +4 -4
  199. package/lib/catalog/factories/wall-factory.js +4 -3
  200. package/lib/catalog/holes/door-closet/planner-element.js +4 -3
  201. package/lib/catalog/holes/door-double/planner-element.js +4 -3
  202. package/lib/catalog/holes/door-exterior/planner-element.js +4 -3
  203. package/lib/catalog/holes/door-interior/planner-element.js +4 -3
  204. package/lib/catalog/holes/door-panic/planner-element.js +4 -3
  205. package/lib/catalog/holes/door-panic-double/planner-element.js +4 -3
  206. package/lib/catalog/holes/door-sliding/planner-element.js +4 -3
  207. package/lib/catalog/holes/doorway-framed/planner-element.js +4 -3
  208. package/lib/catalog/holes/doorway-frameless/planner-element.js +4 -3
  209. package/lib/catalog/holes/export.js +14 -14
  210. package/lib/catalog/holes/window-clear/planner-element.js +4 -3
  211. package/lib/catalog/holes/window-cross/planner-element.js +4 -3
  212. package/lib/catalog/holes/window-double-hung/planner-element.js +4 -3
  213. package/lib/catalog/holes/window-vertical/planner-element.js +4 -3
  214. package/lib/catalog/lines/wall/planner-element.js +16 -11
  215. package/lib/catalog/molding/molding-dcm/planner-element.js +4 -3
  216. package/lib/catalog/molding/molding-fbm/planner-element.js +4 -3
  217. package/lib/catalog/molding/molding-lrm/planner-element.js +4 -3
  218. package/lib/catalog/properties/export.js +1 -1
  219. package/lib/catalog/properties/property-checkbox.js +68 -25
  220. package/lib/catalog/properties/property-color.js +3 -2
  221. package/lib/catalog/properties/property-enum.js +54 -16
  222. package/lib/catalog/properties/property-hidden.js +3 -2
  223. package/lib/catalog/properties/property-lenght-measure.js +10 -10
  224. package/lib/catalog/properties/property-length-measure.js +61 -17
  225. package/lib/catalog/properties/property-length-measure_hole.js +10 -10
  226. package/lib/catalog/properties/property-number.js +3 -2
  227. package/lib/catalog/properties/property-read-only.js +3 -2
  228. package/lib/catalog/properties/property-string.js +3 -2
  229. package/lib/catalog/properties/property-toggle.js +3 -2
  230. package/lib/catalog/properties/shared-property-style.js +2 -1
  231. package/lib/catalog/utils/FuseUtils.js +10 -11
  232. package/lib/catalog/utils/exporter.js +10 -12
  233. package/lib/catalog/utils/geom-utils.js +1 -1
  234. package/lib/catalog/utils/item-loader.js +29 -35
  235. package/lib/catalog/utils/mtl-loader.js +7 -3
  236. package/lib/catalog/utils/obj-loader.js +7 -3
  237. package/lib/class/FuseUtils.js +10 -11
  238. package/lib/class/area.js +9 -11
  239. package/lib/class/export.js +1 -1
  240. package/lib/class/group.js +13 -20
  241. package/lib/class/guide.js +9 -12
  242. package/lib/class/hole.js +7 -9
  243. package/lib/class/item.js +25 -35
  244. package/lib/class/layer.js +7 -9
  245. package/lib/class/line.js +14 -20
  246. package/lib/class/project.js +10 -11
  247. package/lib/class/vertex.js +9 -11
  248. package/lib/components/content.js +5 -3
  249. package/lib/components/disclaimer/disclaimer.js +69 -88
  250. package/lib/components/export.js +1 -1
  251. package/lib/components/style/button.js +17 -22
  252. package/lib/components/style/cancel-button.js +7 -7
  253. package/lib/components/style/content-container.js +5 -7
  254. package/lib/components/style/content-title.js +10 -12
  255. package/lib/components/style/delete-button.js +8 -8
  256. package/lib/components/style/export.js +1 -1
  257. package/lib/components/style/form-block.js +9 -12
  258. package/lib/components/style/form-color-input.js +7 -7
  259. package/lib/components/style/form-label.js +9 -12
  260. package/lib/components/style/form-number-input.js +43 -23
  261. package/lib/components/style/form-number-input_2.js +15 -19
  262. package/lib/components/style/form-select.js +53 -15
  263. package/lib/components/style/form-slider.js +28 -12
  264. package/lib/components/style/form-submit-button.js +8 -8
  265. package/lib/components/style/form-text-input.js +46 -32
  266. package/lib/components/viewer2d/area.js +8 -7
  267. package/lib/components/viewer2d/export.js +1 -1
  268. package/lib/components/viewer2d/grids/grid-horizontal-streak.js +3 -3
  269. package/lib/components/viewer2d/grids/grid-streak.js +3 -3
  270. package/lib/components/viewer2d/grids/grid-vertical-streak.js +3 -3
  271. package/lib/components/viewer2d/grids/grids.js +6 -10
  272. package/lib/components/viewer2d/group.js +4 -3
  273. package/lib/components/viewer2d/item.js +14 -19
  274. package/lib/components/viewer2d/layer.js +3 -2
  275. package/lib/components/viewer2d/line.js +4 -7
  276. package/lib/components/viewer2d/ruler.js +9 -9
  277. package/lib/components/viewer2d/rulerDist.js +7 -6
  278. package/lib/components/viewer2d/rulerX.js +15 -19
  279. package/lib/components/viewer2d/rulerY.js +15 -19
  280. package/lib/components/viewer2d/scene.js +24 -34
  281. package/lib/components/viewer2d/snap.js +4 -3
  282. package/lib/components/viewer2d/state.js +7 -11
  283. package/lib/components/viewer2d/utils.js +35 -2
  284. package/lib/components/viewer2d/vertex.js +4 -3
  285. package/lib/components/viewer2d/viewer2d.js +40 -41
  286. package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js +14 -20
  287. package/lib/components/viewer3d/dcm.js +2 -1
  288. package/lib/components/viewer3d/fbm.js +2 -1
  289. package/lib/components/viewer3d/front3D.js +6 -10
  290. package/lib/components/viewer3d/grid-creator.js +4 -3
  291. package/lib/components/viewer3d/grids/grid-horizontal-streak.js +3 -2
  292. package/lib/components/viewer3d/grids/grid-streak.js +3 -2
  293. package/lib/components/viewer3d/grids/grid-vertical-streak.js +3 -2
  294. package/lib/components/viewer3d/libs/mtl-loader.js +7 -2
  295. package/lib/components/viewer3d/libs/obj-loader.js +7 -2
  296. package/lib/components/viewer3d/libs/orbit-controls.js +10 -5
  297. package/lib/components/viewer3d/libs/pointer-lock-controls.js +9 -4
  298. package/lib/components/viewer3d/lrm.js +2 -1
  299. package/lib/components/viewer3d/pointer-lock-navigation.js +1 -1
  300. package/lib/components/viewer3d/ruler-utils/itemRect.js +10 -9
  301. package/lib/components/viewer3d/ruler-utils/layer3D.js +35 -34
  302. package/lib/components/viewer3d/ruler-utils/ruler3D.js +5 -7
  303. package/lib/components/viewer3d/ruler-utils/scene3D.js +4 -5
  304. package/lib/components/viewer3d/ruler-utils/state3D.js +3 -2
  305. package/lib/components/viewer3d/scene-creator.js +40 -45
  306. package/lib/components/viewer3d/three-memory-cleaner.js +1 -1
  307. package/lib/components/viewer3d/viewer3d-first-person.js +13 -17
  308. package/lib/components/viewer3d/viewer3d.js +34 -38
  309. package/lib/index.js +16 -88
  310. package/lib/models.js +58 -63
  311. package/lib/plugins/autosave.js +2 -1
  312. package/lib/plugins/console-debugger.js +5 -7
  313. package/lib/plugins/export.js +1 -1
  314. package/lib/plugins/keyboard.js +2 -1
  315. package/lib/reducers/areas-reducer.js +2 -1
  316. package/lib/reducers/export.js +1 -1
  317. package/lib/reducers/groups-reducer.js +2 -1
  318. package/lib/reducers/holes-reducer.js +2 -1
  319. package/lib/reducers/items-reducer.js +2 -1
  320. package/lib/reducers/lines-reducer.js +2 -1
  321. package/lib/reducers/project-reducer.js +2 -1
  322. package/lib/reducers/scene-reducer.js +2 -1
  323. package/lib/reducers/user-reducer.js +2 -2
  324. package/lib/reducers/vertices-reducer.js +2 -1
  325. package/lib/reducers/viewer2d-reducer.js +5 -5
  326. package/lib/reducers/viewer3d-reducer.js +5 -5
  327. package/lib/styles/export.js +1 -1
  328. package/lib/translator/en.js +2 -1
  329. package/lib/translator/it.js +2 -1
  330. package/lib/translator/ru.js +2 -1
  331. package/lib/translator/translator.js +7 -10
  332. package/lib/utils/convert-units-lite.js +35 -0
  333. package/lib/utils/export.js +2 -2
  334. package/lib/utils/geometry.js +20 -28
  335. package/lib/utils/get-edges-of-subgraphs.js +7 -1
  336. package/lib/utils/graph-cycles.js +9 -9
  337. package/lib/utils/graph-inner-cycles.js +1 -1
  338. package/lib/utils/graph.js +15 -12
  339. package/lib/utils/helper.js +14 -83
  340. package/lib/utils/history.js +1 -1
  341. package/lib/utils/id-broker.js +7 -10
  342. package/lib/utils/molding.js +66 -71
  343. package/lib/utils/name-generator.js +7 -9
  344. package/lib/utils/objects-utils.js +5 -3
  345. package/lib/utils/process-black-list.js +3 -5
  346. package/lib/utils/react-if.js +3 -2
  347. package/lib/utils/snap-scene.js +3 -7
  348. package/lib/utils/snap.js +22 -26
  349. package/lib/utils/threeCSG.es6.js +16 -15
  350. package/package.json +26 -54
  351. package/es/analytics/ga4.js +0 -191
  352. package/es/analytics/posthog.js +0 -60
  353. package/lib/analytics/ga4.js +0 -197
  354. package/lib/analytics/posthog.js +0 -68
@@ -1,81 +1,130 @@
1
- import { NEW_PROJECT, LOAD_PROJECT, SAVE_PROJECT, OPEN_CATALOG, SELECT_TOOL_EDIT, UNSELECT_ALL, SET_PROPERTIES, SET_ITEMS_ATTRIBUTES, SET_LINES_ATTRIBUTES, SET_HOLES_ATTRIBUTES, REMOVE, INVERT, UNDO, REDO, UNCREATE, PROJECT_RE_NAME, RECREATE, ROLLBACK, OPEN_PROJECT_CONFIGURATOR, SET_PROJECT_PROPERTIES, SET_PROJECT_ID, INIT_CATALOG, UPDATE_MOUSE_COORDS, UPDATE_ZOOM_SCALE, TOGGLE_SNAP, CHANGE_CATALOG_PAGE, GO_BACK_TO_CATALOG_PAGE, THROW_ERROR, THROW_WARNING, COPY_PROPERTIES, PASTE_PROPERTIES, PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY, ALTERATE_STATE, SET_MODE, ADD_HORIZONTAL_GUIDE, ADD_VERTICAL_GUIDE, ADD_CIRCULAR_GUIDE, REMOVE_HORIZONTAL_GUIDE, REMOVE_VERTICAL_GUIDE, REMOVE_CIRCULAR_GUIDE, REMOVE_DRAWING_SUPPORT, SELECT_ALL, SET_STATE_PROPERTIES, SHIFT2DOFF, SHIFT2DON, SET_IS_HELP, SET_IS_CABINET_DRAWING } from "../constants";
2
- export function setIsHelp(isHelp) {
3
- return {
4
- type: SET_IS_HELP,
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.addCircularGuide = addCircularGuide;
5
+ exports.addHorizontalGuide = addHorizontalGuide;
6
+ exports.addVerticalGuide = addVerticalGuide;
7
+ exports.changeCatalogPage = changeCatalogPage;
8
+ exports.copyProperties = copyProperties;
9
+ exports.goBackToCatalogPage = goBackToCatalogPage;
10
+ exports.initCatalog = initCatalog;
11
+ exports.loadProject = loadProject;
12
+ exports.newProject = newProject;
13
+ exports.openCatalog = openCatalog;
14
+ exports.openProjectConfigurator = openProjectConfigurator;
15
+ exports.pasteProperties = pasteProperties;
16
+ exports.pushLastSelectedCatalogElementToHistory = pushLastSelectedCatalogElementToHistory;
17
+ exports.recreate = recreate;
18
+ exports.redo = redo;
19
+ exports.remove = remove;
20
+ exports.removeCircularGuide = removeCircularGuide;
21
+ exports.removeDrawingSupport = removeDrawingSupport;
22
+ exports.removeHorizontalGuide = removeHorizontalGuide;
23
+ exports.removeVerticalGuide = removeVerticalGuide;
24
+ exports.rename = rename;
25
+ exports.rollback = rollback;
26
+ exports.saveProject = saveProject;
27
+ exports.selectAll = selectAll;
28
+ exports.selectToolEdit = selectToolEdit;
29
+ exports.setAlterateState = setAlterateState;
30
+ exports.setHolesAttributes = setHolesAttributes;
31
+ exports.setIsCabinetDrawing = setIsCabinetDrawing;
32
+ exports.setIsHelp = setIsHelp;
33
+ exports.setItemsAttributes = setItemsAttributes;
34
+ exports.setLinesAttributes = setLinesAttributes;
35
+ exports.setMode = setMode;
36
+ exports.setProjectID = setProjectID;
37
+ exports.setProjectProperties = setProjectProperties;
38
+ exports.setProperties = setProperties;
39
+ exports.setStateProperties = setStateProperties;
40
+ exports.shift2doff = shift2doff;
41
+ exports.shift2don = shift2don;
42
+ exports.throwError = throwError;
43
+ exports.throwWarning = throwWarning;
44
+ exports.toggleSnap = toggleSnap;
45
+ exports.uncreate = uncreate;
46
+ exports.undo = undo;
47
+ exports.unselectAll = unselectAll;
48
+ exports.updateMouseCoord = updateMouseCoord;
49
+ exports.updateZoomScale = updateZoomScale;
50
+ var _constants = require("../constants");
51
+ function setIsHelp(isHelp) {
52
+ return {
53
+ type: _constants.SET_IS_HELP,
5
54
  isHelp: isHelp
6
55
  };
7
56
  }
8
- export function setIsCabinetDrawing(isCabinetDrawing) {
57
+ function setIsCabinetDrawing(isCabinetDrawing) {
9
58
  return {
10
- type: SET_IS_CABINET_DRAWING,
59
+ type: _constants.SET_IS_CABINET_DRAWING,
11
60
  isCabinetDrawing: isCabinetDrawing
12
61
  };
13
62
  }
14
- export function setStateProperties(properties) {
63
+ function setStateProperties(properties) {
15
64
  return {
16
- type: SET_STATE_PROPERTIES,
65
+ type: _constants.SET_STATE_PROPERTIES,
17
66
  properties: properties
18
67
  };
19
68
  }
20
- export function loadProject(sceneJSON, categoryData) {
69
+ function loadProject(sceneJSON, categoryData) {
21
70
  return {
22
- type: LOAD_PROJECT,
71
+ type: _constants.LOAD_PROJECT,
23
72
  sceneJSON: sceneJSON,
24
73
  categoryData: categoryData
25
74
  };
26
75
  }
27
- export function newProject() {
76
+ function newProject() {
28
77
  return {
29
- type: NEW_PROJECT
78
+ type: _constants.NEW_PROJECT
30
79
  };
31
80
  }
32
- export function saveProject() {
81
+ function saveProject() {
33
82
  return {
34
- type: SAVE_PROJECT
83
+ type: _constants.SAVE_PROJECT
35
84
  };
36
85
  }
37
- export function openCatalog() {
86
+ function openCatalog() {
38
87
  return {
39
- type: OPEN_CATALOG
88
+ type: _constants.OPEN_CATALOG
40
89
  };
41
90
  }
42
- export function changeCatalogPage(newPage, oldPage) {
91
+ function changeCatalogPage(newPage, oldPage) {
43
92
  return {
44
- type: CHANGE_CATALOG_PAGE,
93
+ type: _constants.CHANGE_CATALOG_PAGE,
45
94
  newPage: newPage,
46
95
  oldPage: oldPage
47
96
  };
48
97
  }
49
- export function goBackToCatalogPage(newPage) {
98
+ function goBackToCatalogPage(newPage) {
50
99
  return {
51
- type: GO_BACK_TO_CATALOG_PAGE,
100
+ type: _constants.GO_BACK_TO_CATALOG_PAGE,
52
101
  newPage: newPage
53
102
  };
54
103
  }
55
- export function selectToolEdit() {
104
+ function selectToolEdit() {
56
105
  return {
57
- type: SELECT_TOOL_EDIT
106
+ type: _constants.SELECT_TOOL_EDIT
58
107
  };
59
108
  }
60
- export function unselectAll() {
109
+ function unselectAll() {
61
110
  return {
62
- type: UNSELECT_ALL
111
+ type: _constants.UNSELECT_ALL
63
112
  };
64
113
  }
65
- export function setProperties(properties) {
114
+ function setProperties(properties) {
66
115
  return {
67
- type: SET_PROPERTIES,
116
+ type: _constants.SET_PROPERTIES,
68
117
  properties: properties
69
118
  };
70
119
  }
71
- export function setItemsAttributes(itemsAttributes) {
120
+ function setItemsAttributes(itemsAttributes) {
72
121
  itemsAttributes = itemsAttributes.set('rotation', parseFloat(itemsAttributes.get('rotation')));
73
122
  return {
74
- type: SET_ITEMS_ATTRIBUTES,
123
+ type: _constants.SET_ITEMS_ATTRIBUTES,
75
124
  itemsAttributes: itemsAttributes
76
125
  };
77
126
  }
78
- export function setLinesAttributes(linesAttributes) {
127
+ function setLinesAttributes(linesAttributes) {
79
128
  var isDirect = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
80
129
  var directData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
81
130
  linesAttributes = linesAttributes.withMutations(function (attributes) {
@@ -85,197 +134,197 @@ export function setLinesAttributes(linesAttributes) {
85
134
  attributes.setIn(['vertexTwo', 'y'], parseFloat(linesAttributes.getIn(['vertexTwo', 'y'])));
86
135
  });
87
136
  return {
88
- type: SET_LINES_ATTRIBUTES,
137
+ type: _constants.SET_LINES_ATTRIBUTES,
89
138
  linesAttributes: linesAttributes,
90
139
  isDirect: isDirect,
91
140
  directData: directData
92
141
  };
93
142
  }
94
- export function setHolesAttributes(holesAttributes) {
143
+ function setHolesAttributes(holesAttributes) {
95
144
  holesAttributes = holesAttributes.set('offset', parseFloat(holesAttributes.get('offset')));
96
145
  return {
97
- type: SET_HOLES_ATTRIBUTES,
146
+ type: _constants.SET_HOLES_ATTRIBUTES,
98
147
  holesAttributes: holesAttributes
99
148
  };
100
149
  }
101
- export function remove() {
150
+ function remove() {
102
151
  return {
103
- type: REMOVE
152
+ type: _constants.REMOVE
104
153
  };
105
154
  }
106
- export function undo() {
155
+ function undo() {
107
156
  return {
108
- type: UNDO
157
+ type: _constants.UNDO
109
158
  };
110
159
  }
111
- export function redo() {
160
+ function redo() {
112
161
  return {
113
- type: REDO
162
+ type: _constants.REDO
114
163
  };
115
164
  }
116
- export function uncreate() {
165
+ function uncreate() {
117
166
  return {
118
- type: UNCREATE
167
+ type: _constants.UNCREATE
119
168
  };
120
169
  }
121
- export function rename(name) {
170
+ function rename(name) {
122
171
  return {
123
- type: PROJECT_RE_NAME,
172
+ type: _constants.PROJECT_RE_NAME,
124
173
  name: name
125
174
  };
126
175
  }
127
- export function recreate() {
176
+ function recreate() {
128
177
  return {
129
- type: RECREATE
178
+ type: _constants.RECREATE
130
179
  };
131
180
  }
132
- export function shift2doff() {
181
+ function shift2doff() {
133
182
  return {
134
- type: SHIFT2DOFF
183
+ type: _constants.SHIFT2DOFF
135
184
  };
136
185
  }
137
- export function shift2don() {
186
+ function shift2don() {
138
187
  return {
139
- type: SHIFT2DON
188
+ type: _constants.SHIFT2DON
140
189
  };
141
190
  }
142
- export function rollback() {
191
+ function rollback() {
143
192
  return {
144
- type: ROLLBACK
193
+ type: _constants.ROLLBACK
145
194
  };
146
195
  }
147
- export function openProjectConfigurator() {
196
+ function openProjectConfigurator() {
148
197
  return {
149
- type: OPEN_PROJECT_CONFIGURATOR
198
+ type: _constants.OPEN_PROJECT_CONFIGURATOR
150
199
  };
151
200
  }
152
- export function setProjectProperties(properties) {
201
+ function setProjectProperties(properties) {
153
202
  return {
154
- type: SET_PROJECT_PROPERTIES,
203
+ type: _constants.SET_PROJECT_PROPERTIES,
155
204
  properties: properties
156
205
  };
157
206
  }
158
- export function setProjectID(id) {
207
+ function setProjectID(id) {
159
208
  return {
160
- type: SET_PROJECT_ID,
209
+ type: _constants.SET_PROJECT_ID,
161
210
  id: id
162
211
  };
163
212
  }
164
- export function initCatalog(catalog) {
213
+ function initCatalog(catalog) {
165
214
  return {
166
- type: INIT_CATALOG,
215
+ type: _constants.INIT_CATALOG,
167
216
  catalog: catalog
168
217
  };
169
218
  }
170
- export function updateMouseCoord() {
219
+ function updateMouseCoord() {
171
220
  var coords = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
172
221
  x: x,
173
222
  y: y
174
223
  };
175
224
  return {
176
- type: UPDATE_MOUSE_COORDS,
225
+ type: _constants.UPDATE_MOUSE_COORDS,
177
226
  coords: coords
178
227
  };
179
228
  }
180
- export function updateZoomScale(scale) {
229
+ function updateZoomScale(scale) {
181
230
  return {
182
- type: UPDATE_ZOOM_SCALE,
231
+ type: _constants.UPDATE_ZOOM_SCALE,
183
232
  scale: scale
184
233
  };
185
234
  }
186
- export function toggleSnap(mask) {
235
+ function toggleSnap(mask) {
187
236
  return {
188
- type: TOGGLE_SNAP,
237
+ type: _constants.TOGGLE_SNAP,
189
238
  mask: mask
190
239
  };
191
240
  }
192
- export function throwError(error) {
241
+ function throwError(error) {
193
242
  return {
194
- type: THROW_ERROR,
243
+ type: _constants.THROW_ERROR,
195
244
  error: error
196
245
  };
197
246
  }
198
- export function throwWarning(warning) {
247
+ function throwWarning(warning) {
199
248
  return {
200
- type: THROW_WARNING,
249
+ type: _constants.THROW_WARNING,
201
250
  warning: warning
202
251
  };
203
252
  }
204
- export function copyProperties(properties) {
253
+ function copyProperties(properties) {
205
254
  return {
206
- type: COPY_PROPERTIES,
255
+ type: _constants.COPY_PROPERTIES,
207
256
  properties: properties
208
257
  };
209
258
  }
210
- export function pasteProperties() {
259
+ function pasteProperties() {
211
260
  return {
212
- type: PASTE_PROPERTIES
261
+ type: _constants.PASTE_PROPERTIES
213
262
  };
214
263
  }
215
- export function pushLastSelectedCatalogElementToHistory(element) {
264
+ function pushLastSelectedCatalogElementToHistory(element) {
216
265
  return {
217
- type: PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY,
266
+ type: _constants.PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY,
218
267
  element: element
219
268
  };
220
269
  }
221
- export function setAlterateState() {
270
+ function setAlterateState() {
222
271
  return {
223
- type: ALTERATE_STATE
272
+ type: _constants.ALTERATE_STATE
224
273
  };
225
274
  }
226
- export function setMode(mode) {
275
+ function setMode(mode) {
227
276
  return {
228
- type: SET_MODE,
277
+ type: _constants.SET_MODE,
229
278
  mode: mode
230
279
  };
231
280
  }
232
- export function addHorizontalGuide(coordinate) {
281
+ function addHorizontalGuide(coordinate) {
233
282
  return {
234
- type: ADD_HORIZONTAL_GUIDE,
283
+ type: _constants.ADD_HORIZONTAL_GUIDE,
235
284
  coordinate: coordinate
236
285
  };
237
286
  }
238
- export function addVerticalGuide(coordinate) {
287
+ function addVerticalGuide(coordinate) {
239
288
  return {
240
- type: ADD_VERTICAL_GUIDE,
289
+ type: _constants.ADD_VERTICAL_GUIDE,
241
290
  coordinate: coordinate
242
291
  };
243
292
  }
244
- export function addCircularGuide(x, y, radius) {
293
+ function addCircularGuide(x, y, radius) {
245
294
  return {
246
- type: ADD_CIRCULAR_GUIDE,
295
+ type: _constants.ADD_CIRCULAR_GUIDE,
247
296
  x: x,
248
297
  y: y,
249
298
  radius: radius
250
299
  };
251
300
  }
252
- export function removeHorizontalGuide(guideID) {
301
+ function removeHorizontalGuide(guideID) {
253
302
  return {
254
- type: REMOVE_HORIZONTAL_GUIDE,
303
+ type: _constants.REMOVE_HORIZONTAL_GUIDE,
255
304
  guideID: guideID
256
305
  };
257
306
  }
258
- export function removeVerticalGuide(guideID) {
307
+ function removeVerticalGuide(guideID) {
259
308
  return {
260
- type: REMOVE_VERTICAL_GUIDE,
309
+ type: _constants.REMOVE_VERTICAL_GUIDE,
261
310
  guideID: guideID
262
311
  };
263
312
  }
264
- export function removeCircularGuide(guideID) {
313
+ function removeCircularGuide(guideID) {
265
314
  return {
266
- type: REMOVE_CIRCULAR_GUIDE,
315
+ type: _constants.REMOVE_CIRCULAR_GUIDE,
267
316
  guideID: guideID
268
317
  };
269
318
  }
270
- export function removeDrawingSupport() {
319
+ function removeDrawingSupport() {
271
320
  return {
272
- type: REMOVE_DRAWING_SUPPORT
321
+ type: _constants.REMOVE_DRAWING_SUPPORT
273
322
  };
274
323
  }
275
- export function selectAll() {
324
+ function selectAll() {
276
325
  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
277
326
  return {
278
- type: SELECT_ALL,
327
+ type: _constants.SELECT_ALL,
279
328
  value: value
280
329
  };
281
330
  }
@@ -1,33 +1,41 @@
1
- import { SELECT_LAYER, ADD_LAYER, SET_LAYER_PROPERTIES, REMOVE_LAYER, UPDATE_MOVING_STATE } from "../constants";
2
- export function selectLayer(layerID) {
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.addLayer = addLayer;
5
+ exports.removeLayer = removeLayer;
6
+ exports.selectLayer = selectLayer;
7
+ exports.setLayerProperties = setLayerProperties;
8
+ exports.updateMovingState = updateMovingState;
9
+ var _constants = require("../constants");
10
+ function selectLayer(layerID) {
3
11
  return {
4
- type: SELECT_LAYER,
12
+ type: _constants.SELECT_LAYER,
5
13
  layerID: layerID
6
14
  };
7
15
  }
8
- export function addLayer(name, altitude) {
16
+ function addLayer(name, altitude) {
9
17
  return {
10
- type: ADD_LAYER,
18
+ type: _constants.ADD_LAYER,
11
19
  name: name,
12
20
  altitude: altitude
13
21
  };
14
22
  }
15
- export function setLayerProperties(layerID, properties) {
23
+ function setLayerProperties(layerID, properties) {
16
24
  return {
17
- type: SET_LAYER_PROPERTIES,
25
+ type: _constants.SET_LAYER_PROPERTIES,
18
26
  layerID: layerID,
19
27
  properties: properties
20
28
  };
21
29
  }
22
- export function removeLayer(layerID) {
30
+ function removeLayer(layerID) {
23
31
  return {
24
- type: REMOVE_LAYER,
32
+ type: _constants.REMOVE_LAYER,
25
33
  layerID: layerID
26
34
  };
27
35
  }
28
- export function updateMovingState(showflag) {
36
+ function updateMovingState(showflag) {
29
37
  return {
30
- type: UPDATE_MOVING_STATE,
38
+ type: _constants.UPDATE_MOVING_STATE,
31
39
  showflag: showflag
32
40
  };
33
41
  }
@@ -1,7 +1,13 @@
1
- import { BEGIN_DRAGGING_VERTEX, UPDATE_DRAGGING_VERTEX, END_DRAGGING_VERTEX } from "../constants";
2
- export function beginDraggingVertex(layerID, vertexID, x, y, snapMask) {
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.beginDraggingVertex = beginDraggingVertex;
5
+ exports.endDraggingVertex = endDraggingVertex;
6
+ exports.updateDraggingVertex = updateDraggingVertex;
7
+ var _constants = require("../constants");
8
+ function beginDraggingVertex(layerID, vertexID, x, y, snapMask) {
3
9
  return {
4
- type: BEGIN_DRAGGING_VERTEX,
10
+ type: _constants.BEGIN_DRAGGING_VERTEX,
5
11
  layerID: layerID,
6
12
  vertexID: vertexID,
7
13
  x: x,
@@ -9,17 +15,17 @@ export function beginDraggingVertex(layerID, vertexID, x, y, snapMask) {
9
15
  snapMask: snapMask
10
16
  };
11
17
  }
12
- export function updateDraggingVertex(x, y, snapMask) {
18
+ function updateDraggingVertex(x, y, snapMask) {
13
19
  return {
14
- type: UPDATE_DRAGGING_VERTEX,
20
+ type: _constants.UPDATE_DRAGGING_VERTEX,
15
21
  x: x,
16
22
  y: y,
17
23
  snapMask: snapMask
18
24
  };
19
25
  }
20
- export function endDraggingVertex(x, y, snapMask) {
26
+ function endDraggingVertex(x, y, snapMask) {
21
27
  return {
22
- type: END_DRAGGING_VERTEX,
28
+ type: _constants.END_DRAGGING_VERTEX,
23
29
  x: x,
24
30
  y: y,
25
31
  snapMask: snapMask
@@ -1,58 +1,71 @@
1
- import { UPDATE_CEIL_HEIGHT_UNIT, UPDATE_CEIL_HEIGHT, UPDATE_2D_CAMERA, SELECT_TOOL_PAN, SELECT_TOOL_ZOOM_IN, SELECT_TOOL_ZOOM_OUT, CHANGE_WALL_LENGTH_MEASURE, CHANGE_BASE_CABINET_MEASURE, CHANGE_WALL_CABINET_MEASURE, CHANGE_WINDOW_DOOR_MEASURE } from "../constants";
2
- export function updateCeilHeight(value) {
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.changeBaseCabinetMeasure = changeBaseCabinetMeasure;
5
+ exports.changeWallCabinetMeasure = changeWallCabinetMeasure;
6
+ exports.changeWallLengthMeasure = changeWallLengthMeasure;
7
+ exports.changeWindowDoorMeasure = changeWindowDoorMeasure;
8
+ exports.selectToolPan = selectToolPan;
9
+ exports.selectToolZoomIn = selectToolZoomIn;
10
+ exports.selectToolZoomOut = selectToolZoomOut;
11
+ exports.updateCameraView = updateCameraView;
12
+ exports.updateCeilHeight = updateCeilHeight;
13
+ exports.updateCeilHeightUnit = updateCeilHeightUnit;
14
+ var _constants = require("../constants");
15
+ function updateCeilHeight(value) {
3
16
  return {
4
- type: UPDATE_CEIL_HEIGHT,
17
+ type: _constants.UPDATE_CEIL_HEIGHT,
5
18
  value: value
6
19
  };
7
20
  }
8
- export function updateCeilHeightUnit(value) {
21
+ function updateCeilHeightUnit(value) {
9
22
  return {
10
- type: UPDATE_CEIL_HEIGHT_UNIT,
23
+ type: _constants.UPDATE_CEIL_HEIGHT_UNIT,
11
24
  value: value
12
25
  };
13
26
  }
14
- export function updateCameraView(value) {
27
+ function updateCameraView(value) {
15
28
  return {
16
- type: UPDATE_2D_CAMERA,
29
+ type: _constants.UPDATE_2D_CAMERA,
17
30
  value: value
18
31
  };
19
32
  }
20
- export function changeWallLengthMeasure(value) {
33
+ function changeWallLengthMeasure(value) {
21
34
  return {
22
- type: CHANGE_WALL_LENGTH_MEASURE,
35
+ type: _constants.CHANGE_WALL_LENGTH_MEASURE,
23
36
  value: value
24
37
  };
25
38
  }
26
- export function changeBaseCabinetMeasure(value) {
39
+ function changeBaseCabinetMeasure(value) {
27
40
  return {
28
- type: CHANGE_BASE_CABINET_MEASURE,
41
+ type: _constants.CHANGE_BASE_CABINET_MEASURE,
29
42
  value: value
30
43
  };
31
44
  }
32
- export function changeWallCabinetMeasure(value) {
45
+ function changeWallCabinetMeasure(value) {
33
46
  return {
34
- type: CHANGE_WALL_CABINET_MEASURE,
47
+ type: _constants.CHANGE_WALL_CABINET_MEASURE,
35
48
  value: value
36
49
  };
37
50
  }
38
- export function changeWindowDoorMeasure(value) {
51
+ function changeWindowDoorMeasure(value) {
39
52
  return {
40
- type: CHANGE_WINDOW_DOOR_MEASURE,
53
+ type: _constants.CHANGE_WINDOW_DOOR_MEASURE,
41
54
  value: value
42
55
  };
43
56
  }
44
- export function selectToolPan() {
57
+ function selectToolPan() {
45
58
  return {
46
- type: SELECT_TOOL_PAN
59
+ type: _constants.SELECT_TOOL_PAN
47
60
  };
48
61
  }
49
- export function selectToolZoomOut() {
62
+ function selectToolZoomOut() {
50
63
  return {
51
- type: SELECT_TOOL_ZOOM_OUT
64
+ type: _constants.SELECT_TOOL_ZOOM_OUT
52
65
  };
53
66
  }
54
- export function selectToolZoomIn() {
67
+ function selectToolZoomIn() {
55
68
  return {
56
- type: SELECT_TOOL_ZOOM_IN
69
+ type: _constants.SELECT_TOOL_ZOOM_IN
57
70
  };
58
71
  }
@@ -1,23 +1,30 @@
1
- import { UPDATE_3D_CEIL_HEIGHT_UNIT, UPDATE_3D_CEIL_HEIGHT, SELECT_TOOL_3D_VIEW, SELECT_TOOL_3D_FIRST_PERSON } from "../constants";
2
- export function selectTool3DView() {
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.selectTool3DFirstPerson = selectTool3DFirstPerson;
5
+ exports.selectTool3DView = selectTool3DView;
6
+ exports.update3DCeilHeight = update3DCeilHeight;
7
+ exports.update3DCeilHeightUnit = update3DCeilHeightUnit;
8
+ var _constants = require("../constants");
9
+ function selectTool3DView() {
3
10
  return {
4
- type: SELECT_TOOL_3D_VIEW
11
+ type: _constants.SELECT_TOOL_3D_VIEW
5
12
  };
6
13
  }
7
- export function selectTool3DFirstPerson() {
14
+ function selectTool3DFirstPerson() {
8
15
  return {
9
- type: SELECT_TOOL_3D_FIRST_PERSON
16
+ type: _constants.SELECT_TOOL_3D_FIRST_PERSON
10
17
  };
11
18
  }
12
- export function update3DCeilHeight(value) {
19
+ function update3DCeilHeight(value) {
13
20
  return {
14
- type: UPDATE_3D_CEIL_HEIGHT,
21
+ type: _constants.UPDATE_3D_CEIL_HEIGHT,
15
22
  value: value
16
23
  };
17
24
  }
18
- export function update3DCeilHeightUnit(value) {
25
+ function update3DCeilHeightUnit(value) {
19
26
  return {
20
- type: UPDATE_3D_CEIL_HEIGHT_UNIT,
27
+ type: _constants.UPDATE_3D_CEIL_HEIGHT_UNIT,
21
28
  value: value
22
29
  };
23
30
  }