@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
511 lines (510 loc) • 21.3 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Input, Directive } from '@angular/core';
import { ComponentMessages } from '@progress/kendo-angular-l10n';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export class Messages extends ComponentMessages {
/**
* The text for the empty group panel.
*/
groupPanelEmpty;
/**
* The no-records text.
*/
noRecords;
/**
* The label of the pager. By default follows the pattern 'Page navigation, page {currentPage} of {totalPages}'.
* The default label text when the current page is 1, and the total number of pages is 10 will be
* 'Page navigation, page 1 of 10'.
*
* The message consists of several parts - the current page number, the total number of pages, and a localizable string.
* To allow for reordering its parts, the `pagerLabel` input accepts a string with placeholders for the current page
* and total number of pages. The '{currentPage}' and '{totalPages}' placeholders will be replaced
* internally with the respective actual values.
*/
pagerLabel;
/**
* The text of the aria-label attribute applied to the page number input element.
*/
pagerInputLabel;
/**
* The label for the **First page** button.
*/
pagerFirstPage;
/**
* The label for the **Last page** button.
*/
pagerLastPage;
/**
* The label for the **Previous page** button.
*/
pagerPreviousPage;
/**
* The label for the **Next page** button.
*/
pagerNextPage;
/**
* The label displayed before the pager input.
*/
pagerPage;
/**
* The title attribute of the page number input element.
*/
pagerPageNumberInputTitle;
/**
* The label displayed after the page-size selector.
*/
pagerItemsPerPage;
/**
* The label before the total-page number.
*/
pagerOf;
/**
* The label after the total items count in the TreeList pager
*/
pagerItemsTotal;
/**
* The text of the title and aria-label attributes applied to the page chooser in the TreeList Pager.
*/
pagerSelectPage;
/**
* The label of the filter cell or icon.
*/
filter;
/**
* The label of the filter input.
*
* The filter input label consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default label will be **Product Name Filter**.
*
* To allow reordering the column name and the localizable part, the `filterInputLabel` accepts a string with a
* placeholder for the column name, for example, **filter for {columnName}**. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting label will be rendered as **filter for Product Name**.
* [See example](slug:globalization_grid#toc-custom-messages).
*/
filterInputLabel;
/**
* The label of the filter cell operators DropDownList.
*
* The label consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default label will be **Filter cell operators for Product Name**.
*
* To allow reordering the column name and the localizable part, the `filterCellOperatorLabel` accepts a string with a
* placeholder for the column name, for example, **Filter operators for {columnName}**. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting label will be rendered as **Filter operators for Product Name**.
* [See example](slug:globalization_treelist#toc-custom-messages).
*/
filterCellOperatorLabel;
/**
* The label of the boolean filter cell DropDownList.
*
* The label consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default label will be **Boolean filter cell for Product Name**.
*
* To allow reordering the column name and the localizable part, the `booleanFilterCellLabel` accepts a string with a
* placeholder for the column name, for example, **Boolean Filter operator for {columnName}**. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting label will be rendered as **Boolean Filter operator for Product Name**.
* [See example](slug:globalization_treelist#toc-custom-messages).
*/
booleanFilterCellLabel;
/**
* The text of the `Equal` (**Is equal to**) filter operator.
*/
filterEqOperator;
/**
* The text of the `NotEqual` (**Is not equal to**) filter operator.
*/
filterNotEqOperator;
/**
* The text of the `IsNull` (**Is null**) filter operator.
*/
filterIsNullOperator;
/**
* The text of the `IsNotNull` (**Is not null**) filter operator.
*/
filterIsNotNullOperator;
/**
* The text of the `IsEmpty` (**Is empty**) filter operator.
*/
filterIsEmptyOperator;
/**
* The text of the `IsNotEmpty` (**Is not empty**) filter operator.
*/
filterIsNotEmptyOperator;
/**
* The text of the `StartsWith` (**Starts with**) filter operator.
*/
filterStartsWithOperator;
/**
* The text of the `Contains` (**Contains**) filter operator.
*/
filterContainsOperator;
/**
* The text of the `DoesNotContain` (**Does not contain**) filter operator.
*/
filterNotContainsOperator;
/**
* The text of the `EndsWith` (**Ends with**) string filter operator.
*/
filterEndsWithOperator;
/**
* The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric filter operator.
*/
filterGteOperator;
/**
* The text of the `Greater` (**Is greater than**) numeric filter operator.
*/
filterGtOperator;
/**
* The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric filter operator.
*/
filterLteOperator;
/**
* The text of the `Less` (**Is less than**) numeric filter operator.
*/
filterLtOperator;
/**
* The text of the `IsTrue` Boolean filter option.
*/
filterIsTrue;
/**
* The text of the `IsFalse` Boolean filter option.
*/
filterIsFalse;
/**
* The text of the `(All)` option for Boolean filter.
*/
filterBooleanAll;
/**
* The text of the `AfterOrEqualTo` (**Is after or equal to**) date filter operator.
*/
filterAfterOrEqualOperator;
/**
* The text of the `After` (**Is after**) date filter operator.
*/
filterAfterOperator;
/**
* The text of the `Before` (**Is before**) date filter operator.
*/
filterBeforeOperator;
/**
* The text of the `BeforeOrEqualTo` (**Is before or equal to**) date filter operator.
*/
filterBeforeOrEqualOperator;
/**
* The text of the **Filter** button.
*/
filterFilterButton;
/**
* The text of the **Clear filter** button.
*/
filterClearButton;
/**
* The text of the `And` filter logic.
*/
filterAndLogic;
/**
* The text of the `Or` filter logic.
*/
filterOrLogic;
/**
* The text of the Today button of the Date filter.
*/
filterDateToday;
/**
* The title of the Toggle button of the Date filter.
*/
filterDateToggle;
/**
* The title of the Decrement button of the Numeric filter.
*/
filterNumericDecrement;
/**
* The title of the Increment button of the Numeric filter.
*/
filterNumericIncrement;
/**
* The label of the filter menu operators DropDownList.
*
* The label consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default label will be **Product Name Filter Menu Operators**.
*
* To allow reordering the column name and the localizable part, the `filterMenuOperatorsDropDownLabel` accepts a string with a
* placeholder for the column name, for example, **filter operators for {columnName**'. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting label will be rendered as **filter operators for Product Name**.
* [See example](slug:globalization_treelist#toc-custom-messages).
*/
filterMenuOperatorsDropDownLabel;
/**
* The label of the filter menu logic DropDownList.
*
* The label consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default label will be **Product Name Filter Menu Logic**.
*
* To allow reordering the column name and the localizable part, the `filterMenuLogicDropDownLabel` accepts a string with a
* placeholder for the column name, for example, **filter logic for {columnName}**. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting label will be rendered as **filter logic for Product Name**.
* [See example](slug:globalization_treelist#toc-custom-messages).
*/
filterMenuLogicDropDownLabel;
/**
* The loading text.
*
* The `loading` property is part of the accessibility support of the TreeList.
* Its value is detectable by screen readers and is not otherwise visible.
*/
loading;
/**
* The title of the column menu icon.
*
* The title consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default title will be **Product Name Column Menu**.
*
* To allow reordering the column name and the localizable part, the `columnMenu` accepts a string with a
* placeholder for the column name, for example, **menu for {columnName}**. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting title will be rendered as **menu for Product Name**.
* [See example](slug:globalization_grid#toc-custom-messages).
*/
columnMenu;
/**
* The text that is displayed in the column menu for the column items.
*/
columns;
/**
* The text that is displayed in the column menu for the lock item.
*/
lock;
/**
* The text that is displayed in the column menu for the unlock item.
*/
unlock;
/**
* The label of the sort icon.
*/
sortable;
/**
* The text that is displayed in the column menu for the ascending sort item.
*/
sortAscending;
/**
* The text that is displayed in the column menu for the descending sort item.
*/
sortDescending;
/**
* The status announcement when a column is sorted in an ascending order.
* Deprecated - the announcement now relies entirely on the `aria-sort` attribute.
* @hidden
*/
sortedAscending;
/**
* The status announcement when a column is sorted in a descending order.
* Deprecated - the announcement now relies entirely on the `aria-sort` attribute.
* @hidden
*/
sortedDescending;
/**
* The status announcement when a column is no longer sorted.
*/
sortedDefault;
/**
* The text that is displayed in the column menu or in the column chooser item
* for the **Apply** button of the columns.
*/
columnsApply;
/**
* The text that is displayed in the column menu or in the column chooser item
* for the **Reset** button of the columns.
*/
columnsReset;
/**
* The label of the TreeList top toolbar.
*/
topToolbarLabel;
/**
* The label of the TreeList bottom toolbar.
*/
bottomToolbarLabel;
/**
* The label for the TreeList drag row handle.
*/
dragRowHandleLabel;
/**
* The label for the select row checkbox
*/
selectRowCheckboxLabel;
/**
* The label for the select all rows checkbox
*/
selectAllRowsCheckboxLabel;
/**
* The text shown in the column menu for the autosize this column item.
*/
autosizeThisColumn;
/**
* The text shown in the column menu for the autosize all columns item.
*/
autosizeAllColumns;
/**
* The title of the filter menu icon.
*
* The title consists of a two-part message - the name of the column and a localizable string.
* For a column named **Product Name**, the default title will be **Product Name Filter Menu**.
*
* To allow reordering the column name and the localizable part, the `filterMenuTitle` accepts a string with a
* placeholder for the column name, for example, **filter for {columnName}**. The `{columnName}` placeholder will be replaced
* internally with the current column name, and the resulting title will be rendered as **filter for Product Name**.
* [See example](slug:globalization_treelist#toc-custom-messages).
*/
filterMenuTitle;
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerInputLabel: "pagerInputLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItemsTotal: "pagerItemsTotal", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", loading: "loading", columnMenu: "columnMenu", columns: "columns", lock: "lock", unlock: "unlock", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", dragRowHandleLabel: "dragRowHandleLabel", selectRowCheckboxLabel: "selectRowCheckboxLabel", selectAllRowsCheckboxLabel: "selectAllRowsCheckboxLabel", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", filterMenuTitle: "filterMenuTitle" }, usesInheritance: true, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
type: Directive,
args: [{}]
}], propDecorators: { groupPanelEmpty: [{
type: Input
}], noRecords: [{
type: Input
}], pagerLabel: [{
type: Input
}], pagerInputLabel: [{
type: Input
}], pagerFirstPage: [{
type: Input
}], pagerLastPage: [{
type: Input
}], pagerPreviousPage: [{
type: Input
}], pagerNextPage: [{
type: Input
}], pagerPage: [{
type: Input
}], pagerPageNumberInputTitle: [{
type: Input
}], pagerItemsPerPage: [{
type: Input
}], pagerOf: [{
type: Input
}], pagerItemsTotal: [{
type: Input
}], pagerSelectPage: [{
type: Input
}], filter: [{
type: Input
}], filterInputLabel: [{
type: Input
}], filterCellOperatorLabel: [{
type: Input
}], booleanFilterCellLabel: [{
type: Input
}], filterEqOperator: [{
type: Input
}], filterNotEqOperator: [{
type: Input
}], filterIsNullOperator: [{
type: Input
}], filterIsNotNullOperator: [{
type: Input
}], filterIsEmptyOperator: [{
type: Input
}], filterIsNotEmptyOperator: [{
type: Input
}], filterStartsWithOperator: [{
type: Input
}], filterContainsOperator: [{
type: Input
}], filterNotContainsOperator: [{
type: Input
}], filterEndsWithOperator: [{
type: Input
}], filterGteOperator: [{
type: Input
}], filterGtOperator: [{
type: Input
}], filterLteOperator: [{
type: Input
}], filterLtOperator: [{
type: Input
}], filterIsTrue: [{
type: Input
}], filterIsFalse: [{
type: Input
}], filterBooleanAll: [{
type: Input
}], filterAfterOrEqualOperator: [{
type: Input
}], filterAfterOperator: [{
type: Input
}], filterBeforeOperator: [{
type: Input
}], filterBeforeOrEqualOperator: [{
type: Input
}], filterFilterButton: [{
type: Input
}], filterClearButton: [{
type: Input
}], filterAndLogic: [{
type: Input
}], filterOrLogic: [{
type: Input
}], filterDateToday: [{
type: Input
}], filterDateToggle: [{
type: Input
}], filterNumericDecrement: [{
type: Input
}], filterNumericIncrement: [{
type: Input
}], filterMenuOperatorsDropDownLabel: [{
type: Input
}], filterMenuLogicDropDownLabel: [{
type: Input
}], loading: [{
type: Input
}], columnMenu: [{
type: Input
}], columns: [{
type: Input
}], lock: [{
type: Input
}], unlock: [{
type: Input
}], sortable: [{
type: Input
}], sortAscending: [{
type: Input
}], sortDescending: [{
type: Input
}], sortedAscending: [{
type: Input
}], sortedDescending: [{
type: Input
}], sortedDefault: [{
type: Input
}], columnsApply: [{
type: Input
}], columnsReset: [{
type: Input
}], topToolbarLabel: [{
type: Input
}], bottomToolbarLabel: [{
type: Input
}], dragRowHandleLabel: [{
type: Input
}], selectRowCheckboxLabel: [{
type: Input
}], selectAllRowsCheckboxLabel: [{
type: Input
}], autosizeThisColumn: [{
type: Input
}], autosizeAllColumns: [{
type: Input
}], filterMenuTitle: [{
type: Input
}] } });