@progress/kendo-angular-pivotgrid
Version:
PivotGrid package for Angular
285 lines (284 loc) • 12.2 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 { Directive, Input } from '@angular/core';
import { ComponentMessages } from '@progress/kendo-angular-l10n';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export class PivotGridMessages extends ComponentMessages {
/**
* The text content of the filter item in the column and row fields menu.
*/
fieldMenuFilterItemLabel;
/**
* The text content of the sort ascending item in the column and row fields menu.
*/
fieldMenuSortAscendingItemLabel;
/**
* The text content of the sort descending item in the column and row fields menu.
*/
fieldMenuSortDescendingItemLabel;
/**
* The label of the filter input.
*
* The filter input label consists of a two-part message - the name(s) of the fields and a localizable string.
* For fields named '[Geography][City]', the default label will be 'Geography City Filter'.
*
* To allow reordering the field name(s) and the localizable part, the filterInputLabel accepts a string with a
* placeholder for the fields - e.g. 'filter for {fields}'. The '{fields}' placeholder will be replaced
* internally with the current field(s) name(s), and the resulting label will be rendered as 'filter for Geography City'.
*
* @example
*
* ```ts-no-run
* <kendo-pivotgrid>
* <kendo-pivotgrid-messages
* filterInputLabel="filter for {fields}"
* >
* </kendo-pivotgrid-messages>
* </kendo-pivotgrid>
* ```
*/
filterInputLabel;
/**
* The label of the filter operators DropDownList.
*
* The label consists of a two-part message - the name(s) of the fields and a localizable string.
* For fields named '[Geography][City]', the default label will be 'Geography City Filter Operators'.
*
* To allow reordering the field name(s) and the localizable part, the filterMenuOperatorsDropDownLabel accepts a string with a
* placeholder for the fields - e.g. 'filter operators for {fields}'. The '{fields}' placeholder will be replaced
* internally with the current field(s) name(s), and the resulting label will be rendered as 'filter operators for Geography City'.
*
* @example
*
* ```ts-no-run
* <kendo-pivotgrid>
* <kendo-pivotgrid-messages
* filterMenuOperatorsDropDownLabel="filter operators for {fields}"
* >
* </kendo-pivotgrid-messages>
* </kendo-pivotgrid>
* ```
*/
filterOperatorsDropDownLabel;
/**
* 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 **Filter** button.
*/
filterFilterButton;
/**
* The text of the **Clear filter** button.
*/
filterClearButton;
/**
* The loading text.
*
* > The `loading` property is part of the accessibility support of the PivotGrid.
* Its value is detectable by screen readers and is not otherwise visible.
*/
loading;
/**
* The value of the aria-label attribute placed on the PivotGrid focusable empty cell element.
*/
emptyCellLabel;
/**
* The text content of the button that opens and closes the PivotGrid configurator.
*/
configuratorButtonText;
/**
* The text content of the PivotGrid configurator title element.
*/
configuratorHeaderText;
/**
* The text content of the PivotGrid configurator fields section title element.
*/
configuratorFieldsText;
/**
* The text content of the PivotGrid configurator columns section title element.
*/
configuratorColumnsText;
/**
* The text content of the PivotGrid configurator rows section title element.
*/
configuratorRowsText;
/**
* The text content of the PivotGrid configurator values section title element.
*/
configuratorValuesText;
/**
* The text content of the PivotGrid configurator Cancel button.
*/
configuratorCancelButtonText;
/**
* The text content of the PivotGrid configurator Apply button.
*/
configuratorApplyButtonText;
/**
* The text content of the PivotGrid configurator empty rows container.
*/
configuratorEmptyRowsText;
/**
* The text content of the PivotGrid configurator empty columns container.
*/
configuratorEmptyColumnsText;
/**
* The text content of the PivotGrid configurator empty measures container.
*/
configuratorEmptyMeasuresText;
/**
* The text content of the Move to Columns item in the column and row fields menu.
*/
fieldMenuMoveToColumnsItem;
/**
* The text content of the Move to Rows item in the column and row fields menu.
*/
fieldMenuMoveToRowsItem;
/**
* The text content of the Move as previous item in the column, row, and value fields menu.
*/
fieldMenuMovePreviousItem;
/**
* The text content of the Move as next item in the column, row, and value fields menu.
*/
fieldMenuMoveNextItem;
/**
* The title of the chip menu icon.
*
* The title consists of a two-part message - the name of the chip and a localizable string.
* For a field named 'Product', the default title will be 'Product Field Menu'.
*
* To allow reordering the field name and the localizable part, the chipMenu accepts a string with a
* placeholder for the chip name - e.g. 'chip for {fieldName}'. The '{fieldName}' placeholder will be replaced
* internally with the current chip name, and the resulting title will be rendered as 'Product Field Menu'.
*
* @example
*
* ```ts-no-run
* <kendo-pivotgrid>
* <kendo-pivotgrid-messages
* chipMenuIconTitle="'{fieldName} Field Menu'"
* >
* </kendo-pivotgrid-messages>
* </kendo-pivotgrid>
* ```
*/
chipMenuIconTitle;
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PivotGridMessages, inputs: { fieldMenuFilterItemLabel: "fieldMenuFilterItemLabel", fieldMenuSortAscendingItemLabel: "fieldMenuSortAscendingItemLabel", fieldMenuSortDescendingItemLabel: "fieldMenuSortDescendingItemLabel", filterInputLabel: "filterInputLabel", filterOperatorsDropDownLabel: "filterOperatorsDropDownLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", loading: "loading", emptyCellLabel: "emptyCellLabel", configuratorButtonText: "configuratorButtonText", configuratorHeaderText: "configuratorHeaderText", configuratorFieldsText: "configuratorFieldsText", configuratorColumnsText: "configuratorColumnsText", configuratorRowsText: "configuratorRowsText", configuratorValuesText: "configuratorValuesText", configuratorCancelButtonText: "configuratorCancelButtonText", configuratorApplyButtonText: "configuratorApplyButtonText", configuratorEmptyRowsText: "configuratorEmptyRowsText", configuratorEmptyColumnsText: "configuratorEmptyColumnsText", configuratorEmptyMeasuresText: "configuratorEmptyMeasuresText", fieldMenuMoveToColumnsItem: "fieldMenuMoveToColumnsItem", fieldMenuMoveToRowsItem: "fieldMenuMoveToRowsItem", fieldMenuMovePreviousItem: "fieldMenuMovePreviousItem", fieldMenuMoveNextItem: "fieldMenuMoveNextItem", chipMenuIconTitle: "chipMenuIconTitle" }, usesInheritance: true, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PivotGridMessages, decorators: [{
type: Directive
}], propDecorators: { fieldMenuFilterItemLabel: [{
type: Input
}], fieldMenuSortAscendingItemLabel: [{
type: Input
}], fieldMenuSortDescendingItemLabel: [{
type: Input
}], filterInputLabel: [{
type: Input
}], filterOperatorsDropDownLabel: [{
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
}], filterFilterButton: [{
type: Input
}], filterClearButton: [{
type: Input
}], loading: [{
type: Input
}], emptyCellLabel: [{
type: Input
}], configuratorButtonText: [{
type: Input
}], configuratorHeaderText: [{
type: Input
}], configuratorFieldsText: [{
type: Input
}], configuratorColumnsText: [{
type: Input
}], configuratorRowsText: [{
type: Input
}], configuratorValuesText: [{
type: Input
}], configuratorCancelButtonText: [{
type: Input
}], configuratorApplyButtonText: [{
type: Input
}], configuratorEmptyRowsText: [{
type: Input
}], configuratorEmptyColumnsText: [{
type: Input
}], configuratorEmptyMeasuresText: [{
type: Input
}], fieldMenuMoveToColumnsItem: [{
type: Input
}], fieldMenuMoveToRowsItem: [{
type: Input
}], fieldMenuMovePreviousItem: [{
type: Input
}], fieldMenuMoveNextItem: [{
type: Input
}], chipMenuIconTitle: [{
type: Input
}] } });