import type DynamicDateRange from "./DynamicDateRange.js"; import ResponsivePopover from "./ResponsivePopover.js"; import List from "./List.js"; import ListItemStandard from "./ListItemStandard.js"; import Button from "./Button.js"; import Title from "./Title.js"; import slimArrowLeft from "@ui5/webcomponents-icons/dist/slim-arrow-left.js"; import ListItemType from "./types/ListItemType.js"; export default function DynamicDateRangePopoverTemplate(this: DynamicDateRange) { return ( {this._hasCurrentOptionTemplate &&
{this._currentOption?.text}
} {!this._hasCurrentOptionTemplate ?
{this.optionsObjects.map(option => ( {option.text} ))}
:
{this._currentOption?.template?.call(this)}
{this.currentValueText}
} {this._hasCurrentOptionTemplate &&
}
); }