dees-appui-catalog/ts_web/elements/lele-appui-base.ts

48 lines
1.1 KiB
TypeScript
Raw Normal View History

2022-01-31 13:07:15 +00:00
import {
DeesElement,
TemplateResult,
property,
customElement,
html,
css,
cssManager,
2023-09-06 16:43:33 +00:00
} from '@design.estate/dees-element';
2021-03-05 16:01:54 +00:00
2022-11-18 00:30:36 +00:00
@customElement('lele-appui-base')
2021-03-05 16:01:54 +00:00
export class DeapBase extends DeesElement {
2022-11-18 00:30:36 +00:00
public static demo = () => html`<lele-appui-base></lele-appui-base>`;
2021-03-05 16:01:54 +00:00
2022-01-31 13:07:15 +00:00
public static styles = [
cssManager.defaultStyles,
css`
:host {
position: absolute;
height: 100%;
width: 100%;
}
.maingrid {
position: absolute;
2023-09-06 16:43:33 +00:00
top: 32px;
height: calc(100% - 40px);
2022-01-31 13:07:15 +00:00
width: 100%;
display: grid;
2023-09-06 16:43:33 +00:00
grid-template-columns: 60px 240px auto 240px;
2022-01-31 13:07:15 +00:00
}
`,
];
2021-03-05 16:01:54 +00:00
// INSTANCE
public render(): TemplateResult {
return html`
2022-01-31 13:07:15 +00:00
<style></style>
2023-09-06 16:43:33 +00:00
<lele-appui-appbar></lele-appui-appbar>
2021-03-05 16:01:54 +00:00
<div class="maingrid">
2022-11-18 00:30:36 +00:00
<lele-appui-mainmenu></lele-appui-mainmenu>
<lele-appui-mainselector></lele-appui-mainselector>
<lele-appui-maincontent></lele-appui-maincontent>
<lele-appui-activitylog></lele-appui-activitylog>
2021-03-05 16:01:54 +00:00
</div>
`;
}
2022-01-31 13:07:15 +00:00
}