kitchen-simulator 5.0.0-test.36 → 5.0.0-test.38
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/package.json +3 -2
- package/src/KitchenConfiguratorApp.jsx +1 -1
- package/src/_KitchenConfigurator.jsx +1 -1
- package/src/catalog/properties/property-checkbox.jsx +1 -1
- package/src/catalog/properties/property-color.jsx +1 -1
- package/src/catalog/properties/property-enum.jsx +1 -1
- package/src/catalog/properties/property-hidden.jsx +1 -1
- package/src/catalog/properties/property-lenght-measure.jsx +1 -1
- package/src/catalog/properties/property-length-measure.jsx +1 -1
- package/src/catalog/properties/property-length-measure_hole.jsx +1 -1
- package/src/catalog/properties/property-number.jsx +1 -1
- package/src/catalog/properties/property-read-only.jsx +1 -1
- package/src/catalog/properties/property-string.jsx +1 -1
- package/src/catalog/properties/property-toggle.jsx +1 -1
- package/src/components/button/MainButton.jsx +5 -5
- package/src/components/button/ToggleMeasureButton.jsx +1 -1
- package/src/components/catalog-view/catalog-breadcrumb.jsx +1 -1
- package/src/components/catalog-view/catalog-item.jsx +1 -1
- package/src/components/catalog-view/catalog-list.jsx +1 -1
- package/src/components/catalog-view/catalog-page-item.jsx +1 -1
- package/src/components/catalog-view/catalog-turn-back-page-item.jsx +1 -1
- package/src/components/configurator/custom-configurator.jsx +1 -1
- package/src/components/configurator/project-configurator.jsx +1 -1
- package/src/components/content.jsx +1 -1
- package/src/components/firstsetting/firstsetting-content-button.jsx +1 -1
- package/src/components/firstsetting/firstsetting-toggle-button.jsx +1 -1
- package/src/components/firstsetting/firstsetting.jsx +1 -1
- package/src/components/footerbar/button/ControlButton.jsx +1 -1
- package/src/components/footerbar/button/DirectionButton.jsx +1 -1
- package/src/components/footerbar/button/DirectionPanSpinButton.jsx +1 -1
- package/src/components/footerbar/button/ToggleButton.jsx +1 -1
- package/src/components/footerbar/button/ToggleConvertButton.jsx +1 -1
- package/src/components/footerbar/button/ToggleMeasureButton.jsx +1 -1
- package/src/components/footerbar/footer-content-button.jsx +1 -1
- package/src/components/footerbar/footer-toggle-button.jsx +1 -1
- package/src/components/footerbar/footerbar.jsx +1 -1
- package/src/components/header/button/MenuButton.jsx +1 -1
- package/src/components/header/header.jsx +1 -1
- package/src/components/myprojects/index.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/attributes-editor/attributes-editor.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/element-editor.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/panel-element-editor.jsx +1 -1
- package/src/components/sidebar/panel-element-editor/panel-multi-elements-editor.jsx +1 -1
- package/src/components/sidebar/panel-group-editor.jsx +1 -1
- package/src/components/sidebar/panel-groups.jsx +1 -1
- package/src/components/sidebar/panel-guides.jsx +1 -1
- package/src/components/sidebar/panel-layer-elements.jsx +1 -1
- package/src/components/sidebar/panel-layers.jsx +1 -1
- package/src/components/sidebar/panel.jsx +1 -1
- package/src/components/sidebar/sidebar.jsx +1 -1
- package/src/components/sidebar/toolbar-panel.jsx +1 -1
- package/src/components/sign/main/index.jsx +1 -1
- package/src/components/style/button.jsx +1 -1
- package/src/components/style/content-container.jsx +1 -1
- package/src/components/style/content-title.jsx +1 -1
- package/src/components/style/form-number-input.jsx +1 -1
- package/src/components/style/form-number-input_2.jsx +1 -1
- package/src/components/toolbar/button/ControlButton.jsx +1 -1
- package/src/components/toolbar/button/DirectionButton.jsx +1 -1
- package/src/components/toolbar/button/RightButton.jsx +1 -1
- package/src/components/toolbar/button/ToggleButton.jsx +1 -1
- package/src/components/toolbar/button/index.jsx +1 -1
- package/src/components/toolbar/main/Alert.js +1 -1
- package/src/components/toolbar/main/index.jsx +1 -1
- package/src/components/toolbar/main/myComponents.jsx +1 -1
- package/src/components/toolbar/plugin-item.jsx +1 -1
- package/src/components/toolbar/popup/downloadsummary/show3D/viewer3DDownLoad.jsx +1 -1
- package/src/components/toolbar/popup/downloadsummary/showElevation/viewer3DElevationDownload.jsx +1 -1
- package/src/components/toolbar/toolbar-button.jsx +1 -1
- package/src/components/toolbar/toolbar-load-button.jsx +1 -1
- package/src/components/toolbar/toolbar-save-button.jsx +1 -1
- package/src/components/viewer2d/area.jsx +1 -1
- package/src/components/viewer2d/grids/grid-horizontal-streak.jsx +1 -1
- package/src/components/viewer2d/grids/grid-streak.jsx +1 -1
- package/src/components/viewer2d/grids/grid-vertical-streak.jsx +1 -1
- package/src/components/viewer2d/grids/grids.jsx +1 -1
- package/src/components/viewer2d/group.jsx +1 -1
- package/src/components/viewer2d/item.jsx +1 -1
- package/src/components/viewer2d/layer.jsx +1 -1
- package/src/components/viewer2d/line.jsx +1 -1
- package/src/components/viewer2d/ruler.jsx +1 -1
- package/src/components/viewer2d/rulerDist.jsx +1 -1
- package/src/components/viewer2d/rulerX.jsx +1 -1
- package/src/components/viewer2d/rulerY.jsx +1 -1
- package/src/components/viewer2d/scene.jsx +1 -1
- package/src/components/viewer2d/snap.jsx +1 -1
- package/src/components/viewer2d/state.jsx +1 -1
- package/src/components/viewer2d/vertex.jsx +1 -1
- package/src/components/viewer2d/viewer2d.jsx +1 -1
- package/src/components/viewer3d/viewer3d-first-person.js +1 -1
- package/src/components/viewer3d/viewer3d.jsx +1 -1
- package/src/components/wizardstep/wizardstep-content-button.jsx +1 -1
- package/src/components/wizardstep/wizardstep-toggle-button.jsx +1 -1
- package/src/ui/toolbar-screenshot-button.jsx +1 -1
- package/src/utils/react-if.jsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kitchen-simulator",
|
|
3
|
-
"version": "5.0.0-test.
|
|
3
|
+
"version": "5.0.0-test.38",
|
|
4
4
|
"description": "It is a kitchen simulator.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"react-dom": ">=16.8 || ^17 || ^18",
|
|
104
104
|
"react-redux": "5.0.7",
|
|
105
105
|
"redux": "4.0.1",
|
|
106
|
-
"redux-thunk": "^2.3.0"
|
|
106
|
+
"redux-thunk": "^2.3.0",
|
|
107
|
+
"prop-types": "15.7.2"
|
|
107
108
|
}
|
|
108
109
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import convert from 'convert-units';
|
|
3
3
|
import { Plugins as PlannerPlugins } from './index';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
4
|
+
import * as PropTypes from 'prop-types';
|
|
5
5
|
import React, { Component } from 'react';
|
|
6
6
|
import ReactGA from 'react-ga4';
|
|
7
7
|
import { hotjar } from 'react-hotjar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { Seq } from 'immutable';
|
|
4
4
|
import { FormLabel, FormSelect } from '../../components/style/export';
|
|
5
5
|
import PropertyStyle from './shared-property-style';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import {
|
|
5
5
|
BG_COLOR_0,
|
|
@@ -85,8 +85,8 @@ export default class MainButton extends Component {
|
|
|
85
85
|
color: ${disabled
|
|
86
86
|
? TEXT_COLOR_NEUTRAL_4
|
|
87
87
|
: variant === 'primary'
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
? BG_COLOR_1
|
|
89
|
+
: SECONDARY_PURPLE_COLOR};
|
|
90
90
|
font-family: ${DEFAULT_FONT_FAMILY};
|
|
91
91
|
font-size: 13px;
|
|
92
92
|
font-weight: 600;
|
|
@@ -100,8 +100,8 @@ export default class MainButton extends Component {
|
|
|
100
100
|
background-color: ${disabled
|
|
101
101
|
? TEXT_COLOR_NEUTRAL_4
|
|
102
102
|
: variant !== 'primary'
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
? SECONDARY_PURPLE_COLOR
|
|
104
|
+
: BG_COLOR_1};
|
|
105
105
|
-webkit-mask-image: url(${props => props.maskImage + '?nocache=2025'});
|
|
106
106
|
-webkit-mask-size: 90%;
|
|
107
107
|
-webkit-mask-repeat: no-repeat;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { FaPlusCircle as IconAdd } from 'react-icons/fa';
|
|
4
4
|
import * as SharedStyle from '../../shared-style';
|
|
5
5
|
import { API_SERVER_URL, MODE, MODE_IDLE } from '../../constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import CatalogItem from './catalog-item';
|
|
4
4
|
import CatalogBreadcrumb from './catalog-breadcrumb';
|
|
5
5
|
import CatalogPageItem from './catalog-page-item';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { MdNavigateBefore } from 'react-icons/md';
|
|
4
4
|
import * as SharedStyle from '../../shared-style';
|
|
5
5
|
import { MODE_IDLE } from '../../constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import * as S from './button/styles';
|
|
4
4
|
import * as rectangleData from '../toolbar/main/rectangle.json';
|
|
5
5
|
import * as lShaped from '../toolbar/main/lShaped.json';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Tooltip from '@material-ui/core/Tooltip';
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
3
|
+
import * as PropTypes from 'prop-types';
|
|
4
4
|
import * as S from './styles';
|
|
5
5
|
import { GeometryUtils } from '../../utils/export';
|
|
6
6
|
import { toFixedFloat } from '../../utils/math';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import ItemAttributesEditor from './item-attributes-editor';
|
|
4
4
|
import LineAttributesEditor from './line-attributes-editor';
|
|
5
5
|
import HoleAttributesEditor from './hole-attributes-editor';
|
package/src/components/sidebar/panel-element-editor/attributes-editor/hole-attributes-editor.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { PropertyLengthMeasure } from '../../../../catalog/properties/export';
|
|
4
4
|
import PropertyString from '../../../../catalog/properties/property-string';
|
|
5
5
|
import {
|
package/src/components/sidebar/panel-element-editor/attributes-editor/item-attributes-editor.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import FormNumberInput from '../../../style/form-number-input';
|
|
4
4
|
import convert from 'convert-units';
|
|
5
5
|
import ConfirmPopup from './confirm-popup';
|
package/src/components/sidebar/panel-element-editor/attributes-editor/line-attributes-editor.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { FormNumberInput, FormTextInput } from '../../../style/export';
|
|
4
4
|
import { PropertyLengthMeasure } from '../../../../catalog/properties/export';
|
|
5
5
|
import styled from 'styled-components';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { Map, fromJS } from 'immutable';
|
|
4
4
|
import AttributesEditor from './attributes-editor/attributes-editor';
|
|
5
5
|
import { GeometryUtils, MathUtils } from '../../../utils/export';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import Panel from './panel';
|
|
4
4
|
import * as SharedStyle from '../../shared-style';
|
|
5
5
|
import { FormNumberInput, FormTextInput } from '../style/export';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import PanelElementEditor from './panel-element-editor/panel-element-editor';
|
|
4
4
|
import PanelGroupEditor from './panel-group-editor';
|
|
5
5
|
import PanelMultiElementsEditor from './panel-element-editor/panel-multi-elements-editor';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import * as SharedStyle from '../../shared-style';
|
|
4
4
|
import { MdUpdate } from 'react-icons/md';
|
|
5
5
|
import { KEYBOARD_BUTTON_CODE } from '../../constants';
|
|
@@ -3,7 +3,7 @@ import { withStyles } from '@material-ui/core/styles';
|
|
|
3
3
|
import ErrorIcon from '@material-ui/icons/Error';
|
|
4
4
|
import convert from 'convert-units';
|
|
5
5
|
import { Map } from 'immutable';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
6
|
+
import * as PropTypes from 'prop-types';
|
|
7
7
|
import React, { PureComponent } from 'react';
|
|
8
8
|
import { FaPlayCircle } from 'react-icons/fa';
|
|
9
9
|
import * as door_closet from '../../../catalog/holes/door-closet/planner-element';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import * as SharedStyle from '../../shared-style';
|
|
4
4
|
import { FaFolderOpen } from 'react-icons/fa';
|
|
5
5
|
import { MdSettings, MdUndo, MdDirectionsRun } from 'react-icons/md';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { FaFolderOpen as IconLoad } from 'react-icons/fa';
|
|
4
4
|
import ToolbarButton from './toolbar-button';
|
|
5
5
|
import { browserUpload } from '../../utils/browser';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import { Area, Group, Item, Line, Vertex } from './export';
|
|
4
4
|
import { GeometryUtils } from '../../utils/export';
|
|
5
5
|
import { MODE_DRAWING_LINE, WALL_CABINET_LAYOUTPOS } from '../../constants';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
3
|
import * as SharedStyle from '../../shared-style';
|
|
4
4
|
import { LINE_THICKNESS } from '../../../src/constants';
|
|
5
5
|
//Space from the center of the point(Use cases:x - vertexthickness,y + vertexthickness )
|
package/src/utils/react-if.jsx
CHANGED