Sha256: f9c9c080c07c830cb57d53ffd5e803b3a2529cae435a4dfe48aa320c8c1a0a5e
Contents?: true
Size: 848 Bytes
Versions: 68
Compression:
Stored size: 848 Bytes
Contents
import initFilterStore from "./filter"; import { prefixString } from "../helpers/string"; export default function initWorkbenchStore(Alpine, { prefix }) { return { filter: initFilterStore(Alpine, prefixString("workbench-filter", prefix)), nav: { open: Alpine.$persist([]).as(prefixString("workbench-nav-open", prefix)), location: { pathname: null, }, }, horizontalSplitLayout: { split: Alpine.$persist({ direction: "horizontal", sizes: ["50%", "50%"], }).as(prefixString("workbench-horizontal-split", prefix)), }, verticalSplitLayout: { split: Alpine.$persist({ direction: "vertical", sizes: ["40%", "30%", "30%"], }).as(prefixString("workbench-vertical-split", prefix)), }, tabbedPanels: { activeTab: "tab-1", }, }; }
Version data entries
68 entries across 68 versions & 1 rubygems