@xiriframework/xiri-ng 0.2.24 → 0.2.25

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.
@@ -340,7 +340,7 @@ declare class XiriButtonlineComponent {
340
340
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriButtonlineComponent, "xiri-buttonline", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "filterData": { "alias": "filterData"; "required": false; "isSignal": true; }; }, { "result": "result"; }, never, never, true, never>;
341
341
  }
342
342
 
343
- type XiriDynDataType = 'card' | 'buttonline' | 'table' | 'cardlink' | 'links' | 'form' | 'query' | 'stepper' | 'header' | 'list' | 'spacer' | 'container' | 'infopoint' | 'multiprogress' | 'imagetext' | 'tabs' | 'expansion' | 'infotext' | 'html' | 'stat' | 'empty-state' | 'timeline' | 'page-header' | 'section' | 'divider' | 'stat-grid' | 'toolbar' | 'description-list' | 'barchart';
343
+ type XiriDynDataType = 'card' | 'buttonline' | 'table' | 'cardlink' | 'links' | 'form' | 'query' | 'stepper' | 'header' | 'list' | 'spacer' | 'container' | 'infopoint' | 'multiprogress' | 'imagetext' | 'tabs' | 'expansion' | 'infotext' | 'html' | 'stat' | 'empty-state' | 'timeline' | 'page-header' | 'section' | 'divider' | 'stat-grid' | 'toolbar' | 'description-list' | 'barchart' | 'linechart' | 'piechart' | 'gaugechart' | 'heatmap' | 'calendar' | 'tree' | 'sankey' | 'gantt';
344
344
  interface XiriDynData {
345
345
  id?: number;
346
346
  type: XiriDynDataType | (string & {});
@@ -619,6 +619,7 @@ interface XiriCardSettings {
619
619
  reload?: boolean;
620
620
  data?: any;
621
621
  fields?: XiriTableField[];
622
+ components?: XiriDynData[];
622
623
  header?: string;
623
624
  headerSub?: string;
624
625
  headerIcon?: string;
@@ -630,6 +631,7 @@ interface XiriCardSettings {
630
631
  collapsible?: boolean;
631
632
  collapsed?: boolean;
632
633
  maxHeight?: string;
634
+ padding?: string;
633
635
  }
634
636
  declare class XiriCardComponent {
635
637
  private dataService;
@@ -640,6 +642,9 @@ declare class XiriCardComponent {
640
642
  isCollapsed: _angular_core.WritableSignal<boolean>;
641
643
  private _data;
642
644
  cardData: Signal<any>;
645
+ hasComponents: Signal<boolean>;
646
+ /** Resolves padding setting (token or free CSS value) into a CSS length string. */
647
+ componentsPadding: Signal<string>;
643
648
  rawTable: Signal<XiriRawTableSettings | null>;
644
649
  constructor();
645
650
  toggleCollapse(): void;
@@ -672,9 +677,11 @@ interface XiriCardlinkSettings {
672
677
  iconSet: string;
673
678
  text?: string;
674
679
  sub?: string;
680
+ compact?: boolean;
675
681
  }
676
682
  declare class XiriCardlinkComponent {
677
683
  settings: _angular_core.InputSignal<XiriCardlinkSettings>;
684
+ compact: _angular_core.Signal<boolean>;
678
685
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriCardlinkComponent, never>;
679
686
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriCardlinkComponent, "xiri-cardlink", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
680
687
  }
@@ -685,9 +692,11 @@ interface XiriLinksSettings {
685
692
  headerIconColor?: XiriColor;
686
693
  headerSub?: string;
687
694
  header?: string;
695
+ compact?: boolean;
688
696
  }
689
697
  declare class XiriLinksComponent implements OnDestroy {
690
698
  settings: _angular_core.InputSignal<XiriLinksSettings>;
699
+ compact: _angular_core.Signal<boolean>;
691
700
  private dialog;
692
701
  private router;
693
702
  private dialogRef?;
@@ -826,9 +835,11 @@ interface XiriInfopointSettings {
826
835
  iconSet?: string;
827
836
  iconColor: XiriColor;
828
837
  dense?: boolean;
838
+ compact?: boolean;
829
839
  }
830
840
  declare class XiriInfopointComponent {
831
841
  settings: _angular_core.InputSignal<XiriInfopointSettings>;
842
+ compact: _angular_core.Signal<boolean>;
832
843
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriInfopointComponent, never>;
833
844
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriInfopointComponent, "xiri-infopoint", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
834
845
  }
@@ -839,6 +850,7 @@ interface XiriMultiprogressSettings {
839
850
  headerIconColor?: XiriColor;
840
851
  header?: string;
841
852
  show?: number;
853
+ compact?: boolean;
842
854
  }
843
855
  interface XiriMultiprogressItem {
844
856
  text: string;
@@ -849,6 +861,7 @@ interface XiriMultiprogressItem {
849
861
  declare class XiriMultiprogressComponent {
850
862
  isOpen: _angular_core.WritableSignal<boolean>;
851
863
  settings: _angular_core.InputSignal<XiriMultiprogressSettings>;
864
+ compact: _angular_core.Signal<boolean>;
852
865
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriMultiprogressComponent, never>;
853
866
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriMultiprogressComponent, "xiri-multiprogress", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
854
867
  }
@@ -860,10 +873,12 @@ interface XiriImagetextSettings {
860
873
  headerIconColor?: XiriColor;
861
874
  headerSub?: string;
862
875
  header?: string;
876
+ compact?: boolean;
863
877
  }
864
878
  declare class XiriImagetextComponent {
865
879
  settings: _angular_core.InputSignal<XiriImagetextSettings>;
866
880
  loading: _angular_core.WritableSignal<boolean>;
881
+ compact: _angular_core.Signal<boolean>;
867
882
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriImagetextComponent, never>;
868
883
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriImagetextComponent, "xiri-imagetext", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
869
884
  }
@@ -1038,9 +1053,11 @@ interface XiriStatSettings {
1038
1053
  prefix?: string;
1039
1054
  suffix?: string;
1040
1055
  color?: XiriColor;
1056
+ compact?: boolean;
1041
1057
  }
1042
1058
  declare class XiriStatComponent {
1043
1059
  settings: _angular_core.InputSignal<XiriStatSettings>;
1060
+ compact: _angular_core.Signal<boolean>;
1044
1061
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriStatComponent, never>;
1045
1062
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriStatComponent, "xiri-stat", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1046
1063
  }
@@ -1086,11 +1103,656 @@ interface XiriBarChartSettings {
1086
1103
  color?: XiriColor;
1087
1104
  bars?: XiriBarChartBar[];
1088
1105
  points?: XiriBarChartPoint[];
1106
+ compact?: boolean;
1089
1107
  }
1090
- declare class XiriBarChartComponent implements AfterViewInit, OnDestroy {
1108
+ declare class XiriBarChartComponent {
1091
1109
  mode: _angular_core.InputSignal<string>;
1092
1110
  settings: _angular_core.InputSignal<XiriBarChartSettings>;
1093
- chartHost: _angular_core.Signal<ElementRef<HTMLDivElement>>;
1111
+ compact: _angular_core.Signal<boolean>;
1112
+ option: _angular_core.Signal<{
1113
+ grid: {
1114
+ left: number;
1115
+ right: number;
1116
+ top: number;
1117
+ bottom: number;
1118
+ containLabel: boolean;
1119
+ };
1120
+ tooltip: {
1121
+ trigger: string;
1122
+ formatter: (params: any) => string;
1123
+ };
1124
+ xAxis: {
1125
+ type: string;
1126
+ data: string[];
1127
+ axisLine: {
1128
+ show: boolean;
1129
+ };
1130
+ axisTick: {
1131
+ show: boolean;
1132
+ };
1133
+ };
1134
+ yAxis: {
1135
+ type: string;
1136
+ min: number;
1137
+ max: number;
1138
+ splitLine: {
1139
+ lineStyle: {
1140
+ color: string;
1141
+ };
1142
+ };
1143
+ };
1144
+ series: any[];
1145
+ } | {
1146
+ grid: {
1147
+ left: number;
1148
+ right: number;
1149
+ top: number;
1150
+ bottom: number;
1151
+ containLabel: boolean;
1152
+ };
1153
+ tooltip: {
1154
+ trigger: string;
1155
+ formatter: (params: any) => string;
1156
+ };
1157
+ xAxis: {
1158
+ type: string;
1159
+ axisLine: {
1160
+ show: boolean;
1161
+ };
1162
+ axisTick: {
1163
+ show: boolean;
1164
+ };
1165
+ splitLine: {
1166
+ show: boolean;
1167
+ };
1168
+ };
1169
+ yAxis: {
1170
+ type: string;
1171
+ min: number;
1172
+ max: number;
1173
+ show: boolean;
1174
+ };
1175
+ series: {
1176
+ type: string;
1177
+ barMinWidth: number;
1178
+ barMaxWidth: number;
1179
+ data: number[][];
1180
+ itemStyle: {
1181
+ color: string;
1182
+ };
1183
+ }[];
1184
+ }>;
1185
+ private baseGrid;
1186
+ private simpleOption;
1187
+ private stackedOption;
1188
+ private heatmapOption;
1189
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriBarChartComponent, never>;
1190
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriBarChartComponent, "xiri-barchart", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1191
+ }
1192
+
1193
+ interface XiriLineChartLine {
1194
+ name: string;
1195
+ values: number[];
1196
+ color?: XiriColor;
1197
+ dashed?: boolean;
1198
+ area?: boolean;
1199
+ }
1200
+ interface XiriLineChartSettings {
1201
+ title?: string;
1202
+ xLabels: string[];
1203
+ lines: XiriLineChartLine[];
1204
+ yMin?: number;
1205
+ yMax?: number;
1206
+ smooth?: boolean;
1207
+ compact?: boolean;
1208
+ }
1209
+ declare class XiriLineChartComponent {
1210
+ settings: _angular_core.InputSignal<XiriLineChartSettings>;
1211
+ compact: _angular_core.Signal<boolean>;
1212
+ option: _angular_core.Signal<{
1213
+ grid: {
1214
+ left: number;
1215
+ right: number;
1216
+ top: number;
1217
+ bottom: number;
1218
+ containLabel: boolean;
1219
+ };
1220
+ tooltip: {
1221
+ trigger: string;
1222
+ formatter: (params: any) => string;
1223
+ };
1224
+ legend: {
1225
+ top: number;
1226
+ right: number;
1227
+ type: string;
1228
+ };
1229
+ xAxis: {
1230
+ type: string;
1231
+ data: string[];
1232
+ boundaryGap: boolean;
1233
+ axisLine: {
1234
+ show: boolean;
1235
+ };
1236
+ axisTick: {
1237
+ show: boolean;
1238
+ };
1239
+ };
1240
+ yAxis: {
1241
+ type: string;
1242
+ min: number;
1243
+ max: number;
1244
+ splitLine: {
1245
+ lineStyle: {
1246
+ color: string;
1247
+ };
1248
+ };
1249
+ };
1250
+ series: {
1251
+ type: string;
1252
+ name: string;
1253
+ smooth: boolean;
1254
+ symbol: string;
1255
+ symbolSize: number;
1256
+ lineStyle: {
1257
+ width: number;
1258
+ type: string;
1259
+ color: string;
1260
+ };
1261
+ itemStyle: {
1262
+ color: string;
1263
+ };
1264
+ areaStyle: {
1265
+ color: string;
1266
+ opacity: number;
1267
+ };
1268
+ data: number[];
1269
+ }[];
1270
+ }>;
1271
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriLineChartComponent, never>;
1272
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriLineChartComponent, "xiri-linechart", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1273
+ }
1274
+
1275
+ interface XiriPieChartSlice {
1276
+ name: string;
1277
+ value: number;
1278
+ color?: XiriColor;
1279
+ }
1280
+ interface XiriPieChartSettings {
1281
+ title?: string;
1282
+ slices: XiriPieChartSlice[];
1283
+ donut?: boolean;
1284
+ nightingale?: boolean;
1285
+ nightingaleType?: 'radius' | 'area';
1286
+ compact?: boolean;
1287
+ }
1288
+ declare class XiriPieChartComponent {
1289
+ settings: _angular_core.InputSignal<XiriPieChartSettings>;
1290
+ compact: _angular_core.Signal<boolean>;
1291
+ option: _angular_core.Signal<{
1292
+ tooltip: {
1293
+ trigger: string;
1294
+ formatter: (p: any) => string;
1295
+ };
1296
+ legend: {
1297
+ bottom: number;
1298
+ type: string;
1299
+ };
1300
+ series: any[];
1301
+ }>;
1302
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriPieChartComponent, never>;
1303
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriPieChartComponent, "xiri-piechart", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1304
+ }
1305
+
1306
+ interface XiriGaugeChartSettings {
1307
+ title?: string;
1308
+ value: number;
1309
+ min?: number;
1310
+ max?: number;
1311
+ color?: XiriColor;
1312
+ label?: string;
1313
+ compact?: boolean;
1314
+ }
1315
+ declare class XiriGaugeChartComponent {
1316
+ settings: _angular_core.InputSignal<XiriGaugeChartSettings>;
1317
+ compact: _angular_core.Signal<boolean>;
1318
+ option: _angular_core.Signal<{
1319
+ series: {
1320
+ type: string;
1321
+ min: number;
1322
+ max: number;
1323
+ center: string[];
1324
+ radius: string;
1325
+ progress: {
1326
+ show: boolean;
1327
+ width: number;
1328
+ itemStyle: {
1329
+ color: string;
1330
+ };
1331
+ };
1332
+ axisLine: {
1333
+ lineStyle: {
1334
+ width: number;
1335
+ color: (string | number)[][];
1336
+ };
1337
+ };
1338
+ pointer: {
1339
+ show: boolean;
1340
+ };
1341
+ axisTick: {
1342
+ show: boolean;
1343
+ };
1344
+ splitLine: {
1345
+ show: boolean;
1346
+ };
1347
+ axisLabel: {
1348
+ show: boolean;
1349
+ distance: number;
1350
+ fontSize: number;
1351
+ };
1352
+ anchor: {
1353
+ show: boolean;
1354
+ };
1355
+ title: {
1356
+ show: boolean;
1357
+ };
1358
+ detail: {
1359
+ valueAnimation: boolean;
1360
+ offsetCenter: (string | number)[];
1361
+ fontSize: number;
1362
+ fontWeight: string;
1363
+ formatter: string;
1364
+ rich: {
1365
+ label: {
1366
+ fontSize: number;
1367
+ fontWeight: string;
1368
+ color: string;
1369
+ };
1370
+ };
1371
+ color: string;
1372
+ };
1373
+ data: {
1374
+ value: number;
1375
+ }[];
1376
+ }[];
1377
+ }>;
1378
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriGaugeChartComponent, never>;
1379
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriGaugeChartComponent, "xiri-gaugechart", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1380
+ }
1381
+
1382
+ interface XiriHeatmapCell {
1383
+ x: number;
1384
+ y: number;
1385
+ value: number;
1386
+ label?: string;
1387
+ }
1388
+ interface XiriHeatmapSettings {
1389
+ title?: string;
1390
+ xLabels: string[];
1391
+ yLabels: string[];
1392
+ cells: XiriHeatmapCell[];
1393
+ min?: number;
1394
+ max?: number;
1395
+ colorRange?: [string, string];
1396
+ showValues?: boolean;
1397
+ compact?: boolean;
1398
+ }
1399
+ declare class XiriHeatmapComponent {
1400
+ settings: _angular_core.InputSignal<XiriHeatmapSettings>;
1401
+ compact: _angular_core.Signal<boolean>;
1402
+ height: _angular_core.Signal<string>;
1403
+ option: _angular_core.Signal<{
1404
+ grid: {
1405
+ left: number;
1406
+ right: number;
1407
+ top: number;
1408
+ bottom: number;
1409
+ containLabel: boolean;
1410
+ };
1411
+ tooltip: {
1412
+ position: string;
1413
+ formatter: (p: any) => string;
1414
+ };
1415
+ xAxis: {
1416
+ type: string;
1417
+ data: string[];
1418
+ splitArea: {
1419
+ show: boolean;
1420
+ };
1421
+ axisLine: {
1422
+ show: boolean;
1423
+ };
1424
+ axisTick: {
1425
+ show: boolean;
1426
+ };
1427
+ };
1428
+ yAxis: {
1429
+ type: string;
1430
+ data: string[];
1431
+ splitArea: {
1432
+ show: boolean;
1433
+ };
1434
+ axisLine: {
1435
+ show: boolean;
1436
+ };
1437
+ axisTick: {
1438
+ show: boolean;
1439
+ };
1440
+ };
1441
+ visualMap: {
1442
+ min: number;
1443
+ max: number;
1444
+ calculable: boolean;
1445
+ orient: string;
1446
+ left: string;
1447
+ bottom: number;
1448
+ inRange: {
1449
+ color: string[];
1450
+ };
1451
+ show: boolean;
1452
+ };
1453
+ series: {
1454
+ type: string;
1455
+ data: number[][];
1456
+ label: {
1457
+ show: boolean;
1458
+ formatter: (p: any) => string;
1459
+ };
1460
+ emphasis: {
1461
+ itemStyle: {
1462
+ shadowBlur: number;
1463
+ shadowColor: string;
1464
+ };
1465
+ };
1466
+ }[];
1467
+ }>;
1468
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriHeatmapComponent, never>;
1469
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriHeatmapComponent, "xiri-heatmap", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1470
+ }
1471
+
1472
+ interface XiriCalendarCell {
1473
+ date: string;
1474
+ value: number;
1475
+ }
1476
+ interface XiriCalendarSettings {
1477
+ title?: string;
1478
+ range: string | [string, string];
1479
+ cells: XiriCalendarCell[];
1480
+ min?: number;
1481
+ max?: number;
1482
+ colorRange?: [string, string];
1483
+ cellSize?: number;
1484
+ compact?: boolean;
1485
+ }
1486
+ declare class XiriCalendarComponent {
1487
+ settings: _angular_core.InputSignal<XiriCalendarSettings>;
1488
+ compact: _angular_core.Signal<boolean>;
1489
+ private cellSize;
1490
+ height: _angular_core.Signal<string>;
1491
+ option: _angular_core.Signal<{
1492
+ tooltip: {
1493
+ formatter: (p: any) => string;
1494
+ };
1495
+ visualMap: {
1496
+ min: number;
1497
+ max: number;
1498
+ orient: string;
1499
+ left: string;
1500
+ bottom: number;
1501
+ show: boolean;
1502
+ inRange: {
1503
+ color: string[];
1504
+ };
1505
+ };
1506
+ calendar: {
1507
+ range: string | [string, string];
1508
+ cellSize: number[];
1509
+ splitLine: {
1510
+ show: boolean;
1511
+ };
1512
+ itemStyle: {
1513
+ borderColor: string;
1514
+ borderWidth: number;
1515
+ };
1516
+ yearLabel: {
1517
+ show: boolean;
1518
+ };
1519
+ dayLabel: {
1520
+ fontSize: number;
1521
+ };
1522
+ monthLabel: {
1523
+ fontSize: number;
1524
+ };
1525
+ top: number;
1526
+ left: number;
1527
+ right: number;
1528
+ };
1529
+ series: {
1530
+ type: string;
1531
+ coordinateSystem: string;
1532
+ data: (string | number)[][];
1533
+ }[];
1534
+ }>;
1535
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriCalendarComponent, never>;
1536
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriCalendarComponent, "xiri-calendar", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1537
+ }
1538
+
1539
+ interface XiriTreeNode {
1540
+ name: string;
1541
+ value?: number;
1542
+ children?: XiriTreeNode[];
1543
+ collapsed?: boolean;
1544
+ }
1545
+ interface XiriTreeSettings {
1546
+ title?: string;
1547
+ root: XiriTreeNode;
1548
+ orient?: 'LR' | 'RL' | 'TB' | 'BT';
1549
+ layout?: 'orthogonal' | 'radial';
1550
+ compact?: boolean;
1551
+ }
1552
+ declare class XiriTreeComponent {
1553
+ settings: _angular_core.InputSignal<XiriTreeSettings>;
1554
+ compact: _angular_core.Signal<boolean>;
1555
+ height: _angular_core.Signal<string>;
1556
+ option: _angular_core.Signal<{
1557
+ tooltip: {
1558
+ trigger: string;
1559
+ triggerOn: string;
1560
+ formatter: (p: any) => string;
1561
+ };
1562
+ series: {
1563
+ type: string;
1564
+ data: XiriTreeNode[];
1565
+ top: number;
1566
+ bottom: number;
1567
+ left: string | number;
1568
+ right: string | number;
1569
+ layout: "orthogonal" | "radial";
1570
+ orient: "LR" | "RL" | "TB" | "BT";
1571
+ symbol: string;
1572
+ symbolSize: number;
1573
+ initialTreeDepth: number;
1574
+ label: {
1575
+ position: string;
1576
+ align: string;
1577
+ verticalAlign: string;
1578
+ fontSize: number;
1579
+ overflow: string;
1580
+ };
1581
+ leaves: {
1582
+ label: {
1583
+ position: string;
1584
+ align: string;
1585
+ overflow: string;
1586
+ };
1587
+ };
1588
+ expandAndCollapse: boolean;
1589
+ animationDuration: number;
1590
+ animationDurationUpdate: number;
1591
+ }[];
1592
+ }>;
1593
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriTreeComponent, never>;
1594
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriTreeComponent, "xiri-tree", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1595
+ }
1596
+
1597
+ interface XiriSankeyNode {
1598
+ name: string;
1599
+ color?: XiriColor;
1600
+ }
1601
+ interface XiriSankeyLink {
1602
+ source: string;
1603
+ target: string;
1604
+ value: number;
1605
+ }
1606
+ interface XiriSankeySettings {
1607
+ title?: string;
1608
+ nodes: XiriSankeyNode[];
1609
+ links: XiriSankeyLink[];
1610
+ orient?: 'horizontal' | 'vertical';
1611
+ compact?: boolean;
1612
+ }
1613
+ declare class XiriSankeyComponent {
1614
+ settings: _angular_core.InputSignal<XiriSankeySettings>;
1615
+ compact: _angular_core.Signal<boolean>;
1616
+ height: _angular_core.Signal<string>;
1617
+ option: _angular_core.Signal<{
1618
+ tooltip: {
1619
+ trigger: string;
1620
+ triggerOn: string;
1621
+ };
1622
+ series: {
1623
+ type: string;
1624
+ orient: "horizontal" | "vertical";
1625
+ top: number;
1626
+ bottom: number;
1627
+ left: number;
1628
+ right: number;
1629
+ emphasis: {
1630
+ focus: string;
1631
+ };
1632
+ lineStyle: {
1633
+ color: string;
1634
+ curveness: number;
1635
+ };
1636
+ label: {
1637
+ fontSize: number;
1638
+ };
1639
+ data: {
1640
+ name: string;
1641
+ itemStyle: {
1642
+ color: string;
1643
+ };
1644
+ }[];
1645
+ links: XiriSankeyLink[];
1646
+ }[];
1647
+ }>;
1648
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriSankeyComponent, never>;
1649
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriSankeyComponent, "xiri-sankey", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1650
+ }
1651
+
1652
+ interface XiriGanttTask {
1653
+ row: number;
1654
+ name: string;
1655
+ start: number;
1656
+ end: number;
1657
+ color?: XiriColor;
1658
+ }
1659
+ interface XiriGanttSettings {
1660
+ title?: string;
1661
+ rows: string[];
1662
+ tasks: XiriGanttTask[];
1663
+ rangeStart?: number;
1664
+ rangeEnd?: number;
1665
+ compact?: boolean;
1666
+ }
1667
+ declare class XiriGanttComponent {
1668
+ settings: _angular_core.InputSignal<XiriGanttSettings>;
1669
+ compact: _angular_core.Signal<boolean>;
1670
+ height: _angular_core.Signal<string>;
1671
+ option: _angular_core.Signal<{
1672
+ tooltip: {
1673
+ formatter: (p: any) => string;
1674
+ };
1675
+ grid: {
1676
+ left: number;
1677
+ right: number;
1678
+ top: number;
1679
+ bottom: number;
1680
+ containLabel: boolean;
1681
+ };
1682
+ xAxis: {
1683
+ type: string;
1684
+ min: number;
1685
+ max: number;
1686
+ splitLine: {
1687
+ lineStyle: {
1688
+ color: string;
1689
+ };
1690
+ };
1691
+ };
1692
+ yAxis: {
1693
+ type: string;
1694
+ data: string[];
1695
+ inverse: boolean;
1696
+ splitLine: {
1697
+ show: boolean;
1698
+ };
1699
+ axisLine: {
1700
+ show: boolean;
1701
+ };
1702
+ axisTick: {
1703
+ show: boolean;
1704
+ };
1705
+ };
1706
+ series: {
1707
+ type: string;
1708
+ encode: {
1709
+ x: number[];
1710
+ y: number;
1711
+ };
1712
+ clip: boolean;
1713
+ renderItem: (_params: any, api: any) => {
1714
+ type: string;
1715
+ transition: string[];
1716
+ shape: {
1717
+ x: any;
1718
+ y: number;
1719
+ width: number;
1720
+ height: number;
1721
+ r: number;
1722
+ };
1723
+ style: {
1724
+ fill: any;
1725
+ };
1726
+ };
1727
+ data: (string | number)[][];
1728
+ }[];
1729
+ }>;
1730
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriGanttComponent, never>;
1731
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriGanttComponent, "xiri-gantt", never, { "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1732
+ }
1733
+
1734
+ /**
1735
+ * `xiri-echarts-host` — shared echarts plumbing for all chart components.
1736
+ *
1737
+ * Handles lazy `import('echarts')`, init / setOption / dispose, ResizeObserver,
1738
+ * the optional mat-card surface (with header + compact mode), and a flat
1739
+ * variant when nested inside another card.
1740
+ *
1741
+ * Specialized chart components (`xiri-barchart`, `xiri-linechart`, …) build
1742
+ * a typed echarts option from their settings and feed it via the `option`
1743
+ * input. Each re-emit of `option` re-renders the chart with `setOption(option, true)`.
1744
+ *
1745
+ * Compact-Mode strips the outer mat-card so the chart sits flat inside an
1746
+ * outer xiri-card without card-in-card visuals.
1747
+ */
1748
+ declare class XiriEchartsHostComponent implements AfterViewInit, OnDestroy {
1749
+ option: _angular_core.InputSignal<any>;
1750
+ compact: _angular_core.InputSignal<boolean>;
1751
+ title: _angular_core.InputSignal<string>;
1752
+ headerIcon: _angular_core.InputSignal<string>;
1753
+ headerIconColor: _angular_core.InputSignal<XiriColor>;
1754
+ chartHeight: _angular_core.InputSignal<string>;
1755
+ chartHostRef: _angular_core.Signal<ElementRef<HTMLDivElement>>;
1094
1756
  private zone;
1095
1757
  private destroyRef;
1096
1758
  private chart;
@@ -1098,19 +1760,32 @@ declare class XiriBarChartComponent implements AfterViewInit, OnDestroy {
1098
1760
  private resizeObserver;
1099
1761
  private loadError;
1100
1762
  readonly error: _angular_core.Signal<string>;
1763
+ readonly hasHeader: _angular_core.Signal<boolean>;
1101
1764
  constructor();
1102
1765
  ngAfterViewInit(): Promise<void>;
1103
1766
  ngOnDestroy(): void;
1104
1767
  private dispose;
1105
1768
  private render;
1106
- private baseGrid;
1107
- private simpleOption;
1108
- private stackedOption;
1109
- private heatmapOption;
1110
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriBarChartComponent, never>;
1111
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriBarChartComponent, "xiri-barchart", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1769
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<XiriEchartsHostComponent, never>;
1770
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XiriEchartsHostComponent, "xiri-echarts-host", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "headerIcon": { "alias": "headerIcon"; "required": false; "isSignal": true; }; "headerIconColor": { "alias": "headerIconColor"; "required": false; "isSignal": true; }; "chartHeight": { "alias": "chartHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1112
1771
  }
1113
1772
 
1773
+ /**
1774
+ * Maps semantic XiriColor names to concrete CSS color values.
1775
+ *
1776
+ * Theme tokens use Material 3 system variables; extended tokens use
1777
+ * fixed brand colors that work both in light and dark themes.
1778
+ */
1779
+ declare const COLOR_CSS_VAR: Record<string, string>;
1780
+ /**
1781
+ * Resolves a XiriColor token (or a freeform CSS color) to a CSS-color string
1782
+ * usable in echarts options. Unknown tokens fall back to the given fallback.
1783
+ */
1784
+ declare function resolveColor(color: XiriColor | string | undefined, fallback?: string): string;
1785
+
1786
+ /** Escapes characters that would otherwise be interpreted as HTML in echarts tooltip strings. */
1787
+ declare function escapeHtml(s: string): string;
1788
+
1114
1789
  interface XiriPageHeaderSettings {
1115
1790
  title: string;
1116
1791
  subtitle?: string;
@@ -1382,6 +2057,6 @@ declare class XiriDownloadService {
1382
2057
 
1383
2058
  declare function provideXiriServices(config: Partial<XiriDataServiceConfig>): EnvironmentProviders;
1384
2059
 
1385
- export { DEFAULT_COMPARE, DEFAULT_PREDICATE, SafehtmlPipe, ThemeService, XiriAlertComponent, XiriBarChartComponent, XiriBreadcrumbComponent, XiriButtonComponent, XiriButtonlineComponent, XiriButtonstyleComponent, XiriCardComponent, XiriCardlinkComponent, XiriDataService, XiriDataServiceConfig, XiriDateService, XiriDescriptionListComponent, XiriDialogComponent, XiriDividerComponent, XiriDoneComponent, XiriDownloadService, XiriDynComponentComponent, XiriEmptyStateComponent, XiriErrorComponent, XiriExpansionComponent, XiriFormComponent, XiriFormFieldsComponent, XiriFormService, XiriHeaderComponent, XiriImagetextComponent, XiriInfopointComponent, XiriLinksComponent, XiriListComponent, XiriLocalStorageService, XiriMultiprogressComponent, XiriNumberService, XiriPageHeaderComponent, XiriQueryComponent, XiriRawTableComponent, XiriResponseHandlerService, XiriSearchComponent, XiriSectionComponent, XiriSelectDirective, XiriSessionStorageService, XiriSidenavComponent, XiriSkeletonComponent, XiriSnackbarService, XiriStatComponent, XiriStatGridComponent, XiriStepperComponent, XiriTableComponent, XiriTabsComponent, XiriTimelineComponent, XiriToolbarComponent, defaultXiriDataServiceConfig, provideXiriServices };
1386
- export type { ThemeMode, XiriAlertConfig, XiriBarChartBar, XiriBarChartMode, XiriBarChartPoint, XiriBarChartSegment, XiriBarChartSettings, XiriBreadcrumbItem, XiriButton, XiriButtonResult, XiriButtonlineSettings, XiriCardSettings, XiriCardlinkSettings, XiriColor, XiriDescriptionListItem, XiriDescriptionListSettings, XiriDialogSettings, XiriDividerSettings, XiriDynData, XiriDynDataType, XiriEmptyStateSettings, XiriExpansionPanelSettings, XiriExpansionSettings, XiriExtendedColor, XiriFormField, XiriFormFieldCondition, XiriFormFieldConditionOperator, XiriFormFieldDisplay, XiriFormFieldSelectOption, XiriFormServiceData, XiriFormServiceError, XiriFormSettings, XiriFormValidator, XiriHeaderSettings, XiriImagetextSettings, XiriInfopointSettings, XiriLinksSettings, XiriListItem, XiriListSection, XiriListSettings, XiriMultiprogressItem, XiriMultiprogressSettings, XiriNavigationField, XiriPageHeaderSettings, XiriQuerySettings, XiriRawTableSettings, XiriSectionSettings, XiriSelectCompare, XiriSelectPredicate, XiriSidebarSettings, XiriSkeletonType, XiriSnackbarType, XiriStatGridSettings, XiriStatSettings, XiriStatTrend, XiriStepperSettings, XiriStepperStep, XiriTabSettings, XiriTableEmptyState, XiriTableField, XiriTableOptions, XiriTableSettings, XiriTabsSettings, XiriTagChip, XiriThemeColor, XiriTimelineItem, XiriTimelineSettings, XiriToolbarSearchConfig, XiriToolbarSettings };
2060
+ export { COLOR_CSS_VAR, DEFAULT_COMPARE, DEFAULT_PREDICATE, SafehtmlPipe, ThemeService, XiriAlertComponent, XiriBarChartComponent, XiriBreadcrumbComponent, XiriButtonComponent, XiriButtonlineComponent, XiriButtonstyleComponent, XiriCalendarComponent, XiriCardComponent, XiriCardlinkComponent, XiriDataService, XiriDataServiceConfig, XiriDateService, XiriDescriptionListComponent, XiriDialogComponent, XiriDividerComponent, XiriDoneComponent, XiriDownloadService, XiriDynComponentComponent, XiriEchartsHostComponent, XiriEmptyStateComponent, XiriErrorComponent, XiriExpansionComponent, XiriFormComponent, XiriFormFieldsComponent, XiriFormService, XiriGanttComponent, XiriGaugeChartComponent, XiriHeaderComponent, XiriHeatmapComponent, XiriImagetextComponent, XiriInfopointComponent, XiriLineChartComponent, XiriLinksComponent, XiriListComponent, XiriLocalStorageService, XiriMultiprogressComponent, XiriNumberService, XiriPageHeaderComponent, XiriPieChartComponent, XiriQueryComponent, XiriRawTableComponent, XiriResponseHandlerService, XiriSankeyComponent, XiriSearchComponent, XiriSectionComponent, XiriSelectDirective, XiriSessionStorageService, XiriSidenavComponent, XiriSkeletonComponent, XiriSnackbarService, XiriStatComponent, XiriStatGridComponent, XiriStepperComponent, XiriTableComponent, XiriTabsComponent, XiriTimelineComponent, XiriToolbarComponent, XiriTreeComponent, defaultXiriDataServiceConfig, escapeHtml, provideXiriServices, resolveColor };
2061
+ export type { ThemeMode, XiriAlertConfig, XiriBarChartBar, XiriBarChartMode, XiriBarChartPoint, XiriBarChartSegment, XiriBarChartSettings, XiriBreadcrumbItem, XiriButton, XiriButtonResult, XiriButtonlineSettings, XiriCalendarCell, XiriCalendarSettings, XiriCardSettings, XiriCardlinkSettings, XiriColor, XiriDescriptionListItem, XiriDescriptionListSettings, XiriDialogSettings, XiriDividerSettings, XiriDynData, XiriDynDataType, XiriEmptyStateSettings, XiriExpansionPanelSettings, XiriExpansionSettings, XiriExtendedColor, XiriFormField, XiriFormFieldCondition, XiriFormFieldConditionOperator, XiriFormFieldDisplay, XiriFormFieldSelectOption, XiriFormServiceData, XiriFormServiceError, XiriFormSettings, XiriFormValidator, XiriGanttSettings, XiriGanttTask, XiriGaugeChartSettings, XiriHeaderSettings, XiriHeatmapCell, XiriHeatmapSettings, XiriImagetextSettings, XiriInfopointSettings, XiriLineChartLine, XiriLineChartSettings, XiriLinksSettings, XiriListItem, XiriListSection, XiriListSettings, XiriMultiprogressItem, XiriMultiprogressSettings, XiriNavigationField, XiriPageHeaderSettings, XiriPieChartSettings, XiriPieChartSlice, XiriQuerySettings, XiriRawTableSettings, XiriSankeyLink, XiriSankeyNode, XiriSankeySettings, XiriSectionSettings, XiriSelectCompare, XiriSelectPredicate, XiriSidebarSettings, XiriSkeletonType, XiriSnackbarType, XiriStatGridSettings, XiriStatSettings, XiriStatTrend, XiriStepperSettings, XiriStepperStep, XiriTabSettings, XiriTableEmptyState, XiriTableField, XiriTableOptions, XiriTableSettings, XiriTabsSettings, XiriTagChip, XiriThemeColor, XiriTimelineItem, XiriTimelineSettings, XiriToolbarSearchConfig, XiriToolbarSettings, XiriTreeNode, XiriTreeSettings };
1387
2062
  //# sourceMappingURL=xiriframework-xiri-ng.d.ts.map