UNPKG

@synergy-design-system/angular

Version:
56 lines (52 loc) 2.46 kB
import * as i0 from '@angular/core'; import { Input, Component } from '@angular/core'; import '@synergy-design-system/components/components/divider/divider.js'; // --------------------------------------------------------------------- // 🔒 AUTOGENERATED @synergy-design-system/angular wrappers for @synergy-design-system/components // Please do not edit this file directly! // It will get recreated when running pnpm build. // --------------------------------------------------------------------- /** * @summary Dividers are used to visually separate or group elements. * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-divider--docs * @status stable * @since 2.0 * * @cssproperty --color - The color of the divider. * @cssproperty --width - The width of the divider. * @cssproperty --spacing - The spacing of the divider. */ class SynDividerComponent { nativeElement; _ngZone; constructor(e, ngZone) { this.nativeElement = e.nativeElement; this._ngZone = ngZone; } /** * Draws the divider in a vertical orientation. */ set vertical(v) { this._ngZone.runOutsideAngular(() => (this.nativeElement.vertical = v === '' || v)); } get vertical() { return this.nativeElement.vertical; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.1", ngImport: i0, type: SynDividerComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.1", type: SynDividerComponent, isStandalone: true, selector: "syn-divider", inputs: { vertical: "vertical" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.1", ngImport: i0, type: SynDividerComponent, decorators: [{ type: Component, args: [{ selector: 'syn-divider', standalone: true, template: '<ng-content></ng-content>', }] }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { vertical: [{ type: Input }] } }); /** * Generated bundle index. Do not edit. */ export { SynDividerComponent }; //# sourceMappingURL=synergy-design-system-angular-components-divider.mjs.map