@intuitionrobotics/thunderstorm 0.45.0 → 0.45.1
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.
- package/app-backend/api/v1/utils/version/_assert.js +20 -0
- package/app-backend/api/v1/utils/version/_assert.js.map +1 -1
- package/app-backend/api/v1/utils/version/assert.js +20 -0
- package/app-backend/api/v1/utils/version/assert.js.map +1 -1
- package/app-backend/core/BaseStorm.d.ts +1 -1
- package/app-backend/core/BaseStorm.js +22 -2
- package/app-backend/core/BaseStorm.js.map +1 -1
- package/app-backend/core/Storm.js +27 -9
- package/app-backend/core/Storm.js.map +1 -1
- package/app-backend/exceptions.d.ts +2 -2
- package/app-backend/exceptions.js +22 -2
- package/app-backend/exceptions.js.map +1 -1
- package/app-backend/modules/CleanupScheduler.js +4 -5
- package/app-backend/modules/CleanupScheduler.js.map +1 -1
- package/app-backend/modules/FirestoreBackupScheduler.d.ts +1 -1
- package/app-backend/modules/FirestoreBackupScheduler.js +9 -23
- package/app-backend/modules/FirestoreBackupScheduler.js.map +1 -1
- package/app-backend/modules/ForceUpgrade.d.ts +1 -1
- package/app-backend/modules/ForceUpgrade.js +26 -8
- package/app-backend/modules/ForceUpgrade.js.map +1 -1
- package/app-backend/modules/SlackModule.d.ts +4 -2
- package/app-backend/modules/SlackModule.js +30 -9
- package/app-backend/modules/SlackModule.js.map +1 -1
- package/app-backend/modules/_imports.d.ts +10 -0
- package/app-backend/modules/_imports.js +43 -0
- package/app-backend/modules/_imports.js.map +1 -0
- package/app-backend/modules/http/AxiosHttpModule.js +23 -3
- package/app-backend/modules/http/AxiosHttpModule.js.map +1 -1
- package/app-backend/modules/proxy/RemoteProxy.d.ts +1 -2
- package/app-backend/modules/proxy/RemoteProxy.js +30 -11
- package/app-backend/modules/proxy/RemoteProxy.js.map +1 -1
- package/app-backend/modules/proxy/RemoteProxyCaller.d.ts +1 -1
- package/app-backend/modules/proxy/RemoteProxyCaller.js +29 -11
- package/app-backend/modules/proxy/RemoteProxyCaller.js.map +1 -1
- package/app-backend/modules/server/HttpServer.d.ts +2 -3
- package/app-backend/modules/server/HttpServer.js +31 -9
- package/app-backend/modules/server/HttpServer.js.map +1 -1
- package/app-backend/modules/server/server-api.d.ts +7 -3
- package/app-backend/modules/server/server-api.js +56 -30
- package/app-backend/modules/server/server-api.js.map +1 -1
- package/app-backend/modules/server/server-errors.d.ts +1 -1
- package/app-backend/modules/server/server-errors.js +26 -7
- package/app-backend/modules/server/server-errors.js.map +1 -1
- package/app-backend/utils/LogClient_File.d.ts +2 -2
- package/app-backend/utils/LogClient_File.js +30 -12
- package/app-backend/utils/LogClient_File.js.map +1 -1
- package/app-backend/utils/file.js +20 -0
- package/app-backend/utils/file.js.map +1 -1
- package/app-backend/utils/promisify-request.js +22 -2
- package/app-backend/utils/promisify-request.js.map +1 -1
- package/app-backend/utils/to-be-removed.js +20 -0
- package/app-backend/utils/to-be-removed.js.map +1 -1
- package/app-backend/utils/types.d.ts +1 -1
- package/app-backend/utils/types.js +22 -2
- package/app-backend/utils/types.js.map +1 -1
- package/app-frontend/components/ActionButton.js +20 -0
- package/app-frontend/components/ActionButton.js.map +1 -1
- package/app-frontend/components/DropDown.js +24 -5
- package/app-frontend/components/DropDown.js.map +1 -1
- package/app-frontend/components/FilterInput.js +23 -4
- package/app-frontend/components/FilterInput.js.map +1 -1
- package/app-frontend/components/GenericSelect.js +21 -1
- package/app-frontend/components/GenericSelect.js.map +1 -1
- package/app-frontend/components/GenericTabs.d.ts +4 -0
- package/app-frontend/components/GenericTabs.js +11 -0
- package/app-frontend/components/GenericTabs.js.map +1 -0
- package/app-frontend/components/Overlay.js +20 -0
- package/app-frontend/components/Overlay.js.map +1 -1
- package/app-frontend/components/TS_Input.js +23 -3
- package/app-frontend/components/TS_Input.js.map +1 -1
- package/app-frontend/components/TS_Table.d.ts +1 -1
- package/app-frontend/components/TS_Table.js +20 -0
- package/app-frontend/components/TS_Table.js.map +1 -1
- package/app-frontend/components/TS_TextArea.js +20 -0
- package/app-frontend/components/TS_TextArea.js.map +1 -1
- package/app-frontend/components/adapter/Adapter.js +26 -6
- package/app-frontend/components/adapter/Adapter.js.map +1 -1
- package/app-frontend/components/adapter/BaseRenderer.js +20 -0
- package/app-frontend/components/adapter/BaseRenderer.js.map +1 -1
- package/app-frontend/components/checkbox/TS_Checkbox.d.ts +2 -2
- package/app-frontend/components/checkbox/TS_Checkbox.js +1 -2
- package/app-frontend/components/checkbox/TS_Checkbox.js.map +1 -1
- package/app-frontend/components/checkbox/TS_CheckboxField.js +18 -0
- package/app-frontend/components/checkbox/TS_CheckboxField.js.map +1 -1
- package/app-frontend/components/form/Form.d.ts +1 -2
- package/app-frontend/components/form/Form.js +22 -2
- package/app-frontend/components/form/Form.js.map +1 -1
- package/app-frontend/components/form/types.d.ts +1 -2
- package/app-frontend/components/form/types.js +20 -0
- package/app-frontend/components/form/types.js.map +1 -1
- package/app-frontend/components/playground/Example_NewProps.js +20 -0
- package/app-frontend/components/playground/Example_NewProps.js.map +1 -1
- package/app-frontend/components/playground/Playground.js +21 -1
- package/app-frontend/components/playground/Playground.js.map +1 -1
- package/app-frontend/components/tree/MenuComponent.js +22 -2
- package/app-frontend/components/tree/MenuComponent.js.map +1 -1
- package/app-frontend/components/tree/MultiTypeAdaptor.js +22 -2
- package/app-frontend/components/tree/MultiTypeAdaptor.js.map +1 -1
- package/app-frontend/components/tree/SimpleTreeNodeRenderer.js +20 -0
- package/app-frontend/components/tree/SimpleTreeNodeRenderer.js.map +1 -1
- package/app-frontend/components/tree/Tree.js +23 -3
- package/app-frontend/components/tree/Tree.js.map +1 -1
- package/app-frontend/components/tree/types.js +20 -0
- package/app-frontend/components/tree/types.js.map +1 -1
- package/app-frontend/components/treeicons.js.map +1 -1
- package/app-frontend/components/types.js +20 -0
- package/app-frontend/components/types.js.map +1 -1
- package/app-frontend/core/AbstractThunder.d.ts +3 -0
- package/app-frontend/core/AbstractThunder.js +32 -0
- package/app-frontend/core/AbstractThunder.js.map +1 -1
- package/app-frontend/core/AppPage.js +20 -0
- package/app-frontend/core/AppPage.js.map +1 -1
- package/app-frontend/core/AppWrapper.js +23 -2
- package/app-frontend/core/AppWrapper.js.map +1 -1
- package/app-frontend/core/BaseComponent.d.ts +4 -2
- package/app-frontend/core/BaseComponent.js +41 -18
- package/app-frontend/core/BaseComponent.js.map +1 -1
- package/app-frontend/core/SimpleScriptInjector.js +22 -2
- package/app-frontend/core/SimpleScriptInjector.js.map +1 -1
- package/app-frontend/core/Thunder.js +22 -3
- package/app-frontend/core/Thunder.js.map +1 -1
- package/app-frontend/core/thunder-dispatcher.d.ts +1 -2
- package/app-frontend/core/thunder-dispatcher.js +23 -13
- package/app-frontend/core/thunder-dispatcher.js.map +1 -1
- package/app-frontend/modules/ConnectivityModule.d.ts +1 -1
- package/app-frontend/modules/ConnectivityModule.js +2 -2
- package/app-frontend/modules/ConnectivityModule.js.map +1 -1
- package/app-frontend/modules/ForceUpgrade.d.ts +1 -1
- package/app-frontend/modules/ForceUpgrade.js +23 -4
- package/app-frontend/modules/ForceUpgrade.js.map +1 -1
- package/app-frontend/modules/HistoryModule.d.ts +5 -3
- package/app-frontend/modules/HistoryModule.js +28 -9
- package/app-frontend/modules/HistoryModule.js.map +1 -1
- package/app-frontend/modules/ResourcesModule.d.ts +4 -1
- package/app-frontend/modules/ResourcesModule.js +25 -2
- package/app-frontend/modules/ResourcesModule.js.map +1 -1
- package/app-frontend/modules/StorageModule.d.ts +4 -1
- package/app-frontend/modules/StorageModule.js +26 -4
- package/app-frontend/modules/StorageModule.js.map +1 -1
- package/app-frontend/modules/ThunderstormModule.d.ts +1 -1
- package/app-frontend/modules/ThunderstormModule.js +3 -3
- package/app-frontend/modules/ThunderstormModule.js.map +1 -1
- package/app-frontend/modules/component-loader/ReactEntryComponentInjector.js +20 -0
- package/app-frontend/modules/component-loader/ReactEntryComponentInjector.js.map +1 -1
- package/app-frontend/modules/component-loader/entry-component-loading-module.d.ts +1 -1
- package/app-frontend/modules/component-loader/entry-component-loading-module.js +25 -4
- package/app-frontend/modules/component-loader/entry-component-loading-module.js.map +1 -1
- package/app-frontend/modules/dialog/Dialog.js +22 -0
- package/app-frontend/modules/dialog/Dialog.js.map +1 -1
- package/app-frontend/modules/dialog/DialogModule.d.ts +1 -1
- package/app-frontend/modules/dialog/DialogModule.js +22 -2
- package/app-frontend/modules/dialog/DialogModule.js.map +1 -1
- package/app-frontend/modules/http/HttpClient.js +20 -0
- package/app-frontend/modules/http/HttpClient.js.map +1 -1
- package/app-frontend/modules/http/XhrHttpModule.js +10 -9
- package/app-frontend/modules/http/XhrHttpModule.js.map +1 -1
- package/app-frontend/modules/locale/LocaleModule.d.ts +4 -1
- package/app-frontend/modules/locale/LocaleModule.js +24 -5
- package/app-frontend/modules/locale/LocaleModule.js.map +1 -1
- package/app-frontend/modules/locale/types.d.ts +3 -0
- package/app-frontend/modules/locale/types.js +20 -0
- package/app-frontend/modules/locale/types.js.map +1 -1
- package/app-frontend/modules/menu/MenuAndButton.js +2 -2
- package/app-frontend/modules/menu/MenuAndButton.js.map +1 -1
- package/app-frontend/modules/menu/MenuModule.d.ts +1 -1
- package/app-frontend/modules/menu/MenuModule.js +3 -4
- package/app-frontend/modules/menu/MenuModule.js.map +1 -1
- package/app-frontend/modules/menu/PopupMenu.js +2 -2
- package/app-frontend/modules/menu/PopupMenu.js.map +1 -1
- package/app-frontend/modules/routing/RoutingModule.d.ts +2 -2
- package/app-frontend/modules/routing/RoutingModule.js +25 -6
- package/app-frontend/modules/routing/RoutingModule.js.map +1 -1
- package/app-frontend/modules/routing/route.d.ts +2 -2
- package/app-frontend/modules/routing/route.js +20 -0
- package/app-frontend/modules/routing/route.js.map +1 -1
- package/app-frontend/modules/toaster/BaseToaster.js +22 -0
- package/app-frontend/modules/toaster/BaseToaster.js.map +1 -1
- package/app-frontend/modules/toaster/Toaster.js +20 -0
- package/app-frontend/modules/toaster/Toaster.js.map +1 -1
- package/app-frontend/modules/toaster/ToasterModule.d.ts +1 -1
- package/app-frontend/modules/toaster/ToasterModule.js +25 -5
- package/app-frontend/modules/toaster/ToasterModule.js.map +1 -1
- package/app-frontend/modules/tooltip/Tooltip.js +22 -2
- package/app-frontend/modules/tooltip/Tooltip.js.map +1 -1
- package/app-frontend/modules/tooltip/TooltipModule.d.ts +1 -1
- package/app-frontend/modules/tooltip/TooltipModule.js +23 -4
- package/app-frontend/modules/tooltip/TooltipModule.js.map +1 -1
- package/app-frontend/tools/KeyboardListener.js +17 -0
- package/app-frontend/tools/KeyboardListener.js.map +1 -1
- package/app-frontend/tools/Stylable.js +20 -0
- package/app-frontend/tools/Stylable.js.map +1 -1
- package/app-frontend/types/renderer-map.js +20 -0
- package/app-frontend/types/renderer-map.js.map +1 -1
- package/app-frontend/utils/tools.js +23 -3
- package/app-frontend/utils/tools.js.map +1 -1
- package/backend-test.d.ts +1 -0
- package/backend-test.js +34 -0
- package/backend-test.js.map +1 -0
- package/backend.d.ts +17 -0
- package/backend.js +50 -0
- package/backend.js.map +1 -0
- package/frontend.d.ts +55 -0
- package/frontend.js +88 -0
- package/frontend.js.map +1 -0
- package/index.d.ts +6 -0
- package/index.js +37 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/shared/BaseHttpModule.d.ts +1 -1
- package/shared/BaseHttpModule.js +5 -6
- package/shared/BaseHttpModule.js.map +1 -1
- package/shared/BaseHttpRequest.js +27 -9
- package/shared/BaseHttpRequest.js.map +1 -1
- package/shared/consts.js +20 -0
- package/shared/consts.js.map +1 -1
- package/shared/force-upgrade.js +20 -0
- package/shared/force-upgrade.js.map +1 -1
- package/shared/request-types.js +20 -0
- package/shared/request-types.js.map +1 -1
- package/shared/types.js +20 -0
- package/shared/types.js.map +1 -1
- package/test-backend/StormTester.js +26 -6
- package/test-backend/StormTester.js.map +1 -1
- package/test-frontend/ThunderTester.js +20 -0
- package/test-frontend/ThunderTester.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourcesModule.js","sourceRoot":"","sources":["../../../src/main/app-frontend/modules/ResourcesModule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ResourcesModule.js","sourceRoot":"","sources":["../../../src/main/app-frontend/modules/ResourcesModule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH;;GAEG;AACH,4DAAoD;AAIpD,MAAa,qBACZ,SAAQ,kBAAM;IAKd;QACC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,kBAAkB,GAAG,GAAG,IAAI,CAAC,YAAY,SAAS,CAAC;IACzD,CAAC;IAED,IAAI;IACJ,CAAC;IAEM,WAAW,CAAC,YAAwB;QAC1C,OAAO,GAAG,IAAI,CAAC,kBAAkB,GAAG,YAAY,EAAE,CAAA;IACnD,CAAC;CACD;AAlBD,sDAkBC;AAEY,QAAA,eAAe,GAAG,IAAI,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,10 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Thunderstorm is a full web app framework!
|
|
4
|
+
*
|
|
5
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
* Typescript & React frontend infrastructure
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
23
|
exports.StorageKey = exports.StorageModule = exports.StorageModule_Class = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Created by tacb0ss on 27/07/2018.
|
|
26
|
+
*/
|
|
27
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
6
28
|
const thunder_dispatcher_1 = require("../core/thunder-dispatcher");
|
|
7
|
-
class StorageModule_Class extends
|
|
29
|
+
class StorageModule_Class extends ts_common_1.Module {
|
|
8
30
|
constructor() {
|
|
9
31
|
super("StorageModule");
|
|
10
32
|
this.cache = {};
|
|
@@ -82,7 +104,7 @@ class StorageKey {
|
|
|
82
104
|
}
|
|
83
105
|
patch(value) {
|
|
84
106
|
const previousValue = this.get();
|
|
85
|
-
const mergedValue =
|
|
107
|
+
const mergedValue = ts_common_1.merge(previousValue, value);
|
|
86
108
|
this.set(mergedValue);
|
|
87
109
|
return mergedValue;
|
|
88
110
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorageModule.js","sourceRoot":"","sources":["../../../src/main/app-frontend/modules/StorageModule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"StorageModule.js","sourceRoot":"","sources":["../../../src/main/app-frontend/modules/StorageModule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH;;GAEG;AACH,4DAGsC;AACtC,mEAA6D;AAM7D,MAAa,mBACZ,SAAQ,kBAAM;IAGd;QACC,KAAK,CAAC,eAAe,CAAC,CAAC;QAHhB,UAAK,GAA8C,EAAE,CAAC;QAUtD,uBAAkB,GAAG,CAAC,CAAe,EAAE,EAAE;YAChD,MAAM,UAAU,GAAG,IAAI,sCAAiB,CAAyC,qBAAqB,CAAC,CAAC;YACxG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;Y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AAG,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;IAED,GAAG,CAAC,YAAwB;QAC3B,aAAa;QACb,OAAO,qBAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,CAAC,OAAO,CAAyB,CAAC;IACxF,CAAC;IAED,KAAK,CAAC,KAAgE;QACrE,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACjC,MAAM,WAAW,GAAG,iBAAK,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QAChD,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACtB,OAAO,WAAW,CAAC;IACpB,CAAC;IAED,GAAG,CAAC,KAAgB;QACnB,aAAa;QACb,qBAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACjD,OAAO,KAAK,CAAC;IACd,CAAC;IAED,MAAM;QACL,qBAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU;QACT,qBAAa,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC;CACD;AAlCD,gCAkCC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ThunderstormModule = void 0;
|
|
4
|
-
const
|
|
5
|
-
class ThunderstormModule_Class extends
|
|
4
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
5
|
+
class ThunderstormModule_Class extends ts_common_1.Module {
|
|
6
6
|
constructor() {
|
|
7
7
|
super("ThunderstormModule");
|
|
8
|
-
this.
|
|
8
|
+
this.setDefaultConfig({ appName: "Thunderstorm-WebApp" });
|
|
9
9
|
}
|
|
10
10
|
init() {
|
|
11
11
|
this.setAppName(this.config.appName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThunderstormModule.js","sourceRoot":"","sources":["../../../src/main/app-frontend/modules/ThunderstormModule.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"ThunderstormModule.js","sourceRoot":"","sources":["../../../src/main/app-frontend/modules/ThunderstormModule.ts"],"names":[],"mappings":";;;AAAA,4DAAoD;AAOpD,MAAM,wBACL,SAAQ,kBAAc;IAEtB;QACC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC5B,IAAI,CAAC,gBAAgB,CAAC,EAAC,OAAO,EAAE,qBAAqB,EAAC,CAAC,CAAC;IACzD,CAAC;IAED,IAAI;QACH,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACrC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAClD,CAAC;IAED,UAAU,CAAC,OAAe;QACzB,QAAQ,CAAC,KAAK,GAAG,OAAO,CAAA;IACzB,CAAC;IAED,mBAAmB,CAAC,UAAkB;QACrC,IAAI,QAAQ,GAA2B,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC;QAC/F,IAAI,CAAC,QAAQ,EAAE;YACd,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;YAC1C,QAAQ,CAAC,IAAI,GAAG,aAAa,CAAC;YAC9B,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;SAC/D;QAED,QAAQ,CAAC,YAAY,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED,UAAU;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;IAC5B,CAAC;CACD;AAEY,QAAA,kBAAkB,GAAG,IAAI,wBAAwB,EAAE,CAAC"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Thunderstorm is a full web app framework!
|
|
4
|
+
*
|
|
5
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
* Typescript & React frontend infrastructure
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
23
|
exports.ReactEntryComponentInjector = void 0;
|
|
4
24
|
const React = require("react");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactEntryComponentInjector.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/component-loader/ReactEntryComponentInjector.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ReactEntryComponentInjector.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/component-loader/ReactEntryComponentInjector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,+BAA+B;AAC/B,qFAA6E;AAC7E,4DAAuD;AAgBvD,MAAa,2BACZ,SAAQ,6BAA2B;IAKnC,YAAY,KAAY;QACvB,KAAK,CAAC,KAAK,CAAC,CAAC;QAHN,UAAK,GAAoC,KAAK,CAAC,SAAS,EAAE,CAAC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,CAAC;QACjC,IAAI,MAAM;YACT,OAAO,oBAAC,MAAM,IAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC;QAEjD,OAAO,6BAAK,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAC;YAAG,IAAI,CAAC,KAAK,CAAC,QAAQ;iBAAS,CAAC;IACnF,CAAC;CACD;AAhDD,kEAgDC"}
|
|
@@ -1,18 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EntryComponentLoadingModule = exports.PageLoadingModule_Class = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Thunderstorm is a full web app framework!
|
|
6
|
+
*
|
|
7
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
8
|
+
* Typescript & React frontend infrastructure
|
|
9
|
+
*
|
|
10
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
11
|
+
*
|
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
+
* you may not use this file except in compliance with the License.
|
|
14
|
+
* You may obtain a copy of the License at
|
|
15
|
+
*
|
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
+
* See the License for the specific language governing permissions and
|
|
22
|
+
* limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
const index_1 = require("../../../index");
|
|
25
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
26
|
+
// noinspection TypeScriptPreferShortImport
|
|
4
27
|
const XhrHttpModule_1 = require("../http/XhrHttpModule");
|
|
5
28
|
const HistoryModule_1 = require("../HistoryModule");
|
|
6
|
-
|
|
7
|
-
const module_1 = require("@intuitionrobotics/ts-common/core/module");
|
|
8
|
-
class PageLoadingModule_Class extends module_1.Module {
|
|
29
|
+
class PageLoadingModule_Class extends ts_common_1.Module {
|
|
9
30
|
constructor() {
|
|
10
31
|
super("PageLoadingModule");
|
|
11
32
|
this.injected = {};
|
|
12
33
|
}
|
|
13
34
|
loadScript(src, progressListener) {
|
|
14
35
|
XhrHttpModule_1.XhrHttpModule
|
|
15
|
-
.createRequest(
|
|
36
|
+
.createRequest(index_1.HttpMethod.GET, src)
|
|
16
37
|
.setUrl(`${HistoryModule_1.BrowserHistoryModule.getOrigin()}/${src}`)
|
|
17
38
|
.setOnProgressListener((ev) => {
|
|
18
39
|
const progress = ev.loaded / ev.total;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-component-loading-module.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/component-loader/entry-component-loading-module.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"entry-component-loading-module.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/component-loader/entry-component-loading-module.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,0CAIwB;AAExB,4DAAoD;AACpD,2CAA2C;AAC3C,yDAAoD;AACpD,oDAAsD;AAItD,MAAa,uBACZ,SAAQ,kBAAU;IAElB;QACC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAGX,aAAQ,GAAyC,EAAE,CAAC;IAFrE,CAAC;IAID,UAAU,CAAC,GAAW,EAAE,gBAA4C;QACnE,6BAAa;aACX,aAAa,CAAqB,kBAAU,CAAC,GAAG,EAAE,GAAG,CAAC;aACtD,MAAM,CAAC,GAAG,oCAAoB,CAAC,SAAS,EAAE,IAAI,GAAG,EAAE,CAAC;aACpD,qBAAqB,CAAC,CAAC,EAAe,EAAE,EAAE;YAC1C,MAAM,QAAQ,GAAG,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,KAAK,CAAC;YACtC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAC5B,CAAC,CAAC;aACD,OAAO,CAAC,QAAQ,CAAC,EAAE;YACnB,MAAM,UAAU,GAAsB,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YACvE,UAAU,CAAC,SAAS,GAAG,QAAQ,CAAC;YAChC,UAAU,CAAC,EAAE,GAAG,GAAG,CAAC;YACpB,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC;YACxB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC;QACjC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,OAAO,CAAC,GAAW;QAClB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;CACD;AA7BD,0DA6BC;AAEY,QAAA,2BAA2B,GAAG,IAAI,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Thunderstorm is a full web app framework!
|
|
4
|
+
*
|
|
5
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
* Typescript & React frontend infrastructure
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
23
|
exports.Dialog = exports.DialogButton_Cancel = exports.DialogButton_Close = exports.DialogButton_Redo = exports.DialogButton_Undo = exports.DialogButton_Save = exports.DialogButton_Submit = void 0;
|
|
4
24
|
const React = require("react");
|
|
25
|
+
// noinspection TypeScriptPreferShortImport
|
|
5
26
|
const DialogModule_1 = require("./DialogModule");
|
|
27
|
+
// noinspection TypeScriptPreferShortImport
|
|
6
28
|
const BaseComponent_1 = require("../../core/BaseComponent");
|
|
7
29
|
const tools_1 = require("../../utils/tools");
|
|
8
30
|
const modalOverlay = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/dialog/Dialog.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Dialog.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/dialog/Dialog.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAEH,+BAA+B;AAC/B,2CAA2C;AAC3C,iDAKwB;AACxB,2CAA2C;AAC3C,4DAAuD;AACvD,6CAAkD;AAGlD,MAAM,YAAY,GAAe;IAChC,QAAQ,EAAE,OAAO;IACjB,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,QAAQ;CACxB,CAAC;AAEF,MAAM,kBAAkB,GAAe;IACtC,YAAY,EAAE,KAAK;IACnB,SAAS,EAAE,mCAAmC;IAC9C,eAAe,EAAE,SAAS;IAC1B,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,OAAO;IACnB,wBAAwB;IACxB,cAAc;IACd,eAAe;IACf,wCAAwC;IACxC,qCAAqC;CACrC,CAAC;AAEF,MAAM,mBAAmB,GAAe;IACvC,2BAA2B;IAC3B,OAAO,EAAE,a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EAAE,EAAE;YAClD,uBAAe,CAAC,CAAC,CAAC,CAAC;YACnB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB;gBAC7D,OAAO;YAER,2BAAY,CAAC,KAAK,EAAE,CAAC;QACtB,CAAC,CAAC;QA9ED,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,CAAM;QACzB,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;YACnB,2BAAY,CAAC,KAAK,EAAE,CAAC;IACvB,CAAC;IAWD,MAAM;QACL,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QACrC,IAAI,CAAC,WAAW;YACf,OAAO,IAAI,CAAC;QAEb,OAAO,CACN,6BAAK,EAAE,EAAC,SAAS,EAAC,KAAK,kCAAM,YAAY,KAAE,UAAU,EAAE,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,KAAG,OAAO,EAAE,IAAI,CAAC,gBAAgB;YAC3I,6BAAK,SAAS,EAAE,QAAQ,EAAE,KAAK,kCAAM,kBAAkB,GAAK,CAAC,WAAW,CAAC,KAAK,IAAI,EAAE,CAAC,GAChF,OAAO,EAAE,uBAAe;gBAC3B,WAAW,CAAC,KAAK,IAAI,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,KAAK,CAAC;gBACxD,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,OAAO,CAAC;gBACvC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,CAC3B,CACD,CACN,CAAC;IACH,CAAC;CA+CD;AArFD,wBAqFC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Module } from "@intuitionrobotics/ts-common
|
|
2
|
+
import { Module } from "@intuitionrobotics/ts-common";
|
|
3
3
|
import { Stylable, StylableBuilder } from "../../tools/Stylable";
|
|
4
4
|
import { Color, Properties } from "../../components/types";
|
|
5
5
|
export declare type Dialog_Model = Stylable & {
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Thunderstorm is a full web app framework!
|
|
4
|
+
*
|
|
5
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
* Typescript & React frontend infrastructure
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
23
|
exports.DialogModule = exports.Dialog_Builder = exports.DialogButton_Builder = exports.DialogModule_Class = void 0;
|
|
4
|
-
const
|
|
24
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
5
25
|
const thunder_dispatcher_1 = require("../../core/thunder-dispatcher");
|
|
6
26
|
const Stylable_1 = require("../../tools/Stylable");
|
|
7
27
|
const dispatch_showDialog = new thunder_dispatcher_1.ThunderDispatcher("__showDialog");
|
|
8
|
-
class DialogModule_Class extends
|
|
28
|
+
class DialogModule_Class extends ts_common_1.Module {
|
|
9
29
|
constructor() {
|
|
10
30
|
super("DialogModule");
|
|
11
31
|
this.close = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogModule.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/dialog/DialogModule.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"DialogModule.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/dialog/DialogModule.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAGH,4DAAoD;AACpD,sEAAgE;AAChE,mDAAiE;AAsBjE,MAAM,mBAAmB,GAAG,IAAI,sCAAiB,CAAiC,cAAc,CAAC,CAAC;AAElG,MAAa,kBACZ,SAAQ,kBAAU;IAElB;QACC,KAAK,CAAC,cAAc,CAAC,CAAC;QAMhB,UAAK,GAAG,GAAG,EAAE;YACnB,mBAAmB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAA;QACnC,CAAC,CAAC;QAEK,SAAI,GAAG,CAAC,MAAoB,EAAE,EAAE;YACtC,mBAAmB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;QACzC,CAAC,CAAA;IAXD,CAAC;IAES,IAAI;IACd,CAAC;CASD;AAjBD,gDAiBC;AAGD,MAAa,oBACZ,SAAQ,0BAAe;IAMvB,UAAU,CAAC,OAAwB;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IACb,CAAC;IAED,SAAS,CAAC,MAAkB;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IACb,CAAC;IAED,KAAK;QACJ,OAAO;YACN,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;SACnB,CAAC;IACH,CAAC;CACD;AAzBD,oDAyBC;AAED,MAAa,cACZ,SAAQ,0BAAe;IAUvB,YAAY,OAAwB;QACnC,KAAK,EAAE,CAAC;QATT,WAAM,GAAW,GAAG,CAAC;QAGrB,YAAO,GAAwB,EAA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ACnB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;SAC/B,CAAC;QAEF,oBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;CACD;AAlED,wCAkEC;AAEY,QAAA,YAAY,GAAG,IAAI,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
// /*
|
|
3
|
+
// * Thunderstorm is a full web app framework!
|
|
4
|
+
// *
|
|
5
|
+
// * Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
// * Typescript & React frontend infrastructure
|
|
7
|
+
// *
|
|
8
|
+
// * Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
// *
|
|
10
|
+
// * Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
// * you may not use this file except in compliance with the License.
|
|
12
|
+
// * You may obtain a copy of the License at
|
|
13
|
+
// *
|
|
14
|
+
// * http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
// *
|
|
16
|
+
// * Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
// * distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
// * See the License for the specific language governing permissions and
|
|
20
|
+
// * limitations under the License.
|
|
21
|
+
// */
|
|
2
22
|
//
|
|
3
23
|
// import {
|
|
4
24
|
// __stringify,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpClient.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/http/HttpClient.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,WAAW;AACX,gBAAgB;AAChB,aAAa;AACb,yCAAyC;AACzC,WAAW;AACX,kBAAkB;AAClB,cAAc;AACd,qBAAqB;AACrB,WAAW;AACX,iBAAiB;AACjB,qBAAqB;AACrB,kBAAkB;AAClB,6BAA6B;AAC7B,EAAE;AACF,sHAAsH;AACtH,EAAE;AACF,4BAA4B;AAC5B,EAAE;AACF,qCAAqC;AACrC,qCAAqC;AACrC,EAAE;AACF,kCAAkC;AAClC,4BAA4B;AAC5B,KAAK;AACL,EAAE;AACF,gDAAgD;AAChD,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,2DAA2D;AAC3D,sCAAsC;AACtC,iDAAiD;AACjD,oCAAoC;AACpC,mDAAmD;AACnD,8BAA8B;AAC9B,OAAO;AACP,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,+DAA+D;AAC/D,wCAAwC;AACxC,EAAE;AACF,4BAA4B;AAC5B,iCAAiC;AACjC,yBAAyB;AACzB,EAAE;AACF,iBAAiB;AACjB,gFAAgF;AAChF,2DAA2D;AAC3D,kBAAkB;AAClB,mBAAmB;AACnB,EAAE;AACF,wFAAwF;AACxF,0BAA0B;AAC1B,mBAAmB;AACnB,cAAc;AACd,EAAE;AACF,sCAAsC;AACtC,iDAAiD;AACjD,oBAAoB;AACpB,6BAA6B;AAC7B,gBAAgB;AAChB,OAAO;AACP,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,sDAAsD;AACtD,sCAAsC;AACtC,oDAAoD;AACpD,oCAAoC;AACpC,WAAW;AACX,8BAA8B;AAC9B,gBAAgB;AAChB,OAAO;AACP,yCAAyC;AACzC,EAAE;AACF,KAAK;AACL,EAAE;AACF,qDAAqD;AACrD,sCAAsC;AACtC,iDAAiD;AACjD,oCAAoC;AACpC,WAAW;AACX,6BAA6B;AAC7B,gBAAgB;AAChB,OAAO;AACP,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,8DAA8D;AAC9D,mDAAmD;AACnD,wCAAwC;AACxC,+CAA+C;AAC/C,2BAA2B;AAC3B,EAAE;AACF,6DAA6D;AAC7D,wBAAwB;AACxB,kHAAkH;AAClH,EAAE;AACF,iIAAiI;AACjI,MAAM;AACN,IAAI"}
|
|
1
|
+
{"version":3,"file":"HttpClient.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/http/HttpClient.ts"],"names":[],"mappings":";AAAA,KAAK;AACL,+CAA+C;AAC/C,KAAK;AACL,yFAAyF;AACzF,gDAAgD;AAChD,KAAK;AACL,2CAA2C;AAC3C,KAAK;AACL,qEAAqE;AACrE,sEAAsE;AACtE,6CAA6C;AAC7C,KAAK;AACL,oDAAoD;AACpD,KAAK;AACL,yEAAyE;AACzE,uEAAuE;AACvE,8EAA8E;AAC9E,yEAAyE;AACzE,oCAAoC;AACpC,MAAM;AACN,EAAE;AACF,WAAW;AACX,gBAAgB;AAChB,aAAa;AACb,yCAAyC;AACzC,WAAW;AACX,kBAAkB;AAClB,cAAc;AACd,qBAAqB;AACrB,WAAW;AACX,iBAAiB;AACjB,qBAAqB;AACrB,kBAAkB;AAClB,6BAA6B;AAC7B,EAAE;AACF,sHAAsH;AACtH,EAAE;AACF,4BAA4B;AAC5B,EAAE;AACF,qCAAqC;AACrC,qCAAqC;AACrC,EAAE;AACF,kCAAkC;AAClC,4BAA4B;AAC5B,KAAK;AACL,EAAE;AACF,gDAAgD;AAChD,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,2DAA2D;AAC3D,sCAAsC;AACtC,iDAAiD;AACjD,oCAAoC;AACpC,mDAAmD;AACnD,8BAA8B;AAC9B,OAAO;AACP,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,+DAA+D;AAC/D,wCAAwC;AACxC,EAAE;AACF,4BAA4B;AAC5B,iCAAiC;AACjC,yBAAyB;AACzB,EAAE;AACF,iBAAiB;AACjB,gFAAgF;AAChF,2DAA2D;AAC3D,kBAAkB;AAClB,mBAAmB;AACnB,EAAE;AACF,wFAAwF;AACxF,0BAA0B;AAC1B,mBAAmB;AACnB,cAAc;AACd,EAAE;AACF,sCAAsC;AACtC,iDAAiD;AACjD,oBAAoB;AACpB,6BAA6B;AAC7B,gBAAgB;AAChB,OAAO;AACP,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,sDAAsD;AACtD,sCAAsC;AACtC,oDAAoD;AACpD,oCAAoC;AACpC,WAAW;AACX,8BAA8B;AAC9B,gBAAgB;AAChB,OAAO;AACP,yCAAyC;AACzC,EAAE;AACF,KAAK;AACL,EAAE;AACF,qDAAqD;AACrD,sCAAsC;AACtC,iDAAiD;AACjD,oCAAoC;AACpC,WAAW;AACX,6BAA6B;AAC7B,gBAAgB;AAChB,OAAO;AACP,yCAAyC;AACzC,KAAK;AACL,EAAE;AACF,8DAA8D;AAC9D,mDAAmD;AACnD,wCAAwC;AACxC,+CAA+C;AAC/C,2BAA2B;AAC3B,EAAE;AACF,6DAA6D;AAC7D,wBAAwB;AACxB,kHAAkH;AAClH,EAAE;AACF,iIAAiI;AACjI,MAAM;AACN,IAAI"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.XhrHttpModule = exports.XhrHttpModule_Class = void 0;
|
|
4
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
4
5
|
const zlib_1 = require("zlib");
|
|
6
|
+
// noinspection TypeScriptPreferShortImport
|
|
5
7
|
const request_types_1 = require("../../../shared/request-types");
|
|
8
|
+
// noinspection TypeScriptPreferShortImport
|
|
6
9
|
const BaseHttpRequest_1 = require("../../../shared/BaseHttpRequest");
|
|
7
10
|
const BaseHttpModule_1 = require("../../../shared/BaseHttpModule");
|
|
8
|
-
const exceptions_1 = require("@intuitionrobotics/ts-common/core/exceptions");
|
|
9
|
-
const date_time_tools_1 = require("@intuitionrobotics/ts-common/utils/date-time-tools");
|
|
10
11
|
class XhrHttpModule_Class extends BaseHttpModule_1.BaseHttpModule_Class {
|
|
11
12
|
constructor(name) {
|
|
12
13
|
super(name || "XhrHttpModule");
|
|
@@ -15,7 +16,7 @@ class XhrHttpModule_Class extends BaseHttpModule_1.BaseHttpModule_Class {
|
|
|
15
16
|
super.init();
|
|
16
17
|
const origin = this.config.origin;
|
|
17
18
|
if (!origin)
|
|
18
|
-
throw new
|
|
19
|
+
throw new ts_common_1.BadImplementationException("Did you forget to set the origin config key for the HttpModule?");
|
|
19
20
|
this.origin = origin;
|
|
20
21
|
}
|
|
21
22
|
createRequest(method, key, data) {
|
|
@@ -40,13 +41,13 @@ class XhrHttpRequest extends BaseHttpRequest_1.BaseHttpRequest {
|
|
|
40
41
|
getStatus() {
|
|
41
42
|
const xhr = this.xhr;
|
|
42
43
|
if (!xhr)
|
|
43
|
-
throw new
|
|
44
|
+
throw new ts_common_1.BadImplementationException("No xhr object!");
|
|
44
45
|
return xhr.status;
|
|
45
46
|
}
|
|
46
47
|
getResponse() {
|
|
47
48
|
const xhr = this.xhr;
|
|
48
49
|
if (!xhr)
|
|
49
|
-
throw new
|
|
50
|
+
throw new ts_common_1.BadImplementationException("No xhr object!");
|
|
50
51
|
return xhr.response;
|
|
51
52
|
}
|
|
52
53
|
abortImpl() {
|
|
@@ -82,7 +83,7 @@ class XhrHttpRequest extends BaseHttpRequest_1.BaseHttpRequest {
|
|
|
82
83
|
if (xhr.readyState !== 4)
|
|
83
84
|
return;
|
|
84
85
|
if (this.startTime)
|
|
85
|
-
this.elapsedMS =
|
|
86
|
+
this.elapsedMS = ts_common_1.currentTimeMillies() - this.startTime;
|
|
86
87
|
resolve();
|
|
87
88
|
};
|
|
88
89
|
this.xhr.onerror = (err) => {
|
|
@@ -135,7 +136,7 @@ class XhrHttpRequest extends BaseHttpRequest_1.BaseHttpRequest {
|
|
|
135
136
|
catch (error) {
|
|
136
137
|
return reject(error);
|
|
137
138
|
}
|
|
138
|
-
this.startTime =
|
|
139
|
+
this.startTime = ts_common_1.currentTimeMillies();
|
|
139
140
|
return this.xhr.send(body);
|
|
140
141
|
});
|
|
141
142
|
}
|
|
@@ -145,9 +146,9 @@ class XhrHttpRequest extends BaseHttpRequest_1.BaseHttpRequest {
|
|
|
145
146
|
}
|
|
146
147
|
getResponseHeader(headerKey) {
|
|
147
148
|
if (!this.xhr)
|
|
148
|
-
throw new
|
|
149
|
+
throw new ts_common_1.BadImplementationException("No xhr object!");
|
|
149
150
|
if (!this.xhr.response)
|
|
150
|
-
throw new
|
|
151
|
+
throw new ts_common_1.BadImplementationException(`xhr didn't return yet`);
|
|
151
152
|
// Chrome bug, if the response header is not present then it throws an error (not really problematic but just annoying)
|
|
152
153
|
// https://trackjs.com/blog/refused-unsafe-header/
|
|
153
154
|
if (this.xhr.getAllResponseHeaders().indexOf(headerKey) < 0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XhrHttpModule.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/http/XhrHttpModule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"XhrHttpModule.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/http/XhrHttpModule.ts"],"names":[],"mappings":";;;AA4BA,4DAA4F;AAC5F,+BAA8B;AAC9B,2CAA2C;AAC3C,iEAA4D;AAC5D,2CAA2C;AAC3C,qEAAgE;AAChE,mEAGwC;AAExC,MAAa,mBACZ,SAAQ,qCAAoB;IAE5B,YAAY,IAAa;QACxB,KAAK,CAAE,IAAI,IAAI,eAAe,CAAC,CAAC;IACjC,CAAC;IAED,IAAI;QACH,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;QAClC,IAAI,CAAC,MAAM;YACV,MAAM,IAAI,sCAA0B,CAAC,iEAAiE,CAAC,CAAC;QAEzG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC;IAED,aAAa,CAAmD,MAAkB,EAAE,GAAW,EAAE,IAAa;QAC7G,OAAO,IAAI,cAAc,CAA2B,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC;aACnF,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;aACtB,SAAS,CAAC,MAAM,CAAC;aACjB,UAAU,CAAC,IAAI,CAAC,OAAO,CAA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AC,SAAS,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM;YACV,OAAO,SAAS,CAAC;QAElB,OAAO,MAAM,CAAC;IACf,CAAC;CAGD"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by tacb0ss on 27/07/2018.
|
|
3
|
+
*/
|
|
1
4
|
import { Locale, LocaleDef, StringKey } from "./types";
|
|
2
|
-
import { Module } from "@intuitionrobotics/ts-common
|
|
5
|
+
import { Module } from "@intuitionrobotics/ts-common";
|
|
3
6
|
declare type Config = {
|
|
4
7
|
defaultLocale: Locale;
|
|
5
8
|
locales: LocaleDef[];
|
|
@@ -1,13 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Thunderstorm is a full web app framework!
|
|
4
|
+
*
|
|
5
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
* Typescript & React frontend infrastructure
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
23
|
exports.LocaleModule = exports.LocaleModule_Class = void 0;
|
|
24
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
4
25
|
const util_1 = require("util");
|
|
5
26
|
const thunder_dispatcher_1 = require("../../core/thunder-dispatcher");
|
|
6
27
|
const StorageModule_1 = require("../StorageModule");
|
|
7
|
-
const module_1 = require("@intuitionrobotics/ts-common/core/module");
|
|
8
|
-
const exceptions_1 = require("@intuitionrobotics/ts-common/core/exceptions");
|
|
9
28
|
const dispatch_onLanguageChanged = new thunder_dispatcher_1.ThunderDispatcher("__onLanguageChanged");
|
|
10
|
-
class LocaleModule_Class extends
|
|
29
|
+
class LocaleModule_Class extends ts_common_1.Module {
|
|
11
30
|
constructor() {
|
|
12
31
|
super("LocaleModule");
|
|
13
32
|
this.selectedLanguage = new StorageModule_1.StorageKey("locale--selected-language");
|
|
@@ -15,13 +34,13 @@ class LocaleModule_Class extends module_1.Module {
|
|
|
15
34
|
init() {
|
|
16
35
|
const defaultLocale = this.selectedLanguage.get() || this.config.defaultLocale;
|
|
17
36
|
if (!defaultLocale)
|
|
18
|
-
throw new
|
|
37
|
+
throw new ts_common_1.ImplementationMissingException("MUST set defaultLocale in the config data");
|
|
19
38
|
this.defaultLocale = this.setLanguage(defaultLocale);
|
|
20
39
|
}
|
|
21
40
|
setLanguage(locale) {
|
|
22
41
|
const localeDef = this.config.locales.find(_locale => _locale.locale === locale);
|
|
23
42
|
if (!localeDef)
|
|
24
|
-
throw new
|
|
43
|
+
throw new ts_common_1.ImplementationMissingException(`Unsupported language: ${locale}`);
|
|
25
44
|
this.activeLocale = localeDef;
|
|
26
45
|
dispatch_onLanguageChanged.dispatchUI([]);
|
|
27
46
|
this.selectedLanguage.set(localeDef.locale);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocaleModule.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/locale/LocaleModule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LocaleModule.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/locale/LocaleModule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;AAUH,4DAGsC;AACtC,+BAA4B;AAC5B,sEAAgE;A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AC,KAAK,CAAC,GAAG,CAAC,CAAC;QAEtC,IAAI,CAAC,IAAI;YACR,OAAO,GAAG,CAAC;QAEZ,OAAO,aAAM,CAAC,IAAI,EAAE,GAAG,MAAM,CAAC,CAAC;IAChC,CAAC;CACD;AA7CD,gDA6CC;AAEY,QAAA,YAAY,GAAG,IAAI,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,3 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Thunderstorm is a full web app framework!
|
|
4
|
+
*
|
|
5
|
+
* Typescript & Express backend infrastructure that natively runs on firebase function
|
|
6
|
+
* Typescript & React frontend infrastructure
|
|
7
|
+
*
|
|
8
|
+
* Copyright (C) 2020 Intuition Robotics
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
2
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
23
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/locale/types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/locale/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}
|
|
@@ -4,7 +4,7 @@ exports.MenuAndButton = void 0;
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const BaseComponent_1 = require("../../core/BaseComponent");
|
|
6
6
|
const MenuModule_1 = require("./MenuModule");
|
|
7
|
-
const
|
|
7
|
+
const ts_common_1 = require("@intuitionrobotics/ts-common");
|
|
8
8
|
class MenuAndButton extends BaseComponent_1.BaseComponent {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
@@ -25,7 +25,7 @@ class MenuAndButton extends BaseComponent_1.BaseComponent {
|
|
|
25
25
|
};
|
|
26
26
|
this.open = () => {
|
|
27
27
|
if (!this.ref.current)
|
|
28
|
-
throw new
|
|
28
|
+
throw new ts_common_1.BadImplementationException("Could not find image reference");
|
|
29
29
|
new MenuModule_1.MenuBuilder(this.props.adapter, this.props.resolvePosition ? this.props.resolvePosition(this.ref.current) : MenuModule_1.resolveRealPosition(this.ref.current), this.props.css && this.props.css)
|
|
30
30
|
.setId(this.props.id)
|
|
31
31
|
.show();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuAndButton.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/menu/MenuAndButton.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAK/B,4DAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"MenuAndButton.js","sourceRoot":"","sources":["../../../../src/main/app-frontend/modules/menu/MenuAndButton.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAK/B,4DAAuD;AACvD,6CAMsB;AACtB,4DAAwE;AAaxE,MAAa,aACZ,SAAQ,6BAAwD;IADjE;;QAIC,QAAG,GAAG,KAAK,CAAC,SAAS,EAAoB,CAAC;QAE1C,UAAK,GAAG;YACP,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,KAAK;SACX,CAAC;QAEF,iBAAY,GAAG,CAAC,EAAU,EAAE,EAAE;YAC7B,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE;gBACvB,OAAO;YAER,IAAI,CAAC,QAAQ,CAAC,EAAC,MAAM,E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AC,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAC9E,CACD,CAAA;IACP,CAAC;CAYD;AAhDD,sCAgDC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Module } from "@intuitionrobotics/ts-common
|
|
1
|
+
import { Module } from "@intuitionrobotics/ts-common";
|
|
2
2
|
import { MenuPosition } from "./PopupMenu";
|
|
3
3
|
import { _GenericRenderer, Adapter } from "../../components/adapter/Adapter";
|
|
4
4
|
import { BaseRendererMap } from "../../components/adapter/BaseRenderer";
|