import { __decorate, __metadata } from "tslib";
import { mapValuesToThis } from '@jscrpt/common';
import { LayoutPropertyDescription, LayoutPropertyName } from '../../decorators';
/**
 * Padding model for properties editor
 */
export class PaddingModel {
    //######################### constructor #########################
    constructor(value) {
        //######################### public properties #########################
        /**
         * @inheritdoc
         */
        this.top = null;
        /**
         * @inheritdoc
         */
        this.right = null;
        /**
         * @inheritdoc
         */
        this.bottom = null;
        /**
         * @inheritdoc
         */
        this.left = null;
        mapValuesToThis.bind(this)(value);
    }
}
__decorate([
    LayoutPropertyName('Padding top'),
    LayoutPropertyDescription('Top padding of component'),
    __metadata("design:type", Object)
], PaddingModel.prototype, "top", void 0);
__decorate([
    LayoutPropertyName('Padding right'),
    LayoutPropertyDescription('Right padding of component'),
    __metadata("design:type", Object)
], PaddingModel.prototype, "right", void 0);
__decorate([
    LayoutPropertyName('Padding bottom'),
    LayoutPropertyDescription('Bottom padding of component'),
    __metadata("design:type", Object)
], PaddingModel.prototype, "bottom", void 0);
__decorate([
    LayoutPropertyName('Padding left'),
    LayoutPropertyDescription('Left padding of component'),
    __metadata("design:type", Object)
], PaddingModel.prototype, "left", void 0);
//# sourceMappingURL=padding.model.js.map