mftsccs-browser 1.1.24-beta → 1.1.25-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 +630 -77
- package/dist/main.bundle.js.map +1 -1
- package/dist/serviceWorker.bundle.js +628 -76
- package/dist/serviceWorker.bundle.js.map +1 -1
- package/dist/types/Api/Signup.d.ts +16 -0
- package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +1 -0
- package/dist/types/Services/Search/FormatData.d.ts +36 -2
- package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +20 -0
- package/dist/types/app.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.bundle.js
CHANGED
|
@@ -3133,6 +3133,7 @@ function Signin(signinInfo) {
|
|
|
3133
3133
|
|
|
3134
3134
|
__webpack_require__.r(__webpack_exports__);
|
|
3135
3135
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3136
|
+
/* harmony export */ SignupEntity: () => (/* binding */ SignupEntity),
|
|
3136
3137
|
/* harmony export */ "default": () => (/* binding */ Signup)
|
|
3137
3138
|
/* harmony export */ });
|
|
3138
3139
|
/* harmony import */ var _Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Services/Common/ErrorPosting */ "./src/Services/Common/ErrorPosting.ts");
|
|
@@ -3197,6 +3198,92 @@ function postData() {
|
|
|
3197
3198
|
}
|
|
3198
3199
|
});
|
|
3199
3200
|
}
|
|
3201
|
+
// export async function submitSignupForm(e: any) {
|
|
3202
|
+
// e.preventDefault();
|
|
3203
|
+
// // alert("Are you sure to want to signup?");
|
|
3204
|
+
// const inputType = <HTMLInputElement>document.getElementById("type");
|
|
3205
|
+
// const typeValue = inputType?.value;
|
|
3206
|
+
// const inputUsername = <HTMLInputElement>document.getElementById("username");
|
|
3207
|
+
// const usernameValue = inputUsername?.value;
|
|
3208
|
+
// const inputEmail = <HTMLInputElement>document.getElementById("email");
|
|
3209
|
+
// const emailValue = inputEmail?.value;
|
|
3210
|
+
// const inputGender = <HTMLInputElement>document.getElementById("gender");
|
|
3211
|
+
// const genderValue = inputGender?.value;
|
|
3212
|
+
// const inputFirstName = <HTMLInputElement>document.getElementById("firstName");
|
|
3213
|
+
// const firstNameValue = inputFirstName?.value;
|
|
3214
|
+
// const inputLastName = <HTMLInputElement>document.getElementById("lastName");
|
|
3215
|
+
// const lastNameValue = inputLastName?.value;
|
|
3216
|
+
// const inputPassword = <HTMLInputElement>document.getElementById("password");
|
|
3217
|
+
// const passwordValue = inputPassword?.value;
|
|
3218
|
+
// const inputConfirmPassword = <HTMLInputElement>(
|
|
3219
|
+
// document.getElementById("confirmPassword")
|
|
3220
|
+
// );
|
|
3221
|
+
// const confirmPasswordValue = inputConfirmPassword?.value;
|
|
3222
|
+
// // console.log(confirmPasswordValue,"confirmPasswordValue");
|
|
3223
|
+
// const inputprivacyPolicy = <HTMLInputElement>(
|
|
3224
|
+
// document.getElementById("privacyPolicy")
|
|
3225
|
+
// );
|
|
3226
|
+
// const privacyPolicy = inputprivacyPolicy?.checked;
|
|
3227
|
+
// const inputPrivacyPolicyError = <HTMLInputElement>(
|
|
3228
|
+
// document.getElementById("privacyPolicyError")
|
|
3229
|
+
// );
|
|
3230
|
+
// if (!privacyPolicy) {
|
|
3231
|
+
// inputPrivacyPolicyError.style.display = "block";
|
|
3232
|
+
// }
|
|
3233
|
+
// const signupData: any = {
|
|
3234
|
+
// type: typeValue,
|
|
3235
|
+
// username: usernameValue,
|
|
3236
|
+
// title: genderValue,
|
|
3237
|
+
// email: emailValue,
|
|
3238
|
+
// password: passwordValue,
|
|
3239
|
+
// timestamp: new Date().toISOString(),
|
|
3240
|
+
// fname: firstNameValue,
|
|
3241
|
+
// lname: lastNameValue,
|
|
3242
|
+
// };
|
|
3243
|
+
// if (privacyPolicy) {
|
|
3244
|
+
// const signupResponse = await signupEntity(signupData);
|
|
3245
|
+
// if (!signupResponse?.error && signupResponse?.data) {
|
|
3246
|
+
// updateContent("/login");
|
|
3247
|
+
// }
|
|
3248
|
+
// }
|
|
3249
|
+
// }
|
|
3250
|
+
/**
|
|
3251
|
+
*
|
|
3252
|
+
* @param signupData
|
|
3253
|
+
* const signupData: any = {
|
|
3254
|
+
* type: typeValue,
|
|
3255
|
+
* username: usernameValue,
|
|
3256
|
+
* title: genderValue,
|
|
3257
|
+
* email: emailValue,
|
|
3258
|
+
* password: passwordValue,
|
|
3259
|
+
* timestamp: new Date().toISOString(),
|
|
3260
|
+
* fname: firstNameValue,
|
|
3261
|
+
* lname: lastNameValue,
|
|
3262
|
+
* };
|
|
3263
|
+
* @returns
|
|
3264
|
+
*/
|
|
3265
|
+
function SignupEntity(signupData) {
|
|
3266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3267
|
+
const baseURL = _app__WEBPACK_IMPORTED_MODULE_1__.BaseUrl.NODE_URL;
|
|
3268
|
+
const response = yield fetch(`${baseURL}/api/v1/entity/signup`, {
|
|
3269
|
+
method: "POST",
|
|
3270
|
+
headers: {
|
|
3271
|
+
"Content-Type": "application/json",
|
|
3272
|
+
},
|
|
3273
|
+
body: JSON.stringify(signupData),
|
|
3274
|
+
});
|
|
3275
|
+
if (response.ok) {
|
|
3276
|
+
return response.json();
|
|
3277
|
+
}
|
|
3278
|
+
else {
|
|
3279
|
+
if (response.status === 404)
|
|
3280
|
+
throw new Error("404, Not found");
|
|
3281
|
+
if (response.status === 500)
|
|
3282
|
+
throw new Error("500, internal server error");
|
|
3283
|
+
throw new Error(response.status);
|
|
3284
|
+
}
|
|
3285
|
+
});
|
|
3286
|
+
}
|
|
3200
3287
|
|
|
3201
3288
|
|
|
3202
3289
|
/***/ }),
|
|
@@ -8730,6 +8817,7 @@ class FreeschemaQuery {
|
|
|
8730
8817
|
this.inpage = 10;
|
|
8731
8818
|
this.page = 1;
|
|
8732
8819
|
this.concepts = [];
|
|
8820
|
+
this.conceptIds = [];
|
|
8733
8821
|
this.selectors = [];
|
|
8734
8822
|
this.freeschemaQueries = [];
|
|
8735
8823
|
this.filters = [];
|
|
@@ -15746,7 +15834,11 @@ function publishMessage(topic, message) {
|
|
|
15746
15834
|
__webpack_require__.r(__webpack_exports__);
|
|
15747
15835
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15748
15836
|
/* harmony export */ FormatConceptsAndConnectionsNormalList: () => (/* binding */ FormatConceptsAndConnectionsNormalList),
|
|
15749
|
-
/* harmony export */ FormatFromConnectionsAlteredArrayExternal: () => (/* binding */ FormatFromConnectionsAlteredArrayExternal)
|
|
15837
|
+
/* harmony export */ FormatFromConnectionsAlteredArrayExternal: () => (/* binding */ FormatFromConnectionsAlteredArrayExternal),
|
|
15838
|
+
/* harmony export */ FormatFunctionData: () => (/* binding */ FormatFunctionData),
|
|
15839
|
+
/* harmony export */ FormatFunctionDataForData: () => (/* binding */ FormatFunctionDataForData),
|
|
15840
|
+
/* harmony export */ formatFunction: () => (/* binding */ formatFunction),
|
|
15841
|
+
/* harmony export */ formatFunctionForData: () => (/* binding */ formatFunctionForData)
|
|
15750
15842
|
/* harmony export */ });
|
|
15751
15843
|
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app */ "./src/app.ts");
|
|
15752
15844
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
@@ -15769,8 +15861,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
15769
15861
|
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
15770
15862
|
* @returns
|
|
15771
15863
|
*/
|
|
15772
|
-
function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1, mainComposition_1) {
|
|
15773
|
-
return __awaiter(this, arguments, void 0, function* (connections, compositionData, mainComposition, reverse = []) {
|
|
15864
|
+
function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1, mainComposition_1, newCompositionData_1) {
|
|
15865
|
+
return __awaiter(this, arguments, void 0, function* (connections, compositionData, mainComposition, newCompositionData, reverse = []) {
|
|
15774
15866
|
var _a, _b, _c, _d;
|
|
15775
15867
|
let mainData = [];
|
|
15776
15868
|
let myConcepts = [];
|
|
@@ -15782,6 +15874,248 @@ function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1
|
|
|
15782
15874
|
connections.sort(function (x, y) {
|
|
15783
15875
|
return y.id - x.id;
|
|
15784
15876
|
});
|
|
15877
|
+
for (let i = 0; i < connections.length; i++) {
|
|
15878
|
+
let reverseFlag = false;
|
|
15879
|
+
if (reverse.includes(connections[i].id)) {
|
|
15880
|
+
reverseFlag = true;
|
|
15881
|
+
}
|
|
15882
|
+
let ofTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].ofTheConceptId);
|
|
15883
|
+
let toTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].toTheConceptId);
|
|
15884
|
+
if (reverseFlag == true) {
|
|
15885
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
15886
|
+
if (toTheConcept.id in compositionData) {
|
|
15887
|
+
let newData;
|
|
15888
|
+
let key = (_b = (_a = toTheConcept.type) === null || _a === void 0 ? void 0 : _a.characterValue) !== null && _b !== void 0 ? _b : "self";
|
|
15889
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
15890
|
+
newData = compositionData[connections[i].toTheConceptId];
|
|
15891
|
+
}
|
|
15892
|
+
else {
|
|
15893
|
+
newData = {};
|
|
15894
|
+
newData[key] = {};
|
|
15895
|
+
compositionData[connections[i].toTheConceptId] = newData;
|
|
15896
|
+
}
|
|
15897
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
15898
|
+
try {
|
|
15899
|
+
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
15900
|
+
let data = compositionData[connections[i].ofTheConceptId];
|
|
15901
|
+
if (data) {
|
|
15902
|
+
if (Array.isArray(newData[key][reverseCharater])) {
|
|
15903
|
+
newData[key][reverseCharater].push(data);
|
|
15904
|
+
}
|
|
15905
|
+
else {
|
|
15906
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
15907
|
+
newData[key][reverseCharater] = [];
|
|
15908
|
+
newData[key][reverseCharater].push(data);
|
|
15909
|
+
}
|
|
15910
|
+
else {
|
|
15911
|
+
newData[key][reverseCharater] = data;
|
|
15912
|
+
}
|
|
15913
|
+
}
|
|
15914
|
+
}
|
|
15915
|
+
}
|
|
15916
|
+
catch (ex) {
|
|
15917
|
+
console.log("this is error", ex);
|
|
15918
|
+
}
|
|
15919
|
+
}
|
|
15920
|
+
}
|
|
15921
|
+
}
|
|
15922
|
+
else {
|
|
15923
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
15924
|
+
if (ofTheConcept.id in compositionData) {
|
|
15925
|
+
let newData;
|
|
15926
|
+
let key = (_d = (_c = ofTheConcept.type) === null || _c === void 0 ? void 0 : _c.characterValue) !== null && _d !== void 0 ? _d : "self";
|
|
15927
|
+
if (connections[i].ofTheConceptId in compositionData) {
|
|
15928
|
+
newData = compositionData[connections[i].ofTheConceptId];
|
|
15929
|
+
}
|
|
15930
|
+
else {
|
|
15931
|
+
newData = {};
|
|
15932
|
+
newData[key] = {};
|
|
15933
|
+
compositionData[connections[i].ofTheConceptId] = newData;
|
|
15934
|
+
}
|
|
15935
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
15936
|
+
try {
|
|
15937
|
+
let data = compositionData[connections[i].toTheConceptId];
|
|
15938
|
+
if (data) {
|
|
15939
|
+
if (Array.isArray(newData[key][linkerConcept.characterValue])) {
|
|
15940
|
+
newData[key][linkerConcept.characterValue].push(data);
|
|
15941
|
+
}
|
|
15942
|
+
else {
|
|
15943
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
15944
|
+
newData[key][linkerConcept.characterValue] = [];
|
|
15945
|
+
newData[key][linkerConcept.characterValue].push(data);
|
|
15946
|
+
}
|
|
15947
|
+
else {
|
|
15948
|
+
newData[key][linkerConcept.characterValue] = data;
|
|
15949
|
+
}
|
|
15950
|
+
}
|
|
15951
|
+
}
|
|
15952
|
+
}
|
|
15953
|
+
catch (ex) {
|
|
15954
|
+
console.log("this is error", ex);
|
|
15955
|
+
}
|
|
15956
|
+
}
|
|
15957
|
+
}
|
|
15958
|
+
}
|
|
15959
|
+
}
|
|
15960
|
+
for (let i = 0; i < mainComposition.length; i++) {
|
|
15961
|
+
let mymainData = compositionData[mainComposition[i]];
|
|
15962
|
+
mymainData["id"] = mainComposition[i];
|
|
15963
|
+
mainData.push(mymainData);
|
|
15964
|
+
}
|
|
15965
|
+
return mainData;
|
|
15966
|
+
});
|
|
15967
|
+
}
|
|
15968
|
+
/**
|
|
15969
|
+
* ############ Format is data-id and is used for list. ############
|
|
15970
|
+
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
15971
|
+
* The list format is helpful because you do not have to go over each individual query.
|
|
15972
|
+
* @param connections the type connections that need (external connections) to be passed
|
|
15973
|
+
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
15974
|
+
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
15975
|
+
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
15976
|
+
* @returns
|
|
15977
|
+
*/
|
|
15978
|
+
function FormatFromConnectionsAlteredArrayExternal(connections_1, compositionData_1, newCompositionData_1, mainComposition_1) {
|
|
15979
|
+
return __awaiter(this, arguments, void 0, function* (connections, compositionData, newCompositionData, mainComposition, reverse = []) {
|
|
15980
|
+
var _a, _b, _c, _d;
|
|
15981
|
+
let startTime = new Date().getTime();
|
|
15982
|
+
let mainData = [];
|
|
15983
|
+
let myConcepts = [];
|
|
15984
|
+
for (let i = 0; i < connections.length; i++) {
|
|
15985
|
+
myConcepts.push(connections[i].toTheConceptId);
|
|
15986
|
+
myConcepts.push(connections[i].ofTheConceptId);
|
|
15987
|
+
myConcepts.push(connections[i].typeId);
|
|
15988
|
+
}
|
|
15989
|
+
connections.sort(function (x, y) {
|
|
15990
|
+
return y.id - x.id;
|
|
15991
|
+
});
|
|
15992
|
+
for (let i = 0; i < connections.length; i++) {
|
|
15993
|
+
let reverseFlag = false;
|
|
15994
|
+
let ofTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].ofTheConceptId);
|
|
15995
|
+
let toTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].toTheConceptId);
|
|
15996
|
+
if (reverse.includes(connections[i].id)) {
|
|
15997
|
+
reverseFlag = true;
|
|
15998
|
+
}
|
|
15999
|
+
if (reverseFlag == true) {
|
|
16000
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
16001
|
+
if (toTheConcept.id in compositionData) {
|
|
16002
|
+
let newData;
|
|
16003
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
16004
|
+
let key = (_b = (_a = toTheConcept.type) === null || _a === void 0 ? void 0 : _a.characterValue) !== null && _b !== void 0 ? _b : "self";
|
|
16005
|
+
let flag = false;
|
|
16006
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
16007
|
+
flag = true;
|
|
16008
|
+
}
|
|
16009
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
16010
|
+
newData = compositionData[connections[i].toTheConceptId];
|
|
16011
|
+
}
|
|
16012
|
+
else {
|
|
16013
|
+
newData = {};
|
|
16014
|
+
newData[key] = {};
|
|
16015
|
+
compositionData[connections[i].toTheConceptId] = newData;
|
|
16016
|
+
}
|
|
16017
|
+
try {
|
|
16018
|
+
let isComp = compositionData[connections[i].ofTheConceptId];
|
|
16019
|
+
if (isComp) {
|
|
16020
|
+
let data = {
|
|
16021
|
+
"id": ofTheConcept.id,
|
|
16022
|
+
"data": compositionData[connections[i].ofTheConceptId]
|
|
16023
|
+
};
|
|
16024
|
+
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
16025
|
+
if (Array.isArray(newData[key][reverseCharater])) {
|
|
16026
|
+
newData[key][reverseCharater].push(data);
|
|
16027
|
+
}
|
|
16028
|
+
else {
|
|
16029
|
+
if (reverseCharater.includes("_s_")) {
|
|
16030
|
+
newData[key][reverseCharater] = [];
|
|
16031
|
+
newData[key][reverseCharater].push(data);
|
|
16032
|
+
}
|
|
16033
|
+
else {
|
|
16034
|
+
newData[key][reverseCharater] = data;
|
|
16035
|
+
}
|
|
16036
|
+
}
|
|
16037
|
+
}
|
|
16038
|
+
}
|
|
16039
|
+
catch (ex) {
|
|
16040
|
+
console.log("this is error", ex);
|
|
16041
|
+
}
|
|
16042
|
+
}
|
|
16043
|
+
}
|
|
16044
|
+
}
|
|
16045
|
+
else {
|
|
16046
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
16047
|
+
if (ofTheConcept.id in compositionData) {
|
|
16048
|
+
let newData;
|
|
16049
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
16050
|
+
let key = (_d = (_c = ofTheConcept.type) === null || _c === void 0 ? void 0 : _c.characterValue) !== null && _d !== void 0 ? _d : "self";
|
|
16051
|
+
let flag = false;
|
|
16052
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
16053
|
+
flag = true;
|
|
16054
|
+
}
|
|
16055
|
+
if (connections[i].ofTheConceptId in compositionData) {
|
|
16056
|
+
newData = compositionData[connections[i].ofTheConceptId];
|
|
16057
|
+
}
|
|
16058
|
+
else {
|
|
16059
|
+
newData = {};
|
|
16060
|
+
newData[key] = {};
|
|
16061
|
+
compositionData[connections[i].ofTheConceptId] = newData;
|
|
16062
|
+
}
|
|
16063
|
+
try {
|
|
16064
|
+
let isComp = compositionData[connections[i].toTheConceptId];
|
|
16065
|
+
if (isComp) {
|
|
16066
|
+
let data = {
|
|
16067
|
+
"id": toTheConcept.id,
|
|
16068
|
+
"data": compositionData[connections[i].toTheConceptId]
|
|
16069
|
+
};
|
|
16070
|
+
if (Array.isArray(newData[key][linkerConcept.characterValue])) {
|
|
16071
|
+
newData[key][linkerConcept.characterValue].push(data);
|
|
16072
|
+
}
|
|
16073
|
+
else {
|
|
16074
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16075
|
+
newData[key][linkerConcept.characterValue] = [];
|
|
16076
|
+
newData[key][linkerConcept.characterValue].push(data);
|
|
16077
|
+
}
|
|
16078
|
+
else {
|
|
16079
|
+
newData[key][linkerConcept.characterValue] = data;
|
|
16080
|
+
}
|
|
16081
|
+
}
|
|
16082
|
+
}
|
|
16083
|
+
}
|
|
16084
|
+
catch (ex) {
|
|
16085
|
+
console.log("this is error", ex);
|
|
16086
|
+
}
|
|
16087
|
+
}
|
|
16088
|
+
}
|
|
16089
|
+
}
|
|
16090
|
+
}
|
|
16091
|
+
console.log("these are the main datas", compositionData);
|
|
16092
|
+
for (let i = 0; i < mainComposition.length; i++) {
|
|
16093
|
+
let mymainData = {};
|
|
16094
|
+
mymainData["id"] = mainComposition[i];
|
|
16095
|
+
mymainData["data"] = compositionData[mainComposition[i]];
|
|
16096
|
+
mainData.push(mymainData);
|
|
16097
|
+
}
|
|
16098
|
+
return mainData;
|
|
16099
|
+
});
|
|
16100
|
+
}
|
|
16101
|
+
/**
|
|
16102
|
+
*
|
|
16103
|
+
* ## Format Normal ##
|
|
16104
|
+
* This function takes in the connections and then converts the connections to the single level objects for further processing
|
|
16105
|
+
* This function is the builder of the arrays/ objects from the connections.
|
|
16106
|
+
*/
|
|
16107
|
+
function formatFunction(connections, compositionData, reverse) {
|
|
16108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16109
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
16110
|
+
let myConcepts = [];
|
|
16111
|
+
for (let i = 0; i < connections.length; i++) {
|
|
16112
|
+
myConcepts.push(connections[i].toTheConceptId);
|
|
16113
|
+
myConcepts.push(connections[i].ofTheConceptId);
|
|
16114
|
+
myConcepts.push(connections[i].typeId);
|
|
16115
|
+
}
|
|
16116
|
+
connections.sort(function (x, y) {
|
|
16117
|
+
return y.id - x.id;
|
|
16118
|
+
});
|
|
15785
16119
|
for (let i = 0; i < connections.length; i++) {
|
|
15786
16120
|
let reverseFlag = false;
|
|
15787
16121
|
if (reverse.includes(connections[i].id)) {
|
|
@@ -15803,18 +16137,116 @@ function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1
|
|
|
15803
16137
|
}
|
|
15804
16138
|
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
15805
16139
|
try {
|
|
16140
|
+
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";
|
|
16141
|
+
let value = ofTheConcept.characterValue;
|
|
16142
|
+
let data = {
|
|
16143
|
+
[mytype]: value
|
|
16144
|
+
};
|
|
15806
16145
|
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
15807
|
-
if (
|
|
15808
|
-
|
|
16146
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16147
|
+
if (!(ofTheConcept.id in compositionData)) {
|
|
16148
|
+
compositionData[ofTheConcept.id] = {};
|
|
16149
|
+
}
|
|
16150
|
+
compositionData[ofTheConcept.id][mytype] = value;
|
|
15809
16151
|
}
|
|
15810
|
-
|
|
15811
|
-
|
|
15812
|
-
|
|
15813
|
-
|
|
16152
|
+
}
|
|
16153
|
+
catch (ex) {
|
|
16154
|
+
console.log("this is error", ex);
|
|
16155
|
+
}
|
|
16156
|
+
}
|
|
16157
|
+
}
|
|
16158
|
+
else {
|
|
16159
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
16160
|
+
let newData;
|
|
16161
|
+
let key = (_f = (_e = ofTheConcept.type) === null || _e === void 0 ? void 0 : _e.characterValue) !== null && _f !== void 0 ? _f : "self";
|
|
16162
|
+
if (connections[i].ofTheConceptId in compositionData) {
|
|
16163
|
+
newData = compositionData[connections[i].ofTheConceptId];
|
|
16164
|
+
}
|
|
16165
|
+
else {
|
|
16166
|
+
newData = {};
|
|
16167
|
+
newData[key] = {};
|
|
16168
|
+
compositionData[connections[i].ofTheConceptId] = newData;
|
|
16169
|
+
}
|
|
16170
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
16171
|
+
try {
|
|
16172
|
+
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";
|
|
16173
|
+
let value = toTheConcept.characterValue;
|
|
16174
|
+
let data = {
|
|
16175
|
+
[mytype]: value
|
|
16176
|
+
};
|
|
16177
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16178
|
+
if (!(toTheConcept.id in compositionData)) {
|
|
16179
|
+
compositionData[toTheConcept.id] = {};
|
|
15814
16180
|
}
|
|
15815
|
-
|
|
15816
|
-
|
|
16181
|
+
compositionData[toTheConcept.id][mytype] = value;
|
|
16182
|
+
}
|
|
16183
|
+
}
|
|
16184
|
+
catch (ex) {
|
|
16185
|
+
console.log("this is error", ex);
|
|
16186
|
+
}
|
|
16187
|
+
}
|
|
16188
|
+
}
|
|
16189
|
+
}
|
|
16190
|
+
return compositionData;
|
|
16191
|
+
});
|
|
16192
|
+
}
|
|
16193
|
+
/**
|
|
16194
|
+
*
|
|
16195
|
+
* ## Format Normal ##
|
|
16196
|
+
* This function takes in the connections and then converts the connections to the single level objects for further processing
|
|
16197
|
+
* This function is the builder of the arrays/ objects from the connections.
|
|
16198
|
+
*/
|
|
16199
|
+
function formatFunctionForData(connections, compositionData, reverse) {
|
|
16200
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16201
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
16202
|
+
let myConcepts = [];
|
|
16203
|
+
for (let i = 0; i < connections.length; i++) {
|
|
16204
|
+
myConcepts.push(connections[i].toTheConceptId);
|
|
16205
|
+
myConcepts.push(connections[i].ofTheConceptId);
|
|
16206
|
+
myConcepts.push(connections[i].typeId);
|
|
16207
|
+
}
|
|
16208
|
+
connections.sort(function (x, y) {
|
|
16209
|
+
return y.id - x.id;
|
|
16210
|
+
});
|
|
16211
|
+
for (let i = 0; i < connections.length; i++) {
|
|
16212
|
+
let reverseFlag = false;
|
|
16213
|
+
if (reverse.includes(connections[i].id)) {
|
|
16214
|
+
reverseFlag = true;
|
|
16215
|
+
}
|
|
16216
|
+
let ofTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].ofTheConceptId);
|
|
16217
|
+
let toTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].toTheConceptId);
|
|
16218
|
+
if (reverseFlag == true) {
|
|
16219
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
16220
|
+
let newData;
|
|
16221
|
+
let key = (_b = (_a = toTheConcept.type) === null || _a === void 0 ? void 0 : _a.characterValue) !== null && _b !== void 0 ? _b : "self";
|
|
16222
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
16223
|
+
newData = compositionData[connections[i].toTheConceptId];
|
|
16224
|
+
if (!(key in newData)) {
|
|
16225
|
+
newData[key] = {};
|
|
16226
|
+
}
|
|
16227
|
+
}
|
|
16228
|
+
else {
|
|
16229
|
+
newData = {};
|
|
16230
|
+
newData[key] = {};
|
|
16231
|
+
compositionData[connections[i].toTheConceptId] = newData;
|
|
16232
|
+
}
|
|
16233
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
16234
|
+
try {
|
|
16235
|
+
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";
|
|
16236
|
+
let value = ofTheConcept.characterValue;
|
|
16237
|
+
let data = {
|
|
16238
|
+
[mytype]: value
|
|
16239
|
+
};
|
|
16240
|
+
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
16241
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16242
|
+
// newData[key][reverseCharater] = [];
|
|
16243
|
+
// newData[key][reverseCharater].push(data);
|
|
16244
|
+
}
|
|
16245
|
+
else {
|
|
16246
|
+
if (typeof newData[key] == "string") {
|
|
16247
|
+
newData[key] = {};
|
|
15817
16248
|
}
|
|
16249
|
+
newData[key][reverseCharater] = data;
|
|
15818
16250
|
}
|
|
15819
16251
|
}
|
|
15820
16252
|
catch (ex) {
|
|
@@ -15825,9 +16257,12 @@ function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1
|
|
|
15825
16257
|
else {
|
|
15826
16258
|
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
15827
16259
|
let newData;
|
|
15828
|
-
let key = (
|
|
16260
|
+
let key = (_f = (_e = ofTheConcept.type) === null || _e === void 0 ? void 0 : _e.characterValue) !== null && _f !== void 0 ? _f : "self";
|
|
15829
16261
|
if (connections[i].ofTheConceptId in compositionData) {
|
|
15830
16262
|
newData = compositionData[connections[i].ofTheConceptId];
|
|
16263
|
+
if (!(key in newData)) {
|
|
16264
|
+
newData[key] = {};
|
|
16265
|
+
}
|
|
15831
16266
|
}
|
|
15832
16267
|
else {
|
|
15833
16268
|
newData = {};
|
|
@@ -15836,17 +16271,20 @@ function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1
|
|
|
15836
16271
|
}
|
|
15837
16272
|
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
15838
16273
|
try {
|
|
15839
|
-
|
|
15840
|
-
|
|
16274
|
+
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";
|
|
16275
|
+
let value = toTheConcept.characterValue;
|
|
16276
|
+
let data = {
|
|
16277
|
+
[mytype]: value
|
|
16278
|
+
};
|
|
16279
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16280
|
+
// newData[key][linkerConcept.characterValue] = [];
|
|
16281
|
+
// newData[key][linkerConcept.characterValue].push(data);
|
|
15841
16282
|
}
|
|
15842
16283
|
else {
|
|
15843
|
-
if (
|
|
15844
|
-
newData[key]
|
|
15845
|
-
newData[key][linkerConcept.characterValue].push(toTheConcept.characterValue);
|
|
15846
|
-
}
|
|
15847
|
-
else {
|
|
15848
|
-
newData[key][linkerConcept.characterValue] = toTheConcept.characterValue;
|
|
16284
|
+
if (typeof newData[key] == "string") {
|
|
16285
|
+
newData[key] = {};
|
|
15849
16286
|
}
|
|
16287
|
+
newData[key][linkerConcept.characterValue] = data;
|
|
15850
16288
|
}
|
|
15851
16289
|
}
|
|
15852
16290
|
catch (ex) {
|
|
@@ -15855,29 +16293,21 @@ function FormatConceptsAndConnectionsNormalList(connections_1, compositionData_1
|
|
|
15855
16293
|
}
|
|
15856
16294
|
}
|
|
15857
16295
|
}
|
|
15858
|
-
|
|
15859
|
-
let mymainData = compositionData[mainComposition[i]];
|
|
15860
|
-
console.log(mainData, mymainData);
|
|
15861
|
-
mainData.push(mymainData);
|
|
15862
|
-
}
|
|
15863
|
-
return mainData;
|
|
16296
|
+
return compositionData;
|
|
15864
16297
|
});
|
|
15865
16298
|
}
|
|
15866
16299
|
/**
|
|
15867
|
-
*
|
|
15868
|
-
*
|
|
15869
|
-
*
|
|
15870
|
-
* @param connections
|
|
15871
|
-
* @param compositionData
|
|
15872
|
-
* @param
|
|
15873
|
-
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
16300
|
+
* ## Format DATA-ID ##
|
|
16301
|
+
* this function takes in connections and creates a single level objects so that all the data are added to its object/ array.
|
|
16302
|
+
* This is then passed on further for stiching.
|
|
16303
|
+
* @param connections
|
|
16304
|
+
* @param compositionData
|
|
16305
|
+
* @param reverse
|
|
15874
16306
|
* @returns
|
|
15875
16307
|
*/
|
|
15876
|
-
function
|
|
15877
|
-
return __awaiter(this, arguments, void 0, function* (connections, compositionData,
|
|
16308
|
+
function FormatFunctionData(connections_1, compositionData_1) {
|
|
16309
|
+
return __awaiter(this, arguments, void 0, function* (connections, compositionData, reverse = []) {
|
|
15878
16310
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
15879
|
-
let startTime = new Date().getTime();
|
|
15880
|
-
let mainData = [];
|
|
15881
16311
|
let myConcepts = [];
|
|
15882
16312
|
for (let i = 0; i < connections.length; i++) {
|
|
15883
16313
|
myConcepts.push(connections[i].toTheConceptId);
|
|
@@ -15898,7 +16328,36 @@ function FormatFromConnectionsAlteredArrayExternal(connections_1, compositionDat
|
|
|
15898
16328
|
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
15899
16329
|
let newData;
|
|
15900
16330
|
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
15901
|
-
let key = (_b = (_a =
|
|
16331
|
+
let key = (_b = (_a = toTheConcept.type) === null || _a === void 0 ? void 0 : _a.characterValue) !== null && _b !== void 0 ? _b : "self";
|
|
16332
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
16333
|
+
newData = compositionData[connections[i].toTheConceptId];
|
|
16334
|
+
}
|
|
16335
|
+
else {
|
|
16336
|
+
newData = {};
|
|
16337
|
+
newData[key] = {};
|
|
16338
|
+
compositionData[connections[i].toTheConceptId] = newData;
|
|
16339
|
+
}
|
|
16340
|
+
try {
|
|
16341
|
+
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";
|
|
16342
|
+
let value = ofTheConcept.characterValue;
|
|
16343
|
+
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
16344
|
+
if (reverseCharater.includes("_s_")) {
|
|
16345
|
+
if (!(ofTheConcept.id in compositionData)) {
|
|
16346
|
+
compositionData[ofTheConcept.id] = {};
|
|
16347
|
+
}
|
|
16348
|
+
compositionData[ofTheConcept.id][mytype] = value;
|
|
16349
|
+
}
|
|
16350
|
+
}
|
|
16351
|
+
catch (ex) {
|
|
16352
|
+
console.log("this is error", ex);
|
|
16353
|
+
}
|
|
16354
|
+
}
|
|
16355
|
+
}
|
|
16356
|
+
else {
|
|
16357
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
16358
|
+
let newData;
|
|
16359
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
16360
|
+
let key = (_f = (_e = ofTheConcept.type) === null || _e === void 0 ? void 0 : _e.characterValue) !== null && _f !== void 0 ? _f : "self";
|
|
15902
16361
|
if (connections[i].ofTheConceptId in compositionData) {
|
|
15903
16362
|
newData = compositionData[connections[i].ofTheConceptId];
|
|
15904
16363
|
}
|
|
@@ -15908,21 +16367,86 @@ function FormatFromConnectionsAlteredArrayExternal(connections_1, compositionDat
|
|
|
15908
16367
|
compositionData[connections[i].ofTheConceptId] = newData;
|
|
15909
16368
|
}
|
|
15910
16369
|
try {
|
|
16370
|
+
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";
|
|
16371
|
+
let value = toTheConcept.characterValue;
|
|
16372
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16373
|
+
if (!(toTheConcept.id in compositionData)) {
|
|
16374
|
+
compositionData[toTheConcept.id] = {};
|
|
16375
|
+
}
|
|
16376
|
+
compositionData[toTheConcept.id][mytype] = value;
|
|
16377
|
+
}
|
|
16378
|
+
}
|
|
16379
|
+
catch (ex) {
|
|
16380
|
+
console.log("this is error", ex);
|
|
16381
|
+
}
|
|
16382
|
+
}
|
|
16383
|
+
}
|
|
16384
|
+
}
|
|
16385
|
+
return compositionData;
|
|
16386
|
+
});
|
|
16387
|
+
}
|
|
16388
|
+
/**
|
|
16389
|
+
* ## Format DATA-ID ##
|
|
16390
|
+
* this function takes in connections and creates a single level objects so that all the data are added to its object/ array.
|
|
16391
|
+
* This is then passed on further for stiching.
|
|
16392
|
+
* @param connections
|
|
16393
|
+
* @param compositionData
|
|
16394
|
+
* @param reverse
|
|
16395
|
+
* @returns
|
|
16396
|
+
*/
|
|
16397
|
+
function FormatFunctionDataForData(connections_1, compositionData_1) {
|
|
16398
|
+
return __awaiter(this, arguments, void 0, function* (connections, compositionData, reverse = []) {
|
|
16399
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
16400
|
+
let myConcepts = [];
|
|
16401
|
+
for (let i = 0; i < connections.length; i++) {
|
|
16402
|
+
myConcepts.push(connections[i].toTheConceptId);
|
|
16403
|
+
myConcepts.push(connections[i].ofTheConceptId);
|
|
16404
|
+
myConcepts.push(connections[i].typeId);
|
|
16405
|
+
}
|
|
16406
|
+
connections.sort(function (x, y) {
|
|
16407
|
+
return y.id - x.id;
|
|
16408
|
+
});
|
|
16409
|
+
for (let i = 0; i < connections.length; i++) {
|
|
16410
|
+
let reverseFlag = false;
|
|
16411
|
+
let ofTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].ofTheConceptId);
|
|
16412
|
+
let toTheConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].toTheConceptId);
|
|
16413
|
+
if (reverse.includes(connections[i].id)) {
|
|
16414
|
+
reverseFlag = true;
|
|
16415
|
+
}
|
|
16416
|
+
if (reverseFlag == true) {
|
|
16417
|
+
if (ofTheConcept.id != 0 && toTheConcept.id != 0) {
|
|
16418
|
+
let newData;
|
|
16419
|
+
let linkerConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetTheConcept)(connections[i].typeId);
|
|
16420
|
+
let key = (_b = (_a = toTheConcept.type) === null || _a === void 0 ? void 0 : _a.characterValue) !== null && _b !== void 0 ? _b : "self";
|
|
16421
|
+
if (connections[i].toTheConceptId in compositionData) {
|
|
16422
|
+
newData = compositionData[connections[i].toTheConceptId];
|
|
16423
|
+
if (!(key in newData)) {
|
|
16424
|
+
newData[key] = {};
|
|
16425
|
+
}
|
|
16426
|
+
}
|
|
16427
|
+
else {
|
|
16428
|
+
newData = {};
|
|
16429
|
+
newData[key] = {};
|
|
16430
|
+
compositionData[connections[i].toTheConceptId] = newData;
|
|
16431
|
+
}
|
|
16432
|
+
try {
|
|
16433
|
+
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";
|
|
16434
|
+
let value = ofTheConcept.characterValue;
|
|
16435
|
+
let data = {
|
|
16436
|
+
"id": ofTheConcept.id,
|
|
16437
|
+
"data": {
|
|
16438
|
+
[mytype]: value
|
|
16439
|
+
}
|
|
16440
|
+
};
|
|
15911
16441
|
let reverseCharater = linkerConcept.characterValue + "_reverse";
|
|
15912
|
-
if (
|
|
15913
|
-
|
|
16442
|
+
if (reverseCharater.includes("_s_")) {
|
|
16443
|
+
// do nothing
|
|
15914
16444
|
}
|
|
15915
16445
|
else {
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15919
|
-
|
|
15920
|
-
"data": {
|
|
15921
|
-
[mytype]: value
|
|
15922
|
-
}
|
|
15923
|
-
};
|
|
15924
|
-
newData[key][reverseCharater] = [];
|
|
15925
|
-
newData[key][reverseCharater].push(data);
|
|
16446
|
+
if (typeof newData[key] == "string") {
|
|
16447
|
+
newData[key] = {};
|
|
16448
|
+
}
|
|
16449
|
+
newData[key][reverseCharater] = data;
|
|
15926
16450
|
}
|
|
15927
16451
|
}
|
|
15928
16452
|
catch (ex) {
|
|
@@ -15937,6 +16461,9 @@ function FormatFromConnectionsAlteredArrayExternal(connections_1, compositionDat
|
|
|
15937
16461
|
let key = (_f = (_e = ofTheConcept.type) === null || _e === void 0 ? void 0 : _e.characterValue) !== null && _f !== void 0 ? _f : "self";
|
|
15938
16462
|
if (connections[i].ofTheConceptId in compositionData) {
|
|
15939
16463
|
newData = compositionData[connections[i].ofTheConceptId];
|
|
16464
|
+
if (!(key in newData)) {
|
|
16465
|
+
newData[key] = {};
|
|
16466
|
+
}
|
|
15940
16467
|
}
|
|
15941
16468
|
else {
|
|
15942
16469
|
newData = {};
|
|
@@ -15944,25 +16471,22 @@ function FormatFromConnectionsAlteredArrayExternal(connections_1, compositionDat
|
|
|
15944
16471
|
compositionData[connections[i].ofTheConceptId] = newData;
|
|
15945
16472
|
}
|
|
15946
16473
|
try {
|
|
15947
|
-
|
|
15948
|
-
|
|
16474
|
+
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";
|
|
16475
|
+
let value = toTheConcept.characterValue;
|
|
16476
|
+
let data = {
|
|
16477
|
+
"id": toTheConcept.id,
|
|
16478
|
+
"data": {
|
|
16479
|
+
[mytype]: value
|
|
16480
|
+
}
|
|
16481
|
+
};
|
|
16482
|
+
if (linkerConcept.characterValue.includes("_s_")) {
|
|
16483
|
+
// do nothing
|
|
15949
16484
|
}
|
|
15950
16485
|
else {
|
|
15951
|
-
|
|
15952
|
-
|
|
15953
|
-
let data = {
|
|
15954
|
-
"id": toTheConcept.id,
|
|
15955
|
-
"data": {
|
|
15956
|
-
[mytype]: value
|
|
15957
|
-
}
|
|
15958
|
-
};
|
|
15959
|
-
if (linkerConcept.characterValue.includes("_s_")) {
|
|
15960
|
-
newData[key][linkerConcept.characterValue] = [];
|
|
15961
|
-
newData[key][linkerConcept.characterValue].push(data);
|
|
15962
|
-
}
|
|
15963
|
-
else {
|
|
15964
|
-
newData[key][linkerConcept.characterValue] = data;
|
|
16486
|
+
if (typeof newData[key] == "string") {
|
|
16487
|
+
newData[key] = {};
|
|
15965
16488
|
}
|
|
16489
|
+
newData[key][linkerConcept.characterValue] = data;
|
|
15966
16490
|
}
|
|
15967
16491
|
}
|
|
15968
16492
|
catch (ex) {
|
|
@@ -15971,12 +16495,7 @@ function FormatFromConnectionsAlteredArrayExternal(connections_1, compositionDat
|
|
|
15971
16495
|
}
|
|
15972
16496
|
}
|
|
15973
16497
|
}
|
|
15974
|
-
|
|
15975
|
-
let mymainData = compositionData[mainComposition[i]];
|
|
15976
|
-
console.log(mainData, mymainData);
|
|
15977
|
-
mainData.push(mymainData);
|
|
15978
|
-
}
|
|
15979
|
-
return mainData;
|
|
16498
|
+
return compositionData;
|
|
15980
16499
|
});
|
|
15981
16500
|
}
|
|
15982
16501
|
|
|
@@ -16634,19 +17153,49 @@ function formatLinkersNormal(linkers, conceptIds, connections, mainCompositionId
|
|
|
16634
17153
|
return output;
|
|
16635
17154
|
});
|
|
16636
17155
|
}
|
|
17156
|
+
/**
|
|
17157
|
+
* ## Format Normal ##
|
|
17158
|
+
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
17159
|
+
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
17160
|
+
* @param linkers
|
|
17161
|
+
* @param conceptIds
|
|
17162
|
+
* @param mainCompositionIds
|
|
17163
|
+
* @param reverse
|
|
17164
|
+
* @returns
|
|
17165
|
+
*/
|
|
16637
17166
|
function formatConnections(linkers, conceptIds, mainCompositionIds, reverse) {
|
|
16638
17167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16639
17168
|
let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);
|
|
16640
17169
|
let compositionData = [];
|
|
16641
|
-
let
|
|
17170
|
+
let newCompositionData = [];
|
|
17171
|
+
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunction)(prefetchConnections, compositionData, reverse);
|
|
17172
|
+
console.log("this is the format normal builders BEFORE", compositionData);
|
|
17173
|
+
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.formatFunctionForData)(prefetchConnections, compositionData, reverse);
|
|
17174
|
+
console.log("this is the format normal builders", compositionData);
|
|
17175
|
+
let output = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatConceptsAndConnectionsNormalList)(prefetchConnections, compositionData, mainCompositionIds, newCompositionData, reverse);
|
|
16642
17176
|
return output;
|
|
16643
17177
|
});
|
|
16644
17178
|
}
|
|
17179
|
+
/**
|
|
17180
|
+
* ## Format DATA-ID ##
|
|
17181
|
+
* This function fetches all the connections and then converts all the connections to the single level connections
|
|
17182
|
+
* Then those single level objects are then stiched together to create a complex json/ array.
|
|
17183
|
+
* @param linkers
|
|
17184
|
+
* @param conceptIds
|
|
17185
|
+
* @param mainCompositionIds
|
|
17186
|
+
* @param reverse
|
|
17187
|
+
* @returns
|
|
17188
|
+
*/
|
|
16645
17189
|
function formatConnectionsDataId(linkers, conceptIds, mainCompositionIds, reverse) {
|
|
16646
17190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16647
17191
|
let prefetchConnections = yield (0,_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_1__.GetConnectionDataPrefetch)(linkers);
|
|
16648
17192
|
let compositionData = [];
|
|
16649
|
-
let
|
|
17193
|
+
let newCompositionData = [];
|
|
17194
|
+
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFunctionData)(prefetchConnections, compositionData, reverse);
|
|
17195
|
+
console.log("this is the format data builders BEFORE", compositionData);
|
|
17196
|
+
compositionData = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFunctionDataForData)(prefetchConnections, compositionData, reverse);
|
|
17197
|
+
console.log("this is the format data builders", compositionData);
|
|
17198
|
+
let output = yield (0,_FormatData__WEBPACK_IMPORTED_MODULE_2__.FormatFromConnectionsAlteredArrayExternal)(prefetchConnections, compositionData, newCompositionData, mainCompositionIds, reverse);
|
|
16650
17199
|
return output;
|
|
16651
17200
|
});
|
|
16652
17201
|
}
|
|
@@ -18816,6 +19365,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18816
19365
|
/* harmony export */ SessionData: () => (/* reexport safe */ _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_86__.SessionData),
|
|
18817
19366
|
/* harmony export */ Signin: () => (/* reexport safe */ _Api_Signin__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
18818
19367
|
/* harmony export */ Signup: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_36__["default"]),
|
|
19368
|
+
/* harmony export */ SignupEntity: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_36__.SignupEntity),
|
|
18819
19369
|
/* harmony export */ SplitStrings: () => (/* reexport safe */ _Services_SplitStrings__WEBPACK_IMPORTED_MODULE_3__.SplitStrings),
|
|
18820
19370
|
/* harmony export */ StatefulWidget: () => (/* reexport safe */ _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_105__.StatefulWidget),
|
|
18821
19371
|
/* harmony export */ SyncData: () => (/* reexport safe */ _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_76__.SyncData),
|
|
@@ -19076,6 +19626,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
19076
19626
|
|
|
19077
19627
|
|
|
19078
19628
|
|
|
19629
|
+
|
|
19079
19630
|
|
|
19080
19631
|
|
|
19081
19632
|
var serviceWorker;
|
|
@@ -19229,10 +19780,11 @@ function init() {
|
|
|
19229
19780
|
newWorker.onstatechange = () => __awaiter(this, void 0, void 0, function* () {
|
|
19230
19781
|
console.log("on state change triggered");
|
|
19231
19782
|
// if (newWorker.state === 'activated' && navigator.serviceWorker.controller) {
|
|
19232
|
-
if (newWorker.state === "activated") {
|
|
19783
|
+
if (newWorker.state === "activated" || newWorker.state === 'redundant') {
|
|
19233
19784
|
// && navigator.serviceWorker.controller) {
|
|
19234
19785
|
console.log("New Service Worker is active", registration);
|
|
19235
|
-
serviceWorker =
|
|
19786
|
+
serviceWorker = newWorker;
|
|
19787
|
+
// serviceWorker = registration.active;
|
|
19236
19788
|
// Send init message now that it's active
|
|
19237
19789
|
yield sendMessage("init", {
|
|
19238
19790
|
url,
|
|
@@ -19683,6 +20235,7 @@ function initConceptConnection() {
|
|
|
19683
20235
|
/******/ var __webpack_exports__SessionData = __webpack_exports__.SessionData;
|
|
19684
20236
|
/******/ var __webpack_exports__Signin = __webpack_exports__.Signin;
|
|
19685
20237
|
/******/ var __webpack_exports__Signup = __webpack_exports__.Signup;
|
|
20238
|
+
/******/ var __webpack_exports__SignupEntity = __webpack_exports__.SignupEntity;
|
|
19686
20239
|
/******/ var __webpack_exports__SplitStrings = __webpack_exports__.SplitStrings;
|
|
19687
20240
|
/******/ var __webpack_exports__StatefulWidget = __webpack_exports__.StatefulWidget;
|
|
19688
20241
|
/******/ var __webpack_exports__SyncData = __webpack_exports__.SyncData;
|
|
@@ -19708,7 +20261,7 @@ function initConceptConnection() {
|
|
|
19708
20261
|
/******/ var __webpack_exports__storeToDatabase = __webpack_exports__.storeToDatabase;
|
|
19709
20262
|
/******/ var __webpack_exports__subscribedListeners = __webpack_exports__.subscribedListeners;
|
|
19710
20263
|
/******/ var __webpack_exports__updateAccessToken = __webpack_exports__.updateAccessToken;
|
|
19711
|
-
/******/ 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__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__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__GetComposition as GetComposition, __webpack_exports__GetCompositionBulk as GetCompositionBulk, __webpack_exports__GetCompositionBulkWithDataId as GetCompositionBulkWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataId as GetCompositionFromConnectionsWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataIdInObject as GetCompositionFromConnectionsWithDataIdInObject, __webpack_exports__GetCompositionFromConnectionsWithDataIdIndex as GetCompositionFromConnectionsWithDataIdIndex, __webpack_exports__GetCompositionFromConnectionsWithIndex as GetCompositionFromConnectionsWithIndex, __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__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__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__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 };
|
|
20264
|
+
/******/ 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__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__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__GetComposition as GetComposition, __webpack_exports__GetCompositionBulk as GetCompositionBulk, __webpack_exports__GetCompositionBulkWithDataId as GetCompositionBulkWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataId as GetCompositionFromConnectionsWithDataId, __webpack_exports__GetCompositionFromConnectionsWithDataIdInObject as GetCompositionFromConnectionsWithDataIdInObject, __webpack_exports__GetCompositionFromConnectionsWithDataIdIndex as GetCompositionFromConnectionsWithDataIdIndex, __webpack_exports__GetCompositionFromConnectionsWithIndex as GetCompositionFromConnectionsWithIndex, __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__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__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 };
|
|
19712
20265
|
/******/
|
|
19713
20266
|
|
|
19714
20267
|
//# sourceMappingURL=main.bundle.js.map
|