@sebgroup/green-core-ng 2.23.0 → 2.24.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 +94 -85
- package/fesm2022/sebgroup-green-core-ng.mjs.map +1 -1
- package/generated/green-core-ng.module.d.ts +4 -4
- package/generated/index.d.ts +1 -1
- package/generated/pagination/pagination.component.d.ts +4 -1
- package/generated/table/table.component.d.ts +7 -1
- package/package.json +2 -2
|
@@ -33,9 +33,9 @@ import { GdsLink } from '@sebgroup/green-core/components/link/link.component.js'
|
|
|
33
33
|
import { GdsMask } from '@sebgroup/green-core/components/mask/mask.component.js';
|
|
34
34
|
import { GdsMenuButton } from '@sebgroup/green-core/components/menu-button/menu-button.component.js';
|
|
35
35
|
import { GdsPagination } from '@sebgroup/green-core/components/pagination/pagination.component.js';
|
|
36
|
+
import { GdsRadio } from '@sebgroup/green-core/components/radio/radio.component.js';
|
|
36
37
|
import { GdsBackdrop } from '@sebgroup/green-core/components/popover/backdrop.component.js';
|
|
37
38
|
import { GdsPopover } from '@sebgroup/green-core/components/popover/popover.component.js';
|
|
38
|
-
import { GdsRadio } from '@sebgroup/green-core/components/radio/radio.component.js';
|
|
39
39
|
import { GdsRichText } from '@sebgroup/green-core/components/rich-text/rich-text.component.js';
|
|
40
40
|
import { GdsSegmentedControl } from '@sebgroup/green-core/components/segmented-control/segmented-control.component.js';
|
|
41
41
|
import { GdsSelect } from '@sebgroup/green-core/components/select/select.component.js';
|
|
@@ -4261,10 +4261,10 @@ let GdsPaginationComponent = class GdsPaginationComponent {
|
|
|
4261
4261
|
// Implementation added by @ProxyInputs decorator
|
|
4262
4262
|
}
|
|
4263
4263
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4264
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsPaginationComponent, isStandalone: true, selector: "gds-pagination", inputs: { page: "page", rows: "rows", total: "total", options: "options", jump: ["jump", "jump", booleanAttribute], density: "density", label: "label", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order" }, outputs: { gdsPageChange: "gdsPageChange", gdsRowsChange: "gdsRowsChange" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4264
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsPaginationComponent, isStandalone: true, selector: "gds-pagination", inputs: { page: "page", rows: "rows", total: "total", options: "options", jump: ["jump", "jump", booleanAttribute], hideOptions: ["hideOptions", "hideOptions", booleanAttribute], density: "density", label: "label", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order" }, outputs: { gdsPageChange: "gdsPageChange", gdsRowsChange: "gdsRowsChange" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4265
4265
|
};
|
|
4266
4266
|
GdsPaginationComponent = __decorate([
|
|
4267
|
-
ProxyInputs(['page', 'rows', 'total', 'options', 'jump', 'density', 'label', 'margin', 'margin-inline', 'margin-block', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order']),
|
|
4267
|
+
ProxyInputs(['page', 'rows', 'total', 'options', 'jump', 'hideOptions', 'density', 'label', 'margin', 'margin-inline', 'margin-block', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order']),
|
|
4268
4268
|
__metadata("design:paramtypes", [])
|
|
4269
4269
|
], GdsPaginationComponent);
|
|
4270
4270
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsPaginationComponent, decorators: [{
|
|
@@ -4286,6 +4286,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4286
4286
|
}], jump: [{
|
|
4287
4287
|
type: Input,
|
|
4288
4288
|
args: [{ transform: booleanAttribute }]
|
|
4289
|
+
}], hideOptions: [{
|
|
4290
|
+
type: Input,
|
|
4291
|
+
args: [{ transform: booleanAttribute }]
|
|
4289
4292
|
}], density: [{
|
|
4290
4293
|
type: Input
|
|
4291
4294
|
}], label: [{
|
|
@@ -4337,6 +4340,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4337
4340
|
* Auto-generated from Custom Elements Manifest
|
|
4338
4341
|
*/
|
|
4339
4342
|
|
|
4343
|
+
/**
|
|
4344
|
+
* Angular wrapper for the gds-radio web component
|
|
4345
|
+
*
|
|
4346
|
+
*/
|
|
4347
|
+
let GdsRadioComponent = class GdsRadioComponent {
|
|
4348
|
+
get element() {
|
|
4349
|
+
return this.elementRef.nativeElement;
|
|
4350
|
+
}
|
|
4351
|
+
constructor() {
|
|
4352
|
+
this.elementRef = inject((ElementRef));
|
|
4353
|
+
this.zone = inject(NgZone);
|
|
4354
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
4355
|
+
/** Dispatched when the radio button is checked. */
|
|
4356
|
+
this.input = new EventEmitter();
|
|
4357
|
+
this.cdr.detach();
|
|
4358
|
+
}
|
|
4359
|
+
ngOnInit() {
|
|
4360
|
+
// Define the custom element
|
|
4361
|
+
try {
|
|
4362
|
+
GdsRadio.define();
|
|
4363
|
+
}
|
|
4364
|
+
catch (e) {
|
|
4365
|
+
// Component may not be available in this version of green-core
|
|
4366
|
+
console.warn('Failed to define gds-radio:', e);
|
|
4367
|
+
}
|
|
4368
|
+
}
|
|
4369
|
+
ngOnChanges(changes) {
|
|
4370
|
+
// Implementation added by @ProxyInputs decorator
|
|
4371
|
+
}
|
|
4372
|
+
ngAfterViewInit() {
|
|
4373
|
+
// Implementation added by @ProxyInputs decorator
|
|
4374
|
+
}
|
|
4375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4376
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsRadioComponent, isStandalone: true, selector: "gds-radio", inputs: { label: "label", supportingText: "supportingText", value: "value", checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], invalid: ["invalid", "invalid", booleanAttribute], errorMessage: "errorMessage" }, outputs: { input: "input" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4377
|
+
};
|
|
4378
|
+
GdsRadioComponent = __decorate([
|
|
4379
|
+
ProxyInputs(['label', 'supportingText', 'value', 'checked', 'disabled', 'invalid', 'errorMessage']),
|
|
4380
|
+
__metadata("design:paramtypes", [])
|
|
4381
|
+
], GdsRadioComponent);
|
|
4382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsRadioComponent, decorators: [{
|
|
4383
|
+
type: Component,
|
|
4384
|
+
args: [{
|
|
4385
|
+
selector: 'gds-radio',
|
|
4386
|
+
standalone: true,
|
|
4387
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4388
|
+
template: `<ng-content></ng-content>`
|
|
4389
|
+
}]
|
|
4390
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
4391
|
+
type: Input
|
|
4392
|
+
}], supportingText: [{
|
|
4393
|
+
type: Input
|
|
4394
|
+
}], value: [{
|
|
4395
|
+
type: Input
|
|
4396
|
+
}], checked: [{
|
|
4397
|
+
type: Input,
|
|
4398
|
+
args: [{ transform: booleanAttribute }]
|
|
4399
|
+
}], disabled: [{
|
|
4400
|
+
type: Input,
|
|
4401
|
+
args: [{ transform: booleanAttribute }]
|
|
4402
|
+
}], invalid: [{
|
|
4403
|
+
type: Input,
|
|
4404
|
+
args: [{ transform: booleanAttribute }]
|
|
4405
|
+
}], errorMessage: [{
|
|
4406
|
+
type: Input
|
|
4407
|
+
}], input: [{
|
|
4408
|
+
type: Output
|
|
4409
|
+
}] } });
|
|
4410
|
+
|
|
4411
|
+
/**
|
|
4412
|
+
* GdsRadioComponent - Angular wrapper for gds-radio
|
|
4413
|
+
*
|
|
4414
|
+
*
|
|
4415
|
+
* Auto-generated from Custom Elements Manifest
|
|
4416
|
+
*/
|
|
4417
|
+
|
|
4340
4418
|
/**
|
|
4341
4419
|
* Angular wrapper for the gds-backdrop web component
|
|
4342
4420
|
*
|
|
@@ -4490,81 +4568,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4490
4568
|
* Auto-generated from Custom Elements Manifest
|
|
4491
4569
|
*/
|
|
4492
4570
|
|
|
4493
|
-
/**
|
|
4494
|
-
* Angular wrapper for the gds-radio web component
|
|
4495
|
-
*
|
|
4496
|
-
*/
|
|
4497
|
-
let GdsRadioComponent = class GdsRadioComponent {
|
|
4498
|
-
get element() {
|
|
4499
|
-
return this.elementRef.nativeElement;
|
|
4500
|
-
}
|
|
4501
|
-
constructor() {
|
|
4502
|
-
this.elementRef = inject((ElementRef));
|
|
4503
|
-
this.zone = inject(NgZone);
|
|
4504
|
-
this.cdr = inject(ChangeDetectorRef);
|
|
4505
|
-
/** Dispatched when the radio button is checked. */
|
|
4506
|
-
this.input = new EventEmitter();
|
|
4507
|
-
this.cdr.detach();
|
|
4508
|
-
}
|
|
4509
|
-
ngOnInit() {
|
|
4510
|
-
// Define the custom element
|
|
4511
|
-
try {
|
|
4512
|
-
GdsRadio.define();
|
|
4513
|
-
}
|
|
4514
|
-
catch (e) {
|
|
4515
|
-
// Component may not be available in this version of green-core
|
|
4516
|
-
console.warn('Failed to define gds-radio:', e);
|
|
4517
|
-
}
|
|
4518
|
-
}
|
|
4519
|
-
ngOnChanges(changes) {
|
|
4520
|
-
// Implementation added by @ProxyInputs decorator
|
|
4521
|
-
}
|
|
4522
|
-
ngAfterViewInit() {
|
|
4523
|
-
// Implementation added by @ProxyInputs decorator
|
|
4524
|
-
}
|
|
4525
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4526
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsRadioComponent, isStandalone: true, selector: "gds-radio", inputs: { label: "label", supportingText: "supportingText", value: "value", checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], invalid: ["invalid", "invalid", booleanAttribute], errorMessage: "errorMessage" }, outputs: { input: "input" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4527
|
-
};
|
|
4528
|
-
GdsRadioComponent = __decorate([
|
|
4529
|
-
ProxyInputs(['label', 'supportingText', 'value', 'checked', 'disabled', 'invalid', 'errorMessage']),
|
|
4530
|
-
__metadata("design:paramtypes", [])
|
|
4531
|
-
], GdsRadioComponent);
|
|
4532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsRadioComponent, decorators: [{
|
|
4533
|
-
type: Component,
|
|
4534
|
-
args: [{
|
|
4535
|
-
selector: 'gds-radio',
|
|
4536
|
-
standalone: true,
|
|
4537
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4538
|
-
template: `<ng-content></ng-content>`
|
|
4539
|
-
}]
|
|
4540
|
-
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
4541
|
-
type: Input
|
|
4542
|
-
}], supportingText: [{
|
|
4543
|
-
type: Input
|
|
4544
|
-
}], value: [{
|
|
4545
|
-
type: Input
|
|
4546
|
-
}], checked: [{
|
|
4547
|
-
type: Input,
|
|
4548
|
-
args: [{ transform: booleanAttribute }]
|
|
4549
|
-
}], disabled: [{
|
|
4550
|
-
type: Input,
|
|
4551
|
-
args: [{ transform: booleanAttribute }]
|
|
4552
|
-
}], invalid: [{
|
|
4553
|
-
type: Input,
|
|
4554
|
-
args: [{ transform: booleanAttribute }]
|
|
4555
|
-
}], errorMessage: [{
|
|
4556
|
-
type: Input
|
|
4557
|
-
}], input: [{
|
|
4558
|
-
type: Output
|
|
4559
|
-
}] } });
|
|
4560
|
-
|
|
4561
|
-
/**
|
|
4562
|
-
* GdsRadioComponent - Angular wrapper for gds-radio
|
|
4563
|
-
*
|
|
4564
|
-
*
|
|
4565
|
-
* Auto-generated from Custom Elements Manifest
|
|
4566
|
-
*/
|
|
4567
|
-
|
|
4568
4571
|
/**
|
|
4569
4572
|
* Angular wrapper for the gds-rich-text web component
|
|
4570
4573
|
* `gds-rich-text` can be used to wrap generic HTML content and apply typography styles.
|
|
@@ -5093,10 +5096,10 @@ let GdsTableComponent = class GdsTableComponent {
|
|
|
5093
5096
|
// Implementation added by @ProxyInputs decorator
|
|
5094
5097
|
}
|
|
5095
5098
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5096
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsTableComponent, isStandalone: true, selector: "gds-table", inputs: { options: "options", page: "page", rows: "rows", columns: "columns", data: "data", density: "density", selectable: ["selectable", "selectable", booleanAttribute], responsive: ["responsive", "responsive", booleanAttribute], plain: ["plain", "plain", booleanAttribute], searchable: ["searchable", "searchable", booleanAttribute], settings: ["settings", "settings", booleanAttribute], striped: ["striped", "striped", booleanAttribute], actions: "actions", nocache: ["nocache", "nocache", booleanAttribute], dataLoadKey: "dataLoadKey", height: "height", variant: "variant" }, outputs: { gdsTableDataLoaded: "gdsTableDataLoaded", gdsTableDataError: "gdsTableDataError", gdsTableSelection: "gdsTableSelection" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5099
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsTableComponent, isStandalone: true, selector: "gds-table", inputs: { headline: "headline", headlineTag: "headlineTag", summary: "summary", options: "options", page: "page", rows: "rows", columns: "columns", data: "data", density: "density", selectable: ["selectable", "selectable", booleanAttribute], responsive: ["responsive", "responsive", booleanAttribute], plain: ["plain", "plain", booleanAttribute], searchable: ["searchable", "searchable", booleanAttribute], settings: ["settings", "settings", booleanAttribute], striped: ["striped", "striped", booleanAttribute], actions: "actions", nocache: ["nocache", "nocache", booleanAttribute], dataLoadKey: "dataLoadKey", height: "height", variant: "variant" }, outputs: { gdsTableDataLoaded: "gdsTableDataLoaded", gdsTableDataError: "gdsTableDataError", gdsTableSelection: "gdsTableSelection" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5097
5100
|
};
|
|
5098
5101
|
GdsTableComponent = __decorate([
|
|
5099
|
-
ProxyInputs(['options', 'page', 'rows', 'columns', 'data', 'density', 'selectable', 'responsive', 'plain', 'searchable', 'settings', 'striped', 'actions', 'nocache', 'dataLoadKey', 'height', 'variant']),
|
|
5102
|
+
ProxyInputs(['headline', 'headlineTag', 'summary', 'options', 'page', 'rows', 'columns', 'data', 'density', 'selectable', 'responsive', 'plain', 'searchable', 'settings', 'striped', 'actions', 'nocache', 'dataLoadKey', 'height', 'variant']),
|
|
5100
5103
|
__metadata("design:paramtypes", [])
|
|
5101
5104
|
], GdsTableComponent);
|
|
5102
5105
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsTableComponent, decorators: [{
|
|
@@ -5107,7 +5110,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
5107
5110
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5108
5111
|
template: `<ng-content></ng-content>`
|
|
5109
5112
|
}]
|
|
5110
|
-
}], ctorParameters: () => [], propDecorators: {
|
|
5113
|
+
}], ctorParameters: () => [], propDecorators: { headline: [{
|
|
5114
|
+
type: Input
|
|
5115
|
+
}], headlineTag: [{
|
|
5116
|
+
type: Input
|
|
5117
|
+
}], summary: [{
|
|
5118
|
+
type: Input
|
|
5119
|
+
}], options: [{
|
|
5111
5120
|
type: Input
|
|
5112
5121
|
}], page: [{
|
|
5113
5122
|
type: Input
|
|
@@ -37413,9 +37422,9 @@ class GreenCoreNgModule {
|
|
|
37413
37422
|
GdsMaskComponent,
|
|
37414
37423
|
GdsMenuButtonComponent,
|
|
37415
37424
|
GdsPaginationComponent,
|
|
37425
|
+
GdsRadioComponent,
|
|
37416
37426
|
GdsBackdropComponent,
|
|
37417
37427
|
GdsPopoverComponent,
|
|
37418
|
-
GdsRadioComponent,
|
|
37419
37428
|
GdsRichTextComponent,
|
|
37420
37429
|
GdsSegmentedControlComponent,
|
|
37421
37430
|
GdsSelectComponent,
|
|
@@ -37804,9 +37813,9 @@ class GreenCoreNgModule {
|
|
|
37804
37813
|
GdsMaskComponent,
|
|
37805
37814
|
GdsMenuButtonComponent,
|
|
37806
37815
|
GdsPaginationComponent,
|
|
37816
|
+
GdsRadioComponent,
|
|
37807
37817
|
GdsBackdropComponent,
|
|
37808
37818
|
GdsPopoverComponent,
|
|
37809
|
-
GdsRadioComponent,
|
|
37810
37819
|
GdsRichTextComponent,
|
|
37811
37820
|
GdsSegmentedControlComponent,
|
|
37812
37821
|
GdsSelectComponent,
|
|
@@ -38202,9 +38211,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38202
38211
|
GdsMaskComponent,
|
|
38203
38212
|
GdsMenuButtonComponent,
|
|
38204
38213
|
GdsPaginationComponent,
|
|
38214
|
+
GdsRadioComponent,
|
|
38205
38215
|
GdsBackdropComponent,
|
|
38206
38216
|
GdsPopoverComponent,
|
|
38207
|
-
GdsRadioComponent,
|
|
38208
38217
|
GdsRichTextComponent,
|
|
38209
38218
|
GdsSegmentedControlComponent,
|
|
38210
38219
|
GdsSelectComponent,
|
|
@@ -38596,9 +38605,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38596
38605
|
GdsMaskComponent,
|
|
38597
38606
|
GdsMenuButtonComponent,
|
|
38598
38607
|
GdsPaginationComponent,
|
|
38608
|
+
GdsRadioComponent,
|
|
38599
38609
|
GdsBackdropComponent,
|
|
38600
38610
|
GdsPopoverComponent,
|
|
38601
|
-
GdsRadioComponent,
|
|
38602
38611
|
GdsRichTextComponent,
|
|
38603
38612
|
GdsSegmentedControlComponent,
|
|
38604
38613
|
GdsSelectComponent,
|