@tectra-ng/charts 0.4.4 → 0.4.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.
- package/column/README.md +1 -1
- package/combo/README.md +1 -1
- package/core/README.md +1 -0
- package/fesm2022/tectra-ng-charts-column.mjs +15 -9
- package/fesm2022/tectra-ng-charts-column.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-combo.mjs +24 -14
- package/fesm2022/tectra-ng-charts-combo.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-core.mjs +44 -18
- package/fesm2022/tectra-ng-charts-core.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-gantt.mjs +2 -2
- package/fesm2022/tectra-ng-charts-gantt.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-heatmap.mjs +44 -10
- package/fesm2022/tectra-ng-charts-heatmap.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-org-chart.mjs +77 -24
- package/fesm2022/tectra-ng-charts-org-chart.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-pie.mjs +17 -9
- package/fesm2022/tectra-ng-charts-pie.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-waterfall.mjs +18 -9
- package/fesm2022/tectra-ng-charts-waterfall.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts.mjs +1 -1
- package/heatmap/README.md +2 -0
- package/org-chart/README.md +7 -2
- package/package.json +5 -5
- package/pie/README.md +1 -1
- package/types/tectra-ng-charts-column.d.ts +6 -0
- package/types/tectra-ng-charts-column.d.ts.map +1 -1
- package/types/tectra-ng-charts-combo.d.ts +6 -0
- package/types/tectra-ng-charts-combo.d.ts.map +1 -1
- package/types/tectra-ng-charts-core.d.ts +22 -2
- package/types/tectra-ng-charts-core.d.ts.map +1 -1
- package/types/tectra-ng-charts-heatmap.d.ts +19 -3
- package/types/tectra-ng-charts-heatmap.d.ts.map +1 -1
- package/types/tectra-ng-charts-org-chart.d.ts +32 -10
- package/types/tectra-ng-charts-org-chart.d.ts.map +1 -1
- package/types/tectra-ng-charts-pie.d.ts +1 -0
- package/types/tectra-ng-charts-pie.d.ts.map +1 -1
- package/types/tectra-ng-charts-waterfall.d.ts +4 -0
- package/types/tectra-ng-charts-waterfall.d.ts.map +1 -1
- package/types/tectra-ng-charts.d.ts +1 -1
- package/waterfall/README.md +1 -1
|
@@ -579,15 +579,19 @@ var TxHeatmap = class TxHeatmap {
|
|
|
579
579
|
...ngDevMode ? { debugName: "unstyled" } : /* istanbul ignore next */ {},
|
|
580
580
|
transform: optionalBoolean
|
|
581
581
|
});
|
|
582
|
+
rowHeaderTemplate = input(void 0, ...ngDevMode ? [{ debugName: "rowHeaderTemplate" }] : /* istanbul ignore next */ []);
|
|
583
|
+
rowValueTemplate = input(void 0, ...ngDevMode ? [{ debugName: "rowValueTemplate" }] : /* istanbul ignore next */ []);
|
|
582
584
|
cellClick = output();
|
|
583
|
-
|
|
584
|
-
...ngDevMode ? { debugName: "
|
|
585
|
+
rowHeaderSlot = contentChild(TxHeatmapRowHeader, {
|
|
586
|
+
...ngDevMode ? { debugName: "rowHeaderSlot" } : /* istanbul ignore next */ {},
|
|
585
587
|
read: TemplateRef
|
|
586
588
|
});
|
|
587
|
-
|
|
588
|
-
...ngDevMode ? { debugName: "
|
|
589
|
+
rowValueSlot = contentChild(TxHeatmapRowValue, {
|
|
590
|
+
...ngDevMode ? { debugName: "rowValueSlot" } : /* istanbul ignore next */ {},
|
|
589
591
|
read: TemplateRef
|
|
590
592
|
});
|
|
593
|
+
resolvedRowHeaderTemplate = computed(() => this.rowHeaderTemplate() ?? this.rowHeaderSlot() ?? null, ...ngDevMode ? [{ debugName: "resolvedRowHeaderTemplate" }] : /* istanbul ignore next */ []);
|
|
594
|
+
resolvedRowValueTemplate = computed(() => this.rowValueTemplate() ?? this.rowValueSlot() ?? null, ...ngDevMode ? [{ debugName: "resolvedRowValueTemplate" }] : /* istanbul ignore next */ []);
|
|
591
595
|
isUnstyled = injectUnstyled(this.unstyled);
|
|
592
596
|
passThrough = injectPassThrough("heatmap", this, this.pt, this.ptOptions);
|
|
593
597
|
hostStyle = computed(() => ({
|
|
@@ -729,6 +733,20 @@ var TxHeatmap = class TxHeatmap {
|
|
|
729
733
|
isSignal: true,
|
|
730
734
|
isRequired: false,
|
|
731
735
|
transformFunction: null
|
|
736
|
+
},
|
|
737
|
+
rowHeaderTemplate: {
|
|
738
|
+
classPropertyName: "rowHeaderTemplate",
|
|
739
|
+
publicName: "rowHeaderTemplate",
|
|
740
|
+
isSignal: true,
|
|
741
|
+
isRequired: false,
|
|
742
|
+
transformFunction: null
|
|
743
|
+
},
|
|
744
|
+
rowValueTemplate: {
|
|
745
|
+
classPropertyName: "rowValueTemplate",
|
|
746
|
+
publicName: "rowValueTemplate",
|
|
747
|
+
isSignal: true,
|
|
748
|
+
isRequired: false,
|
|
749
|
+
transformFunction: null
|
|
732
750
|
}
|
|
733
751
|
},
|
|
734
752
|
outputs: { cellClick: "cellClick" },
|
|
@@ -741,14 +759,14 @@ var TxHeatmap = class TxHeatmap {
|
|
|
741
759
|
classAttribute: "tx-heatmap"
|
|
742
760
|
},
|
|
743
761
|
queries: [{
|
|
744
|
-
propertyName: "
|
|
762
|
+
propertyName: "rowHeaderSlot",
|
|
745
763
|
first: true,
|
|
746
764
|
predicate: TxHeatmapRowHeader,
|
|
747
765
|
descendants: true,
|
|
748
766
|
read: TemplateRef,
|
|
749
767
|
isSignal: true
|
|
750
768
|
}, {
|
|
751
|
-
propertyName: "
|
|
769
|
+
propertyName: "rowValueSlot",
|
|
752
770
|
first: true,
|
|
753
771
|
predicate: TxHeatmapRowValue,
|
|
754
772
|
descendants: true,
|
|
@@ -756,7 +774,7 @@ var TxHeatmap = class TxHeatmap {
|
|
|
756
774
|
isSignal: true
|
|
757
775
|
}],
|
|
758
776
|
ngImport: i0,
|
|
759
|
-
template: "@let label = text();\n@let parts = passThrough();\n@let valueTemplate =
|
|
777
|
+
template: "@let label = text();\n@let parts = passThrough();\n@let valueTemplate = resolvedRowValueTemplate();\n@let headerTemplate = resolvedRowHeaderTemplate();\n<div\n class=\"tx-heatmap__scroll\"\n [class]=\"parts.scroll?.class\"\n [style]=\"parts.scroll?.style\"\n [style.max-height]=\"maxHeight()\"\n tabindex=\"0\"\n role=\"region\"\n [attr.aria-label]=\"label.region\"\n>\n <div class=\"tx-heatmap__grid\" [class]=\"parts.grid?.class\" [style]=\"parts.grid?.style\">\n <div class=\"tx-heatmap__row tx-heatmap__row--head\" [class]=\"parts.head?.class\" [style]=\"parts.head?.style\">\n <div class=\"tx-heatmap__lead tx-heatmap__lead--head\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">{{ label.rowHeader }}</div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of groups(); track group.key) {\n <div class=\"tx-heatmap__group\" [class]=\"parts.group?.class\" [style]=\"parts.group?.style\">\n <span class=\"tx-heatmap__group-label\" [class]=\"parts.groupLabel?.class\" [style]=\"parts.groupLabel?.style\" [attr.title]=\"group.label\">{{ group.label }}</span>\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (column of group.columns; track column.key) {\n <span class=\"tx-heatmap__column\" [class]=\"parts.column?.class\" [style]=\"parts.column?.style\">{{ column.label }}</span>\n }\n </div>\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value tx-heatmap__value--head\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">{{ label.valueHeader }}</div>\n }\n </div>\n\n @for (line of layout(); track line.row.key) {\n <div class=\"tx-heatmap__row\" [class]=\"parts.row?.class\" [style]=\"parts.row?.style\">\n <div class=\"tx-heatmap__lead\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">\n @if (headerTemplate) {\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n } @else {\n {{ line.row.label ?? line.row.key }}\n }\n </div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of line.groups; track group.key) {\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (slot of group.slots; track slot.columnKey) {\n <tx-heatmap-cell\n [cell]=\"slot.cell\"\n [level]=\"slot.level\"\n [boxClass]=\"parts.cell?.class\"\n [boxStyle]=\"parts.cell?.style\"\n [unstyled]=\"isUnstyled()\"\n (activate)=\"onCellActivate(line.row, slot)\"\n />\n }\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">\n <ng-container [ngTemplateOutlet]=\"valueTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n </div>\n }\n </div>\n }\n </div>\n</div>\n\n@if (legend().length) {\n <tx-heatmap-legend\n [class]=\"parts.legend?.class\"\n [style]=\"parts.legend?.style\"\n [items]=\"legend()\"\n [emptyLabel]=\"label.empty\"\n [scale]=\"scale()\"\n [unstyled]=\"isUnstyled()\"\n />\n}\n",
|
|
760
778
|
styles: [":host{display:block;min-width:0}.tx-heatmap__scroll{overflow:auto;overscroll-behavior-x:contain}.tx-heatmap__grid{display:flex;flex-direction:column;width:max-content;min-width:100%}.tx-heatmap__row{display:flex;align-items:center}.tx-heatmap__row--head{position:sticky;top:0;z-index:2;align-items:flex-end}.tx-heatmap__row--head .tx-heatmap__lead,.tx-heatmap__row--head .tx-heatmap__value{z-index:3;display:flex;align-items:flex-end;align-self:stretch}.tx-heatmap__lead{position:sticky;left:0;z-index:1;flex-shrink:0}.tx-heatmap__groups{display:flex;flex:1;align-items:flex-end}.tx-heatmap__group{display:flex;flex-direction:column;min-width:0}.tx-heatmap__group-label{display:block;overflow:hidden;max-width:0;min-width:100%;line-height:1;text-overflow:ellipsis;white-space:nowrap}.tx-heatmap__columns{display:flex}.tx-heatmap__column{flex-shrink:0;line-height:1;text-align:center}.tx-heatmap__value{position:sticky;right:0;z-index:1;display:flex;flex-shrink:0;justify-content:flex-end}:host([data-styled]) .tx-heatmap__scroll{max-height:var(--tx-chart-heatmap-max-height);padding-bottom:var(--tx-chart-heatmap-scroll-padding-bottom);border-radius:var(--tx-chart-heatmap-scroll-radius)}:host([data-styled]) .tx-heatmap__scroll:focus-visible{outline:var(--tx-chart-focus-ring-width) solid var(--tx-chart-focus-ring-color)}:host([data-styled]) .tx-heatmap__row{gap:var(--tx-chart-heatmap-row-gap);padding-block:var(--tx-chart-heatmap-row-padding-y);border-bottom:1px solid var(--tx-chart-heatmap-row-border-color)}:host([data-styled]) .tx-heatmap__row:last-child{border-bottom:0}:host([data-styled]) .tx-heatmap__row--head{padding-top:0;padding-bottom:var(--tx-chart-heatmap-head-padding-bottom);background:var(--tx-chart-heatmap-background)}:host([data-styled]) .tx-heatmap__lead{width:var(--tx-chart-heatmap-lead-width);padding-inline-end:var(--tx-chart-heatmap-lead-padding-end);color:var(--tx-chart-heatmap-lead-color);font-size:var(--tx-chart-heatmap-lead-font-size);background:var(--tx-chart-heatmap-background)}:host([data-styled]) .tx-heatmap__lead--head,:host([data-styled]) .tx-heatmap__value--head{color:var(--tx-chart-heatmap-head-color);font-size:var(--tx-chart-heatmap-head-font-size);font-weight:var(--tx-chart-heatmap-head-font-weight)}:host([data-styled]) .tx-heatmap__groups{gap:var(--tx-chart-heatmap-group-gap)}:host([data-styled]) .tx-heatmap__group{gap:var(--tx-chart-heatmap-group-label-gap)}:host([data-styled]) .tx-heatmap__group-label{color:var(--tx-chart-heatmap-group-label-color);font-size:var(--tx-chart-heatmap-group-label-font-size);font-weight:var(--tx-chart-heatmap-group-label-font-weight)}:host([data-styled]) .tx-heatmap__columns{gap:var(--tx-chart-heatmap-column-gap);min-width:var(--tx-chart-heatmap-columns-min-width)}:host([data-styled]) .tx-heatmap__column{width:var(--tx-chart-heatmap-cell-size);color:var(--tx-chart-heatmap-column-color);font-size:var(--tx-chart-heatmap-column-font-size);font-variant-numeric:tabular-nums}:host([data-styled]) .tx-heatmap__value{width:var(--tx-chart-heatmap-value-width);background:var(--tx-chart-heatmap-background)}\n"],
|
|
761
779
|
dependencies: [
|
|
762
780
|
{
|
|
@@ -821,7 +839,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
821
839
|
"[attr.data-styled]": "!isUnstyled() || null"
|
|
822
840
|
},
|
|
823
841
|
viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],
|
|
824
|
-
template: "@let label = text();\n@let parts = passThrough();\n@let valueTemplate =
|
|
842
|
+
template: "@let label = text();\n@let parts = passThrough();\n@let valueTemplate = resolvedRowValueTemplate();\n@let headerTemplate = resolvedRowHeaderTemplate();\n<div\n class=\"tx-heatmap__scroll\"\n [class]=\"parts.scroll?.class\"\n [style]=\"parts.scroll?.style\"\n [style.max-height]=\"maxHeight()\"\n tabindex=\"0\"\n role=\"region\"\n [attr.aria-label]=\"label.region\"\n>\n <div class=\"tx-heatmap__grid\" [class]=\"parts.grid?.class\" [style]=\"parts.grid?.style\">\n <div class=\"tx-heatmap__row tx-heatmap__row--head\" [class]=\"parts.head?.class\" [style]=\"parts.head?.style\">\n <div class=\"tx-heatmap__lead tx-heatmap__lead--head\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">{{ label.rowHeader }}</div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of groups(); track group.key) {\n <div class=\"tx-heatmap__group\" [class]=\"parts.group?.class\" [style]=\"parts.group?.style\">\n <span class=\"tx-heatmap__group-label\" [class]=\"parts.groupLabel?.class\" [style]=\"parts.groupLabel?.style\" [attr.title]=\"group.label\">{{ group.label }}</span>\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (column of group.columns; track column.key) {\n <span class=\"tx-heatmap__column\" [class]=\"parts.column?.class\" [style]=\"parts.column?.style\">{{ column.label }}</span>\n }\n </div>\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value tx-heatmap__value--head\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">{{ label.valueHeader }}</div>\n }\n </div>\n\n @for (line of layout(); track line.row.key) {\n <div class=\"tx-heatmap__row\" [class]=\"parts.row?.class\" [style]=\"parts.row?.style\">\n <div class=\"tx-heatmap__lead\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">\n @if (headerTemplate) {\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n } @else {\n {{ line.row.label ?? line.row.key }}\n }\n </div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of line.groups; track group.key) {\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (slot of group.slots; track slot.columnKey) {\n <tx-heatmap-cell\n [cell]=\"slot.cell\"\n [level]=\"slot.level\"\n [boxClass]=\"parts.cell?.class\"\n [boxStyle]=\"parts.cell?.style\"\n [unstyled]=\"isUnstyled()\"\n (activate)=\"onCellActivate(line.row, slot)\"\n />\n }\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">\n <ng-container [ngTemplateOutlet]=\"valueTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n </div>\n }\n </div>\n }\n </div>\n</div>\n\n@if (legend().length) {\n <tx-heatmap-legend\n [class]=\"parts.legend?.class\"\n [style]=\"parts.legend?.style\"\n [items]=\"legend()\"\n [emptyLabel]=\"label.empty\"\n [scale]=\"scale()\"\n [unstyled]=\"isUnstyled()\"\n />\n}\n",
|
|
825
843
|
styles: [":host{display:block;min-width:0}.tx-heatmap__scroll{overflow:auto;overscroll-behavior-x:contain}.tx-heatmap__grid{display:flex;flex-direction:column;width:max-content;min-width:100%}.tx-heatmap__row{display:flex;align-items:center}.tx-heatmap__row--head{position:sticky;top:0;z-index:2;align-items:flex-end}.tx-heatmap__row--head .tx-heatmap__lead,.tx-heatmap__row--head .tx-heatmap__value{z-index:3;display:flex;align-items:flex-end;align-self:stretch}.tx-heatmap__lead{position:sticky;left:0;z-index:1;flex-shrink:0}.tx-heatmap__groups{display:flex;flex:1;align-items:flex-end}.tx-heatmap__group{display:flex;flex-direction:column;min-width:0}.tx-heatmap__group-label{display:block;overflow:hidden;max-width:0;min-width:100%;line-height:1;text-overflow:ellipsis;white-space:nowrap}.tx-heatmap__columns{display:flex}.tx-heatmap__column{flex-shrink:0;line-height:1;text-align:center}.tx-heatmap__value{position:sticky;right:0;z-index:1;display:flex;flex-shrink:0;justify-content:flex-end}:host([data-styled]) .tx-heatmap__scroll{max-height:var(--tx-chart-heatmap-max-height);padding-bottom:var(--tx-chart-heatmap-scroll-padding-bottom);border-radius:var(--tx-chart-heatmap-scroll-radius)}:host([data-styled]) .tx-heatmap__scroll:focus-visible{outline:var(--tx-chart-focus-ring-width) solid var(--tx-chart-focus-ring-color)}:host([data-styled]) .tx-heatmap__row{gap:var(--tx-chart-heatmap-row-gap);padding-block:var(--tx-chart-heatmap-row-padding-y);border-bottom:1px solid var(--tx-chart-heatmap-row-border-color)}:host([data-styled]) .tx-heatmap__row:last-child{border-bottom:0}:host([data-styled]) .tx-heatmap__row--head{padding-top:0;padding-bottom:var(--tx-chart-heatmap-head-padding-bottom);background:var(--tx-chart-heatmap-background)}:host([data-styled]) .tx-heatmap__lead{width:var(--tx-chart-heatmap-lead-width);padding-inline-end:var(--tx-chart-heatmap-lead-padding-end);color:var(--tx-chart-heatmap-lead-color);font-size:var(--tx-chart-heatmap-lead-font-size);background:var(--tx-chart-heatmap-background)}:host([data-styled]) .tx-heatmap__lead--head,:host([data-styled]) .tx-heatmap__value--head{color:var(--tx-chart-heatmap-head-color);font-size:var(--tx-chart-heatmap-head-font-size);font-weight:var(--tx-chart-heatmap-head-font-weight)}:host([data-styled]) .tx-heatmap__groups{gap:var(--tx-chart-heatmap-group-gap)}:host([data-styled]) .tx-heatmap__group{gap:var(--tx-chart-heatmap-group-label-gap)}:host([data-styled]) .tx-heatmap__group-label{color:var(--tx-chart-heatmap-group-label-color);font-size:var(--tx-chart-heatmap-group-label-font-size);font-weight:var(--tx-chart-heatmap-group-label-font-weight)}:host([data-styled]) .tx-heatmap__columns{gap:var(--tx-chart-heatmap-column-gap);min-width:var(--tx-chart-heatmap-columns-min-width)}:host([data-styled]) .tx-heatmap__column{width:var(--tx-chart-heatmap-cell-size);color:var(--tx-chart-heatmap-column-color);font-size:var(--tx-chart-heatmap-column-font-size);font-variant-numeric:tabular-nums}:host([data-styled]) .tx-heatmap__value{width:var(--tx-chart-heatmap-value-width);background:var(--tx-chart-heatmap-background)}\n"]
|
|
826
844
|
}]
|
|
827
845
|
}],
|
|
@@ -922,18 +940,34 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
922
940
|
required: false
|
|
923
941
|
}]
|
|
924
942
|
}],
|
|
943
|
+
rowHeaderTemplate: [{
|
|
944
|
+
type: i0.Input,
|
|
945
|
+
args: [{
|
|
946
|
+
isSignal: true,
|
|
947
|
+
alias: "rowHeaderTemplate",
|
|
948
|
+
required: false
|
|
949
|
+
}]
|
|
950
|
+
}],
|
|
951
|
+
rowValueTemplate: [{
|
|
952
|
+
type: i0.Input,
|
|
953
|
+
args: [{
|
|
954
|
+
isSignal: true,
|
|
955
|
+
alias: "rowValueTemplate",
|
|
956
|
+
required: false
|
|
957
|
+
}]
|
|
958
|
+
}],
|
|
925
959
|
cellClick: [{
|
|
926
960
|
type: i0.Output,
|
|
927
961
|
args: ["cellClick"]
|
|
928
962
|
}],
|
|
929
|
-
|
|
963
|
+
rowHeaderSlot: [{
|
|
930
964
|
type: i0.ContentChild,
|
|
931
965
|
args: [i0.forwardRef(() => TxHeatmapRowHeader), {
|
|
932
966
|
read: TemplateRef,
|
|
933
967
|
isSignal: true
|
|
934
968
|
}]
|
|
935
969
|
}],
|
|
936
|
-
|
|
970
|
+
rowValueSlot: [{
|
|
937
971
|
type: i0.ContentChild,
|
|
938
972
|
args: [i0.forwardRef(() => TxHeatmapRowValue), {
|
|
939
973
|
read: TemplateRef,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-heatmap.mjs","names":[],"sources":["../../../../packages/charts/heatmap/src/heatmap-layout.ts","../../../../packages/charts/heatmap/src/heatmap-calendar.ts","../../../../packages/charts/heatmap/src/heatmap-templates.directive.ts","../../../../packages/charts/heatmap/src/heatmap.icons.ts","../../../../packages/charts/heatmap/src/heatmap.theme.ts","../../../../packages/charts/heatmap/src/heatmap-cell.component.ts","../../../../packages/charts/heatmap/src/heatmap-cell.component.html","../../../../packages/charts/heatmap/src/heatmap-legend.component.ts","../../../../packages/charts/heatmap/src/heatmap.component.ts","../../../../packages/charts/heatmap/src/heatmap.component.html"],"sourcesContent":["import { TxHeatmapCell, TxHeatmapColumnGroup, TxHeatmapRow, TxHeatmapRowGroup, TxHeatmapScale } from './heatmap.types';\n\n/** Splits the cells of a row into the column bands, one slot per column. */\nexport function heatmapRowGroups(cells: readonly (TxHeatmapCell | null)[], groups: readonly TxHeatmapColumnGroup[]): TxHeatmapRowGroup[] {\n let offset = 0;\n return groups.map((group) => {\n const slots = group.columns.map((column, index) => ({ columnKey: column.key, cell: cells[offset + index] ?? null }));\n offset += group.columns.length;\n return { key: group.key, slots };\n });\n}\n\n/**\n * Builds the color scale from the values of all cells; `min` and `max` override the found range and `steps` is at least 1.\n */\nexport function heatmapScale(rows: readonly TxHeatmapRow[], steps: number, min?: number, max?: number): TxHeatmapScale {\n let low = Infinity;\n let high = -Infinity;\n for (const row of rows) {\n for (const cell of row.cells) {\n const value = cell?.value;\n if (typeof value === 'number' && Number.isFinite(value)) {\n low = Math.min(low, value);\n high = Math.max(high, value);\n }\n }\n }\n return {\n min: min ?? (Number.isFinite(low) ? Math.min(low, 0) : 0),\n max: max ?? (Number.isFinite(high) ? high : 0),\n steps: Math.max(1, Math.round(steps)),\n };\n}\n\n/** Color level of a value from 0 (empty) to 1 (full), in `steps` equal parts of the scale. */\nexport function heatmapLevel(value: number | null | undefined, scale: TxHeatmapScale): number {\n if (typeof value !== 'number' || !Number.isFinite(value) || value <= scale.min) {\n return 0;\n }\n const span = scale.max - scale.min;\n const ratio = span > 0 ? Math.min(1, (value - scale.min) / span) : 1;\n return Math.max(1, Math.ceil(ratio * scale.steps)) / scale.steps;\n}\n\n/** Accessible name of a cell: its `ariaLabel`, else its tooltip, else `null`. */\nexport function heatmapCellLabel(cell: TxHeatmapCell): string | null {\n return cell.ariaLabel || cell.tooltip || null;\n}\n","import { TxHeatmapCalendar, TxHeatmapCalendarOptions, TxHeatmapCalendarValue, TxHeatmapCell, TxHeatmapColumnGroup, TxHeatmapRow } from './heatmap.types';\n\nconst DAY = 86_400_000;\n\nfunction toDay(value: string | Date): number {\n const date = typeof value === 'string' ? new Date(`${value.slice(0, 10)}T00:00:00Z`) : new Date(Date.UTC(value.getFullYear(), value.getMonth(), value.getDate()));\n return Math.floor(date.getTime() / DAY);\n}\n\nfunction dayKey(day: number): string {\n return new Date(day * DAY).toISOString().slice(0, 10);\n}\n\n/** Turns day values into a calendar heatmap: a band per month, a column per week and a row per weekday. */\nexport function heatmapCalendar(values: readonly TxHeatmapCalendarValue[], options: TxHeatmapCalendarOptions): TxHeatmapCalendar {\n const intl = options.intl ?? 'en-US';\n const firstDay = ((options.firstDayOfWeek ?? 1) % 7 + 7) % 7;\n const from = toDay(options.from);\n const to = toDay(options.to);\n const byDay = new Map<number, TxHeatmapCalendarValue>();\n for (const item of values) {\n byDay.set(toDay(item.date), item);\n }\n const weekday = (day: number) => (new Date(day * DAY).getUTCDay() - firstDay + 7) % 7;\n const start = from - weekday(from);\n const weeks = to < from ? 0 : Math.floor((to - start) / 7) + 1;\n const monthFormat = new Intl.DateTimeFormat(intl, { month: 'short', timeZone: 'UTC' });\n const dayFormat = new Intl.DateTimeFormat(intl, { weekday: 'short', timeZone: 'UTC' });\n const dateFormat = new Intl.DateTimeFormat(intl, { dateStyle: 'medium', timeZone: 'UTC' });\n const numberFormat = options.format ?? new Intl.NumberFormat(intl).format;\n\n const groups: TxHeatmapColumnGroup[] = [];\n for (let week = 0; week < weeks; week++) {\n const first = Math.max(start + week * 7, from);\n const date = new Date(first * DAY);\n const key = `${date.getUTCFullYear()}-${date.getUTCMonth()}`;\n let group = groups[groups.length - 1];\n if (!group || group.key !== key) {\n group = { key, label: monthFormat.format(date), columns: [] };\n groups.push(group);\n }\n group.columns.push({ key: dayKey(start + week * 7), label: '' });\n }\n\n const rows: TxHeatmapRow[] = Array.from({ length: 7 }, (_, index) => {\n const cells: (TxHeatmapCell | null)[] = [];\n for (let week = 0; week < weeks; week++) {\n const day = start + week * 7 + index;\n if (day < from || day > to) {\n cells.push({ hidden: true });\n continue;\n }\n const item = byDay.get(day);\n const value = item?.value ?? 0;\n const label = `${dateFormat.format(new Date(day * DAY))}: ${numberFormat(value)}`;\n cells.push({ value, tooltip: item?.tooltip ?? label, ariaLabel: label, interactive: options.interactive, data: item?.data ?? dayKey(day) });\n }\n return { key: `day-${index}`, label: dayFormat.format(new Date((start + index) * DAY)), cells };\n });\n\n return { groups, rows };\n}\n","import { Directive } from '@angular/core';\nimport { TxHeatmapRowContext } from './heatmap.types';\n\n@Directive({ selector: 'ng-template[txHeatmapRowHeader]' })\nexport class TxHeatmapRowHeader {\n static ngTemplateContextGuard(_directive: TxHeatmapRowHeader, context: unknown): context is TxHeatmapRowContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txHeatmapRowValue]' })\nexport class TxHeatmapRowValue {\n static ngTemplateContextGuard(_directive: TxHeatmapRowValue, context: unknown): context is TxHeatmapRowContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconInfo } from '@tectra-ng/icons';\n\nexport const HEATMAP_ICON_DEFAULTS: TxIconSet = {\n info: txIconInfo,\n};\n","import { chartTokens } from '@tectra-ng/themes';\n\nexport const HEATMAP_THEME = {\n chart: chartTokens,\n};\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, output } from '@angular/core';\nimport { injectTokens, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxTooltip } from '@tectra-ng/ui/tooltip';\nimport { heatmapCellLabel } from './heatmap-layout';\nimport { TxHeatmapCell } from './heatmap.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { HEATMAP_ICON_DEFAULTS } from './heatmap.icons';\nimport { HEATMAP_THEME } from './heatmap.theme';\n\n/** One cell of `tx-heatmap` and of its legend: draws the tone or the scale level, and the tooltip. */\n@Component({\n selector: 'tx-heatmap-cell',\n imports: [TxTooltip],\n templateUrl: './heatmap-cell.component.html',\n styleUrl: './heatmap-cell.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-heatmap-cell',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],\n})\nexport class TxHeatmapCellView {\n private readonly heatmapTheme = injectTokens(HEATMAP_THEME);\n\n readonly cell = input<TxHeatmapCell | null>(null);\n readonly level = input<number | null>(null);\n readonly legend = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly boxClass = input<string | undefined>(undefined);\n readonly boxStyle = input<Record<string, string> | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly activate = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly label = computed(() => {\n const cell = this.cell();\n return cell ? heatmapCellLabel(cell) : null;\n });\n readonly kind = computed(() => {\n const cell = this.cell();\n if (!cell) {\n return 'empty';\n }\n if (cell.hidden) {\n return 'hidden';\n }\n if (typeof cell.value === 'number' && !cell.tone) {\n return (this.level() ?? 0) > 0 ? 'scale' : 'empty';\n }\n return cell.tone ?? 'empty';\n });\n readonly levelStyle = computed(() => {\n const level = this.level();\n return this.kind() === 'scale' && level ? `${Math.round(level * 100)}%` : null;\n });\n}\n","@let item = cell();\n@if (legend() || !item || item.hidden) {\n <span\n class=\"tx-heatmap-cell__box\"\n [class]=\"['tx-heatmap-cell__box--' + kind(), boxClass() ?? '']\"\n [class.tx-heatmap-cell__box--legend]=\"legend()\"\n [style]=\"boxStyle()\"\n [style.--tx-heatmap-level]=\"levelStyle()\"\n aria-hidden=\"true\"\n ></span>\n} @else if (item.interactive) {\n <button\n type=\"button\"\n class=\"tx-heatmap-cell__box tx-heatmap-cell__box--interactive\"\n [class]=\"['tx-heatmap-cell__box--' + kind(), boxClass() ?? '']\"\n [style]=\"boxStyle()\"\n [style.--tx-heatmap-level]=\"levelStyle()\"\n [txTooltip]=\"item.tooltip\"\n tooltipPlacement=\"top\"\n [tooltipDisabled]=\"!item.tooltip\"\n [attr.aria-label]=\"label()\"\n (click)=\"activate.emit()\"\n ></button>\n} @else {\n <span\n class=\"tx-heatmap-cell__box\"\n [class]=\"['tx-heatmap-cell__box--' + kind(), boxClass() ?? '']\"\n [style]=\"boxStyle()\"\n [style.--tx-heatmap-level]=\"levelStyle()\"\n [attr.role]=\"label() ? 'img' : null\"\n [attr.aria-label]=\"label()\"\n [attr.aria-hidden]=\"label() ? null : 'true'\"\n [txTooltip]=\"item.tooltip\"\n tooltipPlacement=\"top\"\n [tooltipDisabled]=\"!item.tooltip\"\n ></span>\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { injectTokens, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxHeatmapCellView } from './heatmap-cell.component';\nimport { TxHeatmapLegendItem, TxHeatmapScale } from './heatmap.types';\nimport { heatmapLevel } from './heatmap-layout';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { HEATMAP_ICON_DEFAULTS } from './heatmap.icons';\nimport { HEATMAP_THEME } from './heatmap.theme';\n\n/** The legend under `tx-heatmap`: a sample cell with a label for each entry, and an entry for empty cells. */\n@Component({\n selector: 'tx-heatmap-legend',\n imports: [TxHeatmapCellView],\n template: `\n <ul class=\"tx-heatmap-legend__list\">\n @for (item of items(); track $index) {\n <li class=\"tx-heatmap-legend__item\">\n <tx-heatmap-cell [cell]=\"{ tone: item.tone, value: item.value }\" [level]=\"levelOf(item.value)\" legend [unstyled]=\"isUnstyled()\" />\n {{ item.label }}\n </li>\n }\n @if (emptyLabel()) {\n <li class=\"tx-heatmap-legend__item\">\n <tx-heatmap-cell legend [unstyled]=\"isUnstyled()\" />\n {{ emptyLabel() }}\n </li>\n }\n </ul>\n `,\n styleUrl: './heatmap-legend.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-heatmap-legend',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],\n})\nexport class TxHeatmapLegend {\n private readonly heatmapTheme = injectTokens(HEATMAP_THEME);\n\n readonly items = input<readonly TxHeatmapLegendItem[]>([]);\n readonly emptyLabel = input('');\n readonly scale = input<TxHeatmapScale | null>(null);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n\n levelOf(value: number | undefined): number | null {\n const scale = this.scale();\n return scale && typeof value === 'number' ? heatmapLevel(value, scale) : null;\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, input, output, TemplateRef } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraChartTokens, TectraDeepPartial, toStyleObject } from '@tectra-ng/themes';\nimport { TxHeatmapCellView } from './heatmap-cell.component';\nimport { heatmapLevel, heatmapRowGroups, heatmapScale } from './heatmap-layout';\nimport { TxHeatmapLegend } from './heatmap-legend.component';\nimport { TxHeatmapRowHeader, TxHeatmapRowValue } from './heatmap-templates.directive';\nimport {\n TxHeatmapCell,\n TxHeatmapCellClick,\n TxHeatmapCellSlot,\n TxHeatmapColumnGroup,\n TxHeatmapLabels,\n TxHeatmapLegendItem,\n TxHeatmapPart,\n TxHeatmapRow,\n TxHeatmapRowContext,\n} from './heatmap.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { HEATMAP_ICON_DEFAULTS } from './heatmap.icons';\nimport { HEATMAP_THEME } from './heatmap.theme';\n\n@Component({\n selector: 'tx-heatmap',\n imports: [NgTemplateOutlet, TxHeatmapCellView, TxHeatmapLegend],\n templateUrl: './heatmap.component.html',\n styleUrl: './heatmap.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-heatmap',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],\n})\nexport class TxHeatmap {\n private readonly heatmapTheme = injectTokens(HEATMAP_THEME);\n\n readonly translations = injectTranslations();\n\n readonly groups = input<readonly TxHeatmapColumnGroup[]>([]);\n readonly rows = input<readonly TxHeatmapRow[]>([]);\n readonly legend = input<readonly TxHeatmapLegendItem[]>([]);\n readonly labels = input<Partial<TxHeatmapLabels>>({});\n readonly maxHeight = input<string | undefined>(undefined);\n readonly scaleSteps = input(5);\n readonly scaleMin = input<number | undefined>(undefined);\n readonly scaleMax = input<number | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraChartTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxHeatmapPart, TxHeatmap> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly cellClick = output<TxHeatmapCellClick>();\n\n readonly rowHeaderTemplate = contentChild(TxHeatmapRowHeader, { read: TemplateRef<TxHeatmapRowContext> });\n readonly rowValueTemplate = contentChild(TxHeatmapRowValue, { read: TemplateRef<TxHeatmapRowContext> });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('heatmap', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-chart'), ...this.passThrough().root?.style }));\n\n readonly text = computed<TxHeatmapLabels>(() => {\n const t = this.translations();\n return { rowHeader: '', valueHeader: '', empty: t.chartNoData, region: t.chartHeatmap, ...this.labels() };\n });\n readonly scale = computed(() => heatmapScale(this.rows(), this.scaleSteps(), this.scaleMin(), this.scaleMax()));\n readonly layout = computed(() => {\n const groups = this.groups();\n const scale = this.scale();\n return this.rows().map((row) => ({\n row,\n context: { $implicit: row, row } satisfies TxHeatmapRowContext,\n groups: heatmapRowGroups(row.cells, groups).map((group) => ({\n ...group,\n slots: group.slots.map((slot) => ({ ...slot, level: heatmapLevel(slot.cell?.value, scale) })),\n })),\n }));\n });\n\n onCellActivate(row: TxHeatmapRow, slot: TxHeatmapCellSlot): void {\n const cell: TxHeatmapCell | null = slot.cell;\n if (cell?.interactive) {\n this.cellClick.emit({ row, cell, columnKey: slot.columnKey });\n }\n }\n}\n","@let label = text();\n@let parts = passThrough();\n@let valueTemplate = rowValueTemplate();\n@let headerTemplate = rowHeaderTemplate();\n<div\n class=\"tx-heatmap__scroll\"\n [class]=\"parts.scroll?.class\"\n [style]=\"parts.scroll?.style\"\n [style.max-height]=\"maxHeight()\"\n tabindex=\"0\"\n role=\"region\"\n [attr.aria-label]=\"label.region\"\n>\n <div class=\"tx-heatmap__grid\" [class]=\"parts.grid?.class\" [style]=\"parts.grid?.style\">\n <div class=\"tx-heatmap__row tx-heatmap__row--head\" [class]=\"parts.head?.class\" [style]=\"parts.head?.style\">\n <div class=\"tx-heatmap__lead tx-heatmap__lead--head\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">{{ label.rowHeader }}</div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of groups(); track group.key) {\n <div class=\"tx-heatmap__group\" [class]=\"parts.group?.class\" [style]=\"parts.group?.style\">\n <span class=\"tx-heatmap__group-label\" [class]=\"parts.groupLabel?.class\" [style]=\"parts.groupLabel?.style\" [attr.title]=\"group.label\">{{ group.label }}</span>\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (column of group.columns; track column.key) {\n <span class=\"tx-heatmap__column\" [class]=\"parts.column?.class\" [style]=\"parts.column?.style\">{{ column.label }}</span>\n }\n </div>\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value tx-heatmap__value--head\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">{{ label.valueHeader }}</div>\n }\n </div>\n\n @for (line of layout(); track line.row.key) {\n <div class=\"tx-heatmap__row\" [class]=\"parts.row?.class\" [style]=\"parts.row?.style\">\n <div class=\"tx-heatmap__lead\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">\n @if (headerTemplate) {\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n } @else {\n {{ line.row.label ?? line.row.key }}\n }\n </div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of line.groups; track group.key) {\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (slot of group.slots; track slot.columnKey) {\n <tx-heatmap-cell\n [cell]=\"slot.cell\"\n [level]=\"slot.level\"\n [boxClass]=\"parts.cell?.class\"\n [boxStyle]=\"parts.cell?.style\"\n [unstyled]=\"isUnstyled()\"\n (activate)=\"onCellActivate(line.row, slot)\"\n />\n }\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">\n <ng-container [ngTemplateOutlet]=\"valueTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n </div>\n }\n </div>\n }\n </div>\n</div>\n\n@if (legend().length) {\n <tx-heatmap-legend\n [class]=\"parts.legend?.class\"\n [style]=\"parts.legend?.style\"\n [items]=\"legend()\"\n [emptyLabel]=\"label.empty\"\n [scale]=\"scale()\"\n [unstyled]=\"isUnstyled()\"\n />\n}\n"],"mappings":";;;;;;;;;AAGA,SAAgB,iBAAiB,OAA0C,QAAuC;CAChH,IAAI,SAAS;CACb,OAAO,OAAO,KAAK,UAAS;EAC1B,MAAM,QAAQ,MAAM,QAAQ,KAAK,QAAQ,WAAW;GAAE,WAAW,OAAO;GAAK,MAAM,MAAM,SAAS,UAAU;EAAI,EAAG;EACnH,UAAU,MAAM,QAAQ;EACxB,OAAO;GAAE,KAAK,MAAM;GAAK;EAAK;CAChC,CAAC;AACH;AAKA,SAAgB,aAAa,MAA+B,OAAe,KAAc,KAAY;CACnG,IAAI,MAAM;CACV,IAAI,OAAO;CACX,KAAK,MAAM,OAAO,MAChB,KAAK,MAAM,QAAQ,IAAI,OAAO;EAC5B,MAAM,QAAQ,MAAM;EACpB,IAAI,OAAO,UAAU,YAAY,OAAO,SAAS,KAAK,GAAG;GACvD,MAAM,KAAK,IAAI,KAAK,KAAK;GACzB,OAAO,KAAK,IAAI,MAAM,KAAK;EAC7B;CACF;CAEF,OAAO;EACL,KAAK,QAAQ,OAAO,SAAS,GAAG,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI;EACvD,KAAK,QAAQ,OAAO,SAAS,IAAI,IAAI,OAAO;EAC5C,OAAO,KAAK,IAAI,GAAG,KAAK,MAAM,KAAK,CAAC;CACrC;AACH;AAGA,SAAgB,aAAa,OAAkC,OAAqB;CAClF,IAAI,OAAO,UAAU,YAAY,CAAC,OAAO,SAAS,KAAK,KAAK,SAAS,MAAM,KACzE,OAAO;CAET,MAAM,OAAO,MAAM,MA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;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,WAAA;EAAA,CAAA;EAAA,mBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,kBAAkB,GAAA;IAAI,MAAM;IAAkC,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,kBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAC/D,iBAAiB,GAAA;IAAI,MAAM;IAAkC,UAAA;GAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-heatmap.mjs","names":[],"sources":["../../../../packages/charts/heatmap/src/heatmap-layout.ts","../../../../packages/charts/heatmap/src/heatmap-calendar.ts","../../../../packages/charts/heatmap/src/heatmap-templates.directive.ts","../../../../packages/charts/heatmap/src/heatmap.icons.ts","../../../../packages/charts/heatmap/src/heatmap.theme.ts","../../../../packages/charts/heatmap/src/heatmap-cell.component.ts","../../../../packages/charts/heatmap/src/heatmap-cell.component.html","../../../../packages/charts/heatmap/src/heatmap-legend.component.ts","../../../../packages/charts/heatmap/src/heatmap.component.ts","../../../../packages/charts/heatmap/src/heatmap.component.html"],"sourcesContent":["import { TxHeatmapCell, TxHeatmapColumnGroup, TxHeatmapRow, TxHeatmapRowGroup, TxHeatmapScale } from './heatmap.types';\n\n/** Splits the cells of a row into the column bands, one slot per column. */\nexport function heatmapRowGroups(cells: readonly (TxHeatmapCell | null)[], groups: readonly TxHeatmapColumnGroup[]): TxHeatmapRowGroup[] {\n let offset = 0;\n return groups.map((group) => {\n const slots = group.columns.map((column, index) => ({ columnKey: column.key, cell: cells[offset + index] ?? null }));\n offset += group.columns.length;\n return { key: group.key, slots };\n });\n}\n\n/**\n * Builds the color scale from the values of all cells; `min` and `max` override the found range and `steps` is at least 1.\n */\nexport function heatmapScale(rows: readonly TxHeatmapRow[], steps: number, min?: number, max?: number): TxHeatmapScale {\n let low = Infinity;\n let high = -Infinity;\n for (const row of rows) {\n for (const cell of row.cells) {\n const value = cell?.value;\n if (typeof value === 'number' && Number.isFinite(value)) {\n low = Math.min(low, value);\n high = Math.max(high, value);\n }\n }\n }\n return {\n min: min ?? (Number.isFinite(low) ? Math.min(low, 0) : 0),\n max: max ?? (Number.isFinite(high) ? high : 0),\n steps: Math.max(1, Math.round(steps)),\n };\n}\n\n/** Color level of a value from 0 (empty) to 1 (full), in `steps` equal parts of the scale. */\nexport function heatmapLevel(value: number | null | undefined, scale: TxHeatmapScale): number {\n if (typeof value !== 'number' || !Number.isFinite(value) || value <= scale.min) {\n return 0;\n }\n const span = scale.max - scale.min;\n const ratio = span > 0 ? Math.min(1, (value - scale.min) / span) : 1;\n return Math.max(1, Math.ceil(ratio * scale.steps)) / scale.steps;\n}\n\n/** Accessible name of a cell: its `ariaLabel`, else its tooltip, else `null`. */\nexport function heatmapCellLabel(cell: TxHeatmapCell): string | null {\n return cell.ariaLabel || cell.tooltip || null;\n}\n","import { TxHeatmapCalendar, TxHeatmapCalendarOptions, TxHeatmapCalendarValue, TxHeatmapCell, TxHeatmapColumnGroup, TxHeatmapRow } from './heatmap.types';\n\nconst DAY = 86_400_000;\n\nfunction toDay(value: string | Date): number {\n const date = typeof value === 'string' ? new Date(`${value.slice(0, 10)}T00:00:00Z`) : new Date(Date.UTC(value.getFullYear(), value.getMonth(), value.getDate()));\n return Math.floor(date.getTime() / DAY);\n}\n\nfunction dayKey(day: number): string {\n return new Date(day * DAY).toISOString().slice(0, 10);\n}\n\n/** Turns day values into a calendar heatmap: a band per month, a column per week and a row per weekday. */\nexport function heatmapCalendar(values: readonly TxHeatmapCalendarValue[], options: TxHeatmapCalendarOptions): TxHeatmapCalendar {\n const intl = options.intl ?? 'en-US';\n const firstDay = ((options.firstDayOfWeek ?? 1) % 7 + 7) % 7;\n const from = toDay(options.from);\n const to = toDay(options.to);\n const byDay = new Map<number, TxHeatmapCalendarValue>();\n for (const item of values) {\n byDay.set(toDay(item.date), item);\n }\n const weekday = (day: number) => (new Date(day * DAY).getUTCDay() - firstDay + 7) % 7;\n const start = from - weekday(from);\n const weeks = to < from ? 0 : Math.floor((to - start) / 7) + 1;\n const monthFormat = new Intl.DateTimeFormat(intl, { month: 'short', timeZone: 'UTC' });\n const dayFormat = new Intl.DateTimeFormat(intl, { weekday: 'short', timeZone: 'UTC' });\n const dateFormat = new Intl.DateTimeFormat(intl, { dateStyle: 'medium', timeZone: 'UTC' });\n const numberFormat = options.format ?? new Intl.NumberFormat(intl).format;\n\n const groups: TxHeatmapColumnGroup[] = [];\n for (let week = 0; week < weeks; week++) {\n const first = Math.max(start + week * 7, from);\n const date = new Date(first * DAY);\n const key = `${date.getUTCFullYear()}-${date.getUTCMonth()}`;\n let group = groups[groups.length - 1];\n if (!group || group.key !== key) {\n group = { key, label: monthFormat.format(date), columns: [] };\n groups.push(group);\n }\n group.columns.push({ key: dayKey(start + week * 7), label: '' });\n }\n\n const rows: TxHeatmapRow[] = Array.from({ length: 7 }, (_, index) => {\n const cells: (TxHeatmapCell | null)[] = [];\n for (let week = 0; week < weeks; week++) {\n const day = start + week * 7 + index;\n if (day < from || day > to) {\n cells.push({ hidden: true });\n continue;\n }\n const item = byDay.get(day);\n const value = item?.value ?? 0;\n const label = `${dateFormat.format(new Date(day * DAY))}: ${numberFormat(value)}`;\n cells.push({ value, tooltip: item?.tooltip ?? label, ariaLabel: label, interactive: options.interactive, data: item?.data ?? dayKey(day) });\n }\n return { key: `day-${index}`, label: dayFormat.format(new Date((start + index) * DAY)), cells };\n });\n\n return { groups, rows };\n}\n","import { Directive } from '@angular/core';\nimport { TxHeatmapRowContext } from './heatmap.types';\n\n@Directive({ selector: 'ng-template[txHeatmapRowHeader]' })\nexport class TxHeatmapRowHeader {\n static ngTemplateContextGuard(_directive: TxHeatmapRowHeader, context: unknown): context is TxHeatmapRowContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txHeatmapRowValue]' })\nexport class TxHeatmapRowValue {\n static ngTemplateContextGuard(_directive: TxHeatmapRowValue, context: unknown): context is TxHeatmapRowContext {\n return !!context;\n }\n}\n","import { TxIconSet, txIconInfo } from '@tectra-ng/icons';\n\nexport const HEATMAP_ICON_DEFAULTS: TxIconSet = {\n info: txIconInfo,\n};\n","import { chartTokens } from '@tectra-ng/themes';\n\nexport const HEATMAP_THEME = {\n chart: chartTokens,\n};\n","import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input, output } from '@angular/core';\nimport { injectTokens, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxTooltip } from '@tectra-ng/ui/tooltip';\nimport { heatmapCellLabel } from './heatmap-layout';\nimport { TxHeatmapCell } from './heatmap.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { HEATMAP_ICON_DEFAULTS } from './heatmap.icons';\nimport { HEATMAP_THEME } from './heatmap.theme';\n\n/** One cell of `tx-heatmap` and of its legend: draws the tone or the scale level, and the tooltip. */\n@Component({\n selector: 'tx-heatmap-cell',\n imports: [TxTooltip],\n templateUrl: './heatmap-cell.component.html',\n styleUrl: './heatmap-cell.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-heatmap-cell',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],\n})\nexport class TxHeatmapCellView {\n private readonly heatmapTheme = injectTokens(HEATMAP_THEME);\n\n readonly cell = input<TxHeatmapCell | null>(null);\n readonly level = input<number | null>(null);\n readonly legend = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly boxClass = input<string | undefined>(undefined);\n readonly boxStyle = input<Record<string, string> | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly activate = output<void>();\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly label = computed(() => {\n const cell = this.cell();\n return cell ? heatmapCellLabel(cell) : null;\n });\n readonly kind = computed(() => {\n const cell = this.cell();\n if (!cell) {\n return 'empty';\n }\n if (cell.hidden) {\n return 'hidden';\n }\n if (typeof cell.value === 'number' && !cell.tone) {\n return (this.level() ?? 0) > 0 ? 'scale' : 'empty';\n }\n return cell.tone ?? 'empty';\n });\n readonly levelStyle = computed(() => {\n const level = this.level();\n return this.kind() === 'scale' && level ? `${Math.round(level * 100)}%` : null;\n });\n}\n","@let item = cell();\n@if (legend() || !item || item.hidden) {\n <span\n class=\"tx-heatmap-cell__box\"\n [class]=\"['tx-heatmap-cell__box--' + kind(), boxClass() ?? '']\"\n [class.tx-heatmap-cell__box--legend]=\"legend()\"\n [style]=\"boxStyle()\"\n [style.--tx-heatmap-level]=\"levelStyle()\"\n aria-hidden=\"true\"\n ></span>\n} @else if (item.interactive) {\n <button\n type=\"button\"\n class=\"tx-heatmap-cell__box tx-heatmap-cell__box--interactive\"\n [class]=\"['tx-heatmap-cell__box--' + kind(), boxClass() ?? '']\"\n [style]=\"boxStyle()\"\n [style.--tx-heatmap-level]=\"levelStyle()\"\n [txTooltip]=\"item.tooltip\"\n tooltipPlacement=\"top\"\n [tooltipDisabled]=\"!item.tooltip\"\n [attr.aria-label]=\"label()\"\n (click)=\"activate.emit()\"\n ></button>\n} @else {\n <span\n class=\"tx-heatmap-cell__box\"\n [class]=\"['tx-heatmap-cell__box--' + kind(), boxClass() ?? '']\"\n [style]=\"boxStyle()\"\n [style.--tx-heatmap-level]=\"levelStyle()\"\n [attr.role]=\"label() ? 'img' : null\"\n [attr.aria-label]=\"label()\"\n [attr.aria-hidden]=\"label() ? null : 'true'\"\n [txTooltip]=\"item.tooltip\"\n tooltipPlacement=\"top\"\n [tooltipDisabled]=\"!item.tooltip\"\n ></span>\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { injectTokens, injectUnstyled } from '@tectra-ng/core/config';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TxHeatmapCellView } from './heatmap-cell.component';\nimport { TxHeatmapLegendItem, TxHeatmapScale } from './heatmap.types';\nimport { heatmapLevel } from './heatmap-layout';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { HEATMAP_ICON_DEFAULTS } from './heatmap.icons';\nimport { HEATMAP_THEME } from './heatmap.theme';\n\n/** The legend under `tx-heatmap`: a sample cell with a label for each entry, and an entry for empty cells. */\n@Component({\n selector: 'tx-heatmap-legend',\n imports: [TxHeatmapCellView],\n template: `\n <ul class=\"tx-heatmap-legend__list\">\n @for (item of items(); track $index) {\n <li class=\"tx-heatmap-legend__item\">\n <tx-heatmap-cell [cell]=\"{ tone: item.tone, value: item.value }\" [level]=\"levelOf(item.value)\" legend [unstyled]=\"isUnstyled()\" />\n {{ item.label }}\n </li>\n }\n @if (emptyLabel()) {\n <li class=\"tx-heatmap-legend__item\">\n <tx-heatmap-cell legend [unstyled]=\"isUnstyled()\" />\n {{ emptyLabel() }}\n </li>\n }\n </ul>\n `,\n styleUrl: './heatmap-legend.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-heatmap-legend',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],\n})\nexport class TxHeatmapLegend {\n private readonly heatmapTheme = injectTokens(HEATMAP_THEME);\n\n readonly items = input<readonly TxHeatmapLegendItem[]>([]);\n readonly emptyLabel = input('');\n readonly scale = input<TxHeatmapScale | null>(null);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n\n levelOf(value: number | undefined): number | null {\n const scale = this.scale();\n return scale && typeof value === 'number' ? heatmapLevel(value, scale) : null;\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, contentChild, input, output, TemplateRef } from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean } from '@tectra-ng/core/utils';\nimport { TectraChartTokens, TectraDeepPartial, toStyleObject } from '@tectra-ng/themes';\nimport { TxHeatmapCellView } from './heatmap-cell.component';\nimport { heatmapLevel, heatmapRowGroups, heatmapScale } from './heatmap-layout';\nimport { TxHeatmapLegend } from './heatmap-legend.component';\nimport { TxHeatmapRowHeader, TxHeatmapRowValue } from './heatmap-templates.directive';\nimport {\n TxHeatmapCell,\n TxHeatmapCellClick,\n TxHeatmapCellSlot,\n TxHeatmapColumnGroup,\n TxHeatmapLabels,\n TxHeatmapLegendItem,\n TxHeatmapPart,\n TxHeatmapRow,\n TxHeatmapRowContext,\n} from './heatmap.types';\nimport { provideTxIconDefaults } from '@tectra-ng/icons';\nimport { HEATMAP_ICON_DEFAULTS } from './heatmap.icons';\nimport { HEATMAP_THEME } from './heatmap.theme';\n\n@Component({\n selector: 'tx-heatmap',\n imports: [NgTemplateOutlet, TxHeatmapCellView, TxHeatmapLegend],\n templateUrl: './heatmap.component.html',\n styleUrl: './heatmap.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-heatmap',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n },\n viewProviders: [provideTxIconDefaults(HEATMAP_ICON_DEFAULTS)],\n})\nexport class TxHeatmap {\n private readonly heatmapTheme = injectTokens(HEATMAP_THEME);\n\n readonly translations = injectTranslations();\n\n readonly groups = input<readonly TxHeatmapColumnGroup[]>([]);\n readonly rows = input<readonly TxHeatmapRow[]>([]);\n readonly legend = input<readonly TxHeatmapLegendItem[]>([]);\n readonly labels = input<Partial<TxHeatmapLabels>>({});\n readonly maxHeight = input<string | undefined>(undefined);\n readonly scaleSteps = input(5);\n readonly scaleMin = input<number | undefined>(undefined);\n readonly scaleMax = input<number | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraChartTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxHeatmapPart, TxHeatmap> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n readonly rowHeaderTemplate = input<TemplateRef<TxHeatmapRowContext> | null | undefined>(undefined);\n readonly rowValueTemplate = input<TemplateRef<TxHeatmapRowContext> | null | undefined>(undefined);\n\n readonly cellClick = output<TxHeatmapCellClick>();\n\n protected readonly rowHeaderSlot = contentChild(TxHeatmapRowHeader, { read: TemplateRef<TxHeatmapRowContext> });\n protected readonly rowValueSlot = contentChild(TxHeatmapRowValue, { read: TemplateRef<TxHeatmapRowContext> });\n readonly resolvedRowHeaderTemplate = computed(() => this.rowHeaderTemplate() ?? this.rowHeaderSlot() ?? null);\n readonly resolvedRowValueTemplate = computed(() => this.rowValueTemplate() ?? this.rowValueSlot() ?? null);\n\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('heatmap', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({ ...toStyleObject(this.dt(), '--tx-chart'), ...this.passThrough().root?.style }));\n\n readonly text = computed<TxHeatmapLabels>(() => {\n const t = this.translations();\n return { rowHeader: '', valueHeader: '', empty: t.chartNoData, region: t.chartHeatmap, ...this.labels() };\n });\n readonly scale = computed(() => heatmapScale(this.rows(), this.scaleSteps(), this.scaleMin(), this.scaleMax()));\n readonly layout = computed(() => {\n const groups = this.groups();\n const scale = this.scale();\n return this.rows().map((row) => ({\n row,\n context: { $implicit: row, row } satisfies TxHeatmapRowContext,\n groups: heatmapRowGroups(row.cells, groups).map((group) => ({\n ...group,\n slots: group.slots.map((slot) => ({ ...slot, level: heatmapLevel(slot.cell?.value, scale) })),\n })),\n }));\n });\n\n onCellActivate(row: TxHeatmapRow, slot: TxHeatmapCellSlot): void {\n const cell: TxHeatmapCell | null = slot.cell;\n if (cell?.interactive) {\n this.cellClick.emit({ row, cell, columnKey: slot.columnKey });\n }\n }\n}\n","@let label = text();\n@let parts = passThrough();\n@let valueTemplate = resolvedRowValueTemplate();\n@let headerTemplate = resolvedRowHeaderTemplate();\n<div\n class=\"tx-heatmap__scroll\"\n [class]=\"parts.scroll?.class\"\n [style]=\"parts.scroll?.style\"\n [style.max-height]=\"maxHeight()\"\n tabindex=\"0\"\n role=\"region\"\n [attr.aria-label]=\"label.region\"\n>\n <div class=\"tx-heatmap__grid\" [class]=\"parts.grid?.class\" [style]=\"parts.grid?.style\">\n <div class=\"tx-heatmap__row tx-heatmap__row--head\" [class]=\"parts.head?.class\" [style]=\"parts.head?.style\">\n <div class=\"tx-heatmap__lead tx-heatmap__lead--head\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">{{ label.rowHeader }}</div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of groups(); track group.key) {\n <div class=\"tx-heatmap__group\" [class]=\"parts.group?.class\" [style]=\"parts.group?.style\">\n <span class=\"tx-heatmap__group-label\" [class]=\"parts.groupLabel?.class\" [style]=\"parts.groupLabel?.style\" [attr.title]=\"group.label\">{{ group.label }}</span>\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (column of group.columns; track column.key) {\n <span class=\"tx-heatmap__column\" [class]=\"parts.column?.class\" [style]=\"parts.column?.style\">{{ column.label }}</span>\n }\n </div>\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value tx-heatmap__value--head\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">{{ label.valueHeader }}</div>\n }\n </div>\n\n @for (line of layout(); track line.row.key) {\n <div class=\"tx-heatmap__row\" [class]=\"parts.row?.class\" [style]=\"parts.row?.style\">\n <div class=\"tx-heatmap__lead\" [class]=\"parts.lead?.class\" [style]=\"parts.lead?.style\">\n @if (headerTemplate) {\n <ng-container [ngTemplateOutlet]=\"headerTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n } @else {\n {{ line.row.label ?? line.row.key }}\n }\n </div>\n <div class=\"tx-heatmap__groups\" [class]=\"parts.groups?.class\" [style]=\"parts.groups?.style\">\n @for (group of line.groups; track group.key) {\n <div class=\"tx-heatmap__columns\" [class]=\"parts.columns?.class\" [style]=\"parts.columns?.style\">\n @for (slot of group.slots; track slot.columnKey) {\n <tx-heatmap-cell\n [cell]=\"slot.cell\"\n [level]=\"slot.level\"\n [boxClass]=\"parts.cell?.class\"\n [boxStyle]=\"parts.cell?.style\"\n [unstyled]=\"isUnstyled()\"\n (activate)=\"onCellActivate(line.row, slot)\"\n />\n }\n </div>\n }\n </div>\n @if (valueTemplate) {\n <div class=\"tx-heatmap__value\" [class]=\"parts.value?.class\" [style]=\"parts.value?.style\">\n <ng-container [ngTemplateOutlet]=\"valueTemplate\" [ngTemplateOutletContext]=\"line.context\" />\n </div>\n }\n </div>\n }\n </div>\n</div>\n\n@if (legend().length) {\n <tx-heatmap-legend\n [class]=\"parts.legend?.class\"\n [style]=\"parts.legend?.style\"\n [items]=\"legend()\"\n [emptyLabel]=\"label.empty\"\n [scale]=\"scale()\"\n [unstyled]=\"isUnstyled()\"\n />\n}\n"],"mappings":";;;;;;;;;AAGA,SAAgB,iBAAiB,OAA0C,QAAuC;CAChH,IAAI,SAAS;CACb,OAAO,OAAO,KAAK,UAAS;EAC1B,MAAM,QAAQ,MAAM,QAAQ,KAAK,QAAQ,WAAW;GAAE,WAAW,OAAO;GAAK,MAAM,MAAM,SAAS,UAAU;EAAI,EAAG;EACnH,UAAU,MAAM,QAAQ;EACxB,OAAO;GAAE,KAAK,MAAM;GAAK;EAAK;CAChC,CAAC;AACH;AAKA,SAAgB,a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