@alfresco/adf-core 9.2.0-40665558669 → 9.2.0-40673265709
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/fesm2022/adf-core.mjs
CHANGED
|
@@ -15866,9 +15866,8 @@ class DateCellComponent extends DataTableCellComponent {
|
|
|
15866
15866
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DateCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15867
15867
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: DateCellComponent, isStandalone: true, selector: "adf-date-cell", inputs: { dateConfig: "dateConfig" }, host: { classAttribute: "adf-datatable-content-cell" }, providers: [LocalizedDatePipe, TimeAgoPipe], usesInheritance: true, ngImport: i0, template: `
|
|
15868
15868
|
@if (formattedDate()) {
|
|
15869
|
-
<time [attr.datetime]="isoDate()" [title]="title()" class="adf-datatable-cell-value"
|
|
15870
|
-
|
|
15871
|
-
<span aria-hidden="true" data-automation-id="formatted-date-label">{{ formattedDate() }}</span>
|
|
15869
|
+
<time [attr.datetime]="isoDate()" [attr.aria-label]="title() || null" [title]="title()" class="adf-datatable-cell-value"
|
|
15870
|
+
>{{ formattedDate() }}
|
|
15872
15871
|
</time>
|
|
15873
15872
|
}
|
|
15874
15873
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
@@ -15879,9 +15878,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
15879
15878
|
selector: 'adf-date-cell',
|
|
15880
15879
|
template: `
|
|
15881
15880
|
@if (formattedDate()) {
|
|
15882
|
-
<time [attr.datetime]="isoDate()" [title]="title()" class="adf-datatable-cell-value"
|
|
15883
|
-
|
|
15884
|
-
<span aria-hidden="true" data-automation-id="formatted-date-label">{{ formattedDate() }}</span>
|
|
15881
|
+
<time [attr.datetime]="isoDate()" [attr.aria-label]="title() || null" [title]="title()" class="adf-datatable-cell-value"
|
|
15882
|
+
>{{ formattedDate() }}
|
|
15885
15883
|
</time>
|
|
15886
15884
|
}
|
|
15887
15885
|
`,
|