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

/***/ "8bgM":
/***/ (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/products/customizations/customization-product/customization-product.module.ts
class CustomizationProductModule {
}

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

// 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: ./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: ./node_modules/@angular/common/fesm2015/common.js
var common = __webpack_require__("SVse");

// 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/yes-no.pipe.ts
var yes_no_pipe = __webpack_require__("KnEs");

// 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: ./node_modules/@nebular/theme/fesm2015/index.js + 5 modules
var fesm2015 = __webpack_require__("tKwJ");

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

// 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/null.util.ts
var null_util = __webpack_require__("5tvI");

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

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-filter/customization-product-filter.component.ts





class customization_product_filter_component_CustomizationProductFilterComponent extends base_form_filter_component["a" /* BaseFormFilterComponent */] {
    constructor(fb, authService, categoryService, productCustomizationService) {
        super();
        this.fb = fb;
        this.authService = authService;
        this.categoryService = categoryService;
        this.productCustomizationService = productCustomizationService;
        this.categories = [];
        this.multiSelectableOptions = [];
        this.categoryService.companyId = this.authService.loggedUser.id;
        this.productCustomizationService.companyId = this.authService.loggedUser.id;
    }
    ngOnInit() {
        this.initForm();
        this.loadFormData();
    }
    applyFilter() {
        this.filters = [];
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.descricao)) {
            this.filters.push({
                key: 'descricao',
                label: 'Descrição',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.descricao,
                tagValue: this.formData.descricao
            });
        }
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.nomeProduto)) {
            this.filters.push({
                key: 'nomeProduto',
                label: 'Nome do Produto',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.nomeProduto,
                tagValue: this.formData.nomeProduto
            });
        }
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.categoriaId)) {
            this.filters.push({
                key: 'categoriaId',
                label: 'Categoria do Produto',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.categoriaId,
                tagValue: this.categories.find(category => category.value === this.formData.categoriaId).label
            });
        }
        if (!string_util["a" /* StringUtil */].isBlank(this.formData.multiOpcional)) {
            this.filters.push({
                key: 'multiOpcional',
                label: 'Permite selecionar mais de uma opção?',
                operator: query_operators["a" /* QUERY_OPERATORS */].EQUALS,
                value: this.formData.multiOpcional,
                tagValue: this.formData.multiOpcional ? 'Sim' : 'Não'
            });
        }
        this.saveFilterState(this.filters);
        this.doFilter.emit(this.filters);
    }
    initForm() {
        this.formFilter = this.fb.group({
            descricao: [''],
            nomeProduto: [''],
            categoriaId: [''],
            multiOpcional: ['']
        });
    }
    refreshFilterState() {
        if (this.getFilterState()) {
            this.getFilterState().criterias.forEach((criteria) => this.formFilter.get(criteria.key).setValue(criteria.value));
        }
    }
    resetFilter() {
        this.filters = [];
        this.doFilter.emit(this.filters);
    }
    loadFormData() {
        this.categoryService.findAllExceptMasterCategories().subscribe(categories => {
            categories.forEach(category => {
                const masterCategory = `${null_util["a" /* NullUtil */].isNotNull(category.categoriaPai) ? category.categoriaPai.descricao + ' - ' : ''}`;
                this.categories.push({
                    label: `${masterCategory}${category.descricao}`,
                    value: category.id
                });
            });
        });
        const radioOptions = [
            { label: 'Sim', value: true },
            { label: 'Não', value: false }
        ];
        radioOptions.map(option => this.multiSelectableOptions.push(option));
        this.refreshFilterState();
    }
}

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

// EXTERNAL MODULE: ./src/app/shared/services/categorias.service.ts
var categorias_service = __webpack_require__("uWRN");

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

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

// CONCATENATED MODULE: ./src/app/shared/services/personalizacao-de-produto.service.ts



class personalizacao_de_produto_service_PersonalizacaoDeProdutoService extends resource_service["a" /* ResourceService */] {
    constructor(http) {
        super(http, 'admin/personalizacoes-produtos');
    }
}
personalizacao_de_produto_service_PersonalizacaoDeProdutoService.ngInjectableDef = core["ɵɵdefineInjectable"]({ factory: function PersonalizacaoDeProdutoService_Factory() { return new personalizacao_de_produto_service_PersonalizacaoDeProdutoService(core["ɵɵinject"](http["c" /* HttpClient */])); }, token: personalizacao_de_produto_service_PersonalizacaoDeProdutoService, providedIn: "root" });

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-filter/customization-product-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_CustomizationProductFilterComponent = [];
var RenderType_CustomizationProductFilterComponent = core["ɵcrt"]({ encapsulation: 2, styles: styles_CustomizationProductFilterComponent, data: {} });

function View_CustomizationProductFilterComponent_1(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 2, "nb-option", [], [[2, "selected", null], [1, "disabled", 0], [8, "tabIndex", 0]], [[null, "click"], [null, "keydown.space"], [null, "keydown.enter"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
        var pd_0 = (core["ɵnov"](_v, 1).onClick($event) !== false);
        ad = (pd_0 && ad);
    } if (("keydown.space" === en)) {
        var pd_1 = (core["ɵnov"](_v, 1).onClick($event) !== false);
        ad = (pd_1 && ad);
    } if (("keydown.enter" === en)) {
        var pd_2 = (core["ɵnov"](_v, 1).onClick($event) !== false);
        ad = (pd_2 && ad);
    } return ad; }, index_ngfactory["Z" /* View_NbOptionComponent_0 */], index_ngfactory["C" /* RenderType_NbOptionComponent */])), core["ɵdid"](1, 180224, [[2, 4]], 0, fesm2015["yc" /* NbOptionComponent */], [fesm2015["k" /* NB_SELECT_INJECTION_TOKEN */], core["ElementRef"], core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](2, 0, [" ", " "]))], function (_ck, _v) { var currVal_3 = _v.context.$implicit.value; _ck(_v, 1, 0, currVal_3); }, function (_ck, _v) { var currVal_0 = core["ɵnov"](_v, 1).selectedClass; var currVal_1 = core["ɵnov"](_v, 1).disabledAttribute; var currVal_2 = core["ɵnov"](_v, 1).tabindex; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); var currVal_4 = _v.context.$implicit.label; _ck(_v, 2, 0, currVal_4); }); }
function View_CustomizationProductFilterComponent_2(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 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"](1, 49152, [[4, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](2, 0, [" ", " "]))], function (_ck, _v) { var currVal_7 = _v.context.$implicit.value; _ck(_v, 1, 0, currVal_7); }, function (_ck, _v) { var currVal_0 = core["ɵnov"](_v, 1).isPrimary; var currVal_1 = core["ɵnov"](_v, 1).isSuccess; var currVal_2 = core["ɵnov"](_v, 1).isWarning; var currVal_3 = core["ɵnov"](_v, 1).isDanger; var currVal_4 = core["ɵnov"](_v, 1).isInfo; var currVal_5 = core["ɵnov"](_v, 1).isBasic; var currVal_6 = core["ɵnov"](_v, 1).isControl; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = _v.context.$implicit.label; _ck(_v, 2, 0, currVal_8); }); }
function View_CustomizationProductFilterComponent_0(_l) { return core["ɵvid"](0, [core["ɵqud"](402653184, 1, { formFilterRef: 0 }), (_l()(), core["ɵeld"](1, 0, null, null, 64, "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, 59, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](7, 0, null, null, 58, "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", "descricao"], ["label", "Descri\u00E7\u00E3o"]], 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", "descricao"], ["fullWidth", ""], ["name", "descricao"], ["nbInput", ""], ["placeholder", "Informe a Descri\u00E7\u00E3o"], ["status", "primary"], ["type", "text"]], [[8, "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", "nomeProduto"], ["label", "Nome do Produto"]], 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", "nomeProduto"], ["fullWidth", ""], ["name", "nomeProduto"], ["nbInput", ""], ["placeholder", "Informe a Descri\u00E7\u00E3o"], ["status", "primary"], ["type", "text"]], [[8, "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, 16, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](29, 0, null, null, 15, "omni-field", [["field", "categoriaId"], ["label", "Categoria do Produto"]], 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"] }, null), (_l()(), core["ɵeld"](31, 0, null, 0, 13, "nb-select", [["fullWidth", ""], ["placeholder", "Selecione a Categoria"], ["status", "primary"]], [[2, "appearance-outline", null], [2, "appearance-filled", null], [2, "appearance-hero", null], [2, "full-width", null], [2, "open", 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-round", null], [2, "shape-semi-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, null, index_ngfactory["db" /* View_NbSelectComponent_0 */], index_ngfactory["G" /* RenderType_NbSelectComponent */])), core["ɵdid"](32, 5423104, null, 2, fesm2015["id" /* NbSelectComponent */], [fesm2015["g" /* NB_DOCUMENT */], fesm2015["Gc" /* NbOverlayService */], core["ElementRef"], fesm2015["Oc" /* NbPositionBuilderService */], fesm2015["de" /* NbTriggerStrategyBuilderService */], core["ChangeDetectorRef"], fesm2015["qe" /* ɵd */]], { status: [0, "status"], fullWidth: [1, "fullWidth"], placeholder: [2, "placeholder"] }, null), core["ɵqud"](603979776, 2, { options: 1 }), core["ɵqud"](603979776, 3, { customLabel: 0 }), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015["id" /* NbSelectComponent */]]), core["ɵdid"](36, 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"](38, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), core["ɵprd"](2048, null, fesm2015["k" /* NB_SELECT_INJECTION_TOKEN */], null, [fesm2015["id" /* NbSelectComponent */]]), (_l()(), core["ɵeld"](40, 0, null, 1, 2, "nb-option", [], [[2, "selected", null], [1, "disabled", 0], [8, "tabIndex", 0]], [[null, "click"], [null, "keydown.space"], [null, "keydown.enter"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
        var pd_0 = (core["ɵnov"](_v, 41).onClick($event) !== false);
        ad = (pd_0 && ad);
    } if (("keydown.space" === en)) {
        var pd_1 = (core["ɵnov"](_v, 41).onClick($event) !== false);
        ad = (pd_1 && ad);
    } if (("keydown.enter" === en)) {
        var pd_2 = (core["ɵnov"](_v, 41).onClick($event) !== false);
        ad = (pd_2 && ad);
    } return ad; }, index_ngfactory["Z" /* View_NbOptionComponent_0 */], index_ngfactory["C" /* RenderType_NbOptionComponent */])), core["ɵdid"](41, 180224, [[2, 4]], 0, fesm2015["yc" /* NbOptionComponent */], [fesm2015["k" /* NB_SELECT_INJECTION_TOKEN */], core["ElementRef"], core["ChangeDetectorRef"]], null, null), (_l()(), core["ɵted"](-1, 0, ["Todas as Categorias"])), (_l()(), core["ɵand"](16777216, null, 1, 1, null, View_CustomizationProductFilterComponent_1)), core["ɵdid"](44, 278528, null, 0, common["n" /* NgForOf */], [core["ViewContainerRef"], core["TemplateRef"], core["IterableDiffers"]], { ngForOf: [0, "ngForOf"] }, null), (_l()(), core["ɵeld"](45, 0, null, null, 11, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](46, 0, null, null, 10, "omni-field", [["endLabelChar", "?"], ["field", "multiOpcional"], ["label", "Permite selecionar mais de uma op\u00E7\u00E3o"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](47, 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"](48, 0, null, 0, 8, "nb-radio-group", [["class", "d-flex flex-row"], ["name", "rg-multioptional"], ["status", "primary"]], [[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"](49, 1228800, null, 1, fesm2015["Uc" /* NbRadioGroupComponent */], [core["ElementRef"], core["PLATFORM_ID"], fesm2015["g" /* NB_DOCUMENT */]], { name: [0, "name"], status: [1, "status"] }, null), core["ɵqud"](603979776, 4, { radios: 1 }), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015["Uc" /* NbRadioGroupComponent */]]), core["ɵdid"](52, 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"](54, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵand"](16777216, null, 0, 1, null, View_CustomizationProductFilterComponent_2)), core["ɵdid"](56, 278528, null, 0, common["n" /* NgForOf */], [core["ViewContainerRef"], core["TemplateRef"], core["IterableDiffers"]], { ngForOf: [0, "ngForOf"] }, null), (_l()(), core["ɵeld"](57, 0, null, null, 0, "hr", [], null, null, null, null, null)), (_l()(), core["ɵeld"](58, 0, null, null, 3, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](59, 0, null, null, 2, "button", [["fullWidth", ""], ["nbButton", ""], ["status", "primary"], ["type", "submit"]], [[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, 60).onClick($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["M" /* View_NbButtonComponent_0 */], index_ngfactory["p" /* RenderType_NbButtonComponent */])), core["ɵdid"](60, 4243456, null, 0, fesm2015["L" /* NbButtonComponent */], [core["Renderer2"], core["ElementRef"], core["ChangeDetectorRef"]], { status: [0, "status"], fullWidth: [1, "fullWidth"], disabled: [2, "disabled"] }, null), (_l()(), core["ɵted"](-1, 0, [" Pesquisar "])), (_l()(), core["ɵeld"](62, 0, null, null, 3, "div", [["class", "form-group"]], null, null, null, null, null)), (_l()(), core["ɵeld"](63, 0, null, null, 2, "button", [["fullWidth", ""], ["nbButton", ""], ["status", "primary"], ["type", "button"]], [[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, 64).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"](64, 4243456, null, 0, fesm2015["L" /* NbButtonComponent */], [core["Renderer2"], core["ElementRef"], core["ChangeDetectorRef"]], { status: [0, "status"], outline: [1, "outline"], fullWidth: [2, "fullWidth"], disabled: [3, "disabled"] }, 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 = "descricao"; var currVal_9 = _co.formFilter; var currVal_10 = "Descri\u00E7\u00E3o"; _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 = "descricao"; _ck(_v, 15, 0, currVal_37); var currVal_38 = "nomeProduto"; var currVal_39 = _co.formFilter; var currVal_40 = "Nome do Produto"; _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 = "nomeProduto"; _ck(_v, 25, 0, currVal_67); var currVal_68 = "categoriaId"; var currVal_69 = _co.formFilter; var currVal_70 = "Categoria do Produto"; _ck(_v, 30, 0, currVal_68, currVal_69, currVal_70); var currVal_98 = "primary"; var currVal_99 = ""; var currVal_100 = "Selecione a Categoria"; _ck(_v, 32, 0, currVal_98, currVal_99, currVal_100); var currVal_101 = _co.formFilter.get("categoriaId"); _ck(_v, 36, 0, currVal_101); var currVal_105 = _co.categories; _ck(_v, 44, 0, currVal_105); var currVal_106 = "multiOpcional"; var currVal_107 = _co.formFilter; var currVal_108 = "Permite selecionar mais de uma op\u00E7\u00E3o"; var currVal_109 = "?"; _ck(_v, 47, 0, currVal_106, currVal_107, currVal_108, currVal_109); var currVal_117 = "rg-multioptional"; var currVal_118 = "primary"; _ck(_v, 49, 0, currVal_117, currVal_118); var currVal_119 = _co.formFilter.get("multiOpcional"); _ck(_v, 52, 0, currVal_119); var currVal_120 = _co.multiSelectableOptions; _ck(_v, 56, 0, currVal_120); var currVal_147 = "primary"; var currVal_148 = ""; var currVal_149 = _co.isDisabled; _ck(_v, 60, 0, currVal_147, currVal_148, currVal_149); var currVal_176 = "primary"; var currVal_177 = true; var currVal_178 = ""; var currVal_179 = _co.isDisabled; _ck(_v, 64, 0, currVal_176, currVal_177, currVal_178, currVal_179); }, 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; 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; 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_71 = core["ɵnov"](_v, 32).outline; var currVal_72 = core["ɵnov"](_v, 32).filled; var currVal_73 = core["ɵnov"](_v, 32).hero; var currVal_74 = core["ɵnov"](_v, 32).fullWidth; var currVal_75 = core["ɵnov"](_v, 32).isOpen; var currVal_76 = core["ɵnov"](_v, 32).tiny; var currVal_77 = core["ɵnov"](_v, 32).small; var currVal_78 = core["ɵnov"](_v, 32).medium; var currVal_79 = core["ɵnov"](_v, 32).large; var currVal_80 = core["ɵnov"](_v, 32).giant; var currVal_81 = core["ɵnov"](_v, 32).primary; var currVal_82 = core["ɵnov"](_v, 32).info; var currVal_83 = core["ɵnov"](_v, 32).success; var currVal_84 = core["ɵnov"](_v, 32).warning; var currVal_85 = core["ɵnov"](_v, 32).danger; var currVal_86 = core["ɵnov"](_v, 32).basic; var currVal_87 = core["ɵnov"](_v, 32).control; var currVal_88 = core["ɵnov"](_v, 32).rectangle; var currVal_89 = core["ɵnov"](_v, 32).round; var currVal_90 = core["ɵnov"](_v, 32).semiRound; var currVal_91 = core["ɵnov"](_v, 38).ngClassUntouched; var currVal_92 = core["ɵnov"](_v, 38).ngClassTouched; var currVal_93 = core["ɵnov"](_v, 38).ngClassPristine; var currVal_94 = core["ɵnov"](_v, 38).ngClassDirty; var currVal_95 = core["ɵnov"](_v, 38).ngClassValid; var currVal_96 = core["ɵnov"](_v, 38).ngClassInvalid; var currVal_97 = core["ɵnov"](_v, 38).ngClassPending; _ck(_v, 31, 1, [currVal_71, currVal_72, currVal_73, currVal_74, currVal_75, currVal_76, currVal_77, currVal_78, currVal_79, currVal_80, currVal_81, currVal_82, currVal_83, currVal_84, currVal_85, currVal_86, currVal_87, currVal_88, currVal_89, currVal_90, currVal_91, currVal_92, currVal_93, currVal_94, currVal_95, currVal_96, currVal_97]); var currVal_102 = core["ɵnov"](_v, 41).selectedClass; var currVal_103 = core["ɵnov"](_v, 41).disabledAttribute; var currVal_104 = core["ɵnov"](_v, 41).tabindex; _ck(_v, 40, 0, currVal_102, currVal_103, currVal_104); var currVal_110 = core["ɵnov"](_v, 54).ngClassUntouched; var currVal_111 = core["ɵnov"](_v, 54).ngClassTouched; var currVal_112 = core["ɵnov"](_v, 54).ngClassPristine; var currVal_113 = core["ɵnov"](_v, 54).ngClassDirty; var currVal_114 = core["ɵnov"](_v, 54).ngClassValid; var currVal_115 = core["ɵnov"](_v, 54).ngClassInvalid; var currVal_116 = core["ɵnov"](_v, 54).ngClassPending; _ck(_v, 48, 0, currVal_110, currVal_111, currVal_112, currVal_113, currVal_114, currVal_115, currVal_116); var currVal_121 = core["ɵnov"](_v, 60).filled; var currVal_122 = core["ɵnov"](_v, 60).outline; var currVal_123 = core["ɵnov"](_v, 60).ghost; var currVal_124 = core["ɵnov"](_v, 60).hero; var currVal_125 = core["ɵnov"](_v, 60).fullWidth; var currVal_126 = core["ɵnov"](_v, 60).disabled; var currVal_127 = core["ɵnov"](_v, 60).disabled; var currVal_128 = core["ɵnov"](_v, 60).tabbable; var currVal_129 = core["ɵnov"](_v, 60).tiny; var currVal_130 = core["ɵnov"](_v, 60).small; var currVal_131 = core["ɵnov"](_v, 60).medium; var currVal_132 = core["ɵnov"](_v, 60).large; var currVal_133 = core["ɵnov"](_v, 60).giant; var currVal_134 = core["ɵnov"](_v, 60).primary; var currVal_135 = core["ɵnov"](_v, 60).info; var currVal_136 = core["ɵnov"](_v, 60).success; var currVal_137 = core["ɵnov"](_v, 60).warning; var currVal_138 = core["ɵnov"](_v, 60).danger; var currVal_139 = core["ɵnov"](_v, 60).basic; var currVal_140 = core["ɵnov"](_v, 60).control; var currVal_141 = core["ɵnov"](_v, 60).rectangle; var currVal_142 = core["ɵnov"](_v, 60).round; var currVal_143 = core["ɵnov"](_v, 60).semiRound; var currVal_144 = core["ɵnov"](_v, 60).iconLeft; var currVal_145 = core["ɵnov"](_v, 60).iconRight; var currVal_146 = core["ɵnov"](_v, 60).transitions; _ck(_v, 59, 1, [currVal_121, 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, currVal_146]); var currVal_150 = core["ɵnov"](_v, 64).filled; var currVal_151 = core["ɵnov"](_v, 64).outline; var currVal_152 = core["ɵnov"](_v, 64).ghost; var currVal_153 = core["ɵnov"](_v, 64).hero; var currVal_154 = core["ɵnov"](_v, 64).fullWidth; var currVal_155 = core["ɵnov"](_v, 64).disabled; var currVal_156 = core["ɵnov"](_v, 64).disabled; var currVal_157 = core["ɵnov"](_v, 64).tabbable; var currVal_158 = core["ɵnov"](_v, 64).tiny; var currVal_159 = core["ɵnov"](_v, 64).small; var currVal_160 = core["ɵnov"](_v, 64).medium; var currVal_161 = core["ɵnov"](_v, 64).large; var currVal_162 = core["ɵnov"](_v, 64).giant; var currVal_163 = core["ɵnov"](_v, 64).primary; var currVal_164 = core["ɵnov"](_v, 64).info; var currVal_165 = core["ɵnov"](_v, 64).success; var currVal_166 = core["ɵnov"](_v, 64).warning; var currVal_167 = core["ɵnov"](_v, 64).danger; var currVal_168 = core["ɵnov"](_v, 64).basic; var currVal_169 = core["ɵnov"](_v, 64).control; var currVal_170 = core["ɵnov"](_v, 64).rectangle; var currVal_171 = core["ɵnov"](_v, 64).round; var currVal_172 = core["ɵnov"](_v, 64).semiRound; var currVal_173 = core["ɵnov"](_v, 64).iconLeft; var currVal_174 = core["ɵnov"](_v, 64).iconRight; var currVal_175 = core["ɵnov"](_v, 64).transitions; _ck(_v, 63, 1, [currVal_150, currVal_151, currVal_152, currVal_153, currVal_154, 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]); }); }
function View_CustomizationProductFilterComponent_Host_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-customization-product-filter", [], null, null, null, View_CustomizationProductFilterComponent_0, RenderType_CustomizationProductFilterComponent)), core["ɵdid"](1, 114688, null, 0, customization_product_filter_component_CustomizationProductFilterComponent, [fesm2015_forms["g" /* FormBuilder */], auth_service["a" /* AuthService */], categorias_service["a" /* CategoriasService */], personalizacao_de_produto_service_PersonalizacaoDeProdutoService], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var CustomizationProductFilterComponentNgFactory = core["ɵccf"]("omni-customization-product-filter", customization_product_filter_component_CustomizationProductFilterComponent, View_CustomizationProductFilterComponent_Host_0, { pageId: "pageId", currentPage: "currentPage" }, { doFilter: "doFilter" }, []);


// 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");

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-list/customization-product-list.component.ts





class customization_product_list_component_CustomizationProductListComponent extends base_list_component["a" /* BaseListComponent */] {
    constructor(router, customizationProductService, menuService, navExtrasService, requestService, toastrService, alertService, authService, messagesService) {
        super(alertService, authService, messagesService);
        this.router = router;
        this.customizationProductService = customizationProductService;
        this.menuService = menuService;
        this.navExtrasService = navExtrasService;
        this.requestService = requestService;
        this.toastrService = toastrService;
        this.confirmMessage = '';
        this.feedbackMessage = '';
        this.pageId = 'customizationProductList';
        this.customizationProductService.companyId = this.authService.loggedUser.id;
    }
    get productIcon() {
        return free_solid_svg_icons["faCube"];
    }
    ngOnInit() {
        this.loadFilterState();
        this.feedbackMessage = this.messagesService.getMessage('MSG.SUCESSO.023', ['Opcional por Produto']);
        this.list();
        this.initGridContextMenu();
    }
    applyFilters(filterList) {
        this.currentPage = 1;
        this.filterList = filterList;
        this.formFilterRef.closeForm();
        this.customizationFilterRef.updateFormFilter(this.filterList);
        this.addCriteria();
    }
    delete() {
        if (this.inDemoMode()) {
            return;
        }
        this.loadState();
        this.customizationProductService.delete(this.customization.id).subscribe(() => {
            this.loadState();
            if (this.datasource.length === 1) {
                this.datasource = [];
                this.currentPage = 1;
            }
            this.changePage(this.currentPage);
            this.alertService.success(this.feedbackMessage);
        }, (resp) => {
            this.loadState();
            this.toastrService.danger(resp.error.message);
        });
    }
    edit(id) {
        if (id && id > 0) {
            this.router.navigate([`admin/products/customization/product/${id}/edit`]);
        }
        else {
            this.router.navigate([`admin/products/customization/product/new`]);
        }
    }
    initGridContextMenu() {
        this.menuService.onItemClick().subscribe(menu => {
            const data = menu.item.data;
            if (data && data.action) {
                switch (data.action) {
                    case actions["a" /* ACTIONS */].DELETE:
                        this.customization = data.customization;
                        this.alertService.confirm(this.messagesService.getMessage('MSG.CONFIRM.008', ['Opcional por Produto', this.customization.descricao]), result => {
                            if (result.value) {
                                this.delete();
                            }
                        });
                        break;
                    case actions["a" /* ACTIONS */].DUPLICATE:
                        this.navExtrasService.setExtras(data.customization.id);
                        this.router.navigate(['admin/products/customization/product/new']);
                        break;
                }
            }
        });
    }
    list() {
        this.datasource = [];
        this.isLoading = true;
        this.searchCriteria.push(`excluido${query_operators["a" /* QUERY_OPERATORS */].EQUALS}false`);
        this.customizationProductService.filter(this.searchCriteria, this.currentPage, ['ordem', 'descricao']).subscribe(resultSet => {
            this.resultSet = resultSet;
            this.resultSet.content.forEach(customization => {
                const item = {
                    item: customization,
                    itemMenu: this.makeMenu(customization)
                };
                this.datasource.push(item);
            });
        }, (resp) => this.requestService.handleError(resp, this.toastrService), () => this.isLoading = false);
    }
    makeMenu(customization) {
        return [
            { icon: 'edit', title: 'Editar', link: `admin/products/customization/product/${customization.id}/edit` },
            { icon: 'copy', title: 'Duplicar', data: { action: actions["a" /* ACTIONS */].DUPLICATE, customization } },
            { icon: 'trash', title: 'Excluir', data: { action: actions["a" /* ACTIONS */].DELETE, customization } }
        ];
    }
    setConfirmMessage() {
    }
}

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

// 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: ./src/app/shared/services/alert.service.ts
var alert_service = __webpack_require__("Cmua");

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

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-list/customization-product-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_CustomizationProductListComponent = [];
var RenderType_CustomizationProductListComponent = core["ɵcrt"]({ encapsulation: 2, styles: styles_CustomizationProductListComponent, data: {} });

function View_CustomizationProductListComponent_3(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 2, "omni-grid-label", [["class", "mr-2"], ["label", "Permite selecionar no m\u00EDnimo"]], 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 = "Permite selecionar no m\u00EDnimo"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.item.quantidadeMinimaPermitida; var currVal_2 = ((_v.parent.context.$implicit.item.quantidadeMinimaPermitida === 1) ? "op\u00E7\u00E3o" : "op\u00E7\u00F5es"); _ck(_v, 2, 0, currVal_1, currVal_2); }); }
function View_CustomizationProductListComponent_4(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 2, "omni-grid-label", [["label", "Permite selecionar at\u00E9"]], 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 = "Permite selecionar at\u00E9"; _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var currVal_1 = _v.parent.context.$implicit.item.quantidadePermitida; var currVal_2 = ((_v.parent.context.$implicit.item.quantidadePermitida === 1) ? "op\u00E7\u00E3o" : "op\u00E7\u00F5es"); _ck(_v, 2, 0, currVal_1, currVal_2); }); }
function View_CustomizationProductListComponent_2(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 39, "div", [["class", "col-12 col-sm-12 col-md-12 col-lg-6 mb-2 pr-1 pl-1"]], null, null, null, null, null)), (_l()(), core["ɵeld"](1, 0, null, null, 38, "div", [["class", "card card-grid"]], null, null, null, null, null)), (_l()(), core["ɵeld"](2, 0, null, null, 6, "div", [["class", "card-title"]], null, null, null, null, null)), (_l()(), core["ɵeld"](3, 0, null, null, 5, "div", [["class", "d-flex flex-row align-items-center"]], null, null, null, null, null)), (_l()(), core["ɵeld"](4, 0, null, null, 2, "div", [["class", "flex-grow-1"]], null, null, null, null, null)), (_l()(), core["ɵeld"](5, 0, null, null, 1, "h5", [], null, null, null, null, null)), (_l()(), core["ɵted"](6, null, [" ", " - ", " "])), (_l()(), core["ɵeld"](7, 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"](8, 114688, null, 0, dropdown_menu_component["a" /* DropdownMenuComponent */], [], { optionsList: [0, "optionsList"] }, null), (_l()(), core["ɵeld"](9, 0, null, null, 30, "div", [["class", "card-body"]], null, null, null, null, null)), (_l()(), core["ɵeld"](10, 0, null, null, 29, "div", [["class", "d-flex flex-column"]], null, null, null, null, null)), (_l()(), core["ɵeld"](11, 0, null, null, 6, "div", [["class", "d-flex flex-row justify-content-between flex-wrap  mb-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](12, 0, null, null, 2, "omni-grid-label", [["class", "pr-5"], ["label", "Produto"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](13, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"] }, null), (_l()(), core["ɵted"](14, 0, [" ", " "])), (_l()(), core["ɵeld"](15, 0, null, null, 2, "omni-grid-label", [["class", "pr-5"], ["label", "Categoria do Produto"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](16, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"] }, null), (_l()(), core["ɵted"](17, 0, [" ", " "])), (_l()(), core["ɵeld"](18, 0, null, null, 16, "div", [["class", "d-flex flex-column"]], [[2, "mb-2", null]], null, null, null, null)), (_l()(), core["ɵeld"](19, 0, null, null, 3, "omni-grid-label", [["class", "mb-2"], ["endLabelChar", "?"], ["label", "Permite selecionar mais de uma op\u00E7\u00E3o"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](20, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"], endLabelChar: [1, "endLabelChar"] }, null), (_l()(), core["ɵted"](21, 0, [" ", " "])), core["ɵppd"](22, 1), (_l()(), core["ɵeld"](23, 0, null, null, 3, "omni-grid-label", [["class", "mb-2"], ["endLabelChar", "?"], ["label", "A sele\u00E7\u00E3o do opcional \u00E9 obrigat\u00F3ria"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](24, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"], endLabelChar: [1, "endLabelChar"] }, null), (_l()(), core["ɵted"](25, 0, [" ", " "])), core["ɵppd"](26, 1), (_l()(), core["ɵeld"](27, 0, null, null, 3, "omni-grid-label", [["class", "mb-2"], ["endLabelChar", "?"], ["label", "Permite selecionar mais de uma op\u00E7\u00E3o"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](28, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"], endLabelChar: [1, "endLabelChar"] }, null), (_l()(), core["ɵted"](29, 0, [" ", " "])), core["ɵppd"](30, 1), (_l()(), core["ɵeld"](31, 0, null, null, 3, "omni-grid-label", [["endLabelChar", "?"], ["label", "Opcional \u00E9 quantitativo"]], null, null, null, grid_label_component_ngfactory["b" /* View_GridLabelComponent_0 */], grid_label_component_ngfactory["a" /* RenderType_GridLabelComponent */])), core["ɵdid"](32, 49152, null, 0, grid_label_component["a" /* GridLabelComponent */], [], { label: [0, "label"], endLabelChar: [1, "endLabelChar"] }, null), (_l()(), core["ɵted"](33, 0, [" ", " "])), core["ɵppd"](34, 1), (_l()(), core["ɵeld"](35, 0, null, null, 4, "div", [["class", "d-flex flex-row align-items-center justify-content-between"]], null, null, null, null, null)), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_CustomizationProductListComponent_3)), core["ɵdid"](37, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵand"](16777216, null, null, 1, null, View_CustomizationProductListComponent_4)), core["ɵdid"](39, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var currVal_2 = _v.context.$implicit.itemMenu; _ck(_v, 8, 0, currVal_2); var currVal_3 = "Produto"; _ck(_v, 13, 0, currVal_3); var currVal_5 = "Categoria do Produto"; _ck(_v, 16, 0, currVal_5); var currVal_8 = "Permite selecionar mais de uma op\u00E7\u00E3o"; var currVal_9 = "?"; _ck(_v, 20, 0, currVal_8, currVal_9); var currVal_11 = "A sele\u00E7\u00E3o do opcional \u00E9 obrigat\u00F3ria"; var currVal_12 = "?"; _ck(_v, 24, 0, currVal_11, currVal_12); var currVal_14 = "Permite selecionar mais de uma op\u00E7\u00E3o"; var currVal_15 = "?"; _ck(_v, 28, 0, currVal_14, currVal_15); var currVal_17 = "Opcional \u00E9 quantitativo"; var currVal_18 = "?"; _ck(_v, 32, 0, currVal_17, currVal_18); var currVal_20 = _v.context.$implicit.item.quantidadeMinimaPermitida; _ck(_v, 37, 0, currVal_20); var currVal_21 = _v.context.$implicit.item.quantidadePermitida; _ck(_v, 39, 0, currVal_21); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.item.ordem; var currVal_1 = _v.context.$implicit.item.descricao; _ck(_v, 6, 0, currVal_0, currVal_1); var currVal_4 = _v.context.$implicit.item.produto.nome; _ck(_v, 14, 0, currVal_4); var currVal_6 = _v.context.$implicit.item.produto.categoria.descricao; _ck(_v, 17, 0, currVal_6); var currVal_7 = _v.context.$implicit.item.quantidadePermitida; _ck(_v, 18, 0, currVal_7); var currVal_10 = core["ɵunv"](_v, 21, 0, _ck(_v, 22, 0, core["ɵnov"](_v.parent.parent, 0), _v.context.$implicit.item.multiOpcional)); _ck(_v, 21, 0, currVal_10); var currVal_13 = core["ɵunv"](_v, 25, 0, _ck(_v, 26, 0, core["ɵnov"](_v.parent.parent, 0), _v.context.$implicit.item.obrigatorio)); _ck(_v, 25, 0, currVal_13); var currVal_16 = core["ɵunv"](_v, 29, 0, _ck(_v, 30, 0, core["ɵnov"](_v.parent.parent, 0), _v.context.$implicit.item.multiOpcional)); _ck(_v, 29, 0, currVal_16); var currVal_19 = core["ɵunv"](_v, 33, 0, _ck(_v, 34, 0, core["ɵnov"](_v.parent.parent, 0), _v.context.$implicit.item.quantitativa)); _ck(_v, 33, 0, currVal_19); }); }
function View_CustomizationProductListComponent_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_CustomizationProductListComponent_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_CustomizationProductListComponent_5(_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_CustomizationProductListComponent_0(_l) { return core["ɵvid"](0, [core["ɵpid"](0, yes_no_pipe["a" /* YesNoPipe */], []), core["ɵqud"](671088640, 1, { formFilterRef: 0 }), core["ɵqud"](671088640, 2, { customizationFilterRef: 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", "Opcionais de Produto"], ["tutorialTag", "produtos-personalizacao-produto-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, 13, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](8, 0, null, null, 12, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](9, 0, null, null, 11, "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, 9, "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, 1, "omni-filter", [["labelNewButton", "Nova"]], 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"](14, 114688, null, 0, filter_component["a" /* FilterComponent */], [], { filterList: [0, "filterList"], labelNewButton: [1, "labelNewButton"], resultSet: [2, "resultSet"] }, { filterButtonClick: "filterButtonClick", newButtonClick: "newButtonClick", resultSetChange: "resultSetChange", updateFilterList: "updateFilterList" }), (_l()(), core["ɵand"](16777216, null, 0, 1, null, View_CustomizationProductListComponent_1)), core["ɵdid"](16, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵand"](16777216, null, 0, 1, null, View_CustomizationProductListComponent_5)), core["ɵdid"](18, 16384, null, 0, common["o" /* NgIf */], [core["ViewContainerRef"], core["TemplateRef"]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["ɵeld"](19, 0, null, 0, 1, "omni-inline-loader", [["label", "Obtendo os Opcionais dos Produtos..."]], null, null, null, inline_loader_component_ngfactory["b" /* View_InlineLoaderComponent_0 */], inline_loader_component_ngfactory["a" /* RenderType_InlineLoaderComponent */])), core["ɵdid"](20, 114688, null, 0, inline_loader_component["a" /* InlineLoaderComponent */], [], { label: [0, "label"], refreshState: [1, "refreshState"] }, null), (_l()(), core["ɵeld"](21, 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, 22).onEscape($event) !== false);
        ad = (pd_0 && ad);
    } if (("click" === en)) {
        var pd_1 = (core["ɵnov"](_v, 22).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"](22, 49152, [[1, 4], ["formFilter", 4]], 0, form_filter_component["a" /* FormFilterComponent */], [], null, null), (_l()(), core["ɵeld"](23, 0, null, 0, 1, "omni-customization-product-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_CustomizationProductFilterComponent_0, RenderType_CustomizationProductFilterComponent)), core["ɵdid"](24, 114688, [[2, 4], ["customizationFilter", 4]], 0, customization_product_filter_component_CustomizationProductFilterComponent, [fesm2015_forms["g" /* FormBuilder */], auth_service["a" /* AuthService */], categorias_service["a" /* CategoriasService */], personalizacao_de_produto_service_PersonalizacaoDeProdutoService], { pageId: [0, "pageId"], currentPage: [1, "currentPage"] }, { doFilter: "doFilter" })], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.productIcon; var currVal_1 = true; var currVal_2 = "produtos-personalizacao-produto-listar"; var currVal_3 = "Opcionais de Produto"; _ck(_v, 6, 0, currVal_0, currVal_1, currVal_2, currVal_3); var currVal_24 = _co.filterList; var currVal_25 = "Nova"; var currVal_26 = _co.resultSet; _ck(_v, 14, 0, currVal_24, currVal_25, currVal_26); var currVal_27 = ((_co.datasource.length > 0) && !_co.isLoading); _ck(_v, 16, 0, currVal_27); var currVal_28 = ((((_co.resultSet == null) ? null : _co.resultSet.totalPages) > 1) && !_co.isLoading); _ck(_v, 18, 0, currVal_28); var currVal_29 = "Obtendo os Opcionais dos Produtos..."; var currVal_30 = _co.isLoading; _ck(_v, 20, 0, currVal_29, currVal_30); var currVal_31 = _co.pageId; var currVal_32 = _co.currentPage; _ck(_v, 24, 0, currVal_31, currVal_32); }, 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_CustomizationProductListComponent_Host_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-customization-product-list", [], null, null, null, View_CustomizationProductListComponent_0, RenderType_CustomizationProductListComponent)), core["ɵdid"](1, 114688, null, 0, customization_product_list_component_CustomizationProductListComponent, [router["l" /* Router */], personalizacao_de_produto_service_PersonalizacaoDeProdutoService, fesm2015["wc" /* NbMenuService */], nav_extras_service["a" /* NavExtrasService */], request_service["a" /* RequestService */], 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 CustomizationProductListComponentNgFactory = core["ɵccf"]("omni-customization-product-list", customization_product_list_component_CustomizationProductListComponent, View_CustomizationProductListComponent_Host_0, {}, {}, []);


// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-edit/customization-product-edit.component.scss.shim.ngstyle.js
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 
var styles = ["h3[_ngcontent-%COMP%]{color:var(--color-primary-default)}"];


// 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/ui/typeahead/typeahead.component.ngfactory.js + 1 modules
var typeahead_component_ngfactory = __webpack_require__("Edsu");

// EXTERNAL MODULE: ./src/app/shared/ui/typeahead/typeahead.component.ts
var typeahead_component = __webpack_require__("O0Or");

// EXTERNAL MODULE: ./src/app/shared/services/autocomplete.service.ts
var autocomplete_service = __webpack_require__("jQB5");

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

// EXTERNAL MODULE: ./src/app/shared/ui/customization-value-form/customization-value-form.component.ngfactory.js + 1 modules
var customization_value_form_component_ngfactory = __webpack_require__("Rwov");

// EXTERNAL MODULE: ./src/app/shared/ui/customization-value-form/customization-value-form.component.ts
var customization_value_form_component = __webpack_require__("RNEA");

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

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

// EXTERNAL MODULE: ./src/app/shared/consts/autocomplete-entity.ts
var autocomplete_entity = __webpack_require__("MRXr");

// EXTERNAL MODULE: ./src/app/shared/enums/controle-estoque.ts
var controle_estoque = __webpack_require__("++8y");

// EXTERNAL MODULE: ./src/app/shared/models/resource.ts
var resource = __webpack_require__("05o1");

// CONCATENATED MODULE: ./src/app/shared/models/personalizacao-de-produto.ts

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

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

// EXTERNAL MODULE: ./src/app/shared/models/valor-da-personalizacao.ts
var valor_da_personalizacao = __webpack_require__("CcGB");

// EXTERNAL MODULE: ./src/app/shared/utils/array.util.ts
var array_util = __webpack_require__("+Qmw");

// EXTERNAL MODULE: ./src/app/shared/utils/form.util.ts
var form_util = __webpack_require__("3oxm");

// EXTERNAL MODULE: ./src/app/shared/utils/number.util.ts
var number_util = __webpack_require__("qzEW");

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-edit/customization-product-edit.component.ts















class customization_product_edit_component_CustomizationProductEditComponent extends base_form_component["a" /* BaseFormComponent */] {
    constructor(route, router, fb, autocompleteService, companyService, dataService, customizationProductService, alertService, authService, messagesService, requestService, toastrService) {
        super(alertService, authService, messagesService, requestService, toastrService);
        this.route = route;
        this.router = router;
        this.fb = fb;
        this.autocompleteService = autocompleteService;
        this.companyService = companyService;
        this.dataService = dataService;
        this.customizationProductService = customizationProductService;
        this.activeTab = 'info-basicas';
        this.customizationValues = [];
        this.hasCustomizationValueStock = false;
        this.hasStockControl = false;
        this.customizationProductService.companyId = this.authService.loggedUser.id;
        this.autocompleteService.companyId = this.authService.loggedUser.id;
    }
    get cubeIcon() {
        return free_solid_svg_icons["faCube"];
    }
    get productEntity() {
        return autocomplete_entity["a" /* AUTOCOMPLETE_ENTITY */].PRODUTO;
    }
    get values() {
        return this.form.get('values').value;
    }
    ngOnInit() {
        this.initForm();
        this.loadFormData();
    }
    back() {
        this.router.navigate(['admin/products/customization/product']);
    }
    changeQuantitiesValue() {
        if (!this.formData.quantitative) {
            this.form.patchValue({
                allowedQuantity: '',
                minAllowedQuantity: ''
            });
        }
    }
    changeAllowedQuantityValues(checked) {
        if (!checked) {
            this.form.patchValue({
                minAllowedQuantity: '',
                allowedQuantity: ''
            });
        }
    }
    changeQuantityValues(checked) {
        if (!checked) {
            this.form.patchValue({
                minQuantity: '',
                maxQuantity: '',
                maxQuantityOptions: ''
            });
        }
    }
    initForm() {
        this.form = this.fb.group({
            id: [''],
            description: ['', fesm2015_forms["z" /* Validators */].required],
            product: [{}, fesm2015_forms["z" /* Validators */].required],
            multiSelectable: [false, fesm2015_forms["z" /* Validators */].required],
            allowedQuantity: [''],
            minAllowedQuantity: [''],
            mandatory: [false, fesm2015_forms["z" /* Validators */].required],
            order: [''],
            delete: [false],
            values: [this.fb.array([])],
            checkAllMissing: [false],
            hasStockControl: [false],
            hasCustomizationValueStock: [false],
            quantitative: [false],
            minQuantity: [''],
            maxQuantity: [''],
            maxQuantityOptions: ['']
        });
    }
    loadFormData() {
        return tslib["__awaiter"](this, void 0, void 0, function* () {
            this.hasStockControl = this.authService.loggedUser.controleEstoque !== controle_estoque["a" /* CONTROLE_DE_ESTOQUE */].SEM_CONTROLE.id;
            if (this.hasStockControl) {
                this.hasCustomizationValueStock = yield this.companyService.getCompanyConfig('config-estoque-personalizacoes')
                    .toPromise().then(config => config.valor === '1');
                this.form.get('hasStockControl').setValue(this.hasCustomizationValueStock);
            }
            const id = +this.route.snapshot.params.id || null;
            this.isEditing = id && id > 0;
            if (this.isEditing) {
                this.loadState();
                this.customizationProductService.get(id).subscribe(customization => {
                    this.loadState();
                    if (null_util["a" /* NullUtil */].isNull(customization)) {
                        this.redirectWhenInvalid('Opcional por Produto');
                        return;
                    }
                    this.populateForm(customization);
                }, (resp) => {
                    this.loadState();
                    this.requestService.handleError(resp, this.toastrService);
                });
            }
            else {
                if (this.dataService.getExtras() && this.dataService.getExtras().length > 0) {
                    const customizationId = this.dataService.getExtras()[0];
                    yield this.customizationProductService.getAsync(customizationId).then(customization => {
                        customization.id = null;
                        customization.valoresDaPersonalizacao.forEach(value => value.id = null);
                        this.populateForm(customization);
                        this.dataService.resetExtras();
                    });
                }
            }
            this.feedbackMessage = this.messagesService.getMessage(!this.isEditing ? 'MSG.SUCESSO.019' : 'MSG.SUCESSO.021', ['Opcional por Produto']);
        });
    }
    onTabChange(event) {
        this.activeTab = event.tabId;
    }
    showFeedback() {
    }
    submit() {
        form_util["a" /* FormUtil */].validateAllFormFields(this.form);
        if (this.form.invalid) {
            if (this.form.get('description').invalid || this.form.get('categoryId').invalid) {
                this.activeTab = 'infos-basicas';
            }
            return;
        }
        form_util["a" /* FormUtil */].trimAll(this.form);
        const customization = this.populateCustomization();
        this.loadState();
        if (!this.isEditing) {
            this.customizationProductService.create(customization).subscribe(() => {
                this.alertService.success(this.feedbackMessage, result => {
                    if (result.value) {
                        this.back();
                    }
                });
            }, (resp) => {
                this.loadState();
                this.requestService.handleError(resp, this.toastrService);
            });
        }
        else {
            this.customizationProductService.update(customization).subscribe(() => {
                this.alertService.success(this.feedbackMessage, result => {
                    if (result.value) {
                        this.back();
                    }
                });
            }, (resp) => {
                this.loadState();
                this.requestService.handleError(resp, this.toastrService);
            });
        }
    }
    populateCustomization() {
        form_util["a" /* FormUtil */].trimAll(this.form);
        const customization = new personalizacao_de_produto_PersonalizacaoDeProduto();
        customization.id = this.formData.id || null;
        customization.descricao = this.formData.description;
        customization.produto = new produto["a" /* Produto */](this.formData.product.value);
        customization.multiOpcional = this.formData.multiSelectable || false;
        customization.qtdePermitida = this.formData.allowedQuantity;
        customization.qtdeMinimaPermitida = this.formData.minAllowedQuantity;
        customization.obrigatorio = this.formData.mandatory || false;
        customization.excluido = this.formData.deleted || false;
        customization.ordem = this.formData.order || 1;
        customization.quantitativa = this.formData.quantitative;
        customization.quantidadeMinima = this.formData.minQuantity;
        customization.quantidadeMaxima = this.formData.maxQuantity;
        customization.quantidadeMaximaDeOpcoes = this.formData.maxQuantityOptions;
        customization.valoresDaPersonalizacao = this.populateCustomizationValues();
        return customization;
    }
    populateCustomizationValues() {
        const customizationValues = [];
        this.values.controls.forEach(control => {
            const value = new valor_da_personalizacao["a" /* ValorDaPersonalizacao */]();
            value.id = control.get('id').value || null;
            value.descricao = control.get('description').value;
            value.emFalta = control.get('isMissing').value || false;
            value.personalizacaoDeProduto = new personalizacao_de_produto_PersonalizacaoDeProduto(control.get('customizationId').value || null);
            value.excluido = false;
            value.valor = number_util["a" /* NumberUtil */].parseNumber(control.get('value').value);
            value.estoque = +control.get('stock').value;
            value.estoqueIlimitado = control.get('unlimitedStock').value;
            customizationValues.push(value);
        });
        return customizationValues;
    }
    populateForm(customization) {
        this.form.patchValue({
            id: customization.id || null,
            description: customization.descricao,
            product: {
                label: customization.produto.nome,
                value: customization.produto.id,
            },
            multiSelectable: customization.multiOpcional,
            allowedQuantity: customization.qtdePermitida,
            minAllowedQuantity: customization.qtdeMinimaPermitida,
            mandatory: customization.obrigatorio,
            order: customization.ordem,
            hasStockControl: [this.hasStockControl],
            hasCustomizationValueStock: this.hasCustomizationValueStock,
            quantitative: customization.quantitativa || false,
            minQuantity: customization.quantidadeMinima,
            maxQuantity: customization.quantidadeMaxima,
            maxQuantityOptions: customization.quantidadeMaximaDeOpcoes
        });
        array_util["a" /* ArrayUtil */].sortCollection(customization.valoresDaPersonalizacao, 'descricao').forEach(value => {
            this.values.controls.push(this.fb.group({
                id: [value.id || null],
                description: [value.descricao],
                value: [Object(common["D" /* formatNumber */])((value.valor || 0), 'pt-BR', '1.2-2')],
                isMissing: [value.emFalta || false],
                customizationId: [customization.id],
                deleted: [false],
                stock: [value.estoque || 0],
                unlimitedStock: [value.estoqueIlimitado || false]
            }));
        });
        this.product = {
            label: customization.produto.nome,
            value: customization.produto.id
        };
        this.form.get('checkAllMissing').setValue(customization.valoresDaPersonalizacao.filter(value => value.emFalta)
            .length === customization.valoresDaPersonalizacao.length);
    }
}

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

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-edit/customization-product-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_CustomizationProductEditComponent = [styles];
var RenderType_CustomizationProductEditComponent = core["ɵcrt"]({ encapsulation: 0, styles: styles_CustomizationProductEditComponent, data: {} });

function View_CustomizationProductEditComponent_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 181, "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", "produtos-personalizacao-produto-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, 172, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](10, 0, null, null, 171, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), core["ɵeld"](11, 0, null, null, 170, "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"], hasYOverflow: [1, "hasYOverflow"] }, { backButtonClick: "backButtonClick" }), (_l()(), core["ɵeld"](13, 0, null, 1, 164, "div", [["class", "form-content"]], null, null, null, null, null)), (_l()(), core["ɵeld"](14, 0, null, null, 163, "nb-tabset", [], [[2, "full-width", null]], [[null, "changeTab"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("changeTab" === en)) {
        var pd_0 = (_co.onTabChange($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["gb" /* View_NbTabsetComponent_0 */], index_ngfactory["J" /* RenderType_NbTabsetComponent */])), core["ɵdid"](15, 1097728, null, 1, fesm2015["Dd" /* NbTabsetComponent */], [router["a" /* ActivatedRoute */], core["ChangeDetectorRef"]], null, { changeTab: "changeTab" }), core["ɵqud"](603979776, 1, { tabs: 1 }), (_l()(), core["ɵeld"](17, 0, null, 0, 156, "nb-tab", [["responsive", ""], ["tabIcon", "info"], ["tabId", "infos-basicas"], ["tabTitle", "Info. B\u00E1sicas"]], [[2, "disabled", null], [2, "content-active", null]], null, null, index_ngfactory["fb" /* View_NbTabComponent_0 */], index_ngfactory["I" /* RenderType_NbTabComponent */])), core["ɵdid"](18, 49152, [[1, 4]], 0, fesm2015["Ad" /* NbTabComponent */], [], { tabTitle: [0, "tabTitle"], tabId: [1, "tabId"], tabIcon: [2, "tabIcon"], responsive: [3, "responsive"], active: [4, "active"] }, null), (_l()(), core["ɵeld"](19, 0, null, 0, 22, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](20, 0, null, null, 11, "div", [["class", "form-group col-12 col-sm-12 col-md-6"]], null, null, null, null, null)), (_l()(), core["ɵeld"](21, 0, null, null, 10, "omni-field", [["field", "description"], ["label", "Descri\u00E7\u00E3o"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](22, 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"](23, 0, null, 0, 8, "input", [["formControlName", "description"], ["fullWidth", ""], ["maxlength", "150"], ["name", "description"], ["nbInput", ""], ["placeholder", "Informe a descri\u00E7\u00E3o do opcional"], ["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, 25)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 25).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 25)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 25)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } return ad; }, null, null)), core["ɵdid"](24, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](25, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](26, 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"](29, 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"](31, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](32, 0, null, null, 9, "div", [["class", "form-group col-12 col-sm-12 col-md-6"]], null, null, null, null, null)), (_l()(), core["ɵeld"](33, 0, null, null, 8, "omni-field", [["field", "product"], ["label", "Produto"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](34, 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"](35, 0, null, 0, 6, "omni-typeahead", [["ngDefaultControl", ""], ["placeholder", "Informe o nome do produto para pesquisar..."]], [[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, "valueChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("input" === en)) {
        var pd_0 = (core["ɵnov"](_v, 36)._handleInput($event.target.value) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 36).onTouched() !== false);
        ad = (pd_1 && ad);
    } if (("compositionstart" === en)) {
        var pd_2 = (core["ɵnov"](_v, 36)._compositionStart() !== false);
        ad = (pd_2 && ad);
    } if (("compositionend" === en)) {
        var pd_3 = (core["ɵnov"](_v, 36)._compositionEnd($event.target.value) !== false);
        ad = (pd_3 && ad);
    } if (("valueChange" === en)) {
        var pd_4 = ((_co.product = $event) !== false);
        ad = (pd_4 && ad);
    } return ad; }, typeahead_component_ngfactory["b" /* View_TypeaheadComponent_0 */], typeahead_component_ngfactory["a" /* RenderType_TypeaheadComponent */])), core["ɵdid"](36, 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"](38, 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"](40, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), core["ɵdid"](41, 114688, null, 0, typeahead_component["a" /* TypeaheadComponent */], [auth_service["a" /* AuthService */], autocomplete_service["a" /* AutoCompleteService */]], { form: [0, "form"], formControl: [1, "formControl"], entityType: [2, "entityType"], isLoading: [3, "isLoading"], placeholder: [4, "placeholder"], value: [5, "value"] }, { valueChange: "valueChange" }), (_l()(), core["ɵeld"](42, 0, null, 0, 32, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](43, 0, null, null, 31, "div", [["class", "col-12 col-lg-6"]], null, null, null, null, null)), (_l()(), core["ɵeld"](44, 0, null, null, 30, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](45, 0, null, null, 15, "div", [["class", "form-group col-12 col-md-6"]], null, null, null, null, null)), (_l()(), core["ɵeld"](46, 0, null, null, 14, "omni-field", [["endLabelChar", "?"], ["field", "mandatory"], ["label", "A sele\u00E7\u00E3o do opcional \u00E9 obrigat\u00F3ria"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](47, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], endLabelChar: [3, "endLabelChar"], required: [4, "required"], validOnSubmit: [5, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](48, 0, null, 0, 12, "nb-radio-group", [["class", "d-flex flex-row"], ["name", "mandatory-radio-group"], ["status", "primary"]], [[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"](49, 1228800, null, 1, fesm2015["Uc" /* NbRadioGroupComponent */], [core["ElementRef"], core["PLATFORM_ID"], fesm2015["g" /* NB_DOCUMENT */]], { name: [0, "name"], disabled: [1, "disabled"], status: [2, "status"] }, 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"](52, 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"](54, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](55, 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"](56, 49152, [[2, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, ["Sim"])), (_l()(), core["ɵeld"](58, 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"](59, 49152, [[2, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, ["N\u00E3o"])), (_l()(), core["ɵeld"](61, 0, null, null, 13, "div", [["class", "col-12 col-md-6"]], null, null, null, null, null)), (_l()(), core["ɵeld"](62, 0, null, null, 12, "omni-field", [["field", "order"], ["label", "Ordem"], ["tooltipText", "Ordem em que o opcional aparecer\u00E1 para o usu\u00E1rio fazer suas escolhas."]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](63, 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"], validOnSubmit: [6, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](64, 0, null, 0, 10, "input", [["formControlName", "order"], ["fullWidth", ""], ["maxlength", "3"], ["name", "order"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "0"], ["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, "keyup"], [null, "blur"], [null, "input"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 65).onInput($event.target) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 65).onBlur() !== false);
        ad = (pd_1 && ad);
    } if (("input" === en)) {
        var pd_2 = (core["ɵnov"](_v, 67)._handleInput($event.target.value) !== false);
        ad = (pd_2 && ad);
    } if (("blur" === en)) {
        var pd_3 = (core["ɵnov"](_v, 67).onTouched() !== false);
        ad = (pd_3 && ad);
    } if (("compositionstart" === en)) {
        var pd_4 = (core["ɵnov"](_v, 67)._compositionStart() !== false);
        ad = (pd_4 && ad);
    } if (("compositionend" === en)) {
        var pd_5 = (core["ɵnov"](_v, 67)._compositionEnd($event.target.value) !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](65, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), core["ɵdid"](66, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](67, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](68, 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"](71, 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"](73, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), core["ɵdid"](74, 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), (_l()(), core["ɵeld"](75, 0, null, 0, 42, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](76, 0, null, null, 15, "div", [["class", "form-group col-12 col-sm-6 col-md-3"]], null, null, null, null, null)), (_l()(), core["ɵeld"](77, 0, null, null, 14, "omni-field", [["endLabelChar", "?"], ["field", "multiSelectable"], ["label", "Permite selecionar mais de uma op\u00E7\u00E3o"]], 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"], endLabelChar: [3, "endLabelChar"], required: [4, "required"], validOnSubmit: [5, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](79, 0, null, 0, 12, "nb-radio-group", [["class", "d-flex flex-row"], ["formControlName", "multiSelectable"], ["name", "multiselectable-group"], ["status", "primary"]], [[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"](80, 1228800, null, 1, fesm2015["Uc" /* NbRadioGroupComponent */], [core["ElementRef"], core["PLATFORM_ID"], fesm2015["g" /* NB_DOCUMENT */]], { name: [0, "name"], disabled: [1, "disabled"], status: [2, "status"] }, null), core["ɵqud"](603979776, 3, { radios: 1 }), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015["Uc" /* NbRadioGroupComponent */]]), 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"], isDisabled: [1, "isDisabled"] }, 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, 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, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.changeAllowedQuantityValues(true) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["bb" /* View_NbRadioComponent_0 */], index_ngfactory["E" /* RenderType_NbRadioComponent */])), core["ɵdid"](87, 49152, [[3, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, [" Sim "])), (_l()(), core["ɵeld"](89, 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, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.changeAllowedQuantityValues(false) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["bb" /* View_NbRadioComponent_0 */], index_ngfactory["E" /* RenderType_NbRadioComponent */])), core["ɵdid"](90, 49152, [[3, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, [" N\u00E3o "])), (_l()(), core["ɵeld"](92, 0, null, null, 12, "div", [["class", "form-group col-sm-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](93, 0, null, null, 11, "omni-field", [["field", "minAllowedQuantity"], ["label", "Permite selecionar no m\u00EDnimo"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](94, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { disabled: [0, "disabled"], field: [1, "field"], form: [2, "form"], label: [3, "label"], validOnSubmit: [4, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](95, 0, null, 0, 9, "input", [["fullWidth", ""], ["maxlength", "3"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "0"], ["status", "primary"], ["type", "text"]], [[1, "disabled", 0], [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, "keyup"], [null, "blur"], [null, "input"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 96).onInput($event.target) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 96).onBlur() !== false);
        ad = (pd_1 && ad);
    } if (("input" === en)) {
        var pd_2 = (core["ɵnov"](_v, 98)._handleInput($event.target.value) !== false);
        ad = (pd_2 && ad);
    } if (("blur" === en)) {
        var pd_3 = (core["ɵnov"](_v, 98).onTouched() !== false);
        ad = (pd_3 && ad);
    } if (("compositionstart" === en)) {
        var pd_4 = (core["ɵnov"](_v, 98)._compositionStart() !== false);
        ad = (pd_4 && ad);
    } if (("compositionend" === en)) {
        var pd_5 = (core["ɵnov"](_v, 98)._compositionEnd($event.target.value) !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](96, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), core["ɵdid"](97, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](98, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](99, 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"](102, 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["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](104, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](105, 0, null, null, 12, "div", [["class", "form-group col-sm-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](106, 0, null, null, 11, "omni-field", [["field", "allowedQuantity"], ["label", "Permite selecionar at\u00E9"]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](107, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { disabled: [0, "disabled"], field: [1, "field"], form: [2, "form"], label: [3, "label"], validOnSubmit: [4, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](108, 0, null, 0, 9, "input", [["fullWidth", ""], ["maxlength", "3"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "0"], ["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, "keyup"], [null, "blur"], [null, "input"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 109).onInput($event.target) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 109).onBlur() !== false);
        ad = (pd_1 && ad);
    } if (("input" === en)) {
        var pd_2 = (core["ɵnov"](_v, 111)._handleInput($event.target.value) !== false);
        ad = (pd_2 && ad);
    } if (("blur" === en)) {
        var pd_3 = (core["ɵnov"](_v, 111).onTouched() !== false);
        ad = (pd_3 && ad);
    } if (("compositionstart" === en)) {
        var pd_4 = (core["ɵnov"](_v, 111)._compositionStart() !== false);
        ad = (pd_4 && ad);
    } if (("compositionend" === en)) {
        var pd_5 = (core["ɵnov"](_v, 111)._compositionEnd($event.target.value) !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](109, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), core["ɵdid"](110, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](111, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](112, 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"](115, 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["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](117, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](118, 0, null, 0, 55, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), core["ɵeld"](119, 0, null, null, 15, "div", [["class", "col-12 col-sm-6 col-md-3"]], null, null, null, null, null)), (_l()(), core["ɵeld"](120, 0, null, null, 14, "omni-field", [["endLabelChar", "?"], ["field", "quantitative"], ["label", "O Opcional \u00E9 quantitativo"], ["tooltipText", "Permite o cliente adicionar um item do opcional mais de uma vez."]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](121, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { field: [0, "field"], form: [1, "form"], label: [2, "label"], endLabelChar: [3, "endLabelChar"], required: [4, "required"], showTooltip: [5, "showTooltip"], tooltipText: [6, "tooltipText"], validOnSubmit: [7, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](122, 0, null, 0, 12, "nb-radio-group", [["class", "d-flex flex-row"], ["formControlName", "quantitative"], ["name", "quantitative-group"], ["status", "primary"]], [[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"](123, 1228800, null, 1, fesm2015["Uc" /* NbRadioGroupComponent */], [core["ElementRef"], core["PLATFORM_ID"], fesm2015["g" /* NB_DOCUMENT */]], { name: [0, "name"], disabled: [1, "disabled"], status: [2, "status"] }, null), core["ɵqud"](603979776, 4, { radios: 1 }), core["ɵprd"](1024, null, fesm2015_forms["q" /* NG_VALUE_ACCESSOR */], function (p0_0) { return [p0_0]; }, [fesm2015["Uc" /* NbRadioGroupComponent */]]), core["ɵdid"](126, 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"], isDisabled: [1, "isDisabled"] }, null), core["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["j" /* FormControlName */]]), core["ɵdid"](128, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](129, 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, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.changeQuantityValues(true) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["bb" /* View_NbRadioComponent_0 */], index_ngfactory["E" /* RenderType_NbRadioComponent */])), core["ɵdid"](130, 49152, [[4, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, [" Sim "])), (_l()(), core["ɵeld"](132, 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, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.changeQuantityValues(false) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["bb" /* View_NbRadioComponent_0 */], index_ngfactory["E" /* RenderType_NbRadioComponent */])), core["ɵdid"](133, 49152, [[4, 4]], 0, fesm2015["Tc" /* NbRadioComponent */], [core["ChangeDetectorRef"]], { value: [0, "value"] }, null), (_l()(), core["ɵted"](-1, 0, [" N\u00E3o "])), (_l()(), core["ɵeld"](135, 0, null, null, 12, "div", [["class", "form-group col-sm-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](136, 0, null, null, 11, "omni-field", [["field", "minQuantity"], ["label", "Quantidade m\u00EDnima"], ["tooltipText", "\n                                            A quantidade m\u00EDnima de itens que poder\u00E1 ser adicionado por op\u00E7\u00E3o do opcional.\n                                            Caso n\u00E3o informado, a quantidade m\u00EDnima n\u00E3o obrigar\u00E1 a sele\u00E7\u00E3o de op\u00E7\u00F5es do adicional.\n                                        "]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](137, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { disabled: [0, "disabled"], field: [1, "field"], form: [2, "form"], label: [3, "label"], showTooltip: [4, "showTooltip"], tooltipText: [5, "tooltipText"], validOnSubmit: [6, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](138, 0, null, 0, 9, "input", [["fullWidth", ""], ["maxlength", "3"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "0"], ["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, "keyup"], [null, "blur"], [null, "input"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 139).onInput($event.target) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 139).onBlur() !== false);
        ad = (pd_1 && ad);
    } if (("input" === en)) {
        var pd_2 = (core["ɵnov"](_v, 141)._handleInput($event.target.value) !== false);
        ad = (pd_2 && ad);
    } if (("blur" === en)) {
        var pd_3 = (core["ɵnov"](_v, 141).onTouched() !== false);
        ad = (pd_3 && ad);
    } if (("compositionstart" === en)) {
        var pd_4 = (core["ɵnov"](_v, 141)._compositionStart() !== false);
        ad = (pd_4 && ad);
    } if (("compositionend" === en)) {
        var pd_5 = (core["ɵnov"](_v, 141)._compositionEnd($event.target.value) !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](139, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), core["ɵdid"](140, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](141, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](142, 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"](145, 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["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](147, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](148, 0, null, null, 12, "div", [["class", "form-group col-sm-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](149, 0, null, null, 11, "omni-field", [["field", "maxQuantity"], ["label", "Quantidade m\u00E1xima"], ["tooltipText", "\n                                            Quantidade m\u00E1xima de itens que poder\u00E1 ser adicionado por op\u00E7\u00E3o do opcional.\n                                            Caso n\u00E3o informado, a quantidade m\u00E1xima n\u00E3o seja informada.\n                                        "]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](150, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { disabled: [0, "disabled"], field: [1, "field"], form: [2, "form"], label: [3, "label"], showTooltip: [4, "showTooltip"], tooltipText: [5, "tooltipText"], validOnSubmit: [6, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](151, 0, null, 0, 9, "input", [["fullWidth", ""], ["maxlength", "3"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "0"], ["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, "keyup"], [null, "blur"], [null, "input"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 152).onInput($event.target) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 152).onBlur() !== false);
        ad = (pd_1 && ad);
    } if (("input" === en)) {
        var pd_2 = (core["ɵnov"](_v, 154)._handleInput($event.target.value) !== false);
        ad = (pd_2 && ad);
    } if (("blur" === en)) {
        var pd_3 = (core["ɵnov"](_v, 154).onTouched() !== false);
        ad = (pd_3 && ad);
    } if (("compositionstart" === en)) {
        var pd_4 = (core["ɵnov"](_v, 154)._compositionStart() !== false);
        ad = (pd_4 && ad);
    } if (("compositionend" === en)) {
        var pd_5 = (core["ɵnov"](_v, 154)._compositionEnd($event.target.value) !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](152, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), core["ɵdid"](153, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](154, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](155, 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"](158, 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["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](160, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](161, 0, null, null, 12, "div", [["class", "form-group col-sm-2"]], null, null, null, null, null)), (_l()(), core["ɵeld"](162, 0, null, null, 11, "omni-field", [["field", "maxQuantityOptions"], ["label", "Limite de op\u00E7\u00F5es"], ["tooltipText", "\n                                            Informa at\u00E9 quantas op\u00E7\u00F5es do opcional o cliente poder\u00E1 incluir no item do pedido.\n                                            Ser\u00E1 ilimitado caso n\u00E3o seja informado.\n                                        "]], null, null, null, field_component_ngfactory["b" /* View_FieldComponent_0 */], field_component_ngfactory["a" /* RenderType_FieldComponent */])), core["ɵdid"](163, 8437760, null, 0, field_component["a" /* FieldComponent */], [core["ElementRef"], core["Renderer2"]], { disabled: [0, "disabled"], field: [1, "field"], form: [2, "form"], label: [3, "label"], showTooltip: [4, "showTooltip"], tooltipText: [5, "tooltipText"], validOnSubmit: [6, "validOnSubmit"] }, null), (_l()(), core["ɵeld"](164, 0, null, 0, 9, "input", [["fullWidth", ""], ["maxlength", "3"], ["nbInput", ""], ["omniInputInteger", ""], ["placeholder", "0"], ["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, "keyup"], [null, "blur"], [null, "input"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) { var ad = true; if (("keyup" === en)) {
        var pd_0 = (core["ɵnov"](_v, 165).onInput($event.target) !== false);
        ad = (pd_0 && ad);
    } if (("blur" === en)) {
        var pd_1 = (core["ɵnov"](_v, 165).onBlur() !== false);
        ad = (pd_1 && ad);
    } if (("input" === en)) {
        var pd_2 = (core["ɵnov"](_v, 167)._handleInput($event.target.value) !== false);
        ad = (pd_2 && ad);
    } if (("blur" === en)) {
        var pd_3 = (core["ɵnov"](_v, 167).onTouched() !== false);
        ad = (pd_3 && ad);
    } if (("compositionstart" === en)) {
        var pd_4 = (core["ɵnov"](_v, 167)._compositionStart() !== false);
        ad = (pd_4 && ad);
    } if (("compositionend" === en)) {
        var pd_5 = (core["ɵnov"](_v, 167)._compositionEnd($event.target.value) !== false);
        ad = (pd_5 && ad);
    } return ad; }, null, null)), core["ɵdid"](165, 16384, null, 0, input_integer_directive["a" /* InputIntegerDirective */], [core["ElementRef"]], null, null), core["ɵdid"](166, 16384, null, 0, fesm2015["ec" /* NbInputDirective */], [], { status: [0, "status"], fullWidth: [1, "fullWidth"] }, null), core["ɵdid"](167, 16384, null, 0, fesm2015_forms["e" /* DefaultValueAccessor */], [core["Renderer2"], core["ElementRef"], [2, fesm2015_forms["b" /* COMPOSITION_BUFFER_MODE */]]], null, null), core["ɵdid"](168, 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"](171, 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["ɵprd"](2048, null, fesm2015_forms["r" /* NgControl */], null, [fesm2015_forms["i" /* FormControlDirective */]]), core["ɵdid"](173, 16384, null, 0, fesm2015_forms["s" /* NgControlStatus */], [[4, fesm2015_forms["r" /* NgControl */]]], null, null), (_l()(), core["ɵeld"](174, 0, null, 0, 3, "nb-tab", [["responsive", ""], ["tabIcon", "list"], ["tabId", "valores"], ["tabTitle", "Op\u00E7\u00F5es"]], [[2, "disabled", null], [2, "content-active", null]], null, null, index_ngfactory["fb" /* View_NbTabComponent_0 */], index_ngfactory["I" /* RenderType_NbTabComponent */])), core["ɵdid"](175, 49152, [[1, 4]], 0, fesm2015["Ad" /* NbTabComponent */], [], { tabTitle: [0, "tabTitle"], tabId: [1, "tabId"], tabIcon: [2, "tabIcon"], responsive: [3, "responsive"], active: [4, "active"] }, null), (_l()(), core["ɵeld"](176, 0, null, 0, 1, "omni-customization-value-form", [], null, [[null, "formChange"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("formChange" === en)) {
        var pd_0 = ((_co.form = $event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, customization_value_form_component_ngfactory["b" /* View_CustomizationValueFormComponent_0 */], customization_value_form_component_ngfactory["a" /* RenderType_CustomizationValueFormComponent */])), core["ɵdid"](177, 49152, null, 0, customization_value_form_component["a" /* CustomizationValueFormComponent */], [fesm2015_forms["g" /* FormBuilder */], fesm2015["Rb" /* NbDialogService */], messages_service["a" /* MessagesService */], fesm2015["Ld" /* NbToastrService */]], { form: [0, "form"] }, { formChange: "formChange" }), (_l()(), core["ɵeld"](178, 0, null, 3, 3, "div", [["class", "form-footer"]], null, null, null, null, null)), (_l()(), core["ɵeld"](179, 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, 180).onClick($event) !== false);
        ad = (pd_0 && ad);
    } return ad; }, index_ngfactory["M" /* View_NbButtonComponent_0 */], index_ngfactory["p" /* RenderType_NbButtonComponent */])), core["ɵdid"](180, 4243456, null, 0, fesm2015["L" /* NbButtonComponent */], [core["Renderer2"], core["ElementRef"], core["ChangeDetectorRef"]], { status: [0, "status"] }, null), (_l()(), core["ɵted"](181, 0, [" ", " "]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.form; _ck(_v, 2, 0, currVal_7); var currVal_8 = _co.cubeIcon; var currVal_9 = true; var currVal_10 = "produtos-personalizacao-produto-editar"; var currVal_11 = core["ɵinlineInterpolate"](1, "", (_co.isEditing ? "Editar" : "Novo"), " Opcional por Produto"); _ck(_v, 8, 0, currVal_8, currVal_9, currVal_10, currVal_11); var currVal_12 = _co.isLoading; var currVal_13 = false; _ck(_v, 12, 0, currVal_12, currVal_13); var currVal_17 = "Info. B\u00E1sicas"; var currVal_18 = "infos-basicas"; var currVal_19 = "info"; var currVal_20 = ""; var currVal_21 = (_co.activeTab === "infos-basicas"); _ck(_v, 18, 0, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21); var currVal_22 = "description"; var currVal_23 = _co.form; var currVal_24 = "Descri\u00E7\u00E3o"; var currVal_25 = true; var currVal_26 = true; _ck(_v, 22, 0, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26); var currVal_52 = "primary"; var currVal_53 = ""; _ck(_v, 24, 0, currVal_52, currVal_53); var currVal_54 = "150"; _ck(_v, 26, 0, currVal_54); var currVal_55 = "description"; _ck(_v, 29, 0, currVal_55); var currVal_56 = "product"; var currVal_57 = _co.form; var currVal_58 = "Produto"; var currVal_59 = true; var currVal_60 = true; _ck(_v, 34, 0, currVal_56, currVal_57, currVal_58, currVal_59, currVal_60); var currVal_68 = _co.form.get("product"); _ck(_v, 38, 0, currVal_68); var currVal_69 = _co.form; var currVal_70 = _co.form.get("product"); var currVal_71 = _co.productEntity; var currVal_72 = _co.isLoading; var currVal_73 = "Informe o nome do produto para pesquisar..."; var currVal_74 = _co.product; _ck(_v, 41, 0, currVal_69, currVal_70, currVal_71, currVal_72, currVal_73, currVal_74); var currVal_75 = "mandatory"; var currVal_76 = _co.form; var currVal_77 = "A sele\u00E7\u00E3o do opcional \u00E9 obrigat\u00F3ria"; var currVal_78 = "?"; var currVal_79 = true; var currVal_80 = true; _ck(_v, 47, 0, currVal_75, currVal_76, currVal_77, currVal_78, currVal_79, currVal_80); var currVal_88 = "mandatory-radio-group"; var currVal_89 = _co.isLoading; var currVal_90 = "primary"; _ck(_v, 49, 0, currVal_88, currVal_89, currVal_90); var currVal_91 = _co.form.get("mandatory"); var currVal_92 = _co.isLoading; _ck(_v, 52, 0, currVal_91, currVal_92); var currVal_100 = true; _ck(_v, 56, 0, currVal_100); var currVal_108 = false; _ck(_v, 59, 0, currVal_108); var currVal_109 = "order"; var currVal_110 = _co.form; var currVal_111 = "Ordem"; var currVal_112 = false; var currVal_113 = true; var currVal_114 = "Ordem em que o opcional aparecer\u00E1 para o usu\u00E1rio fazer suas escolhas."; var currVal_115 = true; _ck(_v, 63, 0, currVal_109, currVal_110, currVal_111, currVal_112, currVal_113, currVal_114, currVal_115); var currVal_141 = "primary"; var currVal_142 = ""; _ck(_v, 66, 0, currVal_141, currVal_142); var currVal_143 = "3"; _ck(_v, 68, 0, currVal_143); var currVal_144 = "order"; _ck(_v, 71, 0, currVal_144); var currVal_145 = _co.form.get("order"); _ck(_v, 74, 0, currVal_145); var currVal_146 = "multiSelectable"; var currVal_147 = _co.form; var currVal_148 = "Permite selecionar mais de uma op\u00E7\u00E3o"; var currVal_149 = "?"; var currVal_150 = true; var currVal_151 = true; _ck(_v, 78, 0, currVal_146, currVal_147, currVal_148, currVal_149, currVal_150, currVal_151); var currVal_159 = "multiselectable-group"; var currVal_160 = _co.isLoading; var currVal_161 = "primary"; _ck(_v, 80, 0, currVal_159, currVal_160, currVal_161); var currVal_162 = "multiSelectable"; var currVal_163 = _co.isLoading; _ck(_v, 83, 0, currVal_162, currVal_163); var currVal_171 = true; _ck(_v, 87, 0, currVal_171); var currVal_179 = false; _ck(_v, 90, 0, currVal_179); var currVal_180 = !_co.formData.multiSelectable; var currVal_181 = "minAllowedQuantity"; var currVal_182 = _co.form; var currVal_183 = "Permite selecionar no m\u00EDnimo"; var currVal_184 = true; _ck(_v, 94, 0, currVal_180, currVal_181, currVal_182, currVal_183, currVal_184); var currVal_211 = "primary"; var currVal_212 = ""; _ck(_v, 97, 0, currVal_211, currVal_212); var currVal_213 = "3"; _ck(_v, 99, 0, currVal_213); var currVal_214 = _co.form.get("minAllowedQuantity"); _ck(_v, 102, 0, currVal_214); var currVal_215 = !_co.formData.multiSelectable; var currVal_216 = "allowedQuantity"; var currVal_217 = _co.form; var currVal_218 = "Permite selecionar at\u00E9"; var currVal_219 = true; _ck(_v, 107, 0, currVal_215, currVal_216, currVal_217, currVal_218, currVal_219); var currVal_245 = "primary"; var currVal_246 = ""; _ck(_v, 110, 0, currVal_245, currVal_246); var currVal_247 = "3"; _ck(_v, 112, 0, currVal_247); var currVal_248 = _co.form.get("allowedQuantity"); _ck(_v, 115, 0, currVal_248); var currVal_249 = "quantitative"; var currVal_250 = _co.form; var currVal_251 = "O Opcional \u00E9 quantitativo"; var currVal_252 = "?"; var currVal_253 = true; var currVal_254 = true; var currVal_255 = "Permite o cliente adicionar um item do opcional mais de uma vez."; var currVal_256 = true; _ck(_v, 121, 0, currVal_249, currVal_250, currVal_251, currVal_252, currVal_253, currVal_254, currVal_255, currVal_256); var currVal_264 = "quantitative-group"; var currVal_265 = _co.isLoading; var currVal_266 = "primary"; _ck(_v, 123, 0, currVal_264, currVal_265, currVal_266); var currVal_267 = "quantitative"; var currVal_268 = _co.isLoading; _ck(_v, 126, 0, currVal_267, currVal_268); var currVal_276 = true; _ck(_v, 130, 0, currVal_276); var currVal_284 = false; _ck(_v, 133, 0, currVal_284); var currVal_285 = !_co.formData.quantitative; var currVal_286 = "minQuantity"; var currVal_287 = _co.form; var currVal_288 = "Quantidade m\u00EDnima"; var currVal_289 = true; var currVal_290 = "\n                                            A quantidade m\u00EDnima de itens que poder\u00E1 ser adicionado por op\u00E7\u00E3o do opcional.\n                                            Caso n\u00E3o informado, a quantidade m\u00EDnima n\u00E3o obrigar\u00E1 a sele\u00E7\u00E3o de op\u00E7\u00F5es do adicional.\n                                        "; var currVal_291 = true; _ck(_v, 137, 0, currVal_285, currVal_286, currVal_287, currVal_288, currVal_289, currVal_290, currVal_291); var currVal_317 = "primary"; var currVal_318 = ""; _ck(_v, 140, 0, currVal_317, currVal_318); var currVal_319 = "3"; _ck(_v, 142, 0, currVal_319); var currVal_320 = _co.form.get("minQuantity"); _ck(_v, 145, 0, currVal_320); var currVal_321 = !_co.formData.quantitative; var currVal_322 = "maxQuantity"; var currVal_323 = _co.form; var currVal_324 = "Quantidade m\u00E1xima"; var currVal_325 = true; var currVal_326 = "\n                                            Quantidade m\u00E1xima de itens que poder\u00E1 ser adicionado por op\u00E7\u00E3o do opcional.\n                                            Caso n\u00E3o informado, a quantidade m\u00E1xima n\u00E3o seja informada.\n                                        "; var currVal_327 = true; _ck(_v, 150, 0, currVal_321, currVal_322, currVal_323, currVal_324, currVal_325, currVal_326, currVal_327); var currVal_353 = "primary"; var currVal_354 = ""; _ck(_v, 153, 0, currVal_353, currVal_354); var currVal_355 = "3"; _ck(_v, 155, 0, currVal_355); var currVal_356 = _co.form.get("maxQuantity"); _ck(_v, 158, 0, currVal_356); var currVal_357 = !_co.formData.quantitative; var currVal_358 = "maxQuantityOptions"; var currVal_359 = _co.form; var currVal_360 = "Limite de op\u00E7\u00F5es"; var currVal_361 = true; var currVal_362 = "\n                                            Informa at\u00E9 quantas op\u00E7\u00F5es do opcional o cliente poder\u00E1 incluir no item do pedido.\n                                            Ser\u00E1 ilimitado caso n\u00E3o seja informado.\n                                        "; var currVal_363 = true; _ck(_v, 163, 0, currVal_357, currVal_358, currVal_359, currVal_360, currVal_361, currVal_362, currVal_363); var currVal_389 = "primary"; var currVal_390 = ""; _ck(_v, 166, 0, currVal_389, currVal_390); var currVal_391 = "3"; _ck(_v, 168, 0, currVal_391); var currVal_392 = _co.form.get("maxQuantityOptions"); _ck(_v, 171, 0, currVal_392); var currVal_395 = "Op\u00E7\u00F5es"; var currVal_396 = "valores"; var currVal_397 = "list"; var currVal_398 = ""; var currVal_399 = (_co.activeTab === "valores"); _ck(_v, 175, 0, currVal_395, currVal_396, currVal_397, currVal_398, currVal_399); var currVal_400 = _co.form; _ck(_v, 177, 0, currVal_400); var currVal_428 = "success"; _ck(_v, 180, 0, currVal_428); }, 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_14 = core["ɵnov"](_v, 15).fullWidthValue; _ck(_v, 14, 0, currVal_14); var currVal_15 = core["ɵnov"](_v, 18).disabled; var currVal_16 = core["ɵnov"](_v, 18).activeValue; _ck(_v, 17, 0, currVal_15, currVal_16); var currVal_27 = (_co.isLoading ? true : null); var currVal_28 = core["ɵnov"](_v, 24).fullWidth; var currVal_29 = core["ɵnov"](_v, 24).tiny; var currVal_30 = core["ɵnov"](_v, 24).small; var currVal_31 = core["ɵnov"](_v, 24).medium; var currVal_32 = core["ɵnov"](_v, 24).large; var currVal_33 = core["ɵnov"](_v, 24).giant; var currVal_34 = core["ɵnov"](_v, 24).primary; var currVal_35 = core["ɵnov"](_v, 24).info; var currVal_36 = core["ɵnov"](_v, 24).success; var currVal_37 = core["ɵnov"](_v, 24).warning; var currVal_38 = core["ɵnov"](_v, 24).danger; var currVal_39 = core["ɵnov"](_v, 24).basic; var currVal_40 = core["ɵnov"](_v, 24).control; var currVal_41 = core["ɵnov"](_v, 24).rectangle; var currVal_42 = core["ɵnov"](_v, 24).semiRound; var currVal_43 = core["ɵnov"](_v, 24).round; var currVal_44 = (core["ɵnov"](_v, 26).maxlength ? core["ɵnov"](_v, 26).maxlength : null); var currVal_45 = core["ɵnov"](_v, 31).ngClassUntouched; var currVal_46 = core["ɵnov"](_v, 31).ngClassTouched; var currVal_47 = core["ɵnov"](_v, 31).ngClassPristine; var currVal_48 = core["ɵnov"](_v, 31).ngClassDirty; var currVal_49 = core["ɵnov"](_v, 31).ngClassValid; var currVal_50 = core["ɵnov"](_v, 31).ngClassInvalid; var currVal_51 = core["ɵnov"](_v, 31).ngClassPending; _ck(_v, 23, 1, [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, currVal_43, currVal_44, currVal_45, currVal_46, currVal_47, currVal_48, currVal_49, currVal_50, currVal_51]); var currVal_61 = core["ɵnov"](_v, 40).ngClassUntouched; var currVal_62 = core["ɵnov"](_v, 40).ngClassTouched; var currVal_63 = core["ɵnov"](_v, 40).ngClassPristine; var currVal_64 = core["ɵnov"](_v, 40).ngClassDirty; var currVal_65 = core["ɵnov"](_v, 40).ngClassValid; var currVal_66 = core["ɵnov"](_v, 40).ngClassInvalid; var currVal_67 = core["ɵnov"](_v, 40).ngClassPending; _ck(_v, 35, 0, currVal_61, currVal_62, currVal_63, currVal_64, currVal_65, currVal_66, currVal_67); var currVal_81 = core["ɵnov"](_v, 54).ngClassUntouched; var currVal_82 = core["ɵnov"](_v, 54).ngClassTouched; var currVal_83 = core["ɵnov"](_v, 54).ngClassPristine; var currVal_84 = core["ɵnov"](_v, 54).ngClassDirty; var currVal_85 = core["ɵnov"](_v, 54).ngClassValid; var currVal_86 = core["ɵnov"](_v, 54).ngClassInvalid; var currVal_87 = core["ɵnov"](_v, 54).ngClassPending; _ck(_v, 48, 0, currVal_81, currVal_82, currVal_83, currVal_84, currVal_85, currVal_86, currVal_87); var currVal_93 = core["ɵnov"](_v, 56).isPrimary; var currVal_94 = core["ɵnov"](_v, 56).isSuccess; var currVal_95 = core["ɵnov"](_v, 56).isWarning; var currVal_96 = core["ɵnov"](_v, 56).isDanger; var currVal_97 = core["ɵnov"](_v, 56).isInfo; var currVal_98 = core["ɵnov"](_v, 56).isBasic; var currVal_99 = core["ɵnov"](_v, 56).isControl; _ck(_v, 55, 0, currVal_93, currVal_94, currVal_95, currVal_96, currVal_97, currVal_98, currVal_99); var currVal_101 = core["ɵnov"](_v, 59).isPrimary; var currVal_102 = core["ɵnov"](_v, 59).isSuccess; var currVal_103 = core["ɵnov"](_v, 59).isWarning; var currVal_104 = core["ɵnov"](_v, 59).isDanger; var currVal_105 = core["ɵnov"](_v, 59).isInfo; var currVal_106 = core["ɵnov"](_v, 59).isBasic; var currVal_107 = core["ɵnov"](_v, 59).isControl; _ck(_v, 58, 0, currVal_101, currVal_102, currVal_103, currVal_104, currVal_105, currVal_106, currVal_107); var currVal_116 = (_co.isLoading ? true : null); var currVal_117 = core["ɵnov"](_v, 66).fullWidth; var currVal_118 = core["ɵnov"](_v, 66).tiny; var currVal_119 = core["ɵnov"](_v, 66).small; var currVal_120 = core["ɵnov"](_v, 66).medium; var currVal_121 = core["ɵnov"](_v, 66).large; var currVal_122 = core["ɵnov"](_v, 66).giant; var currVal_123 = core["ɵnov"](_v, 66).primary; var currVal_124 = core["ɵnov"](_v, 66).info; var currVal_125 = core["ɵnov"](_v, 66).success; var currVal_126 = core["ɵnov"](_v, 66).warning; var currVal_127 = core["ɵnov"](_v, 66).danger; var currVal_128 = core["ɵnov"](_v, 66).basic; var currVal_129 = core["ɵnov"](_v, 66).control; var currVal_130 = core["ɵnov"](_v, 66).rectangle; var currVal_131 = core["ɵnov"](_v, 66).semiRound; var currVal_132 = core["ɵnov"](_v, 66).round; var currVal_133 = (core["ɵnov"](_v, 68).maxlength ? core["ɵnov"](_v, 68).maxlength : null); var currVal_134 = core["ɵnov"](_v, 73).ngClassUntouched; var currVal_135 = core["ɵnov"](_v, 73).ngClassTouched; var currVal_136 = core["ɵnov"](_v, 73).ngClassPristine; var currVal_137 = core["ɵnov"](_v, 73).ngClassDirty; var currVal_138 = core["ɵnov"](_v, 73).ngClassValid; var currVal_139 = core["ɵnov"](_v, 73).ngClassInvalid; var currVal_140 = core["ɵnov"](_v, 73).ngClassPending; _ck(_v, 64, 1, [currVal_116, currVal_117, currVal_118, currVal_119, currVal_120, currVal_121, 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]); var currVal_152 = core["ɵnov"](_v, 85).ngClassUntouched; var currVal_153 = core["ɵnov"](_v, 85).ngClassTouched; var currVal_154 = core["ɵnov"](_v, 85).ngClassPristine; var currVal_155 = core["ɵnov"](_v, 85).ngClassDirty; var currVal_156 = core["ɵnov"](_v, 85).ngClassValid; var currVal_157 = core["ɵnov"](_v, 85).ngClassInvalid; var currVal_158 = core["ɵnov"](_v, 85).ngClassPending; _ck(_v, 79, 0, currVal_152, currVal_153, currVal_154, currVal_155, currVal_156, currVal_157, currVal_158); var currVal_164 = core["ɵnov"](_v, 87).isPrimary; var currVal_165 = core["ɵnov"](_v, 87).isSuccess; var currVal_166 = core["ɵnov"](_v, 87).isWarning; var currVal_167 = core["ɵnov"](_v, 87).isDanger; var currVal_168 = core["ɵnov"](_v, 87).isInfo; var currVal_169 = core["ɵnov"](_v, 87).isBasic; var currVal_170 = core["ɵnov"](_v, 87).isControl; _ck(_v, 86, 0, currVal_164, currVal_165, currVal_166, currVal_167, currVal_168, currVal_169, currVal_170); var currVal_172 = core["ɵnov"](_v, 90).isPrimary; var currVal_173 = core["ɵnov"](_v, 90).isSuccess; var currVal_174 = core["ɵnov"](_v, 90).isWarning; var currVal_175 = core["ɵnov"](_v, 90).isDanger; var currVal_176 = core["ɵnov"](_v, 90).isInfo; var currVal_177 = core["ɵnov"](_v, 90).isBasic; var currVal_178 = core["ɵnov"](_v, 90).isControl; _ck(_v, 89, 0, currVal_172, currVal_173, currVal_174, currVal_175, currVal_176, currVal_177, currVal_178); var currVal_185 = (!_co.formData.multiSelectable ? true : null); var currVal_186 = (_co.isLoading ? true : null); var currVal_187 = core["ɵnov"](_v, 97).fullWidth; var currVal_188 = core["ɵnov"](_v, 97).tiny; var currVal_189 = core["ɵnov"](_v, 97).small; var currVal_190 = core["ɵnov"](_v, 97).medium; var currVal_191 = core["ɵnov"](_v, 97).large; var currVal_192 = core["ɵnov"](_v, 97).giant; var currVal_193 = core["ɵnov"](_v, 97).primary; var currVal_194 = core["ɵnov"](_v, 97).info; var currVal_195 = core["ɵnov"](_v, 97).success; var currVal_196 = core["ɵnov"](_v, 97).warning; var currVal_197 = core["ɵnov"](_v, 97).danger; var currVal_198 = core["ɵnov"](_v, 97).basic; var currVal_199 = core["ɵnov"](_v, 97).control; var currVal_200 = core["ɵnov"](_v, 97).rectangle; var currVal_201 = core["ɵnov"](_v, 97).semiRound; var currVal_202 = core["ɵnov"](_v, 97).round; var currVal_203 = (core["ɵnov"](_v, 99).maxlength ? core["ɵnov"](_v, 99).maxlength : null); var currVal_204 = core["ɵnov"](_v, 104).ngClassUntouched; var currVal_205 = core["ɵnov"](_v, 104).ngClassTouched; var currVal_206 = core["ɵnov"](_v, 104).ngClassPristine; var currVal_207 = core["ɵnov"](_v, 104).ngClassDirty; var currVal_208 = core["ɵnov"](_v, 104).ngClassValid; var currVal_209 = core["ɵnov"](_v, 104).ngClassInvalid; var currVal_210 = core["ɵnov"](_v, 104).ngClassPending; _ck(_v, 95, 1, [currVal_185, currVal_186, 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_220 = ((!_co.formData.multiSelectable || _co.isLoading) ? true : null); var currVal_221 = core["ɵnov"](_v, 110).fullWidth; var currVal_222 = core["ɵnov"](_v, 110).tiny; var currVal_223 = core["ɵnov"](_v, 110).small; var currVal_224 = core["ɵnov"](_v, 110).medium; var currVal_225 = core["ɵnov"](_v, 110).large; var currVal_226 = core["ɵnov"](_v, 110).giant; var currVal_227 = core["ɵnov"](_v, 110).primary; var currVal_228 = core["ɵnov"](_v, 110).info; var currVal_229 = core["ɵnov"](_v, 110).success; var currVal_230 = core["ɵnov"](_v, 110).warning; var currVal_231 = core["ɵnov"](_v, 110).danger; var currVal_232 = core["ɵnov"](_v, 110).basic; var currVal_233 = core["ɵnov"](_v, 110).control; var currVal_234 = core["ɵnov"](_v, 110).rectangle; var currVal_235 = core["ɵnov"](_v, 110).semiRound; var currVal_236 = core["ɵnov"](_v, 110).round; var currVal_237 = (core["ɵnov"](_v, 112).maxlength ? core["ɵnov"](_v, 112).maxlength : null); var currVal_238 = core["ɵnov"](_v, 117).ngClassUntouched; var currVal_239 = core["ɵnov"](_v, 117).ngClassTouched; var currVal_240 = core["ɵnov"](_v, 117).ngClassPristine; var currVal_241 = core["ɵnov"](_v, 117).ngClassDirty; var currVal_242 = core["ɵnov"](_v, 117).ngClassValid; var currVal_243 = core["ɵnov"](_v, 117).ngClassInvalid; var currVal_244 = core["ɵnov"](_v, 117).ngClassPending; _ck(_v, 108, 1, [currVal_220, currVal_221, currVal_222, currVal_223, currVal_224, currVal_225, currVal_226, currVal_227, currVal_228, currVal_229, currVal_230, currVal_231, 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]); var currVal_257 = core["ɵnov"](_v, 128).ngClassUntouched; var currVal_258 = core["ɵnov"](_v, 128).ngClassTouched; var currVal_259 = core["ɵnov"](_v, 128).ngClassPristine; var currVal_260 = core["ɵnov"](_v, 128).ngClassDirty; var currVal_261 = core["ɵnov"](_v, 128).ngClassValid; var currVal_262 = core["ɵnov"](_v, 128).ngClassInvalid; var currVal_263 = core["ɵnov"](_v, 128).ngClassPending; _ck(_v, 122, 0, currVal_257, currVal_258, currVal_259, currVal_260, currVal_261, currVal_262, currVal_263); var currVal_269 = core["ɵnov"](_v, 130).isPrimary; var currVal_270 = core["ɵnov"](_v, 130).isSuccess; var currVal_271 = core["ɵnov"](_v, 130).isWarning; var currVal_272 = core["ɵnov"](_v, 130).isDanger; var currVal_273 = core["ɵnov"](_v, 130).isInfo; var currVal_274 = core["ɵnov"](_v, 130).isBasic; var currVal_275 = core["ɵnov"](_v, 130).isControl; _ck(_v, 129, 0, currVal_269, currVal_270, currVal_271, currVal_272, currVal_273, currVal_274, currVal_275); var currVal_277 = core["ɵnov"](_v, 133).isPrimary; var currVal_278 = core["ɵnov"](_v, 133).isSuccess; var currVal_279 = core["ɵnov"](_v, 133).isWarning; var currVal_280 = core["ɵnov"](_v, 133).isDanger; var currVal_281 = core["ɵnov"](_v, 133).isInfo; var currVal_282 = core["ɵnov"](_v, 133).isBasic; var currVal_283 = core["ɵnov"](_v, 133).isControl; _ck(_v, 132, 0, currVal_277, currVal_278, currVal_279, currVal_280, currVal_281, currVal_282, currVal_283); var currVal_292 = ((!_co.formData.quantitative || _co.isLoading) ? true : null); var currVal_293 = core["ɵnov"](_v, 140).fullWidth; var currVal_294 = core["ɵnov"](_v, 140).tiny; var currVal_295 = core["ɵnov"](_v, 140).small; var currVal_296 = core["ɵnov"](_v, 140).medium; var currVal_297 = core["ɵnov"](_v, 140).large; var currVal_298 = core["ɵnov"](_v, 140).giant; var currVal_299 = core["ɵnov"](_v, 140).primary; var currVal_300 = core["ɵnov"](_v, 140).info; var currVal_301 = core["ɵnov"](_v, 140).success; var currVal_302 = core["ɵnov"](_v, 140).warning; var currVal_303 = core["ɵnov"](_v, 140).danger; var currVal_304 = core["ɵnov"](_v, 140).basic; var currVal_305 = core["ɵnov"](_v, 140).control; var currVal_306 = core["ɵnov"](_v, 140).rectangle; var currVal_307 = core["ɵnov"](_v, 140).semiRound; var currVal_308 = core["ɵnov"](_v, 140).round; var currVal_309 = (core["ɵnov"](_v, 142).maxlength ? core["ɵnov"](_v, 142).maxlength : null); var currVal_310 = core["ɵnov"](_v, 147).ngClassUntouched; var currVal_311 = core["ɵnov"](_v, 147).ngClassTouched; var currVal_312 = core["ɵnov"](_v, 147).ngClassPristine; var currVal_313 = core["ɵnov"](_v, 147).ngClassDirty; var currVal_314 = core["ɵnov"](_v, 147).ngClassValid; var currVal_315 = core["ɵnov"](_v, 147).ngClassInvalid; var currVal_316 = core["ɵnov"](_v, 147).ngClassPending; _ck(_v, 138, 1, [currVal_292, currVal_293, currVal_294, currVal_295, currVal_296, currVal_297, currVal_298, currVal_299, currVal_300, currVal_301, currVal_302, currVal_303, currVal_304, currVal_305, currVal_306, currVal_307, currVal_308, currVal_309, currVal_310, currVal_311, currVal_312, currVal_313, currVal_314, currVal_315, currVal_316]); var currVal_328 = ((!_co.formData.quantitative || _co.isLoading) ? true : null); var currVal_329 = core["ɵnov"](_v, 153).fullWidth; var currVal_330 = core["ɵnov"](_v, 153).tiny; var currVal_331 = core["ɵnov"](_v, 153).small; var currVal_332 = core["ɵnov"](_v, 153).medium; var currVal_333 = core["ɵnov"](_v, 153).large; var currVal_334 = core["ɵnov"](_v, 153).giant; var currVal_335 = core["ɵnov"](_v, 153).primary; var currVal_336 = core["ɵnov"](_v, 153).info; var currVal_337 = core["ɵnov"](_v, 153).success; var currVal_338 = core["ɵnov"](_v, 153).warning; var currVal_339 = core["ɵnov"](_v, 153).danger; var currVal_340 = core["ɵnov"](_v, 153).basic; var currVal_341 = core["ɵnov"](_v, 153).control; var currVal_342 = core["ɵnov"](_v, 153).rectangle; var currVal_343 = core["ɵnov"](_v, 153).semiRound; var currVal_344 = core["ɵnov"](_v, 153).round; var currVal_345 = (core["ɵnov"](_v, 155).maxlength ? core["ɵnov"](_v, 155).maxlength : null); var currVal_346 = core["ɵnov"](_v, 160).ngClassUntouched; var currVal_347 = core["ɵnov"](_v, 160).ngClassTouched; var currVal_348 = core["ɵnov"](_v, 160).ngClassPristine; var currVal_349 = core["ɵnov"](_v, 160).ngClassDirty; var currVal_350 = core["ɵnov"](_v, 160).ngClassValid; var currVal_351 = core["ɵnov"](_v, 160).ngClassInvalid; var currVal_352 = core["ɵnov"](_v, 160).ngClassPending; _ck(_v, 151, 1, [currVal_328, currVal_329, currVal_330, currVal_331, currVal_332, currVal_333, currVal_334, currVal_335, currVal_336, currVal_337, currVal_338, currVal_339, currVal_340, currVal_341, currVal_342, currVal_343, currVal_344, currVal_345, currVal_346, currVal_347, currVal_348, currVal_349, currVal_350, currVal_351, currVal_352]); var currVal_364 = ((!_co.formData.quantitative || _co.isLoading) ? true : null); var currVal_365 = core["ɵnov"](_v, 166).fullWidth; var currVal_366 = core["ɵnov"](_v, 166).tiny; var currVal_367 = core["ɵnov"](_v, 166).small; var currVal_368 = core["ɵnov"](_v, 166).medium; var currVal_369 = core["ɵnov"](_v, 166).large; var currVal_370 = core["ɵnov"](_v, 166).giant; var currVal_371 = core["ɵnov"](_v, 166).primary; var currVal_372 = core["ɵnov"](_v, 166).info; var currVal_373 = core["ɵnov"](_v, 166).success; var currVal_374 = core["ɵnov"](_v, 166).warning; var currVal_375 = core["ɵnov"](_v, 166).danger; var currVal_376 = core["ɵnov"](_v, 166).basic; var currVal_377 = core["ɵnov"](_v, 166).control; var currVal_378 = core["ɵnov"](_v, 166).rectangle; var currVal_379 = core["ɵnov"](_v, 166).semiRound; var currVal_380 = core["ɵnov"](_v, 166).round; var currVal_381 = (core["ɵnov"](_v, 168).maxlength ? core["ɵnov"](_v, 168).maxlength : null); var currVal_382 = core["ɵnov"](_v, 173).ngClassUntouched; var currVal_383 = core["ɵnov"](_v, 173).ngClassTouched; var currVal_384 = core["ɵnov"](_v, 173).ngClassPristine; var currVal_385 = core["ɵnov"](_v, 173).ngClassDirty; var currVal_386 = core["ɵnov"](_v, 173).ngClassValid; var currVal_387 = core["ɵnov"](_v, 173).ngClassInvalid; var currVal_388 = core["ɵnov"](_v, 173).ngClassPending; _ck(_v, 164, 1, [currVal_364, currVal_365, currVal_366, currVal_367, currVal_368, currVal_369, currVal_370, currVal_371, currVal_372, currVal_373, currVal_374, currVal_375, currVal_376, currVal_377, currVal_378, currVal_379, currVal_380, currVal_381, currVal_382, currVal_383, currVal_384, currVal_385, currVal_386, currVal_387, currVal_388]); var currVal_393 = core["ɵnov"](_v, 175).disabled; var currVal_394 = core["ɵnov"](_v, 175).activeValue; _ck(_v, 174, 0, currVal_393, currVal_394); var currVal_401 = (_co.isLoading ? true : null); var currVal_402 = core["ɵnov"](_v, 180).filled; var currVal_403 = core["ɵnov"](_v, 180).outline; var currVal_404 = core["ɵnov"](_v, 180).ghost; var currVal_405 = core["ɵnov"](_v, 180).hero; var currVal_406 = core["ɵnov"](_v, 180).fullWidth; var currVal_407 = core["ɵnov"](_v, 180).disabled; var currVal_408 = core["ɵnov"](_v, 180).disabled; var currVal_409 = core["ɵnov"](_v, 180).tabbable; var currVal_410 = core["ɵnov"](_v, 180).tiny; var currVal_411 = core["ɵnov"](_v, 180).small; var currVal_412 = core["ɵnov"](_v, 180).medium; var currVal_413 = core["ɵnov"](_v, 180).large; var currVal_414 = core["ɵnov"](_v, 180).giant; var currVal_415 = core["ɵnov"](_v, 180).primary; var currVal_416 = core["ɵnov"](_v, 180).info; var currVal_417 = core["ɵnov"](_v, 180).success; var currVal_418 = core["ɵnov"](_v, 180).warning; var currVal_419 = core["ɵnov"](_v, 180).danger; var currVal_420 = core["ɵnov"](_v, 180).basic; var currVal_421 = core["ɵnov"](_v, 180).control; var currVal_422 = core["ɵnov"](_v, 180).rectangle; var currVal_423 = core["ɵnov"](_v, 180).round; var currVal_424 = core["ɵnov"](_v, 180).semiRound; var currVal_425 = core["ɵnov"](_v, 180).iconLeft; var currVal_426 = core["ɵnov"](_v, 180).iconRight; var currVal_427 = core["ɵnov"](_v, 180).transitions; _ck(_v, 179, 1, [currVal_401, currVal_402, currVal_403, currVal_404, currVal_405, currVal_406, currVal_407, currVal_408, currVal_409, currVal_410, currVal_411, currVal_412, currVal_413, currVal_414, currVal_415, currVal_416, currVal_417, currVal_418, currVal_419, currVal_420, currVal_421, currVal_422, currVal_423, currVal_424, currVal_425, currVal_426, currVal_427]); var currVal_429 = (_co.isLoading ? "Aguarde..." : "Salvar"); _ck(_v, 181, 0, currVal_429); }); }
function View_CustomizationProductEditComponent_Host_0(_l) { return core["ɵvid"](0, [(_l()(), core["ɵeld"](0, 0, null, null, 1, "omni-customization-product-edit", [], null, null, null, View_CustomizationProductEditComponent_0, RenderType_CustomizationProductEditComponent)), core["ɵdid"](1, 114688, null, 0, customization_product_edit_component_CustomizationProductEditComponent, [router["a" /* ActivatedRoute */], router["l" /* Router */], fesm2015_forms["g" /* FormBuilder */], autocomplete_service["a" /* AutoCompleteService */], empresa_service["a" /* EmpresaService */], nav_extras_service["a" /* NavExtrasService */], personalizacao_de_produto_service_PersonalizacaoDeProdutoService, 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 CustomizationProductEditComponentNgFactory = core["ɵccf"]("omni-customization-product-edit", customization_product_edit_component_CustomizationProductEditComponent, View_CustomizationProductEditComponent_Host_0, {}, {}, []);


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

// 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");

// CONCATENATED MODULE: ./src/app/pages/products/customizations/customization-product/customization-product-routing.module.ts



const routes = [
    { path: '', component: customization_product_list_component_CustomizationProductListComponent },
    { path: 'new', component: customization_product_edit_component_CustomizationProductEditComponent },
    { path: ':id/edit', component: customization_product_edit_component_CustomizationProductEditComponent }
];
class CustomizationProductRoutingModule {
}

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

// 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");

// 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: ./node_modules/@fortawesome/angular-fontawesome/fesm2015/angular-fontawesome.js
var angular_fontawesome = __webpack_require__("Nv++");

// 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/products/customizations/customization-product/customization-product.module.ngfactory.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomizationProductModuleNgFactory", function() { return CustomizationProductModuleNgFactory; });
/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 














































var CustomizationProductModuleNgFactory = core["ɵcmf"](CustomizationProductModule, [], function (_l) { return core["ɵmod"]([core["ɵmpd"](512, core["ComponentFactoryResolver"], core["ɵCodegenComponentFactoryResolver"], [[8, [router_ngfactory["a" /* ɵangular_packages_router_router_lNgFactory */], CustomizationProductListComponentNgFactory, CustomizationProductEditComponentNgFactory, angular_fontawesome_ngfactory["b" /* FaIconComponentNgFactory */], angular_fontawesome_ngfactory["a" /* FaDuotoneIconComponentNgFactory */], index_ngfactory["h" /* NbContextMenuComponentNgFactory */], index_ngfactory["j" /* NbDialogContainerComponentNgFactory */], index_ngfactory["k" /* NbPopoverComponentNgFactory */], index_ngfactory["n" /* NbTooltipComponentNgFactory */], 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, router["p" /* RouterModule */], router["p" /* RouterModule */], [[2, router["u" /* ɵangular_packages_router_router_a */]], [2, router["l" /* Router */]]]), core["ɵmpd"](1073742336, CustomizationProductRoutingModule, CustomizationProductRoutingModule, []), core["ɵmpd"](1073742336, directives_module["a" /* DirectivesModule */], directives_module["a" /* DirectivesModule */], []), 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["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["fc" /* NbInputModule */], fesm2015["fc" /* NbInputModule */], []), core["ɵmpd"](1073742336, fesm2015["Vc" /* NbRadioModule */], fesm2015["Vc" /* NbRadioModule */], []), 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["Bb" /* NbCheckboxModule */], fesm2015["Bb" /* NbCheckboxModule */], []), core["ɵmpd"](1073742336, fesm2015["kd" /* NbSelectModule */], fesm2015["kd" /* NbSelectModule */], []), core["ɵmpd"](1073742336, fesm2015["F" /* NbBadgeModule */], fesm2015["F" /* NbBadgeModule */], []), core["ɵmpd"](1073742336, fesm2015["Ed" /* NbTabsetModule */], fesm2015["Ed" /* NbTabsetModule */], []), 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, angular_fontawesome["j" /* FontAwesomeModule */], angular_fontawesome["j" /* FontAwesomeModule */], []), core["ɵmpd"](1073742336, fesm2015["D" /* NbAlertModule */], fesm2015["D" /* NbAlertModule */], []), core["ɵmpd"](1073742336, fesm2015["B" /* NbActionsModule */], fesm2015["B" /* NbActionsModule */], []), core["ɵmpd"](1073742336, fesm2015["vc" /* NbMenuModule */], fesm2015["vc" /* NbMenuModule */], []), 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["Qd" /* NbTooltipModule */], fesm2015["Qd" /* NbTooltipModule */], []), 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, CustomizationProductModule, CustomizationProductModule, []), core["ɵmpd"](1024, router["j" /* ROUTES */], function () { return [[{ path: "", component: customization_product_list_component_CustomizationProductListComponent }, { path: "new", component: customization_product_edit_component_CustomizationProductEditComponent }, { path: ":id/edit", component: customization_product_edit_component_CustomizationProductEditComponent }]]; }, []), core["ɵmpd"](256, sweetalert2_ngx_sweetalert2["d" /* ɵa */], undefined, [])]); });



/***/ })

};;