@sebgroup/green-core-ng 3.14.0 → 3.15.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.
@@ -2,17 +2,17 @@ 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';
7
- import { GdsBreadcrumbs } from '@sebgroup/green-core/components/breadcrumbs/breadcrumbs.component.js';
6
+ import { GdsBadge } from '@sebgroup/green-core/components/badge/badge.component.js';
8
7
  import { GdsBlur } from '@sebgroup/green-core/components/blur/blur.component.js';
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
13
  import { GdsCalendar } from '@sebgroup/green-core/components/calendar/calendar.component.js';
14
- import { GdsCardLinked } from '@sebgroup/green-core/components/card-linked/card-linked.component.js';
15
14
  import { GdsCard } from '@sebgroup/green-core/components/card/card.component.js';
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';
@@ -43,8 +43,8 @@ import { GdsSegmentedControl } from '@sebgroup/green-core/components/segmented-c
43
43
  import { GdsSelect } from '@sebgroup/green-core/components/select/select.component.js';
44
44
  import { GdsSignal } from '@sebgroup/green-core/components/signal/signal.component.js';
45
45
  import { GdsSpinner } from '@sebgroup/green-core/components/spinner/spinner.component.js';
46
- import { GdsSwitch } from '@sebgroup/green-core/components/switch/switch.component.js';
47
46
  import { GdsTable } from '@sebgroup/green-core/components/table/table.component.js';
47
+ import { GdsSwitch } from '@sebgroup/green-core/components/switch/switch.component.js';
48
48
  import { GdsTabs } from '@sebgroup/green-core/components/tabs/tabs.component.js';
49
49
  import { GdsText } from '@sebgroup/green-core/components/text/text.component.js';
50
50
  import { GdsTextarea } from '@sebgroup/green-core/components/textarea/textarea.component.js';
@@ -53,16 +53,16 @@ import { GdsVideo } from '@sebgroup/green-core/components/video/video.component.
53
53
  import { GdsCardPattern01 } from '@sebgroup/green-core/patterns/card-pattern-01/card-pattern-01.component.js';
54
54
  import { GdsListItemPattern01 } from '@sebgroup/green-core/patterns/list-item-pattern-01/list-item-pattern-01.component.js';
55
55
  import { GdsAvatarGroup } from '@sebgroup/green-core/components/avatar/avatar-group/avatar-group.component.js';
56
- import { GdsBreadcrumb } from '@sebgroup/green-core/components/breadcrumbs/breadcrumb/breadcrumb.component.js';
57
56
  import { GdsCheckboxGroup } from '@sebgroup/green-core/components/checkbox/checkbox-group/checkbox-group.component.js';
57
+ import { GdsBreadcrumb } from '@sebgroup/green-core/components/breadcrumbs/breadcrumb/breadcrumb.component.js';
58
58
  import { GdsIconDetails } from '@sebgroup/green-core/components/details/details-icon/details-icon.component.js';
59
59
  import { GdsFilterChip } from '@sebgroup/green-core/components/filter-chips/filter-chip/filter-chip.component.js';
60
60
  import { GdsFormattedAccount } from '@sebgroup/green-core/components/formatted-text/account/formatted-account.component.js';
61
61
  import { GdsFormattedDate } from '@sebgroup/green-core/components/formatted-text/date/formatted-date.component.js';
62
- import { GdsListItem } from '@sebgroup/green-core/components/list/list-item/list-item.component.js';
63
62
  import { GdsFormattedNumber } from '@sebgroup/green-core/components/formatted-text/number/formatted-number.component.js';
64
- import { GdsSegment } from '@sebgroup/green-core/components/segmented-control/segment/segment.component.js';
65
63
  import { GdsRadioGroup } from '@sebgroup/green-core/components/radio/radio-group/radio-group.component.js';
64
+ import { GdsListItem } from '@sebgroup/green-core/components/list/list-item/list-item.component.js';
65
+ import { GdsSegment } from '@sebgroup/green-core/components/segmented-control/segment/segment.component.js';
66
66
  import { GdsSensitiveAccount } from '@sebgroup/green-core/components/sensitive/account/sensitive-account.component.js';
67
67
  import { GdsSensitiveDate } from '@sebgroup/green-core/components/sensitive/date/sensitive-date.component.js';
68
68
  import { GdsSensitiveNumber } from '@sebgroup/green-core/components/sensitive/number/sensitive-number.component.js';
@@ -528,10 +528,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
528
528
  */
529
529
 
530
530
  /**
531
- * Angular wrapper for the gds-badge web component
532
- * `gds-badge`
531
+ * Angular wrapper for the gds-avatar web component
532
+ * `gds-avatar` is a visual element used to represent a user or entity.
533
+ It supports displaying an image, slotted text content, or a fallback icon.
533
534
  */
534
- let GdsBadgeComponent = class GdsBadgeComponent {
535
+ let GdsAvatarComponent = class GdsAvatarComponent {
535
536
  get element() {
536
537
  return this.elementRef.nativeElement;
537
538
  }
@@ -544,11 +545,11 @@ let GdsBadgeComponent = class GdsBadgeComponent {
544
545
  ngOnInit() {
545
546
  // Define the custom element
546
547
  try {
547
- GdsBadge.define();
548
+ GdsAvatar.define();
548
549
  }
549
550
  catch (e) {
550
551
  // Component may not be available in this version of green-core
551
- console.warn('Failed to define gds-badge:', e);
552
+ console.warn('Failed to define gds-avatar:', e);
552
553
  }
553
554
  }
554
555
  ngOnChanges(changes) {
@@ -557,37 +558,35 @@ let GdsBadgeComponent = class GdsBadgeComponent {
557
558
  ngAfterViewInit() {
558
559
  // Implementation added by @ProxyInputs decorator
559
560
  }
560
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
561
- 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 }); }
561
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
562
+ 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 }); }
562
563
  };
563
- GdsBadgeComponent = __decorate([
564
- 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']),
564
+ GdsAvatarComponent = __decorate([
565
+ 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']),
565
566
  __metadata("design:paramtypes", [])
566
- ], GdsBadgeComponent);
567
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, decorators: [{
567
+ ], GdsAvatarComponent);
568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, decorators: [{
568
569
  type: Component,
569
570
  args: [{
570
- selector: 'gds-badge',
571
+ selector: 'gds-avatar',
571
572
  standalone: true,
572
573
  changeDetection: ChangeDetectionStrategy.OnPush,
573
574
  template: `<ng-content></ng-content>`
574
575
  }]
575
- }], ctorParameters: () => [], propDecorators: { variant: [{
576
+ }], ctorParameters: () => [], propDecorators: { src: [{
577
+ type: Input
578
+ }], alt: [{
576
579
  type: Input
577
580
  }], size: [{
578
581
  type: Input
579
- }], notification: [{
580
- type: Input,
581
- args: [{ transform: booleanAttribute }]
582
- }], rounded: [{
583
- type: Input,
584
- args: [{ transform: booleanAttribute }]
585
- }], mainSlotOccupied: [{
586
- type: Input,
587
- args: [{ transform: booleanAttribute }]
588
- }], leadSlotOccupied: [{
589
- type: Input,
590
- args: [{ transform: booleanAttribute }]
582
+ }], shape: [{
583
+ type: Input
584
+ }], level: [{
585
+ type: Input
586
+ }], background: [{
587
+ type: Input
588
+ }], color: [{
589
+ type: Input
591
590
  }], width: [{
592
591
  type: Input
593
592
  }], minWidth: [{
@@ -628,18 +627,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
628
627
  }] } });
629
628
 
630
629
  /**
631
- * GdsBadgeComponent - Angular wrapper for gds-badge
632
- * `gds-badge`
630
+ * GdsAvatarComponent - Angular wrapper for gds-avatar
631
+ * `gds-avatar` is a visual element used to represent a user or entity.
632
+ It supports displaying an image, slotted text content, or a fallback icon.
633
633
  *
634
634
  * Auto-generated from Custom Elements Manifest
635
635
  */
636
636
 
637
637
  /**
638
- * Angular wrapper for the gds-avatar web component
639
- * `gds-avatar` is a visual element used to represent a user or entity.
640
- It supports displaying an image, slotted text content, or a fallback icon.
638
+ * Angular wrapper for the gds-badge web component
639
+ * `gds-badge`
641
640
  */
642
- let GdsAvatarComponent = class GdsAvatarComponent {
641
+ let GdsBadgeComponent = class GdsBadgeComponent {
643
642
  get element() {
644
643
  return this.elementRef.nativeElement;
645
644
  }
@@ -652,11 +651,11 @@ let GdsAvatarComponent = class GdsAvatarComponent {
652
651
  ngOnInit() {
653
652
  // Define the custom element
654
653
  try {
655
- GdsAvatar.define();
654
+ GdsBadge.define();
656
655
  }
657
656
  catch (e) {
658
657
  // Component may not be available in this version of green-core
659
- console.warn('Failed to define gds-avatar:', e);
658
+ console.warn('Failed to define gds-badge:', e);
660
659
  }
661
660
  }
662
661
  ngOnChanges(changes) {
@@ -665,35 +664,37 @@ let GdsAvatarComponent = class GdsAvatarComponent {
665
664
  ngAfterViewInit() {
666
665
  // Implementation added by @ProxyInputs decorator
667
666
  }
668
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
669
- 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 }); }
667
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
668
+ 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 }); }
670
669
  };
671
- GdsAvatarComponent = __decorate([
672
- 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']),
670
+ GdsBadgeComponent = __decorate([
671
+ 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']),
673
672
  __metadata("design:paramtypes", [])
674
- ], GdsAvatarComponent);
675
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsAvatarComponent, decorators: [{
673
+ ], GdsBadgeComponent);
674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBadgeComponent, decorators: [{
676
675
  type: Component,
677
676
  args: [{
678
- selector: 'gds-avatar',
677
+ selector: 'gds-badge',
679
678
  standalone: true,
680
679
  changeDetection: ChangeDetectionStrategy.OnPush,
681
680
  template: `<ng-content></ng-content>`
682
681
  }]
683
- }], ctorParameters: () => [], propDecorators: { src: [{
684
- type: Input
685
- }], alt: [{
682
+ }], ctorParameters: () => [], propDecorators: { variant: [{
686
683
  type: Input
687
684
  }], size: [{
688
685
  type: Input
689
- }], shape: [{
690
- type: Input
691
- }], level: [{
692
- type: Input
693
- }], background: [{
694
- type: Input
695
- }], color: [{
696
- type: Input
686
+ }], notification: [{
687
+ type: Input,
688
+ args: [{ transform: booleanAttribute }]
689
+ }], rounded: [{
690
+ type: Input,
691
+ args: [{ transform: booleanAttribute }]
692
+ }], mainSlotOccupied: [{
693
+ type: Input,
694
+ args: [{ transform: booleanAttribute }]
695
+ }], leadSlotOccupied: [{
696
+ type: Input,
697
+ args: [{ transform: booleanAttribute }]
697
698
  }], width: [{
698
699
  type: Input
699
700
  }], minWidth: [{
@@ -734,9 +735,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
734
735
  }] } });
735
736
 
736
737
  /**
737
- * GdsAvatarComponent - Angular wrapper for gds-avatar
738
- * `gds-avatar` is a visual element used to represent a user or entity.
739
- It supports displaying an image, slotted text content, or a fallback icon.
738
+ * GdsBadgeComponent - Angular wrapper for gds-badge
739
+ * `gds-badge`
740
+ *
741
+ * Auto-generated from Custom Elements Manifest
742
+ */
743
+
744
+ /**
745
+ * Angular wrapper for the gds-blur web component
746
+ *
747
+ */
748
+ let GdsBlurComponent = class GdsBlurComponent {
749
+ get element() {
750
+ return this.elementRef.nativeElement;
751
+ }
752
+ constructor() {
753
+ this.elementRef = inject((ElementRef));
754
+ this.zone = inject(NgZone);
755
+ this.cdr = inject(ChangeDetectorRef);
756
+ this.cdr.detach();
757
+ }
758
+ ngOnInit() {
759
+ // Define the custom element
760
+ try {
761
+ GdsBlur.define();
762
+ }
763
+ catch (e) {
764
+ // Component may not be available in this version of green-core
765
+ console.warn('Failed to define gds-blur:', e);
766
+ }
767
+ }
768
+ ngOnChanges(changes) {
769
+ // Implementation added by @ProxyInputs decorator
770
+ }
771
+ ngAfterViewInit() {
772
+ // Implementation added by @ProxyInputs decorator
773
+ }
774
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBlurComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
775
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsBlurComponent, isStandalone: true, selector: "gds-blur", inputs: { syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
776
+ };
777
+ GdsBlurComponent = __decorate([
778
+ ProxyInputs(['syncFirstRender']),
779
+ __metadata("design:paramtypes", [])
780
+ ], GdsBlurComponent);
781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBlurComponent, decorators: [{
782
+ type: Component,
783
+ args: [{
784
+ selector: 'gds-blur',
785
+ standalone: true,
786
+ changeDetection: ChangeDetectionStrategy.OnPush,
787
+ template: `<ng-content></ng-content>`
788
+ }]
789
+ }], ctorParameters: () => [], propDecorators: { syncFirstRender: [{
790
+ type: Input,
791
+ args: [{ transform: booleanAttribute }]
792
+ }] } });
793
+
794
+ /**
795
+ * GdsBlurComponent - Angular wrapper for gds-blur
796
+ *
740
797
  *
741
798
  * Auto-generated from Custom Elements Manifest
742
799
  */
@@ -836,63 +893,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
836
893
  * Auto-generated from Custom Elements Manifest
837
894
  */
838
895
 
839
- /**
840
- * Angular wrapper for the gds-blur web component
841
- *
842
- */
843
- let GdsBlurComponent = class GdsBlurComponent {
844
- get element() {
845
- return this.elementRef.nativeElement;
846
- }
847
- constructor() {
848
- this.elementRef = inject((ElementRef));
849
- this.zone = inject(NgZone);
850
- this.cdr = inject(ChangeDetectorRef);
851
- this.cdr.detach();
852
- }
853
- ngOnInit() {
854
- // Define the custom element
855
- try {
856
- GdsBlur.define();
857
- }
858
- catch (e) {
859
- // Component may not be available in this version of green-core
860
- console.warn('Failed to define gds-blur:', e);
861
- }
862
- }
863
- ngOnChanges(changes) {
864
- // Implementation added by @ProxyInputs decorator
865
- }
866
- ngAfterViewInit() {
867
- // Implementation added by @ProxyInputs decorator
868
- }
869
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBlurComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
870
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsBlurComponent, isStandalone: true, selector: "gds-blur", inputs: { syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
871
- };
872
- GdsBlurComponent = __decorate([
873
- ProxyInputs(['syncFirstRender']),
874
- __metadata("design:paramtypes", [])
875
- ], GdsBlurComponent);
876
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBlurComponent, decorators: [{
877
- type: Component,
878
- args: [{
879
- selector: 'gds-blur',
880
- standalone: true,
881
- changeDetection: ChangeDetectionStrategy.OnPush,
882
- template: `<ng-content></ng-content>`
883
- }]
884
- }], ctorParameters: () => [], propDecorators: { syncFirstRender: [{
885
- type: Input,
886
- args: [{ transform: booleanAttribute }]
887
- }] } });
888
-
889
- /**
890
- * GdsBlurComponent - Angular wrapper for gds-blur
891
- *
892
- *
893
- * Auto-generated from Custom Elements Manifest
894
- */
895
-
896
896
  /**
897
897
  * Base class for Angular wrapper components that wrap Green Core form controls.
898
898
  *
@@ -1314,10 +1314,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
1314
1314
  */
1315
1315
 
1316
1316
  /**
1317
- * Angular wrapper for the gds-card-linked web component
1318
- *
1317
+ * Angular wrapper for the gds-card web component
1318
+ * A container for content representing a single entity. e.g. a contact, article, or task.
1319
+
1320
+ `gds-card` inherits all properties from `gds-div`, but comes with some predefined defaults
1321
+ and a shortcut property for specifying different card variants.
1319
1322
  */
1320
- let GdsCardLinkedComponent = class GdsCardLinkedComponent {
1323
+ let GdsCardComponent = class GdsCardComponent {
1321
1324
  get element() {
1322
1325
  return this.elementRef.nativeElement;
1323
1326
  }
@@ -1325,120 +1328,40 @@ let GdsCardLinkedComponent = class GdsCardLinkedComponent {
1325
1328
  this.elementRef = inject((ElementRef));
1326
1329
  this.zone = inject(NgZone);
1327
1330
  this.cdr = inject(ChangeDetectorRef);
1328
- this.renderer = inject(Renderer2);
1329
- this.router = inject(Router);
1330
- this.locationStrategy = inject(LocationStrategy);
1331
- this.destroyRef = inject(DestroyRef);
1332
- this.routerLink = inject(RouterLink, { optional: true, self: true });
1333
- this.routerLinkActive = inject(RouterLinkActive, { optional: true, self: true });
1334
1331
  this.cdr.detach();
1335
- if (this.routerLink) {
1336
- // Prevent the browser from following the href on click – RouterLink
1337
- // handles navigation via Router.navigateByUrl() but only calls
1338
- // preventDefault() for native <a> elements.
1339
- this.preventNativeNavigation();
1340
- // Keep href in sync after client-side navigations (RouterLink only
1341
- // does this for native <a> elements).
1342
- const sub = this.router.events.subscribe((event) => {
1343
- if (event instanceof NavigationEnd)
1344
- this.updateHref();
1345
- });
1346
- this.destroyRef.onDestroy(() => sub.unsubscribe());
1347
- }
1348
- }
1349
- /**
1350
- * Prevent the browser from following the href when RouterLink handles
1351
- * navigation. RouterLink calls Router.navigateByUrl() for all elements,
1352
- * but only calls preventDefault() for native <a> tags. For custom
1353
- * elements we must do it ourselves, respecting modifier-key and
1354
- * target-attribute semantics so that ctrl-click / cmd-click / target=_blank
1355
- * still open a new tab.
1356
- * @internal
1357
- */
1358
- preventNativeNavigation() {
1359
- // Use capture phase so this runs before Angular's RouterLink host listener.
1360
- this.elementRef.nativeElement.addEventListener('click', (event) => {
1361
- if (!this.routerLink?.urlTree)
1362
- return;
1363
- // When modifier keys are pressed or target is not _self, stop
1364
- // RouterLink from navigating (it skips these checks for non-anchor
1365
- // elements) and let the browser handle the click natively (new tab etc.)
1366
- if (event.button !== 0 || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
1367
- event.stopImmediatePropagation();
1368
- return;
1369
- }
1370
- const target = this.elementRef.nativeElement.getAttribute('target');
1371
- if (target && target !== '_self') {
1372
- event.stopImmediatePropagation();
1373
- return;
1374
- }
1375
- // Normal left-click: let RouterLink handle navigation via
1376
- // Router.navigateByUrl(), but prevent the browser from also
1377
- // following the shadow DOM anchor's href.
1378
- event.preventDefault();
1379
- }, true);
1380
- }
1381
- /**
1382
- * Updates the href attribute from RouterLink using only public Angular APIs.
1383
- * @internal
1384
- */
1385
- updateHref() {
1386
- if (!this.routerLink)
1387
- return;
1388
- const urlTree = this.routerLink.urlTree;
1389
- const href = urlTree
1390
- ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(urlTree))
1391
- : null;
1392
- if (href) {
1393
- this.renderer.setAttribute(this.elementRef.nativeElement, 'href', href);
1394
- }
1395
1332
  }
1396
1333
  ngOnInit() {
1397
1334
  // Define the custom element
1398
1335
  try {
1399
- GdsCardLinked.define();
1336
+ GdsCard.define();
1400
1337
  }
1401
1338
  catch (e) {
1402
1339
  // Component may not be available in this version of green-core
1403
- console.warn('Failed to define gds-card-linked:', e);
1340
+ console.warn('Failed to define gds-card:', e);
1404
1341
  }
1405
1342
  }
1406
1343
  ngOnChanges(changes) {
1407
1344
  // Implementation added by @ProxyInputs decorator
1408
- if (changes['routerLink']) {
1409
- this.updateHref();
1410
- }
1411
1345
  }
1412
1346
  ngAfterViewInit() {
1413
1347
  // Implementation added by @ProxyInputs decorator
1414
- this.updateHref();
1415
1348
  }
1416
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardLinkedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1417
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsCardLinkedComponent, isStandalone: true, selector: "gds-card-linked", inputs: { href: "href", target: "target", rel: "rel", download: "download", ping: "ping", variant: "variant", padding: "padding", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", blockSize: "blockSize", minBlockSize: "minBlockSize", maxBlockSize: "maxBlockSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", paddingInline: "paddingInline", paddingBlock: "paddingBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", position: "position", transform: "transform", inset: "inset", display: "display", level: "level", color: "color", background: "background", border: "border", borderColor: "borderColor", borderWidth: "borderWidth", borderStyle: "borderStyle", borderRadius: "borderRadius", boxShadow: "boxShadow", opacity: "opacity", overflow: "overflow", boxSizing: "boxSizing", zIndex: "zIndex", font: "font", fontWeight: "fontWeight", textAlign: "textAlign", textWrap: "textWrap", overflowWrap: "overflowWrap", whiteSpace: "whiteSpace", gap: "gap", alignItems: "alignItems", alignContent: "alignContent", justifyContent: "justifyContent", justifyItems: "justifyItems", flexDirection: "flexDirection", flexWrap: "flexWrap", placeItems: "placeItems", placeContent: "placeContent", aspectRatio: "aspectRatio", cursor: "cursor", pointerEvents: "pointerEvents", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1349
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1350
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsCardComponent, isStandalone: true, selector: "gds-card", inputs: { variant: "variant", padding: "padding", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", blockSize: "blockSize", minBlockSize: "minBlockSize", maxBlockSize: "maxBlockSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", paddingInline: "paddingInline", paddingBlock: "paddingBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", position: "position", transform: "transform", inset: "inset", display: "display", level: "level", color: "color", background: "background", border: "border", borderColor: "borderColor", borderWidth: "borderWidth", borderStyle: "borderStyle", borderRadius: "borderRadius", boxShadow: "boxShadow", opacity: "opacity", overflow: "overflow", boxSizing: "boxSizing", zIndex: "zIndex", font: "font", fontWeight: "fontWeight", textAlign: "textAlign", textWrap: "textWrap", overflowWrap: "overflowWrap", whiteSpace: "whiteSpace", gap: "gap", alignItems: "alignItems", alignContent: "alignContent", justifyContent: "justifyContent", justifyItems: "justifyItems", flexDirection: "flexDirection", flexWrap: "flexWrap", placeItems: "placeItems", placeContent: "placeContent", aspectRatio: "aspectRatio", cursor: "cursor", pointerEvents: "pointerEvents", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1418
1351
  };
1419
- GdsCardLinkedComponent = __decorate([
1420
- ProxyInputs(['href', 'target', 'rel', 'download', 'ping', 'variant', 'padding', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'height', 'min-height', 'max-height', 'block-size', 'min-block-size', 'max-block-size', 'margin', 'margin-inline', 'margin-block', 'padding-inline', 'padding-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'position', 'transform', 'inset', 'display', 'level', 'color', 'background', 'border', 'border-color', 'border-width', 'border-style', 'border-radius', 'box-shadow', 'opacity', 'overflow', 'box-sizing', 'z-index', 'font', 'font-weight', 'text-align', 'text-wrap', 'overflow-wrap', 'white-space', 'gap', 'align-items', 'align-content', 'justify-content', 'justify-items', 'flex-direction', 'flex-wrap', 'place-items', 'place-content', 'aspect-ratio', 'cursor', 'pointer-events', 'syncFirstRender']),
1352
+ GdsCardComponent = __decorate([
1353
+ ProxyInputs(['variant', 'padding', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'height', 'min-height', 'max-height', 'block-size', 'min-block-size', 'max-block-size', 'margin', 'margin-inline', 'margin-block', 'padding-inline', 'padding-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'position', 'transform', 'inset', 'display', 'level', 'color', 'background', 'border', 'border-color', 'border-width', 'border-style', 'border-radius', 'box-shadow', 'opacity', 'overflow', 'box-sizing', 'z-index', 'font', 'font-weight', 'text-align', 'text-wrap', 'overflow-wrap', 'white-space', 'gap', 'align-items', 'align-content', 'justify-content', 'justify-items', 'flex-direction', 'flex-wrap', 'place-items', 'place-content', 'aspect-ratio', 'cursor', 'pointer-events', 'syncFirstRender']),
1421
1354
  __metadata("design:paramtypes", [])
1422
- ], GdsCardLinkedComponent);
1423
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardLinkedComponent, decorators: [{
1355
+ ], GdsCardComponent);
1356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardComponent, decorators: [{
1424
1357
  type: Component,
1425
1358
  args: [{
1426
- selector: 'gds-card-linked',
1359
+ selector: 'gds-card',
1427
1360
  standalone: true,
1428
1361
  changeDetection: ChangeDetectionStrategy.OnPush,
1429
1362
  template: `<ng-content></ng-content>`
1430
1363
  }]
1431
- }], ctorParameters: () => [], propDecorators: { href: [{
1432
- type: Input
1433
- }], target: [{
1434
- type: Input
1435
- }], rel: [{
1436
- type: Input
1437
- }], download: [{
1438
- type: Input
1439
- }], ping: [{
1440
- type: Input
1441
- }], variant: [{
1364
+ }], ctorParameters: () => [], propDecorators: { variant: [{
1442
1365
  type: Input
1443
1366
  }], padding: [{
1444
1367
  type: Input
@@ -1568,20 +1491,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
1568
1491
  }] } });
1569
1492
 
1570
1493
  /**
1571
- * GdsCardLinkedComponent - Angular wrapper for gds-card-linked
1572
- *
1494
+ * GdsCardComponent - Angular wrapper for gds-card
1495
+ * A container for content representing a single entity. e.g. a contact, article, or task.
1496
+
1497
+ `gds-card` inherits all properties from `gds-div`, but comes with some predefined defaults
1498
+ and a shortcut property for specifying different card variants.
1573
1499
  *
1574
1500
  * Auto-generated from Custom Elements Manifest
1575
1501
  */
1576
1502
 
1577
1503
  /**
1578
- * Angular wrapper for the gds-card web component
1579
- * A container for content representing a single entity. e.g. a contact, article, or task.
1580
-
1581
- `gds-card` inherits all properties from `gds-div`, but comes with some predefined defaults
1582
- and a shortcut property for specifying different card variants.
1504
+ * Angular wrapper for the gds-card-linked web component
1505
+ *
1583
1506
  */
1584
- let GdsCardComponent = class GdsCardComponent {
1507
+ let GdsCardLinkedComponent = class GdsCardLinkedComponent {
1585
1508
  get element() {
1586
1509
  return this.elementRef.nativeElement;
1587
1510
  }
@@ -1589,40 +1512,120 @@ let GdsCardComponent = class GdsCardComponent {
1589
1512
  this.elementRef = inject((ElementRef));
1590
1513
  this.zone = inject(NgZone);
1591
1514
  this.cdr = inject(ChangeDetectorRef);
1515
+ this.renderer = inject(Renderer2);
1516
+ this.router = inject(Router);
1517
+ this.locationStrategy = inject(LocationStrategy);
1518
+ this.destroyRef = inject(DestroyRef);
1519
+ this.routerLink = inject(RouterLink, { optional: true, self: true });
1520
+ this.routerLinkActive = inject(RouterLinkActive, { optional: true, self: true });
1592
1521
  this.cdr.detach();
1522
+ if (this.routerLink) {
1523
+ // Prevent the browser from following the href on click – RouterLink
1524
+ // handles navigation via Router.navigateByUrl() but only calls
1525
+ // preventDefault() for native <a> elements.
1526
+ this.preventNativeNavigation();
1527
+ // Keep href in sync after client-side navigations (RouterLink only
1528
+ // does this for native <a> elements).
1529
+ const sub = this.router.events.subscribe((event) => {
1530
+ if (event instanceof NavigationEnd)
1531
+ this.updateHref();
1532
+ });
1533
+ this.destroyRef.onDestroy(() => sub.unsubscribe());
1534
+ }
1535
+ }
1536
+ /**
1537
+ * Prevent the browser from following the href when RouterLink handles
1538
+ * navigation. RouterLink calls Router.navigateByUrl() for all elements,
1539
+ * but only calls preventDefault() for native <a> tags. For custom
1540
+ * elements we must do it ourselves, respecting modifier-key and
1541
+ * target-attribute semantics so that ctrl-click / cmd-click / target=_blank
1542
+ * still open a new tab.
1543
+ * @internal
1544
+ */
1545
+ preventNativeNavigation() {
1546
+ // Use capture phase so this runs before Angular's RouterLink host listener.
1547
+ this.elementRef.nativeElement.addEventListener('click', (event) => {
1548
+ if (!this.routerLink?.urlTree)
1549
+ return;
1550
+ // When modifier keys are pressed or target is not _self, stop
1551
+ // RouterLink from navigating (it skips these checks for non-anchor
1552
+ // elements) and let the browser handle the click natively (new tab etc.)
1553
+ if (event.button !== 0 || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
1554
+ event.stopImmediatePropagation();
1555
+ return;
1556
+ }
1557
+ const target = this.elementRef.nativeElement.getAttribute('target');
1558
+ if (target && target !== '_self') {
1559
+ event.stopImmediatePropagation();
1560
+ return;
1561
+ }
1562
+ // Normal left-click: let RouterLink handle navigation via
1563
+ // Router.navigateByUrl(), but prevent the browser from also
1564
+ // following the shadow DOM anchor's href.
1565
+ event.preventDefault();
1566
+ }, true);
1567
+ }
1568
+ /**
1569
+ * Updates the href attribute from RouterLink using only public Angular APIs.
1570
+ * @internal
1571
+ */
1572
+ updateHref() {
1573
+ if (!this.routerLink)
1574
+ return;
1575
+ const urlTree = this.routerLink.urlTree;
1576
+ const href = urlTree
1577
+ ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(urlTree))
1578
+ : null;
1579
+ if (href) {
1580
+ this.renderer.setAttribute(this.elementRef.nativeElement, 'href', href);
1581
+ }
1593
1582
  }
1594
1583
  ngOnInit() {
1595
1584
  // Define the custom element
1596
1585
  try {
1597
- GdsCard.define();
1586
+ GdsCardLinked.define();
1598
1587
  }
1599
1588
  catch (e) {
1600
1589
  // Component may not be available in this version of green-core
1601
- console.warn('Failed to define gds-card:', e);
1590
+ console.warn('Failed to define gds-card-linked:', e);
1602
1591
  }
1603
1592
  }
1604
1593
  ngOnChanges(changes) {
1605
1594
  // Implementation added by @ProxyInputs decorator
1595
+ if (changes['routerLink']) {
1596
+ this.updateHref();
1597
+ }
1606
1598
  }
1607
1599
  ngAfterViewInit() {
1608
1600
  // Implementation added by @ProxyInputs decorator
1601
+ this.updateHref();
1609
1602
  }
1610
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1611
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsCardComponent, isStandalone: true, selector: "gds-card", inputs: { variant: "variant", padding: "padding", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", blockSize: "blockSize", minBlockSize: "minBlockSize", maxBlockSize: "maxBlockSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", paddingInline: "paddingInline", paddingBlock: "paddingBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", position: "position", transform: "transform", inset: "inset", display: "display", level: "level", color: "color", background: "background", border: "border", borderColor: "borderColor", borderWidth: "borderWidth", borderStyle: "borderStyle", borderRadius: "borderRadius", boxShadow: "boxShadow", opacity: "opacity", overflow: "overflow", boxSizing: "boxSizing", zIndex: "zIndex", font: "font", fontWeight: "fontWeight", textAlign: "textAlign", textWrap: "textWrap", overflowWrap: "overflowWrap", whiteSpace: "whiteSpace", gap: "gap", alignItems: "alignItems", alignContent: "alignContent", justifyContent: "justifyContent", justifyItems: "justifyItems", flexDirection: "flexDirection", flexWrap: "flexWrap", placeItems: "placeItems", placeContent: "placeContent", aspectRatio: "aspectRatio", cursor: "cursor", pointerEvents: "pointerEvents", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1603
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardLinkedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1604
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsCardLinkedComponent, isStandalone: true, selector: "gds-card-linked", inputs: { href: "href", target: "target", rel: "rel", download: "download", ping: "ping", variant: "variant", padding: "padding", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", blockSize: "blockSize", minBlockSize: "minBlockSize", maxBlockSize: "maxBlockSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", paddingInline: "paddingInline", paddingBlock: "paddingBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", position: "position", transform: "transform", inset: "inset", display: "display", level: "level", color: "color", background: "background", border: "border", borderColor: "borderColor", borderWidth: "borderWidth", borderStyle: "borderStyle", borderRadius: "borderRadius", boxShadow: "boxShadow", opacity: "opacity", overflow: "overflow", boxSizing: "boxSizing", zIndex: "zIndex", font: "font", fontWeight: "fontWeight", textAlign: "textAlign", textWrap: "textWrap", overflowWrap: "overflowWrap", whiteSpace: "whiteSpace", gap: "gap", alignItems: "alignItems", alignContent: "alignContent", justifyContent: "justifyContent", justifyItems: "justifyItems", flexDirection: "flexDirection", flexWrap: "flexWrap", placeItems: "placeItems", placeContent: "placeContent", aspectRatio: "aspectRatio", cursor: "cursor", pointerEvents: "pointerEvents", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1612
1605
  };
1613
- GdsCardComponent = __decorate([
1614
- ProxyInputs(['variant', 'padding', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'height', 'min-height', 'max-height', 'block-size', 'min-block-size', 'max-block-size', 'margin', 'margin-inline', 'margin-block', 'padding-inline', 'padding-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'position', 'transform', 'inset', 'display', 'level', 'color', 'background', 'border', 'border-color', 'border-width', 'border-style', 'border-radius', 'box-shadow', 'opacity', 'overflow', 'box-sizing', 'z-index', 'font', 'font-weight', 'text-align', 'text-wrap', 'overflow-wrap', 'white-space', 'gap', 'align-items', 'align-content', 'justify-content', 'justify-items', 'flex-direction', 'flex-wrap', 'place-items', 'place-content', 'aspect-ratio', 'cursor', 'pointer-events', 'syncFirstRender']),
1606
+ GdsCardLinkedComponent = __decorate([
1607
+ ProxyInputs(['href', 'target', 'rel', 'download', 'ping', 'variant', 'padding', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'height', 'min-height', 'max-height', 'block-size', 'min-block-size', 'max-block-size', 'margin', 'margin-inline', 'margin-block', 'padding-inline', 'padding-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'position', 'transform', 'inset', 'display', 'level', 'color', 'background', 'border', 'border-color', 'border-width', 'border-style', 'border-radius', 'box-shadow', 'opacity', 'overflow', 'box-sizing', 'z-index', 'font', 'font-weight', 'text-align', 'text-wrap', 'overflow-wrap', 'white-space', 'gap', 'align-items', 'align-content', 'justify-content', 'justify-items', 'flex-direction', 'flex-wrap', 'place-items', 'place-content', 'aspect-ratio', 'cursor', 'pointer-events', 'syncFirstRender']),
1615
1608
  __metadata("design:paramtypes", [])
1616
- ], GdsCardComponent);
1617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardComponent, decorators: [{
1609
+ ], GdsCardLinkedComponent);
1610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsCardLinkedComponent, decorators: [{
1618
1611
  type: Component,
1619
1612
  args: [{
1620
- selector: 'gds-card',
1613
+ selector: 'gds-card-linked',
1621
1614
  standalone: true,
1622
1615
  changeDetection: ChangeDetectionStrategy.OnPush,
1623
1616
  template: `<ng-content></ng-content>`
1624
1617
  }]
1625
- }], ctorParameters: () => [], propDecorators: { variant: [{
1618
+ }], ctorParameters: () => [], propDecorators: { href: [{
1619
+ type: Input
1620
+ }], target: [{
1621
+ type: Input
1622
+ }], rel: [{
1623
+ type: Input
1624
+ }], download: [{
1625
+ type: Input
1626
+ }], ping: [{
1627
+ type: Input
1628
+ }], variant: [{
1626
1629
  type: Input
1627
1630
  }], padding: [{
1628
1631
  type: Input
@@ -1752,11 +1755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
1752
1755
  }] } });
1753
1756
 
1754
1757
  /**
1755
- * GdsCardComponent - Angular wrapper for gds-card
1756
- * A container for content representing a single entity. e.g. a contact, article, or task.
1757
-
1758
- `gds-card` inherits all properties from `gds-div`, but comes with some predefined defaults
1759
- and a shortcut property for specifying different card variants.
1758
+ * GdsCardLinkedComponent - Angular wrapper for gds-card-linked
1759
+ *
1760
1760
  *
1761
1761
  * Auto-generated from Custom Elements Manifest
1762
1762
  */
@@ -4848,10 +4848,10 @@ let GdsPaginationComponent = class GdsPaginationComponent {
4848
4848
  // Implementation added by @ProxyInputs decorator
4849
4849
  }
4850
4850
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4851
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsPageChange: "gdsPageChange", gdsRowsChange: "gdsRowsChange" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4851
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsPaginationComponent, isStandalone: true, selector: "gds-pagination", inputs: { page: "page", rows: "rows", total: "total", options: "options", jump: ["jump", "jump", booleanAttribute], hideOptions: ["hideOptions", "hideOptions", booleanAttribute], simple: ["simple", "simple", 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", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsPageChange: "gdsPageChange", gdsRowsChange: "gdsRowsChange" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4852
4852
  };
4853
4853
  GdsPaginationComponent = __decorate([
4854
- 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', 'syncFirstRender']),
4854
+ ProxyInputs(['page', 'rows', 'total', 'options', 'jump', 'hideOptions', 'simple', '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', 'syncFirstRender']),
4855
4855
  __metadata("design:paramtypes", [])
4856
4856
  ], GdsPaginationComponent);
4857
4857
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsPaginationComponent, decorators: [{
@@ -4876,6 +4876,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
4876
4876
  }], hideOptions: [{
4877
4877
  type: Input,
4878
4878
  args: [{ transform: booleanAttribute }]
4879
+ }], simple: [{
4880
+ type: Input,
4881
+ args: [{ transform: booleanAttribute }]
4879
4882
  }], density: [{
4880
4883
  type: Input
4881
4884
  }], label: [{
@@ -5674,142 +5677,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
5674
5677
  * Auto-generated from Custom Elements Manifest
5675
5678
  */
5676
5679
 
5677
- /**
5678
- * Angular wrapper for the gds-switch web component
5679
- *
5680
- */
5681
- let GdsSwitchComponent = class GdsSwitchComponent extends GdsCheckboxFormControlBase {
5682
- constructor() {
5683
- super(...arguments);
5684
- /** Dispatched when the checked state changes. */
5685
- this.input = new EventEmitter();
5686
- /** Dispatched when the checked state changes. */
5687
- this.change = new EventEmitter();
5688
- }
5689
- get element() {
5690
- return this.elementRef.nativeElement;
5691
- }
5692
- ngOnInit() {
5693
- super.ngOnInit();
5694
- // Define the custom element
5695
- try {
5696
- GdsSwitch.define();
5697
- }
5698
- catch (e) {
5699
- // Component may not be available in this version of green-core
5700
- console.warn('Failed to define gds-switch:', e);
5701
- }
5702
- }
5703
- ngOnChanges(changes) {
5704
- // Implementation added by @ProxyInputs decorator
5705
- }
5706
- ngAfterViewInit() {
5707
- super.ngAfterViewInit();
5708
- }
5709
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5710
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsSwitchComponent, isStandalone: true, selector: "gds-switch", 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", checked: ["checked", "checked", booleanAttribute], controlPlacement: "controlPlacement", size: "size", justifyContent: "justifyContent", 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: { input: "input", change: "change" }, providers: [
5711
- {
5712
- provide: NG_VALUE_ACCESSOR,
5713
- useExisting: forwardRef(() => GdsSwitchComponent),
5714
- multi: true,
5715
- },
5716
- ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5717
- };
5718
- GdsSwitchComponent = __decorate([
5719
- ProxyInputs(['align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'margin', 'margin-inline', 'margin-block', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'checked', 'controlPlacement', 'size', 'justify-content', 'value', 'validator', 'required', 'errorMessage', 'invalid', 'label', 'name', 'disabled', 'syncFirstRender'])
5720
- ], GdsSwitchComponent);
5721
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSwitchComponent, decorators: [{
5722
- type: Component,
5723
- args: [{
5724
- selector: 'gds-switch',
5725
- standalone: true,
5726
- changeDetection: ChangeDetectionStrategy.OnPush,
5727
- template: `<ng-content></ng-content>`,
5728
- providers: [
5729
- {
5730
- provide: NG_VALUE_ACCESSOR,
5731
- useExisting: forwardRef(() => GdsSwitchComponent),
5732
- multi: true,
5733
- },
5734
- ]
5735
- }]
5736
- }], propDecorators: { alignSelf: [{
5737
- type: Input
5738
- }], justifySelf: [{
5739
- type: Input
5740
- }], placeSelf: [{
5741
- type: Input
5742
- }], gridColumn: [{
5743
- type: Input
5744
- }], gridRow: [{
5745
- type: Input
5746
- }], gridArea: [{
5747
- type: Input
5748
- }], flex: [{
5749
- type: Input
5750
- }], order: [{
5751
- type: Input
5752
- }], margin: [{
5753
- type: Input
5754
- }], marginInline: [{
5755
- type: Input
5756
- }], marginBlock: [{
5757
- type: Input
5758
- }], width: [{
5759
- type: Input
5760
- }], minWidth: [{
5761
- type: Input
5762
- }], maxWidth: [{
5763
- type: Input
5764
- }], inlineSize: [{
5765
- type: Input
5766
- }], minInlineSize: [{
5767
- type: Input
5768
- }], maxInlineSize: [{
5769
- type: Input
5770
- }], checked: [{
5771
- type: Input,
5772
- args: [{ transform: booleanAttribute }]
5773
- }], controlPlacement: [{
5774
- type: Input
5775
- }], size: [{
5776
- type: Input
5777
- }], justifyContent: [{
5778
- type: Input
5779
- }], value: [{
5780
- type: Input
5781
- }], validator: [{
5782
- type: Input
5783
- }], required: [{
5784
- type: Input,
5785
- args: [{ transform: booleanAttribute }]
5786
- }], errorMessage: [{
5787
- type: Input
5788
- }], invalid: [{
5789
- type: Input
5790
- }], label: [{
5791
- type: Input
5792
- }], name: [{
5793
- type: Input
5794
- }], disabled: [{
5795
- type: Input,
5796
- args: [{ transform: booleanAttribute }]
5797
- }], syncFirstRender: [{
5798
- type: Input,
5799
- args: [{ transform: booleanAttribute }]
5800
- }], input: [{
5801
- type: Output
5802
- }], change: [{
5803
- type: Output
5804
- }] } });
5805
-
5806
- /**
5807
- * GdsSwitchComponent - Angular wrapper for gds-switch
5808
- *
5809
- *
5810
- * Auto-generated from Custom Elements Manifest
5811
- */
5812
-
5813
5680
  /**
5814
5681
  * Angular wrapper for the gds-table web component
5815
5682
  *
@@ -5969,6 +5836,142 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
5969
5836
  * Auto-generated from Custom Elements Manifest
5970
5837
  */
5971
5838
 
5839
+ /**
5840
+ * Angular wrapper for the gds-switch web component
5841
+ *
5842
+ */
5843
+ let GdsSwitchComponent = class GdsSwitchComponent extends GdsCheckboxFormControlBase {
5844
+ constructor() {
5845
+ super(...arguments);
5846
+ /** Dispatched when the checked state changes. */
5847
+ this.input = new EventEmitter();
5848
+ /** Dispatched when the checked state changes. */
5849
+ this.change = new EventEmitter();
5850
+ }
5851
+ get element() {
5852
+ return this.elementRef.nativeElement;
5853
+ }
5854
+ ngOnInit() {
5855
+ super.ngOnInit();
5856
+ // Define the custom element
5857
+ try {
5858
+ GdsSwitch.define();
5859
+ }
5860
+ catch (e) {
5861
+ // Component may not be available in this version of green-core
5862
+ console.warn('Failed to define gds-switch:', e);
5863
+ }
5864
+ }
5865
+ ngOnChanges(changes) {
5866
+ // Implementation added by @ProxyInputs decorator
5867
+ }
5868
+ ngAfterViewInit() {
5869
+ super.ngAfterViewInit();
5870
+ }
5871
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5872
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsSwitchComponent, isStandalone: true, selector: "gds-switch", 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", checked: ["checked", "checked", booleanAttribute], controlPlacement: "controlPlacement", size: "size", justifyContent: "justifyContent", 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: { input: "input", change: "change" }, providers: [
5873
+ {
5874
+ provide: NG_VALUE_ACCESSOR,
5875
+ useExisting: forwardRef(() => GdsSwitchComponent),
5876
+ multi: true,
5877
+ },
5878
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5879
+ };
5880
+ GdsSwitchComponent = __decorate([
5881
+ ProxyInputs(['align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'margin', 'margin-inline', 'margin-block', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'checked', 'controlPlacement', 'size', 'justify-content', 'value', 'validator', 'required', 'errorMessage', 'invalid', 'label', 'name', 'disabled', 'syncFirstRender'])
5882
+ ], GdsSwitchComponent);
5883
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSwitchComponent, decorators: [{
5884
+ type: Component,
5885
+ args: [{
5886
+ selector: 'gds-switch',
5887
+ standalone: true,
5888
+ changeDetection: ChangeDetectionStrategy.OnPush,
5889
+ template: `<ng-content></ng-content>`,
5890
+ providers: [
5891
+ {
5892
+ provide: NG_VALUE_ACCESSOR,
5893
+ useExisting: forwardRef(() => GdsSwitchComponent),
5894
+ multi: true,
5895
+ },
5896
+ ]
5897
+ }]
5898
+ }], propDecorators: { alignSelf: [{
5899
+ type: Input
5900
+ }], justifySelf: [{
5901
+ type: Input
5902
+ }], placeSelf: [{
5903
+ type: Input
5904
+ }], gridColumn: [{
5905
+ type: Input
5906
+ }], gridRow: [{
5907
+ type: Input
5908
+ }], gridArea: [{
5909
+ type: Input
5910
+ }], flex: [{
5911
+ type: Input
5912
+ }], order: [{
5913
+ type: Input
5914
+ }], margin: [{
5915
+ type: Input
5916
+ }], marginInline: [{
5917
+ type: Input
5918
+ }], marginBlock: [{
5919
+ type: Input
5920
+ }], width: [{
5921
+ type: Input
5922
+ }], minWidth: [{
5923
+ type: Input
5924
+ }], maxWidth: [{
5925
+ type: Input
5926
+ }], inlineSize: [{
5927
+ type: Input
5928
+ }], minInlineSize: [{
5929
+ type: Input
5930
+ }], maxInlineSize: [{
5931
+ type: Input
5932
+ }], checked: [{
5933
+ type: Input,
5934
+ args: [{ transform: booleanAttribute }]
5935
+ }], controlPlacement: [{
5936
+ type: Input
5937
+ }], size: [{
5938
+ type: Input
5939
+ }], justifyContent: [{
5940
+ type: Input
5941
+ }], value: [{
5942
+ type: Input
5943
+ }], validator: [{
5944
+ type: Input
5945
+ }], required: [{
5946
+ type: Input,
5947
+ args: [{ transform: booleanAttribute }]
5948
+ }], errorMessage: [{
5949
+ type: Input
5950
+ }], invalid: [{
5951
+ type: Input
5952
+ }], label: [{
5953
+ type: Input
5954
+ }], name: [{
5955
+ type: Input
5956
+ }], disabled: [{
5957
+ type: Input,
5958
+ args: [{ transform: booleanAttribute }]
5959
+ }], syncFirstRender: [{
5960
+ type: Input,
5961
+ args: [{ transform: booleanAttribute }]
5962
+ }], input: [{
5963
+ type: Output
5964
+ }], change: [{
5965
+ type: Output
5966
+ }] } });
5967
+
5968
+ /**
5969
+ * GdsSwitchComponent - Angular wrapper for gds-switch
5970
+ *
5971
+ *
5972
+ * Auto-generated from Custom Elements Manifest
5973
+ */
5974
+
5972
5975
  /**
5973
5976
  * Angular wrapper for the gds-tabs web component
5974
5977
  *
@@ -7125,144 +7128,6 @@ Accessibility:
7125
7128
  * Auto-generated from Custom Elements Manifest
7126
7129
  */
7127
7130
 
7128
- /**
7129
- * Angular wrapper for the gds-breadcrumb web component
7130
- *
7131
- */
7132
- let GdsBreadcrumbComponent = class GdsBreadcrumbComponent {
7133
- get element() {
7134
- return this.elementRef.nativeElement;
7135
- }
7136
- constructor() {
7137
- this.elementRef = inject((ElementRef));
7138
- this.zone = inject(NgZone);
7139
- this.cdr = inject(ChangeDetectorRef);
7140
- this.renderer = inject(Renderer2);
7141
- this.router = inject(Router);
7142
- this.locationStrategy = inject(LocationStrategy);
7143
- this.destroyRef = inject(DestroyRef);
7144
- this.routerLink = inject(RouterLink, { optional: true, self: true });
7145
- this.routerLinkActive = inject(RouterLinkActive, { optional: true, self: true });
7146
- this.cdr.detach();
7147
- if (this.routerLink) {
7148
- // Prevent the browser from following the href on click – RouterLink
7149
- // handles navigation via Router.navigateByUrl() but only calls
7150
- // preventDefault() for native <a> elements.
7151
- this.preventNativeNavigation();
7152
- // Keep href in sync after client-side navigations (RouterLink only
7153
- // does this for native <a> elements).
7154
- const sub = this.router.events.subscribe((event) => {
7155
- if (event instanceof NavigationEnd)
7156
- this.updateHref();
7157
- });
7158
- this.destroyRef.onDestroy(() => sub.unsubscribe());
7159
- }
7160
- }
7161
- /**
7162
- * Prevent the browser from following the href when RouterLink handles
7163
- * navigation. RouterLink calls Router.navigateByUrl() for all elements,
7164
- * but only calls preventDefault() for native <a> tags. For custom
7165
- * elements we must do it ourselves, respecting modifier-key and
7166
- * target-attribute semantics so that ctrl-click / cmd-click / target=_blank
7167
- * still open a new tab.
7168
- * @internal
7169
- */
7170
- preventNativeNavigation() {
7171
- // Use capture phase so this runs before Angular's RouterLink host listener.
7172
- this.elementRef.nativeElement.addEventListener('click', (event) => {
7173
- if (!this.routerLink?.urlTree)
7174
- return;
7175
- // When modifier keys are pressed or target is not _self, stop
7176
- // RouterLink from navigating (it skips these checks for non-anchor
7177
- // elements) and let the browser handle the click natively (new tab etc.)
7178
- if (event.button !== 0 || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
7179
- event.stopImmediatePropagation();
7180
- return;
7181
- }
7182
- const target = this.elementRef.nativeElement.getAttribute('target');
7183
- if (target && target !== '_self') {
7184
- event.stopImmediatePropagation();
7185
- return;
7186
- }
7187
- // Normal left-click: let RouterLink handle navigation via
7188
- // Router.navigateByUrl(), but prevent the browser from also
7189
- // following the shadow DOM anchor's href.
7190
- event.preventDefault();
7191
- }, true);
7192
- }
7193
- /**
7194
- * Updates the href attribute from RouterLink using only public Angular APIs.
7195
- * @internal
7196
- */
7197
- updateHref() {
7198
- if (!this.routerLink)
7199
- return;
7200
- const urlTree = this.routerLink.urlTree;
7201
- const href = urlTree
7202
- ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(urlTree))
7203
- : null;
7204
- if (href) {
7205
- this.renderer.setAttribute(this.elementRef.nativeElement, 'href', href);
7206
- }
7207
- }
7208
- ngOnInit() {
7209
- // Define the custom element
7210
- try {
7211
- GdsBreadcrumb.define();
7212
- }
7213
- catch (e) {
7214
- // Component may not be available in this version of green-core
7215
- console.warn('Failed to define gds-breadcrumb:', e);
7216
- }
7217
- }
7218
- ngOnChanges(changes) {
7219
- // Implementation added by @ProxyInputs decorator
7220
- if (changes['routerLink']) {
7221
- this.updateHref();
7222
- }
7223
- }
7224
- ngAfterViewInit() {
7225
- // Implementation added by @ProxyInputs decorator
7226
- this.updateHref();
7227
- }
7228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7229
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsBreadcrumbComponent, isStandalone: true, selector: "gds-breadcrumb", inputs: { href: "href", target: "target", rel: "rel", label: "label", overflow: ["overflow", "overflow", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7230
- };
7231
- GdsBreadcrumbComponent = __decorate([
7232
- ProxyInputs(['href', 'target', 'rel', 'label', 'overflow', 'syncFirstRender']),
7233
- __metadata("design:paramtypes", [])
7234
- ], GdsBreadcrumbComponent);
7235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBreadcrumbComponent, decorators: [{
7236
- type: Component,
7237
- args: [{
7238
- selector: 'gds-breadcrumb',
7239
- standalone: true,
7240
- changeDetection: ChangeDetectionStrategy.OnPush,
7241
- template: `<ng-content></ng-content>`
7242
- }]
7243
- }], ctorParameters: () => [], propDecorators: { href: [{
7244
- type: Input
7245
- }], target: [{
7246
- type: Input
7247
- }], rel: [{
7248
- type: Input
7249
- }], label: [{
7250
- type: Input
7251
- }], overflow: [{
7252
- type: Input,
7253
- args: [{ transform: booleanAttribute }]
7254
- }], syncFirstRender: [{
7255
- type: Input,
7256
- args: [{ transform: booleanAttribute }]
7257
- }] } });
7258
-
7259
- /**
7260
- * GdsBreadcrumbComponent - Angular wrapper for gds-breadcrumb
7261
- *
7262
- *
7263
- * Auto-generated from Custom Elements Manifest
7264
- */
7265
-
7266
7131
  /**
7267
7132
  * Angular wrapper for the gds-checkbox-group web component
7268
7133
  *
@@ -7402,6 +7267,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
7402
7267
  * Auto-generated from Custom Elements Manifest
7403
7268
  */
7404
7269
 
7270
+ /**
7271
+ * Angular wrapper for the gds-breadcrumb web component
7272
+ *
7273
+ */
7274
+ let GdsBreadcrumbComponent = class GdsBreadcrumbComponent {
7275
+ get element() {
7276
+ return this.elementRef.nativeElement;
7277
+ }
7278
+ constructor() {
7279
+ this.elementRef = inject((ElementRef));
7280
+ this.zone = inject(NgZone);
7281
+ this.cdr = inject(ChangeDetectorRef);
7282
+ this.renderer = inject(Renderer2);
7283
+ this.router = inject(Router);
7284
+ this.locationStrategy = inject(LocationStrategy);
7285
+ this.destroyRef = inject(DestroyRef);
7286
+ this.routerLink = inject(RouterLink, { optional: true, self: true });
7287
+ this.routerLinkActive = inject(RouterLinkActive, { optional: true, self: true });
7288
+ this.cdr.detach();
7289
+ if (this.routerLink) {
7290
+ // Prevent the browser from following the href on click – RouterLink
7291
+ // handles navigation via Router.navigateByUrl() but only calls
7292
+ // preventDefault() for native <a> elements.
7293
+ this.preventNativeNavigation();
7294
+ // Keep href in sync after client-side navigations (RouterLink only
7295
+ // does this for native <a> elements).
7296
+ const sub = this.router.events.subscribe((event) => {
7297
+ if (event instanceof NavigationEnd)
7298
+ this.updateHref();
7299
+ });
7300
+ this.destroyRef.onDestroy(() => sub.unsubscribe());
7301
+ }
7302
+ }
7303
+ /**
7304
+ * Prevent the browser from following the href when RouterLink handles
7305
+ * navigation. RouterLink calls Router.navigateByUrl() for all elements,
7306
+ * but only calls preventDefault() for native <a> tags. For custom
7307
+ * elements we must do it ourselves, respecting modifier-key and
7308
+ * target-attribute semantics so that ctrl-click / cmd-click / target=_blank
7309
+ * still open a new tab.
7310
+ * @internal
7311
+ */
7312
+ preventNativeNavigation() {
7313
+ // Use capture phase so this runs before Angular's RouterLink host listener.
7314
+ this.elementRef.nativeElement.addEventListener('click', (event) => {
7315
+ if (!this.routerLink?.urlTree)
7316
+ return;
7317
+ // When modifier keys are pressed or target is not _self, stop
7318
+ // RouterLink from navigating (it skips these checks for non-anchor
7319
+ // elements) and let the browser handle the click natively (new tab etc.)
7320
+ if (event.button !== 0 || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
7321
+ event.stopImmediatePropagation();
7322
+ return;
7323
+ }
7324
+ const target = this.elementRef.nativeElement.getAttribute('target');
7325
+ if (target && target !== '_self') {
7326
+ event.stopImmediatePropagation();
7327
+ return;
7328
+ }
7329
+ // Normal left-click: let RouterLink handle navigation via
7330
+ // Router.navigateByUrl(), but prevent the browser from also
7331
+ // following the shadow DOM anchor's href.
7332
+ event.preventDefault();
7333
+ }, true);
7334
+ }
7335
+ /**
7336
+ * Updates the href attribute from RouterLink using only public Angular APIs.
7337
+ * @internal
7338
+ */
7339
+ updateHref() {
7340
+ if (!this.routerLink)
7341
+ return;
7342
+ const urlTree = this.routerLink.urlTree;
7343
+ const href = urlTree
7344
+ ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(urlTree))
7345
+ : null;
7346
+ if (href) {
7347
+ this.renderer.setAttribute(this.elementRef.nativeElement, 'href', href);
7348
+ }
7349
+ }
7350
+ ngOnInit() {
7351
+ // Define the custom element
7352
+ try {
7353
+ GdsBreadcrumb.define();
7354
+ }
7355
+ catch (e) {
7356
+ // Component may not be available in this version of green-core
7357
+ console.warn('Failed to define gds-breadcrumb:', e);
7358
+ }
7359
+ }
7360
+ ngOnChanges(changes) {
7361
+ // Implementation added by @ProxyInputs decorator
7362
+ if (changes['routerLink']) {
7363
+ this.updateHref();
7364
+ }
7365
+ }
7366
+ ngAfterViewInit() {
7367
+ // Implementation added by @ProxyInputs decorator
7368
+ this.updateHref();
7369
+ }
7370
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7371
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsBreadcrumbComponent, isStandalone: true, selector: "gds-breadcrumb", inputs: { href: "href", target: "target", rel: "rel", label: "label", overflow: ["overflow", "overflow", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7372
+ };
7373
+ GdsBreadcrumbComponent = __decorate([
7374
+ ProxyInputs(['href', 'target', 'rel', 'label', 'overflow', 'syncFirstRender']),
7375
+ __metadata("design:paramtypes", [])
7376
+ ], GdsBreadcrumbComponent);
7377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsBreadcrumbComponent, decorators: [{
7378
+ type: Component,
7379
+ args: [{
7380
+ selector: 'gds-breadcrumb',
7381
+ standalone: true,
7382
+ changeDetection: ChangeDetectionStrategy.OnPush,
7383
+ template: `<ng-content></ng-content>`
7384
+ }]
7385
+ }], ctorParameters: () => [], propDecorators: { href: [{
7386
+ type: Input
7387
+ }], target: [{
7388
+ type: Input
7389
+ }], rel: [{
7390
+ type: Input
7391
+ }], label: [{
7392
+ type: Input
7393
+ }], overflow: [{
7394
+ type: Input,
7395
+ args: [{ transform: booleanAttribute }]
7396
+ }], syncFirstRender: [{
7397
+ type: Input,
7398
+ args: [{ transform: booleanAttribute }]
7399
+ }] } });
7400
+
7401
+ /**
7402
+ * GdsBreadcrumbComponent - Angular wrapper for gds-breadcrumb
7403
+ *
7404
+ *
7405
+ * Auto-generated from Custom Elements Manifest
7406
+ */
7407
+
7405
7408
  /**
7406
7409
  * Angular wrapper for the gds-icon-details web component
7407
7410
  *
@@ -7908,79 +7911,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
7908
7911
  * Auto-generated from Custom Elements Manifest
7909
7912
  */
7910
7913
 
7911
- /**
7912
- * Angular wrapper for the gds-list-item web component
7913
- * `gds-list-item` is used as a child of `gds-list` to represent a single item in a list.
7914
- */
7915
- let GdsListItemComponent = class GdsListItemComponent {
7916
- get element() {
7917
- return this.elementRef.nativeElement;
7918
- }
7919
- constructor() {
7920
- this.elementRef = inject((ElementRef));
7921
- this.zone = inject(NgZone);
7922
- this.cdr = inject(ChangeDetectorRef);
7923
- this.cdr.detach();
7924
- }
7925
- ngOnInit() {
7926
- // Define the custom element
7927
- try {
7928
- GdsListItem.define();
7929
- }
7930
- catch (e) {
7931
- // Component may not be available in this version of green-core
7932
- console.warn('Failed to define gds-list-item:', e);
7933
- }
7934
- }
7935
- ngOnChanges(changes) {
7936
- // Implementation added by @ProxyInputs decorator
7937
- }
7938
- ngAfterViewInit() {
7939
- // Implementation added by @ProxyInputs decorator
7940
- }
7941
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7942
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsListItemComponent, isStandalone: true, selector: "gds-list-item", inputs: { 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 }); }
7943
- };
7944
- GdsListItemComponent = __decorate([
7945
- ProxyInputs(['align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
7946
- __metadata("design:paramtypes", [])
7947
- ], GdsListItemComponent);
7948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsListItemComponent, decorators: [{
7949
- type: Component,
7950
- args: [{
7951
- selector: 'gds-list-item',
7952
- standalone: true,
7953
- changeDetection: ChangeDetectionStrategy.OnPush,
7954
- template: `<ng-content></ng-content>`
7955
- }]
7956
- }], ctorParameters: () => [], propDecorators: { alignSelf: [{
7957
- type: Input
7958
- }], justifySelf: [{
7959
- type: Input
7960
- }], placeSelf: [{
7961
- type: Input
7962
- }], gridColumn: [{
7963
- type: Input
7964
- }], gridRow: [{
7965
- type: Input
7966
- }], gridArea: [{
7967
- type: Input
7968
- }], flex: [{
7969
- type: Input
7970
- }], order: [{
7971
- type: Input
7972
- }], syncFirstRender: [{
7973
- type: Input,
7974
- args: [{ transform: booleanAttribute }]
7975
- }] } });
7976
-
7977
- /**
7978
- * GdsListItemComponent - Angular wrapper for gds-list-item
7979
- * `gds-list-item` is used as a child of `gds-list` to represent a single item in a list.
7980
- *
7981
- * Auto-generated from Custom Elements Manifest
7982
- */
7983
-
7984
7914
  /**
7985
7915
  * Angular wrapper for the gds-formatted-number web component
7986
7916
  *
@@ -8176,86 +8106,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
8176
8106
  * Auto-generated from Custom Elements Manifest
8177
8107
  */
8178
8108
 
8179
- /**
8180
- * Angular wrapper for the gds-segment web component
8181
- *
8182
- */
8183
- let GdsSegmentComponent = class GdsSegmentComponent {
8184
- get element() {
8185
- return this.elementRef.nativeElement;
8186
- }
8187
- constructor() {
8188
- this.elementRef = inject((ElementRef));
8189
- this.zone = inject(NgZone);
8190
- this.cdr = inject(ChangeDetectorRef);
8191
- this.cdr.detach();
8192
- }
8193
- ngOnInit() {
8194
- // Define the custom element
8195
- try {
8196
- GdsSegment.define();
8197
- }
8198
- catch (e) {
8199
- // Component may not be available in this version of green-core
8200
- console.warn('Failed to define gds-segment:', e);
8201
- }
8202
- }
8203
- ngOnChanges(changes) {
8204
- // Implementation added by @ProxyInputs decorator
8205
- }
8206
- ngAfterViewInit() {
8207
- // Implementation added by @ProxyInputs decorator
8208
- }
8209
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSegmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8210
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsSegmentComponent, isStandalone: true, selector: "gds-segment", inputs: { selected: ["selected", "selected", booleanAttribute], value: "value", disabled: ["disabled", "disabled", booleanAttribute], _isVisible: ["_isVisible", "_isVisible", booleanAttribute], width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8211
- };
8212
- GdsSegmentComponent = __decorate([
8213
- ProxyInputs(['selected', 'value', 'disabled', '_isVisible', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'syncFirstRender']),
8214
- __metadata("design:paramtypes", [])
8215
- ], GdsSegmentComponent);
8216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSegmentComponent, decorators: [{
8217
- type: Component,
8218
- args: [{
8219
- selector: 'gds-segment',
8220
- standalone: true,
8221
- changeDetection: ChangeDetectionStrategy.OnPush,
8222
- template: `<ng-content></ng-content>`
8223
- }]
8224
- }], ctorParameters: () => [], propDecorators: { selected: [{
8225
- type: Input,
8226
- args: [{ transform: booleanAttribute }]
8227
- }], value: [{
8228
- type: Input
8229
- }], disabled: [{
8230
- type: Input,
8231
- args: [{ transform: booleanAttribute }]
8232
- }], _isVisible: [{
8233
- type: Input,
8234
- args: [{ transform: booleanAttribute }]
8235
- }], width: [{
8236
- type: Input
8237
- }], minWidth: [{
8238
- type: Input
8239
- }], maxWidth: [{
8240
- type: Input
8241
- }], inlineSize: [{
8242
- type: Input
8243
- }], minInlineSize: [{
8244
- type: Input
8245
- }], maxInlineSize: [{
8246
- type: Input
8247
- }], syncFirstRender: [{
8248
- type: Input,
8249
- args: [{ transform: booleanAttribute }]
8250
- }] } });
8251
-
8252
- /**
8253
- * GdsSegmentComponent - Angular wrapper for gds-segment
8254
- *
8255
- *
8256
- * Auto-generated from Custom Elements Manifest
8257
- */
8258
-
8259
8109
  /**
8260
8110
  * Angular wrapper for the gds-radio-group web component
8261
8111
  *
@@ -8400,6 +8250,159 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
8400
8250
  * Auto-generated from Custom Elements Manifest
8401
8251
  */
8402
8252
 
8253
+ /**
8254
+ * Angular wrapper for the gds-list-item web component
8255
+ * `gds-list-item` is used as a child of `gds-list` to represent a single item in a list.
8256
+ */
8257
+ let GdsListItemComponent = class GdsListItemComponent {
8258
+ get element() {
8259
+ return this.elementRef.nativeElement;
8260
+ }
8261
+ constructor() {
8262
+ this.elementRef = inject((ElementRef));
8263
+ this.zone = inject(NgZone);
8264
+ this.cdr = inject(ChangeDetectorRef);
8265
+ this.cdr.detach();
8266
+ }
8267
+ ngOnInit() {
8268
+ // Define the custom element
8269
+ try {
8270
+ GdsListItem.define();
8271
+ }
8272
+ catch (e) {
8273
+ // Component may not be available in this version of green-core
8274
+ console.warn('Failed to define gds-list-item:', e);
8275
+ }
8276
+ }
8277
+ ngOnChanges(changes) {
8278
+ // Implementation added by @ProxyInputs decorator
8279
+ }
8280
+ ngAfterViewInit() {
8281
+ // Implementation added by @ProxyInputs decorator
8282
+ }
8283
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8284
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsListItemComponent, isStandalone: true, selector: "gds-list-item", inputs: { 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 }); }
8285
+ };
8286
+ GdsListItemComponent = __decorate([
8287
+ ProxyInputs(['align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
8288
+ __metadata("design:paramtypes", [])
8289
+ ], GdsListItemComponent);
8290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsListItemComponent, decorators: [{
8291
+ type: Component,
8292
+ args: [{
8293
+ selector: 'gds-list-item',
8294
+ standalone: true,
8295
+ changeDetection: ChangeDetectionStrategy.OnPush,
8296
+ template: `<ng-content></ng-content>`
8297
+ }]
8298
+ }], ctorParameters: () => [], propDecorators: { alignSelf: [{
8299
+ type: Input
8300
+ }], justifySelf: [{
8301
+ type: Input
8302
+ }], placeSelf: [{
8303
+ type: Input
8304
+ }], gridColumn: [{
8305
+ type: Input
8306
+ }], gridRow: [{
8307
+ type: Input
8308
+ }], gridArea: [{
8309
+ type: Input
8310
+ }], flex: [{
8311
+ type: Input
8312
+ }], order: [{
8313
+ type: Input
8314
+ }], syncFirstRender: [{
8315
+ type: Input,
8316
+ args: [{ transform: booleanAttribute }]
8317
+ }] } });
8318
+
8319
+ /**
8320
+ * GdsListItemComponent - Angular wrapper for gds-list-item
8321
+ * `gds-list-item` is used as a child of `gds-list` to represent a single item in a list.
8322
+ *
8323
+ * Auto-generated from Custom Elements Manifest
8324
+ */
8325
+
8326
+ /**
8327
+ * Angular wrapper for the gds-segment web component
8328
+ *
8329
+ */
8330
+ let GdsSegmentComponent = class GdsSegmentComponent {
8331
+ get element() {
8332
+ return this.elementRef.nativeElement;
8333
+ }
8334
+ constructor() {
8335
+ this.elementRef = inject((ElementRef));
8336
+ this.zone = inject(NgZone);
8337
+ this.cdr = inject(ChangeDetectorRef);
8338
+ this.cdr.detach();
8339
+ }
8340
+ ngOnInit() {
8341
+ // Define the custom element
8342
+ try {
8343
+ GdsSegment.define();
8344
+ }
8345
+ catch (e) {
8346
+ // Component may not be available in this version of green-core
8347
+ console.warn('Failed to define gds-segment:', e);
8348
+ }
8349
+ }
8350
+ ngOnChanges(changes) {
8351
+ // Implementation added by @ProxyInputs decorator
8352
+ }
8353
+ ngAfterViewInit() {
8354
+ // Implementation added by @ProxyInputs decorator
8355
+ }
8356
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSegmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8357
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.9", type: GdsSegmentComponent, isStandalone: true, selector: "gds-segment", inputs: { selected: ["selected", "selected", booleanAttribute], value: "value", disabled: ["disabled", "disabled", booleanAttribute], _isVisible: ["_isVisible", "_isVisible", booleanAttribute], width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8358
+ };
8359
+ GdsSegmentComponent = __decorate([
8360
+ ProxyInputs(['selected', 'value', 'disabled', '_isVisible', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'syncFirstRender']),
8361
+ __metadata("design:paramtypes", [])
8362
+ ], GdsSegmentComponent);
8363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GdsSegmentComponent, decorators: [{
8364
+ type: Component,
8365
+ args: [{
8366
+ selector: 'gds-segment',
8367
+ standalone: true,
8368
+ changeDetection: ChangeDetectionStrategy.OnPush,
8369
+ template: `<ng-content></ng-content>`
8370
+ }]
8371
+ }], ctorParameters: () => [], propDecorators: { selected: [{
8372
+ type: Input,
8373
+ args: [{ transform: booleanAttribute }]
8374
+ }], value: [{
8375
+ type: Input
8376
+ }], disabled: [{
8377
+ type: Input,
8378
+ args: [{ transform: booleanAttribute }]
8379
+ }], _isVisible: [{
8380
+ type: Input,
8381
+ args: [{ transform: booleanAttribute }]
8382
+ }], width: [{
8383
+ type: Input
8384
+ }], minWidth: [{
8385
+ type: Input
8386
+ }], maxWidth: [{
8387
+ type: Input
8388
+ }], inlineSize: [{
8389
+ type: Input
8390
+ }], minInlineSize: [{
8391
+ type: Input
8392
+ }], maxInlineSize: [{
8393
+ type: Input
8394
+ }], syncFirstRender: [{
8395
+ type: Input,
8396
+ args: [{ transform: booleanAttribute }]
8397
+ }] } });
8398
+
8399
+ /**
8400
+ * GdsSegmentComponent - Angular wrapper for gds-segment
8401
+ *
8402
+ *
8403
+ * Auto-generated from Custom Elements Manifest
8404
+ */
8405
+
8403
8406
  /**
8404
8407
  * Angular wrapper for the gds-sensitive-account web component
8405
8408
  *
@@ -37942,14 +37945,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
37942
37945
  class GreenCoreNgModule {
37943
37946
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: GreenCoreNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
37944
37947
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: GreenCoreNgModule, imports: [GdsAlertComponent,
37945
- GdsBadgeComponent,
37946
37948
  GdsAvatarComponent,
37947
- GdsBreadcrumbsComponent,
37949
+ GdsBadgeComponent,
37948
37950
  GdsBlurComponent,
37951
+ GdsBreadcrumbsComponent,
37949
37952
  GdsButtonComponent,
37950
37953
  GdsCalendarComponent,
37951
- GdsCardLinkedComponent,
37952
37954
  GdsCardComponent,
37955
+ GdsCardLinkedComponent,
37953
37956
  GdsCheckboxComponent,
37954
37957
  GdsCoachmarkComponent,
37955
37958
  GdsContextMenuComponent,
@@ -37980,8 +37983,8 @@ class GreenCoreNgModule {
37980
37983
  GdsSelectComponent,
37981
37984
  GdsSignalComponent,
37982
37985
  GdsSpinnerComponent,
37983
- GdsSwitchComponent,
37984
37986
  GdsTableComponent,
37987
+ GdsSwitchComponent,
37985
37988
  GdsTabsComponent,
37986
37989
  GdsTextComponent,
37987
37990
  GdsTextareaComponent,
@@ -37990,16 +37993,16 @@ class GreenCoreNgModule {
37990
37993
  GdsCardPattern01Component,
37991
37994
  GdsListItemPattern01Component,
37992
37995
  GdsAvatarGroupComponent,
37993
- GdsBreadcrumbComponent,
37994
37996
  GdsCheckboxGroupComponent,
37997
+ GdsBreadcrumbComponent,
37995
37998
  GdsIconDetailsComponent,
37996
37999
  GdsFilterChipComponent,
37997
38000
  GdsFormattedAccountComponent,
37998
38001
  GdsFormattedDateComponent,
37999
- GdsListItemComponent,
38000
38002
  GdsFormattedNumberComponent,
38001
- GdsSegmentComponent,
38002
38003
  GdsRadioGroupComponent,
38004
+ GdsListItemComponent,
38005
+ GdsSegmentComponent,
38003
38006
  GdsSensitiveAccountComponent,
38004
38007
  GdsSensitiveDateComponent,
38005
38008
  GdsSensitiveNumberComponent,
@@ -38319,14 +38322,14 @@ class GreenCoreNgModule {
38319
38322
  GdsMenuItemComponent,
38320
38323
  GdsMenuHeadingComponent,
38321
38324
  GdsOptionComponent], exports: [GdsAlertComponent,
38322
- GdsBadgeComponent,
38323
38325
  GdsAvatarComponent,
38324
- GdsBreadcrumbsComponent,
38326
+ GdsBadgeComponent,
38325
38327
  GdsBlurComponent,
38328
+ GdsBreadcrumbsComponent,
38326
38329
  GdsButtonComponent,
38327
38330
  GdsCalendarComponent,
38328
- GdsCardLinkedComponent,
38329
38331
  GdsCardComponent,
38332
+ GdsCardLinkedComponent,
38330
38333
  GdsCheckboxComponent,
38331
38334
  GdsCoachmarkComponent,
38332
38335
  GdsContextMenuComponent,
@@ -38357,8 +38360,8 @@ class GreenCoreNgModule {
38357
38360
  GdsSelectComponent,
38358
38361
  GdsSignalComponent,
38359
38362
  GdsSpinnerComponent,
38360
- GdsSwitchComponent,
38361
38363
  GdsTableComponent,
38364
+ GdsSwitchComponent,
38362
38365
  GdsTabsComponent,
38363
38366
  GdsTextComponent,
38364
38367
  GdsTextareaComponent,
@@ -38367,16 +38370,16 @@ class GreenCoreNgModule {
38367
38370
  GdsCardPattern01Component,
38368
38371
  GdsListItemPattern01Component,
38369
38372
  GdsAvatarGroupComponent,
38370
- GdsBreadcrumbComponent,
38371
38373
  GdsCheckboxGroupComponent,
38374
+ GdsBreadcrumbComponent,
38372
38375
  GdsIconDetailsComponent,
38373
38376
  GdsFilterChipComponent,
38374
38377
  GdsFormattedAccountComponent,
38375
38378
  GdsFormattedDateComponent,
38376
- GdsListItemComponent,
38377
38379
  GdsFormattedNumberComponent,
38378
- GdsSegmentComponent,
38379
38380
  GdsRadioGroupComponent,
38381
+ GdsListItemComponent,
38382
+ GdsSegmentComponent,
38380
38383
  GdsSensitiveAccountComponent,
38381
38384
  GdsSensitiveDateComponent,
38382
38385
  GdsSensitiveNumberComponent,
@@ -38703,14 +38706,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
38703
38706
  args: [{
38704
38707
  imports: [
38705
38708
  GdsAlertComponent,
38706
- GdsBadgeComponent,
38707
38709
  GdsAvatarComponent,
38708
- GdsBreadcrumbsComponent,
38710
+ GdsBadgeComponent,
38709
38711
  GdsBlurComponent,
38712
+ GdsBreadcrumbsComponent,
38710
38713
  GdsButtonComponent,
38711
38714
  GdsCalendarComponent,
38712
- GdsCardLinkedComponent,
38713
38715
  GdsCardComponent,
38716
+ GdsCardLinkedComponent,
38714
38717
  GdsCheckboxComponent,
38715
38718
  GdsCoachmarkComponent,
38716
38719
  GdsContextMenuComponent,
@@ -38741,8 +38744,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
38741
38744
  GdsSelectComponent,
38742
38745
  GdsSignalComponent,
38743
38746
  GdsSpinnerComponent,
38744
- GdsSwitchComponent,
38745
38747
  GdsTableComponent,
38748
+ GdsSwitchComponent,
38746
38749
  GdsTabsComponent,
38747
38750
  GdsTextComponent,
38748
38751
  GdsTextareaComponent,
@@ -38751,16 +38754,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
38751
38754
  GdsCardPattern01Component,
38752
38755
  GdsListItemPattern01Component,
38753
38756
  GdsAvatarGroupComponent,
38754
- GdsBreadcrumbComponent,
38755
38757
  GdsCheckboxGroupComponent,
38758
+ GdsBreadcrumbComponent,
38756
38759
  GdsIconDetailsComponent,
38757
38760
  GdsFilterChipComponent,
38758
38761
  GdsFormattedAccountComponent,
38759
38762
  GdsFormattedDateComponent,
38760
- GdsListItemComponent,
38761
38763
  GdsFormattedNumberComponent,
38762
- GdsSegmentComponent,
38763
38764
  GdsRadioGroupComponent,
38765
+ GdsListItemComponent,
38766
+ GdsSegmentComponent,
38764
38767
  GdsSensitiveAccountComponent,
38765
38768
  GdsSensitiveDateComponent,
38766
38769
  GdsSensitiveNumberComponent,
@@ -39083,14 +39086,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
39083
39086
  ],
39084
39087
  exports: [
39085
39088
  GdsAlertComponent,
39086
- GdsBadgeComponent,
39087
39089
  GdsAvatarComponent,
39088
- GdsBreadcrumbsComponent,
39090
+ GdsBadgeComponent,
39089
39091
  GdsBlurComponent,
39092
+ GdsBreadcrumbsComponent,
39090
39093
  GdsButtonComponent,
39091
39094
  GdsCalendarComponent,
39092
- GdsCardLinkedComponent,
39093
39095
  GdsCardComponent,
39096
+ GdsCardLinkedComponent,
39094
39097
  GdsCheckboxComponent,
39095
39098
  GdsCoachmarkComponent,
39096
39099
  GdsContextMenuComponent,
@@ -39121,8 +39124,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
39121
39124
  GdsSelectComponent,
39122
39125
  GdsSignalComponent,
39123
39126
  GdsSpinnerComponent,
39124
- GdsSwitchComponent,
39125
39127
  GdsTableComponent,
39128
+ GdsSwitchComponent,
39126
39129
  GdsTabsComponent,
39127
39130
  GdsTextComponent,
39128
39131
  GdsTextareaComponent,
@@ -39131,16 +39134,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
39131
39134
  GdsCardPattern01Component,
39132
39135
  GdsListItemPattern01Component,
39133
39136
  GdsAvatarGroupComponent,
39134
- GdsBreadcrumbComponent,
39135
39137
  GdsCheckboxGroupComponent,
39138
+ GdsBreadcrumbComponent,
39136
39139
  GdsIconDetailsComponent,
39137
39140
  GdsFilterChipComponent,
39138
39141
  GdsFormattedAccountComponent,
39139
39142
  GdsFormattedDateComponent,
39140
- GdsListItemComponent,
39141
39143
  GdsFormattedNumberComponent,
39142
- GdsSegmentComponent,
39143
39144
  GdsRadioGroupComponent,
39145
+ GdsListItemComponent,
39146
+ GdsSegmentComponent,
39144
39147
  GdsSensitiveAccountComponent,
39145
39148
  GdsSensitiveDateComponent,
39146
39149
  GdsSensitiveNumberComponent,