@sebgroup/green-core-ng 3.21.0 → 3.21.1

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.
@@ -2,28 +2,29 @@ import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
3
  import { inject, ElementRef, NgZone, ChangeDetectorRef, EventEmitter, booleanAttribute, Output, Input, ChangeDetectionStrategy, Component, Renderer2, Injector, Directive, DestroyRef, forwardRef, NgModule, InjectionToken, ViewContainerRef, TemplateRef, Injectable, RendererFactory2 } from '@angular/core';
4
4
  import { GdsAlert } from '@sebgroup/green-core/components/alert/alert.component.js';
5
- import { GdsBadge } from '@sebgroup/green-core/components/badge/badge.component.js';
6
5
  import { GdsAvatar } from '@sebgroup/green-core/components/avatar/avatar.component.js';
6
+ import { GdsBadge } from '@sebgroup/green-core/components/badge/badge.component.js';
7
7
  import { GdsBlur } from '@sebgroup/green-core/components/blur/blur.component.js';
8
8
  import { GdsBreadcrumbs } from '@sebgroup/green-core/components/breadcrumbs/breadcrumbs.component.js';
9
9
  import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
10
10
  import { LocationStrategy, DOCUMENT, CommonModule } from '@angular/common';
11
11
  import { Router, RouterLink, RouterLinkActive, NavigationEnd } from '@angular/router';
12
12
  import { GdsButton } from '@sebgroup/green-core/components/button/button.component.js';
13
- import { GdsCalendar } from '@sebgroup/green-core/components/calendar/calendar.component.js';
14
13
  import { GdsCard } from '@sebgroup/green-core/components/card/card.component.js';
14
+ import { GdsCalendar } from '@sebgroup/green-core/components/calendar/calendar.component.js';
15
15
  import { GdsCardLinked } from '@sebgroup/green-core/components/card-linked/card-linked.component.js';
16
16
  import { GdsCheckbox } from '@sebgroup/green-core/components/checkbox/checkbox.component.js';
17
17
  import { GdsCoachmark } from '@sebgroup/green-core/components/coachmark/coachmark.component.js';
18
18
  import { GdsContextMenu, GdsMenuItem, GdsMenuHeading } from '@sebgroup/green-core/components/context-menu/context-menu.component.js';
19
- import { GdsDatepicker } from '@sebgroup/green-core/components/datepicker/datepicker.component.js';
20
19
  import { GdsDetails } from '@sebgroup/green-core/components/details/details.component.js';
20
+ import { GdsDatepicker } from '@sebgroup/green-core/components/datepicker/datepicker.component.js';
21
21
  import { GdsDialog } from '@sebgroup/green-core/components/dialog/dialog.component.js';
22
22
  import { GdsDiv } from '@sebgroup/green-core/components/div/div.component.js';
23
23
  import { GdsDivider } from '@sebgroup/green-core/components/divider/divider.component.js';
24
- import { GdsDropdown, GdsOption } from '@sebgroup/green-core/components/dropdown/dropdown.component.js';
25
- import { GdsFilterChips } from '@sebgroup/green-core/components/filter-chips/filter-chips.component.js';
24
+ import { GdsDropdown } from '@sebgroup/green-core/components/dropdown/dropdown.component.js';
25
+ import { GdsOption } from '@sebgroup/green-core/components/dropdown/option.component.js';
26
26
  import { GdsFab } from '@sebgroup/green-core/components/fab/fab.component.js';
27
+ import { GdsFilterChips } from '@sebgroup/green-core/components/filter-chips/filter-chips.component.js';
27
28
  import { GdsFlex } from '@sebgroup/green-core/components/flex/flex.component.js';
28
29
  import { GdsFormSummary } from '@sebgroup/green-core/components/form-summary/summary.component.js';
29
30
  import { GdsGrid } from '@sebgroup/green-core/components/grid/grid.component.js';
@@ -547,10 +548,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
547
548
  */
548
549
 
549
550
  /**
550
- * Angular wrapper for the gds-badge web component
551
- * `gds-badge`
551
+ * Angular wrapper for the gds-avatar web component
552
+ * `gds-avatar` is a visual element used to represent a user or entity.
553
+ It supports displaying an image, slotted text content, or a fallback icon.
552
554
  */
553
- let GdsBadgeComponent = class GdsBadgeComponent {
555
+ let GdsAvatarComponent = class GdsAvatarComponent {
554
556
  get element() {
555
557
  return this.elementRef.nativeElement;
556
558
  }
@@ -563,11 +565,11 @@ let GdsBadgeComponent = class GdsBadgeComponent {
563
565
  ngOnInit() {
564
566
  // Define the custom element
565
567
  try {
566
- GdsBadge.define();
568
+ GdsAvatar.define();
567
569
  }
568
570
  catch (e) {
569
571
  // Component may not be available in this version of green-core
570
- console.warn('Failed to define gds-badge:', e);
572
+ console.warn('Failed to define gds-avatar:', e);
571
573
  }
572
574
  }
573
575
  ngOnChanges(changes) {
@@ -576,37 +578,35 @@ let GdsBadgeComponent = class GdsBadgeComponent {
576
578
  ngAfterViewInit() {
577
579
  // Implementation added by @ProxyInputs decorator
578
580
  }
579
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
580
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsBadgeComponent, isStandalone: true, selector: "gds-badge", inputs: { variant: "variant", size: "size", notification: ["notification", "notification", booleanAttribute], rounded: ["rounded", "rounded", booleanAttribute], mainSlotOccupied: ["mainSlotOccupied", "mainSlotOccupied", booleanAttribute], leadSlotOccupied: ["leadSlotOccupied", "leadSlotOccupied", booleanAttribute], 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
581
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
582
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsAvatarComponent, isStandalone: true, selector: "gds-avatar", inputs: { src: "src", alt: "alt", size: "size", shape: "shape", level: "level", background: "background", color: "color", 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
581
583
  };
582
- GdsBadgeComponent = __decorate([
583
- ProxyInputs(['variant', 'size', 'notification', 'rounded', 'mainSlotOccupied', 'leadSlotOccupied', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
584
+ GdsAvatarComponent = __decorate([
585
+ ProxyInputs(['src', 'alt', 'size', 'shape', 'level', 'background', 'color', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
584
586
  __metadata("design:paramtypes", [])
585
- ], GdsBadgeComponent);
586
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, decorators: [{
587
+ ], GdsAvatarComponent);
588
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, decorators: [{
587
589
  type: Component,
588
590
  args: [{
589
- selector: 'gds-badge',
591
+ selector: 'gds-avatar',
590
592
  standalone: true,
591
593
  changeDetection: ChangeDetectionStrategy.OnPush,
592
594
  template: `<ng-content></ng-content>`
593
595
  }]
594
- }], ctorParameters: () => [], propDecorators: { variant: [{
596
+ }], ctorParameters: () => [], propDecorators: { src: [{
597
+ type: Input
598
+ }], alt: [{
595
599
  type: Input
596
600
  }], size: [{
597
601
  type: Input
598
- }], notification: [{
599
- type: Input,
600
- args: [{ transform: booleanAttribute }]
601
- }], rounded: [{
602
- type: Input,
603
- args: [{ transform: booleanAttribute }]
604
- }], mainSlotOccupied: [{
605
- type: Input,
606
- args: [{ transform: booleanAttribute }]
607
- }], leadSlotOccupied: [{
608
- type: Input,
609
- args: [{ transform: booleanAttribute }]
602
+ }], shape: [{
603
+ type: Input
604
+ }], level: [{
605
+ type: Input
606
+ }], background: [{
607
+ type: Input
608
+ }], color: [{
609
+ type: Input
610
610
  }], width: [{
611
611
  type: Input
612
612
  }], minWidth: [{
@@ -647,18 +647,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
647
647
  }] } });
648
648
 
649
649
  /**
650
- * GdsBadgeComponent - Angular wrapper for gds-badge
651
- * `gds-badge`
650
+ * GdsAvatarComponent - Angular wrapper for gds-avatar
651
+ * `gds-avatar` is a visual element used to represent a user or entity.
652
+ It supports displaying an image, slotted text content, or a fallback icon.
652
653
  *
653
654
  * Auto-generated from Custom Elements Manifest
654
655
  */
655
656
 
656
657
  /**
657
- * Angular wrapper for the gds-avatar web component
658
- * `gds-avatar` is a visual element used to represent a user or entity.
659
- It supports displaying an image, slotted text content, or a fallback icon.
658
+ * Angular wrapper for the gds-badge web component
659
+ * `gds-badge`
660
660
  */
661
- let GdsAvatarComponent = class GdsAvatarComponent {
661
+ let GdsBadgeComponent = class GdsBadgeComponent {
662
662
  get element() {
663
663
  return this.elementRef.nativeElement;
664
664
  }
@@ -671,11 +671,11 @@ let GdsAvatarComponent = class GdsAvatarComponent {
671
671
  ngOnInit() {
672
672
  // Define the custom element
673
673
  try {
674
- GdsAvatar.define();
674
+ GdsBadge.define();
675
675
  }
676
676
  catch (e) {
677
677
  // Component may not be available in this version of green-core
678
- console.warn('Failed to define gds-avatar:', e);
678
+ console.warn('Failed to define gds-badge:', e);
679
679
  }
680
680
  }
681
681
  ngOnChanges(changes) {
@@ -684,35 +684,37 @@ let GdsAvatarComponent = class GdsAvatarComponent {
684
684
  ngAfterViewInit() {
685
685
  // Implementation added by @ProxyInputs decorator
686
686
  }
687
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
688
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsAvatarComponent, isStandalone: true, selector: "gds-avatar", inputs: { src: "src", alt: "alt", size: "size", shape: "shape", level: "level", background: "background", color: "color", 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
687
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
688
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsBadgeComponent, isStandalone: true, selector: "gds-badge", inputs: { variant: "variant", size: "size", notification: ["notification", "notification", booleanAttribute], rounded: ["rounded", "rounded", booleanAttribute], mainSlotOccupied: ["mainSlotOccupied", "mainSlotOccupied", booleanAttribute], leadSlotOccupied: ["leadSlotOccupied", "leadSlotOccupied", booleanAttribute], 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
689
689
  };
690
- GdsAvatarComponent = __decorate([
691
- ProxyInputs(['src', 'alt', 'size', 'shape', 'level', 'background', 'color', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
690
+ GdsBadgeComponent = __decorate([
691
+ ProxyInputs(['variant', 'size', 'notification', 'rounded', 'mainSlotOccupied', 'leadSlotOccupied', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
692
692
  __metadata("design:paramtypes", [])
693
- ], GdsAvatarComponent);
694
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, decorators: [{
693
+ ], GdsBadgeComponent);
694
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, decorators: [{
695
695
  type: Component,
696
696
  args: [{
697
- selector: 'gds-avatar',
697
+ selector: 'gds-badge',
698
698
  standalone: true,
699
699
  changeDetection: ChangeDetectionStrategy.OnPush,
700
700
  template: `<ng-content></ng-content>`
701
701
  }]
702
- }], ctorParameters: () => [], propDecorators: { src: [{
703
- type: Input
704
- }], alt: [{
702
+ }], ctorParameters: () => [], propDecorators: { variant: [{
705
703
  type: Input
706
704
  }], size: [{
707
705
  type: Input
708
- }], shape: [{
709
- type: Input
710
- }], level: [{
711
- type: Input
712
- }], background: [{
713
- type: Input
714
- }], color: [{
715
- type: Input
706
+ }], notification: [{
707
+ type: Input,
708
+ args: [{ transform: booleanAttribute }]
709
+ }], rounded: [{
710
+ type: Input,
711
+ args: [{ transform: booleanAttribute }]
712
+ }], mainSlotOccupied: [{
713
+ type: Input,
714
+ args: [{ transform: booleanAttribute }]
715
+ }], leadSlotOccupied: [{
716
+ type: Input,
717
+ args: [{ transform: booleanAttribute }]
716
718
  }], width: [{
717
719
  type: Input
718
720
  }], minWidth: [{
@@ -753,9 +755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
753
755
  }] } });
754
756
 
755
757
  /**
756
- * GdsAvatarComponent - Angular wrapper for gds-avatar
757
- * `gds-avatar` is a visual element used to represent a user or entity.
758
- It supports displaying an image, slotted text content, or a fallback icon.
758
+ * GdsBadgeComponent - Angular wrapper for gds-badge
759
+ * `gds-badge`
759
760
  *
760
761
  * Auto-generated from Custom Elements Manifest
761
762
  */
@@ -1229,109 +1230,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
1229
1230
  * Auto-generated from Custom Elements Manifest
1230
1231
  */
1231
1232
 
1232
- /**
1233
- * Angular wrapper for the gds-calendar web component
1234
- *
1235
- */
1236
- let GdsCalendarComponent = class GdsCalendarComponent {
1237
- get element() {
1238
- return this.elementRef.nativeElement;
1239
- }
1240
- constructor() {
1241
- this.elementRef = inject((ElementRef));
1242
- this.zone = inject(NgZone);
1243
- this.cdr = inject(ChangeDetectorRef);
1244
- /** Fired when a date is selected. */
1245
- this.change = new EventEmitter();
1246
- /** Fired when focus is changed. Can be cancelled using `event.preventDefault()`. */
1247
- this.gdsDateFocused = new EventEmitter();
1248
- this.cdr.detach();
1249
- }
1250
- ngOnInit() {
1251
- // Define the custom element
1252
- try {
1253
- GdsCalendar.define();
1254
- }
1255
- catch (e) {
1256
- // Component may not be available in this version of green-core
1257
- console.warn('Failed to define gds-calendar:', e);
1258
- }
1259
- // Set up event listeners
1260
- this.elementRef.nativeElement.addEventListener('gds-date-focused', (event) => {
1261
- this.gdsDateFocused.emit(event);
1262
- });
1263
- }
1264
- ngOnChanges(changes) {
1265
- // Implementation added by @ProxyInputs decorator
1266
- }
1267
- ngAfterViewInit() {
1268
- // Implementation added by @ProxyInputs decorator
1269
- }
1270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1271
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsCalendarComponent, isStandalone: true, selector: "gds-calendar", inputs: { value: "value", min: "min", max: "max", focusedDate: "focusedDate", disabledWeekends: ["disabledWeekends", "disabledWeekends", booleanAttribute], disabledDates: "disabledDates", focusedMonth: "focusedMonth", focusedYear: "focusedYear", size: "size", showWeekNumbers: ["showWeekNumbers", "showWeekNumbers", booleanAttribute], hideExtraneousDays: ["hideExtraneousDays", "hideExtraneousDays", booleanAttribute], hideDayNames: ["hideDayNames", "hideDayNames", booleanAttribute], customizedDates: "customizedDates", label: "label", dateLabelTemplate: "dateLabelTemplate", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", gdsDateFocused: "gdsDateFocused" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1272
- };
1273
- GdsCalendarComponent = __decorate([
1274
- ProxyInputs(['value', 'min', 'max', 'focusedDate', 'disabledWeekends', 'disabledDates', 'focusedMonth', 'focusedYear', 'size', 'showWeekNumbers', 'hideExtraneousDays', 'hideDayNames', 'customizedDates', 'label', 'dateLabelTemplate', 'syncFirstRender']),
1275
- __metadata("design:paramtypes", [])
1276
- ], GdsCalendarComponent);
1277
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCalendarComponent, decorators: [{
1278
- type: Component,
1279
- args: [{
1280
- selector: 'gds-calendar',
1281
- standalone: true,
1282
- changeDetection: ChangeDetectionStrategy.OnPush,
1283
- template: `<ng-content></ng-content>`
1284
- }]
1285
- }], ctorParameters: () => [], propDecorators: { value: [{
1286
- type: Input
1287
- }], min: [{
1288
- type: Input
1289
- }], max: [{
1290
- type: Input
1291
- }], focusedDate: [{
1292
- type: Input
1293
- }], disabledWeekends: [{
1294
- type: Input,
1295
- args: [{ transform: booleanAttribute }]
1296
- }], disabledDates: [{
1297
- type: Input
1298
- }], focusedMonth: [{
1299
- type: Input
1300
- }], focusedYear: [{
1301
- type: Input
1302
- }], size: [{
1303
- type: Input
1304
- }], showWeekNumbers: [{
1305
- type: Input,
1306
- args: [{ transform: booleanAttribute }]
1307
- }], hideExtraneousDays: [{
1308
- type: Input,
1309
- args: [{ transform: booleanAttribute }]
1310
- }], hideDayNames: [{
1311
- type: Input,
1312
- args: [{ transform: booleanAttribute }]
1313
- }], customizedDates: [{
1314
- type: Input
1315
- }], label: [{
1316
- type: Input
1317
- }], dateLabelTemplate: [{
1318
- type: Input
1319
- }], syncFirstRender: [{
1320
- type: Input,
1321
- args: [{ transform: booleanAttribute }]
1322
- }], change: [{
1323
- type: Output
1324
- }], gdsDateFocused: [{
1325
- type: Output
1326
- }] } });
1327
-
1328
- /**
1329
- * GdsCalendarComponent - Angular wrapper for gds-calendar
1330
- *
1331
- *
1332
- * Auto-generated from Custom Elements Manifest
1333
- */
1334
-
1335
1233
  /**
1336
1234
  * Angular wrapper for the gds-card web component
1337
1235
  * A container for content representing a single entity. e.g. a contact, article, or task.
@@ -1519,6 +1417,109 @@ and a shortcut property for specifying different card variants.
1519
1417
  * Auto-generated from Custom Elements Manifest
1520
1418
  */
1521
1419
 
1420
+ /**
1421
+ * Angular wrapper for the gds-calendar web component
1422
+ *
1423
+ */
1424
+ let GdsCalendarComponent = class GdsCalendarComponent {
1425
+ get element() {
1426
+ return this.elementRef.nativeElement;
1427
+ }
1428
+ constructor() {
1429
+ this.elementRef = inject((ElementRef));
1430
+ this.zone = inject(NgZone);
1431
+ this.cdr = inject(ChangeDetectorRef);
1432
+ /** Fired when a date is selected. */
1433
+ this.change = new EventEmitter();
1434
+ /** Fired when focus is changed. Can be cancelled using `event.preventDefault()`. */
1435
+ this.gdsDateFocused = new EventEmitter();
1436
+ this.cdr.detach();
1437
+ }
1438
+ ngOnInit() {
1439
+ // Define the custom element
1440
+ try {
1441
+ GdsCalendar.define();
1442
+ }
1443
+ catch (e) {
1444
+ // Component may not be available in this version of green-core
1445
+ console.warn('Failed to define gds-calendar:', e);
1446
+ }
1447
+ // Set up event listeners
1448
+ this.elementRef.nativeElement.addEventListener('gds-date-focused', (event) => {
1449
+ this.gdsDateFocused.emit(event);
1450
+ });
1451
+ }
1452
+ ngOnChanges(changes) {
1453
+ // Implementation added by @ProxyInputs decorator
1454
+ }
1455
+ ngAfterViewInit() {
1456
+ // Implementation added by @ProxyInputs decorator
1457
+ }
1458
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1459
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsCalendarComponent, isStandalone: true, selector: "gds-calendar", inputs: { value: "value", min: "min", max: "max", focusedDate: "focusedDate", disabledWeekends: ["disabledWeekends", "disabledWeekends", booleanAttribute], disabledDates: "disabledDates", focusedMonth: "focusedMonth", focusedYear: "focusedYear", size: "size", showWeekNumbers: ["showWeekNumbers", "showWeekNumbers", booleanAttribute], hideExtraneousDays: ["hideExtraneousDays", "hideExtraneousDays", booleanAttribute], hideDayNames: ["hideDayNames", "hideDayNames", booleanAttribute], customizedDates: "customizedDates", label: "label", dateLabelTemplate: "dateLabelTemplate", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", gdsDateFocused: "gdsDateFocused" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1460
+ };
1461
+ GdsCalendarComponent = __decorate([
1462
+ ProxyInputs(['value', 'min', 'max', 'focusedDate', 'disabledWeekends', 'disabledDates', 'focusedMonth', 'focusedYear', 'size', 'showWeekNumbers', 'hideExtraneousDays', 'hideDayNames', 'customizedDates', 'label', 'dateLabelTemplate', 'syncFirstRender']),
1463
+ __metadata("design:paramtypes", [])
1464
+ ], GdsCalendarComponent);
1465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCalendarComponent, decorators: [{
1466
+ type: Component,
1467
+ args: [{
1468
+ selector: 'gds-calendar',
1469
+ standalone: true,
1470
+ changeDetection: ChangeDetectionStrategy.OnPush,
1471
+ template: `<ng-content></ng-content>`
1472
+ }]
1473
+ }], ctorParameters: () => [], propDecorators: { value: [{
1474
+ type: Input
1475
+ }], min: [{
1476
+ type: Input
1477
+ }], max: [{
1478
+ type: Input
1479
+ }], focusedDate: [{
1480
+ type: Input
1481
+ }], disabledWeekends: [{
1482
+ type: Input,
1483
+ args: [{ transform: booleanAttribute }]
1484
+ }], disabledDates: [{
1485
+ type: Input
1486
+ }], focusedMonth: [{
1487
+ type: Input
1488
+ }], focusedYear: [{
1489
+ type: Input
1490
+ }], size: [{
1491
+ type: Input
1492
+ }], showWeekNumbers: [{
1493
+ type: Input,
1494
+ args: [{ transform: booleanAttribute }]
1495
+ }], hideExtraneousDays: [{
1496
+ type: Input,
1497
+ args: [{ transform: booleanAttribute }]
1498
+ }], hideDayNames: [{
1499
+ type: Input,
1500
+ args: [{ transform: booleanAttribute }]
1501
+ }], customizedDates: [{
1502
+ type: Input
1503
+ }], label: [{
1504
+ type: Input
1505
+ }], dateLabelTemplate: [{
1506
+ type: Input
1507
+ }], syncFirstRender: [{
1508
+ type: Input,
1509
+ args: [{ transform: booleanAttribute }]
1510
+ }], change: [{
1511
+ type: Output
1512
+ }], gdsDateFocused: [{
1513
+ type: Output
1514
+ }] } });
1515
+
1516
+ /**
1517
+ * GdsCalendarComponent - Angular wrapper for gds-calendar
1518
+ *
1519
+ *
1520
+ * Auto-generated from Custom Elements Manifest
1521
+ */
1522
+
1522
1523
  /**
1523
1524
  * Angular wrapper for the gds-card-linked web component
1524
1525
  *
@@ -2143,6 +2144,114 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
2143
2144
  * Auto-generated from Custom Elements Manifest
2144
2145
  */
2145
2146
 
2147
+ /**
2148
+ * Angular wrapper for the gds-details web component
2149
+ * Details component that provides collapsible content sections.
2150
+ */
2151
+ let GdsDetailsComponent = class GdsDetailsComponent {
2152
+ get element() {
2153
+ return this.elementRef.nativeElement;
2154
+ }
2155
+ constructor() {
2156
+ this.elementRef = inject((ElementRef));
2157
+ this.zone = inject(NgZone);
2158
+ this.cdr = inject(ChangeDetectorRef);
2159
+ /** Fired when details opens or closes */
2160
+ this.gdsUiState = new EventEmitter();
2161
+ this.cdr.detach();
2162
+ }
2163
+ ngOnInit() {
2164
+ // Define the custom element
2165
+ try {
2166
+ GdsDetails.define();
2167
+ }
2168
+ catch (e) {
2169
+ // Component may not be available in this version of green-core
2170
+ console.warn('Failed to define gds-details:', e);
2171
+ }
2172
+ // Set up event listeners
2173
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
2174
+ this.gdsUiState.emit(event);
2175
+ });
2176
+ }
2177
+ ngOnChanges(changes) {
2178
+ // Implementation added by @ProxyInputs decorator
2179
+ }
2180
+ ngAfterViewInit() {
2181
+ // Implementation added by @ProxyInputs decorator
2182
+ }
2183
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2184
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsDetailsComponent, isStandalone: true, selector: "gds-details", inputs: { summary: "summary", name: "name", open: ["open", "open", booleanAttribute], size: "size", 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsUiState: "gdsUiState" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2185
+ };
2186
+ GdsDetailsComponent = __decorate([
2187
+ ProxyInputs(['summary', 'name', 'open', 'size', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
2188
+ __metadata("design:paramtypes", [])
2189
+ ], GdsDetailsComponent);
2190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsDetailsComponent, decorators: [{
2191
+ type: Component,
2192
+ args: [{
2193
+ selector: 'gds-details',
2194
+ standalone: true,
2195
+ changeDetection: ChangeDetectionStrategy.OnPush,
2196
+ template: `<ng-content></ng-content>`
2197
+ }]
2198
+ }], ctorParameters: () => [], propDecorators: { summary: [{
2199
+ type: Input
2200
+ }], name: [{
2201
+ type: Input
2202
+ }], open: [{
2203
+ type: Input,
2204
+ args: [{ transform: booleanAttribute }]
2205
+ }], size: [{
2206
+ type: Input
2207
+ }], width: [{
2208
+ type: Input
2209
+ }], minWidth: [{
2210
+ type: Input
2211
+ }], maxWidth: [{
2212
+ type: Input
2213
+ }], inlineSize: [{
2214
+ type: Input
2215
+ }], minInlineSize: [{
2216
+ type: Input
2217
+ }], maxInlineSize: [{
2218
+ type: Input
2219
+ }], margin: [{
2220
+ type: Input
2221
+ }], marginInline: [{
2222
+ type: Input
2223
+ }], marginBlock: [{
2224
+ type: Input
2225
+ }], alignSelf: [{
2226
+ type: Input
2227
+ }], justifySelf: [{
2228
+ type: Input
2229
+ }], placeSelf: [{
2230
+ type: Input
2231
+ }], gridColumn: [{
2232
+ type: Input
2233
+ }], gridRow: [{
2234
+ type: Input
2235
+ }], gridArea: [{
2236
+ type: Input
2237
+ }], flex: [{
2238
+ type: Input
2239
+ }], order: [{
2240
+ type: Input
2241
+ }], syncFirstRender: [{
2242
+ type: Input,
2243
+ args: [{ transform: booleanAttribute }]
2244
+ }], gdsUiState: [{
2245
+ type: Output
2246
+ }] } });
2247
+
2248
+ /**
2249
+ * GdsDetailsComponent - Angular wrapper for gds-details
2250
+ * Details component that provides collapsible content sections.
2251
+ *
2252
+ * Auto-generated from Custom Elements Manifest
2253
+ */
2254
+
2146
2255
  /**
2147
2256
  * Angular wrapper for the gds-datepicker web component
2148
2257
  *
@@ -2320,114 +2429,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
2320
2429
  * Auto-generated from Custom Elements Manifest
2321
2430
  */
2322
2431
 
2323
- /**
2324
- * Angular wrapper for the gds-details web component
2325
- * Details component that provides collapsible content sections.
2326
- */
2327
- let GdsDetailsComponent = class GdsDetailsComponent {
2328
- get element() {
2329
- return this.elementRef.nativeElement;
2330
- }
2331
- constructor() {
2332
- this.elementRef = inject((ElementRef));
2333
- this.zone = inject(NgZone);
2334
- this.cdr = inject(ChangeDetectorRef);
2335
- /** Fired when details opens or closes */
2336
- this.gdsUiState = new EventEmitter();
2337
- this.cdr.detach();
2338
- }
2339
- ngOnInit() {
2340
- // Define the custom element
2341
- try {
2342
- GdsDetails.define();
2343
- }
2344
- catch (e) {
2345
- // Component may not be available in this version of green-core
2346
- console.warn('Failed to define gds-details:', e);
2347
- }
2348
- // Set up event listeners
2349
- this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
2350
- this.gdsUiState.emit(event);
2351
- });
2352
- }
2353
- ngOnChanges(changes) {
2354
- // Implementation added by @ProxyInputs decorator
2355
- }
2356
- ngAfterViewInit() {
2357
- // Implementation added by @ProxyInputs decorator
2358
- }
2359
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2360
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsDetailsComponent, isStandalone: true, selector: "gds-details", inputs: { summary: "summary", name: "name", open: ["open", "open", booleanAttribute], size: "size", 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsUiState: "gdsUiState" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2361
- };
2362
- GdsDetailsComponent = __decorate([
2363
- ProxyInputs(['summary', 'name', 'open', 'size', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
2364
- __metadata("design:paramtypes", [])
2365
- ], GdsDetailsComponent);
2366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsDetailsComponent, decorators: [{
2367
- type: Component,
2368
- args: [{
2369
- selector: 'gds-details',
2370
- standalone: true,
2371
- changeDetection: ChangeDetectionStrategy.OnPush,
2372
- template: `<ng-content></ng-content>`
2373
- }]
2374
- }], ctorParameters: () => [], propDecorators: { summary: [{
2375
- type: Input
2376
- }], name: [{
2377
- type: Input
2378
- }], open: [{
2379
- type: Input,
2380
- args: [{ transform: booleanAttribute }]
2381
- }], size: [{
2382
- type: Input
2383
- }], width: [{
2384
- type: Input
2385
- }], minWidth: [{
2386
- type: Input
2387
- }], maxWidth: [{
2388
- type: Input
2389
- }], inlineSize: [{
2390
- type: Input
2391
- }], minInlineSize: [{
2392
- type: Input
2393
- }], maxInlineSize: [{
2394
- type: Input
2395
- }], margin: [{
2396
- type: Input
2397
- }], marginInline: [{
2398
- type: Input
2399
- }], marginBlock: [{
2400
- type: Input
2401
- }], alignSelf: [{
2402
- type: Input
2403
- }], justifySelf: [{
2404
- type: Input
2405
- }], placeSelf: [{
2406
- type: Input
2407
- }], gridColumn: [{
2408
- type: Input
2409
- }], gridRow: [{
2410
- type: Input
2411
- }], gridArea: [{
2412
- type: Input
2413
- }], flex: [{
2414
- type: Input
2415
- }], order: [{
2416
- type: Input
2417
- }], syncFirstRender: [{
2418
- type: Input,
2419
- args: [{ transform: booleanAttribute }]
2420
- }], gdsUiState: [{
2421
- type: Output
2422
- }] } });
2423
-
2424
- /**
2425
- * GdsDetailsComponent - Angular wrapper for gds-details
2426
- * Details component that provides collapsible content sections.
2427
- *
2428
- * Auto-generated from Custom Elements Manifest
2429
- */
2430
-
2431
2432
  /**
2432
2433
  * Angular wrapper for the gds-dialog web component
2433
2434
  *
@@ -2856,7 +2857,7 @@ let GdsDropdownComponent = class GdsDropdownComponent extends GdsFormControlBase
2856
2857
  super.ngAfterViewInit();
2857
2858
  }
2858
2859
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsDropdownComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2859
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsDropdownComponent, isStandalone: true, selector: "gds-dropdown", 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", open: ["open", "open", booleanAttribute], searchable: ["searchable", "searchable", booleanAttribute], multiple: ["multiple", "multiple", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], combobox: ["combobox", "combobox", booleanAttribute], compareWith: "compareWith", searchFilter: "searchFilter", syncPopoverWidth: ["syncPopoverWidth", "syncPopoverWidth", booleanAttribute], maxHeight: "maxHeight", size: "size", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], plain: ["plain", "plain", booleanAttribute], disableMobileStyles: ["disableMobileStyles", "disableMobileStyles", booleanAttribute], 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", gdsFilterInput: "gdsFilterInput", gdsInputCleared: "gdsInputCleared" }, providers: [
2860
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsDropdownComponent, isStandalone: true, selector: "gds-dropdown", 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", open: ["open", "open", booleanAttribute], searchable: ["searchable", "searchable", booleanAttribute], multiple: ["multiple", "multiple", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], combobox: ["combobox", "combobox", booleanAttribute], compareWith: "compareWith", searchFilter: "searchFilter", syncPopoverWidth: ["syncPopoverWidth", "syncPopoverWidth", booleanAttribute], maxHeight: "maxHeight", size: "size", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], plain: ["plain", "plain", booleanAttribute], disableMobileStyles: ["disableMobileStyles", "disableMobileStyles", booleanAttribute], 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: { change: "change", input: "input", gdsUiState: "gdsUiState", gdsFilterInput: "gdsFilterInput", gdsInputCleared: "gdsInputCleared" }, providers: [
2860
2861
  {
2861
2862
  provide: NG_VALUE_ACCESSOR,
2862
2863
  useExisting: forwardRef(() => GdsDropdownComponent),
@@ -2865,7 +2866,7 @@ let GdsDropdownComponent = class GdsDropdownComponent extends GdsFormControlBase
2865
2866
  ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2866
2867
  };
2867
2868
  GdsDropdownComponent = __decorate([
2868
- ProxyInputs(['width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'supportingText', 'open', 'searchable', 'multiple', 'clearable', 'combobox', 'compareWith', 'searchFilter', 'syncPopoverWidth', 'maxHeight', 'size', 'hideLabel', 'plain', 'disableMobileStyles', 'showExtendedSupportingText', 'validator', 'required', 'errorMessage', 'invalid', 'label', 'value', 'name', 'disabled', 'syncFirstRender'])
2869
+ ProxyInputs(['width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'supportingText', 'open', 'searchable', 'multiple', 'clearable', 'combobox', 'compareWith', 'searchFilter', 'syncPopoverWidth', 'maxHeight', 'size', 'hideLabel', 'plain', 'disableMobileStyles', 'showExtendedSupportingText', 'value', 'validator', 'required', 'errorMessage', 'invalid', 'label', 'name', 'disabled', 'syncFirstRender'])
2869
2870
  ], GdsDropdownComponent);
2870
2871
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsDropdownComponent, decorators: [{
2871
2872
  type: Component,
@@ -2956,6 +2957,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
2956
2957
  }], showExtendedSupportingText: [{
2957
2958
  type: Input,
2958
2959
  args: [{ transform: booleanAttribute }]
2960
+ }], value: [{
2961
+ type: Input
2959
2962
  }], validator: [{
2960
2963
  type: Input
2961
2964
  }], required: [{
@@ -2967,8 +2970,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
2967
2970
  type: Input
2968
2971
  }], label: [{
2969
2972
  type: Input
2970
- }], value: [{
2971
- type: Input
2972
2973
  }], name: [{
2973
2974
  type: Input
2974
2975
  }], disabled: [{
@@ -2997,95 +2998,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
2997
2998
  */
2998
2999
 
2999
3000
  /**
3000
- * Angular wrapper for the gds-filter-chips web component
3001
+ * Angular wrapper for the gds-option web component
3001
3002
  *
3002
3003
  */
3003
- let GdsFilterChipsComponent = class GdsFilterChipsComponent extends GdsFormControlBase {
3004
- constructor() {
3005
- super(...arguments);
3006
- /** When a chip is clicked */
3007
- this.change = new EventEmitter();
3008
- }
3004
+ let GdsOptionComponent = class GdsOptionComponent {
3009
3005
  get element() {
3010
3006
  return this.elementRef.nativeElement;
3011
3007
  }
3008
+ constructor() {
3009
+ this.elementRef = inject((ElementRef));
3010
+ this.zone = inject(NgZone);
3011
+ this.cdr = inject(ChangeDetectorRef);
3012
+ /** Fired when the option is selected. */
3013
+ this.gdsSelect = new EventEmitter();
3014
+ this.cdr.detach();
3015
+ }
3012
3016
  ngOnInit() {
3013
- super.ngOnInit();
3014
3017
  // Define the custom element
3015
3018
  try {
3016
- GdsFilterChips.define();
3019
+ GdsOption.define();
3017
3020
  }
3018
3021
  catch (e) {
3019
3022
  // Component may not be available in this version of green-core
3020
- console.warn('Failed to define gds-filter-chips:', e);
3023
+ console.warn('Failed to define gds-option:', e);
3021
3024
  }
3025
+ // Set up event listeners
3026
+ this.elementRef.nativeElement.addEventListener('gds-select', (event) => {
3027
+ this.gdsSelect.emit(event);
3028
+ });
3022
3029
  }
3023
3030
  ngOnChanges(changes) {
3024
3031
  // Implementation added by @ProxyInputs decorator
3025
3032
  }
3026
3033
  ngAfterViewInit() {
3027
- super.ngAfterViewInit();
3034
+ // Implementation added by @ProxyInputs decorator
3028
3035
  }
3029
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsFilterChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3030
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsFilterChipsComponent, isStandalone: true, selector: "gds-filter-chips", inputs: { value: "value", multiple: ["multiple", "multiple", booleanAttribute], label: "label", rowCollapse: ["rowCollapse", "rowCollapse", booleanAttribute], validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change" }, providers: [
3031
- {
3032
- provide: NG_VALUE_ACCESSOR,
3033
- useExisting: forwardRef(() => GdsFilterChipsComponent),
3034
- multi: true,
3035
- },
3036
- ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3036
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3037
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsOptionComponent, isStandalone: true, selector: "gds-option", inputs: { value: "value", hidden: ["hidden", "hidden", booleanAttribute], selected: ["selected", "selected", booleanAttribute], isPlaceholder: ["isPlaceholder", "isPlaceholder", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsSelect: "gdsSelect" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3037
3038
  };
3038
- GdsFilterChipsComponent = __decorate([
3039
- ProxyInputs(['value', 'multiple', 'label', 'rowCollapse', 'validator', 'required', 'errorMessage', 'invalid', 'name', 'disabled', 'syncFirstRender'])
3040
- ], GdsFilterChipsComponent);
3041
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsFilterChipsComponent, decorators: [{
3039
+ GdsOptionComponent = __decorate([
3040
+ ProxyInputs(['value', 'hidden', 'selected', 'isPlaceholder', 'syncFirstRender']),
3041
+ __metadata("design:paramtypes", [])
3042
+ ], GdsOptionComponent);
3043
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsOptionComponent, decorators: [{
3042
3044
  type: Component,
3043
3045
  args: [{
3044
- selector: 'gds-filter-chips',
3046
+ selector: 'gds-option',
3045
3047
  standalone: true,
3046
3048
  changeDetection: ChangeDetectionStrategy.OnPush,
3047
- template: `<ng-content></ng-content>`,
3048
- providers: [
3049
- {
3050
- provide: NG_VALUE_ACCESSOR,
3051
- useExisting: forwardRef(() => GdsFilterChipsComponent),
3052
- multi: true,
3053
- },
3054
- ]
3049
+ template: `<ng-content></ng-content>`
3055
3050
  }]
3056
- }], propDecorators: { value: [{
3057
- type: Input
3058
- }], multiple: [{
3059
- type: Input,
3060
- args: [{ transform: booleanAttribute }]
3061
- }], label: [{
3051
+ }], ctorParameters: () => [], propDecorators: { value: [{
3062
3052
  type: Input
3063
- }], rowCollapse: [{
3053
+ }], hidden: [{
3064
3054
  type: Input,
3065
3055
  args: [{ transform: booleanAttribute }]
3066
- }], validator: [{
3067
- type: Input
3068
- }], required: [{
3056
+ }], selected: [{
3069
3057
  type: Input,
3070
3058
  args: [{ transform: booleanAttribute }]
3071
- }], errorMessage: [{
3072
- type: Input
3073
- }], invalid: [{
3074
- type: Input
3075
- }], name: [{
3076
- type: Input
3077
- }], disabled: [{
3059
+ }], isPlaceholder: [{
3078
3060
  type: Input,
3079
3061
  args: [{ transform: booleanAttribute }]
3080
3062
  }], syncFirstRender: [{
3081
3063
  type: Input,
3082
3064
  args: [{ transform: booleanAttribute }]
3083
- }], change: [{
3065
+ }], gdsSelect: [{
3084
3066
  type: Output
3085
3067
  }] } });
3086
3068
 
3087
3069
  /**
3088
- * GdsFilterChipsComponent - Angular wrapper for gds-filter-chips
3070
+ * GdsOptionComponent - Angular wrapper for gds-option
3089
3071
  *
3090
3072
  *
3091
3073
  * Auto-generated from Custom Elements Manifest
@@ -3306,6 +3288,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
3306
3288
  * Auto-generated from Custom Elements Manifest
3307
3289
  */
3308
3290
 
3291
+ /**
3292
+ * Angular wrapper for the gds-filter-chips web component
3293
+ *
3294
+ */
3295
+ let GdsFilterChipsComponent = class GdsFilterChipsComponent extends GdsFormControlBase {
3296
+ constructor() {
3297
+ super(...arguments);
3298
+ /** When a chip is clicked */
3299
+ this.change = new EventEmitter();
3300
+ }
3301
+ get element() {
3302
+ return this.elementRef.nativeElement;
3303
+ }
3304
+ ngOnInit() {
3305
+ super.ngOnInit();
3306
+ // Define the custom element
3307
+ try {
3308
+ GdsFilterChips.define();
3309
+ }
3310
+ catch (e) {
3311
+ // Component may not be available in this version of green-core
3312
+ console.warn('Failed to define gds-filter-chips:', e);
3313
+ }
3314
+ }
3315
+ ngOnChanges(changes) {
3316
+ // Implementation added by @ProxyInputs decorator
3317
+ }
3318
+ ngAfterViewInit() {
3319
+ super.ngAfterViewInit();
3320
+ }
3321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsFilterChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3322
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsFilterChipsComponent, isStandalone: true, selector: "gds-filter-chips", inputs: { value: "value", multiple: ["multiple", "multiple", booleanAttribute], label: "label", rowCollapse: ["rowCollapse", "rowCollapse", booleanAttribute], validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change" }, providers: [
3323
+ {
3324
+ provide: NG_VALUE_ACCESSOR,
3325
+ useExisting: forwardRef(() => GdsFilterChipsComponent),
3326
+ multi: true,
3327
+ },
3328
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3329
+ };
3330
+ GdsFilterChipsComponent = __decorate([
3331
+ ProxyInputs(['value', 'multiple', 'label', 'rowCollapse', 'validator', 'required', 'errorMessage', 'invalid', 'name', 'disabled', 'syncFirstRender'])
3332
+ ], GdsFilterChipsComponent);
3333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsFilterChipsComponent, decorators: [{
3334
+ type: Component,
3335
+ args: [{
3336
+ selector: 'gds-filter-chips',
3337
+ standalone: true,
3338
+ changeDetection: ChangeDetectionStrategy.OnPush,
3339
+ template: `<ng-content></ng-content>`,
3340
+ providers: [
3341
+ {
3342
+ provide: NG_VALUE_ACCESSOR,
3343
+ useExisting: forwardRef(() => GdsFilterChipsComponent),
3344
+ multi: true,
3345
+ },
3346
+ ]
3347
+ }]
3348
+ }], propDecorators: { value: [{
3349
+ type: Input
3350
+ }], multiple: [{
3351
+ type: Input,
3352
+ args: [{ transform: booleanAttribute }]
3353
+ }], label: [{
3354
+ type: Input
3355
+ }], rowCollapse: [{
3356
+ type: Input,
3357
+ args: [{ transform: booleanAttribute }]
3358
+ }], validator: [{
3359
+ type: Input
3360
+ }], required: [{
3361
+ type: Input,
3362
+ args: [{ transform: booleanAttribute }]
3363
+ }], errorMessage: [{
3364
+ type: Input
3365
+ }], invalid: [{
3366
+ type: Input
3367
+ }], name: [{
3368
+ type: Input
3369
+ }], disabled: [{
3370
+ type: Input,
3371
+ args: [{ transform: booleanAttribute }]
3372
+ }], syncFirstRender: [{
3373
+ type: Input,
3374
+ args: [{ transform: booleanAttribute }]
3375
+ }], change: [{
3376
+ type: Output
3377
+ }] } });
3378
+
3379
+ /**
3380
+ * GdsFilterChipsComponent - Angular wrapper for gds-filter-chips
3381
+ *
3382
+ *
3383
+ * Auto-generated from Custom Elements Manifest
3384
+ */
3385
+
3309
3386
  /**
3310
3387
  * Angular wrapper for the gds-flex web component
3311
3388
  *
@@ -37934,82 +38011,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
37934
38011
  * Auto-generated from Custom Elements Manifest
37935
38012
  */
37936
38013
 
37937
- /**
37938
- * Angular wrapper for the gds-option web component
37939
- *
37940
- */
37941
- let GdsOptionComponent = class GdsOptionComponent {
37942
- get element() {
37943
- return this.elementRef.nativeElement;
37944
- }
37945
- constructor() {
37946
- this.elementRef = inject((ElementRef));
37947
- this.zone = inject(NgZone);
37948
- this.cdr = inject(ChangeDetectorRef);
37949
- /** Fired when the option is selected. */
37950
- this.gdsSelect = new EventEmitter();
37951
- this.cdr.detach();
37952
- }
37953
- ngOnInit() {
37954
- // Define the custom element
37955
- try {
37956
- GdsOption.define();
37957
- }
37958
- catch (e) {
37959
- // Component may not be available in this version of green-core
37960
- console.warn('Failed to define gds-option:', e);
37961
- }
37962
- // Set up event listeners
37963
- this.elementRef.nativeElement.addEventListener('gds-select', (event) => {
37964
- this.gdsSelect.emit(event);
37965
- });
37966
- }
37967
- ngOnChanges(changes) {
37968
- // Implementation added by @ProxyInputs decorator
37969
- }
37970
- ngAfterViewInit() {
37971
- // Implementation added by @ProxyInputs decorator
37972
- }
37973
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
37974
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsOptionComponent, isStandalone: true, selector: "gds-option", inputs: { value: "value", hidden: ["hidden", "hidden", booleanAttribute], selected: ["selected", "selected", booleanAttribute], isPlaceholder: ["isPlaceholder", "isPlaceholder", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsSelect: "gdsSelect" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37975
- };
37976
- GdsOptionComponent = __decorate([
37977
- ProxyInputs(['value', 'hidden', 'selected', 'isPlaceholder', 'syncFirstRender']),
37978
- __metadata("design:paramtypes", [])
37979
- ], GdsOptionComponent);
37980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsOptionComponent, decorators: [{
37981
- type: Component,
37982
- args: [{
37983
- selector: 'gds-option',
37984
- standalone: true,
37985
- changeDetection: ChangeDetectionStrategy.OnPush,
37986
- template: `<ng-content></ng-content>`
37987
- }]
37988
- }], ctorParameters: () => [], propDecorators: { value: [{
37989
- type: Input
37990
- }], hidden: [{
37991
- type: Input,
37992
- args: [{ transform: booleanAttribute }]
37993
- }], selected: [{
37994
- type: Input,
37995
- args: [{ transform: booleanAttribute }]
37996
- }], isPlaceholder: [{
37997
- type: Input,
37998
- args: [{ transform: booleanAttribute }]
37999
- }], syncFirstRender: [{
38000
- type: Input,
38001
- args: [{ transform: booleanAttribute }]
38002
- }], gdsSelect: [{
38003
- type: Output
38004
- }] } });
38005
-
38006
- /**
38007
- * GdsOptionComponent - Angular wrapper for gds-option
38008
- *
38009
- *
38010
- * Auto-generated from Custom Elements Manifest
38011
- */
38012
-
38013
38014
  /**
38014
38015
  * Optional convenience module for importing all green-core-ng wrapper components at once.
38015
38016
  *
@@ -38034,25 +38035,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
38034
38035
  class GreenCoreNgModule {
38035
38036
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GreenCoreNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
38036
38037
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: GreenCoreNgModule, imports: [GdsAlertComponent,
38037
- GdsBadgeComponent,
38038
38038
  GdsAvatarComponent,
38039
+ GdsBadgeComponent,
38039
38040
  GdsBlurComponent,
38040
38041
  GdsBreadcrumbsComponent,
38041
38042
  GdsButtonComponent,
38042
- GdsCalendarComponent,
38043
38043
  GdsCardComponent,
38044
+ GdsCalendarComponent,
38044
38045
  GdsCardLinkedComponent,
38045
38046
  GdsCheckboxComponent,
38046
38047
  GdsCoachmarkComponent,
38047
38048
  GdsContextMenuComponent,
38048
- GdsDatepickerComponent,
38049
38049
  GdsDetailsComponent,
38050
+ GdsDatepickerComponent,
38050
38051
  GdsDialogComponent,
38051
38052
  GdsDivComponent,
38052
38053
  GdsDividerComponent,
38053
38054
  GdsDropdownComponent,
38054
- GdsFilterChipsComponent,
38055
+ GdsOptionComponent,
38055
38056
  GdsFabComponent,
38057
+ GdsFilterChipsComponent,
38056
38058
  GdsFlexComponent,
38057
38059
  GdsFormSummaryComponent,
38058
38060
  GdsGridComponent,
@@ -38409,27 +38411,27 @@ class GreenCoreNgModule {
38409
38411
  IconZoomInComponent,
38410
38412
  IconZoomOutComponent,
38411
38413
  GdsMenuItemComponent,
38412
- GdsMenuHeadingComponent,
38413
- GdsOptionComponent], exports: [GdsAlertComponent,
38414
- GdsBadgeComponent,
38414
+ GdsMenuHeadingComponent], exports: [GdsAlertComponent,
38415
38415
  GdsAvatarComponent,
38416
+ GdsBadgeComponent,
38416
38417
  GdsBlurComponent,
38417
38418
  GdsBreadcrumbsComponent,
38418
38419
  GdsButtonComponent,
38419
- GdsCalendarComponent,
38420
38420
  GdsCardComponent,
38421
+ GdsCalendarComponent,
38421
38422
  GdsCardLinkedComponent,
38422
38423
  GdsCheckboxComponent,
38423
38424
  GdsCoachmarkComponent,
38424
38425
  GdsContextMenuComponent,
38425
- GdsDatepickerComponent,
38426
38426
  GdsDetailsComponent,
38427
+ GdsDatepickerComponent,
38427
38428
  GdsDialogComponent,
38428
38429
  GdsDivComponent,
38429
38430
  GdsDividerComponent,
38430
38431
  GdsDropdownComponent,
38431
- GdsFilterChipsComponent,
38432
+ GdsOptionComponent,
38432
38433
  GdsFabComponent,
38434
+ GdsFilterChipsComponent,
38433
38435
  GdsFlexComponent,
38434
38436
  GdsFormSummaryComponent,
38435
38437
  GdsGridComponent,
@@ -38786,8 +38788,7 @@ class GreenCoreNgModule {
38786
38788
  IconZoomInComponent,
38787
38789
  IconZoomOutComponent,
38788
38790
  GdsMenuItemComponent,
38789
- GdsMenuHeadingComponent,
38790
- GdsOptionComponent] }); }
38791
+ GdsMenuHeadingComponent] }); }
38791
38792
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GreenCoreNgModule }); }
38792
38793
  }
38793
38794
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GreenCoreNgModule, decorators: [{
@@ -38795,25 +38796,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
38795
38796
  args: [{
38796
38797
  imports: [
38797
38798
  GdsAlertComponent,
38798
- GdsBadgeComponent,
38799
38799
  GdsAvatarComponent,
38800
+ GdsBadgeComponent,
38800
38801
  GdsBlurComponent,
38801
38802
  GdsBreadcrumbsComponent,
38802
38803
  GdsButtonComponent,
38803
- GdsCalendarComponent,
38804
38804
  GdsCardComponent,
38805
+ GdsCalendarComponent,
38805
38806
  GdsCardLinkedComponent,
38806
38807
  GdsCheckboxComponent,
38807
38808
  GdsCoachmarkComponent,
38808
38809
  GdsContextMenuComponent,
38809
- GdsDatepickerComponent,
38810
38810
  GdsDetailsComponent,
38811
+ GdsDatepickerComponent,
38811
38812
  GdsDialogComponent,
38812
38813
  GdsDivComponent,
38813
38814
  GdsDividerComponent,
38814
38815
  GdsDropdownComponent,
38815
- GdsFilterChipsComponent,
38816
+ GdsOptionComponent,
38816
38817
  GdsFabComponent,
38818
+ GdsFilterChipsComponent,
38817
38819
  GdsFlexComponent,
38818
38820
  GdsFormSummaryComponent,
38819
38821
  GdsGridComponent,
@@ -39171,29 +39173,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
39171
39173
  IconZoomOutComponent,
39172
39174
  GdsMenuItemComponent,
39173
39175
  GdsMenuHeadingComponent,
39174
- GdsOptionComponent,
39175
39176
  ],
39176
39177
  exports: [
39177
39178
  GdsAlertComponent,
39178
- GdsBadgeComponent,
39179
39179
  GdsAvatarComponent,
39180
+ GdsBadgeComponent,
39180
39181
  GdsBlurComponent,
39181
39182
  GdsBreadcrumbsComponent,
39182
39183
  GdsButtonComponent,
39183
- GdsCalendarComponent,
39184
39184
  GdsCardComponent,
39185
+ GdsCalendarComponent,
39185
39186
  GdsCardLinkedComponent,
39186
39187
  GdsCheckboxComponent,
39187
39188
  GdsCoachmarkComponent,
39188
39189
  GdsContextMenuComponent,
39189
- GdsDatepickerComponent,
39190
39190
  GdsDetailsComponent,
39191
+ GdsDatepickerComponent,
39191
39192
  GdsDialogComponent,
39192
39193
  GdsDivComponent,
39193
39194
  GdsDividerComponent,
39194
39195
  GdsDropdownComponent,
39195
- GdsFilterChipsComponent,
39196
+ GdsOptionComponent,
39196
39197
  GdsFabComponent,
39198
+ GdsFilterChipsComponent,
39197
39199
  GdsFlexComponent,
39198
39200
  GdsFormSummaryComponent,
39199
39201
  GdsGridComponent,
@@ -39551,7 +39553,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
39551
39553
  IconZoomOutComponent,
39552
39554
  GdsMenuItemComponent,
39553
39555
  GdsMenuHeadingComponent,
39554
- GdsOptionComponent,
39555
39556
  ]
39556
39557
  }]
39557
39558
  }] });