@ajsf/material 0.8.0 → 16.0.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 → esm2022}/lib/material-design-framework.component.mjs +4 -4
- package/esm2022/lib/material-design-framework.module.mjs +111 -0
- package/{esm2020 → esm2022}/lib/material-design.framework.mjs +4 -4
- package/esm2022/lib/widgets/flex-layout-root.component.mjs +98 -0
- package/esm2022/lib/widgets/flex-layout-section.component.mjs +357 -0
- package/{esm2020 → esm2022}/lib/widgets/material-add-reference.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/widgets/material-button-group.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/widgets/material-button.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/widgets/material-checkbox.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/widgets/material-checkboxes.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/widgets/material-chip-list.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/widgets/material-datepicker.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/widgets/material-file.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/widgets/material-input.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/widgets/material-number.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/widgets/material-one-of.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/widgets/material-radios.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/widgets/material-select.component.mjs +11 -11
- package/esm2022/lib/widgets/material-slider.component.mjs +77 -0
- package/{esm2020 → esm2022}/lib/widgets/material-stepper.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/widgets/material-tabs.component.mjs +16 -6
- package/{esm2020 → esm2022}/lib/widgets/material-textarea.component.mjs +11 -11
- package/{fesm2020 → fesm2022}/ajsf-material.mjs +252 -236
- package/fesm2022/ajsf-material.mjs.map +1 -0
- package/lib/material-design-framework.component.d.ts +1 -1
- package/lib/material-design-framework.module.d.ts +23 -25
- package/lib/widgets/flex-layout-root.component.d.ts +7 -1
- package/lib/widgets/flex-layout-section.component.d.ts +5 -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 +11 -18
- package/esm2020/lib/angular-flex-monkey-patch.mjs +0 -12
- package/esm2020/lib/material-design-framework.module.mjs +0 -119
- package/esm2020/lib/widgets/flex-layout-root.component.mjs +0 -76
- package/esm2020/lib/widgets/flex-layout-section.component.mjs +0 -349
- package/esm2020/lib/widgets/material-slider.component.mjs +0 -83
- package/fesm2015/ajsf-material.mjs +0 -2320
- package/fesm2015/ajsf-material.mjs.map +0 -1
- package/fesm2020/ajsf-material.mjs.map +0 -1
- package/lib/angular-flex-monkey-patch.d.ts +0 -1
- /package/{esm2020 → esm2022}/ajsf-material.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/widgets/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
|
@@ -4,50 +4,46 @@ import * as i1 from '@ajsf/core';
|
|
|
4
4
|
import { hasOwn, buildTitleMap, isDefined, isArray, Framework, WidgetLibraryModule, JsonSchemaFormModule, JsonSchemaFormService, FrameworkLibraryService, WidgetLibraryService } from '@ajsf/core';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i3 from '@angular/
|
|
8
|
-
import * as i4 from '@angular/flex-layout/extended';
|
|
9
|
-
import * as i5 from '@angular/material/card';
|
|
7
|
+
import * as i3 from '@angular/material/card';
|
|
10
8
|
import { MatCardModule } from '@angular/material/card';
|
|
11
|
-
import * as
|
|
9
|
+
import * as i4 from '@angular/material/expansion';
|
|
12
10
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
13
|
-
import * as
|
|
11
|
+
import * as i5 from '@angular/material/form-field';
|
|
14
12
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS, MatFormFieldModule } from '@angular/material/form-field';
|
|
15
13
|
import * as i3$1 from '@angular/material/button';
|
|
16
14
|
import { MatButtonModule } from '@angular/material/button';
|
|
17
|
-
import * as i4$
|
|
15
|
+
import * as i4$1 from '@angular/material/icon';
|
|
18
16
|
import { MatIconModule } from '@angular/material/icon';
|
|
19
17
|
import * as i3$2 from '@angular/material/button-toggle';
|
|
20
18
|
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
21
19
|
import * as i3$3 from '@angular/forms';
|
|
22
20
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
23
|
-
import * as i4$
|
|
21
|
+
import * as i4$2 from '@angular/material/checkbox';
|
|
24
22
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
25
|
-
import * as i6
|
|
23
|
+
import * as i6 from '@angular/material/slide-toggle';
|
|
26
24
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
27
|
-
import * as i4$
|
|
25
|
+
import * as i4$3 from '@angular/material/datepicker';
|
|
28
26
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
29
27
|
import * as i5$1 from '@angular/material/input';
|
|
30
28
|
import { MatInputModule } from '@angular/material/input';
|
|
31
29
|
import cloneDeep from 'lodash/cloneDeep';
|
|
32
|
-
import * as i4$
|
|
30
|
+
import * as i4$4 from '@angular/material/autocomplete';
|
|
33
31
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
34
|
-
import * as i4$
|
|
32
|
+
import * as i4$5 from '@angular/material/core';
|
|
35
33
|
import { MatNativeDateModule } from '@angular/material/core';
|
|
36
34
|
import * as i5$2 from '@angular/material/radio';
|
|
37
35
|
import { MatRadioModule } from '@angular/material/radio';
|
|
38
|
-
import * as i6$
|
|
36
|
+
import * as i6$1 from '@angular/material/select';
|
|
39
37
|
import { MatSelectModule } from '@angular/material/select';
|
|
40
38
|
import * as i5$3 from '@angular/material/slider';
|
|
41
39
|
import { MatSliderModule } from '@angular/material/slider';
|
|
42
40
|
import * as i3$4 from '@angular/material/tabs';
|
|
43
41
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
44
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
45
42
|
import { MatChipsModule } from '@angular/material/chips';
|
|
46
43
|
import { MatStepperModule } from '@angular/material/stepper';
|
|
47
44
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
48
45
|
import { MatMenuModule } from '@angular/material/menu';
|
|
49
46
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
50
|
-
import { MediaMarshaller } from '@angular/flex-layout/core';
|
|
51
47
|
|
|
52
48
|
class FlexLayoutRootComponent {
|
|
53
49
|
constructor(jsf) {
|
|
@@ -57,6 +53,33 @@ class FlexLayoutRootComponent {
|
|
|
57
53
|
removeItem(item) {
|
|
58
54
|
this.jsf.removeItem(item);
|
|
59
55
|
}
|
|
56
|
+
// fxFlex="30%" and friends used to come from @angular/flex-layout, which is
|
|
57
|
+
// deprecated and has no Angular 16+ release. These translate the same option
|
|
58
|
+
// values to the CSS the directives were compiling to, so schemas that set
|
|
59
|
+
// fxFlex, fxFlexOrder, fxFlexOffset or fxFlexAlign keep working unchanged.
|
|
60
|
+
static { this.SELF_ALIGN = {
|
|
61
|
+
start: 'flex-start', end: 'flex-end', center: 'center',
|
|
62
|
+
baseline: 'baseline', stretch: 'stretch',
|
|
63
|
+
}; }
|
|
64
|
+
getFlexBasis(node) {
|
|
65
|
+
return (node?.options || {}).fxFlex || this.getFlexAttribute(node, 'flex-basis');
|
|
66
|
+
}
|
|
67
|
+
getMaxWidth(node) {
|
|
68
|
+
const fxFlex = (node?.options || {}).fxFlex;
|
|
69
|
+
return fxFlex && `${fxFlex}`.trim().endsWith('%') ? fxFlex : null;
|
|
70
|
+
}
|
|
71
|
+
getAlignSelf(node) {
|
|
72
|
+
const options = node?.options || {};
|
|
73
|
+
return options['align-self'] ||
|
|
74
|
+
FlexLayoutRootComponent.SELF_ALIGN[options.fxFlexAlign] || null;
|
|
75
|
+
}
|
|
76
|
+
getOrder(node) {
|
|
77
|
+
const options = node?.options || {};
|
|
78
|
+
return options.order || options.fxFlexOrder || null;
|
|
79
|
+
}
|
|
80
|
+
getOffset(node) {
|
|
81
|
+
return (node?.options || {}).fxFlexOffset || null;
|
|
82
|
+
}
|
|
60
83
|
// Set attributes for flexbox child
|
|
61
84
|
// (container attributes are set in flex-layout-section.component)
|
|
62
85
|
getFlexAttribute(node, attribute) {
|
|
@@ -67,26 +90,24 @@ class FlexLayoutRootComponent {
|
|
|
67
90
|
showWidget(layoutNode) {
|
|
68
91
|
return this.jsf.evaluateCondition(layoutNode, this.dataIndex);
|
|
69
92
|
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
FlexLayoutRootComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: FlexLayoutRootComponent, selector: "flex-layout-root-widget", inputs: { dataIndex: "dataIndex", layoutIndex: "layoutIndex", layout: "layout", isFlexItem: "isFlexItem" }, ngImport: i0, template: `
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlexLayoutRootComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
94
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FlexLayoutRootComponent, selector: "flex-layout-root-widget", inputs: { dataIndex: "dataIndex", layoutIndex: "layoutIndex", layout: "layout", isFlexItem: "isFlexItem" }, ngImport: i0, template: `
|
|
73
95
|
<div *ngFor="let layoutNode of layout; let i = index"
|
|
74
96
|
[class.form-flex-item]="isFlexItem"
|
|
75
97
|
[style.flex-grow]="getFlexAttribute(layoutNode, 'flex-grow')"
|
|
76
98
|
[style.flex-shrink]="getFlexAttribute(layoutNode, 'flex-shrink')"
|
|
77
|
-
[style.flex-basis]="
|
|
78
|
-
[style.align-self]="(layoutNode
|
|
79
|
-
[style.order]="layoutNode
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[fxFlexOffset]="layoutNode?.options?.fxFlexOffset"
|
|
83
|
-
[fxFlexAlign]="layoutNode?.options?.fxFlexAlign">
|
|
99
|
+
[style.flex-basis]="getFlexBasis(layoutNode)"
|
|
100
|
+
[style.align-self]="getAlignSelf(layoutNode)"
|
|
101
|
+
[style.order]="getOrder(layoutNode)"
|
|
102
|
+
[style.max-width]="getMaxWidth(layoutNode)"
|
|
103
|
+
[style.margin-left]="getOffset(layoutNode)">
|
|
84
104
|
<select-framework-widget *ngIf="showWidget(layoutNode)"
|
|
85
105
|
[dataIndex]="layoutNode?.arrayItem ? (dataIndex || []).concat(i) : (dataIndex || [])"
|
|
86
106
|
[layoutIndex]="(layoutIndex || []).concat(i)"
|
|
87
107
|
[layoutNode]="layoutNode"></select-framework-widget>
|
|
88
|
-
|
|
89
|
-
|
|
108
|
+
</div>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.SelectFrameworkComponent, selector: "select-framework-widget", inputs: ["layoutNode", "layoutIndex", "dataIndex"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
109
|
+
}
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlexLayoutRootComponent, decorators: [{
|
|
90
111
|
type: Component,
|
|
91
112
|
args: [{
|
|
92
113
|
// tslint:disable-next-line:component-selector
|
|
@@ -96,18 +117,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
96
117
|
[class.form-flex-item]="isFlexItem"
|
|
97
118
|
[style.flex-grow]="getFlexAttribute(layoutNode, 'flex-grow')"
|
|
98
119
|
[style.flex-shrink]="getFlexAttribute(layoutNode, 'flex-shrink')"
|
|
99
|
-
[style.flex-basis]="
|
|
100
|
-
[style.align-self]="(layoutNode
|
|
101
|
-
[style.order]="layoutNode
|
|
102
|
-
[
|
|
103
|
-
[
|
|
104
|
-
[fxFlexOffset]="layoutNode?.options?.fxFlexOffset"
|
|
105
|
-
[fxFlexAlign]="layoutNode?.options?.fxFlexAlign">
|
|
120
|
+
[style.flex-basis]="getFlexBasis(layoutNode)"
|
|
121
|
+
[style.align-self]="getAlignSelf(layoutNode)"
|
|
122
|
+
[style.order]="getOrder(layoutNode)"
|
|
123
|
+
[style.max-width]="getMaxWidth(layoutNode)"
|
|
124
|
+
[style.margin-left]="getOffset(layoutNode)">
|
|
106
125
|
<select-framework-widget *ngIf="showWidget(layoutNode)"
|
|
107
126
|
[dataIndex]="layoutNode?.arrayItem ? (dataIndex || []).concat(i) : (dataIndex || [])"
|
|
108
127
|
[layoutIndex]="(layoutIndex || []).concat(i)"
|
|
109
128
|
[layoutNode]="layoutNode"></select-framework-widget>
|
|
110
|
-
|
|
129
|
+
</div>`,
|
|
111
130
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
112
131
|
}]
|
|
113
132
|
}], ctorParameters: function () { return [{ type: i1.JsonSchemaFormService }]; }, propDecorators: { dataIndex: [{
|
|
@@ -161,6 +180,27 @@ class FlexLayoutSectionComponent {
|
|
|
161
180
|
this.expanded = !this.expanded;
|
|
162
181
|
}
|
|
163
182
|
}
|
|
183
|
+
// fxLayoutAlign="start center" used to come from @angular/flex-layout, which
|
|
184
|
+
// is deprecated and has no Angular 16+ release. These map the same option
|
|
185
|
+
// values onto justify-content and align-items, so schemas setting
|
|
186
|
+
// fxLayoutAlign or fxLayoutGap keep working unchanged. The existing
|
|
187
|
+
// [style.display], [style.flex-direction] and [style.flex-wrap] bindings
|
|
188
|
+
// already cover what fxLayout did.
|
|
189
|
+
static { this.ALIGN = {
|
|
190
|
+
start: 'flex-start', end: 'flex-end', center: 'center',
|
|
191
|
+
'space-between': 'space-between', 'space-around': 'space-around',
|
|
192
|
+
'space-evenly': 'space-evenly', stretch: 'stretch', baseline: 'baseline',
|
|
193
|
+
}; }
|
|
194
|
+
fxAlign(position) {
|
|
195
|
+
const value = `${(this.options || {}).fxLayoutAlign || ''}`.trim().split(/\s+/)[position];
|
|
196
|
+
return FlexLayoutSectionComponent.ALIGN[value] || null;
|
|
197
|
+
}
|
|
198
|
+
getJustifyContent() {
|
|
199
|
+
return this.getFlexAttribute('justify-content') || this.fxAlign(0);
|
|
200
|
+
}
|
|
201
|
+
getAlignItems() {
|
|
202
|
+
return this.getFlexAttribute('align-items') || this.fxAlign(1);
|
|
203
|
+
}
|
|
164
204
|
// Set attributes for flexbox container
|
|
165
205
|
// (child attributes are set in flex-layout-root.component)
|
|
166
206
|
getFlexAttribute(attribute) {
|
|
@@ -182,14 +222,10 @@ class FlexLayoutSectionComponent {
|
|
|
182
222
|
case 'align-items':
|
|
183
223
|
case 'align-content':
|
|
184
224
|
return this.options[attribute];
|
|
185
|
-
case 'layout':
|
|
186
|
-
return (this.options.fxLayout || 'row') +
|
|
187
|
-
this.options.fxLayoutWrap ? ' ' + this.options.fxLayoutWrap : '';
|
|
188
225
|
}
|
|
189
226
|
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
FlexLayoutSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: FlexLayoutSectionComponent, selector: "flex-layout-section-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlexLayoutSectionComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
228
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FlexLayoutSectionComponent, selector: "flex-layout-section-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
193
229
|
<div *ngIf="containerType === 'div'"
|
|
194
230
|
[class]="options?.htmlClass || ''"
|
|
195
231
|
[class.expandable]="options?.expandable && !expanded"
|
|
@@ -211,10 +247,9 @@ FlexLayoutSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
211
247
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
212
248
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
213
249
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
214
|
-
[
|
|
215
|
-
[
|
|
216
|
-
[
|
|
217
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
250
|
+
[style.gap]="options?.fxLayoutGap"
|
|
251
|
+
[style.justify-content]="getJustifyContent()"
|
|
252
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
218
253
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
219
254
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
220
255
|
</div>
|
|
@@ -241,15 +276,14 @@ FlexLayoutSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
241
276
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
242
277
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
243
278
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
244
|
-
[
|
|
245
|
-
[
|
|
246
|
-
[
|
|
247
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
279
|
+
[style.gap]="options?.fxLayoutGap"
|
|
280
|
+
[style.justify-content]="getJustifyContent()"
|
|
281
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
248
282
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
249
283
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
250
284
|
</fieldset>
|
|
251
285
|
|
|
252
|
-
<mat-card *ngIf="containerType === 'card'"
|
|
286
|
+
<mat-card appearance="outlined" *ngIf="containerType === 'card'"
|
|
253
287
|
[ngClass]="options?.htmlClass || ''"
|
|
254
288
|
[class.expandable]="options?.expandable && !expanded"
|
|
255
289
|
[class.expanded]="options?.expandable && expanded">
|
|
@@ -274,10 +308,9 @@ FlexLayoutSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
274
308
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
275
309
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
276
310
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
311
|
+
[style.gap]="options?.fxLayoutGap"
|
|
312
|
+
[style.justify-content]="getJustifyContent()"
|
|
313
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
281
314
|
</fieldset>
|
|
282
315
|
</mat-card-content>
|
|
283
316
|
<mat-card-footer>
|
|
@@ -311,15 +344,15 @@ FlexLayoutSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
311
344
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
312
345
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
313
346
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
314
|
-
[
|
|
315
|
-
[
|
|
316
|
-
[
|
|
317
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
347
|
+
[style.gap]="options?.fxLayoutGap"
|
|
348
|
+
[style.justify-content]="getJustifyContent()"
|
|
349
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
318
350
|
</fieldset>
|
|
319
351
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
320
352
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
321
|
-
</mat-expansion-panel>`, isInline: true, styles: ["fieldset{border:0;margin:0;padding:0}.legend{font-weight:700}.expandable>.legend:before{content:\"\\25b6\";padding-right:.3em}.expanded>.legend:before{content:\"\\25bc\";padding-right:.2em}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "
|
|
322
|
-
|
|
353
|
+
</mat-expansion-panel>`, isInline: true, styles: ["fieldset{border:0;margin:0;padding:0}.legend{font-weight:700}.expandable>.legend:before{content:\"\\25b6\";padding-right:.3em}.expanded>.legend:before{content:\"\\25bc\";padding-right:.2em}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i3.MatCardFooter, selector: "mat-card-footer" }, { kind: "component", type: i3.MatCardHeader, selector: "mat-card-header" }, { kind: "component", type: i4.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i4.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i4.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: FlexLayoutRootComponent, selector: "flex-layout-root-widget", inputs: ["dataIndex", "layoutIndex", "layout", "isFlexItem"] }] }); }
|
|
354
|
+
}
|
|
355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlexLayoutSectionComponent, decorators: [{
|
|
323
356
|
type: Component,
|
|
324
357
|
args: [{ selector: 'flex-layout-section-widget', template: `
|
|
325
358
|
<div *ngIf="containerType === 'div'"
|
|
@@ -343,10 +376,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
343
376
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
344
377
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
345
378
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
346
|
-
[
|
|
347
|
-
[
|
|
348
|
-
[
|
|
349
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
379
|
+
[style.gap]="options?.fxLayoutGap"
|
|
380
|
+
[style.justify-content]="getJustifyContent()"
|
|
381
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
350
382
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
351
383
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
352
384
|
</div>
|
|
@@ -373,15 +405,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
373
405
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
374
406
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
375
407
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
376
|
-
[
|
|
377
|
-
[
|
|
378
|
-
[
|
|
379
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
408
|
+
[style.gap]="options?.fxLayoutGap"
|
|
409
|
+
[style.justify-content]="getJustifyContent()"
|
|
410
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
380
411
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
381
412
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
382
413
|
</fieldset>
|
|
383
414
|
|
|
384
|
-
<mat-card *ngIf="containerType === 'card'"
|
|
415
|
+
<mat-card appearance="outlined" *ngIf="containerType === 'card'"
|
|
385
416
|
[ngClass]="options?.htmlClass || ''"
|
|
386
417
|
[class.expandable]="options?.expandable && !expanded"
|
|
387
418
|
[class.expanded]="options?.expandable && expanded">
|
|
@@ -406,10 +437,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
406
437
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
407
438
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
408
439
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
409
|
-
[
|
|
410
|
-
[
|
|
411
|
-
[
|
|
412
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
440
|
+
[style.gap]="options?.fxLayoutGap"
|
|
441
|
+
[style.justify-content]="getJustifyContent()"
|
|
442
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
413
443
|
</fieldset>
|
|
414
444
|
</mat-card-content>
|
|
415
445
|
<mat-card-footer>
|
|
@@ -443,10 +473,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
443
473
|
[style.justify-content]="getFlexAttribute('justify-content')"
|
|
444
474
|
[style.align-items]="getFlexAttribute('align-items')"
|
|
445
475
|
[style.align-content]="getFlexAttribute('align-content')"
|
|
446
|
-
[
|
|
447
|
-
[
|
|
448
|
-
[
|
|
449
|
-
[attr.fxFlexFill]="options?.fxLayoutAlign"></flex-layout-root-widget>
|
|
476
|
+
[style.gap]="options?.fxLayoutGap"
|
|
477
|
+
[style.justify-content]="getJustifyContent()"
|
|
478
|
+
[style.align-items]="getAlignItems()"></flex-layout-root-widget>
|
|
450
479
|
</fieldset>
|
|
451
480
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
452
481
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
@@ -483,9 +512,8 @@ class MaterialAddReferenceComponent {
|
|
|
483
512
|
return parent.layoutNode.add ||
|
|
484
513
|
this.jsf.setArrayItemTitle(parent, this.layoutNode, this.itemCount);
|
|
485
514
|
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
MaterialAddReferenceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialAddReferenceComponent, selector: "material-add-reference-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialAddReferenceComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
516
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialAddReferenceComponent, selector: "material-add-reference-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
489
517
|
<section [class]="options?.htmlClass || ''" align="end">
|
|
490
518
|
<button mat-raised-button *ngIf="showAddButton"
|
|
491
519
|
[color]="options?.color || 'accent'"
|
|
@@ -494,8 +522,9 @@ MaterialAddReferenceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
494
522
|
<span *ngIf="options?.icon" [class]="options?.icon"></span>
|
|
495
523
|
<span *ngIf="options?.title" [innerHTML]="buttonText"></span>
|
|
496
524
|
</button>
|
|
497
|
-
</section>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-
|
|
498
|
-
|
|
525
|
+
</section>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
526
|
+
}
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialAddReferenceComponent, decorators: [{
|
|
499
528
|
type: Component,
|
|
500
529
|
args: [{
|
|
501
530
|
// tslint:disable-next-line:component-selector
|
|
@@ -545,9 +574,8 @@ class MaterialButtonComponent {
|
|
|
545
574
|
this.jsf.updateValue(this, event.target.value);
|
|
546
575
|
}
|
|
547
576
|
}
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
MaterialButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialButtonComponent, selector: "material-button-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
577
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialButtonComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
578
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialButtonComponent, selector: "material-button-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
551
579
|
<div class="button-row" [class]="options?.htmlClass || ''">
|
|
552
580
|
<button mat-raised-button
|
|
553
581
|
[attr.readonly]="options?.readonly ? 'readonly' : null"
|
|
@@ -562,8 +590,9 @@ MaterialButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
562
590
|
<mat-icon *ngIf="options?.icon" class="mat-24">{{options?.icon}}</mat-icon>
|
|
563
591
|
<span *ngIf="options?.title" [innerHTML]="options?.title"></span>
|
|
564
592
|
</button>
|
|
565
|
-
</div>`, isInline: true, styles: ["button{margin-top:10px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-
|
|
566
|
-
|
|
593
|
+
</div>`, isInline: true, styles: ["button{margin-top:10px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
594
|
+
}
|
|
595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialButtonComponent, decorators: [{
|
|
567
596
|
type: Component,
|
|
568
597
|
args: [{ selector: 'material-button-widget', template: `
|
|
569
598
|
<div class="button-row" [class]="options?.htmlClass || ''">
|
|
@@ -606,9 +635,8 @@ class MaterialButtonGroupComponent {
|
|
|
606
635
|
this.options.showErrors = true;
|
|
607
636
|
this.jsf.updateValue(this, value);
|
|
608
637
|
}
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
MaterialButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialButtonGroupComponent, selector: "material-button-group-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
638
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialButtonGroupComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
639
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialButtonGroupComponent, selector: "material-button-group-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
612
640
|
<div>
|
|
613
641
|
<div *ngIf="options?.title">
|
|
614
642
|
<label
|
|
@@ -634,8 +662,9 @@ MaterialButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
634
662
|
</mat-button-toggle-group>
|
|
635
663
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
636
664
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
637
|
-
</div>`, isInline: true, styles: ["mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i3$2.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "directive", type:
|
|
638
|
-
|
|
665
|
+
</div>`, isInline: true, styles: ["mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i3$2.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }] }); }
|
|
666
|
+
}
|
|
667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialButtonGroupComponent, decorators: [{
|
|
639
668
|
type: Component,
|
|
640
669
|
args: [{ selector: 'material-button-group-widget', template: `
|
|
641
670
|
<div>
|
|
@@ -700,9 +729,8 @@ class MaterialCheckboxComponent {
|
|
|
700
729
|
get isChecked() {
|
|
701
730
|
return this.jsf.getFormControlValue(this) === this.trueValue;
|
|
702
731
|
}
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
MaterialCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialCheckboxComponent, selector: "material-checkbox-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialCheckboxComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
733
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialCheckboxComponent, selector: "material-checkbox-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
706
734
|
<mat-checkbox *ngIf="boundControl && !showSlideToggle"
|
|
707
735
|
[formControl]="formControl"
|
|
708
736
|
align="left"
|
|
@@ -760,8 +788,9 @@ MaterialCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
760
788
|
[innerHTML]="options?.title"></span>
|
|
761
789
|
</mat-slide-toggle>
|
|
762
790
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
763
|
-
[innerHTML]="options?.errorMessage"></mat-error>`, isInline: true, styles: [".checkbox-name{white-space:nowrap}mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$
|
|
764
|
-
|
|
791
|
+
[innerHTML]="options?.errorMessage"></mat-error>`, isInline: true, styles: [".checkbox-name{white-space:nowrap}mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i6.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }] }); }
|
|
792
|
+
}
|
|
793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialCheckboxComponent, decorators: [{
|
|
765
794
|
type: Component,
|
|
766
795
|
args: [{ selector: 'material-checkbox-widget', template: `
|
|
767
796
|
<mat-checkbox *ngIf="boundControl && !showSlideToggle"
|
|
@@ -871,9 +900,8 @@ class MaterialCheckboxesComponent {
|
|
|
871
900
|
this.checkboxList.forEach(t => t.checked = event.checked);
|
|
872
901
|
this.updateValue();
|
|
873
902
|
}
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
MaterialCheckboxesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialCheckboxesComponent, selector: "material-checkboxes-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialCheckboxesComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
904
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialCheckboxesComponent, selector: "material-checkboxes-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
877
905
|
<div>
|
|
878
906
|
<mat-checkbox type="checkbox"
|
|
879
907
|
[checked]="allChecked"
|
|
@@ -906,8 +934,9 @@ MaterialCheckboxesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
906
934
|
</ul>
|
|
907
935
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
908
936
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
909
|
-
</div>`, isInline: true, styles: [".title{font-weight:700}.checkbox-list{list-style-type:none}.horizontal-list>li{display:inline-block;margin-right:10px;zoom:1}.checkbox-name{white-space:nowrap}mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$
|
|
910
|
-
|
|
937
|
+
</div>`, isInline: true, styles: [".title{font-weight:700}.checkbox-list{list-style-type:none}.horizontal-list>li{display:inline-block;margin-right:10px;zoom:1}.checkbox-name{white-space:nowrap}mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }] }); }
|
|
938
|
+
}
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialCheckboxesComponent, decorators: [{
|
|
911
940
|
type: Component,
|
|
912
941
|
args: [{ selector: 'material-checkboxes-widget', template: `
|
|
913
942
|
<div>
|
|
@@ -965,10 +994,10 @@ class MaterialChipListComponent {
|
|
|
965
994
|
updateValue(event) {
|
|
966
995
|
this.jsf.updateValue(this, event.target.value);
|
|
967
996
|
}
|
|
997
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialChipListComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
998
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialChipListComponent, selector: "material-chip-list-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true }); }
|
|
968
999
|
}
|
|
969
|
-
|
|
970
|
-
MaterialChipListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialChipListComponent, selector: "material-chip-list-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true });
|
|
971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialChipListComponent, decorators: [{
|
|
1000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialChipListComponent, decorators: [{
|
|
972
1001
|
type: Component,
|
|
973
1002
|
args: [{
|
|
974
1003
|
// tslint:disable-next-line:component-selector
|
|
@@ -998,12 +1027,11 @@ class MaterialDatepickerComponent {
|
|
|
998
1027
|
this.options.description = this.options.placeholder;
|
|
999
1028
|
}
|
|
1000
1029
|
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'standard'"
|
|
1030
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDatepickerComponent, deps: [{ token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1031
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialDatepickerComponent, selector: "material-datepicker-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1032
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1005
1033
|
[class]="options?.htmlClass || ''"
|
|
1006
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1034
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1007
1035
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1008
1036
|
[style.width]="'100%'">
|
|
1009
1037
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1049,13 +1077,14 @@ MaterialDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
1049
1077
|
</mat-form-field>
|
|
1050
1078
|
<mat-datepicker #picker ></mat-datepicker>
|
|
1051
1079
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1052
|
-
[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:
|
|
1053
|
-
|
|
1080
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.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$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$3.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4$3.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4$3.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5$1.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"] }] }); }
|
|
1081
|
+
}
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDatepickerComponent, decorators: [{
|
|
1054
1083
|
type: Component,
|
|
1055
1084
|
args: [{ selector: 'material-datepicker-widget', template: `
|
|
1056
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || '
|
|
1085
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1057
1086
|
[class]="options?.htmlClass || ''"
|
|
1058
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1087
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1059
1088
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1060
1089
|
[style.width]="'100%'">
|
|
1061
1090
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1101,7 +1130,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1101
1130
|
</mat-form-field>
|
|
1102
1131
|
<mat-datepicker #picker ></mat-datepicker>
|
|
1103
1132
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1104
|
-
[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:
|
|
1133
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"] }]
|
|
1105
1134
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1106
1135
|
type: Inject,
|
|
1107
1136
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
@@ -1197,10 +1226,10 @@ class MaterialDesignFrameworkComponent {
|
|
|
1197
1226
|
removeItem() {
|
|
1198
1227
|
this.jsf.removeItem(this);
|
|
1199
1228
|
}
|
|
1229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFrameworkComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1230
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialDesignFrameworkComponent, selector: "material-design-framework", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, usesOnChanges: true, ngImport: i0, template: "<div\n [class.array-item]=\"widgetLayoutNode?.arrayItem && widgetLayoutNode?.type !== '$ref'\"\n [orderable]=\"isOrderable\"\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"\n [layoutNode]=\"widgetLayoutNode\">\n <svg *ngIf=\"showRemoveButton\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"18\" width=\"18\" viewBox=\"0 0 24 24\"\n class=\"close-button\"\n (click)=\"removeItem()\">\n <path\n d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"/>\n </svg>\n <select-widget-widget\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"\n [layoutNode]=\"widgetLayoutNode\"></select-widget-widget>\n</div>\n<div class=\"spacer\" *ngIf=\"widgetLayoutNode?.arrayItem && widgetLayoutNode?.type !== '$ref'\"></div>\n", styles: [".array-item{border-radius:2px;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;padding:6px;position:relative;transition:all .28s cubic-bezier(.4,0,.2,1)}.close-button{cursor:pointer;position:absolute;top:6px;right:6px;fill:#0006;visibility:hidden;z-index:500}.close-button:hover{fill:#000c}.array-item:hover>.close-button{visibility:visible}.spacer{margin:6px 0}[draggable=true]:hover{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;cursor:move;z-index:10}[draggable=true].drag-target-top{box-shadow:0 -2px #000;position:relative;z-index:20}[draggable=true].drag-target-bottom{box-shadow:0 2px #000;position:relative;z-index:20}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.SelectWidgetComponent, selector: "select-widget-widget", inputs: ["layoutNode", "layoutIndex", "dataIndex"] }, { kind: "directive", type: i1.OrderableDirective, selector: "[orderable]", inputs: ["orderable", "layoutNode", "layoutIndex", "dataIndex"] }] }); }
|
|
1200
1231
|
}
|
|
1201
|
-
|
|
1202
|
-
MaterialDesignFrameworkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialDesignFrameworkComponent, selector: "material-design-framework", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, usesOnChanges: true, ngImport: i0, template: "<div\n [class.array-item]=\"widgetLayoutNode?.arrayItem && widgetLayoutNode?.type !== '$ref'\"\n [orderable]=\"isOrderable\"\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"\n [layoutNode]=\"widgetLayoutNode\">\n <svg *ngIf=\"showRemoveButton\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"18\" width=\"18\" viewBox=\"0 0 24 24\"\n class=\"close-button\"\n (click)=\"removeItem()\">\n <path\n d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"/>\n </svg>\n <select-widget-widget\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"\n [layoutNode]=\"widgetLayoutNode\"></select-widget-widget>\n</div>\n<div class=\"spacer\" *ngIf=\"widgetLayoutNode?.arrayItem && widgetLayoutNode?.type !== '$ref'\"></div>\n", styles: [".array-item{border-radius:2px;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;padding:6px;position:relative;transition:all .28s cubic-bezier(.4,0,.2,1)}.close-button{cursor:pointer;position:absolute;top:6px;right:6px;fill:#0006;visibility:hidden;z-index:500}.close-button:hover{fill:#000c}.array-item:hover>.close-button{visibility:visible}.spacer{margin:6px 0}[draggable=true]:hover{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;cursor:move;z-index:10}[draggable=true].drag-target-top{box-shadow:0 -2px #000;position:relative;z-index:20}[draggable=true].drag-target-bottom{box-shadow:0 2px #000;position:relative;z-index:20}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.SelectWidgetComponent, selector: "select-widget-widget", inputs: ["layoutNode", "layoutIndex", "dataIndex"] }, { kind: "directive", type: i1.OrderableDirective, selector: "[orderable]", inputs: ["orderable", "layoutNode", "layoutIndex", "dataIndex"] }] });
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialDesignFrameworkComponent, decorators: [{
|
|
1232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFrameworkComponent, decorators: [{
|
|
1204
1233
|
type: Component,
|
|
1205
1234
|
args: [{ selector: 'material-design-framework', template: "<div\n [class.array-item]=\"widgetLayoutNode?.arrayItem && widgetLayoutNode?.type !== '$ref'\"\n [orderable]=\"isOrderable\"\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"\n [layoutNode]=\"widgetLayoutNode\">\n <svg *ngIf=\"showRemoveButton\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"18\" width=\"18\" viewBox=\"0 0 24 24\"\n class=\"close-button\"\n (click)=\"removeItem()\">\n <path\n d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"/>\n </svg>\n <select-widget-widget\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"\n [layoutNode]=\"widgetLayoutNode\"></select-widget-widget>\n</div>\n<div class=\"spacer\" *ngIf=\"widgetLayoutNode?.arrayItem && widgetLayoutNode?.type !== '$ref'\"></div>\n", styles: [".array-item{border-radius:2px;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;padding:6px;position:relative;transition:all .28s cubic-bezier(.4,0,.2,1)}.close-button{cursor:pointer;position:absolute;top:6px;right:6px;fill:#0006;visibility:hidden;z-index:500}.close-button:hover{fill:#000c}.array-item:hover>.close-button{visibility:visible}.spacer{margin:6px 0}[draggable=true]:hover{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f;cursor:move;z-index:10}[draggable=true].drag-target-top{box-shadow:0 -2px #000;position:relative;z-index:20}[draggable=true].drag-target-bottom{box-shadow:0 2px #000;position:relative;z-index:20}\n"] }]
|
|
1206
1235
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
|
|
@@ -1225,10 +1254,10 @@ class MaterialFileComponent {
|
|
|
1225
1254
|
updateValue(event) {
|
|
1226
1255
|
this.jsf.updateValue(this, event.target.value);
|
|
1227
1256
|
}
|
|
1257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialFileComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1258
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialFileComponent, selector: "material-file-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true }); }
|
|
1228
1259
|
}
|
|
1229
|
-
|
|
1230
|
-
MaterialFileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialFileComponent, selector: "material-file-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true });
|
|
1231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialFileComponent, decorators: [{
|
|
1260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialFileComponent, decorators: [{
|
|
1232
1261
|
type: Component,
|
|
1233
1262
|
args: [{
|
|
1234
1263
|
// tslint:disable-next-line:component-selector
|
|
@@ -1261,12 +1290,11 @@ class MaterialInputComponent {
|
|
|
1261
1290
|
updateValue(event) {
|
|
1262
1291
|
this.jsf.updateValue(this, event.target.value);
|
|
1263
1292
|
}
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'standard'"
|
|
1293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialInputComponent, deps: [{ token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1294
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialInputComponent, selector: "material-input-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1295
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1268
1296
|
[class]="options?.htmlClass || ''"
|
|
1269
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1297
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1270
1298
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1271
1299
|
[style.width]="'100%'">
|
|
1272
1300
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1314,13 +1342,14 @@ MaterialInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1314
1342
|
</mat-autocomplete>
|
|
1315
1343
|
</mat-form-field>
|
|
1316
1344
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1317
|
-
[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:
|
|
1318
|
-
|
|
1345
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.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$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple", "hideSingleSelectionIndicator"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i4$5.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5$1.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"] }] }); }
|
|
1346
|
+
}
|
|
1347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialInputComponent, decorators: [{
|
|
1319
1348
|
type: Component,
|
|
1320
1349
|
args: [{ selector: 'material-input-widget', template: `
|
|
1321
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || '
|
|
1350
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1322
1351
|
[class]="options?.htmlClass || ''"
|
|
1323
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1352
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1324
1353
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1325
1354
|
[style.width]="'100%'">
|
|
1326
1355
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1368,7 +1397,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1368
1397
|
</mat-autocomplete>
|
|
1369
1398
|
</mat-form-field>
|
|
1370
1399
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1371
|
-
[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:
|
|
1400
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"] }]
|
|
1372
1401
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1373
1402
|
type: Inject,
|
|
1374
1403
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
@@ -1406,12 +1435,11 @@ class MaterialNumberComponent {
|
|
|
1406
1435
|
updateValue(event) {
|
|
1407
1436
|
this.jsf.updateValue(this, event.target.value);
|
|
1408
1437
|
}
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'standard'"
|
|
1438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialNumberComponent, deps: [{ token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1439
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialNumberComponent, selector: "material-number-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1440
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1413
1441
|
[class]="options?.htmlClass || ''"
|
|
1414
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1442
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1415
1443
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1416
1444
|
[style.width]="'100%'">
|
|
1417
1445
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1455,13 +1483,14 @@ MaterialNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1455
1483
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
1456
1484
|
</mat-form-field>
|
|
1457
1485
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1458
|
-
[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:
|
|
1459
|
-
|
|
1486
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.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$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5$1.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"] }] }); }
|
|
1487
|
+
}
|
|
1488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialNumberComponent, decorators: [{
|
|
1460
1489
|
type: Component,
|
|
1461
1490
|
args: [{ selector: 'material-number-widget', template: `
|
|
1462
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || '
|
|
1491
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1463
1492
|
[class]="options?.htmlClass || ''"
|
|
1464
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1493
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1465
1494
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1466
1495
|
[style.width]="'100%'">
|
|
1467
1496
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1505,7 +1534,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1505
1534
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
1506
1535
|
</mat-form-field>
|
|
1507
1536
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1508
|
-
[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:
|
|
1537
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"] }]
|
|
1509
1538
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1510
1539
|
type: Inject,
|
|
1511
1540
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
@@ -1533,10 +1562,10 @@ class MaterialOneOfComponent {
|
|
|
1533
1562
|
updateValue(event) {
|
|
1534
1563
|
this.jsf.updateValue(this, event.target.value);
|
|
1535
1564
|
}
|
|
1565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialOneOfComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1566
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialOneOfComponent, selector: "material-one-of-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true }); }
|
|
1536
1567
|
}
|
|
1537
|
-
|
|
1538
|
-
MaterialOneOfComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialOneOfComponent, selector: "material-one-of-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true });
|
|
1539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialOneOfComponent, decorators: [{
|
|
1568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialOneOfComponent, decorators: [{
|
|
1540
1569
|
type: Component,
|
|
1541
1570
|
args: [{
|
|
1542
1571
|
// tslint:disable-next-line:component-selector
|
|
@@ -1571,9 +1600,8 @@ class MaterialRadiosComponent {
|
|
|
1571
1600
|
this.options.showErrors = true;
|
|
1572
1601
|
this.jsf.updateValue(this, value);
|
|
1573
1602
|
}
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
MaterialRadiosComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialRadiosComponent, selector: "material-radios-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1603
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialRadiosComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1604
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialRadiosComponent, selector: "material-radios-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1577
1605
|
<div>
|
|
1578
1606
|
<div *ngIf="options?.title">
|
|
1579
1607
|
<label
|
|
@@ -1613,8 +1641,9 @@ MaterialRadiosComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1613
1641
|
</mat-radio-group>
|
|
1614
1642
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1615
1643
|
[innerHTML]="options?.errorMessage"></mat-error>
|
|
1616
|
-
</div>`, isInline: true, styles: ["mat-radio-group{display:inline-flex}mat-radio-button{margin:2px}mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.
|
|
1617
|
-
|
|
1644
|
+
</div>`, isInline: true, styles: ["mat-radio-group{display:inline-flex}mat-radio-button{margin:2px}mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5$2.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i5$2.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }] }); }
|
|
1645
|
+
}
|
|
1646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialRadiosComponent, decorators: [{
|
|
1618
1647
|
type: Component,
|
|
1619
1648
|
args: [{ selector: 'material-radios-widget', template: `
|
|
1620
1649
|
<div>
|
|
@@ -1686,13 +1715,12 @@ class MaterialSelectComponent {
|
|
|
1686
1715
|
this.options.showErrors = true;
|
|
1687
1716
|
this.jsf.updateValue(this, event.value);
|
|
1688
1717
|
}
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialSelectComponent, selector: "material-select-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialSelectComponent, deps: [{ token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1719
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialSelectComponent, selector: "material-select-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1692
1720
|
<mat-form-field
|
|
1693
|
-
[appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || '
|
|
1721
|
+
[appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1694
1722
|
[class]="options?.htmlClass || ''"
|
|
1695
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1723
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1696
1724
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1697
1725
|
[style.width]="'100%'">
|
|
1698
1726
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1756,14 +1784,15 @@ MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1756
1784
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
1757
1785
|
</mat-form-field>
|
|
1758
1786
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1759
|
-
[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:
|
|
1760
|
-
|
|
1787
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$5.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i4$5.MatOptgroup, selector: "mat-optgroup", inputs: ["disabled"], exportAs: ["matOptgroup"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i6$1.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }] }); }
|
|
1788
|
+
}
|
|
1789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialSelectComponent, decorators: [{
|
|
1761
1790
|
type: Component,
|
|
1762
1791
|
args: [{ selector: 'material-select-widget', template: `
|
|
1763
1792
|
<mat-form-field
|
|
1764
|
-
[appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || '
|
|
1793
|
+
[appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
1765
1794
|
[class]="options?.htmlClass || ''"
|
|
1766
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
1795
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
1767
1796
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
1768
1797
|
[style.width]="'100%'">
|
|
1769
1798
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -1827,7 +1856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1827
1856
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
1828
1857
|
</mat-form-field>
|
|
1829
1858
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1830
|
-
[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:
|
|
1859
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"] }]
|
|
1831
1860
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1832
1861
|
type: Inject,
|
|
1833
1862
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
@@ -1859,19 +1888,17 @@ class MaterialSliderComponent {
|
|
|
1859
1888
|
this.options.showErrors = true;
|
|
1860
1889
|
this.jsf.updateValue(this, event.value);
|
|
1861
1890
|
}
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
<mat-slider thumbLabel *ngIf="boundControl"
|
|
1866
|
-
[formControl]="formControl"
|
|
1891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialSliderComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1892
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialSliderComponent, selector: "material-slider-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1893
|
+
<mat-slider discrete *ngIf="boundControl"
|
|
1867
1894
|
[attr.aria-describedby]="'control' + layoutNode?._id + 'Status'"
|
|
1868
1895
|
[id]="'control' + layoutNode?._id"
|
|
1869
1896
|
[max]="options?.maximum"
|
|
1870
1897
|
[min]="options?.minimum"
|
|
1871
1898
|
[step]="options?.multipleOf || options?.step || 'any'"
|
|
1872
1899
|
[style.width]="'100%'"
|
|
1873
|
-
(blur)="options.showErrors = true"
|
|
1874
|
-
<mat-slider
|
|
1900
|
+
><input matSliderThumb [formControl]="formControl" (blur)="options.showErrors = true" /></mat-slider>
|
|
1901
|
+
<mat-slider discrete *ngIf="!boundControl"
|
|
1875
1902
|
[attr.aria-describedby]="'control' + layoutNode?._id + 'Status'"
|
|
1876
1903
|
[disabled]="controlDisabled || options?.readonly"
|
|
1877
1904
|
[id]="'control' + layoutNode?._id"
|
|
@@ -1879,24 +1906,22 @@ MaterialSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
1879
1906
|
[min]="options?.minimum"
|
|
1880
1907
|
[step]="options?.multipleOf || options?.step || 'any'"
|
|
1881
1908
|
[style.width]="'100%'"
|
|
1882
|
-
[value]="controlValue"
|
|
1883
|
-
(blur)="options.showErrors = true"
|
|
1884
|
-
(change)="updateValue($event)"></mat-slider>
|
|
1909
|
+
(blur)="options.showErrors = true" #ngSlider><input matSliderThumb [value]="controlValue" (change)="updateValue({source: ngSliderThumb, parent: ngSlider, value: ngSliderThumb.value})" #ngSliderThumb="matSliderThumb" /></mat-slider>
|
|
1885
1910
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1886
|
-
[innerHTML]="options?.errorMessage"></mat-error>`, isInline: true, styles: ["mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type:
|
|
1887
|
-
|
|
1911
|
+
[innerHTML]="options?.errorMessage"></mat-error>`, isInline: true, styles: ["mat-error{font-size:75%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.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$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i5$3.MatSlider, selector: "mat-slider", inputs: ["color", "disableRipple", "disabled", "discrete", "showTickMarks", "min", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i5$3.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }] }); }
|
|
1912
|
+
}
|
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialSliderComponent, decorators: [{
|
|
1888
1914
|
type: Component,
|
|
1889
1915
|
args: [{ selector: 'material-slider-widget', template: `
|
|
1890
|
-
<mat-slider
|
|
1891
|
-
[formControl]="formControl"
|
|
1916
|
+
<mat-slider discrete *ngIf="boundControl"
|
|
1892
1917
|
[attr.aria-describedby]="'control' + layoutNode?._id + 'Status'"
|
|
1893
1918
|
[id]="'control' + layoutNode?._id"
|
|
1894
1919
|
[max]="options?.maximum"
|
|
1895
1920
|
[min]="options?.minimum"
|
|
1896
1921
|
[step]="options?.multipleOf || options?.step || 'any'"
|
|
1897
1922
|
[style.width]="'100%'"
|
|
1898
|
-
(blur)="options.showErrors = true"
|
|
1899
|
-
<mat-slider
|
|
1923
|
+
><input matSliderThumb [formControl]="formControl" (blur)="options.showErrors = true" /></mat-slider>
|
|
1924
|
+
<mat-slider discrete *ngIf="!boundControl"
|
|
1900
1925
|
[attr.aria-describedby]="'control' + layoutNode?._id + 'Status'"
|
|
1901
1926
|
[disabled]="controlDisabled || options?.readonly"
|
|
1902
1927
|
[id]="'control' + layoutNode?._id"
|
|
@@ -1904,9 +1929,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1904
1929
|
[min]="options?.minimum"
|
|
1905
1930
|
[step]="options?.multipleOf || options?.step || 'any'"
|
|
1906
1931
|
[style.width]="'100%'"
|
|
1907
|
-
[value]="controlValue"
|
|
1908
|
-
(blur)="options.showErrors = true"
|
|
1909
|
-
(change)="updateValue($event)"></mat-slider>
|
|
1932
|
+
(blur)="options.showErrors = true" #ngSlider><input matSliderThumb [value]="controlValue" (change)="updateValue({source: ngSliderThumb, parent: ngSlider, value: ngSliderThumb.value})" #ngSliderThumb="matSliderThumb" /></mat-slider>
|
|
1910
1933
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
1911
1934
|
[innerHTML]="options?.errorMessage"></mat-error>`, styles: ["mat-error{font-size:75%}\n"] }]
|
|
1912
1935
|
}], ctorParameters: function () { return [{ type: i1.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
|
|
@@ -1931,10 +1954,10 @@ class MaterialStepperComponent {
|
|
|
1931
1954
|
updateValue(event) {
|
|
1932
1955
|
this.jsf.updateValue(this, event.target.value);
|
|
1933
1956
|
}
|
|
1957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialStepperComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1958
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialStepperComponent, selector: "material-stepper-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true }); }
|
|
1934
1959
|
}
|
|
1935
|
-
|
|
1936
|
-
MaterialStepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialStepperComponent, selector: "material-stepper-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: ``, isInline: true });
|
|
1937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialStepperComponent, decorators: [{
|
|
1960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialStepperComponent, decorators: [{
|
|
1938
1961
|
type: Component,
|
|
1939
1962
|
args: [{
|
|
1940
1963
|
// tslint:disable-next-line:component-selector
|
|
@@ -1980,11 +2003,11 @@ class MaterialTabsComponent {
|
|
|
1980
2003
|
setTabTitle(item, index) {
|
|
1981
2004
|
return this.jsf.setArrayItemTitle(this, item, index);
|
|
1982
2005
|
}
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
MaterialTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MaterialTabsComponent, selector: "material-tabs-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
2006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialTabsComponent, deps: [{ token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2007
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialTabsComponent, selector: "material-tabs-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
1986
2008
|
<nav mat-tab-nav-bar
|
|
1987
2009
|
[attr.aria-label]="options?.label || options?.title || ''"
|
|
2010
|
+
[tabPanel]="tabPanel"
|
|
1988
2011
|
[style.width]="'100%'">
|
|
1989
2012
|
<a mat-tab-link *ngFor="let item of layoutNode?.items; let i = index"
|
|
1990
2013
|
[active]="selectedItem === i"
|
|
@@ -1993,6 +2016,9 @@ MaterialTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1993
2016
|
[innerHTML]="setTabTitle(item, i)"></span>
|
|
1994
2017
|
</a>
|
|
1995
2018
|
</nav>
|
|
2019
|
+
<!-- MDC requires mat-tab-nav-bar to reference a mat-tab-nav-panel, which
|
|
2020
|
+
did not exist before v15. It wraps the content the nav switches. -->
|
|
2021
|
+
<div mat-tab-nav-panel #tabPanel>
|
|
1996
2022
|
<div *ngFor="let layoutItem of layoutNode?.items; let i = index"
|
|
1997
2023
|
[class]="options?.htmlClass || ''">
|
|
1998
2024
|
<select-framework-widget *ngIf="selectedItem === i"
|
|
@@ -2000,12 +2026,15 @@ MaterialTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
2000
2026
|
[dataIndex]="layoutNode?.dataType === 'array' ? (dataIndex || []).concat(i) : dataIndex"
|
|
2001
2027
|
[layoutIndex]="(layoutIndex || []).concat(i)"
|
|
2002
2028
|
[layoutNode]="layoutItem"></select-framework-widget>
|
|
2003
|
-
</div
|
|
2004
|
-
|
|
2029
|
+
</div>
|
|
2030
|
+
</div>`, isInline: true, styles: ["a{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$4.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "animationDuration"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i3$4.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["disabled", "disableRipple", "tabIndex", "active", "id"], exportAs: ["matTabLink"] }, { kind: "component", type: i1.SelectFrameworkComponent, selector: "select-framework-widget", inputs: ["layoutNode", "layoutIndex", "dataIndex"] }] }); }
|
|
2031
|
+
}
|
|
2032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialTabsComponent, decorators: [{
|
|
2005
2033
|
type: Component,
|
|
2006
2034
|
args: [{ selector: 'material-tabs-widget', template: `
|
|
2007
2035
|
<nav mat-tab-nav-bar
|
|
2008
2036
|
[attr.aria-label]="options?.label || options?.title || ''"
|
|
2037
|
+
[tabPanel]="tabPanel"
|
|
2009
2038
|
[style.width]="'100%'">
|
|
2010
2039
|
<a mat-tab-link *ngFor="let item of layoutNode?.items; let i = index"
|
|
2011
2040
|
[active]="selectedItem === i"
|
|
@@ -2014,6 +2043,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
2014
2043
|
[innerHTML]="setTabTitle(item, i)"></span>
|
|
2015
2044
|
</a>
|
|
2016
2045
|
</nav>
|
|
2046
|
+
<!-- MDC requires mat-tab-nav-bar to reference a mat-tab-nav-panel, which
|
|
2047
|
+
did not exist before v15. It wraps the content the nav switches. -->
|
|
2048
|
+
<div mat-tab-nav-panel #tabPanel>
|
|
2017
2049
|
<div *ngFor="let layoutItem of layoutNode?.items; let i = index"
|
|
2018
2050
|
[class]="options?.htmlClass || ''">
|
|
2019
2051
|
<select-framework-widget *ngIf="selectedItem === i"
|
|
@@ -2021,6 +2053,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
2021
2053
|
[dataIndex]="layoutNode?.dataType === 'array' ? (dataIndex || []).concat(i) : dataIndex"
|
|
2022
2054
|
[layoutIndex]="(layoutIndex || []).concat(i)"
|
|
2023
2055
|
[layoutNode]="layoutItem"></select-framework-widget>
|
|
2056
|
+
</div>
|
|
2024
2057
|
</div>`, styles: ["a{cursor:pointer}\n"] }]
|
|
2025
2058
|
}], ctorParameters: function () { return [{ type: i1.JsonSchemaFormService }]; }, propDecorators: { layoutNode: [{
|
|
2026
2059
|
type: Input
|
|
@@ -2047,12 +2080,11 @@ class MaterialTextareaComponent {
|
|
|
2047
2080
|
updateValue(event) {
|
|
2048
2081
|
this.jsf.updateValue(this, event.target.value);
|
|
2049
2082
|
}
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'standard'"
|
|
2083
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialTextareaComponent, deps: [{ token: MAT_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i1.JsonSchemaFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2084
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MaterialTextareaComponent, selector: "material-textarea-widget", inputs: { layoutNode: "layoutNode", layoutIndex: "layoutIndex", dataIndex: "dataIndex" }, ngImport: i0, template: `
|
|
2085
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
2054
2086
|
[class]="options?.htmlClass || ''"
|
|
2055
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
2087
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
2056
2088
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
2057
2089
|
[style.width]="'100%'">
|
|
2058
2090
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -2094,13 +2126,14 @@ MaterialTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
2094
2126
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
2095
2127
|
</mat-form-field>
|
|
2096
2128
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
2097
|
-
[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:
|
|
2098
|
-
|
|
2129
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$3.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$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5$1.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"] }] }); }
|
|
2130
|
+
}
|
|
2131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialTextareaComponent, decorators: [{
|
|
2099
2132
|
type: Component,
|
|
2100
2133
|
args: [{ selector: 'material-textarea-widget', template: `
|
|
2101
|
-
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || '
|
|
2134
|
+
<mat-form-field [appearance]="options?.appearance || matFormFieldDefaultOptions?.appearance || 'fill'"
|
|
2102
2135
|
[class]="options?.htmlClass || ''"
|
|
2103
|
-
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel ||
|
|
2136
|
+
[floatLabel]="options?.floatLabel || matFormFieldDefaultOptions?.floatLabel || 'auto'"
|
|
2104
2137
|
[hideRequiredMarker]="options?.hideRequired ? 'true' : 'false'"
|
|
2105
2138
|
[style.width]="'100%'">
|
|
2106
2139
|
<mat-label *ngIf="!options?.notitle">{{options?.title}}</mat-label>
|
|
@@ -2142,7 +2175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
2142
2175
|
align="end" [innerHTML]="options?.description"></mat-hint>
|
|
2143
2176
|
</mat-form-field>
|
|
2144
2177
|
<mat-error *ngIf="options?.showErrors && options?.errorMessage"
|
|
2145
|
-
[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:
|
|
2178
|
+
[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-mdc-form-field-wrapper .mat-form-field-flex .mat-form-field-infix{width:initial}\n"] }]
|
|
2146
2179
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2147
2180
|
type: Inject,
|
|
2148
2181
|
args: [MAT_FORM_FIELD_DEFAULT_OPTIONS]
|
|
@@ -2214,24 +2247,13 @@ class MaterialDesignFramework extends Framework {
|
|
|
2214
2247
|
'wizard': 'stepper',
|
|
2215
2248
|
};
|
|
2216
2249
|
}
|
|
2250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFramework, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2251
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFramework }); }
|
|
2217
2252
|
}
|
|
2218
|
-
|
|
2219
|
-
MaterialDesignFramework.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialDesignFramework });
|
|
2220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialDesignFramework, decorators: [{
|
|
2253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFramework, decorators: [{
|
|
2221
2254
|
type: Injectable
|
|
2222
2255
|
}] });
|
|
2223
2256
|
|
|
2224
|
-
function fixAngularFlex() {
|
|
2225
|
-
// monkey patch based on errors in console - https://github.com/angular/flex-layout/issues/1011
|
|
2226
|
-
const MediaMarshallerUpdateElement = MediaMarshaller.prototype.updateElement;
|
|
2227
|
-
MediaMarshaller.prototype.updateElement = function (element, key, value) {
|
|
2228
|
-
if (key === 'layout-gap' && (value === null || value === undefined)) {
|
|
2229
|
-
value = '0px';
|
|
2230
|
-
}
|
|
2231
|
-
MediaMarshallerUpdateElement.apply(this, [element, key, value]);
|
|
2232
|
-
};
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
2257
|
/**
|
|
2236
2258
|
* unused @angular/material modules:
|
|
2237
2259
|
* MatDialogModule, MatGridListModule, MatListModule, MatMenuModule,
|
|
@@ -2248,39 +2270,33 @@ const ANGULAR_MATERIAL_MODULES = [
|
|
|
2248
2270
|
MatToolbarModule, MatMenuModule, MatToolbarModule,
|
|
2249
2271
|
];
|
|
2250
2272
|
class MaterialDesignFrameworkModule {
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFrameworkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2274
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFrameworkModule, declarations: [FlexLayoutRootComponent, FlexLayoutSectionComponent, MaterialAddReferenceComponent, MaterialOneOfComponent, MaterialButtonComponent, MaterialButtonGroupComponent, MaterialCheckboxComponent, MaterialCheckboxesComponent, MaterialChipListComponent, MaterialDatepickerComponent, MaterialFileComponent, MaterialInputComponent, MaterialNumberComponent, MaterialRadiosComponent, MaterialSelectComponent, MaterialSliderComponent, MaterialStepperComponent, MaterialTabsComponent, MaterialTextareaComponent, MaterialDesignFrameworkComponent], imports: [CommonModule,
|
|
2275
|
+
FormsModule,
|
|
2276
|
+
ReactiveFormsModule, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatCardModule,
|
|
2277
|
+
MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatExpansionModule,
|
|
2278
|
+
MatFormFieldModule, MatIconModule, MatInputModule, MatNativeDateModule,
|
|
2279
|
+
MatRadioModule, MatSelectModule, MatSliderModule, MatSlideToggleModule,
|
|
2280
|
+
MatStepperModule, MatTabsModule, MatTooltipModule,
|
|
2281
|
+
MatToolbarModule, MatMenuModule, MatToolbarModule, WidgetLibraryModule,
|
|
2282
|
+
JsonSchemaFormModule], exports: [JsonSchemaFormModule, FlexLayoutRootComponent, FlexLayoutSectionComponent, MaterialAddReferenceComponent, MaterialOneOfComponent, MaterialButtonComponent, MaterialButtonGroupComponent, MaterialCheckboxComponent, MaterialCheckboxesComponent, MaterialChipListComponent, MaterialDatepickerComponent, MaterialFileComponent, MaterialInputComponent, MaterialNumberComponent, MaterialRadiosComponent, MaterialSelectComponent, MaterialSliderComponent, MaterialStepperComponent, MaterialTabsComponent, MaterialTextareaComponent, MaterialDesignFrameworkComponent] }); }
|
|
2283
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFrameworkModule, providers: [
|
|
2284
|
+
JsonSchemaFormService,
|
|
2285
|
+
FrameworkLibraryService,
|
|
2286
|
+
WidgetLibraryService,
|
|
2287
|
+
{ provide: Framework, useClass: MaterialDesignFramework, multi: true },
|
|
2288
|
+
], imports: [CommonModule,
|
|
2289
|
+
FormsModule,
|
|
2290
|
+
ReactiveFormsModule, ANGULAR_MATERIAL_MODULES, WidgetLibraryModule,
|
|
2291
|
+
JsonSchemaFormModule, JsonSchemaFormModule] }); }
|
|
2254
2292
|
}
|
|
2255
|
-
|
|
2256
|
-
MaterialDesignFrameworkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: MaterialDesignFrameworkModule, declarations: [FlexLayoutRootComponent, FlexLayoutSectionComponent, MaterialAddReferenceComponent, MaterialOneOfComponent, MaterialButtonComponent, MaterialButtonGroupComponent, MaterialCheckboxComponent, MaterialCheckboxesComponent, MaterialChipListComponent, MaterialDatepickerComponent, MaterialFileComponent, MaterialInputComponent, MaterialNumberComponent, MaterialRadiosComponent, MaterialSelectComponent, MaterialSliderComponent, MaterialStepperComponent, MaterialTabsComponent, MaterialTextareaComponent, MaterialDesignFrameworkComponent], imports: [CommonModule,
|
|
2257
|
-
FormsModule,
|
|
2258
|
-
ReactiveFormsModule,
|
|
2259
|
-
FlexLayoutModule, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatCardModule,
|
|
2260
|
-
MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatExpansionModule,
|
|
2261
|
-
MatFormFieldModule, MatIconModule, MatInputModule, MatNativeDateModule,
|
|
2262
|
-
MatRadioModule, MatSelectModule, MatSliderModule, MatSlideToggleModule,
|
|
2263
|
-
MatStepperModule, MatTabsModule, MatTooltipModule,
|
|
2264
|
-
MatToolbarModule, MatMenuModule, MatToolbarModule, WidgetLibraryModule,
|
|
2265
|
-
JsonSchemaFormModule], exports: [JsonSchemaFormModule, FlexLayoutRootComponent, FlexLayoutSectionComponent, MaterialAddReferenceComponent, MaterialOneOfComponent, MaterialButtonComponent, MaterialButtonGroupComponent, MaterialCheckboxComponent, MaterialCheckboxesComponent, MaterialChipListComponent, MaterialDatepickerComponent, MaterialFileComponent, MaterialInputComponent, MaterialNumberComponent, MaterialRadiosComponent, MaterialSelectComponent, MaterialSliderComponent, MaterialStepperComponent, MaterialTabsComponent, MaterialTextareaComponent, MaterialDesignFrameworkComponent] });
|
|
2266
|
-
MaterialDesignFrameworkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialDesignFrameworkModule, providers: [
|
|
2267
|
-
JsonSchemaFormService,
|
|
2268
|
-
FrameworkLibraryService,
|
|
2269
|
-
WidgetLibraryService,
|
|
2270
|
-
{ provide: Framework, useClass: MaterialDesignFramework, multi: true },
|
|
2271
|
-
], imports: [CommonModule,
|
|
2272
|
-
FormsModule,
|
|
2273
|
-
ReactiveFormsModule,
|
|
2274
|
-
FlexLayoutModule, ANGULAR_MATERIAL_MODULES, WidgetLibraryModule,
|
|
2275
|
-
JsonSchemaFormModule, JsonSchemaFormModule] });
|
|
2276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MaterialDesignFrameworkModule, decorators: [{
|
|
2293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MaterialDesignFrameworkModule, decorators: [{
|
|
2277
2294
|
type: NgModule,
|
|
2278
2295
|
args: [{
|
|
2279
2296
|
imports: [
|
|
2280
2297
|
CommonModule,
|
|
2281
2298
|
FormsModule,
|
|
2282
2299
|
ReactiveFormsModule,
|
|
2283
|
-
FlexLayoutModule,
|
|
2284
2300
|
...ANGULAR_MATERIAL_MODULES,
|
|
2285
2301
|
WidgetLibraryModule,
|
|
2286
2302
|
JsonSchemaFormModule,
|
|
@@ -2299,7 +2315,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
2299
2315
|
{ provide: Framework, useClass: MaterialDesignFramework, multi: true },
|
|
2300
2316
|
]
|
|
2301
2317
|
}]
|
|
2302
|
-
}]
|
|
2318
|
+
}] });
|
|
2303
2319
|
|
|
2304
2320
|
/*
|
|
2305
2321
|
* Public API Surface of @ajsf/material-framework
|