UNPKG

angular2-json-schema-form

Version:
47 lines 2.3 kB
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); 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; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var core_1 = require("@angular/core"); var json_schema_form_service_1 = require("../library/json-schema-form.service"); var Foundation6Component = (function () { function Foundation6Component(changeDetector, jsf) { this.changeDetector = changeDetector; this.jsf = jsf; } Foundation6Component.prototype.ngOnInit = function () { }; Foundation6Component.prototype.ngOnChanges = function () { }; return Foundation6Component; }()); __decorate([ core_1.Input(), __metadata("design:type", Number) ], Foundation6Component.prototype, "formID", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], Foundation6Component.prototype, "layoutNode", void 0); __decorate([ core_1.Input(), __metadata("design:type", Array) ], Foundation6Component.prototype, "layoutIndex", void 0); __decorate([ core_1.Input(), __metadata("design:type", Array) ], Foundation6Component.prototype, "dataIndex", void 0); Foundation6Component = __decorate([ core_1.Component({ selector: 'foundation-6-framework', template: "\n <select-widget-widget\n [formID]=\"formID\"\n [layoutNode]=\"layoutNode\"\n [dataIndex]=\"dataIndex\"\n [layoutIndex]=\"layoutIndex\"></select-widget-widget>", }), __metadata("design:paramtypes", [core_1.ChangeDetectorRef, json_schema_form_service_1.JsonSchemaFormService]) ], Foundation6Component); exports.Foundation6Component = Foundation6Component; //# sourceMappingURL=foundation-6.component.js.map