@snaptrude/plugin-core 0.8.0 → 0.9.1

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.
Files changed (129) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/api-manifest.full.json +1350 -89
  3. package/api-manifest.json +1146 -48
  4. package/dist/api/analysis/daylight.d.ts +603 -0
  5. package/dist/api/analysis/daylight.d.ts.map +1 -0
  6. package/dist/api/analysis/heatmaps.d.ts +438 -14
  7. package/dist/api/analysis/heatmaps.d.ts.map +1 -1
  8. package/dist/api/analysis/index.d.ts +15 -0
  9. package/dist/api/analysis/index.d.ts.map +1 -1
  10. package/dist/api/analysis/solar.d.ts +249 -0
  11. package/dist/api/analysis/solar.d.ts.map +1 -0
  12. package/dist/api/analysis/weather.d.ts +193 -0
  13. package/dist/api/analysis/weather.d.ts.map +1 -0
  14. package/dist/api/core/camera/index.d.ts +37 -0
  15. package/dist/api/core/camera/index.d.ts.map +1 -1
  16. package/dist/api/core/geom/create/index.d.ts +318 -1
  17. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  18. package/dist/api/core/index.d.ts +9 -0
  19. package/dist/api/core/index.d.ts.map +1 -1
  20. package/dist/api/core/io/export/index.d.ts +3 -1
  21. package/dist/api/core/io/export/index.d.ts.map +1 -1
  22. package/dist/api/core/io/import/index.d.ts +61 -0
  23. package/dist/api/core/io/import/index.d.ts.map +1 -1
  24. package/dist/api/core/io/terrain/index.d.ts +132 -0
  25. package/dist/api/core/io/terrain/index.d.ts.map +1 -1
  26. package/dist/api/core/mode/index.d.ts +99 -0
  27. package/dist/api/core/mode/index.d.ts.map +1 -0
  28. package/dist/api/core/storeys/index.d.ts +251 -0
  29. package/dist/api/core/storeys/index.d.ts.map +1 -0
  30. package/dist/api/core/tags.d.ts +24 -0
  31. package/dist/api/core/tags.d.ts.map +1 -1
  32. package/dist/api/core/zoom/index.d.ts +4 -0
  33. package/dist/api/core/zoom/index.d.ts.map +1 -1
  34. package/dist/api/design/create/index.d.ts +115 -4
  35. package/dist/api/design/create/index.d.ts.map +1 -1
  36. package/dist/api/design/delete/index.d.ts +3 -0
  37. package/dist/api/design/delete/index.d.ts.map +1 -1
  38. package/dist/api/design/query/geometry/index.d.ts +112 -0
  39. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  40. package/dist/api/design/query/index.d.ts +4 -0
  41. package/dist/api/design/query/index.d.ts.map +1 -1
  42. package/dist/api/design/query/referenceLines.d.ts +45 -0
  43. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  44. package/dist/api/design/query/spaces.d.ts +173 -0
  45. package/dist/api/design/query/spaces.d.ts.map +1 -1
  46. package/dist/api/design/transform/index.d.ts +12 -0
  47. package/dist/api/design/transform/index.d.ts.map +1 -1
  48. package/dist/api/design/update/index.d.ts +51 -1
  49. package/dist/api/design/update/index.d.ts.map +1 -1
  50. package/dist/api/entity/buildableEnvelope.d.ts +4 -0
  51. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  52. package/dist/api/entity/referenceLine.d.ts +8 -0
  53. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  54. package/dist/api/entity/story.d.ts +20 -0
  55. package/dist/api/entity/story.d.ts.map +1 -1
  56. package/dist/api/index.d.ts +5 -0
  57. package/dist/api/index.d.ts.map +1 -1
  58. package/dist/api/presentation/annotate.d.ts +23 -4
  59. package/dist/api/presentation/annotate.d.ts.map +1 -1
  60. package/dist/api/presentation/diagrams.d.ts +64 -2
  61. package/dist/api/presentation/diagrams.d.ts.map +1 -1
  62. package/dist/api/presentation/export.d.ts +4 -0
  63. package/dist/api/presentation/export.d.ts.map +1 -1
  64. package/dist/api/presentation/import.d.ts +6 -0
  65. package/dist/api/presentation/import.d.ts.map +1 -1
  66. package/dist/api/presentation/index.d.ts +20 -1
  67. package/dist/api/presentation/index.d.ts.map +1 -1
  68. package/dist/api/presentation/placedViews.d.ts +1139 -0
  69. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  70. package/dist/api/presentation/shapes.d.ts +481 -0
  71. package/dist/api/presentation/shapes.d.ts.map +1 -0
  72. package/dist/api/presentation/sheets.d.ts +42 -0
  73. package/dist/api/presentation/sheets.d.ts.map +1 -1
  74. package/dist/api/presentation/slideshow.d.ts +125 -0
  75. package/dist/api/presentation/slideshow.d.ts.map +1 -0
  76. package/dist/api/presentation/tables.d.ts +81 -0
  77. package/dist/api/presentation/tables.d.ts.map +1 -0
  78. package/dist/api/program/site.d.ts +260 -2
  79. package/dist/api/program/site.d.ts.map +1 -1
  80. package/dist/api/program/spreadsheet.d.ts +260 -28
  81. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  82. package/dist/api/workspace/index.d.ts +505 -0
  83. package/dist/api/workspace/index.d.ts.map +1 -0
  84. package/dist/index.cjs +2904 -1761
  85. package/dist/index.cjs.map +1 -1
  86. package/dist/index.js +2762 -1761
  87. package/dist/index.js.map +1 -1
  88. package/package.json +3 -2
  89. package/scripts/generate-manifest.mjs +45 -0
  90. package/src/api/analysis/daylight.ts +470 -0
  91. package/src/api/analysis/heatmaps.ts +444 -17
  92. package/src/api/analysis/index.ts +15 -0
  93. package/src/api/analysis/solar.ts +237 -0
  94. package/src/api/analysis/weather.ts +179 -0
  95. package/src/api/core/camera/index.ts +39 -0
  96. package/src/api/core/geom/create/index.ts +344 -1
  97. package/src/api/core/index.ts +9 -0
  98. package/src/api/core/io/export/index.ts +3 -1
  99. package/src/api/core/io/import/index.ts +64 -0
  100. package/src/api/core/io/terrain/index.ts +143 -0
  101. package/src/api/core/mode/index.ts +96 -0
  102. package/src/api/core/storeys/index.ts +279 -0
  103. package/src/api/core/tags.ts +27 -0
  104. package/src/api/core/zoom/index.ts +4 -0
  105. package/src/api/design/create/index.ts +138 -1
  106. package/src/api/design/delete/index.ts +3 -0
  107. package/src/api/design/query/geometry/index.ts +125 -3
  108. package/src/api/design/query/index.ts +4 -0
  109. package/src/api/design/query/referenceLines.ts +52 -0
  110. package/src/api/design/query/spaces.ts +143 -0
  111. package/src/api/design/transform/index.ts +12 -0
  112. package/src/api/design/update/index.ts +66 -1
  113. package/src/api/entity/buildableEnvelope.ts +4 -0
  114. package/src/api/entity/referenceLine.ts +8 -0
  115. package/src/api/entity/story.ts +20 -0
  116. package/src/api/index.ts +5 -0
  117. package/src/api/presentation/annotate.ts +27 -2
  118. package/src/api/presentation/diagrams.ts +67 -2
  119. package/src/api/presentation/export.ts +4 -0
  120. package/src/api/presentation/import.ts +6 -0
  121. package/src/api/presentation/index.ts +20 -1
  122. package/src/api/presentation/placedViews.ts +1120 -0
  123. package/src/api/presentation/shapes.ts +274 -0
  124. package/src/api/presentation/sheets.ts +54 -0
  125. package/src/api/presentation/slideshow.ts +134 -0
  126. package/src/api/presentation/tables.ts +84 -0
  127. package/src/api/program/site.ts +205 -2
  128. package/src/api/program/spreadsheet.ts +251 -6
  129. package/src/api/workspace/index.ts +563 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placedViews.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/placedViews.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;;;;;;;;;;;;;GAgBG;AACH,8BAAsB,gCAAgC;;IAGpD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,IAAI,CAClB,OAAO,CAAC,EAAE,MAAM,GACf,eAAe,CAAC,uCAAuC,CAAC;IAE3D;;;;;;;;;;;;;;;;;;;OAmBG;aACa,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAAC,gBAAgB,CAAC;IAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;aACa,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,mBAAmB,EAC7B,OAAO,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,C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EAAwE;AACxE,eAAO,MAAM,8BAA8B;;;;;;;iBAIzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F,0EAA0E;AAC1E,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE/F,0EAA0E;AAC1E,eAAO,MAAM,4CAA4C;;;iBAGvD,CAAA;AACF,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAChE,OAAO,4CAA4C,CACpD,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,iCAAiC;;iBAE5C,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA;AAEjG,yEAAyE;AACzE,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAE7F,sEAAsE;AACtE,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
@@ -0,0 +1,481 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../types";
3
+ /**
4
+ * Presentation shapes — a stable, plugin-owned shape lifecycle on Present-mode
5
+ * sheets.
6
+ *
7
+ * Where {@linkcode PluginPresentationAnnotateApi} is fire-and-forget (every call
8
+ * creates a new shape), this namespace keys each shape by a caller-chosen
9
+ * string, so rerunning an analysis **updates** its sheet output in place instead
10
+ * of duplicating it:
11
+ *
12
+ * - {@linkcode PluginPresentationShapesApi.upsert} — create or update the shape for a key
13
+ * - {@linkcode PluginPresentationShapesApi.remove} — delete the shape for a key
14
+ * - {@linkcode PluginPresentationShapesApi.removeAll} — delete every shape owned by the calling plugin
15
+ * - {@linkcode PluginPresentationShapesApi.list} — the calling plugin's shapes (key, shapeId, type)
16
+ *
17
+ * Shape ids are derived deterministically from the plugin id + key, so upserts
18
+ * converge across collaborators. Mutations require **Present mode to be open**
19
+ * (`list` is a never-throw read); each plugin sees and mutates only its own
20
+ * shapes.
21
+ *
22
+ * Accessed via `snaptrude.presentation.shapes`.
23
+ */
24
+ export declare abstract class PluginPresentationShapesApi {
25
+ constructor();
26
+ /**
27
+ * Create or update the shape for a key.
28
+ *
29
+ * The `shape` spec is a discriminated union over the same four annotation
30
+ * kinds as `presentation.annotate` (`text`, `note`, `arrow`, `geo`), with the
31
+ * same option shapes. On first call for a key the shape is created on the
32
+ * target sheet (`options.sheetId`, default: the first sheet) and nested under
33
+ * the sheet frame; on later calls the existing shape is updated in place —
34
+ * same shape id, same sheet, one undo step. Positions/bounds are relative to
35
+ * the sheet's top-left, in canvas units. Requires Present mode to be open.
36
+ *
37
+ * @param key - Caller-chosen stable identifier for the shape (per plugin).
38
+ * @param shape - The desired shape ({@linkcode PluginPresentationShapeSpec}):
39
+ * `{ type: "text" | "note" | "arrow" | "geo", ... }` with the matching
40
+ * annotate options. Changing `type` for an existing key replaces the shape
41
+ * (same shape id).
42
+ * @param options - Optional `sheetId` — the sheet to create the shape on
43
+ * (defaults to the first sheet; ignored on update, the shape stays on its
44
+ * sheet).
45
+ * @returns A {@linkcode PluginPresentationShapesUpsertResult} — the stable
46
+ * `shapeId` and `created` (`true` on first upsert, `false` on update).
47
+ * @throws If Present mode is not open, the args are invalid, or the sheet id
48
+ * is unknown.
49
+ *
50
+ * @examplePrompt Update the analysis label on the sheet instead of adding another one
51
+ * @examplePrompt Rerun the daylight report and refresh its annotations
52
+ * @examplePrompt Keep one "FAR: 2.4" text on Sheet 1 that updates on each run
53
+ * @examplePrompt Draw a highlight rectangle the plugin can move on the next run
54
+ *
55
+ * # Example
56
+ * ```ts
57
+ * const { shapeId, created } = await snaptrude.presentation.shapes.upsert("far-label", {
58
+ * type: "text",
59
+ * text: "FAR: 2.4",
60
+ * position: { x: 40, y: 40 },
61
+ * color: "blue",
62
+ * })
63
+ * ```
64
+ */
65
+ abstract upsert(key: string, shape: PluginPresentationShapeSpec, options?: {
66
+ sheetId?: string;
67
+ }): PluginApiReturn<PluginPresentationShapesUpsertResult>;
68
+ /**
69
+ * Delete the shape for a key.
70
+ *
71
+ * Removes the calling plugin's shape registered under `key`, if it exists.
72
+ * Requires Present mode to be open.
73
+ *
74
+ * @param key - The key passed to {@linkcode PluginPresentationShapesApi.upsert}.
75
+ * @returns `true` if a shape was deleted, `false` if no shape exists for the
76
+ * key.
77
+ * @throws If Present mode is not open or the key is invalid.
78
+ *
79
+ * @examplePrompt Remove the FAR label from the sheet
80
+ * @examplePrompt Delete the highlight the plugin added earlier
81
+ * @examplePrompt Clear the "far-label" annotation
82
+ *
83
+ * # Example
84
+ * ```ts
85
+ * const removed = await snaptrude.presentation.shapes.remove("far-label")
86
+ * ```
87
+ */
88
+ abstract remove(key: string): PluginApiReturn<boolean>;
89
+ /**
90
+ * Delete every shape owned by the calling plugin.
91
+ *
92
+ * Removes all shapes the calling plugin has upserted (across all sheets) in
93
+ * one undo step. Requires Present mode to be open.
94
+ *
95
+ * @returns The number of shapes deleted.
96
+ * @throws If Present mode is not open.
97
+ *
98
+ * @examplePrompt Clear all annotations my plugin added
99
+ * @examplePrompt Reset the sheet output before rerunning the analysis
100
+ * @examplePrompt Remove every plugin-drawn shape
101
+ *
102
+ * # Example
103
+ * ```ts
104
+ * const deleted = await snaptrude.presentation.shapes.removeAll()
105
+ * ```
106
+ */
107
+ abstract removeAll(): PluginApiReturn<number>;
108
+ /**
109
+ * List the calling plugin's shapes.
110
+ *
111
+ * Returns one entry per live shape the calling plugin has upserted — its
112
+ * `key`, the underlying canvas `shapeId`, and the shape `type`. A never-throw
113
+ * read: returns an empty list when Present mode is closed.
114
+ *
115
+ * @returns A {@linkcode PluginPresentationShapesListResult} with the `shapes`
116
+ * array (empty when Present mode is closed).
117
+ *
118
+ * @examplePrompt Which annotations has my plugin placed on the sheets?
119
+ * @examplePrompt List the plugin's shapes before refreshing them
120
+ * @examplePrompt Check whether the FAR label already exists
121
+ *
122
+ * # Example
123
+ * ```ts
124
+ * const { shapes } = await snaptrude.presentation.shapes.list()
125
+ * const hasLabel = shapes.some((s) => s.key === "far-label")
126
+ * ```
127
+ */
128
+ abstract list(): PluginApiReturn<PluginPresentationShapesListResult>;
129
+ }
130
+ /**
131
+ * Desired shape for {@linkcode PluginPresentationShapesApi.upsert} — a
132
+ * discriminated union over the four annotate kinds, with the same option shapes
133
+ * as the matching `presentation.annotate` call:
134
+ *
135
+ * | `type` | Payload | Mirrors |
136
+ * |---|---|---|
137
+ * | `"text"` | `text`, `position?`, `size?`, `color?` | `annotate.text` |
138
+ * | `"note"` | `text`, `position?`, `color?`, `size?` | `annotate.note` |
139
+ * | `"arrow"` | `start`, `end`, `color?`, `size?` | `annotate.arrow` |
140
+ * | `"geo"` | `kind`, `bounds`, `color?`, `fill?` | `annotate.shape` |
141
+ *
142
+ * Positions/bounds are relative to the sheet's top-left, in canvas units.
143
+ */
144
+ export declare const PluginPresentationShapeSpec: z.ZodDiscriminatedUnion<[z.ZodObject<{
145
+ type: z.ZodLiteral<"text">;
146
+ text: z.ZodString;
147
+ position: z.ZodOptional<z.ZodObject<{
148
+ x: z.ZodNumber;
149
+ y: z.ZodNumber;
150
+ }, z.core.$strip>>;
151
+ size: z.ZodOptional<z.ZodEnum<{
152
+ m: "m";
153
+ s: "s";
154
+ l: "l";
155
+ xl: "xl";
156
+ }>>;
157
+ color: z.ZodOptional<z.ZodEnum<{
158
+ black: "black";
159
+ grey: "grey";
160
+ "light-violet": "light-violet";
161
+ violet: "violet";
162
+ blue: "blue";
163
+ "light-blue": "light-blue";
164
+ yellow: "yellow";
165
+ orange: "orange";
166
+ green: "green";
167
+ "light-green": "light-green";
168
+ "light-red": "light-red";
169
+ red: "red";
170
+ white: "white";
171
+ }>>;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ type: z.ZodLiteral<"note">;
174
+ text: z.ZodString;
175
+ position: z.ZodOptional<z.ZodObject<{
176
+ x: z.ZodNumber;
177
+ y: z.ZodNumber;
178
+ }, z.core.$strip>>;
179
+ color: z.ZodOptional<z.ZodEnum<{
180
+ black: "black";
181
+ grey: "grey";
182
+ "light-violet": "light-violet";
183
+ violet: "violet";
184
+ blue: "blue";
185
+ "light-blue": "light-blue";
186
+ yellow: "yellow";
187
+ orange: "orange";
188
+ green: "green";
189
+ "light-green": "light-green";
190
+ "light-red": "light-red";
191
+ red: "red";
192
+ white: "white";
193
+ }>>;
194
+ size: z.ZodOptional<z.ZodEnum<{
195
+ m: "m";
196
+ s: "s";
197
+ l: "l";
198
+ xl: "xl";
199
+ }>>;
200
+ }, z.core.$strip>, z.ZodObject<{
201
+ type: z.ZodLiteral<"arrow">;
202
+ start: z.ZodObject<{
203
+ x: z.ZodNumber;
204
+ y: z.ZodNumber;
205
+ }, z.core.$strip>;
206
+ end: z.ZodObject<{
207
+ x: z.ZodNumber;
208
+ y: z.ZodNumber;
209
+ }, z.core.$strip>;
210
+ color: z.ZodOptional<z.ZodEnum<{
211
+ black: "black";
212
+ grey: "grey";
213
+ "light-violet": "light-violet";
214
+ violet: "violet";
215
+ blue: "blue";
216
+ "light-blue": "light-blue";
217
+ yellow: "yellow";
218
+ orange: "orange";
219
+ green: "green";
220
+ "light-green": "light-green";
221
+ "light-red": "light-red";
222
+ red: "red";
223
+ white: "white";
224
+ }>>;
225
+ size: z.ZodOptional<z.ZodEnum<{
226
+ m: "m";
227
+ s: "s";
228
+ l: "l";
229
+ xl: "xl";
230
+ }>>;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ type: z.ZodLiteral<"geo">;
233
+ kind: z.ZodEnum<{
234
+ rectangle: "rectangle";
235
+ ellipse: "ellipse";
236
+ triangle: "triangle";
237
+ diamond: "diamond";
238
+ hexagon: "hexagon";
239
+ oval: "oval";
240
+ rhombus: "rhombus";
241
+ star: "star";
242
+ cloud: "cloud";
243
+ heart: "heart";
244
+ "x-box": "x-box";
245
+ "check-box": "check-box";
246
+ "arrow-left": "arrow-left";
247
+ "arrow-up": "arrow-up";
248
+ "arrow-right": "arrow-right";
249
+ "arrow-down": "arrow-down";
250
+ }>;
251
+ bounds: z.ZodObject<{
252
+ x: z.ZodNumber;
253
+ y: z.ZodNumber;
254
+ w: z.ZodNumber;
255
+ h: z.ZodNumber;
256
+ }, z.core.$strip>;
257
+ color: z.ZodOptional<z.ZodEnum<{
258
+ black: "black";
259
+ grey: "grey";
260
+ "light-violet": "light-violet";
261
+ violet: "violet";
262
+ blue: "blue";
263
+ "light-blue": "light-blue";
264
+ yellow: "yellow";
265
+ orange: "orange";
266
+ green: "green";
267
+ "light-green": "light-green";
268
+ "light-red": "light-red";
269
+ red: "red";
270
+ white: "white";
271
+ }>>;
272
+ fill: z.ZodOptional<z.ZodEnum<{
273
+ pattern: "pattern";
274
+ solid: "solid";
275
+ none: "none";
276
+ semi: "semi";
277
+ }>>;
278
+ }, z.core.$strip>], "type">;
279
+ export type PluginPresentationShapeSpec = z.infer<typeof PluginPresentationShapeSpec>;
280
+ /** The shape kind of a plugin-owned shape (the `type` discriminant of {@linkcode PluginPresentationShapeSpec}). */
281
+ export declare const PluginPresentationShapeType: z.ZodEnum<{
282
+ text: "text";
283
+ note: "note";
284
+ arrow: "arrow";
285
+ geo: "geo";
286
+ }>;
287
+ export type PluginPresentationShapeType = z.infer<typeof PluginPresentationShapeType>;
288
+ /**
289
+ * Arguments for {@linkcode PluginPresentationShapesApi.upsert}.
290
+ *
291
+ * | Property | Type | Description |
292
+ * |---|---|---|
293
+ * | `key` | `string` | Caller-chosen stable identifier (non-empty) |
294
+ * | `shape` | {@linkcode PluginPresentationShapeSpec} | The desired shape |
295
+ * | `sheetId` | `string \| undefined` | Sheet to create on (default: first sheet; ignored on update) |
296
+ */
297
+ export declare const PluginPresentationShapesUpsertArgs: z.ZodObject<{
298
+ key: z.ZodString;
299
+ shape: z.ZodDiscriminatedUnion<[z.ZodObject<{
300
+ type: z.ZodLiteral<"text">;
301
+ text: z.ZodString;
302
+ position: z.ZodOptional<z.ZodObject<{
303
+ x: z.ZodNumber;
304
+ y: z.ZodNumber;
305
+ }, z.core.$strip>>;
306
+ size: z.ZodOptional<z.ZodEnum<{
307
+ m: "m";
308
+ s: "s";
309
+ l: "l";
310
+ xl: "xl";
311
+ }>>;
312
+ color: z.ZodOptional<z.ZodEnum<{
313
+ black: "black";
314
+ grey: "grey";
315
+ "light-violet": "light-violet";
316
+ violet: "violet";
317
+ blue: "blue";
318
+ "light-blue": "light-blue";
319
+ yellow: "yellow";
320
+ orange: "orange";
321
+ green: "green";
322
+ "light-green": "light-green";
323
+ "light-red": "light-red";
324
+ red: "red";
325
+ white: "white";
326
+ }>>;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ type: z.ZodLiteral<"note">;
329
+ text: z.ZodString;
330
+ position: z.ZodOptional<z.ZodObject<{
331
+ x: z.ZodNumber;
332
+ y: z.ZodNumber;
333
+ }, z.core.$strip>>;
334
+ color: z.ZodOptional<z.ZodEnum<{
335
+ black: "black";
336
+ grey: "grey";
337
+ "light-violet": "light-violet";
338
+ violet: "violet";
339
+ blue: "blue";
340
+ "light-blue": "light-blue";
341
+ yellow: "yellow";
342
+ orange: "orange";
343
+ green: "green";
344
+ "light-green": "light-green";
345
+ "light-red": "light-red";
346
+ red: "red";
347
+ white: "white";
348
+ }>>;
349
+ size: z.ZodOptional<z.ZodEnum<{
350
+ m: "m";
351
+ s: "s";
352
+ l: "l";
353
+ xl: "xl";
354
+ }>>;
355
+ }, z.core.$strip>, z.ZodObject<{
356
+ type: z.ZodLiteral<"arrow">;
357
+ start: z.ZodObject<{
358
+ x: z.ZodNumber;
359
+ y: z.ZodNumber;
360
+ }, z.core.$strip>;
361
+ end: z.ZodObject<{
362
+ x: z.ZodNumber;
363
+ y: z.ZodNumber;
364
+ }, z.core.$strip>;
365
+ color: z.ZodOptional<z.ZodEnum<{
366
+ black: "black";
367
+ grey: "grey";
368
+ "light-violet": "light-violet";
369
+ violet: "violet";
370
+ blue: "blue";
371
+ "light-blue": "light-blue";
372
+ yellow: "yellow";
373
+ orange: "orange";
374
+ green: "green";
375
+ "light-green": "light-green";
376
+ "light-red": "light-red";
377
+ red: "red";
378
+ white: "white";
379
+ }>>;
380
+ size: z.ZodOptional<z.ZodEnum<{
381
+ m: "m";
382
+ s: "s";
383
+ l: "l";
384
+ xl: "xl";
385
+ }>>;
386
+ }, z.core.$strip>, z.ZodObject<{
387
+ type: z.ZodLiteral<"geo">;
388
+ kind: z.ZodEnum<{
389
+ rectangle: "rectangle";
390
+ ellipse: "ellipse";
391
+ triangle: "triangle";
392
+ diamond: "diamond";
393
+ hexagon: "hexagon";
394
+ oval: "oval";
395
+ rhombus: "rhombus";
396
+ star: "star";
397
+ cloud: "cloud";
398
+ heart: "heart";
399
+ "x-box": "x-box";
400
+ "check-box": "check-box";
401
+ "arrow-left": "arrow-left";
402
+ "arrow-up": "arrow-up";
403
+ "arrow-right": "arrow-right";
404
+ "arrow-down": "arrow-down";
405
+ }>;
406
+ bounds: z.ZodObject<{
407
+ x: z.ZodNumber;
408
+ y: z.ZodNumber;
409
+ w: z.ZodNumber;
410
+ h: z.ZodNumber;
411
+ }, z.core.$strip>;
412
+ color: z.ZodOptional<z.ZodEnum<{
413
+ black: "black";
414
+ grey: "grey";
415
+ "light-violet": "light-violet";
416
+ violet: "violet";
417
+ blue: "blue";
418
+ "light-blue": "light-blue";
419
+ yellow: "yellow";
420
+ orange: "orange";
421
+ green: "green";
422
+ "light-green": "light-green";
423
+ "light-red": "light-red";
424
+ red: "red";
425
+ white: "white";
426
+ }>>;
427
+ fill: z.ZodOptional<z.ZodEnum<{
428
+ pattern: "pattern";
429
+ solid: "solid";
430
+ none: "none";
431
+ semi: "semi";
432
+ }>>;
433
+ }, z.core.$strip>], "type">;
434
+ sheetId: z.ZodOptional<z.ZodString>;
435
+ }, z.core.$strip>;
436
+ export type PluginPresentationShapesUpsertArgs = z.infer<typeof PluginPresentationShapesUpsertArgs>;
437
+ /**
438
+ * Result of {@linkcode PluginPresentationShapesApi.upsert}.
439
+ *
440
+ * | Property | Type | Description |
441
+ * |---|---|---|
442
+ * | `shapeId` | `string` | Stable id of the canvas shape for the key |
443
+ * | `created` | `boolean` | `true` if the shape was created, `false` if updated |
444
+ */
445
+ export declare const PluginPresentationShapesUpsertResult: z.ZodObject<{
446
+ shapeId: z.ZodString;
447
+ created: z.ZodBoolean;
448
+ }, z.core.$strip>;
449
+ export type PluginPresentationShapesUpsertResult = z.infer<typeof PluginPresentationShapesUpsertResult>;
450
+ /**
451
+ * Arguments for {@linkcode PluginPresentationShapesApi.remove}.
452
+ *
453
+ * | Property | Type | Description |
454
+ * |---|---|---|
455
+ * | `key` | `string` | The key the shape was upserted under (non-empty) |
456
+ */
457
+ export declare const PluginPresentationShapesRemoveArgs: z.ZodObject<{
458
+ key: z.ZodString;
459
+ }, z.core.$strip>;
460
+ export type PluginPresentationShapesRemoveArgs = z.infer<typeof PluginPresentationShapesRemoveArgs>;
461
+ /**
462
+ * Result of {@linkcode PluginPresentationShapesApi.list}.
463
+ *
464
+ * | Property | Type | Description |
465
+ * |---|---|---|
466
+ * | `shapes` | `{ key: string; shapeId: string; type: `{@linkcode PluginPresentationShapeType}` }[]` | One entry per live plugin-owned shape |
467
+ */
468
+ export declare const PluginPresentationShapesListResult: z.ZodObject<{
469
+ shapes: z.ZodArray<z.ZodObject<{
470
+ key: z.ZodString;
471
+ shapeId: z.ZodString;
472
+ type: z.ZodEnum<{
473
+ text: "text";
474
+ note: "note";
475
+ arrow: "arrow";
476
+ geo: "geo";
477
+ }>;
478
+ }, z.core.$strip>>;
479
+ }, z.core.$strip>;
480
+ export type PluginPresentationShapesListResult = z.infer<typeof PluginPresentationShapesListResult>;
481
+ //# sourceMappingURL=shapes.d.ts.map
@@ -0,0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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,oCAAoC,CAC5C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;iBAQ7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA"}
@@ -114,6 +114,30 @@ export declare abstract class PluginPresentationSheetsApi {
114
114
  * ```
115
115
  */
116
116
  abstract setSize(sheetId: string, size: PluginSheetSize, orientation?: PluginSheetOrientation): PluginApiReturn<PluginPresentationSheet>;
117
+ /**
118
+ * Set a sheet's print margin.
119
+ *
120
+ * Applies one of the canonical margin presets — exactly what the sheet
121
+ * header's margin dropdown does. `margin` is unit-agnostic: `0 | 0.25 |
122
+ * 0.5 | 0.75 | 1`, displayed as None / 1/4″ / 1/2″ / 3/4″ / 1″ on imperial
123
+ * projects and None / 5mm / 10mm / 15mm / 20mm on metric ones. One undo
124
+ * step. Requires Present mode to be open.
125
+ *
126
+ * @param sheetId - The id of the sheet.
127
+ * @param margin - The margin preset ({@linkcode PluginSheetMargin}).
128
+ * @returns The updated {@linkcode PluginPresentationSheet}.
129
+ * @throws If Present mode is not open, or the sheet id is invalid.
130
+ *
131
+ * @examplePrompt Set the sheet margin to half an inch
132
+ * @examplePrompt Remove the margins on sheet_1
133
+ * @examplePrompt Give the cover sheet a 10mm margin
134
+ *
135
+ * # Example
136
+ * ```ts
137
+ * const sheet = await snaptrude.presentation.sheets.setMargin("sheet_1", 0.5)
138
+ * ```
139
+ */
140
+ abstract setMargin(sheetId: string, margin: PluginSheetMargin): PluginApiReturn<PluginPresentationSheet>;
117
141
  /**
118
142
  * Place a saved view onto a sheet.
119
143
  *
@@ -303,6 +327,14 @@ export declare const PluginSheetOrientation: z.ZodEnum<{
303
327
  portrait: "portrait";
304
328
  }>;
305
329
  export type PluginSheetOrientation = z.infer<typeof PluginSheetOrientation>;
330
+ /**
331
+ * Canonical sheet margin presets — unit-agnostic values matching the sheet
332
+ * header's margin dropdown: `0` (None), `0.25`, `0.5`, `0.75`, `1`.
333
+ * Displayed as None / 1/4″ / 1/2″ / 3/4″ / 1″ on imperial projects and
334
+ * None / 5mm / 10mm / 15mm / 20mm on metric ones.
335
+ */
336
+ export declare const PluginSheetMargin: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>;
337
+ export type PluginSheetMargin = z.infer<typeof PluginSheetMargin>;
306
338
  /**
307
339
  * A layout sheet in the presentation.
308
340
  *
@@ -312,6 +344,7 @@ export type PluginSheetOrientation = z.infer<typeof PluginSheetOrientation>;
312
344
  * | `name` | `string` | Display name |
313
345
  * | `size` | {@linkcode PluginSheetSize}` \| null` | Paper preset (`null` for a legacy sheet without one) |
314
346
  * | `orientation` | {@linkcode PluginSheetOrientation}` \| null` | Orientation (`null` for a legacy sheet) |
347
+ * | `margin` | {@linkcode PluginSheetMargin}` \| null` | Margin preset (`null` when absent/unrecognized) |
315
348
  */
316
349
  export declare const PluginPresentationSheet: z.ZodObject<{
317
350
  id: z.ZodString;
@@ -338,6 +371,7 @@ export declare const PluginPresentationSheet: z.ZodObject<{
338
371
  landscape: "landscape";
339
372
  portrait: "portrait";
340
373
  }>>;
374
+ margin: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>>;
341
375
  }, z.core.$strip>;
342
376
  export type PluginPresentationSheet = z.infer<typeof PluginPresentationSheet>;
343
377
  /**
@@ -380,6 +414,7 @@ export declare const PluginPresentationSheetsListResult: z.ZodObject<{
380
414
  landscape: "landscape";
381
415
  portrait: "portrait";
382
416
  }>>;
417
+ margin: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>>;
383
418
  }, z.core.$strip>>;
384
419
  }, z.core.$strip>;
385
420
  export type PluginPresentationSheetsListResult = z.infer<typeof PluginPresentationSheetsListResult>;
@@ -414,6 +449,7 @@ export declare const PluginPresentationSheetsGetResult: z.ZodNullable<z.ZodObjec
414
449
  landscape: "landscape";
415
450
  portrait: "portrait";
416
451
  }>>;
452
+ margin: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>>;
417
453
  }, z.core.$strip>>;
418
454
  export type PluginPresentationSheetsGetResult = z.infer<typeof PluginPresentationSheetsGetResult>;
419
455
  /** Arguments for {@linkcode PluginPresentationSheetsApi.create}. */
@@ -470,6 +506,12 @@ export declare const PluginPresentationSheetsSetSizeArgs: z.ZodObject<{
470
506
  }>>;
471
507
  }, z.core.$strip>;
472
508
  export type PluginPresentationSheetsSetSizeArgs = z.infer<typeof PluginPresentationSheetsSetSizeArgs>;
509
+ /** Arguments for {@linkcode PluginPresentationSheetsApi.setMargin}. */
510
+ export declare const PluginPresentationSheetsSetMarginArgs: z.ZodObject<{
511
+ sheetId: z.ZodString;
512
+ margin: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<0.75>, z.ZodLiteral<1>]>;
513
+ }, z.core.$strip>;
514
+ export type PluginPresentationSheetsSetMarginArgs = z.infer<typeof PluginPresentationSheetsSetMarginArgs>;
473
515
  /**
474
516
  * Arguments for {@linkcode PluginPresentationSheetsApi.place}.
475
517
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/sheets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;;;GAcG;AACH,8BAAsB,2BAA2B;;IAG/C;;;;;;;;;;;;;;;OAeG;aACa,IAAI,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAE3E;;;;;;;;;;;;;;OAcG;aACa,GAAG,CACjB,OAAO,EAAE,MAAM,GACd,eAAe,CAAC,iCAAiC,CAAC;IAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;aACa,MAAM,CACpB,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,eAAe,CAAC;QAAC,WAAW,CAAC,EAAE,sBAAsB,CAAA;KAAE,GACzE,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;aACa,OAAO,CACrB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,eAAe,EACrB,WAAW,CAAC,EAAE,sBAAsB,GACnC,eAAe,CAAC,uBAAuB,CAAC;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;aACa,KAAK,CACnB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,mBAAmB,CAAC;QAAC,KAAK,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