@nanahoshi/mona-ui 0.25.1 → 0.26.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/README.md +2 -0
- package/chart/README.md +2 -2
- package/command/package.json +4 -0
- package/docs/auto-complete.md +733 -0
- package/docs/avatar.md +220 -0
- package/docs/breadcrumb.md +320 -0
- package/docs/button-group.md +392 -0
- package/docs/button.md +256 -0
- package/docs/calendar.md +515 -0
- package/docs/card.md +292 -0
- package/docs/chart-bar.md +714 -0
- package/docs/chart-financial.md +567 -0
- package/docs/chart-funnel.md +546 -0
- package/docs/chart-heatmap.md +535 -0
- package/docs/chart-line-area.md +462 -0
- package/docs/chart-pie.md +645 -0
- package/docs/chart-radar.md +518 -0
- package/docs/chart-radial.md +658 -0
- package/docs/chart-scatter.md +479 -0
- package/docs/chart-treemap.md +651 -0
- package/docs/chart.md +2465 -0
- package/docs/checkbox.md +374 -0
- package/docs/chip.md +339 -0
- package/docs/circular-progress-bar.md +287 -0
- package/docs/collapsible.md +308 -0
- package/docs/color-gradient.md +336 -0
- package/docs/color-palette.md +317 -0
- package/docs/color-picker.md +387 -0
- package/docs/combo-box.md +764 -0
- package/docs/command.md +582 -0
- package/docs/contextmenu.md +530 -0
- package/docs/date-picker.md +251 -0
- package/docs/datetime-picker.md +284 -0
- package/docs/decimal-textbox.md +260 -0
- package/docs/dialog.md +822 -0
- package/docs/dropdown-button.md +507 -0
- package/docs/dropdown-list.md +779 -0
- package/docs/editor.md +374 -0
- package/docs/expansion-panel.md +348 -0
- package/docs/fieldset.md +217 -0
- package/docs/forms.md +162 -0
- package/docs/grid.md +2053 -0
- package/docs/input.md +197 -0
- package/docs/installation.md +54 -0
- package/docs/introduction.md +46 -0
- package/docs/label.md +340 -0
- package/docs/list-box.md +637 -0
- package/docs/list-view.md +584 -0
- package/docs/menubar.md +559 -0
- package/docs/multi-select.md +765 -0
- package/docs/notification.md +460 -0
- package/docs/numeric-textbox.md +301 -0
- package/docs/otp-input.md +539 -0
- package/docs/pager.md +513 -0
- package/docs/placeholder.md +176 -0
- package/docs/popover.md +423 -0
- package/docs/popup-menu.md +658 -0
- package/docs/popup.md +617 -0
- package/docs/progress-bar.md +368 -0
- package/docs/radio-button.md +451 -0
- package/docs/range-slider.md +367 -0
- package/docs/rating.md +518 -0
- package/docs/scroll-view.md +375 -0
- package/docs/segmented.md +434 -0
- package/docs/sheet.md +348 -0
- package/docs/sidebar.md +1126 -0
- package/docs/skeleton.md +181 -0
- package/docs/slider.md +423 -0
- package/docs/spinner.md +370 -0
- package/docs/split-button.md +522 -0
- package/docs/splitter.md +342 -0
- package/docs/stepper.md +539 -0
- package/docs/switch.md +340 -0
- package/docs/tabs.md +542 -0
- package/docs/textarea.md +196 -0
- package/docs/textbox.md +332 -0
- package/docs/theming.md +403 -0
- package/docs/time-picker.md +254 -0
- package/docs/tooltip-directive.md +340 -0
- package/docs/tooltip.md +321 -0
- package/docs/tree-view.md +1018 -0
- package/docs/window.md +663 -0
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +8 -0
- package/fesm2022/nanahoshi-mona-ui-button.mjs +12 -0
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +5 -2
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +212 -66
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +16 -2
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-command.mjs +924 -0
- package/fesm2022/nanahoshi-mona-ui-common.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +10 -6
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +9 -5
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +9 -5
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +55 -1
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +3 -2
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +13 -0
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +5 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs → nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs → nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs} +18 -35
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs} +4653 -4529
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +168 -0
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +19 -1
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +14 -0
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +32 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +15 -8
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +8 -5
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +9 -0
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -6
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +48 -183
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +7 -2
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +9 -6
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +18 -21
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +11 -8
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +9 -1
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +16 -5
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +13 -11
- package/fesm2022/nanahoshi-mona-ui-window.mjs +12 -5
- package/i18n/catalogs/en-US.messages.json +10 -0
- package/internal/popup-menu/package.json +4 -0
- package/llms.txt +133 -0
- package/locales/ar-sa/ar-sa.messages.json +10 -0
- package/locales/de-de/de-de.messages.json +10 -0
- package/locales/es-es/es-es.messages.json +10 -0
- package/locales/fr-fr/fr-fr.messages.json +10 -0
- package/locales/id-id/id-id.messages.json +10 -0
- package/locales/it-it/it-it.messages.json +10 -0
- package/locales/ja-jp/ja-jp.messages.json +10 -0
- package/locales/ko-kr/ko-kr.messages.json +10 -0
- package/locales/pt-br/pt-br.messages.json +10 -0
- package/locales/ru-ru/ru-ru.messages.json +10 -0
- package/locales/tr-tr/tr-tr.messages.json +10 -0
- package/locales/zh-cn/zh-cn.messages.json +10 -0
- package/locales/zh-tw/zh-tw.messages.json +10 -0
- package/package.json +9 -1
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -1
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +8 -0
- package/types/nanahoshi-mona-ui-button.d.ts +12 -0
- package/types/nanahoshi-mona-ui-calendar.d.ts +3 -0
- package/types/nanahoshi-mona-ui-chart.d.ts +250 -20
- package/types/nanahoshi-mona-ui-check-box.d.ts +4 -0
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +4 -0
- package/types/nanahoshi-mona-ui-collapsible.d.ts +10 -0
- package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -1
- package/types/nanahoshi-mona-ui-command.d.ts +253 -0
- package/types/nanahoshi-mona-ui-common.d.ts +17 -1
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -2
- package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-dialog.d.ts +58 -1
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +7 -3
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +55 -1
- package/types/nanahoshi-mona-ui-editor.d.ts +31 -0
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +13 -0
- package/types/nanahoshi-mona-ui-fieldset.d.ts +5 -0
- package/types/nanahoshi-mona-ui-grid.d.ts +162 -35
- package/types/nanahoshi-mona-ui-i18n.d.ts +144 -1
- package/types/nanahoshi-mona-ui-internal-list.d.ts +16 -1
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +165 -0
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +21 -2
- package/types/nanahoshi-mona-ui-internal.d.ts +4 -5
- package/types/nanahoshi-mona-ui-label.d.ts +1 -0
- package/types/nanahoshi-mona-ui-list-box.d.ts +27 -4
- package/types/nanahoshi-mona-ui-list-view.d.ts +34 -1
- package/types/nanahoshi-mona-ui-list.d.ts +1 -1
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +10 -0
- package/types/nanahoshi-mona-ui-menubar.d.ts +10 -3
- package/types/nanahoshi-mona-ui-multi-select.d.ts +3 -3
- package/types/nanahoshi-mona-ui-notification.d.ts +9 -0
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -1
- package/types/nanahoshi-mona-ui-otp-input.d.ts +1 -0
- package/types/nanahoshi-mona-ui-pager.d.ts +5 -1
- package/types/nanahoshi-mona-ui-popover.d.ts +9 -1
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +48 -161
- package/types/nanahoshi-mona-ui-popup.d.ts +16 -0
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +4 -0
- package/types/nanahoshi-mona-ui-rating.d.ts +2 -0
- package/types/nanahoshi-mona-ui-segmented.d.ts +1 -0
- package/types/nanahoshi-mona-ui-sheet.d.ts +1 -1
- package/types/nanahoshi-mona-ui-slider.d.ts +2 -0
- package/types/nanahoshi-mona-ui-spinner.d.ts +7 -0
- package/types/nanahoshi-mona-ui-split-button.d.ts +7 -4
- package/types/nanahoshi-mona-ui-stepper.d.ts +11 -2
- package/types/nanahoshi-mona-ui-tabs.d.ts +4 -1
- package/types/nanahoshi-mona-ui-text-box.d.ts +9 -1
- package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-tooltip.d.ts +10 -2
- package/types/nanahoshi-mona-ui-tree-view.d.ts +6 -5
- package/types/nanahoshi-mona-ui-window.d.ts +66 -1
|
@@ -9992,6 +9992,14 @@ function serializeKeyPart(value) {
|
|
|
9992
9992
|
}
|
|
9993
9993
|
return null;
|
|
9994
9994
|
}
|
|
9995
|
+
/**
|
|
9996
|
+
* Writes an item ID: the prefix (`k` for a key, `c` for a category), the kind of the value and the value, such as
|
|
9997
|
+
* `k:s:trial`. Returns `null` for a value that can't identify an item.
|
|
9998
|
+
*/
|
|
9999
|
+
function formatItemId(prefix, value) {
|
|
10000
|
+
const part = serializeKeyPart(value);
|
|
10001
|
+
return part === null ? null : `${prefix}:${part.type}:${String(part.value)}`;
|
|
10002
|
+
}
|
|
9995
10003
|
function normalizeSeriesKey(value) {
|
|
9996
10004
|
if (value === undefined || value === null) {
|
|
9997
10005
|
return undefined;
|
|
@@ -19074,7 +19082,7 @@ class FinancialLayoutEngine {
|
|
|
19074
19082
|
const maxBodyWidth = isFiniteNumber(explicitMaxBodyWidth) && explicitMaxBodyWidth > 0
|
|
19075
19083
|
? Math.max(2, explicitMaxBodyWidth)
|
|
19076
19084
|
: 32;
|
|
19077
|
-
const wickWidth = Math.max(0.5, normalizeNonNegativeNumber(
|
|
19085
|
+
const wickWidth = Math.max(0.5, normalizeNonNegativeNumber(resolvedStyle.wickWidth, 1));
|
|
19078
19086
|
const seriesFormatter = series.valueFormatter?.() ?? valueFormatter;
|
|
19079
19087
|
const seriesName = series.name();
|
|
19080
19088
|
const sceneMarks = validMarks.map((v, i) => {
|
|
@@ -19196,7 +19204,7 @@ class FinancialLayoutEngine {
|
|
|
19196
19204
|
const maxBodyWidth = isFiniteNumber(explicitMaxBodyWidth) && explicitMaxBodyWidth > 0
|
|
19197
19205
|
? Math.max(2, explicitMaxBodyWidth)
|
|
19198
19206
|
: 32;
|
|
19199
|
-
const wickWidth = Math.max(0.5, normalizeNonNegativeNumber(
|
|
19207
|
+
const wickWidth = Math.max(0.5, normalizeNonNegativeNumber(resolvedStyle.wickWidth, 1));
|
|
19200
19208
|
const seriesFormatter = series.valueFormatter?.() ?? valueFormatter;
|
|
19201
19209
|
const seriesName = series.name();
|
|
19202
19210
|
const sceneMarks = validMarks.map((v, i) => {
|
|
@@ -30199,9 +30207,8 @@ class FunnelIdentity {
|
|
|
30199
30207
|
let explicitKey;
|
|
30200
30208
|
if (keyField) {
|
|
30201
30209
|
const rawKey = resolveValue(datum, keyField, sourceIndex);
|
|
30202
|
-
const
|
|
30203
|
-
if (
|
|
30204
|
-
const keyStr = `k:${keyPart.type}:${String(keyPart.value)}`;
|
|
30210
|
+
const keyStr = formatItemId("k", rawKey);
|
|
30211
|
+
if (keyStr !== null) {
|
|
30205
30212
|
if (seenExplicitKeys?.has(keyStr)) {
|
|
30206
30213
|
if (warnedDiagnosticSignatures) {
|
|
30207
30214
|
ChartDiagnostics.warnOnce(warnedDiagnosticSignatures, `Funnel series "${seriesName}" encountered duplicate explicit key "${String(rawKey)}" at index ${sourceIndex}. Falling back to index identity.`, `${seriesId}:duplicate-keys`);
|
|
@@ -31728,9 +31735,8 @@ class TreemapIdentity {
|
|
|
31728
31735
|
let nodeId;
|
|
31729
31736
|
if (keyField) {
|
|
31730
31737
|
const rawKey = resolveValue(datum, keyField, dataIndex);
|
|
31731
|
-
const
|
|
31732
|
-
if (
|
|
31733
|
-
const keyStr = `k:${keyPart.type}:${String(keyPart.value)}`;
|
|
31738
|
+
const keyStr = formatItemId("k", rawKey);
|
|
31739
|
+
if (keyStr !== null) {
|
|
31734
31740
|
if (seenExplicitKeys && seenExplicitKeys.has(keyStr)) {
|
|
31735
31741
|
if (warnedDiagnosticSignatures && seriesId) {
|
|
31736
31742
|
ChartDiagnostics.warnOnce(warnedDiagnosticSignatures, `Treemap series "${seriesName ?? seriesId}" encountered duplicate explicit key "${String(rawKey)}" at data index ${dataIndex}. Falling back to path identity.`, `${seriesId}:duplicate-keys`);
|
|
@@ -32528,37 +32534,13 @@ class HierarchicalLayoutEngine {
|
|
|
32528
32534
|
}
|
|
32529
32535
|
|
|
32530
32536
|
function deriveRadialDatumId(_datum, categoryValue, explicitKeyValue, dataIndex) {
|
|
32531
|
-
|
|
32532
|
-
const keyPart = serializeKeyPart(explicitKeyValue);
|
|
32533
|
-
if (keyPart !== null) {
|
|
32534
|
-
return `k:${keyPart.type}:${String(keyPart.value)}`;
|
|
32535
|
-
}
|
|
32536
|
-
}
|
|
32537
|
-
if (categoryValue !== undefined && categoryValue !== null) {
|
|
32538
|
-
const catPart = serializeKeyPart(categoryValue);
|
|
32539
|
-
if (catPart !== null) {
|
|
32540
|
-
return `c:${catPart.type}:${String(catPart.value)}`;
|
|
32541
|
-
}
|
|
32542
|
-
}
|
|
32543
|
-
return `i:${dataIndex}`;
|
|
32537
|
+
return formatItemId("k", explicitKeyValue) ?? formatItemId("c", categoryValue) ?? `i:${dataIndex}`;
|
|
32544
32538
|
}
|
|
32545
32539
|
function serializeRadialCategoryKey(categoryValue, fallbackIndex) {
|
|
32546
|
-
|
|
32547
|
-
const part = serializeKeyPart(categoryValue);
|
|
32548
|
-
if (part !== null) {
|
|
32549
|
-
return `c:${part.type}:${String(part.value)}`;
|
|
32550
|
-
}
|
|
32551
|
-
}
|
|
32552
|
-
return `c:i:${fallbackIndex}`;
|
|
32540
|
+
return formatItemId("c", categoryValue) ?? `c:i:${fallbackIndex}`;
|
|
32553
32541
|
}
|
|
32554
32542
|
function serializeRadialExplicitKey(explicitKeyValue) {
|
|
32555
|
-
|
|
32556
|
-
const part = serializeKeyPart(explicitKeyValue);
|
|
32557
|
-
if (part !== null) {
|
|
32558
|
-
return `k:${part.type}:${String(part.value)}`;
|
|
32559
|
-
}
|
|
32560
|
-
}
|
|
32561
|
-
return null;
|
|
32543
|
+
return formatItemId("k", explicitKeyValue);
|
|
32562
32544
|
}
|
|
32563
32545
|
function extractRadialDatumIdentities(data, categoryField, keyField) {
|
|
32564
32546
|
const results = [];
|
|
@@ -35442,9 +35424,8 @@ class WaterfallDataProcessor {
|
|
|
35442
35424
|
let explicitKey;
|
|
35443
35425
|
if (keyField) {
|
|
35444
35426
|
const rawKey = resolveValue(datum, keyField, i);
|
|
35445
|
-
const
|
|
35446
|
-
if (
|
|
35447
|
-
const keyStr = `k:${keyPart.type}:${String(keyPart.value)}`;
|
|
35427
|
+
const keyStr = formatItemId("k", rawKey);
|
|
35428
|
+
if (keyStr !== null) {
|
|
35448
35429
|
if (seenExplicitKeys.has(keyStr)) {
|
|
35449
35430
|
if (warnedDiagnosticSignatures) {
|
|
35450
35431
|
ChartDiagnostics.warnOnce(warnedDiagnosticSignatures, `Waterfall series "${seriesName}" encountered duplicate explicit key "${String(rawKey)}" at index ${i}. Falling back to index identity.`, `${seriesId}:duplicate-keys`);
|
|
@@ -38196,6 +38177,37 @@ class FunnelChartRenderer {
|
|
|
38196
38177
|
}
|
|
38197
38178
|
}
|
|
38198
38179
|
|
|
38180
|
+
/**
|
|
38181
|
+
* Lists the tick marks of a heatmap's axes. A heatmap's axes sit on the plot's edges, so each tick starts at the edge
|
|
38182
|
+
* and runs `tickSize` pixels outward, centered on its category.
|
|
38183
|
+
*/
|
|
38184
|
+
function buildHeatmapTickSegments(axes, plotRect) {
|
|
38185
|
+
const segments = [];
|
|
38186
|
+
for (const axis of axes) {
|
|
38187
|
+
if (!axis.visible || !axis.tickMarks) {
|
|
38188
|
+
continue;
|
|
38189
|
+
}
|
|
38190
|
+
const size = axis.tickSize ?? 6;
|
|
38191
|
+
if (axis.axis === "x") {
|
|
38192
|
+
const top = axis.position === "top";
|
|
38193
|
+
const edge = top ? plotRect.y : plotRect.y + plotRect.height;
|
|
38194
|
+
const end = top ? edge - size : edge + size;
|
|
38195
|
+
for (const tick of axis.ticks) {
|
|
38196
|
+
segments.push({ x1: tick.coordinate, x2: tick.coordinate, y1: edge, y2: end });
|
|
38197
|
+
}
|
|
38198
|
+
}
|
|
38199
|
+
else {
|
|
38200
|
+
const right = axis.position === "right";
|
|
38201
|
+
const edge = right ? plotRect.x + plotRect.width : plotRect.x;
|
|
38202
|
+
const end = right ? edge + size : edge - size;
|
|
38203
|
+
for (const tick of axis.ticks) {
|
|
38204
|
+
segments.push({ x1: edge, x2: end, y1: tick.coordinate, y2: tick.coordinate });
|
|
38205
|
+
}
|
|
38206
|
+
}
|
|
38207
|
+
}
|
|
38208
|
+
return segments;
|
|
38209
|
+
}
|
|
38210
|
+
|
|
38199
38211
|
class HeatmapSeriesRenderer {
|
|
38200
38212
|
static render(context, series) {
|
|
38201
38213
|
const { cells, showLabels } = series;
|
|
@@ -38322,6 +38334,17 @@ class HeatmapChartRenderer {
|
|
|
38322
38334
|
}
|
|
38323
38335
|
context.stroke();
|
|
38324
38336
|
}
|
|
38337
|
+
const ticks = buildHeatmapTickSegments(axes, plotRect);
|
|
38338
|
+
if (ticks.length > 0) {
|
|
38339
|
+
context.strokeStyle = axisLineColor;
|
|
38340
|
+
context.lineWidth = 1;
|
|
38341
|
+
context.beginPath();
|
|
38342
|
+
for (const tick of ticks) {
|
|
38343
|
+
context.moveTo(crispPixel(tick.x1, 1), crispPixel(tick.y1, 1));
|
|
38344
|
+
context.lineTo(crispPixel(tick.x2, 1), crispPixel(tick.y2, 1));
|
|
38345
|
+
}
|
|
38346
|
+
context.stroke();
|
|
38347
|
+
}
|
|
38325
38348
|
// 4. Draw Interaction Indicators (hover & keyboard focus)
|
|
38326
38349
|
if (interactionState) {
|
|
38327
38350
|
const isKeyboard = interactionState.source === "keyboard";
|
|
@@ -41545,6 +41568,7 @@ class SvgMarkerSeriesRenderer {
|
|
|
41545
41568
|
}
|
|
41546
41569
|
}
|
|
41547
41570
|
|
|
41571
|
+
/** Draws each OHLC mark as a group of two paths: the high-low stem in `wickColor`, and the open and close ticks. */
|
|
41548
41572
|
class SvgOhlcSeriesRenderer {
|
|
41549
41573
|
#keyedGroup;
|
|
41550
41574
|
constructor(container) {
|
|
@@ -41556,6 +41580,17 @@ class SvgOhlcSeriesRenderer {
|
|
|
41556
41580
|
destroy() {
|
|
41557
41581
|
this.#keyedGroup.destroy();
|
|
41558
41582
|
}
|
|
41583
|
+
static #ensurePaths(group) {
|
|
41584
|
+
const paths = group.querySelectorAll(":scope > path");
|
|
41585
|
+
if (paths.length === 2) {
|
|
41586
|
+
return [paths[0], paths[1]];
|
|
41587
|
+
}
|
|
41588
|
+
group.replaceChildren();
|
|
41589
|
+
const stem = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
41590
|
+
const ticks = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
41591
|
+
group.append(stem, ticks);
|
|
41592
|
+
return [stem, ticks];
|
|
41593
|
+
}
|
|
41559
41594
|
render(scene) {
|
|
41560
41595
|
const marks = scene.marks ?? [];
|
|
41561
41596
|
const { style } = scene;
|
|
@@ -41566,11 +41601,12 @@ class SvgOhlcSeriesRenderer {
|
|
|
41566
41601
|
const baseAlpha = (style.opacity ?? 1) * (scene.renderOpacity ?? 1);
|
|
41567
41602
|
this.#keyedGroup.reconcile(marks, {
|
|
41568
41603
|
key: (mark, index) => mark.animationKey ?? String(index),
|
|
41569
|
-
tag: "
|
|
41570
|
-
update: (
|
|
41604
|
+
tag: "g",
|
|
41605
|
+
update: (group, mark) => {
|
|
41606
|
+
const [stem, ticks] = SvgOhlcSeriesRenderer.#ensurePaths(group);
|
|
41571
41607
|
const markAlpha = baseAlpha * (mark.renderOpacity ?? 1);
|
|
41572
41608
|
if (markAlpha <= 0) {
|
|
41573
|
-
setSvgAttribute(
|
|
41609
|
+
setSvgAttribute(group, "opacity", 0);
|
|
41574
41610
|
return;
|
|
41575
41611
|
}
|
|
41576
41612
|
const markColor = style.color ||
|
|
@@ -41580,18 +41616,17 @@ class SvgOhlcSeriesRenderer {
|
|
|
41580
41616
|
? style.fallingColor
|
|
41581
41617
|
: style.neutralColor);
|
|
41582
41618
|
const cx = Math.round(mark.centerX);
|
|
41583
|
-
const highY = Math.round(mark.highY);
|
|
41584
|
-
const lowY = Math.round(mark.lowY);
|
|
41585
41619
|
const openY = Math.round(mark.openY);
|
|
41586
41620
|
const closeY = Math.round(mark.closeY);
|
|
41587
41621
|
const tickWidth = mark.tickWidth;
|
|
41588
|
-
|
|
41589
|
-
setSvgAttribute(
|
|
41590
|
-
setSvgAttribute(
|
|
41591
|
-
setSvgAttribute(
|
|
41592
|
-
setSvgAttribute(
|
|
41593
|
-
setSvgAttribute(
|
|
41594
|
-
setSvgAttribute(
|
|
41622
|
+
setSvgAttribute(group, "opacity", markAlpha);
|
|
41623
|
+
setSvgAttribute(group, "fill", "none");
|
|
41624
|
+
setSvgAttribute(group, "stroke-width", mark.wickWidth);
|
|
41625
|
+
setSvgAttribute(group, "shape-rendering", "crispEdges");
|
|
41626
|
+
setSvgAttribute(stem, "d", `M ${cx} ${Math.round(mark.highY)} V ${Math.round(mark.lowY)}`);
|
|
41627
|
+
setSvgAttribute(stem, "stroke", style.wickColor || markColor);
|
|
41628
|
+
setSvgAttribute(ticks, "d", `M ${cx - tickWidth} ${openY} H ${cx} M ${cx} ${closeY} H ${cx + tickWidth}`);
|
|
41629
|
+
setSvgAttribute(ticks, "stroke", markColor);
|
|
41595
41630
|
}
|
|
41596
41631
|
});
|
|
41597
41632
|
}
|
|
@@ -43903,6 +43938,9 @@ class SvgHeatmapRenderer {
|
|
|
43903
43938
|
axisSegments.push(`M ${plotRect.x} ${y} H ${plotRect.x + plotRect.width}`);
|
|
43904
43939
|
}
|
|
43905
43940
|
}
|
|
43941
|
+
for (const tick of buildHeatmapTickSegments(axes, plotRect)) {
|
|
43942
|
+
axisSegments.push(`M ${Math.round(tick.x1)} ${Math.round(tick.y1)} L ${Math.round(tick.x2)} ${Math.round(tick.y2)}`);
|
|
43943
|
+
}
|
|
43906
43944
|
if (axisSegments.length > 0) {
|
|
43907
43945
|
if (!this.#axisPath) {
|
|
43908
43946
|
this.#axisPath = createSvgElement("path");
|
|
@@ -53406,6 +53444,7 @@ function easingToCss(easing) {
|
|
|
53406
53444
|
return "cubic-bezier(0, 0, 0.2, 1)";
|
|
53407
53445
|
}
|
|
53408
53446
|
}
|
|
53447
|
+
/** Root visualization container coordinating coordinate layouts, canvas rendering, theme styles, and interactions. */
|
|
53409
53448
|
class ChartComponent {
|
|
53410
53449
|
#activeBrushBounds;
|
|
53411
53450
|
#activeExportControllers;
|
|
@@ -57472,6 +57511,7 @@ class ChartComponent {
|
|
|
57472
57511
|
this.toggleSeriesVisibility(item.seriesId);
|
|
57473
57512
|
}
|
|
57474
57513
|
}
|
|
57514
|
+
/** Toggles the visibility of a series. */
|
|
57475
57515
|
toggleSeriesVisibility(seriesId) {
|
|
57476
57516
|
const s = this.#registeredSeries().find(item => item.id === seriesId);
|
|
57477
57517
|
if (s) {
|
|
@@ -58143,6 +58183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
58143
58183
|
}] });
|
|
58144
58184
|
|
|
58145
58185
|
let nextXAxisId = 0;
|
|
58186
|
+
/** Configures an X axis in Cartesian charts. Add more than one with distinct `axisId` values for multiple axes. */
|
|
58146
58187
|
class ChartXAxisComponent {
|
|
58147
58188
|
#chartContext;
|
|
58148
58189
|
#destroyRef;
|
|
@@ -58376,6 +58417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
58376
58417
|
}], ctorParameters: () => [], propDecorators: { labelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartAxisLabelTemplateDirective), { isSignal: true }] }], axisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "axisId", required: false }] }], axisLine: [{ type: i0.Input, args: [{ isSignal: true, alias: "axisLine", required: false }] }], exponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "exponent", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], formatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatter", required: false }] }], gridLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridLines", required: false }] }], labelMaxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelMaxWidth", required: false }] }], labelPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPadding", required: false }] }], labelRotation: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelRotation", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], logBase: [{ type: i0.Input, args: [{ isSignal: true, alias: "logBase", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], nice: [{ type: i0.Input, args: [{ isSignal: true, alias: "nice", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], symlogConstant: [{ type: i0.Input, args: [{ isSignal: true, alias: "symlogConstant", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], tickMarks: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickMarks", required: false }] }], tickSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickSize", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], titlePadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "titlePadding", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }] } });
|
|
58377
58418
|
|
|
58378
58419
|
let nextYAxisId = 0;
|
|
58420
|
+
/** Configures a Y axis in Cartesian charts. Add more than one with distinct `axisId` values for multiple axes. */
|
|
58379
58421
|
class ChartYAxisComponent {
|
|
58380
58422
|
#chartContext;
|
|
58381
58423
|
#destroyRef;
|
|
@@ -58600,6 +58642,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
58600
58642
|
}]
|
|
58601
58643
|
}], ctorParameters: () => [], propDecorators: { labelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartAxisLabelTemplateDirective), { isSignal: true }] }], axisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "axisId", required: false }] }], axisLine: [{ type: i0.Input, args: [{ isSignal: true, alias: "axisLine", required: false }] }], exponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "exponent", required: false }] }], formatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatter", required: false }] }], gridLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridLines", required: false }] }], labelMaxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelMaxWidth", required: false }] }], labelPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPadding", required: false }] }], labelRotation: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelRotation", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], logBase: [{ type: i0.Input, args: [{ isSignal: true, alias: "logBase", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], nice: [{ type: i0.Input, args: [{ isSignal: true, alias: "nice", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], symlogConstant: [{ type: i0.Input, args: [{ isSignal: true, alias: "symlogConstant", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], tickMarks: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickMarks", required: false }] }], tickSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickSize", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], titlePadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "titlePadding", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }] } });
|
|
58602
58644
|
|
|
58645
|
+
/** Configures the angular dimension (spokes and continuous degrees) in Polar Axis charts. */
|
|
58603
58646
|
class ChartAngularAxisComponent {
|
|
58604
58647
|
#chartContext;
|
|
58605
58648
|
#destroyRef;
|
|
@@ -58713,6 +58756,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
58713
58756
|
}]
|
|
58714
58757
|
}], ctorParameters: () => [], propDecorators: { labelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartAxisLabelTemplateDirective), { isSignal: true }] }], axisLine: [{ type: i0.Input, args: [{ isSignal: true, alias: "axisLine", required: false }] }], formatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatter", required: false }] }], gridLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridLines", required: false }] }], labelOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelOffset", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], rotation: [{ type: i0.Input, args: [{ isSignal: true, alias: "rotation", required: false }] }], tickCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickCount", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }] } });
|
|
58715
58758
|
|
|
58759
|
+
/** Configures the radial numeric dimension (distance from pole) in Polar Axis charts. */
|
|
58716
58760
|
class ChartRadialAxisComponent {
|
|
58717
58761
|
#chartContext;
|
|
58718
58762
|
#destroyRef;
|
|
@@ -58876,6 +58920,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
58876
58920
|
}] });
|
|
58877
58921
|
|
|
58878
58922
|
let nextSeriesId$9 = 0;
|
|
58923
|
+
/**
|
|
58924
|
+
* Renders a continuous Cartesian line series with configurable interpolation, optional null-gap joining, point markers,
|
|
58925
|
+
* data labels, and multi-axis binding.
|
|
58926
|
+
*/
|
|
58879
58927
|
class LineSeriesComponent {
|
|
58880
58928
|
#chartContext;
|
|
58881
58929
|
#destroyRef;
|
|
@@ -59111,6 +59159,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
59111
59159
|
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], connectNulls: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectNulls", required: false }] }], curve: [{ type: i0.Input, args: [{ isSignal: true, alias: "curve", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], downsampling: [{ type: i0.Input, args: [{ isSignal: true, alias: "downsampling", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], lineStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineStyle", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], pointRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointRadius", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], showPoints: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPoints", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
59112
59160
|
|
|
59113
59161
|
let nextSeriesId$8 = 0;
|
|
59162
|
+
/**
|
|
59163
|
+
* Renders a continuous Cartesian area series supporting gradient fades, solid fills, cumulative stacking, and 100%
|
|
59164
|
+
* normalized bands.
|
|
59165
|
+
*/
|
|
59114
59166
|
class AreaSeriesComponent {
|
|
59115
59167
|
#chartContext;
|
|
59116
59168
|
#destroyRef;
|
|
@@ -59378,6 +59430,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
59378
59430
|
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], connectNulls: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectNulls", required: false }] }], curve: [{ type: i0.Input, args: [{ isSignal: true, alias: "curve", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], downsampling: [{ type: i0.Input, args: [{ isSignal: true, alias: "downsampling", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], fillMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillMode", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], lineStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineStyle", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], pointRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointRadius", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], showPoints: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPoints", required: false }] }], stack: [{ type: i0.Input, args: [{ isSignal: true, alias: "stack", required: false }] }], stackMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "stackMode", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
59379
59431
|
|
|
59380
59432
|
let nextSeriesId$7 = 0;
|
|
59433
|
+
/**
|
|
59434
|
+
* Renders a Cartesian bar series supporting standalone bars, grouped slots, stacked segments, and 100% normalized
|
|
59435
|
+
* stacks.
|
|
59436
|
+
*/
|
|
59381
59437
|
class BarSeriesComponent {
|
|
59382
59438
|
#chartContext;
|
|
59383
59439
|
#destroyRef;
|
|
@@ -59704,6 +59760,7 @@ function createChartHiddenItems(hidden, onExternalChange) {
|
|
|
59704
59760
|
}
|
|
59705
59761
|
|
|
59706
59762
|
let nextPieSeriesId = 0;
|
|
59763
|
+
/** Renders a full or partial pie. */
|
|
59707
59764
|
class PieSeriesComponent {
|
|
59708
59765
|
#chartContext;
|
|
59709
59766
|
#destroyRef;
|
|
@@ -59829,7 +59886,7 @@ class PieSeriesComponent {
|
|
|
59829
59886
|
this.padAngle = input(0, /* @ts-ignore */
|
|
59830
59887
|
...(ngDevMode ? [{ debugName: "padAngle" }] : /* istanbul ignore next */ []));
|
|
59831
59888
|
/**
|
|
59832
|
-
* @description Whether to display inside
|
|
59889
|
+
* @description Whether to display slice labels, inside or outside as `labelPosition` sets.
|
|
59833
59890
|
* @default false
|
|
59834
59891
|
*/
|
|
59835
59892
|
this.showLabels = input(false, /* @ts-ignore */
|
|
@@ -59965,6 +60022,7 @@ class PieSeriesComponent {
|
|
|
59965
60022
|
const unregister = this.#chartContext.registerSeries(registration);
|
|
59966
60023
|
this.#destroyRef.onDestroy(unregister);
|
|
59967
60024
|
}
|
|
60025
|
+
/** Shows or hides the slice at `dataIndex`, and returns whether it's now visible. */
|
|
59968
60026
|
toggleSlice(dataIndex) {
|
|
59969
60027
|
const isNowVisible = this.#hidden.toggle(dataIndex);
|
|
59970
60028
|
const raw = resolveData(this.data(), this.#chartContext?.rootData() ?? []);
|
|
@@ -60018,6 +60076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
60018
60076
|
}] });
|
|
60019
60077
|
|
|
60020
60078
|
let nextDonutSeriesId = 0;
|
|
60079
|
+
/** Renders a full or partial donut. Use `ng-template[monaChartCenterTemplate]` for the center. */
|
|
60021
60080
|
class DonutSeriesComponent {
|
|
60022
60081
|
#chartContext;
|
|
60023
60082
|
#destroyRef;
|
|
@@ -60151,7 +60210,7 @@ class DonutSeriesComponent {
|
|
|
60151
60210
|
this.padAngle = input(0, /* @ts-ignore */
|
|
60152
60211
|
...(ngDevMode ? [{ debugName: "padAngle" }] : /* istanbul ignore next */ []));
|
|
60153
60212
|
/**
|
|
60154
|
-
* @description Whether to display inside
|
|
60213
|
+
* @description Whether to display slice labels, inside or outside as `labelPosition` sets.
|
|
60155
60214
|
* @default false
|
|
60156
60215
|
*/
|
|
60157
60216
|
this.showLabels = input(false, /* @ts-ignore */
|
|
@@ -60290,6 +60349,7 @@ class DonutSeriesComponent {
|
|
|
60290
60349
|
const unregister = this.#chartContext.registerSeries(registration);
|
|
60291
60350
|
this.#destroyRef.onDestroy(unregister);
|
|
60292
60351
|
}
|
|
60352
|
+
/** Shows or hides the slice at `dataIndex`, and returns whether it's now visible. */
|
|
60293
60353
|
toggleSlice(dataIndex) {
|
|
60294
60354
|
const isNowVisible = this.#hidden.toggle(dataIndex);
|
|
60295
60355
|
const raw = resolveData(this.data(), this.#chartContext?.rootData() ?? []);
|
|
@@ -60326,6 +60386,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
60326
60386
|
}], ctorParameters: () => [], propDecorators: { centerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartCenterTemplateDirective), { isSignal: true }] }], sliceLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartSliceLabelTemplateDirective), { isSignal: true }] }], categoryField: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryField", required: false }] }], categoryFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryFormatter", required: false }] }], colorField: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorField", required: false }] }], colors: [{ type: i0.Input, args: [{ isSignal: true, alias: "colors", required: false }] }], cornerRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "cornerRadius", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], endAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "endAngle", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], fillMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillMode", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], hiddenIndices: [{ type: i0.Input, args: [{ isSignal: true, alias: "hiddenIndices", required: false }] }, { type: i0.Output, args: ["hiddenIndicesChange"] }], innerRadiusRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "innerRadiusRatio", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], labelContent: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelContent", required: false }] }], labelPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPosition", required: false }] }], minLabelAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLabelAngle", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], outerRadiusRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "outerRadiusRatio", required: false }] }], padAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "padAngle", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }], sliceVisibilityChange: [{ type: i0.Output, args: ["sliceVisibilityChange"] }], startAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "startAngle", required: false }] }], strokeColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeColor", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }] } });
|
|
60327
60387
|
|
|
60328
60388
|
let nextRadarSeriesId = 0;
|
|
60389
|
+
/** Renders closed polygonal radar series comparing categorical metrics across angular spokes. */
|
|
60329
60390
|
class RadarSeriesComponent {
|
|
60330
60391
|
#chartContext;
|
|
60331
60392
|
#destroyRef;
|
|
@@ -60520,6 +60581,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
60520
60581
|
}], ctorParameters: () => [], propDecorators: { categoryField: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryField", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], connectNulls: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectNulls", required: false }] }], curve: [{ type: i0.Input, args: [{ isSignal: true, alias: "curve", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], fillMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillMode", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], pointRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointRadius", required: false }] }], showPoints: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPoints", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }] } });
|
|
60521
60582
|
|
|
60522
60583
|
let nextPolarSeriesId = 0;
|
|
60584
|
+
/** Renders continuous polar series mapping magnitude over continuous degree angles (0° to 360°). */
|
|
60523
60585
|
class PolarSeriesComponent {
|
|
60524
60586
|
#chartContext;
|
|
60525
60587
|
#destroyRef;
|
|
@@ -60738,6 +60800,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
60738
60800
|
}]
|
|
60739
60801
|
}] });
|
|
60740
60802
|
|
|
60803
|
+
/** Adds a legend. Items toggle what they represent unless `interactive` is off. */
|
|
60741
60804
|
class ChartLegendComponent {
|
|
60742
60805
|
#chartContext;
|
|
60743
60806
|
#destroyRef;
|
|
@@ -60884,6 +60947,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
60884
60947
|
}]
|
|
60885
60948
|
}] });
|
|
60886
60949
|
|
|
60950
|
+
/**
|
|
60951
|
+
* Adds a tooltip for pointer and keyboard interaction. Use `ng-template[monaChartTooltipTemplate]` for custom content.
|
|
60952
|
+
*/
|
|
60887
60953
|
class ChartTooltipComponent {
|
|
60888
60954
|
#chartContext;
|
|
60889
60955
|
#destroyRef;
|
|
@@ -61057,6 +61123,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
61057
61123
|
}], ctorParameters: () => [], propDecorators: { customTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartTooltipTemplateDirective), { isSignal: true }] }], tooltipContainer: [{ type: i0.ViewChild, args: ["tooltipContainer", { isSignal: true }] }], enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "enabled", required: false }] }], shared: [{ type: i0.Input, args: [{ isSignal: true, alias: "shared", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
61058
61124
|
|
|
61059
61125
|
let nextSeriesId$6 = 0;
|
|
61126
|
+
/** Renders individual point markers across continuous numeric (linear) or temporal (time/utc) Cartesian coordinates. */
|
|
61060
61127
|
class ScatterSeriesComponent {
|
|
61061
61128
|
#chartContext;
|
|
61062
61129
|
#destroyRef;
|
|
@@ -61276,6 +61343,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
61276
61343
|
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], downsampling: [{ type: i0.Input, args: [{ isSignal: true, alias: "downsampling", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], pointRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointRadius", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], strokeColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeColor", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
61277
61344
|
|
|
61278
61345
|
let nextSeriesId$5 = 0;
|
|
61346
|
+
/** Renders 3-dimensional data points with position (X, Y) and proportionally-scaled circle areas (Size). */
|
|
61279
61347
|
class BubbleSeriesComponent {
|
|
61280
61348
|
#chartContext;
|
|
61281
61349
|
#destroyRef;
|
|
@@ -61333,16 +61401,18 @@ class BubbleSeriesComponent {
|
|
|
61333
61401
|
this.keyField = input(undefined, /* @ts-ignore */
|
|
61334
61402
|
...(ngDevMode ? [{ debugName: "keyField" }] : /* istanbul ignore next */ []));
|
|
61335
61403
|
/**
|
|
61336
|
-
* @description Maximum rendered pixel radius for the largest data size value.
|
|
61337
|
-
*
|
|
61404
|
+
* @description Maximum rendered pixel radius for the largest data size value. When unset, the series reads
|
|
61405
|
+
* `--mona-chart-bubble-max-radius`, or uses `24`.
|
|
61406
|
+
* @default undefined
|
|
61338
61407
|
*/
|
|
61339
|
-
this.maxRadius = input(
|
|
61408
|
+
this.maxRadius = input(undefined, /* @ts-ignore */
|
|
61340
61409
|
...(ngDevMode ? [{ debugName: "maxRadius" }] : /* istanbul ignore next */ []));
|
|
61341
61410
|
/**
|
|
61342
|
-
* @description Minimum rendered pixel radius for the smallest data size value.
|
|
61343
|
-
*
|
|
61411
|
+
* @description Minimum rendered pixel radius for the smallest data size value. When unset, the series reads
|
|
61412
|
+
* `--mona-chart-bubble-min-radius`, or uses `4`.
|
|
61413
|
+
* @default undefined
|
|
61344
61414
|
*/
|
|
61345
|
-
this.minRadius = input(
|
|
61415
|
+
this.minRadius = input(undefined, /* @ts-ignore */
|
|
61346
61416
|
...(ngDevMode ? [{ debugName: "minRadius" }] : /* istanbul ignore next */ []));
|
|
61347
61417
|
/**
|
|
61348
61418
|
* @description Name of the series displayed in legends and tooltips.
|
|
@@ -61519,6 +61589,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
61519
61589
|
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], downsampling: [{ type: i0.Input, args: [{ isSignal: true, alias: "downsampling", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], maxRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRadius", required: false }] }], minRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "minRadius", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], sizeField: [{ type: i0.Input, args: [{ isSignal: true, alias: "sizeField", required: false }] }], sizeFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "sizeFormatter", required: false }] }], strokeColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeColor", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
61520
61590
|
|
|
61521
61591
|
let nextSeriesId$4 = 0;
|
|
61592
|
+
/**
|
|
61593
|
+
* Renders floating Cartesian range bars spanning between a lower value and an upper value (e.g. min/max temperatures,
|
|
61594
|
+
* price spans, or SLA tolerances).
|
|
61595
|
+
*/
|
|
61522
61596
|
class RangeBarSeriesComponent {
|
|
61523
61597
|
#chartContext;
|
|
61524
61598
|
#destroyRef;
|
|
@@ -61736,6 +61810,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
61736
61810
|
}], ctorParameters: () => [], propDecorators: { borderRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderRadius", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], fromField: [{ type: i0.Input, args: [{ isSignal: true, alias: "fromField", required: true }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], maxBarWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxBarWidth", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], toField: [{ type: i0.Input, args: [{ isSignal: true, alias: "toField", required: true }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
61737
61811
|
|
|
61738
61812
|
let nextSeriesId$3 = 0;
|
|
61813
|
+
/**
|
|
61814
|
+
* Renders continuous Cartesian vertical range bands/areas bounded between lower and upper values (e.g. confidence
|
|
61815
|
+
* intervals, forecast envelopes, or high/low bands).
|
|
61816
|
+
*/
|
|
61739
61817
|
class RangeAreaSeriesComponent {
|
|
61740
61818
|
#chartContext;
|
|
61741
61819
|
#destroyRef;
|
|
@@ -61977,6 +62055,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
61977
62055
|
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], connectNulls: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectNulls", required: false }] }], curve: [{ type: i0.Input, args: [{ isSignal: true, alias: "curve", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], downsampling: [{ type: i0.Input, args: [{ isSignal: true, alias: "downsampling", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], fromField: [{ type: i0.Input, args: [{ isSignal: true, alias: "fromField", required: true }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], pointRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointRadius", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], showPoints: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPoints", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], toField: [{ type: i0.Input, args: [{ isSignal: true, alias: "toField", required: true }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
61978
62056
|
|
|
61979
62057
|
let nextSeriesId$2 = 0;
|
|
62058
|
+
/** Renders a matrix of cells colored by value, with a color scale in the legend. */
|
|
61980
62059
|
class HeatmapSeriesComponent {
|
|
61981
62060
|
#chartContext;
|
|
61982
62061
|
#destroyRef;
|
|
@@ -62220,6 +62299,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
62220
62299
|
}], ctorParameters: () => [], propDecorators: { borderRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderRadius", required: false }] }], cellGap: [{ type: i0.Input, args: [{ isSignal: true, alias: "cellGap", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], colorMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorMode", required: false }] }], colors: [{ type: i0.Input, args: [{ isSignal: true, alias: "colors", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: true }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], midpoint: [{ type: i0.Input, args: [{ isSignal: true, alias: "midpoint", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], showValues: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValues", required: false }] }], strokeColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeColor", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], xCategories: [{ type: i0.Input, args: [{ isSignal: true, alias: "xCategories", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yCategories: [{ type: i0.Input, args: [{ isSignal: true, alias: "yCategories", required: false }] }], yField: [{ type: i0.Input, args: [{ isSignal: true, alias: "yField", required: true }] }] } });
|
|
62221
62300
|
|
|
62222
62301
|
let nextSeriesId$1 = 0;
|
|
62302
|
+
/**
|
|
62303
|
+
* Renders financial Japanese candlestick series with central high/low wicks, rectangular open/close bodies,
|
|
62304
|
+
* rising/falling/neutral color coding, and solid or hollow rising bodies.
|
|
62305
|
+
*/
|
|
62223
62306
|
class CandlestickSeriesComponent {
|
|
62224
62307
|
#chartContext;
|
|
62225
62308
|
#destroyRef;
|
|
@@ -62277,7 +62360,7 @@ class CandlestickSeriesComponent {
|
|
|
62277
62360
|
...(ngDevMode ? [{ debugName: "fallingColor" }] : /* istanbul ignore next */ []));
|
|
62278
62361
|
/**
|
|
62279
62362
|
* @description Visual fill mode for candle bodies: 'filled' (solid fill) or 'hollow' (rising hollow, falling filled).
|
|
62280
|
-
* @default "
|
|
62363
|
+
* @default "hollow"
|
|
62281
62364
|
*/
|
|
62282
62365
|
this.fillMode = input("hollow", /* @ts-ignore */
|
|
62283
62366
|
...(ngDevMode ? [{ debugName: "fillMode" }] : /* istanbul ignore next */ []));
|
|
@@ -62369,10 +62452,11 @@ class CandlestickSeriesComponent {
|
|
|
62369
62452
|
this.wickColor = input("", /* @ts-ignore */
|
|
62370
62453
|
...(ngDevMode ? [{ debugName: "wickColor" }] : /* istanbul ignore next */ []));
|
|
62371
62454
|
/**
|
|
62372
|
-
* @description Pixel stroke width for candle wicks.
|
|
62373
|
-
*
|
|
62455
|
+
* @description Pixel stroke width for candle wicks. When unset, the series reads
|
|
62456
|
+
* `--mona-chart-financial-wick-width`, or uses `1`.
|
|
62457
|
+
* @default undefined
|
|
62374
62458
|
*/
|
|
62375
|
-
this.wickWidth = input(
|
|
62459
|
+
this.wickWidth = input(undefined, /* @ts-ignore */
|
|
62376
62460
|
...(ngDevMode ? [{ debugName: "wickWidth" }] : /* istanbul ignore next */ []));
|
|
62377
62461
|
/**
|
|
62378
62462
|
* @description Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used.
|
|
@@ -62502,6 +62586,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
62502
62586
|
}], ctorParameters: () => [], propDecorators: { bodyWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "bodyWidth", required: false }] }], bodyWidthRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "bodyWidthRatio", required: false }] }], closeField: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeField", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], fallingColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "fallingColor", required: false }] }], fillMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillMode", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], highField: [{ type: i0.Input, args: [{ isSignal: true, alias: "highField", required: true }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], lowField: [{ type: i0.Input, args: [{ isSignal: true, alias: "lowField", required: true }] }], maxBodyWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxBodyWidth", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], neutralColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "neutralColor", required: false }] }], opacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "opacity", required: false }] }], openField: [{ type: i0.Input, args: [{ isSignal: true, alias: "openField", required: true }] }], risingColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "risingColor", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], wickColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "wickColor", required: false }] }], wickWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "wickWidth", required: false }] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
62503
62587
|
|
|
62504
62588
|
let nextSeriesId = 0;
|
|
62589
|
+
/**
|
|
62590
|
+
* Renders traditional financial OHLC (Open-High-Low-Close) bar series with vertical high/low price spans, left-facing
|
|
62591
|
+
* open ticks, right-facing close ticks, and directional color coding.
|
|
62592
|
+
*/
|
|
62505
62593
|
class OhlcSeriesComponent {
|
|
62506
62594
|
#chartContext;
|
|
62507
62595
|
#destroyRef;
|
|
@@ -62659,10 +62747,11 @@ class OhlcSeriesComponent {
|
|
|
62659
62747
|
this.wickColor = input("", /* @ts-ignore */
|
|
62660
62748
|
...(ngDevMode ? [{ debugName: "wickColor" }] : /* istanbul ignore next */ []));
|
|
62661
62749
|
/**
|
|
62662
|
-
* @description Pixel stroke width for OHLC stems and tick arms.
|
|
62663
|
-
*
|
|
62750
|
+
* @description Pixel stroke width for OHLC stems and tick arms. When unset, the series reads
|
|
62751
|
+
* `--mona-chart-financial-wick-width`, or uses `1`.
|
|
62752
|
+
* @default undefined
|
|
62664
62753
|
*/
|
|
62665
|
-
this.wickWidth = input(
|
|
62754
|
+
this.wickWidth = input(undefined, /* @ts-ignore */
|
|
62666
62755
|
...(ngDevMode ? [{ debugName: "wickWidth" }] : /* istanbul ignore next */ []));
|
|
62667
62756
|
/**
|
|
62668
62757
|
* @description Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used.
|
|
@@ -62793,6 +62882,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
62793
62882
|
}], ctorParameters: () => [], propDecorators: { bodyWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "bodyWidth", required: false }] }], bodyWidthRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "bodyWidthRatio", required: false }] }], closeField: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeField", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataLabelTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartDataLabelTemplateDirective), { isSignal: true }] }], dataLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataLabels", required: false }] }], fallingColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "fallingColor", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], highField: [{ type: i0.Input, args: [{ isSignal: true, alias: "highField", required: true }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], lowField: [{ type: i0.Input, args: [{ isSignal: true, alias: "lowField", required: true }] }], maxBodyWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxBodyWidth", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], neutralColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "neutralColor", required: false }] }], opacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "opacity", required: false }] }], openField: [{ type: i0.Input, args: [{ isSignal: true, alias: "openField", required: true }] }], risingColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "risingColor", required: false }] }], seriesKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "seriesKey", required: false }] }], tickLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickLength", required: false }] }], tickWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "tickWidth", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], wickColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "wickColor", required: false }] }], wickWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "wickWidth", required: false }] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], xField: [{ type: i0.Input, args: [{ isSignal: true, alias: "xField", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
62794
62883
|
|
|
62795
62884
|
let nextRadialBarSeriesId = 0;
|
|
62885
|
+
/**
|
|
62886
|
+
* Renders concentric circular progress rings with customizable bar gap, thickness, rounded corners, and background
|
|
62887
|
+
* tracks.
|
|
62888
|
+
*/
|
|
62796
62889
|
class RadialBarSeriesComponent {
|
|
62797
62890
|
#chartContext;
|
|
62798
62891
|
#destroyRef;
|
|
@@ -62887,6 +62980,7 @@ class RadialBarSeriesComponent {
|
|
|
62887
62980
|
...(ngDevMode ? [{ debugName: "fillOpacity" }] : /* istanbul ignore next */ []));
|
|
62888
62981
|
/**
|
|
62889
62982
|
* @description The hidden item IDs. Bind `[(hiddenItemIds)]` for two-way binding; legend toggles write to it.
|
|
62983
|
+
* Build an ID with `chartItemKeyId(key)` when `keyField` is set, or else with `chartItemCategoryId(category)`.
|
|
62890
62984
|
* @default []
|
|
62891
62985
|
*/
|
|
62892
62986
|
this.hiddenItemIds = model([], /* @ts-ignore */
|
|
@@ -63086,6 +63180,7 @@ class RadialBarSeriesComponent {
|
|
|
63086
63180
|
const unregister = this.#chartContext.registerSeries(registration);
|
|
63087
63181
|
this.#destroyRef.onDestroy(unregister);
|
|
63088
63182
|
}
|
|
63183
|
+
/** Shows or hides the bar with this id, and returns whether it's now visible. */
|
|
63089
63184
|
toggleDatum(itemId) {
|
|
63090
63185
|
const isNowVisible = this.#hidden.toggle(itemId);
|
|
63091
63186
|
const match = this.#identityMap.get(itemId);
|
|
@@ -63122,6 +63217,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
63122
63217
|
}], ctorParameters: () => [], propDecorators: { barGap: [{ type: i0.Input, args: [{ isSignal: true, alias: "barGap", required: false }] }], barThickness: [{ type: i0.Input, args: [{ isSignal: true, alias: "barThickness", required: false }] }], categoryField: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryField", required: false }] }], categoryFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "categoryFormatter", required: false }] }], colorField: [{ type: i0.Input, args: [{ isSignal: true, alias: "colorField", required: false }] }], colors: [{ type: i0.Input, args: [{ isSignal: true, alias: "colors", required: false }] }], cornerRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "cornerRadius", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], datumVisibilityChange: [{ type: i0.Output, args: ["datumVisibilityChange"] }], endAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "endAngle", required: false }] }], field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], fillMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillMode", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], hiddenItemIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "hiddenItemIds", required: false }] }, { type: i0.Output, args: ["hiddenItemIdsChange"] }], innerRadiusRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "innerRadiusRatio", required: false }] }], keyField: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyField", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], outerRadiusRatio: [{ type: i0.Input, args: [{ isSignal: true, alias: "outerRadiusRatio", required: false }] }], showTrack: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTrack", required: false }] }], startAngle: [{ type: i0.Input, args: [{ isSignal: true, alias: "startAngle", required: false }] }], strokeColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeColor", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], trackColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackColor", required: false }] }], trackOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackOpacity", required: false }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }] } });
|
|
63123
63218
|
|
|
63124
63219
|
let nextRoseSeriesId = 0;
|
|
63220
|
+
/**
|
|
63221
|
+
* Renders Nightingale rose (coxcomb) charts with angular category petals whose radial extent scales by area or radius.
|
|
63222
|
+
*/
|
|
63125
63223
|
class RoseSeriesComponent {
|
|
63126
63224
|
#chartContext;
|
|
63127
63225
|
#destroyRef;
|
|
@@ -63204,6 +63302,7 @@ class RoseSeriesComponent {
|
|
|
63204
63302
|
...(ngDevMode ? [{ debugName: "fillOpacity" }] : /* istanbul ignore next */ []));
|
|
63205
63303
|
/**
|
|
63206
63304
|
* @description The hidden item IDs. Bind `[(hiddenItemIds)]` for two-way binding; legend toggles write to it.
|
|
63305
|
+
* Build an ID with `chartItemKeyId(key)` when `keyField` is set, or else with `chartItemCategoryId(category)`.
|
|
63207
63306
|
* @default []
|
|
63208
63307
|
*/
|
|
63209
63308
|
this.hiddenItemIds = model([], /* @ts-ignore */
|
|
@@ -63375,6 +63474,7 @@ class RoseSeriesComponent {
|
|
|
63375
63474
|
const unregister = this.#chartContext.registerSeries(registration);
|
|
63376
63475
|
this.#destroyRef.onDestroy(unregister);
|
|
63377
63476
|
}
|
|
63477
|
+
/** Shows or hides the petal with this id, and returns whether it's now visible. */
|
|
63378
63478
|
toggleDatum(itemId) {
|
|
63379
63479
|
const isNowVisible = this.#hidden.toggle(itemId);
|
|
63380
63480
|
const match = this.#identityMap.get(itemId);
|
|
@@ -63428,6 +63528,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
63428
63528
|
}] });
|
|
63429
63529
|
|
|
63430
63530
|
let nextGaugeSeriesId = 0;
|
|
63531
|
+
/**
|
|
63532
|
+
* Renders circular or semi-circular gauge meters with value progress arcs, tapered needles, central hubs, and centered
|
|
63533
|
+
* value projection.
|
|
63534
|
+
*/
|
|
63431
63535
|
class GaugeSeriesComponent {
|
|
63432
63536
|
#chartContext;
|
|
63433
63537
|
#destroyRef;
|
|
@@ -63718,6 +63822,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
63718
63822
|
}] });
|
|
63719
63823
|
|
|
63720
63824
|
let nextTreemapSeriesId = 0;
|
|
63825
|
+
/** Renders hierarchical treemap visualizations using nested squarified, binary, dice, or slice-dice rectangles. */
|
|
63721
63826
|
class TreemapSeriesComponent {
|
|
63722
63827
|
#chartContext;
|
|
63723
63828
|
#destroyRef;
|
|
@@ -63790,6 +63895,7 @@ class TreemapSeriesComponent {
|
|
|
63790
63895
|
...(ngDevMode ? [{ debugName: "fillOpacity" }] : /* istanbul ignore next */ []));
|
|
63791
63896
|
/**
|
|
63792
63897
|
* @description The hidden top-level node IDs. Bind `[(hiddenNodeIds)]` for two-way binding; legend toggles write to it.
|
|
63898
|
+
* With `keyField`, build an ID with `chartItemKeyId(key)`; otherwise read IDs from `nodeVisibilityChange`.
|
|
63793
63899
|
* @default []
|
|
63794
63900
|
*/
|
|
63795
63901
|
this.hiddenNodeIds = model([], /* @ts-ignore */
|
|
@@ -64050,6 +64156,7 @@ class TreemapSeriesComponent {
|
|
|
64050
64156
|
const unregister = this.#chartContext.registerSeries(registration);
|
|
64051
64157
|
this.#destroyRef.onDestroy(unregister);
|
|
64052
64158
|
}
|
|
64159
|
+
/** Shows or hides the node with this id, and returns whether it's now visible. */
|
|
64053
64160
|
toggleNode(nodeId) {
|
|
64054
64161
|
const isNowVisible = this.#hidden.toggle(nodeId);
|
|
64055
64162
|
const match = this.#identityMap.get(nodeId);
|
|
@@ -64102,6 +64209,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
64102
64209
|
}] });
|
|
64103
64210
|
|
|
64104
64211
|
let nextFunnelSeriesId = 0;
|
|
64212
|
+
/**
|
|
64213
|
+
* Renders conversion pipeline and sales funnel visualizations using connected trapezoidal stages. Supports vertical and
|
|
64214
|
+
* horizontal layouts, custom stage colors, inscribed DOM labels, widening stages (>100% conversion), and dynamic stage
|
|
64215
|
+
* visibility toggling.
|
|
64216
|
+
*/
|
|
64105
64217
|
class FunnelSeriesComponent {
|
|
64106
64218
|
#chartContext;
|
|
64107
64219
|
#destroyRef;
|
|
@@ -64174,6 +64286,7 @@ class FunnelSeriesComponent {
|
|
|
64174
64286
|
...(ngDevMode ? [{ debugName: "gap" }] : /* istanbul ignore next */ []));
|
|
64175
64287
|
/**
|
|
64176
64288
|
* @description The hidden stage IDs. Bind `[(hiddenStageIds)]` for two-way binding; legend toggles write to it.
|
|
64289
|
+
* Build an ID with `chartItemKeyId(key)` when `keyField` is set, or with `chartItemIndexId(index)`.
|
|
64177
64290
|
* @default []
|
|
64178
64291
|
*/
|
|
64179
64292
|
this.hiddenStageIds = model([], /* @ts-ignore */
|
|
@@ -64352,6 +64465,7 @@ class FunnelSeriesComponent {
|
|
|
64352
64465
|
}
|
|
64353
64466
|
});
|
|
64354
64467
|
}
|
|
64468
|
+
/** Whether the stage with this id is visible. */
|
|
64355
64469
|
isDatumVisible(stageId) {
|
|
64356
64470
|
return !this.#hidden.has(stageId);
|
|
64357
64471
|
}
|
|
@@ -64398,10 +64512,12 @@ class FunnelSeriesComponent {
|
|
|
64398
64512
|
unregister();
|
|
64399
64513
|
});
|
|
64400
64514
|
}
|
|
64515
|
+
/** Shows every stage again. */
|
|
64401
64516
|
resetVisibility() {
|
|
64402
64517
|
this.#hidden.reset();
|
|
64403
64518
|
this.#chartContext?.invalidate(32 /* ChartInvalidationReason.Visibility */);
|
|
64404
64519
|
}
|
|
64520
|
+
/** Shows or hides the stage with this id. */
|
|
64405
64521
|
setDatumVisibility(stageId, visible) {
|
|
64406
64522
|
const currentlyVisible = this.isDatumVisible(stageId);
|
|
64407
64523
|
if (currentlyVisible === visible) {
|
|
@@ -64422,6 +64538,7 @@ class FunnelSeriesComponent {
|
|
|
64422
64538
|
});
|
|
64423
64539
|
this.#chartContext?.invalidate(32 /* ChartInvalidationReason.Visibility */);
|
|
64424
64540
|
}
|
|
64541
|
+
/** Shows or hides the stage with this id, and returns whether it's now visible. */
|
|
64425
64542
|
toggleDatumVisibility(stageId) {
|
|
64426
64543
|
const next = !this.isDatumVisible(stageId);
|
|
64427
64544
|
this.setDatumVisibility(stageId, next);
|
|
@@ -64461,6 +64578,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
64461
64578
|
}] });
|
|
64462
64579
|
|
|
64463
64580
|
let nextWaterfallSeriesId = 0;
|
|
64581
|
+
/**
|
|
64582
|
+
* Renders financial cash-flow and contribution movements with positive delta increases, negative delta decreases,
|
|
64583
|
+
* zero-change neutral bars, intermediate subtotals, and cumulative grand totals.
|
|
64584
|
+
*/
|
|
64464
64585
|
class WaterfallSeriesComponent {
|
|
64465
64586
|
#chartContext;
|
|
64466
64587
|
#destroyRef;
|
|
@@ -64757,6 +64878,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
64757
64878
|
}]
|
|
64758
64879
|
}] });
|
|
64759
64880
|
|
|
64881
|
+
/**
|
|
64882
|
+
* Renders dynamic crosshair guide lines and axis label badges for pointer and keyboard navigation in Cartesian XY
|
|
64883
|
+
* charts.
|
|
64884
|
+
*/
|
|
64760
64885
|
class ChartCrosshairComponent {
|
|
64761
64886
|
#context;
|
|
64762
64887
|
#destroyRef;
|
|
@@ -64923,6 +65048,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
64923
65048
|
}]
|
|
64924
65049
|
}] });
|
|
64925
65050
|
|
|
65051
|
+
/** Renders static horizontal or vertical benchmark lines in Cartesian XY charts. */
|
|
64926
65052
|
class ChartReferenceLineComponent {
|
|
64927
65053
|
#context;
|
|
64928
65054
|
#destroyRef;
|
|
@@ -65068,6 +65194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
65068
65194
|
}]
|
|
65069
65195
|
}], ctorParameters: () => [], propDecorators: { axis: [{ type: i0.Input, args: [{ isSignal: true, alias: "axis", required: true }] }], axisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "axisId", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelClass", required: false }] }], labelOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelOffset", required: false }] }], labelPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPosition", required: false }] }], layer: [{ type: i0.Input, args: [{ isSignal: true, alias: "layer", required: false }] }], lineStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineStyle", required: false }] }], opacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "opacity", required: false }] }], template: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartReferenceLabelTemplateDirective), { isSignal: true }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }] } });
|
|
65070
65196
|
|
|
65197
|
+
/** Renders highlighted threshold intervals and target regions in Cartesian XY charts. */
|
|
65071
65198
|
class ChartReferenceBandComponent {
|
|
65072
65199
|
#context;
|
|
65073
65200
|
#destroyRef;
|
|
@@ -65237,6 +65364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
65237
65364
|
}]
|
|
65238
65365
|
}] });
|
|
65239
65366
|
|
|
65367
|
+
/** Renders callouts, milestone badges, and outlier markers anchored to specific (X, Y) coordinates. */
|
|
65240
65368
|
class ChartAnnotationComponent {
|
|
65241
65369
|
#context;
|
|
65242
65370
|
#destroyRef;
|
|
@@ -65410,6 +65538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
65410
65538
|
}]
|
|
65411
65539
|
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], connector: [{ type: i0.Input, args: [{ isSignal: true, alias: "connector", required: false }] }], connectorWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectorWidth", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelClass", required: false }] }], labelPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelPlacement", required: false }] }], marker: [{ type: i0.Input, args: [{ isSignal: true, alias: "marker", required: false }] }], markerRadius: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerRadius", required: false }] }], markerStrokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerStrokeWidth", required: false }] }], offsetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "offsetX", required: false }] }], offsetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "offsetY", required: false }] }], template: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ChartAnnotationLabelTemplateDirective), { isSignal: true }] }], userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], x: [{ type: i0.Input, args: [{ isSignal: true, alias: "x", required: true }] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], y: [{ type: i0.Input, args: [{ isSignal: true, alias: "y", required: true }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
65412
65540
|
|
|
65541
|
+
/** Lets users select marks with the pointer and keyboard, and holds the selected mark IDs. */
|
|
65413
65542
|
class ChartSelectionComponent {
|
|
65414
65543
|
#chartContext;
|
|
65415
65544
|
#destroyRef;
|
|
@@ -65561,6 +65690,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
65561
65690
|
}]
|
|
65562
65691
|
}], ctorParameters: () => [], propDecorators: { clearOnBackgroundClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearOnBackgroundClick", required: false }] }], clickSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "clickSelection", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], defaultSelectedMarkIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultSelectedMarkIds", required: false }] }], enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "enabled", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], keyboardSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardSelection", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], retainOnDataChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "retainOnDataChange", required: false }] }], selectedMarkIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedMarkIds", required: false }] }], selectedMarkIdsChange: [{ type: i0.Output, args: ["selectedMarkIdsChange"] }], selectionChange: [{ type: i0.Output, args: ["selectionChange"] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }] } });
|
|
65563
65692
|
|
|
65693
|
+
/**
|
|
65694
|
+
* Selects a region of a Cartesian plot by dragging, or from the keyboard with `Shift` + arrows from a focused point.
|
|
65695
|
+
*/
|
|
65564
65696
|
class ChartBrushComponent {
|
|
65565
65697
|
#chartContext;
|
|
65566
65698
|
#destroyRef;
|
|
@@ -65721,9 +65853,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
65721
65853
|
}]
|
|
65722
65854
|
}], ctorParameters: () => [], propDecorators: { activation: [{ type: i0.Input, args: [{ isSignal: true, alias: "activation", required: false }] }], borderColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderColor", required: false }] }], borderWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderWidth", required: false }] }], brushChange: [{ type: i0.Output, args: ["brushChange"] }], enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "enabled", required: false }] }], fillColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillColor", required: false }] }], fillOpacity: [{ type: i0.Input, args: [{ isSignal: true, alias: "fillOpacity", required: false }] }], hitPolicy: [{ type: i0.Input, args: [{ isSignal: true, alias: "hitPolicy", required: false }] }], lineStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineStyle", required: false }] }], minDragDistance: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDragDistance", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], selectionBehavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionBehavior", required: false }] }], xAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "xAxisId", required: false }] }], yAxisId: [{ type: i0.Input, args: [{ isSignal: true, alias: "yAxisId", required: false }] }] } });
|
|
65723
65855
|
|
|
65856
|
+
function chartItemCategoryId(category) {
|
|
65857
|
+
return formatItemId("c", category) ?? undefined;
|
|
65858
|
+
}
|
|
65859
|
+
/**
|
|
65860
|
+
* The ID of the item in row `index`, as a funnel stage, waterfall step, or radial bar or rose item gets it when it has
|
|
65861
|
+
* no `keyField` value (and, for a radial series, no category). It follows the position, not the row.
|
|
65862
|
+
*/
|
|
65863
|
+
function chartItemIndexId(index) {
|
|
65864
|
+
return `i:${index}`;
|
|
65865
|
+
}
|
|
65866
|
+
function chartItemKeyId(key) {
|
|
65867
|
+
return formatItemId("k", key) ?? undefined;
|
|
65868
|
+
}
|
|
65869
|
+
|
|
65724
65870
|
/**
|
|
65725
65871
|
* Generated bundle index. Do not edit.
|
|
65726
65872
|
*/
|
|
65727
65873
|
|
|
65728
|
-
export { AreaSeriesComponent, BarSeriesComponent, BubbleSeriesComponent, CHART_DEFAULT_MESSAGES, CandlestickSeriesComponent, ChartAngularAxisComponent, ChartAnnotationComponent, ChartAnnotationLabelTemplateDirective, ChartAxisLabelTemplateDirective, ChartBrushComponent, ChartCenterTemplateDirective, ChartComponent, ChartCrosshairComponent, ChartCrosshairLabelTemplateDirective, ChartDataLabelTemplateDirective, ChartExportError, ChartFunnelLabelTemplateDirective, ChartGaugeCenterTemplateDirective, ChartLegendComponent, ChartLegendItemTemplateDirective, ChartNoDataTemplateDirective, ChartRadialAxisComponent, ChartReferenceBandComponent, ChartReferenceLabelTemplateDirective, ChartReferenceLineComponent, ChartSelectionComponent, ChartSliceLabelTemplateDirective, ChartSubtitleTemplateDirective, ChartTitleTemplateDirective, ChartTooltipComponent, ChartTooltipTemplateDirective, ChartTreemapLabelTemplateDirective, ChartWaterfallLabelTemplateDirective, ChartXAxisComponent, ChartYAxisComponent, DonutSeriesComponent, FunnelSeriesComponent, GaugeSeriesComponent, HeatmapSeriesComponent, LineSeriesComponent, OhlcSeriesComponent, PieSeriesComponent, PolarSeriesComponent, RadarSeriesComponent, RadialBarSeriesComponent, RangeAreaSeriesComponent, RangeBarSeriesComponent, RoseSeriesComponent, ScatterSeriesComponent, TreemapSeriesComponent, WaterfallSeriesComponent, getChartSeriesFamily, isCartesianCoordinateFamily, isHierarchicalCoordinateFamily, isPolarCoordinateFamily };
|
|
65874
|
+
export { AreaSeriesComponent, BarSeriesComponent, BubbleSeriesComponent, CHART_DEFAULT_MESSAGES, CandlestickSeriesComponent, ChartAngularAxisComponent, ChartAnnotationComponent, ChartAnnotationLabelTemplateDirective, ChartAxisLabelTemplateDirective, ChartBrushComponent, ChartCenterTemplateDirective, ChartComponent, ChartCrosshairComponent, ChartCrosshairLabelTemplateDirective, ChartDataLabelTemplateDirective, ChartExportError, ChartFunnelLabelTemplateDirective, ChartGaugeCenterTemplateDirective, ChartLegendComponent, ChartLegendItemTemplateDirective, ChartNoDataTemplateDirective, ChartRadialAxisComponent, ChartReferenceBandComponent, ChartReferenceLabelTemplateDirective, ChartReferenceLineComponent, ChartSelectionComponent, ChartSliceLabelTemplateDirective, ChartSubtitleTemplateDirective, ChartTitleTemplateDirective, ChartTooltipComponent, ChartTooltipTemplateDirective, ChartTreemapLabelTemplateDirective, ChartWaterfallLabelTemplateDirective, ChartXAxisComponent, ChartYAxisComponent, DonutSeriesComponent, FunnelSeriesComponent, GaugeSeriesComponent, HeatmapSeriesComponent, LineSeriesComponent, OhlcSeriesComponent, PieSeriesComponent, PolarSeriesComponent, RadarSeriesComponent, RadialBarSeriesComponent, RangeAreaSeriesComponent, RangeBarSeriesComponent, RoseSeriesComponent, ScatterSeriesComponent, TreemapSeriesComponent, WaterfallSeriesComponent, chartItemCategoryId, chartItemIndexId, chartItemKeyId, getChartSeriesFamily, isCartesianCoordinateFamily, isHierarchicalCoordinateFamily, isPolarCoordinateFamily };
|
|
65729
65875
|
//# sourceMappingURL=nanahoshi-mona-ui-chart.mjs.map
|