Changeset - 9cbc93f80b05
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 8 months ago 2024-05-18 00:41:22
drewp@bigasterisk.com
cleanup
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
web/TiledHome.ts
Show inline comments
 
import debug from "debug";
 
import * as FlexLayout from "flexlayout-react";
 
import { LitElement, html } from "lit";
 
import { customElement } from "lit/decorators.js";
 
import * as React from "react";
 
import { createRoot } from "react-dom/client";
 
import { getTopGraph } from "./RdfdbSyncedGraph";
 
import { SyncedGraph } from "./SyncedGraph";
 
import { Patch } from "./patch";
 
import { NamedNode } from "n3";
 
export { RdfdbSyncedGraph } from "./RdfdbSyncedGraph";
 
export { Light9CollectorUi } from "./collector/Light9CollectorUi";
 
export { Light9FadeUi } from "./fade/Light9FadeUi";
 
export { Light9DeviceSettings } from "./live/Light9DeviceSettings";
 
const log = debug("home");
 

	
 
const config: FlexLayout.IJsonModel = {
 
  global: {
 
    tabEnableRename: false,
 
  },
 
  borders: [],
 
  layout: {
 
    type: "row",
 
    weight: 100,
 
    children: [
 
      {
 
        type: "tabset",
 
        weight: 50,
 
        children: [{ type: "tab", name: "devsettings", component: "light9-device-settings" }],
 
      },
 
      {
 
        type: "tabset",
 
        weight: 50,
 
        children: [{ type: "tab", name: "collector", component: "light9-collector-ui" }],
 
      },
 
    ],
 
  },
 
};
 

	
 
// see https://github.com/lit/lit/tree/main/packages/labs/react
 

	
 
// Store flexlayout panels in per-browser localstorage.
 
class PersistentLayout {
 
  key = "light9.home.layout";
 
  defaultLayout: FlexLayout.IJsonRowNode = {
 
    type: "row",
 
    children: [
 
      {
 
        type: "tabset",
 
        weight: 50,
 
        children: [{ type: "tab", name: "devsettings", component: "light9-device-settings" }],
 
      },
 
      {
 
        type: "tabset",
 
        weight: 50,
 
        children: [{ type: "tab", name: "devsettings", component: "light9-device-settings" }],
 
      },
 
    ],
0 comments (0 inline, 0 general)