@seatmap-fyi/map-domain 0.1.0-alpha.3 → 0.1.0-alpha.48
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/dist/arc-fan-rebuild.d.ts +13 -0
- package/dist/arc-fan-rebuild.js +163 -0
- package/dist/arc-fan.d.ts +27 -0
- package/dist/arc-fan.interface.d.ts +83 -0
- package/dist/arc-fan.interface.js +30 -0
- package/dist/arc-fan.js +182 -0
- package/dist/catalog.d.ts +10 -3
- package/dist/catalog.js +66 -10
- package/dist/categories.d.ts +27 -0
- package/dist/categories.js +217 -0
- package/dist/editor-state.d.ts +4 -1
- package/dist/editor-state.js +61 -31
- package/dist/floors.d.ts +22 -0
- package/dist/floors.js +77 -0
- package/dist/geometry/boundary.d.ts +1 -1
- package/dist/geometry/boundary.js +16 -12
- package/dist/geometry/curve-warnings.d.ts +1 -1
- package/dist/geometry/curve-warnings.js +3 -5
- package/dist/geometry/decoration-bounds.d.ts +4 -0
- package/dist/geometry/decoration-bounds.js +42 -0
- package/dist/geometry/ellipse.js +4 -12
- package/dist/geometry/geometry.d.ts +12 -3
- package/dist/geometry/geometry.js +37 -28
- package/dist/geometry/layout-transform.d.ts +10 -0
- package/dist/geometry/layout-transform.interface.d.ts +6 -0
- package/dist/geometry/layout-transform.interface.js +1 -0
- package/dist/geometry/layout-transform.js +206 -0
- package/dist/geometry/polygon-curves.d.ts +17 -0
- package/dist/geometry/polygon-curves.interface.d.ts +21 -0
- package/dist/geometry/polygon-curves.interface.js +5 -0
- package/dist/geometry/polygon-curves.js +169 -0
- package/dist/geometry/primitives.d.ts +1 -1
- package/dist/geometry/primitives.js +2 -3
- package/dist/geometry/seat-shape.d.ts +24 -0
- package/dist/geometry/seat-shape.js +101 -0
- package/dist/geometry/seating-layout.d.ts +20 -3
- package/dist/geometry/seating-layout.js +113 -19
- package/dist/geometry/units.d.ts +8 -0
- package/dist/geometry/units.js +13 -0
- package/dist/geometry/venue-outline.d.ts +4 -18
- package/dist/geometry/venue-outline.interface.d.ts +23 -0
- package/dist/geometry/venue-outline.interface.js +7 -0
- package/dist/geometry/venue-outline.js +107 -49
- package/dist/identity.d.ts +3 -1
- package/dist/identity.js +32 -9
- package/dist/issues.d.ts +15 -2
- package/dist/issues.js +16 -6
- package/dist/labels.d.ts +12 -1
- package/dist/labels.js +76 -11
- package/dist/layers.d.ts +26 -0
- package/dist/layers.js +86 -0
- package/dist/media.d.ts +27 -0
- package/dist/media.js +89 -0
- package/dist/physical-document.interface.d.ts +592 -0
- package/dist/physical-document.interface.js +179 -0
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +70 -25
- package/dist/reference.js +1 -1
- package/dist/row-segments.d.ts +30 -0
- package/dist/row-segments.js +113 -0
- package/dist/schema.d.ts +1578 -68
- package/dist/schema.js +467 -98
- package/dist/seat-proximity.d.ts +4 -0
- package/dist/seat-proximity.js +119 -0
- package/dist/section-elevation.d.ts +5 -0
- package/dist/section-elevation.interface.d.ts +26 -0
- package/dist/section-elevation.interface.js +8 -0
- package/dist/section-elevation.js +53 -0
- package/dist/section-fill-rebuild.d.ts +10 -0
- package/dist/section-fill-rebuild.js +64 -0
- package/dist/section-fill.d.ts +84 -0
- package/dist/section-fill.interface.d.ts +94 -0
- package/dist/section-fill.interface.js +22 -0
- package/dist/section-fill.js +306 -0
- package/dist/section-growth.d.ts +11 -0
- package/dist/section-growth.interface.d.ts +12 -0
- package/dist/section-growth.interface.js +1 -0
- package/dist/section-growth.js +198 -0
- package/dist/section-layout.d.ts +95 -0
- package/dist/section-layout.interface.d.ts +8 -0
- package/dist/section-layout.interface.js +5 -0
- package/dist/section-layout.js +70 -0
- package/dist/section-outline-refit.d.ts +8 -0
- package/dist/section-outline-refit.js +246 -0
- package/dist/section-refit.d.ts +22 -0
- package/dist/section-refit.interface.d.ts +49 -0
- package/dist/section-refit.interface.js +6 -0
- package/dist/section-refit.js +179 -0
- package/dist/section-scale.d.ts +2 -0
- package/dist/section-scale.js +128 -0
- package/dist/sections.d.ts +23 -0
- package/dist/sections.js +144 -0
- package/dist/selling.d.ts +34 -0
- package/dist/selling.js +148 -0
- package/dist/spacing-repairs.d.ts +31 -0
- package/dist/spacing-repairs.js +168 -0
- package/dist/table-layout.d.ts +29 -0
- package/dist/table-layout.js +134 -0
- package/dist/validation.d.ts +7 -2
- package/dist/validation.interface.d.ts +20 -0
- package/dist/validation.interface.js +9 -0
- package/dist/validation.js +227 -78
- package/dist/wayfinding.d.ts +10 -0
- package/dist/wayfinding.interface.d.ts +52 -0
- package/dist/wayfinding.interface.js +28 -0
- package/dist/wayfinding.js +63 -0
- package/package.json +109 -4
- package/dist/types.d.ts +0 -313
- package/dist/types.js +0 -91
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seatmap-fyi/map-domain",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.48",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,13 +9,17 @@
|
|
|
9
9
|
"src/unicode-license.txt"
|
|
10
10
|
],
|
|
11
11
|
"exports": {
|
|
12
|
+
"./layers": {
|
|
13
|
+
"types": "./dist/layers.d.ts",
|
|
14
|
+
"import": "./dist/layers.js"
|
|
15
|
+
},
|
|
12
16
|
"./editor-state": {
|
|
13
17
|
"types": "./dist/editor-state.d.ts",
|
|
14
18
|
"import": "./dist/editor-state.js"
|
|
15
19
|
},
|
|
16
20
|
"./types": {
|
|
17
|
-
"types": "./dist/
|
|
18
|
-
"import": "./dist/
|
|
21
|
+
"types": "./dist/physical-document.interface.d.ts",
|
|
22
|
+
"import": "./dist/physical-document.interface.js"
|
|
19
23
|
},
|
|
20
24
|
"./schema": {
|
|
21
25
|
"types": "./dist/schema.d.ts",
|
|
@@ -41,10 +45,18 @@
|
|
|
41
45
|
"types": "./dist/catalog.d.ts",
|
|
42
46
|
"import": "./dist/catalog.js"
|
|
43
47
|
},
|
|
48
|
+
"./geometry/units": {
|
|
49
|
+
"types": "./dist/geometry/units.d.ts",
|
|
50
|
+
"import": "./dist/geometry/units.js"
|
|
51
|
+
},
|
|
44
52
|
"./geometry/geometry": {
|
|
45
53
|
"types": "./dist/geometry/geometry.d.ts",
|
|
46
54
|
"import": "./dist/geometry/geometry.js"
|
|
47
55
|
},
|
|
56
|
+
"./geometry/layout-transform": {
|
|
57
|
+
"types": "./dist/geometry/layout-transform.d.ts",
|
|
58
|
+
"import": "./dist/geometry/layout-transform.js"
|
|
59
|
+
},
|
|
48
60
|
"./geometry/boundary": {
|
|
49
61
|
"types": "./dist/geometry/boundary.d.ts",
|
|
50
62
|
"import": "./dist/geometry/boundary.js"
|
|
@@ -80,13 +92,106 @@
|
|
|
80
92
|
"./preview": {
|
|
81
93
|
"types": "./dist/preview.d.ts",
|
|
82
94
|
"import": "./dist/preview.js"
|
|
95
|
+
},
|
|
96
|
+
"./categories": {
|
|
97
|
+
"types": "./dist/categories.d.ts",
|
|
98
|
+
"import": "./dist/categories.js"
|
|
99
|
+
},
|
|
100
|
+
"./geometry/seat-shape": {
|
|
101
|
+
"types": "./dist/geometry/seat-shape.d.ts",
|
|
102
|
+
"import": "./dist/geometry/seat-shape.js"
|
|
103
|
+
},
|
|
104
|
+
"./selling": {
|
|
105
|
+
"types": "./dist/selling.d.ts",
|
|
106
|
+
"import": "./dist/selling.js"
|
|
107
|
+
},
|
|
108
|
+
"./table-layout": {
|
|
109
|
+
"types": "./dist/table-layout.d.ts",
|
|
110
|
+
"import": "./dist/table-layout.js"
|
|
111
|
+
},
|
|
112
|
+
"./row-segments": {
|
|
113
|
+
"types": "./dist/row-segments.d.ts",
|
|
114
|
+
"import": "./dist/row-segments.js"
|
|
115
|
+
},
|
|
116
|
+
"./floors": {
|
|
117
|
+
"types": "./dist/floors.d.ts",
|
|
118
|
+
"import": "./dist/floors.js"
|
|
119
|
+
},
|
|
120
|
+
"./geometry/decoration-bounds": {
|
|
121
|
+
"types": "./dist/geometry/decoration-bounds.d.ts",
|
|
122
|
+
"import": "./dist/geometry/decoration-bounds.js"
|
|
123
|
+
},
|
|
124
|
+
"./sections": {
|
|
125
|
+
"types": "./dist/sections.d.ts",
|
|
126
|
+
"import": "./dist/sections.js"
|
|
127
|
+
},
|
|
128
|
+
"./section-refit": {
|
|
129
|
+
"types": "./dist/section-refit.d.ts",
|
|
130
|
+
"import": "./dist/section-refit.js"
|
|
131
|
+
},
|
|
132
|
+
"./section-fill": {
|
|
133
|
+
"types": "./dist/section-fill.d.ts",
|
|
134
|
+
"import": "./dist/section-fill.js"
|
|
135
|
+
},
|
|
136
|
+
"./section-elevation": {
|
|
137
|
+
"types": "./dist/section-elevation.d.ts",
|
|
138
|
+
"import": "./dist/section-elevation.js"
|
|
139
|
+
},
|
|
140
|
+
"./section-layout": {
|
|
141
|
+
"types": "./dist/section-layout.d.ts",
|
|
142
|
+
"import": "./dist/section-layout.js"
|
|
143
|
+
},
|
|
144
|
+
"./spacing-repairs": {
|
|
145
|
+
"types": "./dist/spacing-repairs.d.ts",
|
|
146
|
+
"import": "./dist/spacing-repairs.js"
|
|
147
|
+
},
|
|
148
|
+
"./media": {
|
|
149
|
+
"types": "./dist/media.d.ts",
|
|
150
|
+
"import": "./dist/media.js"
|
|
151
|
+
},
|
|
152
|
+
"./geometry/polygon-curves": {
|
|
153
|
+
"types": "./dist/geometry/polygon-curves.d.ts",
|
|
154
|
+
"import": "./dist/geometry/polygon-curves.js"
|
|
155
|
+
},
|
|
156
|
+
"./wayfinding": {
|
|
157
|
+
"types": "./dist/wayfinding.d.ts",
|
|
158
|
+
"import": "./dist/wayfinding.js"
|
|
159
|
+
},
|
|
160
|
+
"./wayfinding-types": {
|
|
161
|
+
"types": "./dist/wayfinding.interface.d.ts",
|
|
162
|
+
"import": "./dist/wayfinding.interface.js"
|
|
163
|
+
},
|
|
164
|
+
"./arc-fan": {
|
|
165
|
+
"types": "./dist/arc-fan.d.ts",
|
|
166
|
+
"import": "./dist/arc-fan.js"
|
|
167
|
+
},
|
|
168
|
+
"./arc-fan/types": {
|
|
169
|
+
"types": "./dist/arc-fan.interface.d.ts",
|
|
170
|
+
"import": "./dist/arc-fan.interface.js"
|
|
171
|
+
},
|
|
172
|
+
"./arc-fan/rebuild": {
|
|
173
|
+
"types": "./dist/arc-fan-rebuild.d.ts",
|
|
174
|
+
"import": "./dist/arc-fan-rebuild.js"
|
|
175
|
+
},
|
|
176
|
+
"./geometry/venue-outline-types": {
|
|
177
|
+
"types": "./dist/geometry/venue-outline.interface.d.ts",
|
|
178
|
+
"import": "./dist/geometry/venue-outline.interface.js"
|
|
179
|
+
},
|
|
180
|
+
"./section-growth": {
|
|
181
|
+
"types": "./dist/section-growth.d.ts",
|
|
182
|
+
"import": "./dist/section-growth.js"
|
|
183
|
+
},
|
|
184
|
+
"./section-growth/types": {
|
|
185
|
+
"types": "./dist/section-growth.interface.d.ts",
|
|
186
|
+
"import": "./dist/section-growth.interface.js"
|
|
83
187
|
}
|
|
84
188
|
},
|
|
85
189
|
"scripts": {
|
|
86
190
|
"build": "node --input-type=module -e \"import { rmSync } from 'node:fs'; rmSync('dist', { recursive: true, force: true });\" && tsc -p tsconfig.json"
|
|
87
191
|
},
|
|
88
192
|
"dependencies": {
|
|
89
|
-
"zod": "4.6.5"
|
|
193
|
+
"zod": "4.6.5",
|
|
194
|
+
"tinyqueue": "3.0.0"
|
|
90
195
|
},
|
|
91
196
|
"publishConfig": {
|
|
92
197
|
"access": "public"
|
package/dist/types.d.ts
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
export declare const DocumentLimits: {
|
|
2
|
-
readonly PhysicalSeats: 100000;
|
|
3
|
-
readonly JsonBytes: number;
|
|
4
|
-
};
|
|
5
|
-
export type UUID = string;
|
|
6
|
-
export type PointM = {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
};
|
|
10
|
-
export type SizeM = {
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
14
|
-
export type Transform = {
|
|
15
|
-
positionM: PointM;
|
|
16
|
-
rotationDeg: number;
|
|
17
|
-
flipX?: boolean;
|
|
18
|
-
flipY?: boolean;
|
|
19
|
-
};
|
|
20
|
-
export type PolygonM = {
|
|
21
|
-
outer: PointM[];
|
|
22
|
-
holes: PointM[][];
|
|
23
|
-
};
|
|
24
|
-
export type Paint = {
|
|
25
|
-
color: string;
|
|
26
|
-
opacity: number;
|
|
27
|
-
};
|
|
28
|
-
export declare enum NumberingScheme {
|
|
29
|
-
Numeric = "numeric",
|
|
30
|
-
Odd = "odd",
|
|
31
|
-
Even = "even",
|
|
32
|
-
Alphabetic = "alphabetic"
|
|
33
|
-
}
|
|
34
|
-
export declare enum LabelDirection {
|
|
35
|
-
Forward = "forward",
|
|
36
|
-
Reverse = "reverse"
|
|
37
|
-
}
|
|
38
|
-
export type LabelSequence = {
|
|
39
|
-
scheme: NumberingScheme;
|
|
40
|
-
startAt: number;
|
|
41
|
-
direction: LabelDirection;
|
|
42
|
-
prefix?: string;
|
|
43
|
-
suffix?: string;
|
|
44
|
-
};
|
|
45
|
-
export type LabelStyle = {
|
|
46
|
-
visible: boolean;
|
|
47
|
-
fontSizeM: number;
|
|
48
|
-
};
|
|
49
|
-
export declare enum RowLabelPosition {
|
|
50
|
-
Left = "left",
|
|
51
|
-
Right = "right",
|
|
52
|
-
Both = "both"
|
|
53
|
-
}
|
|
54
|
-
export type RowLabelStyle = LabelStyle & {
|
|
55
|
-
position: RowLabelPosition;
|
|
56
|
-
};
|
|
57
|
-
export type SeatAttributes = {
|
|
58
|
-
accessible?: boolean;
|
|
59
|
-
restrictedView?: boolean;
|
|
60
|
-
hearingAssistance?: boolean;
|
|
61
|
-
semiAmbulatory?: boolean;
|
|
62
|
-
companionForSeatId?: UUID;
|
|
63
|
-
};
|
|
64
|
-
export type SeatSlot = {
|
|
65
|
-
id: UUID;
|
|
66
|
-
labelOverride?: string;
|
|
67
|
-
attributes?: SeatAttributes;
|
|
68
|
-
override?: {
|
|
69
|
-
offsetM?: PointM;
|
|
70
|
-
rotationDeltaDeg?: number;
|
|
71
|
-
sizeM?: SizeM;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
export type RowSlot = {
|
|
75
|
-
id: UUID;
|
|
76
|
-
labelOverride?: string;
|
|
77
|
-
offsetM?: PointM;
|
|
78
|
-
seatSequenceOverride?: LabelSequence;
|
|
79
|
-
seats: SeatSlot[];
|
|
80
|
-
};
|
|
81
|
-
export type DrawableBase = {
|
|
82
|
-
id: UUID;
|
|
83
|
-
parentId: UUID | null;
|
|
84
|
-
transform: Transform;
|
|
85
|
-
zIndex: number;
|
|
86
|
-
};
|
|
87
|
-
export type GroupBase = DrawableBase & {
|
|
88
|
-
name: string;
|
|
89
|
-
sectionId: UUID | null;
|
|
90
|
-
seatSizeM: SizeM;
|
|
91
|
-
boundary?: PolygonM;
|
|
92
|
-
seatLabelStyle: LabelStyle;
|
|
93
|
-
};
|
|
94
|
-
export type RowsLabels = {
|
|
95
|
-
rows: LabelSequence;
|
|
96
|
-
seats: LabelSequence;
|
|
97
|
-
rowStyle: RowLabelStyle;
|
|
98
|
-
};
|
|
99
|
-
export declare enum RowAlignment {
|
|
100
|
-
Start = "start",
|
|
101
|
-
Center = "center",
|
|
102
|
-
End = "end"
|
|
103
|
-
}
|
|
104
|
-
export declare enum LabelAlignment {
|
|
105
|
-
Left = "left",
|
|
106
|
-
Center = "center",
|
|
107
|
-
Right = "right"
|
|
108
|
-
}
|
|
109
|
-
export type StraightRows = GroupBase & {
|
|
110
|
-
kind: SeatingKind.Straight;
|
|
111
|
-
recipe: {
|
|
112
|
-
seatPitchM: number;
|
|
113
|
-
rowPitchM: number;
|
|
114
|
-
rowAlignment?: RowAlignment;
|
|
115
|
-
};
|
|
116
|
-
labels: RowsLabels;
|
|
117
|
-
rows: RowSlot[];
|
|
118
|
-
};
|
|
119
|
-
export type CurvedRows = GroupBase & {
|
|
120
|
-
kind: SeatingKind.Curved;
|
|
121
|
-
recipe: {
|
|
122
|
-
innerRadiusM: number;
|
|
123
|
-
axisRatio?: number;
|
|
124
|
-
rowPitchM: number;
|
|
125
|
-
placement: {
|
|
126
|
-
kind: CurveMode.Sweep;
|
|
127
|
-
startAngleDeg: number;
|
|
128
|
-
sweepAngleDeg: number;
|
|
129
|
-
} | {
|
|
130
|
-
kind: CurveMode.Pitch;
|
|
131
|
-
centerAngleDeg: number;
|
|
132
|
-
seatPitchM: number;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
labels: RowsLabels;
|
|
136
|
-
rows: RowSlot[];
|
|
137
|
-
};
|
|
138
|
-
export type TableLabels = {
|
|
139
|
-
table: string;
|
|
140
|
-
chairs: LabelSequence;
|
|
141
|
-
tableStyle: LabelStyle;
|
|
142
|
-
};
|
|
143
|
-
export type RectangularTable = GroupBase & {
|
|
144
|
-
kind: SeatingKind.Rectangular;
|
|
145
|
-
recipe: {
|
|
146
|
-
widthM: number;
|
|
147
|
-
depthM: number;
|
|
148
|
-
chairGapM: number;
|
|
149
|
-
chairPitchM?: number;
|
|
150
|
-
};
|
|
151
|
-
labels: TableLabels;
|
|
152
|
-
chairsBySide: {
|
|
153
|
-
top: SeatSlot[];
|
|
154
|
-
right: SeatSlot[];
|
|
155
|
-
bottom: SeatSlot[];
|
|
156
|
-
left: SeatSlot[];
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
export type RoundTable = GroupBase & {
|
|
160
|
-
kind: SeatingKind.Round;
|
|
161
|
-
recipe: {
|
|
162
|
-
diameterM: number;
|
|
163
|
-
chairGapM: number;
|
|
164
|
-
startAngleDeg: number;
|
|
165
|
-
};
|
|
166
|
-
labels: TableLabels;
|
|
167
|
-
chairs: SeatSlot[];
|
|
168
|
-
};
|
|
169
|
-
export type SeatingGroup = StraightRows | CurvedRows | RectangularTable | RoundTable;
|
|
170
|
-
export type GeneralAdmission = DrawableBase & {
|
|
171
|
-
kind: AreaKind.GeneralAdmission;
|
|
172
|
-
sectionId: UUID | null;
|
|
173
|
-
label: string;
|
|
174
|
-
labelStyle: LabelStyle;
|
|
175
|
-
capacity: number;
|
|
176
|
-
shape: {
|
|
177
|
-
kind: ShapeKind.Rectangle;
|
|
178
|
-
widthM: number;
|
|
179
|
-
heightM: number;
|
|
180
|
-
cornerRadiusM: number;
|
|
181
|
-
} | {
|
|
182
|
-
kind: ShapeKind.Polygon;
|
|
183
|
-
boundary: PolygonM;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
export type DecorationStyle = {
|
|
187
|
-
fill?: Paint;
|
|
188
|
-
stroke?: Paint;
|
|
189
|
-
strokeWidthM?: number;
|
|
190
|
-
};
|
|
191
|
-
export type Decoration = DrawableBase & ({
|
|
192
|
-
kind: DecorationKind.Text;
|
|
193
|
-
text: string;
|
|
194
|
-
fontSizeM: number;
|
|
195
|
-
align: LabelAlignment;
|
|
196
|
-
} | {
|
|
197
|
-
kind: DecorationKind.Rectangle;
|
|
198
|
-
sizeM: SizeM;
|
|
199
|
-
cornerRadiusM: number;
|
|
200
|
-
} | {
|
|
201
|
-
kind: DecorationKind.Circle;
|
|
202
|
-
radiusM: number;
|
|
203
|
-
} | {
|
|
204
|
-
kind: DecorationKind.Line;
|
|
205
|
-
pointsM: PointM[];
|
|
206
|
-
} | {
|
|
207
|
-
kind: DecorationKind.Polygon;
|
|
208
|
-
boundary: PolygonM;
|
|
209
|
-
} | {
|
|
210
|
-
kind: DecorationKind.Icon;
|
|
211
|
-
iconId: VenueGlyph;
|
|
212
|
-
sizeM: SizeM;
|
|
213
|
-
} | {
|
|
214
|
-
kind: DecorationKind.Image;
|
|
215
|
-
assetId: UUID;
|
|
216
|
-
sizeM: SizeM;
|
|
217
|
-
opacity: number;
|
|
218
|
-
}) & {
|
|
219
|
-
style?: DecorationStyle;
|
|
220
|
-
};
|
|
221
|
-
export type SectionLabelPlacement = {
|
|
222
|
-
positionM: PointM;
|
|
223
|
-
rotationDeg: number;
|
|
224
|
-
align: LabelAlignment;
|
|
225
|
-
};
|
|
226
|
-
export declare enum SectionOutlineRole {
|
|
227
|
-
Boundary = "boundary",
|
|
228
|
-
Overview = "overview"
|
|
229
|
-
}
|
|
230
|
-
export type Section = {
|
|
231
|
-
id: UUID;
|
|
232
|
-
label: string;
|
|
233
|
-
displayLabel?: string;
|
|
234
|
-
outline?: PolygonM;
|
|
235
|
-
outlineRole?: SectionOutlineRole;
|
|
236
|
-
style?: DecorationStyle;
|
|
237
|
-
labelPlacement?: SectionLabelPlacement;
|
|
238
|
-
labelStyle: LabelStyle;
|
|
239
|
-
};
|
|
240
|
-
export type Collection = DrawableBase & {
|
|
241
|
-
name: string;
|
|
242
|
-
};
|
|
243
|
-
export type AssetRef = {
|
|
244
|
-
id: UUID;
|
|
245
|
-
mimeType: "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml";
|
|
246
|
-
};
|
|
247
|
-
export type PhysicalDocumentV1 = {
|
|
248
|
-
schemaVersion: 1;
|
|
249
|
-
mapId: UUID;
|
|
250
|
-
name: string;
|
|
251
|
-
coordinateSystem: {
|
|
252
|
-
unit: "metre";
|
|
253
|
-
xAxis: "right";
|
|
254
|
-
yAxis: "down";
|
|
255
|
-
rotation: "clockwise";
|
|
256
|
-
};
|
|
257
|
-
background: Paint;
|
|
258
|
-
sections: Section[];
|
|
259
|
-
collections: Collection[];
|
|
260
|
-
seatingGroups: SeatingGroup[];
|
|
261
|
-
areas: GeneralAdmission[];
|
|
262
|
-
decorations: Decoration[];
|
|
263
|
-
assets: AssetRef[];
|
|
264
|
-
};
|
|
265
|
-
export declare enum EntityFamily {
|
|
266
|
-
Group = "group",
|
|
267
|
-
Area = "area",
|
|
268
|
-
Decoration = "decoration",
|
|
269
|
-
Collection = "collection",
|
|
270
|
-
Section = "section",
|
|
271
|
-
Asset = "asset",
|
|
272
|
-
Seat = "seat",
|
|
273
|
-
Row = "row"
|
|
274
|
-
}
|
|
275
|
-
export declare enum SeatingKind {
|
|
276
|
-
Straight = "straightRows",
|
|
277
|
-
Curved = "curvedRows",
|
|
278
|
-
Rectangular = "rectangularTable",
|
|
279
|
-
Round = "roundTable"
|
|
280
|
-
}
|
|
281
|
-
export declare enum DecorationKind {
|
|
282
|
-
Polygon = "polygon",
|
|
283
|
-
Text = "text",
|
|
284
|
-
Rectangle = "rectangle",
|
|
285
|
-
Circle = "circle",
|
|
286
|
-
Line = "line",
|
|
287
|
-
Icon = "icon",
|
|
288
|
-
Image = "image"
|
|
289
|
-
}
|
|
290
|
-
export declare enum AreaKind {
|
|
291
|
-
GeneralAdmission = "generalAdmission"
|
|
292
|
-
}
|
|
293
|
-
export declare enum VenueGlyph {
|
|
294
|
-
Stage = "stage",
|
|
295
|
-
Entrance = "entrance",
|
|
296
|
-
Exit = "exit",
|
|
297
|
-
Bar = "bar",
|
|
298
|
-
Restroom = "restroom",
|
|
299
|
-
Accessible = "accessible"
|
|
300
|
-
}
|
|
301
|
-
export declare enum ShapeKind {
|
|
302
|
-
Rectangle = "rectangle",
|
|
303
|
-
Polygon = "polygon"
|
|
304
|
-
}
|
|
305
|
-
export declare enum CurveMode {
|
|
306
|
-
Sweep = "fixedSweep",
|
|
307
|
-
Pitch = "fixedPitch"
|
|
308
|
-
}
|
|
309
|
-
export type Drawable = SeatingGroup | GeneralAdmission | Decoration | Collection;
|
|
310
|
-
export type EntityRef = {
|
|
311
|
-
family: EntityFamily;
|
|
312
|
-
id: UUID;
|
|
313
|
-
};
|
package/dist/types.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
// Structural capacity; the measured qualification workload remains 50,000 seats.
|
|
2
|
-
export const DocumentLimits = {
|
|
3
|
-
PhysicalSeats: 100_000,
|
|
4
|
-
JsonBytes: 64 * 1024 * 1024,
|
|
5
|
-
};
|
|
6
|
-
export var NumberingScheme;
|
|
7
|
-
(function (NumberingScheme) {
|
|
8
|
-
NumberingScheme["Numeric"] = "numeric";
|
|
9
|
-
NumberingScheme["Odd"] = "odd";
|
|
10
|
-
NumberingScheme["Even"] = "even";
|
|
11
|
-
NumberingScheme["Alphabetic"] = "alphabetic";
|
|
12
|
-
})(NumberingScheme || (NumberingScheme = {}));
|
|
13
|
-
export var LabelDirection;
|
|
14
|
-
(function (LabelDirection) {
|
|
15
|
-
LabelDirection["Forward"] = "forward";
|
|
16
|
-
LabelDirection["Reverse"] = "reverse";
|
|
17
|
-
})(LabelDirection || (LabelDirection = {}));
|
|
18
|
-
export var RowLabelPosition;
|
|
19
|
-
(function (RowLabelPosition) {
|
|
20
|
-
RowLabelPosition["Left"] = "left";
|
|
21
|
-
RowLabelPosition["Right"] = "right";
|
|
22
|
-
RowLabelPosition["Both"] = "both";
|
|
23
|
-
})(RowLabelPosition || (RowLabelPosition = {}));
|
|
24
|
-
export var RowAlignment;
|
|
25
|
-
(function (RowAlignment) {
|
|
26
|
-
RowAlignment["Start"] = "start";
|
|
27
|
-
RowAlignment["Center"] = "center";
|
|
28
|
-
RowAlignment["End"] = "end";
|
|
29
|
-
})(RowAlignment || (RowAlignment = {}));
|
|
30
|
-
export var LabelAlignment;
|
|
31
|
-
(function (LabelAlignment) {
|
|
32
|
-
LabelAlignment["Left"] = "left";
|
|
33
|
-
LabelAlignment["Center"] = "center";
|
|
34
|
-
LabelAlignment["Right"] = "right";
|
|
35
|
-
})(LabelAlignment || (LabelAlignment = {}));
|
|
36
|
-
export var SectionOutlineRole;
|
|
37
|
-
(function (SectionOutlineRole) {
|
|
38
|
-
SectionOutlineRole["Boundary"] = "boundary";
|
|
39
|
-
SectionOutlineRole["Overview"] = "overview";
|
|
40
|
-
})(SectionOutlineRole || (SectionOutlineRole = {}));
|
|
41
|
-
export var EntityFamily;
|
|
42
|
-
(function (EntityFamily) {
|
|
43
|
-
EntityFamily["Group"] = "group";
|
|
44
|
-
EntityFamily["Area"] = "area";
|
|
45
|
-
EntityFamily["Decoration"] = "decoration";
|
|
46
|
-
EntityFamily["Collection"] = "collection";
|
|
47
|
-
EntityFamily["Section"] = "section";
|
|
48
|
-
EntityFamily["Asset"] = "asset";
|
|
49
|
-
EntityFamily["Seat"] = "seat";
|
|
50
|
-
EntityFamily["Row"] = "row";
|
|
51
|
-
})(EntityFamily || (EntityFamily = {}));
|
|
52
|
-
export var SeatingKind;
|
|
53
|
-
(function (SeatingKind) {
|
|
54
|
-
SeatingKind["Straight"] = "straightRows";
|
|
55
|
-
SeatingKind["Curved"] = "curvedRows";
|
|
56
|
-
SeatingKind["Rectangular"] = "rectangularTable";
|
|
57
|
-
SeatingKind["Round"] = "roundTable";
|
|
58
|
-
})(SeatingKind || (SeatingKind = {}));
|
|
59
|
-
export var DecorationKind;
|
|
60
|
-
(function (DecorationKind) {
|
|
61
|
-
DecorationKind["Polygon"] = "polygon";
|
|
62
|
-
DecorationKind["Text"] = "text";
|
|
63
|
-
DecorationKind["Rectangle"] = "rectangle";
|
|
64
|
-
DecorationKind["Circle"] = "circle";
|
|
65
|
-
DecorationKind["Line"] = "line";
|
|
66
|
-
DecorationKind["Icon"] = "icon";
|
|
67
|
-
DecorationKind["Image"] = "image";
|
|
68
|
-
})(DecorationKind || (DecorationKind = {}));
|
|
69
|
-
export var AreaKind;
|
|
70
|
-
(function (AreaKind) {
|
|
71
|
-
AreaKind["GeneralAdmission"] = "generalAdmission";
|
|
72
|
-
})(AreaKind || (AreaKind = {}));
|
|
73
|
-
export var VenueGlyph;
|
|
74
|
-
(function (VenueGlyph) {
|
|
75
|
-
VenueGlyph["Stage"] = "stage";
|
|
76
|
-
VenueGlyph["Entrance"] = "entrance";
|
|
77
|
-
VenueGlyph["Exit"] = "exit";
|
|
78
|
-
VenueGlyph["Bar"] = "bar";
|
|
79
|
-
VenueGlyph["Restroom"] = "restroom";
|
|
80
|
-
VenueGlyph["Accessible"] = "accessible";
|
|
81
|
-
})(VenueGlyph || (VenueGlyph = {}));
|
|
82
|
-
export var ShapeKind;
|
|
83
|
-
(function (ShapeKind) {
|
|
84
|
-
ShapeKind["Rectangle"] = "rectangle";
|
|
85
|
-
ShapeKind["Polygon"] = "polygon";
|
|
86
|
-
})(ShapeKind || (ShapeKind = {}));
|
|
87
|
-
export var CurveMode;
|
|
88
|
-
(function (CurveMode) {
|
|
89
|
-
CurveMode["Sweep"] = "fixedSweep";
|
|
90
|
-
CurveMode["Pitch"] = "fixedPitch";
|
|
91
|
-
})(CurveMode || (CurveMode = {}));
|