@jsonforms/angular 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.
Files changed (30) hide show
  1. package/lib/fesm2022/jsonforms-angular.mjs +23 -26
  2. package/lib/fesm2022/jsonforms-angular.mjs.map +1 -1
  3. package/lib/library/abstract-control.d.ts +1 -1
  4. package/lib/library/abstract-control.d.ts.map +1 -1
  5. package/lib/library/base.renderer.d.ts +1 -1
  6. package/lib/library/jsonforms-root.component.d.ts +1 -1
  7. package/lib/library/jsonforms-root.component.d.ts.map +1 -1
  8. package/lib/library/jsonforms.component.d.ts +1 -1
  9. package/lib/library/jsonforms.component.d.ts.map +1 -1
  10. package/lib/library/jsonforms.module.d.ts +1 -1
  11. package/lib/library/unknown.component.d.ts +1 -1
  12. package/lib/library/unknown.component.d.ts.map +1 -1
  13. package/package.json +19 -15
  14. package/src/library/abstract-control.ts +0 -1
  15. package/src/library/jsonforms-root.component.ts +2 -1
  16. package/src/library/jsonforms.component.ts +0 -1
  17. package/src/library/jsonforms.module.ts +1 -1
  18. package/src/library/unknown.component.ts +0 -1
  19. package/lib/esm2022/jsonforms-angular.mjs +0 -5
  20. package/lib/esm2022/library/abstract-control.mjs +0 -141
  21. package/lib/esm2022/library/array-control.mjs +0 -35
  22. package/lib/esm2022/library/base.renderer.mjs +0 -63
  23. package/lib/esm2022/library/control.mjs +0 -39
  24. package/lib/esm2022/library/index.mjs +0 -34
  25. package/lib/esm2022/library/jsonforms-root.component.mjs +0 -186
  26. package/lib/esm2022/library/jsonforms.component.mjs +0 -122
  27. package/lib/esm2022/library/jsonforms.module.mjs +0 -42
  28. package/lib/esm2022/library/jsonforms.service.mjs +0 -204
  29. package/lib/esm2022/library/unknown.component.mjs +0 -39
  30. package/lib/esm2022/public_api.mjs +0 -2
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input, Component, EventEmitter, Output, NgModule } from '@angular/core';
2
+ import { Input, Directive, Component, EventEmitter, Output, NgModule } from '@angular/core';
3
3
  import { Subscription, BehaviorSubject } from 'rxjs';
4
- import { configReducer, setConfig, i18nReducer, updateI18n, generateJsonSchema, generateDefaultUISchema, Actions, defaultMiddleware, coreReducer, uischemaRegistryReducer, computeLabel, removeId, mapStateToControlProps, mapStateToControlWithDetailProps, mapStateToArrayControlProps, defaultJsonFormsI18nState, getArrayTranslations, arrayDefaultTranslations, mapStateToJsonFormsRendererProps, getConfig, isControl, createId } from '@jsonforms/core';
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';
5
5
  import { FormControl } from '@angular/forms';
6
6
  import cloneDeep from 'lodash/cloneDeep';
7
7
  import merge from 'lodash/merge';
@@ -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: "18.2.13", ngImport: i0, type: JsonFormsBaseRenderer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
60
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: JsonFormsBaseRenderer, inputs: { uischema: "uischema", schema: "schema", path: "path" }, ngImport: i0 });
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsBaseRenderer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
60
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: JsonFormsBaseRenderer, isStandalone: true, inputs: { uischema: "uischema", schema: "schema", path: "path" }, ngImport: i0 });
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsBaseRenderer, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsBaseRenderer, decorators: [{
63
63
  type: Directive
64
64
  }], propDecorators: { uischema: [{
65
65
  type: Input
@@ -386,14 +386,13 @@ class JsonFormsAbstractControl extends JsonFormsBaseRenderer {
386
386
  this.form.markAsTouched();
387
387
  this.form.updateValueAndValidity();
388
388
  }
389
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsAbstractControl, deps: [{ token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
390
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: JsonFormsAbstractControl, selector: "ng-component", inputs: { id: "id", disabled: "disabled", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
389
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsAbstractControl, deps: [{ token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
390
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: JsonFormsAbstractControl, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: "disabled", visible: "visible" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
391
391
  }
392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsAbstractControl, decorators: [{
392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsAbstractControl, decorators: [{
393
393
  type: Component,
394
394
  args: [{
395
395
  template: '',
396
- standalone: false,
397
396
  }]
398
397
  }], ctorParameters: () => [{ type: JsonFormsAngularService }], propDecorators: { id: [{
399
398
  type: Input
@@ -498,15 +497,14 @@ class JsonFormsArrayControl extends JsonFormsAbstractControl {
498
497
  THE SOFTWARE.
499
498
  */
500
499
  class UnknownRenderer {
501
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UnknownRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
502
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UnknownRenderer, selector: "unknown.renderer", ngImport: i0, template: 'No applicable renderer found!', isInline: true });
500
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: UnknownRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
501
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: UnknownRenderer, isStandalone: true, selector: "unknown.renderer", ngImport: i0, template: 'No applicable renderer found!', isInline: true });
503
502
  }
504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UnknownRenderer, decorators: [{
503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: UnknownRenderer, decorators: [{
505
504
  type: Component,
506
505
  args: [{
507
506
  selector: 'unknown.renderer',
508
507
  template: 'No applicable renderer found!',
509
- standalone: false,
510
508
  }]
511
509
  }] });
512
510
 
@@ -608,14 +606,13 @@ class JsonFormsOutlet extends JsonFormsBaseRenderer {
608
606
  }
609
607
  }
610
608
  }
611
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Directive });
612
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: JsonFormsOutlet, selector: "jsonforms-outlet", inputs: { renderProps: "renderProps" }, usesInheritance: true, ngImport: i0 });
609
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Directive });
610
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: JsonFormsOutlet, isStandalone: true, selector: "jsonforms-outlet", inputs: { renderProps: "renderProps" }, usesInheritance: true, ngImport: i0 });
613
611
  }
614
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsOutlet, decorators: [{
612
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsOutlet, decorators: [{
615
613
  type: Directive,
616
614
  args: [{
617
615
  selector: 'jsonforms-outlet',
618
- standalone: false,
619
616
  }]
620
617
  }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: JsonFormsAngularService }], propDecorators: { renderProps: [{
621
618
  type: Input
@@ -760,16 +757,16 @@ class JsonForms {
760
757
  ngOnDestroy() {
761
758
  this.subscription.unsubscribe();
762
759
  }
763
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonForms, deps: [{ token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
764
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: JsonForms, 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"] }] });
760
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonForms, deps: [{ token: JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
761
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", 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"] }] });
765
762
  }
766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonForms, decorators: [{
763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonForms, decorators: [{
767
764
  type: Component,
768
765
  args: [{
769
766
  selector: 'jsonforms',
770
767
  template: '<jsonforms-outlet></jsonforms-outlet>',
771
768
  providers: [JsonFormsAngularService],
772
- standalone: false,
769
+ imports: [JsonFormsOutlet],
773
770
  }]
774
771
  }], ctorParameters: () => [{ type: JsonFormsAngularService }], propDecorators: { uischema: [{
775
772
  type: Input
@@ -826,14 +823,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
826
823
  THE SOFTWARE.
827
824
  */
828
825
  class JsonFormsModule {
829
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
830
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsModule, declarations: [JsonFormsOutlet, UnknownRenderer, JsonForms], exports: [JsonFormsOutlet, JsonForms] });
831
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsModule });
826
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
827
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsModule, imports: [JsonFormsOutlet, UnknownRenderer, JsonForms], exports: [JsonFormsOutlet, JsonForms] });
828
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsModule });
832
829
  }
833
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: JsonFormsModule, decorators: [{
830
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: JsonFormsModule, decorators: [{
834
831
  type: NgModule,
835
832
  args: [{
836
- declarations: [JsonFormsOutlet, UnknownRenderer, JsonForms],
833
+ imports: [JsonFormsOutlet, UnknownRenderer, JsonForms],
837
834
  exports: [JsonFormsOutlet, JsonForms],
838
835
  }]
839
836
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"jsonforms-angular.mjs","sources":["../../src/library/base.renderer.ts","../../src/library/jsonforms.service.ts","../../src/library/abstract-control.ts","../../src/library/control.ts","../../src/library/array-control.ts","../../src/library/unknown.component.ts","../../src/library/jsonforms.component.ts","../../src/library/jsonforms-root.component.ts","../../src/library/jsonforms.module.ts","../../src/library/index.ts","../../src/jsonforms-angular.ts"],"sourcesContent":["/*\n The MIT License\n \n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport { Directive, Input, OnDestroy } from '@angular/core';\nimport {\n JsonSchema,\n OwnPropsOfRenderer,\n UISchemaElement,\n} from '@jsonforms/core';\nimport { Subscription } from 'rxjs';\n\n@Directive()\nexport class JsonFormsBaseRenderer<T extends UISchemaElement>\n implements OnDestroy\n{\n @Input() uischema: T;\n @Input() schema: JsonSchema;\n @Input() path: string;\n protected subscriptions: Subscription = new Subscription();\n\n protected addSubscription(subscription: Subscription | Subscription[]) {\n if (Array.isArray(subscription)) {\n subscription.forEach((sub) => this.subscriptions.add(sub));\n } else {\n this.subscriptions.add(subscription);\n }\n }\n\n protected getOwnProps(): OwnPropsOfRenderer {\n return {\n uischema: this.uischema,\n schema: this.schema,\n path: this.path,\n };\n }\n\n ngOnDestroy(): void {\n this.subscriptions.unsubscribe();\n }\n}\n","/*\n The MIT License\n \n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n Actions,\n configReducer,\n CoreActions,\n coreReducer,\n generateDefaultUISchema,\n generateJsonSchema,\n i18nReducer,\n JsonFormsRendererRegistryEntry,\n JsonFormsState,\n JsonFormsSubStates,\n JsonSchema,\n I18nActions,\n RankedTester,\n setConfig,\n SetConfigAction,\n UISchemaActions,\n UISchemaElement,\n uischemaRegistryReducer,\n UISchemaTester,\n ValidationMode,\n updateI18n,\n Middleware,\n defaultMiddleware,\n} from '@jsonforms/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport type { JsonFormsBaseRenderer } from './base.renderer';\n\nimport cloneDeep from 'lodash/cloneDeep';\nimport type Ajv from 'ajv';\nimport type { ErrorObject } from 'ajv';\n\nexport const USE_STATE_VALUE = Symbol('Marker to use state value');\nexport class JsonFormsAngularService {\n private _state: JsonFormsSubStates;\n private state: BehaviorSubject<JsonFormsState>;\n private middleware: Middleware;\n\n init(\n initialState: JsonFormsSubStates = {\n core: {\n data: undefined,\n schema: undefined,\n uischema: undefined,\n validationMode: 'ValidateAndShow',\n additionalErrors: undefined,\n },\n },\n middleware: Middleware = defaultMiddleware\n ) {\n this.middleware = middleware;\n this._state = initialState;\n this._state.config = configReducer(\n undefined,\n setConfig(this._state.config)\n );\n this._state.i18n = i18nReducer(\n this._state.i18n,\n updateI18n(\n this._state.i18n?.locale,\n this._state.i18n?.translate,\n this._state.i18n?.translateError\n )\n );\n this.state = new BehaviorSubject({ jsonforms: this._state });\n const data = initialState.core.data;\n const schema = initialState.core.schema ?? generateJsonSchema(data);\n const uischema =\n initialState.core.uischema ?? generateDefaultUISchema(schema);\n this.updateCore(Actions.init(data, schema, uischema));\n }\n\n get $state(): Observable<JsonFormsState> {\n if (!this.state) {\n throw new Error('Please call init first!');\n }\n return this.state.asObservable();\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.addRenderer}\n */\n registerRenderer(\n renderer: JsonFormsBaseRenderer<UISchemaElement>,\n tester: RankedTester\n ): void {\n this.addRenderer(renderer, tester);\n }\n addRenderer(\n renderer: JsonFormsBaseRenderer<UISchemaElement>,\n tester: RankedTester\n ): void {\n this._state.renderers.push({ renderer, tester });\n this.updateSubject();\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.setRenderer}\n */\n registerRenderers(renderers: JsonFormsRendererRegistryEntry[]): void {\n this.setRenderers(renderers);\n }\n setRenderers(renderers: JsonFormsRendererRegistryEntry[]): void {\n this._state.renderers = renderers;\n this.updateSubject();\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.removeRenderer}\n */\n unregisterRenderer(tester: RankedTester): void {\n this.removeRenderer(tester);\n }\n removeRenderer(tester: RankedTester): void {\n const findIndex = this._state.renderers.findIndex(\n (v) => v.tester === tester\n );\n if (findIndex === -1) {\n return;\n }\n const renderers = this._state.renderers.filter((v) => v.tester !== tester);\n this._state.renderers = renderers;\n this.updateSubject();\n }\n\n updateValidationMode(validationMode: ValidationMode): void {\n const coreState = this.middleware(\n this._state.core,\n Actions.setValidationMode(validationMode),\n coreReducer\n );\n this._state.core = coreState;\n this.updateSubject();\n }\n\n updateI18n<T extends I18nActions>(i18nAction: T): T {\n const i18nState = i18nReducer(this._state.i18n, i18nAction);\n if (i18nState !== this._state.i18n) {\n this._state.i18n = i18nState;\n this.updateSubject();\n }\n return i18nAction;\n }\n\n updateCore<T extends CoreActions>(coreAction: T): T {\n const coreState = this.middleware(\n this._state.core,\n coreAction,\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n return coreAction;\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.setUiSchemas}\n */\n updateUiSchema<T extends UISchemaActions>(uischemaAction: T): T {\n const uischemaState = uischemaRegistryReducer(\n this._state.uischemas,\n uischemaAction\n );\n this._state.uischemas = uischemaState;\n this.updateSubject();\n return uischemaAction;\n }\n\n setUiSchemas(\n uischemas: { tester: UISchemaTester; uischema: UISchemaElement }[]\n ): void {\n this._state.uischemas = uischemas;\n this.updateSubject();\n }\n\n updateConfig<T extends SetConfigAction>(setConfigAction: T): T {\n const configState = configReducer(this._state.config, setConfigAction);\n this._state.config = configState;\n this.updateSubject();\n return setConfigAction;\n }\n\n setUiSchema(uischema: UISchemaElement | undefined): void {\n const newUiSchema =\n uischema ?? generateDefaultUISchema(this._state.core.schema);\n const coreState = this.middleware(\n this._state.core,\n Actions.updateCore(\n this._state.core.data,\n this._state.core.schema,\n newUiSchema\n ),\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n }\n\n setSchema(schema: JsonSchema | undefined): void {\n const coreState = this.middleware(\n this._state.core,\n Actions.updateCore(\n this._state.core.data,\n schema ?? generateJsonSchema(this._state.core.data),\n this._state.core.uischema\n ),\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n }\n\n setData(data: any): void {\n const coreState = this.middleware(\n this._state.core,\n Actions.updateCore(\n data,\n this._state.core.schema,\n this._state.core.uischema\n ),\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n }\n\n getLocale(): string | undefined {\n return this._state.i18n?.locale;\n }\n\n setLocale(locale: string): void {\n this._state.i18n.locale = locale;\n this.updateSubject();\n }\n\n setReadonly(readonly: boolean): void {\n this._state.readonly = readonly;\n this.updateSubject();\n }\n\n setMiddleware(middleware: Middleware): void {\n this._state.middleware = middleware;\n this.updateSubject();\n }\n\n getState(): JsonFormsState {\n return cloneDeep({ jsonforms: this._state });\n }\n\n getConfig(): any {\n return cloneDeep(this._state.config);\n }\n\n refresh(): void {\n this.updateSubject();\n }\n\n updateCoreState(\n data: any | typeof USE_STATE_VALUE,\n schema: JsonSchema | typeof USE_STATE_VALUE,\n uischema: UISchemaElement | typeof USE_STATE_VALUE,\n ajv: Ajv | typeof USE_STATE_VALUE,\n validationMode: ValidationMode | typeof USE_STATE_VALUE,\n additionalErrors: ErrorObject[] | typeof USE_STATE_VALUE\n ): void {\n const newData = data === USE_STATE_VALUE ? this._state.core.data : data;\n const newSchema =\n schema === USE_STATE_VALUE\n ? this._state.core.schema\n : schema ?? generateJsonSchema(newData);\n const newUischema =\n uischema === USE_STATE_VALUE\n ? this._state.core.uischema\n : uischema ?? generateDefaultUISchema(newSchema);\n const newAjv = ajv === USE_STATE_VALUE ? this._state.core.ajv : ajv;\n const newValidationMode =\n validationMode === USE_STATE_VALUE\n ? this._state.core.validationMode\n : validationMode;\n const newAdditionalErrors =\n additionalErrors === USE_STATE_VALUE\n ? this._state.core.additionalErrors\n : additionalErrors;\n this.updateCore(\n Actions.updateCore(newData, newSchema, newUischema, {\n ajv: newAjv,\n validationMode: newValidationMode,\n additionalErrors: newAdditionalErrors,\n })\n );\n }\n\n private updateSubject(): void {\n this.state.next({ jsonforms: this._state });\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n Actions,\n computeLabel,\n ControlElement,\n JsonFormsState,\n JsonSchema,\n OwnPropsOfControl,\n removeId,\n StatePropsOfControl,\n} from '@jsonforms/core';\nimport { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport {\n AbstractControl,\n FormControl,\n ValidationErrors,\n ValidatorFn,\n} from '@angular/forms';\n\nimport { JsonFormsBaseRenderer } from './base.renderer';\nimport { JsonFormsAngularService } from './jsonforms.service';\nimport merge from 'lodash/merge';\n@Component({\n template: '',\n standalone: false,\n})\nexport abstract class JsonFormsAbstractControl<\n Props extends StatePropsOfControl\n >\n extends JsonFormsBaseRenderer<ControlElement>\n implements OnInit, OnDestroy\n{\n @Input() id: string;\n @Input() disabled: boolean;\n @Input() visible: boolean;\n\n form: FormControl;\n data: any;\n label: string;\n description: string;\n error: string | null;\n scopedSchema: JsonSchema;\n rootSchema: JsonSchema;\n enabled: boolean;\n hidden: boolean;\n propsPath: string;\n\n constructor(protected jsonFormsService: JsonFormsAngularService) {\n super();\n this.form = new FormControl(\n {\n value: '',\n disabled: true,\n },\n {\n updateOn: 'change',\n validators: this.validator.bind(this),\n }\n );\n }\n\n getEventValue = (event: any) => event.value;\n\n onChange(ev: any) {\n this.jsonFormsService.updateCore(\n Actions.update(this.propsPath, () => this.getEventValue(ev))\n );\n this.triggerValidation();\n }\n\n shouldShowUnfocusedDescription(): boolean {\n const config = this.jsonFormsService.getConfig();\n const appliedUiSchemaOptions = merge({}, config, this.uischema.options);\n return !!appliedUiSchemaOptions.showUnfocusedDescription;\n }\n\n ngOnInit() {\n this.addSubscription(\n this.jsonFormsService.$state.subscribe({\n next: (state: JsonFormsState) => {\n const props = this.mapToProps(state);\n const {\n data,\n enabled,\n errors,\n label,\n required,\n schema,\n rootSchema,\n visible,\n path,\n config,\n } = props;\n this.label = computeLabel(\n label,\n required,\n config ? config.hideRequiredAsterisk : false\n );\n this.data = data;\n this.error = errors;\n this.enabled = enabled;\n this.isEnabled() ? this.form.enable() : this.form.disable();\n this.hidden = !visible;\n this.scopedSchema = schema;\n this.rootSchema = rootSchema;\n this.description = props.description ?? '';\n this.id = props.id;\n this.form.setValue(data);\n this.propsPath = path;\n this.mapAdditionalProps(props);\n },\n })\n );\n this.triggerValidation();\n }\n\n validator: ValidatorFn = (_c: AbstractControl): ValidationErrors | null => {\n return this.error ? { error: this.error } : null;\n };\n\n mapAdditionalProps(_props: Props) {\n // do nothing by default\n }\n\n ngOnDestroy() {\n super.ngOnDestroy();\n removeId(this.id);\n }\n\n isEnabled(): boolean {\n return this.enabled;\n }\n\n protected getOwnProps(): OwnPropsOfControl {\n const props: OwnPropsOfControl = {\n uischema: this.uischema,\n schema: this.schema,\n path: this.path,\n id: this.id,\n };\n if (this.disabled !== undefined) {\n props.enabled = !this.disabled;\n }\n if (this.visible !== undefined) {\n props.visible = this.visible;\n }\n return props;\n }\n\n protected abstract mapToProps(state: JsonFormsState): Props;\n\n protected triggerValidation() {\n // these cause the correct update of the error underline, seems to be\n // related to ionic-team/ionic#11640\n this.form.markAsTouched();\n this.form.updateValueAndValidity();\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n JsonFormsState,\n mapStateToControlProps,\n mapStateToControlWithDetailProps,\n StatePropsOfControl,\n StatePropsOfControlWithDetail,\n} from '@jsonforms/core';\nimport type { OnDestroy, OnInit } from '@angular/core';\nimport { JsonFormsAbstractControl } from './abstract-control';\n\nexport class JsonFormsControl\n extends JsonFormsAbstractControl<StatePropsOfControl>\n implements OnInit, OnDestroy\n{\n protected mapToProps(state: JsonFormsState): StatePropsOfControl {\n const props = mapStateToControlProps(state, this.getOwnProps());\n return { ...props };\n }\n}\n\nexport class JsonFormsControlWithDetail\n extends JsonFormsAbstractControl<StatePropsOfControlWithDetail>\n implements OnInit, OnDestroy\n{\n protected mapToProps(state: JsonFormsState): StatePropsOfControlWithDetail {\n const props = mapStateToControlWithDetailProps(state, this.getOwnProps());\n return { ...props };\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n arrayDefaultTranslations,\n ArrayTranslations,\n defaultJsonFormsI18nState,\n getArrayTranslations,\n JsonFormsState,\n mapStateToArrayControlProps,\n StatePropsOfArrayControl,\n} from '@jsonforms/core';\nimport type { OnDestroy, OnInit } from '@angular/core';\nimport { JsonFormsAbstractControl } from './abstract-control';\n\nexport class JsonFormsArrayControl\n extends JsonFormsAbstractControl<StatePropsOfArrayControl>\n implements OnInit, OnDestroy\n{\n protected mapToProps(\n state: JsonFormsState\n ): StatePropsOfArrayControl & { translations: ArrayTranslations } {\n const props = mapStateToArrayControlProps(state, this.getOwnProps());\n const t =\n state.jsonforms.i18n?.translate ?? defaultJsonFormsI18nState.translate;\n const translations = getArrayTranslations(\n t,\n arrayDefaultTranslations,\n props.i18nKeyPrefix,\n props.label\n );\n return { ...props, translations };\n }\n}\n","/*\n The MIT License\n \n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport { Component } from '@angular/core';\n@Component({\n selector: 'unknown.renderer',\n template: 'No applicable renderer found!',\n standalone: false,\n})\nexport class UnknownRenderer {}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport maxBy from 'lodash/maxBy';\nimport {\n ComponentFactoryResolver,\n Directive,\n Input,\n OnInit,\n Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n createId,\n isControl,\n getConfig,\n JsonFormsProps,\n JsonFormsState,\n JsonSchema,\n mapStateToJsonFormsRendererProps,\n OwnPropsOfRenderer,\n StatePropsOfJsonFormsRenderer,\n UISchemaElement,\n} from '@jsonforms/core';\nimport { UnknownRenderer } from './unknown.component';\nimport { JsonFormsBaseRenderer } from './base.renderer';\nimport { JsonFormsControl } from './control';\nimport { JsonFormsAngularService } from './jsonforms.service';\n\nimport isEqual from 'lodash/isEqual';\nimport get from 'lodash/get';\n\nconst areEqual = (\n prevProps: StatePropsOfJsonFormsRenderer,\n nextProps: StatePropsOfJsonFormsRenderer\n) => {\n return (\n get(prevProps, 'renderers.length') === get(nextProps, 'renderers.length') &&\n get(prevProps, 'cells.length') === get(nextProps, 'cells.length') &&\n get(prevProps, 'uischemas.length') === get(nextProps, 'uischemas.length') &&\n get(prevProps, 'schema') === get(nextProps, 'schema') &&\n isEqual(get(prevProps, 'uischema'), get(nextProps, 'uischema')) &&\n get(prevProps, 'path') === get(nextProps, 'path')\n );\n};\n\n@Directive({\n selector: 'jsonforms-outlet',\n standalone: false,\n})\nexport class JsonFormsOutlet\n extends JsonFormsBaseRenderer<UISchemaElement>\n implements OnInit\n{\n private previousProps: StatePropsOfJsonFormsRenderer;\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private componentFactoryResolver: ComponentFactoryResolver,\n private jsonformsService: JsonFormsAngularService\n ) {\n super();\n }\n\n @Input()\n set renderProps(renderProps: OwnPropsOfRenderer) {\n this.path = renderProps.path;\n this.schema = renderProps.schema;\n this.uischema = renderProps.uischema;\n this.update(this.jsonformsService.getState());\n }\n\n ngOnInit(): void {\n this.addSubscription(\n this.jsonformsService.$state.subscribe({\n next: (state: JsonFormsState) => this.update(state),\n })\n );\n }\n\n update(state: JsonFormsState) {\n const props = mapStateToJsonFormsRendererProps(state, {\n schema: this.schema,\n uischema: this.uischema,\n path: this.path,\n });\n if (areEqual(this.previousProps, props)) {\n return;\n } else {\n this.previousProps = props;\n }\n const { renderers } = props as JsonFormsProps;\n const schema: JsonSchema = this.schema || props.schema;\n const uischema = this.uischema || props.uischema;\n const testerContext = {\n rootSchema: props.rootSchema,\n config: getConfig(state),\n };\n\n const renderer = maxBy(renderers, (r) =>\n r.tester(uischema, schema, testerContext)\n );\n let bestComponent: Type<any> = UnknownRenderer;\n if (\n renderer !== undefined &&\n renderer.tester(uischema, schema, testerContext) !== -1\n ) {\n bestComponent = renderer.renderer;\n }\n\n const componentFactory =\n this.componentFactoryResolver.resolveComponentFactory(bestComponent);\n this.viewContainerRef.clear();\n const currentComponentRef =\n this.viewContainerRef.createComponent(componentFactory);\n\n if (currentComponentRef.instance instanceof JsonFormsBaseRenderer) {\n const instance =\n currentComponentRef.instance as JsonFormsBaseRenderer<UISchemaElement>;\n instance.uischema = uischema;\n instance.schema = schema;\n instance.path = this.path;\n if (instance instanceof JsonFormsControl) {\n const controlInstance = instance as JsonFormsControl;\n if (controlInstance.id === undefined) {\n const id = isControl(props.uischema)\n ? createId(props.uischema.scope)\n : undefined;\n (instance as JsonFormsControl).id = id;\n }\n }\n }\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n Component,\n DoCheck,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n SimpleChanges,\n} from '@angular/core';\nimport {\n Actions,\n JsonFormsI18nState,\n JsonFormsRendererRegistryEntry,\n JsonSchema,\n Middleware,\n UISchemaElement,\n UISchemaTester,\n ValidationMode,\n defaultMiddleware,\n} from '@jsonforms/core';\nimport type Ajv from 'ajv';\nimport type { ErrorObject } from 'ajv';\nimport { JsonFormsAngularService, USE_STATE_VALUE } from './jsonforms.service';\nimport { Subscription } from 'rxjs';\n\n// TODO Can this be rewritten to not use DoCheck and OnChanges?\n/* eslint-disable @angular-eslint/no-conflicting-lifecycle */\n@Component({\n selector: 'jsonforms',\n template: '<jsonforms-outlet></jsonforms-outlet>',\n providers: [JsonFormsAngularService],\n standalone: false,\n})\nexport class JsonForms implements DoCheck, OnChanges, OnInit, OnDestroy {\n @Input() uischema: UISchemaElement;\n @Input() schema: JsonSchema;\n @Input() data: any;\n @Input() renderers: JsonFormsRendererRegistryEntry[];\n @Input() uischemas: { tester: UISchemaTester; uischema: UISchemaElement }[];\n @Output() dataChange = new EventEmitter<any>();\n @Input() readonly: boolean;\n @Input() validationMode: ValidationMode;\n @Input() ajv: Ajv;\n @Input() config: any;\n @Input() i18n: JsonFormsI18nState;\n @Input() additionalErrors: ErrorObject[];\n @Input() middleware: Middleware = defaultMiddleware;\n @Output() errors = new EventEmitter<ErrorObject[]>();\n\n private previousData: any;\n private previousErrors: ErrorObject[];\n subscription: Subscription;\n\n private initialized = false;\n oldI18N: JsonFormsI18nState;\n\n constructor(private jsonformsService: JsonFormsAngularService) {}\n\n ngOnInit(): void {\n this.jsonformsService.init(\n {\n core: {\n data: this.data,\n uischema: this.uischema,\n schema: this.schema,\n ajv: this.ajv,\n validationMode: this.validationMode,\n additionalErrors: this.additionalErrors,\n },\n uischemas: this.uischemas,\n i18n: this.i18n,\n renderers: this.renderers,\n config: this.config,\n readonly: this.readonly,\n },\n this.middleware\n );\n this.subscription = this.jsonformsService.$state.subscribe((state) => {\n const data = state?.jsonforms?.core?.data;\n const errors = state?.jsonforms?.core?.errors;\n if (this.previousData !== data) {\n this.previousData = data;\n this.dataChange.emit(data);\n }\n if (this.previousErrors !== errors) {\n this.previousErrors = errors;\n this.errors.emit(errors);\n }\n });\n this.oldI18N = this.i18n;\n this.initialized = true;\n }\n\n ngDoCheck(): void {\n // we can't use ngOnChanges as then nested i18n changes will not be detected\n // the update will result in a no-op when the parameters did not change\n if (\n this.oldI18N?.locale !== this.i18n?.locale ||\n this.oldI18N?.translate !== this.i18n?.translate ||\n this.oldI18N?.translateError !== this.i18n?.translateError\n ) {\n this.jsonformsService.updateI18n(\n Actions.updateI18n(\n this.oldI18N?.locale === this.i18n?.locale\n ? this.jsonformsService.getState().jsonforms.i18n.locale\n : this.i18n?.locale,\n this.oldI18N?.translate === this.i18n?.translate\n ? this.jsonformsService.getState().jsonforms.i18n.translate\n : this.i18n?.translate,\n this.oldI18N?.translateError === this.i18n?.translateError\n ? this.jsonformsService.getState().jsonforms.i18n.translateError\n : this.i18n?.translateError\n )\n );\n this.oldI18N = this.i18n;\n }\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!this.initialized) {\n return;\n }\n const newData = changes.data;\n const newSchema = changes.schema;\n const newUiSchema = changes.uischema;\n const newRenderers = changes.renderers;\n const newUischemas = changes.uischemas;\n const newI18n = changes.i18n;\n const newReadonly = changes.readonly;\n const newValidationMode = changes.validationMode;\n const newAjv = changes.ajv;\n const newConfig = changes.config;\n const newAdditionalErrors = changes.additionalErrors;\n\n if (\n newData ||\n newSchema ||\n newUiSchema ||\n newValidationMode ||\n newAjv ||\n newAdditionalErrors\n ) {\n this.jsonformsService.updateCoreState(\n newData ? newData.currentValue : USE_STATE_VALUE,\n newSchema ? newSchema.currentValue : USE_STATE_VALUE,\n newUiSchema ? newUiSchema.currentValue : USE_STATE_VALUE,\n newAjv ? newAjv.currentValue : USE_STATE_VALUE,\n newValidationMode ? newValidationMode.currentValue : USE_STATE_VALUE,\n newAdditionalErrors ? newAdditionalErrors.currentValue : USE_STATE_VALUE\n );\n }\n\n if (newRenderers && !newRenderers.isFirstChange()) {\n this.jsonformsService.setRenderers(newRenderers.currentValue);\n }\n\n if (newUischemas && !newUischemas.isFirstChange()) {\n this.jsonformsService.setUiSchemas(newUischemas.currentValue);\n }\n\n if (newI18n && !newI18n.isFirstChange()) {\n this.jsonformsService.updateI18n(\n Actions.updateI18n(\n newI18n.currentValue?.locale,\n newI18n.currentValue?.translate,\n newI18n.currentValue?.translateError\n )\n );\n }\n\n if (newReadonly && !newReadonly.isFirstChange()) {\n this.jsonformsService.setReadonly(newReadonly.currentValue);\n }\n\n if (newConfig && !newConfig.isFirstChange()) {\n this.jsonformsService.updateConfig(\n Actions.setConfig(newConfig.currentValue)\n );\n }\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n}\n","/*\n The MIT License\n \n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport { NgModule } from '@angular/core';\n\nimport { JsonForms } from './jsonforms-root.component';\nimport { JsonFormsOutlet } from './jsonforms.component';\nimport { UnknownRenderer } from './unknown.component';\n@NgModule({\n declarations: [JsonFormsOutlet, UnknownRenderer, JsonForms],\n exports: [JsonFormsOutlet, JsonForms],\n})\nexport class JsonFormsModule {}\n","/*\n The MIT License\n \n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nexport * from './base.renderer';\nexport * from './control';\nexport * from './array-control';\nexport * from './jsonforms.component';\nexport * from './jsonforms.module';\nexport * from './unknown.component';\nexport * from './jsonforms.service';\nexport * from './jsonforms-root.component';\nexport * from './abstract-control';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.JsonFormsAngularService","i2.JsonFormsOutlet"],"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;AAuBE;MAUW,qBAAqB,CAAA;AAGvB,IAAA,QAAQ,CAAI;AACZ,IAAA,MAAM,CAAa;AACnB,IAAA,IAAI,CAAS;AACZ,IAAA,aAAa,GAAiB,IAAI,YAAY,EAAE,CAAC;AAEjD,IAAA,eAAe,CAAC,YAA2C,EAAA;AACnE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;AAC/B,YAAA,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;SAC5D;aAAM;AACL,YAAA,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;SACtC;KACF;IAES,WAAW,GAAA;QACnB,OAAO;YACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB,CAAC;KACH;IAED,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;KAClC;wGA1BU,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eA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renderer.ts","../../src/library/jsonforms.service.ts","../../src/library/abstract-control.ts","../../src/library/control.ts","../../src/library/array-control.ts","../../src/library/unknown.component.ts","../../src/library/jsonforms.component.ts","../../src/library/jsonforms-root.component.ts","../../src/library/jsonforms.module.ts","../../src/library/index.ts","../../src/jsonforms-angular.ts"],"sourcesContent":["/*\n The MIT License\n \n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport { Directive, Input, OnDestroy } from '@angular/core';\nimport {\n JsonSchema,\n OwnPropsOfRenderer,\n UISchemaElement,\n} from '@jsonforms/core';\nimport { Subscription } from 'rxjs';\n\n@Directive()\nexport class JsonFormsBaseRenderer<T extends UISchemaElement>\n implements OnDestroy\n{\n @Input() uischema: T;\n @Input() schema: JsonSchema;\n @Input() path: string;\n protected subscriptions: Subscription = new Subscription();\n\n protected addSubscription(subscription: Subscription | Subscription[]) {\n if (Array.isArray(subscription)) {\n subscription.forEach((sub) => this.subscriptions.add(sub));\n } else {\n this.subscriptions.add(subscription);\n }\n }\n\n protected getOwnProps(): OwnPropsOfRenderer {\n return {\n uischema: this.uischema,\n schema: this.schema,\n path: this.path,\n };\n }\n\n ngOnDestroy(): void {\n this.subscriptions.unsubscribe();\n }\n}\n","/*\n The MIT License\n \n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n Actions,\n configReducer,\n CoreActions,\n coreReducer,\n generateDefaultUISchema,\n generateJsonSchema,\n i18nReducer,\n JsonFormsRendererRegistryEntry,\n JsonFormsState,\n JsonFormsSubStates,\n JsonSchema,\n I18nActions,\n RankedTester,\n setConfig,\n SetConfigAction,\n UISchemaActions,\n UISchemaElement,\n uischemaRegistryReducer,\n UISchemaTester,\n ValidationMode,\n updateI18n,\n Middleware,\n defaultMiddleware,\n} from '@jsonforms/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport type { JsonFormsBaseRenderer } from './base.renderer';\n\nimport cloneDeep from 'lodash/cloneDeep';\nimport type Ajv from 'ajv';\nimport type { ErrorObject } from 'ajv';\n\nexport const USE_STATE_VALUE = Symbol('Marker to use state value');\nexport class JsonFormsAngularService {\n private _state: JsonFormsSubStates;\n private state: BehaviorSubject<JsonFormsState>;\n private middleware: Middleware;\n\n init(\n initialState: JsonFormsSubStates = {\n core: {\n data: undefined,\n schema: undefined,\n uischema: undefined,\n validationMode: 'ValidateAndShow',\n additionalErrors: undefined,\n },\n },\n middleware: Middleware = defaultMiddleware\n ) {\n this.middleware = middleware;\n this._state = initialState;\n this._state.config = configReducer(\n undefined,\n setConfig(this._state.config)\n );\n this._state.i18n = i18nReducer(\n this._state.i18n,\n updateI18n(\n this._state.i18n?.locale,\n this._state.i18n?.translate,\n this._state.i18n?.translateError\n )\n );\n this.state = new BehaviorSubject({ jsonforms: this._state });\n const data = initialState.core.data;\n const schema = initialState.core.schema ?? generateJsonSchema(data);\n const uischema =\n initialState.core.uischema ?? generateDefaultUISchema(schema);\n this.updateCore(Actions.init(data, schema, uischema));\n }\n\n get $state(): Observable<JsonFormsState> {\n if (!this.state) {\n throw new Error('Please call init first!');\n }\n return this.state.asObservable();\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.addRenderer}\n */\n registerRenderer(\n renderer: JsonFormsBaseRenderer<UISchemaElement>,\n tester: RankedTester\n ): void {\n this.addRenderer(renderer, tester);\n }\n addRenderer(\n renderer: JsonFormsBaseRenderer<UISchemaElement>,\n tester: RankedTester\n ): void {\n this._state.renderers.push({ renderer, tester });\n this.updateSubject();\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.setRenderer}\n */\n registerRenderers(renderers: JsonFormsRendererRegistryEntry[]): void {\n this.setRenderers(renderers);\n }\n setRenderers(renderers: JsonFormsRendererRegistryEntry[]): void {\n this._state.renderers = renderers;\n this.updateSubject();\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.removeRenderer}\n */\n unregisterRenderer(tester: RankedTester): void {\n this.removeRenderer(tester);\n }\n removeRenderer(tester: RankedTester): void {\n const findIndex = this._state.renderers.findIndex(\n (v) => v.tester === tester\n );\n if (findIndex === -1) {\n return;\n }\n const renderers = this._state.renderers.filter((v) => v.tester !== tester);\n this._state.renderers = renderers;\n this.updateSubject();\n }\n\n updateValidationMode(validationMode: ValidationMode): void {\n const coreState = this.middleware(\n this._state.core,\n Actions.setValidationMode(validationMode),\n coreReducer\n );\n this._state.core = coreState;\n this.updateSubject();\n }\n\n updateI18n<T extends I18nActions>(i18nAction: T): T {\n const i18nState = i18nReducer(this._state.i18n, i18nAction);\n if (i18nState !== this._state.i18n) {\n this._state.i18n = i18nState;\n this.updateSubject();\n }\n return i18nAction;\n }\n\n updateCore<T extends CoreActions>(coreAction: T): T {\n const coreState = this.middleware(\n this._state.core,\n coreAction,\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n return coreAction;\n }\n\n /**\n * @deprecated use {@link JsonFormsAngularService.setUiSchemas}\n */\n updateUiSchema<T extends UISchemaActions>(uischemaAction: T): T {\n const uischemaState = uischemaRegistryReducer(\n this._state.uischemas,\n uischemaAction\n );\n this._state.uischemas = uischemaState;\n this.updateSubject();\n return uischemaAction;\n }\n\n setUiSchemas(\n uischemas: { tester: UISchemaTester; uischema: UISchemaElement }[]\n ): void {\n this._state.uischemas = uischemas;\n this.updateSubject();\n }\n\n updateConfig<T extends SetConfigAction>(setConfigAction: T): T {\n const configState = configReducer(this._state.config, setConfigAction);\n this._state.config = configState;\n this.updateSubject();\n return setConfigAction;\n }\n\n setUiSchema(uischema: UISchemaElement | undefined): void {\n const newUiSchema =\n uischema ?? generateDefaultUISchema(this._state.core.schema);\n const coreState = this.middleware(\n this._state.core,\n Actions.updateCore(\n this._state.core.data,\n this._state.core.schema,\n newUiSchema\n ),\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n }\n\n setSchema(schema: JsonSchema | undefined): void {\n const coreState = this.middleware(\n this._state.core,\n Actions.updateCore(\n this._state.core.data,\n schema ?? generateJsonSchema(this._state.core.data),\n this._state.core.uischema\n ),\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n }\n\n setData(data: any): void {\n const coreState = this.middleware(\n this._state.core,\n Actions.updateCore(\n data,\n this._state.core.schema,\n this._state.core.uischema\n ),\n coreReducer\n );\n if (coreState !== this._state.core) {\n this._state.core = coreState;\n this.updateSubject();\n }\n }\n\n getLocale(): string | undefined {\n return this._state.i18n?.locale;\n }\n\n setLocale(locale: string): void {\n this._state.i18n.locale = locale;\n this.updateSubject();\n }\n\n setReadonly(readonly: boolean): void {\n this._state.readonly = readonly;\n this.updateSubject();\n }\n\n setMiddleware(middleware: Middleware): void {\n this._state.middleware = middleware;\n this.updateSubject();\n }\n\n getState(): JsonFormsState {\n return cloneDeep({ jsonforms: this._state });\n }\n\n getConfig(): any {\n return cloneDeep(this._state.config);\n }\n\n refresh(): void {\n this.updateSubject();\n }\n\n updateCoreState(\n data: any | typeof USE_STATE_VALUE,\n schema: JsonSchema | typeof USE_STATE_VALUE,\n uischema: UISchemaElement | typeof USE_STATE_VALUE,\n ajv: Ajv | typeof USE_STATE_VALUE,\n validationMode: ValidationMode | typeof USE_STATE_VALUE,\n additionalErrors: ErrorObject[] | typeof USE_STATE_VALUE\n ): void {\n const newData = data === USE_STATE_VALUE ? this._state.core.data : data;\n const newSchema =\n schema === USE_STATE_VALUE\n ? this._state.core.schema\n : schema ?? generateJsonSchema(newData);\n const newUischema =\n uischema === USE_STATE_VALUE\n ? this._state.core.uischema\n : uischema ?? generateDefaultUISchema(newSchema);\n const newAjv = ajv === USE_STATE_VALUE ? this._state.core.ajv : ajv;\n const newValidationMode =\n validationMode === USE_STATE_VALUE\n ? this._state.core.validationMode\n : validationMode;\n const newAdditionalErrors =\n additionalErrors === USE_STATE_VALUE\n ? this._state.core.additionalErrors\n : additionalErrors;\n this.updateCore(\n Actions.updateCore(newData, newSchema, newUischema, {\n ajv: newAjv,\n validationMode: newValidationMode,\n additionalErrors: newAdditionalErrors,\n })\n );\n }\n\n private updateSubject(): void {\n this.state.next({ jsonforms: this._state });\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n Actions,\n computeLabel,\n ControlElement,\n JsonFormsState,\n JsonSchema,\n OwnPropsOfControl,\n removeId,\n StatePropsOfControl,\n} from '@jsonforms/core';\nimport { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport {\n AbstractControl,\n FormControl,\n ValidationErrors,\n ValidatorFn,\n} from '@angular/forms';\n\nimport { JsonFormsBaseRenderer } from './base.renderer';\nimport { JsonFormsAngularService } from './jsonforms.service';\nimport merge from 'lodash/merge';\n@Component({\n template: '',\n})\nexport abstract class JsonFormsAbstractControl<\n Props extends StatePropsOfControl\n >\n extends JsonFormsBaseRenderer<ControlElement>\n implements OnInit, OnDestroy\n{\n @Input() id: string;\n @Input() disabled: boolean;\n @Input() visible: boolean;\n\n form: FormControl;\n data: any;\n label: string;\n description: string;\n error: string | null;\n scopedSchema: JsonSchema;\n rootSchema: JsonSchema;\n enabled: boolean;\n hidden: boolean;\n propsPath: string;\n\n constructor(protected jsonFormsService: JsonFormsAngularService) {\n super();\n this.form = new FormControl(\n {\n value: '',\n disabled: true,\n },\n {\n updateOn: 'change',\n validators: this.validator.bind(this),\n }\n );\n }\n\n getEventValue = (event: any) => event.value;\n\n onChange(ev: any) {\n this.jsonFormsService.updateCore(\n Actions.update(this.propsPath, () => this.getEventValue(ev))\n );\n this.triggerValidation();\n }\n\n shouldShowUnfocusedDescription(): boolean {\n const config = this.jsonFormsService.getConfig();\n const appliedUiSchemaOptions = merge({}, config, this.uischema.options);\n return !!appliedUiSchemaOptions.showUnfocusedDescription;\n }\n\n ngOnInit() {\n this.addSubscription(\n this.jsonFormsService.$state.subscribe({\n next: (state: JsonFormsState) => {\n const props = this.mapToProps(state);\n const {\n data,\n enabled,\n errors,\n label,\n required,\n schema,\n rootSchema,\n visible,\n path,\n config,\n } = props;\n this.label = computeLabel(\n label,\n required,\n config ? config.hideRequiredAsterisk : false\n );\n this.data = data;\n this.error = errors;\n this.enabled = enabled;\n this.isEnabled() ? this.form.enable() : this.form.disable();\n this.hidden = !visible;\n this.scopedSchema = schema;\n this.rootSchema = rootSchema;\n this.description = props.description ?? '';\n this.id = props.id;\n this.form.setValue(data);\n this.propsPath = path;\n this.mapAdditionalProps(props);\n },\n })\n );\n this.triggerValidation();\n }\n\n validator: ValidatorFn = (_c: AbstractControl): ValidationErrors | null => {\n return this.error ? { error: this.error } : null;\n };\n\n mapAdditionalProps(_props: Props) {\n // do nothing by default\n }\n\n ngOnDestroy() {\n super.ngOnDestroy();\n removeId(this.id);\n }\n\n isEnabled(): boolean {\n return this.enabled;\n }\n\n protected getOwnProps(): OwnPropsOfControl {\n const props: OwnPropsOfControl = {\n uischema: this.uischema,\n schema: this.schema,\n path: this.path,\n id: this.id,\n };\n if (this.disabled !== undefined) {\n props.enabled = !this.disabled;\n }\n if (this.visible !== undefined) {\n props.visible = this.visible;\n }\n return props;\n }\n\n protected abstract mapToProps(state: JsonFormsState): Props;\n\n protected triggerValidation() {\n // these cause the correct update of the error underline, seems to be\n // related to ionic-team/ionic#11640\n this.form.markAsTouched();\n this.form.updateValueAndValidity();\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n JsonFormsState,\n mapStateToControlProps,\n mapStateToControlWithDetailProps,\n StatePropsOfControl,\n StatePropsOfControlWithDetail,\n} from '@jsonforms/core';\nimport type { OnDestroy, OnInit } from '@angular/core';\nimport { JsonFormsAbstractControl } from './abstract-control';\n\nexport class JsonFormsControl\n extends JsonFormsAbstractControl<StatePropsOfControl>\n implements OnInit, OnDestroy\n{\n protected mapToProps(state: JsonFormsState): StatePropsOfControl {\n const props = mapStateToControlProps(state, this.getOwnProps());\n return { ...props };\n }\n}\n\nexport class JsonFormsControlWithDetail\n extends JsonFormsAbstractControl<StatePropsOfControlWithDetail>\n implements OnInit, OnDestroy\n{\n protected mapToProps(state: JsonFormsState): StatePropsOfControlWithDetail {\n const props = mapStateToControlWithDetailProps(state, this.getOwnProps());\n return { ...props };\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n arrayDefaultTranslations,\n ArrayTranslations,\n defaultJsonFormsI18nState,\n getArrayTranslations,\n JsonFormsState,\n mapStateToArrayControlProps,\n StatePropsOfArrayControl,\n} from '@jsonforms/core';\nimport type { OnDestroy, OnInit } from '@angular/core';\nimport { JsonFormsAbstractControl } from './abstract-control';\n\nexport class JsonFormsArrayControl\n extends JsonFormsAbstractControl<StatePropsOfArrayControl>\n implements OnInit, OnDestroy\n{\n protected mapToProps(\n state: JsonFormsState\n ): StatePropsOfArrayControl & { translations: ArrayTranslations } {\n const props = mapStateToArrayControlProps(state, this.getOwnProps());\n const t =\n state.jsonforms.i18n?.translate ?? defaultJsonFormsI18nState.translate;\n const translations = getArrayTranslations(\n t,\n arrayDefaultTranslations,\n props.i18nKeyPrefix,\n props.label\n );\n return { ...props, translations };\n }\n}\n","/*\n The MIT License\n \n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport { Component } from '@angular/core';\n@Component({\n selector: 'unknown.renderer',\n template: 'No applicable renderer found!',\n})\nexport class UnknownRenderer {}\n","/*\n The MIT License\n\n Copyright (c) 2017-2019 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport maxBy from 'lodash/maxBy';\nimport {\n ComponentFactoryResolver,\n Directive,\n Input,\n OnInit,\n Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n createId,\n isControl,\n getConfig,\n JsonFormsProps,\n JsonFormsState,\n JsonSchema,\n mapStateToJsonFormsRendererProps,\n OwnPropsOfRenderer,\n StatePropsOfJsonFormsRenderer,\n UISchemaElement,\n} from '@jsonforms/core';\nimport { UnknownRenderer } from './unknown.component';\nimport { JsonFormsBaseRenderer } from './base.renderer';\nimport { JsonFormsControl } from './control';\nimport { JsonFormsAngularService } from './jsonforms.service';\n\nimport isEqual from 'lodash/isEqual';\nimport get from 'lodash/get';\n\nconst areEqual = (\n prevProps: StatePropsOfJsonFormsRenderer,\n nextProps: StatePropsOfJsonFormsRenderer\n) => {\n return (\n get(prevProps, 'renderers.length') === get(nextProps, 'renderers.length') &&\n get(prevProps, 'cells.length') === get(nextProps, 'cells.length') &&\n get(prevProps, 'uischemas.length') === get(nextProps, 'uischemas.length') &&\n get(prevProps, 'schema') === get(nextProps, 'schema') &&\n isEqual(get(prevProps, 'uischema'), get(nextProps, 'uischema')) &&\n get(prevProps, 'path') === get(nextProps, 'path')\n );\n};\n\n@Directive({\n selector: 'jsonforms-outlet',\n})\nexport class JsonFormsOutlet\n extends JsonFormsBaseRenderer<UISchemaElement>\n implements OnInit\n{\n private previousProps: StatePropsOfJsonFormsRenderer;\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private componentFactoryResolver: ComponentFactoryResolver,\n private jsonformsService: JsonFormsAngularService\n ) {\n super();\n }\n\n @Input()\n set renderProps(renderProps: OwnPropsOfRenderer) {\n this.path = renderProps.path;\n this.schema = renderProps.schema;\n this.uischema = renderProps.uischema;\n this.update(this.jsonformsService.getState());\n }\n\n ngOnInit(): void {\n this.addSubscription(\n this.jsonformsService.$state.subscribe({\n next: (state: JsonFormsState) => this.update(state),\n })\n );\n }\n\n update(state: JsonFormsState) {\n const props = mapStateToJsonFormsRendererProps(state, {\n schema: this.schema,\n uischema: this.uischema,\n path: this.path,\n });\n if (areEqual(this.previousProps, props)) {\n return;\n } else {\n this.previousProps = props;\n }\n const { renderers } = props as JsonFormsProps;\n const schema: JsonSchema = this.schema || props.schema;\n const uischema = this.uischema || props.uischema;\n const testerContext = {\n rootSchema: props.rootSchema,\n config: getConfig(state),\n };\n\n const renderer = maxBy(renderers, (r) =>\n r.tester(uischema, schema, testerContext)\n );\n let bestComponent: Type<any> = UnknownRenderer;\n if (\n renderer !== undefined &&\n renderer.tester(uischema, schema, testerContext) !== -1\n ) {\n bestComponent = renderer.renderer;\n }\n\n const componentFactory =\n this.componentFactoryResolver.resolveComponentFactory(bestComponent);\n this.viewContainerRef.clear();\n const currentComponentRef =\n this.viewContainerRef.createComponent(componentFactory);\n\n if (currentComponentRef.instance instanceof JsonFormsBaseRenderer) {\n const instance =\n currentComponentRef.instance as JsonFormsBaseRenderer<UISchemaElement>;\n instance.uischema = uischema;\n instance.schema = schema;\n instance.path = this.path;\n if (instance instanceof JsonFormsControl) {\n const controlInstance = instance as JsonFormsControl;\n if (controlInstance.id === undefined) {\n const id = isControl(props.uischema)\n ? createId(props.uischema.scope)\n : undefined;\n (instance as JsonFormsControl).id = id;\n }\n }\n }\n }\n}\n","/*\n The MIT License\n\n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport {\n Component,\n DoCheck,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n SimpleChanges,\n} from '@angular/core';\nimport {\n Actions,\n JsonFormsI18nState,\n JsonFormsRendererRegistryEntry,\n JsonSchema,\n Middleware,\n UISchemaElement,\n UISchemaTester,\n ValidationMode,\n defaultMiddleware,\n} from '@jsonforms/core';\nimport type Ajv from 'ajv';\nimport type { ErrorObject } from 'ajv';\nimport { JsonFormsAngularService, USE_STATE_VALUE } from './jsonforms.service';\nimport { Subscription } from 'rxjs';\nimport { JsonFormsOutlet } from './jsonforms.component';\n\n// TODO Can this be rewritten to not use DoCheck and OnChanges?\n/* eslint-disable @angular-eslint/no-conflicting-lifecycle */\n@Component({\n selector: 'jsonforms',\n template: '<jsonforms-outlet></jsonforms-outlet>',\n providers: [JsonFormsAngularService],\n imports: [JsonFormsOutlet],\n})\nexport class JsonForms implements DoCheck, OnChanges, OnInit, OnDestroy {\n @Input() uischema: UISchemaElement;\n @Input() schema: JsonSchema;\n @Input() data: any;\n @Input() renderers: JsonFormsRendererRegistryEntry[];\n @Input() uischemas: { tester: UISchemaTester; uischema: UISchemaElement }[];\n @Output() dataChange = new EventEmitter<any>();\n @Input() readonly: boolean;\n @Input() validationMode: ValidationMode;\n @Input() ajv: Ajv;\n @Input() config: any;\n @Input() i18n: JsonFormsI18nState;\n @Input() additionalErrors: ErrorObject[];\n @Input() middleware: Middleware = defaultMiddleware;\n @Output() errors = new EventEmitter<ErrorObject[]>();\n\n private previousData: any;\n private previousErrors: ErrorObject[];\n subscription: Subscription;\n\n private initialized = false;\n oldI18N: JsonFormsI18nState;\n\n constructor(private jsonformsService: JsonFormsAngularService) {}\n\n ngOnInit(): void {\n this.jsonformsService.init(\n {\n core: {\n data: this.data,\n uischema: this.uischema,\n schema: this.schema,\n ajv: this.ajv,\n validationMode: this.validationMode,\n additionalErrors: this.additionalErrors,\n },\n uischemas: this.uischemas,\n i18n: this.i18n,\n renderers: this.renderers,\n config: this.config,\n readonly: this.readonly,\n },\n this.middleware\n );\n this.subscription = this.jsonformsService.$state.subscribe((state) => {\n const data = state?.jsonforms?.core?.data;\n const errors = state?.jsonforms?.core?.errors;\n if (this.previousData !== data) {\n this.previousData = data;\n this.dataChange.emit(data);\n }\n if (this.previousErrors !== errors) {\n this.previousErrors = errors;\n this.errors.emit(errors);\n }\n });\n this.oldI18N = this.i18n;\n this.initialized = true;\n }\n\n ngDoCheck(): void {\n // we can't use ngOnChanges as then nested i18n changes will not be detected\n // the update will result in a no-op when the parameters did not change\n if (\n this.oldI18N?.locale !== this.i18n?.locale ||\n this.oldI18N?.translate !== this.i18n?.translate ||\n this.oldI18N?.translateError !== this.i18n?.translateError\n ) {\n this.jsonformsService.updateI18n(\n Actions.updateI18n(\n this.oldI18N?.locale === this.i18n?.locale\n ? this.jsonformsService.getState().jsonforms.i18n.locale\n : this.i18n?.locale,\n this.oldI18N?.translate === this.i18n?.translate\n ? this.jsonformsService.getState().jsonforms.i18n.translate\n : this.i18n?.translate,\n this.oldI18N?.translateError === this.i18n?.translateError\n ? this.jsonformsService.getState().jsonforms.i18n.translateError\n : this.i18n?.translateError\n )\n );\n this.oldI18N = this.i18n;\n }\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!this.initialized) {\n return;\n }\n const newData = changes.data;\n const newSchema = changes.schema;\n const newUiSchema = changes.uischema;\n const newRenderers = changes.renderers;\n const newUischemas = changes.uischemas;\n const newI18n = changes.i18n;\n const newReadonly = changes.readonly;\n const newValidationMode = changes.validationMode;\n const newAjv = changes.ajv;\n const newConfig = changes.config;\n const newAdditionalErrors = changes.additionalErrors;\n\n if (\n newData ||\n newSchema ||\n newUiSchema ||\n newValidationMode ||\n newAjv ||\n newAdditionalErrors\n ) {\n this.jsonformsService.updateCoreState(\n newData ? newData.currentValue : USE_STATE_VALUE,\n newSchema ? newSchema.currentValue : USE_STATE_VALUE,\n newUiSchema ? newUiSchema.currentValue : USE_STATE_VALUE,\n newAjv ? newAjv.currentValue : USE_STATE_VALUE,\n newValidationMode ? newValidationMode.currentValue : USE_STATE_VALUE,\n newAdditionalErrors ? newAdditionalErrors.currentValue : USE_STATE_VALUE\n );\n }\n\n if (newRenderers && !newRenderers.isFirstChange()) {\n this.jsonformsService.setRenderers(newRenderers.currentValue);\n }\n\n if (newUischemas && !newUischemas.isFirstChange()) {\n this.jsonformsService.setUiSchemas(newUischemas.currentValue);\n }\n\n if (newI18n && !newI18n.isFirstChange()) {\n this.jsonformsService.updateI18n(\n Actions.updateI18n(\n newI18n.currentValue?.locale,\n newI18n.currentValue?.translate,\n newI18n.currentValue?.translateError\n )\n );\n }\n\n if (newReadonly && !newReadonly.isFirstChange()) {\n this.jsonformsService.setReadonly(newReadonly.currentValue);\n }\n\n if (newConfig && !newConfig.isFirstChange()) {\n this.jsonformsService.updateConfig(\n Actions.setConfig(newConfig.currentValue)\n );\n }\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n}\n","/*\n The MIT License\n \n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nimport { NgModule } from '@angular/core';\n\nimport { JsonForms } from './jsonforms-root.component';\nimport { JsonFormsOutlet } from './jsonforms.component';\nimport { UnknownRenderer } from './unknown.component';\n@NgModule({\n imports: [JsonFormsOutlet, UnknownRenderer, JsonForms],\n exports: [JsonFormsOutlet, JsonForms],\n})\nexport class JsonFormsModule {}\n","/*\n The MIT License\n \n Copyright (c) 2017-2020 EclipseSource Munich\n https://github.com/eclipsesource/jsonforms\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nexport * from './base.renderer';\nexport * from './control';\nexport * from './array-control';\nexport * from './jsonforms.component';\nexport * from './jsonforms.module';\nexport * from './unknown.component';\nexport * from './jsonforms.service';\nexport * from './jsonforms-root.component';\nexport * from './abstract-control';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.JsonFormsAngularService"],"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;AAuBE;MAUW,qBAAqB,CAAA;AAGvB,IAAA,QAAQ;AACR,IAAA,MAAM;AACN,IAAA,IAAI;AACH,IAAA,aAAa,GAAiB,IAAI,YAAY,EAAE;AAEhD,IAAA,eAAe,CAAC,YAA2C,EAAA;AACnE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;AAC/B,YAAA,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5D;aAAO;AACL,YAAA,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC;QACtC;IACF;IAEU,WAAW,GAAA;QACnB,OAAO;YACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;SAChB;IACH;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE;I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,EAAA,CAC3C,eAAe,EAAE,SAAS,CAAA,EAAA,CAAA;yGAEzB,eAAe,EAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,SAAS,CAAC;AACtD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,SAAS,CAAC;AACtC,iBAAA;;;AChCD;;;;;;;;;;;;;;;;;;;;;;;AAuBE;;ACvBF;;AAEG;;;;"}
@@ -32,6 +32,6 @@ export declare abstract class JsonFormsAbstractControl<Props extends StatePropsO
32
32
  protected abstract mapToProps(state: JsonFormsState): Props;
33
33
  protected triggerValidation(): void;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonFormsAbstractControl<any>, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<JsonFormsAbstractControl<any>, "ng-component", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<JsonFormsAbstractControl<any>, "ng-component", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
37
37
  //# sourceMappingURL=abstract-control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-control.d.ts","sourceRoot":"","sources":["../../src/library/abstract-control.ts"],"names":[],"mappings":"AAwBA,OAAO,EAGL,cAAc,EACd,cAAc,EACd,UAAU,EACV,iBAAiB,EAEjB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAEL,WAAW,EAEX,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,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7HP,wBAAwB;2CAAxB,wBAAwB;CAmI7C"}
@@ -11,6 +11,6 @@ export declare class JsonFormsBaseRenderer<T extends UISchemaElement> implements
11
11
  protected getOwnProps(): OwnPropsOfRenderer;
12
12
  ngOnDestroy(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonFormsBaseRenderer<any>, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<JsonFormsBaseRenderer<any>, never, never, { "uischema": { "alias": "uischema"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, {}, never, never, false, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<JsonFormsBaseRenderer<any>, never, never, { "uischema": { "alias": "uischema"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, {}, never, never, true, never>;
15
15
  }
16
16
  //# sourceMappingURL=base.renderer.d.ts.map
@@ -35,6 +35,6 @@ export declare class JsonForms implements DoCheck, OnChanges, OnInit, OnDestroy
35
35
  ngOnChanges(changes: SimpleChanges): void;
36
36
  ngOnDestroy(): void;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonForms, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<JsonForms, "jsonforms", never, { "uischema": { "alias": "uischema"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "data": { "alias": "data"; "required": false; }; "renderers": { "alias": "renderers"; "required": false; }; "uischemas": { "alias": "uischemas"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "validationMode": { "alias": "validationMode"; "required": false; }; "ajv": { "alias": "ajv"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "additionalErrors": { "alias": "additionalErrors"; "required": false; }; "middleware": { "alias": "middleware"; "required": false; }; }, { "dataChange": "dataChange"; "errors": "errors"; }, never, never, false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<JsonForms, "jsonforms", never, { "uischema": { "alias": "uischema"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; "data": { "alias": "data"; "required": false; }; "renderers": { "alias": "renderers"; "required": false; }; "uischemas": { "alias": "uischemas"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "validationMode": { "alias": "validationMode"; "required": false; }; "ajv": { "alias": "ajv"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "additionalErrors": { "alias": "additionalErrors"; "required": false; }; "middleware": { "alias": "middleware"; "required": false; }; }, { "dataChange": "dataChange"; "errors": "errors"; }, never, never, true, never>;
39
39
  }
40
40
  //# sourceMappingURL=jsonforms-root.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonforms-root.component.d.ts","sourceRoot":"","sources":["../../src/library/jsonforms-root.component.ts"],"names":[],"mappings":"AAwBA,OAAO,EAEL,OAAO,EACP,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,kBAAkB,EAClB,8BAA8B,EAC9B,UAAU,EACV,UAAU,EACV,eAAe,EACf,cAAc,EACd,cAAc,EAEf,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAmB,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;;AAIpC,qBAMa,SAAU,YAAW,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS;IAuBzD,OAAO,CAAC,gBAAgB;IAtB3B,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;IACnB,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,EAAE,8BAA8B,EAAE,CAAC;IAC5C,SAAS,EAAE;QAAE,MAAM,EAAE,cAAc,CAAC;QAAC,QA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AM,EAAE,SAAS;IAuBzD,OAAO,CAAC,gBAAgB;IAtB3B,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;IACnB,IAAI,EAAE,GAAG,CAAC;IACV,SAAS,EAAE,8BAA8B,EAAE,CAAC;IAC5C,SAAS,EAAE;QAAE,MAAM,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,eAAe,CAAA;KAAE,EAAE,CAAC;IAClE,UAAU,oBAA2B;IACtC,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,cAAc,CAAC;IAC/B,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,GAAG,CAAC;IACZ,IAAI,EAAE,kBAAkB,CAAC;IACzB,gBAAgB,EAAE,WAAW,EAAE,CAAC;IAChC,UAAU,EAAE,UAAU,CAAqB;IAC1C,MAAM,oEAAqC;IAErD,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,cAAc,CAAgB;IACtC,YAAY,EAAE,YAAY,CAAC;IAE3B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,EAAE,kBAAkB,CAAC;gBAER,gBAAgB,EAAE,uBAAuB;IAE7D,QAAQ,IAAI,IAAI;IAmChB,SAAS,IAAI,IAAI;IAyBjB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IA+DzC,WAAW,IAAI,IAAI;yCApJR,SAAS;2CAAT,SAAS;CAuJrB"}
@@ -13,6 +13,6 @@ export declare class JsonFormsOutlet extends JsonFormsBaseRenderer<UISchemaEleme
13
13
  ngOnInit(): void;
14
14
  update(state: JsonFormsState): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonFormsOutlet, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<JsonFormsOutlet, "jsonforms-outlet", never, { "renderProps": { "alias": "renderProps"; "required": false; }; }, {}, never, never, false, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<JsonFormsOutlet, "jsonforms-outlet", never, { "renderProps": { "alias": "renderProps"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
18
18
  //# sourceMappingURL=jsonforms.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonforms.component.d.ts","sourceRoot":"","sources":["../../src/library/jsonforms.component.ts"],"names":[],"mappings":"AAyBA,OAAO,EACL,wBAAwB,EAGxB,MAAM,EAEN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAKL,cAAc,EAGd,kBAAkB,EAElB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;;AAmB9D,qBAIa,eACX,SAAQ,qBAAqB,CAAC,eAAe,CAC7C,YAAW,MAAM;IAKf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,gBAAgB;IAL1B,OAAO,CAAC,aAAa,CAAgC;gBAG3C,gBAAgB,EAAE,gBAAgB,EAClC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,uBAAuB;IAKnD,IACI,WAAW,CAAC,WAAW,EAAE,kBAAkB,EAK9C;IAED,QAAQ,IAAI,IAAI;IAQhB,MAAM,CAAC,KAAK,EAAE,cAAc;yCA9BjB,eAAe;2CAAf,eAAe;CAmF3B"}
1
+ {"version":3,"file":"jsonforms.component.d.ts","sourceRoot":"","sources":["../../src/library/jsonforms.component.ts"],"names":[],"mappings":"AAyBA,OAAO,EACL,wBAAwB,EAGxB,MAAM,EAEN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAKL,cAAc,EAGd,kBAAkB,EAElB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;;AAmB9D,qBAGa,eACX,SAAQ,qBAAqB,CAAC,eAAe,CAC7C,YAAW,MAAM;IAKf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,gBAAgB;IAL1B,OAAO,CAAC,aAAa,CAAgC;gBAG3C,gBAAgB,EAAE,gBAAgB,EAClC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,uBAAuB;IAKnD,IACI,WAAW,CAAC,WAAW,EAAE,kBAAkB,EAK9C;IAED,QAAQ,IAAI,IAAI;IAQhB,MAAM,CAAC,KAAK,EAAE,cAAc;yCA9BjB,eAAe;2CAAf,eAAe;CAmF3B"}
@@ -4,7 +4,7 @@ import * as i2 from "./unknown.component";
4
4
  import * as i3 from "./jsonforms-root.component";
5
5
  export declare class JsonFormsModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonFormsModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<JsonFormsModule, [typeof i1.JsonFormsOutlet, typeof i2.UnknownRenderer, typeof i3.JsonForms], never, [typeof i1.JsonFormsOutlet, typeof i3.JsonForms]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<JsonFormsModule, never, [typeof i1.JsonFormsOutlet, typeof i2.UnknownRenderer, typeof i3.JsonForms], [typeof i1.JsonFormsOutlet, typeof i3.JsonForms]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<JsonFormsModule>;
9
9
  }
10
10
  //# sourceMappingURL=jsonforms.module.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class UnknownRenderer {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<UnknownRenderer, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<UnknownRenderer, "unknown.renderer", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnknownRenderer, "unknown.renderer", never, {}, {}, never, never, true, never>;
5
5
  }
6
6
  //# sourceMappingURL=unknown.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unknown.component.d.ts","sourceRoot":"","sources":["../../src/library/unknown.component.ts"],"names":[],"mappings":";AAyBA,qBAKa,eAAe;yCAAf,eAAe;2CAAf,eAAe;CAAG"}
1
+ {"version":3,"file":"unknown.component.d.ts","sourceRoot":"","sources":["../../src/library/unknown.component.ts"],"names":[],"mappings":";AAyBA,qBAIa,eAAe;yCAAf,eAAe;2CAAf,eAAe;CAAG"}
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@jsonforms/angular",
3
- "version": "3.7.0-alpha.1",
3
+ "version": "3.7.0-alpha.3",
4
4
  "description": "Angular module of JSON Forms",
5
- "repository": "https://github.com/eclipsesource/jsonforms",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/eclipsesource/jsonforms.git",
8
+ "directory": "packages/angular"
9
+ },
6
10
  "bugs": "https://github.com/eclipsesource/jsonforms/issues",
7
11
  "homepage": "http://jsonforms.io/",
8
12
  "license": "MIT",
@@ -57,20 +61,20 @@
57
61
  "lodash": "^4.17.21"
58
62
  },
59
63
  "peerDependencies": {
60
- "@angular/core": "^18.0.0 || ^19.0.0 || ^20.0.0",
61
- "@angular/forms": "^18.0.0 || ^19.0.0 || ^20.0.0",
62
- "@jsonforms/core": "3.7.0-alpha.1",
64
+ "@angular/core": "^19.0.0 || ^20.0.0 || ^21.0.0-rc.0",
65
+ "@angular/forms": "^19.0.0 || ^20.0.0 || ^21.0.0-rc.0",
66
+ "@jsonforms/core": "3.7.0-alpha.3",
63
67
  "rxjs": "^6.6.0 || ^7.4.0"
64
68
  },
65
69
  "devDependencies": {
66
- "@angular-eslint/eslint-plugin": "^18.0.0",
67
- "@angular-eslint/eslint-plugin-template": "^18.0.0",
68
- "@angular-eslint/schematics": "^18.0.0",
69
- "@angular-eslint/template-parser": "^18.0.0",
70
- "@angular/compiler": "^18.0.0",
71
- "@angular/compiler-cli": "^18.0.0",
72
- "@angular/core": "^18.0.0",
73
- "@angular/forms": "^18.0.0",
70
+ "@angular-eslint/eslint-plugin": "^19.0.0",
71
+ "@angular-eslint/eslint-plugin-template": "^19.0.0",
72
+ "@angular-eslint/schematics": "^19.0.0",
73
+ "@angular-eslint/template-parser": "^19.0.0",
74
+ "@angular/compiler": "^19.0.0",
75
+ "@angular/compiler-cli": "^19.0.0",
76
+ "@angular/core": "^19.0.0",
77
+ "@angular/forms": "^19.0.0",
74
78
  "@typescript-eslint/eslint-plugin": "^5.54.1",
75
79
  "@typescript-eslint/parser": "^5.54.1",
76
80
  "ava": "^6.1.2",
@@ -79,7 +83,7 @@
79
83
  "eslint-config-prettier": "^8.7.0",
80
84
  "eslint-plugin-import": "^2.27.5",
81
85
  "eslint-plugin-prettier": "^4.2.1",
82
- "ng-packagr": "^18.0.0",
86
+ "ng-packagr": "^19.0.0",
83
87
  "nyc": "^15.1.0",
84
88
  "prettier": "^2.8.4",
85
89
  "rimraf": "^3.0.2",
@@ -88,7 +92,7 @@
88
92
  "tslib": "^2.3.0",
89
93
  "typedoc": "~0.25.3",
90
94
  "typescript": "~5.5.0",
91
- "@jsonforms/core": "3.7.0-alpha.1"
95
+ "@jsonforms/core": "3.7.0-alpha.3"
92
96
  },
93
97
  "scripts": {
94
98
  "build": "node ./build-package.js",
@@ -45,7 +45,6 @@ import { JsonFormsAngularService } from './jsonforms.service';
45
45
  import merge from 'lodash/merge';
46
46
  @Component({
47
47
  template: '',
48
- standalone: false,
49
48
  })
50
49
  export abstract class JsonFormsAbstractControl<
51
50
  Props extends StatePropsOfControl