@snaptrude/plugin-core 1.0.2-plainpoint-20261026.2 → 1.0.2-plainpoint-20261102.2
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/AGENTS.md +1 -0
- package/CHANGELOG.md +12 -0
- package/api-manifest.json +116 -39
- package/dist/api/core/camera/index.d.ts +4 -2
- package/dist/api/core/camera/index.d.ts.map +1 -1
- package/dist/api/core/storeys/index.d.ts +5 -0
- package/dist/api/core/storeys/index.d.ts.map +1 -1
- package/dist/api/design/create/bulk-items.d.ts +64 -12
- package/dist/api/design/create/bulk-items.d.ts.map +1 -1
- package/dist/api/design/create/index.d.ts +67 -32
- package/dist/api/design/create/index.d.ts.map +1 -1
- package/dist/api/design/create/opening-fields.d.ts +18 -6
- package/dist/api/design/create/opening-fields.d.ts.map +1 -1
- package/dist/api/design/erase/index.d.ts +2 -10
- package/dist/api/design/erase/index.d.ts.map +1 -1
- package/dist/api/design/index.d.ts +5 -0
- package/dist/api/design/index.d.ts.map +1 -1
- package/dist/api/design/text.d.ts +400 -0
- package/dist/api/design/text.d.ts.map +1 -0
- package/dist/api/entity/story.d.ts +4 -0
- package/dist/api/entity/story.d.ts.map +1 -1
- package/dist/api/presentation/drawings.d.ts +45 -0
- package/dist/api/presentation/drawings.d.ts.map +1 -1
- package/dist/api/presentation/graphics.d.ts +4 -0
- package/dist/api/presentation/graphics.d.ts.map +1 -1
- package/dist/api/presentation/placedViews.d.ts +29 -1
- package/dist/api/presentation/placedViews.d.ts.map +1 -1
- package/dist/api/presentation/standards.d.ts +14 -0
- package/dist/api/presentation/standards.d.ts.map +1 -1
- package/dist/api/presentation/views.d.ts +5 -1
- package/dist/api/presentation/views.d.ts.map +1 -1
- package/dist/index.cjs +2209 -2102
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2197 -2102
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/core/camera/index.ts +4 -2
- package/src/api/core/storeys/index.ts +5 -0
- package/src/api/design/create/bulk-items.ts +4 -0
- package/src/api/design/create/index.ts +7 -20
- package/src/api/design/create/opening-fields.ts +7 -7
- package/src/api/design/erase/index.ts +2 -2
- package/src/api/design/index.ts +5 -0
- package/src/api/design/text.ts +394 -0
- package/src/api/entity/story.ts +4 -0
- package/src/api/presentation/graphics.ts +4 -1
- package/src/api/presentation/placedViews.ts +12 -0
- package/src/api/presentation/standards.ts +6 -0
- package/src/api/presentation/views.ts +7 -2
- package/test/designText.test.mjs +72 -0
- package/test/paperPensContract.test.mjs +39 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { PluginApiReturn } from "../../types";
|
|
3
|
+
import { ComponentHandle, Vec3Handle } from "../../handles";
|
|
4
|
+
/**
|
|
5
|
+
* Authored text — what the Text and Annotate tools place on a drawing.
|
|
6
|
+
*
|
|
7
|
+
* A text is a single line of words drawn flat in its drawing: a **plain text**
|
|
8
|
+
* is centred on its position; an **annotation** is the same text with a leader,
|
|
9
|
+
* a line from an arrowhead (the point it labels) to the text's position, then a
|
|
10
|
+
* short landing to where the words start. Texts are scene components, so their
|
|
11
|
+
* id is a {@linkcode ComponentHandle} and the generic component APIs work on
|
|
12
|
+
* them:
|
|
13
|
+
*
|
|
14
|
+
* - delete: `design.delete.entities`
|
|
15
|
+
* - move / rotate / mirror: `design.transform.*` (the leader travels with the text)
|
|
16
|
+
* - copy: `design.create.copy`
|
|
17
|
+
* - hide / show / isolate: `design.visibility.*`
|
|
18
|
+
* - lock / unlock: `design.lock` / `design.unlock`
|
|
19
|
+
* - select: `design.selection.*`
|
|
20
|
+
*
|
|
21
|
+
* **Where a text lives.** Plan text belongs to one storey and is drawn only in
|
|
22
|
+
* that storey's plan (never in 3D). Text placed while a section or elevation is
|
|
23
|
+
* open belongs to that drawing and is drawn only there. The record's `drawing`
|
|
24
|
+
* and `drawingId` say which.
|
|
25
|
+
*
|
|
26
|
+
* **Size and pens.** A text has no size of its own: every text draws at the
|
|
27
|
+
* project's Text size (Object Styles → Text, `presentation.standards`
|
|
28
|
+
* `annotation.Text.textMm`, paper mm) at the active view scale, and the leader
|
|
29
|
+
* draws with the Text category's projection pen
|
|
30
|
+
* (`presentation.graphics` / `presentation.standards` `objectStyles.Text`).
|
|
31
|
+
* Present sheets restyle all texts of a placed view at once through the
|
|
32
|
+
* `"Text"` and `"Annotation"` categories of
|
|
33
|
+
* `presentation.placedViews.updateStyles` (colour, font, leader visibility).
|
|
34
|
+
*
|
|
35
|
+
* **Fonts.** `fontFamily` is a Google Fonts family (`"Inter"`, `"Roboto"`,
|
|
36
|
+
* `"Open Sans"`, …) or one of the built-ins `"Arial"`, `"Helvetica"`,
|
|
37
|
+
* `"Times New Roman"`, `"Courier New"`, matched case-insensitively and stored
|
|
38
|
+
* in its canonical spelling; an unknown family is refused (`VALIDATION`). A
|
|
39
|
+
* font style the family does not have falls back to `"Regular"`, as in the
|
|
40
|
+
* Properties panel, so read back the style that applied.
|
|
41
|
+
*
|
|
42
|
+
* **Units.** Positions are world points in Babylon units (1 BU = 0.254 m).
|
|
43
|
+
*
|
|
44
|
+
* Every mutator here commits through the engine's command manager: one undo
|
|
45
|
+
* entry per call, autosaved, replayed to collaborators.
|
|
46
|
+
*
|
|
47
|
+
* Accessed via `snaptrude.design.text`.
|
|
48
|
+
*/
|
|
49
|
+
export declare abstract class PluginDesignTextApi {
|
|
50
|
+
constructor();
|
|
51
|
+
/**
|
|
52
|
+
* Place a text, or an annotation when `options.arrowhead` is given.
|
|
53
|
+
*
|
|
54
|
+
* Where it goes:
|
|
55
|
+
* - `options.storey` given → plan text on that storey, at its floor level
|
|
56
|
+
* (the `y` of `position` is ignored).
|
|
57
|
+
* - otherwise, with a section or elevation open on the canvas → that
|
|
58
|
+
* drawing; `position` (and `arrowhead`) are projected onto its plane.
|
|
59
|
+
* - otherwise → plan text on the active storey.
|
|
60
|
+
*
|
|
61
|
+
* The text is created unrotated (it reads along +X in plan); rotate it with
|
|
62
|
+
* `design.transform.rotate`. The font style falls back to `"Regular"` when the
|
|
63
|
+
* family has no such style.
|
|
64
|
+
*
|
|
65
|
+
* @param position - World point the text is placed at: the centre of a plain
|
|
66
|
+
* text, or the leader's text end (where the landing starts) of an
|
|
67
|
+
* annotation.
|
|
68
|
+
* @param content - The words, one line (no line breaks), not blank.
|
|
69
|
+
* @param options - `arrowhead` (world point the leader points at; makes an
|
|
70
|
+
* annotation), `color` (`#rrggbb`, default `#000000`), `fontFamily`
|
|
71
|
+
* (see **Fonts** above, default `"Inter"`), `fontStyle` (default
|
|
72
|
+
* `"Regular"`), `storey` (plan text on this storey).
|
|
73
|
+
* @returns The new text's {@linkcode ComponentHandle}.
|
|
74
|
+
* @throws `VALIDATION` for malformed arguments, blank or multi-line
|
|
75
|
+
* `content`, an unknown `fontFamily`, or an `arrowhead` on top of
|
|
76
|
+
* `position`; `PRECONDITION_FAILED`
|
|
77
|
+
* when `storey` does not exist or the editor is not mounted;
|
|
78
|
+
* `METHOD_NOT_PERMITTED` when plugin writes are disabled.
|
|
79
|
+
*
|
|
80
|
+
* @examplePrompt Label the living room "LIVING" on the plan
|
|
81
|
+
* @examplePrompt Add an annotation pointing at this column saying "RCC 300x300"
|
|
82
|
+
* @examplePrompt Write "NORTH ENTRY" in red bold text at the entrance on level 2
|
|
83
|
+
*
|
|
84
|
+
* # Example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const { design, core } = snaptrude
|
|
87
|
+
* const v = core.math.vec3
|
|
88
|
+
* // A plain label on storey 1.
|
|
89
|
+
* await design.text.create(await v.new(10, 0, 20), "LIVING", { storey: 1 })
|
|
90
|
+
* // An annotation whose leader points at a wall corner.
|
|
91
|
+
* await design.text.create(await v.new(30, 0, 40), "Shear wall", {
|
|
92
|
+
* arrowhead: await v.new(22, 0, 32),
|
|
93
|
+
* color: "#c62828",
|
|
94
|
+
* fontStyle: "Bold",
|
|
95
|
+
* })
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
abstract create(position: Vec3Handle, content: string, options?: {
|
|
99
|
+
arrowhead?: Vec3Handle;
|
|
100
|
+
color?: string;
|
|
101
|
+
fontFamily?: string;
|
|
102
|
+
fontStyle?: PluginTextFontStyle;
|
|
103
|
+
storey?: number;
|
|
104
|
+
}): PluginApiReturn<ComponentHandle>;
|
|
105
|
+
/**
|
|
106
|
+
* List the texts and annotations of every building in the active design
|
|
107
|
+
* option as full records (each carries its `buildingId`).
|
|
108
|
+
*
|
|
109
|
+
* Filters combine with AND: `storeys` keeps texts on those storeys (plan
|
|
110
|
+
* text, and texts of a section or elevation, carry the storey they were
|
|
111
|
+
* placed from), `kind` keeps only plain texts or only annotations,
|
|
112
|
+
* `isHidden` only the ones whose user Hide flag equals the value given.
|
|
113
|
+
*
|
|
114
|
+
* @param options - `storeys`, `kind`, `isHidden` filters (all optional,
|
|
115
|
+
* ANDed).
|
|
116
|
+
* @returns The matching {@linkcode PluginText} records (`[]` when nothing
|
|
117
|
+
* matches).
|
|
118
|
+
* @throws `VALIDATION` for malformed filters.
|
|
119
|
+
*
|
|
120
|
+
* @examplePrompt List all the text labels on level 1
|
|
121
|
+
* @examplePrompt Which annotations are in this model?
|
|
122
|
+
* @examplePrompt Find the text that says "LOBBY"
|
|
123
|
+
*
|
|
124
|
+
* @performance Array read — one host round-trip returns every record.
|
|
125
|
+
* Filter in one call rather than calling `get` per text.
|
|
126
|
+
*
|
|
127
|
+
* # Example
|
|
128
|
+
* ```ts
|
|
129
|
+
* const texts = await snaptrude.design.text.list({ storeys: [1] })
|
|
130
|
+
* const lobby = texts.find((t) => t.content === "LOBBY")
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
abstract list(options?: {
|
|
134
|
+
storeys?: number[];
|
|
135
|
+
kind?: PluginTextKind;
|
|
136
|
+
isHidden?: boolean;
|
|
137
|
+
}): PluginApiReturn<PluginText[]>;
|
|
138
|
+
/**
|
|
139
|
+
* Read one text by handle.
|
|
140
|
+
*
|
|
141
|
+
* Returns `null` — rather than throwing — when the id is not a live text
|
|
142
|
+
* (deleted, undone, or another kind of component), so a handle kept across a
|
|
143
|
+
* delete or an undo can be polled safely.
|
|
144
|
+
*
|
|
145
|
+
* @param text - The text to read.
|
|
146
|
+
* @returns Its {@linkcode PluginText} record, or `null`.
|
|
147
|
+
* @throws `VALIDATION` if `text` is not a non-empty id string.
|
|
148
|
+
*
|
|
149
|
+
* @examplePrompt What does this text say?
|
|
150
|
+
* @examplePrompt Read the annotation I just placed
|
|
151
|
+
*
|
|
152
|
+
* # Example
|
|
153
|
+
* ```ts
|
|
154
|
+
* const t = await snaptrude.design.text.get(handle)
|
|
155
|
+
* if (t?.leader) console.log(t.content, "points at", t.leader.arrowhead)
|
|
156
|
+
* ```
|
|
157
|
+
*/
|
|
158
|
+
abstract get(text: ComponentHandle): PluginApiReturn<PluginText | null>;
|
|
159
|
+
/**
|
|
160
|
+
* Change the words, colour or font of one or more texts — the same edit as
|
|
161
|
+
* the Properties panel. Fields left out keep each text's own value. A font
|
|
162
|
+
* style the (new) family does not have falls back to `"Regular"`, as in the
|
|
163
|
+
* panel. One undo entry for the whole batch.
|
|
164
|
+
*
|
|
165
|
+
* @param texts - The texts to change (at least one).
|
|
166
|
+
* @param patch - `content`, `color`, `fontFamily`, `fontStyle` (at least
|
|
167
|
+
* one).
|
|
168
|
+
* @returns The texts that actually changed, as
|
|
169
|
+
* {@linkcode PluginTextChangeResult} — texts already matching the patch
|
|
170
|
+
* are omitted.
|
|
171
|
+
* @throws `VALIDATION` for malformed arguments, blank / multi-line
|
|
172
|
+
* `content` or an unknown `fontFamily`; `HANDLE_INVALID` if any handle
|
|
173
|
+
* is not a live text (the whole call rejects before anything changes);
|
|
174
|
+
* `PRECONDITION_FAILED` if any text is locked or outside the active
|
|
175
|
+
* design option; `METHOD_NOT_PERMITTED`
|
|
176
|
+
* when plugin writes are disabled.
|
|
177
|
+
*
|
|
178
|
+
* @examplePrompt Make all the room labels bold
|
|
179
|
+
* @examplePrompt Change this annotation to read "Fire exit"
|
|
180
|
+
* @examplePrompt Use Roboto in blue for every text on level 2
|
|
181
|
+
*
|
|
182
|
+
* @performance Array API — pass the whole set in one call (one host
|
|
183
|
+
* round-trip, one undo entry). Never loop this per text.
|
|
184
|
+
*
|
|
185
|
+
* # Example
|
|
186
|
+
* ```ts
|
|
187
|
+
* const text = snaptrude.design.text
|
|
188
|
+
* const level2 = await text.list({ storeys: [2] })
|
|
189
|
+
* await text.update(level2.map((t) => t.id), { fontFamily: "Roboto", color: "#1565c0" })
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
abstract update(texts: ComponentHandle[], patch: PluginTextPatch): PluginApiReturn<PluginTextChangeResult>;
|
|
193
|
+
/**
|
|
194
|
+
* Point a text's leader at a new place — the same edit as dragging an
|
|
195
|
+
* annotation's arrowhead with the Edit tool. Passing `null` removes the
|
|
196
|
+
* leader (the annotation becomes a plain text); giving a plain text an
|
|
197
|
+
* arrowhead turns it into an annotation. The text itself does not move. To
|
|
198
|
+
* move the text while its arrowhead stays put, move it with
|
|
199
|
+
* `design.transform.move`, then call this with the old `leader.arrowhead`.
|
|
200
|
+
*
|
|
201
|
+
* @param text - The text to change.
|
|
202
|
+
* @param arrowhead - World point the leader points at (projected onto the
|
|
203
|
+
* text's drawing plane), or `null` to remove the leader.
|
|
204
|
+
* @returns The updated {@linkcode PluginText} record.
|
|
205
|
+
* @throws `VALIDATION` for malformed arguments or an arrowhead on top of the
|
|
206
|
+
* text's position; `HANDLE_INVALID` if `text` is not a live text;
|
|
207
|
+
* `PRECONDITION_FAILED` if it is locked or outside the active design
|
|
208
|
+
* option; `METHOD_NOT_PERMITTED` when plugin writes are disabled.
|
|
209
|
+
*
|
|
210
|
+
* @examplePrompt Point this annotation at the door instead
|
|
211
|
+
* @examplePrompt Remove the leader from this label
|
|
212
|
+
*
|
|
213
|
+
* # Example
|
|
214
|
+
* ```ts
|
|
215
|
+
* const { design, core } = snaptrude
|
|
216
|
+
* await design.text.setLeader(handle, await core.math.vec3.new(12, 0, 8))
|
|
217
|
+
* ```
|
|
218
|
+
*/
|
|
219
|
+
abstract setLeader(text: ComponentHandle, arrowhead: Vec3Handle | null): PluginApiReturn<PluginText>;
|
|
220
|
+
}
|
|
221
|
+
/** The four font styles a text can use (the Properties panel's Style list). */
|
|
222
|
+
export declare const PluginTextFontStyle: z.ZodEnum<{
|
|
223
|
+
Regular: "Regular";
|
|
224
|
+
Bold: "Bold";
|
|
225
|
+
Italic: "Italic";
|
|
226
|
+
"Bold Italic": "Bold Italic";
|
|
227
|
+
}>;
|
|
228
|
+
export type PluginTextFontStyle = z.infer<typeof PluginTextFontStyle>;
|
|
229
|
+
/** `"text"` — a plain text; `"annotation"` — a text with a leader. */
|
|
230
|
+
export declare const PluginTextKind: z.ZodEnum<{
|
|
231
|
+
text: "text";
|
|
232
|
+
annotation: "annotation";
|
|
233
|
+
}>;
|
|
234
|
+
export type PluginTextKind = z.infer<typeof PluginTextKind>;
|
|
235
|
+
/**
|
|
236
|
+
* The drawing a text belongs to: `"plan"` (its storey's plan), `"section"`,
|
|
237
|
+
* `"elevation"`, or `"view"` (a saved 2D view).
|
|
238
|
+
*/
|
|
239
|
+
export declare const PluginTextDrawing: z.ZodEnum<{
|
|
240
|
+
elevation: "elevation";
|
|
241
|
+
view: "view";
|
|
242
|
+
plan: "plan";
|
|
243
|
+
section: "section";
|
|
244
|
+
}>;
|
|
245
|
+
export type PluginTextDrawing = z.infer<typeof PluginTextDrawing>;
|
|
246
|
+
/**
|
|
247
|
+
* One text or annotation. Positions are world points in Babylon units.
|
|
248
|
+
*
|
|
249
|
+
* | Property | Type | Description |
|
|
250
|
+
* |---|---|---|
|
|
251
|
+
* | `id` | {@linkcode ComponentHandle} | The text's handle |
|
|
252
|
+
* | `kind` | {@linkcode PluginTextKind} | `"text"` or `"annotation"` (has a leader) |
|
|
253
|
+
* | `content` | `string` | The words |
|
|
254
|
+
* | `color` | `string` | `#rrggbb` |
|
|
255
|
+
* | `fontFamily` | `string` | Font family |
|
|
256
|
+
* | `fontStyle` | {@linkcode PluginTextFontStyle} | Font style |
|
|
257
|
+
* | `position` | {@linkcode Vec3Components} | Centre of a plain text; the leader's text end of an annotation |
|
|
258
|
+
* | `rotation` | `number` | Rotation in its drawing in degrees, positive clockwise as seen on screen — in plan, the sense a positive `design.transform.rotate` angle turns it (0 = reads along +X) |
|
|
259
|
+
* | `leader` | `{ arrowhead: Vec3Components } \| null` | Where the leader points; `null` for plain text |
|
|
260
|
+
* | `storey` | `number` | Storey it belongs to |
|
|
261
|
+
* | `buildingId` | `string \| null` | Building it belongs to |
|
|
262
|
+
* | `drawing` | {@linkcode PluginTextDrawing} | The drawing it is drawn in |
|
|
263
|
+
* | `drawingId` | `string \| null` | The section id, elevation preset or view id; `null` for plan text |
|
|
264
|
+
* | `isHidden` | `boolean` | The user Hide flag (`design.visibility.hide` / `show`) |
|
|
265
|
+
* | `isLocked` | `boolean` | Locked against edits — its own lock (`design.lock` / `unlock`) or a locked group or design option, as `design.isLocked` reports |
|
|
266
|
+
*/
|
|
267
|
+
export declare const PluginText: z.ZodObject<{
|
|
268
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
269
|
+
kind: z.ZodEnum<{
|
|
270
|
+
text: "text";
|
|
271
|
+
annotation: "annotation";
|
|
272
|
+
}>;
|
|
273
|
+
content: z.ZodString;
|
|
274
|
+
color: z.ZodString;
|
|
275
|
+
fontFamily: z.ZodString;
|
|
276
|
+
fontStyle: z.ZodEnum<{
|
|
277
|
+
Regular: "Regular";
|
|
278
|
+
Bold: "Bold";
|
|
279
|
+
Italic: "Italic";
|
|
280
|
+
"Bold Italic": "Bold Italic";
|
|
281
|
+
}>;
|
|
282
|
+
position: z.ZodObject<{
|
|
283
|
+
x: z.ZodNumber;
|
|
284
|
+
y: z.ZodNumber;
|
|
285
|
+
z: z.ZodNumber;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
rotation: z.ZodNumber;
|
|
288
|
+
leader: z.ZodNullable<z.ZodObject<{
|
|
289
|
+
arrowhead: z.ZodObject<{
|
|
290
|
+
x: z.ZodNumber;
|
|
291
|
+
y: z.ZodNumber;
|
|
292
|
+
z: z.ZodNumber;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
}, z.core.$strip>>;
|
|
295
|
+
storey: z.ZodNumber;
|
|
296
|
+
buildingId: z.ZodNullable<z.ZodString>;
|
|
297
|
+
drawing: z.ZodEnum<{
|
|
298
|
+
elevation: "elevation";
|
|
299
|
+
view: "view";
|
|
300
|
+
plan: "plan";
|
|
301
|
+
section: "section";
|
|
302
|
+
}>;
|
|
303
|
+
drawingId: z.ZodNullable<z.ZodString>;
|
|
304
|
+
isHidden: z.ZodBoolean;
|
|
305
|
+
isLocked: z.ZodBoolean;
|
|
306
|
+
}, z.core.$strip>;
|
|
307
|
+
export type PluginText = z.infer<typeof PluginText>;
|
|
308
|
+
/**
|
|
309
|
+
* A sparse edit for {@linkcode PluginDesignTextApi.update} — at least one
|
|
310
|
+
* field.
|
|
311
|
+
*
|
|
312
|
+
* | Property | Type | Description |
|
|
313
|
+
* |---|---|---|
|
|
314
|
+
* | `content` | `string`? | New words (one line, not blank) |
|
|
315
|
+
* | `color` | `string`? | `#rrggbb` |
|
|
316
|
+
* | `fontFamily` | `string`? | Google Fonts family (`"Inter"`, `"Roboto"`, …) or `"Arial"` / `"Helvetica"` / `"Times New Roman"` / `"Courier New"` |
|
|
317
|
+
* | `fontStyle` | {@linkcode PluginTextFontStyle}? | Falls back to `"Regular"` when the family lacks it |
|
|
318
|
+
*/
|
|
319
|
+
export declare const PluginTextPatch: z.ZodObject<{
|
|
320
|
+
content: z.ZodOptional<z.ZodString>;
|
|
321
|
+
color: z.ZodOptional<z.ZodString>;
|
|
322
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
323
|
+
fontStyle: z.ZodOptional<z.ZodEnum<{
|
|
324
|
+
Regular: "Regular";
|
|
325
|
+
Bold: "Bold";
|
|
326
|
+
Italic: "Italic";
|
|
327
|
+
"Bold Italic": "Bold Italic";
|
|
328
|
+
}>>;
|
|
329
|
+
}, z.core.$strict>;
|
|
330
|
+
export type PluginTextPatch = z.infer<typeof PluginTextPatch>;
|
|
331
|
+
/**
|
|
332
|
+
* Result of {@linkcode PluginDesignTextApi.update}: the texts the call
|
|
333
|
+
* changed.
|
|
334
|
+
*
|
|
335
|
+
* | Property | Type | Description |
|
|
336
|
+
* |---|---|---|
|
|
337
|
+
* | `affected` | {@linkcode ComponentHandle}`[]` | The texts the call changed |
|
|
338
|
+
*/
|
|
339
|
+
export declare const PluginTextChangeResult: z.ZodObject<{
|
|
340
|
+
affected: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
export type PluginTextChangeResult = z.infer<typeof PluginTextChangeResult>;
|
|
343
|
+
/**
|
|
344
|
+
* Arguments for {@linkcode PluginDesignTextApi.create} (options flattened).
|
|
345
|
+
*
|
|
346
|
+
* TRANSPORT: positional args — validated host-side as this object.
|
|
347
|
+
*/
|
|
348
|
+
export declare const PluginDesignTextCreateArgs: z.ZodObject<{
|
|
349
|
+
position: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>;
|
|
350
|
+
content: z.ZodString;
|
|
351
|
+
arrowhead: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>>;
|
|
352
|
+
color: z.ZodOptional<z.ZodString>;
|
|
353
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
354
|
+
fontStyle: z.ZodOptional<z.ZodEnum<{
|
|
355
|
+
Regular: "Regular";
|
|
356
|
+
Bold: "Bold";
|
|
357
|
+
Italic: "Italic";
|
|
358
|
+
"Bold Italic": "Bold Italic";
|
|
359
|
+
}>>;
|
|
360
|
+
storey: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
}, z.core.$strip>;
|
|
362
|
+
export type PluginDesignTextCreateArgs = z.infer<typeof PluginDesignTextCreateArgs>;
|
|
363
|
+
/** Arguments for {@linkcode PluginDesignTextApi.list} (options flattened). */
|
|
364
|
+
export declare const PluginDesignTextListArgs: z.ZodObject<{
|
|
365
|
+
storeys: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
366
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
text: "text";
|
|
368
|
+
annotation: "annotation";
|
|
369
|
+
}>>;
|
|
370
|
+
isHidden: z.ZodOptional<z.ZodBoolean>;
|
|
371
|
+
}, z.core.$strip>;
|
|
372
|
+
export type PluginDesignTextListArgs = z.infer<typeof PluginDesignTextListArgs>;
|
|
373
|
+
/** Arguments for {@linkcode PluginDesignTextApi.get}. */
|
|
374
|
+
export declare const PluginDesignTextGetArgs: z.ZodObject<{
|
|
375
|
+
text: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
export type PluginDesignTextGetArgs = z.infer<typeof PluginDesignTextGetArgs>;
|
|
378
|
+
/** Arguments for {@linkcode PluginDesignTextApi.update}. */
|
|
379
|
+
export declare const PluginDesignTextUpdateArgs: z.ZodObject<{
|
|
380
|
+
texts: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
|
|
381
|
+
patch: z.ZodObject<{
|
|
382
|
+
content: z.ZodOptional<z.ZodString>;
|
|
383
|
+
color: z.ZodOptional<z.ZodString>;
|
|
384
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
385
|
+
fontStyle: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
Regular: "Regular";
|
|
387
|
+
Bold: "Bold";
|
|
388
|
+
Italic: "Italic";
|
|
389
|
+
"Bold Italic": "Bold Italic";
|
|
390
|
+
}>>;
|
|
391
|
+
}, z.core.$strict>;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
export type PluginDesignTextUpdateArgs = z.infer<typeof PluginDesignTextUpdateArgs>;
|
|
394
|
+
/** Arguments for {@linkcode PluginDesignTextApi.setLeader}. */
|
|
395
|
+
export declare const PluginDesignTextSetLeaderArgs: z.ZodObject<{
|
|
396
|
+
text: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
|
|
397
|
+
arrowhead: z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<import("../..").Handle<"vec3">, string>>>;
|
|
398
|
+
}, z.core.$strip>;
|
|
399
|
+
export type PluginDesignTextSetLeaderArgs = z.infer<typeof PluginDesignTextSetLeaderArgs>;
|
|
400
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/api/design/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAkB,UAAU,EAAE,MAAM,eAAe,CAAA;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,8BAAsB,mBAAmB;;IAGvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;aACa,MAAM,CACpB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QACR,SAAS,CAAC,EAAE,UAAU,CAAA;QACtB,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,SAAS,CAAC,EAAE,mBAAmB,CAAA;QAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,GACA,eAAe,CAAC,eAAe,CAAC;IA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AK,CAAC,OAAO,UAAU,CAAC,CAAA;AAEnD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;kBAUxB,CAAA;AACJ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE7D;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;iBAQrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED,8EAA8E;AAC9E,eAAO,MAAM,wBAAwB;;;;;;;iBAInC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E,yDAAyD;AACzD,eAAO,MAAM,uBAAuB;;iBAAsC,CAAA;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;iBAGrC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,6BAA6B;;;iBAGxC,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,6BAA6B,CACrC,CAAA"}
|
|
@@ -81,6 +81,10 @@ export declare abstract class PluginStoryApi {
|
|
|
81
81
|
* @returns A {@linkcode PluginStoryCreateResult} with `storyId` and `storyValue`
|
|
82
82
|
* @throws If a story with the given value already exists or creation fails
|
|
83
83
|
*
|
|
84
|
+
* Storeys are added at the ends of the stack only: a value above the top also creates
|
|
85
|
+
* every storey in between (returning only the requested one), and a value inside a gap
|
|
86
|
+
* is refused.
|
|
87
|
+
*
|
|
84
88
|
* @examplePrompt Add a third floor to the building
|
|
85
89
|
* @examplePrompt Create a new storey above the second floor
|
|
86
90
|
* @examplePrompt Add a basement level to this project
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../src/api/entity/story.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;GAWG;AACH,8BAAsB,cAAc;;IAGlC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;aACa,GAAG,CACjB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,sBAAsB,EAAE,GACnC,eAAe,CAAC,oBAAoB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,MAAM,IAAI,eAAe,CAAC,uBAAuB,CAAC;IAElE
|
|
1
|
+
{"version":3,"file":"story.d.ts","sourceRoot":"","sources":["../../../src/api/entity/story.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;GAWG;AACH,8BAAsB,cAAc;;IAGlC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;aACa,GAAG,CACjB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,sBAAsB,EAAE,GACnC,eAAe,CAAC,oBAAoB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,MAAM,IAAI,eAAe,CAAC,uBAAuB,CAAC;IAElE;;;;;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AqB,CAAC,CAAA;AAEzE;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB;;;;;;;iBAInC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA"}
|
|
@@ -893,6 +893,15 @@ export declare const PluginDrawingStylePatch: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
893
893
|
textMask: z.ZodOptional<z.ZodBoolean>;
|
|
894
894
|
textMaskColor: z.ZodOptional<z.ZodString>;
|
|
895
895
|
textMaskPadding: z.ZodOptional<z.ZodNumber>;
|
|
896
|
+
textFontFamily: z.ZodOptional<z.ZodString>;
|
|
897
|
+
textFontStyle: z.ZodOptional<z.ZodEnum<{
|
|
898
|
+
Regular: "Regular";
|
|
899
|
+
Bold: "Bold";
|
|
900
|
+
Italic: "Italic";
|
|
901
|
+
"Bold Italic": "Bold Italic";
|
|
902
|
+
inherit: "inherit";
|
|
903
|
+
}>>;
|
|
904
|
+
leaderVisible: z.ZodOptional<z.ZodBoolean>;
|
|
896
905
|
}, z.core.$strict>]>;
|
|
897
906
|
export type PluginDrawingStylePatch = z.infer<typeof PluginDrawingStylePatch>;
|
|
898
907
|
export declare const PluginDrawingStylesArgs: z.ZodObject<{
|
|
@@ -1319,6 +1328,15 @@ export declare const PluginDrawingStylesArgs: z.ZodObject<{
|
|
|
1319
1328
|
textMask: z.ZodOptional<z.ZodBoolean>;
|
|
1320
1329
|
textMaskColor: z.ZodOptional<z.ZodString>;
|
|
1321
1330
|
textMaskPadding: z.ZodOptional<z.ZodNumber>;
|
|
1331
|
+
textFontFamily: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
textFontStyle: z.ZodOptional<z.ZodEnum<{
|
|
1333
|
+
Regular: "Regular";
|
|
1334
|
+
Bold: "Bold";
|
|
1335
|
+
Italic: "Italic";
|
|
1336
|
+
"Bold Italic": "Bold Italic";
|
|
1337
|
+
inherit: "inherit";
|
|
1338
|
+
}>>;
|
|
1339
|
+
leaderVisible: z.ZodOptional<z.ZodBoolean>;
|
|
1322
1340
|
}, z.core.$strict>]>;
|
|
1323
1341
|
}, z.core.$strict>;
|
|
1324
1342
|
export type PluginDrawingStylesArgs = z.infer<typeof PluginDrawingStylesArgs>;
|
|
@@ -1776,6 +1794,15 @@ export declare const PluginDrawingStyleValues: z.ZodUnion<readonly [z.ZodObject<
|
|
|
1776
1794
|
textMask: z.ZodOptional<z.ZodBoolean>;
|
|
1777
1795
|
textMaskColor: z.ZodOptional<z.ZodString>;
|
|
1778
1796
|
textMaskPadding: z.ZodOptional<z.ZodNumber>;
|
|
1797
|
+
textFontFamily: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
textFontStyle: z.ZodOptional<z.ZodEnum<{
|
|
1799
|
+
Regular: "Regular";
|
|
1800
|
+
Bold: "Bold";
|
|
1801
|
+
Italic: "Italic";
|
|
1802
|
+
"Bold Italic": "Bold Italic";
|
|
1803
|
+
inherit: "inherit";
|
|
1804
|
+
}>>;
|
|
1805
|
+
leaderVisible: z.ZodOptional<z.ZodBoolean>;
|
|
1779
1806
|
}, z.core.$strict>]>;
|
|
1780
1807
|
export type PluginDrawingStyleValues = z.infer<typeof PluginDrawingStyleValues>;
|
|
1781
1808
|
/** Read-only effective settings and editable controls for one drawing category. */
|
|
@@ -2204,6 +2231,15 @@ export declare const PluginDrawingStyleCategory: z.ZodObject<{
|
|
|
2204
2231
|
textMask: z.ZodOptional<z.ZodBoolean>;
|
|
2205
2232
|
textMaskColor: z.ZodOptional<z.ZodString>;
|
|
2206
2233
|
textMaskPadding: z.ZodOptional<z.ZodNumber>;
|
|
2234
|
+
textFontFamily: z.ZodOptional<z.ZodString>;
|
|
2235
|
+
textFontStyle: z.ZodOptional<z.ZodEnum<{
|
|
2236
|
+
Regular: "Regular";
|
|
2237
|
+
Bold: "Bold";
|
|
2238
|
+
Italic: "Italic";
|
|
2239
|
+
"Bold Italic": "Bold Italic";
|
|
2240
|
+
inherit: "inherit";
|
|
2241
|
+
}>>;
|
|
2242
|
+
leaderVisible: z.ZodOptional<z.ZodBoolean>;
|
|
2207
2243
|
}, z.core.$strict>]>;
|
|
2208
2244
|
controls: z.ZodArray<z.ZodObject<{
|
|
2209
2245
|
key: z.ZodString;
|
|
@@ -2647,6 +2683,15 @@ export declare const PluginDrawingStyles: z.ZodObject<{
|
|
|
2647
2683
|
textMask: z.ZodOptional<z.ZodBoolean>;
|
|
2648
2684
|
textMaskColor: z.ZodOptional<z.ZodString>;
|
|
2649
2685
|
textMaskPadding: z.ZodOptional<z.ZodNumber>;
|
|
2686
|
+
textFontFamily: z.ZodOptional<z.ZodString>;
|
|
2687
|
+
textFontStyle: z.ZodOptional<z.ZodEnum<{
|
|
2688
|
+
Regular: "Regular";
|
|
2689
|
+
Bold: "Bold";
|
|
2690
|
+
Italic: "Italic";
|
|
2691
|
+
"Bold Italic": "Bold Italic";
|
|
2692
|
+
inherit: "inherit";
|
|
2693
|
+
}>>;
|
|
2694
|
+
leaderVisible: z.ZodOptional<z.ZodBoolean>;
|
|
2650
2695
|
}, z.core.$strict>]>;
|
|
2651
2696
|
controls: z.ZodArray<z.ZodObject<{
|
|
2652
2697
|
key: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawings.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/drawings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAA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CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAC/C;IAED;;;;;;;;;;;;;;;;;OAiBG;aACa,SAAS,IAAI,eAAe,CAAC,MAAM,EAAE,CAAC;IAEtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;aACa,MAAM,CACpB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,0BAA0B,GACnC,eAAe,CAAC,yBAAyB,CAAC;CAC9C"}
|
|
@@ -36,10 +36,12 @@ export declare const PluginGraphicsModelCategory: z.ZodEnum<{
|
|
|
36
36
|
Walls: "Walls";
|
|
37
37
|
Windows: "Windows";
|
|
38
38
|
}>;
|
|
39
|
+
/** Text is authored text and annotations; its projection pen draws their leader lines. */
|
|
39
40
|
export declare const PluginGraphicsAnnotationCategory: z.ZodEnum<{
|
|
40
41
|
Dimension: "Dimension";
|
|
41
42
|
Grids: "Grids";
|
|
42
43
|
Sections: "Sections";
|
|
44
|
+
Text: "Text";
|
|
43
45
|
}>;
|
|
44
46
|
export declare const PluginGraphicsCategory: z.ZodEnum<{
|
|
45
47
|
"Buildable Envelope": "Buildable Envelope";
|
|
@@ -61,7 +63,9 @@ export declare const PluginGraphicsCategory: z.ZodEnum<{
|
|
|
61
63
|
Dimension: "Dimension";
|
|
62
64
|
Grids: "Grids";
|
|
63
65
|
Sections: "Sections";
|
|
66
|
+
Text: "Text";
|
|
64
67
|
}>;
|
|
68
|
+
/** Text has no view override: its meshes are not hidden or halftoned by category. */
|
|
65
69
|
export declare const PluginGraphicsOverrideCategory: z.ZodEnum<{
|
|
66
70
|
"Buildable Envelope": "Buildable Envelope";
|
|
67
71
|
Ceilings: "Ceilings";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphics.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/graphics.ts"],"names":[],"mappings":"AAAA,OAAO,K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