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

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 (188) hide show
  1. package/es/@history.js +2 -8
  2. package/es/AppContext.js +3 -8
  3. package/es/KitchenConfigurator.js +70 -77
  4. package/es/KitchenConfiguratorApp.js +98 -105
  5. package/es/actions/area-actions.js +5 -10
  6. package/es/actions/export.js +12 -27
  7. package/es/actions/groups-actions.js +27 -43
  8. package/es/actions/holes-actions.js +34 -53
  9. package/es/actions/items-actions.js +94 -143
  10. package/es/actions/lines-actions.js +21 -34
  11. package/es/actions/project-actions.js +94 -143
  12. package/es/actions/scene-actions.js +11 -19
  13. package/es/actions/vertices-actions.js +7 -13
  14. package/es/actions/viewer2d-actions.js +21 -34
  15. package/es/actions/viewer3d-actions.js +9 -16
  16. package/es/catalog/areas/area/planner-element.js +2 -7
  17. package/es/catalog/catalog.js +15 -19
  18. package/es/catalog/factories/area-factory-3d.js +22 -29
  19. package/es/catalog/factories/area-factory.js +11 -18
  20. package/es/catalog/factories/export.js +6 -12
  21. package/es/catalog/factories/wall-factory-3d.js +31 -39
  22. package/es/catalog/factories/wall-factory.js +21 -29
  23. package/es/catalog/holes/door-closet/planner-element.js +15 -22
  24. package/es/catalog/holes/door-double/planner-element.js +15 -22
  25. package/es/catalog/holes/door-exterior/planner-element.js +16 -23
  26. package/es/catalog/holes/door-interior/planner-element.js +16 -23
  27. package/es/catalog/holes/door-panic/planner-element.js +7 -14
  28. package/es/catalog/holes/door-panic-double/planner-element.js +15 -22
  29. package/es/catalog/holes/door-sliding/planner-element.js +16 -23
  30. package/es/catalog/holes/doorway-framed/planner-element.js +11 -18
  31. package/es/catalog/holes/doorway-frameless/planner-element.js +7 -14
  32. package/es/catalog/holes/export.js +13 -31
  33. package/es/catalog/holes/window-clear/planner-element.js +10 -17
  34. package/es/catalog/holes/window-cross/planner-element.js +10 -17
  35. package/es/catalog/holes/window-double-hung/planner-element.js +10 -17
  36. package/es/catalog/holes/window-vertical/planner-element.js +10 -17
  37. package/es/catalog/lines/wall/planner-element.js +2 -7
  38. package/es/catalog/molding/molding-dcm/planner-element.js +5 -12
  39. package/es/catalog/molding/molding-fbm/planner-element.js +5 -12
  40. package/es/catalog/molding/molding-lrm/planner-element.js +5 -12
  41. package/es/catalog/properties/export.js +20 -33
  42. package/es/catalog/properties/property-checkbox.js +24 -29
  43. package/es/catalog/properties/property-color.js +16 -21
  44. package/es/catalog/properties/property-enum.js +24 -29
  45. package/es/catalog/properties/property-hidden.js +9 -14
  46. package/es/catalog/properties/property-lenght-measure.js +38 -43
  47. package/es/catalog/properties/property-length-measure.js +36 -41
  48. package/es/catalog/properties/property-length-measure_hole.js +38 -43
  49. package/es/catalog/properties/property-number.js +17 -22
  50. package/es/catalog/properties/property-read-only.js +16 -21
  51. package/es/catalog/properties/property-string.js +16 -21
  52. package/es/catalog/properties/property-toggle.js +16 -21
  53. package/es/catalog/properties/shared-property-style.js +1 -5
  54. package/es/catalog/utils/FuseUtils.js +8 -13
  55. package/es/catalog/utils/exporter.js +8 -13
  56. package/es/catalog/utils/geom-utils.js +13 -27
  57. package/es/catalog/utils/item-loader.js +84 -95
  58. package/es/catalog/utils/load-obj.js +20 -26
  59. package/es/catalog/utils/mtl-loader.js +3 -6
  60. package/es/catalog/utils/obj-loader.js +3 -6
  61. package/es/class/FuseUtils.js +8 -13
  62. package/es/class/area.js +22 -26
  63. package/es/class/export.js +23 -38
  64. package/es/class/group.js +53 -57
  65. package/es/class/guide.js +15 -19
  66. package/es/class/hole.js +83 -87
  67. package/es/class/item.js +141 -145
  68. package/es/class/layer.js +59 -63
  69. package/es/class/line.js +135 -141
  70. package/es/class/project.js +90 -96
  71. package/es/class/vertex.js +29 -33
  72. package/es/components/content.js +19 -26
  73. package/es/components/disclaimer/disclaimer.js +10 -16
  74. package/es/components/export.js +8 -15
  75. package/es/components/style/button.js +23 -29
  76. package/es/components/style/cancel-button.js +7 -12
  77. package/es/components/style/content-container.js +9 -14
  78. package/es/components/style/content-title.js +11 -18
  79. package/es/components/style/delete-button.js +8 -15
  80. package/es/components/style/export.js +30 -48
  81. package/es/components/style/form-block.js +8 -13
  82. package/es/components/style/form-color-input.js +7 -12
  83. package/es/components/style/form-label.js +8 -13
  84. package/es/components/style/form-number-input.js +41 -47
  85. package/es/components/style/form-number-input_2.js +36 -42
  86. package/es/components/style/form-select.js +17 -22
  87. package/es/components/style/form-slider.js +10 -15
  88. package/es/components/style/form-submit-button.js +8 -15
  89. package/es/components/style/form-text-input.js +26 -32
  90. package/es/components/viewer2d/area.js +17 -22
  91. package/es/components/viewer2d/export.js +30 -48
  92. package/es/components/viewer2d/grids/grid-horizontal-streak.js +10 -15
  93. package/es/components/viewer2d/grids/grid-streak.js +10 -15
  94. package/es/components/viewer2d/grids/grid-vertical-streak.js +10 -15
  95. package/es/components/viewer2d/grids/grids.js +10 -17
  96. package/es/components/viewer2d/group.js +15 -22
  97. package/es/components/viewer2d/item.js +61 -68
  98. package/es/components/viewer2d/layer.js +23 -28
  99. package/es/components/viewer2d/line.js +101 -109
  100. package/es/components/viewer2d/ruler.js +22 -27
  101. package/es/components/viewer2d/rulerDist.js +21 -26
  102. package/es/components/viewer2d/rulerX.js +39 -45
  103. package/es/components/viewer2d/rulerY.js +37 -43
  104. package/es/components/viewer2d/scene.js +30 -36
  105. package/es/components/viewer2d/snap.js +13 -20
  106. package/es/components/viewer2d/state.js +18 -25
  107. package/es/components/viewer2d/utils.js +24 -35
  108. package/es/components/viewer2d/vertex.js +8 -15
  109. package/es/components/viewer2d/viewer2d.js +153 -161
  110. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +17 -21
  111. package/es/components/viewer3d/dcm.js +1 -5
  112. package/es/components/viewer3d/fbm.js +1 -5
  113. package/es/components/viewer3d/front3D.js +12 -19
  114. package/es/components/viewer3d/grid-creator.js +8 -15
  115. package/es/components/viewer3d/grids/grid-horizontal-streak.js +6 -12
  116. package/es/components/viewer3d/grids/grid-streak.js +5 -11
  117. package/es/components/viewer3d/grids/grid-vertical-streak.js +6 -12
  118. package/es/components/viewer3d/libs/first-person-controls.js +2 -7
  119. package/es/components/viewer3d/libs/helvetiker_regular.typeface.js +1 -5
  120. package/es/components/viewer3d/libs/mtl-loader.js +1 -5
  121. package/es/components/viewer3d/libs/obj-loader.js +1 -5
  122. package/es/components/viewer3d/libs/orbit-controls.js +2 -6
  123. package/es/components/viewer3d/libs/pointer-lock-controls.js +2 -6
  124. package/es/components/viewer3d/lrm.js +1 -5
  125. package/es/components/viewer3d/model.js +1 -5
  126. package/es/components/viewer3d/pointer-lock-navigation.js +3 -8
  127. package/es/components/viewer3d/ruler-utils/itemRect.js +18 -23
  128. package/es/components/viewer3d/ruler-utils/layer3D.js +59 -64
  129. package/es/components/viewer3d/ruler-utils/ruler3D.js +39 -44
  130. package/es/components/viewer3d/ruler-utils/scene3D.js +9 -15
  131. package/es/components/viewer3d/ruler-utils/state3D.js +4 -9
  132. package/es/components/viewer3d/scene-creator.js +191 -224
  133. package/es/components/viewer3d/three-memory-cleaner.js +3 -10
  134. package/es/components/viewer3d/viewer3d-first-person.js +40 -44
  135. package/es/components/viewer3d/viewer3d.js +196 -200
  136. package/es/constants.js +349 -356
  137. package/es/index.js +7 -13
  138. package/es/models.js +177 -182
  139. package/es/plugins/SVGLoader.js +48 -51
  140. package/es/plugins/autosave.js +3 -7
  141. package/es/plugins/console-debugger.js +5 -10
  142. package/es/plugins/export.js +8 -15
  143. package/es/plugins/keyboard.js +29 -33
  144. package/es/reducers/areas-reducer.js +7 -11
  145. package/es/reducers/export.js +24 -39
  146. package/es/reducers/groups-reducer.js +31 -35
  147. package/es/reducers/holes-reducer.js +43 -47
  148. package/es/reducers/items-reducer.js +106 -110
  149. package/es/reducers/lines-reducer.js +28 -32
  150. package/es/reducers/project-reducer.js +105 -109
  151. package/es/reducers/reducer.js +16 -21
  152. package/es/reducers/scene-reducer.js +15 -19
  153. package/es/reducers/user-reducer.js +5 -9
  154. package/es/reducers/vertices-reducer.js +11 -15
  155. package/es/reducers/viewer2d-reducer.js +18 -22
  156. package/es/reducers/viewer3d-reducer.js +16 -20
  157. package/es/shared-style.js +10 -14
  158. package/es/styles/export.js +3 -9
  159. package/es/translator/en.js +1 -5
  160. package/es/translator/it.js +1 -5
  161. package/es/translator/ru.js +1 -5
  162. package/es/translator/translator.js +13 -17
  163. package/es/utils/browser.js +2 -7
  164. package/es/utils/convert-units-lite.js +1 -5
  165. package/es/utils/email-validator.js +1 -5
  166. package/es/utils/export.js +15 -32
  167. package/es/utils/geometry.js +181 -276
  168. package/es/utils/get-edges-of-subgraphs.js +2 -7
  169. package/es/utils/graph-cycles.js +8 -9
  170. package/es/utils/graph-inner-cycles.js +10 -16
  171. package/es/utils/graph.js +9 -15
  172. package/es/utils/helper.js +39 -61
  173. package/es/utils/history.js +8 -13
  174. package/es/utils/id-broker.js +8 -13
  175. package/es/utils/logger.js +1 -5
  176. package/es/utils/math.js +5 -10
  177. package/es/utils/molding.js +119 -142
  178. package/es/utils/name-generator.js +7 -11
  179. package/es/utils/objects-utils.js +7 -17
  180. package/es/utils/phone-validator.js +1 -5
  181. package/es/utils/process-black-list.js +3 -8
  182. package/es/utils/react-if.js +6 -10
  183. package/es/utils/snap-scene.js +27 -32
  184. package/es/utils/snap.js +45 -57
  185. package/es/utils/summarizeCart.js +1 -5
  186. package/es/utils/threeCSG.es6.js +13 -20
  187. package/es/version.js +1 -5
  188. package/package.json +1 -1
@@ -1,132 +1,128 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = _default;
5
- var _export = require("../utils/export");
6
- var _constants = require("../constants");
7
- var _export2 = require("../class/export");
8
- function _default(state, action) {
1
+ import { history } from "../utils/export";
2
+ import { ADD_CIRCULAR_GUIDE, ADD_HORIZONTAL_GUIDE, ADD_VERTICAL_GUIDE, ALTERATE_STATE, CHANGE_CATALOG_PAGE, COPY_PROPERTIES, GO_BACK_TO_CATALOG_PAGE, INIT_CATALOG, LOAD_PROJECT, MODE_DRAWING_LINE, MODE_IDLE, NEW_PROJECT, OPEN_CATALOG, OPEN_PROJECT_CONFIGURATOR, PASTE_PROPERTIES, PROJECT_RE_NAME, PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY, RECREATE, REDO, REMOVE, REMOVE_CIRCULAR_GUIDE, REMOVE_DRAWING_SUPPORT, REMOVE_HORIZONTAL_GUIDE, REMOVE_VERTICAL_GUIDE, ROLLBACK, SELECT_ALL, SELECT_TOOL_EDIT, SET_HOLES_ATTRIBUTES, SET_IS_CABINET_DRAWING, SET_IS_HELP, SET_ITEMS_ATTRIBUTES, SET_LINES_ATTRIBUTES, SET_MODE, SET_PROJECT_ID, SET_PROJECT_PROPERTIES, SET_PROPERTIES, SET_STATE_PROPERTIES, SHIFT2DOFF, SHIFT2DON, THROW_ERROR, THROW_WARNING, TOGGLE_SNAP, UNCREATE, UNDO, UNSELECT_ALL, UPDATE_MOUSE_COORDS, UPDATE_ZOOM_SCALE } from "../constants";
3
+ import { Project } from "../class/export";
4
+ export default function (state, action) {
9
5
  switch (action.type) {
10
- case _constants.NEW_PROJECT:
11
- return _export2.Project.newProject(state).updatedState;
12
- case _constants.LOAD_PROJECT:
13
- return _export2.Project.loadProject(state, action.sceneJSON, action.categoryData).updatedState;
14
- case _constants.OPEN_CATALOG:
15
- return _export2.Project.openCatalog(state).updatedState;
16
- case _constants.CHANGE_CATALOG_PAGE:
17
- return _export2.Project.changeCatalogPage(state, action.oldPage, action.newPage).updatedState;
18
- case _constants.GO_BACK_TO_CATALOG_PAGE:
19
- return _export2.Project.goBackToCatalogPage(state, action.newPage).updatedState;
20
- case _constants.SELECT_TOOL_EDIT:
21
- return _export2.Project.setMode(state, _constants.MODE_IDLE).updatedState;
22
- case _constants.UNSELECT_ALL:
23
- return _export2.Project.unselectAll(state).updatedState;
24
- case _constants.SELECT_ALL:
25
- return _export2.Project.selectAll(state, action.value).updatedState;
26
- case _constants.SET_PROPERTIES:
6
+ case NEW_PROJECT:
7
+ return Project.newProject(state).updatedState;
8
+ case LOAD_PROJECT:
9
+ return Project.loadProject(state, action.sceneJSON, action.categoryData).updatedState;
10
+ case OPEN_CATALOG:
11
+ return Project.openCatalog(state).updatedState;
12
+ case CHANGE_CATALOG_PAGE:
13
+ return Project.changeCatalogPage(state, action.oldPage, action.newPage).updatedState;
14
+ case GO_BACK_TO_CATALOG_PAGE:
15
+ return Project.goBackToCatalogPage(state, action.newPage).updatedState;
16
+ case SELECT_TOOL_EDIT:
17
+ return Project.setMode(state, MODE_IDLE).updatedState;
18
+ case UNSELECT_ALL:
19
+ return Project.unselectAll(state).updatedState;
20
+ case SELECT_ALL:
21
+ return Project.selectAll(state, action.value).updatedState;
22
+ case SET_PROPERTIES:
27
23
  state = state.merge({
28
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
24
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
29
25
  });
30
- return _export2.Project.setProperties(state, state.getIn(['scene', 'selectedLayer']), action.properties).updatedState;
31
- case _constants.SET_ITEMS_ATTRIBUTES:
26
+ return Project.setProperties(state, state.getIn(['scene', 'selectedLayer']), action.properties).updatedState;
27
+ case SET_ITEMS_ATTRIBUTES:
32
28
  state = state.merge({
33
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
29
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
34
30
  });
35
- return _export2.Project.setItemsAttributes(state, action.itemsAttributes).updatedState;
36
- case _constants.SET_LINES_ATTRIBUTES:
37
- if (state.mode != _constants.MODE_DRAWING_LINE) state = state.merge({
38
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
31
+ return Project.setItemsAttributes(state, action.itemsAttributes).updatedState;
32
+ case SET_LINES_ATTRIBUTES:
33
+ if (state.mode != MODE_DRAWING_LINE) state = state.merge({
34
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
39
35
  });
40
- return _export2.Project.setLinesAttributes(state, action.linesAttributes, action.isDirect, action.directData).updatedState;
41
- case _constants.SET_HOLES_ATTRIBUTES:
36
+ return Project.setLinesAttributes(state, action.linesAttributes, action.isDirect, action.directData).updatedState;
37
+ case SET_HOLES_ATTRIBUTES:
42
38
  state = state.merge({
43
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
39
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
44
40
  });
45
- return _export2.Project.setHolesAttributes(state, action.holesAttributes).updatedState;
46
- case _constants.REMOVE:
41
+ return Project.setHolesAttributes(state, action.holesAttributes).updatedState;
42
+ case REMOVE:
47
43
  state = state.merge({
48
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
44
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
49
45
  });
50
- return _export2.Project.remove(state).updatedState;
51
- case _constants.UNDO:
52
- return _export2.Project.undo(state).updatedState;
53
- case _constants.REDO:
54
- return _export2.Project.redo(state).updatedState;
55
- case _constants.UNCREATE:
56
- return _export2.Project.uncreate(state).updatedState;
57
- case _constants.PROJECT_RE_NAME:
58
- return _export2.Project.rename(state, action.name).updatedState;
59
- case _constants.RECREATE:
60
- return _export2.Project.recreate(state).updatedState;
61
- case _constants.SHIFT2DOFF:
62
- return _export2.Project.shift2doff(state).updatedState;
63
- case _constants.SHIFT2DON:
64
- return _export2.Project.shift2don(state).updatedState;
65
- case _constants.ROLLBACK:
66
- return _export2.Project.rollback(state).updatedState;
67
- case _constants.SET_PROJECT_PROPERTIES:
46
+ return Project.remove(state).updatedState;
47
+ case UNDO:
48
+ return Project.undo(state).updatedState;
49
+ case REDO:
50
+ return Project.redo(state).updatedState;
51
+ case UNCREATE:
52
+ return Project.uncreate(state).updatedState;
53
+ case PROJECT_RE_NAME:
54
+ return Project.rename(state, action.name).updatedState;
55
+ case RECREATE:
56
+ return Project.recreate(state).updatedState;
57
+ case SHIFT2DOFF:
58
+ return Project.shift2doff(state).updatedState;
59
+ case SHIFT2DON:
60
+ return Project.shift2don(state).updatedState;
61
+ case ROLLBACK:
62
+ return Project.rollback(state).updatedState;
63
+ case SET_PROJECT_PROPERTIES:
68
64
  state = state.merge({
69
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
65
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
70
66
  });
71
- return _export2.Project.setProjectProperties(state, action.properties).updatedState;
72
- case _constants.SET_PROJECT_ID:
67
+ return Project.setProjectProperties(state, action.properties).updatedState;
68
+ case SET_PROJECT_ID:
73
69
  state = state.merge({
74
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
70
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
75
71
  });
76
- return _export2.Project.setProjectId(state, action.id).updatedState;
77
- case _constants.OPEN_PROJECT_CONFIGURATOR:
72
+ return Project.setProjectId(state, action.id).updatedState;
73
+ case OPEN_PROJECT_CONFIGURATOR:
78
74
  state = state.merge({
79
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
75
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
80
76
  });
81
- return _export2.Project.openProjectConfigurator(state).updatedState;
82
- case _constants.INIT_CATALOG:
83
- return _export2.Project.initCatalog(state, action.catalog).updatedState;
84
- case _constants.UPDATE_MOUSE_COORDS:
85
- return _export2.Project.updateMouseCoord(state, action.coords).updatedState;
86
- case _constants.UPDATE_ZOOM_SCALE:
87
- return _export2.Project.updateZoomScale(state, action.scale).updatedState;
88
- case _constants.TOGGLE_SNAP:
89
- return _export2.Project.toggleSnap(state, action.mask).updatedState;
90
- case _constants.THROW_ERROR:
91
- return _export2.Project.throwError(state, action.error).updatedState;
92
- case _constants.THROW_WARNING:
93
- return _export2.Project.throwWarning(state, action.warning).updatedState;
94
- case _constants.COPY_PROPERTIES:
95
- return _export2.Project.copyProperties(state, action.properties).updatedState;
96
- case _constants.PASTE_PROPERTIES:
77
+ return Project.openProjectConfigurator(state).updatedState;
78
+ case INIT_CATALOG:
79
+ return Project.initCatalog(state, action.catalog).updatedState;
80
+ case UPDATE_MOUSE_COORDS:
81
+ return Project.updateMouseCoord(state, action.coords).updatedState;
82
+ case UPDATE_ZOOM_SCALE:
83
+ return Project.updateZoomScale(state, action.scale).updatedState;
84
+ case TOGGLE_SNAP:
85
+ return Project.toggleSnap(state, action.mask).updatedState;
86
+ case THROW_ERROR:
87
+ return Project.throwError(state, action.error).updatedState;
88
+ case THROW_WARNING:
89
+ return Project.throwWarning(state, action.warning).updatedState;
90
+ case COPY_PROPERTIES:
91
+ return Project.copyProperties(state, action.properties).updatedState;
92
+ case PASTE_PROPERTIES:
97
93
  state = state.merge({
98
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
94
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
99
95
  });
100
- return _export2.Project.pasteProperties(state).updatedState;
101
- case _constants.PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY:
102
- return _export2.Project.pushLastSelectedCatalogElementToHistory(state, action.element).updatedState;
103
- case _constants.ALTERATE_STATE:
104
- return _export2.Project.setAlterate(state).updatedState;
105
- case _constants.SET_MODE:
106
- return _export2.Project.setMode(state, action.mode).updatedState;
107
- case _constants.ADD_HORIZONTAL_GUIDE:
96
+ return Project.pasteProperties(state).updatedState;
97
+ case PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY:
98
+ return Project.pushLastSelectedCatalogElementToHistory(state, action.element).updatedState;
99
+ case ALTERATE_STATE:
100
+ return Project.setAlterate(state).updatedState;
101
+ case SET_MODE:
102
+ return Project.setMode(state, action.mode).updatedState;
103
+ case ADD_HORIZONTAL_GUIDE:
108
104
  state = state.merge({
109
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
105
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
110
106
  });
111
- return _export2.Project.addHorizontalGuide(state, action.coordinate).updatedState;
112
- case _constants.ADD_VERTICAL_GUIDE:
113
- return _export2.Project.addVerticalGuide(state, action.coordinate).updatedState;
114
- case _constants.ADD_CIRCULAR_GUIDE:
115
- return _export2.Project.addCircularGuide(state, action.x, action.y, action.radius).updatedState;
116
- case _constants.REMOVE_HORIZONTAL_GUIDE:
117
- return _export2.Project.removeHorizontalGuide(state, action.guideID).updatedState;
118
- case _constants.REMOVE_VERTICAL_GUIDE:
119
- return _export2.Project.removeVerticalGuide(state, action.guideID).updatedState;
120
- case _constants.REMOVE_CIRCULAR_GUIDE:
121
- return _export2.Project.removeCircularGuide(state, action.guideID).updatedState;
122
- case _constants.REMOVE_DRAWING_SUPPORT:
123
- return _export2.Project.removeDrawingSupport(state).updatedState;
124
- case _constants.SET_STATE_PROPERTIES:
125
- return _export2.Project.setStateProperties(state, action.properties).updatedState;
126
- case _constants.SET_IS_HELP:
127
- return _export2.Project.setIsHelp(state, action.isHelp).updatedState;
128
- case _constants.SET_IS_CABINET_DRAWING:
129
- return _export2.Project.setIsCabinetDrawing(state, action.isCabinetDrawing).updatedState;
107
+ return Project.addHorizontalGuide(state, action.coordinate).updatedState;
108
+ case ADD_VERTICAL_GUIDE:
109
+ return Project.addVerticalGuide(state, action.coordinate).updatedState;
110
+ case ADD_CIRCULAR_GUIDE:
111
+ return Project.addCircularGuide(state, action.x, action.y, action.radius).updatedState;
112
+ case REMOVE_HORIZONTAL_GUIDE:
113
+ return Project.removeHorizontalGuide(state, action.guideID).updatedState;
114
+ case REMOVE_VERTICAL_GUIDE:
115
+ return Project.removeVerticalGuide(state, action.guideID).updatedState;
116
+ case REMOVE_CIRCULAR_GUIDE:
117
+ return Project.removeCircularGuide(state, action.guideID).updatedState;
118
+ case REMOVE_DRAWING_SUPPORT:
119
+ return Project.removeDrawingSupport(state).updatedState;
120
+ case SET_STATE_PROPERTIES:
121
+ return Project.setStateProperties(state, action.properties).updatedState;
122
+ case SET_IS_HELP:
123
+ return Project.setIsHelp(state, action.isHelp).updatedState;
124
+ case SET_IS_CABINET_DRAWING:
125
+ return Project.setIsCabinetDrawing(state, action.isCabinetDrawing).updatedState;
130
126
  default:
131
127
  return state;
132
128
  }
@@ -1,24 +1,19 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = appReducer;
5
- exports.initialState = void 0;
6
- var _constants = require("../constants");
7
- var _export = require("./export");
8
- var _models = require("../models");
9
- var initialState = exports.initialState = new _models.State();
10
- function appReducer(state, action) {
1
+ import { AREA_ACTIONS, GROUP_ACTIONS, HOLE_ACTIONS, ITEMS_ACTIONS, LINE_ACTIONS, PROJECT_ACTIONS, SCENE_ACTIONS, USER_ACTIONS, VERTEX_ACTIONS, VIEWER2D_ACTIONS, VIEWER3D_ACTIONS } from "../constants";
2
+ import { KitchenConfiguratorAreasReducer, KitchenConfiguratorGroupsReducer, KitchenConfiguratorHolesReducer, KitchenConfiguratorItemsReducer, KitchenConfiguratorLinesReducer, KitchenConfiguratorProjectReducer, KitchenConfiguratorSceneReducer, KitchenConfiguratorUserReducer, KitchenConfiguratorVerticesReducer, KitchenConfiguratorViewer2dReducer, KitchenConfiguratorViewer3dReducer } from "./export";
3
+ import { State } from "../models";
4
+ export var initialState = new State();
5
+ export default function appReducer(state, action) {
11
6
  // /////////
12
- if (_constants.PROJECT_ACTIONS[action.type]) return _export.KitchenConfiguratorProjectReducer.apply(void 0, arguments);
13
- if (_constants.VIEWER2D_ACTIONS[action.type]) return _export.KitchenConfiguratorViewer2dReducer.apply(void 0, arguments);
14
- if (_constants.VIEWER3D_ACTIONS[action.type]) return _export.KitchenConfiguratorViewer3dReducer.apply(void 0, arguments);
15
- if (_constants.ITEMS_ACTIONS[action.type]) return _export.KitchenConfiguratorItemsReducer.apply(void 0, arguments);
16
- if (_constants.HOLE_ACTIONS[action.type]) return _export.KitchenConfiguratorHolesReducer.apply(void 0, arguments);
17
- if (_constants.LINE_ACTIONS[action.type]) return _export.KitchenConfiguratorLinesReducer.apply(void 0, arguments);
18
- if (_constants.AREA_ACTIONS[action.type]) return _export.KitchenConfiguratorAreasReducer.apply(void 0, arguments);
19
- if (_constants.GROUP_ACTIONS[action.type]) return _export.KitchenConfiguratorGroupsReducer.apply(void 0, arguments);
20
- if (_constants.SCENE_ACTIONS[action.type]) return _export.KitchenConfiguratorSceneReducer.apply(void 0, arguments);
21
- if (_constants.VERTEX_ACTIONS[action.type]) return _export.KitchenConfiguratorVerticesReducer.apply(void 0, arguments);
22
- if (_constants.USER_ACTIONS[action.type]) return _export.KitchenConfiguratorUserReducer.apply(void 0, arguments);
7
+ if (PROJECT_ACTIONS[action.type]) return KitchenConfiguratorProjectReducer.apply(void 0, arguments);
8
+ if (VIEWER2D_ACTIONS[action.type]) return KitchenConfiguratorViewer2dReducer.apply(void 0, arguments);
9
+ if (VIEWER3D_ACTIONS[action.type]) return KitchenConfiguratorViewer3dReducer.apply(void 0, arguments);
10
+ if (ITEMS_ACTIONS[action.type]) return KitchenConfiguratorItemsReducer.apply(void 0, arguments);
11
+ if (HOLE_ACTIONS[action.type]) return KitchenConfiguratorHolesReducer.apply(void 0, arguments);
12
+ if (LINE_ACTIONS[action.type]) return KitchenConfiguratorLinesReducer.apply(void 0, arguments);
13
+ if (AREA_ACTIONS[action.type]) return KitchenConfiguratorAreasReducer.apply(void 0, arguments);
14
+ if (GROUP_ACTIONS[action.type]) return KitchenConfiguratorGroupsReducer.apply(void 0, arguments);
15
+ if (SCENE_ACTIONS[action.type]) return KitchenConfiguratorSceneReducer.apply(void 0, arguments);
16
+ if (VERTEX_ACTIONS[action.type]) return KitchenConfiguratorVerticesReducer.apply(void 0, arguments);
17
+ if (USER_ACTIONS[action.type]) return KitchenConfiguratorUserReducer.apply(void 0, arguments);
23
18
  return state || initialState;
24
19
  }
@@ -1,31 +1,27 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = _default;
5
- var _export = require("../class/export");
6
- var _export2 = require("../utils/export");
7
- var _constants = require("../constants");
8
- function _default(state, action) {
1
+ import { Layer } from "../class/export";
2
+ import { history } from "../utils/export";
3
+ import { ADD_LAYER, REMOVE_LAYER, SELECT_LAYER, SET_LAYER_PROPERTIES, UPDATE_MOVING_STATE } from "../constants";
4
+ export default function (state, action) {
9
5
  var saveHistory = function saveHistory() {
10
6
  return state = state.merge({
11
- sceneHistory: _export2.history.historyPush(state.sceneHistory, state.scene)
7
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
12
8
  });
13
9
  };
14
10
  switch (action.type) {
15
- case _constants.ADD_LAYER:
11
+ case ADD_LAYER:
16
12
  saveHistory();
17
- return _export.Layer.create(state, action.name, action.altitude).updatedState;
18
- case _constants.SELECT_LAYER:
13
+ return Layer.create(state, action.name, action.altitude).updatedState;
14
+ case SELECT_LAYER:
19
15
  saveHistory();
20
- return _export.Layer.select(state, action.layerID).updatedState;
21
- case _constants.SET_LAYER_PROPERTIES:
16
+ return Layer.select(state, action.layerID).updatedState;
17
+ case SET_LAYER_PROPERTIES:
22
18
  saveHistory();
23
- return _export.Layer.setProperties(state, action.layerID, action.properties).updatedState;
24
- case _constants.REMOVE_LAYER:
19
+ return Layer.setProperties(state, action.layerID, action.properties).updatedState;
20
+ case REMOVE_LAYER:
25
21
  saveHistory();
26
- return _export.Layer.remove(state, action.layerID).updatedState;
27
- case _constants.UPDATE_MOVING_STATE:
28
- return _export.Layer.updateMovingState(state, action.showflag).updatedState;
22
+ return Layer.remove(state, action.layerID).updatedState;
23
+ case UPDATE_MOVING_STATE:
24
+ return Layer.updateMovingState(state, action.showflag).updatedState;
29
25
  default:
30
26
  return state;
31
27
  }
@@ -1,8 +1,4 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = _default;
5
- var _constants = require("../constants");
1
+ import { LOGIN_ERROR, LOGIN_SUCCESS, LOGOUT } from "../constants";
6
2
  var initialState = {
7
3
  success: false,
8
4
  error: {
@@ -10,23 +6,23 @@ var initialState = {
10
6
  password: null
11
7
  }
12
8
  };
13
- function _default(state, action) {
9
+ export default function (state, action) {
14
10
  switch (action.type) {
15
- case _constants.LOGIN_SUCCESS:
11
+ case LOGIN_SUCCESS:
16
12
  {
17
13
  return state.merge({
18
14
  login: true,
19
15
  userId: action.userid
20
16
  });
21
17
  }
22
- case _constants.LOGIN_ERROR:
18
+ case LOGIN_ERROR:
23
19
  {
24
20
  return state.merge({
25
21
  login: false,
26
22
  userId: 0
27
23
  });
28
24
  }
29
- case _constants.LOGOUT:
25
+ case LOGOUT:
30
26
  {
31
27
  state = state.merge({
32
28
  scene: state.scene.merge({
@@ -1,22 +1,18 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = _default;
5
- var _constants = require("../constants");
6
- var _export = require("../utils/export");
7
- var _export2 = require("../class/export");
8
- function _default(state, action) {
1
+ import { BEGIN_DRAGGING_VERTEX, END_DRAGGING_VERTEX, UPDATE_DRAGGING_VERTEX } from "../constants";
2
+ import { history } from "../utils/export";
3
+ import { Vertex } from "../class/export";
4
+ export default function (state, action) {
9
5
  switch (action.type) {
10
- case _constants.BEGIN_DRAGGING_VERTEX:
11
- return _export2.Vertex.beginDraggingVertex(state, action.layerID, action.vertexID, action.x, action.y).updatedState;
12
- case _constants.UPDATE_DRAGGING_VERTEX:
13
- return _export2.Vertex.updateDraggingVertex(state, action.x, action.y).updatedState;
14
- case _constants.END_DRAGGING_VERTEX:
6
+ case BEGIN_DRAGGING_VERTEX:
7
+ return Vertex.beginDraggingVertex(state, action.layerID, action.vertexID, action.x, action.y).updatedState;
8
+ case UPDATE_DRAGGING_VERTEX:
9
+ return Vertex.updateDraggingVertex(state, action.x, action.y).updatedState;
10
+ case END_DRAGGING_VERTEX:
15
11
  // Code that saving the scene history (26 ~ 28)
16
12
  state = state.merge({
17
- sceneHistory: _export.history.historyPush(state.sceneHistory, state.scene)
13
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
18
14
  });
19
- return _export2.Vertex.endDraggingVertex(state, action.x, action.y).updatedState;
15
+ return Vertex.endDraggingVertex(state, action.x, action.y).updatedState;
20
16
  default:
21
17
  return state;
22
18
  }
@@ -1,14 +1,10 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = _default;
5
- var _constants = require("../constants");
6
- var _convertUnitsLite = require("../utils/convert-units-lite");
7
- function _default(state, action) {
1
+ import { CHANGE_BASE_CABINET_MEASURE, CHANGE_WALL_CABINET_MEASURE, CHANGE_WALL_LENGTH_MEASURE, CHANGE_WINDOW_DOOR_MEASURE, MODE_2D_PAN, MODE_2D_ZOOM_IN, MODE_2D_ZOOM_OUT, SELECT_TOOL_PAN, SELECT_TOOL_ZOOM_IN, SELECT_TOOL_ZOOM_OUT, UPDATE_2D_CAMERA, UPDATE_CEIL_HEIGHT, UPDATE_CEIL_HEIGHT_UNIT } from "../constants";
2
+ import { convert } from "../utils/convert-units-lite";
3
+ export default function (state, action) {
8
4
  var _state = state,
9
5
  scene = _state.scene;
10
6
  switch (action.type) {
11
- case _constants.UPDATE_CEIL_HEIGHT_UNIT:
7
+ case UPDATE_CEIL_HEIGHT_UNIT:
12
8
  {
13
9
  var _state2 = state,
14
10
  _scene = _state2.scene;
@@ -20,7 +16,7 @@ function _default(state, action) {
20
16
  state = state.mergeIn(['scene', 'layers', selectedLayer], newLayer);
21
17
  return state;
22
18
  }
23
- case _constants.UPDATE_CEIL_HEIGHT:
19
+ case UPDATE_CEIL_HEIGHT:
24
20
  {
25
21
  var _selectedLayer = scene.selectedLayer;
26
22
  var _layer = scene.layers.get(_selectedLayer);
@@ -33,47 +29,47 @@ function _default(state, action) {
33
29
  if (item.type.includes('Light')) {
34
30
  var height = item.properties.getIn(['height', '_length']);
35
31
  var heightUnit = item.properties.getIn(['height', '_unit']);
36
- var newAltitude = action.value - (0, _convertUnitsLite.convert)(height).from(heightUnit).to('in');
37
- item = item.setIn(['properties', 'altitude', '_length'], (0, _convertUnitsLite.convert)(newAltitude).from('in').to(_layer.unit));
32
+ var newAltitude = action.value - convert(height).from(heightUnit).to('in');
33
+ item = item.setIn(['properties', 'altitude', '_length'], convert(newAltitude).from('in').to(_layer.unit));
38
34
  }
39
35
  return item;
40
36
  });
41
37
  state = state.mergeIn(['scene', 'layers', _selectedLayer, 'items'], newItems);
42
38
  return state;
43
39
  }
44
- case _constants.UPDATE_2D_CAMERA:
40
+ case UPDATE_2D_CAMERA:
45
41
  return state.merge({
46
42
  viewer2D: action.value
47
43
  });
48
- case _constants.CHANGE_WALL_LENGTH_MEASURE:
44
+ case CHANGE_WALL_LENGTH_MEASURE:
49
45
  return state.merge({
50
46
  scene: scene.merge({
51
47
  showWallLengthMeasure: action.value
52
48
  })
53
49
  });
54
- case _constants.CHANGE_BASE_CABINET_MEASURE:
50
+ case CHANGE_BASE_CABINET_MEASURE:
55
51
  return state.merge({
56
52
  scene: scene.merge({
57
53
  showBaseCabinetMeasure: action.value
58
54
  })
59
55
  });
60
- case _constants.CHANGE_WALL_CABINET_MEASURE:
56
+ case CHANGE_WALL_CABINET_MEASURE:
61
57
  return state.merge({
62
58
  scene: scene.merge({
63
59
  showWallCabinetMeasure: action.value
64
60
  })
65
61
  });
66
- case _constants.CHANGE_WINDOW_DOOR_MEASURE:
62
+ case CHANGE_WINDOW_DOOR_MEASURE:
67
63
  return state.merge({
68
64
  scene: scene.merge({
69
65
  showWindowDoorMeasure: action.value
70
66
  })
71
67
  });
72
- case _constants.SELECT_TOOL_PAN:
73
- return state.set('mode', _constants.MODE_2D_PAN);
74
- case _constants.SELECT_TOOL_ZOOM_IN:
75
- return state.set('mode', _constants.MODE_2D_ZOOM_IN);
76
- case _constants.SELECT_TOOL_ZOOM_OUT:
77
- return state.set('mode', _constants.MODE_2D_ZOOM_OUT);
68
+ case SELECT_TOOL_PAN:
69
+ return state.set('mode', MODE_2D_PAN);
70
+ case SELECT_TOOL_ZOOM_IN:
71
+ return state.set('mode', MODE_2D_ZOOM_IN);
72
+ case SELECT_TOOL_ZOOM_OUT:
73
+ return state.set('mode', MODE_2D_ZOOM_OUT);
78
74
  }
79
75
  }
@@ -1,17 +1,13 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = _default;
5
- var _constants = require("../constants");
6
- var _export = require("../class/export");
7
- var _export2 = require("../utils/export");
8
- var _convertUnitsLite = require("../utils/convert-units-lite");
9
- function _default(state, action) {
1
+ import { MODE_3D_FIRST_PERSON, MODE_3D_VIEW, SELECT_TOOL_3D_FIRST_PERSON, SELECT_TOOL_3D_VIEW, UPDATE_3D_CEIL_HEIGHT, UPDATE_3D_CEIL_HEIGHT_UNIT } from "../constants";
2
+ import { Project } from "../class/export";
3
+ import { history } from "../utils/export";
4
+ import { convert } from "../utils/convert-units-lite";
5
+ export default function (state, action) {
10
6
  state = state.merge({
11
- sceneHistory: _export2.history.historyPush(state.sceneHistory, state.scene)
7
+ sceneHistory: history.historyPush(state.sceneHistory, state.scene)
12
8
  });
13
9
  switch (action.type) {
14
- case _constants.UPDATE_3D_CEIL_HEIGHT_UNIT:
10
+ case UPDATE_3D_CEIL_HEIGHT_UNIT:
15
11
  {
16
12
  var _state = state,
17
13
  scene = _state.scene;
@@ -23,7 +19,7 @@ function _default(state, action) {
23
19
  state = state.mergeIn(['scene', 'layers', selectedLayer], newLayer);
24
20
  return state;
25
21
  }
26
- case _constants.UPDATE_3D_CEIL_HEIGHT:
22
+ case UPDATE_3D_CEIL_HEIGHT:
27
23
  {
28
24
  var _state2 = state,
29
25
  _scene = _state2.scene;
@@ -38,21 +34,21 @@ function _default(state, action) {
38
34
  if (item.type.includes('Light')) {
39
35
  var height = item.properties.getIn(['height', '_length']);
40
36
  var heightUnit = item.properties.getIn(['height', '_unit']);
41
- var newAltitude = action.value - (0, _convertUnitsLite.convert)(height).from(heightUnit).to('in');
42
- item = item.setIn(['properties', 'altitude', '_length'], (0, _convertUnitsLite.convert)(newAltitude).from('in').to(_layer.unit));
37
+ var newAltitude = action.value - convert(height).from(heightUnit).to('in');
38
+ item = item.setIn(['properties', 'altitude', '_length'], convert(newAltitude).from('in').to(_layer.unit));
43
39
  }
44
40
  return item;
45
41
  });
46
42
  state = state.mergeIn(['scene', 'layers', _selectedLayer, 'items'], newItems);
47
43
  return state;
48
44
  }
49
- case _constants.SELECT_TOOL_3D_VIEW:
50
- state = _export.Project.rollback(state).updatedState;
51
- state = _export.Project.setMode(state, _constants.MODE_3D_VIEW).updatedState;
45
+ case SELECT_TOOL_3D_VIEW:
46
+ state = Project.rollback(state).updatedState;
47
+ state = Project.setMode(state, MODE_3D_VIEW).updatedState;
52
48
  return state;
53
- case _constants.SELECT_TOOL_3D_FIRST_PERSON:
54
- state = _export.Project.rollback(state).updatedState;
55
- state = _export.Project.setMode(state, _constants.MODE_3D_FIRST_PERSON).updatedState;
49
+ case SELECT_TOOL_3D_FIRST_PERSON:
50
+ state = Project.rollback(state).updatedState;
51
+ state = Project.setMode(state, MODE_3D_FIRST_PERSON).updatedState;
56
52
  return state;
57
53
  default:
58
54
  return state;
@@ -1,14 +1,10 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.TOOLBAR_COLOR = exports.SECONDARY_COLOR = exports.PRIMARY_COLOR = exports.MESH_SELECTED = exports.MATERIAL_COLORS = exports.LINE_MESH_COLOR = exports.LINE_MESH = exports.INTERIOR_LINE = exports.COLORS = exports.AREA_MESH_COLOR = void 0;
5
1
  // COLORS
6
- var COLORS = exports.COLORS = {
2
+ export var COLORS = {
7
3
  white: '#FFF',
8
4
  lightgrey: '#d3d3d3',
9
5
  black: '#000'
10
6
  };
11
- var MATERIAL_COLORS = exports.MATERIAL_COLORS = {
7
+ export var MATERIAL_COLORS = {
12
8
  500: {
13
9
  amber: '#FFC107',
14
10
  blue_grey: '#607D8B',
@@ -31,7 +27,7 @@ var MATERIAL_COLORS = exports.MATERIAL_COLORS = {
31
27
  yellow: '#FFEB3B'
32
28
  }
33
29
  };
34
- var PRIMARY_COLOR = exports.PRIMARY_COLOR = {
30
+ export var PRIMARY_COLOR = {
35
31
  main: '#DEDEDE',
36
32
  alt: '#DEDEDE',
37
33
  icon: '#A2A2A2',
@@ -40,31 +36,31 @@ var PRIMARY_COLOR = exports.PRIMARY_COLOR = {
40
36
  text_alt: '#232323',
41
37
  input: '#55595C'
42
38
  };
43
- var SECONDARY_COLOR = exports.SECONDARY_COLOR = {
39
+ export var SECONDARY_COLOR = {
44
40
  main: '#1CA6FC',
45
41
  alt: '#005FAF',
46
42
  icon: '#1CA6FC',
47
43
  border: '1px solid #FFF'
48
44
  };
49
- var TOOLBAR_COLOR = exports.TOOLBAR_COLOR = {
45
+ export var TOOLBAR_COLOR = {
50
46
  normal: 'rgb(211,230,228)',
51
47
  focus: 'rgba(71, 71, 71,0.9)',
52
48
  active: 'rgba(17, 131, 187, 0.8)'
53
49
  // active: 'rgba(34,144,107, 0.8)',
54
50
  };
55
- var MESH_SELECTED = exports.MESH_SELECTED = 'rgba(71, 71, 71,0.9)';
56
- var AREA_MESH_COLOR = exports.AREA_MESH_COLOR = {
51
+ export var MESH_SELECTED = 'rgba(71, 71, 71,0.9)';
52
+ export var AREA_MESH_COLOR = {
57
53
  selected: 'rgb(234,234,255)',
58
54
  unselected: 'rgb(221,221,255)'
59
55
  };
60
- var INTERIOR_LINE = exports.INTERIOR_LINE = {
56
+ export var INTERIOR_LINE = {
61
57
  unselected: ' #0a0a10',
62
58
  selected: '#4C12A1'
63
59
  };
64
- var LINE_MESH_COLOR = exports.LINE_MESH_COLOR = {
60
+ export var LINE_MESH_COLOR = {
65
61
  selected: '#4C12A1',
66
62
  unselected: 'rgb(135,145,171)'
67
63
  };
68
- var LINE_MESH = exports.LINE_MESH = {
64
+ export var LINE_MESH = {
69
65
  selected: '#4C12A1'
70
66
  };
@@ -1,11 +1,5 @@
1
- "use strict";
2
-
3
- var _typeof = require("@babel/runtime/helpers/typeof");
4
- exports.__esModule = true;
5
- exports["default"] = exports.TabsStyle = void 0;
6
- var TabsStyle = _interopRequireWildcard(require("./tabs.css"));
7
- exports.TabsStyle = TabsStyle;
8
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
9
- var _default = exports["default"] = {
1
+ import * as TabsStyle from "./tabs.css";
2
+ export { TabsStyle };
3
+ export default {
10
4
  TabsStyle: TabsStyle
11
5
  };