@c8y/sample-plugin 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/sample-plugin",
3
- "version": "1024.16.12",
3
+ "version": "1024.16.17",
4
4
  "description": "",
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
  "gridstack": "^12.4.2",
13
13
  "monaco-editor": "~0.53.0",
14
14
  "ngx-bootstrap": "21.0.1",
@@ -16,8 +16,8 @@
16
16
  "zone.js": "~0.15.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@c8y/devkit": "1024.16.12",
20
- "@c8y/options": "1024.16.12"
19
+ "@c8y/devkit": "1024.16.17",
20
+ "@c8y/options": "1024.16.17"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@angular/common": ">=21 <22"
@@ -1,5 +1,5 @@
1
1
  import { CommonModule } from '@angular/common';
2
- import { Component, OnInit } from '@angular/core';
2
+ import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
3
3
  import { HeaderModule, IconDirective, ListDisplaySwitchModule } from '@c8y/ngx-components';
4
4
  import { CODEX_HOOK_LINKS } from '../sample-plugin.model';
5
5
 
@@ -13,7 +13,8 @@ interface HookCard {
13
13
  selector: 'c8y-app-sample-view',
14
14
  templateUrl: './sample-view.component.html',
15
15
  standalone: true,
16
- imports: [CommonModule, HeaderModule, IconDirective, ListDisplaySwitchModule]
16
+ imports: [CommonModule, HeaderModule, IconDirective, ListDisplaySwitchModule],
17
+ changeDetection: ChangeDetectionStrategy.Eager
17
18
  })
18
19
  export class SampleViewComponent implements OnInit {
19
20
  readonly CODEX_HOOK_LINKS = CODEX_HOOK_LINKS;
@@ -6,7 +6,8 @@ import {
6
6
  Input,
7
7
  OnInit,
8
8
  TemplateRef,
9
- ViewChild
9
+ ViewChild,
10
+ ChangeDetectionStrategy
10
11
  } from '@angular/core';
11
12
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
12
13
  import {
@@ -40,7 +41,8 @@ import { SamplePluginComponent } from './sample-widget.component';
40
41
  `,
41
42
  viewProviders: [{ provide: ControlContainer, useExisting: NgForm }],
42
43
  standalone: true,
43
- imports: [FormGroupComponent, ReactiveFormsModule, SamplePluginComponent, AsyncPipe]
44
+ imports: [FormGroupComponent, ReactiveFormsModule, SamplePluginComponent, AsyncPipe],
45
+ changeDetection: ChangeDetectionStrategy.Eager
44
46
  })
45
47
  export class SamplePluginConfigComponent implements DynamicComponent, OnInit {
46
48
  @Input() config: SamplePluginConfig = {};
@@ -1,4 +1,4 @@
1
- import { Component, computed, input } from '@angular/core';
1
+ import { Component, computed, input, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { SamplePluginConfig } from '../sample-plugin.model';
3
3
 
4
4
  @Component({
@@ -11,7 +11,8 @@ import { SamplePluginConfig } from '../sample-plugin.model';
11
11
  </div>
12
12
  `,
13
13
  styleUrls: ['./sample-widget.component.css'],
14
- standalone: true
14
+ standalone: true,
15
+ changeDetection: ChangeDetectionStrategy.Eager
15
16
  })
16
17
  export class SamplePluginComponent {
17
18
  readonly config = input<SamplePluginConfig>();