@c8y/ngx-components 1023.43.3 → 1023.47.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/ai/agent-chat/index.d.ts +6 -1
- package/ai/agent-chat/index.d.ts.map +1 -1
- package/ai/ai-chat/index.d.ts.map +1 -1
- package/ai/index.d.ts +39 -30
- package/ai/index.d.ts.map +1 -1
- package/datapoints-export-selector/index.d.ts +2 -1
- package/datapoints-export-selector/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-ai-agent-chat.mjs +24 -9
- package/fesm2022/c8y-ngx-components-ai-agent-chat.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ai-ai-chat.mjs +5 -4
- package/fesm2022/c8y-ngx-components-ai-ai-chat.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ai.mjs +63 -33
- package/fesm2022/c8y-ngx-components-ai.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +6 -3
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart.mjs +5 -4
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-global-context.mjs +29 -20
- package/fesm2022/c8y-ngx-components-global-context.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs +1 -5
- package/fesm2022/c8y-ngx-components-trusted-certificates.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade.mjs +3 -33
- package/fesm2022/c8y-ngx-components-upgrade.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget-ai-config.mjs +1203 -34
- package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget-ai-config.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs +3 -2
- package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +32 -4
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-markdown.mjs +122 -80
- package/fesm2022/c8y-ngx-components-widgets-implementations-markdown.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +55 -6
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/global-context/index.d.ts.map +1 -1
- package/index.d.ts +28 -3
- package/index.d.ts.map +1 -1
- package/locales/de.po +14 -20
- package/locales/es.po +13 -19
- package/locales/fr.po +18 -24
- package/locales/ja_JP.po +13 -19
- package/locales/ko.po +13 -19
- package/locales/locales.pot +11 -17
- package/locales/nl.po +13 -19
- package/locales/pl.po +13 -19
- package/locales/pt_BR.po +13 -19
- package/locales/zh_CN.po +13 -19
- package/locales/zh_TW.po +13 -19
- package/package.json +1 -1
- package/trusted-certificates/index.d.ts +0 -2
- package/trusted-certificates/index.d.ts.map +1 -1
- package/upgrade/index.d.ts.map +1 -1
- package/widgets/definitions/markdown/index.d.ts +1 -1
- package/widgets/implementations/datapoints-graph/index.d.ts +3 -0
- package/widgets/implementations/datapoints-graph/index.d.ts.map +1 -1
- package/widgets/implementations/markdown/index.d.ts +23 -13
- package/widgets/implementations/markdown/index.d.ts.map +1 -1
- package/fesm2022/c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs +0 -19
- package/fesm2022/c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs.map +0 -1
|
@@ -5921,7 +5921,7 @@ class GlobalContextLinkControlsComponent {
|
|
|
5921
5921
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GlobalContextLinkControlsComponent, isStandalone: true, selector: "c8y-global-context-link-controls", inputs: { linkStates: "linkStates", controlConfigs: "controlConfigs" }, outputs: { allLinksToggled: "allLinksToggled" }, ngImport: i0, template: `
|
|
5922
5922
|
@if (showLinks()) {
|
|
5923
5923
|
<button
|
|
5924
|
-
class="btn-icon-dot-set"
|
|
5924
|
+
class="btn-icon-dot-set m-r-4"
|
|
5925
5925
|
[class.active]="someControlsLinked()"
|
|
5926
5926
|
[attr.aria-label]="'Global context sync controls' | translate"
|
|
5927
5927
|
[tooltip]="masterTooltipTemplate"
|
|
@@ -5955,7 +5955,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
5955
5955
|
args: [{ selector: 'c8y-global-context-link-controls', standalone: true, imports: [IconDirective, TooltipModule, C8yTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
5956
5956
|
@if (showLinks()) {
|
|
5957
5957
|
<button
|
|
5958
|
-
class="btn-icon-dot-set"
|
|
5958
|
+
class="btn-icon-dot-set m-r-4"
|
|
5959
5959
|
[class.active]="someControlsLinked()"
|
|
5960
5960
|
[attr.aria-label]="'Global context sync controls' | translate"
|
|
5961
5961
|
[tooltip]="masterTooltipTemplate"
|
|
@@ -8434,9 +8434,15 @@ class GlobalContextInlineComponent {
|
|
|
8434
8434
|
return;
|
|
8435
8435
|
}
|
|
8436
8436
|
this.removeHeaderFromDashboard();
|
|
8437
|
-
const
|
|
8438
|
-
if (!
|
|
8439
|
-
|
|
8437
|
+
const templates = dashboardChild._additionalHeaderTemplates.value;
|
|
8438
|
+
if (!templates.some(t => t.template === template)) {
|
|
8439
|
+
dashboardChild._additionalHeaderTemplates.next([
|
|
8440
|
+
...templates,
|
|
8441
|
+
{
|
|
8442
|
+
template,
|
|
8443
|
+
priority: 100
|
|
8444
|
+
}
|
|
8445
|
+
]);
|
|
8440
8446
|
}
|
|
8441
8447
|
this.registeredHeaderTemplate = template;
|
|
8442
8448
|
this.registeredDashboardChild = dashboardChild;
|
|
@@ -8446,11 +8452,8 @@ class GlobalContextInlineComponent {
|
|
|
8446
8452
|
}
|
|
8447
8453
|
removeHeaderFromDashboard() {
|
|
8448
8454
|
if (this.registeredDashboardChild && this.registeredHeaderTemplate) {
|
|
8449
|
-
const
|
|
8450
|
-
|
|
8451
|
-
if (index >= 0) {
|
|
8452
|
-
headers.splice(index, 1);
|
|
8453
|
-
}
|
|
8455
|
+
const templates = this.registeredDashboardChild._additionalHeaderTemplates.value;
|
|
8456
|
+
this.registeredDashboardChild._additionalHeaderTemplates.next(templates.filter(t => t.template !== this.registeredHeaderTemplate));
|
|
8454
8457
|
}
|
|
8455
8458
|
this.registeredHeaderTemplate = null;
|
|
8456
8459
|
this.registeredDashboardChild = null;
|
|
@@ -11466,21 +11469,27 @@ class LinkButtonsComponent {
|
|
|
11466
11469
|
}
|
|
11467
11470
|
ngAfterViewInit() {
|
|
11468
11471
|
const dashChild = this.getDashboardChild();
|
|
11469
|
-
if (dashChild
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11472
|
+
if (!dashChild || !this.headerTemplateRef) {
|
|
11473
|
+
return;
|
|
11474
|
+
}
|
|
11475
|
+
const templates = dashChild._additionalHeaderTemplates.value;
|
|
11476
|
+
if (!templates.some(t => t.template === this.headerTemplateRef)) {
|
|
11477
|
+
dashChild._additionalHeaderTemplates.next([
|
|
11478
|
+
...templates,
|
|
11479
|
+
{
|
|
11480
|
+
template: this.headerTemplateRef,
|
|
11481
|
+
priority: 100
|
|
11482
|
+
}
|
|
11483
|
+
]);
|
|
11474
11484
|
}
|
|
11475
11485
|
}
|
|
11476
11486
|
ngOnDestroy() {
|
|
11477
11487
|
const dashChild = this.getDashboardChild();
|
|
11478
|
-
if (dashChild
|
|
11479
|
-
|
|
11480
|
-
if (idx >= 0) {
|
|
11481
|
-
dashChild.additionalHeaderTemplates.splice(idx, 1);
|
|
11482
|
-
}
|
|
11488
|
+
if (!dashChild || !this.headerTemplateRef) {
|
|
11489
|
+
return;
|
|
11483
11490
|
}
|
|
11491
|
+
const templates = dashChild._additionalHeaderTemplates.value;
|
|
11492
|
+
dashChild._additionalHeaderTemplates.next(templates.filter(t => t.template !== this.headerTemplateRef));
|
|
11484
11493
|
}
|
|
11485
11494
|
getDashboardChild() {
|
|
11486
11495
|
return this.dashboardChild() ?? this.injectedDashboardChild ?? null;
|