@syncfusion/ej2-angular-form-renderer 34.2.8-ngcc → 35.1.37
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 +3 -0
- package/README.md +14 -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 +16 -10
- 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/@syncfusion/ej2-angular-form-renderer.es5.js +0 -161
- package/@syncfusion/ej2-angular-form-renderer.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-form-renderer.js +0 -142
- package/@syncfusion/ej2-angular-form-renderer.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-form-renderer.umd.js +0 -180
- package/dist/ej2-angular-form-renderer.umd.js.map +0 -1
- package/dist/ej2-angular-form-renderer.umd.min.js +0 -11
- package/dist/ej2-angular-form-renderer.umd.min.js.map +0 -1
- package/ej2-angular-form-renderer.d.ts +0 -5
- package/ej2-angular-form-renderer.metadata.json +0 -1
- package/public_api.d.ts +0 -1
- package/src/form-renderer/formrenderer-all.module.d.ts +0 -5
- package/src/form-renderer/formrenderer.component.d.ts +0 -32
- package/src/form-renderer/formrenderer.module.d.ts +0 -5
- 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
|
@@ -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 };
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
-
return function (d, b) {
|
|
6
|
-
extendStatics(d, b);
|
|
7
|
-
function __() { this.constructor = d; }
|
|
8
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
import { ChangeDetectionStrategy, Component, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
12
|
-
import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
|
|
13
|
-
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
14
|
-
import { CommonModule } from '@angular/common';
|
|
15
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
18
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
19
|
-
else
|
|
20
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
21
|
-
if (d = decorators[i])
|
|
22
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
23
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24
|
-
};
|
|
25
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
26
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
27
|
-
return Reflect.metadata(k, v);
|
|
28
|
-
};
|
|
29
|
-
var inputs = ['className', 'enablePersistence', 'enableRtl', 'layout', 'locale', 'schema'];
|
|
30
|
-
var outputs = ['buttonClick', 'change', 'created', 'failure', 'submit'];
|
|
31
|
-
var twoWays = [];
|
|
32
|
-
/**
|
|
33
|
-
* Represents the Angular FormRenderer Component.
|
|
34
|
-
* ```html
|
|
35
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
var FormRendererComponent = /** @class */ (function (_super) {
|
|
39
|
-
__extends(FormRendererComponent, _super);
|
|
40
|
-
/**
|
|
41
|
-
* @param {?} ngEle
|
|
42
|
-
* @param {?} srenderer
|
|
43
|
-
* @param {?} viewContainerRef
|
|
44
|
-
* @param {?} injector
|
|
45
|
-
*/
|
|
46
|
-
function FormRendererComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
47
|
-
var _this = _super.call(this) || this;
|
|
48
|
-
_this.ngEle = ngEle;
|
|
49
|
-
_this.srenderer = srenderer;
|
|
50
|
-
_this.viewContainerRef = viewContainerRef;
|
|
51
|
-
_this.injector = injector;
|
|
52
|
-
_this.element = _this.ngEle.nativeElement;
|
|
53
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
54
|
-
_this.registerEvents(outputs);
|
|
55
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
56
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
57
|
-
_this.containerContext = new ComponentBase();
|
|
58
|
-
return _this;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* @return {?}
|
|
62
|
-
*/
|
|
63
|
-
FormRendererComponent.prototype.ngOnInit = function () {
|
|
64
|
-
this.containerContext.ngOnInit(this);
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* @return {?}
|
|
68
|
-
*/
|
|
69
|
-
FormRendererComponent.prototype.ngAfterViewInit = function () {
|
|
70
|
-
this.containerContext.ngAfterViewInit(this);
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* @return {?}
|
|
74
|
-
*/
|
|
75
|
-
FormRendererComponent.prototype.ngOnDestroy = function () {
|
|
76
|
-
this.containerContext.ngOnDestroy(this);
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* @return {?}
|
|
80
|
-
*/
|
|
81
|
-
FormRendererComponent.prototype.ngAfterContentChecked = function () {
|
|
82
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
83
|
-
};
|
|
84
|
-
return FormRendererComponent;
|
|
85
|
-
}(FormRenderer));
|
|
86
|
-
FormRendererComponent.decorators = [
|
|
87
|
-
{ type: Component, args: [{
|
|
88
|
-
selector: '[ejs-form-renderer], ejs-form-renderer',
|
|
89
|
-
inputs: inputs,
|
|
90
|
-
outputs: outputs,
|
|
91
|
-
template: "<ng-content ></ng-content>",
|
|
92
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
93
|
-
queries: {}
|
|
94
|
-
},] },
|
|
95
|
-
];
|
|
96
|
-
/**
|
|
97
|
-
* @nocollapse
|
|
98
|
-
*/
|
|
99
|
-
FormRendererComponent.ctorParameters = function () { return [
|
|
100
|
-
{ type: ElementRef, },
|
|
101
|
-
{ type: Renderer2, },
|
|
102
|
-
{ type: ViewContainerRef, },
|
|
103
|
-
{ type: Injector, },
|
|
104
|
-
]; };
|
|
105
|
-
FormRendererComponent = __decorate([
|
|
106
|
-
ComponentMixins([ComponentBase]),
|
|
107
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
108
|
-
Renderer2,
|
|
109
|
-
ViewContainerRef,
|
|
110
|
-
Injector])
|
|
111
|
-
], FormRendererComponent);
|
|
112
|
-
/**
|
|
113
|
-
* NgModule definition for the FormRenderer component.
|
|
114
|
-
*/
|
|
115
|
-
var FormRendererModule = /** @class */ (function () {
|
|
116
|
-
function FormRendererModule() {
|
|
117
|
-
}
|
|
118
|
-
return FormRendererModule;
|
|
119
|
-
}());
|
|
120
|
-
FormRendererModule.decorators = [
|
|
121
|
-
{ type: NgModule, args: [{
|
|
122
|
-
imports: [CommonModule],
|
|
123
|
-
declarations: [
|
|
124
|
-
FormRendererComponent
|
|
125
|
-
],
|
|
126
|
-
exports: [
|
|
127
|
-
FormRendererComponent
|
|
128
|
-
]
|
|
129
|
-
},] },
|
|
130
|
-
];
|
|
131
|
-
/**
|
|
132
|
-
* @nocollapse
|
|
133
|
-
*/
|
|
134
|
-
FormRendererModule.ctorParameters = function () { return []; };
|
|
135
|
-
/**
|
|
136
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
137
|
-
*/
|
|
138
|
-
var FormRendererAllModule = /** @class */ (function () {
|
|
139
|
-
function FormRendererAllModule() {
|
|
140
|
-
}
|
|
141
|
-
return FormRendererAllModule;
|
|
142
|
-
}());
|
|
143
|
-
FormRendererAllModule.decorators = [
|
|
144
|
-
{ type: NgModule, args: [{
|
|
145
|
-
imports: [CommonModule, FormRendererModule],
|
|
146
|
-
exports: [
|
|
147
|
-
FormRendererModule
|
|
148
|
-
],
|
|
149
|
-
providers: []
|
|
150
|
-
},] },
|
|
151
|
-
];
|
|
152
|
-
/**
|
|
153
|
-
* @nocollapse
|
|
154
|
-
*/
|
|
155
|
-
FormRendererAllModule.ctorParameters = function () { return []; };
|
|
156
|
-
/**
|
|
157
|
-
* Generated bundle index. Do not edit.
|
|
158
|
-
*/
|
|
159
|
-
export { FormRendererComponent, FormRendererModule, FormRendererAllModule, inputs as ɵa, outputs as ɵb };
|
|
160
|
-
export { defaultLocale, FormRenderer, FormLayout, FORM_COMPONENT_TYPES } from '@syncfusion/ej2-form-renderer';
|
|
161
|
-
//# sourceMappingURL=ej2-angular-form-renderer.es5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-form-renderer.es5.js","sources":["~/@syncfusion/ej2-angular-form-renderer/ej2-angular-form-renderer.ts","~/@syncfusion/ej2-angular-form-renderer/src/form-renderer/formrenderer-all.module.ts","~/@syncfusion/ej2-angular-form-renderer/src/form-renderer/formrenderer.module.ts","~/@syncfusion/ej2-angular-form-renderer/src/form-renderer/formrenderer.component.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {FormRendererComponent,FormRendererModule,FormRendererAllModule,FieldDataType,ChangeEventArgs,SubmitEventArgs,ButtonClickEventArgs,FailureEventArgs,defaultLocale,FormRenderer,FormRendererModel,RuleModel,QueryRule,visualMode,Schema,HeaderPair,SearchConfig,SortConfig,FilterConfig,DataSourceCollectorProps,ConditionalDataRule,ConditionalOperator,ConditionalRule,CompositeConditionalRule,ConditionType,LookupConfig,ChoiceBasedFieldRule,CustomValidationRule,ConditionRule,FormSchema,FormLayout,FORM_COMPONENT_TYPES,FormComponentType,FormNode,ValidationRules,FormSettings,ButtonDefinition} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/form-renderer/formrenderer.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\nimport { FormRendererModule } from './formrenderer.module';\n/**\n * NgModule definition for the FormRenderer component with providers.\n */\nexport class FormRendererAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, FormRendererModule],\n exports: [\n FormRendererModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction FormRendererAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nFormRendererAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nFormRendererAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\n/**\n * NgModule definition for the FormRenderer component.\n */\nexport class FormRendererModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n FormRendererComponent\n ],\n exports: [\n FormRendererComponent\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction FormRendererModule_tsickle_Closure_declarations() {\n/** @type {?} */\nFormRendererModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nFormRendererModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","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 /** @type {?} */ inputs: string[] = ['className','enablePersistence','enableRtl','layout','locale','schema'];\nexport const /** @type {?} */ outputs: string[] = ['buttonClick','change','created','failure','submit'];\nexport const /** @type {?} */ twoWays: string[] = [];\n/**\n * Represents the Angular FormRenderer Component.\n * ```html\n * <ejs-form-renderer></ejs-form-renderer>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class FormRendererComponent extends FormRenderer implements IComponentBase {\npublic containerContext : any;\npublic tagObjects: any;\n\tbuttonClick: any;\n\tchange: any;\n\tcreated: any;\n\tfailure: any;\npublic submit: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate 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 * @return {?}\n */\npublic ngOnInit() {\n this.containerContext.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.containerContext.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.containerContext.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n \n this.containerContext.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\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];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\n}\n\nfunction FormRendererComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nFormRendererComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nFormRendererComponent.ctorParameters;\n/** @type {?} */\nFormRendererComponent.prototype.containerContext;\n/** @type {?} */\nFormRendererComponent.prototype.tagObjects;\n/** @type {?} */\nFormRendererComponent.prototype.buttonClick;\n/** @type {?} */\nFormRendererComponent.prototype.change;\n/** @type {?} */\nFormRendererComponent.prototype.created;\n/** @type {?} */\nFormRendererComponent.prototype.failure;\n/** @type {?} */\nFormRendererComponent.prototype.submit;\n/** @type {?} */\nFormRendererComponent.prototype.registerEvents;\n/** @type {?} */\nFormRendererComponent.prototype.addTwoWay;\n/** @type {?} */\nFormRendererComponent.prototype.ngEle;\n/** @type {?} */\nFormRendererComponent.prototype.srenderer;\n/** @type {?} */\nFormRendererComponent.prototype.viewContainerRef;\n/** @type {?} */\nFormRendererComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AGAA,IAMa,MAAA,GAAmB,CAAA,W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BF;;;AAGA;IAAA;;;CAAA;AAM4C,qBAA5C,CAAA,UAA4C,GAAoC;IALhF,EAME,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBALpB,OAAO,EAME,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAL3C,OAAO,EAME;oBALL,kBAAkB;iBACrB;gBACD,SAAS,EAMC,EAJT;aACJ,EAMC,EAAG;CALJ,CAMC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,cAAA,OAAA,EAHA,EAGA,CAHA,CAAC;ADtBF;;GAEG;;"}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { FormRenderer } from '@syncfusion/ej2-form-renderer';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
|
|
6
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11
|
-
};
|
|
12
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
14
|
-
};
|
|
15
|
-
const inputs = ['className', 'enablePersistence', 'enableRtl', 'layout', 'locale', 'schema'];
|
|
16
|
-
const outputs = ['buttonClick', 'change', 'created', 'failure', 'submit'];
|
|
17
|
-
const twoWays = [];
|
|
18
|
-
/**
|
|
19
|
-
* Represents the Angular FormRenderer Component.
|
|
20
|
-
* ```html
|
|
21
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
let FormRendererComponent = class FormRendererComponent extends FormRenderer {
|
|
25
|
-
/**
|
|
26
|
-
* @param {?} ngEle
|
|
27
|
-
* @param {?} srenderer
|
|
28
|
-
* @param {?} viewContainerRef
|
|
29
|
-
* @param {?} injector
|
|
30
|
-
*/
|
|
31
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
32
|
-
super();
|
|
33
|
-
this.ngEle = ngEle;
|
|
34
|
-
this.srenderer = srenderer;
|
|
35
|
-
this.viewContainerRef = viewContainerRef;
|
|
36
|
-
this.injector = injector;
|
|
37
|
-
this.element = this.ngEle.nativeElement;
|
|
38
|
-
this.injectedModules = this.injectedModules || [];
|
|
39
|
-
this.registerEvents(outputs);
|
|
40
|
-
this.addTwoWay.call(this, twoWays);
|
|
41
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
42
|
-
this.containerContext = new ComponentBase();
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @return {?}
|
|
46
|
-
*/
|
|
47
|
-
ngOnInit() {
|
|
48
|
-
this.containerContext.ngOnInit(this);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
|
-
ngAfterViewInit() {
|
|
54
|
-
this.containerContext.ngAfterViewInit(this);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @return {?}
|
|
58
|
-
*/
|
|
59
|
-
ngOnDestroy() {
|
|
60
|
-
this.containerContext.ngOnDestroy(this);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @return {?}
|
|
64
|
-
*/
|
|
65
|
-
ngAfterContentChecked() {
|
|
66
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
FormRendererComponent.decorators = [
|
|
70
|
-
{ type: Component, args: [{
|
|
71
|
-
selector: '[ejs-form-renderer], ejs-form-renderer',
|
|
72
|
-
inputs: inputs,
|
|
73
|
-
outputs: outputs,
|
|
74
|
-
template: `<ng-content ></ng-content>`,
|
|
75
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
76
|
-
queries: {}
|
|
77
|
-
},] },
|
|
78
|
-
];
|
|
79
|
-
/**
|
|
80
|
-
* @nocollapse
|
|
81
|
-
*/
|
|
82
|
-
FormRendererComponent.ctorParameters = () => [
|
|
83
|
-
{ type: ElementRef, },
|
|
84
|
-
{ type: Renderer2, },
|
|
85
|
-
{ type: ViewContainerRef, },
|
|
86
|
-
{ type: Injector, },
|
|
87
|
-
];
|
|
88
|
-
FormRendererComponent = __decorate([
|
|
89
|
-
ComponentMixins([ComponentBase]),
|
|
90
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
91
|
-
Renderer2,
|
|
92
|
-
ViewContainerRef,
|
|
93
|
-
Injector])
|
|
94
|
-
], FormRendererComponent);
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* NgModule definition for the FormRenderer component.
|
|
98
|
-
*/
|
|
99
|
-
class FormRendererModule {
|
|
100
|
-
}
|
|
101
|
-
FormRendererModule.decorators = [
|
|
102
|
-
{ type: NgModule, args: [{
|
|
103
|
-
imports: [CommonModule],
|
|
104
|
-
declarations: [
|
|
105
|
-
FormRendererComponent
|
|
106
|
-
],
|
|
107
|
-
exports: [
|
|
108
|
-
FormRendererComponent
|
|
109
|
-
]
|
|
110
|
-
},] },
|
|
111
|
-
];
|
|
112
|
-
/**
|
|
113
|
-
* @nocollapse
|
|
114
|
-
*/
|
|
115
|
-
FormRendererModule.ctorParameters = () => [];
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
119
|
-
*/
|
|
120
|
-
class FormRendererAllModule {
|
|
121
|
-
}
|
|
122
|
-
FormRendererAllModule.decorators = [
|
|
123
|
-
{ type: NgModule, args: [{
|
|
124
|
-
imports: [CommonModule, FormRendererModule],
|
|
125
|
-
exports: [
|
|
126
|
-
FormRendererModule
|
|
127
|
-
],
|
|
128
|
-
providers: []
|
|
129
|
-
},] },
|
|
130
|
-
];
|
|
131
|
-
/**
|
|
132
|
-
* @nocollapse
|
|
133
|
-
*/
|
|
134
|
-
FormRendererAllModule.ctorParameters = () => [];
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Generated bundle index. Do not edit.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
export { FormRendererComponent, FormRendererModule, FormRendererAllModule, inputs as ɵa, outputs as ɵb };
|
|
141
|
-
export { defaultLocale, FormRenderer, FormLayout, FORM_COMPONENT_TYPES } from '@syncfusion/ej2-form-renderer';
|
|
142
|
-
//# sourceMappingURL=ej2-angular-form-renderer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-angular-form-renderer.js","sources":["~/@syncfusion/ej2-angular-form-renderer/ej2-angular-form-renderer.ts","~/@syncfusion/ej2-angular-form-renderer/src/form-renderer/formrenderer-all.module.ts","~/@syncfusion/ej2-angular-form-renderer/src/form-renderer/formrenderer.module.ts","~/@syncfusion/ej2-angular-form-renderer/src/form-renderer/formrenderer.component.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {FormRendererComponent,FormRendererModule,FormRendererAllModule,FieldDataType,ChangeEventArgs,SubmitEventArgs,ButtonClickEventArgs,FailureEventArgs,defaultLocale,FormRenderer,FormRendererModel,RuleModel,QueryRule,visualMode,Schema,HeaderPair,SearchConfig,SortConfig,FilterConfig,DataSourceCollectorProps,ConditionalDataRule,ConditionalOperator,ConditionalRule,CompositeConditionalRule,ConditionType,LookupConfig,ChoiceBasedFieldRule,CustomValidationRule,ConditionRule,FormSchema,FormLayout,FORM_COMPONENT_TYPES,FormComponentType,FormNode,ValidationRules,FormSettings,ButtonDefinition} from './public_api';\n\nexport {inputs as ɵa,outputs as ɵb} from './src/form-renderer/formrenderer.component';","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\nimport { FormRendererModule } from './formrenderer.module';\n/**\n * NgModule definition for the FormRenderer component with providers.\n */\nexport class FormRendererAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, FormRendererModule],\n exports: [\n FormRendererModule\n ],\n providers:[\n \n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction FormRendererAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nFormRendererAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nFormRendererAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormRendererComponent } from './formrenderer.component';\n/**\n * NgModule definition for the FormRenderer component.\n */\nexport class FormRendererModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n FormRendererComponent\n ],\n exports: [\n FormRendererComponent\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction FormRendererModule_tsickle_Closure_declarations() {\n/** @type {?} */\nFormRendererModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nFormRendererModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","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 /** @type {?} */ inputs: string[] = ['className','enablePersistence','enableRtl','layout','locale','schema'];\nexport const /** @type {?} */ outputs: string[] = ['buttonClick','change','created','failure','submit'];\nexport const /** @type {?} */ twoWays: string[] = [];\n/**\n * Represents the Angular FormRenderer Component.\n * ```html\n * <ejs-form-renderer></ejs-form-renderer>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class FormRendererComponent extends FormRenderer implements IComponentBase {\npublic containerContext : any;\npublic tagObjects: any;\n\tbuttonClick: any;\n\tchange: any;\n\tcreated: any;\n\tfailure: any;\npublic submit: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate 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 * @return {?}\n */\npublic ngOnInit() {\n this.containerContext.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.containerContext.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.containerContext.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n \n this.containerContext.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\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];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\n}\n\nfunction FormRendererComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nFormRendererComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nFormRendererComponent.ctorParameters;\n/** @type {?} */\nFormRendererComponent.prototype.containerContext;\n/** @type {?} */\nFormRendererComponent.prototype.tagObjects;\n/** @type {?} */\nFormRendererComponent.prototype.buttonClick;\n/** @type {?} */\nFormRendererComponent.prototype.change;\n/** @type {?} */\nFormRendererComponent.prototype.created;\n/** @type {?} */\nFormRendererComponent.prototype.failure;\n/** @type {?} */\nFormRendererComponent.prototype.submit;\n/** @type {?} */\nFormRendererComponent.prototype.registerEvents;\n/** @type {?} */\nFormRendererComponent.prototype.addTwoWay;\n/** @type {?} */\nFormRendererComponent.prototype.ngEle;\n/** @type {?} */\nFormRendererComponent.prototype.srenderer;\n/** @type {?} */\nFormRendererComponent.prototype.viewContainerRef;\n/** @type {?} */\nFormRendererComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AGAA,AAMO,MAAM,MAAA,GAAmB,CAAA,WAAE,EAAW,mBAAC,EAAmB,WAAC,EAAW,QAAC,EAAQ,QAAC,EAAQ,QAAC,CAAQ,CAAC;AACzG,AAAO,MAAM,OAAA,GAAoB,CAAA,aAAE,EAAa,QAAC,EAAQ,SAAC,EAAS,SAAC,EAAS,QAAC,CAAQ,CAAC;AACvF,AAAO,MAAM,OAAA,GAAoB,EAAA,CAAG;;;;;;;AAQpC,IAAa,qBAAqB,GAAlC,MAAA,qBAAmC,SAAQ,YAAY,CAAvD;;;;;;;IAcA,WAAA,CADwB,KAAO,EAAoB,SAAW,EAAmB,gBAAkB,EAAyB,QAAU,EACtI;QAIQ,KAAK,EAAE,CAAC;QALQ,IAAxB,CAAA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EAAG;CAYJ,CAXC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,MAAA;IAcD,EAAC,IAAI,EAAE,UAAU,GAAG;IACpB,EAAC,IAAI,EAAE,SAAS,GAAG;IACnB,EAAC,IAAI,EAAE,gBAAgB,GAAG;IAC1B,EAAC,IAAI,EAAE,QAAQ,GAAG;CACjB,CAAC;AA1EW,qBAAqB,GAAlC,UAAA,CAAA;IACC,eAAA,CAAA,CAAA,aAAA,CAAA,CAAA;IAYD,UAAA,CAAA,mBAAA,EAAA,CAA+B,UAAA;QAA+B,SAAA;QAAoC,gBAAC;QAAmC,QAAA,CAAtI,CAAA;CAbA,EAAa,qBAAqB,CA2EjC,CA3ED;;ADbA;;;AAGA,AAAA,MAAA,kBAAA,CAAA;;AAEyC,kBAAzC,CAAA,UAAyC,GAAoC;IAD7E,EAEE,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAA,YAAE,CAAY;gBADvB,YAAY,EAEE;oBADV,qBAAqB;iBACxB;gBACD,OAAO,EAEE;oBADL,qBAAqB;iBACxB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,kBAAD,CAAA,cAAC,GAAA,MAAA,EACA,CAAC;;ADjBF;;;AAGA,AAAA,MAAA,qBAAA,CAAA;;AAM4C,qBAA5C,CAAA,UAA4C,GAAoC;IALhF,EAME,IAAA,EAAM,QAAA,EAAU,IAAA,EAAM,CAAA;gBALpB,OAAO,EAME,CAAA,YAAE,EAAa,kBAAA,CAAmB;gBAL3C,OAAO,EAME;oBALL,kBAAkB;iBACrB;gBACD,SAAS,EAMC,EAJT;aACJ,EAMC,EAAG;CALJ,CAMC;;;;AAED,qBAAD,CAAA,cAAC,GAAA,MAAA,EAHA,CAAC;;ADtBF;;GAEG;;;;;"}
|
package/LICENSE
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
-
|
|
3
|
-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
-
|
|
5
|
-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
-
|
|
7
|
-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
-
|
|
9
|
-
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
|
-
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: ej2-angular-form-renderer.umd.js
|
|
3
|
-
* version : 34.2.8
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
-
* Use of this code is subject to the terms of our license.
|
|
6
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
-
* applicable laws.
|
|
9
|
-
*/
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-form-renderer'), require('@angular/common')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-form-renderer', '@angular/common'], factory) :
|
|
13
|
-
(factory((global['ej2-angular-form-renderer'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.form.renderer,global.ng.common));
|
|
14
|
-
}(this, (function (exports,core,ej2AngularBase,ej2FormRenderer,common) { 'use strict';
|
|
15
|
-
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
-
return function (d, b) {
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() { this.constructor = d; }
|
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
-
else
|
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
-
if (d = decorators[i])
|
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
-
};
|
|
36
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
-
return Reflect.metadata(k, v);
|
|
39
|
-
};
|
|
40
|
-
var inputs = ['className', 'enablePersistence', 'enableRtl', 'layout', 'locale', 'schema'];
|
|
41
|
-
var outputs = ['buttonClick', 'change', 'created', 'failure', 'submit'];
|
|
42
|
-
var twoWays = [];
|
|
43
|
-
/**
|
|
44
|
-
* Represents the Angular FormRenderer Component.
|
|
45
|
-
* ```html
|
|
46
|
-
* <ejs-form-renderer></ejs-form-renderer>
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
exports.FormRendererComponent = /** @class */ (function (_super) {
|
|
50
|
-
__extends(FormRendererComponent, _super);
|
|
51
|
-
/**
|
|
52
|
-
* @param {?} ngEle
|
|
53
|
-
* @param {?} srenderer
|
|
54
|
-
* @param {?} viewContainerRef
|
|
55
|
-
* @param {?} injector
|
|
56
|
-
*/
|
|
57
|
-
function FormRendererComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
58
|
-
var _this = _super.call(this) || this;
|
|
59
|
-
_this.ngEle = ngEle;
|
|
60
|
-
_this.srenderer = srenderer;
|
|
61
|
-
_this.viewContainerRef = viewContainerRef;
|
|
62
|
-
_this.injector = injector;
|
|
63
|
-
_this.element = _this.ngEle.nativeElement;
|
|
64
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
65
|
-
_this.registerEvents(outputs);
|
|
66
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
67
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
68
|
-
_this.containerContext = new ej2AngularBase.ComponentBase();
|
|
69
|
-
return _this;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* @return {?}
|
|
73
|
-
*/
|
|
74
|
-
FormRendererComponent.prototype.ngOnInit = function () {
|
|
75
|
-
this.containerContext.ngOnInit(this);
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @return {?}
|
|
79
|
-
*/
|
|
80
|
-
FormRendererComponent.prototype.ngAfterViewInit = function () {
|
|
81
|
-
this.containerContext.ngAfterViewInit(this);
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
* @return {?}
|
|
85
|
-
*/
|
|
86
|
-
FormRendererComponent.prototype.ngOnDestroy = function () {
|
|
87
|
-
this.containerContext.ngOnDestroy(this);
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* @return {?}
|
|
91
|
-
*/
|
|
92
|
-
FormRendererComponent.prototype.ngAfterContentChecked = function () {
|
|
93
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
94
|
-
};
|
|
95
|
-
return FormRendererComponent;
|
|
96
|
-
}(ej2FormRenderer.FormRenderer));
|
|
97
|
-
exports.FormRendererComponent.decorators = [
|
|
98
|
-
{ type: core.Component, args: [{
|
|
99
|
-
selector: '[ejs-form-renderer], ejs-form-renderer',
|
|
100
|
-
inputs: inputs,
|
|
101
|
-
outputs: outputs,
|
|
102
|
-
template: "<ng-content ></ng-content>",
|
|
103
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
104
|
-
queries: {}
|
|
105
|
-
},] },
|
|
106
|
-
];
|
|
107
|
-
/**
|
|
108
|
-
* @nocollapse
|
|
109
|
-
*/
|
|
110
|
-
exports.FormRendererComponent.ctorParameters = function () { return [
|
|
111
|
-
{ type: core.ElementRef, },
|
|
112
|
-
{ type: core.Renderer2, },
|
|
113
|
-
{ type: core.ViewContainerRef, },
|
|
114
|
-
{ type: core.Injector, },
|
|
115
|
-
]; };
|
|
116
|
-
exports.FormRendererComponent = __decorate([
|
|
117
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
118
|
-
__metadata("design:paramtypes", [core.ElementRef,
|
|
119
|
-
core.Renderer2,
|
|
120
|
-
core.ViewContainerRef,
|
|
121
|
-
core.Injector])
|
|
122
|
-
], exports.FormRendererComponent);
|
|
123
|
-
/**
|
|
124
|
-
* NgModule definition for the FormRenderer component.
|
|
125
|
-
*/
|
|
126
|
-
var FormRendererModule = /** @class */ (function () {
|
|
127
|
-
function FormRendererModule() {
|
|
128
|
-
}
|
|
129
|
-
return FormRendererModule;
|
|
130
|
-
}());
|
|
131
|
-
FormRendererModule.decorators = [
|
|
132
|
-
{ type: core.NgModule, args: [{
|
|
133
|
-
imports: [common.CommonModule],
|
|
134
|
-
declarations: [
|
|
135
|
-
exports.FormRendererComponent
|
|
136
|
-
],
|
|
137
|
-
exports: [
|
|
138
|
-
exports.FormRendererComponent
|
|
139
|
-
]
|
|
140
|
-
},] },
|
|
141
|
-
];
|
|
142
|
-
/**
|
|
143
|
-
* @nocollapse
|
|
144
|
-
*/
|
|
145
|
-
FormRendererModule.ctorParameters = function () { return []; };
|
|
146
|
-
/**
|
|
147
|
-
* NgModule definition for the FormRenderer component with providers.
|
|
148
|
-
*/
|
|
149
|
-
var FormRendererAllModule = /** @class */ (function () {
|
|
150
|
-
function FormRendererAllModule() {
|
|
151
|
-
}
|
|
152
|
-
return FormRendererAllModule;
|
|
153
|
-
}());
|
|
154
|
-
FormRendererAllModule.decorators = [
|
|
155
|
-
{ type: core.NgModule, args: [{
|
|
156
|
-
imports: [common.CommonModule, FormRendererModule],
|
|
157
|
-
exports: [
|
|
158
|
-
FormRendererModule
|
|
159
|
-
],
|
|
160
|
-
providers: []
|
|
161
|
-
},] },
|
|
162
|
-
];
|
|
163
|
-
/**
|
|
164
|
-
* @nocollapse
|
|
165
|
-
*/
|
|
166
|
-
FormRendererAllModule.ctorParameters = function () { return []; };
|
|
167
|
-
|
|
168
|
-
exports.FormRendererModule = FormRendererModule;
|
|
169
|
-
exports.FormRendererAllModule = FormRendererAllModule;
|
|
170
|
-
exports.ɵa = inputs;
|
|
171
|
-
exports.ɵb = outputs;
|
|
172
|
-
exports.defaultLocale = ej2FormRenderer.defaultLocale;
|
|
173
|
-
exports.FormRenderer = ej2FormRenderer.FormRenderer;
|
|
174
|
-
exports.FormLayout = ej2FormRenderer.FormLayout;
|
|
175
|
-
exports.FORM_COMPONENT_TYPES = ej2FormRenderer.FORM_COMPONENT_TYPES;
|
|
176
|
-
|
|
177
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
178
|
-
|
|
179
|
-
})));
|
|
180
|
-
//# sourceMappingURL=ej2-angular-form-renderer.umd.js.map
|