@maro-tech/card 0.2.6 → 0.2.8

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.6",
3
+ "version": "0.2.8",
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;
@@ -563,9 +559,7 @@ declare class TableComponent implements OnChanges {
563
559
  private tableEndpoint;
564
560
  private editEnabled;
565
561
  private numberProp;
566
- private resolveObject;
567
562
  private resolve;
568
- private resolveValue;
569
563
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent, never>;
570
564
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent, "app-card-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
571
565
  }