@jsonforms/angular 3.8.0-alpha.1 → 3.8.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/lib/fesm2022/jsonforms-angular.mjs +102 -63
  2. package/lib/fesm2022/jsonforms-angular.mjs.map +1 -1
  3. package/lib/index.d.ts +191 -4
  4. package/lib/index.d.ts.map +1 -0
  5. package/package.json +15 -15
  6. package/src/library/abstract-control.ts +20 -12
  7. package/src/library/index.ts +9 -8
  8. package/src/library/jsonforms-root.component.ts +12 -6
  9. package/src/library/jsonforms.component.ts +5 -8
  10. package/src/library/jsonforms.config.ts +57 -0
  11. package/lib/jsonforms-angular.d.ts.map +0 -1
  12. package/lib/library/abstract-control.d.ts +0 -37
  13. package/lib/library/abstract-control.d.ts.map +0 -1
  14. package/lib/library/array-control.d.ts +0 -9
  15. package/lib/library/array-control.d.ts.map +0 -1
  16. package/lib/library/base.renderer.d.ts +0 -16
  17. package/lib/library/base.renderer.d.ts.map +0 -1
  18. package/lib/library/control.d.ts +0 -10
  19. package/lib/library/control.d.ts.map +0 -1
  20. package/lib/library/index.d.ts +0 -10
  21. package/lib/library/index.d.ts.map +0 -1
  22. package/lib/library/jsonforms-root.component.d.ts +0 -40
  23. package/lib/library/jsonforms-root.component.d.ts.map +0 -1
  24. package/lib/library/jsonforms.component.d.ts +0 -17
  25. package/lib/library/jsonforms.component.d.ts.map +0 -1
  26. package/lib/library/jsonforms.module.d.ts +0 -10
  27. package/lib/library/jsonforms.module.d.ts.map +0 -1
  28. package/lib/library/jsonforms.service.d.ts +0 -53
  29. package/lib/library/jsonforms.service.d.ts.map +0 -1
  30. package/lib/library/unknown.component.d.ts +0 -6
  31. package/lib/library/unknown.component.d.ts.map +0 -1
  32. package/lib/public_api.d.ts +0 -2
  33. package/lib/public_api.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Input, Directive, Component, EventEmitter, Output, NgModule } from '@angular/core';
3
- import { Subscription, BehaviorSubject } from 'rxjs';
4
- import { defaultMiddleware, configReducer, setConfig, i18nReducer, updateI18n, generateJsonSchema, generateDefaultUISchema, Actions, coreReducer, uischemaRegistryReducer, computeLabel, removeId, mapStateToControlProps, mapStateToControlWithDetailProps, mapStateToArrayControlProps, defaultJsonFormsI18nState, getArrayTranslations, arrayDefaultTranslations, mapStateToJsonFormsRendererProps, getConfig, isControl, createId } from '@jsonforms/core';
2
+ import { Input, Directive, inject, Component, ViewContainerRef, InjectionToken, EventEmitter, Output, NgModule } from '@angular/core';
5
3
  import { FormControl } from '@angular/forms';
4
+ import { defaultMiddleware, configReducer, setConfig, i18nReducer, updateI18n, generateJsonSchema, generateDefaultUISchema, Actions, coreReducer, uischemaRegistryReducer, computeLabel, Id, mapStateToArrayControlProps, defaultJsonFormsI18nState, getArrayTranslations, arrayDefaultTranslations, mapStateToControlProps, mapStateToControlWithDetailProps, mapStateToJsonFormsRendererProps, getConfig, isControl } from '@jsonforms/core';
5
+ import { Subscription, BehaviorSubject } from 'rxjs';
6
6
  import cloneDeep from 'lodash/cloneDeep';
7
7
  import merge from 'lodash/merge';
8
8
  import maxBy from 'lodash/maxBy';
@@ -56,10 +56,10 @@ class JsonFormsBaseRenderer {
56
56
  ngOnDestroy() {
57
57
  this.subscriptions.unsubscribe();
58
58
  }
59
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsBaseRenderer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
60
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: JsonFormsBaseRenderer, isStandalone: true, inputs: { uischema: "uischema", schema: "schema", path: "path" }, ngImport: i0 });
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsBaseRenderer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
60
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.24", type: JsonFormsBaseRenderer, isStandalone: true, inputs: { uischema: "uischema", schema: "schema", path: "path" }, ngImport: i0 });
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsBaseRenderer, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsBaseRenderer, decorators: [{
63
63
  type: Directive
64
64
  }], propDecorators: { uischema: [{
65
65
  type: Input
@@ -295,7 +295,6 @@ class JsonFormsAngularService {
295
295
  THE SOFTWARE.
296
296
  */
297
297
  class JsonFormsAbstractControl extends JsonFormsBaseRenderer {
298
- jsonFormsService;
299
298
  id;
300
299
  disabled;
301
300
  visible;
@@ -309,9 +308,9 @@ class JsonFormsAbstractControl extends JsonFormsBaseRenderer {
309
308
  enabled;
310
309
  hidden;
311
310
  propsPath;
312
- constructor(jsonFormsService) {
311
+ jsonFormsService = inject(JsonFormsAngularService);
312
+ constructor() {
313
313
  super();
314
- this.jsonFormsService = jsonFormsService;
315
314
  this.form = new FormControl({
316
315
  value: '',
317
316
  disabled: true,
@@ -360,7 +359,7 @@ class JsonFormsAbstractControl extends JsonFormsBaseRenderer {
360
359
  }
361
360
  ngOnDestroy() {
362
361
  super.ngOnDestroy();
363
- removeId(this.id);
362
+ Id.removeId(this.id);
364
363
  }
365
364
  isEnabled() {
366
365
  return this.enabled;
@@ -383,18 +382,22 @@ class JsonFormsAbstractControl extends JsonFormsBaseRenderer {
383
382
  triggerValidation() {
384
383
  // these cause the correct update of the error underline, seems to be
385
384
  // related to ionic-team/ionic#11640
386
- this.form.markAsTouched();
385
+ const config = this.jsonFormsService.getConfig();
386
+ const appliedUiSchemaOptions = merge({}, config, this.uischema?.options);
387
+ if (!appliedUiSchemaOptions.showErrorsOnTouch) {
388
+ this.form.markAsTouched();
389
+ }
387
390
  this.form.updateValueAndValidity();
388
391
  }
389
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsAbstractControl, deps: [{ token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
390
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: JsonFormsAbstractControl, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: "disabled", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
392
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsAbstractControl, deps: [], target: i0.ɵɵFactoryTarget.Component });
393
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: JsonFormsAbstractControl, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: "disabled", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
391
394
  }
392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsAbstractControl, decorators: [{
395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsAbstractControl, decorators: [{
393
396
  type: Component,
394
397
  args: [{
395
398
  template: '',
396
399
  }]
397
- }], ctorParameters: () => [{ type: JsonFormsAngularService }], propDecorators: { id: [{
400
+ }], ctorParameters: () => [], propDecorators: { id: [{
398
401
  type: Input
399
402
  }], disabled: [{
400
403
  type: Input
@@ -426,16 +429,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
426
429
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
427
430
  THE SOFTWARE.
428
431
  */
429
- class JsonFormsControl extends JsonFormsAbstractControl {
430
- mapToProps(state) {
431
- const props = mapStateToControlProps(state, this.getOwnProps());
432
- return { ...props };
433
- }
434
- }
435
- class JsonFormsControlWithDetail extends JsonFormsAbstractControl {
432
+ class JsonFormsArrayControl extends JsonFormsAbstractControl {
436
433
  mapToProps(state) {
437
- const props = mapStateToControlWithDetailProps(state, this.getOwnProps());
438
- return { ...props };
434
+ const props = mapStateToArrayControlProps(state, this.getOwnProps());
435
+ const t = state.jsonforms.i18n?.translate ?? defaultJsonFormsI18nState.translate;
436
+ const translations = getArrayTranslations(t, arrayDefaultTranslations, props.i18nKeyPrefix, props.label);
437
+ return { ...props, translations };
439
438
  }
440
439
  }
441
440
 
@@ -463,12 +462,16 @@ class JsonFormsControlWithDetail extends JsonFormsAbstractControl {
463
462
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
464
463
  THE SOFTWARE.
465
464
  */
466
- class JsonFormsArrayControl extends JsonFormsAbstractControl {
465
+ class JsonFormsControl extends JsonFormsAbstractControl {
467
466
  mapToProps(state) {
468
- const props = mapStateToArrayControlProps(state, this.getOwnProps());
469
- const t = state.jsonforms.i18n?.translate ?? defaultJsonFormsI18nState.translate;
470
- const translations = getArrayTranslations(t, arrayDefaultTranslations, props.i18nKeyPrefix, props.label);
471
- return { ...props, translations };
467
+ const props = mapStateToControlProps(state, this.getOwnProps());
468
+ return { ...props };
469
+ }
470
+ }
471
+ class JsonFormsControlWithDetail extends JsonFormsAbstractControl {
472
+ mapToProps(state) {
473
+ const props = mapStateToControlWithDetailProps(state, this.getOwnProps());
474
+ return { ...props };
472
475
  }
473
476
  }
474
477
 
@@ -497,10 +500,10 @@ class JsonFormsArrayControl extends JsonFormsAbstractControl {
497
500
  THE SOFTWARE.
498
501
  */
499
502
  class UnknownRenderer {
500
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UnknownRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
501
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: UnknownRenderer, isStandalone: true, selector: "unknown.renderer", ngImport: i0, template: 'No applicable renderer found!', isInline: true });
503
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: UnknownRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
504
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: UnknownRenderer, isStandalone: true, selector: "unknown.renderer", ngImport: i0, template: 'No applicable renderer found!', isInline: true });
502
505
  }
503
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UnknownRenderer, decorators: [{
506
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: UnknownRenderer, decorators: [{
504
507
  type: Component,
505
508
  args: [{
506
509
  selector: 'unknown.renderer',
@@ -541,14 +544,9 @@ const areEqual = (prevProps, nextProps) => {
541
544
  get(prevProps, 'path') === get(nextProps, 'path'));
542
545
  };
543
546
  class JsonFormsOutlet extends JsonFormsBaseRenderer {
544
- viewContainerRef;
545
- jsonformsService;
546
547
  previousProps;
547
- constructor(viewContainerRef, jsonformsService) {
548
- super();
549
- this.viewContainerRef = viewContainerRef;
550
- this.jsonformsService = jsonformsService;
551
- }
548
+ viewContainerRef = inject(ViewContainerRef);
549
+ jsonformsService = inject(JsonFormsAngularService);
552
550
  set renderProps(renderProps) {
553
551
  this.path = renderProps.path;
554
552
  this.schema = renderProps.schema;
@@ -596,25 +594,68 @@ class JsonFormsOutlet extends JsonFormsBaseRenderer {
596
594
  const controlInstance = instance;
597
595
  if (controlInstance.id === undefined) {
598
596
  const id = isControl(props.uischema)
599
- ? createId(props.uischema.scope)
597
+ ? Id.createId(props.uischema.scope)
600
598
  : undefined;
601
599
  instance.id = id;
602
600
  }
603
601
  }
604
602
  }
605
603
  }
606
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsOutlet, deps: [{ token: i0.ViewContainerRef }, { token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Directive });
607
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: JsonFormsOutlet, isStandalone: true, selector: "jsonforms-outlet", inputs: { renderProps: "renderProps" }, usesInheritance: true, ngImport: i0 });
604
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsOutlet, deps: null, target: i0.ɵɵFactoryTarget.Directive });
605
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.24", type: JsonFormsOutlet, isStandalone: true, selector: "jsonforms-outlet", inputs: { renderProps: "renderProps" }, usesInheritance: true, ngImport: i0 });
608
606
  }
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsOutlet, decorators: [{
607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsOutlet, decorators: [{
610
608
  type: Directive,
611
609
  args: [{
612
610
  selector: 'jsonforms-outlet',
613
611
  }]
614
- }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: JsonFormsAngularService }], propDecorators: { renderProps: [{
612
+ }], propDecorators: { renderProps: [{
615
613
  type: Input
616
614
  }] } });
617
615
 
616
+ /*
617
+ The MIT License
618
+
619
+ Copyright (c) 2017-2020 EclipseSource Munich
620
+ https://github.com/eclipsesource/jsonforms
621
+
622
+ Permission is hereby granted, free of charge, to any person obtaining a copy
623
+ of this software and associated documentation files (the "Software"), to deal
624
+ in the Software without restriction, including without limitation the rights
625
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
626
+ copies of the Software, and to permit persons to whom the Software is
627
+ furnished to do so, subject to the following conditions:
628
+
629
+ The above copyright notice and this permission notice shall be included in
630
+ all copies or substantial portions of the Software.
631
+
632
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
633
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
634
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
635
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
636
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
637
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
638
+ THE SOFTWARE.
639
+ */
640
+ /**
641
+ * Injection token for providing a global JSONForms config via Angular's DI system.
642
+ * Config provided via this token acts as the base; the `config` @Input on the
643
+ * `<jsonforms>` component takes precedence when both are supplied.
644
+ */
645
+ const JSONFORMS_CONFIG = new InjectionToken('JsonFormsConfig');
646
+ /**
647
+ * Returns an Angular provider that sets the global JSONForms config.
648
+ *
649
+ * @example
650
+ * // Standalone bootstrap (app.config.ts)
651
+ * export const appConfig: ApplicationConfig = {
652
+ * providers: [provideJsonFormsConfig({ showErrorsOnTouch: false })],
653
+ * };
654
+ */
655
+ function provideJsonFormsConfig(config) {
656
+ return { provide: JSONFORMS_CONFIG, useValue: config };
657
+ }
658
+
618
659
  /*
619
660
  The MIT License
620
661
 
@@ -642,7 +683,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
642
683
  // TODO Can this be rewritten to not use DoCheck and OnChanges?
643
684
  /* eslint-disable @angular-eslint/no-conflicting-lifecycle */
644
685
  class JsonForms {
645
- jsonformsService;
646
686
  uischema;
647
687
  schema;
648
688
  data;
@@ -662,9 +702,8 @@ class JsonForms {
662
702
  subscription;
663
703
  initialized = false;
664
704
  oldI18N;
665
- constructor(jsonformsService) {
666
- this.jsonformsService = jsonformsService;
667
- }
705
+ jsonformsService = inject(JsonFormsAngularService);
706
+ providedConfig = inject(JSONFORMS_CONFIG, { optional: true });
668
707
  ngOnInit() {
669
708
  this.jsonformsService.init({
670
709
  core: {
@@ -678,7 +717,7 @@ class JsonForms {
678
717
  uischemas: this.uischemas,
679
718
  i18n: this.i18n,
680
719
  renderers: this.renderers,
681
- config: this.config,
720
+ config: merge({}, this.providedConfig, this.config),
682
721
  readonly: this.readonly,
683
722
  }, this.middleware);
684
723
  this.subscription = this.jsonformsService.$state.subscribe((state) => {
@@ -748,16 +787,16 @@ class JsonForms {
748
787
  this.jsonformsService.setReadonly(newReadonly.currentValue);
749
788
  }
750
789
  if (newConfig && !newConfig.isFirstChange()) {
751
- this.jsonformsService.updateConfig(Actions.setConfig(newConfig.currentValue));
790
+ this.jsonformsService.updateConfig(Actions.setConfig(merge({}, this.providedConfig, newConfig.currentValue)));
752
791
  }
753
792
  }
754
793
  ngOnDestroy() {
755
794
  this.subscription.unsubscribe();
756
795
  }
757
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonForms, deps: [{ token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
758
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: JsonForms, isStandalone: true, selector: "jsonforms", inputs: { uischema: "uischema", schema: "schema", data: "data", renderers: "renderers", uischemas: "uischemas", readonly: "readonly", validationMode: "validationMode", ajv: "ajv", config: "config", i18n: "i18n", additionalErrors: "additionalErrors", middleware: "middleware" }, outputs: { dataChange: "dataChange", errors: "errors" }, providers: [JsonFormsAngularService], usesOnChanges: true, ngImport: i0, template: '<jsonforms-outlet></jsonforms-outlet>', isInline: true, dependencies: [{ kind: "directive", type: JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }] });
796
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonForms, deps: [], target: i0.ɵɵFactoryTarget.Component });
797
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.24", type: JsonForms, isStandalone: true, selector: "jsonforms", inputs: { uischema: "uischema", schema: "schema", data: "data", renderers: "renderers", uischemas: "uischemas", readonly: "readonly", validationMode: "validationMode", ajv: "ajv", config: "config", i18n: "i18n", additionalErrors: "additionalErrors", middleware: "middleware" }, outputs: { dataChange: "dataChange", errors: "errors" }, providers: [JsonFormsAngularService], usesOnChanges: true, ngImport: i0, template: '<jsonforms-outlet></jsonforms-outlet>', isInline: true, dependencies: [{ kind: "directive", type: JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }] });
759
798
  }
760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonForms, decorators: [{
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonForms, decorators: [{
761
800
  type: Component,
762
801
  args: [{
763
802
  selector: 'jsonforms',
@@ -765,7 +804,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
765
804
  providers: [JsonFormsAngularService],
766
805
  imports: [JsonFormsOutlet],
767
806
  }]
768
- }], ctorParameters: () => [{ type: JsonFormsAngularService }], propDecorators: { uischema: [{
807
+ }], propDecorators: { uischema: [{
769
808
  type: Input
770
809
  }], schema: [{
771
810
  type: Input
@@ -820,11 +859,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
820
859
  THE SOFTWARE.
821
860
  */
822
861
  class JsonFormsModule {
823
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
824
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsModule, imports: [JsonFormsOutlet, UnknownRenderer, JsonForms], exports: [JsonFormsOutlet, JsonForms] });
825
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsModule });
862
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
863
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsModule, imports: [JsonFormsOutlet, UnknownRenderer, JsonForms], exports: [JsonFormsOutlet, JsonForms] });
864
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsModule });
826
865
  }
827
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: JsonFormsModule, decorators: [{
866
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: JsonFormsModule, decorators: [{
828
867
  type: NgModule,
829
868
  args: [{
830
869
  imports: [JsonFormsOutlet, UnknownRenderer, JsonForms],
@@ -834,20 +873,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
834
873
 
835
874
  /*
836
875
  The MIT License
837
-
876
+
838
877
  Copyright (c) 2017-2020 EclipseSource Munich
839
878
  https://github.com/eclipsesource/jsonforms
840
-
879
+
841
880
  Permission is hereby granted, free of charge, to any person obtaining a copy
842
881
  of this software and associated documentation files (the "Software"), to deal
843
882
  in the Software without restriction, including without limitation the rights
844
883
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
845
884
  copies of the Software, and to permit persons to whom the Software is
846
885
  furnished to do so, subject to the following conditions:
847
-
886
+
848
887
  The above copyright notice and this permission notice shall be included in
849
888
  all copies or substantial portions of the Software.
850
-
889
+
851
890
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
852
891
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
853
892
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -861,5 +900,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
861
900
  * Generated bundle index. Do not edit.
862
901
  */
863
902
 
864
- export { JsonForms, JsonFormsAbstractControl, JsonFormsAngularService, JsonFormsArrayControl, JsonFormsBaseRenderer, JsonFormsControl, JsonFormsControlWithDetail, JsonFormsModule, JsonFormsOutlet, USE_STATE_VALUE, UnknownRenderer };
903
+ export { JSONFORMS_CONFIG, JsonForms, JsonFormsAbstractControl, JsonFormsAngularService, JsonFormsArrayControl, JsonFormsBaseRenderer, JsonFormsControl, JsonFormsControlWithDetail, JsonFormsModule, JsonFormsOutlet, USE_STATE_VALUE, UnknownRenderer, provideJsonFormsConfig };
865
904
  //# sourceMappingURL=jsonforms-angular.mjs.map