educoreapp2 1.0.98 → 1.0.100

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.
@@ -72,7 +72,6 @@ class BaseInputString extends _react.Component {
72
72
  let TT = _educoreapp.Translate.getT(window.App.lang, "Error", "Error");
73
73
  let xx = "inputStringError";
74
74
  this.states.className2 = xx;
75
- console.log(TT, error, window.App.lang);
76
75
  let str = TT[error];
77
76
  console.log(error, this.states.validator.minLength);
78
77
  let MAP = {
@@ -18,6 +18,7 @@ class BaseSlimPage extends _react.Component {
18
18
  render() {
19
19
  //console.log(this.props.isMenuShow);
20
20
  let isMenuShow = _educoreapp.Tools.isset(this.props.isMenuShow) ? this.props.isMenuShow : true;
21
+ let isShort = _educoreapp.Tools.isset(this.props.isShort) ? this.props.isShort : false;
21
22
  let bgColor = _educoreapp.Tools.isset(this.props.bgColor) ? this.props.bgColor : "white";
22
23
  return /*#__PURE__*/_react.default.createElement("div", {
23
24
  className: "row g-0",
@@ -40,7 +41,13 @@ class BaseSlimPage extends _react.Component {
40
41
  }
41
42
  }, this.props.children)), /*#__PURE__*/_react.default.createElement("div", {
42
43
  className: "col-1 col-sm-1 col-md-2 col-lg-3"
44
+ }), /*#__PURE__*/_react.default.createElement("div", {
45
+ className: "row",
46
+ style: {
47
+ height: "50px"
48
+ }
43
49
  }), /*#__PURE__*/_react.default.createElement(_educoreapp.MenuBottom, {
50
+ isShort: isShort,
44
51
  style: {
45
52
  position: "absolute",
46
53
  top: "90%"
@@ -14,8 +14,11 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
14
14
  class MenuBottom extends _react.Component {
15
15
  constructor(props) {
16
16
  super(props);
17
+ this.props = props;
18
+ let isShort = Tools.isset(this.props.isShort) ? this.props.isShort : false;
19
+ let menuItems = !isShort ? window.App.Config.menu.full : window.App.Config.menu.short;
17
20
  this.state = {
18
- menuItems: window.App.Config.menu
21
+ "menuItems": menuItems
19
22
  };
20
23
  }
21
24
  render() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "educoreapp2",
3
3
  "private": false,
4
- "version": "1.0.98",
4
+ "version": "1.0.100",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "files": [