@sebgroup/green-core-ng 3.9.0 → 3.10.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.
@@ -51,11 +51,11 @@ import { GdsTheme } from '@sebgroup/green-core/components/theme/theme.component.
51
51
  import { GdsVideo } from '@sebgroup/green-core/components/video/video.component.js';
52
52
  import { GdsCardPattern01 } from '@sebgroup/green-core/patterns/card-pattern-01/card-pattern-01.component.js';
53
53
  import { GdsAvatarGroup } from '@sebgroup/green-core/components/avatar/avatar-group/avatar-group.component.js';
54
- import { GdsCheckboxGroup } from '@sebgroup/green-core/components/checkbox/checkbox-group/checkbox-group.component.js';
55
54
  import { GdsBreadcrumb } from '@sebgroup/green-core/components/breadcrumbs/breadcrumb/breadcrumb.component.js';
55
+ import { GdsCheckboxGroup } from '@sebgroup/green-core/components/checkbox/checkbox-group/checkbox-group.component.js';
56
56
  import { GdsIconDetails } from '@sebgroup/green-core/components/details/details-icon/details-icon.component.js';
57
- import { GdsFormattedAccount } from '@sebgroup/green-core/components/formatted-text/account/formatted-account.component.js';
58
57
  import { GdsFilterChip } from '@sebgroup/green-core/components/filter-chips/filter-chip/filter-chip.component.js';
58
+ import { GdsFormattedAccount } from '@sebgroup/green-core/components/formatted-text/account/formatted-account.component.js';
59
59
  import { GdsFormattedDate } from '@sebgroup/green-core/components/formatted-text/date/formatted-date.component.js';
60
60
  import { GdsFormattedNumber } from '@sebgroup/green-core/components/formatted-text/number/formatted-number.component.js';
61
61
  import { GdsRadioGroup } from '@sebgroup/green-core/components/radio/radio-group/radio-group.component.js';
@@ -5687,6 +5687,8 @@ let GdsTableComponent = class GdsTableComponent {
5687
5687
  this.gdsTableDataError = new EventEmitter();
5688
5688
  /** Fired when row selection changes. */
5689
5689
  this.gdsTableSelection = new EventEmitter();
5690
+ /** Fired when row expansion changes. Detail: `{ index: number, row: T, expanded: boolean, expandedIndices: number[] }` */
5691
+ this.gdsTableExpandChange = new EventEmitter();
5690
5692
  this.cdr.detach();
5691
5693
  }
5692
5694
  ngOnInit() {
@@ -5717,6 +5719,9 @@ let GdsTableComponent = class GdsTableComponent {
5717
5719
  this.elementRef.nativeElement.addEventListener('gds-table-selection', (event) => {
5718
5720
  this.gdsTableSelection.emit(event);
5719
5721
  });
5722
+ this.elementRef.nativeElement.addEventListener('gds-table-expand-change', (event) => {
5723
+ this.gdsTableExpandChange.emit(event);
5724
+ });
5720
5725
  }
5721
5726
  ngOnChanges(changes) {
5722
5727
  // Implementation added by @ProxyInputs decorator
@@ -5725,10 +5730,10 @@ let GdsTableComponent = class GdsTableComponent {
5725
5730
  // Implementation added by @ProxyInputs decorator
5726
5731
  }
5727
5732
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5728
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsTableComponent, isStandalone: true, selector: "gds-table", inputs: { headline: "headline", headlineTag: "headlineTag", summary: "summary", searchLabel: "searchLabel", options: "options", page: "page", rows: "rows", columns: "columns", data: "data", density: "density", selectable: ["selectable", "selectable", booleanAttribute], disableSelectAll: ["disableSelectAll", "disableSelectAll", booleanAttribute], responsive: ["responsive", "responsive", booleanAttribute], plain: ["plain", "plain", booleanAttribute], searchable: ["searchable", "searchable", booleanAttribute], settings: ["settings", "settings", booleanAttribute], striped: ["striped", "striped", booleanAttribute], actions: "actions", nocache: ["nocache", "nocache", booleanAttribute], tfoot: "tfoot", dataLoadKey: "dataLoadKey", height: "height", variant: "variant", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsPageChange: "gdsPageChange", gdsRowsChange: "gdsRowsChange", gdsSortChange: "gdsSortChange", gdsTableDataLoaded: "gdsTableDataLoaded", gdsTableDataError: "gdsTableDataError", gdsTableSelection: "gdsTableSelection" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5733
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsTableComponent, isStandalone: true, selector: "gds-table", inputs: { headline: "headline", headlineTag: "headlineTag", summary: "summary", searchLabel: "searchLabel", options: "options", page: "page", rows: "rows", columns: "columns", data: "data", density: "density", selectable: ["selectable", "selectable", booleanAttribute], disableSelectAll: ["disableSelectAll", "disableSelectAll", booleanAttribute], responsive: ["responsive", "responsive", booleanAttribute], plain: ["plain", "plain", booleanAttribute], searchable: ["searchable", "searchable", booleanAttribute], settings: ["settings", "settings", booleanAttribute], striped: ["striped", "striped", booleanAttribute], nocache: ["nocache", "nocache", booleanAttribute], tfoot: "tfoot", dataLoadKey: "dataLoadKey", height: "height", variant: "variant", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsPageChange: "gdsPageChange", gdsRowsChange: "gdsRowsChange", gdsSortChange: "gdsSortChange", gdsTableDataLoaded: "gdsTableDataLoaded", gdsTableDataError: "gdsTableDataError", gdsTableSelection: "gdsTableSelection", gdsTableExpandChange: "gdsTableExpandChange" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5729
5734
  };
5730
5735
  GdsTableComponent = __decorate([
5731
- ProxyInputs(['headline', 'headlineTag', 'summary', 'searchLabel', 'options', 'page', 'rows', 'columns', 'data', 'density', 'selectable', 'disableSelectAll', 'responsive', 'plain', 'searchable', 'settings', 'striped', 'actions', 'nocache', 'tfoot', 'dataLoadKey', 'height', 'variant', 'syncFirstRender']),
5736
+ ProxyInputs(['headline', 'headlineTag', 'summary', 'searchLabel', 'options', 'page', 'rows', 'columns', 'data', 'density', 'selectable', 'disableSelectAll', 'responsive', 'plain', 'searchable', 'settings', 'striped', 'nocache', 'tfoot', 'dataLoadKey', 'height', 'variant', 'syncFirstRender']),
5732
5737
  __metadata("design:paramtypes", [])
5733
5738
  ], GdsTableComponent);
5734
5739
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsTableComponent, decorators: [{
@@ -5780,8 +5785,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
5780
5785
  }], striped: [{
5781
5786
  type: Input,
5782
5787
  args: [{ transform: booleanAttribute }]
5783
- }], actions: [{
5784
- type: Input
5785
5788
  }], nocache: [{
5786
5789
  type: Input,
5787
5790
  args: [{ transform: booleanAttribute }]
@@ -5808,6 +5811,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
5808
5811
  type: Output
5809
5812
  }], gdsTableSelection: [{
5810
5813
  type: Output
5814
+ }], gdsTableExpandChange: [{
5815
+ type: Output
5811
5816
  }] } });
5812
5817
 
5813
5818
  /**
@@ -6680,6 +6685,144 @@ Accessibility:
6680
6685
  * Auto-generated from Custom Elements Manifest
6681
6686
  */
6682
6687
 
6688
+ /**
6689
+ * Angular wrapper for the gds-breadcrumb web component
6690
+ *
6691
+ */
6692
+ let GdsBreadcrumbComponent = class GdsBreadcrumbComponent {
6693
+ get element() {
6694
+ return this.elementRef.nativeElement;
6695
+ }
6696
+ constructor() {
6697
+ this.elementRef = inject((ElementRef));
6698
+ this.zone = inject(NgZone);
6699
+ this.cdr = inject(ChangeDetectorRef);
6700
+ this.renderer = inject(Renderer2);
6701
+ this.router = inject(Router);
6702
+ this.locationStrategy = inject(LocationStrategy);
6703
+ this.destroyRef = inject(DestroyRef);
6704
+ this.routerLink = inject(RouterLink, { optional: true, self: true });
6705
+ this.routerLinkActive = inject(RouterLinkActive, { optional: true, self: true });
6706
+ this.cdr.detach();
6707
+ if (this.routerLink) {
6708
+ // Prevent the browser from following the href on click – RouterLink
6709
+ // handles navigation via Router.navigateByUrl() but only calls
6710
+ // preventDefault() for native <a> elements.
6711
+ this.preventNativeNavigation();
6712
+ // Keep href in sync after client-side navigations (RouterLink only
6713
+ // does this for native <a> elements).
6714
+ const sub = this.router.events.subscribe((event) => {
6715
+ if (event instanceof NavigationEnd)
6716
+ this.updateHref();
6717
+ });
6718
+ this.destroyRef.onDestroy(() => sub.unsubscribe());
6719
+ }
6720
+ }
6721
+ /**
6722
+ * Prevent the browser from following the href when RouterLink handles
6723
+ * navigation. RouterLink calls Router.navigateByUrl() for all elements,
6724
+ * but only calls preventDefault() for native <a> tags. For custom
6725
+ * elements we must do it ourselves, respecting modifier-key and
6726
+ * target-attribute semantics so that ctrl-click / cmd-click / target=_blank
6727
+ * still open a new tab.
6728
+ * @internal
6729
+ */
6730
+ preventNativeNavigation() {
6731
+ // Use capture phase so this runs before Angular's RouterLink host listener.
6732
+ this.elementRef.nativeElement.addEventListener('click', (event) => {
6733
+ if (!this.routerLink?.urlTree)
6734
+ return;
6735
+ // When modifier keys are pressed or target is not _self, stop
6736
+ // RouterLink from navigating (it skips these checks for non-anchor
6737
+ // elements) and let the browser handle the click natively (new tab etc.)
6738
+ if (event.button !== 0 || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
6739
+ event.stopImmediatePropagation();
6740
+ return;
6741
+ }
6742
+ const target = this.elementRef.nativeElement.getAttribute('target');
6743
+ if (target && target !== '_self') {
6744
+ event.stopImmediatePropagation();
6745
+ return;
6746
+ }
6747
+ // Normal left-click: let RouterLink handle navigation via
6748
+ // Router.navigateByUrl(), but prevent the browser from also
6749
+ // following the shadow DOM anchor's href.
6750
+ event.preventDefault();
6751
+ }, true);
6752
+ }
6753
+ /**
6754
+ * Updates the href attribute from RouterLink using only public Angular APIs.
6755
+ * @internal
6756
+ */
6757
+ updateHref() {
6758
+ if (!this.routerLink)
6759
+ return;
6760
+ const urlTree = this.routerLink.urlTree;
6761
+ const href = urlTree
6762
+ ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(urlTree))
6763
+ : null;
6764
+ if (href) {
6765
+ this.renderer.setAttribute(this.elementRef.nativeElement, 'href', href);
6766
+ }
6767
+ }
6768
+ ngOnInit() {
6769
+ // Define the custom element
6770
+ try {
6771
+ GdsBreadcrumb.define();
6772
+ }
6773
+ catch (e) {
6774
+ // Component may not be available in this version of green-core
6775
+ console.warn('Failed to define gds-breadcrumb:', e);
6776
+ }
6777
+ }
6778
+ ngOnChanges(changes) {
6779
+ // Implementation added by @ProxyInputs decorator
6780
+ if (changes['routerLink']) {
6781
+ this.updateHref();
6782
+ }
6783
+ }
6784
+ ngAfterViewInit() {
6785
+ // Implementation added by @ProxyInputs decorator
6786
+ this.updateHref();
6787
+ }
6788
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6789
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", 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 }); }
6790
+ };
6791
+ GdsBreadcrumbComponent = __decorate([
6792
+ ProxyInputs(['href', 'target', 'rel', 'label', 'overflow', 'syncFirstRender']),
6793
+ __metadata("design:paramtypes", [])
6794
+ ], GdsBreadcrumbComponent);
6795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBreadcrumbComponent, decorators: [{
6796
+ type: Component,
6797
+ args: [{
6798
+ selector: 'gds-breadcrumb',
6799
+ standalone: true,
6800
+ changeDetection: ChangeDetectionStrategy.OnPush,
6801
+ template: `<ng-content></ng-content>`
6802
+ }]
6803
+ }], ctorParameters: () => [], propDecorators: { href: [{
6804
+ type: Input
6805
+ }], target: [{
6806
+ type: Input
6807
+ }], rel: [{
6808
+ type: Input
6809
+ }], label: [{
6810
+ type: Input
6811
+ }], overflow: [{
6812
+ type: Input,
6813
+ args: [{ transform: booleanAttribute }]
6814
+ }], syncFirstRender: [{
6815
+ type: Input,
6816
+ args: [{ transform: booleanAttribute }]
6817
+ }] } });
6818
+
6819
+ /**
6820
+ * GdsBreadcrumbComponent - Angular wrapper for gds-breadcrumb
6821
+ *
6822
+ *
6823
+ * Auto-generated from Custom Elements Manifest
6824
+ */
6825
+
6683
6826
  /**
6684
6827
  * Angular wrapper for the gds-checkbox-group web component
6685
6828
  *
@@ -6809,10 +6952,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
6809
6952
  */
6810
6953
 
6811
6954
  /**
6812
- * Angular wrapper for the gds-breadcrumb web component
6955
+ * Angular wrapper for the gds-icon-details web component
6813
6956
  *
6814
6957
  */
6815
- let GdsBreadcrumbComponent = class GdsBreadcrumbComponent {
6958
+ let GdsIconDetailsComponent = class GdsIconDetailsComponent {
6816
6959
  get element() {
6817
6960
  return this.elementRef.nativeElement;
6818
6961
  }
@@ -6820,118 +6963,40 @@ let GdsBreadcrumbComponent = class GdsBreadcrumbComponent {
6820
6963
  this.elementRef = inject((ElementRef));
6821
6964
  this.zone = inject(NgZone);
6822
6965
  this.cdr = inject(ChangeDetectorRef);
6823
- this.renderer = inject(Renderer2);
6824
- this.router = inject(Router);
6825
- this.locationStrategy = inject(LocationStrategy);
6826
- this.destroyRef = inject(DestroyRef);
6827
- this.routerLink = inject(RouterLink, { optional: true, self: true });
6828
- this.routerLinkActive = inject(RouterLinkActive, { optional: true, self: true });
6829
6966
  this.cdr.detach();
6830
- if (this.routerLink) {
6831
- // Prevent the browser from following the href on click – RouterLink
6832
- // handles navigation via Router.navigateByUrl() but only calls
6833
- // preventDefault() for native <a> elements.
6834
- this.preventNativeNavigation();
6835
- // Keep href in sync after client-side navigations (RouterLink only
6836
- // does this for native <a> elements).
6837
- const sub = this.router.events.subscribe((event) => {
6838
- if (event instanceof NavigationEnd)
6839
- this.updateHref();
6840
- });
6841
- this.destroyRef.onDestroy(() => sub.unsubscribe());
6842
- }
6843
- }
6844
- /**
6845
- * Prevent the browser from following the href when RouterLink handles
6846
- * navigation. RouterLink calls Router.navigateByUrl() for all elements,
6847
- * but only calls preventDefault() for native <a> tags. For custom
6848
- * elements we must do it ourselves, respecting modifier-key and
6849
- * target-attribute semantics so that ctrl-click / cmd-click / target=_blank
6850
- * still open a new tab.
6851
- * @internal
6852
- */
6853
- preventNativeNavigation() {
6854
- // Use capture phase so this runs before Angular's RouterLink host listener.
6855
- this.elementRef.nativeElement.addEventListener('click', (event) => {
6856
- if (!this.routerLink?.urlTree)
6857
- return;
6858
- // When modifier keys are pressed or target is not _self, stop
6859
- // RouterLink from navigating (it skips these checks for non-anchor
6860
- // elements) and let the browser handle the click natively (new tab etc.)
6861
- if (event.button !== 0 || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
6862
- event.stopImmediatePropagation();
6863
- return;
6864
- }
6865
- const target = this.elementRef.nativeElement.getAttribute('target');
6866
- if (target && target !== '_self') {
6867
- event.stopImmediatePropagation();
6868
- return;
6869
- }
6870
- // Normal left-click: let RouterLink handle navigation via
6871
- // Router.navigateByUrl(), but prevent the browser from also
6872
- // following the shadow DOM anchor's href.
6873
- event.preventDefault();
6874
- }, true);
6875
- }
6876
- /**
6877
- * Updates the href attribute from RouterLink using only public Angular APIs.
6878
- * @internal
6879
- */
6880
- updateHref() {
6881
- if (!this.routerLink)
6882
- return;
6883
- const urlTree = this.routerLink.urlTree;
6884
- const href = urlTree
6885
- ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(urlTree))
6886
- : null;
6887
- if (href) {
6888
- this.renderer.setAttribute(this.elementRef.nativeElement, 'href', href);
6889
- }
6890
6967
  }
6891
6968
  ngOnInit() {
6892
6969
  // Define the custom element
6893
6970
  try {
6894
- GdsBreadcrumb.define();
6971
+ GdsIconDetails.define();
6895
6972
  }
6896
6973
  catch (e) {
6897
6974
  // Component may not be available in this version of green-core
6898
- console.warn('Failed to define gds-breadcrumb:', e);
6975
+ console.warn('Failed to define gds-icon-details:', e);
6899
6976
  }
6900
6977
  }
6901
6978
  ngOnChanges(changes) {
6902
6979
  // Implementation added by @ProxyInputs decorator
6903
- if (changes['routerLink']) {
6904
- this.updateHref();
6905
- }
6906
6980
  }
6907
6981
  ngAfterViewInit() {
6908
6982
  // Implementation added by @ProxyInputs decorator
6909
- this.updateHref();
6910
6983
  }
6911
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6912
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", 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 }); }
6984
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsIconDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6985
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsIconDetailsComponent, isStandalone: true, selector: "gds-icon-details", inputs: { open: ["open", "open", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6913
6986
  };
6914
- GdsBreadcrumbComponent = __decorate([
6915
- ProxyInputs(['href', 'target', 'rel', 'label', 'overflow', 'syncFirstRender']),
6987
+ GdsIconDetailsComponent = __decorate([
6988
+ ProxyInputs(['open', 'syncFirstRender']),
6916
6989
  __metadata("design:paramtypes", [])
6917
- ], GdsBreadcrumbComponent);
6918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBreadcrumbComponent, decorators: [{
6990
+ ], GdsIconDetailsComponent);
6991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsIconDetailsComponent, decorators: [{
6919
6992
  type: Component,
6920
6993
  args: [{
6921
- selector: 'gds-breadcrumb',
6994
+ selector: 'gds-icon-details',
6922
6995
  standalone: true,
6923
6996
  changeDetection: ChangeDetectionStrategy.OnPush,
6924
6997
  template: `<ng-content></ng-content>`
6925
6998
  }]
6926
- }], ctorParameters: () => [], propDecorators: { href: [{
6927
- type: Input
6928
- }], target: [{
6929
- type: Input
6930
- }], rel: [{
6931
- type: Input
6932
- }], label: [{
6933
- type: Input
6934
- }], overflow: [{
6999
+ }], ctorParameters: () => [], propDecorators: { open: [{
6935
7000
  type: Input,
6936
7001
  args: [{ transform: booleanAttribute }]
6937
7002
  }], syncFirstRender: [{
@@ -6940,17 +7005,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
6940
7005
  }] } });
6941
7006
 
6942
7007
  /**
6943
- * GdsBreadcrumbComponent - Angular wrapper for gds-breadcrumb
7008
+ * GdsIconDetailsComponent - Angular wrapper for gds-icon-details
6944
7009
  *
6945
7010
  *
6946
7011
  * Auto-generated from Custom Elements Manifest
6947
7012
  */
6948
7013
 
6949
7014
  /**
6950
- * Angular wrapper for the gds-icon-details web component
7015
+ * Angular wrapper for the gds-filter-chip web component
6951
7016
  *
6952
7017
  */
6953
- let GdsIconDetailsComponent = class GdsIconDetailsComponent {
7018
+ let GdsFilterChipComponent = class GdsFilterChipComponent {
6954
7019
  get element() {
6955
7020
  return this.elementRef.nativeElement;
6956
7021
  }
@@ -6963,11 +7028,11 @@ let GdsIconDetailsComponent = class GdsIconDetailsComponent {
6963
7028
  ngOnInit() {
6964
7029
  // Define the custom element
6965
7030
  try {
6966
- GdsIconDetails.define();
7031
+ GdsFilterChip.define();
6967
7032
  }
6968
7033
  catch (e) {
6969
7034
  // Component may not be available in this version of green-core
6970
- console.warn('Failed to define gds-icon-details:', e);
7035
+ console.warn('Failed to define gds-filter-chip:', e);
6971
7036
  }
6972
7037
  }
6973
7038
  ngOnChanges(changes) {
@@ -6976,31 +7041,35 @@ let GdsIconDetailsComponent = class GdsIconDetailsComponent {
6976
7041
  ngAfterViewInit() {
6977
7042
  // Implementation added by @ProxyInputs decorator
6978
7043
  }
6979
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsIconDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6980
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsIconDetailsComponent, isStandalone: true, selector: "gds-icon-details", inputs: { open: ["open", "open", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7044
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7045
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsFilterChipComponent, isStandalone: true, selector: "gds-filter-chip", inputs: { selected: ["selected", "selected", booleanAttribute], value: "value", size: "size", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6981
7046
  };
6982
- GdsIconDetailsComponent = __decorate([
6983
- ProxyInputs(['open', 'syncFirstRender']),
7047
+ GdsFilterChipComponent = __decorate([
7048
+ ProxyInputs(['selected', 'value', 'size', 'syncFirstRender']),
6984
7049
  __metadata("design:paramtypes", [])
6985
- ], GdsIconDetailsComponent);
6986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsIconDetailsComponent, decorators: [{
7050
+ ], GdsFilterChipComponent);
7051
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, decorators: [{
6987
7052
  type: Component,
6988
7053
  args: [{
6989
- selector: 'gds-icon-details',
7054
+ selector: 'gds-filter-chip',
6990
7055
  standalone: true,
6991
7056
  changeDetection: ChangeDetectionStrategy.OnPush,
6992
7057
  template: `<ng-content></ng-content>`
6993
7058
  }]
6994
- }], ctorParameters: () => [], propDecorators: { open: [{
7059
+ }], ctorParameters: () => [], propDecorators: { selected: [{
6995
7060
  type: Input,
6996
7061
  args: [{ transform: booleanAttribute }]
7062
+ }], value: [{
7063
+ type: Input
7064
+ }], size: [{
7065
+ type: Input
6997
7066
  }], syncFirstRender: [{
6998
7067
  type: Input,
6999
7068
  args: [{ transform: booleanAttribute }]
7000
7069
  }] } });
7001
7070
 
7002
7071
  /**
7003
- * GdsIconDetailsComponent - Angular wrapper for gds-icon-details
7072
+ * GdsFilterChipComponent - Angular wrapper for gds-filter-chip
7004
7073
  *
7005
7074
  *
7006
7075
  * Auto-generated from Custom Elements Manifest
@@ -7195,70 +7264,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
7195
7264
  * Auto-generated from Custom Elements Manifest
7196
7265
  */
7197
7266
 
7198
- /**
7199
- * Angular wrapper for the gds-filter-chip web component
7200
- *
7201
- */
7202
- let GdsFilterChipComponent = class GdsFilterChipComponent {
7203
- get element() {
7204
- return this.elementRef.nativeElement;
7205
- }
7206
- constructor() {
7207
- this.elementRef = inject((ElementRef));
7208
- this.zone = inject(NgZone);
7209
- this.cdr = inject(ChangeDetectorRef);
7210
- this.cdr.detach();
7211
- }
7212
- ngOnInit() {
7213
- // Define the custom element
7214
- try {
7215
- GdsFilterChip.define();
7216
- }
7217
- catch (e) {
7218
- // Component may not be available in this version of green-core
7219
- console.warn('Failed to define gds-filter-chip:', e);
7220
- }
7221
- }
7222
- ngOnChanges(changes) {
7223
- // Implementation added by @ProxyInputs decorator
7224
- }
7225
- ngAfterViewInit() {
7226
- // Implementation added by @ProxyInputs decorator
7227
- }
7228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7229
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsFilterChipComponent, isStandalone: true, selector: "gds-filter-chip", inputs: { selected: ["selected", "selected", booleanAttribute], value: "value", size: "size", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7230
- };
7231
- GdsFilterChipComponent = __decorate([
7232
- ProxyInputs(['selected', 'value', 'size', 'syncFirstRender']),
7233
- __metadata("design:paramtypes", [])
7234
- ], GdsFilterChipComponent);
7235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, decorators: [{
7236
- type: Component,
7237
- args: [{
7238
- selector: 'gds-filter-chip',
7239
- standalone: true,
7240
- changeDetection: ChangeDetectionStrategy.OnPush,
7241
- template: `<ng-content></ng-content>`
7242
- }]
7243
- }], ctorParameters: () => [], propDecorators: { selected: [{
7244
- type: Input,
7245
- args: [{ transform: booleanAttribute }]
7246
- }], value: [{
7247
- type: Input
7248
- }], size: [{
7249
- type: Input
7250
- }], syncFirstRender: [{
7251
- type: Input,
7252
- args: [{ transform: booleanAttribute }]
7253
- }] } });
7254
-
7255
- /**
7256
- * GdsFilterChipComponent - Angular wrapper for gds-filter-chip
7257
- *
7258
- *
7259
- * Auto-generated from Custom Elements Manifest
7260
- */
7261
-
7262
7267
  /**
7263
7268
  * Angular wrapper for the gds-formatted-date web component
7264
7269
  *
@@ -37229,11 +37234,11 @@ class GreenCoreNgModule {
37229
37234
  GdsVideoComponent,
37230
37235
  GdsCardPattern01Component,
37231
37236
  GdsAvatarGroupComponent,
37232
- GdsCheckboxGroupComponent,
37233
37237
  GdsBreadcrumbComponent,
37238
+ GdsCheckboxGroupComponent,
37234
37239
  GdsIconDetailsComponent,
37235
- GdsFormattedAccountComponent,
37236
37240
  GdsFilterChipComponent,
37241
+ GdsFormattedAccountComponent,
37237
37242
  GdsFormattedDateComponent,
37238
37243
  GdsFormattedNumberComponent,
37239
37244
  GdsRadioGroupComponent,
@@ -37600,11 +37605,11 @@ class GreenCoreNgModule {
37600
37605
  GdsVideoComponent,
37601
37606
  GdsCardPattern01Component,
37602
37607
  GdsAvatarGroupComponent,
37603
- GdsCheckboxGroupComponent,
37604
37608
  GdsBreadcrumbComponent,
37609
+ GdsCheckboxGroupComponent,
37605
37610
  GdsIconDetailsComponent,
37606
- GdsFormattedAccountComponent,
37607
37611
  GdsFilterChipComponent,
37612
+ GdsFormattedAccountComponent,
37608
37613
  GdsFormattedDateComponent,
37609
37614
  GdsFormattedNumberComponent,
37610
37615
  GdsRadioGroupComponent,
@@ -37978,11 +37983,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
37978
37983
  GdsVideoComponent,
37979
37984
  GdsCardPattern01Component,
37980
37985
  GdsAvatarGroupComponent,
37981
- GdsCheckboxGroupComponent,
37982
37986
  GdsBreadcrumbComponent,
37987
+ GdsCheckboxGroupComponent,
37983
37988
  GdsIconDetailsComponent,
37984
- GdsFormattedAccountComponent,
37985
37989
  GdsFilterChipComponent,
37990
+ GdsFormattedAccountComponent,
37986
37991
  GdsFormattedDateComponent,
37987
37992
  GdsFormattedNumberComponent,
37988
37993
  GdsRadioGroupComponent,
@@ -38352,11 +38357,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
38352
38357
  GdsVideoComponent,
38353
38358
  GdsCardPattern01Component,
38354
38359
  GdsAvatarGroupComponent,
38355
- GdsCheckboxGroupComponent,
38356
38360
  GdsBreadcrumbComponent,
38361
+ GdsCheckboxGroupComponent,
38357
38362
  GdsIconDetailsComponent,
38358
- GdsFormattedAccountComponent,
38359
38363
  GdsFilterChipComponent,
38364
+ GdsFormattedAccountComponent,
38360
38365
  GdsFormattedDateComponent,
38361
38366
  GdsFormattedNumberComponent,
38362
38367
  GdsRadioGroupComponent,