mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
26 lines
488 B
TypeScript
26 lines
488 B
TypeScript
|
import shoelace from "../../api/js/etemplate/Styles/shoelace";
|
||
|
import {css} from "@lion/core";
|
||
|
import {Et2PortletFavorite} from "../../home/js/Et2PortletFavorite";
|
||
|
|
||
|
/**
|
||
|
* Home portlet to show a note
|
||
|
*/
|
||
|
export class Et2PortletCalendar extends Et2PortletFavorite
|
||
|
{
|
||
|
static get styles()
|
||
|
{
|
||
|
return [
|
||
|
...shoelace,
|
||
|
...(super.styles || []),
|
||
|
css`
|
||
|
|
||
|
`
|
||
|
]
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
if(!customElements.get("et2-portlet-calendar"))
|
||
|
{
|
||
|
customElements.define("et2-portlet-calendar", Et2PortletCalendar);
|
||
|
}
|