@maro-tech/card 0.2.1 → 0.2.3

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.1",
3
+ "version": "0.2.3",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.2.0",
@@ -377,6 +377,7 @@ declare class DocumentsComponent {
377
377
  interface AuditFieldChange {
378
378
  label: string;
379
379
  type?: string;
380
+ summary?: string;
380
381
  from: {
381
382
  value: unknown;
382
383
  display: string;
@@ -419,6 +420,10 @@ interface HistoryConfig {
419
420
  interface AuditChange {
420
421
  action: string;
421
422
  entityLabel?: string;
423
+ context?: {
424
+ label?: string;
425
+ path?: string[];
426
+ };
422
427
  fieldMetadata?: Record<string, HistoryFieldConfig>;
423
428
  entityId: string;
424
429
  entityType: string;
@@ -463,6 +468,7 @@ declare class HistoryTabComponent {
463
468
  toggleOperation(id: string): void;
464
469
  isExpanded(id: string): boolean;
465
470
  getEntityLabel(entityType: string, providedLabel?: string): string;
471
+ getChangeContextLabel(change: AuditChange): string;
466
472
  getActionLabel(action: string): string;
467
473
  isImageField(field: AuditFieldChange): boolean;
468
474
  isStructuredField(field: AuditFieldChange): boolean;