@baloise/angular-output-target 1.2.2 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.5](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.4...@baloise/angular-output-target@1.2.5) (2022-03-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add shared module ([1869046](https://github.com/baloise/stencil-ds-output-targets/commit/1869046d76f85b6d5916412ff7a17c0ef9cc66ff))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.2.4](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.3...@baloise/angular-output-target@1.2.4) (2022-03-07)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **angular:** add forward refs ([248fcf7](https://github.com/baloise/stencil-ds-output-targets/commit/248fcf742f5e099b970567be65e4c1373edcf98b))
23
+
24
+
25
+
26
+
27
+
28
+ ## [1.2.3](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.2...@baloise/angular-output-target@1.2.3) (2022-03-06)
29
+
30
+ **Note:** Version bump only for package @baloise/angular-output-target
31
+
32
+
33
+
34
+
35
+
6
36
  ## [1.2.2](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.1...@baloise/angular-output-target@1.2.2) (2022-03-01)
7
37
 
8
38
 
@@ -44,7 +44,7 @@ ${declarationImports.join('\n ')}
44
44
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
45
45
  exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
46
46
  providers: [${providers.join(', ')}],
47
- imports: [CommonModule],
47
+ imports: [BalSharedModule],
48
48
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
49
49
  })
50
50
  export class ${tagNameAsPascal}Module {
package/dist/index.cjs.js CHANGED
@@ -280,7 +280,7 @@ ${declarationImports.join('\n ')}
280
280
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
281
281
  exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
282
282
  providers: [${providers.join(', ')}],
283
- imports: [CommonModule],
283
+ imports: [BalSharedModule],
284
284
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
285
285
  })
286
286
  export class ${tagNameAsPascal}Module {
@@ -328,7 +328,7 @@ function generateProxies(components, pkgData, outputTarget, rootDir) {
328
328
  const imports = `/* tslint:disable */
329
329
  /* auto-generated angular directive proxies */
330
330
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
331
- import { CommonModule } from '@angular/common';
331
+ import { BalSharedModule } from '../shared';
332
332
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
333
333
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
334
334
  const typeImports = !outputTarget.componentCorePackage
package/dist/index.js CHANGED
@@ -271,7 +271,7 @@ ${declarationImports.join('\n ')}
271
271
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
272
272
  exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
273
273
  providers: [${providers.join(', ')}],
274
- imports: [CommonModule],
274
+ imports: [BalSharedModule],
275
275
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
276
276
  })
277
277
  export class ${tagNameAsPascal}Module {
@@ -319,7 +319,7 @@ function generateProxies(components, pkgData, outputTarget, rootDir) {
319
319
  const imports = `/* tslint:disable */
320
320
  /* auto-generated angular directive proxies */
321
321
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
322
- import { CommonModule } from '@angular/common';
322
+ import { BalSharedModule } from '../shared';
323
323
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
324
324
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
325
325
  const typeImports = !outputTarget.componentCorePackage
@@ -41,7 +41,7 @@ export function generateProxies(components, pkgData, outputTarget, rootDir) {
41
41
  const imports = `/* tslint:disable */
42
42
  /* auto-generated angular directive proxies */
43
43
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
44
- import { CommonModule } from '@angular/common';
44
+ import { BalSharedModule } from '../shared';
45
45
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
46
46
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
47
47
  const typeImports = !outputTarget.componentCorePackage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baloise/angular-output-target",
3
- "version": "1.2.2",
3
+ "version": "1.2.5",
4
4
  "description": "Angular output target for @stencil/core components.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -61,5 +61,5 @@
61
61
  ],
62
62
  "testURL": "http://localhost"
63
63
  },
64
- "gitHead": "5d4a1fbdf9a4255a0ea58bb8e6d7afa3ca2c7ff9"
64
+ "gitHead": "f82d32fc10c4d20fafbafdd76eae23ffae040c09"
65
65
  }
@@ -1,4 +1,4 @@
1
- import { Directive, ElementRef } from '@angular/core'
1
+ import { Directive, ElementRef, forwardRef } from '@angular/core'
2
2
  import { NG_VALUE_ACCESSOR } from '@angular/forms'
3
3
 
4
4
  import { ValueAccessor } from './value-accessor'
@@ -12,7 +12,7 @@ import { ValueAccessor } from './value-accessor'
12
12
  providers: [
13
13
  {
14
14
  provide: NG_VALUE_ACCESSOR,
15
- useExisting: BooleanValueAccessor,
15
+ useExisting: forwardRef(() => BooleanValueAccessor),
16
16
  multi: true,
17
17
  },
18
18
  ],
@@ -1,4 +1,4 @@
1
- import { Directive, ElementRef } from '@angular/core'
1
+ import { Directive, ElementRef, forwardRef } from '@angular/core'
2
2
  import { NG_VALUE_ACCESSOR } from '@angular/forms'
3
3
 
4
4
  import { ValueAccessor } from './value-accessor'
@@ -12,7 +12,7 @@ import { ValueAccessor } from './value-accessor'
12
12
  providers: [
13
13
  {
14
14
  provide: NG_VALUE_ACCESSOR,
15
- useExisting: NumericValueAccessor,
15
+ useExisting: forwardRef(() => NumericValueAccessor),
16
16
  multi: true,
17
17
  },
18
18
  ],
@@ -1,4 +1,4 @@
1
- import { Directive, ElementRef } from '@angular/core'
1
+ import { Directive, ElementRef, forwardRef } from '@angular/core'
2
2
  import { NG_VALUE_ACCESSOR } from '@angular/forms'
3
3
 
4
4
  import { ValueAccessor } from './value-accessor'
@@ -12,7 +12,7 @@ import { ValueAccessor } from './value-accessor'
12
12
  providers: [
13
13
  {
14
14
  provide: NG_VALUE_ACCESSOR,
15
- useExisting: RadioValueAccessor,
15
+ useExisting: forwardRef(() => RadioValueAccessor),
16
16
  multi: true,
17
17
  },
18
18
  ],
@@ -1,4 +1,4 @@
1
- import { Directive, ElementRef } from '@angular/core'
1
+ import { Directive, ElementRef, forwardRef } from '@angular/core'
2
2
  import { NG_VALUE_ACCESSOR } from '@angular/forms'
3
3
 
4
4
  import { ValueAccessor } from './value-accessor'
@@ -12,7 +12,7 @@ import { ValueAccessor } from './value-accessor'
12
12
  providers: [
13
13
  {
14
14
  provide: NG_VALUE_ACCESSOR,
15
- useExisting: SelectValueAccessor,
15
+ useExisting: forwardRef(() => SelectValueAccessor),
16
16
  multi: true,
17
17
  },
18
18
  ],
@@ -1,4 +1,4 @@
1
- import { Directive, ElementRef } from '@angular/core'
1
+ import { Directive, ElementRef, forwardRef } from '@angular/core'
2
2
  import { NG_VALUE_ACCESSOR } from '@angular/forms'
3
3
 
4
4
  import { ValueAccessor } from './value-accessor'
@@ -12,7 +12,7 @@ import { ValueAccessor } from './value-accessor'
12
12
  providers: [
13
13
  {
14
14
  provide: NG_VALUE_ACCESSOR,
15
- useExisting: TextValueAccessor,
15
+ useExisting: forwardRef(() => TextValueAccessor),
16
16
  multi: true,
17
17
  },
18
18
  ],