@scifeon/sdk 0.103.0 → 0.104.0
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/app/app-persist.js
CHANGED
|
@@ -115,16 +115,6 @@ class AppPersist {
|
|
|
115
115
|
}
|
|
116
116
|
copyFiles() {
|
|
117
117
|
const filePath = path.resolve(this.jsonDir, "files");
|
|
118
|
-
if (this.app.scifeon.contributions.menu && this.app.scifeon.contributions.menu.main) {
|
|
119
|
-
for (const item of this.app.scifeon.contributions.menu.main.filter(m => m.iconSrc)) {
|
|
120
|
-
const iconSrc = path.resolve(this.config.appPath, item.iconSrc);
|
|
121
|
-
const filename = path.basename(iconSrc);
|
|
122
|
-
const newPath = path.resolve(filePath, item.iconSrc);
|
|
123
|
-
file_utils_1.FileUtils.createDirRecurSync(newPath.replace(filename, ""));
|
|
124
|
-
fs.copyFileSync(iconSrc, newPath);
|
|
125
|
-
item.iconSrc = `/api/app/files/${this.app.namespace}/${this.app.name}/${item.iconSrc}`;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
118
|
if (this.app.scifeon.contributions.files) {
|
|
129
119
|
for (const file of this.app.scifeon.contributions.files) {
|
|
130
120
|
const fileSrc = path.resolve(this.config.appPath, file);
|
package/dist/plugin-types.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare enum PLUGIN_TYPE {
|
|
|
35
35
|
ELN_STEP_FORM_MODE = "eln.step.form.mode",
|
|
36
36
|
ELN_STEP_CONTROL = "eln.step.control",
|
|
37
37
|
ELN_STEP_SELECT_PROCEDURE_FILTER = "eln.step.select_procedure_filter",
|
|
38
|
-
|
|
38
|
+
ELN_BATCH_RECIPE_COLUMN = "eln.batch_recipe.column",
|
|
39
39
|
FORM_VARIABLE_INJECTION = "form.variable_injection",
|
|
40
40
|
PRE_PROCESS_SAVE_ENTITY = "pre_process_save_entity",
|
|
41
41
|
ADMINISTRATION_SETTINGS = "administration.settings",
|
package/dist/plugin-types.js
CHANGED
|
@@ -39,7 +39,7 @@ var PLUGIN_TYPE;
|
|
|
39
39
|
PLUGIN_TYPE["ELN_STEP_FORM_MODE"] = "eln.step.form.mode";
|
|
40
40
|
PLUGIN_TYPE["ELN_STEP_CONTROL"] = "eln.step.control";
|
|
41
41
|
PLUGIN_TYPE["ELN_STEP_SELECT_PROCEDURE_FILTER"] = "eln.step.select_procedure_filter";
|
|
42
|
-
PLUGIN_TYPE["
|
|
42
|
+
PLUGIN_TYPE["ELN_BATCH_RECIPE_COLUMN"] = "eln.batch_recipe.column";
|
|
43
43
|
PLUGIN_TYPE["FORM_VARIABLE_INJECTION"] = "form.variable_injection";
|
|
44
44
|
PLUGIN_TYPE["PRE_PROCESS_SAVE_ENTITY"] = "pre_process_save_entity";
|
|
45
45
|
PLUGIN_TYPE["ADMINISTRATION_SETTINGS"] = "administration.settings";
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.TestHelper = void 0;
|
|
13
13
|
const fs = require("fs");
|
|
14
14
|
const node_fetch_1 = require("node-fetch");
|
|
15
|
-
const XLSX_URL = "https://
|
|
15
|
+
const XLSX_URL = "https://cdn.sheetjs.com/xlsx-0.20.0/package/dist/xlsx.full.min.js";
|
|
16
16
|
const requireCache = {};
|
|
17
17
|
const requireURL = (url) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
18
|
let script;
|