@eagami/ui 5.99.0 → 5.101.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.
@@ -434,6 +434,7 @@ const ar = {
434
434
  barChart: "مخطط شريطي",
435
435
  pieChart: "مخطط دائري",
436
436
  candlestickChart: "مخطط الشموع",
437
+ waterfallChart: "مخطط شلالي",
437
438
  category: "الفئة",
438
439
  value: "القيمة",
439
440
  share: "النسبة",
@@ -443,13 +444,20 @@ const ar = {
443
444
  high: "الأعلى",
444
445
  low: "الأدنى",
445
446
  close: "الإغلاق",
447
+ change: "التغيّر",
448
+ runningTotal: "الإجمالي التراكمي",
446
449
  point: (series, label, value) => `${series}، ${label}: ${value}`,
447
450
  slice: (label, value, percent) => `${label}: ${value}، ${percent}`,
448
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}`,
449
454
  total: "الإجمالي",
450
455
  trend: "الاتجاه",
451
456
  trendSummary: (first, last, low, high) => `من ${first} إلى ${last}، الأدنى ${low}، الأعلى ${high}`,
452
- referenceLine: (label, value) => label ? `خط مرجعي، ${label}: ${value}` : `خط مرجعي: ${value}`
457
+ referenceLine: (label, value) => label ? `خط مرجعي، ${label}: ${value}` : `خط مرجعي: ${value}`,
458
+ gauge: "مقياس",
459
+ gaugeValue: (value, band) => band ? `${value}، ${band}` : value,
460
+ gaugeBand: (label, from, to) => label ? `${label}: من ${from} إلى ${to}.` : `من ${from} إلى ${to}.`
453
461
  },
454
462
  codeInput: {
455
463
  groupLabel: (length) => `رمز التحقق، ${length} أرقام`,
@@ -600,6 +608,11 @@ const ar = {
600
608
  clear: "مسح التقييم"
601
609
  },
602
610
  spinner: { label: "جارٍ التحميل" },
611
+ stat: {
612
+ up: (change) => `ارتفاع ${change}`,
613
+ down: (change) => `انخفاض ${change}`,
614
+ unchanged: "بلا تغيير"
615
+ },
603
616
  stepper: {
604
617
  stepsLabel: "الخطوات",
605
618
  optional: "اختياري",
@@ -680,6 +693,7 @@ const de = {
680
693
  barChart: "Balkendiagramm",
681
694
  pieChart: "Kreisdiagramm",
682
695
  candlestickChart: "Kerzendiagramm",
696
+ waterfallChart: "Wasserfalldiagramm",
683
697
  category: "Kategorie",
684
698
  value: "Wert",
685
699
  share: "Anteil",
@@ -689,13 +703,20 @@ const de = {
689
703
  high: "Hoch",
690
704
  low: "Tief",
691
705
  close: "Schluss",
706
+ change: "Veränderung",
707
+ runningTotal: "Laufende Summe",
692
708
  point: (series, label, value) => `${series}, ${label}: ${value}`,
693
709
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
694
710
  candle: (label, open, high, low, close) => `${label}: Eröffnung ${open}, Hoch ${high}, Tief ${low}, Schluss ${close}`,
711
+ step: (label, change, runningTotal) => `${label}: Veränderung ${change}, laufende Summe ${runningTotal}`,
712
+ stepTotal: (label, total) => `${label}: Gesamt ${total}`,
695
713
  total: "Gesamt",
696
714
  trend: "Verlauf",
697
715
  trendSummary: (first, last, low, high) => `Von ${first} auf ${last}, Tiefstwert ${low}, Höchstwert ${high}`,
698
- referenceLine: (label, value) => label ? `Referenzlinie, ${label}: ${value}` : `Referenzlinie: ${value}`
716
+ referenceLine: (label, value) => label ? `Referenzlinie, ${label}: ${value}` : `Referenzlinie: ${value}`,
717
+ gauge: "Messanzeige",
718
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
719
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} bis ${to}.` : `${from} bis ${to}.`
699
720
  },
700
721
  codeInput: {
701
722
  groupLabel: (length) => `Bestätigungscode, ${length} Ziffern`,
@@ -846,6 +867,11 @@ const de = {
846
867
  clear: "Bewertung löschen"
847
868
  },
848
869
  spinner: { label: "Wird geladen" },
870
+ stat: {
871
+ up: (change) => `Gestiegen um ${change}`,
872
+ down: (change) => `Gesunken um ${change}`,
873
+ unchanged: "Unverändert"
874
+ },
849
875
  stepper: {
850
876
  stepsLabel: "Schritte",
851
877
  optional: "optional",
@@ -926,6 +952,7 @@ const el = {
926
952
  barChart: "Ραβδόγραμμα",
927
953
  pieChart: "Κυκλικό διάγραμμα",
928
954
  candlestickChart: "Διάγραμμα κεριών",
955
+ waterfallChart: "Διάγραμμα καταρράκτη",
929
956
  category: "Κατηγορία",
930
957
  value: "Τιμή",
931
958
  share: "Μερίδιο",
@@ -935,13 +962,20 @@ const el = {
935
962
  high: "Υψηλό",
936
963
  low: "Χαμηλό",
937
964
  close: "Κλείσιμο",
965
+ change: "Μεταβολή",
966
+ runningTotal: "Τρέχον σύνολο",
938
967
  point: (series, label, value) => `${series}, ${label}: ${value}`,
939
968
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
940
969
  candle: (label, open, high, low, close) => `${label}: άνοιγμα ${open}, υψηλό ${high}, χαμηλό ${low}, κλείσιμο ${close}`,
970
+ step: (label, change, runningTotal) => `${label}: μεταβολή ${change}, τρέχον σύνολο ${runningTotal}`,
971
+ stepTotal: (label, total) => `${label}: σύνολο ${total}`,
941
972
  total: "Σύνολο",
942
973
  trend: "Τάση",
943
974
  trendSummary: (first, last, low, high) => `Από ${first} σε ${last}, ελάχιστο ${low}, μέγιστο ${high}`,
944
- referenceLine: (label, value) => label ? `Γραμμή αναφοράς, ${label}: ${value}` : `Γραμμή αναφοράς: ${value}`
975
+ referenceLine: (label, value) => label ? `Γραμμή αναφοράς, ${label}: ${value}` : `Γραμμή αναφοράς: ${value}`,
976
+ gauge: "Μετρητής",
977
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
978
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} έως ${to}.` : `${from} έως ${to}.`
945
979
  },
946
980
  codeInput: {
947
981
  groupLabel: (length) => `Κωδικός επαλήθευσης, ${length} ψηφία`,
@@ -1092,6 +1126,11 @@ const el = {
1092
1126
  clear: "Εκκαθάριση αξιολόγησης"
1093
1127
  },
1094
1128
  spinner: { label: "Φόρτωση" },
1129
+ stat: {
1130
+ up: (change) => `Αύξηση ${change}`,
1131
+ down: (change) => `Μείωση ${change}`,
1132
+ unchanged: "Χωρίς μεταβολή"
1133
+ },
1095
1134
  stepper: {
1096
1135
  stepsLabel: "Βήματα",
1097
1136
  optional: "προαιρετικό",
@@ -1172,6 +1211,7 @@ const en = {
1172
1211
  barChart: "Bar chart",
1173
1212
  pieChart: "Pie chart",
1174
1213
  candlestickChart: "Candlestick chart",
1214
+ waterfallChart: "Waterfall chart",
1175
1215
  category: "Category",
1176
1216
  value: "Value",
1177
1217
  share: "Share",
@@ -1181,13 +1221,20 @@ const en = {
1181
1221
  high: "High",
1182
1222
  low: "Low",
1183
1223
  close: "Close",
1224
+ change: "Change",
1225
+ runningTotal: "Running total",
1184
1226
  point: (series, label, value) => `${series}, ${label}: ${value}`,
1185
1227
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
1186
1228
  candle: (label, open, high, low, close) => `${label}: open ${open}, high ${high}, low ${low}, close ${close}`,
1229
+ step: (label, change, runningTotal) => `${label}: change ${change}, running total ${runningTotal}`,
1230
+ stepTotal: (label, total) => `${label}: total ${total}`,
1187
1231
  total: "Total",
1188
1232
  trend: "Trend",
1189
1233
  trendSummary: (first, last, low, high) => `From ${first} to ${last}, low ${low}, high ${high}`,
1190
- referenceLine: (label, value) => label ? `Reference line, ${label}: ${value}` : `Reference line: ${value}`
1234
+ referenceLine: (label, value) => label ? `Reference line, ${label}: ${value}` : `Reference line: ${value}`,
1235
+ gauge: "Gauge",
1236
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
1237
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} to ${to}.` : `${from} to ${to}.`
1191
1238
  },
1192
1239
  codeInput: {
1193
1240
  groupLabel: (length) => `Verification code, ${length} digits`,
@@ -1338,6 +1385,11 @@ const en = {
1338
1385
  clear: "Clear rating"
1339
1386
  },
1340
1387
  spinner: { label: "Loading" },
1388
+ stat: {
1389
+ up: (change) => `Up ${change}`,
1390
+ down: (change) => `Down ${change}`,
1391
+ unchanged: "No change"
1392
+ },
1341
1393
  stepper: {
1342
1394
  stepsLabel: "Steps",
1343
1395
  optional: "optional",
@@ -1418,6 +1470,7 @@ const esES = {
1418
1470
  barChart: "Gráfico de barras",
1419
1471
  pieChart: "Gráfico circular",
1420
1472
  candlestickChart: "Gráfico de velas",
1473
+ waterfallChart: "Gráfico de cascada",
1421
1474
  category: "Categoría",
1422
1475
  value: "Valor",
1423
1476
  share: "Proporción",
@@ -1427,13 +1480,20 @@ const esES = {
1427
1480
  high: "Máximo",
1428
1481
  low: "Mínimo",
1429
1482
  close: "Cierre",
1483
+ change: "Variación",
1484
+ runningTotal: "Total acumulado",
1430
1485
  point: (series, label, value) => `${series}, ${label}: ${value}`,
1431
1486
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
1432
1487
  candle: (label, open, high, low, close) => `${label}: apertura ${open}, máximo ${high}, mínimo ${low}, cierre ${close}`,
1488
+ step: (label, change, runningTotal) => `${label}: variación ${change}, total acumulado ${runningTotal}`,
1489
+ stepTotal: (label, total) => `${label}: total ${total}`,
1433
1490
  total: "Total",
1434
1491
  trend: "Tendencia",
1435
1492
  trendSummary: (first, last, low, high) => `De ${first} a ${last}, mínimo ${low}, máximo ${high}`,
1436
- referenceLine: (label, value) => label ? `Línea de referencia, ${label}: ${value}` : `Línea de referencia: ${value}`
1493
+ referenceLine: (label, value) => label ? `Línea de referencia, ${label}: ${value}` : `Línea de referencia: ${value}`,
1494
+ gauge: "Indicador",
1495
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
1496
+ gaugeBand: (label, from, to) => label ? `${label}: de ${from} a ${to}.` : `De ${from} a ${to}.`
1437
1497
  },
1438
1498
  codeInput: {
1439
1499
  groupLabel: (length) => `Código de verificación, ${length} dígitos`,
@@ -1584,6 +1644,11 @@ const esES = {
1584
1644
  clear: "Borrar valoración"
1585
1645
  },
1586
1646
  spinner: { label: "Cargando" },
1647
+ stat: {
1648
+ up: (change) => `Sube ${change}`,
1649
+ down: (change) => `Baja ${change}`,
1650
+ unchanged: "Sin cambios"
1651
+ },
1587
1652
  stepper: {
1588
1653
  stepsLabel: "Pasos",
1589
1654
  optional: "opcional",
@@ -1664,6 +1729,7 @@ const frFR = {
1664
1729
  barChart: "Graphique à barres",
1665
1730
  pieChart: "Graphique circulaire",
1666
1731
  candlestickChart: "Graphique en chandeliers",
1732
+ waterfallChart: "Graphique en cascade",
1667
1733
  category: "Catégorie",
1668
1734
  value: "Valeur",
1669
1735
  share: "Part",
@@ -1673,13 +1739,20 @@ const frFR = {
1673
1739
  high: "Plus haut",
1674
1740
  low: "Plus bas",
1675
1741
  close: "Clôture",
1742
+ change: "Variation",
1743
+ runningTotal: "Total cumulé",
1676
1744
  point: (series, label, value) => `${series}, ${label} : ${value}`,
1677
1745
  slice: (label, value, percent) => `${label} : ${value}, ${percent}`,
1678
1746
  candle: (label, open, high, low, close) => `${label} : ouverture ${open}, plus haut ${high}, plus bas ${low}, clôture ${close}`,
1747
+ step: (label, change, runningTotal) => `${label} : variation ${change}, total cumulé ${runningTotal}`,
1748
+ stepTotal: (label, total) => `${label} : total ${total}`,
1679
1749
  total: "Total",
1680
1750
  trend: "Tendance",
1681
1751
  trendSummary: (first, last, low, high) => `De ${first} à ${last}, minimum ${low}, maximum ${high}`,
1682
- referenceLine: (label, value) => label ? `Ligne de référence, ${label} : ${value}` : `Ligne de référence : ${value}`
1752
+ referenceLine: (label, value) => label ? `Ligne de référence, ${label} : ${value}` : `Ligne de référence : ${value}`,
1753
+ gauge: "Jauge",
1754
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
1755
+ gaugeBand: (label, from, to) => label ? `${label} : de ${from} à ${to}.` : `De ${from} à ${to}.`
1683
1756
  },
1684
1757
  codeInput: {
1685
1758
  groupLabel: (length) => `Code de vérification, ${length} chiffres`,
@@ -1830,6 +1903,11 @@ const frFR = {
1830
1903
  clear: "Effacer la note"
1831
1904
  },
1832
1905
  spinner: { label: "Chargement" },
1906
+ stat: {
1907
+ up: (change) => `En hausse de ${change}`,
1908
+ down: (change) => `En baisse de ${change}`,
1909
+ unchanged: "Inchangé"
1910
+ },
1833
1911
  stepper: {
1834
1912
  stepsLabel: "Étapes",
1835
1913
  optional: "facultatif",
@@ -1910,6 +1988,7 @@ const he = {
1910
1988
  barChart: "תרשים עמודות",
1911
1989
  pieChart: "תרשים עוגה",
1912
1990
  candlestickChart: "תרשים נרות",
1991
+ waterfallChart: "תרשים מפל",
1913
1992
  category: "קטגוריה",
1914
1993
  value: "ערך",
1915
1994
  share: "נתח",
@@ -1919,13 +1998,20 @@ const he = {
1919
1998
  high: "גבוה",
1920
1999
  low: "נמוך",
1921
2000
  close: "סגירה",
2001
+ change: "שינוי",
2002
+ runningTotal: "סכום מצטבר",
1922
2003
  point: (series, label, value) => `${series}, ${label}: ${value}`,
1923
2004
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
1924
2005
  candle: (label, open, high, low, close) => `${label}: פתיחה ${open}, גבוה ${high}, נמוך ${low}, סגירה ${close}`,
2006
+ step: (label, change, runningTotal) => `${label}: שינוי ${change}, סכום מצטבר ${runningTotal}`,
2007
+ stepTotal: (label, total) => `${label}: סה״כ ${total}`,
1925
2008
  total: "סה״כ",
1926
2009
  trend: "מגמה",
1927
2010
  trendSummary: (first, last, low, high) => `מ־${first} ל־${last}, מינימום ${low}, מקסימום ${high}`,
1928
- referenceLine: (label, value) => label ? `קו ייחוס, ${label}: ${value}` : `קו ייחוס: ${value}`
2011
+ referenceLine: (label, value) => label ? `קו ייחוס, ${label}: ${value}` : `קו ייחוס: ${value}`,
2012
+ gauge: "מד",
2013
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
2014
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} עד ${to}.` : `${from} עד ${to}.`
1929
2015
  },
1930
2016
  codeInput: {
1931
2017
  groupLabel: (length) => `קוד אימות, ${length} ספרות`,
@@ -2076,6 +2162,11 @@ const he = {
2076
2162
  clear: "ניקוי דירוג"
2077
2163
  },
2078
2164
  spinner: { label: "טוען" },
2165
+ stat: {
2166
+ up: (change) => `עלייה של ${change}`,
2167
+ down: (change) => `ירידה של ${change}`,
2168
+ unchanged: "ללא שינוי"
2169
+ },
2079
2170
  stepper: {
2080
2171
  stepsLabel: "שלבים",
2081
2172
  optional: "אופציונלי",
@@ -2156,6 +2247,7 @@ const hi = {
2156
2247
  barChart: "बार चार्ट",
2157
2248
  pieChart: "पाई चार्ट",
2158
2249
  candlestickChart: "कैंडलस्टिक चार्ट",
2250
+ waterfallChart: "वॉटरफ़ॉल चार्ट",
2159
2251
  category: "श्रेणी",
2160
2252
  value: "मान",
2161
2253
  share: "हिस्सा",
@@ -2165,13 +2257,20 @@ const hi = {
2165
2257
  high: "हाई",
2166
2258
  low: "लो",
2167
2259
  close: "क्लोज़",
2260
+ change: "बदलाव",
2261
+ runningTotal: "चालू योग",
2168
2262
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2169
2263
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2170
2264
  candle: (label, open, high, low, close) => `${label}: ओपन ${open}, हाई ${high}, लो ${low}, क्लोज़ ${close}`,
2265
+ step: (label, change, runningTotal) => `${label}: बदलाव ${change}, चालू योग ${runningTotal}`,
2266
+ stepTotal: (label, total) => `${label}: कुल ${total}`,
2171
2267
  total: "कुल",
2172
2268
  trend: "रुझान",
2173
2269
  trendSummary: (first, last, low, high) => `${first} से ${last} तक, न्यूनतम ${low}, अधिकतम ${high}`,
2174
- referenceLine: (label, value) => label ? `संदर्भ रेखा, ${label}: ${value}` : `संदर्भ रेखा: ${value}`
2270
+ referenceLine: (label, value) => label ? `संदर्भ रेखा, ${label}: ${value}` : `संदर्भ रेखा: ${value}`,
2271
+ gauge: "गेज",
2272
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
2273
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} से ${to}।` : `${from} से ${to}।`
2175
2274
  },
2176
2275
  codeInput: {
2177
2276
  groupLabel: (length) => `सत्यापन कोड, ${length} अंक`,
@@ -2322,6 +2421,11 @@ const hi = {
2322
2421
  clear: "रेटिंग साफ़ करें"
2323
2422
  },
2324
2423
  spinner: { label: "लोड हो रहा है" },
2424
+ stat: {
2425
+ up: (change) => `${change} की बढ़त`,
2426
+ down: (change) => `${change} की गिरावट`,
2427
+ unchanged: "कोई बदलाव नहीं"
2428
+ },
2325
2429
  stepper: {
2326
2430
  stepsLabel: "चरण",
2327
2431
  optional: "वैकल्पिक",
@@ -2402,6 +2506,7 @@ const is = {
2402
2506
  barChart: "Súlurit",
2403
2507
  pieChart: "Kökurit",
2404
2508
  candlestickChart: "Kertarit",
2509
+ waterfallChart: "Fossarit",
2405
2510
  category: "Flokkur",
2406
2511
  value: "Gildi",
2407
2512
  share: "Hlutfall",
@@ -2411,13 +2516,20 @@ const is = {
2411
2516
  high: "Hæst",
2412
2517
  low: "Lægst",
2413
2518
  close: "Lokun",
2519
+ change: "Breyting",
2520
+ runningTotal: "Uppsöfnuð samtala",
2414
2521
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2415
2522
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2416
2523
  candle: (label, open, high, low, close) => `${label}: opnun ${open}, hæst ${high}, lægst ${low}, lokun ${close}`,
2524
+ step: (label, change, runningTotal) => `${label}: breyting ${change}, uppsöfnuð samtala ${runningTotal}`,
2525
+ stepTotal: (label, total) => `${label}: samtals ${total}`,
2417
2526
  total: "Samtals",
2418
2527
  trend: "Þróun",
2419
2528
  trendSummary: (first, last, low, high) => `Frá ${first} í ${last}, lægst ${low}, hæst ${high}`,
2420
- referenceLine: (label, value) => label ? `Viðmiðunarlína, ${label}: ${value}` : `Viðmiðunarlína: ${value}`
2529
+ referenceLine: (label, value) => label ? `Viðmiðunarlína, ${label}: ${value}` : `Viðmiðunarlína: ${value}`,
2530
+ gauge: "Mælir",
2531
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
2532
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} til ${to}.` : `${from} til ${to}.`
2421
2533
  },
2422
2534
  codeInput: {
2423
2535
  groupLabel: (length) => `Staðfestingarkóði, ${length} tölustafir`,
@@ -2568,6 +2680,11 @@ const is = {
2568
2680
  clear: "Hreinsa einkunn"
2569
2681
  },
2570
2682
  spinner: { label: "Hleð" },
2683
+ stat: {
2684
+ up: (change) => `Hækkun um ${change}`,
2685
+ down: (change) => `Lækkun um ${change}`,
2686
+ unchanged: "Engin breyting"
2687
+ },
2571
2688
  stepper: {
2572
2689
  stepsLabel: "Skref",
2573
2690
  optional: "valfrjálst",
@@ -2648,6 +2765,7 @@ const nl = {
2648
2765
  barChart: "Staafdiagram",
2649
2766
  pieChart: "Cirkeldiagram",
2650
2767
  candlestickChart: "Candlestickdiagram",
2768
+ waterfallChart: "Watervaldiagram",
2651
2769
  category: "Categorie",
2652
2770
  value: "Waarde",
2653
2771
  share: "Aandeel",
@@ -2657,13 +2775,20 @@ const nl = {
2657
2775
  high: "Hoog",
2658
2776
  low: "Laag",
2659
2777
  close: "Slot",
2778
+ change: "Wijziging",
2779
+ runningTotal: "Lopend totaal",
2660
2780
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2661
2781
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2662
2782
  candle: (label, open, high, low, close) => `${label}: open ${open}, hoog ${high}, laag ${low}, slot ${close}`,
2783
+ step: (label, change, runningTotal) => `${label}: wijziging ${change}, lopend totaal ${runningTotal}`,
2784
+ stepTotal: (label, total) => `${label}: totaal ${total}`,
2663
2785
  total: "Totaal",
2664
2786
  trend: "Trend",
2665
2787
  trendSummary: (first, last, low, high) => `Van ${first} naar ${last}, laagste ${low}, hoogste ${high}`,
2666
- referenceLine: (label, value) => label ? `Referentielijn, ${label}: ${value}` : `Referentielijn: ${value}`
2788
+ referenceLine: (label, value) => label ? `Referentielijn, ${label}: ${value}` : `Referentielijn: ${value}`,
2789
+ gauge: "Meter",
2790
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
2791
+ gaugeBand: (label, from, to) => label ? `${label}: ${from} tot ${to}.` : `${from} tot ${to}.`
2667
2792
  },
2668
2793
  codeInput: {
2669
2794
  groupLabel: (length) => `Verificatiecode, ${length} cijfers`,
@@ -2814,6 +2939,11 @@ const nl = {
2814
2939
  clear: "Beoordeling wissen"
2815
2940
  },
2816
2941
  spinner: { label: "Laden" },
2942
+ stat: {
2943
+ up: (change) => `Gestegen met ${change}`,
2944
+ down: (change) => `Gedaald met ${change}`,
2945
+ unchanged: "Onveranderd"
2946
+ },
2817
2947
  stepper: {
2818
2948
  stepsLabel: "Stappen",
2819
2949
  optional: "optioneel",
@@ -2894,6 +3024,7 @@ const pl = {
2894
3024
  barChart: "Wykres słupkowy",
2895
3025
  pieChart: "Wykres kołowy",
2896
3026
  candlestickChart: "Wykres świecowy",
3027
+ waterfallChart: "Wykres kaskadowy",
2897
3028
  category: "Kategoria",
2898
3029
  value: "Wartość",
2899
3030
  share: "Udział",
@@ -2903,13 +3034,20 @@ const pl = {
2903
3034
  high: "Maksimum",
2904
3035
  low: "Minimum",
2905
3036
  close: "Zamknięcie",
3037
+ change: "Zmiana",
3038
+ runningTotal: "Suma narastająca",
2906
3039
  point: (series, label, value) => `${series}, ${label}: ${value}`,
2907
3040
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
2908
3041
  candle: (label, open, high, low, close) => `${label}: otwarcie ${open}, maksimum ${high}, minimum ${low}, zamknięcie ${close}`,
3042
+ step: (label, change, runningTotal) => `${label}: zmiana ${change}, suma narastająca ${runningTotal}`,
3043
+ stepTotal: (label, total) => `${label}: suma ${total}`,
2909
3044
  total: "Suma",
2910
3045
  trend: "Trend",
2911
3046
  trendSummary: (first, last, low, high) => `Od ${first} do ${last}, minimum ${low}, maksimum ${high}`,
2912
- referenceLine: (label, value) => label ? `Linia odniesienia, ${label}: ${value}` : `Linia odniesienia: ${value}`
3047
+ referenceLine: (label, value) => label ? `Linia odniesienia, ${label}: ${value}` : `Linia odniesienia: ${value}`,
3048
+ gauge: "Wskaźnik",
3049
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
3050
+ gaugeBand: (label, from, to) => label ? `${label}: od ${from} do ${to}.` : `Od ${from} do ${to}.`
2913
3051
  },
2914
3052
  codeInput: {
2915
3053
  groupLabel: (length) => `Kod weryfikacyjny, ${length} cyfr`,
@@ -3060,6 +3198,11 @@ const pl = {
3060
3198
  clear: "Wyczyść ocenę"
3061
3199
  },
3062
3200
  spinner: { label: "Ładowanie" },
3201
+ stat: {
3202
+ up: (change) => `Wzrost o ${change}`,
3203
+ down: (change) => `Spadek o ${change}`,
3204
+ unchanged: "Bez zmian"
3205
+ },
3063
3206
  stepper: {
3064
3207
  stepsLabel: "Kroki",
3065
3208
  optional: "opcjonalny",
@@ -3140,6 +3283,7 @@ const ptBR = {
3140
3283
  barChart: "Gráfico de barras",
3141
3284
  pieChart: "Gráfico de pizza",
3142
3285
  candlestickChart: "Gráfico de velas",
3286
+ waterfallChart: "Gráfico de cascata",
3143
3287
  category: "Categoria",
3144
3288
  value: "Valor",
3145
3289
  share: "Participação",
@@ -3149,13 +3293,20 @@ const ptBR = {
3149
3293
  high: "Máxima",
3150
3294
  low: "Mínima",
3151
3295
  close: "Fechamento",
3296
+ change: "Variação",
3297
+ runningTotal: "Total acumulado",
3152
3298
  point: (series, label, value) => `${series}, ${label}: ${value}`,
3153
3299
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
3154
3300
  candle: (label, open, high, low, close) => `${label}: abertura ${open}, máxima ${high}, mínima ${low}, fechamento ${close}`,
3301
+ step: (label, change, runningTotal) => `${label}: variação ${change}, total acumulado ${runningTotal}`,
3302
+ stepTotal: (label, total) => `${label}: total ${total}`,
3155
3303
  total: "Total",
3156
3304
  trend: "Tendência",
3157
3305
  trendSummary: (first, last, low, high) => `De ${first} a ${last}, mínimo ${low}, máximo ${high}`,
3158
- referenceLine: (label, value) => label ? `Linha de referência, ${label}: ${value}` : `Linha de referência: ${value}`
3306
+ referenceLine: (label, value) => label ? `Linha de referência, ${label}: ${value}` : `Linha de referência: ${value}`,
3307
+ gauge: "Medidor",
3308
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
3309
+ gaugeBand: (label, from, to) => label ? `${label}: de ${from} a ${to}.` : `De ${from} a ${to}.`
3159
3310
  },
3160
3311
  codeInput: {
3161
3312
  groupLabel: (length) => `Código de verificação, ${length} dígitos`,
@@ -3306,6 +3457,11 @@ const ptBR = {
3306
3457
  clear: "Limpar avaliação"
3307
3458
  },
3308
3459
  spinner: { label: "Carregando" },
3460
+ stat: {
3461
+ up: (change) => `Alta de ${change}`,
3462
+ down: (change) => `Queda de ${change}`,
3463
+ unchanged: "Sem alteração"
3464
+ },
3309
3465
  stepper: {
3310
3466
  stepsLabel: "Etapas",
3311
3467
  optional: "opcional",
@@ -3386,6 +3542,7 @@ const ru = {
3386
3542
  barChart: "Столбчатая диаграмма",
3387
3543
  pieChart: "Круговая диаграмма",
3388
3544
  candlestickChart: "Свечной график",
3545
+ waterfallChart: "Каскадная диаграмма",
3389
3546
  category: "Категория",
3390
3547
  value: "Значение",
3391
3548
  share: "Доля",
@@ -3395,13 +3552,20 @@ const ru = {
3395
3552
  high: "Максимум",
3396
3553
  low: "Минимум",
3397
3554
  close: "Закрытие",
3555
+ change: "Изменение",
3556
+ runningTotal: "Нарастающий итог",
3398
3557
  point: (series, label, value) => `${series}, ${label}: ${value}`,
3399
3558
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
3400
3559
  candle: (label, open, high, low, close) => `${label}: открытие ${open}, максимум ${high}, минимум ${low}, закрытие ${close}`,
3560
+ step: (label, change, runningTotal) => `${label}: изменение ${change}, нарастающий итог ${runningTotal}`,
3561
+ stepTotal: (label, total) => `${label}: итого ${total}`,
3401
3562
  total: "Итого",
3402
3563
  trend: "Динамика",
3403
3564
  trendSummary: (first, last, low, high) => `С ${first} до ${last}, минимум ${low}, максимум ${high}`,
3404
- referenceLine: (label, value) => label ? `Опорная линия, ${label}: ${value}` : `Опорная линия: ${value}`
3565
+ referenceLine: (label, value) => label ? `Опорная линия, ${label}: ${value}` : `Опорная линия: ${value}`,
3566
+ gauge: "Индикатор",
3567
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
3568
+ gaugeBand: (label, from, to) => label ? `${label}: от ${from} до ${to}.` : `От ${from} до ${to}.`
3405
3569
  },
3406
3570
  codeInput: {
3407
3571
  groupLabel: (length) => `Код подтверждения, ${length} цифр`,
@@ -3552,6 +3716,11 @@ const ru = {
3552
3716
  clear: "Очистить оценку"
3553
3717
  },
3554
3718
  spinner: { label: "Загрузка" },
3719
+ stat: {
3720
+ up: (change) => `Рост на ${change}`,
3721
+ down: (change) => `Снижение на ${change}`,
3722
+ unchanged: "Без изменений"
3723
+ },
3555
3724
  stepper: {
3556
3725
  stepsLabel: "Шаги",
3557
3726
  optional: "необязательно",
@@ -3632,6 +3801,7 @@ const uk = {
3632
3801
  barChart: "Стовпчикова діаграма",
3633
3802
  pieChart: "Кругова діаграма",
3634
3803
  candlestickChart: "Свічковий графік",
3804
+ waterfallChart: "Каскадна діаграма",
3635
3805
  category: "Категорія",
3636
3806
  value: "Значення",
3637
3807
  share: "Частка",
@@ -3641,13 +3811,20 @@ const uk = {
3641
3811
  high: "Максимум",
3642
3812
  low: "Мінімум",
3643
3813
  close: "Закриття",
3814
+ change: "Зміна",
3815
+ runningTotal: "Наростаючий підсумок",
3644
3816
  point: (series, label, value) => `${series}, ${label}: ${value}`,
3645
3817
  slice: (label, value, percent) => `${label}: ${value}, ${percent}`,
3646
3818
  candle: (label, open, high, low, close) => `${label}: відкриття ${open}, максимум ${high}, мінімум ${low}, закриття ${close}`,
3819
+ step: (label, change, runningTotal) => `${label}: зміна ${change}, наростаючий підсумок ${runningTotal}`,
3820
+ stepTotal: (label, total) => `${label}: разом ${total}`,
3647
3821
  total: "Разом",
3648
3822
  trend: "Динаміка",
3649
3823
  trendSummary: (first, last, low, high) => `Від ${first} до ${last}, мінімум ${low}, максимум ${high}`,
3650
- referenceLine: (label, value) => label ? `Опорна лінія, ${label}: ${value}` : `Опорна лінія: ${value}`
3824
+ referenceLine: (label, value) => label ? `Опорна лінія, ${label}: ${value}` : `Опорна лінія: ${value}`,
3825
+ gauge: "Індикатор",
3826
+ gaugeValue: (value, band) => band ? `${value}, ${band}` : value,
3827
+ gaugeBand: (label, from, to) => label ? `${label}: від ${from} до ${to}.` : `Від ${from} до ${to}.`
3651
3828
  },
3652
3829
  codeInput: {
3653
3830
  groupLabel: (length) => `Код підтвердження, ${length} цифр`,
@@ -3798,6 +3975,11 @@ const uk = {
3798
3975
  clear: "Очистити оцінку"
3799
3976
  },
3800
3977
  spinner: { label: "Завантаження" },
3978
+ stat: {
3979
+ up: (change) => `Зростання на ${change}`,
3980
+ down: (change) => `Зниження на ${change}`,
3981
+ unchanged: "Без змін"
3982
+ },
3801
3983
  stepper: {
3802
3984
  stepsLabel: "Кроки",
3803
3985
  optional: "необов’язково",
@@ -3878,6 +4060,7 @@ const zhCN = {
3878
4060
  barChart: "柱状图",
3879
4061
  pieChart: "饼图",
3880
4062
  candlestickChart: "K 线图",
4063
+ waterfallChart: "瀑布图",
3881
4064
  category: "类别",
3882
4065
  value: "数值",
3883
4066
  share: "占比",
@@ -3887,13 +4070,20 @@ const zhCN = {
3887
4070
  high: "最高",
3888
4071
  low: "最低",
3889
4072
  close: "收盘",
4073
+ change: "变化",
4074
+ runningTotal: "累计",
3890
4075
  point: (series, label, value) => `${series},${label}:${value}`,
3891
4076
  slice: (label, value, percent) => `${label}:${value},${percent}`,
3892
4077
  candle: (label, open, high, low, close) => `${label}:开盘 ${open},最高 ${high},最低 ${low},收盘 ${close}`,
4078
+ step: (label, change, runningTotal) => `${label}:变化 ${change},累计 ${runningTotal}`,
4079
+ stepTotal: (label, total) => `${label}:总计 ${total}`,
3893
4080
  total: "总计",
3894
4081
  trend: "趋势",
3895
4082
  trendSummary: (first, last, low, high) => `从 ${first} 到 ${last},最低 ${low},最高 ${high}`,
3896
- referenceLine: (label, value) => label ? `参考线,${label}:${value}` : `参考线:${value}`
4083
+ referenceLine: (label, value) => label ? `参考线,${label}:${value}` : `参考线:${value}`,
4084
+ gauge: "仪表盘",
4085
+ gaugeValue: (value, band) => band ? `${value},${band}` : value,
4086
+ gaugeBand: (label, from, to) => label ? `${label}:${from} 至 ${to}。` : `${from} 至 ${to}。`
3897
4087
  },
3898
4088
  codeInput: {
3899
4089
  groupLabel: (length) => `验证码,共 ${length} 位`,
@@ -4044,6 +4234,11 @@ const zhCN = {
4044
4234
  clear: "清除评分"
4045
4235
  },
4046
4236
  spinner: { label: "加载中" },
4237
+ stat: {
4238
+ up: (change) => `上升 ${change}`,
4239
+ down: (change) => `下降 ${change}`,
4240
+ unchanged: "无变化"
4241
+ },
4047
4242
  stepper: {
4048
4243
  stepsLabel: "步骤",
4049
4244
  optional: "可选",
@@ -23786,6 +23981,361 @@ function roundTo(value, digits) {
23786
23981
  const factor = 10 ** digits;
23787
23982
  return (Math.round(value * factor) / factor).toString();
23788
23983
  }
23984
+ const THICKNESS = .1;
23985
+ const BAND_THICKNESS = .3;
23986
+ const BAND_GAP = .2;
23987
+ function polar$1(cx, cy, r, angle) {
23988
+ return [cx + r * Math.cos(angle), cy + r * Math.sin(angle)];
23989
+ }
23990
+ function arcPath(cx, cy, r, start, end) {
23991
+ const [x0, y0] = polar$1(cx, cy, r, Math.PI * (1 + start));
23992
+ const [x1, y1] = polar$1(cx, cy, r, Math.PI * (1 + end));
23993
+ return `M${x0},${y0}A${r},${r} 0 0 1 ${x1},${y1}`;
23994
+ }
23995
+ var GaugeComponent = class GaugeComponent {
23996
+ i18n = inject(EagamiI18nService);
23997
+ value = input(0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
23998
+ min = input(0, ...ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []);
23999
+ max = input(100, ...ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []);
24000
+ bands = input([], ...ngDevMode ? [{ debugName: "bands" }] : /* istanbul ignore next */ []);
24001
+ caption = input(void 0, ...ngDevMode ? [{ debugName: "caption" }] : /* istanbul ignore next */ []);
24002
+ color = input(void 0, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
24003
+ showLimits = input(true, ...ngDevMode ? [{ debugName: "showLimits" }] : /* istanbul ignore next */ []);
24004
+ width = input(240, ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
24005
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
24006
+ animation = input("sweep", ...ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []);
24007
+ animationDuration = input(600, ...ngDevMode ? [{ debugName: "animationDuration" }] : /* istanbul ignore next */ []);
24008
+ formatValue = input(null, ...ngDevMode ? [{ debugName: "formatValue" }] : /* istanbul ignore next */ []);
24009
+ ariaLabel = input(void 0, {
24010
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
24011
+ alias: "aria-label"
24012
+ });
24013
+ viewport = injectChartViewport(this.size);
24014
+ format = injectChartFormatter(this.formatValue);
24015
+ bandsId = uniqueId("ea-gauge-bands");
24016
+ label = computed(() => this.ariaLabel() || this.caption() || this.i18n.messages().chart.gauge, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
24017
+ renderPass = computed(() => {
24018
+ this.animation();
24019
+ this.animationDuration();
24020
+ return [{}];
24021
+ }, ...ngDevMode ? [{ debugName: "renderPass" }] : /* istanbul ignore next */ []);
24022
+ hostClasses = computed(() => ({
24023
+ [`ea-gauge--${this.size()}`]: true,
24024
+ [`ea-gauge--animate-${this.animation()}`]: true
24025
+ }), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
24026
+ current = computed(() => {
24027
+ const value = this.value();
24028
+ return isFinite(value) ? clamp$1(value, this.min(), this.max()) : this.min();
24029
+ }, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
24030
+ fraction = computed(() => {
24031
+ const span = this.max() - this.min();
24032
+ return span > 0 ? (this.current() - this.min()) / span : 0;
24033
+ }, ...ngDevMode ? [{ debugName: "fraction" }] : /* istanbul ignore next */ []);
24034
+ scaledBands = computed(() => this.bands().map((band, index) => ({
24035
+ band,
24036
+ index,
24037
+ from: clamp$1(band.from, this.min(), this.max()),
24038
+ to: clamp$1(band.to, this.min(), this.max())
24039
+ })).filter(({ from, to }) => isFinite(from) && isFinite(to) && to > from), ...ngDevMode ? [{ debugName: "scaledBands" }] : /* istanbul ignore next */ []);
24040
+ activeBand = computed(() => {
24041
+ const value = this.current();
24042
+ return [...this.scaledBands()].reverse().find(({ from, to }) => value >= from && value <= to) ?? null;
24043
+ }, ...ngDevMode ? [{ debugName: "activeBand" }] : /* istanbul ignore next */ []);
24044
+ fill = computed(() => {
24045
+ const active = this.activeBand();
24046
+ return this.color() || (active ? chartColor(active.index, active.band.color) : chartColor(0));
24047
+ }, ...ngDevMode ? [{ debugName: "fill" }] : /* istanbul ignore next */ []);
24048
+ captionText = computed(() => this.caption() || this.activeBand()?.band.label || "", ...ngDevMode ? [{ debugName: "captionText" }] : /* istanbul ignore next */ []);
24049
+ layout = computed(() => {
24050
+ const width = Math.max(1, Math.min(this.viewport.width(), this.width()));
24051
+ const axisPx = this.viewport.fontSize() * .75;
24052
+ const span = this.max() - this.min();
24053
+ const thickness = width * THICKNESS;
24054
+ const hasBands = this.scaledBands().length > 0;
24055
+ const bandThickness = hasBands ? thickness * BAND_THICKNESS : 0;
24056
+ const bandGap = hasBands ? thickness * BAND_GAP : 0;
24057
+ const cx = width / 2;
24058
+ const cy = width / 2;
24059
+ const radius = Math.max(1, cx - bandThickness - bandGap - thickness / 2);
24060
+ const bandRadius = cx - bandThickness / 2;
24061
+ const at = (value) => span > 0 ? (value - this.min()) / span : 0;
24062
+ const bands = this.scaledBands().map(({ band, index, from, to }) => ({
24063
+ index,
24064
+ path: arcPath(cx, cy, bandRadius, at(from), at(to)),
24065
+ color: chartColor(index, band.color)
24066
+ }));
24067
+ const inner = Math.max(1, radius - thickness / 2);
24068
+ const room = inner * 1.5;
24069
+ const value = this.format()(isFinite(this.value()) ? this.value() : this.min());
24070
+ return {
24071
+ width,
24072
+ height: cy + (this.showLimits() ? axisPx * 1.75 : 0),
24073
+ thickness,
24074
+ bandThickness,
24075
+ track: arcPath(cx, cy, radius, 0, 1),
24076
+ bands,
24077
+ limits: {
24078
+ y: cy + axisPx * 1.25,
24079
+ minX: cx - radius,
24080
+ maxX: cx + radius
24081
+ },
24082
+ center: {
24083
+ left: cx - inner,
24084
+ width: inner * 2,
24085
+ height: cy,
24086
+ room,
24087
+ value,
24088
+ valuePx: Math.min(inner * .45, room / Math.max(1, value.length * .6))
24089
+ }
24090
+ };
24091
+ }, ...ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []);
24092
+ minText = computed(() => this.format()(this.min()), ...ngDevMode ? [{ debugName: "minText" }] : /* istanbul ignore next */ []);
24093
+ maxText = computed(() => this.format()(this.max()), ...ngDevMode ? [{ debugName: "maxText" }] : /* istanbul ignore next */ []);
24094
+ valueText = computed(() => {
24095
+ const band = this.activeBand()?.band.label ?? "";
24096
+ return this.i18n.messages().chart.gaugeValue(this.layout().center.value, band);
24097
+ }, ...ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []);
24098
+ bandsSummary = computed(() => {
24099
+ const format = this.format();
24100
+ const describe = this.i18n.messages().chart.gaugeBand;
24101
+ return this.scaledBands().map(({ band, from, to }) => describe(band.label ?? "", format(from), format(to))).join(" ");
24102
+ }, ...ngDevMode ? [{ debugName: "bandsSummary" }] : /* istanbul ignore next */ []);
24103
+ static ɵfac = i0.ɵɵngDeclareFactory({
24104
+ minVersion: "12.0.0",
24105
+ version: "22.3.0",
24106
+ ngImport: i0,
24107
+ type: GaugeComponent,
24108
+ deps: [],
24109
+ target: i0.ɵɵFactoryTarget.Component
24110
+ });
24111
+ static ɵcmp = i0.ɵɵngDeclareComponent({
24112
+ minVersion: "17.0.0",
24113
+ version: "22.3.0",
24114
+ type: GaugeComponent,
24115
+ isStandalone: true,
24116
+ selector: "ea-gauge",
24117
+ inputs: {
24118
+ value: {
24119
+ classPropertyName: "value",
24120
+ publicName: "value",
24121
+ isSignal: true,
24122
+ isRequired: false,
24123
+ transformFunction: null
24124
+ },
24125
+ min: {
24126
+ classPropertyName: "min",
24127
+ publicName: "min",
24128
+ isSignal: true,
24129
+ isRequired: false,
24130
+ transformFunction: null
24131
+ },
24132
+ max: {
24133
+ classPropertyName: "max",
24134
+ publicName: "max",
24135
+ isSignal: true,
24136
+ isRequired: false,
24137
+ transformFunction: null
24138
+ },
24139
+ bands: {
24140
+ classPropertyName: "bands",
24141
+ publicName: "bands",
24142
+ isSignal: true,
24143
+ isRequired: false,
24144
+ transformFunction: null
24145
+ },
24146
+ caption: {
24147
+ classPropertyName: "caption",
24148
+ publicName: "caption",
24149
+ isSignal: true,
24150
+ isRequired: false,
24151
+ transformFunction: null
24152
+ },
24153
+ color: {
24154
+ classPropertyName: "color",
24155
+ publicName: "color",
24156
+ isSignal: true,
24157
+ isRequired: false,
24158
+ transformFunction: null
24159
+ },
24160
+ showLimits: {
24161
+ classPropertyName: "showLimits",
24162
+ publicName: "showLimits",
24163
+ isSignal: true,
24164
+ isRequired: false,
24165
+ transformFunction: null
24166
+ },
24167
+ width: {
24168
+ classPropertyName: "width",
24169
+ publicName: "width",
24170
+ isSignal: true,
24171
+ isRequired: false,
24172
+ transformFunction: null
24173
+ },
24174
+ size: {
24175
+ classPropertyName: "size",
24176
+ publicName: "size",
24177
+ isSignal: true,
24178
+ isRequired: false,
24179
+ transformFunction: null
24180
+ },
24181
+ animation: {
24182
+ classPropertyName: "animation",
24183
+ publicName: "animation",
24184
+ isSignal: true,
24185
+ isRequired: false,
24186
+ transformFunction: null
24187
+ },
24188
+ animationDuration: {
24189
+ classPropertyName: "animationDuration",
24190
+ publicName: "animationDuration",
24191
+ isSignal: true,
24192
+ isRequired: false,
24193
+ transformFunction: null
24194
+ },
24195
+ formatValue: {
24196
+ classPropertyName: "formatValue",
24197
+ publicName: "formatValue",
24198
+ isSignal: true,
24199
+ isRequired: false,
24200
+ transformFunction: null
24201
+ },
24202
+ ariaLabel: {
24203
+ classPropertyName: "ariaLabel",
24204
+ publicName: "aria-label",
24205
+ isSignal: true,
24206
+ isRequired: false,
24207
+ transformFunction: null
24208
+ }
24209
+ },
24210
+ ngImport: i0,
24211
+ template: "<div\n class=\"ea-gauge\"\n [class]=\"hostClasses()\"\n [style.--ea-chart-duration]=\"animationDuration() + 'ms'\">\n <div\n class=\"ea-gauge__meter\"\n role=\"meter\"\n [attr.aria-label]=\"label()\"\n [attr.aria-valuenow]=\"current()\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-valuetext]=\"valueText()\"\n [attr.aria-describedby]=\"bandsSummary() ? bandsId : null\">\n <div\n class=\"ea-gauge__figure\"\n [style.width.px]=\"layout().width\"\n [style.height.px]=\"layout().height\">\n @for (pass of renderPass(); track pass) {\n <svg\n class=\"ea-gauge__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 @for (band of layout().bands; track band.index) {\n <path\n class=\"ea-gauge__band\"\n [style.--ea-chart-color]=\"band.color\"\n [attr.stroke-width]=\"layout().bandThickness\"\n [attr.d]=\"band.path\" />\n }\n <path\n class=\"ea-gauge__track\"\n [attr.stroke-width]=\"layout().thickness\"\n [attr.d]=\"layout().track\" />\n <path\n class=\"ea-gauge__arc\"\n pathLength=\"1\"\n [style.--ea-chart-color]=\"fill()\"\n [attr.stroke-dasharray]=\"fraction() + ' 1'\"\n [attr.stroke-width]=\"layout().thickness\"\n [attr.d]=\"layout().track\" />\n @if (showLimits()) {\n <text\n class=\"ea-gauge__limit\"\n text-anchor=\"middle\"\n [attr.x]=\"layout().limits.minX\"\n [attr.y]=\"layout().limits.y\">\n {{ minText() }}\n </text>\n <text\n class=\"ea-gauge__limit\"\n text-anchor=\"middle\"\n [attr.x]=\"layout().limits.maxX\"\n [attr.y]=\"layout().limits.y\">\n {{ maxText() }}\n </text>\n }\n </svg>\n <div\n class=\"ea-gauge__center\"\n aria-hidden=\"true\"\n [style.left.px]=\"layout().center.left\"\n [style.width.px]=\"layout().center.width\"\n [style.height.px]=\"layout().center.height\"\n [style.--ea-gauge-room]=\"layout().center.room + 'px'\">\n <span\n class=\"ea-gauge__value\"\n [style.font-size.px]=\"layout().center.valuePx\">\n {{ layout().center.value }}\n </span>\n @if (captionText()) {\n <span class=\"ea-gauge__caption\">{{ captionText() }}</span>\n }\n </div>\n }\n </div>\n <span\n hidden\n [id]=\"bandsId\">\n {{ bandsSummary() }}\n </span>\n </div>\n</div>\n",
24212
+ 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-gauge{display:block}.ea-gauge{position:relative;display:flex;flex-direction:column;gap:.75em;font-family:var(--font-family-sans);color:var(--color-text-primary)}.ea-gauge--2xs{font-size:var(--font-size-2xs)}.ea-gauge--xs{font-size:var(--font-size-xs)}.ea-gauge--sm{font-size:var(--font-size-sm)}.ea-gauge--md{font-size:var(--font-size-md)}.ea-gauge--lg{font-size:var(--font-size-lg)}.ea-gauge--xl{font-size:var(--font-size-xl)}.ea-gauge__meter{display:flex;justify-content:center}.ea-gauge__figure{position:relative}.ea-gauge__svg{overflow:visible;display:block;direction:ltr}.ea-gauge__track,.ea-gauge__arc,.ea-gauge__band{fill:none;stroke-linecap:butt}.ea-gauge__track{stroke:var(--color-bg-muted)}.ea-gauge__arc,.ea-gauge__band{stroke:var(--ea-chart-color)}.ea-gauge__limit{font-size:.75em;fill:var(--color-text-secondary);font-variant-numeric:tabular-nums}.ea-gauge__center{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;line-height:var(--line-height-tight);text-align:center;pointer-events:none}.ea-gauge__value,.ea-gauge__caption{overflow:hidden;max-width:var(--ea-gauge-room);white-space:nowrap;text-overflow:ellipsis}.ea-gauge__value{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-gauge__caption{font-size:.875em;color:var(--color-text-secondary)}.ea-gauge--animate-sweep .ea-gauge__arc{animation-name:ea-gauge-sweep;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:backwards}.ea-gauge--animate-fade .ea-gauge__svg,.ea-gauge--animate-fade .ea-gauge__center{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-gauge--animate-fade .ea-gauge__svg,.ea-gauge--animate-fade .ea-gauge__center{animation:none}}.ea-gauge--animate-sweep .ea-gauge__center{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-gauge--animate-sweep .ea-gauge__center{animation:none}}.ea-gauge--animate-sweep .ea-gauge__arc,.ea-gauge--animate-fade .ea-gauge__arc{transition:stroke-dasharray var(--ea-chart-duration, .6s) var(--ease-out),stroke var(--ea-chart-duration, .6s) var(--ease-out)}@media(prefers-reduced-motion:reduce){.ea-gauge .ea-gauge__arc{transition:none;animation:none}}@media(forced-colors:active){.ea-gauge .ea-gauge__track{stroke:GrayText}.ea-gauge .ea-gauge__arc{stroke:Highlight}.ea-gauge .ea-gauge__band{stroke:CanvasText}}@keyframes ea-gauge-sweep{0%{stroke-dasharray:0 1}}\n"],
24213
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
24214
+ encapsulation: i0.ViewEncapsulation.None
24215
+ });
24216
+ };
24217
+ i0.ɵɵngDeclareClassMetadata({
24218
+ minVersion: "12.0.0",
24219
+ version: "22.3.0",
24220
+ ngImport: i0,
24221
+ type: GaugeComponent,
24222
+ decorators: [{
24223
+ type: Component,
24224
+ args: [{
24225
+ selector: "ea-gauge",
24226
+ changeDetection: ChangeDetectionStrategy.OnPush,
24227
+ encapsulation: ViewEncapsulation.None,
24228
+ template: "<div\n class=\"ea-gauge\"\n [class]=\"hostClasses()\"\n [style.--ea-chart-duration]=\"animationDuration() + 'ms'\">\n <div\n class=\"ea-gauge__meter\"\n role=\"meter\"\n [attr.aria-label]=\"label()\"\n [attr.aria-valuenow]=\"current()\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-valuetext]=\"valueText()\"\n [attr.aria-describedby]=\"bandsSummary() ? bandsId : null\">\n <div\n class=\"ea-gauge__figure\"\n [style.width.px]=\"layout().width\"\n [style.height.px]=\"layout().height\">\n @for (pass of renderPass(); track pass) {\n <svg\n class=\"ea-gauge__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 @for (band of layout().bands; track band.index) {\n <path\n class=\"ea-gauge__band\"\n [style.--ea-chart-color]=\"band.color\"\n [attr.stroke-width]=\"layout().bandThickness\"\n [attr.d]=\"band.path\" />\n }\n <path\n class=\"ea-gauge__track\"\n [attr.stroke-width]=\"layout().thickness\"\n [attr.d]=\"layout().track\" />\n <path\n class=\"ea-gauge__arc\"\n pathLength=\"1\"\n [style.--ea-chart-color]=\"fill()\"\n [attr.stroke-dasharray]=\"fraction() + ' 1'\"\n [attr.stroke-width]=\"layout().thickness\"\n [attr.d]=\"layout().track\" />\n @if (showLimits()) {\n <text\n class=\"ea-gauge__limit\"\n text-anchor=\"middle\"\n [attr.x]=\"layout().limits.minX\"\n [attr.y]=\"layout().limits.y\">\n {{ minText() }}\n </text>\n <text\n class=\"ea-gauge__limit\"\n text-anchor=\"middle\"\n [attr.x]=\"layout().limits.maxX\"\n [attr.y]=\"layout().limits.y\">\n {{ maxText() }}\n </text>\n }\n </svg>\n <div\n class=\"ea-gauge__center\"\n aria-hidden=\"true\"\n [style.left.px]=\"layout().center.left\"\n [style.width.px]=\"layout().center.width\"\n [style.height.px]=\"layout().center.height\"\n [style.--ea-gauge-room]=\"layout().center.room + 'px'\">\n <span\n class=\"ea-gauge__value\"\n [style.font-size.px]=\"layout().center.valuePx\">\n {{ layout().center.value }}\n </span>\n @if (captionText()) {\n <span class=\"ea-gauge__caption\">{{ captionText() }}</span>\n }\n </div>\n }\n </div>\n <span\n hidden\n [id]=\"bandsId\">\n {{ bandsSummary() }}\n </span>\n </div>\n</div>\n",
24229
+ 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-gauge{display:block}.ea-gauge{position:relative;display:flex;flex-direction:column;gap:.75em;font-family:var(--font-family-sans);color:var(--color-text-primary)}.ea-gauge--2xs{font-size:var(--font-size-2xs)}.ea-gauge--xs{font-size:var(--font-size-xs)}.ea-gauge--sm{font-size:var(--font-size-sm)}.ea-gauge--md{font-size:var(--font-size-md)}.ea-gauge--lg{font-size:var(--font-size-lg)}.ea-gauge--xl{font-size:var(--font-size-xl)}.ea-gauge__meter{display:flex;justify-content:center}.ea-gauge__figure{position:relative}.ea-gauge__svg{overflow:visible;display:block;direction:ltr}.ea-gauge__track,.ea-gauge__arc,.ea-gauge__band{fill:none;stroke-linecap:butt}.ea-gauge__track{stroke:var(--color-bg-muted)}.ea-gauge__arc,.ea-gauge__band{stroke:var(--ea-chart-color)}.ea-gauge__limit{font-size:.75em;fill:var(--color-text-secondary);font-variant-numeric:tabular-nums}.ea-gauge__center{position:absolute;top:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;line-height:var(--line-height-tight);text-align:center;pointer-events:none}.ea-gauge__value,.ea-gauge__caption{overflow:hidden;max-width:var(--ea-gauge-room);white-space:nowrap;text-overflow:ellipsis}.ea-gauge__value{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-gauge__caption{font-size:.875em;color:var(--color-text-secondary)}.ea-gauge--animate-sweep .ea-gauge__arc{animation-name:ea-gauge-sweep;animation-duration:var(--ea-chart-duration, .6s);animation-timing-function:var(--ease-out);animation-fill-mode:backwards}.ea-gauge--animate-fade .ea-gauge__svg,.ea-gauge--animate-fade .ea-gauge__center{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-gauge--animate-fade .ea-gauge__svg,.ea-gauge--animate-fade .ea-gauge__center{animation:none}}.ea-gauge--animate-sweep .ea-gauge__center{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-gauge--animate-sweep .ea-gauge__center{animation:none}}.ea-gauge--animate-sweep .ea-gauge__arc,.ea-gauge--animate-fade .ea-gauge__arc{transition:stroke-dasharray var(--ea-chart-duration, .6s) var(--ease-out),stroke var(--ea-chart-duration, .6s) var(--ease-out)}@media(prefers-reduced-motion:reduce){.ea-gauge .ea-gauge__arc{transition:none;animation:none}}@media(forced-colors:active){.ea-gauge .ea-gauge__track{stroke:GrayText}.ea-gauge .ea-gauge__arc{stroke:Highlight}.ea-gauge .ea-gauge__band{stroke:CanvasText}}@keyframes ea-gauge-sweep{0%{stroke-dasharray:0 1}}\n"]
24230
+ }]
24231
+ }],
24232
+ propDecorators: {
24233
+ value: [{
24234
+ type: i0.Input,
24235
+ args: [{
24236
+ isSignal: true,
24237
+ alias: "value",
24238
+ required: false
24239
+ }]
24240
+ }],
24241
+ min: [{
24242
+ type: i0.Input,
24243
+ args: [{
24244
+ isSignal: true,
24245
+ alias: "min",
24246
+ required: false
24247
+ }]
24248
+ }],
24249
+ max: [{
24250
+ type: i0.Input,
24251
+ args: [{
24252
+ isSignal: true,
24253
+ alias: "max",
24254
+ required: false
24255
+ }]
24256
+ }],
24257
+ bands: [{
24258
+ type: i0.Input,
24259
+ args: [{
24260
+ isSignal: true,
24261
+ alias: "bands",
24262
+ required: false
24263
+ }]
24264
+ }],
24265
+ caption: [{
24266
+ type: i0.Input,
24267
+ args: [{
24268
+ isSignal: true,
24269
+ alias: "caption",
24270
+ required: false
24271
+ }]
24272
+ }],
24273
+ color: [{
24274
+ type: i0.Input,
24275
+ args: [{
24276
+ isSignal: true,
24277
+ alias: "color",
24278
+ required: false
24279
+ }]
24280
+ }],
24281
+ showLimits: [{
24282
+ type: i0.Input,
24283
+ args: [{
24284
+ isSignal: true,
24285
+ alias: "showLimits",
24286
+ required: false
24287
+ }]
24288
+ }],
24289
+ width: [{
24290
+ type: i0.Input,
24291
+ args: [{
24292
+ isSignal: true,
24293
+ alias: "width",
24294
+ required: false
24295
+ }]
24296
+ }],
24297
+ size: [{
24298
+ type: i0.Input,
24299
+ args: [{
24300
+ isSignal: true,
24301
+ alias: "size",
24302
+ required: false
24303
+ }]
24304
+ }],
24305
+ animation: [{
24306
+ type: i0.Input,
24307
+ args: [{
24308
+ isSignal: true,
24309
+ alias: "animation",
24310
+ required: false
24311
+ }]
24312
+ }],
24313
+ animationDuration: [{
24314
+ type: i0.Input,
24315
+ args: [{
24316
+ isSignal: true,
24317
+ alias: "animationDuration",
24318
+ required: false
24319
+ }]
24320
+ }],
24321
+ formatValue: [{
24322
+ type: i0.Input,
24323
+ args: [{
24324
+ isSignal: true,
24325
+ alias: "formatValue",
24326
+ required: false
24327
+ }]
24328
+ }],
24329
+ ariaLabel: [{
24330
+ type: i0.Input,
24331
+ args: [{
24332
+ isSignal: true,
24333
+ alias: "aria-label",
24334
+ required: false
24335
+ }]
24336
+ }]
24337
+ }
24338
+ });
23789
24339
  const EDGE_INSET = 8;
23790
24340
  const DRAG_THRESHOLD = 4;
23791
24341
  const WHEEL_LINE_PX = 16;
@@ -30800,6 +31350,304 @@ i0.ɵɵngDeclareClassMetadata({
30800
31350
  }]
30801
31351
  }
30802
31352
  });
31353
+ const SPARKLINE_EM = 2;
31354
+ const SIZE_PX = {
31355
+ "2xs": 10,
31356
+ xs: 12,
31357
+ sm: 14,
31358
+ md: 16,
31359
+ lg: 18,
31360
+ xl: 20
31361
+ };
31362
+ var StatComponent = class StatComponent {
31363
+ i18n = inject(EagamiI18nService);
31364
+ label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
31365
+ value = input(0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
31366
+ previousValue = input(null, ...ngDevMode ? [{ debugName: "previousValue" }] : /* istanbul ignore next */ []);
31367
+ changeFormat = input("percent", ...ngDevMode ? [{ debugName: "changeFormat" }] : /* istanbul ignore next */ []);
31368
+ invertTone = input(false, ...ngDevMode ? [{ debugName: "invertTone" }] : /* istanbul ignore next */ []);
31369
+ caption = input(void 0, ...ngDevMode ? [{ debugName: "caption" }] : /* istanbul ignore next */ []);
31370
+ sparkline = input([], ...ngDevMode ? [{ debugName: "sparkline" }] : /* istanbul ignore next */ []);
31371
+ sparklineVariant = input("area", ...ngDevMode ? [{ debugName: "sparklineVariant" }] : /* istanbul ignore next */ []);
31372
+ variant = input("outlined", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
31373
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
31374
+ formatValue = input(null, ...ngDevMode ? [{ debugName: "formatValue" }] : /* istanbul ignore next */ []);
31375
+ format = injectChartFormatter(this.formatValue);
31376
+ hostClasses = computed(() => ({
31377
+ [`ea-stat--${this.size()}`]: true,
31378
+ [`ea-stat--${this.variant()}`]: true
31379
+ }), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
31380
+ formattedValue = computed(() => this.format()(this.value()), ...ngDevMode ? [{ debugName: "formattedValue" }] : /* istanbul ignore next */ []);
31381
+ sparklineHeight = computed(() => SIZE_PX[this.size()] * SPARKLINE_EM, ...ngDevMode ? [{ debugName: "sparklineHeight" }] : /* istanbul ignore next */ []);
31382
+ hasSparkline = computed(() => this.sparkline().some((value) => value != null && isFinite(value)), ...ngDevMode ? [{ debugName: "hasSparkline" }] : /* istanbul ignore next */ []);
31383
+ change = computed(() => {
31384
+ const previous = this.previousValue();
31385
+ const value = this.value();
31386
+ if (previous == null || !isFinite(previous) || !isFinite(value)) return null;
31387
+ const difference = value - previous;
31388
+ const direction = difference > 0 ? "up" : difference < 0 ? "down" : "flat";
31389
+ const rising = direction === "up" ? !this.invertTone() : this.invertTone();
31390
+ const tone = direction === "flat" ? "neutral" : rising ? "positive" : "negative";
31391
+ const percent = this.changeFormat() === "percent" && previous !== 0;
31392
+ const relative = difference / Math.abs(previous) * 100;
31393
+ const text = percent ? this.signed(this.percent(relative), relative) : this.signed(this.format()(difference), difference);
31394
+ const magnitude = percent ? this.percent(Math.abs(relative)) : this.format()(Math.abs(difference));
31395
+ const messages = this.i18n.messages().stat;
31396
+ return {
31397
+ direction,
31398
+ tone,
31399
+ text,
31400
+ spoken: direction === "up" ? messages.up(magnitude) : direction === "down" ? messages.down(magnitude) : messages.unchanged
31401
+ };
31402
+ }, ...ngDevMode ? [{ debugName: "change" }] : /* istanbul ignore next */ []);
31403
+ percent(percent) {
31404
+ return `${formatGroupedNumber(percent, this.i18n.locale(), this.i18n.messages().numberFormat, { maximumFractionDigits: 1 })}%`;
31405
+ }
31406
+ signed(text, value) {
31407
+ return value > 0 ? `+${text}` : text;
31408
+ }
31409
+ static ɵfac = i0.ɵɵngDeclareFactory({
31410
+ minVersion: "12.0.0",
31411
+ version: "22.3.0",
31412
+ ngImport: i0,
31413
+ type: StatComponent,
31414
+ deps: [],
31415
+ target: i0.ɵɵFactoryTarget.Component
31416
+ });
31417
+ static ɵcmp = i0.ɵɵngDeclareComponent({
31418
+ minVersion: "17.0.0",
31419
+ version: "22.3.0",
31420
+ type: StatComponent,
31421
+ isStandalone: true,
31422
+ selector: "ea-stat",
31423
+ inputs: {
31424
+ label: {
31425
+ classPropertyName: "label",
31426
+ publicName: "label",
31427
+ isSignal: true,
31428
+ isRequired: false,
31429
+ transformFunction: null
31430
+ },
31431
+ value: {
31432
+ classPropertyName: "value",
31433
+ publicName: "value",
31434
+ isSignal: true,
31435
+ isRequired: false,
31436
+ transformFunction: null
31437
+ },
31438
+ previousValue: {
31439
+ classPropertyName: "previousValue",
31440
+ publicName: "previousValue",
31441
+ isSignal: true,
31442
+ isRequired: false,
31443
+ transformFunction: null
31444
+ },
31445
+ changeFormat: {
31446
+ classPropertyName: "changeFormat",
31447
+ publicName: "changeFormat",
31448
+ isSignal: true,
31449
+ isRequired: false,
31450
+ transformFunction: null
31451
+ },
31452
+ invertTone: {
31453
+ classPropertyName: "invertTone",
31454
+ publicName: "invertTone",
31455
+ isSignal: true,
31456
+ isRequired: false,
31457
+ transformFunction: null
31458
+ },
31459
+ caption: {
31460
+ classPropertyName: "caption",
31461
+ publicName: "caption",
31462
+ isSignal: true,
31463
+ isRequired: false,
31464
+ transformFunction: null
31465
+ },
31466
+ sparkline: {
31467
+ classPropertyName: "sparkline",
31468
+ publicName: "sparkline",
31469
+ isSignal: true,
31470
+ isRequired: false,
31471
+ transformFunction: null
31472
+ },
31473
+ sparklineVariant: {
31474
+ classPropertyName: "sparklineVariant",
31475
+ publicName: "sparklineVariant",
31476
+ isSignal: true,
31477
+ isRequired: false,
31478
+ transformFunction: null
31479
+ },
31480
+ variant: {
31481
+ classPropertyName: "variant",
31482
+ publicName: "variant",
31483
+ isSignal: true,
31484
+ isRequired: false,
31485
+ transformFunction: null
31486
+ },
31487
+ size: {
31488
+ classPropertyName: "size",
31489
+ publicName: "size",
31490
+ isSignal: true,
31491
+ isRequired: false,
31492
+ transformFunction: null
31493
+ },
31494
+ formatValue: {
31495
+ classPropertyName: "formatValue",
31496
+ publicName: "formatValue",
31497
+ isSignal: true,
31498
+ isRequired: false,
31499
+ transformFunction: null
31500
+ }
31501
+ },
31502
+ ngImport: i0,
31503
+ template: "<div\n class=\"ea-stat\"\n [class]=\"hostClasses()\">\n @if (label()) {\n <div class=\"ea-stat__label\">{{ label() }}</div>\n }\n <div class=\"ea-stat__value\">\n <bdi>{{ formattedValue() }}</bdi>\n </div>\n @if (change() || caption()) {\n <div class=\"ea-stat__meta\">\n @if (change(); as change) {\n <span\n class=\"ea-stat__change\"\n [class]=\"'ea-stat__change--' + change.tone\">\n @if (change.direction === 'up') {\n <ea-icon-arrow-up class=\"ea-stat__arrow\" />\n } @else if (change.direction === 'down') {\n <ea-icon-arrow-down class=\"ea-stat__arrow\" />\n }\n <bdi aria-hidden=\"true\">{{ change.text }}</bdi>\n <span class=\"ea-stat__spoken\">{{ change.spoken }}</span>\n </span>\n }\n @if (caption()) {\n <span class=\"ea-stat__caption\">{{ caption() }}</span>\n }\n </div>\n }\n @if (hasSparkline()) {\n <ea-sparkline\n class=\"ea-stat__sparkline\"\n [data]=\"sparkline()\"\n [variant]=\"sparklineVariant()\"\n [height]=\"sparklineHeight()\"\n [formatValue]=\"formatValue()\" />\n }\n</div>\n",
31504
+ styles: ["ea-stat{display:block;min-width:0}.ea-stat{display:flex;flex-direction:column;gap:.25em;min-width:0;padding:1em;font-family:var(--font-family-sans);border-radius:var(--radius-lg);color:var(--color-text-primary)}.ea-stat--2xs{font-size:var(--font-size-2xs)}.ea-stat--xs{font-size:var(--font-size-xs)}.ea-stat--sm{font-size:var(--font-size-sm)}.ea-stat--md{font-size:var(--font-size-md)}.ea-stat--lg{font-size:var(--font-size-lg)}.ea-stat--xl{font-size:var(--font-size-xl)}.ea-stat--outlined{border:var(--border-width-thin) solid var(--color-border-default);background-color:var(--color-bg-base)}.ea-stat--filled{background-color:var(--color-bg-subtle)}.ea-stat--plain{padding:0}.ea-stat__label{font-size:.875em;font-weight:var(--font-weight-medium);line-height:var(--line-height-snug);color:var(--color-text-secondary)}.ea-stat__value{font-size:2em;font-weight:var(--font-weight-semibold);line-height:var(--line-height-tight);font-variant-numeric:tabular-nums}.ea-stat__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25em .5em;font-size:.875em;line-height:var(--line-height-snug)}.ea-stat__change{display:inline-flex;align-items:center;gap:.25em;font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-stat__change--positive{color:var(--color-success-text)}.ea-stat__change--negative{color:var(--color-error-text)}.ea-stat__change--neutral{color:var(--color-text-secondary)}.ea-stat__arrow{flex-shrink:0}.ea-stat__spoken{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-stat__caption{color:var(--color-text-secondary)}.ea-stat__sparkline{margin-top:.5em}\n"],
31505
+ dependencies: [
31506
+ {
31507
+ kind: "component",
31508
+ type: ArrowDownIconComponent,
31509
+ selector: "ea-icon-arrow-down"
31510
+ },
31511
+ {
31512
+ kind: "component",
31513
+ type: ArrowUpIconComponent,
31514
+ selector: "ea-icon-arrow-up"
31515
+ },
31516
+ {
31517
+ kind: "component",
31518
+ type: SparklineComponent,
31519
+ selector: "ea-sparkline",
31520
+ inputs: [
31521
+ "data",
31522
+ "variant",
31523
+ "curve",
31524
+ "markers",
31525
+ "color",
31526
+ "startAtZero",
31527
+ "showTooltip",
31528
+ "height",
31529
+ "animation",
31530
+ "animationDuration",
31531
+ "formatValue",
31532
+ "aria-label"
31533
+ ]
31534
+ }
31535
+ ],
31536
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
31537
+ encapsulation: i0.ViewEncapsulation.None
31538
+ });
31539
+ };
31540
+ i0.ɵɵngDeclareClassMetadata({
31541
+ minVersion: "12.0.0",
31542
+ version: "22.3.0",
31543
+ ngImport: i0,
31544
+ type: StatComponent,
31545
+ decorators: [{
31546
+ type: Component,
31547
+ args: [{
31548
+ selector: "ea-stat",
31549
+ imports: [
31550
+ ArrowDownIconComponent,
31551
+ ArrowUpIconComponent,
31552
+ SparklineComponent
31553
+ ],
31554
+ changeDetection: ChangeDetectionStrategy.OnPush,
31555
+ encapsulation: ViewEncapsulation.None,
31556
+ template: "<div\n class=\"ea-stat\"\n [class]=\"hostClasses()\">\n @if (label()) {\n <div class=\"ea-stat__label\">{{ label() }}</div>\n }\n <div class=\"ea-stat__value\">\n <bdi>{{ formattedValue() }}</bdi>\n </div>\n @if (change() || caption()) {\n <div class=\"ea-stat__meta\">\n @if (change(); as change) {\n <span\n class=\"ea-stat__change\"\n [class]=\"'ea-stat__change--' + change.tone\">\n @if (change.direction === 'up') {\n <ea-icon-arrow-up class=\"ea-stat__arrow\" />\n } @else if (change.direction === 'down') {\n <ea-icon-arrow-down class=\"ea-stat__arrow\" />\n }\n <bdi aria-hidden=\"true\">{{ change.text }}</bdi>\n <span class=\"ea-stat__spoken\">{{ change.spoken }}</span>\n </span>\n }\n @if (caption()) {\n <span class=\"ea-stat__caption\">{{ caption() }}</span>\n }\n </div>\n }\n @if (hasSparkline()) {\n <ea-sparkline\n class=\"ea-stat__sparkline\"\n [data]=\"sparkline()\"\n [variant]=\"sparklineVariant()\"\n [height]=\"sparklineHeight()\"\n [formatValue]=\"formatValue()\" />\n }\n</div>\n",
31557
+ styles: ["ea-stat{display:block;min-width:0}.ea-stat{display:flex;flex-direction:column;gap:.25em;min-width:0;padding:1em;font-family:var(--font-family-sans);border-radius:var(--radius-lg);color:var(--color-text-primary)}.ea-stat--2xs{font-size:var(--font-size-2xs)}.ea-stat--xs{font-size:var(--font-size-xs)}.ea-stat--sm{font-size:var(--font-size-sm)}.ea-stat--md{font-size:var(--font-size-md)}.ea-stat--lg{font-size:var(--font-size-lg)}.ea-stat--xl{font-size:var(--font-size-xl)}.ea-stat--outlined{border:var(--border-width-thin) solid var(--color-border-default);background-color:var(--color-bg-base)}.ea-stat--filled{background-color:var(--color-bg-subtle)}.ea-stat--plain{padding:0}.ea-stat__label{font-size:.875em;font-weight:var(--font-weight-medium);line-height:var(--line-height-snug);color:var(--color-text-secondary)}.ea-stat__value{font-size:2em;font-weight:var(--font-weight-semibold);line-height:var(--line-height-tight);font-variant-numeric:tabular-nums}.ea-stat__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25em .5em;font-size:.875em;line-height:var(--line-height-snug)}.ea-stat__change{display:inline-flex;align-items:center;gap:.25em;font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums}.ea-stat__change--positive{color:var(--color-success-text)}.ea-stat__change--negative{color:var(--color-error-text)}.ea-stat__change--neutral{color:var(--color-text-secondary)}.ea-stat__arrow{flex-shrink:0}.ea-stat__spoken{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-stat__caption{color:var(--color-text-secondary)}.ea-stat__sparkline{margin-top:.5em}\n"]
31558
+ }]
31559
+ }],
31560
+ propDecorators: {
31561
+ label: [{
31562
+ type: i0.Input,
31563
+ args: [{
31564
+ isSignal: true,
31565
+ alias: "label",
31566
+ required: false
31567
+ }]
31568
+ }],
31569
+ value: [{
31570
+ type: i0.Input,
31571
+ args: [{
31572
+ isSignal: true,
31573
+ alias: "value",
31574
+ required: false
31575
+ }]
31576
+ }],
31577
+ previousValue: [{
31578
+ type: i0.Input,
31579
+ args: [{
31580
+ isSignal: true,
31581
+ alias: "previousValue",
31582
+ required: false
31583
+ }]
31584
+ }],
31585
+ changeFormat: [{
31586
+ type: i0.Input,
31587
+ args: [{
31588
+ isSignal: true,
31589
+ alias: "changeFormat",
31590
+ required: false
31591
+ }]
31592
+ }],
31593
+ invertTone: [{
31594
+ type: i0.Input,
31595
+ args: [{
31596
+ isSignal: true,
31597
+ alias: "invertTone",
31598
+ required: false
31599
+ }]
31600
+ }],
31601
+ caption: [{
31602
+ type: i0.Input,
31603
+ args: [{
31604
+ isSignal: true,
31605
+ alias: "caption",
31606
+ required: false
31607
+ }]
31608
+ }],
31609
+ sparkline: [{
31610
+ type: i0.Input,
31611
+ args: [{
31612
+ isSignal: true,
31613
+ alias: "sparkline",
31614
+ required: false
31615
+ }]
31616
+ }],
31617
+ sparklineVariant: [{
31618
+ type: i0.Input,
31619
+ args: [{
31620
+ isSignal: true,
31621
+ alias: "sparklineVariant",
31622
+ required: false
31623
+ }]
31624
+ }],
31625
+ variant: [{
31626
+ type: i0.Input,
31627
+ args: [{
31628
+ isSignal: true,
31629
+ alias: "variant",
31630
+ required: false
31631
+ }]
31632
+ }],
31633
+ size: [{
31634
+ type: i0.Input,
31635
+ args: [{
31636
+ isSignal: true,
31637
+ alias: "size",
31638
+ required: false
31639
+ }]
31640
+ }],
31641
+ formatValue: [{
31642
+ type: i0.Input,
31643
+ args: [{
31644
+ isSignal: true,
31645
+ alias: "formatValue",
31646
+ required: false
31647
+ }]
31648
+ }]
31649
+ }
31650
+ });
30803
31651
  var StepperComponent = class StepperComponent {
30804
31652
  i18n = inject(EagamiI18nService);
30805
31653
  registeredSteps = signal([], ...ngDevMode ? [{ debugName: "registeredSteps" }] : /* istanbul ignore next */ []);
@@ -35413,6 +36261,621 @@ i0.ɵɵngDeclareClassMetadata({
35413
36261
  }]
35414
36262
  }
35415
36263
  });
36264
+ const MAX_BAR_RATIO = .6;
36265
+ var WaterfallChartComponent = class WaterfallChartComponent {
36266
+ i18n = inject(EagamiI18nService);
36267
+ data = input([], ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
36268
+ risingColor = input(void 0, ...ngDevMode ? [{ debugName: "risingColor" }] : /* istanbul ignore next */ []);
36269
+ fallingColor = input(void 0, ...ngDevMode ? [{ debugName: "fallingColor" }] : /* istanbul ignore next */ []);
36270
+ totalColor = input(void 0, ...ngDevMode ? [{ debugName: "totalColor" }] : /* istanbul ignore next */ []);
36271
+ showGrid = input(true, ...ngDevMode ? [{ debugName: "showGrid" }] : /* istanbul ignore next */ []);
36272
+ showValues = input(false, ...ngDevMode ? [{ debugName: "showValues" }] : /* istanbul ignore next */ []);
36273
+ showConnectors = input(true, ...ngDevMode ? [{ debugName: "showConnectors" }] : /* istanbul ignore next */ []);
36274
+ xLabelOrientation = input("horizontal", ...ngDevMode ? [{ debugName: "xLabelOrientation" }] : /* istanbul ignore next */ []);
36275
+ referenceLines = input([], ...ngDevMode ? [{ debugName: "referenceLines" }] : /* istanbul ignore next */ []);
36276
+ height = input(240, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
36277
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
36278
+ animation = input("grow", ...ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []);
36279
+ animationDuration = input(600, ...ngDevMode ? [{ debugName: "animationDuration" }] : /* istanbul ignore next */ []);
36280
+ formatValue = input(null, ...ngDevMode ? [{ debugName: "formatValue" }] : /* istanbul ignore next */ []);
36281
+ ariaLabel = input(void 0, {
36282
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
36283
+ alias: "aria-label"
36284
+ });
36285
+ stepClick = output();
36286
+ activeStepChange = output();
36287
+ viewport = injectChartViewport(this.size);
36288
+ format = injectChartFormatter(this.formatValue);
36289
+ active = signal(null, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
36290
+ label = computed(() => this.ariaLabel() || this.i18n.messages().chart.waterfallChart, ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
36291
+ steps = computed(() => {
36292
+ let running = 0;
36293
+ return this.data().map(({ value, total }) => {
36294
+ if (total) {
36295
+ if (value != null && isFinite(value)) running = value;
36296
+ return {
36297
+ tone: "total",
36298
+ change: null,
36299
+ start: 0,
36300
+ end: running
36301
+ };
36302
+ }
36303
+ if (value == null || !isFinite(value)) return null;
36304
+ const start = running;
36305
+ running += value;
36306
+ return {
36307
+ tone: value >= 0 ? "rise" : "fall",
36308
+ change: value,
36309
+ start,
36310
+ end: running
36311
+ };
36312
+ });
36313
+ }, ...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
36314
+ hasData = computed(() => this.steps().some((step) => step !== null), ...ngDevMode ? [{ debugName: "hasData" }] : /* istanbul ignore next */ []);
36315
+ references = computed(() => plottableReferenceLines(this.referenceLines()), ...ngDevMode ? [{ debugName: "references" }] : /* istanbul ignore next */ []);
36316
+ renderPass = computed(() => {
36317
+ this.data();
36318
+ this.animation();
36319
+ this.animationDuration();
36320
+ return [{}];
36321
+ }, ...ngDevMode ? [{ debugName: "renderPass" }] : /* istanbul ignore next */ []);
36322
+ hostClasses = computed(() => ({
36323
+ [`ea-waterfall-chart--${this.size()}`]: true,
36324
+ [`ea-waterfall-chart--animate-${this.animation()}`]: true
36325
+ }), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
36326
+ layout = computed(() => {
36327
+ const steps = this.steps();
36328
+ const count = Math.max(1, steps.length);
36329
+ const width = this.viewport.width();
36330
+ const height = this.height();
36331
+ const fontPx = this.viewport.fontSize();
36332
+ const axisPx = fontPx * .75;
36333
+ const format = this.format();
36334
+ const showValues = this.showValues();
36335
+ let lo = 0;
36336
+ let hi = 0;
36337
+ for (const step of steps) if (step) {
36338
+ lo = Math.min(lo, step.start, step.end);
36339
+ hi = Math.max(hi, step.start, step.end);
36340
+ }
36341
+ const references = this.references();
36342
+ for (const { value } of references) {
36343
+ lo = Math.min(lo, value);
36344
+ hi = Math.max(hi, value);
36345
+ }
36346
+ const labelTexts = Array.from({ length: count }, (_, i) => this.data()[i]?.label ?? "");
36347
+ const left = Math.max(0, ...niceScale(lo, hi).ticks.map(format).map((t) => estimateTextWidth(t, axisPx))) + axisPx;
36348
+ const right = axisPx / 2;
36349
+ const top = axisPx + (showValues ? axisPx * 1.5 : 0);
36350
+ const plotWidth = Math.max(1, width - left - right);
36351
+ const band = plotWidth / count;
36352
+ const orientation = this.xLabelOrientation();
36353
+ const angle = orientation === "auto" ? [
36354
+ 0,
36355
+ 45,
36356
+ 90
36357
+ ].find((a) => labelTexts.every((t) => labelRoom(t, a, axisPx) <= band)) ?? 90 : CHART_LABEL_ANGLES[orientation];
36358
+ const bottom = labelBand(Math.max(0, ...labelTexts.map((t) => estimateTextWidth(t, axisPx))), angle, axisPx, height);
36359
+ const plotHeight = Math.max(1, height - top - bottom);
36360
+ const axisY = top + plotHeight;
36361
+ const { min, max, ticks } = niceScale(lo, hi, Math.max(2, Math.floor(plotHeight / (axisPx * 3))));
36362
+ const valuePos = (value) => top + (1 - (clamp$1(value, min, max) - min) / (max - min || 1)) * plotHeight;
36363
+ const center = (index) => left + (index + .5) * band;
36364
+ const barWidth = Math.max(1, Math.min(band * MAX_BAR_RATIO, fontPx * 2.5));
36365
+ const duration = this.animationDuration();
36366
+ const cascadeStep = count > 1 ? duration * .5 / (count - 1) : 0;
36367
+ const bars = [];
36368
+ const valueLabels = [];
36369
+ const connectors = [];
36370
+ let previous = null;
36371
+ for (let index = 0; index < steps.length; index++) {
36372
+ const step = steps[index];
36373
+ if (!step) continue;
36374
+ const startY = valuePos(step.start);
36375
+ const endY = valuePos(step.end);
36376
+ const y = Math.min(startY, endY);
36377
+ const barHeight = Math.max(1, Math.abs(startY - endY));
36378
+ bars.push({
36379
+ index,
36380
+ tone: step.tone,
36381
+ x: center(index) - barWidth / 2,
36382
+ y,
36383
+ width: barWidth,
36384
+ height: barHeight,
36385
+ origin: startY,
36386
+ delay: index * cascadeStep
36387
+ });
36388
+ if (showValues) {
36389
+ const offset = axisPx * .5;
36390
+ const below = y + barHeight + offset + axisPx;
36391
+ const down = step.tone === "fall" || step.tone === "total" && step.end < 0;
36392
+ valueLabels.push({
36393
+ index,
36394
+ x: center(index),
36395
+ y: down && below <= axisY ? below : y - offset,
36396
+ text: step.change === null ? format(step.end) : this.signed(step.change)
36397
+ });
36398
+ }
36399
+ if (previous && previous.level >= Math.min(step.start, step.end) && previous.level <= Math.max(step.start, step.end)) connectors.push({
36400
+ index,
36401
+ x1: center(previous.index) + barWidth / 2,
36402
+ x2: center(index) - barWidth / 2,
36403
+ y: valuePos(previous.level)
36404
+ });
36405
+ previous = {
36406
+ index,
36407
+ level: step.end
36408
+ };
36409
+ }
36410
+ const referenceLines = references.map((line, key) => ({
36411
+ ...line,
36412
+ key,
36413
+ pos: valuePos(line.value)
36414
+ })).filter((line) => line.value >= min && line.value <= max).map((line) => {
36415
+ const above = line.pos - axisPx * 1.4 >= top;
36416
+ return {
36417
+ ...line,
36418
+ labelX: left + plotWidth,
36419
+ labelY: above ? line.pos - axisPx * .4 - 2 : line.pos + axisPx * 1.2
36420
+ };
36421
+ });
36422
+ const widestRoom = Math.max(0, ...labelTexts.map((t) => labelRoom(t, angle, axisPx)));
36423
+ const labelStep = Math.max(1, Math.ceil(widestRoom / band));
36424
+ const categories = labelTexts.map((text, index) => ({
36425
+ text,
36426
+ index,
36427
+ pos: center(index)
36428
+ })).filter((category) => category.index % labelStep === 0);
36429
+ return {
36430
+ width,
36431
+ height,
36432
+ top,
36433
+ left,
36434
+ plotWidth,
36435
+ plotHeight,
36436
+ band,
36437
+ axisPx,
36438
+ axisY,
36439
+ baseline: valuePos(0),
36440
+ ticks: ticks.filter((value) => value >= min && value <= max).map((value) => ({
36441
+ value,
36442
+ text: format(value),
36443
+ pos: valuePos(value)
36444
+ })),
36445
+ categories,
36446
+ bars,
36447
+ valueLabels,
36448
+ connectors,
36449
+ referenceLines,
36450
+ valuePos,
36451
+ tickEndY: axisY + tickLength(axisPx),
36452
+ labelAngle: angle,
36453
+ labelY: labelLine(axisY, angle, axisPx)
36454
+ };
36455
+ }, ...ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []);
36456
+ tooltip = computed(() => {
36457
+ const index = this.active();
36458
+ const step = index === null ? null : this.steps()[index];
36459
+ if (index === null || !step) return null;
36460
+ const layout = this.layout();
36461
+ const messages = this.i18n.messages().chart;
36462
+ const format = this.format();
36463
+ return {
36464
+ x: layout.left + (index + .5) * layout.band,
36465
+ y: layout.valuePos(Math.max(step.start, step.end)),
36466
+ title: this.data()[index]?.label ?? "",
36467
+ rows: step.change === null ? [{
36468
+ name: messages.total,
36469
+ value: format(step.end)
36470
+ }] : [{
36471
+ name: messages.change,
36472
+ value: this.signed(step.change)
36473
+ }, {
36474
+ name: messages.runningTotal,
36475
+ value: format(step.end)
36476
+ }],
36477
+ key: index
36478
+ };
36479
+ }, ...ngDevMode ? [{ debugName: "tooltip" }] : /* istanbul ignore next */ []);
36480
+ tooltips = computed(() => {
36481
+ const tip = this.tooltip();
36482
+ return tip ? [tip] : [];
36483
+ }, ...ngDevMode ? [{ debugName: "tooltips" }] : /* istanbul ignore next */ []);
36484
+ announcement = computed(() => {
36485
+ const event = this.eventFor(this.active());
36486
+ if (!event) return "";
36487
+ const messages = this.i18n.messages().chart;
36488
+ const runningTotal = this.format()(event.runningTotal);
36489
+ return event.change === null ? messages.stepTotal(event.label, runningTotal) : messages.step(event.label, this.signed(event.change), runningTotal);
36490
+ }, ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
36491
+ isDimmed(bar) {
36492
+ const active = this.active();
36493
+ return active !== null && active !== bar.index;
36494
+ }
36495
+ referenceText(line) {
36496
+ return this.i18n.messages().chart.referenceLine(line.label ?? "", this.tableValue(line.value));
36497
+ }
36498
+ tableCells(index) {
36499
+ const step = this.steps()[index];
36500
+ if (!step) return ["–", "–"];
36501
+ return [step.change === null ? "–" : this.signed(step.change), this.format()(step.end)];
36502
+ }
36503
+ tableValue(value) {
36504
+ return value == null || !isFinite(value) ? "–" : this.format()(value);
36505
+ }
36506
+ onPointerMove(event) {
36507
+ const rect = event.currentTarget.getBoundingClientRect();
36508
+ const layout = this.layout();
36509
+ const index = Math.floor((event.clientX - rect.left - layout.left) / layout.band);
36510
+ this.setActive(index >= 0 && index < this.steps().length && this.steps()[index] ? index : null);
36511
+ }
36512
+ onPointerLeave() {
36513
+ this.setActive(null);
36514
+ }
36515
+ onClick() {
36516
+ const event = this.eventFor(this.active());
36517
+ if (event) this.stepClick.emit(event);
36518
+ }
36519
+ onFocus() {
36520
+ if (this.active() === null) this.setActive(this.firstFrom(0, 1));
36521
+ }
36522
+ onBlur() {
36523
+ this.setActive(null);
36524
+ }
36525
+ onKeydown(event) {
36526
+ const active = this.active();
36527
+ if (active === null && event.key.startsWith("Arrow")) {
36528
+ event.preventDefault();
36529
+ this.setActive(this.firstFrom(0, 1));
36530
+ return;
36531
+ }
36532
+ if (active === null && event.key !== "Home" && event.key !== "End") return;
36533
+ const last = this.steps().length - 1;
36534
+ let next = active;
36535
+ switch (event.key) {
36536
+ case "ArrowRight":
36537
+ next = this.firstFrom((active ?? -1) + 1, 1) ?? active;
36538
+ break;
36539
+ case "ArrowLeft":
36540
+ next = this.firstFrom((active ?? last + 1) - 1, -1) ?? active;
36541
+ break;
36542
+ case "Home":
36543
+ next = this.firstFrom(0, 1);
36544
+ break;
36545
+ case "End":
36546
+ next = this.firstFrom(last, -1);
36547
+ break;
36548
+ case "Enter":
36549
+ case " ":
36550
+ this.onClick();
36551
+ break;
36552
+ case "Escape":
36553
+ next = null;
36554
+ break;
36555
+ default: return;
36556
+ }
36557
+ event.preventDefault();
36558
+ this.setActive(next);
36559
+ }
36560
+ signed(value) {
36561
+ const text = this.format()(value);
36562
+ return value > 0 ? `+${text}` : text;
36563
+ }
36564
+ firstFrom(index, step) {
36565
+ const steps = this.steps();
36566
+ for (let i = index; i >= 0 && i < steps.length; i += step) if (steps[i]) return i;
36567
+ return null;
36568
+ }
36569
+ eventFor(index) {
36570
+ const step = index === null ? null : this.steps()[index];
36571
+ if (index === null || !step) return null;
36572
+ return {
36573
+ index,
36574
+ label: this.data()[index]?.label ?? "",
36575
+ change: step.change,
36576
+ runningTotal: step.end,
36577
+ total: step.tone === "total"
36578
+ };
36579
+ }
36580
+ setActive(next) {
36581
+ if (this.active() === next) return;
36582
+ this.active.set(next);
36583
+ this.activeStepChange.emit(this.eventFor(next));
36584
+ }
36585
+ static ɵfac = i0.ɵɵngDeclareFactory({
36586
+ minVersion: "12.0.0",
36587
+ version: "22.3.0",
36588
+ ngImport: i0,
36589
+ type: WaterfallChartComponent,
36590
+ deps: [],
36591
+ target: i0.ɵɵFactoryTarget.Component
36592
+ });
36593
+ static ɵcmp = i0.ɵɵngDeclareComponent({
36594
+ minVersion: "17.0.0",
36595
+ version: "22.3.0",
36596
+ type: WaterfallChartComponent,
36597
+ isStandalone: true,
36598
+ selector: "ea-waterfall-chart",
36599
+ inputs: {
36600
+ data: {
36601
+ classPropertyName: "data",
36602
+ publicName: "data",
36603
+ isSignal: true,
36604
+ isRequired: false,
36605
+ transformFunction: null
36606
+ },
36607
+ risingColor: {
36608
+ classPropertyName: "risingColor",
36609
+ publicName: "risingColor",
36610
+ isSignal: true,
36611
+ isRequired: false,
36612
+ transformFunction: null
36613
+ },
36614
+ fallingColor: {
36615
+ classPropertyName: "fallingColor",
36616
+ publicName: "fallingColor",
36617
+ isSignal: true,
36618
+ isRequired: false,
36619
+ transformFunction: null
36620
+ },
36621
+ totalColor: {
36622
+ classPropertyName: "totalColor",
36623
+ publicName: "totalColor",
36624
+ isSignal: true,
36625
+ isRequired: false,
36626
+ transformFunction: null
36627
+ },
36628
+ showGrid: {
36629
+ classPropertyName: "showGrid",
36630
+ publicName: "showGrid",
36631
+ isSignal: true,
36632
+ isRequired: false,
36633
+ transformFunction: null
36634
+ },
36635
+ showValues: {
36636
+ classPropertyName: "showValues",
36637
+ publicName: "showValues",
36638
+ isSignal: true,
36639
+ isRequired: false,
36640
+ transformFunction: null
36641
+ },
36642
+ showConnectors: {
36643
+ classPropertyName: "showConnectors",
36644
+ publicName: "showConnectors",
36645
+ isSignal: true,
36646
+ isRequired: false,
36647
+ transformFunction: null
36648
+ },
36649
+ xLabelOrientation: {
36650
+ classPropertyName: "xLabelOrientation",
36651
+ publicName: "xLabelOrientation",
36652
+ isSignal: true,
36653
+ isRequired: false,
36654
+ transformFunction: null
36655
+ },
36656
+ referenceLines: {
36657
+ classPropertyName: "referenceLines",
36658
+ publicName: "referenceLines",
36659
+ isSignal: true,
36660
+ isRequired: false,
36661
+ transformFunction: null
36662
+ },
36663
+ height: {
36664
+ classPropertyName: "height",
36665
+ publicName: "height",
36666
+ isSignal: true,
36667
+ isRequired: false,
36668
+ transformFunction: null
36669
+ },
36670
+ size: {
36671
+ classPropertyName: "size",
36672
+ publicName: "size",
36673
+ isSignal: true,
36674
+ isRequired: false,
36675
+ transformFunction: null
36676
+ },
36677
+ animation: {
36678
+ classPropertyName: "animation",
36679
+ publicName: "animation",
36680
+ isSignal: true,
36681
+ isRequired: false,
36682
+ transformFunction: null
36683
+ },
36684
+ animationDuration: {
36685
+ classPropertyName: "animationDuration",
36686
+ publicName: "animationDuration",
36687
+ isSignal: true,
36688
+ isRequired: false,
36689
+ transformFunction: null
36690
+ },
36691
+ formatValue: {
36692
+ classPropertyName: "formatValue",
36693
+ publicName: "formatValue",
36694
+ isSignal: true,
36695
+ isRequired: false,
36696
+ transformFunction: null
36697
+ },
36698
+ ariaLabel: {
36699
+ classPropertyName: "ariaLabel",
36700
+ publicName: "aria-label",
36701
+ isSignal: true,
36702
+ isRequired: false,
36703
+ transformFunction: null
36704
+ }
36705
+ },
36706
+ outputs: {
36707
+ stepClick: "stepClick",
36708
+ activeStepChange: "activeStepChange"
36709
+ },
36710
+ ngImport: i0,
36711
+ 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",
36712
+ 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"],
36713
+ dependencies: [{
36714
+ kind: "directive",
36715
+ type: TooltipDirective,
36716
+ selector: "[eaTooltip]",
36717
+ inputs: [
36718
+ "eaTooltip",
36719
+ "tooltipPosition",
36720
+ "flip",
36721
+ "whenClipped",
36722
+ "maxWidth",
36723
+ "showDelay",
36724
+ "dismissDelay",
36725
+ "tooltipOpen"
36726
+ ]
36727
+ }],
36728
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
36729
+ encapsulation: i0.ViewEncapsulation.None
36730
+ });
36731
+ };
36732
+ i0.ɵɵngDeclareClassMetadata({
36733
+ minVersion: "12.0.0",
36734
+ version: "22.3.0",
36735
+ ngImport: i0,
36736
+ type: WaterfallChartComponent,
36737
+ decorators: [{
36738
+ type: Component,
36739
+ args: [{
36740
+ selector: "ea-waterfall-chart",
36741
+ imports: [TooltipDirective],
36742
+ changeDetection: ChangeDetectionStrategy.OnPush,
36743
+ encapsulation: ViewEncapsulation.None,
36744
+ 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",
36745
+ 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"]
36746
+ }]
36747
+ }],
36748
+ propDecorators: {
36749
+ data: [{
36750
+ type: i0.Input,
36751
+ args: [{
36752
+ isSignal: true,
36753
+ alias: "data",
36754
+ required: false
36755
+ }]
36756
+ }],
36757
+ risingColor: [{
36758
+ type: i0.Input,
36759
+ args: [{
36760
+ isSignal: true,
36761
+ alias: "risingColor",
36762
+ required: false
36763
+ }]
36764
+ }],
36765
+ fallingColor: [{
36766
+ type: i0.Input,
36767
+ args: [{
36768
+ isSignal: true,
36769
+ alias: "fallingColor",
36770
+ required: false
36771
+ }]
36772
+ }],
36773
+ totalColor: [{
36774
+ type: i0.Input,
36775
+ args: [{
36776
+ isSignal: true,
36777
+ alias: "totalColor",
36778
+ required: false
36779
+ }]
36780
+ }],
36781
+ showGrid: [{
36782
+ type: i0.Input,
36783
+ args: [{
36784
+ isSignal: true,
36785
+ alias: "showGrid",
36786
+ required: false
36787
+ }]
36788
+ }],
36789
+ showValues: [{
36790
+ type: i0.Input,
36791
+ args: [{
36792
+ isSignal: true,
36793
+ alias: "showValues",
36794
+ required: false
36795
+ }]
36796
+ }],
36797
+ showConnectors: [{
36798
+ type: i0.Input,
36799
+ args: [{
36800
+ isSignal: true,
36801
+ alias: "showConnectors",
36802
+ required: false
36803
+ }]
36804
+ }],
36805
+ xLabelOrientation: [{
36806
+ type: i0.Input,
36807
+ args: [{
36808
+ isSignal: true,
36809
+ alias: "xLabelOrientation",
36810
+ required: false
36811
+ }]
36812
+ }],
36813
+ referenceLines: [{
36814
+ type: i0.Input,
36815
+ args: [{
36816
+ isSignal: true,
36817
+ alias: "referenceLines",
36818
+ required: false
36819
+ }]
36820
+ }],
36821
+ height: [{
36822
+ type: i0.Input,
36823
+ args: [{
36824
+ isSignal: true,
36825
+ alias: "height",
36826
+ required: false
36827
+ }]
36828
+ }],
36829
+ size: [{
36830
+ type: i0.Input,
36831
+ args: [{
36832
+ isSignal: true,
36833
+ alias: "size",
36834
+ required: false
36835
+ }]
36836
+ }],
36837
+ animation: [{
36838
+ type: i0.Input,
36839
+ args: [{
36840
+ isSignal: true,
36841
+ alias: "animation",
36842
+ required: false
36843
+ }]
36844
+ }],
36845
+ animationDuration: [{
36846
+ type: i0.Input,
36847
+ args: [{
36848
+ isSignal: true,
36849
+ alias: "animationDuration",
36850
+ required: false
36851
+ }]
36852
+ }],
36853
+ formatValue: [{
36854
+ type: i0.Input,
36855
+ args: [{
36856
+ isSignal: true,
36857
+ alias: "formatValue",
36858
+ required: false
36859
+ }]
36860
+ }],
36861
+ ariaLabel: [{
36862
+ type: i0.Input,
36863
+ args: [{
36864
+ isSignal: true,
36865
+ alias: "aria-label",
36866
+ required: false
36867
+ }]
36868
+ }],
36869
+ stepClick: [{
36870
+ type: i0.Output,
36871
+ args: ["stepClick"]
36872
+ }],
36873
+ activeStepChange: [{
36874
+ type: i0.Output,
36875
+ args: ["activeStepChange"]
36876
+ }]
36877
+ }
36878
+ });
35416
36879
  const DISPLAY_NAME_OVERRIDES = {
35417
36880
  codepen: "CodePen",
35418
36881
  codesandbox: "CodeSandbox",
@@ -91355,6 +92818,6 @@ const ICONS = /* @__PURE__ */ [
91355
92818
  ZoomInIconComponent,
91356
92819
  ZoomOutIconComponent
91357
92820
  ].sort((a, b) => a.slug.localeCompare(b.slug));
91358
- 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, 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 };
92821
+ 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, GaugeComponent, 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, StatComponent, 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 };
91359
92822
 
91360
92823
  //# sourceMappingURL=eagami-ui.mjs.map