@alfresco/aca-shared 7.0.0-16218766869 → 7.0.0-16261473791
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.
|
@@ -37,6 +37,7 @@ import * as i2$1 from '@angular/material/toolbar';
|
|
|
37
37
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
38
38
|
import * as i6$1 from '@angular/material/progress-bar';
|
|
39
39
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
40
|
+
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
40
41
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
41
42
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
42
43
|
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
@@ -2555,7 +2556,12 @@ class InfoDrawerComponent {
|
|
|
2555
2556
|
this.icon = this.contentService.getNodeIcon(node);
|
|
2556
2557
|
}
|
|
2557
2558
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i1$2.Store }, { token: ContentApiService }, { token: AppExtensionService }, { token: i4.NodesApiService }, { token: i4.ContentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2558
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } },
|
|
2559
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, providers: [
|
|
2560
|
+
{
|
|
2561
|
+
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
2562
|
+
useValue: { appearance: 'fill', floatLabel: 'always' }
|
|
2563
|
+
}
|
|
2564
|
+
], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\" />\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer class=\"aca-info-drawer\" [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons />\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\" />\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", styles: ["aca-info-drawer .aca-info-drawer .adf-card-view-textitem .adf-property-value-not-editable{color:var(--adf-metadata-property-panel-title-color)}aca-info-drawer .aca-info-drawer .adf-card-view-selectitem .mat-mdc-form-field-infix{padding-left:0;padding-right:0}aca-info-drawer .aca-info-drawer .adf-property-list .adf-property-value .mat-mdc-select-trigger{background-color:var(--adf-metadata-buttons-background-color);border-radius:3px;padding:2%}aca-info-drawer .aca-info-drawer .adf-property-list .adf-property-value .mat-mdc-select-trigger .mat-mdc-select-arrow-wrapper{margin-top:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: InfoDrawerComponent$1, selector: "adf-info-drawer", inputs: ["title", "icon", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "ngmodule", type: A11yModule }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }, { kind: "component", type: InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
2559
2565
|
}
|
|
2560
2566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: InfoDrawerComponent, decorators: [{
|
|
2561
2567
|
type: Component,
|
|
@@ -2568,7 +2574,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
2568
2574
|
ToolbarComponent,
|
|
2569
2575
|
DynamicTabComponent,
|
|
2570
2576
|
InfoDrawerTabComponent
|
|
2571
|
-
], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None,
|
|
2577
|
+
], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, providers: [
|
|
2578
|
+
{
|
|
2579
|
+
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
2580
|
+
useValue: { appearance: 'fill', floatLabel: 'always' }
|
|
2581
|
+
}
|
|
2582
|
+
], template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\" />\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer class=\"aca-info-drawer\" [icon]=\"icon\" [title]=\"node?.entry?.name || 'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons />\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\" />\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", styles: ["aca-info-drawer .aca-info-drawer .adf-card-view-textitem .adf-property-value-not-editable{color:var(--adf-metadata-property-panel-title-color)}aca-info-drawer .aca-info-drawer .adf-card-view-selectitem .mat-mdc-form-field-infix{padding-left:0;padding-right:0}aca-info-drawer .aca-info-drawer .adf-property-list .adf-property-value .mat-mdc-select-trigger{background-color:var(--adf-metadata-buttons-background-color);border-radius:3px;padding:2%}aca-info-drawer .aca-info-drawer .adf-property-list .adf-property-value .mat-mdc-select-trigger .mat-mdc-select-arrow-wrapper{margin-top:16px}\n"] }]
|
|
2572
2583
|
}], ctorParameters: () => [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }, { type: i4.NodesApiService }, { type: i4.ContentService }], propDecorators: { nodeId: [{
|
|
2573
2584
|
type: Input
|
|
2574
2585
|
}], node: [{
|