-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(common): add
compoundOperatorAltTexts
grid option (#1181)
* feat(common): add `compoundOperatorAlternateTexts` grid option - this new grid option `compoundOperatorAlternateTexts` will allow the user to override any or all texts shown in a Compound Filter `operator` select dropdown * chore: rename grid option to `compoundOperatorAlternateTexts`
- Loading branch information
1 parent
aff51fe
commit dc0aa5e
Showing
7 changed files
with
156 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 11 additions & 5 deletions
16
packages/common/src/interfaces/operatorDetail.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
import type { OperatorString, OperatorType } from '../enums/index'; | ||
import type { OperatorString } from '../enums/index'; | ||
|
||
/** Operator detail alternate texts */ | ||
export interface OperatorDetailAlt { | ||
operatorAlt?: string; | ||
descAlt?: string; | ||
} | ||
|
||
/** Operator with its Description */ | ||
export interface OperatorDetail { | ||
operator: OperatorString | OperatorType; | ||
description: string; | ||
} | ||
export interface OperatorDetail extends OperatorDetailAlt { | ||
operator: OperatorString; | ||
desc: string; | ||
} |