import { __decorate } from "tslib";
import { Component, Input, Output, EventEmitter } from "@angular/core";
let LineSidebarComponent = class LineSidebarComponent {
    constructor() {
        this.currentPreviewLayout = "desktop";
        this.showBackFor = '';
        this.onSidebarBackClick = new EventEmitter();
        /**
         * @description
         * Emit event to Done Click.
         */
        this.onDoneClick = new EventEmitter();
        this.callParentContainer = new EventEmitter();
        this.topMarginWebMobileBind = true;
    }
    ngOnInit() { }
    closeConfig() {
        this.onDoneClick.emit();
    }
    sidebarBack(type) {
        this.onSidebarBackClick.emit();
    }
    /**
     * Do Check event
     */
    ngDoCheck() {
        this.currentPreviewLayout = localStorage.getItem('currentPreviewLayout');
    }
    callElementContainer(data) {
        //this.callParentContainer.emit(data);
    }
};
__decorate([
    Input()
], LineSidebarComponent.prototype, "model", void 0);
__decorate([
    Input()
], LineSidebarComponent.prototype, "showBackFor", void 0);
__decorate([
    Output()
], LineSidebarComponent.prototype, "onSidebarBackClick", void 0);
__decorate([
    Output()
], LineSidebarComponent.prototype, "onDoneClick", void 0);
__decorate([
    Output()
], LineSidebarComponent.prototype, "callParentContainer", void 0);
LineSidebarComponent = __decorate([
    Component({
        selector: 'ew-element-line-sidebar',
        template: "<!-- <div class=\"page-sidebar-elements layout-branding-elements page-editor-ew-view\">\r\n\t<div class=\"mat-widget-header tab-toggle-ew editor-type-header\">\r\n\t\t<span class=\"title-content-ew\">Line</span>\r\n\t\t<span class=\"btn-editor-save\">\r\n\t\t\t<button (click)=\"closeConfig()\" class=\"small-button-ew\" mat-flat-button color=\"accent\">Done</button>\r\n\t\t</span>\r\n\t</div>\r\n\r\n\t<div class=\"elements-outer-sec-scroll popover-btn-ew-custom\">\r\n\t\t<div class=\"layout-branding-elements\">\r\n\t\t\t<div class=\"layout-page-branding\">\r\n\t\t\t\t<div class=\"layout-page-branding branding-element-common form-setting-margin-box\">\r\n\t\t\t\t\t<div>\r\n\t\t\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t\t\t<div class=\"col m4 s4\">\r\n\t\t\t\t\t\t\t\t<div class=\"elements-custom-outer-ew\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"left-list-item\">\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"title-list-nav\">Line Height</span>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t<div class=\"bottom-custom-design-fields fields-padding-margin-ew\">\r\n\t\t\t\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"line_height\" [(ngModel)]=\"model?.meta_data.line_height\" matInput placeholder=\"1px\">\r\n\t\t\t\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t\t<div class=\"col m6 s6\">\r\n\t\t\t\t\t\t\t<mat-form-field class=\"mat-form-field color-picker-mat embeded-color-widget-picker\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t<label>Line Color</label>\r\n\t\t\t\t\t\t\t\t<input matInput type=\"text\"\r\n\t\t\t\t\t\t\t\t\t[cpPosition]=\"'bottom'\"\r\n\t\t\t\t\t\t\t\t\t[cpOutputFormat]=\"'auto'\" \r\n\t\t\t\t\t\t\t\t\t[cpAlphaChannel]=\"'disabled'\" \r\n\t\t\t\t\t\t\t\t\t[colorPicker]=\"model?.meta_data.line_color\"\r\n\t\t\t\t\t\t\t\t\t(colorPickerChange)=\"model.meta_data.line_color=$event\"\r\n\t\t\t\t\t\t\t\t\t[(ngModel)]=\"model?.meta_data.line_color\"\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t<span class=\"color-picker-box\" [style.background-color]=\"model?.meta_data.line_color\"></span>\r\n\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"advance-title-sec-box\">\r\n\t\t\t\t\t<span class=\"title-advance-box\">Margin</span>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"box-title-branding branding-element-common form-setting-margin-box\">\r\n\t\t\t\t\t<div class=\"theme-box-content\">\r\n\t\t\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t\t\t<div class=\"col m5 s5\">\r\n\t\t\t\t\t\t\t\t<div class=\"elements-custom-outer-ew\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"left-list-item\">\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"title-list-nav\">Top</span>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t<div class=\"bottom-custom-design-fields fields-padding-margin-ew\">\r\n\t\t\t\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"margin_top\" [(ngModel)]=\"model?.meta_data.margin_top\" matInput placeholder=\"5px\">\r\n\t\t\t\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"col m5 s5\">\r\n\t\t\t\t\t\t\t\t<div class=\"elements-custom-outer-ew\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"left-list-item\">\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"title-list-nav\">Bottom</span>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t<div class=\"bottom-custom-design-fields fields-padding-margin-ew\">\r\n\t\t\t\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t\t\t\t<input name=\"margin_bottom\" [(ngModel)]=\"model?.meta_data.margin_bottom\" matInput placeholder=\"5px\">\r\n\t\t\t\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div> -->\r\n\r\n\r\n<div class=\"elemets-ew-sidebar\">\r\n\t<div class=\"mat-widget-header tab-toggle-ew\">\r\n\t\t<mat-icon *ngIf=\"showBackFor == 'popup'\" (click)=\"sidebarBack('popup')\">arrow_back</mat-icon>\r\n\t\t<span class=\"title-content-ew\">{{ 'BUILDER.ELEMENTS.SEPARATOR' | translate }}</span>\r\n\t\t<span class=\"btn-editor-save ew-sidebar-close-btn\" *ngIf=\"showBackFor !== 'popup'\" (click)=\"sidebarBack('builderPage')\">\r\n            <button class=\"small-button-ew green base\" mat-flat-button color=\"accent\">{{ 'DESIGN.DONE' | translate }}</button>\r\n        </span>\r\n\t</div>\r\n\t<div class=\"elements-outer-sec-scroll mat-toggle-multiple\">\r\n\t\t<mat-button-toggle-group name=\"fontStyle\" aria-label=\"Font Style\" #tabOptions=\"matButtonToggleGroup\">\r\n\t\t\t<mat-button-toggle value=\"setting\" checked>\r\n\t\t\t\t{{ 'BUILDER.ELEMENTS.TABS.SETTINGS' | translate }}\r\n\t\t\t</mat-button-toggle>\r\n\t\t\t<!-- <mat-button-toggle disabled value=\"advanced\">Advanced</mat-button-toggle> -->\r\n\t\t</mat-button-toggle-group>\r\n\t\t<!-- <div class=\"builder-resolution-change\">\r\n\t\t\t<button mat-button [matMenuTriggerFor]=\"menu6\">\r\n\t\t\t\t<mat-icon>\r\n\t\t\t\t\tlaptop\r\n\t\t\t\t</mat-icon>\r\n\t\t\t\t<span class=\"keyword-errow\">\r\n\t\t\t\t\t<mat-icon>keyboard_arrow_down</mat-icon>\r\n\t\t\t\t</span>\r\n\t\t\t</button>\r\n\t\t\t<mat-menu #menu6=\"matMenu\" class=\"builder-change-resolution-items\">\r\n\t\t\t\t<button mat-menu-item>\r\n\t\t\t\t\t<mat-icon>laptop</mat-icon>\r\n\t\t\t\t</button>\r\n\t\t\t\t<button mat-menu-item>\r\n\t\t\t\t\t<mat-icon>smartphone</mat-icon>\r\n\t\t\t\t</button>\r\n\t\t\t</mat-menu>\r\n\t\t</div> -->\r\n\r\n\t\t<div *ngIf=\"tabOptions.value == 'setting'\">\r\n\t\t\t<ew-element-show-hide [model]=\"model\" (callSideBar)=\"callElementContainer($event)\" ></ew-element-show-hide>\r\n\t\t\t<div class=\"advance-title-sec-box\"><span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.MARGIN_LABEL' | translate}}</span></div>\r\n\t\t\t<div class=\"builder-elements-outer\">\r\n\t\t\t\t<div class=\"element-builder-row\" *ngIf=\"(this.currentPreviewLayout=='desktop')\">\r\n\t\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.TOP_MARGIN' | translate }}</span>\r\n\r\n\t\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right\">\r\n\t\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.margin_top\" (input)=\"model.meta_data.margin_top = $event.value;\"\r\n\t\t\t\t\t\t\t\tmin=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t\t</span> <!--(topMarginWebMobileBind && model.meta_data.mobile_margin_top = $event.value)-->\r\n\t\t\t\t\t\t<span class=\"value-count-slider\">\r\n\t\t\t\t\t\t\t{{ model?.meta_data.margin_top }} PX\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"element-builder-row\" *ngIf=\"(this.currentPreviewLayout=='mobile')\"> <!--padding-elements-30-top ew-mobile-property-bind [ngClass]=\"{'ew-mobile-bind-active' : topMarginWebMobileBind == false}\"-->\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.MOBILE_MARGIN' | translate }}\r\n                        <!--<mat-icon (click)=\"topMarginWebMobileBind = false\" class=\"ew-on-property\">insert_link</mat-icon>\r\n                        <mat-icon (click)=\"topMarginWebMobileBind = true; model.meta_data.mobile_margin_top = model.meta_data.margin_top\" class=\"ew-off-property\">link_off</mat-icon>\r\n\t\t\t\t\t\t-->\r\n\t\t\t\t\t</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right \"> <!--opacity-pointer-event-->\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [value]=\"model?.meta_data.mobile_margin_top\" (input)=\"model.meta_data.mobile_margin_top = $event.value\"\r\n                                min=\"0\" max=\"100\" step=\"1\">\r\n                            </mat-slider>\r\n                        </span>\r\n                        <span class=\"value-count-slider\">\r\n                            {{ model?.meta_data.mobile_margin_top }} PX\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n\t\t\t</div>\r\n\t\t\t<!-- <div class=\"builder-elements-outer ew-mobile-elements ew-margin-bottom-20\">\r\n                <div class=\"element-builder-row\">\r\n                    <div class=\"ew-mobile-setting\">\r\n                        <span class=\"builder-elements-name\"><span class=\"mobile-icon-title\"><mat-icon>smartphone</mat-icon>Mobile</span>Top Margin</span>\r\n                        <div class=\"mat-slider-outer-part common-builder-right slider-2-digit\">\r\n                            <span class=\"mat-slider-inner\">\r\n                                <mat-slider [value]=\"model?.meta_data.mobile_margin_top\" (input)=\"model.meta_data.mobile_margin_top = $event.value\"\r\n                                    min=\"0\" max=\"100\" step=\"1\">\r\n                                </mat-slider>\r\n                            </span>\r\n                            <span class=\"value-count-slider\">\r\n                                {{ model?.meta_data.mobile_margin_top }} PX\r\n                            </span>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div> -->\r\n\r\n\t\t\t<div class=\"advance-title-sec-box\">\r\n\t\t\t\t<span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.SEPARATOR' | translate }}</span>\r\n\t\t\t</div>\r\n\r\n\t\t<div class=\"builder-elements-outer\">\r\n\t\t\t<div class=\"element-builder-row\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.WIDTH' | translate }}</span>\r\n\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right slider-2-digit\">\r\n\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.width\" (input)=\"model.meta_data.width = $event.value\"\r\n\t\t\t\t\t\t\tmin=\"10\" max=\"100\" step=\"10\">\r\n\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t\t<span class=\"value-count-slider\">{{ model?.meta_data.width }}%</span>\r\n\t\t\t\t</div>\r\n\t\t\t\t<!-- <div class=\"common-builder-right\">\r\n\t\t\t\t\t<mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n\t\t\t\t\t\t<mat-select [(value)]=\"model?.meta_data.width\">\r\n\t\t\t\t\t\t\t<mat-option [value]=\"100\">100 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"90\">90 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"80\">80 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"75\">75 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"70\">70 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"60\">60 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"50\">50 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"40\">40 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"30\">30 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"25\">25 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"20\">20 Percent</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"10\">10 Percent</mat-option>\r\n\t\t\t\t\t\t</mat-select>\r\n\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t</div> -->\r\n\t\t\t</div>\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.ALIGN' | translate }}</span>\r\n\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t<mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n\t\t\t\t\t\t<mat-select [(value)]=\"model?.meta_data.align\">\r\n\t\t\t\t\t\t\t<mat-option value=\"left\">Left</mat-option>\r\n\t\t\t\t\t\t\t<mat-option value=\"center\">Center</mat-option>\r\n\t\t\t\t\t\t\t<mat-option value=\"right\">Right</mat-option>\r\n\t\t\t\t\t\t</mat-select>\r\n\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.HEIGHT' | translate }}</span>\r\n\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t<mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n\t\t\t\t\t\t<mat-select [(value)]=\"model?.meta_data.height\">\r\n\t\t\t\t\t\t\t<mat-option [value]=\"1\">1px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"2\">2px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"3\">3px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"5\">5px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"10\">10px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"15\">15px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"20\">20px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"25\">25px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"30\">30px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"40\">40px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"50\">50px</mat-option>\r\n\t\t\t\t\t\t\t<mat-option [value]=\"60\">60px</mat-option>\r\n\t\t\t\t\t\t</mat-select>\r\n\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.STYLE' | translate }}</span>\r\n\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t<mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n\t\t\t\t\t\t<mat-select [(value)]=\"model?.meta_data.line_style\">\r\n\t\t\t\t\t\t\t<mat-option value=\"solid\">Solid</mat-option>\r\n\t\t\t\t\t\t\t<mat-option value=\"dashed\">Dashed</mat-option>\r\n\t\t\t\t\t\t\t<mat-option value=\"dotted\">Dotted</mat-option>\r\n\t\t\t\t\t\t\t<mat-option value=\"double\">Double</mat-option>\r\n\t\t\t\t\t\t\t<mat-option value=\"groove\">Groove</mat-option>\r\n\t\t\t\t\t\t</mat-select>\r\n\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.COLOR' | translate }}</span>\r\n\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t<mat-form-field class=\"mat-form-field color-picker-mat embeded-color-widget-picker\" floatLabel=\"never\">\r\n\t\t\t\t\t\t<input matInput type=\"text\"\r\n\t\t\t\t\t\t\t[cpPosition]=\"'top'\"\r\n\t\t\t\t\t\t\t[cpOutputFormat]=\"'rgba'\"\r\n\t\t\t\t\t\t\t[colorPicker]=\"model?.meta_data.line_color\"\r\n\t\t\t\t\t\t\t(colorPickerChange)=\"model.meta_data.line_color=$event\"\r\n\t\t\t\t\t\t\t[(ngModel)]=\"model?.meta_data.line_color\" />\r\n\t\t\t\t\t\t<span class=\"color-picker-box\"\r\n\t\t\t\t\t\t[ngClass]=\"{'transparent-color-ew': (model.meta_data?.line_color.slice(-2,-1) == '0') }\"\r\n\t\t\t\t\t\t\t[style.background-color]=\"model?.meta_data.line_color\"></span>\r\n\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"advance-title-sec-box\">\r\n\t\t\t<span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.PADDINGS' | translate }}</span>\r\n\t\t</div>\r\n\t\t<div class=\"builder-elements-outer\">\r\n\t\t\t<div class=\"element-builder-row\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.TOP' | translate }}</span>\r\n\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right\">\r\n\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.padding_top\" (input)=\"model?.meta_data.padding_top = $event.value\" min=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t\t<span class=\"value-count-slider\">\r\n\t\t\t\t\t\t{{ model?.meta_data.padding_top }} px\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.RIGHT' | translate }}</span>\r\n\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right \">\r\n\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.padding_right\" (input)=\"model?.meta_data.padding_right = $event.value\" min=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t\t<span class=\"value-count-slider\">\r\n\t\t\t\t\t\t{{ model?.meta_data.padding_right }} px\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.BOTTOM' | translate }}</span>\r\n\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right \">\r\n\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.padding_bottom\" (input)=\"model?.meta_data.padding_bottom = $event.value\" min=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t\t<span class=\"value-count-slider\">\r\n\t\t\t\t\t\t{{ model?.meta_data.padding_bottom }} px\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.LEFT' | translate }}</span>\r\n\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right\">\r\n\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.padding_left\" (input)=\"model?.meta_data.padding_left = $event.value\" min=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t\t<span class=\"value-count-slider\">\r\n\t\t\t\t\t\t{{ model?.meta_data.padding_left }} px\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t\t<!-- <div class=\"element-builder-row padding-elements-builder-sidebar\">\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t<div class=\"col m3 s3\">\r\n\t\t\t\t\t\t<div class=\"bottom-custom-design-fields\">\r\n\t\t\t\t\t\t\t<label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.TOP' | translate }}</label>\r\n\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t<input matInput [(ngModel)]=\"model?.meta_data.padding_top\" type=\"number\" placeholder=\"\">\r\n\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"col m3 s3\">\r\n\t\t\t\t\t\t<div class=\"bottom-custom-design-fields\">\r\n\t\t\t\t\t\t\t<label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.RIGHT' | translate }}</label>\r\n\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t<input matInput [(ngModel)]=\"model?.meta_data.padding_right\" type=\"number\" placeholder=\"\">\r\n\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"col m3 s3\">\r\n\t\t\t\t\t\t<div class=\"bottom-custom-design-fields\">\r\n\t\t\t\t\t\t\t<label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.BOTTOM' | translate }}</label>\r\n\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t<input matInput [(ngModel)]=\"model?.meta_data.padding_bottom\" type=\"number\" placeholder=\"\">\r\n\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class=\"col m3 s3\">\r\n\t\t\t\t\t\t<div class=\"bottom-custom-design-fields\">\r\n\t\t\t\t\t\t\t<label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.LEFT' | translate }}</label>\r\n\t\t\t\t\t\t\t<mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t\t<input matInput [(ngModel)]=\"model?.meta_data.padding_left\" type=\"number\" placeholder=\"\">\r\n\t\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div> -->\r\n\t\t</div>\r\n\t\t</div>\r\n\t\t\r\n\t\t<div class=\"advanced-tab\" *ngIf=\"tabOptions.value == 'advanced'\">\r\n\t\t\t<!-- <div class=\"builder-elements-outer\">\r\n\t\t\t\t<div class=\"element-builder-row\">\r\n\t\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BORDER_RADIUS' | translate }}</span>\r\n\t\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right\">\r\n\t\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.border_radius\" (input)=\"model.meta_data.border_radius = $event.value\"\r\n\t\t\t\t\t\t\t\tmin=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t<span class=\"value-count-slider\">{{ model?.meta_data.border_radius }} PX</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"advance-title-sec-box\">\r\n\t\t\t\t<span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.BORDER' | translate }}</span>\r\n\t\t\t</div>\r\n\t\t\t<div class=\"builder-elements-outer\">\r\n\t\t\t\t<div class=\"element-builder-row\">\r\n\t\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BORDER' | translate }}</span>\r\n\t\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t\t<mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n\t\t\t\t\t\t\t<mat-select [(value)]=\"model?.meta_data.border_position\">\r\n\t\t\t\t\t\t\t\t<mat-option value=\"ew_border_top_bottom\">Top & Bottom</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"ew_border_top\">Top Only</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"ew_border_bottom\">Bottom Only</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"ew_full_border\">Full Border</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"ew_no_border\">No Border</mat-option>\r\n\t\t\t\t\t\t\t</mat-select>\r\n\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div *ngIf=\"model?.meta_data.border_position != 'ew_no_border'\" class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.STYLE' | translate }}</span>\r\n\t\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t\t<mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n\t\t\t\t\t\t\t<mat-select [(value)]=\"model?.meta_data.border_style\">\r\n\t\t\t\t\t\t\t\t<mat-option value=\"solid\">Solid</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"dashed\">Dashed</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"dotted\">Dotted</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"double\">Double</mat-option>\r\n\t\t\t\t\t\t\t\t<mat-option value=\"groove\">Groove</mat-option>\r\n\t\t\t\t\t\t\t</mat-select>\r\n\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div *ngIf=\"model?.meta_data.border_position != 'ew_no_border'\" class=\"element-builder-row padding-elements-30-top\">\r\n\t\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.SIZE' | translate }}</span>\r\n\t\t\t\t\t<div class=\"mat-slider-outer-part common-builder-right\">\r\n\t\t\t\t\t\t<span class=\"mat-slider-inner\">\r\n\t\t\t\t\t\t\t<mat-slider [value]=\"model?.meta_data.border_size\" (input)=\"model.meta_data.border_size = $event.value\"\r\n\t\t\t\t\t\t\t\tmin=\"0\" max=\"100\" step=\"1\">\r\n\t\t\t\t\t\t\t</mat-slider>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t<span class=\"value-count-slider\">{{ model?.meta_data.border_size }} PX</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div *ngIf=\"model?.meta_data.border_position != 'ew_no_border'\" class=\"element-builder-row  padding-elements-30-top\">\r\n\t\t\t\t\t<span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BORDER_COLOR' | translate }}</span>\r\n\t\t\t\t\t<div class=\"common-builder-right\">\r\n\t\t\t\t\t\t<mat-form-field class=\"mat-form-field color-picker-mat embeded-color-widget-picker\" floatLabel=\"never\">\r\n\t\t\t\t\t\t\t<input matInput type=\"text\"\r\n\t\t\t\t\t\t\t\t[cpPosition]=\"'bottom'\"\r\n\t\t\t\t\t\t\t\t[cpOutputFormat]=\"'rgba'\"\r\n\t\t\t\t\t\t\t\t[cpAlphaChannel]=\"'disabled'\"\r\n\t\t\t\t\t\t\t\t[colorPicker]=\"model?.meta_data.border_color\"\r\n\t\t\t\t\t\t\t\t(colorPickerChange)=\"model.meta_data.border_color=$event\"\r\n\t\t\t\t\t\t\t\t[(ngModel)]=\"model?.meta_data.border_color\" />\r\n\t\t\t\t\t\t\t<span class=\"color-picker-box\"\r\n\t\t\t\t\t\t\t\t[style.background-color]=\"model?.meta_data.border_color\"></span>\r\n\t\t\t\t\t\t</mat-form-field>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div> -->\r\n\t\t</div>\r\n\r\n\t</div>\r\n</div>\r\n",
        styles: [""]
    })
], LineSidebarComponent);
export { LineSidebarComponent };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1zaWRlYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2V3LW1hLWRlc2lnbi8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2VsZW1lbnRzL2xpbmUtc2lkZWJhci9saW5lLXNpZGViYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTy9FLElBQWEsb0JBQW9CLEdBQWpDLE1BQWEsb0JBQW9CO0lBdUMvQjtRQXJDTyx5QkFBb0IsR0FBVSxTQUFTLENBQUM7UUF3Qi9CLGdCQUFXLEdBQVEsRUFBRSxDQUFDO1FBRTVCLHVCQUFrQixHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO1FBQ3JFOzs7V0FHRztRQUNPLGdCQUFXLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7UUFFcEQsd0JBQW1CLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7UUFFL0QsMkJBQXNCLEdBQVcsSUFBSSxDQUFDO0lBRTlCLENBQUM7SUFFaEIsUUFBUSxLQUFVLENBQUM7SUFFbkIsV0FBVztRQUNULElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDMUIsQ0FBQztJQUVELFdBQVcsQ0FBQyxJQUFZO1FBQ3RCLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNqQyxDQUFDO0lBQ0Q7O09BRUc7SUFDRixTQUFTO1FBQ1IsSUFBSSxDQUFDLG9CQUFvQixHQUFHLFlBQVksQ0FBQyxPQUFPLENBQUMsc0JBQXNCLENBQUMsQ0FBQztJQUMzRSxDQUFDO0lBRUQsb0JBQW9CLENBQUMsSUFBUTtRQUMzQixzQ0FBc0M7SUFDeEMsQ0FBQztDQUVGLENBQUE7QUF6RFU7SUFBUixLQUFLLEVBQUU7bURBb0JOO0FBRU87SUFBUixLQUFLLEVBQUU7eURBQThCO0FBRTVCO0lBQVQsTUFBTSxFQUFFO2dFQUE0RDtBQUszRDtJQUFULE1BQU0sRUFBRTt5REFBcUQ7QUFFcEQ7SUFBVCxNQUFNLEVBQUU7aUVBQTZEO0FBbkMzRCxvQkFBb0I7SUFMaEMsU0FBUyxDQUFDO1FBQ1QsUUFBUSxFQUFFLHlCQUF5QjtRQUNuQywyaXdCQUE0Qzs7S0FFN0MsQ0FBQztHQUNXLG9CQUFvQixDQTZEaEM7U0E3RFksb0JBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQsIElucHV0LCBPdXRwdXQsIEV2ZW50RW1pdHRlciB9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2V3LWVsZW1lbnQtbGluZS1zaWRlYmFyJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vbGluZS1zaWRlYmFyLmNvbXBvbmVudC5odG1sJyxcclxuICBzdHlsZVVybHM6IFsnLi9saW5lLXNpZGViYXIuY29tcG9uZW50LnNjc3MnXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTGluZVNpZGViYXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xyXG5cclxuICBwdWJsaWMgY3VycmVudFByZXZpZXdMYXlvdXQ6c3RyaW5nID0gXCJkZXNrdG9wXCI7XHJcblxyXG4gIEBJbnB1dCgpIHB1YmxpYyBtb2RlbDoge1xyXG4gICAgZm9jdXNlZDogYm9vbGVhbixcclxuICAgIHR5cGU6IHN0cmluZyxcclxuICAgIG1ldGFfZGF0YToge1xyXG4gICAgICBoZWlnaHQ6IG51bWJlcixcclxuICAgICAgbGluZV9jb2xvcjogc3RyaW5nLFxyXG4gICAgICBsaW5lX3N0eWxlOiBzdHJpbmcsXHJcbiAgICAgIG1hcmdpbl90b3A6IG51bWJlcixcclxuICAgICAgbW9iaWxlX21hcmdpbl90b3A6IG51bWJlcixcclxuICAgICAgcGFkZGluZ190b3A6IG51bWJlcixcclxuICAgICAgcGFkZGluZ19yaWdodDogbnVtYmVyLFxyXG4gICAgICBwYWRkaW5nX2JvdHRvbTogbnVtYmVyLFxyXG4gICAgICBwYWRkaW5nX2xlZnQ6IG51bWJlcixcclxuICAgICAgd2lkdGg6IG51bWJlcixcclxuICAgICAgYWxpZ246IHN0cmluZyxcclxuICAgICAgYm9yZGVyX3JhZGl1czogbnVtYmVyLFxyXG4gICAgICBrZXk6IHN0cmluZyxcclxuICAgICAgdHlwZTogc3RyaW5nLFxyXG4gICAgICB1bmlxdWVfY2xhc3M6IHN0cmluZ1xyXG4gICAgfVxyXG4gIH07XHJcbiAgXHJcbiAgQElucHV0KCkgcHVibGljIHNob3dCYWNrRm9yOnN0cmluZz0nJztcclxuXHJcbiAgQE91dHB1dCgpIG9uU2lkZWJhckJhY2tDbGljazogRXZlbnRFbWl0dGVyPGFueT4gPSBuZXcgRXZlbnRFbWl0dGVyKCk7IFxyXG4gIC8qKlxyXG4gICAqIEBkZXNjcmlwdGlvblxyXG4gICAqIEVtaXQgZXZlbnQgdG8gRG9uZSBDbGljay5cclxuICAgKi9cclxuICBAT3V0cHV0KCkgb25Eb25lQ2xpY2s6IEV2ZW50RW1pdHRlcjxhbnk+ID0gbmV3IEV2ZW50RW1pdHRlcigpO1xyXG5cclxuICBAT3V0cHV0KCkgY2FsbFBhcmVudENvbnRhaW5lcjogRXZlbnRFbWl0dGVyPGFueT4gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XHJcblxyXG4gIHB1YmxpYyB0b3BNYXJnaW5XZWJNb2JpbGVCaW5kOmJvb2xlYW4gPSB0cnVlO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHt9XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge31cclxuXHJcbiAgY2xvc2VDb25maWcoKTogdm9pZCB7XHJcbiAgICB0aGlzLm9uRG9uZUNsaWNrLmVtaXQoKTtcclxuICB9XHJcblxyXG4gIHNpZGViYXJCYWNrKHR5cGU/OnN0cmluZyk6IHZvaWQgeyAgICBcclxuICAgIHRoaXMub25TaWRlYmFyQmFja0NsaWNrLmVtaXQoKTsgICAgXHJcbiAgfVxyXG4gIC8qKlxyXG4gICAqIERvIENoZWNrIGV2ZW50XHJcbiAgICovXHJcbiAgIG5nRG9DaGVjaygpIHtcclxuICAgIHRoaXMuY3VycmVudFByZXZpZXdMYXlvdXQgPSBsb2NhbFN0b3JhZ2UuZ2V0SXRlbSgnY3VycmVudFByZXZpZXdMYXlvdXQnKTtcclxuICB9XHJcbiAgXHJcbiAgY2FsbEVsZW1lbnRDb250YWluZXIoZGF0YTphbnkpOnZvaWR7XHJcbiAgICAvL3RoaXMuY2FsbFBhcmVudENvbnRhaW5lci5lbWl0KGRhdGEpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19