kitchen-simulator 1.1.1-test.3 → 1.1.1-test.30
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.
- package/es/KitchenConfigurator.js +36 -37
- package/es/KitchenConfiguratorApp.js +47 -45
- package/es/actions/area-actions.js +1 -1
- package/es/actions/export.js +10 -10
- package/es/actions/groups-actions.js +1 -1
- package/es/actions/holes-actions.js +1 -1
- package/es/actions/items-actions.js +1 -1
- package/es/actions/lines-actions.js +1 -1
- package/es/actions/project-actions.js +1 -1
- package/es/actions/scene-actions.js +1 -1
- package/es/actions/vertices-actions.js +1 -1
- package/es/actions/viewer2d-actions.js +1 -1
- package/es/actions/viewer3d-actions.js +1 -1
- package/es/catalog/areas/area/planner-element.js +6 -6
- package/es/catalog/catalog.js +3 -3
- package/es/catalog/factories/area-factory-3d.js +1 -1
- package/es/catalog/factories/area-factory.js +3 -3
- package/es/catalog/factories/export.js +2 -2
- package/es/catalog/factories/wall-factory-3d.js +5 -5
- package/es/catalog/factories/wall-factory.js +7 -6
- package/es/catalog/holes/door-closet/planner-element.js +2 -2
- package/es/catalog/holes/door-exterior/planner-element.js +2 -2
- package/es/catalog/holes/door-interior/planner-element.js +2 -2
- package/es/catalog/holes/door-sliding/planner-element.js +2 -2
- package/es/catalog/holes/doorway-framed/planner-element.js +2 -2
- package/es/catalog/holes/export.js +13 -13
- package/es/catalog/holes/window-clear/planner-element.js +2 -2
- package/es/catalog/holes/window-cross/planner-element.js +2 -2
- package/es/catalog/holes/window-double-hung/planner-element.js +2 -2
- package/es/catalog/holes/window-vertical/planner-element.js +2 -2
- package/es/catalog/lines/wall/planner-element.js +10 -10
- package/es/catalog/molding/molding-dcm/planner-element.js +1 -3
- package/es/catalog/molding/molding-fbm/planner-element.js +1 -3
- package/es/catalog/molding/molding-lrm/planner-element.js +1 -3
- package/es/catalog/properties/export.js +9 -9
- package/es/catalog/properties/property-checkbox.js +11 -12
- package/es/catalog/properties/property-color.js +13 -11
- package/es/catalog/properties/property-enum.js +12 -12
- package/es/catalog/properties/property-hidden.js +11 -10
- package/es/catalog/properties/property-lenght-measure.js +19 -18
- package/es/catalog/properties/property-length-measure.js +18 -17
- package/es/catalog/properties/property-length-measure_hole.js +19 -18
- package/es/catalog/properties/property-number.js +13 -12
- package/es/catalog/properties/property-read-only.js +12 -11
- package/es/catalog/properties/property-string.js +12 -11
- package/es/catalog/properties/property-toggle.js +12 -11
- package/es/catalog/utils/geom-utils.js +1 -1
- package/es/catalog/utils/item-loader.js +6 -6
- package/es/catalog/utils/load-obj.js +1 -1
- package/es/catalog/utils/mtl-loader.js +2 -1
- package/es/catalog/utils/obj-loader.js +2 -1
- package/es/class/area.js +2 -2
- package/es/class/export.js +10 -10
- package/es/class/group.js +4 -4
- package/es/class/guide.js +1 -1
- package/es/class/hole.js +5 -6
- package/es/class/item.js +10 -12
- package/es/class/layer.js +4 -4
- package/es/class/line.js +4 -4
- package/es/class/project.js +8 -8
- package/es/class/vertex.js +5 -5
- package/es/components/content.js +16 -15
- package/es/components/disclaimer/disclaimer.js +66 -86
- package/es/components/export.js +3 -3
- package/es/components/style/button.js +9 -8
- package/es/components/style/cancel-button.js +1 -1
- package/es/components/style/content-container.js +2 -1
- package/es/components/style/content-title.js +2 -2
- package/es/components/style/delete-button.js +2 -2
- package/es/components/style/export.js +14 -14
- package/es/components/style/form-color-input.js +1 -1
- package/es/components/style/form-number-input.js +21 -22
- package/es/components/style/form-number-input_2.js +18 -19
- package/es/components/style/form-select.js +1 -2
- package/es/components/style/form-slider.js +1 -1
- package/es/components/style/form-submit-button.js +2 -2
- package/es/components/style/form-text-input.js +1 -2
- package/es/components/viewer2d/area.js +9 -8
- package/es/components/viewer2d/export.js +14 -14
- package/es/components/viewer2d/grids/grid-horizontal-streak.js +7 -7
- package/es/components/viewer2d/grids/grid-streak.js +7 -7
- package/es/components/viewer2d/grids/grid-vertical-streak.js +7 -7
- package/es/components/viewer2d/grids/grids.js +7 -5
- package/es/components/viewer2d/group.js +14 -12
- package/es/components/viewer2d/item.js +17 -17
- package/es/components/viewer2d/layer.js +11 -10
- package/es/components/viewer2d/line.js +14 -16
- package/es/components/viewer2d/ruler.js +9 -9
- package/es/components/viewer2d/rulerDist.js +7 -6
- package/es/components/viewer2d/rulerX.js +18 -18
- package/es/components/viewer2d/rulerY.js +16 -16
- package/es/components/viewer2d/scene.js +11 -13
- package/es/components/viewer2d/snap.js +8 -7
- package/es/components/viewer2d/state.js +10 -9
- package/es/components/viewer2d/utils.js +2 -2
- package/es/components/viewer2d/vertex.js +7 -6
- package/es/components/viewer2d/viewer2d.js +27 -25
- package/es/components/viewer3d/front3D.js +3 -3
- package/es/components/viewer3d/grid-creator.js +2 -2
- package/es/components/viewer3d/grids/grid-horizontal-streak.js +1 -1
- package/es/components/viewer3d/grids/grid-streak.js +0 -1
- package/es/components/viewer3d/grids/grid-vertical-streak.js +1 -1
- package/es/components/viewer3d/libs/mtl-loader.js +1 -1
- package/es/components/viewer3d/libs/obj-loader.js +1 -1
- package/es/components/viewer3d/libs/orbit-controls.js +5 -4
- package/es/components/viewer3d/libs/pointer-lock-controls.js +4 -3
- package/es/components/viewer3d/pointer-lock-navigation.js +1 -1
- package/es/components/viewer3d/ruler-utils/itemRect.js +1 -1
- package/es/components/viewer3d/ruler-utils/layer3D.js +5 -5
- package/es/components/viewer3d/ruler-utils/ruler3D.js +1 -1
- package/es/components/viewer3d/ruler-utils/scene3D.js +2 -4
- package/es/components/viewer3d/ruler-utils/state3D.js +1 -1
- package/es/components/viewer3d/scene-creator.js +10 -10
- package/es/components/viewer3d/viewer3d-first-person.js +20 -21
- package/es/components/viewer3d/viewer3d.js +31 -34
- package/es/index.js +14 -14
- package/es/models.js +4 -4
- package/es/plugins/autosave.js +1 -1
- package/es/plugins/console-debugger.js +1 -1
- package/es/plugins/export.js +3 -3
- package/es/plugins/keyboard.js +2 -2
- package/es/reducers/areas-reducer.js +2 -2
- package/es/reducers/export.js +11 -11
- package/es/reducers/groups-reducer.js +3 -3
- package/es/reducers/holes-reducer.js +3 -3
- package/es/reducers/items-reducer.js +3 -6
- package/es/reducers/lines-reducer.js +3 -3
- package/es/reducers/project-reducer.js +3 -3
- package/es/reducers/reducer.js +3 -3
- package/es/reducers/scene-reducer.js +3 -3
- package/es/reducers/user-reducer.js +1 -2
- package/es/reducers/vertices-reducer.js +3 -3
- package/es/reducers/viewer2d-reducer.js +1 -1
- package/es/reducers/viewer3d-reducer.js +3 -3
- package/es/styles/export.js +1 -1
- package/es/translator/translator.js +3 -3
- package/es/utils/export.js +11 -11
- package/es/utils/geometry.js +6 -6
- package/es/utils/get-edges-of-subgraphs.js +2 -1
- package/es/utils/graph-cycles.js +2 -3
- package/es/utils/graph-inner-cycles.js +3 -3
- package/es/utils/graph.js +2 -1
- package/es/utils/helper.js +3 -71
- package/es/utils/molding.js +5 -5
- package/es/utils/react-if.js +6 -5
- package/es/utils/snap-scene.js +3 -3
- package/es/utils/snap.js +2 -2
- package/lib/KitchenConfigurator.js +27 -29
- package/lib/KitchenConfiguratorApp.js +42 -41
- package/lib/catalog/areas/area/planner-element.js +7 -7
- package/lib/catalog/factories/wall-factory-3d.js +1 -1
- package/lib/catalog/factories/wall-factory.js +1 -1
- package/lib/catalog/holes/door-closet/planner-element.js +1 -1
- package/lib/catalog/holes/door-exterior/planner-element.js +1 -1
- package/lib/catalog/holes/door-interior/planner-element.js +1 -1
- package/lib/catalog/holes/door-sliding/planner-element.js +1 -1
- package/lib/catalog/holes/doorway-framed/planner-element.js +1 -1
- package/lib/catalog/holes/export.js +13 -13
- package/lib/catalog/holes/window-clear/planner-element.js +1 -1
- package/lib/catalog/holes/window-cross/planner-element.js +1 -1
- package/lib/catalog/holes/window-double-hung/planner-element.js +1 -1
- package/lib/catalog/holes/window-vertical/planner-element.js +1 -1
- package/lib/catalog/lines/wall/planner-element.js +11 -11
- package/lib/catalog/molding/molding-dcm/planner-element.js +0 -5
- package/lib/catalog/molding/molding-fbm/planner-element.js +0 -5
- package/lib/catalog/molding/molding-lrm/planner-element.js +0 -5
- package/lib/catalog/properties/property-checkbox.js +10 -12
- package/lib/catalog/properties/property-color.js +11 -9
- package/lib/catalog/properties/property-enum.js +10 -11
- package/lib/catalog/properties/property-hidden.js +11 -11
- package/lib/catalog/properties/property-lenght-measure.js +15 -15
- package/lib/catalog/properties/property-length-measure.js +15 -15
- package/lib/catalog/properties/property-length-measure_hole.js +15 -15
- package/lib/catalog/properties/property-number.js +12 -10
- package/lib/catalog/properties/property-read-only.js +11 -9
- package/lib/catalog/properties/property-string.js +11 -9
- package/lib/catalog/properties/property-toggle.js +11 -9
- package/lib/catalog/utils/geom-utils.js +1 -1
- package/lib/catalog/utils/item-loader.js +4 -6
- package/lib/catalog/utils/load-obj.js +1 -1
- package/lib/catalog/utils/mtl-loader.js +6 -2
- package/lib/catalog/utils/obj-loader.js +6 -2
- package/lib/class/item.js +3 -5
- package/lib/class/line.js +1 -1
- package/lib/class/vertex.js +1 -1
- package/lib/components/content.js +12 -10
- package/lib/components/disclaimer/disclaimer.js +66 -86
- package/lib/components/style/button.js +8 -9
- package/lib/components/style/content-container.js +5 -4
- package/lib/components/style/content-title.js +2 -3
- package/lib/components/style/form-number-input.js +19 -21
- package/lib/components/style/form-number-input_2.js +16 -19
- package/lib/components/style/form-select.js +0 -3
- package/lib/components/style/form-text-input.js +0 -1
- package/lib/components/viewer2d/area.js +8 -6
- package/lib/components/viewer2d/grids/grid-horizontal-streak.js +8 -7
- package/lib/components/viewer2d/grids/grid-streak.js +8 -7
- package/lib/components/viewer2d/grids/grid-vertical-streak.js +8 -7
- package/lib/components/viewer2d/grids/grids.js +5 -5
- package/lib/components/viewer2d/group.js +13 -10
- package/lib/components/viewer2d/item.js +12 -12
- package/lib/components/viewer2d/layer.js +8 -6
- package/lib/components/viewer2d/line.js +12 -13
- package/lib/components/viewer2d/ruler.js +8 -7
- package/lib/components/viewer2d/rulerDist.js +8 -6
- package/lib/components/viewer2d/rulerX.js +17 -19
- package/lib/components/viewer2d/rulerY.js +15 -17
- package/lib/components/viewer2d/scene.js +9 -13
- package/lib/components/viewer2d/snap.js +8 -6
- package/lib/components/viewer2d/state.js +7 -7
- package/lib/components/viewer2d/vertex.js +7 -5
- package/lib/components/viewer2d/viewer2d.js +19 -20
- package/lib/components/viewer3d/grids/grid-streak.js +0 -1
- package/lib/components/viewer3d/libs/mtl-loader.js +5 -1
- package/lib/components/viewer3d/libs/obj-loader.js +5 -1
- package/lib/components/viewer3d/libs/orbit-controls.js +9 -4
- package/lib/components/viewer3d/libs/pointer-lock-controls.js +8 -3
- package/lib/components/viewer3d/ruler-utils/scene3D.js +0 -2
- package/lib/components/viewer3d/scene-creator.js +1 -1
- package/lib/components/viewer3d/viewer3d-first-person.js +14 -16
- package/lib/components/viewer3d/viewer3d.js +21 -24
- package/lib/reducers/user-reducer.js +0 -1
- package/lib/utils/geometry.js +1 -1
- package/lib/utils/get-edges-of-subgraphs.js +7 -1
- package/lib/utils/graph-cycles.js +9 -9
- package/lib/utils/graph.js +9 -3
- package/lib/utils/helper.js +2 -70
- package/lib/utils/react-if.js +7 -5
- package/package.json +12 -28
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ElementsFactories } from
|
|
1
|
+
import { ElementsFactories } from "../../..";
|
|
2
2
|
var info = {
|
|
3
3
|
title: 'wall',
|
|
4
4
|
tag: ['wall'],
|
|
5
5
|
description: 'Wall with bricks or painted',
|
|
6
|
-
image: require(
|
|
6
|
+
image: require("./wall.png"),
|
|
7
7
|
visibility: {
|
|
8
8
|
catalog: true,
|
|
9
9
|
layerElementsVisible: true
|
|
@@ -12,11 +12,11 @@ var info = {
|
|
|
12
12
|
var textures = {
|
|
13
13
|
plaster: {
|
|
14
14
|
name: 'Plaster',
|
|
15
|
-
uri: require(
|
|
15
|
+
uri: require("./textures/plaster.jpg"),
|
|
16
16
|
lengthRepeatScale: 0.005,
|
|
17
17
|
heightRepeatScale: 0.005,
|
|
18
18
|
normal: {
|
|
19
|
-
uri: require(
|
|
19
|
+
uri: require("./textures/plaster-normal.jpg"),
|
|
20
20
|
lengthRepeatScale: 0.005,
|
|
21
21
|
heightRepeatScale: 0.005,
|
|
22
22
|
normalScaleX: 0.4,
|
|
@@ -26,11 +26,11 @@ var textures = {
|
|
|
26
26
|
},
|
|
27
27
|
bricks: {
|
|
28
28
|
name: 'Bricks',
|
|
29
|
-
uri: require(
|
|
29
|
+
uri: require("./textures/bricks.jpg"),
|
|
30
30
|
lengthRepeatScale: 0.009,
|
|
31
31
|
heightRepeatScale: 0.009,
|
|
32
32
|
normal: {
|
|
33
|
-
uri: require(
|
|
33
|
+
uri: require("./textures/bricks-normal.jpg"),
|
|
34
34
|
lengthRepeatScale: 0.009,
|
|
35
35
|
heightRepeatScale: 0.009,
|
|
36
36
|
normalScaleX: 0.4,
|
|
@@ -40,11 +40,11 @@ var textures = {
|
|
|
40
40
|
},
|
|
41
41
|
painted: {
|
|
42
42
|
name: 'Painted',
|
|
43
|
-
uri: require(
|
|
43
|
+
uri: require("./textures/painted.jpg"),
|
|
44
44
|
lengthRepeatScale: 0.005,
|
|
45
45
|
heightRepeatScale: 0.005,
|
|
46
46
|
normal: {
|
|
47
|
-
uri: require(
|
|
47
|
+
uri: require("./textures/painted-normal.jpg"),
|
|
48
48
|
lengthRepeatScale: 0.005,
|
|
49
49
|
heightRepeatScale: 0.005,
|
|
50
50
|
normalScaleX: 0.4,
|
|
@@ -54,11 +54,11 @@ var textures = {
|
|
|
54
54
|
},
|
|
55
55
|
morden: {
|
|
56
56
|
name: 'Morden',
|
|
57
|
-
uri: require(
|
|
57
|
+
uri: require("./textures/morden.jpg"),
|
|
58
58
|
lengthRepeatScale: 0.005,
|
|
59
59
|
heightRepeatScale: 0.005,
|
|
60
60
|
normal: {
|
|
61
|
-
uri: require(
|
|
61
|
+
uri: require("./textures/morden-normal.jpg"),
|
|
62
62
|
lengthRepeatScale: 0.005,
|
|
63
63
|
heightRepeatScale: 0.005,
|
|
64
64
|
normalScaleX: 0.4,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import PropertyColor from
|
|
2
|
-
import PropertyEnum from
|
|
3
|
-
import PropertyString from
|
|
4
|
-
import PropertyNumber from
|
|
5
|
-
import PropertyLengthMeasure from
|
|
6
|
-
import PropertyToggle from
|
|
7
|
-
import PropertyCheckbox from
|
|
8
|
-
import PropertyHidden from
|
|
9
|
-
import PropertyReadOnly from
|
|
1
|
+
import PropertyColor from "./property-color";
|
|
2
|
+
import PropertyEnum from "./property-enum";
|
|
3
|
+
import PropertyString from "./property-string";
|
|
4
|
+
import PropertyNumber from "./property-number";
|
|
5
|
+
import PropertyLengthMeasure from "./property-length-measure";
|
|
6
|
+
import PropertyToggle from "./property-toggle";
|
|
7
|
+
import PropertyCheckbox from "./property-checkbox";
|
|
8
|
+
import PropertyHidden from "./property-hidden";
|
|
9
|
+
import PropertyReadOnly from "./property-read-only";
|
|
10
10
|
export { PropertyColor, PropertyEnum, PropertyString, PropertyNumber, PropertyLengthMeasure, PropertyToggle, PropertyCheckbox, PropertyHidden, PropertyReadOnly };
|
|
11
11
|
export default {
|
|
12
12
|
PropertyColor: PropertyColor,
|
|
@@ -7,11 +7,9 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
7
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
8
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
-
import { FormLabel } from '../../components/style/export';
|
|
12
|
-
import PropertyStyle from './shared-property-style';
|
|
10
|
+
//import PropTypes from 'prop-types';
|
|
13
11
|
import styled from 'styled-components';
|
|
14
|
-
import { DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, TEXT_COLOR_NEUTRAL_0 } from
|
|
12
|
+
import { DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, TEXT_COLOR_NEUTRAL_0 } from "../../constants";
|
|
15
13
|
var FlipWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin: 15px 0;\n justify-content: space-between;\n"])));
|
|
16
14
|
var FlipTitle = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: auto;\n color: ", ";\n font-family: ", ";\n font-size: 16px;\n font-weight: 600;\n line-height: 18px;\n text-align: left;\n"])), SECONDARY_PURPLE_COLOR, DEFAULT_FONT_FAMILY);
|
|
17
15
|
var FlipDescription = styled.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-right: auto;\n color: ", ";\n font-family: ", ";\n font-size: 13px;\n font-weight: 400;\n line-height: 18px;\n text-align: left;\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY);
|
|
@@ -61,11 +59,12 @@ export default function PropertyCheckbox(_ref) {
|
|
|
61
59
|
}
|
|
62
60
|
}))));
|
|
63
61
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
62
|
+
|
|
63
|
+
// PropertyCheckbox.propTypes = {
|
|
64
|
+
// value: PropTypes.any.isRequired,
|
|
65
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
66
|
+
// configs: PropTypes.object.isRequired,
|
|
67
|
+
// sourceElement: PropTypes.object,
|
|
68
|
+
// internalState: PropTypes.object,
|
|
69
|
+
// state: PropTypes.object.isRequired
|
|
70
|
+
// };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
|
|
3
|
+
//import PropTypes from 'prop-types';
|
|
4
|
+
import { FormColorInput, FormLabel } from "../../components/style/export";
|
|
5
|
+
import PropertyStyle from "./shared-property-style";
|
|
5
6
|
export default function PropertyColor(_ref) {
|
|
6
7
|
var value = _ref.value,
|
|
7
8
|
onUpdate = _ref.onUpdate,
|
|
@@ -29,11 +30,12 @@ export default function PropertyColor(_ref) {
|
|
|
29
30
|
}
|
|
30
31
|
})))));
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
|
|
34
|
+
// PropertyColor.propTypes = {
|
|
35
|
+
// value: PropTypes.any.isRequired,
|
|
36
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
37
|
+
// configs: PropTypes.object.isRequired,
|
|
38
|
+
// sourceElement: PropTypes.object,
|
|
39
|
+
// internalState: PropTypes.object,
|
|
40
|
+
// state: PropTypes.object.isRequired
|
|
41
|
+
// };
|
|
@@ -7,12 +7,11 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
7
7
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
8
8
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
9
9
|
import React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
10
|
+
//import PropTypes from 'prop-types';
|
|
11
11
|
import { Seq } from 'immutable';
|
|
12
|
-
import {
|
|
13
|
-
import PropertyStyle from './shared-property-style';
|
|
12
|
+
import { FormSelect } from "../../components/style/export";
|
|
14
13
|
import styled from 'styled-components';
|
|
15
|
-
import {
|
|
14
|
+
import { DEFAULT_FONT_FAMILY, TEXT_COLOR_NEUTRAL_0 } from "../../constants";
|
|
16
15
|
var EnumWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-top: 3px;\n"])));
|
|
17
16
|
var EnumTitle = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: auto;\n width: 110px;\n color: ", ";\n font-family: ", ";\n\n @media screen and (min-width: 1024) {\n font-size: 11px;\n }\n @media screen and (max-width: 1024) {\n font-size: 11px;\n }\n @media screen and (min-width: 1366) {\n font-size: 13px;\n }\n @media screen and (max-width: 1366) {\n font-size: 13px;\n }\n @media screen and (min-width: 1440) {\n font-size: 16px;\n }\n @media screen and (max-width: 1440) {\n font-size: 16px;\n }\n font-weight: 400;\n line-height: 15px;\n text-align: left;\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY);
|
|
18
17
|
export default function PropertyEnum(_ref) {
|
|
@@ -45,11 +44,12 @@ export default function PropertyEnum(_ref) {
|
|
|
45
44
|
}, value);
|
|
46
45
|
})));
|
|
47
46
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
47
|
+
|
|
48
|
+
// PropertyEnum.propTypes = {
|
|
49
|
+
// value: PropTypes.any.isRequired,
|
|
50
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
51
|
+
// configs: PropTypes.object.isRequired,
|
|
52
|
+
// sourceElement: PropTypes.object,
|
|
53
|
+
// internalState: PropTypes.object,
|
|
54
|
+
// state: PropTypes.object.isRequired
|
|
55
|
+
// };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
//import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
3
|
export default function PropertyHidden(_ref) {
|
|
4
4
|
var value = _ref.value,
|
|
5
5
|
onUpdate = _ref.onUpdate,
|
|
@@ -9,11 +9,12 @@ export default function PropertyHidden(_ref) {
|
|
|
9
9
|
state = _ref.state;
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
|
|
13
|
+
// PropertyHidden.propTypes = {
|
|
14
|
+
// value: PropTypes.any.isRequired,
|
|
15
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
16
|
+
// configs: PropTypes.object.isRequired,
|
|
17
|
+
// sourceElement: PropTypes.object,
|
|
18
|
+
// internalState: PropTypes.object,
|
|
19
|
+
// state: PropTypes.object.isRequired
|
|
20
|
+
// };
|
|
@@ -3,13 +3,12 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
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
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
5
|
import React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS,
|
|
6
|
+
//import PropTypes from 'prop-types';
|
|
7
|
+
import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNIT_INCH, UNITS_LENGTH } from "./../../constants";
|
|
8
8
|
import convert from 'convert-units';
|
|
9
|
-
import { FormLabel, FormNumberInput, FormSelect } from
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import PropertyStyle from './shared-property-style';
|
|
9
|
+
import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
|
|
10
|
+
import { toFixedFloat } from "../../utils/math";
|
|
11
|
+
import PropertyStyle from "./shared-property-style";
|
|
13
12
|
var internalTableStyle = {
|
|
14
13
|
borderCollapse: 'collapse'
|
|
15
14
|
};
|
|
@@ -87,15 +86,17 @@ export default function PropertyLengthMeasure(_ref, _ref2) {
|
|
|
87
86
|
}, el);
|
|
88
87
|
}))))))))));
|
|
89
88
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
|
|
90
|
+
// PropertyLengthMeasure.propTypes = {
|
|
91
|
+
// value: PropTypes.instanceOf(Map).isRequired,
|
|
92
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
93
|
+
// onValid: PropTypes.func,
|
|
94
|
+
// configs: PropTypes.object.isRequired,
|
|
95
|
+
// sourceElement: PropTypes.object,
|
|
96
|
+
// internalState: PropTypes.object,
|
|
97
|
+
// state: PropTypes.object.isRequired
|
|
98
|
+
// };
|
|
99
|
+
|
|
100
|
+
// PropertyLengthMeasure.contextTypes = {
|
|
101
|
+
// catalog: PropTypes.object.isRequired
|
|
102
|
+
// };
|
|
@@ -5,12 +5,11 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
|
|
|
5
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
6
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import PropTypes from 'prop-types';
|
|
9
|
-
import {
|
|
8
|
+
//import PropTypes from 'prop-types';
|
|
9
|
+
import { BASE_CABINET_LAYOUTPOS, DEFAULT_FONT_FAMILY, TALL_CABINET_LAYOUTPOS, TEXT_COLOR_NEUTRAL_0, UNIT_CENTIMETER, UNIT_INCH } from "../../constants";
|
|
10
10
|
import convert from 'convert-units';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { toFixedFloat } from '../../utils/math';
|
|
11
|
+
import { FormNumberInput } from "../../components/style/export";
|
|
12
|
+
import { toFixedFloat } from "../../utils/math";
|
|
14
13
|
import styled from 'styled-components';
|
|
15
14
|
var DistanceFloorWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-top: 3px;\n"])));
|
|
16
15
|
var DistanceFloorTitle = styled.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-right: auto;\n width: 110px;\n color: ", ";\n font-family: ", ";\n font-size: 16px;\n\n @media screen and (min-width: 1024) {\n font-size: 11px;\n }\n @media screen and (max-width: 1024) {\n font-size: 11px;\n }\n @media screen and (min-width: 1366) {\n font-size: 13px;\n }\n @media screen and (max-width: 1366) {\n font-size: 13px;\n }\n @media screen and (min-width: 1440) {\n font-size: 16px;\n }\n @media screen and (max-width: 1440) {\n font-size: 16px;\n }\n font-weight: 400;\n line-height: 15px;\n text-align: left;\n"])), TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY);
|
|
@@ -71,15 +70,17 @@ export default function PropertyLengthMeasure(_ref, _ref2) {
|
|
|
71
70
|
}
|
|
72
71
|
}, configRest)));
|
|
73
72
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
73
|
+
|
|
74
|
+
// PropertyLengthMeasure.propTypes = {
|
|
75
|
+
// value: PropTypes.instanceOf(Map).isRequired,
|
|
76
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
77
|
+
// onValid: PropTypes.func,
|
|
78
|
+
// configs: PropTypes.object.isRequired,
|
|
79
|
+
// sourceElement: PropTypes.object,
|
|
80
|
+
// internalState: PropTypes.object,
|
|
81
|
+
// state: PropTypes.object.isRequired
|
|
82
|
+
// };
|
|
83
|
+
|
|
84
|
+
// PropertyLengthMeasure.contextTypes = {
|
|
85
|
+
// catalog: PropTypes.object.isRequired
|
|
86
|
+
// };
|
|
@@ -3,13 +3,12 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
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
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
5
|
import React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import {
|
|
6
|
+
//import PropTypes from 'prop-types';
|
|
7
|
+
import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNIT_INCH, UNITS_LENGTH } from "../../constants";
|
|
8
8
|
import convert from 'convert-units';
|
|
9
|
-
import { FormLabel, FormNumberInput1, FormSelect } from
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import PropertyStyle from './shared-property-style';
|
|
9
|
+
import { FormLabel, FormNumberInput1, FormSelect } from "../../components/style/export";
|
|
10
|
+
import { toFixedFloat } from "../../utils/math";
|
|
11
|
+
import PropertyStyle from "./shared-property-style";
|
|
13
12
|
var internalTableStyle = {
|
|
14
13
|
borderCollapse: 'collapse'
|
|
15
14
|
};
|
|
@@ -87,15 +86,17 @@ export default function PropertyLengthMeasureHole(_ref, _ref2) {
|
|
|
87
86
|
}, el);
|
|
88
87
|
}))))))))));
|
|
89
88
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
|
|
90
|
+
// PropertyLengthMeasureHole.propTypes = {
|
|
91
|
+
// value: PropTypes.instanceOf(Map).isRequired,
|
|
92
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
93
|
+
// onValid: PropTypes.func,
|
|
94
|
+
// configs: PropTypes.object.isRequired,
|
|
95
|
+
// sourceElement: PropTypes.object,
|
|
96
|
+
// internalState: PropTypes.object,
|
|
97
|
+
// state: PropTypes.object.isRequired
|
|
98
|
+
// };
|
|
99
|
+
|
|
100
|
+
// PropertyLengthMeasureHole.contextTypes = {
|
|
101
|
+
// catalog: PropTypes.object.isRequired
|
|
102
|
+
// };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { FormLabel, FormNumberInput } from
|
|
4
|
-
import PropertyStyle from
|
|
2
|
+
//import PropTypes from 'prop-types';
|
|
3
|
+
import { FormLabel, FormNumberInput } from "../../components/style/export";
|
|
4
|
+
import PropertyStyle from "./shared-property-style";
|
|
5
5
|
export default function PropertyNumber(_ref) {
|
|
6
6
|
var value = _ref.value,
|
|
7
7
|
onUpdate = _ref.onUpdate,
|
|
@@ -37,12 +37,13 @@ export default function PropertyNumber(_ref) {
|
|
|
37
37
|
max: configs.max
|
|
38
38
|
})))));
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
|
|
41
|
+
// PropertyNumber.propTypes = {
|
|
42
|
+
// value: PropTypes.any.isRequired,
|
|
43
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
44
|
+
// onValid: PropTypes.func,
|
|
45
|
+
// configs: PropTypes.object.isRequired,
|
|
46
|
+
// sourceElement: PropTypes.object,
|
|
47
|
+
// internalState: PropTypes.object,
|
|
48
|
+
// state: PropTypes.object.isRequired
|
|
49
|
+
// };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { FormLabel } from
|
|
4
|
-
import PropertyStyle from
|
|
2
|
+
//import PropTypes from 'prop-types';
|
|
3
|
+
import { FormLabel } from "../../components/style/export";
|
|
4
|
+
import PropertyStyle from "./shared-property-style";
|
|
5
5
|
export default function PropertyReadOnly(_ref) {
|
|
6
6
|
var value = _ref.value,
|
|
7
7
|
onUpdate = _ref.onUpdate,
|
|
@@ -16,11 +16,12 @@ export default function PropertyReadOnly(_ref) {
|
|
|
16
16
|
style: PropertyStyle.firstTdStyle
|
|
17
17
|
}, /*#__PURE__*/React.createElement(FormLabel, null, configs.label)), /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("div", null, value)))));
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
|
|
20
|
+
// PropertyReadOnly.propTypes = {
|
|
21
|
+
// value: PropTypes.any.isRequired,
|
|
22
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
23
|
+
// configs: PropTypes.object.isRequired,
|
|
24
|
+
// sourceElement: PropTypes.object,
|
|
25
|
+
// internalState: PropTypes.object,
|
|
26
|
+
// state: PropTypes.object.isRequired
|
|
27
|
+
// };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { FormLabel, FormTextInput } from
|
|
4
|
-
import PropertyStyle from
|
|
2
|
+
//import PropTypes from 'prop-types';
|
|
3
|
+
import { FormLabel, FormTextInput } from "../../components/style/export";
|
|
4
|
+
import PropertyStyle from "./shared-property-style";
|
|
5
5
|
var tableStyle = {
|
|
6
6
|
width: '100%',
|
|
7
7
|
borderSpacing: '2px 0',
|
|
@@ -38,11 +38,12 @@ export default function PropertyString(_ref) {
|
|
|
38
38
|
}
|
|
39
39
|
})))));
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
|
|
42
|
+
// PropertyString.propTypes = {
|
|
43
|
+
// value: PropTypes.any.isRequired,
|
|
44
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
45
|
+
// configs: PropTypes.object.isRequired,
|
|
46
|
+
// sourceElement: PropTypes.object,
|
|
47
|
+
// internalState: PropTypes.object,
|
|
48
|
+
// state: PropTypes.object.isRequired
|
|
49
|
+
// };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import {
|
|
4
|
-
import PropertyStyle from
|
|
2
|
+
//import PropTypes from 'prop-types';
|
|
3
|
+
import { Button, FormLabel } from "../../components/style/export";
|
|
4
|
+
import PropertyStyle from "./shared-property-style";
|
|
5
5
|
export default function PropertyToggle(_ref) {
|
|
6
6
|
var value = _ref.value,
|
|
7
7
|
onUpdate = _ref.onUpdate,
|
|
@@ -29,11 +29,12 @@ export default function PropertyToggle(_ref) {
|
|
|
29
29
|
size: "small"
|
|
30
30
|
}, configs.actionName)))));
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
//
|
|
33
|
+
// PropertyToggle.propTypes = {
|
|
34
|
+
// value: PropTypes.any.isRequired,
|
|
35
|
+
// onUpdate: PropTypes.func.isRequired,
|
|
36
|
+
// configs: PropTypes.object.isRequired,
|
|
37
|
+
// sourceElement: PropTypes.object,
|
|
38
|
+
// internalState: PropTypes.object,
|
|
39
|
+
// state: PropTypes.object.isRequired
|
|
40
|
+
// };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Three from 'three';
|
|
2
|
-
import { OBJTYPE_MESH } from
|
|
2
|
+
import { OBJTYPE_MESH } from "../../constants";
|
|
3
3
|
export function controlGeom() {
|
|
4
4
|
var vertices = new Float32Array([0, 0.02, 0.55, -0.08, 0, 0.5, -0.05, 0, 0.5, -0.05, 0, -0.5, -0.08, 0, -0.5, 0, 0.02, -0.55, 0.08, 0, -0.5, 0.05, 0, -0.5, 0.05, 0, 0.5, 0.08, 0, 0.5, 0, 0.02, 0.55, -0.08, 0.04, 0.5, -0.05, 0.04, 0.5, -0.05, 0.04, -0.5, -0.08, 0.04, -0.5, 0, 0.02, -0.55, 0.08, 0.04, -0.5, 0.05, 0.04, -0.5, 0.05, 0.04, 0.5, 0.08, 0.04, 0.5, 0, 0.02, 0.55]);
|
|
5
5
|
var indices = new Uint16Array([0, 1, 9, 4, 5, 6, 2, 3, 8, 3, 7, 8, 10, 11, 19, 14, 15, 16, 12, 13, 18, 13, 17, 18, 10, 1, 11, 10, 9, 19, 1, 2, 11, 2, 12, 11, 8, 9, 18, 9, 18, 19, 12, 2, 3, 12, 3, 13, 17, 7, 8, 17, 8, 18, 5, 4, 14, 15, 6, 16]);
|
|
@@ -14,12 +14,12 @@ import convert from 'convert-units';
|
|
|
14
14
|
import { fromJS, Map } from 'immutable';
|
|
15
15
|
import React, { useState } from 'react';
|
|
16
16
|
import * as Three from 'three';
|
|
17
|
-
import * as SceneCreator from
|
|
18
|
-
import { ARROW_COLOR, BASE_CABINET_LAYOUTPOS, OBJTYPE_GROUP, OBJTYPE_MESH, SHADE_DARK_PURPLE_COLOR, SHAPE_SVG_DEPTH, SHAPE_SVG_PADDING, SHAPE_SVG_WIDTH, STATUS_WARNING_COLOR, STATUS_WARNING_LIGHT_COLOR, TALL_CABINET_LAYOUTPOS, UNIT_CENTIMETER, UNIT_INCH, WALL_CABINET_LAYOUTPOS } from
|
|
19
|
-
import { Item } from
|
|
20
|
-
import * as GeomUtils from
|
|
21
|
-
import { loadGLTF } from
|
|
22
|
-
import { animateDoor, translateDrawer } from
|
|
17
|
+
import * as SceneCreator from "../../components/viewer3d/scene-creator";
|
|
18
|
+
import { ARROW_COLOR, BASE_CABINET_LAYOUTPOS, OBJTYPE_GROUP, OBJTYPE_MESH, SHADE_DARK_PURPLE_COLOR, SHAPE_SVG_DEPTH, SHAPE_SVG_PADDING, SHAPE_SVG_WIDTH, STATUS_WARNING_COLOR, STATUS_WARNING_LIGHT_COLOR, TALL_CABINET_LAYOUTPOS, UNIT_CENTIMETER, UNIT_INCH, WALL_CABINET_LAYOUTPOS } from "../../constants";
|
|
19
|
+
import { Item } from "../../models";
|
|
20
|
+
import * as GeomUtils from "./geom-utils";
|
|
21
|
+
import { loadGLTF } from "./load-obj";
|
|
22
|
+
import { animateDoor, translateDrawer } from "../../utils/helper";
|
|
23
23
|
|
|
24
24
|
// env Map ///////////////
|
|
25
25
|
var paramsCounter = {
|
|
@@ -3,7 +3,7 @@ import { MTLLoader } from 'three/examples/jsm/loaders/MTLLoader.js';
|
|
|
3
3
|
import { OBJLoader } from 'three/examples/jsm/loaders/OBJLoader.js';
|
|
4
4
|
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
|
|
5
5
|
import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js';
|
|
6
|
-
import { OBJTYPE_MESH } from
|
|
6
|
+
import { OBJTYPE_MESH } from "../../constants";
|
|
7
7
|
export function loadObjWithMaterial(mtlFile, objFile, imgPath) {
|
|
8
8
|
var manager = new LoadingManager();
|
|
9
9
|
var mtlLoader = new MTLLoader(manager);
|
package/es/class/area.js
CHANGED
|
@@ -8,8 +8,8 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
8
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
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
10
|
import { fromJS } from 'immutable';
|
|
11
|
-
import { Layer, Vertex
|
|
12
|
-
import { IDBroker, NameGenerator } from
|
|
11
|
+
import { Group, Layer, Vertex } from "./export";
|
|
12
|
+
import { IDBroker, NameGenerator } from "../utils/export";
|
|
13
13
|
var Area = /*#__PURE__*/function () {
|
|
14
14
|
function Area() {
|
|
15
15
|
_classCallCheck(this, Area);
|