aeb-ui-kit 8.0.0-preview.909 → 8.0.0-preview.913

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.
@@ -4,14 +4,13 @@ import * as i1 from '@angular/common';
4
4
  import { CommonModule, DOCUMENT, formatDate, formatNumber } from '@angular/common';
5
5
  import * as i1$1 from '@angular/forms';
6
6
  import { NG_VALUE_ACCESSOR, FormsModule, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
7
- import { timer, map, takeUntil, Observable, BehaviorSubject, Subject, Subscription, withLatestFrom, filter, switchMap, take, merge, startWith, mergeMap, iif, of, tap, fromEvent } from 'rxjs';
7
+ import { timer, map, takeUntil, Observable, BehaviorSubject, Subject, Subscription, withLatestFrom, filter, switchMap, take, merge, startWith, mergeMap, iif, of, tap } from 'rxjs';
8
8
  import { trigger, state, style, transition, animate } from '@angular/animations';
9
9
  import * as i2 from '@angular/platform-browser';
10
10
  import { provideNgxMask } from 'ngx-mask';
11
11
  import { addWeeks, addDays, isSameMonth, getWeeksInMonth, startOfMonth, startOfWeek, addMonths, subMonths, eachYearOfInterval, getYear, addYears, subYears, differenceInYears, startOfYear, isToday, isValid, isSameDay, getMonth, setMonth, areIntervalsOverlapping, startOfDay, endOfDay, parse, format, getDaysInMonth, isExists, compareAsc, getDate } from 'date-fns';
12
12
  import { ru } from 'date-fns/locale';
13
13
  import '@angular/common/locales/global/ru';
14
- import { debounceTime } from 'rxjs/operators';
15
14
 
16
15
  class AccordionComponent {
17
16
  constructor() {
@@ -1254,33 +1253,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
1254
1253
  }] });
1255
1254
 
1256
1255
  class ClickOutsideDirective {
1257
- constructor(element, _ngZone) {
1258
- this.element = element;
1259
- this._ngZone = _ngZone;
1256
+ constructor(elementRef) {
1257
+ this.elementRef = elementRef;
1260
1258
  this.clickOutside = new EventEmitter();
1261
- this.handleDocumentClick = (event) => {
1262
- const contain = this.element.nativeElement.contains(event.target);
1263
- if (!contain) {
1264
- this._ngZone.run(() => this.clickOutside.emit(event));
1265
- }
1266
- };
1267
- this.initListeners();
1268
1259
  }
1269
- ngOnDestroy() {
1270
- this.removeListeners();
1271
- }
1272
- initListeners() {
1273
- this._ngZone.runOutsideAngular(() => {
1274
- document.addEventListener('click', this.handleDocumentClick);
1275
- });
1276
- }
1277
- removeListeners() {
1278
- this._ngZone.runOutsideAngular(() => {
1279
- document.removeEventListener('click', this.handleDocumentClick);
1280
- });
1260
+ onClick(event) {
1261
+ const clickedInside = this.elementRef.nativeElement.contains(event.target);
1262
+ if (!clickedInside) {
1263
+ this.clickOutside.emit(event);
1264
+ }
1281
1265
  }
1282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1283
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.1", type: ClickOutsideDirective, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, ngImport: i0 }); }
1266
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1267
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.1", type: ClickOutsideDirective, isStandalone: true, selector: "[clickOutside]", outputs: { clickOutside: "clickOutside" }, host: { listeners: { "document:click": "onClick($event)" } }, ngImport: i0 }); }
1284
1268
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideDirective }); }
1285
1269
  }
1286
1270
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideDirective, decorators: [{
@@ -1288,26 +1272,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
1288
1272
  }, {
1289
1273
  type: Directive,
1290
1274
  args: [{
1291
- selector: '[clickOutside]'
1275
+ selector: '[clickOutside]',
1276
+ standalone: true
1292
1277
  }]
1293
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { clickOutside: [{
1278
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { clickOutside: [{
1294
1279
  type: Output
1280
+ }], onClick: [{
1281
+ type: HostListener,
1282
+ args: ['document:click', ['$event']]
1295
1283
  }] } });
1296
1284
 
1297
- class ClickOutsideModule {
1298
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1299
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideModule, declarations: [ClickOutsideDirective], imports: [CommonModule], exports: [ClickOutsideDirective] }); }
1300
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideModule, imports: [CommonModule] }); }
1301
- }
1302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ClickOutsideModule, decorators: [{
1303
- type: NgModule,
1304
- args: [{
1305
- declarations: [ClickOutsideDirective],
1306
- imports: [CommonModule],
1307
- exports: [ClickOutsideDirective]
1308
- }]
1309
- }] });
1310
-
1311
1285
  const range = (min, max) => [...new Array(max - min)].map((_, idx) => idx + min);
1312
1286
  class MaskUtilsService {
1313
1287
  static { this.allowedKeys = [
@@ -2267,12 +2241,12 @@ class DatepickerModule {
2267
2241
  DatepickerCoreComponent,
2268
2242
  DatepickerMonthComponent,
2269
2243
  DateToStrPipe,
2270
- DatepickerTilesComponent], imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideModule], exports: [DatepickerComponent,
2244
+ DatepickerTilesComponent], imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideDirective], exports: [DatepickerComponent,
2271
2245
  DatepickerCoreComponent,
2272
2246
  DatepickerMonthComponent,
2273
2247
  DateToStrPipe,
2274
2248
  DatepickerTilesComponent] }); }
2275
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DatepickerModule, providers: [provideNgxMask(maskConfig)], imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideModule] }); }
2249
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DatepickerModule, providers: [provideNgxMask(maskConfig)], imports: [CommonModule, FormFieldModule, FormsModule] }); }
2276
2250
  }
2277
2251
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DatepickerModule, decorators: [{
2278
2252
  type: NgModule,
@@ -2284,7 +2258,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
2284
2258
  DateToStrPipe,
2285
2259
  DatepickerTilesComponent
2286
2260
  ],
2287
- imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideModule],
2261
+ imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideDirective],
2288
2262
  exports: [
2289
2263
  DatepickerComponent,
2290
2264
  DatepickerCoreComponent,
@@ -2702,12 +2676,11 @@ class DropdownModule {
2702
2676
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2703
2677
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: DropdownModule, declarations: [DropdownComponent, DropdownContainerComponent], imports: [CommonModule,
2704
2678
  FormFieldModule,
2705
- ClickOutsideModule,
2679
+ ClickOutsideDirective,
2706
2680
  FormsModule,
2707
2681
  ReactiveFormsModule], exports: [DropdownComponent] }); }
2708
2682
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DropdownModule, imports: [CommonModule,
2709
2683
  FormFieldModule,
2710
- ClickOutsideModule,
2711
2684
  FormsModule,
2712
2685
  ReactiveFormsModule] }); }
2713
2686
  }
@@ -2718,7 +2691,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
2718
2691
  imports: [
2719
2692
  CommonModule,
2720
2693
  FormFieldModule,
2721
- ClickOutsideModule,
2694
+ ClickOutsideDirective,
2722
2695
  FormsModule,
2723
2696
  ReactiveFormsModule
2724
2697
  ],
@@ -3966,8 +3939,12 @@ class SelectComponent {
3966
3939
  this.disabled = false;
3967
3940
  this.direction = 'bottom';
3968
3941
  this.optionSelect = new EventEmitter();
3942
+ this.isSelect = true;
3969
3943
  this.isOpen = false;
3970
3944
  }
3945
+ clickOutside() {
3946
+ this.handleClickOutside();
3947
+ }
3971
3948
  get selectedOption() {
3972
3949
  if (this.options) {
3973
3950
  return this.options.find((option) => option.value === this._value);
@@ -4034,23 +4011,28 @@ class SelectComponent {
4034
4011
  this.cdr.detectChanges();
4035
4012
  }
4036
4013
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SelectComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
4037
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SelectComponent, selector: "aeb-select", inputs: { label: "label", options: "options", hasError: "hasError", disabled: "disabled", direction: "direction" }, outputs: { optionSelect: "optionSelect" }, providers: [
4014
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SelectComponent, selector: "aeb-select", inputs: { label: "label", options: "options", hasError: "hasError", disabled: "disabled", direction: "direction" }, outputs: { optionSelect: "optionSelect" }, host: { listeners: { "clickOutside": "clickOutside()" }, properties: { "class.disabled": "this.disabled", "class.aeb-select": "this.isSelect" } }, providers: [
4038
4015
  {
4039
4016
  provide: NG_VALUE_ACCESSOR,
4040
4017
  useExisting: forwardRef(() => SelectComponent),
4041
4018
  multi: true
4042
4019
  }
4043
- ], ngImport: i0, template: "<div\n class=\"aeb-select\"\n [ngClass]=\"{ disabled }\"\n (clickOutside)=\"handleClickOutside()\"\n>\n <label\n class=\"aeb-select-float-label\"\n [ngClass]=\"{\n error: hasError,\n placeholder: !selectedOption,\n float: selectedOption,\n open: isOpen && selectedOption,\n top: direction === 'top',\n disabled\n }\"\n (click)=\"openDropdown()\"\n >\n {{ label }}\n </label>\n <div\n class=\"aeb-select-selected-item\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"openDropdown()\"\n >\n <div *ngIf=\"selectedOption\" class=\"aeb-select-selected-item-text\">\n {{ selectedOption.label }}\n </div>\n </div>\n\n <div\n class=\"aeb-select-icon\"\n [ngClass]=\"{ open: isOpen }\"\n [ngSwitch]=\"disabled\"\n >\n <svg\n *ngSwitchCase=\"false\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 14L11.9293 10.0707C11.9683 10.0317 12.0317 10.0317 12.0707 10.0707L16 14\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n <svg\n *ngSwitchCase=\"true\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"3\"\n y=\"7\"\n width=\"18\"\n height=\"16\"\n rx=\"3\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n <path\n d=\"M8.24682 7C8.08719 6.59903 8 6.16547 8 5.713C8 3.66237 9.79086 2 12 2C14.2091 2 16 3.66237 16 5.713C16 6.16547 15.9128 6.59903 15.7532 7\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n </svg>\n </div>\n\n <ul\n class=\"aeb-select-menu\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n >\n <li\n class=\"aeb-select-item\"\n [ngClass]=\"{\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"setValue(option.value)\"\n *ngFor=\"let option of options\"\n >\n {{ option.label }}\n </li>\n </ul>\n</div>\n", styles: [".aeb-select{position:relative;display:flex;width:100%;font-size:var(--font-size-m);color:var(--color-mono-900);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-select.disabled{cursor:default}.aeb-select .aeb-select-icon{position:absolute;top:16px;right:16px;width:24px;height:24px;pointer-events:none;transition:all cubic-bezier(.4,0,.2,1) .2s}.aeb-select .aeb-select-icon.open{transform:rotate(180deg)}.aeb-select .aeb-select-icon.open path{stroke:var(--color-blue-500)}.aeb-select .aeb-select-selected-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:56px;padding-right:26px;padding-left:16px;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);border-radius:var(--border-medium-rounded)}.aeb-select .aeb-select-selected-item-text{width:100%;margin-right:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeb-select .aeb-select-selected-item.open{border-color:var(--color-blue-500)}.aeb-select .aeb-select-selected-item.open.top{border-top:0;padding-top:2px;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select .aeb-select-selected-item.open.bottom{border-bottom:0;padding-bottom:2px;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0}.aeb-select .aeb-select-selected-item.error{color:var(--color-red-500);background:var(--color-mono-0);border-color:var(--color-red-500)}.aeb-select .aeb-select-float-label{position:absolute;left:16px;font-size:var(--font-size-xxs);color:var(--color-mono-300);background:var(--color-mono-0)}.aeb-select .aeb-select-float-label.open{color:var(--color-blue-500)}.aeb-select .aeb-select-float-label.open.top{visibility:hidden}.aeb-select .aeb-select-float-label.error{color:var(--color-red-500)}.aeb-select .aeb-select-float-label.float{top:-6px;padding:0 5px}.aeb-select .aeb-select-float-label.placeholder{color:var(--color-mono-300);cursor:pointer;top:18px;font-size:var(--font-size-m);font-weight:var(--font-weight-regular);line-height:20px;background:var(--color-mono-0);border-radius:var(--border-medium-rounded)}.aeb-select .aeb-select-float-label.placeholder.error{color:var(--color-red-500)}.aeb-select .aeb-select-float-label.placeholder.disabled{cursor:default}.aeb-select .aeb-select-menu{position:absolute;z-index:2;box-sizing:border-box;display:none;width:100%;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);padding:0;margin:0;list-style:none}.aeb-select .aeb-select-menu.bottom{top:100%;border-top:none;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select .aeb-select-menu.top{top:0;overflow:hidden;border-bottom:none;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0;transform:translateY(-100%)}.aeb-select .aeb-select-menu.open{display:block;border-color:var(--color-blue-500)}.aeb-select .aeb-select-menu.error{border-color:var(--color-red-500)}.aeb-select .aeb-select-menu .aeb-select-item{padding:18px 14px;height:20px;line-height:20px}.aeb-select .aeb-select-menu .aeb-select-item.active,.aeb-select .aeb-select-menu .aeb-select-item:hover{background-color:var(--color-blue-50)}.aeb-select .aeb-select-menu .aeb-select-item.bottom:last-child{border-radius:0 0 calc(var(--border-medium-rounded) - var(--border-skinny)) calc(var(--border-medium-rounded) - var(--border-skinny))}\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: ClickOutsideDirective, selector: "[clickOutside]", outputs: ["clickOutside"] }], encapsulation: i0.ViewEncapsulation.None }); }
4020
+ ], hostDirectives: [{ directive: ClickOutsideDirective, outputs: ["clickOutside", "clickOutside"] }], ngImport: i0, template: "<div\n class=\"aeb-select__selected-item\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"openDropdown()\"\n>\n <label\n class=\"aeb-select__label\"\n [ngClass]=\"{\n error: hasError,\n placeholder: !selectedOption,\n float: selectedOption,\n open: isOpen && selectedOption,\n top: direction === 'top',\n disabled\n }\"\n (click)=\"openDropdown()\"\n >\n {{ label }}\n </label>\n <div *ngIf=\"selectedOption\" class=\"aeb-select__selected-item-text\">\n {{ selectedOption.label }}\n </div>\n</div>\n\n<div\n class=\"aeb-select__icon\"\n [ngClass]=\"{ open: isOpen }\"\n [ngSwitch]=\"disabled\"\n>\n <svg\n *ngSwitchCase=\"false\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 14L11.9293 10.0707C11.9683 10.0317 12.0317 10.0317 12.0707 10.0707L16 14\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n <svg\n *ngSwitchCase=\"true\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"3\"\n y=\"7\"\n width=\"18\"\n height=\"16\"\n rx=\"3\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n <path\n d=\"M8.24682 7C8.08719 6.59903 8 6.16547 8 5.713C8 3.66237 9.79086 2 12 2C14.2091 2 16 3.66237 16 5.713C16 6.16547 15.9128 6.59903 15.7532 7\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n </svg>\n</div>\n\n<ul\n class=\"aeb-select__menu\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n>\n <li\n class=\"aeb-select__menu-item\"\n [ngClass]=\"{\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"setValue(option.value)\"\n *ngFor=\"let option of options\"\n >\n {{ option.label }}\n </li>\n</ul>\n", styles: [".aeb-select{position:relative;display:flex;width:100%;min-width:262px;font-size:var(--font-size-m);color:var(--color-mono-900);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-select.disabled{cursor:default}.aeb-select__selected-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:56px;padding-right:52px;padding-left:14px;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);border-radius:var(--border-medium-rounded)}.aeb-select__selected-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeb-select__selected-item.open{border-color:var(--color-blue-500)}.aeb-select__selected-item.open.top{border-top:0;padding-top:2px;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select__selected-item.open.bottom{border-bottom:0;padding-bottom:2px;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0}.aeb-select__selected-item.error{color:var(--color-red-500);background:var(--color-mono-0);border-color:var(--color-red-500)}.aeb-select__label{width:fit-content;text-overflow:ellipsis;font-size:var(--font-size-xxs);color:var(--color-mono-300);background:var(--color-mono-0);white-space:nowrap;overflow:hidden}.aeb-select__label.open{color:var(--color-blue-500)}.aeb-select__label.open.top{visibility:hidden}.aeb-select__label.error{color:var(--color-red-500)}.aeb-select__label.float{position:absolute;width:fit-content;left:16px;top:-6px;padding:0 5px}.aeb-select__label.placeholder{width:100%;color:var(--color-mono-300);cursor:pointer;top:18px;font-size:var(--font-size-m);font-weight:var(--font-weight-regular);line-height:20px;background:var(--color-mono-0);border-radius:var(--border-medium-rounded);text-overflow:ellipsis;pointer-events:none}.aeb-select__label.placeholder.error{color:var(--color-red-500)}.aeb-select__label.placeholder.disabled{cursor:default}.aeb-select__icon{position:absolute;top:16px;right:16px;width:24px;height:24px;pointer-events:none;transition:all cubic-bezier(.4,0,.2,1) .2s}.aeb-select__icon.open{transform:rotate(180deg)}.aeb-select__icon.open path{stroke:var(--color-blue-500)}.aeb-select__menu{position:absolute;z-index:2;box-sizing:border-box;display:none;width:100%;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);padding:0;margin:0;list-style:none;white-space:nowrap}.aeb-select__menu.bottom{top:100%;border-top:none;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select__menu.top{top:0;overflow:hidden;border-bottom:none;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0;transform:translateY(-100%)}.aeb-select__menu.open{display:block;border-color:var(--color-blue-500)}.aeb-select__menu.error{border-color:var(--color-red-500)}.aeb-select__menu-item{padding:18px 14px;height:20px;line-height:20px;text-overflow:ellipsis;overflow:hidden}.aeb-select__menu-item.active,.aeb-select__menu-item:hover{background-color:var(--color-blue-50)}.aeb-select__menu-item.bottom:last-child{border-radius:0 0 calc(var(--border-medium-rounded) - var(--border-skinny)) calc(var(--border-medium-rounded) - var(--border-skinny))}\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"] }], encapsulation: i0.ViewEncapsulation.None }); }
4044
4021
  }
4045
4022
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SelectComponent, decorators: [{
4046
4023
  type: Component,
4047
- args: [{ selector: 'aeb-select', encapsulation: ViewEncapsulation.None, providers: [
4024
+ args: [{ selector: 'aeb-select', encapsulation: ViewEncapsulation.None, hostDirectives: [
4025
+ {
4026
+ directive: ClickOutsideDirective,
4027
+ outputs: ['clickOutside']
4028
+ }
4029
+ ], providers: [
4048
4030
  {
4049
4031
  provide: NG_VALUE_ACCESSOR,
4050
4032
  useExisting: forwardRef(() => SelectComponent),
4051
4033
  multi: true
4052
4034
  }
4053
- ], template: "<div\n class=\"aeb-select\"\n [ngClass]=\"{ disabled }\"\n (clickOutside)=\"handleClickOutside()\"\n>\n <label\n class=\"aeb-select-float-label\"\n [ngClass]=\"{\n error: hasError,\n placeholder: !selectedOption,\n float: selectedOption,\n open: isOpen && selectedOption,\n top: direction === 'top',\n disabled\n }\"\n (click)=\"openDropdown()\"\n >\n {{ label }}\n </label>\n <div\n class=\"aeb-select-selected-item\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"openDropdown()\"\n >\n <div *ngIf=\"selectedOption\" class=\"aeb-select-selected-item-text\">\n {{ selectedOption.label }}\n </div>\n </div>\n\n <div\n class=\"aeb-select-icon\"\n [ngClass]=\"{ open: isOpen }\"\n [ngSwitch]=\"disabled\"\n >\n <svg\n *ngSwitchCase=\"false\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 14L11.9293 10.0707C11.9683 10.0317 12.0317 10.0317 12.0707 10.0707L16 14\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n <svg\n *ngSwitchCase=\"true\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"3\"\n y=\"7\"\n width=\"18\"\n height=\"16\"\n rx=\"3\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n <path\n d=\"M8.24682 7C8.08719 6.59903 8 6.16547 8 5.713C8 3.66237 9.79086 2 12 2C14.2091 2 16 3.66237 16 5.713C16 6.16547 15.9128 6.59903 15.7532 7\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n </svg>\n </div>\n\n <ul\n class=\"aeb-select-menu\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n >\n <li\n class=\"aeb-select-item\"\n [ngClass]=\"{\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"setValue(option.value)\"\n *ngFor=\"let option of options\"\n >\n {{ option.label }}\n </li>\n </ul>\n</div>\n", styles: [".aeb-select{position:relative;display:flex;width:100%;font-size:var(--font-size-m);color:var(--color-mono-900);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-select.disabled{cursor:default}.aeb-select .aeb-select-icon{position:absolute;top:16px;right:16px;width:24px;height:24px;pointer-events:none;transition:all cubic-bezier(.4,0,.2,1) .2s}.aeb-select .aeb-select-icon.open{transform:rotate(180deg)}.aeb-select .aeb-select-icon.open path{stroke:var(--color-blue-500)}.aeb-select .aeb-select-selected-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:56px;padding-right:26px;padding-left:16px;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);border-radius:var(--border-medium-rounded)}.aeb-select .aeb-select-selected-item-text{width:100%;margin-right:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeb-select .aeb-select-selected-item.open{border-color:var(--color-blue-500)}.aeb-select .aeb-select-selected-item.open.top{border-top:0;padding-top:2px;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select .aeb-select-selected-item.open.bottom{border-bottom:0;padding-bottom:2px;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0}.aeb-select .aeb-select-selected-item.error{color:var(--color-red-500);background:var(--color-mono-0);border-color:var(--color-red-500)}.aeb-select .aeb-select-float-label{position:absolute;left:16px;font-size:var(--font-size-xxs);color:var(--color-mono-300);background:var(--color-mono-0)}.aeb-select .aeb-select-float-label.open{color:var(--color-blue-500)}.aeb-select .aeb-select-float-label.open.top{visibility:hidden}.aeb-select .aeb-select-float-label.error{color:var(--color-red-500)}.aeb-select .aeb-select-float-label.float{top:-6px;padding:0 5px}.aeb-select .aeb-select-float-label.placeholder{color:var(--color-mono-300);cursor:pointer;top:18px;font-size:var(--font-size-m);font-weight:var(--font-weight-regular);line-height:20px;background:var(--color-mono-0);border-radius:var(--border-medium-rounded)}.aeb-select .aeb-select-float-label.placeholder.error{color:var(--color-red-500)}.aeb-select .aeb-select-float-label.placeholder.disabled{cursor:default}.aeb-select .aeb-select-menu{position:absolute;z-index:2;box-sizing:border-box;display:none;width:100%;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);padding:0;margin:0;list-style:none}.aeb-select .aeb-select-menu.bottom{top:100%;border-top:none;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select .aeb-select-menu.top{top:0;overflow:hidden;border-bottom:none;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0;transform:translateY(-100%)}.aeb-select .aeb-select-menu.open{display:block;border-color:var(--color-blue-500)}.aeb-select .aeb-select-menu.error{border-color:var(--color-red-500)}.aeb-select .aeb-select-menu .aeb-select-item{padding:18px 14px;height:20px;line-height:20px}.aeb-select .aeb-select-menu .aeb-select-item.active,.aeb-select .aeb-select-menu .aeb-select-item:hover{background-color:var(--color-blue-50)}.aeb-select .aeb-select-menu .aeb-select-item.bottom:last-child{border-radius:0 0 calc(var(--border-medium-rounded) - var(--border-skinny)) calc(var(--border-medium-rounded) - var(--border-skinny))}\n"] }]
4035
+ ], template: "<div\n class=\"aeb-select__selected-item\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"openDropdown()\"\n>\n <label\n class=\"aeb-select__label\"\n [ngClass]=\"{\n error: hasError,\n placeholder: !selectedOption,\n float: selectedOption,\n open: isOpen && selectedOption,\n top: direction === 'top',\n disabled\n }\"\n (click)=\"openDropdown()\"\n >\n {{ label }}\n </label>\n <div *ngIf=\"selectedOption\" class=\"aeb-select__selected-item-text\">\n {{ selectedOption.label }}\n </div>\n</div>\n\n<div\n class=\"aeb-select__icon\"\n [ngClass]=\"{ open: isOpen }\"\n [ngSwitch]=\"disabled\"\n>\n <svg\n *ngSwitchCase=\"false\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8 14L11.9293 10.0707C11.9683 10.0317 12.0317 10.0317 12.0707 10.0707L16 14\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n <svg\n *ngSwitchCase=\"true\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <rect\n x=\"3\"\n y=\"7\"\n width=\"18\"\n height=\"16\"\n rx=\"3\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n <path\n d=\"M8.24682 7C8.08719 6.59903 8 6.16547 8 5.713C8 3.66237 9.79086 2 12 2C14.2091 2 16 3.66237 16 5.713C16 6.16547 15.9128 6.59903 15.7532 7\"\n stroke=\"#A9B0B9\"\n stroke-width=\"2\"\n />\n </svg>\n</div>\n\n<ul\n class=\"aeb-select__menu\"\n [ngClass]=\"{\n open: isOpen,\n error: hasError,\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n>\n <li\n class=\"aeb-select__menu-item\"\n [ngClass]=\"{\n top: direction === 'top',\n bottom: direction === 'bottom'\n }\"\n (click)=\"setValue(option.value)\"\n *ngFor=\"let option of options\"\n >\n {{ option.label }}\n </li>\n</ul>\n", styles: [".aeb-select{position:relative;display:flex;width:100%;min-width:262px;font-size:var(--font-size-m);color:var(--color-mono-900);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-select.disabled{cursor:default}.aeb-select__selected-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:56px;padding-right:52px;padding-left:14px;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);border-radius:var(--border-medium-rounded)}.aeb-select__selected-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeb-select__selected-item.open{border-color:var(--color-blue-500)}.aeb-select__selected-item.open.top{border-top:0;padding-top:2px;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select__selected-item.open.bottom{border-bottom:0;padding-bottom:2px;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0}.aeb-select__selected-item.error{color:var(--color-red-500);background:var(--color-mono-0);border-color:var(--color-red-500)}.aeb-select__label{width:fit-content;text-overflow:ellipsis;font-size:var(--font-size-xxs);color:var(--color-mono-300);background:var(--color-mono-0);white-space:nowrap;overflow:hidden}.aeb-select__label.open{color:var(--color-blue-500)}.aeb-select__label.open.top{visibility:hidden}.aeb-select__label.error{color:var(--color-red-500)}.aeb-select__label.float{position:absolute;width:fit-content;left:16px;top:-6px;padding:0 5px}.aeb-select__label.placeholder{width:100%;color:var(--color-mono-300);cursor:pointer;top:18px;font-size:var(--font-size-m);font-weight:var(--font-weight-regular);line-height:20px;background:var(--color-mono-0);border-radius:var(--border-medium-rounded);text-overflow:ellipsis;pointer-events:none}.aeb-select__label.placeholder.error{color:var(--color-red-500)}.aeb-select__label.placeholder.disabled{cursor:default}.aeb-select__icon{position:absolute;top:16px;right:16px;width:24px;height:24px;pointer-events:none;transition:all cubic-bezier(.4,0,.2,1) .2s}.aeb-select__icon.open{transform:rotate(180deg)}.aeb-select__icon.open path{stroke:var(--color-blue-500)}.aeb-select__menu{position:absolute;z-index:2;box-sizing:border-box;display:none;width:100%;background:var(--color-mono-0);border:var(--border-skinny) solid var(--color-mono-300);padding:0;margin:0;list-style:none;white-space:nowrap}.aeb-select__menu.bottom{top:100%;border-top:none;border-radius:0 0 var(--border-medium-rounded) var(--border-medium-rounded)}.aeb-select__menu.top{top:0;overflow:hidden;border-bottom:none;border-radius:var(--border-medium-rounded) var(--border-medium-rounded) 0 0;transform:translateY(-100%)}.aeb-select__menu.open{display:block;border-color:var(--color-blue-500)}.aeb-select__menu.error{border-color:var(--color-red-500)}.aeb-select__menu-item{padding:18px 14px;height:20px;line-height:20px;text-overflow:ellipsis;overflow:hidden}.aeb-select__menu-item.active,.aeb-select__menu-item:hover{background-color:var(--color-blue-50)}.aeb-select__menu-item.bottom:last-child{border-radius:0 0 calc(var(--border-medium-rounded) - var(--border-skinny)) calc(var(--border-medium-rounded) - var(--border-skinny))}\n"] }]
4054
4036
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { label: [{
4055
4037
  type: Input
4056
4038
  }], options: [{
@@ -4059,27 +4041,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
4059
4041
  type: Input
4060
4042
  }], disabled: [{
4061
4043
  type: Input
4044
+ }, {
4045
+ type: HostBinding,
4046
+ args: ['class.disabled']
4062
4047
  }], direction: [{
4063
4048
  type: Input
4064
4049
  }], optionSelect: [{
4065
4050
  type: Output
4051
+ }], isSelect: [{
4052
+ type: HostBinding,
4053
+ args: ['class.aeb-select']
4054
+ }], clickOutside: [{
4055
+ type: HostListener,
4056
+ args: ['clickOutside']
4066
4057
  }] } });
4067
4058
 
4068
4059
  class SelectModule {
4069
4060
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4070
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: SelectModule, declarations: [SelectComponent], imports: [CommonModule, ClickOutsideModule], exports: [SelectComponent] }); }
4071
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SelectModule, imports: [CommonModule, ClickOutsideModule] }); }
4061
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: SelectModule, declarations: [SelectComponent], imports: [CommonModule, ClickOutsideDirective], exports: [SelectComponent] }); }
4062
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SelectModule, imports: [CommonModule] }); }
4072
4063
  }
4073
4064
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SelectModule, decorators: [{
4074
4065
  type: NgModule,
4075
4066
  args: [{
4076
4067
  declarations: [SelectComponent],
4077
- imports: [CommonModule, ClickOutsideModule],
4068
+ imports: [CommonModule, ClickOutsideDirective],
4078
4069
  exports: [SelectComponent]
4079
4070
  }]
4080
4071
  }] });
4081
4072
 
4082
- const defaultAmountOptions$1 = [
4073
+ const defaultAmountOptions = [
4083
4074
  {
4084
4075
  value: 10,
4085
4076
  label: 'По 10 на стр.'
@@ -4105,7 +4096,7 @@ class PaginationComponent {
4105
4096
  this.pageSizeControl = new FormControl(10);
4106
4097
  this.head = null;
4107
4098
  this.tail = null;
4108
- this.amountOptions = defaultAmountOptions$1;
4099
+ this.amountOptions = defaultAmountOptions;
4109
4100
  this.baseSize = 7;
4110
4101
  }
4111
4102
  headPageHandler(page) {
@@ -4624,14 +4615,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
4624
4615
 
4625
4616
  class SearchModule {
4626
4617
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4627
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: SearchModule, declarations: [SearchComponent, HighlightPipe], imports: [CommonModule, ClickOutsideModule], exports: [SearchComponent] }); }
4628
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SearchModule, imports: [CommonModule, ClickOutsideModule] }); }
4618
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: SearchModule, declarations: [SearchComponent, HighlightPipe], imports: [CommonModule, ClickOutsideDirective], exports: [SearchComponent] }); }
4619
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SearchModule, imports: [CommonModule] }); }
4629
4620
  }
4630
4621
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SearchModule, decorators: [{
4631
4622
  type: NgModule,
4632
4623
  args: [{
4633
4624
  declarations: [SearchComponent, HighlightPipe],
4634
- imports: [CommonModule, ClickOutsideModule],
4625
+ imports: [CommonModule, ClickOutsideDirective],
4635
4626
  exports: [SearchComponent]
4636
4627
  }]
4637
4628
  }] });
@@ -5656,240 +5647,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
5656
5647
  }]
5657
5648
  }] });
5658
5649
 
5659
- const defaultAmountOptions = [
5660
- {
5661
- value: 10,
5662
- label: 'По 10 на стр.'
5663
- },
5664
- {
5665
- value: 20,
5666
- label: 'По 20 на стр.'
5667
- },
5668
- {
5669
- value: 30,
5670
- label: 'По 30 на стр.'
5671
- }
5672
- ];
5673
- class PaginationOldComponent {
5674
- constructor(cdr, element) {
5675
- this.cdr = cdr;
5676
- this.element = element;
5677
- this.pageSelect = new EventEmitter();
5678
- this.amountChange = new EventEmitter();
5679
- this.totalPages = 1500;
5680
- this.currentPage = 1;
5681
- this.amountOptions = defaultAmountOptions;
5682
- this.adaptiveBase = 13;
5683
- }
5684
- get amount() {
5685
- return this._amount;
5686
- }
5687
- set amount(value) {
5688
- const correct = this.amountOptions.some((amount) => amount.value === value);
5689
- if (!correct) {
5690
- return;
5691
- }
5692
- this._amount = value;
5693
- if (this.amountSelect) {
5694
- // до того как компонент проинициализирован amountSelect равен null
5695
- this.amountSelect.setValue(value);
5696
- this.cdr.detectChanges();
5697
- }
5698
- }
5699
- headPageHandler(page) {
5700
- this.currentPage = page;
5701
- this.renderPages(1);
5702
- this.pageSelect.emit(this.currentPage);
5703
- }
5704
- amountChangeHandler(value) {
5705
- this._amount = parseInt(value);
5706
- this.amountChange.emit(this._amount);
5707
- }
5708
- ngOnChanges(changes) {
5709
- if (this.currentPage &&
5710
- changes.currentPage &&
5711
- !changes.currentPage.firstChange) {
5712
- if (changes.currentPage.currentValue !== changes.currentPage.previousValue) {
5713
- this.renderPages(changes.currentPage.currentValue);
5714
- }
5715
- }
5716
- if (changes.totalPages && this.middle) {
5717
- this.currentPage = 1;
5718
- this.renderPages(1);
5719
- this.pageSelect.emit(1);
5720
- }
5721
- if (changes.adaptive && this.currentPage) {
5722
- const adaptiveNumber = parseInt(changes.adaptive.currentValue);
5723
- this.adaptive = adaptiveNumber;
5724
- this.adaptiveBase = adaptiveNumber;
5725
- this.renderPages(this.currentPage);
5726
- }
5727
- }
5728
- ngOnInit() {
5729
- const parentNode = this.element.nativeElement
5730
- .parentElement;
5731
- this.windowResizedCallback = () => {
5732
- const adaptive = parentNode.clientWidth
5733
- ? this.getAdaptiveByBreakPoint(parentNode.clientWidth)
5734
- : this.getAdaptiveByBreakPoint(window.innerWidth);
5735
- if (this.adaptive && adaptive >= this.adaptive) {
5736
- this.adaptiveBase = this.adaptive;
5737
- }
5738
- else if (this.adaptive && adaptive < this.adaptive) {
5739
- this.adaptiveBase = adaptive;
5740
- }
5741
- else if (!this.adaptive) {
5742
- this.adaptiveBase = adaptive;
5743
- }
5744
- this.renderPages(this.currentPage);
5745
- };
5746
- this.resizeSub$ = fromEvent(window, 'resize')
5747
- .pipe(debounceTime(40))
5748
- .subscribe(this.windowResizedCallback);
5749
- this.windowResizedCallback();
5750
- }
5751
- ngOnDestroy() {
5752
- this.resizeSub$.unsubscribe();
5753
- // window.removeEventListener('resize', this.windowResizedCallback);
5754
- }
5755
- ngAfterViewInit() {
5756
- if (!this.amount) {
5757
- // после присваивания не вызываем `amountSelect.setValue`, т.к. в сеттере amount
5758
- // итак произойдет этот вызов
5759
- this.amount = this.amountOptions[0].value;
5760
- }
5761
- else {
5762
- this.amountSelect.setValue(this.amount);
5763
- this.cdr.detectChanges();
5764
- }
5765
- }
5766
- middlePageHandler(page) {
5767
- this.currentPage = page;
5768
- this.pageSelect.emit(this.currentPage);
5769
- }
5770
- nextPageHandler() {
5771
- if (this.currentPage === this.totalPages) {
5772
- return;
5773
- }
5774
- const nextPage = this.currentPage + 1;
5775
- this.currentPage = nextPage;
5776
- if (!this.middle.includes(nextPage)) {
5777
- this.renderPages(nextPage);
5778
- }
5779
- this.pageSelect.emit(this.currentPage);
5780
- }
5781
- prevPageHandler() {
5782
- if (this.currentPage === 1) {
5783
- return;
5784
- }
5785
- const prevPage = this.currentPage - 1;
5786
- this.currentPage = prevPage;
5787
- if (!this.middle.includes(prevPage)) {
5788
- this.renderPages(prevPage - (this.adaptiveBase - 1));
5789
- }
5790
- this.pageSelect.emit(this.currentPage);
5791
- }
5792
- tailPageHandler(page) {
5793
- this.currentPage = page;
5794
- this.renderPages([...new Array(this.adaptiveBase)]
5795
- .map((_, i) => this.totalPages - i)
5796
- .reverse()
5797
- .filter((item) => !this.middle.includes(item))[0]);
5798
- this.pageSelect.emit(this.currentPage);
5799
- }
5800
- getAdaptiveByBreakPoint(breakPoint) {
5801
- if (breakPoint < 600) {
5802
- return 2;
5803
- }
5804
- else if (breakPoint >= 600 && breakPoint < 700) {
5805
- return 3;
5806
- }
5807
- else if (breakPoint >= 700 && breakPoint < 1150) {
5808
- return 5;
5809
- }
5810
- else if (breakPoint >= 1150 && breakPoint < 1420) {
5811
- return 8;
5812
- }
5813
- else {
5814
- return 13;
5815
- }
5816
- }
5817
- /**
5818
- * Результатом работы являются заполненные массивы головной, средней и конечной частей пагинации
5819
- *
5820
- * @param currentPage текущая страница
5821
- */
5822
- renderPages(currentPage) {
5823
- this.middle = [...new Array(this.adaptiveBase)]
5824
- .map((_, page) => {
5825
- /**
5826
- * если текущая страница больше adaptiveBase, то добавляем к page значение adaptiveBase + 1,
5827
- * тогда значения в middle будут лежать в диапазоне [adaptiveBase + 1: adaptiveBase * 2],
5828
- * затем добавляем смещение (offset), для случая когда значение текущей страницы лежит за пределами диапазона
5829
- */
5830
- if (currentPage > this.adaptiveBase) {
5831
- const offset = this.adaptiveBase *
5832
- Math.floor((currentPage - (this.adaptiveBase + 1)) / this.adaptiveBase);
5833
- page += this.adaptiveBase + 1 + offset;
5834
- }
5835
- else {
5836
- page += 1;
5837
- }
5838
- return page <= this.totalPages ? page : null;
5839
- })
5840
- .filter((item) => !!item);
5841
- if (this.totalPages === 1) {
5842
- this.head = [];
5843
- }
5844
- else {
5845
- this.head = [1, 2].filter((page) => !this.middle.includes(page));
5846
- }
5847
- this.tail = [...new Array(2)]
5848
- .map((_, i) => this.totalPages - i)
5849
- .filter((item) => !this.middle.includes(item) && item > this.currentPage)
5850
- .reverse();
5851
- }
5852
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PaginationOldComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
5853
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: PaginationOldComponent, selector: "aeb-pagination-old", inputs: { totalPages: "totalPages", currentPage: "currentPage", amountOptions: "amountOptions", adaptive: "adaptive", amount: "amount" }, outputs: { pageSelect: "pageSelect", amountChange: "amountChange" }, viewQueries: [{ propertyName: "amountSelect", first: true, predicate: ["amountSelect"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"aeb-pagination-old\">\n <div\n class=\"aeb-pagination-old__button\"\n (click)=\"prevPageHandler()\"\n [ngClass]=\"{\n 'aeb-pagination-old__button--disable': currentPage === 1\n }\"\n >\n <div\n class=\"aeb-pagination-old__arrow-icon aeb-pagination-old__arrow-icon--left\"\n >\n <svg\n width=\"6\"\n height=\"10\"\n viewBox=\"0 0 6 10\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1 9L4.92929 5.07071C4.96834 5.03166 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <span class=\"aeb-pagination-old__button-label\"> \u041D\u0430\u0437\u0430\u0434 </span>\n </div>\n <div class=\"aeb-pagination-old__block\">\n <div\n class=\"aeb-pagination-old__page\"\n *ngFor=\"let page of head\"\n (click)=\"headPageHandler(page)\"\n >\n {{ page }}\n </div>\n\n <div class=\"aeb-pagination-old__breaker\" *ngIf=\"head.length\">...</div>\n\n <div\n class=\"aeb-pagination-old__page\"\n *ngFor=\"let page of middle\"\n [ngClass]=\"{\n 'aeb-pagination-old__page--active': currentPage === page\n }\"\n (click)=\"middlePageHandler(page)\"\n >\n {{ page }}\n </div>\n\n <div class=\"aeb-pagination-old__breaker\" *ngIf=\"tail.length\">...</div>\n\n <div\n class=\"aeb-pagination-old__page\"\n *ngFor=\"let page of tail\"\n (click)=\"tailPageHandler(page)\"\n >\n {{ page }}\n </div>\n </div>\n <div class=\"aeb-pagination-old__block\">\n <div class=\"aeb-pagination-old__amount\">\n <aeb-select\n (optionSelect)=\"amountChangeHandler($event)\"\n #amountSelect\n [direction]=\"'bottom'\"\n [options]=\"amountOptions\"\n >\n </aeb-select>\n </div>\n\n <div class=\"aeb-pagination-old__block\">\n <div\n class=\"aeb-pagination-old__button aeb-pagination-old__button--right\"\n (click)=\"nextPageHandler()\"\n [ngClass]=\"{\n 'aeb-pagination-old__button--disable': currentPage === totalPages\n }\"\n >\n <span class=\"aeb-pagination-old__button-label\"> \u0414\u0430\u043B\u0435\u0435 </span>\n <div\n class=\"aeb-pagination-old__arrow-icon aeb-pagination-old__arrow-icon--right\"\n >\n <svg\n width=\"6\"\n height=\"10\"\n viewBox=\"0 0 6 10\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1 9L4.92929 5.07071C4.96834 5.03166 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".aeb-pagination-old{position:relative;display:inline-flex;align-items:center;justify-content:space-between;width:100%;color:var(--color-mono-900)}.aeb-pagination-old__button{box-sizing:border-box;display:flex;align-items:center;width:133px;padding:8px 24px;color:var(--color-blue-500);cursor:pointer;-webkit-user-select:none;user-select:none;background-color:var(--color-mono-0);border:var(--border-skinny) solid var(--color-blue-500);border-radius:var(--border-medium-rounded)}.aeb-pagination-old__button--right{padding-left:24px;margin-left:27px}.aeb-pagination-old__button--disable{color:var(--gray-primary);cursor:unset;border:var(--border-skinny) solid var(--gray-primary)}.aeb-pagination-old__button--disable .aeb-pagination-old__arrow-icon svg path{stroke:var(--gray-primary)}@media screen and (max-width: 1150px){.aeb-pagination-old__button{width:100px;padding:6px 12px;font-size:var(--font-size-xs)}.aeb-pagination-old__button--right{margin-left:13px}}@media screen and (max-width: 600px){.aeb-pagination-old__button{justify-content:center;width:unset;padding:2px 8px}.aeb-pagination-old__button--right{margin-left:10px}}.aeb-pagination-old__arrow-icon{position:relative;bottom:1px;margin-right:18px}.aeb-pagination-old__arrow-icon--left{transform:scaleX(-1)}.aeb-pagination-old__arrow-icon--right{margin-right:0;margin-left:18px}@media screen and (max-width: 1150px){.aeb-pagination-old__arrow-icon{bottom:0}}@media screen and (max-width: 600px){.aeb-pagination-old__arrow-icon,.aeb-pagination-old__arrow-icon--right{top:1px;margin:0}}.aeb-pagination-old__page{margin-left:27px;color:var(--color-blue-500);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-pagination-old__page--active{color:var(--color-mono-900)}@media screen and (max-width: 1150px){.aeb-pagination-old__page{margin-left:13px;font-size:var(--font-size-xs)}}@media screen and (max-width: 600px){.aeb-pagination-old__page{margin-left:10px;font-size:var(--font-size-xxs)}}.aeb-pagination-old__breaker{margin-left:27px;color:var(--color-blue-500);-webkit-user-select:none;user-select:none}@media screen and (max-width: 1150px){.aeb-pagination-old__breaker{margin-left:13px}}@media screen and (max-width: 600px){.aeb-pagination-old__breaker{margin-left:10px}}@media screen and (max-width: 600px){.aeb-pagination-old__button-label{display:none}}.aeb-pagination-old__block{display:inline-flex;align-items:center}.aeb-pagination-old__amount{position:relative;top:3px;width:168px;height:44px;margin-left:27px}.aeb-pagination-old__amount .aeb-dropdown-selected-item{height:39px!important;color:var(--color-mono-900);background:transparent!important}.aeb-pagination-old__amount .aeb-dropdown-selected-item.open{background:var(--white)!important}.aeb-pagination-old__amount .aeb-dropdown-icon{top:10px!important}.aeb-pagination-old__amount .aeb-dropdown-item{padding:8px 16px!important}@media screen and (max-width: 1150px){.aeb-pagination-old__amount{position:absolute;top:calc(100% + 18px);left:0;margin:0}}\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: "component", type: SelectComponent, selector: "aeb-select", inputs: ["label", "options", "hasError", "disabled", "direction"], outputs: ["optionSelect"] }], encapsulation: i0.ViewEncapsulation.None }); }
5854
- }
5855
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PaginationOldComponent, decorators: [{
5856
- type: Component,
5857
- args: [{ selector: 'aeb-pagination-old', encapsulation: ViewEncapsulation.None, template: "<div class=\"aeb-pagination-old\">\n <div\n class=\"aeb-pagination-old__button\"\n (click)=\"prevPageHandler()\"\n [ngClass]=\"{\n 'aeb-pagination-old__button--disable': currentPage === 1\n }\"\n >\n <div\n class=\"aeb-pagination-old__arrow-icon aeb-pagination-old__arrow-icon--left\"\n >\n <svg\n width=\"6\"\n height=\"10\"\n viewBox=\"0 0 6 10\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1 9L4.92929 5.07071C4.96834 5.03166 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n <span class=\"aeb-pagination-old__button-label\"> \u041D\u0430\u0437\u0430\u0434 </span>\n </div>\n <div class=\"aeb-pagination-old__block\">\n <div\n class=\"aeb-pagination-old__page\"\n *ngFor=\"let page of head\"\n (click)=\"headPageHandler(page)\"\n >\n {{ page }}\n </div>\n\n <div class=\"aeb-pagination-old__breaker\" *ngIf=\"head.length\">...</div>\n\n <div\n class=\"aeb-pagination-old__page\"\n *ngFor=\"let page of middle\"\n [ngClass]=\"{\n 'aeb-pagination-old__page--active': currentPage === page\n }\"\n (click)=\"middlePageHandler(page)\"\n >\n {{ page }}\n </div>\n\n <div class=\"aeb-pagination-old__breaker\" *ngIf=\"tail.length\">...</div>\n\n <div\n class=\"aeb-pagination-old__page\"\n *ngFor=\"let page of tail\"\n (click)=\"tailPageHandler(page)\"\n >\n {{ page }}\n </div>\n </div>\n <div class=\"aeb-pagination-old__block\">\n <div class=\"aeb-pagination-old__amount\">\n <aeb-select\n (optionSelect)=\"amountChangeHandler($event)\"\n #amountSelect\n [direction]=\"'bottom'\"\n [options]=\"amountOptions\"\n >\n </aeb-select>\n </div>\n\n <div class=\"aeb-pagination-old__block\">\n <div\n class=\"aeb-pagination-old__button aeb-pagination-old__button--right\"\n (click)=\"nextPageHandler()\"\n [ngClass]=\"{\n 'aeb-pagination-old__button--disable': currentPage === totalPages\n }\"\n >\n <span class=\"aeb-pagination-old__button-label\"> \u0414\u0430\u043B\u0435\u0435 </span>\n <div\n class=\"aeb-pagination-old__arrow-icon aeb-pagination-old__arrow-icon--right\"\n >\n <svg\n width=\"6\"\n height=\"10\"\n viewBox=\"0 0 6 10\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M1 9L4.92929 5.07071C4.96834 5.03166 4.96834 4.96834 4.92929 4.92929L1 1\"\n stroke=\"#2F88F0\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n />\n </svg>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".aeb-pagination-old{position:relative;display:inline-flex;align-items:center;justify-content:space-between;width:100%;color:var(--color-mono-900)}.aeb-pagination-old__button{box-sizing:border-box;display:flex;align-items:center;width:133px;padding:8px 24px;color:var(--color-blue-500);cursor:pointer;-webkit-user-select:none;user-select:none;background-color:var(--color-mono-0);border:var(--border-skinny) solid var(--color-blue-500);border-radius:var(--border-medium-rounded)}.aeb-pagination-old__button--right{padding-left:24px;margin-left:27px}.aeb-pagination-old__button--disable{color:var(--gray-primary);cursor:unset;border:var(--border-skinny) solid var(--gray-primary)}.aeb-pagination-old__button--disable .aeb-pagination-old__arrow-icon svg path{stroke:var(--gray-primary)}@media screen and (max-width: 1150px){.aeb-pagination-old__button{width:100px;padding:6px 12px;font-size:var(--font-size-xs)}.aeb-pagination-old__button--right{margin-left:13px}}@media screen and (max-width: 600px){.aeb-pagination-old__button{justify-content:center;width:unset;padding:2px 8px}.aeb-pagination-old__button--right{margin-left:10px}}.aeb-pagination-old__arrow-icon{position:relative;bottom:1px;margin-right:18px}.aeb-pagination-old__arrow-icon--left{transform:scaleX(-1)}.aeb-pagination-old__arrow-icon--right{margin-right:0;margin-left:18px}@media screen and (max-width: 1150px){.aeb-pagination-old__arrow-icon{bottom:0}}@media screen and (max-width: 600px){.aeb-pagination-old__arrow-icon,.aeb-pagination-old__arrow-icon--right{top:1px;margin:0}}.aeb-pagination-old__page{margin-left:27px;color:var(--color-blue-500);cursor:pointer;-webkit-user-select:none;user-select:none}.aeb-pagination-old__page--active{color:var(--color-mono-900)}@media screen and (max-width: 1150px){.aeb-pagination-old__page{margin-left:13px;font-size:var(--font-size-xs)}}@media screen and (max-width: 600px){.aeb-pagination-old__page{margin-left:10px;font-size:var(--font-size-xxs)}}.aeb-pagination-old__breaker{margin-left:27px;color:var(--color-blue-500);-webkit-user-select:none;user-select:none}@media screen and (max-width: 1150px){.aeb-pagination-old__breaker{margin-left:13px}}@media screen and (max-width: 600px){.aeb-pagination-old__breaker{margin-left:10px}}@media screen and (max-width: 600px){.aeb-pagination-old__button-label{display:none}}.aeb-pagination-old__block{display:inline-flex;align-items:center}.aeb-pagination-old__amount{position:relative;top:3px;width:168px;height:44px;margin-left:27px}.aeb-pagination-old__amount .aeb-dropdown-selected-item{height:39px!important;color:var(--color-mono-900);background:transparent!important}.aeb-pagination-old__amount .aeb-dropdown-selected-item.open{background:var(--white)!important}.aeb-pagination-old__amount .aeb-dropdown-icon{top:10px!important}.aeb-pagination-old__amount .aeb-dropdown-item{padding:8px 16px!important}@media screen and (max-width: 1150px){.aeb-pagination-old__amount{position:absolute;top:calc(100% + 18px);left:0;margin:0}}\n"] }]
5858
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { pageSelect: [{
5859
- type: Output
5860
- }], amountChange: [{
5861
- type: Output
5862
- }], totalPages: [{
5863
- type: Input,
5864
- args: ['totalPages']
5865
- }], currentPage: [{
5866
- type: Input,
5867
- args: ['currentPage']
5868
- }], amountOptions: [{
5869
- type: Input
5870
- }], adaptive: [{
5871
- type: Input
5872
- }], amountSelect: [{
5873
- type: ViewChild,
5874
- args: ['amountSelect']
5875
- }], amount: [{
5876
- type: Input
5877
- }] } });
5878
-
5879
- class PaginationOldModule {
5880
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PaginationOldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
5881
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: PaginationOldModule, declarations: [PaginationOldComponent], imports: [CommonModule, SelectModule], exports: [PaginationOldComponent] }); }
5882
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PaginationOldModule, imports: [CommonModule, SelectModule] }); }
5883
- }
5884
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PaginationOldModule, decorators: [{
5885
- type: NgModule,
5886
- args: [{
5887
- declarations: [PaginationOldComponent],
5888
- imports: [CommonModule, SelectModule],
5889
- exports: [PaginationOldComponent]
5890
- }]
5891
- }] });
5892
-
5893
5650
  /*
5894
5651
  * Public API Surface of aeb-ui-kit
5895
5652
  */
@@ -5898,5 +5655,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
5898
5655
  * Generated bundle index. Do not edit.
5899
5656
  */
5900
5657
 
5901
- export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, BreadcrumpsComponent, ButtonComponent, ButtonModule, CheckboxComponent, CheckboxGroupOldComponent, CheckboxModule, CheckboxOldComponent, CheckboxOldModule, ClickOutsideDirective, ClickOutsideModule, CodeInputComponent, CodeInputModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DateToStrPipe, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, ErrorMessageDirective, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldDirective, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OldButtonComponent, OldButtonModule, PaginationComponent, PaginationModule, PaginationOldComponent, PaginationOldModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, RadioButtonsOldComponent, RadioButtonsOldModule, ResponseComponent, ResponseModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, StepperComponent, StepperModule, StepperStepComponent, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule };
5658
+ export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, BreadcrumpsComponent, ButtonComponent, ButtonModule, CheckboxComponent, CheckboxGroupOldComponent, CheckboxModule, CheckboxOldComponent, CheckboxOldModule, ClickOutsideDirective, CodeInputComponent, CodeInputModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DateToStrPipe, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, ErrorMessageDirective, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldDirective, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OldButtonComponent, OldButtonModule, PaginationComponent, PaginationModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, RadioButtonsOldComponent, RadioButtonsOldModule, ResponseComponent, ResponseModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, StepperComponent, StepperModule, StepperStepComponent, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule };
5902
5659
  //# sourceMappingURL=aeb-ui-kit.mjs.map