@maro-tech/card 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maro-tech/card",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.2.0",
@@ -407,10 +407,7 @@ interface HistoryFieldConfig {
407
407
  data?: string;
408
408
  link?: string;
409
409
  displayMode?: 'text' | 'structured';
410
- itemFields?: Record<string, {
411
- label?: string;
412
- data?: string;
413
- }>;
410
+ itemFields?: Record<string, HistoryFieldConfig>;
414
411
  }
415
412
  interface HistoryConfig {
416
413
  primaryEntity?: string;
@@ -476,7 +473,6 @@ declare class HistoryTabComponent {
476
473
  private readonly destroyRef;
477
474
  private readonly refreshSequence;
478
475
  private lastRequestKey;
479
- private readonly dictionaryCache;
480
476
  constructor();
481
477
  private readonly loadEffect;
482
478
  onDateFilterChange(field: 'from' | 'to', rawValue: string | number | null): void;
@@ -490,7 +486,7 @@ declare class HistoryTabComponent {
490
486
  private getFieldConfig;
491
487
  private toDisplayValue;
492
488
  private resolveDisplay;
493
- private resolveDictionary;
489
+ private getDataLabel;
494
490
  private toStructuredItems;
495
491
  toggleOperation(id: string): void;
496
492
  isExpanded(id: string): boolean;
@@ -559,7 +555,8 @@ declare class TableComponent implements OnChanges {
559
555
  private matchesRowCondition;
560
556
  private formatDate;
561
557
  private tableName;
562
- private editableColumns;
558
+ private editableConfig;
559
+ private editableColumn;
563
560
  private tableEndpoint;
564
561
  private editEnabled;
565
562
  private numberProp;