{"version":3,"file":"allianz-ng-aquila-button.mjs","names":["tabIndexAttribute"],"sources":["../../../projects/ng-aquila/src/button/button-base.ts","../../../projects/ng-aquila/src/button/button.component.ts","../../../projects/ng-aquila/src/button/button.html","../../../projects/ng-aquila/src/button/icon-button.component.ts","../../../projects/ng-aquila/src/button/button.html","../../../projects/ng-aquila/src/button/plain-button.component.ts","../../../projects/ng-aquila/src/button/plain-button.component.html","../../../projects/ng-aquila/src/button/button.module.ts"],"sourcesContent":["import { ALLIANZ_ONE } from '@allianz/ng-aquila/config/allianz-one/token';\nimport { injectSurface } from '@allianz/ng-aquila/surface';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n  AfterViewInit,\n  booleanAttribute,\n  computed,\n  DestroyRef,\n  Directive,\n  ElementRef,\n  inject,\n  input,\n  NgZone,\n  numberAttribute,\n  Renderer2,\n  signal,\n} from '@angular/core';\n\n/** Type of a button. */\nexport type NxButtonType = 'primary' | 'secondary' | 'tertiary' | 'cta' | 'emphasis' | 'attention';\n\n/* Size of a button. */\nexport type NxButtonSize = 'small' | 'small-medium' | 'medium' | 'large' | 's' | 'm';\n\n/*  Color scheme of a button. */\nexport type NxButtonColorScheme = 'default' | 'accent-attention' | 'on-accent-attention';\n\n/**\n * Accent color of a button. Only takes effect when `colorScheme` is\n * `accent-attention` or `on-accent-attention`. Only relevant for the A1 Design.\n */\nexport type NxButtonAccentColor =\n  'yellow' | 'orange' | 'red' | 'purple' | 'aqua' | 'blue' | 'teal' | 'green' | 'gray';\n\nconst DEFAULT_SIZE: NxButtonSize = 'medium';\nconst DEFAULT_TYPE: NxButtonType = 'primary';\nconst DEFAULT_COLOR_SCHEME: NxButtonColorScheme = 'default';\nconst DEFAULT_ACCENT_COLOR: NxButtonAccentColor = 'blue';\n\n/** Maps the A1 shirt-size aliases onto the existing size steps. */\nfunction normalizeSize(size: NxButtonSize): NxButtonSize {\n  if (size === 'm') {\n    return 'medium';\n  }\n  if (size === 's') {\n    return 'small';\n  }\n  return size;\n}\n\n/** @docs-private */\n@Directive({\n  host: {\n    '[class.nx-button--primary]': 'appearance === \"primary\"',\n    '[class.nx-button--secondary]': 'appearance === \"secondary\"',\n    '[class.nx-button--tertiary]': 'appearance === \"tertiary\"',\n    '[class.nx-button--cta]': 'appearance === \"cta\"',\n    '[class.nx-button--emphasis]': 'appearance === \"emphasis\"',\n    '[class.nx-button--attention]': 'appearance === \"attention\"',\n\n    '[class.nx-button--small]': 'size === \"small\"',\n    '[class.nx-button--small-medium]': 'size === \"small-medium\"',\n    '[class.nx-button--medium]': 'size === \"medium\"',\n    '[class.nx-button--large]': 'size === \"large\"',\n\n    '[class.nx-button--accent-attention]': 'colorScheme() === \"accent-attention\"',\n    '[class.nx-button--on-accent-attention]': 'colorScheme() === \"on-accent-attention\"',\n    '[attr.data-accent-color]': 'accentColor',\n\n    '[class.nx-button--danger]': 'danger',\n    '[class.nx-button--negative]': 'negative',\n    '[class.nx-button--block]': 'block',\n\n    '[class.nx-button--loading]': 'loading()',\n    '[class.nx-button--loading-disabled]': 'loading() && _isA1()',\n    '[class.nx-button--active]': '_active()',\n    '[attr.disabled]': 'disabled() || null',\n    '[attr.aria-disabled]': '_ariaDisabled',\n    '[attr.tabindex]': '_tabIndex',\n  },\n})\nexport class NxButtonBase implements AfterViewInit {\n  private readonly _elementRef = inject(ElementRef);\n  private readonly _focusMonitor = inject(FocusMonitor);\n  private readonly _destroyRef = inject(DestroyRef);\n  private readonly _renderer = inject(Renderer2);\n  private readonly _ngZone = inject(NgZone);\n  private readonly _allianzOneOptions = inject(ALLIANZ_ONE, { optional: true });\n  protected readonly _isA1 = computed(() => this._allianzOneOptions?.enabled?.() ?? false);\n\n  private readonly _isAnchor = this._elementRef.nativeElement.tagName === 'A';\n  protected get _ariaDisabled() {\n    return (this._isAnchor && this.disabled()) || this.loading() ? true : null;\n  }\n  protected get _tabIndex() {\n    if (this._isAnchor && this.disabled()) {\n      return -1;\n    }\n    return this.tabIndex() ?? this._tabindexAttribute() ?? undefined;\n  }\n\n  protected get appearance() {\n    return this.properties().appearance;\n  }\n\n  get type() {\n    return this.properties().appearance;\n  }\n\n  sizeInput = input<NxButtonSize | undefined>(undefined, { alias: 'size' });\n  get size() {\n    return normalizeSize(this.sizeInput() ?? this.properties().size);\n  }\n\n  /**\n   * The color scheme of the button. Only relevant for the A1 Design.\n   *\n   * When not set, an `accent-attention` surface resolves it to\n   * `on-accent-attention` (see `nxSurface`). The `attention` surface is handled\n   * through `negative` instead, since the button has no brand palette.\n   */\n  readonly colorSchemeInput = input<NxButtonColorScheme | undefined>(undefined, {\n    alias: 'colorScheme',\n  });\n\n  /** Resolved color scheme: an explicit input wins, then the surface, then 'default'. */\n  readonly colorScheme = computed<NxButtonColorScheme>(\n    () =>\n      this.colorSchemeInput() ??\n      (this._surface().surface === 'accent-attention'\n        ? 'on-accent-attention'\n        : DEFAULT_COLOR_SCHEME),\n  );\n\n  /**\n   * The accent color of the button. Only takes effect together with an\n   * `accent-attention` or `on-accent-attention` color scheme. Only relevant for\n   * the A1 Design.\n   */\n  readonly accentColorInput = input<NxButtonAccentColor | undefined>(undefined, {\n    alias: 'accentColor',\n  });\n\n  get accentColor(): NxButtonAccentColor | null {\n    if (this.colorScheme() === 'default') {\n      return null;\n    }\n    // On an accent surface the hue comes from the surface, so the button matches the\n    // background it was placed on rather than defaulting to blue.\n    return this.accentColorInput() ?? this._surfaceAccentColor() ?? DEFAULT_ACCENT_COLOR;\n  }\n\n  /**\n   * Whether the button performs a critical action.\n   *\n   * Formerly called 'danger'\n   */\n  criticalInput = input<boolean | undefined, BooleanInput>(undefined, {\n    transform: booleanAttribute,\n    alias: 'critical',\n  });\n  protected get critical() {\n    return this.criticalInput();\n  }\n\n  get danger() {\n    return this.critical ?? this.properties().danger;\n  }\n\n  negativeInput = input<boolean, BooleanInput>(undefined, {\n    transform: booleanAttribute,\n    alias: 'negative',\n  });\n  /**\n   * Whether the button uses the inverse colors, for use on dark or colored\n   * backgrounds. This is the A1 Design name for `negative`; the two are\n   * interchangeable.\n   */\n  inverseInput = input<boolean, BooleanInput>(undefined, {\n    transform: booleanAttribute,\n    alias: 'inverse',\n  });\n  private readonly _surface = injectSurface();\n\n  private readonly _surfaceAccentColor = computed(() => {\n    const resolved = this._surface();\n    return resolved.surface === 'accent-attention' ? resolved.accentColor : undefined;\n  });\n\n  get negative() {\n    return (\n      this.negativeInput() ??\n      this.inverseInput() ??\n      // `|| undefined` so that an absent `negative` in the legacy class string does not count as an\n      // explicit `false` and shadow the surface below.\n      (this.properties().negative || undefined) ??\n      this._surface().surface === 'attention'\n    );\n  }\n\n  blockInput = input<boolean, BooleanInput>(undefined, {\n    transform: booleanAttribute,\n    alias: 'block',\n  });\n  get block() {\n    return this.blockInput() ?? this.properties().block;\n  }\n\n  readonly disabled = input<boolean, BooleanInput>(false, {\n    transform: booleanAttribute,\n  });\n\n  readonly tabIndex = input<number | undefined, NumberInput>(undefined, {\n    transform: tabIndexAttribute,\n  });\n  /**\n   * Use 'tabindex' to handle existing usages of `[tabindex]` bindings on button elements\n   * @docs-private\n   */\n  readonly _tabindexAttribute = input<number | undefined, NumberInput>(undefined, {\n    transform: tabIndexAttribute,\n    alias: 'tabindex',\n  });\n\n  /** Whether the button should be in a loading state. */\n  readonly loading = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n  protected get spinnerNegative() {\n    const appearance = this.appearance;\n    const negative = this.negative;\n    // A1 shows loading buttons in their disabled colors, so the spinner follows the surface, not the fill.\n    if (this._isA1()) {\n      return negative || (this.colorScheme() === 'on-accent-attention' && appearance !== 'primary');\n    }\n    if (appearance === 'emphasis' || appearance === 'cta' || appearance === 'attention') {\n      return true;\n    }\n    const isFilled = appearance === 'primary';\n    return negative ? !isFilled : isFilled;\n  }\n\n  set classNames(v: NxButtonType | '' | ({} & string) | undefined) {\n    this._classNames.set(v);\n  }\n  get classNames() {\n    return this._classNames();\n  }\n\n  _classNames = signal<NxButtonType | '' | ({} & string) | undefined>('');\n\n  protected readonly properties = computed<{\n    appearance: NxButtonType;\n    size: NxButtonSize;\n    danger: boolean;\n    negative: boolean;\n    block: boolean;\n  }>(() => {\n    const classNames = this.classNames || '';\n\n    const type =\n      classNames.match(/primary|secondary|tertiary|cta|emphasis|attention/)?.[0] ?? DEFAULT_TYPE;\n\n    const size = (classNames.match(/small-medium|small|medium|large/)?.[0] ??\n      DEFAULT_SIZE) as NxButtonSize;\n\n    return {\n      appearance: type as NxButtonType,\n      size: size as NxButtonSize,\n      danger: classNames.includes('danger'),\n      negative: classNames.includes('negative'),\n      block: classNames.includes('block'),\n    };\n  });\n\n  /**\n   * Getter used for the modal component as a quickfix\n   * since button got changed from directive to component the reference used by the ngOpenModelOnClick directive\n   * for nxButtons is a reference to component instance instead of an element reference. As a workaround we need a\n   * way to reach the elementRef of the component until the modal gets refactored.\n   * @docs-private\n   */\n  get elementRef() {\n    return this._elementRef;\n  }\n  // eslint-disable-next-line @angular-eslint/prefer-inject\n  constructor(...args: unknown[]);\n  constructor() {\n    this.setupHaltDisabledEvents();\n  }\n\n  ngAfterViewInit(): void {\n    this.setupFocusMonitor();\n  }\n\n  set active(v: boolean) {\n    this._active.set(v);\n  }\n  get active() {\n    return this._active();\n  }\n  protected _active = signal(false);\n  setTriggerActive() {\n    this._active.set(true);\n  }\n\n  setTriggerInactive() {\n    this._active.set(false);\n  }\n\n  private setupFocusMonitor() {\n    this._focusMonitor.monitor(this._elementRef, true);\n    this._destroyRef.onDestroy(() => this._focusMonitor.stopMonitoring(this._elementRef));\n  }\n\n  private setupHaltDisabledEvents() {\n    const cleanUp = this._ngZone.runOutsideAngular(() =>\n      this._renderer.listen(this._elementRef.nativeElement, 'click', (event: Event) => {\n        if ((this._isAnchor && this.disabled()) || this.loading()) {\n          event.preventDefault();\n          event.stopImmediatePropagation();\n        }\n      }),\n    );\n    this._destroyRef.onDestroy(cleanUp);\n  }\n}\n\nfunction tabIndexAttribute(value: unknown): number | undefined {\n  return value == null ? undefined : numberAttribute(value);\n}\n\nexport { NxButtonBase as NxAnchorButtonBase };\n","import { NxTriggerButton } from '@allianz/ng-aquila/overlay';\nimport { NxSpinnerComponent } from '@allianz/ng-aquila/spinner';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\nimport { NxButtonBase } from './button-base';\n\n/**\n * @description\n * The `nxButton` attribute applies button styles based on the provided type.\n * @required type: 'primary' | 'secondary' | 'tertiary' | 'cta' | 'emphasis' | 'attention'\n * @example\n * ```html\n * <button nxButton=\"primary\"></button>\n * <a nxButton=\"secondary\"></a>\n * ```\n */\n@Component({\n  templateUrl: './button.html',\n  styleUrls: ['button.scss'],\n  selector: 'button[nxButton], a[nxButton]',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  inputs: ['classNames:nxButton'],\n  providers: [{ provide: NxTriggerButton, useExisting: NxButtonComponent }],\n  host: {\n    class: 'nx-button',\n  },\n  standalone: true,\n  imports: [NxSpinnerComponent],\n})\nexport class NxButtonComponent extends NxButtonBase {\n  constructor() {\n    super();\n  }\n}\n\nexport { NxButtonComponent as NxAnchorButtonComponent };\n","<span class=\"nx-button__content-wrapper\">\n  <ng-content select=\"[nxIconPositionStart]\"></ng-content>\n  <span class=\"nx-button__content\"><ng-content></ng-content></span>\n  <ng-content select=\"[nxIconPositionEnd]\"></ng-content>\n</span>\n\n@if (loading()) {\n  <div inert class=\"nx-button__spinner-wrapper\">\n    <nx-spinner size=\"medium\" [negative]=\"spinnerNegative\" />\n  </div>\n}\n","import { NxTriggerButton } from '@allianz/ng-aquila/overlay';\nimport { NxSpinnerComponent } from '@allianz/ng-aquila/spinner';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\nimport { NxButtonBase } from './button-base';\n\n@Component({\n  selector: 'button[nxIconButton], a[nxIconButton]',\n  templateUrl: './button.html',\n  styleUrls: ['button.scss'],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  inputs: ['classNames:nxIconButton'],\n  providers: [{ provide: NxTriggerButton, useExisting: NxIconButtonComponent }],\n  host: {\n    class: 'nx-icon-button',\n  },\n  standalone: true,\n  imports: [NxSpinnerComponent],\n})\nexport class NxIconButtonComponent extends NxButtonBase {\n  constructor() {\n    super();\n  }\n}\n\nexport { NxIconButtonComponent as NxAnchorIconButtonComponent };\n","<span class=\"nx-button__content-wrapper\">\n  <ng-content select=\"[nxIconPositionStart]\"></ng-content>\n  <span class=\"nx-button__content\"><ng-content></ng-content></span>\n  <ng-content select=\"[nxIconPositionEnd]\"></ng-content>\n</span>\n\n@if (loading()) {\n  <div inert class=\"nx-button__spinner-wrapper\">\n    <nx-spinner size=\"medium\" [negative]=\"spinnerNegative\" />\n  </div>\n}\n","import { NxTriggerButton } from '@allianz/ng-aquila/overlay';\nimport { NxSpinnerComponent } from '@allianz/ng-aquila/spinner';\nimport { injectSurface } from '@allianz/ng-aquila/surface';\nimport { nxOptionalBooleanAttribute } from '@allianz/ng-aquila/utils';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n  AfterViewInit,\n  booleanAttribute,\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  DestroyRef,\n  effect,\n  ElementRef,\n  inject,\n  input,\n  isDevMode,\n  NgZone,\n  numberAttribute,\n  Renderer2,\n  signal,\n} from '@angular/core';\n\n/**\n * Please note: small is only meant for the A1 Design.\n *\n * `s` and `m` are the A1 shirt sizes and are treated as aliases of\n * `small` and `medium` respectively.\n */\nexport type NxPlainButtonSize = 'medium' | 'small' | 's' | 'm';\n/** Please note: secondary is only for meant for the A1 Design */\nexport type NxPlainButtonVariant = 'primary' | 'secondary';\n/**\n * Color scheme of a plain button. Only relevant for the A1 Design.\n *\n * The plain button has no accent colors.\n *\n * - `default` – the regular action-colored plain button\n * - `on-accent-attention` – for use on an accent-attention surface\n * - `on-brand` – for use on a brand-colored surface\n */\nexport type NxPlainButtonColorScheme = 'default' | 'on-accent-attention' | 'on-brand';\n\n/** Maps the A1 shirt-size aliases onto the existing size steps. */\nfunction normalizePlainSize(size: NxPlainButtonSize): NxPlainButtonSize {\n  if (size === 'm') {\n    return 'medium';\n  }\n  if (size === 's') {\n    return 'small';\n  }\n  return size;\n}\n\n@Component({\n  selector: 'button[nxPlainButton], a[nxPlainButton]',\n  templateUrl: './plain-button.component.html',\n  styleUrls: ['plain-button.component.scss'],\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  host: {\n    class: 'nx-plain-button',\n    '[class.nx-plain-button--danger]': 'critical()',\n    '[class.nx-plain-button--secondary]': 'variant() === \"secondary\"',\n    '[class.nx-plain-button--small]': '_size() === \"small\"',\n    '[class.nx-plain-button--on-accent-attention]': 'colorScheme() === \"on-accent-attention\"',\n    '[class.nx-plain-button--on-brand]': 'colorScheme() === \"on-brand\"',\n    '[class.nx-plain-button--inverse]': 'inverse()',\n    '[class.nx-button--loading]': 'loading()',\n    '[class.nx-button--active]': '_active()',\n    '[attr.disabled]': 'disabled() || null',\n    '[attr.aria-disabled]': '_ariaDisabled',\n    '[attr.tabindex]': '_tabIndex',\n  },\n  providers: [{ provide: NxTriggerButton, useExisting: NxPlainButtonComponent }],\n  standalone: true,\n  imports: [NxSpinnerComponent],\n})\nexport class NxPlainButtonComponent implements NxTriggerButton, AfterViewInit {\n  private readonly _elementRef = inject(ElementRef);\n  private readonly _focusMonitor = inject(FocusMonitor);\n  private readonly _renderer = inject(Renderer2);\n  private readonly _ngZone = inject(NgZone);\n  private readonly _destroyRef = inject(DestroyRef);\n\n  protected _isAnchor = this._elementRef.nativeElement.tagName === 'A';\n  protected get _ariaDisabled() {\n    return (this._isAnchor && this.disabled()) || this.loading() ? true : null;\n  }\n  protected get _tabIndex() {\n    if (this._isAnchor && this.disabled()) {\n      return -1;\n    }\n    return this.tabIndex() ?? this._tabindexAttribute() ?? undefined;\n  }\n\n  /** The plain button size. Please only use it for the A1 Design. */\n  readonly size = input<NxPlainButtonSize>('medium');\n  /** The size with the A1 shirt-size aliases resolved to the existing steps. */\n  protected readonly _size = computed(() => normalizePlainSize(this.size()));\n\n  /** The plain button variant. Please only use it for the A1 Design. */\n  readonly variant = input<NxPlainButtonVariant>('primary');\n\n  /**\n   * The plain button color scheme. Please only use it for the A1 Design.\n   *\n   * When not set, an `accent-attention` surface resolves it to\n   * `on-accent-attention` (see `nxSurface`). The `attention` surface goes through\n   * `inverse` instead, since `on-brand` pairs with a brand-colored background.\n   */\n  readonly colorSchemeInput = input<NxPlainButtonColorScheme | undefined>(undefined, {\n    alias: 'colorScheme',\n  });\n\n  private readonly _surface = injectSurface();\n\n  /** Resolved color scheme: an explicit input wins, then the surface, then 'default'. */\n  readonly colorScheme = computed<NxPlainButtonColorScheme>(\n    () =>\n      this.colorSchemeInput() ??\n      (this._surface().surface === 'accent-attention' ? 'on-accent-attention' : 'default'),\n  );\n\n  /** Whether to show the critical/danger appearance */\n  readonly critical = input<boolean, BooleanInput>(false, {\n    transform: booleanAttribute,\n  });\n\n  /** Whether the button should be disabled. */\n  readonly disabled = input<boolean, BooleanInput>(false, {\n    transform: booleanAttribute,\n  });\n\n  /**\n   * Whether the button should use the inverse color (for use on dark/colored\n   * backgrounds). When not set, it follows the surface (see `nxSurface`).\n   */\n  readonly inverseInput = input<boolean | undefined, unknown>(undefined, {\n    transform: nxOptionalBooleanAttribute,\n    alias: 'inverse',\n  });\n\n  /** Resolved inverse: an explicit input wins, then the surface the button sits on. */\n  readonly inverse = computed(() => this.inverseInput() ?? this._surface().surface === 'attention');\n\n  // The on-* schemes already sit on a filled background, so `inverse` there flips the spinner back.\n  protected readonly _spinnerInverse = computed(\n    () => (this.colorScheme() !== 'default') !== this.inverse(),\n  );\n\n  tabIndex = input<number | undefined, NumberInput>(undefined, { transform: tabIndexAttribute });\n  /**\n   * Use 'tabindex' to handle existing usages of `[tabindex]` bindings on button elements\n   * @docs-private\n   */\n  _tabindexAttribute = input<number | undefined, NumberInput>(undefined, {\n    transform: tabIndexAttribute,\n    alias: 'tabindex',\n  });\n\n  /** Whether the button should be in a loading state. */\n  loading = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n  classNames = input<string | undefined>(undefined, { alias: 'nxPlainButton' });\n\n  constructor() {\n    this.setupHaltDisabledEvents();\n    if (isDevMode()) {\n      effect(() => {\n        if (this.classNames()?.includes('danger')) {\n          console.warn(\n            'The danger property has been removed from the plain button component, Use critical instead',\n          );\n        }\n      });\n    }\n  }\n\n  ngAfterViewInit(): void {\n    this.setupFocusMonitor();\n  }\n\n  set active(v: boolean) {\n    this._active.set(v);\n  }\n  get active() {\n    return this._active();\n  }\n  protected _active = signal(false);\n  setTriggerActive() {\n    this._active.set(true);\n  }\n\n  setTriggerInactive() {\n    this._active.set(false);\n  }\n\n  private setupFocusMonitor() {\n    this._focusMonitor.monitor(this._elementRef, true);\n    this._destroyRef.onDestroy(() => this._focusMonitor.stopMonitoring(this._elementRef));\n  }\n\n  private setupHaltDisabledEvents() {\n    const cleanUp = this._ngZone.runOutsideAngular(() =>\n      this._renderer.listen(this._elementRef.nativeElement, 'click', (event: Event) => {\n        if ((this._isAnchor && this.disabled()) || this.loading()) {\n          event.preventDefault();\n          event.stopImmediatePropagation();\n        }\n      }),\n    );\n    this._destroyRef.onDestroy(cleanUp);\n  }\n}\n\nfunction tabIndexAttribute(value: unknown): number | undefined {\n  return value == null ? undefined : numberAttribute(value);\n}\n\nexport { NxPlainButtonComponent as NxAnchorPlainButtonComponent };\n","<span class=\"nx-plain-button__content-wrapper\">\n  <ng-content select=\"[nxIconPositionStart]\"></ng-content>\n  <span class=\"nx-plain-button__content\"><ng-content></ng-content></span>\n  <ng-content select=\"[nxIconPositionEnd]\"></ng-content>\n  <ng-content select=\"nx-icon:not(nxIconPositionStart):not(nxIconPositionEnd)\"></ng-content>\n</span>\n\n@if (loading()) {\n  <div inert class=\"nx-plain-button__spinner-wrapper\">\n    <nx-spinner size=\"medium\" [inverse]=\"_spinnerInverse()\" />\n  </div>\n}\n","import { NgModule } from '@angular/core';\n\nimport { NxButtonComponent } from './button.component';\nimport { NxIconButtonComponent } from './icon-button.component';\nimport { NxPlainButtonComponent } from './plain-button.component';\n\n@NgModule({\n  imports: [NxButtonComponent, NxIconButtonComponent, NxPlainButtonComponent],\n  exports: [NxButtonComponent, NxIconButtonComponent, NxPlainButtonComponent],\n})\nexport class NxButtonModule {}\n"],"mappings":";;;;;;;;AAmCA,MAAM,eAA6B;AACnC,MAAM,eAA6B;AACnC,MAAM,uBAA4C;AAClD,MAAM,uBAA4C;AAGlD,SAAS,cAAc,MAAkB;CACvC,IAAI,SAAS,KACX,OAAO;CAET,IAAI,SAAS,KACX,OAAO;CAET,OAAO;AACT;AAiCA,IAAa,eAAb,MAAa,aAAY;CAUvB,IAAc,gBAAa;EACzB,OAAQ,KAAK,aAAa,KAAK,SAAQ,KAAO,KAAK,QAAO,IAAK,OAAO;CACxE;CACA,IAAc,YAAS;EACrB,IAAI,KAAK,aAAa,KAAK,SAAQ,GACjC,OAAO;EAET,OAAO,KAAK,SAAQ,KAAM,KAAK,mBAAkB,KAAM;CACzD;CAEA,IAAc,aAAU;EACtB,OAAO,KAAK,WAAU,CAAE,CAAC;CAC3B;CAEA,IAAI,OAAI;EACN,OAAO,KAAK,WAAU,CAAE,CAAC;CAC3B;CAGA,IAAI,OAAI;EACN,OAAO,cAAc,KAAK,UAAS,KAAM,KAAK,WAAU,CAAE,CAAC,IAAI;CACjE;CA+BA,IAAI,cAAW;EACb,IAAI,KAAK,YAAW,MAAO,WACzB,OAAO;EAIT,OAAO,KAAK,iBAAgB,KAAM,KAAK,oBAAmB,KAAM;CAClE;CAWA,IAAc,WAAQ;EACpB,OAAO,KAAK,cAAa;CAC3B;CAEA,IAAI,SAAM;EACR,OAAO,KAAK,YAAY,KAAK,WAAU,CAAE,CAAC;CAC5C;CAsBA,IAAI,WAAQ;EACV,OACE,KAAK,cAAa,KAClB,KAAK,aAAY,MAGhB,KAAK,WAAU,CAAE,CAAC,YAAY,WAC/B,KAAK,SAAQ,CAAE,CAAC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