2024-06-04 22:05:44 +02:00
|
|
|
// Copyright 2024, Command Line Inc.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-06-12 02:42:10 +02:00
|
|
|
import { TileLayout } from "./lib/TileLayout";
|
2024-08-15 03:40:41 +02:00
|
|
|
import { LayoutModel } from "./lib/layoutModel";
|
|
|
|
import {
|
|
|
|
deleteLayoutModelForTab,
|
2024-08-26 20:56:00 +02:00
|
|
|
getLayoutModelForActiveTab,
|
2024-08-15 03:40:41 +02:00
|
|
|
getLayoutModelForTab,
|
|
|
|
getLayoutModelForTabById,
|
2024-08-27 22:41:36 +02:00
|
|
|
useDebouncedNodeInnerRect,
|
2024-08-15 03:40:41 +02:00
|
|
|
useLayoutModel,
|
|
|
|
} from "./lib/layoutModelHooks";
|
2024-06-12 02:42:10 +02:00
|
|
|
import { newLayoutNode } from "./lib/layoutNode";
|
2024-06-04 22:05:44 +02:00
|
|
|
import type {
|
2024-08-15 03:40:41 +02:00
|
|
|
ContentRenderer,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutNode,
|
2024-08-15 03:40:41 +02:00
|
|
|
LayoutTreeAction,
|
|
|
|
LayoutTreeClearPendingAction,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeCommitPendingAction,
|
|
|
|
LayoutTreeComputeMoveNodeAction,
|
|
|
|
LayoutTreeDeleteNodeAction,
|
2024-08-26 20:56:00 +02:00
|
|
|
LayoutTreeFocusNodeAction,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeInsertNodeAction,
|
2024-08-15 03:40:41 +02:00
|
|
|
LayoutTreeInsertNodeAtIndexAction,
|
|
|
|
LayoutTreeMagnifyNodeToggleAction,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeMoveNodeAction,
|
2024-08-15 03:40:41 +02:00
|
|
|
LayoutTreeResizeNodeAction,
|
|
|
|
LayoutTreeSetPendingAction,
|
|
|
|
LayoutTreeStateSetter,
|
|
|
|
LayoutTreeSwapNodeAction,
|
2024-08-26 20:56:00 +02:00
|
|
|
NodeModel,
|
|
|
|
PreviewRenderer,
|
2024-08-15 03:40:41 +02:00
|
|
|
} from "./lib/types";
|
2024-08-22 02:43:11 +02:00
|
|
|
import { DropDirection, LayoutTreeActionType, NavigateDirection } from "./lib/types";
|
2024-06-04 22:05:44 +02:00
|
|
|
|
|
|
|
export {
|
2024-08-15 03:40:41 +02:00
|
|
|
deleteLayoutModelForTab,
|
2024-08-22 02:43:11 +02:00
|
|
|
DropDirection,
|
2024-08-26 20:56:00 +02:00
|
|
|
getLayoutModelForActiveTab,
|
2024-08-15 03:40:41 +02:00
|
|
|
getLayoutModelForTab,
|
|
|
|
getLayoutModelForTabById,
|
|
|
|
LayoutModel,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeActionType,
|
2024-08-22 02:43:11 +02:00
|
|
|
NavigateDirection,
|
2024-06-04 22:05:44 +02:00
|
|
|
newLayoutNode,
|
2024-08-15 03:40:41 +02:00
|
|
|
TileLayout,
|
2024-08-27 22:41:36 +02:00
|
|
|
useDebouncedNodeInnerRect,
|
2024-08-15 03:40:41 +02:00
|
|
|
useLayoutModel,
|
2024-06-04 22:05:44 +02:00
|
|
|
};
|
|
|
|
export type {
|
2024-08-15 03:40:41 +02:00
|
|
|
ContentRenderer,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutNode,
|
2024-06-25 04:04:08 +02:00
|
|
|
LayoutTreeAction,
|
2024-08-15 03:40:41 +02:00
|
|
|
LayoutTreeClearPendingAction,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeCommitPendingAction,
|
|
|
|
LayoutTreeComputeMoveNodeAction,
|
|
|
|
LayoutTreeDeleteNodeAction,
|
2024-08-26 20:56:00 +02:00
|
|
|
LayoutTreeFocusNodeAction,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeInsertNodeAction,
|
2024-08-15 03:40:41 +02:00
|
|
|
LayoutTreeInsertNodeAtIndexAction,
|
|
|
|
LayoutTreeMagnifyNodeToggleAction,
|
2024-06-04 22:05:44 +02:00
|
|
|
LayoutTreeMoveNodeAction,
|
2024-08-15 03:40:41 +02:00
|
|
|
LayoutTreeResizeNodeAction,
|
|
|
|
LayoutTreeSetPendingAction,
|
|
|
|
LayoutTreeStateSetter,
|
|
|
|
LayoutTreeSwapNodeAction,
|
2024-08-26 20:56:00 +02:00
|
|
|
NodeModel,
|
|
|
|
PreviewRenderer,
|
2024-06-04 22:05:44 +02:00
|
|
|
};
|