aeb-ui-kit 2.1.3 → 2.1.4-preview.484

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, Input, ViewChild, NgModule, forwardRef, HostBinding, HostListener, EventEmitter, Output, Directive, Optional, Self, ContentChild, Injectable, Inject, Pipe, LOCALE_ID, ViewChildren, inject, ChangeDetectorRef, ContentChildren } from '@angular/core';
2
+ import { Component, ViewEncapsulation, Input, ViewChild, NgModule, EventEmitter, forwardRef, Output, HostBinding, Directive, Optional, Self, HostListener, ContentChild, Injectable, Inject, Pipe, LOCALE_ID, ViewChildren, inject, ChangeDetectorRef, ContentChildren } from '@angular/core';
3
3
  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';
@@ -93,11 +93,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
93
93
  class CheckboxComponent {
94
94
  constructor(renderer) {
95
95
  this.renderer = renderer;
96
+ this.isChecked = false;
97
+ this.isDisabled = false;
96
98
  this.isValid = true;
97
99
  this.name = null;
100
+ // eslint-disable-next-line @angular-eslint/no-output-native
101
+ this.change = new EventEmitter();
98
102
  this.checkBoxClass = true;
99
- this.isChecked = false;
100
- this.isDisabled = false;
101
103
  this._onChangeFn = () => { };
102
104
  this._onTouched = () => { };
103
105
  }
@@ -113,14 +115,12 @@ class CheckboxComponent {
113
115
  get checkboxCheckedDisabled() {
114
116
  return this.isChecked && this.isDisabled;
115
117
  }
116
- hostChangeHandler(event) {
117
- this._onChangeFn(event.target.checked);
118
- }
119
- handleClick(event) {
118
+ handleChange(event) {
120
119
  event.stopPropagation();
121
120
  this.isChecked = !this.isChecked;
122
121
  this._onTouched();
123
122
  this._onChangeFn(this.isChecked);
123
+ this.change.emit(event.target.checked);
124
124
  }
125
125
  writeValue(value) {
126
126
  if (value === null || value === '') {
@@ -139,15 +139,22 @@ class CheckboxComponent {
139
139
  this.isDisabled = isDisabled;
140
140
  this.renderer.setProperty(this.checkboxInput.nativeElement, 'disabled', isDisabled);
141
141
  }
142
+ ngOnChanges(changes) {
143
+ if (changes.isChecked) {
144
+ this._onTouched();
145
+ this._onChangeFn(changes.isChecked.currentValue);
146
+ this.change.emit(changes.isChecked.currentValue);
147
+ }
148
+ }
142
149
  }
143
150
  CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
144
- CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxComponent, selector: "aeb-checkbox", inputs: { id: "id", isValid: "isValid", name: "name" }, host: { listeners: { "change": "hostChangeHandler($event)" }, properties: { "class.aeb-checkbox": "this.checkBoxClass", "class.aeb-checkbox-checked": "this.checkboxChecked", "class.aeb-checkbox-disabled": "this.checkboxDisabled", "class.aeb-checkbox-error": "this.checkboxError", "class.aeb-checkbox-checked-disabled": "this.checkboxCheckedDisabled" } }, providers: [
151
+ CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxComponent, selector: "aeb-checkbox", inputs: { id: "id", isChecked: "isChecked", isDisabled: "isDisabled", isValid: "isValid", name: "name" }, outputs: { change: "change" }, host: { properties: { "class.aeb-checkbox": "this.checkBoxClass", "class.aeb-checkbox-checked": "this.checkboxChecked", "class.aeb-checkbox-disabled": "this.checkboxDisabled", "class.aeb-checkbox-error": "this.checkboxError", "class.aeb-checkbox-checked-disabled": "this.checkboxCheckedDisabled" } }, providers: [
145
152
  {
146
153
  provide: NG_VALUE_ACCESSOR,
147
154
  useExisting: forwardRef(() => CheckboxComponent),
148
155
  multi: true
149
156
  }
150
- ], viewQueries: [{ propertyName: "checkboxInput", first: true, predicate: ["checkbox"], descendants: true, static: true }], ngImport: i0, template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n #checkbox\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"isChecked\"\n [disabled]=\"isDisabled\"\n (click)=\"handleClick($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-indicator{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:4px}.aeb-checkbox-indicator>svg{opacity:0}@media (hover: hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{position:relative;padding:2px;background-image:var(--active-gradient);border:none}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:#fff;border-radius:2px}}.aeb-checkbox-label{margin-top:1px;margin-left:12px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover: hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover: hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:white!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover: hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}\n"], encapsulation: i0.ViewEncapsulation.None });
157
+ ], viewQueries: [{ propertyName: "checkboxInput", first: true, predicate: ["checkbox"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n #checkbox\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"isChecked\"\n [disabled]=\"isDisabled\"\n (change)=\"handleChange($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-indicator{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:4px}.aeb-checkbox-indicator>svg{opacity:0}@media (hover: hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{position:relative;padding:2px;background-image:var(--active-gradient);border:none}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:#fff;border-radius:2px}}.aeb-checkbox-label{margin-top:1px;margin-left:12px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover: hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover: hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:white!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover: hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}\n"], encapsulation: i0.ViewEncapsulation.None });
151
158
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxComponent, decorators: [{
152
159
  type: Component,
153
160
  args: [{ selector: 'aeb-checkbox', encapsulation: ViewEncapsulation.None, providers: [
@@ -156,16 +163,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
156
163
  useExisting: forwardRef(() => CheckboxComponent),
157
164
  multi: true
158
165
  }
159
- ], template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n #checkbox\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"isChecked\"\n [disabled]=\"isDisabled\"\n (click)=\"handleClick($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-indicator{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:4px}.aeb-checkbox-indicator>svg{opacity:0}@media (hover: hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{position:relative;padding:2px;background-image:var(--active-gradient);border:none}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:#fff;border-radius:2px}}.aeb-checkbox-label{margin-top:1px;margin-left:12px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover: hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover: hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:white!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover: hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}\n"] }]
166
+ ], template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\n <div class=\"aeb-checkbox-container\">\n <input\n #checkbox\n type=\"checkbox\"\n [id]=\"id\"\n [attr.name]=\"name\"\n [checked]=\"isChecked\"\n [disabled]=\"isDisabled\"\n (change)=\"handleChange($event)\"\n hidden\n />\n <div class=\"aeb-checkbox-indicator\">\n <svg\n width=\"22\"\n height=\"22\"\n viewBox=\"0 0 22 22\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\n fill=\"#EEEEEE\"\n />\n </svg>\n </div>\n <div class=\"aeb-checkbox-label\">\n <ng-content></ng-content>\n </div>\n </div>\n</label>\n", styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-indicator{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:22px;height:22px;background-color:var(--white);border:2px solid var(--gray-primary);border-radius:4px}.aeb-checkbox-indicator>svg{opacity:0}@media (hover: hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{position:relative;padding:2px;background-image:var(--active-gradient);border:none}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:#fff;border-radius:2px}}.aeb-checkbox-label{margin-top:1px;margin-left:12px;font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:var(--darkblue);-webkit-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover: hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover: hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:white!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover: hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;z-index:0;width:18px;height:18px;content:\"\";background-color:transparent;border-radius:2px}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}\n"] }]
160
167
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { checkboxInput: [{
161
168
  type: ViewChild,
162
169
  args: ['checkbox', { static: true }]
163
170
  }], id: [{
164
171
  type: Input
172
+ }], isChecked: [{
173
+ type: Input
174
+ }], isDisabled: [{
175
+ type: Input
165
176
  }], isValid: [{
166
177
  type: Input
167
178
  }], name: [{
168
179
  type: Input
180
+ }], change: [{
181
+ type: Output
169
182
  }], checkBoxClass: [{
170
183
  type: HostBinding,
171
184
  args: ['class.aeb-checkbox']
@@ -181,9 +194,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
181
194
  }], checkboxCheckedDisabled: [{
182
195
  type: HostBinding,
183
196
  args: ['class.aeb-checkbox-checked-disabled']
184
- }], hostChangeHandler: [{
185
- type: HostListener,
186
- args: ['change', ['$event']]
187
197
  }] } });
188
198
 
189
199
  /**
@@ -217,7 +227,7 @@ class CheckboxGroupComponent {
217
227
  }
218
228
  }
219
229
  CheckboxGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxGroupComponent, deps: [{ token: i1$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
220
- CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxGroupComponent, selector: "aeb-checkbox-group", inputs: { checkboxArray: "checkboxArray" }, ngImport: i0, template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"checkboxFormGroup\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxArray\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [required]=\"data.required\"\n [isValid]=\"isControlValid(data)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{margin-bottom:16px;font-size:16px;color:var(--gray-primary)}.aeb-checkbox-layout{margin-bottom:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: CheckboxComponent, selector: "aeb-checkbox", inputs: ["id", "isValid", "name"] }] });
230
+ CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CheckboxGroupComponent, selector: "aeb-checkbox-group", inputs: { checkboxArray: "checkboxArray" }, ngImport: i0, template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"checkboxFormGroup\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxArray\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [required]=\"data.required\"\n [isValid]=\"isControlValid(data)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{margin-bottom:16px;font-size:16px;color:var(--gray-primary)}.aeb-checkbox-layout{margin-bottom:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: CheckboxComponent, selector: "aeb-checkbox", inputs: ["id", "isChecked", "isDisabled", "isValid", "name"], outputs: ["change"] }] });
221
231
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CheckboxGroupComponent, decorators: [{
222
232
  type: Component,
223
233
  args: [{ selector: 'aeb-checkbox-group', template: "<div class=\"aeb-checkbox-group__header\">\u0413\u0440\u0443\u043F\u043F\u0430 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u043E\u0432</div>\n<form [formGroup]=\"checkboxFormGroup\">\n <aeb-checkbox\n class=\"aeb-checkbox-layout\"\n *ngFor=\"let data of checkboxArray\"\n [id]=\"data.id\"\n [name]=\"data.name\"\n [required]=\"data.required\"\n [isValid]=\"isControlValid(data)\"\n formControlName=\"{{ data.name }}\"\n >\n {{ data.label }}\n </aeb-checkbox>\n</form>\n", styles: [".aeb-checkbox-group__header{margin-bottom:16px;font-size:16px;color:var(--gray-primary)}.aeb-checkbox-layout{margin-bottom:16px}\n"] }]