@jsonforms/angular-material 3.8.0-alpha.1 → 3.8.0-beta.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/lib/fesm2022/jsonforms-angular-material.mjs +141 -211
- package/lib/fesm2022/jsonforms-angular-material.mjs.map +1 -1
- package/lib/index.d.ts +353 -4
- package/lib/index.d.ts.map +1 -0
- package/package.json +35 -35
- package/src/library/controls/boolean.renderer.ts +3 -7
- package/src/library/controls/date.renderer.ts +4 -9
- package/src/library/controls/enum.renderer.ts +1 -5
- package/src/library/controls/number.renderer.ts +1 -5
- package/src/library/controls/range.renderer.ts +4 -8
- package/src/library/controls/text.renderer.ts +1 -4
- package/src/library/controls/textarea.renderer.ts +1 -4
- package/src/library/controls/toggle.renderer.ts +4 -8
- package/src/library/layouts/array-layout.renderer.ts +1 -8
- package/src/library/layouts/categorization-layout.renderer.ts +2 -4
- package/src/library/layouts/group-layout.renderer.ts +3 -14
- package/src/library/layouts/horizontal-layout.renderer.ts +3 -14
- package/src/library/layouts/layout.renderer.ts +3 -6
- package/src/library/layouts/vertical-layout.renderer.ts +3 -14
- package/src/library/other/label.renderer.ts +2 -4
- package/src/library/other/master-detail/master.ts +3 -10
- package/src/library/other/object.renderer.ts +0 -4
- package/src/library/other/table.renderer.ts +1 -8
- package/lib/jsonforms-angular-material.d.ts.map +0 -1
- package/lib/library/controls/boolean.renderer.d.ts +0 -15
- package/lib/library/controls/boolean.renderer.d.ts.map +0 -1
- package/lib/library/controls/date.renderer.d.ts +0 -24
- package/lib/library/controls/date.renderer.d.ts.map +0 -1
- package/lib/library/controls/enum.renderer.d.ts +0 -39
- package/lib/library/controls/enum.renderer.d.ts.map +0 -1
- package/lib/library/controls/index.d.ts +0 -9
- package/lib/library/controls/index.d.ts.map +0 -1
- package/lib/library/controls/number.renderer.d.ts +0 -24
- package/lib/library/controls/number.renderer.d.ts.map +0 -1
- package/lib/library/controls/range.renderer.d.ts +0 -18
- package/lib/library/controls/range.renderer.d.ts.map +0 -1
- package/lib/library/controls/text.renderer.d.ts +0 -13
- package/lib/library/controls/text.renderer.d.ts.map +0 -1
- package/lib/library/controls/textarea.renderer.d.ts +0 -12
- package/lib/library/controls/textarea.renderer.d.ts.map +0 -1
- package/lib/library/controls/toggle.renderer.d.ts +0 -15
- package/lib/library/controls/toggle.renderer.d.ts.map +0 -1
- package/lib/library/index.d.ts +0 -10
- package/lib/library/index.d.ts.map +0 -1
- package/lib/library/layouts/array-layout.renderer.d.ts +0 -34
- package/lib/library/layouts/array-layout.renderer.d.ts.map +0 -1
- package/lib/library/layouts/categorization-layout.renderer.d.ts +0 -16
- package/lib/library/layouts/categorization-layout.renderer.d.ts.map +0 -1
- package/lib/library/layouts/group-layout.renderer.d.ts +0 -12
- package/lib/library/layouts/group-layout.renderer.d.ts.map +0 -1
- package/lib/library/layouts/horizontal-layout.renderer.d.ts +0 -12
- package/lib/library/layouts/horizontal-layout.renderer.d.ts.map +0 -1
- package/lib/library/layouts/index.d.ts +0 -7
- package/lib/library/layouts/index.d.ts.map +0 -1
- package/lib/library/layouts/layout.renderer.d.ts +0 -21
- package/lib/library/layouts/layout.renderer.d.ts.map +0 -1
- package/lib/library/layouts/vertical-layout.renderer.d.ts +0 -12
- package/lib/library/layouts/vertical-layout.renderer.d.ts.map +0 -1
- package/lib/library/module.d.ts +0 -48
- package/lib/library/module.d.ts.map +0 -1
- package/lib/library/other/index.d.ts +0 -5
- package/lib/library/other/index.d.ts.map +0 -1
- package/lib/library/other/label.renderer.d.ts +0 -15
- package/lib/library/other/label.renderer.d.ts.map +0 -1
- package/lib/library/other/master-detail/detail.d.ts +0 -10
- package/lib/library/other/master-detail/detail.d.ts.map +0 -1
- package/lib/library/other/master-detail/index.d.ts +0 -3
- package/lib/library/other/master-detail/index.d.ts.map +0 -1
- package/lib/library/other/master-detail/master.d.ts +0 -32
- package/lib/library/other/master-detail/master.d.ts.map +0 -1
- package/lib/library/other/object.renderer.d.ts +0 -12
- package/lib/library/other/object.renderer.d.ts.map +0 -1
- package/lib/library/other/table.renderer.d.ts +0 -47
- package/lib/library/other/table.renderer.d.ts.map +0 -1
- package/lib/library/util/date-format.d.ts +0 -17
- package/lib/library/util/date-format.d.ts.map +0 -1
- package/lib/library/util/dayjs-date-adapter.d.ts +0 -28
- package/lib/library/util/dayjs-date-adapter.d.ts.map +0 -1
- package/lib/public_api.d.ts +0 -2
- package/lib/public_api.d.ts.map +0 -1
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i1 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i2$1 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i5$1 from '@angular/material/autocomplete';
|
|
6
6
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
7
|
-
import * as i4$
|
|
7
|
+
import * as i4$1 from '@angular/material/button';
|
|
8
8
|
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
-
import * as i6$
|
|
9
|
+
import * as i6$1 from '@angular/material/badge';
|
|
10
10
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
11
|
-
import * as i3$
|
|
11
|
+
import * as i3$2 from '@angular/material/card';
|
|
12
12
|
import { MatCardModule } from '@angular/material/card';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i2 from '@angular/material/checkbox';
|
|
14
14
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i5 from '@angular/material/datepicker';
|
|
16
16
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i3 from '@angular/material/form-field';
|
|
18
18
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
19
|
-
import * as i6
|
|
19
|
+
import * as i6 from '@angular/material/tooltip';
|
|
20
20
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
21
|
-
import * as i5$
|
|
21
|
+
import * as i5$2 from '@angular/material/icon';
|
|
22
22
|
import { MatIconModule } from '@angular/material/icon';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i4 from '@angular/material/input';
|
|
24
24
|
import { MatInputModule } from '@angular/material/input';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i3$1 from '@angular/material/list';
|
|
26
26
|
import { MatListModule } from '@angular/material/list';
|
|
27
27
|
import { NativeDateAdapter, MAT_DATE_FORMATS, DateAdapter, MatNativeDateModule } from '@angular/material/core';
|
|
28
28
|
import { MatSelectModule } from '@angular/material/select';
|
|
29
|
-
import * as
|
|
29
|
+
import * as i2$5 from '@angular/material/sidenav';
|
|
30
30
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
31
|
-
import * as
|
|
31
|
+
import * as i2$2 from '@angular/material/slider';
|
|
32
32
|
import { MatSliderModule } from '@angular/material/slider';
|
|
33
|
-
import * as
|
|
33
|
+
import * as i2$3 from '@angular/material/slide-toggle';
|
|
34
34
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
35
|
-
import * as i3$
|
|
35
|
+
import * as i3$3 from '@angular/material/table';
|
|
36
36
|
import { MatTableModule } from '@angular/material/table';
|
|
37
|
-
import * as i3$
|
|
37
|
+
import * as i3$4 from '@angular/material/tabs';
|
|
38
38
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
39
39
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
40
40
|
import * as i0 from '@angular/core';
|
|
41
|
-
import { ChangeDetectionStrategy, Component, Injectable,
|
|
42
|
-
import * as
|
|
43
|
-
import { JsonFormsControl, JsonFormsBaseRenderer, JsonFormsModule, JsonFormsArrayControl, JsonFormsControlWithDetail, JsonFormsAbstractControl } from '@jsonforms/angular';
|
|
41
|
+
import { inject, ChangeDetectorRef, ChangeDetectionStrategy, Component, Injectable, ViewEncapsulation, Input, Pipe, CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
42
|
+
import * as i2$4 from '@jsonforms/angular';
|
|
43
|
+
import { JsonFormsControl, JsonFormsBaseRenderer, JsonFormsAngularService, JsonFormsModule, JsonFormsArrayControl, JsonFormsControlWithDetail, JsonFormsAbstractControl } from '@jsonforms/angular';
|
|
44
44
|
import { rankWith, isBooleanControl, defaultDateFormat, isDateControl, mapStateToOneOfEnumControlProps, Actions, composeWithUi, isOneOfEnumControl, mapStateToEnumControlProps, isEnumControl, isNumberControl, or, isIntegerControl, isRangeControl, isMultiLineControl, isStringControl, and, optionIs, mapStateToLabelProps, uiTypeIs, decode, mapDispatchToArrayControlProps, findUISchema, setReadonly, getFirstPrimitiveProp, createDefaultValue, mapStateToArrayControlProps, defaultJsonFormsI18nState, getArrayTranslations, arrayDefaultTranslations, Generate, isObjectControl, Paths, encode, deriveTypes, isObjectArrayControl, isPrimitiveArrayControl, mapStateToLayoutProps, isVisible, getAjv, getConfig, deriveLabelForUISchemaElement, categorizationHasCategory, mapStateToArrayLayoutProps, unsetReadonly, isObjectArrayWithNesting } from '@jsonforms/core';
|
|
45
45
|
import dayjs from 'dayjs';
|
|
46
46
|
import customParsing from 'dayjs/plugin/customParseFormat';
|
|
@@ -77,11 +77,7 @@ import cloneDeep from 'lodash/cloneDeep';
|
|
|
77
77
|
THE SOFTWARE.
|
|
78
78
|
*/
|
|
79
79
|
class BooleanControlRenderer extends JsonFormsControl {
|
|
80
|
-
changeDetectionRef;
|
|
81
|
-
constructor(jsonformsService, changeDetectionRef) {
|
|
82
|
-
super(jsonformsService);
|
|
83
|
-
this.changeDetectionRef = changeDetectionRef;
|
|
84
|
-
}
|
|
80
|
+
changeDetectionRef = inject(ChangeDetectorRef);
|
|
85
81
|
isChecked = () => this.data || false;
|
|
86
82
|
getEventValue = (event) => event.checked;
|
|
87
83
|
mapAdditionalProps() {
|
|
@@ -89,8 +85,8 @@ class BooleanControlRenderer extends JsonFormsControl {
|
|
|
89
85
|
this.changeDetectionRef.markForCheck();
|
|
90
86
|
}
|
|
91
87
|
}
|
|
92
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
93
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
88
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: BooleanControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
89
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: BooleanControlRenderer, isStandalone: true, selector: "BooleanControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
94
90
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="boolean-control">
|
|
95
91
|
<mat-checkbox
|
|
96
92
|
(change)="onChange($event)"
|
|
@@ -105,9 +101,9 @@ class BooleanControlRenderer extends JsonFormsControl {
|
|
|
105
101
|
}}</mat-hint>
|
|
106
102
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
107
103
|
</div>
|
|
108
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}.boolean-control{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
104
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row}.boolean-control{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
109
105
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: BooleanControlRenderer, decorators: [{
|
|
111
107
|
type: Component,
|
|
112
108
|
args: [{ selector: 'BooleanControlRenderer', template: `
|
|
113
109
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="boolean-control">
|
|
@@ -125,7 +121,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
125
121
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
126
122
|
</div>
|
|
127
123
|
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, MatCheckboxModule, MatFormFieldModule], styles: [":host{display:flex;flex-direction:row}.boolean-control{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;height:100%}\n"] }]
|
|
128
|
-
}]
|
|
124
|
+
}] });
|
|
129
125
|
const booleanControlTester = rankWith(2, isBooleanControl);
|
|
130
126
|
|
|
131
127
|
class MyFormat {
|
|
@@ -146,10 +142,10 @@ class MyFormat {
|
|
|
146
142
|
dateInput: this.displayFormat,
|
|
147
143
|
};
|
|
148
144
|
}
|
|
149
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
150
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: MyFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
146
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: MyFormat });
|
|
151
147
|
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: MyFormat, decorators: [{
|
|
153
149
|
type: Injectable
|
|
154
150
|
}] });
|
|
155
151
|
|
|
@@ -240,10 +236,10 @@ class DayJsDateAdapter extends NativeDateAdapter {
|
|
|
240
236
|
return null;
|
|
241
237
|
}
|
|
242
238
|
}
|
|
243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
244
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
239
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DayJsDateAdapter, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
240
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DayJsDateAdapter });
|
|
245
241
|
}
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DayJsDateAdapter, decorators: [{
|
|
247
243
|
type: Injectable
|
|
248
244
|
}] });
|
|
249
245
|
|
|
@@ -272,17 +268,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
272
268
|
THE SOFTWARE.
|
|
273
269
|
*/
|
|
274
270
|
class DateControlRenderer extends JsonFormsControl {
|
|
275
|
-
dateFormat;
|
|
276
|
-
dateAdapter;
|
|
277
271
|
focused = false;
|
|
278
272
|
views = [];
|
|
279
273
|
startView = '';
|
|
280
274
|
panelClass = '';
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
this.dateFormat = dateFormat;
|
|
284
|
-
this.dateAdapter = dateAdapter;
|
|
285
|
-
}
|
|
275
|
+
dateFormat = inject(MAT_DATE_FORMATS);
|
|
276
|
+
dateAdapter = inject(DateAdapter);
|
|
286
277
|
getEventValue = (event) => {
|
|
287
278
|
const value = event.value ? event.value : event;
|
|
288
279
|
return this.dateAdapter.toSaveFormat(value);
|
|
@@ -328,8 +319,8 @@ class DateControlRenderer extends JsonFormsControl {
|
|
|
328
319
|
this.startView = 'month';
|
|
329
320
|
}
|
|
330
321
|
}
|
|
331
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
332
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DateControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
323
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: DateControlRenderer, isStandalone: true, selector: "DateControlRenderer", providers: [
|
|
333
324
|
{
|
|
334
325
|
provide: DateAdapter,
|
|
335
326
|
useClass: DayJsDateAdapter,
|
|
@@ -369,9 +360,9 @@ class DateControlRenderer extends JsonFormsControl {
|
|
|
369
360
|
}}</mat-hint>
|
|
370
361
|
<mat-error>{{ error }}</mat-error>
|
|
371
362
|
</mat-form-field>
|
|
372
|
-
`, isInline: true, styles: ["DateControlRenderer{display:flex;flex-direction:row}.date-control-renderer{flex:1 1 auto}.no-panel-navigation .mat-calendar-period-button{pointer-events:none}.no-panel-navigation .mat-calendar-arrow{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
363
|
+
`, isInline: true, styles: ["DateControlRenderer{display:flex;flex-direction:row}.date-control-renderer{flex:1 1 auto}.no-panel-navigation .mat-calendar-period-button{pointer-events:none}.no-panel-navigation .mat-calendar-arrow{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i5.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i5.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
373
364
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DateControlRenderer, decorators: [{
|
|
375
366
|
type: Component,
|
|
376
367
|
args: [{ selector: 'DateControlRenderer', template: `
|
|
377
368
|
<mat-form-field
|
|
@@ -420,13 +411,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
420
411
|
MatInputModule,
|
|
421
412
|
MatDatepickerModule,
|
|
422
413
|
], styles: ["DateControlRenderer{display:flex;flex-direction:row}.date-control-renderer{flex:1 1 auto}.no-panel-navigation .mat-calendar-period-button{pointer-events:none}.no-panel-navigation .mat-calendar-arrow{display:none}\n"] }]
|
|
423
|
-
}]
|
|
424
|
-
type: Inject,
|
|
425
|
-
args: [MAT_DATE_FORMATS]
|
|
426
|
-
}] }, { type: DayJsDateAdapter, decorators: [{
|
|
427
|
-
type: Inject,
|
|
428
|
-
args: [DateAdapter]
|
|
429
|
-
}] }] });
|
|
414
|
+
}] });
|
|
430
415
|
const DateControlRendererTester = rankWith(2, isDateControl);
|
|
431
416
|
|
|
432
417
|
/*
|
|
@@ -500,9 +485,6 @@ class OneOfEnumControlRenderer extends JsonFormsControl {
|
|
|
500
485
|
filteredOptions;
|
|
501
486
|
shouldFilter;
|
|
502
487
|
focused = false;
|
|
503
|
-
constructor(jsonformsService) {
|
|
504
|
-
super(jsonformsService);
|
|
505
|
-
}
|
|
506
488
|
mapToProps(state) {
|
|
507
489
|
return mapStateToOneOfEnumControlProps(state, this.getOwnProps());
|
|
508
490
|
}
|
|
@@ -569,10 +551,10 @@ class OneOfEnumControlRenderer extends JsonFormsControl {
|
|
|
569
551
|
options: this.options,
|
|
570
552
|
};
|
|
571
553
|
}
|
|
572
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
573
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
554
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: OneOfEnumControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
555
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: OneOfEnumControlRenderer, isStandalone: true, selector: "OneOfEnumControlRenderer", inputs: { options: "options" }, usesInheritance: true, ngImport: i0, template: "\n <mat-form-field [ngStyle]=\"{ display: hidden ? 'none' : '' }\">\n <mat-label>{{ label }}</mat-label>\n <input\n matInput\n type=\"text\"\n (change)=\"onChange($event)\"\n [id]=\"id\"\n [formControl]=\"form\"\n [matAutocomplete]=\"auto\"\n (keydown)=\"updateFilter($event)\"\n (focus)=\"focused = true\"\n (focusout)=\"focused = false\"\n />\n <mat-autocomplete\n autoActiveFirstOption\n #auto=\"matAutocomplete\"\n (optionSelected)=\"onSelect($event)\"\n [displayWith]=\"displayFn\"\n >\n @for (option of filteredOptions | async; track option.value) {\n <mat-option [value]=\"option\">\n {{ option.label }}\n </mat-option>\n }\n </mat-autocomplete>\n <mat-hint *ngIf=\"shouldShowUnfocusedDescription() || focused\">{{\n description\n }}</mat-hint>\n <mat-error>{{ error }}</mat-error>\n </mat-form-field>\n", isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i5$1.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i5$1.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
574
556
|
}
|
|
575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: OneOfEnumControlRenderer, decorators: [{
|
|
576
558
|
type: Component,
|
|
577
559
|
args: [{ selector: 'OneOfEnumControlRenderer', template: template, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
578
560
|
CommonModule,
|
|
@@ -581,7 +563,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
581
563
|
MatInputModule,
|
|
582
564
|
MatAutocompleteModule,
|
|
583
565
|
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
584
|
-
}],
|
|
566
|
+
}], propDecorators: { options: [{
|
|
585
567
|
type: Input
|
|
586
568
|
}] } });
|
|
587
569
|
const oneOfEnumControlTester = rankWith(5, isOneOfEnumControl);
|
|
@@ -598,10 +580,10 @@ class EnumControlRenderer extends OneOfEnumControlRenderer {
|
|
|
598
580
|
mapToProps(state) {
|
|
599
581
|
return mapStateToEnumControlProps(state, this.getOwnProps());
|
|
600
582
|
}
|
|
601
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
602
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
583
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EnumControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
584
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: EnumControlRenderer, isStandalone: true, selector: "EnumControlRenderer, AutocompleteControlRenderer", inputs: { stringOptions: ["options", "stringOptions"] }, usesInheritance: true, ngImport: i0, template: "\n <mat-form-field [ngStyle]=\"{ display: hidden ? 'none' : '' }\">\n <mat-label>{{ label }}</mat-label>\n <input\n matInput\n type=\"text\"\n (change)=\"onChange($event)\"\n [id]=\"id\"\n [formControl]=\"form\"\n [matAutocomplete]=\"auto\"\n (keydown)=\"updateFilter($event)\"\n (focus)=\"focused = true\"\n (focusout)=\"focused = false\"\n />\n <mat-autocomplete\n autoActiveFirstOption\n #auto=\"matAutocomplete\"\n (optionSelected)=\"onSelect($event)\"\n [displayWith]=\"displayFn\"\n >\n @for (option of filteredOptions | async; track option.value) {\n <mat-option [value]=\"option\">\n {{ option.label }}\n </mat-option>\n }\n </mat-autocomplete>\n <mat-hint *ngIf=\"shouldShowUnfocusedDescription() || focused\">{{\n description\n }}</mat-hint>\n <mat-error>{{ error }}</mat-error>\n </mat-form-field>\n", isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i5$1.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i5$1.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
603
585
|
}
|
|
604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EnumControlRenderer, decorators: [{
|
|
605
587
|
type: Component,
|
|
606
588
|
args: [{ selector: 'EnumControlRenderer, AutocompleteControlRenderer', template: template, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
607
589
|
CommonModule,
|
|
@@ -650,9 +632,6 @@ class NumberControlRenderer extends JsonFormsControl {
|
|
|
650
632
|
numberFormat;
|
|
651
633
|
decimalSeparator;
|
|
652
634
|
focused = false;
|
|
653
|
-
constructor(jsonformsService) {
|
|
654
|
-
super(jsonformsService);
|
|
655
|
-
}
|
|
656
635
|
onChange(ev) {
|
|
657
636
|
const data = this.oldValue
|
|
658
637
|
? ev.target.value.replace(this.oldValue, '')
|
|
@@ -730,8 +709,8 @@ class NumberControlRenderer extends JsonFormsControl {
|
|
|
730
709
|
const example = this.numberFormat.format(1.1);
|
|
731
710
|
this.decimalSeparator = example.charAt(1);
|
|
732
711
|
}
|
|
733
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
734
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NumberControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
713
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: NumberControlRenderer, isStandalone: true, selector: "NumberControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
735
714
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
736
715
|
<mat-label>{{ label }}</mat-label>
|
|
737
716
|
<input
|
|
@@ -751,9 +730,9 @@ class NumberControlRenderer extends JsonFormsControl {
|
|
|
751
730
|
}}</mat-hint>
|
|
752
731
|
<mat-error>{{ error }}</mat-error>
|
|
753
732
|
</mat-form-field>
|
|
754
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
733
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
755
734
|
}
|
|
756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NumberControlRenderer, decorators: [{
|
|
757
736
|
type: Component,
|
|
758
737
|
args: [{ selector: 'NumberControlRenderer', template: `
|
|
759
738
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -781,7 +760,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
781
760
|
MatFormFieldModule,
|
|
782
761
|
MatInputModule,
|
|
783
762
|
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
784
|
-
}]
|
|
763
|
+
}] });
|
|
785
764
|
const NumberControlRendererTester = rankWith(2, or(isNumberControl, isIntegerControl));
|
|
786
765
|
|
|
787
766
|
/*
|
|
@@ -809,15 +788,11 @@ const NumberControlRendererTester = rankWith(2, or(isNumberControl, isIntegerCon
|
|
|
809
788
|
THE SOFTWARE.
|
|
810
789
|
*/
|
|
811
790
|
class RangeControlRenderer extends JsonFormsControl {
|
|
812
|
-
changeDetectorRef;
|
|
813
791
|
min;
|
|
814
792
|
max;
|
|
815
793
|
multipleOf;
|
|
816
794
|
focused = false;
|
|
817
|
-
|
|
818
|
-
super(jsonformsService);
|
|
819
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
820
|
-
}
|
|
795
|
+
changeDetectorRef = inject(ChangeDetectorRef);
|
|
821
796
|
getEventValue = (event) => Number(event);
|
|
822
797
|
mapAdditionalProps() {
|
|
823
798
|
if (this.scopedSchema) {
|
|
@@ -827,8 +802,8 @@ class RangeControlRenderer extends JsonFormsControl {
|
|
|
827
802
|
}
|
|
828
803
|
this.changeDetectorRef.markForCheck();
|
|
829
804
|
}
|
|
830
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
831
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
805
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RangeControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
806
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: RangeControlRenderer, isStandalone: true, selector: "RangeControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
832
807
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="range-control">
|
|
833
808
|
<label class="mat-caption" style="color:rgba(0,0,0,.54)">{{
|
|
834
809
|
label
|
|
@@ -850,9 +825,9 @@ class RangeControlRenderer extends JsonFormsControl {
|
|
|
850
825
|
}}</mat-hint>
|
|
851
826
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
852
827
|
</div>
|
|
853
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}.range-control{flex:1 1 auto;display:flex;flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
828
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row}.range-control{flex:1 1 auto;display:flex;flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatSliderModule }, { kind: "component", type: i2$2.MatSlider, selector: "mat-slider", inputs: ["disabled", "discrete", "showTickMarks", "min", "color", "disableRipple", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i2$2.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
854
829
|
}
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RangeControlRenderer, decorators: [{
|
|
856
831
|
type: Component,
|
|
857
832
|
args: [{ selector: 'RangeControlRenderer', template: `
|
|
858
833
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="range-control">
|
|
@@ -877,7 +852,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
877
852
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
878
853
|
</div>
|
|
879
854
|
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, MatSliderModule, MatFormFieldModule], styles: [":host{display:flex;flex-direction:row}.range-control{flex:1 1 auto;display:flex;flex-direction:column}\n"] }]
|
|
880
|
-
}]
|
|
855
|
+
}] });
|
|
881
856
|
const RangeControlRendererTester = rankWith(4, isRangeControl);
|
|
882
857
|
|
|
883
858
|
/*
|
|
@@ -906,12 +881,9 @@ const RangeControlRendererTester = rankWith(4, isRangeControl);
|
|
|
906
881
|
*/
|
|
907
882
|
class TextAreaRenderer extends JsonFormsControl {
|
|
908
883
|
focused = false;
|
|
909
|
-
constructor(jsonformsService) {
|
|
910
|
-
super(jsonformsService);
|
|
911
|
-
}
|
|
912
884
|
getEventValue = (event) => event.target.value || undefined;
|
|
913
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
914
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TextAreaRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
886
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: TextAreaRenderer, isStandalone: true, selector: "TextAreaRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
915
887
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
916
888
|
<mat-label>{{ label }}</mat-label>
|
|
917
889
|
<textarea
|
|
@@ -927,9 +899,9 @@ class TextAreaRenderer extends JsonFormsControl {
|
|
|
927
899
|
}}</mat-hint>
|
|
928
900
|
<mat-error>{{ error }}</mat-error>
|
|
929
901
|
</mat-form-field>
|
|
930
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
902
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
931
903
|
}
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TextAreaRenderer, decorators: [{
|
|
933
905
|
type: Component,
|
|
934
906
|
args: [{ selector: 'TextAreaRenderer', template: `
|
|
935
907
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -953,7 +925,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
953
925
|
MatFormFieldModule,
|
|
954
926
|
MatInputModule,
|
|
955
927
|
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
956
|
-
}]
|
|
928
|
+
}] });
|
|
957
929
|
const TextAreaRendererTester = rankWith(2, isMultiLineControl);
|
|
958
930
|
|
|
959
931
|
/*
|
|
@@ -982,9 +954,6 @@ const TextAreaRendererTester = rankWith(2, isMultiLineControl);
|
|
|
982
954
|
*/
|
|
983
955
|
class TextControlRenderer extends JsonFormsControl {
|
|
984
956
|
focused = false;
|
|
985
|
-
constructor(jsonformsService) {
|
|
986
|
-
super(jsonformsService);
|
|
987
|
-
}
|
|
988
957
|
getEventValue = (event) => event.target.value || undefined;
|
|
989
958
|
getType = () => {
|
|
990
959
|
if (this.uischema.options && this.uischema.options.format) {
|
|
@@ -1002,8 +971,8 @@ class TextControlRenderer extends JsonFormsControl {
|
|
|
1002
971
|
}
|
|
1003
972
|
return 'text';
|
|
1004
973
|
};
|
|
1005
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1006
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
974
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TextControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
975
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: TextControlRenderer, isStandalone: true, selector: "TextControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1007
976
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
1008
977
|
<mat-label>{{ label }}</mat-label>
|
|
1009
978
|
<input
|
|
@@ -1020,9 +989,9 @@ class TextControlRenderer extends JsonFormsControl {
|
|
|
1020
989
|
}}</mat-hint>
|
|
1021
990
|
<mat-error>{{ error }}</mat-error>
|
|
1022
991
|
</mat-form-field>
|
|
1023
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
992
|
+
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1024
993
|
}
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TextControlRenderer, decorators: [{
|
|
1026
995
|
type: Component,
|
|
1027
996
|
args: [{ selector: 'TextControlRenderer', template: `
|
|
1028
997
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -1047,7 +1016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1047
1016
|
MatFormFieldModule,
|
|
1048
1017
|
MatInputModule,
|
|
1049
1018
|
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
1050
|
-
}]
|
|
1019
|
+
}] });
|
|
1051
1020
|
const TextControlRendererTester = rankWith(1, isStringControl);
|
|
1052
1021
|
|
|
1053
1022
|
/*
|
|
@@ -1075,18 +1044,14 @@ const TextControlRendererTester = rankWith(1, isStringControl);
|
|
|
1075
1044
|
THE SOFTWARE.
|
|
1076
1045
|
*/
|
|
1077
1046
|
class ToggleControlRenderer extends JsonFormsControl {
|
|
1078
|
-
changeDetectorRef;
|
|
1079
|
-
constructor(jsonformsService, changeDetectorRef) {
|
|
1080
|
-
super(jsonformsService);
|
|
1081
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
1082
|
-
}
|
|
1047
|
+
changeDetectorRef = inject(ChangeDetectorRef);
|
|
1083
1048
|
isChecked = () => this.data || false;
|
|
1084
1049
|
getEventValue = (event) => event.checked;
|
|
1085
1050
|
mapAdditionalProps() {
|
|
1086
1051
|
this.changeDetectorRef.markForCheck();
|
|
1087
1052
|
}
|
|
1088
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1089
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1053
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ToggleControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1054
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: ToggleControlRenderer, isStandalone: true, selector: "ToggleControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1090
1055
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
1091
1056
|
<mat-slide-toggle
|
|
1092
1057
|
(change)="onChange($event)"
|
|
@@ -1101,9 +1066,9 @@ class ToggleControlRenderer extends JsonFormsControl {
|
|
|
1101
1066
|
}}</mat-hint>
|
|
1102
1067
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
1103
1068
|
</div>
|
|
1104
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
1069
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i2$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1105
1070
|
}
|
|
1106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ToggleControlRenderer, decorators: [{
|
|
1107
1072
|
type: Component,
|
|
1108
1073
|
args: [{
|
|
1109
1074
|
selector: 'ToggleControlRenderer',
|
|
@@ -1126,7 +1091,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1126
1091
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1127
1092
|
imports: [CommonModule, MatSlideToggleModule, MatFormFieldModule],
|
|
1128
1093
|
}]
|
|
1129
|
-
}]
|
|
1094
|
+
}] });
|
|
1130
1095
|
const ToggleControlRendererTester = rankWith(3, and(isBooleanControl, optionIs('toggle', true)));
|
|
1131
1096
|
|
|
1132
1097
|
/*
|
|
@@ -1154,13 +1119,9 @@ const ToggleControlRendererTester = rankWith(3, and(isBooleanControl, optionIs('
|
|
|
1154
1119
|
THE SOFTWARE.
|
|
1155
1120
|
*/
|
|
1156
1121
|
class LabelRenderer extends JsonFormsBaseRenderer {
|
|
1157
|
-
jsonFormsService;
|
|
1158
1122
|
label;
|
|
1159
1123
|
visible;
|
|
1160
|
-
|
|
1161
|
-
super();
|
|
1162
|
-
this.jsonFormsService = jsonFormsService;
|
|
1163
|
-
}
|
|
1124
|
+
jsonFormsService = inject(JsonFormsAngularService);
|
|
1164
1125
|
ngOnInit() {
|
|
1165
1126
|
this.addSubscription(this.jsonFormsService.$state.subscribe({
|
|
1166
1127
|
next: (state) => {
|
|
@@ -1170,13 +1131,13 @@ class LabelRenderer extends JsonFormsBaseRenderer {
|
|
|
1170
1131
|
},
|
|
1171
1132
|
}));
|
|
1172
1133
|
}
|
|
1173
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1174
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LabelRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1135
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: LabelRenderer, isStandalone: true, selector: "LabelRenderer", usesInheritance: true, ngImport: i0, template: ` <label class="mat-headline-6"> {{ label }} </label> `, isInline: true, styles: [":host{flex:1 1 auto}\n"] });
|
|
1175
1136
|
}
|
|
1176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LabelRenderer, decorators: [{
|
|
1177
1138
|
type: Component,
|
|
1178
1139
|
args: [{ selector: 'LabelRenderer', template: ` <label class="mat-headline-6"> {{ label }} </label> `, styles: [":host{flex:1 1 auto}\n"] }]
|
|
1179
|
-
}]
|
|
1140
|
+
}] });
|
|
1180
1141
|
const LabelRendererTester = rankWith(4, uiTypeIs('Label'));
|
|
1181
1142
|
|
|
1182
1143
|
/*
|
|
@@ -1213,14 +1174,14 @@ class JsonFormsDetailComponent {
|
|
|
1213
1174
|
this.initialized = true;
|
|
1214
1175
|
}
|
|
1215
1176
|
}
|
|
1216
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1217
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1178
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: JsonFormsDetailComponent, isStandalone: true, selector: "jsonforms-detail", inputs: { item: "item" }, ngImport: i0, template: `
|
|
1218
1179
|
<div *ngIf="initialized">
|
|
1219
1180
|
<jsonforms-outlet [renderProps]="_item"></jsonforms-outlet>
|
|
1220
1181
|
</div>
|
|
1221
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
1182
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }] });
|
|
1222
1183
|
}
|
|
1223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsDetailComponent, decorators: [{
|
|
1224
1185
|
type: Component,
|
|
1225
1186
|
args: [{
|
|
1226
1187
|
selector: 'jsonforms-detail',
|
|
@@ -1267,7 +1228,6 @@ const removeSchemaKeywords = (path) => {
|
|
|
1267
1228
|
.join('.'));
|
|
1268
1229
|
};
|
|
1269
1230
|
class MasterListComponent extends JsonFormsArrayControl {
|
|
1270
|
-
changeDetectorRef;
|
|
1271
1231
|
masterItems;
|
|
1272
1232
|
selectedItem;
|
|
1273
1233
|
selectedItemIdx;
|
|
@@ -1275,10 +1235,7 @@ class MasterListComponent extends JsonFormsArrayControl {
|
|
|
1275
1235
|
removeItems;
|
|
1276
1236
|
highlightedIdx;
|
|
1277
1237
|
translations;
|
|
1278
|
-
|
|
1279
|
-
super(jsonformsService);
|
|
1280
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
1281
|
-
}
|
|
1238
|
+
changeDetectorRef = inject(ChangeDetectorRef);
|
|
1282
1239
|
onListItemHover(idx) {
|
|
1283
1240
|
this.highlightedIdx = idx;
|
|
1284
1241
|
}
|
|
@@ -1365,8 +1322,8 @@ class MasterListComponent extends JsonFormsArrayControl {
|
|
|
1365
1322
|
const translations = getArrayTranslations(t, arrayDefaultTranslations, props.i18nKeyPrefix, props.label);
|
|
1366
1323
|
return { ...props, translations };
|
|
1367
1324
|
}
|
|
1368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1369
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1325
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: MasterListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1326
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: MasterListComponent, isStandalone: true, selector: "jsonforms-list-with-detail-master", usesInheritance: true, ngImport: i0, template: `
|
|
1370
1327
|
<mat-sidenav-container
|
|
1371
1328
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
1372
1329
|
autosize="true"
|
|
@@ -1417,9 +1374,9 @@ class MasterListComponent extends JsonFormsArrayControl {
|
|
|
1417
1374
|
></jsonforms-detail>
|
|
1418
1375
|
</mat-sidenav-content>
|
|
1419
1376
|
</mat-sidenav-container>
|
|
1420
|
-
`, isInline: true, styles: ["mat-list-item.selected{background:#0000000a}.container{height:100vh}.content{padding:15px;background-color:#fff}.add-button{float:right;margin-top:.5em;margin-right:.25em}.button{float:right;margin-right:.25em}.item-button{position:absolute;top:0;right:0}.hide{display:none}.show{display:inline-block}mat-sidenav{width:20%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
1377
|
+
`, isInline: true, styles: ["mat-list-item.selected{background:#0000000a}.container{height:100vh}.content{padding:15px;background-color:#fff}.add-button{float:right;margin-top:.5em;margin-right:.25em}.button{float:right;margin-right:.25em}.item-button{position:absolute;top:0;right:0}.hide{display:none}.show{display:inline-block}mat-sidenav{width:20%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i2$5.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i2$5.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i2$5.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i3$1.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i3$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i4$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: JsonFormsDetailComponent, selector: "jsonforms-detail", inputs: ["item"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1421
1378
|
}
|
|
1422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: MasterListComponent, decorators: [{
|
|
1423
1380
|
type: Component,
|
|
1424
1381
|
args: [{ selector: 'jsonforms-list-with-detail-master', template: `
|
|
1425
1382
|
<mat-sidenav-container
|
|
@@ -1480,7 +1437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1480
1437
|
MatIconModule,
|
|
1481
1438
|
JsonFormsDetailComponent,
|
|
1482
1439
|
], styles: ["mat-list-item.selected{background:#0000000a}.container{height:100vh}.content{padding:15px;background-color:#fff}.add-button{float:right;margin-top:.5em;margin-right:.25em}.button{float:right;margin-right:.25em}.item-button{position:absolute;top:0;right:0}.hide{display:none}.show{display:inline-block}mat-sidenav{width:20%}\n"] }]
|
|
1483
|
-
}]
|
|
1440
|
+
}] });
|
|
1484
1441
|
const masterDetailTester = rankWith(4, uiTypeIs('ListWithDetail'));
|
|
1485
1442
|
|
|
1486
1443
|
/*
|
|
@@ -1509,9 +1466,6 @@ const masterDetailTester = rankWith(4, uiTypeIs('ListWithDetail'));
|
|
|
1509
1466
|
*/
|
|
1510
1467
|
class ObjectControlRenderer extends JsonFormsControlWithDetail {
|
|
1511
1468
|
detailUiSchema;
|
|
1512
|
-
constructor(jsonformsService) {
|
|
1513
|
-
super(jsonformsService);
|
|
1514
|
-
}
|
|
1515
1469
|
mapAdditionalProps(props) {
|
|
1516
1470
|
this.detailUiSchema = findUISchema(props.uischemas, props.schema, props.uischema.scope, props.path, () => {
|
|
1517
1471
|
const newSchema = cloneDeep(props.schema);
|
|
@@ -1531,8 +1485,8 @@ class ObjectControlRenderer extends JsonFormsControlWithDetail {
|
|
|
1531
1485
|
setReadonly(this.detailUiSchema);
|
|
1532
1486
|
}
|
|
1533
1487
|
}
|
|
1534
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1535
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ObjectControlRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1489
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: ObjectControlRenderer, isStandalone: true, selector: "ObjectRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1536
1490
|
<mat-card class="object-layout" appearance="outlined">
|
|
1537
1491
|
<jsonforms-outlet
|
|
1538
1492
|
[uischema]="detailUiSchema"
|
|
@@ -1541,9 +1495,9 @@ class ObjectControlRenderer extends JsonFormsControlWithDetail {
|
|
|
1541
1495
|
>
|
|
1542
1496
|
</jsonforms-outlet>
|
|
1543
1497
|
</mat-card>
|
|
1544
|
-
`, isInline: true, styles: [".object-layout{padding:16px}\n"], dependencies: [{ kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type:
|
|
1498
|
+
`, isInline: true, styles: [".object-layout{padding:16px}\n"], dependencies: [{ kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i3$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1545
1499
|
}
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ObjectControlRenderer, decorators: [{
|
|
1547
1501
|
type: Component,
|
|
1548
1502
|
args: [{ selector: 'ObjectRenderer', template: `
|
|
1549
1503
|
<mat-card class="object-layout" appearance="outlined">
|
|
@@ -1555,7 +1509,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1555
1509
|
</jsonforms-outlet>
|
|
1556
1510
|
</mat-card>
|
|
1557
1511
|
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [JsonFormsModule, MatCardModule], styles: [".object-layout{padding:16px}\n"] }]
|
|
1558
|
-
}]
|
|
1512
|
+
}] });
|
|
1559
1513
|
const ObjectControlRendererTester = rankWith(2, isObjectControl);
|
|
1560
1514
|
|
|
1561
1515
|
/*
|
|
@@ -1596,10 +1550,10 @@ class GetProps {
|
|
|
1596
1550
|
path: rowPath,
|
|
1597
1551
|
};
|
|
1598
1552
|
}
|
|
1599
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1600
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1553
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GetProps, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1554
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: GetProps, isStandalone: true, name: "getProps" });
|
|
1601
1555
|
}
|
|
1602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GetProps, decorators: [{
|
|
1603
1557
|
type: Pipe,
|
|
1604
1558
|
args: [{ name: 'getProps' }]
|
|
1605
1559
|
}] });
|
|
@@ -1613,9 +1567,6 @@ class TableRenderer extends JsonFormsArrayControl {
|
|
|
1613
1567
|
moveItemDown;
|
|
1614
1568
|
removeItems;
|
|
1615
1569
|
translations = {};
|
|
1616
|
-
constructor(jsonformsService) {
|
|
1617
|
-
super(jsonformsService);
|
|
1618
|
-
}
|
|
1619
1570
|
trackElement(index, _element) {
|
|
1620
1571
|
return index ? index : null;
|
|
1621
1572
|
}
|
|
@@ -1692,8 +1643,8 @@ class TableRenderer extends JsonFormsArrayControl {
|
|
|
1692
1643
|
// primitives
|
|
1693
1644
|
return [''];
|
|
1694
1645
|
};
|
|
1695
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1696
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1646
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TableRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1647
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: TableRenderer, isStandalone: true, selector: "TableRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1697
1648
|
<div class="table-container">
|
|
1698
1649
|
<table
|
|
1699
1650
|
mat-table
|
|
@@ -1784,9 +1735,9 @@ class TableRenderer extends JsonFormsArrayControl {
|
|
|
1784
1735
|
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
|
|
1785
1736
|
</table>
|
|
1786
1737
|
</div>
|
|
1787
|
-
`, isInline: true, styles: ["table{width:100%}\n", ".cdk-column-action{width:15%}\n", ".sort-column{min-width:12vw}\n", ".table-container{max-width:100%;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
1738
|
+
`, isInline: true, styles: ["table{width:100%}\n", ".cdk-column-action{width:15%}\n", ".sort-column{min-width:12vw}\n", ".table-container{max-width:100%;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3$3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$3.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3$3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i4$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: GetProps, name: "getProps" }] });
|
|
1788
1739
|
}
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TableRenderer, decorators: [{
|
|
1790
1741
|
type: Component,
|
|
1791
1742
|
args: [{ selector: 'TableRenderer', template: `
|
|
1792
1743
|
<div class="table-container">
|
|
@@ -1888,7 +1839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1888
1839
|
MatTooltipModule,
|
|
1889
1840
|
GetProps,
|
|
1890
1841
|
], styles: ["table{width:100%}\n", ".cdk-column-action{width:15%}\n", ".sort-column{min-width:12vw}\n", ".table-container{max-width:100%;overflow:auto}\n"] }]
|
|
1891
|
-
}]
|
|
1842
|
+
}] });
|
|
1892
1843
|
const TableRendererTester = rankWith(3, or(isObjectArrayControl, isPrimitiveArrayControl));
|
|
1893
1844
|
|
|
1894
1845
|
/*
|
|
@@ -1916,14 +1867,10 @@ const TableRendererTester = rankWith(3, or(isObjectArrayControl, isPrimitiveArra
|
|
|
1916
1867
|
THE SOFTWARE.
|
|
1917
1868
|
*/
|
|
1918
1869
|
class CategorizationTabLayoutRenderer extends JsonFormsBaseRenderer {
|
|
1919
|
-
jsonFormsService;
|
|
1920
1870
|
hidden;
|
|
1921
1871
|
visibleCategories;
|
|
1922
1872
|
categoryLabels;
|
|
1923
|
-
|
|
1924
|
-
super();
|
|
1925
|
-
this.jsonFormsService = jsonFormsService;
|
|
1926
|
-
}
|
|
1873
|
+
jsonFormsService = inject(JsonFormsAngularService);
|
|
1927
1874
|
ngOnInit() {
|
|
1928
1875
|
this.addSubscription(this.jsonFormsService.$state.subscribe({
|
|
1929
1876
|
next: (state) => {
|
|
@@ -1935,8 +1882,8 @@ class CategorizationTabLayoutRenderer extends JsonFormsBaseRenderer {
|
|
|
1935
1882
|
},
|
|
1936
1883
|
}));
|
|
1937
1884
|
}
|
|
1938
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1939
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CategorizationTabLayoutRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1886
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: CategorizationTabLayoutRenderer, isStandalone: true, selector: "jsonforms-categorization-layout", usesInheritance: true, ngImport: i0, template: `
|
|
1940
1887
|
<mat-tab-group
|
|
1941
1888
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
1942
1889
|
dynamicHeight="true"
|
|
@@ -1954,9 +1901,9 @@ class CategorizationTabLayoutRenderer extends JsonFormsBaseRenderer {
|
|
|
1954
1901
|
</div>
|
|
1955
1902
|
</mat-tab>
|
|
1956
1903
|
</mat-tab-group>
|
|
1957
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
1904
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i3$4.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i3$4.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }] });
|
|
1958
1905
|
}
|
|
1959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CategorizationTabLayoutRenderer, decorators: [{
|
|
1960
1907
|
type: Component,
|
|
1961
1908
|
args: [{
|
|
1962
1909
|
selector: 'jsonforms-categorization-layout',
|
|
@@ -1981,7 +1928,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1981
1928
|
`,
|
|
1982
1929
|
imports: [CommonModule, JsonFormsModule, MatTabsModule],
|
|
1983
1930
|
}]
|
|
1984
|
-
}]
|
|
1931
|
+
}] });
|
|
1985
1932
|
const categorizationTester = rankWith(2, and(uiTypeIs('Categorization'), categorizationHasCategory));
|
|
1986
1933
|
|
|
1987
1934
|
/*
|
|
@@ -2009,15 +1956,10 @@ const categorizationTester = rankWith(2, and(uiTypeIs('Categorization'), categor
|
|
|
2009
1956
|
THE SOFTWARE.
|
|
2010
1957
|
*/
|
|
2011
1958
|
class LayoutRenderer extends JsonFormsBaseRenderer {
|
|
2012
|
-
jsonFormsService;
|
|
2013
|
-
changeDetectionRef;
|
|
2014
1959
|
hidden;
|
|
2015
1960
|
label;
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
this.jsonFormsService = jsonFormsService;
|
|
2019
|
-
this.changeDetectionRef = changeDetectionRef;
|
|
2020
|
-
}
|
|
1961
|
+
jsonFormsService = inject(JsonFormsAngularService);
|
|
1962
|
+
changeDetectionRef = inject(ChangeDetectorRef);
|
|
2021
1963
|
ngOnInit() {
|
|
2022
1964
|
this.addSubscription(this.jsonFormsService.$state.subscribe({
|
|
2023
1965
|
next: (state) => {
|
|
@@ -2033,15 +1975,15 @@ class LayoutRenderer extends JsonFormsBaseRenderer {
|
|
|
2033
1975
|
? renderProp.path + JSON.stringify(renderProp.uischema)
|
|
2034
1976
|
: null;
|
|
2035
1977
|
}
|
|
2036
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2037
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1978
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LayoutRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1979
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: LayoutRenderer, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
2038
1980
|
}
|
|
2039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LayoutRenderer, decorators: [{
|
|
2040
1982
|
type: Component,
|
|
2041
1983
|
args: [{
|
|
2042
1984
|
template: '',
|
|
2043
1985
|
}]
|
|
2044
|
-
}]
|
|
1986
|
+
}] });
|
|
2045
1987
|
class LayoutChildrenRenderPropsPipe {
|
|
2046
1988
|
transform(uischema, schema, path) {
|
|
2047
1989
|
const elements = (uischema.elements || []).map((el) => ({
|
|
@@ -2051,10 +1993,10 @@ class LayoutChildrenRenderPropsPipe {
|
|
|
2051
1993
|
}));
|
|
2052
1994
|
return elements;
|
|
2053
1995
|
}
|
|
2054
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2055
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1996
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LayoutChildrenRenderPropsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1997
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: LayoutChildrenRenderPropsPipe, isStandalone: true, name: "layoutChildrenRenderProps" });
|
|
2056
1998
|
}
|
|
2057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LayoutChildrenRenderPropsPipe, decorators: [{
|
|
2058
2000
|
type: Pipe,
|
|
2059
2001
|
args: [{ name: 'layoutChildrenRenderProps' }]
|
|
2060
2002
|
}] });
|
|
@@ -2084,11 +2026,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2084
2026
|
THE SOFTWARE.
|
|
2085
2027
|
*/
|
|
2086
2028
|
class GroupLayoutRenderer extends LayoutRenderer {
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
}
|
|
2090
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: GroupLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2091
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: GroupLayoutRenderer, isStandalone: true, selector: "GroupLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2029
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GroupLayoutRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2030
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: GroupLayoutRenderer, isStandalone: true, selector: "GroupLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2092
2031
|
<mat-card
|
|
2093
2032
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
2094
2033
|
appearance="outlined"
|
|
@@ -2104,9 +2043,9 @@ class GroupLayoutRenderer extends LayoutRenderer {
|
|
|
2104
2043
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2105
2044
|
</div>
|
|
2106
2045
|
</mat-card>
|
|
2107
|
-
`, isInline: true, styles: [".group-layout{display:flex;flex-direction:column;gap:16px;padding:16px}.group-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
2046
|
+
`, isInline: true, styles: [".group-layout{display:flex;flex-direction:column;gap:16px;padding:16px}.group-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i3$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3$2.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2108
2047
|
}
|
|
2109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GroupLayoutRenderer, decorators: [{
|
|
2110
2049
|
type: Component,
|
|
2111
2050
|
args: [{ selector: 'GroupLayoutRenderer', template: `
|
|
2112
2051
|
<mat-card
|
|
@@ -2130,7 +2069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2130
2069
|
LayoutChildrenRenderPropsPipe,
|
|
2131
2070
|
MatCardModule,
|
|
2132
2071
|
], styles: [".group-layout{display:flex;flex-direction:column;gap:16px;padding:16px}.group-layout>div{flex:1 1 auto}\n"] }]
|
|
2133
|
-
}]
|
|
2072
|
+
}] });
|
|
2134
2073
|
const groupLayoutTester = rankWith(1, uiTypeIs('Group'));
|
|
2135
2074
|
|
|
2136
2075
|
/*
|
|
@@ -2158,11 +2097,8 @@ const groupLayoutTester = rankWith(1, uiTypeIs('Group'));
|
|
|
2158
2097
|
THE SOFTWARE.
|
|
2159
2098
|
*/
|
|
2160
2099
|
class HorizontalLayoutRenderer extends LayoutRenderer {
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
}
|
|
2164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: HorizontalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2165
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: HorizontalLayoutRenderer, isStandalone: true, selector: "HorizontalLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HorizontalLayoutRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: HorizontalLayoutRenderer, isStandalone: true, selector: "HorizontalLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2166
2102
|
<div
|
|
2167
2103
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
2168
2104
|
class="horizontal-layout"
|
|
@@ -2176,9 +2112,9 @@ class HorizontalLayoutRenderer extends LayoutRenderer {
|
|
|
2176
2112
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2177
2113
|
</div>
|
|
2178
2114
|
</div>
|
|
2179
|
-
`, isInline: true, styles: [".horizontal-layout{display:flex;gap:16px;flex-flow:row wrap;align-items:flex-start;place-content:flex-start center}.horizontal-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
2115
|
+
`, isInline: true, styles: [".horizontal-layout{display:flex;gap:16px;flex-flow:row wrap;align-items:flex-start;place-content:flex-start center}.horizontal-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2180
2116
|
}
|
|
2181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HorizontalLayoutRenderer, decorators: [{
|
|
2182
2118
|
type: Component,
|
|
2183
2119
|
args: [{ selector: 'HorizontalLayoutRenderer', template: `
|
|
2184
2120
|
<div
|
|
@@ -2195,7 +2131,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2195
2131
|
</div>
|
|
2196
2132
|
</div>
|
|
2197
2133
|
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, JsonFormsModule, LayoutChildrenRenderPropsPipe], styles: [".horizontal-layout{display:flex;gap:16px;flex-flow:row wrap;align-items:flex-start;place-content:flex-start center}.horizontal-layout>div{flex:1 1 auto}\n"] }]
|
|
2198
|
-
}]
|
|
2134
|
+
}] });
|
|
2199
2135
|
const horizontalLayoutTester = rankWith(1, uiTypeIs('HorizontalLayout'));
|
|
2200
2136
|
|
|
2201
2137
|
/*
|
|
@@ -2223,11 +2159,8 @@ const horizontalLayoutTester = rankWith(1, uiTypeIs('HorizontalLayout'));
|
|
|
2223
2159
|
THE SOFTWARE.
|
|
2224
2160
|
*/
|
|
2225
2161
|
class VerticalLayoutRenderer extends LayoutRenderer {
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
}
|
|
2229
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: VerticalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2230
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: VerticalLayoutRenderer, isStandalone: true, selector: "VerticalLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2162
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VerticalLayoutRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2163
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: VerticalLayoutRenderer, isStandalone: true, selector: "VerticalLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2231
2164
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="vertical-layout">
|
|
2232
2165
|
<div
|
|
2233
2166
|
*ngFor="
|
|
@@ -2238,9 +2171,9 @@ class VerticalLayoutRenderer extends LayoutRenderer {
|
|
|
2238
2171
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2239
2172
|
</div>
|
|
2240
2173
|
</div>
|
|
2241
|
-
`, isInline: true, styles: [".vertical-layout{display:flex;flex-direction:column;gap:16px}.vertical-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
2174
|
+
`, isInline: true, styles: [".vertical-layout{display:flex;flex-direction:column;gap:16px}.vertical-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2242
2175
|
}
|
|
2243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VerticalLayoutRenderer, decorators: [{
|
|
2244
2177
|
type: Component,
|
|
2245
2178
|
args: [{ selector: 'VerticalLayoutRenderer', template: `
|
|
2246
2179
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="vertical-layout">
|
|
@@ -2254,7 +2187,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2254
2187
|
</div>
|
|
2255
2188
|
</div>
|
|
2256
2189
|
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, JsonFormsModule, LayoutChildrenRenderPropsPipe], styles: [".vertical-layout{display:flex;flex-direction:column;gap:16px}.vertical-layout>div{flex:1 1 auto}\n"] }]
|
|
2257
|
-
}]
|
|
2190
|
+
}] });
|
|
2258
2191
|
const verticalLayoutTester = rankWith(1, uiTypeIs('VerticalLayout'));
|
|
2259
2192
|
|
|
2260
2193
|
/*
|
|
@@ -2289,9 +2222,6 @@ class ArrayLayoutRenderer extends JsonFormsAbstractControl {
|
|
|
2289
2222
|
moveItemDown;
|
|
2290
2223
|
removeItems;
|
|
2291
2224
|
uischemas;
|
|
2292
|
-
constructor(jsonFormsService) {
|
|
2293
|
-
super(jsonFormsService);
|
|
2294
|
-
}
|
|
2295
2225
|
mapToProps(state) {
|
|
2296
2226
|
const props = mapStateToArrayLayoutProps(state, this.getOwnProps());
|
|
2297
2227
|
const t = state.jsonforms.i18n?.translate ?? defaultJsonFormsI18nState.translate;
|
|
@@ -2340,8 +2270,8 @@ class ArrayLayoutRenderer extends JsonFormsAbstractControl {
|
|
|
2340
2270
|
trackByFn(index) {
|
|
2341
2271
|
return index;
|
|
2342
2272
|
}
|
|
2343
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2344
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2273
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ArrayLayoutRenderer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2274
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: ArrayLayoutRenderer, isStandalone: true, selector: "app-array-layout-renderer", usesInheritance: true, ngImport: i0, template: `
|
|
2345
2275
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="array-layout">
|
|
2346
2276
|
<div class="array-layout-toolbar">
|
|
2347
2277
|
<h2 class="mat-h2 array-layout-title">{{ label }}</h2>
|
|
@@ -2420,9 +2350,9 @@ class ArrayLayoutRenderer extends JsonFormsAbstractControl {
|
|
|
2420
2350
|
</mat-card>
|
|
2421
2351
|
</div>
|
|
2422
2352
|
</div>
|
|
2423
|
-
`, isInline: true, styles: [".array-layout{display:flex;flex-direction:column;gap:16px}.array-layout>*{flex:1 1 auto}.array-layout-toolbar{display:flex;align-items:center}.array-layout-title{margin:0}.array-layout-toolbar>span{flex:1 1 auto}.array-item{padding:16px}::ng-deep .error-message-tooltip{white-space:pre-line}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
2353
|
+
`, isInline: true, styles: [".array-layout{display:flex;flex-direction:column;gap:16px}.array-layout>*{flex:1 1 auto}.array-layout-toolbar{display:flex;align-items:center}.array-layout-title{margin:0}.array-layout-toolbar>span{flex:1 1 auto}.array-item{padding:16px}::ng-deep .error-message-tooltip{white-space:pre-line}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i2$4.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i3$2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3$2.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i3$2.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i6$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2424
2354
|
}
|
|
2425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ArrayLayoutRenderer, decorators: [{
|
|
2426
2356
|
type: Component,
|
|
2427
2357
|
args: [{ selector: 'app-array-layout-renderer', template: `
|
|
2428
2358
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="array-layout">
|
|
@@ -2512,7 +2442,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2512
2442
|
MatBadgeModule,
|
|
2513
2443
|
MatTooltipModule,
|
|
2514
2444
|
], styles: [".array-layout{display:flex;flex-direction:column;gap:16px}.array-layout>*{flex:1 1 auto}.array-layout-toolbar{display:flex;align-items:center}.array-layout-title{margin:0}.array-layout-toolbar>span{flex:1 1 auto}.array-item{padding:16px}::ng-deep .error-message-tooltip{white-space:pre-line}\n"] }]
|
|
2515
|
-
}]
|
|
2445
|
+
}] });
|
|
2516
2446
|
const ArrayLayoutRendererTester = rankWith(4, isObjectArrayWithNesting);
|
|
2517
2447
|
|
|
2518
2448
|
/*
|
|
@@ -2565,8 +2495,8 @@ const ArrayLayoutRendererTester = rankWith(4, isObjectArrayWithNesting);
|
|
|
2565
2495
|
THE SOFTWARE.
|
|
2566
2496
|
*/
|
|
2567
2497
|
class JsonFormsAngularMaterialModule {
|
|
2568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2569
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsAngularMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2499
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsAngularMaterialModule, imports: [CommonModule,
|
|
2570
2500
|
JsonFormsModule,
|
|
2571
2501
|
MatFormFieldModule,
|
|
2572
2502
|
MatCheckboxModule,
|
|
@@ -2647,7 +2577,7 @@ class JsonFormsAngularMaterialModule {
|
|
|
2647
2577
|
ArrayLayoutRenderer,
|
|
2648
2578
|
LayoutChildrenRenderPropsPipe,
|
|
2649
2579
|
GetProps] });
|
|
2650
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2580
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsAngularMaterialModule, imports: [CommonModule,
|
|
2651
2581
|
JsonFormsModule,
|
|
2652
2582
|
MatFormFieldModule,
|
|
2653
2583
|
MatCheckboxModule,
|
|
@@ -2705,7 +2635,7 @@ class JsonFormsAngularMaterialModule {
|
|
|
2705
2635
|
MatIconModule,
|
|
2706
2636
|
MatAutocompleteModule] });
|
|
2707
2637
|
}
|
|
2708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsAngularMaterialModule, decorators: [{
|
|
2709
2639
|
type: NgModule,
|
|
2710
2640
|
args: [{
|
|
2711
2641
|
imports: [
|