DefaultStrings

Default English strings for the table UI.

Functions

Link copied to clipboard

A condition read as part of a group's description, from its column title and its chip text, e.g. "Qty equals 5". The default lowers the first letter of text, which starts with the constraint.

Link copied to clipboard

A group read as one sentence for accessibility, from the already described parts of its children: "Any of: A, or B" for TableFilterNode.Operator.OR, "All of: A and B" for TableFilterNode.Operator.AND, led by "Not " when negated.

Link copied to clipboard

A group chip's operator badge with its number of active children, e.g. "Any 3".

Link copied to clipboard
open fun formatDate(date: LocalDate): String

Date shown in date filter fields and active-filter chips. Defaults to defaultFormatDate.

Link copied to clipboard

Number shown in active-filter chips. Defaults to defaultFormatNumber.

Link copied to clipboard
open override fun get(key: UiString): String

One exhaustive arm per UiString key, each a string literal. The arms do not interact, so the complexity count is the number of strings the table has rather than branching a reader has to follow — CyclomaticComplexMethod is suppressed rather than fixed. Splitting the table by category would only hide which keys are covered from the compiler.

Link copied to clipboard

Accessibility label of the × that removes a group, e.g. "Remove group Type, Qty, Vip".

Link copied to clipboard

Accessibility label of the × that removes one condition, e.g. "Remove filter Qty".

Link copied to clipboard

An unresolved condition read as part of a group's description, e.g. "Unknown field: legacyCode".