@syncfusion/ej2-angular-form-renderer 34.2.8 → 35.1.42
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/CHANGELOG.md +7 -0
- package/fesm2022/syncfusion-ej2-angular-form-renderer.mjs +185 -0
- package/fesm2022/syncfusion-ej2-angular-form-renderer.mjs.map +1 -0
- package/package.json +10 -16
- package/schematics/collection.json +9 -10
- package/schematics/ng-add/index.js +5 -8
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.js +1 -2
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +33 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +4 -6
- package/schematics/utils/lib-details.ts +4 -4
- package/types/syncfusion-ej2-angular-form-renderer.d.ts +105 -0
- 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/public_api.d.ts +0 -1
- package/src/form-renderer/formrenderer-all.module.d.ts +0 -11
- package/src/form-renderer/formrenderer.component.d.ts +0 -35
- package/src/form-renderer/formrenderer.module.d.ts +0 -11
- package/src/index.d.ts +0 -4
- package/styles/bds-lite.css +0 -1
- package/styles/bds-lite.scss +0 -1
- package/styles/bds.css +0 -1
- package/styles/bds.scss +0 -1
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark-lite.scss +0 -1
- package/styles/bootstrap-dark.css +0 -1
- package/styles/bootstrap-dark.scss +0 -1
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap-lite.scss +0 -1
- package/styles/bootstrap.css +0 -1
- package/styles/bootstrap.scss +0 -1
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4-lite.scss +0 -1
- package/styles/bootstrap4.css +0 -1
- package/styles/bootstrap4.scss +0 -1
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark-lite.scss +0 -1
- package/styles/bootstrap5-dark.css +0 -1
- package/styles/bootstrap5-dark.scss +0 -1
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5-lite.scss +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3-lite.scss +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.3.scss +0 -1
- package/styles/bootstrap5.css +0 -1
- package/styles/bootstrap5.scss +0 -1
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark-lite.scss +0 -1
- package/styles/fabric-dark.css +0 -1
- package/styles/fabric-dark.scss +0 -1
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric-lite.scss +0 -1
- package/styles/fabric.css +0 -1
- package/styles/fabric.scss +0 -1
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark-lite.scss +0 -1
- package/styles/fluent-dark.css +0 -1
- package/styles/fluent-dark.scss +0 -1
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent-lite.scss +0 -1
- package/styles/fluent.css +0 -1
- package/styles/fluent.scss +0 -1
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2-lite.scss +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/fluent2.scss +0 -1
- package/styles/form-renderer/bds.css +0 -1
- package/styles/form-renderer/bds.scss +0 -1
- package/styles/form-renderer/bootstrap-dark.css +0 -1
- package/styles/form-renderer/bootstrap-dark.scss +0 -1
- package/styles/form-renderer/bootstrap.css +0 -1
- package/styles/form-renderer/bootstrap.scss +0 -1
- package/styles/form-renderer/bootstrap4.css +0 -1
- package/styles/form-renderer/bootstrap4.scss +0 -1
- package/styles/form-renderer/bootstrap5-dark.css +0 -1
- package/styles/form-renderer/bootstrap5-dark.scss +0 -1
- package/styles/form-renderer/bootstrap5.3.css +0 -1
- package/styles/form-renderer/bootstrap5.3.scss +0 -1
- package/styles/form-renderer/bootstrap5.css +0 -1
- package/styles/form-renderer/bootstrap5.scss +0 -1
- package/styles/form-renderer/fabric-dark.css +0 -1
- package/styles/form-renderer/fabric-dark.scss +0 -1
- package/styles/form-renderer/fabric.css +0 -1
- package/styles/form-renderer/fabric.scss +0 -1
- package/styles/form-renderer/fluent-dark.css +0 -1
- package/styles/form-renderer/fluent-dark.scss +0 -1
- package/styles/form-renderer/fluent.css +0 -1
- package/styles/form-renderer/fluent.scss +0 -1
- package/styles/form-renderer/fluent2.css +0 -1
- package/styles/form-renderer/fluent2.scss +0 -1
- package/styles/form-renderer/highcontrast-light.css +0 -1
- package/styles/form-renderer/highcontrast-light.scss +0 -1
- package/styles/form-renderer/highcontrast.css +0 -1
- package/styles/form-renderer/highcontrast.scss +0 -1
- package/styles/form-renderer/material-dark.css +0 -1
- package/styles/form-renderer/material-dark.scss +0 -1
- package/styles/form-renderer/material.css +0 -1
- package/styles/form-renderer/material.scss +0 -1
- package/styles/form-renderer/material3-dark.css +0 -1
- package/styles/form-renderer/material3-dark.scss +0 -1
- package/styles/form-renderer/material3.css +0 -1
- package/styles/form-renderer/material3.scss +0 -1
- package/styles/form-renderer/tailwind-dark.css +0 -1
- package/styles/form-renderer/tailwind-dark.scss +0 -1
- package/styles/form-renderer/tailwind.css +0 -1
- package/styles/form-renderer/tailwind.scss +0 -1
- package/styles/form-renderer/tailwind3.css +0 -1
- package/styles/form-renderer/tailwind3.scss +0 -1
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light-lite.scss +0 -1
- package/styles/highcontrast-light.css +0 -1
- package/styles/highcontrast-light.scss +0 -1
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast-lite.scss +0 -1
- package/styles/highcontrast.css +0 -1
- package/styles/highcontrast.scss +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark-lite.scss +0 -1
- package/styles/material-dark.css +0 -1
- package/styles/material-dark.scss +0 -1
- package/styles/material-lite.css +0 -1
- package/styles/material-lite.scss +0 -1
- package/styles/material.css +0 -1
- package/styles/material.scss +0 -1
- package/styles/material3-dark-lite.css +0 -1
- package/styles/material3-dark-lite.scss +0 -1
- package/styles/material3-dark.css +0 -1
- package/styles/material3-dark.scss +0 -1
- package/styles/material3-lite.css +0 -1
- package/styles/material3-lite.scss +0 -1
- package/styles/material3.css +0 -1
- package/styles/material3.scss +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark-lite.scss +0 -1
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind-dark.scss +0 -1
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind-lite.scss +0 -1
- package/styles/tailwind.css +0 -1
- package/styles/tailwind.scss +0 -1
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3-lite.scss +0 -1
- package/styles/tailwind3.css +0 -1
- package/styles/tailwind3.scss +0 -1
- package/syncfusion-ej2-angular-form-renderer.d.ts +0 -5
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ViewContainerRef, QueryList, ElementRef, Renderer2, Injector } from '@angular/core';
|
|
3
|
+
import { ComplexBase, ArrayBase, IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
4
|
+
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
5
|
+
export * from '@syncfusion/ej2-form-renderer';
|
|
6
|
+
import * as i1 from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* `e-custom-widget-setting` directive represents a custom widget
|
|
10
|
+
* configuration item of the Angular FormRenderer component.
|
|
11
|
+
* It must be contained within the `e-custom-widget-settings`
|
|
12
|
+
* collection of an `ejs-form-renderer` component.
|
|
13
|
+
* ```html
|
|
14
|
+
* <ejs-form-renderer>
|
|
15
|
+
* <e-customwidgetsettings>
|
|
16
|
+
* <e-customwidgetsetting></e-customwidgetsetting>
|
|
17
|
+
* </e-customwidgetsettings>
|
|
18
|
+
* </ejs-form-renderer>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
declare class CustomWidgetSettingDirective extends ComplexBase<CustomWidgetSettingDirective> {
|
|
22
|
+
private viewContainerRef;
|
|
23
|
+
directivePropList: any;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the type of the widget to which the template must be bound. The values will be FormComponentType.
|
|
26
|
+
* @default ''
|
|
27
|
+
*/
|
|
28
|
+
type: any;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the name of the field to which the template must be bound. When set, the template is rendered to the control with the matching name, irrespective of the type property value.
|
|
31
|
+
* @default ''
|
|
32
|
+
*/
|
|
33
|
+
fieldName: any;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies an optional template identifier. When set, the template is rendered to the JSON object whose templateId matches this value, irrespective of the type.
|
|
36
|
+
* @default ''
|
|
37
|
+
*/
|
|
38
|
+
templateId: any;
|
|
39
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomWidgetSettingDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomWidgetSettingDirective, "e-customwidgetsettings>e-customwidgetsetting", never, { "fieldName": { "alias": "fieldName"; "required": false; }; "template": { "alias": "template"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, ["template"], never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* CustomWidgetSetting Array Directive
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
declare class CustomWidgetSettingsDirective extends ArrayBase<CustomWidgetSettingsDirective> {
|
|
48
|
+
constructor();
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomWidgetSettingsDirective, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomWidgetSettingsDirective, "ejs-formrenderer>e-customwidgetsettings", never, {}, {}, ["children"], never, true, never>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Represents the Angular FormRenderer Component.
|
|
55
|
+
* ```html
|
|
56
|
+
* <ejs-form-renderer></ejs-form-renderer>
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
declare class FormRendererComponent extends FormRenderer implements IComponentBase {
|
|
60
|
+
private ngEle;
|
|
61
|
+
private srenderer;
|
|
62
|
+
private viewContainerRef;
|
|
63
|
+
private injector;
|
|
64
|
+
containerContext: any;
|
|
65
|
+
tagObjects: any;
|
|
66
|
+
buttonClick: any;
|
|
67
|
+
change: any;
|
|
68
|
+
created: any;
|
|
69
|
+
failure: any;
|
|
70
|
+
submit: any;
|
|
71
|
+
dataModelChange: any;
|
|
72
|
+
childCustomWidgetSettings: QueryList<CustomWidgetSettingsDirective>;
|
|
73
|
+
tags: string[];
|
|
74
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
75
|
+
ngOnInit(): void;
|
|
76
|
+
ngAfterViewInit(): void;
|
|
77
|
+
ngOnDestroy(): void;
|
|
78
|
+
ngAfterContentChecked(): void;
|
|
79
|
+
registerEvents: (eventList: string[]) => void;
|
|
80
|
+
addTwoWay: (propList: string[]) => void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormRendererComponent, "[ejs-form-renderer], ejs-form-renderer", never, { "className": { "alias": "className"; "required": false; }; "customWidgetSettings": { "alias": "customWidgetSettings"; "required": false; }; "dataModel": { "alias": "dataModel"; "required": false; }; "enableHtmlSanitizer": { "alias": "enableHtmlSanitizer"; "required": false; }; "enablePersistence": { "alias": "enablePersistence"; "required": false; }; "enableRtl": { "alias": "enableRtl"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "schema": { "alias": "schema"; "required": false; }; }, { "buttonClick": "buttonClick"; "change": "change"; "created": "created"; "failure": "failure"; "submit": "submit"; "dataModelChange": "dataModelChange"; }, ["childCustomWidgetSettings"], ["*"], true, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* NgModule definition for the FormRenderer component.
|
|
87
|
+
* Re-exports standalone FormRenderer component and directives so existing apps can keep using:
|
|
88
|
+
* `imports: [FormRendererModule]`
|
|
89
|
+
*/
|
|
90
|
+
declare class FormRendererModule {
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererModule, never>;
|
|
92
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormRendererModule, never, [typeof i1.CommonModule, typeof FormRendererComponent, typeof CustomWidgetSettingDirective, typeof CustomWidgetSettingsDirective], [typeof FormRendererComponent, typeof CustomWidgetSettingDirective, typeof CustomWidgetSettingsDirective]>;
|
|
93
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormRendererModule>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* NgModule definition for the FormRenderer component with providers.
|
|
98
|
+
*/
|
|
99
|
+
declare class FormRendererAllModule {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormRendererAllModule, never>;
|
|
101
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormRendererAllModule, never, [typeof i1.CommonModule, typeof FormRendererModule], [typeof FormRendererModule]>;
|
|
102
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormRendererAllModule>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { CustomWidgetSettingDirective, CustomWidgetSettingsDirective, FormRendererAllModule, FormRendererComponent, FormRendererModule };
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXJlbmRlcmVyLWFsbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZm9ybS1yZW5kZXJlci9mb3JtcmVuZGVyZXItYWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN4RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7O0FBTTNEOztHQUVHO0FBVUgsTUFBTSxPQUFPLHFCQUFxQjs7a0hBQXJCLHFCQUFxQjttSEFBckIscUJBQXFCLFlBUnBCLFlBQVksRUFBRSxrQkFBa0IsYUFFdEMsa0JBQWtCO21IQU1iLHFCQUFxQixhQUpwQixFQUVULFlBTlEsQ0FBQyxZQUFZLEVBQUUsa0JBQWtCLENBQUMsRUFFdkMsa0JBQWtCOzJGQU1iLHFCQUFxQjtrQkFUakMsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsa0JBQWtCLENBQUM7b0JBQzNDLE9BQU8sRUFBRTt3QkFDTCxrQkFBa0I7cUJBQ3JCO29CQUNELFNBQVMsRUFBQyxFQUVUO2lCQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUsIFZhbHVlUHJvdmlkZXIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBGb3JtUmVuZGVyZXJDb21wb25lbnQgfSBmcm9tICcuL2Zvcm1yZW5kZXJlci5jb21wb25lbnQnO1xuaW1wb3J0IHsgRm9ybVJlbmRlcmVyTW9kdWxlIH0gZnJvbSAnLi9mb3JtcmVuZGVyZXIubW9kdWxlJztcblxuXG5cblxuXG4vKipcbiAqIE5nTW9kdWxlIGRlZmluaXRpb24gZm9yIHRoZSBGb3JtUmVuZGVyZXIgY29tcG9uZW50IHdpdGggcHJvdmlkZXJzLlxuICovXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEZvcm1SZW5kZXJlck1vZHVsZV0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBGb3JtUmVuZGVyZXJNb2R1bGVcbiAgICBdLFxuICAgIHByb3ZpZGVyczpbXG4gICAgICAgIFxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybVJlbmRlcmVyQWxsTW9kdWxlIHsgfSJdfQ==
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXJlbmRlcmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9mb3JtLXJlbmRlcmVyL2Zvcm1yZW5kZXJlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXFELHVCQUF1QixFQUE0QixNQUFNLGVBQWUsQ0FBQztBQUNoSixPQUFPLEVBQUUsYUFBYSxFQUFFLGVBQWUsRUFBdUQsUUFBUSxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDN0ksT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDOztBQUk3RCxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQWEsQ0FBQyxXQUFXLEVBQUMsbUJBQW1CLEVBQUMsV0F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ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0Lm5nQWZ0ZXJWaWV3SW5pdCh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIHRoaXMuY29udGFpbmVyQ29udGV4dC5uZ09uRGVzdHJveSh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlckNvbnRlbnRDaGVja2VkKCk6IHZvaWQge1xuICAgICAgICBcbiAgICAgICAgdGhpcy5jb250YWluZXJDb250ZXh0Lm5nQWZ0ZXJDb250ZW50Q2hlY2tlZCh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVnaXN0ZXJFdmVudHM6IChldmVudExpc3Q6IHN0cmluZ1tdKSA9PiB2b2lkO1xuICAgIHB1YmxpYyBhZGRUd29XYXk6IChwcm9wTGlzdDogc3RyaW5nW10pID0+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybXJlbmRlcmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9mb3JtLXJlbmRlcmVyL2Zvcm1yZW5kZXJlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBRWpFOztHQUVHO0FBVUgsTUFBTSxPQUFPLGtCQUFrQjs7K0dBQWxCLGtCQUFrQjtnSEFBbEIsa0JBQWtCLGlCQU52QixxQkFBcUIsYUFGZixZQUFZLGFBS2xCLHFCQUFxQjtnSEFHaEIsa0JBQWtCLFlBUmxCLENBQUMsWUFBWSxDQUFDOzJGQVFkLGtCQUFrQjtrQkFUOUIsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLFlBQVksRUFBRTt3QkFDVixxQkFBcUI7cUJBQ3hCO29CQUNELE9BQU8sRUFBRTt3QkFDTCxxQkFBcUI7cUJBQ3hCO2lCQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBGb3JtUmVuZGVyZXJDb21wb25lbnQgfSBmcm9tICcuL2Zvcm1yZW5kZXJlci5jb21wb25lbnQnO1xuXG4vKipcbiAqIE5nTW9kdWxlIGRlZmluaXRpb24gZm9yIHRoZSBGb3JtUmVuZGVyZXIgY29tcG9uZW50LlxuICovXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBGb3JtUmVuZGVyZXJDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgRm9ybVJlbmRlcmVyQ29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtUmVuZGVyZXJNb2R1bGUgeyB9Il19
|
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,QA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AE,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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A,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;AACJ,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
package/public_api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/index';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "./formrenderer.module";
|
|
4
|
-
/**
|
|
5
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
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,35 +0,0 @@
|
|
|
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
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare const inputs: string[];
|
|
6
|
-
export declare const outputs: string[];
|
|
7
|
-
export declare const twoWays: string[];
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Angular FormRenderer Component.
|
|
10
|
-
* ```html
|
|
11
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
export declare class FormRendererComponent extends FormRenderer implements IComponentBase {
|
|
15
|
-
private ngEle;
|
|
16
|
-
private srenderer;
|
|
17
|
-
private viewContainerRef;
|
|
18
|
-
private injector;
|
|
19
|
-
containerContext: any;
|
|
20
|
-
tagObjects: any;
|
|
21
|
-
buttonClick: any;
|
|
22
|
-
change: any;
|
|
23
|
-
created: any;
|
|
24
|
-
failure: any;
|
|
25
|
-
submit: any;
|
|
26
|
-
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
ngAfterContentChecked(): void;
|
|
31
|
-
registerEvents: (eventList: string[]) => void;
|
|
32
|
-
addTwoWay: (propList: string[]) => void;
|
|
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,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./formrenderer.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
/**
|
|
5
|
-
* NgModule definition for the FormRenderer component.
|
|
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
|
-
}
|
package/src/index.d.ts
DELETED
|
@@ -1,4 +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';
|
package/styles/bds-lite.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bds-lite.css';
|
package/styles/bds-lite.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use '@syncfusion/ej2-form-renderer/bds-lite' as *;
|
package/styles/bds.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bds.css';
|
package/styles/bds.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use 'form-renderer/bds' as *;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bootstrap-dark-lite.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use '@syncfusion/ej2-form-renderer/bootstrap-dark-lite' as *;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bootstrap-dark.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use 'form-renderer/bootstrap-dark' as *;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bootstrap-lite.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use '@syncfusion/ej2-form-renderer/bootstrap-lite' as *;
|
package/styles/bootstrap.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bootstrap.css';
|
package/styles/bootstrap.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use 'form-renderer/bootstrap' as *;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bootstrap4-lite.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@use '@syncfusion/ej2-form-renderer/bootstrap4-lite' as *;
|
package/styles/bootstrap4.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '@syncfusion/ej2-form-renderer/styles/bootstrap4.css';
|