UNPKG

ddata-ui-input

Version:

DData UI Input module, components, models & services

63 lines (62 loc) 2.96 kB
import { EventEmitter, OnInit } from '@angular/core'; import { BaseModelInterface, FieldsInterface } from 'ddata-core'; import { DialogContentWithOptionsInterface } from '../../models/dialog/content/dialog-content.interface'; import { SelectType } from './select.type'; import * as i0 from "@angular/core"; export declare class DdataSelectComponent implements OnInit { private helperService; _field: string; _title: string; _label: string; _prepend: string; _append: string; _isRequired: boolean; _items: any[]; _model: BaseModelInterface<any> & FieldsInterface<any>; _selectedModelName: string; _mode: string; /** * @deprecated use `mode` input attribute */ set fakeSingleSelect(value: boolean); /** * @deprecated use `mode` input attribute */ get fakeSingleSelect(): boolean; /** * @deprecated use `mode` input attribute */ set multipleSelect(value: boolean); /** * @deprecated use `mode` input attribute */ get multipleSelect(): boolean; set mode(value: SelectType); set model(value: BaseModelInterface<any> & FieldsInterface<any> | null); get model(): BaseModelInterface<any> & FieldsInterface<any>; set field(value: string); set items(value: any[] | null); wrapperClass: string; labelClass: string; inputBlockClass: string; inputBlockExtraClass: string; showLabel: boolean; disabledAppearance: boolean; disabled: boolean; addEmptyOption: boolean; dialogSettings: DialogContentWithOptionsInterface; text: string; valueField: string; unselectedText: string; disableShowSelectedItems: boolean; showIcon: boolean; selectedElementsBlockClass: string; selectedElementsBlockExtraClass: string; selected: EventEmitter<any>; selectModel: EventEmitter<any>; ngOnInit(): void; selectedEmit(value: any): void; selectModelEmit(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<DdataSelectComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DdataSelectComponent, "dd-select", never, { "fakeSingleSelect": "fakeSingleSelect"; "multipleSelect": "multipleSelect"; "mode": "mode"; "model": "model"; "field": "field"; "items": "items"; "wrapperClass": "wrapperClass"; "labelClass": "labelClass"; "inputBlockClass": "inputBlockClass"; "inputBlockExtraClass": "inputBlockExtraClass"; "showLabel": "showLabel"; "disabledAppearance": "disabledAppearance"; "disabled": "disabled"; "addEmptyOption": "addEmptyOption"; "dialogSettings": "dialogSettings"; "text": "text"; "valueField": "valueField"; "unselectedText": "unselectedText"; "disableShowSelectedItems": "disableShowSelectedItems"; "showIcon": "showIcon"; "selectedElementsBlockClass": "selectedElementsBlockClass"; "selectedElementsBlockExtraClass": "selectedElementsBlockExtraClass"; }, { "selected": "selected"; "selectModel": "selectModel"; }, never, never, false, never>; }