// Copyright (C) 2026 Danilo M. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. .pragma library // deck-it's [modules] split for the pages: the ones with a tab of their own, // and the rest, which only feed the Dashboard. A module deck-it adds later // lands with the Dashboard ones until it is listed here. var TABS = ["windows", "obs", "k1c", "assistant"]; var NAMES = { stats: "System", music: "Music", llm: "LLM usage", tablet: "Tablet", sbbuilder: "Build VM", actions: "Action icons", windows: "Windows", obs: "OBS", k1c: "K1C printer", assistant: "Assistant" }; function tabs(all) { return all.filter(m => TABS.includes(m)); } function parts(all) { return all.filter(m => !TABS.includes(m)); } function name(m) { return NAMES[m] ?? m; }