/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import * as tslib_1 from "tslib";
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { distanceInWordsToNow, addDays, differenceInDays, format } from 'date-fns';
import * as locale from 'date-fns/locale/es';
import * as es from 'date-fns/locale/es';
import groupBy from 'lodash/groupBy';
import deburr from 'lodash/fp/deburr';
import lowerCase from 'lodash/fp/lowerCase';
import sortBy from 'lodash/fp/sortBy';
import flow from 'lodash/fp/flow';
var ɵ0 = function (t) { return t.title; };
/** @type {?} */
var themesSort = sortBy(flow(ɵ0, deburr, lowerCase));
/** @type {?} */
var locales = { es: es };
/** @type {?} */
var placeholders = {
    es: 'Selecciona fecha'
};
/** @type {?} */
var defaultFormat = {
    es: 'D/MM/YYYY'
};
var ContentPublicatorComponent = /** @class */ (function () {
    function ContentPublicatorComponent() {
        this.close = new EventEmitter();
        this.resSelected = new EventEmitter();
        this.newTheme = new EventEmitter();
        this.showPreviewContent = new EventEmitter();
        this.isOpen = true;
        this.flag = false;
        this.contentEdit = false;
        this.tagsCustom = [];
        this.tagsContenido = [];
        this.role = 'teacher';
        this.defaultOptions = {
            barTitleFormat: 'MMMM YYYY',
            dayNamesFormat: 'dd',
            firstCalendarDay: 1,
            addClass: 'input',
            useEmptyBarTitle: false,
            locale: es
        };
    }
    Object.defineProperty(ContentPublicatorComponent.prototype, "value", {
        // form: FormGroup;
        get: 
        // form: FormGroup;
        /**
         * @return {?}
         */
        function () {
            return this.innerValue;
        },
        set: /**
         * @param {?} date
         * @return {?}
         */
        function (date) {
            if (this.innerValue !== date) {
                this.innerValue = date;
            }
            if (this.onChangeCallback) {
                this.onChangeCallback(this.innerValue);
            }
        },
        enumerable: true,
        configurable: true
    });
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
        this.getContEje();
        this.msgErrDatePlanning = false;
        this.sinceDate = distanceInWordsToNow(new Date(this.resource.processed_at), { locale: locale, addSuffix: true });
        this.startDate = this.dateSelect.selectedDate;
        this.endDate = this.dateSelect.selectedDate;
        if (this.dataEditResource) {
            this.endDate = addDays(addDays(this.dataEditResource.startDate, 1), this.dataEditResource.duration);
            this.startDate = addDays(this.dataEditResource.startDate, 1);
            this.themeSelect = this.dataEditResource.theme;
            this.theme = this.dataEditResource.theme;
            this.idContent = this.dataEditResource._id;
        }
        this.finalOptions = Object.assign({
            displayFormat: defaultFormat['es'],
            locale: locales['es'],
            placeholder: placeholders['es']
        }, this.defaultOptions, {}
        // this.options
        );
    };
    /**
     * @param {?} changes
     * @return {?}
     */
    ContentPublicatorComponent.prototype.ngOnChanges = /**
     * @param {?} changes
     * @return {?}
     */
    function (changes) {
        if (changes.resource) {
            if (this.resource.type === 'planning') {
                /** @type {?} */
                var groupedContents_1 = groupBy(this.resource.contents, 'theme._id');
                this.resourceProcessed = tslib_1.__assign({}, this.resource, { themes: this.resource.themes.map(function (theme) { return (tslib_1.__assign({}, theme, { contents: groupedContents_1[theme._id] })); }) });
            }
            else {
                this.resourceProcessed = this.resource;
            }
        }
    };
    /**
     * @param {?} t
     * @return {?}
     */
    ContentPublicatorComponent.prototype.selectThemeForContent = /**
     * @param {?} t
     * @return {?}
     */
    function (t) {
        this.theme = t;
    };
    /**
     * @param {?} date
     * @param {?} contents
     * @return {?}
     */
    ContentPublicatorComponent.prototype.validResources = /**
     * @param {?} date
     * @param {?} contents
     * @return {?}
     */
    function (date, contents) {
        /** @type {?} */
        var flagTmp = false;
        contents.map(function (c) {
            /** @type {?} */
            var dateCal = addDays(date, c.offset);
            if (format(dateCal, 'YYYY') > format(date, 'YYYY')) {
                flagTmp = true;
                return false;
            }
        });
        this.msgErrDatePlanning = flagTmp;
    };
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.closeModal = /**
     * @return {?}
     */
    function () {
        this.msgErrDatePlanning = false;
    };
    /**
     * @param {?} res
     * @return {?}
     */
    ContentPublicatorComponent.prototype.saveResourceSelected = /**
     * @param {?} res
     * @return {?}
     */
    function (res) {
        this.msgErr = '';
        this.msgErrT = '';
        this.flag = false;
        /** @type {?} */
        var startDate = format(this.startDate, 'YYYY-MM-DD');
        /** @type {?} */
        var endDate = format(this.endDate, 'YYYY-MM-DD');
        /** @type {?} */
        var durationCustom = differenceInDays(endDate, startDate);
        if (!this.startDate) {
            this.flag = true;
            this.msgErr = 'Debes seleccionar una fecha';
        }
        if (res.type !== 'planning') {
            if (durationCustom < 0) {
                this.flag = true;
                this.msgErr = 'La fecha de vencimiento no puede ser inferior a la fecha de disponibilidad';
            }
            if (!this.theme) {
                this.msgErrT = 'Debes elegir un tema';
                this.flag = true;
            }
        }
        if (!this.flag) {
            if (res.type !== 'planning') {
                this.data = {
                    'resource': [this.editObj(this.resourceProcessed)],
                    'theme': this.theme,
                    'date': this.startDate,
                    'idContent': this.idContent,
                    'duration': (durationCustom > 0) ? durationCustom : 1,
                    'update': (this.dataEditResource) ? true : false
                };
            }
            else {
                res.title = (this.titleE) ? this.titleE : this.resourceProcessed.title;
                this.data = { 'planning': res, 'date': this.startDate };
            }
            this.resSelected.emit(this.data);
            this.closePreview();
        }
    };
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.editResourceSelected = /**
     * @return {?}
     */
    function () {
        this.contentEdit = true;
    };
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.showPreview = /**
     * @return {?}
     */
    function () {
        this.showPreviewContent.emit();
    };
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.addTheme = /**
     * @return {?}
     */
    function () {
        this.newTheme.emit(true);
    };
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.closePreview = /**
     * @return {?}
     */
    function () {
        this.isOpen = false;
        this.close.emit(this.isOpen);
    };
    /**
     * @param {?} res
     * @return {?}
     */
    ContentPublicatorComponent.prototype.editObj = /**
     * @param {?} res
     * @return {?}
     */
    function (res) {
        /** @type {?} */
        var tagsCustom = this.tagsCustom.map(function (name) { return ({ name: name, type: 'manual' }); });
        return tslib_1.__assign({}, res, { 'abstract': (this.abstractE) ? this.abstractE : res.abstract, 'tags': (tagsCustom) ? res.tags.concat(tagsCustom) : res.tags, 'title': (this.titleE) ? this.titleE : res.title });
    };
    /**
     * @return {?}
     */
    ContentPublicatorComponent.prototype.getContEje = /**
     * @return {?}
     */
    function () {
        this.tagsContenido = themesSort(this.resourceProcessed.tags.filter(function (tag) { return tag.type === 'contenido'; }));
    };
    ContentPublicatorComponent.decorators = [
        { type: Component, args: [{
                    selector: 'bidi-content-publicator',
                    template: "<div\n    class=\"modal-content-container has-column-direction is-align-items-center is-content-center\"\n    [ngClass]=\"{'active': msgErrDatePlanning}\"\n>\n    <div class=\"modal-container\">\n        <div class=\"close-modal\">\n            <button\n                class=\"button\"\n                (click)=\"closeModal()\"\n            >\n                <svg class=\"icon-svg-tt-cancel icon has-text-dark\">\n                    <use :xlink:href=\"#icon-svg-tt-cancel\"></use>\n                </svg>\n            </button>\n        </div>\n        <div class=\"tt-modal-content\">\n            <div class=\"page-title modal-header\">\n                <h2 class=\"is-size-5\">Agregar Secuencia</h2>\n                <div\n                    class=\"modal-body\"\n                    style=\"max-height: 100%; overflow: unset;\"\n                >\n                    <div class=\"text-alert\">\n                        <h3 class=\"is-size-7\">\n                            Estas por agregar una secuencia con recursos que quedar\u00E1n planificados para el a\u00F1o\n              siguiente\n                        </h3>\n                    </div>\n                    <div class=\"buttons is-centered\">\n                        <button\n                            class=\"button is-tt-secondary is-outlined is-size-7 is-text-button\"\n                            (click)=\"closeModal()\"\n                        >\n                            cambiar\n              fecha\n                        </button>\n                        <button\n                            class=\"button is-tt-secondary is-outlined is-size-7 is-text-button\"\n                            (click)=\"saveResourceSelected(resourceProcessed)\"\n                        >\n                            continuar\n                        </button>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"content-preview\">\n    <!-- <div class=\"close-preview\">\n    <svg (click)=\"closePreview()\" class=\"icon-svg-tt-angle-right is-pulled-left\">\n      <use xlink:href=\"#icon-svg-tt-angle-right\"></use>\n    </svg>\n    <span (click)=\"closePreview()\" class=\"back-content\">Volver a atr\u00E1s</span>\n  </div> -->\n    <p class=\"t-is-size-3\">Asignar Contenido:</p>\n    <div class=\"has-overflow-auto is-full-height\">\n\n        <div class=\"editable-fields-container\">\n            <div class=\"is-pulled-right content-vote\">\n                <div class=\"buttons is-right\">\n                    <div (click)=\"showPreview()\">\n                        <a class=\"#\">\n                            <svg class=\"icon-bidi-preview icon\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n     width=\"512px\" height=\"512px\" viewBox=\"0 0 512 512\" style=\"enable-background:new 0 0 512 512;\" xml:space=\"preserve\">\n<style type=\"text/css\">\n    .st0{fill:#ADD8E6;}\n</style>\n<path class=\"st0\" d=\"M255,157.1c-55.7,0-110.1,63.3-133.4,97.8c18.3,26.8,72.7,98,133.4,98c55.7,0,110.1-63.3,133.4-97.8\n    C370.1,228.4,315.7,157.1,255,157.1z M255,313.7c-32.4,0-58.7-26.4-58.7-58.7s26.4-58.7,58.7-58.7s58.7,26.4,58.7,58.7\n    S287.4,313.7,255,313.7z\"/>\n<path class=\"st0\" d=\"M448.1,420.4c38.3-44.5,61.5-102.2,61.5-165.4C509.6,114.7,395.3,0.4,255,0.4S0.4,114.7,0.4,255\n    S114.7,509.6,255,509.6c63.2,0,120.9-23.2,165.4-61.5 M428.5,265.1c-3.1,5.2-76.9,127-173.5,127S84.6,270.3,81.5,265.1\n    c-3.7-6.1-3.7-13.8,0-20.1c3.1-5.2,76.9-127,173.5-127s170.4,121.8,173.5,127C432.2,251.1,432.2,258.9,428.5,265.1z\"/>\n<path class=\"st0\" d=\"M255,235.4c-10.8,0-19.6,8.7-19.6,19.6c0,10.8,8.7,19.6,19.6,19.6c10.9,0,19.6-8.7,19.6-19.6\n    C274.6,244.2,265.8,235.4,255,235.4z\"/>\n</svg>\n                        </a>\n                    </div>\n                    <bidi-rank\n                        [resourceId]=\"resource.id\"\n                        [role]=\"role\"\n                    ></bidi-rank>\n                </div>\n            </div>\n\n            <div style=\"margin-right: 39px;\">\n                <h3\n                    [textContent]=\"resourceProcessed.title\"\n                    (input)=\"titleE=$event.target.textContent\"\n                    [contentEditable]=\"contentEdit\"\n                    [ngClass]=\"{'editable': contentEdit}\"\n                >\n                    {{ resourceProcessed.title }}\n                </h3>\n                <!-- <div>\n          <p class=\"t-is-size-2 is-ff-regular\">Subido por: {{ resourceProcessed.user }} {{ sinceDate }}</p>\n        </div> -->\n\n                <bidi-content-ratings [resourceId]=\"resource.id\"></bidi-content-ratings>\n\n            </div>\n        </div>\n        <!-- <div class=\"content-tags\">\n      <p class=\"is-size-6 is-ff-light is-uppercase\">Aborda </p>\n      <ul>\n        <li *ngFor=\"let contTag of tagsContenido\">{{ contTag.name }}</li>\n      </ul>\n    </div> -->\n        <div *ngIf=\"resourceProcessed.type !== 'planning'\">\n\n            <div class=\"field\">\n                <div class=\"control is-expanded\">\n                    <label\n                        for\n                        class=\"t-is-size-2 is-ff-bold\"\n                    >\n                        Eje tem\u00E1tico\n                    </label>\n                    <div class=\"select is-full-widthselect is-full-width\">\n                        <select\n                            [(ngModel)]=\"theme\"\n                            (change)=\"selectThemeForContent(theme)\"\n                            class=\"is-full-width tooltip\"\n                            placeholder=\"Selecciona un tema\"\n                        >\n                            <option\n                                selected=\"selected\"\n                                *ngIf=\"!themeSelect\"\n                            >\n                                Seleccionar Tema\n                            </option>\n                            <option\n                                *ngIf=\"themeSelect\"\n                                [ngValue]=\"themeSelect\"\n                            >\n                                {{ themeSelect.title }}\n                            </option>\n                            <ng-container *ngFor=\"let theme of themes; index as i\">\n                                    <span *ngIf=\"theme.abstract\" class=\"tooltiptext\">{{\n                                            theme.abstract\n                                          }}</span>\n                                <option\n                                    *ngIf=\"themeSelect && themeSelect._id !== theme._id\"\n                                    [ngValue]=\"theme\"\n                                    title=\"{{theme.abstract}}\"\n                                >\n                                    {{ theme.title }}\n                                </option>\n                                <option\n                                    *ngIf=\"!themeSelect\"\n                                    [ngValue]=\"theme\"\n                                    title=\"{{theme.abstract}}\"\n                                >\n                                    {{ theme.title }}\n                                </option>\n                            </ng-container>\n                        </select>\n                    </div>\n                </div>\n                <!-- <p class=\"help\">Es recomendable que el contenido que agregues est\u00E9 subordinado a un tema\n          De este modo tu estudiante podr\u00E1 contextualizarlo. Tambien puedes <span class=\"has-text-tt-secondary\"\n            (click)=\"addTheme()\" style=\"cursor: pointer;\">crear un nuevo tema</span></p> -->\n            </div>\n        </div>\n\n        <div class=\"content-data-extra\">\n            <p class=\"t-is-size-2 is-ff-bold\">\n                \u00BFCu\u00E1ndo vas a trabajar con este contenido?\n            </p>\n            <div class=\"columns\">\n                <div class=\"column is-relative\">\n                    <div class=\"field\">\n                        <label\n                            for\n                            class=\"t-is-size-3 is-ff-bold\"\n                        >\n                            Desde\n                        </label>\n                        <div class=\"control\">\n                            <ng-datepicker\n                                *ngIf=\"resourceProcessed.type !== 'planning'\"\n                                [(ngModel)]=\"startDate\"\n                                [options]=\"finalOptions\"\n                                class=\"small\"\n                                position=\"bottom-left\"\n                            ></ng-datepicker>\n                            <ng-datepicker\n                                *ngIf=\"resourceProcessed.type === 'planning'\"\n                                (ngModelChange)=\"validResources($event, resourceProcessed.contents)\"\n                                [(ngModel)]=\"startDate\"\n                                [options]=\"finalOptions\"\n                                class=\"small\"\n                                position=\"bottom-right\"\n                            >\n                            </ng-datepicker>\n                        </div>\n                        <p class=\"help\">\n                            Fecha en que el contenido estar\u00E1 disponible para tus estudiantes\n                        </p>\n                    </div>\n                </div>\n                <div\n                    *ngIf=\"resourceProcessed.type !== 'planning'\"\n                    class=\"column is-relative\"\n                >\n                    <div class=\"field\">\n                        <label class=\"t-is-size-3 is-ff-bold\">Hasta</label>\n                        <div class=\"control\">\n                            <ng-datepicker\n                                [(ngModel)]=\"endDate\"\n                                [options]=\"finalOptions\"\n                                class=\"small\"\n                            ></ng-datepicker>\n                        </div>\n                        <p class=\"help\">\n                            Fecha de entrega que ver\u00E1n tus estudiantes en TICMAS ESTUDIANTES\n                        </p>\n                    </div>\n                </div>\n            </div>\n            <div\n                class=\"field\"\n                *ngIf=\"resourceProcessed.type !== 'planning'\"\n                class=\"tags-custom\"\n            >\n                <label\n                    for\n                    class=\"t-is-size-2 is-ff-bold\"\n                >\n                    Asigna nuevas palabras claves para que se m\u00E1s f\u00E1cil encontrarlo:\n                </label>\n                <div class=\"control\">\n                    <tag-input\n                        [(ngModel)]='tagsCustom'\n                        placeholder=\"Ingresa un nuevo tag\"\n                        secondaryPlaceholder=\"Ingresa un tag\"\n                    ></tag-input>\n                </div>\n            </div>\n        </div>\n        <div class=\"msg-date-err\">\n            <label\n                *ngIf=\"msgErr\"\n                class=\"is-size-7 is-ff-regular has-text-danger\"\n            >\n                {{ msgErr }}\n            </label>\n        </div>\n        <div class=\"msg-date-err\">\n            <label\n                *ngIf=\"msgErrT\"\n                class=\"is-size-7 is-ff-regular has-text-danger\"\n            >\n                {{ msgErrT }}\n            </label>\n        </div>\n        <div class=\"buttons\">\n            <button\n                class=\"button is-tt primary\"\n                (click)=\"saveResourceSelected(resourceProcessed)\"\n            >\n                publicar\n            </button>\n            <button\n                class=\"button is-tt\"\n                (click)=\"closePreview()\"\n            >\n                volver\n            </button>\n        </div>\n        <div class=\"tag-container\">\n            <p class=\"t-is-size-2 is-ff-bold\">Palabras clave ya asignadas:</p>\n            <span\n                *ngFor=\"let tag of resourceProcessed.tags\"\n                class=\"t-is-size-3 is-ff-bold\"\n            >\n                #{{tag.name}},\n            </span>\n        </div>\n\n    </div>\n</div>\n",
                    styles: ["h3{font-family:latobold;font-size:16px}.primary{background-color:#2e7d33!important}.buttons{align-items:unset!important}.content-preview{height:100%;padding:1.6em}.content-preview .columns{padding-bottom:0;height:100%;margin-right:0;margin-top:0}.content-preview .columns .column{height:100%;padding-bottom:0;padding-right:0;padding-top:0}.content-preview .close-preview{height:25px}.content-preview .back-content{font-style:oblique;position:absolute;margin-top:5px}.content-preview .tooltip{cursor:pointer;position:relative;display:inline-block;border-bottom:1px dotted #000}.content-preview .tooltip .tooltiptext{visibility:hidden;width:250px;background-color:#333;color:#fff;text-align:center;padding:5px 0;border-radius:6px;position:absolute;z-index:1}.content-preview .tooltip:hover .tooltiptext{visibility:visible}iframe{width:100%;height:100%}iframe.video-container{height:56.25%;background:#000}.planification-preview-content{height:100%;overflow:auto}.planification-preview-content ul{margin:9px 0 0;list-style:none}.planification-preview-content ul li h3,.planification-preview-content ul li p{margin-bottom:0}.planification-preview-content .resource-preview{padding:7px;border:1px solid #0cf;width:97%}.editable{border:2px solid #0cf;padding:3px;margin-bottom:2px}.btn-actions{text-align:center;padding:4%}.btn-actions .button{margin-left:1%}.tag-container{margin-top:10px}.editable-fields-container h3::first-letter,.editable-fields-container p::first-letter{text-transform:uppercase}.help{width:180px}.ngx-datepicker-container .ngx-datepicker-input{margin-top:0!important}.modal-content-container{position:fixed;z-index:1000;top:0;left:-125.6%;right:0;bottom:0;background:rgba(0,0,0,.5);display:none}.modal-content-container.active{display:flex}.modal-container{background:#fff;width:50%;height:auto}.modal-container label{display:inline-block;font-size:.8em!important;margin-bottom:4px}.modal-container .title{font-size:1.2em;padding-top:13px}.modal-container input{margin-bottom:7px}.modal-container .tt-modal-content .modal-header{margin-bottom:15px;padding:10px}.modal-container .tt-modal-content .modal-body{max-height:160px;overflow-y:auto;overflow-x:hidden;min-height:120px;padding:15px}.modal-container .tt-modal-content .modal-footer{padding:15px}.close-modal{float:right}.text-alert{margin:5%}.tags-custom{margin-bottom:23px}.tags-custom .ng2-tag-input{border:1px solid #e5e5e5!important;margin-top:6px!important;padding:0!important}.ratings{width:45%}.ratings-user{float:right;width:45%;padding-top:5%}.content-vote{width:23%}.vote{margin-left:5%}.vote-start{margin-top:-15%;padding:7px;box-shadow:0 2px 8px rgba(0,0,0,.2);transition:.25s}.ratings-user-detail{float:right;margin-left:15%}.ec-stars-wrapper{font-size:0;display:inline-block;position:relative}.ec-stars-wrapper a{text-decoration:none;display:inline-block;font-size:2rem;color:#ffce34}.ec-stars-overlay{position:absolute;height:100%;right:0;top:0;background-color:rgba(255,255,255,.5);zoom:1}.ec-stars-wrapper-vote:hover a{color:#ffce34}.ec-stars-wrapper-vote a{text-decoration:none;display:inline-block;font-size:2rem;color:#eee}.ec-stars-wrapper-vote>a:hover~a{color:#eee}.ng2-tags-container tag{margin-top:-4px;padding:.01rem .5rem;height:28px;font-size:.9rem}"]
                }] }
    ];
    /** @nocollapse */
    ContentPublicatorComponent.ctorParameters = function () { return []; };
    ContentPublicatorComponent.propDecorators = {
        resource: [{ type: Input }],
        saveResource: [{ type: Input }],
        themes: [{ type: Input }],
        dataEditResource: [{ type: Input }],
        dateSelect: [{ type: Input }],
        close: [{ type: Output }],
        resSelected: [{ type: Output }],
        newTheme: [{ type: Output }],
        showPreviewContent: [{ type: Output }]
    };
    return ContentPublicatorComponent;
}());
export { ContentPublicatorComponent };
if (false) {
    /** @type {?} */
    ContentPublicatorComponent.prototype.resource;
    /** @type {?} */
    ContentPublicatorComponent.prototype.saveResource;
    /** @type {?} */
    ContentPublicatorComponent.prototype.themes;
    /** @type {?} */
    ContentPublicatorComponent.prototype.dataEditResource;
    /** @type {?} */
    ContentPublicatorComponent.prototype.dateSelect;
    /** @type {?} */
    ContentPublicatorComponent.prototype.close;
    /** @type {?} */
    ContentPublicatorComponent.prototype.resSelected;
    /** @type {?} */
    ContentPublicatorComponent.prototype.newTheme;
    /** @type {?} */
    ContentPublicatorComponent.prototype.showPreviewContent;
    /** @type {?} */
    ContentPublicatorComponent.prototype.isOpen;
    /** @type {?} */
    ContentPublicatorComponent.prototype.themeSelect;
    /** @type {?} */
    ContentPublicatorComponent.prototype.theme;
    /** @type {?} */
    ContentPublicatorComponent.prototype.sinceDate;
    /** @type {?} */
    ContentPublicatorComponent.prototype.data;
    /** @type {?} */
    ContentPublicatorComponent.prototype.finalOptions;
    /** @type {?} */
    ContentPublicatorComponent.prototype.resourceProcessed;
    /** @type {?} */
    ContentPublicatorComponent.prototype.idContent;
    /** @type {?} */
    ContentPublicatorComponent.prototype.startDate;
    /** @type {?} */
    ContentPublicatorComponent.prototype.endDate;
    /** @type {?} */
    ContentPublicatorComponent.prototype.flag;
    /** @type {?} */
    ContentPublicatorComponent.prototype.msgErr;
    /** @type {?} */
    ContentPublicatorComponent.prototype.msgErrT;
    /** @type {?} */
    ContentPublicatorComponent.prototype.msgErrDatePlanning;
    /** @type {?} */
    ContentPublicatorComponent.prototype.contentEdit;
    /** @type {?} */
    ContentPublicatorComponent.prototype.titleE;
    /** @type {?} */
    ContentPublicatorComponent.prototype.abstractE;
    /** @type {?} */
    ContentPublicatorComponent.prototype.tagsCustom;
    /** @type {?} */
    ContentPublicatorComponent.prototype.tagsContenido;
    /**
     * @type {?}
     * @private
     */
    ContentPublicatorComponent.prototype.innerValue;
    /**
     * @type {?}
     * @private
     */
    ContentPublicatorComponent.prototype.onChangeCallback;
    /** @type {?} */
    ContentPublicatorComponent.prototype.role;
    /**
     * @type {?}
     * @private
     */
    ContentPublicatorComponent.prototype.defaultOptions;
}
export { ɵ0 };
//# sourceMappingURL=data:application/json;base64, 