@jsonforms/angular-material 3.7.0-alpha.1 → 3.7.0-alpha.3
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 +282 -173
- package/lib/fesm2022/jsonforms-angular-material.mjs.map +1 -1
- package/lib/library/controls/autocomplete.renderer.d.ts +1 -1
- package/lib/library/controls/autocomplete.renderer.d.ts.map +1 -1
- package/lib/library/controls/boolean.renderer.d.ts +1 -1
- package/lib/library/controls/boolean.renderer.d.ts.map +1 -1
- package/lib/library/controls/date.renderer.d.ts +1 -1
- package/lib/library/controls/date.renderer.d.ts.map +1 -1
- package/lib/library/controls/number.renderer.d.ts +1 -1
- package/lib/library/controls/number.renderer.d.ts.map +1 -1
- package/lib/library/controls/range.renderer.d.ts +1 -1
- package/lib/library/controls/range.renderer.d.ts.map +1 -1
- package/lib/library/controls/text.renderer.d.ts +1 -1
- package/lib/library/controls/text.renderer.d.ts.map +1 -1
- package/lib/library/controls/textarea.renderer.d.ts +1 -1
- package/lib/library/controls/textarea.renderer.d.ts.map +1 -1
- package/lib/library/controls/toggle.renderer.d.ts +1 -1
- package/lib/library/controls/toggle.renderer.d.ts.map +1 -1
- package/lib/library/layouts/array-layout.renderer.d.ts +1 -1
- package/lib/library/layouts/array-layout.renderer.d.ts.map +1 -1
- package/lib/library/layouts/categorization-layout.renderer.d.ts +1 -1
- package/lib/library/layouts/categorization-layout.renderer.d.ts.map +1 -1
- package/lib/library/layouts/group-layout.renderer.d.ts +1 -1
- package/lib/library/layouts/group-layout.renderer.d.ts.map +1 -1
- package/lib/library/layouts/horizontal-layout.renderer.d.ts +1 -1
- package/lib/library/layouts/horizontal-layout.renderer.d.ts.map +1 -1
- package/lib/library/layouts/layout.renderer.d.ts +2 -2
- package/lib/library/layouts/layout.renderer.d.ts.map +1 -1
- package/lib/library/layouts/vertical-layout.renderer.d.ts +1 -1
- package/lib/library/layouts/vertical-layout.renderer.d.ts.map +1 -1
- package/lib/library/module.d.ts +42 -42
- package/lib/library/module.d.ts.map +1 -1
- package/lib/library/other/label.renderer.d.ts +1 -1
- package/lib/library/other/label.renderer.d.ts.map +1 -1
- package/lib/library/other/master-detail/detail.d.ts +1 -1
- package/lib/library/other/master-detail/detail.d.ts.map +1 -1
- package/lib/library/other/master-detail/master.d.ts +1 -1
- package/lib/library/other/master-detail/master.d.ts.map +1 -1
- package/lib/library/other/object.renderer.d.ts +1 -1
- package/lib/library/other/object.renderer.d.ts.map +1 -1
- package/lib/library/other/table.renderer.d.ts +16 -16
- package/lib/library/other/table.renderer.d.ts.map +1 -1
- package/package.json +40 -35
- package/src/library/controls/autocomplete.renderer.ts +12 -1
- package/src/library/controls/boolean.renderer.ts +4 -1
- package/src/library/controls/date.renderer.ts +15 -2
- package/src/library/controls/number.renderer.ts +10 -1
- package/src/library/controls/range.renderer.ts +4 -1
- package/src/library/controls/text.renderer.ts +10 -1
- package/src/library/controls/textarea.renderer.ts +10 -1
- package/src/library/controls/toggle.renderer.ts +4 -1
- package/src/library/layouts/array-layout.renderer.ts +16 -1
- package/src/library/layouts/categorization-layout.renderer.ts +12 -2
- package/src/library/layouts/group-layout.renderer.ts +13 -3
- package/src/library/layouts/horizontal-layout.renderer.ts +7 -3
- package/src/library/layouts/layout.renderer.ts +1 -2
- package/src/library/layouts/vertical-layout.renderer.ts +7 -3
- package/src/library/module.ts +20 -2
- package/src/library/other/label.renderer.ts +0 -1
- package/src/library/other/master-detail/detail.ts +3 -1
- package/src/library/other/master-detail/master.ts +14 -1
- package/src/library/other/object.renderer.ts +3 -1
- package/src/library/other/table.renderer.ts +39 -25
- package/src/library/other/util.ts +8 -1
- package/lib/esm2022/jsonforms-angular-material.mjs +0 -5
- package/lib/esm2022/library/controls/autocomplete.renderer.mjs +0 -171
- package/lib/esm2022/library/controls/boolean.renderer.mjs +0 -84
- package/lib/esm2022/library/controls/date.renderer.mjs +0 -191
- package/lib/esm2022/library/controls/index.mjs +0 -33
- package/lib/esm2022/library/controls/number.renderer.mjs +0 -173
- package/lib/esm2022/library/controls/range.renderer.mjs +0 -104
- package/lib/esm2022/library/controls/text.renderer.mjs +0 -98
- package/lib/esm2022/library/controls/textarea.renderer.mjs +0 -80
- package/lib/esm2022/library/controls/toggle.renderer.mjs +0 -87
- package/lib/esm2022/library/index.mjs +0 -69
- package/lib/esm2022/library/layouts/array-layout.renderer.mjs +0 -261
- package/lib/esm2022/library/layouts/categorization-layout.renderer.mjs +0 -100
- package/lib/esm2022/library/layouts/group-layout.renderer.mjs +0 -78
- package/lib/esm2022/library/layouts/horizontal-layout.renderer.mjs +0 -73
- package/lib/esm2022/library/layouts/index.mjs +0 -31
- package/lib/esm2022/library/layouts/layout.renderer.mjs +0 -81
- package/lib/esm2022/library/layouts/vertical-layout.renderer.mjs +0 -67
- package/lib/esm2022/library/module.mjs +0 -241
- package/lib/esm2022/library/other/index.mjs +0 -29
- package/lib/esm2022/library/other/label.renderer.mjs +0 -55
- package/lib/esm2022/library/other/master-detail/detail.mjs +0 -60
- package/lib/esm2022/library/other/master-detail/index.mjs +0 -27
- package/lib/esm2022/library/other/master-detail/master.mjs +0 -254
- package/lib/esm2022/library/other/object.renderer.mjs +0 -84
- package/lib/esm2022/library/other/table.renderer.mjs +0 -336
- package/lib/esm2022/library/util/date-format.mjs +0 -27
- package/lib/esm2022/library/util/dayjs-date-adapter.mjs +0 -100
- package/lib/esm2022/public_api.mjs +0 -2
|
@@ -1,49 +1,48 @@
|
|
|
1
1
|
import 'hammerjs';
|
|
2
2
|
import * as i2 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i3 from '@angular/forms';
|
|
5
5
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i6 from '@angular/material/autocomplete';
|
|
7
7
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i4$2 from '@angular/material/button';
|
|
9
9
|
import { MatButtonModule } from '@angular/material/button';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i6$3 from '@angular/material/badge';
|
|
11
11
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
12
|
-
import * as i3$
|
|
12
|
+
import * as i3$5 from '@angular/material/card';
|
|
13
13
|
import { MatCardModule } from '@angular/material/card';
|
|
14
|
-
import * as
|
|
14
|
+
import * as i3$1 from '@angular/material/checkbox';
|
|
15
15
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i6$1 from '@angular/material/datepicker';
|
|
17
17
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
18
|
-
import * as
|
|
18
|
+
import * as i4 from '@angular/material/form-field';
|
|
19
19
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
20
20
|
import * as i6$2 from '@angular/material/tooltip';
|
|
21
21
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
22
|
-
import * as
|
|
22
|
+
import * as i5$1 from '@angular/material/icon';
|
|
23
23
|
import { MatIconModule } from '@angular/material/icon';
|
|
24
|
-
import * as
|
|
24
|
+
import * as i5 from '@angular/material/input';
|
|
25
25
|
import { MatInputModule } from '@angular/material/input';
|
|
26
|
-
import * as i4$
|
|
26
|
+
import * as i4$1 from '@angular/material/list';
|
|
27
27
|
import { MatListModule } from '@angular/material/list';
|
|
28
|
-
import * as i6 from '@angular/material/core';
|
|
29
28
|
import { NativeDateAdapter, MAT_DATE_FORMATS, DateAdapter, MatNativeDateModule } from '@angular/material/core';
|
|
30
29
|
import { MatSelectModule } from '@angular/material/select';
|
|
31
|
-
import * as i3$
|
|
30
|
+
import * as i3$4 from '@angular/material/sidenav';
|
|
32
31
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
33
|
-
import * as
|
|
32
|
+
import * as i3$2 from '@angular/material/slider';
|
|
34
33
|
import { MatSliderModule } from '@angular/material/slider';
|
|
35
|
-
import * as
|
|
34
|
+
import * as i3$3 from '@angular/material/slide-toggle';
|
|
36
35
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
37
|
-
import * as
|
|
36
|
+
import * as i3$6 from '@angular/material/table';
|
|
38
37
|
import { MatTableModule } from '@angular/material/table';
|
|
39
|
-
import * as i3$
|
|
38
|
+
import * as i3$7 from '@angular/material/tabs';
|
|
40
39
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
41
40
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
42
41
|
import * as i0 from '@angular/core';
|
|
43
|
-
import {
|
|
42
|
+
import { Input, ChangeDetectionStrategy, Component, Injectable, Inject, ViewEncapsulation, Pipe, CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
44
43
|
import * as i1 from '@jsonforms/angular';
|
|
45
|
-
import { JsonFormsControl, JsonFormsBaseRenderer, JsonFormsArrayControl, JsonFormsControlWithDetail, JsonFormsAbstractControl
|
|
46
|
-
import { composeWithUi, Actions, rankWith, isEnumControl, isBooleanControl, defaultDateFormat, isDateControl, isNumberControl, or, isIntegerControl, isRangeControl, isMultiLineControl, isStringControl, and, optionIs, mapStateToLabelProps, uiTypeIs, decode, mapDispatchToArrayControlProps, findUISchema, setReadonly, getFirstPrimitiveProp, createDefaultValue, mapStateToArrayControlProps, defaultJsonFormsI18nState, getArrayTranslations, arrayDefaultTranslations, Generate, isObjectControl, encode, deriveTypes, isObjectArrayControl, isPrimitiveArrayControl,
|
|
44
|
+
import { JsonFormsControl, JsonFormsBaseRenderer, JsonFormsModule, JsonFormsArrayControl, JsonFormsControlWithDetail, JsonFormsAbstractControl } from '@jsonforms/angular';
|
|
45
|
+
import { composeWithUi, Actions, rankWith, isEnumControl, isBooleanControl, defaultDateFormat, isDateControl, 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';
|
|
47
46
|
import { startWith, map } from 'rxjs/operators';
|
|
48
47
|
import dayjs from 'dayjs';
|
|
49
48
|
import customParsing from 'dayjs/plugin/customParseFormat';
|
|
@@ -140,8 +139,8 @@ class AutocompleteControlRenderer extends JsonFormsControl {
|
|
|
140
139
|
options: this.options,
|
|
141
140
|
};
|
|
142
141
|
}
|
|
143
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
144
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AutocompleteControlRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
143
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: AutocompleteControlRenderer, isStandalone: true, selector: "AutocompleteControlRenderer", inputs: { options: "options" }, usesInheritance: true, ngImport: i0, template: `
|
|
145
144
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
146
145
|
<mat-label>{{ label }}</mat-label>
|
|
147
146
|
<input
|
|
@@ -172,9 +171,9 @@ class AutocompleteControlRenderer extends JsonFormsControl {
|
|
|
172
171
|
}}</mat-hint>
|
|
173
172
|
<mat-error>{{ error }}</mat-error>
|
|
174
173
|
</mat-form-field>
|
|
175
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
174
|
+
`, 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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i6.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: i6.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
176
175
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: AutocompleteControlRenderer, decorators: [{
|
|
178
177
|
type: Component,
|
|
179
178
|
args: [{ selector: 'AutocompleteControlRenderer', template: `
|
|
180
179
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -207,7 +206,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
207
206
|
}}</mat-hint>
|
|
208
207
|
<mat-error>{{ error }}</mat-error>
|
|
209
208
|
</mat-form-field>
|
|
210
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
209
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
210
|
+
CommonModule,
|
|
211
|
+
ReactiveFormsModule,
|
|
212
|
+
MatFormFieldModule,
|
|
213
|
+
MatInputModule,
|
|
214
|
+
MatAutocompleteModule,
|
|
215
|
+
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
211
216
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }], propDecorators: { options: [{
|
|
212
217
|
type: Input
|
|
213
218
|
}] } });
|
|
@@ -250,8 +255,8 @@ class BooleanControlRenderer extends JsonFormsControl {
|
|
|
250
255
|
this.changeDetectionRef.markForCheck();
|
|
251
256
|
}
|
|
252
257
|
}
|
|
253
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
254
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BooleanControlRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
259
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: BooleanControlRenderer, isStandalone: true, selector: "BooleanControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
255
260
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="boolean-control">
|
|
256
261
|
<mat-checkbox
|
|
257
262
|
(change)="onChange($event)"
|
|
@@ -266,9 +271,9 @@ class BooleanControlRenderer extends JsonFormsControl {
|
|
|
266
271
|
}}</mat-hint>
|
|
267
272
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
268
273
|
</div>
|
|
269
|
-
`, 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: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
274
|
+
`, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i3$1.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: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
270
275
|
}
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BooleanControlRenderer, decorators: [{
|
|
272
277
|
type: Component,
|
|
273
278
|
args: [{ selector: 'BooleanControlRenderer', template: `
|
|
274
279
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="boolean-control">
|
|
@@ -285,7 +290,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
285
290
|
}}</mat-hint>
|
|
286
291
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
287
292
|
</div>
|
|
288
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
293
|
+
`, 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"] }]
|
|
289
294
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
290
295
|
const booleanControlTester = rankWith(2, isBooleanControl);
|
|
291
296
|
|
|
@@ -307,10 +312,10 @@ class MyFormat {
|
|
|
307
312
|
dateInput: this.displayFormat,
|
|
308
313
|
};
|
|
309
314
|
}
|
|
310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
311
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MyFormat, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
316
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MyFormat });
|
|
312
317
|
}
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MyFormat, decorators: [{
|
|
314
319
|
type: Injectable
|
|
315
320
|
}] });
|
|
316
321
|
|
|
@@ -401,10 +406,10 @@ class DayJsDateAdapter extends NativeDateAdapter {
|
|
|
401
406
|
return null;
|
|
402
407
|
}
|
|
403
408
|
}
|
|
404
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
405
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DayJsDateAdapter, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
410
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DayJsDateAdapter });
|
|
406
411
|
}
|
|
407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DayJsDateAdapter, decorators: [{
|
|
408
413
|
type: Injectable
|
|
409
414
|
}] });
|
|
410
415
|
|
|
@@ -489,8 +494,8 @@ class DateControlRenderer extends JsonFormsControl {
|
|
|
489
494
|
this.startView = 'month';
|
|
490
495
|
}
|
|
491
496
|
}
|
|
492
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
493
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
497
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DateControlRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: MAT_DATE_FORMATS }, { token: DateAdapter }], target: i0.ɵɵFactoryTarget.Component });
|
|
498
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: DateControlRenderer, isStandalone: true, selector: "DateControlRenderer", providers: [
|
|
494
499
|
{
|
|
495
500
|
provide: DateAdapter,
|
|
496
501
|
useClass: DayJsDateAdapter,
|
|
@@ -530,9 +535,9 @@ class DateControlRenderer extends JsonFormsControl {
|
|
|
530
535
|
}}</mat-hint>
|
|
531
536
|
<mat-error>{{ error }}</mat-error>
|
|
532
537
|
</mat-form-field>
|
|
533
|
-
`, 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: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
538
|
+
`, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i6$1.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i6$1.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i6$1.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
534
539
|
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DateControlRenderer, decorators: [{
|
|
536
541
|
type: Component,
|
|
537
542
|
args: [{ selector: 'DateControlRenderer', template: `
|
|
538
543
|
<mat-form-field
|
|
@@ -574,7 +579,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
574
579
|
provide: MAT_DATE_FORMATS,
|
|
575
580
|
useClass: MyFormat,
|
|
576
581
|
},
|
|
577
|
-
],
|
|
582
|
+
], imports: [
|
|
583
|
+
CommonModule,
|
|
584
|
+
ReactiveFormsModule,
|
|
585
|
+
MatFormFieldModule,
|
|
586
|
+
MatInputModule,
|
|
587
|
+
MatDatepickerModule,
|
|
588
|
+
], 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"] }]
|
|
578
589
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: MyFormat, decorators: [{
|
|
579
590
|
type: Inject,
|
|
580
591
|
args: [MAT_DATE_FORMATS]
|
|
@@ -698,8 +709,8 @@ class NumberControlRenderer extends JsonFormsControl {
|
|
|
698
709
|
const example = this.numberFormat.format(1.1);
|
|
699
710
|
this.decimalSeparator = example.charAt(1);
|
|
700
711
|
}
|
|
701
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
702
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NumberControlRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
713
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: NumberControlRenderer, isStandalone: true, selector: "NumberControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
703
714
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
704
715
|
<mat-label>{{ label }}</mat-label>
|
|
705
716
|
<input
|
|
@@ -719,9 +730,9 @@ class NumberControlRenderer extends JsonFormsControl {
|
|
|
719
730
|
}}</mat-hint>
|
|
720
731
|
<mat-error>{{ error }}</mat-error>
|
|
721
732
|
</mat-form-field>
|
|
722
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
723
734
|
}
|
|
724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NumberControlRenderer, decorators: [{
|
|
725
736
|
type: Component,
|
|
726
737
|
args: [{ selector: 'NumberControlRenderer', template: `
|
|
727
738
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -743,7 +754,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
743
754
|
}}</mat-hint>
|
|
744
755
|
<mat-error>{{ error }}</mat-error>
|
|
745
756
|
</mat-form-field>
|
|
746
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
757
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
758
|
+
CommonModule,
|
|
759
|
+
ReactiveFormsModule,
|
|
760
|
+
MatFormFieldModule,
|
|
761
|
+
MatInputModule,
|
|
762
|
+
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
747
763
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
748
764
|
const NumberControlRendererTester = rankWith(2, or(isNumberControl, isIntegerControl));
|
|
749
765
|
|
|
@@ -790,8 +806,8 @@ class RangeControlRenderer extends JsonFormsControl {
|
|
|
790
806
|
}
|
|
791
807
|
this.changeDetectorRef.markForCheck();
|
|
792
808
|
}
|
|
793
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
794
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: RangeControlRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
810
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: RangeControlRenderer, isStandalone: true, selector: "RangeControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
795
811
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="range-control">
|
|
796
812
|
<label class="mat-caption" style="color:rgba(0,0,0,.54)">{{
|
|
797
813
|
label
|
|
@@ -813,9 +829,9 @@ class RangeControlRenderer extends JsonFormsControl {
|
|
|
813
829
|
}}</mat-hint>
|
|
814
830
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
815
831
|
</div>
|
|
816
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}.range-control{flex:1 1 auto;display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
832
|
+
`, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatSliderModule }, { kind: "component", type: i3$2.MatSlider, selector: "mat-slider", inputs: ["disabled", "discrete", "showTickMarks", "min", "color", "disableRipple", "max", "step", "displayWith"], exportAs: ["matSlider"] }, { kind: "directive", type: i3$2.MatSliderThumb, selector: "input[matSliderThumb]", inputs: ["value"], outputs: ["valueChange", "dragStart", "dragEnd"], exportAs: ["matSliderThumb"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
817
833
|
}
|
|
818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: RangeControlRenderer, decorators: [{
|
|
819
835
|
type: Component,
|
|
820
836
|
args: [{ selector: 'RangeControlRenderer', template: `
|
|
821
837
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="range-control">
|
|
@@ -839,7 +855,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
839
855
|
}}</mat-hint>
|
|
840
856
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
841
857
|
</div>
|
|
842
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
858
|
+
`, 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"] }]
|
|
843
859
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
844
860
|
const RangeControlRendererTester = rankWith(4, isRangeControl);
|
|
845
861
|
|
|
@@ -873,8 +889,8 @@ class TextAreaRenderer extends JsonFormsControl {
|
|
|
873
889
|
super(jsonformsService);
|
|
874
890
|
}
|
|
875
891
|
getEventValue = (event) => event.target.value || undefined;
|
|
876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
877
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
892
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TextAreaRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
893
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TextAreaRenderer, isStandalone: true, selector: "TextAreaRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
878
894
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
879
895
|
<mat-label>{{ label }}</mat-label>
|
|
880
896
|
<textarea
|
|
@@ -890,9 +906,9 @@ class TextAreaRenderer extends JsonFormsControl {
|
|
|
890
906
|
}}</mat-hint>
|
|
891
907
|
<mat-error>{{ error }}</mat-error>
|
|
892
908
|
</mat-form-field>
|
|
893
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
909
|
+
`, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
894
910
|
}
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TextAreaRenderer, decorators: [{
|
|
896
912
|
type: Component,
|
|
897
913
|
args: [{ selector: 'TextAreaRenderer', template: `
|
|
898
914
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -910,7 +926,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
910
926
|
}}</mat-hint>
|
|
911
927
|
<mat-error>{{ error }}</mat-error>
|
|
912
928
|
</mat-form-field>
|
|
913
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
929
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
930
|
+
CommonModule,
|
|
931
|
+
ReactiveFormsModule,
|
|
932
|
+
MatFormFieldModule,
|
|
933
|
+
MatInputModule,
|
|
934
|
+
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
914
935
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
915
936
|
const TextAreaRendererTester = rankWith(2, isMultiLineControl);
|
|
916
937
|
|
|
@@ -960,8 +981,8 @@ class TextControlRenderer extends JsonFormsControl {
|
|
|
960
981
|
}
|
|
961
982
|
return 'text';
|
|
962
983
|
};
|
|
963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
964
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
984
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TextControlRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
985
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TextControlRenderer, isStandalone: true, selector: "TextControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
965
986
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
966
987
|
<mat-label>{{ label }}</mat-label>
|
|
967
988
|
<input
|
|
@@ -978,9 +999,9 @@ class TextControlRenderer extends JsonFormsControl {
|
|
|
978
999
|
}}</mat-hint>
|
|
979
1000
|
<mat-error>{{ error }}</mat-error>
|
|
980
1001
|
</mat-form-field>
|
|
981
|
-
`, isInline: true, styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
1002
|
+
`, 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: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
982
1003
|
}
|
|
983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TextControlRenderer, decorators: [{
|
|
984
1005
|
type: Component,
|
|
985
1006
|
args: [{ selector: 'TextControlRenderer', template: `
|
|
986
1007
|
<mat-form-field [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
@@ -999,7 +1020,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
999
1020
|
}}</mat-hint>
|
|
1000
1021
|
<mat-error>{{ error }}</mat-error>
|
|
1001
1022
|
</mat-form-field>
|
|
1002
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1023
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
1024
|
+
CommonModule,
|
|
1025
|
+
ReactiveFormsModule,
|
|
1026
|
+
MatFormFieldModule,
|
|
1027
|
+
MatInputModule,
|
|
1028
|
+
], styles: [":host{display:flex;flex-direction:row}mat-form-field{flex:1 1 auto}\n"] }]
|
|
1003
1029
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
1004
1030
|
const TextControlRendererTester = rankWith(1, isStringControl);
|
|
1005
1031
|
|
|
@@ -1038,8 +1064,8 @@ class ToggleControlRenderer extends JsonFormsControl {
|
|
|
1038
1064
|
mapAdditionalProps() {
|
|
1039
1065
|
this.changeDetectorRef.markForCheck();
|
|
1040
1066
|
}
|
|
1041
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1042
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1067
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ToggleControlRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1068
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ToggleControlRenderer, isStandalone: true, selector: "ToggleControlRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1043
1069
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }">
|
|
1044
1070
|
<mat-slide-toggle
|
|
1045
1071
|
(change)="onChange($event)"
|
|
@@ -1054,9 +1080,9 @@ class ToggleControlRenderer extends JsonFormsControl {
|
|
|
1054
1080
|
}}</mat-hint>
|
|
1055
1081
|
<mat-error class="mat-caption">{{ error }}</mat-error>
|
|
1056
1082
|
</div>
|
|
1057
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "
|
|
1083
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i3$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: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1058
1084
|
}
|
|
1059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ToggleControlRenderer, decorators: [{
|
|
1060
1086
|
type: Component,
|
|
1061
1087
|
args: [{
|
|
1062
1088
|
selector: 'ToggleControlRenderer',
|
|
@@ -1077,7 +1103,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1077
1103
|
</div>
|
|
1078
1104
|
`,
|
|
1079
1105
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1080
|
-
|
|
1106
|
+
imports: [CommonModule, MatSlideToggleModule, MatFormFieldModule],
|
|
1081
1107
|
}]
|
|
1082
1108
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
1083
1109
|
const ToggleControlRendererTester = rankWith(3, and(isBooleanControl, optionIs('toggle', true)));
|
|
@@ -1123,12 +1149,12 @@ class LabelRenderer extends JsonFormsBaseRenderer {
|
|
|
1123
1149
|
},
|
|
1124
1150
|
}));
|
|
1125
1151
|
}
|
|
1126
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1127
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1152
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LabelRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1153
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", 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"] });
|
|
1128
1154
|
}
|
|
1129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LabelRenderer, decorators: [{
|
|
1130
1156
|
type: Component,
|
|
1131
|
-
args: [{ selector: 'LabelRenderer', template: ` <label class="mat-headline-6"> {{ label }} </label> `,
|
|
1157
|
+
args: [{ selector: 'LabelRenderer', template: ` <label class="mat-headline-6"> {{ label }} </label> `, styles: [":host{flex:1 1 auto}\n"] }]
|
|
1132
1158
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
1133
1159
|
const LabelRendererTester = rankWith(4, uiTypeIs('Label'));
|
|
1134
1160
|
|
|
@@ -1166,14 +1192,14 @@ class JsonFormsDetailComponent {
|
|
|
1166
1192
|
this.initialized = true;
|
|
1167
1193
|
}
|
|
1168
1194
|
}
|
|
1169
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1170
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1195
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1196
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: JsonFormsDetailComponent, isStandalone: true, selector: "jsonforms-detail", inputs: { item: "item" }, ngImport: i0, template: `
|
|
1171
1197
|
<div *ngIf="initialized">
|
|
1172
1198
|
<jsonforms-outlet [renderProps]="_item"></jsonforms-outlet>
|
|
1173
1199
|
</div>
|
|
1174
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }] });
|
|
1200
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }] });
|
|
1175
1201
|
}
|
|
1176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsDetailComponent, decorators: [{
|
|
1177
1203
|
type: Component,
|
|
1178
1204
|
args: [{
|
|
1179
1205
|
selector: 'jsonforms-detail',
|
|
@@ -1182,7 +1208,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1182
1208
|
<jsonforms-outlet [renderProps]="_item"></jsonforms-outlet>
|
|
1183
1209
|
</div>
|
|
1184
1210
|
`,
|
|
1185
|
-
|
|
1211
|
+
imports: [CommonModule, JsonFormsModule],
|
|
1186
1212
|
}]
|
|
1187
1213
|
}], propDecorators: { item: [{
|
|
1188
1214
|
type: Input
|
|
@@ -1318,8 +1344,8 @@ class MasterListComponent extends JsonFormsArrayControl {
|
|
|
1318
1344
|
const translations = getArrayTranslations(t, arrayDefaultTranslations, props.i18nKeyPrefix, props.label);
|
|
1319
1345
|
return { ...props, translations };
|
|
1320
1346
|
}
|
|
1321
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1322
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MasterListComponent, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1348
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: MasterListComponent, isStandalone: true, selector: "jsonforms-list-with-detail-master", usesInheritance: true, ngImport: i0, template: `
|
|
1323
1349
|
<mat-sidenav-container
|
|
1324
1350
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
1325
1351
|
autosize="true"
|
|
@@ -1370,9 +1396,9 @@ class MasterListComponent extends JsonFormsArrayControl {
|
|
|
1370
1396
|
></jsonforms-detail>
|
|
1371
1397
|
</mat-sidenav-content>
|
|
1372
1398
|
</mat-sidenav-container>
|
|
1373
|
-
`, 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: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3$
|
|
1399
|
+
`, 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: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i3$4.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i3$4.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i3$4.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "ngmodule", type: MatListModule }, { kind: "component", type: i4$1.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i4$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$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i4$2.MatFabButton, selector: "button[mat-fab]", inputs: ["extended"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$1.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 });
|
|
1374
1400
|
}
|
|
1375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MasterListComponent, decorators: [{
|
|
1376
1402
|
type: Component,
|
|
1377
1403
|
args: [{ selector: 'jsonforms-list-with-detail-master', template: `
|
|
1378
1404
|
<mat-sidenav-container
|
|
@@ -1425,7 +1451,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1425
1451
|
></jsonforms-detail>
|
|
1426
1452
|
</mat-sidenav-content>
|
|
1427
1453
|
</mat-sidenav-container>
|
|
1428
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1454
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
1455
|
+
CommonModule,
|
|
1456
|
+
MatSidenavModule,
|
|
1457
|
+
MatListModule,
|
|
1458
|
+
MatButtonModule,
|
|
1459
|
+
MatIconModule,
|
|
1460
|
+
JsonFormsDetailComponent,
|
|
1461
|
+
], 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"] }]
|
|
1429
1462
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
1430
1463
|
const masterDetailTester = rankWith(4, uiTypeIs('ListWithDetail'));
|
|
1431
1464
|
|
|
@@ -1477,8 +1510,8 @@ class ObjectControlRenderer extends JsonFormsControlWithDetail {
|
|
|
1477
1510
|
setReadonly(this.detailUiSchema);
|
|
1478
1511
|
}
|
|
1479
1512
|
}
|
|
1480
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1481
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1513
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ObjectControlRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1514
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ObjectControlRenderer, isStandalone: true, selector: "ObjectRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1482
1515
|
<mat-card class="object-layout" appearance="outlined">
|
|
1483
1516
|
<jsonforms-outlet
|
|
1484
1517
|
[uischema]="detailUiSchema"
|
|
@@ -1487,9 +1520,9 @@ class ObjectControlRenderer extends JsonFormsControlWithDetail {
|
|
|
1487
1520
|
>
|
|
1488
1521
|
</jsonforms-outlet>
|
|
1489
1522
|
</mat-card>
|
|
1490
|
-
`, isInline: true, styles: [".object-layout{padding:16px}\n"], dependencies: [{ kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3$
|
|
1523
|
+
`, isInline: true, styles: [".object-layout{padding:16px}\n"], dependencies: [{ kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i3$5.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1491
1524
|
}
|
|
1492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ObjectControlRenderer, decorators: [{
|
|
1493
1526
|
type: Component,
|
|
1494
1527
|
args: [{ selector: 'ObjectRenderer', template: `
|
|
1495
1528
|
<mat-card class="object-layout" appearance="outlined">
|
|
@@ -1500,7 +1533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1500
1533
|
>
|
|
1501
1534
|
</jsonforms-outlet>
|
|
1502
1535
|
</mat-card>
|
|
1503
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1536
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [JsonFormsModule, MatCardModule], styles: [".object-layout{padding:16px}\n"] }]
|
|
1504
1537
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
1505
1538
|
const ObjectControlRendererTester = rankWith(2, isObjectControl);
|
|
1506
1539
|
|
|
@@ -1528,6 +1561,27 @@ const ObjectControlRendererTester = rankWith(2, isObjectControl);
|
|
|
1528
1561
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1529
1562
|
THE SOFTWARE.
|
|
1530
1563
|
*/
|
|
1564
|
+
const controlWithoutLabel = (scope) => ({
|
|
1565
|
+
type: 'Control',
|
|
1566
|
+
scope: scope,
|
|
1567
|
+
label: false,
|
|
1568
|
+
});
|
|
1569
|
+
class GetProps {
|
|
1570
|
+
transform(index, props) {
|
|
1571
|
+
const rowPath = Paths.compose(props.path, `${index}`);
|
|
1572
|
+
return {
|
|
1573
|
+
schema: props.schema,
|
|
1574
|
+
uischema: props.uischema,
|
|
1575
|
+
path: rowPath,
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1578
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetProps, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1579
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GetProps, isStandalone: true, name: "getProps" });
|
|
1580
|
+
}
|
|
1581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GetProps, decorators: [{
|
|
1582
|
+
type: Pipe,
|
|
1583
|
+
args: [{ name: 'getProps' }]
|
|
1584
|
+
}] });
|
|
1531
1585
|
class TableRenderer extends JsonFormsArrayControl {
|
|
1532
1586
|
detailUiSchema;
|
|
1533
1587
|
displayedColumns;
|
|
@@ -1617,8 +1671,8 @@ class TableRenderer extends JsonFormsArrayControl {
|
|
|
1617
1671
|
// primitives
|
|
1618
1672
|
return [''];
|
|
1619
1673
|
};
|
|
1620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1621
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1674
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TableRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1675
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TableRenderer, isStandalone: true, selector: "TableRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
1622
1676
|
<div class="table-container">
|
|
1623
1677
|
<table
|
|
1624
1678
|
mat-table
|
|
@@ -1709,9 +1763,9 @@ class TableRenderer extends JsonFormsArrayControl {
|
|
|
1709
1763
|
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
|
|
1710
1764
|
</table>
|
|
1711
1765
|
</div>
|
|
1712
|
-
`, 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: "
|
|
1766
|
+
`, 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: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3$6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$6.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3$6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i4$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: GetProps, name: "getProps" }] });
|
|
1713
1767
|
}
|
|
1714
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TableRenderer, decorators: [{
|
|
1715
1769
|
type: Component,
|
|
1716
1770
|
args: [{ selector: 'TableRenderer', template: `
|
|
1717
1771
|
<div class="table-container">
|
|
@@ -1804,30 +1858,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1804
1858
|
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
|
|
1805
1859
|
</table>
|
|
1806
1860
|
</div>
|
|
1807
|
-
`,
|
|
1861
|
+
`, imports: [
|
|
1862
|
+
CommonModule,
|
|
1863
|
+
JsonFormsModule,
|
|
1864
|
+
MatTableModule,
|
|
1865
|
+
MatButtonModule,
|
|
1866
|
+
MatIconModule,
|
|
1867
|
+
MatTooltipModule,
|
|
1868
|
+
GetProps,
|
|
1869
|
+
], 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"] }]
|
|
1808
1870
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
1809
1871
|
const TableRendererTester = rankWith(3, or(isObjectArrayControl, isPrimitiveArrayControl));
|
|
1810
|
-
const controlWithoutLabel = (scope) => ({
|
|
1811
|
-
type: 'Control',
|
|
1812
|
-
scope: scope,
|
|
1813
|
-
label: false,
|
|
1814
|
-
});
|
|
1815
|
-
class GetProps {
|
|
1816
|
-
transform(index, props) {
|
|
1817
|
-
const rowPath = Paths.compose(props.path, `${index}`);
|
|
1818
|
-
return {
|
|
1819
|
-
schema: props.schema,
|
|
1820
|
-
uischema: props.uischema,
|
|
1821
|
-
path: rowPath,
|
|
1822
|
-
};
|
|
1823
|
-
}
|
|
1824
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetProps, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1825
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GetProps, name: "getProps" });
|
|
1826
|
-
}
|
|
1827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GetProps, decorators: [{
|
|
1828
|
-
type: Pipe,
|
|
1829
|
-
args: [{ name: 'getProps', standalone: false }]
|
|
1830
|
-
}] });
|
|
1831
1872
|
|
|
1832
1873
|
/*
|
|
1833
1874
|
The MIT License
|
|
@@ -1867,14 +1908,14 @@ class CategorizationTabLayoutRenderer extends JsonFormsBaseRenderer {
|
|
|
1867
1908
|
next: (state) => {
|
|
1868
1909
|
const props = mapStateToLayoutProps(state, this.getOwnProps());
|
|
1869
1910
|
this.hidden = !props.visible;
|
|
1870
|
-
this.visibleCategories = this.uischema.elements.filter((category) => isVisible(category, props.data, undefined, getAjv(state)));
|
|
1911
|
+
this.visibleCategories = this.uischema.elements.filter((category) => isVisible(category, props.data, undefined, getAjv(state), getConfig(state)));
|
|
1871
1912
|
this.categoryLabels = this.visibleCategories.map((element) => deriveLabelForUISchemaElement(element, state.jsonforms.i18n?.translate ??
|
|
1872
1913
|
defaultJsonFormsI18nState.translate));
|
|
1873
1914
|
},
|
|
1874
1915
|
}));
|
|
1875
1916
|
}
|
|
1876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1877
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1917
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CategorizationTabLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1918
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: CategorizationTabLayoutRenderer, isStandalone: true, selector: "jsonforms-categorization-layout", usesInheritance: true, ngImport: i0, template: `
|
|
1878
1919
|
<mat-tab-group
|
|
1879
1920
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
1880
1921
|
dynamicHeight="true"
|
|
@@ -1892,9 +1933,9 @@ class CategorizationTabLayoutRenderer extends JsonFormsBaseRenderer {
|
|
|
1892
1933
|
</div>
|
|
1893
1934
|
</mat-tab>
|
|
1894
1935
|
</mat-tab-group>
|
|
1895
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3$
|
|
1936
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i3$7.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i3$7.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"] }] });
|
|
1896
1937
|
}
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CategorizationTabLayoutRenderer, decorators: [{
|
|
1898
1939
|
type: Component,
|
|
1899
1940
|
args: [{
|
|
1900
1941
|
selector: 'jsonforms-categorization-layout',
|
|
@@ -1917,7 +1958,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1917
1958
|
</mat-tab>
|
|
1918
1959
|
</mat-tab-group>
|
|
1919
1960
|
`,
|
|
1920
|
-
|
|
1961
|
+
imports: [CommonModule, JsonFormsModule, MatTabsModule],
|
|
1921
1962
|
}]
|
|
1922
1963
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
1923
1964
|
const categorizationTester = rankWith(2, and(uiTypeIs('Categorization'), categorizationHasCategory));
|
|
@@ -1971,14 +2012,13 @@ class LayoutRenderer extends JsonFormsBaseRenderer {
|
|
|
1971
2012
|
? renderProp.path + JSON.stringify(renderProp.uischema)
|
|
1972
2013
|
: null;
|
|
1973
2014
|
}
|
|
1974
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1975
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2015
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2016
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: LayoutRenderer, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1976
2017
|
}
|
|
1977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutRenderer, decorators: [{
|
|
1978
2019
|
type: Component,
|
|
1979
2020
|
args: [{
|
|
1980
2021
|
template: '',
|
|
1981
|
-
standalone: false,
|
|
1982
2022
|
}]
|
|
1983
2023
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
1984
2024
|
class LayoutChildrenRenderPropsPipe {
|
|
@@ -1990,12 +2030,12 @@ class LayoutChildrenRenderPropsPipe {
|
|
|
1990
2030
|
}));
|
|
1991
2031
|
return elements;
|
|
1992
2032
|
}
|
|
1993
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1994
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
2033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutChildrenRenderPropsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2034
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: LayoutChildrenRenderPropsPipe, isStandalone: true, name: "layoutChildrenRenderProps" });
|
|
1995
2035
|
}
|
|
1996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LayoutChildrenRenderPropsPipe, decorators: [{
|
|
1997
2037
|
type: Pipe,
|
|
1998
|
-
args: [{ name: 'layoutChildrenRenderProps'
|
|
2038
|
+
args: [{ name: 'layoutChildrenRenderProps' }]
|
|
1999
2039
|
}] });
|
|
2000
2040
|
|
|
2001
2041
|
/*
|
|
@@ -2026,8 +2066,8 @@ class GroupLayoutRenderer extends LayoutRenderer {
|
|
|
2026
2066
|
constructor(jsonFormsService, changeDetectionRef) {
|
|
2027
2067
|
super(jsonFormsService, changeDetectionRef);
|
|
2028
2068
|
}
|
|
2029
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2030
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2069
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GroupLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2070
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GroupLayoutRenderer, isStandalone: true, selector: "GroupLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2031
2071
|
<mat-card
|
|
2032
2072
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
2033
2073
|
appearance="outlined"
|
|
@@ -2043,9 +2083,9 @@ class GroupLayoutRenderer extends LayoutRenderer {
|
|
|
2043
2083
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2044
2084
|
</div>
|
|
2045
2085
|
</mat-card>
|
|
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: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3$
|
|
2086
|
+
`, 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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i3$5.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3$5.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2047
2087
|
}
|
|
2048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GroupLayoutRenderer, decorators: [{
|
|
2049
2089
|
type: Component,
|
|
2050
2090
|
args: [{ selector: 'GroupLayoutRenderer', template: `
|
|
2051
2091
|
<mat-card
|
|
@@ -2063,7 +2103,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2063
2103
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2064
2104
|
</div>
|
|
2065
2105
|
</mat-card>
|
|
2066
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2106
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2107
|
+
CommonModule,
|
|
2108
|
+
JsonFormsModule,
|
|
2109
|
+
LayoutChildrenRenderPropsPipe,
|
|
2110
|
+
MatCardModule,
|
|
2111
|
+
], styles: [".group-layout{display:flex;flex-direction:column;gap:16px;padding:16px}.group-layout>div{flex:1 1 auto}\n"] }]
|
|
2067
2112
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
2068
2113
|
const groupLayoutTester = rankWith(1, uiTypeIs('Group'));
|
|
2069
2114
|
|
|
@@ -2095,8 +2140,8 @@ class HorizontalLayoutRenderer extends LayoutRenderer {
|
|
|
2095
2140
|
constructor(jsonFormsService, changeDetectionRef) {
|
|
2096
2141
|
super(jsonFormsService, changeDetectionRef);
|
|
2097
2142
|
}
|
|
2098
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2099
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2143
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HorizontalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2144
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HorizontalLayoutRenderer, isStandalone: true, selector: "HorizontalLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2100
2145
|
<div
|
|
2101
2146
|
[ngStyle]="{ display: hidden ? 'none' : '' }"
|
|
2102
2147
|
class="horizontal-layout"
|
|
@@ -2110,9 +2155,9 @@ class HorizontalLayoutRenderer extends LayoutRenderer {
|
|
|
2110
2155
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2111
2156
|
</div>
|
|
2112
2157
|
</div>
|
|
2113
|
-
`, 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: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2158
|
+
`, 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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2114
2159
|
}
|
|
2115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HorizontalLayoutRenderer, decorators: [{
|
|
2116
2161
|
type: Component,
|
|
2117
2162
|
args: [{ selector: 'HorizontalLayoutRenderer', template: `
|
|
2118
2163
|
<div
|
|
@@ -2128,7 +2173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2128
2173
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2129
2174
|
</div>
|
|
2130
2175
|
</div>
|
|
2131
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2176
|
+
`, 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"] }]
|
|
2132
2177
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
2133
2178
|
const horizontalLayoutTester = rankWith(1, uiTypeIs('HorizontalLayout'));
|
|
2134
2179
|
|
|
@@ -2160,8 +2205,8 @@ class VerticalLayoutRenderer extends LayoutRenderer {
|
|
|
2160
2205
|
constructor(jsonFormsService, changeDetectionRef) {
|
|
2161
2206
|
super(jsonFormsService, changeDetectionRef);
|
|
2162
2207
|
}
|
|
2163
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2164
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2208
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: VerticalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2209
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: VerticalLayoutRenderer, isStandalone: true, selector: "VerticalLayoutRenderer", usesInheritance: true, ngImport: i0, template: `
|
|
2165
2210
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="vertical-layout">
|
|
2166
2211
|
<div
|
|
2167
2212
|
*ngFor="
|
|
@@ -2172,9 +2217,9 @@ class VerticalLayoutRenderer extends LayoutRenderer {
|
|
|
2172
2217
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2173
2218
|
</div>
|
|
2174
2219
|
</div>
|
|
2175
|
-
`, isInline: true, styles: [".vertical-layout{display:flex;flex-direction:column;gap:16px}.vertical-layout>div{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2220
|
+
`, 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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2176
2221
|
}
|
|
2177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: VerticalLayoutRenderer, decorators: [{
|
|
2178
2223
|
type: Component,
|
|
2179
2224
|
args: [{ selector: 'VerticalLayoutRenderer', template: `
|
|
2180
2225
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="vertical-layout">
|
|
@@ -2187,7 +2232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2187
2232
|
<jsonforms-outlet [renderProps]="props"></jsonforms-outlet>
|
|
2188
2233
|
</div>
|
|
2189
2234
|
</div>
|
|
2190
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2235
|
+
`, 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"] }]
|
|
2191
2236
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }] });
|
|
2192
2237
|
const verticalLayoutTester = rankWith(1, uiTypeIs('VerticalLayout'));
|
|
2193
2238
|
|
|
@@ -2274,8 +2319,8 @@ class ArrayLayoutRenderer extends JsonFormsAbstractControl {
|
|
|
2274
2319
|
trackByFn(index) {
|
|
2275
2320
|
return index;
|
|
2276
2321
|
}
|
|
2277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2278
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ArrayLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2323
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ArrayLayoutRenderer, isStandalone: true, selector: "app-array-layout-renderer", usesInheritance: true, ngImport: i0, template: `
|
|
2279
2324
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="array-layout">
|
|
2280
2325
|
<div class="array-layout-toolbar">
|
|
2281
2326
|
<h2 class="mat-h2 array-layout-title">{{ label }}</h2>
|
|
@@ -2354,9 +2399,9 @@ class ArrayLayoutRenderer extends JsonFormsAbstractControl {
|
|
|
2354
2399
|
</mat-card>
|
|
2355
2400
|
</div>
|
|
2356
2401
|
</div>
|
|
2357
|
-
`, 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: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3$
|
|
2402
|
+
`, 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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: JsonFormsModule }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i3$5.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3$5.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i3$5.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatBadgeModule }, { kind: "directive", type: i6$3.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2358
2403
|
}
|
|
2359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ArrayLayoutRenderer, decorators: [{
|
|
2360
2405
|
type: Component,
|
|
2361
2406
|
args: [{ selector: 'app-array-layout-renderer', template: `
|
|
2362
2407
|
<div [ngStyle]="{ display: hidden ? 'none' : '' }" class="array-layout">
|
|
@@ -2437,7 +2482,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2437
2482
|
</mat-card>
|
|
2438
2483
|
</div>
|
|
2439
2484
|
</div>
|
|
2440
|
-
`, changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2485
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
2486
|
+
CommonModule,
|
|
2487
|
+
JsonFormsModule,
|
|
2488
|
+
MatCardModule,
|
|
2489
|
+
MatButtonModule,
|
|
2490
|
+
MatIconModule,
|
|
2491
|
+
MatBadgeModule,
|
|
2492
|
+
MatTooltipModule,
|
|
2493
|
+
], 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"] }]
|
|
2441
2494
|
}], ctorParameters: () => [{ type: i1.JsonFormsAngularService }] });
|
|
2442
2495
|
const ArrayLayoutRendererTester = rankWith(4, isObjectArrayWithNesting);
|
|
2443
2496
|
|
|
@@ -2491,27 +2544,8 @@ const ArrayLayoutRendererTester = rankWith(4, isObjectArrayWithNesting);
|
|
|
2491
2544
|
THE SOFTWARE.
|
|
2492
2545
|
*/
|
|
2493
2546
|
class JsonFormsAngularMaterialModule {
|
|
2494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2495
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2496
|
-
TextAreaRenderer,
|
|
2497
|
-
TextControlRenderer,
|
|
2498
|
-
NumberControlRenderer,
|
|
2499
|
-
RangeControlRenderer,
|
|
2500
|
-
DateControlRenderer,
|
|
2501
|
-
ToggleControlRenderer,
|
|
2502
|
-
VerticalLayoutRenderer,
|
|
2503
|
-
HorizontalLayoutRenderer,
|
|
2504
|
-
CategorizationTabLayoutRenderer,
|
|
2505
|
-
GroupLayoutRenderer,
|
|
2506
|
-
LabelRenderer,
|
|
2507
|
-
MasterListComponent,
|
|
2508
|
-
JsonFormsDetailComponent,
|
|
2509
|
-
ObjectControlRenderer,
|
|
2510
|
-
AutocompleteControlRenderer,
|
|
2511
|
-
TableRenderer,
|
|
2512
|
-
ArrayLayoutRenderer,
|
|
2513
|
-
LayoutChildrenRenderPropsPipe,
|
|
2514
|
-
GetProps], imports: [CommonModule,
|
|
2547
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsAngularMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2548
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsAngularMaterialModule, imports: [CommonModule,
|
|
2515
2549
|
JsonFormsModule,
|
|
2516
2550
|
MatFormFieldModule,
|
|
2517
2551
|
MatCheckboxModule,
|
|
@@ -2532,7 +2566,27 @@ class JsonFormsAngularMaterialModule {
|
|
|
2532
2566
|
MatTableModule,
|
|
2533
2567
|
MatToolbarModule,
|
|
2534
2568
|
MatTooltipModule,
|
|
2535
|
-
MatBadgeModule
|
|
2569
|
+
MatBadgeModule,
|
|
2570
|
+
BooleanControlRenderer,
|
|
2571
|
+
TextAreaRenderer,
|
|
2572
|
+
TextControlRenderer,
|
|
2573
|
+
NumberControlRenderer,
|
|
2574
|
+
RangeControlRenderer,
|
|
2575
|
+
DateControlRenderer,
|
|
2576
|
+
ToggleControlRenderer,
|
|
2577
|
+
VerticalLayoutRenderer,
|
|
2578
|
+
HorizontalLayoutRenderer,
|
|
2579
|
+
CategorizationTabLayoutRenderer,
|
|
2580
|
+
GroupLayoutRenderer,
|
|
2581
|
+
LabelRenderer,
|
|
2582
|
+
MasterListComponent,
|
|
2583
|
+
JsonFormsDetailComponent,
|
|
2584
|
+
ObjectControlRenderer,
|
|
2585
|
+
AutocompleteControlRenderer,
|
|
2586
|
+
TableRenderer,
|
|
2587
|
+
ArrayLayoutRenderer,
|
|
2588
|
+
LayoutChildrenRenderPropsPipe,
|
|
2589
|
+
GetProps], exports: [CommonModule,
|
|
2536
2590
|
JsonFormsModule,
|
|
2537
2591
|
MatFormFieldModule,
|
|
2538
2592
|
MatCheckboxModule,
|
|
@@ -2549,8 +2603,28 @@ class JsonFormsAngularMaterialModule {
|
|
|
2549
2603
|
MatSelectModule,
|
|
2550
2604
|
MatButtonModule,
|
|
2551
2605
|
MatIconModule,
|
|
2552
|
-
MatAutocompleteModule
|
|
2553
|
-
|
|
2606
|
+
MatAutocompleteModule,
|
|
2607
|
+
BooleanControlRenderer,
|
|
2608
|
+
TextAreaRenderer,
|
|
2609
|
+
TextControlRenderer,
|
|
2610
|
+
NumberControlRenderer,
|
|
2611
|
+
RangeControlRenderer,
|
|
2612
|
+
DateControlRenderer,
|
|
2613
|
+
ToggleControlRenderer,
|
|
2614
|
+
VerticalLayoutRenderer,
|
|
2615
|
+
HorizontalLayoutRenderer,
|
|
2616
|
+
CategorizationTabLayoutRenderer,
|
|
2617
|
+
GroupLayoutRenderer,
|
|
2618
|
+
LabelRenderer,
|
|
2619
|
+
MasterListComponent,
|
|
2620
|
+
JsonFormsDetailComponent,
|
|
2621
|
+
ObjectControlRenderer,
|
|
2622
|
+
AutocompleteControlRenderer,
|
|
2623
|
+
TableRenderer,
|
|
2624
|
+
ArrayLayoutRenderer,
|
|
2625
|
+
LayoutChildrenRenderPropsPipe,
|
|
2626
|
+
GetProps] });
|
|
2627
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsAngularMaterialModule, imports: [CommonModule,
|
|
2554
2628
|
JsonFormsModule,
|
|
2555
2629
|
MatFormFieldModule,
|
|
2556
2630
|
MatCheckboxModule,
|
|
@@ -2571,7 +2645,24 @@ class JsonFormsAngularMaterialModule {
|
|
|
2571
2645
|
MatTableModule,
|
|
2572
2646
|
MatToolbarModule,
|
|
2573
2647
|
MatTooltipModule,
|
|
2574
|
-
MatBadgeModule,
|
|
2648
|
+
MatBadgeModule,
|
|
2649
|
+
BooleanControlRenderer,
|
|
2650
|
+
TextAreaRenderer,
|
|
2651
|
+
TextControlRenderer,
|
|
2652
|
+
NumberControlRenderer,
|
|
2653
|
+
RangeControlRenderer,
|
|
2654
|
+
DateControlRenderer,
|
|
2655
|
+
ToggleControlRenderer,
|
|
2656
|
+
VerticalLayoutRenderer,
|
|
2657
|
+
HorizontalLayoutRenderer,
|
|
2658
|
+
CategorizationTabLayoutRenderer,
|
|
2659
|
+
GroupLayoutRenderer,
|
|
2660
|
+
MasterListComponent,
|
|
2661
|
+
JsonFormsDetailComponent,
|
|
2662
|
+
ObjectControlRenderer,
|
|
2663
|
+
AutocompleteControlRenderer,
|
|
2664
|
+
TableRenderer,
|
|
2665
|
+
ArrayLayoutRenderer, CommonModule,
|
|
2575
2666
|
JsonFormsModule,
|
|
2576
2667
|
MatFormFieldModule,
|
|
2577
2668
|
MatCheckboxModule,
|
|
@@ -2590,7 +2681,7 @@ class JsonFormsAngularMaterialModule {
|
|
|
2590
2681
|
MatIconModule,
|
|
2591
2682
|
MatAutocompleteModule] });
|
|
2592
2683
|
}
|
|
2593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsAngularMaterialModule, decorators: [{
|
|
2594
2685
|
type: NgModule,
|
|
2595
2686
|
args: [{
|
|
2596
2687
|
imports: [
|
|
@@ -2616,8 +2707,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2616
2707
|
MatToolbarModule,
|
|
2617
2708
|
MatTooltipModule,
|
|
2618
2709
|
MatBadgeModule,
|
|
2619
|
-
],
|
|
2620
|
-
declarations: [
|
|
2621
2710
|
BooleanControlRenderer,
|
|
2622
2711
|
TextAreaRenderer,
|
|
2623
2712
|
TextControlRenderer,
|
|
@@ -2658,6 +2747,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2658
2747
|
MatButtonModule,
|
|
2659
2748
|
MatIconModule,
|
|
2660
2749
|
MatAutocompleteModule,
|
|
2750
|
+
BooleanControlRenderer,
|
|
2751
|
+
TextAreaRenderer,
|
|
2752
|
+
TextControlRenderer,
|
|
2753
|
+
NumberControlRenderer,
|
|
2754
|
+
RangeControlRenderer,
|
|
2755
|
+
DateControlRenderer,
|
|
2756
|
+
ToggleControlRenderer,
|
|
2757
|
+
VerticalLayoutRenderer,
|
|
2758
|
+
HorizontalLayoutRenderer,
|
|
2759
|
+
CategorizationTabLayoutRenderer,
|
|
2760
|
+
GroupLayoutRenderer,
|
|
2761
|
+
LabelRenderer,
|
|
2762
|
+
MasterListComponent,
|
|
2763
|
+
JsonFormsDetailComponent,
|
|
2764
|
+
ObjectControlRenderer,
|
|
2765
|
+
AutocompleteControlRenderer,
|
|
2766
|
+
TableRenderer,
|
|
2767
|
+
ArrayLayoutRenderer,
|
|
2768
|
+
LayoutChildrenRenderPropsPipe,
|
|
2769
|
+
GetProps,
|
|
2661
2770
|
],
|
|
2662
2771
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
2663
2772
|
providers: [],
|