@c8y/api-doc 1024.16.12 → 1024.16.17

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,14 +1,14 @@
1
1
  {
2
2
  "name": "@c8y/api-doc",
3
- "version": "1024.16.12",
3
+ "version": "1024.16.17",
4
4
  "description": "This package is a blueprint application which allows to show all API documentations of the platform.",
5
5
  "dependencies": {
6
6
  "@angular/animations": "^21.2.0",
7
7
  "@angular/cdk": "^21.2.0",
8
- "@c8y/bootstrap": "1024.16.12",
9
- "@c8y/client": "1024.16.12",
10
- "@c8y/ngx-components": "1024.16.12",
11
- "@c8y/style": "1024.16.12",
8
+ "@c8y/bootstrap": "1024.16.17",
9
+ "@c8y/client": "1024.16.17",
10
+ "@c8y/ngx-components": "1024.16.17",
11
+ "@c8y/style": "1024.16.17",
12
12
  "lodash": "^4.18.1",
13
13
  "monaco-editor": "~0.53.0",
14
14
  "ngx-bootstrap": "21.0.1",
@@ -20,8 +20,8 @@
20
20
  "enabled": false
21
21
  },
22
22
  "devDependencies": {
23
- "@c8y/devkit": "1024.16.12",
24
- "@c8y/options": "1024.16.12",
23
+ "@c8y/devkit": "1024.16.17",
24
+ "@c8y/options": "1024.16.17",
25
25
  "@types/lodash": "4.17.24"
26
26
  },
27
27
  "peerDependencies": {
@@ -1,5 +1,5 @@
1
1
  import { AsyncPipe } from '@angular/common';
2
- import { Component, inject } from '@angular/core';
2
+ import { Component, inject, ChangeDetectionStrategy } from '@angular/core';
3
3
  import { RouterLink } from '@angular/router';
4
4
  import {
5
5
  AppIconComponent,
@@ -30,7 +30,8 @@ import { ApiDocService } from '../api-doc.service';
30
30
  C8yTranslateDirective,
31
31
  C8yTranslatePipe,
32
32
  AppIconComponent
33
- ]
33
+ ],
34
+ changeDetection: ChangeDetectionStrategy.Eager
34
35
  })
35
36
  export class ApiDocHomeComponent {
36
37
  private apiDocService = inject(ApiDocService);
@@ -1,4 +1,4 @@
1
- import { Component } from '@angular/core';
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { AppIconComponent } from '@c8y/ngx-components';
3
3
 
4
4
  export function createAppIconComponent(app: any) {
@@ -7,7 +7,8 @@ export function createAppIconComponent(app: any) {
7
7
  templateUrl: './app-icon-navigator.component.html',
8
8
  styleUrls: ['./app-icon-navigator.component.scss'],
9
9
  standalone: true,
10
- imports: [AppIconComponent]
10
+ imports: [AppIconComponent],
11
+ changeDetection: ChangeDetectionStrategy.Eager
11
12
  })
12
13
  class AppIconNavigatorComponent {
13
14
  app = app;
@@ -6,7 +6,8 @@ import {
6
6
  inject,
7
7
  OnDestroy,
8
8
  ViewChild,
9
- ViewEncapsulation
9
+ ViewEncapsulation,
10
+ ChangeDetectionStrategy
10
11
  } from '@angular/core';
11
12
  import { ActivatedRoute } from '@angular/router';
12
13
  import { FetchClient } from '@c8y/client';
@@ -26,7 +27,8 @@ import { ApiDocService } from '../api-doc.service';
26
27
  templateUrl: './swagger.component.html',
27
28
  styleUrls: ['./swagger.component.scss'],
28
29
  encapsulation: ViewEncapsulation.None,
29
- imports: [IconDirective, ActionBarItemComponent, C8yTranslatePipe, TitleComponent, AsyncPipe]
30
+ imports: [IconDirective, ActionBarItemComponent, C8yTranslatePipe, TitleComponent, AsyncPipe],
31
+ changeDetection: ChangeDetectionStrategy.Eager
30
32
  })
31
33
  export class SwaggerComponent implements OnDestroy, AfterViewInit {
32
34
  @ViewChild('apiDocElement', { static: true }) apiDocElement: ElementRef | undefined;