import { Component, Input } from '@angular/core';
import { AbstractSelectSearch } from '../abstract-select-search';
import * as i0 from "@angular/core";
import * as i1 from "../select-search/select-search.component";
import * as i2 from "@aztrix/helpers";
export class ProductSelectSearchComponent extends AbstractSelectSearch {
}
ProductSelectSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ProductSelectSearchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
ProductSelectSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ProductSelectSearchComponent, selector: "ax-product-select-search", inputs: { products: "products" }, usesInheritance: true, ngImport: i0, template: "<ng-template #option let-result>\n  {{ result?.name }}\n</ng-template>\n\n<ax-select-search\n  [form]=\"form\"\n  [options]=\"products\"\n  [placeholder]=\"'label.product' | translate\"\n  [optionTemplate]=\"option\"\n  [selectedValueTemplate]=\"option\"\n  [multiple]=\"multiple\"\n  [keys]=\"['name']\"\n  [valueCallback]=\"valueCallback\"\n  [disabled]=\"disabled\"\n  [label]=\"label ? label : ('label.product' | translate)\"\n></ax-select-search>\n", styles: [""], dependencies: [{ kind: "component", type: i1.SelectSearchComponent, selector: "ax-select-search", inputs: ["form", "options", "placeholder", "optionTemplate", "selectedValueTemplate", "multiple", "label", "keys", "canAddNew", "required", "appearance", "errorsTemplate", "prefixTemplate", "disabled", "valueCallback", "searchCallback$"], outputs: ["addNewValue"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ProductSelectSearchComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-product-select-search', template: "<ng-template #option let-result>\n  {{ result?.name }}\n</ng-template>\n\n<ax-select-search\n  [form]=\"form\"\n  [options]=\"products\"\n  [placeholder]=\"'label.product' | translate\"\n  [optionTemplate]=\"option\"\n  [selectedValueTemplate]=\"option\"\n  [multiple]=\"multiple\"\n  [keys]=\"['name']\"\n  [valueCallback]=\"valueCallback\"\n  [disabled]=\"disabled\"\n  [label]=\"label ? label : ('label.product' | translate)\"\n></ax-select-search>\n" }]
        }], propDecorators: { products: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1zZWxlY3Qtc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zZWxlY3Qtc2VhcmNoL3Byb2R1Y3Qtc2VsZWN0LXNlYXJjaC9wcm9kdWN0LXNlbGVjdC1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NlbGVjdC1zZWFyY2gvcHJvZHVjdC1zZWxlY3Qtc2VhcmNoL3Byb2R1Y3Qtc2VsZWN0LXNlYXJjaC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUcvQyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQzs7OztBQU8vRCxNQUFNLE9BQU8sNEJBQTZCLFNBQVEsb0JBQW9COzt5SEFBekQsNEJBQTRCOzZHQUE1Qiw0QkFBNEIseUhDVnpDLHVjQWdCQTsyRkROYSw0QkFBNEI7a0JBTHhDLFNBQVM7K0JBQ0UsMEJBQTBCOzhCQUszQixRQUFRO3NCQUFoQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnQsIElucHV0fSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7UHJvZHVjdFJlcHJlc2VudGF0aW9ufSBmcm9tICdAYXp0cml4L3Nkayc7XG5c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