"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 core_2 = require("@jsonforms/core");
const JsonFormsIonicLayout_1 = require("../JsonFormsIonicLayout");
const store_1 = require("@angular-redux/store");
let HorizontalLayoutRenderer = class HorizontalLayoutRenderer extends JsonFormsIonicLayout_1.JsonFormsIonicLayout {
    constructor(ngRedux) {
        super(ngRedux);
    }
};
HorizontalLayoutRenderer = __decorate([
    core_1.Component({
        selector: 'jsonforms-horizontal-layout',
        template: `
      <ion-grid>
          <ion-row>
              <ion-col *ngFor="let uischema of elements">
                  <jsonforms-outlet
                          [uischema]="uischema"
                          [schema]="schema"
                          [path]="path"
                  ></jsonforms-outlet>
              </ion-col>
          </ion-row>
      </ion-grid>
  `
    }),
    __metadata("design:paramtypes", [store_1.NgRedux])
], HorizontalLayoutRenderer);
exports.HorizontalLayoutRenderer = HorizontalLayoutRenderer;
exports.horizontalLayoutTester = core_2.rankWith(1, core_2.uiTypeIs('HorizontalLayout'));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9yaXpvbnRhbC1sYXlvdXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGF5b3V0cy9ob3Jpem9udGFsL2hvcml6b250YWwtbGF5b3V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsd0NBQTBDO0FBQzFDLDBDQUFtRjtBQUNuRixrRUFBK0Q7QUFDL0QsZ0RBQStDO0FBa0IvQyxJQUFhLHdCQUF3QixHQUFyQyw4QkFBc0MsU0FBUSwyQ0FBb0I7SUFFaEUsWUFBWSxPQUFnQztRQUMxQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDakIsQ0FBQztDQUVGLENBQUE7QUFOWSx3QkFBd0I7SUFoQnBDLGdCQUFTLENBQUM7UUFDVCxRQUFRLEVBQUUsNkJBQTZCO1FBQ3ZDLFFBQVEsRUFBRTs7Ozs7Ozs7Ozs7O0dBWVQ7S0FDRixDQUFDO3FDQUdxQixlQUFPO0dBRmpCLHdCQUF3QixDQU1wQztBQU5ZLDREQUF3QjtBQVF4QixRQUFBLHNCQUFzQixHQUFpQixlQUFRLENBQUMsQ0FBQyxFQUFFLGVBQVEsQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLENBQUMifQ==