mftsccs-browser 1.1.37-beta → 1.1.39-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.
@@ -11874,7 +11874,8 @@ function DeleteConnectionById(id) {
11874
11874
 
11875
11875
  __webpack_require__.r(__webpack_exports__);
11876
11876
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11877
- /* harmony export */ DeleteConnectionByType: () => (/* binding */ DeleteConnectionByType)
11877
+ /* harmony export */ DeleteConnectionByType: () => (/* binding */ DeleteConnectionByType),
11878
+ /* harmony export */ GetAllTheConnectionsByTypeAndOfTheConcept: () => (/* binding */ GetAllTheConnectionsByTypeAndOfTheConcept)
11878
11879
  /* harmony export */ });
11879
11880
  /* harmony import */ var _Api_GetAllLinkerConnectionsFromTheConcept__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Api/GetAllLinkerConnectionsFromTheConcept */ "./src/Api/GetAllLinkerConnectionsFromTheConcept.ts");
11880
11881
  /* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../app */ "./src/app.ts");
@@ -11913,6 +11914,34 @@ function DeleteConnectionByType(id, linker) {
11913
11914
  }
11914
11915
  });
11915
11916
  }
11917
+ /**
11918
+ * This function returns all the connections from the ofTheConceptId and connection type
11919
+ * @param id ofTheConceptId
11920
+ * @param linker the connection type
11921
+ * @returns Array of connections
11922
+ */
11923
+ function GetAllTheConnectionsByTypeAndOfTheConcept(id, linker) {
11924
+ return __awaiter(this, void 0, void 0, function* () {
11925
+ if (_app__WEBPACK_IMPORTED_MODULE_1__.serviceWorker) {
11926
+ const res = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.sendMessage)('GetAllTheConnectionsByTypeAndOfTheConcept', { id, linker });
11927
+ // console.log('data received from sw', res)
11928
+ return res.data;
11929
+ }
11930
+ let externalConnections = yield (0,_Api_GetAllLinkerConnectionsFromTheConcept__WEBPACK_IMPORTED_MODULE_0__.GetAllLinkerConnectionsFromTheConcept)(id);
11931
+ for (let i = 0; i < externalConnections.length; i++) {
11932
+ _app__WEBPACK_IMPORTED_MODULE_1__.ConnectionData.AddConnection(externalConnections[i]);
11933
+ }
11934
+ let toDelete = [];
11935
+ let connections = yield _app__WEBPACK_IMPORTED_MODULE_1__.ConnectionData.GetConnectionsOfConcept(id);
11936
+ let concept = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.GetConceptByCharacter)(linker);
11937
+ for (let i = 0; i < connections.length; i++) {
11938
+ if (connections[i].typeId == concept.id) {
11939
+ toDelete.push(connections[i]);
11940
+ }
11941
+ }
11942
+ return toDelete;
11943
+ });
11944
+ }
11916
11945
 
11917
11946
 
11918
11947
  /***/ }),
@@ -13501,7 +13530,11 @@ function GetConnectionBetweenTwoConceptsLinker(ofTheConcept_1, toTheConcept_1, l
13501
13530
  if (fullLinker != "") {
13502
13531
  typeConcept = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.MakeTheTypeConceptApi)(fullLinker, 999);
13503
13532
  }
13504
- let connections = yield (0,_Api_GetCompositionConnectionsBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_0__.GetCompositionConnectionsBetweenTwoConcepts)(ofTheConcept.id, toTheConcept.id, typeConcept.id);
13533
+ let connections = [];
13534
+ if (!forward)
13535
+ connections = yield (0,_Api_GetCompositionConnectionsBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_0__.GetCompositionConnectionsBetweenTwoConcepts)(toTheConcept.id, ofTheConcept.id, typeConcept.id);
13536
+ else
13537
+ connections = yield (0,_Api_GetCompositionConnectionsBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_0__.GetCompositionConnectionsBetweenTwoConcepts)(ofTheConcept.id, toTheConcept.id, typeConcept.id);
13505
13538
  return connections;
13506
13539
  });
13507
13540
  }
@@ -17987,11 +18020,9 @@ class Validator {
17987
18020
  }
17988
18021
  // 2. Validate using regex pattern for the data type
17989
18022
  if (dataType && value) {
17990
- console.log(`Comment on Data Type ${dataType} and Value ${value}`);
17991
18023
  let pattern = _constant__WEBPACK_IMPORTED_MODULE_1__.DATA_TYPES_RULES[dataType];
17992
- console.log("Find Pattern : ", pattern);
17993
18024
  if (pattern && value !== '' && !pattern.test(value)) {
17994
- errors['dataType'] = `Invalid format for ${dataType} in ${fieldName}`;
18025
+ errors['dataType'] = `Invalid value for ${dataType}`;
17995
18026
  }
17996
18027
  }
17997
18028
  // 3. Check if the provided pattern match with the value or not
@@ -18173,7 +18204,7 @@ __webpack_require__.r(__webpack_exports__);
18173
18204
  /* harmony export */ });
18174
18205
  function TypeEditor(event, that) {
18175
18206
  if (event) {
18176
- const inputVal = document.querySelector("#widget-properties .flex-column");
18207
+ const inputVal = document.querySelector("#widget-properties #widget-type");
18177
18208
  console.log("This is the input val container", inputVal, that, event);
18178
18209
  const existedInputEl = inputVal === null || inputVal === void 0 ? void 0 : inputVal.querySelectorAll("input");
18179
18210
  existedInputEl === null || existedInputEl === void 0 ? void 0 : existedInputEl.forEach((inputItem) => {
@@ -18235,8 +18266,7 @@ __webpack_require__.r(__webpack_exports__);
18235
18266
  /* harmony export */ });
18236
18267
  /* harmony import */ var _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./StatefulWidget */ "./src/Widgets/StatefulWidget.ts");
18237
18268
  /* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../app */ "./src/app.ts");
18238
- /* harmony import */ var _Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Services/Common/ErrorPosting */ "./src/Services/Common/ErrorPosting.ts");
18239
- /* harmony import */ var _BuilderSpeceficFunctions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BuilderSpeceficFunctions */ "./src/Widgets/BuilderSpeceficFunctions.ts");
18269
+ /* harmony import */ var _BuilderSpeceficFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BuilderSpeceficFunctions */ "./src/Widgets/BuilderSpeceficFunctions.ts");
18240
18270
  var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
18241
18271
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
18242
18272
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -18250,73 +18280,64 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
18250
18280
 
18251
18281
 
18252
18282
 
18253
-
18254
18283
  class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__.StatefulWidget {
18255
18284
  constructor() {
18256
18285
  super(...arguments);
18257
18286
  this.childComponents = [];
18258
- this.elementIdentifier = 0;
18259
18287
  this.componentMounted = false;
18260
- this.parentElement = "";
18261
18288
  this.oldHtml = null;
18262
- // subscribers: any = [];
18263
- this.element = null;
18264
18289
  this.phonebooks = [];
18265
18290
  this.childrenData = {};
18266
- this.html = "";
18267
18291
  this.childWidgets = [];
18268
18292
  this.typeValueList = [];
18269
18293
  this.widgetType = "the_element_name";
18270
18294
  this.parentConceptList = [];
18271
18295
  }
18272
- getWidgetCodeFromId(widgetId, token) {
18273
- return __awaiter(this, void 0, void 0, function* () {
18274
- //console.log("getWidgetCodeFromId", widgetId, token);
18275
- return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
18276
- try {
18277
- let searchFirst = new _app__WEBPACK_IMPORTED_MODULE_1__.SearchQuery();
18278
- searchFirst.composition = widgetId;
18279
- searchFirst.fullLinkers = [
18280
- "the_widgetcode",
18281
- "the_widgetcode_widget",
18282
- "the_widgetcode_name",
18283
- "the_widgetcode_html",
18284
- "the_widgetcode_css",
18285
- "the_widgetcode_js",
18286
- "the_widgetcode_timestamp",
18287
- "the_widgetcode_typevalue",
18288
- "the_widgetcode_addevent",
18289
- "the_widgetcode_onmount",
18290
- "the_widgetcode_onupdate",
18291
- "the_widgetcode_mountChildWidgets",
18292
- "the_widgetcode_cleanhtml",
18293
- "the_widgetcode_s_child",
18294
- ];
18295
- searchFirst.inpage = 100;
18296
- let searchSecond = new _app__WEBPACK_IMPORTED_MODULE_1__.SearchQuery();
18297
- searchSecond.fullLinkers = [
18298
- "the_childwidget",
18299
- "the_childwidget_typevalue",
18300
- "the_childwidget_widget",
18301
- "the_childwidget_wrapperId",
18302
- ];
18303
- searchSecond.inpage = 100;
18304
- const queryParams = [searchFirst, searchSecond];
18305
- const output = yield (0,_app__WEBPACK_IMPORTED_MODULE_1__.SearchLinkMultipleAll)(queryParams, token);
18306
- //console.log("getWidgetCodeFromId output ->", output);
18307
- resolve(output);
18308
- return output;
18309
- }
18310
- catch (error) {
18311
- console.error("error", error);
18312
- if ((error === null || error === void 0 ? void 0 : error.status) === 401) {
18313
- (0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_2__.HandleHttpError)(error === null || error === void 0 ? void 0 : error.response);
18314
- }
18315
- reject(error);
18316
- }
18317
- }));
18318
- });
18319
- }
18296
+ // async getWidgetCodeFromId(widgetId: number, token: string) {
18297
+ // //console.log("getWidgetCodeFromId", widgetId, token);
18298
+ // return new Promise(async (resolve: any, reject: any) => {
18299
+ // try {
18300
+ // let searchFirst = new SearchQuery();
18301
+ // searchFirst.composition = widgetId;
18302
+ // searchFirst.fullLinkers = [
18303
+ // "the_widgetcode",
18304
+ // "the_widgetcode_widget",
18305
+ // "the_widgetcode_name",
18306
+ // "the_widgetcode_html",
18307
+ // "the_widgetcode_css",
18308
+ // "the_widgetcode_js",
18309
+ // "the_widgetcode_timestamp",
18310
+ // "the_widgetcode_typevalue",
18311
+ // "the_widgetcode_addevent",
18312
+ // "the_widgetcode_onmount",
18313
+ // "the_widgetcode_onupdate",
18314
+ // "the_widgetcode_mountChildWidgets",
18315
+ // "the_widgetcode_cleanhtml",
18316
+ // "the_widgetcode_s_child",
18317
+ // ];
18318
+ // searchFirst.inpage = 100;
18319
+ // let searchSecond = new SearchQuery();
18320
+ // searchSecond.fullLinkers = [
18321
+ // "the_childwidget",
18322
+ // "the_childwidget_typevalue",
18323
+ // "the_childwidget_widget",
18324
+ // "the_childwidget_wrapperId",
18325
+ // ];
18326
+ // searchSecond.inpage = 100;
18327
+ // const queryParams = [searchFirst, searchSecond];
18328
+ // const output = await SearchLinkMultipleAll(queryParams, token);
18329
+ // //console.log("getWidgetCodeFromId output ->", output);
18330
+ // resolve(output);
18331
+ // return output;
18332
+ // } catch (error: any) {
18333
+ // console.error("error", error);
18334
+ // if (error?.status === 401) {
18335
+ // HandleHttpError(error?.response)
18336
+ // }
18337
+ // reject(error);
18338
+ // }
18339
+ // });
18340
+ // }
18320
18341
  // async CreateConceptConnections(){
18321
18342
  // let mainConcept = await
18322
18343
  // for(let i=0; i<this.childrenData.length; i++){
@@ -18428,7 +18449,7 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18428
18449
  });
18429
18450
  }
18430
18451
  createTypeEditor(event) {
18431
- (0,_BuilderSpeceficFunctions__WEBPACK_IMPORTED_MODULE_3__.TypeEditor)(event, this);
18452
+ (0,_BuilderSpeceficFunctions__WEBPACK_IMPORTED_MODULE_2__.TypeEditor)(event, this);
18432
18453
  }
18433
18454
  /**
18434
18455
  *
@@ -18450,7 +18471,6 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18450
18471
  this.element.innerHTML = this.getHtml();
18451
18472
  parent === null || parent === void 0 ? void 0 : parent.setAttribute("data-type-value", that.widgetType);
18452
18473
  parent.appendChild(this.element);
18453
- this.childWidgetElement = this.getElementByClassName("added-widget-container");
18454
18474
  this.parentElement = parent.id;
18455
18475
  if (this.componentMounted == false || this.widgetMounted == false) {
18456
18476
  // Simulate componentDidMount by calling it after the component is inserted into the DOM
@@ -18462,6 +18482,7 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18462
18482
  else {
18463
18483
  this.render();
18464
18484
  }
18485
+ this.childWidgetElement = this.getElementByClassName("added-widget-container");
18465
18486
  }
18466
18487
  });
18467
18488
  }
@@ -18499,55 +18520,57 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
18499
18520
  // const renderOnmount = AsyncFunction("tsccs", this.addEventFunction);
18500
18521
  // renderOnmount.call(this, tsccs);
18501
18522
  }
18502
- getWidgetClassFunction(widgetId) {
18503
- return __awaiter(this, void 0, void 0, function* () {
18504
- return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {
18505
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
18506
- const profileData = yield new Promise((resolve2) => {
18507
- let dataFromLocalStorage = (localStorage === null || localStorage === void 0 ? void 0 : localStorage.getItem("profile")) || "";
18508
- if (dataFromLocalStorage) {
18509
- const profileData = JSON.parse(dataFromLocalStorage);
18510
- resolve2(profileData);
18511
- }
18512
- else {
18513
- resolve2();
18514
- }
18515
- });
18516
- const token = profileData === null || profileData === void 0 ? void 0 : profileData.token;
18517
- let output = yield this.getWidgetCodeFromId(widgetId, token);
18518
- const widgetInfo = (_a = output === null || output === void 0 ? void 0 : output.data) === null || _a === void 0 ? void 0 : _a.the_widgetcode;
18519
- const widgetName = (_d = (_c = (_b = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_name) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.the_name;
18520
- const widgetHTML = (_g = (_f = (_e = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_html) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.data) === null || _g === void 0 ? void 0 : _g.the_html;
18521
- const widgetCSS = (_k = (_j = (_h = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_css) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.data) === null || _k === void 0 ? void 0 : _k.the_css;
18522
- const widgetJS = (_o = (_m = (_l = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_js) === null || _l === void 0 ? void 0 : _l[0]) === null || _m === void 0 ? void 0 : _m.data) === null || _o === void 0 ? void 0 : _o.the_js;
18523
- const widgetTimestamp = (_r = (_q = (_p = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_timestamp) === null || _p === void 0 ? void 0 : _p[0]) === null || _q === void 0 ? void 0 : _q.data) === null || _r === void 0 ? void 0 : _r.the_timestamp;
18524
- const widgetPackageId = (_s = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_widget) === null || _s === void 0 ? void 0 : _s[0].id;
18525
- const widgetAddEvent = (_v = (_u = (_t = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_addevent) === null || _t === void 0 ? void 0 : _t[0]) === null || _u === void 0 ? void 0 : _u.data) === null || _v === void 0 ? void 0 : _v.the_addevent;
18526
- const widgetOnmount = (_y = (_x = (_w = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_onmount) === null || _w === void 0 ? void 0 : _w[0]) === null || _x === void 0 ? void 0 : _x.data) === null || _y === void 0 ? void 0 : _y.the_onmount;
18527
- const widgetOnupdate = (_1 = (_0 = (_z = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_onupdate) === null || _z === void 0 ? void 0 : _z[0]) === null || _0 === void 0 ? void 0 : _0.data) === null || _1 === void 0 ? void 0 : _1.the_onupdate;
18528
- const widgetMountChildWidgets = (_4 = (_3 = (_2 = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widgetcode_mountChildWidgets) === null || _2 === void 0 ? void 0 : _2[0]) === null || _3 === void 0 ? void 0 : _3.data) === null || _4 === void 0 ? void 0 : _4.the_mountChildWidgets;
18529
- const widgetData = {
18530
- id: output === null || output === void 0 ? void 0 : output.id,
18531
- name: widgetName,
18532
- html: widgetHTML,
18533
- css: widgetCSS,
18534
- js: widgetJS,
18535
- timestamp: widgetTimestamp,
18536
- widgetId: widgetPackageId,
18537
- addevent: widgetAddEvent,
18538
- onmount: widgetOnmount,
18539
- onupdate: widgetOnupdate,
18540
- mountChildWidgets: widgetMountChildWidgets,
18541
- };
18542
- const widgetInstance = new BuilderStatefulWidget();
18543
- widgetInstance.html = widgetData === null || widgetData === void 0 ? void 0 : widgetData.html;
18544
- widgetInstance.componentDidMountFunction = widgetData === null || widgetData === void 0 ? void 0 : widgetData.onmount;
18545
- widgetInstance.addEventFunction = widgetData === null || widgetData === void 0 ? void 0 : widgetData.addevent;
18546
- widgetInstance.mountChildWidgetsFunction = widgetData === null || widgetData === void 0 ? void 0 : widgetData.mountChildWidgets;
18547
- resolve(widgetInstance);
18548
- }));
18549
- });
18550
- }
18523
+ // async getWidgetClassFunction(widgetId: number) {
18524
+ // return new Promise(async (resolve: any) => {
18525
+ // const profileData: any = await new Promise((resolve2: any) => {
18526
+ // let dataFromLocalStorage: string = localStorage?.getItem("profile") || "";
18527
+ // if (dataFromLocalStorage) {
18528
+ // const profileData = JSON.parse(dataFromLocalStorage);
18529
+ // resolve2(profileData)
18530
+ // } else {
18531
+ // resolve2()
18532
+ // }
18533
+ // });
18534
+ // const token = profileData?.token;
18535
+ // let output: any = await this.getWidgetCodeFromId(widgetId, token);
18536
+ // const widgetInfo = output?.data?.the_widgetcode;
18537
+ // const widgetName = widgetInfo?.the_widgetcode_name?.[0]?.data?.the_name;
18538
+ // const widgetHTML = widgetInfo?.the_widgetcode_html?.[0]?.data?.the_html;
18539
+ // const widgetCSS = widgetInfo?.the_widgetcode_css?.[0]?.data?.the_css;
18540
+ // const widgetJS = widgetInfo?.the_widgetcode_js?.[0]?.data?.the_js;
18541
+ // const widgetTimestamp =
18542
+ // widgetInfo?.the_widgetcode_timestamp?.[0]?.data?.the_timestamp;
18543
+ // const widgetPackageId = widgetInfo?.the_widgetcode_widget?.[0].id;
18544
+ // const widgetAddEvent =
18545
+ // widgetInfo?.the_widgetcode_addevent?.[0]?.data?.the_addevent;
18546
+ // const widgetOnmount =
18547
+ // widgetInfo?.the_widgetcode_onmount?.[0]?.data?.the_onmount;
18548
+ // const widgetOnupdate =
18549
+ // widgetInfo?.the_widgetcode_onupdate?.[0]?.data?.the_onupdate;
18550
+ // const widgetMountChildWidgets =
18551
+ // widgetInfo?.the_widgetcode_mountChildWidgets?.[0]?.data
18552
+ // ?.the_mountChildWidgets;
18553
+ // const widgetData = {
18554
+ // id: output?.id,
18555
+ // name: widgetName,
18556
+ // html: widgetHTML,
18557
+ // css: widgetCSS,
18558
+ // js: widgetJS,
18559
+ // timestamp: widgetTimestamp,
18560
+ // widgetId: widgetPackageId,
18561
+ // addevent: widgetAddEvent,
18562
+ // onmount: widgetOnmount,
18563
+ // onupdate: widgetOnupdate,
18564
+ // mountChildWidgets: widgetMountChildWidgets,
18565
+ // };
18566
+ // const widgetInstance = new BuilderStatefulWidget();
18567
+ // widgetInstance.html = widgetData?.html;
18568
+ // widgetInstance.componentDidMountFunction = widgetData?.onmount;
18569
+ // widgetInstance.addEventFunction = widgetData?.addevent;
18570
+ // widgetInstance.mountChildWidgetsFunction = widgetData?.mountChildWidgets;
18571
+ // resolve(widgetInstance);
18572
+ // });
18573
+ // }
18551
18574
  CreateConnectionBetweenEntityLocal(concept1Data, concept2Data, linker) {
18552
18575
  return __awaiter(this, void 0, void 0, function* () {
18553
18576
  var _a;
@@ -18595,6 +18618,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
18595
18618
  class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget {
18596
18619
  constructor() {
18597
18620
  super(...arguments);
18621
+ this.html = "";
18598
18622
  /**
18599
18623
  * These are the child widgets that need to be added to this widget
18600
18624
  */
@@ -18620,7 +18644,7 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
18620
18644
  * @returns the html string that needs to be mounted to the DOM.
18621
18645
  */
18622
18646
  getHtml() {
18623
- return '';
18647
+ return this.html;
18624
18648
  }
18625
18649
  /**
18626
18650
  * This will help us update the data of the child widget. This will also call another function inside of the child widget
@@ -19827,6 +19851,7 @@ __webpack_require__.r(__webpack_exports__);
19827
19851
  /* harmony export */ FreeschemaQueryApi: () => (/* reexport safe */ _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_109__.FreeschemaQueryApi),
19828
19852
  /* harmony export */ GetAllConnectionsOfComposition: () => (/* reexport safe */ _Api_GetAllConnectionsOfComposition__WEBPACK_IMPORTED_MODULE_6__.GetAllConnectionsOfComposition),
19829
19853
  /* harmony export */ GetAllConnectionsOfCompositionBulk: () => (/* reexport safe */ _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_33__.GetAllConnectionsOfCompositionBulk),
19854
+ /* harmony export */ GetAllTheConnectionsByTypeAndOfTheConcept: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_107__.GetAllTheConnectionsByTypeAndOfTheConcept),
19830
19855
  /* harmony export */ GetComposition: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetComposition),
19831
19856
  /* harmony export */ GetCompositionBulk: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulk),
19832
19857
  /* harmony export */ GetCompositionBulkWithDataId: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulkWithDataId),
@@ -20183,6 +20208,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
20183
20208
  var serviceWorker;
20184
20209
  const TABID = Date.now().toString(36) + Math.random().toString(36).substring(2);
20185
20210
  let subscribedListeners = [];
20211
+ let serviceWorkerReady = false;
20212
+ let messageQueue = [];
20186
20213
  /**
20187
20214
  * This function lets you update the access token that the package uses. If this is not passed you cannot create, update, view or delete
20188
20215
  * Your concepts using this package.
@@ -20283,16 +20310,6 @@ function init() {
20283
20310
  // console.log("Status: No active worker", registration);
20284
20311
  // }
20285
20312
  // });
20286
- // // // for now asuming its other
20287
- // // await initConceptConnection(
20288
- // // url,
20289
- // // aiurl,
20290
- // // accessToken,
20291
- // // nodeUrl,
20292
- // // enableAi,
20293
- // // applicationName,
20294
- // // isTest
20295
- // // );
20296
20313
  // } else {
20297
20314
  // let serviceWorkerPath = enableSW.path ? enableSW.path : './serviceWorker.bundle.js'
20298
20315
  // if (enableSW.path && enableSW.path.slice(-1) == '/') serviceWorkerPath = enableSW.path + 'serviceWorker.bundle.js'
@@ -20328,6 +20345,25 @@ function init() {
20328
20345
  reject("Not Completed Initialization");
20329
20346
  }, 5000);
20330
20347
  }
20348
+ // state change
20349
+ if (registration.installing || registration.waiting || registration.active) {
20350
+ registration.addEventListener('statechange', (event) => __awaiter(this, void 0, void 0, function* () {
20351
+ var _a;
20352
+ if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.state) === 'activating') {
20353
+ serviceWorker = navigator.serviceWorker.controller;
20354
+ console.log('Service Worker is activating statechange');
20355
+ yield sendMessage("init", {
20356
+ url,
20357
+ aiurl,
20358
+ accessToken,
20359
+ nodeUrl,
20360
+ enableAi,
20361
+ applicationName,
20362
+ isTest,
20363
+ });
20364
+ }
20365
+ }));
20366
+ }
20331
20367
  // Listen for updates to the service worker
20332
20368
  console.log("update listen start");
20333
20369
  registration.onupdatefound = () => {
@@ -20335,7 +20371,7 @@ function init() {
20335
20371
  console.log("new worker", newWorker);
20336
20372
  if (newWorker) {
20337
20373
  newWorker.onstatechange = () => __awaiter(this, void 0, void 0, function* () {
20338
- console.log("on state change triggered");
20374
+ console.log("on state change triggered", (newWorker.state === "installed" || newWorker.state === "activated" || newWorker.state === 'redundant'), navigator.serviceWorker.controller);
20339
20375
  // if (newWorker.state === 'activated' && navigator.serviceWorker.controller) {
20340
20376
  if ((newWorker.state === "installed" || newWorker.state === "activated" || newWorker.state === 'redundant') && navigator.serviceWorker.controller) {
20341
20377
  // && navigator.serviceWorker.controller) {
@@ -20353,6 +20389,8 @@ function init() {
20353
20389
  isTest,
20354
20390
  });
20355
20391
  success = true;
20392
+ serviceWorkerReady = true;
20393
+ processMessageQueue();
20356
20394
  resolve();
20357
20395
  }
20358
20396
  });
@@ -20361,6 +20399,7 @@ function init() {
20361
20399
  // Listen for the activation of the new service worker
20362
20400
  registration.addEventListener('controllerchange', () => __awaiter(this, void 0, void 0, function* () {
20363
20401
  if (navigator.serviceWorker.controller) {
20402
+ serviceWorker = navigator.serviceWorker.controller;
20364
20403
  console.log('Service worker has been activated');
20365
20404
  yield sendMessage("init", {
20366
20405
  url,
@@ -20375,6 +20414,12 @@ function init() {
20375
20414
  // You can reload the page if necessary or handle the update process here
20376
20415
  }
20377
20416
  }));
20417
+ // If the service worker is already active, mark it as ready
20418
+ if (registration.active) {
20419
+ serviceWorkerReady = true;
20420
+ console.log('Service Worker is already active');
20421
+ processMessageQueue();
20422
+ }
20378
20423
  }))
20379
20424
  .catch((error) => __awaiter(this, void 0, void 0, function* () {
20380
20425
  yield initConceptConnection();
@@ -20405,9 +20450,15 @@ function init() {
20405
20450
  }
20406
20451
  });
20407
20452
  }
20453
+ /**
20454
+ * Method to send message to the service worker from main thread
20455
+ * @param type string
20456
+ * @param payload any
20457
+ * @returns Promise<any>
20458
+ */
20408
20459
  function sendMessage(type, payload) {
20409
20460
  return __awaiter(this, void 0, void 0, function* () {
20410
- const messageId = Math.random().toString(36).substring(5); // Generate a unique message ID
20461
+ const messageId = Math.random().toString(36).substring(2); // Generate a unique message ID
20411
20462
  payload.messageId = messageId;
20412
20463
  payload.TABID = TABID;
20413
20464
  // let actions = payload.actions
@@ -20415,61 +20466,61 @@ function sendMessage(type, payload) {
20415
20466
  return new Promise((resolve, reject) => {
20416
20467
  // navigator.serviceWorker.ready
20417
20468
  // .then((registration) => {
20418
- const responseHandler = (event) => {
20419
- var _a, _b;
20420
- if (((_a = event === null || event === void 0 ? void 0 : event.data) === null || _a === void 0 ? void 0 : _a.messageId) == messageId) { // Check if the message ID matches
20421
- if ((_b = event.data) === null || _b === void 0 ? void 0 : _b.actions) {
20422
- payload.actions = JSON.parse(JSON.stringify(event.data.actions));
20469
+ if (navigator.serviceWorker.controller) {
20470
+ const responseHandler = (event) => {
20471
+ var _a, _b;
20472
+ if (((_a = event === null || event === void 0 ? void 0 : event.data) === null || _a === void 0 ? void 0 : _a.messageId) == messageId) { // Check if the message ID matches
20473
+ if ((_b = event.data) === null || _b === void 0 ? void 0 : _b.actions) {
20474
+ payload.actions = JSON.parse(JSON.stringify(event.data.actions));
20475
+ }
20476
+ resolve(event.data);
20477
+ navigator.serviceWorker.removeEventListener("message", responseHandler);
20423
20478
  }
20424
- resolve(event.data);
20425
- navigator.serviceWorker.removeEventListener("message", responseHandler);
20479
+ };
20480
+ navigator.serviceWorker.addEventListener("message", responseHandler);
20481
+ // console.log("before sending message", type, 'new', newPayload);
20482
+ // serviceWorker?.postMessage({ type, payload });
20483
+ // Send the message to the service worker
20484
+ if (navigator.serviceWorker.controller) {
20485
+ try {
20486
+ navigator.serviceWorker.controller.postMessage({ type, payload: newPayload });
20487
+ }
20488
+ catch (err) {
20489
+ console.log(err);
20490
+ serviceWorker.postMessage({ type, payload: newPayload });
20491
+ }
20492
+ // navigator.serviceWorker.controller.postMessage({ type, payload });
20426
20493
  }
20427
- };
20428
- navigator.serviceWorker.addEventListener("message", responseHandler);
20429
- // console.log("before sending message", type, 'new', newPayload);
20430
- // serviceWorker?.postMessage({ type, payload });
20431
- // Send the message to the service worker
20432
- if (navigator.serviceWorker.controller) {
20433
- serviceWorker.postMessage({ type, payload: newPayload });
20434
- // navigator.serviceWorker.controller.postMessage({ type, payload });
20494
+ else {
20495
+ // wait one second before checking again
20496
+ setTimeout(() => {
20497
+ // if (navigator.serviceWorker.controller) {
20498
+ if (serviceWorker) {
20499
+ serviceWorker.postMessage({ type, payload });
20500
+ // navigator.serviceWorker.controller.postMessage({ type, payload });
20501
+ }
20502
+ else {
20503
+ console.log('not ready', type);
20504
+ reject("Service worker not ready");
20505
+ }
20506
+ }, 90000); // 90 seconds
20507
+ }
20508
+ // Timeout for waiting for the response (e.g., 5 seconds)
20509
+ setTimeout(() => {
20510
+ reject("No response from service worker after timeout");
20511
+ navigator.serviceWorker.removeEventListener("message", responseHandler);
20512
+ }, 90000); // 90 sec
20435
20513
  }
20436
20514
  else {
20437
- // wait one second before checking again
20438
- setTimeout(() => {
20439
- // if (navigator.serviceWorker.controller) {
20440
- if (serviceWorker) {
20441
- serviceWorker.postMessage({ type, payload });
20442
- // navigator.serviceWorker.controller.postMessage({ type, payload });
20443
- }
20444
- else {
20445
- console.log('not ready', type);
20446
- reject("Service worker not ready");
20447
- }
20448
- }, 60000); // 60 seconds
20515
+ messageQueue.push({ message: { type, payload: newPayload } });
20516
+ console.log('Message Queued', type, payload);
20449
20517
  }
20450
- // Timeout for waiting for the response (e.g., 5 seconds)
20451
- setTimeout(() => {
20452
- reject("No response from service worker after timeout");
20453
- navigator.serviceWorker.removeEventListener("message", responseHandler);
20454
- }, 60000); // 60 sec
20455
20518
  // })
20456
20519
  // .catch(err => reject(err))
20457
20520
  // .finally(() => console.log('finally'))
20458
20521
  });
20459
20522
  });
20460
20523
  }
20461
- function dispatchIdEvent(id, data = {}) {
20462
- // console.log('id event dispatched', id)
20463
- if (serviceWorker) {
20464
- // let event = new Event(`${id}`);
20465
- let event = new CustomEvent(`${id}`, data);
20466
- console.log("event fired from", event);
20467
- dispatchEvent(event);
20468
- }
20469
- else {
20470
- _Constants_general_const__WEBPACK_IMPORTED_MODULE_100__.broadcastChannel.postMessage({ type: 'dispatchEvent', payload: { id } });
20471
- }
20472
- }
20473
20524
  // export function sendMessage(type: string, payload: any) {
20474
20525
  // return new Promise((resolve) => {
20475
20526
  // const responseHandler = (event: any) => {
@@ -20498,8 +20549,27 @@ const broadcastActions = {
20498
20549
  // });
20499
20550
  // });
20500
20551
  return { success: true };
20552
+ }),
20553
+ checkInit: (payload) => __awaiter(void 0, void 0, void 0, function* () {
20554
+ console.log('service worker init 0');
20555
+ if (navigator.serviceWorker.controller) {
20556
+ console.log('service worker init 1');
20557
+ serviceWorker = navigator.serviceWorker.controller;
20558
+ }
20559
+ yield sendMessage("init", {
20560
+ url: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl.BASE_URL,
20561
+ aiurl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl.AI_URL,
20562
+ accessToken: _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_99__.TokenStorage.BearerAccessToken,
20563
+ nodeUrl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl.NODE_URL,
20564
+ enableAi: false,
20565
+ applicationName: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_98__.BaseUrl.BASE_APPLICATION
20566
+ });
20567
+ return { success: true };
20501
20568
  })
20502
20569
  };
20570
+ /**
20571
+ * Method to trigger broadcast message listener
20572
+ */
20503
20573
  function listenBroadCastMessages() {
20504
20574
  // broadcast event can be listened through both the service worker and other tabs
20505
20575
  _Constants_general_const__WEBPACK_IMPORTED_MODULE_100__.broadcastChannel.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {
@@ -20613,6 +20683,31 @@ function initConceptConnection() {
20613
20683
  });
20614
20684
  });
20615
20685
  }
20686
+ /**
20687
+ * Method to dispatch Event received from SW
20688
+ * @param id number|string
20689
+ * @param data any
20690
+ */
20691
+ function dispatchIdEvent(id, data = {}) {
20692
+ // console.log('id event dispatched', id)
20693
+ if (serviceWorker) {
20694
+ // let event = new Event(`${id}`);
20695
+ let event = new CustomEvent(`${id}`, data);
20696
+ console.log("event fired from", event);
20697
+ dispatchEvent(event);
20698
+ }
20699
+ else {
20700
+ _Constants_general_const__WEBPACK_IMPORTED_MODULE_100__.broadcastChannel.postMessage({ type: 'dispatchEvent', payload: { id } });
20701
+ }
20702
+ }
20703
+ function processMessageQueue() {
20704
+ return __awaiter(this, void 0, void 0, function* () {
20705
+ while (messageQueue.length > 0) {
20706
+ const { message, resolve, reject } = messageQueue.shift();
20707
+ yield sendMessage(message.type, message.payload);
20708
+ }
20709
+ });
20710
+ }
20616
20711
 
20617
20712
 
20618
20713
  /***/ })
@@ -20720,6 +20815,7 @@ function initConceptConnection() {
20720
20815
  /******/ var __webpack_exports__FreeschemaQueryApi = __webpack_exports__.FreeschemaQueryApi;
20721
20816
  /******/ var __webpack_exports__GetAllConnectionsOfComposition = __webpack_exports__.GetAllConnectionsOfComposition;
20722
20817
  /******/ var __webpack_exports__GetAllConnectionsOfCompositionBulk = __webpack_exports__.GetAllConnectionsOfCompositionBulk;
20818
+ /******/ var __webpack_exports__GetAllTheConnectionsByTypeAndOfTheConcept = __webpack_exports__.GetAllTheConnectionsByTypeAndOfTheConcept;
20723
20819
  /******/ var __webpack_exports__GetComposition = __webpack_exports__.GetComposition;
20724
20820
  /******/ var __webpack_exports__GetCompositionBulk = __webpack_exports__.GetCompositionBulk;
20725
20821
  /******/ var __webpack_exports__GetCompositionBulkWithDataId = __webpack_exports__.GetCompositionBulkWithDataId;
@@ -20831,7 +20927,7 @@ function initConceptConnection() {
20831
20927
  /******/ var __webpack_exports__storeToDatabase = __webpack_exports__.storeToDatabase;
20832
20928
  /******/ var __webpack_exports__subscribedListeners = __webpack_exports__.subscribedListeners;
20833
20929
  /******/ var __webpack_exports__updateAccessToken = __webpack_exports__.updateAccessToken;
20834
- /******/ 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__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__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 };
20930
+ /******/ 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__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__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__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 };
20835
20931
  /******/
20836
20932
 
20837
20933
  //# sourceMappingURL=main.bundle.js.map