mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-6849][ACA] Upgrade to Angular 17 (#4275)
This commit is contained in:
committed by
GitHub
parent
b013818649
commit
a70378bffc
@@ -22,13 +22,13 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';
|
||||
|
||||
// @deprecated Use `.aca-page-layout-content` CSS selector instead
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'aca-page-layout-content',
|
||||
template: `<ng-content></ng-content>`,
|
||||
template: `<ng-content />`,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
host: { class: 'aca-page-layout-content' }
|
||||
|
@@ -22,13 +22,13 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
||||
|
||||
// @deprecated Use `.aca-page-layout-error` selectors instead
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'aca-page-layout-error',
|
||||
template: `<ng-content></ng-content>`,
|
||||
template: `<ng-content />`,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
host: { class: 'aca-page-layout-error' }
|
||||
|
@@ -22,13 +22,13 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
||||
|
||||
// @deprecated Use `.aca-page-layout-header` CSS selector instead
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'aca-page-layout-header',
|
||||
template: '<ng-content></ng-content>',
|
||||
template: '<ng-content />',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
host: { class: 'aca-page-layout-header' }
|
||||
|
@@ -6,13 +6,13 @@
|
||||
title="{{'APP.TOOLTIPS.EXPAND_NAVIGATION' | translate}}">
|
||||
<mat-icon>keyboard_double_arrow_right</mat-icon>
|
||||
</button>
|
||||
<ng-content select=".aca-page-layout-header, aca-page-layout-header"></ng-content>
|
||||
<ng-content select=".aca-page-layout-header, aca-page-layout-header" />
|
||||
</div>
|
||||
|
||||
<ng-container *ngIf="hasError">
|
||||
<ng-content select=".aca-page-layout-error, aca-page-layout-error"></ng-content>
|
||||
<ng-content select=".aca-page-layout-error, aca-page-layout-error" />
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="!hasError">
|
||||
<ng-content select=".aca-page-layout-content, aca-page-layout-content"></ng-content>
|
||||
<ng-content select=".aca-page-layout-content, aca-page-layout-content" />
|
||||
</ng-container>
|
||||
|
@@ -0,0 +1,7 @@
|
||||
@import '@alfresco/adf-core/lib/styles/mat-selectors';
|
||||
|
||||
aca-toolbar-action {
|
||||
#{$mat-mdc-button}#{$mat-button-base}#{$mat-outlined-button}#{$mat-unthemed} {
|
||||
--mdc-outlined-button-label-text-color: var(--theme-secondary-text);
|
||||
}
|
||||
}
|
@@ -34,6 +34,7 @@ import { ToolbarMenuComponent } from '../toolbar-menu/toolbar-menu.component';
|
||||
imports: [CommonModule, ToolbarButtonComponent, ToolbarMenuComponent, DynamicExtensionComponent],
|
||||
selector: 'aca-toolbar-action',
|
||||
templateUrl: './toolbar-action.component.html',
|
||||
styleUrl: './toolbar-action.component.scss',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
host: { class: 'aca-toolbar-action' }
|
||||
|
Reference in New Issue
Block a user