@intuitionrobotics/thunderstorm 0.41.68 → 0.41.71

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 (167) hide show
  1. package/app-backend/api/v1/utils/version/_assert.js +1 -1
  2. package/app-backend/api/v1/utils/version/_assert.js.map +1 -1
  3. package/app-backend/api/v1/utils/version/assert.js +13 -58
  4. package/app-backend/api/v1/utils/version/assert.js.map +1 -1
  5. package/app-backend/core/BaseStorm.js +34 -87
  6. package/app-backend/core/BaseStorm.js.map +1 -1
  7. package/app-backend/core/Storm.js +42 -112
  8. package/app-backend/core/Storm.js.map +1 -1
  9. package/app-backend/exceptions.js +11 -27
  10. package/app-backend/exceptions.js.map +1 -1
  11. package/app-backend/modules/CleanupScheduler.js +24 -92
  12. package/app-backend/modules/CleanupScheduler.js.map +1 -1
  13. package/app-backend/modules/FirestoreBackupScheduler.js +47 -138
  14. package/app-backend/modules/FirestoreBackupScheduler.js.map +1 -1
  15. package/app-backend/modules/ForceUpgrade.js +31 -82
  16. package/app-backend/modules/ForceUpgrade.js.map +1 -1
  17. package/app-backend/modules/http/AxiosHttpModule.js +116 -184
  18. package/app-backend/modules/http/AxiosHttpModule.js.map +1 -1
  19. package/app-backend/modules/proxy/RemoteProxy.js +40 -90
  20. package/app-backend/modules/proxy/RemoteProxy.js.map +1 -1
  21. package/app-backend/modules/proxy/RemoteProxyCaller.js +49 -122
  22. package/app-backend/modules/proxy/RemoteProxyCaller.js.map +1 -1
  23. package/app-backend/modules/server/HttpServer.js +153 -216
  24. package/app-backend/modules/server/HttpServer.js.map +1 -1
  25. package/app-backend/modules/server/server-api.js +236 -361
  26. package/app-backend/modules/server/server-api.js.map +1 -1
  27. package/app-backend/modules/server/server-errors.js +51 -91
  28. package/app-backend/modules/server/server-errors.js.map +1 -1
  29. package/app-backend/utils/LogClient_File.js +23 -42
  30. package/app-backend/utils/LogClient_File.js.map +1 -1
  31. package/app-backend/utils/file.js +7 -50
  32. package/app-backend/utils/file.js.map +1 -1
  33. package/app-backend/utils/promisify-request.js +13 -43
  34. package/app-backend/utils/promisify-request.js.map +1 -1
  35. package/app-backend/utils/to-be-removed.js +7 -8
  36. package/app-backend/utils/to-be-removed.js.map +1 -1
  37. package/app-backend/utils/types.js +1 -1
  38. package/app-backend/utils/types.js.map +1 -1
  39. package/app-frontend/components/ActionButton.js +5 -5
  40. package/app-frontend/components/ActionButton.js.map +1 -1
  41. package/app-frontend/components/DropDown.js +91 -119
  42. package/app-frontend/components/DropDown.js.map +1 -1
  43. package/app-frontend/components/FilterInput.js +31 -48
  44. package/app-frontend/components/FilterInput.js.map +1 -1
  45. package/app-frontend/components/GenericSelect.js +30 -59
  46. package/app-frontend/components/GenericSelect.js.map +1 -1
  47. package/app-frontend/components/GenericTabs.js +5 -23
  48. package/app-frontend/components/GenericTabs.js.map +1 -1
  49. package/app-frontend/components/Overlay.js +15 -34
  50. package/app-frontend/components/Overlay.js.map +1 -1
  51. package/app-frontend/components/TS_Input.js +43 -60
  52. package/app-frontend/components/TS_Input.js.map +1 -1
  53. package/app-frontend/components/TS_Table.js +31 -48
  54. package/app-frontend/components/TS_Table.js.map +1 -1
  55. package/app-frontend/components/TS_TextArea.js +21 -48
  56. package/app-frontend/components/TS_TextArea.js.map +1 -1
  57. package/app-frontend/components/Tabs.js +16 -33
  58. package/app-frontend/components/Tabs.js.map +1 -1
  59. package/app-frontend/components/adapter/Adapter.js +103 -154
  60. package/app-frontend/components/adapter/Adapter.js.map +1 -1
  61. package/app-frontend/components/adapter/BaseRenderer.js +9 -32
  62. package/app-frontend/components/adapter/BaseRenderer.js.map +1 -1
  63. package/app-frontend/components/checkbox/TS_Checkbox.js +12 -29
  64. package/app-frontend/components/checkbox/TS_Checkbox.js.map +1 -1
  65. package/app-frontend/components/checkbox/TS_CheckboxField.js +16 -34
  66. package/app-frontend/components/checkbox/TS_CheckboxField.js.map +1 -1
  67. package/app-frontend/components/form/Form.js +21 -39
  68. package/app-frontend/components/form/Form.js.map +1 -1
  69. package/app-frontend/components/playground/Example_NewProps.js +25 -53
  70. package/app-frontend/components/playground/Example_NewProps.js.map +1 -1
  71. package/app-frontend/components/playground/Playground.js +21 -49
  72. package/app-frontend/components/playground/Playground.js.map +1 -1
  73. package/app-frontend/components/tree/MenuComponent.js +11 -27
  74. package/app-frontend/components/tree/MenuComponent.js.map +1 -1
  75. package/app-frontend/components/tree/MultiTypeAdaptor.js +16 -32
  76. package/app-frontend/components/tree/MultiTypeAdaptor.js.map +1 -1
  77. package/app-frontend/components/tree/SimpleTreeNodeRenderer.js +18 -52
  78. package/app-frontend/components/tree/SimpleTreeNodeRenderer.js.map +1 -1
  79. package/app-frontend/components/tree/Tree.js +142 -178
  80. package/app-frontend/components/tree/Tree.js.map +1 -1
  81. package/app-frontend/components/treeicons.js +5 -5
  82. package/app-frontend/components/treeicons.js.map +1 -1
  83. package/app-frontend/core/AbstractThunder.js +27 -43
  84. package/app-frontend/core/AbstractThunder.js.map +1 -1
  85. package/app-frontend/core/AppPage.js +16 -32
  86. package/app-frontend/core/AppPage.js.map +1 -1
  87. package/app-frontend/core/AppWrapper.js +9 -10
  88. package/app-frontend/core/AppWrapper.js.map +1 -1
  89. package/app-frontend/core/BaseComponent.js +62 -106
  90. package/app-frontend/core/BaseComponent.js.map +1 -1
  91. package/app-frontend/core/SimpleScriptInjector.js +12 -31
  92. package/app-frontend/core/SimpleScriptInjector.js.map +1 -1
  93. package/app-frontend/core/Thunder.js +32 -48
  94. package/app-frontend/core/Thunder.js.map +1 -1
  95. package/app-frontend/core/thunder-dispatcher.js +18 -67
  96. package/app-frontend/core/thunder-dispatcher.js.map +1 -1
  97. package/app-frontend/modules/ConnectivityModule.js +16 -32
  98. package/app-frontend/modules/ConnectivityModule.js.map +1 -1
  99. package/app-frontend/modules/ForceUpgrade.js +17 -33
  100. package/app-frontend/modules/ForceUpgrade.js.map +1 -1
  101. package/app-frontend/modules/HistoryModule.js +51 -79
  102. package/app-frontend/modules/HistoryModule.js.map +1 -1
  103. package/app-frontend/modules/ResourcesModule.js +12 -28
  104. package/app-frontend/modules/ResourcesModule.js.map +1 -1
  105. package/app-frontend/modules/StorageModule.js +47 -68
  106. package/app-frontend/modules/StorageModule.js.map +1 -1
  107. package/app-frontend/modules/ThunderstormModule.js +15 -31
  108. package/app-frontend/modules/ThunderstormModule.js.map +1 -1
  109. package/app-frontend/modules/component-loader/ReactEntryComponentInjector.js +24 -41
  110. package/app-frontend/modules/component-loader/ReactEntryComponentInjector.js.map +1 -1
  111. package/app-frontend/modules/component-loader/entry-component-loading-module.js +19 -36
  112. package/app-frontend/modules/component-loader/entry-component-loading-module.js.map +1 -1
  113. package/app-frontend/modules/dialog/Dialog.js +55 -96
  114. package/app-frontend/modules/dialog/Dialog.js.map +1 -1
  115. package/app-frontend/modules/dialog/DialogModule.js +48 -84
  116. package/app-frontend/modules/dialog/DialogModule.js.map +1 -1
  117. package/app-frontend/modules/http/HttpClient.js +46 -93
  118. package/app-frontend/modules/http/HttpClient.js.map +1 -1
  119. package/app-frontend/modules/http/XhrHttpModule.js +66 -88
  120. package/app-frontend/modules/http/XhrHttpModule.js.map +1 -1
  121. package/app-frontend/modules/locale/LocaleModule.js +23 -50
  122. package/app-frontend/modules/locale/LocaleModule.js.map +1 -1
  123. package/app-frontend/modules/menu/MenuAndButton.js +23 -40
  124. package/app-frontend/modules/menu/MenuAndButton.js.map +1 -1
  125. package/app-frontend/modules/menu/MenuModule.js +25 -42
  126. package/app-frontend/modules/menu/MenuModule.js.map +1 -1
  127. package/app-frontend/modules/menu/PopupMenu.js +37 -64
  128. package/app-frontend/modules/menu/PopupMenu.js.map +1 -1
  129. package/app-frontend/modules/routing/RoutingModule.js +47 -66
  130. package/app-frontend/modules/routing/RoutingModule.js.map +1 -1
  131. package/app-frontend/modules/routing/route.js +31 -33
  132. package/app-frontend/modules/routing/route.js.map +1 -1
  133. package/app-frontend/modules/toaster/BaseToaster.js +18 -36
  134. package/app-frontend/modules/toaster/BaseToaster.js.map +1 -1
  135. package/app-frontend/modules/toaster/Toaster.js +12 -38
  136. package/app-frontend/modules/toaster/Toaster.js.map +1 -1
  137. package/app-frontend/modules/toaster/ToasterModule.js +61 -88
  138. package/app-frontend/modules/toaster/ToasterModule.js.map +1 -1
  139. package/app-frontend/modules/tooltip/Tooltip.js +25 -52
  140. package/app-frontend/modules/tooltip/Tooltip.js.map +1 -1
  141. package/app-frontend/modules/tooltip/TooltipModule.js +32 -51
  142. package/app-frontend/modules/tooltip/TooltipModule.js.map +1 -1
  143. package/app-frontend/tools/KeyboardListener.js +24 -41
  144. package/app-frontend/tools/KeyboardListener.js.map +1 -1
  145. package/app-frontend/tools/Stylable.js +14 -28
  146. package/app-frontend/tools/Stylable.js.map +1 -1
  147. package/app-frontend/utils/tools.js +8 -8
  148. package/app-frontend/utils/tools.js.map +1 -1
  149. package/app-frontend/widgets/FieldEditor.js +16 -32
  150. package/app-frontend/widgets/FieldEditor.js.map +1 -1
  151. package/app-frontend/widgets/FieldEditorClick.js +32 -49
  152. package/app-frontend/widgets/FieldEditorClick.js.map +1 -1
  153. package/app-frontend/widgets/FieldEditorWithButtons.js +33 -49
  154. package/app-frontend/widgets/FieldEditorWithButtons.js.map +1 -1
  155. package/app-frontend/widgets/click-to-drag/ClickToDrag.js +25 -41
  156. package/app-frontend/widgets/click-to-drag/ClickToDrag.js.map +1 -1
  157. package/app-frontend/widgets/click-to-drag/OverlayWithDocumentListener.js +22 -38
  158. package/app-frontend/widgets/click-to-drag/OverlayWithDocumentListener.js.map +1 -1
  159. package/package.json +4 -4
  160. package/shared/BaseHttpModule.js +44 -64
  161. package/shared/BaseHttpModule.js.map +1 -1
  162. package/shared/BaseHttpRequest.js +122 -176
  163. package/shared/BaseHttpRequest.js.map +1 -1
  164. package/shared/request-types.js +4 -19
  165. package/shared/request-types.js.map +1 -1
  166. package/test-backend/StormTester.js +37 -90
  167. package/test-backend/StormTester.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"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,CAAC;IAEM,KAAK,CAAC,SAAsB;QAClC,KAAK,CAAC,KAAK,EAAE,CAAA;QACb,SAAS,aAAT,SAAS,uBAAT,SAAS,GAAK;IACf,CAAC;CAKD;AA9CD,0CA8CC;AAEY,QAAA,yBAAyB,GAAG,IAAI,sCAAiB,CAA4C,sBAAsB,CAAC,CAAC"}
@@ -19,49 +19,33 @@
19
19
  * See the License for the specific language governing permissions and
20
20
  * limitations under the License.
21
21
  */
22
- var __extends = (this && this.__extends) || (function () {
23
- var extendStatics = function (d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
- return function (d, b) {
30
- extendStatics(d, b);
31
- function __() { this.constructor = d; }
32
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
33
- };
34
- })();
35
22
  Object.defineProperty(exports, "__esModule", { value: true });
36
23
  exports.AppPage = exports.dispatch_onPageTitleChanged = void 0;
37
- var BaseComponent_1 = require("./BaseComponent");
38
- var thunder_dispatcher_1 = require("./thunder-dispatcher");
24
+ const BaseComponent_1 = require("./BaseComponent");
25
+ const thunder_dispatcher_1 = require("./thunder-dispatcher");
39
26
  exports.dispatch_onPageTitleChanged = new thunder_dispatcher_1.ThunderDispatcher("onPageTitleChanged");
40
- var AppPage = /** @class */ (function (_super) {
41
- __extends(AppPage, _super);
42
- function AppPage(p, pageTitle) {
43
- var _this = _super.call(this, p) || this;
44
- _this.mounted = false;
45
- _this.pageTitle = pageTitle || document.title;
46
- return _this;
27
+ class AppPage extends BaseComponent_1.BaseComponent {
28
+ constructor(p, pageTitle) {
29
+ super(p);
30
+ this.mounted = false;
31
+ this.pageTitle = pageTitle || document.title;
47
32
  }
48
- AppPage.prototype.setPageTitle = function (pageTitle) {
33
+ setPageTitle(pageTitle) {
49
34
  this.pageTitle = pageTitle;
50
35
  if (this.mounted)
51
36
  document.title = this.pageTitle;
52
- };
53
- AppPage.prototype.componentDidMount = function () {
54
- this.logDebug("Mounting page: " + this.pageTitle);
37
+ }
38
+ componentDidMount() {
39
+ this.logDebug(`Mounting page: ${this.pageTitle}`);
55
40
  this.prevTitle = document.title;
56
41
  document.title = this.pageTitle;
57
42
  this.mounted = true;
58
- };
59
- AppPage.prototype.componentWillUnmount = function () {
43
+ }
44
+ componentWillUnmount() {
60
45
  var _a;
61
46
  document.title = this.prevTitle;
62
- (_a = _super.prototype.componentWillUnmount) === null || _a === void 0 ? void 0 : _a.call(this);
63
- };
64
- return AppPage;
65
- }(BaseComponent_1.BaseComponent));
47
+ (_a = super.componentWillUnmount) === null || _a === void 0 ? void 0 : _a.call(this);
48
+ }
49
+ }
66
50
  exports.AppPage = AppPage;
67
51
  //# sourceMappingURL=AppPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppPage.js","sourceRoot":"","sources":["../../../src/main/app-frontend/core/AppPage.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,iDAA8C;AAC9C,2DAAuD;AAM1C,QAAA,2BAA2B,GAAG,IAAI,sCAAiB,CAAmD,oBAAoB,CAAC,CAAC;AAGzI;IACS,2BAAmB;IAM3B,iBAAsB,CAAI,EAAE,SAAkB;QAA9C,YACC,kBAAM,CAAC,CAAC,SAER;QALO,aAAO,GAAY,KAAK,CAAC;QAIhC,KAAI,CAAC,SAAS,GAAG,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC;;IAC9C,CAAC;IAED,8BAAY,GAAZ,UAAa,SAAiB;QAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,IAAI,CAAC,OAAO;YACf,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;IAClC,CAAC;IAED,mCAAiB,GAAjB;QACC,IAAI,CAAC,QAAQ,CAAC,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I,CAAC;IACrB,CAAC;IAED,oBAAoB;;QACnB,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,MAAA,KAAK,CAAC,oBAAoB,qDAAK;IAChC,CAAC;CACD;AA7BD,0BA6BC"}
@@ -21,23 +21,22 @@
21
21
  */
22
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.renderApp = exports.AppWrapper = void 0;
24
- var React = require("react");
25
- var ReactDOM = require("react-dom");
26
- var react_router_dom_1 = require("react-router-dom");
24
+ const React = require("react");
25
+ const ReactDOM = require("react-dom");
26
+ const react_router_dom_1 = require("react-router-dom");
27
27
  // noinspection TypeScriptPreferShortImport`
28
- var HistoryModule_1 = require("../modules/HistoryModule");
29
- var Thunder_1 = require("./Thunder");
30
- var ts_common_1 = require("@intuitionrobotics/ts-common");
31
- var AppWrapper = function (props) {
32
- var MainApp = Thunder_1.Thunder.getInstance().getMainApp();
28
+ const HistoryModule_1 = require("../modules/HistoryModule");
29
+ const Thunder_1 = require("./Thunder");
30
+ const ts_common_1 = require("@intuitionrobotics/ts-common");
31
+ const AppWrapper = (props) => {
32
+ const MainApp = Thunder_1.Thunder.getInstance().getMainApp();
33
33
  if (!MainApp)
34
34
  throw new ts_common_1.ImplementationMissingException("mainApp was not specified!!");
35
35
  return (React.createElement(react_router_dom_1.Router, { history: HistoryModule_1.BrowserHistoryModule.getHistory() },
36
36
  React.createElement(MainApp, null)));
37
37
  };
38
38
  exports.AppWrapper = AppWrapper;
39
- function renderApp(appId) {
40
- if (appId === void 0) { appId = "app"; }
39
+ function renderApp(appId = "app") {
41
40
  ReactDOM.render(React.createElement(exports.AppWrapper, null), document.getElementById(appId));
42
41
  }
43
42
  exports.renderApp = renderApp;
@@ -1 +1 @@
1
- {"version":3,"file":"AppWrapper.js","sourceRoot":"","sources":["../../../src/main/app-frontend/core/AppWrapper.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,6BAA+B;A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SAAgB,SAAS,CAAC,QAAgB,KAAK;IAC9C,QAAQ,CAAC,MAAM,CACd,oBAAC,kBAAU,OAAE,EACb,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,CAC9B,CAAC;AACH,CAAC;AALD,8BAKC"}
@@ -19,149 +19,105 @@
19
19
  * See the License for the specific language governing permissions and
20
20
  * limitations under the License.
21
21
  */
22
- var __extends = (this && this.__extends) || (function () {
23
- var extendStatics = function (d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
- return function (d, b) {
30
- extendStatics(d, b);
31
- function __() { this.constructor = d; }
32
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
33
- };
34
- })();
35
22
  Object.defineProperty(exports, "__esModule", { value: true });
36
23
  exports.BaseComponent = void 0;
37
24
  /**
38
25
  * Created by tacb0ss on 28/07/2018.
39
26
  */
40
- var React = require("react");
41
- var ts_common_1 = require("@intuitionrobotics/ts-common");
42
- var StorageModule_1 = require("../modules/StorageModule");
43
- var ResourcesModule_1 = require("../modules/ResourcesModule");
44
- var HistoryModule_1 = require("../modules/HistoryModule");
45
- var Thunder_1 = require("./Thunder");
27
+ const React = require("react");
28
+ const ts_common_1 = require("@intuitionrobotics/ts-common");
29
+ const StorageModule_1 = require("../modules/StorageModule");
30
+ const ResourcesModule_1 = require("../modules/ResourcesModule");
31
+ const HistoryModule_1 = require("../modules/HistoryModule");
32
+ const Thunder_1 = require("./Thunder");
46
33
  // @ts-ignore
47
- var BaseComponent = /** @class */ (function (_super) {
48
- __extends(BaseComponent, _super);
49
- function BaseComponent(props) {
50
- var _this = _super.call(this, props) || this;
51
- _this.timeoutMap = {};
52
- _this.logger = new ts_common_1.Logger(_this.constructor.name);
53
- _this._componentDidMount = _this.componentDidMount;
54
- _this.componentDidMount = function () {
34
+ class BaseComponent extends React.Component {
35
+ constructor(props) {
36
+ super(props);
37
+ this.timeoutMap = {};
38
+ this.logger = new ts_common_1.Logger(this.constructor.name);
39
+ this._componentDidMount = this.componentDidMount;
40
+ this.componentDidMount = () => {
55
41
  // @ts-ignore
56
- Thunder_1.Thunder.getInstance().addUIListener(_this);
57
- if (_this._componentDidMount)
58
- _this._componentDidMount();
42
+ Thunder_1.Thunder.getInstance().addUIListener(this);
43
+ if (this._componentDidMount)
44
+ this._componentDidMount();
59
45
  };
60
- _this._componentWillUnmount = _this.componentWillUnmount;
61
- _this.componentWillUnmount = function () {
62
- if (_this._componentWillUnmount)
63
- _this._componentWillUnmount();
46
+ this._componentWillUnmount = this.componentWillUnmount;
47
+ this.componentWillUnmount = () => {
48
+ if (this._componentWillUnmount)
49
+ this._componentWillUnmount();
64
50
  // @ts-ignore
65
- Thunder_1.Thunder.getInstance().removeUIListener(_this);
51
+ Thunder_1.Thunder.getInstance().removeUIListener(this);
66
52
  };
67
- return _this;
68
53
  }
69
- BaseComponent.prototype.debounce = function (handler, key, ms) {
70
- if (ms === void 0) { ms = 0; }
54
+ debounce(handler, key, ms = 0) {
71
55
  ts_common_1._clearTimeout(this.timeoutMap[key]);
72
56
  this.timeoutMap[key] = ts_common_1._setTimeout(handler, ms);
73
- };
74
- BaseComponent.prototype.throttle = function (handler, key, ms) {
75
- var _this = this;
76
- if (ms === void 0) { ms = 0; }
57
+ }
58
+ throttle(handler, key, ms = 0) {
77
59
  if (this.timeoutMap[key])
78
60
  return;
79
- this.timeoutMap[key] = ts_common_1._setTimeout(function () {
61
+ this.timeoutMap[key] = ts_common_1._setTimeout(() => {
80
62
  handler();
81
- delete _this.timeoutMap[key];
63
+ delete this.timeoutMap[key];
82
64
  }, ms);
83
- };
84
- BaseComponent.prototype.setStateKeysToUpdate = function (stateKeysToUpdate) {
65
+ }
66
+ setStateKeysToUpdate(stateKeysToUpdate) {
85
67
  this.stateKeysToUpdate = stateKeysToUpdate;
86
- };
87
- BaseComponent.prototype.shouldComponentUpdate = function (nextProps, nextState, nextContext) {
88
- var _this = this;
68
+ }
69
+ shouldComponentUpdate(nextProps, nextState, nextContext) {
89
70
  if (!this.stateKeysToUpdate)
90
71
  return true;
91
- return this.stateKeysToUpdate.find(function (key) { return _this.state[key] !== nextState[key]; }) !== undefined;
92
- };
93
- BaseComponent.prototype.logVerbose = function () {
94
- var toLog = [];
95
- for (var _i = 0; _i < arguments.length; _i++) {
96
- toLog[_i] = arguments[_i];
97
- }
72
+ return this.stateKeysToUpdate.find(key => this.state[key] !== nextState[key]) !== undefined;
73
+ }
74
+ logVerbose(...toLog) {
98
75
  this.logImpl(ts_common_1.LogLevel.Verbose, false, toLog);
99
- };
100
- BaseComponent.prototype.logDebug = function () {
101
- var toLog = [];
102
- for (var _i = 0; _i < arguments.length; _i++) {
103
- toLog[_i] = arguments[_i];
104
- }
76
+ }
77
+ logDebug(...toLog) {
105
78
  this.logImpl(ts_common_1.LogLevel.Debug, false, toLog);
106
- };
107
- BaseComponent.prototype.logInfo = function () {
108
- var toLog = [];
109
- for (var _i = 0; _i < arguments.length; _i++) {
110
- toLog[_i] = arguments[_i];
111
- }
79
+ }
80
+ logInfo(...toLog) {
112
81
  this.logImpl(ts_common_1.LogLevel.Info, false, toLog);
113
- };
114
- BaseComponent.prototype.logWarning = function () {
115
- var toLog = [];
116
- for (var _i = 0; _i < arguments.length; _i++) {
117
- toLog[_i] = arguments[_i];
118
- }
82
+ }
83
+ logWarning(...toLog) {
119
84
  this.logImpl(ts_common_1.LogLevel.Warning, false, toLog);
120
- };
121
- BaseComponent.prototype.logError = function () {
122
- var toLog = [];
123
- for (var _i = 0; _i < arguments.length; _i++) {
124
- toLog[_i] = arguments[_i];
125
- }
85
+ }
86
+ logError(...toLog) {
126
87
  this.logImpl(ts_common_1.LogLevel.Error, false, toLog);
127
- };
128
- BaseComponent.prototype.log = function (level, bold) {
129
- var toLog = [];
130
- for (var _i = 2; _i < arguments.length; _i++) {
131
- toLog[_i - 2] = arguments[_i];
132
- }
88
+ }
89
+ log(level, bold, ...toLog) {
133
90
  this.logImpl(level, bold, toLog);
134
- };
135
- BaseComponent.prototype.logImpl = function (level, bold, toLog) {
91
+ }
92
+ logImpl(level, bold, toLog) {
136
93
  this.logger.log(level, bold, toLog);
137
- };
138
- BaseComponent.store = function (key, value) {
94
+ }
95
+ static store(key, value) {
139
96
  StorageModule_1.StorageModule.set(key, value);
140
- };
141
- BaseComponent.load = function (key, defaultValue) {
97
+ }
98
+ static load(key, defaultValue) {
142
99
  return StorageModule_1.StorageModule.get(key, defaultValue);
143
- };
144
- BaseComponent.getElementId = function (e) {
100
+ }
101
+ static getElementId(e) {
145
102
  return e.currentTarget.id;
146
- };
147
- BaseComponent.getImageUrl = function (_relativePath) {
148
- var relativePath = _relativePath;
103
+ }
104
+ static getImageUrl(_relativePath) {
105
+ let relativePath = _relativePath;
149
106
  if (!relativePath)
150
107
  return "";
151
108
  if (relativePath.indexOf(".") === -1)
152
109
  relativePath += ".png";
153
110
  return ResourcesModule_1.ResourcesModule.getImageUrl(relativePath);
154
- };
155
- BaseComponent.getQueryParameter = function (name) {
111
+ }
112
+ static getQueryParameter(name) {
156
113
  return HistoryModule_1.BrowserHistoryModule.getQueryParams()[name];
157
- };
158
- BaseComponent.getUrl = function () {
114
+ }
115
+ static getUrl() {
159
116
  return HistoryModule_1.BrowserHistoryModule.getCurrent().pathname;
160
- };
161
- BaseComponent.prototype.toString = function () {
117
+ }
118
+ toString() {
162
119
  return this.constructor.name;
163
- };
164
- return BaseComponent;
165
- }(React.Component));
120
+ }
121
+ }
166
122
  exports.BaseComponent = BaseComponent;
167
123
  //# sourceMappingURL=BaseComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseComponent.js","sourceRoot":"","sources":["../../../src/main/app-frontend/core/BaseComponent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH;;GA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,EAAE,CAAC;IAC5C,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,aAAqB;QACvC,IAAI,YAAY,GAAG,aAAa,CAAC;QACjC,IAAI,CAAC,YAAY;YAChB,OAAO,EAAE,CAAC;QAEX,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACnC,YAAY,IAAI,MAAM,CAAC;QAExB,OAAO,iCAAe,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IAClD,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,IAAY;QACpC,OAAO,oCAAoB,CAAC,cAAc,EAAE,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,CAAC,MAAM;QACZ,OAAO,oCAAoB,CAAC,UAAU,EAAE,CAAC,QAAQ,CAAC;IACnD,CAAC;IAED,QAAQ;QACP,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IAC9B,CAAC;CACD;AAvHD,sCAuHC"}
@@ -19,48 +19,29 @@
19
19
  * See the License for the specific language governing permissions and
20
20
  * limitations under the License.
21
21
  */
22
- var __extends = (this && this.__extends) || (function () {
23
- var extendStatics = function (d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
- return function (d, b) {
30
- extendStatics(d, b);
31
- function __() { this.constructor = d; }
32
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
33
- };
34
- })();
35
22
  Object.defineProperty(exports, "__esModule", { value: true });
36
23
  exports.SimpleScriptInjector = void 0;
37
- var React = require("react");
38
- var ts_common_1 = require("@intuitionrobotics/ts-common");
39
- var SimpleScriptInjector = /** @class */ (function (_super) {
40
- __extends(SimpleScriptInjector, _super);
41
- function SimpleScriptInjector() {
42
- return _super !== null && _super.apply(this, arguments) || this;
43
- }
44
- SimpleScriptInjector.prototype.componentDidMount = function () {
45
- var _this = this;
24
+ const React = require("react");
25
+ const ts_common_1 = require("@intuitionrobotics/ts-common");
26
+ class SimpleScriptInjector extends React.Component {
27
+ componentDidMount() {
46
28
  if (SimpleScriptInjector.injected[this.props.src]) {
47
- ts_common_1._setTimeout(function () { return _this.props.onLoaded(_this.props.src); });
29
+ ts_common_1._setTimeout(() => this.props.onLoaded(this.props.src));
48
30
  return;
49
31
  }
50
- var script = document.createElement("script");
32
+ const script = document.createElement("script");
51
33
  script.type = "text/javascript";
52
34
  script.src = this.props.src;
53
35
  script.async = true;
54
36
  script.id = this.props.src;
55
- script.onload = function () { return _this.props.onLoaded(_this.props.src); };
37
+ script.onload = () => this.props.onLoaded(this.props.src);
56
38
  document.body.appendChild(script);
57
39
  SimpleScriptInjector.injected[this.props.src] = script;
58
- };
59
- SimpleScriptInjector.prototype.render = function () {
40
+ }
41
+ render() {
60
42
  return "";
61
- };
62
- SimpleScriptInjector.injected = {};
63
- return SimpleScriptInjector;
64
- }(React.Component));
43
+ }
44
+ }
65
45
  exports.SimpleScriptInjector = SimpleScriptInjector;
46
+ SimpleScriptInjector.injected = {};
66
47
  //# sourceMappingURL=SimpleScriptInjector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleScriptInjector.js","sourceRoot":"","sources":["../../../src/main/app-frontend/core/SimpleScriptInjector.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,6BAA+B;AAC/B,0DAAyD;AAOzD;IACS,wCAAsB;IAD/B;;IAwBA,CAAC;IAnBA,gDAAiB,GAAjB;QAAA,iBAcC;QAbA,IAAI,oBAAoB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;YAClD,uBAAW,CAAC,cAAM,OAAA,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAI,CAAC,KAAK,CAAC,GAAG,CAAC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D,OAAO;SACP;QAED,MAAM,MAAM,GAAsB,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QACnE,MAAM,CAAC,IAAI,GAAG,iBAAiB,CAAC;QAChC,MAAM,CAAC,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;QAC5B,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QACpB,MAAM,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;QAC3B,MAAM,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC1D,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAClC,oBAAoB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC;IACxD,CAAC;IAED,MAAM;QACL,OAAO,EAAE,CAAC;IACX,CAAC;;AAvBF,oDAwBC;AArBgB,6BAAQ,GAAyC,EAAE,CAAC"}
@@ -19,44 +19,31 @@
19
19
  * See the License for the specific language governing permissions and
20
20
  * limitations under the License.
21
21
  */
22
- var __extends = (this && this.__extends) || (function () {
23
- var extendStatics = function (d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
- return function (d, b) {
30
- extendStatics(d, b);
31
- function __() { this.constructor = d; }
32
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
33
- };
34
- })();
35
22
  Object.defineProperty(exports, "__esModule", { value: true });
36
23
  exports.Thunder = exports.SuccessHandler_Dispatch = exports.ErrorHandler_Dispatch = exports.SuccessHandler_Toast = exports.ErrorHandler_Toast = void 0;
37
- var AppWrapper_1 = require("./AppWrapper");
38
- var ts_common_1 = require("@intuitionrobotics/ts-common");
39
- var XhrHttpModule_1 = require("../modules/http/XhrHttpModule");
40
- var ToasterModule_1 = require("../modules/toaster/ToasterModule");
41
- var RoutingModule_1 = require("../modules/routing/RoutingModule");
42
- var HistoryModule_1 = require("../modules/HistoryModule");
43
- var StorageModule_1 = require("../modules/StorageModule");
44
- var ResourcesModule_1 = require("../modules/ResourcesModule");
45
- var AbstractThunder_1 = require("./AbstractThunder");
46
- var ThunderstormModule_1 = require("../modules/ThunderstormModule");
47
- var DialogModule_1 = require("../modules/dialog/DialogModule");
48
- var ErrorHandler_Toast = function (request, resError) {
49
- var errorMessage = request.errorMessage || (resError === null || resError === void 0 ? void 0 : resError.debugMessage);
24
+ const AppWrapper_1 = require("./AppWrapper");
25
+ const ts_common_1 = require("@intuitionrobotics/ts-common");
26
+ const XhrHttpModule_1 = require("../modules/http/XhrHttpModule");
27
+ const ToasterModule_1 = require("../modules/toaster/ToasterModule");
28
+ const RoutingModule_1 = require("../modules/routing/RoutingModule");
29
+ const HistoryModule_1 = require("../modules/HistoryModule");
30
+ const StorageModule_1 = require("../modules/StorageModule");
31
+ const ResourcesModule_1 = require("../modules/ResourcesModule");
32
+ const AbstractThunder_1 = require("./AbstractThunder");
33
+ const ThunderstormModule_1 = require("../modules/ThunderstormModule");
34
+ const DialogModule_1 = require("../modules/dialog/DialogModule");
35
+ const ErrorHandler_Toast = (request, resError) => {
36
+ const errorMessage = request.errorMessage || (resError === null || resError === void 0 ? void 0 : resError.debugMessage);
50
37
  return errorMessage && ToasterModule_1.ToastModule.toastError(errorMessage);
51
38
  };
52
39
  exports.ErrorHandler_Toast = ErrorHandler_Toast;
53
- var SuccessHandler_Toast = function (request) { return request.successMessage && ToasterModule_1.ToastModule.toastSuccess(request.successMessage); };
40
+ const SuccessHandler_Toast = (request) => request.successMessage && ToasterModule_1.ToastModule.toastSuccess(request.successMessage);
54
41
  exports.SuccessHandler_Toast = SuccessHandler_Toast;
55
- var ErrorHandler_Dispatch = function (request) { return AbstractThunder_1.dispatch_requestCompleted.dispatchUI([request.key, false, request.requestData]); };
42
+ const ErrorHandler_Dispatch = (request) => AbstractThunder_1.dispatch_requestCompleted.dispatchUI([request.key, false, request.requestData]);
56
43
  exports.ErrorHandler_Dispatch = ErrorHandler_Dispatch;
57
- var SuccessHandler_Dispatch = function (request) { return AbstractThunder_1.dispatch_requestCompleted.dispatchUI([request.key, true, request.requestData]); };
44
+ const SuccessHandler_Dispatch = (request) => AbstractThunder_1.dispatch_requestCompleted.dispatchUI([request.key, true, request.requestData]);
58
45
  exports.SuccessHandler_Dispatch = SuccessHandler_Dispatch;
59
- var modules = [
46
+ const modules = [
60
47
  ThunderstormModule_1.ThunderstormModule,
61
48
  XhrHttpModule_1.XhrHttpModule,
62
49
  RoutingModule_1.RoutingModule,
@@ -66,35 +53,32 @@ var modules = [
66
53
  StorageModule_1.StorageModule,
67
54
  ResourcesModule_1.ResourcesModule
68
55
  ];
69
- var Thunder = /** @class */ (function (_super) {
70
- __extends(Thunder, _super);
71
- function Thunder() {
72
- var _this = _super.call(this) || this;
73
- _this.renderApp = function () {
56
+ class Thunder extends AbstractThunder_1.AbstractThunder {
57
+ constructor() {
58
+ super();
59
+ this.renderApp = () => {
74
60
  AppWrapper_1.renderApp();
75
61
  };
76
- _this.addModules.apply(_this, modules);
77
- return _this;
62
+ this.addModules(...modules);
78
63
  }
79
- Thunder.getInstance = function () {
64
+ static getInstance() {
80
65
  return Thunder.instance;
81
- };
82
- Thunder.prototype.init = function () {
66
+ }
67
+ init() {
83
68
  ts_common_1.BeLogged.addClient(ts_common_1.LogClient_Browser);
84
- _super.prototype.init.call(this);
69
+ super.init();
85
70
  // @ts-ignore
86
71
  XhrHttpModule_1.XhrHttpModule.setErrorHandlers([exports.ErrorHandler_Toast, exports.ErrorHandler_Dispatch]);
87
72
  XhrHttpModule_1.XhrHttpModule.setSuccessHandlers([exports.SuccessHandler_Toast, exports.SuccessHandler_Dispatch]);
88
73
  return this;
89
- };
90
- Thunder.prototype.setMainApp = function (mainApp) {
74
+ }
75
+ setMainApp(mainApp) {
91
76
  this.mainApp = mainApp;
92
77
  return this;
93
- };
94
- Thunder.prototype.getMainApp = function () {
78
+ }
79
+ getMainApp() {
95
80
  return this.mainApp;
96
- };
97
- return Thunder;
98
- }(AbstractThunder_1.AbstractThunder));
81
+ }
82
+ }
99
83
  exports.Thunder = Thunder;
100
84
  //# sourceMappingURL=Thunder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Thunder.js","sourceRoot":"","sources":["../../../src/main/app-frontend/core/Thunder.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAGH,2CAGsB;AACtB,0DAIsC;AACtC,+DAA4D;AAC5D,kEAA6D;AAC7D,kEAA+D;AAC/D,0DAA8D;AAC9D,0DAAuD;AACvD,8DAA2D;AAK3D,qDAG2B;AAC3B,oEAAiE;AACjE,+DAA4D;AAErD,IAAM,kBAAkB,GAA6B,UAAC,OAAO,EAAE,QAAS;IAC9E,IAAM,YAAY,GAAG,OAAO,CAAC,YAAY,KAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,YAAY,CAAA,CAAC;IACpE,OAAO,YAAY,IAAI,2BAAW,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AAC7D,CAAC,CAAC;AAHW,QAAA,kBAAkB,sBAG7B;AACK,IAAM,oBAAoB,GAA0B,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,cAAc,IAAI,2BAAW,CAAC,YAAY,CAAC,OAAO,CAAC,cAAc,CAAC,EAA1E,CAA0E,CAAC;AAAtI,QAAA,oBAAoB,wBAAkH;AAE5I,IAAM,qBAAqB,GAA6B,UAAC,OAAO,IAAK,OAAA,2CAAyB,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,EAA/E,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