@pronto-tools-and-more/components-renderer 10.20.0 → 10.22.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components-renderer",
3
- "version": "10.20.0",
3
+ "version": "10.22.0",
4
4
  "description": "",
5
5
  "main": "src/componentsRendererMain.js",
6
6
  "type": "module",
@@ -7,6 +7,7 @@ const createView = (value) => {
7
7
  path: value.path,
8
8
  name: value.name,
9
9
  content: [value.component()],
10
+ errorPage: value.errorPage,
10
11
  };
11
12
  } catch (error) {
12
13
  throw new VError(error, `Failed to create view`);
@@ -5,5 +5,6 @@ export const renderView = (view) => {
5
5
  path: view.path,
6
6
  name: view.name,
7
7
  content: view.content.map(RenderElement.renderElement),
8
+ errorPage: view.errorPage,
8
9
  };
9
10
  };
@@ -1,9 +0,0 @@
1
- export const EmbedsProcess = 2;
2
- export const EmbedsWorker = 77;
3
- export const ExtensionHostHelperProcess = 3;
4
- export const MainProcess = -5;
5
- export const ProcessExplorer = 11;
6
- export const SearchProcess = 13;
7
- export const SharedProcess = 1;
8
- export const TerminalProcess = 7;
9
- export const Unknown = 0;
@@ -1,5 +0,0 @@
1
- const htmlTags = ["h1", "h2", "div", "section"];
2
-
3
- export const isHtml = (tag) => {
4
- return htmlTags.includes(tag);
5
- };