@stencil/angular-output-target 0.0.1-dev.11734409046.189fd148 → 0.0.1-dev.11735332610.1971f219

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.
@@ -139,6 +139,10 @@ const formatOutputType = (componentClassName, event) => {
139
139
  return [p1, `I${componentClassName}${v.substring(1, v.length - 1)}`, p2].join('');
140
140
  }
141
141
  return [p1, dst, p2].join('');
142
+ })
143
+ // Capture all instances that contain sub types, e.g. `IMyComponent.SomeMoreComplexType.SubType`.
144
+ .replace(new RegExp(`^${src}(\.\\w+)+$`, 'g'), (type) => {
145
+ return `I${componentClassName}${src}.${type.split('.').slice(1).join('.')}`;
142
146
  }));
143
147
  }, event.complexType.original
144
148
  .replace(/\n/g, ' ')
package/dist/index.cjs.js CHANGED
@@ -278,6 +278,10 @@ const formatOutputType = (componentClassName, event) => {
278
278
  return [p1, `I${componentClassName}${v.substring(1, v.length - 1)}`, p2].join('');
279
279
  }
280
280
  return [p1, dst, p2].join('');
281
+ })
282
+ // Capture all instances that contain sub types, e.g. `IMyComponent.SomeMoreComplexType.SubType`.
283
+ .replace(new RegExp(`^${src}(\.\\w+)+$`, 'g'), (type) => {
284
+ return `I${componentClassName}${src}.${type.split('.').slice(1).join('.')}`;
281
285
  }));
282
286
  }, event.complexType.original
283
287
  .replace(/\n/g, ' ')
package/dist/index.js CHANGED
@@ -276,6 +276,10 @@ const formatOutputType = (componentClassName, event) => {
276
276
  return [p1, `I${componentClassName}${v.substring(1, v.length - 1)}`, p2].join('');
277
277
  }
278
278
  return [p1, dst, p2].join('');
279
+ })
280
+ // Capture all instances that contain sub types, e.g. `IMyComponent.SomeMoreComplexType.SubType`.
281
+ .replace(new RegExp(`^${src}(\.\\w+)+$`, 'g'), (type) => {
282
+ return `I${componentClassName}${src}.${type.split('.').slice(1).join('.')}`;
279
283
  }));
280
284
  }, event.complexType.original
281
285
  .replace(/\n/g, ' ')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/angular-output-target",
3
- "version": "0.0.1-dev.11734409046.189fd148",
3
+ "version": "0.0.1-dev.11735332610.1971f219",
4
4
  "description": "Angular output target for @stencil/core components.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "scripts": {
24
24
  "prepublishOnly": "pnpm run build",
25
- "prebuild": "rimraf ./dist && pnpm run test",
25
+ "prebuild": "rimraf ./dist",
26
26
  "build": "tsc && pnpm run rollup",
27
27
  "dev": "run-p dev:*",
28
28
  "dev:build": "tsc --watch --preserveWatchOutput",
@@ -60,5 +60,5 @@
60
60
  "peerDependencies": {
61
61
  "@stencil/core": ">=2.0.0 || >=3 || >= 4.0.0-beta.0 || >= 4.0.0"
62
62
  },
63
- "gitHead": "89fd148dd07aef968f8806f1bc97cf0bffa5844d"
63
+ "gitHead": "971f219ebe92260d416e7da4af036715b8009e9f"
64
64
  }