@abgov/angular-components 4.5.0-alpha.2 → 4.5.0-alpha.3
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.
- package/esm2022/lib/components/checkbox/checkbox.mjs +18 -6
- package/esm2022/lib/components/date-picker/date-picker.mjs +6 -2
- package/esm2022/lib/components/input/input.mjs +7 -2
- package/esm2022/lib/components/input-number/input-number.mjs +7 -2
- package/esm2022/lib/components/radio-item/radio-item.mjs +23 -5
- package/fesm2022/abgov-angular-components.mjs +53 -9
- package/fesm2022/abgov-angular-components.mjs.map +1 -1
- package/lib/components/checkbox/checkbox.d.ts +3 -1
- package/lib/components/date-picker/date-picker.d.ts +3 -2
- package/lib/components/input/input.d.ts +2 -1
- package/lib/components/input-number/input-number.d.ts +2 -1
- package/lib/components/radio-item/radio-item.d.ts +3 -1
- package/package.json +1 -1
|
@@ -829,7 +829,7 @@ class GoabCheckbox extends GoabControlValueAccessor {
|
|
|
829
829
|
this.fcChange?.(detail.binding === "check" ? detail.checked : detail.value || "");
|
|
830
830
|
}
|
|
831
831
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
832
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabCheckbox, isStandalone: true, selector: "goab-checkbox", inputs: { name: "name", checked: ["checked", "checked", booleanAttribute], text: "text", value: "value", ariaLabel: "ariaLabel", description: "description", maxWidth: "maxWidth" }, outputs: { onChange: "onChange" }, providers: [
|
|
832
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabCheckbox, isStandalone: true, selector: "goab-checkbox", inputs: { name: "name", checked: ["checked", "checked", booleanAttribute], text: "text", value: "value", ariaLabel: "ariaLabel", description: "description", reveal: "reveal", revealArialLabel: "revealArialLabel", maxWidth: "maxWidth" }, outputs: { onChange: "onChange" }, providers: [
|
|
833
833
|
{
|
|
834
834
|
provide: NG_VALUE_ACCESSOR,
|
|
835
835
|
multi: true,
|
|
@@ -845,6 +845,7 @@ class GoabCheckbox extends GoabControlValueAccessor {
|
|
|
845
845
|
[attr.testid]="testId"
|
|
846
846
|
[attr.arialabel]="ariaLabel"
|
|
847
847
|
[attr.description]="getDescriptionAsString()"
|
|
848
|
+
[attr.revealarialabel]="revealArialLabel"
|
|
848
849
|
[id]="id"
|
|
849
850
|
[attr.maxwidth]="maxWidth"
|
|
850
851
|
[attr.mt]="mt"
|
|
@@ -857,7 +858,10 @@ class GoabCheckbox extends GoabControlValueAccessor {
|
|
|
857
858
|
<div slot="description">
|
|
858
859
|
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
859
860
|
</div>
|
|
860
|
-
|
|
861
|
+
<div slot="reveal">
|
|
862
|
+
<ng-container *ngIf="reveal" [ngTemplateOutlet]="reveal"></ng-container>
|
|
863
|
+
</div>
|
|
864
|
+
</goa-checkbox>`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
861
865
|
}
|
|
862
866
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabCheckbox, decorators: [{
|
|
863
867
|
type: Component,
|
|
@@ -874,6 +878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
874
878
|
[attr.testid]="testId"
|
|
875
879
|
[attr.arialabel]="ariaLabel"
|
|
876
880
|
[attr.description]="getDescriptionAsString()"
|
|
881
|
+
[attr.revealarialabel]="revealArialLabel"
|
|
877
882
|
[id]="id"
|
|
878
883
|
[attr.maxwidth]="maxWidth"
|
|
879
884
|
[attr.mt]="mt"
|
|
@@ -886,6 +891,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
886
891
|
<div slot="description">
|
|
887
892
|
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
888
893
|
</div>
|
|
894
|
+
<div slot="reveal">
|
|
895
|
+
<ng-container *ngIf="reveal" [ngTemplateOutlet]="reveal"></ng-container>
|
|
896
|
+
</div>
|
|
889
897
|
</goa-checkbox>`,
|
|
890
898
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
891
899
|
providers: [
|
|
@@ -895,7 +903,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
895
903
|
useExisting: forwardRef(() => GoabCheckbox),
|
|
896
904
|
},
|
|
897
905
|
],
|
|
898
|
-
imports: [NgTemplateOutlet],
|
|
906
|
+
imports: [NgTemplateOutlet, NgIf],
|
|
899
907
|
}]
|
|
900
908
|
}], propDecorators: { name: [{
|
|
901
909
|
type: Input
|
|
@@ -910,6 +918,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
910
918
|
type: Input
|
|
911
919
|
}], description: [{
|
|
912
920
|
type: Input
|
|
921
|
+
}], reveal: [{
|
|
922
|
+
type: Input
|
|
923
|
+
}], revealArialLabel: [{
|
|
924
|
+
type: Input
|
|
913
925
|
}], maxWidth: [{
|
|
914
926
|
type: Input
|
|
915
927
|
}], onChange: [{
|
|
@@ -1168,7 +1180,7 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1168
1180
|
}
|
|
1169
1181
|
}
|
|
1170
1182
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabDatePicker, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1171
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabDatePicker, isStandalone: true, selector: "goab-date-picker", inputs: { name: "name", value: "value", min: "min", max: "max", relative: "relative" }, outputs: { onChange: "onChange" }, host: { listeners: { "disabledChange": "listenDisabledChange($event.detail.disabled)" } }, providers: [
|
|
1183
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: GoabDatePicker, isStandalone: true, selector: "goab-date-picker", inputs: { name: "name", value: "value", min: "min", max: "max", type: "type", relative: "relative" }, outputs: { onChange: "onChange" }, host: { listeners: { "disabledChange": "listenDisabledChange($event.detail.disabled)" } }, providers: [
|
|
1172
1184
|
{
|
|
1173
1185
|
provide: NG_VALUE_ACCESSOR,
|
|
1174
1186
|
multi: true,
|
|
@@ -1182,6 +1194,7 @@ class GoabDatePicker extends GoabControlValueAccessor {
|
|
|
1182
1194
|
[attr.error]="error"
|
|
1183
1195
|
[attr.disabled]="disabled"
|
|
1184
1196
|
[attr.relative]="relative"
|
|
1197
|
+
[attr.type]="type"
|
|
1185
1198
|
[attr.testid]="testId"
|
|
1186
1199
|
[attr.mt]="mt"
|
|
1187
1200
|
[attr.mb]="mb"
|
|
@@ -1204,6 +1217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
1204
1217
|
[attr.error]="error"
|
|
1205
1218
|
[attr.disabled]="disabled"
|
|
1206
1219
|
[attr.relative]="relative"
|
|
1220
|
+
[attr.type]="type"
|
|
1207
1221
|
[attr.testid]="testId"
|
|
1208
1222
|
[attr.mt]="mt"
|
|
1209
1223
|
[attr.mb]="mb"
|
|
@@ -1229,6 +1243,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
1229
1243
|
type: Input
|
|
1230
1244
|
}], max: [{
|
|
1231
1245
|
type: Input
|
|
1246
|
+
}], type: [{
|
|
1247
|
+
type: Input
|
|
1232
1248
|
}], relative: [{
|
|
1233
1249
|
type: Input
|
|
1234
1250
|
}], onChange: [{
|
|
@@ -2644,6 +2660,7 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
2644
2660
|
constructor() {
|
|
2645
2661
|
super(...arguments);
|
|
2646
2662
|
this.type = "text";
|
|
2663
|
+
this.textAlign = "left";
|
|
2647
2664
|
this.onTrailingIconClick = new EventEmitter();
|
|
2648
2665
|
this.onFocus = new EventEmitter();
|
|
2649
2666
|
this.onBlur = new EventEmitter();
|
|
@@ -2684,7 +2701,7 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
2684
2701
|
this.onBlur.emit(detail);
|
|
2685
2702
|
}
|
|
2686
2703
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2687
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabInput, isStandalone: true, selector: "goab-input", inputs: { type: "type", name: "name", debounce: ["debounce", "debounce", numberAttribute], autoCapitalize: "autoCapitalize", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", trailingIconAriaLabel: "trailingIconAriaLabel" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
2704
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabInput, isStandalone: true, selector: "goab-input", inputs: { type: "type", name: "name", debounce: ["debounce", "debounce", numberAttribute], autoCapitalize: "autoCapitalize", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", trailingIconAriaLabel: "trailingIconAriaLabel", textAlign: "textAlign" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
2688
2705
|
{
|
|
2689
2706
|
provide: NG_VALUE_ACCESSOR,
|
|
2690
2707
|
multi: true,
|
|
@@ -2721,6 +2738,7 @@ class GoabInput extends GoabControlValueAccessor {
|
|
|
2721
2738
|
[attr.mb]="mb"
|
|
2722
2739
|
[attr.ml]="ml"
|
|
2723
2740
|
[attr.handletrailingiconclick]="!!_onTrailingIconClick"
|
|
2741
|
+
[attr.textalign]="textAlign"
|
|
2724
2742
|
(_trailingIconClick)="_onTrailingIconClick($event)"
|
|
2725
2743
|
(_change)="_onChange($event)"
|
|
2726
2744
|
(_focus)="_onFocus($event)"
|
|
@@ -2768,6 +2786,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
2768
2786
|
[attr.mb]="mb"
|
|
2769
2787
|
[attr.ml]="ml"
|
|
2770
2788
|
[attr.handletrailingiconclick]="!!_onTrailingIconClick"
|
|
2789
|
+
[attr.textalign]="textAlign"
|
|
2771
2790
|
(_trailingIconClick)="_onTrailingIconClick($event)"
|
|
2772
2791
|
(_change)="_onChange($event)"
|
|
2773
2792
|
(_focus)="_onFocus($event)"
|
|
@@ -2832,6 +2851,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
2832
2851
|
type: Input
|
|
2833
2852
|
}], trailingIconAriaLabel: [{
|
|
2834
2853
|
type: Input
|
|
2854
|
+
}], textAlign: [{
|
|
2855
|
+
type: Input
|
|
2835
2856
|
}], onTrailingIconClick: [{
|
|
2836
2857
|
type: Output
|
|
2837
2858
|
}], onFocus: [{
|
|
@@ -2847,6 +2868,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
2847
2868
|
class GoabInputNumber {
|
|
2848
2869
|
constructor() {
|
|
2849
2870
|
this.type = "number";
|
|
2871
|
+
this.textAlign = "right"; // Default to right for numbers
|
|
2850
2872
|
this.value = null;
|
|
2851
2873
|
this.onTrailingIconClick = new EventEmitter(); // Keep void type
|
|
2852
2874
|
this.onFocus = new EventEmitter();
|
|
@@ -2913,7 +2935,7 @@ class GoabInputNumber {
|
|
|
2913
2935
|
this.disabled = isDisabled;
|
|
2914
2936
|
}
|
|
2915
2937
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabInputNumber, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2916
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabInputNumber, isStandalone: true, selector: "goab-input-number", inputs: { type: "type", name: "name", id: "id", debounce: ["debounce", "debounce", numberAttribute], disabled: ["disabled", "disabled", booleanAttribute], autoCapitalize: "autoCapitalize", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], error: ["error", "error", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", testId: "testId", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", mt: "mt", mr: "mr", mb: "mb", ml: "ml", trailingIconAriaLabel: "trailingIconAriaLabel", value: "value" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
2938
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabInputNumber, isStandalone: true, selector: "goab-input-number", inputs: { type: "type", name: "name", id: "id", debounce: ["debounce", "debounce", numberAttribute], disabled: ["disabled", "disabled", booleanAttribute], autoCapitalize: "autoCapitalize", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], error: ["error", "error", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", testId: "testId", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", mt: "mt", mr: "mr", mb: "mb", ml: "ml", trailingIconAriaLabel: "trailingIconAriaLabel", textAlign: "textAlign", value: "value" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
|
|
2917
2939
|
{
|
|
2918
2940
|
provide: NG_VALUE_ACCESSOR,
|
|
2919
2941
|
multi: true,
|
|
@@ -2951,6 +2973,7 @@ class GoabInputNumber {
|
|
|
2951
2973
|
[attr.mb]="mb"
|
|
2952
2974
|
[attr.ml]="ml"
|
|
2953
2975
|
[attr.handletrailingiconclick]="handleTrailingIconClick"
|
|
2976
|
+
[attr.textalign]="textAlign"
|
|
2954
2977
|
(_trailingIconClick)="_onTrailingIconClick($event)"
|
|
2955
2978
|
(_change)="_onChange($event)"
|
|
2956
2979
|
(_focus)="_onFocus($event)"
|
|
@@ -2998,6 +3021,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
2998
3021
|
[attr.mb]="mb"
|
|
2999
3022
|
[attr.ml]="ml"
|
|
3000
3023
|
[attr.handletrailingiconclick]="handleTrailingIconClick"
|
|
3024
|
+
[attr.textalign]="textAlign"
|
|
3001
3025
|
(_trailingIconClick)="_onTrailingIconClick($event)"
|
|
3002
3026
|
(_change)="_onChange($event)"
|
|
3003
3027
|
(_focus)="_onFocus($event)"
|
|
@@ -3081,6 +3105,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
3081
3105
|
type: Input
|
|
3082
3106
|
}], trailingIconAriaLabel: [{
|
|
3083
3107
|
type: Input
|
|
3108
|
+
}], textAlign: [{
|
|
3109
|
+
type: Input
|
|
3084
3110
|
}], value: [{
|
|
3085
3111
|
type: Input
|
|
3086
3112
|
}], onTrailingIconClick: [{
|
|
@@ -3649,13 +3675,14 @@ class GoabRadioItem extends GoabBaseComponent {
|
|
|
3649
3675
|
return this.description instanceof TemplateRef ? this.description : null;
|
|
3650
3676
|
}
|
|
3651
3677
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabRadioItem, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3652
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabRadioItem, isStandalone: true, selector: "goab-radio-item", inputs: { value: "value", label: "label", name: "name", description: "description", ariaLabel: "ariaLabel", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], error: ["error", "error", booleanAttribute], maxWidth: "maxWidth" }, usesInheritance: true, ngImport: i0, template: `
|
|
3678
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.3", type: GoabRadioItem, isStandalone: true, selector: "goab-radio-item", inputs: { value: "value", label: "label", name: "name", description: "description", reveal: "reveal", ariaLabel: "ariaLabel", revealAriaLabel: "revealAriaLabel", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], error: ["error", "error", booleanAttribute], maxWidth: "maxWidth" }, usesInheritance: true, ngImport: i0, template: `
|
|
3653
3679
|
<goa-radio-item
|
|
3654
3680
|
[attr.name]="name"
|
|
3655
3681
|
[attr.value]="value"
|
|
3656
3682
|
[attr.label]="label"
|
|
3657
3683
|
[attr.description]="getDescriptionAsString()"
|
|
3658
3684
|
[attr.arialabel]="ariaLabel"
|
|
3685
|
+
[attr.revealarialabel]="revealAriaLabel"
|
|
3659
3686
|
[disabled]="disabled"
|
|
3660
3687
|
[attr.maxwidth]="maxWidth"
|
|
3661
3688
|
[attr.checked]="checked"
|
|
@@ -3669,8 +3696,14 @@ class GoabRadioItem extends GoabBaseComponent {
|
|
|
3669
3696
|
<div slot="description">
|
|
3670
3697
|
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
3671
3698
|
</div>
|
|
3699
|
+
<div slot="reveal">
|
|
3700
|
+
<ng-container
|
|
3701
|
+
*ngIf="this.reveal"
|
|
3702
|
+
[ngTemplateOutlet]="reveal"
|
|
3703
|
+
></ng-container>
|
|
3704
|
+
</div>
|
|
3672
3705
|
</goa-radio-item>
|
|
3673
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
3706
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
3674
3707
|
}
|
|
3675
3708
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: GoabRadioItem, decorators: [{
|
|
3676
3709
|
type: Component,
|
|
@@ -3684,6 +3717,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
3684
3717
|
[attr.label]="label"
|
|
3685
3718
|
[attr.description]="getDescriptionAsString()"
|
|
3686
3719
|
[attr.arialabel]="ariaLabel"
|
|
3720
|
+
[attr.revealarialabel]="revealAriaLabel"
|
|
3687
3721
|
[disabled]="disabled"
|
|
3688
3722
|
[attr.maxwidth]="maxWidth"
|
|
3689
3723
|
[attr.checked]="checked"
|
|
@@ -3697,9 +3731,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
3697
3731
|
<div slot="description">
|
|
3698
3732
|
<ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
|
|
3699
3733
|
</div>
|
|
3734
|
+
<div slot="reveal">
|
|
3735
|
+
<ng-container
|
|
3736
|
+
*ngIf="this.reveal"
|
|
3737
|
+
[ngTemplateOutlet]="reveal"
|
|
3738
|
+
></ng-container>
|
|
3739
|
+
</div>
|
|
3700
3740
|
</goa-radio-item>
|
|
3701
3741
|
`,
|
|
3702
|
-
imports: [NgTemplateOutlet],
|
|
3742
|
+
imports: [NgTemplateOutlet, NgIf],
|
|
3703
3743
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
3704
3744
|
}]
|
|
3705
3745
|
}], propDecorators: { value: [{
|
|
@@ -3710,8 +3750,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImpor
|
|
|
3710
3750
|
type: Input
|
|
3711
3751
|
}], description: [{
|
|
3712
3752
|
type: Input
|
|
3753
|
+
}], reveal: [{
|
|
3754
|
+
type: Input
|
|
3713
3755
|
}], ariaLabel: [{
|
|
3714
3756
|
type: Input
|
|
3757
|
+
}], revealAriaLabel: [{
|
|
3758
|
+
type: Input
|
|
3715
3759
|
}], disabled: [{
|
|
3716
3760
|
type: Input,
|
|
3717
3761
|
args: [{ transform: booleanAttribute }]
|