@ajsf/material 0.7.0 → 0.8.0
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/lib/material-design-framework.component.mjs +3 -3
- package/esm2020/lib/material-design-framework.module.mjs +10 -14
- package/esm2020/lib/material-design.framework.mjs +3 -3
- package/esm2020/lib/widgets/flex-layout-root.component.mjs +4 -4
- package/esm2020/lib/widgets/flex-layout-section.component.mjs +13 -23
- package/esm2020/lib/widgets/material-add-reference.component.mjs +6 -6
- package/esm2020/lib/widgets/material-button-group.component.mjs +9 -14
- package/esm2020/lib/widgets/material-button.component.mjs +10 -15
- package/esm2020/lib/widgets/material-checkbox.component.mjs +12 -20
- package/esm2020/lib/widgets/material-checkboxes.component.mjs +10 -21
- package/esm2020/lib/widgets/material-chip-list.component.mjs +3 -3
- package/esm2020/lib/widgets/material-datepicker.component.mjs +12 -21
- package/esm2020/lib/widgets/material-file.component.mjs +3 -3
- package/esm2020/lib/widgets/material-input.component.mjs +13 -22
- package/esm2020/lib/widgets/material-number.component.mjs +11 -20
- package/esm2020/lib/widgets/material-one-of.component.mjs +3 -3
- package/esm2020/lib/widgets/material-radios.component.mjs +11 -20
- package/esm2020/lib/widgets/material-select.component.mjs +11 -20
- package/esm2020/lib/widgets/material-slider.component.mjs +11 -16
- package/esm2020/lib/widgets/material-stepper.component.mjs +3 -3
- package/esm2020/lib/widgets/material-tabs.component.mjs +9 -14
- package/esm2020/lib/widgets/material-textarea.component.mjs +11 -20
- package/fesm2015/ajsf-material.mjs +134 -241
- package/fesm2015/ajsf-material.mjs.map +1 -1
- package/fesm2020/ajsf-material.mjs +134 -241
- package/fesm2020/ajsf-material.mjs.map +1 -1
- package/{ajsf-material.d.ts → index.d.ts} +0 -0
- package/lib/material-design-framework.component.d.ts +1 -1
- package/lib/material-design-framework.module.d.ts +2 -2
- package/lib/widgets/flex-layout-root.component.d.ts +1 -1
- package/lib/widgets/flex-layout-section.component.d.ts +1 -1
- package/lib/widgets/material-add-reference.component.d.ts +1 -1
- package/lib/widgets/material-button-group.component.d.ts +1 -1
- package/lib/widgets/material-button.component.d.ts +1 -1
- package/lib/widgets/material-checkbox.component.d.ts +1 -1
- package/lib/widgets/material-checkboxes.component.d.ts +1 -1
- package/lib/widgets/material-chip-list.component.d.ts +1 -1
- package/lib/widgets/material-datepicker.component.d.ts +1 -1
- package/lib/widgets/material-file.component.d.ts +1 -1
- package/lib/widgets/material-input.component.d.ts +1 -1
- package/lib/widgets/material-number.component.d.ts +1 -1
- package/lib/widgets/material-one-of.component.d.ts +1 -1
- package/lib/widgets/material-radios.component.d.ts +1 -1
- package/lib/widgets/material-select.component.d.ts +1 -1
- package/lib/widgets/material-slider.component.d.ts +1 -1
- package/lib/widgets/material-stepper.component.d.ts +1 -1
- package/lib/widgets/material-tabs.component.d.ts +1 -1
- package/lib/widgets/material-textarea.component.d.ts +1 -1
- package/package.json +10 -10
|
@@ -2,10 +2,10 @@ import { Component, Inject, Input, Optional } from '@angular/core';
|
|
|
2
2
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@ajsf/core";
|
|
5
|
-
import * as i2 from "@angular/
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "@angular/material/
|
|
8
|
-
import * as i5 from "@angular/
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "@angular/material/form-field";
|
|
8
|
+
import * as i5 from "@angular/material/input";
|
|
9
9
|
export class MaterialTextareaComponent {
|
|
10
10
|
constructor(matFormFieldDefaultOptions, jsf) {
|
|
11
11
|
this.matFormFieldDefaultOptions = matFormFieldDefaultOptions;
|
|
@@ -24,8 +24,8 @@ export class MaterialTextareaComponent {
|
|
|
24
24
|
this.jsf.updateValue(this, event.target.value);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
MaterialTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
MaterialTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27
|
+
MaterialTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialTextareaComponent, deps: [{ token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
MaterialTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialTextareaComponent, selector: "material-textarea-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
29
29
|
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'standard'"
|
|
30
30
|
[class]="options?.htmlClass || ''"
|
|
31
31
|
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || (options?.notitle ? 'never' : 'auto')"
|
|
@@ -70,13 +70,10 @@ MaterialTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
70
70
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
71
71
|
</mat-form-field>
|
|
72
72
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
73
|
-
[innerHTML]="options?.errorMessage"></mat-error>`, isInline: true, styles: ["mat-error{font-size:75%;margin-top:-1rem;margin-bottom:.5rem}::ng-deep json-schema-form mat-form-field .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:auto;width:initial}\n"],
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
[innerHTML]="options?.errorMessage"></mat-error>`, isInline: true, styles: ["mat-error{font-size:75%;margin-top:-1rem;margin-bottom:.5rem}::ng-deep json-schema-form mat-form-field .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:auto;width:initial}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i3.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i3.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix]" }, { 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"] }] });
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialTextareaComponent, decorators: [{
|
|
75
75
|
type: Component,
|
|
76
|
-
args: [{
|
|
77
|
-
// tslint:disable-next-line:component-selector
|
|
78
|
-
selector: 'material-textarea-widget',
|
|
79
|
-
template: `
|
|
76
|
+
args: [{ selector: 'material-textarea-widget', template: `
|
|
80
77
|
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'standard'"
|
|
81
78
|
[class]="options?.htmlClass || ''"
|
|
82
79
|
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || (options?.notitle ? 'never' : 'auto')"
|
|
@@ -121,13 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImpor
|
|
|
121
118
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
122
119
|
</mat-form-field>
|
|
123
120
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
124
|
-
[innerHTML]="options?.errorMessage"></mat-error>`,
|
|
125
|
-
styles: [`
|
|
126
|
-
mat-error { font-size: 75%; margin-top: -1rem; margin-bottom: 0.5rem; }
|
|
127
|
-
::ng-deep json-schema-form mat-form-field .mat-form-field-wrapper .mat-form-field-flex
|
|
128
|
-
.mat-form-field-infix { width: initial; }
|
|
129
|
-
`],
|
|
130
|
-
}]
|
|
121
|
+
[innerHTML]="options?.errorMessage"></mat-error>`, styles: ["mat-error{font-size:75%;margin-top:-1rem;margin-bottom:.5rem}::ng-deep json-schema-form mat-form-field .mat-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:auto;width:initial}\n"] }]
|
|
131
122
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
132
123
|
type: Inject,
|
|
133
124
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
@@ -140,4 +131,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImpor
|
|
|
140
131
|
}], dataIndex: [{
|
|
141
132
|
type: Input
|
|
142
133
|
}] } });
|
|
143
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
134
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0ZXJpYWwtdGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWpzZi1tYXRlcmlhbC9zcmMvbGliL3dpZGdldHMvbWF0ZXJpYWwtdGV4dGFyZWEuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBVSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFekUsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0sOEJBQThCLENBQUM7Ozs7Ozs7QUF5RDlFLE1BQU0sT0FBTyx5QkFBeUI7SUFXcEMsWUFDNkQsMEJBQTBCLEVBQzdFLEdBQTBCO1FBRHlCLCtCQUEwQixHQUExQiwwQkFBMEIsQ0FBQTtRQUM3RSxRQUFHLEdBQUgsR0FBRyxDQUF1QjtRQVRwQyxvQkFBZSxHQUFHLEtBQUssQ0FBQztRQUN4QixpQkFBWSxHQUFHLEtBQUssQ0FBQztJQVNqQixDQUFDO0lBRUwsUUFBUTtRQUNOLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLFVBQVUsQ0FBQyxPQUFPLElBQUksRUFBRSxDQUFDO1FBQzdDLElBQUksQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDakMsSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPL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