@loafacto/ui 0.23.2 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,126 @@
1
+ import type { MapDoc, MapTone } from '../map3d/types';
2
+ import { type Align, type Collection } from './doc';
3
+ import { type MapEditorKind, type MapEditorTool } from './editor';
4
+ type __VLS_Props = {
5
+ modelValue: MapDoc;
6
+ kinds?: MapEditorKind[];
7
+ /** 보이는 층 id (v-model:floor) */
8
+ floor?: string | null;
9
+ readonly?: boolean;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
12
+ /** 화면을 층에 맞춘다 */
13
+ fit: () => void | undefined;
14
+ /** 화면 없는 편집기 — 고르기 · 붙이기 같은 동작을 바깥에서 부를 때 */
15
+ editor: {
16
+ doc: import("vue").Ref<MapDoc, MapDoc>;
17
+ rev: import("vue").Ref<number, number>;
18
+ kinds: import("vue").Ref<{
19
+ key: string;
20
+ label: string;
21
+ tone?: MapTone | undefined;
22
+ size?: {
23
+ w: number;
24
+ h: number;
25
+ } | undefined;
26
+ fields?: {
27
+ key: string;
28
+ label: string;
29
+ type: "text" | "number" | "select" | "switch";
30
+ options?: {
31
+ value: string | number;
32
+ label: string;
33
+ }[] | undefined;
34
+ default?: unknown;
35
+ }[] | undefined;
36
+ idPrefix?: string | undefined;
37
+ }[], MapEditorKind[] | {
38
+ key: string;
39
+ label: string;
40
+ tone?: MapTone | undefined;
41
+ size?: {
42
+ w: number;
43
+ h: number;
44
+ } | undefined;
45
+ fields?: {
46
+ key: string;
47
+ label: string;
48
+ type: "text" | "number" | "select" | "switch";
49
+ options?: {
50
+ value: string | number;
51
+ label: string;
52
+ }[] | undefined;
53
+ default?: unknown;
54
+ }[] | undefined;
55
+ idPrefix?: string | undefined;
56
+ }[]>;
57
+ floorId: import("vue").Ref<string, string>;
58
+ floor: import("vue").ComputedRef<import("../map-editor.js").MapFloor | null>;
59
+ tool: import("vue").Ref<MapEditorTool, MapEditorTool>;
60
+ selection: import("vue").Ref<{
61
+ c: Collection;
62
+ id: string;
63
+ }[], import("./doc").Target[] | {
64
+ c: Collection;
65
+ id: string;
66
+ }[]>;
67
+ snap: import("vue").Ref<number, number>;
68
+ objectModel: import("vue").Ref<string, string>;
69
+ clipboard: import("vue").ShallowRef<{
70
+ c: Collection;
71
+ item: import("./doc").AnyItem;
72
+ }[], {
73
+ c: Collection;
74
+ item: import("./doc").AnyItem;
75
+ }[]>;
76
+ canUndo: import("vue").ComputedRef<boolean>;
77
+ canRedo: import("vue").ComputedRef<boolean>;
78
+ single: import("vue").ComputedRef<{
79
+ t: import("./doc").Target;
80
+ item: import("./doc").AnyItem;
81
+ } | null>;
82
+ run: (c: import("./doc").Command) => boolean;
83
+ seal: () => void;
84
+ undo: () => void;
85
+ redo: () => void;
86
+ load: (next: MapDoc) => void;
87
+ snapV: (v: number) => number;
88
+ snapP: (p: import("./doc").Point) => import("./doc").Point;
89
+ isSelected: (t: import("./doc").Target) => boolean;
90
+ select: (t: import("./doc").Target | import("./doc").Target[] | null, add?: boolean) => void;
91
+ selectAll: () => void;
92
+ selectionCentre: () => import("./doc").Point | null;
93
+ update: (t: import("./doc").Target, patch: Record<string, unknown>, mergeKey?: string) => void;
94
+ move: (dx: number, dy: number, mergeKey?: string) => void;
95
+ moveVertex: (t: import("./doc").Target, index: number, to: import("./doc").Point, mergeKey?: string) => void;
96
+ rotate: (deg: number) => void;
97
+ align: (how: Align) => void;
98
+ remove: () => void;
99
+ copy: () => void;
100
+ paste: (step?: number) => void;
101
+ duplicate: () => void;
102
+ addNode: (p: import("./doc").Point) => string | null;
103
+ addEdge: (from: string, to: string | import("./doc").Point) => string | null;
104
+ addWall: (points: import("./doc").Point[], closed: boolean) => void;
105
+ addZone: (points: import("./doc").Point[]) => void;
106
+ addObject: (p: import("./doc").Point) => void;
107
+ addExtra: (kindKey: string, p: import("./doc").Point) => void;
108
+ setFloorProps: (patch: Partial<import("../map-editor.js").MapFloor>, mergeKey?: string) => void;
109
+ newFloor: () => void;
110
+ dropFloor: () => void;
111
+ showFloor: (id: string) => void;
112
+ floorOf: (id: string) => import("../map-editor.js").MapFloor;
113
+ };
114
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
115
+ "update:modelValue": (doc: MapDoc) => any;
116
+ "update:floor": (floorId: string) => any;
117
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
118
+ "onUpdate:modelValue"?: ((doc: MapDoc) => any) | undefined;
119
+ "onUpdate:floor"?: ((floorId: string) => any) | undefined;
120
+ }>, {
121
+ readonly: boolean;
122
+ floor: string | null;
123
+ kinds: MapEditorKind[];
124
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
125
+ declare const _default: typeof __VLS_export;
126
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { type Target } from './doc';
2
+ import type { MapEditor } from './editor';
3
+ type __VLS_Props = {
4
+ editor: MapEditor;
5
+ };
6
+ declare function fit(): void;
7
+ declare function finishDraft(): void;
8
+ /** 키 — LfMapEditor 가 입력칸 밖의 키를 여기로 넘긴다. 처리했으면 true. */
9
+ declare function onKey(e: KeyboardEvent): boolean;
10
+ /** 고른 것이 화면 밖이면 그쪽으로 — 속성 패널에서 id 로 골랐을 때 */
11
+ declare function reveal(t: Target): void;
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
13
+ fit: typeof fit;
14
+ onKey: typeof onKey;
15
+ reveal: typeof reveal;
16
+ finishDraft: typeof finishDraft;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,134 @@
1
+ /**
2
+ * 맵 편집기의 문서 모델 — MapDoc 을 **명령으로만** 고친다. 명령은 바꾸는 항목의 전(before) · 후(after)를 적어 두므로
3
+ * 무엇이든 실행 취소 · 다시 실행이 된다. 한 번의 동작(마디 스무 개 옮기기, 마디와 그 길 지우기)은 한 명령이다.
4
+ *
5
+ * poc-rtms 의 레이아웃 편집기(web/src/editor/model.ts)에서 옮겼다(2026-11-21). 그쪽은 rtms 의 레이아웃 형식
6
+ * (충전기 · 스테이션 · 엘리베이터 · 캠퍼스 건물 …)을 다뤘다. 여기서는 맵이 아는 것(마디 · 길 · 구역 · 벽 · 설비)과
7
+ * 서비스가 정하는 extras 하나로 줄였다 — 서비스 고유의 것은 전부 extras(kind 로 가른다)에 담는다.
8
+ *
9
+ * 화면 · Vue 와 무관하다. 순수 데이터 함수라 서버나 테스트에서도 그대로 쓴다.
10
+ */
11
+ import type { MapDoc, MapEdge, MapExtra, MapFloor, MapNode, MapObject, MapWall, MapZone } from '../map3d/types';
12
+ export type Point = [number, number];
13
+ /** 층 안의 항목 묶음 */
14
+ export declare const COLLECTIONS: readonly ["nodes", "edges", "zones", "walls", "objects", "extras"];
15
+ export type Collection = (typeof COLLECTIONS)[number];
16
+ export type Item = MapNode | MapEdge | MapZone | MapWall | MapObject | MapExtra;
17
+ /** 편집기 안에서는 모든 항목에 id 가 있다(normalizeDoc 이 붙인다). */
18
+ export type AnyItem = {
19
+ id: string;
20
+ } & Record<string, unknown>;
21
+ /** 고를 수 있는 것: 지금 층의 항목 하나 */
22
+ export interface Target {
23
+ c: Collection;
24
+ id: string;
25
+ }
26
+ export declare const sameTarget: (a: Target, b: Target) => boolean;
27
+ export declare const targetKey: (t: Target) => string;
28
+ export interface Change {
29
+ floorId: string;
30
+ c: Collection;
31
+ id: string;
32
+ /** null = 없던 것 */
33
+ before: AnyItem | null;
34
+ /** null = 지운 것 */
35
+ after: AnyItem | null;
36
+ }
37
+ /** 층 자체(이름 · 크기 · 밑그림 …)를 바꾸거나 층을 더하고 뺀다. 항목 묶음은 그대로 함께 옮긴다. */
38
+ export interface FloorChange {
39
+ floorId: string;
40
+ before: MapFloor | null;
41
+ after: MapFloor | null;
42
+ /** 더할 때 들어갈 자리(층 순서) */
43
+ at?: number;
44
+ }
45
+ export interface Command {
46
+ label: string;
47
+ changes: Change[];
48
+ floors?: FloorChange[];
49
+ /** 이어지는 명령의 mergeKey 가 같으면 하나로 합친다(끌기 한 번 = 실행 취소 한 걸음). */
50
+ mergeKey?: string;
51
+ }
52
+ export declare const clone: <T>(v: T) => T;
53
+ export declare function round(v: number, digits?: number): number;
54
+ /** -180 < deg <= 180, 0.1° 로 반올림 */
55
+ export declare function normDeg(deg: number): number;
56
+ /**
57
+ * 편집기가 쓰기 좋게 다듬은 사본: 모든 묶음이 배열로 있고, id 가 없는 길 · 벽에는 id 를 붙인다.
58
+ * 원본은 건드리지 않는다.
59
+ */
60
+ export declare function normalizeDoc(doc: MapDoc): MapDoc;
61
+ export declare function floorOf(doc: MapDoc, floorId: string): MapFloor;
62
+ export declare function list(doc: MapDoc, floorId: string, c: Collection): AnyItem[];
63
+ export declare function find(doc: MapDoc, floorId: string, c: Collection, id: string): AnyItem | null;
64
+ export declare function apply(doc: MapDoc, c: Command): void;
65
+ export declare function revert(doc: MapDoc, c: Command): void;
66
+ export declare class History {
67
+ readonly doc: MapDoc;
68
+ private readonly limit;
69
+ private done;
70
+ private undone;
71
+ constructor(doc: MapDoc, limit?: number);
72
+ get canUndo(): boolean;
73
+ get canRedo(): boolean;
74
+ /** 실행한다. 바뀐 것이 없으면 false. */
75
+ run(c: Command): boolean;
76
+ /** 합치기를 끝낸다(마우스를 뗐다) — 다음 명령은 새 걸음이다. */
77
+ seal(): void;
78
+ undo(): Command | null;
79
+ redo(): Command | null;
80
+ }
81
+ /** 문서 전체에서 비어 있는 다음 id — N-001, N-002 … (층을 건너 겹치지 않게) */
82
+ export declare function nextId(doc: MapDoc, prefix: string, reserved?: Set<string>): string;
83
+ export declare function addItems(floorId: string, c: Collection, items: AnyItem[], label?: string): Command;
84
+ /** 값 고치기. patch 의 값이 undefined 면 그 칸을 지운다. */
85
+ export declare function updateItems(doc: MapDoc, floorId: string, c: Collection, updates: {
86
+ id: string;
87
+ patch: Record<string, unknown>;
88
+ }[], label?: string, mergeKey?: string): Command;
89
+ /** 지우기 — 마디를 지우면 그 마디에 닿은 길도 지운다. */
90
+ export declare function removeItems(doc: MapDoc, floorId: string, targets: Target[], label?: string): Command;
91
+ export declare function moveItems(doc: MapDoc, floorId: string, sel: Target[], dx: number, dy: number, mergeKey?: string): Command;
92
+ /** 점 하나만 옮기기(구역 · 벽의 꼭짓점 끌기) */
93
+ export declare function movePoint(doc: MapDoc, floorId: string, t: Target, index: number, to: Point, mergeKey?: string): Command;
94
+ /** 크기가 있는 것(설비 · 크기 있는 extra)의 바닥 크기 */
95
+ export declare function sizeOf(it: AnyItem): {
96
+ w: number;
97
+ h: number;
98
+ } | undefined;
99
+ /** 항목을 감싸는 사각형(m). 점 항목은 그 점, 크기 있는 것은 돌린 바닥면, 다각형 · 벽은 점들. */
100
+ export declare function bounds(it: AnyItem): {
101
+ x0: number;
102
+ y0: number;
103
+ x1: number;
104
+ y1: number;
105
+ } | null;
106
+ /** 고른 것들을 pivot 둘레로 deg 만큼(반시계) 돌린다. 설비 · extra 는 제자리 회전도 함께 바뀐다. */
107
+ export declare function rotateItems(doc: MapDoc, floorId: string, sel: Target[], deg: number, pivot: Point, mergeKey?: string): Command;
108
+ export type Align = 'left' | 'hcenter' | 'right' | 'bottom' | 'vcenter' | 'top' | 'hspread' | 'vspread';
109
+ /** 테두리에 맞춰 줄 세우기(왼쪽 · 가운데 · 오른쪽, 아래 · 가운데 · 위), 또는 셋 이상을 고르게 벌리기. */
110
+ export declare function alignItems(doc: MapDoc, floorId: string, sel: Target[], how: Align): Command;
111
+ /**
112
+ * 붙여넣기 — 복사한 항목들을 (dx, dy) 옮겨 새 id 로 더한다. 길은 양 끝 마디가 함께 복사됐을 때만 따라오고,
113
+ * 새 마디를 가리키게 고친다. 더한 것들의 Target 을 돌려준다(붙인 것을 고른 상태로 두려고).
114
+ */
115
+ export declare function pasteItems(doc: MapDoc, floorId: string, clip: {
116
+ c: Collection;
117
+ item: AnyItem;
118
+ }[], dx: number, dy: number): {
119
+ command: Command;
120
+ targets: Target[];
121
+ };
122
+ /** 층의 값 고치기(이름 · 크기 · 높이 · 밑그림). 항목 묶음은 건드리지 않는다. */
123
+ export declare function setFloor(doc: MapDoc, floorId: string, patch: Partial<MapFloor>, label?: string, mergeKey?: string): Command;
124
+ export declare function addFloor(doc: MapDoc, floor: MapFloor): Command;
125
+ export declare function removeFloor(doc: MapDoc, floorId: string): Command;
126
+ /** 길의 길이(m) — 양 끝 마디 사이 */
127
+ export declare function edgeLength(f: MapFloor, e: MapEdge): number | null;
128
+ /** 사각형(m) 안에 들어오는 항목들 — 상자 고르기 */
129
+ export declare function itemsIn(f: MapFloor, box: {
130
+ x0: number;
131
+ y0: number;
132
+ x1: number;
133
+ y1: number;
134
+ }): Target[];
@@ -0,0 +1,149 @@
1
+ /**
2
+ * 맵 편집기의 상태와 동작 — 화면 없이. LfMapEditor 가 이것 위에 캔버스 · 도구 막대 · 속성 패널을 얹는다.
3
+ * 자기 화면을 따로 만들 서비스는 이것만 가져다 쓰면 된다(되돌리기 · 고르기 · 붙여넣기 · 맞추기가 다 들어 있다).
4
+ *
5
+ * poc-rtms 의 web/src/editor/useEditor.ts 에서 옮겼다. 문서는 Vue 의 반응형 객체이고, 고치는 길은 run(명령) 하나다.
6
+ */
7
+ import { type Ref } from 'vue';
8
+ import type { MapDoc, MapFloor, MapTone } from '../map3d/types';
9
+ import { type Align, type AnyItem, type Collection, type Command, type Point, type Target } from './doc';
10
+ /** 서비스가 정하는 것의 종류 — extras 의 kind 하나. */
11
+ export interface MapEditorKind {
12
+ /** extras[].kind 에 들어가는 값 */
13
+ key: string;
14
+ /** 도구 막대 · 속성 패널에 보일 이름 */
15
+ label: string;
16
+ tone?: MapTone;
17
+ /** 크기가 있는 것이면(놓을 때의 기본 크기, m) — 없으면 점 */
18
+ size?: {
19
+ w: number;
20
+ h: number;
21
+ };
22
+ /** 속성 패널에 더할 칸 — 값은 extras[].props[key] 에 들어간다 */
23
+ fields?: MapEditorField[];
24
+ /** 이름을 붙일 때의 머리말(X-001 대신 CH-001 …) */
25
+ idPrefix?: string;
26
+ }
27
+ export interface MapEditorField {
28
+ key: string;
29
+ label: string;
30
+ type: 'text' | 'number' | 'select' | 'switch';
31
+ options?: {
32
+ value: string | number;
33
+ label: string;
34
+ }[];
35
+ /** 새로 놓을 때의 값 */
36
+ default?: unknown;
37
+ }
38
+ /** select · pan(손) · 그리기 도구들, 그리고 서비스 종류는 'extra:키' */
39
+ export type MapEditorTool = 'select' | 'pan' | 'wall' | 'zone' | 'node' | 'edge' | 'object' | `extra:${string}`;
40
+ export interface MapEditorOptions {
41
+ kinds?: MapEditorKind[];
42
+ /** 바뀔 때마다 — 문서 사본이 온다 */
43
+ onChange?: (doc: MapDoc) => void;
44
+ }
45
+ export declare function createMapEditor(initial: MapDoc, opts?: MapEditorOptions): {
46
+ doc: Ref<MapDoc, MapDoc>;
47
+ rev: Ref<number, number>;
48
+ kinds: Ref<{
49
+ key: string;
50
+ label: string;
51
+ tone?: MapTone
52
+ /** 크기가 있는 것이면(놓을 때의 기본 크기, m) — 없으면 점 */
53
+ | undefined;
54
+ size?: {
55
+ w: number;
56
+ h: number;
57
+ } | undefined;
58
+ fields?: {
59
+ key: string;
60
+ label: string;
61
+ type: "text" | "number" | "select" | "switch";
62
+ options?: {
63
+ value: string | number;
64
+ label: string;
65
+ }[] | undefined;
66
+ default?: unknown;
67
+ }[] | undefined;
68
+ idPrefix?: string | undefined;
69
+ }[], MapEditorKind[] | {
70
+ key: string;
71
+ label: string;
72
+ tone?: MapTone
73
+ /** 크기가 있는 것이면(놓을 때의 기본 크기, m) — 없으면 점 */
74
+ | undefined;
75
+ size?: {
76
+ w: number;
77
+ h: number;
78
+ } | undefined;
79
+ fields?: {
80
+ key: string;
81
+ label: string;
82
+ type: "text" | "number" | "select" | "switch";
83
+ options?: {
84
+ value: string | number;
85
+ label: string;
86
+ }[] | undefined;
87
+ default?: unknown;
88
+ }[] | undefined;
89
+ idPrefix?: string | undefined;
90
+ }[]>;
91
+ floorId: Ref<string, string>;
92
+ floor: import("vue").ComputedRef<MapFloor | null>;
93
+ tool: Ref<MapEditorTool, MapEditorTool>;
94
+ selection: Ref<{
95
+ c: Collection;
96
+ id: string;
97
+ }[], Target[] | {
98
+ c: Collection;
99
+ id: string;
100
+ }[]>;
101
+ snap: Ref<number, number>;
102
+ objectModel: Ref<string, string>;
103
+ clipboard: import("vue").ShallowRef<{
104
+ c: Collection;
105
+ item: AnyItem;
106
+ }[], {
107
+ c: Collection;
108
+ item: AnyItem;
109
+ }[]>;
110
+ canUndo: import("vue").ComputedRef<boolean>;
111
+ canRedo: import("vue").ComputedRef<boolean>;
112
+ single: import("vue").ComputedRef<{
113
+ t: Target;
114
+ item: AnyItem;
115
+ } | null>;
116
+ run: (c: Command) => boolean;
117
+ seal: () => void;
118
+ undo: () => void;
119
+ redo: () => void;
120
+ load: (next: MapDoc) => void;
121
+ snapV: (v: number) => number;
122
+ snapP: (p: Point) => Point;
123
+ isSelected: (t: Target) => boolean;
124
+ select: (t: Target | Target[] | null, add?: boolean) => void;
125
+ selectAll: () => void;
126
+ selectionCentre: () => Point | null;
127
+ update: (t: Target, patch: Record<string, unknown>, mergeKey?: string) => void;
128
+ move: (dx: number, dy: number, mergeKey?: string) => void;
129
+ moveVertex: (t: Target, index: number, to: Point, mergeKey?: string) => void;
130
+ rotate: (deg: number) => void;
131
+ align: (how: Align) => void;
132
+ remove: () => void;
133
+ copy: () => void;
134
+ paste: (step?: number) => void;
135
+ duplicate: () => void;
136
+ addNode: (p: Point) => string | null;
137
+ addEdge: (from: string, to: string | Point) => string | null;
138
+ addWall: (points: Point[], closed: boolean) => void;
139
+ addZone: (points: Point[]) => void;
140
+ addObject: (p: Point) => void;
141
+ addExtra: (kindKey: string, p: Point) => void;
142
+ setFloorProps: (patch: Partial<MapFloor>, mergeKey?: string) => void;
143
+ newFloor: () => void;
144
+ dropFloor: () => void;
145
+ showFloor: (id: string) => void;
146
+ /** 층 하나 찾기(없으면 던진다) */
147
+ floorOf: (id: string) => MapFloor;
148
+ };
149
+ export type MapEditor = ReturnType<typeof createMapEditor>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * 맵 편집기 — 선택 진입점(0.24.0).
3
+ *
4
+ * import { LfMapEditor, type MapEditorKind } from '@loafacto/ui/map-editor'
5
+ *
6
+ * 층 · 벽 · 구역 · 마디 · 길 · 설비, 그리고 서비스가 정한 종류(kinds → floors[].extras)를 2D 도면에서 그리고 고친다.
7
+ * 문서는 3D 맵(`@loafacto/ui/map3d` 의 LfMap3d)과 같은 MapDoc 이라, 둘을 나란히 두면 고친 것이 3D 에 바로 비친다.
8
+ *
9
+ * 본 진입점에 섞지 않은 이유는 map3d 와 같다 — 지도를 안 쓰는 앱(매크로 · 에이전트 콘솔)의 번들을 키우지 않으려고.
10
+ * **새 의존성은 없다**: 2D 는 SVG 로 그린다(poc-rtms 는 Konva 였다). three 도 쓰지 않는다 — 타입만 map3d 에서 가져온다.
11
+ *
12
+ * poc-rtms 의 레이아웃 편집기(web/src/editor · components/editor)에서 옮겼다(2026-11-21). poc-rtms 는 시제품이라
13
+ * 교체하지 않고, 이쪽이 원본이다. rtms 고유의 것(충전기 · 스테이션 · 엘리베이터 · 캠퍼스 · 통행 규칙 · 저장 API)은
14
+ * 옮기지 않았다 — 서비스는 kinds 로 자기 것을 더한다.
15
+ */
16
+ export { default as LfMapEditor } from './map-editor/LfMapEditor.vue';
17
+ export { createMapEditor, type MapEditor, type MapEditorKind, type MapEditorField, type MapEditorTool, type MapEditorOptions } from './map-editor/editor';
18
+ export { History, normalizeDoc, apply, revert, addItems, updateItems, removeItems, moveItems, movePoint, rotateItems, alignItems, pasteItems, setFloor, addFloor, removeFloor, nextId, bounds, itemsIn, edgeLength, COLLECTIONS, type Collection, type Command, type Change, type FloorChange, type Target, type Align, type Point, } from './map-editor/doc';
19
+ export type { MapDoc, MapFloor, MapExtra, MapBackground } from './map3d/types';