@eagami/ui 5.98.0 → 5.100.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -433,12 +433,24 @@ const ar = {
433
433
  lineChart: "مخطط خطي",
434
434
  barChart: "مخطط شريطي",
435
435
  pieChart: "مخطط دائري",
436
+ candlestickChart: "مخطط الشموع",
437
+ waterfallChart: "مخطط شلالي",
436
438
  category: "الفئة",
437
439
  value: "القيمة",
438
440
  share: "النسبة",
439
441
  noData: "لا توجد بيانات",
442
+ period: "الفترة",
443
+ open: "الافتتاح",
444
+ high: "الأعلى",
445
+ low: "الأدنى",
446
+ close: "الإغلاق",
447
+ change: "التغيّر",
448
+ runningTotal: "الإجمالي التراكمي",
440
449
  point: (series, label, value) => `${series}، ${label}: ${value}`,
441
450
  slice: (label, value, percent) => `${label}: ${value}، ${percent}`,
451
+ candle: (label, open, high, low, close) => `${label}: الافتتاح ${open}، الأعلى ${high}، الأدنى ${low}، الإغلاق ${close}`,
452
+ step: (label, change, runningTotal) => `${label}: التغيّر ${change}، الإجمالي التراكمي ${runningTotal}`,
453
+ stepTotal: (label, total) => `${label}: الإجمالي ${total}`,
442
454
  total: "الإجمالي",
443
455
  trend: "الاتجاه",
444
456
  trendSummary: (first, last, low, high) => `من ${first} إلى ${last}، الأدنى ${low}، الأعلى ${high}`,
@@ -672,12 +684,24 @@ const de = {
672
684
  lineChart: "Liniendiagramm",
673
685
  barChart: "Balkendiagramm",
674
686
  pieChart: "Kreisdiagramm",
687
+ candlestickChart: "Kerzendiagramm",
688
+ waterfallChart: "Wasserfalldiagramm",
675
689
  category: "Kategorie",
676
690
  value: "Wert",
677
691
  share: "Anteil",
678
692
  noData: "Keine Daten",
693
+ period: "Zeitraum",
694
+ open: "Eröffnung",
695
+ high: "Hoch",
696
+ low: "Tief",
697
+ close: "Schluss",
698
+ change: "Veränderung",
699
+ runningTotal: "Laufende Summe",
679
700
  point: (series, label, value) => `${series}, ${label}: ${value}`,
680
701
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
702
+ candle: (label, open, high, low, close) => `${label}: Eröffnung ${open}, Hoch ${high}, Tief ${low}, Schluss ${close}`,
703
+ step: (label, change, runningTotal) => `${label}: Veränderung ${change}, laufende Summe ${runningTotal}`,
704
+ stepTotal: (label, total) => `${label}: Gesamt ${total}`,
681
705
  total: "Gesamt",
682
706
  trend: "Verlauf",
683
707
  trendSummary: (first, last, low, high) => `Von ${first} auf ${last}, Tiefstwert ${low}, Höchstwert ${high}`,
@@ -911,12 +935,24 @@ const el = {
911
935
  lineChart: "Γράφημα γραμμών",
912
936
  barChart: "Ραβδόγραμμα",
913
937
  pieChart: "Κυκλικό διάγραμμα",
938
+ candlestickChart: "Διάγραμμα κεριών",
939
+ waterfallChart: "Διάγραμμα καταρράκτη",
914
940
  category: "Κατηγορία",
915
941
  value: "Τιμή",
916
942
  share: "Μερίδιο",
917
943
  noData: "Δεν υπάρχουν δεδομένα",
944
+ period: "Περίοδος",
945
+ open: "Άνοιγμα",
946
+ high: "Υψηλό",
947
+ low: "Χαμηλό",
948
+ close: "Κλείσιμο",
949
+ change: "Μεταβολή",
950
+ runningTotal: "Τρέχον σύνολο",
918
951
  point: (series, label, value) => `${series}, ${label}: ${value}`,
919
952
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
953
+ candle: (label, open, high, low, close) => `${label}: άνοιγμα ${open}, υψηλό ${high}, χαμηλό ${low}, κλείσιμο ${close}`,
954
+ step: (label, change, runningTotal) => `${label}: μεταβολή ${change}, τρέχον σύνολο ${runningTotal}`,
955
+ stepTotal: (label, total) => `${label}: σύνολο ${total}`,
920
956
  total: "Σύνολο",
921
957
  trend: "Τάση",
922
958
  trendSummary: (first, last, low, high) => `Από ${first} σε ${last}, ελάχιστο ${low}, μέγιστο ${high}`,
@@ -1150,12 +1186,24 @@ const en = {
1150
1186
  lineChart: "Line chart",
1151
1187
  barChart: "Bar chart",
1152
1188
  pieChart: "Pie chart",
1189
+ candlestickChart: "Candlestick chart",
1190
+ waterfallChart: "Waterfall chart",
1153
1191
  category: "Category",
1154
1192
  value: "Value",
1155
1193
  share: "Share",
1156
1194
  noData: "No data",
1195
+ period: "Period",
1196
+ open: "Open",
1197
+ high: "High",
1198
+ low: "Low",
1199
+ close: "Close",
1200
+ change: "Change",
1201
+ runningTotal: "Running total",
1157
1202
  point: (series, label, value) => `${series}, ${label}: ${value}`,
1158
1203
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
1204
+ candle: (label, open, high, low, close) => `${label}: open ${open}, high ${high}, low ${low}, close ${close}`,
1205
+ step: (label, change, runningTotal) => `${label}: change ${change}, running total ${runningTotal}`,
1206
+ stepTotal: (label, total) => `${label}: total ${total}`,
1159
1207
  total: "Total",
1160
1208
  trend: "Trend",
1161
1209
  trendSummary: (first, last, low, high) => `From ${first} to ${last}, low ${low}, high ${high}`,
@@ -1389,12 +1437,24 @@ const esES = {
1389
1437
  lineChart: "Gráfico de líneas",
1390
1438
  barChart: "Gráfico de barras",
1391
1439
  pieChart: "Gráfico circular",
1440
+ candlestickChart: "Gráfico de velas",
1441
+ waterfallChart: "Gráfico de cascada",
1392
1442
  category: "Categoría",
1393
1443
  value: "Valor",
1394
1444
  share: "Proporción",
1395
1445
  noData: "Sin datos",
1446
+ period: "Periodo",
1447
+ open: "Apertura",
1448
+ high: "Máximo",
1449
+ low: "Mínimo",
1450
+ close: "Cierre",
1451
+ change: "Variación",
1452
+ runningTotal: "Total acumulado",
1396
1453
  point: (series, label, value) => `${series}, ${label}: ${value}`,
1397
1454
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
1455
+ candle: (label, open, high, low, close) => `${label}: apertura ${open}, máximo ${high}, mínimo ${low}, cierre ${close}`,
1456
+ step: (label, change, runningTotal) => `${label}: variación ${change}, total acumulado ${runningTotal}`,
1457
+ stepTotal: (label, total) => `${label}: total ${total}`,
1398
1458
  total: "Total",
1399
1459
  trend: "Tendencia",
1400
1460
  trendSummary: (first, last, low, high) => `De ${first} a ${last}, mínimo ${low}, máximo ${high}`,
@@ -1628,12 +1688,24 @@ const frFR = {
1628
1688
  lineChart: "Graphique linéaire",
1629
1689
  barChart: "Graphique à barres",
1630
1690
  pieChart: "Graphique circulaire",
1691
+ candlestickChart: "Graphique en chandeliers",
1692
+ waterfallChart: "Graphique en cascade",
1631
1693
  category: "Catégorie",
1632
1694
  value: "Valeur",
1633
1695
  share: "Part",
1634
1696
  noData: "Aucune donnée",
1697
+ period: "Période",
1698
+ open: "Ouverture",
1699
+ high: "Plus haut",
1700
+ low: "Plus bas",
1701
+ close: "Clôture",
1702
+ change: "Variation",
1703
+ runningTotal: "Total cumulé",
1635
1704
  point: (series, label, value) => `${series}, ${label} : ${value}`,
1636
1705
  slice: (label, value, percent) => `${label} : ${value}, ${percent}`,
1706
+ candle: (label, open, high, low, close) => `${label} : ouverture ${open}, plus haut ${high}, plus bas ${low}, clôture ${close}`,
1707
+ step: (label, change, runningTotal) => `${label} : variation ${change}, total cumulé ${runningTotal}`,
1708
+ stepTotal: (label, total) => `${label} : total ${total}`,
1637
1709
  total: "Total",
1638
1710
  trend: "Tendance",
1639
1711
  trendSummary: (first, last, low, high) => `De ${first} à ${last}, minimum ${low}, maximum ${high}`,
@@ -1867,12 +1939,24 @@ const he = {
1867
1939
  lineChart: "תרשים קווי",
1868
1940
  barChart: "תרשים עמודות",
1869
1941
  pieChart: "תרשים עוגה",
1942
+ candlestickChart: "תרשים נרות",
1943
+ waterfallChart: "תרשים מפל",
1870
1944
  category: "קטגוריה",
1871
1945
  value: "ערך",
1872
1946
  share: "נתח",
1873
1947
  noData: "אין נתונים",
1948
+ period: "תקופה",
1949
+ open: "פתיחה",
1950
+ high: "גבוה",
1951
+ low: "נמוך",
1952
+ close: "סגירה",
1953
+ change: "שינוי",
1954
+ runningTotal: "סכום מצטבר",
1874
1955
  point: (series, label, value) => `${series}, ${label}: ${value}`,
1875
1956
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
1957
+ candle: (label, open, high, low, close) => `${label}: פתיחה ${open}, גבוה ${high}, נמוך ${low}, סגירה ${close}`,
1958
+ step: (label, change, runningTotal) => `${label}: שינוי ${change}, סכום מצטבר ${runningTotal}`,
1959
+ stepTotal: (label, total) => `${label}: סה״כ ${total}`,
1876
1960
  total: "סה״כ",
1877
1961
  trend: "מגמה",
1878
1962
  trendSummary: (first, last, low, high) => `מ־${first} ל־${last}, מינימום ${low}, מקסימום ${high}`,
@@ -2106,12 +2190,24 @@ const hi = {
2106
2190
  lineChart: "लाइन चार्ट",
2107
2191
  barChart: "बार चार्ट",
2108
2192
  pieChart: "पाई चार्ट",
2193
+ candlestickChart: "कैंडलस्टिक चार्ट",
2194
+ waterfallChart: "वॉटरफ़ॉल चार्ट",
2109
2195
  category: "श्रेणी",
2110
2196
  value: "मान",
2111
2197
  share: "हिस्सा",
2112
2198
  noData: "कोई डेटा नहीं",
2199
+ period: "अवधि",
2200
+ open: "ओपन",
2201
+ high: "हाई",
2202
+ low: "लो",
2203
+ close: "क्लोज़",
2204
+ change: "बदलाव",
2205
+ runningTotal: "चालू योग",
2113
2206
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2114
2207
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2208
+ candle: (label, open, high, low, close) => `${label}: ओपन ${open}, हाई ${high}, लो ${low}, क्लोज़ ${close}`,
2209
+ step: (label, change, runningTotal) => `${label}: बदलाव ${change}, चालू योग ${runningTotal}`,
2210
+ stepTotal: (label, total) => `${label}: कुल ${total}`,
2115
2211
  total: "कुल",
2116
2212
  trend: "रुझान",
2117
2213
  trendSummary: (first, last, low, high) => `${first} से ${last} तक, न्यूनतम ${low}, अधिकतम ${high}`,
@@ -2345,12 +2441,24 @@ const is = {
2345
2441
  lineChart: "Línurit",
2346
2442
  barChart: "Súlurit",
2347
2443
  pieChart: "Kökurit",
2444
+ candlestickChart: "Kertarit",
2445
+ waterfallChart: "Fossarit",
2348
2446
  category: "Flokkur",
2349
2447
  value: "Gildi",
2350
2448
  share: "Hlutfall",
2351
2449
  noData: "Engin gögn",
2450
+ period: "Tímabil",
2451
+ open: "Opnun",
2452
+ high: "Hæst",
2453
+ low: "Lægst",
2454
+ close: "Lokun",
2455
+ change: "Breyting",
2456
+ runningTotal: "Uppsöfnuð samtala",
2352
2457
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2353
2458
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2459
+ candle: (label, open, high, low, close) => `${label}: opnun ${open}, hæst ${high}, lægst ${low}, lokun ${close}`,
2460
+ step: (label, change, runningTotal) => `${label}: breyting ${change}, uppsöfnuð samtala ${runningTotal}`,
2461
+ stepTotal: (label, total) => `${label}: samtals ${total}`,
2354
2462
  total: "Samtals",
2355
2463
  trend: "Þróun",
2356
2464
  trendSummary: (first, last, low, high) => `Frá ${first} í ${last}, lægst ${low}, hæst ${high}`,
@@ -2584,12 +2692,24 @@ const nl = {
2584
2692
  lineChart: "Lijndiagram",
2585
2693
  barChart: "Staafdiagram",
2586
2694
  pieChart: "Cirkeldiagram",
2695
+ candlestickChart: "Candlestickdiagram",
2696
+ waterfallChart: "Watervaldiagram",
2587
2697
  category: "Categorie",
2588
2698
  value: "Waarde",
2589
2699
  share: "Aandeel",
2590
2700
  noData: "Geen gegevens",
2701
+ period: "Periode",
2702
+ open: "Open",
2703
+ high: "Hoog",
2704
+ low: "Laag",
2705
+ close: "Slot",
2706
+ change: "Wijziging",
2707
+ runningTotal: "Lopend totaal",
2591
2708
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2592
2709
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2710
+ candle: (label, open, high, low, close) => `${label}: open ${open}, hoog ${high}, laag ${low}, slot ${close}`,
2711
+ step: (label, change, runningTotal) => `${label}: wijziging ${change}, lopend totaal ${runningTotal}`,
2712
+ stepTotal: (label, total) => `${label}: totaal ${total}`,
2593
2713
  total: "Totaal",
2594
2714
  trend: "Trend",
2595
2715
  trendSummary: (first, last, low, high) => `Van ${first} naar ${last}, laagste ${low}, hoogste ${high}`,
@@ -2823,12 +2943,24 @@ const pl = {
2823
2943
  lineChart: "Wykres liniowy",
2824
2944
  barChart: "Wykres słupkowy",
2825
2945
  pieChart: "Wykres kołowy",
2946
+ candlestickChart: "Wykres świecowy",
2947
+ waterfallChart: "Wykres kaskadowy",
2826
2948
  category: "Kategoria",
2827
2949
  value: "Wartość",
2828
2950
  share: "Udział",
2829
2951
  noData: "Brak danych",
2952
+ period: "Okres",
2953
+ open: "Otwarcie",
2954
+ high: "Maksimum",
2955
+ low: "Minimum",
2956
+ close: "Zamknięcie",
2957
+ change: "Zmiana",
2958
+ runningTotal: "Suma narastająca",
2830
2959
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2831
2960
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2961
+ candle: (label, open, high, low, close) => `${label}: otwarcie ${open}, maksimum ${high}, minimum ${low}, zamknięcie ${close}`,
2962
+ step: (label, change, runningTotal) => `${label}: zmiana ${change}, suma narastająca ${runningTotal}`,
2963
+ stepTotal: (label, total) => `${label}: suma ${total}`,
2832
2964
  total: "Suma",
2833
2965
  trend: "Trend",
2834
2966
  trendSummary: (first, last, low, high) => `Od ${first} do ${last}, minimum ${low}, maksimum ${high}`,
@@ -3062,12 +3194,24 @@ const ptBR = {
3062
3194
  lineChart: "Gráfico de linhas",
3063
3195
  barChart: "Gráfico de barras",
3064
3196
  pieChart: "Gráfico de pizza",
3197
+ candlestickChart: "Gráfico de velas",
3198
+ waterfallChart: "Gráfico de cascata",
3065
3199
  category: "Categoria",
3066
3200
  value: "Valor",
3067
3201
  share: "Participação",
3068
3202
  noData: "Sem dados",
3203
+ period: "Período",
3204
+ open: "Abertura",
3205
+ high: "Máxima",
3206
+ low: "Mínima",
3207
+ close: "Fechamento",
3208
+ change: "Variação",
3209
+ runningTotal: "Total acumulado",
3069
3210
  point: (series, label, value) => `${series}, ${label}: ${value}`,
3070
3211
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
3212
+ candle: (label, open, high, low, close) => `${label}: abertura ${open}, máxima ${high}, mínima ${low}, fechamento ${close}`,
3213
+ step: (label, change, runningTotal) => `${label}: variação ${change}, total acumulado ${runningTotal}`,
3214
+ stepTotal: (label, total) => `${label}: total ${total}`,
3071
3215
  total: "Total",
3072
3216
  trend: "Tendência",
3073
3217
  trendSummary: (first, last, low, high) => `De ${first} a ${last}, mínimo ${low}, máximo ${high}`,
@@ -3301,12 +3445,24 @@ const ru = {
3301
3445
  lineChart: "Линейный график",
3302
3446
  barChart: "Столбчатая диаграмма",
3303
3447
  pieChart: "Круговая диаграмма",
3448
+ candlestickChart: "Свечной график",
3449
+ waterfallChart: "Каскадная диаграмма",
3304
3450
  category: "Категория",
3305
3451
  value: "Значение",
3306
3452
  share: "Доля",
3307
3453
  noData: "Нет данных",
3454
+ period: "Период",
3455
+ open: "Открытие",
3456
+ high: "Максимум",
3457
+ low: "Минимум",
3458
+ close: "Закрытие",
3459
+ change: "Изменение",
3460
+ runningTotal: "Нарастающий итог",
3308
3461
  point: (series, label, value) => `${series}, ${label}: ${value}`,
3309
3462
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
3463
+ candle: (label, open, high, low, close) => `${label}: открытие ${open}, максимум ${high}, минимум ${low}, закрытие ${close}`,
3464
+ step: (label, change, runningTotal) => `${label}: изменение ${change}, нарастающий итог ${runningTotal}`,
3465
+ stepTotal: (label, total) => `${label}: итого ${total}`,
3310
3466
  total: "Итого",
3311
3467
  trend: "Динамика",
3312
3468
  trendSummary: (first, last, low, high) => `С ${first} до ${last}, минимум ${low}, максимум ${high}`,
@@ -3540,12 +3696,24 @@ const uk = {
3540
3696
  lineChart: "Лінійний графік",
3541
3697
  barChart: "Стовпчикова діаграма",
3542
3698
  pieChart: "Кругова діаграма",
3699
+ candlestickChart: "Свічковий графік",
3700
+ waterfallChart: "Каскадна діаграма",
3543
3701
  category: "Категорія",
3544
3702
  value: "Значення",
3545
3703
  share: "Частка",
3546
3704
  noData: "Немає даних",
3705
+ period: "Період",
3706
+ open: "Відкриття",
3707
+ high: "Максимум",
3708
+ low: "Мінімум",
3709
+ close: "Закриття",
3710
+ change: "Зміна",
3711
+ runningTotal: "Наростаючий підсумок",
3547
3712
  point: (series, label, value) => `${series}, ${label}: ${value}`,
3548
3713
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
3714
+ candle: (label, open, high, low, close) => `${label}: відкриття ${open}, максимум ${high}, мінімум ${low}, закриття ${close}`,
3715
+ step: (label, change, runningTotal) => `${label}: зміна ${change}, наростаючий підсумок ${runningTotal}`,
3716
+ stepTotal: (label, total) => `${label}: разом ${total}`,
3549
3717
  total: "Разом",
3550
3718
  trend: "Динаміка",
3551
3719
  trendSummary: (first, last, low, high) => `Від ${first} до ${last}, мінімум ${low}, максимум ${high}`,
@@ -3779,12 +3947,24 @@ const zhCN = {
3779
3947
  lineChart: "折线图",
3780
3948
  barChart: "柱状图",
3781
3949
  pieChart: "饼图",
3950
+ candlestickChart: "K 线图",
3951
+ waterfallChart: "瀑布图",
3782
3952
  category: "类别",
3783
3953
  value: "数值",
3784
3954
  share: "占比",
3785
3955
  noData: "无数据",
3956
+ period: "周期",
3957
+ open: "开盘",
3958
+ high: "最高",
3959
+ low: "最低",
3960
+ close: "收盘",
3961
+ change: "变化",
3962
+ runningTotal: "累计",
3786
3963
  point: (series, label, value) => `${series},${label}:${value}`,
3787
3964
  slice: (label, value, percent) => `${label}:${value},${percent}`,
3965
+ candle: (label, open, high, low, close) => `${label}:开盘 ${open},最高 ${high},最低 ${low},收盘 ${close}`,
3966
+ step: (label, change, runningTotal) => `${label}:变化 ${change},累计 ${runningTotal}`,
3967
+ stepTotal: (label, total) => `${label}:总计 ${total}`,
3788
3968
  total: "总计",
3789
3969
  trend: "趋势",
3790
3970
  trendSummary: (first, last, low, high) => `从 ${first} 到 ${last},最低 ${low},最高 ${high}`,
@@ -12202,6 +12382,570 @@ i0.ɵɵngDeclareClassMetadata({
12202
12382
  }]
12203
12383
  }
12204
12384
  });
12385
+ const MAX_BODY_RATIO = .7;
12386
+ const MIN_OUTLINED_PX = 3;
12387
+ var CandlestickChartComponent = class CandlestickChartComponent {
12388
+ i18n = inject(EagamiI18nService);
12389
+ data = input([], ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
12390
+ hollow = input(true, ...ngDevMode ? [{ debugName: "hollow" }] : /* istanbul ignore next */ []);
12391
+ risingColor = input(void 0, ...ngDevMode ? [{ debugName: "risingColor" }] : /* istanbul ignore next */ []);
12392
+ fallingColor = input(void 0, ...ngDevMode ? [{ debugName: "fallingColor" }] : /* istanbul ignore next */ []);
12393
+ showGrid = input(true, ...ngDevMode ? [{ debugName: "showGrid" }] : /* istanbul ignore next */ []);
12394
+ xLabelOrientation = input("horizontal", ...ngDevMode ? [{ debugName: "xLabelOrientation" }] : /* istanbul ignore next */ []);
12395
+ referenceLines = input([], ...ngDevMode ? [{ debugName: "referenceLines" }] : /* istanbul ignore next */ []);
12396
+ height = input(240, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
12397
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
12398
+ animation = input("grow", ...ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []);
12399
+ animationDuration = input(600, ...ngDevMode ? [{ debugName: "animationDuration" }] : /* istanbul ignore next */ []);
12400
+ formatValue = input(null, ...ngDevMode ? [{ debugName: "formatValue" }] : /* istanbul ignore next */ []);
12401
+ ariaLabel = input(void 0, {
12402
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
12403
+ alias: "aria-label"
12404
+ });
12405
+ candleClick = output();
12406
+ activeCandleChange = output();
12407
+ viewport = injectChartViewport(this.size);
12408
+ format = injectChartFormatter(this.formatValue);
12409
+ active = signal(null, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
12410
+ label = computed(() => this.ariaLabel() || this.i18n.messages().chart.candlestickChart, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
12411
+ prices = computed(() => this.data().map(({ open, high, low, close }) => [
12412
+ open,
12413
+ high,
12414
+ low,
12415
+ close
12416
+ ].every((value) => value != null && isFinite(value)) ? {
12417
+ open,
12418
+ close,
12419
+ high: Math.max(high, open, close),
12420
+ low: Math.min(low, open, close)
12421
+ } : null), ...ngDevMode ? [{ debugName: "prices" }] : /* istanbul ignore next */ []);
12422
+ hasData = computed(() => this.prices().some((p) => p !== null), ...ngDevMode ? [{ debugName: "hasData" }] : /* istanbul ignore next */ []);
12423
+ references = computed(() => plottableReferenceLines(this.referenceLines()), ...ngDevMode ? [{ debugName: "references" }] : /* istanbul ignore next */ []);
12424
+ renderPass = computed(() => {
12425
+ this.data();
12426
+ this.hollow();
12427
+ this.animation();
12428
+ this.animationDuration();
12429
+ return [{}];
12430
+ }, ...ngDevMode ? [{ debugName: "renderPass" }] : /* istanbul ignore next */ []);
12431
+ hostClasses = computed(() => ({
12432
+ [`ea-candlestick-chart--${this.size()}`]: true,
12433
+ [`ea-candlestick-chart--animate-${this.animation()}`]: true
12434
+ }), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
12435
+ layout = computed(() => {
12436
+ const prices = this.prices();
12437
+ const count = Math.max(1, prices.length);
12438
+ const width = this.viewport.width();
12439
+ const height = this.height();
12440
+ const fontPx = this.viewport.fontSize();
12441
+ const axisPx = fontPx * .75;
12442
+ const format = this.format();
12443
+ const hollow = this.hollow();
12444
+ let lo = Infinity;
12445
+ let hi = -Infinity;
12446
+ for (const candle of prices) if (candle) {
12447
+ lo = Math.min(lo, candle.low);
12448
+ hi = Math.max(hi, candle.high);
12449
+ }
12450
+ const references = this.references();
12451
+ for (const { value } of references) {
12452
+ lo = Math.min(lo, value);
12453
+ hi = Math.max(hi, value);
12454
+ }
12455
+ const labelTexts = Array.from({ length: count }, (_, i) => this.data()[i]?.label ?? "");
12456
+ const left = Math.max(0, ...niceScale(lo, hi).ticks.map(format).map((t) => estimateTextWidth(t, axisPx))) + axisPx;
12457
+ const right = axisPx / 2;
12458
+ const top = axisPx;
12459
+ const plotWidth = Math.max(1, width - left - right);
12460
+ const band = plotWidth / count;
12461
+ const orientation = this.xLabelOrientation();
12462
+ const angle = orientation === "auto" ? [
12463
+ 0,
12464
+ 45,
12465
+ 90
12466
+ ].find((a) => labelTexts.every((t) => labelRoom(t, a, axisPx) <= band)) ?? 90 : CHART_LABEL_ANGLES[orientation];
12467
+ const bottom = labelBand(Math.max(0, ...labelTexts.map((t) => estimateTextWidth(t, axisPx))), angle, axisPx, height);
12468
+ const plotHeight = Math.max(1, height - top - bottom);
12469
+ const scale = niceScale(lo, hi, Math.max(2, Math.floor(plotHeight / (axisPx * 3))));
12470
+ const step = scale.ticks[1] - scale.ticks[0];
12471
+ const ticks = [...scale.ticks];
12472
+ let { min, max } = scale;
12473
+ const px = (value) => value / (max - min || 1) * plotHeight;
12474
+ if (isFinite(lo) && px(lo - min) < axisPx) {
12475
+ min = Number((min - step).toPrecision(12));
12476
+ ticks.unshift(min);
12477
+ }
12478
+ if (isFinite(hi) && px(max - hi) < axisPx) {
12479
+ max = Number((max + step).toPrecision(12));
12480
+ ticks.push(max);
12481
+ }
12482
+ const valuePos = (value) => top + (1 - (clamp$1(value, min, max) - min) / (max - min || 1)) * plotHeight;
12483
+ const bodyWidth = Math.max(1, Math.min(band * MAX_BODY_RATIO, fontPx * 1.25));
12484
+ const duration = this.animationDuration();
12485
+ const cascadeStep = count > 1 ? duration * .5 / (count - 1) : 0;
12486
+ const candles = [];
12487
+ prices.forEach((candle, index) => {
12488
+ if (!candle) return;
12489
+ const center = left + (index + .5) * band;
12490
+ const rising = candle.close >= candle.open;
12491
+ const openY = valuePos(candle.open);
12492
+ const closeY = valuePos(candle.close);
12493
+ const bodyTop = Math.min(openY, closeY);
12494
+ const bodyHeight = Math.max(1, Math.abs(openY - closeY));
12495
+ const highY = valuePos(candle.high);
12496
+ const lowY = valuePos(candle.low);
12497
+ const outlined = hollow && rising && bodyWidth >= MIN_OUTLINED_PX && bodyHeight >= MIN_OUTLINED_PX;
12498
+ const inset = outlined ? .5 : 0;
12499
+ candles.push({
12500
+ index,
12501
+ rising,
12502
+ hollow: outlined,
12503
+ wick: outlined ? `M${center},${highY}V${bodyTop}M${center},${bodyTop + bodyHeight}V${lowY}` : `M${center},${highY}V${lowY}`,
12504
+ body: {
12505
+ x: center - bodyWidth / 2 + inset,
12506
+ y: bodyTop + inset,
12507
+ width: Math.max(0, bodyWidth - 2 * inset),
12508
+ height: Math.max(0, bodyHeight - 2 * inset)
12509
+ },
12510
+ origin: openY,
12511
+ delay: index * cascadeStep
12512
+ });
12513
+ });
12514
+ const referenceLines = references.map((line, key) => ({
12515
+ ...line,
12516
+ key,
12517
+ pos: valuePos(line.value)
12518
+ })).filter((line) => line.value >= min && line.value <= max).map((line) => {
12519
+ const above = line.pos - axisPx * 1.4 >= top;
12520
+ return {
12521
+ ...line,
12522
+ labelX: left + plotWidth,
12523
+ labelY: above ? line.pos - axisPx * .4 - 2 : line.pos + axisPx * 1.2
12524
+ };
12525
+ });
12526
+ const widestRoom = Math.max(0, ...labelTexts.map((t) => labelRoom(t, angle, axisPx)));
12527
+ const labelStep = Math.max(1, Math.ceil(widestRoom / band));
12528
+ const periods = labelTexts.map((text, index) => ({
12529
+ text,
12530
+ index,
12531
+ pos: left + (index + .5) * band
12532
+ })).filter((period) => period.index % labelStep === 0);
12533
+ const axisY = top + plotHeight;
12534
+ return {
12535
+ width,
12536
+ height,
12537
+ top,
12538
+ left,
12539
+ plotWidth,
12540
+ plotHeight,
12541
+ band,
12542
+ axisPx,
12543
+ axisY,
12544
+ ticks: ticks.filter((value) => value >= min && value <= max).map((value) => ({
12545
+ value,
12546
+ text: format(value),
12547
+ pos: valuePos(value)
12548
+ })),
12549
+ periods,
12550
+ candles,
12551
+ referenceLines,
12552
+ valuePos,
12553
+ tickEndY: axisY + tickLength(axisPx),
12554
+ labelAngle: angle,
12555
+ labelY: labelLine(axisY, angle, axisPx)
12556
+ };
12557
+ }, ...ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []);
12558
+ crosshair = computed(() => {
12559
+ const index = this.active();
12560
+ if (index === null) return null;
12561
+ const layout = this.layout();
12562
+ return layout.left + (index + .5) * layout.band;
12563
+ }, ...ngDevMode ? [{ debugName: "crosshair" }] : /* istanbul ignore next */ []);
12564
+ tooltip = computed(() => {
12565
+ const index = this.active();
12566
+ const candle = index === null ? null : this.prices()[index];
12567
+ if (index === null || !candle) return null;
12568
+ const layout = this.layout();
12569
+ const messages = this.i18n.messages().chart;
12570
+ const format = this.format();
12571
+ return {
12572
+ x: layout.left + (index + .5) * layout.band,
12573
+ y: layout.valuePos(candle.high),
12574
+ title: this.data()[index]?.label ?? "",
12575
+ rows: [
12576
+ {
12577
+ name: messages.open,
12578
+ value: format(candle.open)
12579
+ },
12580
+ {
12581
+ name: messages.high,
12582
+ value: format(candle.high)
12583
+ },
12584
+ {
12585
+ name: messages.low,
12586
+ value: format(candle.low)
12587
+ },
12588
+ {
12589
+ name: messages.close,
12590
+ value: format(candle.close)
12591
+ }
12592
+ ],
12593
+ key: index
12594
+ };
12595
+ }, ...ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []);
12596
+ tooltips = computed(() => {
12597
+ const tip = this.tooltip();
12598
+ return tip ? [tip] : [];
12599
+ }, ...ngDevMode ? [{ debugName: "tooltips" }] : /* istanbul ignore next */ []);
12600
+ announcement = computed(() => {
12601
+ const event = this.eventFor(this.active());
12602
+ if (!event) return "";
12603
+ const format = this.format();
12604
+ return this.i18n.messages().chart.candle(event.label, format(event.open), format(event.high), format(event.low), format(event.close));
12605
+ }, ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
12606
+ referenceText(line) {
12607
+ return this.i18n.messages().chart.referenceLine(line.label ?? "", this.tableValue(line.value));
12608
+ }
12609
+ tableValue(value) {
12610
+ return value == null || !isFinite(value) ? "–" : this.format()(value);
12611
+ }
12612
+ onPointerMove(event) {
12613
+ const rect = event.currentTarget.getBoundingClientRect();
12614
+ const layout = this.layout();
12615
+ const index = Math.floor((event.clientX - rect.left - layout.left) / layout.band);
12616
+ this.setActive(index >= 0 && index < this.prices().length && this.prices()[index] ? index : null);
12617
+ }
12618
+ onPointerLeave() {
12619
+ this.setActive(null);
12620
+ }
12621
+ onClick() {
12622
+ const event = this.eventFor(this.active());
12623
+ if (event) this.candleClick.emit(event);
12624
+ }
12625
+ onFocus() {
12626
+ if (this.active() === null) this.setActive(this.firstFrom(0, 1));
12627
+ }
12628
+ onBlur() {
12629
+ this.setActive(null);
12630
+ }
12631
+ onKeydown(event) {
12632
+ const active = this.active();
12633
+ if (active === null && event.key.startsWith("Arrow")) {
12634
+ event.preventDefault();
12635
+ this.setActive(this.firstFrom(0, 1));
12636
+ return;
12637
+ }
12638
+ if (active === null && event.key !== "Home" && event.key !== "End") return;
12639
+ const last = this.prices().length - 1;
12640
+ let next = active;
12641
+ switch (event.key) {
12642
+ case "ArrowRight":
12643
+ next = this.firstFrom((active ?? -1) + 1, 1) ?? active;
12644
+ break;
12645
+ case "ArrowLeft":
12646
+ next = this.firstFrom((active ?? last + 1) - 1, -1) ?? active;
12647
+ break;
12648
+ case "Home":
12649
+ next = this.firstFrom(0, 1);
12650
+ break;
12651
+ case "End":
12652
+ next = this.firstFrom(last, -1);
12653
+ break;
12654
+ case "Enter":
12655
+ case " ":
12656
+ this.onClick();
12657
+ break;
12658
+ case "Escape":
12659
+ next = null;
12660
+ break;
12661
+ default: return;
12662
+ }
12663
+ event.preventDefault();
12664
+ this.setActive(next);
12665
+ }
12666
+ firstFrom(index, step) {
12667
+ const prices = this.prices();
12668
+ for (let i = index; i >= 0 && i < prices.length; i += step) if (prices[i]) return i;
12669
+ return null;
12670
+ }
12671
+ eventFor(index) {
12672
+ const candle = index === null ? null : this.prices()[index];
12673
+ if (index === null || !candle) return null;
12674
+ return {
12675
+ index,
12676
+ label: this.data()[index]?.label ?? "",
12677
+ ...candle
12678
+ };
12679
+ }
12680
+ setActive(next) {
12681
+ if (this.active() === next) return;
12682
+ this.active.set(next);
12683
+ this.activeCandleChange.emit(this.eventFor(next));
12684
+ }
12685
+ static ɵfac = i0.ɵɵngDeclareFactory({
12686
+ minVersion: "12.0.0",
12687
+ version: "22.3.0",
12688
+ ngImport: i0,
12689
+ type: CandlestickChartComponent,
12690
+ deps: [],
12691
+ target: i0.ɵɵFactoryTarget.Component
12692
+ });
12693
+ static ɵcmp = i0.ɵɵngDeclareComponent({
12694
+ minVersion: "17.0.0",
12695
+ version: "22.3.0",
12696
+ type: CandlestickChartComponent,
12697
+ isStandalone: true,
12698
+ selector: "ea-candlestick-chart",
12699
+ inputs: {
12700
+ data: {
12701
+ classPropertyName: "data",
12702
+ publicName: "data",
12703
+ isSignal: true,
12704
+ isRequired: false,
12705
+ transformFunction: null
12706
+ },
12707
+ hollow: {
12708
+ classPropertyName: "hollow",
12709
+ publicName: "hollow",
12710
+ isSignal: true,
12711
+ isRequired: false,
12712
+ transformFunction: null
12713
+ },
12714
+ risingColor: {
12715
+ classPropertyName: "risingColor",
12716
+ publicName: "risingColor",
12717
+ isSignal: true,
12718
+ isRequired: false,
12719
+ transformFunction: null
12720
+ },
12721
+ fallingColor: {
12722
+ classPropertyName: "fallingColor",
12723
+ publicName: "fallingColor",
12724
+ isSignal: true,
12725
+ isRequired: false,
12726
+ transformFunction: null
12727
+ },
12728
+ showGrid: {
12729
+ classPropertyName: "showGrid",
12730
+ publicName: "showGrid",
12731
+ isSignal: true,
12732
+ isRequired: false,
12733
+ transformFunction: null
12734
+ },
12735
+ xLabelOrientation: {
12736
+ classPropertyName: "xLabelOrientation",
12737
+ publicName: "xLabelOrientation",
12738
+ isSignal: true,
12739
+ isRequired: false,
12740
+ transformFunction: null
12741
+ },
12742
+ referenceLines: {
12743
+ classPropertyName: "referenceLines",
12744
+ publicName: "referenceLines",
12745
+ isSignal: true,
12746
+ isRequired: false,
12747
+ transformFunction: null
12748
+ },
12749
+ height: {
12750
+ classPropertyName: "height",
12751
+ publicName: "height",
12752
+ isSignal: true,
12753
+ isRequired: false,
12754
+ transformFunction: null
12755
+ },
12756
+ size: {
12757
+ classPropertyName: "size",
12758
+ publicName: "size",
12759
+ isSignal: true,
12760
+ isRequired: false,
12761
+ transformFunction: null
12762
+ },
12763
+ animation: {
12764
+ classPropertyName: "animation",
12765
+ publicName: "animation",
12766
+ isSignal: true,
12767
+ isRequired: false,
12768
+ transformFunction: null
12769
+ },
12770
+ animationDuration: {
12771
+ classPropertyName: "animationDuration",
12772
+ publicName: "animationDuration",
12773
+ isSignal: true,
12774
+ isRequired: false,
12775
+ transformFunction: null
12776
+ },
12777
+ formatValue: {
12778
+ classPropertyName: "formatValue",
12779
+ publicName: "formatValue",
12780
+ isSignal: true,
12781
+ isRequired: false,
12782
+ transformFunction: null
12783
+ },
12784
+ ariaLabel: {
12785
+ classPropertyName: "ariaLabel",
12786
+ publicName: "aria-label",
12787
+ isSignal: true,
12788
+ isRequired: false,
12789
+ transformFunction: null
12790
+ }
12791
+ },
12792
+ outputs: {
12793
+ candleClick: "candleClick",
12794
+ activeCandleChange: "activeCandleChange"
12795
+ },
12796
+ ngImport: i0,
12797
+ template: "<div\n class=\"ea-candlestick-chart\"\n [class]=\"hostClasses()\"\n [style.--ea-chart-duration]=\"animationDuration() + 'ms'\"\n [style.--ea-candlestick-chart-rising-color]=\"risingColor() || null\"\n [style.--ea-candlestick-chart-falling-color]=\"fallingColor() || null\">\n @if (hasData()) {\n <div\n class=\"ea-candlestick-chart__plot\"\n role=\"group\"\n tabindex=\"0\"\n [attr.aria-roledescription]=\"i18n.messages().chart.roleDescription\"\n [attr.aria-label]=\"label()\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keydown)=\"onKeydown($event)\">\n @for (pass of renderPass(); track pass) {\n <svg\n class=\"ea-candlestick-chart__svg\"\n aria-hidden=\"true\"\n [attr.width]=\"layout().width\"\n [attr.height]=\"layout().height\"\n [attr.viewBox]=\"'0 0 ' + layout().width + ' ' + layout().height\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerdown)=\"onPointerMove($event)\"\n (pointerleave)=\"onPointerLeave()\"\n (click)=\"onClick()\">\n <rect\n class=\"ea-candlestick-chart__hit\"\n [attr.x]=\"layout().left\"\n [attr.y]=\"layout().top\"\n [attr.width]=\"layout().plotWidth\"\n [attr.height]=\"layout().plotHeight\" />\n @for (tick of layout().ticks; track tick.value) {\n @if (showGrid()) {\n <line\n class=\"ea-candlestick-chart__grid\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"tick.pos\"\n [attr.y2]=\"tick.pos\" />\n }\n <text\n class=\"ea-candlestick-chart__axis\"\n text-anchor=\"end\"\n dominant-baseline=\"middle\"\n [attr.x]=\"layout().left - layout().axisPx / 2\"\n [attr.y]=\"tick.pos\">\n {{ tick.text }}\n </text>\n }\n @for (period of layout().periods; track period.index) {\n <line\n class=\"ea-candlestick-chart__x-tick\"\n [attr.x1]=\"period.pos\"\n [attr.x2]=\"period.pos\"\n [attr.y1]=\"layout().axisY\"\n [attr.y2]=\"layout().tickEndY\" />\n <text\n class=\"ea-candlestick-chart__axis\"\n [attr.text-anchor]=\"layout().labelAngle ? 'end' : 'middle'\"\n [attr.dominant-baseline]=\"layout().labelAngle ? 'central' : null\"\n [attr.transform]=\"\n layout().labelAngle\n ? 'rotate(' +\n -layout().labelAngle +\n ' ' +\n period.pos +\n ' ' +\n layout().labelY +\n ')'\n : null\n \"\n [attr.x]=\"period.pos\"\n [attr.y]=\"layout().labelY\">\n {{ period.text }}\n </text>\n }\n @if (crosshair(); as x) {\n <line\n class=\"ea-candlestick-chart__crosshair\"\n [attr.x1]=\"x\"\n [attr.x2]=\"x\"\n [attr.y1]=\"layout().top\"\n [attr.y2]=\"layout().axisY\" />\n }\n <line\n class=\"ea-candlestick-chart__baseline\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"layout().axisY\"\n [attr.y2]=\"layout().axisY\" />\n @for (candle of layout().candles; track candle.index) {\n <g\n class=\"ea-candlestick-chart__candle\"\n [class.ea-candlestick-chart__candle--rising]=\"candle.rising\"\n [class.ea-candlestick-chart__candle--falling]=\"!candle.rising\"\n [class.ea-candlestick-chart__candle--hollow]=\"candle.hollow\"\n [style.--ea-chart-delay]=\"candle.delay + 'ms'\"\n [style.--ea-candlestick-chart-origin]=\"candle.origin + 'px'\">\n <path\n class=\"ea-candlestick-chart__wick\"\n [attr.d]=\"candle.wick\" />\n <rect\n class=\"ea-candlestick-chart__body\"\n [attr.x]=\"candle.body.x\"\n [attr.y]=\"candle.body.y\"\n [attr.width]=\"candle.body.width\"\n [attr.height]=\"candle.body.height\" />\n </g>\n }\n @for (line of layout().referenceLines; track line.key) {\n <g\n class=\"ea-candlestick-chart__reference\"\n [style.--ea-chart-reference-color]=\"line.color\">\n <line\n class=\"ea-candlestick-chart__reference-line\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"line.pos\"\n [attr.y2]=\"line.pos\" />\n @if (line.label) {\n <text\n class=\"ea-candlestick-chart__reference-label\"\n text-anchor=\"end\"\n [attr.x]=\"line.labelX\"\n [attr.y]=\"line.labelY\">\n {{ line.label }}\n </text>\n }\n </g>\n }\n @for (tip of tooltips(); track tip.key) {\n <rect\n class=\"ea-candlestick-chart__anchor\"\n width=\"2\"\n height=\"2\"\n [attr.x]=\"tip.x - 1\"\n [attr.y]=\"tip.y - 1\"\n [eaTooltip]=\"tooltipContent\"\n [tooltipOpen]=\"true\"\n [maxWidth]=\"undefined\" />\n }\n </svg>\n }\n <ng-template #tooltipContent>\n @if (tooltip(); as tip) {\n <div class=\"ea-candlestick-chart__tooltip\">\n <span class=\"ea-candlestick-chart__tooltip-title\">{{ tip.title }}</span>\n @for (row of tip.rows; track $index) {\n <span class=\"ea-candlestick-chart__tooltip-row\">\n <span class=\"ea-candlestick-chart__tooltip-name\">{{ row.name }}</span>\n <span class=\"ea-candlestick-chart__tooltip-value\">{{ row.value }}</span>\n </span>\n }\n </div>\n }\n </ng-template>\n <!-- Hidden through a block, since a table ignores the 1px size and keeps its full height -->\n <div class=\"ea-candlestick-chart__table\">\n <table>\n <caption>\n {{ label() }}\n </caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ i18n.messages().chart.period }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.open }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.high }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.low }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.close }}</th>\n </tr>\n </thead>\n <tbody>\n @for (candle of prices(); track $index; let i = $index) {\n <tr>\n <th scope=\"row\">{{ data()[i].label }}</th>\n <td>{{ tableValue(candle?.open) }}</td>\n <td>{{ tableValue(candle?.high) }}</td>\n <td>{{ tableValue(candle?.low) }}</td>\n <td>{{ tableValue(candle?.close) }}</td>\n </tr>\n }\n </tbody>\n </table>\n @if (references().length) {\n <ul>\n @for (line of references(); track $index) {\n <li>{{ referenceText(line) }}</li>\n }\n </ul>\n }\n </div>\n </div>\n <div\n class=\"ea-candlestick-chart__live\"\n aria-live=\"polite\">\n {{ announcement() }}\n </div>\n } @else {\n <div\n class=\"ea-candlestick-chart__empty\"\n role=\"img\"\n [attr.aria-label]=\"label()\"\n [style.height.px]=\"height()\">\n {{ i18n.messages().chart.noData }}\n </div>\n }\n</div>\n",
12798
+ styles: ["@keyframes ea-chart-fade{0%{opacity:0}}@keyframes ea-chart-draw{0%{stroke-dashoffset:1}}@keyframes ea-chart-grow-y{0%{transform:scaleY(0)}}@keyframes ea-chart-grow-x{0%{transform:scaleX(0)}}@keyframes ea-chart-grow{0%{transform:scale(0)}}ea-candlestick-chart{display:block}.ea-candlestick-chart{position:relative;display:flex;flex-direction:column;gap:.75em;font-family:var(--font-family-sans);color:var(--color-text-primary)}.ea-candlestick-chart--2xs{font-size:var(--font-size-2xs)}.ea-candlestick-chart--xs{font-size:var(--font-size-xs)}.ea-candlestick-chart--sm{font-size:var(--font-size-sm)}.ea-candlestick-chart--md{font-size:var(--font-size-md)}.ea-candlestick-chart--lg{font-size:var(--font-size-lg)}.ea-candlestick-chart--xl{font-size:var(--font-size-xl)}.ea-candlestick-chart__plot{position:relative;border-radius:var(--radius-md);outline:none}.ea-candlestick-chart__plot:focus-visible{outline:var(--border-width-medium) solid var(--color-border-focus);outline-offset:2px}@media(forced-colors:active){.ea-candlestick-chart__plot:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-candlestick-chart__plot svg{display:block;overflow:visible}.ea-candlestick-chart__svg{direction:ltr;touch-action:pan-y}.ea-candlestick-chart__hit{fill:transparent}.ea-candlestick-chart__grid{stroke:var(--color-divider);stroke-width:1px;shape-rendering:crispEdges}.ea-candlestick-chart__baseline,.ea-candlestick-chart__x-tick{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-candlestick-chart__axis{font-size:.75em;fill:var(--color-text-secondary)}.ea-candlestick-chart__crosshair{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-candlestick-chart__reference-line{stroke:var(--ea-chart-reference-color, var(--color-text-secondary));stroke-width:1px;stroke-dasharray:4 3;shape-rendering:crispEdges;pointer-events:none}.ea-candlestick-chart__reference-label{font-size:.75em;fill:var(--color-text-secondary);font-weight:var(--font-weight-medium);stroke:var(--ea-chart-surface, var(--color-bg-base));stroke-width:3px;stroke-linejoin:round;fill:var(--ea-chart-reference-color, var(--color-text-secondary));pointer-events:none;paint-order:stroke}.ea-candlestick-chart__candle{--_ea-candle-color: var( --ea-candlestick-chart-rising-color, var(--color-success-default) );pointer-events:none;transform-box:view-box;transform-origin:0 var(--ea-candlestick-chart-origin)}.ea-candlestick-chart__candle--falling{--_ea-candle-color: var( --ea-candlestick-chart-falling-color, var(--color-error-default) )}.ea-candlestick-chart__wick{fill:none;stroke:var(--_ea-candle-color);stroke-width:1px;shape-rendering:crispEdges}.ea-candlestick-chart__body{fill:var(--_ea-candle-color);shape-rendering:crispEdges}.ea-candlestick-chart__candle--hollow .ea-candlestick-chart__body{stroke:var(--_ea-candle-color);stroke-width:1px;fill:var(--ea-chart-surface, var(--color-bg-base))}.ea-candlestick-chart__tooltip{display:flex;flex-direction:column;gap:var(--space-1)}.ea-candlestick-chart__anchor{fill:transparent}.ea-candlestick-chart__tooltip-title{font-weight:var(--font-weight-medium)}.ea-candlestick-chart__tooltip-row{display:flex;align-items:center;gap:.5em}.ea-candlestick-chart__tooltip-value{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-candlestick-chart__table,.ea-candlestick-chart__live{position:absolute;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;padding:0;margin:-1px;white-space:nowrap;border:0}.ea-candlestick-chart__empty{display:flex;align-items:center;justify-content:center;font-size:.875em;color:var(--color-text-tertiary)}.ea-candlestick-chart--animate-grow .ea-candlestick-chart__candle,.ea-candlestick-chart--animate-cascade .ea-candlestick-chart__candle{animation-name:ea-chart-grow-y;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-candlestick-chart--animate-grow .ea-candlestick-chart__candle,.ea-candlestick-chart--animate-cascade .ea-candlestick-chart__candle{animation:none}}.ea-candlestick-chart--animate-cascade .ea-candlestick-chart__candle{animation-delay:var(--ea-chart-delay, 0ms)}.ea-candlestick-chart--animate-fade .ea-candlestick-chart__candle{animation-name:ea-chart-fade;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-candlestick-chart--animate-fade .ea-candlestick-chart__candle{animation:none}}\n"],
12799
+ dependencies: [{
12800
+ kind: "directive",
12801
+ type: TooltipDirective,
12802
+ selector: "[eaTooltip]",
12803
+ inputs: [
12804
+ "eaTooltip",
12805
+ "tooltipPosition",
12806
+ "flip",
12807
+ "whenClipped",
12808
+ "maxWidth",
12809
+ "showDelay",
12810
+ "dismissDelay",
12811
+ "tooltipOpen"
12812
+ ]
12813
+ }],
12814
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
12815
+ encapsulation: i0.ViewEncapsulation.None
12816
+ });
12817
+ };
12818
+ i0.ɵɵngDeclareClassMetadata({
12819
+ minVersion: "12.0.0",
12820
+ version: "22.3.0",
12821
+ ngImport: i0,
12822
+ type: CandlestickChartComponent,
12823
+ decorators: [{
12824
+ type: Component,
12825
+ args: [{
12826
+ selector: "ea-candlestick-chart",
12827
+ imports: [TooltipDirective],
12828
+ changeDetection: ChangeDetectionStrategy.OnPush,
12829
+ encapsulation: ViewEncapsulation.None,
12830
+ template: "<div\n class=\"ea-candlestick-chart\"\n [class]=\"hostClasses()\"\n [style.--ea-chart-duration]=\"animationDuration() + 'ms'\"\n [style.--ea-candlestick-chart-rising-color]=\"risingColor() || null\"\n [style.--ea-candlestick-chart-falling-color]=\"fallingColor() || null\">\n @if (hasData()) {\n <div\n class=\"ea-candlestick-chart__plot\"\n role=\"group\"\n tabindex=\"0\"\n [attr.aria-roledescription]=\"i18n.messages().chart.roleDescription\"\n [attr.aria-label]=\"label()\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keydown)=\"onKeydown($event)\">\n @for (pass of renderPass(); track pass) {\n <svg\n class=\"ea-candlestick-chart__svg\"\n aria-hidden=\"true\"\n [attr.width]=\"layout().width\"\n [attr.height]=\"layout().height\"\n [attr.viewBox]=\"'0 0 ' + layout().width + ' ' + layout().height\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerdown)=\"onPointerMove($event)\"\n (pointerleave)=\"onPointerLeave()\"\n (click)=\"onClick()\">\n <rect\n class=\"ea-candlestick-chart__hit\"\n [attr.x]=\"layout().left\"\n [attr.y]=\"layout().top\"\n [attr.width]=\"layout().plotWidth\"\n [attr.height]=\"layout().plotHeight\" />\n @for (tick of layout().ticks; track tick.value) {\n @if (showGrid()) {\n <line\n class=\"ea-candlestick-chart__grid\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"tick.pos\"\n [attr.y2]=\"tick.pos\" />\n }\n <text\n class=\"ea-candlestick-chart__axis\"\n text-anchor=\"end\"\n dominant-baseline=\"middle\"\n [attr.x]=\"layout().left - layout().axisPx / 2\"\n [attr.y]=\"tick.pos\">\n {{ tick.text }}\n </text>\n }\n @for (period of layout().periods; track period.index) {\n <line\n class=\"ea-candlestick-chart__x-tick\"\n [attr.x1]=\"period.pos\"\n [attr.x2]=\"period.pos\"\n [attr.y1]=\"layout().axisY\"\n [attr.y2]=\"layout().tickEndY\" />\n <text\n class=\"ea-candlestick-chart__axis\"\n [attr.text-anchor]=\"layout().labelAngle ? 'end' : 'middle'\"\n [attr.dominant-baseline]=\"layout().labelAngle ? 'central' : null\"\n [attr.transform]=\"\n layout().labelAngle\n ? 'rotate(' +\n -layout().labelAngle +\n ' ' +\n period.pos +\n ' ' +\n layout().labelY +\n ')'\n : null\n \"\n [attr.x]=\"period.pos\"\n [attr.y]=\"layout().labelY\">\n {{ period.text }}\n </text>\n }\n @if (crosshair(); as x) {\n <line\n class=\"ea-candlestick-chart__crosshair\"\n [attr.x1]=\"x\"\n [attr.x2]=\"x\"\n [attr.y1]=\"layout().top\"\n [attr.y2]=\"layout().axisY\" />\n }\n <line\n class=\"ea-candlestick-chart__baseline\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"layout().axisY\"\n [attr.y2]=\"layout().axisY\" />\n @for (candle of layout().candles; track candle.index) {\n <g\n class=\"ea-candlestick-chart__candle\"\n [class.ea-candlestick-chart__candle--rising]=\"candle.rising\"\n [class.ea-candlestick-chart__candle--falling]=\"!candle.rising\"\n [class.ea-candlestick-chart__candle--hollow]=\"candle.hollow\"\n [style.--ea-chart-delay]=\"candle.delay + 'ms'\"\n [style.--ea-candlestick-chart-origin]=\"candle.origin + 'px'\">\n <path\n class=\"ea-candlestick-chart__wick\"\n [attr.d]=\"candle.wick\" />\n <rect\n class=\"ea-candlestick-chart__body\"\n [attr.x]=\"candle.body.x\"\n [attr.y]=\"candle.body.y\"\n [attr.width]=\"candle.body.width\"\n [attr.height]=\"candle.body.height\" />\n </g>\n }\n @for (line of layout().referenceLines; track line.key) {\n <g\n class=\"ea-candlestick-chart__reference\"\n [style.--ea-chart-reference-color]=\"line.color\">\n <line\n class=\"ea-candlestick-chart__reference-line\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"line.pos\"\n [attr.y2]=\"line.pos\" />\n @if (line.label) {\n <text\n class=\"ea-candlestick-chart__reference-label\"\n text-anchor=\"end\"\n [attr.x]=\"line.labelX\"\n [attr.y]=\"line.labelY\">\n {{ line.label }}\n </text>\n }\n </g>\n }\n @for (tip of tooltips(); track tip.key) {\n <rect\n class=\"ea-candlestick-chart__anchor\"\n width=\"2\"\n height=\"2\"\n [attr.x]=\"tip.x - 1\"\n [attr.y]=\"tip.y - 1\"\n [eaTooltip]=\"tooltipContent\"\n [tooltipOpen]=\"true\"\n [maxWidth]=\"undefined\" />\n }\n </svg>\n }\n <ng-template #tooltipContent>\n @if (tooltip(); as tip) {\n <div class=\"ea-candlestick-chart__tooltip\">\n <span class=\"ea-candlestick-chart__tooltip-title\">{{ tip.title }}</span>\n @for (row of tip.rows; track $index) {\n <span class=\"ea-candlestick-chart__tooltip-row\">\n <span class=\"ea-candlestick-chart__tooltip-name\">{{ row.name }}</span>\n <span class=\"ea-candlestick-chart__tooltip-value\">{{ row.value }}</span>\n </span>\n }\n </div>\n }\n </ng-template>\n <!-- Hidden through a block, since a table ignores the 1px size and keeps its full height -->\n <div class=\"ea-candlestick-chart__table\">\n <table>\n <caption>\n {{ label() }}\n </caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ i18n.messages().chart.period }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.open }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.high }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.low }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.close }}</th>\n </tr>\n </thead>\n <tbody>\n @for (candle of prices(); track $index; let i = $index) {\n <tr>\n <th scope=\"row\">{{ data()[i].label }}</th>\n <td>{{ tableValue(candle?.open) }}</td>\n <td>{{ tableValue(candle?.high) }}</td>\n <td>{{ tableValue(candle?.low) }}</td>\n <td>{{ tableValue(candle?.close) }}</td>\n </tr>\n }\n </tbody>\n </table>\n @if (references().length) {\n <ul>\n @for (line of references(); track $index) {\n <li>{{ referenceText(line) }}</li>\n }\n </ul>\n }\n </div>\n </div>\n <div\n class=\"ea-candlestick-chart__live\"\n aria-live=\"polite\">\n {{ announcement() }}\n </div>\n } @else {\n <div\n class=\"ea-candlestick-chart__empty\"\n role=\"img\"\n [attr.aria-label]=\"label()\"\n [style.height.px]=\"height()\">\n {{ i18n.messages().chart.noData }}\n </div>\n }\n</div>\n",
12831
+ styles: ["@keyframes ea-chart-fade{0%{opacity:0}}@keyframes ea-chart-draw{0%{stroke-dashoffset:1}}@keyframes ea-chart-grow-y{0%{transform:scaleY(0)}}@keyframes ea-chart-grow-x{0%{transform:scaleX(0)}}@keyframes ea-chart-grow{0%{transform:scale(0)}}ea-candlestick-chart{display:block}.ea-candlestick-chart{position:relative;display:flex;flex-direction:column;gap:.75em;font-family:var(--font-family-sans);color:var(--color-text-primary)}.ea-candlestick-chart--2xs{font-size:var(--font-size-2xs)}.ea-candlestick-chart--xs{font-size:var(--font-size-xs)}.ea-candlestick-chart--sm{font-size:var(--font-size-sm)}.ea-candlestick-chart--md{font-size:var(--font-size-md)}.ea-candlestick-chart--lg{font-size:var(--font-size-lg)}.ea-candlestick-chart--xl{font-size:var(--font-size-xl)}.ea-candlestick-chart__plot{position:relative;border-radius:var(--radius-md);outline:none}.ea-candlestick-chart__plot:focus-visible{outline:var(--border-width-medium) solid var(--color-border-focus);outline-offset:2px}@media(forced-colors:active){.ea-candlestick-chart__plot:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-candlestick-chart__plot svg{display:block;overflow:visible}.ea-candlestick-chart__svg{direction:ltr;touch-action:pan-y}.ea-candlestick-chart__hit{fill:transparent}.ea-candlestick-chart__grid{stroke:var(--color-divider);stroke-width:1px;shape-rendering:crispEdges}.ea-candlestick-chart__baseline,.ea-candlestick-chart__x-tick{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-candlestick-chart__axis{font-size:.75em;fill:var(--color-text-secondary)}.ea-candlestick-chart__crosshair{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-candlestick-chart__reference-line{stroke:var(--ea-chart-reference-color, var(--color-text-secondary));stroke-width:1px;stroke-dasharray:4 3;shape-rendering:crispEdges;pointer-events:none}.ea-candlestick-chart__reference-label{font-size:.75em;fill:var(--color-text-secondary);font-weight:var(--font-weight-medium);stroke:var(--ea-chart-surface, var(--color-bg-base));stroke-width:3px;stroke-linejoin:round;fill:var(--ea-chart-reference-color, var(--color-text-secondary));pointer-events:none;paint-order:stroke}.ea-candlestick-chart__candle{--_ea-candle-color: var( --ea-candlestick-chart-rising-color, var(--color-success-default) );pointer-events:none;transform-box:view-box;transform-origin:0 var(--ea-candlestick-chart-origin)}.ea-candlestick-chart__candle--falling{--_ea-candle-color: var( --ea-candlestick-chart-falling-color, var(--color-error-default) )}.ea-candlestick-chart__wick{fill:none;stroke:var(--_ea-candle-color);stroke-width:1px;shape-rendering:crispEdges}.ea-candlestick-chart__body{fill:var(--_ea-candle-color);shape-rendering:crispEdges}.ea-candlestick-chart__candle--hollow .ea-candlestick-chart__body{stroke:var(--_ea-candle-color);stroke-width:1px;fill:var(--ea-chart-surface, var(--color-bg-base))}.ea-candlestick-chart__tooltip{display:flex;flex-direction:column;gap:var(--space-1)}.ea-candlestick-chart__anchor{fill:transparent}.ea-candlestick-chart__tooltip-title{font-weight:var(--font-weight-medium)}.ea-candlestick-chart__tooltip-row{display:flex;align-items:center;gap:.5em}.ea-candlestick-chart__tooltip-value{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-candlestick-chart__table,.ea-candlestick-chart__live{position:absolute;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;padding:0;margin:-1px;white-space:nowrap;border:0}.ea-candlestick-chart__empty{display:flex;align-items:center;justify-content:center;font-size:.875em;color:var(--color-text-tertiary)}.ea-candlestick-chart--animate-grow .ea-candlestick-chart__candle,.ea-candlestick-chart--animate-cascade .ea-candlestick-chart__candle{animation-name:ea-chart-grow-y;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-candlestick-chart--animate-grow .ea-candlestick-chart__candle,.ea-candlestick-chart--animate-cascade .ea-candlestick-chart__candle{animation:none}}.ea-candlestick-chart--animate-cascade .ea-candlestick-chart__candle{animation-delay:var(--ea-chart-delay, 0ms)}.ea-candlestick-chart--animate-fade .ea-candlestick-chart__candle{animation-name:ea-chart-fade;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-candlestick-chart--animate-fade .ea-candlestick-chart__candle{animation:none}}\n"]
12832
+ }]
12833
+ }],
12834
+ propDecorators: {
12835
+ data: [{
12836
+ type: i0.Input,
12837
+ args: [{
12838
+ isSignal: true,
12839
+ alias: "data",
12840
+ required: false
12841
+ }]
12842
+ }],
12843
+ hollow: [{
12844
+ type: i0.Input,
12845
+ args: [{
12846
+ isSignal: true,
12847
+ alias: "hollow",
12848
+ required: false
12849
+ }]
12850
+ }],
12851
+ risingColor: [{
12852
+ type: i0.Input,
12853
+ args: [{
12854
+ isSignal: true,
12855
+ alias: "risingColor",
12856
+ required: false
12857
+ }]
12858
+ }],
12859
+ fallingColor: [{
12860
+ type: i0.Input,
12861
+ args: [{
12862
+ isSignal: true,
12863
+ alias: "fallingColor",
12864
+ required: false
12865
+ }]
12866
+ }],
12867
+ showGrid: [{
12868
+ type: i0.Input,
12869
+ args: [{
12870
+ isSignal: true,
12871
+ alias: "showGrid",
12872
+ required: false
12873
+ }]
12874
+ }],
12875
+ xLabelOrientation: [{
12876
+ type: i0.Input,
12877
+ args: [{
12878
+ isSignal: true,
12879
+ alias: "xLabelOrientation",
12880
+ required: false
12881
+ }]
12882
+ }],
12883
+ referenceLines: [{
12884
+ type: i0.Input,
12885
+ args: [{
12886
+ isSignal: true,
12887
+ alias: "referenceLines",
12888
+ required: false
12889
+ }]
12890
+ }],
12891
+ height: [{
12892
+ type: i0.Input,
12893
+ args: [{
12894
+ isSignal: true,
12895
+ alias: "height",
12896
+ required: false
12897
+ }]
12898
+ }],
12899
+ size: [{
12900
+ type: i0.Input,
12901
+ args: [{
12902
+ isSignal: true,
12903
+ alias: "size",
12904
+ required: false
12905
+ }]
12906
+ }],
12907
+ animation: [{
12908
+ type: i0.Input,
12909
+ args: [{
12910
+ isSignal: true,
12911
+ alias: "animation",
12912
+ required: false
12913
+ }]
12914
+ }],
12915
+ animationDuration: [{
12916
+ type: i0.Input,
12917
+ args: [{
12918
+ isSignal: true,
12919
+ alias: "animationDuration",
12920
+ required: false
12921
+ }]
12922
+ }],
12923
+ formatValue: [{
12924
+ type: i0.Input,
12925
+ args: [{
12926
+ isSignal: true,
12927
+ alias: "formatValue",
12928
+ required: false
12929
+ }]
12930
+ }],
12931
+ ariaLabel: [{
12932
+ type: i0.Input,
12933
+ args: [{
12934
+ isSignal: true,
12935
+ alias: "aria-label",
12936
+ required: false
12937
+ }]
12938
+ }],
12939
+ candleClick: [{
12940
+ type: i0.Output,
12941
+ args: ["candleClick"]
12942
+ }],
12943
+ activeCandleChange: [{
12944
+ type: i0.Output,
12945
+ args: ["activeCandleChange"]
12946
+ }]
12947
+ }
12948
+ });
12205
12949
  var DividerComponent = class DividerComponent {
12206
12950
  orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
12207
12951
  label = input(void 0, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
@@ -34744,6 +35488,621 @@ i0.ɵɵngDeclareClassMetadata({
34744
35488
  }]
34745
35489
  }
34746
35490
  });
35491
+ const MAX_BAR_RATIO = .6;
35492
+ var WaterfallChartComponent = class WaterfallChartComponent {
35493
+ i18n = inject(EagamiI18nService);
35494
+ data = input([], ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
35495
+ risingColor = input(void 0, ...ngDevMode ? [{ debugName: "risingColor" }] : /* istanbul ignore next */ []);
35496
+ fallingColor = input(void 0, ...ngDevMode ? [{ debugName: "fallingColor" }] : /* istanbul ignore next */ []);
35497
+ totalColor = input(void 0, ...ngDevMode ? [{ debugName: "totalColor" }] : /* istanbul ignore next */ []);
35498
+ showGrid = input(true, ...ngDevMode ? [{ debugName: "showGrid" }] : /* istanbul ignore next */ []);
35499
+ showValues = input(false, ...ngDevMode ? [{ debugName: "showValues" }] : /* istanbul ignore next */ []);
35500
+ showConnectors = input(true, ...ngDevMode ? [{ debugName: "showConnectors" }] : /* istanbul ignore next */ []);
35501
+ xLabelOrientation = input("horizontal", ...ngDevMode ? [{ debugName: "xLabelOrientation" }] : /* istanbul ignore next */ []);
35502
+ referenceLines = input([], ...ngDevMode ? [{ debugName: "referenceLines" }] : /* istanbul ignore next */ []);
35503
+ height = input(240, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
35504
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
35505
+ animation = input("grow", ...ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []);
35506
+ animationDuration = input(600, ...ngDevMode ? [{ debugName: "animationDuration" }] : /* istanbul ignore next */ []);
35507
+ formatValue = input(null, ...ngDevMode ? [{ debugName: "formatValue" }] : /* istanbul ignore next */ []);
35508
+ ariaLabel = input(void 0, {
35509
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
35510
+ alias: "aria-label"
35511
+ });
35512
+ stepClick = output();
35513
+ activeStepChange = output();
35514
+ viewport = injectChartViewport(this.size);
35515
+ format = injectChartFormatter(this.formatValue);
35516
+ active = signal(null, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
35517
+ label = computed(() => this.ariaLabel() || this.i18n.messages().chart.waterfallChart, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
35518
+ steps = computed(() => {
35519
+ let running = 0;
35520
+ return this.data().map(({ value, total }) => {
35521
+ if (total) {
35522
+ if (value != null && isFinite(value)) running = value;
35523
+ return {
35524
+ tone: "total",
35525
+ change: null,
35526
+ start: 0,
35527
+ end: running
35528
+ };
35529
+ }
35530
+ if (value == null || !isFinite(value)) return null;
35531
+ const start = running;
35532
+ running += value;
35533
+ return {
35534
+ tone: value >= 0 ? "rise" : "fall",
35535
+ change: value,
35536
+ start,
35537
+ end: running
35538
+ };
35539
+ });
35540
+ }, ...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
35541
+ hasData = computed(() => this.steps().some((step) => step !== null), ...ngDevMode ? [{ debugName: "hasData" }] : /* istanbul ignore next */ []);
35542
+ references = computed(() => plottableReferenceLines(this.referenceLines()), ...ngDevMode ? [{ debugName: "references" }] : /* istanbul ignore next */ []);
35543
+ renderPass = computed(() => {
35544
+ this.data();
35545
+ this.animation();
35546
+ this.animationDuration();
35547
+ return [{}];
35548
+ }, ...ngDevMode ? [{ debugName: "renderPass" }] : /* istanbul ignore next */ []);
35549
+ hostClasses = computed(() => ({
35550
+ [`ea-waterfall-chart--${this.size()}`]: true,
35551
+ [`ea-waterfall-chart--animate-${this.animation()}`]: true
35552
+ }), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
35553
+ layout = computed(() => {
35554
+ const steps = this.steps();
35555
+ const count = Math.max(1, steps.length);
35556
+ const width = this.viewport.width();
35557
+ const height = this.height();
35558
+ const fontPx = this.viewport.fontSize();
35559
+ const axisPx = fontPx * .75;
35560
+ const format = this.format();
35561
+ const showValues = this.showValues();
35562
+ let lo = 0;
35563
+ let hi = 0;
35564
+ for (const step of steps) if (step) {
35565
+ lo = Math.min(lo, step.start, step.end);
35566
+ hi = Math.max(hi, step.start, step.end);
35567
+ }
35568
+ const references = this.references();
35569
+ for (const { value } of references) {
35570
+ lo = Math.min(lo, value);
35571
+ hi = Math.max(hi, value);
35572
+ }
35573
+ const labelTexts = Array.from({ length: count }, (_, i) => this.data()[i]?.label ?? "");
35574
+ const left = Math.max(0, ...niceScale(lo, hi).ticks.map(format).map((t) => estimateTextWidth(t, axisPx))) + axisPx;
35575
+ const right = axisPx / 2;
35576
+ const top = axisPx + (showValues ? axisPx * 1.5 : 0);
35577
+ const plotWidth = Math.max(1, width - left - right);
35578
+ const band = plotWidth / count;
35579
+ const orientation = this.xLabelOrientation();
35580
+ const angle = orientation === "auto" ? [
35581
+ 0,
35582
+ 45,
35583
+ 90
35584
+ ].find((a) => labelTexts.every((t) => labelRoom(t, a, axisPx) <= band)) ?? 90 : CHART_LABEL_ANGLES[orientation];
35585
+ const bottom = labelBand(Math.max(0, ...labelTexts.map((t) => estimateTextWidth(t, axisPx))), angle, axisPx, height);
35586
+ const plotHeight = Math.max(1, height - top - bottom);
35587
+ const axisY = top + plotHeight;
35588
+ const { min, max, ticks } = niceScale(lo, hi, Math.max(2, Math.floor(plotHeight / (axisPx * 3))));
35589
+ const valuePos = (value) => top + (1 - (clamp$1(value, min, max) - min) / (max - min || 1)) * plotHeight;
35590
+ const center = (index) => left + (index + .5) * band;
35591
+ const barWidth = Math.max(1, Math.min(band * MAX_BAR_RATIO, fontPx * 2.5));
35592
+ const duration = this.animationDuration();
35593
+ const cascadeStep = count > 1 ? duration * .5 / (count - 1) : 0;
35594
+ const bars = [];
35595
+ const valueLabels = [];
35596
+ const connectors = [];
35597
+ let previous = null;
35598
+ for (let index = 0; index < steps.length; index++) {
35599
+ const step = steps[index];
35600
+ if (!step) continue;
35601
+ const startY = valuePos(step.start);
35602
+ const endY = valuePos(step.end);
35603
+ const y = Math.min(startY, endY);
35604
+ const barHeight = Math.max(1, Math.abs(startY - endY));
35605
+ bars.push({
35606
+ index,
35607
+ tone: step.tone,
35608
+ x: center(index) - barWidth / 2,
35609
+ y,
35610
+ width: barWidth,
35611
+ height: barHeight,
35612
+ origin: startY,
35613
+ delay: index * cascadeStep
35614
+ });
35615
+ if (showValues) {
35616
+ const offset = axisPx * .5;
35617
+ const below = y + barHeight + offset + axisPx;
35618
+ const down = step.tone === "fall" || step.tone === "total" && step.end < 0;
35619
+ valueLabels.push({
35620
+ index,
35621
+ x: center(index),
35622
+ y: down && below <= axisY ? below : y - offset,
35623
+ text: step.change === null ? format(step.end) : this.signed(step.change)
35624
+ });
35625
+ }
35626
+ if (previous && previous.level >= Math.min(step.start, step.end) && previous.level <= Math.max(step.start, step.end)) connectors.push({
35627
+ index,
35628
+ x1: center(previous.index) + barWidth / 2,
35629
+ x2: center(index) - barWidth / 2,
35630
+ y: valuePos(previous.level)
35631
+ });
35632
+ previous = {
35633
+ index,
35634
+ level: step.end
35635
+ };
35636
+ }
35637
+ const referenceLines = references.map((line, key) => ({
35638
+ ...line,
35639
+ key,
35640
+ pos: valuePos(line.value)
35641
+ })).filter((line) => line.value >= min && line.value <= max).map((line) => {
35642
+ const above = line.pos - axisPx * 1.4 >= top;
35643
+ return {
35644
+ ...line,
35645
+ labelX: left + plotWidth,
35646
+ labelY: above ? line.pos - axisPx * .4 - 2 : line.pos + axisPx * 1.2
35647
+ };
35648
+ });
35649
+ const widestRoom = Math.max(0, ...labelTexts.map((t) => labelRoom(t, angle, axisPx)));
35650
+ const labelStep = Math.max(1, Math.ceil(widestRoom / band));
35651
+ const categories = labelTexts.map((text, index) => ({
35652
+ text,
35653
+ index,
35654
+ pos: center(index)
35655
+ })).filter((category) => category.index % labelStep === 0);
35656
+ return {
35657
+ width,
35658
+ height,
35659
+ top,
35660
+ left,
35661
+ plotWidth,
35662
+ plotHeight,
35663
+ band,
35664
+ axisPx,
35665
+ axisY,
35666
+ baseline: valuePos(0),
35667
+ ticks: ticks.filter((value) => value >= min && value <= max).map((value) => ({
35668
+ value,
35669
+ text: format(value),
35670
+ pos: valuePos(value)
35671
+ })),
35672
+ categories,
35673
+ bars,
35674
+ valueLabels,
35675
+ connectors,
35676
+ referenceLines,
35677
+ valuePos,
35678
+ tickEndY: axisY + tickLength(axisPx),
35679
+ labelAngle: angle,
35680
+ labelY: labelLine(axisY, angle, axisPx)
35681
+ };
35682
+ }, ...ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []);
35683
+ tooltip = computed(() => {
35684
+ const index = this.active();
35685
+ const step = index === null ? null : this.steps()[index];
35686
+ if (index === null || !step) return null;
35687
+ const layout = this.layout();
35688
+ const messages = this.i18n.messages().chart;
35689
+ const format = this.format();
35690
+ return {
35691
+ x: layout.left + (index + .5) * layout.band,
35692
+ y: layout.valuePos(Math.max(step.start, step.end)),
35693
+ title: this.data()[index]?.label ?? "",
35694
+ rows: step.change === null ? [{
35695
+ name: messages.total,
35696
+ value: format(step.end)
35697
+ }] : [{
35698
+ name: messages.change,
35699
+ value: this.signed(step.change)
35700
+ }, {
35701
+ name: messages.runningTotal,
35702
+ value: format(step.end)
35703
+ }],
35704
+ key: index
35705
+ };
35706
+ }, ...ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []);
35707
+ tooltips = computed(() => {
35708
+ const tip = this.tooltip();
35709
+ return tip ? [tip] : [];
35710
+ }, ...ngDevMode ? [{ debugName: "tooltips" }] : /* istanbul ignore next */ []);
35711
+ announcement = computed(() => {
35712
+ const event = this.eventFor(this.active());
35713
+ if (!event) return "";
35714
+ const messages = this.i18n.messages().chart;
35715
+ const runningTotal = this.format()(event.runningTotal);
35716
+ return event.change === null ? messages.stepTotal(event.label, runningTotal) : messages.step(event.label, this.signed(event.change), runningTotal);
35717
+ }, ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
35718
+ isDimmed(bar) {
35719
+ const active = this.active();
35720
+ return active !== null && active !== bar.index;
35721
+ }
35722
+ referenceText(line) {
35723
+ return this.i18n.messages().chart.referenceLine(line.label ?? "", this.tableValue(line.value));
35724
+ }
35725
+ tableCells(index) {
35726
+ const step = this.steps()[index];
35727
+ if (!step) return ["–", "–"];
35728
+ return [step.change === null ? "–" : this.signed(step.change), this.format()(step.end)];
35729
+ }
35730
+ tableValue(value) {
35731
+ return value == null || !isFinite(value) ? "–" : this.format()(value);
35732
+ }
35733
+ onPointerMove(event) {
35734
+ const rect = event.currentTarget.getBoundingClientRect();
35735
+ const layout = this.layout();
35736
+ const index = Math.floor((event.clientX - rect.left - layout.left) / layout.band);
35737
+ this.setActive(index >= 0 && index < this.steps().length && this.steps()[index] ? index : null);
35738
+ }
35739
+ onPointerLeave() {
35740
+ this.setActive(null);
35741
+ }
35742
+ onClick() {
35743
+ const event = this.eventFor(this.active());
35744
+ if (event) this.stepClick.emit(event);
35745
+ }
35746
+ onFocus() {
35747
+ if (this.active() === null) this.setActive(this.firstFrom(0, 1));
35748
+ }
35749
+ onBlur() {
35750
+ this.setActive(null);
35751
+ }
35752
+ onKeydown(event) {
35753
+ const active = this.active();
35754
+ if (active === null && event.key.startsWith("Arrow")) {
35755
+ event.preventDefault();
35756
+ this.setActive(this.firstFrom(0, 1));
35757
+ return;
35758
+ }
35759
+ if (active === null && event.key !== "Home" && event.key !== "End") return;
35760
+ const last = this.steps().length - 1;
35761
+ let next = active;
35762
+ switch (event.key) {
35763
+ case "ArrowRight":
35764
+ next = this.firstFrom((active ?? -1) + 1, 1) ?? active;
35765
+ break;
35766
+ case "ArrowLeft":
35767
+ next = this.firstFrom((active ?? last + 1) - 1, -1) ?? active;
35768
+ break;
35769
+ case "Home":
35770
+ next = this.firstFrom(0, 1);
35771
+ break;
35772
+ case "End":
35773
+ next = this.firstFrom(last, -1);
35774
+ break;
35775
+ case "Enter":
35776
+ case " ":
35777
+ this.onClick();
35778
+ break;
35779
+ case "Escape":
35780
+ next = null;
35781
+ break;
35782
+ default: return;
35783
+ }
35784
+ event.preventDefault();
35785
+ this.setActive(next);
35786
+ }
35787
+ signed(value) {
35788
+ const text = this.format()(value);
35789
+ return value > 0 ? `+${text}` : text;
35790
+ }
35791
+ firstFrom(index, step) {
35792
+ const steps = this.steps();
35793
+ for (let i = index; i >= 0 && i < steps.length; i += step) if (steps[i]) return i;
35794
+ return null;
35795
+ }
35796
+ eventFor(index) {
35797
+ const step = index === null ? null : this.steps()[index];
35798
+ if (index === null || !step) return null;
35799
+ return {
35800
+ index,
35801
+ label: this.data()[index]?.label ?? "",
35802
+ change: step.change,
35803
+ runningTotal: step.end,
35804
+ total: step.tone === "total"
35805
+ };
35806
+ }
35807
+ setActive(next) {
35808
+ if (this.active() === next) return;
35809
+ this.active.set(next);
35810
+ this.activeStepChange.emit(this.eventFor(next));
35811
+ }
35812
+ static ɵfac = i0.ɵɵngDeclareFactory({
35813
+ minVersion: "12.0.0",
35814
+ version: "22.3.0",
35815
+ ngImport: i0,
35816
+ type: WaterfallChartComponent,
35817
+ deps: [],
35818
+ target: i0.ɵɵFactoryTarget.Component
35819
+ });
35820
+ static ɵcmp = i0.ɵɵngDeclareComponent({
35821
+ minVersion: "17.0.0",
35822
+ version: "22.3.0",
35823
+ type: WaterfallChartComponent,
35824
+ isStandalone: true,
35825
+ selector: "ea-waterfall-chart",
35826
+ inputs: {
35827
+ data: {
35828
+ classPropertyName: "data",
35829
+ publicName: "data",
35830
+ isSignal: true,
35831
+ isRequired: false,
35832
+ transformFunction: null
35833
+ },
35834
+ risingColor: {
35835
+ classPropertyName: "risingColor",
35836
+ publicName: "risingColor",
35837
+ isSignal: true,
35838
+ isRequired: false,
35839
+ transformFunction: null
35840
+ },
35841
+ fallingColor: {
35842
+ classPropertyName: "fallingColor",
35843
+ publicName: "fallingColor",
35844
+ isSignal: true,
35845
+ isRequired: false,
35846
+ transformFunction: null
35847
+ },
35848
+ totalColor: {
35849
+ classPropertyName: "totalColor",
35850
+ publicName: "totalColor",
35851
+ isSignal: true,
35852
+ isRequired: false,
35853
+ transformFunction: null
35854
+ },
35855
+ showGrid: {
35856
+ classPropertyName: "showGrid",
35857
+ publicName: "showGrid",
35858
+ isSignal: true,
35859
+ isRequired: false,
35860
+ transformFunction: null
35861
+ },
35862
+ showValues: {
35863
+ classPropertyName: "showValues",
35864
+ publicName: "showValues",
35865
+ isSignal: true,
35866
+ isRequired: false,
35867
+ transformFunction: null
35868
+ },
35869
+ showConnectors: {
35870
+ classPropertyName: "showConnectors",
35871
+ publicName: "showConnectors",
35872
+ isSignal: true,
35873
+ isRequired: false,
35874
+ transformFunction: null
35875
+ },
35876
+ xLabelOrientation: {
35877
+ classPropertyName: "xLabelOrientation",
35878
+ publicName: "xLabelOrientation",
35879
+ isSignal: true,
35880
+ isRequired: false,
35881
+ transformFunction: null
35882
+ },
35883
+ referenceLines: {
35884
+ classPropertyName: "referenceLines",
35885
+ publicName: "referenceLines",
35886
+ isSignal: true,
35887
+ isRequired: false,
35888
+ transformFunction: null
35889
+ },
35890
+ height: {
35891
+ classPropertyName: "height",
35892
+ publicName: "height",
35893
+ isSignal: true,
35894
+ isRequired: false,
35895
+ transformFunction: null
35896
+ },
35897
+ size: {
35898
+ classPropertyName: "size",
35899
+ publicName: "size",
35900
+ isSignal: true,
35901
+ isRequired: false,
35902
+ transformFunction: null
35903
+ },
35904
+ animation: {
35905
+ classPropertyName: "animation",
35906
+ publicName: "animation",
35907
+ isSignal: true,
35908
+ isRequired: false,
35909
+ transformFunction: null
35910
+ },
35911
+ animationDuration: {
35912
+ classPropertyName: "animationDuration",
35913
+ publicName: "animationDuration",
35914
+ isSignal: true,
35915
+ isRequired: false,
35916
+ transformFunction: null
35917
+ },
35918
+ formatValue: {
35919
+ classPropertyName: "formatValue",
35920
+ publicName: "formatValue",
35921
+ isSignal: true,
35922
+ isRequired: false,
35923
+ transformFunction: null
35924
+ },
35925
+ ariaLabel: {
35926
+ classPropertyName: "ariaLabel",
35927
+ publicName: "aria-label",
35928
+ isSignal: true,
35929
+ isRequired: false,
35930
+ transformFunction: null
35931
+ }
35932
+ },
35933
+ outputs: {
35934
+ stepClick: "stepClick",
35935
+ activeStepChange: "activeStepChange"
35936
+ },
35937
+ ngImport: i0,
35938
+ template: "<div\n class=\"ea-waterfall-chart\"\n [class]=\"hostClasses()\"\n [style.--ea-chart-duration]=\"animationDuration() + 'ms'\"\n [style.--ea-waterfall-chart-rising-color]=\"risingColor() || null\"\n [style.--ea-waterfall-chart-falling-color]=\"fallingColor() || null\"\n [style.--ea-waterfall-chart-total-color]=\"totalColor() || null\">\n @if (hasData()) {\n <div\n class=\"ea-waterfall-chart__plot\"\n role=\"group\"\n tabindex=\"0\"\n [attr.aria-roledescription]=\"i18n.messages().chart.roleDescription\"\n [attr.aria-label]=\"label()\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keydown)=\"onKeydown($event)\">\n @for (pass of renderPass(); track pass) {\n <svg\n class=\"ea-waterfall-chart__svg\"\n aria-hidden=\"true\"\n [attr.width]=\"layout().width\"\n [attr.height]=\"layout().height\"\n [attr.viewBox]=\"'0 0 ' + layout().width + ' ' + layout().height\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerdown)=\"onPointerMove($event)\"\n (pointerleave)=\"onPointerLeave()\"\n (click)=\"onClick()\">\n <rect\n class=\"ea-waterfall-chart__hit\"\n [attr.x]=\"layout().left\"\n [attr.y]=\"layout().top\"\n [attr.width]=\"layout().plotWidth\"\n [attr.height]=\"layout().plotHeight\" />\n @for (tick of layout().ticks; track tick.value) {\n @if (showGrid()) {\n <line\n class=\"ea-waterfall-chart__grid\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"tick.pos\"\n [attr.y2]=\"tick.pos\" />\n }\n <text\n class=\"ea-waterfall-chart__axis\"\n text-anchor=\"end\"\n dominant-baseline=\"middle\"\n [attr.x]=\"layout().left - layout().axisPx / 2\"\n [attr.y]=\"tick.pos\">\n {{ tick.text }}\n </text>\n }\n @for (category of layout().categories; track category.index) {\n <line\n class=\"ea-waterfall-chart__x-tick\"\n [attr.x1]=\"category.pos\"\n [attr.x2]=\"category.pos\"\n [attr.y1]=\"layout().axisY\"\n [attr.y2]=\"layout().tickEndY\" />\n <text\n class=\"ea-waterfall-chart__axis\"\n [attr.text-anchor]=\"layout().labelAngle ? 'end' : 'middle'\"\n [attr.dominant-baseline]=\"layout().labelAngle ? 'central' : null\"\n [attr.transform]=\"\n layout().labelAngle\n ? 'rotate(' +\n -layout().labelAngle +\n ' ' +\n category.pos +\n ' ' +\n layout().labelY +\n ')'\n : null\n \"\n [attr.x]=\"category.pos\"\n [attr.y]=\"layout().labelY\">\n {{ category.text }}\n </text>\n }\n @if (showConnectors()) {\n @for (connector of layout().connectors; track connector.index) {\n <line\n class=\"ea-waterfall-chart__connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\" />\n }\n }\n @for (bar of layout().bars; track bar.index) {\n <rect\n class=\"ea-waterfall-chart__bar\"\n [class.ea-waterfall-chart__bar--rise]=\"bar.tone === 'rise'\"\n [class.ea-waterfall-chart__bar--fall]=\"bar.tone === 'fall'\"\n [class.ea-waterfall-chart__bar--total]=\"bar.tone === 'total'\"\n [class.ea-waterfall-chart__bar--dimmed]=\"isDimmed(bar)\"\n [style.--ea-chart-delay]=\"bar.delay + 'ms'\"\n [style.--ea-waterfall-chart-origin]=\"bar.origin + 'px'\"\n [attr.x]=\"bar.x\"\n [attr.y]=\"bar.y\"\n [attr.width]=\"bar.width\"\n [attr.height]=\"bar.height\" />\n }\n <line\n class=\"ea-waterfall-chart__baseline\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"layout().baseline\"\n [attr.y2]=\"layout().baseline\" />\n @for (line of layout().referenceLines; track line.key) {\n <g\n class=\"ea-waterfall-chart__reference\"\n [style.--ea-chart-reference-color]=\"line.color\">\n <line\n class=\"ea-waterfall-chart__reference-line\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"line.pos\"\n [attr.y2]=\"line.pos\" />\n @if (line.label) {\n <text\n class=\"ea-waterfall-chart__reference-label\"\n text-anchor=\"end\"\n [attr.x]=\"line.labelX\"\n [attr.y]=\"line.labelY\">\n {{ line.label }}\n </text>\n }\n </g>\n }\n @for (valueLabel of layout().valueLabels; track valueLabel.index) {\n <text\n class=\"ea-waterfall-chart__value\"\n text-anchor=\"middle\"\n [attr.x]=\"valueLabel.x\"\n [attr.y]=\"valueLabel.y\">\n {{ valueLabel.text }}\n </text>\n }\n @for (tip of tooltips(); track tip.key) {\n <rect\n class=\"ea-waterfall-chart__anchor\"\n width=\"2\"\n height=\"2\"\n [attr.x]=\"tip.x - 1\"\n [attr.y]=\"tip.y - 1\"\n [eaTooltip]=\"tooltipContent\"\n [tooltipOpen]=\"true\"\n [maxWidth]=\"undefined\" />\n }\n </svg>\n }\n <ng-template #tooltipContent>\n @if (tooltip(); as tip) {\n <div class=\"ea-waterfall-chart__tooltip\">\n <span class=\"ea-waterfall-chart__tooltip-title\">{{ tip.title }}</span>\n @for (row of tip.rows; track $index) {\n <span class=\"ea-waterfall-chart__tooltip-row\">\n <span class=\"ea-waterfall-chart__tooltip-name\">{{ row.name }}</span>\n <span class=\"ea-waterfall-chart__tooltip-value\">{{ row.value }}</span>\n </span>\n }\n </div>\n }\n </ng-template>\n <!-- Hidden through a block, since a table ignores the 1px size and keeps its full height -->\n <div class=\"ea-waterfall-chart__table\">\n <table>\n <caption>\n {{ label() }}\n </caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ i18n.messages().chart.category }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.change }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.runningTotal }}</th>\n </tr>\n </thead>\n <tbody>\n @for (step of data(); track $index; let i = $index) {\n <tr>\n <th scope=\"row\">{{ step.label }}</th>\n @for (cell of tableCells(i); track $index) {\n <td>{{ cell }}</td>\n }\n </tr>\n }\n </tbody>\n </table>\n @if (references().length) {\n <ul>\n @for (line of references(); track $index) {\n <li>{{ referenceText(line) }}</li>\n }\n </ul>\n }\n </div>\n </div>\n <div\n class=\"ea-waterfall-chart__live\"\n aria-live=\"polite\">\n {{ announcement() }}\n </div>\n } @else {\n <div\n class=\"ea-waterfall-chart__empty\"\n role=\"img\"\n [attr.aria-label]=\"label()\"\n [style.height.px]=\"height()\">\n {{ i18n.messages().chart.noData }}\n </div>\n }\n</div>\n",
35939
+ styles: ["@keyframes ea-chart-fade{0%{opacity:0}}@keyframes ea-chart-draw{0%{stroke-dashoffset:1}}@keyframes ea-chart-grow-y{0%{transform:scaleY(0)}}@keyframes ea-chart-grow-x{0%{transform:scaleX(0)}}@keyframes ea-chart-grow{0%{transform:scale(0)}}ea-waterfall-chart{display:block}.ea-waterfall-chart{position:relative;display:flex;flex-direction:column;gap:.75em;font-family:var(--font-family-sans);color:var(--color-text-primary)}.ea-waterfall-chart--2xs{font-size:var(--font-size-2xs)}.ea-waterfall-chart--xs{font-size:var(--font-size-xs)}.ea-waterfall-chart--sm{font-size:var(--font-size-sm)}.ea-waterfall-chart--md{font-size:var(--font-size-md)}.ea-waterfall-chart--lg{font-size:var(--font-size-lg)}.ea-waterfall-chart--xl{font-size:var(--font-size-xl)}.ea-waterfall-chart__plot{position:relative;border-radius:var(--radius-md);outline:none}.ea-waterfall-chart__plot:focus-visible{outline:var(--border-width-medium) solid var(--color-border-focus);outline-offset:2px}@media(forced-colors:active){.ea-waterfall-chart__plot:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-waterfall-chart__plot svg{display:block;overflow:visible}.ea-waterfall-chart__svg{direction:ltr;touch-action:pan-y}.ea-waterfall-chart__hit{fill:transparent}.ea-waterfall-chart__grid{stroke:var(--color-divider);stroke-width:1px;shape-rendering:crispEdges}.ea-waterfall-chart__baseline,.ea-waterfall-chart__x-tick{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-waterfall-chart__axis{font-size:.75em;fill:var(--color-text-secondary)}.ea-waterfall-chart__connector{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-waterfall-chart__reference-line{stroke:var(--ea-chart-reference-color, var(--color-text-secondary));stroke-width:1px;stroke-dasharray:4 3;shape-rendering:crispEdges;pointer-events:none}.ea-waterfall-chart__reference-label{font-size:.75em;fill:var(--color-text-secondary);font-weight:var(--font-weight-medium);stroke:var(--ea-chart-surface, var(--color-bg-base));stroke-width:3px;stroke-linejoin:round;fill:var(--ea-chart-reference-color, var(--color-text-secondary));pointer-events:none;paint-order:stroke}.ea-waterfall-chart__value{font-size:.75em;fill:var(--color-text-secondary);font-variant-numeric:tabular-nums;fill:var(--color-text-primary);pointer-events:none}.ea-waterfall-chart__bar{fill:var(--ea-waterfall-chart-rising-color, var(--color-success-default));shape-rendering:crispEdges;pointer-events:none;transition:opacity var(--duration-fast) var(--ease-out);transform-box:view-box;transform-origin:0 var(--ea-waterfall-chart-origin)}.ea-waterfall-chart__bar--fall{fill:var(--ea-waterfall-chart-falling-color, var(--color-error-default))}.ea-waterfall-chart__bar--total{fill:var(--ea-waterfall-chart-total-color, var(--color-chart-1))}.ea-waterfall-chart__bar--dimmed{opacity:.35}.ea-waterfall-chart__tooltip{display:flex;flex-direction:column;gap:var(--space-1)}.ea-waterfall-chart__anchor{fill:transparent}.ea-waterfall-chart__tooltip-title{font-weight:var(--font-weight-medium)}.ea-waterfall-chart__tooltip-row{display:flex;align-items:center;gap:.5em}.ea-waterfall-chart__tooltip-value{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-waterfall-chart__table,.ea-waterfall-chart__live{position:absolute;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;padding:0;margin:-1px;white-space:nowrap;border:0}.ea-waterfall-chart__empty{display:flex;align-items:center;justify-content:center;font-size:.875em;color:var(--color-text-tertiary)}.ea-waterfall-chart--animate-grow .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__bar{animation-name:ea-chart-grow-y;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-waterfall-chart--animate-grow .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__bar{animation:none}}.ea-waterfall-chart--animate-grow .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-grow .ea-waterfall-chart__value,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__value{animation-name:ea-chart-fade;animation-delay:calc(var(--ea-chart-duration, .6s) * .8);animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-waterfall-chart--animate-grow .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-grow .ea-waterfall-chart__value,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__value{animation:none}}.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__bar{animation-delay:var(--ea-chart-delay, 0ms)}.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__value{animation-delay:calc(var(--ea-chart-duration, .6s) * 1.3)}.ea-waterfall-chart--animate-fade .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__value{animation-name:ea-chart-fade;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-waterfall-chart--animate-fade .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__value{animation:none}}\n"],
35940
+ dependencies: [{
35941
+ kind: "directive",
35942
+ type: TooltipDirective,
35943
+ selector: "[eaTooltip]",
35944
+ inputs: [
35945
+ "eaTooltip",
35946
+ "tooltipPosition",
35947
+ "flip",
35948
+ "whenClipped",
35949
+ "maxWidth",
35950
+ "showDelay",
35951
+ "dismissDelay",
35952
+ "tooltipOpen"
35953
+ ]
35954
+ }],
35955
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
35956
+ encapsulation: i0.ViewEncapsulation.None
35957
+ });
35958
+ };
35959
+ i0.ɵɵngDeclareClassMetadata({
35960
+ minVersion: "12.0.0",
35961
+ version: "22.3.0",
35962
+ ngImport: i0,
35963
+ type: WaterfallChartComponent,
35964
+ decorators: [{
35965
+ type: Component,
35966
+ args: [{
35967
+ selector: "ea-waterfall-chart",
35968
+ imports: [TooltipDirective],
35969
+ changeDetection: ChangeDetectionStrategy.OnPush,
35970
+ encapsulation: ViewEncapsulation.None,
35971
+ template: "<div\n class=\"ea-waterfall-chart\"\n [class]=\"hostClasses()\"\n [style.--ea-chart-duration]=\"animationDuration() + 'ms'\"\n [style.--ea-waterfall-chart-rising-color]=\"risingColor() || null\"\n [style.--ea-waterfall-chart-falling-color]=\"fallingColor() || null\"\n [style.--ea-waterfall-chart-total-color]=\"totalColor() || null\">\n @if (hasData()) {\n <div\n class=\"ea-waterfall-chart__plot\"\n role=\"group\"\n tabindex=\"0\"\n [attr.aria-roledescription]=\"i18n.messages().chart.roleDescription\"\n [attr.aria-label]=\"label()\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keydown)=\"onKeydown($event)\">\n @for (pass of renderPass(); track pass) {\n <svg\n class=\"ea-waterfall-chart__svg\"\n aria-hidden=\"true\"\n [attr.width]=\"layout().width\"\n [attr.height]=\"layout().height\"\n [attr.viewBox]=\"'0 0 ' + layout().width + ' ' + layout().height\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerdown)=\"onPointerMove($event)\"\n (pointerleave)=\"onPointerLeave()\"\n (click)=\"onClick()\">\n <rect\n class=\"ea-waterfall-chart__hit\"\n [attr.x]=\"layout().left\"\n [attr.y]=\"layout().top\"\n [attr.width]=\"layout().plotWidth\"\n [attr.height]=\"layout().plotHeight\" />\n @for (tick of layout().ticks; track tick.value) {\n @if (showGrid()) {\n <line\n class=\"ea-waterfall-chart__grid\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"tick.pos\"\n [attr.y2]=\"tick.pos\" />\n }\n <text\n class=\"ea-waterfall-chart__axis\"\n text-anchor=\"end\"\n dominant-baseline=\"middle\"\n [attr.x]=\"layout().left - layout().axisPx / 2\"\n [attr.y]=\"tick.pos\">\n {{ tick.text }}\n </text>\n }\n @for (category of layout().categories; track category.index) {\n <line\n class=\"ea-waterfall-chart__x-tick\"\n [attr.x1]=\"category.pos\"\n [attr.x2]=\"category.pos\"\n [attr.y1]=\"layout().axisY\"\n [attr.y2]=\"layout().tickEndY\" />\n <text\n class=\"ea-waterfall-chart__axis\"\n [attr.text-anchor]=\"layout().labelAngle ? 'end' : 'middle'\"\n [attr.dominant-baseline]=\"layout().labelAngle ? 'central' : null\"\n [attr.transform]=\"\n layout().labelAngle\n ? 'rotate(' +\n -layout().labelAngle +\n ' ' +\n category.pos +\n ' ' +\n layout().labelY +\n ')'\n : null\n \"\n [attr.x]=\"category.pos\"\n [attr.y]=\"layout().labelY\">\n {{ category.text }}\n </text>\n }\n @if (showConnectors()) {\n @for (connector of layout().connectors; track connector.index) {\n <line\n class=\"ea-waterfall-chart__connector\"\n [attr.x1]=\"connector.x1\"\n [attr.x2]=\"connector.x2\"\n [attr.y1]=\"connector.y\"\n [attr.y2]=\"connector.y\" />\n }\n }\n @for (bar of layout().bars; track bar.index) {\n <rect\n class=\"ea-waterfall-chart__bar\"\n [class.ea-waterfall-chart__bar--rise]=\"bar.tone === 'rise'\"\n [class.ea-waterfall-chart__bar--fall]=\"bar.tone === 'fall'\"\n [class.ea-waterfall-chart__bar--total]=\"bar.tone === 'total'\"\n [class.ea-waterfall-chart__bar--dimmed]=\"isDimmed(bar)\"\n [style.--ea-chart-delay]=\"bar.delay + 'ms'\"\n [style.--ea-waterfall-chart-origin]=\"bar.origin + 'px'\"\n [attr.x]=\"bar.x\"\n [attr.y]=\"bar.y\"\n [attr.width]=\"bar.width\"\n [attr.height]=\"bar.height\" />\n }\n <line\n class=\"ea-waterfall-chart__baseline\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"layout().baseline\"\n [attr.y2]=\"layout().baseline\" />\n @for (line of layout().referenceLines; track line.key) {\n <g\n class=\"ea-waterfall-chart__reference\"\n [style.--ea-chart-reference-color]=\"line.color\">\n <line\n class=\"ea-waterfall-chart__reference-line\"\n [attr.x1]=\"layout().left\"\n [attr.x2]=\"layout().left + layout().plotWidth\"\n [attr.y1]=\"line.pos\"\n [attr.y2]=\"line.pos\" />\n @if (line.label) {\n <text\n class=\"ea-waterfall-chart__reference-label\"\n text-anchor=\"end\"\n [attr.x]=\"line.labelX\"\n [attr.y]=\"line.labelY\">\n {{ line.label }}\n </text>\n }\n </g>\n }\n @for (valueLabel of layout().valueLabels; track valueLabel.index) {\n <text\n class=\"ea-waterfall-chart__value\"\n text-anchor=\"middle\"\n [attr.x]=\"valueLabel.x\"\n [attr.y]=\"valueLabel.y\">\n {{ valueLabel.text }}\n </text>\n }\n @for (tip of tooltips(); track tip.key) {\n <rect\n class=\"ea-waterfall-chart__anchor\"\n width=\"2\"\n height=\"2\"\n [attr.x]=\"tip.x - 1\"\n [attr.y]=\"tip.y - 1\"\n [eaTooltip]=\"tooltipContent\"\n [tooltipOpen]=\"true\"\n [maxWidth]=\"undefined\" />\n }\n </svg>\n }\n <ng-template #tooltipContent>\n @if (tooltip(); as tip) {\n <div class=\"ea-waterfall-chart__tooltip\">\n <span class=\"ea-waterfall-chart__tooltip-title\">{{ tip.title }}</span>\n @for (row of tip.rows; track $index) {\n <span class=\"ea-waterfall-chart__tooltip-row\">\n <span class=\"ea-waterfall-chart__tooltip-name\">{{ row.name }}</span>\n <span class=\"ea-waterfall-chart__tooltip-value\">{{ row.value }}</span>\n </span>\n }\n </div>\n }\n </ng-template>\n <!-- Hidden through a block, since a table ignores the 1px size and keeps its full height -->\n <div class=\"ea-waterfall-chart__table\">\n <table>\n <caption>\n {{ label() }}\n </caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ i18n.messages().chart.category }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.change }}</th>\n <th scope=\"col\">{{ i18n.messages().chart.runningTotal }}</th>\n </tr>\n </thead>\n <tbody>\n @for (step of data(); track $index; let i = $index) {\n <tr>\n <th scope=\"row\">{{ step.label }}</th>\n @for (cell of tableCells(i); track $index) {\n <td>{{ cell }}</td>\n }\n </tr>\n }\n </tbody>\n </table>\n @if (references().length) {\n <ul>\n @for (line of references(); track $index) {\n <li>{{ referenceText(line) }}</li>\n }\n </ul>\n }\n </div>\n </div>\n <div\n class=\"ea-waterfall-chart__live\"\n aria-live=\"polite\">\n {{ announcement() }}\n </div>\n } @else {\n <div\n class=\"ea-waterfall-chart__empty\"\n role=\"img\"\n [attr.aria-label]=\"label()\"\n [style.height.px]=\"height()\">\n {{ i18n.messages().chart.noData }}\n </div>\n }\n</div>\n",
35972
+ styles: ["@keyframes ea-chart-fade{0%{opacity:0}}@keyframes ea-chart-draw{0%{stroke-dashoffset:1}}@keyframes ea-chart-grow-y{0%{transform:scaleY(0)}}@keyframes ea-chart-grow-x{0%{transform:scaleX(0)}}@keyframes ea-chart-grow{0%{transform:scale(0)}}ea-waterfall-chart{display:block}.ea-waterfall-chart{position:relative;display:flex;flex-direction:column;gap:.75em;font-family:var(--font-family-sans);color:var(--color-text-primary)}.ea-waterfall-chart--2xs{font-size:var(--font-size-2xs)}.ea-waterfall-chart--xs{font-size:var(--font-size-xs)}.ea-waterfall-chart--sm{font-size:var(--font-size-sm)}.ea-waterfall-chart--md{font-size:var(--font-size-md)}.ea-waterfall-chart--lg{font-size:var(--font-size-lg)}.ea-waterfall-chart--xl{font-size:var(--font-size-xl)}.ea-waterfall-chart__plot{position:relative;border-radius:var(--radius-md);outline:none}.ea-waterfall-chart__plot:focus-visible{outline:var(--border-width-medium) solid var(--color-border-focus);outline-offset:2px}@media(forced-colors:active){.ea-waterfall-chart__plot:focus-visible{outline:2px solid Highlight;outline-offset:2px}}.ea-waterfall-chart__plot svg{display:block;overflow:visible}.ea-waterfall-chart__svg{direction:ltr;touch-action:pan-y}.ea-waterfall-chart__hit{fill:transparent}.ea-waterfall-chart__grid{stroke:var(--color-divider);stroke-width:1px;shape-rendering:crispEdges}.ea-waterfall-chart__baseline,.ea-waterfall-chart__x-tick{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-waterfall-chart__axis{font-size:.75em;fill:var(--color-text-secondary)}.ea-waterfall-chart__connector{stroke:var(--color-border-strong);stroke-width:1px;shape-rendering:crispEdges;pointer-events:none}.ea-waterfall-chart__reference-line{stroke:var(--ea-chart-reference-color, var(--color-text-secondary));stroke-width:1px;stroke-dasharray:4 3;shape-rendering:crispEdges;pointer-events:none}.ea-waterfall-chart__reference-label{font-size:.75em;fill:var(--color-text-secondary);font-weight:var(--font-weight-medium);stroke:var(--ea-chart-surface, var(--color-bg-base));stroke-width:3px;stroke-linejoin:round;fill:var(--ea-chart-reference-color, var(--color-text-secondary));pointer-events:none;paint-order:stroke}.ea-waterfall-chart__value{font-size:.75em;fill:var(--color-text-secondary);font-variant-numeric:tabular-nums;fill:var(--color-text-primary);pointer-events:none}.ea-waterfall-chart__bar{fill:var(--ea-waterfall-chart-rising-color, var(--color-success-default));shape-rendering:crispEdges;pointer-events:none;transition:opacity var(--duration-fast) var(--ease-out);transform-box:view-box;transform-origin:0 var(--ea-waterfall-chart-origin)}.ea-waterfall-chart__bar--fall{fill:var(--ea-waterfall-chart-falling-color, var(--color-error-default))}.ea-waterfall-chart__bar--total{fill:var(--ea-waterfall-chart-total-color, var(--color-chart-1))}.ea-waterfall-chart__bar--dimmed{opacity:.35}.ea-waterfall-chart__tooltip{display:flex;flex-direction:column;gap:var(--space-1)}.ea-waterfall-chart__anchor{fill:transparent}.ea-waterfall-chart__tooltip-title{font-weight:var(--font-weight-medium)}.ea-waterfall-chart__tooltip-row{display:flex;align-items:center;gap:.5em}.ea-waterfall-chart__tooltip-value{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-waterfall-chart__table,.ea-waterfall-chart__live{position:absolute;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;padding:0;margin:-1px;white-space:nowrap;border:0}.ea-waterfall-chart__empty{display:flex;align-items:center;justify-content:center;font-size:.875em;color:var(--color-text-tertiary)}.ea-waterfall-chart--animate-grow .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__bar{animation-name:ea-chart-grow-y;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-waterfall-chart--animate-grow .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__bar{animation:none}}.ea-waterfall-chart--animate-grow .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-grow .ea-waterfall-chart__value,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__value{animation-name:ea-chart-fade;animation-delay:calc(var(--ea-chart-duration, .6s) * .8);animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-waterfall-chart--animate-grow .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-grow .ea-waterfall-chart__value,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__value{animation:none}}.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__bar{animation-delay:var(--ea-chart-delay, 0ms)}.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-cascade .ea-waterfall-chart__value{animation-delay:calc(var(--ea-chart-duration, .6s) * 1.3)}.ea-waterfall-chart--animate-fade .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__value{animation-name:ea-chart-fade;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:both}@media(prefers-reduced-motion:reduce){.ea-waterfall-chart--animate-fade .ea-waterfall-chart__bar,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__connector,.ea-waterfall-chart--animate-fade .ea-waterfall-chart__value{animation:none}}\n"]
35973
+ }]
35974
+ }],
35975
+ propDecorators: {
35976
+ data: [{
35977
+ type: i0.Input,
35978
+ args: [{
35979
+ isSignal: true,
35980
+ alias: "data",
35981
+ required: false
35982
+ }]
35983
+ }],
35984
+ risingColor: [{
35985
+ type: i0.Input,
35986
+ args: [{
35987
+ isSignal: true,
35988
+ alias: "risingColor",
35989
+ required: false
35990
+ }]
35991
+ }],
35992
+ fallingColor: [{
35993
+ type: i0.Input,
35994
+ args: [{
35995
+ isSignal: true,
35996
+ alias: "fallingColor",
35997
+ required: false
35998
+ }]
35999
+ }],
36000
+ totalColor: [{
36001
+ type: i0.Input,
36002
+ args: [{
36003
+ isSignal: true,
36004
+ alias: "totalColor",
36005
+ required: false
36006
+ }]
36007
+ }],
36008
+ showGrid: [{
36009
+ type: i0.Input,
36010
+ args: [{
36011
+ isSignal: true,
36012
+ alias: "showGrid",
36013
+ required: false
36014
+ }]
36015
+ }],
36016
+ showValues: [{
36017
+ type: i0.Input,
36018
+ args: [{
36019
+ isSignal: true,
36020
+ alias: "showValues",
36021
+ required: false
36022
+ }]
36023
+ }],
36024
+ showConnectors: [{
36025
+ type: i0.Input,
36026
+ args: [{
36027
+ isSignal: true,
36028
+ alias: "showConnectors",
36029
+ required: false
36030
+ }]
36031
+ }],
36032
+ xLabelOrientation: [{
36033
+ type: i0.Input,
36034
+ args: [{
36035
+ isSignal: true,
36036
+ alias: "xLabelOrientation",
36037
+ required: false
36038
+ }]
36039
+ }],
36040
+ referenceLines: [{
36041
+ type: i0.Input,
36042
+ args: [{
36043
+ isSignal: true,
36044
+ alias: "referenceLines",
36045
+ required: false
36046
+ }]
36047
+ }],
36048
+ height: [{
36049
+ type: i0.Input,
36050
+ args: [{
36051
+ isSignal: true,
36052
+ alias: "height",
36053
+ required: false
36054
+ }]
36055
+ }],
36056
+ size: [{
36057
+ type: i0.Input,
36058
+ args: [{
36059
+ isSignal: true,
36060
+ alias: "size",
36061
+ required: false
36062
+ }]
36063
+ }],
36064
+ animation: [{
36065
+ type: i0.Input,
36066
+ args: [{
36067
+ isSignal: true,
36068
+ alias: "animation",
36069
+ required: false
36070
+ }]
36071
+ }],
36072
+ animationDuration: [{
36073
+ type: i0.Input,
36074
+ args: [{
36075
+ isSignal: true,
36076
+ alias: "animationDuration",
36077
+ required: false
36078
+ }]
36079
+ }],
36080
+ formatValue: [{
36081
+ type: i0.Input,
36082
+ args: [{
36083
+ isSignal: true,
36084
+ alias: "formatValue",
36085
+ required: false
36086
+ }]
36087
+ }],
36088
+ ariaLabel: [{
36089
+ type: i0.Input,
36090
+ args: [{
36091
+ isSignal: true,
36092
+ alias: "aria-label",
36093
+ required: false
36094
+ }]
36095
+ }],
36096
+ stepClick: [{
36097
+ type: i0.Output,
36098
+ args: ["stepClick"]
36099
+ }],
36100
+ activeStepChange: [{
36101
+ type: i0.Output,
36102
+ args: ["activeStepChange"]
36103
+ }]
36104
+ }
36105
+ });
34747
36106
  const DISPLAY_NAME_OVERRIDES = {
34748
36107
  codepen: "CodePen",
34749
36108
  codesandbox: "CodeSandbox",
@@ -90686,6 +92045,6 @@ const ICONS = /* @__PURE__ */ [
90686
92045
  ZoomInIconComponent,
90687
92046
  ZoomOutIconComponent
90688
92047
  ].sort((a, b) => a.slug.localeCompare(b.slug));
90689
- export { AccessibilityIconComponent, AccordionComponent, AccordionItemComponent, ActivityIconComponent, AirplayIconComponent, AlarmClockIconComponent, AlertCircle2IconComponent, AlertCircleIconComponent, AlertComponent, AlertOctagonIconComponent, AlertTriangleIconComponent, AlignCenterIconComponent, AlignJustifyIconComponent, AlignLeftIconComponent, AlignRightIconComponent, AnchorIconComponent, AndroidIconComponent, AngularIconComponent, AnthropicIconComponent, ApertureIconComponent, ArchiveIconComponent, ArrayIconComponent, ArrowDownCircleIconComponent, ArrowDownIconComponent, ArrowDownLeftIconComponent, ArrowDownRightIconComponent, ArrowLeftCircleIconComponent, ArrowLeftIconComponent, ArrowLeftRightIconComponent, ArrowRightCircleIconComponent, ArrowRightIconComponent, ArrowUpCircleIconComponent, ArrowUpDownIconComponent, ArrowUpIconComponent, ArrowUpLeftIconComponent, ArrowUpRightIconComponent, AspectRatioIconComponent, AtSignIconComponent, AutocompleteComponent, AvatarComponent, AvatarEditorComponent, AwardIconComponent, BadgeCheckIconComponent, BadgeComponent, BanIconComponent, BanknoteIconComponent, BarChart2IconComponent, BarChartComponent, BarChartIconComponent, BasketIconComponent, BatteryChargingIconComponent, BatteryIconComponent, BedIconComponent, BellIconComponent, BellOffIconComponent, BellRingIconComponent, BikeIconComponent, BitcoinIconComponent, BlueskyIconComponent, BluetoothIconComponent, BoldIconComponent, BookIconComponent, BookOpenIconComponent, BookmarkCheckIconComponent, BookmarkIconComponent, BookmarkPlusIconComponent, BoomboxIconComponent, BotIconComponent, BottleIconComponent, BoxIconComponent, BracesIconComponent, BrainIconComponent, BreadcrumbsComponent, BriefcaseIconComponent, BugIconComponent, BuildingIconComponent, BusIconComponent, ButtonComponent, ButtonLinkComponent, CakeIconComponent, CalculatorIconComponent, CalendarCheckIconComponent, CalendarClockIconComponent, CalendarDaysIconComponent, CalendarIconComponent, CalendarPlusIconComponent, CameraIconComponent, CameraOffIconComponent, CandleIconComponent, CarIconComponent, CardComponent, CassetteTapeIconComponent, CastIconComponent, CheckCheckIconComponent, CheckCircleIconComponent, CheckIconComponent, CheckSquareIconComponent, CheckboxComponent, ChevronDownIconComponent, ChevronLeftIconComponent, ChevronRightIconComponent, ChevronUpIconComponent, ChevronsDownIconComponent, ChevronsLeftIconComponent, ChevronsRightIconComponent, ChevronsUpDownIconComponent, ChevronsUpIconComponent, ChromeIconComponent, CircleIconComponent, ClapperboardIconComponent, ClipboardCheckIconComponent, ClipboardIconComponent, ClipboardListIconComponent, ClipboardPasteIconComponent, ClockIconComponent, CloudDrizzleIconComponent, CloudIconComponent, CloudLightningIconComponent, CloudOffIconComponent, CloudRainIconComponent, CloudSnowIconComponent, CloudSunIconComponent, CloudflareIconComponent, CodeIconComponent, CodeInputComponent, CodepenIconComponent, CodesandboxIconComponent, CoffeeIconComponent, CoinsIconComponent, ColorPickerComponent, ColumnsIconComponent, CommandIconComponent, CommandPaletteComponent, CompassIconComponent, ContextMenuTriggerDirective, ContrastIconComponent, CookieIconComponent, CopyIconComponent, CornerDownLeftIconComponent, CornerDownRightIconComponent, CornerLeftDownIconComponent, CornerLeftUpIconComponent, CornerRightDownIconComponent, CornerRightUpIconComponent, CornerUpLeftIconComponent, CornerUpRightIconComponent, CosineWaveIconComponent, CpuIconComponent, CreditCardIconComponent, CropIconComponent, CrosshairIconComponent, CrownIconComponent, DEFAULT_PALETTE_ROLES, DataTableComponent, DatabaseIconComponent, DatePickerComponent, DeleteIconComponent, DialogComponent, DialogRef, DialogService, DiamondIconComponent, Dice1IconComponent, Dice2IconComponent, Dice3IconComponent, Dice4IconComponent, Dice5IconComponent, Dice6IconComponent, DiscIconComponent, DiscordIconComponent, DivideCircleIconComponent, DivideIconComponent, DivideSquareIconComponent, DividerComponent, DockerIconComponent, DollarSignIconComponent, DoubleExclamationMarkIconComponent, DoubleQuestionMarkIconComponent, DownloadCloudIconComponent, DownloadIconComponent, DrawerComponent, DribbbleIconComponent, DropboxIconComponent, DropdownComponent, DropletIconComponent, DumbbellIconComponent, EAGAMI_ALL_LOCALES, EAGAMI_I18N_CONFIG, EAGAMI_LOCALES, EAGAMI_LOCALE_META, EagamiI18nService, EagamiIconComponent, EagamiWordmarkComponent, Edit2IconComponent, Edit3IconComponent, EditIconComponent, EjectIconComponent, EmptyStateComponent, EuroIconComponent, ExclamationMarkIconComponent, ExclamationQuestionMarkIconComponent, ExternalLinkIconComponent, EyeIconComponent, EyeOffIconComponent, Facebook2IconComponent, FacebookIconComponent, FastForwardIconComponent, FeatherIconComponent, FieldControlBase, FieldLabelComponent, FieldMessagesComponent, Figma2IconComponent, FigmaIconComponent, FileArchiveIconComponent, FileAudioIconComponent, FileCheckIconComponent, FileCodeIconComponent, FileIconComponent, FileImageIconComponent, FileMinusIconComponent, FilePdfIconComponent, FilePlusIconComponent, FileSpreadsheetIconComponent, FileTextIconComponent, FileUploaderComponent, FileVideoIconComponent, FilmIconComponent, FilterIconComponent, FilterXIconComponent, FingerprintIconComponent, FirstPlaceMedalIconComponent, FlagIconComponent, FlameIconComponent, FlaskConicalIconComponent, FolderIconComponent, FolderMinusIconComponent, FolderOpenIconComponent, FolderPlusIconComponent, FormFieldComponent, ForwardIconComponent, FramerIconComponent, FrownIconComponent, GamepadIconComponent, GaugeIconComponent, GeminiIconComponent, GiftIconComponent, GitBranchIconComponent, GitCommitIconComponent, GitCompareIconComponent, GitForkIconComponent, GitMergeIconComponent, GitPullRequestIconComponent, Github2IconComponent, GithubIconComponent, GitlabIconComponent, GlobeIconComponent, GoogleIconComponent, GraduationCapIconComponent, GridIconComponent, GripHorizontalIconComponent, GripVerticalIconComponent, HalfCircleIconComponent, HalfHeartIconComponent, HandIconComponent, HardDriveIconComponent, HashIconComponent, HeadingIconComponent, HeadphonesIconComponent, HeadsetIconComponent, HeartIconComponent, HeartPulseIconComponent, HelpCircleIconComponent, HeptagonIconComponent, HexagonIconComponent, HistoryIconComponent, HomeIconComponent, HourglassIconComponent, ICONS, IconComponentBase, IdCardIconComponent, ImageIconComponent, ImagePlayIconComponent, ImagePlusIconComponent, ImageSearchIconComponent, ImagesIconComponent, InboxIconComponent, IndentIconComponent, InfoIconComponent, InputComponent, InstagramIconComponent, ItalicIconComponent, KanbanIconComponent, KeyIconComponent, KeyboardIconComponent, KeyframeIconComponent, KubernetesIconComponent, LabelledFieldControlBase, LampIconComponent, LandmarkIconComponent, LanguagesIconComponent, LaptopIconComponent, LayersIconComponent, LayoutDashboardIconComponent, LayoutIconComponent, LeafIconComponent, LeftHalfStarIconComponent, LifeBuoyIconComponent, LightbulbIconComponent, LineChartComponent, LineChartIconComponent, Link2IconComponent, LinkIconComponent, Linkedin2IconComponent, LinkedinIconComponent, ListChecksIconComponent, ListFilterIconComponent, ListIconComponent, ListOrderedIconComponent, LoaderIconComponent, LocateFixedIconComponent, LockIconComponent, LogInIconComponent, LogOutIconComponent, MailCheckIconComponent, MailIconComponent, MailOpenIconComponent, MapIconComponent, MapPinIconComponent, MastercardIconComponent, Maximize2IconComponent, MaximizeIconComponent, MegaphoneIconComponent, MehIconComponent, MenuComponent, MenuIconComponent, MenuItemComponent, MenuTriggerDirective, MessageCircleIconComponent, MessageSquareIconComponent, MessagesSquareIconComponent, MicIconComponent, MicOffIconComponent, MicVocalIconComponent, MicroscopeIconComponent, MicrosoftIconComponent, Minimize2IconComponent, MinimizeIconComponent, MinusCircleIconComponent, MinusIconComponent, MinusSquareIconComponent, MongodbIconComponent, MonitorIconComponent, MonitorPlayIconComponent, MoonIconComponent, MoreHorizontalIconComponent, MoreVerticalIconComponent, MountainIconComponent, MousePointerClickIconComponent, MousePointerIconComponent, MoveIconComponent, MultiSelectComponent, MusicIconComponent, Navigation2IconComponent, NavigationIconComponent, NetlifyIconComponent, NetworkIconComponent, NewspaperIconComponent, NodejsIconComponent, NotionIconComponent, NpmIconComponent, NumberInputComponent, OctagonIconComponent, OutdentIconComponent, PAGE_SIZE_ALL, PackageIconComponent, PaginatorComponent, PaintbrushIconComponent, PaletteIconComponent, PaperclipIconComponent, PartyPopperIconComponent, PauseCircleIconComponent, PauseIconComponent, PawIconComponent, PaypalIconComponent, PenToolIconComponent, PentagonIconComponent, PercentIconComponent, PhoneCallIconComponent, PhoneForwardedIconComponent, PhoneIconComponent, PhoneIncomingIconComponent, PhoneMissedIconComponent, PhoneOffIconComponent, PhoneOutgoingIconComponent, PictureInPictureIconComponent, PieChartComponent, PieChartIconComponent, PiggyBankIconComponent, PillIconComponent, PinIconComponent, PinOffIconComponent, PinterestIconComponent, PipetteIconComponent, PizzaIconComponent, PlaneIconComponent, PlayCircleIconComponent, PlayIconComponent, PlaylistIconComponent, PlugIconComponent, PlusCircleIconComponent, PlusIconComponent, PlusSquareIconComponent, PocketIconComponent, PodcastIconComponent, PopoverComponent, PowerIconComponent, PrinterIconComponent, ProgressBarComponent, ProjectorIconComponent, PuzzleIconComponent, PythonIconComponent, QrCodeIconComponent, QuestionExclamationMarkIconComponent, QuestionMarkIconComponent, QuoteIconComponent, RadioComponent, RadioGroupComponent, RadioIconComponent, RadioReceiverIconComponent, RadioTowerIconComponent, RangeSliderComponent, RatingComponent, ReactIconComponent, ReceiptIconComponent, RecordIconComponent, RectangleHorizontalIconComponent, RectangleVerticalIconComponent, RedditIconComponent, RedoIconComponent, RefreshCcwIconComponent, RefreshCwIconComponent, Repeat1IconComponent, RepeatIconComponent, ReplyIconComponent, RewindIconComponent, RightHalfStarIconComponent, RocketIconComponent, RotateCcwIconComponent, RotateCcwSquareIconComponent, RotateCwIconComponent, RouteIconComponent, RowsIconComponent, RssIconComponent, RulerIconComponent, SaveIconComponent, ScaleIconComponent, ScanIconComponent, SchoolIconComponent, ScissorsIconComponent, ScreenShareIconComponent, SearchIconComponent, SecondPlaceMedalIconComponent, SegmentedComponent, SendIconComponent, ServerIconComponent, SettingsIconComponent, Share2IconComponent, ShareIconComponent, ShieldAlertIconComponent, ShieldCheckIconComponent, ShieldIconComponent, ShieldOffIconComponent, ShipIconComponent, ShirtIconComponent, ShopifyIconComponent, ShoppingBagIconComponent, ShoppingCartIconComponent, ShuffleIconComponent, SidebarIconComponent, SignalFullIconComponent, SignalHighIconComponent, SignalLowIconComponent, SignalMediumIconComponent, SignalNoneIconComponent, SineWaveIconComponent, SkeletonComponent, SkipBackIconComponent, SkipForwardIconComponent, Slack2IconComponent, SlackIconComponent, SlashIconComponent, SliderComponent, SlidersIconComponent, SmartphoneIconComponent, SmileIconComponent, SnowflakeIconComponent, SoccerBallIconComponent, SortAscendingIconComponent, SortDescendingIconComponent, SparklesIconComponent, SparklineComponent, SpeakerIconComponent, SpinnerComponent, SpotifyIconComponent, SquareIconComponent, SquarePlayIconComponent, StarIconComponent, StepBackIconComponent, StepComponent, StepForwardIconComponent, StepperComponent, StickyNoteIconComponent, StopCircleIconComponent, StoreIconComponent, StrikethroughIconComponent, StripeIconComponent, SubtitlesIconComponent, SubtitlesOffIconComponent, SunIconComponent, SunriseIconComponent, SunsetIconComponent, SvelteIconComponent, SwitchCameraIconComponent, SwitchComponent, TabComponent, TableIconComponent, TabletIconComponent, TabsComponent, TagComponent, TagIconComponent, TagsIconComponent, TailwindIconComponent, TargetIconComponent, TelegramIconComponent, TerminalIconComponent, TextareaComponent, ThermometerIconComponent, ThirdPlaceMedalIconComponent, ThreadsIconComponent, ThumbsDownIconComponent, ThumbsUpIconComponent, TicketIconComponent, TiktokIconComponent, TimePickerComponent, TimecodeIconComponent, TimelineComponent, TimerIconComponent, ToastComponent, ToastService, ToggleChipComponent, ToggleLeftIconComponent, ToggleRightIconComponent, ToolIconComponent, TooltipDirective, TrainIconComponent, TranscodeIconComponent, TransferListComponent, Trash2IconComponent, TrashIconComponent, TreeComponent, TrelloIconComponent, TrendingDownIconComponent, TrendingUpIconComponent, TriangleIconComponent, TrimIconComponent, TrophyIconComponent, TruckIconComponent, TvIconComponent, Twitch2IconComponent, TwitchIconComponent, TwitterIconComponent, TypeIconComponent, UmbrellaIconComponent, UnderlineIconComponent, UndoIconComponent, UnlinkIconComponent, UnlockIconComponent, UploadCloudIconComponent, UploadIconComponent, UserCheckIconComponent, UserCircleIconComponent, UserIconComponent, UserMinusIconComponent, UserPlusIconComponent, UserXIconComponent, UsersIconComponent, UtensilsIconComponent, VercelIconComponent, VideoIconComponent, VideoOffIconComponent, VirtualListComponent, VoicemailIconComponent, Volume1IconComponent, Volume2IconComponent, VolumeIconComponent, VolumeXIconComponent, VueIconComponent, WCAG_AA, WalletIconComponent, WandIconComponent, WatchIconComponent, WaveformIconComponent, WebcamIconComponent, WhatsappIconComponent, WifiIconComponent, WifiOffIconComponent, WindIconComponent, WordpressIconComponent, XCircleIconComponent, XIconComponent, XOctagonIconComponent, XSquareIconComponent, XTwitterIconComponent, Youtube2IconComponent, YoutubeIconComponent, ZapIconComponent, ZapOffIconComponent, ZoomInIconComponent, ZoomOutIconComponent, applyPalette, ar, computePopoverPosition, contrastRatio, de, derivePalette, el, en, esES, formatViolations, frFR, frenchSpacing, he, hexToOklch, hi, iconDisplayName, is, isGrouped, nl, oklchToHex, pl, provideEagamiUi, ptBR, relativeLuminance, ru, uk, validatePalette, visibleNodeIds, walkTree, zhCN };
92048
+ export { AccessibilityIconComponent, AccordionComponent, AccordionItemComponent, ActivityIconComponent, AirplayIconComponent, AlarmClockIconComponent, AlertCircle2IconComponent, AlertCircleIconComponent, AlertComponent, AlertOctagonIconComponent, AlertTriangleIconComponent, AlignCenterIconComponent, AlignJustifyIconComponent, AlignLeftIconComponent, AlignRightIconComponent, AnchorIconComponent, AndroidIconComponent, AngularIconComponent, AnthropicIconComponent, ApertureIconComponent, ArchiveIconComponent, ArrayIconComponent, ArrowDownCircleIconComponent, ArrowDownIconComponent, ArrowDownLeftIconComponent, ArrowDownRightIconComponent, ArrowLeftCircleIconComponent, ArrowLeftIconComponent, ArrowLeftRightIconComponent, ArrowRightCircleIconComponent, ArrowRightIconComponent, ArrowUpCircleIconComponent, ArrowUpDownIconComponent, ArrowUpIconComponent, ArrowUpLeftIconComponent, ArrowUpRightIconComponent, AspectRatioIconComponent, AtSignIconComponent, AutocompleteComponent, AvatarComponent, AvatarEditorComponent, AwardIconComponent, BadgeCheckIconComponent, BadgeComponent, BanIconComponent, BanknoteIconComponent, BarChart2IconComponent, BarChartComponent, BarChartIconComponent, BasketIconComponent, BatteryChargingIconComponent, BatteryIconComponent, BedIconComponent, BellIconComponent, BellOffIconComponent, BellRingIconComponent, BikeIconComponent, BitcoinIconComponent, BlueskyIconComponent, BluetoothIconComponent, BoldIconComponent, BookIconComponent, BookOpenIconComponent, BookmarkCheckIconComponent, BookmarkIconComponent, BookmarkPlusIconComponent, BoomboxIconComponent, BotIconComponent, BottleIconComponent, BoxIconComponent, BracesIconComponent, BrainIconComponent, BreadcrumbsComponent, BriefcaseIconComponent, BugIconComponent, BuildingIconComponent, BusIconComponent, ButtonComponent, ButtonLinkComponent, CakeIconComponent, CalculatorIconComponent, CalendarCheckIconComponent, CalendarClockIconComponent, CalendarDaysIconComponent, CalendarIconComponent, CalendarPlusIconComponent, CameraIconComponent, CameraOffIconComponent, CandleIconComponent, CandlestickChartComponent, CarIconComponent, CardComponent, CassetteTapeIconComponent, CastIconComponent, CheckCheckIconComponent, CheckCircleIconComponent, CheckIconComponent, CheckSquareIconComponent, CheckboxComponent, ChevronDownIconComponent, ChevronLeftIconComponent, ChevronRightIconComponent, ChevronUpIconComponent, ChevronsDownIconComponent, ChevronsLeftIconComponent, ChevronsRightIconComponent, ChevronsUpDownIconComponent, ChevronsUpIconComponent, ChromeIconComponent, CircleIconComponent, ClapperboardIconComponent, ClipboardCheckIconComponent, ClipboardIconComponent, ClipboardListIconComponent, ClipboardPasteIconComponent, ClockIconComponent, CloudDrizzleIconComponent, CloudIconComponent, CloudLightningIconComponent, CloudOffIconComponent, CloudRainIconComponent, CloudSnowIconComponent, CloudSunIconComponent, CloudflareIconComponent, CodeIconComponent, CodeInputComponent, CodepenIconComponent, CodesandboxIconComponent, CoffeeIconComponent, CoinsIconComponent, ColorPickerComponent, ColumnsIconComponent, CommandIconComponent, CommandPaletteComponent, CompassIconComponent, ContextMenuTriggerDirective, ContrastIconComponent, CookieIconComponent, CopyIconComponent, CornerDownLeftIconComponent, CornerDownRightIconComponent, CornerLeftDownIconComponent, CornerLeftUpIconComponent, CornerRightDownIconComponent, CornerRightUpIconComponent, CornerUpLeftIconComponent, CornerUpRightIconComponent, CosineWaveIconComponent, CpuIconComponent, CreditCardIconComponent, CropIconComponent, CrosshairIconComponent, CrownIconComponent, DEFAULT_PALETTE_ROLES, DataTableComponent, DatabaseIconComponent, DatePickerComponent, DeleteIconComponent, DialogComponent, DialogRef, DialogService, DiamondIconComponent, Dice1IconComponent, Dice2IconComponent, Dice3IconComponent, Dice4IconComponent, Dice5IconComponent, Dice6IconComponent, DiscIconComponent, DiscordIconComponent, DivideCircleIconComponent, DivideIconComponent, DivideSquareIconComponent, DividerComponent, DockerIconComponent, DollarSignIconComponent, DoubleExclamationMarkIconComponent, DoubleQuestionMarkIconComponent, DownloadCloudIconComponent, DownloadIconComponent, DrawerComponent, DribbbleIconComponent, DropboxIconComponent, DropdownComponent, DropletIconComponent, DumbbellIconComponent, EAGAMI_ALL_LOCALES, EAGAMI_I18N_CONFIG, EAGAMI_LOCALES, EAGAMI_LOCALE_META, EagamiI18nService, EagamiIconComponent, EagamiWordmarkComponent, Edit2IconComponent, Edit3IconComponent, EditIconComponent, EjectIconComponent, EmptyStateComponent, EuroIconComponent, ExclamationMarkIconComponent, ExclamationQuestionMarkIconComponent, ExternalLinkIconComponent, EyeIconComponent, EyeOffIconComponent, Facebook2IconComponent, FacebookIconComponent, FastForwardIconComponent, FeatherIconComponent, FieldControlBase, FieldLabelComponent, FieldMessagesComponent, Figma2IconComponent, FigmaIconComponent, FileArchiveIconComponent, FileAudioIconComponent, FileCheckIconComponent, FileCodeIconComponent, FileIconComponent, FileImageIconComponent, FileMinusIconComponent, FilePdfIconComponent, FilePlusIconComponent, FileSpreadsheetIconComponent, FileTextIconComponent, FileUploaderComponent, FileVideoIconComponent, FilmIconComponent, FilterIconComponent, FilterXIconComponent, FingerprintIconComponent, FirstPlaceMedalIconComponent, FlagIconComponent, FlameIconComponent, FlaskConicalIconComponent, FolderIconComponent, FolderMinusIconComponent, FolderOpenIconComponent, FolderPlusIconComponent, FormFieldComponent, ForwardIconComponent, FramerIconComponent, FrownIconComponent, GamepadIconComponent, GaugeIconComponent, GeminiIconComponent, GiftIconComponent, GitBranchIconComponent, GitCommitIconComponent, GitCompareIconComponent, GitForkIconComponent, GitMergeIconComponent, GitPullRequestIconComponent, Github2IconComponent, GithubIconComponent, GitlabIconComponent, GlobeIconComponent, GoogleIconComponent, GraduationCapIconComponent, GridIconComponent, GripHorizontalIconComponent, GripVerticalIconComponent, HalfCircleIconComponent, HalfHeartIconComponent, HandIconComponent, HardDriveIconComponent, HashIconComponent, HeadingIconComponent, HeadphonesIconComponent, HeadsetIconComponent, HeartIconComponent, HeartPulseIconComponent, HelpCircleIconComponent, HeptagonIconComponent, HexagonIconComponent, HistoryIconComponent, HomeIconComponent, HourglassIconComponent, ICONS, IconComponentBase, IdCardIconComponent, ImageIconComponent, ImagePlayIconComponent, ImagePlusIconComponent, ImageSearchIconComponent, ImagesIconComponent, InboxIconComponent, IndentIconComponent, InfoIconComponent, InputComponent, InstagramIconComponent, ItalicIconComponent, KanbanIconComponent, KeyIconComponent, KeyboardIconComponent, KeyframeIconComponent, KubernetesIconComponent, LabelledFieldControlBase, LampIconComponent, LandmarkIconComponent, LanguagesIconComponent, LaptopIconComponent, LayersIconComponent, LayoutDashboardIconComponent, LayoutIconComponent, LeafIconComponent, LeftHalfStarIconComponent, LifeBuoyIconComponent, LightbulbIconComponent, LineChartComponent, LineChartIconComponent, Link2IconComponent, LinkIconComponent, Linkedin2IconComponent, LinkedinIconComponent, ListChecksIconComponent, ListFilterIconComponent, ListIconComponent, ListOrderedIconComponent, LoaderIconComponent, LocateFixedIconComponent, LockIconComponent, LogInIconComponent, LogOutIconComponent, MailCheckIconComponent, MailIconComponent, MailOpenIconComponent, MapIconComponent, MapPinIconComponent, MastercardIconComponent, Maximize2IconComponent, MaximizeIconComponent, MegaphoneIconComponent, MehIconComponent, MenuComponent, MenuIconComponent, MenuItemComponent, MenuTriggerDirective, MessageCircleIconComponent, MessageSquareIconComponent, MessagesSquareIconComponent, MicIconComponent, MicOffIconComponent, MicVocalIconComponent, MicroscopeIconComponent, MicrosoftIconComponent, Minimize2IconComponent, MinimizeIconComponent, MinusCircleIconComponent, MinusIconComponent, MinusSquareIconComponent, MongodbIconComponent, MonitorIconComponent, MonitorPlayIconComponent, MoonIconComponent, MoreHorizontalIconComponent, MoreVerticalIconComponent, MountainIconComponent, MousePointerClickIconComponent, MousePointerIconComponent, MoveIconComponent, MultiSelectComponent, MusicIconComponent, Navigation2IconComponent, NavigationIconComponent, NetlifyIconComponent, NetworkIconComponent, NewspaperIconComponent, NodejsIconComponent, NotionIconComponent, NpmIconComponent, NumberInputComponent, OctagonIconComponent, OutdentIconComponent, PAGE_SIZE_ALL, PackageIconComponent, PaginatorComponent, PaintbrushIconComponent, PaletteIconComponent, PaperclipIconComponent, PartyPopperIconComponent, PauseCircleIconComponent, PauseIconComponent, PawIconComponent, PaypalIconComponent, PenToolIconComponent, PentagonIconComponent, PercentIconComponent, PhoneCallIconComponent, PhoneForwardedIconComponent, PhoneIconComponent, PhoneIncomingIconComponent, PhoneMissedIconComponent, PhoneOffIconComponent, PhoneOutgoingIconComponent, PictureInPictureIconComponent, PieChartComponent, PieChartIconComponent, PiggyBankIconComponent, PillIconComponent, PinIconComponent, PinOffIconComponent, PinterestIconComponent, PipetteIconComponent, PizzaIconComponent, PlaneIconComponent, PlayCircleIconComponent, PlayIconComponent, PlaylistIconComponent, PlugIconComponent, PlusCircleIconComponent, PlusIconComponent, PlusSquareIconComponent, PocketIconComponent, PodcastIconComponent, PopoverComponent, PowerIconComponent, PrinterIconComponent, ProgressBarComponent, ProjectorIconComponent, PuzzleIconComponent, PythonIconComponent, QrCodeIconComponent, QuestionExclamationMarkIconComponent, QuestionMarkIconComponent, QuoteIconComponent, RadioComponent, RadioGroupComponent, RadioIconComponent, RadioReceiverIconComponent, RadioTowerIconComponent, RangeSliderComponent, RatingComponent, ReactIconComponent, ReceiptIconComponent, RecordIconComponent, RectangleHorizontalIconComponent, RectangleVerticalIconComponent, RedditIconComponent, RedoIconComponent, RefreshCcwIconComponent, RefreshCwIconComponent, Repeat1IconComponent, RepeatIconComponent, ReplyIconComponent, RewindIconComponent, RightHalfStarIconComponent, RocketIconComponent, RotateCcwIconComponent, RotateCcwSquareIconComponent, RotateCwIconComponent, RouteIconComponent, RowsIconComponent, RssIconComponent, RulerIconComponent, SaveIconComponent, ScaleIconComponent, ScanIconComponent, SchoolIconComponent, ScissorsIconComponent, ScreenShareIconComponent, SearchIconComponent, SecondPlaceMedalIconComponent, SegmentedComponent, SendIconComponent, ServerIconComponent, SettingsIconComponent, Share2IconComponent, ShareIconComponent, ShieldAlertIconComponent, ShieldCheckIconComponent, ShieldIconComponent, ShieldOffIconComponent, ShipIconComponent, ShirtIconComponent, ShopifyIconComponent, ShoppingBagIconComponent, ShoppingCartIconComponent, ShuffleIconComponent, SidebarIconComponent, SignalFullIconComponent, SignalHighIconComponent, SignalLowIconComponent, SignalMediumIconComponent, SignalNoneIconComponent, SineWaveIconComponent, SkeletonComponent, SkipBackIconComponent, SkipForwardIconComponent, Slack2IconComponent, SlackIconComponent, SlashIconComponent, SliderComponent, SlidersIconComponent, SmartphoneIconComponent, SmileIconComponent, SnowflakeIconComponent, SoccerBallIconComponent, SortAscendingIconComponent, SortDescendingIconComponent, SparklesIconComponent, SparklineComponent, SpeakerIconComponent, SpinnerComponent, SpotifyIconComponent, SquareIconComponent, SquarePlayIconComponent, StarIconComponent, StepBackIconComponent, StepComponent, StepForwardIconComponent, StepperComponent, StickyNoteIconComponent, StopCircleIconComponent, StoreIconComponent, StrikethroughIconComponent, StripeIconComponent, SubtitlesIconComponent, SubtitlesOffIconComponent, SunIconComponent, SunriseIconComponent, SunsetIconComponent, SvelteIconComponent, SwitchCameraIconComponent, SwitchComponent, TabComponent, TableIconComponent, TabletIconComponent, TabsComponent, TagComponent, TagIconComponent, TagsIconComponent, TailwindIconComponent, TargetIconComponent, TelegramIconComponent, TerminalIconComponent, TextareaComponent, ThermometerIconComponent, ThirdPlaceMedalIconComponent, ThreadsIconComponent, ThumbsDownIconComponent, ThumbsUpIconComponent, TicketIconComponent, TiktokIconComponent, TimePickerComponent, TimecodeIconComponent, TimelineComponent, TimerIconComponent, ToastComponent, ToastService, ToggleChipComponent, ToggleLeftIconComponent, ToggleRightIconComponent, ToolIconComponent, TooltipDirective, TrainIconComponent, TranscodeIconComponent, TransferListComponent, Trash2IconComponent, TrashIconComponent, TreeComponent, TrelloIconComponent, TrendingDownIconComponent, TrendingUpIconComponent, TriangleIconComponent, TrimIconComponent, TrophyIconComponent, TruckIconComponent, TvIconComponent, Twitch2IconComponent, TwitchIconComponent, TwitterIconComponent, TypeIconComponent, UmbrellaIconComponent, UnderlineIconComponent, UndoIconComponent, UnlinkIconComponent, UnlockIconComponent, UploadCloudIconComponent, UploadIconComponent, UserCheckIconComponent, UserCircleIconComponent, UserIconComponent, UserMinusIconComponent, UserPlusIconComponent, UserXIconComponent, UsersIconComponent, UtensilsIconComponent, VercelIconComponent, VideoIconComponent, VideoOffIconComponent, VirtualListComponent, VoicemailIconComponent, Volume1IconComponent, Volume2IconComponent, VolumeIconComponent, VolumeXIconComponent, VueIconComponent, WCAG_AA, WalletIconComponent, WandIconComponent, WatchIconComponent, WaterfallChartComponent, WaveformIconComponent, WebcamIconComponent, WhatsappIconComponent, WifiIconComponent, WifiOffIconComponent, WindIconComponent, WordpressIconComponent, XCircleIconComponent, XIconComponent, XOctagonIconComponent, XSquareIconComponent, XTwitterIconComponent, Youtube2IconComponent, YoutubeIconComponent, ZapIconComponent, ZapOffIconComponent, ZoomInIconComponent, ZoomOutIconComponent, applyPalette, ar, computePopoverPosition, contrastRatio, de, derivePalette, el, en, esES, formatViolations, frFR, frenchSpacing, he, hexToOklch, hi, iconDisplayName, is, isGrouped, nl, oklchToHex, pl, provideEagamiUi, ptBR, relativeLuminance, ru, uk, validatePalette, visibleNodeIds, walkTree, zhCN };
90690
92049
 
90691
92050
  //# sourceMappingURL=eagami-ui.mjs.map