adb-shared 7.0.7 → 7.0.8

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.
@@ -242,9 +242,11 @@ class RouterLinkActiveFragmentDirective {
242
242
  }
243
243
  if (isActive) {
244
244
  this.renderer.setAttribute(this.el.nativeElement, 'aria-current', 'page');
245
+ this.renderer.setAttribute(this.el.nativeElement, 'tabindex', '-1');
245
246
  }
246
247
  else {
247
248
  this.renderer.removeAttribute(this.el.nativeElement, 'aria-current');
249
+ this.renderer.removeAttribute(this.el.nativeElement, 'tabindex');
248
250
  }
249
251
  }
250
252
  ngOnDestroy() {
@@ -2041,11 +2043,11 @@ class FilterSectionComponent {
2041
2043
  templateSignal = contentChild(TemplateRef, ...(ngDevMode ? [{ debugName: "templateSignal" }] : /* istanbul ignore next */ []));
2042
2044
  id = `filter-section-${Math.floor(Math.random() * Date.now())}`;
2043
2045
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FilterSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2044
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: FilterSectionComponent, isStandalone: false, selector: "adb-filter-section", inputs: { countSignal: { classPropertyName: "countSignal", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, titleResourceSignal: { classPropertyName: "titleResourceSignal", publicName: "titleResource", isSignal: true, isRequired: false, transformFunction: null }, helpResourceSignal: { classPropertyName: "helpResourceSignal", publicName: "helpResource", isSignal: true, isRequired: false, transformFunction: null }, lazySignal: { classPropertyName: "lazySignal", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, expandedSignal: { classPropertyName: "expandedSignal", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandedSignal: "expandedChange" }, queries: [{ propertyName: "templateSignal", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: "<button [attr.aria-expanded]=\"expandedSignal()\" [attr.aria-controls]=\"id\" class=\"btn btn-invisible px-1\" type=\"button\" (click)=\"expandedSignal.update(value => !value)\">\r\n <div class=\"d-flex align-items-center gap-1 flex-wrap\">\r\n @if (countSignal() > 0) {\r\n <div class=\"badge bg-primary\">{{ countSignal() }}</div>\r\n }\r\n <div class=\"d-flex align-items-center\">\r\n <span [ngClass]=\"expandedSignal()? 'bi bi-chevron-down': 'bi bi-chevron-right'\"></span>{{ titleResourceSignal() | translate }}\r\n </div>\r\n @if (helpResourceSignal()) {\r\n <adb-help-button (click)=\"$event.stopPropagation()\">\r\n <adb-rich-text [text]=\"helpResourceSignal() | translate\"></adb-rich-text>\r\n </adb-help-button>\r\n }\r\n </div>\r\n</button>\r\n@if (expandedSignal()) {\r\n<div class=\"px-3 pb-3 border-bottom\" [id]=\"id\">\r\n @if (lazySignal() && templateSignal()) {\r\n <ng-container *ngTemplateOutlet=\"templateSignal()\"></ng-container>\r\n } @else {\r\n <ng-content></ng-content>\r\n }\r\n</div>\r\n}", dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdbHelpButtonComponent, selector: "adb-help-button", inputs: ["buttonClass", "label"] }, { kind: "component", type: RichTextComponent, selector: "adb-rich-text", inputs: ["text"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
2046
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.21", type: FilterSectionComponent, isStandalone: false, selector: "adb-filter-section", inputs: { countSignal: { classPropertyName: "countSignal", publicName: "count", isSignal: true, isRequired: false, transformFunction: null }, titleResourceSignal: { classPropertyName: "titleResourceSignal", publicName: "titleResource", isSignal: true, isRequired: false, transformFunction: null }, helpResourceSignal: { classPropertyName: "helpResourceSignal", publicName: "helpResource", isSignal: true, isRequired: false, transformFunction: null }, lazySignal: { classPropertyName: "lazySignal", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, expandedSignal: { classPropertyName: "expandedSignal", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandedSignal: "expandedChange" }, queries: [{ propertyName: "templateSignal", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: "<button [attr.aria-expanded]=\"expandedSignal()\" [attr.aria-controls]=\"id\" class=\"btn btn-invisible px-1\" type=\"button\" (click)=\"expandedSignal.update(value => !value)\">\r\n <div class=\"d-flex align-items-center gap-1 flex-wrap\">\r\n <div class=\"d-flex align-items-center\">\r\n <span [ngClass]=\"expandedSignal()? 'bi bi-chevron-down': 'bi bi-chevron-right'\"></span>{{ titleResourceSignal() | translate }}\r\n </div>\r\n @if (countSignal() > 0) {\r\n <div class=\"badge bg-primary\">{{ countSignal() }}</div>\r\n }\r\n @if (helpResourceSignal()) {\r\n <adb-help-button (click)=\"$event.stopPropagation()\">\r\n <adb-rich-text [text]=\"helpResourceSignal() | translate\"></adb-rich-text>\r\n </adb-help-button>\r\n }\r\n </div>\r\n</button>\r\n@if (expandedSignal()) {\r\n<div class=\"px-3 pb-3 border-bottom\" [id]=\"id\">\r\n @if (lazySignal() && templateSignal()) {\r\n <ng-container *ngTemplateOutlet=\"templateSignal()\"></ng-container>\r\n } @else {\r\n <ng-content></ng-content>\r\n }\r\n</div>\r\n}\r\n", dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdbHelpButtonComponent, selector: "adb-help-button", inputs: ["buttonClass", "label"] }, { kind: "component", type: RichTextComponent, selector: "adb-rich-text", inputs: ["text"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
2045
2047
  }
2046
2048
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.21", ngImport: i0, type: FilterSectionComponent, decorators: [{
2047
2049
  type: Component,
2048
- args: [{ selector: 'adb-filter-section', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<button [attr.aria-expanded]=\"expandedSignal()\" [attr.aria-controls]=\"id\" class=\"btn btn-invisible px-1\" type=\"button\" (click)=\"expandedSignal.update(value => !value)\">\r\n <div class=\"d-flex align-items-center gap-1 flex-wrap\">\r\n @if (countSignal() > 0) {\r\n <div class=\"badge bg-primary\">{{ countSignal() }}</div>\r\n }\r\n <div class=\"d-flex align-items-center\">\r\n <span [ngClass]=\"expandedSignal()? 'bi bi-chevron-down': 'bi bi-chevron-right'\"></span>{{ titleResourceSignal() | translate }}\r\n </div>\r\n @if (helpResourceSignal()) {\r\n <adb-help-button (click)=\"$event.stopPropagation()\">\r\n <adb-rich-text [text]=\"helpResourceSignal() | translate\"></adb-rich-text>\r\n </adb-help-button>\r\n }\r\n </div>\r\n</button>\r\n@if (expandedSignal()) {\r\n<div class=\"px-3 pb-3 border-bottom\" [id]=\"id\">\r\n @if (lazySignal() && templateSignal()) {\r\n <ng-container *ngTemplateOutlet=\"templateSignal()\"></ng-container>\r\n } @else {\r\n <ng-content></ng-content>\r\n }\r\n</div>\r\n}" }]
2050
+ args: [{ selector: 'adb-filter-section', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<button [attr.aria-expanded]=\"expandedSignal()\" [attr.aria-controls]=\"id\" class=\"btn btn-invisible px-1\" type=\"button\" (click)=\"expandedSignal.update(value => !value)\">\r\n <div class=\"d-flex align-items-center gap-1 flex-wrap\">\r\n <div class=\"d-flex align-items-center\">\r\n <span [ngClass]=\"expandedSignal()? 'bi bi-chevron-down': 'bi bi-chevron-right'\"></span>{{ titleResourceSignal() | translate }}\r\n </div>\r\n @if (countSignal() > 0) {\r\n <div class=\"badge bg-primary\">{{ countSignal() }}</div>\r\n }\r\n @if (helpResourceSignal()) {\r\n <adb-help-button (click)=\"$event.stopPropagation()\">\r\n <adb-rich-text [text]=\"helpResourceSignal() | translate\"></adb-rich-text>\r\n </adb-help-button>\r\n }\r\n </div>\r\n</button>\r\n@if (expandedSignal()) {\r\n<div class=\"px-3 pb-3 border-bottom\" [id]=\"id\">\r\n @if (lazySignal() && templateSignal()) {\r\n <ng-container *ngTemplateOutlet=\"templateSignal()\"></ng-container>\r\n } @else {\r\n <ng-content></ng-content>\r\n }\r\n</div>\r\n}\r\n" }]
2049
2051
  }], propDecorators: { countSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "count", required: false }] }], titleResourceSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleResource", required: false }] }], helpResourceSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "helpResource", required: false }] }], lazySignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], expandedSignal: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }, { type: i0.Output, args: ["expandedChange"] }], templateSignal: [{ type: i0.ContentChild, args: [i0.forwardRef(() => TemplateRef), { isSignal: true }] }] } });
2050
2052
 
2051
2053
  class AdbFilterSectionModule {