kitchen-simulator 1.1.1-test.29 → 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.
Files changed (132) hide show
  1. package/es/KitchenConfigurator.js +27 -28
  2. package/es/KitchenConfiguratorApp.js +35 -33
  3. package/es/actions/holes-actions.js +1 -1
  4. package/es/actions/items-actions.js +1 -1
  5. package/es/actions/lines-actions.js +1 -1
  6. package/es/actions/project-actions.js +1 -1
  7. package/es/actions/scene-actions.js +1 -1
  8. package/es/actions/vertices-actions.js +1 -1
  9. package/es/actions/viewer2d-actions.js +1 -1
  10. package/es/actions/viewer3d-actions.js +1 -1
  11. package/es/catalog/catalog.js +2 -2
  12. package/es/catalog/molding/molding-dcm/planner-element.js +0 -2
  13. package/es/catalog/molding/molding-fbm/planner-element.js +0 -2
  14. package/es/catalog/molding/molding-lrm/planner-element.js +0 -2
  15. package/es/catalog/properties/property-checkbox.js +10 -9
  16. package/es/catalog/properties/property-color.js +12 -10
  17. package/es/catalog/properties/property-enum.js +12 -12
  18. package/es/catalog/properties/property-hidden.js +11 -10
  19. package/es/catalog/properties/property-lenght-measure.js +16 -15
  20. package/es/catalog/properties/property-length-measure.js +17 -16
  21. package/es/catalog/properties/property-length-measure_hole.js +16 -15
  22. package/es/catalog/properties/property-number.js +11 -10
  23. package/es/catalog/properties/property-read-only.js +10 -9
  24. package/es/catalog/properties/property-string.js +10 -9
  25. package/es/catalog/properties/property-toggle.js +11 -10
  26. package/es/class/area.js +1 -1
  27. package/es/class/group.js +3 -3
  28. package/es/class/hole.js +5 -6
  29. package/es/class/layer.js +2 -2
  30. package/es/class/project.js +4 -4
  31. package/es/components/content.js +11 -10
  32. package/es/components/style/button.js +8 -7
  33. package/es/components/style/content-container.js +2 -1
  34. package/es/components/style/content-title.js +1 -1
  35. package/es/components/style/form-number-input.js +20 -21
  36. package/es/components/style/form-number-input_2.js +16 -17
  37. package/es/components/style/form-select.js +1 -2
  38. package/es/components/style/form-text-input.js +1 -2
  39. package/es/components/viewer2d/area.js +7 -6
  40. package/es/components/viewer2d/grids/grid-horizontal-streak.js +7 -7
  41. package/es/components/viewer2d/grids/grid-streak.js +7 -7
  42. package/es/components/viewer2d/grids/grid-vertical-streak.js +7 -7
  43. package/es/components/viewer2d/grids/grids.js +6 -4
  44. package/es/components/viewer2d/group.js +12 -10
  45. package/es/components/viewer2d/item.js +14 -14
  46. package/es/components/viewer2d/layer.js +8 -7
  47. package/es/components/viewer2d/line.js +8 -7
  48. package/es/components/viewer2d/ruler.js +8 -8
  49. package/es/components/viewer2d/rulerDist.js +7 -6
  50. package/es/components/viewer2d/rulerX.js +17 -17
  51. package/es/components/viewer2d/rulerY.js +15 -15
  52. package/es/components/viewer2d/scene.js +11 -13
  53. package/es/components/viewer2d/snap.js +7 -6
  54. package/es/components/viewer2d/state.js +7 -6
  55. package/es/components/viewer2d/utils.js +1 -1
  56. package/es/components/viewer2d/vertex.js +6 -5
  57. package/es/components/viewer2d/viewer2d.js +18 -16
  58. package/es/components/viewer3d/front3D.js +1 -1
  59. package/es/components/viewer3d/grids/grid-streak.js +0 -1
  60. package/es/components/viewer3d/ruler-utils/layer3D.js +1 -1
  61. package/es/components/viewer3d/ruler-utils/ruler3D.js +1 -1
  62. package/es/components/viewer3d/ruler-utils/scene3D.js +0 -2
  63. package/es/components/viewer3d/viewer3d-first-person.js +15 -16
  64. package/es/components/viewer3d/viewer3d.js +17 -18
  65. package/es/models.js +1 -1
  66. package/es/plugins/keyboard.js +2 -2
  67. package/es/reducers/holes-reducer.js +1 -1
  68. package/es/reducers/items-reducer.js +2 -5
  69. package/es/reducers/lines-reducer.js +1 -1
  70. package/es/reducers/project-reducer.js +1 -1
  71. package/es/reducers/reducer.js +2 -2
  72. package/es/reducers/scene-reducer.js +1 -1
  73. package/es/reducers/user-reducer.js +1 -2
  74. package/es/reducers/vertices-reducer.js +1 -1
  75. package/es/reducers/viewer2d-reducer.js +1 -1
  76. package/es/reducers/viewer3d-reducer.js +1 -1
  77. package/es/utils/geometry.js +3 -3
  78. package/es/utils/react-if.js +6 -5
  79. package/es/utils/snap-scene.js +2 -2
  80. package/es/utils/snap.js +1 -1
  81. package/lib/KitchenConfigurator.js +27 -29
  82. package/lib/KitchenConfiguratorApp.js +35 -34
  83. package/lib/catalog/molding/molding-dcm/planner-element.js +0 -5
  84. package/lib/catalog/molding/molding-fbm/planner-element.js +0 -5
  85. package/lib/catalog/molding/molding-lrm/planner-element.js +0 -5
  86. package/lib/catalog/properties/property-checkbox.js +10 -10
  87. package/lib/catalog/properties/property-color.js +11 -9
  88. package/lib/catalog/properties/property-enum.js +10 -11
  89. package/lib/catalog/properties/property-hidden.js +11 -11
  90. package/lib/catalog/properties/property-lenght-measure.js +15 -15
  91. package/lib/catalog/properties/property-length-measure.js +15 -15
  92. package/lib/catalog/properties/property-length-measure_hole.js +15 -15
  93. package/lib/catalog/properties/property-number.js +12 -10
  94. package/lib/catalog/properties/property-read-only.js +11 -9
  95. package/lib/catalog/properties/property-string.js +11 -9
  96. package/lib/catalog/properties/property-toggle.js +11 -9
  97. package/lib/components/content.js +12 -10
  98. package/lib/components/style/button.js +8 -9
  99. package/lib/components/style/content-container.js +5 -4
  100. package/lib/components/style/content-title.js +2 -3
  101. package/lib/components/style/form-number-input.js +19 -21
  102. package/lib/components/style/form-number-input_2.js +16 -19
  103. package/lib/components/style/form-select.js +0 -3
  104. package/lib/components/style/form-text-input.js +0 -1
  105. package/lib/components/viewer2d/area.js +8 -6
  106. package/lib/components/viewer2d/grids/grid-horizontal-streak.js +8 -7
  107. package/lib/components/viewer2d/grids/grid-streak.js +8 -7
  108. package/lib/components/viewer2d/grids/grid-vertical-streak.js +8 -7
  109. package/lib/components/viewer2d/grids/grids.js +5 -5
  110. package/lib/components/viewer2d/group.js +13 -10
  111. package/lib/components/viewer2d/item.js +12 -12
  112. package/lib/components/viewer2d/layer.js +8 -6
  113. package/lib/components/viewer2d/line.js +9 -7
  114. package/lib/components/viewer2d/ruler.js +8 -7
  115. package/lib/components/viewer2d/rulerDist.js +8 -6
  116. package/lib/components/viewer2d/rulerX.js +17 -19
  117. package/lib/components/viewer2d/rulerY.js +15 -17
  118. package/lib/components/viewer2d/scene.js +9 -13
  119. package/lib/components/viewer2d/snap.js +8 -6
  120. package/lib/components/viewer2d/state.js +7 -7
  121. package/lib/components/viewer2d/vertex.js +7 -5
  122. package/lib/components/viewer2d/viewer2d.js +18 -17
  123. package/lib/components/viewer3d/grids/grid-streak.js +0 -1
  124. package/lib/components/viewer3d/ruler-utils/scene3D.js +0 -2
  125. package/lib/components/viewer3d/viewer3d-first-person.js +14 -16
  126. package/lib/components/viewer3d/viewer3d.js +16 -18
  127. package/lib/reducers/user-reducer.js +0 -1
  128. package/lib/utils/geometry.js +1 -1
  129. package/lib/utils/react-if.js +7 -5
  130. package/package.json +1 -3
  131. package/es/compat/propTypesCompat.js +0 -8
  132. package/lib/compat/propTypesCompat.js +0 -26
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  import axios from 'axios';
32
32
  import * as convert from 'convert-units';
33
33
  import { Plugins as PlannerPlugins } from "./index";
34
- import PropTypes from "../compat/propTypesCompat";
34
+ //import PropTypes from 'prop-types';
35
35
  import React, { Component } from 'react';
36
36
  import ReactGA from 'react-ga4';
37
37
  import { hotjar } from 'react-hotjar';
@@ -598,33 +598,32 @@ var KitchenConfigurator = /*#__PURE__*/function (_Component) {
598
598
  }))));
599
599
  }
600
600
  }]);
601
- }(Component);
602
- KitchenConfigurator.propTypes = {
603
- translator: PropTypes.instanceOf(Translator),
604
- catalog: PropTypes.instanceOf(Catalog),
605
- allowProjectFileSupport: PropTypes.bool,
606
- plugins: PropTypes.arrayOf(PropTypes.func),
607
- autosaveKey: PropTypes.string,
608
- autosaveDelay: PropTypes.number,
609
- width: PropTypes.number.isRequired,
610
- height: PropTypes.number.isRequired,
611
- stateExtractor: PropTypes.func.isRequired,
612
- toolbarButtons: PropTypes.array,
613
- sidebarComponents: PropTypes.array,
614
- footerbarComponents: PropTypes.array,
615
- customContents: PropTypes.object,
616
- softwareSignature: PropTypes.string,
617
- configData: PropTypes.object
618
- };
619
- KitchenConfigurator.contextTypes = {
620
- store: PropTypes.object.isRequired
621
- };
622
- KitchenConfigurator.childContextTypes = _objectSpread(_objectSpread({}, objectsMap(actions, function () {
623
- return PropTypes.object;
624
- })), {}, {
625
- translator: PropTypes.object,
626
- catalog: PropTypes.object
627
- });
601
+ }(Component); // KitchenConfigurator.propTypes = {
602
+ // translator: PropTypes.instanceOf(Translator),
603
+ //
604
+ // catalog: PropTypes.instanceOf(Catalog),
605
+ // allowProjectFileSupport: PropTypes.bool,
606
+ // plugins: PropTypes.arrayOf(PropTypes.func),
607
+ // autosaveKey: PropTypes.string,
608
+ // autosaveDelay: PropTypes.number,
609
+ // width: PropTypes.number.isRequired,
610
+ // height: PropTypes.number.isRequired,
611
+ // stateExtractor: PropTypes.func.isRequired,
612
+ // toolbarButtons: PropTypes.array,
613
+ // sidebarComponents: PropTypes.array,
614
+ // footerbarComponents: PropTypes.array,
615
+ // customContents: PropTypes.object,
616
+ // softwareSignature: PropTypes.string,
617
+ // configData: PropTypes.object
618
+ // };
619
+ // KitchenConfigurator.contextTypes = {
620
+ // store: PropTypes.object.isRequired
621
+ // };
622
+ // KitchenConfigurator.childContextTypes = {
623
+ // ...objectsMap(actions, () => PropTypes.object),
624
+ // translator: PropTypes.object,
625
+ // catalog: PropTypes.object
626
+ // };
628
627
  KitchenConfigurator.defaultProps = {
629
628
  translator: new Translator(),
630
629
  catalog: new Catalog(),
@@ -19,10 +19,9 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
19
19
  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; }
20
20
  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; }
21
21
  import React, { useEffect } from 'react';
22
- import PropTypes from "../compat/propTypesCompat";
22
+ //import PropTypes from 'prop-types';
23
23
  import { Provider } from 'react-redux';
24
24
  import { createStore } from 'redux';
25
- import * as Models from "./models";
26
25
  import KitchenConfigurator from "./KitchenConfigurator";
27
26
  import AppContext from "./AppContext";
28
27
  import Catalog from "./catalog/catalog";
@@ -462,34 +461,37 @@ export default function KitchenConfiguratorApp(props) {
462
461
 
463
462
  /* ============================== prop types ============================== */
464
463
 
465
- KitchenConfiguratorApp.propTypes = {
466
- width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
467
- height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
468
- projectElement: PropTypes.arrayOf(PropTypes.object),
469
- categoryData: PropTypes.any,
470
- dataBundle: PropTypes.any,
471
- configData: PropTypes.any,
472
- catalog: PropTypes.oneOfType([PropTypes.object, PropTypes.instanceOf(Models.Catalog)]),
473
- logoImg: PropTypes.any,
474
- companyUrl: PropTypes.string,
475
- toolbarButtons: PropTypes.any,
476
- options: PropTypes.object,
477
- user: PropTypes.object,
478
- auth: PropTypes.object,
479
- featureFlags: PropTypes.object,
480
- sentry: PropTypes.shape({
481
- dsn: PropTypes.string,
482
- environment: PropTypes.string
483
- }),
484
- analytics: PropTypes.shape({
485
- ga4Id: PropTypes.string,
486
- hotjar: PropTypes.shape({
487
- id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
488
- sv: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
489
- })
490
- }),
491
- onEvent: PropTypes.func,
492
- onSave: PropTypes.func,
493
- onError: PropTypes.func,
494
- store: PropTypes.object
495
- };
464
+ // KitchenConfiguratorApp.propTypes = {
465
+ // width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
466
+ // height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
467
+ // projectElement: PropTypes.arrayOf(PropTypes.object),
468
+ // categoryData: PropTypes.any,
469
+ // dataBundle: PropTypes.any,
470
+ // configData: PropTypes.any,
471
+ // catalog: PropTypes.oneOfType([
472
+ // PropTypes.object,
473
+ // PropTypes.instanceOf(Models.Catalog)
474
+ // ]),
475
+ // logoImg: PropTypes.any,
476
+ // companyUrl: PropTypes.string,
477
+ // toolbarButtons: PropTypes.any,
478
+ // options: PropTypes.object,
479
+ // user: PropTypes.object,
480
+ // auth: PropTypes.object,
481
+ // featureFlags: PropTypes.object,
482
+ // sentry: PropTypes.shape({
483
+ // dsn: PropTypes.string,
484
+ // environment: PropTypes.string
485
+ // }),
486
+ // analytics: PropTypes.shape({
487
+ // ga4Id: PropTypes.string,
488
+ // hotjar: PropTypes.shape({
489
+ // id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
490
+ // sv: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
491
+ // })
492
+ // }),
493
+ // onEvent: PropTypes.func,
494
+ // onSave: PropTypes.func,
495
+ // onError: PropTypes.func,
496
+ // store: PropTypes.object
497
+ // };
@@ -1,4 +1,4 @@
1
- import { SELECT_HOLE, SELECT_TOOL_DRAWING_HOLE, SELECT_TOOL_DRAWING_HOLE_3D, UPDATE_DRAWING_HOLE, UPDATE_DRAWING_HOLE_3D, END_DRAWING_HOLE, BEGIN_DRAGGING_HOLE, BEGIN_DRAGGING_HOLE_3D, UPDATE_DRAGGING_HOLE, END_DRAGGING_HOLE, END_DRAGGING_HOLE_3D, END_CREATING_HOLE, UPDATE_POPUP_OPEN, UPDATE_DRAGGING_HOLE_CHANGED, UPDATE_DRAGGING_HOLE_RULER_CHANGED, END_DRAWING_HOLE_3D } from "../constants";
1
+ import { BEGIN_DRAGGING_HOLE, BEGIN_DRAGGING_HOLE_3D, END_CREATING_HOLE, END_DRAGGING_HOLE, END_DRAGGING_HOLE_3D, END_DRAWING_HOLE, END_DRAWING_HOLE_3D, SELECT_HOLE, SELECT_TOOL_DRAWING_HOLE, SELECT_TOOL_DRAWING_HOLE_3D, UPDATE_DRAGGING_HOLE, UPDATE_DRAGGING_HOLE_CHANGED, UPDATE_DRAGGING_HOLE_RULER_CHANGED, UPDATE_DRAWING_HOLE, UPDATE_DRAWING_HOLE_3D, UPDATE_POPUP_OPEN } from "../constants";
2
2
  export function endCreatingHole() {
3
3
  return {
4
4
  type: END_CREATING_HOLE
@@ -1,4 +1,4 @@
1
- import { TOGGLE_LOADING_CABINET, SELECT_ITEM, SELECT_TOOL_DRAWING_ITEM, UPDATE_DRAWING_ITEM, END_DRAWING_ITEM, BEGIN_DRAGGING_ITEM, BEGIN_DRAGGING_ITEM_3D, UPDATE_DRAGGING_ITEM, UPDATE_DRAGGING_ITEM_3DX, UPDATE_DRAGGING_ITEM_3DY, END_DRAGGING_ITEM, END_DRAGGING_ITEM_3D, UPDATE_DRAGGING_ITEM_CHANGED, UPDATE_ROTATING_ITEM_CHANGED, BEGIN_ROTATING_ITEM, BEGIN_ROTATING_ITEM_3D, UPDATE_ROTATING_ITEM, UPDATE_ROTATING, END_ROTATING_ITEM, END_ROTATING_ITEM_3D, REPLACE_SUBMODULE, ANIMATE_OBJECT, REMOVE_REPLACE_SUBMODULE, ITEM_MOVE_UP, SELECT_TOOL_DRAWING_ITEM_3D, SET_DOOR_STYLE, SET_HANDLE_MATERIAL, SET_INITIAL_DOOR_STYLE, SET_DISTANT, SET_DOOR_HANDLE, SET_WALL_COLOR, END_CREATING_CABINET, UPDATE_POPUP_OPEN, SET_MODELLING, SET_COUNTER_TOP, SET_BACKSPLASH, SET_BACKSPLASH_VISIBLE, SET_APPLIANCE_MATERIAL, DUPLICATE_SELECTED, EDIT_WIDTH, END_LOADING, STORE_DIST_ARRAY, SET_MOLDING, UPDATE_MOLDING, VALIDATE_ITEM_POSTIONS, REPLACE_ITEM, SET_MOVE_STATUS, SET_ROTATE_STATUS } from "../constants";
1
+ import { ANIMATE_OBJECT, BEGIN_DRAGGING_ITEM, BEGIN_DRAGGING_ITEM_3D, BEGIN_ROTATING_ITEM, BEGIN_ROTATING_ITEM_3D, DUPLICATE_SELECTED, EDIT_WIDTH, END_CREATING_CABINET, END_DRAGGING_ITEM, END_DRAGGING_ITEM_3D, END_DRAWING_ITEM, END_LOADING, END_ROTATING_ITEM, END_ROTATING_ITEM_3D, ITEM_MOVE_UP, REMOVE_REPLACE_SUBMODULE, REPLACE_ITEM, REPLACE_SUBMODULE, SELECT_ITEM, SELECT_TOOL_DRAWING_ITEM, SELECT_TOOL_DRAWING_ITEM_3D, SET_APPLIANCE_MATERIAL, SET_BACKSPLASH, SET_BACKSPLASH_VISIBLE, SET_COUNTER_TOP, SET_DOOR_HANDLE, SET_DOOR_STYLE, SET_HANDLE_MATERIAL, SET_INITIAL_DOOR_STYLE, SET_MODELLING, SET_MOLDING, SET_MOVE_STATUS, SET_ROTATE_STATUS, SET_WALL_COLOR, STORE_DIST_ARRAY, TOGGLE_LOADING_CABINET, UPDATE_DRAGGING_ITEM, UPDATE_DRAGGING_ITEM_3DX, UPDATE_DRAGGING_ITEM_3DY, UPDATE_DRAGGING_ITEM_CHANGED, UPDATE_DRAWING_ITEM, UPDATE_MOLDING, UPDATE_POPUP_OPEN, UPDATE_ROTATING_ITEM, UPDATE_ROTATING_ITEM_CHANGED, VALIDATE_ITEM_POSTIONS } from "../constants";
2
2
  export function storeDistArray(layerID, itemID, distArray) {
3
3
  return {
4
4
  type: STORE_DIST_ARRAY,
@@ -1,4 +1,4 @@
1
- import { SELECT_LINE, SELECT_TOOL_DRAWING_LINE, BEGIN_DRAWING_LINE, UPDATE_DRAWING_LINE, END_DRAWING_LINE, BEGIN_DRAGGING_LINE, UPDATE_DRAGGING_LINE, END_DRAGGING_LINE, STOP_DRAWING_LINE, SET_RELATED_LINE } from "../constants";
1
+ import { BEGIN_DRAGGING_LINE, BEGIN_DRAWING_LINE, END_DRAGGING_LINE, END_DRAWING_LINE, SELECT_LINE, SELECT_TOOL_DRAWING_LINE, SET_RELATED_LINE, STOP_DRAWING_LINE, UPDATE_DRAGGING_LINE, UPDATE_DRAWING_LINE } from "../constants";
2
2
  export function selectLine(layerID, lineID) {
3
3
  return {
4
4
  type: SELECT_LINE,
@@ -1,4 +1,4 @@
1
- import { NEW_PROJECT, LOAD_PROJECT, SAVE_PROJECT, OPEN_CATALOG, SELECT_TOOL_EDIT, UNSELECT_ALL, SET_PROPERTIES, SET_ITEMS_ATTRIBUTES, SET_LINES_ATTRIBUTES, SET_HOLES_ATTRIBUTES, REMOVE, INVERT, UNDO, REDO, UNCREATE, PROJECT_RE_NAME, RECREATE, ROLLBACK, OPEN_PROJECT_CONFIGURATOR, SET_PROJECT_PROPERTIES, SET_PROJECT_ID, INIT_CATALOG, UPDATE_MOUSE_COORDS, UPDATE_ZOOM_SCALE, TOGGLE_SNAP, CHANGE_CATALOG_PAGE, GO_BACK_TO_CATALOG_PAGE, THROW_ERROR, THROW_WARNING, COPY_PROPERTIES, PASTE_PROPERTIES, PUSH_LAST_SELECTED_CATALOG_ELEMENT_TO_HISTORY, ALTERATE_STATE, SET_MODE, ADD_HORIZONTAL_GUIDE, ADD_VERTICAL_GUIDE, ADD_CIRCULAR_GUIDE, REMOVE_HORIZONTAL_GUIDE, REMOVE_VERTICAL_GUIDE, REMOVE_CIRCULAR_GUIDE, REMOVE_DRAWING_SUPPORT, SELECT_ALL, SET_STATE_PROPERTIES, SHIFT2DOFF, SHIFT2DON, SET_IS_HELP, SET_IS_CABINET_DRAWING } from "../constants";
1
+ 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, 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, SAVE_PROJECT, 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";
2
2
  export function setIsHelp(isHelp) {
3
3
  return {
4
4
  type: SET_IS_HELP,
@@ -1,4 +1,4 @@
1
- import { SELECT_LAYER, ADD_LAYER, SET_LAYER_PROPERTIES, REMOVE_LAYER, UPDATE_MOVING_STATE } from "../constants";
1
+ import { ADD_LAYER, REMOVE_LAYER, SELECT_LAYER, SET_LAYER_PROPERTIES, UPDATE_MOVING_STATE } from "../constants";
2
2
  export function selectLayer(layerID) {
3
3
  return {
4
4
  type: SELECT_LAYER,
@@ -1,4 +1,4 @@
1
- import { BEGIN_DRAGGING_VERTEX, UPDATE_DRAGGING_VERTEX, END_DRAGGING_VERTEX } from "../constants";
1
+ import { BEGIN_DRAGGING_VERTEX, END_DRAGGING_VERTEX, UPDATE_DRAGGING_VERTEX } from "../constants";
2
2
  export function beginDraggingVertex(layerID, vertexID, x, y, snapMask) {
3
3
  return {
4
4
  type: BEGIN_DRAGGING_VERTEX,
@@ -1,4 +1,4 @@
1
- import { UPDATE_CEIL_HEIGHT_UNIT, UPDATE_CEIL_HEIGHT, UPDATE_2D_CAMERA, SELECT_TOOL_PAN, SELECT_TOOL_ZOOM_IN, SELECT_TOOL_ZOOM_OUT, CHANGE_WALL_LENGTH_MEASURE, CHANGE_BASE_CABINET_MEASURE, CHANGE_WALL_CABINET_MEASURE, CHANGE_WINDOW_DOOR_MEASURE } from "../constants";
1
+ import { CHANGE_BASE_CABINET_MEASURE, CHANGE_WALL_CABINET_MEASURE, CHANGE_WALL_LENGTH_MEASURE, CHANGE_WINDOW_DOOR_MEASURE, SELECT_TOOL_PAN, SELECT_TOOL_ZOOM_IN, SELECT_TOOL_ZOOM_OUT, UPDATE_2D_CAMERA, UPDATE_CEIL_HEIGHT, UPDATE_CEIL_HEIGHT_UNIT } from "../constants";
2
2
  export function updateCeilHeight(value) {
3
3
  return {
4
4
  type: UPDATE_CEIL_HEIGHT,
@@ -1,4 +1,4 @@
1
- import { UPDATE_3D_CEIL_HEIGHT_UNIT, UPDATE_3D_CEIL_HEIGHT, SELECT_TOOL_3D_VIEW, SELECT_TOOL_3D_FIRST_PERSON } from "../constants";
1
+ import { SELECT_TOOL_3D_FIRST_PERSON, SELECT_TOOL_3D_VIEW, UPDATE_3D_CEIL_HEIGHT, UPDATE_3D_CEIL_HEIGHT_UNIT } from "../constants";
2
2
  export function selectTool3DView() {
3
3
  return {
4
4
  type: SELECT_TOOL_3D_VIEW
@@ -10,8 +10,8 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o =
10
10
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
12
12
  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); }
13
- import { PropertyColor, PropertyEnum, PropertyString, PropertyNumber, PropertyLengthMeasure, PropertyToggle, PropertyCheckbox, PropertyHidden, PropertyReadOnly } from "./properties/export";
14
- import { UNIT_CENTIMETER, UNIT_INCH } from "../constants";
13
+ import { PropertyCheckbox, PropertyColor, PropertyEnum, PropertyHidden, PropertyLengthMeasure, PropertyNumber, PropertyReadOnly, PropertyString, PropertyToggle } from "./properties/export";
14
+ import { UNIT_CENTIMETER } from "../constants";
15
15
  import { returnReplaceableDeepSearchType } from "../components/viewer2d/utils";
16
16
  var Catalog = /*#__PURE__*/function () {
17
17
  function Catalog() {
@@ -1,5 +1,3 @@
1
- import React from 'react';
2
- import * as Three from 'three';
3
1
  import { loadGLTF } from "../../utils/load-obj";
4
2
  var cached3DMolding = null;
5
3
  export default {
@@ -1,5 +1,3 @@
1
- import React from 'react';
2
- import * as Three from 'three';
3
1
  import { loadGLTF } from "../../utils/load-obj";
4
2
  var cached3DMolding = null;
5
3
  export default {
@@ -1,5 +1,3 @@
1
- import React from 'react';
2
- import * as Three from 'three';
3
1
  import { loadGLTF } from "../../utils/load-obj";
4
2
  var cached3DMolding = null;
5
3
  export default {
@@ -7,7 +7,7 @@ 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 "../compat/propTypesCompat";
10
+ //import PropTypes from 'prop-types';
11
11
  import styled from 'styled-components';
12
12
  import { DEFAULT_FONT_FAMILY, SECONDARY_PURPLE_COLOR, TEXT_COLOR_NEUTRAL_0 } from "../../constants";
13
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"])));
@@ -59,11 +59,12 @@ export default function PropertyCheckbox(_ref) {
59
59
  }
60
60
  }))));
61
61
  }
62
- PropertyCheckbox.propTypes = {
63
- value: PropTypes.any.isRequired,
64
- onUpdate: PropTypes.func.isRequired,
65
- configs: PropTypes.object.isRequired,
66
- sourceElement: PropTypes.object,
67
- internalState: PropTypes.object,
68
- state: PropTypes.object.isRequired
69
- };
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,6 +1,7 @@
1
1
  import React from 'react';
2
- import PropTypes from "../compat/propTypesCompat";
3
- import { FormLabel, FormColorInput } from "../../components/style/export";
2
+
3
+ //import PropTypes from 'prop-types';
4
+ import { FormColorInput, FormLabel } from "../../components/style/export";
4
5
  import PropertyStyle from "./shared-property-style";
5
6
  export default function PropertyColor(_ref) {
6
7
  var value = _ref.value,
@@ -29,11 +30,12 @@ export default function PropertyColor(_ref) {
29
30
  }
30
31
  })))));
31
32
  }
32
- PropertyColor.propTypes = {
33
- value: PropTypes.any.isRequired,
34
- onUpdate: PropTypes.func.isRequired,
35
- configs: PropTypes.object.isRequired,
36
- sourceElement: PropTypes.object,
37
- internalState: PropTypes.object,
38
- state: PropTypes.object.isRequired
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 "../compat/propTypesCompat";
10
+ //import PropTypes from 'prop-types';
11
11
  import { Seq } from 'immutable';
12
- import { FormLabel, FormSelect } from "../../components/style/export";
13
- import PropertyStyle from "./shared-property-style";
12
+ import { FormSelect } from "../../components/style/export";
14
13
  import styled from 'styled-components';
15
- import { TEXT_COLOR_NEUTRAL_0, DEFAULT_FONT_FAMILY } from "../../constants";
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
- 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
- };
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 React from 'react';
2
- import PropTypes from "../compat/propTypesCompat";
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
- PropertyHidden.propTypes = {
13
- value: PropTypes.any.isRequired,
14
- onUpdate: PropTypes.func.isRequired,
15
- configs: PropTypes.object.isRequired,
16
- sourceElement: PropTypes.object,
17
- internalState: PropTypes.object,
18
- state: PropTypes.object.isRequired
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,11 +3,10 @@ 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 "../compat/propTypesCompat";
7
- import { BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS, UNITS_LENGTH, UNIT_INCH } from "./../../constants";
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
9
  import { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
10
- import { Map } from 'immutable';
11
10
  import { toFixedFloat } from "../../utils/math";
12
11
  import PropertyStyle from "./shared-property-style";
13
12
  var internalTableStyle = {
@@ -87,15 +86,17 @@ export default function PropertyLengthMeasure(_ref, _ref2) {
87
86
  }, el);
88
87
  }))))))))));
89
88
  }
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
- PropertyLengthMeasure.contextTypes = {
100
- catalog: PropTypes.object.isRequired
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,11 +5,10 @@ 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 "../compat/propTypesCompat";
9
- import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, DEFAULT_FONT_FAMILY, TEXT_COLOR_NEUTRAL_0, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from "../../constants";
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 { FormLabel, FormNumberInput, FormSelect } from "../../components/style/export";
12
- import { Map } from 'immutable';
11
+ import { FormNumberInput } from "../../components/style/export";
13
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"])));
@@ -71,15 +70,17 @@ export default function PropertyLengthMeasure(_ref, _ref2) {
71
70
  }
72
71
  }, configRest)));
73
72
  }
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
- PropertyLengthMeasure.contextTypes = {
84
- catalog: PropTypes.object.isRequired
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,11 +3,10 @@ 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 "../compat/propTypesCompat";
7
- import { UNITS_LENGTH, UNIT_INCH, UNIT_CENTIMETER, BASE_CABINET_LAYOUTPOS, TALL_CABINET_LAYOUTPOS } from "../../constants";
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
9
  import { FormLabel, FormNumberInput1, FormSelect } from "../../components/style/export";
10
- import { Map } from 'immutable';
11
10
  import { toFixedFloat } from "../../utils/math";
12
11
  import PropertyStyle from "./shared-property-style";
13
12
  var internalTableStyle = {
@@ -87,15 +86,17 @@ export default function PropertyLengthMeasureHole(_ref, _ref2) {
87
86
  }, el);
88
87
  }))))))))));
89
88
  }
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
- PropertyLengthMeasureHole.contextTypes = {
100
- catalog: PropTypes.object.isRequired
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,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from "../compat/propTypesCompat";
2
+ //import PropTypes from 'prop-types';
3
3
  import { FormLabel, FormNumberInput } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyNumber(_ref) {
@@ -37,12 +37,13 @@ export default function PropertyNumber(_ref) {
37
37
  max: configs.max
38
38
  })))));
39
39
  }
40
- PropertyNumber.propTypes = {
41
- value: PropTypes.any.isRequired,
42
- onUpdate: PropTypes.func.isRequired,
43
- onValid: PropTypes.func,
44
- configs: PropTypes.object.isRequired,
45
- sourceElement: PropTypes.object,
46
- internalState: PropTypes.object,
47
- state: PropTypes.object.isRequired
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,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from "../compat/propTypesCompat";
2
+ //import PropTypes from 'prop-types';
3
3
  import { FormLabel } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  export default function PropertyReadOnly(_ref) {
@@ -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
- PropertyReadOnly.propTypes = {
20
- value: PropTypes.any.isRequired,
21
- onUpdate: PropTypes.func.isRequired,
22
- configs: PropTypes.object.isRequired,
23
- sourceElement: PropTypes.object,
24
- internalState: PropTypes.object,
25
- state: PropTypes.object.isRequired
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,5 +1,5 @@
1
1
  import React from 'react';
2
- import PropTypes from "../compat/propTypesCompat";
2
+ //import PropTypes from 'prop-types';
3
3
  import { FormLabel, FormTextInput } from "../../components/style/export";
4
4
  import PropertyStyle from "./shared-property-style";
5
5
  var tableStyle = {
@@ -38,11 +38,12 @@ export default function PropertyString(_ref) {
38
38
  }
39
39
  })))));
40
40
  }
41
- PropertyString.propTypes = {
42
- value: PropTypes.any.isRequired,
43
- onUpdate: PropTypes.func.isRequired,
44
- configs: PropTypes.object.isRequired,
45
- sourceElement: PropTypes.object,
46
- internalState: PropTypes.object,
47
- state: PropTypes.object.isRequired
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
+ // };