@syncfusion/ej2-angular-form-renderer 34.2.3 → 34.2.4-ngcc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@syncfusion/ej2-angular-form-renderer.es5.js +161 -0
- package/@syncfusion/ej2-angular-form-renderer.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-form-renderer.js +142 -0
- package/@syncfusion/ej2-angular-form-renderer.js.map +1 -0
- package/LICENSE +10 -0
- package/dist/ej2-angular-form-renderer.umd.js +180 -0
- package/dist/ej2-angular-form-renderer.umd.js.map +1 -0
- package/dist/ej2-angular-form-renderer.umd.min.js +11 -0
- package/dist/ej2-angular-form-renderer.umd.min.js.map +1 -0
- package/ej2-angular-form-renderer.d.ts +5 -0
- package/ej2-angular-form-renderer.metadata.json +1 -0
- package/package.json +10 -23
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/form-renderer/formrenderer-all.module.d.ts +5 -11
- package/src/form-renderer/formrenderer.component.d.ts +32 -35
- package/src/form-renderer/formrenderer.module.d.ts +5 -11
- package/src/index.d.ts +4 -4
- package/CHANGELOG.md +0 -15
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/form-renderer/formrenderer-all.module.mjs +0 -23
- package/esm2020/src/form-renderer/formrenderer.component.mjs +0 -59
- package/esm2020/src/form-renderer/formrenderer.module.mjs +0 -25
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/syncfusion-ej2-angular-form-renderer.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-form-renderer.mjs +0 -107
- package/fesm2015/syncfusion-ej2-angular-form-renderer.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-form-renderer.mjs +0 -107
- package/fesm2020/syncfusion-ej2-angular-form-renderer.mjs.map +0 -1
- package/syncfusion-ej2-angular-form-renderer.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-angular-form-renderer",
|
|
3
|
-
"version": "34.2.
|
|
3
|
+
"version": "34.2.4-ngcc",
|
|
4
4
|
"description": "A package of Essential JS 2 Form Renderer which can render feature-rich Syncfusion components as a form. for Angular",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
7
7
|
"schematics": "./schematics/collection.json",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@syncfusion/ej2-base": "~34.2.
|
|
10
|
-
"@syncfusion/ej2-angular-base": "~34.2.
|
|
11
|
-
"@syncfusion/ej2-form-renderer": "34.2.
|
|
9
|
+
"@syncfusion/ej2-base": "~34.2.4",
|
|
10
|
+
"@syncfusion/ej2-angular-base": "~34.2.4",
|
|
11
|
+
"@syncfusion/ej2-form-renderer": "34.2.4"
|
|
12
12
|
},
|
|
13
|
+
"devDependencies": {},
|
|
13
14
|
"keywords": [
|
|
14
15
|
"angular",
|
|
15
16
|
"ng",
|
|
@@ -22,24 +23,10 @@
|
|
|
22
23
|
"url": "https://github.com/syncfusion/ej2-angular-ui-components.git"
|
|
23
24
|
},
|
|
24
25
|
"sideEffects": false,
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"typings": "syncfusion-ej2-angular-form-renderer.d.ts",
|
|
31
|
-
"exports": {
|
|
32
|
-
"./package.json": {
|
|
33
|
-
"default": "./package.json"
|
|
34
|
-
},
|
|
35
|
-
".": {
|
|
36
|
-
"types": "./syncfusion-ej2-angular-form-renderer.d.ts",
|
|
37
|
-
"esm2020": "./esm2020/syncfusion-ej2-angular-form-renderer.mjs",
|
|
38
|
-
"es2020": "./fesm2020/syncfusion-ej2-angular-form-renderer.mjs",
|
|
39
|
-
"es2015": "./fesm2015/syncfusion-ej2-angular-form-renderer.mjs",
|
|
40
|
-
"node": "./fesm2015/syncfusion-ej2-angular-form-renderer.mjs",
|
|
41
|
-
"default": "./fesm2020/syncfusion-ej2-angular-form-renderer.mjs"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
26
|
+
"main": "dist/ej2-angular-form-renderer.umd.js",
|
|
27
|
+
"module": "@syncfusion/ej2-angular-form-renderer.es5.js",
|
|
28
|
+
"es2015": "@syncfusion/ej2-angular-form-renderer.js",
|
|
29
|
+
"typings": "ej2-angular-form-renderer.d.ts",
|
|
30
|
+
"metadata": "ej2-angular-form-renderer.metadata.json",
|
|
44
31
|
"homepage": "https://www.syncfusion.com/angular-components"
|
|
45
32
|
}
|
package/public_api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src/index';
|
|
1
|
+
export * from './src/index';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.pkgName = '@syncfusion/ej2-angular-form-renderer';
|
|
4
|
-
exports.pkgVer = '^34.2.
|
|
4
|
+
exports.pkgVer = '^34.2.4';
|
|
5
5
|
exports.moduleName = 'FormRendererModule';
|
|
6
|
-
exports.themeVer = '~34.2.
|
|
6
|
+
exports.themeVer = '~34.2.4';
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
export declare class FormRendererAllModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererAllModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormRendererAllModule, never, [typeof i1.CommonModule, typeof i2.FormRendererModule], [typeof i2.FormRendererModule]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormRendererAllModule>;
|
|
11
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* NgModule definition for the FormRenderer component with providers.
|
|
3
|
+
*/
|
|
4
|
+
export declare class FormRendererAllModule {
|
|
5
|
+
}
|
|
@@ -1,35 +1,32 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef, Renderer2, Injector } from '@angular/core';
|
|
2
|
-
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormRendererComponent, "[ejs-form-renderer], ejs-form-renderer", never, { "className": "className"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "layout": "layout"; "locale": "locale"; "schema": "schema"; }, { "buttonClick": "buttonClick"; "change": "change"; "created": "created"; "failure": "failure"; "submit": "submit"; }, never, ["*"]>;
|
|
35
|
-
}
|
|
1
|
+
import { ElementRef, ViewContainerRef, Renderer2, Injector } from '@angular/core';
|
|
2
|
+
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
4
|
+
export declare const inputs: string[];
|
|
5
|
+
export declare const outputs: string[];
|
|
6
|
+
export declare const twoWays: string[];
|
|
7
|
+
/**
|
|
8
|
+
* Represents the Angular FormRenderer Component.
|
|
9
|
+
* ```html
|
|
10
|
+
* <ejs-form-renderer></ejs-form-renderer>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class FormRendererComponent extends FormRenderer implements IComponentBase {
|
|
14
|
+
private ngEle;
|
|
15
|
+
private srenderer;
|
|
16
|
+
private viewContainerRef;
|
|
17
|
+
private injector;
|
|
18
|
+
containerContext: any;
|
|
19
|
+
tagObjects: any;
|
|
20
|
+
buttonClick: any;
|
|
21
|
+
change: any;
|
|
22
|
+
created: any;
|
|
23
|
+
failure: any;
|
|
24
|
+
submit: any;
|
|
25
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
ngAfterContentChecked(): void;
|
|
30
|
+
registerEvents: (eventList: string[]) => void;
|
|
31
|
+
addTwoWay: (propList: string[]) => void;
|
|
32
|
+
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
export declare class FormRendererModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormRendererModule, [typeof i1.FormRendererComponent], [typeof i2.CommonModule], [typeof i1.FormRendererComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormRendererModule>;
|
|
11
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* NgModule definition for the FormRenderer component.
|
|
3
|
+
*/
|
|
4
|
+
export declare class FormRendererModule {
|
|
5
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FormRendererComponent } from './form-renderer/formrenderer.component';
|
|
2
|
-
export { FormRendererModule } from './form-renderer/formrenderer.module';
|
|
3
|
-
export { FormRendererAllModule } from './form-renderer/formrenderer-all.module';
|
|
4
|
-
export * from '@syncfusion/ej2-form-renderer';
|
|
1
|
+
export { FormRendererComponent } from './form-renderer/formrenderer.component';
|
|
2
|
+
export { FormRendererModule } from './form-renderer/formrenderer.module';
|
|
3
|
+
export { FormRendererAllModule } from './form-renderer/formrenderer-all.module';
|
|
4
|
+
export * from '@syncfusion/ej2-form-renderer';
|
package/CHANGELOG.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [Unreleased]
|
|
4
|
-
|
|
5
|
-
### Form Renderer
|
|
6
|
-
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- The issue with "Checkbox group and multi select not resetting on reset action" has been resolved.
|
|
10
|
-
- The issue with "Min-max range functionality not working" has been resolved.## Form Renderer
|
|
11
|
-
|
|
12
|
-
### Bug Fixes
|
|
13
|
-
|
|
14
|
-
- The issue with "Checkbox group and multi select not resetting on reset action" has been resolved.
|
|
15
|
-
- The issue with "Min-max range functionality not working" has been resolved.
|
package/esm2020/public_api.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './src/index';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormRendererModule } from './formrenderer.module';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
7
|
-
*/
|
|
8
|
-
export class FormRendererAllModule {
|
|
9
|
-
}
|
|
10
|
-
FormRendererAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
FormRendererAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, imports: [CommonModule, FormRendererModule], exports: [FormRendererModule] });
|
|
12
|
-
FormRendererAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, providers: [], imports: [[CommonModule, FormRendererModule], FormRendererModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule, FormRendererModule],
|
|
17
|
-
exports: [
|
|
18
|
-
FormRendererModule
|
|
19
|
-
],
|
|
20
|
-
providers: []
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXJlbmRlcmVyLWFsbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZm9ybS1yZW5kZXJlci9mb3JtcmVuZGVyZXItYWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN4RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7O0FBTTNEOztHQUVHO0FBVUg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RlcmVyQWxsTW9kdWxlIHsgfSJdfQ==
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
-
import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
|
-
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export const inputs = ['className', 'enablePersistence', 'enableRtl', 'layout', 'locale', 'schema'];
|
|
7
|
-
export const outputs = ['buttonClick', 'change', 'created', 'failure', 'submit'];
|
|
8
|
-
export const twoWays = [];
|
|
9
|
-
/**
|
|
10
|
-
* Represents the Angular FormRenderer Component.
|
|
11
|
-
* ```html
|
|
12
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
let FormRendererComponent = class FormRendererComponent extends FormRenderer {
|
|
16
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
17
|
-
super();
|
|
18
|
-
this.ngEle = ngEle;
|
|
19
|
-
this.srenderer = srenderer;
|
|
20
|
-
this.viewContainerRef = viewContainerRef;
|
|
21
|
-
this.injector = injector;
|
|
22
|
-
this.element = this.ngEle.nativeElement;
|
|
23
|
-
this.injectedModules = this.injectedModules || [];
|
|
24
|
-
this.registerEvents(outputs);
|
|
25
|
-
this.addTwoWay.call(this, twoWays);
|
|
26
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
27
|
-
this.containerContext = new ComponentBase();
|
|
28
|
-
}
|
|
29
|
-
ngOnInit() {
|
|
30
|
-
this.containerContext.ngOnInit(this);
|
|
31
|
-
}
|
|
32
|
-
ngAfterViewInit() {
|
|
33
|
-
this.containerContext.ngAfterViewInit(this);
|
|
34
|
-
}
|
|
35
|
-
ngOnDestroy() {
|
|
36
|
-
this.containerContext.ngOnDestroy(this);
|
|
37
|
-
}
|
|
38
|
-
ngAfterContentChecked() {
|
|
39
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
FormRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
FormRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FormRendererComponent, selector: "[ejs-form-renderer], ejs-form-renderer", inputs: { className: "className", enablePersistence: "enablePersistence", enableRtl: "enableRtl", layout: "layout", locale: "locale", schema: "schema" }, outputs: { buttonClick: "buttonClick", change: "change", created: "created", failure: "failure", submit: "submit" }, usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
44
|
-
FormRendererComponent = __decorate([
|
|
45
|
-
ComponentMixins([ComponentBase])
|
|
46
|
-
], FormRendererComponent);
|
|
47
|
-
export { FormRendererComponent };
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererComponent, decorators: [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{
|
|
51
|
-
selector: '[ejs-form-renderer], ejs-form-renderer',
|
|
52
|
-
inputs: inputs,
|
|
53
|
-
outputs: outputs,
|
|
54
|
-
template: `<ng-content ></ng-content>`,
|
|
55
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
56
|
-
queries: {}
|
|
57
|
-
}]
|
|
58
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXJlbmRl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gICAgICAgdGhpcy5pbmplY3RlZE1vZHVsZXMgPSB0aGlzLmluamVjdGVkTW9kdWxlcyB8fCBbXTtcblxuICAgICAgICB0aGlzLnJlZ2lzdGVyRXZlbnRzKG91dHB1dHMpO1xuICAgICAgICB0aGlzLmFkZFR3b1dheS5jYWxsKHRoaXMsIHR3b1dheXMpO1xuICAgICAgICBzZXRWYWx1ZSgnY3VycmVudEluc3RhbmNlJywgdGhpcywgdGhpcy52aWV3Q29udGFpbmVyUmVmKTtcbiAgICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0ICA9IG5ldyBDb21wb25lbnRCYXNlKCk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25Jbml0KCkge1xuICAgICAgICB0aGlzLmNvbnRhaW5lckNvbnRleHQubmdPbkluaXQodGhpcyk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0Lm5nQWZ0ZXJWaWV3SW5pdCh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29udGFpbmVyQ29udGV4dC5uZ09uRGVzdHJveSh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlckNvbnRlbnRDaGVja2VkKCk6IHZvaWQge1xuICAgICAgICBcbiAgICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0Lm5nQWZ0ZXJDb250ZW50Q2hlY2tlZCh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVnaXN0ZXJFdmVudHM6IChldmVudExpc3Q6IHN0cmluZ1tdKSA9PiB2b2lkO1xuICAgIHB1YmxpYyBhZGRUd29XYXk6IChwcm9wTGlzdDogc3RyaW5nW10pID0+IHZvaWQ7XG59XG5cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormRendererComponent } from './formrenderer.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* NgModule definition for the FormRenderer component.
|
|
7
|
-
*/
|
|
8
|
-
export class FormRendererModule {
|
|
9
|
-
}
|
|
10
|
-
FormRendererModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
FormRendererModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, declarations: [FormRendererComponent], imports: [CommonModule], exports: [FormRendererComponent] });
|
|
12
|
-
FormRendererModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, imports: [[CommonModule]] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule],
|
|
17
|
-
declarations: [
|
|
18
|
-
FormRendererComponent
|
|
19
|
-
],
|
|
20
|
-
exports: [
|
|
21
|
-
FormRendererComponent
|
|
22
|
-
]
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXJlbmRlcmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9mb3JtLXJlbmRlcmVyL2Zvcm1yZW5kZXJlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQ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Nb2R1bGUgeyB9Il19
|
package/esm2020/src/index.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { FormRendererComponent } from './form-renderer/formrenderer.component';
|
|
2
|
-
export { FormRendererModule } from './form-renderer/formrenderer.module';
|
|
3
|
-
export { FormRendererAllModule } from './form-renderer/formrenderer-all.module';
|
|
4
|
-
export * from '@syncfusion/ej2-form-renderer';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFDLE1BQU0sd0NBQXdDLENBQUM7QUFDOUUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDekUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDaEYsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEZvcm1SZW5kZXJlckNvbXBvbmVudH0gZnJvbSAnLi9mb3JtLXJlbmRlcmVyL2Zvcm1yZW5kZXJlci5jb21wb25lbnQnO1xuZXhwb3J0IHsgRm9ybVJlbmRlcmVyTW9kdWxlIH0gZnJvbSAnLi9mb3JtLXJlbmRlcmVyL2Zvcm1yZW5kZXJlci5tb2R1bGUnO1xuZXhwb3J0IHsgRm9ybVJlbmRlcmVyQWxsTW9kdWxlIH0gZnJvbSAnLi9mb3JtLXJlbmRlcmVyL2Zvcm1yZW5kZXJlci1hbGwubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJ0BzeW5jZnVzaW9uL2VqMi1mb3JtLXJlbmRlcmVyJzsiXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1mb3JtLXJlbmRlcmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3luY2Z1c2lvbi1lajItYW5ndWxhci1mb3JtLXJlbmRlcmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
-
import { setValue, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
-
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
6
|
-
export * from '@syncfusion/ej2-form-renderer';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
const inputs = ['className', 'enablePersistence', 'enableRtl', 'layout', 'locale', 'schema'];
|
|
10
|
-
const outputs = ['buttonClick', 'change', 'created', 'failure', 'submit'];
|
|
11
|
-
const twoWays = [];
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Angular FormRenderer Component.
|
|
14
|
-
* ```html
|
|
15
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
let FormRendererComponent = class FormRendererComponent extends FormRenderer {
|
|
19
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
20
|
-
super();
|
|
21
|
-
this.ngEle = ngEle;
|
|
22
|
-
this.srenderer = srenderer;
|
|
23
|
-
this.viewContainerRef = viewContainerRef;
|
|
24
|
-
this.injector = injector;
|
|
25
|
-
this.element = this.ngEle.nativeElement;
|
|
26
|
-
this.injectedModules = this.injectedModules || [];
|
|
27
|
-
this.registerEvents(outputs);
|
|
28
|
-
this.addTwoWay.call(this, twoWays);
|
|
29
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
30
|
-
this.containerContext = new ComponentBase();
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
this.containerContext.ngOnInit(this);
|
|
34
|
-
}
|
|
35
|
-
ngAfterViewInit() {
|
|
36
|
-
this.containerContext.ngAfterViewInit(this);
|
|
37
|
-
}
|
|
38
|
-
ngOnDestroy() {
|
|
39
|
-
this.containerContext.ngOnDestroy(this);
|
|
40
|
-
}
|
|
41
|
-
ngAfterContentChecked() {
|
|
42
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
FormRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
FormRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FormRendererComponent, selector: "[ejs-form-renderer], ejs-form-renderer", inputs: { className: "className", enablePersistence: "enablePersistence", enableRtl: "enableRtl", layout: "layout", locale: "locale", schema: "schema" }, outputs: { buttonClick: "buttonClick", change: "change", created: "created", failure: "failure", submit: "submit" }, usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
-
FormRendererComponent = __decorate([
|
|
48
|
-
ComponentMixins([ComponentBase])
|
|
49
|
-
], FormRendererComponent);
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{
|
|
53
|
-
selector: '[ejs-form-renderer], ejs-form-renderer',
|
|
54
|
-
inputs: inputs,
|
|
55
|
-
outputs: outputs,
|
|
56
|
-
template: `<ng-content ></ng-content>`,
|
|
57
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
58
|
-
queries: {}
|
|
59
|
-
}]
|
|
60
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* NgModule definition for the FormRenderer component.
|
|
64
|
-
*/
|
|
65
|
-
class FormRendererModule {
|
|
66
|
-
}
|
|
67
|
-
FormRendererModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
-
FormRendererModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, declarations: [FormRendererComponent], imports: [CommonModule], exports: [FormRendererComponent] });
|
|
69
|
-
FormRendererModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, imports: [[CommonModule]] });
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, decorators: [{
|
|
71
|
-
type: NgModule,
|
|
72
|
-
args: [{
|
|
73
|
-
imports: [CommonModule],
|
|
74
|
-
declarations: [
|
|
75
|
-
FormRendererComponent
|
|
76
|
-
],
|
|
77
|
-
exports: [
|
|
78
|
-
FormRendererComponent
|
|
79
|
-
]
|
|
80
|
-
}]
|
|
81
|
-
}] });
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
85
|
-
*/
|
|
86
|
-
class FormRendererAllModule {
|
|
87
|
-
}
|
|
88
|
-
FormRendererAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
89
|
-
FormRendererAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, imports: [CommonModule, FormRendererModule], exports: [FormRendererModule] });
|
|
90
|
-
FormRendererAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, providers: [], imports: [[CommonModule, FormRendererModule], FormRendererModule] });
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, decorators: [{
|
|
92
|
-
type: NgModule,
|
|
93
|
-
args: [{
|
|
94
|
-
imports: [CommonModule, FormRendererModule],
|
|
95
|
-
exports: [
|
|
96
|
-
FormRendererModule
|
|
97
|
-
],
|
|
98
|
-
providers: []
|
|
99
|
-
}]
|
|
100
|
-
}] });
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Generated bundle index. Do not edit.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
export { FormRendererAllModule, FormRendererComponent, FormRendererModule };
|
|
107
|
-
//# sourceMappingURL=syncfusion-ej2-angular-form-renderer.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syncfusion-ej2-angular-form-renderer.mjs","sources":["../../src/form-renderer/formrenderer.component.ts","../../src/form-renderer/formrenderer.module.ts","../../src/form-renderer/formrenderer-all.module.ts","../../syncfusion-ej2-angular-form-renderer.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, Renderer2, Injector, ChangeDetectionStrategy, QueryList, ValueProvider } from '@angular/core';\nimport { ComponentBase, ComponentMixins, IComponentBase, applyMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { FormRenderer } from '@syncfusion/ej2-form-renderer';\n\n\n\nexport const inputs: string[] = ['className','enablePersistence','enableRtl','layout','locale','schema'];\nexport const outputs: string[] = ['buttonClick','change','created','failure','submit'];\nexport const twoWays: string[] = [];\n\n/**\n * Represents the Angular FormRenderer Component.\n * ```html\n * <ejs-form-renderer></ejs-form-renderer>\n * ```\n */\n@Component({\n selector: '[ejs-form-renderer], ejs-form-renderer',\n inputs: inputs,\n outputs: outputs,\n template: `<ng-content ></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class FormRendererComponent extends FormRenderer implements IComponentBase {\n public containerContext : any;\n public tagObjects: any;\n\tbuttonClick: any;\n\tchange: any;\n\tcreated: any;\n\tfailure: any;\n\tpublic submit: any;\n\n\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.containerContext = new ComponentBase();\n }\n\n public ngOnInit() {\n this.containerContext.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.containerContext.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.containerContext.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.containerContext.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\n\n/**\n * NgModule definition for the FormRenderer component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n FormRendererComponent\n ],\n exports: [\n FormRendererComponent\n ]\n})\nexport class FormRendererModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\nimport { FormRendererModule } from './formrenderer.module';\n\n\n\n\n\n/**\n * NgModule definition for the FormRenderer component with providers.\n */\n@NgModule({\n imports: [CommonModule, FormRendererModule],\n exports: [\n FormRendererModule\n ],\n providers:[\n \n ]\n})\nexport class FormRendererAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,WAAW,EAAC,mBAAmB,EAAC,WAAW,EAAC,QAAQ,EAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC;AAClG,MAAM,OAAO,GAAa,CAAC,aAAa,EAAC,QAAQ,EAAC,SAAS,EAAC,SAAS,EAAC,QAAQ,CAAC,CAAC;AAChF,MAAM,OAAO,GAAa,EAAE,CAAC;AAEpC;;;;;AAKG;IAYU,qBAAqB,GAAA,MAArB,qBAAsB,SAAQ,YAAY,CAAA;AAWnD,IAAA,WAAA,CAAoB,KAAiB,EAAU,SAAoB,EAAU,gBAAiC,EAAU,QAAkB,EAAA;AACtI,QAAA,KAAK,EAAE,CAAC;AADQ,QAAA,IAAK,CAAA,KAAA,GAAL,KAAK,CAAY;AAAU,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AAAU,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAiB;AAAU,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAEtI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;QACxC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;AAElD,Q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,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,EARpB,OAAA,EAAA,CAAA,YAAY,EAAE,kBAAkB,aAEtC,kBAAkB,CAAA,EAAA,CAAA,CAAA;mHAMb,qBAAqB,EAAA,SAAA,EAJpB,EAET,EANQ,OAAA,EAAA,CAAA,CAAC,YAAY,EAAE,kBAAkB,CAAC,EAEvC,kBAAkB,CAAA,EAAA,CAAA,CAAA;2FAMb,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBATjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC;AAC3C,oBAAA,OAAO,EAAE;wBACL,kBAAkB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAC,EAET;iBACJ,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
-
import { setValue, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
-
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
6
|
-
export * from '@syncfusion/ej2-form-renderer';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
const inputs = ['className', 'enablePersistence', 'enableRtl', 'layout', 'locale', 'schema'];
|
|
10
|
-
const outputs = ['buttonClick', 'change', 'created', 'failure', 'submit'];
|
|
11
|
-
const twoWays = [];
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Angular FormRenderer Component.
|
|
14
|
-
* ```html
|
|
15
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
let FormRendererComponent = class FormRendererComponent extends FormRenderer {
|
|
19
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
20
|
-
super();
|
|
21
|
-
this.ngEle = ngEle;
|
|
22
|
-
this.srenderer = srenderer;
|
|
23
|
-
this.viewContainerRef = viewContainerRef;
|
|
24
|
-
this.injector = injector;
|
|
25
|
-
this.element = this.ngEle.nativeElement;
|
|
26
|
-
this.injectedModules = this.injectedModules || [];
|
|
27
|
-
this.registerEvents(outputs);
|
|
28
|
-
this.addTwoWay.call(this, twoWays);
|
|
29
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
30
|
-
this.containerContext = new ComponentBase();
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
this.containerContext.ngOnInit(this);
|
|
34
|
-
}
|
|
35
|
-
ngAfterViewInit() {
|
|
36
|
-
this.containerContext.ngAfterViewInit(this);
|
|
37
|
-
}
|
|
38
|
-
ngOnDestroy() {
|
|
39
|
-
this.containerContext.ngOnDestroy(this);
|
|
40
|
-
}
|
|
41
|
-
ngAfterContentChecked() {
|
|
42
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
FormRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
FormRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FormRendererComponent, selector: "[ejs-form-renderer], ejs-form-renderer", inputs: { className: "className", enablePersistence: "enablePersistence", enableRtl: "enableRtl", layout: "layout", locale: "locale", schema: "schema" }, outputs: { buttonClick: "buttonClick", change: "change", created: "created", failure: "failure", submit: "submit" }, usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
-
FormRendererComponent = __decorate([
|
|
48
|
-
ComponentMixins([ComponentBase])
|
|
49
|
-
], FormRendererComponent);
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{
|
|
53
|
-
selector: '[ejs-form-renderer], ejs-form-renderer',
|
|
54
|
-
inputs: inputs,
|
|
55
|
-
outputs: outputs,
|
|
56
|
-
template: `<ng-content ></ng-content>`,
|
|
57
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
58
|
-
queries: {}
|
|
59
|
-
}]
|
|
60
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; } });
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* NgModule definition for the FormRenderer component.
|
|
64
|
-
*/
|
|
65
|
-
class FormRendererModule {
|
|
66
|
-
}
|
|
67
|
-
FormRendererModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
-
FormRendererModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, declarations: [FormRendererComponent], imports: [CommonModule], exports: [FormRendererComponent] });
|
|
69
|
-
FormRendererModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, imports: [[CommonModule]] });
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererModule, decorators: [{
|
|
71
|
-
type: NgModule,
|
|
72
|
-
args: [{
|
|
73
|
-
imports: [CommonModule],
|
|
74
|
-
declarations: [
|
|
75
|
-
FormRendererComponent
|
|
76
|
-
],
|
|
77
|
-
exports: [
|
|
78
|
-
FormRendererComponent
|
|
79
|
-
]
|
|
80
|
-
}]
|
|
81
|
-
}] });
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
85
|
-
*/
|
|
86
|
-
class FormRendererAllModule {
|
|
87
|
-
}
|
|
88
|
-
FormRendererAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
89
|
-
FormRendererAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, imports: [CommonModule, FormRendererModule], exports: [FormRendererModule] });
|
|
90
|
-
FormRendererAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, providers: [], imports: [[CommonModule, FormRendererModule], FormRendererModule] });
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormRendererAllModule, decorators: [{
|
|
92
|
-
type: NgModule,
|
|
93
|
-
args: [{
|
|
94
|
-
imports: [CommonModule, FormRendererModule],
|
|
95
|
-
exports: [
|
|
96
|
-
FormRendererModule
|
|
97
|
-
],
|
|
98
|
-
providers: []
|
|
99
|
-
}]
|
|
100
|
-
}] });
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Generated bundle index. Do not edit.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
export { FormRendererAllModule, FormRendererComponent, FormRendererModule };
|
|
107
|
-
//# sourceMappingURL=syncfusion-ej2-angular-form-renderer.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syncfusion-ej2-angular-form-renderer.mjs","sources":["../../src/form-renderer/formrenderer.component.ts","../../src/form-renderer/formrenderer.module.ts","../../src/form-renderer/formrenderer-all.module.ts","../../syncfusion-ej2-angular-form-renderer.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, Renderer2, Injector, ChangeDetectionStrategy, QueryList, ValueProvider } from '@angular/core';\nimport { ComponentBase, ComponentMixins, IComponentBase, applyMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { FormRenderer } from '@syncfusion/ej2-form-renderer';\n\n\n\nexport const inputs: string[] = ['className','enablePersistence','enableRtl','layout','locale','schema'];\nexport const outputs: string[] = ['buttonClick','change','created','failure','submit'];\nexport const twoWays: string[] = [];\n\n/**\n * Represents the Angular FormRenderer Component.\n * ```html\n * <ejs-form-renderer></ejs-form-renderer>\n * ```\n */\n@Component({\n selector: '[ejs-form-renderer], ejs-form-renderer',\n inputs: inputs,\n outputs: outputs,\n template: `<ng-content ></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class FormRendererComponent extends FormRenderer implements IComponentBase {\n public containerContext : any;\n public tagObjects: any;\n\tbuttonClick: any;\n\tchange: any;\n\tcreated: any;\n\tfailure: any;\n\tpublic submit: any;\n\n\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.containerContext = new ComponentBase();\n }\n\n public ngOnInit() {\n this.containerContext.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.containerContext.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.containerContext.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.containerContext.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\n\n/**\n * NgModule definition for the FormRenderer component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n FormRendererComponent\n ],\n exports: [\n FormRendererComponent\n ]\n})\nexport class FormRendererModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\nimport { FormRendererModule } from './formrenderer.module';\n\n\n\n\n\n/**\n * NgModule definition for the FormRenderer component with providers.\n */\n@NgModule({\n imports: [CommonModule, FormRendererModule],\n exports: [\n FormRendererModule\n ],\n providers:[\n \n ]\n})\nexport class FormRendererAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,WAAW,EAAC,mBAAmB,EAAC,WAAW,EAAC,QAAQ,EAAC,QAAQ,EAAC,QAAQ,CAAC,CAAC;AAClG,MAAM,OAAO,GAAa,CAAC,aAAa,EAAC,QAAQ,EAAC,SAAS,EAAC,SAAS,EAAC,QAAQ,CAAC,CAAC;AAChF,MAAM,OAAO,GAAa,EAAE,CAAC;AAEpC;;;;;AAKG;IAYU,qBAAqB,GAAA,MAArB,qBAAsB,SAAQ,YAAY,CAAA;AAWnD,IAAA,WAAA,CAAoB,KAAiB,EAAU,SAAoB,EAAU,gBAAiC,EAAU,QAAkB,EAAA;AACtI,QAAA,KAAK,EAAE,CAAC;QADQ,IAAK,CAAA,KAAA,GAAL,KAAK,CAAY;QAAU,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;QAAU,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAiB;QAAU,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAEtI,IAAI,CAAC,OA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