UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

1 lines • 89.2 kB
{"version":3,"file":"devextreme-angular-ui-select-box.mjs","sources":["../../../dist/ui/select-box/index.ts","../../../dist/ui/select-box/devextreme-angular-ui-select-box.ts"],"sourcesContent":["/*!\n * devextreme-angular\n * Version: 24.2.6\n * Build date: Mon Mar 17 2025\n *\n * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE file in the root of the project for details.\n *\n * https://github.com/DevExpress/devextreme-angular\n */\n\n/* tslint:disable:max-line-length */\r\n\r\n\r\nimport {\r\n TransferState,\r\n Component,\r\n NgModule,\r\n ElementRef,\r\n NgZone,\r\n PLATFORM_ID,\r\n Inject,\r\n\r\n Input,\r\n Output,\r\n OnDestroy,\r\n EventEmitter,\r\n forwardRef,\r\n HostListener,\r\n OnChanges,\r\n DoCheck,\r\n SimpleChanges,\r\n ContentChildren,\r\n QueryList\r\n} from '@angular/core';\r\n\r\n\r\nimport DataSource from 'devextreme/data/data_source';\r\nimport { DropDownPredefinedButton } from 'devextreme/ui/drop_down_editor/ui.drop_down_editor';\r\nimport { TextEditorButton, LabelMode, SimplifiedSearchMode, EditorStyle, ValidationMessageMode, Mode, Position, ValidationStatus } from 'devextreme/common';\r\nimport { CollectionWidgetItem } from 'devextreme/ui/collection/ui.collection_widget.base';\r\nimport { DataSourceOptions } from 'devextreme/data/data_source';\r\nimport { Store } from 'devextreme/data/store';\r\nimport { dxPopupOptions } from 'devextreme/ui/popup';\r\nimport { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CustomItemCreatingEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, OptionChangedEvent, PasteEvent, SelectionChangedEvent, ValueChangedEvent } from 'devextreme/ui/select_box';\r\n\r\nimport DxSelectBox from 'devextreme/ui/select_box';\r\n\r\nimport {\r\n ControlValueAccessor,\r\n NG_VALUE_ACCESSOR\r\n} from '@angular/forms';\r\n\r\nimport {\r\n DxComponent,\r\n DxTemplateHost,\r\n DxIntegrationModule,\r\n DxTemplateModule,\r\n NestedOptionHost,\r\n IterableDifferHelper,\r\n WatcherHelper\r\n} from 'devextreme-angular/core';\r\n\r\nimport { DxiButtonModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoOptionsModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoDropDownOptionsModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoAnimationModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoHideModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoFromModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoPositionModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoAtModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoBoundaryOffsetModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoCollisionModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoMyModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoOffsetModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoToModule } from 'devextreme-angular/ui/nested';\r\nimport { DxoShowModule } from 'devextreme-angular/ui/nested';\r\nimport { DxiItemModule } from 'devextreme-angular/ui/nested';\r\n\r\nimport { DxoSelectBoxAnimationModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxAtModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxBoundaryOffsetModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxiSelectBoxButtonModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxCollisionModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxDropDownOptionsModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxFromModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxHideModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxiSelectBoxItemModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxMyModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxOffsetModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxOptionsModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxPositionModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxShowModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxoSelectBoxToModule } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxiSelectBoxToolbarItemModule } from 'devextreme-angular/ui/select-box/nested';\r\n\r\nimport { DxiButtonComponent } from 'devextreme-angular/ui/nested';\r\nimport { DxiItemComponent } from 'devextreme-angular/ui/nested';\r\n\r\nimport { DxiSelectBoxButtonComponent } from 'devextreme-angular/ui/select-box/nested';\r\nimport { DxiSelectBoxItemComponent } from 'devextreme-angular/ui/select-box/nested';\r\n\r\n\r\n\r\nconst CUSTOM_VALUE_ACCESSOR_PROVIDER = {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => DxSelectBoxComponent),\r\n multi: true\r\n};\r\n/**\r\n * The SelectBox UI component is an editor that allows an end user to select an item from a drop-down list.\r\n\r\n */\r\n@Component({\r\n selector: 'dx-select-box',\r\n template: '',\r\n host: { ngSkipHydration: 'true' },\r\n providers: [\r\n DxTemplateHost,\r\n WatcherHelper,\r\n CUSTOM_VALUE_ACCESSOR_PROVIDER,\r\n NestedOptionHost,\r\n IterableDifferHelper\r\n ]\r\n})\r\nexport class DxSelectBoxComponent extends DxComponent implements OnDestroy, ControlValueAccessor, OnChanges, DoCheck {\r\n instance: DxSelectBox = null;\r\n\r\n /**\r\n * Specifies whether the UI component allows a user to enter a custom value. Requires the onCustomItemCreating handler implementation.\r\n \r\n */\r\n @Input()\r\n get acceptCustomValue(): boolean {\r\n return this._getOption('acceptCustomValue');\r\n }\r\n set acceptCustomValue(value: boolean) {\r\n this._setOption('acceptCustomValue', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the shortcut key that sets focus on the UI component.\r\n \r\n */\r\n @Input()\r\n get accessKey(): string | undefined {\r\n return this._getOption('accessKey');\r\n }\r\n set accessKey(value: string | undefined) {\r\n this._setOption('accessKey', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component changes its visual state as a result of user interaction.\r\n \r\n */\r\n @Input()\r\n get activeStateEnabled(): boolean {\r\n return this._getOption('activeStateEnabled');\r\n }\r\n set activeStateEnabled(value: boolean) {\r\n this._setOption('activeStateEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Allows you to add custom buttons to the input text field.\r\n \r\n */\r\n @Input()\r\n get buttons(): Array<DropDownPredefinedButton | TextEditorButton> {\r\n return this._getOption('buttons');\r\n }\r\n set buttons(value: Array<DropDownPredefinedButton | TextEditorButton>) {\r\n this._setOption('buttons', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the DOM event after which the custom item should be created. Applies only if acceptCustomValue is enabled.\r\n \r\n */\r\n @Input()\r\n get customItemCreateEvent(): string {\r\n return this._getOption('customItemCreateEvent');\r\n }\r\n set customItemCreateEvent(value: string) {\r\n this._setOption('customItemCreateEvent', value);\r\n }\r\n\r\n\r\n /**\r\n * Binds the UI component to data.\r\n \r\n */\r\n @Input()\r\n get dataSource(): Array<any | CollectionWidgetItem> | DataSource | DataSourceOptions | null | Store | string {\r\n return this._getOption('dataSource');\r\n }\r\n set dataSource(value: Array<any | CollectionWidgetItem> | DataSource | DataSourceOptions | null | Store | string) {\r\n this._setOption('dataSource', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to render the drop-down field&apos;s content when it is displayed. If false, the content is rendered immediately.\r\n \r\n */\r\n @Input()\r\n get deferRendering(): boolean {\r\n return this._getOption('deferRendering');\r\n }\r\n set deferRendering(value: boolean) {\r\n this._setOption('deferRendering', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component responds to user interaction.\r\n \r\n */\r\n @Input()\r\n get disabled(): boolean {\r\n return this._getOption('disabled');\r\n }\r\n set disabled(value: boolean) {\r\n this._setOption('disabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the data field whose values should be displayed.\r\n \r\n */\r\n @Input()\r\n get displayExpr(): ((item: any) => string) | string | undefined {\r\n return this._getOption('displayExpr');\r\n }\r\n set displayExpr(value: ((item: any) => string) | string | undefined) {\r\n this._setOption('displayExpr', value);\r\n }\r\n\r\n\r\n /**\r\n * Returns the value currently displayed by the UI component.\r\n \r\n */\r\n @Input()\r\n get displayValue(): string | undefined {\r\n return this._getOption('displayValue');\r\n }\r\n set displayValue(value: string | undefined) {\r\n this._setOption('displayValue', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a custom template for the drop-down button.\r\n \r\n */\r\n @Input()\r\n get dropDownButtonTemplate(): any {\r\n return this._getOption('dropDownButtonTemplate');\r\n }\r\n set dropDownButtonTemplate(value: any) {\r\n this._setOption('dropDownButtonTemplate', value);\r\n }\r\n\r\n\r\n /**\r\n * Configures the drop-down field which holds the content.\r\n \r\n */\r\n @Input()\r\n get dropDownOptions(): dxPopupOptions<any> {\r\n return this._getOption('dropDownOptions');\r\n }\r\n set dropDownOptions(value: dxPopupOptions<any>) {\r\n this._setOption('dropDownOptions', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the global attributes to be attached to the UI component&apos;s container element.\r\n \r\n */\r\n @Input()\r\n get elementAttr(): Record<string, any> {\r\n return this._getOption('elementAttr');\r\n }\r\n set elementAttr(value: Record<string, any>) {\r\n this._setOption('elementAttr', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a custom template for the text field. Must contain the TextBox UI component.\r\n \r\n */\r\n @Input()\r\n get fieldTemplate(): any {\r\n return this._getOption('fieldTemplate');\r\n }\r\n set fieldTemplate(value: any) {\r\n this._setOption('fieldTemplate', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component can be focused using keyboard navigation.\r\n \r\n */\r\n @Input()\r\n get focusStateEnabled(): boolean {\r\n return this._getOption('focusStateEnabled');\r\n }\r\n set focusStateEnabled(value: boolean) {\r\n this._setOption('focusStateEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether data items should be grouped.\r\n \r\n */\r\n @Input()\r\n get grouped(): boolean {\r\n return this._getOption('grouped');\r\n }\r\n set grouped(value: boolean) {\r\n this._setOption('grouped', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a custom template for group captions.\r\n \r\n */\r\n @Input()\r\n get groupTemplate(): any {\r\n return this._getOption('groupTemplate');\r\n }\r\n set groupTemplate(value: any) {\r\n this._setOption('groupTemplate', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the UI component&apos;s height.\r\n \r\n */\r\n @Input()\r\n get height(): (() => number | string) | number | string | undefined {\r\n return this._getOption('height');\r\n }\r\n set height(value: (() => number | string) | number | string | undefined) {\r\n this._setOption('height', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies text for a hint that appears when a user pauses on the UI component.\r\n \r\n */\r\n @Input()\r\n get hint(): string | undefined {\r\n return this._getOption('hint');\r\n }\r\n set hint(value: string | undefined) {\r\n this._setOption('hint', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component changes its state when a user pauses on it.\r\n \r\n */\r\n @Input()\r\n get hoverStateEnabled(): boolean {\r\n return this._getOption('hoverStateEnabled');\r\n }\r\n set hoverStateEnabled(value: boolean) {\r\n this._setOption('hoverStateEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the attributes to be passed on to the underlying HTML element.\r\n \r\n */\r\n @Input()\r\n get inputAttr(): any {\r\n return this._getOption('inputAttr');\r\n }\r\n set inputAttr(value: any) {\r\n this._setOption('inputAttr', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the component&apos;s current value differs from the initial value.\r\n \r\n */\r\n @Input()\r\n get isDirty(): boolean {\r\n return this._getOption('isDirty');\r\n }\r\n set isDirty(value: boolean) {\r\n this._setOption('isDirty', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies or indicates whether the editor&apos;s value is valid.\r\n \r\n */\r\n @Input()\r\n get isValid(): boolean {\r\n return this._getOption('isValid');\r\n }\r\n set isValid(value: boolean) {\r\n this._setOption('isValid', value);\r\n }\r\n\r\n\r\n /**\r\n * An array of items displayed by the UI component.\r\n \r\n */\r\n @Input()\r\n get items(): Array<any | CollectionWidgetItem> {\r\n return this._getOption('items');\r\n }\r\n set items(value: Array<any | CollectionWidgetItem>) {\r\n this._setOption('items', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a custom template for items.\r\n \r\n */\r\n @Input()\r\n get itemTemplate(): any {\r\n return this._getOption('itemTemplate');\r\n }\r\n set itemTemplate(value: any) {\r\n this._setOption('itemTemplate', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a text string used to annotate the editor&apos;s value.\r\n \r\n */\r\n @Input()\r\n get label(): string {\r\n return this._getOption('label');\r\n }\r\n set label(value: string) {\r\n this._setOption('label', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the label&apos;s display mode.\r\n \r\n */\r\n @Input()\r\n get labelMode(): LabelMode {\r\n return this._getOption('labelMode');\r\n }\r\n set labelMode(value: LabelMode) {\r\n this._setOption('labelMode', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the maximum number of characters you can enter into the textbox.\r\n \r\n */\r\n @Input()\r\n get maxLength(): number | string {\r\n return this._getOption('maxLength');\r\n }\r\n set maxLength(value: number | string) {\r\n this._setOption('maxLength', value);\r\n }\r\n\r\n\r\n /**\r\n * The minimum number of characters that must be entered into the text box to begin a search. Applies only if searchEnabled is true.\r\n \r\n */\r\n @Input()\r\n get minSearchLength(): number {\r\n return this._getOption('minSearchLength');\r\n }\r\n set minSearchLength(value: number) {\r\n this._setOption('minSearchLength', value);\r\n }\r\n\r\n\r\n /**\r\n * The value to be assigned to the `name` attribute of the underlying HTML element.\r\n \r\n */\r\n @Input()\r\n get name(): string {\r\n return this._getOption('name');\r\n }\r\n set name(value: string) {\r\n this._setOption('name', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the text or HTML markup displayed by the UI component if the item collection is empty.\r\n \r\n */\r\n @Input()\r\n get noDataText(): string {\r\n return this._getOption('noDataText');\r\n }\r\n set noDataText(value: string) {\r\n this._setOption('noDataText', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not the drop-down editor is displayed.\r\n \r\n */\r\n @Input()\r\n get opened(): boolean {\r\n return this._getOption('opened');\r\n }\r\n set opened(value: boolean) {\r\n this._setOption('opened', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether a user can open the drop-down list by clicking a text field.\r\n \r\n */\r\n @Input()\r\n get openOnFieldClick(): boolean {\r\n return this._getOption('openOnFieldClick');\r\n }\r\n set openOnFieldClick(value: boolean) {\r\n this._setOption('openOnFieldClick', value);\r\n }\r\n\r\n\r\n /**\r\n * The text that is provided as a hint in the select box editor.\r\n \r\n */\r\n @Input()\r\n get placeholder(): string {\r\n return this._getOption('placeholder');\r\n }\r\n set placeholder(value: string) {\r\n this._setOption('placeholder', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the editor is read-only.\r\n \r\n */\r\n @Input()\r\n get readOnly(): boolean {\r\n return this._getOption('readOnly');\r\n }\r\n set readOnly(value: boolean) {\r\n this._setOption('readOnly', value);\r\n }\r\n\r\n\r\n /**\r\n * Switches the UI component to a right-to-left representation.\r\n \r\n */\r\n @Input()\r\n get rtlEnabled(): boolean {\r\n return this._getOption('rtlEnabled');\r\n }\r\n set rtlEnabled(value: boolean) {\r\n this._setOption('rtlEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to allow search operations.\r\n \r\n */\r\n @Input()\r\n get searchEnabled(): boolean {\r\n return this._getOption('searchEnabled');\r\n }\r\n set searchEnabled(value: boolean) {\r\n this._setOption('searchEnabled', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the name of a data source item field or an expression whose value is compared to the search criterion.\r\n \r\n */\r\n @Input()\r\n get searchExpr(): Array<Function | string> | Function | string {\r\n return this._getOption('searchExpr');\r\n }\r\n set searchExpr(value: Array<Function | string> | Function | string) {\r\n this._setOption('searchExpr', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies a comparison operation used to search UI component items.\r\n \r\n */\r\n @Input()\r\n get searchMode(): SimplifiedSearchMode {\r\n return this._getOption('searchMode');\r\n }\r\n set searchMode(value: SimplifiedSearchMode) {\r\n this._setOption('searchMode', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the time delay, in milliseconds, after the last character has been typed in, before a search is executed.\r\n \r\n */\r\n @Input()\r\n get searchTimeout(): number {\r\n return this._getOption('searchTimeout');\r\n }\r\n set searchTimeout(value: number) {\r\n this._setOption('searchTimeout', value);\r\n }\r\n\r\n\r\n /**\r\n * Gets the currently selected item.\r\n \r\n */\r\n @Input()\r\n get selectedItem(): any {\r\n return this._getOption('selectedItem');\r\n }\r\n set selectedItem(value: any) {\r\n this._setOption('selectedItem', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether to display the Clear button in the UI component.\r\n \r\n */\r\n @Input()\r\n get showClearButton(): boolean {\r\n return this._getOption('showClearButton');\r\n }\r\n set showClearButton(value: boolean) {\r\n this._setOption('showClearButton', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not the UI component displays unfiltered values until a user types a number of characters exceeding the minSearchLength property value.\r\n \r\n */\r\n @Input()\r\n get showDataBeforeSearch(): boolean {\r\n return this._getOption('showDataBeforeSearch');\r\n }\r\n set showDataBeforeSearch(value: boolean) {\r\n this._setOption('showDataBeforeSearch', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the drop-down button is visible.\r\n \r\n */\r\n @Input()\r\n get showDropDownButton(): boolean {\r\n return this._getOption('showDropDownButton');\r\n }\r\n set showDropDownButton(value: boolean) {\r\n this._setOption('showDropDownButton', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not to display selection controls.\r\n \r\n */\r\n @Input()\r\n get showSelectionControls(): boolean {\r\n return this._getOption('showSelectionControls');\r\n }\r\n set showSelectionControls(value: boolean) {\r\n this._setOption('showSelectionControls', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether or not the UI component checks the inner text for spelling mistakes.\r\n \r\n */\r\n @Input()\r\n get spellcheck(): boolean {\r\n return this._getOption('spellcheck');\r\n }\r\n set spellcheck(value: boolean) {\r\n this._setOption('spellcheck', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies how the UI component&apos;s text field is styled.\r\n \r\n */\r\n @Input()\r\n get stylingMode(): EditorStyle {\r\n return this._getOption('stylingMode');\r\n }\r\n set stylingMode(value: EditorStyle) {\r\n this._setOption('stylingMode', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the number of the element when the Tab key is used for navigating.\r\n \r\n */\r\n @Input()\r\n get tabIndex(): number {\r\n return this._getOption('tabIndex');\r\n }\r\n set tabIndex(value: number) {\r\n this._setOption('tabIndex', value);\r\n }\r\n\r\n\r\n /**\r\n * The read-only property that holds the text displayed by the UI component input element.\r\n \r\n */\r\n @Input()\r\n get text(): string {\r\n return this._getOption('text');\r\n }\r\n set text(value: string) {\r\n this._setOption('text', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the widget uses item&apos;s text a title attribute.\r\n \r\n */\r\n @Input()\r\n get useItemTextAsTitle(): boolean {\r\n return this._getOption('useItemTextAsTitle');\r\n }\r\n set useItemTextAsTitle(value: boolean) {\r\n this._setOption('useItemTextAsTitle', value);\r\n }\r\n\r\n\r\n /**\r\n * Information on the broken validation rule. Contains the first item from the validationErrors array.\r\n \r\n */\r\n @Input()\r\n get validationError(): any {\r\n return this._getOption('validationError');\r\n }\r\n set validationError(value: any) {\r\n this._setOption('validationError', value);\r\n }\r\n\r\n\r\n /**\r\n * An array of the validation rules that failed.\r\n \r\n */\r\n @Input()\r\n get validationErrors(): Array<any> {\r\n return this._getOption('validationErrors');\r\n }\r\n set validationErrors(value: Array<any>) {\r\n this._setOption('validationErrors', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies how the message about the validation rules that are not satisfied by this editor&apos;s value is displayed.\r\n \r\n */\r\n @Input()\r\n get validationMessageMode(): ValidationMessageMode {\r\n return this._getOption('validationMessageMode');\r\n }\r\n set validationMessageMode(value: ValidationMessageMode) {\r\n this._setOption('validationMessageMode', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the position of a validation message relative to the component. The validation message describes the validation rules that this component&apos;s value does not satisfy.\r\n \r\n */\r\n @Input()\r\n get validationMessagePosition(): Mode | Position {\r\n return this._getOption('validationMessagePosition');\r\n }\r\n set validationMessagePosition(value: Mode | Position) {\r\n this._setOption('validationMessagePosition', value);\r\n }\r\n\r\n\r\n /**\r\n * Indicates or specifies the current validation status.\r\n \r\n */\r\n @Input()\r\n get validationStatus(): ValidationStatus {\r\n return this._getOption('validationStatus');\r\n }\r\n set validationStatus(value: ValidationStatus) {\r\n this._setOption('validationStatus', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the currently selected value. May be an object if dataSource contains objects, the store key is specified, and valueExpr is not set.\r\n \r\n */\r\n @Input()\r\n get value(): any {\r\n return this._getOption('value');\r\n }\r\n set value(value: any) {\r\n this._setOption('value', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the DOM events after which the UI component&apos;s value should be updated. Applies only if acceptCustomValue is set to true.\r\n \r\n * @deprecated Use the customItemCreateEvent option instead.\r\n \r\n */\r\n @Input()\r\n get valueChangeEvent(): string {\r\n return this._getOption('valueChangeEvent');\r\n }\r\n set valueChangeEvent(value: string) {\r\n this._setOption('valueChangeEvent', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies which data field provides unique values to the UI component&apos;s value.\r\n \r\n */\r\n @Input()\r\n get valueExpr(): ((item: any) => string | number | boolean) | string {\r\n return this._getOption('valueExpr');\r\n }\r\n set valueExpr(value: ((item: any) => string | number | boolean) | string) {\r\n this._setOption('valueExpr', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether the UI component is visible.\r\n \r\n */\r\n @Input()\r\n get visible(): boolean {\r\n return this._getOption('visible');\r\n }\r\n set visible(value: boolean) {\r\n this._setOption('visible', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies the UI component&apos;s width.\r\n \r\n */\r\n @Input()\r\n get width(): (() => number | string) | number | string | undefined {\r\n return this._getOption('width');\r\n }\r\n set width(value: (() => number | string) | number | string | undefined) {\r\n this._setOption('width', value);\r\n }\r\n\r\n\r\n /**\r\n * Specifies whether text that exceeds the drop-down list width should be wrapped.\r\n \r\n */\r\n @Input()\r\n get wrapItemText(): boolean {\r\n return this._getOption('wrapItemText');\r\n }\r\n set wrapItemText(value: boolean) {\r\n this._setOption('wrapItemText', value);\r\n }\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component loses focus after the text field&apos;s content was changed using the keyboard.\r\n \r\n \r\n */\r\n @Output() onChange: EventEmitter<ChangeEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed once the drop-down editor is closed.\r\n \r\n \r\n */\r\n @Output() onClosed: EventEmitter<ClosedEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component is rendered and each time the component is repainted.\r\n \r\n \r\n */\r\n @Output() onContentReady: EventEmitter<ContentReadyEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component&apos;s input has been copied.\r\n \r\n \r\n */\r\n @Output() onCopy: EventEmitter<CopyEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when a user adds a custom item. Requires acceptCustomValue to be set to true.\r\n \r\n \r\n */\r\n @Output() onCustomItemCreating: EventEmitter<CustomItemCreatingEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component&apos;s input has been cut.\r\n \r\n \r\n */\r\n @Output() onCut: EventEmitter<CutEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed before the UI component is disposed of.\r\n \r\n \r\n */\r\n @Output() onDisposing: EventEmitter<DisposingEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the Enter key has been pressed while the UI component is focused.\r\n \r\n \r\n */\r\n @Output() onEnterKey: EventEmitter<EnterKeyEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component gets focus.\r\n \r\n \r\n */\r\n @Output() onFocusIn: EventEmitter<FocusInEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component loses focus.\r\n \r\n \r\n */\r\n @Output() onFocusOut: EventEmitter<FocusOutEvent>;\r\n\r\n /**\r\n \r\n * A function used in JavaScript frameworks to save the UI component instance.\r\n \r\n \r\n */\r\n @Output() onInitialized: EventEmitter<InitializedEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed each time the UI component&apos;s input is changed while the UI component is focused.\r\n \r\n \r\n */\r\n @Output() onInput: EventEmitter<InputEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when a list item is clicked or tapped.\r\n \r\n \r\n */\r\n @Output() onItemClick: EventEmitter<ItemClickEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when a user is pressing a key on the keyboard.\r\n \r\n \r\n */\r\n @Output() onKeyDown: EventEmitter<KeyDownEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when a user releases a key on the keyboard.\r\n \r\n \r\n */\r\n @Output() onKeyUp: EventEmitter<KeyUpEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed once the drop-down editor is opened.\r\n \r\n \r\n */\r\n @Output() onOpened: EventEmitter<OpenedEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed after a UI component property is changed.\r\n \r\n \r\n */\r\n @Output() onOptionChanged: EventEmitter<OptionChangedEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when the UI component&apos;s input has been pasted.\r\n \r\n \r\n */\r\n @Output() onPaste: EventEmitter<PasteEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed when a list item is selected or selection is canceled.\r\n \r\n \r\n */\r\n @Output() onSelectionChanged: EventEmitter<SelectionChangedEvent>;\r\n\r\n /**\r\n \r\n * A function that is executed after the UI component&apos;s value is changed.\r\n \r\n \r\n */\r\n @Output() onValueChanged: EventEmitter<ValueChangedEvent>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() acceptCustomValueChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() accessKeyChange: EventEmitter<string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() activeStateEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() buttonsChange: EventEmitter<Array<DropDownPredefinedButton | TextEditorButton>>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() customItemCreateEventChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() dataSourceChange: EventEmitter<Array<any | CollectionWidgetItem> | DataSource | DataSourceOptions | null | Store | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() deferRenderingChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() disabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() displayExprChange: EventEmitter<((item: any) => string) | string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() displayValueChange: EventEmitter<string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() dropDownButtonTemplateChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() dropDownOptionsChange: EventEmitter<dxPopupOptions<any>>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() elementAttrChange: EventEmitter<Record<string, any>>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() fieldTemplateChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() focusStateEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() groupedChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() groupTemplateChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() heightChange: EventEmitter<(() => number | string) | number | string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() hintChange: EventEmitter<string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() hoverStateEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() inputAttrChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() isDirtyChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() isValidChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() itemsChange: EventEmitter<Array<any | CollectionWidgetItem>>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() itemTemplateChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() labelChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() labelModeChange: EventEmitter<LabelMode>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() maxLengthChange: EventEmitter<number | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() minSearchLengthChange: EventEmitter<number>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() nameChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() noDataTextChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() openedChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() openOnFieldClickChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() placeholderChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() readOnlyChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() rtlEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() searchEnabledChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() searchExprChange: EventEmitter<Array<Function | string> | Function | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() searchModeChange: EventEmitter<SimplifiedSearchMode>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() searchTimeoutChange: EventEmitter<number>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() selectedItemChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() showClearButtonChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() showDataBeforeSearchChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() showDropDownButtonChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() showSelectionControlsChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() spellcheckChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() stylingModeChange: EventEmitter<EditorStyle>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() tabIndexChange: EventEmitter<number>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() textChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() useItemTextAsTitleChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() validationErrorChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() validationErrorsChange: EventEmitter<Array<any>>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() validationMessageModeChange: EventEmitter<ValidationMessageMode>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() validationMessagePositionChange: EventEmitter<Mode | Position>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() validationStatusChange: EventEmitter<ValidationStatus>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() valueChange: EventEmitter<any>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() valueChangeEventChange: EventEmitter<string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() valueExprChange: EventEmitter<((item: any) => string | number | boolean) | string>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() visibleChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() widthChange: EventEmitter<(() => number | string) | number | string | undefined>;\r\n\r\n /**\r\n \r\n * This member supports the internal infrastructure and is not intended to be used directly from your code.\r\n \r\n */\r\n @Output() wrapItemTextChange: EventEmitter<boolean>;\r\n\r\n /**\r\n \r\n * \r\n \r\n \r\n */\r\n @Output() onBlur: EventEmitter<any>;\r\n\r\n\r\n @HostListener('valueChange', ['$event']) change(_) { }\r\n @HostListener('onBlur', ['$event']) touched = (_) => {};\r\n\r\n\r\n @ContentChildren(DxiSelectBoxButtonComponent)\r\n get buttonsChildren(): QueryList<DxiSelectBoxButtonComponent> {\r\n return this._getOption('buttons');\r\n }\r\n set buttonsChildren(value) {\r\n this._setChildren('buttons', value, 'DxiSelectBoxButtonComponent');\r\n }\r\n\r\n @ContentChildren(DxiSelectBoxItemComponent)\r\n get itemsChildren(): QueryList<DxiSelectBoxItemComponent> {\r\n return this._getOption('items');\r\n }\r\n set itemsChildren(value) {\r\n this._setChildren('items', value, 'DxiSelectBoxItemComponent');\r\n }\r\n\r\n\r\n @ContentChildren(DxiButtonComponent)\r\n get buttonsLegacyChildren(): QueryList<DxiButtonComponent> {\r\n return this._getOption('buttons');\r\n }\r\n set buttonsLegacyChildren(value) {\r\n this._setChildren('buttons', value, 'DxiButtonComponent');\r\n }\r\n\r\n @ContentChildren(DxiItemComponent)\r\n get itemsLegacyChildren(): QueryList<DxiItemComponent> {\r\n return this._getOption('items');\r\n }\r\n set itemsLegacyChildren(value) {\r\n this._setChildren('items', value, 'DxiItemComponent');\r\n }\r\n\r\n\r\n\r\n\r\n constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost,\r\n private _watcherHelper: WatcherHelper,\r\n private _idh: IterableDifferHelper,\r\n optionHost: NestedOptionHost,\r\n transferState: TransferState,\r\n @Inject(PLATFORM_ID) platformId: any) {\r\n\r\n super(elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId);\r\n\r\n this._createEventEmitters([\r\n { subscribe: 'change', emit: 'onChange' },\r\n { subscribe: 'closed', emit: 'onClosed' },\r\n { subscribe: 'contentReady', emit: 'onContentReady' },\r\n { subscribe: 'copy', emit: 'onCopy' },\r\n { subscribe: 'customItemCreating', emit: 'onCustomItemCreating' },\r\n { subscribe: 'cut', emit: 'onCut' },\r\n { subscribe: 'disposing', emit: 'onDisposing' },\r\n { subscribe: 'enterKey', emit: 'onEnterKey' },\r\n { subscribe: 'focusIn', emit: 'onFocusIn' },\r\n { subscribe: 'focusOut', emit: 'onFocusOut' },\r\n { subscribe: 'initialized', emit: 'onInitialized' },\r\n { subscribe: 'input', emit: 'onInput' },\r\n { subscribe: 'itemClick', emit: 'onItemClick' },\r\n { subscribe: 'keyDown', emit: 'onKeyDown' },\r\n { subscribe: 'keyUp', emit: 'onKeyUp' },\r\n { subscribe: 'opened', emit: 'onOpened' },\r\n { subscribe: 'optionChanged', emit: 'onOptionChanged' },\r\n { subscribe: 'paste', emit: 'onPaste' },\r\n { subscribe: 'selectionChanged', emit: 'onSelectionChanged' },\r\n { subscribe: 'valueChanged', emit: 'onValueChanged' },\r\n { emit: 'acceptCustomValueChange' },\r\n { emit: 'accessKeyChange' },\r\n { emit: 'activeStateEnabledChange' },\r\n { emit: 'buttonsChange' },\r\n { emit: 'customItemCreateEventChange' },\r\n { emit: 'dataSourceChange' },\r\n { emit: 'deferRenderingChange' },\r\n { emit: 'disabledChange' },\r\n { emit: 'displayExprChange' },\r\n { emit: 'displayValueChange' },\r\n { emit: 'dropDownButtonTemplateChange' },\r\n { emit: 'dropDownOptionsChange' },\r\n { emit: 'elementAttrChange' },\r\n { emit: 'fieldTemplateChange' },\r\n { emit: 'focusStateEnabledChange' },\r\n { emit: 'groupedChange' },\r\n { emit: 'groupTemplateChange' },\r\n { emit: 'heightChange' },\r\n { emit: 'hintChange' },\r\n { emit: 'hoverStateEnabledChange' },\r\n { emit: 'inputAttrChange' },\r\n { emit: 'isDirtyChange' },\r\n { emit: 'isValidChange' },\r\n { emit: 'itemsChange' },\r\n { emit: 'itemTemplateChange' },\r\n { emit: 'labelChange' },\r\n { emit: 'labelModeChange' },\r\n { emit: 'maxLengthChange' },\r\n { emit: 'minSearchLengthChange' },\r\n { emit: 'nameChange' },\r\n { emit: 'noDataTextChange' },\r\n { emit: 'openedChange' },\r\n { emit: 'openOnFieldClickChange' },\r\n { emit: 'placeholderChange' },\r\n { emit: 'readOnlyChange' },\r\n { emit: 'rtlEnabledChange'