Files
doneit-web/.angular/cache/14.2.12/babel-webpack/283d8a77ffa711e06d75e960356d12ff.json
T

1 line
79 KiB
JSON
Raw Normal View History

2023-06-30 09:54:21 +01:00
{"ast":null,"code":"import { CdkTextareaAutosize, AutofillMonitor, TextFieldModule } from '@angular/cdk/text-field';\nimport { Directive, Input, InjectionToken, ElementRef, Optional, Self, Inject, NgZone, HostListener, NgModule } from '@angular/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { getSupportedInputTypes, Platform } from '@angular/cdk/platform';\nimport { NgControl, NgForm, FormGroupDirective } from '@angular/forms';\nimport { mixinErrorState, ErrorStateMatcher, MatCommonModule } from '@angular/material/core';\nimport { MatFormFieldControl, MatFormField, MAT_FORM_FIELD, MatFormFieldModule } from '@angular/material/form-field';\nimport { Subject } from 'rxjs';\n\n/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/**\n * Directive to automatically resize a textarea to fit its content.\n * @deprecated Use `cdkTextareaAutosize` from `@angular/cdk/text-field` instead.\n * @breaking-change 8.0.0\n */\nimport * as ɵngcc0 from '@angular/core';\nimport * as ɵngcc1 from '@angular/cdk/platform';\nimport * as ɵngcc2 from '@angular/forms';\nimport * as ɵngcc3 from '@angular/material/core';\nimport * as ɵngcc4 from '@angular/cdk/text-field';\nimport * as ɵngcc5 from '@angular/material/form-field';\nclass MatTextareaAutosize extends CdkTextareaAutosize {\n get matAutosizeMinRows() {\n return this.minRows;\n }\n set matAutosizeMinRows(value) {\n this.minRows = value;\n }\n get matAutosizeMaxRows() {\n return this.maxRows;\n }\n set matAutosizeMaxRows(value) {\n this.maxRows = value;\n }\n get matAutosize() {\n return this.enabled;\n }\n set matAutosize(value) {\n this.enabled = value;\n }\n get matTextareaAutosize() {\n return this.enabled;\n }\n set matTextareaAutosize(value) {\n this.enabled = value;\n }\n}\nMatTextareaAutosize.ɵfac = /*@__PURE__*/function () {\n let ɵMatTextareaAutosize_BaseFactory;\n return function MatTextareaAutosize_Factory(t) {\n return (ɵMatTextareaAutosize_BaseFactory || (ɵMatTextareaAutosize_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(MatTextareaAutosize)))(t || MatTextareaAutosize);\n };\n}();\nMatTextareaAutosize.ɵdir = /*@__PURE__*/ɵngcc0.ɵɵdefineDirective({\n type: MatTextareaAutosize,\n selectors: [[\"textarea\", \"mat-autosize\", \"\"], [\"textarea\", \"matTextareaAutosize\", \"\"]],\n hostAttrs: [\"rows\", \"1\", 1, \"cdk-textarea-autosize\", \"mat-autosize\"],\n inputs: {\n cdkAutosizeMinRows: \"cdkAutosizeMinRows\",\n cdkAutosizeMaxRows: \"cdkAutosizeMaxRows\",\n matAutosizeMinRows: \"matAutosizeMinRows\",\n matAutosizeMaxRows: \"matAutosizeMaxRows\",\n matAutosize: [\"mat-autosize\", \"matAutosize\"],\n matTextareaAutosize: \"matTextareaAutosize\"\n },\n exportAs: [\"matTextareaAutosize\"],\n features: [ɵngcc0.ɵɵInheritDefinitionFeature]\n});\nMatTextareaAutosize.propDecorators = {\n matAutosizeMinRows: [{\n type: Input\n }],\n matAutosizeMaxRows: [{\n type: Input\n }],\n matAutosize: [{\n type: Input,\n args: ['mat-autosize']\n }],\n matTextareaAutosize: [{\n type: Input\n }]\n};\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(MatTextareaAutosize, [{\n type: Directive,\n args: [{\n selector: 'textarea[mat-autosize], textarea[matTextareaAutosize]',\n exportAs: 'matTextareaAutosize',\n inputs: ['cdkAutosizeMinRows', 'cdkAutosizeMaxRows'],\n host: {\n 'class': 'cdk-textarea-autosize mat-autosize',\n // Textarea elements that have the directive applied should have a single row by default.\n // Browsers normally show two rows by default and therefore this limits the minRows binding.\n 'rows': '1'\n }\n }]\n }], null, {\n matAutosizeMinRows: [{\n type: Input\n }],\n matAutosizeMaxRows: [{\n type: Input\n }],\n matAutosize: [{\n type: Input,\n args: