@masterteam/components 0.0.217 → 0.0.219

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.
Files changed (29) hide show
  1. package/README.md +70 -70
  2. package/fesm2022/masterteam-components-drawer.mjs +2 -2
  3. package/fesm2022/masterteam-components-drawer.mjs.map +1 -1
  4. package/fesm2022/masterteam-components-dynamic-drawer.mjs.map +1 -1
  5. package/fesm2022/masterteam-components-entities.mjs +10 -10
  6. package/fesm2022/masterteam-components-entities.mjs.map +1 -1
  7. package/fesm2022/masterteam-components-formula.mjs +2 -2
  8. package/fesm2022/masterteam-components-formula.mjs.map +1 -1
  9. package/fesm2022/masterteam-components-icon-field.mjs.map +1 -1
  10. package/fesm2022/masterteam-components-location-field.mjs +2 -2
  11. package/fesm2022/masterteam-components-location-field.mjs.map +1 -1
  12. package/fesm2022/masterteam-components-number-field.mjs +2 -2
  13. package/fesm2022/masterteam-components-number-field.mjs.map +1 -1
  14. package/fesm2022/masterteam-components-radio-cards-field.mjs +2 -2
  15. package/fesm2022/masterteam-components-radio-cards-field.mjs.map +1 -1
  16. package/fesm2022/masterteam-components-runtime-action.mjs.map +1 -1
  17. package/fesm2022/masterteam-components-table.mjs +10 -6
  18. package/fesm2022/masterteam-components-table.mjs.map +1 -1
  19. package/fesm2022/masterteam-components-text-field.mjs +2 -2
  20. package/fesm2022/masterteam-components-text-field.mjs.map +1 -1
  21. package/fesm2022/masterteam-components-textarea-field.mjs +2 -2
  22. package/fesm2022/masterteam-components-textarea-field.mjs.map +1 -1
  23. package/fesm2022/masterteam-components-toggle-field.mjs +2 -2
  24. package/fesm2022/masterteam-components-toggle-field.mjs.map +1 -1
  25. package/fesm2022/masterteam-components.mjs +3 -3
  26. package/fesm2022/masterteam-components.mjs.map +1 -1
  27. package/package.json +1 -1
  28. package/types/masterteam-components-entities.d.ts +1 -1
  29. package/types/masterteam-components-table.d.ts +2 -2
@@ -750,11 +750,11 @@ class EntityAttachment {
750
750
  return undefined;
751
751
  }
752
752
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityAttachment, deps: [], target: i0.ɵɵFactoryTarget.Component });
753
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityAttachment, isStandalone: true, selector: "mt-entity-attachment", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, endPoint: { classPropertyName: "endPoint", publicName: "endPoint", isSignal: true, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<mt-entity-field\n [label]=\"displayName()\"\n [configuration]=\"data()?.configuration\"\n gap=\"relaxed\"\n>\n @if (hasAttachments()) {\n @if (shape() === \"compact\") {\n <div class=\"flex flex-wrap items-center gap-2\">\n @for (\n attachment of attachments();\n track attachmentTrackBy($index, attachment)\n ) {\n <mt-button\n iconPos=\"top\"\n size=\"small\"\n severity=\"secondary\"\n variant=\"outlined\"\n [icon]=\"attachmentActionIcon($index, attachment)\"\n [tooltip]=\"attachmentTooltip(attachment)\"\n styleClass=\"h-9! w-9! rounded-lg! transition-all duration-200 hover:scale-105 hover:border-primary-500! hover:text-primary-600! hover:bg-primary-50!\"\n (onClick)=\"onCompactAttachmentClick($event, attachment)\"\n (mouseenter)=\"\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\n \"\n (mouseleave)=\"hoveredAttachmentKey.set(null)\"\n (onFocus)=\"\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\n \"\n (onBlur)=\"hoveredAttachmentKey.set(null)\"\n />\n }\n </div>\n } @else {\n <mt-upload-field\n class=\"w-full\"\n [ngModel]=\"uploadValue()\"\n [ngModelOptions]=\"{ standalone: true }\"\n [shape]=\"'card'\"\n [multiple]=\"isMultiple()\"\n [readonly]=\"true\"\n [endPoint]=\"endPoint()\"\n [accept]=\"acceptTypes()\"\n [context]=\"context()\"\n />\n }\n } @else {\n <span class=\"text-sm font-semibold\">{{ empty }}</span>\n }\n</mt-entity-field>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: UploadField, selector: "mt-upload-field", inputs: ["label", "title", "description", "endPoint", "size", "userImgClass", "shape", "multiple", "accept", "isDragging", "fileSizeLimit", "readonly", "context"], outputs: ["isDraggingChange", "onChange"] }, { kind: "component", type: Button, selector: "mt-button", inputs: ["icon", "label", "tooltip", "class", "type", "styleClass", "severity", "badge", "variant", "badgeSeverity", "size", "iconPos", "autofocus", "fluid", "raised", "rounded", "text", "plain", "outlined", "link", "disabled", "loading", "pInputs"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: EntityField, selector: "mt-entity-field", inputs: ["label", "labelIconName", "configuration", "gap"] }] });
753
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityAttachment, isStandalone: true, selector: "mt-entity-attachment", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, endPoint: { classPropertyName: "endPoint", publicName: "endPoint", isSignal: true, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "context", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<mt-entity-field\r\n [label]=\"displayName()\"\r\n [configuration]=\"data()?.configuration\"\r\n gap=\"relaxed\"\r\n>\r\n @if (hasAttachments()) {\r\n @if (shape() === \"compact\") {\r\n <div class=\"flex flex-wrap items-center gap-2\">\r\n @for (\r\n attachment of attachments();\r\n track attachmentTrackBy($index, attachment)\r\n ) {\r\n <mt-button\r\n iconPos=\"top\"\r\n size=\"small\"\r\n severity=\"secondary\"\r\n variant=\"outlined\"\r\n [icon]=\"attachmentActionIcon($index, attachment)\"\r\n [tooltip]=\"attachmentTooltip(attachment)\"\r\n styleClass=\"h-9! w-9! rounded-lg! transition-all duration-200 hover:scale-105 hover:border-primary-500! hover:text-primary-600! hover:bg-primary-50!\"\r\n (onClick)=\"onCompactAttachmentClick($event, attachment)\"\r\n (mouseenter)=\"\r\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\r\n \"\r\n (mouseleave)=\"hoveredAttachmentKey.set(null)\"\r\n (onFocus)=\"\r\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\r\n \"\r\n (onBlur)=\"hoveredAttachmentKey.set(null)\"\r\n />\r\n }\r\n </div>\r\n } @else {\r\n <mt-upload-field\r\n class=\"w-full\"\r\n [ngModel]=\"uploadValue()\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n [shape]=\"'card'\"\r\n [multiple]=\"isMultiple()\"\r\n [readonly]=\"true\"\r\n [endPoint]=\"endPoint()\"\r\n [accept]=\"acceptTypes()\"\r\n [context]=\"context()\"\r\n />\r\n }\r\n } @else {\r\n <span class=\"text-sm font-semibold\">{{ empty }}</span>\r\n }\r\n</mt-entity-field>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: UploadField, selector: "mt-upload-field", inputs: ["label", "title", "description", "endPoint", "size", "userImgClass", "shape", "multiple", "accept", "isDragging", "fileSizeLimit", "readonly", "context"], outputs: ["isDraggingChange", "onChange"] }, { kind: "component", type: Button, selector: "mt-button", inputs: ["icon", "label", "tooltip", "class", "type", "styleClass", "severity", "badge", "variant", "badgeSeverity", "size", "iconPos", "autofocus", "fluid", "raised", "rounded", "text", "plain", "outlined", "link", "disabled", "loading", "pInputs"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: EntityField, selector: "mt-entity-field", inputs: ["label", "labelIconName", "configuration", "gap"] }] });
754
754
  }
755
755
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityAttachment, decorators: [{
756
756
  type: Component,
757
- args: [{ selector: 'mt-entity-attachment', standalone: true, imports: [FormsModule, UploadField, Button, EntityField], template: "<mt-entity-field\n [label]=\"displayName()\"\n [configuration]=\"data()?.configuration\"\n gap=\"relaxed\"\n>\n @if (hasAttachments()) {\n @if (shape() === \"compact\") {\n <div class=\"flex flex-wrap items-center gap-2\">\n @for (\n attachment of attachments();\n track attachmentTrackBy($index, attachment)\n ) {\n <mt-button\n iconPos=\"top\"\n size=\"small\"\n severity=\"secondary\"\n variant=\"outlined\"\n [icon]=\"attachmentActionIcon($index, attachment)\"\n [tooltip]=\"attachmentTooltip(attachment)\"\n styleClass=\"h-9! w-9! rounded-lg! transition-all duration-200 hover:scale-105 hover:border-primary-500! hover:text-primary-600! hover:bg-primary-50!\"\n (onClick)=\"onCompactAttachmentClick($event, attachment)\"\n (mouseenter)=\"\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\n \"\n (mouseleave)=\"hoveredAttachmentKey.set(null)\"\n (onFocus)=\"\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\n \"\n (onBlur)=\"hoveredAttachmentKey.set(null)\"\n />\n }\n </div>\n } @else {\n <mt-upload-field\n class=\"w-full\"\n [ngModel]=\"uploadValue()\"\n [ngModelOptions]=\"{ standalone: true }\"\n [shape]=\"'card'\"\n [multiple]=\"isMultiple()\"\n [readonly]=\"true\"\n [endPoint]=\"endPoint()\"\n [accept]=\"acceptTypes()\"\n [context]=\"context()\"\n />\n }\n } @else {\n <span class=\"text-sm font-semibold\">{{ empty }}</span>\n }\n</mt-entity-field>\n" }]
757
+ args: [{ selector: 'mt-entity-attachment', standalone: true, imports: [FormsModule, UploadField, Button, EntityField], template: "<mt-entity-field\r\n [label]=\"displayName()\"\r\n [configuration]=\"data()?.configuration\"\r\n gap=\"relaxed\"\r\n>\r\n @if (hasAttachments()) {\r\n @if (shape() === \"compact\") {\r\n <div class=\"flex flex-wrap items-center gap-2\">\r\n @for (\r\n attachment of attachments();\r\n track attachmentTrackBy($index, attachment)\r\n ) {\r\n <mt-button\r\n iconPos=\"top\"\r\n size=\"small\"\r\n severity=\"secondary\"\r\n variant=\"outlined\"\r\n [icon]=\"attachmentActionIcon($index, attachment)\"\r\n [tooltip]=\"attachmentTooltip(attachment)\"\r\n styleClass=\"h-9! w-9! rounded-lg! transition-all duration-200 hover:scale-105 hover:border-primary-500! hover:text-primary-600! hover:bg-primary-50!\"\r\n (onClick)=\"onCompactAttachmentClick($event, attachment)\"\r\n (mouseenter)=\"\r\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\r\n \"\r\n (mouseleave)=\"hoveredAttachmentKey.set(null)\"\r\n (onFocus)=\"\r\n hoveredAttachmentKey.set(attachmentTrackBy($index, attachment))\r\n \"\r\n (onBlur)=\"hoveredAttachmentKey.set(null)\"\r\n />\r\n }\r\n </div>\r\n } @else {\r\n <mt-upload-field\r\n class=\"w-full\"\r\n [ngModel]=\"uploadValue()\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n [shape]=\"'card'\"\r\n [multiple]=\"isMultiple()\"\r\n [readonly]=\"true\"\r\n [endPoint]=\"endPoint()\"\r\n [accept]=\"acceptTypes()\"\r\n [context]=\"context()\"\r\n />\r\n }\r\n } @else {\r\n <span class=\"text-sm font-semibold\">{{ empty }}</span>\r\n }\r\n</mt-entity-field>\r\n" }]
758
758
  }], ctorParameters: () => [], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], shape: [{ type: i0.Input, args: [{ isSignal: true, alias: "shape", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], endPoint: [{ type: i0.Input, args: [{ isSignal: true, alias: "endPoint", required: false }] }], context: [{ type: i0.Input, args: [{ isSignal: true, alias: "context", required: false }] }] } });
759
759
 
760
760
  class EntityLocation {
@@ -781,11 +781,11 @@ class EntityLocation {
781
781
  return `https://www.google.com/maps/?q=${encodeURIComponent(`${lat},${lon}`)}`;
782
782
  }, ...(ngDevMode ? [{ debugName: "mapsUrl" }] : /* istanbul ignore next */ []));
783
783
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityLocation, deps: [], target: i0.ɵɵFactoryTarget.Component });
784
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityLocation, isStandalone: true, selector: "mt-entity-location", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<mt-entity-field\n [label]=\"displayName()\"\n [labelIconName]=\"'map.marker-pin-01'\"\n [configuration]=\"data()?.configuration\"\n gap=\"normal\"\n>\n @if (mapsUrl()) {\n <a\n [href]=\"mapsUrl()\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n class=\"flex min-w-0 max-w-full items-center gap-1.5 text-sm font-semibold text-primary-600 hover:text-primary-700\"\n mtTruncateTooltip\n tooltipPosition=\"top\"\n >\n <mt-icon icon=\"map.marker-pin-01\" size=\"sm\" class=\"shrink-0\" />\n <span class=\"min-w-0 truncate\">{{ displayValue() }}</span>\n </a>\n } @else {\n <div\n class=\"min-w-0 max-w-full truncate text-sm font-semibold\"\n mtTruncateTooltip\n tooltipPosition=\"top\"\n >\n {{ displayValue() }}\n </div>\n }\n\n @if (coordinates()) {\n <div class=\"min-w-0 truncate text-xs text-gray-500\">\n {{ coordinates() }}\n </div>\n }\n</mt-entity-field>\n", dependencies: [{ kind: "component", type: EntityField, selector: "mt-entity-field", inputs: ["label", "labelIconName", "configuration", "gap"] }, { kind: "component", type: Icon, selector: "mt-icon", inputs: ["icon"] }, { kind: "directive", type: TruncateTooltip, selector: "[mtTruncateTooltip]" }] });
784
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityLocation, isStandalone: true, selector: "mt-entity-location", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<mt-entity-field\r\n [label]=\"displayName()\"\r\n [labelIconName]=\"'map.marker-pin-01'\"\r\n [configuration]=\"data()?.configuration\"\r\n gap=\"normal\"\r\n>\r\n @if (mapsUrl()) {\r\n <a\r\n [href]=\"mapsUrl()\"\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n class=\"flex min-w-0 max-w-full items-center gap-1.5 text-sm font-semibold text-primary-600 hover:text-primary-700\"\r\n mtTruncateTooltip\r\n tooltipPosition=\"top\"\r\n >\r\n <mt-icon icon=\"map.marker-pin-01\" size=\"sm\" class=\"shrink-0\" />\r\n <span class=\"min-w-0 truncate\">{{ displayValue() }}</span>\r\n </a>\r\n } @else {\r\n <div\r\n class=\"min-w-0 max-w-full truncate text-sm font-semibold\"\r\n mtTruncateTooltip\r\n tooltipPosition=\"top\"\r\n >\r\n {{ displayValue() }}\r\n </div>\r\n }\r\n\r\n @if (coordinates()) {\r\n <div class=\"min-w-0 truncate text-xs text-gray-500\">\r\n {{ coordinates() }}\r\n </div>\r\n }\r\n</mt-entity-field>\r\n", dependencies: [{ kind: "component", type: EntityField, selector: "mt-entity-field", inputs: ["label", "labelIconName", "configuration", "gap"] }, { kind: "component", type: Icon, selector: "mt-icon", inputs: ["icon"] }, { kind: "directive", type: TruncateTooltip, selector: "[mtTruncateTooltip]" }] });
785
785
  }
786
786
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityLocation, decorators: [{
787
787
  type: Component,
788
- args: [{ selector: 'mt-entity-location', imports: [EntityField, Icon, TruncateTooltip], template: "<mt-entity-field\n [label]=\"displayName()\"\n [labelIconName]=\"'map.marker-pin-01'\"\n [configuration]=\"data()?.configuration\"\n gap=\"normal\"\n>\n @if (mapsUrl()) {\n <a\n [href]=\"mapsUrl()\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n class=\"flex min-w-0 max-w-full items-center gap-1.5 text-sm font-semibold text-primary-600 hover:text-primary-700\"\n mtTruncateTooltip\n tooltipPosition=\"top\"\n >\n <mt-icon icon=\"map.marker-pin-01\" size=\"sm\" class=\"shrink-0\" />\n <span class=\"min-w-0 truncate\">{{ displayValue() }}</span>\n </a>\n } @else {\n <div\n class=\"min-w-0 max-w-full truncate text-sm font-semibold\"\n mtTruncateTooltip\n tooltipPosition=\"top\"\n >\n {{ displayValue() }}\n </div>\n }\n\n @if (coordinates()) {\n <div class=\"min-w-0 truncate text-xs text-gray-500\">\n {{ coordinates() }}\n </div>\n }\n</mt-entity-field>\n" }]
788
+ args: [{ selector: 'mt-entity-location', imports: [EntityField, Icon, TruncateTooltip], template: "<mt-entity-field\r\n [label]=\"displayName()\"\r\n [labelIconName]=\"'map.marker-pin-01'\"\r\n [configuration]=\"data()?.configuration\"\r\n gap=\"normal\"\r\n>\r\n @if (mapsUrl()) {\r\n <a\r\n [href]=\"mapsUrl()\"\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n class=\"flex min-w-0 max-w-full items-center gap-1.5 text-sm font-semibold text-primary-600 hover:text-primary-700\"\r\n mtTruncateTooltip\r\n tooltipPosition=\"top\"\r\n >\r\n <mt-icon icon=\"map.marker-pin-01\" size=\"sm\" class=\"shrink-0\" />\r\n <span class=\"min-w-0 truncate\">{{ displayValue() }}</span>\r\n </a>\r\n } @else {\r\n <div\r\n class=\"min-w-0 max-w-full truncate text-sm font-semibold\"\r\n mtTruncateTooltip\r\n tooltipPosition=\"top\"\r\n >\r\n {{ displayValue() }}\r\n </div>\r\n }\r\n\r\n @if (coordinates()) {\r\n <div class=\"min-w-0 truncate text-xs text-gray-500\">\r\n {{ coordinates() }}\r\n </div>\r\n }\r\n</mt-entity-field>\r\n" }]
789
789
  }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
790
790
  function normalizeEntityLocation(value) {
791
791
  if (value === null || value === undefined || value === '') {
@@ -1272,13 +1272,13 @@ class ComparisonValue {
1272
1272
  };
1273
1273
  }
1274
1274
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComparisonValue, deps: [], target: i0.ɵɵFactoryTarget.Component });
1275
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: ComparisonValue, isStandalone: true, selector: "mt-comparison-value", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "block w-full" }, ngImport: i0, template: "@if (comparison(); as cmp) {\n <div class=\"flex w-full min-w-0 items-stretch gap-3\">\n <div\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\n >\n <span class=\"text-xs font-medium uppercase tracking-wide text-muted-color\"\n >Before</span\n >\n @if (oldEntity(); as old) {\n <mt-entity-preview-body [data]=\"old\" />\n } @else {\n <span class=\"text-sm text-muted-color\">_</span>\n }\n </div>\n <div class=\"flex shrink-0 items-center text-muted-color\" aria-hidden=\"true\">\n &rarr;\n </div>\n <div\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-primary-200 bg-primary-50 px-3 py-2\"\n >\n <span class=\"text-xs font-medium uppercase tracking-wide text-primary-600\"\n >After</span\n >\n @if (newEntity(); as next) {\n <mt-entity-preview-body [data]=\"next\" />\n } @else {\n <span class=\"text-sm text-muted-color\">_</span>\n }\n </div>\n </div>\n}\n", dependencies: [{ kind: "component", type: EntityPreviewBody, selector: "mt-entity-preview-body", inputs: ["data", "attachmentShape"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1275
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: ComparisonValue, isStandalone: true, selector: "mt-comparison-value", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "block w-full" }, ngImport: i0, template: "@if (comparison(); as cmp) {\r\n <div class=\"flex w-full min-w-0 items-stretch gap-3\">\r\n <div\r\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\r\n >\r\n <span class=\"text-xs font-medium uppercase tracking-wide text-muted-color\"\r\n >Before</span\r\n >\r\n @if (oldEntity(); as old) {\r\n <mt-entity-preview-body [data]=\"old\" />\r\n } @else {\r\n <span class=\"text-sm text-muted-color\">_</span>\r\n }\r\n </div>\r\n <div class=\"flex shrink-0 items-center text-muted-color\" aria-hidden=\"true\">\r\n &rarr;\r\n </div>\r\n <div\r\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-primary-200 bg-primary-50 px-3 py-2\"\r\n >\r\n <span class=\"text-xs font-medium uppercase tracking-wide text-primary-600\"\r\n >After</span\r\n >\r\n @if (newEntity(); as next) {\r\n <mt-entity-preview-body [data]=\"next\" />\r\n } @else {\r\n <span class=\"text-sm text-muted-color\">_</span>\r\n }\r\n </div>\r\n </div>\r\n}\r\n", dependencies: [{ kind: "component", type: EntityPreviewBody, selector: "mt-entity-preview-body", inputs: ["data", "attachmentShape"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1276
1276
  }
1277
1277
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComparisonValue, decorators: [{
1278
1278
  type: Component,
1279
1279
  args: [{ selector: 'mt-comparison-value', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [EntityPreviewBody], host: {
1280
1280
  class: 'block w-full',
1281
- }, template: "@if (comparison(); as cmp) {\n <div class=\"flex w-full min-w-0 items-stretch gap-3\">\n <div\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\n >\n <span class=\"text-xs font-medium uppercase tracking-wide text-muted-color\"\n >Before</span\n >\n @if (oldEntity(); as old) {\n <mt-entity-preview-body [data]=\"old\" />\n } @else {\n <span class=\"text-sm text-muted-color\">_</span>\n }\n </div>\n <div class=\"flex shrink-0 items-center text-muted-color\" aria-hidden=\"true\">\n &rarr;\n </div>\n <div\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-primary-200 bg-primary-50 px-3 py-2\"\n >\n <span class=\"text-xs font-medium uppercase tracking-wide text-primary-600\"\n >After</span\n >\n @if (newEntity(); as next) {\n <mt-entity-preview-body [data]=\"next\" />\n } @else {\n <span class=\"text-sm text-muted-color\">_</span>\n }\n </div>\n </div>\n}\n" }]
1281
+ }, template: "@if (comparison(); as cmp) {\r\n <div class=\"flex w-full min-w-0 items-stretch gap-3\">\r\n <div\r\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\r\n >\r\n <span class=\"text-xs font-medium uppercase tracking-wide text-muted-color\"\r\n >Before</span\r\n >\r\n @if (oldEntity(); as old) {\r\n <mt-entity-preview-body [data]=\"old\" />\r\n } @else {\r\n <span class=\"text-sm text-muted-color\">_</span>\r\n }\r\n </div>\r\n <div class=\"flex shrink-0 items-center text-muted-color\" aria-hidden=\"true\">\r\n &rarr;\r\n </div>\r\n <div\r\n class=\"flex min-w-0 flex-1 flex-col gap-1 rounded-md border border-primary-200 bg-primary-50 px-3 py-2\"\r\n >\r\n <span class=\"text-xs font-medium uppercase tracking-wide text-primary-600\"\r\n >After</span\r\n >\r\n @if (newEntity(); as next) {\r\n <mt-entity-preview-body [data]=\"next\" />\r\n } @else {\r\n <span class=\"text-sm text-muted-color\">_</span>\r\n }\r\n </div>\r\n </div>\r\n}\r\n" }]
1282
1282
  }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
1283
1283
 
1284
1284
  const OPERATION_BADGE_KEYS = {
@@ -1324,13 +1324,13 @@ class ComparisonEntityList {
1324
1324
  return row.oldValues.find((v) => v.propertyKey === propertyKey);
1325
1325
  }
1326
1326
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComparisonEntityList, deps: [], target: i0.ɵɵFactoryTarget.Component });
1327
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: ComparisonEntityList, isStandalone: true, selector: "mt-comparison-entity-list", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "block w-full" }, ngImport: i0, template: "@if (comparison(); as cmp) {\n <div class=\"flex w-full min-w-0 flex-col gap-2\">\n @if (label()) {\n <div class=\"flex items-baseline justify-between\">\n <span class=\"text-sm font-medium text-color\">{{ label() }}</span>\n @if (targetModuleKey()) {\n <span class=\"text-xs text-muted-color\">{{ targetModuleKey() }}</span>\n }\n </div>\n }\n @if (rows().length === 0) {\n <div class=\"text-sm text-muted-color\">_</div>\n } @else {\n <ul class=\"flex flex-col gap-2\">\n @for (row of rows(); track rowId($index, row)) {\n <li\n class=\"flex flex-col gap-2 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\n >\n <div class=\"flex items-center justify-between gap-2\">\n <span\n class=\"inline-flex items-center rounded px-2 py-0.5 text-xs font-medium\"\n [class]=\"badgeFor(row.operation).classes\"\n >\n {{ badgeFor(row.operation).label }}\n </span>\n <span class=\"text-xs text-muted-color\">#{{ row.entityId }}</span>\n </div>\n\n @switch (row.operation) {\n @case (\"CreateRecord\") {\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\n @for (f of row.newValues; track f.propertyKey) {\n <div class=\"flex min-w-0 flex-col\">\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\n <dd class=\"truncate text-sm text-color\">\n {{ displayField(f.value, f.display) }}\n </dd>\n </div>\n }\n </dl>\n }\n @case (\"DeleteRecord\") {\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\n @for (f of row.oldValues; track f.propertyKey) {\n <div class=\"flex min-w-0 flex-col\">\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\n <dd class=\"truncate text-sm text-color line-through\">\n {{ displayField(f.value, f.display) }}\n </dd>\n </div>\n }\n </dl>\n }\n @default {\n <dl class=\"flex flex-col gap-1\">\n @for (f of row.newValues; track f.propertyKey) {\n <div class=\"flex min-w-0 flex-col\">\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\n <dd class=\"flex min-w-0 flex-wrap items-center gap-2\">\n <span\n class=\"max-w-[40%] truncate text-sm text-muted-color line-through\"\n >\n {{\n displayField(\n $any(oldField(row, f.propertyKey))?.value,\n $any(oldField(row, f.propertyKey))?.display\n )\n }}\n </span>\n <span class=\"text-muted-color\" aria-hidden=\"true\"\n >&rarr;</span\n >\n <span class=\"max-w-[40%] truncate text-sm text-color\">\n {{ displayField(f.value, f.display) }}\n </span>\n </dd>\n </div>\n }\n </dl>\n }\n }\n </li>\n }\n </ul>\n }\n </div>\n}\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
1327
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: ComparisonEntityList, isStandalone: true, selector: "mt-comparison-entity-list", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "block w-full" }, ngImport: i0, template: "@if (comparison(); as cmp) {\r\n <div class=\"flex w-full min-w-0 flex-col gap-2\">\r\n @if (label()) {\r\n <div class=\"flex items-baseline justify-between\">\r\n <span class=\"text-sm font-medium text-color\">{{ label() }}</span>\r\n @if (targetModuleKey()) {\r\n <span class=\"text-xs text-muted-color\">{{ targetModuleKey() }}</span>\r\n }\r\n </div>\r\n }\r\n @if (rows().length === 0) {\r\n <div class=\"text-sm text-muted-color\">_</div>\r\n } @else {\r\n <ul class=\"flex flex-col gap-2\">\r\n @for (row of rows(); track rowId($index, row)) {\r\n <li\r\n class=\"flex flex-col gap-2 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\r\n >\r\n <div class=\"flex items-center justify-between gap-2\">\r\n <span\r\n class=\"inline-flex items-center rounded px-2 py-0.5 text-xs font-medium\"\r\n [class]=\"badgeFor(row.operation).classes\"\r\n >\r\n {{ badgeFor(row.operation).label }}\r\n </span>\r\n <span class=\"text-xs text-muted-color\">#{{ row.entityId }}</span>\r\n </div>\r\n\r\n @switch (row.operation) {\r\n @case (\"CreateRecord\") {\r\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\r\n @for (f of row.newValues; track f.propertyKey) {\r\n <div class=\"flex min-w-0 flex-col\">\r\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\r\n <dd class=\"truncate text-sm text-color\">\r\n {{ displayField(f.value, f.display) }}\r\n </dd>\r\n </div>\r\n }\r\n </dl>\r\n }\r\n @case (\"DeleteRecord\") {\r\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\r\n @for (f of row.oldValues; track f.propertyKey) {\r\n <div class=\"flex min-w-0 flex-col\">\r\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\r\n <dd class=\"truncate text-sm text-color line-through\">\r\n {{ displayField(f.value, f.display) }}\r\n </dd>\r\n </div>\r\n }\r\n </dl>\r\n }\r\n @default {\r\n <dl class=\"flex flex-col gap-1\">\r\n @for (f of row.newValues; track f.propertyKey) {\r\n <div class=\"flex min-w-0 flex-col\">\r\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\r\n <dd class=\"flex min-w-0 flex-wrap items-center gap-2\">\r\n <span\r\n class=\"max-w-[40%] truncate text-sm text-muted-color line-through\"\r\n >\r\n {{\r\n displayField(\r\n $any(oldField(row, f.propertyKey))?.value,\r\n $any(oldField(row, f.propertyKey))?.display\r\n )\r\n }}\r\n </span>\r\n <span class=\"text-muted-color\" aria-hidden=\"true\"\r\n >&rarr;</span\r\n >\r\n <span class=\"max-w-[40%] truncate text-sm text-color\">\r\n {{ displayField(f.value, f.display) }}\r\n </span>\r\n </dd>\r\n </div>\r\n }\r\n </dl>\r\n }\r\n }\r\n </li>\r\n }\r\n </ul>\r\n }\r\n </div>\r\n}\r\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
1328
1328
  }
1329
1329
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComparisonEntityList, decorators: [{
1330
1330
  type: Component,
1331
1331
  args: [{ selector: 'mt-comparison-entity-list', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [], host: {
1332
1332
  class: 'block w-full',
1333
- }, template: "@if (comparison(); as cmp) {\n <div class=\"flex w-full min-w-0 flex-col gap-2\">\n @if (label()) {\n <div class=\"flex items-baseline justify-between\">\n <span class=\"text-sm font-medium text-color\">{{ label() }}</span>\n @if (targetModuleKey()) {\n <span class=\"text-xs text-muted-color\">{{ targetModuleKey() }}</span>\n }\n </div>\n }\n @if (rows().length === 0) {\n <div class=\"text-sm text-muted-color\">_</div>\n } @else {\n <ul class=\"flex flex-col gap-2\">\n @for (row of rows(); track rowId($index, row)) {\n <li\n class=\"flex flex-col gap-2 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\n >\n <div class=\"flex items-center justify-between gap-2\">\n <span\n class=\"inline-flex items-center rounded px-2 py-0.5 text-xs font-medium\"\n [class]=\"badgeFor(row.operation).classes\"\n >\n {{ badgeFor(row.operation).label }}\n </span>\n <span class=\"text-xs text-muted-color\">#{{ row.entityId }}</span>\n </div>\n\n @switch (row.operation) {\n @case (\"CreateRecord\") {\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\n @for (f of row.newValues; track f.propertyKey) {\n <div class=\"flex min-w-0 flex-col\">\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\n <dd class=\"truncate text-sm text-color\">\n {{ displayField(f.value, f.display) }}\n </dd>\n </div>\n }\n </dl>\n }\n @case (\"DeleteRecord\") {\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\n @for (f of row.oldValues; track f.propertyKey) {\n <div class=\"flex min-w-0 flex-col\">\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\n <dd class=\"truncate text-sm text-color line-through\">\n {{ displayField(f.value, f.display) }}\n </dd>\n </div>\n }\n </dl>\n }\n @default {\n <dl class=\"flex flex-col gap-1\">\n @for (f of row.newValues; track f.propertyKey) {\n <div class=\"flex min-w-0 flex-col\">\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\n <dd class=\"flex min-w-0 flex-wrap items-center gap-2\">\n <span\n class=\"max-w-[40%] truncate text-sm text-muted-color line-through\"\n >\n {{\n displayField(\n $any(oldField(row, f.propertyKey))?.value,\n $any(oldField(row, f.propertyKey))?.display\n )\n }}\n </span>\n <span class=\"text-muted-color\" aria-hidden=\"true\"\n >&rarr;</span\n >\n <span class=\"max-w-[40%] truncate text-sm text-color\">\n {{ displayField(f.value, f.display) }}\n </span>\n </dd>\n </div>\n }\n </dl>\n }\n }\n </li>\n }\n </ul>\n }\n </div>\n}\n" }]
1333
+ }, template: "@if (comparison(); as cmp) {\r\n <div class=\"flex w-full min-w-0 flex-col gap-2\">\r\n @if (label()) {\r\n <div class=\"flex items-baseline justify-between\">\r\n <span class=\"text-sm font-medium text-color\">{{ label() }}</span>\r\n @if (targetModuleKey()) {\r\n <span class=\"text-xs text-muted-color\">{{ targetModuleKey() }}</span>\r\n }\r\n </div>\r\n }\r\n @if (rows().length === 0) {\r\n <div class=\"text-sm text-muted-color\">_</div>\r\n } @else {\r\n <ul class=\"flex flex-col gap-2\">\r\n @for (row of rows(); track rowId($index, row)) {\r\n <li\r\n class=\"flex flex-col gap-2 rounded-md border border-surface-200 bg-surface-50 px-3 py-2\"\r\n >\r\n <div class=\"flex items-center justify-between gap-2\">\r\n <span\r\n class=\"inline-flex items-center rounded px-2 py-0.5 text-xs font-medium\"\r\n [class]=\"badgeFor(row.operation).classes\"\r\n >\r\n {{ badgeFor(row.operation).label }}\r\n </span>\r\n <span class=\"text-xs text-muted-color\">#{{ row.entityId }}</span>\r\n </div>\r\n\r\n @switch (row.operation) {\r\n @case (\"CreateRecord\") {\r\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\r\n @for (f of row.newValues; track f.propertyKey) {\r\n <div class=\"flex min-w-0 flex-col\">\r\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\r\n <dd class=\"truncate text-sm text-color\">\r\n {{ displayField(f.value, f.display) }}\r\n </dd>\r\n </div>\r\n }\r\n </dl>\r\n }\r\n @case (\"DeleteRecord\") {\r\n <dl class=\"grid grid-cols-1 gap-1 sm:grid-cols-2\">\r\n @for (f of row.oldValues; track f.propertyKey) {\r\n <div class=\"flex min-w-0 flex-col\">\r\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\r\n <dd class=\"truncate text-sm text-color line-through\">\r\n {{ displayField(f.value, f.display) }}\r\n </dd>\r\n </div>\r\n }\r\n </dl>\r\n }\r\n @default {\r\n <dl class=\"flex flex-col gap-1\">\r\n @for (f of row.newValues; track f.propertyKey) {\r\n <div class=\"flex min-w-0 flex-col\">\r\n <dt class=\"text-xs text-muted-color\">{{ f.label }}</dt>\r\n <dd class=\"flex min-w-0 flex-wrap items-center gap-2\">\r\n <span\r\n class=\"max-w-[40%] truncate text-sm text-muted-color line-through\"\r\n >\r\n {{\r\n displayField(\r\n $any(oldField(row, f.propertyKey))?.value,\r\n $any(oldField(row, f.propertyKey))?.display\r\n )\r\n }}\r\n </span>\r\n <span class=\"text-muted-color\" aria-hidden=\"true\"\r\n >&rarr;</span\r\n >\r\n <span class=\"max-w-[40%] truncate text-sm text-color\">\r\n {{ displayField(f.value, f.display) }}\r\n </span>\r\n </dd>\r\n </div>\r\n }\r\n </dl>\r\n }\r\n }\r\n </li>\r\n }\r\n </ul>\r\n }\r\n </div>\r\n}\r\n" }]
1334
1334
  }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
1335
1335
 
1336
1336
  class EntityPreview {
@@ -1347,13 +1347,13 @@ class EntityPreview {
1347
1347
  return null;
1348
1348
  }, ...(ngDevMode ? [{ debugName: "comparisonKind" }] : /* istanbul ignore next */ []));
1349
1349
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityPreview, deps: [], target: i0.ɵɵFactoryTarget.Component });
1350
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityPreview, isStandalone: true, selector: "mt-entity-preview", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, attachmentShape: { classPropertyName: "attachmentShape", publicName: "attachmentShape", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "w-full" }, ngImport: i0, template: "@switch (comparisonKind()) {\n @case (\"Value\") {\n <mt-comparison-value [data]=\"data()\" />\n }\n @case (\"EntityList\") {\n <mt-comparison-entity-list [data]=\"data()\" />\n }\n @default {\n <mt-entity-preview-body\n [data]=\"data()\"\n [attachmentShape]=\"attachmentShape()\"\n />\n }\n}\n", dependencies: [{ kind: "component", type: EntityPreviewBody, selector: "mt-entity-preview-body", inputs: ["data", "attachmentShape"] }, { kind: "component", type: ComparisonValue, selector: "mt-comparison-value", inputs: ["data"] }, { kind: "component", type: ComparisonEntityList, selector: "mt-comparison-entity-list", inputs: ["data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1350
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityPreview, isStandalone: true, selector: "mt-entity-preview", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, attachmentShape: { classPropertyName: "attachmentShape", publicName: "attachmentShape", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "w-full" }, ngImport: i0, template: "@switch (comparisonKind()) {\r\n @case (\"Value\") {\r\n <mt-comparison-value [data]=\"data()\" />\r\n }\r\n @case (\"EntityList\") {\r\n <mt-comparison-entity-list [data]=\"data()\" />\r\n }\r\n @default {\r\n <mt-entity-preview-body\r\n [data]=\"data()\"\r\n [attachmentShape]=\"attachmentShape()\"\r\n />\r\n }\r\n}\r\n", dependencies: [{ kind: "component", type: EntityPreviewBody, selector: "mt-entity-preview-body", inputs: ["data", "attachmentShape"] }, { kind: "component", type: ComparisonValue, selector: "mt-comparison-value", inputs: ["data"] }, { kind: "component", type: ComparisonEntityList, selector: "mt-comparison-entity-list", inputs: ["data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1351
1351
  }
1352
1352
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityPreview, decorators: [{
1353
1353
  type: Component,
1354
1354
  args: [{ selector: 'mt-entity-preview', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [EntityPreviewBody, ComparisonValue, ComparisonEntityList], host: {
1355
1355
  class: 'w-full',
1356
- }, template: "@switch (comparisonKind()) {\n @case (\"Value\") {\n <mt-comparison-value [data]=\"data()\" />\n }\n @case (\"EntityList\") {\n <mt-comparison-entity-list [data]=\"data()\" />\n }\n @default {\n <mt-entity-preview-body\n [data]=\"data()\"\n [attachmentShape]=\"attachmentShape()\"\n />\n }\n}\n" }]
1356
+ }, template: "@switch (comparisonKind()) {\r\n @case (\"Value\") {\r\n <mt-comparison-value [data]=\"data()\" />\r\n }\r\n @case (\"EntityList\") {\r\n <mt-comparison-entity-list [data]=\"data()\" />\r\n }\r\n @default {\r\n <mt-entity-preview-body\r\n [data]=\"data()\"\r\n [attachmentShape]=\"attachmentShape()\"\r\n />\r\n }\r\n}\r\n" }]
1357
1357
  }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], attachmentShape: [{ type: i0.Input, args: [{ isSignal: true, alias: "attachmentShape", required: false }] }] } });
1358
1358
 
1359
1359
  const EMPTY_KEY_SET = new Set();