@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,32 +1,198 @@
1
1
  'use client';
2
2
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { COLUMN_PRESETS, scriptImages, useScene, } from '@pascal-app/core';
4
- import { ActionButton, ActionGroup, cn, PanelSection, PanelWrapper, SliderControl, ToggleControl, triggerSFX, useEditor, } from '@pascal-app/editor';
3
+ import { ColumnBaseStyle, ColumnCapitalStyle, ColumnCarvingPlacement, ColumnCrossSection, ColumnPanelShape, ColumnShaftDetail, ColumnShaftProfile, ColumnStyle, scriptImages, useLiveNodeOverrides, usePascalI18n, useScene, } from '@pascal-app/core';
4
+ import { ActionButton, ActionGroup, armMaterialPaint, PanelSection as BasePanelSection, SliderControl as BaseSliderControl, PanelWrapper, ToggleControl, triggerSFX, useEditor, } from '@pascal-app/editor';
5
5
  import { useViewer } from '@pascal-app/viewer';
6
- import { Move, Trash2 } from 'lucide-react';
7
- import { useCallback } from 'react';
6
+ import { Move, PaintBucket, Trash2 } from 'lucide-react';
7
+ import { useCallback, useEffect, useMemo, useState } from 'react';
8
8
  import { AuthoredParams } from '../item/authored-params.js';
9
+ import { isManagedColumn } from './edit-policy.js';
9
10
  import { planColumnEdit } from './hosted-resize.js';
11
+ import { ColumnInspectorHover } from './inspector-highlight.js';
12
+ import { FramingPostSection } from './post-section.js';
13
+ import { ColumnPresetGallery } from './preset-gallery.js';
14
+ import { columnSectionReset } from './presets.js';
15
+ import { createColumnPropertyPreview } from './property-preview.js';
16
+ function PanelSection({ part, ...props }) {
17
+ return (_jsx("div", { "data-column-part": part, children: _jsx(BasePanelSection, { ...props }) }));
18
+ }
19
+ function SliderControl({ axis, ...props }) {
20
+ return (_jsx("div", { "data-column-axis": axis, children: _jsx(BaseSliderControl, { ...props }) }));
21
+ }
22
+ /** Display names for the column's style, section, profile, detail and part values. */
23
+ const COLUMN_OPTION_LABELS = {
24
+ plain: /* i18n */ { id: 'node.column.panel.plain', message: 'Plain' },
25
+ faceted: /* i18n */ { id: 'node.column.panel.faceted', message: 'Faceted' },
26
+ fluted: /* i18n */ { id: 'node.column.panel.fluted', message: 'Fluted' },
27
+ 'lathe-turned': /* i18n */ { id: 'node.column.panel.latheTurned', message: 'Lathe Turned' },
28
+ 'dravidian-carved': /* i18n */ {
29
+ id: 'node.column.panel.dravidianCarved',
30
+ message: 'Dravidian Carved',
31
+ },
32
+ cluster: /* i18n */ { id: 'node.column.panel.cluster', message: 'Cluster' },
33
+ round: /* i18n */ { id: 'node.column.panel.round', message: 'Round' },
34
+ square: /* i18n */ { id: 'node.column.panel.square', message: 'Square' },
35
+ rectangular: /* i18n */ { id: 'node.column.panel.rectangular', message: 'Rectangular' },
36
+ octagonal: /* i18n */ { id: 'node.column.panel.octagonal', message: 'Octagonal' },
37
+ 'sixteen-sided': /* i18n */ { id: 'node.column.panel.sixteenSided', message: 'Sixteen Sided' },
38
+ straight: /* i18n */ { id: 'node.column.panel.straight', message: 'Straight' },
39
+ tapered: /* i18n */ { id: 'node.column.panel.tapered', message: 'Tapered' },
40
+ bulged: /* i18n */ { id: 'node.column.panel.bulged', message: 'Bulged' },
41
+ baluster: /* i18n */ { id: 'node.column.panel.baluster', message: 'Baluster' },
42
+ hourglass: /* i18n */ { id: 'node.column.panel.hourglass', message: 'Hourglass' },
43
+ none: /* i18n */ { id: 'node.column.panel.none', message: 'None' },
44
+ spiral: /* i18n */ { id: 'node.column.panel.spiral', message: 'Spiral' },
45
+ panelled: /* i18n */ { id: 'node.column.panel.panelled', message: 'Panelled' },
46
+ rectangle: /* i18n */ { id: 'node.column.panel.rectangle', message: 'Rectangle' },
47
+ arched: /* i18n */ { id: 'node.column.panel.arched', message: 'Arched' },
48
+ diamond: /* i18n */ { id: 'node.column.panel.diamond', message: 'Diamond' },
49
+ 'simple-square': /* i18n */ { id: 'node.column.panel.simpleSquare', message: 'Simple Square' },
50
+ 'round-rings': /* i18n */ { id: 'node.column.panel.roundRings', message: 'Round Rings' },
51
+ 'square-plinth': /* i18n */ { id: 'node.column.panel.squarePlinth', message: 'Square Plinth' },
52
+ 'stepped-square': /* i18n */ { id: 'node.column.panel.steppedSquare', message: 'Stepped Square' },
53
+ lotus: /* i18n */ { id: 'node.column.panel.lotus', message: 'Lotus' },
54
+ 'ribbed-lotus': /* i18n */ { id: 'node.column.panel.ribbedLotus', message: 'Ribbed Lotus' },
55
+ 'panelled-pedestal': /* i18n */ {
56
+ id: 'node.column.panel.panelledPedestal',
57
+ message: 'Panelled Pedestal',
58
+ },
59
+ simple: /* i18n */ { id: 'node.column.panel.simple', message: 'Simple' },
60
+ 'simple-slab': /* i18n */ { id: 'node.column.panel.simpleSlab', message: 'Simple Slab' },
61
+ rounded: /* i18n */ { id: 'node.column.panel.rounded', message: 'Rounded' },
62
+ stepped: /* i18n */ { id: 'node.column.panel.stepped', message: 'Stepped' },
63
+ doric: /* i18n */ { id: 'node.column.panel.doric', message: 'Doric' },
64
+ volute: /* i18n */ { id: 'node.column.panel.volute', message: 'Volute' },
65
+ 'ionic-volute': /* i18n */ { id: 'node.column.panel.ionicVolute', message: 'Ionic Volute' },
66
+ 'leaf-carved': /* i18n */ { id: 'node.column.panel.leafCarved', message: 'Leaf Carved' },
67
+ 'corinthian-leaf': /* i18n */ {
68
+ id: 'node.column.panel.corinthianLeaf',
69
+ message: 'Corinthian Leaf',
70
+ },
71
+ 'south-indian-bracket': /* i18n */ {
72
+ id: 'node.column.panel.southIndianBracket',
73
+ message: 'South Indian Bracket',
74
+ },
75
+ 'wood-bracket': /* i18n */ { id: 'node.column.panel.woodBracket', message: 'Wood Bracket' },
76
+ shaft: /* i18n */ { id: 'node.column.panel.shaft', message: 'Shaft' },
77
+ base: /* i18n */ { id: 'node.column.panel.base', message: 'Base' },
78
+ capital: /* i18n */ { id: 'node.column.panel.capital', message: 'Capital' },
79
+ all: /* i18n */ { id: 'node.column.panel.all', message: 'All' },
80
+ frame: /* i18n */ { id: 'node.column.panel.frame', message: 'Frame' },
81
+ };
82
+ const detailFields = [
83
+ [
84
+ 'fluteCount',
85
+ /* i18n */ { id: 'node.column.panel.fluteCount', message: 'Flute Count' },
86
+ 0,
87
+ 32,
88
+ 1,
89
+ ],
90
+ [
91
+ 'fluteDepth',
92
+ /* i18n */ { id: 'node.column.panel.fluteDepth', message: 'Flute Depth' },
93
+ 0.005,
94
+ 0.08,
95
+ 0.005,
96
+ ],
97
+ [
98
+ 'fluteWidth',
99
+ /* i18n */ { id: 'node.column.panel.fluteWidth', message: 'Flute Width' },
100
+ 0.005,
101
+ 0.1,
102
+ 0.005,
103
+ ],
104
+ [
105
+ 'spiralRibCount',
106
+ /* i18n */ { id: 'node.column.panel.spiralRibCount', message: 'Spiral Ribs' },
107
+ 0,
108
+ 32,
109
+ 1,
110
+ ],
111
+ [
112
+ 'spiralTwist',
113
+ /* i18n */ { id: 'node.column.panel.spiralTwist', message: 'Spiral Turns' },
114
+ -3,
115
+ 3,
116
+ 0.1,
117
+ ],
118
+ [
119
+ 'panelCount',
120
+ /* i18n */ { id: 'node.column.panel.panelCount', message: 'Carved Panels' },
121
+ 0,
122
+ 24,
123
+ 1,
124
+ ],
125
+ [
126
+ 'panelInsetDepth',
127
+ /* i18n */ { id: 'node.column.panel.panelInsetDepth', message: 'Panel Relief' },
128
+ 0,
129
+ 0.1,
130
+ 0.005,
131
+ ],
132
+ [
133
+ 'latheRingCount',
134
+ /* i18n */ { id: 'node.column.panel.latheRingCount', message: 'Lathe Rings' },
135
+ 0,
136
+ 32,
137
+ 1,
138
+ ],
139
+ ['voluteCount', /* i18n */ { id: 'node.column.panel.voluteCount', message: 'Volutes' }, 0, 8, 1],
140
+ [
141
+ 'voluteSize',
142
+ /* i18n */ { id: 'node.column.panel.voluteSize', message: 'Volute Size' },
143
+ 0.02,
144
+ 0.3,
145
+ 0.01,
146
+ ],
147
+ ['leafCount', /* i18n */ { id: 'node.column.panel.leafCount', message: 'Leaves' }, 0, 48, 1],
148
+ ['leafRows', /* i18n */ { id: 'node.column.panel.leafRows', message: 'Leaf Rows' }, 0, 4, 1],
149
+ [
150
+ 'bracketDepth',
151
+ /* i18n */ { id: 'node.column.panel.bracketDepth', message: 'Bracket Depth' },
152
+ 0,
153
+ 1.5,
154
+ 0.01,
155
+ ],
156
+ [
157
+ 'bracketTierCount',
158
+ /* i18n */ { id: 'node.column.panel.bracketTierCount', message: 'Bracket Tiers' },
159
+ 0,
160
+ 8,
161
+ 1,
162
+ ],
163
+ [
164
+ 'pendantCount',
165
+ /* i18n */ { id: 'node.column.panel.pendantCount', message: 'Pendants' },
166
+ 0,
167
+ 16,
168
+ 1,
169
+ ],
170
+ [
171
+ 'baseRibCount',
172
+ /* i18n */ { id: 'node.column.panel.baseRibCount', message: 'Base Ribs' },
173
+ 0,
174
+ 48,
175
+ 1,
176
+ ],
177
+ [
178
+ 'baseCarvingLevel',
179
+ /* i18n */ { id: 'node.column.panel.baseCarvingLevel', message: 'Base Carving' },
180
+ 0,
181
+ 4,
182
+ 1,
183
+ ],
184
+ [
185
+ 'capitalCarvingLevel',
186
+ /* i18n */ { id: 'node.column.panel.capitalCarvingLevel', message: 'Capital Carving' },
187
+ 0,
188
+ 4,
189
+ 1,
190
+ ],
191
+ ];
10
192
  const SELECT_CLASS = 'h-10 w-full rounded-lg border border-border/50 bg-black/4 dark:bg-[#2C2C2E] px-3 text-sm text-foreground outline-none transition-colors hover:bg-black/8 dark:hover:bg-[#3e3e3e] focus:ring-1 focus:ring-border';
11
- const MANAGED_LEAN_TO_LAYOUT_FIELDS = new Set([
12
- 'position',
13
- 'height',
14
- 'width',
15
- 'depth',
16
- 'crossSection',
17
- 'baseStyle',
18
- 'baseHeight',
19
- 'baseWidthScale',
20
- 'baseDepthScale',
21
- 'slots',
22
- ]);
23
- const COLUMN_PRESET_OPTIONS = Object.entries(COLUMN_PRESETS).map(([value, preset]) => ({
24
- value: value,
25
- label: preset.label,
26
- }));
27
193
  const COLUMN_PROPORTION_PRESETS = {
28
194
  slender: {
29
- label: 'Slender',
195
+ label: /* i18n */ { id: 'node.column.panel.slender', message: 'Slender' },
30
196
  height: 3.6,
31
197
  width: 0.34,
32
198
  baseHeight: 0.18,
@@ -36,7 +202,7 @@ const COLUMN_PROPORTION_PRESETS = {
36
202
  edgeSoftness: 0.02,
37
203
  },
38
204
  standard: {
39
- label: 'Standard',
205
+ label: /* i18n */ { id: 'node.column.panel.standard', message: 'Standard' },
40
206
  height: 2.9,
41
207
  width: 0.44,
42
208
  baseHeight: 0.22,
@@ -46,7 +212,7 @@ const COLUMN_PROPORTION_PRESETS = {
46
212
  edgeSoftness: 0.025,
47
213
  },
48
214
  heavy: {
49
- label: 'Heavy',
215
+ label: /* i18n */ { id: 'node.column.panel.heavy', message: 'Heavy' },
50
216
  height: 3,
51
217
  width: 0.58,
52
218
  baseHeight: 0.28,
@@ -56,7 +222,7 @@ const COLUMN_PROPORTION_PRESETS = {
56
222
  edgeSoftness: 0.035,
57
223
  },
58
224
  stout: {
59
- label: 'Short / Stout',
225
+ label: /* i18n */ { id: 'node.column.panel.shortStout', message: 'Short / Stout' },
60
226
  height: 2.2,
61
227
  width: 0.62,
62
228
  baseHeight: 0.3,
@@ -70,118 +236,9 @@ const COLUMN_PROPORTION_OPTIONS = Object.entries(COLUMN_PROPORTION_PRESETS).map(
70
236
  value: value,
71
237
  label: preset.label,
72
238
  }));
73
- const SUPPORT_STYLE_OPTIONS = [
74
- { label: 'Vertical', value: 'vertical' },
75
- { label: 'A-Frame', value: 'a-frame' },
76
- { label: 'Y Support', value: 'y-frame' },
77
- { label: 'V Support', value: 'v-frame' },
78
- { label: 'X Brace', value: 'x-brace' },
79
- { label: 'K Brace', value: 'k-brace' },
80
- { label: 'Single Strut', value: 'single-strut' },
81
- { label: 'Tripod', value: 'tripod' },
82
- { label: 'Trestle', value: 'trestle' },
83
- { label: 'Portal Frame', value: 'portal-frame' },
84
- { label: 'Box Frame', value: 'box-frame' },
85
- ];
86
- // Per-style brace defaults. Values mirror each support's renderer
87
- // fall-through expressions so switching styles snaps the column to the
88
- // shape that style was designed around — e.g. an A-frame opens wide at
89
- // the foot and pinches at the top, an X-brace runs parallel legs, a
90
- // tripod's "bottomSpread" / "topSpread" double as its X-span / Z-span.
91
- // Without these, a user who customised one style (say A-frame bottom =
92
- // 2.0) then switched to Y-frame would carry that 2.0 around in state
93
- // even though Y-frame doesn't use it — and switching back to X-brace
94
- // would inherit the leftover 0.12 top from A-frame, making the X look
95
- // pinched.
96
- const SUPPORT_STYLE_DEFAULTS = {
97
- 'a-frame': {
98
- braceBottomSpread: 1.4,
99
- braceTopSpread: 0.12,
100
- braceWidth: 0.16,
101
- braceDepth: 0.16,
102
- },
103
- 'y-frame': {
104
- braceBottomSpread: 0.2,
105
- braceTopSpread: 0.9,
106
- braceWidth: 0.16,
107
- braceDepth: 0.16,
108
- },
109
- 'v-frame': {
110
- braceBottomSpread: 0.2,
111
- braceTopSpread: 1.0,
112
- braceWidth: 0.16,
113
- braceDepth: 0.16,
114
- },
115
- 'x-brace': {
116
- braceBottomSpread: 1.0,
117
- braceTopSpread: 1.0,
118
- braceWidth: 0.14,
119
- braceDepth: 0.14,
120
- },
121
- 'k-brace': {
122
- braceBottomSpread: 1.0,
123
- braceTopSpread: 1.0,
124
- braceWidth: 0.14,
125
- braceDepth: 0.14,
126
- },
127
- 'single-strut': {
128
- braceBottomSpread: 0.6,
129
- braceTopSpread: 0.6,
130
- braceWidth: 0.12,
131
- braceDepth: 0.12,
132
- },
133
- tripod: {
134
- // bottomSpread = X span, topSpread = Z span (tripod's three legs).
135
- braceBottomSpread: 1.1,
136
- braceTopSpread: 1.1,
137
- braceWidth: 0.12,
138
- braceDepth: 0.12,
139
- },
140
- trestle: {
141
- braceBottomSpread: 1.2,
142
- braceTopSpread: 1.0,
143
- braceWidth: 0.16,
144
- braceDepth: 0.16,
145
- },
146
- 'portal-frame': {
147
- braceBottomSpread: 1.4,
148
- braceTopSpread: 1.0,
149
- braceWidth: 0.16,
150
- braceDepth: 0.16,
151
- },
152
- 'box-frame': {
153
- // bottomSpread = X span, topSpread = Z span (rectangular footprint).
154
- braceBottomSpread: 1.4,
155
- braceTopSpread: 1.0,
156
- braceWidth: 0.16,
157
- braceDepth: 0.16,
158
- },
159
- };
160
239
  function clamp(value, min, max) {
161
240
  return Math.min(max, Math.max(min, value));
162
241
  }
163
- function isManagedLeanToPost(node) {
164
- const metadata = node.metadata;
165
- if (!metadata || typeof metadata !== 'object' || Array.isArray(metadata))
166
- return false;
167
- const record = metadata;
168
- return record.managedByLeanTo !== undefined && record.leanToRole === 'post';
169
- }
170
- function filterManagedLeanToLayoutUpdates(updates) {
171
- const filtered = { ...updates };
172
- for (const key of MANAGED_LEAN_TO_LAYOUT_FIELDS) {
173
- delete filtered[key];
174
- }
175
- return filtered;
176
- }
177
- function presetUpdates(presetId) {
178
- const { label, ...preset } = COLUMN_PRESETS[presetId];
179
- return {
180
- name: label,
181
- supportStyle: 'supportStyle' in preset ? preset.supportStyle : 'vertical',
182
- ...preset,
183
- };
184
- }
185
242
  function proportionUpdates(node, presetId) {
186
243
  const preset = COLUMN_PROPORTION_PRESETS[presetId];
187
244
  const depth = node.crossSection === 'rectangular'
@@ -214,7 +271,7 @@ function shaftProfileUpdates(shaftProfile) {
214
271
  shaftSegmentCount: 32,
215
272
  };
216
273
  }
217
- if (shaftProfile === 'bulged') {
274
+ if (shaftProfile === 'bulged' || shaftProfile === 'baluster') {
218
275
  return {
219
276
  shaftProfile,
220
277
  shaftTaper: 0,
@@ -245,23 +302,41 @@ function shaftProfileUpdates(shaftProfile) {
245
302
  };
246
303
  }
247
304
  export default function ColumnPanel() {
305
+ const i18n = usePascalI18n();
248
306
  const selectedId = useViewer((s) => s.selection.selectedIds[0]);
249
307
  const selectedCount = useViewer((s) => s.selection.selectedIds.length);
250
308
  const setSelection = useViewer((s) => s.setSelection);
251
309
  const updateNodes = useScene((s) => s.updateNodes);
252
310
  const deleteNode = useScene((s) => s.deleteNode);
253
311
  const setMovingNode = useEditor((s) => s.setMovingNode);
254
- const node = useScene((s) => selectedId ? s.nodes[selectedId] : undefined);
312
+ const storedNode = useScene((s) => selectedId ? s.nodes[selectedId] : undefined);
313
+ const overrides = useLiveNodeOverrides((s) => selectedId ? s.overrides.get(selectedId) : undefined);
314
+ const [previewingPreset, setPreviewingPreset] = useState(false);
315
+ const node = storedNode && overrides && !previewingPreset
316
+ ? { ...storedNode, ...overrides }
317
+ : storedNode;
318
+ const preview = useMemo(() => (selectedId ? createColumnPropertyPreview(selectedId) : null), [selectedId]);
319
+ useEffect(() => () => preview?.cancel(), [preview]);
320
+ const previewProp = useCallback((updates) => preview?.preview(updates), [preview]);
321
+ const commitPreview = useCallback(() => preview?.commit(), [preview]);
322
+ const cancelPreview = useCallback(() => preview?.cancel(), [preview]);
323
+ const previewPreset = useCallback((updates) => {
324
+ // Presets preview the scene, while controls keep the committed shape's layout.
325
+ setPreviewingPreset(true);
326
+ preview?.preview(updates);
327
+ }, [preview]);
328
+ const cancelPresetPreview = useCallback(() => {
329
+ preview?.cancel();
330
+ setPreviewingPreset(false);
331
+ }, [preview]);
255
332
  const handleUpdate = useCallback((updates) => {
256
333
  if (!selectedId)
257
334
  return;
258
- const nextUpdates = node && isManagedLeanToPost(node) ? filterManagedLeanToLayoutUpdates(updates) : updates;
259
- if (Object.keys(nextUpdates).length === 0)
260
- return;
261
- const updatesToApply = planColumnEdit(selectedId, nextUpdates);
335
+ preview?.cancel();
336
+ const updatesToApply = planColumnEdit(selectedId, updates);
262
337
  if (updatesToApply)
263
338
  updateNodes(updatesToApply.map(([id, data]) => ({ id, data })));
264
- }, [node, selectedId, updateNodes]);
339
+ }, [selectedId, updateNodes, preview]);
265
340
  const handleClose = useCallback(() => {
266
341
  setSelection({ selectedIds: [] });
267
342
  }, [setSelection]);
@@ -273,7 +348,7 @@ export default function ColumnPanel() {
273
348
  setSelection({ selectedIds: [] });
274
349
  }, [deleteNode, selectedId, setSelection]);
275
350
  const handleMove = useCallback(() => {
276
- if (!node)
351
+ if (!node || isManagedColumn(node))
277
352
  return;
278
353
  triggerSFX('sfx:item-pick');
279
354
  setMovingNode(node);
@@ -282,8 +357,10 @@ export default function ColumnPanel() {
282
357
  if (!(node && node.type === 'column' && selectedId && selectedCount === 1))
283
358
  return null;
284
359
  const shaftProfile = node.shaftProfile ?? 'straight';
360
+ const radialSection = ['round', 'octagonal', 'sixteen-sided'].includes(node.crossSection);
361
+ const spatialFrame = ['tripod', 'trestle', 'box-frame'].includes(node.supportStyle);
285
362
  const supportStyle = node.supportStyle ?? 'vertical';
286
- const managedByLeanTo = isManagedLeanToPost(node);
363
+ const managedByLeanTo = isManagedColumn(node);
287
364
  const isBraceSupport = supportStyle === 'a-frame' ||
288
365
  supportStyle === 'y-frame' ||
289
366
  supportStyle === 'v-frame' ||
@@ -294,157 +371,256 @@ export default function ColumnPanel() {
294
371
  supportStyle === 'trestle' ||
295
372
  supportStyle === 'portal-frame' ||
296
373
  supportStyle === 'box-frame';
297
- return (_jsxs(PanelWrapper, { icon: scriptImages(node)?.thumbnail ?? '/icons/column.webp', onClose: handleClose, title: node.name || 'Column', width: 300, children: [node.source ? (_jsx(AuthoredParams, { node: node })) : (_jsxs(_Fragment, { children: [_jsx(PanelSection, { title: "Preset", children: _jsxs("select", { className: SELECT_CLASS, onChange: (event) => {
298
- if (!event.target.value)
299
- return;
300
- handleUpdate(presetUpdates(event.target.value));
301
- }, value: "", children: [_jsx("option", { value: "", children: "Apply preset..." }), COLUMN_PRESET_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value)))] }) }), _jsxs(PanelSection, { title: "Shape", children: [_jsx("div", { className: "grid grid-cols-2 gap-2 px-1 pt-1", children: SUPPORT_STYLE_OPTIONS.map((option) => {
302
- const isSelected = supportStyle === option.value;
303
- return (_jsx("button", { className: cn('flex min-h-12 items-center rounded-lg border px-3 py-2.5 text-left text-xs transition-colors', isSelected
304
- ? 'border-orange-400/60 bg-orange-400/10 text-foreground'
305
- : 'border-border/50 bg-black/4 dark:bg-[#2C2C2E] text-muted-foreground hover:bg-black/8 dark:hover:bg-[#3e3e3e] hover:text-foreground'), onClick: () => {
306
- // Per-style brace defaults reset the column to that
307
- // style's natural proportions on switch. Spread last
308
- // so the preset's braceWidth / braceDepth win over
309
- // the carried-from-previous-style values.
310
- const stylePreset = option.value === 'vertical' ? {} : SUPPORT_STYLE_DEFAULTS[option.value];
311
- handleUpdate({
312
- supportStyle: option.value,
313
- ...(option.value !== 'vertical'
314
- ? {
315
- crossSection: 'rectangular',
316
- width: node.braceWidth ?? node.width,
317
- depth: node.braceDepth ?? node.depth,
318
- baseStyle: 'none',
319
- capitalStyle: 'none',
320
- }
321
- : {}),
322
- ...stylePreset,
323
- });
324
- }, type: "button", children: _jsx("span", { className: "truncate font-medium", children: option.label }) }, option.value));
325
- }) }), isBraceSupport ? (_jsxs(_Fragment, { children: [_jsx(SliderControl, { label: "Brace Width", max: 0.8, min: 0.04, onChange: (value) => handleUpdate({ braceWidth: value, width: value }), precision: 2, step: 0.01, unit: "m", value: node.braceWidth ?? node.width }), _jsx(SliderControl, { label: "Brace Depth", max: 0.8, min: 0.04, onChange: (value) => handleUpdate({ braceDepth: value, depth: value }), precision: 2, step: 0.01, unit: "m", value: node.braceDepth ?? node.depth })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "grid grid-cols-3 gap-2 px-1 pt-1", children: [
326
- {
327
- value: 'round',
328
- label: 'Round',
329
- icon: (_jsx("svg", { "aria-hidden": "true", fill: "none", height: "22", viewBox: "0 0 22 22", width: "22", children: _jsx("circle", { cx: "11", cy: "11", r: "7.5", stroke: "currentColor", strokeWidth: "1.5" }) })),
330
- },
331
- {
332
- value: 'square',
333
- label: 'Square',
334
- icon: (_jsx("svg", { "aria-hidden": "true", fill: "none", height: "22", viewBox: "0 0 22 22", width: "22", children: _jsx("rect", { height: "15", rx: "1.5", stroke: "currentColor", strokeWidth: "1.5", width: "15", x: "3.5", y: "3.5" }) })),
335
- },
336
- {
337
- value: 'rectangular',
338
- label: 'Rectangular',
339
- icon: (_jsx("svg", { "aria-hidden": "true", fill: "none", height: "22", viewBox: "0 0 22 22", width: "22", children: _jsx("rect", { height: "11", rx: "1.5", stroke: "currentColor", strokeWidth: "1.5", width: "16", x: "3", y: "5.5" }) })),
340
- },
341
- ].map((option) => {
342
- const isSelected = node.crossSection === option.value;
343
- return (_jsxs("button", { className: cn('group flex flex-col items-center justify-center gap-1.5 rounded-lg border py-2.5 transition-all', isSelected
344
- ? 'border-orange-400/60 bg-orange-400/10 text-foreground shadow-[0_0_0_1px_rgba(251,146,60,0.25)_inset]'
345
- : 'border-border/50 bg-black/4 dark:bg-[#2C2C2E] text-muted-foreground hover:border-border hover:bg-black/8 dark:hover:bg-[#3e3e3e] hover:text-foreground'), onClick: () => handleUpdate({ crossSection: option.value }), type: "button", children: [_jsx("span", { className: cn('flex h-7 w-7 items-center justify-center', isSelected
346
- ? 'text-orange-700 dark:text-orange-300'
347
- : 'text-muted-foreground/80'), children: option.icon }), _jsx("span", { className: "font-medium text-[11px] leading-none tracking-wide", children: option.label })] }, option.value));
348
- }) }), _jsx(SliderControl, { label: "Edge Softness", max: 0.12, min: 0, onChange: (value) => handleUpdate({ edgeSoftness: value }), precision: 3, step: 0.005, unit: "m", value: node.edgeSoftness ?? 0.025 }), (node.crossSection === 'square' || node.crossSection === 'rectangular') && (_jsx(SliderControl, { label: "Shaft Corner Radius", max: 0.3, min: 0, onChange: (value) => handleUpdate({ shaftCornerRadius: value }), precision: 3, step: 0.005, unit: "m", value: node.shaftCornerRadius ?? 0.035 }))] }))] }), _jsxs(PanelSection, { title: "Dimensions", children: [managedByLeanTo && (_jsx("p", { className: "px-1 pt-1 text-muted-foreground text-xs leading-relaxed", children: "Height and footprint are controlled by the lean-to extension. Rotate or change the support style here; resize from the parent lean-to." })), !isBraceSupport && !managedByLeanTo && (_jsxs("select", { className: SELECT_CLASS, onChange: (event) => {
349
- if (!event.target.value)
350
- return;
351
- handleUpdate(proportionUpdates(node, event.target.value));
352
- }, value: "", children: [_jsx("option", { value: "", children: "Apply proportion..." }), COLUMN_PROPORTION_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value)))] })), !managedByLeanTo && (_jsx(SliderControl, { label: "Height", max: 1000, min: 0.8, onChange: (value) => handleUpdate({ height: value }), precision: 2, step: 0.05, unit: "m", value: node.height })), isBraceSupport ? (_jsxs(_Fragment, { children: [(supportStyle === 'a-frame' ||
353
- supportStyle === 'x-brace' ||
354
- supportStyle === 'k-brace' ||
355
- supportStyle === 'single-strut' ||
356
- supportStyle === 'tripod' ||
357
- supportStyle === 'trestle' ||
358
- supportStyle === 'portal-frame' ||
359
- supportStyle === 'box-frame') && (_jsx(SliderControl, { label: "Bottom Spread", max: 1000, min: 0.2, onChange: (value) => handleUpdate({
360
- braceBottomSpread: value,
361
- braceTopSpread: supportStyle === 'a-frame'
362
- ? Math.min(node.braceTopSpread ?? 0.12, value)
363
- : (node.braceTopSpread ?? 1),
364
- }), precision: 2, step: 0.05, unit: "m", value: node.braceBottomSpread ?? 1.2 })), _jsx(SliderControl, { label: supportStyle === 'y-frame' ? 'Fork Spread' : 'Top Spread', max: supportStyle === 'y-frame' ||
365
- supportStyle === 'v-frame' ||
374
+ const renderDetails = (fields) => fields.map(([field, label, min, max, step]) => (_jsx(SliderControl, { label: i18n._(label), min: min, max: max, step: step, precision: step === 1 ? 0 : 3, unit: field === 'spiralTwist' ? 'turns' : step === 1 ? '' : 'm', value: node[field], onChange: (value) => previewProp({ [field]: value }), onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false }, field)));
375
+ const hasPanels = node.panelCount > 0 || node.style === 'dravidian-carved' || node.shaftDetail === 'panelled';
376
+ const shaftFields = detailFields.filter(([field]) => {
377
+ if (field.startsWith('flute'))
378
+ return node.crossSection === 'round' && (node.fluteCount > 0 || node.shaftDetail === 'fluted');
379
+ if (field.startsWith('spiral'))
380
+ return node.spiralRibCount > 0 || node.shaftDetail === 'spiral';
381
+ if (field.startsWith('panel'))
382
+ return hasPanels;
383
+ if (field === 'latheRingCount')
384
+ return node.latheRingCount > 0 || node.shaftDetail === 'lathe-turned';
385
+ return false;
386
+ });
387
+ const capitalFields = detailFields.filter(([field]) => {
388
+ if (node.capitalStyle === 'none')
389
+ return false;
390
+ if (field.startsWith('volute'))
391
+ return ['volute', 'ionic-volute'].includes(node.capitalStyle);
392
+ if (field.startsWith('leaf'))
393
+ return ['leaf-carved', 'corinthian-leaf'].includes(node.capitalStyle);
394
+ if (field.startsWith('bracket') || field === 'pendantCount')
395
+ return ['south-indian-bracket', 'wood-bracket'].includes(node.capitalStyle);
396
+ return field === 'capitalCarvingLevel' && ['capital', 'all'].includes(node.carvingPlacement);
397
+ });
398
+ const baseFields = detailFields.filter(([field]) => node.baseStyle !== 'none' &&
399
+ ((field === 'baseRibCount' && ['lotus', 'ribbed-lotus'].includes(node.baseStyle)) ||
400
+ (field === 'baseCarvingLevel' && ['base', 'all'].includes(node.carvingPlacement))));
401
+ return (_jsx(PanelWrapper, { icon: scriptImages(node)?.thumbnail ?? '/icons/column.webp', onClose: handleClose, title: node.name || i18n._({ id: 'node.column.panel.column', message: 'Column' }), width: 300, children: _jsxs(ColumnInspectorHover, { nodeId: selectedId, children: [node.role === 'post' ? (_jsx(FramingPostSection, { node: node, onUpdate: handleUpdate })) : node.source ? (_jsx("div", { "data-column-part": "all", children: _jsx(AuthoredParams, { node: node }) })) : (_jsxs(_Fragment, { children: [_jsxs(PanelSection, { part: "all", title: i18n._({ id: 'node.column.panel.shape', message: 'Shape' }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Shape')), children: i18n._({ id: 'node.column.panel.resetShape', message: 'Reset shape' }) }), _jsx(ColumnPresetGallery, { node: node, onPreview: previewPreset, onCancel: cancelPresetPreview, onApply: handleUpdate }), !isBraceSupport && (_jsxs(_Fragment, { children: [_jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({ id: 'node.column.panel.style', message: 'Style' }) }), _jsx("select", { "aria-label": i18n._({
402
+ id: 'node.column.panel.columnStyle',
403
+ message: 'Column style',
404
+ }), className: SELECT_CLASS, value: node.style, onChange: (event) => handleUpdate({ style: ColumnStyle.parse(event.target.value) }), children: ColumnStyle.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) }), _jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({ id: 'node.column.panel.crossSection', message: 'Cross section' }) }), _jsx("select", { "aria-label": i18n._({
405
+ id: 'node.column.panel.crossSection',
406
+ message: 'Cross section',
407
+ }), className: SELECT_CLASS, value: node.crossSection, onChange: (event) => handleUpdate({ crossSection: ColumnCrossSection.parse(event.target.value) }), children: ColumnCrossSection.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
408
+ id: 'node.column.panel.edgeSoftness',
409
+ message: 'Edge Softness',
410
+ }), max: 0.12, min: 0, onChange: (value) => previewProp({ edgeSoftness: value }), precision: 3, step: 0.005, unit: "m", value: node.edgeSoftness ?? 0.025 }), (node.crossSection === 'square' || node.crossSection === 'rectangular') && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
411
+ id: 'node.column.panel.shaftCornerRadius',
412
+ message: 'Shaft Corner Radius',
413
+ }), max: 0.3, min: 0, onChange: (value) => previewProp({ shaftCornerRadius: value }), precision: 3, step: 0.005, unit: "m", value: node.shaftCornerRadius ?? 0.035 }))] }))] }), _jsxs(PanelSection, { part: "all", title: i18n._({ id: 'node.column.panel.size', message: 'Size' }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Size')), children: i18n._({ id: 'node.column.panel.resetSize', message: 'Reset size' }) }), isBraceSupport && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.memberWidth', message: 'Member Width' }), axis: "x", max: 1000, min: 0.04, onChange: (value) => previewProp({ braceWidth: value, width: value }), precision: 2, step: 0.01, unit: "m", value: node.braceWidth ?? node.width }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.memberDepth', message: 'Member Depth' }), axis: "z", max: 1000, min: 0.04, onChange: (value) => previewProp({ braceDepth: value, depth: value }), precision: 2, step: 0.01, unit: "m", value: node.braceDepth ?? node.depth })] })), managedByLeanTo && (_jsx("p", { className: "px-1 pt-1 text-muted-foreground text-xs leading-relaxed", children: i18n._({
414
+ id: 'node.column.panel.heightAndFootprintAreControlledBy',
415
+ message: 'Height and footprint are controlled by the lean-to extension. Rotate or change the support style here; resize from the parent lean-to.',
416
+ }) })), !isBraceSupport && !managedByLeanTo && (_jsxs("select", { "aria-label": i18n._({
417
+ id: 'node.column.panel.columnProportions',
418
+ message: 'Column proportions',
419
+ }), className: SELECT_CLASS, onChange: (event) => {
420
+ if (!event.target.value)
421
+ return;
422
+ handleUpdate(proportionUpdates(node, event.target.value));
423
+ }, value: "", children: [_jsx("option", { value: "", children: i18n._({
424
+ id: 'node.column.panel.applyProportion',
425
+ message: 'Apply proportion...',
426
+ }) }), COLUMN_PROPORTION_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: i18n._(option.label) }, option.value)))] })), !managedByLeanTo && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.height', message: 'Height' }), axis: "y", max: 1000, min: 0.2, onChange: (value) => previewProp({ height: value }), precision: 2, step: 0.05, unit: "m", value: node.height })), isBraceSupport ? (_jsxs(_Fragment, { children: [(supportStyle === 'a-frame' ||
366
427
  supportStyle === 'x-brace' ||
367
428
  supportStyle === 'k-brace' ||
368
429
  supportStyle === 'single-strut' ||
369
430
  supportStyle === 'tripod' ||
370
431
  supportStyle === 'trestle' ||
371
- supportStyle === 'box-frame'
372
- ? 4
373
- : Math.max(0.2, node.braceBottomSpread ?? 1.2), min: 0, onChange: (value) => handleUpdate({ braceTopSpread: value }), precision: 2, step: 0.02, unit: "m", value: node.braceTopSpread ??
374
- (supportStyle === 'y-frame' ||
432
+ supportStyle === 'portal-frame' ||
433
+ supportStyle === 'box-frame') && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, axis: "x", label: spatialFrame || supportStyle === 'portal-frame'
434
+ ? i18n._({ id: 'node.column.panel.widthSpan', message: 'Width Span' })
435
+ : i18n._({
436
+ id: 'node.column.panel.bottomSpread',
437
+ message: 'Bottom Spread',
438
+ }), max: 1000, min: 0.2, onChange: (value) => previewProp({
439
+ braceBottomSpread: value,
440
+ braceTopSpread: supportStyle === 'a-frame'
441
+ ? Math.min(node.braceTopSpread ?? 0.12, value)
442
+ : (node.braceTopSpread ?? 1),
443
+ }), precision: 2, step: 0.05, unit: "m", value: node.braceBottomSpread ?? 1.2 })), supportStyle !== 'portal-frame' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, axis: spatialFrame ? 'z' : 'x', label: spatialFrame
444
+ ? i18n._({ id: 'node.column.panel.depthSpan', message: 'Depth Span' })
445
+ : supportStyle === 'y-frame' || supportStyle === 'v-frame'
446
+ ? i18n._({ id: 'node.column.panel.forkSpread', message: 'Fork Spread' })
447
+ : i18n._({ id: 'node.column.panel.topSpread', message: 'Top Spread' }), max: supportStyle === 'y-frame' ||
375
448
  supportStyle === 'v-frame' ||
376
449
  supportStyle === 'x-brace' ||
377
450
  supportStyle === 'k-brace' ||
378
451
  supportStyle === 'single-strut' ||
379
452
  supportStyle === 'tripod' ||
380
453
  supportStyle === 'trestle' ||
381
- supportStyle === 'portal-frame' ||
382
454
  supportStyle === 'box-frame'
383
- ? 1
384
- : 0.12) }), _jsx(ToggleControl, { checked: node.bracePlateEnabled ?? true, label: "Connector Plates", onChange: (checked) => handleUpdate({ bracePlateEnabled: checked }) })] })) : !managedByLeanTo ? (_jsxs(_Fragment, { children: [_jsx(SliderControl, { label: "Width", max: 1000, min: 0.12, onChange: (value) => handleUpdate({
385
- width: value,
386
- radius: value / 2,
387
- ...(node.crossSection === 'rectangular' ? {} : { depth: value }),
388
- }), precision: 2, step: 0.02, unit: "m", value: node.width }), node.crossSection === 'rectangular' && (_jsx(SliderControl, { label: "Depth", max: 1000, min: 0.12, onChange: (value) => handleUpdate({ depth: value }), precision: 2, step: 0.02, unit: "m", value: node.depth }))] })) : null] }), !isBraceSupport && (_jsxs(PanelSection, { title: "Shaft", children: [_jsxs("select", { className: SELECT_CLASS, onChange: (event) => handleUpdate(shaftProfileUpdates(event.target.value)), value: shaftProfile, children: [_jsx("option", { value: "straight", children: "Straight" }), _jsx("option", { value: "tapered", children: "Tapered" }), _jsx("option", { value: "bulged", children: "Bulged" }), _jsx("option", { value: "hourglass", children: "Hourglass" })] }), shaftProfile === 'straight' && (_jsx(SliderControl, { label: "Shaft Width", max: 1.2, min: 0.3, onChange: (value) => handleUpdate({ shaftStartScale: value, shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.72 })), shaftProfile === 'tapered' && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { label: "Bottom Width", max: 1.2, min: 0.3, onChange: (value) => handleUpdate({ shaftStartScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.82 }), _jsx(SliderControl, { label: "Top Width", max: 1.2, min: 0.3, onChange: (value) => handleUpdate({ shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftEndScale ?? 0.72 }), _jsx(SliderControl, { label: "Taper", max: 0.45, min: 0, onChange: (value) => handleUpdate({ shaftTaper: value }), precision: 2, step: 0.01, value: node.shaftTaper ?? 0.14 })] })), shaftProfile === 'bulged' && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { label: "End Width", max: 1.2, min: 0.3, onChange: (value) => handleUpdate({ shaftStartScale: value, shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.68 }), _jsx(SliderControl, { label: "Bulge", max: 0.35, min: 0, onChange: (value) => handleUpdate({ shaftBulge: value }), precision: 2, step: 0.01, value: node.shaftBulge ?? 0.12 })] })), shaftProfile === 'hourglass' && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { label: "End Width", max: 1.2, min: 0.3, onChange: (value) => handleUpdate({ shaftStartScale: value, shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.84 }), _jsx(SliderControl, { label: "Waist", max: 0.35, min: 0, onChange: (value) => handleUpdate({ shaftBulge: value }), precision: 2, step: 0.01, value: node.shaftBulge ?? 0.12 })] })), _jsx(SliderControl, { label: "Segment Twist", max: 90, min: -90, onChange: (value) => handleUpdate({
389
- shaftTwistStep: value,
390
- ...(Math.abs(value) > 0.001 && (node.shaftSegmentCount ?? 1) < 8
391
- ? { shaftSegmentCount: 12 }
392
- : {}),
393
- }), precision: 0, step: 5, unit: "\u00B0", value: node.shaftTwistStep ?? 0 }), Math.abs(node.shaftTwistStep ?? 0) > 0.001 && (_jsx(SliderControl, { label: "Twist Segments", max: 48, min: 4, onChange: (value) => handleUpdate({ shaftSegmentCount: Math.round(value) }), precision: 0, step: 1, value: node.shaftSegmentCount ?? 12 })), _jsx(SliderControl, { label: "Ring Pairs", max: 4, min: 0, onChange: (value) => handleUpdate({
394
- ringCount: Math.round(value) * 2,
395
- ringPlacement: 'ends',
396
- ringSpread: node.ringSpread ?? 0.16,
397
- ringThickness: node.ringThickness ?? 0.055,
398
- }), precision: 0, step: 1, value: Math.ceil((node.ringCount ?? 0) / 2) }), (node.ringCount ?? 0) > 0 && (_jsx(SliderControl, { label: "Ring Thickness", max: 0.14, min: 0.01, onChange: (value) => handleUpdate({ ringThickness: value }), precision: 3, step: 0.005, unit: "m", value: node.ringThickness ?? 0.055 })), (node.ringCount ?? 0) > 0 && (_jsx(SliderControl, { label: "Ring Spread", max: 0.45, min: 0.04, onChange: (value) => handleUpdate({ ringSpread: value, ringPlacement: 'ends' }), precision: 2, step: 0.01, value: node.ringSpread ?? 0.16 }))] })), !isBraceSupport && (_jsxs(PanelSection, { title: "Ends", children: [_jsxs("select", { className: SELECT_CLASS, onChange: (event) => {
399
- const capitalStyle = event.target.value;
400
- handleUpdate({
401
- capitalStyle,
402
- ...(capitalStyle === 'none'
403
- ? {}
404
- : {
405
- capitalHeight: Math.max(node.capitalHeight, 0.12),
406
- capitalTierCount: capitalStyle === 'stepped'
407
- ? Math.max(node.capitalTierCount ?? 3, 3)
408
- : node.capitalTierCount,
409
- capitalWidthScale: Math.max(node.capitalWidthScale ?? 1.3, capitalStyle === 'stepped' ? 1.42 : 1.28),
410
- capitalDepthScale: Math.max(node.capitalDepthScale ?? 1.3, capitalStyle === 'stepped' ? 1.42 : 1.28),
411
- capitalStepSpread: capitalStyle === 'stepped'
412
- ? Math.max(node.capitalStepSpread ?? 0.34, 0.34)
413
- : node.capitalStepSpread,
414
- }),
415
- });
416
- }, value: node.capitalStyle === 'simple-slab' ? 'simple' : (node.capitalStyle ?? 'simple'), children: [_jsx("option", { value: "none", children: "No Top" }), _jsx("option", { value: "simple", children: "Simple Top" }), _jsx("option", { value: "stepped", children: "Stepped Top" }), _jsx("option", { value: "rounded", children: "Rounded Top" })] }), node.capitalStyle !== 'none' && (_jsx(SliderControl, { label: "Top Height", max: 0.8, min: 0.06, onChange: (value) => handleUpdate({ capitalHeight: value }), precision: 2, step: 0.02, unit: "m", value: node.capitalHeight })), node.capitalStyle !== 'none' && (_jsx(SliderControl, { label: "Top Width", max: 2.4, min: 0.6, onChange: (value) => handleUpdate({
417
- capitalWidthScale: value,
418
- ...(node.crossSection === 'rectangular' ? {} : { capitalDepthScale: value }),
419
- }), precision: 2, step: 0.02, value: node.capitalWidthScale ?? 1.28 })), node.capitalStyle !== 'none' && node.crossSection === 'rectangular' && (_jsx(SliderControl, { label: "Top Depth", max: 2.4, min: 0.6, onChange: (value) => handleUpdate({ capitalDepthScale: value }), precision: 2, step: 0.02, value: node.capitalDepthScale ?? node.capitalWidthScale ?? 1.28 })), node.capitalStyle === 'stepped' && (_jsx(SliderControl, { label: "Top Tiers", max: 8, min: 3, onChange: (value) => handleUpdate({ capitalTierCount: Math.round(value) }), precision: 0, step: 1, value: node.capitalTierCount ?? 3 })), node.capitalStyle === 'stepped' && (_jsx(SliderControl, { label: "Top Step Spread", max: 0.9, min: 0.05, onChange: (value) => handleUpdate({ capitalStepSpread: value }), precision: 2, step: 0.01, value: node.capitalStepSpread ?? 0.34 })), _jsxs("select", { className: `${SELECT_CLASS} mt-2`, onChange: (event) => {
420
- const baseStyle = event.target.value;
421
- handleUpdate({
422
- baseStyle,
423
- ...(baseStyle === 'none'
424
- ? {}
425
- : {
426
- baseHeight: Math.max(node.baseHeight, 0.12),
427
- baseTierCount: baseStyle === 'stepped-square'
428
- ? Math.max(node.baseTierCount ?? 3, 3)
429
- : node.baseTierCount,
430
- baseWidthScale: Math.max(node.baseWidthScale ?? 1.24, baseStyle === 'stepped-square' ? 1.42 : 1.24),
431
- baseDepthScale: Math.max(node.baseDepthScale ?? 1.24, baseStyle === 'stepped-square' ? 1.42 : 1.24),
432
- baseStepSpread: baseStyle === 'stepped-square'
433
- ? Math.max(node.baseStepSpread ?? 0.34, 0.34)
434
- : node.baseStepSpread,
435
- basePlinthHeightRatio: baseStyle === 'round-rings'
436
- ? (node.basePlinthHeightRatio ?? 0.44)
437
- : node.basePlinthHeightRatio,
438
- baseRoundBandScale: baseStyle === 'round-rings'
439
- ? (node.baseRoundBandScale ?? 0.92)
440
- : node.baseRoundBandScale,
441
- baseNeckScale: baseStyle === 'round-rings'
442
- ? (node.baseNeckScale ?? 0.72)
443
- : node.baseNeckScale,
444
- }),
445
- });
446
- }, value: node.baseStyle ?? 'square-plinth', children: [_jsx("option", { value: "none", children: "No Bottom" }), _jsx("option", { value: "simple-square", children: "Simple Block Bottom" }), _jsx("option", { value: "square-plinth", children: "Square Plinth Bottom" }), _jsx("option", { value: "stepped-square", children: "Stepped Bottom" }), _jsx("option", { value: "round-rings", children: "Rounded Bottom" })] }), node.baseStyle !== 'none' && (_jsx(SliderControl, { label: "Bottom Height", max: 0.8, min: 0.06, onChange: (value) => handleUpdate({ baseHeight: value }), precision: 2, step: 0.02, unit: "m", value: node.baseHeight })), node.baseStyle !== 'none' && (_jsx(SliderControl, { label: "Bottom Width", max: 2.4, min: 0.6, onChange: (value) => handleUpdate({
447
- baseWidthScale: value,
448
- ...(node.crossSection === 'rectangular' ? {} : { baseDepthScale: value }),
449
- }), precision: 2, step: 0.02, value: node.baseWidthScale ?? 1.24 })), node.baseStyle !== 'none' && node.crossSection === 'rectangular' && (_jsx(SliderControl, { label: "Bottom Depth", max: 2.4, min: 0.6, onChange: (value) => handleUpdate({ baseDepthScale: value }), precision: 2, step: 0.02, value: node.baseDepthScale ?? node.baseWidthScale ?? 1.24 })), node.baseStyle === 'round-rings' && (_jsx(SliderControl, { label: "Plinth Thickness", max: 0.7, min: 0.2, onChange: (value) => handleUpdate({ basePlinthHeightRatio: value }), precision: 2, step: 0.01, value: node.basePlinthHeightRatio ?? 0.44 })), node.baseStyle === 'round-rings' && (_jsx(SliderControl, { label: "Round Band Width", max: 1.2, min: 0.5, onChange: (value) => handleUpdate({ baseRoundBandScale: value }), precision: 2, step: 0.01, value: node.baseRoundBandScale ?? 0.92 })), node.baseStyle === 'round-rings' && (_jsx(SliderControl, { label: "Neck Width", max: 1, min: 0.35, onChange: (value) => handleUpdate({ baseNeckScale: value }), precision: 2, step: 0.01, value: node.baseNeckScale ?? 0.72 })), node.baseStyle === 'stepped-square' && (_jsx(SliderControl, { label: "Bottom Tiers", max: 8, min: 3, onChange: (value) => handleUpdate({ baseTierCount: Math.round(value) }), precision: 0, step: 1, value: node.baseTierCount ?? 3 })), node.baseStyle === 'stepped-square' && (_jsx(SliderControl, { label: "Bottom Step Spread", max: 0.9, min: 0.05, onChange: (value) => handleUpdate({ baseStepSpread: value }), precision: 2, step: 0.01, value: node.baseStepSpread ?? 0.34 }))] }))] })), _jsx(PanelSection, { title: "Transform", children: _jsx(SliderControl, { label: "Yaw", max: 180, min: -180, onChange: (value) => handleUpdate({ rotation: (value * Math.PI) / 180 }), precision: 0, step: 1, unit: "\u00B0", value: Math.round((node.rotation * 180) / Math.PI) }) }), _jsx(PanelSection, { title: "Actions", children: _jsxs(ActionGroup, { children: [_jsx(ActionButton, { icon: _jsx(Move, { className: "h-4 w-4" }), label: "Move", onClick: handleMove }), _jsx(ActionButton, { className: "border-red-500/40 text-red-700 dark:text-red-200 hover:bg-red-500/15", icon: _jsx(Trash2, { className: "h-4 w-4" }), label: "Delete", onClick: handleDelete })] }) })] }));
455
+ ? 1000
456
+ : Math.max(0.2, node.braceBottomSpread ?? 1.2), min: 0, onChange: (value) => previewProp({ braceTopSpread: value }), precision: 2, step: 0.02, unit: "m", value: node.braceTopSpread ??
457
+ (supportStyle === 'y-frame' ||
458
+ supportStyle === 'v-frame' ||
459
+ supportStyle === 'x-brace' ||
460
+ supportStyle === 'k-brace' ||
461
+ supportStyle === 'single-strut' ||
462
+ supportStyle === 'tripod' ||
463
+ supportStyle === 'trestle' ||
464
+ supportStyle === 'box-frame'
465
+ ? 1
466
+ : 0.12) })), _jsx(ToggleControl, { checked: node.bracePlateEnabled ?? true, label: i18n._({
467
+ id: 'node.column.panel.connectorPlates',
468
+ message: 'Connector Plates',
469
+ }), onChange: (checked) => handleUpdate({ bracePlateEnabled: checked }) })] })) : !managedByLeanTo ? (_jsxs(_Fragment, { children: [_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: radialSection
470
+ ? i18n._({ id: 'node.column.panel.diameter', message: 'Diameter' })
471
+ : i18n._({ id: 'node.column.panel.width', message: 'Width' }), axis: "x", max: 1000, min: 0.1, onChange: (value) => previewProp({
472
+ width: value,
473
+ radius: value / 2,
474
+ ...(node.crossSection === 'rectangular' ? {} : { depth: value }),
475
+ }), precision: 2, step: 0.02, unit: "m", value: radialSection ? node.radius * 2 : node.width }), node.crossSection === 'rectangular' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.depth', message: 'Depth' }), axis: "z", max: 1000, min: 0.1, onChange: (value) => previewProp({ depth: value }), precision: 2, step: 0.02, unit: "m", value: node.depth }))] })) : null] }), !isBraceSupport && node.style !== 'cluster' && (_jsxs(PanelSection, { part: "shaft", title: i18n._({ id: 'node.column.panel.profile', message: 'Profile' }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Profile')), children: i18n._({ id: 'node.column.panel.resetProfile', message: 'Reset profile' }) }), _jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({
476
+ id: 'node.column.panel.scalesMultiplyTheDimensionsInSize',
477
+ message: 'Scales multiply the dimensions in Size. A ratio of 0.2 means 20%.',
478
+ }) }), _jsx("select", { "aria-label": i18n._({
479
+ id: 'node.column.panel.shaftProfile',
480
+ message: 'Shaft profile',
481
+ }), className: SELECT_CLASS, onChange: (event) => handleUpdate(shaftProfileUpdates(event.target.value)), value: shaftProfile, children: ColumnShaftProfile.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) }), shaftProfile === 'straight' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.shaftScale', message: 'Shaft Scale' }), unit: "\u00D7", max: 2, min: 0.2, onChange: (value) => previewProp({ shaftStartScale: value, shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.72 })), shaftProfile === 'tapered' && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
482
+ id: 'node.column.panel.bottomScale',
483
+ message: 'Bottom Scale',
484
+ }), unit: "\u00D7", max: 2, min: 0.2, onChange: (value) => previewProp({ shaftStartScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.82 }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.topScale', message: 'Top Scale' }), unit: "\u00D7", max: 2, min: 0.2, onChange: (value) => previewProp({ shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftEndScale ?? 0.72 }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.taperRatio', message: 'Taper Ratio' }), max: 0.85, min: 0, onChange: (value) => previewProp({ shaftTaper: value }), precision: 2, step: 0.01, value: node.shaftTaper ?? 0.14 })] })), (shaftProfile === 'bulged' || shaftProfile === 'baluster') && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.endScale', message: 'End Scale' }), unit: "\u00D7", max: 2, min: 0.2, onChange: (value) => previewProp({ shaftStartScale: value, shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.68 }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.bulgeRatio', message: 'Bulge Ratio' }), max: 0.8, min: -0.5, onChange: (value) => previewProp({ shaftBulge: value }), precision: 2, step: 0.01, value: node.shaftBulge ?? 0.12 })] })), shaftProfile === 'hourglass' && (_jsxs(_Fragment, { children: [_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.endScale', message: 'End Scale' }), unit: "\u00D7", max: 2, min: 0.2, onChange: (value) => previewProp({ shaftStartScale: value, shaftEndScale: value }), precision: 2, step: 0.02, value: node.shaftStartScale ?? 0.84 }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
485
+ id: 'node.column.panel.waistReductionRatio',
486
+ message: 'Waist Reduction Ratio',
487
+ }), max: 0.8, min: -0.5, onChange: (value) => previewProp({ shaftBulge: value }), precision: 2, step: 0.01, value: node.shaftBulge ?? 0.12 })] })), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
488
+ id: 'node.column.panel.twistPerSegment',
489
+ message: 'Twist per Segment',
490
+ }), max: 90, min: -90, onChange: (value) => previewProp({
491
+ shaftTwistStep: value,
492
+ ...(Math.abs(value) > 0.001 && (node.shaftSegmentCount ?? 1) < 8
493
+ ? { shaftSegmentCount: 12 }
494
+ : {}),
495
+ }), precision: 0, step: 5, unit: "\u00B0", value: node.shaftTwistStep ?? 0 }), Math.abs(node.shaftTwistStep ?? 0) > 0.001 && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
496
+ id: 'node.column.panel.twistSegments',
497
+ message: 'Twist Segments',
498
+ }), max: 64, min: 4, onChange: (value) => previewProp({ shaftSegmentCount: Math.round(value) }), precision: 0, step: 1, value: node.shaftSegmentCount ?? 12 }))] })), !isBraceSupport && (_jsxs(_Fragment, { children: [_jsxs(PanelSection, { part: "base", title: i18n._({ id: 'node.column.panel.base', message: 'Base' }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Base')), children: i18n._({ id: 'node.column.panel.resetBase', message: 'Reset base' }) }), _jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({
499
+ id: 'node.column.panel.widthAndDepthScalesUseSize',
500
+ message: 'Width and depth scales use Size. Band and neck scales use the base footprint.',
501
+ }) }), _jsx("select", { "aria-label": i18n._({
502
+ id: 'node.column.panel.baseStyle',
503
+ message: 'Base style',
504
+ }), className: `${SELECT_CLASS} mt-2`, onChange: (event) => {
505
+ const baseStyle = event.target.value;
506
+ handleUpdate({
507
+ baseStyle,
508
+ ...(baseStyle === 'none'
509
+ ? {}
510
+ : {
511
+ baseHeight: Math.max(node.baseHeight, 0.12),
512
+ baseTierCount: baseStyle === 'stepped-square'
513
+ ? Math.max(node.baseTierCount ?? 3, 3)
514
+ : node.baseTierCount,
515
+ baseWidthScale: Math.max(node.baseWidthScale ?? 1.24, baseStyle === 'stepped-square' ? 1.42 : 1.24),
516
+ baseDepthScale: Math.max(node.baseDepthScale ?? 1.24, baseStyle === 'stepped-square' ? 1.42 : 1.24),
517
+ baseStepSpread: baseStyle === 'stepped-square'
518
+ ? Math.max(node.baseStepSpread ?? 0.34, 0.34)
519
+ : node.baseStepSpread,
520
+ basePlinthHeightRatio: baseStyle === 'round-rings'
521
+ ? (node.basePlinthHeightRatio ?? 0.44)
522
+ : node.basePlinthHeightRatio,
523
+ baseRoundBandScale: baseStyle === 'round-rings'
524
+ ? (node.baseRoundBandScale ?? 0.92)
525
+ : node.baseRoundBandScale,
526
+ baseNeckScale: baseStyle === 'round-rings'
527
+ ? (node.baseNeckScale ?? 0.72)
528
+ : node.baseNeckScale,
529
+ }),
530
+ });
531
+ }, value: node.baseStyle ?? 'square-plinth', children: ColumnBaseStyle.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) }), node.baseStyle !== 'none' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.baseHeight', message: 'Base Height' }), axis: "y", max: node.height * 0.4, min: 0, onChange: (value) => previewProp({ baseHeight: value }), precision: 2, step: 0.02, unit: "m", value: node.baseHeight })), node.baseStyle !== 'none' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.widthScale', message: 'Width Scale' }), axis: "x", unit: "\u00D7", max: 3, min: 0.4, onChange: (value) => previewProp({
532
+ baseWidthScale: value,
533
+ ...(node.crossSection === 'rectangular' ? {} : { baseDepthScale: value }),
534
+ }), precision: 2, step: 0.02, value: node.baseWidthScale ?? 1.24 })), node.baseStyle !== 'none' && node.crossSection === 'rectangular' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.depthScale', message: 'Depth Scale' }), axis: "z", unit: "\u00D7", max: 3, min: 0.4, onChange: (value) => previewProp({ baseDepthScale: value }), precision: 2, step: 0.02, value: node.baseDepthScale ?? node.baseWidthScale ?? 1.24 })), node.baseStyle === 'round-rings' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
535
+ id: 'node.column.panel.plinthHeightFraction',
536
+ message: 'Plinth Height Fraction',
537
+ }), max: 0.7, min: 0.2, onChange: (value) => previewProp({ basePlinthHeightRatio: value }), precision: 2, step: 0.01, value: node.basePlinthHeightRatio ?? 0.44 })), node.baseStyle === 'round-rings' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.bandScale', message: 'Band Scale' }), unit: "\u00D7", max: 1.2, min: 0.5, onChange: (value) => previewProp({ baseRoundBandScale: value }), precision: 2, step: 0.01, value: node.baseRoundBandScale ?? 0.92 })), node.baseStyle === 'round-rings' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.neckScale', message: 'Neck Scale' }), unit: "\u00D7", max: 1, min: 0.35, onChange: (value) => previewProp({ baseNeckScale: value }), precision: 2, step: 0.01, value: node.baseNeckScale ?? 0.72 })), node.baseStyle === 'stepped-square' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.tierCount', message: 'Tier Count' }), max: 8, min: 3, onChange: (value) => previewProp({ baseTierCount: Math.round(value) }), precision: 0, step: 1, value: node.baseTierCount ?? 3 })), node.baseStyle === 'stepped-square' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
538
+ id: 'node.column.panel.stepScaleReduction',
539
+ message: 'Step Scale Reduction',
540
+ }), unit: "\u00D7", max: 0.9, min: 0.05, onChange: (value) => previewProp({ baseStepSpread: value }), precision: 2, step: 0.01, value: node.baseStepSpread ?? 0.34 })), renderDetails(baseFields)] }), _jsxs(PanelSection, { part: "capital", title: i18n._({ id: 'node.column.panel.capital', message: 'Capital' }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Capital')), children: i18n._({ id: 'node.column.panel.resetCapital', message: 'Reset capital' }) }), _jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({
541
+ id: 'node.column.panel.widthAndDepthScalesMultiplyThe',
542
+ message: 'Width and depth scales multiply the dimensions in Size.',
543
+ }) }), _jsx("select", { "aria-label": i18n._({
544
+ id: 'node.column.panel.capitalStyle',
545
+ message: 'Capital style',
546
+ }), className: SELECT_CLASS, onChange: (event) => {
547
+ const capitalStyle = event.target.value;
548
+ handleUpdate({
549
+ capitalStyle,
550
+ ...(capitalStyle === 'none'
551
+ ? {}
552
+ : {
553
+ capitalHeight: Math.max(node.capitalHeight, 0.12),
554
+ capitalTierCount: capitalStyle === 'stepped'
555
+ ? Math.max(node.capitalTierCount ?? 3, 3)
556
+ : node.capitalTierCount,
557
+ capitalWidthScale: Math.max(node.capitalWidthScale ?? 1.3, capitalStyle === 'stepped' ? 1.42 : 1.28),
558
+ capitalDepthScale: Math.max(node.capitalDepthScale ?? 1.3, capitalStyle === 'stepped' ? 1.42 : 1.28),
559
+ capitalStepSpread: capitalStyle === 'stepped'
560
+ ? Math.max(node.capitalStepSpread ?? 0.34, 0.34)
561
+ : node.capitalStepSpread,
562
+ }),
563
+ });
564
+ }, value: node.capitalStyle, children: ColumnCapitalStyle.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) }), node.capitalStyle !== 'none' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
565
+ id: 'node.column.panel.capitalHeight',
566
+ message: 'Capital Height',
567
+ }), axis: "y", max: node.height * 0.4, min: 0, onChange: (value) => previewProp({ capitalHeight: value }), precision: 2, step: 0.02, unit: "m", value: node.capitalHeight })), node.capitalStyle !== 'none' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.widthScale', message: 'Width Scale' }), axis: "x", unit: "\u00D7", max: 3, min: 0.4, onChange: (value) => previewProp({
568
+ capitalWidthScale: value,
569
+ ...(node.crossSection === 'rectangular'
570
+ ? {}
571
+ : { capitalDepthScale: value }),
572
+ }), precision: 2, step: 0.02, value: node.capitalWidthScale ?? 1.28 })), node.capitalStyle !== 'none' && node.crossSection === 'rectangular' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.depthScale', message: 'Depth Scale' }), axis: "z", unit: "\u00D7", max: 3, min: 0.4, onChange: (value) => previewProp({ capitalDepthScale: value }), precision: 2, step: 0.02, value: node.capitalDepthScale ?? node.capitalWidthScale ?? 1.28 })), node.capitalStyle === 'stepped' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.tierCount', message: 'Tier Count' }), max: 8, min: 3, onChange: (value) => previewProp({ capitalTierCount: Math.round(value) }), precision: 0, step: 1, value: node.capitalTierCount ?? 3 })), node.capitalStyle === 'stepped' && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
573
+ id: 'node.column.panel.stepScaleReduction',
574
+ message: 'Step Scale Reduction',
575
+ }), unit: "\u00D7", max: 0.9, min: 0.05, onChange: (value) => previewProp({ capitalStepSpread: value }), precision: 2, step: 0.01, value: node.capitalStepSpread ?? 0.34 })), renderDetails(capitalFields)] })] })), !isBraceSupport && (_jsxs(PanelSection, { part: "shaft", title: i18n._({
576
+ id: 'node.column.panel.surfaceDetails',
577
+ message: 'Surface Details',
578
+ }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Surface Details')), children: i18n._({
579
+ id: 'node.column.panel.resetSurfaceDetails',
580
+ message: 'Reset surface details',
581
+ }) }), _jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({ id: 'node.column.panel.shaftDetail', message: 'Shaft detail' }) }), _jsx("select", { "aria-label": i18n._({
582
+ id: 'node.column.panel.shaftDetail',
583
+ message: 'Shaft detail',
584
+ }), className: SELECT_CLASS, value: node.shaftDetail, onChange: (event) => handleUpdate({ shaftDetail: ColumnShaftDetail.parse(event.target.value) }), children: ColumnShaftDetail.options.map((value) => (_jsx("option", { value: value, disabled: value === 'fluted' && node.crossSection !== 'round', children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) }), hasPanels && (_jsxs(_Fragment, { children: [_jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({ id: 'node.column.panel.panelShape', message: 'Panel shape' }) }), _jsx("select", { "aria-label": i18n._({
585
+ id: 'node.column.panel.panelShape',
586
+ message: 'Panel shape',
587
+ }), className: SELECT_CLASS, value: node.panelShape, onChange: (event) => handleUpdate({ panelShape: ColumnPanelShape.parse(event.target.value) }), children: ColumnPanelShape.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) })] })), renderDetails(shaftFields), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.ringPairs', message: 'Ring Pairs' }), max: 8, min: 0, onChange: (value) => previewProp({
588
+ ringCount: Math.round(value) * 2,
589
+ ringPlacement: 'ends',
590
+ ringSpread: node.ringSpread ?? 0.16,
591
+ ringThickness: node.ringThickness ?? 0.055,
592
+ }), precision: 0, step: 1, value: Math.ceil((node.ringCount ?? 0) / 2) }), (node.ringCount ?? 0) > 0 && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
593
+ id: 'node.column.panel.ringThickness',
594
+ message: 'Ring Thickness',
595
+ }), max: 0.14, min: 0.01, onChange: (value) => previewProp({ ringThickness: value }), precision: 3, step: 0.005, unit: "m", value: node.ringThickness ?? 0.055 })), (node.ringCount ?? 0) > 0 && (_jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({
596
+ id: 'node.column.panel.ringSpreadRatio',
597
+ message: 'Ring Spread Ratio',
598
+ }), max: 0.45, min: 0.04, onChange: (value) => previewProp({ ringSpread: value, ringPlacement: 'ends' }), precision: 2, step: 0.01, value: node.ringSpread ?? 0.16 })), (node.baseStyle !== 'none' || node.capitalStyle !== 'none') && (_jsxs(_Fragment, { children: [_jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({
599
+ id: 'node.column.panel.carvingPlacement',
600
+ message: 'Carving placement',
601
+ }) }), _jsx("select", { "aria-label": i18n._({
602
+ id: 'node.column.panel.carvingPlacement',
603
+ message: 'Carving placement',
604
+ }), className: SELECT_CLASS, value: node.carvingPlacement, onChange: (event) => handleUpdate({
605
+ carvingPlacement: ColumnCarvingPlacement.parse(event.target.value),
606
+ }), children: ColumnCarvingPlacement.options.map((value) => (_jsx("option", { value: value, children: i18n._(COLUMN_OPTION_LABELS[value]) }, value))) })] }))] }))] })), _jsxs(PanelSection, { title: i18n._({ id: 'node.column.panel.materials', message: 'Materials' }), defaultExpanded: false, children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Materials')), children: i18n._({ id: 'node.column.panel.resetMaterials', message: 'Reset materials' }) }), _jsx("p", { className: "text-xs text-muted-foreground", children: i18n._({
607
+ id: 'node.column.panel.chooseAMaterialThenClickThe',
608
+ message: 'Choose a material, then click the surface to paint.',
609
+ }) }), _jsx("div", { className: "flex flex-wrap gap-1", children: (node.source
610
+ ? ['all']
611
+ : isBraceSupport
612
+ ? ['frame']
613
+ : [
614
+ 'shaft',
615
+ ...(node.baseStyle !== 'none' ? ['base'] : []),
616
+ ...(node.capitalStyle !== 'none' ? ['capital'] : []),
617
+ ]).map((part) => (_jsx("button", { type: "button", "data-column-part": part, className: "rounded border border-border px-2 py-1 text-xs", onClick: () => {
618
+ cancelPreview();
619
+ armMaterialPaint(undefined, 'surface');
620
+ }, children: part === 'all'
621
+ ? i18n._({ id: 'node.column.panel.entireObject', message: 'Entire Object' })
622
+ : i18n._(COLUMN_OPTION_LABELS[part]) }, part))) }), _jsx(ActionButton, { icon: _jsx(PaintBucket, { className: "h-4 w-4" }), label: i18n._({ id: 'node.column.panel.paintMaterials', message: 'Paint Materials' }), onClick: () => {
623
+ cancelPreview();
624
+ armMaterialPaint(undefined, 'surface');
625
+ } })] }), _jsxs(PanelSection, { part: "all", title: i18n._({ id: 'node.column.panel.transform', message: 'Transform' }), children: [_jsx("button", { type: "button", className: "self-end text-xs text-muted-foreground hover:text-foreground", onClick: () => handleUpdate(columnSectionReset('Transform')), children: i18n._({ id: 'node.column.panel.resetTransform', message: 'Reset transform' }) }), _jsx(SliderControl, { onCommit: commitPreview, onCancel: cancelPreview, restoreOnCommit: false, label: i18n._({ id: 'node.column.panel.rotation', message: 'Rotation' }), max: 180, min: -180, onChange: (value) => previewProp({ rotation: (value * Math.PI) / 180 }), precision: 0, step: 1, unit: "\u00B0", value: Math.round((node.rotation * 180) / Math.PI) })] }), _jsx(PanelSection, { title: i18n._({ id: 'node.column.panel.actions', message: 'Actions' }), children: _jsxs(ActionGroup, { children: [!managedByLeanTo && (_jsx(ActionButton, { icon: _jsx(Move, { className: "h-4 w-4" }), label: i18n._({ id: 'node.column.panel.move', message: 'Move' }), onClick: handleMove })), _jsx(ActionButton, { className: "border-red-500/40 text-red-700 dark:text-red-200 hover:bg-red-500/15", icon: _jsx(Trash2, { className: "h-4 w-4" }), label: i18n._({ id: 'node.column.panel.delete', message: 'Delete' }), onClick: handleDelete })] }) })] }) }));
450
626
  }