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

46 lines
941 B
TypeScript
Raw Normal View History

2022-01-31 13:07:15 +00:00
import {
DeesElement,
TemplateResult,
property,
customElement,
html,
css,
cssManager,
} from '@designestate/dees-element';
2021-03-05 16:01:54 +00:00
@customElement('deap-base')
export class DeapBase extends DeesElement {
public static demo = () => html`<deap-base></deap-base>`;
2022-01-31 13:07:15 +00:00
public static styles = [
cssManager.defaultStyles,
css`
:host {
position: absolute;
height: 100%;
width: 100%;
}
.maingrid {
position: absolute;
height: 100%;
width: 100%;
display: grid;
grid-template-columns: 80px 240px auto 210px;
}
`,
];
2021-03-05 16:01:54 +00:00
// INSTANCE
public render(): TemplateResult {
return html`
2022-01-31 13:07:15 +00:00
<style></style>
2021-03-05 16:01:54 +00:00
<div class="maingrid">
<deap-mainmenu></deap-mainmenu>
<deap-mainselector></deap-mainselector>
<deap-maincontent></deap-maincontent>
<deap-activitylog></deap-activitylog>
</div>
`;
}
2022-01-31 13:07:15 +00:00
}