@xiriframework/xiri-ng 0.2.24 → 0.2.26

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