@c8y/tutorial 1023.78.7 → 1023.79.1

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,21 +1,21 @@
1
1
  {
2
2
  "name": "@c8y/tutorial",
3
- "version": "1023.78.7",
3
+ "version": "1023.79.1",
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
6
  "@angular/cdk": "^20.2.14",
7
- "@c8y/bootstrap": "1023.78.7",
8
- "@c8y/client": "1023.78.7",
9
- "@c8y/ngx-components": "1023.78.7",
10
- "@c8y/style": "1023.78.7",
7
+ "@c8y/bootstrap": "1023.79.1",
8
+ "@c8y/client": "1023.79.1",
9
+ "@c8y/ngx-components": "1023.79.1",
10
+ "@c8y/style": "1023.79.1",
11
11
  "leaflet": "1.9.4",
12
12
  "monaco-editor": "~0.53.0",
13
13
  "ngx-bootstrap": "20.0.2",
14
14
  "rxjs": "7.8.2"
15
15
  },
16
16
  "devDependencies": {
17
- "@c8y/devkit": "1023.78.7",
18
- "@c8y/options": "1023.78.7"
17
+ "@c8y/devkit": "1023.79.1",
18
+ "@c8y/options": "1023.79.1"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@angular/common": ">=20 <21"
@@ -3,14 +3,30 @@ import { CoreModule } from '@c8y/ngx-components';
3
3
 
4
4
  @Component({
5
5
  selector: 'text-translation-ngnonbindable',
6
- template: `<div class="card">
7
- <div class="card-block">
8
- This sentence will be translated:
9
- <span class="m-r-4" ngNonBindable translate [translateParams]="ngNonBindableTranslate">
10
- {{ filteredItemsCount }} of {{ allItemsCount }} items.
11
- </span>
6
+ template: `
7
+ <div class="card">
8
+ <div class="card-block">
9
+ Translatable text with dynamic placeholders:
10
+ <span class="m-r-4" ngNonBindable translate [translateParams]="ngNonBindableTranslate">
11
+ {{ filteredItemsCount }} of {{ allItemsCount }} items.
12
+ </span>
13
+ </div>
12
14
  </div>
13
- </div> `,
15
+ <div class="card">
16
+ <div class="card-block">
17
+ Translatable text with a dynamic link:
18
+ <span
19
+ class="m-r-4"
20
+ ngNonBindable
21
+ translate
22
+ [translateParams]="ngNonBindableWithLinkTranslate"
23
+ >
24
+ For more information, see the
25
+ <a href="{{ docsUrl }}" target="_blank">concepts</a> documentation.
26
+ </span>
27
+ </div>
28
+ </div>
29
+ `,
14
30
  standalone: true,
15
31
  imports: [CoreModule]
16
32
  })
@@ -19,4 +35,8 @@ export class TextTranslationNgnonbindableComponent {
19
35
  filteredItemsCount: 1,
20
36
  allItemsCount: 8
21
37
  };
38
+
39
+ ngNonBindableWithLinkTranslate = {
40
+ docsUrl: '/docs/concepts/concepts-introduction'
41
+ };
22
42
  }