"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 });
const core_1 = require("@angular/core");
const ionic_angular_1 = require("ionic-angular");
const angular_1 = require("@jsonforms/angular");
const boolean_control_1 = require("./controls/boolean/boolean-control");
const string_control_1 = require("./controls/string/string-control");
const number_control_1 = require("./controls/number/number-control");
const date_control_1 = require("./controls/date/date-control");
const enum_control_1 = require("./controls/enum/enum-control");
const horizontal_layout_1 = require("./layouts/horizontal/horizontal-layout");
const vertical_layout_1 = require("./layouts/vertical/vertical-layout");
const categorization_layout_1 = require("./layouts/categorization/categorization-layout");
const category_1 = require("./layouts/categorization/category/category");
const group_layout_1 = require("./layouts/group/group-layout");
const master_detail_1 = require("./other/master-detail/master-detail");
const placeholder_1 = require("./other/master-detail/pages/placeholder/placeholder");
const master_1 = require("./other/master-detail/pages/master/master");
const detail_1 = require("./other/master-detail/pages/detail/detail");
const label_1 = require("./other/label/label");
const master_detail_nav_service_1 = require("./other/master-detail/master-detail-nav.service");
let JsonFormsIonicModule = class 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);
exports.JsonFormsIonicModule = JsonFormsIonicModule;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbi1mb3Jtcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvanNvbi1mb3Jtcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSx3Q0FBeUM7QUFDekMsaURBQTRDO0FBQzVDLGdEQUFxRDtBQUVyRCx3RUFBNEU7QUFDNUUscUVBQXlFO0FBQ3pFLHFFQUF5RTtBQUN6RSwrREF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