exports.ids = [44];
exports.modules = {

/***/ "JAJw":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TelefoneValidator; });
/* harmony import */ var src_app_shared_utils_string_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8n1d");

function TelefoneValidator(control) {
    if (control.value && control.value.trim()) {
        const pattern = /^([\+][0-9]{1,3}([ \.\-])?)?([\(][0-9]{1,6}[\)])?([0-9 \.\-]{1,32})(([A-Za-z \:]{1,11})?[0-9]{1,4}?)$/;
        const regex = new RegExp(pattern, 'g');
        const numero = src_app_shared_utils_string_util__WEBPACK_IMPORTED_MODULE_0__[/* StringUtil */ "a"].removeAllSpecialChars(control.value);
        if (!regex.test(control.value) || numero.length < 10 || src_app_shared_utils_string_util__WEBPACK_IMPORTED_MODULE_0__[/* StringUtil */ "a"].isRepeatedChars(numero)) {
            return { invalidPhone: true };
        }
    }
    return null;
}


/***/ }),

/***/ "JmCY":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return NavExtrasService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8Y7J");

class NavExtrasService {
    constructor() { }
    setExtras(...data) {
        this.extras = data;
    }
    getExtras() {
        return this.extras;
    }
    resetExtras() {
        this.extras = null;
    }
}
NavExtrasService.ngInjectableDef = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ factory: function NavExtrasService_Factory() { return new NavExtrasService(); }, token: NavExtrasService, providedIn: "root" });


/***/ }),

/***/ "QM7m":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RenderType_DropdownMenuComponent; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return View_DropdownMenuComponent_0; });
/* unused harmony export View_DropdownMenuComponent_Host_0 */
/* unused harmony export DropdownMenuComponentNgFactory */
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8Y7J");
/* harmony import */ var _node_modules_nebular_theme_index_ngfactory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("jXVt");
/* harmony import */ var _nebular_theme__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tKwJ");
/* harmony import */ var _node_modules_fortawesome_angular_fontawesome_angular_fontawesome_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("fNgX");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("SVse");
/* harmony import */ var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("Nv++");
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("cUpR");
/* harmony import */ var _dropdown_menu_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("jEJX");
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 








var styles_DropdownMenuComponent = [];
var RenderType_DropdownMenuComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({ encapsulation: 2, styles: styles_DropdownMenuComponent, data: {} });

function View_DropdownMenuComponent_1(_l) { return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.label; _ck(_v, 1, 0, currVal_0); }); }
function View_DropdownMenuComponent_0(_l) { return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 11, "button", [["nbButton", ""], ["nbContextMenuTag", "context-menu-dropdown"], ["size", "small"], ["type", "button"]], [[1, "disabled", 0], [2, "appearance-filled", null], [2, "appearance-outline", null], [2, "appearance-ghost", null], [2, "appearance-hero", null], [2, "full-width", null], [1, "aria-disabled", 0], [2, "btn-disabled", null], [1, "tabindex", 0], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-round", null], [2, "shape-semi-round", null], [2, "icon-start", null], [2, "icon-end", null], [2, "transitions", null], [2, "context-menu-host", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
        var pd_0 = (_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onClick($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, _node_modules_nebular_theme_index_ngfactory__WEBPACK_IMPORTED_MODULE_1__[/* View_NbButtonComponent_0 */ "M"], _node_modules_nebular_theme_index_ngfactory__WEBPACK_IMPORTED_MODULE_1__[/* RenderType_NbButtonComponent */ "p"])), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4243456, null, 0, _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbButtonComponent */ "L"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], { size: [0, "size"], status: [1, "status"], appearance: [2, "appearance"], fullWidth: [3, "fullWidth"] }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](512, null, _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbDynamicOverlay */ "Tb"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbDynamicOverlay */ "Tb"], [_nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbOverlayService */ "Gc"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbOverlayContainer */ "Bc"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](512, null, _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbDynamicOverlayHandler */ "Ub"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbDynamicOverlayHandler */ "Ub"], [_nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbPositionBuilderService */ "Oc"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbTriggerStrategyBuilderService */ "de"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbDynamicOverlay */ "Tb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 4931584, null, 0, _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbContextMenuDirective */ "Fb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbMenuService */ "wc"], _nebular_theme__WEBPACK_IMPORTED_MODULE_2__[/* NbDynamicOverlayHandler */ "Ub"]], { tag: [0, "tag"], items: [1, "items"] }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, 0, 4, "fa-icon", [["class", "ng-fa-icon"]], [[1, "title", 0], [8, "innerHTML", 1]], null, null, _node_modules_fortawesome_angular_fontawesome_angular_fontawesome_ngfactory__WEBPACK_IMPORTED_MODULE_3__[/* View_FaIconComponent_0 */ "d"], _node_modules_fortawesome_angular_fontawesome_angular_fontawesome_ngfactory__WEBPACK_IMPORTED_MODULE_3__[/* RenderType_FaIconComponent */ "c"])), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](512, null, _angular_common__WEBPACK_IMPORTED_MODULE_4__[/* ɵNgClassImpl */ "K"], _angular_common__WEBPACK_IMPORTED_MODULE_4__[/* ɵNgClassR2Impl */ "L"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__[/* NgClass */ "m"], [_angular_common__WEBPACK_IMPORTED_MODULE_4__[/* ɵNgClassImpl */ "K"]], { ngClass: [0, "ngClass"] }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](8, { "mr-2": 0 }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 573440, null, 0, _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_5__[/* FaIconComponent */ "c"], [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__[/* DomSanitizer */ "b"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_5__[/* FaConfig */ "a"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_5__[/* FaIconLibrary */ "d"], [2, _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_5__[/* FaStackItemSizeDirective */ "i"]]], { icon: [0, "icon"] }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DropdownMenuComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__[/* NgIf */ "o"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_28 = "small"; var currVal_29 = _co.status; var currVal_30 = _co.appearance; var currVal_31 = !_co.isResponsive; _ck(_v, 1, 0, currVal_28, currVal_29, currVal_30, currVal_31); var currVal_32 = "context-menu-dropdown"; var currVal_33 = _co.optionsList; _ck(_v, 4, 0, currVal_32, currVal_33); var currVal_36 = _ck(_v, 8, 0, !_co.isResponsive); _ck(_v, 7, 0, currVal_36); var currVal_37 = _co.icon; _ck(_v, 9, 0, currVal_37); var currVal_38 = !_co.isResponsive; _ck(_v, 11, 0, currVal_38); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.isLoading ? true : null); var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).filled; var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).outline; var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).ghost; var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hero; var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).fullWidth; var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).disabled; var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).disabled; var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).tabbable; var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).tiny; var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).small; var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).medium; var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).large; var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).giant; var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).primary; var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).info; var currVal_16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).success; var currVal_17 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).warning; var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).danger; var currVal_19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).basic; var currVal_20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).control; var currVal_21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).rectangle; var currVal_22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).round; var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).semiRound; var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).iconLeft; var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).iconRight; var currVal_26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).transitions; var currVal_27 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).contextMenuHost; _ck(_v, 0, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27]); var currVal_34 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 9).title; var currVal_35 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 9).renderedIconHTML; _ck(_v, 5, 0, currVal_34, currVal_35); }); }
function View_DropdownMenuComponent_Host_0(_l) { return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "omni-dropdown-menu", [], null, null, null, View_DropdownMenuComponent_0, RenderType_DropdownMenuComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 114688, null, 0, _dropdown_menu_component__WEBPACK_IMPORTED_MODULE_7__[/* DropdownMenuComponent */ "a"], [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var DropdownMenuComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("omni-dropdown-menu", _dropdown_menu_component__WEBPACK_IMPORTED_MODULE_7__[/* DropdownMenuComponent */ "a"], View_DropdownMenuComponent_Host_0, { appearance: "appearance", icon: "icon", isLoading: "isLoading", label: "label", mode: "mode", optionsList: "optionsList", status: "status" }, {}, []);



/***/ }),

/***/ "a0Ve":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* unused harmony export PerfilDoUsuario */
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PERFIL_USUARIO; });
class PerfilDoUsuario {
    constructor(id, descricao) {
        this.id = id;
        this.descricao = descricao;
    }
}
const PERFIL_USUARIO = {
    ADMINISTRADOR: new PerfilDoUsuario(1, 'Administrador'),
    CLIENTE: new PerfilDoUsuario(2, 'Cliente'),
    EMPRESA: new PerfilDoUsuario(3, 'Empresa'),
    VENDEDOR: new PerfilDoUsuario(4, 'Vendedor')
};


/***/ }),

/***/ "iqQw":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Perfil; });
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("05o1");

class Perfil extends _resource__WEBPACK_IMPORTED_MODULE_0__[/* Resource */ "a"] {
    constructor(id) {
        super();
        this.id = id || null;
    }
}


/***/ }),

/***/ "iufN":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Usuario; });
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("05o1");

class Usuario extends _resource__WEBPACK_IMPORTED_MODULE_0__[/* Resource */ "a"] {
    constructor(login, senha, confirmacaoSenha) {
        super();
        this.login = login || '';
        this.senha = senha || '';
        this.confirmacaoSenha = confirmacaoSenha || '';
        this.bloqueado = false;
        this.demonstracao = false;
    }
}


/***/ }),

/***/ "rUkH":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/@angular/core/fesm2015/core.js
var core = __webpack_require__("8Y7J");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers.module.ts
class SalersModule {
}

// EXTERNAL MODULE: ./node_modules/@fortawesome/angular-fontawesome/angular-fontawesome.ngfactory.js
var angular_fontawesome_ngfactory = __webpack_require__("fNgX");

// EXTERNAL MODULE: ./node_modules/@angular/router/router.ngfactory.js
var router_ngfactory = __webpack_require__("pMnS");

// EXTERNAL MODULE: ./node_modules/@nebular/theme/index.ngfactory.js
var index_ngfactory = __webpack_require__("jXVt");

// EXTERNAL MODULE: ./node_modules/@nebular/theme/fesm2015/index.js + 5 modules
var fesm2015 = __webpack_require__("tKwJ");

// EXTERNAL MODULE: ./node_modules/@fortawesome/angular-fontawesome/fesm2015/angular-fontawesome.js
var angular_fontawesome = __webpack_require__("Nv++");

// EXTERNAL MODULE: ./node_modules/@angular/platform-browser/fesm2015/platform-browser.js
var platform_browser = __webpack_require__("cUpR");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/grid-label/grid-label.component.ngfactory.js
var grid_label_component_ngfactory = __webpack_require__("3xHq");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/grid-label/grid-label.component.ts
var grid_label_component = __webpack_require__("uddK");

// EXTERNAL MODULE: ./node_modules/@angular/common/fesm2015/common.js
var common = __webpack_require__("SVse");

// EXTERNAL MODULE: ./src/app/shared/ui/dropdown-menu/dropdown-menu.component.ngfactory.js
var dropdown_menu_component_ngfactory = __webpack_require__("QM7m");

// EXTERNAL MODULE: ./src/app/shared/ui/dropdown-menu/dropdown-menu.component.ts + 1 modules
var dropdown_menu_component = __webpack_require__("jEJX");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/pagination/pagination.component.ngfactory.js + 1 modules
var pagination_component_ngfactory = __webpack_require__("tHyn");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/pagination/pagination.component.ts
var pagination_component = __webpack_require__("HJd8");

// EXTERNAL MODULE: ./src/app/shared/pipes/telefone.pipe.ts
var telefone_pipe = __webpack_require__("/8qz");

// EXTERNAL MODULE: ./src/app/shared/ui/page-title/page-title.component.ngfactory.js + 1 modules
var page_title_component_ngfactory = __webpack_require__("laEC");

// EXTERNAL MODULE: ./src/app/shared/ui/page-title/page-title.component.ts
var page_title_component = __webpack_require__("S4p5");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/filter/filter.component.ngfactory.js
var filter_component_ngfactory = __webpack_require__("vtHt");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/filter/filter.component.ts
var filter_component = __webpack_require__("4J+U");

// EXTERNAL MODULE: ./src/app/shared/ui/inline-loader/inline-loader.component.ngfactory.js
var inline_loader_component_ngfactory = __webpack_require__("T9fw");

// EXTERNAL MODULE: ./src/app/shared/ui/inline-loader/inline-loader.component.ts
var inline_loader_component = __webpack_require__("IGDG");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/form-filter/form-filter.component.ngfactory.js + 1 modules
var form_filter_component_ngfactory = __webpack_require__("OQs5");

// EXTERNAL MODULE: ./src/app/shared/ui/datagrid/form-filter/form-filter.component.ts
var form_filter_component = __webpack_require__("/gwA");

// EXTERNAL MODULE: ./node_modules/@angular/forms/fesm2015/forms.js
var fesm2015_forms = __webpack_require__("s7LF");

// EXTERNAL MODULE: ./src/app/shared/ui/field/field.component.ngfactory.js + 1 modules
var field_component_ngfactory = __webpack_require__("jZyr");

// EXTERNAL MODULE: ./src/app/shared/ui/field/field.component.ts
var field_component = __webpack_require__("jaPl");

// EXTERNAL MODULE: ./src/app/shared/base/base-form/base-form-filter-component.ts
var base_form_filter_component = __webpack_require__("4ILO");

// EXTERNAL MODULE: ./src/app/shared/consts/query-operators.ts
var query_operators = __webpack_require__("AtRd");

// EXTERNAL MODULE: ./src/app/shared/utils/string.util.ts
var string_util = __webpack_require__("8n1d");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-filter/salers-filter.component.ts




class salers_filter_component_SalersFilterComponent extends base_form_filter_component["a" /* BaseFormFilterComponent */] {
    constructor(fb) {
        super();
        this.fb = fb;
    }
    ngOnInit() {
        this.initForm();
    }
    applyFilter() {
        this.filters = [];
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.nome)) {
            this.filters.push({
                key: 'nome',
                label: 'Nome',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.nome,
                tagValue: this.formData.nome
            });
        }
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.login)) {
            this.filters.push({
                key: 'login',
                label: 'Login',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.login,
                tagValue: this.formData.login
            });
        }
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.bloqueado)) {
            this.filters.push({
                key: 'bloqueado',
                label: 'Vendedor bloqueado?',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.bloqueado,
                tagValue: this.formData.bloqueado ? 'Sim' : 'Não'
            });
        }
        this.saveFilterState(this.filters);
        this.doFilter.emit(this.filters);
    }
    initForm() {
        this.formFilter = this.fb.group({
            nome: [''],
            login: [''],
            bloqueado: [null]
        });
    }
    refreshFilterState() {
        if (this.getFilterState()) {
            this.getFilterState().criterias.forEach((criteria) => {
                this.formFilter.get(criteria.key).setValue(criteria.value);
            });
        }
    }
    resetFilter() {
        this.filters = [];
        this.isDisabled = false;
        this.doFilter.emit(this.filters);
    }
}

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-filter/salers-filter.component.ngfactory.js
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 







var styles_SalersFilterComponent = [];
var RenderType_SalersFilterComponent = core["ɵcrt"]({ encapsulation: 2, styles: styles_SalersFilterComponent, data: {} });

function View_SalersFilterComponent_0(_l) { return core["ɵvid"](0, [core["ɵqud"](402653184, 1, { formFilterRef: 0 }), (_l()(), core["ɵeld"](1, 0, null, null, 51, "form", [["novalidate", ""]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngSubmit"], [null, "submit"], [null, "reset"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("submit" === en)) {
        var pd_0 = (core["ɵnov"](_v, 3).onSubmit($event) !== false);
        ad = (pd_0 && ad);
    } if (("reset" === en)) {
        var pd_1 = (core["ɵnov"](_v, 3).onReset() !== false);
        ad = (pd_1 && ad);
    } if (("ngSubmit" === en)) {
        var pd_2 = (_co.onSubmit() !== false);
        ad = (pd_2 && ad);
    } return ad; }, null, null)), core["ɵdid"](2, 16384, null, 0, fesm2015_forms["D" /* ɵangular_packages_forms_forms_z */], [], null, null), core["ɵdid"](3, 540672, null, 0, fesm2015_forms["l" /* FormGroupDirective */], [[8, null], [8, null]], { form: [0, "form"] }, { ngSubmit: "ngSubmit" }), core["ɵprd"](2048, null, fesm2015_forms["d" /* ControlContainer */], null, [fesm2015_forms["l" /* FormGroupDirective */]]), core["ɵdid"](5, 16384, null, 0, fesm2015_forms["t" /* NgControlStatusGroup */], [[4, fesm2015_forms["d" /* ControlContainer */]]], null, null), (_l()(), core["ɵeld"](6, 0, null, null, 46, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](7, 0, null, null, 45, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](8, 0, null, null, 9, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](9, 0, null, null, 8, "omni-field", [["field", "nome"], ["label", "Nome"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](10, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"] }, null), (_l()(), core["ɵeld"](11, 0, null, 0, 6, "input", [["formControlName", "nome"], ["fullWidth", ""], ["name", "nome"], ["nbInput", ""], ["placeholder", "Informe o Nome do Vendedor"], ["status", "primary"], ["type", "text"]], [[1, "readonly", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 13)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 13).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 13)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 13)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](12, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](13, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](15, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](17, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](18, 0, null, null, 9, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](19, 0, null, null, 8, "omni-field", [["field", "login"], ["label", "Login"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](20, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"] }, null), (_l()(), core["ɵeld"](21, 0, null, 0, 6, "input", [["formControlName", "login"], ["fullWidth", ""], ["name", "login"], ["nbInput", ""], ["placeholder", "Informe a Descri\u00E7\u00E3o"], ["status", "primary"], ["type", "text"]], [[1, "readonly", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 23)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 23).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 23)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 23)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](22, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](23, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](25, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](27, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](28, 0, null, null, 15, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](29, 0, null, null, 14, "omni-field", [["endLabelChar", "?"], ["field", "bloqueado"], ["label", "Usu\u00E1rio bloqueado"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](30, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], endLabelChar: [3, "endLabelChar"] }, null), (_l()(), core["ɵeld"](31, 0, null, 0, 12, "nb-radio-group", [["class", "d-flex flex-row align-items-center"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], null, null, index_ngfactory["cb" /* View_NbRadioGroupComponent_0 */], index_ngfactory["F" /* RenderType_NbRadioGroupComponent */])), core["ɵdid"](32, 1228800, null, 1, fesm2015["Uc" /* NbRadioGroupComponent */], [core["ElementRef"], core["PLATFORM_ID"], fesm2015["g" /* NB_DOCUMENT */]], null, null), core["ɵqud"](603979776, 2, { radios: 1 }), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015["Uc" /* NbRadioGroupComponent */]]), core["ɵdid"](35, 540672, null, 0, fesm2015_forms["i" /* FormControlDirective */], [[8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { form: [0, "form"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](37, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](38, 0, null, 0, 2, "nb-radio", [], [[2, "status-primary", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-info", null], [2, "status-basic", null], [2, "status-control", null]], null, null, index_ngfactory["bb" /* View_NbRadioComponent_0 */], index_ngfactory["E" /* RenderType_NbRadioComponent */])), core["ɵdid"](39, 49152, [[2, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, ["Sim"])), (_l()(), core["ɵeld"](41, 0, null, 0, 2, "nb-radio", [], [[2, "status-primary", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-info", null], [2, "status-basic", null], [2, "status-control", null]], null, null, index_ngfactory["bb" /* View_NbRadioComponent_0 */], index_ngfactory["E" /* RenderType_NbRadioComponent */])), core["ɵdid"](42, 49152, [[2, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, ["N\u00E3o"])), (_l()(), core["ɵeld"](44, 0, null, null, 0, "hr", [], null, null, null, null, null)), (_l()(), core["ɵeld"](45, 0, null, null, 3, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](46, 0, null, null, 2, "button", [["fullWidth", ""], ["nbButton", ""], ["status", "primary"], ["type", "submit"]], [[1, "disabled", 0], [2, "appearance-filled", null], [2, "appearance-outline", null], [2, "appearance-ghost", null], [2, "appearance-hero", null], [2, "full-width", null], [1, "aria-disabled", 0], [2, "btn-disabled", null], [1, "tabindex", 0], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-round", null], [2, "shape-semi-round", null], [2, "icon-start", null], [2, "icon-end", null], [2, "transitions", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
        var pd_0 = (core["ɵnov"](_v, 47).onClick($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["M" /* View_NbButtonComponent_0 */], index_ngfactory["p" /* RenderType_NbButtonComponent */])), core["ɵdid"](47, 4243456, null, 0, fesm2015["L" /* NbButtonComponent */], [core["Renderer2"], core["ElementRef"], core["ChangeDetectorRef"]], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), (_l()(), core["ɵted"](-1, 0, [" Pesquisar "])), (_l()(), core["ɵeld"](49, 0, null, null, 3, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](50, 0, null, null, 2, "button", [["fullWidth", ""], ["nbButton", ""], ["status", "primary"], ["type", "button"]], [[1, "disabled", 0], [2, "appearance-filled", null], [2, "appearance-outline", null], [2, "appearance-ghost", null], [2, "appearance-hero", null], [2, "full-width", null], [1, "aria-disabled", 0], [2, "btn-disabled", null], [1, "tabindex", 0], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-round", null], [2, "shape-semi-round", null], [2, "icon-start", null], [2, "icon-end", null], [2, "transitions", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (core["ɵnov"](_v, 51).onClick($event) !== false);
        ad = (pd_0 && ad);
    } if (("click" === en)) {
        var pd_1 = (_co.onResetFilter() !== false);
        ad = (pd_1 && ad);
    } return ad; }, index_ngfactory["M" /* View_NbButtonComponent_0 */], index_ngfactory["p" /* RenderType_NbButtonComponent */])), core["ɵdid"](51, 4243456, null, 0, fesm2015["L" /* NbButtonComponent */], [core["Renderer2"], core["ElementRef"], core["ChangeDetectorRef"]], { status: [0, "status"], outline: [1, "outline"], fullWidth: [2, "fullWidth"] }, null), (_l()(), core["ɵted"](-1, 0, [" Limpar "]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.formFilter; _ck(_v, 3, 0, currVal_7); var currVal_8 = "nome"; var currVal_9 = _co.formFilter; var currVal_10 = "Nome"; _ck(_v, 10, 0, currVal_8, currVal_9, currVal_10); var currVal_35 = "primary"; var currVal_36 = ""; _ck(_v, 12, 0, currVal_35, currVal_36); var currVal_37 = "nome"; _ck(_v, 15, 0, currVal_37); var currVal_38 = "login"; var currVal_39 = _co.formFilter; var currVal_40 = "Login"; _ck(_v, 20, 0, currVal_38, currVal_39, currVal_40); var currVal_65 = "primary"; var currVal_66 = ""; _ck(_v, 22, 0, currVal_65, currVal_66); var currVal_67 = "login"; _ck(_v, 25, 0, currVal_67); var currVal_68 = "bloqueado"; var currVal_69 = _co.formFilter; var currVal_70 = "Usu\u00E1rio bloqueado"; var currVal_71 = "?"; _ck(_v, 30, 0, currVal_68, currVal_69, currVal_70, currVal_71); var currVal_79 = _co.formFilter.get("bloqueado"); _ck(_v, 35, 0, currVal_79); var currVal_87 = true; _ck(_v, 39, 0, currVal_87); var currVal_95 = false; _ck(_v, 42, 0, currVal_95); var currVal_123 = "primary"; var currVal_124 = ""; _ck(_v, 47, 0, currVal_123, currVal_124); var currVal_152 = "primary"; var currVal_153 = true; var currVal_154 = ""; _ck(_v, 51, 0, currVal_152, currVal_153, currVal_154); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = core["ɵnov"](_v, 5).ngClassUntouched; var currVal_1 = core["ɵnov"](_v, 5).ngClassTouched; var currVal_2 = core["ɵnov"](_v, 5).ngClassPristine; var currVal_3 = core["ɵnov"](_v, 5).ngClassDirty; var currVal_4 = core["ɵnov"](_v, 5).ngClassValid; var currVal_5 = core["ɵnov"](_v, 5).ngClassInvalid; var currVal_6 = core["ɵnov"](_v, 5).ngClassPending; _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_11 = (_co.isDisabled ? true : null); var currVal_12 = core["ɵnov"](_v, 12).fullWidth; var currVal_13 = core["ɵnov"](_v, 12).tiny; var currVal_14 = core["ɵnov"](_v, 12).small; var currVal_15 = core["ɵnov"](_v, 12).medium; var currVal_16 = core["ɵnov"](_v, 12).large; var currVal_17 = core["ɵnov"](_v, 12).giant; var currVal_18 = core["ɵnov"](_v, 12).primary; var currVal_19 = core["ɵnov"](_v, 12).info; var currVal_20 = core["ɵnov"](_v, 12).success; var currVal_21 = core["ɵnov"](_v, 12).warning; var currVal_22 = core["ɵnov"](_v, 12).danger; var currVal_23 = core["ɵnov"](_v, 12).basic; var currVal_24 = core["ɵnov"](_v, 12).control; var currVal_25 = core["ɵnov"](_v, 12).rectangle; var currVal_26 = core["ɵnov"](_v, 12).semiRound; var currVal_27 = core["ɵnov"](_v, 12).round; var currVal_28 = core["ɵnov"](_v, 17).ngClassUntouched; var currVal_29 = core["ɵnov"](_v, 17).ngClassTouched; var currVal_30 = core["ɵnov"](_v, 17).ngClassPristine; var currVal_31 = core["ɵnov"](_v, 17).ngClassDirty; var currVal_32 = core["ɵnov"](_v, 17).ngClassValid; var currVal_33 = core["ɵnov"](_v, 17).ngClassInvalid; var currVal_34 = core["ɵnov"](_v, 17).ngClassPending; _ck(_v, 11, 1, [currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34]); var currVal_41 = (_co.isDisabled ? true : null); var currVal_42 = core["ɵnov"](_v, 22).fullWidth; var currVal_43 = core["ɵnov"](_v, 22).tiny; var currVal_44 = core["ɵnov"](_v, 22).small; var currVal_45 = core["ɵnov"](_v, 22).medium; var currVal_46 = core["ɵnov"](_v, 22).large; var currVal_47 = core["ɵnov"](_v, 22).giant; var currVal_48 = core["ɵnov"](_v, 22).primary; var currVal_49 = core["ɵnov"](_v, 22).info; var currVal_50 = core["ɵnov"](_v, 22).success; var currVal_51 = core["ɵnov"](_v, 22).warning; var currVal_52 = core["ɵnov"](_v, 22).danger; var currVal_53 = core["ɵnov"](_v, 22).basic; var currVal_54 = core["ɵnov"](_v, 22).control; var currVal_55 = core["ɵnov"](_v, 22).rectangle; var currVal_56 = core["ɵnov"](_v, 22).semiRound; var currVal_57 = core["ɵnov"](_v, 22).round; var currVal_58 = core["ɵnov"](_v, 27).ngClassUntouched; var currVal_59 = core["ɵnov"](_v, 27).ngClassTouched; var currVal_60 = core["ɵnov"](_v, 27).ngClassPristine; var currVal_61 = core["ɵnov"](_v, 27).ngClassDirty; var currVal_62 = core["ɵnov"](_v, 27).ngClassValid; var currVal_63 = core["ɵnov"](_v, 27).ngClassInvalid; var currVal_64 = core["ɵnov"](_v, 27).ngClassPending; _ck(_v, 21, 1, [currVal_41, currVal_42, currVal_43, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51, currVal_52, currVal_53, currVal_54, currVal_55, currVal_56, currVal_57, currVal_58, currVal_59, currVal_60, currVal_61, currVal_62, currVal_63, currVal_64]); var currVal_72 = core["ɵnov"](_v, 37).ngClassUntouched; var currVal_73 = core["ɵnov"](_v, 37).ngClassTouched; var currVal_74 = core["ɵnov"](_v, 37).ngClassPristine; var currVal_75 = core["ɵnov"](_v, 37).ngClassDirty; var currVal_76 = core["ɵnov"](_v, 37).ngClassValid; var currVal_77 = core["ɵnov"](_v, 37).ngClassInvalid; var currVal_78 = core["ɵnov"](_v, 37).ngClassPending; _ck(_v, 31, 0, currVal_72, currVal_73, currVal_74, currVal_75, currVal_76, currVal_77, currVal_78); var currVal_80 = core["ɵnov"](_v, 39).isPrimary; var currVal_81 = core["ɵnov"](_v, 39).isSuccess; var currVal_82 = core["ɵnov"](_v, 39).isWarning; var currVal_83 = core["ɵnov"](_v, 39).isDanger; var currVal_84 = core["ɵnov"](_v, 39).isInfo; var currVal_85 = core["ɵnov"](_v, 39).isBasic; var currVal_86 = core["ɵnov"](_v, 39).isControl; _ck(_v, 38, 0, currVal_80, currVal_81, currVal_82, currVal_83, currVal_84, currVal_85, currVal_86); var currVal_88 = core["ɵnov"](_v, 42).isPrimary; var currVal_89 = core["ɵnov"](_v, 42).isSuccess; var currVal_90 = core["ɵnov"](_v, 42).isWarning; var currVal_91 = core["ɵnov"](_v, 42).isDanger; var currVal_92 = core["ɵnov"](_v, 42).isInfo; var currVal_93 = core["ɵnov"](_v, 42).isBasic; var currVal_94 = core["ɵnov"](_v, 42).isControl; _ck(_v, 41, 0, currVal_88, currVal_89, currVal_90, currVal_91, currVal_92, currVal_93, currVal_94); var currVal_96 = (_co.isDisabled ? true : null); var currVal_97 = core["ɵnov"](_v, 47).filled; var currVal_98 = core["ɵnov"](_v, 47).outline; var currVal_99 = core["ɵnov"](_v, 47).ghost; var currVal_100 = core["ɵnov"](_v, 47).hero; var currVal_101 = core["ɵnov"](_v, 47).fullWidth; var currVal_102 = core["ɵnov"](_v, 47).disabled; var currVal_103 = core["ɵnov"](_v, 47).disabled; var currVal_104 = core["ɵnov"](_v, 47).tabbable; var currVal_105 = core["ɵnov"](_v, 47).tiny; var currVal_106 = core["ɵnov"](_v, 47).small; var currVal_107 = core["ɵnov"](_v, 47).medium; var currVal_108 = core["ɵnov"](_v, 47).large; var currVal_109 = core["ɵnov"](_v, 47).giant; var currVal_110 = core["ɵnov"](_v, 47).primary; var currVal_111 = core["ɵnov"](_v, 47).info; var currVal_112 = core["ɵnov"](_v, 47).success; var currVal_113 = core["ɵnov"](_v, 47).warning; var currVal_114 = core["ɵnov"](_v, 47).danger; var currVal_115 = core["ɵnov"](_v, 47).basic; var currVal_116 = core["ɵnov"](_v, 47).control; var currVal_117 = core["ɵnov"](_v, 47).rectangle; var currVal_118 = core["ɵnov"](_v, 47).round; var currVal_119 = core["ɵnov"](_v, 47).semiRound; var currVal_120 = core["ɵnov"](_v, 47).iconLeft; var currVal_121 = core["ɵnov"](_v, 47).iconRight; var currVal_122 = core["ɵnov"](_v, 47).transitions; _ck(_v, 46, 1, [currVal_96, currVal_97, currVal_98, currVal_99, currVal_100, currVal_101, currVal_102, currVal_103, currVal_104, currVal_105, currVal_106, currVal_107, currVal_108, currVal_109, currVal_110, currVal_111, currVal_112, currVal_113, currVal_114, currVal_115, currVal_116, currVal_117, currVal_118, currVal_119, currVal_120, currVal_121, currVal_122]); var currVal_125 = (_co.isDisabled ? true : null); var currVal_126 = core["ɵnov"](_v, 51).filled; var currVal_127 = core["ɵnov"](_v, 51).outline; var currVal_128 = core["ɵnov"](_v, 51).ghost; var currVal_129 = core["ɵnov"](_v, 51).hero; var currVal_130 = core["ɵnov"](_v, 51).fullWidth; var currVal_131 = core["ɵnov"](_v, 51).disabled; var currVal_132 = core["ɵnov"](_v, 51).disabled; var currVal_133 = core["ɵnov"](_v, 51).tabbable; var currVal_134 = core["ɵnov"](_v, 51).tiny; var currVal_135 = core["ɵnov"](_v, 51).small; var currVal_136 = core["ɵnov"](_v, 51).medium; var currVal_137 = core["ɵnov"](_v, 51).large; var currVal_138 = core["ɵnov"](_v, 51).giant; var currVal_139 = core["ɵnov"](_v, 51).primary; var currVal_140 = core["ɵnov"](_v, 51).info; var currVal_141 = core["ɵnov"](_v, 51).success; var currVal_142 = core["ɵnov"](_v, 51).warning; var currVal_143 = core["ɵnov"](_v, 51).danger; var currVal_144 = core["ɵnov"](_v, 51).basic; var currVal_145 = core["ɵnov"](_v, 51).control; var currVal_146 = core["ɵnov"](_v, 51).rectangle; var currVal_147 = core["ɵnov"](_v, 51).round; var currVal_148 = core["ɵnov"](_v, 51).semiRound; var currVal_149 = core["ɵnov"](_v, 51).iconLeft; var currVal_150 = core["ɵnov"](_v, 51).iconRight; var currVal_151 = core["ɵnov"](_v, 51).transitions; _ck(_v, 50, 1, [currVal_125, currVal_126, currVal_127, currVal_128, currVal_129, currVal_130, currVal_131, currVal_132, currVal_133, currVal_134, currVal_135, currVal_136, currVal_137, currVal_138, currVal_139, currVal_140, currVal_141, currVal_142, currVal_143, currVal_144, currVal_145, currVal_146, currVal_147, currVal_148, currVal_149, currVal_150, currVal_151]); }); }
function View_SalersFilterComponent_Host_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-salers-filter", [], null, null, null, View_SalersFilterComponent_0, RenderType_SalersFilterComponent)), core["ɵdid"](1, 114688, null, 0, salers_filter_component_SalersFilterComponent, [fesm2015_forms["g" /* FormBuilder */]], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var SalersFilterComponentNgFactory = core["ɵccf"]("omni-salers-filter", salers_filter_component_SalersFilterComponent, View_SalersFilterComponent_Host_0, { pageId: "pageId", currentPage: "currentPage" }, { doFilter: "doFilter" }, []);


// EXTERNAL MODULE: ./node_modules/tslib/tslib.js
var tslib = __webpack_require__("zOht");

// EXTERNAL MODULE: ./node_modules/@fortawesome/free-solid-svg-icons/index.js
var free_solid_svg_icons = __webpack_require__("YTkO");

// EXTERNAL MODULE: ./src/app/shared/base/base-form/base-list-component.ts
var base_list_component = __webpack_require__("Ki94");

// EXTERNAL MODULE: ./src/app/shared/consts/actions.ts
var actions = __webpack_require__("CIyo");

// EXTERNAL MODULE: ./src/app/shared/consts/order-options.ts
var order_options = __webpack_require__("a7yC");

// EXTERNAL MODULE: ./src/app/shared/enums/perfil-do-usuario.ts
var perfil_do_usuario = __webpack_require__("a0Ve");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-list/salers-list.component.ts







class salers_list_component_SalersListComponent extends base_list_component["a" /* BaseListComponent */] {
    constructor(router, companyService, navExtrasService, menuService, requestService, userService, toastrService, alertService, authService, messagesService) {
        super(alertService, authService, messagesService);
        this.router = router;
        this.companyService = companyService;
        this.navExtrasService = navExtrasService;
        this.menuService = menuService;
        this.requestService = requestService;
        this.userService = userService;
        this.toastrService = toastrService;
        this.hasWholesaleSupport = false;
        this.pageId = 'salersList';
        this.companyService.companyId = this.authService.loggedUser.id;
        this.userService.companyId = this.authService.loggedUser.id;
        this.userService.profileId = perfil_do_usuario["a" /* PERFIL_USUARIO */].VENDEDOR.id;
    }
    get banIcon() {
        return free_solid_svg_icons["faBan"];
    }
    get usersIcon() {
        return free_solid_svg_icons["faUsers"];
    }
    ngOnInit() {
        return tslib["__awaiter"](this, void 0, void 0, function* () {
            yield this.companyService.getCompanyConfig('config-ativar-wholesale').toPromise().then(config => {
                this.hasWholesaleSupport = config.valor === '1';
            });
            if (!this.hasWholesaleSupport) {
                this.alertService.warning(this.messagesService.getMessage('MSG.ERRO.163'), () => {
                    this.router.navigate(['admin/home']);
                });
                return;
            }
            this.loadFilterState();
            this.list();
            this.initGridContextMenu();
        });
    }
    applyFilters(filterList) {
        this.currentPage = 1;
        this.filterList = filterList;
        this.formFilterRef.closeForm();
        this.salersFilterRef.updateFormFilter(this.filterList);
        this.addCriteria();
    }
    delete() {
        if (this.inDemoMode()) {
            return;
        }
        this.loadState();
        this.userService.delete(this.user.id).subscribe(() => {
            if (this.datasource.length === 1) {
                this.datasource = [];
                this.currentPage = 1;
            }
            this.changePage(this.currentPage);
            this.loadState();
            this.alertService.success(this.messagesService.getMessage('MSG.SUCESSO.023', ['Vendedor(a)']));
        }, (resp) => {
            this.loadState();
            this.toastrService.danger(resp.error.message);
        });
    }
    edit(id) {
        if (id && id > 0) {
            this.router.navigate([`admin/wholesale/salers/${id}/edit`]);
        }
        else {
            this.router.navigate([`admin/wholesale/salers/new`]);
        }
    }
    initGridContextMenu() {
        this.menuService.onItemClick().subscribe(menu => {
            const data = menu.item.data;
            if (data && data.action) {
                this.user = data.saler;
                switch (data.action) {
                    case actions["a" /* ACTIONS */].ACTIVATE:
                    case actions["a" /* ACTIONS */].INACTIVATE:
                        this.alertService.confirm(this.messagesService.getMessage('MSG.CONFIRM.021', [`${this.user.bloqueado ? 'desbloquear' : 'bloquear'}`,
                            'Vendedor(a)', this.user.nome]), result => {
                            if (result.value) {
                                this.changeActivationState();
                            }
                        });
                        break;
                    case actions["a" /* ACTIONS */].DELETE:
                        this.setConfirmMessage();
                        this.alertService.confirm(this.messagesService.getMessage('MSG.CONFIRM.008', [
                            'Vendedor(a)', this.user.nome
                        ]), result => {
                            if (result.value) {
                                this.delete();
                            }
                        });
                        break;
                    case actions["a" /* ACTIONS */].DUPLICATE:
                        this.navExtrasService.setExtras(this.user.id);
                        this.router.navigate(['admin/wholesale/salers/new']);
                        break;
                }
            }
        });
    }
    list() {
        this.datasource = [];
        this.isLoading = true;
        this.userService.filter(this.searchCriteria, this.currentPage, ['nome'], order_options["a" /* ORDER_OPTIONS */].ASCENDING, '40').subscribe(resultSet => {
            this.resultSet = resultSet;
            this.resultSet.content.forEach(salers => {
                const item = {
                    item: salers,
                    itemMenu: this.makeMenu(salers)
                };
                this.datasource.push(item);
            });
        }, (resp) => this.requestService.handleError(resp, this.toastrService), () => this.isLoading = false);
    }
    makeMenu(saler) {
        return [
            { icon: 'edit', title: 'Editar', link: `admin/wholesale/salers/${saler.id}/edit` },
            { icon: 'copy', title: 'Duplicar', data: { action: actions["a" /* ACTIONS */].DUPLICATE, saler } },
            { icon: 'trash', title: 'Excluir', data: { action: actions["a" /* ACTIONS */].DELETE, saler } },
            {
                icon: `${saler.bloqueado ? 'toggle-right-outline' : 'toggle-left-outline'}`,
                title: `${saler.bloqueado ? 'Desbloquear' : 'Bloquear'}`,
                data: {
                    action: saler.bloqueado ? actions["a" /* ACTIONS */].INACTIVATE : actions["a" /* ACTIONS */].ACTIVATE, saler
                }
            }
        ];
    }
    setConfirmMessage() {
    }
    changeActivationState() {
        this.loadState();
        this.userService.lockUser(this.user.id).subscribe(() => {
            this.alertService.success(this.messagesService.getMessage('MSG.SUCESSO.018', ['Vendedor(a)']));
            this.list();
        }, (resp) => {
            this.loadState();
            this.toastrService.danger(resp.error.message);
        });
    }
}

// EXTERNAL MODULE: ./node_modules/@angular/router/fesm2015/router.js + 5 modules
var fesm2015_router = __webpack_require__("iInd");

// EXTERNAL MODULE: ./src/app/shared/services/empresa.service.ts
var empresa_service = __webpack_require__("x715");

// EXTERNAL MODULE: ./src/app/shared/services/nav-extras.service.ts
var nav_extras_service = __webpack_require__("JmCY");

// EXTERNAL MODULE: ./src/app/shared/services/request.service.ts
var request_service = __webpack_require__("a9NN");

// EXTERNAL MODULE: ./node_modules/@angular/common/fesm2015/http.js
var http = __webpack_require__("IheW");

// EXTERNAL MODULE: ./node_modules/rxjs/_esm2015/internal/operators/take.js
var take = __webpack_require__("IzEk");

// EXTERNAL MODULE: ./src/app/shared/resources/domains.resource.ts
var domains_resource = __webpack_require__("O7oW");

// EXTERNAL MODULE: ./src/app/shared/services/resource.service.ts
var resource_service = __webpack_require__("edFq");

// CONCATENATED MODULE: ./src/app/shared/services/usuario.service.ts







class usuario_service_UsuarioService extends resource_service["a" /* ResourceService */] {
    constructor(http) {
        super(http, 'admin/usuarios');
    }
    /**
     * Cria um usuário no banco de dados
     * @param user Usuario
     */
    create(user) {
        return this.http
            .post(`${this.api}/${this.endpoint}/${this.vendorId}/${this.profileId}`, user).pipe(Object(take["a" /* take */])(1));
    }
    /**
     * Delete a resource registry from database.
     * @param id number
     */
    delete(id) {
        return this
            .http.delete(`${this.api}/${this.endpoint}/${this.vendorId}/${this.profileId}${id}`).pipe(Object(take["a" /* take */])(1));
    }
    /**
     * Filter lists according to the search criteria.
     * @param searchCriteria: string[]
     * @param pageNumber: number
     * @param sortBy: string[]
     * @param sortDirection: string
     */
    filter(searchCriteria, pageNumber, sortBy, sortDirection, entriesByPage) {
        this.searchCriteria = [];
        this.searchCriteria.push('empresaId:' + this.vendorId);
        if (searchCriteria.length > 0) {
            searchCriteria.map(criteria => this.searchCriteria.push(criteria));
        }
        const searchParams = new http["h" /* HttpParams */]()
            .append('search', this.searchCriteria.join(this.criteriaSeparator))
            .append('numeroPagina', pageNumber > 0 ? `${pageNumber - 1}` : '0')
            .append('sortBy', sortBy ? sortBy.join(',') : '')
            .append('sortDirection', sortDirection || order_options["a" /* ORDER_OPTIONS */].ASCENDING)
            .append('entriesByPage', entriesByPage || domains_resource["m" /* ENTRIES_BY_PAGE */]);
        return this.http.get(`${this.api}/${this.endpoint}/${this.vendorId}/${this.profileId}/filter`, { params: searchParams })
            .pipe(Object(take["a" /* take */])(1));
    }
    /**
     * Obtem um registro específico de um usuário.
     * @param id number
     */
    get(id) {
        return this.http.get(`${this.api}/${this.endpoint}/${this.vendorId}/${this.profileId}/${id}`)
            .pipe(Object(take["a" /* take */])(1));
    }
    /**
     * Alterna o estado de bloqueio de um respectivo usuário.
     * @param id number
     */
    lockUser(id) {
        return this.http.put(`${this.api}/${this.endpoint}/${this.vendorId}/${this.profileId}/lock-user/${id}`, null)
            .pipe(Object(take["a" /* take */])(1));
    }
    /**
     * Atualiza um registro de um usuário no banco de dados.
     * @param user Usuario
     */
    update(user) {
        return this.http
            .put(`${this.api}/${this.endpoint}/${this.vendorId}/${this.profileId}`, user)
            .pipe(Object(take["a" /* take */])(1));
    }
}
usuario_service_UsuarioService.ngInjectableDef = core["ɵɵdefineInjectable"]({ factory: function UsuarioService_Factory() { return new usuario_service_UsuarioService(core["ɵɵinject"](http["c" /* HttpClient */])); }, token: usuario_service_UsuarioService, providedIn: "root" });

// EXTERNAL MODULE: ./src/app/shared/services/alert.service.ts
var alert_service = __webpack_require__("Cmua");

// EXTERNAL MODULE: ./src/app/shared/services/auth.service.ts + 3 modules
var auth_service = __webpack_require__("IYfF");

// EXTERNAL MODULE: ./src/app/shared/services/messages.service.ts + 1 modules
var messages_service = __webpack_require__("N7YL");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-list/salers-list.component.ngfactory.js
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 


































var styles_SalersListComponent = [];
var RenderType_SalersListComponent = core["ɵcrt"]({ encapsulation: 2, styles: styles_SalersListComponent, data: {} });

function View_SalersListComponent_3(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 5, "span", [["class", "ml-3"], ["nbTooltip", "Vendedor bloqueado"]], null, null, null, null, null)), core["ɵprd"](512, null, fesm2015["Tb" /* NbDynamicOverlay */], fesm2015["Tb" /* NbDynamicOverlay */], [fesm2015["Gc" /* NbOverlayService */], core["ComponentFactoryResolver"], core["NgZone"], fesm2015["Bc" /* NbOverlayContainer */]]), core["ɵprd"](512, null, fesm2015["Ub" /* NbDynamicOverlayHandler */], fesm2015["Ub" /* NbDynamicOverlayHandler */], [fesm2015["Oc" /* NbPositionBuilderService */], fesm2015["de" /* NbTriggerStrategyBuilderService */], fesm2015["Tb" /* NbDynamicOverlay */]]), core["ɵdid"](3, 4931584, null, 0, fesm2015["Pd" /* NbTooltipDirective */], [core["ElementRef"], fesm2015["Ub" /* NbDynamicOverlayHandler */]], { content: [0, "content"] }, null), (_l()(), core["ɵeld"](4, 0, null, null, 1, "fa-icon", [["class", "text-danger ng-fa-icon"], ["size", "lg"]], [[1, "title", 0], [8, "innerHTML", 1]], null, null, angular_fontawesome_ngfactory["d" /* View_FaIconComponent_0 */], angular_fontawesome_ngfactory["c" /* RenderType_FaIconComponent */])), core["ɵdid"](5, 573440, null, 0, angular_fontawesome["c" /* FaIconComponent */], [platform_browser["b" /* DomSanitizer */], angular_fontawesome["a" /* FaConfig */], angular_fontawesome["d" /* FaIconLibrary */], [2, angular_fontawesome["i" /* FaStackItemSizeDirective */]]], { icon: [0, "icon"], size: [1, "size"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "Vendedor bloqueado"; _ck(_v, 3, 0, currVal_0); var currVal_3 = _co.banIcon; var currVal_4 = "lg"; _ck(_v, 5, 0, currVal_3, currVal_4); }, function (_ck, _v) { var currVal_1 = core["ɵnov"](_v, 5).title; var currVal_2 = core["ɵnov"](_v, 5).renderedIconHTML; _ck(_v, 4, 0, currVal_1, currVal_2); }); }
function View_SalersListComponent_4(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 2, "omni-grid-label", [["class", "mb-2"], ["label", "E-mail (login)"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](1, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"] }, null), (_l()(), core["ɵted"](2, 0, [" ", " "]))], function (_ck, _v) { var currVal_0 = "E-mail (login)"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.item.login; _ck(_v, 2, 0, currVal_1); }); }
function View_SalersListComponent_5(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 3, "omni-grid-label", [["class", "mb-2"], ["label", "Telefone"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](1, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"] }, null), (_l()(), core["ɵted"](2, 0, [" ", " "])), core["ɵppd"](3, 1)], function (_ck, _v) { var currVal_0 = "Telefone"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = core["ɵunv"](_v, 2, 0, _ck(_v, 3, 0, core["ɵnov"](_v.parent.parent.parent, 0), _v.parent.context.$implicit.item.telefone)); _ck(_v, 2, 0, currVal_1); }); }
function View_SalersListComponent_6(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 3, "omni-grid-label", [["label", "C\u00F3digo do PDV"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](1, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"] }, null), (_l()(), core["ɵeld"](2, 0, null, 0, 1, "span", [["class", "text-danger"]], null, null, null, null, null)), (_l()(), core["ɵted"](3, null, [" ", " "]))], function (_ck, _v) { var currVal_0 = "C\u00F3digo do PDV"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.item.codigoDoPdv; _ck(_v, 3, 0, currVal_1); }); }
function View_SalersListComponent_2(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 19, "div", [["class", "col-12 col-sm-12 col-md-12 col-lg-6 mb-2 pl-1 pr-1"]], null, null, null, null, null)), (_l()(), core["ɵeld"](1, 0, null, null, 18, "div", [["class", "card card-grid"]], null, null, null, null, null)), (_l()(), core["ɵeld"](2, 0, null, null, 9, "div", [["class", "card-title"]], null, null, null, null, null)), (_l()(), core["ɵeld"](3, 0, null, null, 8, "div", [["class", "d-flex flex-row align-items-center"]], null, null, null, null, null)), (_l()(), core["ɵeld"](4, 0, null, null, 5, "div", [["class", "flex-grow-1"]], null, null, null, null, null)), (_l()(), core["ɵeld"](5, 0, null, null, 4, "div", [["class", "d-flex flex-row align-items-center"]], null, null, null, null, null)), (_l()(), core["ɵeld"](6, 0, null, null, 1, "h5", [], null, null, null, null, null)), (_l()(), core["ɵted"](7, null, ["", ""])), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_3)), core["ɵdid"](9, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵeld"](10, 0, null, null, 1, "omni-dropdown-menu", [], null, null, null, dropdown_menu_component_ngfactory["b" /* View_DropdownMenuComponent_0 */], dropdown_menu_component_ngfactory["a" /* RenderType_DropdownMenuComponent */])), core["ɵdid"](11, 114688, null, 0, dropdown_menu_component["a" /* DropdownMenuComponent */], [], { optionsList: [0, "optionsList"] }, null), (_l()(), core["ɵeld"](12, 0, null, null, 7, "div", [["class", "card-body"]], null, null, null, null, null)), (_l()(), core["ɵeld"](13, 0, null, null, 6, "div", [["class", "d-flex flex-row justify-content-between align-items-center"]], null, null, null, null, null)), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_4)), core["ɵdid"](15, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_5)), core["ɵdid"](17, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_6)), core["ɵdid"](19, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var currVal_1 = _v.context.$implicit.item.bloqueado; _ck(_v, 9, 0, currVal_1); var currVal_2 = _v.context.$implicit.itemMenu; _ck(_v, 11, 0, currVal_2); var currVal_3 = _v.context.$implicit.item.login; _ck(_v, 15, 0, currVal_3); var currVal_4 = _v.context.$implicit.item.login; _ck(_v, 17, 0, currVal_4); var currVal_5 = _v.context.$implicit.item.codigoDoPdv; _ck(_v, 19, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.item.nome; _ck(_v, 7, 0, currVal_0); }); }
function View_SalersListComponent_1(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 2, "div", [["class", "d-flex align-items-stretch flex-wrap mt-2"]], null, null, null, null, null)), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_2)), core["ɵdid"](2, 278528, null, 0, common["n" /* NgForOf */], [core["ViewContainerRef"], core["TemplateRef"], core["IterableDiffers"]], { ngForOf: [0, "ngForOf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.datasource; _ck(_v, 2, 0, currVal_0); }, null); }
function View_SalersListComponent_7(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-pagination", [], null, [[null, "pageChange"], [null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (core["ɵnov"](_v, 1).onClick($event) !== false);
        ad = (pd_0 && ad);
    } if (("pageChange" === en)) {
        var pd_1 = (_co.changePage($event) !== false);
        ad = (pd_1 && ad);
    } return ad; }, pagination_component_ngfactory["b" /* View_PaginationComponent_0 */], pagination_component_ngfactory["a" /* RenderType_PaginationComponent */])), core["ɵdid"](1, 114688, null, 0, pagination_component["a" /* PaginationComponent */], [], { currentPage: [0, "currentPage"], totalPages: [1, "totalPages"] }, { pageChange: "pageChange" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.currentPage; var currVal_1 = _co.resultSet.totalPages; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
function View_SalersListComponent_0(_l) { return core["ɵvid"](0, [core["ɵpid"](0, telefone_pipe["a" /* TelefonePipe */], []), core["ɵqud"](671088640, 1, { formFilterRef: 0 }), core["ɵqud"](671088640, 2, { salersFilterRef: 0 }), (_l()(), core["ɵeld"](3, 0, null, null, 3, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](4, 0, null, null, 2, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](5, 0, null, null, 1, "omni-page-title", [["pageTitle", "Vendedores"], ["tutorialTag", "wholesale-vendedor-listar"]], null, null, null, page_title_component_ngfactory["b" /* View_PageTitleComponent_0 */], page_title_component_ngfactory["a" /* RenderType_PageTitleComponent */])), core["ɵdid"](6, 114688, null, 0, page_title_component["a" /* PageTitleComponent */], [fesm2015["Rb" /* NbDialogService */]], { icon: [0, "icon"], tutorial: [1, "tutorial"], tutorialTag: [2, "tutorialTag"], pageTitle: [3, "pageTitle"] }, null), (_l()(), core["ɵeld"](7, 0, null, null, 14, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](8, 0, null, null, 13, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](9, 0, null, null, 12, "nb-card", [], [[2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "accent", null], [2, "accent-primary", null], [2, "accent-info", null], [2, "accent-success", null], [2, "accent-warning", null], [2, "accent-danger", null], [2, "accent-basic", null], [2, "accent-control", null]], null, null, index_ngfactory["O" /* View_NbCardComponent_0 */], index_ngfactory["r" /* RenderType_NbCardComponent */])), core["ɵdid"](10, 49152, null, 0, fesm2015["jb" /* NbCardComponent */], [], null, null), (_l()(), core["ɵeld"](11, 0, null, 1, 10, "nb-card-body", [["class", "flat-body"]], null, null, null, index_ngfactory["N" /* View_NbCardBodyComponent_0 */], index_ngfactory["q" /* RenderType_NbCardBodyComponent */])), core["ɵdid"](12, 49152, null, 0, fesm2015["ib" /* NbCardBodyComponent */], [], null, null), (_l()(), core["ɵeld"](13, 0, null, 0, 8, "div", [["class", "d-flex flex-column"]], null, null, null, null, null)), (_l()(), core["ɵeld"](14, 0, null, null, 1, "omni-filter", [], null, [[null, "resultSetChange"], [null, "newButtonClick"], [null, "filterButtonClick"], [null, "updateFilterList"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("resultSetChange" === en)) {
        var pd_0 = ((_co.resultSet = $event) !== false);
        ad = (pd_0 && ad);
    } if (("newButtonClick" === en)) {
        var pd_1 = (_co.edit() !== false);
        ad = (pd_1 && ad);
    } if (("filterButtonClick" === en)) {
        var pd_2 = (_co.showFormFilter() !== false);
        ad = (pd_2 && ad);
    } if (("updateFilterList" === en)) {
        var pd_3 = (_co.applyFilters($event) !== false);
        ad = (pd_3 && ad);
    } return ad; }, filter_component_ngfactory["b" /* View_FilterComponent_0 */], filter_component_ngfactory["a" /* RenderType_FilterComponent */])), core["ɵdid"](15, 114688, null, 0, filter_component["a" /* FilterComponent */], [], { filterList: [0, "filterList"], resultSet: [1, "resultSet"] }, { filterButtonClick: "filterButtonClick", newButtonClick: "newButtonClick", resultSetChange: "resultSetChange", updateFilterList: "updateFilterList" }), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_1)), core["ɵdid"](17, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_SalersListComponent_7)), core["ɵdid"](19, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵeld"](20, 0, null, null, 1, "omni-inline-loader", [["label", "Listando produtos..."]], null, null, null, inline_loader_component_ngfactory["b" /* View_InlineLoaderComponent_0 */], inline_loader_component_ngfactory["a" /* RenderType_InlineLoaderComponent */])), core["ɵdid"](21, 114688, null, 0, inline_loader_component["a" /* InlineLoaderComponent */], [], { label: [0, "label"], refreshState: [1, "refreshState"] }, null), (_l()(), core["ɵeld"](22, 0, null, null, 3, "omni-form-filter", [], null, [["window", "keyup"], [null, "click"]], function (_v, en, $event) { var ad = true; if (("window:keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 23).onEscape($event) !== false);
        ad = (pd_0 && ad);
    } if (("click" === en)) {
        var pd_1 = (core["ɵnov"](_v, 23).onClick($event) !== false);
        ad = (pd_1 && ad);
    } return ad; }, form_filter_component_ngfactory["b" /* View_FormFilterComponent_0 */], form_filter_component_ngfactory["a" /* RenderType_FormFilterComponent */])), core["ɵdid"](23, 49152, [[1, 4], ["formFilter", 4]], 0, form_filter_component["a" /* FormFilterComponent */], [], null, null), (_l()(), core["ɵeld"](24, 0, null, 0, 1, "omni-salers-filter", [], null, [[null, "doFilter"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("doFilter" === en)) {
        var pd_0 = (_co.applyFilters($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, View_SalersFilterComponent_0, RenderType_SalersFilterComponent)), core["ɵdid"](25, 114688, [[2, 4], ["salersFilter", 4]], 0, salers_filter_component_SalersFilterComponent, [fesm2015_forms["g" /* FormBuilder */]], { pageId: [0, "pageId"], currentPage: [1, "currentPage"] }, { doFilter: "doFilter" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.usersIcon; var currVal_1 = true; var currVal_2 = "wholesale-vendedor-listar"; var currVal_3 = "Vendedores"; _ck(_v, 6, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_24 = _co.filterList; var currVal_25 = _co.resultSet; _ck(_v, 15, 0, currVal_24, currVal_25); var currVal_26 = ((_co.datasource.length > 0) && !_co.isLoading); _ck(_v, 17, 0, currVal_26); var currVal_27 = ((((_co.resultSet == null) ? null : _co.resultSet.totalPages) > 1) && !_co.isLoading); _ck(_v, 19, 0, currVal_27); var currVal_28 = "Listando produtos..."; var currVal_29 = _co.isLoading; _ck(_v, 21, 0, currVal_28, currVal_29); var currVal_30 = _co.pageId; var currVal_31 = _co.currentPage; _ck(_v, 25, 0, currVal_30, currVal_31); }, function (_ck, _v) { var currVal_4 = core["ɵnov"](_v, 10).tiny; var currVal_5 = core["ɵnov"](_v, 10).small; var currVal_6 = core["ɵnov"](_v, 10).medium; var currVal_7 = core["ɵnov"](_v, 10).large; var currVal_8 = core["ɵnov"](_v, 10).giant; var currVal_9 = core["ɵnov"](_v, 10).primary; var currVal_10 = core["ɵnov"](_v, 10).info; var currVal_11 = core["ɵnov"](_v, 10).success; var currVal_12 = core["ɵnov"](_v, 10).warning; var currVal_13 = core["ɵnov"](_v, 10).danger; var currVal_14 = core["ɵnov"](_v, 10).basic; var currVal_15 = core["ɵnov"](_v, 10).control; var currVal_16 = core["ɵnov"](_v, 10).hasAccent; var currVal_17 = core["ɵnov"](_v, 10).primaryAccent; var currVal_18 = core["ɵnov"](_v, 10).infoAccent; var currVal_19 = core["ɵnov"](_v, 10).successAccent; var currVal_20 = core["ɵnov"](_v, 10).warningAccent; var currVal_21 = core["ɵnov"](_v, 10).dangerAccent; var currVal_22 = core["ɵnov"](_v, 10).basicAccent; var currVal_23 = core["ɵnov"](_v, 10).controlAccent; _ck(_v, 9, 1, [currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23]); }); }
function View_SalersListComponent_Host_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-salers-list", [], null, null, null, View_SalersListComponent_0, RenderType_SalersListComponent)), core["ɵdid"](1, 114688, null, 0, salers_list_component_SalersListComponent, [fesm2015_router["l" /* Router */], empresa_service["a" /* EmpresaService */], nav_extras_service["a" /* NavExtrasService */], fesm2015["wc" /* NbMenuService */], request_service["a" /* RequestService */], usuario_service_UsuarioService, fesm2015["Ld" /* NbToastrService */], alert_service["a" /* AlertService */], auth_service["a" /* AuthService */], messages_service["a" /* MessagesService */]], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var SalersListComponentNgFactory = core["ɵccf"]("omni-salers-list", salers_list_component_SalersListComponent, View_SalersListComponent_Host_0, {}, {}, []);


// EXTERNAL MODULE: ./src/app/shared/ui/form-container/form-container.component.ngfactory.js + 1 modules
var form_container_component_ngfactory = __webpack_require__("+aW9");

// EXTERNAL MODULE: ./src/app/shared/ui/form-container/form-container.component.ts
var form_container_component = __webpack_require__("NX1Y");

// EXTERNAL MODULE: ./src/app/shared/directives/input-integer.directive.ts
var input_integer_directive = __webpack_require__("CwyO");

// EXTERNAL MODULE: ./src/app/shared/directives/input-phone.directive.ts
var input_phone_directive = __webpack_require__("bB9G");

// EXTERNAL MODULE: ./src/app/shared/base/base-form/base-form.component.ts
var base_form_component = __webpack_require__("rduj");

// EXTERNAL MODULE: ./src/app/shared/models/empresa.ts
var empresa = __webpack_require__("n9sG");

// EXTERNAL MODULE: ./src/app/shared/models/perfil.ts
var perfil = __webpack_require__("iqQw");

// EXTERNAL MODULE: ./src/app/shared/models/usuario.ts
var usuario = __webpack_require__("iufN");

// EXTERNAL MODULE: ./src/app/shared/validators/telefone.validator.ts
var telefone_validator = __webpack_require__("JAJw");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-edit/salers-edit.component.ts











class salers_edit_component_SalersEditComponent extends base_form_component["a" /* BaseFormComponent */] {
    constructor(fb, route, router, companyService, dataService, userService, alertService, authService, messagesService, requestService, toastrService) {
        super(alertService, authService, messagesService, requestService, toastrService);
        this.fb = fb;
        this.route = route;
        this.router = router;
        this.companyService = companyService;
        this.dataService = dataService;
        this.userService = userService;
        this.hasWholesaleSupport = false;
        this.isPasswordMandatory = false;
        this.errorPasswordMsg = '';
        this.userService.companyId = this.authService.loggedUser.id;
        this.userService.profileId = perfil_do_usuario["a" /* PERFIL_USUARIO */].VENDEDOR.id;
    }
    get userIcon() {
        return free_solid_svg_icons["faUser"];
    }
    ngOnInit() {
        return tslib["__awaiter"](this, void 0, void 0, function* () {
            this.initForm();
            yield this.companyService.getCompanyConfig('config-ativar-wholesale').toPromise().then(config => {
                this.hasWholesaleSupport = config.valor === '1';
            });
            if (!this.hasWholesaleSupport) {
                this.alertService.warning(this.messagesService.getMessage('MSG.ERRO.163'), () => {
                    this.router.navigate(['admin/home']);
                });
                return;
            }
            this.loadFormData();
        });
    }
    back() {
        this.router.navigate([`admin/wholesale/salers`]);
    }
    initForm() {
        this.form = this.fb.group({
            id: [''],
            companyId: [this.authService.loggedUser.id],
            profileId: [this.userService.profileId],
            pdvCode: [''],
            name: ['', fesm2015_forms["z" /* Validators */].required],
            login: ['', [fesm2015_forms["z" /* Validators */].required, fesm2015_forms["z" /* Validators */].email]],
            telephone: ['', [fesm2015_forms["z" /* Validators */].required, telefone_validator["a" /* TelefoneValidator */]]],
            password: ['', fesm2015_forms["z" /* Validators */].minLength(8)],
            confirmPassword: ['', fesm2015_forms["z" /* Validators */].minLength(8)],
            blocked: [false],
            deleted: [false],
            demo: [false]
        });
    }
    loadFormData() {
        const id = +this.route.snapshot.params.id || null;
        this.isEditing = id && id > 0;
        if (this.isEditing) {
            this.loadState();
            this.userService.get(id).subscribe(saler => {
                this.loadState();
                this.populateForm(saler);
            }, (resp) => {
                this.loadState();
                this.requestService.handleError(resp, this.toastrService);
            });
        }
        else {
            const validators = [
                fesm2015_forms["z" /* Validators */].required, fesm2015_forms["z" /* Validators */].minLength(8)
            ];
            this.form.get('password').setValidators(validators);
            this.form.get('confirmPassword').setValidators(validators);
            this.form.updateValueAndValidity();
            this.isPasswordMandatory = true;
            if (this.dataService.getExtras() && this.dataService.getExtras().length > 0) {
                const salerId = this.dataService.getExtras()[0];
                this.loadState();
                this.userService.get(salerId).subscribe(saler => {
                    this.loadState();
                    saler.id = null;
                    this.populateForm(saler);
                    this.dataService.resetExtras();
                }, (resp) => {
                    this.loadState();
                    this.requestService.handleError(resp, this.toastrService);
                });
            }
        }
        this.feedbackMessage = this.messagesService.getMessage(!this.isEditing ? 'MSG.SUCESSO.018' : 'MSG.SUCESSO.020', ['Vendedor(a)']);
    }
    showFeedback() {
    }
    submit() {
        if (this.inDemoMode(this.messagesService.getMessage('MSG.INFO.013'))) {
            return;
        }
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.currentPassword) || !string_util["a" /* StringUtil */].isBlank(this.formData.password) ||
            !string_util["a" /* StringUtil */].isBlank(this.formData.confirmPassword)) {
            if (!this.validatePassword()) {
                return;
            }
        }
        this.form.get('confirmPassword').setErrors(null);
        this.errorPasswordMsg = '';
        const saler = this.populateSaler();
        if (this.isEditing) {
            this.userService.update(saler).subscribe(() => this.alertService.success(this.feedbackMessage, (result) => {
                this.loadState();
                if (result.value) {
                    this.back();
                }
            }), (resp) => {
                this.loadState();
                this.handleError(resp);
            });
        }
        else {
            this.userService.create(saler).subscribe(() => this.alertService.success(this.feedbackMessage, (result) => {
                this.loadState();
                if (result.value) {
                    this.back();
                }
            }), (resp) => {
                this.loadState();
                this.handleError(resp);
            });
        }
    }
    populateForm(saler) {
        this.form.patchValue({
            id: saler.id || null,
            companyId: saler.empresa.id,
            pdvCode: saler.codigoDoPdv,
            name: saler.nome,
            login: saler.login,
            telephone: string_util["a" /* StringUtil */].isBlank(saler.telefone) ? ''
                : string_util["a" /* StringUtil */].formatPhone(saler.telefone),
            blocked: saler.bloqueado
        });
    }
    populateSaler() {
        const saler = new usuario["a" /* Usuario */]();
        saler.id = this.formData.id;
        saler.nome = this.formData.name;
        saler.login = this.formData.login;
        saler.bloqueado = this.formData.blocked;
        saler.empresa = new empresa["a" /* Empresa */](this.formData.companyId);
        saler.perfil = new perfil["a" /* Perfil */](this.formData.profileId);
        saler.codigoDoPdv = this.formData.pdvCode;
        saler.telefone = string_util["a" /* StringUtil */].removeAllSpecialChars(this.formData.telephone);
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.password) && !string_util["a" /* StringUtil */].isBlank(this.formData.confirmPassword)) {
            saler.senha = this.formData.password;
            saler.confirmacaoSenha = this.formData.confirmPassword;
        }
        return saler;
    }
    validatePassword() {
        if (string_util["a" /* StringUtil */].isBlank(this.formData.password)) {
            this.toastrService.warning(this.messagesService.getMessage('MSG.ERRO.001', ['Senha']));
            return false;
        }
        if (string_util["a" /* StringUtil */].isBlank(this.formData.confirmPassword)) {
            this.toastrService.warning(this.messagesService.getMessage('MSG.ERRO.001', ['Confirmação da senha']));
            return false;
        }
        this.form.get('confirmPassword').setErrors((this.formData.password !== this.formData.confirmPassword) ? { invalid: true } : null);
        this.errorPasswordMsg = (this.formData.password !== this.formData.confirmPassword)
            ? this.messagesService.getMessage('MSG.ERRO.004') : '';
        if (this.formData.password !== this.formData.confirmPassword) {
            return false;
        }
        return true;
    }
}

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-edit/salers-edit.component.ngfactory.js
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 





















var styles_SalersEditComponent = [];
var RenderType_SalersEditComponent = core["ɵcrt"]({ encapsulation: 2, styles: styles_SalersEditComponent, data: {} });

function View_SalersEditComponent_1(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 15, "div", [["class", "popover-page d-flex flex-column"]], null, null, null, null, null)), (_l()(), core["ɵeld"](1, 0, null, null, 1, "h6", [], null, null, null, null, null)), (_l()(), core["ɵted"](-1, null, ["C\u00F3digo do PDV"])), (_l()(), core["ɵeld"](3, 0, null, null, 4, "p", [["class", "text-justify"]], null, null, null, null, null)), (_l()(), core["ɵted"](-1, null, [" Trata-se de um c\u00F3digo de identifica\u00E7\u00E3o do vendedor do sistema de PDV (Ponto de Venda) "])), (_l()(), core["ɵeld"](5, 0, null, null, 1, "strong", [["class", "text-primary"]], null, null, null, null, null)), (_l()(), core["ɵted"](-1, null, ["Concentre \u2122"])), (_l()(), core["ɵted"](-1, null, [". Ignore este campo caso n\u00E3o utilize o Pedido Agora integrado ao PDV. "])), (_l()(), core["ɵeld"](8, 0, null, null, 7, "p", [["class", "text-justify"]], null, null, null, null, null)), (_l()(), core["ɵted"](-1, null, [" Clique "])), (_l()(), core["ɵeld"](10, 0, null, null, 1, "a", [["href", "https://www.escolpi.com/concentre-food"], ["target", "_blank"]], null, null, null, null, null)), (_l()(), core["ɵted"](-1, null, ["aqui"])), (_l()(), core["ɵted"](-1, null, [" para mais informa\u00E7\u00F5es sobre o "])), (_l()(), core["ɵeld"](13, 0, null, null, 1, "strong", [], null, null, null, null, null)), (_l()(), core["ɵted"](-1, null, ["Concentre"])), (_l()(), core["ɵted"](-1, null, [". "]))], null, null); }
function View_SalersEditComponent_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 99, "form", [["novalidate", ""]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngSubmit"], [null, "submit"], [null, "reset"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("submit" === en)) {
        var pd_0 = (core["ɵnov"](_v, 2).onSubmit($event) !== false);
        ad = (pd_0 && ad);
    } if (("reset" === en)) {
        var pd_1 = (core["ɵnov"](_v, 2).onReset() !== false);
        ad = (pd_1 && ad);
    } if (("ngSubmit" === en)) {
        var pd_2 = (_co.onSubmit() !== false);
        ad = (pd_2 && ad);
    } return ad; }, null, null)), core["ɵdid"](1, 16384, null, 0, fesm2015_forms["D" /* ɵangular_packages_forms_forms_z */], [], null, null), core["ɵdid"](2, 540672, null, 0, fesm2015_forms["l" /* FormGroupDirective */], [[8, null], [8, null]], { form: [0, "form"] }, { ngSubmit: "ngSubmit" }), core["ɵprd"](2048, null, fesm2015_forms["d" /* ControlContainer */], null, [fesm2015_forms["l" /* FormGroupDirective */]]), core["ɵdid"](4, 16384, null, 0, fesm2015_forms["t" /* NgControlStatusGroup */], [[4, fesm2015_forms["d" /* ControlContainer */]]], null, null), (_l()(), core["ɵeld"](5, 0, null, null, 3, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](6, 0, null, null, 2, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](7, 0, null, null, 1, "omni-page-title", [["tutorialTag", "wholesale-vendedor-editar"]], null, null, null, page_title_component_ngfactory["b" /* View_PageTitleComponent_0 */], page_title_component_ngfactory["a" /* RenderType_PageTitleComponent */])), core["ɵdid"](8, 114688, null, 0, page_title_component["a" /* PageTitleComponent */], [fesm2015["Rb" /* NbDialogService */]], { icon: [0, "icon"], tutorial: [1, "tutorial"], tutorialTag: [2, "tutorialTag"], pageTitle: [3, "pageTitle"] }, null), (_l()(), core["ɵeld"](9, 0, null, null, 90, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](10, 0, null, null, 89, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](11, 0, null, null, 88, "omni-form-container", [], null, [[null, "backButtonClick"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("backButtonClick" === en)) {
        var pd_0 = (_co.back() !== false);
        ad = (pd_0 && ad);
    } return ad; }, form_container_component_ngfactory["b" /* View_FormContainerComponent_0 */], form_container_component_ngfactory["a" /* RenderType_FormContainerComponent */])), core["ɵdid"](12, 114688, null, 0, form_container_component["a" /* FormContainerComponent */], [alert_service["a" /* AlertService */], auth_service["a" /* AuthService */], messages_service["a" /* MessagesService */]], { isLoading: [0, "isLoading"] }, { backButtonClick: "backButtonClick" }), (_l()(), core["ɵeld"](13, 0, null, 1, 82, "div", [["class", "form-content"]], null, null, null, null, null)), (_l()(), core["ɵeld"](14, 0, null, null, 38, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](15, 0, null, null, 11, "div", [["class", "form-group col-12 col-sm-12 col-md-6 col-lg-5"]], null, null, null, null, null)), (_l()(), core["ɵeld"](16, 0, null, null, 10, "omni-field", [["field", "name"], ["label", "Nome do Vendedor(a)"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](17, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], required: [3, "required"], validOnSubmit: [4, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](18, 0, null, 0, 8, "input", [["formControlName", "name"], ["fullWidth", ""], ["maxlength", "150"], ["nbInput", ""], ["placeholder", "Informe o nome completo do vendedor(a)"], ["status", "primary"], ["type", "text"]], [[1, "disabled", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [1, "maxlength", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 20)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 20).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 20)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 20)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](19, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](20, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](21, 540672, null, 0, fesm2015_forms["o" /* MaxLengthValidator */], [], { maxlength: [0, "maxlength"] }, null), core["ɵprd"](1024, null, fesm2015_forms["p" /* NG_VALIDATORS */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["o" /* MaxLengthValidator */]]), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](24, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [6, fesm2015_forms["p" /* NG_VALIDATORS */]], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](26, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](27, 0, null, null, 11, "div", [["class", "form-group col-12 col-sm-12 col-md-6 col-lg-5"]], null, null, null, null, null)), (_l()(), core["ɵeld"](28, 0, null, null, 10, "omni-field", [["field", "login"], ["label", "Login"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](29, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], required: [3, "required"], validOnSubmit: [4, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](30, 0, null, 0, 8, "input", [["formControlName", "login"], ["fullWidth", ""], ["maxlength", "150"], ["nbInput", ""], ["placeholder", "Informe o e-mail vendedor(a) para o login"], ["status", "primary"], ["type", "email"]], [[1, "disabled", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [1, "maxlength", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 32)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 32).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 32)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 32)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](31, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](32, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](33, 540672, null, 0, fesm2015_forms["o" /* MaxLengthValidator */], [], { maxlength: [0, "maxlength"] }, null), core["ɵprd"](1024, null, fesm2015_forms["p" /* NG_VALIDATORS */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["o" /* MaxLengthValidator */]]), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](36, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [6, fesm2015_forms["p" /* NG_VALIDATORS */]], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](38, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](39, 0, null, null, 13, "div", [["class", "form-group col-12 col-sm-12 col-md-6 col-lg-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](40, 0, null, null, 12, "omni-field", [["field", "pdvCode"], ["label", "C\u00F3digo do PDV"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](41, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], showPopover: [3, "showPopover"], popoverTemplate: [4, "popoverTemplate"] }, null), (_l()(), core["ɵeld"](42, 0, null, 0, 10, "input", [["formControlName", "pdvCode"], ["fullWidth", ""], ["maxlength", "20"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "C\u00F3digo no Concentre"], ["status", "primary"], ["type", "text"]], [[1, "disabled", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [1, "maxlength", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"], [null, "keyup"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 44)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 44).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 44)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 44)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } if (("keyup" === en)) {
        var pd_4 = (core["ɵnov"](_v, 52).onInput($event.target) !== false);
        ad = (pd_4 && ad);
    } if (("blur" === en)) {
        var pd_5 = (core["ɵnov"](_v, 52).onBlur() !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](43, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](44, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](45, 540672, null, 0, fesm2015_forms["o" /* MaxLengthValidator */], [], { maxlength: [0, "maxlength"] }, null), core["ɵprd"](1024, null, fesm2015_forms["p" /* NG_VALIDATORS */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["o" /* MaxLengthValidator */]]), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](48, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [6, fesm2015_forms["p" /* NG_VALIDATORS */]], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](50, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), core["ɵdid"](51, 540672, null, 0, fesm2015_forms["i" /* FormControlDirective */], [[6, fesm2015_forms["p" /* NG_VALIDATORS */]], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { form: [0, "form"] }, null), core["ɵdid"](52, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), (_l()(), core["ɵeld"](53, 0, null, null, 32, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](54, 0, null, null, 11, "div", [["class", "form-group col-12 col-md-6 col-lg-4"]], null, null, null, null, null)), (_l()(), core["ɵeld"](55, 0, null, null, 10, "omni-field", [["field", "telephone"], ["label", "Telefone"], ["tooltipText", "O telefone pode ser utilizado para efetuar o login como login."]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](56, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], required: [3, "required"], showTooltip: [4, "showTooltip"], tooltipText: [5, "tooltipText"] }, null), (_l()(), core["ɵeld"](57, 0, null, 0, 8, "input", [["formControlName", "telephone"], ["fullWidth", ""], ["nbInput", ""], ["omniInputPhone", ""], ["placeholder", "(99) 99999-9999"], ["status", "primary"], ["type", "text"]], [[1, "disabled", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"], [null, "keyup"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 59)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 59).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 59)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 59)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } if (("keyup" === en)) {
        var pd_4 = (core["ɵnov"](_v, 65).onInput($event) !== false);
        ad = (pd_4 && ad);
    } if (("blur" === en)) {
        var pd_5 = (core["ɵnov"](_v, 65).onBlur() !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](58, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](59, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](61, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](63, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), core["ɵdid"](64, 540672, null, 0, fesm2015_forms["i" /* FormControlDirective */], [[8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { form: [0, "form"] }, null), core["ɵdid"](65, 16384, null, 0, input_phone_directive["a" /* InputPhoneDirective */], [core["ElementRef"]], { formControl: [0, "formControl"] }, null), (_l()(), core["ɵeld"](66, 0, null, null, 9, "div", [["class", "form-group col-12 col-md-6 col-lg-4"]], null, null, null, null, null)), (_l()(), core["ɵeld"](67, 0, null, null, 8, "omni-field", [["field", "password"], ["label", "Nova Senha"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](68, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], required: [3, "required"] }, null), (_l()(), core["ɵeld"](69, 0, null, 0, 6, "input", [["formControlName", "password"], ["fullWidth", ""], ["nbInput", ""], ["placeholder", "Nova Senha"], ["status", "primary"], ["type", "password"]], [[1, "disabled", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 71)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 71).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 71)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 71)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](70, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](71, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](73, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](75, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](76, 0, null, null, 9, "div", [["class", "form-group col-12 col-md-6 col-lg-4"]], null, null, null, null, null)), (_l()(), core["ɵeld"](77, 0, null, null, 8, "omni-field", [["field", "confirmPassword"], ["label", "Confirme a senha"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](78, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], errorMsg: [3, "errorMsg"], required: [4, "required"] }, null), (_l()(), core["ɵeld"](79, 0, null, 0, 6, "input", [["formControlName", "confirmPassword"], ["fullWidth", ""], ["nbInput", ""], ["placeholder", "Confirme a senha"], ["status", "primary"], ["type", "password"]], [[1, "disabled", 0], [2, "input-full-width", null], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-semi-round", null], [2, "shape-round", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 81)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 81).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 81)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 81)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](80, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](81, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015_forms["e" /* DefaultValueAccessor */]]), core["ɵdid"](83, 671744, null, 0, fesm2015_forms["j" /* FormControlName */], [[3, fesm2015_forms["d" /* ControlContainer */]], [8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { name: [0, "name"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](85, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](86, 0, null, null, 9, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](87, 0, null, null, 8, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](88, 0, null, null, 7, "div", [["class", "d-flex flex-row align-items-center"]], null, null, null, null, null)), (_l()(), core["ɵeld"](89, 0, null, null, 6, "nb-checkbox", [["status", "primary"]], [[2, "status-primary", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-info", null], [2, "status-basic", null], [2, "status-control", null], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], null, null, index_ngfactory["R" /* View_NbCheckboxComponent_0 */], index_ngfactory["u" /* RenderType_NbCheckboxComponent */])), core["ɵdid"](90, 49152, null, 0, fesm2015["Ab" /* NbCheckboxComponent */], [core["ChangeDetectorRef"]], { disabled: [0, "disabled"], status: [1, "status"] }, null), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015["Ab" /* NbCheckboxComponent */]]), core["ɵdid"](92, 540672, null, 0, fesm2015_forms["i" /* FormControlDirective */], [[8, null], [8, null], [6, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */]], [2, fesm2015_forms["C" /* ɵangular_packages_forms_forms_q */]]], { form: [0, "form"], isDisabled: [1, "isDisabled"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](94, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵted"](-1, 0, [" Bloquear Usu\u00E1rio "])), (_l()(), core["ɵeld"](96, 0, null, 3, 3, "div", [["class", "form-footer"]], null, null, null, null, null)), (_l()(), core["ɵeld"](97, 0, null, null, 2, "button", [["nbButton", ""], ["status", "success"], ["type", "submit"]], [[1, "disabled", 0], [2, "appearance-filled", null], [2, "appearance-outline", null], [2, "appearance-ghost", null], [2, "appearance-hero", null], [2, "full-width", null], [1, "aria-disabled", 0], [2, "btn-disabled", null], [1, "tabindex", 0], [2, "size-tiny", null], [2, "size-small", null], [2, "size-medium", null], [2, "size-large", null], [2, "size-giant", null], [2, "status-primary", null], [2, "status-info", null], [2, "status-success", null], [2, "status-warning", null], [2, "status-danger", null], [2, "status-basic", null], [2, "status-control", null], [2, "shape-rectangle", null], [2, "shape-round", null], [2, "shape-semi-round", null], [2, "icon-start", null], [2, "icon-end", null], [2, "transitions", null]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
        var pd_0 = (core["ɵnov"](_v, 98).onClick($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["M" /* View_NbButtonComponent_0 */], index_ngfactory["p" /* RenderType_NbButtonComponent */])), core["ɵdid"](98, 4243456, null, 0, fesm2015["L" /* NbButtonComponent */], [core["Renderer2"], core["ElementRef"], core["ChangeDetectorRef"]], { status: [0, "status"] }, null), (_l()(), core["ɵted"](99, 0, [" ", " "])), (_l()(), core["ɵand"](0, [["pdvCodeTips", 2]], null, 0, null, View_SalersEditComponent_1))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = _co.userIcon; var currVal_9 = true; var currVal_10 = "wholesale-vendedor-editar"; var currVal_11 = ((_co.isEditing ? "Editar " : "Novo(a) ") + " Vendedor(a)"); _ck(_v, 8, 0, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_12 = _co.isLoading; _ck(_v, 12, 0, currVal_12); var currVal_13 = "name"; var currVal_14 = _co.form; var currVal_15 = "Nome do Vendedor(a)"; var currVal_16 = true; var currVal_17 = true; _ck(_v, 17, 0, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17); var currVal_43 = "primary"; var currVal_44 = ""; _ck(_v, 19, 0, currVal_43, currVal_44); var currVal_45 = "150"; _ck(_v, 21, 0, currVal_45); var currVal_46 = "name"; _ck(_v, 24, 0, currVal_46); var currVal_47 = "login"; var currVal_48 = _co.form; var currVal_49 = "Login"; var currVal_50 = true; var currVal_51 = true; _ck(_v, 29, 0, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51); var currVal_77 = "primary"; var currVal_78 = ""; _ck(_v, 31, 0, currVal_77, currVal_78); var currVal_79 = "150"; _ck(_v, 33, 0, currVal_79); var currVal_80 = "login"; _ck(_v, 36, 0, currVal_80); var currVal_81 = "pdvCode"; var currVal_82 = _co.form; var currVal_83 = "C\u00F3digo do PDV"; var currVal_84 = true; var currVal_85 = core["ɵnov"](_v, 100); _ck(_v, 41, 0, currVal_81, currVal_82, currVal_83, currVal_84, currVal_85); var currVal_111 = "primary"; var currVal_112 = ""; _ck(_v, 43, 0, currVal_111, currVal_112); var currVal_113 = "20"; _ck(_v, 45, 0, currVal_113); var currVal_114 = "pdvCode"; _ck(_v, 48, 0, currVal_114); var currVal_115 = _co.form.get("pdvCode"); _ck(_v, 51, 0, currVal_115); var currVal_116 = "telephone"; var currVal_117 = _co.form; var currVal_118 = "Telefone"; var currVal_119 = true; var currVal_120 = true; var currVal_121 = "O telefone pode ser utilizado para efetuar o login como login."; _ck(_v, 56, 0, currVal_116, currVal_117, currVal_118, currVal_119, currVal_120, currVal_121); var currVal_146 = "primary"; var currVal_147 = ""; _ck(_v, 58, 0, currVal_146, currVal_147); var currVal_148 = "telephone"; _ck(_v, 61, 0, currVal_148); var currVal_149 = _co.form.get("telephone"); _ck(_v, 64, 0, currVal_149); var currVal_150 = _co.form.get("telephone"); _ck(_v, 65, 0, currVal_150); var currVal_151 = "password"; var currVal_152 = _co.form; var currVal_153 = "Nova Senha"; var currVal_154 = _co.isPasswordMandatory; _ck(_v, 68, 0, currVal_151, currVal_152, currVal_153, currVal_154); var currVal_179 = "primary"; var currVal_180 = ""; _ck(_v, 70, 0, currVal_179, currVal_180); var currVal_181 = "password"; _ck(_v, 73, 0, currVal_181); var currVal_182 = "confirmPassword"; var currVal_183 = _co.form; var currVal_184 = "Confirme a senha"; var currVal_185 = _co.errorPasswordMsg; var currVal_186 = _co.isPasswordMandatory; _ck(_v, 78, 0, currVal_182, currVal_183, currVal_184, currVal_185, currVal_186); var currVal_211 = "primary"; var currVal_212 = ""; _ck(_v, 80, 0, currVal_211, currVal_212); var currVal_213 = "confirmPassword"; _ck(_v, 83, 0, currVal_213); var currVal_228 = _co.isLoading; var currVal_229 = "primary"; _ck(_v, 90, 0, currVal_228, currVal_229); var currVal_230 = _co.form.get("blocked"); var currVal_231 = _co.isLoading; _ck(_v, 92, 0, currVal_230, currVal_231); var currVal_259 = "success"; _ck(_v, 98, 0, currVal_259); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = core["ɵnov"](_v, 4).ngClassUntouched; var currVal_1 = core["ɵnov"](_v, 4).ngClassTouched; var currVal_2 = core["ɵnov"](_v, 4).ngClassPristine; var currVal_3 = core["ɵnov"](_v, 4).ngClassDirty; var currVal_4 = core["ɵnov"](_v, 4).ngClassValid; var currVal_5 = core["ɵnov"](_v, 4).ngClassInvalid; var currVal_6 = core["ɵnov"](_v, 4).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_18 = (_co.isLoading ? true : null); var currVal_19 = core["ɵnov"](_v, 19).fullWidth; var currVal_20 = core["ɵnov"](_v, 19).tiny; var currVal_21 = core["ɵnov"](_v, 19).small; var currVal_22 = core["ɵnov"](_v, 19).medium; var currVal_23 = core["ɵnov"](_v, 19).large; var currVal_24 = core["ɵnov"](_v, 19).giant; var currVal_25 = core["ɵnov"](_v, 19).primary; var currVal_26 = core["ɵnov"](_v, 19).info; var currVal_27 = core["ɵnov"](_v, 19).success; var currVal_28 = core["ɵnov"](_v, 19).warning; var currVal_29 = core["ɵnov"](_v, 19).danger; var currVal_30 = core["ɵnov"](_v, 19).basic; var currVal_31 = core["ɵnov"](_v, 19).control; var currVal_32 = core["ɵnov"](_v, 19).rectangle; var currVal_33 = core["ɵnov"](_v, 19).semiRound; var currVal_34 = core["ɵnov"](_v, 19).round; var currVal_35 = (core["ɵnov"](_v, 21).maxlength ? core["ɵnov"](_v, 21).maxlength : null); var currVal_36 = core["ɵnov"](_v, 26).ngClassUntouched; var currVal_37 = core["ɵnov"](_v, 26).ngClassTouched; var currVal_38 = core["ɵnov"](_v, 26).ngClassPristine; var currVal_39 = core["ɵnov"](_v, 26).ngClassDirty; var currVal_40 = core["ɵnov"](_v, 26).ngClassValid; var currVal_41 = core["ɵnov"](_v, 26).ngClassInvalid; var currVal_42 = core["ɵnov"](_v, 26).ngClassPending; _ck(_v, 18, 1, [currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36, currVal_37, currVal_38, currVal_39, currVal_40, currVal_41, currVal_42]); var currVal_52 = (_co.isLoading ? true : null); var currVal_53 = core["ɵnov"](_v, 31).fullWidth; var currVal_54 = core["ɵnov"](_v, 31).tiny; var currVal_55 = core["ɵnov"](_v, 31).small; var currVal_56 = core["ɵnov"](_v, 31).medium; var currVal_57 = core["ɵnov"](_v, 31).large; var currVal_58 = core["ɵnov"](_v, 31).giant; var currVal_59 = core["ɵnov"](_v, 31).primary; var currVal_60 = core["ɵnov"](_v, 31).info; var currVal_61 = core["ɵnov"](_v, 31).success; var currVal_62 = core["ɵnov"](_v, 31).warning; var currVal_63 = core["ɵnov"](_v, 31).danger; var currVal_64 = core["ɵnov"](_v, 31).basic; var currVal_65 = core["ɵnov"](_v, 31).control; var currVal_66 = core["ɵnov"](_v, 31).rectangle; var currVal_67 = core["ɵnov"](_v, 31).semiRound; var currVal_68 = core["ɵnov"](_v, 31).round; var currVal_69 = (core["ɵnov"](_v, 33).maxlength ? core["ɵnov"](_v, 33).maxlength : null); var currVal_70 = core["ɵnov"](_v, 38).ngClassUntouched; var currVal_71 = core["ɵnov"](_v, 38).ngClassTouched; var currVal_72 = core["ɵnov"](_v, 38).ngClassPristine; var currVal_73 = core["ɵnov"](_v, 38).ngClassDirty; var currVal_74 = core["ɵnov"](_v, 38).ngClassValid; var currVal_75 = core["ɵnov"](_v, 38).ngClassInvalid; var currVal_76 = core["ɵnov"](_v, 38).ngClassPending; _ck(_v, 30, 1, [currVal_52, currVal_53, currVal_54, currVal_55, currVal_56, currVal_57, currVal_58, currVal_59, currVal_60, currVal_61, currVal_62, currVal_63, currVal_64, currVal_65, currVal_66, currVal_67, currVal_68, currVal_69, currVal_70, currVal_71, currVal_72, currVal_73, currVal_74, currVal_75, currVal_76]); var currVal_86 = (_co.isLoading ? true : null); var currVal_87 = core["ɵnov"](_v, 43).fullWidth; var currVal_88 = core["ɵnov"](_v, 43).tiny; var currVal_89 = core["ɵnov"](_v, 43).small; var currVal_90 = core["ɵnov"](_v, 43).medium; var currVal_91 = core["ɵnov"](_v, 43).large; var currVal_92 = core["ɵnov"](_v, 43).giant; var currVal_93 = core["ɵnov"](_v, 43).primary; var currVal_94 = core["ɵnov"](_v, 43).info; var currVal_95 = core["ɵnov"](_v, 43).success; var currVal_96 = core["ɵnov"](_v, 43).warning; var currVal_97 = core["ɵnov"](_v, 43).danger; var currVal_98 = core["ɵnov"](_v, 43).basic; var currVal_99 = core["ɵnov"](_v, 43).control; var currVal_100 = core["ɵnov"](_v, 43).rectangle; var currVal_101 = core["ɵnov"](_v, 43).semiRound; var currVal_102 = core["ɵnov"](_v, 43).round; var currVal_103 = (core["ɵnov"](_v, 45).maxlength ? core["ɵnov"](_v, 45).maxlength : null); var currVal_104 = core["ɵnov"](_v, 50).ngClassUntouched; var currVal_105 = core["ɵnov"](_v, 50).ngClassTouched; var currVal_106 = core["ɵnov"](_v, 50).ngClassPristine; var currVal_107 = core["ɵnov"](_v, 50).ngClassDirty; var currVal_108 = core["ɵnov"](_v, 50).ngClassValid; var currVal_109 = core["ɵnov"](_v, 50).ngClassInvalid; var currVal_110 = core["ɵnov"](_v, 50).ngClassPending; _ck(_v, 42, 1, [currVal_86, currVal_87, currVal_88, currVal_89, currVal_90, currVal_91, currVal_92, currVal_93, currVal_94, currVal_95, currVal_96, currVal_97, currVal_98, currVal_99, currVal_100, currVal_101, currVal_102, currVal_103, currVal_104, currVal_105, currVal_106, currVal_107, currVal_108, currVal_109, currVal_110]); var currVal_122 = (_co.isLoading ? true : null); var currVal_123 = core["ɵnov"](_v, 58).fullWidth; var currVal_124 = core["ɵnov"](_v, 58).tiny; var currVal_125 = core["ɵnov"](_v, 58).small; var currVal_126 = core["ɵnov"](_v, 58).medium; var currVal_127 = core["ɵnov"](_v, 58).large; var currVal_128 = core["ɵnov"](_v, 58).giant; var currVal_129 = core["ɵnov"](_v, 58).primary; var currVal_130 = core["ɵnov"](_v, 58).info; var currVal_131 = core["ɵnov"](_v, 58).success; var currVal_132 = core["ɵnov"](_v, 58).warning; var currVal_133 = core["ɵnov"](_v, 58).danger; var currVal_134 = core["ɵnov"](_v, 58).basic; var currVal_135 = core["ɵnov"](_v, 58).control; var currVal_136 = core["ɵnov"](_v, 58).rectangle; var currVal_137 = core["ɵnov"](_v, 58).semiRound; var currVal_138 = core["ɵnov"](_v, 58).round; var currVal_139 = core["ɵnov"](_v, 63).ngClassUntouched; var currVal_140 = core["ɵnov"](_v, 63).ngClassTouched; var currVal_141 = core["ɵnov"](_v, 63).ngClassPristine; var currVal_142 = core["ɵnov"](_v, 63).ngClassDirty; var currVal_143 = core["ɵnov"](_v, 63).ngClassValid; var currVal_144 = core["ɵnov"](_v, 63).ngClassInvalid; var currVal_145 = core["ɵnov"](_v, 63).ngClassPending; _ck(_v, 57, 1, [currVal_122, currVal_123, currVal_124, currVal_125, currVal_126, currVal_127, currVal_128, currVal_129, currVal_130, currVal_131, currVal_132, currVal_133, currVal_134, currVal_135, currVal_136, currVal_137, currVal_138, currVal_139, currVal_140, currVal_141, currVal_142, currVal_143, currVal_144, currVal_145]); var currVal_155 = (_co.isLoading ? true : null); var currVal_156 = core["ɵnov"](_v, 70).fullWidth; var currVal_157 = core["ɵnov"](_v, 70).tiny; var currVal_158 = core["ɵnov"](_v, 70).small; var currVal_159 = core["ɵnov"](_v, 70).medium; var currVal_160 = core["ɵnov"](_v, 70).large; var currVal_161 = core["ɵnov"](_v, 70).giant; var currVal_162 = core["ɵnov"](_v, 70).primary; var currVal_163 = core["ɵnov"](_v, 70).info; var currVal_164 = core["ɵnov"](_v, 70).success; var currVal_165 = core["ɵnov"](_v, 70).warning; var currVal_166 = core["ɵnov"](_v, 70).danger; var currVal_167 = core["ɵnov"](_v, 70).basic; var currVal_168 = core["ɵnov"](_v, 70).control; var currVal_169 = core["ɵnov"](_v, 70).rectangle; var currVal_170 = core["ɵnov"](_v, 70).semiRound; var currVal_171 = core["ɵnov"](_v, 70).round; var currVal_172 = core["ɵnov"](_v, 75).ngClassUntouched; var currVal_173 = core["ɵnov"](_v, 75).ngClassTouched; var currVal_174 = core["ɵnov"](_v, 75).ngClassPristine; var currVal_175 = core["ɵnov"](_v, 75).ngClassDirty; var currVal_176 = core["ɵnov"](_v, 75).ngClassValid; var currVal_177 = core["ɵnov"](_v, 75).ngClassInvalid; var currVal_178 = core["ɵnov"](_v, 75).ngClassPending; _ck(_v, 69, 1, [currVal_155, currVal_156, currVal_157, currVal_158, currVal_159, currVal_160, currVal_161, currVal_162, currVal_163, currVal_164, currVal_165, currVal_166, currVal_167, currVal_168, currVal_169, currVal_170, currVal_171, currVal_172, currVal_173, currVal_174, currVal_175, currVal_176, currVal_177, currVal_178]); var currVal_187 = (_co.isLoading ? true : null); var currVal_188 = core["ɵnov"](_v, 80).fullWidth; var currVal_189 = core["ɵnov"](_v, 80).tiny; var currVal_190 = core["ɵnov"](_v, 80).small; var currVal_191 = core["ɵnov"](_v, 80).medium; var currVal_192 = core["ɵnov"](_v, 80).large; var currVal_193 = core["ɵnov"](_v, 80).giant; var currVal_194 = core["ɵnov"](_v, 80).primary; var currVal_195 = core["ɵnov"](_v, 80).info; var currVal_196 = core["ɵnov"](_v, 80).success; var currVal_197 = core["ɵnov"](_v, 80).warning; var currVal_198 = core["ɵnov"](_v, 80).danger; var currVal_199 = core["ɵnov"](_v, 80).basic; var currVal_200 = core["ɵnov"](_v, 80).control; var currVal_201 = core["ɵnov"](_v, 80).rectangle; var currVal_202 = core["ɵnov"](_v, 80).semiRound; var currVal_203 = core["ɵnov"](_v, 80).round; var currVal_204 = core["ɵnov"](_v, 85).ngClassUntouched; var currVal_205 = core["ɵnov"](_v, 85).ngClassTouched; var currVal_206 = core["ɵnov"](_v, 85).ngClassPristine; var currVal_207 = core["ɵnov"](_v, 85).ngClassDirty; var currVal_208 = core["ɵnov"](_v, 85).ngClassValid; var currVal_209 = core["ɵnov"](_v, 85).ngClassInvalid; var currVal_210 = core["ɵnov"](_v, 85).ngClassPending; _ck(_v, 79, 1, [currVal_187, currVal_188, currVal_189, currVal_190, currVal_191, currVal_192, currVal_193, currVal_194, currVal_195, currVal_196, currVal_197, currVal_198, currVal_199, currVal_200, currVal_201, currVal_202, currVal_203, currVal_204, currVal_205, currVal_206, currVal_207, currVal_208, currVal_209, currVal_210]); var currVal_214 = core["ɵnov"](_v, 90).primary; var currVal_215 = core["ɵnov"](_v, 90).success; var currVal_216 = core["ɵnov"](_v, 90).warning; var currVal_217 = core["ɵnov"](_v, 90).danger; var currVal_218 = core["ɵnov"](_v, 90).info; var currVal_219 = core["ɵnov"](_v, 90).basic; var currVal_220 = core["ɵnov"](_v, 90).control; var currVal_221 = core["ɵnov"](_v, 94).ngClassUntouched; var currVal_222 = core["ɵnov"](_v, 94).ngClassTouched; var currVal_223 = core["ɵnov"](_v, 94).ngClassPristine; var currVal_224 = core["ɵnov"](_v, 94).ngClassDirty; var currVal_225 = core["ɵnov"](_v, 94).ngClassValid; var currVal_226 = core["ɵnov"](_v, 94).ngClassInvalid; var currVal_227 = core["ɵnov"](_v, 94).ngClassPending; _ck(_v, 89, 1, [currVal_214, currVal_215, currVal_216, currVal_217, currVal_218, currVal_219, currVal_220, currVal_221, currVal_222, currVal_223, currVal_224, currVal_225, currVal_226, currVal_227]); var currVal_232 = (_co.isLoading ? true : null); var currVal_233 = core["ɵnov"](_v, 98).filled; var currVal_234 = core["ɵnov"](_v, 98).outline; var currVal_235 = core["ɵnov"](_v, 98).ghost; var currVal_236 = core["ɵnov"](_v, 98).hero; var currVal_237 = core["ɵnov"](_v, 98).fullWidth; var currVal_238 = core["ɵnov"](_v, 98).disabled; var currVal_239 = core["ɵnov"](_v, 98).disabled; var currVal_240 = core["ɵnov"](_v, 98).tabbable; var currVal_241 = core["ɵnov"](_v, 98).tiny; var currVal_242 = core["ɵnov"](_v, 98).small; var currVal_243 = core["ɵnov"](_v, 98).medium; var currVal_244 = core["ɵnov"](_v, 98).large; var currVal_245 = core["ɵnov"](_v, 98).giant; var currVal_246 = core["ɵnov"](_v, 98).primary; var currVal_247 = core["ɵnov"](_v, 98).info; var currVal_248 = core["ɵnov"](_v, 98).success; var currVal_249 = core["ɵnov"](_v, 98).warning; var currVal_250 = core["ɵnov"](_v, 98).danger; var currVal_251 = core["ɵnov"](_v, 98).basic; var currVal_252 = core["ɵnov"](_v, 98).control; var currVal_253 = core["ɵnov"](_v, 98).rectangle; var currVal_254 = core["ɵnov"](_v, 98).round; var currVal_255 = core["ɵnov"](_v, 98).semiRound; var currVal_256 = core["ɵnov"](_v, 98).iconLeft; var currVal_257 = core["ɵnov"](_v, 98).iconRight; var currVal_258 = core["ɵnov"](_v, 98).transitions; _ck(_v, 97, 1, [currVal_232, currVal_233, currVal_234, currVal_235, currVal_236, currVal_237, currVal_238, currVal_239, currVal_240, currVal_241, currVal_242, currVal_243, currVal_244, currVal_245, currVal_246, currVal_247, currVal_248, currVal_249, currVal_250, currVal_251, currVal_252, currVal_253, currVal_254, currVal_255, currVal_256, currVal_257, currVal_258]); var currVal_260 = (_co.isLoading ? "Aguarde..." : "Salvar"); _ck(_v, 99, 0, currVal_260); }); }
function View_SalersEditComponent_Host_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-salers-edit", [], null, null, null, View_SalersEditComponent_0, RenderType_SalersEditComponent)), core["ɵdid"](1, 114688, null, 0, salers_edit_component_SalersEditComponent, [fesm2015_forms["g" /* FormBuilder */], fesm2015_router["a" /* ActivatedRoute */], fesm2015_router["l" /* Router */], empresa_service["a" /* EmpresaService */], nav_extras_service["a" /* NavExtrasService */], usuario_service_UsuarioService, alert_service["a" /* AlertService */], auth_service["a" /* AuthService */], messages_service["a" /* MessagesService */], request_service["a" /* RequestService */], fesm2015["Ld" /* NbToastrService */]], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var SalersEditComponentNgFactory = core["ɵccf"]("omni-salers-edit", salers_edit_component_SalersEditComponent, View_SalersEditComponent_Host_0, {}, {}, []);


// EXTERNAL MODULE: ./node_modules/@sweetalert2/ngx-sweetalert2/sweetalert2-ngx-sweetalert2.ngfactory.js
var sweetalert2_ngx_sweetalert2_ngfactory = __webpack_require__("kExW");

// EXTERNAL MODULE: ./node_modules/ngx-bootstrap/typeahead/ngx-bootstrap-typeahead.ngfactory.js
var ngx_bootstrap_typeahead_ngfactory = __webpack_require__("SfUx");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/cashback/cashback-credit-dialog/cashback-credit-dialog.component.ngfactory.js + 1 modules
var cashback_credit_dialog_component_ngfactory = __webpack_require__("sKAB");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/category/category-quick-form-dialog/category-quick-form-dialog.component.ngfactory.js + 1 modules
var category_quick_form_dialog_component_ngfactory = __webpack_require__("iY9W");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/customization/edit-customization-value-dialog/edit-customization-value-dialog.component.ngfactory.js + 1 modules
var edit_customization_value_dialog_component_ngfactory = __webpack_require__("x9iD");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/edit-delivery-address-dialog/edit-delivery-address-dialog.component.ngfactory.js + 1 modules
var edit_delivery_address_dialog_component_ngfactory = __webpack_require__("EXuQ");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/cashback/extract-cashback-list-dialog/extract-cashback-list-dialog.component.ngfactory.js + 1 modules
var extract_cashback_list_dialog_component_ngfactory = __webpack_require__("ZjL+");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/orders/order-detail-dialog/order-detail-dialog.component.ngfactory.js + 3 modules
var order_detail_dialog_component_ngfactory = __webpack_require__("lbLe");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/orders/order-update-dialog/order-update-dialog.component.ngfactory.js + 1 modules
var order_update_dialog_component_ngfactory = __webpack_require__("/Cjm");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/promotion/promotion-rule-edit-dialog/promotion-rule-edit-dialog.component.ngfactory.js + 1 modules
var promotion_rule_edit_dialog_component_ngfactory = __webpack_require__("AHux");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/view-picture-dialog/view-picture-dialog.component.ngfactory.js + 1 modules
var view_picture_dialog_component_ngfactory = __webpack_require__("YAEL");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/promotion/promotion-gift-edit-dialog/promotion-gift-edit-dialog.component.ngfactory.js + 1 modules
var promotion_gift_edit_dialog_component_ngfactory = __webpack_require__("RswS");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/promotion/promotion-rule-view-dialog/promotion-rule-view-dialog.component.ngfactory.js + 1 modules
var promotion_rule_view_dialog_component_ngfactory = __webpack_require__("BRe2");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/orders/order-feedback-dialog/order-feedback-dialog.component.ngfactory.js + 1 modules
var order_feedback_dialog_component_ngfactory = __webpack_require__("otmp");

// EXTERNAL MODULE: ./src/app/shared/ui/dialogs/tutorial-dialog/tutorial-dialog.component.ngfactory.js + 1 modules
var tutorial_dialog_component_ngfactory = __webpack_require__("Uvoc");

// EXTERNAL MODULE: ./node_modules/@angular/cdk/esm2015/overlay.js
var overlay = __webpack_require__("QQfA");

// EXTERNAL MODULE: ./node_modules/@angular/cdk/esm2015/bidi.js
var bidi = __webpack_require__("IP0z");

// EXTERNAL MODULE: ./node_modules/@sweetalert2/ngx-sweetalert2/fesm2015/sweetalert2-ngx-sweetalert2.js
var sweetalert2_ngx_sweetalert2 = __webpack_require__("hvj1");

// EXTERNAL MODULE: ./node_modules/ngx-bootstrap/positioning/fesm2015/ngx-bootstrap-positioning.js
var ngx_bootstrap_positioning = __webpack_require__("2uy1");

// EXTERNAL MODULE: ./node_modules/ngx-bootstrap/component-loader/fesm2015/ngx-bootstrap-component-loader.js
var ngx_bootstrap_component_loader = __webpack_require__("z/SZ");

// EXTERNAL MODULE: ./node_modules/ngx-bootstrap/typeahead/fesm2015/ngx-bootstrap-typeahead.js + 2 modules
var ngx_bootstrap_typeahead = __webpack_require__("ZMeN");

// EXTERNAL MODULE: ./node_modules/@angular/cdk/esm2015/portal.js
var portal = __webpack_require__("zMNK");

// EXTERNAL MODULE: ./node_modules/@angular/cdk/esm2015/platform.js
var platform = __webpack_require__("/HVE");

// EXTERNAL MODULE: ./node_modules/@angular/cdk/esm2015/scrolling.js + 6 modules
var scrolling = __webpack_require__("hOhj");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers-routing.module.ts



const routes = [
    { path: '', component: salers_list_component_SalersListComponent },
    { path: 'new', component: salers_edit_component_SalersEditComponent },
    { path: ':id/edit', component: salers_edit_component_SalersEditComponent },
];
class SalersRoutingModule {
}

// EXTERNAL MODULE: ./node_modules/br-mask/dist/app.module.js
var app_module = __webpack_require__("CbX2");

// EXTERNAL MODULE: ./node_modules/angular2-chartjs/dist/chart.module.js
var chart_module = __webpack_require__("AE88");

// EXTERNAL MODULE: ./src/app/shared/directives/directives.module.ts + 1 modules
var directives_module = __webpack_require__("yGOH");

// EXTERNAL MODULE: ./node_modules/@nebular/eva-icons/fesm2015/index.js
var eva_icons_fesm2015 = __webpack_require__("XoTT");

// EXTERNAL MODULE: ./node_modules/ngx-dropzone/fesm2015/ngx-dropzone.js
var ngx_dropzone = __webpack_require__("tq8E");

// EXTERNAL MODULE: ./src/app/shared/pipes/pipes.module.ts + 9 modules
var pipes_module = __webpack_require__("9Xeq");

// EXTERNAL MODULE: ./src/app/shared/ui/ui.module.ts + 6 modules
var ui_module = __webpack_require__("4zvT");

// CONCATENATED MODULE: ./src/app/pages/wholesale/salers/salers.module.ngfactory.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SalersModuleNgFactory", function() { return SalersModuleNgFactory; });
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 














































var SalersModuleNgFactory = core["ɵcmf"](SalersModule, [], function (_l) { return core["ɵmod"]([core["ɵmpd"](512, core["ComponentFactoryResolver"], core["ɵCodegenComponentFactoryResolver"], [[8, [angular_fontawesome_ngfactory["b" /* FaIconComponentNgFactory */], angular_fontawesome_ngfactory["a" /* FaDuotoneIconComponentNgFactory */], router_ngfactory["a" /* ɵangular_packages_router_router_lNgFactory */], index_ngfactory["n" /* NbTooltipComponentNgFactory */], SalersListComponentNgFactory, SalersEditComponentNgFactory, index_ngfactory["h" /* NbContextMenuComponentNgFactory */], index_ngfactory["j" /* NbDialogContainerComponentNgFactory */], index_ngfactory["k" /* NbPopoverComponentNgFactory */], sweetalert2_ngx_sweetalert2_ngfactory["b" /* SwalComponentNgFactory */], sweetalert2_ngx_sweetalert2_ngfactory["d" /* ɵcNgFactory */], ngx_bootstrap_typeahead_ngfactory["a" /* TypeaheadContainerComponentNgFactory */], cashback_credit_dialog_component_ngfactory["a" /* CashbackCreditDialogComponentNgFactory */], category_quick_form_dialog_component_ngfactory["a" /* CategoryQuickFormDialogComponentNgFactory */], edit_customization_value_dialog_component_ngfactory["a" /* EditCustomizationValueDialogComponentNgFactory */], edit_delivery_address_dialog_component_ngfactory["a" /* EditDeliveryAddressDialogComponentNgFactory */], extract_cashback_list_dialog_component_ngfactory["a" /* ExtractCashbackListDialogComponentNgFactory */], order_detail_dialog_component_ngfactory["a" /* OrderDetailDialogComponentNgFactory */], order_update_dialog_component_ngfactory["a" /* OrderUpdateDialogComponentNgFactory */], promotion_rule_edit_dialog_component_ngfactory["a" /* PromotionRuleEditDialogComponentNgFactory */], view_picture_dialog_component_ngfactory["b" /* ViewPictureDialogComponentNgFactory */], promotion_gift_edit_dialog_component_ngfactory["a" /* PromotionGiftEditDialogComponentNgFactory */], promotion_rule_view_dialog_component_ngfactory["a" /* PromotionRuleViewDialogComponentNgFactory */], order_feedback_dialog_component_ngfactory["a" /* OrderFeedbackDialogComponentNgFactory */], tutorial_dialog_component_ngfactory["b" /* TutorialDialogComponentNgFactory */]]], [3, core["ComponentFactoryResolver"]], core["NgModuleRef"]]), core["ɵmpd"](4608, common["q" /* NgLocalization */], common["p" /* NgLocaleLocalization */], [core["LOCALE_ID"], [2, common["R" /* ɵangular_packages_common_common_a */]]]), core["ɵmpd"](4608, fesm2015_forms["B" /* ɵangular_packages_forms_forms_o */], fesm2015_forms["B" /* ɵangular_packages_forms_forms_o */], []), core["ɵmpd"](4608, overlay["d" /* Overlay */], overlay["d" /* Overlay */], [overlay["i" /* ScrollStrategyOptions */], overlay["e" /* OverlayContainer */], core["ComponentFactoryResolver"], overlay["h" /* OverlayPositionBuilder */], overlay["f" /* OverlayKeyboardDispatcher */], core["Injector"], core["NgZone"], common["e" /* DOCUMENT */], bidi["b" /* Directionality */], [2, common["k" /* Location */]]]), core["ɵmpd"](5120, overlay["j" /* ɵc */], overlay["k" /* ɵd */], [overlay["d" /* Overlay */]]), core["ɵmpd"](4608, fesm2015_forms["g" /* FormBuilder */], fesm2015_forms["g" /* FormBuilder */], []), core["ɵmpd"](4608, sweetalert2_ngx_sweetalert2["b" /* SwalPartialTargets */], sweetalert2_ngx_sweetalert2["b" /* SwalPartialTargets */], []), core["ɵmpd"](4608, ngx_bootstrap_positioning["a" /* PositioningService */], ngx_bootstrap_positioning["a" /* PositioningService */], [core["NgZone"], core["RendererFactory2"], core["PLATFORM_ID"]]), core["ɵmpd"](4608, ngx_bootstrap_component_loader["a" /* ComponentLoaderFactory */], ngx_bootstrap_component_loader["a" /* ComponentLoaderFactory */], [core["ComponentFactoryResolver"], core["NgZone"], core["Injector"], ngx_bootstrap_positioning["a" /* PositioningService */], core["ApplicationRef"]]), core["ɵmpd"](4608, ngx_bootstrap_typeahead["a" /* TypeaheadConfig */], ngx_bootstrap_typeahead["a" /* TypeaheadConfig */], []), core["ɵmpd"](1073742336, common["c" /* CommonModule */], common["c" /* CommonModule */], []), core["ɵmpd"](1073742336, angular_fontawesome["j" /* FontAwesomeModule */], angular_fontawesome["j" /* FontAwesomeModule */], []), core["ɵmpd"](1073742336, fesm2015_forms["A" /* ɵangular_packages_forms_forms_d */], fesm2015_forms["A" /* ɵangular_packages_forms_forms_d */], []), core["ɵmpd"](1073742336, fesm2015_forms["n" /* FormsModule */], fesm2015_forms["n" /* FormsModule */], []), core["ɵmpd"](1073742336, fesm2015_router["p" /* RouterModule */], fesm2015_router["p" /* RouterModule */], [[2, fesm2015_router["u" /* ɵangular_packages_router_router_a */]], [2, fesm2015_router["l" /* Router */]]]), core["ɵmpd"](1073742336, fesm2015["pe" /* ɵc */], fesm2015["pe" /* ɵc */], []), core["ɵmpd"](1073742336, fesm2015["M" /* NbButtonModule */], fesm2015["M" /* NbButtonModule */], []), core["ɵmpd"](1073742336, fesm2015["dc" /* NbIconModule */], fesm2015["dc" /* NbIconModule */], [fesm2015["cc" /* NbIconLibraries */]]), core["ɵmpd"](1073742336, fesm2015["nb" /* NbCardModule */], fesm2015["nb" /* NbCardModule */], []), core["ɵmpd"](1073742336, fesm2015["Bb" /* NbCheckboxModule */], fesm2015["Bb" /* NbCheckboxModule */], []), core["ɵmpd"](1073742336, fesm2015["fc" /* NbInputModule */], fesm2015["fc" /* NbInputModule */], []), core["ɵmpd"](1073742336, fesm2015["vc" /* NbMenuModule */], fesm2015["vc" /* NbMenuModule */], []), core["ɵmpd"](1073742336, bidi["a" /* BidiModule */], bidi["a" /* BidiModule */], []), core["ɵmpd"](1073742336, portal["f" /* PortalModule */], portal["f" /* PortalModule */], []), core["ɵmpd"](1073742336, platform["b" /* PlatformModule */], platform["b" /* PlatformModule */], []), core["ɵmpd"](1073742336, scrolling["b" /* ScrollingModule */], scrolling["b" /* ScrollingModule */], []), core["ɵmpd"](1073742336, overlay["g" /* OverlayModule */], overlay["g" /* OverlayModule */], []), core["ɵmpd"](1073742336, fesm2015["pb" /* NbCdkMappingModule */], fesm2015["pb" /* NbCdkMappingModule */], []), core["ɵmpd"](1073742336, fesm2015["ob" /* NbCdkAdapterModule */], fesm2015["ob" /* NbCdkAdapterModule */], []), core["ɵmpd"](1073742336, fesm2015["Ec" /* NbOverlayModule */], fesm2015["Ec" /* NbOverlayModule */], []), core["ɵmpd"](1073742336, fesm2015["kd" /* NbSelectModule */], fesm2015["kd" /* NbSelectModule */], []), core["ɵmpd"](1073742336, fesm2015["Vc" /* NbRadioModule */], fesm2015["Vc" /* NbRadioModule */], []), core["ɵmpd"](1073742336, fesm2015["Qd" /* NbTooltipModule */], fesm2015["Qd" /* NbTooltipModule */], []), core["ɵmpd"](1073742336, SalersRoutingModule, SalersRoutingModule, []), core["ɵmpd"](1073742336, fesm2015_forms["x" /* ReactiveFormsModule */], fesm2015_forms["x" /* ReactiveFormsModule */], []), core["ɵmpd"](1073742336, app_module["a" /* BrMaskerModule */], app_module["a" /* BrMaskerModule */], []), core["ɵmpd"](1073742336, chart_module["ChartModule"], chart_module["ChartModule"], []), core["ɵmpd"](1073742336, directives_module["a" /* DirectivesModule */], directives_module["a" /* DirectivesModule */], []), core["ɵmpd"](1073742336, fesm2015["D" /* NbAlertModule */], fesm2015["D" /* NbAlertModule */], []), core["ɵmpd"](1073742336, fesm2015["F" /* NbBadgeModule */], fesm2015["F" /* NbBadgeModule */], []), core["ɵmpd"](1073742336, fesm2015["B" /* NbActionsModule */], fesm2015["B" /* NbActionsModule */], []), core["ɵmpd"](1073742336, fesm2015["Gb" /* NbContextMenuModule */], fesm2015["Gb" /* NbContextMenuModule */], []), core["ɵmpd"](1073742336, fesm2015["Qb" /* NbDialogModule */], fesm2015["Qb" /* NbDialogModule */], []), core["ɵmpd"](1073742336, eva_icons_fesm2015["a" /* NbEvaIconsModule */], eva_icons_fesm2015["a" /* NbEvaIconsModule */], [fesm2015["cc" /* NbIconLibraries */]]), core["ɵmpd"](1073742336, fesm2015["rc" /* NbListModule */], fesm2015["rc" /* NbListModule */], []), core["ɵmpd"](1073742336, fesm2015["Lc" /* NbPopoverModule */], fesm2015["Lc" /* NbPopoverModule */], []), core["ɵmpd"](1073742336, fesm2015["Ed" /* NbTabsetModule */], fesm2015["Ed" /* NbTabsetModule */], []), core["ɵmpd"](1073742336, fesm2015["fe" /* NbUserModule */], fesm2015["fe" /* NbUserModule */], []), core["ɵmpd"](1073742336, ngx_dropzone["c" /* NgxDropzoneModule */], ngx_dropzone["c" /* NgxDropzoneModule */], []), core["ɵmpd"](1073742336, pipes_module["a" /* PipesModule */], pipes_module["a" /* PipesModule */], []), core["ɵmpd"](1073742336, sweetalert2_ngx_sweetalert2["c" /* SweetAlert2Module */], sweetalert2_ngx_sweetalert2["c" /* SweetAlert2Module */], []), core["ɵmpd"](1073742336, ngx_bootstrap_typeahead["d" /* TypeaheadModule */], ngx_bootstrap_typeahead["d" /* TypeaheadModule */], []), core["ɵmpd"](1073742336, ui_module["a" /* UiModule */], ui_module["a" /* UiModule */], []), core["ɵmpd"](1073742336, SalersModule, SalersModule, []), core["ɵmpd"](1024, fesm2015_router["j" /* ROUTES */], function () { return [[{ path: "", component: salers_list_component_SalersListComponent }, { path: "new", component: salers_edit_component_SalersEditComponent }, { path: ":id/edit", component: salers_edit_component_SalersEditComponent }]]; }, []), core["ɵmpd"](256, sweetalert2_ngx_sweetalert2["d" /* ɵa */], undefined, [])]); });



/***/ })

};;