@equinor/echo-framework 0.7.4 → 0.7.7
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/dist/__tests__/realTimeDataHooks.test.d.ts +1 -0
- package/dist/__tests__/realTimeDataUtils.test.d.ts +1 -0
- package/dist/_virtual/_tslib.js +14 -0
- package/dist/components/errorBoundary/errorBoundary.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/panel/corePanelLeft.d.ts +4 -1
- package/dist/components/panel/corePanelRight.d.ts +4 -1
- package/dist/components/realTimeData/RealTimePopoverButton.d.ts +18 -0
- package/dist/components/realTimeData/components/IMSDropdown/RealTimeIMSDropdown.d.ts +7 -0
- package/dist/components/realTimeData/components/IMSDropdown/index.d.ts +1 -0
- package/dist/components/realTimeData/components/connectorForIMSTag/RealTimeConnectorForIMSTag.d.ts +6 -0
- package/dist/components/realTimeData/components/connectorForIMSTag/index.d.ts +1 -0
- package/dist/components/realTimeData/components/contextButton/RealTimeContextButton.d.ts +6 -0
- package/dist/components/realTimeData/components/contextButton/index.d.ts +1 -0
- package/dist/components/realTimeData/components/contextPopover/Popover.d.ts +6 -0
- package/dist/components/realTimeData/components/contextPopover/index.d.ts +1 -0
- package/dist/components/realTimeData/components/index.d.ts +4 -0
- package/dist/components/realTimeData/hooks/index.d.ts +3 -0
- package/dist/components/realTimeData/hooks/useRealTimeHub.d.ts +13 -0
- package/dist/components/realTimeData/hooks/useSignalR.d.ts +9 -0
- package/dist/components/realTimeData/hooks/useSignalRListener.d.ts +4 -0
- package/dist/components/realTimeData/index.d.ts +1 -0
- package/dist/coreApplication/EchoBarComponent.d.ts +6 -0
- package/dist/coreApplication/EchoContent.d.ts +1 -0
- package/dist/coreApplication/index.d.ts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useIsLandscape.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/node_modules/@microsoft/signalr/dist/esm/AbortController.js +54 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/DefaultHttpClient.js +96 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/DefaultReconnectPolicy.js +47 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/Errors.js +287 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/FetchHttpClient.js +281 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/HandshakeProtocol.js +86 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/HeaderNames.js +20 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/HttpClient.js +82 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/HttpConnection.js +1167 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/HubConnection.js +1342 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/HubConnectionBuilder.js +165 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/IHubProtocol.js +33 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/ILogger.js +37 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/ITransport.js +37 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/JsonHubProtocol.js +179 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/Loggers.js +35 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/LongPollingTransport.js +444 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/ServerSentEventsTransport.js +235 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/Subject.js +99 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/TextMessageFormat.js +45 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/Utils.js +433 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/WebSocketTransport.js +263 -0
- package/dist/node_modules/@microsoft/signalr/dist/esm/XhrHttpClient.js +133 -0
- package/dist/services/api/api-realtimedata.d.ts +2 -0
- package/dist/src/components/containers/layout.module.css.js +4 -1
- package/dist/src/components/containers/layouts.js +38 -8
- package/dist/src/components/panel/corePanelLeft.js +5 -2
- package/dist/src/components/panel/corePanelLeft.module.css.js +1 -1
- package/dist/src/components/panel/corePanelRight.js +4 -2
- package/dist/src/components/panel/corePanelRight.module.css.js +1 -1
- package/dist/src/components/projectSelector/ProcosysProjectSelector.js +1 -1
- package/dist/src/components/realTimeData/RealTimePopoverButton.js +136 -0
- package/dist/src/components/realTimeData/components/IMSDropdown/RealTimeIMSDropdown.js +81 -0
- package/dist/src/components/realTimeData/components/IMSDropdown/RealTimeIMSDropdown.module.css.js +15 -0
- package/dist/src/components/realTimeData/components/connectorForIMSTag/IMSConnector.module.css.js +16 -0
- package/dist/src/components/realTimeData/components/connectorForIMSTag/RealTimeConnectorForIMSTag.js +110 -0
- package/dist/src/components/realTimeData/components/contextButton/RealTimeContextButton.js +75 -0
- package/dist/src/components/realTimeData/components/contextButton/RealTimeContextButton.module.css.js +15 -0
- package/dist/src/components/realTimeData/components/contextPopover/Popover.js +37 -0
- package/dist/src/components/realTimeData/components/contextPopover/Popover.module.css.js +15 -0
- package/dist/src/components/realTimeData/hooks/useRealTimeHub.js +122 -0
- package/dist/src/components/realTimeData/hooks/useSignalR.js +159 -0
- package/dist/src/components/realTimeData/hooks/useSignalRListener.js +22 -0
- package/dist/src/coreApplication/EchoBarComponent.js +112 -0
- package/dist/src/coreApplication/EchoContent.js +7 -2
- package/dist/src/hooks/useIsLandscape.js +52 -0
- package/dist/src/index.js +9 -0
- package/dist/src/services/api/api-realtimedata.js +42 -0
- package/dist/types/realtimedata.d.ts +18 -0
- package/package.json +26 -23
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
|
|
7
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
+
|
|
9
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
10
|
+
|
|
11
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
+
|
|
13
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, '__esModule', {
|
|
16
|
+
value: true
|
|
17
|
+
}); // Licensed to the .NET Foundation under one or more agreements.
|
|
18
|
+
// The .NET Foundation licenses this file to you under the MIT license.
|
|
19
|
+
|
|
20
|
+
/** Represents an HTTP response. */
|
|
21
|
+
|
|
22
|
+
var HttpResponse = /*#__PURE__*/_createClass(function HttpResponse(statusCode, statusText, content) {
|
|
23
|
+
_classCallCheck(this, HttpResponse);
|
|
24
|
+
|
|
25
|
+
this.statusCode = statusCode;
|
|
26
|
+
this.statusText = statusText;
|
|
27
|
+
this.content = content;
|
|
28
|
+
});
|
|
29
|
+
/** Abstraction over an HTTP client.
|
|
30
|
+
*
|
|
31
|
+
* This class provides an abstraction over an HTTP client so that a different implementation can be provided on different platforms.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
var HttpClient = /*#__PURE__*/function () {
|
|
36
|
+
function HttpClient() {
|
|
37
|
+
_classCallCheck(this, HttpClient);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
_createClass(HttpClient, [{
|
|
41
|
+
key: "get",
|
|
42
|
+
value: function get(url, options) {
|
|
43
|
+
return this.send(_objectSpread(_objectSpread({}, options), {}, {
|
|
44
|
+
method: "GET",
|
|
45
|
+
url: url
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
key: "post",
|
|
50
|
+
value: function post(url, options) {
|
|
51
|
+
return this.send(_objectSpread(_objectSpread({}, options), {}, {
|
|
52
|
+
method: "POST",
|
|
53
|
+
url: url
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
}, {
|
|
57
|
+
key: "delete",
|
|
58
|
+
value: function _delete(url, options) {
|
|
59
|
+
return this.send(_objectSpread(_objectSpread({}, options), {}, {
|
|
60
|
+
method: "DELETE",
|
|
61
|
+
url: url
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
64
|
+
/** Gets all cookies that apply to the specified URL.
|
|
65
|
+
*
|
|
66
|
+
* @param url The URL that the cookies are valid for.
|
|
67
|
+
* @returns {string} A string containing all the key-value cookie pairs for the specified URL.
|
|
68
|
+
*/
|
|
69
|
+
// @ts-ignore
|
|
70
|
+
|
|
71
|
+
}, {
|
|
72
|
+
key: "getCookieString",
|
|
73
|
+
value: function getCookieString(url) {
|
|
74
|
+
return "";
|
|
75
|
+
}
|
|
76
|
+
}]);
|
|
77
|
+
|
|
78
|
+
return HttpClient;
|
|
79
|
+
}();
|
|
80
|
+
|
|
81
|
+
exports.HttpClient = HttpClient;
|
|
82
|
+
exports.HttpResponse = HttpResponse;
|