mftsccs-browser 2.0.16-beta → 2.0.18-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 +748 -218
- package/dist/main.bundle.js.map +1 -1
- package/dist/serviceWorker.bundle.js +739 -217
- package/dist/serviceWorker.bundle.js.map +1 -1
- package/dist/types/DataStructures/BaseUrl.d.ts +2 -0
- package/dist/types/Services/Upload.d.ts +26 -0
- package/dist/types/Widgets/RenderWidgetService.d.ts +3 -0
- package/dist/types/Widgets/StatefulWidget.d.ts +18 -0
- package/dist/types/app.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4276,6 +4276,16 @@ class BaseUrl {
|
|
|
4276
4276
|
static FreeschemaQueryUrl() {
|
|
4277
4277
|
return this.BASE_URL + '/api/freeschema-query';
|
|
4278
4278
|
}
|
|
4279
|
+
//////////////////////////////////////////////////////////////////////
|
|
4280
|
+
//////////////////////API FOR IMAGE UPLOAD //////////////////////
|
|
4281
|
+
static uploadImageUrl() {
|
|
4282
|
+
return this.BASE_URL + '/api/Image/UploadImage';
|
|
4283
|
+
}
|
|
4284
|
+
//////////////////////////////////////////////////////////////////////
|
|
4285
|
+
//////////////////////API FOR FILE UPLOAD //////////////////////
|
|
4286
|
+
static uploadFileUrl() {
|
|
4287
|
+
return this.BASE_URL + '/api/Image/UploadFile';
|
|
4288
|
+
}
|
|
4279
4289
|
}
|
|
4280
4290
|
BaseUrl.BASE_URL = "https://localhost:7053/";
|
|
4281
4291
|
BaseUrl.AI_URL = "https://ai.freeschema.com";
|
|
@@ -21001,6 +21011,151 @@ function UpdateComposition(patcherStructure) {
|
|
|
21001
21011
|
}
|
|
21002
21012
|
|
|
21003
21013
|
|
|
21014
|
+
/***/ }),
|
|
21015
|
+
|
|
21016
|
+
/***/ "./src/Services/Upload.ts":
|
|
21017
|
+
/*!********************************!*\
|
|
21018
|
+
!*** ./src/Services/Upload.ts ***!
|
|
21019
|
+
\********************************/
|
|
21020
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
21021
|
+
|
|
21022
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21023
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21024
|
+
/* harmony export */ uploadAttachment: () => (/* binding */ uploadAttachment),
|
|
21025
|
+
/* harmony export */ uploadFile: () => (/* binding */ uploadFile),
|
|
21026
|
+
/* harmony export */ uploadImage: () => (/* binding */ uploadImage),
|
|
21027
|
+
/* harmony export */ validDocumentFormats: () => (/* binding */ validDocumentFormats),
|
|
21028
|
+
/* harmony export */ validImageFormats: () => (/* binding */ validImageFormats)
|
|
21029
|
+
/* harmony export */ });
|
|
21030
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
21031
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
21032
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
21033
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
21034
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21035
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21036
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21037
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21038
|
+
});
|
|
21039
|
+
};
|
|
21040
|
+
|
|
21041
|
+
const validImageFormats = [
|
|
21042
|
+
"image/jpeg",
|
|
21043
|
+
"image/jpg",
|
|
21044
|
+
"image/png",
|
|
21045
|
+
"image/webp",
|
|
21046
|
+
];
|
|
21047
|
+
const validDocumentFormats = [
|
|
21048
|
+
"application/msword",
|
|
21049
|
+
"application/vnd.ms-excel",
|
|
21050
|
+
"application/vnd.ms-powerpoint",
|
|
21051
|
+
"text/plain",
|
|
21052
|
+
"application/pdf",
|
|
21053
|
+
];
|
|
21054
|
+
/**
|
|
21055
|
+
* Generic method to upload file or image
|
|
21056
|
+
* @param file File
|
|
21057
|
+
* @returns Promise<{message: string, success: boolean, url?: string}>
|
|
21058
|
+
*/
|
|
21059
|
+
function uploadAttachment(file, token) {
|
|
21060
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21061
|
+
try {
|
|
21062
|
+
console.log("File Type", file.type);
|
|
21063
|
+
const formData = new FormData();
|
|
21064
|
+
let response;
|
|
21065
|
+
if (validDocumentFormats.includes(file.type)) {
|
|
21066
|
+
// File
|
|
21067
|
+
formData.append("file", file, file.name);
|
|
21068
|
+
response = yield uploadFile(formData, token);
|
|
21069
|
+
}
|
|
21070
|
+
else if (validImageFormats.includes(file.type)) {
|
|
21071
|
+
// Image
|
|
21072
|
+
formData.append("image", file, file.name);
|
|
21073
|
+
response = yield uploadImage(formData, token);
|
|
21074
|
+
}
|
|
21075
|
+
else {
|
|
21076
|
+
return { message: "Invalid File Format", success: false };
|
|
21077
|
+
}
|
|
21078
|
+
if (!(response === null || response === void 0 ? void 0 : response.data)) {
|
|
21079
|
+
return { message: "File Upload Failed", success: false };
|
|
21080
|
+
}
|
|
21081
|
+
return { message: "Upload Success", success: true, url: response.data };
|
|
21082
|
+
}
|
|
21083
|
+
catch (err) {
|
|
21084
|
+
console.error(err);
|
|
21085
|
+
throw err;
|
|
21086
|
+
}
|
|
21087
|
+
});
|
|
21088
|
+
}
|
|
21089
|
+
/**
|
|
21090
|
+
* Method to upload image to server
|
|
21091
|
+
* @param body FormData
|
|
21092
|
+
* @param token string?
|
|
21093
|
+
* @returns JSON | string | null
|
|
21094
|
+
*/
|
|
21095
|
+
function uploadImage(body_1) {
|
|
21096
|
+
return __awaiter(this, arguments, void 0, function* (body, token = "") {
|
|
21097
|
+
try {
|
|
21098
|
+
const response = yield fetch(_app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.uploadImageUrl(), {
|
|
21099
|
+
method: "POST",
|
|
21100
|
+
body,
|
|
21101
|
+
headers: {
|
|
21102
|
+
Authorization: `Bearer ${token}`,
|
|
21103
|
+
},
|
|
21104
|
+
});
|
|
21105
|
+
if (!response.ok) {
|
|
21106
|
+
// Check content type before parsing
|
|
21107
|
+
const contentType = response.headers.get("content-type");
|
|
21108
|
+
if (contentType && contentType.includes("text/plain")) {
|
|
21109
|
+
console.info(response === null || response === void 0 ? void 0 : response.text());
|
|
21110
|
+
}
|
|
21111
|
+
const errorData = yield (response === null || response === void 0 ? void 0 : response.text());
|
|
21112
|
+
console.error(`${response.status} ${errorData}`); // Log error response data
|
|
21113
|
+
return null;
|
|
21114
|
+
}
|
|
21115
|
+
return yield response.json();
|
|
21116
|
+
}
|
|
21117
|
+
catch (err) {
|
|
21118
|
+
console.error(err);
|
|
21119
|
+
return null;
|
|
21120
|
+
}
|
|
21121
|
+
});
|
|
21122
|
+
}
|
|
21123
|
+
/**
|
|
21124
|
+
* Method to upload file to server
|
|
21125
|
+
* @param body FormData
|
|
21126
|
+
* @param token string?
|
|
21127
|
+
* @returns JSON | string | null
|
|
21128
|
+
*/
|
|
21129
|
+
function uploadFile(body_1) {
|
|
21130
|
+
return __awaiter(this, arguments, void 0, function* (body, token = "") {
|
|
21131
|
+
try {
|
|
21132
|
+
const response = yield fetch(_app__WEBPACK_IMPORTED_MODULE_0__.BaseUrl.uploadFileUrl(), {
|
|
21133
|
+
method: "POST",
|
|
21134
|
+
body,
|
|
21135
|
+
headers: {
|
|
21136
|
+
Authorization: `Bearer ${token}`,
|
|
21137
|
+
},
|
|
21138
|
+
});
|
|
21139
|
+
if (!response.ok) {
|
|
21140
|
+
// Check content type before parsing
|
|
21141
|
+
const contentType = response.headers.get("content-type");
|
|
21142
|
+
if (contentType && contentType.includes("text/plain")) {
|
|
21143
|
+
console.info(response.text());
|
|
21144
|
+
}
|
|
21145
|
+
const errorData = yield response.text();
|
|
21146
|
+
console.error(`${response.status} ${errorData}`); // Log error response data
|
|
21147
|
+
return null;
|
|
21148
|
+
}
|
|
21149
|
+
return yield response.json();
|
|
21150
|
+
}
|
|
21151
|
+
catch (err) {
|
|
21152
|
+
console.error(err);
|
|
21153
|
+
return null;
|
|
21154
|
+
}
|
|
21155
|
+
});
|
|
21156
|
+
}
|
|
21157
|
+
|
|
21158
|
+
|
|
21004
21159
|
/***/ }),
|
|
21005
21160
|
|
|
21006
21161
|
/***/ "./src/Services/User/UserTranslation.ts":
|
|
@@ -21872,6 +22027,320 @@ class BuilderStatefulWidget extends _StatefulWidget__WEBPACK_IMPORTED_MODULE_0__
|
|
|
21872
22027
|
}
|
|
21873
22028
|
|
|
21874
22029
|
|
|
22030
|
+
/***/ }),
|
|
22031
|
+
|
|
22032
|
+
/***/ "./src/Widgets/RenderWidgetService.ts":
|
|
22033
|
+
/*!********************************************!*\
|
|
22034
|
+
!*** ./src/Widgets/RenderWidgetService.ts ***!
|
|
22035
|
+
\********************************************/
|
|
22036
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
22037
|
+
|
|
22038
|
+
__webpack_require__.r(__webpack_exports__);
|
|
22039
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22040
|
+
/* harmony export */ renderLatestWidget: () => (/* binding */ renderLatestWidget),
|
|
22041
|
+
/* harmony export */ renderPage: () => (/* binding */ renderPage),
|
|
22042
|
+
/* harmony export */ renderWidget: () => (/* binding */ renderWidget)
|
|
22043
|
+
/* harmony export */ });
|
|
22044
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
22045
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22046
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
22047
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
22048
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
22049
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22050
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22051
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22052
|
+
});
|
|
22053
|
+
};
|
|
22054
|
+
|
|
22055
|
+
function renderPage(pageId, attachNode, props) {
|
|
22056
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22057
|
+
var _a;
|
|
22058
|
+
const widgets = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetRelation)(pageId, "the_page_body");
|
|
22059
|
+
if ((_a = widgets === null || widgets === void 0 ? void 0 : widgets[0]) === null || _a === void 0 ? void 0 : _a.id)
|
|
22060
|
+
yield renderWidget(widgets[0].id, attachNode, props);
|
|
22061
|
+
});
|
|
22062
|
+
}
|
|
22063
|
+
function renderLatestWidget(widgetId, attachNode, props) {
|
|
22064
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22065
|
+
var _a;
|
|
22066
|
+
const widgets = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.GetRelation)(widgetId, "the_widget_latest");
|
|
22067
|
+
if ((widgets === null || widgets === void 0 ? void 0 : widgets.length) == 0)
|
|
22068
|
+
yield renderWidget(widgetId, attachNode, props);
|
|
22069
|
+
else {
|
|
22070
|
+
const latestWidgetId = (_a = widgets === null || widgets === void 0 ? void 0 : widgets[0]) === null || _a === void 0 ? void 0 : _a.id;
|
|
22071
|
+
if (latestWidgetId)
|
|
22072
|
+
yield renderWidget(latestWidgetId, attachNode, props);
|
|
22073
|
+
}
|
|
22074
|
+
});
|
|
22075
|
+
}
|
|
22076
|
+
function renderWidget(widgetId, attachNode, props) {
|
|
22077
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22078
|
+
try {
|
|
22079
|
+
const widgetTree = yield getWidgetFromId(widgetId);
|
|
22080
|
+
const appElement = attachNode;
|
|
22081
|
+
// const newWidget = await convertWidgetTreeToWidget(
|
|
22082
|
+
yield convertWidgetTreeToWidget(widgetTree, appElement, undefined, props);
|
|
22083
|
+
// add newWidget css to the page
|
|
22084
|
+
const style = document.createElement("style");
|
|
22085
|
+
style.innerHTML = widgetTree.css;
|
|
22086
|
+
appElement.appendChild(style);
|
|
22087
|
+
// add newWidget js to the page
|
|
22088
|
+
const script = document.createElement("script");
|
|
22089
|
+
script.innerHTML = widgetTree.js;
|
|
22090
|
+
appElement.appendChild(script);
|
|
22091
|
+
// remove class wb-initial-empty from all elements that have it from fspagePreview
|
|
22092
|
+
const wbInitialEmpty = appElement.querySelectorAll(".wb-initial-empty");
|
|
22093
|
+
wbInitialEmpty.forEach((el) => {
|
|
22094
|
+
el.classList.remove("wb-initial-empty");
|
|
22095
|
+
}); // add the css for the class fspage-preview
|
|
22096
|
+
document
|
|
22097
|
+
.querySelectorAll('[onclick="widgetSelected(event)"]')
|
|
22098
|
+
.forEach((element) => {
|
|
22099
|
+
element.removeAttribute("onclick");
|
|
22100
|
+
}); // remove the onclick event from the widget container
|
|
22101
|
+
}
|
|
22102
|
+
catch (error) {
|
|
22103
|
+
console.error("Error Caught Rendering Widget");
|
|
22104
|
+
}
|
|
22105
|
+
});
|
|
22106
|
+
}
|
|
22107
|
+
/**
|
|
22108
|
+
* This function builds a widget tree. This tree is built fully along with its children
|
|
22109
|
+
* This tree can then be used to build the whole dom for the widget.
|
|
22110
|
+
* This has recursive property so that the recursion can be used to build this tree.
|
|
22111
|
+
* @param widgetId the id of the widget
|
|
22112
|
+
* @returns WidgetTree.
|
|
22113
|
+
*/
|
|
22114
|
+
function getWidgetFromId(widgetId_1) {
|
|
22115
|
+
return __awaiter(this, arguments, void 0, function* (widgetId, visitedWidgets = [], token = "") {
|
|
22116
|
+
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, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36;
|
|
22117
|
+
try {
|
|
22118
|
+
const widgetNode = new _app__WEBPACK_IMPORTED_MODULE_0__.WidgetTree();
|
|
22119
|
+
const output = yield getWidgetCodeFromId(widgetId, token);
|
|
22120
|
+
visitedWidgets.push(widgetId);
|
|
22121
|
+
const widgetInfo = (_a = output === null || output === void 0 ? void 0 : output.data) === null || _a === void 0 ? void 0 : _a.the_widget;
|
|
22122
|
+
widgetNode.name = (_d = (_c = (_b = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_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;
|
|
22123
|
+
widgetNode.html = (_g = (_f = (_e = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_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;
|
|
22124
|
+
widgetNode.css = (_k = (_j = (_h = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_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;
|
|
22125
|
+
widgetNode.js = (_o = (_m = (_l = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_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;
|
|
22126
|
+
widgetNode.origin = Number((_r = (_q = (_p = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_origin) === null || _p === void 0 ? void 0 : _p[0]) === null || _q === void 0 ? void 0 : _q.data) === null || _r === void 0 ? void 0 : _r.the_originid);
|
|
22127
|
+
widgetNode.version =
|
|
22128
|
+
(_u = (_t = (_s = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_version) === null || _s === void 0 ? void 0 : _s[0]) === null || _t === void 0 ? void 0 : _t.data) === null || _u === void 0 ? void 0 : _u.the_version;
|
|
22129
|
+
widgetNode.clean = (_x = (_w = (_v = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_clean) === null || _v === void 0 ? void 0 : _v[0]) === null || _w === void 0 ? void 0 : _w.data) === null || _x === void 0 ? void 0 : _x.the_clean;
|
|
22130
|
+
widgetNode.timestamp =
|
|
22131
|
+
(_0 = (_z = (_y = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_timestamp) === null || _y === void 0 ? void 0 : _y[0]) === null || _z === void 0 ? void 0 : _z.data) === null || _0 === void 0 ? void 0 : _0.the_timestamp;
|
|
22132
|
+
widgetNode.id = output.id;
|
|
22133
|
+
const widgetTypeValue = (_3 = (_2 = (_1 = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_type) === null || _1 === void 0 ? void 0 : _1[0]) === null || _2 === void 0 ? void 0 : _2.data) === null || _3 === void 0 ? void 0 : _3.the_type;
|
|
22134
|
+
if (widgetTypeValue == "null" || widgetTypeValue == null) {
|
|
22135
|
+
widgetNode.type = "the_element_name";
|
|
22136
|
+
}
|
|
22137
|
+
else {
|
|
22138
|
+
widgetNode.type = widgetTypeValue;
|
|
22139
|
+
}
|
|
22140
|
+
widgetNode.after_render =
|
|
22141
|
+
(_6 = (_5 = (_4 = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_after_render) === null || _4 === void 0 ? void 0 : _4[0]) === null || _5 === void 0 ? void 0 : _5.data) === null || _6 === void 0 ? void 0 : _6.the_after_render;
|
|
22142
|
+
widgetNode.before_render =
|
|
22143
|
+
(_9 = (_8 = (_7 = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_before_render) === null || _7 === void 0 ? void 0 : _7[0]) === null || _8 === void 0 ? void 0 : _8.data) === null || _9 === void 0 ? void 0 : _9.the_before_render;
|
|
22144
|
+
widgetNode.update = (_12 = (_11 = (_10 = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_update) === null || _10 === void 0 ? void 0 : _10[0]) === null || _11 === void 0 ? void 0 : _11.data) === null || _12 === void 0 ? void 0 : _12.the_update;
|
|
22145
|
+
widgetNode.widgetId = widgetId;
|
|
22146
|
+
widgetNode.mount_child =
|
|
22147
|
+
(_15 = (_14 = (_13 = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_mount_child) === null || _13 === void 0 ? void 0 : _13[0]) === null || _14 === void 0 ? void 0 : _14.data) === null || _15 === void 0 ? void 0 : _15.the_mount_child;
|
|
22148
|
+
const childWidgets = widgetInfo === null || widgetInfo === void 0 ? void 0 : widgetInfo.the_widget_s_child;
|
|
22149
|
+
// if there are children present in the widget then convert the children to widget and put it inside of the tree.
|
|
22150
|
+
if (childWidgets === null || childWidgets === void 0 ? void 0 : childWidgets.length) {
|
|
22151
|
+
for (let i = 0; i < childWidgets.length; i++) {
|
|
22152
|
+
const childWidgetId = ((_19 = (_18 = (_17 = (_16 = childWidgets[i]) === null || _16 === void 0 ? void 0 : _16.data.the_child_widget) === null || _17 === void 0 ? void 0 : _17.the_child_widget_info) === null || _18 === void 0 ? void 0 : _18[0]) === null || _19 === void 0 ? void 0 : _19.id) ||
|
|
22153
|
+
((_24 = (_23 = (_22 = (_21 = (_20 = childWidgets[i]) === null || _20 === void 0 ? void 0 : _20.data.the_child_widget) === null || _21 === void 0 ? void 0 : _21.the_child_widget_parent) === null || _22 === void 0 ? void 0 : _22[0]) === null || _23 === void 0 ? void 0 : _23.data) === null || _24 === void 0 ? void 0 : _24.the_parent);
|
|
22154
|
+
const childWidget = yield getWidgetFromId(childWidgetId, visitedWidgets, token);
|
|
22155
|
+
const childWidgetTypeValue = (_30 = (_29 = (_28 = (_27 = (_26 = (_25 = childWidgets[i]) === null || _25 === void 0 ? void 0 : _25.data) === null || _26 === void 0 ? void 0 : _26.the_child_widget) === null || _27 === void 0 ? void 0 : _27.the_child_widget_type) === null || _28 === void 0 ? void 0 : _28[0]) === null || _29 === void 0 ? void 0 : _29.data) === null || _30 === void 0 ? void 0 : _30.the_type;
|
|
22156
|
+
const childWidgetWrapperId = (_36 = (_35 = (_34 = (_33 = (_32 = (_31 = childWidgets[i]) === null || _31 === void 0 ? void 0 : _31.data) === null || _32 === void 0 ? void 0 : _32.the_child_widget) === null || _33 === void 0 ? void 0 : _33.the_child_widget_wrapper) === null || _34 === void 0 ? void 0 : _34[0]) === null || _35 === void 0 ? void 0 : _35.data) === null || _36 === void 0 ? void 0 : _36.the_wrapper;
|
|
22157
|
+
if (childWidgetTypeValue == "null" || childWidgetTypeValue == null) {
|
|
22158
|
+
childWidget.type = "the_element_name";
|
|
22159
|
+
}
|
|
22160
|
+
else {
|
|
22161
|
+
childWidget.type = childWidgetTypeValue;
|
|
22162
|
+
}
|
|
22163
|
+
childWidget.wrapper = childWidgetWrapperId;
|
|
22164
|
+
widgetNode.children.push(childWidget);
|
|
22165
|
+
}
|
|
22166
|
+
}
|
|
22167
|
+
return widgetNode;
|
|
22168
|
+
}
|
|
22169
|
+
catch (ex) {
|
|
22170
|
+
console.error("error", ex);
|
|
22171
|
+
throw ex;
|
|
22172
|
+
}
|
|
22173
|
+
});
|
|
22174
|
+
}
|
|
22175
|
+
/**
|
|
22176
|
+
*
|
|
22177
|
+
* @param tree Widget tree from getWidgetFromId(widgetId);
|
|
22178
|
+
* @param parentElement this is the dom element on which we want to add our widget
|
|
22179
|
+
* @returns the widgetree with widgets attached inside of it.
|
|
22180
|
+
* Also this will add the tree to the dom.
|
|
22181
|
+
*/
|
|
22182
|
+
function convertWidgetTreeToWidget(tree_1, parentElement_1) {
|
|
22183
|
+
return __awaiter(this, arguments, void 0, function* (tree, parentElement, isMain = true, props) {
|
|
22184
|
+
var _a, _b;
|
|
22185
|
+
const newWidget = new _app__WEBPACK_IMPORTED_MODULE_0__.BuilderStatefulWidget();
|
|
22186
|
+
newWidget.html = tree.html;
|
|
22187
|
+
newWidget.widgetType = tree.type;
|
|
22188
|
+
newWidget.componentDidMountFunction = tree.before_render;
|
|
22189
|
+
newWidget.addEventFunction = tree.after_render;
|
|
22190
|
+
newWidget.mountChildWidgetsFunction = tree.mount_child;
|
|
22191
|
+
// newWidget.css = newWidget.css ? newWidget.css : "";
|
|
22192
|
+
if (props)
|
|
22193
|
+
newWidget.data = props;
|
|
22194
|
+
parentElement.innerHTML = "";
|
|
22195
|
+
const newParent = parentElement;
|
|
22196
|
+
//let newParent = appendWidgetContainerToParent(parentElement, tree.id, isMain);
|
|
22197
|
+
isMain = false;
|
|
22198
|
+
if (newParent) {
|
|
22199
|
+
yield newWidget.mount(newParent);
|
|
22200
|
+
tree.widget = newWidget;
|
|
22201
|
+
if (tree.children.length > 0) {
|
|
22202
|
+
if (((_a = newWidget.childWidgetElement) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
22203
|
+
for (let i = 0; i < ((_b = tree.children) === null || _b === void 0 ? void 0 : _b.length); i++) {
|
|
22204
|
+
const child = tree.children[i];
|
|
22205
|
+
for (let j = 0; j < newWidget.childWidgetElement.length; j++) {
|
|
22206
|
+
const widgetElement = newWidget.childWidgetElement[j];
|
|
22207
|
+
if (child.id ===
|
|
22208
|
+
Number(widgetElement.getAttribute("data-widgetid")) &&
|
|
22209
|
+
child.wrapper === widgetElement.id) {
|
|
22210
|
+
const clearedChildWidget = clearDraggedWidget(child);
|
|
22211
|
+
const childWidget = yield convertWidgetTreeToWidget(clearedChildWidget, widgetElement, isMain);
|
|
22212
|
+
newWidget.childWidgets.push(childWidget);
|
|
22213
|
+
newWidget.css =
|
|
22214
|
+
newWidget.css +
|
|
22215
|
+
`div[data-widgetid="${child.id}"] { ${child.css} }`;
|
|
22216
|
+
childWidget.dataChange((value) => {
|
|
22217
|
+
var _a;
|
|
22218
|
+
console.log("This is the data change in child", value);
|
|
22219
|
+
const type = (_a = value === null || value === void 0 ? void 0 : value.type) === null || _a === void 0 ? void 0 : _a.characterValue;
|
|
22220
|
+
if (type) {
|
|
22221
|
+
newWidget.childrenData[type] = value;
|
|
22222
|
+
}
|
|
22223
|
+
console.log("new child data", newWidget.childrenData);
|
|
22224
|
+
});
|
|
22225
|
+
}
|
|
22226
|
+
}
|
|
22227
|
+
}
|
|
22228
|
+
}
|
|
22229
|
+
}
|
|
22230
|
+
}
|
|
22231
|
+
console.log("newWidget ->", newWidget);
|
|
22232
|
+
// Unwrap specific containers
|
|
22233
|
+
yield unwrapContainers(parentElement, ".mftsccs-marking-element");
|
|
22234
|
+
yield unwrapContainers(parentElement, ".widget_container");
|
|
22235
|
+
return newWidget;
|
|
22236
|
+
});
|
|
22237
|
+
}
|
|
22238
|
+
function getWidgetCodeFromId(widgetId, token) {
|
|
22239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22240
|
+
try {
|
|
22241
|
+
const searchFirst = new _app__WEBPACK_IMPORTED_MODULE_0__.SearchQuery();
|
|
22242
|
+
searchFirst.composition = widgetId;
|
|
22243
|
+
searchFirst.fullLinkers = [
|
|
22244
|
+
"the_widget",
|
|
22245
|
+
"the_widget_widget",
|
|
22246
|
+
"the_widget_name",
|
|
22247
|
+
"the_widget_html",
|
|
22248
|
+
"the_widget_css",
|
|
22249
|
+
"the_widget_js",
|
|
22250
|
+
"the_widget_timestamp",
|
|
22251
|
+
"the_widget_type",
|
|
22252
|
+
"the_widget_after_render",
|
|
22253
|
+
"the_widget_before_render",
|
|
22254
|
+
"the_widget_update",
|
|
22255
|
+
"the_widget_mount_child",
|
|
22256
|
+
"the_widget_clean",
|
|
22257
|
+
"the_widget_s_child",
|
|
22258
|
+
"the_widget_version",
|
|
22259
|
+
"the_widget_origin",
|
|
22260
|
+
];
|
|
22261
|
+
searchFirst.inpage = 100;
|
|
22262
|
+
const searchSecond = new _app__WEBPACK_IMPORTED_MODULE_0__.SearchQuery();
|
|
22263
|
+
searchSecond.fullLinkers = [
|
|
22264
|
+
"the_child_widget",
|
|
22265
|
+
"the_child_widget_type",
|
|
22266
|
+
"the_child_widget_parent",
|
|
22267
|
+
"the_child_widget_wrapper",
|
|
22268
|
+
"the_child_widget_info",
|
|
22269
|
+
];
|
|
22270
|
+
searchSecond.inpage = 100;
|
|
22271
|
+
const queryParams = [searchFirst, searchSecond];
|
|
22272
|
+
const output = yield (0,_app__WEBPACK_IMPORTED_MODULE_0__.SearchLinkMultipleAll)(queryParams, token);
|
|
22273
|
+
console.log("getWidgetCodeFromId output ->", output);
|
|
22274
|
+
return output;
|
|
22275
|
+
}
|
|
22276
|
+
catch (error) {
|
|
22277
|
+
console.error("error", error);
|
|
22278
|
+
throw error;
|
|
22279
|
+
}
|
|
22280
|
+
});
|
|
22281
|
+
}
|
|
22282
|
+
function clearDraggedWidget(widgetTree) {
|
|
22283
|
+
widgetTree.html = widgetTree.html.replace(/<[^>]*\bclass=["'][^"']*\bwidget_container\b[^"']*["'][^>]*>/g, (match) => {
|
|
22284
|
+
return match.replace(/\bwidget_container\b/g, "").trim();
|
|
22285
|
+
});
|
|
22286
|
+
widgetTree.html = widgetTree.html.replace(/<[^>]*\bdraggable=["'][^"']*\btrue\b[^"']*["'][^>]*>/g, (match) => {
|
|
22287
|
+
return match.replace(/\btrue\b/g, "false").trim();
|
|
22288
|
+
});
|
|
22289
|
+
widgetTree.html = widgetTree.html.replace(/<[^>]*\bclass=["'][^"']*\bhover-element\b[^"']*["'][^>]*>/g, (match) => {
|
|
22290
|
+
return match.replace(/\bhover-element\b/g, "").trim();
|
|
22291
|
+
});
|
|
22292
|
+
widgetTree.html = widgetTree.html.replace(/<[^>]*\bclass=["'][^"']*\bwb-block\b[^"']*["'][^>]*>/g, (match) => {
|
|
22293
|
+
return match.replace(/\bwb-block\b/g, "").trim();
|
|
22294
|
+
});
|
|
22295
|
+
widgetTree.html = widgetTree.html.replace(/<[^>]*onclick="widgetSelected\(event\)"\s*,?\s*ondragover="_dragService\.dragOverWidgetElement\(event\)"\s*,?\s*ondrop="_dragService\.dropWidgetElement\(event\)"\s*,?\s*ondragstart="_dragService\.dragStartWidgetElement\(event\)"\s*,?\s*ondragend="_dragService\.dragEndWidgetElement\(event\)"[^>]*>/g, (match) => {
|
|
22296
|
+
return match
|
|
22297
|
+
.replace(/onclick="widgetSelected\(event\)"/g, 'onclick=""')
|
|
22298
|
+
.replace(/ondragover="_dragService\.dragOverWidgetElement\(event\)"/g, 'ondragover=""')
|
|
22299
|
+
.replace(/ondrop="_dragService\.dropWidgetElement\(event\)"/g, 'ondrop=""')
|
|
22300
|
+
.replace(/ondragstart="_dragService\.dragStartWidgetElement\(event\)"/g, 'ondragstart=""')
|
|
22301
|
+
.replace(/ondragend="_dragService\.dragEndWidgetElement\(event\)"/g, 'ondragend=""')
|
|
22302
|
+
.trim();
|
|
22303
|
+
});
|
|
22304
|
+
widgetTree.html = widgetTree.html.replace(/<[^>]*\bondragstart=["'][^"']*\b_dragService\.onWidgetDragStart\(event\)\b[^"']*["'][^>]*>/g, (match) => {
|
|
22305
|
+
return match
|
|
22306
|
+
.replace(/\b_dragService\.onWidgetDragStart\(event\)\b/g, "")
|
|
22307
|
+
.trim();
|
|
22308
|
+
});
|
|
22309
|
+
return widgetTree;
|
|
22310
|
+
}
|
|
22311
|
+
function unwrapWidgetContainers(widgetContainerEl, queryParam) {
|
|
22312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22313
|
+
// Select all div elements with the queryParam
|
|
22314
|
+
const widgetContainers = widgetContainerEl.querySelectorAll(queryParam);
|
|
22315
|
+
// Loop through each div and replace it with its inner content
|
|
22316
|
+
widgetContainers.forEach((element) => {
|
|
22317
|
+
// Move all child nodes of the div before the div
|
|
22318
|
+
while (element.firstChild) {
|
|
22319
|
+
element.parentNode.insertBefore(element.firstChild, element);
|
|
22320
|
+
}
|
|
22321
|
+
// Remove the empty div
|
|
22322
|
+
element.remove();
|
|
22323
|
+
});
|
|
22324
|
+
return widgetContainerEl;
|
|
22325
|
+
});
|
|
22326
|
+
}
|
|
22327
|
+
function unwrapContainers(parentElement, selector) {
|
|
22328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22329
|
+
const elements = parentElement.querySelectorAll(selector);
|
|
22330
|
+
for (const el of elements) {
|
|
22331
|
+
const parent = el.parentElement;
|
|
22332
|
+
if (parent) {
|
|
22333
|
+
while (el.firstChild) {
|
|
22334
|
+
const unwrappedChild = yield unwrapWidgetContainers(el.firstChild, selector);
|
|
22335
|
+
parent.insertBefore(unwrappedChild, el);
|
|
22336
|
+
}
|
|
22337
|
+
parent.removeChild(el);
|
|
22338
|
+
}
|
|
22339
|
+
}
|
|
22340
|
+
});
|
|
22341
|
+
}
|
|
22342
|
+
|
|
22343
|
+
|
|
21875
22344
|
/***/ }),
|
|
21876
22345
|
|
|
21877
22346
|
/***/ "./src/Widgets/StatefulWidget.ts":
|
|
@@ -21910,6 +22379,10 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
|
|
|
21910
22379
|
*/
|
|
21911
22380
|
this.childWidgets = [];
|
|
21912
22381
|
this.childWidgetElement = [];
|
|
22382
|
+
/**
|
|
22383
|
+
* store widget state datas to pass through child widgets
|
|
22384
|
+
*/
|
|
22385
|
+
this.widgetState = {};
|
|
21913
22386
|
/**
|
|
21914
22387
|
* This is the id of the parentElement of this widget.
|
|
21915
22388
|
*/
|
|
@@ -22048,6 +22521,43 @@ class StatefulWidget extends _BaseWidget__WEBPACK_IMPORTED_MODULE_0__.BaseWidget
|
|
|
22048
22521
|
*/
|
|
22049
22522
|
after_render() {
|
|
22050
22523
|
}
|
|
22524
|
+
/**
|
|
22525
|
+
* render child widgets
|
|
22526
|
+
*/
|
|
22527
|
+
renderChildWidgets() {
|
|
22528
|
+
var _a;
|
|
22529
|
+
(_a = this.childWidgets) === null || _a === void 0 ? void 0 : _a.forEach((child) => {
|
|
22530
|
+
child.render();
|
|
22531
|
+
});
|
|
22532
|
+
}
|
|
22533
|
+
/**
|
|
22534
|
+
* save widget state data as key and value pair.
|
|
22535
|
+
*/
|
|
22536
|
+
setWidgetState(key, value) {
|
|
22537
|
+
this.widgetState[key] = value;
|
|
22538
|
+
let thisWidget = this;
|
|
22539
|
+
function updateChildStateRecursive(widget) {
|
|
22540
|
+
if (!widget) {
|
|
22541
|
+
return;
|
|
22542
|
+
}
|
|
22543
|
+
widget.childWidgets.forEach((child) => {
|
|
22544
|
+
child.widgetState = Object.assign(Object.assign({}, child.widgetState), widget.widgetState);
|
|
22545
|
+
});
|
|
22546
|
+
}
|
|
22547
|
+
updateChildStateRecursive(thisWidget);
|
|
22548
|
+
this.renderChildWidgets();
|
|
22549
|
+
}
|
|
22550
|
+
/**
|
|
22551
|
+
* get the saved widget state from stateful widget
|
|
22552
|
+
*/
|
|
22553
|
+
getWidgetState(key, defaultValue) {
|
|
22554
|
+
if (Object.keys.length && this.widgetState[key]) {
|
|
22555
|
+
return this.widgetState[key];
|
|
22556
|
+
}
|
|
22557
|
+
else {
|
|
22558
|
+
return defaultValue;
|
|
22559
|
+
}
|
|
22560
|
+
}
|
|
22051
22561
|
}
|
|
22052
22562
|
|
|
22053
22563
|
|
|
@@ -23117,52 +23627,52 @@ function searchLinkMultipleListener(searchQueries, token, format = _Constants_Fo
|
|
|
23117
23627
|
|
|
23118
23628
|
__webpack_require__.r(__webpack_exports__);
|
|
23119
23629
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23120
|
-
/* harmony export */ ADMIN: () => (/* reexport safe */
|
|
23121
|
-
/* harmony export */ ALLID: () => (/* reexport safe */
|
|
23122
|
-
/* harmony export */ AccessTracker: () => (/* reexport safe */
|
|
23123
|
-
/* harmony export */ AddGhostConcept: () => (/* reexport safe */
|
|
23124
|
-
/* harmony export */ Anomaly: () => (/* reexport safe */
|
|
23125
|
-
/* harmony export */ BaseUrl: () => (/* reexport safe */
|
|
23126
|
-
/* harmony export */ BinaryTree: () => (/* reexport safe */
|
|
23127
|
-
/* harmony export */ BuilderStatefulWidget: () => (/* reexport safe */
|
|
23128
|
-
/* harmony export */ Composition: () => (/* reexport safe */
|
|
23129
|
-
/* harmony export */ CompositionBinaryTree: () => (/* reexport safe */
|
|
23130
|
-
/* harmony export */ CompositionNode: () => (/* reexport safe */
|
|
23131
|
-
/* harmony export */ Concept: () => (/* reexport safe */
|
|
23132
|
-
/* harmony export */ ConceptsData: () => (/* reexport safe */
|
|
23133
|
-
/* harmony export */ Connection: () => (/* reexport safe */
|
|
23134
|
-
/* harmony export */ ConnectionData: () => (/* reexport safe */
|
|
23630
|
+
/* harmony export */ ADMIN: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.ADMIN),
|
|
23631
|
+
/* harmony export */ ALLID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.ALLID),
|
|
23632
|
+
/* harmony export */ AccessTracker: () => (/* reexport safe */ _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_118__.AccessTracker),
|
|
23633
|
+
/* harmony export */ AddGhostConcept: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__.AddGhostConcept),
|
|
23634
|
+
/* harmony export */ Anomaly: () => (/* reexport safe */ _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_109__.Anomaly),
|
|
23635
|
+
/* harmony export */ BaseUrl: () => (/* reexport safe */ _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl),
|
|
23636
|
+
/* harmony export */ BinaryTree: () => (/* reexport safe */ _DataStructures_BinaryTree__WEBPACK_IMPORTED_MODULE_84__.BinaryTree),
|
|
23637
|
+
/* harmony export */ BuilderStatefulWidget: () => (/* reexport safe */ _Widgets_BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_107__.BuilderStatefulWidget),
|
|
23638
|
+
/* harmony export */ Composition: () => (/* reexport safe */ _DataStructures_Composition_Composition__WEBPACK_IMPORTED_MODULE_88__.Composition),
|
|
23639
|
+
/* harmony export */ CompositionBinaryTree: () => (/* reexport safe */ _DataStructures_Composition_CompositionBinaryTree__WEBPACK_IMPORTED_MODULE_89__.CompositionBinaryTree),
|
|
23640
|
+
/* harmony export */ CompositionNode: () => (/* reexport safe */ _DataStructures_Composition_CompositionNode__WEBPACK_IMPORTED_MODULE_90__.CompositionNode),
|
|
23641
|
+
/* harmony export */ Concept: () => (/* reexport safe */ _DataStructures_Concept__WEBPACK_IMPORTED_MODULE_78__.Concept),
|
|
23642
|
+
/* harmony export */ ConceptsData: () => (/* reexport safe */ _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_82__.ConceptsData),
|
|
23643
|
+
/* harmony export */ Connection: () => (/* reexport safe */ _DataStructures_Connection__WEBPACK_IMPORTED_MODULE_81__.Connection),
|
|
23644
|
+
/* harmony export */ ConnectionData: () => (/* reexport safe */ _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_83__.ConnectionData),
|
|
23135
23645
|
/* harmony export */ CreateComposition: () => (/* reexport safe */ _Services_CreateTheComposition__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
23136
|
-
/* harmony export */ CreateConnectionBetweenEntityLocal: () => (/* reexport safe */
|
|
23646
|
+
/* harmony export */ CreateConnectionBetweenEntityLocal: () => (/* reexport safe */ _Services_CreateConnection_CreateConnectionEntity__WEBPACK_IMPORTED_MODULE_119__.CreateConnectionBetweenEntityLocal),
|
|
23137
23647
|
/* harmony export */ CreateConnectionBetweenTwoConcepts: () => (/* reexport safe */ _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__.CreateConnectionBetweenTwoConcepts),
|
|
23138
23648
|
/* harmony export */ CreateConnectionBetweenTwoConceptsGeneral: () => (/* reexport safe */ _Services_CreateConnectionBetweenTwoConcepts__WEBPACK_IMPORTED_MODULE_11__.CreateConnectionBetweenTwoConceptsGeneral),
|
|
23139
|
-
/* harmony export */ CreateConnectionBetweenTwoConceptsLocal: () => (/* reexport safe */
|
|
23649
|
+
/* harmony export */ CreateConnectionBetweenTwoConceptsLocal: () => (/* reexport safe */ _Services_Local_CreateConnectionBetweenTwoConceptsLocal__WEBPACK_IMPORTED_MODULE_61__.CreateConnectionBetweenTwoConceptsLocal),
|
|
23140
23650
|
/* harmony export */ CreateDefaultConcept: () => (/* reexport safe */ _Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_19__.CreateDefaultConcept),
|
|
23141
|
-
/* harmony export */ CreateDefaultLConcept: () => (/* reexport safe */
|
|
23142
|
-
/* harmony export */ CreateSession: () => (/* reexport safe */
|
|
23143
|
-
/* harmony export */ CreateSessionVisit: () => (/* reexport safe */
|
|
23651
|
+
/* harmony export */ CreateDefaultLConcept: () => (/* reexport safe */ _Services_Local_CreateDefaultLConcept__WEBPACK_IMPORTED_MODULE_48__.CreateDefaultLConcept),
|
|
23652
|
+
/* harmony export */ CreateSession: () => (/* reexport safe */ _Api_Session_CreateSession__WEBPACK_IMPORTED_MODULE_43__.CreateSession),
|
|
23653
|
+
/* harmony export */ CreateSessionVisit: () => (/* reexport safe */ _Api_Session_CreateSessionVisit__WEBPACK_IMPORTED_MODULE_44__.CreateSessionVisit),
|
|
23144
23654
|
/* harmony export */ CreateTheCompositionLocal: () => (/* reexport safe */ _Services_Local_CreateTheCompositionLocal__WEBPACK_IMPORTED_MODULE_10__.CreateTheCompositionLocal),
|
|
23145
|
-
/* harmony export */ CreateTheCompositionWithCache: () => (/* reexport safe */
|
|
23655
|
+
/* harmony export */ CreateTheCompositionWithCache: () => (/* reexport safe */ _Services_Composition_CreateCompositionCache__WEBPACK_IMPORTED_MODULE_47__.CreateTheCompositionWithCache),
|
|
23146
23656
|
/* harmony export */ CreateTheConnection: () => (/* reexport safe */ _Services_CreateTheConnection__WEBPACK_IMPORTED_MODULE_16__.createTheConnection),
|
|
23147
|
-
/* harmony export */ CreateTheConnectionGeneral: () => (/* reexport safe */
|
|
23148
|
-
/* harmony export */ CreateTheConnectionLocal: () => (/* reexport safe */
|
|
23149
|
-
/* harmony export */ DATAID: () => (/* reexport safe */
|
|
23150
|
-
/* harmony export */ DATAIDDATE: () => (/* reexport safe */
|
|
23151
|
-
/* harmony export */ DelayFunctionExecution: () => (/* reexport safe */
|
|
23657
|
+
/* harmony export */ CreateTheConnectionGeneral: () => (/* reexport safe */ _Services_CreateTheConnectionGeneral__WEBPACK_IMPORTED_MODULE_49__.CreateTheConnectionGeneral),
|
|
23658
|
+
/* harmony export */ CreateTheConnectionLocal: () => (/* reexport safe */ _Services_Local_CreateTheConnectionLocal__WEBPACK_IMPORTED_MODULE_50__.CreateTheConnectionLocal),
|
|
23659
|
+
/* harmony export */ DATAID: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.DATAID),
|
|
23660
|
+
/* harmony export */ DATAIDDATE: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.DATAIDDATE),
|
|
23661
|
+
/* harmony export */ DelayFunctionExecution: () => (/* reexport safe */ _Services_Common_DelayFunction__WEBPACK_IMPORTED_MODULE_64__.DelayFunctionExecution),
|
|
23152
23662
|
/* harmony export */ DeleteConceptById: () => (/* reexport safe */ _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__.DeleteConceptById),
|
|
23153
|
-
/* harmony export */ DeleteConceptLocal: () => (/* reexport safe */
|
|
23663
|
+
/* harmony export */ DeleteConceptLocal: () => (/* reexport safe */ _Services_Local_DeleteConceptLocal__WEBPACK_IMPORTED_MODULE_62__.DeleteConceptLocal),
|
|
23154
23664
|
/* harmony export */ DeleteConnectionById: () => (/* reexport safe */ _Services_DeleteConnection__WEBPACK_IMPORTED_MODULE_25__.DeleteConnectionById),
|
|
23155
|
-
/* harmony export */ DeleteConnectionByType: () => (/* reexport safe */
|
|
23665
|
+
/* harmony export */ DeleteConnectionByType: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_113__.DeleteConnectionByType),
|
|
23156
23666
|
/* harmony export */ DeleteUser: () => (/* reexport safe */ _Services_DeleteConcept__WEBPACK_IMPORTED_MODULE_24__.DeleteUser),
|
|
23157
|
-
/* harmony export */ DependencyObserver: () => (/* reexport safe */
|
|
23158
|
-
/* harmony export */ FilterSearch: () => (/* reexport safe */
|
|
23159
|
-
/* harmony export */ FormatFromConnections: () => (/* reexport safe */
|
|
23160
|
-
/* harmony export */ FormatFromConnectionsAltered: () => (/* reexport safe */
|
|
23161
|
-
/* harmony export */ FreeschemaQuery: () => (/* reexport safe */
|
|
23162
|
-
/* harmony export */ FreeschemaQueryApi: () => (/* reexport safe */
|
|
23667
|
+
/* harmony export */ DependencyObserver: () => (/* reexport safe */ _WrapperFunctions_DepenedencyObserver__WEBPACK_IMPORTED_MODULE_69__.DependencyObserver),
|
|
23668
|
+
/* harmony export */ FilterSearch: () => (/* reexport safe */ _DataStructures_FilterSearch__WEBPACK_IMPORTED_MODULE_93__.FilterSearch),
|
|
23669
|
+
/* harmony export */ FormatFromConnections: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.FormatFromConnections),
|
|
23670
|
+
/* harmony export */ FormatFromConnectionsAltered: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.FormatFromConnectionsAltered),
|
|
23671
|
+
/* harmony export */ FreeschemaQuery: () => (/* reexport safe */ _DataStructures_Search_FreeschemaQuery__WEBPACK_IMPORTED_MODULE_114__.FreeschemaQuery),
|
|
23672
|
+
/* harmony export */ FreeschemaQueryApi: () => (/* reexport safe */ _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_115__.FreeschemaQueryApi),
|
|
23163
23673
|
/* harmony export */ GetAllConnectionsOfComposition: () => (/* reexport safe */ _Api_GetAllConnectionsOfComposition__WEBPACK_IMPORTED_MODULE_6__.GetAllConnectionsOfComposition),
|
|
23164
|
-
/* harmony export */ GetAllConnectionsOfCompositionBulk: () => (/* reexport safe */
|
|
23165
|
-
/* harmony export */ GetAllTheConnectionsByTypeAndOfTheConcept: () => (/* reexport safe */
|
|
23674
|
+
/* harmony export */ GetAllConnectionsOfCompositionBulk: () => (/* reexport safe */ _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_34__.GetAllConnectionsOfCompositionBulk),
|
|
23675
|
+
/* harmony export */ GetAllTheConnectionsByTypeAndOfTheConcept: () => (/* reexport safe */ _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_113__.GetAllTheConnectionsByTypeAndOfTheConcept),
|
|
23166
23676
|
/* harmony export */ GetComposition: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetComposition),
|
|
23167
23677
|
/* harmony export */ GetCompositionBulk: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulk),
|
|
23168
23678
|
/* harmony export */ GetCompositionBulkWithDataId: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetCompositionBulkWithDataId),
|
|
@@ -23176,97 +23686,97 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23176
23686
|
/* harmony export */ GetCompositionList: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionList),
|
|
23177
23687
|
/* harmony export */ GetCompositionListAll: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListAll),
|
|
23178
23688
|
/* harmony export */ GetCompositionListAllWithId: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListAllWithId),
|
|
23179
|
-
/* harmony export */ GetCompositionListListener: () => (/* reexport safe */
|
|
23689
|
+
/* harmony export */ GetCompositionListListener: () => (/* reexport safe */ _WrapperFunctions_GetCompositionListObservable__WEBPACK_IMPORTED_MODULE_72__.GetCompositionListListener),
|
|
23180
23690
|
/* harmony export */ GetCompositionListLocal: () => (/* reexport safe */ _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__.GetCompositionListLocal),
|
|
23181
23691
|
/* harmony export */ GetCompositionListLocalWithId: () => (/* reexport safe */ _Services_Local_GetCompositionListLocal__WEBPACK_IMPORTED_MODULE_5__.GetCompositionListLocalWithId),
|
|
23182
23692
|
/* harmony export */ GetCompositionListWithId: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListWithId),
|
|
23183
23693
|
/* harmony export */ GetCompositionListWithIdUpdated: () => (/* reexport safe */ _Services_GetCompositionList__WEBPACK_IMPORTED_MODULE_4__.GetCompositionListWithIdUpdated),
|
|
23184
|
-
/* harmony export */ GetCompositionListener: () => (/* reexport safe */
|
|
23694
|
+
/* harmony export */ GetCompositionListener: () => (/* reexport safe */ _WrapperFunctions_GetCompositionObservable__WEBPACK_IMPORTED_MODULE_71__.GetCompositionListener),
|
|
23185
23695
|
/* harmony export */ GetCompositionLocal: () => (/* reexport safe */ _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__.GetCompositionLocal),
|
|
23186
23696
|
/* harmony export */ GetCompositionLocalWithId: () => (/* reexport safe */ _Services_Local_GetCompositionLocal__WEBPACK_IMPORTED_MODULE_8__.GetCompositionLocalWithId),
|
|
23187
23697
|
/* harmony export */ GetCompositionWithAllIds: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithAllIds),
|
|
23188
|
-
/* harmony export */ GetCompositionWithCache: () => (/* reexport safe */
|
|
23189
|
-
/* harmony export */ GetCompositionWithDataIdBulk: () => (/* reexport safe */
|
|
23190
|
-
/* harmony export */ GetCompositionWithDataIdWithCache: () => (/* reexport safe */
|
|
23698
|
+
/* harmony export */ GetCompositionWithCache: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithCache),
|
|
23699
|
+
/* harmony export */ GetCompositionWithDataIdBulk: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithDataIdBulk),
|
|
23700
|
+
/* harmony export */ GetCompositionWithDataIdWithCache: () => (/* reexport safe */ _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__.GetCompositionWithDataIdWithCache),
|
|
23191
23701
|
/* harmony export */ GetCompositionWithId: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithId),
|
|
23192
23702
|
/* harmony export */ GetCompositionWithIdAndDateFromMemory: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.GetCompositionWithIdAndDateFromMemory),
|
|
23193
|
-
/* harmony export */ GetConceptBulk: () => (/* reexport safe */
|
|
23703
|
+
/* harmony export */ GetConceptBulk: () => (/* reexport safe */ _Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_32__.GetConceptBulk),
|
|
23194
23704
|
/* harmony export */ GetConceptByCharacter: () => (/* reexport safe */ _Services_GetConceptByCharacter__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
23195
|
-
/* harmony export */ GetConceptByCharacterAndCategoryLocal: () => (/* reexport safe */
|
|
23196
|
-
/* harmony export */ GetConceptByCharacterAndType: () => (/* reexport safe */
|
|
23197
|
-
/* harmony export */ GetConnectionBetweenTwoConceptsLinker: () => (/* reexport safe */
|
|
23198
|
-
/* harmony export */ GetConnectionBulk: () => (/* reexport safe */
|
|
23705
|
+
/* harmony export */ GetConceptByCharacterAndCategoryLocal: () => (/* reexport safe */ _Services_Local_GetConceptByCharacterLocal__WEBPACK_IMPORTED_MODULE_56__.GetConceptByCharacterAndCategoryLocal),
|
|
23706
|
+
/* harmony export */ GetConceptByCharacterAndType: () => (/* reexport safe */ _Api_GetConceptByCharacterAndType__WEBPACK_IMPORTED_MODULE_65__.GetConceptByCharacterAndType),
|
|
23707
|
+
/* harmony export */ GetConnectionBetweenTwoConceptsLinker: () => (/* reexport safe */ _Services_GetConnectionBetweenTwoConceptsLinker__WEBPACK_IMPORTED_MODULE_63__.GetConnectionBetweenTwoConceptsLinker),
|
|
23708
|
+
/* harmony export */ GetConnectionBulk: () => (/* reexport safe */ _Api_GetConnectionBulk__WEBPACK_IMPORTED_MODULE_33__.GetConnectionBulk),
|
|
23199
23709
|
/* harmony export */ GetConnectionById: () => (/* reexport safe */ _Services_GetConnections__WEBPACK_IMPORTED_MODULE_27__.GetConnectionById),
|
|
23200
23710
|
/* harmony export */ GetConnectionDataPrefetch: () => (/* reexport safe */ _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__.GetConnectionDataPrefetch),
|
|
23201
|
-
/* harmony export */ GetConnectionOfTheConcept: () => (/* reexport safe */
|
|
23711
|
+
/* harmony export */ GetConnectionOfTheConcept: () => (/* reexport safe */ _Api_GetConnectionOfTheConcept__WEBPACK_IMPORTED_MODULE_36__.GetConnectionOfTheConcept),
|
|
23202
23712
|
/* harmony export */ GetLink: () => (/* reexport safe */ _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__.GetLink),
|
|
23203
|
-
/* harmony export */ GetLinkListListener: () => (/* reexport safe */
|
|
23204
|
-
/* harmony export */ GetLinkListener: () => (/* reexport safe */
|
|
23713
|
+
/* harmony export */ GetLinkListListener: () => (/* reexport safe */ _WrapperFunctions_GetLinkListObservable__WEBPACK_IMPORTED_MODULE_76__.GetLinkListListener),
|
|
23714
|
+
/* harmony export */ GetLinkListener: () => (/* reexport safe */ _WrapperFunctions_GetLinkObservable__WEBPACK_IMPORTED_MODULE_74__.GetLinkListener),
|
|
23205
23715
|
/* harmony export */ GetLinkRaw: () => (/* reexport safe */ _Services_GetLink__WEBPACK_IMPORTED_MODULE_18__.GetLinkRaw),
|
|
23206
23716
|
/* harmony export */ GetLinkerConnectionFromConcepts: () => (/* reexport safe */ _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__.GetLinkerConnectionFromConcepts),
|
|
23207
23717
|
/* harmony export */ GetLinkerConnectionToConcepts: () => (/* reexport safe */ _Services_GetLinkerConnectionFromConcept__WEBPACK_IMPORTED_MODULE_23__.GetLinkerConnectionToConcepts),
|
|
23208
|
-
/* harmony export */ GetRelation: () => (/* reexport safe */
|
|
23209
|
-
/* harmony export */ GetRelationLocal: () => (/* reexport safe */
|
|
23210
|
-
/* harmony export */ GetRelationRaw: () => (/* reexport safe */
|
|
23718
|
+
/* harmony export */ GetRelation: () => (/* reexport safe */ _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__.GetRelation),
|
|
23719
|
+
/* harmony export */ GetRelationLocal: () => (/* reexport safe */ _Services_Local_GetRelationLocal__WEBPACK_IMPORTED_MODULE_55__.GetRelationLocal),
|
|
23720
|
+
/* harmony export */ GetRelationRaw: () => (/* reexport safe */ _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__.GetRelationRaw),
|
|
23211
23721
|
/* harmony export */ GetTheConcept: () => (/* reexport safe */ _Services_GetTheConcept__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
23212
|
-
/* harmony export */ GetTheConceptLocal: () => (/* reexport safe */
|
|
23213
|
-
/* harmony export */ GetUserGhostId: () => (/* reexport safe */
|
|
23214
|
-
/* harmony export */ JUSTDATA: () => (/* reexport safe */
|
|
23215
|
-
/* harmony export */ LConcept: () => (/* reexport safe */
|
|
23216
|
-
/* harmony export */ LConnection: () => (/* reexport safe */
|
|
23217
|
-
/* harmony export */ LISTNORMAL: () => (/* reexport safe */
|
|
23218
|
-
/* harmony export */ LocalConceptsData: () => (/* reexport safe */
|
|
23219
|
-
/* harmony export */ LocalSyncData: () => (/* reexport safe */
|
|
23220
|
-
/* harmony export */ LocalTransaction: () => (/* reexport safe */
|
|
23221
|
-
/* harmony export */ Logger: () => (/* reexport safe */
|
|
23222
|
-
/* harmony export */ LoginToBackend: () => (/* reexport safe */
|
|
23722
|
+
/* harmony export */ GetTheConceptLocal: () => (/* reexport safe */ _Services_Local_GetTheConceptLocal__WEBPACK_IMPORTED_MODULE_53__.GetTheConceptLocal),
|
|
23723
|
+
/* harmony export */ GetUserGhostId: () => (/* reexport safe */ _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__.GetUserGhostId),
|
|
23724
|
+
/* harmony export */ JUSTDATA: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.JUSTDATA),
|
|
23725
|
+
/* harmony export */ LConcept: () => (/* reexport safe */ _DataStructures_Local_LConcept__WEBPACK_IMPORTED_MODULE_79__.LConcept),
|
|
23726
|
+
/* harmony export */ LConnection: () => (/* reexport safe */ _DataStructures_Local_LConnection__WEBPACK_IMPORTED_MODULE_80__.LConnection),
|
|
23727
|
+
/* harmony export */ LISTNORMAL: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.LISTNORMAL),
|
|
23728
|
+
/* harmony export */ LocalConceptsData: () => (/* reexport safe */ _DataStructures_Local_LocalConceptData__WEBPACK_IMPORTED_MODULE_95__.LocalConceptsData),
|
|
23729
|
+
/* harmony export */ LocalSyncData: () => (/* reexport safe */ _DataStructures_Local_LocalSyncData__WEBPACK_IMPORTED_MODULE_91__.LocalSyncData),
|
|
23730
|
+
/* harmony export */ LocalTransaction: () => (/* reexport safe */ _Services_Transaction_LocalTransaction__WEBPACK_IMPORTED_MODULE_108__.LocalTransaction),
|
|
23731
|
+
/* harmony export */ Logger: () => (/* reexport safe */ _Middleware_logger_service__WEBPACK_IMPORTED_MODULE_102__.Logger),
|
|
23732
|
+
/* harmony export */ LoginToBackend: () => (/* reexport safe */ _Api_Login__WEBPACK_IMPORTED_MODULE_35__.LoginToBackend),
|
|
23223
23733
|
/* harmony export */ MakeTheInstanceConcept: () => (/* reexport safe */ _Services_MakeTheInstanceConcept__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
23224
23734
|
/* harmony export */ MakeTheInstanceConceptLocal: () => (/* reexport safe */ _Services_Local_MakeTheInstanceConceptLocal__WEBPACK_IMPORTED_MODULE_14__.MakeTheInstanceConceptLocal),
|
|
23225
23735
|
/* harmony export */ MakeTheTimestamp: () => (/* reexport safe */ _Services_MakeTheTimestamp__WEBPACK_IMPORTED_MODULE_28__.MakeTheTimestamp),
|
|
23226
23736
|
/* harmony export */ MakeTheTypeConcept: () => (/* reexport safe */ _Services_MakeTheTypeConcept__WEBPACK_IMPORTED_MODULE_21__.MakeTheTypeConcept),
|
|
23227
23737
|
/* harmony export */ MakeTheTypeConceptApi: () => (/* reexport safe */ _Api_MakeTheTypeConceptApi__WEBPACK_IMPORTED_MODULE_22__.MakeTheTypeConceptApi),
|
|
23228
23738
|
/* harmony export */ MakeTheTypeConceptLocal: () => (/* reexport safe */ _Services_Local_MakeTheTypeLocal__WEBPACK_IMPORTED_MODULE_20__.MakeTheTypeConceptLocal),
|
|
23229
|
-
/* harmony export */ NORMAL: () => (/* reexport safe */
|
|
23230
|
-
/* harmony export */ PRIVATE: () => (/* reexport safe */
|
|
23231
|
-
/* harmony export */ PUBLIC: () => (/* reexport safe */
|
|
23232
|
-
/* harmony export */ PatcherStructure: () => (/* reexport safe */
|
|
23233
|
-
/* harmony export */ RAW: () => (/* reexport safe */
|
|
23739
|
+
/* harmony export */ NORMAL: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.NORMAL),
|
|
23740
|
+
/* harmony export */ PRIVATE: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.PRIVATE),
|
|
23741
|
+
/* harmony export */ PUBLIC: () => (/* reexport safe */ _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__.PUBLIC),
|
|
23742
|
+
/* harmony export */ PatcherStructure: () => (/* reexport safe */ _DataStructures_PatcherStructure__WEBPACK_IMPORTED_MODULE_86__.PatcherStructure),
|
|
23743
|
+
/* harmony export */ RAW: () => (/* reexport safe */ _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__.RAW),
|
|
23234
23744
|
/* harmony export */ RecursiveSearchApi: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApi),
|
|
23235
23745
|
/* harmony export */ RecursiveSearchApiNewRawFullLinker: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiNewRawFullLinker),
|
|
23236
23746
|
/* harmony export */ RecursiveSearchApiRaw: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiRaw),
|
|
23237
23747
|
/* harmony export */ RecursiveSearchApiRawFullLinker: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiRawFullLinker),
|
|
23238
23748
|
/* harmony export */ RecursiveSearchApiWithInternalConnections: () => (/* reexport safe */ _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__.RecursiveSearchApiWithInternalConnections),
|
|
23239
|
-
/* harmony export */ RecursiveSearchListener: () => (/* reexport safe */
|
|
23240
|
-
/* harmony export */ SchemaQueryListener: () => (/* reexport safe */
|
|
23241
|
-
/* harmony export */ SearchAllConcepts: () => (/* reexport safe */
|
|
23242
|
-
/* harmony export */ SearchLinkInternal: () => (/* reexport safe */
|
|
23243
|
-
/* harmony export */ SearchLinkInternalAll: () => (/* reexport safe */
|
|
23244
|
-
/* harmony export */ SearchLinkMultipleAll: () => (/* reexport safe */
|
|
23245
|
-
/* harmony export */ SearchLinkMultipleAllObservable: () => (/* reexport safe */
|
|
23749
|
+
/* harmony export */ RecursiveSearchListener: () => (/* reexport safe */ _WrapperFunctions_RecursiveSearchObservable__WEBPACK_IMPORTED_MODULE_75__.RecursiveSearchListener),
|
|
23750
|
+
/* harmony export */ SchemaQueryListener: () => (/* reexport safe */ _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_116__.SchemaQueryListener),
|
|
23751
|
+
/* harmony export */ SearchAllConcepts: () => (/* reexport safe */ _Api_Search_Search__WEBPACK_IMPORTED_MODULE_40__.SearchAllConcepts),
|
|
23752
|
+
/* harmony export */ SearchLinkInternal: () => (/* reexport safe */ _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__.SearchLinkInternal),
|
|
23753
|
+
/* harmony export */ SearchLinkInternalAll: () => (/* reexport safe */ _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__.SearchLinkInternalAll),
|
|
23754
|
+
/* harmony export */ SearchLinkMultipleAll: () => (/* reexport safe */ _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__.SearchLinkMultipleAll),
|
|
23755
|
+
/* harmony export */ SearchLinkMultipleAllObservable: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__.SearchLinkMultipleAllObservable),
|
|
23246
23756
|
/* harmony export */ SearchLinkMultipleApi: () => (/* reexport safe */ _Api_Search_SearchLinkMultipleApi__WEBPACK_IMPORTED_MODULE_2__.SearchLinkMultipleApi),
|
|
23247
|
-
/* harmony export */ SearchQuery: () => (/* reexport safe */
|
|
23248
|
-
/* harmony export */ SearchStructure: () => (/* reexport safe */
|
|
23249
|
-
/* harmony export */ SearchWithLinker: () => (/* reexport safe */
|
|
23250
|
-
/* harmony export */ SearchWithTypeAndLinker: () => (/* reexport safe */
|
|
23251
|
-
/* harmony export */ SearchWithTypeAndLinkerApi: () => (/* reexport safe */
|
|
23252
|
-
/* harmony export */ SessionData: () => (/* reexport safe */
|
|
23253
|
-
/* harmony export */ Signin: () => (/* reexport safe */
|
|
23254
|
-
/* harmony export */ Signup: () => (/* reexport safe */
|
|
23255
|
-
/* harmony export */ SignupEntity: () => (/* reexport safe */
|
|
23757
|
+
/* harmony export */ SearchQuery: () => (/* reexport safe */ _DataStructures_SearchQuery__WEBPACK_IMPORTED_MODULE_85__.SearchQuery),
|
|
23758
|
+
/* harmony export */ SearchStructure: () => (/* reexport safe */ _DataStructures_Search_SearchStructure__WEBPACK_IMPORTED_MODULE_94__.SearchStructure),
|
|
23759
|
+
/* harmony export */ SearchWithLinker: () => (/* reexport safe */ _Api_Search_SearchWithLinker__WEBPACK_IMPORTED_MODULE_41__.SearchWithLinker),
|
|
23760
|
+
/* harmony export */ SearchWithTypeAndLinker: () => (/* reexport safe */ _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_73__.SearchWithTypeAndLinker),
|
|
23761
|
+
/* harmony export */ SearchWithTypeAndLinkerApi: () => (/* reexport safe */ _Api_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_68__.SearchWithTypeAndLinkerApi),
|
|
23762
|
+
/* harmony export */ SessionData: () => (/* reexport safe */ _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_87__.SessionData),
|
|
23763
|
+
/* harmony export */ Signin: () => (/* reexport safe */ _Api_Signin__WEBPACK_IMPORTED_MODULE_38__["default"]),
|
|
23764
|
+
/* harmony export */ Signup: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
23765
|
+
/* harmony export */ SignupEntity: () => (/* reexport safe */ _Api_Signup__WEBPACK_IMPORTED_MODULE_37__.SignupEntity),
|
|
23256
23766
|
/* harmony export */ SplitStrings: () => (/* reexport safe */ _Services_SplitStrings__WEBPACK_IMPORTED_MODULE_3__.SplitStrings),
|
|
23257
|
-
/* harmony export */ StatefulWidget: () => (/* reexport safe */
|
|
23258
|
-
/* harmony export */ SyncData: () => (/* reexport safe */
|
|
23767
|
+
/* harmony export */ StatefulWidget: () => (/* reexport safe */ _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_112__.StatefulWidget),
|
|
23768
|
+
/* harmony export */ SyncData: () => (/* reexport safe */ _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_77__.SyncData),
|
|
23259
23769
|
/* harmony export */ TrashTheConcept: () => (/* reexport safe */ _Api_Delete_DeleteConceptInBackend__WEBPACK_IMPORTED_MODULE_26__.TrashTheConcept),
|
|
23260
|
-
/* harmony export */ UpdateComposition: () => (/* reexport safe */
|
|
23261
|
-
/* harmony export */ UpdateCompositionLocal: () => (/* reexport safe */
|
|
23262
|
-
/* harmony export */ UserBinaryTree: () => (/* reexport safe */
|
|
23263
|
-
/* harmony export */ Validator: () => (/* reexport safe */
|
|
23264
|
-
/* harmony export */ ViewInternalData: () => (/* reexport safe */
|
|
23265
|
-
/* harmony export */ ViewInternalDataApi: () => (/* reexport safe */
|
|
23266
|
-
/* harmony export */ WidgetTree: () => (/* reexport safe */
|
|
23267
|
-
/* harmony export */ convertFromConceptToLConcept: () => (/* reexport safe */
|
|
23268
|
-
/* harmony export */ convertFromLConceptToConcept: () => (/* reexport safe */
|
|
23269
|
-
/* harmony export */ createFormFieldData: () => (/* reexport safe */
|
|
23770
|
+
/* harmony export */ UpdateComposition: () => (/* reexport safe */ _Services_UpdateComposition__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
23771
|
+
/* harmony export */ UpdateCompositionLocal: () => (/* reexport safe */ _Services_Local_UpdateCompositionLocal__WEBPACK_IMPORTED_MODULE_54__.UpdateCompositionLocal),
|
|
23772
|
+
/* harmony export */ UserBinaryTree: () => (/* reexport safe */ _DataStructures_User_UserBinaryTree__WEBPACK_IMPORTED_MODULE_92__.UserBinaryTree),
|
|
23773
|
+
/* harmony export */ Validator: () => (/* reexport safe */ _Validator_validator__WEBPACK_IMPORTED_MODULE_110__.Validator),
|
|
23774
|
+
/* harmony export */ ViewInternalData: () => (/* reexport safe */ _Services_View_ViewInternalData__WEBPACK_IMPORTED_MODULE_57__.ViewInternalData),
|
|
23775
|
+
/* harmony export */ ViewInternalDataApi: () => (/* reexport safe */ _Api_View_ViewInternalDataApi__WEBPACK_IMPORTED_MODULE_58__.ViewInternalDataApi),
|
|
23776
|
+
/* harmony export */ WidgetTree: () => (/* reexport safe */ _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_117__.WidgetTree),
|
|
23777
|
+
/* harmony export */ convertFromConceptToLConcept: () => (/* reexport safe */ _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__.convertFromConceptToLConcept),
|
|
23778
|
+
/* harmony export */ convertFromLConceptToConcept: () => (/* reexport safe */ _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__.convertFromLConceptToConcept),
|
|
23779
|
+
/* harmony export */ createFormFieldData: () => (/* reexport safe */ _Validator_utils__WEBPACK_IMPORTED_MODULE_111__.createFormFieldData),
|
|
23270
23780
|
/* harmony export */ dispatchIdEvent: () => (/* binding */ dispatchIdEvent),
|
|
23271
23781
|
/* harmony export */ getFromDatabaseWithType: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getFromDatabaseWithType),
|
|
23272
23782
|
/* harmony export */ getObjectsFromIndexDb: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.getObjectsFromIndexDb),
|
|
@@ -23274,14 +23784,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23274
23784
|
/* harmony export */ hasActivatedSW: () => (/* binding */ hasActivatedSW),
|
|
23275
23785
|
/* harmony export */ init: () => (/* binding */ init),
|
|
23276
23786
|
/* harmony export */ recursiveFetch: () => (/* reexport safe */ _Services_GetComposition__WEBPACK_IMPORTED_MODULE_7__.recursiveFetch),
|
|
23277
|
-
/* harmony export */ recursiveFetchNew: () => (/* reexport safe */
|
|
23278
|
-
/* harmony export */
|
|
23787
|
+
/* harmony export */ recursiveFetchNew: () => (/* reexport safe */ _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_46__.recursiveFetchNew),
|
|
23788
|
+
/* harmony export */ renderLatestWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.renderLatestWidget),
|
|
23789
|
+
/* harmony export */ renderPage: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.renderPage),
|
|
23790
|
+
/* harmony export */ renderWidget: () => (/* reexport safe */ _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__.renderWidget),
|
|
23791
|
+
/* harmony export */ searchLinkMultipleListener: () => (/* reexport safe */ _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__.searchLinkMultipleListener),
|
|
23279
23792
|
/* harmony export */ sendMessage: () => (/* binding */ sendMessage),
|
|
23280
23793
|
/* harmony export */ serviceWorker: () => (/* binding */ serviceWorker),
|
|
23281
23794
|
/* harmony export */ setHasActivatedSW: () => (/* binding */ setHasActivatedSW),
|
|
23282
23795
|
/* harmony export */ storeToDatabase: () => (/* reexport safe */ _Database_NoIndexDb__WEBPACK_IMPORTED_MODULE_15__.storeToDatabase),
|
|
23283
23796
|
/* harmony export */ subscribedListeners: () => (/* binding */ subscribedListeners),
|
|
23284
|
-
/* harmony export */ updateAccessToken: () => (/* binding */ updateAccessToken)
|
|
23797
|
+
/* harmony export */ updateAccessToken: () => (/* binding */ updateAccessToken),
|
|
23798
|
+
/* harmony export */ uploadAttachment: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadAttachment),
|
|
23799
|
+
/* harmony export */ uploadFile: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadFile),
|
|
23800
|
+
/* harmony export */ uploadImage: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.uploadImage),
|
|
23801
|
+
/* harmony export */ validDocumentFormats: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.validDocumentFormats),
|
|
23802
|
+
/* harmony export */ validImageFormats: () => (/* reexport safe */ _Services_Upload__WEBPACK_IMPORTED_MODULE_31__.validImageFormats)
|
|
23285
23803
|
/* harmony export */ });
|
|
23286
23804
|
/* harmony import */ var _Services_CreateBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Services/CreateBinaryTreeFromData */ "./src/Services/CreateBinaryTreeFromData.ts");
|
|
23287
23805
|
/* harmony import */ var _DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DataStructures/IdentifierFlags */ "./src/DataStructures/IdentifierFlags.ts");
|
|
@@ -23314,94 +23832,96 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23314
23832
|
/* harmony import */ var _Services_MakeTheTimestamp__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Services/MakeTheTimestamp */ "./src/Services/MakeTheTimestamp.ts");
|
|
23315
23833
|
/* harmony import */ var _Api_RecursiveSearch__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Api/RecursiveSearch */ "./src/Api/RecursiveSearch.ts");
|
|
23316
23834
|
/* harmony import */ var _Services_GetCompositionBulk__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Services/GetCompositionBulk */ "./src/Services/GetCompositionBulk.ts");
|
|
23317
|
-
/* harmony import */ var
|
|
23318
|
-
/* harmony import */ var
|
|
23319
|
-
/* harmony import */ var
|
|
23320
|
-
/* harmony import */ var
|
|
23321
|
-
/* harmony import */ var
|
|
23322
|
-
/* harmony import */ var
|
|
23323
|
-
/* harmony import */ var
|
|
23324
|
-
/* harmony import */ var
|
|
23325
|
-
/* harmony import */ var
|
|
23326
|
-
/* harmony import */ var
|
|
23327
|
-
/* harmony import */ var
|
|
23328
|
-
/* harmony import */ var
|
|
23329
|
-
/* harmony import */ var
|
|
23330
|
-
/* harmony import */ var
|
|
23331
|
-
/* harmony import */ var
|
|
23332
|
-
/* harmony import */ var
|
|
23333
|
-
/* harmony import */ var
|
|
23334
|
-
/* harmony import */ var
|
|
23335
|
-
/* harmony import */ var
|
|
23336
|
-
/* harmony import */ var
|
|
23337
|
-
/* harmony import */ var
|
|
23338
|
-
/* harmony import */ var
|
|
23339
|
-
/* harmony import */ var
|
|
23340
|
-
/* harmony import */ var
|
|
23341
|
-
/* harmony import */ var
|
|
23342
|
-
/* harmony import */ var
|
|
23343
|
-
/* harmony import */ var
|
|
23344
|
-
/* harmony import */ var
|
|
23345
|
-
/* harmony import */ var
|
|
23346
|
-
/* harmony import */ var
|
|
23347
|
-
/* harmony import */ var
|
|
23348
|
-
/* harmony import */ var
|
|
23349
|
-
/* harmony import */ var
|
|
23350
|
-
/* harmony import */ var
|
|
23351
|
-
/* harmony import */ var
|
|
23352
|
-
/* harmony import */ var
|
|
23353
|
-
/* harmony import */ var
|
|
23354
|
-
/* harmony import */ var
|
|
23355
|
-
/* harmony import */ var
|
|
23356
|
-
/* harmony import */ var
|
|
23357
|
-
/* harmony import */ var
|
|
23358
|
-
/* harmony import */ var
|
|
23359
|
-
/* harmony import */ var
|
|
23360
|
-
/* harmony import */ var
|
|
23361
|
-
/* harmony import */ var
|
|
23362
|
-
/* harmony import */ var
|
|
23363
|
-
/* harmony import */ var
|
|
23364
|
-
/* harmony import */ var
|
|
23365
|
-
/* harmony import */ var
|
|
23366
|
-
/* harmony import */ var
|
|
23367
|
-
/* harmony import */ var
|
|
23368
|
-
/* harmony import */ var
|
|
23369
|
-
/* harmony import */ var
|
|
23370
|
-
/* harmony import */ var
|
|
23371
|
-
/* harmony import */ var
|
|
23372
|
-
/* harmony import */ var
|
|
23373
|
-
/* harmony import */ var
|
|
23374
|
-
/* harmony import */ var
|
|
23375
|
-
/* harmony import */ var
|
|
23376
|
-
/* harmony import */ var
|
|
23377
|
-
/* harmony import */ var
|
|
23378
|
-
/* harmony import */ var
|
|
23379
|
-
/* harmony import */ var
|
|
23380
|
-
/* harmony import */ var
|
|
23381
|
-
/* harmony import */ var
|
|
23382
|
-
/* harmony import */ var
|
|
23383
|
-
/* harmony import */ var
|
|
23384
|
-
/* harmony import */ var
|
|
23385
|
-
/* harmony import */ var
|
|
23386
|
-
/* harmony import */ var
|
|
23387
|
-
/* harmony import */ var
|
|
23388
|
-
/* harmony import */ var
|
|
23389
|
-
/* harmony import */ var
|
|
23390
|
-
/* harmony import */ var
|
|
23391
|
-
/* harmony import */ var
|
|
23392
|
-
/* harmony import */ var
|
|
23393
|
-
/* harmony import */ var
|
|
23394
|
-
/* harmony import */ var
|
|
23395
|
-
/* harmony import */ var
|
|
23396
|
-
/* harmony import */ var
|
|
23397
|
-
/* harmony import */ var
|
|
23398
|
-
/* harmony import */ var
|
|
23399
|
-
/* harmony import */ var
|
|
23400
|
-
/* harmony import */ var
|
|
23401
|
-
/* harmony import */ var
|
|
23402
|
-
/* harmony import */ var
|
|
23403
|
-
/* harmony import */ var
|
|
23404
|
-
/* harmony import */ var
|
|
23835
|
+
/* harmony import */ var _Services_Upload__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Services/Upload */ "./src/Services/Upload.ts");
|
|
23836
|
+
/* harmony import */ var _Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./Api/GetConceptBulk */ "./src/Api/GetConceptBulk.ts");
|
|
23837
|
+
/* harmony import */ var _Api_GetConnectionBulk__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./Api/GetConnectionBulk */ "./src/Api/GetConnectionBulk.ts");
|
|
23838
|
+
/* harmony import */ var _Api_GetAllConnectionsOfCompositionBulk__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./Api/GetAllConnectionsOfCompositionBulk */ "./src/Api/GetAllConnectionsOfCompositionBulk.ts");
|
|
23839
|
+
/* harmony import */ var _Api_Login__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./Api/Login */ "./src/Api/Login.ts");
|
|
23840
|
+
/* harmony import */ var _Api_GetConnectionOfTheConcept__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./Api/GetConnectionOfTheConcept */ "./src/Api/GetConnectionOfTheConcept.ts");
|
|
23841
|
+
/* harmony import */ var _Api_Signup__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./Api/Signup */ "./src/Api/Signup.ts");
|
|
23842
|
+
/* harmony import */ var _Api_Signin__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./Api/Signin */ "./src/Api/Signin.ts");
|
|
23843
|
+
/* harmony import */ var _Services_UpdateComposition__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./Services/UpdateComposition */ "./src/Services/UpdateComposition.ts");
|
|
23844
|
+
/* harmony import */ var _Api_Search_Search__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./Api/Search/Search */ "./src/Api/Search/Search.ts");
|
|
23845
|
+
/* harmony import */ var _Api_Search_SearchWithLinker__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./Api/Search/SearchWithLinker */ "./src/Api/Search/SearchWithLinker.ts");
|
|
23846
|
+
/* harmony import */ var _Services_Composition_CompositionCache__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./Services/Composition/CompositionCache */ "./src/Services/Composition/CompositionCache.ts");
|
|
23847
|
+
/* harmony import */ var _Api_Session_CreateSession__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./Api/Session/CreateSession */ "./src/Api/Session/CreateSession.ts");
|
|
23848
|
+
/* harmony import */ var _Api_Session_CreateSessionVisit__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./Api/Session/CreateSessionVisit */ "./src/Api/Session/CreateSessionVisit.ts");
|
|
23849
|
+
/* harmony import */ var _Services_GetRelation__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./Services/GetRelation */ "./src/Services/GetRelation.ts");
|
|
23850
|
+
/* harmony import */ var _Services_Composition_BuildComposition__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./Services/Composition/BuildComposition */ "./src/Services/Composition/BuildComposition.ts");
|
|
23851
|
+
/* harmony import */ var _Services_Composition_CreateCompositionCache__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./Services/Composition/CreateCompositionCache */ "./src/Services/Composition/CreateCompositionCache.ts");
|
|
23852
|
+
/* harmony import */ var _Services_Local_CreateDefaultLConcept__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./Services/Local/CreateDefaultLConcept */ "./src/Services/Local/CreateDefaultLConcept.ts");
|
|
23853
|
+
/* harmony import */ var _Services_CreateTheConnectionGeneral__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./Services/CreateTheConnectionGeneral */ "./src/Services/CreateTheConnectionGeneral.ts");
|
|
23854
|
+
/* harmony import */ var _Services_Local_CreateTheConnectionLocal__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./Services/Local/CreateTheConnectionLocal */ "./src/Services/Local/CreateTheConnectionLocal.ts");
|
|
23855
|
+
/* harmony import */ var _Services_User_UserTranslation__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./Services/User/UserTranslation */ "./src/Services/User/UserTranslation.ts");
|
|
23856
|
+
/* harmony import */ var _Services_Search_SearchLinkMultiple__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Services/Search/SearchLinkMultiple */ "./src/Services/Search/SearchLinkMultiple.ts");
|
|
23857
|
+
/* harmony import */ var _Services_Local_GetTheConceptLocal__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./Services/Local/GetTheConceptLocal */ "./src/Services/Local/GetTheConceptLocal.ts");
|
|
23858
|
+
/* harmony import */ var _Services_Local_UpdateCompositionLocal__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./Services/Local/UpdateCompositionLocal */ "./src/Services/Local/UpdateCompositionLocal.ts");
|
|
23859
|
+
/* harmony import */ var _Services_Local_GetRelationLocal__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./Services/Local/GetRelationLocal */ "./src/Services/Local/GetRelationLocal.ts");
|
|
23860
|
+
/* harmony import */ var _Services_Local_GetConceptByCharacterLocal__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./Services/Local/GetConceptByCharacterLocal */ "./src/Services/Local/GetConceptByCharacterLocal.ts");
|
|
23861
|
+
/* harmony import */ var _Services_View_ViewInternalData__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./Services/View/ViewInternalData */ "./src/Services/View/ViewInternalData.ts");
|
|
23862
|
+
/* harmony import */ var _Api_View_ViewInternalDataApi__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./Api/View/ViewInternalDataApi */ "./src/Api/View/ViewInternalDataApi.ts");
|
|
23863
|
+
/* harmony import */ var _Services_Conversion_ConvertConcepts__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./Services/Conversion/ConvertConcepts */ "./src/Services/Conversion/ConvertConcepts.ts");
|
|
23864
|
+
/* harmony import */ var _Services_Search_SearchLinkInternal__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./Services/Search/SearchLinkInternal */ "./src/Services/Search/SearchLinkInternal.ts");
|
|
23865
|
+
/* harmony import */ var _Services_Local_CreateConnectionBetweenTwoConceptsLocal__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./Services/Local/CreateConnectionBetweenTwoConceptsLocal */ "./src/Services/Local/CreateConnectionBetweenTwoConceptsLocal.ts");
|
|
23866
|
+
/* harmony import */ var _Services_Local_DeleteConceptLocal__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./Services/Local/DeleteConceptLocal */ "./src/Services/Local/DeleteConceptLocal.ts");
|
|
23867
|
+
/* harmony import */ var _Services_GetConnectionBetweenTwoConceptsLinker__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./Services/GetConnectionBetweenTwoConceptsLinker */ "./src/Services/GetConnectionBetweenTwoConceptsLinker.ts");
|
|
23868
|
+
/* harmony import */ var _Services_Common_DelayFunction__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./Services/Common/DelayFunction */ "./src/Services/Common/DelayFunction.ts");
|
|
23869
|
+
/* harmony import */ var _Api_GetConceptByCharacterAndType__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./Api/GetConceptByCharacterAndType */ "./src/Api/GetConceptByCharacterAndType.ts");
|
|
23870
|
+
/* harmony import */ var _Constants_FormatConstants__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./Constants/FormatConstants */ "./src/Constants/FormatConstants.ts");
|
|
23871
|
+
/* harmony import */ var _Constants_AccessConstants__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./Constants/AccessConstants */ "./src/Constants/AccessConstants.ts");
|
|
23872
|
+
/* harmony import */ var _Api_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./Api/Search/SearchWithTypeAndLinker */ "./src/Api/Search/SearchWithTypeAndLinker.ts");
|
|
23873
|
+
/* harmony import */ var _WrapperFunctions_DepenedencyObserver__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./WrapperFunctions/DepenedencyObserver */ "./src/WrapperFunctions/DepenedencyObserver.ts");
|
|
23874
|
+
/* harmony import */ var _WrapperFunctions_SearchLinkMultipleAllObservable__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./WrapperFunctions/SearchLinkMultipleAllObservable */ "./src/WrapperFunctions/SearchLinkMultipleAllObservable.ts");
|
|
23875
|
+
/* harmony import */ var _WrapperFunctions_GetCompositionObservable__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./WrapperFunctions/GetCompositionObservable */ "./src/WrapperFunctions/GetCompositionObservable.ts");
|
|
23876
|
+
/* harmony import */ var _WrapperFunctions_GetCompositionListObservable__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./WrapperFunctions/GetCompositionListObservable */ "./src/WrapperFunctions/GetCompositionListObservable.ts");
|
|
23877
|
+
/* harmony import */ var _Services_Search_SearchWithTypeAndLinker__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./Services/Search/SearchWithTypeAndLinker */ "./src/Services/Search/SearchWithTypeAndLinker.ts");
|
|
23878
|
+
/* harmony import */ var _WrapperFunctions_GetLinkObservable__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./WrapperFunctions/GetLinkObservable */ "./src/WrapperFunctions/GetLinkObservable.ts");
|
|
23879
|
+
/* harmony import */ var _WrapperFunctions_RecursiveSearchObservable__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./WrapperFunctions/RecursiveSearchObservable */ "./src/WrapperFunctions/RecursiveSearchObservable.ts");
|
|
23880
|
+
/* harmony import */ var _WrapperFunctions_GetLinkListObservable__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./WrapperFunctions/GetLinkListObservable */ "./src/WrapperFunctions/GetLinkListObservable.ts");
|
|
23881
|
+
/* harmony import */ var _DataStructures_SyncData__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./DataStructures/SyncData */ "./src/DataStructures/SyncData.ts");
|
|
23882
|
+
/* harmony import */ var _DataStructures_Concept__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./DataStructures/Concept */ "./src/DataStructures/Concept.ts");
|
|
23883
|
+
/* harmony import */ var _DataStructures_Local_LConcept__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./DataStructures/Local/LConcept */ "./src/DataStructures/Local/LConcept.ts");
|
|
23884
|
+
/* harmony import */ var _DataStructures_Local_LConnection__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./DataStructures/Local/LConnection */ "./src/DataStructures/Local/LConnection.ts");
|
|
23885
|
+
/* harmony import */ var _DataStructures_Connection__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./DataStructures/Connection */ "./src/DataStructures/Connection.ts");
|
|
23886
|
+
/* harmony import */ var _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./DataStructures/ConceptData */ "./src/DataStructures/ConceptData.ts");
|
|
23887
|
+
/* harmony import */ var _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./DataStructures/ConnectionData */ "./src/DataStructures/ConnectionData.ts");
|
|
23888
|
+
/* harmony import */ var _DataStructures_BinaryTree__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./DataStructures/BinaryTree */ "./src/DataStructures/BinaryTree.ts");
|
|
23889
|
+
/* harmony import */ var _DataStructures_SearchQuery__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./DataStructures/SearchQuery */ "./src/DataStructures/SearchQuery.ts");
|
|
23890
|
+
/* harmony import */ var _DataStructures_PatcherStructure__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./DataStructures/PatcherStructure */ "./src/DataStructures/PatcherStructure.ts");
|
|
23891
|
+
/* harmony import */ var _DataStructures_Session_SessionData__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./DataStructures/Session/SessionData */ "./src/DataStructures/Session/SessionData.ts");
|
|
23892
|
+
/* harmony import */ var _DataStructures_Composition_Composition__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./DataStructures/Composition/Composition */ "./src/DataStructures/Composition/Composition.ts");
|
|
23893
|
+
/* harmony import */ var _DataStructures_Composition_CompositionBinaryTree__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./DataStructures/Composition/CompositionBinaryTree */ "./src/DataStructures/Composition/CompositionBinaryTree.ts");
|
|
23894
|
+
/* harmony import */ var _DataStructures_Composition_CompositionNode__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./DataStructures/Composition/CompositionNode */ "./src/DataStructures/Composition/CompositionNode.ts");
|
|
23895
|
+
/* harmony import */ var _DataStructures_Local_LocalSyncData__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./DataStructures/Local/LocalSyncData */ "./src/DataStructures/Local/LocalSyncData.ts");
|
|
23896
|
+
/* harmony import */ var _DataStructures_User_UserBinaryTree__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./DataStructures/User/UserBinaryTree */ "./src/DataStructures/User/UserBinaryTree.ts");
|
|
23897
|
+
/* harmony import */ var _DataStructures_FilterSearch__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./DataStructures/FilterSearch */ "./src/DataStructures/FilterSearch.ts");
|
|
23898
|
+
/* harmony import */ var _DataStructures_Search_SearchStructure__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./DataStructures/Search/SearchStructure */ "./src/DataStructures/Search/SearchStructure.ts");
|
|
23899
|
+
/* harmony import */ var _DataStructures_Local_LocalConceptData__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./DataStructures/Local/LocalConceptData */ "./src/DataStructures/Local/LocalConceptData.ts");
|
|
23900
|
+
/* harmony import */ var _Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./Services/GetDataFromIndexDb */ "./src/Services/GetDataFromIndexDb.ts");
|
|
23901
|
+
/* harmony import */ var _Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./Services/Local/CreateLocalBinaryTreeFromData */ "./src/Services/Local/CreateLocalBinaryTreeFromData.ts");
|
|
23902
|
+
/* harmony import */ var _Services_InitializeSystem__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./Services/InitializeSystem */ "./src/Services/InitializeSystem.ts");
|
|
23903
|
+
/* harmony import */ var _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./DataStructures/BaseUrl */ "./src/DataStructures/BaseUrl.ts");
|
|
23904
|
+
/* harmony import */ var _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./DataStructures/Security/TokenStorage */ "./src/DataStructures/Security/TokenStorage.ts");
|
|
23905
|
+
/* harmony import */ var _Constants_general_const__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./Constants/general.const */ "./src/Constants/general.const.ts");
|
|
23906
|
+
/* harmony import */ var _Middleware_logger_service__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./Middleware/logger.service */ "./src/Middleware/logger.service.ts");
|
|
23907
|
+
/* harmony import */ var _Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./Services/Common/ErrorPosting */ "./src/Services/Common/ErrorPosting.ts");
|
|
23908
|
+
/* harmony import */ var _Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./Middleware/ApplicationMonitor */ "./src/Middleware/ApplicationMonitor.ts");
|
|
23909
|
+
/* harmony import */ var _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./DataStructures/Responses/ErrorResponse */ "./src/DataStructures/Responses/ErrorResponse.ts");
|
|
23910
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./app */ "./src/app.ts");
|
|
23911
|
+
/* harmony import */ var _Widgets_BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./Widgets/BuilderStatefulWidget */ "./src/Widgets/BuilderStatefulWidget.ts");
|
|
23912
|
+
/* harmony import */ var _Services_Transaction_LocalTransaction__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./Services/Transaction/LocalTransaction */ "./src/Services/Transaction/LocalTransaction.ts");
|
|
23913
|
+
/* harmony import */ var _Anomaly_anomaly__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./Anomaly/anomaly */ "./src/Anomaly/anomaly.ts");
|
|
23914
|
+
/* harmony import */ var _Validator_validator__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./Validator/validator */ "./src/Validator/validator.ts");
|
|
23915
|
+
/* harmony import */ var _Validator_utils__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./Validator/utils */ "./src/Validator/utils.ts");
|
|
23916
|
+
/* harmony import */ var _Widgets_StatefulWidget__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./Widgets/StatefulWidget */ "./src/Widgets/StatefulWidget.ts");
|
|
23917
|
+
/* harmony import */ var _Services_DeleteConnectionByType__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./Services/DeleteConnectionByType */ "./src/Services/DeleteConnectionByType.ts");
|
|
23918
|
+
/* harmony import */ var _DataStructures_Search_FreeschemaQuery__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./DataStructures/Search/FreeschemaQuery */ "./src/DataStructures/Search/FreeschemaQuery.ts");
|
|
23919
|
+
/* harmony import */ var _Api_Search_FreeschemaQueryApi__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./Api/Search/FreeschemaQueryApi */ "./src/Api/Search/FreeschemaQueryApi.ts");
|
|
23920
|
+
/* harmony import */ var _WrapperFunctions_SchemaQueryObservable__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./WrapperFunctions/SchemaQueryObservable */ "./src/WrapperFunctions/SchemaQueryObservable.ts");
|
|
23921
|
+
/* harmony import */ var _Widgets_WidgetTree__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./Widgets/WidgetTree */ "./src/Widgets/WidgetTree.ts");
|
|
23922
|
+
/* harmony import */ var _AccessTracker_accessTracker__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./AccessTracker/accessTracker */ "./src/AccessTracker/accessTracker.ts");
|
|
23923
|
+
/* harmony import */ var _Services_CreateConnection_CreateConnectionEntity__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./Services/CreateConnection/CreateConnectionEntity */ "./src/Services/CreateConnection/CreateConnectionEntity.ts");
|
|
23924
|
+
/* harmony import */ var _Widgets_RenderWidgetService__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./Widgets/RenderWidgetService */ "./src/Widgets/RenderWidgetService.ts");
|
|
23405
23925
|
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
23406
23926
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23407
23927
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -23537,6 +24057,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
23537
24057
|
|
|
23538
24058
|
|
|
23539
24059
|
|
|
24060
|
+
|
|
24061
|
+
|
|
23540
24062
|
|
|
23541
24063
|
|
|
23542
24064
|
|
|
@@ -23555,7 +24077,7 @@ function setHasActivatedSW(value) { hasActivatedSW = value; }
|
|
|
23555
24077
|
* @param accessToken access token got from the sign in process
|
|
23556
24078
|
*/
|
|
23557
24079
|
function updateAccessToken(accessToken = "") {
|
|
23558
|
-
|
|
24080
|
+
_DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken = accessToken;
|
|
23559
24081
|
if (serviceWorker)
|
|
23560
24082
|
sendMessage('updateAccessToken', { accessToken });
|
|
23561
24083
|
}
|
|
@@ -23573,15 +24095,15 @@ function updateAccessToken(accessToken = "") {
|
|
|
23573
24095
|
function init() {
|
|
23574
24096
|
return __awaiter(this, arguments, void 0, function* (url = "", aiurl = "", accessToken = "", nodeUrl = "", enableAi = true, applicationName = "", enableSW = undefined, flags = {}) {
|
|
23575
24097
|
try {
|
|
23576
|
-
|
|
23577
|
-
|
|
23578
|
-
|
|
23579
|
-
|
|
23580
|
-
|
|
24098
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_URL = url;
|
|
24099
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.AI_URL = aiurl;
|
|
24100
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.NODE_URL = nodeUrl;
|
|
24101
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_APPLICATION = applicationName;
|
|
24102
|
+
_DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken = accessToken;
|
|
23581
24103
|
let randomizer = Math.floor(Math.random() * 100000000);
|
|
23582
24104
|
// BaseUrl.BASE_RANDOMIZER = randomizer;
|
|
23583
24105
|
// BaseUrl.BASE_RANDOMIZER = 999;
|
|
23584
|
-
|
|
24106
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.setRandomizer(randomizer);
|
|
23585
24107
|
// Change Default Flags
|
|
23586
24108
|
const defaultFlags = {
|
|
23587
24109
|
logApplication: false,
|
|
@@ -23589,10 +24111,10 @@ function init() {
|
|
|
23589
24111
|
accessTracker: false,
|
|
23590
24112
|
isTest: false
|
|
23591
24113
|
};
|
|
23592
|
-
|
|
24114
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS = defaultFlags;
|
|
23593
24115
|
// Merge Provided Flags with Defaults
|
|
23594
|
-
|
|
23595
|
-
initializeFlags(
|
|
24116
|
+
_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS = Object.assign(Object.assign({}, defaultFlags), flags);
|
|
24117
|
+
initializeFlags(_DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS);
|
|
23596
24118
|
// console.log("BaseUrl.FLAGS before sending to service worker : ", BaseUrl.FLAGS)
|
|
23597
24119
|
if (!("serviceWorker" in navigator)) {
|
|
23598
24120
|
yield initConceptConnection();
|
|
@@ -23857,10 +24379,10 @@ function sendMessage(type, payload) {
|
|
|
23857
24379
|
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
|
|
23858
24380
|
if (!event.data.success) {
|
|
23859
24381
|
if (((_b = event === null || event === void 0 ? void 0 : event.data) === null || _b === void 0 ? void 0 : _b.status) == 401) {
|
|
23860
|
-
reject((0,
|
|
24382
|
+
reject((0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__.HandleHttpError)(new Response('Unauthorized', { status: 401, statusText: (_c = event === null || event === void 0 ? void 0 : event.data) === null || _c === void 0 ? void 0 : _c.statusText })));
|
|
23861
24383
|
}
|
|
23862
24384
|
else if (((_d = event === null || event === void 0 ? void 0 : event.data) === null || _d === void 0 ? void 0 : _d.status) == 500) {
|
|
23863
|
-
reject((0,
|
|
24385
|
+
reject((0,_Services_Common_ErrorPosting__WEBPACK_IMPORTED_MODULE_103__.HandleInternalError)(new Response('Internal Server Error', { status: 500, statusText: (_e = event === null || event === void 0 ? void 0 : event.data) === null || _e === void 0 ? void 0 : _e.statusText })));
|
|
23864
24386
|
}
|
|
23865
24387
|
else {
|
|
23866
24388
|
console.error('Error in the response from worker:', event);
|
|
@@ -23970,13 +24492,13 @@ const broadcastActions = {
|
|
|
23970
24492
|
serviceWorker = navigator.serviceWorker.controller;
|
|
23971
24493
|
}
|
|
23972
24494
|
yield sendMessage("init", {
|
|
23973
|
-
url:
|
|
23974
|
-
aiurl:
|
|
23975
|
-
accessToken:
|
|
23976
|
-
nodeUrl:
|
|
24495
|
+
url: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_URL,
|
|
24496
|
+
aiurl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.AI_URL,
|
|
24497
|
+
accessToken: _DataStructures_Security_TokenStorage__WEBPACK_IMPORTED_MODULE_100__.TokenStorage.BearerAccessToken,
|
|
24498
|
+
nodeUrl: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.NODE_URL,
|
|
23977
24499
|
enableAi: false,
|
|
23978
|
-
applicationName:
|
|
23979
|
-
flags:
|
|
24500
|
+
applicationName: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.BASE_APPLICATION,
|
|
24501
|
+
flags: _DataStructures_BaseUrl__WEBPACK_IMPORTED_MODULE_99__.BaseUrl.FLAGS
|
|
23980
24502
|
});
|
|
23981
24503
|
return { success: true };
|
|
23982
24504
|
})
|
|
@@ -23986,7 +24508,7 @@ const broadcastActions = {
|
|
|
23986
24508
|
*/
|
|
23987
24509
|
function listenBroadCastMessages() {
|
|
23988
24510
|
// broadcast event can be listened through both the service worker and other tabs
|
|
23989
|
-
|
|
24511
|
+
_Constants_general_const__WEBPACK_IMPORTED_MODULE_101__.broadcastChannel.addEventListener('message', (event) => __awaiter(this, void 0, void 0, function* () {
|
|
23990
24512
|
const { type, payload } = event.data;
|
|
23991
24513
|
if (!type)
|
|
23992
24514
|
return;
|
|
@@ -24058,7 +24580,7 @@ function initConceptConnection() {
|
|
|
24058
24580
|
* @param enableAi enableAi is a flag that the user can choose to set if they want to use this enable AI feature
|
|
24059
24581
|
* If the developer does not want to use this feature then they can just set enableAi to false.
|
|
24060
24582
|
*/
|
|
24061
|
-
yield (0,
|
|
24583
|
+
yield (0,_Services_InitializeSystem__WEBPACK_IMPORTED_MODULE_98__["default"])();
|
|
24062
24584
|
const start = new Date().getTime();
|
|
24063
24585
|
/**
|
|
24064
24586
|
* This will create a binary tree in the memory from the indexdb.
|
|
@@ -24085,7 +24607,7 @@ function initConceptConnection() {
|
|
|
24085
24607
|
* Local Binary Type tree has been loaded to the index db (flag is set to denote that)
|
|
24086
24608
|
* Character Binary Tree has been loaded from indexdb to memory (flag is set to denote that)
|
|
24087
24609
|
*/
|
|
24088
|
-
yield (0,
|
|
24610
|
+
yield (0,_Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__["default"])()
|
|
24089
24611
|
.then(() => {
|
|
24090
24612
|
// IdentifierFlags.isLocalDataLoaded = true;
|
|
24091
24613
|
// IdentifierFlags.isLocalTypeLoaded = true;
|
|
@@ -24101,7 +24623,7 @@ function initConceptConnection() {
|
|
|
24101
24623
|
* a static class called LocalConnectionData.
|
|
24102
24624
|
* This function will also set and IdentifierFlag that tells the whole program that this process has finished.
|
|
24103
24625
|
*/
|
|
24104
|
-
yield (0,
|
|
24626
|
+
yield (0,_Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__.GetConnectionsFromIndexDbLocal)()
|
|
24105
24627
|
.then(() => {
|
|
24106
24628
|
_DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isLocalConnectionLoaded = true;
|
|
24107
24629
|
})
|
|
@@ -24114,7 +24636,7 @@ function initConceptConnection() {
|
|
|
24114
24636
|
* is only valid for the browser that creates this. We have a translator in our node server.
|
|
24115
24637
|
* This function does this process in initlization.
|
|
24116
24638
|
*/
|
|
24117
|
-
yield (0,
|
|
24639
|
+
yield (0,_Services_Local_CreateLocalBinaryTreeFromData__WEBPACK_IMPORTED_MODULE_97__.PopulateTheLocalConnectionToMemory)().catch((event) => {
|
|
24118
24640
|
console.log("This is the error in populating binary tree");
|
|
24119
24641
|
throw event;
|
|
24120
24642
|
});
|
|
@@ -24126,7 +24648,7 @@ function initConceptConnection() {
|
|
|
24126
24648
|
* a static class called ConnectionData.
|
|
24127
24649
|
* This function will also set and IdentifierFlag that tells the whole program that this process has finished.
|
|
24128
24650
|
*/
|
|
24129
|
-
yield (0,
|
|
24651
|
+
yield (0,_Services_GetDataFromIndexDb__WEBPACK_IMPORTED_MODULE_96__.GetConnectionsFromIndexDb)()
|
|
24130
24652
|
.then(() => {
|
|
24131
24653
|
_DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionLoaded = true;
|
|
24132
24654
|
_DataStructures_IdentifierFlags__WEBPACK_IMPORTED_MODULE_1__.IdentifierFlags.isConnectionTypeLoaded = true;
|
|
@@ -24152,7 +24674,7 @@ function dispatchIdEvent(id, data = {}) {
|
|
|
24152
24674
|
dispatchEvent(event);
|
|
24153
24675
|
}
|
|
24154
24676
|
else {
|
|
24155
|
-
|
|
24677
|
+
_Constants_general_const__WEBPACK_IMPORTED_MODULE_101__.broadcastChannel.postMessage({ type: 'dispatchEvent', payload: { id } });
|
|
24156
24678
|
}
|
|
24157
24679
|
}
|
|
24158
24680
|
function processMessageQueue() {
|
|
@@ -24165,7 +24687,7 @@ function processMessageQueue() {
|
|
|
24165
24687
|
}
|
|
24166
24688
|
const handleServiceWorkerException = (error) => {
|
|
24167
24689
|
// if (error instanceof FreeSchemaResponse && error.getStatus() != 401) {
|
|
24168
|
-
if (error instanceof
|
|
24690
|
+
if (error instanceof _DataStructures_Responses_ErrorResponse__WEBPACK_IMPORTED_MODULE_105__.FreeSchemaResponse) {
|
|
24169
24691
|
console.error('FreeSchemaResponse Error', error);
|
|
24170
24692
|
throw error;
|
|
24171
24693
|
}
|
|
@@ -24178,16 +24700,16 @@ const handleServiceWorkerException = (error) => {
|
|
|
24178
24700
|
function initializeFlags(flags) {
|
|
24179
24701
|
try {
|
|
24180
24702
|
if (flags.logApplication) {
|
|
24181
|
-
|
|
24182
|
-
|
|
24703
|
+
_Middleware_ApplicationMonitor__WEBPACK_IMPORTED_MODULE_104__.ApplicationMonitor.initialize();
|
|
24704
|
+
_app__WEBPACK_IMPORTED_MODULE_106__.Logger.logApplicationActivationStatus = true;
|
|
24183
24705
|
console.warn("Application log started.");
|
|
24184
24706
|
}
|
|
24185
24707
|
if (flags.logPackage) {
|
|
24186
|
-
|
|
24708
|
+
_app__WEBPACK_IMPORTED_MODULE_106__.Logger.logPackageActivationStatus = true;
|
|
24187
24709
|
console.warn("Package log started.");
|
|
24188
24710
|
}
|
|
24189
24711
|
if (flags.accessTracker) {
|
|
24190
|
-
|
|
24712
|
+
_app__WEBPACK_IMPORTED_MODULE_106__.AccessTracker.activateStatus = true;
|
|
24191
24713
|
console.warn("Access Tracker Activated.");
|
|
24192
24714
|
}
|
|
24193
24715
|
if (flags.isTest) {
|