import { StTypeaheadMultipleController } from "./StTypeaheadMultiple.controller";
import StTypeaheadMultipleView from './StTypeaheadMultiple.view.html';

export const StTypeaheadMultipleComponent = {
    require: {
        ngModel: '^',
    },
    bindings: {
        data: '<?',
        rest: '@?',
        restParams: '<?',
        config: '<?',
        onSelect: '&?',
        onRemove: '&?',
        onRefresh: '&?',
        inputId: '@?',
        addClass: '@?',
        ngDisabled: '<?',
        ngRequired: '<?',
        translations: '<?',
        api: '=?',
        isOptionDisabled: '&?',
        isSelectedDisabled: '&?',
        limit: '<?'
    },
    controller: StTypeaheadMultipleController,
    template: StTypeaheadMultipleView
}