@rws-framework/client 2.10.6 → 2.10.8

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/client",
3
3
  "private": false,
4
- "version": "2.10.6",
4
+ "version": "2.10.8",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "docs": "typedoc --tsconfig ./tsconfig.json"
@@ -41,8 +41,6 @@ async function loadPartedComponents(this: RWSClientInstance): Promise<RWSInfoTyp
41
41
  function defineAllComponents() {
42
42
  const richWindowComponents: RWSWindowComponentRegister = (window as Window & RWSWindow).RWS.components;
43
43
 
44
- console.log({richWindowComponents})
45
-
46
44
  Object.keys(richWindowComponents).map(key => richWindowComponents[key].component).forEach((el: IWithCompose<RWSViewComponent>) => {
47
45
  el.define(el as any, el.definition);
48
46
  });
@@ -123,11 +123,12 @@ let rwsTemplate: any = T.html\`${templateContent}\`;
123
123
 
124
124
  // The result can be accessed through the `m`-variable.
125
125
  m.forEach((match, groupIndex) => {
126
- if(groupIndex === 2){
126
+ if(groupIndex === 3){
127
127
  className = match;
128
128
  }
129
129
  });
130
- }
130
+ }
131
+
131
132
 
132
133
  if(className){
133
134
  const replacedViewDecoratorContent = processedContent.replace(
@@ -135,7 +136,7 @@ let rwsTemplate: any = T.html\`${templateContent}\`;
135
136
  `@RWSView('$1', null, { template: rwsTemplate, styles${addedParams.length? ', options: {' + (addedParams.join(', ')) + '}': ''} })\n$2class $3 extends RWSViewComponent `
136
137
  );
137
138
  processedContent = `${template}\n${styles}\n${addedParamDefs.join('\n')}\n` + replacedViewDecoratorContent;
138
- }
139
+ }
139
140
 
140
141
  processedContent = `${htmlFastImports ? htmlFastImports + '\n' : ''}${processedContent}`;
141
142
  }