"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var ionic_angular_1 = require("ionic-angular");
var angular_1 = require("@jsonforms/angular");
var boolean_control_1 = require("./controls/boolean/boolean-control");
var string_control_1 = require("./controls/string/string-control");
var number_control_1 = require("./controls/number/number-control");
var date_control_1 = require("./controls/date/date-control");
var enum_control_1 = require("./controls/enum/enum-control");
var horizontal_layout_1 = require("./layouts/horizontal/horizontal-layout");
var vertical_layout_1 = require("./layouts/vertical/vertical-layout");
var categorization_layout_1 = require("./layouts/categorization/categorization-layout");
var category_1 = require("./layouts/categorization/category/category");
var group_layout_1 = require("./layouts/group/group-layout");
var master_detail_1 = require("./other/master-detail/master-detail");
var placeholder_1 = require("./other/master-detail/pages/placeholder/placeholder");
var master_1 = require("./other/master-detail/pages/master/master");
var detail_1 = require("./other/master-detail/pages/detail/detail");
var label_1 = require("./other/label/label");
var master_detail_nav_service_1 = require("./other/master-detail/master-detail-nav.service");
var JsonFormsIonicModule = /** @class */ (function () {
    function JsonFormsIonicModule() {
    }
    JsonFormsIonicModule = __decorate([
        core_1.NgModule({
            declarations: [
                // controls
                boolean_control_1.BooleanControlRenderer,
                string_control_1.StringControlRenderer,
                number_control_1.NumberControlRenderer,
                date_control_1.DateControlRenderer,
                enum_control_1.EnumControlRenderer,
                // layouts
                horizontal_layout_1.HorizontalLayoutRenderer,
                vertical_layout_1.VerticalLayoutRenderer,
                categorization_layout_1.CategorizationLayoutRenderer,
                category_1.CategoryRenderer,
                group_layout_1.GroupLayoutRenderer,
                // Master Detail components
                master_detail_1.MasterDetailComponent,
                placeholder_1.PlaceholderPage,
                master_1.MasterPage,
                detail_1.DetailPage,
                // other
                label_1.LabelRenderer
            ],
            imports: [
                ionic_angular_1.IonicModule,
                angular_1.JsonFormsModule
            ],
            exports: [
                // controls
                string_control_1.StringControlRenderer,
                number_control_1.NumberControlRenderer,
                date_control_1.DateControlRenderer,
                enum_control_1.EnumControlRenderer,
                // layouts
                horizontal_layout_1.HorizontalLayoutRenderer,
                vertical_layout_1.VerticalLayoutRenderer,
                categorization_layout_1.CategorizationLayoutRenderer,
                category_1.CategoryRenderer
            ],
            entryComponents: [
                // controls
                boolean_control_1.BooleanControlRenderer,
                string_control_1.StringControlRenderer,
                number_control_1.NumberControlRenderer,
                date_control_1.DateControlRenderer,
                enum_control_1.EnumControlRenderer,
                // layouts
                horizontal_layout_1.HorizontalLayoutRenderer,
                vertical_layout_1.VerticalLayoutRenderer,
                categorization_layout_1.CategorizationLayoutRenderer,
                category_1.CategoryRenderer,
                group_layout_1.GroupLayoutRenderer,
                // Master Detail components
                master_detail_1.MasterDetailComponent,
                placeholder_1.PlaceholderPage,
                master_1.MasterPage,
                detail_1.DetailPage,
                // other
                label_1.LabelRenderer
            ],
            providers: [
                master_detail_nav_service_1.MasterDetailNavService
            ]
        })
    ], JsonFormsIonicModule);
    return JsonFormsIonicModule;
}());
exports.JsonFormsIonicModule = JsonFormsIonicModule;
//# sourceMappingURL=json-forms.module.js.map