{"version":3,"file":"synergy-design-system-angular-components-fieldset.mjs","sources":["../../components/fieldset/fieldset.component.ts","../../components/fieldset/synergy-design-system-angular-components-fieldset.ts"],"sourcesContent":["// ---------------------------------------------------------------------\n// 🔒 AUTOGENERATED @synergy-design-system/angular wrappers for @synergy-design-system/components\n// Please do not edit this file directly!\n// It will get recreated when running pnpm build.\n// ---------------------------------------------------------------------\nimport {\n  Component,\n  ElementRef,\n  NgZone,\n  Input,\n  Output,\n  EventEmitter,\n  AfterContentInit,\n} from '@angular/core';\nimport type SynFieldset from '@synergy-design-system/components/components/fieldset/fieldset.component.js';\n\nimport '@synergy-design-system/components/components/fieldset/fieldset.js';\n\n/**\n * @summary Fieldsets are used to group related elements in a form.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-fieldset--docs\n * @status stable\n * @since 3.18.0\n *\n * @slot - The fieldset's main content. Place form controls inside the fieldset to group them together.\n * @slot legend - Add a legend to the fieldset. This is displayed as the title of the fieldset. Alternatively, you can use the `legend` attribute.\n * @slot description - Add a description to the fieldset. This is displayed below the legend and provides additional information about the fieldset. Alternatively, you can use the `description` attribute.\n *\n * @csspart base - The component's base wrapper.\n * @csspart legend - The component's legend element.\n * @csspart description - The component's description element.\n * @csspart field-container - The container for the fieldset's fields.\n *\n * @cssproperty --item-gap - The gap between the fields in the fieldset. Defaults to `--syn-spacing-large`\n */\n@Component({\n  selector: 'syn-fieldset',\n  standalone: true,\n  template: '<ng-content></ng-content>',\n})\nexport class SynFieldsetComponent {\n  public nativeElement: SynFieldset;\n  private _ngZone: NgZone;\n\n  constructor(e: ElementRef, ngZone: NgZone) {\n    this.nativeElement = e.nativeElement;\n    this._ngZone = ngZone;\n  }\n\n  /**\n* The description for the fieldset.\n* This is displayed below the legend.\nIf not provided, the fieldset will not have a description.\n */\n  @Input()\n  set description(v: SynFieldset['description']) {\n    this._ngZone.runOutsideAngular(() => (this.nativeElement.description = v));\n  }\n  get description(): SynFieldset['description'] {\n    return this.nativeElement.description;\n  }\n\n  /**\n* The legend for the fieldset.\n* This is displayed as the title of the fieldset.\nIf not provided, the fieldset will not have a legend.\n */\n  @Input()\n  set legend(v: SynFieldset['legend']) {\n    this._ngZone.runOutsideAngular(() => (this.nativeElement.legend = v));\n  }\n  get legend(): SynFieldset['legend'] {\n    return this.nativeElement.legend;\n  }\n\n  /**\n* Whether the fieldset is disabled.\nWhen true, all form controls inside the fieldset are disabled\n */\n  @Input()\n  set disabled(v: '' | SynFieldset['disabled']) {\n    this._ngZone.runOutsideAngular(\n      () => (this.nativeElement.disabled = v === '' || v),\n    );\n  }\n  get disabled(): SynFieldset['disabled'] {\n    return this.nativeElement.disabled;\n  }\n\n  /**\n* Disables automatic grouped control layout syncing.\nWhen true, nested grouped controls keep their own layout configuration.\n */\n  @Input()\n  set disableAutoGroupLayout(v: '' | SynFieldset['disableAutoGroupLayout']) {\n    this._ngZone.runOutsideAngular(\n      () => (this.nativeElement.disableAutoGroupLayout = v === '' || v),\n    );\n  }\n  get disableAutoGroupLayout(): SynFieldset['disableAutoGroupLayout'] {\n    return this.nativeElement.disableAutoGroupLayout;\n  }\n\n  /**\n* The layout of the fieldset.\n* This determines how the fields are displayed.\nDefaults to `one-column`.\n\n- `one-column`: All fields are displayed in a single column.\n- `two-columns`: Fields are displayed in two columns.\n* Will automatically fall back to one-column if the fieldset is too narrow to display two columns.\n */\n  @Input()\n  set layout(v: SynFieldset['layout']) {\n    this._ngZone.runOutsideAngular(() => (this.nativeElement.layout = v));\n  }\n  get layout(): SynFieldset['layout'] {\n    return this.nativeElement.layout;\n  }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './fieldset.component';\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AAcA;;;;;;;;;;;;;;;;AAgBG;MAMU,oBAAoB,CAAA;AACxB,IAAA,aAAa;AACZ,IAAA,OAAO;IAEf,WAAA,CAAY,CAAa,EAAE,MAAc,EAAA;AACvC,QAAA,IAAI,CAAC,aAAa,GAA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