@sumaris-net/ngx-components 2.6.20-beta.0 → 2.6.20-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/public_api.mjs +4 -2
- package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +4 -4
- package/esm2020/src/app/core/form/text-popover/text-popover.module.mjs +2 -7
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +1 -1
- package/esm2020/src/app/shared/material/material.module.mjs +10 -5
- package/esm2020/src/app/shared/material/material.testing.module.mjs +12 -1
- package/esm2020/src/app/shared/material/text/testing/text-form.testing.mjs +29 -0
- package/esm2020/src/app/shared/material/text/text-form.component.mjs +89 -0
- package/esm2020/src/app/shared/material/text/text-form.module.mjs +63 -0
- package/fesm2015/sumaris-net.ngx-components.mjs +4667 -4584
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +4556 -4474
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +3 -1
- package/src/app/core/form/text-popover/text-popover.component.d.ts +1 -1
- package/src/app/core/form/text-popover/text-popover.module.d.ts +4 -5
- package/src/app/shared/material/material.module.d.ts +2 -1
- package/src/app/shared/material/material.testing.module.d.ts +13 -12
- package/src/app/shared/material/text/testing/text-form.testing.d.ts +13 -0
- package/src/app/{core/form/text-popover → shared/material/text}/text-form.component.d.ts +2 -2
- package/src/app/shared/material/text/text-form.module.d.ts +16 -0
- package/esm2020/src/app/core/form/text-popover/text-form.component.mjs +0 -89
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export * from './src/app/shared/material/swipe/swipe.module';
|
|
|
33
33
|
export * from './src/app/shared/material/swipe/material.swipe';
|
|
34
34
|
export * from './src/app/shared/material/badge/badge.module';
|
|
35
35
|
export * from './src/app/shared/material/badge/badge.directive';
|
|
36
|
+
export * from './src/app/shared/material/text/text-form.component';
|
|
37
|
+
export * from './src/app/shared/material/text/text-form.module';
|
|
36
38
|
export * from './src/app/shared/inputs';
|
|
37
39
|
export { AppFormField } from './src/app/shared/form/field.component';
|
|
38
40
|
export * from './src/app/shared/form/loading-spinner';
|
|
@@ -181,7 +183,6 @@ export * from './src/app/core/form/list/list.module';
|
|
|
181
183
|
export * from './src/app/core/form/properties/properties.form';
|
|
182
184
|
export * from './src/app/core/form/properties/properties.table';
|
|
183
185
|
export * from './src/app/core/form/properties/properties.module';
|
|
184
|
-
export * from './src/app/core/form/text-popover/text-form.component';
|
|
185
186
|
export * from './src/app/core/form/text-popover/text-popover.component';
|
|
186
187
|
export * from './src/app/core/form/text-popover/text-popover.module';
|
|
187
188
|
export * from './src/app/core/table/table.model';
|
|
@@ -261,6 +262,7 @@ export * from './src/app/shared/material/datetime/testing/mat-date.test';
|
|
|
261
262
|
export * from './src/app/shared/material/datetime/testing/mat-dateshort.test';
|
|
262
263
|
export * from './src/app/shared/material/chips/testing/chips.test';
|
|
263
264
|
export * from './src/app/shared/material/numpad/testing/numpad.test';
|
|
265
|
+
export * from './src/app/shared/material/text/testing/text-form.testing';
|
|
264
266
|
export * from './src/app/shared/testing/observable.test';
|
|
265
267
|
export * from './src/app/shared/shared.testing.module';
|
|
266
268
|
export * from './src/app/shared/upload-file/testing/upload-file.testing';
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { PopoverController, PopoverOptions } from '@ionic/angular';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { TextForm } from '
|
|
5
|
+
import { TextForm } from '../../../shared/material/text/text-form.component';
|
|
6
6
|
import { ValidatorFn } from '@angular/forms';
|
|
7
7
|
import { Color, OverlayEventDetail } from '@ionic/core';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./text-
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@ngx-translate/core";
|
|
2
|
+
import * as i1 from "./text-popover.component";
|
|
3
|
+
import * as i2 from "../../../shared/shared.module";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
6
5
|
export declare class AppTextPopoverModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppTextPopoverModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppTextPopoverModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppTextPopoverModule, [typeof i1.TextPopover], [typeof i2.SharedModule, typeof i3.TranslateModule], [typeof i3.TranslateModule, typeof i1.TextPopover]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<AppTextPopoverModule>;
|
|
10
9
|
}
|
|
@@ -38,8 +38,9 @@ import * as i36 from "./numpad/numpad.module";
|
|
|
38
38
|
import * as i37 from "./swipe/swipe.module";
|
|
39
39
|
import * as i38 from "./chips/chips.module";
|
|
40
40
|
import * as i39 from "./badge/badge.module";
|
|
41
|
+
import * as i40 from "./text/text-form.module";
|
|
41
42
|
export declare class SharedMaterialModule {
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedMaterialModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMaterialModule, never, [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule], [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule]>;
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedMaterialModule, never, [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule, typeof i40.SharedTextFormModule], [typeof i1.MatCommonModule, typeof i2.MatTableModule, typeof i3.MatSortModule, typeof i4.MatPaginatorModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.CdkTableModule, typeof i8.MatCheckboxModule, typeof i9.MatExpansionModule, typeof i10.MatToolbarModule, typeof i11.MatDialogModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatCardModule, typeof i17.MatTabsModule, typeof i18.MatListModule, typeof i19.MatStepperModule, typeof i20.MatButtonToggleModule, typeof i21.MatProgressSpinnerModule, typeof i22.MatProgressBarModule, typeof i23.MatRadioModule, typeof i24.MatBadgeModule, typeof i25.MatSlideToggleModule, typeof i26.A11yModule, typeof i27.OverlayModule, typeof i28.ScrollingModule, typeof i1.MatRippleModule, typeof i29.MatDividerModule, typeof i30.MatTooltipModule, typeof i31.SharedMatAutocompleteModule, typeof i32.SharedMatLatLongModule, typeof i33.SharedMatDateTimeModule, typeof i34.SharedMatDurationModule, typeof i35.SharedMatBooleanModule, typeof i36.SharedMatNumpadModule, typeof i37.SharedMatSwipeModule, typeof i38.SharedMatChipsModule, typeof i39.SharedBadgeModule, typeof i40.SharedTextFormModule]>;
|
|
44
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedMaterialModule>;
|
|
45
46
|
}
|
|
@@ -6,20 +6,21 @@ import * as i3 from "./datetime/testing/mat-dateshort.test";
|
|
|
6
6
|
import * as i4 from "./autocomplete/testing/autocomplete.test";
|
|
7
7
|
import * as i5 from "./latlong/testing/latlong.test";
|
|
8
8
|
import * as i6 from "./numpad/testing/numpad.test";
|
|
9
|
-
import * as i7 from "./
|
|
10
|
-
import * as i8 from "./
|
|
11
|
-
import * as i9 from "./
|
|
12
|
-
import * as i10 from "
|
|
13
|
-
import * as i11 from "
|
|
14
|
-
import * as i12 from "@
|
|
15
|
-
import * as i13 from "@angular
|
|
16
|
-
import * as i14 from "
|
|
17
|
-
import * as i15 from "
|
|
18
|
-
import * as i16 from "@
|
|
19
|
-
import * as i17 from "
|
|
9
|
+
import * as i7 from "./text/testing/text-form.testing";
|
|
10
|
+
import * as i8 from "./swipe/testing/swipe.test";
|
|
11
|
+
import * as i9 from "./chips/testing/chips.test";
|
|
12
|
+
import * as i10 from "./badge/badge.test";
|
|
13
|
+
import * as i11 from "../testing/observable.test";
|
|
14
|
+
import * as i12 from "@angular/common";
|
|
15
|
+
import * as i13 from "@ionic/angular";
|
|
16
|
+
import * as i14 from "@angular/forms";
|
|
17
|
+
import * as i15 from "./material.module";
|
|
18
|
+
import * as i16 from "@ngx-translate/core";
|
|
19
|
+
import * as i17 from "@angular/router";
|
|
20
|
+
import * as i18 from "../pipes/pipes.module";
|
|
20
21
|
export declare const SHARED_MATERIAL_TESTING_PAGES: TestingPage[];
|
|
21
22
|
export declare class MaterialTestingModule {
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTestingModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialTestingModule, [typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.DateShortTestPage, typeof i4.AutocompleteTestPage, typeof i5.LatLongTestPage, typeof i6.NumpadTestPage, typeof i7.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialTestingModule, [typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.DateShortTestPage, typeof i4.AutocompleteTestPage, typeof i5.LatLongTestPage, typeof i6.NumpadTestPage, typeof i7.TextFormTestingPage, typeof i8.SwipeTestPage, typeof i9.ChipsTestPage, typeof i10.MatBadgeTestPage, typeof i11.ObservableTestPage], [typeof i12.CommonModule, typeof i13.IonicModule, typeof i14.ReactiveFormsModule, typeof i15.SharedMaterialModule, typeof i16.TranslateModule, typeof i17.RouterModule, typeof i18.SharedPipesModule], [typeof i15.SharedMaterialModule, typeof i17.RouterModule, typeof i1.DateTimeTestPage, typeof i2.DateTestPage, typeof i3.DateShortTestPage, typeof i4.AutocompleteTestPage, typeof i5.LatLongTestPage, typeof i6.NumpadTestPage, typeof i7.TextFormTestingPage, typeof i8.SwipeTestPage, typeof i9.ChipsTestPage, typeof i11.ObservableTestPage]>;
|
|
24
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialTestingModule>;
|
|
25
26
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Validators } from '@angular/forms';
|
|
3
|
+
import { TextForm } from '../text-form.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TextFormTestingPage implements AfterViewInit {
|
|
6
|
+
textForm1: TextForm;
|
|
7
|
+
textForm2: TextForm;
|
|
8
|
+
constructor();
|
|
9
|
+
protected readonly Validators: typeof Validators;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextFormTestingPage, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFormTestingPage, "text-form-testing", never, {}, {}, never, never, false>;
|
|
13
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormControl, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
4
|
-
import { AppForm } from '
|
|
4
|
+
import { AppForm } from '../../../core/form/form.class';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TextForm extends AppForm<{
|
|
7
7
|
text: string;
|
|
@@ -28,5 +28,5 @@ export declare class TextForm extends AppForm<{
|
|
|
28
28
|
focusInput(): void;
|
|
29
29
|
protected markForCheck(): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextForm, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": "showError"; "placeholder": "placeholder"; "multiline": "multiline"; "autoHeight": "autoHeight"; "maxLength": "maxLength"; "autofocus": "autofocus"; "validator": "validator"; }, { "textAreaChanges": "textAreaChanges"; }, never, ["
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextForm, "app-text-form", never, { "showError": "showError"; "placeholder": "placeholder"; "multiline": "multiline"; "autoHeight": "autoHeight"; "maxLength": "maxLength"; "autofocus": "autofocus"; "validator": "validator"; }, { "textAreaChanges": "textAreaChanges"; }, never, ["[matError]"], false>;
|
|
32
32
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-form.component";
|
|
3
|
+
import * as i2 from "@ngx-translate/core";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@ionic/angular";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "../../pipes/pipes.module";
|
|
8
|
+
import * as i7 from "@angular/material/core";
|
|
9
|
+
import * as i8 from "@angular/material/form-field";
|
|
10
|
+
import * as i9 from "@angular/material/input";
|
|
11
|
+
import * as i10 from "../../directives/directives.module";
|
|
12
|
+
export declare class SharedTextFormModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedTextFormModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTextFormModule, [typeof i1.TextForm], [typeof i2.TranslateModule, typeof i3.CommonModule, typeof i4.IonicModule, typeof i5.ReactiveFormsModule, typeof i6.SharedPipesModule, typeof i7.MatCommonModule, typeof i8.MatFormFieldModule, typeof i9.MatInputModule, typeof i10.SharedDirectivesModule], [typeof i2.TranslateModule, typeof i1.TextForm]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedTextFormModule>;
|
|
16
|
+
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { Validators } from '@angular/forms';
|
|
3
|
-
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
4
|
-
import { AppForm } from '../form.class';
|
|
5
|
-
import { isNotNil } from '../../../shared/functions';
|
|
6
|
-
import { focusInput } from '../../../shared/inputs';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/forms";
|
|
9
|
-
import * as i2 from "@angular/common";
|
|
10
|
-
import * as i3 from "@angular/material/form-field";
|
|
11
|
-
import * as i4 from "@angular/cdk/text-field";
|
|
12
|
-
import * as i5 from "@angular/material/input";
|
|
13
|
-
import * as i6 from "../../../shared/directives/autofocus.directive";
|
|
14
|
-
import * as i7 from "@ngx-translate/core";
|
|
15
|
-
export class TextForm extends AppForm {
|
|
16
|
-
constructor(injector, cd, formBuilder) {
|
|
17
|
-
super(injector);
|
|
18
|
-
this.injector = injector;
|
|
19
|
-
this.cd = cd;
|
|
20
|
-
this.formBuilder = formBuilder;
|
|
21
|
-
this.showError = true;
|
|
22
|
-
this.multiline = true;
|
|
23
|
-
this.autoHeight = false;
|
|
24
|
-
this.maxLength = 2000;
|
|
25
|
-
this.autofocus = false;
|
|
26
|
-
this.validator = null;
|
|
27
|
-
this.textAreaChanges = new EventEmitter();
|
|
28
|
-
}
|
|
29
|
-
ngOnInit() {
|
|
30
|
-
// Compute validators
|
|
31
|
-
const validators = isNotNil(this.maxLength) && this.maxLength > 0 ? [Validators.maxLength(this.maxLength)] : [];
|
|
32
|
-
if (this.validator)
|
|
33
|
-
validators.push(this.validator);
|
|
34
|
-
// Create the form
|
|
35
|
-
const form = this.formBuilder.group({
|
|
36
|
-
text: [null, validators.length ? Validators.compose(validators) : null]
|
|
37
|
-
});
|
|
38
|
-
this.control = form.get('text');
|
|
39
|
-
this.setForm(form);
|
|
40
|
-
super.ngOnInit();
|
|
41
|
-
}
|
|
42
|
-
textAreaChanged(event) {
|
|
43
|
-
this.textAreaChanges.emit(this.control.value);
|
|
44
|
-
}
|
|
45
|
-
containerResize() {
|
|
46
|
-
this.autosizeDirective?.resizeToFitContent(true);
|
|
47
|
-
}
|
|
48
|
-
focusInput() {
|
|
49
|
-
if (this.textArea)
|
|
50
|
-
focusInput(this.textArea);
|
|
51
|
-
if (this.textInput)
|
|
52
|
-
focusInput(this.textInput);
|
|
53
|
-
}
|
|
54
|
-
markForCheck() {
|
|
55
|
-
this.cd.markForCheck();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
TextForm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextForm, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
-
TextForm.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TextForm, selector: "app-text-form", inputs: { showError: "showError", placeholder: "placeholder", multiline: "multiline", autoHeight: "autoHeight", maxLength: "maxLength", autofocus: "autofocus", validator: "validator" }, outputs: { textAreaChanges: "textAreaChanges" }, viewQueries: [{ propertyName: "textArea", first: true, predicate: ["textArea"], descendants: true }, { propertyName: "textInput", first: true, predicate: ["textInput"], descendants: true }, { propertyName: "autosizeDirective", first: true, predicate: CdkTextareaAutosize, descendants: true }], usesInheritance: true, ngImport: i0, template: "<form class=\"form-container\" [formGroup]=\"form\" (ngSubmit)=\"onSubmit.emit($event)\">\n <mat-form-field *ngIf=\"multiline; else monoline\">\n <textarea\n #textArea\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [readonly]=\"control.disabled\"\n [class.fixed-height]=\"!autoHeight\"\n [cdkTextareaAutosize]=\"autoHeight\"\n (keyup)=\"textAreaChanged($event)\"\n (keydown.control.enter)=\"onSubmit.emit($event)\"\n [autofocus]=\"autofocus\"\n ></textarea>\n <mat-error *ngIf=\"control.hasError('maxlength')\">\n {{ 'ERROR.FIELD_MAX_LENGTH' | translate: control.errors['maxlength'] }}\n </mat-error>\n <mat-hint *ngIf=\"maxLength\" align=\"end\">\n {{ 'INFO.TEXT_PROGRESS' | translate: { current: textArea.value?.length || 0, max: maxLength } }}\n </mat-hint>\n </mat-form-field>\n <ng-template #monoline>\n <mat-form-field>\n <input\n #textInput\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [readonly]=\"control.disabled\"\n [appAutofocus]=\"autofocus\"\n (keydown.control.enter)=\"onSubmit.emit($event)\"\n />\n <mat-error *ngIf=\"control.hasError('maxlength')\">\n {{ 'ERROR.FIELD_MAX_LENGTH' | translate: control.errors['maxlength'] }}\n </mat-error>\n <mat-error *ngIf=\"control.hasError('pattern')\">\n {{ 'ERROR.FIELD_INVALID' | translate }}\n </mat-error>\n <ng-content select=\"mat-error\"></ng-content>\n <mat-hint *ngIf=\"maxLength\" align=\"end\">\n {{ 'INFO.TEXT_PROGRESS' | translate: { current: textInput.value?.length || 0, max: maxLength } }}\n </mat-hint>\n </mat-form-field>\n </ng-template>\n</form>\n", styles: ["textarea{--textarea-height: 11.5em;max-height:var(--textarea-height)}textarea.fixed-height{height:var(--textarea-height)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i6.AutofocusDirective, selector: "[autofocus], input[appAutofocus]", inputs: ["appAutofocus", "autofocusDelay"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TextForm, decorators: [{
|
|
61
|
-
type: Component,
|
|
62
|
-
args: [{ selector: 'app-text-form', template: "<form class=\"form-container\" [formGroup]=\"form\" (ngSubmit)=\"onSubmit.emit($event)\">\n <mat-form-field *ngIf=\"multiline; else monoline\">\n <textarea\n #textArea\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [readonly]=\"control.disabled\"\n [class.fixed-height]=\"!autoHeight\"\n [cdkTextareaAutosize]=\"autoHeight\"\n (keyup)=\"textAreaChanged($event)\"\n (keydown.control.enter)=\"onSubmit.emit($event)\"\n [autofocus]=\"autofocus\"\n ></textarea>\n <mat-error *ngIf=\"control.hasError('maxlength')\">\n {{ 'ERROR.FIELD_MAX_LENGTH' | translate: control.errors['maxlength'] }}\n </mat-error>\n <mat-hint *ngIf=\"maxLength\" align=\"end\">\n {{ 'INFO.TEXT_PROGRESS' | translate: { current: textArea.value?.length || 0, max: maxLength } }}\n </mat-hint>\n </mat-form-field>\n <ng-template #monoline>\n <mat-form-field>\n <input\n #textInput\n matInput\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n [readonly]=\"control.disabled\"\n [appAutofocus]=\"autofocus\"\n (keydown.control.enter)=\"onSubmit.emit($event)\"\n />\n <mat-error *ngIf=\"control.hasError('maxlength')\">\n {{ 'ERROR.FIELD_MAX_LENGTH' | translate: control.errors['maxlength'] }}\n </mat-error>\n <mat-error *ngIf=\"control.hasError('pattern')\">\n {{ 'ERROR.FIELD_INVALID' | translate }}\n </mat-error>\n <ng-content select=\"mat-error\"></ng-content>\n <mat-hint *ngIf=\"maxLength\" align=\"end\">\n {{ 'INFO.TEXT_PROGRESS' | translate: { current: textInput.value?.length || 0, max: maxLength } }}\n </mat-hint>\n </mat-form-field>\n </ng-template>\n</form>\n", styles: ["textarea{--textarea-height: 11.5em;max-height:var(--textarea-height)}textarea.fixed-height{height:var(--textarea-height)}\n"] }]
|
|
63
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1.UntypedFormBuilder }]; }, propDecorators: { showError: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], placeholder: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], multiline: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], autoHeight: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], maxLength: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], autofocus: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], validator: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}], textAreaChanges: [{
|
|
78
|
-
type: Output
|
|
79
|
-
}], textArea: [{
|
|
80
|
-
type: ViewChild,
|
|
81
|
-
args: ['textArea']
|
|
82
|
-
}], textInput: [{
|
|
83
|
-
type: ViewChild,
|
|
84
|
-
args: ['textInput']
|
|
85
|
-
}], autosizeDirective: [{
|
|
86
|
-
type: ViewChild,
|
|
87
|
-
args: [CdkTextareaAutosize]
|
|
88
|
-
}] } });
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1mb3JtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29yZS9mb3JtL3RleHQtcG9wb3Zlci90ZXh0LWZvcm0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2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