* Represents a dynamic date range option used by the `ui5-dynamic-date-range` component. * * Represents a dynamic date range option used for handling dynamic date ranges. * This interface defines the structure and behavior required for implementing * dynamic date range options, including formatt
| 71 | * @since 2.11.0 |
| 72 | */ |
| 73 | interface IDynamicDateRangeOption { |
| 74 | icon: string; |
| 75 | operator: string; |
| 76 | text: string; |
| 77 | format: (value: DynamicDateRangeValue) => string; |
| 78 | parse: (value: string) => DynamicDateRangeValue | undefined; |
| 79 | toDates: (value: DynamicDateRangeValue) => Array<Date>; |
| 80 | handleSelectionChange?: (event: CustomEvent, value: DynamicDateRangeValue | undefined) => DynamicDateRangeValue | undefined; |
| 81 | template?: JsxTemplate; |
| 82 | isValidString: (value: string) => boolean; |
| 83 | resetState?: () => void; |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * @class |
nothing calls this directly
no outgoing calls
no test coverage detected