@pascal-app/nodes 1.0.6 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1350) hide show
  1. package/README.md +43 -8
  2. package/dist/agent-operations/index.d.ts +5 -0
  3. package/dist/agent-operations/index.d.ts.map +1 -1
  4. package/dist/agent-operations/index.js +10 -0
  5. package/dist/agent-tools/index.d.ts +195 -0
  6. package/dist/agent-tools/index.d.ts.map +1 -1
  7. package/dist/agent-tools/index.js +82 -2
  8. package/dist/beam/actions/move-endpoint.d.ts +24 -0
  9. package/dist/beam/actions/move-endpoint.d.ts.map +1 -0
  10. package/dist/beam/actions/move-endpoint.js +54 -0
  11. package/dist/beam/definition.d.ts +65 -0
  12. package/dist/beam/definition.d.ts.map +1 -0
  13. package/dist/beam/definition.edit.d.ts +4 -0
  14. package/dist/beam/definition.edit.d.ts.map +1 -0
  15. package/dist/beam/definition.edit.js +133 -0
  16. package/dist/beam/definition.js +4 -0
  17. package/dist/beam/definition.render.d.ts +6 -0
  18. package/dist/beam/definition.render.d.ts.map +1 -0
  19. package/dist/beam/definition.render.js +32 -0
  20. package/dist/beam/draft-settings.d.ts +17 -0
  21. package/dist/beam/draft-settings.d.ts.map +1 -0
  22. package/dist/beam/draft-settings.js +81 -0
  23. package/dist/beam/drafting.d.ts +35 -0
  24. package/dist/beam/drafting.d.ts.map +1 -0
  25. package/dist/beam/drafting.js +103 -0
  26. package/dist/beam/floorplan-affordances.d.ts +8 -0
  27. package/dist/beam/floorplan-affordances.d.ts.map +1 -0
  28. package/dist/beam/floorplan-affordances.js +40 -0
  29. package/dist/beam/floorplan-move.d.ts +11 -0
  30. package/dist/beam/floorplan-move.d.ts.map +1 -0
  31. package/dist/beam/floorplan-move.js +54 -0
  32. package/dist/beam/floorplan.d.ts +11 -0
  33. package/dist/beam/floorplan.d.ts.map +1 -0
  34. package/dist/beam/floorplan.js +91 -0
  35. package/dist/beam/geometry.d.ts +19 -0
  36. package/dist/beam/geometry.d.ts.map +1 -0
  37. package/dist/beam/geometry.js +63 -0
  38. package/dist/beam/index.d.ts +3 -0
  39. package/dist/beam/index.d.ts.map +1 -0
  40. package/dist/beam/index.js +2 -0
  41. package/dist/beam/move-endpoint-tool.d.ts +21 -0
  42. package/dist/beam/move-endpoint-tool.d.ts.map +1 -0
  43. package/dist/beam/move-endpoint-tool.js +49 -0
  44. package/dist/beam/move-tool.d.ts +12 -0
  45. package/dist/beam/move-tool.d.ts.map +1 -0
  46. package/dist/beam/move-tool.js +114 -0
  47. package/dist/beam/panel-model.d.ts +28 -0
  48. package/dist/beam/panel-model.d.ts.map +1 -0
  49. package/dist/beam/panel-model.js +123 -0
  50. package/dist/beam/panel.d.ts +13 -0
  51. package/dist/beam/panel.d.ts.map +1 -0
  52. package/dist/beam/panel.js +107 -0
  53. package/dist/beam/parametrics.d.ts +3 -0
  54. package/dist/beam/parametrics.d.ts.map +1 -0
  55. package/dist/beam/parametrics.js +4 -0
  56. package/dist/beam/renderer.d.ts +13 -0
  57. package/dist/beam/renderer.d.ts.map +1 -0
  58. package/dist/beam/renderer.js +36 -0
  59. package/dist/beam/schema.d.ts +2 -0
  60. package/dist/beam/schema.d.ts.map +1 -0
  61. package/dist/beam/schema.js +1 -0
  62. package/dist/beam/tool.d.ts +13 -0
  63. package/dist/beam/tool.d.ts.map +1 -0
  64. package/dist/beam/tool.js +152 -0
  65. package/dist/block/definition.d.ts +67 -7
  66. package/dist/block/definition.d.ts.map +1 -1
  67. package/dist/block/definition.edit.d.ts +4 -0
  68. package/dist/block/definition.edit.d.ts.map +1 -0
  69. package/dist/block/definition.edit.js +28 -0
  70. package/dist/block/definition.js +5 -144
  71. package/dist/block/definition.render.d.ts +11 -0
  72. package/dist/block/definition.render.d.ts.map +1 -0
  73. package/dist/block/definition.render.js +120 -0
  74. package/dist/box-vent/definition.d.ts +103 -29
  75. package/dist/box-vent/definition.d.ts.map +1 -1
  76. package/dist/box-vent/definition.edit.d.ts +4 -0
  77. package/dist/box-vent/definition.edit.d.ts.map +1 -0
  78. package/dist/box-vent/definition.edit.js +151 -0
  79. package/dist/box-vent/definition.js +4 -212
  80. package/dist/box-vent/definition.render.d.ts +6 -0
  81. package/dist/box-vent/definition.render.d.ts.map +1 -0
  82. package/dist/box-vent/definition.render.js +40 -0
  83. package/dist/box-vent/move-tool.d.ts.map +1 -1
  84. package/dist/box-vent/move-tool.js +6 -5
  85. package/dist/box-vent/panel.d.ts.map +1 -1
  86. package/dist/box-vent/panel.js +8 -7
  87. package/dist/building/definition.d.ts +49 -11
  88. package/dist/building/definition.d.ts.map +1 -1
  89. package/dist/building/definition.edit.d.ts +4 -0
  90. package/dist/building/definition.edit.d.ts.map +1 -0
  91. package/dist/building/definition.edit.js +10 -0
  92. package/dist/building/definition.js +4 -54
  93. package/dist/building/definition.render.d.ts +6 -0
  94. package/dist/building/definition.render.d.ts.map +1 -0
  95. package/dist/building/definition.render.js +38 -0
  96. package/dist/builtin-definitions.d.ts +9784 -0
  97. package/dist/builtin-definitions.d.ts.map +1 -0
  98. package/dist/builtin-definitions.js +113 -0
  99. package/dist/builtin-edit-contributions.d.ts +9608 -0
  100. package/dist/builtin-edit-contributions.d.ts.map +1 -0
  101. package/dist/builtin-edit-contributions.js +112 -0
  102. package/dist/builtin-plugin-metadata.d.ts +5 -0
  103. package/dist/builtin-plugin-metadata.d.ts.map +1 -0
  104. package/dist/builtin-plugin-metadata.js +1 -0
  105. package/dist/cabinet/batchable.d.ts +10 -0
  106. package/dist/cabinet/batchable.d.ts.map +1 -0
  107. package/dist/cabinet/batchable.js +12 -0
  108. package/dist/cabinet/compartment-card.d.ts.map +1 -1
  109. package/dist/cabinet/compartment-card.js +142 -46
  110. package/dist/cabinet/countertop-layout.d.ts +5 -0
  111. package/dist/cabinet/countertop-layout.d.ts.map +1 -1
  112. package/dist/cabinet/definition.d.ts +497 -25
  113. package/dist/cabinet/definition.d.ts.map +1 -1
  114. package/dist/cabinet/definition.edit.d.ts +5 -0
  115. package/dist/cabinet/definition.edit.d.ts.map +1 -0
  116. package/dist/cabinet/definition.edit.js +1375 -0
  117. package/dist/cabinet/definition.js +6 -2112
  118. package/dist/cabinet/definition.render.d.ts +66 -0
  119. package/dist/cabinet/definition.render.d.ts.map +1 -0
  120. package/dist/cabinet/definition.render.js +751 -0
  121. package/dist/cabinet/dimension-input.d.ts +6 -0
  122. package/dist/cabinet/dimension-input.d.ts.map +1 -0
  123. package/dist/cabinet/dimension-input.js +8 -0
  124. package/dist/cabinet/essential-controls.d.ts.map +1 -1
  125. package/dist/cabinet/essential-controls.js +82 -17
  126. package/dist/cabinet/index.d.ts +1 -1
  127. package/dist/cabinet/index.d.ts.map +1 -1
  128. package/dist/cabinet/index.js +1 -1
  129. package/dist/cabinet/kitchen-catalog.d.ts +17 -4
  130. package/dist/cabinet/kitchen-catalog.d.ts.map +1 -1
  131. package/dist/cabinet/kitchen-catalog.js +45 -7
  132. package/dist/cabinet/kitchen-collection.d.ts.map +1 -1
  133. package/dist/cabinet/kitchen-collection.js +21 -5
  134. package/dist/cabinet/kitchen-module-actions.d.ts.map +1 -1
  135. package/dist/cabinet/kitchen-module-actions.js +108 -15
  136. package/dist/cabinet/neighbor-placement.d.ts +10 -0
  137. package/dist/cabinet/neighbor-placement.d.ts.map +1 -1
  138. package/dist/cabinet/panel.d.ts.map +1 -1
  139. package/dist/cabinet/panel.js +127 -50
  140. package/dist/cabinet/placement-dimensions.d.ts +36 -2
  141. package/dist/cabinet/placement-dimensions.d.ts.map +1 -1
  142. package/dist/cabinet/placement-dimensions.js +68 -2
  143. package/dist/cabinet/run-finishing.d.ts +5 -0
  144. package/dist/cabinet/run-finishing.d.ts.map +1 -1
  145. package/dist/cabinet/run-ops.d.ts +5 -0
  146. package/dist/cabinet/run-ops.d.ts.map +1 -1
  147. package/dist/cabinet/run-panel.d.ts.map +1 -1
  148. package/dist/cabinet/run-panel.js +203 -52
  149. package/dist/cabinet/system.js +1 -1
  150. package/dist/cabinet/tool.d.ts.map +1 -1
  151. package/dist/cabinet/tool.js +275 -19
  152. package/dist/cabinet/wall-snap.d.ts +5 -1
  153. package/dist/cabinet/wall-snap.d.ts.map +1 -1
  154. package/dist/cabinet/wall-snap.js +2 -2
  155. package/dist/ceiling/build-up-section.d.ts +7 -0
  156. package/dist/ceiling/build-up-section.d.ts.map +1 -0
  157. package/dist/ceiling/build-up-section.js +57 -0
  158. package/dist/ceiling/definition.d.ts +152 -19
  159. package/dist/ceiling/definition.d.ts.map +1 -1
  160. package/dist/ceiling/definition.edit.d.ts +4 -0
  161. package/dist/ceiling/definition.edit.d.ts.map +1 -0
  162. package/dist/ceiling/definition.edit.js +125 -0
  163. package/dist/ceiling/definition.js +4 -205
  164. package/dist/ceiling/definition.render.d.ts +6 -0
  165. package/dist/ceiling/definition.render.d.ts.map +1 -0
  166. package/dist/ceiling/definition.render.js +71 -0
  167. package/dist/ceiling/floorplan-affordances.d.ts +112 -0
  168. package/dist/ceiling/floorplan-affordances.d.ts.map +1 -1
  169. package/dist/ceiling/materials.d.ts +5 -0
  170. package/dist/ceiling/materials.d.ts.map +1 -1
  171. package/dist/ceiling/materials.js +17 -0
  172. package/dist/ceiling/panel-model.d.ts +13 -0
  173. package/dist/ceiling/panel-model.d.ts.map +1 -0
  174. package/dist/ceiling/panel-model.js +49 -0
  175. package/dist/ceiling/panel.d.ts.map +1 -1
  176. package/dist/ceiling/panel.js +82 -18
  177. package/dist/ceiling/renderer.d.ts.map +1 -1
  178. package/dist/ceiling/renderer.js +10 -4
  179. package/dist/ceiling/tool.d.ts.map +1 -1
  180. package/dist/ceiling/tool.js +24 -4
  181. package/dist/chimney/definition.d.ts +186 -17
  182. package/dist/chimney/definition.d.ts.map +1 -1
  183. package/dist/chimney/definition.edit.d.ts +4 -0
  184. package/dist/chimney/definition.edit.d.ts.map +1 -0
  185. package/dist/chimney/definition.edit.js +219 -0
  186. package/dist/chimney/definition.js +4 -390
  187. package/dist/chimney/definition.render.d.ts +6 -0
  188. package/dist/chimney/definition.render.d.ts.map +1 -0
  189. package/dist/chimney/definition.render.js +59 -0
  190. package/dist/chimney/move-tool.d.ts.map +1 -1
  191. package/dist/chimney/move-tool.js +6 -4
  192. package/dist/chimney/panel.d.ts.map +1 -1
  193. package/dist/chimney/panel.js +113 -41
  194. package/dist/column/__bench__/geometry.d.ts +2 -0
  195. package/dist/column/__bench__/geometry.d.ts.map +1 -0
  196. package/dist/column/__bench__/geometry.js +36 -0
  197. package/dist/column/bounds.d.ts +7 -0
  198. package/dist/column/bounds.d.ts.map +1 -0
  199. package/dist/column/bounds.js +127 -0
  200. package/dist/column/definition.d.ts +372 -20
  201. package/dist/column/definition.d.ts.map +1 -1
  202. package/dist/column/definition.edit.d.ts +4 -0
  203. package/dist/column/definition.edit.d.ts.map +1 -0
  204. package/dist/column/definition.edit.js +323 -0
  205. package/dist/column/definition.js +4 -436
  206. package/dist/column/definition.render.d.ts +6 -0
  207. package/dist/column/definition.render.d.ts.map +1 -0
  208. package/dist/column/definition.render.js +81 -0
  209. package/dist/column/edit-policy.d.ts +5 -0
  210. package/dist/column/edit-policy.d.ts.map +1 -0
  211. package/dist/column/edit-policy.js +43 -0
  212. package/dist/column/floorplan-affordances.d.ts.map +1 -1
  213. package/dist/column/floorplan-affordances.js +2 -0
  214. package/dist/column/floorplan-move.d.ts.map +1 -1
  215. package/dist/column/floorplan-move.js +5 -1
  216. package/dist/column/floorplan.d.ts.map +1 -1
  217. package/dist/column/floorplan.js +50 -91
  218. package/dist/column/geometry.d.ts +13 -0
  219. package/dist/column/geometry.d.ts.map +1 -0
  220. package/dist/column/geometry.js +294 -0
  221. package/dist/column/hosted-resize.d.ts +31 -3
  222. package/dist/column/hosted-resize.d.ts.map +1 -1
  223. package/dist/column/hosted-resize.js +7 -1
  224. package/dist/column/inspector-highlight.d.ts +29 -0
  225. package/dist/column/inspector-highlight.d.ts.map +1 -0
  226. package/dist/column/inspector-highlight.js +166 -0
  227. package/dist/column/paint.d.ts.map +1 -1
  228. package/dist/column/paint.js +12 -2
  229. package/dist/column/panel.d.ts.map +1 -1
  230. package/dist/column/panel.js +459 -283
  231. package/dist/column/parametrics.js +1 -1
  232. package/dist/column/post-options.d.ts +10 -0
  233. package/dist/column/post-options.d.ts.map +1 -0
  234. package/dist/column/post-options.js +71 -0
  235. package/dist/column/post-placement.d.ts +78 -0
  236. package/dist/column/post-placement.d.ts.map +1 -0
  237. package/dist/column/post-placement.js +157 -0
  238. package/dist/column/post-section.d.ts +17 -0
  239. package/dist/column/post-section.d.ts.map +1 -0
  240. package/dist/column/post-section.js +95 -0
  241. package/dist/column/post-tool.d.ts +11 -0
  242. package/dist/column/post-tool.d.ts.map +1 -0
  243. package/dist/column/post-tool.js +94 -0
  244. package/dist/column/preset-gallery.d.ts +8 -0
  245. package/dist/column/preset-gallery.d.ts.map +1 -0
  246. package/dist/column/preset-gallery.js +98 -0
  247. package/dist/column/presets.d.ts +16 -0
  248. package/dist/column/presets.d.ts.map +1 -0
  249. package/dist/column/presets.js +96 -0
  250. package/dist/column/property-preview.d.ts +8 -0
  251. package/dist/column/property-preview.d.ts.map +1 -0
  252. package/dist/column/property-preview.js +50 -0
  253. package/dist/column/renderer.d.ts +13 -1
  254. package/dist/column/renderer.d.ts.map +1 -1
  255. package/dist/column/renderer.js +174 -198
  256. package/dist/column/shape.d.ts +4 -4
  257. package/dist/column/shape.d.ts.map +1 -1
  258. package/dist/column/shape.js +1 -1
  259. package/dist/column/surface.d.ts.map +1 -1
  260. package/dist/column/surface.js +15 -8
  261. package/dist/column/tool.d.ts +3 -10
  262. package/dist/column/tool.d.ts.map +1 -1
  263. package/dist/column/tool.js +34 -11
  264. package/dist/construction-dimension/definition.d.ts +129 -3
  265. package/dist/construction-dimension/definition.d.ts.map +1 -1
  266. package/dist/construction-dimension/definition.edit.d.ts +4 -0
  267. package/dist/construction-dimension/definition.edit.d.ts.map +1 -0
  268. package/dist/construction-dimension/definition.edit.js +32 -0
  269. package/dist/construction-dimension/definition.js +4 -83
  270. package/dist/construction-dimension/definition.render.d.ts +6 -0
  271. package/dist/construction-dimension/definition.render.d.ts.map +1 -0
  272. package/dist/construction-dimension/definition.render.js +53 -0
  273. package/dist/construction-dimension/floorplan-tool.d.ts.map +1 -1
  274. package/dist/construction-dimension/floorplan-tool.js +2 -2
  275. package/dist/cupola/definition.d.ts +95 -10
  276. package/dist/cupola/definition.d.ts.map +1 -1
  277. package/dist/cupola/definition.edit.d.ts +4 -0
  278. package/dist/cupola/definition.edit.d.ts.map +1 -0
  279. package/dist/cupola/definition.edit.js +103 -0
  280. package/dist/cupola/definition.js +4 -148
  281. package/dist/cupola/definition.render.d.ts +6 -0
  282. package/dist/cupola/definition.render.d.ts.map +1 -0
  283. package/dist/cupola/definition.render.js +43 -0
  284. package/dist/cupola/move-tool.d.ts.map +1 -1
  285. package/dist/cupola/move-tool.js +6 -5
  286. package/dist/cupola/panel.d.ts.map +1 -1
  287. package/dist/cupola/panel.js +14 -7
  288. package/dist/definition-contributions.d.ts +14 -0
  289. package/dist/definition-contributions.d.ts.map +1 -0
  290. package/dist/definition-contributions.js +8 -0
  291. package/dist/door/actions.d.ts +7 -0
  292. package/dist/door/actions.d.ts.map +1 -0
  293. package/dist/door/actions.js +32 -0
  294. package/dist/door/contextual-dimensions.d.ts.map +1 -1
  295. package/dist/door/contextual-dimensions.js +11 -1
  296. package/dist/door/definition.d.ts +350 -22
  297. package/dist/door/definition.d.ts.map +1 -1
  298. package/dist/door/definition.edit.d.ts +4 -0
  299. package/dist/door/definition.edit.d.ts.map +1 -0
  300. package/dist/door/definition.edit.js +246 -0
  301. package/dist/door/definition.js +4 -314
  302. package/dist/door/definition.render.d.ts +6 -0
  303. package/dist/door/definition.render.d.ts.map +1 -0
  304. package/dist/door/definition.render.js +88 -0
  305. package/dist/door/floorplan-affordances.d.ts.map +1 -1
  306. package/dist/door/floorplan-affordances.js +5 -2
  307. package/dist/door/floorplan-move.d.ts.map +1 -1
  308. package/dist/door/floorplan-move.js +34 -9
  309. package/dist/door/floorplan.d.ts +2 -0
  310. package/dist/door/floorplan.d.ts.map +1 -1
  311. package/dist/door/floorplan.js +89 -16
  312. package/dist/door/mechanism.d.ts.map +1 -1
  313. package/dist/door/mechanism.js +1 -2
  314. package/dist/door/move-tool.d.ts.map +1 -1
  315. package/dist/door/move-tool.js +81 -35
  316. package/dist/door/paint.d.ts +2 -7
  317. package/dist/door/paint.d.ts.map +1 -1
  318. package/dist/door/paint.js +26 -2
  319. package/dist/door/panel.d.ts.map +1 -1
  320. package/dist/door/panel.js +242 -90
  321. package/dist/door/parametrics.js +1 -1
  322. package/dist/door/placement.d.ts.map +1 -1
  323. package/dist/door/placement.js +9 -2
  324. package/dist/door/swing.d.ts +22 -0
  325. package/dist/door/swing.d.ts.map +1 -0
  326. package/dist/door/swing.js +36 -0
  327. package/dist/door/tool.d.ts.map +1 -1
  328. package/dist/door/tool.js +77 -29
  329. package/dist/dormer/definition.d.ts +240 -11
  330. package/dist/dormer/definition.d.ts.map +1 -1
  331. package/dist/dormer/definition.edit.d.ts +4 -0
  332. package/dist/dormer/definition.edit.d.ts.map +1 -0
  333. package/dist/dormer/definition.edit.js +214 -0
  334. package/dist/dormer/definition.js +4 -319
  335. package/dist/dormer/definition.render.d.ts +6 -0
  336. package/dist/dormer/definition.render.d.ts.map +1 -0
  337. package/dist/dormer/definition.render.js +52 -0
  338. package/dist/dormer/panel-actions-section.d.ts.map +1 -1
  339. package/dist/dormer/panel-actions-section.js +3 -1
  340. package/dist/dormer/panel-position-section.d.ts.map +1 -1
  341. package/dist/dormer/panel-position-section.js +4 -3
  342. package/dist/dormer/panel-windows-section.d.ts.map +1 -1
  343. package/dist/dormer/panel-windows-section.js +38 -1
  344. package/dist/dormer/panel.d.ts.map +1 -1
  345. package/dist/dormer/panel.js +24 -18
  346. package/dist/downspout/definition.d.ts +108 -16
  347. package/dist/downspout/definition.d.ts.map +1 -1
  348. package/dist/downspout/definition.edit.d.ts +4 -0
  349. package/dist/downspout/definition.edit.d.ts.map +1 -0
  350. package/dist/downspout/definition.edit.js +134 -0
  351. package/dist/downspout/definition.js +4 -188
  352. package/dist/downspout/definition.render.d.ts +6 -0
  353. package/dist/downspout/definition.render.d.ts.map +1 -0
  354. package/dist/downspout/definition.render.js +46 -0
  355. package/dist/downspout/inspector-editors.d.ts.map +1 -1
  356. package/dist/downspout/inspector-editors.js +3 -2
  357. package/dist/duct-fitting/definition.d.ts +99 -11
  358. package/dist/duct-fitting/definition.d.ts.map +1 -1
  359. package/dist/duct-fitting/definition.edit.d.ts +4 -0
  360. package/dist/duct-fitting/definition.edit.d.ts.map +1 -0
  361. package/dist/duct-fitting/definition.edit.js +49 -0
  362. package/dist/duct-fitting/definition.js +4 -135
  363. package/dist/duct-fitting/definition.render.d.ts +6 -0
  364. package/dist/duct-fitting/definition.render.d.ts.map +1 -0
  365. package/dist/duct-fitting/definition.render.js +82 -0
  366. package/dist/duct-fitting/floorplan.js +1 -1
  367. package/dist/duct-fitting/geometry.js +2 -1
  368. package/dist/duct-fitting/inspector-editors.d.ts.map +1 -1
  369. package/dist/duct-fitting/inspector-editors.js +6 -1
  370. package/dist/duct-fitting/move-tool.d.ts.map +1 -1
  371. package/dist/duct-fitting/move-tool.js +19 -13
  372. package/dist/duct-fitting/selection.d.ts.map +1 -1
  373. package/dist/duct-fitting/selection.js +92 -80
  374. package/dist/duct-fitting/tool.d.ts.map +1 -1
  375. package/dist/duct-fitting/tool.js +11 -2
  376. package/dist/duct-segment/continuation.d.ts +2 -2
  377. package/dist/duct-segment/continuation.d.ts.map +1 -1
  378. package/dist/duct-segment/continuation.js +53 -2
  379. package/dist/duct-segment/definition.d.ts +91 -3
  380. package/dist/duct-segment/definition.d.ts.map +1 -1
  381. package/dist/duct-segment/definition.edit.d.ts +4 -0
  382. package/dist/duct-segment/definition.edit.d.ts.map +1 -0
  383. package/dist/duct-segment/definition.edit.js +100 -0
  384. package/dist/duct-segment/definition.js +4 -181
  385. package/dist/duct-segment/definition.render.d.ts +6 -0
  386. package/dist/duct-segment/definition.render.d.ts.map +1 -0
  387. package/dist/duct-segment/definition.render.js +89 -0
  388. package/dist/duct-segment/edit-inspector.d.ts +5 -0
  389. package/dist/duct-segment/edit-inspector.d.ts.map +1 -0
  390. package/dist/duct-segment/edit-inspector.js +163 -0
  391. package/dist/duct-segment/edit-operation.d.ts +17 -0
  392. package/dist/duct-segment/edit-operation.d.ts.map +1 -0
  393. package/dist/duct-segment/edit-operation.js +283 -0
  394. package/dist/duct-segment/floorplan.js +1 -1
  395. package/dist/duct-segment/geometry.d.ts +0 -40
  396. package/dist/duct-segment/geometry.d.ts.map +1 -1
  397. package/dist/duct-segment/geometry.js +2 -77
  398. package/dist/duct-segment/move-tool.d.ts.map +1 -1
  399. package/dist/duct-segment/move-tool.js +34 -35
  400. package/dist/duct-segment/parametrics.d.ts.map +1 -1
  401. package/dist/duct-segment/parametrics.js +2 -35
  402. package/dist/duct-segment/profile.d.ts +42 -0
  403. package/dist/duct-segment/profile.d.ts.map +1 -0
  404. package/dist/duct-segment/profile.js +78 -0
  405. package/dist/duct-segment/selection.d.ts.map +1 -1
  406. package/dist/duct-segment/selection.js +112 -53
  407. package/dist/duct-segment/tool.d.ts.map +1 -1
  408. package/dist/duct-segment/tool.js +103 -27
  409. package/dist/duct-terminal/definition.d.ts +68 -12
  410. package/dist/duct-terminal/definition.d.ts.map +1 -1
  411. package/dist/duct-terminal/definition.edit.d.ts +4 -0
  412. package/dist/duct-terminal/definition.edit.d.ts.map +1 -0
  413. package/dist/duct-terminal/definition.edit.js +14 -0
  414. package/dist/duct-terminal/definition.js +4 -87
  415. package/dist/duct-terminal/definition.render.d.ts +6 -0
  416. package/dist/duct-terminal/definition.render.d.ts.map +1 -0
  417. package/dist/duct-terminal/definition.render.js +66 -0
  418. package/dist/duct-terminal/geometry.d.ts.map +1 -1
  419. package/dist/duct-terminal/geometry.js +2 -1
  420. package/dist/duct-terminal/parametrics.d.ts.map +1 -1
  421. package/dist/duct-terminal/parametrics.js +1 -0
  422. package/dist/duct-terminal/ports.js +1 -1
  423. package/dist/duct-terminal/tool.d.ts.map +1 -1
  424. package/dist/duct-terminal/tool.js +11 -2
  425. package/dist/elevator/__bench__/runtime.d.ts +2 -0
  426. package/dist/elevator/__bench__/runtime.d.ts.map +1 -0
  427. package/dist/elevator/__bench__/runtime.js +38 -0
  428. package/dist/elevator/definition.d.ts +117 -10
  429. package/dist/elevator/definition.d.ts.map +1 -1
  430. package/dist/elevator/definition.edit.d.ts +4 -0
  431. package/dist/elevator/definition.edit.d.ts.map +1 -0
  432. package/dist/elevator/definition.edit.js +177 -0
  433. package/dist/elevator/definition.js +4 -258
  434. package/dist/elevator/definition.render.d.ts +11 -0
  435. package/dist/elevator/definition.render.d.ts.map +1 -0
  436. package/dist/elevator/definition.render.js +96 -0
  437. package/dist/elevator/floorplan-affordances.d.ts.map +1 -1
  438. package/dist/elevator/floorplan-affordances.js +11 -9
  439. package/dist/elevator/floorplan.d.ts +19 -0
  440. package/dist/elevator/floorplan.d.ts.map +1 -1
  441. package/dist/elevator/floorplan.js +3 -9
  442. package/dist/elevator/inspection.d.ts +17 -0
  443. package/dist/elevator/inspection.d.ts.map +1 -0
  444. package/dist/elevator/inspection.js +78 -0
  445. package/dist/elevator/panel.d.ts.map +1 -1
  446. package/dist/elevator/panel.js +177 -102
  447. package/dist/elevator/parametrics.d.ts +1 -1
  448. package/dist/elevator/parametrics.d.ts.map +1 -1
  449. package/dist/elevator/parametrics.js +7 -10
  450. package/dist/elevator/presets.d.ts +17 -0
  451. package/dist/elevator/presets.d.ts.map +1 -0
  452. package/dist/elevator/presets.js +52 -0
  453. package/dist/elevator/renderer.d.ts +2 -1
  454. package/dist/elevator/renderer.d.ts.map +1 -1
  455. package/dist/elevator/renderer.edit.d.ts +5 -0
  456. package/dist/elevator/renderer.edit.d.ts.map +1 -0
  457. package/dist/elevator/renderer.edit.js +8 -0
  458. package/dist/elevator/renderer.js +159 -60
  459. package/dist/elevator/tool.d.ts +2 -0
  460. package/dist/elevator/tool.d.ts.map +1 -0
  461. package/dist/elevator/tool.js +250 -0
  462. package/dist/eyebrow-vent/definition.d.ts +97 -11
  463. package/dist/eyebrow-vent/definition.d.ts.map +1 -1
  464. package/dist/eyebrow-vent/definition.edit.d.ts +4 -0
  465. package/dist/eyebrow-vent/definition.edit.d.ts.map +1 -0
  466. package/dist/eyebrow-vent/definition.edit.js +106 -0
  467. package/dist/eyebrow-vent/definition.js +4 -152
  468. package/dist/eyebrow-vent/definition.render.d.ts +6 -0
  469. package/dist/eyebrow-vent/definition.render.d.ts.map +1 -0
  470. package/dist/eyebrow-vent/definition.render.js +43 -0
  471. package/dist/eyebrow-vent/move-tool.d.ts.map +1 -1
  472. package/dist/eyebrow-vent/move-tool.js +6 -5
  473. package/dist/eyebrow-vent/panel.d.ts.map +1 -1
  474. package/dist/eyebrow-vent/panel.js +16 -6
  475. package/dist/fence/definition.d.ts +186 -17
  476. package/dist/fence/definition.d.ts.map +1 -1
  477. package/dist/fence/definition.edit.d.ts +4 -0
  478. package/dist/fence/definition.edit.d.ts.map +1 -0
  479. package/dist/fence/definition.edit.js +282 -0
  480. package/dist/fence/definition.js +5 -413
  481. package/dist/fence/definition.render.d.ts +8 -0
  482. package/dist/fence/definition.render.d.ts.map +1 -0
  483. package/dist/fence/definition.render.js +124 -0
  484. package/dist/fence/drafting.d.ts +2 -3
  485. package/dist/fence/drafting.d.ts.map +1 -1
  486. package/dist/fence/drafting.js +2 -3
  487. package/dist/fence/inspector-editors.d.ts.map +1 -1
  488. package/dist/fence/inspector-editors.js +64 -21
  489. package/dist/fence/move-endpoint-tool.d.ts.map +1 -1
  490. package/dist/fence/move-endpoint-tool.js +12 -3
  491. package/dist/fence/system.d.ts.map +1 -1
  492. package/dist/fence/system.js +13 -0
  493. package/dist/fence/tool.js +2 -2
  494. package/dist/fence-feature/actions.d.ts.map +1 -1
  495. package/dist/fence-feature/actions.js +5 -2
  496. package/dist/fence-feature/definition.d.ts +270 -3
  497. package/dist/fence-feature/definition.d.ts.map +1 -1
  498. package/dist/fence-feature/definition.edit.d.ts +5 -0
  499. package/dist/fence-feature/definition.edit.d.ts.map +1 -0
  500. package/dist/fence-feature/definition.edit.js +69 -0
  501. package/dist/fence-feature/definition.js +5 -116
  502. package/dist/fence-feature/definition.render.d.ts +9 -0
  503. package/dist/fence-feature/definition.render.d.ts.map +1 -0
  504. package/dist/fence-feature/definition.render.js +69 -0
  505. package/dist/fence-feature/inspector.d.ts.map +1 -1
  506. package/dist/fence-feature/inspector.js +150 -34
  507. package/dist/fence-feature/move-session.d.ts +1 -1
  508. package/dist/floor-opening/definition.d.ts +58 -2
  509. package/dist/floor-opening/definition.d.ts.map +1 -1
  510. package/dist/floor-opening/definition.edit.d.ts +4 -0
  511. package/dist/floor-opening/definition.edit.d.ts.map +1 -0
  512. package/dist/floor-opening/definition.edit.js +11 -0
  513. package/dist/floor-opening/definition.js +4 -41
  514. package/dist/floor-opening/definition.render.d.ts +6 -0
  515. package/dist/floor-opening/definition.render.d.ts.map +1 -0
  516. package/dist/floor-opening/definition.render.js +32 -0
  517. package/dist/floor-opening/floorplan.d.ts +29 -6
  518. package/dist/floor-opening/floorplan.d.ts.map +1 -1
  519. package/dist/floor-opening/floorplan.js +172 -14
  520. package/dist/guide/definition.d.ts +65 -9
  521. package/dist/guide/definition.d.ts.map +1 -1
  522. package/dist/guide/definition.edit.d.ts +4 -0
  523. package/dist/guide/definition.edit.d.ts.map +1 -0
  524. package/dist/guide/definition.edit.js +4 -0
  525. package/dist/guide/definition.js +4 -53
  526. package/dist/guide/definition.render.d.ts +6 -0
  527. package/dist/guide/definition.render.d.ts.map +1 -0
  528. package/dist/guide/definition.render.js +45 -0
  529. package/dist/gutter/definition.d.ts +113 -18
  530. package/dist/gutter/definition.d.ts.map +1 -1
  531. package/dist/gutter/definition.edit.d.ts +4 -0
  532. package/dist/gutter/definition.edit.d.ts.map +1 -0
  533. package/dist/gutter/definition.edit.js +121 -0
  534. package/dist/gutter/definition.js +4 -176
  535. package/dist/gutter/definition.render.d.ts +6 -0
  536. package/dist/gutter/definition.render.d.ts.map +1 -0
  537. package/dist/gutter/definition.render.js +44 -0
  538. package/dist/gutter/downspouts-panel.d.ts.map +1 -1
  539. package/dist/gutter/downspouts-panel.js +14 -2
  540. package/dist/gutter/move-tool.d.ts.map +1 -1
  541. package/dist/gutter/move-tool.js +5 -4
  542. package/dist/hvac-equipment/definition.d.ts +72 -12
  543. package/dist/hvac-equipment/definition.d.ts.map +1 -1
  544. package/dist/hvac-equipment/definition.edit.d.ts +4 -0
  545. package/dist/hvac-equipment/definition.edit.d.ts.map +1 -0
  546. package/dist/hvac-equipment/definition.edit.js +13 -0
  547. package/dist/hvac-equipment/definition.js +4 -92
  548. package/dist/hvac-equipment/definition.render.d.ts +6 -0
  549. package/dist/hvac-equipment/definition.render.d.ts.map +1 -0
  550. package/dist/hvac-equipment/definition.render.js +72 -0
  551. package/dist/hvac-equipment/floorplan.js +1 -1
  552. package/dist/hvac-equipment/geometry.d.ts.map +1 -1
  553. package/dist/hvac-equipment/geometry.js +2 -1
  554. package/dist/hvac-equipment/parametrics.d.ts.map +1 -1
  555. package/dist/hvac-equipment/parametrics.js +1 -0
  556. package/dist/hvac-equipment/ports.js +1 -1
  557. package/dist/hvac-equipment/tool.d.ts.map +1 -1
  558. package/dist/hvac-equipment/tool.js +3 -2
  559. package/dist/i18n/definition-messages.d.ts +5 -0
  560. package/dist/i18n/definition-messages.d.ts.map +1 -0
  561. package/dist/i18n/definition-messages.js +771 -0
  562. package/dist/imported-mesh/definition.d.ts +54 -4
  563. package/dist/imported-mesh/definition.d.ts.map +1 -1
  564. package/dist/imported-mesh/definition.edit.d.ts +4 -0
  565. package/dist/imported-mesh/definition.edit.d.ts.map +1 -0
  566. package/dist/imported-mesh/definition.edit.js +5 -0
  567. package/dist/imported-mesh/definition.js +4 -40
  568. package/dist/imported-mesh/definition.render.d.ts +6 -0
  569. package/dist/imported-mesh/definition.render.d.ts.map +1 -0
  570. package/dist/imported-mesh/definition.render.js +36 -0
  571. package/dist/index.d.ts +7 -17
  572. package/dist/index.d.ts.map +1 -1
  573. package/dist/index.js +13 -135
  574. package/dist/item/authored-params.d.ts.map +1 -1
  575. package/dist/item/authored-params.js +19 -4
  576. package/dist/item/definition.d.ts +280 -31
  577. package/dist/item/definition.d.ts.map +1 -1
  578. package/dist/item/definition.edit.d.ts +4 -0
  579. package/dist/item/definition.edit.d.ts.map +1 -0
  580. package/dist/item/definition.edit.js +206 -0
  581. package/dist/item/definition.js +4 -356
  582. package/dist/item/definition.render.d.ts +6 -0
  583. package/dist/item/definition.render.d.ts.map +1 -0
  584. package/dist/item/definition.render.js +128 -0
  585. package/dist/item/floorplan.d.ts +1 -1
  586. package/dist/item/floorplan.d.ts.map +1 -1
  587. package/dist/item/floorplan.js +2 -2
  588. package/dist/item/panel.d.ts.map +1 -1
  589. package/dist/item/panel.js +9 -7
  590. package/dist/item/renderer.d.ts.map +1 -1
  591. package/dist/item/renderer.js +2 -2
  592. package/dist/lean-to-extension/definition.d.ts +177 -3
  593. package/dist/lean-to-extension/definition.d.ts.map +1 -1
  594. package/dist/lean-to-extension/definition.edit.d.ts +4 -0
  595. package/dist/lean-to-extension/definition.edit.d.ts.map +1 -0
  596. package/dist/lean-to-extension/definition.edit.js +392 -0
  597. package/dist/lean-to-extension/definition.js +4 -433
  598. package/dist/lean-to-extension/definition.render.d.ts +6 -0
  599. package/dist/lean-to-extension/definition.render.d.ts.map +1 -0
  600. package/dist/lean-to-extension/definition.render.js +46 -0
  601. package/dist/level/definition.d.ts +49 -8
  602. package/dist/level/definition.d.ts.map +1 -1
  603. package/dist/level/definition.edit.d.ts +4 -0
  604. package/dist/level/definition.edit.d.ts.map +1 -0
  605. package/dist/level/definition.edit.js +4 -0
  606. package/dist/level/definition.js +4 -60
  607. package/dist/level/definition.render.d.ts +6 -0
  608. package/dist/level/definition.render.d.ts.map +1 -0
  609. package/dist/level/definition.render.js +53 -0
  610. package/dist/lineset/definition.d.ts +49 -14
  611. package/dist/lineset/definition.d.ts.map +1 -1
  612. package/dist/lineset/definition.edit.d.ts +4 -0
  613. package/dist/lineset/definition.edit.d.ts.map +1 -0
  614. package/dist/lineset/definition.edit.js +38 -0
  615. package/dist/lineset/definition.js +4 -119
  616. package/dist/lineset/definition.render.d.ts +6 -0
  617. package/dist/lineset/definition.render.d.ts.map +1 -0
  618. package/dist/lineset/definition.render.js +72 -0
  619. package/dist/lineset/floorplan.js +1 -1
  620. package/dist/lineset/geometry.js +1 -1
  621. package/dist/lineset/move-tool.d.ts.map +1 -1
  622. package/dist/lineset/move-tool.js +14 -7
  623. package/dist/liquid-line/definition.d.ts +47 -15
  624. package/dist/liquid-line/definition.d.ts.map +1 -1
  625. package/dist/liquid-line/definition.edit.d.ts +4 -0
  626. package/dist/liquid-line/definition.edit.d.ts.map +1 -0
  627. package/dist/liquid-line/definition.edit.js +31 -0
  628. package/dist/liquid-line/definition.js +4 -111
  629. package/dist/liquid-line/definition.render.d.ts +6 -0
  630. package/dist/liquid-line/definition.render.d.ts.map +1 -0
  631. package/dist/liquid-line/definition.render.js +70 -0
  632. package/dist/liquid-line/floorplan.js +1 -1
  633. package/dist/liquid-line/geometry.js +1 -1
  634. package/dist/liquid-line/tool.d.ts.map +1 -1
  635. package/dist/liquid-line/tool.js +10 -3
  636. package/dist/measurement/definition.d.ts +126 -3
  637. package/dist/measurement/definition.d.ts.map +1 -1
  638. package/dist/measurement/definition.edit.d.ts +4 -0
  639. package/dist/measurement/definition.edit.d.ts.map +1 -0
  640. package/dist/measurement/definition.edit.js +26 -0
  641. package/dist/measurement/definition.js +4 -67
  642. package/dist/measurement/definition.render.d.ts +6 -0
  643. package/dist/measurement/definition.render.d.ts.map +1 -0
  644. package/dist/measurement/definition.render.js +43 -0
  645. package/dist/measurement/floorplan.d.ts.map +1 -1
  646. package/dist/measurement/floorplan.js +3 -2
  647. package/dist/measurement/renderer.d.ts.map +1 -1
  648. package/dist/measurement/renderer.js +2 -3
  649. package/dist/measurement/selection.d.ts.map +1 -1
  650. package/dist/measurement/selection.js +2 -2
  651. package/dist/measurement/tool.d.ts +3 -3
  652. package/dist/measurement/tool.d.ts.map +1 -1
  653. package/dist/measurement/tool.js +9 -9
  654. package/dist/pipe-fitting/definition.d.ts +73 -9
  655. package/dist/pipe-fitting/definition.d.ts.map +1 -1
  656. package/dist/pipe-fitting/definition.edit.d.ts +4 -0
  657. package/dist/pipe-fitting/definition.edit.d.ts.map +1 -0
  658. package/dist/pipe-fitting/definition.edit.js +47 -0
  659. package/dist/pipe-fitting/definition.js +4 -105
  660. package/dist/pipe-fitting/definition.render.d.ts +6 -0
  661. package/dist/pipe-fitting/definition.render.d.ts.map +1 -0
  662. package/dist/pipe-fitting/definition.render.js +54 -0
  663. package/dist/pipe-fitting/floorplan.js +1 -1
  664. package/dist/pipe-fitting/geometry.js +1 -1
  665. package/dist/pipe-fitting/move-tool.d.ts +1 -1
  666. package/dist/pipe-fitting/move-tool.d.ts.map +1 -1
  667. package/dist/pipe-fitting/move-tool.js +28 -22
  668. package/dist/pipe-fitting/parametrics.d.ts.map +1 -1
  669. package/dist/pipe-fitting/parametrics.js +1 -0
  670. package/dist/pipe-fitting/ports.js +1 -1
  671. package/dist/pipe-fitting/selection.d.ts.map +1 -1
  672. package/dist/pipe-fitting/selection.js +73 -29
  673. package/dist/pipe-fitting/tool.d.ts.map +1 -1
  674. package/dist/pipe-fitting/tool.js +3 -2
  675. package/dist/pipe-segment/collar-connection.d.ts +12 -0
  676. package/dist/pipe-segment/collar-connection.d.ts.map +1 -0
  677. package/dist/pipe-segment/collar-connection.js +58 -0
  678. package/dist/pipe-segment/connect-operation.d.ts +9 -0
  679. package/dist/pipe-segment/connect-operation.d.ts.map +1 -0
  680. package/dist/pipe-segment/connect-operation.js +44 -0
  681. package/dist/pipe-segment/continuation.d.ts +3 -2
  682. package/dist/pipe-segment/continuation.d.ts.map +1 -1
  683. package/dist/pipe-segment/continuation.js +60 -1
  684. package/dist/pipe-segment/definition.d.ts +78 -13
  685. package/dist/pipe-segment/definition.d.ts.map +1 -1
  686. package/dist/pipe-segment/definition.edit.d.ts +4 -0
  687. package/dist/pipe-segment/definition.edit.d.ts.map +1 -0
  688. package/dist/pipe-segment/definition.edit.js +48 -0
  689. package/dist/pipe-segment/definition.js +4 -132
  690. package/dist/pipe-segment/definition.render.d.ts +6 -0
  691. package/dist/pipe-segment/definition.render.d.ts.map +1 -0
  692. package/dist/pipe-segment/definition.render.js +78 -0
  693. package/dist/pipe-segment/floorplan.d.ts +1 -1
  694. package/dist/pipe-segment/floorplan.d.ts.map +1 -1
  695. package/dist/pipe-segment/floorplan.js +34 -1
  696. package/dist/pipe-segment/geometry.d.ts.map +1 -1
  697. package/dist/pipe-segment/geometry.js +2 -1
  698. package/dist/pipe-segment/grade-affordance.d.ts +8 -0
  699. package/dist/pipe-segment/grade-affordance.d.ts.map +1 -0
  700. package/dist/pipe-segment/grade-affordance.js +116 -0
  701. package/dist/pipe-segment/grade-inspector.d.ts +5 -0
  702. package/dist/pipe-segment/grade-inspector.d.ts.map +1 -0
  703. package/dist/pipe-segment/grade-inspector.js +91 -0
  704. package/dist/pipe-segment/grade-label.d.ts +7 -0
  705. package/dist/pipe-segment/grade-label.d.ts.map +1 -0
  706. package/dist/pipe-segment/grade-label.js +32 -0
  707. package/dist/pipe-segment/grade-operation.d.ts +22 -0
  708. package/dist/pipe-segment/grade-operation.d.ts.map +1 -0
  709. package/dist/pipe-segment/grade-operation.js +114 -0
  710. package/dist/pipe-segment/move-tool.d.ts.map +1 -1
  711. package/dist/pipe-segment/move-tool.js +38 -15
  712. package/dist/pipe-segment/offset-inspector.d.ts +5 -0
  713. package/dist/pipe-segment/offset-inspector.d.ts.map +1 -0
  714. package/dist/pipe-segment/offset-inspector.js +112 -0
  715. package/dist/pipe-segment/offset-operation.d.ts +9 -0
  716. package/dist/pipe-segment/offset-operation.d.ts.map +1 -0
  717. package/dist/pipe-segment/offset-operation.js +104 -0
  718. package/dist/pipe-segment/parametrics.d.ts.map +1 -1
  719. package/dist/pipe-segment/parametrics.js +1 -9
  720. package/dist/pipe-segment/resize-inspector.d.ts +5 -0
  721. package/dist/pipe-segment/resize-inspector.d.ts.map +1 -0
  722. package/dist/pipe-segment/resize-inspector.js +75 -0
  723. package/dist/pipe-segment/resize-operation.d.ts +8 -0
  724. package/dist/pipe-segment/resize-operation.d.ts.map +1 -0
  725. package/dist/pipe-segment/resize-operation.js +143 -0
  726. package/dist/pipe-segment/run-move.d.ts +65 -0
  727. package/dist/pipe-segment/run-move.d.ts.map +1 -0
  728. package/dist/pipe-segment/run-move.js +110 -0
  729. package/dist/pipe-segment/selection.d.ts.map +1 -1
  730. package/dist/pipe-segment/selection.js +122 -178
  731. package/dist/pipe-segment/slope.d.ts +3 -0
  732. package/dist/pipe-segment/slope.d.ts.map +1 -1
  733. package/dist/pipe-segment/slope.js +47 -0
  734. package/dist/pipe-segment/tool.d.ts.map +1 -1
  735. package/dist/pipe-segment/tool.js +123 -28
  736. package/dist/pipe-trap/definition.d.ts +54 -9
  737. package/dist/pipe-trap/definition.d.ts.map +1 -1
  738. package/dist/pipe-trap/definition.edit.d.ts +4 -0
  739. package/dist/pipe-trap/definition.edit.d.ts.map +1 -0
  740. package/dist/pipe-trap/definition.edit.js +13 -0
  741. package/dist/pipe-trap/definition.js +4 -59
  742. package/dist/pipe-trap/definition.render.d.ts +6 -0
  743. package/dist/pipe-trap/definition.render.d.ts.map +1 -0
  744. package/dist/pipe-trap/definition.render.js +43 -0
  745. package/dist/pipe-trap/geometry.d.ts.map +1 -1
  746. package/dist/pipe-trap/geometry.js +2 -1
  747. package/dist/pipe-trap/parametrics.d.ts.map +1 -1
  748. package/dist/pipe-trap/parametrics.js +1 -0
  749. package/dist/pipe-trap/tool.d.ts.map +1 -1
  750. package/dist/pipe-trap/tool.js +7 -2
  751. package/dist/procedural-item/definition.d.ts +734 -3
  752. package/dist/procedural-item/definition.d.ts.map +1 -1
  753. package/dist/procedural-item/definition.edit.d.ts +4 -0
  754. package/dist/procedural-item/definition.edit.d.ts.map +1 -0
  755. package/dist/procedural-item/definition.edit.js +255 -0
  756. package/dist/procedural-item/definition.js +4 -325
  757. package/dist/procedural-item/definition.render.d.ts +6 -0
  758. package/dist/procedural-item/definition.render.d.ts.map +1 -0
  759. package/dist/procedural-item/definition.render.js +84 -0
  760. package/dist/procedural-item/renderer.d.ts.map +1 -1
  761. package/dist/procedural-item/renderer.edit.d.ts +5 -0
  762. package/dist/procedural-item/renderer.edit.d.ts.map +1 -0
  763. package/dist/procedural-item/renderer.edit.js +49 -0
  764. package/dist/procedural-item/renderer.js +12 -22
  765. package/dist/render.d.ts +4 -0
  766. package/dist/render.d.ts.map +1 -0
  767. package/dist/render.js +4 -0
  768. package/dist/ridge-vent/definition.d.ts +95 -15
  769. package/dist/ridge-vent/definition.d.ts.map +1 -1
  770. package/dist/ridge-vent/definition.edit.d.ts +4 -0
  771. package/dist/ridge-vent/definition.edit.d.ts.map +1 -0
  772. package/dist/ridge-vent/definition.edit.js +148 -0
  773. package/dist/ridge-vent/definition.js +4 -197
  774. package/dist/ridge-vent/definition.render.d.ts +6 -0
  775. package/dist/ridge-vent/definition.render.d.ts.map +1 -0
  776. package/dist/ridge-vent/definition.render.js +42 -0
  777. package/dist/ridge-vent/move-tool.d.ts.map +1 -1
  778. package/dist/ridge-vent/move-tool.js +5 -4
  779. package/dist/ridge-vent/panel.d.ts.map +1 -1
  780. package/dist/ridge-vent/panel.js +22 -9
  781. package/dist/roof/barrel-panel.d.ts.map +1 -1
  782. package/dist/roof/barrel-panel.js +8 -4
  783. package/dist/roof/definition.d.ts +325 -8
  784. package/dist/roof/definition.d.ts.map +1 -1
  785. package/dist/roof/definition.edit.d.ts +4 -0
  786. package/dist/roof/definition.edit.d.ts.map +1 -0
  787. package/dist/roof/definition.edit.js +183 -0
  788. package/dist/roof/definition.js +4 -254
  789. package/dist/roof/definition.render.d.ts +7 -0
  790. package/dist/roof/definition.render.d.ts.map +1 -0
  791. package/dist/roof/definition.render.js +101 -0
  792. package/dist/roof/floorplan-overrides.d.ts +22 -0
  793. package/dist/roof/floorplan-overrides.d.ts.map +1 -0
  794. package/dist/roof/floorplan-overrides.js +46 -0
  795. package/dist/roof/floorplan-tool.d.ts +9 -0
  796. package/dist/roof/floorplan-tool.d.ts.map +1 -0
  797. package/dist/roof/floorplan-tool.js +168 -0
  798. package/dist/roof/floorplan.d.ts.map +1 -1
  799. package/dist/roof/floorplan.js +131 -41
  800. package/dist/roof/geometry-notice.d.ts +5 -0
  801. package/dist/roof/geometry-notice.d.ts.map +1 -0
  802. package/dist/roof/geometry-notice.js +27 -0
  803. package/dist/roof/glazing-controls.d.ts +2 -1
  804. package/dist/roof/glazing-controls.d.ts.map +1 -1
  805. package/dist/roof/glazing-controls.js +52 -14
  806. package/dist/roof/glazing-panel-editor.d.ts.map +1 -1
  807. package/dist/roof/glazing-panel-editor.js +40 -13
  808. package/dist/roof/glazing-panel.d.ts.map +1 -1
  809. package/dist/roof/glazing-panel.js +73 -9
  810. package/dist/roof/paint.d.ts +19 -0
  811. package/dist/roof/paint.d.ts.map +1 -0
  812. package/dist/roof/paint.js +158 -0
  813. package/dist/roof/panel.d.ts.map +1 -1
  814. package/dist/roof/panel.js +91 -22
  815. package/dist/roof/renderer.d.ts.map +1 -1
  816. package/dist/roof/renderer.js +13 -2
  817. package/dist/roof/roof-footprint-source.d.ts +17 -0
  818. package/dist/roof/roof-footprint-source.d.ts.map +1 -1
  819. package/dist/roof/roof-footprint-source.js +14 -0
  820. package/dist/roof/roof-footprint.d.ts +36 -2
  821. package/dist/roof/roof-footprint.d.ts.map +1 -1
  822. package/dist/roof/roof-footprint.js +124 -2
  823. package/dist/roof/roof-materials.d.ts.map +1 -1
  824. package/dist/roof/roof-materials.js +10 -1
  825. package/dist/roof/roof-placement-mode.d.ts +0 -2
  826. package/dist/roof/roof-placement-mode.d.ts.map +1 -1
  827. package/dist/roof/roof-placement-mode.js +8 -6
  828. package/dist/roof/roof-plan-creases.d.ts +50 -0
  829. package/dist/roof/roof-plan-creases.d.ts.map +1 -0
  830. package/dist/roof/roof-plan-creases.js +194 -0
  831. package/dist/roof/roof-ridge-mode.d.ts +20 -0
  832. package/dist/roof/roof-ridge-mode.d.ts.map +1 -0
  833. package/dist/roof/roof-ridge-mode.js +16 -0
  834. package/dist/roof/tool.d.ts +20 -4
  835. package/dist/roof/tool.d.ts.map +1 -1
  836. package/dist/roof/tool.js +264 -280
  837. package/dist/roof/type-thumbnail-assets.d.ts +3 -0
  838. package/dist/roof/type-thumbnail-assets.d.ts.map +1 -0
  839. package/dist/roof/type-thumbnail-assets.js +12 -0
  840. package/dist/roof/type-thumbnail.d.ts +5 -0
  841. package/dist/roof/type-thumbnail.d.ts.map +1 -0
  842. package/dist/roof/type-thumbnail.js +5 -0
  843. package/dist/roof/wall-catch.d.ts +106 -0
  844. package/dist/roof/wall-catch.d.ts.map +1 -0
  845. package/dist/roof/wall-catch.js +267 -0
  846. package/dist/roof-segment/build-up-section.d.ts +9 -0
  847. package/dist/roof-segment/build-up-section.d.ts.map +1 -0
  848. package/dist/roof-segment/build-up-section.js +191 -0
  849. package/dist/roof-segment/definition.d.ts +564 -9
  850. package/dist/roof-segment/definition.d.ts.map +1 -1
  851. package/dist/roof-segment/definition.edit.d.ts +4 -0
  852. package/dist/roof-segment/definition.edit.d.ts.map +1 -0
  853. package/dist/roof-segment/definition.edit.js +305 -0
  854. package/dist/roof-segment/definition.js +4 -319
  855. package/dist/roof-segment/definition.render.d.ts +6 -0
  856. package/dist/roof-segment/definition.render.d.ts.map +1 -0
  857. package/dist/roof-segment/definition.render.js +59 -0
  858. package/dist/roof-segment/floorplan-affordances.d.ts.map +1 -1
  859. package/dist/roof-segment/floorplan-affordances.js +70 -21
  860. package/dist/roof-segment/floorplan.d.ts.map +1 -1
  861. package/dist/roof-segment/floorplan.js +16 -12
  862. package/dist/roof-segment/paint.d.ts +3 -2
  863. package/dist/roof-segment/paint.d.ts.map +1 -1
  864. package/dist/roof-segment/paint.js +43 -3
  865. package/dist/roof-segment/panel-model.d.ts +23 -0
  866. package/dist/roof-segment/panel-model.d.ts.map +1 -0
  867. package/dist/roof-segment/panel-model.js +64 -0
  868. package/dist/roof-segment/panel.d.ts.map +1 -1
  869. package/dist/roof-segment/panel.js +117 -37
  870. package/dist/roof-segment/parametrics.d.ts.map +1 -1
  871. package/dist/roof-segment/parametrics.js +17 -11
  872. package/dist/roof-segment/renderer.d.ts.map +1 -1
  873. package/dist/roof-segment/renderer.js +26 -5
  874. package/dist/roof-segment/slots.d.ts +2 -0
  875. package/dist/roof-segment/slots.d.ts.map +1 -0
  876. package/dist/roof-segment/slots.js +1 -0
  877. package/dist/scan/definition.d.ts +57 -7
  878. package/dist/scan/definition.d.ts.map +1 -1
  879. package/dist/scan/definition.edit.d.ts +4 -0
  880. package/dist/scan/definition.edit.d.ts.map +1 -0
  881. package/dist/scan/definition.edit.js +4 -0
  882. package/dist/scan/definition.js +4 -52
  883. package/dist/scan/definition.render.d.ts +6 -0
  884. package/dist/scan/definition.render.d.ts.map +1 -0
  885. package/dist/scan/definition.render.js +46 -0
  886. package/dist/separator/definition.d.ts +47 -2
  887. package/dist/separator/definition.d.ts.map +1 -1
  888. package/dist/separator/definition.edit.d.ts +4 -0
  889. package/dist/separator/definition.edit.d.ts.map +1 -0
  890. package/dist/separator/definition.edit.js +13 -0
  891. package/dist/separator/definition.js +4 -39
  892. package/dist/separator/definition.render.d.ts +6 -0
  893. package/dist/separator/definition.render.d.ts.map +1 -0
  894. package/dist/separator/definition.render.js +27 -0
  895. package/dist/separator/floorplan-affordances.d.ts +9 -0
  896. package/dist/separator/floorplan-affordances.d.ts.map +1 -0
  897. package/dist/separator/floorplan-affordances.js +23 -0
  898. package/dist/separator/floorplan.d.ts +9 -0
  899. package/dist/separator/floorplan.d.ts.map +1 -0
  900. package/dist/separator/floorplan.js +54 -0
  901. package/dist/separator/renderer.d.ts +6 -1
  902. package/dist/separator/renderer.d.ts.map +1 -1
  903. package/dist/separator/renderer.edit.d.ts +5 -0
  904. package/dist/separator/renderer.edit.d.ts.map +1 -0
  905. package/dist/separator/renderer.edit.js +8 -0
  906. package/dist/separator/renderer.js +22 -9
  907. package/dist/separator/selection.d.ts +10 -0
  908. package/dist/separator/selection.d.ts.map +1 -0
  909. package/dist/separator/selection.js +35 -0
  910. package/dist/shared/accessory-placement.js +1 -1
  911. package/dist/shared/auto-fitting.js +1 -1
  912. package/dist/shared/auto-offset-tag.d.ts +1 -1
  913. package/dist/shared/auto-offset-tag.d.ts.map +1 -1
  914. package/dist/shared/auto-offset-tag.js +3 -1
  915. package/dist/shared/automatic-run-end-cap.d.ts +5 -0
  916. package/dist/shared/automatic-run-end-cap.d.ts.map +1 -1
  917. package/dist/shared/automatic-run-end-cap.js +17 -9
  918. package/dist/shared/build-up-controls.d.ts +88 -0
  919. package/dist/shared/build-up-controls.d.ts.map +1 -0
  920. package/dist/shared/build-up-controls.js +139 -0
  921. package/dist/shared/connection-feedback.d.ts +6 -3
  922. package/dist/shared/connection-feedback.d.ts.map +1 -1
  923. package/dist/shared/connection-feedback.js +29 -6
  924. package/dist/shared/curtain-opening-limits.d.ts.map +1 -1
  925. package/dist/shared/curtain-opening-limits.js +45 -16
  926. package/dist/shared/draft-axis-guides.d.ts.map +1 -1
  927. package/dist/shared/draft-axis-guides.js +2 -1
  928. package/dist/shared/duct-adapter.js +1 -1
  929. package/dist/shared/duct-collar-inspector.d.ts +5 -0
  930. package/dist/shared/duct-collar-inspector.d.ts.map +1 -0
  931. package/dist/shared/duct-collar-inspector.js +36 -0
  932. package/dist/shared/follower-frames.d.ts +15 -0
  933. package/dist/shared/follower-frames.d.ts.map +1 -0
  934. package/dist/shared/follower-frames.js +36 -0
  935. package/dist/shared/handle-drag-scope.d.ts +14 -0
  936. package/dist/shared/handle-drag-scope.d.ts.map +1 -0
  937. package/dist/shared/handle-drag-scope.js +36 -0
  938. package/dist/shared/hosted-resize.d.ts +3 -1
  939. package/dist/shared/hosted-resize.d.ts.map +1 -1
  940. package/dist/shared/hosted-resize.js +10 -8
  941. package/dist/shared/item-interaction-actions.d.ts.map +1 -1
  942. package/dist/shared/item-interaction-actions.js +11 -2
  943. package/dist/shared/layer-thickness.d.ts +2 -0
  944. package/dist/shared/layer-thickness.d.ts.map +1 -0
  945. package/dist/shared/layer-thickness.js +3 -0
  946. package/dist/shared/live-preview.d.ts +16 -0
  947. package/dist/shared/live-preview.d.ts.map +1 -0
  948. package/dist/shared/live-preview.js +36 -0
  949. package/dist/shared/move-roof-tool.d.ts.map +1 -1
  950. package/dist/shared/move-roof-tool.js +100 -5
  951. package/dist/shared/node-batch/batchable.d.ts +2 -0
  952. package/dist/shared/node-batch/batchable.d.ts.map +1 -1
  953. package/dist/shared/node-batch/batchable.js +4 -0
  954. package/dist/shared/node-batch/candidates.d.ts +21 -5
  955. package/dist/shared/node-batch/candidates.d.ts.map +1 -1
  956. package/dist/shared/node-batch/candidates.js +85 -50
  957. package/dist/shared/node-batch/system.d.ts.map +1 -1
  958. package/dist/shared/node-batch/system.js +24 -15
  959. package/dist/shared/opening-casing-move.d.ts +16 -0
  960. package/dist/shared/opening-casing-move.d.ts.map +1 -0
  961. package/dist/shared/opening-casing-move.js +33 -0
  962. package/dist/shared/opening-casing-section.d.ts +15 -0
  963. package/dist/shared/opening-casing-section.d.ts.map +1 -0
  964. package/dist/shared/opening-casing-section.js +38 -0
  965. package/dist/shared/opening-casing.d.ts +26 -0
  966. package/dist/shared/opening-casing.d.ts.map +1 -0
  967. package/dist/shared/opening-casing.js +80 -0
  968. package/dist/shared/opening-depth-position.d.ts +13 -0
  969. package/dist/shared/opening-depth-position.d.ts.map +1 -0
  970. package/dist/shared/opening-depth-position.js +34 -0
  971. package/dist/shared/opening-documentation.d.ts.map +1 -1
  972. package/dist/shared/opening-documentation.js +17 -8
  973. package/dist/shared/opening-guides-runtime.d.ts +2 -1
  974. package/dist/shared/opening-guides-runtime.d.ts.map +1 -1
  975. package/dist/shared/opening-guides-runtime.js +13 -9
  976. package/dist/shared/opening-labels.d.ts +11 -0
  977. package/dist/shared/opening-labels.d.ts.map +1 -0
  978. package/dist/shared/opening-labels.js +46 -0
  979. package/dist/shared/opening-placement-dimensions.d.ts.map +1 -1
  980. package/dist/shared/opening-placement-dimensions.js +12 -10
  981. package/dist/shared/opening-plane-offset.d.ts +4 -3
  982. package/dist/shared/opening-plane-offset.d.ts.map +1 -1
  983. package/dist/shared/opening-plane-offset.js +7 -4
  984. package/dist/shared/opening-swap.d.ts +8 -0
  985. package/dist/shared/opening-swap.d.ts.map +1 -0
  986. package/dist/shared/opening-swap.js +18 -0
  987. package/dist/shared/path-point-affordance.d.ts.map +1 -1
  988. package/dist/shared/path-point-affordance.js +19 -24
  989. package/dist/shared/path-segment-affordance.d.ts +2 -1
  990. package/dist/shared/path-segment-affordance.d.ts.map +1 -1
  991. package/dist/shared/path-segment-affordance.js +11 -8
  992. package/dist/shared/pipe-collar-inspector.d.ts +5 -0
  993. package/dist/shared/pipe-collar-inspector.d.ts.map +1 -0
  994. package/dist/shared/pipe-collar-inspector.js +27 -0
  995. package/dist/shared/polygon-vertex-affordance.d.ts +19 -0
  996. package/dist/shared/polygon-vertex-affordance.d.ts.map +1 -1
  997. package/dist/shared/polygon-vertex-affordance.js +65 -6
  998. package/dist/shared/refrigerant-line-selection.d.ts.map +1 -1
  999. package/dist/shared/refrigerant-line-selection.js +46 -29
  1000. package/dist/shared/relative-roof-drag.d.ts.map +1 -1
  1001. package/dist/shared/relative-roof-drag.js +5 -4
  1002. package/dist/shared/roof-opening-host.d.ts +2 -1
  1003. package/dist/shared/roof-opening-host.d.ts.map +1 -1
  1004. package/dist/shared/roof-opening-host.js +14 -5
  1005. package/dist/shared/roof-surface.d.ts.map +1 -1
  1006. package/dist/shared/roof-surface.js +2 -0
  1007. package/dist/shared/roof-wall-opening-cut.d.ts.map +1 -1
  1008. package/dist/shared/roof-wall-opening-cut.js +14 -6
  1009. package/dist/shared/roof-wall-opening-placement.d.ts +2 -1
  1010. package/dist/shared/roof-wall-opening-placement.d.ts.map +1 -1
  1011. package/dist/shared/roof-wall-opening-placement.js +6 -4
  1012. package/dist/shared/run-hanger-inspector.d.ts.map +1 -1
  1013. package/dist/shared/run-hanger-inspector.js +39 -5
  1014. package/dist/shared/run-hangers.d.ts.map +1 -1
  1015. package/dist/shared/run-hangers.js +2 -2
  1016. package/dist/shared/run-move-connectivity.d.ts +15 -6
  1017. package/dist/shared/run-move-connectivity.d.ts.map +1 -1
  1018. package/dist/shared/run-move-connectivity.js +14 -5
  1019. package/dist/shared/run-tool-options.d.ts +8 -0
  1020. package/dist/shared/run-tool-options.d.ts.map +1 -0
  1021. package/dist/shared/run-tool-options.js +166 -0
  1022. package/dist/shared/system-check-panel.d.ts.map +1 -1
  1023. package/dist/shared/system-check-panel.js +94 -15
  1024. package/dist/shared/system-checks.d.ts.map +1 -1
  1025. package/dist/shared/system-checks.js +2 -1
  1026. package/dist/shared/vertical-offset.js +1 -1
  1027. package/dist/shared/wall-attach-target.d.ts.map +1 -1
  1028. package/dist/shared/wall-attach-target.js +6 -3
  1029. package/dist/shared/wall-opening-ceiling.d.ts +6 -0
  1030. package/dist/shared/wall-opening-ceiling.d.ts.map +1 -1
  1031. package/dist/shared/wall-opening-ceiling.js +36 -7
  1032. package/dist/shelf/definition.d.ts +108 -3
  1033. package/dist/shelf/definition.d.ts.map +1 -1
  1034. package/dist/shelf/definition.edit.d.ts +4 -0
  1035. package/dist/shelf/definition.edit.d.ts.map +1 -0
  1036. package/dist/shelf/definition.edit.js +155 -0
  1037. package/dist/shelf/definition.js +4 -270
  1038. package/dist/shelf/definition.render.d.ts +6 -0
  1039. package/dist/shelf/definition.render.d.ts.map +1 -0
  1040. package/dist/shelf/definition.render.js +122 -0
  1041. package/dist/site/definition.d.ts +312 -9
  1042. package/dist/site/definition.d.ts.map +1 -1
  1043. package/dist/site/definition.edit.d.ts +4 -0
  1044. package/dist/site/definition.edit.d.ts.map +1 -0
  1045. package/dist/site/definition.edit.js +4 -0
  1046. package/dist/site/definition.js +4 -55
  1047. package/dist/site/definition.render.d.ts +6 -0
  1048. package/dist/site/definition.render.d.ts.map +1 -0
  1049. package/dist/site/definition.render.js +47 -0
  1050. package/dist/site/ground-hole.d.ts +3 -3
  1051. package/dist/site/ground-hole.js +3 -3
  1052. package/dist/site/ground-veil.d.ts +5 -12
  1053. package/dist/site/ground-veil.d.ts.map +1 -1
  1054. package/dist/site/ground-veil.js +9 -33
  1055. package/dist/site/panel.d.ts.map +1 -1
  1056. package/dist/site/panel.js +52 -12
  1057. package/dist/site/renderer.d.ts.map +1 -1
  1058. package/dist/site/renderer.js +52 -23
  1059. package/dist/skylight/definition.d.ts +158 -9
  1060. package/dist/skylight/definition.d.ts.map +1 -1
  1061. package/dist/skylight/definition.edit.d.ts +4 -0
  1062. package/dist/skylight/definition.edit.d.ts.map +1 -0
  1063. package/dist/skylight/definition.edit.js +218 -0
  1064. package/dist/skylight/definition.js +4 -271
  1065. package/dist/skylight/definition.render.d.ts +6 -0
  1066. package/dist/skylight/definition.render.d.ts.map +1 -0
  1067. package/dist/skylight/definition.render.js +50 -0
  1068. package/dist/skylight/move-tool.d.ts.map +1 -1
  1069. package/dist/skylight/move-tool.js +7 -5
  1070. package/dist/skylight/panel.d.ts.map +1 -1
  1071. package/dist/skylight/panel.js +49 -19
  1072. package/dist/slab/deck-geometry.d.ts +28 -0
  1073. package/dist/slab/deck-geometry.d.ts.map +1 -0
  1074. package/dist/slab/deck-geometry.js +320 -0
  1075. package/dist/slab/definition.d.ts +289 -19
  1076. package/dist/slab/definition.d.ts.map +1 -1
  1077. package/dist/slab/definition.edit.d.ts +4 -0
  1078. package/dist/slab/definition.edit.d.ts.map +1 -0
  1079. package/dist/slab/definition.edit.js +230 -0
  1080. package/dist/slab/definition.js +4 -329
  1081. package/dist/slab/definition.render.d.ts +6 -0
  1082. package/dist/slab/definition.render.d.ts.map +1 -0
  1083. package/dist/slab/definition.render.js +92 -0
  1084. package/dist/slab/dependency-tracker.d.ts.map +1 -1
  1085. package/dist/slab/dependency-tracker.js +3 -0
  1086. package/dist/slab/floorplan-affordances.d.ts +500 -0
  1087. package/dist/slab/floorplan-affordances.d.ts.map +1 -1
  1088. package/dist/slab/geometry.d.ts.map +1 -1
  1089. package/dist/slab/geometry.js +46 -9
  1090. package/dist/slab/panel.d.ts.map +1 -1
  1091. package/dist/slab/panel.js +97 -21
  1092. package/dist/slab/renderer.d.ts +11 -0
  1093. package/dist/slab/renderer.d.ts.map +1 -0
  1094. package/dist/slab/renderer.js +19 -0
  1095. package/dist/slab/system.d.ts.map +1 -1
  1096. package/dist/slab/system.js +12 -1
  1097. package/dist/solar-panel/definition.d.ts +145 -14
  1098. package/dist/solar-panel/definition.d.ts.map +1 -1
  1099. package/dist/solar-panel/definition.edit.d.ts +4 -0
  1100. package/dist/solar-panel/definition.edit.d.ts.map +1 -0
  1101. package/dist/solar-panel/definition.edit.js +213 -0
  1102. package/dist/solar-panel/definition.js +4 -263
  1103. package/dist/solar-panel/definition.render.d.ts +6 -0
  1104. package/dist/solar-panel/definition.render.d.ts.map +1 -0
  1105. package/dist/solar-panel/definition.render.js +42 -0
  1106. package/dist/solar-panel/move-tool.d.ts.map +1 -1
  1107. package/dist/solar-panel/move-tool.js +7 -5
  1108. package/dist/solar-panel/panel.d.ts.map +1 -1
  1109. package/dist/solar-panel/panel.js +49 -14
  1110. package/dist/spawn/definition.d.ts +48 -3
  1111. package/dist/spawn/definition.d.ts.map +1 -1
  1112. package/dist/spawn/definition.edit.d.ts +4 -0
  1113. package/dist/spawn/definition.edit.d.ts.map +1 -0
  1114. package/dist/spawn/definition.edit.js +64 -0
  1115. package/dist/spawn/definition.js +4 -109
  1116. package/dist/spawn/definition.render.d.ts +6 -0
  1117. package/dist/spawn/definition.render.d.ts.map +1 -0
  1118. package/dist/spawn/definition.render.js +48 -0
  1119. package/dist/stair/construction-controls.d.ts +3 -1
  1120. package/dist/stair/construction-controls.d.ts.map +1 -1
  1121. package/dist/stair/construction-controls.js +75 -12
  1122. package/dist/stair/definition.d.ts +334 -8
  1123. package/dist/stair/definition.d.ts.map +1 -1
  1124. package/dist/stair/definition.edit.d.ts +4 -0
  1125. package/dist/stair/definition.edit.d.ts.map +1 -0
  1126. package/dist/stair/definition.edit.js +377 -0
  1127. package/dist/stair/definition.js +4 -443
  1128. package/dist/stair/definition.render.d.ts +6 -0
  1129. package/dist/stair/definition.render.d.ts.map +1 -0
  1130. package/dist/stair/definition.render.js +65 -0
  1131. package/dist/stair/paint.d.ts +6 -0
  1132. package/dist/stair/paint.d.ts.map +1 -1
  1133. package/dist/stair/panel.d.ts.map +1 -1
  1134. package/dist/stair/panel.js +244 -52
  1135. package/dist/stair/parametrics.d.ts.map +1 -1
  1136. package/dist/stair/parametrics.js +7 -0
  1137. package/dist/stair/placement-defaults.d.ts +18 -0
  1138. package/dist/stair/placement-defaults.d.ts.map +1 -0
  1139. package/dist/stair/placement-defaults.js +27 -0
  1140. package/dist/stair/railing-controls.d.ts.map +1 -1
  1141. package/dist/stair/railing-controls.js +78 -18
  1142. package/dist/stair/renderer.d.ts.map +1 -1
  1143. package/dist/stair/renderer.js +16 -10
  1144. package/dist/stair/structure-controls.d.ts +18 -0
  1145. package/dist/stair/structure-controls.d.ts.map +1 -0
  1146. package/dist/stair/structure-controls.js +275 -0
  1147. package/dist/stair/tool.d.ts.map +1 -1
  1148. package/dist/stair/tool.js +13 -9
  1149. package/dist/stair/use-stair-render-data.d.ts +41 -0
  1150. package/dist/stair/use-stair-render-data.d.ts.map +1 -1
  1151. package/dist/stair-segment/definition.d.ts +130 -7
  1152. package/dist/stair-segment/definition.d.ts.map +1 -1
  1153. package/dist/stair-segment/definition.edit.d.ts +4 -0
  1154. package/dist/stair-segment/definition.edit.d.ts.map +1 -0
  1155. package/dist/stair-segment/definition.edit.js +135 -0
  1156. package/dist/stair-segment/definition.js +4 -172
  1157. package/dist/stair-segment/definition.render.d.ts +6 -0
  1158. package/dist/stair-segment/definition.render.d.ts.map +1 -0
  1159. package/dist/stair-segment/definition.render.js +38 -0
  1160. package/dist/stair-segment/panel.d.ts.map +1 -1
  1161. package/dist/stair-segment/panel.js +65 -18
  1162. package/dist/structural-grid/definition.d.ts +50 -3
  1163. package/dist/structural-grid/definition.d.ts.map +1 -1
  1164. package/dist/structural-grid/definition.edit.d.ts +4 -0
  1165. package/dist/structural-grid/definition.edit.d.ts.map +1 -0
  1166. package/dist/structural-grid/definition.edit.js +18 -0
  1167. package/dist/structural-grid/definition.js +4 -51
  1168. package/dist/structural-grid/definition.render.d.ts +6 -0
  1169. package/dist/structural-grid/definition.render.d.ts.map +1 -0
  1170. package/dist/structural-grid/definition.render.js +35 -0
  1171. package/dist/turbine-vent/definition.d.ts +97 -23
  1172. package/dist/turbine-vent/definition.d.ts.map +1 -1
  1173. package/dist/turbine-vent/definition.edit.d.ts +4 -0
  1174. package/dist/turbine-vent/definition.edit.d.ts.map +1 -0
  1175. package/dist/turbine-vent/definition.edit.js +66 -0
  1176. package/dist/turbine-vent/definition.js +4 -121
  1177. package/dist/turbine-vent/definition.render.d.ts +6 -0
  1178. package/dist/turbine-vent/definition.render.d.ts.map +1 -0
  1179. package/dist/turbine-vent/definition.render.js +40 -0
  1180. package/dist/turbine-vent/move-tool.d.ts.map +1 -1
  1181. package/dist/turbine-vent/move-tool.js +6 -5
  1182. package/dist/turbine-vent/panel.d.ts.map +1 -1
  1183. package/dist/turbine-vent/panel.js +14 -5
  1184. package/dist/unit/definition.d.ts +53 -9
  1185. package/dist/unit/definition.d.ts.map +1 -1
  1186. package/dist/unit/definition.edit.d.ts +4 -0
  1187. package/dist/unit/definition.edit.d.ts.map +1 -0
  1188. package/dist/unit/definition.edit.js +4 -0
  1189. package/dist/unit/definition.js +4 -38
  1190. package/dist/unit/definition.render.d.ts +6 -0
  1191. package/dist/unit/definition.render.d.ts.map +1 -0
  1192. package/dist/unit/definition.render.js +30 -0
  1193. package/dist/unit/unit-panel.d.ts.map +1 -1
  1194. package/dist/unit/unit-panel.js +28 -12
  1195. package/dist/wall/actions.d.ts +1 -1
  1196. package/dist/wall/actions.d.ts.map +1 -1
  1197. package/dist/wall/actions.js +17 -13
  1198. package/dist/wall/construction-dimensions.d.ts +6 -0
  1199. package/dist/wall/construction-dimensions.d.ts.map +1 -1
  1200. package/dist/wall/construction-dimensions.js +8 -0
  1201. package/dist/wall/contextual-dimensions.d.ts +6 -0
  1202. package/dist/wall/contextual-dimensions.d.ts.map +1 -1
  1203. package/dist/wall/contextual-dimensions.js +105 -18
  1204. package/dist/wall/curtain-opening-frame.d.ts.map +1 -1
  1205. package/dist/wall/curtain-opening-frame.js +6 -4
  1206. package/dist/wall/curtain-wall-layout.d.ts +1 -1
  1207. package/dist/wall/curtain-wall-layout.d.ts.map +1 -1
  1208. package/dist/wall/curtain-wall-layout.js +6 -4
  1209. package/dist/wall/curtain-wall-materials.d.ts.map +1 -1
  1210. package/dist/wall/curtain-wall-materials.js +8 -3
  1211. package/dist/wall/curtain-wall-panel.d.ts.map +1 -1
  1212. package/dist/wall/curtain-wall-panel.js +242 -38
  1213. package/dist/wall/curve-tool.d.ts.map +1 -1
  1214. package/dist/wall/curve-tool.js +2 -3
  1215. package/dist/wall/definition.d.ts +809 -3
  1216. package/dist/wall/definition.d.ts.map +1 -1
  1217. package/dist/wall/definition.edit.d.ts +4 -0
  1218. package/dist/wall/definition.edit.d.ts.map +1 -0
  1219. package/dist/wall/definition.edit.js +184 -0
  1220. package/dist/wall/definition.js +4 -264
  1221. package/dist/wall/definition.render.d.ts +6 -0
  1222. package/dist/wall/definition.render.d.ts.map +1 -0
  1223. package/dist/wall/definition.render.js +100 -0
  1224. package/dist/wall/floorplan-affordances.d.ts.map +1 -1
  1225. package/dist/wall/floorplan-affordances.js +9 -6
  1226. package/dist/wall/floorplan-move.d.ts.map +1 -1
  1227. package/dist/wall/floorplan-move.js +66 -16
  1228. package/dist/wall/floorplan.d.ts +4 -5
  1229. package/dist/wall/floorplan.d.ts.map +1 -1
  1230. package/dist/wall/floorplan.js +63 -47
  1231. package/dist/wall/measurement.d.ts.map +1 -1
  1232. package/dist/wall/measurement.js +22 -5
  1233. package/dist/wall/move-endpoint-tool.d.ts.map +1 -1
  1234. package/dist/wall/move-endpoint-tool.js +4 -3
  1235. package/dist/wall/move-shared.js +1 -1
  1236. package/dist/wall/move-tool.d.ts.map +1 -1
  1237. package/dist/wall/move-tool.js +77 -12
  1238. package/dist/wall/paint.d.ts +2 -2
  1239. package/dist/wall/paint.d.ts.map +1 -1
  1240. package/dist/wall/paint.js +11 -4
  1241. package/dist/wall/panel-model.d.ts +17 -2
  1242. package/dist/wall/panel-model.d.ts.map +1 -1
  1243. package/dist/wall/panel-model.js +159 -18
  1244. package/dist/wall/panel.d.ts +8 -0
  1245. package/dist/wall/panel.d.ts.map +1 -1
  1246. package/dist/wall/panel.js +240 -159
  1247. package/dist/wall/parametrics.d.ts +1 -1
  1248. package/dist/wall/parametrics.d.ts.map +1 -1
  1249. package/dist/wall/parametrics.js +14 -1
  1250. package/dist/wall/quick-measurement.js +1 -1
  1251. package/dist/wall/railing-wall-adapter.d.ts +7 -0
  1252. package/dist/wall/railing-wall-adapter.d.ts.map +1 -0
  1253. package/dist/wall/railing-wall-adapter.js +38 -0
  1254. package/dist/wall/railing-wall-floorplan.d.ts +8 -0
  1255. package/dist/wall/railing-wall-floorplan.d.ts.map +1 -0
  1256. package/dist/wall/railing-wall-floorplan.js +27 -0
  1257. package/dist/wall/railing-wall-geometry.d.ts +12 -0
  1258. package/dist/wall/railing-wall-geometry.d.ts.map +1 -0
  1259. package/dist/wall/railing-wall-geometry.js +51 -0
  1260. package/dist/wall/railing-wall-guard.d.ts +81 -0
  1261. package/dist/wall/railing-wall-guard.d.ts.map +1 -0
  1262. package/dist/wall/railing-wall-guard.js +435 -0
  1263. package/dist/wall/railing-wall-materials.d.ts +11 -0
  1264. package/dist/wall/railing-wall-materials.d.ts.map +1 -0
  1265. package/dist/wall/railing-wall-materials.js +31 -0
  1266. package/dist/wall/railing-wall-panel-model.d.ts +30 -0
  1267. package/dist/wall/railing-wall-panel-model.d.ts.map +1 -0
  1268. package/dist/wall/railing-wall-panel-model.js +117 -0
  1269. package/dist/wall/railing-wall-panel.d.ts +17 -0
  1270. package/dist/wall/railing-wall-panel.d.ts.map +1 -0
  1271. package/dist/wall/railing-wall-panel.js +42 -0
  1272. package/dist/wall/rectangle-command.d.ts +80 -1
  1273. package/dist/wall/rectangle-command.d.ts.map +1 -1
  1274. package/dist/wall/rectangle-tool.d.ts.map +1 -1
  1275. package/dist/wall/rectangle-tool.js +4 -2
  1276. package/dist/wall/renderer.d.ts.map +1 -1
  1277. package/dist/wall/renderer.js +3 -1
  1278. package/dist/wall/skirting-floor-gaps.d.ts +8 -0
  1279. package/dist/wall/skirting-floor-gaps.d.ts.map +1 -0
  1280. package/dist/wall/skirting-floor-gaps.js +36 -0
  1281. package/dist/wall/split-floorplan-layer.d.ts.map +1 -1
  1282. package/dist/wall/split-floorplan-layer.js +2 -2
  1283. package/dist/wall/split-tool.d.ts.map +1 -1
  1284. package/dist/wall/split-tool.js +2 -2
  1285. package/dist/wall/system.d.ts +0 -14
  1286. package/dist/wall/system.d.ts.map +1 -1
  1287. package/dist/wall/system.js +6 -1
  1288. package/dist/wall/tool.d.ts +16 -0
  1289. package/dist/wall/tool.d.ts.map +1 -1
  1290. package/dist/wall/tool.js +285 -70
  1291. package/dist/wall/treatments.d.ts +3 -0
  1292. package/dist/wall/treatments.d.ts.map +1 -1
  1293. package/dist/wall/treatments.js +57 -14
  1294. package/dist/window/actions.d.ts +7 -0
  1295. package/dist/window/actions.d.ts.map +1 -0
  1296. package/dist/window/actions.js +29 -0
  1297. package/dist/window/definition.d.ts +356 -15
  1298. package/dist/window/definition.d.ts.map +1 -1
  1299. package/dist/window/definition.edit.d.ts +4 -0
  1300. package/dist/window/definition.edit.d.ts.map +1 -0
  1301. package/dist/window/definition.edit.js +255 -0
  1302. package/dist/window/definition.js +5 -329
  1303. package/dist/window/definition.render.d.ts +8 -0
  1304. package/dist/window/definition.render.d.ts.map +1 -0
  1305. package/dist/window/definition.render.js +83 -0
  1306. package/dist/window/floorplan-move.d.ts.map +1 -1
  1307. package/dist/window/floorplan-move.js +12 -4
  1308. package/dist/window/floorplan.d.ts +2 -0
  1309. package/dist/window/floorplan.d.ts.map +1 -1
  1310. package/dist/window/floorplan.js +58 -1
  1311. package/dist/window/mechanism.d.ts.map +1 -1
  1312. package/dist/window/mechanism.js +21 -1
  1313. package/dist/window/move-tool.d.ts.map +1 -1
  1314. package/dist/window/move-tool.js +17 -14
  1315. package/dist/window/paint.d.ts +2 -7
  1316. package/dist/window/paint.d.ts.map +1 -1
  1317. package/dist/window/paint.js +31 -3
  1318. package/dist/window/panel.d.ts.map +1 -1
  1319. package/dist/window/panel.js +311 -69
  1320. package/dist/window/placement.d.ts.map +1 -1
  1321. package/dist/window/placement.js +5 -1
  1322. package/dist/window/swing.d.ts +13 -0
  1323. package/dist/window/swing.d.ts.map +1 -0
  1324. package/dist/window/swing.js +16 -0
  1325. package/dist/window/tool.d.ts.map +1 -1
  1326. package/dist/window/tool.js +24 -16
  1327. package/dist/zone/contextual-dimensions.d.ts.map +1 -1
  1328. package/dist/zone/contextual-dimensions.js +1 -2
  1329. package/dist/zone/definition.d.ts +264 -9
  1330. package/dist/zone/definition.d.ts.map +1 -1
  1331. package/dist/zone/definition.edit.d.ts +4 -0
  1332. package/dist/zone/definition.edit.d.ts.map +1 -0
  1333. package/dist/zone/definition.edit.js +38 -0
  1334. package/dist/zone/definition.js +4 -97
  1335. package/dist/zone/definition.render.d.ts +6 -0
  1336. package/dist/zone/definition.render.d.ts.map +1 -0
  1337. package/dist/zone/definition.render.js +55 -0
  1338. package/dist/zone/floorplan-affordances.d.ts +136 -0
  1339. package/dist/zone/floorplan-affordances.d.ts.map +1 -1
  1340. package/dist/zone/quantities-panel.d.ts.map +1 -1
  1341. package/dist/zone/quantities-panel.js +34 -9
  1342. package/dist/zone/renderer.d.ts.map +1 -1
  1343. package/dist/zone/renderer.js +9 -5
  1344. package/package.json +27 -16
  1345. package/dist/site/generic-foundation-geometry.d.ts +0 -16
  1346. package/dist/site/generic-foundation-geometry.d.ts.map +0 -1
  1347. package/dist/site/generic-foundation-geometry.js +0 -75
  1348. package/dist/site/generic-foundation.d.ts +0 -4
  1349. package/dist/site/generic-foundation.d.ts.map +0 -1
  1350. package/dist/site/generic-foundation.js +0 -91
@@ -1,18 +1,22 @@
1
1
  'use client';
2
2
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { assemblyThickness, BRICK_AIR_SPACE, BRICK_VENEER, FIBER_CEMENT, GROUND_SUPPORT_ID, GYPSUM_HALF, GYPSUM_SHEATHING, getClampedWallCurveOffset, getMaxWallCurveOffset, getWallAssemblyPreset, getWallCurveLength, normalizeWallCurveOffset, resolveWallAssembly, runAsSingleSceneHistoryStep, SIDING_LAP, STONE_VENEER_UNVERIFIED, STUCCO_3_COAT, terrainSupportLift, useLiveNodeOverrides, useScene, WALL_ASSEMBLY_PRESETS, WALL_CHAIR_RAIL_DEFAULT, WALL_CROWN_DEFAULT, WALL_SKIRTING_DEFAULT, WSP_SHEATHING, wallAssemblyFromLegacy, wallAssemblyPatch, wallAssemblyToLegacy, wallAssemblyUnverifiedNote, wallTrimPatch, } from '@pascal-app/core';
3
+ import { assemblyThickness, FRAMING_SPACINGS, formatLinearMeasurement, GROUND_SUPPORT_ID, GYPSUM_HALF, GYPSUM_SHEATHING, getClampedWallCurveOffset, getLinearUnitLabel, getMaxWallCurveOffset, getWallAssemblyPreset, getWallCurveLength, linearControlValueToMeters, metersToLinearUnit, normalizeWallCurveOffset, resolveWallAssembly, runAsSingleSceneHistoryStep, terrainSupportLift, useLiveNodeOverrides, usePascalI18n, useScene, WALL_ASSEMBLY_PRESETS, WALL_CHAIR_RAIL_DEFAULT, WALL_CROWN_DEFAULT, WALL_SKIRTING_DEFAULT, WSP_SHEATHING, wallAssemblyFromLegacy, wallAssemblyPatch, wallAssemblyToLegacy, wallAssemblyUnverifiedNote, wallTrimPatch, } from '@pascal-app/core';
4
4
  import { setWallFaceScript } from '@pascal-app/core/agent-operations';
5
- import { ActionButton, ActionGroup, curveReshapeScope, finishScriptCode, formatLinearMeasurement, getLinearUnitLabel, linearControlValueToMeters, metersToLinearUnit, PanelSection, PanelWrapper, SegmentedControl, SliderControl, triggerSFX, useInteractionScope, WallPaintRegionList, } from '@pascal-app/editor';
5
+ import { ActionButton, ActionGroup, curveReshapeScope, finishScriptCode, PanelSection, PanelWrapper, SegmentedControl, SliderControl, triggerSFX, useInteractionScope, useProjectWallTypes, WallPaintRegionList, WallTypeMenu, } from '@pascal-app/editor';
6
6
  import { useViewer } from '@pascal-app/viewer';
7
7
  import { Spline } from 'lucide-react';
8
8
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
9
9
  import { useShallow } from 'zustand/react/shallow';
10
+ import { formatSpacing } from '../shared/build-up-controls.js';
11
+ import { formatLayerThickness, parseLayerThickness } from '../shared/layer-thickness.js';
10
12
  import { resolveWallOpeningCeiling } from '../shared/wall-opening-ceiling.js';
11
13
  import { CurtainWallPanel } from './curtain-wall-panel.js';
12
14
  import { hasWallCurveBlockingChildren } from './curve-eligibility.js';
13
15
  import { buildWallLengthPatch } from './length-patch.js';
14
- import { wallReferenceModel } from './panel-model.js';
16
+ import { EXTERIOR_FINISH_DEFAULT, EXTERIOR_FINISH_OPTIONS, wallReferenceModel, } from './panel-model.js';
15
17
  import { createWallPropertyPreview } from './property-preview.js';
18
+ import { RailingWallPanel } from './railing-wall-panel.js';
19
+ import { railingWallTypePatch } from './railing-wall-panel-model.js';
16
20
  /**
17
21
  * Base half of the plane-bound repair: a stamped draft offset goes, and a
18
22
  * ground host is dropped unless sculpted terrain actually supports it — a
@@ -29,30 +33,50 @@ function wallBaseRepairPatch(n) {
29
33
  : {}),
30
34
  };
31
35
  }
36
+ const WALL_REFERENCE_LABELS = {
37
+ outside: /* i18n */ { id: 'node.wall.reference.outside', message: 'Outside face' },
38
+ center: /* i18n */ { id: 'node.wall.reference.center', message: 'Center' },
39
+ inside: /* i18n */ { id: 'node.wall.reference.inside', message: 'Inside face' },
40
+ left: /* i18n */ { id: 'node.wall.reference.left', message: 'Left' },
41
+ right: /* i18n */ { id: 'node.wall.reference.right', message: 'Right' },
42
+ };
32
43
  const WALL_TRIM_PROFILE_OPTIONS = {
33
44
  skirting: [
34
- { label: 'Flat', value: 'flat' },
35
- { label: 'Modern', value: 'base-modern' },
36
- { label: 'Colonial', value: 'base-colonial' },
37
- { label: 'Shoe', value: 'base-shoe' },
38
- { label: 'Ogee', value: 'base-ogee' },
45
+ { label: /* i18n */ { id: 'node.wall.panel.flat', message: 'Flat' }, value: 'flat' },
46
+ { label: /* i18n */ { id: 'node.wall.panel.modern', message: 'Modern' }, value: 'base-modern' },
47
+ {
48
+ label: /* i18n */ { id: 'node.wall.panel.colonial', message: 'Colonial' },
49
+ value: 'base-colonial',
50
+ },
51
+ { label: /* i18n */ { id: 'node.wall.panel.shoe', message: 'Shoe' }, value: 'base-shoe' },
52
+ { label: /* i18n */ { id: 'node.wall.panel.ogee', message: 'Ogee' }, value: 'base-ogee' },
39
53
  ],
40
54
  crown: [
41
- { label: 'Flat', value: 'flat' },
42
- { label: 'Cove', value: 'crown-cove' },
43
- { label: 'Ogee', value: 'crown-ogee' },
44
- { label: 'Craft', value: 'crown-craftsman' },
45
- { label: 'Layered', value: 'crown-layered' },
55
+ { label: /* i18n */ { id: 'node.wall.panel.flat', message: 'Flat' }, value: 'flat' },
56
+ { label: /* i18n */ { id: 'node.wall.panel.cove', message: 'Cove' }, value: 'crown-cove' },
57
+ { label: /* i18n */ { id: 'node.wall.panel.ogee', message: 'Ogee' }, value: 'crown-ogee' },
58
+ {
59
+ label: /* i18n */ { id: 'node.wall.panel.craft', message: 'Craft' },
60
+ value: 'crown-craftsman',
61
+ },
62
+ {
63
+ label: /* i18n */ { id: 'node.wall.panel.layered', message: 'Layered' },
64
+ value: 'crown-layered',
65
+ },
46
66
  ],
47
67
  chairRail: [
48
- { label: 'Flat', value: 'flat' },
49
- { label: 'Round', value: 'rail-rounded' },
50
- { label: 'Ogee', value: 'rail-ogee' },
51
- { label: 'Picture', value: 'rail-picture' },
52
- { label: 'Step', value: 'rail-stepped' },
68
+ { label: /* i18n */ { id: 'node.wall.panel.flat', message: 'Flat' }, value: 'flat' },
69
+ { label: /* i18n */ { id: 'node.wall.panel.round', message: 'Round' }, value: 'rail-rounded' },
70
+ { label: /* i18n */ { id: 'node.wall.panel.ogee', message: 'Ogee' }, value: 'rail-ogee' },
71
+ {
72
+ label: /* i18n */ { id: 'node.wall.panel.picture', message: 'Picture' },
73
+ value: 'rail-picture',
74
+ },
75
+ { label: /* i18n */ { id: 'node.wall.panel.step', message: 'Step' }, value: 'rail-stepped' },
53
76
  ],
54
77
  };
55
78
  export default function WallPanel() {
79
+ const i18n = usePascalI18n();
56
80
  const selectedId = useViewer((s) => s.selection.selectedIds[0]);
57
81
  const unit = useViewer((s) => s.unit);
58
82
  const setSelection = useViewer((s) => s.setSelection);
@@ -86,7 +110,7 @@ export default function WallPanel() {
86
110
  const wall = selectedId ? s.nodes[selectedId] : undefined;
87
111
  if (wall?.type !== 'wall')
88
112
  return undefined;
89
- return resolveWallOpeningCeiling(wall, s.nodes);
113
+ return resolveWallOpeningCeiling(wall, s.nodes, 0);
90
114
  });
91
115
  const sceneNodes = useScene((s) => s.nodes);
92
116
  const reference = useMemo(() => (node ? wallReferenceModel([node], sceneNodes) : null), [node, sceneNodes]);
@@ -118,7 +142,7 @@ export default function WallPanel() {
118
142
  if (mode === 'custom' && !isCustom) {
119
143
  // Seed from the current effective height so the geometry doesn't
120
144
  // jump at the moment of detaching from the storey plane.
121
- const seeded = resolveWallOpeningCeiling(n, useScene.getState().nodes);
145
+ const seeded = resolveWallOpeningCeiling(n, useScene.getState().nodes, 0);
122
146
  handleUpdate({ height: Math.max(0.1, seeded) });
123
147
  }
124
148
  else if (mode === 'storey' && isCustom) {
@@ -158,48 +182,102 @@ export default function WallPanel() {
158
182
  const followsTerrain = node.fillToTerrain === true;
159
183
  const isPlaneBound = node.height == null;
160
184
  const height = node.height ?? resolvedHeightMeters ?? 2.5;
185
+ const endHeightOffset = node.endHeightOffset ?? 0;
161
186
  const thickness = node.thickness ?? 0.1;
162
187
  const curveOffset = getClampedWallCurveOffset(node);
163
188
  const maxCurveOffset = getMaxWallCurveOffset(node);
164
189
  const unitLabel = getLinearUnitLabel(unit);
165
190
  const displayLength = metersToLinearUnit(length, unit);
166
191
  const displayHeight = metersToLinearUnit(height, unit);
192
+ const displayEndHeightOffset = metersToLinearUnit(endHeightOffset, unit);
167
193
  const displayThickness = metersToLinearUnit(thickness, unit);
168
194
  const displayCurveOffset = metersToLinearUnit(curveOffset, unit);
169
195
  const displayMaxCurveOffset = metersToLinearUnit(maxCurveOffset, unit);
170
196
  const curveOffsetLimit = Math.max(0.01, maxCurveOffset);
171
- const wallHeightMeters = height;
197
+ const wallHeightMeters = resolvedHeightMeters ?? height;
172
198
  const skirting = { ...WALL_SKIRTING_DEFAULT, ...(node.skirting ?? {}) };
173
199
  const crown = { ...WALL_CROWN_DEFAULT, ...(node.crown ?? {}) };
174
200
  const chairRail = { ...WALL_CHAIR_RAIL_DEFAULT, ...(node.chairRail ?? {}) };
175
- return (_jsxs(PanelWrapper, { icon: "/icons/wall.webp", onClose: handleClose, title: node.name || 'Wall', width: 280, children: [_jsx(PanelSection, { title: "Wall type", children: _jsx(SegmentedControl, { onChange: (wallType) => handleUpdate({ wallType }), options: [
176
- { label: 'Standard', value: 'standard' },
177
- { label: 'Curtain wall', value: 'curtain' },
178
- ], value: node.wallType ?? 'standard' }) }), _jsxs(PanelSection, { title: "Dimensions", children: [_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: "Length", max: metersToLinearUnit(1000, unit), min: metersToLinearUnit(0.1, unit), onChange: (value) => handleUpdateLength(linearControlValueToMeters(value, unit, { maxMeters: 1000, minMeters: 0.1 })), precision: 2, step: unit === 'imperial' ? 0.1 : 0.01, unit: unitLabel, value: displayLength }), _jsx("div", { className: "px-1 font-medium text-[10px] text-muted-foreground/80 uppercase tracking-wider", children: "Top" }), _jsx(SegmentedControl, { onChange: handleTopModeChange, options: [
179
- { label: 'Follows level', value: 'storey' },
180
- { label: 'Custom height', value: 'custom' },
181
- ], value: isPlaneBound ? 'storey' : 'custom' }), isPlaneBound ? (_jsxs("div", { className: "px-1 text-[11px] text-muted-foreground", children: ["Currently ", formatLinearMeasurement(height, unit)] })) : (_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: "Height", max: metersToLinearUnit(1000, unit), min: metersToLinearUnit(0.1, unit), onChange: (v) => handlePreview({
182
- height: linearControlValueToMeters(v, unit, { maxMeters: 1000, minMeters: 0.1 }),
183
- }), precision: 2, step: 0.1, unit: unitLabel, value: Math.round(displayHeight * 100) / 100 })), _jsx("div", { className: "px-1 font-medium text-[10px] text-muted-foreground/80 uppercase tracking-wider", children: "Bottom" }), _jsx(SegmentedControl, { onChange: handleInfillChange, options: [
184
- { label: 'Auto', value: 'auto' },
185
- { label: 'Fill to terrain', value: 'terrain' },
186
- ], value: followsTerrain ? 'terrain' : 'auto' }), followsTerrain && (_jsx("div", { className: "px-1 text-[11px] text-muted-foreground", children: "Extends downward to meet the terrain. Height and top stay unchanged." })), node.assembly && node.wallType !== 'curtain' ? (_jsxs("div", { className: "flex items-center justify-between px-2 py-1.5", children: [_jsx("span", { className: "font-medium text-[10px] text-muted-foreground uppercase tracking-wider", children: "Thickness" }), _jsxs("span", { className: "text-[11px] text-muted-foreground tabular-nums", children: [formatLinearMeasurement(thickness, unit), " \u00B7 from assembly"] })] })) : (_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: node.wallType === 'curtain' ? 'Frame depth' : 'Thickness', max: metersToLinearUnit(1000, unit), min: metersToLinearUnit(0.05, unit), onChange: (v) => handlePreview({
187
- thickness: linearControlValueToMeters(v, unit, {
188
- maxMeters: 1000,
189
- minMeters: 0.05,
190
- }),
191
- }), precision: 3, step: 0.01, unit: unitLabel, value: Math.round(displayThickness * 1000) / 1000 })), _jsx("div", { className: "px-1 font-medium text-[10px] text-muted-foreground/80", children: "Reference" }), reference && (_jsx(SegmentedControl, { mixed: reference.value === null, onChange: (value) => reference.apply(value), options: reference.options, value: reference.value ?? 'center' })), !hasWallChildrenBlockingCurve && (_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: "Curve", max: Math.max(metersToLinearUnit(0.01, unit), displayMaxCurveOffset), min: -Math.max(metersToLinearUnit(0.01, unit), displayMaxCurveOffset), onChange: (v) => handlePreview({
201
+ // A railing keeps its own height, its posts set its thickness, and it has no assembly or faces:
202
+ // the Railing section holds its controls instead.
203
+ const railing = node.wallType === 'railing';
204
+ return (_jsxs(PanelWrapper, { icon: "/icons/wall.webp", onClose: handleClose, title: node.name || i18n._({ id: 'node.wall.panel.wall', message: 'Wall' }), width: 280, children: [_jsx(PanelSection, { title: i18n._({ id: 'node.wall.panel.wallType', message: 'Wall type' }), children: _jsx(SegmentedControl, { onChange: (wallType) => handleUpdate(wallType === 'railing' ? railingWallTypePatch(node) : { wallType }), options: [
205
+ {
206
+ label: i18n._({ id: 'node.wall.panel.standard', message: 'Standard' }),
207
+ value: 'standard',
208
+ },
209
+ {
210
+ label: i18n._({ id: 'node.wall.panel.curtainWall', message: 'Curtain wall' }),
211
+ value: 'curtain',
212
+ },
213
+ {
214
+ label: i18n._({ id: 'node.wall.panel.railing', message: 'Railing' }),
215
+ value: 'railing',
216
+ },
217
+ ], value: node.wallType ?? 'standard' }) }), node.wallType !== 'curtain' && !railing && (_jsx(WallAssemblySection, { node: node, onUpdate: handleUpdate, unit: unit })), _jsxs(PanelSection, { title: i18n._({ id: 'node.wall.panel.dimensions', message: 'Dimensions' }), children: [_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: i18n._({ id: 'node.wall.panel.length', message: 'Length' }), max: metersToLinearUnit(1000, unit), min: metersToLinearUnit(0.1, unit), onChange: (value) => handleUpdateLength(linearControlValueToMeters(value, unit, { maxMeters: 1000, minMeters: 0.1 })), precision: 2, step: unit === 'imperial' ? 0.1 : 0.01, unit: unitLabel, value: displayLength }), !railing && (_jsxs(_Fragment, { children: [_jsx("div", { className: "px-1 font-medium text-[10px] text-muted-foreground/80 uppercase tracking-wider", children: i18n._({ id: 'node.wall.panel.top', message: 'Top' }) }), _jsx(SegmentedControl, { onChange: handleTopModeChange, options: [
218
+ {
219
+ label: i18n._({ id: 'node.wall.panel.followsLevel', message: 'Follows level' }),
220
+ value: 'storey',
221
+ },
222
+ {
223
+ label: i18n._({ id: 'node.wall.panel.customHeight', message: 'Custom height' }),
224
+ value: 'custom',
225
+ },
226
+ ], value: isPlaneBound ? 'storey' : 'custom' }), isPlaneBound ? (_jsx("div", { className: "px-1 text-[11px] text-muted-foreground", children: i18n._({
227
+ id: 'node.panel.currently',
228
+ message: 'Currently {value}',
229
+ values: { value: formatLinearMeasurement(height, unit) },
230
+ }) })) : (_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: i18n._({ id: 'node.wall.panel.height', message: 'Height' }), max: metersToLinearUnit(1000, unit), min: metersToLinearUnit(0.1, unit), onChange: (v) => handlePreview({
231
+ height: linearControlValueToMeters(v, unit, {
232
+ maxMeters: 1000,
233
+ minMeters: 0.1,
234
+ }),
235
+ }), precision: 2, step: 0.1, unit: unitLabel, value: Math.round(displayHeight * 100) / 100 })), _jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: i18n._({
236
+ id: 'node.wall.panel.endHeightOffset',
237
+ message: 'End height offset',
238
+ }), min: metersToLinearUnit(-(wallHeightMeters - 0.01), unit), onChange: (v) => handlePreview({
239
+ endHeightOffset: linearControlValueToMeters(v, unit, {
240
+ minMeters: -(wallHeightMeters - 0.01),
241
+ }),
242
+ }), precision: 2, step: 0.1, unit: unitLabel, value: Math.round(displayEndHeightOffset * 100) / 100 }), _jsx("div", { className: "px-1 font-medium text-[10px] text-muted-foreground/80 uppercase tracking-wider", children: i18n._({ id: 'node.wall.panel.bottom', message: 'Bottom' }) }), _jsx(SegmentedControl, { onChange: handleInfillChange, options: [
243
+ { label: i18n._({ id: 'node.wall.panel.auto', message: 'Auto' }), value: 'auto' },
244
+ {
245
+ label: i18n._({
246
+ id: 'node.wall.panel.fillToTerrain',
247
+ message: 'Fill to terrain',
248
+ }),
249
+ value: 'terrain',
250
+ },
251
+ ], value: followsTerrain ? 'terrain' : 'auto' }), followsTerrain && (_jsx("div", { className: "px-1 text-[11px] text-muted-foreground", children: i18n._({
252
+ id: 'node.wall.panel.extendsDownwardToMeetTheTerrain',
253
+ message: 'Extends downward to meet the terrain. Height and top stay unchanged.',
254
+ }) })), node.assembly && node.wallType !== 'curtain' ? (_jsxs("div", { className: "flex items-center justify-between px-2 py-1.5", children: [_jsx("span", { className: "font-medium text-[10px] text-muted-foreground uppercase tracking-wider", children: i18n._({ id: 'node.wall.panel.thickness', message: 'Thickness' }) }), _jsx("span", { className: "text-[11px] text-muted-foreground tabular-nums", children: i18n._({
255
+ id: 'node.wall.panel.thicknessFromAssembly',
256
+ message: '{thickness} · from assembly',
257
+ values: { thickness: formatLinearMeasurement(thickness, unit) },
258
+ }) })] })) : (_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: node.wallType === 'curtain'
259
+ ? i18n._({ id: 'node.wall.panel.frameDepth', message: 'Frame depth' })
260
+ : i18n._({ id: 'node.wall.panel.thickness', message: 'Thickness' }), max: metersToLinearUnit(1000, unit), min: metersToLinearUnit(0.05, unit), onChange: (v) => handlePreview({
261
+ thickness: linearControlValueToMeters(v, unit, {
262
+ maxMeters: 1000,
263
+ minMeters: 0.05,
264
+ }),
265
+ }), precision: 3, step: 0.01, unit: unitLabel, value: Math.round(displayThickness * 1000) / 1000 }))] })), _jsx("div", { className: "px-1 font-medium text-[10px] text-muted-foreground/80", children: i18n._({ id: 'node.wall.panel.reference', message: 'Reference' }) }), reference && (_jsx(SegmentedControl, { mixed: reference.value === null, onChange: (value) => reference.apply(value), options: reference.options.map((option) => ({
266
+ ...option,
267
+ label: i18n._(WALL_REFERENCE_LABELS[option.value]),
268
+ })), value: reference.value ?? 'center' })), !hasWallChildrenBlockingCurve && (_jsx(SliderControl, { onCommit: handleCommit, onCancel: handleCancel, restoreOnCommit: false, previewWhileTyping: true, label: i18n._({ id: 'node.wall.panel.curve', message: 'Curve' }), max: Math.max(metersToLinearUnit(0.01, unit), displayMaxCurveOffset), min: -Math.max(metersToLinearUnit(0.01, unit), displayMaxCurveOffset), onChange: (v) => handlePreview({
192
269
  curveOffset: normalizeWallCurveOffset(node, linearControlValueToMeters(v, unit, {
193
270
  maxMeters: curveOffsetLimit,
194
271
  minMeters: -curveOffsetLimit,
195
272
  })),
196
- }), precision: 2, step: 0.1, unit: unitLabel, value: Math.round(displayCurveOffset * 100) / 100 }))] }), node.wallType === 'curtain' ? (_jsx(CurtainWallPanel, { height: height, node: node, onUpdate: handleUpdate, onPreview: handlePreview, onCommit: handleCommit, onCancel: handleCancel, unit: unit }, node.id)) : (_jsxs(_Fragment, { children: [_jsx(WallAssemblySection, { node: node, onUpdate: handleUpdate, unit: unit }), _jsx(WallPaintRegionList, { wallId: node.id }), _jsx(WallFaceScriptSection, { wallId: node.id }), _jsx(WallTrimSection, { node: node, onUpdate: handleUpdate, title: "Skirting", trimKey: "skirting", trimValue: skirting, unit: unit, unitLabel: unitLabel, wallHeightMeters: wallHeightMeters }), _jsx(WallTrimSection, { node: node, onUpdate: handleUpdate, title: "Crown molding", trimKey: "crown", trimValue: crown, unit: unit, unitLabel: unitLabel, wallHeightMeters: wallHeightMeters }), _jsx(WallTrimSection, { node: node, onUpdate: handleUpdate, title: "Chair rail", trimKey: "chairRail", trimValue: chairRail, unit: unit, unitLabel: unitLabel, wallHeightMeters: wallHeightMeters })] })), !hasWallChildrenBlockingCurve && (_jsx(PanelSection, { title: "Actions", children: _jsx(ActionGroup, { children: _jsx(ActionButton, { icon: _jsx(Spline, { className: "h-3.5 w-3.5" }), label: "Curve", onClick: handleCurve }) }) }))] }));
273
+ }), precision: 2, step: 0.1, unit: unitLabel, value: Math.round(displayCurveOffset * 100) / 100 }))] }), node.wallType === 'curtain' ? (_jsx(CurtainWallPanel, { height: height, node: node, onUpdate: handleUpdate, onPreview: handlePreview, onCommit: handleCommit, onCancel: handleCancel, unit: unit }, node.id)) : railing ? (_jsx(RailingWallPanel, { node: node, onUpdate: handleUpdate, onPreview: handlePreview, onCommit: handleCommit, onCancel: handleCancel, unit: unit }, node.id)) : (_jsxs(_Fragment, { children: [_jsx(WallPaintRegionList, { wallId: node.id }), _jsx(WallFaceScriptSection, { wallId: node.id }), _jsx(WallTrimSection, { node: node, onUpdate: handleUpdate, title: i18n._({ id: 'node.wall.panel.skirting', message: 'Skirting' }), trimKey: "skirting", trimValue: skirting, unit: unit, unitLabel: unitLabel, wallHeightMeters: wallHeightMeters }), _jsx(WallTrimSection, { node: node, onUpdate: handleUpdate, title: i18n._({ id: 'node.wall.panel.crownMolding', message: 'Crown molding' }), trimKey: "crown", trimValue: crown, unit: unit, unitLabel: unitLabel, wallHeightMeters: wallHeightMeters }), _jsx(WallTrimSection, { node: node, onUpdate: handleUpdate, title: i18n._({ id: 'node.wall.panel.chairRail', message: 'Chair rail' }), trimKey: "chairRail", trimValue: chairRail, unit: unit, unitLabel: unitLabel, wallHeightMeters: wallHeightMeters })] })), !hasWallChildrenBlockingCurve && (_jsx(PanelSection, { title: i18n._({ id: 'node.wall.panel.actions', message: 'Actions' }), children: _jsx(ActionGroup, { children: _jsx(ActionButton, { icon: _jsx(Spline, { className: "h-3.5 w-3.5" }), label: i18n._({ id: 'node.wall.panel.curve', message: 'Curve' }), onClick: handleCurve }) }) }))] }));
197
274
  }
198
275
  /**
199
276
  * "Scripted finish": a face a script builds (it owns that face's colours, so Paint leaves it), with
200
277
  * its code to read and a way to take it off, back to the face's own finish.
201
278
  */
202
279
  function WallFaceScriptSection({ wallId }) {
280
+ const i18n = usePascalI18n();
203
281
  const shas = useScene(useShallow((scene) => {
204
282
  const wall = scene.nodes[wallId];
205
283
  return wall?.type === 'wall'
@@ -208,19 +286,24 @@ function WallFaceScriptSection({ wallId }) {
208
286
  }));
209
287
  if (!(shas[0] || shas[1]))
210
288
  return null;
211
- return (_jsx(PanelSection, { title: "Scripted finish", children: ['a', 'b'].map((face, index) => {
289
+ return (_jsx(PanelSection, { title: i18n._({ id: 'node.wall.panel.scriptedFinish', message: 'Scripted finish' }), children: ['a', 'b'].map((face, index) => {
212
290
  const sha = shas[index];
213
291
  return sha ? _jsx(WallFaceScriptRow, { face: face, sha: sha, wallId: wallId }, face) : null;
214
292
  }) }));
215
293
  }
216
294
  function WallFaceScriptRow({ face, sha, wallId }) {
295
+ const i18n = usePascalI18n();
217
296
  const [code, setCode] = useState(null);
218
297
  const [open, setOpen] = useState(false);
298
+ const unreadable = i18n._({
299
+ id: 'editor.panels.scriptUnreadable',
300
+ message: 'The script could not be read.',
301
+ });
219
302
  const toggleCode = () => {
220
303
  setOpen((shown) => !shown);
221
304
  if (code?.sha === sha)
222
305
  return;
223
- finishScriptCode(sha).then((text) => setCode({ sha, text: text ?? 'The script could not be read.' }), () => setCode({ sha, text: 'The script could not be read.' }));
306
+ finishScriptCode(sha).then((text) => setCode({ sha, text: text ?? unreadable }), () => setCode({ sha, text: unreadable }));
224
307
  };
225
308
  const remove = () => {
226
309
  const { changes } = setWallFaceScript(useScene.getState().nodes, { wallId, face, remove: true }, { activeLevelId: null });
@@ -229,33 +312,52 @@ function WallFaceScriptRow({ face, sha, wallId }) {
229
312
  useScene.getState().updateNode(id, data);
230
313
  });
231
314
  };
232
- return (_jsxs("div", { className: "flex flex-col gap-2", "data-wall-face-script": face, children: [_jsxs("div", { className: "flex min-h-8 items-center justify-between gap-3", children: [_jsxs("span", { className: "text-muted-foreground text-xs", children: ["Side ", face.toUpperCase()] }), _jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("button", { className: "rounded-full border border-border/50 px-2.5 py-0.5 text-xs transition-colors hover:bg-accent", onClick: toggleCode, type: "button", children: open ? 'Hide code' : 'View code' }), _jsx("button", { className: "rounded-full border border-border/50 px-2.5 py-0.5 text-xs transition-colors hover:bg-accent", onClick: remove, type: "button", children: "Remove" })] })] }), open && (_jsx("pre", { className: "max-h-60 overflow-auto whitespace-pre rounded-lg border border-border/50 p-2 font-mono text-[11px] text-foreground", children: code?.sha === sha ? code.text : 'Loading…' }))] }));
315
+ return (_jsxs("div", { className: "flex flex-col gap-2", "data-wall-face-script": face, children: [_jsxs("div", { className: "flex min-h-8 items-center justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground text-xs", children: i18n._({
316
+ id: 'node.wall.panel.sideFace',
317
+ message: 'Side {face}',
318
+ values: { face: face.toUpperCase() },
319
+ }) }), _jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("button", { className: "rounded-full border border-border/50 px-2.5 py-0.5 text-xs transition-colors hover:bg-accent", onClick: toggleCode, type: "button", children: open
320
+ ? i18n._({ id: 'node.wall.panel.hideCode', message: 'Hide code' })
321
+ : i18n._({ id: 'node.wall.panel.viewCode', message: 'View code' }) }), _jsx("button", { className: "rounded-full border border-border/50 px-2.5 py-0.5 text-xs transition-colors hover:bg-accent", onClick: remove, type: "button", children: i18n._({ id: 'node.wall.panel.remove', message: 'Remove' }) })] })] }), open && (_jsx("pre", { className: "max-h-60 overflow-auto whitespace-pre rounded-lg border border-border/50 p-2 font-mono text-[11px] text-foreground", children: code?.sha === sha
322
+ ? code.text
323
+ : i18n._({ id: 'node.wall.panel.loading', message: 'Loading…' }) }))] }));
233
324
  }
234
325
  function WallTrimSection({ node, onUpdate, title, trimKey, trimValue, unit, unitLabel, wallHeightMeters, }) {
326
+ const i18n = usePascalI18n();
235
327
  const updateTrim = (patch) => onUpdate(wallTrimPatch(node, trimKey, patch));
236
328
  const profileOptions = WALL_TRIM_PROFILE_OPTIONS[trimKey];
237
329
  const selectedProfile = profileOptions.some((option) => option.value === trimValue.profile)
238
330
  ? trimValue.profile
239
331
  : profileOptions[0].value;
240
- return (_jsxs(PanelSection, { title: title, children: [_jsx(ActionGroup, { children: _jsx(ActionButton, { label: trimValue.enabled ? `Hide ${title.toLowerCase()}` : `Show ${title.toLowerCase()}`, onClick: () => updateTrim({ enabled: !trimValue.enabled }) }) }), trimValue.enabled && (_jsxs(_Fragment, { children: [_jsx(SegmentedControl, { onChange: (next) => updateTrim({ sides: next }), options: [
241
- { label: 'Side A', value: 'a' },
242
- { label: 'Side B', value: 'b' },
243
- { label: 'Both', value: 'both' },
332
+ return (_jsxs(PanelSection, { title: title, children: [_jsx(ActionGroup, { children: _jsx(ActionButton, { label: trimValue.enabled
333
+ ? i18n._({
334
+ id: 'node.wall.trim.hide',
335
+ message: '{trim, select, skirting {Hide skirting} crown {Hide crown molding} other {Hide chair rail}}',
336
+ values: { trim: trimKey },
337
+ })
338
+ : i18n._({
339
+ id: 'node.wall.trim.show',
340
+ message: '{trim, select, skirting {Show skirting} crown {Show crown molding} other {Show chair rail}}',
341
+ values: { trim: trimKey },
342
+ }), onClick: () => updateTrim({ enabled: !trimValue.enabled }) }) }), trimValue.enabled && (_jsxs(_Fragment, { children: [_jsx(SegmentedControl, { onChange: (next) => updateTrim({ sides: next }), options: [
343
+ { label: i18n._({ id: 'node.wall.panel.sideA', message: 'Side A' }), value: 'a' },
344
+ { label: i18n._({ id: 'node.wall.panel.sideB', message: 'Side B' }), value: 'b' },
345
+ { label: i18n._({ id: 'node.wall.panel.both', message: 'Both' }), value: 'both' },
244
346
  ], value: trimValue.sides === 'interior'
245
347
  ? 'a'
246
348
  : trimValue.sides === 'exterior'
247
349
  ? 'b'
248
- : trimValue.sides }), _jsx(SegmentedControl, { onChange: (next) => updateTrim({ profile: next }), options: profileOptions, value: selectedProfile }), _jsx(SliderControl, { label: "Height", max: metersToLinearUnit(Math.max(0.05, wallHeightMeters), unit), min: metersToLinearUnit(0.01, unit), onChange: (value) => updateTrim({
350
+ : trimValue.sides }), _jsx(SegmentedControl, { onChange: (next) => updateTrim({ profile: next }), options: profileOptions.map((option) => ({ ...option, label: i18n._(option.label) })), value: selectedProfile }), _jsx(SliderControl, { label: i18n._({ id: 'node.wall.panel.height', message: 'Height' }), max: metersToLinearUnit(Math.max(0.05, wallHeightMeters), unit), min: metersToLinearUnit(0.01, unit), onChange: (value) => updateTrim({
249
351
  height: linearControlValueToMeters(value, unit, {
250
352
  maxMeters: Math.max(0.05, wallHeightMeters),
251
353
  minMeters: 0.01,
252
354
  }),
253
- }), precision: 2, step: 0.01, unit: unitLabel, value: metersToLinearUnit(trimValue.height, unit) }), _jsx(SliderControl, { label: "Depth", max: metersToLinearUnit(0.2, unit), min: metersToLinearUnit(0.001, unit), onChange: (value) => updateTrim({
355
+ }), precision: 2, step: 0.01, unit: unitLabel, value: metersToLinearUnit(trimValue.height, unit) }), _jsx(SliderControl, { label: i18n._({ id: 'node.wall.panel.depth', message: 'Depth' }), max: metersToLinearUnit(0.2, unit), min: metersToLinearUnit(0.001, unit), onChange: (value) => updateTrim({
254
356
  proud: linearControlValueToMeters(value, unit, {
255
357
  maxMeters: 0.2,
256
358
  minMeters: 0.001,
257
359
  }),
258
- }), precision: 3, step: 0.005, unit: unitLabel, value: metersToLinearUnit(trimValue.proud, unit) }), trimKey === 'chairRail' && (_jsx(SliderControl, { label: "Offset", max: metersToLinearUnit(Math.max(0.05, wallHeightMeters - trimValue.height), unit), min: metersToLinearUnit(0, unit), onChange: (value) => updateTrim({
360
+ }), precision: 3, step: 0.005, unit: unitLabel, value: metersToLinearUnit(trimValue.proud, unit) }), trimKey === 'chairRail' && (_jsx(SliderControl, { label: i18n._({ id: 'node.wall.panel.offset', message: 'Offset' }), max: metersToLinearUnit(Math.max(0.05, wallHeightMeters - trimValue.height), unit), min: metersToLinearUnit(0, unit), onChange: (value) => updateTrim({
259
361
  offsetY: linearControlValueToMeters(value, unit, {
260
362
  maxMeters: Math.max(0.05, wallHeightMeters - trimValue.height),
261
363
  minMeters: 0,
@@ -270,70 +372,6 @@ function WallTrimSection({ node, onUpdate, title, trimKey, trimValue, unit, unit
270
372
  // here goes through `wallAssemblyPatch`, which writes the layer stack AND the
271
373
  // re-derived total in one `updateNode` call, so the 2D plan and the 3D wall
272
374
  // both move on the same store tick.
273
- const METRES_PER_INCH = 0.0254;
274
- /**
275
- * Imperial-friendly thickness input. Accepts `5/8`, `5/8"`, `7/16 in`,
276
- * `1-1/4"`, `1 1/2"`, `12mm`, `0.012m`. A bare number means INCHES in imperial
277
- * display and MILLIMETRES in metric — wall layers are millimetre-scale and
278
- * typing `0.0127` for half-inch board is nobody's idea of usable.
279
- */
280
- function parseLayerThickness(raw, unit) {
281
- const text = raw.trim().toLowerCase().replace(/["”]/g, ' in ');
282
- if (!text)
283
- return null;
284
- const explicit = /(mm|cm|m|in|ft|')\s*$/.exec(text);
285
- const suffix = explicit?.[1];
286
- const body = (suffix ? text.slice(0, explicit?.index) : text).trim();
287
- // `1-1/4` / `1 1/2` / `5/8` / `0.4375`
288
- const mixed = /^(\d+(?:\.\d+)?)[\s-]+(\d+)\s*\/\s*(\d+)$/.exec(body);
289
- const fraction = /^(\d+)\s*\/\s*(\d+)$/.exec(body);
290
- let value;
291
- if (mixed) {
292
- value = Number(mixed[1]) + Number(mixed[2]) / Number(mixed[3]);
293
- }
294
- else if (fraction) {
295
- value = Number(fraction[1]) / Number(fraction[2]);
296
- }
297
- else {
298
- value = Number(body);
299
- }
300
- if (!Number.isFinite(value) || value < 0)
301
- return null;
302
- switch (suffix) {
303
- case 'mm':
304
- return value / 1000;
305
- case 'cm':
306
- return value / 100;
307
- case 'm':
308
- return value;
309
- case 'in':
310
- return value * METRES_PER_INCH;
311
- case 'ft':
312
- case "'":
313
- return value * 12 * METRES_PER_INCH;
314
- default:
315
- return unit === 'imperial' ? value * METRES_PER_INCH : value / 1000;
316
- }
317
- }
318
- /** Nearest common fraction of an inch, so 0.0111 m reads back as `7/16"`. */
319
- function formatLayerThickness(metres, unit) {
320
- if (unit !== 'imperial')
321
- return `${Math.round(metres * 1000 * 10) / 10} mm`;
322
- const inchValue = metres / METRES_PER_INCH;
323
- const sixteenths = Math.round(inchValue * 16);
324
- if (Math.abs(inchValue * 16 - sixteenths) > 1e-6)
325
- return `${Math.round(inchValue * 1000) / 1000}"`;
326
- const whole = Math.floor(sixteenths / 16);
327
- let numerator = sixteenths % 16;
328
- let denominator = 16;
329
- while (numerator % 2 === 0 && numerator > 0) {
330
- numerator /= 2;
331
- denominator /= 2;
332
- }
333
- if (numerator === 0)
334
- return `${whole}"`;
335
- return whole > 0 ? `${whole}-${numerator}/${denominator}"` : `${numerator}/${denominator}"`;
336
- }
337
375
  const SELECT_CLASS = 'h-7 w-full rounded border border-border bg-background px-2 text-[11px] text-foreground outline-none focus:border-primary';
338
376
  const INPUT_CLASS = 'h-7 w-full rounded border border-border bg-background px-2 text-[11px] text-foreground outline-none focus:border-primary';
339
377
  const ROW_LABEL_CLASS = 'w-[68px] shrink-0 text-[10px] text-muted-foreground uppercase tracking-wide';
@@ -359,47 +397,62 @@ function ThicknessInput({ metres, onCommit, unit, }) {
359
397
  }
360
398
  }, spellCheck: false, value: display }));
361
399
  }
362
- const EXTERIOR_FINISH_OPTIONS = [
363
- { value: 'none', label: 'None' },
364
- { value: 'siding', label: 'Lap siding' },
365
- { value: 'fiber-cement', label: 'Fiber cement' },
366
- { value: 'stucco', label: 'Stucco' },
367
- { value: 'brick', label: 'Brick veneer' },
368
- { value: 'stone', label: 'Stone veneer' },
369
- ];
400
+ /**
401
+ * The Exterior select's names for the finishes of the list it shares with the
402
+ * multi-selection controls (`EXTERIOR_FINISH_OPTIONS`, in `panel-model`).
403
+ */
404
+ const EXTERIOR_FINISH_LABELS = {
405
+ none: /* i18n */ { id: 'node.wall.panel.none', message: 'None' },
406
+ siding: /* i18n */ { id: 'node.wall.panel.lapSiding', message: 'Lap siding' },
407
+ 'fiber-cement': /* i18n */ { id: 'node.wall.panel.fiberCement', message: 'Fiber cement' },
408
+ stucco: /* i18n */ { id: 'node.wall.panel.stucco', message: 'Stucco' },
409
+ brick: /* i18n */ { id: 'node.wall.panel.brickVeneer', message: 'Brick veneer' },
410
+ stone: /* i18n */ { id: 'node.wall.panel.stoneVeneer', message: 'Stone veneer' },
411
+ };
370
412
  const SHEATHING_OPTIONS = [
371
- { value: 'none', label: 'None' },
372
- { value: 'osb', label: 'OSB' },
373
- { value: 'plywood', label: 'Plywood' },
374
- { value: 'gypsum', label: 'Gypsum' },
413
+ { value: 'none', label: /* i18n */ { id: 'node.wall.panel.none', message: 'None' } },
414
+ { value: 'osb', label: /* i18n */ { id: 'node.wall.panel.osb', message: 'OSB' } },
415
+ { value: 'plywood', label: /* i18n */ { id: 'node.wall.panel.plywood', message: 'Plywood' } },
416
+ { value: 'gypsum', label: /* i18n */ { id: 'node.wall.panel.gypsum', message: 'Gypsum' } },
375
417
  ];
376
418
  const FRAMING_OPTIONS = [
377
- { value: 'wood', label: 'Wood studs' },
378
- { value: 'lgs', label: 'Steel studs' },
379
- { value: 'cmu', label: 'CMU' },
380
- { value: 'icf', label: 'ICF' },
419
+ { value: 'wood', label: /* i18n */ { id: 'node.wall.panel.woodStuds', message: 'Wood studs' } },
420
+ { value: 'lgs', label: /* i18n */ { id: 'node.wall.panel.steelStuds', message: 'Steel studs' } },
421
+ { value: 'cmu', label: /* i18n */ { id: 'node.wall.panel.cmu', message: 'CMU' } },
422
+ { value: 'icf', label: /* i18n */ { id: 'node.wall.panel.icf', message: 'ICF' } },
381
423
  ];
424
+ const spacingKey = (metres) => metres.toFixed(6);
425
+ /**
426
+ * The stud spacings to pick from, the framing list roofs and ceilings use, keeping a stored one
427
+ * off the list; and the one stored (null for the framer's default).
428
+ */
429
+ export function studSpacingChoices(stored) {
430
+ const listed = FRAMING_SPACINGS.find((size) => stored !== undefined && Math.abs(size - stored) < 1e-6);
431
+ const current = stored === undefined ? null : (listed ?? stored);
432
+ return {
433
+ sizes: current === null || listed !== undefined ? FRAMING_SPACINGS : [current, ...FRAMING_SPACINGS],
434
+ current,
435
+ };
436
+ }
382
437
  const INTERIOR_FINISH_OPTIONS = [
383
- { value: 'none', label: 'None' },
384
- { value: 'drywall', label: 'Drywall' },
385
- { value: 'plaster', label: 'Plaster' },
438
+ { value: 'none', label: /* i18n */ { id: 'node.wall.panel.none', message: 'None' } },
439
+ { value: 'drywall', label: /* i18n */ { id: 'node.wall.panel.drywall', message: 'Drywall' } },
440
+ { value: 'plaster', label: /* i18n */ { id: 'node.wall.panel.plaster', message: 'Plaster' } },
386
441
  ];
387
- /** Cited default thickness for a finish the user just switched to. */
388
- const EXTERIOR_FINISH_DEFAULT = {
389
- none: 0,
390
- siding: SIDING_LAP,
391
- 'fiber-cement': FIBER_CEMENT,
392
- stucco: STUCCO_3_COAT,
393
- brick: BRICK_VENEER + BRICK_AIR_SPACE,
394
- stone: STONE_VENEER_UNVERIFIED,
395
- };
396
442
  function WallAssemblySection({ node, onUpdate, unit, }) {
443
+ const i18n = usePascalI18n();
397
444
  const stack = node.assembly;
398
445
  // The cladding / sheathing / framing / interior editor works on the WS5 view
399
446
  // of the F2 stack; a stack it cannot express is listed read-only.
400
447
  const assembly = stack ? (wallAssemblyToLegacy(stack) ?? undefined) : undefined;
448
+ const studSpacing = studSpacingChoices(assembly?.framing.spacing);
401
449
  const resolved = resolveWallAssembly(node);
402
450
  const presetNote = wallAssemblyUnverifiedNote(node);
451
+ // The project's own wall types sit beside the presets and apply the same way.
452
+ const projectTypes = useProjectWallTypes();
453
+ const presetId = stack?.presetId;
454
+ const knownPreset = !!presetId &&
455
+ (!!getWallAssemblyPreset(presetId) || projectTypes.some((type) => type.id === presetId));
403
456
  // Every write goes through wallAssemblyPatch so `thickness` is re-derived.
404
457
  // Changing any layer clears `preset` — the stack is no longer that preset.
405
458
  const apply = (next) => onUpdate(wallAssemblyPatch(wallAssemblyFromLegacy(next)));
@@ -409,25 +462,27 @@ function WallAssemblySection({ node, onUpdate, unit, }) {
409
462
  const next = mutate({ ...assembly });
410
463
  apply({ ...next, preset: undefined });
411
464
  };
412
- return (_jsxs(PanelSection, { title: "Assembly", children: [_jsx(LayerRow, { label: "Preset", children: _jsxs("select", { className: SELECT_CLASS, onChange: (event) => {
413
- const id = event.target.value;
414
- if (!id) {
415
- onUpdate({ assembly: undefined });
416
- return;
417
- }
418
- const preset = getWallAssemblyPreset(id);
419
- if (preset)
420
- onUpdate(wallAssemblyPatch(preset.assembly));
421
- }, value: stack?.presetId ?? '', children: [_jsx("option", { value: "", children: stack ? 'Custom' : 'None (single layer)' }), WALL_ASSEMBLY_PRESETS.map((preset) => (_jsx("option", { value: preset.id, children: preset.label }, preset.id)))] }) }), assembly && (_jsxs(_Fragment, { children: [_jsxs(LayerRow, { label: "Exterior", children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => {
465
+ return (_jsxs(PanelSection, { title: i18n._({ id: 'node.wall.panel.assembly', message: 'Assembly' }), children: [_jsxs(LayerRow, { label: i18n._({ id: 'node.wall.panel.preset', message: 'Preset' }), children: [_jsxs("select", { className: SELECT_CLASS, onChange: (event) => {
466
+ const id = event.target.value;
467
+ if (!id) {
468
+ onUpdate({ assembly: undefined });
469
+ return;
470
+ }
471
+ const preset = getWallAssemblyPreset(id) ?? projectTypes.find((type) => type.id === id);
472
+ if (preset)
473
+ onUpdate(wallAssemblyPatch(structuredClone(preset.assembly)));
474
+ }, value: knownPreset ? presetId : '', children: [_jsx("option", { value: "", children: stack
475
+ ? i18n._({ id: 'node.wall.panel.custom', message: 'Custom' })
476
+ : i18n._({ id: 'node.wall.panel.noneSingleLayer', message: 'None (single layer)' }) }), WALL_ASSEMBLY_PRESETS.map((preset) => (_jsx("option", { value: preset.id, children: preset.label }, preset.id))), projectTypes.length > 0 ? (_jsx("optgroup", { label: i18n._({ id: 'node.wall.panel.thisProject', message: 'This project' }), children: projectTypes.map((type) => (_jsx("option", { value: type.id, children: type.label }, type.id))) })) : null] }), _jsx(WallTypeMenu, { assembly: stack, onApply: (type) => onUpdate(wallAssemblyPatch(structuredClone(type.assembly))), placement: node.frontSide === 'exterior' || node.backSide === 'exterior' ? 'exterior' : 'interior' })] }), assembly && (_jsxs(_Fragment, { children: [_jsxs(LayerRow, { label: i18n._({ id: 'node.wall.panel.exterior', message: 'Exterior' }), children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => {
422
477
  const finish = event.target.value;
423
478
  edit((draft) => ({
424
479
  ...draft,
425
480
  exterior: { finish, thickness: EXTERIOR_FINISH_DEFAULT[finish] },
426
481
  }));
427
- }, value: assembly.exterior?.finish ?? 'none', children: EXTERIOR_FINISH_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value))) }), assembly.exterior && assembly.exterior.finish !== 'none' && (_jsx(ThicknessInput, { metres: assembly.exterior.thickness, onCommit: (thickness) => edit((draft) => ({
482
+ }, value: assembly.exterior?.finish ?? 'none', children: EXTERIOR_FINISH_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: i18n._(EXTERIOR_FINISH_LABELS[option.value]) }, option.value))) }), assembly.exterior && assembly.exterior.finish !== 'none' && (_jsx(ThicknessInput, { metres: assembly.exterior.thickness, onCommit: (thickness) => edit((draft) => ({
428
483
  ...draft,
429
484
  exterior: { finish: draft.exterior?.finish ?? 'siding', thickness },
430
- })), unit: unit }))] }), _jsxs(LayerRow, { label: "Sheathing", children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => {
485
+ })), unit: unit }))] }), _jsxs(LayerRow, { label: i18n._({ id: 'node.wall.panel.sheathing', message: 'Sheathing' }), children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => {
431
486
  const material = event.target.value;
432
487
  edit((draft) => ({
433
488
  ...draft,
@@ -440,16 +495,29 @@ function WallAssemblySection({ node, onUpdate, unit, }) {
440
495
  : WSP_SHEATHING,
441
496
  },
442
497
  }));
443
- }, value: assembly.sheathing?.material ?? 'none', children: SHEATHING_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value))) }), assembly.sheathing && assembly.sheathing.material !== 'none' && (_jsx(ThicknessInput, { metres: assembly.sheathing.thickness, onCommit: (thickness) => edit((draft) => ({
498
+ }, value: assembly.sheathing?.material ?? 'none', children: SHEATHING_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: i18n._(option.label) }, option.value))) }), assembly.sheathing && assembly.sheathing.material !== 'none' && (_jsx(ThicknessInput, { metres: assembly.sheathing.thickness, onCommit: (thickness) => edit((draft) => ({
444
499
  ...draft,
445
500
  sheathing: { material: draft.sheathing?.material ?? 'osb', thickness },
446
- })), unit: unit }))] }), _jsxs(LayerRow, { label: "Framing", children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => edit((draft) => ({
501
+ })), unit: unit }))] }), _jsxs(LayerRow, { label: i18n._({ id: 'node.wall.panel.framing', message: 'Framing' }), children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => edit((draft) => {
502
+ const kind = event.target.value;
503
+ // Block and ICF have no studs to space.
504
+ const studs = kind === 'wood' || kind === 'lgs';
505
+ const { spacing, ...framing } = draft.framing;
506
+ return {
507
+ ...draft,
508
+ framing: { ...framing, kind, ...(studs && spacing ? { spacing } : {}) },
509
+ };
510
+ }), value: assembly.framing.kind, children: FRAMING_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: i18n._(option.label) }, option.value))) }), _jsx(ThicknessInput, { metres: assembly.framing.depth, onCommit: (depth) => edit((draft) => ({ ...draft, framing: { ...draft.framing, depth } })), unit: unit })] }), (assembly.framing.kind === 'wood' || assembly.framing.kind === 'lgs') && (_jsx(LayerRow, { label: i18n._({ id: 'node.wall.panel.studs', message: 'Studs' }), children: _jsxs("select", { className: SELECT_CLASS, onChange: (event) => {
511
+ const spacing = studSpacing.sizes.find((size) => spacingKey(size) === event.target.value);
512
+ edit((draft) => ({
447
513
  ...draft,
448
514
  framing: {
449
- kind: event.target.value,
515
+ kind: draft.framing.kind,
450
516
  depth: draft.framing.depth,
517
+ ...(spacing !== undefined ? { spacing } : {}),
451
518
  },
452
- })), value: assembly.framing.kind, children: FRAMING_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value))) }), _jsx(ThicknessInput, { metres: assembly.framing.depth, onCommit: (depth) => edit((draft) => ({ ...draft, framing: { kind: draft.framing.kind, depth } })), unit: unit })] }), _jsxs(LayerRow, { label: "Interior", children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => {
519
+ }));
520
+ }, value: studSpacing.current === null ? '' : spacingKey(studSpacing.current), children: [_jsx("option", { value: "", children: i18n._({ id: 'node.wall.panel.framersDefault', message: "Framer's default" }) }), studSpacing.sizes.map((spacing) => (_jsx("option", { value: spacingKey(spacing), children: formatSpacing(spacing, unit, i18n) }, spacingKey(spacing))))] }) })), _jsxs(LayerRow, { label: i18n._({ id: 'node.wall.panel.interior', message: 'Interior' }), children: [_jsx("select", { className: SELECT_CLASS, onChange: (event) => {
453
521
  const finish = event.target.value;
454
522
  edit((draft) => ({
455
523
  ...draft,
@@ -458,8 +526,21 @@ function WallAssemblySection({ node, onUpdate, unit, }) {
458
526
  thickness: finish === 'none' ? 0 : (draft.interior?.thickness ?? GYPSUM_HALF),
459
527
  },
460
528
  }));
461
- }, value: assembly.interior?.finish ?? 'none', children: INTERIOR_FINISH_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value))) }), assembly.interior && assembly.interior.finish !== 'none' && (_jsx(ThicknessInput, { metres: assembly.interior.thickness, onCommit: (thickness) => edit((draft) => ({
529
+ }, value: assembly.interior?.finish ?? 'none', children: INTERIOR_FINISH_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: i18n._(option.label) }, option.value))) }), assembly.interior && assembly.interior.finish !== 'none' && (_jsx(ThicknessInput, { metres: assembly.interior.thickness, onCommit: (thickness) => edit((draft) => ({
462
530
  ...draft,
463
531
  interior: { finish: draft.interior?.finish ?? 'drywall', thickness },
464
- })), unit: unit }))] }), _jsxs("div", { className: "flex items-center justify-between px-2 py-1.5", children: [_jsx("span", { className: "font-medium text-[10px] text-muted-foreground uppercase tracking-wide", children: "Total thickness" }), _jsx("span", { className: "font-medium text-[11px] text-foreground tabular-nums", children: formatLayerThickness(assemblyThickness(stack), unit) })] }), resolved.kind === 'partition' && (_jsx("div", { className: "px-2 pb-1.5 text-[10px] text-muted-foreground", children: "Partition: the interior finish is applied to both faces." })), resolved.kind === 'envelope' && resolved.exteriorSide == null && (_jsx("div", { className: "px-2 pb-1.5 text-[10px] text-muted-foreground", children: "Which face is outside is undetermined (no room detected on either side) \u2014 the exterior layers are drawn on side B." })), presetNote && (_jsxs("div", { className: "px-2 pb-2 text-[10px] text-amber-600 dark:text-amber-400", children: ["Unverified: ", presetNote] })), _jsx("div", { className: "px-2 pb-2 text-[10px] text-muted-foreground", children: "Layer thicknesses follow the 2021 IRC assembly data. Drafting aid, not engineering \u2014 verify with the authority having jurisdiction." })] })), stack && !assembly && (_jsxs(_Fragment, { children: [resolved.layers.map((layer, index) => (_jsx(LayerRow, { label: layer.material, children: _jsx("span", { className: "text-[11px] text-muted-foreground tabular-nums", children: formatLayerThickness(layer.thickness, unit) }) }, `${layer.role}-${index}`))), _jsxs("div", { className: "flex items-center justify-between px-2 py-1.5", children: [_jsx("span", { className: "font-medium text-[10px] text-muted-foreground uppercase tracking-wide", children: "Total thickness" }), _jsx("span", { className: "font-medium text-[11px] text-foreground tabular-nums", children: formatLayerThickness(assemblyThickness(stack), unit) })] })] }))] }));
532
+ })), unit: unit }))] }), _jsxs("div", { className: "flex items-center justify-between px-2 py-1.5", children: [_jsx("span", { className: "font-medium text-[10px] text-muted-foreground uppercase tracking-wide", children: i18n._({ id: 'node.wall.panel.totalThickness', message: 'Total thickness' }) }), _jsx("span", { className: "font-medium text-[11px] text-foreground tabular-nums", children: formatLayerThickness(assemblyThickness(stack), unit) })] }), resolved.kind === 'partition' && (_jsx("div", { className: "px-2 pb-1.5 text-[10px] text-muted-foreground", children: i18n._({
533
+ id: 'node.wall.panel.partitionTheInteriorFinishIsApplied',
534
+ message: 'Partition: the interior finish is applied to both faces.',
535
+ }) })), resolved.kind === 'envelope' && resolved.exteriorSide == null && (_jsx("div", { className: "px-2 pb-1.5 text-[10px] text-muted-foreground", children: i18n._({
536
+ id: 'node.wall.panel.whichFaceIsOutsideIsUndetermined',
537
+ message: 'Which face is outside is undetermined (no room detected on either side) — the exterior layers are drawn on side B.',
538
+ }) })), presetNote && (_jsx("div", { className: "px-2 pb-2 text-[10px] text-amber-600 dark:text-amber-400", children: i18n._({
539
+ id: 'node.wall.panel.unverifiedPresetnote',
540
+ message: 'Unverified: {presetNote}',
541
+ values: { presetNote },
542
+ }) })), _jsx("div", { className: "px-2 pb-2 text-[10px] text-muted-foreground", children: i18n._({
543
+ id: 'node.wall.panel.layerThicknessesFollowThe2021Irc',
544
+ message: 'Layer thicknesses follow the 2021 IRC assembly data. Drafting aid, not engineering — verify with the authority having jurisdiction.',
545
+ }) })] })), stack && !assembly && (_jsxs(_Fragment, { children: [resolved.layers.map((layer, index) => (_jsx(LayerRow, { label: layer.material, children: _jsx("span", { className: "text-[11px] text-muted-foreground tabular-nums", children: formatLayerThickness(layer.thickness, unit) }) }, `${layer.role}-${index}`))), _jsxs("div", { className: "flex items-center justify-between px-2 py-1.5", children: [_jsx("span", { className: "font-medium text-[10px] text-muted-foreground uppercase tracking-wide", children: i18n._({ id: 'node.wall.panel.totalThickness', message: 'Total thickness' }) }), _jsx("span", { className: "font-medium text-[11px] text-foreground tabular-nums", children: formatLayerThickness(assemblyThickness(stack), unit) })] })] }))] }));
465
546
  }