@scifeon/sdk 0.109.0 → 0.111.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/action-target.d.ts +7 -7
- package/dist/action-target.js +11 -11
- package/dist/app/app-generator.d.ts +34 -34
- package/dist/app/app-generator.js +470 -470
- package/dist/app/app-persist.d.ts +18 -18
- package/dist/app/app-persist.js +193 -193
- package/dist/app/app-validator.d.ts +8 -8
- package/dist/app/app-validator.js +145 -145
- package/dist/app/interfaces/app-json.interface.d.ts +4 -4
- package/dist/app/interfaces/app-json.interface.js +2 -2
- package/dist/app/interfaces/app-type.enum.d.ts +5 -5
- package/dist/app/interfaces/app-type.enum.js +9 -9
- package/dist/app/interfaces/contributions/contributions-json.interface.d.ts +56 -55
- package/dist/app/interfaces/contributions/contributions-json.interface.js +2 -2
- package/dist/app/interfaces/contributions/main-menu.interface.d.ts +12 -12
- package/dist/app/interfaces/contributions/main-menu.interface.js +2 -2
- package/dist/app/interfaces/contributions/menu-item.interface.d.ts +5 -5
- package/dist/app/interfaces/contributions/menu-item.interface.js +2 -2
- package/dist/app/interfaces/contributions/page-menu-item.interface.d.ts +10 -10
- package/dist/app/interfaces/contributions/page-menu-item.interface.js +2 -2
- package/dist/app/interfaces/contributions/page-menu.interface.d.ts +9 -9
- package/dist/app/interfaces/contributions/page-menu.interface.js +2 -2
- package/dist/app/interfaces/package-json.interface.d.ts +14 -14
- package/dist/app/interfaces/package-json.interface.js +2 -2
- package/dist/app/interfaces/webpack-config.interface.d.ts +5 -5
- package/dist/app/interfaces/webpack-config.interface.js +2 -2
- package/dist/cli/commands/app/build.d.ts +4 -4
- package/dist/cli/commands/app/build.js +43 -43
- package/dist/cli/commands/app/clean.d.ts +3 -3
- package/dist/cli/commands/app/clean.js +15 -15
- package/dist/cli/commands/app/debug.d.ts +3 -3
- package/dist/cli/commands/app/debug.js +22 -22
- package/dist/cli/commands/app/e2e-test.d.ts +3 -3
- package/dist/cli/commands/app/e2e-test.js +23 -23
- package/dist/cli/commands/app/new.d.ts +6 -6
- package/dist/cli/commands/app/new.js +190 -190
- package/dist/cli/commands/app/package.d.ts +3 -3
- package/dist/cli/commands/app/package.js +10 -10
- package/dist/cli/commands/app/post-process.d.ts +8 -8
- package/dist/cli/commands/app/post-process.js +122 -122
- package/dist/cli/commands/app/scaffold.d.ts +4 -4
- package/dist/cli/commands/app/scaffold.js +19 -19
- package/dist/cli/commands/app/unit-test.d.ts +3 -3
- package/dist/cli/commands/app/unit-test.js +11 -11
- package/dist/cli/commands/app/validate.d.ts +3 -3
- package/dist/cli/commands/app/validate.js +20 -20
- package/dist/cli/commands/app/version.d.ts +3 -3
- package/dist/cli/commands/app/version.js +17 -17
- package/dist/cli/commands/app/watch.d.ts +3 -3
- package/dist/cli/commands/app/watch.js +48 -48
- package/dist/cli/commands/scifeon/download.d.ts +3 -3
- package/dist/cli/commands/scifeon/download.js +48 -48
- package/dist/cli/commands/scifeon/run.d.ts +3 -3
- package/dist/cli/commands/scifeon/run.js +41 -41
- package/dist/cli/config.d.ts +11 -11
- package/dist/cli/config.js +23 -23
- package/dist/cli/index.d.ts +9 -9
- package/dist/cli/index.js +159 -159
- package/dist/cli/webpack-runner.d.ts +1 -1
- package/dist/cli/webpack-runner.js +26 -26
- package/dist/download-utils.d.ts +3 -3
- package/dist/download-utils.js +51 -51
- package/dist/file-utils.d.ts +5 -5
- package/dist/file-utils.js +41 -41
- package/dist/html-report.d.ts +15 -15
- package/dist/html-report.js +212 -212
- package/dist/index.d.ts +2 -2
- package/dist/index.js +23 -23
- package/dist/logger.d.ts +14 -14
- package/dist/logger.js +52 -52
- package/dist/measurement-units.d.ts +5 -5
- package/dist/measurement-units.js +9 -9
- package/dist/page-types.d.ts +6 -6
- package/dist/page-types.js +10 -10
- package/dist/plugin-types.d.ts +47 -47
- package/dist/plugin-types.js +51 -51
- package/dist/unit-test-runner.d.ts +1 -1
- package/dist/unit-test-runner.js +82 -82
- package/dist/utils/test-helper.d.ts +4 -4
- package/dist/utils/test-helper.js +46 -46
- package/dist/webpack-app-config.d.ts +2 -2
- package/dist/webpack-app-config.js +248 -248
- package/dist/webpack-utils.d.ts +8 -8
- package/dist/webpack-utils.js +91 -91
- package/package.json +72 -72
- package/resources/new-app/README.md +12 -12
- package/resources/new-app/editor/.vscode/launch.json +40 -40
- package/resources/new-app/gitignore.txt +6 -6
- package/resources/new-app/typescript/src/index.html +14 -14
- package/resources/new-app/typescript/src/index.ts +32 -32
- package/resources/new-app/typescript/test/e2e/frontpage.test.ts +16 -16
- package/resources/new-app/typescript/test/e2e-config.ts +14 -14
- package/resources/new-app/typescript/test/unit/index.test.ts +7 -7
- package/resources/new-app/typescript/tsconfig.json +39 -39
- package/resources/scaffold-templates/scaffold-e2e-test.ts +19 -19
- package/resources/test/chai.js +10706 -10706
- package/resources/test/mocha.css +326 -326
- package/resources/test/mocha.js +16590 -16590
- package/resources/test/tests.html +26 -26
package/dist/action-target.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum ACTION_TARGET {
|
|
2
|
-
ELN_STEP = "eln.step",
|
|
3
|
-
ENTITY_SIDEBAR = "entity.sidebar",
|
|
4
|
-
MAIN_MENU_CREATE = "main_menu.create",
|
|
5
|
-
ELN_EXPERIMENT = "eln.experiment",
|
|
6
|
-
ENTITY_MENU = "entity.menu"
|
|
7
|
-
}
|
|
1
|
+
export declare enum ACTION_TARGET {
|
|
2
|
+
ELN_STEP = "eln.step",
|
|
3
|
+
ENTITY_SIDEBAR = "entity.sidebar",
|
|
4
|
+
MAIN_MENU_CREATE = "main_menu.create",
|
|
5
|
+
ELN_EXPERIMENT = "eln.experiment",
|
|
6
|
+
ENTITY_MENU = "entity.menu"
|
|
7
|
+
}
|
package/dist/action-target.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ACTION_TARGET = void 0;
|
|
4
|
-
var ACTION_TARGET;
|
|
5
|
-
(function (ACTION_TARGET) {
|
|
6
|
-
ACTION_TARGET["ELN_STEP"] = "eln.step";
|
|
7
|
-
ACTION_TARGET["ENTITY_SIDEBAR"] = "entity.sidebar";
|
|
8
|
-
ACTION_TARGET["MAIN_MENU_CREATE"] = "main_menu.create";
|
|
9
|
-
ACTION_TARGET["ELN_EXPERIMENT"] = "eln.experiment";
|
|
10
|
-
ACTION_TARGET["ENTITY_MENU"] = "entity.menu";
|
|
11
|
-
})(ACTION_TARGET = exports.ACTION_TARGET || (exports.ACTION_TARGET = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ACTION_TARGET = void 0;
|
|
4
|
+
var ACTION_TARGET;
|
|
5
|
+
(function (ACTION_TARGET) {
|
|
6
|
+
ACTION_TARGET["ELN_STEP"] = "eln.step";
|
|
7
|
+
ACTION_TARGET["ENTITY_SIDEBAR"] = "entity.sidebar";
|
|
8
|
+
ACTION_TARGET["MAIN_MENU_CREATE"] = "main_menu.create";
|
|
9
|
+
ACTION_TARGET["ELN_EXPERIMENT"] = "eln.experiment";
|
|
10
|
+
ACTION_TARGET["ENTITY_MENU"] = "entity.menu";
|
|
11
|
+
})(ACTION_TARGET = exports.ACTION_TARGET || (exports.ACTION_TARGET = {}));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { IAppJson } from "./interfaces/app-json.interface";
|
|
2
|
-
import { IWebpackConfig } from "./interfaces/webpack-config.interface";
|
|
3
|
-
export declare class AppGenerator {
|
|
4
|
-
private config;
|
|
5
|
-
private appType;
|
|
6
|
-
private packageJson;
|
|
7
|
-
private contributionsJson;
|
|
8
|
-
private app;
|
|
9
|
-
private javascript;
|
|
10
|
-
private jsonDir;
|
|
11
|
-
private srcFiles;
|
|
12
|
-
private tsFiles;
|
|
13
|
-
private idCounter;
|
|
14
|
-
private validator;
|
|
15
|
-
constructor(config: IWebpackConfig, appType: string);
|
|
16
|
-
generate(): IAppJson;
|
|
17
|
-
save(force?: boolean): void;
|
|
18
|
-
private transformPackageJson;
|
|
19
|
-
private transformContributionsJson;
|
|
20
|
-
private generateGenAppJson;
|
|
21
|
-
private generateScopes;
|
|
22
|
-
private generateGenAppJs;
|
|
23
|
-
private addCustomElementDecorators;
|
|
24
|
-
private addRouteDecorators;
|
|
25
|
-
private addElnStepSectionDecorators;
|
|
26
|
-
private addActionDecorators;
|
|
27
|
-
private addStepBuilderDecorators;
|
|
28
|
-
private addDashboardWidgetDecorators;
|
|
29
|
-
private addDataLoaderDecorators;
|
|
30
|
-
private addPluginDecorators;
|
|
31
|
-
private addGridCardDecorators;
|
|
32
|
-
private normalizePath;
|
|
33
|
-
private fileIncludesDecorator;
|
|
34
|
-
}
|
|
1
|
+
import { IAppJson } from "./interfaces/app-json.interface";
|
|
2
|
+
import { IWebpackConfig } from "./interfaces/webpack-config.interface";
|
|
3
|
+
export declare class AppGenerator {
|
|
4
|
+
private config;
|
|
5
|
+
private appType;
|
|
6
|
+
private packageJson;
|
|
7
|
+
private contributionsJson;
|
|
8
|
+
private app;
|
|
9
|
+
private javascript;
|
|
10
|
+
private jsonDir;
|
|
11
|
+
private srcFiles;
|
|
12
|
+
private tsFiles;
|
|
13
|
+
private idCounter;
|
|
14
|
+
private validator;
|
|
15
|
+
constructor(config: IWebpackConfig, appType: string);
|
|
16
|
+
generate(): IAppJson;
|
|
17
|
+
save(force?: boolean): void;
|
|
18
|
+
private transformPackageJson;
|
|
19
|
+
private transformContributionsJson;
|
|
20
|
+
private generateGenAppJson;
|
|
21
|
+
private generateScopes;
|
|
22
|
+
private generateGenAppJs;
|
|
23
|
+
private addCustomElementDecorators;
|
|
24
|
+
private addRouteDecorators;
|
|
25
|
+
private addElnStepSectionDecorators;
|
|
26
|
+
private addActionDecorators;
|
|
27
|
+
private addStepBuilderDecorators;
|
|
28
|
+
private addDashboardWidgetDecorators;
|
|
29
|
+
private addDataLoaderDecorators;
|
|
30
|
+
private addPluginDecorators;
|
|
31
|
+
private addGridCardDecorators;
|
|
32
|
+
private normalizePath;
|
|
33
|
+
private fileIncludesDecorator;
|
|
34
|
+
}
|