UNPKG

@progress/kendo-angular-dropdowns

Version:

A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree

78 lines (77 loc) 3.4 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Directive, Input } from '@angular/core'; import { ComponentMessages } from '@progress/kendo-angular-l10n'; import * as i0 from "@angular/core"; /** * @hidden */ export class Messages extends ComponentMessages { /** * The text displayed in the popup when there are no items. */ noDataText; /** * The title of the clear button. */ clearTitle; /** * The text displayed for the check-all checkbox. */ checkAllText; /** * The text set as aria-label on the select button. */ selectButtonText; /** * The text set as aria-label on the list filter input. */ filterInputLabel; /** * The text set as aria-label on the popup containing the list of options when its role is `region`. */ popupLabel; /** * The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode. */ adaptiveCloseButtonTitle; /** * The text for the input's placeholder when filtering is enabled. */ filterInputPlaceholder; /** * The text displayed when the user types a custom value that is not in the list of options. * * The text includes a localizable string and the custom value. * For example, when adding a custom value **Test**, the default text is **Use "Test"**. * * You can reorder the custom value and the localizable part by using a placeholder in `useCustomValueText`. * Use `{customValue}` to insert the value, for example, **Add: {customValue}**. */ useCustomValueText; static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText", filterInputLabel: "filterInputLabel", popupLabel: "popupLabel", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", filterInputPlaceholder: "filterInputPlaceholder", useCustomValueText: "useCustomValueText" }, usesInheritance: true, ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{ type: Directive }], propDecorators: { noDataText: [{ type: Input }], clearTitle: [{ type: Input }], checkAllText: [{ type: Input }], selectButtonText: [{ type: Input }], filterInputLabel: [{ type: Input }], popupLabel: [{ type: Input }], adaptiveCloseButtonTitle: [{ type: Input }], filterInputPlaceholder: [{ type: Input }], useCustomValueText: [{ type: Input }] } });