text: import * as tslib_1 from "tslib";
  import { ChangeDetectorRef, Component, ElementRef, HostBinding, Input } from '@angular/core';
  import { LuxFormComponentBase } from '../lux-form-model/lux-form-component-base.class';
  export const luxFormControlSelektor = 'lux-form-control';
  /**
   * @author dron
   * @description Diese Component wird von den anderen LUX-FormControls genutzt, um eine einheitliche Baseline zu erreichen.
   */
  let LuxFormControlComponent = class LuxFormControlComponent {
      constructor(cdr) {
          this.cdr = cdr;
          this._luxScalableHeight = false;
          this._luxHideBottomBorder = false;
          this.luxIgnoreDefaultLabel = false;
      }
      /**
       * Dient dazu, eine Component beliebig Hoch werden zu lassen (z.B. Textarea oder Radio).
       * @param scalable
       */
      set luxScalableHeight(scalable) {
          this._luxScalableHeight = scalable;
      }
      get luxScalableHeight() {
          return this._luxScalableHeight;
      }
      /**
       * Bestimmt ob die untere Border ausgeblendet werden soll oder nicht (z.B. bei Checkbox).
       * @param hide
       */
      set luxHideBottomBorder(hide) {
          this._luxHideBottomBorder = hide;
      }
      get luxHideBottomBorder() {
          return this._luxHideBottomBorder;
      }
      /**
       * Gibt wieder, ob der Fehler für diese FormComponent dargestellt werden soll.
       */
      shouldDisplayError() {
          return this.luxFormComponent.errorMessage && this.luxFormComponent.formControl.touched;
      }
      shouldDisplayMisc() {
          return this.luxFormComponent.formHintComponent || this.luxFormComponent.luxHint || this.shouldDisplayError();
      }
      shouldDisplayLabelByProperty() {
          return !this.luxFormComponent.formLabelComponent && this.luxFormComponent.luxLabel;
      }
      shouldDisplayHintByProperty() {
          return this.luxFormComponent.formHintComponent && !this.luxFormComponent.luxHint;
      }
      /**
       * Aktiviert den Fokus dieser Component.
       */
      focusin() {
          this.focused = true;
          this.cdr.detectChanges();
      }
      /**
       * Deaktiviert den Fokus dieser Component.
       */
      focusout() {
          this.focused = false;
          this.cdr.detectChanges();
      }
  };
  LuxFormControlComponent.ctorParameters = () => [
      { type: ChangeDetectorRef }
  ];
  tslib_1.__decorate([
      HostBinding('class.lux-form-control-scalable-height'),
      tslib_1.__metadata("design:type", Boolean)
  ], LuxFormControlComponent.prototype, "_luxScalableHeight", void 0);
  tslib_1.__decorate([
      HostBinding('class.lux-form-control-borderless'),
      tslib_1.__metadata("design:type", Boolean)
  ], LuxFormControlComponent.prototype, "_luxHideBottomBorder", void 0);
  tslib_1.__decorate([
      Input(),
      tslib_1.__metadata("design:type", LuxFormComponentBase)
  ], LuxFormControlComponent.prototype, "luxFormComponent", void 0);
  tslib_1.__decorate([
      Input(),
      tslib_1.__metadata("design:type", ElementRef)
  ], LuxFormControlComponent.prototype, "luxFormComponentElementRef", void 0);
  tslib_1.__decorate([
      Input(),
      tslib_1.__metadata("design:type", Boolean)
  ], LuxFormControlComponent.prototype, "luxIgnoreDefaultLabel", void 0);
  tslib_1.__decorate([
      Input(),
      tslib_1.__metadata("design:type", Boolean),
      tslib_1.__metadata("design:paramtypes", [Boolean])
  ], LuxFormControlComponent.prototype, "luxScalableHeight", null);
  tslib_1.__decorate([
      Input(),
      tslib_1.__metadata("design:type", Boolean),
      tslib_1.__metadata("design:paramtypes", [Boolean])
  ], LuxFormControlComponent.prototype, "luxHideBottomBorder", null);
  LuxFormControlComponent = tslib_1.__decorate([
      Component({
          selector: 'lux-form-control',
          template: "<div\n  class=\"lux-form-control\"\n  [ngClass]=\"{\n    'lux-form-control-error': shouldDisplayError(),\n    'lux-form-control-scalable-height': luxScalableHeight,\n    'lux-form-control-disabled': luxFormComponent.luxDisabled,\n    'lux-form-control-readonly': luxFormComponent.luxReadonly,\n    'lux-focused': focused\n  }\"\n  fxLayout=\"column\"\n  (focusin)=\"focusin()\"\n  (focusout)=\"focusout()\"\n>\n  <!-- Container f\u00FCr das Label -->\n  <div class=\"lux-form-control-label\">\n    <!-- Hier wird entweder das luxLabel oder das \u00FCbergebene Tag heraus gerendert -->\n    <div class=\"lux-label\" *ngIf=\"!luxIgnoreDefaultLabel\">\n      <label\n        class=\"lux-form-label\"\n        [id]=\"luxFormComponent.uid + '-label'\"\n        [for]=\"luxFormComponent.uid\"\n        *ngIf=\"luxFormComponent.formLabelComponent || luxFormComponent.luxLabel\"\n      >\n        <ng-container *ngIf=\"luxFormComponent.luxLabel; else formLabelTemplate\">\n          {{ luxFormComponent.luxLabel }}\n        </ng-container>\n        <ng-template #formLabelTemplate>\n          <ng-container *ngTemplateOutlet=\"luxFormComponent.formLabelComponent.templateRef\"></ng-container>\n        </ng-template>\n        {{ luxFormComponent.luxRequired ? ' *' : '' }}\n      </label>\n    </div>\n  </div>\n  <!-- Container f\u00FCr das FormControl -->\n  <div class=\"lux-form-control-container\" fxFlex=\"auto\">\n    <ng-content></ng-content>\n  </div>\n  <!-- Container f\u00FCr das Hint und den Error -->\n  <div class=\"lux-form-control-misc\" *ngIf=\"shouldDisplayMisc()\">\n    <ng-container [ngSwitch]=\"shouldDisplayError()\">\n      <mat-error [id]=\"luxFormComponent.uid + '-error'\" *ngSwitchCase=\"true\">\n        {{ luxFormComponent.errorMessage }}\n      </mat-error>\n      <ng-container *ngSwitchDefault>\n        <!-- Hier wird entweder das luxHint oder das \u00FCbergebene Tag heraus gerendert -->\n        <mat-hint\n          *ngIf=\"luxFormComponent.formHintComponent || luxFormComponent.luxHint\"\n          [id]=\"luxFormComponent.uid + '-hint'\"\n        >\n          <ng-container *ngIf=\"luxFormComponent.luxHint; else formHintTemplate\">\n            {{ luxFormComponent.luxHint }}\n          </ng-container>\n          <ng-template #formHintTemplate>\n            <ng-container *ngTemplateOutlet=\"luxFormComponent.formHintComponent.templateRef\"></ng-container>\n          </ng-template>\n        </mat-hint>\n      </ng-container>\n    </ng-container>\n  </div>\n</div>\n",
          styles: ["@charset \"UTF-8\";lux-side-nav .lux-side-nav-item,lux-side-nav lux-link{box-sizing:border-box}lux-side-nav .lux-side-nav-item.lux-side-nav-item-selected,lux-side-nav lux-link.lux-side-nav-item-selected{background-color:rgba(112,141,170,.2)!important;position:relative;border-radius:4px}lux-side-nav .lux-side-nav-item.lux-side-nav-item-selected:after,lux-side-nav lux-link.lux-side-nav-item-selected:after{content:'';left:0;width:6px;top:0;bottom:0;position:absolute;border-left:6px solid #0073b3;border-radius:4px 0 0 4px}lux-side-nav .lux-side-nav-item button .mat-button-focus-overlay,lux-side-nav lux-link button .mat-button-focus-overlay{display:none}lux-side-nav .lux-side-nav-item button:focus,lux-side-nav lux-link button:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}lux-side-nav .lux-side-nav-item button:hover,lux-side-nav lux-link button:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-list{border:4px solid transparent}lux-list:focus{outline-width:0;border:4px solid rgba(112,141,170,.2)!important}lux-list lux-list-item:focus{outline-width:0}lux-list lux-list-item:focus mat-card{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}lux-list lux-list-item lux-card.lux-list-item-selected mat-card{background-color:rgba(112,141,170,.2)!important;position:relative;border-radius:4px}lux-list lux-list-item lux-card.lux-list-item-selected mat-card:after{content:'';left:0;width:6px;top:0;bottom:0;position:absolute;border-left:6px solid #0073b3;border-radius:4px 0 0 4px}lux-list lux-list-item lux-card mat-card{box-sizing:border-box}lux-list lux-list-item lux-card mat-card:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .lux-form-control-label>*{color:#335c85}lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .cdk-focused .mat-radio-container,lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .mat-checkbox-inner-container,lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .mat-slide-toggle-thumb{position:relative}lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .cdk-focused .mat-radio-container:after,lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .mat-checkbox-inner-container:after,lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .mat-slide-toggle-thumb:after{content:\"\";border:1px solid rgba(112,141,170,.2);background-color:rgba(112,141,170,.2);display:block;top:-4px;left:-4px;right:-4px;bottom:-4px;border-radius:15px;z-index:1;position:absolute}lux-form-control .lux-form-control:not(.lux-form-control-disabled).lux-focused .lux-form-control-container:after{content:'';display:block;box-sizing:border-box;left:0;right:0;position:absolute;height:2px;border-bottom:2px solid #0073b3}lux-datepicker mat-datepicker-toggle button:focus:after{content:\"\";border:1px solid rgba(112,141,170,.2);background-color:rgba(112,141,170,.2);display:block;top:-4px;left:-4px;right:-4px;bottom:-4px;border-radius:15px;z-index:1;position:absolute}.lux-datepicker-panel .mat-calendar-header button .mat-button-focus-overlay,lux-datepicker mat-datepicker-toggle .mat-button-focus-overlay{display:none}.lux-datepicker-panel .mat-calendar-header button:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}.lux-datepicker-panel .mat-calendar-header button:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}.lux-datepicker-panel .mat-calendar-content td.mat-calendar-body-cell:hover>div{background-color:rgba(0,0,0,.2)!important;border-radius:999px}.lux-datepicker-panel .mat-calendar-content td.mat-calendar-body-cell.mat-calendar-body-active>div{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:999px}lux-table tr:hover>td,lux-table tr:hover>th{border-radius:0;background-color:#cfcfcf!important}lux-table th button.mat-sort-header-button:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}.lux-select-panel mat-option{border-left:0;box-sizing:border-box}.lux-select-panel mat-option.mat-selected{background-color:rgba(112,141,170,.2)!important;position:relative;border-radius:4px}.lux-select-panel mat-option.mat-selected:after{content:'';left:0;width:6px;top:0;bottom:0;position:absolute;border-left:6px solid #0073b3;border-radius:4px 0 0 4px}.lux-select-panel mat-option:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}.lux-select-panel mat-option.mat-active,.lux-select-panel mat-option:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-button button:not([disabled]) .mat-button-focus-overlay{display:none}lux-button button:not([disabled]):not(.mat-fab):not(.mat-raised-button):focus{background-color:rgba(112,141,170,.2)!important}lux-button button:not([disabled]):not(.mat-fab):not(.mat-raised-button):hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-button button:not([disabled]).mat-fab:focus,lux-button button:not([disabled]).mat-raised-button:focus{background-color:rgba(112,141,170,.2)!important}lux-button button:not([disabled]).mat-fab:focus.mat-accent,lux-button button:not([disabled]).mat-raised-button:focus.mat-accent{background-color:#b6d184!important}lux-button button:not([disabled]).mat-fab:focus.mat-warn,lux-button button:not([disabled]).mat-raised-button:focus.mat-warn{background-color:#ea2524!important}lux-button button:not([disabled]).mat-fab:focus.mat-primary,lux-button button:not([disabled]).mat-raised-button:focus.mat-primary{background-color:#4b82ba!important}.lux-autocomplete-panel mat-option{border-left:0;box-sizing:border-box}.lux-autocomplete-panel mat-option:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}.lux-autocomplete-panel mat-option.mat-active,.lux-autocomplete-panel mat-option:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-tabs mat-ink-bar{background-color:#0073b3!important}lux-tabs .mat-tab-label:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}lux-panel mat-expansion-panel-header:hover,lux-stepper mat-step-header:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-panel mat-expansion-panel-header:focus,lux-stepper mat-step-header:focus,lux-stepper mat-step-header[aria-selected=true],lux-tile mat-card:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}lux-master-detail lux-master-header .lux-master-header-collapse button.lux-button:not(.mat-fab):not(.mat-raised-button):focus{background-color:rgba(0,0,0,.2)!important}lux-file-list .lux-file-list{border:4px solid transparent}lux-file-list .lux-file-list:focus{outline-width:0;border:4px solid rgba(112,141,170,.2)!important}lux-file-list .lux-file-list .lux-file-list-entry{border:4px solid transparent}lux-file-list .lux-file-list .lux-file-list-entry:focus{outline-width:0;border:4px solid rgba(112,141,170,.2)!important}lux-file-list .lux-file-list mat-card{margin:4px}.lux-menu-panel .lux-menu-item:not([disabled=true]):focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}.lux-menu-panel .lux-menu-item:not([disabled=true]):hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}lux-dialog-structure lux-dialog-content:focus,lux-dialog-structure lux-dialog-title:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}example-root .example-base-components-list .example-component-list-item,example-root .example-base-components-list mat-expansion-panel-header{box-sizing:border-box}example-root .example-base-components-list .example-component-list-item.example-component-list-item-selected,example-root .example-base-components-list mat-expansion-panel-header.example-component-list-item-selected{background-color:rgba(112,141,170,.2)!important;position:relative;border-radius:4px}example-root .example-base-components-list .example-component-list-item.example-component-list-item-selected:after,example-root .example-base-components-list mat-expansion-panel-header.example-component-list-item-selected:after{content:'';left:0;width:6px;top:0;bottom:0;position:absolute;border-left:6px solid #0073b3;border-radius:4px 0 0 4px}example-root .example-base-components-list .example-component-list-item:focus,example-root .example-base-components-list mat-expansion-panel-header:focus{outline-width:0!important;outline-style:unset;background-color:rgba(112,141,170,.2)!important;border-radius:4px}example-root .example-base-components-list .example-component-list-item:hover,example-root .example-base-components-list mat-expansion-panel-header:hover{background-color:rgba(0,0,0,.2)!important;border-radius:4px}.lux-app-container,body,html{height:100%}.lux-app-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex}body{-webkit-overflow-scrolling:touch}div{font-family:Roboto,Helvetica Neue,sans-serif}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing.lux-file-preview-backdrop{background:#000;opacity:.8!important}lux-card.lux-card-grow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:400px;min-width:0}lux-card.lux-card-grow mat-card,lux-card.lux-card-grow mat-card-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}.lux-crop{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lux-label{color:rgba(0,0,0,.54);font-size:75%}.lux-hint{color:rgba(0,0,0,.6);font-size:12px}.lux-display-none{display:none}.lux-hidden{visibility:hidden}.lux-nowrap{white-space:nowrap}.lux-cursor{cursor:pointer}.lux-block-pointer-events{pointer-events:none}.lux-vertical-align-baseline{vertical-align:baseline!important}.lux-black-semi-transparent{color:rgba(0,0,0,.87)}.lux-semi-transparent{opacity:.6}.lux-overflow-y-hidden{overflow-y:hidden}.lux-overflow-y-auto{overflow-y:auto}.lux-overflow-wrap-break-word{overflow-wrap:break-word}.lux-bold{font-weight:700!important}.lux-uppercase{text-transform:uppercase!important}.lux-lowercase{text-transform:lowercase!important}.lux-hyphenate{overflow-wrap:break-word;word-wrap:break-word;word-break:normal;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-x:auto}.lux-p-footer,.lux-p-header{padding:8px}.lux-snackbar{top:68px;right:8px;position:absolute;margin:0!important;min-width:unset!important;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-snack-bar-handset .lux-snackbar{left:8px;width:auto!important}.lux-mt-0{margin-top:0}.lux-pt-0{padding-top:0}.lux-mt-1{margin-top:2px}.lux-pt-1{padding-top:2px}.lux-mt-2{margin-top:4px}.lux-pt-2{padding-top:4px}.lux-mt-3{margin-top:8px}.lux-pt-3{padding-top:8px}.lux-mt-4{margin-top:16px}.lux-pt-4{padding-top:16px}.lux-mb-0{margin-bottom:0}.lux-pb-0{padding-bottom:0}.lux-mb-1{margin-bottom:2px}.lux-pb-1{padding-bottom:2px}.lux-mb-2{margin-bottom:4px}.lux-pb-2{padding-bottom:4px}.lux-mb-3{margin-bottom:8px}.lux-pb-3{padding-bottom:8px}.lux-mb-4{margin-bottom:16px}.lux-pb-4{padding-bottom:16px}.lux-ml-0{margin-left:0}.lux-pl-0{padding-left:0}.lux-ml-1{margin-left:2px}.lux-pl-1{padding-left:2px}.lux-ml-2{margin-left:4px}.lux-pl-2{padding-left:4px}.lux-ml-3{margin-left:8px}.lux-pl-3{padding-left:8px}.lux-ml-4{margin-left:16px}.lux-pl-4{padding-left:16px}.lux-m-0{margin:0}.lux-mr-0{margin-right:0}.lux-p-0{padding:0}.lux-pr-0{padding-right:0}.lux-m-1{margin:2px}.lux-mr-1{margin-right:2px}.lux-p-1{padding:2px}.lux-pr-1{padding-right:2px}.lux-m-2{margin:4px}.lux-mr-2{margin-right:4px}.lux-p-2{padding:4px}.lux-pr-2{padding-right:4px}.lux-m-3{margin:8px}.lux-mr-3{margin-right:8px}.lux-p-3{padding:8px}.lux-pr-3{padding-right:8px}.lux-m-4{margin:16px}.lux-mr-4{margin-right:16px}.lux-p-4{padding:16px}.lux-pr-4{padding-right:16px}.lux-flex-layout-gap-10[style*=row]>:not(:last-child){margin-right:10px}.lux-flex-layout-gap-10[style*=column]>:not(:last-child){margin-bottom:10px}.lux-flex-layout-gap-20[style*=row]>:not(:last-child){margin-right:20px}.lux-flex-layout-gap-20[style*=column]>:not(:last-child){margin-bottom:20px}.lux-flex-layout-gap-30[style*=row]>:not(:last-child){margin-right:30px}.lux-flex-layout-gap-30[style*=column]>:not(:last-child){margin-bottom:30px}.lux-z-index-100{z-index:100}.lux-z-index-500{z-index:500}.lux-z-index-1000{z-index:1000}.lux-uppercase>lux-button .lux-button-label,lux-button.lux-uppercase .lux-button-label{text-transform:uppercase}.lux-bg-color-red{background:#b01211}.lux-bg-color-green{background:#95bc4c}.lux-bg-color-yellow{background:#ebc000}.lux-bg-color-blue{background:#335c85}.lux-bg-color-gray{background:#c8c8c8}.lux-bg-color-orange{background:#ec9c1b}.lux-bg-color-brown{background:#783f04}.lux-font-color-black{color:#000}.lux-font-color-white{color:#fff}.lux-badge-notification.mat-badge-large .mat-badge-content{font-size:15px}.lux-badge-notification.lux-badge-color-default .mat-badge-content{color:#000;background:#fff;border:1px solid rgba(0,0,0,.87)}:host{max-width:100%;width:100%;outline:0!important}:-webkit-autofill{display:none!important}.lux-form-control{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;box-sizing:border-box;padding:4px}.lux-form-control .lux-form-control-label{padding-top:2px;min-height:15px}.lux-form-control .lux-form-control-label>*{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lux-form-control .lux-form-control-container{position:relative;box-sizing:border-box;padding:6px 0 0;min-height:30px}.lux-form-control .lux-form-control-container:after{content:'';display:block;box-sizing:border-box;left:0;right:0;position:absolute;height:2px;border-bottom:1px solid rgba(0,0,0,.42)}.lux-form-control .lux-form-control-misc{box-sizing:border-box;position:relative;margin-bottom:2px;margin-top:4px;min-height:15px}.lux-form-control .lux-form-control-misc>*{padding-top:2px}.lux-form-control ::ng-deep ::-webkit-input-placeholder{color:rgba(0,0,0,.38);opacity:1}.lux-form-control ::ng-deep ::-moz-placeholder{color:rgba(0,0,0,.38);opacity:1}.lux-form-control ::ng-deep :-ms-input-placeholder{color:rgba(0,0,0,.38);opacity:1}.lux-form-control ::ng-deep ::-ms-input-placeholder{color:rgba(0,0,0,.38);opacity:1}.lux-form-control ::ng-deep ::placeholder{color:rgba(0,0,0,.38);opacity:1}.lux-form-control ::ng-deep input,.lux-form-control ::ng-deep textarea{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;font-size:15px}.lux-form-control ::ng-deep input:required,.lux-form-control ::ng-deep textarea:required{box-shadow:unset}.lux-form-control ::ng-deep textarea{min-height:24px}.lux-form-control ::ng-deep .lux-input-row{height:24px;font-size:15px}.lux-form-control ::ng-deep .lux-input-row>*{height:17px}.lux-form-control ::ng-deep .lux-input-row .lux-input-prefix-container,.lux-form-control ::ng-deep .lux-input-row .lux-input-suffix-container{width:auto;white-space:nowrap}.lux-form-control ::ng-deep .lux-input-row .lux-input-prefix-container ::ng-deep i,.lux-form-control ::ng-deep .lux-input-row .lux-input-prefix-container ::ng-deep mat-icon,.lux-form-control ::ng-deep .lux-input-row .lux-input-suffix-container ::ng-deep i,.lux-form-control ::ng-deep .lux-input-row .lux-input-suffix-container ::ng-deep mat-icon{padding:0!important;margin:0;font-size:1em}.lux-form-control ::ng-deep mat-datepicker-toggle{height:18px}.lux-form-control ::ng-deep mat-datepicker-toggle button{height:18px;width:18px}.lux-form-control ::ng-deep mat-datepicker-toggle button .mat-button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;height:18px}.lux-form-control ::ng-deep mat-datepicker-toggle button .mat-button-wrapper svg{height:18px;width:18px}.lux-form-control ::ng-deep mat-checkbox .mat-checkbox-label,.lux-form-control ::ng-deep mat-checkbox .mat-slide-toggle-label,.lux-form-control ::ng-deep mat-slide-toggle .mat-checkbox-label,.lux-form-control ::ng-deep mat-slide-toggle .mat-slide-toggle-label{height:18px;line-height:18px;font-size:15px}.lux-form-control ::ng-deep .mat-checkbox-layout{cursor:inherit;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;vertical-align:top}.lux-form-control ::ng-deep mat-radio-button{height:21px;font-size:15px}.lux-form-control ::ng-deep mat-radio-button .mat-radio-label{vertical-align:unset;-webkit-box-align:end;-ms-flex-align:end;align-items:end}.lux-form-control ::ng-deep mat-slider.mat-slider-horizontal{height:30px}.lux-form-control ::ng-deep mat-select{height:24px}.lux-form-control ::ng-deep mat-select .mat-select-trigger{line-height:18px}.lux-form-control ::ng-deep mat-select .mat-select-trigger .mat-select-value{font-size:15px}.lux-form-control ::ng-deep .lux-label,.lux-form-control ::ng-deep mat-error,.lux-form-control ::ng-deep mat-hint{font-size:12px!important}.lux-form-control-error .lux-form-control-label>*{color:#b01211!important}.lux-form-control-error .lux-form-control-container{border-color:#b01211!important}.lux-form-control-error .lux-form-control-misc>*{color:#b01211!important}.lux-form-control-disabled .lux-form-control-container{color:rgba(0,0,0,.38)!important}.lux-form-control-disabled .lux-form-control-container:after{content:'';display:block;box-sizing:border-box;left:0;right:0;position:absolute;height:2px;border-bottom:1px dashed rgba(0,0,0,.38)}:host:not(.lux-form-control-scalable-height) .lux-form-control-container{max-height:30px}:host.lux-form-control-borderless .lux-form-control-container{background:unset!important}:host.lux-form-control-borderless .lux-form-control-container:after{content:'';display:block;box-sizing:border-box;left:0;right:0;position:absolute;height:2px;border-bottom:unset!important}::ng-deep .lux-form-control-readonly{pointer-events:none}"]
      }),
      tslib_1.__metadata("design:paramtypes", [ChangeDetectorRef])
  ], LuxFormControlComponent);
  export { LuxFormControlComponent };
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibHV4LWZvcm0tY29udHJvbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaWhrLWdmaS9sdXgtY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbInNyYy9hcHAvbW9kdWxlcy9sdXgtZm9ybS9sdXgtZm9ybS1jb250cm9sL2x1eC1mb3JtLWNvbnRyb2wuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzdGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlEQUFpRCxDQUFDO0FBRXZGLE1BQU0sQ0FBQyxNQUFNLHNCQUFzQixHQUFXLGtCQUFrQixDQUFDO0FBRWpFOzs7R0FHRztBQU9ILElBQWEsdUJBQXVCLEdBQXBDLE1BQWEsdUJBQXVCO0lBc0NsQ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