@snaptrude/plugin-core 0.7.1 → 0.9.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.
Files changed (193) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/api-manifest.full.json +7703 -0
  3. package/api-manifest.json +2946 -259
  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 +245 -0
  15. package/dist/api/core/camera/index.d.ts.map +1 -0
  16. package/dist/api/core/comment/index.d.ts +105 -2
  17. package/dist/api/core/comment/index.d.ts.map +1 -1
  18. package/dist/api/core/geom/create/index.d.ts +331 -14
  19. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  20. package/dist/api/core/geom/delete/index.d.ts +8 -2
  21. package/dist/api/core/geom/delete/index.d.ts.map +1 -1
  22. package/dist/api/core/geom/query/arc.d.ts +5 -5
  23. package/dist/api/core/geom/query/brep.d.ts +18 -18
  24. package/dist/api/core/geom/query/circle.d.ts +18 -18
  25. package/dist/api/core/geom/query/contour.d.ts +20 -20
  26. package/dist/api/core/geom/query/curve.d.ts +49 -49
  27. package/dist/api/core/geom/query/edge.d.ts +5 -5
  28. package/dist/api/core/geom/query/face.d.ts +16 -16
  29. package/dist/api/core/geom/query/halfedge.d.ts +8 -8
  30. package/dist/api/core/geom/query/profile.d.ts +19 -19
  31. package/dist/api/core/geom/query/vertex.d.ts +8 -8
  32. package/dist/api/core/geom/update/contour.d.ts +14 -14
  33. package/dist/api/core/geom/update/curve.d.ts +7 -7
  34. package/dist/api/core/geom/update/profile.d.ts +16 -16
  35. package/dist/api/core/handles/index.d.ts +210 -0
  36. package/dist/api/core/handles/index.d.ts.map +1 -0
  37. package/dist/api/core/index.d.ts +24 -0
  38. package/dist/api/core/index.d.ts.map +1 -1
  39. package/dist/api/core/io/export/index.d.ts +134 -0
  40. package/dist/api/core/io/export/index.d.ts.map +1 -0
  41. package/dist/api/core/io/import/index.d.ts +62 -1
  42. package/dist/api/core/io/import/index.d.ts.map +1 -1
  43. package/dist/api/core/io/index.d.ts +5 -0
  44. package/dist/api/core/io/index.d.ts.map +1 -1
  45. package/dist/api/core/layers.d.ts +7 -7
  46. package/dist/api/core/mode/index.d.ts +99 -0
  47. package/dist/api/core/mode/index.d.ts.map +1 -0
  48. package/dist/api/core/proposals/index.d.ts +65 -9
  49. package/dist/api/core/proposals/index.d.ts.map +1 -1
  50. package/dist/api/core/storeys/index.d.ts +251 -0
  51. package/dist/api/core/storeys/index.d.ts.map +1 -0
  52. package/dist/api/core/tags.d.ts +24 -0
  53. package/dist/api/core/tags.d.ts.map +1 -1
  54. package/dist/api/core/user.d.ts +44 -0
  55. package/dist/api/core/user.d.ts.map +1 -0
  56. package/dist/api/core/zoom/index.d.ts +4 -0
  57. package/dist/api/core/zoom/index.d.ts.map +1 -1
  58. package/dist/api/design/boolean/index.d.ts +4 -4
  59. package/dist/api/design/create/index.d.ts +253 -47
  60. package/dist/api/design/create/index.d.ts.map +1 -1
  61. package/dist/api/design/delete/index.d.ts +3 -0
  62. package/dist/api/design/delete/index.d.ts.map +1 -1
  63. package/dist/api/design/doors/index.d.ts +36 -0
  64. package/dist/api/design/doors/index.d.ts.map +1 -1
  65. package/dist/api/design/edit/index.d.ts +1 -1
  66. package/dist/api/design/erase/index.d.ts +2 -2
  67. package/dist/api/design/furniture/index.d.ts +114 -3
  68. package/dist/api/design/furniture/index.d.ts.map +1 -1
  69. package/dist/api/design/index.d.ts +10 -0
  70. package/dist/api/design/index.d.ts.map +1 -1
  71. package/dist/api/design/materials/index.d.ts +111 -14
  72. package/dist/api/design/materials/index.d.ts.map +1 -1
  73. package/dist/api/design/query/geometry/index.d.ts +112 -0
  74. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  75. package/dist/api/design/query/index.d.ts +35 -1
  76. package/dist/api/design/query/index.d.ts.map +1 -1
  77. package/dist/api/design/query/referenceLines.d.ts +45 -0
  78. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  79. package/dist/api/design/query/spaces.d.ts +178 -5
  80. package/dist/api/design/query/spaces.d.ts.map +1 -1
  81. package/dist/api/design/transform/index.d.ts +95 -14
  82. package/dist/api/design/transform/index.d.ts.map +1 -1
  83. package/dist/api/design/types/index.d.ts +181 -0
  84. package/dist/api/design/types/index.d.ts.map +1 -0
  85. package/dist/api/design/update/index.d.ts +385 -2
  86. package/dist/api/design/update/index.d.ts.map +1 -1
  87. package/dist/api/design/visibility.d.ts +98 -0
  88. package/dist/api/design/visibility.d.ts.map +1 -0
  89. package/dist/api/entity/buildableEnvelope.d.ts +4 -0
  90. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  91. package/dist/api/entity/referenceLine.d.ts +10 -2
  92. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  93. package/dist/api/entity/space.d.ts +19 -19
  94. package/dist/api/entity/story.d.ts +148 -15
  95. package/dist/api/entity/story.d.ts.map +1 -1
  96. package/dist/api/index.d.ts +5 -0
  97. package/dist/api/index.d.ts.map +1 -1
  98. package/dist/api/presentation/annotate.d.ts +448 -0
  99. package/dist/api/presentation/annotate.d.ts.map +1 -0
  100. package/dist/api/presentation/diagrams.d.ts +49 -8
  101. package/dist/api/presentation/diagrams.d.ts.map +1 -1
  102. package/dist/api/presentation/export.d.ts +108 -0
  103. package/dist/api/presentation/export.d.ts.map +1 -0
  104. package/dist/api/presentation/import.d.ts +6 -0
  105. package/dist/api/presentation/import.d.ts.map +1 -1
  106. package/dist/api/presentation/index.d.ts +47 -0
  107. package/dist/api/presentation/index.d.ts.map +1 -1
  108. package/dist/api/presentation/placedViews.d.ts +370 -0
  109. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  110. package/dist/api/presentation/shapes.d.ts +481 -0
  111. package/dist/api/presentation/shapes.d.ts.map +1 -0
  112. package/dist/api/presentation/sheets.d.ts +410 -13
  113. package/dist/api/presentation/sheets.d.ts.map +1 -1
  114. package/dist/api/presentation/views.d.ts +165 -10
  115. package/dist/api/presentation/views.d.ts.map +1 -1
  116. package/dist/api/program/areas.d.ts +63 -3
  117. package/dist/api/program/areas.d.ts.map +1 -1
  118. package/dist/api/program/cores.d.ts +3 -99
  119. package/dist/api/program/cores.d.ts.map +1 -1
  120. package/dist/api/program/index.d.ts +2 -2
  121. package/dist/api/program/index.d.ts.map +1 -1
  122. package/dist/api/program/layout.d.ts +172 -12
  123. package/dist/api/program/layout.d.ts.map +1 -1
  124. package/dist/api/program/site.d.ts +105 -8
  125. package/dist/api/program/site.d.ts.map +1 -1
  126. package/dist/api/program/spreadsheet.d.ts +365 -41
  127. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  128. package/dist/api/workspace/index.d.ts +460 -0
  129. package/dist/api/workspace/index.d.ts.map +1 -0
  130. package/dist/handles.d.ts +64 -25
  131. package/dist/handles.d.ts.map +1 -1
  132. package/dist/index.cjs +3210 -1671
  133. package/dist/index.cjs.map +1 -1
  134. package/dist/index.js +3008 -1666
  135. package/dist/index.js.map +1 -1
  136. package/package.json +3 -2
  137. package/scripts/generate-manifest.mjs +45 -0
  138. package/src/api/analysis/daylight.ts +470 -0
  139. package/src/api/analysis/heatmaps.ts +444 -17
  140. package/src/api/analysis/index.ts +15 -0
  141. package/src/api/analysis/solar.ts +237 -0
  142. package/src/api/analysis/weather.ts +179 -0
  143. package/src/api/core/camera/index.ts +251 -0
  144. package/src/api/core/comment/index.ts +120 -2
  145. package/src/api/core/geom/create/index.ts +344 -1
  146. package/src/api/core/geom/delete/index.ts +6 -0
  147. package/src/api/core/handles/index.ts +233 -0
  148. package/src/api/core/index.ts +24 -0
  149. package/src/api/core/io/export/index.ts +126 -0
  150. package/src/api/core/io/import/index.ts +64 -0
  151. package/src/api/core/io/index.ts +5 -0
  152. package/src/api/core/mode/index.ts +96 -0
  153. package/src/api/core/proposals/index.ts +71 -11
  154. package/src/api/core/storeys/index.ts +279 -0
  155. package/src/api/core/tags.ts +27 -0
  156. package/src/api/core/user.ts +46 -0
  157. package/src/api/core/zoom/index.ts +4 -0
  158. package/src/api/design/create/index.ts +303 -36
  159. package/src/api/design/delete/index.ts +3 -0
  160. package/src/api/design/doors/index.ts +40 -0
  161. package/src/api/design/furniture/index.ts +127 -3
  162. package/src/api/design/index.ts +10 -0
  163. package/src/api/design/materials/index.ts +157 -30
  164. package/src/api/design/query/geometry/index.ts +125 -3
  165. package/src/api/design/query/index.ts +37 -7
  166. package/src/api/design/query/referenceLines.ts +52 -0
  167. package/src/api/design/query/spaces.ts +143 -0
  168. package/src/api/design/transform/index.ts +101 -12
  169. package/src/api/design/types/index.ts +156 -0
  170. package/src/api/design/update/index.ts +467 -6
  171. package/src/api/design/visibility.ts +109 -0
  172. package/src/api/entity/buildableEnvelope.ts +4 -0
  173. package/src/api/entity/referenceLine.ts +8 -0
  174. package/src/api/entity/story.ts +161 -15
  175. package/src/api/index.ts +5 -0
  176. package/src/api/presentation/annotate.ts +360 -0
  177. package/src/api/presentation/diagrams.ts +53 -8
  178. package/src/api/presentation/export.ts +108 -0
  179. package/src/api/presentation/import.ts +6 -0
  180. package/src/api/presentation/index.ts +55 -0
  181. package/src/api/presentation/placedViews.ts +363 -0
  182. package/src/api/presentation/shapes.ts +274 -0
  183. package/src/api/presentation/sheets.ts +346 -13
  184. package/src/api/presentation/views.ts +164 -12
  185. package/src/api/program/areas.ts +57 -6
  186. package/src/api/program/cores.ts +3 -91
  187. package/src/api/program/index.ts +2 -2
  188. package/src/api/program/layout.ts +182 -12
  189. package/src/api/program/site.ts +106 -8
  190. package/src/api/program/spreadsheet.ts +376 -35
  191. package/src/api/workspace/index.ts +516 -0
  192. package/src/handles.ts +77 -13
  193. package/tsconfig.json +7 -2
@@ -1 +1 @@
1
- {"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;;;;;;;;;;;GAYG;AACH,8BAAsB,2BAA2B;;IAG/C;;;;;;;;;;;;;;;;;;;;;;OAsBG;aACa,KAAK,CACnB,MAAM,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,EAC1C,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAChD,eAAe,CAAC,8BAA8B,CAAC;IAElD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;aACa,GAAG,CACjB,MAAM,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,EAC1C,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAChD,eAAe,CAAC,8BAA8B,CAAC;IAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;aACa,GAAG,CACjB,MAAM,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,EAC1C,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAChD,e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AAM,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,EAC1C,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAChD,eAAe,CAAC,8BAA8B,CAAC;CACnD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B;;;;;;;iBAQrC,CAAA;AACJ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA"}
@@ -1,8 +1,13 @@
1
+ import { PluginApiReturn } from "../../types";
1
2
  import { PluginPresentationViewsApi } from "./views";
2
3
  import { PluginPresentationAIInspirationApi } from "./aiInspiration";
3
4
  import { PluginPresentationSheetsApi } from "./sheets";
5
+ import { PluginPresentationPlacedViewsApi } from "./placedViews";
4
6
  import { PluginPresentationDiagramsApi } from "./diagrams";
7
+ import { PluginPresentationAnnotateApi } from "./annotate";
8
+ import { PluginPresentationShapesApi } from "./shapes";
5
9
  import { PluginPresentationImportApi } from "./import";
10
+ import { PluginPresentationExportResult, type PluginPresentationExportFormat, type PluginPresentationExportResolution } from "./export";
6
11
  /**
7
12
  * Presentation APIs — prepare and assemble presentations.
8
13
  *
@@ -15,6 +20,7 @@ import { PluginPresentationImportApi } from "./import";
15
20
  *
16
21
  * - {@linkcode PluginPresentationApi.views} — Saved 2D/3D views (list, get, capture, activate, create)
17
22
  * - {@linkcode PluginPresentationApi.sheets} — Layout sheets (list, get, create, place views)
23
+ * - {@linkcode PluginPresentationApi.placedViews} — Views already placed on the canvas (move, scale, crop)
18
24
  * - {@linkcode PluginPresentationApi.diagrams} — Place program/adjacency/site diagram images on sheets
19
25
  * - {@linkcode PluginPresentationApi.import} — Import reference images/PDFs onto the canvas
20
26
  * - {@linkcode PluginPresentationApi.aiInspiration} — Present-mode AI image/video generation
@@ -26,8 +32,14 @@ export declare abstract class PluginPresentationApi {
26
32
  abstract views: PluginPresentationViewsApi;
27
33
  /** Layout sheets — list/get/create and place views (Present mode). See {@linkcode PluginPresentationSheetsApi}. */
28
34
  abstract sheets: PluginPresentationSheetsApi;
35
+ /** Placed views — layout of the view shapes on the canvas: move/scale/setScale/setCrop (Present mode). See {@linkcode PluginPresentationPlacedViewsApi}. */
36
+ abstract placedViews: PluginPresentationPlacedViewsApi;
29
37
  /** Program/adjacency/site diagrams — place images on sheets. See {@linkcode PluginPresentationDiagramsApi}. */
30
38
  abstract diagrams: PluginPresentationDiagramsApi;
39
+ /** Annotations on Present-mode sheets — text/arrows/notes/geo shapes. See {@linkcode PluginPresentationAnnotateApi}. */
40
+ abstract annotate: PluginPresentationAnnotateApi;
41
+ /** Plugin-owned keyed shapes — upsert/remove/list so reruns update instead of duplicating. See {@linkcode PluginPresentationShapesApi}. */
42
+ abstract shapes: PluginPresentationShapesApi;
31
43
  /** Import reference images/PDFs onto the Present canvas. See {@linkcode PluginPresentationImportApi}. */
32
44
  abstract import: PluginPresentationImportApi;
33
45
  /**
@@ -35,11 +47,46 @@ export declare abstract class PluginPresentationApi {
35
47
  * {@linkcode PluginPresentationAIInspirationApi}.
36
48
  */
37
49
  abstract aiInspiration: PluginPresentationAIInspirationApi;
50
+ /**
51
+ * Export the presentation's layout sheets to a downloadable file (PDF / PNG /
52
+ * JPG) and return the encoded bytes as base64. Wraps the Present-mode Export
53
+ * dialog pipeline headlessly. Requires Present mode to be open.
54
+ *
55
+ * @param format - Output format: `"pdf"`, `"png"`, or `"jpg"`.
56
+ * @param options - Optional `sheetIds` (all sheets when omitted), `combine`
57
+ * (PDF only — one multi-page file vs one per sheet, default `true`),
58
+ * `resolution` (raster target size for `png`/`jpg`), and `fileName`.
59
+ * @returns A {@linkcode PluginPresentationExportResult} — always a `files`
60
+ * array (one entry for a combined PDF, one per sheet otherwise).
61
+ * @throws If Present mode is not open, a `sheetId` is unknown, or a sheet
62
+ * fails to serialize/encode.
63
+ *
64
+ * @examplePrompt Export the presentation as a PDF
65
+ * @examplePrompt Download all sheets as a single PDF
66
+ * @examplePrompt Export sheet 1 as a PNG
67
+ * @examplePrompt Save the presentation sheets as JPG images
68
+ * @examplePrompt Export these sheets to PDF at high resolution
69
+ *
70
+ * # Example
71
+ * ```ts
72
+ * const { files } = await snaptrude.presentation.export("pdf")
73
+ * ```
74
+ */
75
+ abstract export(format: PluginPresentationExportFormat, options?: {
76
+ sheetIds?: string[];
77
+ combine?: boolean;
78
+ resolution?: PluginPresentationExportResolution;
79
+ fileName?: string;
80
+ }): PluginApiReturn<PluginPresentationExportResult>;
38
81
  constructor();
39
82
  }
40
83
  export * from "./views";
41
84
  export * from "./sheets";
85
+ export * from "./placedViews";
42
86
  export * from "./diagrams";
87
+ export * from "./annotate";
88
+ export * from "./shapes";
43
89
  export * from "./import";
44
90
  export * from "./aiInspiration";
91
+ export * from "./export";
45
92
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AACpD,OAAO,EAAE,kCAAkC,EAAE,MAAM,iBAAiB,CAAA;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAEtD;;;;;;;;;;;;;;;;;GAiBG;AACH,8BAAsB,qBAAqB;IACzC,qEAAqE;IACrE,SAAgB,KAAK,EAAE,0BAA0B,CAAA;IACjD,mHAAmH;IACnH,S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IACvD,wHAAwH;IACxH,SAAgB,QAAQ,EAAE,6BAA6B,CAAA;IACvD,2IAA2I;IAC3I,SAAgB,MAAM,EAAE,2BAA2B,CAAA;IACnD,yGAAyG;IACzG,SAAgB,MAAM,EAAE,2BAA2B,CAAA;IACnD;;;OAGG;IACH,SAAgB,aAAa,EAAE,kCAAkC,CAAA;IAEjE;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;aACa,MAAM,CACpB,MAAM,EAAE,8BAA8B,EACtC,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,UAAU,CAAC,EAAE,kCAAkC,CAAA;QAC/C,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB,GACA,eAAe,CAAC,8BAA8B,CAAC;;CAGnD;AAED,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA"}
@@ -0,0 +1,370 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../types";
3
+ import { PluginSheetPosition } from "./sheets";
4
+ /**
5
+ * Placed views — the view shapes already laid out on the Present canvas.
6
+ *
7
+ * A **placed view** is a saved view that has been dropped onto a layout sheet
8
+ * (or the open canvas) — the live linked view shape
9
+ * {@linkcode PluginPresentationSheetsApi.place} and the Present views panel's
10
+ * drag-drop create. These methods read and edit the **layout** of those
11
+ * shapes: where they sit, how big they are, their architectural scale, and
12
+ * their crop. To refresh a placed view's **content** from the current model,
13
+ * use `sheets.updatePlacedView` — content refresh lives on `sheets`,
14
+ * layout lives here.
15
+ *
16
+ * Reads (`list`) return `[]` when Present mode is closed; `get` and every
17
+ * write require Present mode to be open.
18
+ *
19
+ * Accessed via `snaptrude.presentation.placedViews`.
20
+ */
21
+ export declare abstract class PluginPresentationPlacedViewsApi {
22
+ constructor();
23
+ /**
24
+ * List the placed views in the presentation.
25
+ *
26
+ * Returns every placed view shape on the Present canvas — those nested on a
27
+ * layout sheet (with that sheet's id) and those sitting loose on the canvas
28
+ * (`sheetId: null`). Pass `sheetId` to list only the views placed on that
29
+ * sheet.
30
+ *
31
+ * @param sheetId - Optional sheet id to filter by.
32
+ * @returns A {@linkcode PluginPresentationPlacedViewsListResult} with a
33
+ * `placedViews` array (empty when Present mode is closed or nothing is
34
+ * placed).
35
+ * @throws If `sheetId` is given but is not a sheet (with Present mode open).
36
+ *
37
+ * @examplePrompt Which views are placed on this sheet?
38
+ * @examplePrompt List all the placed views in the presentation
39
+ * @examplePrompt What's laid out on sheet 2?
40
+ * @examplePrompt Show me every view on the Present canvas
41
+ *
42
+ * # Example
43
+ * ```ts
44
+ * const { placedViews } = await snaptrude.presentation.placedViews.list("sheet_1")
45
+ * ```
46
+ */
47
+ abstract list(sheetId?: string): PluginApiReturn<PluginPresentationPlacedViewsListResult>;
48
+ /**
49
+ * Get a single placed view by its shape id.
50
+ *
51
+ * `shapeId` is the id `sheets.place` returned (also reported by `list`).
52
+ *
53
+ * @param shapeId - The id of the placed view shape to read.
54
+ * @returns The matching {@linkcode PluginPlacedView}.
55
+ * @throws If Present mode is not open, or `shapeId` is unknown or is not a
56
+ * placed view.
57
+ *
58
+ * @examplePrompt Get the placed view I just dropped on the sheet
59
+ * @examplePrompt Read the position and scale of this placed view
60
+ * @examplePrompt What's the crop on shape_123?
61
+ *
62
+ * # Example
63
+ * ```ts
64
+ * const placed = await snaptrude.presentation.placedViews.get(shapeId)
65
+ * console.log(placed.position, placed.scale)
66
+ * ```
67
+ */
68
+ abstract get(shapeId: string): PluginApiReturn<PluginPlacedView>;
69
+ /**
70
+ * Move a placed view.
71
+ *
72
+ * Repositions the placed view on its sheet — `position` is the new top-left
73
+ * in sheet coordinates (page coordinates when the view is not on a sheet).
74
+ * Pass `options.sheetId` to move it onto another sheet: the view is
75
+ * reparented to that sheet and then positioned at `position` in the new
76
+ * sheet's coordinates. A grouped placed view (e.g. a sustainability 3D view
77
+ * with its legend) moves as one unit. Requires Present mode to be open.
78
+ *
79
+ * @param shapeId - The placed view shape to move.
80
+ * @param position - New top-left position (sheet-local; page coordinates
81
+ * when off-sheet).
82
+ * @param options - Optional `sheetId` — move the view onto that sheet.
83
+ * @returns The updated {@linkcode PluginPlacedView}.
84
+ * @throws If Present mode is not open, `shapeId` is unknown or is not a
85
+ * placed view, or `options.sheetId` is given but is not a sheet.
86
+ *
87
+ * @examplePrompt Move the site plan view to the top-left of sheet 2
88
+ * @examplePrompt Reposition this placed view to 100, 200
89
+ * @examplePrompt Move the hero perspective onto the cover sheet
90
+ *
91
+ * # Example
92
+ * ```ts
93
+ * await snaptrude.presentation.placedViews.move(shapeId, { x: 50, y: 50 }, {
94
+ * sheetId: "sheet_2",
95
+ * })
96
+ * ```
97
+ */
98
+ abstract move(shapeId: string, position: PluginSheetPosition, options?: {
99
+ sheetId?: string;
100
+ }): PluginApiReturn<PluginPlacedView>;
101
+ /**
102
+ * Resize a placed view by a uniform factor.
103
+ *
104
+ * Scales the placed view about its top-left corner — the same resize as
105
+ * dragging a corner handle, aspect ratio held. Works for 2D and 3D views;
106
+ * labels and grouped legends resize with it. For a 2D view the **printed
107
+ * architectural scale changes proportionally** (doubling the size of a
108
+ * 1:100 plan makes it a 1:50 plan) — use
109
+ * {@linkcode PluginPresentationPlacedViewsApi.setScale} to land on an exact
110
+ * standard scale instead. Requires Present mode to be open.
111
+ *
112
+ * @param shapeId - The placed view shape to resize.
113
+ * @param factor - Uniform scale factor, between `0.01` and `100`
114
+ * (`2` doubles the size, `0.5` halves it).
115
+ * @returns The updated {@linkcode PluginPlacedView}.
116
+ * @throws If Present mode is not open, `shapeId` is unknown or is not a
117
+ * placed view, or `factor` is not a finite number between 0.01 and 100.
118
+ *
119
+ * @examplePrompt Make this placed view twice as big
120
+ * @examplePrompt Shrink the placed 3D view to half its size
121
+ * @examplePrompt Scale the placed plan up by 50%
122
+ *
123
+ * # Example
124
+ * ```ts
125
+ * await snaptrude.presentation.placedViews.scale(shapeId, 2)
126
+ * ```
127
+ */
128
+ abstract scale(shapeId: string, factor: number): PluginApiReturn<PluginPlacedView>;
129
+ /**
130
+ * Set a placed view's architectural scale.
131
+ *
132
+ * Applies a standard architectural scale — the same write the placed view's
133
+ * Scale dropdown performs. The view (and its labels) is resized about its
134
+ * top-left corner so it prints at the given scale. `scale` must be one of
135
+ * the standard values for the project's unit system (metric `10, 20, 50,
136
+ * 100, 150, 200, 250, 500, 1000`; imperial e.g. `48` for 1/4″ = 1′, `96`
137
+ * for 1/8″ = 1′, `120` for 1″ = 10′) — the same validation as
138
+ * `sheets.place`. 3D views have no architectural scale — calling this on
139
+ * one throws. Requires Present mode to be open.
140
+ *
141
+ * @param shapeId - The placed view shape to set the scale of.
142
+ * @param scale - A standard scale value for the project's unit system.
143
+ * @returns The updated {@linkcode PluginPlacedView}.
144
+ * @throws If Present mode is not open, `shapeId` is unknown or is not a
145
+ * placed view, `scale` is not a standard value for the project's unit
146
+ * system, or the placed view is a 3D view.
147
+ *
148
+ * @examplePrompt Set the plan to 1:100
149
+ * @examplePrompt Change the placed floor plan to 1:50 scale
150
+ * @examplePrompt Make this view print at quarter-inch scale
151
+ *
152
+ * # Example
153
+ * ```ts
154
+ * await snaptrude.presentation.placedViews.setScale(shapeId, 100) // 1:100
155
+ * ```
156
+ */
157
+ abstract setScale(shapeId: string, scale: number): PluginApiReturn<PluginPlacedView>;
158
+ /**
159
+ * Crop a placed view, or clear its crop.
160
+ *
161
+ * `crop` selects the visible window as **fractions (0–1) of the uncropped
162
+ * view** — `topLeft` must be strictly less than `bottomRight` on both axes.
163
+ * The visible region stays anchored on the page (the same behavior as the
164
+ * interactive crop), labels that fall outside the crop are hidden, and the
165
+ * view's architectural scale is untouched. Pass `null` to clear the crop
166
+ * and restore the full view in its uncropped footprint (the interactive
167
+ * double-click-edge reset). The crop **survives a content refresh**
168
+ * (`sheets.updatePlacedView` recomputes it against the refreshed content
169
+ * and only clears it when the refreshed view no longer overlaps the cropped
170
+ * region). Requires Present mode to be open.
171
+ *
172
+ * @param shapeId - The placed view shape to crop.
173
+ * @param crop - The crop window ({@linkcode PluginPlacedViewCrop},
174
+ * fractions of the uncropped view), or `null` to clear.
175
+ * @returns The updated {@linkcode PluginPlacedView}.
176
+ * @throws If Present mode is not open, `shapeId` is unknown or is not a
177
+ * placed view, or `crop` is not a valid 0–1 rectangle with
178
+ * `topLeft < bottomRight` on both axes.
179
+ *
180
+ * @examplePrompt Crop the placed view to its left half
181
+ * @examplePrompt Crop this view to the top-right quarter
182
+ * @examplePrompt Remove the crop from the placed plan
183
+ *
184
+ * # Example
185
+ * ```ts
186
+ * // keep the left half of the view
187
+ * await snaptrude.presentation.placedViews.setCrop(shapeId, {
188
+ * topLeft: { x: 0, y: 0 },
189
+ * bottomRight: { x: 0.5, y: 1 },
190
+ * })
191
+ * await snaptrude.presentation.placedViews.setCrop(shapeId, null) // clear
192
+ * ```
193
+ */
194
+ abstract setCrop(shapeId: string, crop: PluginPlacedViewCrop | null): PluginApiReturn<PluginPlacedView>;
195
+ }
196
+ /**
197
+ * A crop window on a placed view, as fractions (0–1) of the **uncropped**
198
+ * view. `topLeft` must be strictly less than `bottomRight` on both axes.
199
+ *
200
+ * | Property | Type | Description |
201
+ * |---|---|---|
202
+ * | `topLeft` | `{ x: number, y: number }` | Top-left of the visible window (fractions 0–1) |
203
+ * | `bottomRight` | `{ x: number, y: number }` | Bottom-right of the visible window (fractions 0–1) |
204
+ */
205
+ export declare const PluginPlacedViewCrop: z.ZodObject<{
206
+ topLeft: z.ZodObject<{
207
+ x: z.ZodNumber;
208
+ y: z.ZodNumber;
209
+ }, z.core.$strip>;
210
+ bottomRight: z.ZodObject<{
211
+ x: z.ZodNumber;
212
+ y: z.ZodNumber;
213
+ }, z.core.$strip>;
214
+ }, z.core.$strip>;
215
+ export type PluginPlacedViewCrop = z.infer<typeof PluginPlacedViewCrop>;
216
+ /**
217
+ * A view placed on the Present canvas.
218
+ *
219
+ * | Property | Type | Description |
220
+ * |---|---|---|
221
+ * | `shapeId` | `string` | Id of the placed view shape (the id `sheets.place` returns) |
222
+ * | `sheetId` | `string \| null` | The sheet it sits on (`null` when placed loose on the canvas) |
223
+ * | `title` | `string` | The saved view's title |
224
+ * | `viewId` | `string` | Id of the saved view it was placed from |
225
+ * | `position` | {@linkcode PluginSheetPosition} | Top-left position — sheet-local when on a sheet, page coordinates otherwise |
226
+ * | `size` | `{ width: number, height: number }` | Displayed size on the canvas |
227
+ * | `scale` | `number \| null` | Architectural scale (e.g. `100` = 1:100); `null` for 3D views |
228
+ * | `is3d` | `boolean` | Whether it is a 3D view (no architectural scale) |
229
+ * | `rotation` | `number` | Rotation in radians (nonzero only for 3D views) |
230
+ * | `crop` | {@linkcode PluginPlacedViewCrop}` \| null` | Crop window (`null` when uncropped) |
231
+ * | `isUnlinked` | `boolean` | Whether the source proposal was removed (an unlinked view no longer refreshes) |
232
+ */
233
+ export declare const PluginPlacedView: z.ZodObject<{
234
+ shapeId: z.ZodString;
235
+ sheetId: z.ZodNullable<z.ZodString>;
236
+ title: z.ZodString;
237
+ viewId: z.ZodString;
238
+ position: z.ZodObject<{
239
+ x: z.ZodNumber;
240
+ y: z.ZodNumber;
241
+ }, z.core.$strip>;
242
+ size: z.ZodObject<{
243
+ width: z.ZodNumber;
244
+ height: z.ZodNumber;
245
+ }, z.core.$strip>;
246
+ scale: z.ZodNullable<z.ZodNumber>;
247
+ is3d: z.ZodBoolean;
248
+ rotation: z.ZodNumber;
249
+ crop: z.ZodNullable<z.ZodObject<{
250
+ topLeft: z.ZodObject<{
251
+ x: z.ZodNumber;
252
+ y: z.ZodNumber;
253
+ }, z.core.$strip>;
254
+ bottomRight: z.ZodObject<{
255
+ x: z.ZodNumber;
256
+ y: z.ZodNumber;
257
+ }, z.core.$strip>;
258
+ }, z.core.$strip>>;
259
+ isUnlinked: z.ZodBoolean;
260
+ }, z.core.$strip>;
261
+ export type PluginPlacedView = z.infer<typeof PluginPlacedView>;
262
+ /** Arguments for {@linkcode PluginPresentationPlacedViewsApi.list}. */
263
+ export declare const PluginPresentationPlacedViewsListArgs: z.ZodObject<{
264
+ sheetId: z.ZodOptional<z.ZodString>;
265
+ }, z.core.$strip>;
266
+ export type PluginPresentationPlacedViewsListArgs = z.infer<typeof PluginPresentationPlacedViewsListArgs>;
267
+ /** Result of {@linkcode PluginPresentationPlacedViewsApi.list}. */
268
+ export declare const PluginPresentationPlacedViewsListResult: z.ZodObject<{
269
+ placedViews: z.ZodArray<z.ZodObject<{
270
+ shapeId: z.ZodString;
271
+ sheetId: z.ZodNullable<z.ZodString>;
272
+ title: z.ZodString;
273
+ viewId: z.ZodString;
274
+ position: z.ZodObject<{
275
+ x: z.ZodNumber;
276
+ y: z.ZodNumber;
277
+ }, z.core.$strip>;
278
+ size: z.ZodObject<{
279
+ width: z.ZodNumber;
280
+ height: z.ZodNumber;
281
+ }, z.core.$strip>;
282
+ scale: z.ZodNullable<z.ZodNumber>;
283
+ is3d: z.ZodBoolean;
284
+ rotation: z.ZodNumber;
285
+ crop: z.ZodNullable<z.ZodObject<{
286
+ topLeft: z.ZodObject<{
287
+ x: z.ZodNumber;
288
+ y: z.ZodNumber;
289
+ }, z.core.$strip>;
290
+ bottomRight: z.ZodObject<{
291
+ x: z.ZodNumber;
292
+ y: z.ZodNumber;
293
+ }, z.core.$strip>;
294
+ }, z.core.$strip>>;
295
+ isUnlinked: z.ZodBoolean;
296
+ }, z.core.$strip>>;
297
+ }, z.core.$strip>;
298
+ export type PluginPresentationPlacedViewsListResult = z.infer<typeof PluginPresentationPlacedViewsListResult>;
299
+ /** Arguments for {@linkcode PluginPresentationPlacedViewsApi.get}. */
300
+ export declare const PluginPresentationPlacedViewsGetArgs: z.ZodObject<{
301
+ shapeId: z.ZodString;
302
+ }, z.core.$strip>;
303
+ export type PluginPresentationPlacedViewsGetArgs = z.infer<typeof PluginPresentationPlacedViewsGetArgs>;
304
+ /**
305
+ * Arguments for {@linkcode PluginPresentationPlacedViewsApi.move}.
306
+ *
307
+ * | Property | Type | Description |
308
+ * |---|---|---|
309
+ * | `shapeId` | `string` | The placed view shape to move |
310
+ * | `position` | {@linkcode PluginSheetPosition} | New top-left position (sheet-local; page coordinates when off-sheet) |
311
+ * | `sheetId` | `string`? | Move the view onto this sheet |
312
+ */
313
+ export declare const PluginPresentationPlacedViewsMoveArgs: z.ZodObject<{
314
+ shapeId: z.ZodString;
315
+ position: z.ZodObject<{
316
+ x: z.ZodNumber;
317
+ y: z.ZodNumber;
318
+ }, z.core.$strip>;
319
+ sheetId: z.ZodOptional<z.ZodString>;
320
+ }, z.core.$strip>;
321
+ export type PluginPresentationPlacedViewsMoveArgs = z.infer<typeof PluginPresentationPlacedViewsMoveArgs>;
322
+ /**
323
+ * Arguments for {@linkcode PluginPresentationPlacedViewsApi.scale}.
324
+ *
325
+ * | Property | Type | Description |
326
+ * |---|---|---|
327
+ * | `shapeId` | `string` | The placed view shape to resize |
328
+ * | `factor` | `number` | Uniform scale factor (0.01–100) |
329
+ */
330
+ export declare const PluginPresentationPlacedViewsScaleArgs: z.ZodObject<{
331
+ shapeId: z.ZodString;
332
+ factor: z.ZodNumber;
333
+ }, z.core.$strip>;
334
+ export type PluginPresentationPlacedViewsScaleArgs = z.infer<typeof PluginPresentationPlacedViewsScaleArgs>;
335
+ /**
336
+ * Arguments for {@linkcode PluginPresentationPlacedViewsApi.setScale}.
337
+ *
338
+ * | Property | Type | Description |
339
+ * |---|---|---|
340
+ * | `shapeId` | `string` | The placed view shape to set the scale of |
341
+ * | `scale` | `number` | A standard scale value for the project's unit system |
342
+ */
343
+ export declare const PluginPresentationPlacedViewsSetScaleArgs: z.ZodObject<{
344
+ shapeId: z.ZodString;
345
+ scale: z.ZodNumber;
346
+ }, z.core.$strip>;
347
+ export type PluginPresentationPlacedViewsSetScaleArgs = z.infer<typeof PluginPresentationPlacedViewsSetScaleArgs>;
348
+ /**
349
+ * Arguments for {@linkcode PluginPresentationPlacedViewsApi.setCrop}.
350
+ *
351
+ * | Property | Type | Description |
352
+ * |---|---|---|
353
+ * | `shapeId` | `string` | The placed view shape to crop |
354
+ * | `crop` | {@linkcode PluginPlacedViewCrop}` \| null` | The crop window, or `null` to clear |
355
+ */
356
+ export declare const PluginPresentationPlacedViewsSetCropArgs: z.ZodObject<{
357
+ shapeId: z.ZodString;
358
+ crop: z.ZodNullable<z.ZodObject<{
359
+ topLeft: z.ZodObject<{
360
+ x: z.ZodNumber;
361
+ y: z.ZodNumber;
362
+ }, z.core.$strip>;
363
+ bottomRight: z.ZodObject<{
364
+ x: z.ZodNumber;
365
+ y: z.ZodNumber;
366
+ }, z.core.$strip>;
367
+ }, z.core.$strip>>;
368
+ }, z.core.$strip>;
369
+ export type PluginPresentationPlacedViewsSetCropArgs = z.infer<typeof PluginPresentationPlacedViewsSetCropArgs>;
370
+ //# sourceMappingURL=placedViews.d.ts.map
@@ -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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