aeb-ui-kit 7.2.0 → 7.3.0-mr.835-feature-dp-5794
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.
|
@@ -45,13 +45,13 @@ export class RadioButtonsComponent {
|
|
|
45
45
|
onChange(value) { }
|
|
46
46
|
onTouch() { }
|
|
47
47
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RadioButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: RadioButtonsComponent, selector: "aeb-radio-buttons", inputs: { options: "options", header: "header", hasError: "hasError", horizontal: "horizontal", value: "value" }, outputs: { btnChange: "btnChange" }, providers: [
|
|
49
49
|
{
|
|
50
50
|
provide: NG_VALUE_ACCESSOR,
|
|
51
51
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
52
52
|
multi: true
|
|
53
53
|
}
|
|
54
|
-
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n
|
|
54
|
+
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <ng-container *ngIf=\"header\">\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n </ng-container>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s);margin-top:2px}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:12px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\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"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
55
55
|
}
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RadioButtonsComponent, decorators: [{
|
|
57
57
|
type: Component,
|
|
@@ -61,7 +61,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
61
61
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
62
62
|
multi: true
|
|
63
63
|
}
|
|
64
|
-
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n
|
|
64
|
+
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <ng-container *ngIf=\"header\">\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n </ng-container>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s);margin-top:2px}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:12px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\n"] }]
|
|
65
65
|
}], propDecorators: { options: [{
|
|
66
66
|
type: Input,
|
|
67
67
|
args: ['options']
|
|
@@ -80,4 +80,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
80
80
|
type: Input,
|
|
81
81
|
args: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hZGlvLWJ1dHRvbnNfX2xhYmVsXCI+XG4gICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxuICAgICAgPC9zcGFuPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
package/fesm2022/aeb-ui-kit.mjs
CHANGED
|
@@ -4369,13 +4369,13 @@ class RadioButtonsComponent {
|
|
|
4369
4369
|
onChange(value) { }
|
|
4370
4370
|
onTouch() { }
|
|
4371
4371
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RadioButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4372
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4372
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: RadioButtonsComponent, selector: "aeb-radio-buttons", inputs: { options: "options", header: "header", hasError: "hasError", horizontal: "horizontal", value: "value" }, outputs: { btnChange: "btnChange" }, providers: [
|
|
4373
4373
|
{
|
|
4374
4374
|
provide: NG_VALUE_ACCESSOR,
|
|
4375
4375
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
4376
4376
|
multi: true
|
|
4377
4377
|
}
|
|
4378
|
-
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n
|
|
4378
|
+
], ngImport: i0, template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <ng-container *ngIf=\"header\">\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n </ng-container>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s);margin-top:2px}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:12px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\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"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
4379
4379
|
}
|
|
4380
4380
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RadioButtonsComponent, decorators: [{
|
|
4381
4381
|
type: Component,
|
|
@@ -4385,7 +4385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
|
|
|
4385
4385
|
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
4386
4386
|
multi: true
|
|
4387
4387
|
}
|
|
4388
|
-
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n
|
|
4388
|
+
], template: "<div\n class=\"aeb-radio-buttons\"\n [ngClass]=\"{\n 'aeb-radio-buttons--disabled': disabled,\n 'aeb-radio-buttons--error': hasError\n }\"\n>\n <ng-container *ngIf=\"header\">\n <div class=\"aeb-radio-buttons__header\">\n {{ header }}\n </div>\n </ng-container>\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{ horizontal: horizontal }\">\n <div\n *ngFor=\"let option of options\"\n class=\"aeb-radio-buttons__item\"\n (click)=\"writeValue(option.value)\"\n >\n <div class=\"aeb-radio-buttons__circle-container\">\n <div\n class=\"aeb-radio-buttons__circle\"\n [ngClass]=\"{\n 'aeb-radio-buttons__circle--active': value === option.value\n }\"\n ></div>\n </div>\n <span class=\"aeb-radio-buttons__label\">\n {{ option.label }}\n </span>\n </div>\n </div>\n</div>\n", styles: [".aeb-radio-buttons{display:flex;flex-direction:column;align-items:flex-start;color:var(--color-mono-900)}.aeb-radio-buttons--disabled{color:var(--color-blue-100);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-100)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--color-blue-100)}.aeb-radio-buttons--error{color:var(--color-red-500)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-red-500)}.aeb-radio-buttons__header{margin-bottom:16px;font-size:var(--font-size-s);font-weight:500;line-height:20px;color:var(--gray-primary)}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:16px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-600)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--color-blue-600)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{border:var(--border-skinny) solid var(--color-blue-700)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-color:var(--color-blue-700)}.aeb-radio-buttons__label{display:block;line-height:20px;font-size:var(--font-size-s);margin-top:2px}.aeb-radio-buttons__circle{position:relative;width:20px;height:20px;margin-right:12px;border:var(--border-skinny) solid var(--color-blue-500);border-radius:50%}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 6px);left:calc(50% - 6px);width:12px;height:12px;content:\"\";background-color:var(--color-blue-500);border-radius:50%}\n"] }]
|
|
4389
4389
|
}], propDecorators: { options: [{
|
|
4390
4390
|
type: Input,
|
|
4391
4391
|
args: ['options']
|