asab_webui_shell 27.3.2-alpha.1 → 27.3.2

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.
@@ -435,7 +435,6 @@ class Application extends _react.Component {
435
435
  this.setState(prevState => ({
436
436
  printReadyIndicators: prevState.printReadyIndicators + 1
437
437
  }));
438
- console.log('print-ready', document.body.getAttribute('print-ready'), 'push');
439
438
  }
440
439
  popPrintReadyIndicator() {
441
440
  this.setState(prevState => {
@@ -447,7 +446,6 @@ class Application extends _react.Component {
447
446
  printReadyIndicators: Math.max(nextValue, 0)
448
447
  };
449
448
  });
450
- console.log('print-ready', document.body.getAttribute('print-ready'), 'pop');
451
449
  }
452
450
  registerService(service) {
453
451
  if (service.Name in this.Services) {
@@ -498,13 +496,11 @@ class Application extends _react.Component {
498
496
  if (this.state.printReadyIndicators === 0) {
499
497
  document.body.setAttribute('print-ready', 'true');
500
498
  this._printReadyTimeout = null;
501
- console.log('print-ready', document.body.getAttribute('print-ready'), 'set true');
502
499
  }
503
500
  }, 1500); // Add 1500ms delay to ensure that the print-ready attribute is set after the last print-ready indicator is popped
504
501
  } else {
505
502
  this._clearPrintReadyTimeout();
506
503
  document.body.setAttribute('print-ready', 'false');
507
- console.log('print-ready', document.body.getAttribute('print-ready'), 'set false');
508
504
  }
509
505
  }
510
506
  componentWillUnmount() {
@@ -517,7 +513,6 @@ class Application extends _react.Component {
517
513
  }
518
514
  this._clearPrintReadyTimeout();
519
515
  document.body.removeAttribute('print-ready');
520
- console.log('print-ready', document.body.getAttribute('print-ready'), 'unmount removed');
521
516
  }
522
517
  _clearPrintReadyTimeout() {
523
518
  if (this._printReadyTimeout !== null) {
@@ -553,7 +548,6 @@ class Application extends _react.Component {
553
548
  var splashscreen = document.getElementById('app-splashscreen'); // See public/index.html
554
549
  splashscreen === null || splashscreen === void 0 || splashscreen.classList.add("d-none");
555
550
  // Decrement print-ready indicator value if no splash screen requestors are present
556
- console.log('print-ready', document.body.getAttribute('print-ready'), 'splash last removed, pop');
557
551
  this.popPrintReadyIndicator();
558
552
  }
559
553
  }
@@ -36,18 +36,15 @@ function UnauthorizedAccessScreen(props) {
36
36
  if (!isAuthorized) {
37
37
  document.body.setAttribute('print-ready', 'true');
38
38
  document.body.setAttribute('print-unauthorized', 'true');
39
- console.log('print-ready', document.body.getAttribute('print-ready'), 'UnauthorizedAccessScreen set true');
40
39
  } else {
41
40
  document.body.removeAttribute('print-ready');
42
41
  document.body.removeAttribute('print-unauthorized');
43
- console.log('print-ready', document.body.getAttribute('print-ready'), 'UnauthorizedAccessScreen cleared');
44
42
  }
45
43
 
46
44
  // Cleanup function to remove the attributes when the component unmounts
47
45
  return () => {
48
46
  document.body.removeAttribute('print-ready');
49
47
  document.body.removeAttribute('print-unauthorized');
50
- console.log('print-ready', document.body.getAttribute('print-ready'), 'UnauthorizedAccessScreen cleanup');
51
48
  };
52
49
  }, [isAuthorized]);
53
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asab_webui_shell",
3
- "version": "27.3.2-alpha.1",
3
+ "version": "27.3.2",
4
4
  "license": "BSD-3-Clause",
5
5
  "description": "TeskaLabs ASAB WebUI Shell Application",
6
6
  "contributors": [