"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);
};
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("@angular/core");
const ionic_angular_1 = require("ionic-angular");
const AbstractDetailPage_1 = require("../AbstractDetailPage");
let DetailPage = class DetailPage extends AbstractDetailPage_1.AbstractDetailPage {
    constructor(navParams) {
        super();
        this.navParams = navParams;
        const item = navParams.get('item');
        this.path = item.path;
        this.schema = item.schema;
        this.uischema = item.uischema;
    }
};
DetailPage = __decorate([
    ionic_angular_1.IonicPage(),
    core_1.Component({
        selector: 'jsonforms-master-detail-detail',
        template: `
      <ion-content padding>
          <jsonforms-outlet
                  [schema]="schema"
                  [uischema]="uischema"
                  [path]="path"
          ></jsonforms-outlet>
      </ion-content>
  `
    }),
    __metadata("design:paramtypes", [ionic_angular_1.NavParams])
], DetailPage);
exports.DetailPage = DetailPage;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL290aGVyL21hc3Rlci1kZXRhaWwvcGFnZXMvZGV0YWlsL2RldGFpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBLHdDQUEwQztBQUMxQyxpREFBcUQ7QUFDckQsOERBQTJEO0FBZTNELElBQWEsVUFBVSxHQUF2QixnQkFBd0IsU0FBUSx1Q0FBa0I7SUFNaEQsWUFBbUIsU0FBb0I7UUFDckMsS0FBSyxFQUFFLENBQUM7UUFEUyxjQUFTLEdBQVQsU0FBUyxDQUFXO1FBRXJDLE1BQU0sSUFBSSxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLENBQUM7UUFDbkMsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDO1FBQ3RCLElBQUksQ0FBQyxNQUFNLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQztRQUMxQixJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUM7SUFDaEMsQ0FBQztDQUNGLENBQUE7QUFiWSxVQUFVO0lBYnRCLHlCQUFTLEVBQUU7SUFDWCxnQkFBUyxDQUFDO1FBQ1QsUUFBUSxFQUFFLGdDQUFnQztRQUMxQyxRQUFRLEVBQUU7Ozs7Ozs7O0dBUVQ7S0FDRixDQUFDO3FDQU84Qix5QkFBUztHQU41QixVQUFVLENBYXRCO0FBYlksZ0NBQVUifQ==