mftsccs-browser 1.1.69-beta → 1.1.71-beta
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/main.bundle.js +266 -174
- package/dist/main.bundle.js.map +1 -1
- package/dist/serviceWorker.bundle.js +359 -197
- package/dist/serviceWorker.bundle.js.map +1 -1
- package/dist/types/AccessTracker/accessTracker.d.ts +1 -1
- package/dist/types/DataStructures/Count/CountInfo.d.ts +6 -0
- package/dist/types/Middleware/logger.service.d.ts +2 -0
- package/dist/types/Services/Common/DecodeCountInfo.d.ts +3 -0
- package/dist/types/Services/Search/JustIdFormat.d.ts +3 -2
- package/dist/types/app.d.ts +3 -0
- package/package.json +1 -1
package/dist/main.bundle.js
CHANGED
|
@@ -93,10 +93,7 @@ class AccessTracker {
|
|
|
93
93
|
static sendToServer() {
|
|
94
94
|
return __awaiter(this, void 0, void 0, function* () {
|
|
95
95
|
try {
|
|
96
|
-
|
|
97
|
-
if (!accessToken)
|
|
98
|
-
return;
|
|
99
|
-
yield this.syncToServer(accessToken);
|
|
96
|
+
yield this.syncToServer();
|
|
100
97
|
}
|
|
101
98
|
catch (error) {
|
|
102
99
|
console.error("Failed to process Access Tracker Sync with Server");
|
|
@@ -106,16 +103,18 @@ class AccessTracker {
|
|
|
106
103
|
/**
|
|
107
104
|
* Syncs the concept and connection data with the server.
|
|
108
105
|
*/
|
|
109
|
-
static syncToServer(
|
|
106
|
+
static syncToServer() {
|
|
110
107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
111
108
|
try {
|
|
112
109
|
if (!Object.keys(this.conceptsData).length && !Object.keys(this.connectionsData).length) {
|
|
113
110
|
return;
|
|
114
111
|
}
|
|
112
|
+
const accessToken = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
113
|
+
if (!accessToken)
|
|
114
|
+
return;
|
|
115
115
|
// Ensure conceptsData and connectionsData are not undefined or null
|
|
116
116
|
const conceptsToSend = this.conceptsData && Object.keys(this.conceptsData).length > 0 ? this.conceptsData : {};
|
|
117
117
|
const connectionsToSend = this.connectionsData && Object.keys(this.connectionsData).length > 0 ? this.connectionsData : {};
|
|
118
|
-
console.log("Access Tracker Sent to SERVER..", conceptsToSend, connectionsToSend);
|
|
119
118
|
const response = yield fetch(_app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.PostPrefetchConceptConnections(), {
|
|
120
119
|
method: 'POST',
|
|
121
120
|
headers: {
|
|
@@ -130,7 +129,7 @@ class AccessTracker {
|
|
|
130
129
|
if (!response.ok) {
|
|
131
130
|
throw new Error('Failed to sync data to the server.');
|
|
132
131
|
}
|
|
133
|
-
|
|
132
|
+
yield response.json();
|
|
134
133
|
this.conceptsData = {};
|
|
135
134
|
this.connectionsData = {};
|
|
136
135
|
this.setNextSyncTime();
|
|
@@ -154,13 +153,10 @@ class AccessTracker {
|
|
|
154
153
|
* This will automatically call `syncToServer` every 5 minutes
|
|
155
154
|
*/
|
|
156
155
|
static startAutoSync() {
|
|
157
|
-
const tokenString = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
158
|
-
if (tokenString) {
|
|
159
|
-
this.syncNow().catch(console.error);
|
|
160
|
-
}
|
|
161
156
|
setInterval(() => {
|
|
162
157
|
const currentTime = Date.now();
|
|
163
158
|
// console.log(`[CHECK] Current Time: ${new Date(currentTime).toISOString()}`);
|
|
159
|
+
// console.log(`Update Time: ${this.nextSyncTime}`);
|
|
164
160
|
if (this.nextSyncTime && currentTime >= this.nextSyncTime) {
|
|
165
161
|
// console.log(`[SYNC TRIGGER] Time to sync! Triggering sync at: ${new Date(currentTime).toISOString()}`);
|
|
166
162
|
this.syncNow().catch(console.error);
|
|
@@ -172,12 +168,17 @@ class AccessTracker {
|
|
|
172
168
|
*/
|
|
173
169
|
static syncNow() {
|
|
174
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
171
|
+
try {
|
|
172
|
+
// console.log("Status of Access Tracker is : ", this.activateStatus);
|
|
173
|
+
if (this.activateStatus) {
|
|
174
|
+
yield this.syncToServer();
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
console.warn("Access Tracker inactive.");
|
|
178
|
+
}
|
|
178
179
|
}
|
|
179
|
-
|
|
180
|
-
console.
|
|
180
|
+
catch (error) {
|
|
181
|
+
console.error("Error on sync access tracker");
|
|
181
182
|
}
|
|
182
183
|
});
|
|
183
184
|
}
|
|
@@ -1782,6 +1783,9 @@ function GetConcept(id) {
|
|
|
1782
1783
|
}
|
|
1783
1784
|
}
|
|
1784
1785
|
let result = (0,_app__WEBPACK_IMPORTED_MODULE_3__.CreateDefaultConcept)();
|
|
1786
|
+
if (id == 0 || id == undefined || id == null) {
|
|
1787
|
+
return result;
|
|
1788
|
+
}
|
|
1785
1789
|
var conceptUse = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_0__.ConceptsData.GetConcept(id);
|
|
1786
1790
|
let isNpc = _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_0__.ConceptsData.GetNpc(id);
|
|
1787
1791
|
if (conceptUse.id != 0 || isNpc) {
|
|
@@ -5287,6 +5291,9 @@ class ConceptsData {
|
|
|
5287
5291
|
(0,_app__WEBPACK_IMPORTED_MODULE_5__.handleServiceWorkerException)(error);
|
|
5288
5292
|
}
|
|
5289
5293
|
}
|
|
5294
|
+
if (id == 0 || id == undefined || id == null) {
|
|
5295
|
+
return (0,_Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();
|
|
5296
|
+
}
|
|
5290
5297
|
var myConcept = (0,_Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();
|
|
5291
5298
|
var node = yield _BinaryTree__WEBPACK_IMPORTED_MODULE_1__.BinaryTree.getNodeFromTree(id);
|
|
5292
5299
|
if (node === null || node === void 0 ? void 0 : node.value) {
|
|
@@ -11378,7 +11385,6 @@ class ApplicationMonitor {
|
|
|
11378
11385
|
};
|
|
11379
11386
|
_logger_service__WEBPACK_IMPORTED_MODULE_1__.Logger.logApplication("INFO", "Network Request", networkDetails);
|
|
11380
11387
|
return originalFetch(...args);
|
|
11381
|
-
// return new Response(null, { status: 200 });
|
|
11382
11388
|
}
|
|
11383
11389
|
let networkDetails = {
|
|
11384
11390
|
"request": {
|
|
@@ -11653,6 +11659,8 @@ class Logger {
|
|
|
11653
11659
|
// this.saveLogToLocalStorage(this.mftsccsBrowser, logEntry)
|
|
11654
11660
|
}
|
|
11655
11661
|
static log(level, message, data) {
|
|
11662
|
+
if (!this.logPackageActivationStatus)
|
|
11663
|
+
return;
|
|
11656
11664
|
try {
|
|
11657
11665
|
Logger.formatLogData(level, message, data || null);
|
|
11658
11666
|
}
|
|
@@ -11661,87 +11669,109 @@ class Logger {
|
|
|
11661
11669
|
}
|
|
11662
11670
|
}
|
|
11663
11671
|
static logInfo(startTime, userId, operationType, requestFrom, requestIP, responseStatus, responseData, functionName, functionParameters, userAgent, conceptsUsed) {
|
|
11664
|
-
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
|
|
11681
|
-
|
|
11672
|
+
try {
|
|
11673
|
+
const sessionId = getCookie("SessionId");
|
|
11674
|
+
const responseTime = `${(performance.now() - startTime).toFixed(3)}ms`;
|
|
11675
|
+
const responseSize = responseData ? `${JSON.stringify(responseData).length}` : "0";
|
|
11676
|
+
const logData = {
|
|
11677
|
+
userId,
|
|
11678
|
+
operationType,
|
|
11679
|
+
requestFrom,
|
|
11680
|
+
requestIP,
|
|
11681
|
+
responseStatus,
|
|
11682
|
+
responseTime,
|
|
11683
|
+
responseSize,
|
|
11684
|
+
sessionId: sessionId === null || sessionId === void 0 ? void 0 : sessionId.toString(),
|
|
11685
|
+
functionName,
|
|
11686
|
+
functionParameters,
|
|
11687
|
+
userAgent,
|
|
11688
|
+
conceptsUsed,
|
|
11689
|
+
};
|
|
11690
|
+
Logger.log("INFO", `Information logged for ${functionName}`, logData);
|
|
11691
|
+
}
|
|
11692
|
+
catch (error) {
|
|
11693
|
+
console.error("Error on logInfo");
|
|
11694
|
+
}
|
|
11682
11695
|
}
|
|
11683
11696
|
static logError(startTime, userId, operationType, requestFrom, requestIP, responseStatus, responseData, functionName, functionParameters, userAgent, conceptsUsed) {
|
|
11684
|
-
|
|
11685
|
-
|
|
11686
|
-
|
|
11687
|
-
|
|
11688
|
-
|
|
11689
|
-
|
|
11690
|
-
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11697
|
+
try {
|
|
11698
|
+
const sessionId = getCookie("SessionId");
|
|
11699
|
+
const responseTime = `${(performance.now() - startTime).toFixed(3)}ms`;
|
|
11700
|
+
const responseSize = responseData ? `${JSON.stringify(responseData).length}` : "0";
|
|
11701
|
+
const logData = {
|
|
11702
|
+
userId,
|
|
11703
|
+
operationType,
|
|
11704
|
+
requestFrom,
|
|
11705
|
+
requestIP,
|
|
11706
|
+
responseStatus,
|
|
11707
|
+
responseTime,
|
|
11708
|
+
responseSize,
|
|
11709
|
+
sessionId: sessionId === null || sessionId === void 0 ? void 0 : sessionId.toString(),
|
|
11710
|
+
functionName,
|
|
11711
|
+
functionParameters,
|
|
11712
|
+
userAgent,
|
|
11713
|
+
conceptsUsed,
|
|
11714
|
+
};
|
|
11715
|
+
Logger.formatLogData("ERROR", `Information logged for ${functionName}`, logData);
|
|
11716
|
+
}
|
|
11717
|
+
catch (error) {
|
|
11718
|
+
console.error("Error on logError");
|
|
11719
|
+
}
|
|
11702
11720
|
}
|
|
11703
11721
|
static logWarning(startTime, userId, operationType, requestFrom, requestIP, responseStatus, responseData, functionName, functionParameters, userAgent, conceptsUsed) {
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
+
try {
|
|
11723
|
+
const sessionId = getCookie("SessionId");
|
|
11724
|
+
const responseTime = `${(performance.now() - startTime).toFixed(3)}ms`;
|
|
11725
|
+
const responseSize = responseData ? `${JSON.stringify(responseData).length}` : "0";
|
|
11726
|
+
const logData = {
|
|
11727
|
+
userId,
|
|
11728
|
+
operationType,
|
|
11729
|
+
requestFrom,
|
|
11730
|
+
requestIP,
|
|
11731
|
+
responseStatus,
|
|
11732
|
+
responseTime,
|
|
11733
|
+
responseSize,
|
|
11734
|
+
sessionId: sessionId === null || sessionId === void 0 ? void 0 : sessionId.toString(),
|
|
11735
|
+
functionName,
|
|
11736
|
+
functionParameters,
|
|
11737
|
+
userAgent,
|
|
11738
|
+
conceptsUsed,
|
|
11739
|
+
};
|
|
11740
|
+
Logger.formatLogData("WARNING", `Information logged for ${functionName}`, logData);
|
|
11741
|
+
}
|
|
11742
|
+
catch (error) {
|
|
11743
|
+
console.error("Error on logWarning");
|
|
11744
|
+
}
|
|
11722
11745
|
}
|
|
11723
11746
|
static logDebug(startTime, userId, operationType, requestFrom, requestIP, responseStatus, responseData, functionName, functionParameters, userAgent, conceptsUsed) {
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11747
|
+
try {
|
|
11748
|
+
const sessionId = getCookie("SessionId");
|
|
11749
|
+
const responseTime = `${(performance.now() - startTime).toFixed(3)}ms`;
|
|
11750
|
+
const responseSize = responseData ? `${JSON.stringify(responseData).length}` : "0";
|
|
11751
|
+
const logData = {
|
|
11752
|
+
userId,
|
|
11753
|
+
operationType,
|
|
11754
|
+
requestFrom,
|
|
11755
|
+
requestIP,
|
|
11756
|
+
responseStatus,
|
|
11757
|
+
responseTime,
|
|
11758
|
+
responseSize,
|
|
11759
|
+
sessionId: sessionId === null || sessionId === void 0 ? void 0 : sessionId.toString(),
|
|
11760
|
+
functionName,
|
|
11761
|
+
functionParameters,
|
|
11762
|
+
userAgent,
|
|
11763
|
+
conceptsUsed,
|
|
11764
|
+
};
|
|
11765
|
+
Logger.formatLogData("DEBUG", `Information logged for ${functionName}`, logData);
|
|
11766
|
+
}
|
|
11767
|
+
catch (error) {
|
|
11768
|
+
console.error("Error on logDebug");
|
|
11769
|
+
}
|
|
11742
11770
|
}
|
|
11743
11771
|
// Log Application Activity
|
|
11744
11772
|
static logApplication(type, message, data) {
|
|
11773
|
+
if (!this.logApplicationActivationStatus)
|
|
11774
|
+
return;
|
|
11745
11775
|
try {
|
|
11746
11776
|
const timestamp = new Date().toLocaleString();
|
|
11747
11777
|
const logEntry = {
|
|
@@ -11763,18 +11793,13 @@ class Logger {
|
|
|
11763
11793
|
static sendApplicationLogsToServer() {
|
|
11764
11794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11765
11795
|
try {
|
|
11766
|
-
|
|
11767
|
-
// console.log("Log To Server : \n", this.applicationLogsData);
|
|
11768
|
-
if (this.applicationLogsData.length < 0) {
|
|
11796
|
+
if (this.applicationLogsData.length === 0) {
|
|
11769
11797
|
return;
|
|
11770
11798
|
}
|
|
11771
11799
|
const accessToken = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
11772
|
-
const storedLogs = this.applicationLogsData;
|
|
11773
|
-
console.log("Application Logs of AppLog : ", storedLogs);
|
|
11774
11800
|
if (!accessToken)
|
|
11775
11801
|
return;
|
|
11776
|
-
|
|
11777
|
-
return;
|
|
11802
|
+
const storedLogs = this.applicationLogsData;
|
|
11778
11803
|
const chunkSize = 50;
|
|
11779
11804
|
for (let i = 0; i < storedLogs.length; i += chunkSize) {
|
|
11780
11805
|
const chunk = storedLogs.slice(i, i + chunkSize);
|
|
@@ -11797,8 +11822,6 @@ class Logger {
|
|
|
11797
11822
|
}
|
|
11798
11823
|
// clear application log from memory
|
|
11799
11824
|
this.applicationLogsData = [];
|
|
11800
|
-
// this.clearLogsFromLocalStorage(this.appLogs)
|
|
11801
|
-
// Logger.log("INFO", "Sync Application Logs to server")
|
|
11802
11825
|
}
|
|
11803
11826
|
catch (error) {
|
|
11804
11827
|
console.error("Error while sending logs to server:", error);
|
|
@@ -11808,18 +11831,15 @@ class Logger {
|
|
|
11808
11831
|
static sendLogsToServer() {
|
|
11809
11832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11810
11833
|
try {
|
|
11811
|
-
console.warn("Log sending to server...");
|
|
11812
|
-
// console.log("Log To Server : \n", this.logsData);
|
|
11813
11834
|
if (this.logsData.length === 0)
|
|
11814
11835
|
return;
|
|
11836
|
+
if (this.logsData.length === 0) {
|
|
11837
|
+
return;
|
|
11838
|
+
}
|
|
11815
11839
|
const accessToken = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
11816
|
-
const storedLogs = this.logsData;
|
|
11817
|
-
console.log("Package Logs for syncing... ", storedLogs);
|
|
11818
11840
|
if (!accessToken)
|
|
11819
11841
|
return;
|
|
11820
|
-
|
|
11821
|
-
if (storedLogs.length === 0)
|
|
11822
|
-
return;
|
|
11842
|
+
const storedLogs = this.logsData;
|
|
11823
11843
|
const chunkSize = 50;
|
|
11824
11844
|
for (let i = 0; i < storedLogs.length; i += chunkSize) {
|
|
11825
11845
|
const chunk = storedLogs.slice(i, i + chunkSize);
|
|
@@ -11842,8 +11862,6 @@ class Logger {
|
|
|
11842
11862
|
}
|
|
11843
11863
|
// clear mftsccs log from memory
|
|
11844
11864
|
this.logsData = [];
|
|
11845
|
-
// this.clearLogsFromLocalStorage(this.mftsccsBrowser)
|
|
11846
|
-
// Logger.log("INFO", "Sync Application Logs to server")
|
|
11847
11865
|
}
|
|
11848
11866
|
catch (error) {
|
|
11849
11867
|
console.error("Error while sending logs to server:", error);
|
|
@@ -11889,6 +11907,8 @@ Logger.SYNC_INTERVAL_MS = 120 * 1000; // 120 Sec
|
|
|
11889
11907
|
Logger.nextSyncTime = null;
|
|
11890
11908
|
Logger.appLogs = "app";
|
|
11891
11909
|
Logger.mftsccsBrowser = "mftsccs";
|
|
11910
|
+
Logger.logApplicationActivationStatus = false;
|
|
11911
|
+
Logger.logPackageActivationStatus = false;
|
|
11892
11912
|
// Private auto-sync interval management
|
|
11893
11913
|
Logger.autoSyncInterval = null;
|
|
11894
11914
|
// Ensure logs are managed automatically
|
|
@@ -11901,19 +11921,25 @@ Logger.autoSyncInterval = null;
|
|
|
11901
11921
|
* @returns Cookie value
|
|
11902
11922
|
*/
|
|
11903
11923
|
function getCookie(cname) {
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
let
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11924
|
+
try {
|
|
11925
|
+
let name = cname + "=";
|
|
11926
|
+
let decodedCookie = decodeURIComponent(document.cookie);
|
|
11927
|
+
let ca = decodedCookie.split(';');
|
|
11928
|
+
for (let i = 0; i < ca.length; i++) {
|
|
11929
|
+
let c = ca[i];
|
|
11930
|
+
while (c.charAt(0) == ' ') {
|
|
11931
|
+
c = c.substring(1);
|
|
11932
|
+
}
|
|
11933
|
+
if (c.indexOf(name) == 0) {
|
|
11934
|
+
return c.substring(name.length, c.length);
|
|
11935
|
+
}
|
|
11914
11936
|
}
|
|
11937
|
+
return "";
|
|
11938
|
+
}
|
|
11939
|
+
catch (error) {
|
|
11940
|
+
console.error("Error on getcookie");
|
|
11941
|
+
return "";
|
|
11915
11942
|
}
|
|
11916
|
-
return "";
|
|
11917
11943
|
}
|
|
11918
11944
|
|
|
11919
11945
|
|
|
@@ -13453,6 +13479,9 @@ function FindConceptsFromConnections() {
|
|
|
13453
13479
|
if (!ConceptList.includes(connectionList[i].toTheConceptId)) {
|
|
13454
13480
|
ConceptList.push(connectionList[i].toTheConceptId);
|
|
13455
13481
|
}
|
|
13482
|
+
if (!ConceptList.includes(connectionList[i].typeId)) {
|
|
13483
|
+
ConceptList.push(connectionList[i].typeId);
|
|
13484
|
+
}
|
|
13456
13485
|
}
|
|
13457
13486
|
yield (0,_Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_0__.GetConceptBulk)(ConceptList);
|
|
13458
13487
|
}
|
|
@@ -14774,6 +14803,7 @@ function GetConnectionDataPrefetch(connectionIds) {
|
|
|
14774
14803
|
for (let j = 0; j < connectionsAll.length; j++) {
|
|
14775
14804
|
prefetchConcepts.push(connectionsAll[j].ofTheConceptId);
|
|
14776
14805
|
prefetchConcepts.push(connectionsAll[j].toTheConceptId);
|
|
14806
|
+
prefetchConcepts.push(connectionsAll[j].typeId);
|
|
14777
14807
|
}
|
|
14778
14808
|
yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.GetConceptBulk)(prefetchConcepts);
|
|
14779
14809
|
return connectionsAll;
|
|
@@ -22308,12 +22338,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22308
22338
|
/* harmony export */ getFromDatabaseWithType: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getFromDatabaseWithType),
|
|
22309
22339
|
/* harmony export */ getObjectsFromIndexDb: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getObjectsFromIndexDb),
|
|
22310
22340
|
/* harmony export */ handleServiceWorkerException: () => (/* binding */ handleServiceWorkerException),
|
|
22341
|
+
/* harmony export */ hasActivatedSW: () => (/* binding */ hasActivatedSW),
|
|
22311
22342
|
/* harmony export */ init: () => (/* binding */ init),
|
|
22312
22343
|
/* harmony export */ recursiveFetch: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.recursiveFetch),
|
|
22313
22344
|
/* harmony export */ recursiveFetchNew: () => (/* reexport safe */ _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_45__.recursiveFetchNew),
|
|
22314
22345
|
/* harmony export */ searchLinkMultipleListener: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_69__.searchLinkMultipleListener),
|
|
22315
22346
|
/* harmony export */ sendMessage: () => (/* binding */ sendMessage),
|
|
22316
22347
|
/* harmony export */ serviceWorker: () => (/* binding */ serviceWorker),
|
|
22348
|
+
/* harmony export */ setHasActivatedSW: () => (/* binding */ setHasActivatedSW),
|
|
22317
22349
|
/* harmony export */ storeToDatabase: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.storeToDatabase),
|
|
22318
22350
|
/* harmony export */ subscribedListeners: () => (/* binding */ subscribedListeners),
|
|
22319
22351
|
/* harmony export */ updateAccessToken: () => (/* binding */ updateAccessToken)
|
|
@@ -22572,6 +22604,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
22572
22604
|
|
|
22573
22605
|
|
|
22574
22606
|
|
|
22607
|
+
|
|
22575
22608
|
|
|
22576
22609
|
|
|
22577
22610
|
var serviceWorker;
|
|
@@ -22579,6 +22612,10 @@ const TABID = Date.now().toString(36) + Math.random().toString(36).substring(2);
|
|
|
22579
22612
|
let subscribedListeners = [];
|
|
22580
22613
|
let serviceWorkerReady = false;
|
|
22581
22614
|
let messageQueue = [];
|
|
22615
|
+
// for sw use only START
|
|
22616
|
+
let hasActivatedSW = false;
|
|
22617
|
+
function setHasActivatedSW(value) { hasActivatedSW = value; }
|
|
22618
|
+
// for sw use only END
|
|
22582
22619
|
/**
|
|
22583
22620
|
* This function lets you update the access token that the package uses. If this is not passed you cannot create, update, view or delete
|
|
22584
22621
|
* Your concepts using this package.
|
|
@@ -22601,7 +22638,7 @@ function updateAccessToken(accessToken = "") {
|
|
|
22601
22638
|
* @param enableSW {activate: boolean, scope?: string, pathToSW?: string, manual?: boolean} | undefined - This is for enabling service worker with its scope
|
|
22602
22639
|
*/
|
|
22603
22640
|
function init() {
|
|
22604
|
-
return __awaiter(this, arguments, void 0, function* (url = "", aiurl = "", accessToken = "", nodeUrl = "", enableAi = true, applicationName = "", enableSW = undefined, flag = { logApplication: false, accessTracker: false, isTest: false }) {
|
|
22641
|
+
return __awaiter(this, arguments, void 0, function* (url = "", aiurl = "", accessToken = "", nodeUrl = "", enableAi = true, applicationName = "", enableSW = undefined, flag = { logApplication: false, logPackage: false, accessTracker: false, isTest: false }) {
|
|
22605
22642
|
try {
|
|
22606
22643
|
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl.BASE_URL = url;
|
|
22607
22644
|
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl.AI_URL = aiurl;
|
|
@@ -22624,19 +22661,31 @@ function init() {
|
|
|
22624
22661
|
_DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalConnectionLoaded = true;
|
|
22625
22662
|
return true;
|
|
22626
22663
|
}
|
|
22627
|
-
|
|
22628
|
-
|
|
22629
|
-
|
|
22664
|
+
// Flag setup
|
|
22665
|
+
try {
|
|
22666
|
+
if (flag.logApplication) {
|
|
22667
|
+
_Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_103__.ApplicationMonitor.initialize();
|
|
22668
|
+
_app__WEBPACK_IMPORTED_MODULE_105__.Logger.logApplicationActivationStatus = true;
|
|
22669
|
+
console.warn("Application log started...");
|
|
22670
|
+
}
|
|
22671
|
+
if (flag.logPackage) {
|
|
22672
|
+
_app__WEBPACK_IMPORTED_MODULE_105__.Logger.logPackageActivationStatus = true;
|
|
22673
|
+
console.warn("Package log started...");
|
|
22674
|
+
}
|
|
22675
|
+
if (flag.accessTracker) {
|
|
22676
|
+
_app__WEBPACK_IMPORTED_MODULE_105__.AccessTracker.activateStatus = true;
|
|
22677
|
+
console.warn("Access Tracker Activated...");
|
|
22678
|
+
}
|
|
22630
22679
|
}
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
console.warn("Access Tracker Activated...");
|
|
22680
|
+
catch (error) {
|
|
22681
|
+
console.error("Flag setup failed in init");
|
|
22634
22682
|
}
|
|
22635
22683
|
if (!("serviceWorker" in navigator)) {
|
|
22636
22684
|
yield initConceptConnection();
|
|
22637
22685
|
console.warn("Service Worker not supported in this browser.");
|
|
22638
22686
|
return;
|
|
22639
22687
|
}
|
|
22688
|
+
listenPostMessagaes();
|
|
22640
22689
|
listenBroadCastMessages();
|
|
22641
22690
|
if (enableSW && enableSW.activate && enableSW.manual) {
|
|
22642
22691
|
yield new Promise((resolve, reject) => {
|
|
@@ -22702,48 +22751,45 @@ function init() {
|
|
|
22702
22751
|
.then((registration) => __awaiter(this, void 0, void 0, function* () {
|
|
22703
22752
|
console.log("Service Worker registered:", registration);
|
|
22704
22753
|
// If the service worker is already active, mark it as ready
|
|
22705
|
-
if (registration.active) {
|
|
22706
|
-
|
|
22707
|
-
|
|
22708
|
-
|
|
22709
|
-
|
|
22710
|
-
|
|
22711
|
-
|
|
22712
|
-
|
|
22713
|
-
|
|
22714
|
-
|
|
22715
|
-
|
|
22716
|
-
|
|
22717
|
-
|
|
22718
|
-
|
|
22719
|
-
|
|
22720
|
-
}
|
|
22721
|
-
|
|
22722
|
-
|
|
22723
|
-
|
|
22724
|
-
|
|
22725
|
-
|
|
22726
|
-
}, 5000);
|
|
22727
|
-
}
|
|
22754
|
+
// if (registration.active) {
|
|
22755
|
+
// serviceWorkerReady = true;
|
|
22756
|
+
// console.log("active sw");
|
|
22757
|
+
// serviceWorker = registration.active;
|
|
22758
|
+
// await sendMessage("init", {
|
|
22759
|
+
// url,
|
|
22760
|
+
// aiurl,
|
|
22761
|
+
// accessToken,
|
|
22762
|
+
// nodeUrl,
|
|
22763
|
+
// enableAi,
|
|
22764
|
+
// applicationName,
|
|
22765
|
+
// flag
|
|
22766
|
+
// });
|
|
22767
|
+
// processMessageQueue();
|
|
22768
|
+
// resolve();
|
|
22769
|
+
// } else {
|
|
22770
|
+
// // Handle if on state change didn't trigger
|
|
22771
|
+
// setTimeout(() => {
|
|
22772
|
+
// if (!success) reject("Not Completed Initialization");
|
|
22773
|
+
// }, 5000);
|
|
22774
|
+
// }
|
|
22728
22775
|
// state change
|
|
22729
|
-
if (registration.installing || registration.waiting || registration.active) {
|
|
22730
|
-
|
|
22731
|
-
|
|
22732
|
-
|
|
22733
|
-
|
|
22734
|
-
|
|
22735
|
-
|
|
22736
|
-
|
|
22737
|
-
|
|
22738
|
-
|
|
22739
|
-
|
|
22740
|
-
|
|
22741
|
-
|
|
22742
|
-
|
|
22743
|
-
|
|
22744
|
-
|
|
22745
|
-
|
|
22746
|
-
}
|
|
22776
|
+
// if (registration.installing || registration.waiting || registration.active) {
|
|
22777
|
+
// registration.addEventListener('statechange', async (event: any) => {
|
|
22778
|
+
// if (event?.target?.state === 'activating') {
|
|
22779
|
+
// serviceWorker = navigator.serviceWorker.controller
|
|
22780
|
+
// console.log('Service Worker is activating statechange');
|
|
22781
|
+
// await sendMessage("init", {
|
|
22782
|
+
// url,
|
|
22783
|
+
// aiurl,
|
|
22784
|
+
// accessToken,
|
|
22785
|
+
// nodeUrl,
|
|
22786
|
+
// enableAi,
|
|
22787
|
+
// applicationName,
|
|
22788
|
+
// flag
|
|
22789
|
+
// });
|
|
22790
|
+
// }
|
|
22791
|
+
// });
|
|
22792
|
+
// }
|
|
22747
22793
|
// Add Listeners before initializing the service worker
|
|
22748
22794
|
// Listen for updates to the service worker
|
|
22749
22795
|
console.log("update listen start");
|
|
@@ -22752,7 +22798,7 @@ function init() {
|
|
|
22752
22798
|
console.log("new worker", newWorker);
|
|
22753
22799
|
if (newWorker) {
|
|
22754
22800
|
newWorker.onstatechange = () => __awaiter(this, void 0, void 0, function* () {
|
|
22755
|
-
console.
|
|
22801
|
+
console.warn("on state change triggered", (newWorker.state === "installed" || newWorker.state === "activated" || newWorker.state === 'redundant'), navigator.serviceWorker.controller);
|
|
22756
22802
|
if (newWorker.state === "installing") {
|
|
22757
22803
|
console.log("Service Worker installing");
|
|
22758
22804
|
serviceWorker = undefined;
|
|
@@ -22787,7 +22833,7 @@ function init() {
|
|
|
22787
22833
|
console.warn('controller change triggered', navigator.serviceWorker.controller);
|
|
22788
22834
|
if (navigator.serviceWorker.controller) {
|
|
22789
22835
|
serviceWorker = navigator.serviceWorker.controller;
|
|
22790
|
-
console.
|
|
22836
|
+
console.warn('Service worker has been activated; controller change');
|
|
22791
22837
|
yield sendMessage("init", {
|
|
22792
22838
|
url,
|
|
22793
22839
|
aiurl,
|
|
@@ -22807,7 +22853,7 @@ function init() {
|
|
|
22807
22853
|
var _a;
|
|
22808
22854
|
if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.state) === 'activating') {
|
|
22809
22855
|
serviceWorker = navigator.serviceWorker.controller;
|
|
22810
|
-
console.
|
|
22856
|
+
console.warn('Service Worker is activating statechange');
|
|
22811
22857
|
yield sendMessage("init", {
|
|
22812
22858
|
url,
|
|
22813
22859
|
aiurl,
|
|
@@ -22842,7 +22888,7 @@ function init() {
|
|
|
22842
22888
|
setTimeout(() => {
|
|
22843
22889
|
if (!success)
|
|
22844
22890
|
reject("Not Completed Initialization");
|
|
22845
|
-
},
|
|
22891
|
+
}, 10000);
|
|
22846
22892
|
}
|
|
22847
22893
|
}))
|
|
22848
22894
|
.catch((error) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -22890,6 +22936,7 @@ function sendMessage(type, payload) {
|
|
|
22890
22936
|
return new Promise((resolve, reject) => {
|
|
22891
22937
|
// navigator.serviceWorker.ready
|
|
22892
22938
|
// .then((registration) => {
|
|
22939
|
+
console.debug('debug', navigator.serviceWorker.controller, serviceWorker, serviceWorkerReady, type == 'init');
|
|
22893
22940
|
if ((navigator.serviceWorker.controller || serviceWorker) && (serviceWorkerReady || type == 'init')) {
|
|
22894
22941
|
const responseHandler = (event) => {
|
|
22895
22942
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -22928,7 +22975,7 @@ function sendMessage(type, payload) {
|
|
|
22928
22975
|
serviceWorker.postMessage({ type, payload: newPayload });
|
|
22929
22976
|
}
|
|
22930
22977
|
catch (err) {
|
|
22931
|
-
console.log(err);
|
|
22978
|
+
console.log('Retrying again on catch service worker', err);
|
|
22932
22979
|
// serviceWorker.postMessage({ type, payload: newPayload });
|
|
22933
22980
|
serviceWorker.postMessage({ type, payload: newPayload });
|
|
22934
22981
|
}
|
|
@@ -22938,6 +22985,7 @@ function sendMessage(type, payload) {
|
|
|
22938
22985
|
console.warn(`Service Worker hasn't loaded yet. messageId: ${messageId}, type: ${type}`);
|
|
22939
22986
|
if (serviceWorkerReady)
|
|
22940
22987
|
console.warn('service worker was registered already but is not available NOW!!!');
|
|
22988
|
+
console.info('ready', navigator.serviceWorker.ready);
|
|
22941
22989
|
// wait one second before checking again
|
|
22942
22990
|
setTimeout(() => {
|
|
22943
22991
|
console.warn(`Re-Trying after certain time. messageId: ${messageId}, type: ${type}`);
|
|
@@ -22957,7 +23005,7 @@ function sendMessage(type, payload) {
|
|
|
22957
23005
|
setTimeout(() => {
|
|
22958
23006
|
reject(`No response from service worker after timeout: ${type}`);
|
|
22959
23007
|
navigator.serviceWorker.removeEventListener("message", responseHandler);
|
|
22960
|
-
},
|
|
23008
|
+
}, 210000); // 3.5 minutes
|
|
22961
23009
|
}
|
|
22962
23010
|
else {
|
|
22963
23011
|
messageQueue.push({ message: { type, payload: newPayload } });
|
|
@@ -23032,7 +23080,47 @@ function listenBroadCastMessages() {
|
|
|
23032
23080
|
responseData = yield broadcastActions[type](payload);
|
|
23033
23081
|
}
|
|
23034
23082
|
else {
|
|
23035
|
-
console.
|
|
23083
|
+
console.warn(`Unable to handle "${type}" case in BC service worker`);
|
|
23084
|
+
}
|
|
23085
|
+
}));
|
|
23086
|
+
}
|
|
23087
|
+
/**
|
|
23088
|
+
* Method to trigger broadcast message listener
|
|
23089
|
+
*/
|
|
23090
|
+
function listenPostMessagaes() {
|
|
23091
|
+
// broadcast event can be listened through both the service worker and other tabs
|
|
23092
|
+
navigator.serviceWorker.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {
|
|
23093
|
+
var _a, _b, _c, _d;
|
|
23094
|
+
try {
|
|
23095
|
+
if (event.data && event.data.type === 'API_401') {
|
|
23096
|
+
const { requestDetails } = event.data;
|
|
23097
|
+
// Re-create the POST request with the same headers and body
|
|
23098
|
+
const requestOptions = {
|
|
23099
|
+
method: requestDetails.method,
|
|
23100
|
+
headers: new Headers(requestDetails.headers),
|
|
23101
|
+
body: requestDetails.body // Pass the original body
|
|
23102
|
+
};
|
|
23103
|
+
// Re-hit the API with the same details
|
|
23104
|
+
const apiResponse = yield fetch(requestDetails.url, requestOptions);
|
|
23105
|
+
const responseBody = yield (apiResponse === null || apiResponse === void 0 ? void 0 : apiResponse.json()); // Get the response text
|
|
23106
|
+
// Send the response back to the Service Worker (same client)
|
|
23107
|
+
(_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.serviceWorker) === null || _a === void 0 ? void 0 : _a.controller) === null || _b === void 0 ? void 0 : _b.postMessage({
|
|
23108
|
+
type: 'API_RESPONSE',
|
|
23109
|
+
messageId: event.data.messageId,
|
|
23110
|
+
response: new Response(responseBody, {
|
|
23111
|
+
status: apiResponse.status,
|
|
23112
|
+
statusText: apiResponse.statusText,
|
|
23113
|
+
headers: apiResponse.headers
|
|
23114
|
+
})
|
|
23115
|
+
});
|
|
23116
|
+
}
|
|
23117
|
+
}
|
|
23118
|
+
catch (error) {
|
|
23119
|
+
console.error("Error during listenPostMessage", error);
|
|
23120
|
+
(_d = (_c = navigator === null || navigator === void 0 ? void 0 : navigator.serviceWorker) === null || _c === void 0 ? void 0 : _c.controller) === null || _d === void 0 ? void 0 : _d.postMessage({
|
|
23121
|
+
type: 'API_RESPONSE',
|
|
23122
|
+
messageId: event.data.messageId
|
|
23123
|
+
});
|
|
23036
23124
|
}
|
|
23037
23125
|
}));
|
|
23038
23126
|
}
|
|
@@ -23159,10 +23247,12 @@ function processMessageQueue() {
|
|
|
23159
23247
|
});
|
|
23160
23248
|
}
|
|
23161
23249
|
const handleServiceWorkerException = (error) => {
|
|
23250
|
+
// if (error instanceof FreeSchemaResponse && error.getStatus() != 401) {
|
|
23162
23251
|
if (error instanceof _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_104__.FreeSchemaResponse) {
|
|
23163
23252
|
console.error('FreeSchemaResponse Error', error);
|
|
23164
23253
|
throw error;
|
|
23165
23254
|
}
|
|
23255
|
+
// if (error instanceof FreeSchemaResponse && error.getStatus() == 401) console.error('401 triggered in sw defaulting')
|
|
23166
23256
|
console.error('Service Worker Error', error);
|
|
23167
23257
|
};
|
|
23168
23258
|
|
|
@@ -23384,16 +23474,18 @@ const handleServiceWorkerException = (error) => {
|
|
|
23384
23474
|
/******/ var __webpack_exports__getFromDatabaseWithType = __webpack_exports__.getFromDatabaseWithType;
|
|
23385
23475
|
/******/ var __webpack_exports__getObjectsFromIndexDb = __webpack_exports__.getObjectsFromIndexDb;
|
|
23386
23476
|
/******/ var __webpack_exports__handleServiceWorkerException = __webpack_exports__.handleServiceWorkerException;
|
|
23477
|
+
/******/ var __webpack_exports__hasActivatedSW = __webpack_exports__.hasActivatedSW;
|
|
23387
23478
|
/******/ var __webpack_exports__init = __webpack_exports__.init;
|
|
23388
23479
|
/******/ var __webpack_exports__recursiveFetch = __webpack_exports__.recursiveFetch;
|
|
23389
23480
|
/******/ var __webpack_exports__recursiveFetchNew = __webpack_exports__.recursiveFetchNew;
|
|
23390
23481
|
/******/ var __webpack_exports__searchLinkMultipleListener = __webpack_exports__.searchLinkMultipleListener;
|
|
23391
23482
|
/******/ var __webpack_exports__sendMessage = __webpack_exports__.sendMessage;
|
|
23392
23483
|
/******/ var __webpack_exports__serviceWorker = __webpack_exports__.serviceWorker;
|
|
23484
|
+
/******/ var __webpack_exports__setHasActivatedSW = __webpack_exports__.setHasActivatedSW;
|
|
23393
23485
|
/******/ var __webpack_exports__storeToDatabase = __webpack_exports__.storeToDatabase;
|
|
23394
23486
|
/******/ var __webpack_exports__subscribedListeners = __webpack_exports__.subscribedListeners;
|
|
23395
23487
|
/******/ var __webpack_exports__updateAccessToken = __webpack_exports__.updateAccessToken;
|
|
23396
|
-
/******/ export { __webpack_exports__ADMIN as ADMIN, __webpack_exports__ALLID as ALLID, __webpack_exports__AccessTracker as AccessTracker, __webpack_exports__AddGhostConcept as AddGhostConcept, __webpack_exports__Anomaly as Anomaly, __webpack_exports__BaseUrl as BaseUrl, __webpack_exports__BinaryTree as BinaryTree, __webpack_exports__BuilderStatefulWidget as BuilderStatefulWidget, __webpack_exports__Composition as Composition, __webpack_exports__CompositionBinaryTree as CompositionBinaryTree, __webpack_exports__CompositionNode as CompositionNode, __webpack_exports__Concept as Concept, __webpack_exports__ConceptsData as ConceptsData, __webpack_exports__Connection as Connection, __webpack_exports__ConnectionData as ConnectionData, __webpack_exports__CreateComposition as CreateComposition, __webpack_exports__CreateConnectionBetweenEntityLocal as CreateConnectionBetweenEntityLocal, __webpack_exports__CreateConnectionBetweenTwoConcepts as CreateConnectionBetweenTwoConcepts, __webpack_exports__CreateConnectionBetweenTwoConceptsGeneral as CreateConnectionBetweenTwoConceptsGeneral, __webpack_exports__CreateConnectionBetweenTwoConceptsLocal as CreateConnectionBetweenTwoConceptsLocal, __webpack_exports__CreateDefaultConcept as CreateDefaultConcept, __webpack_exports__CreateDefaultLConcept as CreateDefaultLConcept, __webpack_exports__CreateSession as CreateSession, __webpack_exports__CreateSessionVisit as CreateSessionVisit, __webpack_exports__CreateTheCompositionLocal as CreateTheCompositionLocal, __webpack_exports__CreateTheCompositionWithCache as CreateTheCompositionWithCache, __webpack_exports__CreateTheConnection as CreateTheConnection, __webpack_exports__CreateTheConnectionGeneral as CreateTheConnectionGeneral, __webpack_exports__CreateTheConnectionLocal as CreateTheConnectionLocal, __webpack_exports__DATAID as DATAID, __webpack_exports__DATAIDDATE as DATAIDDATE, __webpack_exports__DelayFunctionExecution as DelayFunctionExecution, __webpack_exports__DeleteConceptById as DeleteConceptById, __webpack_exports__DeleteConceptLocal as DeleteConceptLocal, __webpack_exports__DeleteConnectionById as DeleteConnectionById, __webpack_exports__DeleteConnectionByType as DeleteConnectionByType, __webpack_exports__DeleteUser as DeleteUser, __webpack_exports__DependencyObserver as DependencyObserver, __webpack_exports__FilterSearch as FilterSearch, __webpack_exports__FormatFromConnections as FormatFromConnections, __webpack_exports__FormatFromConnectionsAltered as FormatFromConnectionsAltered, __webpack_exports__FreeschemaQuery as FreeschemaQuery, __webpack_exports__FreeschemaQueryApi as FreeschemaQueryApi, __webpack_exports__GetAllConnectionsOfComposition as GetAllConnectionsOfComposition, __webpack_exports__GetAllConnectionsOfCompositionBulk as GetAllConnectionsOfCompositionBulk, __webpack_exports__GetAllTheConnectionsByTypeAndOfTheConcept as GetAllTheConnectionsByTypeAndOfTheConcept, __webpack_exports__GetComposition as GetComposition, __webpack_exports__GetCompositionBulk as GetCompositionBulk, __webpack_exports__GetCompositionBulkWithDataId as GetCompositionBulkWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataId as GetCompositionFromConnectionsWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataIdFromConnections as GetCompositionFromConnectionsWithDataIdFromConnections, __webpack_exports__GetCompositionFromConnectionsWithDataIdInObject as GetCompositionFromConnectionsWithDataIdInObject, __webpack_exports__GetCompositionFromConnectionsWithDataIdIndex as GetCompositionFromConnectionsWithDataIdIndex, __webpack_exports__GetCompositionFromConnectionsWithIndex as GetCompositionFromConnectionsWithIndex, __webpack_exports__GetCompositionFromConnectionsWithIndexFromConnections as GetCompositionFromConnectionsWithIndexFromConnections, __webpack_exports__GetCompositionFromMemoryWithConnections as GetCompositionFromMemoryWithConnections, __webpack_exports__GetCompositionList as GetCompositionList, __webpack_exports__GetCompositionListAll as GetCompositionListAll, __webpack_exports__GetCompositionListAllWithId as GetCompositionListAllWithId, __webpack_exports__GetCompositionListListener as GetCompositionListListener, __webpack_exports__GetCompositionListLocal as GetCompositionListLocal, __webpack_exports__GetCompositionListLocalWithId as GetCompositionListLocalWithId, __webpack_exports__GetCompositionListWithId as GetCompositionListWithId, __webpack_exports__GetCompositionListWithIdUpdated as GetCompositionListWithIdUpdated, __webpack_exports__GetCompositionListener as GetCompositionListener, __webpack_exports__GetCompositionLocal as GetCompositionLocal, __webpack_exports__GetCompositionLocalWithId as GetCompositionLocalWithId, __webpack_exports__GetCompositionWithAllIds as GetCompositionWithAllIds, __webpack_exports__GetCompositionWithCache as GetCompositionWithCache, __webpack_exports__GetCompositionWithDataIdBulk as GetCompositionWithDataIdBulk, __webpack_exports__GetCompositionWithDataIdWithCache as GetCompositionWithDataIdWithCache, __webpack_exports__GetCompositionWithId as GetCompositionWithId, __webpack_exports__GetCompositionWithIdAndDateFromMemory as GetCompositionWithIdAndDateFromMemory, __webpack_exports__GetConceptBulk as GetConceptBulk, __webpack_exports__GetConceptByCharacter as GetConceptByCharacter, __webpack_exports__GetConceptByCharacterAndCategoryLocal as GetConceptByCharacterAndCategoryLocal, __webpack_exports__GetConceptByCharacterAndType as GetConceptByCharacterAndType, __webpack_exports__GetConnectionBetweenTwoConceptsLinker as GetConnectionBetweenTwoConceptsLinker, __webpack_exports__GetConnectionBulk as GetConnectionBulk, __webpack_exports__GetConnectionById as GetConnectionById, __webpack_exports__GetConnectionDataPrefetch as GetConnectionDataPrefetch, __webpack_exports__GetConnectionOfTheConcept as GetConnectionOfTheConcept, __webpack_exports__GetLink as GetLink, __webpack_exports__GetLinkListListener as GetLinkListListener, __webpack_exports__GetLinkListener as GetLinkListener, __webpack_exports__GetLinkRaw as GetLinkRaw, __webpack_exports__GetLinkerConnectionFromConcepts as GetLinkerConnectionFromConcepts, __webpack_exports__GetLinkerConnectionToConcepts as GetLinkerConnectionToConcepts, __webpack_exports__GetRelation as GetRelation, __webpack_exports__GetRelationLocal as GetRelationLocal, __webpack_exports__GetRelationRaw as GetRelationRaw, __webpack_exports__GetTheConcept as GetTheConcept, __webpack_exports__GetTheConceptLocal as GetTheConceptLocal, __webpack_exports__GetUserGhostId as GetUserGhostId, __webpack_exports__JUSTDATA as JUSTDATA, __webpack_exports__LConcept as LConcept, __webpack_exports__LConnection as LConnection, __webpack_exports__LISTNORMAL as LISTNORMAL, __webpack_exports__LocalConceptsData as LocalConceptsData, __webpack_exports__LocalSyncData as LocalSyncData, __webpack_exports__LocalTransaction as LocalTransaction, __webpack_exports__Logger as Logger, __webpack_exports__LoginToBackend as LoginToBackend, __webpack_exports__MakeTheInstanceConcept as MakeTheInstanceConcept, __webpack_exports__MakeTheInstanceConceptLocal as MakeTheInstanceConceptLocal, __webpack_exports__MakeTheTimestamp as MakeTheTimestamp, __webpack_exports__MakeTheTypeConcept as MakeTheTypeConcept, __webpack_exports__MakeTheTypeConceptApi as MakeTheTypeConceptApi, __webpack_exports__MakeTheTypeConceptLocal as MakeTheTypeConceptLocal, __webpack_exports__NORMAL as NORMAL, __webpack_exports__PRIVATE as PRIVATE, __webpack_exports__PUBLIC as PUBLIC, __webpack_exports__PatcherStructure as PatcherStructure, __webpack_exports__RAW as RAW, __webpack_exports__RecursiveSearchApi as RecursiveSearchApi, __webpack_exports__RecursiveSearchApiNewRawFullLinker as RecursiveSearchApiNewRawFullLinker, __webpack_exports__RecursiveSearchApiRaw as RecursiveSearchApiRaw, __webpack_exports__RecursiveSearchApiRawFullLinker as RecursiveSearchApiRawFullLinker, __webpack_exports__RecursiveSearchApiWithInternalConnections as RecursiveSearchApiWithInternalConnections, __webpack_exports__RecursiveSearchListener as RecursiveSearchListener, __webpack_exports__SchemaQueryListener as SchemaQueryListener, __webpack_exports__SearchAllConcepts as SearchAllConcepts, __webpack_exports__SearchLinkInternal as SearchLinkInternal, __webpack_exports__SearchLinkInternalAll as SearchLinkInternalAll, __webpack_exports__SearchLinkMultipleAll as SearchLinkMultipleAll, __webpack_exports__SearchLinkMultipleAllObservable as SearchLinkMultipleAllObservable, __webpack_exports__SearchLinkMultipleApi as SearchLinkMultipleApi, __webpack_exports__SearchQuery as SearchQuery, __webpack_exports__SearchStructure as SearchStructure, __webpack_exports__SearchWithLinker as SearchWithLinker, __webpack_exports__SearchWithTypeAndLinker as SearchWithTypeAndLinker, __webpack_exports__SearchWithTypeAndLinkerApi as SearchWithTypeAndLinkerApi, __webpack_exports__SessionData as SessionData, __webpack_exports__Signin as Signin, __webpack_exports__Signup as Signup, __webpack_exports__SignupEntity as SignupEntity, __webpack_exports__SplitStrings as SplitStrings, __webpack_exports__StatefulWidget as StatefulWidget, __webpack_exports__SyncData as SyncData, __webpack_exports__TrashTheConcept as TrashTheConcept, __webpack_exports__UpdateComposition as UpdateComposition, __webpack_exports__UpdateCompositionLocal as UpdateCompositionLocal, __webpack_exports__UserBinaryTree as UserBinaryTree, __webpack_exports__Validator as Validator, __webpack_exports__ViewInternalData as ViewInternalData, __webpack_exports__ViewInternalDataApi as ViewInternalDataApi, __webpack_exports__WidgetTree as WidgetTree, __webpack_exports__convertFromConceptToLConcept as convertFromConceptToLConcept, __webpack_exports__convertFromLConceptToConcept as convertFromLConceptToConcept, __webpack_exports__createFormFieldData as createFormFieldData, __webpack_exports__dispatchIdEvent as dispatchIdEvent, __webpack_exports__getFromDatabaseWithType as getFromDatabaseWithType, __webpack_exports__getObjectsFromIndexDb as getObjectsFromIndexDb, __webpack_exports__handleServiceWorkerException as handleServiceWorkerException, __webpack_exports__init as init, __webpack_exports__recursiveFetch as recursiveFetch, __webpack_exports__recursiveFetchNew as recursiveFetchNew, __webpack_exports__searchLinkMultipleListener as searchLinkMultipleListener, __webpack_exports__sendMessage as sendMessage, __webpack_exports__serviceWorker as serviceWorker, __webpack_exports__storeToDatabase as storeToDatabase, __webpack_exports__subscribedListeners as subscribedListeners, __webpack_exports__updateAccessToken as updateAccessToken };
|
|
23488
|
+
/******/ export { __webpack_exports__ADMIN as ADMIN, __webpack_exports__ALLID as ALLID, __webpack_exports__AccessTracker as AccessTracker, __webpack_exports__AddGhostConcept as AddGhostConcept, __webpack_exports__Anomaly as Anomaly, __webpack_exports__BaseUrl as BaseUrl, __webpack_exports__BinaryTree as BinaryTree, __webpack_exports__BuilderStatefulWidget as BuilderStatefulWidget, __webpack_exports__Composition as Composition, __webpack_exports__CompositionBinaryTree as CompositionBinaryTree, __webpack_exports__CompositionNode as CompositionNode, __webpack_exports__Concept as Concept, __webpack_exports__ConceptsData as ConceptsData, __webpack_exports__Connection as Connection, __webpack_exports__ConnectionData as ConnectionData, __webpack_exports__CreateComposition as CreateComposition, __webpack_exports__CreateConnectionBetweenEntityLocal as CreateConnectionBetweenEntityLocal, __webpack_exports__CreateConnectionBetweenTwoConcepts as CreateConnectionBetweenTwoConcepts, __webpack_exports__CreateConnectionBetweenTwoConceptsGeneral as CreateConnectionBetweenTwoConceptsGeneral, __webpack_exports__CreateConnectionBetweenTwoConceptsLocal as CreateConnectionBetweenTwoConceptsLocal, __webpack_exports__CreateDefaultConcept as CreateDefaultConcept, __webpack_exports__CreateDefaultLConcept as CreateDefaultLConcept, __webpack_exports__CreateSession as CreateSession, __webpack_exports__CreateSessionVisit as CreateSessionVisit, __webpack_exports__CreateTheCompositionLocal as CreateTheCompositionLocal, __webpack_exports__CreateTheCompositionWithCache as CreateTheCompositionWithCache, __webpack_exports__CreateTheConnection as CreateTheConnection, __webpack_exports__CreateTheConnectionGeneral as CreateTheConnectionGeneral, __webpack_exports__CreateTheConnectionLocal as CreateTheConnectionLocal, __webpack_exports__DATAID as DATAID, __webpack_exports__DATAIDDATE as DATAIDDATE, __webpack_exports__DelayFunctionExecution as DelayFunctionExecution, __webpack_exports__DeleteConceptById as DeleteConceptById, __webpack_exports__DeleteConceptLocal as DeleteConceptLocal, __webpack_exports__DeleteConnectionById as DeleteConnectionById, __webpack_exports__DeleteConnectionByType as DeleteConnectionByType, __webpack_exports__DeleteUser as DeleteUser, __webpack_exports__DependencyObserver as DependencyObserver, __webpack_exports__FilterSearch as FilterSearch, __webpack_exports__FormatFromConnections as FormatFromConnections, __webpack_exports__FormatFromConnectionsAltered as FormatFromConnectionsAltered, __webpack_exports__FreeschemaQuery as FreeschemaQuery, __webpack_exports__FreeschemaQueryApi as FreeschemaQueryApi, __webpack_exports__GetAllConnectionsOfComposition as GetAllConnectionsOfComposition, __webpack_exports__GetAllConnectionsOfCompositionBulk as GetAllConnectionsOfCompositionBulk, __webpack_exports__GetAllTheConnectionsByTypeAndOfTheConcept as GetAllTheConnectionsByTypeAndOfTheConcept, __webpack_exports__GetComposition as GetComposition, __webpack_exports__GetCompositionBulk as GetCompositionBulk, __webpack_exports__GetCompositionBulkWithDataId as GetCompositionBulkWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataId as GetCompositionFromConnectionsWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataIdFromConnections as GetCompositionFromConnectionsWithDataIdFromConnections, __webpack_exports__GetCompositionFromConnectionsWithDataIdInObject as GetCompositionFromConnectionsWithDataIdInObject, __webpack_exports__GetCompositionFromConnectionsWithDataIdIndex as GetCompositionFromConnectionsWithDataIdIndex, __webpack_exports__GetCompositionFromConnectionsWithIndex as GetCompositionFromConnectionsWithIndex, __webpack_exports__GetCompositionFromConnectionsWithIndexFromConnections as GetCompositionFromConnectionsWithIndexFromConnections, __webpack_exports__GetCompositionFromMemoryWithConnections as GetCompositionFromMemoryWithConnections, __webpack_exports__GetCompositionList as GetCompositionList, __webpack_exports__GetCompositionListAll as GetCompositionListAll, __webpack_exports__GetCompositionListAllWithId as GetCompositionListAllWithId, __webpack_exports__GetCompositionListListener as GetCompositionListListener, __webpack_exports__GetCompositionListLocal as GetCompositionListLocal, __webpack_exports__GetCompositionListLocalWithId as GetCompositionListLocalWithId, __webpack_exports__GetCompositionListWithId as GetCompositionListWithId, __webpack_exports__GetCompositionListWithIdUpdated as GetCompositionListWithIdUpdated, __webpack_exports__GetCompositionListener as GetCompositionListener, __webpack_exports__GetCompositionLocal as GetCompositionLocal, __webpack_exports__GetCompositionLocalWithId as GetCompositionLocalWithId, __webpack_exports__GetCompositionWithAllIds as GetCompositionWithAllIds, __webpack_exports__GetCompositionWithCache as GetCompositionWithCache, __webpack_exports__GetCompositionWithDataIdBulk as GetCompositionWithDataIdBulk, __webpack_exports__GetCompositionWithDataIdWithCache as GetCompositionWithDataIdWithCache, __webpack_exports__GetCompositionWithId as GetCompositionWithId, __webpack_exports__GetCompositionWithIdAndDateFromMemory as GetCompositionWithIdAndDateFromMemory, __webpack_exports__GetConceptBulk as GetConceptBulk, __webpack_exports__GetConceptByCharacter as GetConceptByCharacter, __webpack_exports__GetConceptByCharacterAndCategoryLocal as GetConceptByCharacterAndCategoryLocal, __webpack_exports__GetConceptByCharacterAndType as GetConceptByCharacterAndType, __webpack_exports__GetConnectionBetweenTwoConceptsLinker as GetConnectionBetweenTwoConceptsLinker, __webpack_exports__GetConnectionBulk as GetConnectionBulk, __webpack_exports__GetConnectionById as GetConnectionById, __webpack_exports__GetConnectionDataPrefetch as GetConnectionDataPrefetch, __webpack_exports__GetConnectionOfTheConcept as GetConnectionOfTheConcept, __webpack_exports__GetLink as GetLink, __webpack_exports__GetLinkListListener as GetLinkListListener, __webpack_exports__GetLinkListener as GetLinkListener, __webpack_exports__GetLinkRaw as GetLinkRaw, __webpack_exports__GetLinkerConnectionFromConcepts as GetLinkerConnectionFromConcepts, __webpack_exports__GetLinkerConnectionToConcepts as GetLinkerConnectionToConcepts, __webpack_exports__GetRelation as GetRelation, __webpack_exports__GetRelationLocal as GetRelationLocal, __webpack_exports__GetRelationRaw as GetRelationRaw, __webpack_exports__GetTheConcept as GetTheConcept, __webpack_exports__GetTheConceptLocal as GetTheConceptLocal, __webpack_exports__GetUserGhostId as GetUserGhostId, __webpack_exports__JUSTDATA as JUSTDATA, __webpack_exports__LConcept as LConcept, __webpack_exports__LConnection as LConnection, __webpack_exports__LISTNORMAL as LISTNORMAL, __webpack_exports__LocalConceptsData as LocalConceptsData, __webpack_exports__LocalSyncData as LocalSyncData, __webpack_exports__LocalTransaction as LocalTransaction, __webpack_exports__Logger as Logger, __webpack_exports__LoginToBackend as LoginToBackend, __webpack_exports__MakeTheInstanceConcept as MakeTheInstanceConcept, __webpack_exports__MakeTheInstanceConceptLocal as MakeTheInstanceConceptLocal, __webpack_exports__MakeTheTimestamp as MakeTheTimestamp, __webpack_exports__MakeTheTypeConcept as MakeTheTypeConcept, __webpack_exports__MakeTheTypeConceptApi as MakeTheTypeConceptApi, __webpack_exports__MakeTheTypeConceptLocal as MakeTheTypeConceptLocal, __webpack_exports__NORMAL as NORMAL, __webpack_exports__PRIVATE as PRIVATE, __webpack_exports__PUBLIC as PUBLIC, __webpack_exports__PatcherStructure as PatcherStructure, __webpack_exports__RAW as RAW, __webpack_exports__RecursiveSearchApi as RecursiveSearchApi, __webpack_exports__RecursiveSearchApiNewRawFullLinker as RecursiveSearchApiNewRawFullLinker, __webpack_exports__RecursiveSearchApiRaw as RecursiveSearchApiRaw, __webpack_exports__RecursiveSearchApiRawFullLinker as RecursiveSearchApiRawFullLinker, __webpack_exports__RecursiveSearchApiWithInternalConnections as RecursiveSearchApiWithInternalConnections, __webpack_exports__RecursiveSearchListener as RecursiveSearchListener, __webpack_exports__SchemaQueryListener as SchemaQueryListener, __webpack_exports__SearchAllConcepts as SearchAllConcepts, __webpack_exports__SearchLinkInternal as SearchLinkInternal, __webpack_exports__SearchLinkInternalAll as SearchLinkInternalAll, __webpack_exports__SearchLinkMultipleAll as SearchLinkMultipleAll, __webpack_exports__SearchLinkMultipleAllObservable as SearchLinkMultipleAllObservable, __webpack_exports__SearchLinkMultipleApi as SearchLinkMultipleApi, __webpack_exports__SearchQuery as SearchQuery, __webpack_exports__SearchStructure as SearchStructure, __webpack_exports__SearchWithLinker as SearchWithLinker, __webpack_exports__SearchWithTypeAndLinker as SearchWithTypeAndLinker, __webpack_exports__SearchWithTypeAndLinkerApi as SearchWithTypeAndLinkerApi, __webpack_exports__SessionData as SessionData, __webpack_exports__Signin as Signin, __webpack_exports__Signup as Signup, __webpack_exports__SignupEntity as SignupEntity, __webpack_exports__SplitStrings as SplitStrings, __webpack_exports__StatefulWidget as StatefulWidget, __webpack_exports__SyncData as SyncData, __webpack_exports__TrashTheConcept as TrashTheConcept, __webpack_exports__UpdateComposition as UpdateComposition, __webpack_exports__UpdateCompositionLocal as UpdateCompositionLocal, __webpack_exports__UserBinaryTree as UserBinaryTree, __webpack_exports__Validator as Validator, __webpack_exports__ViewInternalData as ViewInternalData, __webpack_exports__ViewInternalDataApi as ViewInternalDataApi, __webpack_exports__WidgetTree as WidgetTree, __webpack_exports__convertFromConceptToLConcept as convertFromConceptToLConcept, __webpack_exports__convertFromLConceptToConcept as convertFromLConceptToConcept, __webpack_exports__createFormFieldData as createFormFieldData, __webpack_exports__dispatchIdEvent as dispatchIdEvent, __webpack_exports__getFromDatabaseWithType as getFromDatabaseWithType, __webpack_exports__getObjectsFromIndexDb as getObjectsFromIndexDb, __webpack_exports__handleServiceWorkerException as handleServiceWorkerException, __webpack_exports__hasActivatedSW as hasActivatedSW, __webpack_exports__init as init, __webpack_exports__recursiveFetch as recursiveFetch, __webpack_exports__recursiveFetchNew as recursiveFetchNew, __webpack_exports__searchLinkMultipleListener as searchLinkMultipleListener, __webpack_exports__sendMessage as sendMessage, __webpack_exports__serviceWorker as serviceWorker, __webpack_exports__setHasActivatedSW as setHasActivatedSW, __webpack_exports__storeToDatabase as storeToDatabase, __webpack_exports__subscribedListeners as subscribedListeners, __webpack_exports__updateAccessToken as updateAccessToken };
|
|
23397
23489
|
/******/
|
|
23398
23490
|
|
|
23399
23491
|
//# sourceMappingURL=main.bundle.js.map
|