mftsccs-browser 1.1.57-beta → 1.1.59-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 +425 -65
- package/dist/main.bundle.js.map +1 -1
- package/dist/serviceWorker.bundle.js +423 -64
- package/dist/serviceWorker.bundle.js.map +1 -1
- package/dist/types/AccessTracker/accessTracker.d.ts +63 -0
- package/dist/types/DataStructures/BaseUrl.d.ts +3 -0
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +1 -0
- package/dist/types/Services/Common/RegexFunction.d.ts +1 -0
- package/dist/types/app.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.bundle.js
CHANGED
|
@@ -1,5 +1,292 @@
|
|
|
1
1
|
/******/ var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
+
/***/ "./src/AccessTracker/accessTracker.ts":
|
|
4
|
+
/*!********************************************!*\
|
|
5
|
+
!*** ./src/AccessTracker/accessTracker.ts ***!
|
|
6
|
+
\********************************************/
|
|
7
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8
|
+
|
|
9
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
/* harmony export */ AccessTracker: () => (/* binding */ AccessTracker)
|
|
12
|
+
/* harmony export */ });
|
|
13
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
14
|
+
/* harmony import */ var _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../DataStructures/Security/TokenStorage */ "./src/DataStructures/Security/TokenStorage.ts");
|
|
15
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
var _a;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class AccessTracker {
|
|
28
|
+
/**
|
|
29
|
+
* Increments the count for a specific conceptId.
|
|
30
|
+
*/
|
|
31
|
+
static incrementConcept(conceptId) {
|
|
32
|
+
this.conceptsData[conceptId] = (this.conceptsData[conceptId] || 0) + 1;
|
|
33
|
+
this.saveDataToLocalStorage();
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Increments the count for a specific connectionId.
|
|
37
|
+
*/
|
|
38
|
+
static incrementConnection(connectionId) {
|
|
39
|
+
this.connectionsData[connectionId] = (this.connectionsData[connectionId] || 0) + 1;
|
|
40
|
+
this.saveDataToLocalStorage();
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Retrieves the top N concepts by their counts.
|
|
44
|
+
*/
|
|
45
|
+
static getTopConcepts(n) {
|
|
46
|
+
return Object.entries(this.conceptsData)
|
|
47
|
+
.map(([key, value]) => [parseInt(key), value])
|
|
48
|
+
.sort((a, b) => b[1] - a[1])
|
|
49
|
+
.slice(0, n);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves the top N connections by their counts.
|
|
53
|
+
*/
|
|
54
|
+
static getTopConnections(n) {
|
|
55
|
+
return Object.entries(this.connectionsData)
|
|
56
|
+
.map(([key, value]) => [parseInt(key), value])
|
|
57
|
+
.sort((a, b) => b[1] - a[1])
|
|
58
|
+
.slice(0, n);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Saves the concept and connection data to localStorage.
|
|
62
|
+
*/
|
|
63
|
+
static saveDataToLocalStorage() {
|
|
64
|
+
const data = {
|
|
65
|
+
concepts: this.conceptsData,
|
|
66
|
+
connections: this.connectionsData
|
|
67
|
+
};
|
|
68
|
+
localStorage.setItem('trackerData', JSON.stringify(data));
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Loads the concept and connection data from localStorage.
|
|
72
|
+
*/
|
|
73
|
+
static loadDataFromLocalStorage() {
|
|
74
|
+
const savedData = localStorage.getItem('trackerData');
|
|
75
|
+
if (savedData) {
|
|
76
|
+
const data = JSON.parse(savedData);
|
|
77
|
+
this.conceptsData = data.concepts || {};
|
|
78
|
+
this.connectionsData = data.connections || {};
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Syncs the concept and connection data with the server.
|
|
83
|
+
*/
|
|
84
|
+
static syncToServer(accessToken) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
try {
|
|
87
|
+
// console.log(`Sync started at ${new Date().toISOString()} with token: ${accessToken}`);
|
|
88
|
+
// Ensure conceptsData and connectionsData are not undefined or null
|
|
89
|
+
const conceptsToSend = this.conceptsData && Object.keys(this.conceptsData).length > 0 ? this.conceptsData : {};
|
|
90
|
+
const connectionsToSend = this.connectionsData && Object.keys(this.connectionsData).length > 0 ? this.connectionsData : {};
|
|
91
|
+
// console.log("I am getting url : ", BaseUrl.PostPrefetchConceptConnections());
|
|
92
|
+
const response = yield fetch(_app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.PostPrefetchConceptConnections(), {
|
|
93
|
+
method: 'POST',
|
|
94
|
+
headers: {
|
|
95
|
+
'Content-Type': 'application/json',
|
|
96
|
+
Authorization: `Bearer ${accessToken}`,
|
|
97
|
+
},
|
|
98
|
+
body: JSON.stringify({
|
|
99
|
+
concepts: conceptsToSend,
|
|
100
|
+
connections: connectionsToSend
|
|
101
|
+
}),
|
|
102
|
+
});
|
|
103
|
+
if (!response.ok) {
|
|
104
|
+
throw new Error('Failed to sync data to the server.');
|
|
105
|
+
}
|
|
106
|
+
const serverData = yield response.json();
|
|
107
|
+
// this.conceptsData = serverData.concepts;
|
|
108
|
+
// this.connectionsData = serverData.connections;
|
|
109
|
+
this.saveDataToLocalStorage();
|
|
110
|
+
// console.log(`Sync successful at ${new Date().toISOString()}`);
|
|
111
|
+
this.setNextSyncTime();
|
|
112
|
+
}
|
|
113
|
+
catch (error) {
|
|
114
|
+
console.error('Sync error:', error);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Sets the next sync time based on the current time and sync interval.
|
|
120
|
+
*/
|
|
121
|
+
static setNextSyncTime() {
|
|
122
|
+
// Calculate next sync time (current time + TimeToSync interval)
|
|
123
|
+
this.nextSyncTime = Date.now() + this.TimeToSync;
|
|
124
|
+
// console.log(`Next sync scheduled at: ${new Date(this.nextSyncTime).toISOString()}`); // Log next sync time
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Starts auto-syncing to the server every specified time interval.
|
|
128
|
+
* This will automatically call `syncToServer` every 5 minutes
|
|
129
|
+
*/
|
|
130
|
+
static startAutoSync() {
|
|
131
|
+
const tokenString = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
132
|
+
if (tokenString) {
|
|
133
|
+
// console.log("[AUTO-SYNC] Auto-sync initialized.");
|
|
134
|
+
this.syncNow().catch(console.error);
|
|
135
|
+
}
|
|
136
|
+
setInterval(() => {
|
|
137
|
+
const currentTime = Date.now();
|
|
138
|
+
// console.log(`[CHECK] Current Time: ${new Date(currentTime).toISOString()}`);
|
|
139
|
+
if (currentTime >= this.nextSyncTime) {
|
|
140
|
+
// console.log(`[SYNC TRIGGER] Time to sync! Triggering sync at: ${new Date(currentTime).toISOString()}`);
|
|
141
|
+
this.syncNow().catch(console.error);
|
|
142
|
+
}
|
|
143
|
+
else {
|
|
144
|
+
// console.log(`[WAIT] Not time to sync yet. Next Sync Time: ${new Date(this.nextSyncTime).toISOString()}`);
|
|
145
|
+
}
|
|
146
|
+
}, 1000); // Check every second
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Sync immediately (called by setInterval when time to sync has arrived).
|
|
150
|
+
*/
|
|
151
|
+
static syncNow() {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
const tokenString = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
154
|
+
if (tokenString) {
|
|
155
|
+
// console.log(`[MANUAL SYNC] Sync manually triggered at: ${new Date().toISOString()}`);
|
|
156
|
+
yield this.syncToServer(tokenString);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
console.warn("[MANUAL SYNC] No valid access token found. Sync aborted.");
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Fetch suggested concepts from the server with proper error handling.
|
|
165
|
+
*/
|
|
166
|
+
static GetSuggestedConcepts(top) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
try {
|
|
169
|
+
const accessToken = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
170
|
+
// Construct the URL with the top parameter if it exists
|
|
171
|
+
const url = new URL(_app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.GetSuggestedConcepts());
|
|
172
|
+
if (top !== undefined) {
|
|
173
|
+
url.searchParams.append('top', top.toString());
|
|
174
|
+
}
|
|
175
|
+
const response = yield fetch(url.toString(), {
|
|
176
|
+
method: 'GET',
|
|
177
|
+
headers: {
|
|
178
|
+
'Content-Type': 'application/json',
|
|
179
|
+
Authorization: `Bearer ${accessToken}`,
|
|
180
|
+
},
|
|
181
|
+
});
|
|
182
|
+
if (!response.ok) {
|
|
183
|
+
const errorDetails = yield response.text();
|
|
184
|
+
throw new Error(`Failed to load concepts: ${response.status} ${response.statusText}. Details: ${errorDetails}`);
|
|
185
|
+
}
|
|
186
|
+
const concepts = (yield response.json()) || [];
|
|
187
|
+
yield this.addConceptToBinaryTree(concepts.data);
|
|
188
|
+
return concepts;
|
|
189
|
+
}
|
|
190
|
+
catch (error) {
|
|
191
|
+
if (error instanceof Error) {
|
|
192
|
+
console.error('Error fetching suggested concepts:', error.message);
|
|
193
|
+
throw new Error('Unable to fetch suggested concepts. Please try again later.');
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
console.error('An unexpected error occurred:', error);
|
|
197
|
+
throw new Error('An unexpected error occurred while fetching suggested concepts.');
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Fetch suggested connections from the server with proper error handling.
|
|
204
|
+
*/
|
|
205
|
+
static GetSuggestedConnections(top) {
|
|
206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
207
|
+
try {
|
|
208
|
+
const accessToken = _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_1__.TokenStorage.BearerAccessToken;
|
|
209
|
+
// Construct the URL with the top parameter if it exists
|
|
210
|
+
const url = new URL(_app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.GetSuggestedConnections());
|
|
211
|
+
if (top !== undefined) {
|
|
212
|
+
url.searchParams.append('top', top.toString());
|
|
213
|
+
}
|
|
214
|
+
const response = yield fetch(url.toString(), {
|
|
215
|
+
method: 'GET',
|
|
216
|
+
headers: {
|
|
217
|
+
'Content-Type': 'application/json',
|
|
218
|
+
Authorization: `Bearer ${accessToken}`,
|
|
219
|
+
},
|
|
220
|
+
});
|
|
221
|
+
if (!response.ok) {
|
|
222
|
+
const errorDetails = yield response.text();
|
|
223
|
+
throw new Error(`Failed to load connections: ${response.status} ${response.statusText}. Details: ${errorDetails}`);
|
|
224
|
+
}
|
|
225
|
+
const connections = (yield response.json()) || [];
|
|
226
|
+
yield this.addConnectionToBinaryTree(connections.data);
|
|
227
|
+
return connections;
|
|
228
|
+
}
|
|
229
|
+
catch (error) {
|
|
230
|
+
if (error instanceof Error) {
|
|
231
|
+
console.error('Error fetching suggested Connections:', error.message);
|
|
232
|
+
throw new Error('Unable to fetch suggested connections. Please try again later.');
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
console.error('An unexpected error occurred:', error);
|
|
236
|
+
throw new Error('An unexpected error occurred while fetching suggested Connections.');
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Add Concepts to Binary Tree
|
|
243
|
+
*/
|
|
244
|
+
static addConceptToBinaryTree(conceptsDataArray) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
// console.log("Concepts Data Array : ", conceptsDataArray);
|
|
247
|
+
try {
|
|
248
|
+
// console.log("Start Adding Concepts to Binary Tree...");
|
|
249
|
+
conceptsDataArray.forEach(conceptObject => {
|
|
250
|
+
// console.log("Concept Object : ", conceptObject);
|
|
251
|
+
_app__WEBPACK_IMPORTED_MODULE_0__.ConceptsData.AddConcept(conceptObject);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
catch (error) {
|
|
255
|
+
console.error("Error on adding Concepts Data into tree");
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Add Concepts to Binary Tree
|
|
261
|
+
*/
|
|
262
|
+
static addConnectionToBinaryTree(connectionsDataArray) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
+
try {
|
|
265
|
+
// console.log("Start Adding Connections to Binary Tree...");
|
|
266
|
+
connectionsDataArray.forEach(connectionObject => {
|
|
267
|
+
// console.log("Connection Object : ", connectionObject);
|
|
268
|
+
_app__WEBPACK_IMPORTED_MODULE_0__.ConnectionData.AddConnection(connectionObject);
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
catch (error) {
|
|
272
|
+
console.error("Error on adding Connections Data into tree");
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
_a = AccessTracker;
|
|
278
|
+
AccessTracker.conceptsData = {};
|
|
279
|
+
AccessTracker.connectionsData = {};
|
|
280
|
+
AccessTracker.TimeToSync = 300000;
|
|
281
|
+
AccessTracker.nextSyncTime = Date.now();
|
|
282
|
+
(() => {
|
|
283
|
+
// console.log(`[INIT] Next Sync Time set to: ${new Date(this.nextSyncTime).toISOString()}`);
|
|
284
|
+
_a.startAutoSync();
|
|
285
|
+
})();
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
/***/ }),
|
|
289
|
+
|
|
3
290
|
/***/ "./src/Anomaly/anomaly.ts":
|
|
4
291
|
/*!********************************!*\
|
|
5
292
|
!*** ./src/Anomaly/anomaly.ts ***!
|
|
@@ -3747,6 +4034,15 @@ class BaseUrl {
|
|
|
3747
4034
|
return this.BASE_URL + '/api/get-preloaded-concepts';
|
|
3748
4035
|
// return this.AI_URL + '/api/get_ranked_type_id?inpage=300' || process.env.AI_URL || 'https://ai.freeschema.com/api/get_ranked_type_id?inpage=300';
|
|
3749
4036
|
}
|
|
4037
|
+
static PostPrefetchConceptConnections() {
|
|
4038
|
+
return this.NODE_URL + '/api/v1/access-tracker/sync-access-tracker';
|
|
4039
|
+
}
|
|
4040
|
+
static GetSuggestedConcepts() {
|
|
4041
|
+
return this.NODE_URL + '/api/v1/access-tracker/list-concepts-file';
|
|
4042
|
+
}
|
|
4043
|
+
static GetSuggestedConnections() {
|
|
4044
|
+
return this.NODE_URL + '/api/v1/access-tracker/list-connections-file';
|
|
4045
|
+
}
|
|
3750
4046
|
static GetAllPrefetchConnectionsUrl() {
|
|
3751
4047
|
return this.BASE_URL + '/api/get_all_connections_of_user?inpage=500';
|
|
3752
4048
|
}
|
|
@@ -6061,12 +6357,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6061
6357
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6062
6358
|
/* harmony export */ ConnectionData: () => (/* binding */ ConnectionData)
|
|
6063
6359
|
/* harmony export */ });
|
|
6064
|
-
/* harmony import */ var
|
|
6065
|
-
/* harmony import */ var
|
|
6066
|
-
/* harmony import */ var
|
|
6067
|
-
/* harmony import */ var
|
|
6068
|
-
/* harmony import */ var
|
|
6069
|
-
/* harmony import */ var
|
|
6360
|
+
/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AccessTracker/accessTracker */ "./src/AccessTracker/accessTracker.ts");
|
|
6361
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
6362
|
+
/* harmony import */ var _Database_indexeddb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Database/indexeddb */ "./src/Database/indexeddb.ts");
|
|
6363
|
+
/* harmony import */ var _Connection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Connection */ "./src/DataStructures/Connection.ts");
|
|
6364
|
+
/* harmony import */ var _ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConnectionBinaryTree/ConnectionBinaryTree */ "./src/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.ts");
|
|
6365
|
+
/* harmony import */ var _ConnectionBinaryTree_ConnectionOfTheTree__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ConnectionBinaryTree/ConnectionOfTheTree */ "./src/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.ts");
|
|
6366
|
+
/* harmony import */ var _ConnectionBinaryTree_ConnectionTypeTree__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ConnectionBinaryTree/ConnectionTypeTree */ "./src/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.ts");
|
|
6070
6367
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
6071
6368
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6072
6369
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -6082,6 +6379,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
6082
6379
|
|
|
6083
6380
|
|
|
6084
6381
|
|
|
6382
|
+
|
|
6085
6383
|
class ConnectionData {
|
|
6086
6384
|
constructor() {
|
|
6087
6385
|
this.name = "Connection Array";
|
|
@@ -6096,7 +6394,7 @@ class ConnectionData {
|
|
|
6096
6394
|
return contains;
|
|
6097
6395
|
}
|
|
6098
6396
|
static AddConnectionToStorage(connection) {
|
|
6099
|
-
(0,
|
|
6397
|
+
(0,_Database_indexeddb__WEBPACK_IMPORTED_MODULE_2__.UpdateToDatabase)("connection", connection);
|
|
6100
6398
|
}
|
|
6101
6399
|
static AddConnection(connection) {
|
|
6102
6400
|
// var contains = this.CheckContains(connection);
|
|
@@ -6110,9 +6408,9 @@ class ConnectionData {
|
|
|
6110
6408
|
// if(!connection.isTemp){
|
|
6111
6409
|
//UpdateToDatabase("connection", connection);
|
|
6112
6410
|
try {
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6411
|
+
_ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.addConnectionToTree(connection);
|
|
6412
|
+
_ConnectionBinaryTree_ConnectionTypeTree__WEBPACK_IMPORTED_MODULE_6__.ConnectionTypeTree.addConnectionToTree(connection);
|
|
6413
|
+
_ConnectionBinaryTree_ConnectionOfTheTree__WEBPACK_IMPORTED_MODULE_5__.ConnectionOfTheTree.addConnection(connection);
|
|
6116
6414
|
}
|
|
6117
6415
|
catch (error) {
|
|
6118
6416
|
console.log("this is the error in making the connection");
|
|
@@ -6121,9 +6419,9 @@ class ConnectionData {
|
|
|
6121
6419
|
}
|
|
6122
6420
|
static AddConnectionToMemory(connection) {
|
|
6123
6421
|
if (!connection.isTemp) {
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6422
|
+
_ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.addConnectionToTree(connection);
|
|
6423
|
+
_ConnectionBinaryTree_ConnectionTypeTree__WEBPACK_IMPORTED_MODULE_6__.ConnectionTypeTree.addConnectionToTree(connection);
|
|
6424
|
+
_ConnectionBinaryTree_ConnectionOfTheTree__WEBPACK_IMPORTED_MODULE_5__.ConnectionOfTheTree.addConnection(connection);
|
|
6127
6425
|
}
|
|
6128
6426
|
}
|
|
6129
6427
|
static AddToDictionary(connection) {
|
|
@@ -6136,23 +6434,23 @@ class ConnectionData {
|
|
|
6136
6434
|
// }
|
|
6137
6435
|
// }
|
|
6138
6436
|
if (connection.id != 0) {
|
|
6139
|
-
(0,
|
|
6140
|
-
|
|
6437
|
+
(0,_Database_indexeddb__WEBPACK_IMPORTED_MODULE_2__.removeFromDatabase)("connection", connection.id);
|
|
6438
|
+
_ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.removeNodeFromTree(connection.id);
|
|
6141
6439
|
// ConnectionTypeTree.removeTypeConcept(connection.typeId, connection.id);
|
|
6142
|
-
|
|
6440
|
+
_ConnectionBinaryTree_ConnectionOfTheTree__WEBPACK_IMPORTED_MODULE_5__.ConnectionOfTheTree.removeNodeFromTree(connection.id);
|
|
6143
6441
|
}
|
|
6144
6442
|
}
|
|
6145
6443
|
static GetConnectionTypeOfTree() {
|
|
6146
|
-
|
|
6444
|
+
_ConnectionBinaryTree_ConnectionOfTheTree__WEBPACK_IMPORTED_MODULE_5__.ConnectionOfTheTree.node;
|
|
6147
6445
|
}
|
|
6148
6446
|
static GetConnectionByOfTheConceptAndType(ofTheConceptId, typeId) {
|
|
6149
6447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6150
|
-
if (
|
|
6151
|
-
const res = yield (0,
|
|
6448
|
+
if (_app__WEBPACK_IMPORTED_MODULE_1__.serviceWorker) {
|
|
6449
|
+
const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.sendMessage)("ConnectionData__GetConnectionByOfTheConceptAndType", { ofTheConceptId, typeId });
|
|
6152
6450
|
// console.log("data received from sw", res);
|
|
6153
6451
|
return res.data;
|
|
6154
6452
|
}
|
|
6155
|
-
let connections =
|
|
6453
|
+
let connections = _ConnectionBinaryTree_ConnectionOfTheTree__WEBPACK_IMPORTED_MODULE_5__.ConnectionOfTheTree.GetConnectionByOfTheConceptAndTypeId(ofTheConceptId, typeId);
|
|
6156
6454
|
if (connections) {
|
|
6157
6455
|
return connections;
|
|
6158
6456
|
}
|
|
@@ -6160,27 +6458,29 @@ class ConnectionData {
|
|
|
6160
6458
|
});
|
|
6161
6459
|
}
|
|
6162
6460
|
static GetConnectionByOfType(ofTheConceptId, typeId) {
|
|
6163
|
-
let connections =
|
|
6461
|
+
let connections = _ConnectionBinaryTree_ConnectionTypeTree__WEBPACK_IMPORTED_MODULE_6__.ConnectionTypeTree.GetConnectionByOfTheConceptAndTypeId(ofTheConceptId, typeId);
|
|
6164
6462
|
if (connections) {
|
|
6165
6463
|
return connections;
|
|
6166
6464
|
}
|
|
6167
6465
|
return [];
|
|
6168
6466
|
}
|
|
6169
6467
|
static GetConnectionTree() {
|
|
6170
|
-
return
|
|
6468
|
+
return _ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.connectionroot;
|
|
6171
6469
|
}
|
|
6172
6470
|
static GetConnectionTypeTree() {
|
|
6173
|
-
return
|
|
6471
|
+
return _ConnectionBinaryTree_ConnectionTypeTree__WEBPACK_IMPORTED_MODULE_6__.ConnectionTypeTree.connectionTypeRoot;
|
|
6174
6472
|
}
|
|
6175
6473
|
static GetConnectionBulkData(ids, connectionArray, remainingIds) {
|
|
6176
6474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6177
|
-
yield
|
|
6475
|
+
yield _ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.getConnectionListFromIds(ids, connectionArray, remainingIds);
|
|
6178
6476
|
});
|
|
6179
6477
|
}
|
|
6180
6478
|
static GetConnection(id) {
|
|
6181
6479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6182
|
-
|
|
6183
|
-
|
|
6480
|
+
// Increment Connection
|
|
6481
|
+
_AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.incrementConnection(id);
|
|
6482
|
+
if (_app__WEBPACK_IMPORTED_MODULE_1__.serviceWorker) {
|
|
6483
|
+
const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.sendMessage)('ConnectionData__GetConnection', { id });
|
|
6184
6484
|
// console.log('data received from sw', res)
|
|
6185
6485
|
return res.data;
|
|
6186
6486
|
}
|
|
@@ -6192,8 +6492,8 @@ class ConnectionData {
|
|
|
6192
6492
|
// }
|
|
6193
6493
|
// }
|
|
6194
6494
|
// return myConcept;
|
|
6195
|
-
let myConnection = new
|
|
6196
|
-
let node = yield
|
|
6495
|
+
let myConnection = new _Connection__WEBPACK_IMPORTED_MODULE_3__.Connection(0, 0, 0, 0, 0, 0, 0);
|
|
6496
|
+
let node = yield _ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.getNodeFromTree(id);
|
|
6197
6497
|
if (node === null || node === void 0 ? void 0 : node.value) {
|
|
6198
6498
|
let returnedConcept = node.value;
|
|
6199
6499
|
if (returnedConcept) {
|
|
@@ -6216,8 +6516,8 @@ class ConnectionData {
|
|
|
6216
6516
|
// commented
|
|
6217
6517
|
static GetConnectionsOfCompositionLocal(id) {
|
|
6218
6518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6219
|
-
if (
|
|
6220
|
-
const res = yield (0,
|
|
6519
|
+
if (_app__WEBPACK_IMPORTED_MODULE_1__.serviceWorker) {
|
|
6520
|
+
const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.sendMessage)("ConnectionData__GetConnectionsOfCompositionLocal", { id });
|
|
6221
6521
|
// console.log("data received from sw", res);
|
|
6222
6522
|
return res.data;
|
|
6223
6523
|
}
|
|
@@ -6226,7 +6526,7 @@ class ConnectionData {
|
|
|
6226
6526
|
let connectionIds = [];
|
|
6227
6527
|
connectionIds = ConnectionData.GetConnectionByOfType(id, id);
|
|
6228
6528
|
for (let i = 0; i < connectionIds.length; i++) {
|
|
6229
|
-
let conn = yield
|
|
6529
|
+
let conn = yield _ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.getNodeFromTree(connectionIds[i]);
|
|
6230
6530
|
if (conn) {
|
|
6231
6531
|
connections.push(conn.value);
|
|
6232
6532
|
}
|
|
@@ -6252,8 +6552,8 @@ class ConnectionData {
|
|
|
6252
6552
|
}
|
|
6253
6553
|
static GetConnectionsOfConcept(id) {
|
|
6254
6554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6255
|
-
if (
|
|
6256
|
-
const res = yield (0,
|
|
6555
|
+
if (_app__WEBPACK_IMPORTED_MODULE_1__.serviceWorker) {
|
|
6556
|
+
const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.sendMessage)("ConnectionData__GetConnectionsOfConcept", { id });
|
|
6257
6557
|
// console.log("data received from sw", res);
|
|
6258
6558
|
return res.data;
|
|
6259
6559
|
}
|
|
@@ -6261,7 +6561,7 @@ class ConnectionData {
|
|
|
6261
6561
|
let connections = [];
|
|
6262
6562
|
connectionIds = yield ConnectionData.GetConnectionByOfTheConceptAndType(id, id);
|
|
6263
6563
|
for (let i = 0; i < connectionIds.length; i++) {
|
|
6264
|
-
let conn = yield
|
|
6564
|
+
let conn = yield _ConnectionBinaryTree_ConnectionBinaryTree__WEBPACK_IMPORTED_MODULE_4__.ConnectionBinaryTree.getNodeFromTree(connectionIds[i]);
|
|
6265
6565
|
if (conn) {
|
|
6266
6566
|
connections.push(conn.value);
|
|
6267
6567
|
}
|
|
@@ -9072,6 +9372,7 @@ class FreeschemaQuery {
|
|
|
9072
9372
|
this.name = "";
|
|
9073
9373
|
this.reverse = false;
|
|
9074
9374
|
this.includeInFilter = false;
|
|
9375
|
+
this.isOldConnectionType = false;
|
|
9075
9376
|
}
|
|
9076
9377
|
}
|
|
9077
9378
|
|
|
@@ -10848,6 +11149,26 @@ function HandleInternalError(error, url = "") {
|
|
|
10848
11149
|
}
|
|
10849
11150
|
|
|
10850
11151
|
|
|
11152
|
+
/***/ }),
|
|
11153
|
+
|
|
11154
|
+
/***/ "./src/Services/Common/RegexFunction.ts":
|
|
11155
|
+
/*!**********************************************!*\
|
|
11156
|
+
!*** ./src/Services/Common/RegexFunction.ts ***!
|
|
11157
|
+
\**********************************************/
|
|
11158
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
11159
|
+
|
|
11160
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11161
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11162
|
+
/* harmony export */ removeThePrefix: () => (/* binding */ removeThePrefix)
|
|
11163
|
+
/* harmony export */ });
|
|
11164
|
+
function removeThePrefix(inputString) {
|
|
11165
|
+
if (inputString.startsWith("the_")) {
|
|
11166
|
+
return inputString.slice(4); // Removes the first 4 characters
|
|
11167
|
+
}
|
|
11168
|
+
return inputString; // Return as-is if it doesn't start with "the_"
|
|
11169
|
+
}
|
|
11170
|
+
|
|
11171
|
+
|
|
10851
11172
|
/***/ }),
|
|
10852
11173
|
|
|
10853
11174
|
/***/ "./src/Services/Composition/BuildComposition.ts":
|
|
@@ -13888,9 +14209,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13888
14209
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13889
14210
|
/* harmony export */ GetConnectionById: () => (/* binding */ GetConnectionById)
|
|
13890
14211
|
/* harmony export */ });
|
|
13891
|
-
/* harmony import */ var
|
|
13892
|
-
/* harmony import */ var
|
|
13893
|
-
/* harmony import */ var
|
|
14212
|
+
/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AccessTracker/accessTracker */ "./src/AccessTracker/accessTracker.ts");
|
|
14213
|
+
/* harmony import */ var _Api_GetConnection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Api/GetConnection */ "./src/Api/GetConnection.ts");
|
|
14214
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
14215
|
+
/* harmony import */ var _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../DataStructures/ConnectionData */ "./src/DataStructures/ConnectionData.ts");
|
|
13894
14216
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13895
14217
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
13896
14218
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -13903,16 +14225,24 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
13903
14225
|
|
|
13904
14226
|
|
|
13905
14227
|
|
|
14228
|
+
|
|
13906
14229
|
function GetConnectionById(id) {
|
|
13907
14230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13908
|
-
|
|
13909
|
-
|
|
14231
|
+
// Add connection id in access tracker
|
|
14232
|
+
try {
|
|
14233
|
+
_AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.incrementConnection(id);
|
|
14234
|
+
}
|
|
14235
|
+
catch (_a) {
|
|
14236
|
+
console.error("Error adding connections in access tracker");
|
|
14237
|
+
}
|
|
14238
|
+
if (_app__WEBPACK_IMPORTED_MODULE_2__.serviceWorker) {
|
|
14239
|
+
const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.sendMessage)('GetConnectionById', { id });
|
|
13910
14240
|
// console.log('data received from sw', res)
|
|
13911
14241
|
return res.data;
|
|
13912
14242
|
}
|
|
13913
|
-
let connection = yield
|
|
14243
|
+
let connection = yield _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_3__.ConnectionData.GetConnection(id);
|
|
13914
14244
|
if ((connection == null || connection.id == 0) && id != null && id != undefined) {
|
|
13915
|
-
let connectionString = yield (0,
|
|
14245
|
+
let connectionString = yield (0,_Api_GetConnection__WEBPACK_IMPORTED_MODULE_1__.GetConnection)(id);
|
|
13916
14246
|
connection = connectionString;
|
|
13917
14247
|
}
|
|
13918
14248
|
return connection;
|
|
@@ -14243,10 +14573,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14243
14573
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14244
14574
|
/* harmony export */ "default": () => (/* binding */ GetTheConcept)
|
|
14245
14575
|
/* harmony export */ });
|
|
14246
|
-
/* harmony import */ var
|
|
14247
|
-
/* harmony import */ var
|
|
14248
|
-
/* harmony import */ var
|
|
14249
|
-
/* harmony import */ var
|
|
14576
|
+
/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../AccessTracker/accessTracker */ "./src/AccessTracker/accessTracker.ts");
|
|
14577
|
+
/* harmony import */ var _Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Api/GetConcept */ "./src/Api/GetConcept.ts");
|
|
14578
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
14579
|
+
/* harmony import */ var _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../DataStructures/ConceptData */ "./src/DataStructures/ConceptData.ts");
|
|
14580
|
+
/* harmony import */ var _CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CreateDefaultConcept */ "./src/Services/CreateDefaultConcept.ts");
|
|
14250
14581
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14251
14582
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14252
14583
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -14260,6 +14591,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
14260
14591
|
|
|
14261
14592
|
|
|
14262
14593
|
|
|
14594
|
+
|
|
14263
14595
|
/**
|
|
14264
14596
|
*
|
|
14265
14597
|
* @param id this is the id that can be used to get the concept.
|
|
@@ -14269,27 +14601,29 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
14269
14601
|
function GetTheConcept(id_1) {
|
|
14270
14602
|
return __awaiter(this, arguments, void 0, function* (id, userId = 999) {
|
|
14271
14603
|
try {
|
|
14272
|
-
|
|
14273
|
-
|
|
14604
|
+
// Increment count of the concept
|
|
14605
|
+
_AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_0__.AccessTracker.incrementConcept(id);
|
|
14606
|
+
if (_app__WEBPACK_IMPORTED_MODULE_2__.serviceWorker) {
|
|
14607
|
+
const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.sendMessage)('GetTheConcept', { id, userId });
|
|
14274
14608
|
// console.log('data received from sw', res)
|
|
14275
14609
|
return res.data;
|
|
14276
14610
|
}
|
|
14277
|
-
let concept = (0,
|
|
14611
|
+
let concept = (0,_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();
|
|
14278
14612
|
if (id < 0) {
|
|
14279
|
-
let lconcept = yield (0,
|
|
14280
|
-
concept = (0,
|
|
14613
|
+
let lconcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.GetUserGhostId)(userId, id);
|
|
14614
|
+
concept = (0,_app__WEBPACK_IMPORTED_MODULE_2__.convertFromLConceptToConcept)(lconcept);
|
|
14281
14615
|
return concept;
|
|
14282
14616
|
}
|
|
14283
|
-
concept = yield
|
|
14617
|
+
concept = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__.ConceptsData.GetConcept(id);
|
|
14284
14618
|
if ((concept == null || concept.id == 0) && id != null && id != undefined) {
|
|
14285
|
-
let conceptString = yield (0,
|
|
14619
|
+
let conceptString = yield (0,_Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__.GetConcept)(id);
|
|
14286
14620
|
concept = conceptString;
|
|
14287
14621
|
}
|
|
14288
14622
|
if (concept.id != 0) {
|
|
14289
14623
|
if (concept.type == null) {
|
|
14290
|
-
let conceptType = yield
|
|
14624
|
+
let conceptType = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_3__.ConceptsData.GetConcept(concept.typeId);
|
|
14291
14625
|
if (conceptType == null && concept.typeId != null && concept.typeId != undefined) {
|
|
14292
|
-
let typeConceptString = yield (0,
|
|
14626
|
+
let typeConceptString = yield (0,_Api_GetConcept__WEBPACK_IMPORTED_MODULE_1__.GetConcept)(concept.typeId);
|
|
14293
14627
|
let typeConcept = typeConceptString;
|
|
14294
14628
|
concept.type = typeConcept;
|
|
14295
14629
|
}
|
|
@@ -16293,6 +16627,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16293
16627
|
/* harmony export */ formatFunctionForData: () => (/* binding */ formatFunctionForData)
|
|
16294
16628
|
/* harmony export */ });
|
|
16295
16629
|
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app */ "./src/app.ts");
|
|
16630
|
+
/* harmony import */ var _Common_RegexFunction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Common/RegexFunction */ "./src/Services/Common/RegexFunction.ts");
|
|
16296
16631
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16297
16632
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16298
16633
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -16303,6 +16638,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
16303
16638
|
});
|
|
16304
16639
|
};
|
|
16305
16640
|
|
|
16641
|
+
|
|
16306
16642
|
/**
|
|
16307
16643
|
* ######### Format is normal ######### used for listing. This only provides type connections.
|
|
16308
16644
|
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
@@ -16699,13 +17035,17 @@ function formatFunctionForData(connections, compositionData, reverse) {
|
|
|
16699
17035
|
try {
|
|
16700
17036
|
let mytype = (_d = (_c = ofTheConcept === null || ofTheConcept === void 0 ? void 0 : ofTheConcept.type) === null || _c === void 0 ? void 0 : _c.characterValue) !== null && _d !== void 0 ? _d : "none";
|
|
16701
17037
|
let value = ofTheConcept.characterValue;
|
|
17038
|
+
let dataCharacter = linkerConcept.characterValue;
|
|
17039
|
+
if (dataCharacter == "") {
|
|
17040
|
+
dataCharacter = mytype;
|
|
17041
|
+
dataCharacter = (0,_Common_RegexFunction__WEBPACK_IMPORTED_MODULE_1__.removeThePrefix)(dataCharacter);
|
|
17042
|
+
}
|
|
16702
17043
|
let data = {
|
|
16703
17044
|
[mytype]: value
|
|
16704
17045
|
};
|
|
16705
|
-
let reverseCharater =
|
|
17046
|
+
let reverseCharater = dataCharacter + "_reverse";
|
|
16706
17047
|
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16707
|
-
//
|
|
16708
|
-
// newData[key][reverseCharater].push(data);
|
|
17048
|
+
// do nothing
|
|
16709
17049
|
}
|
|
16710
17050
|
else {
|
|
16711
17051
|
if (typeof newData[key] == "string") {
|
|
@@ -16738,18 +17078,22 @@ function formatFunctionForData(connections, compositionData, reverse) {
|
|
|
16738
17078
|
try {
|
|
16739
17079
|
let mytype = (_h = (_g = toTheConcept === null || toTheConcept === void 0 ? void 0 : toTheConcept.type) === null || _g === void 0 ? void 0 : _g.characterValue) !== null && _h !== void 0 ? _h : "none";
|
|
16740
17080
|
let value = toTheConcept.characterValue;
|
|
17081
|
+
let dataCharacter = linkerConcept.characterValue;
|
|
17082
|
+
if (dataCharacter == "") {
|
|
17083
|
+
dataCharacter = mytype;
|
|
17084
|
+
dataCharacter = (0,_Common_RegexFunction__WEBPACK_IMPORTED_MODULE_1__.removeThePrefix)(dataCharacter);
|
|
17085
|
+
}
|
|
16741
17086
|
let data = {
|
|
16742
17087
|
[mytype]: value
|
|
16743
17088
|
};
|
|
16744
17089
|
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16745
|
-
//
|
|
16746
|
-
// newData[key][linkerConcept.characterValue].push(data);
|
|
17090
|
+
// do nothing
|
|
16747
17091
|
}
|
|
16748
17092
|
else {
|
|
16749
17093
|
if (typeof newData[key] == "string") {
|
|
16750
17094
|
newData[key] = {};
|
|
16751
17095
|
}
|
|
16752
|
-
newData[key][
|
|
17096
|
+
newData[key][dataCharacter] = data;
|
|
16753
17097
|
}
|
|
16754
17098
|
}
|
|
16755
17099
|
catch (ex) {
|
|
@@ -16897,13 +17241,19 @@ function FormatFunctionDataForData(connections_1, compositionData_1) {
|
|
|
16897
17241
|
try {
|
|
16898
17242
|
let mytype = (_d = (_c = ofTheConcept === null || ofTheConcept === void 0 ? void 0 : ofTheConcept.type) === null || _c === void 0 ? void 0 : _c.characterValue) !== null && _d !== void 0 ? _d : "none";
|
|
16899
17243
|
let value = ofTheConcept.characterValue;
|
|
17244
|
+
let dataCharacter = linkerConcept.characterValue;
|
|
17245
|
+
// if there is not connection type defined then put the type of the destination concept.
|
|
17246
|
+
if (dataCharacter == "") {
|
|
17247
|
+
dataCharacter = mytype;
|
|
17248
|
+
dataCharacter = (0,_Common_RegexFunction__WEBPACK_IMPORTED_MODULE_1__.removeThePrefix)(dataCharacter);
|
|
17249
|
+
}
|
|
16900
17250
|
let data = {
|
|
16901
17251
|
"id": ofTheConcept.id,
|
|
16902
17252
|
"data": {
|
|
16903
17253
|
[mytype]: value
|
|
16904
17254
|
}
|
|
16905
17255
|
};
|
|
16906
|
-
let reverseCharater =
|
|
17256
|
+
let reverseCharater = dataCharacter + "_reverse";
|
|
16907
17257
|
if (reverseCharater.includes("_s_")) {
|
|
16908
17258
|
// do nothing
|
|
16909
17259
|
}
|
|
@@ -16938,20 +17288,26 @@ function FormatFunctionDataForData(connections_1, compositionData_1) {
|
|
|
16938
17288
|
try {
|
|
16939
17289
|
let mytype = (_h = (_g = toTheConcept === null || toTheConcept === void 0 ? void 0 : toTheConcept.type) === null || _g === void 0 ? void 0 : _g.characterValue) !== null && _h !== void 0 ? _h : "none";
|
|
16940
17290
|
let value = toTheConcept.characterValue;
|
|
17291
|
+
let dataCharacter = linkerConcept.characterValue;
|
|
17292
|
+
// if there is not connection type defined then put the type of the destination concept.
|
|
17293
|
+
if (dataCharacter == "") {
|
|
17294
|
+
dataCharacter = mytype;
|
|
17295
|
+
dataCharacter = (0,_Common_RegexFunction__WEBPACK_IMPORTED_MODULE_1__.removeThePrefix)(dataCharacter);
|
|
17296
|
+
}
|
|
16941
17297
|
let data = {
|
|
16942
17298
|
"id": toTheConcept.id,
|
|
16943
17299
|
"data": {
|
|
16944
17300
|
[mytype]: value
|
|
16945
17301
|
}
|
|
16946
17302
|
};
|
|
16947
|
-
if (
|
|
17303
|
+
if (dataCharacter.includes("_s_")) {
|
|
16948
17304
|
// do nothing
|
|
16949
17305
|
}
|
|
16950
17306
|
else {
|
|
16951
17307
|
if (typeof newData[key] == "string") {
|
|
16952
17308
|
newData[key] = {};
|
|
16953
17309
|
}
|
|
16954
|
-
newData[key][
|
|
17310
|
+
newData[key][dataCharacter] = data;
|
|
16955
17311
|
}
|
|
16956
17312
|
}
|
|
16957
17313
|
catch (ex) {
|
|
@@ -20170,6 +20526,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20170
20526
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20171
20527
|
/* harmony export */ ADMIN: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_66__.ADMIN),
|
|
20172
20528
|
/* harmony export */ ALLID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_65__.ALLID),
|
|
20529
|
+
/* harmony export */ AccessTracker: () => (/* reexport safe */ _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_113__.AccessTracker),
|
|
20173
20530
|
/* harmony export */ AddGhostConcept: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_50__.AddGhostConcept),
|
|
20174
20531
|
/* harmony export */ Anomaly: () => (/* reexport safe */ _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_104__.Anomaly),
|
|
20175
20532
|
/* harmony export */ BaseUrl: () => (/* reexport safe */ _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl),
|
|
@@ -20441,6 +20798,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20441
20798
|
/* harmony import */ var _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./Api/Search/FreeschemaQueryApi */ "./src/Api/Search/FreeschemaQueryApi.ts");
|
|
20442
20799
|
/* harmony import */ var _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./WrapperFunctions/SchemaQueryObservable */ "./src/WrapperFunctions/SchemaQueryObservable.ts");
|
|
20443
20800
|
/* harmony import */ var _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./Widgets/WidgetTree */ "./src/Widgets/WidgetTree.ts");
|
|
20801
|
+
/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./AccessTracker/accessTracker */ "./src/AccessTracker/accessTracker.ts");
|
|
20444
20802
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
20445
20803
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
20446
20804
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -20570,6 +20928,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
20570
20928
|
|
|
20571
20929
|
|
|
20572
20930
|
|
|
20931
|
+
|
|
20573
20932
|
|
|
20574
20933
|
|
|
20575
20934
|
var serviceWorker;
|
|
@@ -20885,7 +21244,7 @@ function sendMessage(type, payload) {
|
|
|
20885
21244
|
}
|
|
20886
21245
|
// Timeout for waiting for the response (e.g., 5 seconds)
|
|
20887
21246
|
setTimeout(() => {
|
|
20888
|
-
reject(
|
|
21247
|
+
reject(`No response from service worker after timeout: ${type}`);
|
|
20889
21248
|
navigator.serviceWorker.removeEventListener("message", responseHandler);
|
|
20890
21249
|
}, 90000); // 90 sec
|
|
20891
21250
|
}
|
|
@@ -21155,6 +21514,7 @@ function processMessageQueue() {
|
|
|
21155
21514
|
/******/ var __webpack_exports__ = __webpack_require__("./src/app.ts");
|
|
21156
21515
|
/******/ var __webpack_exports__ADMIN = __webpack_exports__.ADMIN;
|
|
21157
21516
|
/******/ var __webpack_exports__ALLID = __webpack_exports__.ALLID;
|
|
21517
|
+
/******/ var __webpack_exports__AccessTracker = __webpack_exports__.AccessTracker;
|
|
21158
21518
|
/******/ var __webpack_exports__AddGhostConcept = __webpack_exports__.AddGhostConcept;
|
|
21159
21519
|
/******/ var __webpack_exports__Anomaly = __webpack_exports__.Anomaly;
|
|
21160
21520
|
/******/ var __webpack_exports__BaseUrl = __webpack_exports__.BaseUrl;
|
|
@@ -21312,7 +21672,7 @@ function processMessageQueue() {
|
|
|
21312
21672
|
/******/ var __webpack_exports__storeToDatabase = __webpack_exports__.storeToDatabase;
|
|
21313
21673
|
/******/ var __webpack_exports__subscribedListeners = __webpack_exports__.subscribedListeners;
|
|
21314
21674
|
/******/ var __webpack_exports__updateAccessToken = __webpack_exports__.updateAccessToken;
|
|
21315
|
-
/******/ export { __webpack_exports__ADMIN as ADMIN, __webpack_exports__ALLID as ALLID, __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__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__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__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 };
|
|
21675
|
+
/******/ 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__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__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__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 };
|
|
21316
21676
|
/******/
|
|
21317
21677
|
|
|
21318
21678
|
//# sourceMappingURL=main.bundle.js.map
|