@sebgroup/green-core-ng 3.11.1 → 3.12.0
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/fesm2022/sebgroup-green-core-ng.mjs +46 -5
- package/fesm2022/sebgroup-green-core-ng.mjs.map +1 -1
- package/generated/checkbox-group/checkbox-group.component.d.ts +4 -2
- package/generated/input/input.component.d.ts +3 -1
- package/generated/radio-group/radio-group.component.d.ts +3 -1
- package/generated/select/select.component.d.ts +5 -3
- package/generated/textarea/textarea.component.d.ts +3 -1
- package/package.json +2 -2
|
@@ -3943,6 +3943,8 @@ let GdsInputComponent = class GdsInputComponent extends GdsFormControlBase {
|
|
|
3943
3943
|
super(...arguments);
|
|
3944
3944
|
/** Fired when the clear button is clicked. */
|
|
3945
3945
|
this.gdsInputCleared = new EventEmitter();
|
|
3946
|
+
/** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
|
|
3947
|
+
this.gdsUiState = new EventEmitter();
|
|
3946
3948
|
}
|
|
3947
3949
|
get element() {
|
|
3948
3950
|
return this.elementRef.nativeElement;
|
|
@@ -3961,6 +3963,9 @@ let GdsInputComponent = class GdsInputComponent extends GdsFormControlBase {
|
|
|
3961
3963
|
this.elementRef.nativeElement.addEventListener('gds-input-cleared', (event) => {
|
|
3962
3964
|
this.gdsInputCleared.emit(event);
|
|
3963
3965
|
});
|
|
3966
|
+
this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
|
|
3967
|
+
this.gdsUiState.emit(event);
|
|
3968
|
+
});
|
|
3964
3969
|
}
|
|
3965
3970
|
ngOnChanges(changes) {
|
|
3966
3971
|
// Implementation added by @ProxyInputs decorator
|
|
@@ -3969,7 +3974,7 @@ let GdsInputComponent = class GdsInputComponent extends GdsFormControlBase {
|
|
|
3969
3974
|
super.ngAfterViewInit();
|
|
3970
3975
|
}
|
|
3971
3976
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3972
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsInputComponent, isStandalone: true, selector: "gds-input", inputs: { width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], type: "type", min: "min", max: "max", step: "step", autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], enterkeyhint: "enterkeyhint", spellcheck: ["spellcheck", "spellcheck", booleanAttribute], inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared" }, providers: [
|
|
3977
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsInputComponent, isStandalone: true, selector: "gds-input", inputs: { width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], type: "type", min: "min", max: "max", step: "step", autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], enterkeyhint: "enterkeyhint", spellcheck: ["spellcheck", "spellcheck", booleanAttribute], inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared", gdsUiState: "gdsUiState" }, providers: [
|
|
3973
3978
|
{
|
|
3974
3979
|
provide: NG_VALUE_ACCESSOR,
|
|
3975
3980
|
useExisting: forwardRef(() => GdsInputComponent),
|
|
@@ -4100,6 +4105,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
4100
4105
|
args: [{ transform: booleanAttribute }]
|
|
4101
4106
|
}], gdsInputCleared: [{
|
|
4102
4107
|
type: Output
|
|
4108
|
+
}], gdsUiState: [{
|
|
4109
|
+
type: Output
|
|
4103
4110
|
}] } });
|
|
4104
4111
|
|
|
4105
4112
|
/**
|
|
@@ -5233,6 +5240,8 @@ let GdsSelectComponent = class GdsSelectComponent extends GdsFormControlBase {
|
|
|
5233
5240
|
this.change = new EventEmitter();
|
|
5234
5241
|
/** Fired on input with detail: { value: string } */
|
|
5235
5242
|
this.input = new EventEmitter();
|
|
5243
|
+
/** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
|
|
5244
|
+
this.gdsUiState = new EventEmitter();
|
|
5236
5245
|
}
|
|
5237
5246
|
get element() {
|
|
5238
5247
|
return this.elementRef.nativeElement;
|
|
@@ -5247,6 +5256,10 @@ let GdsSelectComponent = class GdsSelectComponent extends GdsFormControlBase {
|
|
|
5247
5256
|
// Component may not be available in this version of green-core
|
|
5248
5257
|
console.warn('Failed to define gds-select:', e);
|
|
5249
5258
|
}
|
|
5259
|
+
// Set up event listeners
|
|
5260
|
+
this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
|
|
5261
|
+
this.gdsUiState.emit(event);
|
|
5262
|
+
});
|
|
5250
5263
|
}
|
|
5251
5264
|
ngOnChanges(changes) {
|
|
5252
5265
|
// Implementation added by @ProxyInputs decorator
|
|
@@ -5255,7 +5268,7 @@ let GdsSelectComponent = class GdsSelectComponent extends GdsFormControlBase {
|
|
|
5255
5268
|
super.ngAfterViewInit();
|
|
5256
5269
|
}
|
|
5257
5270
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5258
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsSelectComponent, isStandalone: true, selector: "gds-select", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], size: "size", plain: ["plain", "plain", booleanAttribute], selectElement: "selectElement", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input" }, providers: [
|
|
5271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsSelectComponent, isStandalone: true, selector: "gds-select", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], size: "size", plain: ["plain", "plain", booleanAttribute], selectElement: "selectElement", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input", gdsUiState: "gdsUiState" }, providers: [
|
|
5259
5272
|
{
|
|
5260
5273
|
provide: NG_VALUE_ACCESSOR,
|
|
5261
5274
|
useExisting: forwardRef(() => GdsSelectComponent),
|
|
@@ -5352,6 +5365,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
5352
5365
|
type: Output
|
|
5353
5366
|
}], input: [{
|
|
5354
5367
|
type: Output
|
|
5368
|
+
}], gdsUiState: [{
|
|
5369
|
+
type: Output
|
|
5355
5370
|
}] } });
|
|
5356
5371
|
|
|
5357
5372
|
/**
|
|
@@ -6019,6 +6034,8 @@ let GdsTextareaComponent = class GdsTextareaComponent extends GdsFormControlBase
|
|
|
6019
6034
|
super(...arguments);
|
|
6020
6035
|
/** Fired when the clear button is clicked. */
|
|
6021
6036
|
this.gdsInputCleared = new EventEmitter();
|
|
6037
|
+
/** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
|
|
6038
|
+
this.gdsUiState = new EventEmitter();
|
|
6022
6039
|
}
|
|
6023
6040
|
get element() {
|
|
6024
6041
|
return this.elementRef.nativeElement;
|
|
@@ -6037,6 +6054,9 @@ let GdsTextareaComponent = class GdsTextareaComponent extends GdsFormControlBase
|
|
|
6037
6054
|
this.elementRef.nativeElement.addEventListener('gds-input-cleared', (event) => {
|
|
6038
6055
|
this.gdsInputCleared.emit(event);
|
|
6039
6056
|
});
|
|
6057
|
+
this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
|
|
6058
|
+
this.gdsUiState.emit(event);
|
|
6059
|
+
});
|
|
6040
6060
|
}
|
|
6041
6061
|
ngOnChanges(changes) {
|
|
6042
6062
|
// Implementation added by @ProxyInputs decorator
|
|
@@ -6045,7 +6065,7 @@ let GdsTextareaComponent = class GdsTextareaComponent extends GdsFormControlBase
|
|
|
6045
6065
|
super.ngAfterViewInit();
|
|
6046
6066
|
}
|
|
6047
6067
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6048
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsTextareaComponent, isStandalone: true, selector: "gds-textarea", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", rows: "rows", supportingText: "supportingText", clearable: ["clearable", "clearable", booleanAttribute], resizable: "resizable", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], spellcheck: ["spellcheck", "spellcheck", booleanAttribute], wrap: "wrap", enterkeyhint: "enterkeyhint", inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared" }, providers: [
|
|
6068
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsTextareaComponent, isStandalone: true, selector: "gds-textarea", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", rows: "rows", supportingText: "supportingText", clearable: ["clearable", "clearable", booleanAttribute], resizable: "resizable", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], spellcheck: ["spellcheck", "spellcheck", booleanAttribute], wrap: "wrap", enterkeyhint: "enterkeyhint", inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared", gdsUiState: "gdsUiState" }, providers: [
|
|
6049
6069
|
{
|
|
6050
6070
|
provide: NG_VALUE_ACCESSOR,
|
|
6051
6071
|
useExisting: forwardRef(() => GdsTextareaComponent),
|
|
@@ -6174,6 +6194,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
6174
6194
|
args: [{ transform: booleanAttribute }]
|
|
6175
6195
|
}], gdsInputCleared: [{
|
|
6176
6196
|
type: Output
|
|
6197
|
+
}], gdsUiState: [{
|
|
6198
|
+
type: Output
|
|
6177
6199
|
}] } });
|
|
6178
6200
|
|
|
6179
6201
|
/**
|
|
@@ -6829,6 +6851,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
6829
6851
|
*
|
|
6830
6852
|
*/
|
|
6831
6853
|
let GdsCheckboxGroupComponent = class GdsCheckboxGroupComponent extends GdsFormControlBase {
|
|
6854
|
+
constructor() {
|
|
6855
|
+
super(...arguments);
|
|
6856
|
+
/** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
|
|
6857
|
+
this.gdsUiState = new EventEmitter();
|
|
6858
|
+
}
|
|
6832
6859
|
get element() {
|
|
6833
6860
|
return this.elementRef.nativeElement;
|
|
6834
6861
|
}
|
|
@@ -6842,6 +6869,10 @@ let GdsCheckboxGroupComponent = class GdsCheckboxGroupComponent extends GdsFormC
|
|
|
6842
6869
|
// Component may not be available in this version of green-core
|
|
6843
6870
|
console.warn('Failed to define gds-checkbox-group:', e);
|
|
6844
6871
|
}
|
|
6872
|
+
// Set up event listeners
|
|
6873
|
+
this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
|
|
6874
|
+
this.gdsUiState.emit(event);
|
|
6875
|
+
});
|
|
6845
6876
|
}
|
|
6846
6877
|
ngOnChanges(changes) {
|
|
6847
6878
|
// Implementation added by @ProxyInputs decorator
|
|
@@ -6850,7 +6881,7 @@ let GdsCheckboxGroupComponent = class GdsCheckboxGroupComponent extends GdsFormC
|
|
|
6850
6881
|
super.ngAfterViewInit();
|
|
6851
6882
|
}
|
|
6852
6883
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsCheckboxGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6853
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsCheckboxGroupComponent, isStandalone: true, selector: "gds-checkbox-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, providers: [
|
|
6884
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsCheckboxGroupComponent, isStandalone: true, selector: "gds-checkbox-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsUiState: "gdsUiState" }, providers: [
|
|
6854
6885
|
{
|
|
6855
6886
|
provide: NG_VALUE_ACCESSOR,
|
|
6856
6887
|
useExisting: forwardRef(() => GdsCheckboxGroupComponent),
|
|
@@ -6943,6 +6974,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
6943
6974
|
}], syncFirstRender: [{
|
|
6944
6975
|
type: Input,
|
|
6945
6976
|
args: [{ transform: booleanAttribute }]
|
|
6977
|
+
}], gdsUiState: [{
|
|
6978
|
+
type: Output
|
|
6946
6979
|
}] } });
|
|
6947
6980
|
|
|
6948
6981
|
/**
|
|
@@ -7664,6 +7697,8 @@ let GdsRadioGroupComponent = class GdsRadioGroupComponent extends GdsFormControl
|
|
|
7664
7697
|
this.change = new EventEmitter();
|
|
7665
7698
|
/** Fired when a radio button selection changes */
|
|
7666
7699
|
this.input = new EventEmitter();
|
|
7700
|
+
/** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
|
|
7701
|
+
this.gdsUiState = new EventEmitter();
|
|
7667
7702
|
}
|
|
7668
7703
|
get element() {
|
|
7669
7704
|
return this.elementRef.nativeElement;
|
|
@@ -7678,6 +7713,10 @@ let GdsRadioGroupComponent = class GdsRadioGroupComponent extends GdsFormControl
|
|
|
7678
7713
|
// Component may not be available in this version of green-core
|
|
7679
7714
|
console.warn('Failed to define gds-radio-group:', e);
|
|
7680
7715
|
}
|
|
7716
|
+
// Set up event listeners
|
|
7717
|
+
this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
|
|
7718
|
+
this.gdsUiState.emit(event);
|
|
7719
|
+
});
|
|
7681
7720
|
}
|
|
7682
7721
|
ngOnChanges(changes) {
|
|
7683
7722
|
// Implementation added by @ProxyInputs decorator
|
|
@@ -7686,7 +7725,7 @@ let GdsRadioGroupComponent = class GdsRadioGroupComponent extends GdsFormControl
|
|
|
7686
7725
|
super.ngAfterViewInit();
|
|
7687
7726
|
}
|
|
7688
7727
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsRadioGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsRadioGroupComponent, isStandalone: true, selector: "gds-radio-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", value: "value", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input" }, providers: [
|
|
7728
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsRadioGroupComponent, isStandalone: true, selector: "gds-radio-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", value: "value", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input", gdsUiState: "gdsUiState" }, providers: [
|
|
7690
7729
|
{
|
|
7691
7730
|
provide: NG_VALUE_ACCESSOR,
|
|
7692
7731
|
useExisting: forwardRef(() => GdsRadioGroupComponent),
|
|
@@ -7780,6 +7819,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
7780
7819
|
type: Output
|
|
7781
7820
|
}], input: [{
|
|
7782
7821
|
type: Output
|
|
7822
|
+
}], gdsUiState: [{
|
|
7823
|
+
type: Output
|
|
7783
7824
|
}] } });
|
|
7784
7825
|
|
|
7785
7826
|
/**
|