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
|
|
|
|
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 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-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
|
|
|
}
|