kitchen-simulator 5.0.0-test.63 → 5.0.0-test.64

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 (38) hide show
  1. package/package.json +1 -1
  2. package/src/KitchenConfiguratorApp.jsx +1 -1
  3. package/src/_KitchenConfigurator.jsx +1 -1
  4. package/src/catalog/properties/property-checkbox.jsx +1 -1
  5. package/src/catalog/properties/property-color.jsx +1 -1
  6. package/src/catalog/properties/property-enum.jsx +1 -1
  7. package/src/catalog/properties/property-hidden.jsx +1 -1
  8. package/src/catalog/properties/property-lenght-measure.jsx +1 -1
  9. package/src/catalog/properties/property-length-measure.jsx +1 -1
  10. package/src/catalog/properties/property-length-measure_hole.jsx +1 -1
  11. package/src/catalog/properties/property-number.jsx +1 -1
  12. package/src/catalog/properties/property-read-only.jsx +1 -1
  13. package/src/catalog/properties/property-string.jsx +1 -1
  14. package/src/catalog/properties/property-toggle.jsx +1 -1
  15. package/src/components/content.jsx +1 -1
  16. package/src/components/style/button.jsx +1 -1
  17. package/src/components/style/form-number-input.jsx +1 -1
  18. package/src/components/viewer2d/area.jsx +1 -1
  19. package/src/components/viewer2d/grids/grid-horizontal-streak.jsx +1 -1
  20. package/src/components/viewer2d/grids/grid-streak.jsx +1 -1
  21. package/src/components/viewer2d/grids/grid-vertical-streak.jsx +1 -1
  22. package/src/components/viewer2d/grids/grids.jsx +1 -1
  23. package/src/components/viewer2d/group.jsx +1 -1
  24. package/src/components/viewer2d/item.jsx +1 -1
  25. package/src/components/viewer2d/layer.jsx +1 -1
  26. package/src/components/viewer2d/line.jsx +1 -1
  27. package/src/components/viewer2d/ruler.jsx +1 -1
  28. package/src/components/viewer2d/rulerDist.jsx +5 -5
  29. package/src/components/viewer2d/rulerX.jsx +1 -1
  30. package/src/components/viewer2d/rulerY.jsx +1 -1
  31. package/src/components/viewer2d/scene.jsx +1 -1
  32. package/src/components/viewer2d/snap.jsx +1 -1
  33. package/src/components/viewer2d/state.jsx +1 -1
  34. package/src/components/viewer2d/vertex.jsx +2 -2
  35. package/src/components/viewer2d/viewer2d.jsx +1 -1
  36. package/src/components/viewer3d/viewer3d-first-person.js +1 -1
  37. package/src/components/viewer3d/viewer3d.jsx +1 -1
  38. 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.63",
3
+ "version": "5.0.0-test.64",
4
4
  "description": "It is a kitchen simulator.",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import { Provider } from 'react-redux';
4
4
  import { createStore } from 'redux';
5
5
  import * as Models from './models';
@@ -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 styled from 'styled-components';
4
4
  import {
5
5
  DEFAULT_FONT_FAMILY,
@@ -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 { FormLabel, FormColorInput } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -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 styled from 'styled-components';
@@ -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
 
4
4
  export default function PropertyHidden({
5
5
  value,
@@ -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 {
4
4
  BASE_CABINET_LAYOUTPOS,
5
5
  TALL_CABINET_LAYOUTPOS,
@@ -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 {
4
4
  UNITS_LENGTH,
5
5
  UNIT_INCH,
@@ -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 {
4
4
  UNITS_LENGTH,
5
5
  UNIT_INCH,
@@ -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 { FormLabel, FormNumberInput } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -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 { FormLabel } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -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 { FormLabel, FormTextInput } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -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 { FormLabel, Button } from '../../components/style/export';
4
4
  import PropertyStyle from './shared-property-style';
5
5
 
@@ -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 Viewer2D from './viewer2d/viewer2d';
4
4
  import Viewer3D from './viewer3d/viewer3d';
5
5
  import Viewer3DFirstPerson from './viewer3d/viewer3d-first-person';
@@ -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
 
5
5
  const BASE_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 {
4
4
  KEYBOARD_BUTTON_CODE,
5
5
  TEXT_COLOR_NEUTRAL_0,
@@ -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 polylabel from 'polylabel';
4
4
  import areapolygon from 'area-polygon';
5
5
  import convert from 'convert-units';
@@ -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 { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
 
@@ -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 { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
 
@@ -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 { List } from 'immutable';
4
4
  import convert from 'convert-units';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { memo } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import GridStreak from './grid-streak';
4
4
 
5
5
  const propsAreEqual = (oldScene, newScene) =>
@@ -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 If from '../../utils/react-if';
4
4
  import * as sharedStyles from '../../shared-style';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { useState } from 'react';
3
- import PropTypes from 'prop-types';
3
+ import * as PropTypes from 'prop-types';
4
4
  import RulerDist from './rulerDist';
5
5
  import convert from 'convert-units';
6
6
  import { GeometryUtils } from '../../utils/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 { 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 { GeometryUtils } from '../../utils/export';
4
4
  import Ruler from './ruler';
5
5
  import {
@@ -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 convert from 'convert-units';
4
4
  import IDBroker from '../../utils/id-broker';
5
5
  import {
@@ -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 convert from 'convert-units';
4
4
 
5
5
  const ARROW_STYLE = {
@@ -109,8 +109,8 @@ export default function RulerDist({
109
109
  (length + textLength) / 2 < 0
110
110
  ? 0
111
111
  : (length + textLength) / 2 < length
112
- ? (length + textLength) / 2
113
- : length
112
+ ? (length + textLength) / 2
113
+ : length
114
114
  }
115
115
  y1="0"
116
116
  x2={length}
@@ -164,8 +164,8 @@ export default function RulerDist({
164
164
  (length + textLength) / 2 < 0
165
165
  ? 0
166
166
  : (length + textLength) / 2 < length
167
- ? (length + textLength) / 2
168
- : length
167
+ ? (length + textLength) / 2
168
+ : length
169
169
  }
170
170
  y1="0"
171
171
  x2={length}
@@ -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
 
5
5
  export default class RulerX extends Component {
@@ -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
 
5
5
  export default class RulerY extends Component {
@@ -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 { Layer, Grids } from './export';
4
4
  import { searchForSkuValue } from './utils';
5
5
 
@@ -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 Geometry from '../../utils/geometry';
4
4
 
5
5
  const STYLE = {
@@ -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 Scene from './scene';
4
4
  import Snap from './snap';
5
5
  import * as SharedStyle from '../../shared-style';
@@ -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 )
@@ -63,7 +63,7 @@ export default function Vertex({ vertex, layer }) {
63
63
  style={STYLE}
64
64
  ></polygon> */}
65
65
  <polygon
66
- points={`${x - vertexthickness},${y + vertexthickness } ${x -vertexthickness },${y - vertexthickness} ${x + vertexthickness},${y - vertexthickness} ${x + vertexthickness},${y + vertexthickness}`}
66
+ points={`${x - vertexthickness},${y + vertexthickness} ${x - vertexthickness},${y - vertexthickness} ${x + vertexthickness},${y - vertexthickness} ${x + vertexthickness},${y + vertexthickness}`}
67
67
  style={STYLE}
68
68
  ></polygon>
69
69
  </g>
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useRef, useState } from 'react';
2
- import PropTypes from 'prop-types';
2
+ import * as PropTypes from 'prop-types';
3
3
  import {
4
4
  ReactSVGPanZoom,
5
5
  TOOL_AUTO,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import React from 'react';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import ReactDOM from 'react-dom';
6
6
  import * as Three from 'three';
7
7
  import { parseData, updateScene } from './scene-creator';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import React from 'react';
4
- import PropTypes from 'prop-types';
4
+ import * as PropTypes from 'prop-types';
5
5
  import ReactDOM from 'react-dom';
6
6
  import * as Three from 'three';
7
7
  import {
@@ -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
 
4
4
  /**
5
5
  * @return {null}