@c8y/ngx-components 1023.43.2 → 1023.47.0
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 +3 -2
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-global-context.mjs +30 -26
- 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-alarms.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.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 +9 -18
- package/locales/es.po +8 -17
- package/locales/fr.po +13 -22
- package/locales/ja_JP.po +8 -17
- package/locales/ko.po +8 -17
- package/locales/locales.pot +11 -17
- package/locales/nl.po +8 -17
- package/locales/pl.po +8 -17
- package/locales/pt_BR.po +8 -17
- package/locales/zh_CN.po +8 -17
- package/locales/zh_TW.po +8 -17
- 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/alarms/index.d.ts.map +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;
|
|
@@ -10825,12 +10828,7 @@ const CONTROL_PRESETS = {
|
|
|
10825
10828
|
CONTEXT_FEATURE.HISTORY_TIME,
|
|
10826
10829
|
CONTEXT_FEATURE.AUTO_REFRESH
|
|
10827
10830
|
],
|
|
10828
|
-
config: [
|
|
10829
|
-
CONTEXT_FEATURE.LIVE_TIME,
|
|
10830
|
-
CONTEXT_FEATURE.HISTORY_TIME,
|
|
10831
|
-
CONTEXT_FEATURE.AUTO_REFRESH,
|
|
10832
|
-
CONTEXT_FEATURE.AGGREGATION
|
|
10833
|
-
],
|
|
10831
|
+
config: [CONTEXT_FEATURE.LIVE_TIME, CONTEXT_FEATURE.HISTORY_TIME, CONTEXT_FEATURE.AUTO_REFRESH],
|
|
10834
10832
|
view_and_config: [
|
|
10835
10833
|
CONTEXT_FEATURE.LIVE_TIME,
|
|
10836
10834
|
CONTEXT_FEATURE.HISTORY_TIME,
|
|
@@ -11471,21 +11469,27 @@ class LinkButtonsComponent {
|
|
|
11471
11469
|
}
|
|
11472
11470
|
ngAfterViewInit() {
|
|
11473
11471
|
const dashChild = this.getDashboardChild();
|
|
11474
|
-
if (dashChild
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
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
|
+
]);
|
|
11479
11484
|
}
|
|
11480
11485
|
}
|
|
11481
11486
|
ngOnDestroy() {
|
|
11482
11487
|
const dashChild = this.getDashboardChild();
|
|
11483
|
-
if (dashChild
|
|
11484
|
-
|
|
11485
|
-
if (idx >= 0) {
|
|
11486
|
-
dashChild.additionalHeaderTemplates.splice(idx, 1);
|
|
11487
|
-
}
|
|
11488
|
+
if (!dashChild || !this.headerTemplateRef) {
|
|
11489
|
+
return;
|
|
11488
11490
|
}
|
|
11491
|
+
const templates = dashChild._additionalHeaderTemplates.value;
|
|
11492
|
+
dashChild._additionalHeaderTemplates.next(templates.filter(t => t.template !== this.headerTemplateRef));
|
|
11489
11493
|
}
|
|
11490
11494
|
getDashboardChild() {
|
|
11491
11495
|
return this.dashboardChild() ?? this.injectedDashboardChild ?? null;
|