// #region Imports
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);
};
import { Themeable } from '../../../../Behaviors/Themeable';
import { Component } from '../../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../../Abstracts/CustomElement';
import { designerContentElementTemplate } from './DesignerContentElementTemplate';
import { designerContentElementCosmopolitanStyle } from './Themes/DesignerContentElement.Cosmopolitan';
import { designerContentElementJoyStyle } from './Themes/DesignerContentElement.Joy';
import { designerContentElementMemphisStyle } from './Themes/DesignerContentElement.Memphis';
// #endregion
/**
 * DesignerContent - The main workspace container inside the designer.
 *
 * @description
 * Hosts the canvas as the central editing region and provides optional
 * generic extension slots for supplementary content around the canvas.
 *
 * @name DesignerContent
 * @element mosaik-designer-content
 * @category Layouts
 *
 * @slot - Default slot for the canvas (mosaik-designer-canvas)
 * @slot after-canvas - Generic extension slot after the canvas
 * @slot before-canvas - Generic extension slot before the canvas
 *
 * @cssprop {String} --designer-content-font-family - The content font family CSS custom property.
 * @cssprop {String} --designer-content-font-letter-spacing - The content font letter spacing CSS custom property.
 * @cssprop {String} --designer-content-font-line-height - The content font line height CSS custom property.
 * @cssprop {String} --designer-content-font-size - The content font size CSS custom property.
 * @cssprop {String} --designer-content-font-text-decoration - The content font text decoration CSS custom property.
 * @cssprop {String} --designer-content-font-text-transform - The content font text transform CSS custom property.
 * @cssprop {String} --designer-content-font-weight - The content font weight CSS custom property.
 * @cssprop {String} --designer-content-gap - The content gap CSS custom property.
 * @cssprop {String} --designer-content-padding-bottom - The content padding bottom CSS custom property.
 * @cssprop {String} --designer-content-padding-left - The content padding left CSS custom property.
 * @cssprop {String} --designer-content-padding-right - The content padding right CSS custom property.
 * @cssprop {String} --designer-content-padding-top - The content padding top CSS custom property.
 * @cssprop {String} --designer-content-shadow - The content shadow CSS custom property.
 * @cssprop {String} --designer-content-shadow-blur - The content shadow blur CSS custom property.
 * @cssprop {String} --designer-content-shadow-color - The content shadow color CSS custom property.
 * @cssprop {String} --designer-content-shadow-offset-x - The content shadow offset x CSS custom property.
 * @cssprop {String} --designer-content-shadow-offset-y - The content shadow offset y CSS custom property.
 * @cssprop {String} --designer-content-shadow-spread - The content shadow spread CSS custom property.
 * @cssprop {String} --designer-content-transition-duration - Transition duration for animated state changes
 * @cssprop {String} --designer-content-transition-mode - Transition timing function
 * @cssprop {String} --designer-content-transition-property - Transition properties to animate
 * @cssprop {String} --designer-content-translate - The content translate CSS custom property.
 *
 * @example
 * Content region wrapping a pannable canvas:
 * ```html
 * <mosaik-designer-content>
 *   <mosaik-designer-canvas>
 *     <mosaik-designer-frame></mosaik-designer-frame>
 *   </mosaik-designer-canvas>
 * </mosaik-designer-content>
 * ```
 *
 * @example
 * Content region with before and after extension slots:
 * ```html
 * <mosaik-designer-content>
 *   <mosaik-stack slot="before-canvas" orientation="vertical">
 *     <mosaik-button label="Layers"></mosaik-button>
 *   </mosaik-stack>
 *   <mosaik-designer-canvas>
 *     <mosaik-designer-frame></mosaik-designer-frame>
 *   </mosaik-designer-canvas>
 *   <mosaik-stack slot="after-canvas" orientation="vertical">
 *     <mosaik-button label="Properties"></mosaik-button>
 *   </mosaik-stack>
 * </mosaik-designer-content>
 * ```
 *
 * @public
 */
let DesignerContentElement = class DesignerContentElement extends Themeable(CustomElement) {
    // #region Fields
    // #endregion
    // #region Ctor
    /**
     * Constructs a new instance of the {@link DesignerContentElement} class.
     *
     * @public
     */
    constructor() {
        super();
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `is` property.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-designer-content';
    }
};
DesignerContentElement = __decorate([
    Component({
        selector: 'mosaik-designer-content',
        template: designerContentElementTemplate,
        themes: {
            joy: designerContentElementJoyStyle,
            memphis: designerContentElementMemphisStyle,
            cosmopolitan: designerContentElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], DesignerContentElement);
export { DesignerContentElement };
//# sourceMappingURL=DesignerContentElement.js.map