@alfresco/adf-core 9.2.0-35851981639 → 9.2.0-36023569971

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.
@@ -23526,7 +23526,7 @@ class DisplayTextWidgetComponent extends BaseDisplayTextWidgetComponent {
23526
23526
  }
23527
23527
  }
23528
23528
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DisplayTextWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
23529
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: DisplayTextWidgetComponent, isStandalone: true, selector: "display-text-widget", host: { listeners: { "click": "event($event)", "blur": "event($event)", "change": "event($event)", "focus": "event($event)", "focusin": "event($event)", "focusout": "event($event)", "input": "event($event)", "invalid": "event($event)", "select": "event($event)" } }, usesInheritance: true, ngImport: i0, template: "<div [title]=\"field.tooltip\" [class]=\"'adf-display-text-widget '+ field.className\">{{ field.value | translate }}</div>\n", styles: [".adf-display-text-widget{white-space:pre-wrap;line-height:normal;word-break:break-word;position:relative;top:3px}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
23529
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: DisplayTextWidgetComponent, isStandalone: true, selector: "display-text-widget", host: { listeners: { "click": "event($event)", "blur": "event($event)", "change": "event($event)", "focus": "event($event)", "focusin": "event($event)", "focusout": "event($event)", "input": "event($event)", "invalid": "event($event)", "select": "event($event)" } }, usesInheritance: true, ngImport: i0, template: "<div [title]=\"field.tooltip\" [class]=\"'adf-display-text-widget '+ field.className\">{{ field.value | translate }}</div>\n", styles: [".adf-display-text-widget{white-space:pre-wrap;font-size:var(--adf-readonly-text-font-size, var(--adf-form-label-font-size, var(--mat-sys-body-medium-size)));font-weight:var(--adf-readonly-text-font-weight, var(--adf-form-label-font-weight, var(--mat-sys-body-medium-weight)));color:var(--adf-readonly-text-color, var(--adf-form-label-color, var(--mat-sys-on-surface)));line-height:normal;overflow-wrap:break-word;position:relative;top:3px}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
23530
23530
  }
23531
23531
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DisplayTextWidgetComponent, decorators: [{
23532
23532
  type: Component,
@@ -23540,7 +23540,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
23540
23540
  '(input)': 'event($event)',
23541
23541
  '(invalid)': 'event($event)',
23542
23542
  '(select)': 'event($event)'
23543
- }, imports: [TranslatePipe], encapsulation: ViewEncapsulation.None, template: "<div [title]=\"field.tooltip\" [class]=\"'adf-display-text-widget '+ field.className\">{{ field.value | translate }}</div>\n", styles: [".adf-display-text-widget{white-space:pre-wrap;line-height:normal;word-break:break-word;position:relative;top:3px}\n"] }]
23543
+ }, imports: [TranslatePipe], encapsulation: ViewEncapsulation.None, template: "<div [title]=\"field.tooltip\" [class]=\"'adf-display-text-widget '+ field.className\">{{ field.value | translate }}</div>\n", styles: [".adf-display-text-widget{white-space:pre-wrap;font-size:var(--adf-readonly-text-font-size, var(--adf-form-label-font-size, var(--mat-sys-body-medium-size)));font-weight:var(--adf-readonly-text-font-weight, var(--adf-form-label-font-weight, var(--mat-sys-body-medium-weight)));color:var(--adf-readonly-text-color, var(--adf-form-label-color, var(--mat-sys-on-surface)));line-height:normal;overflow-wrap:break-word;position:relative;top:3px}\n"] }]
23544
23544
  }] });
23545
23545
 
23546
23546
  /*!
@@ -25338,11 +25338,11 @@ class HeaderWidgetComponent {
25338
25338
  }
25339
25339
  }
25340
25340
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HeaderWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25341
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HeaderWidgetComponent, isStandalone: true, selector: "adf-header-widget", inputs: { element: "element" }, ngImport: i0, template: "@if (element?.isTypeFieldGroup) {\n <div [style]=\"element | adfFieldStyle\" class=\"adf-container-widget-header\">\n @if (element?.hideHeader) {\n <div>\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n </div>\n } @else {\n <h4\n id=\"container-header\"\n class=\"adf-container-widget-header__text\"\n [class.adf-collapsible]=\"element?.isCollapsible\"\n >\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n <span\n [id]=\"'container-header-label-' + element?.id\"\n role=\"button\"\n tabindex=\"0\"\n (keyup.enter)=\"onExpanderClicked(element)\"\n (click)=\"onExpanderClicked(element)\"\n >\n {{ element.name | translate }}\n </span>\n </h4>\n }\n\n <ng-template #expandButton let-element>\n @if (element?.isCollapsible) {\n <button\n mat-icon-button\n class=\"mdl-button--icon\"\n (click)=\"onExpanderClicked(element)\"\n >\n <mat-icon [adf-icon]=\"element?.isExpanded ? 'expand_more' : 'expand_less'\" />\n </button>\n }\n </ng-template>\n </div>\n}\n", styles: [".adf-container-widget-header__text{border-bottom:1px solid var(--mat-sys-outline-variant);padding-bottom:10px;cursor:default;-webkit-user-select:none;user-select:none;font-size:var(--mat-sys-title-small-size);line-height:normal}.adf-container-widget-header__text.adf-collapsible{cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: IconModule }, { kind: "component", type: i1$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[adf-icon]", inputs: ["adf-icon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: FieldStylePipe, name: "adfFieldStyle" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
25341
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HeaderWidgetComponent, isStandalone: true, selector: "adf-header-widget", inputs: { element: "element" }, ngImport: i0, template: "@if (element?.isTypeFieldGroup) {\n <div [style]=\"element | adfFieldStyle\" class=\"adf-container-widget-header\">\n @if (element?.hideHeader) {\n <div>\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n </div>\n } @else {\n <h4\n id=\"container-header\"\n class=\"adf-container-widget-header__text\"\n [class.adf-collapsible]=\"element?.isCollapsible\"\n >\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n <span\n [id]=\"'container-header-label-' + element?.id\"\n role=\"button\"\n tabindex=\"0\"\n (keyup.enter)=\"onExpanderClicked(element)\"\n (click)=\"onExpanderClicked(element)\"\n >\n {{ element.name | translate }}\n </span>\n </h4>\n }\n\n <ng-template #expandButton let-element>\n @if (element?.isCollapsible) {\n <button\n mat-icon-button\n class=\"mdl-button--icon\"\n (click)=\"onExpanderClicked(element)\"\n >\n <mat-icon [adf-icon]=\"element?.isExpanded ? 'expand_more' : 'expand_less'\" />\n </button>\n }\n </ng-template>\n </div>\n}\n", styles: [".adf-container-widget-header .adf-container-widget-header__text{border-bottom:1px solid var(--mat-sys-outline-variant);padding-bottom:10px;cursor:default;-webkit-user-select:none;user-select:none;font-size:var(--adf-header-font-size, var(--mat-sys-headline-small-size));font-weight:var(--adf-header-font-weight, var(--mat-sys-headline-large-weight));color:var(--adf-header-color, var(--mat-sys-on-surface));line-height:normal}.adf-container-widget-header .adf-container-widget-header__text.adf-collapsible{cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: IconModule }, { kind: "component", type: i1$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[adf-icon]", inputs: ["adf-icon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: FieldStylePipe, name: "adfFieldStyle" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
25342
25342
  }
25343
25343
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HeaderWidgetComponent, decorators: [{
25344
25344
  type: Component,
25345
- args: [{ selector: 'adf-header-widget', encapsulation: ViewEncapsulation.None, imports: [FieldStylePipe, IconModule, MatButtonModule, TranslatePipe, NgTemplateOutlet], template: "@if (element?.isTypeFieldGroup) {\n <div [style]=\"element | adfFieldStyle\" class=\"adf-container-widget-header\">\n @if (element?.hideHeader) {\n <div>\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n </div>\n } @else {\n <h4\n id=\"container-header\"\n class=\"adf-container-widget-header__text\"\n [class.adf-collapsible]=\"element?.isCollapsible\"\n >\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n <span\n [id]=\"'container-header-label-' + element?.id\"\n role=\"button\"\n tabindex=\"0\"\n (keyup.enter)=\"onExpanderClicked(element)\"\n (click)=\"onExpanderClicked(element)\"\n >\n {{ element.name | translate }}\n </span>\n </h4>\n }\n\n <ng-template #expandButton let-element>\n @if (element?.isCollapsible) {\n <button\n mat-icon-button\n class=\"mdl-button--icon\"\n (click)=\"onExpanderClicked(element)\"\n >\n <mat-icon [adf-icon]=\"element?.isExpanded ? 'expand_more' : 'expand_less'\" />\n </button>\n }\n </ng-template>\n </div>\n}\n", styles: [".adf-container-widget-header__text{border-bottom:1px solid var(--mat-sys-outline-variant);padding-bottom:10px;cursor:default;-webkit-user-select:none;user-select:none;font-size:var(--mat-sys-title-small-size);line-height:normal}.adf-container-widget-header__text.adf-collapsible{cursor:pointer}\n"] }]
25345
+ args: [{ selector: 'adf-header-widget', encapsulation: ViewEncapsulation.None, imports: [FieldStylePipe, IconModule, MatButtonModule, TranslatePipe, NgTemplateOutlet], template: "@if (element?.isTypeFieldGroup) {\n <div [style]=\"element | adfFieldStyle\" class=\"adf-container-widget-header\">\n @if (element?.hideHeader) {\n <div>\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n </div>\n } @else {\n <h4\n id=\"container-header\"\n class=\"adf-container-widget-header__text\"\n [class.adf-collapsible]=\"element?.isCollapsible\"\n >\n <ng-container *ngTemplateOutlet=\"expandButton; context: { $implicit: element }\" />\n <span\n [id]=\"'container-header-label-' + element?.id\"\n role=\"button\"\n tabindex=\"0\"\n (keyup.enter)=\"onExpanderClicked(element)\"\n (click)=\"onExpanderClicked(element)\"\n >\n {{ element.name | translate }}\n </span>\n </h4>\n }\n\n <ng-template #expandButton let-element>\n @if (element?.isCollapsible) {\n <button\n mat-icon-button\n class=\"mdl-button--icon\"\n (click)=\"onExpanderClicked(element)\"\n >\n <mat-icon [adf-icon]=\"element?.isExpanded ? 'expand_more' : 'expand_less'\" />\n </button>\n }\n </ng-template>\n </div>\n}\n", styles: [".adf-container-widget-header .adf-container-widget-header__text{border-bottom:1px solid var(--mat-sys-outline-variant);padding-bottom:10px;cursor:default;-webkit-user-select:none;user-select:none;font-size:var(--adf-header-font-size, var(--mat-sys-headline-small-size));font-weight:var(--adf-header-font-weight, var(--mat-sys-headline-large-weight));color:var(--adf-header-color, var(--mat-sys-on-surface));line-height:normal}.adf-container-widget-header .adf-container-widget-header__text.adf-collapsible{cursor:pointer}\n"] }]
25346
25346
  }], propDecorators: { element: [{
25347
25347
  type: Input
25348
25348
  }] } });