@c8y/tutorial 1019.4.11 → 1019.5.6

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.
@@ -642,7 +642,8 @@ export default {
642
642
  '@c8y/client',
643
643
  '@c8y/ngx-components',
644
644
  'ngx-bootstrap',
645
- '@ngx-translate/core'
645
+ '@ngx-translate/core',
646
+ '@ngx-formly/core'
646
647
  ]
647
648
  }
648
649
  } as const satisfies EnvironmentOptions;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@c8y/tutorial",
3
- "version": "1019.4.11",
3
+ "version": "1019.5.6",
4
4
  "description": "This package is used to scaffold a tutorial for Cumulocity IoT Web SDK which explains a lot of concepts.",
5
5
  "dependencies": {
6
- "@c8y/devkit": "1019.4.11",
7
- "@c8y/style": "1019.4.11",
8
- "@c8y/ngx-components": "1019.4.11",
9
- "@c8y/client": "1019.4.11",
10
- "@c8y/bootstrap": "1019.4.11",
6
+ "@c8y/devkit": "1019.5.6",
7
+ "@c8y/style": "1019.5.6",
8
+ "@c8y/ngx-components": "1019.5.6",
9
+ "@c8y/client": "1019.5.6",
10
+ "@c8y/bootstrap": "1019.5.6",
11
11
  "@angular/cdk": "^16.2.11",
12
12
  "ngx-bootstrap": "11.0.2",
13
13
  "leaflet": "1.7.1",
@@ -1,8 +1,9 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import { Component } from '@angular/core';
3
- import { FormGroup } from '@angular/forms';
4
- import { DynamicFormsModule, HeaderModule } from '@c8y/ngx-components';
3
+ import { FormGroup, ReactiveFormsModule } from '@angular/forms';
4
+ import { HeaderModule } from '@c8y/ngx-components';
5
5
  import { FormlyFieldConfig } from '@ngx-formly/core';
6
+ import { FormlyModule } from '@ngx-formly/core';
6
7
 
7
8
  @Component({
8
9
  selector: 'c8y-custom-element-example',
@@ -29,7 +30,7 @@ import { FormlyFieldConfig } from '@ngx-formly/core';
29
30
  </div>
30
31
  </div> `,
31
32
  standalone: true,
32
- imports: [CommonModule, DynamicFormsModule, HeaderModule]
33
+ imports: [CommonModule, ReactiveFormsModule, FormlyModule, HeaderModule]
33
34
  })
34
35
  export class CustomElementExampleComponent {
35
36
  readonly pageTitle = 'Dynamic forms';
@@ -1,15 +1,17 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import { ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { DynamicFormsModule } from '@c8y/ngx-components';
3
+ import { C8yTranslateModule } from '@c8y/ngx-components';
4
4
  import { FieldType } from '@ngx-formly/core';
5
5
  import { PopoverModule } from 'ngx-bootstrap/popover';
6
+ import { FormlyModule } from '@ngx-formly/core';
7
+ import { ReactiveFormsModule } from '@angular/forms';
6
8
 
7
9
  @Component({
8
10
  selector: 'c8y-field-checkbox',
9
11
  templateUrl: './checkbox.type.component.html',
10
12
  changeDetection: ChangeDetectionStrategy.OnPush,
11
13
  standalone: true,
12
- imports: [CommonModule, PopoverModule, DynamicFormsModule]
14
+ imports: [CommonModule, PopoverModule, FormlyModule, C8yTranslateModule, ReactiveFormsModule]
13
15
  })
14
16
  export class CustomFieldCheckbox extends FieldType {
15
17
  defaultOptions = {