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

48 lines
1.1 KiB
TypeScript
Raw Normal View History

2022-01-31 13:07:15 +00:00
import {
DeesElement,
2023-09-06 22:18:00 +00:00
type TemplateResult,
2022-01-31 13:07:15 +00:00
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
2023-12-08 17:26:19 +00:00
@customElement('dees-appui-base')
export class DeesAppuiBase extends DeesElement {
public static demo = () => html`<dees-appui-base></dees-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 23:22:55 +00:00
top: 40px;
2023-09-06 16:43:33 +00:00
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-12-08 17:26:19 +00:00
<dees-appui-appbar></dees-appui-appbar>
2021-03-05 16:01:54 +00:00
<div class="maingrid">
2023-12-08 17:26:19 +00:00
<dees-appui-mainmenu></dees-appui-mainmenu>
<dees-appui-mainselector></dees-appui-mainselector>
<dees-appui-maincontent></dees-appui-maincontent>
<dees-appui-activitylog></dees-appui-activitylog>
2021-03-05 16:01:54 +00:00
</div>
`;
}
2022-01-31 13:07:15 +00:00
}