desy-angular 12.1.0 → 13.0.0
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/esm2022/lib/desy-angular.module.mjs +10 -9
- package/esm2022/lib/desy-buttons/components/button-loader/button-loader.component.mjs +1 -1
- package/esm2022/lib/desy-buttons/desy-buttons.module.mjs +15 -15
- package/esm2022/lib/desy-forms/components/date-input/date-input.component.mjs +3 -3
- package/esm2022/lib/desy-forms/components/datepicker/datepicker.component.mjs +190 -0
- package/esm2022/lib/desy-forms/components/datepicker/datepicker.pipe.mjs +34 -0
- package/esm2022/lib/desy-forms/components/tree/tree.component.mjs +10 -8
- package/esm2022/lib/desy-forms/desy-forms.module.mjs +40 -24
- package/esm2022/lib/desy-nav/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/footer/footer-navigation/footer-navigation.component.mjs +4 -2
- package/esm2022/lib/desy-nav/components/footer/footer.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/header/header.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/header-advanced/header-advanced-sub/header-advanced-sub.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/header-advanced/header-advanced-super/header-advanced-super.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/header-mini/header-mini.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/links-list/links-list-icon-right/links-list-icon-right.component.mjs +16 -0
- package/esm2022/lib/desy-nav/components/links-list/links-list-item/links-list-item.component.mjs +6 -2
- package/esm2022/lib/desy-nav/components/links-list/links-list.component.mjs +5 -3
- package/esm2022/lib/desy-nav/components/menu-horizontal/menu-horizontal.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/menu-navigation/menu-navigation.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/menu-vertical/menu-vertical.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/nav/nav.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/desy-nav/components/skip-link/skip-link.component.mjs +5 -1
- package/esm2022/lib/desy-nav/desy-nav.module.mjs +6 -5
- package/esm2022/lib/desy-nav/interfaces/footer-logo.mjs +2 -1
- package/esm2022/lib/desy-pagination/components/pagination/pagination.component.mjs +18 -19
- package/esm2022/lib/desy-pagination/components/pagination-item-perpage/pagination-item-perpage.component.mjs +2 -2
- package/esm2022/lib/desy-pagination/desy-pagination.module.mjs +16 -8
- package/esm2022/lib/desy-tables/components/table/table.component.mjs +24 -4
- package/esm2022/lib/desy-tables/components/table-advanced/table-advanced.component.mjs +9 -10
- package/esm2022/lib/desy-tables/directives/focus-clicked-cell.directive.mjs +1 -5
- package/esm2022/lib/desy-views/components/collapsible/collapsible.component.mjs +11 -3
- package/esm2022/lib/desy-views/desy-views.module.mjs +27 -32
- package/esm2022/lib/shared/components/index.mjs +4 -3
- package/esm2022/lib/{desy-views → shared}/components/spinner/spinner.component.mjs +2 -2
- package/esm2022/lib/shared/directives/custom-inner-content.directive.mjs +21 -4
- package/esm2022/lib/shared/sharedExternal.module.mjs +24 -0
- package/esm2022/public-api.mjs +5 -2
- package/fesm2022/desy-angular.mjs +1128 -819
- package/fesm2022/desy-angular.mjs.map +1 -1
- package/lib/desy-angular.module.d.ts +2 -1
- package/lib/desy-buttons/desy-buttons.module.d.ts +3 -3
- package/lib/desy-forms/components/datepicker/datepicker.component.d.ts +31 -0
- package/lib/desy-forms/components/datepicker/datepicker.pipe.d.ts +7 -0
- package/lib/desy-forms/components/tree/tree.component.d.ts +5 -4
- package/lib/desy-forms/desy-forms.module.d.ts +10 -6
- package/lib/desy-nav/components/footer/footer-navigation/footer-navigation.component.d.ts +2 -1
- package/lib/desy-nav/components/header-advanced/header-advanced-sub/header-advanced-sub.component.d.ts +1 -1
- package/lib/desy-nav/components/header-advanced/header-advanced-super/header-advanced-super.component.d.ts +1 -1
- package/lib/desy-nav/components/header-mini/header-mini.component.d.ts +1 -1
- package/lib/desy-nav/components/links-list/links-list-icon-right/links-list-icon-right.component.d.ts +8 -0
- package/lib/desy-nav/components/links-list/links-list-item/links-list-item.component.d.ts +3 -1
- package/lib/desy-nav/components/links-list/links-list.component.d.ts +2 -1
- package/lib/desy-nav/desy-nav.module.d.ts +29 -28
- package/lib/desy-nav/interfaces/footer-logo.d.ts +1 -0
- package/lib/desy-pagination/components/pagination/pagination.component.d.ts +3 -3
- package/lib/desy-pagination/components/pagination-item-perpage/pagination-item-perpage.component.d.ts +3 -3
- package/lib/desy-pagination/desy-pagination.module.d.ts +3 -1
- package/lib/desy-tables/components/table/table.component.d.ts +3 -0
- package/lib/desy-tables/components/table-advanced/table-advanced.component.d.ts +1 -1
- package/lib/desy-views/components/collapsible/collapsible.component.d.ts +5 -1
- package/lib/desy-views/desy-views.module.d.ts +30 -31
- package/lib/shared/components/index.d.ts +3 -2
- package/lib/{desy-views → shared}/components/spinner/spinner.component.d.ts +1 -1
- package/lib/shared/directives/custom-inner-content.directive.d.ts +3 -2
- package/lib/shared/sharedExternal.module.d.ts +8 -0
- package/package.json +2 -2
- package/public-api.d.ts +4 -1
- package/esm2022/lib/desy-pagination/interfaces/index.mjs +0 -2
- package/lib/desy-pagination/interfaces/index.d.ts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, ViewChild, Directive, Pipe, EventEmitter,
|
|
2
|
+
import { Component, Input, ViewChild, HostBinding, Directive, Pipe, EventEmitter, Output, QueryList, ElementRef, ContentChildren, HostListener, ViewChildren, forwardRef, Optional, ChangeDetectionStrategy, ViewContainerRef, Type as Type$2, TemplateRef, ComponentRef, Injectable, ContentChild, SecurityContext, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2 from '@angular/router';
|
|
@@ -15,17 +15,21 @@ import { A11yModule } from '@angular/cdk/a11y';
|
|
|
15
15
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
16
16
|
import * as i1$3 from '@angular/platform-browser';
|
|
17
17
|
|
|
18
|
-
class
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
18
|
+
class AccessibilityAndContentRequiredComponent {
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccessibilityAndContentRequiredComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AccessibilityAndContentRequiredComponent, selector: "desy-accessibility-and-content-required", inputs: { html: "html", text: "text", role: "role", ariaLabel: "ariaLabel", ariaDescribedBy: "ariaDescribedBy", ariaLabelledBy: "ariaLabelledBy", ariaHidden: "ariaHidden", ariaDisabled: "ariaDisabled", ariaControls: "ariaControls", ariaCurrent: "ariaCurrent", ariaLive: "ariaLive", ariaExpanded: "ariaExpanded", ariaErrorMessage: "ariaErrorMessage", ariaHasPopup: "ariaHasPopup", ariaModal: "ariaModal", ariaChecked: "ariaChecked", ariaPressed: "ariaPressed", ariaReadonly: "ariaReadonly", ariaRequired: "ariaRequired", ariaSelected: "ariaSelected", ariaValuemin: "ariaValuemin", ariaValuemax: "ariaValuemax", ariaValuenow: "ariaValuenow", ariaValuetext: "ariaValuetext", ariaOrientation: "ariaOrientation", ariaLevel: "ariaLevel", ariaMultiselectable: "ariaMultiselectable", ariaPlaceholder: "ariaPlaceholder", ariaPosinset: "ariaPosinset", ariaSetsize: "ariaSetsize", ariaSort: "ariaSort", ariaBus: "ariaBus", required: "required", ariaDropeffect: "ariaDropeffect", ariaGrabbed: "ariaGrabbed", ariaActivedescendant: "ariaActivedescendant", ariaAtomic: "ariaAtomic", ariaAutocomplete: "ariaAutocomplete", ariaBraillelabel: "ariaBraillelabel", ariaBrailleroledescription: "ariaBrailleroledescription", ariaColcount: "ariaColcount", ariaColindex: "ariaColindex", ariaColindextext: "ariaColindextext", ariaColspan: "ariaColspan", ariaDescription: "ariaDescription", ariaDetails: "ariaDetails", ariaFlowto: "ariaFlowto", ariaInvalid: "ariaInvalid", ariaKeyshortcuts: "ariaKeyshortcuts", ariaOwns: "ariaOwns", ariaRelevant: "ariaRelevant", ariaRoledescription: "ariaRoledescription", ariaRowcount: "ariaRowcount", ariaRowindex: "ariaRowindex", ariaRowindextext: "ariaRowindextext", ariaRowspan: "ariaRowspan", tabindex: "tabindex", title: "title", alt: "alt", lang: "lang", accesskey: "accesskey", autocomplete: "autocomplete", autofocus: "autofocus", contenteditable: "contenteditable", dir: "dir", draggable: "draggable", enterkeyhint: "enterkeyhint", hidden: "hidden", inputmode: "inputmode", spellcheck: "spellcheck", translate: "translate", ariaMultiline: "ariaMultiline", for: "for", form: "form", headers: "headers", placeholder: "placeholder", readonly: "readonly" }, ngImport: i0, template: '<div></div>', isInline: true }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccessibilityAndContentRequiredComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
|
-
selector: 'desy-accessibility',
|
|
25
|
+
selector: 'desy-accessibility-and-content-required',
|
|
26
26
|
template: '<div></div>'
|
|
27
27
|
}]
|
|
28
|
-
}], propDecorators: {
|
|
28
|
+
}], propDecorators: { html: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], text: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], role: [{
|
|
29
33
|
type: Input
|
|
30
34
|
}], ariaLabel: [{
|
|
31
35
|
type: Input
|
|
@@ -83,7 +87,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
83
87
|
type: Input
|
|
84
88
|
}], ariaSort: [{
|
|
85
89
|
type: Input
|
|
86
|
-
}],
|
|
90
|
+
}], ariaBus: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], required: [{
|
|
87
93
|
type: Input
|
|
88
94
|
}], ariaDropeffect: [{
|
|
89
95
|
type: Input
|
|
@@ -173,26 +179,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
173
179
|
type: Input
|
|
174
180
|
}], readonly: [{
|
|
175
181
|
type: Input
|
|
176
|
-
}], required: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}] } });
|
|
179
|
-
|
|
180
|
-
class ContentBaseComponent extends AccessibilityComponent {
|
|
181
|
-
getContent() {
|
|
182
|
-
return this.content;
|
|
183
|
-
}
|
|
184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
185
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContentBaseComponent, selector: "desy-content-base", viewQueries: [{ propertyName: "content", first: true, predicate: ["contentTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>', isInline: true }); }
|
|
186
|
-
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentBaseComponent, decorators: [{
|
|
188
|
-
type: Component,
|
|
189
|
-
args: [{
|
|
190
|
-
selector: 'desy-content-base',
|
|
191
|
-
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
192
|
-
}]
|
|
193
|
-
}], propDecorators: { content: [{
|
|
194
|
-
type: ViewChild,
|
|
195
|
-
args: ['contentTemplate', { static: true }]
|
|
196
182
|
}] } });
|
|
197
183
|
|
|
198
184
|
class TextOrHtmlRequiredComponent {
|
|
@@ -373,21 +359,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
373
359
|
type: Input
|
|
374
360
|
}] } });
|
|
375
361
|
|
|
376
|
-
class
|
|
377
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
378
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
362
|
+
class AccessibilityComponent {
|
|
363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccessibilityComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
364
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AccessibilityComponent, selector: "desy-accessibility", inputs: { role: "role", ariaLabel: "ariaLabel", ariaDescribedBy: "ariaDescribedBy", ariaLabelledBy: "ariaLabelledBy", ariaHidden: "ariaHidden", ariaDisabled: "ariaDisabled", ariaControls: "ariaControls", ariaCurrent: "ariaCurrent", ariaLive: "ariaLive", ariaExpanded: "ariaExpanded", ariaErrorMessage: "ariaErrorMessage", ariaHasPopup: "ariaHasPopup", ariaModal: "ariaModal", ariaChecked: "ariaChecked", ariaPressed: "ariaPressed", ariaReadonly: "ariaReadonly", ariaRequired: "ariaRequired", ariaSelected: "ariaSelected", ariaValuemin: "ariaValuemin", ariaValuemax: "ariaValuemax", ariaValuenow: "ariaValuenow", ariaValuetext: "ariaValuetext", ariaOrientation: "ariaOrientation", ariaLevel: "ariaLevel", ariaMultiselectable: "ariaMultiselectable", ariaPlaceholder: "ariaPlaceholder", ariaPosinset: "ariaPosinset", ariaSetsize: "ariaSetsize", ariaSort: "ariaSort", ariaBusy: "ariaBusy", ariaDropeffect: "ariaDropeffect", ariaGrabbed: "ariaGrabbed", ariaActivedescendant: "ariaActivedescendant", ariaAtomic: "ariaAtomic", ariaAutocomplete: "ariaAutocomplete", ariaBraillelabel: "ariaBraillelabel", ariaBrailleroledescription: "ariaBrailleroledescription", ariaColcount: "ariaColcount", ariaColindex: "ariaColindex", ariaColindextext: "ariaColindextext", ariaColspan: "ariaColspan", ariaDescription: "ariaDescription", ariaDetails: "ariaDetails", ariaFlowto: "ariaFlowto", ariaInvalid: "ariaInvalid", ariaKeyshortcuts: "ariaKeyshortcuts", ariaOwns: "ariaOwns", ariaRelevant: "ariaRelevant", ariaRoledescription: "ariaRoledescription", ariaRowcount: "ariaRowcount", ariaRowindex: "ariaRowindex", ariaRowindextext: "ariaRowindextext", ariaRowspan: "ariaRowspan", tabindex: "tabindex", title: "title", alt: "alt", lang: "lang", accesskey: "accesskey", autocomplete: "autocomplete", autofocus: "autofocus", contenteditable: "contenteditable", dir: "dir", draggable: "draggable", enterkeyhint: "enterkeyhint", hidden: "hidden", inputmode: "inputmode", spellcheck: "spellcheck", translate: "translate", ariaMultiline: "ariaMultiline", for: "for", form: "form", headers: "headers", placeholder: "placeholder", readonly: "readonly", required: "required" }, ngImport: i0, template: '<div></div>', isInline: true }); }
|
|
379
365
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccessibilityComponent, decorators: [{
|
|
381
367
|
type: Component,
|
|
382
368
|
args: [{
|
|
383
|
-
selector: 'desy-accessibility
|
|
369
|
+
selector: 'desy-accessibility',
|
|
384
370
|
template: '<div></div>'
|
|
385
371
|
}]
|
|
386
|
-
}], propDecorators: {
|
|
387
|
-
type: Input
|
|
388
|
-
}], text: [{
|
|
389
|
-
type: Input
|
|
390
|
-
}], role: [{
|
|
372
|
+
}], propDecorators: { role: [{
|
|
391
373
|
type: Input
|
|
392
374
|
}], ariaLabel: [{
|
|
393
375
|
type: Input
|
|
@@ -445,9 +427,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
445
427
|
type: Input
|
|
446
428
|
}], ariaSort: [{
|
|
447
429
|
type: Input
|
|
448
|
-
}],
|
|
449
|
-
type: Input
|
|
450
|
-
}], required: [{
|
|
430
|
+
}], ariaBusy: [{
|
|
451
431
|
type: Input
|
|
452
432
|
}], ariaDropeffect: [{
|
|
453
433
|
type: Input
|
|
@@ -537,307 +517,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
537
517
|
type: Input
|
|
538
518
|
}], readonly: [{
|
|
539
519
|
type: Input
|
|
540
|
-
}]
|
|
541
|
-
|
|
542
|
-
class InnerContentDirective {
|
|
543
|
-
constructor(el) {
|
|
544
|
-
this.el = el;
|
|
545
|
-
this.deleteContentIfEmpty = true;
|
|
546
|
-
}
|
|
547
|
-
ngOnChanges(changes) {
|
|
548
|
-
if (this.content) {
|
|
549
|
-
if (this.isHtml) {
|
|
550
|
-
this.el.nativeElement.innerHTML = this.content;
|
|
551
|
-
}
|
|
552
|
-
else {
|
|
553
|
-
this.el.nativeElement.innerText = this.content;
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
else if (this.deleteContentIfEmpty) {
|
|
557
|
-
this.el.nativeElement.innerText = null;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InnerContentDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
561
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: InnerContentDirective, selector: "[desyInnerContent]", inputs: { content: ["desyInnerContent", "content"], isHtml: "isHtml", deleteContentIfEmpty: "deleteContentIfEmpty" }, usesOnChanges: true, ngImport: i0 }); }
|
|
562
|
-
}
|
|
563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InnerContentDirective, decorators: [{
|
|
564
|
-
type: Directive,
|
|
565
|
-
args: [{
|
|
566
|
-
selector: '[desyInnerContent]'
|
|
567
|
-
}]
|
|
568
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { content: [{
|
|
569
|
-
type: Input,
|
|
570
|
-
args: ['desyInnerContent']
|
|
571
|
-
}], isHtml: [{
|
|
572
|
-
type: Input
|
|
573
|
-
}], deleteContentIfEmpty: [{
|
|
520
|
+
}], required: [{
|
|
574
521
|
type: Input
|
|
575
522
|
}] } });
|
|
576
523
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
'ariaLabelledBy',
|
|
581
|
-
'ariaDescribedBy',
|
|
582
|
-
'ariaHidden',
|
|
583
|
-
'ariaDisabled',
|
|
584
|
-
'ariaControls',
|
|
585
|
-
'ariaCurrent',
|
|
586
|
-
'ariaLive',
|
|
587
|
-
'ariaExpanded',
|
|
588
|
-
'ariaErrorMessage',
|
|
589
|
-
'ariaHasPopup',
|
|
590
|
-
'ariaModal',
|
|
591
|
-
'ariaChecked',
|
|
592
|
-
'ariaPressed',
|
|
593
|
-
'ariaReadonly',
|
|
594
|
-
'ariaRequired',
|
|
595
|
-
'ariaSelected',
|
|
596
|
-
'ariaValuemin',
|
|
597
|
-
'ariaValuemax',
|
|
598
|
-
'ariaValuenow',
|
|
599
|
-
'ariaValuetext',
|
|
600
|
-
'ariaOrientation',
|
|
601
|
-
'ariaLevel',
|
|
602
|
-
'ariaMultiselectable',
|
|
603
|
-
'ariaPlaceholder',
|
|
604
|
-
'ariaPosinset',
|
|
605
|
-
'ariaSetsize',
|
|
606
|
-
'ariaSort',
|
|
607
|
-
'ariaBusy',
|
|
608
|
-
'ariaDropeffect',
|
|
609
|
-
'ariaGrabbed',
|
|
610
|
-
'ariaActivedescendant',
|
|
611
|
-
'ariaAtomic',
|
|
612
|
-
'ariaAutocomplete',
|
|
613
|
-
'ariaBraillelabel',
|
|
614
|
-
'ariaBrailleroledescription',
|
|
615
|
-
'ariaColcount',
|
|
616
|
-
'ariaColindex',
|
|
617
|
-
'ariaColindextext',
|
|
618
|
-
'ariaColspan',
|
|
619
|
-
'ariaDescription',
|
|
620
|
-
'ariaDetails',
|
|
621
|
-
'ariaFlowto',
|
|
622
|
-
'ariaInvalid',
|
|
623
|
-
'ariaKeyshortcuts',
|
|
624
|
-
'ariaOwns',
|
|
625
|
-
'ariaRelevant',
|
|
626
|
-
'ariaRoledescription',
|
|
627
|
-
'ariaRowcount',
|
|
628
|
-
'ariaRowindex',
|
|
629
|
-
'ariaRowindextext',
|
|
630
|
-
'ariaRowspan',
|
|
631
|
-
'tabindex',
|
|
632
|
-
'title',
|
|
633
|
-
'alt',
|
|
634
|
-
'lang',
|
|
635
|
-
'accesskey',
|
|
636
|
-
'autocomplete',
|
|
637
|
-
'autofocus',
|
|
638
|
-
'contenteditable',
|
|
639
|
-
'dir',
|
|
640
|
-
'draggable',
|
|
641
|
-
'enterkeyhint',
|
|
642
|
-
'hidden',
|
|
643
|
-
'inputmode',
|
|
644
|
-
'spellcheck',
|
|
645
|
-
'translate',
|
|
646
|
-
'ariaMultiline',
|
|
647
|
-
'for',
|
|
648
|
-
'form',
|
|
649
|
-
'headers',
|
|
650
|
-
'placeholder',
|
|
651
|
-
'readonly',
|
|
652
|
-
'required'
|
|
653
|
-
];
|
|
654
|
-
|
|
655
|
-
class AccessibilityDirective {
|
|
656
|
-
constructor(el, renderer, differs) {
|
|
657
|
-
this.el = el;
|
|
658
|
-
this.renderer = renderer;
|
|
659
|
-
this.differs = differs;
|
|
660
|
-
this.differ = this.differs.find({}).create();
|
|
661
|
-
}
|
|
662
|
-
ngOnChanges(changes) {
|
|
663
|
-
if (changes['accessibility']) {
|
|
664
|
-
this.applyAccessibilityAttributes();
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
ngDoCheck() {
|
|
668
|
-
if (this.accessibility) {
|
|
669
|
-
const changes = this.differ.diff(this.accessibility);
|
|
670
|
-
if (changes) {
|
|
671
|
-
this.applyAccessibilityAttributes();
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
applyAccessibilityAttributes() {
|
|
676
|
-
if (this.accessibility) {
|
|
677
|
-
Object.keys(this.accessibility).forEach(attr => {
|
|
678
|
-
if (ACCESSIBILITY_ATTRIBUTES.includes(attr) && this.accessibility[attr] !== null && this.accessibility[attr] !== undefined) {
|
|
679
|
-
const htmlAttr = this.camelToKebabCase(attr);
|
|
680
|
-
this.renderer.setAttribute(this.el.nativeElement, htmlAttr, this.accessibility[attr]);
|
|
681
|
-
}
|
|
682
|
-
});
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
camelToKebabCase(str) {
|
|
686
|
-
if (str === str.toLowerCase()) {
|
|
687
|
-
return str;
|
|
688
|
-
}
|
|
689
|
-
return str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();
|
|
524
|
+
class ContentBaseComponent extends AccessibilityComponent {
|
|
525
|
+
getContent() {
|
|
526
|
+
return this.content;
|
|
690
527
|
}
|
|
691
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
692
|
-
static { this.ɵ
|
|
528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContentBaseComponent, selector: "desy-content-base", viewQueries: [{ propertyName: "content", first: true, predicate: ["contentTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>', isInline: true }); }
|
|
693
530
|
}
|
|
694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
695
|
-
type:
|
|
531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentBaseComponent, decorators: [{
|
|
532
|
+
type: Component,
|
|
696
533
|
args: [{
|
|
697
|
-
selector: '
|
|
534
|
+
selector: 'desy-content-base',
|
|
535
|
+
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
698
536
|
}]
|
|
699
|
-
}],
|
|
700
|
-
type:
|
|
701
|
-
args: ['
|
|
537
|
+
}], propDecorators: { content: [{
|
|
538
|
+
type: ViewChild,
|
|
539
|
+
args: ['contentTemplate', { static: true }]
|
|
702
540
|
}] } });
|
|
703
541
|
|
|
704
|
-
class
|
|
705
|
-
transform(href) {
|
|
706
|
-
let externalHref;
|
|
707
|
-
if (href) {
|
|
708
|
-
if (href.match('http(s)?://') || href.match('mailto?:')) {
|
|
709
|
-
externalHref = href;
|
|
710
|
-
}
|
|
711
|
-
else {
|
|
712
|
-
externalHref = 'http://' + href;
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
else {
|
|
716
|
-
externalHref = '#';
|
|
717
|
-
}
|
|
718
|
-
return externalHref;
|
|
719
|
-
}
|
|
720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalHrefPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
721
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ExternalHrefPipe, name: "externalHref" }); }
|
|
722
|
-
}
|
|
723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalHrefPipe, decorators: [{
|
|
724
|
-
type: Pipe,
|
|
725
|
-
args: [{
|
|
726
|
-
name: 'externalHref'
|
|
727
|
-
}]
|
|
728
|
-
}] });
|
|
729
|
-
|
|
730
|
-
class ButtonComponent extends ContentBaseComponent {
|
|
731
|
-
constructor() {
|
|
732
|
-
super(...arguments);
|
|
733
|
-
this.hostTabIndex = null;
|
|
734
|
-
this.clickEvent = new EventEmitter();
|
|
735
|
-
this.avoidingDoubleClick = false;
|
|
736
|
-
}
|
|
737
|
-
static { this.ELEMENT_A = 'a'; }
|
|
738
|
-
static { this.ELEMENT_BUTTON = 'button'; }
|
|
739
|
-
static { this.ELEMENT_INPUT = 'input'; }
|
|
740
|
-
ngOnInit() {
|
|
741
|
-
this.isHtml = Boolean(this.html);
|
|
742
|
-
}
|
|
743
|
-
onClick(event) {
|
|
744
|
-
if (this.preventDoubleClick) {
|
|
745
|
-
if (!this.avoidingDoubleClick) {
|
|
746
|
-
this.avoidingDoubleClick = true;
|
|
747
|
-
this.clickEvent.emit(event);
|
|
748
|
-
setTimeout(() => {
|
|
749
|
-
this.avoidingDoubleClick = false;
|
|
750
|
-
}, 1000);
|
|
751
|
-
}
|
|
752
|
-
else {
|
|
753
|
-
event.preventDefault();
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
else {
|
|
757
|
-
this.clickEvent.emit(event);
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
getElement() {
|
|
761
|
-
let element;
|
|
762
|
-
if (this.element) {
|
|
763
|
-
element = this.element.toLocaleLowerCase();
|
|
764
|
-
}
|
|
765
|
-
else {
|
|
766
|
-
if (this.href) {
|
|
767
|
-
element = ButtonComponent.ELEMENT_A;
|
|
768
|
-
}
|
|
769
|
-
else {
|
|
770
|
-
element = ButtonComponent.ELEMENT_BUTTON;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
return element;
|
|
774
|
-
}
|
|
775
|
-
getClassNames() {
|
|
776
|
-
let classNames = 'c-button';
|
|
777
|
-
if (this.classes) {
|
|
778
|
-
classNames += ' ' + this.classes;
|
|
779
|
-
}
|
|
780
|
-
if (this.disabled) {
|
|
781
|
-
classNames += ' c-button--disabled';
|
|
782
|
-
}
|
|
783
|
-
return classNames;
|
|
784
|
-
}
|
|
785
|
-
isDisabled() {
|
|
786
|
-
return this.disabled ? true : null;
|
|
787
|
-
}
|
|
788
|
-
get staticElementTypeA() {
|
|
789
|
-
return ButtonComponent.ELEMENT_A;
|
|
790
|
-
}
|
|
791
|
-
get staticElementTypeButton() {
|
|
792
|
-
return ButtonComponent.ELEMENT_BUTTON;
|
|
793
|
-
}
|
|
794
|
-
get staticElementTypeInput() {
|
|
795
|
-
return ButtonComponent.ELEMENT_INPUT;
|
|
796
|
-
}
|
|
797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
798
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonComponent, selector: "desy-button", inputs: { id: "id", classes: "classes", html: "html", text: "text", element: "element", name: "name", type: "type", value: "value", disabled: "disabled", href: "href", target: "target", preventDoubleClick: "preventDoubleClick", fragment: "fragment", routerLink: "routerLink", routerLinkActiveClasses: "routerLinkActiveClasses" }, outputs: { clickEvent: "clickEvent" }, host: { properties: { "attr.tabindex": "this.hostTabIndex" } }, usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-container [ngSwitch]=\"getElement()\">\n <ng-container *ngSwitchCase=\"staticElementTypeA\">\n <!-- routerLink modifica href, por eso se duplica para que no convivan en un mismo html -->\n <a *ngIf=\"routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n <a *ngIf=\"!routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [href]=\"href | externalHref\"\n [attr.target]=\"target ? target : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n </ng-container>\n\n <button *ngSwitchCase=\"staticElementTypeButton\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [attr.value]=\"value ? value : null\"\n [disabled]=\"isDisabled()\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : null\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </button>\n\n <input *ngSwitchCase=\"staticElementTypeInput\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [value]=\"text ? text : null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [desyAppAccessibility]=\"this\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : 'submit'\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: InnerContentDirective, selector: "[desyInnerContent]", inputs: ["desyInnerContent", "isHtml", "deleteContentIfEmpty"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
799
|
-
}
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
801
|
-
type: Component,
|
|
802
|
-
args: [{ selector: 'desy-button', template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-container [ngSwitch]=\"getElement()\">\n <ng-container *ngSwitchCase=\"staticElementTypeA\">\n <!-- routerLink modifica href, por eso se duplica para que no convivan en un mismo html -->\n <a *ngIf=\"routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n <a *ngIf=\"!routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [href]=\"href | externalHref\"\n [attr.target]=\"target ? target : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n </ng-container>\n\n <button *ngSwitchCase=\"staticElementTypeButton\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [attr.value]=\"value ? value : null\"\n [disabled]=\"isDisabled()\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : null\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </button>\n\n <input *ngSwitchCase=\"staticElementTypeInput\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [value]=\"text ? text : null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [desyAppAccessibility]=\"this\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : 'submit'\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n</ng-container>\n" }]
|
|
803
|
-
}], propDecorators: { hostTabIndex: [{
|
|
804
|
-
type: HostBinding,
|
|
805
|
-
args: ['attr.tabindex']
|
|
806
|
-
}], id: [{
|
|
807
|
-
type: Input
|
|
808
|
-
}], classes: [{
|
|
809
|
-
type: Input
|
|
810
|
-
}], html: [{
|
|
811
|
-
type: Input
|
|
812
|
-
}], text: [{
|
|
813
|
-
type: Input
|
|
814
|
-
}], element: [{
|
|
815
|
-
type: Input
|
|
816
|
-
}], name: [{
|
|
817
|
-
type: Input
|
|
818
|
-
}], type: [{
|
|
819
|
-
type: Input
|
|
820
|
-
}], value: [{
|
|
821
|
-
type: Input
|
|
822
|
-
}], disabled: [{
|
|
823
|
-
type: Input
|
|
824
|
-
}], href: [{
|
|
825
|
-
type: Input
|
|
826
|
-
}], target: [{
|
|
827
|
-
type: Input
|
|
828
|
-
}], preventDoubleClick: [{
|
|
829
|
-
type: Input
|
|
830
|
-
}], fragment: [{
|
|
831
|
-
type: Input
|
|
832
|
-
}], routerLink: [{
|
|
833
|
-
type: Input
|
|
834
|
-
}], routerLinkActiveClasses: [{
|
|
835
|
-
type: Input
|
|
836
|
-
}], clickEvent: [{
|
|
837
|
-
type: Output
|
|
838
|
-
}] } });
|
|
839
|
-
|
|
840
|
-
class SpinnerComponent extends AccessibilityComponent {
|
|
542
|
+
class SpinnerComponent extends AccessibilityComponent {
|
|
841
543
|
constructor() {
|
|
842
544
|
super(...arguments);
|
|
843
545
|
this.classes = "c-spinner";
|
|
@@ -1162,135 +864,433 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1162
864
|
type: Input
|
|
1163
865
|
}] } });
|
|
1164
866
|
|
|
1165
|
-
class
|
|
1166
|
-
constructor() {
|
|
1167
|
-
|
|
1168
|
-
this.
|
|
1169
|
-
this.stateSuccess = ButtonLoaderComponent.STATE_SUCCESS;
|
|
1170
|
-
this.hostTabIndex = null;
|
|
1171
|
-
}
|
|
1172
|
-
static { this.STATE_LOADING = 'is-loading'; }
|
|
1173
|
-
static { this.STATE_SUCCESS = 'is-success'; }
|
|
1174
|
-
static { this.DEFAULT_LOADER_TEXT = 'Acción en curso'; }
|
|
1175
|
-
static { this.DEFAULT_SUCCESS_TEXT = 'Acción realizada con éxito'; }
|
|
1176
|
-
ngOnInit() {
|
|
1177
|
-
this.isHtml = Boolean(this.html);
|
|
1178
|
-
}
|
|
1179
|
-
getClassNames() {
|
|
1180
|
-
let classNames = 'c-button-loader relative';
|
|
1181
|
-
if (this.classes) {
|
|
1182
|
-
classNames += ' ' + this.classes;
|
|
1183
|
-
}
|
|
1184
|
-
if (this.disabled) {
|
|
1185
|
-
classNames += ' c-button-loader--disabled';
|
|
1186
|
-
}
|
|
1187
|
-
return classNames;
|
|
867
|
+
class InnerContentDirective {
|
|
868
|
+
constructor(el) {
|
|
869
|
+
this.el = el;
|
|
870
|
+
this.deleteContentIfEmpty = true;
|
|
1188
871
|
}
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
872
|
+
ngOnChanges(changes) {
|
|
873
|
+
if (this.content) {
|
|
874
|
+
if (this.isHtml) {
|
|
875
|
+
this.el.nativeElement.innerHTML = this.content;
|
|
876
|
+
}
|
|
877
|
+
else {
|
|
878
|
+
this.el.nativeElement.innerText = this.content;
|
|
879
|
+
}
|
|
1193
880
|
}
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
getSuccessText() {
|
|
1197
|
-
let successText = null;
|
|
1198
|
-
if (this.state === ButtonLoaderComponent.STATE_SUCCESS) {
|
|
1199
|
-
successText = this.successText ? this.successText : ButtonLoaderComponent.DEFAULT_SUCCESS_TEXT;
|
|
881
|
+
else if (this.deleteContentIfEmpty) {
|
|
882
|
+
this.el.nativeElement.innerText = null;
|
|
1200
883
|
}
|
|
1201
|
-
return successText;
|
|
1202
884
|
}
|
|
1203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
1204
|
-
static { this.ɵ
|
|
885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InnerContentDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
886
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: InnerContentDirective, selector: "[desyInnerContent]", inputs: { content: ["desyInnerContent", "content"], isHtml: "isHtml", deleteContentIfEmpty: "deleteContentIfEmpty" }, usesOnChanges: true, ngImport: i0 }); }
|
|
1205
887
|
}
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
1207
|
-
type:
|
|
1208
|
-
args: [{
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}],
|
|
1215
|
-
type: Input
|
|
1216
|
-
}], state: [{
|
|
1217
|
-
type: Input
|
|
1218
|
-
}], successText: [{
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InnerContentDirective, decorators: [{
|
|
889
|
+
type: Directive,
|
|
890
|
+
args: [{
|
|
891
|
+
selector: '[desyInnerContent]'
|
|
892
|
+
}]
|
|
893
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { content: [{
|
|
894
|
+
type: Input,
|
|
895
|
+
args: ['desyInnerContent']
|
|
896
|
+
}], isHtml: [{
|
|
1219
897
|
type: Input
|
|
1220
|
-
}]
|
|
1221
|
-
|
|
1222
|
-
class ContentComponent extends ContentBaseComponent {
|
|
1223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1224
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContentComponent, selector: "desy-content", inputs: { classes: "classes" }, usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }); }
|
|
1225
|
-
}
|
|
1226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentComponent, decorators: [{
|
|
1227
|
-
type: Component,
|
|
1228
|
-
args: [{ selector: 'desy-content', template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }]
|
|
1229
|
-
}], propDecorators: { classes: [{
|
|
898
|
+
}], deleteContentIfEmpty: [{
|
|
1230
899
|
type: Input
|
|
1231
900
|
}] } });
|
|
1232
901
|
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
902
|
+
const ACCESSIBILITY_ATTRIBUTES = [
|
|
903
|
+
'role',
|
|
904
|
+
'ariaLabel',
|
|
905
|
+
'ariaLabelledBy',
|
|
906
|
+
'ariaDescribedBy',
|
|
907
|
+
'ariaHidden',
|
|
908
|
+
'ariaDisabled',
|
|
909
|
+
'ariaControls',
|
|
910
|
+
'ariaCurrent',
|
|
911
|
+
'ariaLive',
|
|
912
|
+
'ariaExpanded',
|
|
913
|
+
'ariaErrorMessage',
|
|
914
|
+
'ariaHasPopup',
|
|
915
|
+
'ariaModal',
|
|
916
|
+
'ariaChecked',
|
|
917
|
+
'ariaPressed',
|
|
918
|
+
'ariaReadonly',
|
|
919
|
+
'ariaRequired',
|
|
920
|
+
'ariaSelected',
|
|
921
|
+
'ariaValuemin',
|
|
922
|
+
'ariaValuemax',
|
|
923
|
+
'ariaValuenow',
|
|
924
|
+
'ariaValuetext',
|
|
925
|
+
'ariaOrientation',
|
|
926
|
+
'ariaLevel',
|
|
927
|
+
'ariaMultiselectable',
|
|
928
|
+
'ariaPlaceholder',
|
|
929
|
+
'ariaPosinset',
|
|
930
|
+
'ariaSetsize',
|
|
931
|
+
'ariaSort',
|
|
932
|
+
'ariaBusy',
|
|
933
|
+
'ariaDropeffect',
|
|
934
|
+
'ariaGrabbed',
|
|
935
|
+
'ariaActivedescendant',
|
|
936
|
+
'ariaAtomic',
|
|
937
|
+
'ariaAutocomplete',
|
|
938
|
+
'ariaBraillelabel',
|
|
939
|
+
'ariaBrailleroledescription',
|
|
940
|
+
'ariaColcount',
|
|
941
|
+
'ariaColindex',
|
|
942
|
+
'ariaColindextext',
|
|
943
|
+
'ariaColspan',
|
|
944
|
+
'ariaDescription',
|
|
945
|
+
'ariaDetails',
|
|
946
|
+
'ariaFlowto',
|
|
947
|
+
'ariaInvalid',
|
|
948
|
+
'ariaKeyshortcuts',
|
|
949
|
+
'ariaOwns',
|
|
950
|
+
'ariaRelevant',
|
|
951
|
+
'ariaRoledescription',
|
|
952
|
+
'ariaRowcount',
|
|
953
|
+
'ariaRowindex',
|
|
954
|
+
'ariaRowindextext',
|
|
955
|
+
'ariaRowspan',
|
|
956
|
+
'tabindex',
|
|
957
|
+
'title',
|
|
958
|
+
'alt',
|
|
959
|
+
'lang',
|
|
960
|
+
'accesskey',
|
|
961
|
+
'autocomplete',
|
|
962
|
+
'autofocus',
|
|
963
|
+
'contenteditable',
|
|
964
|
+
'dir',
|
|
965
|
+
'draggable',
|
|
966
|
+
'enterkeyhint',
|
|
967
|
+
'hidden',
|
|
968
|
+
'inputmode',
|
|
969
|
+
'spellcheck',
|
|
970
|
+
'translate',
|
|
971
|
+
'ariaMultiline',
|
|
972
|
+
'for',
|
|
973
|
+
'form',
|
|
974
|
+
'headers',
|
|
975
|
+
'placeholder',
|
|
976
|
+
'readonly',
|
|
977
|
+
'required'
|
|
978
|
+
];
|
|
979
|
+
|
|
980
|
+
class AccessibilityDirective {
|
|
981
|
+
constructor(el, renderer, differs) {
|
|
982
|
+
this.el = el;
|
|
983
|
+
this.renderer = renderer;
|
|
984
|
+
this.differs = differs;
|
|
985
|
+
this.differ = this.differs.find({}).create();
|
|
986
|
+
}
|
|
987
|
+
ngOnChanges(changes) {
|
|
988
|
+
if (changes['accessibility']) {
|
|
989
|
+
this.applyAccessibilityAttributes();
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
ngDoCheck() {
|
|
993
|
+
if (this.accessibility) {
|
|
994
|
+
const changes = this.differ.diff(this.accessibility);
|
|
995
|
+
if (changes) {
|
|
996
|
+
this.applyAccessibilityAttributes();
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
applyAccessibilityAttributes() {
|
|
1001
|
+
if (this.accessibility) {
|
|
1002
|
+
Object.keys(this.accessibility).forEach(attr => {
|
|
1003
|
+
if (ACCESSIBILITY_ATTRIBUTES.includes(attr) && this.accessibility[attr] !== null && this.accessibility[attr] !== undefined) {
|
|
1004
|
+
const htmlAttr = this.camelToKebabCase(attr);
|
|
1005
|
+
this.renderer.setAttribute(this.el.nativeElement, htmlAttr, this.accessibility[attr]);
|
|
1006
|
+
}
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
camelToKebabCase(str) {
|
|
1011
|
+
if (str === str.toLowerCase()) {
|
|
1012
|
+
return str;
|
|
1013
|
+
}
|
|
1014
|
+
return str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase();
|
|
1015
|
+
}
|
|
1016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccessibilityDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1017
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: { accessibility: ["desyAppAccessibility", "accessibility"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
1018
|
+
}
|
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccessibilityDirective, decorators: [{
|
|
1020
|
+
type: Directive,
|
|
1021
|
+
args: [{
|
|
1022
|
+
selector: '[desyAppAccessibility]'
|
|
1023
|
+
}]
|
|
1024
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.KeyValueDiffers }]; }, propDecorators: { accessibility: [{
|
|
1025
|
+
type: Input,
|
|
1026
|
+
args: ['desyAppAccessibility']
|
|
1027
|
+
}] } });
|
|
1028
|
+
|
|
1029
|
+
class ExternalHrefPipe {
|
|
1030
|
+
transform(href) {
|
|
1031
|
+
let externalHref;
|
|
1032
|
+
if (href) {
|
|
1033
|
+
if (href.match('http(s)?://') || href.match('mailto?:')) {
|
|
1034
|
+
externalHref = href;
|
|
1035
|
+
}
|
|
1036
|
+
else {
|
|
1037
|
+
externalHref = 'http://' + href;
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
else {
|
|
1041
|
+
externalHref = '#';
|
|
1042
|
+
}
|
|
1043
|
+
return externalHref;
|
|
1044
|
+
}
|
|
1045
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalHrefPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1046
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ExternalHrefPipe, name: "externalHref" }); }
|
|
1047
|
+
}
|
|
1048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExternalHrefPipe, decorators: [{
|
|
1049
|
+
type: Pipe,
|
|
1050
|
+
args: [{
|
|
1051
|
+
name: 'externalHref'
|
|
1052
|
+
}]
|
|
1053
|
+
}] });
|
|
1054
|
+
|
|
1055
|
+
class ButtonComponent extends ContentBaseComponent {
|
|
1056
|
+
constructor() {
|
|
1057
|
+
super(...arguments);
|
|
1058
|
+
this.hostTabIndex = null;
|
|
1059
|
+
this.clickEvent = new EventEmitter();
|
|
1060
|
+
this.avoidingDoubleClick = false;
|
|
1061
|
+
}
|
|
1062
|
+
static { this.ELEMENT_A = 'a'; }
|
|
1063
|
+
static { this.ELEMENT_BUTTON = 'button'; }
|
|
1064
|
+
static { this.ELEMENT_INPUT = 'input'; }
|
|
1065
|
+
ngOnInit() {
|
|
1066
|
+
this.isHtml = Boolean(this.html);
|
|
1067
|
+
}
|
|
1068
|
+
onClick(event) {
|
|
1069
|
+
if (this.preventDoubleClick) {
|
|
1070
|
+
if (!this.avoidingDoubleClick) {
|
|
1071
|
+
this.avoidingDoubleClick = true;
|
|
1072
|
+
this.clickEvent.emit(event);
|
|
1073
|
+
setTimeout(() => {
|
|
1074
|
+
this.avoidingDoubleClick = false;
|
|
1075
|
+
}, 1000);
|
|
1076
|
+
}
|
|
1077
|
+
else {
|
|
1078
|
+
event.preventDefault();
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
else {
|
|
1082
|
+
this.clickEvent.emit(event);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
getElement() {
|
|
1086
|
+
let element;
|
|
1087
|
+
if (this.element) {
|
|
1088
|
+
element = this.element.toLocaleLowerCase();
|
|
1089
|
+
}
|
|
1090
|
+
else {
|
|
1091
|
+
if (this.href) {
|
|
1092
|
+
element = ButtonComponent.ELEMENT_A;
|
|
1093
|
+
}
|
|
1094
|
+
else {
|
|
1095
|
+
element = ButtonComponent.ELEMENT_BUTTON;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
return element;
|
|
1099
|
+
}
|
|
1100
|
+
getClassNames() {
|
|
1101
|
+
let classNames = 'c-button';
|
|
1102
|
+
if (this.classes) {
|
|
1103
|
+
classNames += ' ' + this.classes;
|
|
1104
|
+
}
|
|
1105
|
+
if (this.disabled) {
|
|
1106
|
+
classNames += ' c-button--disabled';
|
|
1107
|
+
}
|
|
1108
|
+
return classNames;
|
|
1109
|
+
}
|
|
1110
|
+
isDisabled() {
|
|
1111
|
+
return this.disabled ? true : null;
|
|
1112
|
+
}
|
|
1113
|
+
get staticElementTypeA() {
|
|
1114
|
+
return ButtonComponent.ELEMENT_A;
|
|
1115
|
+
}
|
|
1116
|
+
get staticElementTypeButton() {
|
|
1117
|
+
return ButtonComponent.ELEMENT_BUTTON;
|
|
1118
|
+
}
|
|
1119
|
+
get staticElementTypeInput() {
|
|
1120
|
+
return ButtonComponent.ELEMENT_INPUT;
|
|
1121
|
+
}
|
|
1122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1123
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonComponent, selector: "desy-button", inputs: { id: "id", classes: "classes", html: "html", text: "text", element: "element", name: "name", type: "type", value: "value", disabled: "disabled", href: "href", target: "target", preventDoubleClick: "preventDoubleClick", fragment: "fragment", routerLink: "routerLink", routerLinkActiveClasses: "routerLinkActiveClasses" }, outputs: { clickEvent: "clickEvent" }, host: { properties: { "attr.tabindex": "this.hostTabIndex" } }, usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-container [ngSwitch]=\"getElement()\">\n <ng-container *ngSwitchCase=\"staticElementTypeA\">\n <!-- routerLink modifica href, por eso se duplica para que no convivan en un mismo html -->\n <a *ngIf=\"routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n <a *ngIf=\"!routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [href]=\"href | externalHref\"\n [attr.target]=\"target ? target : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n </ng-container>\n\n <button *ngSwitchCase=\"staticElementTypeButton\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [attr.value]=\"value ? value : null\"\n [disabled]=\"isDisabled()\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : null\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </button>\n\n <input *ngSwitchCase=\"staticElementTypeInput\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [value]=\"text ? text : null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [desyAppAccessibility]=\"this\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : 'submit'\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: InnerContentDirective, selector: "[desyInnerContent]", inputs: ["desyInnerContent", "isHtml", "deleteContentIfEmpty"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
1124
|
+
}
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
1126
|
+
type: Component,
|
|
1127
|
+
args: [{ selector: 'desy-button', template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-container [ngSwitch]=\"getElement()\">\n <ng-container *ngSwitchCase=\"staticElementTypeA\">\n <!-- routerLink modifica href, por eso se duplica para que no convivan en un mismo html -->\n <a *ngIf=\"routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n <a *ngIf=\"!routerLink\" draggable=\"false\" (click)=\"onClick($event)\"\n [href]=\"href | externalHref\"\n [attr.target]=\"target ? target : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n\n </ng-container>\n\n <button *ngSwitchCase=\"staticElementTypeButton\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [attr.value]=\"value ? value : null\"\n [disabled]=\"isDisabled()\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : null\"\n [desyInnerContent]=\"html ? html : text\" [isHtml]=\"isHtml\" [deleteContentIfEmpty]=\"false\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </button>\n\n <input *ngSwitchCase=\"staticElementTypeInput\" (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\" [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\" [fragment]=\"fragment\"\n [attr.name]=\"name ? name : null\"\n [value]=\"text ? text : null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [desyAppAccessibility]=\"this\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.type]=\"type ? type : 'submit'\"\n [class]=\"getClassNames()\"\n [attr.id]=\"id ? id : null\">\n</ng-container>\n" }]
|
|
1128
|
+
}], propDecorators: { hostTabIndex: [{
|
|
1129
|
+
type: HostBinding,
|
|
1130
|
+
args: ['attr.tabindex']
|
|
1131
|
+
}], id: [{
|
|
1132
|
+
type: Input
|
|
1133
|
+
}], classes: [{
|
|
1134
|
+
type: Input
|
|
1135
|
+
}], html: [{
|
|
1136
|
+
type: Input
|
|
1137
|
+
}], text: [{
|
|
1138
|
+
type: Input
|
|
1139
|
+
}], element: [{
|
|
1140
|
+
type: Input
|
|
1141
|
+
}], name: [{
|
|
1142
|
+
type: Input
|
|
1143
|
+
}], type: [{
|
|
1144
|
+
type: Input
|
|
1145
|
+
}], value: [{
|
|
1146
|
+
type: Input
|
|
1147
|
+
}], disabled: [{
|
|
1148
|
+
type: Input
|
|
1149
|
+
}], href: [{
|
|
1150
|
+
type: Input
|
|
1151
|
+
}], target: [{
|
|
1152
|
+
type: Input
|
|
1153
|
+
}], preventDoubleClick: [{
|
|
1154
|
+
type: Input
|
|
1155
|
+
}], fragment: [{
|
|
1156
|
+
type: Input
|
|
1157
|
+
}], routerLink: [{
|
|
1158
|
+
type: Input
|
|
1159
|
+
}], routerLinkActiveClasses: [{
|
|
1160
|
+
type: Input
|
|
1161
|
+
}], clickEvent: [{
|
|
1162
|
+
type: Output
|
|
1163
|
+
}] } });
|
|
1164
|
+
|
|
1165
|
+
class ButtonLoaderComponent extends ButtonComponent {
|
|
1166
|
+
constructor() {
|
|
1167
|
+
super(...arguments);
|
|
1168
|
+
this.stateLoading = ButtonLoaderComponent.STATE_LOADING;
|
|
1169
|
+
this.stateSuccess = ButtonLoaderComponent.STATE_SUCCESS;
|
|
1170
|
+
this.hostTabIndex = null;
|
|
1171
|
+
}
|
|
1172
|
+
static { this.STATE_LOADING = 'is-loading'; }
|
|
1173
|
+
static { this.STATE_SUCCESS = 'is-success'; }
|
|
1174
|
+
static { this.DEFAULT_LOADER_TEXT = 'Acción en curso'; }
|
|
1175
|
+
static { this.DEFAULT_SUCCESS_TEXT = 'Acción realizada con éxito'; }
|
|
1176
|
+
ngOnInit() {
|
|
1177
|
+
this.isHtml = Boolean(this.html);
|
|
1178
|
+
}
|
|
1179
|
+
getClassNames() {
|
|
1180
|
+
let classNames = 'c-button-loader relative';
|
|
1181
|
+
if (this.classes) {
|
|
1182
|
+
classNames += ' ' + this.classes;
|
|
1183
|
+
}
|
|
1184
|
+
if (this.disabled) {
|
|
1185
|
+
classNames += ' c-button-loader--disabled';
|
|
1186
|
+
}
|
|
1187
|
+
return classNames;
|
|
1188
|
+
}
|
|
1189
|
+
getSpinnerText() {
|
|
1190
|
+
let spinnerText = null;
|
|
1191
|
+
if (this.state === ButtonLoaderComponent.STATE_LOADING) {
|
|
1192
|
+
spinnerText = this.loaderText ? this.loaderText : ButtonLoaderComponent.DEFAULT_LOADER_TEXT;
|
|
1193
|
+
}
|
|
1194
|
+
return spinnerText;
|
|
1195
|
+
}
|
|
1196
|
+
getSuccessText() {
|
|
1197
|
+
let successText = null;
|
|
1198
|
+
if (this.state === ButtonLoaderComponent.STATE_SUCCESS) {
|
|
1199
|
+
successText = this.successText ? this.successText : ButtonLoaderComponent.DEFAULT_SUCCESS_TEXT;
|
|
1200
|
+
}
|
|
1201
|
+
return successText;
|
|
1202
|
+
}
|
|
1203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonLoaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1204
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ButtonLoaderComponent, selector: "desy-button-loader", inputs: { loaderText: "loaderText", loaderClasses: "loaderClasses", state: "state", successText: "successText" }, host: { properties: { "attr.tabindex": "this.hostTabIndex" } }, usesInheritance: true, ngImport: i0, template: "<ng-template #spinnerTemplate>\n <span class=\"c-button-loader__spinner flex items-center justify-center absolute inset-0\">\n <desy-spinner [text]=\"getSpinnerText() ? getSpinnerText() : 'Acci\u00F3n en curso'\"\n [classes]=\"loaderClasses\"></desy-spinner>\n </span>\n</ng-template>\n\n<ng-template #successTemplate>\n <span class=\"c-button-loader__success flex items-center justify-center absolute inset-0\">\n <span class=\"sr-only\"\n role=\"alert\"\n aria-live=\"assertive\">{{ getSuccessText() }}</span>\n <span aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 48 48\"\n aria-hidden=\"true\"\n width=\"1em\"\n height=\"1em\">\n <path d=\"M13.714 42.857A6.857 6.857 0 0 1 8.4 40.183L.857 31.646a3.429 3.429 0 0 1 .309-4.869A3.429 3.429 0 0 1 6 27.12l7.063 7.989a.72.72 0 0 0 .617.308.789.789 0 0 0 .617-.274L42.103 6.206a3.429 3.429 0 0 1 4.937 4.731L18.926 40.526a6.651 6.651 0 0 1-5.212 2.331Z\"\n fill=\"currentColor\"></path>\n </svg></span>\n </span>\n</ng-template>\n\n<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-container [ngSwitch]=\"getElement()\">\n <ng-container *ngSwitchCase=\"staticElementTypeA\">\n <a *ngIf=\"routerLink\"\n draggable=\"false\"\n (click)=\"onClick($event)\"\n [routerLink]=\"routerLink\"\n [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\"\n role=\"button\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.id]=\"id ? id : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyAppAccessibility]=\"this\"\n [class]=\"getClassNames()\">\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n <span class=\"c-button-loader__content inline-flex align-baseline\"\n [desyInnerContent]=\"html ? html : text\"\n [isHtml]=\"isHtml\"\n [deleteContentIfEmpty]=\"false\"><ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container></span>\n </a>\n\n <a *ngIf=\"!routerLink\"\n draggable=\"false\"\n (click)=\"onClick($event)\"\n [href]=\"href | externalHref\"\n [attr.target]=\"target ? target : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n role=\"button\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\"\n [class]=\"getClassNames()\">\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n <span class=\"c-button-loader__content inline-flex align-baseline\"\n [desyInnerContent]=\"html ? html : text\"\n [isHtml]=\"isHtml\"\n [deleteContentIfEmpty]=\"false\"><ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container></span>\n </a>\n </ng-container>\n\n <button *ngSwitchCase=\"staticElementTypeButton\"\n (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\"\n [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\"\n [attr.name]=\"name ? name : null\"\n [attr.value]=\"value ? value : null\"\n [attr.disabled]=\"isDisabled()\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.id]=\"id ? id : null\"\n [attr.type]=\"type ? type : null\"\n [class]=\"getClassNames()\">\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n <span class=\"c-button-loader__content inline-flex align-baseline\"\n [desyInnerContent]=\"html ? html : text\"\n [isHtml]=\"isHtml\"\n [deleteContentIfEmpty]=\"false\"> <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container></span>\n </button>\n\n <div *ngSwitchCase=\"staticElementTypeInput\"\n (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\"\n [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\"\n [class]=\"getClassNames()\">\n <span class=\"c-button-loader__content inline-flex align-baseline\">\n <input [value]=\"text ? text : null\"\n [type]=\"type ? type : 'submit'\"\n class=\"bg-transparent font-semibold\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.disabled]=\"isDisabled()\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.name]=\"name ? name : null\">\n </span>\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n </div>\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: InnerContentDirective, selector: "[desyInnerContent]", inputs: ["desyInnerContent", "isHtml", "deleteContentIfEmpty"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: SpinnerComponent, selector: "desy-spinner", inputs: ["text", "classes", "id"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
1205
|
+
}
|
|
1206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ButtonLoaderComponent, decorators: [{
|
|
1207
|
+
type: Component,
|
|
1208
|
+
args: [{ selector: 'desy-button-loader', template: "<ng-template #spinnerTemplate>\n <span class=\"c-button-loader__spinner flex items-center justify-center absolute inset-0\">\n <desy-spinner [text]=\"getSpinnerText() ? getSpinnerText() : 'Acci\u00F3n en curso'\"\n [classes]=\"loaderClasses\"></desy-spinner>\n </span>\n</ng-template>\n\n<ng-template #successTemplate>\n <span class=\"c-button-loader__success flex items-center justify-center absolute inset-0\">\n <span class=\"sr-only\"\n role=\"alert\"\n aria-live=\"assertive\">{{ getSuccessText() }}</span>\n <span aria-hidden=\"true\"><svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 48 48\"\n aria-hidden=\"true\"\n width=\"1em\"\n height=\"1em\">\n <path d=\"M13.714 42.857A6.857 6.857 0 0 1 8.4 40.183L.857 31.646a3.429 3.429 0 0 1 .309-4.869A3.429 3.429 0 0 1 6 27.12l7.063 7.989a.72.72 0 0 0 .617.308.789.789 0 0 0 .617-.274L42.103 6.206a3.429 3.429 0 0 1 4.937 4.731L18.926 40.526a6.651 6.651 0 0 1-5.212 2.331Z\"\n fill=\"currentColor\"></path>\n </svg></span>\n </span>\n</ng-template>\n\n<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n\n<ng-container [ngSwitch]=\"getElement()\">\n <ng-container *ngSwitchCase=\"staticElementTypeA\">\n <a *ngIf=\"routerLink\"\n draggable=\"false\"\n (click)=\"onClick($event)\"\n [routerLink]=\"routerLink\"\n [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\"\n role=\"button\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.id]=\"id ? id : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n [desyAppAccessibility]=\"this\"\n [class]=\"getClassNames()\">\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n <span class=\"c-button-loader__content inline-flex align-baseline\"\n [desyInnerContent]=\"html ? html : text\"\n [isHtml]=\"isHtml\"\n [deleteContentIfEmpty]=\"false\"><ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container></span>\n </a>\n\n <a *ngIf=\"!routerLink\"\n draggable=\"false\"\n (click)=\"onClick($event)\"\n [href]=\"href | externalHref\"\n [attr.target]=\"target ? target : null\"\n [attr.tabindex]=\"tabindex ? tabindex : (isDisabled() ? -1 : null)\"\n role=\"button\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\"\n [class]=\"getClassNames()\">\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n <span class=\"c-button-loader__content inline-flex align-baseline\"\n [desyInnerContent]=\"html ? html : text\"\n [isHtml]=\"isHtml\"\n [deleteContentIfEmpty]=\"false\"><ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container></span>\n </a>\n </ng-container>\n\n <button *ngSwitchCase=\"staticElementTypeButton\"\n (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\"\n [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\"\n [attr.name]=\"name ? name : null\"\n [attr.value]=\"value ? value : null\"\n [attr.disabled]=\"isDisabled()\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.id]=\"id ? id : null\"\n [attr.type]=\"type ? type : null\"\n [class]=\"getClassNames()\">\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n <span class=\"c-button-loader__content inline-flex align-baseline\"\n [desyInnerContent]=\"html ? html : text\"\n [isHtml]=\"isHtml\"\n [deleteContentIfEmpty]=\"false\"> <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container></span>\n </button>\n\n <div *ngSwitchCase=\"staticElementTypeInput\"\n (click)=\"onClick($event)\"\n [routerLink]=\"routerLink ? routerLink : null\"\n [routerLinkActive]=\"routerLinkActiveClasses ? routerLinkActiveClasses : []\"\n [desyAppAccessibility]=\"this\"\n [attr.id]=\"id ? id : null\"\n [class]=\"getClassNames()\">\n <span class=\"c-button-loader__content inline-flex align-baseline\">\n <input [value]=\"text ? text : null\"\n [type]=\"type ? type : 'submit'\"\n class=\"bg-transparent font-semibold\"\n [attr.data-prevent-double-click]=\"preventDoubleClick ? 'true' : null\"\n [attr.disabled]=\"isDisabled()\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : (ariaDisabled ? ariaDisabled : null)\"\n [attr.name]=\"name ? name : null\">\n </span>\n <ng-container *ngIf=\"state===stateLoading\">\n <ng-container *ngTemplateOutlet=\"spinnerTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"state===stateSuccess\">\n <ng-container *ngTemplateOutlet=\"successTemplate\"></ng-container>\n </ng-container>\n </div>\n</ng-container>" }]
|
|
1209
|
+
}], propDecorators: { hostTabIndex: [{
|
|
1210
|
+
type: HostBinding,
|
|
1211
|
+
args: ['attr.tabindex']
|
|
1212
|
+
}], loaderText: [{
|
|
1213
|
+
type: Input
|
|
1214
|
+
}], loaderClasses: [{
|
|
1215
|
+
type: Input
|
|
1216
|
+
}], state: [{
|
|
1217
|
+
type: Input
|
|
1218
|
+
}], successText: [{
|
|
1219
|
+
type: Input
|
|
1220
|
+
}] } });
|
|
1221
|
+
|
|
1222
|
+
class ContentComponent extends ContentBaseComponent {
|
|
1223
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1224
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ContentComponent, selector: "desy-content", inputs: { classes: "classes" }, usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }); }
|
|
1225
|
+
}
|
|
1226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContentComponent, decorators: [{
|
|
1227
|
+
type: Component,
|
|
1228
|
+
args: [{ selector: 'desy-content', template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }]
|
|
1229
|
+
}], propDecorators: { classes: [{
|
|
1230
|
+
type: Input
|
|
1231
|
+
}] } });
|
|
1232
|
+
|
|
1233
|
+
function DesyContentChild(options) {
|
|
1234
|
+
return (target, propertyKey) => {
|
|
1235
|
+
const privateKeyName = `_${propertyKey}`;
|
|
1236
|
+
const privateQueryListKeyName = `_${propertyKey}Querylist`;
|
|
1237
|
+
Object.defineProperty(target, propertyKey, {
|
|
1238
|
+
set(value) {
|
|
1239
|
+
const queryList = value instanceof QueryList ? value : null;
|
|
1240
|
+
if (queryList && !this[privateQueryListKeyName]) {
|
|
1241
|
+
this[privateQueryListKeyName] = queryList;
|
|
1242
|
+
queryList.changes.subscribe(() => {
|
|
1243
|
+
const previousValue = this[privateKeyName];
|
|
1244
|
+
this[privateKeyName] = queryList && queryList.length > 0 ? queryList.first : null;
|
|
1245
|
+
if (options && options.onSetCallbackName && this[options.onSetCallbackName] && this[privateKeyName]) {
|
|
1246
|
+
this[options.onSetCallbackName](this[privateKeyName]);
|
|
1247
|
+
}
|
|
1248
|
+
if (options && options.onDeleteCallbackName && this[options.onDeleteCallbackName] && previousValue && !this[privateKeyName]) {
|
|
1249
|
+
this[options.onDeleteCallbackName]();
|
|
1250
|
+
}
|
|
1251
|
+
});
|
|
1252
|
+
queryList.notifyOnChanges();
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
get() {
|
|
1256
|
+
return this[privateKeyName];
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
class FocusUtils {
|
|
1263
|
+
static getFirstFocusableElement(parent) {
|
|
1264
|
+
const selectionableElements = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
|
|
1265
|
+
let focusableList;
|
|
1266
|
+
if (parent) {
|
|
1267
|
+
focusableList = parent.querySelectorAll(selectionableElements);
|
|
1268
|
+
}
|
|
1269
|
+
else {
|
|
1270
|
+
focusableList = document.querySelectorAll(selectionableElements);
|
|
1271
|
+
}
|
|
1272
|
+
if (!focusableList || focusableList.length === 0) {
|
|
1273
|
+
return null;
|
|
1274
|
+
}
|
|
1275
|
+
let firstFocusable = null;
|
|
1276
|
+
let i = 0;
|
|
1277
|
+
while (i < focusableList.length) {
|
|
1278
|
+
try {
|
|
1279
|
+
const element = focusableList.item(i);
|
|
1280
|
+
if (FocusUtils.isFocusable(element)) {
|
|
1281
|
+
firstFocusable = element;
|
|
1282
|
+
break;
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
catch (e) {
|
|
1286
|
+
}
|
|
1287
|
+
i++;
|
|
1288
|
+
}
|
|
1289
|
+
return firstFocusable;
|
|
1290
|
+
}
|
|
1291
|
+
static isFocusable(element) {
|
|
1292
|
+
if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {
|
|
1293
|
+
return true;
|
|
1294
1294
|
}
|
|
1295
1295
|
if (element.disabled) {
|
|
1296
1296
|
return false;
|
|
@@ -1320,7 +1320,8 @@ class CustomInnerContentDirective {
|
|
|
1320
1320
|
ngOnChanges(changes) {
|
|
1321
1321
|
this.viewContainerRef.clear();
|
|
1322
1322
|
if (this.desyCustomInnerContent.component && this.desyCustomInnerContent.component instanceof ContentBaseComponent) {
|
|
1323
|
-
this.viewContainerRef.createEmbeddedView(this.desyCustomInnerContent.component.getContent());
|
|
1323
|
+
const embeddedView = this.viewContainerRef.createEmbeddedView(this.desyCustomInnerContent.component.getContent());
|
|
1324
|
+
this.emitContentToParent(embeddedView);
|
|
1324
1325
|
}
|
|
1325
1326
|
else if (this.desyCustomInnerContent.template) {
|
|
1326
1327
|
this.viewContainerRef.createEmbeddedView(this.desyCustomInnerContent.template);
|
|
@@ -1331,12 +1332,28 @@ class CustomInnerContentDirective {
|
|
|
1331
1332
|
const nodeList = [];
|
|
1332
1333
|
tmpWrapper.childNodes.forEach(node => nodeList.push(node));
|
|
1333
1334
|
const componentRef = this.factory.create(this.injector, [nodeList]);
|
|
1334
|
-
this.viewContainerRef.createEmbeddedView(componentRef.instance.getContent());
|
|
1335
|
+
const embeddedView = this.viewContainerRef.createEmbeddedView(componentRef.instance.getContent());
|
|
1336
|
+
this.emitContentToParent(embeddedView);
|
|
1335
1337
|
}
|
|
1336
1338
|
else if (this.desyCustomInnerContent.text) {
|
|
1337
1339
|
const textNode = document.createTextNode(this.desyCustomInnerContent.text);
|
|
1338
1340
|
const componentRef = this.factory.create(this.injector, [[textNode]]);
|
|
1339
|
-
this.viewContainerRef.createEmbeddedView(componentRef.instance.getContent());
|
|
1341
|
+
const embeddedView = this.viewContainerRef.createEmbeddedView(componentRef.instance.getContent());
|
|
1342
|
+
this.emitContentToParent(embeddedView);
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
emitContentToParent(embeddedView) {
|
|
1346
|
+
if (this.desyCustomInnerContent.parentComponent && typeof this.desyCustomInnerContent.parentComponent.handleContentExtracted === 'function') {
|
|
1347
|
+
let textContent = '';
|
|
1348
|
+
embeddedView.rootNodes.forEach(node => {
|
|
1349
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
1350
|
+
textContent += node.textContent.trim() + ' ';
|
|
1351
|
+
}
|
|
1352
|
+
else if (node.nodeType === Node.ELEMENT_NODE) {
|
|
1353
|
+
textContent += node.innerText.trim() + ' ';
|
|
1354
|
+
}
|
|
1355
|
+
});
|
|
1356
|
+
this.desyCustomInnerContent.parentComponent.handleContentExtracted(textContent.trim());
|
|
1340
1357
|
}
|
|
1341
1358
|
}
|
|
1342
1359
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomInnerContentDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
@@ -3580,7 +3597,7 @@ class DateInputComponent extends FormFieldComponent {
|
|
|
3580
3597
|
useExisting: forwardRef(() => DateInputComponent),
|
|
3581
3598
|
multi: true
|
|
3582
3599
|
}
|
|
3583
|
-
], queries: [{ propertyName: "fieldsetComponent", predicate: FieldsetComponent }, { propertyName: "errorMessageComponent", predicate: ErrorMessageComponent }, { propertyName: "legendComponent", predicate: LegendComponent }, { propertyName: "dateInputItemComponents", predicate: DateInputItemComponent }], viewQueries: [{ propertyName: "innerHtml", first: true, predicate: ["innerHtml"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-template #innerHtml>\n <ng-container *ngIf=\"hasHintComponent()\">\n <ng-content select=\"desy-hint\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasHintComponent()\">\n <ng-container *ngTemplateOutlet=\"hintRef\"></ng-container>\n <desy-hint *ngIf=\"!hintRef && hintData\"\n [id]=\"getHintId()\"\n [text]=\"hintData.text\"\n [html]=\"hintData.html\"\n [classes]=\"hintData.classes\"\n [role]=\"hintData.role\"\n [ariaLabel]=\"hintData.ariaLabel\"\n [ariaDescribedBy]=\"hintData.ariaDescribedBy\"\n [ariaLabelledBy]=\"hintData.ariaLabelledBy\"\n [ariaHidden]=\"hintData.ariaHidden\"\n [ariaDisabled]=\"hintData.ariaDisabled\"\n [ariaControls]=\"hintData.ariaControls\"\n [ariaCurrent]=\"hintData.ariaCurrent\"\n [ariaLive]=\"hintData.ariaLive\"\n [ariaExpanded]=\"hintData.ariaExpanded\"\n [ariaErrorMessage]=\"hintData.ariaErrorMessage\"\n [ariaHasPopup]=\"hintData.ariaHasPopup\"\n [tabindex]=\"hintData.tabindex\"></desy-hint>\n <desy-hint *ngIf=\"!hintRef && !hintData && hintText\"\n [text]=\"hintText\"\n [id]=\"getHintId()\"></desy-hint>\n </ng-container>\n\n\n <ng-container *ngIf=\"hasErrorMessageComponent()\">\n <ng-content select=\"desy-error-message\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasErrorMessageComponent()\">\n <ng-container *ngTemplateOutlet=\"errorMessageRef\"></ng-container>\n <desy-error-message *ngIf=\"!errorMessageRef && errorMessageData\"\n [id]=\"getErrorId()\"\n [text]=\"errorMessageData.text\"\n [html]=\"errorMessageData.html\"\n [classes]=\"errorMessageData.classes\"\n [visuallyHiddenText]=\"errorMessageData.visuallyHiddenText\"\n [role]=\"errorMessageData.role\"\n [ariaLabel]=\"errorMessageData.ariaLabel\"\n [ariaDescribedBy]=\"errorMessageData.ariaDescribedBy\"\n [ariaLabelledBy]=\"errorMessageData.ariaLabelledBy\"\n [ariaHidden]=\"errorMessageData.ariaHidden\"\n [ariaDisabled]=\"errorMessageData.ariaDisabled\"\n [ariaControls]=\"errorMessageData.ariaControls\"\n [ariaCurrent]=\"errorMessageData.ariaCurrent\"\n [ariaLive]=\"errorMessageData.ariaLive\"\n [ariaExpanded]=\"errorMessageData.ariaExpanded\"\n [ariaErrorMessage]=\"errorMessageData.ariaErrorMessage\"\n [ariaHasPopup]=\"errorMessageData.ariaHasPopup\"\n [tabindex]=\"errorMessageData.tabindex\"></desy-error-message>\n <desy-error-message *ngIf=\"!errorMessageRef && !errorMessageData && errorMessageText\"\n [text]=\"errorMessageText\"\n [id]=\"getErrorId()\"></desy-error-message>\n </ng-container>\n\n <!-- With reactive forms -->\n <div *ngIf=\"controlContainer && !ngModelGroup\"\n [formGroup]=\"ogFormGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [formControlName]=\"getItemName(item)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n\n <!-- Template-driven forms -->\n <desy-template-driven-wrapper *ngIf=\"controlContainer && ngModelGroup\">\n <div [ngModelGroup]=\"ngModelGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </desy-template-driven-wrapper>\n\n <!-- With ngModel-->\n <div *ngIf=\"!controlContainer\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-container *ngIf=\"hasFieldsetComponent()\">\n <ng-content select=\"desy-fieldset\"></ng-content>\n</ng-container>\n<ng-container *ngIf=\"!hasFieldsetComponent()\">\n <desy-fieldset *ngIf=\"fieldsetData\"\n [classes]=\"fieldsetData.classes\"\n [id]=\"fieldsetData.id\"\n [legendData]=\"fieldsetData.legend\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[fieldsetData.describedBy, getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"\n [ariaLabel]=\"fieldsetData.ariaLabel\"\n [ariaLabelledBy]=\"fieldsetData.ariaLabelledBy\"\n [ariaHidden]=\"fieldsetData.ariaHidden\"\n [ariaDisabled]=\"fieldsetData.ariaDisabled\"\n [ariaControls]=\"fieldsetData.ariaControls\"\n [ariaCurrent]=\"fieldsetData.ariaCurrent\"\n [ariaLive]=\"fieldsetData.ariaLive\"\n [ariaExpanded]=\"fieldsetData.ariaExpanded\"\n [ariaHasPopup]=\"fieldsetData.ariaHasPopup\"\n [tabindex]=\"fieldsetData.tabindex\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && hasLegendComponent()\"\n [legendRef]=\"legendTemplate\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\">\n <ng-template #legendTemplate>\n <ng-content select=\"desy-legend\"></ng-content>\n </ng-template>\n </desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && legendRef\"\n [legendRef]=\"legendRef\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && legendData\"\n [legendData]=\"{text: legendData.text, html: legendData.html, classes: legendData.classes, isPageHeading: legendData.isPageHeading}\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && !legendData && legendText\"\n [legendText]=\"legendText\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n</ng-container>\n\n<ng-container *ngIf=\"!hasFieldset()\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$1.NgModelGroup, selector: "[ngModelGroup]", inputs: ["ngModelGroup"], exportAs: ["ngModelGroup"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: TemplateDrivenWrapperComponent, selector: "desy-template-driven-wrapper" }, { kind: "component", type: HintComponent, selector: "desy-hint", inputs: ["id", "classes", "html", "text"] }, { kind: "component", type: ErrorMessageComponent, selector: "desy-error-message", inputs: ["id", "classes", "html", "text", "visuallyHiddenText"] }, { kind: "component", type: FieldsetComponent, selector: "desy-fieldset", inputs: ["describedBy", "errorId", "legendRef", "legendData", "legendText", "classes", "caller", "id", "headingLevel"] }, { kind: "component", type: InputComponent, selector: "desy-input", inputs: ["name", "type", "describedBy", "pattern", "inputmode", "placeholder", "formGroupClasses", "classes", "autocomplete", "maxlength", "errorId", "attributes"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
3600
|
+
], queries: [{ propertyName: "fieldsetComponent", predicate: FieldsetComponent }, { propertyName: "errorMessageComponent", predicate: ErrorMessageComponent }, { propertyName: "legendComponent", predicate: LegendComponent }, { propertyName: "dateInputItemComponents", predicate: DateInputItemComponent }], viewQueries: [{ propertyName: "innerHtml", first: true, predicate: ["innerHtml"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-template #innerHtml>\n <ng-container *ngIf=\"hasHintComponent()\">\n <ng-content select=\"desy-hint\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasHintComponent()\">\n <ng-container *ngTemplateOutlet=\"hintRef\"></ng-container>\n <desy-hint *ngIf=\"!hintRef && hintData\"\n [id]=\"getHintId()\"\n [text]=\"hintData.text\"\n [html]=\"hintData.html\"\n [classes]=\"hintData.classes\"\n [role]=\"hintData.role\"\n [ariaLabel]=\"hintData.ariaLabel\"\n [ariaDescribedBy]=\"hintData.ariaDescribedBy\"\n [ariaLabelledBy]=\"hintData.ariaLabelledBy\"\n [ariaHidden]=\"hintData.ariaHidden\"\n [ariaDisabled]=\"hintData.ariaDisabled\"\n [ariaControls]=\"hintData.ariaControls\"\n [ariaCurrent]=\"hintData.ariaCurrent\"\n [ariaLive]=\"hintData.ariaLive\"\n [ariaExpanded]=\"hintData.ariaExpanded\"\n [ariaErrorMessage]=\"hintData.ariaErrorMessage\"\n [ariaHasPopup]=\"hintData.ariaHasPopup\"\n [tabindex]=\"hintData.tabindex\"></desy-hint>\n <desy-hint *ngIf=\"!hintRef && !hintData && hintText\"\n [text]=\"hintText\"\n [id]=\"getHintId()\"></desy-hint>\n </ng-container>\n\n\n <ng-container *ngIf=\"hasErrorMessageComponent()\">\n <ng-content select=\"desy-error-message\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasErrorMessageComponent()\">\n <ng-container *ngTemplateOutlet=\"errorMessageRef\"></ng-container>\n <desy-error-message *ngIf=\"!errorMessageRef && errorMessageData\"\n [id]=\"getErrorId()\"\n [text]=\"errorMessageData.text\"\n [html]=\"errorMessageData.html\"\n [classes]=\"errorMessageData.classes\"\n [visuallyHiddenText]=\"errorMessageData.visuallyHiddenText\"\n [role]=\"errorMessageData.role\"\n [ariaLabel]=\"errorMessageData.ariaLabel\"\n [ariaDescribedBy]=\"errorMessageData.ariaDescribedBy\"\n [ariaLabelledBy]=\"errorMessageData.ariaLabelledBy\"\n [ariaHidden]=\"errorMessageData.ariaHidden\"\n [ariaDisabled]=\"errorMessageData.ariaDisabled\"\n [ariaControls]=\"errorMessageData.ariaControls\"\n [ariaCurrent]=\"errorMessageData.ariaCurrent\"\n [ariaLive]=\"errorMessageData.ariaLive\"\n [ariaExpanded]=\"errorMessageData.ariaExpanded\"\n [ariaErrorMessage]=\"errorMessageData.ariaErrorMessage\"\n [ariaHasPopup]=\"errorMessageData.ariaHasPopup\"\n [tabindex]=\"errorMessageData.tabindex\"></desy-error-message>\n <desy-error-message *ngIf=\"!errorMessageRef && !errorMessageData && errorMessageText\"\n [text]=\"errorMessageText\"\n [id]=\"getErrorId()\"></desy-error-message>\n </ng-container>\n\n <!-- With reactive forms -->\n <div *ngIf=\"controlContainer && !ngModelGroup\"\n [formGroup]=\"ogFormGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [formControlName]=\"getItemName(item)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n\n <!-- Template-driven forms -->\n <desy-template-driven-wrapper *ngIf=\"controlContainer && ngModelGroup\">\n <div [ngModelGroup]=\"ngModelGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </desy-template-driven-wrapper>\n\n <!-- With ngModel-->\n <div *ngIf=\"!controlContainer\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-container *ngIf=\"hasFieldsetComponent()\">\n <ng-content select=\"desy-fieldset\"></ng-content>\n</ng-container>\n<ng-container *ngIf=\"!hasFieldsetComponent()\">\n <desy-fieldset *ngIf=\"fieldsetData\"\n [classes]=\"fieldsetData.classes\"\n [id]=\"fieldsetData.id\"\n [legendData]=\"fieldsetData.legend\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[fieldsetData.describedBy, getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"\n [ariaLabel]=\"fieldsetData.ariaLabel\"\n [ariaLabelledBy]=\"fieldsetData.ariaLabelledBy\"\n [ariaHidden]=\"fieldsetData.ariaHidden\"\n [ariaDisabled]=\"fieldsetData.ariaDisabled\"\n [ariaControls]=\"fieldsetData.ariaControls\"\n [ariaCurrent]=\"fieldsetData.ariaCurrent\"\n [ariaLive]=\"fieldsetData.ariaLive\"\n [ariaExpanded]=\"fieldsetData.ariaExpanded\"\n [ariaHasPopup]=\"fieldsetData.ariaHasPopup\"\n [tabindex]=\"fieldsetData.tabindex\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && hasLegendComponent()\"\n [legendRef]=\"legendTemplate\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\">\n <ng-template #legendTemplate>\n <ng-content select=\"desy-legend\"></ng-content>\n </ng-template>\n </desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && legendRef\"\n [legendRef]=\"legendRef\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && legendData\"\n [legendData]=\"{text: legendData.text, html: legendData.html, classes: legendData.classes, isPageHeading: legendData.isPageHeading}\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && !legendData && legendText\"\n [legendText]=\"legendText\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n</ng-container>\n\n<ng-container *ngIf=\"!hasFieldset()\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1$1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$1.NgModelGroup, selector: "[ngModelGroup]", inputs: ["ngModelGroup"], exportAs: ["ngModelGroup"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: TemplateDrivenWrapperComponent, selector: "desy-template-driven-wrapper" }, { kind: "component", type: HintComponent, selector: "desy-hint", inputs: ["id", "classes", "html", "text"] }, { kind: "component", type: ErrorMessageComponent, selector: "desy-error-message", inputs: ["id", "classes", "html", "text", "visuallyHiddenText"] }, { kind: "component", type: FieldsetComponent, selector: "desy-fieldset", inputs: ["describedBy", "errorId", "legendRef", "legendData", "legendText", "classes", "caller", "id", "headingLevel"] }, { kind: "component", type: InputComponent, selector: "desy-input", inputs: ["name", "type", "describedBy", "pattern", "inputmode", "placeholder", "formGroupClasses", "classes", "autocomplete", "maxlength", "errorId", "attributes"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
3584
3601
|
}
|
|
3585
3602
|
__decorate([
|
|
3586
3603
|
DesyOnInputChange('onExternalChange'),
|
|
@@ -3610,7 +3627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3610
3627
|
useExisting: forwardRef(() => DateInputComponent),
|
|
3611
3628
|
multi: true
|
|
3612
3629
|
}
|
|
3613
|
-
], template: "<ng-template #innerHtml>\n <ng-container *ngIf=\"hasHintComponent()\">\n <ng-content select=\"desy-hint\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasHintComponent()\">\n <ng-container *ngTemplateOutlet=\"hintRef\"></ng-container>\n <desy-hint *ngIf=\"!hintRef && hintData\"\n [id]=\"getHintId()\"\n [text]=\"hintData.text\"\n [html]=\"hintData.html\"\n [classes]=\"hintData.classes\"\n [role]=\"hintData.role\"\n [ariaLabel]=\"hintData.ariaLabel\"\n [ariaDescribedBy]=\"hintData.ariaDescribedBy\"\n [ariaLabelledBy]=\"hintData.ariaLabelledBy\"\n [ariaHidden]=\"hintData.ariaHidden\"\n [ariaDisabled]=\"hintData.ariaDisabled\"\n [ariaControls]=\"hintData.ariaControls\"\n [ariaCurrent]=\"hintData.ariaCurrent\"\n [ariaLive]=\"hintData.ariaLive\"\n [ariaExpanded]=\"hintData.ariaExpanded\"\n [ariaErrorMessage]=\"hintData.ariaErrorMessage\"\n [ariaHasPopup]=\"hintData.ariaHasPopup\"\n [tabindex]=\"hintData.tabindex\"></desy-hint>\n <desy-hint *ngIf=\"!hintRef && !hintData && hintText\"\n [text]=\"hintText\"\n [id]=\"getHintId()\"></desy-hint>\n </ng-container>\n\n\n <ng-container *ngIf=\"hasErrorMessageComponent()\">\n <ng-content select=\"desy-error-message\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasErrorMessageComponent()\">\n <ng-container *ngTemplateOutlet=\"errorMessageRef\"></ng-container>\n <desy-error-message *ngIf=\"!errorMessageRef && errorMessageData\"\n [id]=\"getErrorId()\"\n [text]=\"errorMessageData.text\"\n [html]=\"errorMessageData.html\"\n [classes]=\"errorMessageData.classes\"\n [visuallyHiddenText]=\"errorMessageData.visuallyHiddenText\"\n [role]=\"errorMessageData.role\"\n [ariaLabel]=\"errorMessageData.ariaLabel\"\n [ariaDescribedBy]=\"errorMessageData.ariaDescribedBy\"\n [ariaLabelledBy]=\"errorMessageData.ariaLabelledBy\"\n [ariaHidden]=\"errorMessageData.ariaHidden\"\n [ariaDisabled]=\"errorMessageData.ariaDisabled\"\n [ariaControls]=\"errorMessageData.ariaControls\"\n [ariaCurrent]=\"errorMessageData.ariaCurrent\"\n [ariaLive]=\"errorMessageData.ariaLive\"\n [ariaExpanded]=\"errorMessageData.ariaExpanded\"\n [ariaErrorMessage]=\"errorMessageData.ariaErrorMessage\"\n [ariaHasPopup]=\"errorMessageData.ariaHasPopup\"\n [tabindex]=\"errorMessageData.tabindex\"></desy-error-message>\n <desy-error-message *ngIf=\"!errorMessageRef && !errorMessageData && errorMessageText\"\n [text]=\"errorMessageText\"\n [id]=\"getErrorId()\"></desy-error-message>\n </ng-container>\n\n <!-- With reactive forms -->\n <div *ngIf=\"controlContainer && !ngModelGroup\"\n [formGroup]=\"ogFormGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [formControlName]=\"getItemName(item)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n\n <!-- Template-driven forms -->\n <desy-template-driven-wrapper *ngIf=\"controlContainer && ngModelGroup\">\n <div [ngModelGroup]=\"ngModelGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </desy-template-driven-wrapper>\n\n <!-- With ngModel-->\n <div *ngIf=\"!controlContainer\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-container *ngIf=\"hasFieldsetComponent()\">\n <ng-content select=\"desy-fieldset\"></ng-content>\n</ng-container>\n<ng-container *ngIf=\"!hasFieldsetComponent()\">\n <desy-fieldset *ngIf=\"fieldsetData\"\n [classes]=\"fieldsetData.classes\"\n [id]=\"fieldsetData.id\"\n [legendData]=\"fieldsetData.legend\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[fieldsetData.describedBy, getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"\n [ariaLabel]=\"fieldsetData.ariaLabel\"\n [ariaLabelledBy]=\"fieldsetData.ariaLabelledBy\"\n [ariaHidden]=\"fieldsetData.ariaHidden\"\n [ariaDisabled]=\"fieldsetData.ariaDisabled\"\n [ariaControls]=\"fieldsetData.ariaControls\"\n [ariaCurrent]=\"fieldsetData.ariaCurrent\"\n [ariaLive]=\"fieldsetData.ariaLive\"\n [ariaExpanded]=\"fieldsetData.ariaExpanded\"\n [ariaHasPopup]=\"fieldsetData.ariaHasPopup\"\n [tabindex]=\"fieldsetData.tabindex\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && hasLegendComponent()\"\n [legendRef]=\"legendTemplate\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\">\n <ng-template #legendTemplate>\n <ng-content select=\"desy-legend\"></ng-content>\n </ng-template>\n </desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && legendRef\"\n [legendRef]=\"legendRef\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && legendData\"\n [legendData]=\"{text: legendData.text, html: legendData.html, classes: legendData.classes, isPageHeading: legendData.isPageHeading}\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && !legendData && legendText\"\n [legendText]=\"legendText\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n</ng-container>\n\n<ng-container *ngIf=\"!hasFieldset()\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ng-container>" }]
|
|
3630
|
+
], template: "<ng-template #innerHtml>\n <ng-container *ngIf=\"hasHintComponent()\">\n <ng-content select=\"desy-hint\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasHintComponent()\">\n <ng-container *ngTemplateOutlet=\"hintRef\"></ng-container>\n <desy-hint *ngIf=\"!hintRef && hintData\"\n [id]=\"getHintId()\"\n [text]=\"hintData.text\"\n [html]=\"hintData.html\"\n [classes]=\"hintData.classes\"\n [role]=\"hintData.role\"\n [ariaLabel]=\"hintData.ariaLabel\"\n [ariaDescribedBy]=\"hintData.ariaDescribedBy\"\n [ariaLabelledBy]=\"hintData.ariaLabelledBy\"\n [ariaHidden]=\"hintData.ariaHidden\"\n [ariaDisabled]=\"hintData.ariaDisabled\"\n [ariaControls]=\"hintData.ariaControls\"\n [ariaCurrent]=\"hintData.ariaCurrent\"\n [ariaLive]=\"hintData.ariaLive\"\n [ariaExpanded]=\"hintData.ariaExpanded\"\n [ariaErrorMessage]=\"hintData.ariaErrorMessage\"\n [ariaHasPopup]=\"hintData.ariaHasPopup\"\n [tabindex]=\"hintData.tabindex\"></desy-hint>\n <desy-hint *ngIf=\"!hintRef && !hintData && hintText\"\n [text]=\"hintText\"\n [id]=\"getHintId()\"></desy-hint>\n </ng-container>\n\n\n <ng-container *ngIf=\"hasErrorMessageComponent()\">\n <ng-content select=\"desy-error-message\"></ng-content>\n </ng-container>\n <ng-container *ngIf=\"!hasErrorMessageComponent()\">\n <ng-container *ngTemplateOutlet=\"errorMessageRef\"></ng-container>\n <desy-error-message *ngIf=\"!errorMessageRef && errorMessageData\"\n [id]=\"getErrorId()\"\n [text]=\"errorMessageData.text\"\n [html]=\"errorMessageData.html\"\n [classes]=\"errorMessageData.classes\"\n [visuallyHiddenText]=\"errorMessageData.visuallyHiddenText\"\n [role]=\"errorMessageData.role\"\n [ariaLabel]=\"errorMessageData.ariaLabel\"\n [ariaDescribedBy]=\"errorMessageData.ariaDescribedBy\"\n [ariaLabelledBy]=\"errorMessageData.ariaLabelledBy\"\n [ariaHidden]=\"errorMessageData.ariaHidden\"\n [ariaDisabled]=\"errorMessageData.ariaDisabled\"\n [ariaControls]=\"errorMessageData.ariaControls\"\n [ariaCurrent]=\"errorMessageData.ariaCurrent\"\n [ariaLive]=\"errorMessageData.ariaLive\"\n [ariaExpanded]=\"errorMessageData.ariaExpanded\"\n [ariaErrorMessage]=\"errorMessageData.ariaErrorMessage\"\n [ariaHasPopup]=\"errorMessageData.ariaHasPopup\"\n [tabindex]=\"errorMessageData.tabindex\"></desy-error-message>\n <desy-error-message *ngIf=\"!errorMessageRef && !errorMessageData && errorMessageText\"\n [text]=\"errorMessageText\"\n [id]=\"getErrorId()\"></desy-error-message>\n </ng-container>\n\n <!-- With reactive forms -->\n <div *ngIf=\"controlContainer && !ngModelGroup\"\n [formGroup]=\"ogFormGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [formControlName]=\"getItemName(item)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n\n <!-- Template-driven forms -->\n <desy-template-driven-wrapper *ngIf=\"controlContainer && ngModelGroup\">\n <div [ngModelGroup]=\"ngModelGroup\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </desy-template-driven-wrapper>\n\n <!-- With ngModel-->\n <div *ngIf=\"!controlContainer\"\n [class]=\"['flex', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n\n <ng-container *ngIf=\"item.divider\">\n <div role=\"separator\"\n [ngClass]=\"item.divider.classes\">\n <ng-container\n *desyCustomInnerContent=\"{ template: getItemDividerTemplate(item), html: getItemDividerHtml(item) }\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!item.divider\">\n <div class=\"mr-base\">\n <desy-input [labelData]=\"getItemLabel(item)\"\n [labelRef]=\"getItemLabelRef(item)\"\n [id]=\"item.id ? item.id : id + '-' + item.name\"\n [classes]=\"['mb-0', item.classes] | makeHtmlList\"\n [errorId]=\"item.hasErrors ? getErrorId() : null\"\n [name]=\"getItemName(item)\"\n [ngModel]=\"item.value\"\n (ngModelChange)=\"onInternalChange(item, +$event)\"\n [type]=\"'text'\"\n [inputmode]=\"'numeric'\"\n [autocomplete]=\"item.autocomplete\"\n [pattern]=\"item.pattern ? item.pattern : '[0-9]*'\"\n [disabled]=\"disabled ? true : null\"\n [placeholder]=\"item.placeholder\"\n [maxlength]=\"item.maxlength\"\n [role]=\"item.role\"\n [ariaLabel]=\"item.ariaLabel\"\n [ariaDescribedBy]=\"item.ariaDescribedBy\"\n [ariaLabelledBy]=\"item.ariaLabelledBy\"\n [ariaHidden]=\"item.ariaHidden\"\n [ariaDisabled]=\"item.ariaDisabled\"\n [ariaControls]=\"item.ariaControls\"\n [ariaCurrent]=\"item.ariaCurrent\"\n [ariaLive]=\"item.ariaLive\"\n [ariaExpanded]=\"item.ariaExpanded\"\n [ariaErrorMessage]=\"item.ariaErrorMessage\"\n [ariaHasPopup]=\"item.ariaHasPopup\"\n [tabindex]=\"item.tabindex\"\n [ariaModal]=\"item.ariaModal\"\n [ariaChecked]=\"item.ariaChecked\"\n [ariaPressed]=\"item.ariaPressed\"\n [ariaReadonly]=\"item.ariaReadonly\"\n [ariaRequired]=\"item.ariaRequired\"\n [ariaSelected]=\"item.ariaSelected\"\n [ariaValuemin]=\"item.ariaValuemin\"\n [ariaValuemax]=\"item.ariaValuemax\"\n [ariaValuenow]=\"item.ariaValuenow\"\n [ariaValuetext]=\"item.ariaValuetext\"\n [ariaOrientation]=\"item.ariaOrientation\"\n [ariaLevel]=\"item.ariaLevel\"\n [ariaMultiselectable]=\"item.ariaMultiselectable\"\n [ariaPlaceholder]=\"item.ariaPlaceholder\"\n [ariaPosinset]=\"item.ariaPosinset\"\n [ariaSetsize]=\"item.ariaSetsize\"\n [ariaSort]=\"item.ariaSort\"\n [ariaBusy]=\"item.ariaBusy\"\n [ariaDropeffect]=\"item.ariaDropeffect\"\n [ariaGrabbed]=\"item.ariaGrabbed\"\n [ariaActivedescendant]=\"item.ariaActivedescendant\"\n [ariaAtomic]=\"item.ariaAtomic\"\n [ariaAutocomplete]=\"item.ariaAutocomplete\"\n [ariaBraillelabel]=\"item.ariaBraillelabel\"\n [ariaBrailleroledescription]=\"item.ariaBrailleroledescription\"\n [ariaColcount]=\"item.ariaColcount\"\n [ariaColindex]=\"item.ariaColindex\"\n [ariaColindextext]=\"item.ariaColindextext\"\n [ariaColspan]=\"item.ariaColspan\"\n [ariaDescription]=\"item.ariaDescription\"\n [ariaDetails]=\"item.ariaDetails\"\n [ariaFlowto]=\"item.ariaFlowto\"\n [ariaInvalid]=\"item.ariaInvalid\"\n [ariaKeyshortcuts]=\"item.ariaKeyshortcuts\"\n [ariaOwns]=\"item.ariaOwns\"\n [ariaRelevant]=\"item.ariaRelevant\"\n [ariaRoledescription]=\"item.ariaRoledescription\"\n [ariaRowcount]=\"item.ariaRowcount\"\n [ariaRowindex]=\"item.ariaRowindex\"\n [ariaRowindextext]=\"item.ariaRowindextext\"\n [ariaRowspan]=\"item.ariaRowspan\"\n [title]=\"item.title\"\n [alt]=\"item.alt\"\n [lang]=\"item.lang\"\n [accesskey]=\"item.accesskey\"\n [autofocus]=\"item.autofocus\"\n [contenteditable]=\"item.contenteditable\"\n [dir]=\"item.dir\"\n [draggable]=\"item.draggable\"\n [enterkeyhint]=\"item.enterkeyhint\"\n [hidden]=\"item.hidden\"\n [spellcheck]=\"item.spellcheck\"\n [translate]=\"item.translate\"\n [ariaMultiline]=\"item.ariaMultiline\"\n [for]=\"item.for\"\n [form]=\"item.form\"\n [headers]=\"item.headers\"\n [readonly]=\"item.readonly\"\n [required]=\"item.required\"></desy-input>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</ng-template>\n\n<ng-container *ngIf=\"hasFieldsetComponent()\">\n <ng-content select=\"desy-fieldset\"></ng-content>\n</ng-container>\n<ng-container *ngIf=\"!hasFieldsetComponent()\">\n <desy-fieldset *ngIf=\"fieldsetData\"\n [classes]=\"fieldsetData.classes\"\n [id]=\"fieldsetData.id\"\n [legendData]=\"fieldsetData.legend\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[fieldsetData.describedBy, getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"\n [ariaLabel]=\"fieldsetData.ariaLabel\"\n [ariaLabelledBy]=\"fieldsetData.ariaLabelledBy\"\n [ariaHidden]=\"fieldsetData.ariaHidden\"\n [ariaDisabled]=\"fieldsetData.ariaDisabled\"\n [ariaControls]=\"fieldsetData.ariaControls\"\n [ariaCurrent]=\"fieldsetData.ariaCurrent\"\n [ariaLive]=\"fieldsetData.ariaLive\"\n [ariaExpanded]=\"fieldsetData.ariaExpanded\"\n [ariaHasPopup]=\"fieldsetData.ariaHasPopup\"\n [tabindex]=\"fieldsetData.tabindex\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && hasLegendComponent()\"\n [legendRef]=\"legendTemplate\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\">\n <ng-template #legendTemplate>\n <ng-content select=\"desy-legend\"></ng-content>\n </ng-template>\n </desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && legendRef\"\n [legendRef]=\"legendRef\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && legendData\"\n [legendData]=\"{text: legendData.text, html: legendData.html, classes: legendData.classes, isPageHeading: legendData.isPageHeading}\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n <desy-fieldset *ngIf=\"!fieldsetData && !hasLegendComponent() && !legendRef && !legendData && legendText\"\n [legendText]=\"legendText\"\n [caller]=\"innerHtml\"\n [errorId]=\"getErrorId()\"\n [describedBy]=\"[ getHintId(), getErrorId()] | makeHtmlList:null\"\n role=\"group\"></desy-fieldset>\n</ng-container>\n\n<ng-container *ngIf=\"!hasFieldset()\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ng-container>" }]
|
|
3614
3631
|
}], ctorParameters: function () { return [{ type: i1$1.ControlContainer, decorators: [{
|
|
3615
3632
|
type: Optional
|
|
3616
3633
|
}] }]; }, propDecorators: { ngModelGroup: [{
|
|
@@ -3665,6 +3682,184 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3665
3682
|
args: ['innerHtml', { static: true }]
|
|
3666
3683
|
}] } });
|
|
3667
3684
|
|
|
3685
|
+
class DatepickerComponent extends FormFieldComponent {
|
|
3686
|
+
constructor() {
|
|
3687
|
+
super();
|
|
3688
|
+
this.standalone = false;
|
|
3689
|
+
}
|
|
3690
|
+
ngAfterViewInit() {
|
|
3691
|
+
const inputElement = this.calendar.nativeElement.getElementsByTagName('input')[0];
|
|
3692
|
+
if (inputElement && !this.standalone) {
|
|
3693
|
+
const dropdownId = inputElement.getAttribute('id');
|
|
3694
|
+
const datepickerDropdown = inputElement.parentNode.querySelector('desy-dropdown button');
|
|
3695
|
+
let isOpen = false;
|
|
3696
|
+
const focusCalendar = () => {
|
|
3697
|
+
const inputInitialValue = inputElement.value;
|
|
3698
|
+
requestAnimationFrame(() => {
|
|
3699
|
+
const datepickerSelect = this.calendar.nativeElement.querySelector(':is(select)');
|
|
3700
|
+
const datepickerCalendar = this.calendar.nativeElement.querySelector(':is(calendar-date, calendar-multi, calendar-range)');
|
|
3701
|
+
const datepickerInitialValue = datepickerCalendar?.value;
|
|
3702
|
+
if (this.value && datepickerCalendar) {
|
|
3703
|
+
console.log(datepickerCalendar);
|
|
3704
|
+
datepickerCalendar.value = this.value;
|
|
3705
|
+
inputElement.value = this.value;
|
|
3706
|
+
datepickerCalendar.focus();
|
|
3707
|
+
}
|
|
3708
|
+
else {
|
|
3709
|
+
this.value = datepickerInitialValue;
|
|
3710
|
+
inputElement.value = this.value;
|
|
3711
|
+
this.onChange(this.value);
|
|
3712
|
+
}
|
|
3713
|
+
if (datepickerSelect) {
|
|
3714
|
+
datepickerSelect.addEventListener('change', function () {
|
|
3715
|
+
const selectedValue = this.value;
|
|
3716
|
+
datepickerCalendar.min = selectedValue + "-01-01";
|
|
3717
|
+
datepickerCalendar.max = selectedValue + "-31-12";
|
|
3718
|
+
datepickerCalendar.focusedDate = datepickerCalendar.min;
|
|
3719
|
+
});
|
|
3720
|
+
datepickerSelect.focus();
|
|
3721
|
+
}
|
|
3722
|
+
const datepickerCancel = this.calendar.nativeElement.querySelector('#' + dropdownId + '-cancel');
|
|
3723
|
+
const datepickerSubmit = this.calendar.nativeElement.querySelector('#' + dropdownId + '-submit');
|
|
3724
|
+
if (datepickerCancel) {
|
|
3725
|
+
datepickerCancel.onclick = () => {
|
|
3726
|
+
inputElement.value = inputInitialValue;
|
|
3727
|
+
datepickerCalendar.tentative = "";
|
|
3728
|
+
datepickerCalendar.value = datepickerInitialValue;
|
|
3729
|
+
closeDropdown();
|
|
3730
|
+
};
|
|
3731
|
+
}
|
|
3732
|
+
if (datepickerSubmit) {
|
|
3733
|
+
datepickerSubmit.onclick = () => {
|
|
3734
|
+
this.value = datepickerCalendar?.value;
|
|
3735
|
+
inputElement.value = this.value;
|
|
3736
|
+
this.onChange(this.value);
|
|
3737
|
+
closeDropdown();
|
|
3738
|
+
};
|
|
3739
|
+
}
|
|
3740
|
+
});
|
|
3741
|
+
};
|
|
3742
|
+
const closeDropdown = () => {
|
|
3743
|
+
setTimeout(() => {
|
|
3744
|
+
isOpen = false;
|
|
3745
|
+
inputElement.focus();
|
|
3746
|
+
}, 300);
|
|
3747
|
+
};
|
|
3748
|
+
const observer = new MutationObserver((mutations) => {
|
|
3749
|
+
mutations.forEach((mutation) => {
|
|
3750
|
+
if (mutation.type === 'attributes' && mutation.attributeName === 'aria-expanded') {
|
|
3751
|
+
const currentExpandedValue = mutation.target.getAttribute('aria-expanded');
|
|
3752
|
+
if (currentExpandedValue !== isOpen.toString()) {
|
|
3753
|
+
const datepickerTimeout = setTimeout(focusCalendar, 0);
|
|
3754
|
+
isOpen = currentExpandedValue === 'true';
|
|
3755
|
+
if (!isOpen) {
|
|
3756
|
+
clearTimeout(datepickerTimeout);
|
|
3757
|
+
closeDropdown();
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3761
|
+
});
|
|
3762
|
+
});
|
|
3763
|
+
observer.observe(datepickerDropdown, { attributes: true, attributeFilter: ['aria-expanded'] });
|
|
3764
|
+
}
|
|
3765
|
+
else {
|
|
3766
|
+
const datepickerSelect = this.calendar.nativeElement.querySelector(':is(select)');
|
|
3767
|
+
const datepickerCalendar = this.calendar.nativeElement.querySelector(':is(calendar-date, calendar-multi, calendar-range)');
|
|
3768
|
+
if (datepickerSelect) {
|
|
3769
|
+
datepickerSelect.addEventListener('change', function () {
|
|
3770
|
+
const selectedValue = this.value;
|
|
3771
|
+
datepickerCalendar.min = selectedValue + "-01-01";
|
|
3772
|
+
datepickerCalendar.max = selectedValue + "-31-12";
|
|
3773
|
+
datepickerCalendar.focusedDate = datepickerCalendar.min;
|
|
3774
|
+
});
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
onInput(event) {
|
|
3779
|
+
this.value = event.target.value;
|
|
3780
|
+
this.onChange(this.value);
|
|
3781
|
+
}
|
|
3782
|
+
ngDoCheck() {
|
|
3783
|
+
if (this.attributes) {
|
|
3784
|
+
this.setAttributes();
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
setAttributes() {
|
|
3788
|
+
const input = this.calendar.nativeElement.getElementsByTagName('input')[0];
|
|
3789
|
+
const attr = this.attributes;
|
|
3790
|
+
Object.keys(attr).forEach(key => {
|
|
3791
|
+
input?.setAttribute(key, attr[key]);
|
|
3792
|
+
});
|
|
3793
|
+
}
|
|
3794
|
+
writeValue(value) {
|
|
3795
|
+
if (value) {
|
|
3796
|
+
this.value = value || '';
|
|
3797
|
+
}
|
|
3798
|
+
else {
|
|
3799
|
+
this.value = '';
|
|
3800
|
+
}
|
|
3801
|
+
this.onChange(this.value);
|
|
3802
|
+
}
|
|
3803
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3804
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DatepickerComponent, selector: "desy-datepicker", inputs: { containerClasses: "containerClasses", standalone: "standalone", formGroupClasses: "formGroupClasses", id: "id", name: "name", type: "type", inputmode: "inputmode", describedBy: "describedBy", errorId: "errorId", classes: "classes", autocomplete: "autocomplete", pattern: "pattern", placeholder: "placeholder", attributes: "attributes", dropdownClasses: "dropdownClasses" }, providers: [
|
|
3805
|
+
{
|
|
3806
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3807
|
+
useExisting: forwardRef(() => DatepickerComponent),
|
|
3808
|
+
multi: true
|
|
3809
|
+
}
|
|
3810
|
+
], queries: [{ propertyName: "errorMessage", predicate: ErrorMessageComponent }], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div #calendar\n class=\"c-datepicker\"\n [ngClass]=\"containerClasses\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngIf=\"standalone\">\n <ng-container *ngTemplateOutlet=\"calendarContent\"></ng-container>\n </ng-container>\n <div *ngIf=\"!standalone\"\n class=\"c-form-group\"\n [ngClass]=\"formGroupClasses\">\n <ng-content select=\"desy-label\"></ng-content>\n <ng-content select=\"desy-hint\"></ng-content> \n <ng-content select=\"desy-error-message\"></ng-content>\n\n <div class=\"relative \">\n <input class=\"c-input block mt-sm border-black rounded font-semibold placeholder-neutral-dark focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base pr-16 w-full\"\n [ngClass]=\"{'border-alert-base ring-2 ring-alert-base': errorMessage}\"\n [attr.id]=\"id\"\n [attr.name]=\"name\"\n [type]=\"type || 'text'\"\n [attr.value]=\"value\"\n [attr.aria-describedby]=\"describedBy || (errorMessage || errorId ? errorId : null)\"\n [attr.aria-errormessage]=\"errorMessage || errorId ? errorId : null\"\n [attr.aria-invalid]=\"errorMessage || errorId ? 'true' : null\"\n [attr.autocomplete]=\"autocomplete\"\n [attr.pattern]=\"pattern\"\n [attr.inputmode]=\"inputmode\"\n (input)=\"onInput($event)\"\n [attr.placeholder]=\"placeholder\"\n [disabled]=\"disabled\" />\n\n\n <div class=\"absolute top-0 right-0\">\n <desy-dropdown [classes]=\"dropdownClasses ? dropdownClasses : 'c-dropdown--transparent'\"\n [disabled]=\"disabled\"\n (blur)=\"onBlur($event)\"\n [id]=\"id+'-dropdown'\">\n <span class=\"sr-only\">Seleccionar fecha con una tabla de calendario</span><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 14 14\"\n width=\"1.375em\"\n height=\"1.375em\"\n aria-hidden=\"true\">\n <g>\n <path fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.5 1.5c0 -0.552285 -0.44772 -1 -1 -1s-1 0.447715 -1 1v1H2C1.17157 2.5 0.5 3.17157 0.5 4v8c0 0.8284 0.67157 1.5 1.5 1.5h10c0.8284 0 1.5 -0.6716 1.5 -1.5V4c0 -0.82843 -0.6716 -1.5 -1.5 -1.5h-0.5v-1c0 -0.552285 -0.4477 -1 -1 -1 -0.55229 0 -1 0.447715 -1 1v1h-5v-1Zm-1 5.75c0.55228 0 1 -0.44772 1 -1s-0.44772 -1 -1 -1 -1 0.44772 -1 1 0.44772 1 1 1Zm3.5 0c0.55228 0 1 -0.44772 1 -1s-0.44772 -1 -1 -1 -1 0.44772 -1 1 0.44772 1 1 1Zm-2.5 3c0 0.5523 -0.44772 1 -1 1s-1 -0.4477 -1 -1c0 -0.55229 0.44772 -1 1 -1s1 0.44771 1 1Zm2.5 1c0.55228 0 1 -0.4477 1 -1 0 -0.55229 -0.44772 -1 -1 -1s-1 0.44771 -1 1c0 0.5523 0.44772 1 1 1Zm4.5 -5c0 0.55228 -0.4477 1 -1 1 -0.55229 0 -1 -0.44772 -1 -1s0.44771 -1 1 -1c0.5523 0 1 0.44772 1 1Z\"\n clip-rule=\"evenodd\"\n stroke-width=\"1\"></path>\n </g>\n </svg>\n <desy-content>\n <ng-container *ngTemplateOutlet=\"calendarContent\"></ng-container>\n <ul class=\"flex flex-wrap justify-between gap-sm p-sm\">\n <li>\n <desy-button [id]=\"id + '-submit'\"\n classes=\"c-button--primary c-button--sm\">\n Aceptar\n </desy-button>\n </li>\n <li>\n <desy-button [id]=\"id + '-cancel'\"\n classes=\"c-button--sm\">\n Cancelar\n </desy-button>\n </li>\n </ul>\n </desy-content>\n </desy-dropdown>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #calendarContent>\n <div class=\"p-sm overflow-x-auto\">\n <ng-content></ng-content>\n </div>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: ContentComponent, selector: "desy-content", inputs: ["classes"] }, { kind: "component", type: ButtonComponent, selector: "desy-button", inputs: ["id", "classes", "html", "text", "element", "name", "type", "value", "disabled", "href", "target", "preventDoubleClick", "fragment", "routerLink", "routerLinkActiveClasses"], outputs: ["clickEvent"] }, { kind: "component", type: DropdownComponent, selector: "desy-dropdown", inputs: ["id", "disabled", "hiddenText", "classesContainer", "classesTooltip", "caller", "classes"], outputs: ["clickEvent"] }] }); }
|
|
3811
|
+
}
|
|
3812
|
+
__decorate([
|
|
3813
|
+
DesyContentChild(),
|
|
3814
|
+
__metadata("design:type", ErrorMessageComponent)
|
|
3815
|
+
], DatepickerComponent.prototype, "errorMessage", void 0);
|
|
3816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
3817
|
+
type: Component,
|
|
3818
|
+
args: [{ selector: 'desy-datepicker', providers: [
|
|
3819
|
+
{
|
|
3820
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3821
|
+
useExisting: forwardRef(() => DatepickerComponent),
|
|
3822
|
+
multi: true
|
|
3823
|
+
}
|
|
3824
|
+
], template: "<div #calendar\n class=\"c-datepicker\"\n [ngClass]=\"containerClasses\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngIf=\"standalone\">\n <ng-container *ngTemplateOutlet=\"calendarContent\"></ng-container>\n </ng-container>\n <div *ngIf=\"!standalone\"\n class=\"c-form-group\"\n [ngClass]=\"formGroupClasses\">\n <ng-content select=\"desy-label\"></ng-content>\n <ng-content select=\"desy-hint\"></ng-content> \n <ng-content select=\"desy-error-message\"></ng-content>\n\n <div class=\"relative \">\n <input class=\"c-input block mt-sm border-black rounded font-semibold placeholder-neutral-dark focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base pr-16 w-full\"\n [ngClass]=\"{'border-alert-base ring-2 ring-alert-base': errorMessage}\"\n [attr.id]=\"id\"\n [attr.name]=\"name\"\n [type]=\"type || 'text'\"\n [attr.value]=\"value\"\n [attr.aria-describedby]=\"describedBy || (errorMessage || errorId ? errorId : null)\"\n [attr.aria-errormessage]=\"errorMessage || errorId ? errorId : null\"\n [attr.aria-invalid]=\"errorMessage || errorId ? 'true' : null\"\n [attr.autocomplete]=\"autocomplete\"\n [attr.pattern]=\"pattern\"\n [attr.inputmode]=\"inputmode\"\n (input)=\"onInput($event)\"\n [attr.placeholder]=\"placeholder\"\n [disabled]=\"disabled\" />\n\n\n <div class=\"absolute top-0 right-0\">\n <desy-dropdown [classes]=\"dropdownClasses ? dropdownClasses : 'c-dropdown--transparent'\"\n [disabled]=\"disabled\"\n (blur)=\"onBlur($event)\"\n [id]=\"id+'-dropdown'\">\n <span class=\"sr-only\">Seleccionar fecha con una tabla de calendario</span><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 14 14\"\n width=\"1.375em\"\n height=\"1.375em\"\n aria-hidden=\"true\">\n <g>\n <path fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.5 1.5c0 -0.552285 -0.44772 -1 -1 -1s-1 0.447715 -1 1v1H2C1.17157 2.5 0.5 3.17157 0.5 4v8c0 0.8284 0.67157 1.5 1.5 1.5h10c0.8284 0 1.5 -0.6716 1.5 -1.5V4c0 -0.82843 -0.6716 -1.5 -1.5 -1.5h-0.5v-1c0 -0.552285 -0.4477 -1 -1 -1 -0.55229 0 -1 0.447715 -1 1v1h-5v-1Zm-1 5.75c0.55228 0 1 -0.44772 1 -1s-0.44772 -1 -1 -1 -1 0.44772 -1 1 0.44772 1 1 1Zm3.5 0c0.55228 0 1 -0.44772 1 -1s-0.44772 -1 -1 -1 -1 0.44772 -1 1 0.44772 1 1 1Zm-2.5 3c0 0.5523 -0.44772 1 -1 1s-1 -0.4477 -1 -1c0 -0.55229 0.44772 -1 1 -1s1 0.44771 1 1Zm2.5 1c0.55228 0 1 -0.4477 1 -1 0 -0.55229 -0.44772 -1 -1 -1s-1 0.44771 -1 1c0 0.5523 0.44772 1 1 1Zm4.5 -5c0 0.55228 -0.4477 1 -1 1 -0.55229 0 -1 -0.44772 -1 -1s0.44771 -1 1 -1c0.5523 0 1 0.44772 1 1Z\"\n clip-rule=\"evenodd\"\n stroke-width=\"1\"></path>\n </g>\n </svg>\n <desy-content>\n <ng-container *ngTemplateOutlet=\"calendarContent\"></ng-container>\n <ul class=\"flex flex-wrap justify-between gap-sm p-sm\">\n <li>\n <desy-button [id]=\"id + '-submit'\"\n classes=\"c-button--primary c-button--sm\">\n Aceptar\n </desy-button>\n </li>\n <li>\n <desy-button [id]=\"id + '-cancel'\"\n classes=\"c-button--sm\">\n Cancelar\n </desy-button>\n </li>\n </ul>\n </desy-content>\n </desy-dropdown>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #calendarContent>\n <div class=\"p-sm overflow-x-auto\">\n <ng-content></ng-content>\n </div>\n</ng-template>" }]
|
|
3825
|
+
}], ctorParameters: function () { return []; }, propDecorators: { containerClasses: [{
|
|
3826
|
+
type: Input
|
|
3827
|
+
}], standalone: [{
|
|
3828
|
+
type: Input
|
|
3829
|
+
}], formGroupClasses: [{
|
|
3830
|
+
type: Input
|
|
3831
|
+
}], id: [{
|
|
3832
|
+
type: Input
|
|
3833
|
+
}], name: [{
|
|
3834
|
+
type: Input
|
|
3835
|
+
}], type: [{
|
|
3836
|
+
type: Input
|
|
3837
|
+
}], inputmode: [{
|
|
3838
|
+
type: Input
|
|
3839
|
+
}], describedBy: [{
|
|
3840
|
+
type: Input
|
|
3841
|
+
}], errorId: [{
|
|
3842
|
+
type: Input
|
|
3843
|
+
}], classes: [{
|
|
3844
|
+
type: Input
|
|
3845
|
+
}], autocomplete: [{
|
|
3846
|
+
type: Input
|
|
3847
|
+
}], pattern: [{
|
|
3848
|
+
type: Input
|
|
3849
|
+
}], placeholder: [{
|
|
3850
|
+
type: Input
|
|
3851
|
+
}], attributes: [{
|
|
3852
|
+
type: Input
|
|
3853
|
+
}], dropdownClasses: [{
|
|
3854
|
+
type: Input
|
|
3855
|
+
}], calendar: [{
|
|
3856
|
+
type: ViewChild,
|
|
3857
|
+
args: ['calendar', { static: true }]
|
|
3858
|
+
}], errorMessage: [{
|
|
3859
|
+
type: ContentChildren,
|
|
3860
|
+
args: [ErrorMessageComponent]
|
|
3861
|
+
}] } });
|
|
3862
|
+
|
|
3668
3863
|
class FileUploadComponent extends FormFieldComponent {
|
|
3669
3864
|
constructor() {
|
|
3670
3865
|
super();
|
|
@@ -5546,13 +5741,13 @@ class TreeComponent extends FormFieldComponent {
|
|
|
5546
5741
|
return list;
|
|
5547
5742
|
}
|
|
5548
5743
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5549
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TreeComponent, selector: "desy-tree", inputs: { idPrefix: "idPrefix", classes: "classes", name: "name", type: "type", describedBy: "describedBy", formGroupClasses: "formGroupClasses", expandedFirstLevel: "expandedFirstLevel", decoupleChildFromParent: "decoupleChildFromParent", disableDefaultSearch: "disableDefaultSearch", searchMatchValues: "searchMatchValues" }, outputs: { searchMatchValuesChange: "searchMatchValuesChange" }, providers: [
|
|
5744
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TreeComponent, selector: "desy-tree", inputs: { id: "id", idPrefix: "idPrefix", classes: "classes", name: "name", type: "type", describedBy: "describedBy", formGroupClasses: "formGroupClasses", expandedFirstLevel: "expandedFirstLevel", decoupleChildFromParent: "decoupleChildFromParent", disableDefaultSearch: "disableDefaultSearch", searchMatchValues: "searchMatchValues" }, outputs: { searchMatchValuesChange: "searchMatchValuesChange" }, providers: [
|
|
5550
5745
|
{
|
|
5551
5746
|
provide: NG_VALUE_ACCESSOR,
|
|
5552
5747
|
useExisting: forwardRef(() => TreeComponent),
|
|
5553
5748
|
multi: true
|
|
5554
5749
|
}
|
|
5555
|
-
], queries: [{ propertyName: "allItems", predicate: TreeItemComponent, descendants: true }, { propertyName: "fieldsetComponent", predicate: FieldsetComponent }, { propertyName: "searchBarComponent", predicate: SearchBarComponent }], viewQueries: [{ propertyName: "innerHtml", first: true, predicate: ["innerHtml"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "
|
|
5750
|
+
], queries: [{ propertyName: "allItems", predicate: TreeItemComponent, descendants: true }, { propertyName: "fieldsetComponent", predicate: FieldsetComponent }, { propertyName: "searchBarComponent", predicate: SearchBarComponent }], viewQueries: [{ propertyName: "innerHtml", first: true, predicate: ["innerHtml"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-template #innerHtml>\n <ng-content select=\"desy-hint\"></ng-content>\n <ng-content select=\"desy-error-message\"></ng-content>\n <ng-content select=\"desy-search-bar\"></ng-content>\n <ul [attr.id]=\"id ? id : null\"\n [attr.role]=\"role ? role : 'tree'\"\n [desyAppAccessibility]=\"this\">\n <ng-content></ng-content>\n </ul>\n</ng-template>\n\n<!-- tree -->\n<div [class]=\"['c-form-group', formGroupClasses] | makeHtmlList\"\n [ngClass]=\"{'c-form-group--error': (hasErrorsMessage() || formGroupClasses === 'c-form-group--error') }\">\n <ng-container *ngIf=\"hasFieldsetComponent(); else innerHtml\">\n <ng-content select=\"desy-fieldset\"></ng-content>\n </ng-container>\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
5556
5751
|
}
|
|
5557
5752
|
__decorate([
|
|
5558
5753
|
DesyOnInputChange('onSearchMatchValuesChange'),
|
|
@@ -5578,8 +5773,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5578
5773
|
useExisting: forwardRef(() => TreeComponent),
|
|
5579
5774
|
multi: true
|
|
5580
5775
|
}
|
|
5581
|
-
], template: "
|
|
5582
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
5776
|
+
], template: "<ng-template #innerHtml>\n <ng-content select=\"desy-hint\"></ng-content>\n <ng-content select=\"desy-error-message\"></ng-content>\n <ng-content select=\"desy-search-bar\"></ng-content>\n <ul [attr.id]=\"id ? id : null\"\n [attr.role]=\"role ? role : 'tree'\"\n [desyAppAccessibility]=\"this\">\n <ng-content></ng-content>\n </ul>\n</ng-template>\n\n<!-- tree -->\n<div [class]=\"['c-form-group', formGroupClasses] | makeHtmlList\"\n [ngClass]=\"{'c-form-group--error': (hasErrorsMessage() || formGroupClasses === 'c-form-group--error') }\">\n <ng-container *ngIf=\"hasFieldsetComponent(); else innerHtml\">\n <ng-content select=\"desy-fieldset\"></ng-content>\n </ng-container>\n</div>" }]
|
|
5777
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
|
|
5778
|
+
type: Input
|
|
5779
|
+
}], idPrefix: [{
|
|
5583
5780
|
type: Input
|
|
5584
5781
|
}], classes: [{
|
|
5585
5782
|
type: Input
|
|
@@ -6275,11 +6472,11 @@ class BreadcrumbsComponent extends AccessibilityComponent {
|
|
|
6275
6472
|
return itemList;
|
|
6276
6473
|
}
|
|
6277
6474
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BreadcrumbsComponent, deps: [{ token: i1.Location }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6278
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BreadcrumbsComponent, selector: "desy-breadcrumbs", inputs: { items: "items", classes: "classes", id: "id", collapseOnMobile: "collapseOnMobile", inlineOnMobile: "inlineOnMobile", inlineOnDesktop: "inlineOnDesktop", hasBackButton: "hasBackButton" }, queries: [{ propertyName: "itemComponentList", predicate: BreadcrumbsItemComponent }], usesInheritance: true, ngImport: i0, template: "<nav [class]=\"(classes ? 'c-breadcrumbs ' + classes : 'c-breadcrumbs') + (collapseOnMobile===true ? ' ' + 'c-breadcrumbs--collapse-on-mobile' : '') + (inlineOnMobile===true ? ' ' + 'c-breadcrumbs--inline-on-mobile' : '') + (inlineOnDesktop===true ? ' ' + 'c-breadcrumbs--inline-on-desktop' : '')\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : 'Est\u00E1s en: '\">\n <ol [ngClass]=\"{\n 'lg:grid-cols-max-content-1': getLength() === 1 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-2': getLength() === 2 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-3': getLength() === 3 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-4': getLength() === 4 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-5': getLength() === 5 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-6': getLength() === 6 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-7': getLength() === 7 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-8': getLength() === 8 && !inlineOnDesktop,\n 'lg:grid': !inlineOnDesktop}\" class=\"w-full items-baseline text-sm\">\n \n <li *ngIf=\"hasBackButton\" class=\"c-breadcrumbs__backbutton flex items-baseline font-bold text-primary-base\">\n <a (click)=\"goBack()\" class=\"px-sm border-r border-neutral-base focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black cursor-pointer\">\n <span class=\"sr-only\">Volver a la p\u00E1gina anterior</span><span aria-hidden=\"true\" title=\"Volver a la p\u00E1gina anterior\">←</span>\n </a>\n </li>\n <ng-container *ngFor=\"let item of getItemList(); last as isLast; index as index\">\n <li *ngIf=\"!isLast\" class=\"flex items-baseline mb-sm py-xs text-neutral-dark\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"underline focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black truncate\"\n [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline truncate\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </li>\n <li *ngIf=\"isLast\" class=\"flex items-baseline mb-sm py-xs text-neutral-dark flex-1 font-semibold\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black text-black font-semibold no-underline truncate\"\n aria-current=\"page\" [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline text-black truncate\" aria-current=\"page\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </span>\n </li>\n </ng-container>\n </ol>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }] }); }
|
|
6475
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BreadcrumbsComponent, selector: "desy-breadcrumbs", inputs: { items: "items", classes: "classes", id: "id", collapseOnMobile: "collapseOnMobile", inlineOnMobile: "inlineOnMobile", inlineOnDesktop: "inlineOnDesktop", hasBackButton: "hasBackButton" }, queries: [{ propertyName: "itemComponentList", predicate: BreadcrumbsItemComponent }], usesInheritance: true, ngImport: i0, template: "<nav [class]=\"(classes ? 'c-breadcrumbs ' + classes : 'c-breadcrumbs') + (collapseOnMobile===true ? ' ' + 'c-breadcrumbs--collapse-on-mobile' : '') + (inlineOnMobile===true ? ' ' + 'c-breadcrumbs--inline-on-mobile' : '') + (inlineOnDesktop===true ? ' ' + 'c-breadcrumbs--inline-on-desktop' : '')\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : 'Est\u00E1s en: '\">\n <ol [ngClass]=\"{\n 'lg:grid-cols-max-content-1': getLength() === 1 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-2': getLength() === 2 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-3': getLength() === 3 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-4': getLength() === 4 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-5': getLength() === 5 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-6': getLength() === 6 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-7': getLength() === 7 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-8': getLength() === 8 && !inlineOnDesktop,\n 'lg:grid': !inlineOnDesktop}\" class=\"w-full items-baseline text-sm\">\n \n <li *ngIf=\"hasBackButton\" class=\"c-breadcrumbs__backbutton flex items-baseline font-bold text-primary-base\">\n <a (click)=\"goBack()\" class=\"px-sm border-r border-neutral-base focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black cursor-pointer\">\n <span class=\"sr-only\">Volver a la p\u00E1gina anterior</span><span aria-hidden=\"true\" title=\"Volver a la p\u00E1gina anterior\">←</span>\n </a>\n </li>\n <ng-container *ngFor=\"let item of getItemList(); last as isLast; index as index\">\n <li *ngIf=\"!isLast\" class=\"flex items-baseline max-w-full mb-sm py-xs text-neutral-dark\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"underline focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black truncate\"\n [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline truncate\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </li>\n <li *ngIf=\"isLast\" class=\"flex items-baseline max-w-full mb-sm py-xs text-neutral-dark flex-1 font-semibold\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black text-black font-semibold no-underline truncate\"\n aria-current=\"page\" [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline text-black truncate\" aria-current=\"page\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </span>\n </li>\n </ng-container>\n </ol>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }] }); }
|
|
6279
6476
|
}
|
|
6280
6477
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
6281
6478
|
type: Component,
|
|
6282
|
-
args: [{ selector: 'desy-breadcrumbs', template: "<nav [class]=\"(classes ? 'c-breadcrumbs ' + classes : 'c-breadcrumbs') + (collapseOnMobile===true ? ' ' + 'c-breadcrumbs--collapse-on-mobile' : '') + (inlineOnMobile===true ? ' ' + 'c-breadcrumbs--inline-on-mobile' : '') + (inlineOnDesktop===true ? ' ' + 'c-breadcrumbs--inline-on-desktop' : '')\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : 'Est\u00E1s en: '\">\n <ol [ngClass]=\"{\n 'lg:grid-cols-max-content-1': getLength() === 1 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-2': getLength() === 2 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-3': getLength() === 3 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-4': getLength() === 4 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-5': getLength() === 5 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-6': getLength() === 6 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-7': getLength() === 7 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-8': getLength() === 8 && !inlineOnDesktop,\n 'lg:grid': !inlineOnDesktop}\" class=\"w-full items-baseline text-sm\">\n \n <li *ngIf=\"hasBackButton\" class=\"c-breadcrumbs__backbutton flex items-baseline font-bold text-primary-base\">\n <a (click)=\"goBack()\" class=\"px-sm border-r border-neutral-base focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black cursor-pointer\">\n <span class=\"sr-only\">Volver a la p\u00E1gina anterior</span><span aria-hidden=\"true\" title=\"Volver a la p\u00E1gina anterior\">←</span>\n </a>\n </li>\n <ng-container *ngFor=\"let item of getItemList(); last as isLast; index as index\">\n <li *ngIf=\"!isLast\" class=\"flex items-baseline mb-sm py-xs text-neutral-dark\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"underline focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black truncate\"\n [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline truncate\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </li>\n <li *ngIf=\"isLast\" class=\"flex items-baseline mb-sm py-xs text-neutral-dark flex-1 font-semibold\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black text-black font-semibold no-underline truncate\"\n aria-current=\"page\" [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline text-black truncate\" aria-current=\"page\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </span>\n </li>\n </ng-container>\n </ol>\n</nav>\n" }]
|
|
6479
|
+
args: [{ selector: 'desy-breadcrumbs', template: "<nav [class]=\"(classes ? 'c-breadcrumbs ' + classes : 'c-breadcrumbs') + (collapseOnMobile===true ? ' ' + 'c-breadcrumbs--collapse-on-mobile' : '') + (inlineOnMobile===true ? ' ' + 'c-breadcrumbs--inline-on-mobile' : '') + (inlineOnDesktop===true ? ' ' + 'c-breadcrumbs--inline-on-desktop' : '')\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : 'Est\u00E1s en: '\">\n <ol [ngClass]=\"{\n 'lg:grid-cols-max-content-1': getLength() === 1 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-2': getLength() === 2 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-3': getLength() === 3 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-4': getLength() === 4 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-5': getLength() === 5 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-6': getLength() === 6 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-7': getLength() === 7 && !inlineOnDesktop,\n 'lg:grid-cols-max-content-8': getLength() === 8 && !inlineOnDesktop,\n 'lg:grid': !inlineOnDesktop}\" class=\"w-full items-baseline text-sm\">\n \n <li *ngIf=\"hasBackButton\" class=\"c-breadcrumbs__backbutton flex items-baseline font-bold text-primary-base\">\n <a (click)=\"goBack()\" class=\"px-sm border-r border-neutral-base focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black cursor-pointer\">\n <span class=\"sr-only\">Volver a la p\u00E1gina anterior</span><span aria-hidden=\"true\" title=\"Volver a la p\u00E1gina anterior\">←</span>\n </a>\n </li>\n <ng-container *ngFor=\"let item of getItemList(); last as isLast; index as index\">\n <li *ngIf=\"!isLast\" class=\"flex items-baseline max-w-full mb-sm py-xs text-neutral-dark\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"underline focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black truncate\"\n [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline truncate\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </li>\n <li *ngIf=\"isLast\" class=\"flex items-baseline max-w-full mb-sm py-xs text-neutral-dark flex-1 font-semibold\" [ngClass]=\"{'hover:text-black' : item.routerLink}\">\n <a *ngIf=\"item.routerLink\" class=\"focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black text-black font-semibold no-underline truncate\"\n aria-current=\"page\" [routerLink]=\"item.routerLink\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </a>\n <span *ngIf=\"!item.routerLink\" class=\"no-underline text-black truncate\" aria-current=\"page\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <strong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n </span>\n </li>\n </ng-container>\n </ol>\n</nav>\n" }]
|
|
6283
6480
|
}], ctorParameters: function () { return [{ type: i1.Location }]; }, propDecorators: { items: [{
|
|
6284
6481
|
type: Input
|
|
6285
6482
|
}], classes: [{
|
|
@@ -6373,6 +6570,7 @@ var Type$1;
|
|
|
6373
6570
|
(function (Type) {
|
|
6374
6571
|
Type["UE"] = "UE";
|
|
6375
6572
|
Type["FEDER"] = "FEDER";
|
|
6573
|
+
Type["FEADER"] = "FEADER";
|
|
6376
6574
|
Type["FSE"] = "FSE+";
|
|
6377
6575
|
Type["Plurifondo"] = "Plurifondo";
|
|
6378
6576
|
Type["Custom"] = "Custom";
|
|
@@ -6448,7 +6646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6448
6646
|
|
|
6449
6647
|
class FooterNavigationComponent {
|
|
6450
6648
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6451
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FooterNavigationComponent, selector: "desy-footer-navigation", inputs: { title: "title", columns: "columns" }, queries: [{ propertyName: "itemComponents", predicate: FooterNavigationItemComponent }], ngImport: i0, template: "" }); }
|
|
6649
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FooterNavigationComponent, selector: "desy-footer-navigation", inputs: { title: "title", columns: "columns", classes: "classes" }, queries: [{ propertyName: "itemComponents", predicate: FooterNavigationItemComponent }], ngImport: i0, template: "" }); }
|
|
6452
6650
|
}
|
|
6453
6651
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterNavigationComponent, decorators: [{
|
|
6454
6652
|
type: Component,
|
|
@@ -6457,6 +6655,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6457
6655
|
type: Input
|
|
6458
6656
|
}], columns: [{
|
|
6459
6657
|
type: Input
|
|
6658
|
+
}], classes: [{
|
|
6659
|
+
type: Input
|
|
6460
6660
|
}], itemComponents: [{
|
|
6461
6661
|
type: ContentChildren,
|
|
6462
6662
|
args: [FooterNavigationItemComponent]
|
|
@@ -6482,7 +6682,7 @@ class FooterComponent extends AccessibilityComponent {
|
|
|
6482
6682
|
return meta instanceof FooterMetaComponent ? meta.contentComponent : null;
|
|
6483
6683
|
}
|
|
6484
6684
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6485
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FooterComponent, selector: "desy-footer", inputs: { meta: "meta", navigation: "navigation", icon: "icon", containerClasses: "containerClasses", classes: "classes", description: "description", noLogo: "noLogo", urlFeder: "urlFeder", url: "url", logoContainerClasses: "logoContainerClasses", type: "type" }, queries: [{ propertyName: "iconComponent", predicate: IconComponent }, { propertyName: "metaComponent", predicate: FooterMetaComponent }, { propertyName: "descriptionComponent", predicate: DescriptionComponent }, { propertyName: "navigationComponent", predicate: FooterNavigationComponent }], usesInheritance: true, ngImport: i0, template: "<footer [class]=\"['py-base bg-neutral-lighter border-t border-neutral-base text-xs lg:text-sm text-neutral-dark', classes] | makeHtmlList\" \n [desyAppAccessibility]=\"this\">\n <div [class]=\"['container mx-auto px-base', containerClasses] | makeHtmlList\">\n <ng-container *ngIf=\"getNavigationItems()\">\n <div class=\"flex flex-col lg:flex-row flex-wrap gap-base\">\n <div class=\"flex-1\" *ngFor=\"let nav of getNavigationItems()\">\n <div class=\"lg:flex-1\">\n <h3 class=\"c-h3 mb-base\">{{nav.title}}</h3>\n </div>\n <ul [class]=\"'grid grid-cols-1 gap-base lg:grid-cols-' + nav.columns\">\n <li class=\"mb-xs\" *ngFor=\"let item of getNavigationItemItems(nav)\">\n <ng-container *ngTemplateOutlet=\"(item.href !== null && item.href !== undefined) ? itemHref : itemRouterLink; context: {item: item}\"></ng-container>\n </li>\n </ul>\n </div>\n </div>\n <hr class=\"my-base border-t border-neutral-base\">\n </ng-container>\n\n <div class=\"flex flex-wrap flex-col lg:flex-row justify-between\">\n <div class=\"mb-base\">\n <ng-template #metaTemplate let-metaElement=\"metaElement\">\n <ng-container *ngIf=\"metaElement\">\n <h2 class=\"sr-only\">{{(metaElement.visuallyHiddenTitle ? metaElement.visuallyHiddenTitle : 'Enlaces de pie de p\u00E1gina')}}</h2>\n <ul class=\"flex flex-col lg:flex-row lg:flex-wrap mb-base\" *ngIf=\"getMetaItems(metaElement)\">\n <li class=\"mb-sm mr-base\" *ngFor=\"let item of getMetaItems(metaElement)\">\n <ng-container *ngTemplateOutlet=\"(item.href !== null && item.href !== undefined) ? itemHref : itemRouterLink; context: {item: item}\"></ng-container>\n </li>\n </ul>\n <div class=\"mb-sm\" *ngIf=\"getMetaContent(metaElement) || metaElement.html || metaElement.text\">\n <p>\n <ng-container *desyCustomInnerContent=\"{ component: getMetaContent(metaElement), html: metaElement.html, text: metaElement.text }\"></ng-container>\n </p>\n </div>\n </ng-container>\n </ng-template>\n <ng-container *ngTemplateOutlet=\"metaTemplate; context: { metaElement: metaComponent ? metaComponent : meta }\"></ng-container>\n\n <!-- Description -->\n <div *ngIf=\"descriptionComponent || description?.html || description?.text; else noDesc\">\n <h2 class=\"sr-only\">{{descriptionComponent?.visuallyHiddenTitle ? descriptionComponent?.visuallyHiddenTitle : description?.visuallyHiddenTitle ? description?.visuallyHiddenTitle : 'Acerca de'}}</h2>\n <ng-container *desyCustomInnerContent=\"{ component: descriptionComponent, html: description?.html, text: description?.text }\"></ng-container>\n </div>\n <ng-template #noDesc>\n <div class=\"leading-tight\">\n <p>\n Todo el contenido bajo\n <a class=\"c-link c-link--neutral\" href=\"https://creativecommons.org/licenses/by/4.0/legalcode.es\" rel=\"license\"\n target=\"_blank\" title=\"Se abre en ventana nueva\">licencia CC BY 4.0</a>\n </p>\n </div>\n <div class=\"leading-tight\">\n <p>\n <a target=\"_blank\" class=\"c-link c-link--neutral\" href=\"https://www.aragon.es/\" title=\"Se abre en ventana nueva\">Gobierno de Arag\u00F3n</a>. Edificio\n Pignatelli. <abbr title=\"Paseo\">P\u00BA</abbr> Mar\u00EDa Agust\u00EDn, 36. 50004 - Zaragoza - <abbr title=\"Tel\u00E9fono\"\n class=\"no-underline\">Tel.</abbr> <a href=\"tel:+34976714000\" class=\"c-link c-link--neutral\">976 714 000</a>\n </p>\n </div>\n </ng-template>\n\n </div>\n </div>\n <div class=\"overflow-hidden\">\n <div class=\"flex flex-wrap gap-base lg:gap-x-2xl w-full pt-lg\">\n <ng-container *ngIf=\"!noLogo\">\n <div [class]=\"logoContainerClasses\">\n <p><a [href]=\"url?(url | externalHref):urlFeder ? (urlFeder | externalHref):'https://www.aragon.es/-/fondos-europeos-aragon'\" class=\"inline-block text-sm c-link no-underline\" title=\"M\u00E1s informaci\u00F3n sobre los Fondos Europeos\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"typeEnum.UE\">\n <span class=\"inline-block c-footer__logo c-footer__logo--ue\" role=\"img\" aria-label=\"Logotipo Cofinanciado por la Uni\u00F3n Europea.\"></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FSE\">\n <span class=\"inline-block c-footer__logo c-footer__logo--fse\" role=\"img\" aria-label=\"Logotipo Cofinanciado por la Uni\u00F3n Europea. Fondo Social Europeo Plus (FSE+).\"></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FEDER\">\n <span class=\"inline-block c-footer__logo c-footer__logo--feder\" role=\"img\" aria-label=\"Logotipo Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo de Desarrollo Regional (FEDER).\"></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.Plurifondo\">\n <span class=\"inline-block c-footer__logo c-footer__logo--plurifondo\" role=\"img\" aria-label=\"Logotipo Cofinanciado por la Uni\u00F3n Europea. Plurifondo.\"></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.Custom\">\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <span class=\"inline-block c-footer__logo c-footer__logo--feder\" role=\"img\" aria-label=\"Logotipo Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo de Desarrollo Regional (FEDER).\"></span>\n </ng-container>\n </ng-container>\n </a></p>\n </div>\n </ng-container>\n <div *ngIf=\"iconComponent || icon?.html\" [class]=\"icon?.containerClasses || iconComponent?.containerClasses ? icon?.containerClasses || iconComponent?.containerClasses:'flex-1'\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon?.html }\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n</footer>\n\n<ng-template #itemHref let-item=\"item\">\n <a class=\"c-link font-semibold\" [href]=\"item.href | externalHref\"\n [desyAppAccessibility]=\"item\"\n [attr.target]=\"item.target\">\n <ng-container *desyCustomInnerContent=\"{ component: item, text: item.text }\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #itemRouterLink let-item=\"item\">\n <a class=\"c-link font-semibold\" [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" \n [desyAppAccessibility]=\"item\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\">\n <ng-container *desyCustomInnerContent=\"{ component: item, text: item.text }\"></ng-container>\n </a>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
6685
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FooterComponent, selector: "desy-footer", inputs: { meta: "meta", navigation: "navigation", icon: "icon", containerClasses: "containerClasses", classes: "classes", description: "description", noLogo: "noLogo", urlFeder: "urlFeder", url: "url", logoContainerClasses: "logoContainerClasses", type: "type" }, queries: [{ propertyName: "iconComponent", predicate: IconComponent }, { propertyName: "metaComponent", predicate: FooterMetaComponent }, { propertyName: "descriptionComponent", predicate: DescriptionComponent }, { propertyName: "navigationComponent", predicate: FooterNavigationComponent }], usesInheritance: true, ngImport: i0, template: "<footer [class]=\"['py-base bg-neutral-lighter border-t border-neutral-base text-xs lg:text-sm text-neutral-dark', classes] | makeHtmlList\" \n [desyAppAccessibility]=\"this\">\n <div [class]=\"['container mx-auto px-base', containerClasses] | makeHtmlList\">\n <ng-container *ngIf=\"getNavigationItems()\">\n <div class=\"flex flex-col lg:flex-row flex-wrap gap-base\">\n <div class=\"flex-1\" *ngFor=\"let nav of getNavigationItems()\">\n <div [ngClass]=\"nav.classes ? nav.classes : 'flex-1'\">\n <h3 class=\"c-h4 mb-base text-black\">{{nav.title}}</h3>\n </div>\n <ul *ngIf=\"getNavigationItemItems(nav)\"\n class=\"relative space-y-base\" [ngClass]=\"{\n 'gap-base': nav.columns,\n 'lg:columns-1': nav.columns === 1,\n 'lg:columns-2': nav.columns === 2,\n 'lg:columns-3': nav.columns === 3,\n 'lg:columns-4': nav.columns === 4,\n 'lg:columns-5': nav.columns === 5,\n 'lg:columns-6': nav.columns === 6,\n 'lg:columns-7': nav.columns === 7,\n 'lg:columns-8': nav.columns === 8}\">\n <li class=\"mb-xs\" *ngFor=\"let item of getNavigationItemItems(nav)\">\n <ng-container *ngTemplateOutlet=\"(item.href !== null && item.href !== undefined) ? itemHref : itemRouterLink; context: {item: item}\"></ng-container>\n </li>\n </ul>\n </div>\n </div>\n <hr class=\"my-base border-t border-neutral-base\">\n </ng-container>\n\n <div class=\"flex flex-wrap flex-col lg:flex-row justify-between\">\n <div class=\"mb-base\">\n <ng-template #metaTemplate let-metaElement=\"metaElement\">\n <ng-container *ngIf=\"metaElement\">\n <h2 class=\"sr-only\">{{(metaElement.visuallyHiddenTitle ? metaElement.visuallyHiddenTitle : 'Enlaces de pie de p\u00E1gina')}}</h2>\n <ul class=\"flex flex-col lg:flex-row lg:flex-wrap mb-base\" *ngIf=\"getMetaItems(metaElement)\">\n <li class=\"mb-sm mr-base\" *ngFor=\"let item of getMetaItems(metaElement)\">\n <ng-container *ngTemplateOutlet=\"(item.href !== null && item.href !== undefined) ? itemHref : itemRouterLink; context: {item: item}\"></ng-container>\n </li>\n </ul>\n <div class=\"mb-sm\" *ngIf=\"getMetaContent(metaElement) || metaElement.html || metaElement.text\">\n <p>\n <ng-container *desyCustomInnerContent=\"{ component: getMetaContent(metaElement), html: metaElement.html, text: metaElement.text }\"></ng-container>\n </p>\n </div>\n </ng-container>\n </ng-template>\n <ng-container *ngTemplateOutlet=\"metaTemplate; context: { metaElement: metaComponent ? metaComponent : meta }\"></ng-container>\n\n <!-- Description -->\n <div *ngIf=\"descriptionComponent || description?.html || description?.text; else noDesc\">\n <h2 class=\"sr-only\">{{descriptionComponent?.visuallyHiddenTitle ? descriptionComponent?.visuallyHiddenTitle : description?.visuallyHiddenTitle ? description?.visuallyHiddenTitle : 'Acerca de'}}</h2>\n <ng-container *desyCustomInnerContent=\"{ component: descriptionComponent, html: description?.html, text: description?.text }\"></ng-container>\n </div>\n <ng-template #noDesc>\n <div class=\"leading-tight\">\n <p>\n Todo el contenido bajo\n <a class=\"c-link c-link--neutral\" href=\"https://creativecommons.org/licenses/by/4.0/legalcode.es\" rel=\"license\"\n target=\"_blank\" title=\"Se abre en ventana nueva\">licencia CC BY 4.0</a>\n </p>\n </div>\n <div class=\"leading-tight\">\n <p>\n <a target=\"_blank\" class=\"c-link c-link--neutral\" href=\"https://www.aragon.es/\" title=\"Se abre en ventana nueva\">Gobierno de Arag\u00F3n</a>. Edificio\n Pignatelli. <abbr title=\"Paseo\">P\u00BA</abbr> Mar\u00EDa Agust\u00EDn, 36. 50004 - Zaragoza - <abbr title=\"Tel\u00E9fono\"\n class=\"no-underline\">Tel.</abbr> <a href=\"tel:+34976714000\" class=\"c-link c-link--neutral\">976 714 000</a>\n </p>\n </div>\n </ng-template>\n\n </div>\n </div>\n <div class=\"overflow-hidden\">\n <div class=\"flex flex-wrap gap-base lg:gap-x-2xl w-full pt-lg\">\n <ng-container *ngIf=\"!noLogo\">\n <div [class]=\"logoContainerClasses\">\n <p><a [href]=\"url?(url | externalHref):urlFeder ? (urlFeder | externalHref):'https://www.aragon.es/-/fondos-europeos-aragon'\" class=\"inline-block text-sm c-link no-underline\" title=\"M\u00E1s informaci\u00F3n sobre los Fondos Europeos\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"typeEnum.UE\">\n <span class=\"inline-block c-footer__logo c-footer__logo--ue\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FSE\">\n <span class=\"inline-block c-footer__logo c-footer__logo--fse\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Social Europeo Plus (FSE+). Ministerio de Agricultura y Econom\u00EDa Social.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FEDER\">\n <span class=\"inline-block c-footer__logo c-footer__logo--feder\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo de Desarrollo Regional (FEDER). Ministerio de Hacienda.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FEADER\">\n <span class=\"inline-block c-footer__logo c-footer__logo--feader\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo Agrario de Desarrollo Rural (FEADER). Ministerio de Agricultura, Pesca y Alimentaci\u00F3n.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.Plurifondo\">\n <span class=\"inline-block c-footer__logo c-footer__logo--plurifondo\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Plurifondo. Gobierno de Espa\u00F1a.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.Custom\">\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <span class=\"inline-block c-footer__logo c-footer__logo--feder\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo de Desarrollo Regional (FEDER). Ministerio de Hacienda.</span></span>\n </ng-container>\n </ng-container>\n </a></p>\n </div>\n </ng-container>\n <div *ngIf=\"iconComponent || icon?.html\" [class]=\"icon?.containerClasses || iconComponent?.containerClasses ? icon?.containerClasses || iconComponent?.containerClasses:'flex-1'\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon?.html }\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n</footer>\n\n<ng-template #itemHref let-item=\"item\">\n <a class=\"c-link font-semibold\" [href]=\"item.href | externalHref\"\n [desyAppAccessibility]=\"item\"\n [attr.target]=\"item.target\">\n <ng-container *desyCustomInnerContent=\"{ component: item, text: item.text }\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #itemRouterLink let-item=\"item\">\n <a class=\"c-link font-semibold\" [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" \n [desyAppAccessibility]=\"item\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\">\n <ng-container *desyCustomInnerContent=\"{ component: item, text: item.text }\"></ng-container>\n </a>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
6486
6686
|
}
|
|
6487
6687
|
__decorate([
|
|
6488
6688
|
DesyContentChild(),
|
|
@@ -6498,7 +6698,7 @@ __decorate([
|
|
|
6498
6698
|
], FooterComponent.prototype, "descriptionComponent", void 0);
|
|
6499
6699
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterComponent, decorators: [{
|
|
6500
6700
|
type: Component,
|
|
6501
|
-
args: [{ selector: 'desy-footer', template: "<footer [class]=\"['py-base bg-neutral-lighter border-t border-neutral-base text-xs lg:text-sm text-neutral-dark', classes] | makeHtmlList\" \n [desyAppAccessibility]=\"this\">\n <div [class]=\"['container mx-auto px-base', containerClasses] | makeHtmlList\">\n <ng-container *ngIf=\"getNavigationItems()\">\n <div class=\"flex flex-col lg:flex-row flex-wrap gap-base\">\n <div class=\"flex-1\" *ngFor=\"let nav of getNavigationItems()\">\n <div
|
|
6701
|
+
args: [{ selector: 'desy-footer', template: "<footer [class]=\"['py-base bg-neutral-lighter border-t border-neutral-base text-xs lg:text-sm text-neutral-dark', classes] | makeHtmlList\" \n [desyAppAccessibility]=\"this\">\n <div [class]=\"['container mx-auto px-base', containerClasses] | makeHtmlList\">\n <ng-container *ngIf=\"getNavigationItems()\">\n <div class=\"flex flex-col lg:flex-row flex-wrap gap-base\">\n <div class=\"flex-1\" *ngFor=\"let nav of getNavigationItems()\">\n <div [ngClass]=\"nav.classes ? nav.classes : 'flex-1'\">\n <h3 class=\"c-h4 mb-base text-black\">{{nav.title}}</h3>\n </div>\n <ul *ngIf=\"getNavigationItemItems(nav)\"\n class=\"relative space-y-base\" [ngClass]=\"{\n 'gap-base': nav.columns,\n 'lg:columns-1': nav.columns === 1,\n 'lg:columns-2': nav.columns === 2,\n 'lg:columns-3': nav.columns === 3,\n 'lg:columns-4': nav.columns === 4,\n 'lg:columns-5': nav.columns === 5,\n 'lg:columns-6': nav.columns === 6,\n 'lg:columns-7': nav.columns === 7,\n 'lg:columns-8': nav.columns === 8}\">\n <li class=\"mb-xs\" *ngFor=\"let item of getNavigationItemItems(nav)\">\n <ng-container *ngTemplateOutlet=\"(item.href !== null && item.href !== undefined) ? itemHref : itemRouterLink; context: {item: item}\"></ng-container>\n </li>\n </ul>\n </div>\n </div>\n <hr class=\"my-base border-t border-neutral-base\">\n </ng-container>\n\n <div class=\"flex flex-wrap flex-col lg:flex-row justify-between\">\n <div class=\"mb-base\">\n <ng-template #metaTemplate let-metaElement=\"metaElement\">\n <ng-container *ngIf=\"metaElement\">\n <h2 class=\"sr-only\">{{(metaElement.visuallyHiddenTitle ? metaElement.visuallyHiddenTitle : 'Enlaces de pie de p\u00E1gina')}}</h2>\n <ul class=\"flex flex-col lg:flex-row lg:flex-wrap mb-base\" *ngIf=\"getMetaItems(metaElement)\">\n <li class=\"mb-sm mr-base\" *ngFor=\"let item of getMetaItems(metaElement)\">\n <ng-container *ngTemplateOutlet=\"(item.href !== null && item.href !== undefined) ? itemHref : itemRouterLink; context: {item: item}\"></ng-container>\n </li>\n </ul>\n <div class=\"mb-sm\" *ngIf=\"getMetaContent(metaElement) || metaElement.html || metaElement.text\">\n <p>\n <ng-container *desyCustomInnerContent=\"{ component: getMetaContent(metaElement), html: metaElement.html, text: metaElement.text }\"></ng-container>\n </p>\n </div>\n </ng-container>\n </ng-template>\n <ng-container *ngTemplateOutlet=\"metaTemplate; context: { metaElement: metaComponent ? metaComponent : meta }\"></ng-container>\n\n <!-- Description -->\n <div *ngIf=\"descriptionComponent || description?.html || description?.text; else noDesc\">\n <h2 class=\"sr-only\">{{descriptionComponent?.visuallyHiddenTitle ? descriptionComponent?.visuallyHiddenTitle : description?.visuallyHiddenTitle ? description?.visuallyHiddenTitle : 'Acerca de'}}</h2>\n <ng-container *desyCustomInnerContent=\"{ component: descriptionComponent, html: description?.html, text: description?.text }\"></ng-container>\n </div>\n <ng-template #noDesc>\n <div class=\"leading-tight\">\n <p>\n Todo el contenido bajo\n <a class=\"c-link c-link--neutral\" href=\"https://creativecommons.org/licenses/by/4.0/legalcode.es\" rel=\"license\"\n target=\"_blank\" title=\"Se abre en ventana nueva\">licencia CC BY 4.0</a>\n </p>\n </div>\n <div class=\"leading-tight\">\n <p>\n <a target=\"_blank\" class=\"c-link c-link--neutral\" href=\"https://www.aragon.es/\" title=\"Se abre en ventana nueva\">Gobierno de Arag\u00F3n</a>. Edificio\n Pignatelli. <abbr title=\"Paseo\">P\u00BA</abbr> Mar\u00EDa Agust\u00EDn, 36. 50004 - Zaragoza - <abbr title=\"Tel\u00E9fono\"\n class=\"no-underline\">Tel.</abbr> <a href=\"tel:+34976714000\" class=\"c-link c-link--neutral\">976 714 000</a>\n </p>\n </div>\n </ng-template>\n\n </div>\n </div>\n <div class=\"overflow-hidden\">\n <div class=\"flex flex-wrap gap-base lg:gap-x-2xl w-full pt-lg\">\n <ng-container *ngIf=\"!noLogo\">\n <div [class]=\"logoContainerClasses\">\n <p><a [href]=\"url?(url | externalHref):urlFeder ? (urlFeder | externalHref):'https://www.aragon.es/-/fondos-europeos-aragon'\" class=\"inline-block text-sm c-link no-underline\" title=\"M\u00E1s informaci\u00F3n sobre los Fondos Europeos\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"typeEnum.UE\">\n <span class=\"inline-block c-footer__logo c-footer__logo--ue\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FSE\">\n <span class=\"inline-block c-footer__logo c-footer__logo--fse\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Social Europeo Plus (FSE+). Ministerio de Agricultura y Econom\u00EDa Social.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FEDER\">\n <span class=\"inline-block c-footer__logo c-footer__logo--feder\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo de Desarrollo Regional (FEDER). Ministerio de Hacienda.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.FEADER\">\n <span class=\"inline-block c-footer__logo c-footer__logo--feader\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo Agrario de Desarrollo Rural (FEADER). Ministerio de Agricultura, Pesca y Alimentaci\u00F3n.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.Plurifondo\">\n <span class=\"inline-block c-footer__logo c-footer__logo--plurifondo\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Plurifondo. Gobierno de Espa\u00F1a.</span></span>\n </ng-container>\n <ng-container *ngSwitchCase=\"typeEnum.Custom\">\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <span class=\"inline-block c-footer__logo c-footer__logo--feder\"><span class=\"sr-only\">Cofinanciado por la Uni\u00F3n Europea. Fondo Europeo de Desarrollo Regional (FEDER). Ministerio de Hacienda.</span></span>\n </ng-container>\n </ng-container>\n </a></p>\n </div>\n </ng-container>\n <div *ngIf=\"iconComponent || icon?.html\" [class]=\"icon?.containerClasses || iconComponent?.containerClasses ? icon?.containerClasses || iconComponent?.containerClasses:'flex-1'\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon?.html }\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n</footer>\n\n<ng-template #itemHref let-item=\"item\">\n <a class=\"c-link font-semibold\" [href]=\"item.href | externalHref\"\n [desyAppAccessibility]=\"item\"\n [attr.target]=\"item.target\">\n <ng-container *desyCustomInnerContent=\"{ component: item, text: item.text }\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #itemRouterLink let-item=\"item\">\n <a class=\"c-link font-semibold\" [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" \n [desyAppAccessibility]=\"item\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\">\n <ng-container *desyCustomInnerContent=\"{ component: item, text: item.text }\"></ng-container>\n </a>\n</ng-template>\n" }]
|
|
6502
6702
|
}], propDecorators: { meta: [{
|
|
6503
6703
|
type: Input
|
|
6504
6704
|
}], navigation: [{
|
|
@@ -6541,11 +6741,11 @@ class HeaderMiniComponent extends AccessibilityComponent {
|
|
|
6541
6741
|
this.hasContainer = true;
|
|
6542
6742
|
}
|
|
6543
6743
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderMiniComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6544
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderMiniComponent, selector: "desy-header-mini", inputs: { classes: "classes", hasContainer: "hasContainer", containerClasses: "containerClasses", homepageUrl: "homepageUrl", homepageRouterLink: "homepageRouterLink", homepageFragment: "homepageFragment" }, usesInheritance: true, ngImport: i0, template: "<div [ngClass]=\"classes\"\n[desyAppAccessibility]=\"this\">\n <div [ngClass]=\"containerClasses\">\n <div class=\"bg-white border-b border-neutral-base\">\n <div class=\"flex items-center px-base\" [ngClass]=\"hasContainer?'container mx-auto':null\">\n <a *ngIf=\"!homepageRouterLink\" [href]=\"homepageUrl ? (homepageUrl | externalHref) :'https://www.aragon.es/'\" class=\"inline-block pt-2.5 pb-2 text-black focus:outline-none focus:shadow-outline-black\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"117\" height=\"26\" class=\"inline-block fill-current\" aria-label=\"Gobierno de Arag\u00F3n. Ir a aragon.es\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n </a>\n <a *ngIf=\"homepageRouterLink\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment || null\" class=\"inline-block pt-2.5 pb-2 text-black focus:outline-none focus:shadow-outline-black\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"117\" height=\"26\" class=\"inline-block fill-current\" aria-label=\"Gobierno de Arag\u00F3n. Ir a aragon.es\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n </a>\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
6744
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderMiniComponent, selector: "desy-header-mini", inputs: { classes: "classes", hasContainer: "hasContainer", containerClasses: "containerClasses", homepageUrl: "homepageUrl", homepageRouterLink: "homepageRouterLink", homepageFragment: "homepageFragment" }, usesInheritance: true, ngImport: i0, template: "<div [ngClass]=\"classes\"\n[desyAppAccessibility]=\"this\">\n <ng-content select=\"desy-header-mini-super\"></ng-content>\n <div [ngClass]=\"containerClasses\">\n <div class=\"bg-white border-b border-neutral-base\">\n <div class=\"flex items-center px-base\" [ngClass]=\"hasContainer?'container mx-auto':null\">\n <a *ngIf=\"!homepageRouterLink\" [href]=\"homepageUrl ? (homepageUrl | externalHref) :'https://www.aragon.es/'\" class=\"inline-block pt-2.5 pb-2 text-black focus:outline-none focus:shadow-outline-black\" aria-label=\"Gobierno de Arag\u00F3n. Ir a aragon.es\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"117\" height=\"26\" class=\"inline-block fill-current\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n </a>\n <a *ngIf=\"homepageRouterLink\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment || null\" class=\"inline-block pt-2.5 pb-2 text-black focus:outline-none focus:shadow-outline-black\" aria-label=\"Gobierno de Arag\u00F3n. Ir a aragon.es\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"117\" height=\"26\" class=\"inline-block fill-current\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n </a>\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n <ng-content select=\"desy-header-mini-sub\"></ng-content>\n</div>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
6545
6745
|
}
|
|
6546
6746
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderMiniComponent, decorators: [{
|
|
6547
6747
|
type: Component,
|
|
6548
|
-
args: [{ selector: 'desy-header-mini', template: "<div [ngClass]=\"classes\"\n[desyAppAccessibility]=\"this\">\n
|
|
6748
|
+
args: [{ selector: 'desy-header-mini', template: "<div [ngClass]=\"classes\"\n[desyAppAccessibility]=\"this\">\n <ng-content select=\"desy-header-mini-super\"></ng-content>\n <div [ngClass]=\"containerClasses\">\n <div class=\"bg-white border-b border-neutral-base\">\n <div class=\"flex items-center px-base\" [ngClass]=\"hasContainer?'container mx-auto':null\">\n <a *ngIf=\"!homepageRouterLink\" [href]=\"homepageUrl ? (homepageUrl | externalHref) :'https://www.aragon.es/'\" class=\"inline-block pt-2.5 pb-2 text-black focus:outline-none focus:shadow-outline-black\" aria-label=\"Gobierno de Arag\u00F3n. Ir a aragon.es\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"117\" height=\"26\" class=\"inline-block fill-current\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n </a>\n <a *ngIf=\"homepageRouterLink\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment || null\" class=\"inline-block pt-2.5 pb-2 text-black focus:outline-none focus:shadow-outline-black\" aria-label=\"Gobierno de Arag\u00F3n. Ir a aragon.es\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"117\" height=\"26\" class=\"inline-block fill-current\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n </a>\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n <ng-content select=\"desy-header-mini-sub\"></ng-content>\n</div>" }]
|
|
6549
6749
|
}], propDecorators: { classes: [{
|
|
6550
6750
|
type: Input
|
|
6551
6751
|
}], hasContainer: [{
|
|
@@ -6647,6 +6847,10 @@ class SkipLinkComponent extends AccessibilityComponent {
|
|
|
6647
6847
|
const elem = document.querySelector('#' + fragment);
|
|
6648
6848
|
if (elem) {
|
|
6649
6849
|
elem.scrollIntoView({ behavior: 'smooth' });
|
|
6850
|
+
const focusableElement = elem.querySelector('button, [tabindex], input, select, textarea, a[href], summary, [contenteditable], [role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="menuitem"], [role="option"], [role="tab"], [role="tabpanel"]');
|
|
6851
|
+
if (focusableElement) {
|
|
6852
|
+
focusableElement.focus();
|
|
6853
|
+
}
|
|
6650
6854
|
}
|
|
6651
6855
|
}
|
|
6652
6856
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SkipLinkComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -6942,11 +7146,11 @@ class NavComponent extends AccessibilityComponent {
|
|
|
6942
7146
|
return !item.active && !item.disabled;
|
|
6943
7147
|
}
|
|
6944
7148
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6945
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NavComponent, selector: "desy-nav", inputs: { hasNav: "hasNav", id: "id", idPrefix: "idPrefix", items: "items", classes: "classes" }, outputs: { clickEvent: "clickEvent" }, queries: [{ propertyName: "itemComponentList", predicate: NavItemComponent }], usesInheritance: true, ngImport: i0, template: "<ng-template #innerHtml>\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <ng-template #noStrong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </ng-template>\n <li>\n <a *ngIf=\"item.href\"\n [href]=\"item.href | externalHref\" [target]=\"item.target\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!item.href\"\n [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"item.divider\" class=\"my-sm border-b border-neutral-base\" aria-hidden=\"true\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n</ng-template>\n\n\n<ul *ngIf=\"!hasNav; else wrapIntoNav\"\n [class]=\"['text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ul>\n<ng-template #wrapIntoNav>\n <nav [class]=\"['text-sm', classes] | makeHtmlList\"\n [id]=\"id\"\n [desyAppAccessibility]=\"this\">\n <ul>\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n </ul>\n </nav>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
7149
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NavComponent, selector: "desy-nav", inputs: { hasNav: "hasNav", id: "id", idPrefix: "idPrefix", items: "items", classes: "classes" }, outputs: { clickEvent: "clickEvent" }, queries: [{ propertyName: "itemComponentList", predicate: NavItemComponent }], usesInheritance: true, ngImport: i0, template: "<ng-template #innerHtml>\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <ng-template #noStrong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </ng-template>\n <li>\n <a *ngIf=\"item.href\"\n [href]=\"item.href | externalHref\" [target]=\"item.target\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!item.href\"\n [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"item.divider\" class=\"my-sm border-b border-neutral-base\" aria-hidden=\"true\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n</ng-template>\n\n\n<ul *ngIf=\"!hasNav; else wrapIntoNav\"\n [class]=\"['text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ul>\n<ng-template #wrapIntoNav>\n <nav [class]=\"['text-sm', classes] | makeHtmlList\"\n [id]=\"id\"\n [desyAppAccessibility]=\"this\">\n <ul>\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n </ul>\n </nav>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
6946
7150
|
}
|
|
6947
7151
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavComponent, decorators: [{
|
|
6948
7152
|
type: Component,
|
|
6949
|
-
args: [{ selector: 'desy-nav', template: "<ng-template #innerHtml>\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <ng-template #noStrong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </ng-template>\n <li>\n <a *ngIf=\"item.href\"\n [href]=\"item.href | externalHref\" [target]=\"item.target\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!item.href\"\n [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"item.divider\" class=\"my-sm border-b border-neutral-base\" aria-hidden=\"true\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n</ng-template>\n\n\n<ul *ngIf=\"!hasNav; else wrapIntoNav\"\n [class]=\"['text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ul>\n<ng-template #wrapIntoNav>\n <nav [class]=\"['text-sm', classes] | makeHtmlList\"\n [id]=\"id\"\n [desyAppAccessibility]=\"this\">\n <ul>\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n </ul>\n </nav>\n</ng-template>\n" }]
|
|
7153
|
+
args: [{ selector: 'desy-nav', template: "<ng-template #innerHtml>\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <ng-template #noStrong>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </ng-template>\n <li>\n <a *ngIf=\"item.href\"\n [href]=\"item.href | externalHref\" [target]=\"item.target\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!item.href\"\n [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment\" [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [class]=\"['flex items-center px-base py-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': item.disabled}\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [attr.id]=\"getItemId(item, i)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.active ? 'page' : item.ariaCurrent ? item.ariaCurrent : null\"\n (keydown.arrowUp)=\"movePrevious($event, i)\"\n (keydown.arrowDown)=\"moveNext($event, i)\"\n (click)=\"onClick($event, item)\"\n (keydown.space)=\"simulateClick($event, item, i)\"\n (keydown.enter)=\"simulateClick($event, item, i)\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else noStrong\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <svg *ngIf=\"item.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"item.divider\" class=\"my-sm border-b border-neutral-base\" aria-hidden=\"true\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n</ng-template>\n\n\n<ul *ngIf=\"!hasNav; else wrapIntoNav\"\n [class]=\"['text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</ul>\n<ng-template #wrapIntoNav>\n <nav [class]=\"['text-sm', classes] | makeHtmlList\"\n [id]=\"id\"\n [desyAppAccessibility]=\"this\">\n <ul>\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n </ul>\n </nav>\n</ng-template>\n" }]
|
|
6950
7154
|
}], propDecorators: { hasNav: [{
|
|
6951
7155
|
type: Input
|
|
6952
7156
|
}], id: [{
|
|
@@ -7383,7 +7587,7 @@ class HeaderComponent extends AccessibilityComponent {
|
|
|
7383
7587
|
navigationComponent.ariaLabel = 'Menú principal';
|
|
7384
7588
|
}
|
|
7385
7589
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7386
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderComponent, selector: "desy-header", inputs: { classes: "classes", containerClasses: "containerClasses", homepageUrl: "homepageUrl", homepageRouterLink: "homepageRouterLink", homepageFragment: "homepageFragment", expandedLogo: "expandedLogo", noLogo: "noLogo", customLogoHtml: "customLogoHtml", customNavigationHtml: "customNavigationHtml", subnavData: "subnavData", navigationData: "navigationData", dropdownData: "dropdownData", offcanvasData: "offcanvasData", skipLinkData: "skipLinkData", mobileTextData: "mobileTextData" }, queries: [{ propertyName: "skiplinkComponent", predicate: SkipLinkComponent }, { propertyName: "subnavComponent", predicate: HeaderSubnavComponent }, { propertyName: "mobileTextComponent", predicate: HeaderMobileTextComponent }, { propertyName: "customNavigationComponent", predicate: HeaderCustomNavigationComponent }, { propertyName: "navigationComponent", predicate: HeaderNavigationComponent }, { propertyName: "dropdownComponent", predicate: HeaderDropdownComponent }, { propertyName: "offcanvasComponent", predicate: HeaderOffcanvasComponent }], usesInheritance: true, ngImport: i0, template: "<header [ngClass]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <div [ngClass]=\"containerClasses\">\n <nav [attr.aria-labelledby]=\"skiplinkComponent && skiplinkComponent.id ? skiplinkComponent.id : 'skip-link'\">\n <ng-content *ngIf=\"skiplinkComponent\" select=\"desy-skip-link\"></ng-content> \n <desy-skip-link *ngIf=\"!skiplinkComponent\" [id]=\"'skip-link'\"><ng-container *desyCustomInnerContent=\"{ html: skipLinkData && skipLinkData.html ? skipLinkData.html : '', text: skipLinkData && skipLinkData.text ? skipLinkData.text : 'Saltar al contenido principal' }\"></ng-container></desy-skip-link>\n </nav>\n <div class=\"bg-neutral-lighter border-b border-neutral-base\">\n <div class=\"container mx-auto px-base\">\n <div class=\"flex items-center justify-between min-h-14\">\n <div class=\"flex flex-wrap items-center\">\n <div class=\"flex items-center\">\n <a *ngIf=\"homepageRouterLink || !homepageUrl\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n <a *ngIf=\"!homepageRouterLink && homepageUrl\" [href]=\"homepageUrl | externalHref\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n\n <ng-content select=\"desy-header-subnav\"></ng-content>\n <desy-header-subnav *ngIf=\"!subnavComponent && subnavData && (subnavData.text || subnavData.html)\"\n [classes]=\"subnavData.classes\"\n [hiddenText]=\"subnavData.hiddenText\"\n [classesContainer]=\"subnavData.classesContainer\"\n [classesTooltip]=\"subnavData.classesTooltip\"\n [role]=\"subnavData.role\"\n [ariaLabel]=\"subnavData.ariaLabel\"\n [ariaDescribedBy]=\"subnavData.ariaDescribedBy\"\n [ariaLabelledBy]=\"subnavData.ariaLabelledBy\"\n [ariaHidden]=\"subnavData.ariaHidden\"\n [ariaDisabled]=\"subnavData.ariaDisabled\"\n [ariaControls]=\"subnavData.ariaControls\"\n [ariaCurrent]=\"subnavData.ariaCurrent\"\n [ariaLive]=\"subnavData.ariaLive\"\n [ariaExpanded]=\"subnavData.ariaExpanded\"\n [ariaErrorMessage]=\"subnavData.ariaErrorMessage\"\n [ariaHasPopup]=\"subnavData.ariaHasPopup\"\n [tabindex]=\"subnavData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: subnavData.html, text: subnavData.text }\"></ng-container>\n <desy-nav *ngIf=\"subnavData && subnavData.items && subnavData.items.length > 0\"\n [hasNav]=\"true\"\n [idPrefix]=\"'header-subnav-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"subnavData.items\"\n [id]=\"'id-subnav-nav'\"\n [ariaLabel]=\"'Aplicaciones'\"></desy-nav>\n </desy-header-subnav>\n\n <ng-content select=\"desy-mobile-text\"></ng-content>\n <desy-mobile-text *ngIf=\"!mobileTextComponent && mobileTextData && (mobileTextData.text || mobileTextData.html)\"\n [classes]=\"mobileTextData.classes\"\n [text]=\"mobileTextData.text\"\n [html]=\"mobileTextData.html\"\n [role]=\"mobileTextData.role\"\n [ariaLabel]=\"mobileTextData.ariaLabel\"\n [ariaDescribedBy]=\"mobileTextData.ariaDescribedBy\"\n [ariaLabelledBy]=\"mobileTextData.ariaLabelledBy\"\n [ariaHidden]=\"mobileTextData.ariaHidden\"\n [ariaDisabled]=\"mobileTextData.ariaDisabled\"\n [ariaControls]=\"mobileTextData.ariaControls\"\n [ariaCurrent]=\"mobileTextData.ariaCurrent\"\n [ariaLive]=\"mobileTextData.ariaLive\"\n [ariaExpanded]=\"mobileTextData.ariaExpanded\"\n [ariaErrorMessage]=\"mobileTextData.ariaErrorMessage\"\n [ariaHasPopup]=\"mobileTextData.ariaHasPopup\"\n [tabindex]=\"mobileTextData.tabindex\">\n </desy-mobile-text>\n\n </div>\n\n <ng-content select=\"desy-header-navigation\"></ng-content>\n <desy-header-navigation *ngIf=\"!navigationComponent && navigationData && navigationData.items && navigationData.items.length > 0\"\n [idPrefix]=\"'header-nav-item'\"\n [classes]=\"navigationData.classes\"\n [items]=\"navigationData.items\"\n [ariaLabel]=\"'Men\u00FA principal'\"></desy-header-navigation>\n </div>\n\n <ng-container *desyCustomInnerContent=\"{ component: customNavigationComponent, html: customNavigationHtml }\"></ng-container>\n\n <ng-content select=\"desy-header-dropdown\"></ng-content>\n <ng-container *ngIf=\"!dropdownComponent && dropdownData && dropdownData.items && dropdownData.items.length > 0\">\n <desy-header-dropdown [classes]=\"dropdownData.classes\"\n [hiddenText]=\"dropdownData.hiddenText\"\n [classesContainer]=\"dropdownData.classesContainer\"\n [classesTooltip]=\"dropdownData.classesTooltip\"\n [role]=\"dropdownData.role\"\n [ariaLabel]=\"dropdownData.ariaLabel\"\n [ariaDescribedBy]=\"dropdownData.ariaDescribedBy\"\n [ariaLabelledBy]=\"dropdownData.ariaLabelledBy\"\n [ariaHidden]=\"dropdownData.ariaHidden\"\n [ariaDisabled]=\"dropdownData.ariaDisabled\"\n [ariaControls]=\"dropdownData.ariaControls\"\n [ariaCurrent]=\"dropdownData.ariaCurrent\"\n [ariaLive]=\"dropdownData.ariaLive\"\n [ariaExpanded]=\"dropdownData.ariaExpanded\"\n [ariaErrorMessage]=\"dropdownData.ariaErrorMessage\"\n [ariaHasPopup]=\"dropdownData.ariaHasPopup\"\n [tabindex]=\"dropdownData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: dropdownData.html, text: dropdownData.text }\"></ng-container>\n <desy-nav [hasNav]=\"true\"\n [idPrefix]=\"'header-dropdown-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"dropdownData.items\"\n [id]=\"'id-dropdown-nav'\"\n [ariaLabel]=\"'Men\u00FA de usuario'\"></desy-nav>\n </desy-header-dropdown>\n </ng-container>\n\n <ng-content select=\"desy-header-offcanvas\"></ng-content>\n <ng-container *ngIf=\"!offcanvasComponent && offcanvasData\">\n <desy-header-offcanvas [classes]=\"offcanvasData.classes\">\n <desy-header-offcanvas-button>\n <ng-container *desyCustomInnerContent=\"{ html: offcanvasData.html, text: offcanvasData.text }\"></ng-container>\n </desy-header-offcanvas-button>\n <desy-header-offcanvas-close-button>{{ offcanvasData.textClose }}</desy-header-offcanvas-close-button>\n <desy-content>\n <ng-container *desyCustomInnerContent=\"{ template: offcanvasData.contentHtml }\"></ng-container>\n </desy-content>\n </desy-header-offcanvas>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n</header>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: ContentComponent, selector: "desy-content", inputs: ["classes"] }, { kind: "component", type: HeaderSubnavComponent, selector: "desy-header-subnav", inputs: ["hiddenText", "classesContainer", "classesTooltip", "classes"] }, { kind: "component", type: HeaderNavigationComponent, selector: "desy-header-navigation, desy-header-advanced-navigation", inputs: ["idPrefix", "classes", "items"] }, { kind: "component", type: HeaderDropdownComponent, selector: "desy-header-dropdown", inputs: ["hiddenText", "classesContainer", "classesTooltip", "classes"] }, { kind: "component", type: HeaderOffcanvasButtonComponent, selector: "desy-header-offcanvas-button, desy-header-advanced-offcanvas-button" }, { kind: "component", type: HeaderOffcanvasComponent, selector: "desy-header-offcanvas, desy-header-advanced-offcanvas", inputs: ["classes"] }, { kind: "component", type: HeaderOffcanvasCloseButtonComponent, selector: "desy-header-offcanvas-close-button, desy-header-advanced-offcanvas-close-button" }, { kind: "component", type: HeaderMobileTextComponent, selector: "desy-mobile-text", inputs: ["html", "text", "classes"] }, { kind: "component", type: NavComponent, selector: "desy-nav", inputs: ["hasNav", "id", "idPrefix", "items", "classes"], outputs: ["clickEvent"] }, { kind: "component", type: SkipLinkComponent, selector: "desy-skip-link", inputs: ["html", "text", "fragment", "classes", "id"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
7590
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderComponent, selector: "desy-header", inputs: { classes: "classes", containerClasses: "containerClasses", homepageUrl: "homepageUrl", homepageRouterLink: "homepageRouterLink", homepageFragment: "homepageFragment", expandedLogo: "expandedLogo", noLogo: "noLogo", customLogoHtml: "customLogoHtml", customNavigationHtml: "customNavigationHtml", subnavData: "subnavData", navigationData: "navigationData", dropdownData: "dropdownData", offcanvasData: "offcanvasData", skipLinkData: "skipLinkData", mobileTextData: "mobileTextData" }, queries: [{ propertyName: "skiplinkComponent", predicate: SkipLinkComponent }, { propertyName: "subnavComponent", predicate: HeaderSubnavComponent }, { propertyName: "mobileTextComponent", predicate: HeaderMobileTextComponent }, { propertyName: "customNavigationComponent", predicate: HeaderCustomNavigationComponent }, { propertyName: "navigationComponent", predicate: HeaderNavigationComponent }, { propertyName: "dropdownComponent", predicate: HeaderDropdownComponent }, { propertyName: "offcanvasComponent", predicate: HeaderOffcanvasComponent }], usesInheritance: true, ngImport: i0, template: "<header [ngClass]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <div [ngClass]=\"containerClasses\">\n <nav [attr.aria-labelledby]=\"skiplinkComponent && skiplinkComponent.id ? skiplinkComponent.id : 'skip-link'\">\n <ng-content *ngIf=\"skiplinkComponent\" select=\"desy-skip-link\"></ng-content> \n <desy-skip-link *ngIf=\"!skiplinkComponent\" [id]=\"'skip-link'\"><ng-container *desyCustomInnerContent=\"{ html: skipLinkData && skipLinkData.html ? skipLinkData.html : '', text: skipLinkData && skipLinkData.text ? skipLinkData.text : 'Saltar al contenido principal' }\"></ng-container></desy-skip-link>\n </nav>\n <div class=\"bg-neutral-lighter border-b border-neutral-base\">\n <div class=\"container mx-auto px-base\">\n <div class=\"flex items-center justify-between min-h-14\">\n <div class=\"flex flex-wrap items-center\">\n <div class=\"flex items-center\">\n <a *ngIf=\"homepageRouterLink || !homepageUrl\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n <a *ngIf=\"!homepageRouterLink && homepageUrl\" [href]=\"homepageUrl | externalHref\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n\n <ng-content select=\"desy-header-subnav\"></ng-content>\n <desy-header-subnav *ngIf=\"!subnavComponent && subnavData && (subnavData.text || subnavData.html)\"\n [classes]=\"subnavData.classes\"\n [hiddenText]=\"subnavData.hiddenText\"\n [classesContainer]=\"subnavData.classesContainer\"\n [classesTooltip]=\"subnavData.classesTooltip\"\n [role]=\"subnavData.role\"\n [ariaLabel]=\"subnavData.ariaLabel\"\n [ariaDescribedBy]=\"subnavData.ariaDescribedBy\"\n [ariaLabelledBy]=\"subnavData.ariaLabelledBy\"\n [ariaHidden]=\"subnavData.ariaHidden\"\n [ariaDisabled]=\"subnavData.ariaDisabled\"\n [ariaControls]=\"subnavData.ariaControls\"\n [ariaCurrent]=\"subnavData.ariaCurrent\"\n [ariaLive]=\"subnavData.ariaLive\"\n [ariaExpanded]=\"subnavData.ariaExpanded\"\n [ariaErrorMessage]=\"subnavData.ariaErrorMessage\"\n [ariaHasPopup]=\"subnavData.ariaHasPopup\"\n [tabindex]=\"subnavData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: subnavData.html, text: subnavData.text }\"></ng-container>\n <desy-nav *ngIf=\"subnavData && subnavData.items && subnavData.items.length > 0\"\n [hasNav]=\"true\"\n [idPrefix]=\"'header-subnav-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"subnavData.items\"\n [id]=\"'id-subnav-nav'\"\n [ariaLabel]=\"'Aplicaciones'\"></desy-nav>\n </desy-header-subnav>\n\n <ng-content select=\"desy-mobile-text\"></ng-content>\n <desy-mobile-text *ngIf=\"!mobileTextComponent && mobileTextData && (mobileTextData.text || mobileTextData.html)\"\n [classes]=\"mobileTextData.classes\"\n [text]=\"mobileTextData.text\"\n [html]=\"mobileTextData.html\"\n [role]=\"mobileTextData.role\"\n [ariaLabel]=\"mobileTextData.ariaLabel\"\n [ariaDescribedBy]=\"mobileTextData.ariaDescribedBy\"\n [ariaLabelledBy]=\"mobileTextData.ariaLabelledBy\"\n [ariaHidden]=\"mobileTextData.ariaHidden\"\n [ariaDisabled]=\"mobileTextData.ariaDisabled\"\n [ariaControls]=\"mobileTextData.ariaControls\"\n [ariaCurrent]=\"mobileTextData.ariaCurrent\"\n [ariaLive]=\"mobileTextData.ariaLive\"\n [ariaExpanded]=\"mobileTextData.ariaExpanded\"\n [ariaErrorMessage]=\"mobileTextData.ariaErrorMessage\"\n [ariaHasPopup]=\"mobileTextData.ariaHasPopup\"\n [tabindex]=\"mobileTextData.tabindex\">\n </desy-mobile-text>\n\n </div>\n\n <ng-content select=\"desy-header-navigation\"></ng-content>\n <desy-header-navigation *ngIf=\"!navigationComponent && navigationData && navigationData.items && navigationData.items.length > 0\"\n [idPrefix]=\"'header-nav-item'\"\n [classes]=\"navigationData.classes\"\n [items]=\"navigationData.items\"\n [ariaLabel]=\"'Men\u00FA principal'\"></desy-header-navigation>\n </div>\n\n <ng-container *desyCustomInnerContent=\"{ component: customNavigationComponent, html: customNavigationHtml }\"></ng-container>\n\n <ng-content select=\"desy-header-dropdown\"></ng-content>\n <ng-container *ngIf=\"!dropdownComponent && dropdownData && dropdownData.items && dropdownData.items.length > 0\">\n <desy-header-dropdown [classes]=\"dropdownData.classes\"\n [hiddenText]=\"dropdownData.hiddenText\"\n [classesContainer]=\"dropdownData.classesContainer\"\n [classesTooltip]=\"dropdownData.classesTooltip\"\n [role]=\"dropdownData.role\"\n [ariaLabel]=\"dropdownData.ariaLabel\"\n [ariaDescribedBy]=\"dropdownData.ariaDescribedBy\"\n [ariaLabelledBy]=\"dropdownData.ariaLabelledBy\"\n [ariaHidden]=\"dropdownData.ariaHidden\"\n [ariaDisabled]=\"dropdownData.ariaDisabled\"\n [ariaControls]=\"dropdownData.ariaControls\"\n [ariaCurrent]=\"dropdownData.ariaCurrent\"\n [ariaLive]=\"dropdownData.ariaLive\"\n [ariaExpanded]=\"dropdownData.ariaExpanded\"\n [ariaErrorMessage]=\"dropdownData.ariaErrorMessage\"\n [ariaHasPopup]=\"dropdownData.ariaHasPopup\"\n [tabindex]=\"dropdownData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: dropdownData.html, text: dropdownData.text }\"></ng-container>\n <desy-nav [hasNav]=\"true\"\n [idPrefix]=\"'header-dropdown-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"dropdownData.items\"\n [id]=\"'id-dropdown-nav'\"\n [ariaLabel]=\"'Men\u00FA de usuario'\"></desy-nav>\n </desy-header-dropdown>\n </ng-container>\n\n <ng-content select=\"desy-header-offcanvas\"></ng-content>\n <ng-container *ngIf=\"!offcanvasComponent && offcanvasData\">\n <desy-header-offcanvas [classes]=\"offcanvasData.classes\">\n <desy-header-offcanvas-button>\n <ng-container *desyCustomInnerContent=\"{ html: offcanvasData.html, text: offcanvasData.text }\"></ng-container>\n </desy-header-offcanvas-button>\n <desy-header-offcanvas-close-button>{{ offcanvasData.textClose }}</desy-header-offcanvas-close-button>\n <desy-content>\n <ng-container *desyCustomInnerContent=\"{ template: offcanvasData.contentHtml }\"></ng-container>\n </desy-content>\n </desy-header-offcanvas>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n</header>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: ContentComponent, selector: "desy-content", inputs: ["classes"] }, { kind: "component", type: HeaderSubnavComponent, selector: "desy-header-subnav", inputs: ["hiddenText", "classesContainer", "classesTooltip", "classes"] }, { kind: "component", type: HeaderNavigationComponent, selector: "desy-header-navigation, desy-header-advanced-navigation", inputs: ["idPrefix", "classes", "items"] }, { kind: "component", type: HeaderDropdownComponent, selector: "desy-header-dropdown", inputs: ["hiddenText", "classesContainer", "classesTooltip", "classes"] }, { kind: "component", type: HeaderOffcanvasButtonComponent, selector: "desy-header-offcanvas-button, desy-header-advanced-offcanvas-button" }, { kind: "component", type: HeaderOffcanvasComponent, selector: "desy-header-offcanvas, desy-header-advanced-offcanvas", inputs: ["classes"] }, { kind: "component", type: HeaderOffcanvasCloseButtonComponent, selector: "desy-header-offcanvas-close-button, desy-header-advanced-offcanvas-close-button" }, { kind: "component", type: HeaderMobileTextComponent, selector: "desy-mobile-text", inputs: ["html", "text", "classes"] }, { kind: "component", type: NavComponent, selector: "desy-nav", inputs: ["hasNav", "id", "idPrefix", "items", "classes"], outputs: ["clickEvent"] }, { kind: "component", type: SkipLinkComponent, selector: "desy-skip-link", inputs: ["html", "text", "fragment", "classes", "id"] }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
7387
7591
|
}
|
|
7388
7592
|
__decorate([
|
|
7389
7593
|
DesyContentChild(),
|
|
@@ -7415,7 +7619,7 @@ __decorate([
|
|
|
7415
7619
|
], HeaderComponent.prototype, "offcanvasComponent", void 0);
|
|
7416
7620
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
7417
7621
|
type: Component,
|
|
7418
|
-
args: [{ selector: 'desy-header', template: "<header [ngClass]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <div [ngClass]=\"containerClasses\">\n <nav [attr.aria-labelledby]=\"skiplinkComponent && skiplinkComponent.id ? skiplinkComponent.id : 'skip-link'\">\n <ng-content *ngIf=\"skiplinkComponent\" select=\"desy-skip-link\"></ng-content> \n <desy-skip-link *ngIf=\"!skiplinkComponent\" [id]=\"'skip-link'\"><ng-container *desyCustomInnerContent=\"{ html: skipLinkData && skipLinkData.html ? skipLinkData.html : '', text: skipLinkData && skipLinkData.text ? skipLinkData.text : 'Saltar al contenido principal' }\"></ng-container></desy-skip-link>\n </nav>\n <div class=\"bg-neutral-lighter border-b border-neutral-base\">\n <div class=\"container mx-auto px-base\">\n <div class=\"flex items-center justify-between min-h-14\">\n <div class=\"flex flex-wrap items-center\">\n <div class=\"flex items-center\">\n <a *ngIf=\"homepageRouterLink || !homepageUrl\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n <a *ngIf=\"!homepageRouterLink && homepageUrl\" [href]=\"homepageUrl | externalHref\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Gobierno de Arag\u00F3n. Ir a la p\u00E1gina de inicio\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n\n <ng-content select=\"desy-header-subnav\"></ng-content>\n <desy-header-subnav *ngIf=\"!subnavComponent && subnavData && (subnavData.text || subnavData.html)\"\n [classes]=\"subnavData.classes\"\n [hiddenText]=\"subnavData.hiddenText\"\n [classesContainer]=\"subnavData.classesContainer\"\n [classesTooltip]=\"subnavData.classesTooltip\"\n [role]=\"subnavData.role\"\n [ariaLabel]=\"subnavData.ariaLabel\"\n [ariaDescribedBy]=\"subnavData.ariaDescribedBy\"\n [ariaLabelledBy]=\"subnavData.ariaLabelledBy\"\n [ariaHidden]=\"subnavData.ariaHidden\"\n [ariaDisabled]=\"subnavData.ariaDisabled\"\n [ariaControls]=\"subnavData.ariaControls\"\n [ariaCurrent]=\"subnavData.ariaCurrent\"\n [ariaLive]=\"subnavData.ariaLive\"\n [ariaExpanded]=\"subnavData.ariaExpanded\"\n [ariaErrorMessage]=\"subnavData.ariaErrorMessage\"\n [ariaHasPopup]=\"subnavData.ariaHasPopup\"\n [tabindex]=\"subnavData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: subnavData.html, text: subnavData.text }\"></ng-container>\n <desy-nav *ngIf=\"subnavData && subnavData.items && subnavData.items.length > 0\"\n [hasNav]=\"true\"\n [idPrefix]=\"'header-subnav-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"subnavData.items\"\n [id]=\"'id-subnav-nav'\"\n [ariaLabel]=\"'Aplicaciones'\"></desy-nav>\n </desy-header-subnav>\n\n <ng-content select=\"desy-mobile-text\"></ng-content>\n <desy-mobile-text *ngIf=\"!mobileTextComponent && mobileTextData && (mobileTextData.text || mobileTextData.html)\"\n [classes]=\"mobileTextData.classes\"\n [text]=\"mobileTextData.text\"\n [html]=\"mobileTextData.html\"\n [role]=\"mobileTextData.role\"\n [ariaLabel]=\"mobileTextData.ariaLabel\"\n [ariaDescribedBy]=\"mobileTextData.ariaDescribedBy\"\n [ariaLabelledBy]=\"mobileTextData.ariaLabelledBy\"\n [ariaHidden]=\"mobileTextData.ariaHidden\"\n [ariaDisabled]=\"mobileTextData.ariaDisabled\"\n [ariaControls]=\"mobileTextData.ariaControls\"\n [ariaCurrent]=\"mobileTextData.ariaCurrent\"\n [ariaLive]=\"mobileTextData.ariaLive\"\n [ariaExpanded]=\"mobileTextData.ariaExpanded\"\n [ariaErrorMessage]=\"mobileTextData.ariaErrorMessage\"\n [ariaHasPopup]=\"mobileTextData.ariaHasPopup\"\n [tabindex]=\"mobileTextData.tabindex\">\n </desy-mobile-text>\n\n </div>\n\n <ng-content select=\"desy-header-navigation\"></ng-content>\n <desy-header-navigation *ngIf=\"!navigationComponent && navigationData && navigationData.items && navigationData.items.length > 0\"\n [idPrefix]=\"'header-nav-item'\"\n [classes]=\"navigationData.classes\"\n [items]=\"navigationData.items\"\n [ariaLabel]=\"'Men\u00FA principal'\"></desy-header-navigation>\n </div>\n\n <ng-container *desyCustomInnerContent=\"{ component: customNavigationComponent, html: customNavigationHtml }\"></ng-container>\n\n <ng-content select=\"desy-header-dropdown\"></ng-content>\n <ng-container *ngIf=\"!dropdownComponent && dropdownData && dropdownData.items && dropdownData.items.length > 0\">\n <desy-header-dropdown [classes]=\"dropdownData.classes\"\n [hiddenText]=\"dropdownData.hiddenText\"\n [classesContainer]=\"dropdownData.classesContainer\"\n [classesTooltip]=\"dropdownData.classesTooltip\"\n [role]=\"dropdownData.role\"\n [ariaLabel]=\"dropdownData.ariaLabel\"\n [ariaDescribedBy]=\"dropdownData.ariaDescribedBy\"\n [ariaLabelledBy]=\"dropdownData.ariaLabelledBy\"\n [ariaHidden]=\"dropdownData.ariaHidden\"\n [ariaDisabled]=\"dropdownData.ariaDisabled\"\n [ariaControls]=\"dropdownData.ariaControls\"\n [ariaCurrent]=\"dropdownData.ariaCurrent\"\n [ariaLive]=\"dropdownData.ariaLive\"\n [ariaExpanded]=\"dropdownData.ariaExpanded\"\n [ariaErrorMessage]=\"dropdownData.ariaErrorMessage\"\n [ariaHasPopup]=\"dropdownData.ariaHasPopup\"\n [tabindex]=\"dropdownData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: dropdownData.html, text: dropdownData.text }\"></ng-container>\n <desy-nav [hasNav]=\"true\"\n [idPrefix]=\"'header-dropdown-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"dropdownData.items\"\n [id]=\"'id-dropdown-nav'\"\n [ariaLabel]=\"'Men\u00FA de usuario'\"></desy-nav>\n </desy-header-dropdown>\n </ng-container>\n\n <ng-content select=\"desy-header-offcanvas\"></ng-content>\n <ng-container *ngIf=\"!offcanvasComponent && offcanvasData\">\n <desy-header-offcanvas [classes]=\"offcanvasData.classes\">\n <desy-header-offcanvas-button>\n <ng-container *desyCustomInnerContent=\"{ html: offcanvasData.html, text: offcanvasData.text }\"></ng-container>\n </desy-header-offcanvas-button>\n <desy-header-offcanvas-close-button>{{ offcanvasData.textClose }}</desy-header-offcanvas-close-button>\n <desy-content>\n <ng-container *desyCustomInnerContent=\"{ template: offcanvasData.contentHtml }\"></ng-container>\n </desy-content>\n </desy-header-offcanvas>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n</header>\n" }]
|
|
7622
|
+
args: [{ selector: 'desy-header', template: "<header [ngClass]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <div [ngClass]=\"containerClasses\">\n <nav [attr.aria-labelledby]=\"skiplinkComponent && skiplinkComponent.id ? skiplinkComponent.id : 'skip-link'\">\n <ng-content *ngIf=\"skiplinkComponent\" select=\"desy-skip-link\"></ng-content> \n <desy-skip-link *ngIf=\"!skiplinkComponent\" [id]=\"'skip-link'\"><ng-container *desyCustomInnerContent=\"{ html: skipLinkData && skipLinkData.html ? skipLinkData.html : '', text: skipLinkData && skipLinkData.text ? skipLinkData.text : 'Saltar al contenido principal' }\"></ng-container></desy-skip-link>\n </nav>\n <div class=\"bg-neutral-lighter border-b border-neutral-base\">\n <div class=\"container mx-auto px-base\">\n <div class=\"flex items-center justify-between min-h-14\">\n <div class=\"flex flex-wrap items-center\">\n <div class=\"flex items-center\">\n <a *ngIf=\"homepageRouterLink || !homepageUrl\" [routerLink]=\"homepageRouterLink\" [fragment]=\"homepageFragment\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n <a *ngIf=\"!homepageRouterLink && homepageUrl\" [href]=\"homepageUrl | externalHref\" class=\"flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black\" title=\"Ir a la p\u00E1gina de inicio\">\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 144 32\" width=\"144\" height=\"32\" [ngClass]=\"{'sm:block': expandedLogo}\" class=\"fill-current hidden\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-expanded\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h31.509v31.495H0z\"/></clipPath><clipPath id=\"a-logo-expanded\"><path d=\"M0 0h144v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-expanded)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .205h31.509V31.7H0z\"/><g clip-path=\"url(#b-logo-expanded)\" transform=\"translate(0 .205)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z\"/></g></g><path d=\"M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z\" fill=\"#161615\" fill-rule=\"evenodd\"/></g></svg>\n <svg *ngIf=\"!noLogo\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\" width=\"32\" height=\"32\" [ngClass]=\"{'sm:hidden': expandedLogo}\" class=\"w-8 h-8 fill-current\" aria-label=\"Ir a la p\u00E1gina de inicio de la aplicaci\u00F3n\" role=\"img\"><defs><clipPath id=\"b-logo-mini\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 0h32v32.001H0z\"/></clipPath><clipPath id=\"a-logo-mini\"><path d=\"M0 0h32v32H0z\"/></clipPath></defs><g clip-path=\"url(#a-logo-mini)\"><path fill=\"rgb(252, 228, 0)\" d=\"M0 .305h32v32.001H0z\"/><g clip-path=\"url(#b-logo-mini)\" transform=\"translate(0 .305)\"><g fill=\"#dd171b\" fill-rule=\"evenodd\"><path d=\"m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z\"/></g></g></g></svg>\n <ng-container *desyCustomInnerContent=\"{ html: customLogoHtml ? customLogoHtml : null}\"></ng-container>\n </a>\n\n <ng-content select=\"desy-header-subnav\"></ng-content>\n <desy-header-subnav *ngIf=\"!subnavComponent && subnavData && (subnavData.text || subnavData.html)\"\n [classes]=\"subnavData.classes\"\n [hiddenText]=\"subnavData.hiddenText\"\n [classesContainer]=\"subnavData.classesContainer\"\n [classesTooltip]=\"subnavData.classesTooltip\"\n [role]=\"subnavData.role\"\n [ariaLabel]=\"subnavData.ariaLabel\"\n [ariaDescribedBy]=\"subnavData.ariaDescribedBy\"\n [ariaLabelledBy]=\"subnavData.ariaLabelledBy\"\n [ariaHidden]=\"subnavData.ariaHidden\"\n [ariaDisabled]=\"subnavData.ariaDisabled\"\n [ariaControls]=\"subnavData.ariaControls\"\n [ariaCurrent]=\"subnavData.ariaCurrent\"\n [ariaLive]=\"subnavData.ariaLive\"\n [ariaExpanded]=\"subnavData.ariaExpanded\"\n [ariaErrorMessage]=\"subnavData.ariaErrorMessage\"\n [ariaHasPopup]=\"subnavData.ariaHasPopup\"\n [tabindex]=\"subnavData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: subnavData.html, text: subnavData.text }\"></ng-container>\n <desy-nav *ngIf=\"subnavData && subnavData.items && subnavData.items.length > 0\"\n [hasNav]=\"true\"\n [idPrefix]=\"'header-subnav-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"subnavData.items\"\n [id]=\"'id-subnav-nav'\"\n [ariaLabel]=\"'Aplicaciones'\"></desy-nav>\n </desy-header-subnav>\n\n <ng-content select=\"desy-mobile-text\"></ng-content>\n <desy-mobile-text *ngIf=\"!mobileTextComponent && mobileTextData && (mobileTextData.text || mobileTextData.html)\"\n [classes]=\"mobileTextData.classes\"\n [text]=\"mobileTextData.text\"\n [html]=\"mobileTextData.html\"\n [role]=\"mobileTextData.role\"\n [ariaLabel]=\"mobileTextData.ariaLabel\"\n [ariaDescribedBy]=\"mobileTextData.ariaDescribedBy\"\n [ariaLabelledBy]=\"mobileTextData.ariaLabelledBy\"\n [ariaHidden]=\"mobileTextData.ariaHidden\"\n [ariaDisabled]=\"mobileTextData.ariaDisabled\"\n [ariaControls]=\"mobileTextData.ariaControls\"\n [ariaCurrent]=\"mobileTextData.ariaCurrent\"\n [ariaLive]=\"mobileTextData.ariaLive\"\n [ariaExpanded]=\"mobileTextData.ariaExpanded\"\n [ariaErrorMessage]=\"mobileTextData.ariaErrorMessage\"\n [ariaHasPopup]=\"mobileTextData.ariaHasPopup\"\n [tabindex]=\"mobileTextData.tabindex\">\n </desy-mobile-text>\n\n </div>\n\n <ng-content select=\"desy-header-navigation\"></ng-content>\n <desy-header-navigation *ngIf=\"!navigationComponent && navigationData && navigationData.items && navigationData.items.length > 0\"\n [idPrefix]=\"'header-nav-item'\"\n [classes]=\"navigationData.classes\"\n [items]=\"navigationData.items\"\n [ariaLabel]=\"'Men\u00FA principal'\"></desy-header-navigation>\n </div>\n\n <ng-container *desyCustomInnerContent=\"{ component: customNavigationComponent, html: customNavigationHtml }\"></ng-container>\n\n <ng-content select=\"desy-header-dropdown\"></ng-content>\n <ng-container *ngIf=\"!dropdownComponent && dropdownData && dropdownData.items && dropdownData.items.length > 0\">\n <desy-header-dropdown [classes]=\"dropdownData.classes\"\n [hiddenText]=\"dropdownData.hiddenText\"\n [classesContainer]=\"dropdownData.classesContainer\"\n [classesTooltip]=\"dropdownData.classesTooltip\"\n [role]=\"dropdownData.role\"\n [ariaLabel]=\"dropdownData.ariaLabel\"\n [ariaDescribedBy]=\"dropdownData.ariaDescribedBy\"\n [ariaLabelledBy]=\"dropdownData.ariaLabelledBy\"\n [ariaHidden]=\"dropdownData.ariaHidden\"\n [ariaDisabled]=\"dropdownData.ariaDisabled\"\n [ariaControls]=\"dropdownData.ariaControls\"\n [ariaCurrent]=\"dropdownData.ariaCurrent\"\n [ariaLive]=\"dropdownData.ariaLive\"\n [ariaExpanded]=\"dropdownData.ariaExpanded\"\n [ariaErrorMessage]=\"dropdownData.ariaErrorMessage\"\n [ariaHasPopup]=\"dropdownData.ariaHasPopup\"\n [tabindex]=\"dropdownData.tabindex\">\n <ng-container *desyCustomInnerContent=\"{ html: dropdownData.html, text: dropdownData.text }\"></ng-container>\n <desy-nav [hasNav]=\"true\"\n [idPrefix]=\"'header-dropdown-nav-item'\"\n [classes]=\"'w-max max-w-64'\"\n [items]=\"dropdownData.items\"\n [id]=\"'id-dropdown-nav'\"\n [ariaLabel]=\"'Men\u00FA de usuario'\"></desy-nav>\n </desy-header-dropdown>\n </ng-container>\n\n <ng-content select=\"desy-header-offcanvas\"></ng-content>\n <ng-container *ngIf=\"!offcanvasComponent && offcanvasData\">\n <desy-header-offcanvas [classes]=\"offcanvasData.classes\">\n <desy-header-offcanvas-button>\n <ng-container *desyCustomInnerContent=\"{ html: offcanvasData.html, text: offcanvasData.text }\"></ng-container>\n </desy-header-offcanvas-button>\n <desy-header-offcanvas-close-button>{{ offcanvasData.textClose }}</desy-header-offcanvas-close-button>\n <desy-content>\n <ng-container *desyCustomInnerContent=\"{ template: offcanvasData.contentHtml }\"></ng-container>\n </desy-content>\n </desy-header-offcanvas>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n</header>\n" }]
|
|
7419
7623
|
}], propDecorators: { classes: [{
|
|
7420
7624
|
type: Input
|
|
7421
7625
|
}], containerClasses: [{
|
|
@@ -7469,6 +7673,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7469
7673
|
args: [HeaderOffcanvasComponent]
|
|
7470
7674
|
}] } });
|
|
7471
7675
|
|
|
7676
|
+
class LinksListIconRightComponent extends ContentBaseComponent {
|
|
7677
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListIconRightComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7678
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinksListIconRightComponent, selector: "desy-links-icon-right", inputs: { type: "type", containerClasses: "containerClasses" }, usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>" }); }
|
|
7679
|
+
}
|
|
7680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListIconRightComponent, decorators: [{
|
|
7681
|
+
type: Component,
|
|
7682
|
+
args: [{ selector: 'desy-links-icon-right', template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>" }]
|
|
7683
|
+
}], propDecorators: { type: [{
|
|
7684
|
+
type: Input
|
|
7685
|
+
}], containerClasses: [{
|
|
7686
|
+
type: Input
|
|
7687
|
+
}] } });
|
|
7688
|
+
|
|
7472
7689
|
class LinksListItemSubComponent extends ContentBaseComponent {
|
|
7473
7690
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListItemSubComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7474
7691
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinksListItemSubComponent, selector: "desy-links-list-item-sub", inputs: { classes: "classes" }, usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n" }); }
|
|
@@ -7482,7 +7699,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7482
7699
|
|
|
7483
7700
|
class LinksListItemComponent extends ContentBaseComponent {
|
|
7484
7701
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7485
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinksListItemComponent, selector: "desy-links-list-item", inputs: { containerClasses: "containerClasses", classes: "classes", titleModal: "titleModal", id: "id", href: "href", routerLink: "routerLink", routerLinkActiveClasses: "routerLinkActiveClasses", target: "target", fragment: "fragment", active: "active", disabled: "disabled" }, queries: [{ propertyName: "icon", first: true, predicate: IconComponent, descendants: true }, { propertyName: "sub", first: true, predicate: LinksListItemSubComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n " }); }
|
|
7702
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinksListItemComponent, selector: "desy-links-list-item", inputs: { containerClasses: "containerClasses", classes: "classes", titleModal: "titleModal", id: "id", href: "href", routerLink: "routerLink", routerLinkActiveClasses: "routerLinkActiveClasses", target: "target", fragment: "fragment", active: "active", disabled: "disabled" }, queries: [{ propertyName: "icon", first: true, predicate: IconComponent, descendants: true }, { propertyName: "iconRight", first: true, predicate: LinksListIconRightComponent, descendants: true }, { propertyName: "sub", first: true, predicate: LinksListItemSubComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #contentTemplate>\n <ng-content></ng-content>\n</ng-template>\n " }); }
|
|
7486
7703
|
}
|
|
7487
7704
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListItemComponent, decorators: [{
|
|
7488
7705
|
type: Component,
|
|
@@ -7512,6 +7729,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7512
7729
|
}], icon: [{
|
|
7513
7730
|
type: ContentChild,
|
|
7514
7731
|
args: [IconComponent]
|
|
7732
|
+
}], iconRight: [{
|
|
7733
|
+
type: ContentChild,
|
|
7734
|
+
args: [LinksListIconRightComponent]
|
|
7515
7735
|
}], sub: [{
|
|
7516
7736
|
type: ContentChild,
|
|
7517
7737
|
args: [LinksListItemSubComponent]
|
|
@@ -7534,15 +7754,17 @@ class LinksListComponent extends AccessibilityComponent {
|
|
|
7534
7754
|
return id;
|
|
7535
7755
|
}
|
|
7536
7756
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7537
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinksListComponent, selector: "desy-links-list", inputs: { hasNav: "hasNav", classes: "classes", idPrefix: "idPrefix" }, queries: [{ propertyName: "items", predicate: LinksListItemComponent }], usesInheritance: true, ngImport: i0, template: "\n<ng-template #innerHtml>\n <ul *ngIf=\"items\">\n <li *ngFor=\"let item of items; index as i\" [class]=\"item.containerClasses ? item.containerClasses : 'px-base
|
|
7757
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LinksListComponent, selector: "desy-links-list", inputs: { hasNav: "hasNav", classes: "classes", listClasses: "listClasses", idPrefix: "idPrefix" }, queries: [{ propertyName: "items", predicate: LinksListItemComponent }], usesInheritance: true, ngImport: i0, template: "\n<ng-template #innerHtml>\n <ul *ngIf=\"items\" [ngClass]=\"listClasses ? listClasses : 'divide-y divide-neutral-base'\">\n <li *ngFor=\"let item of items; index as i\" [class]=\"item.containerClasses ? item.containerClasses : 'px-base relative'\">\n <ng-template #itemContent>\n <div class=\"flex gap-base justify-between items-center flex-1\">\n <div *ngIf=\"item.icon\" [class]=\"item.icon.containerClasses ? item.icon.containerClasses : 'self-center h-full'\">\n <ng-container *ngTemplateOutlet=\"item.icon.getContent()\"></ng-container>\n </div>\n <div class=\"flex-1\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else item.getContent()\">\n <ng-container *ngTemplateOutlet=\"item.getContent()\"></ng-container>\n </strong>\n </div>\n </div>\n\n <ng-container *ngIf=\"item.iconRight\">\n <div *ngIf=\"item.iconRight.type=='arrow'\" [ngClass]=\"item.iconRight.containerClasses ? item.iconRight.containerClasses : 'self-center h-full'\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"self-center\" aria-hidden=\"true\" focusable=\"false\" width=\"1em\" height=\"1em\"><path d=\"M102.07 27.93l35 35a10 10 0 010 14.14l-35 35a10 10 0 01-14.14-14.14l13.66-13.66A2.5 2.5 0 0099.82 80H10a10 10 0 010-20h89.82a2.5 2.5 0 001.77-4.27L87.93 42.07a10 10 0 0114.14-14.14z\" fill=\"currentColor\"></path></svg>\n </div>\n <div *ngIf=\"item.iconRight.type=='chevron'\" [ngClass]=\"item.iconRight.containerClasses ? item.iconRight.containerClasses : 'self-center h-full'\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\" class=\"self-center\" aria-hidden=\"true\" focusable=\"false\" width=\"1em\" height=\"1em\"><g><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3.4685 0.427C3.8512 0.0443 4.4717 0.0443 4.8545 0.427L10.388 5.9606C10.962 6.5346 10.962 7.4654 10.388 8.0395L4.8545 13.573C4.4717 13.9557 3.8512 13.9557 3.4685 13.573C3.0858 13.1903 3.0858 12.5698 3.4685 12.1871L8.6556 7L3.4685 1.813C3.0858 1.4303 3.0858 0.8098 3.4685 0.427Z\" clip-rule=\"evenodd\" stroke-width=\"1\"></path></g></svg>\n </div>\n <ng-container *ngIf=\"item.iconRight.type=='none'\"></ng-container>\n <div *ngIf=\"!item.iconRight.type\" [ngClass]=\"item.iconRight.containerClasses ? item.iconRight.containerClasses : 'self-center h-full'\">\n <ng-container *ngTemplateOutlet=\"item.iconRight.getContent()\"></ng-container>\n </div>\n </ng-container>\n <div *ngIf=\"!item.iconRight\" class=\"self-center h-full\">\n <!-- arrow -->\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"self-center\" aria-hidden=\"true\" focusable=\"false\" width=\"1em\" height=\"1em\"><path d=\"M102.07 27.93l35 35a10 10 0 010 14.14l-35 35a10 10 0 01-14.14-14.14l13.66-13.66A2.5 2.5 0 0099.82 80H10a10 10 0 010-20h89.82a2.5 2.5 0 001.77-4.27L87.93 42.07a10 10 0 0114.14-14.14z\" fill=\"currentColor\"></path></svg>\n </div>\n </ng-template>\n\n <a *ngIf=\"item.href && !item.routerLink\" [id]=\"getItemId(item, i)\"\n [href]=\"item.href | externalHref\"\n [attr.current-page]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? '-1' : item.tabindex || null\"\n [attr.target]=\"item.target ? item.target : null\"\n [desyAppAccessibility]=\"item\"\n [class]=\"[ 'c-link', item.classes ? item.classes : 'flex justify-between items-center gap-base flex-1 py-base', item.disabled ? 'text-neutral-base no-underline pointer-events-none' : '', item.active ? 'font-bold' : ''] | makeHtmlList\">\n <ng-container *ngTemplateOutlet=\"itemContent\"></ng-container>\n </a>\n\n <a *ngIf=\"!item.href && item.routerLink\" [id]=\"getItemId(item, i)\"\n [routerLink]=\"item.routerLink\" \n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\" \n [attr.current-page]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? '-1' : item.tabindex || null\"\n [attr.target]=\"item.target ? item.target : null\"\n [desyAppAccessibility]=\"item\"\n [class]=\"[ 'c-link', item.classes ? item.classes : 'flex justify-between items-center gap-base flex-1 py-base', item.disabled ? 'text-neutral-base no-underline pointer-events-none' : '', item.active ? 'font-bold' : ''] | makeHtmlList\">\n <ng-container *ngTemplateOutlet=\"itemContent\"></ng-container>\n </a>\n\n <div *ngIf=\"!item.href && !item.routerLink\" [id]=\"getItemId(item, i)\"\n [attr.current-page]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? '-1' : item.tabindex || null\"\n [attr.target]=\"item.target ? item.target : null\"\n [desyAppAccessibility]=\"item\"\n [class]=\"[ item.classes ? item.classes : 'flex justify-between items-center gap-base flex-1 py-base', item.disabled ? 'text-neutral-base no-underline pointer-events-none': '', item.active ? 'font-bold': ''] | makeHtmlList\">\n <ng-container *ngTemplateOutlet=\"itemContent\"></ng-container>\n </div>\n <div *ngIf=\"item.sub\" [id]=\"'sub-' + getItemId(item, i)\" [class]=\"item.sub.classes ? item.sub.classes : 'c-paragraph-base text-neutral-dark -mt-base mr-lg'\">\n <ng-container *ngTemplateOutlet=\"item.sub.getContent()\"></ng-container>\n </div>\n </li>\n </ul>\n</ng-template>\n\n<div *ngIf=\"!hasNav\" [class]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</div>\n<nav *ngIf=\"hasNav\" [class]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
7538
7758
|
}
|
|
7539
7759
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LinksListComponent, decorators: [{
|
|
7540
7760
|
type: Component,
|
|
7541
|
-
args: [{ selector: 'desy-links-list', template: "\n<ng-template #innerHtml>\n <ul *ngIf=\"items\">\n <li *ngFor=\"let item of items; index as i\" [class]=\"item.containerClasses ? item.containerClasses : 'px-base
|
|
7761
|
+
args: [{ selector: 'desy-links-list', template: "\n<ng-template #innerHtml>\n <ul *ngIf=\"items\" [ngClass]=\"listClasses ? listClasses : 'divide-y divide-neutral-base'\">\n <li *ngFor=\"let item of items; index as i\" [class]=\"item.containerClasses ? item.containerClasses : 'px-base relative'\">\n <ng-template #itemContent>\n <div class=\"flex gap-base justify-between items-center flex-1\">\n <div *ngIf=\"item.icon\" [class]=\"item.icon.containerClasses ? item.icon.containerClasses : 'self-center h-full'\">\n <ng-container *ngTemplateOutlet=\"item.icon.getContent()\"></ng-container>\n </div>\n <div class=\"flex-1\">\n <strong class=\"font-bold\" *ngIf=\"item.active; else item.getContent()\">\n <ng-container *ngTemplateOutlet=\"item.getContent()\"></ng-container>\n </strong>\n </div>\n </div>\n\n <ng-container *ngIf=\"item.iconRight\">\n <div *ngIf=\"item.iconRight.type=='arrow'\" [ngClass]=\"item.iconRight.containerClasses ? item.iconRight.containerClasses : 'self-center h-full'\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"self-center\" aria-hidden=\"true\" focusable=\"false\" width=\"1em\" height=\"1em\"><path d=\"M102.07 27.93l35 35a10 10 0 010 14.14l-35 35a10 10 0 01-14.14-14.14l13.66-13.66A2.5 2.5 0 0099.82 80H10a10 10 0 010-20h89.82a2.5 2.5 0 001.77-4.27L87.93 42.07a10 10 0 0114.14-14.14z\" fill=\"currentColor\"></path></svg>\n </div>\n <div *ngIf=\"item.iconRight.type=='chevron'\" [ngClass]=\"item.iconRight.containerClasses ? item.iconRight.containerClasses : 'self-center h-full'\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\" class=\"self-center\" aria-hidden=\"true\" focusable=\"false\" width=\"1em\" height=\"1em\"><g><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3.4685 0.427C3.8512 0.0443 4.4717 0.0443 4.8545 0.427L10.388 5.9606C10.962 6.5346 10.962 7.4654 10.388 8.0395L4.8545 13.573C4.4717 13.9557 3.8512 13.9557 3.4685 13.573C3.0858 13.1903 3.0858 12.5698 3.4685 12.1871L8.6556 7L3.4685 1.813C3.0858 1.4303 3.0858 0.8098 3.4685 0.427Z\" clip-rule=\"evenodd\" stroke-width=\"1\"></path></g></svg>\n </div>\n <ng-container *ngIf=\"item.iconRight.type=='none'\"></ng-container>\n <div *ngIf=\"!item.iconRight.type\" [ngClass]=\"item.iconRight.containerClasses ? item.iconRight.containerClasses : 'self-center h-full'\">\n <ng-container *ngTemplateOutlet=\"item.iconRight.getContent()\"></ng-container>\n </div>\n </ng-container>\n <div *ngIf=\"!item.iconRight\" class=\"self-center h-full\">\n <!-- arrow -->\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"self-center\" aria-hidden=\"true\" focusable=\"false\" width=\"1em\" height=\"1em\"><path d=\"M102.07 27.93l35 35a10 10 0 010 14.14l-35 35a10 10 0 01-14.14-14.14l13.66-13.66A2.5 2.5 0 0099.82 80H10a10 10 0 010-20h89.82a2.5 2.5 0 001.77-4.27L87.93 42.07a10 10 0 0114.14-14.14z\" fill=\"currentColor\"></path></svg>\n </div>\n </ng-template>\n\n <a *ngIf=\"item.href && !item.routerLink\" [id]=\"getItemId(item, i)\"\n [href]=\"item.href | externalHref\"\n [attr.current-page]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? '-1' : item.tabindex || null\"\n [attr.target]=\"item.target ? item.target : null\"\n [desyAppAccessibility]=\"item\"\n [class]=\"[ 'c-link', item.classes ? item.classes : 'flex justify-between items-center gap-base flex-1 py-base', item.disabled ? 'text-neutral-base no-underline pointer-events-none' : '', item.active ? 'font-bold' : ''] | makeHtmlList\">\n <ng-container *ngTemplateOutlet=\"itemContent\"></ng-container>\n </a>\n\n <a *ngIf=\"!item.href && item.routerLink\" [id]=\"getItemId(item, i)\"\n [routerLink]=\"item.routerLink\" \n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\" \n [attr.current-page]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? '-1' : item.tabindex || null\"\n [attr.target]=\"item.target ? item.target : null\"\n [desyAppAccessibility]=\"item\"\n [class]=\"[ 'c-link', item.classes ? item.classes : 'flex justify-between items-center gap-base flex-1 py-base', item.disabled ? 'text-neutral-base no-underline pointer-events-none' : '', item.active ? 'font-bold' : ''] | makeHtmlList\">\n <ng-container *ngTemplateOutlet=\"itemContent\"></ng-container>\n </a>\n\n <div *ngIf=\"!item.href && !item.routerLink\" [id]=\"getItemId(item, i)\"\n [attr.current-page]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.disabled ? '-1' : item.tabindex || null\"\n [attr.target]=\"item.target ? item.target : null\"\n [desyAppAccessibility]=\"item\"\n [class]=\"[ item.classes ? item.classes : 'flex justify-between items-center gap-base flex-1 py-base', item.disabled ? 'text-neutral-base no-underline pointer-events-none': '', item.active ? 'font-bold': ''] | makeHtmlList\">\n <ng-container *ngTemplateOutlet=\"itemContent\"></ng-container>\n </div>\n <div *ngIf=\"item.sub\" [id]=\"'sub-' + getItemId(item, i)\" [class]=\"item.sub.classes ? item.sub.classes : 'c-paragraph-base text-neutral-dark -mt-base mr-lg'\">\n <ng-container *ngTemplateOutlet=\"item.sub.getContent()\"></ng-container>\n </div>\n </li>\n </ul>\n</ng-template>\n\n<div *ngIf=\"!hasNav\" [class]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</div>\n<nav *ngIf=\"hasNav\" [class]=\"classes\"\n [desyAppAccessibility]=\"this\">\n <ng-container *ngTemplateOutlet=\"innerHtml\"></ng-container>\n</nav>\n" }]
|
|
7542
7762
|
}], propDecorators: { hasNav: [{
|
|
7543
7763
|
type: Input
|
|
7544
7764
|
}], classes: [{
|
|
7545
7765
|
type: Input
|
|
7766
|
+
}], listClasses: [{
|
|
7767
|
+
type: Input
|
|
7546
7768
|
}], idPrefix: [{
|
|
7547
7769
|
type: Input
|
|
7548
7770
|
}], items: [{
|
|
@@ -7635,11 +7857,11 @@ class MenuHorizontalComponent extends AccessibilityComponent {
|
|
|
7635
7857
|
return id;
|
|
7636
7858
|
}
|
|
7637
7859
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuHorizontalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7638
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MenuHorizontalComponent, selector: "desy-menu-horizontal", inputs: { id: "id", idPrefix: "idPrefix", classes: "classes", items: "items" }, outputs: { clickEvent: "clickEvent" }, queries: [{ propertyName: "itemComponents", predicate: MenuHorizontalItemComponent }], usesInheritance: true, ngImport: i0, template: "<!-- menu-horizontal -->\n<nav [class]=\"['c-menu-horizontal', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"c-menu-horizontal__list lg:flex lg:flex-wrap\">\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <li *ngIf=\"item\">\n <a *ngIf=\"item.routerLink && !item.href\" (click)=\"onClick($event, item)\"\n [attr.id]=\"getItemId(item, i)\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-horizontal__link relative flex items-center py-sm lg:
|
|
7860
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MenuHorizontalComponent, selector: "desy-menu-horizontal", inputs: { id: "id", idPrefix: "idPrefix", classes: "classes", items: "items" }, outputs: { clickEvent: "clickEvent" }, queries: [{ propertyName: "itemComponents", predicate: MenuHorizontalItemComponent }], usesInheritance: true, ngImport: i0, template: "<!-- menu-horizontal -->\n<nav [class]=\"['c-menu-horizontal', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"c-menu-horizontal__list lg:flex lg:flex-wrap\">\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <li *ngIf=\"item\">\n <a *ngIf=\"item.routerLink && !item.href\" (click)=\"onClick($event, item)\"\n [attr.id]=\"getItemId(item, i)\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-horizontal__link relative flex items-center px-base py-sm lg:py-base border border-transparent text-black hover:text-primary-base underline truncate focus:outline-none', item.classes] | makeHtmlList\"\n [ngClass]=\"{'no-underline pointer-events-none': item.disabled, 'c-menu-horizontal__active': item.active}\"\n [attr.disabled]=\"item.disabled ? 'disabled' : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [desyAppAccessibility]=\"item\">\n <strong *ngIf=\"item.active\" class=\"flex items-center pointer-events-none font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <span *ngIf=\"!item.active\" class=\"flex items-center pointer-events-none\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </a>\n <a *ngIf=\"!item.routerLink && item.href\" (click)=\"onClick($event, item)\"\n [attr.id]=\"getItemId(item, i)\"\n [href]=\"item.href | externalHref\"\n [attr.target]=\"item.target ? item.target : null\"\n [class]=\"['c-menu-horizontal__link relative flex items-center px-base py-sm lg:py-base border border-transparent text-black hover:text-primary-base underline truncate focus:outline-none', item.classes] | makeHtmlList\"\n [ngClass]=\"{'no-underline pointer-events-none': item.disabled, 'c-menu-horizontal__active': item.active}\"\n [attr.disabled]=\"item.disabled ? 'disabled' : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [desyAppAccessibility]=\"item\">\n <strong *ngIf=\"item.active\" class=\"flex items-center pointer-events-none font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <span *ngIf=\"!item.active\" class=\"flex items-center pointer-events-none\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </a>\n </li>\n </ng-container>\n </ul>\n</nav>\n<!-- /menu-horizontal -->\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }] }); }
|
|
7639
7861
|
}
|
|
7640
7862
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuHorizontalComponent, decorators: [{
|
|
7641
7863
|
type: Component,
|
|
7642
|
-
args: [{ selector: 'desy-menu-horizontal', template: "<!-- menu-horizontal -->\n<nav [class]=\"['c-menu-horizontal', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"c-menu-horizontal__list lg:flex lg:flex-wrap\">\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <li *ngIf=\"item\">\n <a *ngIf=\"item.routerLink && !item.href\" (click)=\"onClick($event, item)\"\n [attr.id]=\"getItemId(item, i)\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-horizontal__link relative flex items-center py-sm lg:
|
|
7864
|
+
args: [{ selector: 'desy-menu-horizontal', template: "<!-- menu-horizontal -->\n<nav [class]=\"['c-menu-horizontal', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"c-menu-horizontal__list lg:flex lg:flex-wrap\">\n <ng-container *ngFor=\"let item of getItemList(); index as i\">\n <li *ngIf=\"item\">\n <a *ngIf=\"item.routerLink && !item.href\" (click)=\"onClick($event, item)\"\n [attr.id]=\"getItemId(item, i)\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-horizontal__link relative flex items-center px-base py-sm lg:py-base border border-transparent text-black hover:text-primary-base underline truncate focus:outline-none', item.classes] | makeHtmlList\"\n [ngClass]=\"{'no-underline pointer-events-none': item.disabled, 'c-menu-horizontal__active': item.active}\"\n [attr.disabled]=\"item.disabled ? 'disabled' : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [desyAppAccessibility]=\"item\">\n <strong *ngIf=\"item.active\" class=\"flex items-center pointer-events-none font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <span *ngIf=\"!item.active\" class=\"flex items-center pointer-events-none\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </a>\n <a *ngIf=\"!item.routerLink && item.href\" (click)=\"onClick($event, item)\"\n [attr.id]=\"getItemId(item, i)\"\n [href]=\"item.href | externalHref\"\n [attr.target]=\"item.target ? item.target : null\"\n [class]=\"['c-menu-horizontal__link relative flex items-center px-base py-sm lg:py-base border border-transparent text-black hover:text-primary-base underline truncate focus:outline-none', item.classes] | makeHtmlList\"\n [ngClass]=\"{'no-underline pointer-events-none': item.disabled, 'c-menu-horizontal__active': item.active}\"\n [attr.disabled]=\"item.disabled ? 'disabled' : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : null\"\n [attr.tabindex]=\"item.disabled ? -1 : item.tabindex\"\n [desyAppAccessibility]=\"item\">\n <strong *ngIf=\"item.active\" class=\"flex items-center pointer-events-none font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </strong>\n <span *ngIf=\"!item.active\" class=\"flex items-center pointer-events-none\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </span>\n </a>\n </li>\n </ng-container>\n </ul>\n</nav>\n<!-- /menu-horizontal -->\n" }]
|
|
7643
7865
|
}], propDecorators: { id: [{
|
|
7644
7866
|
type: Input
|
|
7645
7867
|
}], idPrefix: [{
|
|
@@ -7825,7 +8047,7 @@ class MenuVerticalComponent extends AccessibilityComponent {
|
|
|
7825
8047
|
return subItems && subItems.length > 0 ? subItems : null;
|
|
7826
8048
|
}
|
|
7827
8049
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuVerticalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7828
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MenuVerticalComponent, selector: "desy-menu-vertical", inputs: { id: "id", idPrefix: "idPrefix", items: "items", hasUnderline: "hasUnderline", classes: "classes" }, queries: [{ propertyName: "itemComponents", predicate: MenuVerticalItemComponent }], usesInheritance: true, ngImport: i0, template: "<!--\n Template para ser utilizado tanto por los items como por los subitems:\n - item: Item que representa\n - index: indice del item en la lista\n - id: identificador del item\n - isRoot: si pertenece al nivel raiz\n-->\n<ng-template #itemTemplate let-item=\"item\" let-index=\"index\" let-id=\"id\" let-sub=\"sub\" let-isRoot=\"isRoot\">\n <ng-template #noActiveTemplate><ng-container *desyCustomInnerContent=\"{component: item, html: getItemHtml(item), text: item.text }\"></ng-container></ng-template>\n <ng-container *ngIf=\"item\">\n <li class=\"
|
|
8050
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MenuVerticalComponent, selector: "desy-menu-vertical", inputs: { id: "id", idPrefix: "idPrefix", items: "items", hasUnderline: "hasUnderline", classes: "classes" }, queries: [{ propertyName: "itemComponents", predicate: MenuVerticalItemComponent }], usesInheritance: true, ngImport: i0, template: "<!--\n Template para ser utilizado tanto por los items como por los subitems:\n - item: Item que representa\n - index: indice del item en la lista\n - id: identificador del item\n - isRoot: si pertenece al nivel raiz\n-->\n<ng-template #itemTemplate let-item=\"item\" let-index=\"index\" let-id=\"id\" let-sub=\"sub\" let-isRoot=\"isRoot\">\n <ng-template #noActiveTemplate><ng-container *desyCustomInnerContent=\"{component: item, html: getItemHtml(item), text: item.text }\"></ng-container></ng-template>\n <ng-container *ngIf=\"item\">\n <li class=\"my-base break-inside-avoid-column\" [ngClass]=\"{'origin-top-left text-sm': !isRoot}\">\n <ng-container *ngIf=\"item.href || item.routerLink; else notHref\">\n <a *ngIf=\"item.href; else hasRouterLink\" [attr.id]=\"id\"\n [href]=\"item.href | externalHref\"\n [class]=\"['block px-xs focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{\n 'underline': hasUnderline,\n 'hover:text-primary-base hover:underline': !item.disabled,\n 'no-underline pointer-events-none': item.disabled\n }\"\n [attr.tabindex]=\"item.disabled ? -1 : null\"\n [attr.target]=\"item.target ? item.target : null\"\n [attr.aria-current]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled\"\n [desyAppAccessibility]=\"item\"\n [attr.disabled]=\"item.disabled\">\n <ng-container *ngIf=\"item.active; else noActiveTemplate\">\n <strong class=\"font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: getItemHtml(item), text: item.text }\"></ng-container>\n </strong>\n </ng-container>\n </a>\n <ng-template #hasRouterLink>\n <!-- Todos los enlaces que admiten o href o routerLink estar\u00EDa bien unificarlos (en todos los componentes).\n Para ello, ser\u00EDa necesario crear una directiva para a\u00F1adir o quitar la directiva routerLink si no tiene href.\n Sin embargo, esto no es posible actualmente, ya que Angular todav\u00EDa no permite a\u00F1adir directivas din\u00E1micamente:\n https://angular.io/guide/roadmap#support-adding-directives-to-host-elements -->\n <a [attr.id]=\"id\"\n [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment ? item.fragment : null\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [class]=\"['block px-xs focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{\n 'underline': hasUnderline,\n 'hover:text-primary-base hover:underline': !item.disabled,\n 'no-underline pointer-events-none': item.disabled\n }\"\n [attr.tabindex]=\"item.disabled ? -1 : null\"\n [attr.target]=\"item.target ? item.target : null\"\n [attr.aria-current]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled\"\n [desyAppAccessibility]=\"item\"\n [attr.disabled]=\"item.disabled\">\n <ng-container *ngIf=\"item.active; else noActiveTemplate\">\n <strong class=\"font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: getItemHtml(item), text: item.text }\"></ng-container>\n </strong>\n </ng-container>\n </a>\n </ng-template>\n </ng-container>\n <ng-template #notHref>\n <span [attr.id]=\"id\"\n [class]=\"['block px-xs', item.classes] | makeHtmlList\"\n [attr.tabindex]=\"item.disabled ? -1 : null\"\n [attr.aria-current]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled\"\n [desyAppAccessibility]=\"item\"\n [attr.disabled]=\"item.disabled\">\n <ng-container *ngIf=\"item.active; else noActiveTemplate\">\n <strong class=\"font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: getItemHtml(item), text: item.text }\"></ng-container>\n </strong>\n </ng-container>\n </span>\n </ng-template>\n <ng-container *ngIf=\"isRoot && sub\">\n <ul *ngIf=\"getSubItems(sub)\" [ngClass]=\"sub.classes\"\n [desyAppAccessibility]=\"sub\">\n <ng-container *ngFor=\"let subItem of getSubItems(sub); index as subIndex\">\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\n [ngTemplateOutletContext]=\"{\n item: subItem,\n id: getSubItemId(item, index, subIndex),\n index: subIndex,\n isRoot: false\n }\">\n </ng-container>\n </ng-container>\n </ul>\n <div *ngIf=\"!getSubItems(sub)\"\n [class]=\"['mb-base px-xs origin-top-left text-sm text-neutral-dark', sub.classes] | makeHtmlList\"\n [id]=\"'sub-' + id\">\n <ng-container *desyCustomInnerContent=\"{ component: sub, html: sub.html }\"></ng-container>\n </div>\n </ng-container>\n </li>\n <li *ngIf=\"item.divider\" class=\"my-sm border-b border-neutral-base\" aria-hidden=\"true\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n</ng-template>\n\n<nav [ngClass]=\"classes\"\n [attr.role]=\"(role ? role : null)\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"text-base\">\n <ng-container *ngFor=\"let item of getItems(); index as index\">\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\n [ngTemplateOutletContext]=\"{ item: item, id: getId(item, index), index: index, sub: getItemSub(item), isRoot: true }\">\n </ng-container>\n </ng-container>\n </ul>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }], animations: [
|
|
7829
8051
|
trigger('displayMenuVertical', [
|
|
7830
8052
|
state('void', style({
|
|
7831
8053
|
opacity: '0.0',
|
|
@@ -7857,7 +8079,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7857
8079
|
animate('100ms ease-out')
|
|
7858
8080
|
])
|
|
7859
8081
|
])
|
|
7860
|
-
], template: "<!--\n Template para ser utilizado tanto por los items como por los subitems:\n - item: Item que representa\n - index: indice del item en la lista\n - id: identificador del item\n - isRoot: si pertenece al nivel raiz\n-->\n<ng-template #itemTemplate let-item=\"item\" let-index=\"index\" let-id=\"id\" let-sub=\"sub\" let-isRoot=\"isRoot\">\n <ng-template #noActiveTemplate><ng-container *desyCustomInnerContent=\"{component: item, html: getItemHtml(item), text: item.text }\"></ng-container></ng-template>\n <ng-container *ngIf=\"item\">\n <li class=\"
|
|
8082
|
+
], template: "<!--\n Template para ser utilizado tanto por los items como por los subitems:\n - item: Item que representa\n - index: indice del item en la lista\n - id: identificador del item\n - isRoot: si pertenece al nivel raiz\n-->\n<ng-template #itemTemplate let-item=\"item\" let-index=\"index\" let-id=\"id\" let-sub=\"sub\" let-isRoot=\"isRoot\">\n <ng-template #noActiveTemplate><ng-container *desyCustomInnerContent=\"{component: item, html: getItemHtml(item), text: item.text }\"></ng-container></ng-template>\n <ng-container *ngIf=\"item\">\n <li class=\"my-base break-inside-avoid-column\" [ngClass]=\"{'origin-top-left text-sm': !isRoot}\">\n <ng-container *ngIf=\"item.href || item.routerLink; else notHref\">\n <a *ngIf=\"item.href; else hasRouterLink\" [attr.id]=\"id\"\n [href]=\"item.href | externalHref\"\n [class]=\"['block px-xs focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{\n 'underline': hasUnderline,\n 'hover:text-primary-base hover:underline': !item.disabled,\n 'no-underline pointer-events-none': item.disabled\n }\"\n [attr.tabindex]=\"item.disabled ? -1 : null\"\n [attr.target]=\"item.target ? item.target : null\"\n [attr.aria-current]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled\"\n [desyAppAccessibility]=\"item\"\n [attr.disabled]=\"item.disabled\">\n <ng-container *ngIf=\"item.active; else noActiveTemplate\">\n <strong class=\"font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: getItemHtml(item), text: item.text }\"></ng-container>\n </strong>\n </ng-container>\n </a>\n <ng-template #hasRouterLink>\n <!-- Todos los enlaces que admiten o href o routerLink estar\u00EDa bien unificarlos (en todos los componentes).\n Para ello, ser\u00EDa necesario crear una directiva para a\u00F1adir o quitar la directiva routerLink si no tiene href.\n Sin embargo, esto no es posible actualmente, ya que Angular todav\u00EDa no permite a\u00F1adir directivas din\u00E1micamente:\n https://angular.io/guide/roadmap#support-adding-directives-to-host-elements -->\n <a [attr.id]=\"id\"\n [routerLink]=\"item.routerLink\" [fragment]=\"item.fragment ? item.fragment : null\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [class]=\"['block px-xs focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.classes] | makeHtmlList\"\n [ngClass]=\"{\n 'underline': hasUnderline,\n 'hover:text-primary-base hover:underline': !item.disabled,\n 'no-underline pointer-events-none': item.disabled\n }\"\n [attr.tabindex]=\"item.disabled ? -1 : null\"\n [attr.target]=\"item.target ? item.target : null\"\n [attr.aria-current]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled\"\n [desyAppAccessibility]=\"item\"\n [attr.disabled]=\"item.disabled\">\n <ng-container *ngIf=\"item.active; else noActiveTemplate\">\n <strong class=\"font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: getItemHtml(item), text: item.text }\"></ng-container>\n </strong>\n </ng-container>\n </a>\n </ng-template>\n </ng-container>\n <ng-template #notHref>\n <span [attr.id]=\"id\"\n [class]=\"['block px-xs', item.classes] | makeHtmlList\"\n [attr.tabindex]=\"item.disabled ? -1 : null\"\n [attr.aria-current]=\"item.active ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled\"\n [desyAppAccessibility]=\"item\"\n [attr.disabled]=\"item.disabled\">\n <ng-container *ngIf=\"item.active; else noActiveTemplate\">\n <strong class=\"font-bold\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: getItemHtml(item), text: item.text }\"></ng-container>\n </strong>\n </ng-container>\n </span>\n </ng-template>\n <ng-container *ngIf=\"isRoot && sub\">\n <ul *ngIf=\"getSubItems(sub)\" [ngClass]=\"sub.classes\"\n [desyAppAccessibility]=\"sub\">\n <ng-container *ngFor=\"let subItem of getSubItems(sub); index as subIndex\">\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\n [ngTemplateOutletContext]=\"{\n item: subItem,\n id: getSubItemId(item, index, subIndex),\n index: subIndex,\n isRoot: false\n }\">\n </ng-container>\n </ng-container>\n </ul>\n <div *ngIf=\"!getSubItems(sub)\"\n [class]=\"['mb-base px-xs origin-top-left text-sm text-neutral-dark', sub.classes] | makeHtmlList\"\n [id]=\"'sub-' + id\">\n <ng-container *desyCustomInnerContent=\"{ component: sub, html: sub.html }\"></ng-container>\n </div>\n </ng-container>\n </li>\n <li *ngIf=\"item.divider\" class=\"my-sm border-b border-neutral-base\" aria-hidden=\"true\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n</ng-template>\n\n<nav [ngClass]=\"classes\"\n [attr.role]=\"(role ? role : null)\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"text-base\">\n <ng-container *ngFor=\"let item of getItems(); index as index\">\n <ng-container [ngTemplateOutlet]=\"itemTemplate\"\n [ngTemplateOutletContext]=\"{ item: item, id: getId(item, index), index: index, sub: getItemSub(item), isRoot: true }\">\n </ng-container>\n </ng-container>\n </ul>\n</nav>\n" }]
|
|
7861
8083
|
}], propDecorators: { id: [{
|
|
7862
8084
|
type: Input
|
|
7863
8085
|
}], idPrefix: [{
|
|
@@ -9021,7 +9243,7 @@ class NotificationComponent extends AccessibilityComponent {
|
|
|
9021
9243
|
return this.itemCompontents && this.itemCompontents.length > 0 ? this.itemCompontents.toArray() : this.items;
|
|
9022
9244
|
}
|
|
9023
9245
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NotificationComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9024
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NotificationComponent, selector: "desy-notification", inputs: { id: "id", classes: "classes", isOpen: "isOpen", titleNotification: "titleNotification", description: "description", content: "content", items: "items", icon: "icon", type: "type", isDismissible: "isDismissible", headingLevel: "headingLevel" }, outputs: { isOpenChange: "isOpenChange" }, queries: [{ propertyName: "titleComponent", predicate: TitleComponent }, { propertyName: "descriptionComponent", predicate: DescriptionComponent }, { propertyName: "contentComponent", predicate: ContentComponent }, { propertyName: "iconComponent", predicate: IconComponent }, { propertyName: "itemCompontents", predicate: NotificationItemComponent }], usesInheritance: true, ngImport: i0, template: "<div [attr.id]=\"id ? id : null\" [class]=\"(classes ? 'c-notification ' + classes : type==='success' ? 'c-notification c-notification--success' : type==='alert' ? 'c-notification c-notification--alert' : 'c-notification c-notification--primary') \"\n *ngIf=\"isOpen && !isDismissing\"\n @displayNotification\n [desyAppAccessibility]=\"this\">\n <div *ngIf=\"iconComponent || icon || type\" class=\"h-full mr-base\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon ? icon.html : null }\"></ng-container>\n <ng-container *ngIf=\"type && !iconComponent && !icon\">\n <ng-container [ngSwitch]=\"getType()\">\n <svg *ngSwitchCase=\"'success'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-success-dark\" aria-label=\"\u00C9xito\" focusable=\"false\" role=\"img\"><path d=\"M39.94 125a19.88 19.88 0 01-15.53-7.81L2.48 92.26a10 10 0 0115-13.2l20.55 23.39a2.5 2.5 0 003.68.08l81-84.42a10.002 10.002 0 1114.5 13.78l-82.02 86.33A19.41 19.41 0 0139.94 125z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'alert'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-alert-base\" aria-label=\"Error\" focusable=\"false\" role=\"img\"><path d=\"M138.42 118.29l-55-110a15 15 0 00-26.84 0l-55 110A15 15 0 0015 140h110a15 15 0 0013.42-21.71zM62.5 50a7.5 7.5 0 0115 0v30a7.5 7.5 0 01-15 0zm7.5 70a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'info'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-primary-base\" aria-label=\"Informaci\u00F3n\" focusable=\"false\" role=\"img\"><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zm7.5 105a7.5 7.5 0 01-15 0V70a7.5 7.5 0 0115 0zM70 50a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"lg:flex flex-1 self-center\">\n <div class=\"lg:flex-1 lg:self-center\">\n <ng-container *ngIf=\"titleComponent || titleNotification\" [ngSwitch]=\"headingLevel\">\n <h1 *ngSwitchCase=\"1\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h1>\n <h2 *ngSwitchCase=\"2\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h2>\n <h3 *ngSwitchCase=\"3\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h3>\n <h4 *ngSwitchCase=\"4\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h4>\n <h5 *ngSwitchCase=\"5\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h5>\n <p *ngSwitchDefault [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </p>\n </ng-container>\n <ng-container *ngIf=\"descriptionComponent || description\">\n <p [class]=\"descriptionComponent ? descriptionComponent.classes : description.classes\">\n <ng-container *desyCustomInnerContent=\"{\n component: descriptionComponent,\n html: description ? description.html : null,\n text: description ? description.text : null\n }\"></ng-container>\n </p>\n </ng-container>\n <ul *ngIf=\"(itemCompontents && itemCompontents.length > 0) || items\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <li *ngIf=\"item.routerLink || item.href\">\n <a *ngIf=\"item.routerLink\" class=\"c-link\"\n [routerLink]=\"item.routerLink\"\n [fragment]=\"item.fragment\"\n [ngClass]=\"{'c-link--alert': type==='alert'}\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <a *ngIf=\"!item.routerLink && item.href\" class=\"c-link\"\n [href]=\"item.href | externalHref\"\n [target]=\"item.target\"\n [ngClass]=\"{'c-link--alert': type==='alert'}\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n </li>\n <li *ngIf=\"!item.routerLink && !item.href\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </li>\n </ng-container>\n </ul>\n <p *ngIf=\"contentComponent || content\" [class]=\"['text-sm', contentComponent ? contentComponent.classes : content.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: contentComponent,\n html: content ? content.html : null,\n text: content ? content.text : null\n }\"></ng-container>\n </p>\n </div>\n <ng-container *ngIf=\"isDismissible\">\n <div class=\"absolute top-0 right-0 p-sm\">\n <button (click)=\"dismiss()\" class=\"p-sm focus:bg-warning-base focus:border-warning-base focus:shadow-outline-black focus:text-black focus:outline-none\" aria-label=\"X: Cerrar notificaci\u00F3n\" type=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-4 h-4 pointer-events-none\" aria-hidden=\"true\" role=\"presentation\"><path d=\"M85.91 71.77a2.5 2.5 0 010-3.54l46.16-46.16a10 10 0 10-14.14-14.14L71.77 54.09a2.5 2.5 0 01-3.54 0L22.07 7.93A10 10 0 007.93 22.07l46.16 46.16a2.5 2.5 0 010 3.54L7.93 117.93a10 10 0 0014.14 14.14l46.16-46.16a2.5 2.5 0 013.54 0l46.16 46.16a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </button>\n </div>\n </ng-container>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }], animations: [
|
|
9246
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NotificationComponent, selector: "desy-notification", inputs: { id: "id", classes: "classes", isOpen: "isOpen", titleNotification: "titleNotification", description: "description", content: "content", items: "items", icon: "icon", type: "type", isDismissible: "isDismissible", headingLevel: "headingLevel" }, outputs: { isOpenChange: "isOpenChange" }, queries: [{ propertyName: "titleComponent", predicate: TitleComponent }, { propertyName: "descriptionComponent", predicate: DescriptionComponent }, { propertyName: "contentComponent", predicate: ContentComponent }, { propertyName: "iconComponent", predicate: IconComponent }, { propertyName: "itemCompontents", predicate: NotificationItemComponent }], usesInheritance: true, ngImport: i0, template: "<div [attr.id]=\"id ? id : null\" [class]=\"(classes ? 'c-notification ' + classes : type==='success' ? 'c-notification c-notification--success' : type==='alert' ? 'c-notification c-notification--alert' : 'c-notification c-notification--primary') \"\n *ngIf=\"isOpen && !isDismissing\"\n @displayNotification\n [desyAppAccessibility]=\"this\">\n <div *ngIf=\"iconComponent || icon || type\" class=\"h-full mr-base\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon ? icon.html : null }\"></ng-container>\n <ng-container *ngIf=\"type && !iconComponent && !icon\">\n <ng-container [ngSwitch]=\"getType()\">\n <svg *ngSwitchCase=\"'success'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-success-dark\" aria-label=\"\u00C9xito\" focusable=\"false\" role=\"img\"><path d=\"M39.94 125a19.88 19.88 0 01-15.53-7.81L2.48 92.26a10 10 0 0115-13.2l20.55 23.39a2.5 2.5 0 003.68.08l81-84.42a10.002 10.002 0 1114.5 13.78l-82.02 86.33A19.41 19.41 0 0139.94 125z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'alert'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-alert-base\" aria-label=\"Error\" focusable=\"false\" role=\"img\"><path d=\"M138.42 118.29l-55-110a15 15 0 00-26.84 0l-55 110A15 15 0 0015 140h110a15 15 0 0013.42-21.71zM62.5 50a7.5 7.5 0 0115 0v30a7.5 7.5 0 01-15 0zm7.5 70a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'info'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-primary-base\" aria-label=\"Informaci\u00F3n\" focusable=\"false\" role=\"img\"><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zm7.5 105a7.5 7.5 0 01-15 0V70a7.5 7.5 0 0115 0zM70 50a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"lg:flex flex-1 self-center\">\n <div class=\"lg:flex-1 lg:self-center\">\n <ng-container *ngIf=\"titleComponent || titleNotification\" [ngSwitch]=\"headingLevel\">\n <h1 *ngSwitchCase=\"1\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h1>\n <h2 *ngSwitchCase=\"2\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h2>\n <h3 *ngSwitchCase=\"3\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h3>\n <h4 *ngSwitchCase=\"4\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h4>\n <h5 *ngSwitchCase=\"5\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h5>\n <p *ngSwitchDefault [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </p>\n </ng-container>\n <div *ngIf=\"descriptionComponent || description && description.html\" [ngClass]=\"descriptionComponent?.classes || description?.classes\">\n <ng-container *desyCustomInnerContent=\"{\n component: descriptionComponent,\n html: description ? description.html : null\n }\"></ng-container>\n </div>\n <p *ngIf=\"description && description.text && !description.html && !descriptionComponent\" [ngClass]=\"description?.classes\">\n <ng-container *desyCustomInnerContent=\"{\n text: description ? description.text : null\n }\"></ng-container>\n </p>\n <ul *ngIf=\"(itemCompontents && itemCompontents.length > 0) || items\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <li *ngIf=\"item.routerLink || item.href\">\n <a *ngIf=\"item.routerLink\" class=\"c-link\"\n [routerLink]=\"item.routerLink\"\n [fragment]=\"item.fragment\"\n [ngClass]=\"{'c-link--alert': type==='alert'}\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <a *ngIf=\"!item.routerLink && item.href\" class=\"c-link\"\n [href]=\"item.href | externalHref\"\n [target]=\"item.target\"\n [ngClass]=\"{'c-link--alert': type==='alert'}\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n </li>\n <li *ngIf=\"!item.routerLink && !item.href\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </li>\n </ng-container>\n </ul>\n <div *ngIf=\"contentComponent || content && content.html\" [ngClass]=\"contentComponent?.classes || content?.classes || 'text-sm'\">\n <ng-container *desyCustomInnerContent=\"{\n component: contentComponent,\n html: content ? content.html : null\n }\"></ng-container>\n </div>\n <p *ngIf=\"content && content.text && !content.html && !contentComponent\" [ngClass]=\"content?.classes || 'text-sm'\">\n <ng-container *desyCustomInnerContent=\"{\n text: content ? content.text : null\n }\"></ng-container>\n </p>\n </div>\n <ng-container *ngIf=\"isDismissible\">\n <div class=\"absolute top-0 right-0 p-sm\">\n <button (click)=\"dismiss()\" class=\"p-sm focus:bg-warning-base focus:border-warning-base focus:shadow-outline-black focus:text-black focus:outline-none\" aria-label=\"X: Cerrar notificaci\u00F3n\" type=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-4 h-4 pointer-events-none\" aria-hidden=\"true\" role=\"presentation\"><path d=\"M85.91 71.77a2.5 2.5 0 010-3.54l46.16-46.16a10 10 0 10-14.14-14.14L71.77 54.09a2.5 2.5 0 01-3.54 0L22.07 7.93A10 10 0 007.93 22.07l46.16 46.16a2.5 2.5 0 010 3.54L7.93 117.93a10 10 0 0014.14 14.14l46.16-46.16a2.5 2.5 0 013.54 0l46.16 46.16a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </button>\n </div>\n </ng-container>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }, { kind: "pipe", type: ExternalHrefPipe, name: "externalHref" }], animations: [
|
|
9025
9247
|
trigger('displayNotification', [
|
|
9026
9248
|
state('void', style({
|
|
9027
9249
|
opacity: '0.0',
|
|
@@ -9071,7 +9293,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9071
9293
|
animate('150ms ease-in')
|
|
9072
9294
|
])
|
|
9073
9295
|
])
|
|
9074
|
-
], template: "<div [attr.id]=\"id ? id : null\" [class]=\"(classes ? 'c-notification ' + classes : type==='success' ? 'c-notification c-notification--success' : type==='alert' ? 'c-notification c-notification--alert' : 'c-notification c-notification--primary') \"\n *ngIf=\"isOpen && !isDismissing\"\n @displayNotification\n [desyAppAccessibility]=\"this\">\n <div *ngIf=\"iconComponent || icon || type\" class=\"h-full mr-base\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon ? icon.html : null }\"></ng-container>\n <ng-container *ngIf=\"type && !iconComponent && !icon\">\n <ng-container [ngSwitch]=\"getType()\">\n <svg *ngSwitchCase=\"'success'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-success-dark\" aria-label=\"\u00C9xito\" focusable=\"false\" role=\"img\"><path d=\"M39.94 125a19.88 19.88 0 01-15.53-7.81L2.48 92.26a10 10 0 0115-13.2l20.55 23.39a2.5 2.5 0 003.68.08l81-84.42a10.002 10.002 0 1114.5 13.78l-82.02 86.33A19.41 19.41 0 0139.94 125z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'alert'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-alert-base\" aria-label=\"Error\" focusable=\"false\" role=\"img\"><path d=\"M138.42 118.29l-55-110a15 15 0 00-26.84 0l-55 110A15 15 0 0015 140h110a15 15 0 0013.42-21.71zM62.5 50a7.5 7.5 0 0115 0v30a7.5 7.5 0 01-15 0zm7.5 70a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'info'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-primary-base\" aria-label=\"Informaci\u00F3n\" focusable=\"false\" role=\"img\"><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zm7.5 105a7.5 7.5 0 01-15 0V70a7.5 7.5 0 0115 0zM70 50a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"lg:flex flex-1 self-center\">\n <div class=\"lg:flex-1 lg:self-center\">\n <ng-container *ngIf=\"titleComponent || titleNotification\" [ngSwitch]=\"headingLevel\">\n <h1 *ngSwitchCase=\"1\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h1>\n <h2 *ngSwitchCase=\"2\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h2>\n <h3 *ngSwitchCase=\"3\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h3>\n <h4 *ngSwitchCase=\"4\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h4>\n <h5 *ngSwitchCase=\"5\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h5>\n <p *ngSwitchDefault [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </p>\n </ng-container>\n <
|
|
9296
|
+
], template: "<div [attr.id]=\"id ? id : null\" [class]=\"(classes ? 'c-notification ' + classes : type==='success' ? 'c-notification c-notification--success' : type==='alert' ? 'c-notification c-notification--alert' : 'c-notification c-notification--primary') \"\n *ngIf=\"isOpen && !isDismissing\"\n @displayNotification\n [desyAppAccessibility]=\"this\">\n <div *ngIf=\"iconComponent || icon || type\" class=\"h-full mr-base\">\n <ng-container *desyCustomInnerContent=\"{ component: iconComponent, html: icon ? icon.html : null }\"></ng-container>\n <ng-container *ngIf=\"type && !iconComponent && !icon\">\n <ng-container [ngSwitch]=\"getType()\">\n <svg *ngSwitchCase=\"'success'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-success-dark\" aria-label=\"\u00C9xito\" focusable=\"false\" role=\"img\"><path d=\"M39.94 125a19.88 19.88 0 01-15.53-7.81L2.48 92.26a10 10 0 0115-13.2l20.55 23.39a2.5 2.5 0 003.68.08l81-84.42a10.002 10.002 0 1114.5 13.78l-82.02 86.33A19.41 19.41 0 0139.94 125z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'alert'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-alert-base\" aria-label=\"Error\" focusable=\"false\" role=\"img\"><path d=\"M138.42 118.29l-55-110a15 15 0 00-26.84 0l-55 110A15 15 0 0015 140h110a15 15 0 0013.42-21.71zM62.5 50a7.5 7.5 0 0115 0v30a7.5 7.5 0 01-15 0zm7.5 70a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n <svg *ngSwitchCase=\"'info'\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-5 h-5 text-primary-base\" aria-label=\"Informaci\u00F3n\" focusable=\"false\" role=\"img\"><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zm7.5 105a7.5 7.5 0 01-15 0V70a7.5 7.5 0 0115 0zM70 50a10 10 0 1110-10 10 10 0 01-10 10z\" fill=\"currentColor\"/></svg>\n </ng-container>\n </ng-container>\n </div>\n <div class=\"lg:flex flex-1 self-center\">\n <div class=\"lg:flex-1 lg:self-center\">\n <ng-container *ngIf=\"titleComponent || titleNotification\" [ngSwitch]=\"headingLevel\">\n <h1 *ngSwitchCase=\"1\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h1>\n <h2 *ngSwitchCase=\"2\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h2>\n <h3 *ngSwitchCase=\"3\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h3>\n <h4 *ngSwitchCase=\"4\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h4>\n <h5 *ngSwitchCase=\"5\" [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </h5>\n <p *ngSwitchDefault [id]=\"id ? id + '-titleNotification' : null\" tabindex=\"-1\"\n [class]=\"['font-bold pr-base focus:outline-none focus:underline', titleComponent ? titleComponent.classes : titleNotification.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{\n component: titleComponent,\n html: titleNotification ? titleNotification.html : null,\n text: titleNotification ? titleNotification.text : null\n }\"></ng-container>\n </p>\n </ng-container>\n <div *ngIf=\"descriptionComponent || description && description.html\" [ngClass]=\"descriptionComponent?.classes || description?.classes\">\n <ng-container *desyCustomInnerContent=\"{\n component: descriptionComponent,\n html: description ? description.html : null\n }\"></ng-container>\n </div>\n <p *ngIf=\"description && description.text && !description.html && !descriptionComponent\" [ngClass]=\"description?.classes\">\n <ng-container *desyCustomInnerContent=\"{\n text: description ? description.text : null\n }\"></ng-container>\n </p>\n <ul *ngIf=\"(itemCompontents && itemCompontents.length > 0) || items\">\n <ng-container *ngFor=\"let item of getItems(); index as i\">\n <li *ngIf=\"item.routerLink || item.href\">\n <a *ngIf=\"item.routerLink\" class=\"c-link\"\n [routerLink]=\"item.routerLink\"\n [fragment]=\"item.fragment\"\n [ngClass]=\"{'c-link--alert': type==='alert'}\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n <a *ngIf=\"!item.routerLink && item.href\" class=\"c-link\"\n [href]=\"item.href | externalHref\"\n [target]=\"item.target\"\n [ngClass]=\"{'c-link--alert': type==='alert'}\"\n [attr.id]=\"item.id ? item.id : null\"\n [desyAppAccessibility]=\"item\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </a>\n </li>\n <li *ngIf=\"!item.routerLink && !item.href\">\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text }\"></ng-container>\n </li>\n </ng-container>\n </ul>\n <div *ngIf=\"contentComponent || content && content.html\" [ngClass]=\"contentComponent?.classes || content?.classes || 'text-sm'\">\n <ng-container *desyCustomInnerContent=\"{\n component: contentComponent,\n html: content ? content.html : null\n }\"></ng-container>\n </div>\n <p *ngIf=\"content && content.text && !content.html && !contentComponent\" [ngClass]=\"content?.classes || 'text-sm'\">\n <ng-container *desyCustomInnerContent=\"{\n text: content ? content.text : null\n }\"></ng-container>\n </p>\n </div>\n <ng-container *ngIf=\"isDismissible\">\n <div class=\"absolute top-0 right-0 p-sm\">\n <button (click)=\"dismiss()\" class=\"p-sm focus:bg-warning-base focus:border-warning-base focus:shadow-outline-black focus:text-black focus:outline-none\" aria-label=\"X: Cerrar notificaci\u00F3n\" type=\"button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" width=\"1em\" height=\"1em\" class=\"w-4 h-4 pointer-events-none\" aria-hidden=\"true\" role=\"presentation\"><path d=\"M85.91 71.77a2.5 2.5 0 010-3.54l46.16-46.16a10 10 0 10-14.14-14.14L71.77 54.09a2.5 2.5 0 01-3.54 0L22.07 7.93A10 10 0 007.93 22.07l46.16 46.16a2.5 2.5 0 010 3.54L7.93 117.93a10 10 0 0014.14 14.14l46.16-46.16a2.5 2.5 0 013.54 0l46.16 46.16a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </button>\n </div>\n </ng-container>\n </div>\n</div>\n" }]
|
|
9075
9297
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
|
|
9076
9298
|
type: Input
|
|
9077
9299
|
}], classes: [{
|
|
@@ -9232,11 +9454,11 @@ class HeaderAdvancedSubComponent {
|
|
|
9232
9454
|
this.sub = Type.Sub;
|
|
9233
9455
|
}
|
|
9234
9456
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderAdvancedSubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderAdvancedSubComponent, selector: "desy-header-advanced-sub", inputs: { classes: "classes", backgroundFullColor: "backgroundFullColor", backgroundFullUrl: "backgroundFullUrl", backgroundContainerUrl: "backgroundContainerUrl", logoUrl: "logoUrl", logoAlt: "logoAlt", logoHref: "logoHref", logoRouterLink: "logoRouterLink", logoRouterLinkActiveClasses: "logoRouterLinkActiveClasses", logoTarget: "logoTarget", logoFragment: "logoFragment", logoClasses: "logoClasses" }, ngImport: i0, template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes : 'h-32 bg-cover bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"sub\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: HeaderAdvancedLogoComponent, selector: "desy-header-advanced-logo", inputs: ["url", "alt", "href", "fragment", "routerLink", "routerLinkActiveClasses", "target", "classes", "type"] }] }); }
|
|
9457
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderAdvancedSubComponent, selector: "desy-header-advanced-sub, desy-header-mini-sub", inputs: { classes: "classes", backgroundFullColor: "backgroundFullColor", backgroundFullUrl: "backgroundFullUrl", backgroundContainerUrl: "backgroundContainerUrl", logoUrl: "logoUrl", logoAlt: "logoAlt", logoHref: "logoHref", logoRouterLink: "logoRouterLink", logoRouterLinkActiveClasses: "logoRouterLinkActiveClasses", logoTarget: "logoTarget", logoFragment: "logoFragment", logoClasses: "logoClasses" }, ngImport: i0, template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes : 'h-32 bg-cover bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"sub\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: HeaderAdvancedLogoComponent, selector: "desy-header-advanced-logo", inputs: ["url", "alt", "href", "fragment", "routerLink", "routerLinkActiveClasses", "target", "classes", "type"] }] }); }
|
|
9236
9458
|
}
|
|
9237
9459
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderAdvancedSubComponent, decorators: [{
|
|
9238
9460
|
type: Component,
|
|
9239
|
-
args: [{ selector: 'desy-header-advanced-sub', template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes : 'h-32 bg-cover bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"sub\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>" }]
|
|
9461
|
+
args: [{ selector: 'desy-header-advanced-sub, desy-header-mini-sub', template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes : 'h-32 bg-cover bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"sub\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>" }]
|
|
9240
9462
|
}], propDecorators: { classes: [{
|
|
9241
9463
|
type: Input
|
|
9242
9464
|
}], backgroundFullColor: [{
|
|
@@ -9279,11 +9501,11 @@ class HeaderAdvancedSuperComponent {
|
|
|
9279
9501
|
this.super = Type.Super;
|
|
9280
9502
|
}
|
|
9281
9503
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderAdvancedSuperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9282
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderAdvancedSuperComponent, selector: "desy-header-advanced-super", inputs: { classes: "classes", backgroundFullColor: "backgroundFullColor", backgroundFullUrl: "backgroundFullUrl", backgroundContainerUrl: "backgroundContainerUrl", logoUrl: "logoUrl", logoAlt: "logoAlt", logoHref: "logoHref", logoRouterLink: "logoRouterLink", logoRouterLinkActiveClasses: "logoRouterLinkActiveClasses", logoTarget: "logoTarget", logoFragment: "logoFragment", logoClasses: "logoClasses" }, ngImport: i0, template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes :'h-32 bg-cover bg-center bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"super\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: HeaderAdvancedLogoComponent, selector: "desy-header-advanced-logo", inputs: ["url", "alt", "href", "fragment", "routerLink", "routerLinkActiveClasses", "target", "classes", "type"] }] }); }
|
|
9504
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HeaderAdvancedSuperComponent, selector: "desy-header-advanced-super, desy-header-mini-super", inputs: { classes: "classes", backgroundFullColor: "backgroundFullColor", backgroundFullUrl: "backgroundFullUrl", backgroundContainerUrl: "backgroundContainerUrl", logoUrl: "logoUrl", logoAlt: "logoAlt", logoHref: "logoHref", logoRouterLink: "logoRouterLink", logoRouterLinkActiveClasses: "logoRouterLinkActiveClasses", logoTarget: "logoTarget", logoFragment: "logoFragment", logoClasses: "logoClasses" }, ngImport: i0, template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes :'h-32 bg-cover bg-center bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"super\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: HeaderAdvancedLogoComponent, selector: "desy-header-advanced-logo", inputs: ["url", "alt", "href", "fragment", "routerLink", "routerLinkActiveClasses", "target", "classes", "type"] }] }); }
|
|
9283
9505
|
}
|
|
9284
9506
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HeaderAdvancedSuperComponent, decorators: [{
|
|
9285
9507
|
type: Component,
|
|
9286
|
-
args: [{ selector: 'desy-header-advanced-super', template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes :'h-32 bg-cover bg-center bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"super\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>" }]
|
|
9508
|
+
args: [{ selector: 'desy-header-advanced-super, desy-header-mini-super', template: "<ng-container *ngIf=\"!(classes||backgroundFullColor||backgroundFullUrl);else noContent\">\n <ng-content></ng-content>\n</ng-container>\n<ng-template #noContent>\n <div [ngClass]=\"classes ? classes :'h-32 bg-cover bg-center bg-no-repeat overflow-hidden'\"\n [ngStyle]=\"{'background-color': backgroundFullColor, 'background-image': backgroundFullUrl ? 'url(' + backgroundFullUrl + ')' : ''}\">\n <div class=\"container h-full mx-auto px-base\">\n <div class=\"relative h-full bg-cover bg-no-repeat\"\n [ngStyle]=\"{'background-image': backgroundContainerUrl ? 'url(' + backgroundContainerUrl + ')' : ''}\">\n <desy-header-advanced-logo *ngIf=\"logoUrl\"\n [url]=\"logoUrl\"\n [alt]=\"logoAlt\"\n [href]=\"logoHref\"\n [routerLink]=\"logoRouterLink\"\n [routerLinkActiveClasses]=\"logoRouterLinkActiveClasses\"\n [target]=\"logoTarget\"\n [fragment]=\"logoFragment\"\n [classes]=\"logoClasses\"\n [type]=\"super\" />\n <ng-content select=\"desy-header-advanced-custom-navigation\"></ng-content>\n </div>\n </div>\n </div>\n</ng-template>" }]
|
|
9287
9509
|
}], propDecorators: { classes: [{
|
|
9288
9510
|
type: Input
|
|
9289
9511
|
}], backgroundFullColor: [{
|
|
@@ -9985,11 +10207,11 @@ class MenuNavigationComponent extends AccessibilityComponent {
|
|
|
9985
10207
|
return id;
|
|
9986
10208
|
}
|
|
9987
10209
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuNavigationComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9988
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MenuNavigationComponent, selector: "desy-menu-navigation", inputs: { idPrefix: "idPrefix", items: "items", classes: "classes", id: "id" }, outputs: { itemsChange: "itemsChange", activeItemChange: "activeItemChange", activeSubItemChange: "activeSubItemChange" }, host: { properties: { "class": "this.classes", "class.c-menu-navigation": "this.cfg", "attr.id": "this.id", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-labelledby": "this.ariaLabelledBy", "attr.aria-hidden": "this.ariaHidden", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-controls": "this.ariaControls", "attr.aria-current": "this.ariaCurrent", "attr.aria-live": "this.ariaLive", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-errormessage": "this.ariaErrorMessage", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-modal": "this.ariaModal", "attr.aria-checked": "this.ariaChecked", "attr.aria-pressed": "this.ariaPressed", "attr.aria-readonly": "this.ariaReadonly", "attr.aria-required": "this.ariaRequired", "attr.aria-selected": "this.ariaSelected", "attr.aria-valuemin": "this.ariaValuemin", "attr.aria-valuemax": "this.ariaValuemax", "attr.aria-valuenow": "this.ariaValuenow", "attr.aria-valuetext": "this.ariaValuetext", "attr.aria-orientation": "this.ariaOrientation", "attr.aria-level": "this.ariaLevel", "attr.aria-multiselectable": "this.ariaMultiselectable", "attr.aria-placeholder": "this.ariaPlaceholder", "attr.aria-posinset": "this.ariaPosinset", "attr.aria-setsize": "this.ariaSetsize", "attr.aria-sort": "this.ariaSort", "attr.aria-busy": "this.ariaBusy", "attr.aria-dropeffect": "this.ariaDropeffect", "attr.aria-grabbed": "this.ariaGrabbed", "attr.aria-activedescendant": "this.ariaActivedescendant", "attr.aria-atomic": "this.ariaAtomic", "attr.aria-autocomplete": "this.ariaAutocomplete", "attr.aria-braillelabel": "this.ariaBraillelabel", "attr.aria-brailleroledescription": "this.ariaBrailleroledescription", "attr.aria-colcount": "this.ariaColcount", "attr.aria-colindex": "this.ariaColindex", "attr.aria-colindextext": "this.ariaColindextext", "attr.aria-colspan": "this.ariaColspan", "attr.aria-description": "this.ariaDescription", "attr.aria-details": "this.ariaDetails", "attr.aria-flowto": "this.ariaFlowto", "attr.aria-invalid": "this.ariaInvalid", "attr.aria-keyshortcuts": "this.ariaKeyshortcuts", "attr.aria-owns": "this.ariaOwns", "attr.aria-relevant": "this.ariaRelevant", "attr.aria-roledescription": "this.ariaRoledescription", "attr.aria-rowcount": "this.ariaRowcount", "attr.aria-rowindex": "this.ariaRowindex", "attr.aria-rowindextext": "this.ariaRowindextext", "attr.aria-rowspan": "this.ariaRowspan", "attr.tabindex": "this.tabindex", "attr.title": "this.title", "attr.alt": "this.alt", "attr.lang": "this.lang", "attr.accesskey": "this.accesskey", "attr.autocomplete": "this.autocomplete", "attr.autofocus": "this.autofocus", "attr.contenteditable": "this.contenteditable", "attr.dir": "this.dir", "attr.draggable": "this.draggable", "attr.enterkeyhint": "this.enterkeyhint", "attr.hidden": "this.hidden", "attr.inputmode": "this.inputmode", "attr.spellcheck": "this.spellcheck", "attr.translate": "this.translate", "attr.aria-multiline": "this.ariaMultiline", "attr.for": "this.for", "attr.form": "this.form", "attr.headers": "this.headers", "attr.placeholder": "this.placeholder", "attr.readonly": "this.readonly", "attr.required": "this.required" } }, queries: [{ propertyName: "itemComponentList", predicate: MenuNavigationItemComponent }], viewQueries: [{ propertyName: "menunavigation", first: true, predicate: ["menunavigation"], descendants: true, read: ElementRef }, { propertyName: "menuItems", predicate: MenubaritemDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ul #menunavigation [id]=\"id + '-menu-navigation'\" class=\"flex flex-wrap gap-base\"\n(focusin)=\"handleMenuFocusIn()\"\n(focusout)=\"handleMenuFocusOut($event)\"\n[ngClass]=\"{ 'focus': isFocused }\"\n[attr.aria-label]=\"ariaLabel ? ariaLabel : null\">\n<ng-container *ngFor=\"let item of getItems(); index as itemIndex\">\n<li class=\"relative\" desyMenubaritem (contentChanged)=\"checkChanges()\">\n <a *ngIf=\"item.href\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [href]=\"item.href\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.title]=\"item.title ? item.title : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <a *ngIf=\"!item.href && item.routerLink\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <button *ngIf=\"!item.href && !item.routerLink\" #link #itemContentWrapper\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.aria-expanded]=\"item.sub ? (!!(menuData && menuData[itemIndex].open) ? true : false) : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-controls]=\"item.sub ? (item.ariaControls ? item.ariaControls : id + '-sub-list') : null\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span *ngIf=\"item.active\" class=\"sr-only\">Item activo: </span>\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span>\n <svg *ngIf=\"item.sub\" class=\"inline-block -mr-2 align-middle -my-px pointer-events-none\" viewBox=\"0 0 96 96\" aria-hidden=\"true\" fill=\"currentColor\" focusable=\"false\" width=\"1.5em\" height=\"1.5em\"><g><path d=\"M46.71 58.037a1.823 1.823 0 002.581 0L62.048 45.28a1.823 1.823 0 00-1.29-3.113H35.243a1.823 1.823 0 00-1.291 3.113z\"/></g></svg>\n </button> \n\n <div *ngIf=\"item.sub && getItemSubitems(item)\" class=\"c-menu-navigation__sub absolute bottom-0 left-0\">\n <ul [id]=\"id + '-sub-list'\" [style]=\"menuData && menuData[itemIndex].open?'display:block':'display:none'\" #popupMenu role=\"menu\" tabindex=\"-1\"\n [class]=\"item.sub.classes ? item.sub.classes : 'c-menu-navigation__tooltip w-max max-w-64 border border-neutral-base shadow-md bg-white text-sm'\"\n [attr.aria-label]=\"item.ariaLabel ? item.ariaLabel : (item.sub.ariaLabel ? item.sub.ariaLabel : null)\"\n [attr.aria-disabled]=\"item.sub.ariaDisabled ? item.sub.ariaDisabled : null\"\n [desyAppAccessibility]=\"item.sub\">\n <ng-container *ngFor=\"let subItem of getItemSubitems(item); index as subItemIndex\">\t\t\t\t\n <li #popupMenuItem tabindex=\"-1\"\n [id]=\"getSubItemId(subItem, subItemIndex, getItemId(item, itemIndex))\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\">\n <a *ngIf=\"subItem.href\" #itemContentWrapper\n [href]=\"subItem.href\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!subItem.href && subItem.routerLink\" #itemContentWrapper\n [routerLink]=\"subItem.routerLink\"\n [routerLinkActive]=\"subItem.routerLinkActiveClasses ? subItem.routerLinkActiveClasses : []\"\n [fragment]=\"subItem.fragment\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"subItem.divider\" class=\"my-sm border-b border-neutral-base\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n </ul>\n </div>\n</li>\n<li #popupMenuItem *ngIf=\"item.divider\" [class]=\"item.divider.classes\" role=\"presentation\" aria-hidden=\"true\">\n <ng-container *desyCustomInnerContent=\"{ component: item.divider, html: item.divider.html, text: item.divider.text}\"></ng-container>\n</li>\n</ng-container>\n</ul>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: AttributeChangeDirective, selector: "[desyAttributeChange]", inputs: ["attributesToCheck", "desyAttributeChangeEnabled"], outputs: ["desyAttributeChange", "desyAttributeChangeMutation"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "directive", type: MenubaritemDirective, selector: "[desyMenubaritem]", outputs: ["contentChanged"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
10210
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MenuNavigationComponent, selector: "desy-menu-navigation", inputs: { idPrefix: "idPrefix", items: "items", classes: "classes", id: "id" }, outputs: { itemsChange: "itemsChange", activeItemChange: "activeItemChange", activeSubItemChange: "activeSubItemChange" }, host: { properties: { "class": "this.classes", "class.c-menu-navigation": "this.cfg", "attr.id": "this.id", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-labelledby": "this.ariaLabelledBy", "attr.aria-hidden": "this.ariaHidden", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-controls": "this.ariaControls", "attr.aria-current": "this.ariaCurrent", "attr.aria-live": "this.ariaLive", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-errormessage": "this.ariaErrorMessage", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-modal": "this.ariaModal", "attr.aria-checked": "this.ariaChecked", "attr.aria-pressed": "this.ariaPressed", "attr.aria-readonly": "this.ariaReadonly", "attr.aria-required": "this.ariaRequired", "attr.aria-selected": "this.ariaSelected", "attr.aria-valuemin": "this.ariaValuemin", "attr.aria-valuemax": "this.ariaValuemax", "attr.aria-valuenow": "this.ariaValuenow", "attr.aria-valuetext": "this.ariaValuetext", "attr.aria-orientation": "this.ariaOrientation", "attr.aria-level": "this.ariaLevel", "attr.aria-multiselectable": "this.ariaMultiselectable", "attr.aria-placeholder": "this.ariaPlaceholder", "attr.aria-posinset": "this.ariaPosinset", "attr.aria-setsize": "this.ariaSetsize", "attr.aria-sort": "this.ariaSort", "attr.aria-busy": "this.ariaBusy", "attr.aria-dropeffect": "this.ariaDropeffect", "attr.aria-grabbed": "this.ariaGrabbed", "attr.aria-activedescendant": "this.ariaActivedescendant", "attr.aria-atomic": "this.ariaAtomic", "attr.aria-autocomplete": "this.ariaAutocomplete", "attr.aria-braillelabel": "this.ariaBraillelabel", "attr.aria-brailleroledescription": "this.ariaBrailleroledescription", "attr.aria-colcount": "this.ariaColcount", "attr.aria-colindex": "this.ariaColindex", "attr.aria-colindextext": "this.ariaColindextext", "attr.aria-colspan": "this.ariaColspan", "attr.aria-description": "this.ariaDescription", "attr.aria-details": "this.ariaDetails", "attr.aria-flowto": "this.ariaFlowto", "attr.aria-invalid": "this.ariaInvalid", "attr.aria-keyshortcuts": "this.ariaKeyshortcuts", "attr.aria-owns": "this.ariaOwns", "attr.aria-relevant": "this.ariaRelevant", "attr.aria-roledescription": "this.ariaRoledescription", "attr.aria-rowcount": "this.ariaRowcount", "attr.aria-rowindex": "this.ariaRowindex", "attr.aria-rowindextext": "this.ariaRowindextext", "attr.aria-rowspan": "this.ariaRowspan", "attr.tabindex": "this.tabindex", "attr.title": "this.title", "attr.alt": "this.alt", "attr.lang": "this.lang", "attr.accesskey": "this.accesskey", "attr.autocomplete": "this.autocomplete", "attr.autofocus": "this.autofocus", "attr.contenteditable": "this.contenteditable", "attr.dir": "this.dir", "attr.draggable": "this.draggable", "attr.enterkeyhint": "this.enterkeyhint", "attr.hidden": "this.hidden", "attr.inputmode": "this.inputmode", "attr.spellcheck": "this.spellcheck", "attr.translate": "this.translate", "attr.aria-multiline": "this.ariaMultiline", "attr.for": "this.for", "attr.form": "this.form", "attr.headers": "this.headers", "attr.placeholder": "this.placeholder", "attr.readonly": "this.readonly", "attr.required": "this.required" } }, queries: [{ propertyName: "itemComponentList", predicate: MenuNavigationItemComponent }], viewQueries: [{ propertyName: "menunavigation", first: true, predicate: ["menunavigation"], descendants: true, read: ElementRef }, { propertyName: "menuItems", predicate: MenubaritemDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ul #menunavigation [id]=\"id + '-menu-navigation'\" class=\"flex flex-wrap gap-base\"\n(focusin)=\"handleMenuFocusIn()\"\n(focusout)=\"handleMenuFocusOut($event)\"\n[ngClass]=\"{ 'focus': isFocused }\"\n[attr.aria-label]=\"ariaLabel ? ariaLabel : null\">\n<ng-container *ngFor=\"let item of getItems(); index as itemIndex\">\n<li class=\"relative\" desyMenubaritem (contentChanged)=\"checkChanges()\">\n <a *ngIf=\"item.href\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [href]=\"item.href\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.title]=\"item.title ? item.title : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <a *ngIf=\"!item.href && item.routerLink\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <button *ngIf=\"!item.href && !item.routerLink\" #link #itemContentWrapper\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.aria-expanded]=\"item.sub ? (!!(menuData && menuData[itemIndex].open) ? true : false) : null\"\n [attr.aria-haspopup]=\"item.sub ? (!!(menuData && menuData[itemIndex].open) ? true : false) : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-controls]=\"item.sub ? (item.ariaControls ? item.ariaControls : id + '-sub-list') : null\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span *ngIf=\"item.active\" class=\"sr-only\">Item activo: </span>\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span>\n <svg *ngIf=\"item.sub\" class=\"inline-block -mr-2 align-middle -my-px pointer-events-none\" viewBox=\"0 0 96 96\" aria-hidden=\"true\" fill=\"currentColor\" focusable=\"false\" width=\"1.5em\" height=\"1.5em\"><g><path d=\"M46.71 58.037a1.823 1.823 0 002.581 0L62.048 45.28a1.823 1.823 0 00-1.29-3.113H35.243a1.823 1.823 0 00-1.291 3.113z\"/></g></svg>\n </button> \n\n <div *ngIf=\"item.sub && getItemSubitems(item)\" class=\"c-menu-navigation__sub absolute bottom-0 left-0\">\n <ul [id]=\"id + '-sub-list'\" [style]=\"menuData && menuData[itemIndex].open?'display:block':'display:none'\" #popupMenu role=\"menu\" tabindex=\"-1\"\n [class]=\"item.sub.classes ? item.sub.classes : 'c-menu-navigation__tooltip w-max max-w-64 border border-neutral-base shadow-md bg-white text-sm'\"\n [attr.aria-label]=\"item.ariaLabel ? item.ariaLabel : (item.sub.ariaLabel ? item.sub.ariaLabel : null)\"\n [attr.aria-disabled]=\"item.sub.ariaDisabled ? item.sub.ariaDisabled : null\"\n [desyAppAccessibility]=\"item.sub\">\n <ng-container *ngFor=\"let subItem of getItemSubitems(item); index as subItemIndex\">\t\t\t\t\n <li #popupMenuItem tabindex=\"-1\"\n [id]=\"getSubItemId(subItem, subItemIndex, getItemId(item, itemIndex))\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\">\n <a *ngIf=\"subItem.href\" #itemContentWrapper\n [href]=\"subItem.href\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!subItem.href && subItem.routerLink\" #itemContentWrapper\n [routerLink]=\"subItem.routerLink\"\n [routerLinkActive]=\"subItem.routerLinkActiveClasses ? subItem.routerLinkActiveClasses : []\"\n [fragment]=\"subItem.fragment\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"subItem.divider\" class=\"my-sm border-b border-neutral-base\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n </ul>\n </div>\n</li>\n<li #popupMenuItem *ngIf=\"item.divider\" [class]=\"item.divider.classes\" role=\"presentation\" aria-hidden=\"true\">\n <ng-container *desyCustomInnerContent=\"{ component: item.divider, html: item.divider.html, text: item.divider.text}\"></ng-container>\n</li>\n</ng-container>\n</ul>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: AttributeChangeDirective, selector: "[desyAttributeChange]", inputs: ["attributesToCheck", "desyAttributeChangeEnabled"], outputs: ["desyAttributeChange", "desyAttributeChangeMutation"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "directive", type: MenubaritemDirective, selector: "[desyMenubaritem]", outputs: ["contentChanged"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
9989
10211
|
}
|
|
9990
10212
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MenuNavigationComponent, decorators: [{
|
|
9991
10213
|
type: Component,
|
|
9992
|
-
args: [{ selector: 'desy-menu-navigation', template: "<ul #menunavigation [id]=\"id + '-menu-navigation'\" class=\"flex flex-wrap gap-base\"\n(focusin)=\"handleMenuFocusIn()\"\n(focusout)=\"handleMenuFocusOut($event)\"\n[ngClass]=\"{ 'focus': isFocused }\"\n[attr.aria-label]=\"ariaLabel ? ariaLabel : null\">\n<ng-container *ngFor=\"let item of getItems(); index as itemIndex\">\n<li class=\"relative\" desyMenubaritem (contentChanged)=\"checkChanges()\">\n <a *ngIf=\"item.href\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [href]=\"item.href\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.title]=\"item.title ? item.title : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <a *ngIf=\"!item.href && item.routerLink\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <button *ngIf=\"!item.href && !item.routerLink\" #link #itemContentWrapper\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.aria-expanded]=\"item.sub ? (!!(menuData && menuData[itemIndex].open) ? true : false) : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-controls]=\"item.sub ? (item.ariaControls ? item.ariaControls : id + '-sub-list') : null\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span *ngIf=\"item.active\" class=\"sr-only\">Item activo: </span>\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span>\n <svg *ngIf=\"item.sub\" class=\"inline-block -mr-2 align-middle -my-px pointer-events-none\" viewBox=\"0 0 96 96\" aria-hidden=\"true\" fill=\"currentColor\" focusable=\"false\" width=\"1.5em\" height=\"1.5em\"><g><path d=\"M46.71 58.037a1.823 1.823 0 002.581 0L62.048 45.28a1.823 1.823 0 00-1.29-3.113H35.243a1.823 1.823 0 00-1.291 3.113z\"/></g></svg>\n </button> \n\n <div *ngIf=\"item.sub && getItemSubitems(item)\" class=\"c-menu-navigation__sub absolute bottom-0 left-0\">\n <ul [id]=\"id + '-sub-list'\" [style]=\"menuData && menuData[itemIndex].open?'display:block':'display:none'\" #popupMenu role=\"menu\" tabindex=\"-1\"\n [class]=\"item.sub.classes ? item.sub.classes : 'c-menu-navigation__tooltip w-max max-w-64 border border-neutral-base shadow-md bg-white text-sm'\"\n [attr.aria-label]=\"item.ariaLabel ? item.ariaLabel : (item.sub.ariaLabel ? item.sub.ariaLabel : null)\"\n [attr.aria-disabled]=\"item.sub.ariaDisabled ? item.sub.ariaDisabled : null\"\n [desyAppAccessibility]=\"item.sub\">\n <ng-container *ngFor=\"let subItem of getItemSubitems(item); index as subItemIndex\">\t\t\t\t\n <li #popupMenuItem tabindex=\"-1\"\n [id]=\"getSubItemId(subItem, subItemIndex, getItemId(item, itemIndex))\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\">\n <a *ngIf=\"subItem.href\" #itemContentWrapper\n [href]=\"subItem.href\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!subItem.href && subItem.routerLink\" #itemContentWrapper\n [routerLink]=\"subItem.routerLink\"\n [routerLinkActive]=\"subItem.routerLinkActiveClasses ? subItem.routerLinkActiveClasses : []\"\n [fragment]=\"subItem.fragment\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"subItem.divider\" class=\"my-sm border-b border-neutral-base\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n </ul>\n </div>\n</li>\n<li #popupMenuItem *ngIf=\"item.divider\" [class]=\"item.divider.classes\" role=\"presentation\" aria-hidden=\"true\">\n <ng-container *desyCustomInnerContent=\"{ component: item.divider, html: item.divider.html, text: item.divider.text}\"></ng-container>\n</li>\n</ng-container>\n</ul>\n" }]
|
|
10214
|
+
args: [{ selector: 'desy-menu-navigation', template: "<ul #menunavigation [id]=\"id + '-menu-navigation'\" class=\"flex flex-wrap gap-base\"\n(focusin)=\"handleMenuFocusIn()\"\n(focusout)=\"handleMenuFocusOut($event)\"\n[ngClass]=\"{ 'focus': isFocused }\"\n[attr.aria-label]=\"ariaLabel ? ariaLabel : null\">\n<ng-container *ngFor=\"let item of getItems(); index as itemIndex\">\n<li class=\"relative\" desyMenubaritem (contentChanged)=\"checkChanges()\">\n <a *ngIf=\"item.href\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [href]=\"item.href\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.title]=\"item.title ? item.title : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <a *ngIf=\"!item.href && item.routerLink\" #link\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [attr.role]=\"item.disabled ? link : null\"\n [id]=\"getItemId(item, itemIndex)\"\n [target]=\"item.target\"\n [routerLink]=\"item.routerLink\"\n [routerLinkActive]=\"item.routerLinkActiveClasses ? item.routerLinkActiveClasses : []\"\n [fragment]=\"item.fragment\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-current]=\"item.disabled ? 'page' : (item.ariaCurrent ? item.ariaCurrent : null)\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span> \n </a>\n <button *ngIf=\"!item.href && !item.routerLink\" #link #itemContentWrapper\n (click)=\"handleMenuItemClick($event, itemIndex)\"\n (keydown)=\"handleMenuItemKeydown($event, itemIndex)\"\n (mouseover)=\"handleMenuItemMouseOver(itemIndex)\"\n (desyAttributeChange)=\"checkChanges()\" [attributesToCheck]=\"'disabled'\"\n [class]=\"['c-menu-navigation__button', item.classes] | makeHtmlList\"\n [ngClass]=\"{'c-menu-navigation__button--disabled': item.disabled, 'c-menu-navigation__button--primary': item.active, 'c-menu-navigation__button--has-selection': item.active}\"\n [attr.aria-expanded]=\"item.sub ? (!!(menuData && menuData[itemIndex].open) ? true : false) : null\"\n [attr.aria-haspopup]=\"item.sub ? (!!(menuData && menuData[itemIndex].open) ? true : false) : null\"\n [attr.disabled]=\"item.disabled ? item.disabled : null\"\n [attr.aria-disabled]=\"item.disabled ? item.disabled : (item.ariaDisabled ? item.ariaDisabled : null)\"\n [desyAppAccessibility]=\"item\"\n [attr.aria-controls]=\"item.sub ? (item.ariaControls ? item.ariaControls : id + '-sub-list') : null\"\n [attr.tabindex]=\"item.disabled ? -1 : (itemIndex === currentFocusItemIndex ? 0 : -1)\">\n <span *ngIf=\"item.active\" class=\"sr-only\">Item activo: </span>\n <span class=\"inline-flex self-center max-w-xs align-middle truncate pointer-events-none\" #itemContentWrapper>\n <ng-container *desyCustomInnerContent=\"{ component: item, html: item.html, text: item.text}\"></ng-container>\n </span>\n <svg *ngIf=\"item.sub\" class=\"inline-block -mr-2 align-middle -my-px pointer-events-none\" viewBox=\"0 0 96 96\" aria-hidden=\"true\" fill=\"currentColor\" focusable=\"false\" width=\"1.5em\" height=\"1.5em\"><g><path d=\"M46.71 58.037a1.823 1.823 0 002.581 0L62.048 45.28a1.823 1.823 0 00-1.29-3.113H35.243a1.823 1.823 0 00-1.291 3.113z\"/></g></svg>\n </button> \n\n <div *ngIf=\"item.sub && getItemSubitems(item)\" class=\"c-menu-navigation__sub absolute bottom-0 left-0\">\n <ul [id]=\"id + '-sub-list'\" [style]=\"menuData && menuData[itemIndex].open?'display:block':'display:none'\" #popupMenu role=\"menu\" tabindex=\"-1\"\n [class]=\"item.sub.classes ? item.sub.classes : 'c-menu-navigation__tooltip w-max max-w-64 border border-neutral-base shadow-md bg-white text-sm'\"\n [attr.aria-label]=\"item.ariaLabel ? item.ariaLabel : (item.sub.ariaLabel ? item.sub.ariaLabel : null)\"\n [attr.aria-disabled]=\"item.sub.ariaDisabled ? item.sub.ariaDisabled : null\"\n [desyAppAccessibility]=\"item.sub\">\n <ng-container *ngFor=\"let subItem of getItemSubitems(item); index as subItemIndex\">\t\t\t\t\n <li #popupMenuItem tabindex=\"-1\"\n [id]=\"getSubItemId(subItem, subItemIndex, getItemId(item, itemIndex))\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\">\n <a *ngIf=\"subItem.href\" #itemContentWrapper\n [href]=\"subItem.href\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n <a *ngIf=\"!subItem.href && subItem.routerLink\" #itemContentWrapper\n [routerLink]=\"subItem.routerLink\"\n [routerLinkActive]=\"subItem.routerLinkActiveClasses ? subItem.routerLinkActiveClasses : []\"\n [fragment]=\"subItem.fragment\"\n (click)=\"handlePopupMenuItemClick(itemIndex, subItemIndex)\"\n (mouseover)=\"handlePopupMenuItemMouseOver(itemIndex, subItemIndex)\"\n (keydown)=\"handlePopupMenuItemKeydown($event, itemIndex, subItemIndex)\"\n (desyAttributeChange)=\"checkChanges()\"\n [class]=\"['flex items-center px-base py-sm text-sm hover:bg-primary-base hover:text-white focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', subItem.classes] | makeHtmlList\"\n [ngClass]=\"{'pointer-events-none': subItem.disabled}\"\n [tabindex]=\"subItem.disabled ? -1 : null\"\n [attr.aria-current]=\"subItem.active ? 'page' : null\"\n [target]=\"subItem.target\">\n <strong class=\"font-bold\" *ngIf=\"subItem.active; else noActive\">\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </strong>\n <ng-template #noActive>\n <ng-container *desyCustomInnerContent=\"{ component: subItem, html: subItem.html, text: subItem.text}\"></ng-container>\n </ng-template>\n <svg *ngIf=\"subItem.disabled\" viewBox=\"0 0 140 140\" height=\"1em\" width=\"1em\" xmlns=\"http://www.w3.org/2000/svg\" class=\"inline-block align-middle flex-initial ml-sm text-neutral-base fill-current\" aria-hidden=\"true\" focusable=\"false\" ><path d=\"M70 0a70 70 0 1070 70A70.08 70.08 0 0070 0zM20 70a50 50 0 0174.8-43.4 2.51 2.51 0 011.23 1.84 2.48 2.48 0 01-.71 2.1L30.54 95.32a2.51 2.51 0 01-3.94-.52A49.63 49.63 0 0120 70zm100 0a50 50 0 01-74.8 43.4 2.51 2.51 0 01-1.23-1.84 2.48 2.48 0 01.71-2.1l64.78-64.78a2.51 2.51 0 013.94.52A49.63 49.63 0 01120 70z\"/></svg>\n </a>\n </li>\n <li *ngIf=\"subItem.divider\" class=\"my-sm border-b border-neutral-base\">\n <div class=\"sr-only\">Separador</div>\n </li>\n </ng-container>\n </ul>\n </div>\n</li>\n<li #popupMenuItem *ngIf=\"item.divider\" [class]=\"item.divider.classes\" role=\"presentation\" aria-hidden=\"true\">\n <ng-container *desyCustomInnerContent=\"{ component: item.divider, html: item.divider.html, text: item.divider.text}\"></ng-container>\n</li>\n</ng-container>\n</ul>\n" }]
|
|
9993
10215
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { idPrefix: [{
|
|
9994
10216
|
type: Input
|
|
9995
10217
|
}], items: [{
|
|
@@ -10521,10 +10743,6 @@ class FocusClickedCellDirective {
|
|
|
10521
10743
|
next.focus();
|
|
10522
10744
|
}
|
|
10523
10745
|
}
|
|
10524
|
-
if (event.code === 'Enter' || event.code === 'Space') {
|
|
10525
|
-
this.handleFocus();
|
|
10526
|
-
event.preventDefault();
|
|
10527
|
-
}
|
|
10528
10746
|
}
|
|
10529
10747
|
handleFocus() {
|
|
10530
10748
|
const hostElem = this.el.nativeElement;
|
|
@@ -10742,7 +10960,7 @@ class TableAdvancedComponent extends AccessibilityComponent {
|
|
|
10742
10960
|
});
|
|
10743
10961
|
return filteredRows;
|
|
10744
10962
|
}
|
|
10745
|
-
handleSortByColumn(index) {
|
|
10963
|
+
handleSortByColumn(index, event) {
|
|
10746
10964
|
const head = this.getHeaderCells();
|
|
10747
10965
|
if (head) {
|
|
10748
10966
|
head.forEach((cell, cellIndex) => {
|
|
@@ -10752,6 +10970,7 @@ class TableAdvancedComponent extends AccessibilityComponent {
|
|
|
10752
10970
|
});
|
|
10753
10971
|
}
|
|
10754
10972
|
this.recalculateVisibleElements();
|
|
10973
|
+
event?.preventDefault();
|
|
10755
10974
|
}
|
|
10756
10975
|
sortRows(recalculateParams, rows) {
|
|
10757
10976
|
let sortedRows = rows;
|
|
@@ -10764,13 +10983,13 @@ class TableAdvancedComponent extends AccessibilityComponent {
|
|
|
10764
10983
|
}
|
|
10765
10984
|
compareCellContent(a, b, isAsc) {
|
|
10766
10985
|
let result;
|
|
10767
|
-
const aComparable = this.cleanCurrency(a.getContent());
|
|
10768
|
-
const bComparable = this.cleanCurrency(b.getContent());
|
|
10986
|
+
const aComparable = this.cleanCurrency(a.getContent()).trim();
|
|
10987
|
+
const bComparable = this.cleanCurrency(b.getContent()).trim();
|
|
10769
10988
|
const numberRegex = /^-?\d+(\.|,)?\d*$/;
|
|
10770
10989
|
const dateRegex = /^(\d{2})(\/|-)(\d{2})(\/|-)(\d{4})( (\d{2}):(\d{2})(:(\d{2}))?)?$/;
|
|
10771
10990
|
if (aComparable && bComparable) {
|
|
10772
10991
|
if (numberRegex.test(aComparable) && numberRegex.test(bComparable)) {
|
|
10773
|
-
result = aComparable
|
|
10992
|
+
result = (parseFloat(aComparable) - parseFloat(bComparable));
|
|
10774
10993
|
}
|
|
10775
10994
|
else if (dateRegex.test(aComparable) && dateRegex.test(bComparable)) {
|
|
10776
10995
|
result = this.parseDateTime(aComparable) - this.parseDateTime(bComparable);
|
|
@@ -10797,9 +11016,7 @@ class TableAdvancedComponent extends AccessibilityComponent {
|
|
|
10797
11016
|
}
|
|
10798
11017
|
}
|
|
10799
11018
|
cleanCurrency(txt) {
|
|
10800
|
-
|
|
10801
|
-
txt = txt.replace(/€/g, '');
|
|
10802
|
-
}
|
|
11019
|
+
txt = txt.replace(/€/g, '');
|
|
10803
11020
|
return txt;
|
|
10804
11021
|
}
|
|
10805
11022
|
selectFilter(item, itemValue) {
|
|
@@ -10814,7 +11031,7 @@ class TableAdvancedComponent extends AccessibilityComponent {
|
|
|
10814
11031
|
}
|
|
10815
11032
|
}
|
|
10816
11033
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableAdvancedComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10817
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableAdvancedComponent, selector: "desy-table-advanced", inputs: { rows: "rows", head: "head", foot: "foot", caption: "caption", captionClasses: "captionClasses", firstCellIsHeader: "firstCellIsHeader", hasCheckboxes: "hasCheckboxes", idPrefix: "idPrefix", classes: "classes", checkboxClasses: "checkboxClasses", id: "id", wrapper: "wrapper" }, outputs: { rowsChange: "rowsChange", rowsChecked: "rowsChecked", recalculateTable: "recalculateTable" }, queries: [{ propertyName: "captionComponent", predicate: TableCaptionComponent }, { propertyName: "headerComponent", predicate: TableAdvancedHeaderComponent }, { propertyName: "footerComponent", predicate: TableAdvancedFooterComponent }, { propertyName: "rowComponentList", predicate: TableAdvancedRowComponent }], viewQueries: [{ propertyName: "rowData", predicate: RowDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #tableContent>\n <table role=\"grid\"\n [class]=\"['c-table-advanced border-t-2 border-b-2 border-neutral-base', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"getHeaderCells()\">\n <tr class=\"border-t border-neutral-base divide-x divide-neutral-base\">\n <th *ngIf=\"hasCheckboxes\" scope=\"col\" [class]=\"['align-top px-base py-xs', 'w-16', checkboxClasses] | makeHtmlList\">\n <span class=\"sr-only\">Seleccionar fila</span>\n </th>\n <th scope=\"col\" *ngFor=\"let item of getHeaderCells(); index as iHeader\" [id]=\"getIdHeader(iHeader)\"\n [attr.aria-sort]=\"item.orderBy ? getStringOrderBy(item.orderBy) : null\"\n [class]=\"['align-top px-base py-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\"\n [attr.colspan]=\"item.colspan ? item.colspan : null\"\n [attr.rowspan]=\"item.rowspan ? item.rowspan : null\"\n [desyAppAccessibility]=\"item\">\n\n <span *ngIf=\"item.orderBy\" class=\"inline-block relative\" (click)=\"handleSortByColumn(iHeader)\" (keydown.enter)=\"handleSortByColumn(iHeader)\" (keydown.space)=\"handleSortByColumn(iHeader)\" desyFocusClickedCell\n [attr.tabindex]=\"item.orderBy ? -1 : null\"\n [attr.role]=\"item.orderBy ? 'button' : null\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n <span class=\"c-table-advanced__order\" *ngIf=\"item.orderBy\">\n <span class=\"sr-only\">Pulsa para ordenar por esta columna</span>\n <span class=\"c-table-advanced__ascending\" *ngIf=\"item.orderBy === orderByType.asc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M112.07 37.93l-35-35a10 10 0 00-14.14 0l-35 35a10 10 0 0014.14 14.14l13.66-13.66A2.5 2.5 0 0160 40.18V130a10 10 0 0020 0V40.18a2.5 2.5 0 014.27-1.77l13.66 13.66a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__descending\" *ngIf=\"item.orderBy === orderByType.desc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M27.93 102.07l35 35a10 10 0 0014.14 0l35-35a10 10 0 00-14.14-14.14l-13.66 13.66A2.5 2.5 0 0180 99.82V10a10 10 0 00-20 0v89.82a2.5 2.5 0 01-4.27 1.77L42.07 87.93a10 10 0 00-14.14 14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__none\" *ngIf=\"item.orderBy === orderByType.none\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"text-neutral-dark\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M94.7 97.2l-17.2 17.19V25.61L94.7 42.8a7.5 7.5 0 0010.6-10.6l-30-30a7.49 7.49 0 00-10.6 0l-30 30a7.5 7.5 0 0010.6 10.6l17.2-17.19v88.78L45.3 97.2a7.5 7.5 0 10-10.6 10.6l30 30a7.48 7.48 0 0010.6 0l30-30a7.5 7.5 0 00-10.6-10.6z\" fill=\"currentColor\"/></svg>\n </span>\n </span>\n </span>\n\n <span *ngIf=\"!item.orderBy\" class=\"inline-block relative\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n </span>\n </th>\n </tr>\n </thead>\n\n <tbody>\n <tr class=\"divide-x divide-neutral-base\" *ngIf=\"hasFilters()\">\n <td *ngIf=\"hasCheckboxes\" [ngClass]=\"checkboxClasses\"></td>\n <td tabindex=\"-1\" *ngFor=\"let item of getHeaderCells(); index as iHead\" desyFocusClickedCell\n [class]=\"['align-top px-base pb-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\">\n <ng-container *ngIf=\"item.hasSelect && getSelectForItem(item) !== null\">\n <ng-container *ngTemplateOutlet=\"tableSelect; context: {selectable: getSelectForItem(item)}\"></ng-container>\n <ng-template #tableSelect let-selectable=\"selectable\">\n <desy-select [id]=\"getIdHeaderSelect(iHead)\"\n [labelData]=\"{ text: 'Filtrar por esta columna', classes: 'sr-only' }\"\n [classes]=\"selectable.classes ? selectable.classes : 'c-select--sm w-full'\"\n [formGroupClasses]=\"selectable.formGroupClasses ? selectable.formGroupClasses : '-mt-sm mb-0'\"\n [name]=\"selectable.name\"\n [items]=\"getItemSelectOptions(selectable)\"\n [disabled]=\"selectable.disabled\"\n [describedBy]=\"getIdHeaderSelect(iHead)\"\n\n [(ngModel)]=\"item.valueSelect\" (ngModelChange)=\"handleInputSearch(item)\"\n\n [role]=\"selectable.role\"\n [ariaLabel]=\"selectable.ariaLabel\"\n [ariaDescribedBy]=\"selectable.ariaDescribedBy\"\n [ariaLabelledBy]=\"selectable.ariaLabelledBy\"\n [ariaHidden]=\"selectable.ariaHidden\"\n [ariaDisabled]=\"selectable.ariaDisabled\"\n [ariaControls]=\"selectable.ariaControls\"\n [ariaCurrent]=\"selectable.ariaCurrent\"\n [ariaLive]=\"selectable.ariaLive\"\n [ariaExpanded]=\"selectable.ariaExpanded\"\n [ariaErrorMessage]=\"selectable.ariaErrorMessage\"\n [ariaHasPopup]=\"selectable.ariaHasPopup\"\n [tabindex]=\"selectable.tabindex\">\n </desy-select>\n </ng-template>\n </ng-container>\n\n <div *ngIf=\"item.hasSelect && item.hasFilter\" class=\"pb-sm\"></div>\n\n <desy-search-bar *ngIf=\"item.hasFilter\"\n [(ngModel)]=\"item.valueFilter\" [ngModelOptions]=\"{standalone: true}\"\n (clickEvent)=\"handleInputSearch(item)\"\n (ngModelChange)=\"handleInputSearch(item)\"\n labelText=\"Buscar en esta columna\"\n [id]=\"getIdHeaderFilter(iHead)\"\n placeholder=\"Buscar\"\n [classes]=\"['c-input--sm', item.filterClasses] | makeHtmlList\"\n buttonClasses=\"m-xs p-0.5 text-xs\"\n [describedBy]=\"getIdHeader(iHead)\"> </desy-search-bar>\n </td>\n </tr>\n\n\n <tr *ngFor=\"let row of getVisibleRows(); index as iRow\" class=\"border-t border-b border-neutral-base hover:bg-neutral-lighter\"\n [desyRow]=\"row\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\" >\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"row.checked\" (ngModelChange)=\"handleCheckboxChange(row)\"\n [id]=\"getIdRowCheckbox(iRow)\"\n [name]=\"getIdRowCheckbox(iRow)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iRow)\">Selecciona fila {{ iRow }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of row.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tbody>\n \n <tfoot *ngIf=\"getFooterCells()\">\n <tr *ngFor=\"let foot of getFooterCells(); index as iFooter\" class=\"border-t-2 border-b border-neutral-base hover:bg-neutral-lighter\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\">\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"foot.checked\" (ngModelChange)=\"handleCheckboxChange(foot)\"\n [id]=\"getIdRowCheckbox(iFooter)\"\n [name]=\"getIdRowCheckbox(iFooter)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iFooter)\">Selecciona fila {{ iFooter }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of foot.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tfoot>\n </table>\n</ng-template>\n\n<div *ngIf=\"wrapper; else tableContent\" [class]=\"wrapper.classes\">\n <ng-container *ngTemplateOutlet=\"tableContent\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: SelectComponent, selector: "desy-select", inputs: ["name", "items", "describedBy", "formGroupClasses", "classes"] }, { kind: "component", type: SearchBarComponent, selector: "desy-search-bar", inputs: ["describedBy", "classes", "buttonClasses", "placeholder"], outputs: ["clickEvent"] }, { kind: "directive", type: FocusClickedCellDirective, selector: "[desyFocusClickedCell]" }, { kind: "directive", type: CellDirective, selector: "[desyCell]", inputs: ["row", "rowIndex", "columnIndex"] }, { kind: "directive", type: RowDirective, selector: "[desyRow]", inputs: ["desyRow"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
11034
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableAdvancedComponent, selector: "desy-table-advanced", inputs: { rows: "rows", head: "head", foot: "foot", caption: "caption", captionClasses: "captionClasses", firstCellIsHeader: "firstCellIsHeader", hasCheckboxes: "hasCheckboxes", idPrefix: "idPrefix", classes: "classes", checkboxClasses: "checkboxClasses", id: "id", wrapper: "wrapper" }, outputs: { rowsChange: "rowsChange", rowsChecked: "rowsChecked", recalculateTable: "recalculateTable" }, queries: [{ propertyName: "captionComponent", predicate: TableCaptionComponent }, { propertyName: "headerComponent", predicate: TableAdvancedHeaderComponent }, { propertyName: "footerComponent", predicate: TableAdvancedFooterComponent }, { propertyName: "rowComponentList", predicate: TableAdvancedRowComponent }], viewQueries: [{ propertyName: "rowData", predicate: RowDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #tableContent>\n <table role=\"grid\"\n [class]=\"['c-table-advanced border-t-2 border-b-2 border-neutral-base', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"getHeaderCells()\">\n <tr class=\"border-t border-neutral-base divide-x divide-neutral-base\">\n <th *ngIf=\"hasCheckboxes\" scope=\"col\" [class]=\"['align-top px-base py-xs', 'w-16', checkboxClasses] | makeHtmlList\">\n <span class=\"sr-only\">Seleccionar fila</span>\n </th>\n <th scope=\"col\" *ngFor=\"let item of getHeaderCells(); index as iHeader\" [id]=\"getIdHeader(iHeader)\"\n [attr.aria-sort]=\"item.orderBy ? getStringOrderBy(item.orderBy) : null\"\n [class]=\"['align-top px-base py-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\"\n [attr.colspan]=\"item.colspan ? item.colspan : null\"\n [attr.rowspan]=\"item.rowspan ? item.rowspan : null\"\n [desyAppAccessibility]=\"item\">\n\n <span *ngIf=\"item.orderBy\" class=\"inline-block relative\" (click)=\"handleSortByColumn(iHeader,$event)\" (keydown.enter)=\"handleSortByColumn(iHeader,$event)\" (keydown.space)=\"handleSortByColumn(iHeader,$event)\" desyFocusClickedCell\n [attr.tabindex]=\"item.orderBy ? -1 : null\"\n [attr.role]=\"item.orderBy ? 'button' : null\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n <span class=\"c-table-advanced__order\" *ngIf=\"item.orderBy\">\n <span class=\"sr-only\">Pulsa para ordenar por esta columna</span>\n <span class=\"c-table-advanced__ascending\" *ngIf=\"item.orderBy === orderByType.asc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M112.07 37.93l-35-35a10 10 0 00-14.14 0l-35 35a10 10 0 0014.14 14.14l13.66-13.66A2.5 2.5 0 0160 40.18V130a10 10 0 0020 0V40.18a2.5 2.5 0 014.27-1.77l13.66 13.66a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__descending\" *ngIf=\"item.orderBy === orderByType.desc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M27.93 102.07l35 35a10 10 0 0014.14 0l35-35a10 10 0 00-14.14-14.14l-13.66 13.66A2.5 2.5 0 0180 99.82V10a10 10 0 00-20 0v89.82a2.5 2.5 0 01-4.27 1.77L42.07 87.93a10 10 0 00-14.14 14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__none\" *ngIf=\"item.orderBy === orderByType.none\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"text-neutral-dark\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M94.7 97.2l-17.2 17.19V25.61L94.7 42.8a7.5 7.5 0 0010.6-10.6l-30-30a7.49 7.49 0 00-10.6 0l-30 30a7.5 7.5 0 0010.6 10.6l17.2-17.19v88.78L45.3 97.2a7.5 7.5 0 10-10.6 10.6l30 30a7.48 7.48 0 0010.6 0l30-30a7.5 7.5 0 00-10.6-10.6z\" fill=\"currentColor\"/></svg>\n </span>\n </span>\n </span>\n\n <span *ngIf=\"!item.orderBy\" class=\"inline-block relative\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n </span>\n </th>\n </tr>\n </thead>\n\n <tbody>\n <tr class=\"divide-x divide-neutral-base\" *ngIf=\"hasFilters()\">\n <td *ngIf=\"hasCheckboxes\" [ngClass]=\"checkboxClasses\"></td>\n <td tabindex=\"-1\" *ngFor=\"let item of getHeaderCells(); index as iHead\" desyFocusClickedCell\n [class]=\"['align-top px-base pb-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\">\n <ng-container *ngIf=\"item.hasSelect && getSelectForItem(item) !== null\">\n <ng-container *ngTemplateOutlet=\"tableSelect; context: {selectable: getSelectForItem(item)}\"></ng-container>\n <ng-template #tableSelect let-selectable=\"selectable\">\n <desy-select [id]=\"getIdHeaderSelect(iHead)\"\n [labelData]=\"{ text: 'Filtrar por esta columna', classes: 'sr-only' }\"\n [classes]=\"selectable.classes ? selectable.classes : 'c-select--sm w-full'\"\n [formGroupClasses]=\"selectable.formGroupClasses ? selectable.formGroupClasses : '-mt-sm mb-0'\"\n [name]=\"selectable.name\"\n [items]=\"getItemSelectOptions(selectable)\"\n [disabled]=\"selectable.disabled\"\n [describedBy]=\"getIdHeaderSelect(iHead)\"\n\n [(ngModel)]=\"item.valueSelect\" (ngModelChange)=\"handleInputSearch(item)\"\n\n [role]=\"selectable.role\"\n [ariaLabel]=\"selectable.ariaLabel\"\n [ariaDescribedBy]=\"selectable.ariaDescribedBy\"\n [ariaLabelledBy]=\"selectable.ariaLabelledBy\"\n [ariaHidden]=\"selectable.ariaHidden\"\n [ariaDisabled]=\"selectable.ariaDisabled\"\n [ariaControls]=\"selectable.ariaControls\"\n [ariaCurrent]=\"selectable.ariaCurrent\"\n [ariaLive]=\"selectable.ariaLive\"\n [ariaExpanded]=\"selectable.ariaExpanded\"\n [ariaErrorMessage]=\"selectable.ariaErrorMessage\"\n [ariaHasPopup]=\"selectable.ariaHasPopup\"\n [tabindex]=\"selectable.tabindex\">\n </desy-select>\n </ng-template>\n </ng-container>\n\n <div *ngIf=\"item.hasSelect && item.hasFilter\" class=\"pb-sm\"></div>\n\n <desy-search-bar *ngIf=\"item.hasFilter\"\n [(ngModel)]=\"item.valueFilter\" [ngModelOptions]=\"{standalone: true}\"\n (clickEvent)=\"handleInputSearch(item)\"\n (ngModelChange)=\"handleInputSearch(item)\"\n labelText=\"Buscar en esta columna\"\n [id]=\"getIdHeaderFilter(iHead)\"\n placeholder=\"Buscar\"\n [classes]=\"['c-input--sm', item.filterClasses] | makeHtmlList\"\n buttonClasses=\"m-xs p-0.5 text-xs\"\n [describedBy]=\"getIdHeader(iHead)\"> </desy-search-bar>\n </td>\n </tr>\n\n\n <tr *ngFor=\"let row of getVisibleRows(); index as iRow\" class=\"border-t border-b border-neutral-base hover:bg-neutral-lighter\"\n [desyRow]=\"row\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\" >\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"row.checked\" (ngModelChange)=\"handleCheckboxChange(row)\"\n [id]=\"getIdRowCheckbox(iRow)\"\n [name]=\"getIdRowCheckbox(iRow)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iRow)\">Selecciona fila {{ iRow }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of row.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tbody>\n \n <tfoot *ngIf=\"getFooterCells()\">\n <tr *ngFor=\"let foot of getFooterCells(); index as iFooter\" class=\"border-t-2 border-b border-neutral-base hover:bg-neutral-lighter\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\">\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"foot.checked\" (ngModelChange)=\"handleCheckboxChange(foot)\"\n [id]=\"getIdRowCheckbox(iFooter)\"\n [name]=\"getIdRowCheckbox(iFooter)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iFooter)\">Selecciona fila {{ iFooter }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of foot.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tfoot>\n </table>\n</ng-template>\n\n<div *ngIf=\"wrapper; else tableContent\" [class]=\"wrapper.classes\">\n <ng-container *ngTemplateOutlet=\"tableContent\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: SelectComponent, selector: "desy-select", inputs: ["name", "items", "describedBy", "formGroupClasses", "classes"] }, { kind: "component", type: SearchBarComponent, selector: "desy-search-bar", inputs: ["describedBy", "classes", "buttonClasses", "placeholder"], outputs: ["clickEvent"] }, { kind: "directive", type: FocusClickedCellDirective, selector: "[desyFocusClickedCell]" }, { kind: "directive", type: CellDirective, selector: "[desyCell]", inputs: ["row", "rowIndex", "columnIndex"] }, { kind: "directive", type: RowDirective, selector: "[desyRow]", inputs: ["desyRow"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
10818
11035
|
}
|
|
10819
11036
|
__decorate([
|
|
10820
11037
|
DesyContentChild(),
|
|
@@ -10826,7 +11043,7 @@ __decorate([
|
|
|
10826
11043
|
], TableAdvancedComponent.prototype, "headerComponent", void 0);
|
|
10827
11044
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableAdvancedComponent, decorators: [{
|
|
10828
11045
|
type: Component,
|
|
10829
|
-
args: [{ selector: 'desy-table-advanced', template: "<ng-template #tableContent>\n <table role=\"grid\"\n [class]=\"['c-table-advanced border-t-2 border-b-2 border-neutral-base', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"getHeaderCells()\">\n <tr class=\"border-t border-neutral-base divide-x divide-neutral-base\">\n <th *ngIf=\"hasCheckboxes\" scope=\"col\" [class]=\"['align-top px-base py-xs', 'w-16', checkboxClasses] | makeHtmlList\">\n <span class=\"sr-only\">Seleccionar fila</span>\n </th>\n <th scope=\"col\" *ngFor=\"let item of getHeaderCells(); index as iHeader\" [id]=\"getIdHeader(iHeader)\"\n [attr.aria-sort]=\"item.orderBy ? getStringOrderBy(item.orderBy) : null\"\n [class]=\"['align-top px-base py-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\"\n [attr.colspan]=\"item.colspan ? item.colspan : null\"\n [attr.rowspan]=\"item.rowspan ? item.rowspan : null\"\n [desyAppAccessibility]=\"item\">\n\n <span *ngIf=\"item.orderBy\" class=\"inline-block relative\" (click)=\"handleSortByColumn(iHeader)\" (keydown.enter)=\"handleSortByColumn(iHeader)\" (keydown.space)=\"handleSortByColumn(iHeader)\" desyFocusClickedCell\n [attr.tabindex]=\"item.orderBy ? -1 : null\"\n [attr.role]=\"item.orderBy ? 'button' : null\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n <span class=\"c-table-advanced__order\" *ngIf=\"item.orderBy\">\n <span class=\"sr-only\">Pulsa para ordenar por esta columna</span>\n <span class=\"c-table-advanced__ascending\" *ngIf=\"item.orderBy === orderByType.asc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M112.07 37.93l-35-35a10 10 0 00-14.14 0l-35 35a10 10 0 0014.14 14.14l13.66-13.66A2.5 2.5 0 0160 40.18V130a10 10 0 0020 0V40.18a2.5 2.5 0 014.27-1.77l13.66 13.66a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__descending\" *ngIf=\"item.orderBy === orderByType.desc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M27.93 102.07l35 35a10 10 0 0014.14 0l35-35a10 10 0 00-14.14-14.14l-13.66 13.66A2.5 2.5 0 0180 99.82V10a10 10 0 00-20 0v89.82a2.5 2.5 0 01-4.27 1.77L42.07 87.93a10 10 0 00-14.14 14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__none\" *ngIf=\"item.orderBy === orderByType.none\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"text-neutral-dark\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M94.7 97.2l-17.2 17.19V25.61L94.7 42.8a7.5 7.5 0 0010.6-10.6l-30-30a7.49 7.49 0 00-10.6 0l-30 30a7.5 7.5 0 0010.6 10.6l17.2-17.19v88.78L45.3 97.2a7.5 7.5 0 10-10.6 10.6l30 30a7.48 7.48 0 0010.6 0l30-30a7.5 7.5 0 00-10.6-10.6z\" fill=\"currentColor\"/></svg>\n </span>\n </span>\n </span>\n\n <span *ngIf=\"!item.orderBy\" class=\"inline-block relative\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n </span>\n </th>\n </tr>\n </thead>\n\n <tbody>\n <tr class=\"divide-x divide-neutral-base\" *ngIf=\"hasFilters()\">\n <td *ngIf=\"hasCheckboxes\" [ngClass]=\"checkboxClasses\"></td>\n <td tabindex=\"-1\" *ngFor=\"let item of getHeaderCells(); index as iHead\" desyFocusClickedCell\n [class]=\"['align-top px-base pb-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\">\n <ng-container *ngIf=\"item.hasSelect && getSelectForItem(item) !== null\">\n <ng-container *ngTemplateOutlet=\"tableSelect; context: {selectable: getSelectForItem(item)}\"></ng-container>\n <ng-template #tableSelect let-selectable=\"selectable\">\n <desy-select [id]=\"getIdHeaderSelect(iHead)\"\n [labelData]=\"{ text: 'Filtrar por esta columna', classes: 'sr-only' }\"\n [classes]=\"selectable.classes ? selectable.classes : 'c-select--sm w-full'\"\n [formGroupClasses]=\"selectable.formGroupClasses ? selectable.formGroupClasses : '-mt-sm mb-0'\"\n [name]=\"selectable.name\"\n [items]=\"getItemSelectOptions(selectable)\"\n [disabled]=\"selectable.disabled\"\n [describedBy]=\"getIdHeaderSelect(iHead)\"\n\n [(ngModel)]=\"item.valueSelect\" (ngModelChange)=\"handleInputSearch(item)\"\n\n [role]=\"selectable.role\"\n [ariaLabel]=\"selectable.ariaLabel\"\n [ariaDescribedBy]=\"selectable.ariaDescribedBy\"\n [ariaLabelledBy]=\"selectable.ariaLabelledBy\"\n [ariaHidden]=\"selectable.ariaHidden\"\n [ariaDisabled]=\"selectable.ariaDisabled\"\n [ariaControls]=\"selectable.ariaControls\"\n [ariaCurrent]=\"selectable.ariaCurrent\"\n [ariaLive]=\"selectable.ariaLive\"\n [ariaExpanded]=\"selectable.ariaExpanded\"\n [ariaErrorMessage]=\"selectable.ariaErrorMessage\"\n [ariaHasPopup]=\"selectable.ariaHasPopup\"\n [tabindex]=\"selectable.tabindex\">\n </desy-select>\n </ng-template>\n </ng-container>\n\n <div *ngIf=\"item.hasSelect && item.hasFilter\" class=\"pb-sm\"></div>\n\n <desy-search-bar *ngIf=\"item.hasFilter\"\n [(ngModel)]=\"item.valueFilter\" [ngModelOptions]=\"{standalone: true}\"\n (clickEvent)=\"handleInputSearch(item)\"\n (ngModelChange)=\"handleInputSearch(item)\"\n labelText=\"Buscar en esta columna\"\n [id]=\"getIdHeaderFilter(iHead)\"\n placeholder=\"Buscar\"\n [classes]=\"['c-input--sm', item.filterClasses] | makeHtmlList\"\n buttonClasses=\"m-xs p-0.5 text-xs\"\n [describedBy]=\"getIdHeader(iHead)\"> </desy-search-bar>\n </td>\n </tr>\n\n\n <tr *ngFor=\"let row of getVisibleRows(); index as iRow\" class=\"border-t border-b border-neutral-base hover:bg-neutral-lighter\"\n [desyRow]=\"row\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\" >\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"row.checked\" (ngModelChange)=\"handleCheckboxChange(row)\"\n [id]=\"getIdRowCheckbox(iRow)\"\n [name]=\"getIdRowCheckbox(iRow)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iRow)\">Selecciona fila {{ iRow }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of row.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tbody>\n \n <tfoot *ngIf=\"getFooterCells()\">\n <tr *ngFor=\"let foot of getFooterCells(); index as iFooter\" class=\"border-t-2 border-b border-neutral-base hover:bg-neutral-lighter\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\">\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"foot.checked\" (ngModelChange)=\"handleCheckboxChange(foot)\"\n [id]=\"getIdRowCheckbox(iFooter)\"\n [name]=\"getIdRowCheckbox(iFooter)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iFooter)\">Selecciona fila {{ iFooter }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of foot.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tfoot>\n </table>\n</ng-template>\n\n<div *ngIf=\"wrapper; else tableContent\" [class]=\"wrapper.classes\">\n <ng-container *ngTemplateOutlet=\"tableContent\"></ng-container>\n</div>\n" }]
|
|
11046
|
+
args: [{ selector: 'desy-table-advanced', template: "<ng-template #tableContent>\n <table role=\"grid\"\n [class]=\"['c-table-advanced border-t-2 border-b-2 border-neutral-base', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"getHeaderCells()\">\n <tr class=\"border-t border-neutral-base divide-x divide-neutral-base\">\n <th *ngIf=\"hasCheckboxes\" scope=\"col\" [class]=\"['align-top px-base py-xs', 'w-16', checkboxClasses] | makeHtmlList\">\n <span class=\"sr-only\">Seleccionar fila</span>\n </th>\n <th scope=\"col\" *ngFor=\"let item of getHeaderCells(); index as iHeader\" [id]=\"getIdHeader(iHeader)\"\n [attr.aria-sort]=\"item.orderBy ? getStringOrderBy(item.orderBy) : null\"\n [class]=\"['align-top px-base py-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\"\n [attr.colspan]=\"item.colspan ? item.colspan : null\"\n [attr.rowspan]=\"item.rowspan ? item.rowspan : null\"\n [desyAppAccessibility]=\"item\">\n\n <span *ngIf=\"item.orderBy\" class=\"inline-block relative\" (click)=\"handleSortByColumn(iHeader,$event)\" (keydown.enter)=\"handleSortByColumn(iHeader,$event)\" (keydown.space)=\"handleSortByColumn(iHeader,$event)\" desyFocusClickedCell\n [attr.tabindex]=\"item.orderBy ? -1 : null\"\n [attr.role]=\"item.orderBy ? 'button' : null\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n <span class=\"c-table-advanced__order\" *ngIf=\"item.orderBy\">\n <span class=\"sr-only\">Pulsa para ordenar por esta columna</span>\n <span class=\"c-table-advanced__ascending\" *ngIf=\"item.orderBy === orderByType.asc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M112.07 37.93l-35-35a10 10 0 00-14.14 0l-35 35a10 10 0 0014.14 14.14l13.66-13.66A2.5 2.5 0 0160 40.18V130a10 10 0 0020 0V40.18a2.5 2.5 0 014.27-1.77l13.66 13.66a10 10 0 0014.14-14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__descending\" *ngIf=\"item.orderBy === orderByType.desc\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M27.93 102.07l35 35a10 10 0 0014.14 0l35-35a10 10 0 00-14.14-14.14l-13.66 13.66A2.5 2.5 0 0180 99.82V10a10 10 0 00-20 0v89.82a2.5 2.5 0 01-4.27 1.77L42.07 87.93a10 10 0 00-14.14 14.14z\" fill=\"currentColor\"/></svg>\n </span>\n <span class=\"c-table-advanced__none\" *ngIf=\"item.orderBy === orderByType.none\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 140 140\" class=\"text-neutral-dark\" aria-hidden=\"true\" width=\"1em\" height=\"1em\"><path d=\"M94.7 97.2l-17.2 17.19V25.61L94.7 42.8a7.5 7.5 0 0010.6-10.6l-30-30a7.49 7.49 0 00-10.6 0l-30 30a7.5 7.5 0 0010.6 10.6l17.2-17.19v88.78L45.3 97.2a7.5 7.5 0 10-10.6 10.6l30 30a7.48 7.48 0 0010.6 0l30-30a7.5 7.5 0 00-10.6-10.6z\" fill=\"currentColor\"/></svg>\n </span>\n </span>\n </span>\n\n <span *ngIf=\"!item.orderBy\" class=\"inline-block relative\">\n <ng-container *ngIf=\"item.text\">{{item.text}}</ng-container>\n <ng-container *ngIf=\"item.contentComponent\">\n <ng-container *desyCustomInnerContent=\"{ component: item.contentComponent }\"></ng-container>\n </ng-container>\n </span>\n </th>\n </tr>\n </thead>\n\n <tbody>\n <tr class=\"divide-x divide-neutral-base\" *ngIf=\"hasFilters()\">\n <td *ngIf=\"hasCheckboxes\" [ngClass]=\"checkboxClasses\"></td>\n <td tabindex=\"-1\" *ngFor=\"let item of getHeaderCells(); index as iHead\" desyFocusClickedCell\n [class]=\"['align-top px-base pb-sm border-neutral-base border-b-0 text-left text-sm font-normal text-neutral-dark', item.classes] | makeHtmlList\">\n <ng-container *ngIf=\"item.hasSelect && getSelectForItem(item) !== null\">\n <ng-container *ngTemplateOutlet=\"tableSelect; context: {selectable: getSelectForItem(item)}\"></ng-container>\n <ng-template #tableSelect let-selectable=\"selectable\">\n <desy-select [id]=\"getIdHeaderSelect(iHead)\"\n [labelData]=\"{ text: 'Filtrar por esta columna', classes: 'sr-only' }\"\n [classes]=\"selectable.classes ? selectable.classes : 'c-select--sm w-full'\"\n [formGroupClasses]=\"selectable.formGroupClasses ? selectable.formGroupClasses : '-mt-sm mb-0'\"\n [name]=\"selectable.name\"\n [items]=\"getItemSelectOptions(selectable)\"\n [disabled]=\"selectable.disabled\"\n [describedBy]=\"getIdHeaderSelect(iHead)\"\n\n [(ngModel)]=\"item.valueSelect\" (ngModelChange)=\"handleInputSearch(item)\"\n\n [role]=\"selectable.role\"\n [ariaLabel]=\"selectable.ariaLabel\"\n [ariaDescribedBy]=\"selectable.ariaDescribedBy\"\n [ariaLabelledBy]=\"selectable.ariaLabelledBy\"\n [ariaHidden]=\"selectable.ariaHidden\"\n [ariaDisabled]=\"selectable.ariaDisabled\"\n [ariaControls]=\"selectable.ariaControls\"\n [ariaCurrent]=\"selectable.ariaCurrent\"\n [ariaLive]=\"selectable.ariaLive\"\n [ariaExpanded]=\"selectable.ariaExpanded\"\n [ariaErrorMessage]=\"selectable.ariaErrorMessage\"\n [ariaHasPopup]=\"selectable.ariaHasPopup\"\n [tabindex]=\"selectable.tabindex\">\n </desy-select>\n </ng-template>\n </ng-container>\n\n <div *ngIf=\"item.hasSelect && item.hasFilter\" class=\"pb-sm\"></div>\n\n <desy-search-bar *ngIf=\"item.hasFilter\"\n [(ngModel)]=\"item.valueFilter\" [ngModelOptions]=\"{standalone: true}\"\n (clickEvent)=\"handleInputSearch(item)\"\n (ngModelChange)=\"handleInputSearch(item)\"\n labelText=\"Buscar en esta columna\"\n [id]=\"getIdHeaderFilter(iHead)\"\n placeholder=\"Buscar\"\n [classes]=\"['c-input--sm', item.filterClasses] | makeHtmlList\"\n buttonClasses=\"m-xs p-0.5 text-xs\"\n [describedBy]=\"getIdHeader(iHead)\"> </desy-search-bar>\n </td>\n </tr>\n\n\n <tr *ngFor=\"let row of getVisibleRows(); index as iRow\" class=\"border-t border-b border-neutral-base hover:bg-neutral-lighter\"\n [desyRow]=\"row\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\" >\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"row.checked\" (ngModelChange)=\"handleCheckboxChange(row)\"\n [id]=\"getIdRowCheckbox(iRow)\"\n [name]=\"getIdRowCheckbox(iRow)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iRow)\">Selecciona fila {{ iRow }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of row.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iRow\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tbody>\n \n <tfoot *ngIf=\"getFooterCells()\">\n <tr *ngFor=\"let foot of getFooterCells(); index as iFooter\" class=\"border-t-2 border-b border-neutral-base hover:bg-neutral-lighter\">\n <td *ngIf=\"hasCheckboxes\" desyFocusClickedCell [class]=\"['px-base py-sm', checkboxClasses] | makeHtmlList\"\n tabindex=\"-1\">\n <div class=\"c-checkboxes c-checkboxes--sm\">\n <div>\n <div class=\"relative flex items-start\">\n <div class=\"flex items-center mx-sm\">\n <input type=\"checkbox\" class=\"w-6 h-6 transition duration-150 ease-in-out border-black focus:border-black focus:shadow-outline-focus-input focus:ring-4 focus:ring-offset-0 focus:ring-warning-base disabled:bg-neutral-light disabled:border-neutral-base text-primary-base\"\n [(ngModel)]=\"foot.checked\" (ngModelChange)=\"handleCheckboxChange(foot)\"\n [id]=\"getIdRowCheckbox(iFooter)\"\n [name]=\"getIdRowCheckbox(iFooter)\">\n </div>\n <div class=\"pt-0.5 leading-5\">\n <label class=\"sr-only block text-sm -mt-1\" [for]=\"getIdRowCheckbox(iFooter)\">Selecciona fila {{ iFooter }}</label>\n </div>\n </div>\n </div>\n </div>\n </td>\n <ng-container *ngFor=\"let cell of foot.cellsList; first as isFirstCell; index as columnIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirstCell; else elseTd\" scope=\"row\"\n [class]=\"['px-base py-xs border-neutral-base border-b-0 border-r text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td tabindex=\"-1\" desyFocusClickedCell\n [class]=\"['px-base py-sm', cell.classes] | makeHtmlList\"\n desyCell [row]=\"row\" [rowIndex]=\"iFooter\" [columnIndex]=\"columnIndex\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [desyAppAccessibility]=\"cell\"\n [attr.tabindex]=\"cell.tabindex ? cell.tabindex : -1\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tfoot>\n </table>\n</ng-template>\n\n<div *ngIf=\"wrapper; else tableContent\" [class]=\"wrapper.classes\">\n <ng-container *ngTemplateOutlet=\"tableContent\"></ng-container>\n</div>\n" }]
|
|
10830
11047
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { rows: [{
|
|
10831
11048
|
type: Input
|
|
10832
11049
|
}], head: [{
|
|
@@ -10940,6 +11157,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10940
11157
|
}] } });
|
|
10941
11158
|
|
|
10942
11159
|
class TableComponent extends AccessibilityComponent {
|
|
11160
|
+
constructor() {
|
|
11161
|
+
super(...arguments);
|
|
11162
|
+
this.extractedTexts = [];
|
|
11163
|
+
}
|
|
11164
|
+
handleContentExtracted(extractedText) {
|
|
11165
|
+
this.extractedTexts.push(extractedText);
|
|
11166
|
+
}
|
|
10943
11167
|
getCaptionClass() {
|
|
10944
11168
|
return this.captionComponent ? this.captionComponent.classes : this.captionClasses;
|
|
10945
11169
|
}
|
|
@@ -10961,6 +11185,7 @@ class TableComponent extends AccessibilityComponent {
|
|
|
10961
11185
|
else if (this.foot) {
|
|
10962
11186
|
footCells = this.foot;
|
|
10963
11187
|
}
|
|
11188
|
+
this.assignExtractedTextsToCells(footCells);
|
|
10964
11189
|
return footCells;
|
|
10965
11190
|
}
|
|
10966
11191
|
getRows() {
|
|
@@ -10974,10 +11199,22 @@ class TableComponent extends AccessibilityComponent {
|
|
|
10974
11199
|
return rowList;
|
|
10975
11200
|
}
|
|
10976
11201
|
getRowCells(row) {
|
|
10977
|
-
|
|
11202
|
+
const cells = row instanceof TableRowComponent ? row.cells.toArray() : row;
|
|
11203
|
+
this.assignExtractedTextsToCells(cells);
|
|
11204
|
+
return cells;
|
|
11205
|
+
}
|
|
11206
|
+
assignExtractedTextsToCells(cells) {
|
|
11207
|
+
let textIndex = 0;
|
|
11208
|
+
cells.forEach(cell => {
|
|
11209
|
+
if (this.extractedTexts[textIndex]) {
|
|
11210
|
+
cell.header = this.extractedTexts[textIndex];
|
|
11211
|
+
}
|
|
11212
|
+
const colspan = cell.colspan || 1;
|
|
11213
|
+
textIndex += colspan;
|
|
11214
|
+
});
|
|
10978
11215
|
}
|
|
10979
11216
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10980
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableComponent, selector: "desy-table", inputs: { rows: "rows", head: "head", foot: "foot", caption: "caption", captionClasses: "captionClasses", firstCellIsHeader: "firstCellIsHeader", classes: "classes", id: "id", wrapper: "wrapper" }, queries: [{ propertyName: "captionComponent", predicate: TableCaptionComponent }, { propertyName: "headerComponent", predicate: TableHeaderComponent }, { propertyName: "footerComponent", predicate: TableFooterComponent }, { propertyName: "rowComponentList", predicate: TableRowComponent }], usesInheritance: true, ngImport: i0, template: "<ng-template #tableContent>\n <table [class]=\"['c-table', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"head || headerComponent\">\n <tr class=\"border-t border-b border-neutral-base\">\n <ng-container *ngFor=\"let headerCell of getHeaderCells()\">\n <th scope=\"col\"\n [class]=\"['align-top px-base py-sm text-left font-normal text-sm text-neutral-dark', headerCell.classes] | makeHtmlList\"\n [attr.colspan]=\"(headerCell.colspan ? headerCell.colspan : null)\"\n [attr.rowspan]=\"(headerCell.rowspan ? headerCell.rowspan : null)\"\n [attr.id]=\"headerCell.id ? headerCell.id : null\"\n [desyAppAccessibility]=\"headerCell\">\n
|
|
11217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableComponent, selector: "desy-table", inputs: { rows: "rows", head: "head", foot: "foot", caption: "caption", captionClasses: "captionClasses", firstCellIsHeader: "firstCellIsHeader", classes: "classes", id: "id", wrapper: "wrapper" }, queries: [{ propertyName: "captionComponent", predicate: TableCaptionComponent }, { propertyName: "headerComponent", predicate: TableHeaderComponent }, { propertyName: "footerComponent", predicate: TableFooterComponent }, { propertyName: "rowComponentList", predicate: TableRowComponent }], usesInheritance: true, ngImport: i0, template: "<ng-template #tableContent>\n <table [class]=\"['c-table', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"head || headerComponent\" class=\"sr-only lg:not-sr-only\">\n <tr class=\"border-t border-b border-neutral-base\">\n <ng-container *ngFor=\"let headerCell of getHeaderCells()\">\n <th scope=\"col\"\n [class]=\"['align-top px-base py-sm text-left font-normal text-sm text-neutral-dark', headerCell.classes] | makeHtmlList\"\n [attr.colspan]=\"(headerCell.colspan ? headerCell.colspan : null)\"\n [attr.rowspan]=\"(headerCell.rowspan ? headerCell.rowspan : null)\"\n [attr.id]=\"headerCell.id ? headerCell.id : null\"\n [desyAppAccessibility]=\"headerCell\">\n <ng-container *desyCustomInnerContent=\"{ component: headerCell, html: headerCell.html, text: headerCell.text, parentComponent: this }\"></ng-container>\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let row of getRows(); index as rowIndex\" class=\"block lg:table-row -mb-px lg:mb-0 text-left border-t border-b border-neutral-base\">\n <ng-container *ngFor=\"let cell of getRowCells(row); first as isFirst; index as cellIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirst; else elseTd\" scope=\"row\"\n [class]=\"['block lg:table-cell before:block before:text-neutral-dark before:lg:hidden before:content-[attr(data-label)] before:text-sm align-top px-base py-sm text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [attr.data-label]=\"cell.header\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td [class]=\"['block lg:table-cell text-left before:block before:text-neutral-dark before:lg:hidden before:content-[attr(data-label)] before:text-sm px-base py-sm', cell.classes] | makeHtmlList\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [attr.data-label]=\"cell.header\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tbody>\n <tfoot *ngIf=\"foot || footerComponent\">\n <tr class=\"border-t-2 border-b border-neutral-base\">\n <ng-container *ngFor=\"let footCell of getFooterCells()\">\n <td scope=\"col\"\n [class]=\"['block lg:table-cell text-left before:block before:text-neutral-dark before:lg:hidden before:content-[attr(data-label)] before:text-sm px-base py-sm', footCell.classes] | makeHtmlList\"\n [attr.colspan]=\"(footCell.colspan ? footCell.colspan : null)\"\n [attr.rowspan]=\"(footCell.rowspan ? footCell.rowspan : null)\"\n [attr.id]=\"footCell.id ? footCell.id : null\"\n [attr.data-label]=\"footCell.header\"\n [desyAppAccessibility]=\"footCell\">\n <ng-container *desyCustomInnerContent=\"{ component: footCell, html: footCell.html, text: footCell.text }\"></ng-container>\n </td>\n </ng-container>\n </tr>\n </tfoot>\n </table>\n</ng-template>\n\n<div *ngIf=\"wrapper; else tableContent\" [class]=\"wrapper.classes\">\n <ng-container *ngTemplateOutlet=\"tableContent\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
10981
11218
|
}
|
|
10982
11219
|
__decorate([
|
|
10983
11220
|
DesyContentChild(),
|
|
@@ -10993,7 +11230,7 @@ __decorate([
|
|
|
10993
11230
|
], TableComponent.prototype, "footerComponent", void 0);
|
|
10994
11231
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableComponent, decorators: [{
|
|
10995
11232
|
type: Component,
|
|
10996
|
-
args: [{ selector: 'desy-table', template: "<ng-template #tableContent>\n <table [class]=\"['c-table', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"head || headerComponent\">\n <tr class=\"border-t border-b border-neutral-base\">\n <ng-container *ngFor=\"let headerCell of getHeaderCells()\">\n <th scope=\"col\"\n [class]=\"['align-top px-base py-sm text-left font-normal text-sm text-neutral-dark', headerCell.classes] | makeHtmlList\"\n [attr.colspan]=\"(headerCell.colspan ? headerCell.colspan : null)\"\n [attr.rowspan]=\"(headerCell.rowspan ? headerCell.rowspan : null)\"\n [attr.id]=\"headerCell.id ? headerCell.id : null\"\n [desyAppAccessibility]=\"headerCell\">\n
|
|
11233
|
+
args: [{ selector: 'desy-table', template: "<ng-template #tableContent>\n <table [class]=\"['c-table', classes] | makeHtmlList\"\n [attr.id]=\"id ? id : null\"\n [desyAppAccessibility]=\"this\">\n <caption *ngIf=\"caption || captionComponent\" [class]=\"getCaptionClass()\">\n <ng-container *desyCustomInnerContent=\"{ component: captionComponent, text: caption ? caption : null }\"></ng-container>\n </caption>\n <thead *ngIf=\"head || headerComponent\" class=\"sr-only lg:not-sr-only\">\n <tr class=\"border-t border-b border-neutral-base\">\n <ng-container *ngFor=\"let headerCell of getHeaderCells()\">\n <th scope=\"col\"\n [class]=\"['align-top px-base py-sm text-left font-normal text-sm text-neutral-dark', headerCell.classes] | makeHtmlList\"\n [attr.colspan]=\"(headerCell.colspan ? headerCell.colspan : null)\"\n [attr.rowspan]=\"(headerCell.rowspan ? headerCell.rowspan : null)\"\n [attr.id]=\"headerCell.id ? headerCell.id : null\"\n [desyAppAccessibility]=\"headerCell\">\n <ng-container *desyCustomInnerContent=\"{ component: headerCell, html: headerCell.html, text: headerCell.text, parentComponent: this }\"></ng-container>\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let row of getRows(); index as rowIndex\" class=\"block lg:table-row -mb-px lg:mb-0 text-left border-t border-b border-neutral-base\">\n <ng-container *ngFor=\"let cell of getRowCells(row); first as isFirst; index as cellIndex\">\n <th *ngIf=\"firstCellIsHeader && isFirst; else elseTd\" scope=\"row\"\n [class]=\"['block lg:table-cell before:block before:text-neutral-dark before:lg:hidden before:content-[attr(data-label)] before:text-sm align-top px-base py-sm text-left font-normal text-sm text-neutral-dark', cell.classes] | makeHtmlList\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [attr.data-label]=\"cell.header\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </th>\n <ng-template #elseTd>\n <td [class]=\"['block lg:table-cell text-left before:block before:text-neutral-dark before:lg:hidden before:content-[attr(data-label)] before:text-sm px-base py-sm', cell.classes] | makeHtmlList\"\n [attr.colspan]=\"cell.colspan ? cell.colspan : null\"\n [attr.rowspan]=\"cell.rowspan ? cell.rowspan : null\"\n [attr.id]=\"cell.id ? cell.id : null\"\n [attr.data-label]=\"cell.header\"\n [desyAppAccessibility]=\"cell\">\n <ng-container *desyCustomInnerContent=\"{ component: cell, html: cell.html, text: cell.text }\"></ng-container>\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </tbody>\n <tfoot *ngIf=\"foot || footerComponent\">\n <tr class=\"border-t-2 border-b border-neutral-base\">\n <ng-container *ngFor=\"let footCell of getFooterCells()\">\n <td scope=\"col\"\n [class]=\"['block lg:table-cell text-left before:block before:text-neutral-dark before:lg:hidden before:content-[attr(data-label)] before:text-sm px-base py-sm', footCell.classes] | makeHtmlList\"\n [attr.colspan]=\"(footCell.colspan ? footCell.colspan : null)\"\n [attr.rowspan]=\"(footCell.rowspan ? footCell.rowspan : null)\"\n [attr.id]=\"footCell.id ? footCell.id : null\"\n [attr.data-label]=\"footCell.header\"\n [desyAppAccessibility]=\"footCell\">\n <ng-container *desyCustomInnerContent=\"{ component: footCell, html: footCell.html, text: footCell.text }\"></ng-container>\n </td>\n </ng-container>\n </tr>\n </tfoot>\n </table>\n</ng-template>\n\n<div *ngIf=\"wrapper; else tableContent\" [class]=\"wrapper.classes\">\n <ng-container *ngTemplateOutlet=\"tableContent\"></ng-container>\n</div>\n" }]
|
|
10997
11234
|
}], propDecorators: { rows: [{
|
|
10998
11235
|
type: Input
|
|
10999
11236
|
}], head: [{
|
|
@@ -11828,7 +12065,7 @@ class CollapsibleComponent extends AccessibilityAndContentRequiredComponent {
|
|
|
11828
12065
|
this.toggleOpen();
|
|
11829
12066
|
}
|
|
11830
12067
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollapsibleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11831
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CollapsibleComponent, selector: "desy-collapsible", inputs: { headerText: "headerText", headerHtml: "headerHtml", id: "id", open: "open", classes: "classes" }, queries: [{ propertyName: "contentComponent", predicate: ContentComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [class]=\"(classes ? classes : '-my-px py-sm border-t border-b border-neutral-base')\"\n [desyAppAccessibility]=\"this\">\n <button *ngIf=\"headerText && !headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n
|
|
12068
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CollapsibleComponent, selector: "desy-collapsible", inputs: { headerText: "headerText", headerHtml: "headerHtml", id: "id", open: "open", classes: "classes", buttonClasses: "buttonClasses", showClasses: "showClasses", hideClasses: "hideClasses", contentClasses: "contentClasses" }, queries: [{ propertyName: "contentComponent", predicate: ContentComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [class]=\"(classes ? classes : '-my-px py-sm border-t border-b border-neutral-base')\"\n [desyAppAccessibility]=\"this\">\n <button *ngIf=\"headerText && !headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n [ngClass]=\"buttonClasses ? buttonClasses : 'group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black'\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\">{{ headerText }}\n <span [ngClass]=\"open && hideClasses ? hideClasses : showClasses && !open ? showClasses: 'absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none'\" aria-hidden=\"true\">{{show}}</span>\n </button>\n <button *ngIf=\"headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n [ngClass]=\"buttonClasses ? buttonClasses : 'group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black'\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\"><ng-container *ngTemplateOutlet=\"tmpHtml\"></ng-container>\n <span [ngClass]=\"open && hideClasses ? hideClasses : showClasses && !open ? showClasses: 'absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none'\" aria-hidden=\"true\">{{show}}</span>\n </button>\n <button *ngIf=\"!headerHtml && !headerText\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n [ngClass]=\"buttonClasses ? buttonClasses : 'group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black'\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\">\n <ng-content></ng-content>\n <span [ngClass]=\"open && hideClasses ? hideClasses : showClasses && !open ? showClasses: 'absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none'\" aria-hidden=\"true\">{{show}}</span>\n </button>\n \n <div *ngIf=\"open && !html && !text\" [attr.id]=\"(id ? id : null)\" [ngClass]=\"contentClasses ? contentClasses : 'py-sm'\">\n <ng-container *desyCustomInnerContent=\"{ component: contentComponent }\"></ng-container>\n </div>\n <div *ngIf=\"open && html\" [attr.id]=\"(id ? id : null)\" [ngClass]=\"contentClasses ? contentClasses : 'py-sm'\">\n <ng-container *ngTemplateOutlet=\"htmlTemplate\"></ng-container>\n </div>\n <div *ngIf=\"open && !html\" [attr.id]=\"(id ? id : null)\" [ngClass]=\"contentClasses ? contentClasses : 'py-sm'\">\n <p [desyInnerContent]=\"text\"></p>\n </div>\n</div>\n<ng-template #tmpHtml>\n <div [outerHTML]=\"headerHtml | innerHtml\"></div> \n </ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: InnerContentDirective, selector: "[desyInnerContent]", inputs: ["desyInnerContent", "isHtml", "deleteContentIfEmpty"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "pipe", type: InnerHtmlPipe, name: "innerHtml" }] }); }
|
|
11832
12069
|
}
|
|
11833
12070
|
__decorate([
|
|
11834
12071
|
DesyContentChild(),
|
|
@@ -11836,7 +12073,7 @@ __decorate([
|
|
|
11836
12073
|
], CollapsibleComponent.prototype, "contentComponent", void 0);
|
|
11837
12074
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollapsibleComponent, decorators: [{
|
|
11838
12075
|
type: Component,
|
|
11839
|
-
args: [{ selector: 'desy-collapsible', template: "<div [class]=\"(classes ? classes : '-my-px py-sm border-t border-b border-neutral-base')\"\n [desyAppAccessibility]=\"this\">\n <button *ngIf=\"headerText && !headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n
|
|
12076
|
+
args: [{ selector: 'desy-collapsible', template: "<div [class]=\"(classes ? classes : '-my-px py-sm border-t border-b border-neutral-base')\"\n [desyAppAccessibility]=\"this\">\n <button *ngIf=\"headerText && !headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n [ngClass]=\"buttonClasses ? buttonClasses : 'group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black'\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\">{{ headerText }}\n <span [ngClass]=\"open && hideClasses ? hideClasses : showClasses && !open ? showClasses: 'absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none'\" aria-hidden=\"true\">{{show}}</span>\n </button>\n <button *ngIf=\"headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n [ngClass]=\"buttonClasses ? buttonClasses : 'group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black'\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\"><ng-container *ngTemplateOutlet=\"tmpHtml\"></ng-container>\n <span [ngClass]=\"open && hideClasses ? hideClasses : showClasses && !open ? showClasses: 'absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none'\" aria-hidden=\"true\">{{show}}</span>\n </button>\n <button *ngIf=\"!headerHtml && !headerText\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n [ngClass]=\"buttonClasses ? buttonClasses : 'group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black'\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\">\n <ng-content></ng-content>\n <span [ngClass]=\"open && hideClasses ? hideClasses : showClasses && !open ? showClasses: 'absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none'\" aria-hidden=\"true\">{{show}}</span>\n </button>\n \n <div *ngIf=\"open && !html && !text\" [attr.id]=\"(id ? id : null)\" [ngClass]=\"contentClasses ? contentClasses : 'py-sm'\">\n <ng-container *desyCustomInnerContent=\"{ component: contentComponent }\"></ng-container>\n </div>\n <div *ngIf=\"open && html\" [attr.id]=\"(id ? id : null)\" [ngClass]=\"contentClasses ? contentClasses : 'py-sm'\">\n <ng-container *ngTemplateOutlet=\"htmlTemplate\"></ng-container>\n </div>\n <div *ngIf=\"open && !html\" [attr.id]=\"(id ? id : null)\" [ngClass]=\"contentClasses ? contentClasses : 'py-sm'\">\n <p [desyInnerContent]=\"text\"></p>\n </div>\n</div>\n<ng-template #tmpHtml>\n <div [outerHTML]=\"headerHtml | innerHtml\"></div> \n </ng-template>\n" }]
|
|
11840
12077
|
}], propDecorators: { headerText: [{
|
|
11841
12078
|
type: Input
|
|
11842
12079
|
}], headerHtml: [{
|
|
@@ -11847,6 +12084,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11847
12084
|
type: Input
|
|
11848
12085
|
}], classes: [{
|
|
11849
12086
|
type: Input
|
|
12087
|
+
}], buttonClasses: [{
|
|
12088
|
+
type: Input
|
|
12089
|
+
}], showClasses: [{
|
|
12090
|
+
type: Input
|
|
12091
|
+
}], hideClasses: [{
|
|
12092
|
+
type: Input
|
|
12093
|
+
}], contentClasses: [{
|
|
12094
|
+
type: Input
|
|
11850
12095
|
}], contentComponent: [{
|
|
11851
12096
|
type: ContentChildren,
|
|
11852
12097
|
args: [ContentComponent]
|
|
@@ -14338,12 +14583,13 @@ class PaginationComponent extends AccessibilityComponent {
|
|
|
14338
14583
|
const itemList = [];
|
|
14339
14584
|
for (let i = 0; i < this.nPages; i++) {
|
|
14340
14585
|
const item = {
|
|
14586
|
+
value: i + 1,
|
|
14341
14587
|
text: i + 1,
|
|
14342
|
-
|
|
14343
|
-
routerLink: []
|
|
14588
|
+
selected: ((i + 1) === this.currentPage)
|
|
14344
14589
|
};
|
|
14345
14590
|
itemList.push(item);
|
|
14346
14591
|
}
|
|
14592
|
+
this.value = this.currentPage;
|
|
14347
14593
|
this.items = itemList;
|
|
14348
14594
|
}
|
|
14349
14595
|
}
|
|
@@ -14361,7 +14607,8 @@ class PaginationComponent extends AccessibilityComponent {
|
|
|
14361
14607
|
}
|
|
14362
14608
|
for (let i = 0; i < this.items.length; i++) {
|
|
14363
14609
|
const item = this.items[i];
|
|
14364
|
-
item.
|
|
14610
|
+
item.selected = ((i + 1) === this.currentPage);
|
|
14611
|
+
this.value = this.currentPage;
|
|
14365
14612
|
}
|
|
14366
14613
|
}
|
|
14367
14614
|
previous() {
|
|
@@ -14384,16 +14631,12 @@ class PaginationComponent extends AccessibilityComponent {
|
|
|
14384
14631
|
this.changePage(this.nPages);
|
|
14385
14632
|
}
|
|
14386
14633
|
}
|
|
14387
|
-
getActiveItemText() {
|
|
14388
|
-
const activeItems = this.items.filter(item => item.active);
|
|
14389
|
-
return activeItems && activeItems.length > 0 ? activeItems[0].text : '';
|
|
14390
|
-
}
|
|
14391
14634
|
getListboxLabel() {
|
|
14392
14635
|
return this.listboxLabel ? this.listboxLabel : null;
|
|
14393
14636
|
}
|
|
14394
14637
|
changeItemsPerPage(event) {
|
|
14395
|
-
if (event
|
|
14396
|
-
let newValue = event
|
|
14638
|
+
if (event) {
|
|
14639
|
+
let newValue = event;
|
|
14397
14640
|
this.itemsPerPage = newValue;
|
|
14398
14641
|
this.checkChanges();
|
|
14399
14642
|
this.itemsPerPageChange.emit(newValue);
|
|
@@ -14402,7 +14645,7 @@ class PaginationComponent extends AccessibilityComponent {
|
|
|
14402
14645
|
}
|
|
14403
14646
|
handleActiveItemChange(event) {
|
|
14404
14647
|
if (event !== null && event !== undefined) {
|
|
14405
|
-
this.changePage(
|
|
14648
|
+
this.changePage(event);
|
|
14406
14649
|
}
|
|
14407
14650
|
}
|
|
14408
14651
|
setupItemsPerPage() {
|
|
@@ -14410,17 +14653,17 @@ class PaginationComponent extends AccessibilityComponent {
|
|
|
14410
14653
|
if (this.itemsPerPageList) {
|
|
14411
14654
|
const currentItemsPerPageItem = this.itemsPerPageList.find(i => i.value === this.itemsPerPage);
|
|
14412
14655
|
if (currentItemsPerPageItem) {
|
|
14413
|
-
currentItemsPerPageItem.
|
|
14656
|
+
currentItemsPerPageItem.selected = true;
|
|
14414
14657
|
}
|
|
14415
|
-
const hasActive = this.itemsPerPageList.find(i => i.
|
|
14658
|
+
const hasActive = this.itemsPerPageList.find(i => i.selected);
|
|
14416
14659
|
if (!hasActive && this.itemsPerPageList.length > 0) {
|
|
14417
|
-
this.itemsPerPageList[0].
|
|
14660
|
+
this.itemsPerPageList[0].selected = true;
|
|
14418
14661
|
}
|
|
14419
14662
|
this.changeDetector.detectChanges();
|
|
14420
14663
|
}
|
|
14421
14664
|
}
|
|
14422
14665
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginationComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14423
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PaginationComponent, selector: "desy-pagination", inputs: { hasSelect: "hasSelect", idPrefix: "idPrefix", totalItems: "totalItems", hasPrevious: "hasPrevious", hasNext: "hasNext", hasFirst: "hasFirst", hasLast: "hasLast", showPrevious: "showPrevious", showNext: "showNext", showFirst: "showFirst", showLast: "showLast", previousText: "previousText", nextText: "nextText", firstText: "firstText", lastText: "lastText", hasSelectItemsPerPage: "hasSelectItemsPerPage", classes: "classes", classesContainer: "classesContainer", id: "id", currentPage: "currentPage", itemsPerPage: "itemsPerPage" }, outputs: { currentPageChange: "currentPageChange", itemsPerPageChange: "itemsPerPageChange" }, host: { properties: { "class": "this.classesContainer", "attr.id": "this.id" } }, queries: [{ propertyName: "listboxLabel", predicate: PaginationListboxLabelComponent }, { propertyName: "listboxItemsPerPage", predicate: PaginationItemPerPageComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"hasSelect\">\n <p class=\"w-full mb-xs text-sm text-neutral-dark\">\n Selecciona
|
|
14666
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PaginationComponent, selector: "desy-pagination", inputs: { hasSelect: "hasSelect", idPrefix: "idPrefix", totalItems: "totalItems", hasPrevious: "hasPrevious", hasNext: "hasNext", hasFirst: "hasFirst", hasLast: "hasLast", showPrevious: "showPrevious", showNext: "showNext", showFirst: "showFirst", showLast: "showLast", previousText: "previousText", nextText: "nextText", firstText: "firstText", lastText: "lastText", hasSelectItemsPerPage: "hasSelectItemsPerPage", classes: "classes", classesContainer: "classesContainer", id: "id", currentPage: "currentPage", itemsPerPage: "itemsPerPage" }, outputs: { currentPageChange: "currentPageChange", itemsPerPageChange: "itemsPerPageChange" }, host: { properties: { "class": "this.classesContainer", "attr.id": "this.id" } }, queries: [{ propertyName: "listboxLabel", predicate: PaginationListboxLabelComponent }, { propertyName: "listboxItemsPerPage", predicate: PaginationItemPerPageComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"hasSelect\">\n <p [attr.id]=\"id + '-label'\" class=\"w-full mb-xs text-sm text-neutral-dark\">\n Selecciona para cargar datos autom\u00E1ticamente\n </p>\n <nav [class]=\"['flex flex-wrap items-center flex-1 mb-base lg:mb-0 text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <desy-button *ngIf=\"showFirst\" (clickEvent)=\"first()\" [id]=\"getIdPrefix() + '-first'\"\n [html]=\"firstIcon + prefix + firstText + getSuffix(currentPage - 2)\" [disabled]=\"currentPage === 1 || !hasFirst\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n <desy-button *ngIf=\"showPrevious\" (clickEvent)=\"previous()\" [id]=\"getIdPrefix() + '-previous'\"\n [html]=\"previousIcon + prefix + previousText + getSuffix(currentPage - 2)\" [disabled]=\"currentPage === 1 || !hasPrevious\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n <div class=\"flex flex-wrap items-center pl-sm\"\n [ngClass]=\"{'w-full lg:w-auto': showFirst || showLast}\">\n <p *ngIf=\"showFirst || showLast\" class=\"lg:hidden mr-xs text-sm text-neutral-dark\">P\u00E1gina actual:</p>\n <desy-select [classes]=\"'c-select--sm c-select--transparent'\" \n [formGroupClasses]=\"'-mt-sm mb-0 mr-xs'\" \n [id]=\"id + '-items-listbox-'\"\n [name]=\"id + 'items-listbox-'\"\n [describedBy]=\"id + '-label'\"\n [items]=\"items\"\n [ngModel]=\"value\"\n (ngModelChange)=\"handleActiveItemChange($event)\">\n <desy-label [classes]=\"'sr-only'\">\n Selecciona una p\u00E1gina\n </desy-label>\n </desy-select>\n </div>\n <desy-button *ngIf=\"showNext\" (clickEvent)=\"next()\" [id]=\"getIdPrefix() + '-next'\"\n [html]=\"prefix + nextText + getSuffix(currentPage) + nextIcon\" [disabled]=\"currentPage === nPages || !hasNext\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n <desy-button *ngIf=\"showLast\" (clickEvent)=\"last()\" [id]=\"getIdPrefix() + '-last'\"\n [html]=\"prefix + lastText + getSuffix(currentPage) + lastIcon\" [disabled]=\"currentPage === nPages || !hasLast\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n </nav>\n</ng-container>\n<ng-container *ngIf=\"!hasSelect\">\n <nav [class]=\"['flex flex-wrap items-center flex-1 mb-base lg:mb-0 text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"flex flex-wrap\">\n <li *ngFor=\"let item of items; index as i\">\n <desy-button *ngIf=\"item.active\" [id]=\"getButtonId(i)\"\n [html]=\"'<strong>' + prefix + (i + 1) + getSuffix(i,true) + '</strong>'\"\n classes=\"c-button--primary c-button--disabled mb-sm mr-sm\"\n [disabled]=\"true\" ariaCurrent=\"page\" tabindex=\"-1\"></desy-button>\n <desy-button *ngIf=\"!item.active\" [id]=\"getButtonId(i)\"\n [html]=\"prefix + (i + 1) + getSuffix(i,true)\"\n (clickEvent)=\"changePage(i + 1)\"\n classes=\"mb-sm mr-sm\"></desy-button>\n </li>\n </ul>\n </nav>\n</ng-container>\n \n<div *ngIf=\"hasSelectItemsPerPage\" class=\"block relative -top-xs lg:ml-auto text-sm text-neutral-dark\">\n <desy-select [classes]=\"'c-select--sm c-select--transparent'\" \n [formGroupClasses]=\"'flex flex-wrap place-items-baseline gap-xs -mt-sm mb-0 mr-xs'\" \n [id]=\"'items-listbox-' + getIdPrefix()\"\n [name]=\"'items-listbox-' + getIdPrefix()\"\n [describedBy]=\"id + '-label'\"\n [items]=\"itemsPerPageList\"\n [ngModel]=\"valuePerPage\"\n (ngModelChange)=\"changeItemsPerPage($event)\">\n <desy-label [classes]=\"listboxLabel && listboxLabel.classes ? listboxLabel.classes : 'inline-block flex align-middle mb-[0]'\">\n <ng-container *ngIf=\"listboxLabel\">\n <ng-container *desyCustomInnerContent=\"{ component: listboxLabel }\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!listboxLabel\">\n Items por p\u00E1gina\n </ng-container>\n </desy-label>\n </desy-select>\n</div>\n\n\n<p [attr.id]=\"idPrefix + '-status'\" role=\"status\" aria-live=\"polite\" class=\"block relative -top-xs lg:ml-auto text-sm text-neutral-dark\" *ngIf=\"totalItems && itemsPerPage\">\n <span class=\"sr-only\">Posici\u00F3n de paginaci\u00F3n: </span>{{(currentPage - 1) * itemsPerPage + 1}} - {{getLastItemNumber(currentPage - 1)}} de {{totalItems}}\n</p>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CustomInnerContentDirective, selector: "[desyCustomInnerContent]", inputs: ["desyCustomInnerContent"] }, { kind: "directive", type: AccessibilityDirective, selector: "[desyAppAccessibility]", inputs: ["desyAppAccessibility"] }, { kind: "component", type: ButtonComponent, selector: "desy-button", inputs: ["id", "classes", "html", "text", "element", "name", "type", "value", "disabled", "href", "target", "preventDoubleClick", "fragment", "routerLink", "routerLinkActiveClasses"], outputs: ["clickEvent"] }, { kind: "component", type: LabelComponent, selector: "desy-label", inputs: ["id", "classes", "html", "text", "isPageHeading", "headingLevel", "for"] }, { kind: "component", type: SelectComponent, selector: "desy-select", inputs: ["name", "items", "describedBy", "formGroupClasses", "classes"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: MakeHtmlListPipe, name: "makeHtmlList" }] }); }
|
|
14424
14667
|
}
|
|
14425
14668
|
__decorate([
|
|
14426
14669
|
DesyContentChild(),
|
|
@@ -14428,7 +14671,7 @@ __decorate([
|
|
|
14428
14671
|
], PaginationComponent.prototype, "listboxLabel", void 0);
|
|
14429
14672
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
14430
14673
|
type: Component,
|
|
14431
|
-
args: [{ selector: 'desy-pagination', template: "<ng-container *ngIf=\"hasSelect\">\n <p class=\"w-full mb-xs text-sm text-neutral-dark\">\n Selecciona
|
|
14674
|
+
args: [{ selector: 'desy-pagination', template: "<ng-container *ngIf=\"hasSelect\">\n <p [attr.id]=\"id + '-label'\" class=\"w-full mb-xs text-sm text-neutral-dark\">\n Selecciona para cargar datos autom\u00E1ticamente\n </p>\n <nav [class]=\"['flex flex-wrap items-center flex-1 mb-base lg:mb-0 text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <desy-button *ngIf=\"showFirst\" (clickEvent)=\"first()\" [id]=\"getIdPrefix() + '-first'\"\n [html]=\"firstIcon + prefix + firstText + getSuffix(currentPage - 2)\" [disabled]=\"currentPage === 1 || !hasFirst\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n <desy-button *ngIf=\"showPrevious\" (clickEvent)=\"previous()\" [id]=\"getIdPrefix() + '-previous'\"\n [html]=\"previousIcon + prefix + previousText + getSuffix(currentPage - 2)\" [disabled]=\"currentPage === 1 || !hasPrevious\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n <div class=\"flex flex-wrap items-center pl-sm\"\n [ngClass]=\"{'w-full lg:w-auto': showFirst || showLast}\">\n <p *ngIf=\"showFirst || showLast\" class=\"lg:hidden mr-xs text-sm text-neutral-dark\">P\u00E1gina actual:</p>\n <desy-select [classes]=\"'c-select--sm c-select--transparent'\" \n [formGroupClasses]=\"'-mt-sm mb-0 mr-xs'\" \n [id]=\"id + '-items-listbox-'\"\n [name]=\"id + 'items-listbox-'\"\n [describedBy]=\"id + '-label'\"\n [items]=\"items\"\n [ngModel]=\"value\"\n (ngModelChange)=\"handleActiveItemChange($event)\">\n <desy-label [classes]=\"'sr-only'\">\n Selecciona una p\u00E1gina\n </desy-label>\n </desy-select>\n </div>\n <desy-button *ngIf=\"showNext\" (clickEvent)=\"next()\" [id]=\"getIdPrefix() + '-next'\"\n [html]=\"prefix + nextText + getSuffix(currentPage) + nextIcon\" [disabled]=\"currentPage === nPages || !hasNext\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n <desy-button *ngIf=\"showLast\" (clickEvent)=\"last()\" [id]=\"getIdPrefix() + '-last'\"\n [html]=\"prefix + lastText + getSuffix(currentPage) + lastIcon\" [disabled]=\"currentPage === nPages || !hasLast\"\n classes=\"c-button--sm c-button--transparent mr-xs\"></desy-button>\n </nav>\n</ng-container>\n<ng-container *ngIf=\"!hasSelect\">\n <nav [class]=\"['flex flex-wrap items-center flex-1 mb-base lg:mb-0 text-sm', classes] | makeHtmlList\"\n [desyAppAccessibility]=\"this\">\n <ul class=\"flex flex-wrap\">\n <li *ngFor=\"let item of items; index as i\">\n <desy-button *ngIf=\"item.active\" [id]=\"getButtonId(i)\"\n [html]=\"'<strong>' + prefix + (i + 1) + getSuffix(i,true) + '</strong>'\"\n classes=\"c-button--primary c-button--disabled mb-sm mr-sm\"\n [disabled]=\"true\" ariaCurrent=\"page\" tabindex=\"-1\"></desy-button>\n <desy-button *ngIf=\"!item.active\" [id]=\"getButtonId(i)\"\n [html]=\"prefix + (i + 1) + getSuffix(i,true)\"\n (clickEvent)=\"changePage(i + 1)\"\n classes=\"mb-sm mr-sm\"></desy-button>\n </li>\n </ul>\n </nav>\n</ng-container>\n \n<div *ngIf=\"hasSelectItemsPerPage\" class=\"block relative -top-xs lg:ml-auto text-sm text-neutral-dark\">\n <desy-select [classes]=\"'c-select--sm c-select--transparent'\" \n [formGroupClasses]=\"'flex flex-wrap place-items-baseline gap-xs -mt-sm mb-0 mr-xs'\" \n [id]=\"'items-listbox-' + getIdPrefix()\"\n [name]=\"'items-listbox-' + getIdPrefix()\"\n [describedBy]=\"id + '-label'\"\n [items]=\"itemsPerPageList\"\n [ngModel]=\"valuePerPage\"\n (ngModelChange)=\"changeItemsPerPage($event)\">\n <desy-label [classes]=\"listboxLabel && listboxLabel.classes ? listboxLabel.classes : 'inline-block flex align-middle mb-[0]'\">\n <ng-container *ngIf=\"listboxLabel\">\n <ng-container *desyCustomInnerContent=\"{ component: listboxLabel }\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!listboxLabel\">\n Items por p\u00E1gina\n </ng-container>\n </desy-label>\n </desy-select>\n</div>\n\n\n<p [attr.id]=\"idPrefix + '-status'\" role=\"status\" aria-live=\"polite\" class=\"block relative -top-xs lg:ml-auto text-sm text-neutral-dark\" *ngIf=\"totalItems && itemsPerPage\">\n <span class=\"sr-only\">Posici\u00F3n de paginaci\u00F3n: </span>{{(currentPage - 1) * itemsPerPage + 1}} - {{getLastItemNumber(currentPage - 1)}} de {{totalItems}}\n</p>\n" }]
|
|
14432
14675
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hasSelect: [{
|
|
14433
14676
|
type: Input
|
|
14434
14677
|
}], idPrefix: [{
|
|
@@ -14563,6 +14806,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14563
14806
|
}]
|
|
14564
14807
|
}] });
|
|
14565
14808
|
|
|
14809
|
+
class SharedExternalModule {
|
|
14810
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedExternalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14811
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SharedExternalModule, declarations: [SpinnerComponent], imports: [CommonModule], exports: [SpinnerComponent] }); }
|
|
14812
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedExternalModule, imports: [CommonModule] }); }
|
|
14813
|
+
}
|
|
14814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SharedExternalModule, decorators: [{
|
|
14815
|
+
type: NgModule,
|
|
14816
|
+
args: [{
|
|
14817
|
+
declarations: [
|
|
14818
|
+
SpinnerComponent,
|
|
14819
|
+
],
|
|
14820
|
+
imports: [
|
|
14821
|
+
CommonModule,
|
|
14822
|
+
],
|
|
14823
|
+
exports: [
|
|
14824
|
+
SpinnerComponent,
|
|
14825
|
+
]
|
|
14826
|
+
}]
|
|
14827
|
+
}] });
|
|
14828
|
+
|
|
14829
|
+
class DesyButtonsModule {
|
|
14830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14831
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, declarations: [ButtonComponent,
|
|
14832
|
+
ButtonLoaderComponent,
|
|
14833
|
+
DropdownComponent,
|
|
14834
|
+
ListboxComponent,
|
|
14835
|
+
PillComponent,
|
|
14836
|
+
ListboxItemComponent,
|
|
14837
|
+
ListboxLabelComponent,
|
|
14838
|
+
ToggleComponent,
|
|
14839
|
+
ToggleOnStateComponent,
|
|
14840
|
+
ToggleOffStateComponent], imports: [CommonModule,
|
|
14841
|
+
SharedModule,
|
|
14842
|
+
NgxTippyModule,
|
|
14843
|
+
SharedExternalModule], exports: [ButtonComponent,
|
|
14844
|
+
ButtonLoaderComponent,
|
|
14845
|
+
DropdownComponent,
|
|
14846
|
+
ListboxComponent,
|
|
14847
|
+
PillComponent,
|
|
14848
|
+
ListboxItemComponent,
|
|
14849
|
+
ListboxLabelComponent,
|
|
14850
|
+
ToggleComponent,
|
|
14851
|
+
ToggleOnStateComponent,
|
|
14852
|
+
ToggleOffStateComponent] }); }
|
|
14853
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, imports: [CommonModule,
|
|
14854
|
+
SharedModule,
|
|
14855
|
+
NgxTippyModule,
|
|
14856
|
+
SharedExternalModule] }); }
|
|
14857
|
+
}
|
|
14858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, decorators: [{
|
|
14859
|
+
type: NgModule,
|
|
14860
|
+
args: [{
|
|
14861
|
+
declarations: [
|
|
14862
|
+
ButtonComponent,
|
|
14863
|
+
ButtonLoaderComponent,
|
|
14864
|
+
DropdownComponent,
|
|
14865
|
+
ListboxComponent,
|
|
14866
|
+
PillComponent,
|
|
14867
|
+
ListboxItemComponent,
|
|
14868
|
+
ListboxLabelComponent,
|
|
14869
|
+
ToggleComponent,
|
|
14870
|
+
ToggleOnStateComponent,
|
|
14871
|
+
ToggleOffStateComponent
|
|
14872
|
+
],
|
|
14873
|
+
imports: [
|
|
14874
|
+
CommonModule,
|
|
14875
|
+
SharedModule,
|
|
14876
|
+
NgxTippyModule,
|
|
14877
|
+
SharedExternalModule,
|
|
14878
|
+
],
|
|
14879
|
+
exports: [
|
|
14880
|
+
ButtonComponent,
|
|
14881
|
+
ButtonLoaderComponent,
|
|
14882
|
+
DropdownComponent,
|
|
14883
|
+
ListboxComponent,
|
|
14884
|
+
PillComponent,
|
|
14885
|
+
ListboxItemComponent,
|
|
14886
|
+
ListboxLabelComponent,
|
|
14887
|
+
ToggleComponent,
|
|
14888
|
+
ToggleOnStateComponent,
|
|
14889
|
+
ToggleOffStateComponent
|
|
14890
|
+
]
|
|
14891
|
+
}]
|
|
14892
|
+
}] });
|
|
14893
|
+
|
|
14566
14894
|
class DesyCommonsModule {
|
|
14567
14895
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyCommonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14568
14896
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyCommonsModule, declarations: [IconComponent,
|
|
@@ -14605,6 +14933,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14605
14933
|
}]
|
|
14606
14934
|
}] });
|
|
14607
14935
|
|
|
14936
|
+
class FormatDatePipe {
|
|
14937
|
+
transform(value) {
|
|
14938
|
+
if (!value)
|
|
14939
|
+
return '';
|
|
14940
|
+
const fechas = value.split('/');
|
|
14941
|
+
const fechasConvertidas = fechas.map(fecha => {
|
|
14942
|
+
if (fecha.includes('-')) {
|
|
14943
|
+
const [year, month, day] = fecha.split('-');
|
|
14944
|
+
if (year && month && day) {
|
|
14945
|
+
return `${day}/${month}/${year}`;
|
|
14946
|
+
}
|
|
14947
|
+
}
|
|
14948
|
+
else if (fecha.includes('/')) {
|
|
14949
|
+
const [day, month, year] = fecha.split('/');
|
|
14950
|
+
if (day && month && year) {
|
|
14951
|
+
return `${day}/${month}/${year}`;
|
|
14952
|
+
}
|
|
14953
|
+
}
|
|
14954
|
+
return fecha;
|
|
14955
|
+
});
|
|
14956
|
+
return fechasConvertidas.join('-');
|
|
14957
|
+
}
|
|
14958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14959
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FormatDatePipe, name: "formatDate" }); }
|
|
14960
|
+
}
|
|
14961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormatDatePipe, decorators: [{
|
|
14962
|
+
type: Pipe,
|
|
14963
|
+
args: [{
|
|
14964
|
+
name: 'formatDate'
|
|
14965
|
+
}]
|
|
14966
|
+
}] });
|
|
14967
|
+
|
|
14608
14968
|
class DesyFormsModule {
|
|
14609
14969
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14610
14970
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyFormsModule, declarations: [TemplateDrivenWrapperComponent,
|
|
@@ -14643,11 +15003,15 @@ class DesyFormsModule {
|
|
|
14643
15003
|
TreeItemComponent,
|
|
14644
15004
|
TreeCheckboxComponent,
|
|
14645
15005
|
TreeItemsGeneratorComponent,
|
|
14646
|
-
|
|
15006
|
+
DatepickerComponent,
|
|
15007
|
+
ConditionDirective,
|
|
15008
|
+
FormatDatePipe], imports: [CommonModule,
|
|
14647
15009
|
FormsModule,
|
|
14648
15010
|
ReactiveFormsModule,
|
|
14649
15011
|
SharedModule,
|
|
14650
|
-
DesyCommonsModule
|
|
15012
|
+
DesyCommonsModule,
|
|
15013
|
+
DesyButtonsModule,
|
|
15014
|
+
SharedExternalModule], exports: [HintComponent,
|
|
14651
15015
|
LabelComponent,
|
|
14652
15016
|
ErrorMessageComponent,
|
|
14653
15017
|
FieldsetComponent,
|
|
@@ -14677,12 +15041,15 @@ class DesyFormsModule {
|
|
|
14677
15041
|
TreeSubComponent,
|
|
14678
15042
|
TreeItemComponent,
|
|
14679
15043
|
TreeItemsGeneratorComponent,
|
|
15044
|
+
DatepickerComponent,
|
|
14680
15045
|
ConditionDirective] }); }
|
|
14681
15046
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyFormsModule, imports: [CommonModule,
|
|
14682
15047
|
FormsModule,
|
|
14683
15048
|
ReactiveFormsModule,
|
|
14684
15049
|
SharedModule,
|
|
14685
|
-
DesyCommonsModule
|
|
15050
|
+
DesyCommonsModule,
|
|
15051
|
+
DesyButtonsModule,
|
|
15052
|
+
SharedExternalModule] }); }
|
|
14686
15053
|
}
|
|
14687
15054
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyFormsModule, decorators: [{
|
|
14688
15055
|
type: NgModule,
|
|
@@ -14722,275 +15089,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14722
15089
|
TreeComponent,
|
|
14723
15090
|
TreeSubComponent,
|
|
14724
15091
|
TreeItemComponent,
|
|
14725
|
-
TreeCheckboxComponent,
|
|
14726
|
-
TreeItemsGeneratorComponent,
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
CommonModule,
|
|
14731
|
-
FormsModule,
|
|
14732
|
-
ReactiveFormsModule,
|
|
14733
|
-
SharedModule,
|
|
14734
|
-
DesyCommonsModule,
|
|
14735
|
-
],
|
|
14736
|
-
exports: [
|
|
14737
|
-
HintComponent,
|
|
14738
|
-
LabelComponent,
|
|
14739
|
-
ErrorMessageComponent,
|
|
14740
|
-
FieldsetComponent,
|
|
14741
|
-
LegendComponent,
|
|
14742
|
-
TextareaComponent,
|
|
14743
|
-
CharacterCountComponent,
|
|
14744
|
-
InputComponent,
|
|
14745
|
-
SelectComponent,
|
|
14746
|
-
FileUploadComponent,
|
|
14747
|
-
InputGroupComponent,
|
|
14748
|
-
InputGroupDividerComponent,
|
|
14749
|
-
DateInputDividerComponent,
|
|
14750
|
-
InputGroupInputComponent,
|
|
14751
|
-
InputGroupSelectComponent,
|
|
14752
|
-
RadiosComponent,
|
|
14753
|
-
RadioItemComponent,
|
|
14754
|
-
CheckboxesComponent,
|
|
14755
|
-
CheckboxItemComponent,
|
|
14756
|
-
DateInputComponent,
|
|
14757
|
-
SearchBarComponent,
|
|
14758
|
-
OptionComponent,
|
|
14759
|
-
OptionGroupComponent,
|
|
14760
|
-
DateInputDayComponent,
|
|
14761
|
-
DateInputMonthComponent,
|
|
14762
|
-
DateInputYearComponent,
|
|
14763
|
-
TreeComponent,
|
|
14764
|
-
TreeSubComponent,
|
|
14765
|
-
TreeItemComponent,
|
|
14766
|
-
TreeItemsGeneratorComponent,
|
|
14767
|
-
ConditionDirective
|
|
14768
|
-
],
|
|
14769
|
-
}]
|
|
14770
|
-
}] });
|
|
14771
|
-
|
|
14772
|
-
class DesyViewsModule {
|
|
14773
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14774
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, declarations: [AlertComponent,
|
|
14775
|
-
AccordionComponent,
|
|
14776
|
-
AccordionHeaderComponent,
|
|
14777
|
-
AccordionHistoryComponent,
|
|
14778
|
-
AccordionHistoryItemComponent,
|
|
14779
|
-
AccordionItemShowButtonComponent,
|
|
14780
|
-
AccordionItemHideButtonComponent,
|
|
14781
|
-
AccordionItemComponent,
|
|
14782
|
-
SpinnerComponent,
|
|
14783
|
-
DetailsComponent,
|
|
14784
|
-
CollapsibleComponent,
|
|
14785
|
-
DescriptionListComponent,
|
|
14786
|
-
DescriptionItemComponent,
|
|
14787
|
-
TermComponent,
|
|
14788
|
-
DefinitionComponent,
|
|
14789
|
-
ItemComponent,
|
|
14790
|
-
ItemContentBottomComponent,
|
|
14791
|
-
ItemContentRightComponent,
|
|
14792
|
-
ItemItemComponent,
|
|
14793
|
-
MediaObjectComponent,
|
|
14794
|
-
StatusComponent,
|
|
14795
|
-
StatusItemComponent,
|
|
14796
|
-
TabsComponent,
|
|
14797
|
-
TooltipComponent,
|
|
14798
|
-
TooltipContentComponent,
|
|
14799
|
-
PanelComponent,
|
|
14800
|
-
TabItemComponent,
|
|
14801
|
-
MediaObjectFigureComponent,
|
|
14802
|
-
CardComponent,
|
|
14803
|
-
CardLeftComponent,
|
|
14804
|
-
CardRightComponent,
|
|
14805
|
-
CardSuperComponent,
|
|
14806
|
-
CardSubComponent], imports: [CommonModule,
|
|
14807
|
-
SharedModule,
|
|
14808
|
-
DesyFormsModule,
|
|
14809
|
-
DesyCommonsModule,
|
|
14810
|
-
NgxTippyModule], exports: [AlertComponent,
|
|
14811
|
-
AccordionComponent,
|
|
14812
|
-
AccordionHeaderComponent,
|
|
14813
|
-
AccordionHistoryComponent,
|
|
14814
|
-
AccordionHistoryItemComponent,
|
|
14815
|
-
AccordionItemShowButtonComponent,
|
|
14816
|
-
AccordionItemHideButtonComponent,
|
|
14817
|
-
AccordionItemComponent,
|
|
14818
|
-
SpinnerComponent,
|
|
14819
|
-
DetailsComponent,
|
|
14820
|
-
CollapsibleComponent,
|
|
14821
|
-
DescriptionListComponent,
|
|
14822
|
-
DescriptionItemComponent,
|
|
14823
|
-
TermComponent,
|
|
14824
|
-
DefinitionComponent,
|
|
14825
|
-
ItemComponent,
|
|
14826
|
-
ItemContentBottomComponent,
|
|
14827
|
-
ItemContentRightComponent,
|
|
14828
|
-
ItemItemComponent,
|
|
14829
|
-
MediaObjectComponent,
|
|
14830
|
-
StatusComponent,
|
|
14831
|
-
StatusItemComponent,
|
|
14832
|
-
TabsComponent,
|
|
14833
|
-
TooltipComponent,
|
|
14834
|
-
TooltipContentComponent,
|
|
14835
|
-
PanelComponent,
|
|
14836
|
-
TabItemComponent,
|
|
14837
|
-
MediaObjectFigureComponent,
|
|
14838
|
-
CardComponent,
|
|
14839
|
-
CardLeftComponent,
|
|
14840
|
-
CardRightComponent,
|
|
14841
|
-
CardSuperComponent,
|
|
14842
|
-
CardSubComponent] }); }
|
|
14843
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, imports: [CommonModule,
|
|
14844
|
-
SharedModule,
|
|
14845
|
-
DesyFormsModule,
|
|
14846
|
-
DesyCommonsModule,
|
|
14847
|
-
NgxTippyModule] }); }
|
|
14848
|
-
}
|
|
14849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, decorators: [{
|
|
14850
|
-
type: NgModule,
|
|
14851
|
-
args: [{
|
|
14852
|
-
declarations: [
|
|
14853
|
-
AlertComponent,
|
|
14854
|
-
AccordionComponent,
|
|
14855
|
-
AccordionHeaderComponent,
|
|
14856
|
-
AccordionHistoryComponent,
|
|
14857
|
-
AccordionHistoryItemComponent,
|
|
14858
|
-
AccordionItemShowButtonComponent,
|
|
14859
|
-
AccordionItemHideButtonComponent,
|
|
14860
|
-
AccordionItemComponent,
|
|
14861
|
-
SpinnerComponent,
|
|
14862
|
-
DetailsComponent,
|
|
14863
|
-
CollapsibleComponent,
|
|
14864
|
-
DescriptionListComponent,
|
|
14865
|
-
DescriptionItemComponent,
|
|
14866
|
-
TermComponent,
|
|
14867
|
-
DefinitionComponent,
|
|
14868
|
-
ItemComponent,
|
|
14869
|
-
ItemContentBottomComponent,
|
|
14870
|
-
ItemContentRightComponent,
|
|
14871
|
-
ItemItemComponent,
|
|
14872
|
-
MediaObjectComponent,
|
|
14873
|
-
StatusComponent,
|
|
14874
|
-
StatusItemComponent,
|
|
14875
|
-
TabsComponent,
|
|
14876
|
-
TooltipComponent,
|
|
14877
|
-
TooltipContentComponent,
|
|
14878
|
-
PanelComponent,
|
|
14879
|
-
TabItemComponent,
|
|
14880
|
-
MediaObjectFigureComponent,
|
|
14881
|
-
CardComponent,
|
|
14882
|
-
CardLeftComponent,
|
|
14883
|
-
CardRightComponent,
|
|
14884
|
-
CardSuperComponent,
|
|
14885
|
-
CardSubComponent,
|
|
14886
|
-
],
|
|
14887
|
-
imports: [
|
|
14888
|
-
CommonModule,
|
|
14889
|
-
SharedModule,
|
|
14890
|
-
DesyFormsModule,
|
|
14891
|
-
DesyCommonsModule,
|
|
14892
|
-
NgxTippyModule
|
|
14893
|
-
],
|
|
14894
|
-
exports: [
|
|
14895
|
-
AlertComponent,
|
|
14896
|
-
AccordionComponent,
|
|
14897
|
-
AccordionHeaderComponent,
|
|
14898
|
-
AccordionHistoryComponent,
|
|
14899
|
-
AccordionHistoryItemComponent,
|
|
14900
|
-
AccordionItemShowButtonComponent,
|
|
14901
|
-
AccordionItemHideButtonComponent,
|
|
14902
|
-
AccordionItemComponent,
|
|
14903
|
-
SpinnerComponent,
|
|
14904
|
-
DetailsComponent,
|
|
14905
|
-
CollapsibleComponent,
|
|
14906
|
-
DescriptionListComponent,
|
|
14907
|
-
DescriptionItemComponent,
|
|
14908
|
-
TermComponent,
|
|
14909
|
-
DefinitionComponent,
|
|
14910
|
-
ItemComponent,
|
|
14911
|
-
ItemContentBottomComponent,
|
|
14912
|
-
ItemContentRightComponent,
|
|
14913
|
-
ItemItemComponent,
|
|
14914
|
-
MediaObjectComponent,
|
|
14915
|
-
StatusComponent,
|
|
14916
|
-
StatusItemComponent,
|
|
14917
|
-
TabsComponent,
|
|
14918
|
-
TooltipComponent,
|
|
14919
|
-
TooltipContentComponent,
|
|
14920
|
-
PanelComponent,
|
|
14921
|
-
TabItemComponent,
|
|
14922
|
-
MediaObjectFigureComponent,
|
|
14923
|
-
CardComponent,
|
|
14924
|
-
CardLeftComponent,
|
|
14925
|
-
CardRightComponent,
|
|
14926
|
-
CardSuperComponent,
|
|
14927
|
-
CardSubComponent,
|
|
14928
|
-
]
|
|
14929
|
-
}]
|
|
14930
|
-
}] });
|
|
14931
|
-
|
|
14932
|
-
class DesyButtonsModule {
|
|
14933
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14934
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, declarations: [ButtonComponent,
|
|
14935
|
-
ButtonLoaderComponent,
|
|
14936
|
-
DropdownComponent,
|
|
14937
|
-
ListboxComponent,
|
|
14938
|
-
PillComponent,
|
|
14939
|
-
ListboxItemComponent,
|
|
14940
|
-
ListboxLabelComponent,
|
|
14941
|
-
ToggleComponent,
|
|
14942
|
-
ToggleOnStateComponent,
|
|
14943
|
-
ToggleOffStateComponent], imports: [CommonModule,
|
|
14944
|
-
SharedModule,
|
|
14945
|
-
DesyViewsModule,
|
|
14946
|
-
NgxTippyModule], exports: [ButtonComponent,
|
|
14947
|
-
ButtonLoaderComponent,
|
|
14948
|
-
DropdownComponent,
|
|
14949
|
-
ListboxComponent,
|
|
14950
|
-
PillComponent,
|
|
14951
|
-
ListboxItemComponent,
|
|
14952
|
-
ListboxLabelComponent,
|
|
14953
|
-
ToggleComponent,
|
|
14954
|
-
ToggleOnStateComponent,
|
|
14955
|
-
ToggleOffStateComponent] }); }
|
|
14956
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, imports: [CommonModule,
|
|
14957
|
-
SharedModule,
|
|
14958
|
-
DesyViewsModule,
|
|
14959
|
-
NgxTippyModule] }); }
|
|
14960
|
-
}
|
|
14961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyButtonsModule, decorators: [{
|
|
14962
|
-
type: NgModule,
|
|
14963
|
-
args: [{
|
|
14964
|
-
declarations: [
|
|
14965
|
-
ButtonComponent,
|
|
14966
|
-
ButtonLoaderComponent,
|
|
14967
|
-
DropdownComponent,
|
|
14968
|
-
ListboxComponent,
|
|
14969
|
-
PillComponent,
|
|
14970
|
-
ListboxItemComponent,
|
|
14971
|
-
ListboxLabelComponent,
|
|
14972
|
-
ToggleComponent,
|
|
14973
|
-
ToggleOnStateComponent,
|
|
14974
|
-
ToggleOffStateComponent
|
|
15092
|
+
TreeCheckboxComponent,
|
|
15093
|
+
TreeItemsGeneratorComponent,
|
|
15094
|
+
DatepickerComponent,
|
|
15095
|
+
ConditionDirective,
|
|
15096
|
+
FormatDatePipe,
|
|
14975
15097
|
],
|
|
14976
15098
|
imports: [
|
|
14977
15099
|
CommonModule,
|
|
15100
|
+
FormsModule,
|
|
15101
|
+
ReactiveFormsModule,
|
|
14978
15102
|
SharedModule,
|
|
14979
|
-
|
|
14980
|
-
|
|
15103
|
+
DesyCommonsModule,
|
|
15104
|
+
DesyButtonsModule,
|
|
15105
|
+
SharedExternalModule,
|
|
14981
15106
|
],
|
|
14982
15107
|
exports: [
|
|
14983
|
-
|
|
14984
|
-
|
|
14985
|
-
|
|
14986
|
-
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
|
|
15108
|
+
HintComponent,
|
|
15109
|
+
LabelComponent,
|
|
15110
|
+
ErrorMessageComponent,
|
|
15111
|
+
FieldsetComponent,
|
|
15112
|
+
LegendComponent,
|
|
15113
|
+
TextareaComponent,
|
|
15114
|
+
CharacterCountComponent,
|
|
15115
|
+
InputComponent,
|
|
15116
|
+
SelectComponent,
|
|
15117
|
+
FileUploadComponent,
|
|
15118
|
+
InputGroupComponent,
|
|
15119
|
+
InputGroupDividerComponent,
|
|
15120
|
+
DateInputDividerComponent,
|
|
15121
|
+
InputGroupInputComponent,
|
|
15122
|
+
InputGroupSelectComponent,
|
|
15123
|
+
RadiosComponent,
|
|
15124
|
+
RadioItemComponent,
|
|
15125
|
+
CheckboxesComponent,
|
|
15126
|
+
CheckboxItemComponent,
|
|
15127
|
+
DateInputComponent,
|
|
15128
|
+
SearchBarComponent,
|
|
15129
|
+
OptionComponent,
|
|
15130
|
+
OptionGroupComponent,
|
|
15131
|
+
DateInputDayComponent,
|
|
15132
|
+
DateInputMonthComponent,
|
|
15133
|
+
DateInputYearComponent,
|
|
15134
|
+
TreeComponent,
|
|
15135
|
+
TreeSubComponent,
|
|
15136
|
+
TreeItemComponent,
|
|
15137
|
+
TreeItemsGeneratorComponent,
|
|
15138
|
+
DatepickerComponent,
|
|
15139
|
+
ConditionDirective
|
|
15140
|
+
],
|
|
14994
15141
|
}]
|
|
14995
15142
|
}] });
|
|
14996
15143
|
|
|
@@ -15075,6 +15222,7 @@ class DesyNavModule {
|
|
|
15075
15222
|
HeaderAdvancedSubComponent,
|
|
15076
15223
|
LinksListComponent,
|
|
15077
15224
|
LinksListItemComponent,
|
|
15225
|
+
LinksListIconRightComponent,
|
|
15078
15226
|
LinksListItemSubComponent,
|
|
15079
15227
|
MenuHorizontalComponent,
|
|
15080
15228
|
MenuHorizontalItemComponent,
|
|
@@ -15097,8 +15245,6 @@ class DesyNavModule {
|
|
|
15097
15245
|
MenuNavigationItemComponent,
|
|
15098
15246
|
MenuNavigationSubitemComponent,
|
|
15099
15247
|
HeaderCustomNavigationComponent,
|
|
15100
|
-
LinksListItemComponent,
|
|
15101
|
-
LinksListItemSubComponent,
|
|
15102
15248
|
DynamicHeadingDirective], imports: [CommonModule,
|
|
15103
15249
|
SharedModule,
|
|
15104
15250
|
DesyCommonsModule,
|
|
@@ -15122,6 +15268,7 @@ class DesyNavModule {
|
|
|
15122
15268
|
HeaderMobileTextComponent,
|
|
15123
15269
|
LinksListComponent,
|
|
15124
15270
|
LinksListItemComponent,
|
|
15271
|
+
LinksListIconRightComponent,
|
|
15125
15272
|
LinksListItemSubComponent,
|
|
15126
15273
|
MenuHorizontalComponent,
|
|
15127
15274
|
MenuHorizontalItemComponent,
|
|
@@ -15194,6 +15341,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15194
15341
|
HeaderAdvancedSubComponent,
|
|
15195
15342
|
LinksListComponent,
|
|
15196
15343
|
LinksListItemComponent,
|
|
15344
|
+
LinksListIconRightComponent,
|
|
15197
15345
|
LinksListItemSubComponent,
|
|
15198
15346
|
MenuHorizontalComponent,
|
|
15199
15347
|
MenuHorizontalItemComponent,
|
|
@@ -15216,8 +15364,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15216
15364
|
MenuNavigationItemComponent,
|
|
15217
15365
|
MenuNavigationSubitemComponent,
|
|
15218
15366
|
HeaderCustomNavigationComponent,
|
|
15219
|
-
LinksListItemComponent,
|
|
15220
|
-
LinksListItemSubComponent,
|
|
15221
15367
|
DynamicHeadingDirective,
|
|
15222
15368
|
],
|
|
15223
15369
|
imports: [
|
|
@@ -15247,6 +15393,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15247
15393
|
HeaderMobileTextComponent,
|
|
15248
15394
|
LinksListComponent,
|
|
15249
15395
|
LinksListItemComponent,
|
|
15396
|
+
LinksListIconRightComponent,
|
|
15250
15397
|
LinksListItemSubComponent,
|
|
15251
15398
|
MenuHorizontalComponent,
|
|
15252
15399
|
MenuHorizontalItemComponent,
|
|
@@ -15284,6 +15431,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15284
15431
|
}]
|
|
15285
15432
|
}] });
|
|
15286
15433
|
|
|
15434
|
+
class DesyPaginationModule {
|
|
15435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15436
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyPaginationModule, declarations: [PaginationComponent,
|
|
15437
|
+
PaginationListboxLabelComponent,
|
|
15438
|
+
PaginationItemPerPageComponent], imports: [CommonModule,
|
|
15439
|
+
SharedModule,
|
|
15440
|
+
DesyNavModule,
|
|
15441
|
+
DesyButtonsModule,
|
|
15442
|
+
DesyFormsModule,
|
|
15443
|
+
FormsModule], exports: [PaginationComponent,
|
|
15444
|
+
PaginationListboxLabelComponent,
|
|
15445
|
+
PaginationItemPerPageComponent] }); }
|
|
15446
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyPaginationModule, imports: [CommonModule,
|
|
15447
|
+
SharedModule,
|
|
15448
|
+
DesyNavModule,
|
|
15449
|
+
DesyButtonsModule,
|
|
15450
|
+
DesyFormsModule,
|
|
15451
|
+
FormsModule] }); }
|
|
15452
|
+
}
|
|
15453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyPaginationModule, decorators: [{
|
|
15454
|
+
type: NgModule,
|
|
15455
|
+
args: [{
|
|
15456
|
+
declarations: [
|
|
15457
|
+
PaginationComponent,
|
|
15458
|
+
PaginationListboxLabelComponent,
|
|
15459
|
+
PaginationItemPerPageComponent
|
|
15460
|
+
],
|
|
15461
|
+
imports: [
|
|
15462
|
+
CommonModule,
|
|
15463
|
+
SharedModule,
|
|
15464
|
+
DesyNavModule,
|
|
15465
|
+
DesyButtonsModule,
|
|
15466
|
+
DesyFormsModule,
|
|
15467
|
+
FormsModule
|
|
15468
|
+
],
|
|
15469
|
+
exports: [
|
|
15470
|
+
PaginationComponent,
|
|
15471
|
+
PaginationListboxLabelComponent,
|
|
15472
|
+
PaginationItemPerPageComponent
|
|
15473
|
+
]
|
|
15474
|
+
}]
|
|
15475
|
+
}] });
|
|
15476
|
+
|
|
15287
15477
|
class DesyTablesModule {
|
|
15288
15478
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyTablesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15289
15479
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyTablesModule, declarations: [TableComponent,
|
|
@@ -15377,39 +15567,158 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15377
15567
|
}]
|
|
15378
15568
|
}] });
|
|
15379
15569
|
|
|
15380
|
-
class
|
|
15381
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
15382
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type:
|
|
15383
|
-
|
|
15384
|
-
|
|
15570
|
+
class DesyViewsModule {
|
|
15571
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
15572
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, declarations: [AlertComponent,
|
|
15573
|
+
AccordionComponent,
|
|
15574
|
+
AccordionHeaderComponent,
|
|
15575
|
+
AccordionHistoryComponent,
|
|
15576
|
+
AccordionHistoryItemComponent,
|
|
15577
|
+
AccordionItemShowButtonComponent,
|
|
15578
|
+
AccordionItemHideButtonComponent,
|
|
15579
|
+
AccordionItemComponent,
|
|
15580
|
+
DetailsComponent,
|
|
15581
|
+
CollapsibleComponent,
|
|
15582
|
+
DescriptionListComponent,
|
|
15583
|
+
DescriptionItemComponent,
|
|
15584
|
+
TermComponent,
|
|
15585
|
+
DefinitionComponent,
|
|
15586
|
+
ItemComponent,
|
|
15587
|
+
ItemContentBottomComponent,
|
|
15588
|
+
ItemContentRightComponent,
|
|
15589
|
+
ItemItemComponent,
|
|
15590
|
+
MediaObjectComponent,
|
|
15591
|
+
StatusComponent,
|
|
15592
|
+
StatusItemComponent,
|
|
15593
|
+
TabsComponent,
|
|
15594
|
+
TooltipComponent,
|
|
15595
|
+
TooltipContentComponent,
|
|
15596
|
+
PanelComponent,
|
|
15597
|
+
TabItemComponent,
|
|
15598
|
+
MediaObjectFigureComponent,
|
|
15599
|
+
CardComponent,
|
|
15600
|
+
CardLeftComponent,
|
|
15601
|
+
CardRightComponent,
|
|
15602
|
+
CardSuperComponent,
|
|
15603
|
+
CardSubComponent], imports: [CommonModule,
|
|
15385
15604
|
SharedModule,
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
|
|
15605
|
+
DesyFormsModule,
|
|
15606
|
+
DesyCommonsModule,
|
|
15607
|
+
NgxTippyModule], exports: [AlertComponent,
|
|
15608
|
+
AccordionComponent,
|
|
15609
|
+
AccordionHeaderComponent,
|
|
15610
|
+
AccordionHistoryComponent,
|
|
15611
|
+
AccordionHistoryItemComponent,
|
|
15612
|
+
AccordionItemShowButtonComponent,
|
|
15613
|
+
AccordionItemHideButtonComponent,
|
|
15614
|
+
AccordionItemComponent,
|
|
15615
|
+
DetailsComponent,
|
|
15616
|
+
CollapsibleComponent,
|
|
15617
|
+
DescriptionListComponent,
|
|
15618
|
+
DescriptionItemComponent,
|
|
15619
|
+
TermComponent,
|
|
15620
|
+
DefinitionComponent,
|
|
15621
|
+
ItemComponent,
|
|
15622
|
+
ItemContentBottomComponent,
|
|
15623
|
+
ItemContentRightComponent,
|
|
15624
|
+
ItemItemComponent,
|
|
15625
|
+
MediaObjectComponent,
|
|
15626
|
+
StatusComponent,
|
|
15627
|
+
StatusItemComponent,
|
|
15628
|
+
TabsComponent,
|
|
15629
|
+
TooltipComponent,
|
|
15630
|
+
TooltipContentComponent,
|
|
15631
|
+
PanelComponent,
|
|
15632
|
+
TabItemComponent,
|
|
15633
|
+
MediaObjectFigureComponent,
|
|
15634
|
+
CardComponent,
|
|
15635
|
+
CardLeftComponent,
|
|
15636
|
+
CardRightComponent,
|
|
15637
|
+
CardSuperComponent,
|
|
15638
|
+
CardSubComponent] }); }
|
|
15639
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, imports: [CommonModule,
|
|
15391
15640
|
SharedModule,
|
|
15392
|
-
|
|
15393
|
-
|
|
15641
|
+
DesyFormsModule,
|
|
15642
|
+
DesyCommonsModule,
|
|
15643
|
+
NgxTippyModule] }); }
|
|
15394
15644
|
}
|
|
15395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
15645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyViewsModule, decorators: [{
|
|
15396
15646
|
type: NgModule,
|
|
15397
15647
|
args: [{
|
|
15398
15648
|
declarations: [
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15649
|
+
AlertComponent,
|
|
15650
|
+
AccordionComponent,
|
|
15651
|
+
AccordionHeaderComponent,
|
|
15652
|
+
AccordionHistoryComponent,
|
|
15653
|
+
AccordionHistoryItemComponent,
|
|
15654
|
+
AccordionItemShowButtonComponent,
|
|
15655
|
+
AccordionItemHideButtonComponent,
|
|
15656
|
+
AccordionItemComponent,
|
|
15657
|
+
DetailsComponent,
|
|
15658
|
+
CollapsibleComponent,
|
|
15659
|
+
DescriptionListComponent,
|
|
15660
|
+
DescriptionItemComponent,
|
|
15661
|
+
TermComponent,
|
|
15662
|
+
DefinitionComponent,
|
|
15663
|
+
ItemComponent,
|
|
15664
|
+
ItemContentBottomComponent,
|
|
15665
|
+
ItemContentRightComponent,
|
|
15666
|
+
ItemItemComponent,
|
|
15667
|
+
MediaObjectComponent,
|
|
15668
|
+
StatusComponent,
|
|
15669
|
+
StatusItemComponent,
|
|
15670
|
+
TabsComponent,
|
|
15671
|
+
TooltipComponent,
|
|
15672
|
+
TooltipContentComponent,
|
|
15673
|
+
PanelComponent,
|
|
15674
|
+
TabItemComponent,
|
|
15675
|
+
MediaObjectFigureComponent,
|
|
15676
|
+
CardComponent,
|
|
15677
|
+
CardLeftComponent,
|
|
15678
|
+
CardRightComponent,
|
|
15679
|
+
CardSuperComponent,
|
|
15680
|
+
CardSubComponent,
|
|
15402
15681
|
],
|
|
15403
15682
|
imports: [
|
|
15404
15683
|
CommonModule,
|
|
15405
15684
|
SharedModule,
|
|
15406
|
-
|
|
15407
|
-
|
|
15685
|
+
DesyFormsModule,
|
|
15686
|
+
DesyCommonsModule,
|
|
15687
|
+
NgxTippyModule
|
|
15408
15688
|
],
|
|
15409
15689
|
exports: [
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
15690
|
+
AlertComponent,
|
|
15691
|
+
AccordionComponent,
|
|
15692
|
+
AccordionHeaderComponent,
|
|
15693
|
+
AccordionHistoryComponent,
|
|
15694
|
+
AccordionHistoryItemComponent,
|
|
15695
|
+
AccordionItemShowButtonComponent,
|
|
15696
|
+
AccordionItemHideButtonComponent,
|
|
15697
|
+
AccordionItemComponent,
|
|
15698
|
+
DetailsComponent,
|
|
15699
|
+
CollapsibleComponent,
|
|
15700
|
+
DescriptionListComponent,
|
|
15701
|
+
DescriptionItemComponent,
|
|
15702
|
+
TermComponent,
|
|
15703
|
+
DefinitionComponent,
|
|
15704
|
+
ItemComponent,
|
|
15705
|
+
ItemContentBottomComponent,
|
|
15706
|
+
ItemContentRightComponent,
|
|
15707
|
+
ItemItemComponent,
|
|
15708
|
+
MediaObjectComponent,
|
|
15709
|
+
StatusComponent,
|
|
15710
|
+
StatusItemComponent,
|
|
15711
|
+
TabsComponent,
|
|
15712
|
+
TooltipComponent,
|
|
15713
|
+
TooltipContentComponent,
|
|
15714
|
+
PanelComponent,
|
|
15715
|
+
TabItemComponent,
|
|
15716
|
+
MediaObjectFigureComponent,
|
|
15717
|
+
CardComponent,
|
|
15718
|
+
CardLeftComponent,
|
|
15719
|
+
CardRightComponent,
|
|
15720
|
+
CardSuperComponent,
|
|
15721
|
+
CardSubComponent,
|
|
15413
15722
|
]
|
|
15414
15723
|
}]
|
|
15415
15724
|
}] });
|
|
@@ -15424,7 +15733,7 @@ class DesyAngularModule {
|
|
|
15424
15733
|
DesyTablesModule,
|
|
15425
15734
|
DesyViewsModule,
|
|
15426
15735
|
DesyPaginationModule,
|
|
15427
|
-
|
|
15736
|
+
SharedExternalModule], exports: [DesyButtonsModule,
|
|
15428
15737
|
DesyCommonsModule,
|
|
15429
15738
|
DesyFormsModule,
|
|
15430
15739
|
DesyModalsModule,
|
|
@@ -15432,7 +15741,7 @@ class DesyAngularModule {
|
|
|
15432
15741
|
DesyTablesModule,
|
|
15433
15742
|
DesyViewsModule,
|
|
15434
15743
|
DesyPaginationModule,
|
|
15435
|
-
|
|
15744
|
+
SharedExternalModule] }); }
|
|
15436
15745
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyAngularModule, imports: [DesyButtonsModule,
|
|
15437
15746
|
DesyCommonsModule,
|
|
15438
15747
|
DesyFormsModule,
|
|
@@ -15441,7 +15750,7 @@ class DesyAngularModule {
|
|
|
15441
15750
|
DesyTablesModule,
|
|
15442
15751
|
DesyViewsModule,
|
|
15443
15752
|
DesyPaginationModule,
|
|
15444
|
-
|
|
15753
|
+
SharedExternalModule, DesyButtonsModule,
|
|
15445
15754
|
DesyCommonsModule,
|
|
15446
15755
|
DesyFormsModule,
|
|
15447
15756
|
DesyModalsModule,
|
|
@@ -15449,7 +15758,7 @@ class DesyAngularModule {
|
|
|
15449
15758
|
DesyTablesModule,
|
|
15450
15759
|
DesyViewsModule,
|
|
15451
15760
|
DesyPaginationModule,
|
|
15452
|
-
|
|
15761
|
+
SharedExternalModule] }); }
|
|
15453
15762
|
}
|
|
15454
15763
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DesyAngularModule, decorators: [{
|
|
15455
15764
|
type: NgModule,
|
|
@@ -15463,7 +15772,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15463
15772
|
DesyTablesModule,
|
|
15464
15773
|
DesyViewsModule,
|
|
15465
15774
|
DesyPaginationModule,
|
|
15466
|
-
|
|
15775
|
+
SharedExternalModule,
|
|
15467
15776
|
],
|
|
15468
15777
|
exports: [
|
|
15469
15778
|
DesyButtonsModule,
|
|
@@ -15474,10 +15783,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15474
15783
|
DesyTablesModule,
|
|
15475
15784
|
DesyViewsModule,
|
|
15476
15785
|
DesyPaginationModule,
|
|
15477
|
-
|
|
15786
|
+
SharedExternalModule,
|
|
15478
15787
|
]
|
|
15479
15788
|
}]
|
|
15480
15789
|
}] });
|
|
15481
15790
|
|
|
15482
|
-
export { AccordionComponent, AccordionHeaderComponent, AccordionHistoryComponent, AccordionHistoryItemComponent, AccordionItemComponent, AccordionItemHideButtonComponent, AccordionItemShowButtonComponent, AlertComponent, AlertService, BreadcrumbsComponent, BreadcrumbsItemComponent, ButtonComponent, ButtonLoaderComponent, CardComponent, CardLeftComponent, CardRightComponent, CardSubComponent, CardSuperComponent, CharacterCountComponent, CheckboxItemComponent, CheckboxesComponent, CollapsibleComponent, ConditionDirective, ContentComponent, DateInputComponent, DateInputDayComponent, DateInputDividerComponent, DateInputMonthComponent, DateInputYearComponent, DefinitionComponent, DescriptionComponent, DescriptionItemComponent, DescriptionListComponent, DesyAngularModule, DesyButtonsModule, DesyCommonsModule, DesyFormsModule, DesyModalsModule, DesyNavModule, DesyPaginationModule, DesyTablesModule, DesyViewsModule, DetailsComponent, DialogComponent, DialogService, DividerComponent, DropdownComponent, DynamicHeadingDirective, ErrorMessageComponent, ErrorSummaryComponent, ErrorSummaryItemComponent, FieldsetComponent, FileUploadComponent, FooterComponent, FooterMetaComponent, FooterMetaItemComponent, FooterNavigationComponent, FooterNavigationItemComponent, HeaderAdvancedComponent, HeaderAdvancedCustomNavigationComponent, HeaderAdvancedDropdownComponent, HeaderAdvancedLogoComponent, HeaderAdvancedSubComponent, HeaderAdvancedSubtitleComponent, HeaderAdvancedSuperComponent, HeaderAdvancedTitleComponent, HeaderAdvancedTitleContainerComponent, HeaderComponent, HeaderCustomNavigationComponent, HeaderDropdownComponent, HeaderMiniComponent, HeaderMobileTextComponent, HeaderNavigationComponent, HeaderNavigationItemComponent, HeaderOffcanvasButtonComponent, HeaderOffcanvasCloseButtonComponent, HeaderOffcanvasComponent, HeaderSubnavComponent, HintComponent, IconComponent, InputComponent, InputGroupComponent, InputGroupDividerComponent, InputGroupInputComponent, InputGroupSelectComponent, ItemComponent, ItemContentBottomComponent, ItemContentRightComponent, ItemItemComponent, LabelComponent, LegendComponent, LinksListComponent, LinksListItemComponent, LinksListItemSubComponent, ListboxComponent, ListboxItemComponent, ListboxLabelComponent, MediaObjectComponent, MediaObjectFigureComponent, MenuHorizontalComponent, MenuHorizontalItemComponent, MenuNavigationComponent, MenuNavigationItemComponent, MenuNavigationSubitemComponent, MenuVerticalComponent, MenuVerticalItemComponent, MenuVerticalItemSubComponent, MenuVerticalItemSubItemComponent, MenubarComponent, MenubarItemComponent, MenubarLabelComponent, MenubarSubitemComponent, MenubarSubsubitemComponent, ModalButtonLoaderPrimaryComponent, ModalButtonLoaderSecondaryComponent, ModalButtonPrimaryComponent, ModalButtonSecondaryComponent, ModalComponent, NavComponent, NavItemComponent, NotificationComponent, NotificationItemComponent, OptionComponent, OptionGroupComponent, OrderBy, PaginationComponent, PaginationItemPerPageComponent, PaginationListboxLabelComponent, PanelComponent, PillComponent, RadioItemComponent, RadiosComponent, SearchBarComponent, SelectComponent, SkipLinkComponent, SpinnerComponent, StatusComponent, StatusItemComponent, TabItemComponent, TableAdvancedComponent, TableAdvancedFooterCellComponent, TableAdvancedFooterComponent, TableAdvancedHeaderCellComponent, TableAdvancedHeaderComponent, TableAdvancedRowCellComponent, TableAdvancedRowComponent, TableAdvancedSelectComponent, TableCaptionComponent, TableCellComponent, TableComponent, TableFooterComponent, TableHeaderComponent, TableRowComponent, TabsComponent, TermComponent, TextareaComponent, TitleComponent, ToggleComponent, ToggleOffStateComponent, ToggleOnStateComponent, TooltipComponent, TooltipContentComponent, TreeComponent, TreeItemComponent, TreeItemsGeneratorComponent, TreeSubComponent, Type };
|
|
15791
|
+
export { AccordionComponent, AccordionHeaderComponent, AccordionHistoryComponent, AccordionHistoryItemComponent, AccordionItemComponent, AccordionItemHideButtonComponent, AccordionItemShowButtonComponent, AlertComponent, AlertService, BreadcrumbsComponent, BreadcrumbsItemComponent, ButtonComponent, ButtonLoaderComponent, CardComponent, CardLeftComponent, CardRightComponent, CardSubComponent, CardSuperComponent, CharacterCountComponent, CheckboxItemComponent, CheckboxesComponent, CollapsibleComponent, ConditionDirective, ContentComponent, DateInputComponent, DateInputDayComponent, DateInputDividerComponent, DateInputMonthComponent, DateInputYearComponent, DatepickerComponent, DefinitionComponent, DescriptionComponent, DescriptionItemComponent, DescriptionListComponent, DesyAngularModule, DesyButtonsModule, DesyCommonsModule, DesyFormsModule, DesyModalsModule, DesyNavModule, DesyPaginationModule, DesyTablesModule, DesyViewsModule, DetailsComponent, DialogComponent, DialogService, DividerComponent, DropdownComponent, DynamicHeadingDirective, ErrorMessageComponent, ErrorSummaryComponent, ErrorSummaryItemComponent, FieldsetComponent, FileUploadComponent, FooterComponent, FooterMetaComponent, FooterMetaItemComponent, FooterNavigationComponent, FooterNavigationItemComponent, HeaderAdvancedComponent, HeaderAdvancedCustomNavigationComponent, HeaderAdvancedDropdownComponent, HeaderAdvancedLogoComponent, HeaderAdvancedSubComponent, HeaderAdvancedSubtitleComponent, HeaderAdvancedSuperComponent, HeaderAdvancedTitleComponent, HeaderAdvancedTitleContainerComponent, HeaderComponent, HeaderCustomNavigationComponent, HeaderDropdownComponent, HeaderMiniComponent, HeaderMobileTextComponent, HeaderNavigationComponent, HeaderNavigationItemComponent, HeaderOffcanvasButtonComponent, HeaderOffcanvasCloseButtonComponent, HeaderOffcanvasComponent, HeaderSubnavComponent, HintComponent, IconComponent, InputComponent, InputGroupComponent, InputGroupDividerComponent, InputGroupInputComponent, InputGroupSelectComponent, ItemComponent, ItemContentBottomComponent, ItemContentRightComponent, ItemItemComponent, LabelComponent, LegendComponent, LinksListComponent, LinksListIconRightComponent, LinksListItemComponent, LinksListItemSubComponent, ListboxComponent, ListboxItemComponent, ListboxLabelComponent, MediaObjectComponent, MediaObjectFigureComponent, MenuHorizontalComponent, MenuHorizontalItemComponent, MenuNavigationComponent, MenuNavigationItemComponent, MenuNavigationSubitemComponent, MenuVerticalComponent, MenuVerticalItemComponent, MenuVerticalItemSubComponent, MenuVerticalItemSubItemComponent, MenubarComponent, MenubarItemComponent, MenubarLabelComponent, MenubarSubitemComponent, MenubarSubsubitemComponent, ModalButtonLoaderPrimaryComponent, ModalButtonLoaderSecondaryComponent, ModalButtonPrimaryComponent, ModalButtonSecondaryComponent, ModalComponent, NavComponent, NavItemComponent, NotificationComponent, NotificationItemComponent, OptionComponent, OptionGroupComponent, OrderBy, PaginationComponent, PaginationItemPerPageComponent, PaginationListboxLabelComponent, PanelComponent, PillComponent, RadioItemComponent, RadiosComponent, SearchBarComponent, SelectComponent, SharedExternalModule, SkipLinkComponent, SpinnerComponent, StatusComponent, StatusItemComponent, TabItemComponent, TableAdvancedComponent, TableAdvancedFooterCellComponent, TableAdvancedFooterComponent, TableAdvancedHeaderCellComponent, TableAdvancedHeaderComponent, TableAdvancedRowCellComponent, TableAdvancedRowComponent, TableAdvancedSelectComponent, TableCaptionComponent, TableCellComponent, TableComponent, TableFooterComponent, TableHeaderComponent, TableRowComponent, TabsComponent, TermComponent, TextareaComponent, TitleComponent, ToggleComponent, ToggleOffStateComponent, ToggleOnStateComponent, TooltipComponent, TooltipContentComponent, TreeComponent, TreeItemComponent, TreeItemsGeneratorComponent, TreeSubComponent, Type };
|
|
15483
15792
|
//# sourceMappingURL=desy-angular.mjs.map
|