aeb-ui-kit 2.0.2-mr.433-devops-update-ci → 2.0.2-mr.437-devops-update-ci

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.
@@ -960,7 +960,7 @@ class TooltipDirective {
960
960
  onMouseLeave() {
961
961
  this.hideTooltip();
962
962
  }
963
- onMouseEnter(event) {
963
+ onMouseEnter() {
964
964
  this.showTooltip();
965
965
  }
966
966
  onClick(event) {
@@ -1325,10 +1325,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1325
1325
  class DatepickerUtilsService {
1326
1326
  genWeek(week, month, count) {
1327
1327
  const begginingOfWeek = addWeeks(week, count);
1328
- return [...new Array(7)]
1328
+ return ([...new Array(7)]
1329
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
1329
1330
  .map((_) => begginingOfWeek)
1330
1331
  .map((day, index) => addDays(day, index))
1331
- .map((day) => (isSameMonth(month, day) ? day : null));
1332
+ .map((day) => (isSameMonth(month, day) ? day : null)));
1332
1333
  }
1333
1334
  genMonth(date) {
1334
1335
  const WEEKS_TOTAL = getWeeksInMonth(date);
@@ -2138,6 +2139,7 @@ class DatepickerComponent {
2138
2139
  setDisabledState(disabled) {
2139
2140
  this.disabled = disabled;
2140
2141
  }
2142
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2141
2143
  onFormChange(_value) {
2142
2144
  // ingore
2143
2145
  }
@@ -2420,6 +2422,7 @@ class DropdownComponent {
2420
2422
  this.viewOptions = (this.options || []).filter((item) => item.label.slice(0, this.value.length).toLocaleLowerCase() ===
2421
2423
  this.value.toLocaleLowerCase());
2422
2424
  }
2425
+ // eslint-disable-next-line unused-imports/no-unused-vars, @typescript-eslint/no-unused-vars
2423
2426
  onChange(value) { }
2424
2427
  onTouch() { }
2425
2428
  }
@@ -3926,6 +3929,7 @@ class RadioButtonsComponent {
3926
3929
  setDisabledState(disabled) {
3927
3930
  this.disabled = disabled;
3928
3931
  }
3932
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars, unused-imports/no-unused-vars
3929
3933
  onChange(value) { }
3930
3934
  onTouch() { }
3931
3935
  }
@@ -4152,7 +4156,8 @@ class SelectComponent {
4152
4156
  closeDropdown() {
4153
4157
  this.isOpen = false;
4154
4158
  }
4155
- handleClickOutside(event) {
4159
+ // eslint-disable-next-line unused-imports/no-unused-vars, @typescript-eslint/no-unused-vars
4160
+ handleClickOutside($event) {
4156
4161
  if (this.isOpen) {
4157
4162
  this.closeDropdown();
4158
4163
  }
@@ -4538,7 +4543,7 @@ class TabsComponent {
4538
4543
  constructor() {
4539
4544
  this.collapsed = false;
4540
4545
  this.tab = 0;
4541
- this.pageChange = new EventEmitter();
4546
+ this.tabChange = new EventEmitter();
4542
4547
  }
4543
4548
  redrawThumb() {
4544
4549
  const tabIndex = this.tabs.toArray().indexOf(this.currentTab);
@@ -4548,7 +4553,7 @@ class TabsComponent {
4548
4553
  const targetTab = e.target;
4549
4554
  this.moveThumb(targetTab);
4550
4555
  this.currentTab = tab;
4551
- this.pageChange.emit(this.currentTab.name);
4556
+ this.tabChange.emit(this.currentTab.name);
4552
4557
  }
4553
4558
  moveThumb(tab) {
4554
4559
  const tabLeft = tab.getBoundingClientRect().left;
@@ -4575,7 +4580,7 @@ class TabsComponent {
4575
4580
  }
4576
4581
  }
4577
4582
  TabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4578
- TabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TabsComponent, selector: "aeb-tabs", inputs: { layoutMod: "layoutMod", collapsed: "collapsed", tab: "tab" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "window:resize": "redrawThumb()" } }, queries: [{ propertyName: "tabs", predicate: TabDirective }], viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "templateTabs", predicate: ["rtab"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': layoutMod === 'compact'\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{tab.name}}\n </div>\n </ng-container>\n </div>\n\n <div\n class=\"aeb-tabs__thumb\"\n #thumb\n ></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\">\n </ng-template>\n</ng-container>", styles: [".aeb-tabs{width:100%;margin-bottom:25px;position:relative;border-bottom:1px solid var(--lightgray);padding-bottom:2px;color:var(--darkblue)}.aeb-tabs__wrapper{width:100%;display:flex}.aeb-tabs__tab{cursor:pointer;margin-right:50px;padding-bottom:25px;box-sizing:border-box}.aeb-tabs__thumb{border-bottom:2px solid var(--blue);position:absolute;left:0;width:0;transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{margin-right:32px;margin-bottom:8px;padding-bottom:0}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:500}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--blue)}\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"] }], encapsulation: i0.ViewEncapsulation.None });
4583
+ TabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TabsComponent, selector: "aeb-tabs", inputs: { layoutMod: "layoutMod", collapsed: "collapsed", tab: "tab" }, outputs: { tabChange: "tabChange" }, host: { listeners: { "window:resize": "redrawThumb()" } }, queries: [{ propertyName: "tabs", predicate: TabDirective }], viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }, { propertyName: "templateTabs", predicate: ["rtab"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': layoutMod === 'compact'\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{tab.name}}\n </div>\n </ng-container>\n </div>\n\n <div\n class=\"aeb-tabs__thumb\"\n #thumb\n ></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\">\n </ng-template>\n</ng-container>", styles: [".aeb-tabs{width:100%;margin-bottom:25px;position:relative;border-bottom:1px solid var(--lightgray);padding-bottom:2px;color:var(--darkblue)}.aeb-tabs__wrapper{width:100%;display:flex}.aeb-tabs__tab{cursor:pointer;margin-right:50px;padding-bottom:25px;box-sizing:border-box}.aeb-tabs__thumb{border-bottom:2px solid var(--blue);position:absolute;left:0;width:0;transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{margin-right:32px;margin-bottom:8px;padding-bottom:0}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:500}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--blue)}\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"] }], encapsulation: i0.ViewEncapsulation.None });
4579
4584
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TabsComponent, decorators: [{
4580
4585
  type: Component,
4581
4586
  args: [{ selector: 'aeb-tabs', encapsulation: ViewEncapsulation.None, template: "<div\n #container\n class=\"aeb-tabs\"\n [ngClass]=\"{\n 'aeb-tabs--compact': layoutMod === 'compact'\n }\"\n>\n <div class=\"aeb-tabs__wrapper\">\n <ng-container *ngFor=\"let tab of tabs\">\n <div\n class=\"aeb-tabs__tab\"\n (click)=\"tabHandler($event, tab)\"\n [ngClass]=\"{\n 'aeb-tabs__tab--active': tab === currentTab\n }\"\n #rtab\n >\n {{tab.name}}\n </div>\n </ng-container>\n </div>\n\n <div\n class=\"aeb-tabs__thumb\"\n #thumb\n ></div>\n</div>\n\n<ng-container *ngIf=\"currentTab\">\n <ng-template [ngTemplateOutlet]=\"currentTab.template\">\n </ng-template>\n</ng-container>", styles: [".aeb-tabs{width:100%;margin-bottom:25px;position:relative;border-bottom:1px solid var(--lightgray);padding-bottom:2px;color:var(--darkblue)}.aeb-tabs__wrapper{width:100%;display:flex}.aeb-tabs__tab{cursor:pointer;margin-right:50px;padding-bottom:25px;box-sizing:border-box}.aeb-tabs__thumb{border-bottom:2px solid var(--blue);position:absolute;left:0;width:0;transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{margin-right:32px;margin-bottom:8px;padding-bottom:0}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:500}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--blue)}\n"] }]
@@ -4600,7 +4605,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
4600
4605
  }], tab: [{
4601
4606
  type: Input,
4602
4607
  args: ['tab']
4603
- }], pageChange: [{
4608
+ }], tabChange: [{
4604
4609
  type: Output
4605
4610
  }], redrawThumb: [{
4606
4611
  type: HostListener,