@mark1russell7/room-view 0.0.0-bootstrap.0 → 0.1.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.
- package/LICENSE +21 -0
- package/README.md +296 -1
- package/build/index.d.ts +78 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +387 -0
- package/build/index.js.map +1 -0
- package/build/level-84nrw7oL.d.ts +344 -0
- package/build/level-84nrw7oL.d.ts.map +1 -0
- package/build/level-xTO7P1Fn.js +757 -0
- package/build/level-xTO7P1Fn.js.map +1 -0
- package/build/loads-Br73kIsQ.js +667 -0
- package/build/loads-Br73kIsQ.js.map +1 -0
- package/build/loads-H-VFEx6b.d.ts +223 -0
- package/build/loads-H-VFEx6b.d.ts.map +1 -0
- package/build/room-BUlXejkm.d.ts +149 -0
- package/build/room-BUlXejkm.d.ts.map +1 -0
- package/build/sample.d.ts +28 -0
- package/build/sample.d.ts.map +1 -0
- package/build/sample.js +863 -0
- package/build/sample.js.map +1 -0
- package/build/schema.d.ts +24 -0
- package/build/schema.d.ts.map +1 -0
- package/build/schema.js +167 -0
- package/build/schema.js.map +1 -0
- package/build/three.d.ts +117 -0
- package/build/three.d.ts.map +1 -0
- package/build/three.js +1069 -0
- package/build/three.js.map +1 -0
- package/build/units-BZmvVyu4.js +30 -0
- package/build/units-BZmvVyu4.js.map +1 -0
- package/package.json +85 -6
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { a as Opening, c as PlacedObject, d as Room, l as PlanPoint, s as Outlet, t as Circuit, x as LengthUnit } from "./room-BUlXejkm.js";
|
|
2
|
+
/** The name of the format of a survey record. */
|
|
3
|
+
declare const SURVEY_SCHEMA = "survey/1";
|
|
4
|
+
/** These are the names of the turns at a square corner. */
|
|
5
|
+
declare const SQUARE_TURNS: readonly ["left", "right"];
|
|
6
|
+
/**
|
|
7
|
+
* The turn of the person at the end of a side, to the direction of the next side.
|
|
8
|
+
*
|
|
9
|
+
* `left` and `right` are the turns at a square corner: 90 degrees. They are exact.
|
|
10
|
+
* A number is a measured angle in degrees, from -360 to 360, and a turn to the left is positive.
|
|
11
|
+
*/
|
|
12
|
+
type SurveyTurn = (typeof SQUARE_TURNS)[number] | number;
|
|
13
|
+
/** One side of a survey: the inner face of one wall, from a corner to the next corner. */
|
|
14
|
+
interface SurveySide {
|
|
15
|
+
/** The `id` of the wall of the side. */
|
|
16
|
+
readonly id: string;
|
|
17
|
+
/** The length of the inner face, from corner to corner. */
|
|
18
|
+
readonly length: number;
|
|
19
|
+
/** The turn at the end of the side. */
|
|
20
|
+
readonly turn: SurveyTurn;
|
|
21
|
+
/** The thickness of the wall. The default is `wallThickness` of the survey. */
|
|
22
|
+
readonly thickness?: number | undefined;
|
|
23
|
+
/** The height of the wall. The default is `height` of the survey. */
|
|
24
|
+
readonly height?: number | undefined;
|
|
25
|
+
}
|
|
26
|
+
/** A measured distance between two corners of a survey, for example a diagonal of the room. It examines the walk. */
|
|
27
|
+
interface SurveyCheck {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
/** The `id` of a side. The first corner is the corner at the start of that side. */
|
|
30
|
+
readonly from: string;
|
|
31
|
+
/** The `id` of a side. The second corner is the corner at the start of that side. */
|
|
32
|
+
readonly to: string;
|
|
33
|
+
/** The measured distance between the two corners. */
|
|
34
|
+
readonly length: number;
|
|
35
|
+
}
|
|
36
|
+
/** An outlet of a survey. It is on the inner face of its wall, so it has no field `face`. */
|
|
37
|
+
type SurveyOutlet = Omit<Outlet, "face">;
|
|
38
|
+
/**
|
|
39
|
+
* An object of a survey: a box that a person measures from a side, for example a desk, a shelf or a rack.
|
|
40
|
+
*
|
|
41
|
+
* The back of the object is parallel to the inner face of the side. The person measures along the face to the near edge of the object,
|
|
42
|
+
* and out from the face to its back. The near edge is the edge that is nearest to the first corner of the side.
|
|
43
|
+
* Thus the record has no coordinate.
|
|
44
|
+
*
|
|
45
|
+
* An object with `on` is on a different object or in it, for example a display on a desk or a computer in a rack.
|
|
46
|
+
* Then the person measures from the near edge and from the back of that object, which is the holder.
|
|
47
|
+
* An object has `wall` or `on`. When it has the two, `on` applies.
|
|
48
|
+
*/
|
|
49
|
+
interface SurveyObject {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/** The class of the object, for example `desk`, `rack` or `computer`. A viewer gives each class a color. */
|
|
52
|
+
readonly kind: string;
|
|
53
|
+
readonly name?: string | undefined;
|
|
54
|
+
/** The `id` of the side. */
|
|
55
|
+
readonly wall?: string | undefined;
|
|
56
|
+
/** The `id` of the holder. The first object with the `id` applies. */
|
|
57
|
+
readonly on?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The distance along the inner face, from the first corner of the side to the near edge of the object.
|
|
60
|
+
* With `on`, this is the distance from the near edge of the holder to the near edge of the object.
|
|
61
|
+
*/
|
|
62
|
+
readonly offset: number;
|
|
63
|
+
/** The size of the object along the wall. */
|
|
64
|
+
readonly width: number;
|
|
65
|
+
/** The size of the object out from the wall. */
|
|
66
|
+
readonly depth: number;
|
|
67
|
+
readonly height: number;
|
|
68
|
+
/**
|
|
69
|
+
* The distance from the inner face to the back of the object. With `on`, this is the distance from the back of the holder.
|
|
70
|
+
* The default is 0: the object touches the wall, or its back is level with the back of the holder.
|
|
71
|
+
*/
|
|
72
|
+
readonly gap?: number | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* The height of the bottom of the object above the floor. The default is 0.
|
|
75
|
+
* With `on`, this is the height above the bottom of the holder. Then the default is the height of the holder: the object is on its top.
|
|
76
|
+
*/
|
|
77
|
+
readonly lift?: number | undefined;
|
|
78
|
+
/** The `id` of the outlet that gives power to the object. */
|
|
79
|
+
readonly outlet?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* A survey: the measurements of one room by a person with a tape measure.
|
|
83
|
+
*
|
|
84
|
+
* The person goes around the room along the inner faces of the walls, in one direction.
|
|
85
|
+
* Each side has the length of one face, and the turn at its end. The last turn gives the direction of the first side again.
|
|
86
|
+
* An opening, an outlet and an object name their side in `wall`. Their `offset` starts at the first corner of that side.
|
|
87
|
+
*/
|
|
88
|
+
interface Survey {
|
|
89
|
+
readonly schema: typeof SURVEY_SCHEMA;
|
|
90
|
+
readonly name?: string | undefined;
|
|
91
|
+
/** The unit of each length of the record. */
|
|
92
|
+
readonly unit: LengthUnit;
|
|
93
|
+
/** The height of each wall that has no height of its own. */
|
|
94
|
+
readonly height: number;
|
|
95
|
+
/** The thickness of each wall that has no thickness of its own. */
|
|
96
|
+
readonly wallThickness: number;
|
|
97
|
+
/** The sides, in the sequence of the walk. */
|
|
98
|
+
readonly sides: readonly SurveySide[];
|
|
99
|
+
/** The place of the first corner in the plan. The default is the origin. */
|
|
100
|
+
readonly start?: PlanPoint | undefined;
|
|
101
|
+
/** The direction of the first side, in degrees counter-clockwise from the x axis. The default is 0. */
|
|
102
|
+
readonly heading?: number | undefined;
|
|
103
|
+
readonly checks?: readonly SurveyCheck[] | undefined;
|
|
104
|
+
readonly openings?: readonly Opening[] | undefined;
|
|
105
|
+
readonly outlets?: readonly SurveyOutlet[] | undefined;
|
|
106
|
+
readonly circuits?: readonly Circuit[] | undefined;
|
|
107
|
+
readonly objects?: readonly SurveyObject[] | undefined;
|
|
108
|
+
}
|
|
109
|
+
/** The closure of a survey: the difference between the end of the walk and its start. */
|
|
110
|
+
interface SurveyClosure {
|
|
111
|
+
/** The distance from the end of the last side to the first corner, in the unit of the survey. */
|
|
112
|
+
readonly gap: number;
|
|
113
|
+
/** The gap as a part of the length of the walk. A walk with no length has 0. */
|
|
114
|
+
readonly ratio: number;
|
|
115
|
+
/** The sum of the turns minus one full turn in the direction of the walk, in degrees. */
|
|
116
|
+
readonly turn: number;
|
|
117
|
+
/** This value is true when the walk has 3 sides or more, its turns make one full turn, and its gap is in the limit. */
|
|
118
|
+
readonly closed: boolean;
|
|
119
|
+
}
|
|
120
|
+
/** The result of one check of a survey. */
|
|
121
|
+
interface SurveyCheckResult {
|
|
122
|
+
/** The `id` of the check. */
|
|
123
|
+
readonly id: string;
|
|
124
|
+
/** The measured distance, in the unit of the survey. */
|
|
125
|
+
readonly measured: number;
|
|
126
|
+
/** The distance between the two corners in the room record. A check with a side that the survey does not have gets `undefined`. */
|
|
127
|
+
readonly model: number | undefined;
|
|
128
|
+
/** The measured distance minus the distance in the room record. */
|
|
129
|
+
readonly difference: number | undefined;
|
|
130
|
+
}
|
|
131
|
+
/** The result of the expansion of a survey. */
|
|
132
|
+
interface SurveyResult {
|
|
133
|
+
/** The room record of the survey. */
|
|
134
|
+
readonly room: Room;
|
|
135
|
+
/** The corner at the start of each side, as the room record has it. */
|
|
136
|
+
readonly corners: readonly PlanPoint[];
|
|
137
|
+
/** The points of the walk before the correction of the gap. The walk has one point more than the survey has sides. */
|
|
138
|
+
readonly walk: readonly PlanPoint[];
|
|
139
|
+
readonly closure: SurveyClosure;
|
|
140
|
+
/** The result of each check, in the sequence of the checks. */
|
|
141
|
+
readonly checks: readonly SurveyCheckResult[];
|
|
142
|
+
/**
|
|
143
|
+
* The placed object of each object of the survey that has a place, in the sequence of the survey.
|
|
144
|
+
* A scene record with the room record and these objects gives the model of the room with its objects.
|
|
145
|
+
*/
|
|
146
|
+
readonly objects: readonly PlacedObject[];
|
|
147
|
+
}
|
|
148
|
+
/** The default limit of the gap of a closed walk, as a part of the length of the walk. */
|
|
149
|
+
declare const CLOSURE_LIMIT = .01;
|
|
150
|
+
/** The options of the expansion of a survey. */
|
|
151
|
+
interface SurveyOptions {
|
|
152
|
+
/** The largest gap of a closed walk, as a part of the length of the walk. The default is `CLOSURE_LIMIT`. */
|
|
153
|
+
readonly limit?: number | undefined;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* This function gives a survey in a different unit. Each length of the record changes, and each angle stays.
|
|
157
|
+
* A survey that has the unit already is the result.
|
|
158
|
+
*/
|
|
159
|
+
declare function convertSurvey(survey: Survey, unit: LengthUnit): Survey;
|
|
160
|
+
/**
|
|
161
|
+
* This function makes the room record of a survey.
|
|
162
|
+
*
|
|
163
|
+
* The walk starts at `start` in the direction `heading`. Each side adds its length, and then the person turns.
|
|
164
|
+
* A length that is not a finite number above 0, or is not in the range of the model, counts as 0.
|
|
165
|
+
* A turn that is not a number from -360 to 360 counts as 0. Thus each number of the result is finite.
|
|
166
|
+
*
|
|
167
|
+
* A measured length has an error, so the walk does not end exactly at its start. The function corrects the two errors of a walk:
|
|
168
|
+
*
|
|
169
|
+
* 1. When the sum of the turns has an error below 45 degrees, each measured turn gets an equal part of the error.
|
|
170
|
+
* The turns `left` and `right` are exact, so they do not change. A larger error is a mistake, for example a wrong turn.
|
|
171
|
+
* 2. When the walk is closed, the sides share the gap. Along each axis of the first side, each side changes in proportion to its length along that axis.
|
|
172
|
+
* This is the transit rule of land survey. A side along an axis stays along that axis, so a room with square corners keeps them.
|
|
173
|
+
* Then the last wall ends exactly at the first corner, and the room gets a floor.
|
|
174
|
+
*
|
|
175
|
+
* An opening and an outlet keep their place on a side that changes its length: each `offset` and each `width` changes in the same proportion.
|
|
176
|
+
* Thus an opening that fits in its measured side fits in its wall, and two openings that do not overlap stay apart.
|
|
177
|
+
*
|
|
178
|
+
* An object keeps its size on a side that changes its length. It moves by a part of that change: its place in the free length of the side.
|
|
179
|
+
* Thus an object that touches a corner continues to touch it. The x axis of a placed object goes along its wall,
|
|
180
|
+
* and its y axis points into the room. An object with a holder has the holder as its parent, and its place is relative to the holder.
|
|
181
|
+
*
|
|
182
|
+
* Some objects have no place, and the result does not have them. A side that is not in the survey or has no length gives no place.
|
|
183
|
+
* A holder with no place gives no place. A size that is not a finite number above 0 gives no place.
|
|
184
|
+
* A distance that is not in the range of the model gives no place.
|
|
185
|
+
*
|
|
186
|
+
* A walk that is not closed gets no correction of the gap: its walls follow the walk, and the room has no floor.
|
|
187
|
+
* Thus the record of a survey in progress shows the walls that the person measured.
|
|
188
|
+
*
|
|
189
|
+
* The wall of each side is on the outer side of its line. Thus each `offset` of the survey is a distance along the inner face.
|
|
190
|
+
* `checkRoom` examines the room record.
|
|
191
|
+
*/
|
|
192
|
+
declare function expandSurvey(survey: Survey, options?: SurveyOptions): SurveyResult;
|
|
193
|
+
/** The name of the format of a level record. */
|
|
194
|
+
declare const LEVEL_SCHEMA = "level/1";
|
|
195
|
+
/** One room of a level: the survey of the room, with an `id`. */
|
|
196
|
+
interface LevelRoom {
|
|
197
|
+
readonly id: string;
|
|
198
|
+
readonly survey: Survey;
|
|
199
|
+
}
|
|
200
|
+
/** One end of a connection: an opening of a room of the level. */
|
|
201
|
+
interface ConnectionEnd {
|
|
202
|
+
/** The `id` of the room. */
|
|
203
|
+
readonly room: string;
|
|
204
|
+
/** The `id` of the opening in the survey of that room. */
|
|
205
|
+
readonly opening: string;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* A connection: one hole through the wall between two rooms, for example a door.
|
|
209
|
+
* A person measures the hole in each room, so the survey of each room has it as an opening.
|
|
210
|
+
*/
|
|
211
|
+
interface LevelConnection {
|
|
212
|
+
readonly id: string;
|
|
213
|
+
readonly from: ConnectionEnd;
|
|
214
|
+
readonly to: ConnectionEnd;
|
|
215
|
+
/**
|
|
216
|
+
* The thickness of the wall at the hole: the distance between the faces of the wall in the two rooms.
|
|
217
|
+
* A person measures it in the frame of a door. The default is the thickness of the wall of `from`.
|
|
218
|
+
*/
|
|
219
|
+
readonly thickness?: number | undefined;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* A level: the rooms of one level of a building, for example the rooms of an apartment.
|
|
223
|
+
*
|
|
224
|
+
* Each room has its own survey, so each room has its own first corner and its own first direction.
|
|
225
|
+
* A connection gives the place of a room: its two openings are one hole, so the two walls are back to back.
|
|
226
|
+
*/
|
|
227
|
+
interface Level {
|
|
228
|
+
readonly schema: typeof LEVEL_SCHEMA;
|
|
229
|
+
readonly name?: string | undefined;
|
|
230
|
+
/** The unit of each length of the room record of the level. A survey can have a different unit. */
|
|
231
|
+
readonly unit: LengthUnit;
|
|
232
|
+
readonly rooms: readonly LevelRoom[];
|
|
233
|
+
readonly connections?: readonly LevelConnection[] | undefined;
|
|
234
|
+
/** The circuits of the level. A survey can also have circuits. Two circuits with one `id` are one circuit, and the first one stays. */
|
|
235
|
+
readonly circuits?: readonly Circuit[] | undefined;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* These are the sources of the place of a room.
|
|
239
|
+
*
|
|
240
|
+
* - `first`: the room is the first room of the level. It keeps the `start` and the `heading` of its survey.
|
|
241
|
+
* - `connection`: a connection gives the place.
|
|
242
|
+
* - `apart`: the room has no path of connections to a room before it, so its place is not known.
|
|
243
|
+
*/
|
|
244
|
+
declare const ROOM_PLACES: readonly ["first", "connection", "apart"];
|
|
245
|
+
/** A source of the place of a room. */
|
|
246
|
+
type RoomPlace = (typeof ROOM_PLACES)[number];
|
|
247
|
+
/** The result of one room of a level. */
|
|
248
|
+
interface LevelRoomResult {
|
|
249
|
+
/** The `id` of the room. */
|
|
250
|
+
readonly id: string;
|
|
251
|
+
readonly place: RoomPlace;
|
|
252
|
+
/** The number of the group of the room, from 0. The rooms of one group have a path of connections between them. */
|
|
253
|
+
readonly group: number;
|
|
254
|
+
/** The survey of the room in the unit of the level. Its `start` and its `heading` are the place of the room in the level. */
|
|
255
|
+
readonly survey: Survey;
|
|
256
|
+
/** The expansion of that survey. */
|
|
257
|
+
readonly result: SurveyResult;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* These are the uses of a connection.
|
|
261
|
+
*
|
|
262
|
+
* - `place`: the connection gives the place of a room.
|
|
263
|
+
* - `check`: its two rooms have a place from other connections, so the connection examines the measurements.
|
|
264
|
+
* - `none`: the connection has a fault, so the level does not use it.
|
|
265
|
+
*/
|
|
266
|
+
declare const CONNECTION_USES: readonly ["place", "check", "none"];
|
|
267
|
+
/** A use of a connection. */
|
|
268
|
+
type ConnectionUse = (typeof CONNECTION_USES)[number];
|
|
269
|
+
/**
|
|
270
|
+
* These are the faults of a connection.
|
|
271
|
+
*
|
|
272
|
+
* - `room`: an end names a room that the level does not have.
|
|
273
|
+
* - `opening`: an end names an opening that its room does not have, or the wall of the opening has no length.
|
|
274
|
+
* - `one-room`: the two ends are in one room.
|
|
275
|
+
*/
|
|
276
|
+
declare const CONNECTION_FAULTS: readonly ["room", "opening", "one-room"];
|
|
277
|
+
/** A fault of a connection. */
|
|
278
|
+
type ConnectionFault = (typeof CONNECTION_FAULTS)[number];
|
|
279
|
+
/** The result of one connection of a level. A connection with a fault has no numbers. */
|
|
280
|
+
interface LevelConnectionResult {
|
|
281
|
+
/** The `id` of the connection. */
|
|
282
|
+
readonly id: string;
|
|
283
|
+
readonly use: ConnectionUse;
|
|
284
|
+
readonly fault?: ConnectionFault | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* The distance between the two openings along the wall and through it, minus the thickness of the wall, in the unit of the level.
|
|
287
|
+
* It is 0 for a connection that gives a place.
|
|
288
|
+
*/
|
|
289
|
+
readonly gap: number | undefined;
|
|
290
|
+
/** The gap as a part of the lengths of the walks of the two rooms. */
|
|
291
|
+
readonly ratio: number | undefined;
|
|
292
|
+
/** The angle between the two walls in degrees, from -180 to 180. Two walls that are back to back have 0. */
|
|
293
|
+
readonly turn: number | undefined;
|
|
294
|
+
/** The width of the opening of `to` minus the width of the opening of `from`, in the unit of the level. */
|
|
295
|
+
readonly width: number | undefined;
|
|
296
|
+
/** This value is true when the connection has no fault, its gap is in the limit, and its angle is `CONNECTION_TURN_LIMIT` or less. */
|
|
297
|
+
readonly fits: boolean;
|
|
298
|
+
}
|
|
299
|
+
/** The result of the expansion of a level. */
|
|
300
|
+
interface LevelResult {
|
|
301
|
+
/**
|
|
302
|
+
* One room record with each room of the level, in the unit of the level.
|
|
303
|
+
* The `id` of a wall, an opening or an outlet is the `id` of its room, then `/`, then its `id` in the survey.
|
|
304
|
+
* Each closed room gives one floor with the `id` and the name of the room.
|
|
305
|
+
*/
|
|
306
|
+
readonly room: Room;
|
|
307
|
+
/** The result of each room, in the sequence of the rooms. */
|
|
308
|
+
readonly rooms: readonly LevelRoomResult[];
|
|
309
|
+
/** The result of each connection, in the sequence of the connections. */
|
|
310
|
+
readonly connections: readonly LevelConnectionResult[];
|
|
311
|
+
/**
|
|
312
|
+
* The placed objects of each room, in the sequence of the rooms. The `id` of an object, of its parent and of its outlet
|
|
313
|
+
* has the same form as the `id` of a wall. A scene record with the room record and these objects gives the model of the level.
|
|
314
|
+
*/
|
|
315
|
+
readonly objects: readonly PlacedObject[];
|
|
316
|
+
}
|
|
317
|
+
/** The options of the expansion of a level. */
|
|
318
|
+
interface LevelOptions extends SurveyOptions {
|
|
319
|
+
/** The distance between two groups of rooms, in the unit of the level. The default is 1 m. A value that is not a length of 0 or more gives the default. */
|
|
320
|
+
readonly groupGap?: number | undefined;
|
|
321
|
+
}
|
|
322
|
+
/** The largest angle between the two walls of a connection that fits, in degrees. */
|
|
323
|
+
declare const CONNECTION_TURN_LIMIT = 2;
|
|
324
|
+
/**
|
|
325
|
+
* This function makes one room record from the rooms of a level.
|
|
326
|
+
*
|
|
327
|
+
* The first room keeps the `start` and the `heading` of its survey. The function goes from that room along the connections.
|
|
328
|
+
* A connection to a room with no place gives the place of that room. The two walls are back to back, and the centers of the
|
|
329
|
+
* two openings are opposite. The faces of the two walls are at the distance `thickness`.
|
|
330
|
+
* A connection between two rooms that have a place examines the measurements: its `gap` and its `turn` tell a mistake.
|
|
331
|
+
*
|
|
332
|
+
* A room with no path of connections to a room before it starts a new group. Its place is not known,
|
|
333
|
+
* so its group goes to the right of the groups before it. Thus a drawing of a level in progress shows each room.
|
|
334
|
+
*
|
|
335
|
+
* The survey of a room gives the thickness of each wall. Two rooms have one wall between them, so two walls that are
|
|
336
|
+
* back to back share it. Each wall gets one half of the distance between the two faces.
|
|
337
|
+
* This applies to the two walls of a connection, and to two walls that overlap.
|
|
338
|
+
* A wall that is in part an outer wall gets the same thickness along its full length.
|
|
339
|
+
*
|
|
340
|
+
* `checkRoom` examines the room record. It tells when two rooms overlap.
|
|
341
|
+
*/
|
|
342
|
+
declare function expandLevel(level: Level, options?: LevelOptions): LevelResult;
|
|
343
|
+
export { SurveyTurn as A, SurveyCheckResult as C, SurveyOutlet as D, SurveyOptions as E, expandSurvey as M, SurveyResult as O, SurveyCheck as S, SurveyObject as T, expandLevel as _, ConnectionFault as a, SURVEY_SCHEMA as b, Level as c, LevelOptions as d, LevelResult as f, RoomPlace as g, ROOM_PLACES as h, ConnectionEnd as i, convertSurvey as j, SurveySide as k, LevelConnection as l, LevelRoomResult as m, CONNECTION_TURN_LIMIT as n, ConnectionUse as o, LevelRoom as p, CONNECTION_USES as r, LEVEL_SCHEMA as s, CONNECTION_FAULTS as t, LevelConnectionResult as u, CLOSURE_LIMIT as v, SurveyClosure as w, Survey as x, SQUARE_TURNS as y };
|
|
344
|
+
//# sourceMappingURL=level-84nrw7oL.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"level-84nrw7oL.d.ts","names":[],"sources":["../src/survey.ts","../src/level.ts"],"mappings":";;cAKa;;cAGA;;;;;;;KAQD,qBAAqB;;UAGhB;;WAEN;;WAEA;;WAEA,MAAM;;WAEN;;WAEA;;;UAIM;WACN;;WAEA;;WAEA;;WAEA;;;KAIC,eAAe,KAAK;;;;;;;;;;;;UAaf;WACN;;WAEA;WACA;;WAEA;;WAEA;;;;;WAKA;;WAEA;;WAEA;WACA;;;;;WAKA;;;;;WAKA;;WAEA;;;;;;;;;UAUM;WACN,eAAe;WACf;;WAEA,MAAM;;WAEN;;WAEA;;WAEA,gBAAgB;;WAEhB,QAAQ;;WAER;WACA,kBAAkB;WAClB,oBAAoB;WACpB,mBAAmB;WACnB,oBAAoB;WACpB,mBAAmB;;;UAIb;;WAEN;;WAEA;;WAEA;;WAEA;;;UAIM;;WAEN;;WAEA;;WAEA;;WAEA;;;UAIM;;WAEN,MAAM;;WAEN,kBAAkB;;WAElB,eAAe;WACf,SAAS;;WAET,iBAAiB;;;;;WAKjB,kBAAkB;;;cAIhB;;UAGI;;WAEN;;;;;;iBAmBK,cAAc,QAAQ,QAAQ,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8EjD,aAAa,QAAQ,QAAQ,UAAS,gBAAqB;;cClQ9D;;UAGI;WACN;WACA,QAAQ;;;UAIF;;WAEN;;WAEA;;;;;;UAOM;WACN;WACA,MAAM;WACN,IAAI;;;;;WAKJ;;;;;;;;UASM;WACN,eAAe;WACf;;WAEA,MAAM;WACN,gBAAgB;WAChB,uBAAuB;;WAEvB,oBAAoB;;;;;;;;;cAUlB;;KAGD,oBAAoB;;UAGf;;WAEN;WACA,OAAO;;WAEP;;WAEA,QAAQ;;WAER,QAAQ;;;;;;;;;cAUN;;KAGD,wBAAwB;;;;;;;;cASvB;;KAGD,0BAA0B;;UAGrB;;WAEN;WACA,KAAK;WACL,QAAQ;;;;;WAKR;;WAEA;;WAEA;;WAEA;;WAEA;;;UAIM;;;;;;WAMN,MAAM;;WAEN,gBAAgB;;WAEhB,sBAAsB;;;;;WAKtB,kBAAkB;;;UAIZ,qBAAqB;;WAE3B;;;cAIE;;;;;;;;;;;;;;;;;;;iBA4IG,YAAY,OAAO,OAAO,UAAS,eAAoB"}
|