import { __decorate } from "tslib";
import { Component, Input, Output, EventEmitter } from '@angular/core';
var VideoSidebarComponent = /** @class */ (function () {
    /**
     * constructor
     */
    function VideoSidebarComponent() {
        this.currentPreviewLayout = "desktop";
        /**
         * Input
         * @param model
         */
        this.showBackFor = '';
        /**
         * Input
         * @param model
         */
        this.onSidebarBackClick = new EventEmitter();
        this.callParentContainer = new EventEmitter();
        this.topMarginWebMobileBind = true;
        this.sourceURLError = false;
    }
    /**
     * NgOnint hook
     */
    VideoSidebarComponent.prototype.ngOnInit = function () {
    };
    /**
     * Do Check event
     */
    VideoSidebarComponent.prototype.ngDoCheck = function () {
        this.currentPreviewLayout = localStorage.getItem('currentPreviewLayout');
    };
    /**
     * @description
     * Back sidebar for Popup options only
     */
    VideoSidebarComponent.prototype.sidebarBack = function (type) {
        this.onSidebarBackClick.emit();
    };
    /*
    * OnChange of Color Picker
    */
    VideoSidebarComponent.prototype.changeColorPicker = function (event) {
        this.model.meta_data.background_color = event;
    };
    /*
    * Checking the value is undefined or not
    */
    VideoSidebarComponent.prototype.isUndefined = function (val) { return typeof val === 'undefined'; };
    VideoSidebarComponent.prototype.onChangeVideoURL = function (event) {
        var value = event.target.value;
        var pattern = new RegExp('^(https?:\\/\\/)?' + // protocol
            '((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name
            '((\\d{1,3}\\.){3}\\d{1,3}))' + // OR ip (v4) address
            '(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // port and path
            '(\\?[;&a-z\\d%_.~+=-]*)?' + // query string
            '(\\#[-a-z\\d_]*)?$', 'i'); // fragment locator
        if (value) {
            if (!!pattern.test(value)) {
                this.sourceURLError = false;
            }
            else {
                this.sourceURLError = true;
            }
        }
        else {
            this.sourceURLError = false;
        }
        //this.model.meta_data.video_type_value_mp4=value;
    };
    VideoSidebarComponent.prototype.onChangeEmbedCode = function (value) {
        this.model.meta_data.video_type_value_embed_code = value;
    };
    VideoSidebarComponent.prototype.callElementContainer = function (data) {
        // this.callParentContainer.emit(data);
    };
    __decorate([
        Input()
    ], VideoSidebarComponent.prototype, "model", void 0);
    __decorate([
        Input()
    ], VideoSidebarComponent.prototype, "showBackFor", void 0);
    __decorate([
        Output()
    ], VideoSidebarComponent.prototype, "onSidebarBackClick", void 0);
    __decorate([
        Output()
    ], VideoSidebarComponent.prototype, "callParentContainer", void 0);
    VideoSidebarComponent = __decorate([
        Component({
            selector: 'ew-element-video-sidebar',
            template: "<div class=\"elemets-ew-sidebar\" >\r\n    <div class=\"mat-widget-header tab-toggle-ew\">\r\n        <mat-icon *ngIf=\"showBackFor == 'popup'\" (click)=\"sidebarBack('popup')\">arrow_back</mat-icon>\r\n        <span class=\"title-content-ew\">{{ 'BUILDER.ELEMENTS.VIDEO' | translate }}</span>\r\n\r\n        <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        \r\n    </div>\r\n    <div class=\"elements-outer-sec-scroll   mat-toggle-multiple\">\r\n        <mat-button-toggle-group name=\"fontStyle\"  #tabOptions=\"matButtonToggleGroup\" aria-label=\"Font Style\">\r\n            <mat-button-toggle value=\"setting\" checked>{{ 'BUILDER.ELEMENTS.TABS.SETTINGS' | translate }}</mat-button-toggle>\r\n            <mat-button-toggle value=\"advanced\">{{ 'BUILDER.ELEMENTS.TABS.ADVANCED' | translate }}</mat-button-toggle>\r\n        </mat-button-toggle-group>\r\n\r\n        <div class=\" setting-tab\" *ngIf=\"tabOptions.value == 'setting'\">\r\n            <ew-element-show-hide [model]=\"model\" (callSideBar)=\"callElementContainer($event)\" ></ew-element-show-hide>\r\n            <div class=\"advance-title-sec-box\"><span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.MARGIN_LABEL' | translate }}</span></div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\" *ngIf=\"(this.currentPreviewLayout=='desktop')\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.TOP_MARGIN' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right\">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [(ngModel)]=\"model?.meta_data.margin_top\"  (input)=\"(model?.meta_data.margin_top=$event.value); \"  min=\"10\" max=\"100\" step=\"1\"></mat-slider>\r\n                        </span> <!--(topMarginWebMobileBind && model.meta_data.mobile_margin_top = $event.value)-->\r\n                        <span class=\"value-count-slider\">{{model?.meta_data.margin_top}} PX</span>\r\n                    </div>\r\n                </div>\r\n                <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                        -->\r\n                    </span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right slider-2-digit\"> <!--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                <div class=\"element-builder-row padding-elements-30-top\" *ngIf=\"(this.currentPreviewLayout=='desktop')\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.WIDTH' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right \">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [(ngModel)]=\"model?.meta_data.width\"  (input)=\"(model?.meta_data.width=$event.value)\"  min=\"0\" max=\"100\" step=\"1\"></mat-slider>\r\n                        </span>\r\n                        \r\n                        <span class=\"value-count-slider\">{{model?.meta_data.width}} %</span>\r\n                    </div>\r\n                </div>\r\n                <div class=\"element-builder-row padding-elements-30-top\" *ngIf=\"(this.currentPreviewLayout=='desktop')\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.ALIGN' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n                            <mat-select [(value)]=\"model?.meta_data.align\">\r\n                                <mat-option value=\"margin-right:auto;\">Left</mat-option>\r\n                                <mat-option value=\"margin-left:auto;margin-right:auto;\">Center</mat-option>\r\n                                <mat-option value=\"margin-left:auto;\">Right</mat-option>\r\n                            </mat-select>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <!-- <div class=\"builder-elements-outer ew-mobile-elements\">\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    \r\n                            <span class=\"mat-slider-inner\">\r\n                                <mat-slider [(ngModel)]=\"model?.meta_data.mobile_margin_top\"  (input)=\"(model?.meta_data.mobile_margin_top=$event.value)\"  min=\"10\" max=\"100\" step=\"1\"></mat-slider>\r\n                            </span>\r\n                            \r\n                            <span class=\"value-count-slider\">{{model?.meta_data.mobile_margin_top}} PX</span>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div> -->\r\n            \r\n            <div class=\"advance-title-sec-box\"><span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.VIDEO' | translate }}</span></div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row \">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.TYPE' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n                            <mat-select [(value)]=\"model?.meta_data.video_type\">\r\n                                <mat-option value=\"embed_code\">{{ 'BUILDER.ELEMENTS.EMBED_CODE' | translate }}</mat-option>\r\n                                <!-- <mat-option value=\"youtube\">{{ 'BUILDER.ELEMENTS.YOUTUBE_VIDEO' | translate }}</mat-option>\r\n                                <mat-option value=\"vimeo\">{{ 'BUILDER.ELEMENTS.VIMEO_VIDEO' | translate }}</mat-option>\r\n                                <mat-option value=\"wistia\">{{ 'BUILDER.ELEMENTS.WISTIA_VIDEO' | translate }}</mat-option> -->\r\n                                <mat-option value=\"mp4\">{{ 'BUILDER.ELEMENTS.VIDEO_URL' | translate }}</mat-option>\r\n                            </mat-select>                            \r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n                <div class=\"element-builder-row label-on-top padding-elements-30-top\"\r\n                    *ngIf=\"model?.meta_data.video_type == 'embed_code'\"\r\n                >\r\n                    <span class=\"builder-elements-name\" >{{ 'BUILDER.ELEMENTS.EMBED_CODE' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel builder-input-fields\">\r\n                            <!-- <input matInput  [(ngModel)]=\"model?.meta_data.video_type_value_embed_code\"> -->\r\n                            <textarea matInput \r\n                                name=\"video_type_value_embed_code\"\r\n                                [(ngModel)]=\"model?.meta_data.video_type_value_embed_code\"\r\n                                #video_type_value_embed_code='ngModel'\r\n                            ></textarea>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n\r\n                <div class=\"element-builder-row label-on-top padding-elements-30-top\"\r\n                    *ngIf=\"model?.meta_data.video_type !== 'embed_code'\"\r\n                >\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.VIDEO_URL' | translate }}</span>\r\n                    <div class=\"common-builder-right ew-with-help-text\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel builder-input-fields\">\r\n\r\n                            <input matInput  type=\"text\" \r\n                                [(ngModel)]=\"model?.meta_data.video_type_value_mp4\"\r\n                            >\r\n                            <!-- (ngModelChange)=\"onChangeVideoURL($event)\"\r\n                                (blur)=\"onChangeVideoURL($event)\" \r\n                                (focusout)=\"onChangeVideoURL($event)\"\r\n                            -->\r\n                        </mat-form-field>\r\n\r\n                        <div class=\"ew-builder-video-help-text\" *ngIf=\"model?.meta_data.video_type == 'mp4'\">{{ 'BUILDER.ELEMENTS.VIDEO_URL_HINT_MP4' | translate }}</div>\r\n                        <div class=\"ew-builder-video-help-text\" *ngIf=\"model?.meta_data.video_type !== 'mp4'\">{{ 'BUILDER.ELEMENTS.VIDEO_URL_HINT_THIRD_PARTY' | translate }}</div>\r\n\r\n                        <mat-error *ngIf=\"sourceURLError\">\r\n                            {{ 'BUILDER.ELEMENTS.VIDEO_URL_VALIDATION_ERROR' | translate }} \r\n                          </mat-error>\r\n\r\n                    </div>\r\n                    \r\n                </div>\r\n            </div>\r\n            <div class=\"advance-title-sec-box\"><span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.ELEMENT_BOX_LABEL' | translate }} </span></div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BG_COLOR' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field class=\"mat-form-field color-picker-mat embeded-color-widget-picker\" \r\n                            floatLabel=\"never\">\r\n                            <input matInput type=\"text\"\r\n                                [cpPosition]=\"'top'\"\r\n                                [cpAlphaChannel]=\"'disableAlpha'\"\r\n                                [cpOutputFormat]=\"'auto'\" \r\n                                [colorPicker]=\"model.meta_data?.background_color\"\r\n                                (colorPickerChange)=\"changeColorPicker($event)\"\r\n                                [ngModel]=\"model.meta_data?.background_color\"\r\n                            />\r\n                            <span class=\"color-picker-box\" [ngClass]=\"{'transparent-color-ew': (isUndefined(model.meta_data?.background_color) || model.meta_data?.background_color.slice(-2,-1) == '0') }\" [style.background-color]=\"model.meta_data?.background_color\"></span>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            \r\n\r\n            \r\n            <div class=\"advance-title-sec-box\"><span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.PADDINGS' | translate }}</span></div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.TOP' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right\">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [value]=\"model?.meta_data.padding_top\" (input)=\"model?.meta_data.padding_top = $event.value\" 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.padding_top }} px\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n    \r\n                <div class=\"element-builder-row padding-elements-30-top\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.RIGHT' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right \">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [value]=\"model?.meta_data.padding_right\" (input)=\"model?.meta_data.padding_right = $event.value\" 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.padding_right }} px\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n    \r\n                <div class=\"element-builder-row padding-elements-30-top\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.BOTTOM' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right \">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [value]=\"model?.meta_data.padding_bottom\" (input)=\"model?.meta_data.padding_bottom = $event.value\" 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.padding_bottom }} px\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n    \r\n                <div class=\"element-builder-row padding-elements-30-top\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.PADDING.LEFT' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right\">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [value]=\"model?.meta_data.padding_left\" (input)=\"model?.meta_data.padding_left = $event.value\" 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.padding_left }} px\r\n                        </span>\r\n                    </div>\r\n                </div>\r\n                <!-- <div class=\"element-builder-row padding-elements-builder-sidebar\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col m3 s3\">\r\n                            <div class=\"bottom-custom-design-fields\">\r\n                                <label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.TOP' | translate }}</label>\r\n                                <mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n                                    <input matInput [(ngModel)]=\"model?.meta_data.padding_top\" type=\"number\">\r\n                                </mat-form-field>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col m3 s3\">\r\n                            <div class=\"bottom-custom-design-fields\">\r\n                                <label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.RIGHT' | translate }}</label>\r\n                                <mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n                                    <input matInput [(ngModel)]=\"model?.meta_data.padding_right\" type=\"number\">\r\n                                </mat-form-field>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col m3 s3\">\r\n                            <div class=\"bottom-custom-design-fields\">\r\n                                <label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.BOTTOM' | translate }}</label>\r\n                                <mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n                                    <input matInput [(ngModel)]=\"model?.meta_data.padding_bottom\" type=\"number\">\r\n                                </mat-form-field>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col m3 s3\">\r\n                            <div class=\"bottom-custom-design-fields\">\r\n                                <label class=\"label-padding-sec\">{{ 'BUILDER.ELEMENTS.PADDING.LEFT' | translate }}</label>\r\n                                <mat-form-field class=\"ew-field-no-label\" floatLabel=\"never\">\r\n                                    <input matInput [(ngModel)]=\"model?.meta_data.padding_left\" type=\"number\">\r\n                                </mat-form-field>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div> -->\r\n            </div>\r\n        </div>\r\n\r\n        \r\n        <div class=\"advanced-tab\" *ngIf=\"tabOptions.value == 'advanced'\">\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BORDER_RADIUS' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right\">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [(ngModel)]=\"model?.meta_data.border_radius\"  (input)=\"(model?.meta_data.border_radius=$event.value)\"  min=\"0\" max=\"60\" step=\"1\"></mat-slider>\r\n                        </span>\r\n                        \r\n                        <span class=\"value-count-slider\">{{model?.meta_data.border_radius}} PX</span>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class=\"advance-title-sec-box\"><span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.BORDER' | translate }}</span></div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BORDER' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n                            <mat-select [(value)]=\"model?.meta_data.border_position\">\r\n                                <mat-option value=\"ew_border_top_bottom\">Top & Bottom</mat-option>\r\n                                <mat-option value=\"ew_border_top\">Top Only</mat-option>\r\n                                <mat-option value=\"ew_border_bottom\">Bottom Only</mat-option>\r\n                                <mat-option value=\"ew_border_left_right\">Left & Right</mat-option>\r\n                                <mat-option value=\"ew_border_left\">Left Only</mat-option>\r\n                                <mat-option value=\"ew_border_right\">Right Only</mat-option>\r\n                                <mat-option value=\"ew_full_border\">Full Border</mat-option>\r\n                                <mat-option value=\"ew_no_border\">No Border</mat-option>\r\n                            </mat-select>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n                <div class=\"element-builder-row padding-elements-30-top\"\r\n                    *ngIf=\"model?.meta_data.border_position != 'ew_no_border'\"\r\n                >\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.STYLE' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n                            <mat-select [(value)]=\"model?.meta_data.border_style\">\r\n                                <mat-option value=\"solid\">Solid</mat-option>\r\n                                <mat-option value=\"dashed\">Dashed</mat-option>\r\n                                <mat-option value=\"dotted\">Dotted</mat-option>\r\n                                <mat-option value=\"double\">Double</mat-option>\r\n                                <mat-option value=\"groove\">Groove</mat-option>\r\n                            </mat-select>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n                <div class=\"element-builder-row padding-elements-30-top\"\r\n                    *ngIf=\"model?.meta_data.border_position != 'ew_no_border'\"\r\n                >\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.SIZE' | translate }}</span>\r\n                    <div class=\"mat-slider-outer-part common-builder-right\">\r\n                        <span class=\"mat-slider-inner\">\r\n                            <mat-slider [(ngModel)]=\"model?.meta_data.border_size\"  (input)=\"(model?.meta_data.border_size=$event.value)\"  min=\"1\" max=\"100\" step=\"1\"></mat-slider>\r\n                        </span>\r\n                        \r\n                        <span class=\"value-count-slider\">{{model?.meta_data.border_size}} PX</span>\r\n                    </div>\r\n                </div>\r\n                <div class=\"element-builder-row  padding-elements-30-top\"\r\n                    *ngIf=\"model?.meta_data.border_position != 'ew_no_border'\"\r\n                >\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.BORDER_COLOR' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field class=\"mat-form-field color-picker-mat embeded-color-widget-picker\" floatLabel=\"never\">\r\n                            <input matInput type=\"text\"\r\n                                [cpPosition]=\"'top'\"\r\n                                [cpAlphaChannel]=\"'disableAlpha'\"\r\n                                [cpOutputFormat]=\"'auto'\"\r\n                                [colorPicker]=\"model?.meta_data.border_color\"                                          \r\n                                (colorPickerChange)=\"model.meta_data.border_color=$event\"\r\n                                [(ngModel)]=\"model?.meta_data.border_color\"\r\n                            />\r\n                            <span class=\"color-picker-box\" [style.background-color]=\"model?.meta_data.border_color\"></span>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n\r\n            <div class=\"advance-title-sec-box\">\r\n                <span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.BOX_SHADOW' | translate }}</span>\r\n            </div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.TYPE' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field floatLabel=\"never\" class=\"ew-field-without-lebel\">\r\n                            <mat-select [(value)]=\"model?.meta_data.box_shadow\">\r\n                                <mat-option value=\"ew-no-shadow\">No Shadow</mat-option>\r\n                                <mat-option value=\"ew-small-shadow\">Small</mat-option>\r\n                                <mat-option value=\"ew-medium-shadow\">Medium</mat-option>\r\n                                <mat-option value=\"ew-large-shadow\">Large</mat-option>\r\n                            </mat-select>\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class=\"advance-title-sec-box\">\r\n                <span class=\"title-advance-box\">{{ 'BUILDER.ELEMENTS.CUSTOM_CLASS' | translate }}</span>\r\n            </div>\r\n            <div class=\"builder-elements-outer\">\r\n                <div class=\"element-builder-row\">\r\n                    <span class=\"builder-elements-name\">{{ 'BUILDER.ELEMENTS.CUSTOM_CLASS_NAME' | translate }}</span>\r\n                    <div class=\"common-builder-right\">\r\n                        <mat-form-field class=\"ew-field-without-lebel builder-input-fields\" floatLabel=\"never\">\r\n                            <input matInput type=\"text\" [(ngModel)]=\"model?.meta_data.custom_class\">\r\n                        </mat-form-field>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n</div>",
            styles: [""]
        })
    ], VideoSidebarComponent);
    return VideoSidebarComponent;
}());
export { VideoSidebarComponent };
//# sourceMappingURL=data:application/json;base64, 