"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 });
exports.PageComponentResource = void 0;
const ta_json_1 = require("ta-json");
const component_visualization_1 = require("./component-visualization");
let PageComponentResource = class PageComponentResource {
    constructor() {
        this.isTitleVisible = false;
        this.isVisible = false;
        this.isNested = false;
        this.uiVisibility = "Always";
        this.takeUserSettings = false;
    }
};
exports.PageComponentResource = PageComponentResource;
__decorate([
    (0, ta_json_1.JsonProperty)("id"),
    __metadata("design:type", Number)
], PageComponentResource.prototype, "id", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("identifier"),
    __metadata("design:type", String)
], PageComponentResource.prototype, "identifier", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("name"),
    __metadata("design:type", String)
], PageComponentResource.prototype, "name", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("type"),
    __metadata("design:type", String)
], PageComponentResource.prototype, "type", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("title"),
    __metadata("design:type", Object)
], PageComponentResource.prototype, "title", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("is_title_visible"),
    __metadata("design:type", Boolean)
], PageComponentResource.prototype, "isTitleVisible", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("is_visible"),
    __metadata("design:type", Boolean)
], PageComponentResource.prototype, "isVisible", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("is_nested"),
    __metadata("design:type", Boolean)
], PageComponentResource.prototype, "isNested", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("zone"),
    __metadata("design:type", String)
], PageComponentResource.prototype, "zone", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("data"),
    __metadata("design:type", Object)
], PageComponentResource.prototype, "data", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("settings"),
    __metadata("design:type", Object)
], PageComponentResource.prototype, "settings", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("uiVisibility"),
    __metadata("design:type", String)
], PageComponentResource.prototype, "uiVisibility", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("messages"),
    __metadata("design:type", Object)
], PageComponentResource.prototype, "messages", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("visualization"),
    __metadata("design:type", component_visualization_1.ComponentVisualization)
], PageComponentResource.prototype, "visualization", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("take_user_settings"),
    __metadata("design:type", Boolean)
], PageComponentResource.prototype, "takeUserSettings", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("use_react"),
    __metadata("design:type", Object)
], PageComponentResource.prototype, "useReact", void 0);
__decorate([
    (0, ta_json_1.JsonProperty)("conditions"),
    (0, ta_json_1.JsonType)(Object),
    __metadata("design:type", Object)
], PageComponentResource.prototype, "conditions", void 0);
exports.PageComponentResource = PageComponentResource = __decorate([
    (0, ta_json_1.JsonObject)()
], PageComponentResource);
//# sourceMappingURL=page-component-resource.js.map