@vscada/primitives 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/annotation/index.d.ts +9 -0
  3. package/dist/annotation/index.d.ts.map +1 -0
  4. package/dist/annotation/off-page/index.d.ts +3 -0
  5. package/dist/annotation/off-page/index.d.ts.map +1 -0
  6. package/dist/annotation/off-page/off-page.stories.d.ts +7 -0
  7. package/dist/annotation/off-page/off-page.stories.d.ts.map +1 -0
  8. package/dist/annotation/story-kit.d.ts +28 -0
  9. package/dist/annotation/story-kit.d.ts.map +1 -0
  10. package/dist/annotation.js +44 -0
  11. package/dist/base-CByO_2mM.js +87 -0
  12. package/dist/bevel-DnmDNvyc.js +14 -0
  13. package/dist/chrome/bevel.d.ts +21 -0
  14. package/dist/chrome/bevel.d.ts.map +1 -0
  15. package/dist/controls/index.d.ts +4 -0
  16. package/dist/controls/index.d.ts.map +1 -0
  17. package/dist/controls/motor-starter-panel/index.d.ts +4 -0
  18. package/dist/controls/motor-starter-panel/index.d.ts.map +1 -0
  19. package/dist/controls/motor-starter-panel/motor-starter-panel.stories.d.ts +10 -0
  20. package/dist/controls/motor-starter-panel/motor-starter-panel.stories.d.ts.map +1 -0
  21. package/dist/controls/pushbutton/index.d.ts +4 -0
  22. package/dist/controls/pushbutton/index.d.ts.map +1 -0
  23. package/dist/controls/pushbutton/pushbutton.stories.d.ts +7 -0
  24. package/dist/controls/pushbutton/pushbutton.stories.d.ts.map +1 -0
  25. package/dist/controls/selector-switch/index.d.ts +4 -0
  26. package/dist/controls/selector-switch/index.d.ts.map +1 -0
  27. package/dist/controls/selector-switch/selector-switch.stories.d.ts +8 -0
  28. package/dist/controls/selector-switch/selector-switch.stories.d.ts.map +1 -0
  29. package/dist/controls/story-kit.d.ts +31 -0
  30. package/dist/controls/story-kit.d.ts.map +1 -0
  31. package/dist/controls.js +149 -0
  32. package/dist/conveyance/conveyor/conveyor.stories.d.ts +9 -0
  33. package/dist/conveyance/conveyor/conveyor.stories.d.ts.map +1 -0
  34. package/dist/conveyance/conveyor/index.d.ts +4 -0
  35. package/dist/conveyance/conveyor/index.d.ts.map +1 -0
  36. package/dist/conveyance/duct/duct.stories.d.ts +7 -0
  37. package/dist/conveyance/duct/duct.stories.d.ts.map +1 -0
  38. package/dist/conveyance/duct/index.d.ts +4 -0
  39. package/dist/conveyance/duct/index.d.ts.map +1 -0
  40. package/dist/conveyance/index.d.ts +5 -0
  41. package/dist/conveyance/index.d.ts.map +1 -0
  42. package/dist/conveyance/pipe/dash.d.ts +28 -0
  43. package/dist/conveyance/pipe/dash.d.ts.map +1 -0
  44. package/dist/conveyance/pipe/flange.d.ts +9 -0
  45. package/dist/conveyance/pipe/flange.d.ts.map +1 -0
  46. package/dist/conveyance/pipe/index.d.ts +3 -0
  47. package/dist/conveyance/pipe/index.d.ts.map +1 -0
  48. package/dist/conveyance/pipe/wave.d.ts +29 -0
  49. package/dist/conveyance/pipe/wave.d.ts.map +1 -0
  50. package/dist/conveyance/screw-feeder/index.d.ts +4 -0
  51. package/dist/conveyance/screw-feeder/index.d.ts.map +1 -0
  52. package/dist/conveyance/screw-feeder/screw-feeder.stories.d.ts +7 -0
  53. package/dist/conveyance/screw-feeder/screw-feeder.stories.d.ts.map +1 -0
  54. package/dist/conveyance/story-kit.d.ts +28 -0
  55. package/dist/conveyance/story-kit.d.ts.map +1 -0
  56. package/dist/conveyance.js +345 -0
  57. package/dist/electrical/base.d.ts +54 -0
  58. package/dist/electrical/base.d.ts.map +1 -0
  59. package/dist/electrical/breaker/breaker.stories.d.ts +9 -0
  60. package/dist/electrical/breaker/breaker.stories.d.ts.map +1 -0
  61. package/dist/electrical/breaker/index.d.ts +4 -0
  62. package/dist/electrical/breaker/index.d.ts.map +1 -0
  63. package/dist/electrical/busbar/busbar.stories.d.ts +8 -0
  64. package/dist/electrical/busbar/busbar.stories.d.ts.map +1 -0
  65. package/dist/electrical/busbar/index.d.ts +4 -0
  66. package/dist/electrical/busbar/index.d.ts.map +1 -0
  67. package/dist/electrical/generator/generator.stories.d.ts +9 -0
  68. package/dist/electrical/generator/generator.stories.d.ts.map +1 -0
  69. package/dist/electrical/generator/index.d.ts +4 -0
  70. package/dist/electrical/generator/index.d.ts.map +1 -0
  71. package/dist/electrical/index.d.ts +4 -0
  72. package/dist/electrical/index.d.ts.map +1 -0
  73. package/dist/electrical/single-line.stories.d.ts +15 -0
  74. package/dist/electrical/single-line.stories.d.ts.map +1 -0
  75. package/dist/electrical/story-kit.d.ts +34 -0
  76. package/dist/electrical/story-kit.d.ts.map +1 -0
  77. package/dist/electrical/transformer/index.d.ts +4 -0
  78. package/dist/electrical/transformer/index.d.ts.map +1 -0
  79. package/dist/electrical/transformer/transformer.stories.d.ts +8 -0
  80. package/dist/electrical/transformer/transformer.stories.d.ts.map +1 -0
  81. package/dist/electrical.js +214 -0
  82. package/dist/filtration/bag-filter/bag-filter.stories.d.ts +6 -0
  83. package/dist/filtration/bag-filter/bag-filter.stories.d.ts.map +1 -0
  84. package/dist/filtration/bag-filter/index.d.ts +3 -0
  85. package/dist/filtration/bag-filter/index.d.ts.map +1 -0
  86. package/dist/filtration/base.d.ts +25 -0
  87. package/dist/filtration/base.d.ts.map +1 -0
  88. package/dist/filtration/cyclone/cyclone.stories.d.ts +6 -0
  89. package/dist/filtration/cyclone/cyclone.stories.d.ts.map +1 -0
  90. package/dist/filtration/cyclone/index.d.ts +3 -0
  91. package/dist/filtration/cyclone/index.d.ts.map +1 -0
  92. package/dist/filtration/index.d.ts +9 -0
  93. package/dist/filtration/index.d.ts.map +1 -0
  94. package/dist/filtration/scrubber/index.d.ts +3 -0
  95. package/dist/filtration/scrubber/index.d.ts.map +1 -0
  96. package/dist/filtration/scrubber/scrubber.stories.d.ts +6 -0
  97. package/dist/filtration/scrubber/scrubber.stories.d.ts.map +1 -0
  98. package/dist/filtration/stack/index.d.ts +3 -0
  99. package/dist/filtration/stack/index.d.ts.map +1 -0
  100. package/dist/filtration/stack/stack.stories.d.ts +6 -0
  101. package/dist/filtration/stack/stack.stories.d.ts.map +1 -0
  102. package/dist/filtration/story-kit.d.ts +27 -0
  103. package/dist/filtration/story-kit.d.ts.map +1 -0
  104. package/dist/filtration.js +163 -0
  105. package/dist/gradients/pipe-gradient.d.ts +35 -0
  106. package/dist/gradients/pipe-gradient.d.ts.map +1 -0
  107. package/dist/heat/base.d.ts +28 -0
  108. package/dist/heat/base.d.ts.map +1 -0
  109. package/dist/heat/boiler/boiler.stories.d.ts +8 -0
  110. package/dist/heat/boiler/boiler.stories.d.ts.map +1 -0
  111. package/dist/heat/boiler/index.d.ts +3 -0
  112. package/dist/heat/boiler/index.d.ts.map +1 -0
  113. package/dist/heat/coil/coil.stories.d.ts +6 -0
  114. package/dist/heat/coil/coil.stories.d.ts.map +1 -0
  115. package/dist/heat/coil/index.d.ts +3 -0
  116. package/dist/heat/coil/index.d.ts.map +1 -0
  117. package/dist/heat/condenser/condenser.stories.d.ts +6 -0
  118. package/dist/heat/condenser/condenser.stories.d.ts.map +1 -0
  119. package/dist/heat/condenser/index.d.ts +3 -0
  120. package/dist/heat/condenser/index.d.ts.map +1 -0
  121. package/dist/heat/cooling-tower/cooling-tower.stories.d.ts +6 -0
  122. package/dist/heat/cooling-tower/cooling-tower.stories.d.ts.map +1 -0
  123. package/dist/heat/cooling-tower/index.d.ts +3 -0
  124. package/dist/heat/cooling-tower/index.d.ts.map +1 -0
  125. package/dist/heat/furnace/furnace.stories.d.ts +8 -0
  126. package/dist/heat/furnace/furnace.stories.d.ts.map +1 -0
  127. package/dist/heat/furnace/index.d.ts +3 -0
  128. package/dist/heat/furnace/index.d.ts.map +1 -0
  129. package/dist/heat/index.d.ts +9 -0
  130. package/dist/heat/index.d.ts.map +1 -0
  131. package/dist/heat/shell-tube/index.d.ts +3 -0
  132. package/dist/heat/shell-tube/index.d.ts.map +1 -0
  133. package/dist/heat/shell-tube/shell-tube.stories.d.ts +6 -0
  134. package/dist/heat/shell-tube/shell-tube.stories.d.ts.map +1 -0
  135. package/dist/heat/story-kit.d.ts +27 -0
  136. package/dist/heat/story-kit.d.ts.map +1 -0
  137. package/dist/heat.js +290 -0
  138. package/dist/index.d.ts +2 -0
  139. package/dist/index.d.ts.map +1 -0
  140. package/dist/index.js +4 -0
  141. package/dist/instruments/bargraph/bargraph.stories.d.ts +8 -0
  142. package/dist/instruments/bargraph/bargraph.stories.d.ts.map +1 -0
  143. package/dist/instruments/bargraph/index.d.ts +3 -0
  144. package/dist/instruments/bargraph/index.d.ts.map +1 -0
  145. package/dist/instruments/face.d.ts +15 -0
  146. package/dist/instruments/face.d.ts.map +1 -0
  147. package/dist/instruments/gauge-analog/gauge-analog.stories.d.ts +11 -0
  148. package/dist/instruments/gauge-analog/gauge-analog.stories.d.ts.map +1 -0
  149. package/dist/instruments/gauge-analog/index.d.ts +3 -0
  150. package/dist/instruments/gauge-analog/index.d.ts.map +1 -0
  151. package/dist/instruments/gauge-digital/gauge-digital.stories.d.ts +7 -0
  152. package/dist/instruments/gauge-digital/gauge-digital.stories.d.ts.map +1 -0
  153. package/dist/instruments/gauge-digital/index.d.ts +3 -0
  154. package/dist/instruments/gauge-digital/index.d.ts.map +1 -0
  155. package/dist/instruments/index.d.ts +10 -0
  156. package/dist/instruments/index.d.ts.map +1 -0
  157. package/dist/instruments/indicator-lamp/index.d.ts +3 -0
  158. package/dist/instruments/indicator-lamp/index.d.ts.map +1 -0
  159. package/dist/instruments/indicator-lamp/indicator-lamp.stories.d.ts +9 -0
  160. package/dist/instruments/indicator-lamp/indicator-lamp.stories.d.ts.map +1 -0
  161. package/dist/instruments/readout-panel/index.d.ts +3 -0
  162. package/dist/instruments/readout-panel/index.d.ts.map +1 -0
  163. package/dist/instruments/readout-panel/readout-panel.stories.d.ts +6 -0
  164. package/dist/instruments/readout-panel/readout-panel.stories.d.ts.map +1 -0
  165. package/dist/instruments/story-kit.d.ts +29 -0
  166. package/dist/instruments/story-kit.d.ts.map +1 -0
  167. package/dist/instruments/trend-mini/index.d.ts +3 -0
  168. package/dist/instruments/trend-mini/index.d.ts.map +1 -0
  169. package/dist/instruments/trend-mini/trend-mini.stories.d.ts +6 -0
  170. package/dist/instruments/trend-mini/trend-mini.stories.d.ts.map +1 -0
  171. package/dist/instruments.js +347 -0
  172. package/dist/motion/seamless-loop.d.ts +14 -0
  173. package/dist/motion/seamless-loop.d.ts.map +1 -0
  174. package/dist/pipe-gradient-B538FEvi.js +18 -0
  175. package/dist/readout/index.d.ts +3 -0
  176. package/dist/readout/index.d.ts.map +1 -0
  177. package/dist/readout/readout.stories.d.ts +8 -0
  178. package/dist/readout/readout.stories.d.ts.map +1 -0
  179. package/dist/readout/story-kit.d.ts +27 -0
  180. package/dist/readout/story-kit.d.ts.map +1 -0
  181. package/dist/readout.js +33 -0
  182. package/dist/recipe-BxxL1vV1.js +383 -0
  183. package/dist/rotating/compressor/compressor.stories.d.ts +28 -0
  184. package/dist/rotating/compressor/compressor.stories.d.ts.map +1 -0
  185. package/dist/rotating/compressor/index.d.ts +3 -0
  186. package/dist/rotating/compressor/index.d.ts.map +1 -0
  187. package/dist/rotating/fan-axial/fan-axial.stories.d.ts +31 -0
  188. package/dist/rotating/fan-axial/fan-axial.stories.d.ts.map +1 -0
  189. package/dist/rotating/fan-axial/index.d.ts +3 -0
  190. package/dist/rotating/fan-axial/index.d.ts.map +1 -0
  191. package/dist/rotating/fan-centrifugal/fan-centrifugal.stories.d.ts +31 -0
  192. package/dist/rotating/fan-centrifugal/fan-centrifugal.stories.d.ts.map +1 -0
  193. package/dist/rotating/fan-centrifugal/index.d.ts +3 -0
  194. package/dist/rotating/fan-centrifugal/index.d.ts.map +1 -0
  195. package/dist/rotating/index.d.ts +12 -0
  196. package/dist/rotating/index.d.ts.map +1 -0
  197. package/dist/rotating/motor/index.d.ts +3 -0
  198. package/dist/rotating/motor/index.d.ts.map +1 -0
  199. package/dist/rotating/motor/motor.stories.d.ts +28 -0
  200. package/dist/rotating/motor/motor.stories.d.ts.map +1 -0
  201. package/dist/rotating/pump-centrifugal/index.d.ts +3 -0
  202. package/dist/rotating/pump-centrifugal/index.d.ts.map +1 -0
  203. package/dist/rotating/pump-centrifugal/pump-centrifugal.stories.d.ts +29 -0
  204. package/dist/rotating/pump-centrifugal/pump-centrifugal.stories.d.ts.map +1 -0
  205. package/dist/rotating/pump-positive-displacement/index.d.ts +3 -0
  206. package/dist/rotating/pump-positive-displacement/index.d.ts.map +1 -0
  207. package/dist/rotating/pump-positive-displacement/pump-positive-displacement.stories.d.ts +28 -0
  208. package/dist/rotating/pump-positive-displacement/pump-positive-displacement.stories.d.ts.map +1 -0
  209. package/dist/rotating/story-kit.d.ts +65 -0
  210. package/dist/rotating/story-kit.d.ts.map +1 -0
  211. package/dist/rotating/turbine/index.d.ts +3 -0
  212. package/dist/rotating/turbine/index.d.ts.map +1 -0
  213. package/dist/rotating/turbine/turbine.stories.d.ts +29 -0
  214. package/dist/rotating/turbine/turbine.stories.d.ts.map +1 -0
  215. package/dist/rotating.js +513 -0
  216. package/dist/rotation-drive/base.d.ts +110 -0
  217. package/dist/rotation-drive/base.d.ts.map +1 -0
  218. package/dist/valves/ball/ball.stories.d.ts +26 -0
  219. package/dist/valves/ball/ball.stories.d.ts.map +1 -0
  220. package/dist/valves/ball/index.d.ts +3 -0
  221. package/dist/valves/ball/index.d.ts.map +1 -0
  222. package/dist/valves/base.d.ts +70 -0
  223. package/dist/valves/base.d.ts.map +1 -0
  224. package/dist/valves/butterfly/butterfly.stories.d.ts +26 -0
  225. package/dist/valves/butterfly/butterfly.stories.d.ts.map +1 -0
  226. package/dist/valves/butterfly/index.d.ts +3 -0
  227. package/dist/valves/butterfly/index.d.ts.map +1 -0
  228. package/dist/valves/check/check.stories.d.ts +25 -0
  229. package/dist/valves/check/check.stories.d.ts.map +1 -0
  230. package/dist/valves/check/index.d.ts +3 -0
  231. package/dist/valves/check/index.d.ts.map +1 -0
  232. package/dist/valves/control/control.stories.d.ts +26 -0
  233. package/dist/valves/control/control.stories.d.ts.map +1 -0
  234. package/dist/valves/control/index.d.ts +3 -0
  235. package/dist/valves/control/index.d.ts.map +1 -0
  236. package/dist/valves/gate/gate.stories.d.ts +26 -0
  237. package/dist/valves/gate/gate.stories.d.ts.map +1 -0
  238. package/dist/valves/gate/index.d.ts +3 -0
  239. package/dist/valves/gate/index.d.ts.map +1 -0
  240. package/dist/valves/index.d.ts +8 -0
  241. package/dist/valves/index.d.ts.map +1 -0
  242. package/dist/valves/relief/index.d.ts +3 -0
  243. package/dist/valves/relief/index.d.ts.map +1 -0
  244. package/dist/valves/relief/relief.stories.d.ts +26 -0
  245. package/dist/valves/relief/relief.stories.d.ts.map +1 -0
  246. package/dist/valves/story-kit.d.ts +54 -0
  247. package/dist/valves/story-kit.d.ts.map +1 -0
  248. package/dist/valves.js +424 -0
  249. package/dist/vapor/base.d.ts +42 -0
  250. package/dist/vapor/base.d.ts.map +1 -0
  251. package/dist/vapor/billow-layer.d.ts +33 -0
  252. package/dist/vapor/billow-layer.d.ts.map +1 -0
  253. package/dist/vapor/billow-path.d.ts +36 -0
  254. package/dist/vapor/billow-path.d.ts.map +1 -0
  255. package/dist/vapor/index.d.ts +8 -0
  256. package/dist/vapor/index.d.ts.map +1 -0
  257. package/dist/vapor/plume/index.d.ts +3 -0
  258. package/dist/vapor/plume/index.d.ts.map +1 -0
  259. package/dist/vapor/plume/plume.stories.d.ts +9 -0
  260. package/dist/vapor/plume/plume.stories.d.ts.map +1 -0
  261. package/dist/vapor/steam-vent/index.d.ts +3 -0
  262. package/dist/vapor/steam-vent/index.d.ts.map +1 -0
  263. package/dist/vapor/steam-vent/steam-vent.stories.d.ts +9 -0
  264. package/dist/vapor/steam-vent/steam-vent.stories.d.ts.map +1 -0
  265. package/dist/vapor/story-kit.d.ts +28 -0
  266. package/dist/vapor/story-kit.d.ts.map +1 -0
  267. package/dist/vapor.js +194 -0
  268. package/dist/vessel-body/hardware.d.ts +13 -0
  269. package/dist/vessel-body/hardware.d.ts.map +1 -0
  270. package/dist/vessel-body/liquid/dished-bottom.d.ts +33 -0
  271. package/dist/vessel-body/liquid/dished-bottom.d.ts.map +1 -0
  272. package/dist/vessel-body/liquid/index.d.ts +11 -0
  273. package/dist/vessel-body/liquid/index.d.ts.map +1 -0
  274. package/dist/vessel-body/liquid/wave-layer.d.ts +57 -0
  275. package/dist/vessel-body/liquid/wave-layer.d.ts.map +1 -0
  276. package/dist/vessel-body/liquid/wave-path.d.ts +45 -0
  277. package/dist/vessel-body/liquid/wave-path.d.ts.map +1 -0
  278. package/dist/vessel-body/recipe.d.ts +85 -0
  279. package/dist/vessel-body/recipe.d.ts.map +1 -0
  280. package/dist/vessel-body/shapes.d.ts +78 -0
  281. package/dist/vessel-body/shapes.d.ts.map +1 -0
  282. package/dist/vessels/drum/drum.stories.d.ts +33 -0
  283. package/dist/vessels/drum/drum.stories.d.ts.map +1 -0
  284. package/dist/vessels/drum/index.d.ts +3 -0
  285. package/dist/vessels/drum/index.d.ts.map +1 -0
  286. package/dist/vessels/hopper/hopper.stories.d.ts +39 -0
  287. package/dist/vessels/hopper/hopper.stories.d.ts.map +1 -0
  288. package/dist/vessels/hopper/index.d.ts +3 -0
  289. package/dist/vessels/hopper/index.d.ts.map +1 -0
  290. package/dist/vessels/index.d.ts +10 -0
  291. package/dist/vessels/index.d.ts.map +1 -0
  292. package/dist/vessels/silo/index.d.ts +3 -0
  293. package/dist/vessels/silo/index.d.ts.map +1 -0
  294. package/dist/vessels/silo/silo.stories.d.ts +33 -0
  295. package/dist/vessels/silo/silo.stories.d.ts.map +1 -0
  296. package/dist/vessels/story-kit.d.ts +83 -0
  297. package/dist/vessels/story-kit.d.ts.map +1 -0
  298. package/dist/vessels/tank-horizontal/index.d.ts +3 -0
  299. package/dist/vessels/tank-horizontal/index.d.ts.map +1 -0
  300. package/dist/vessels/tank-horizontal/tank-horizontal.stories.d.ts +33 -0
  301. package/dist/vessels/tank-horizontal/tank-horizontal.stories.d.ts.map +1 -0
  302. package/dist/vessels/tank-spherical/index.d.ts +3 -0
  303. package/dist/vessels/tank-spherical/index.d.ts.map +1 -0
  304. package/dist/vessels/tank-spherical/tank-spherical.stories.d.ts +33 -0
  305. package/dist/vessels/tank-spherical/tank-spherical.stories.d.ts.map +1 -0
  306. package/dist/vessels/tank-vertical/index.d.ts +3 -0
  307. package/dist/vessels/tank-vertical/index.d.ts.map +1 -0
  308. package/dist/vessels/tank-vertical/tank-vertical.stories.d.ts +47 -0
  309. package/dist/vessels/tank-vertical/tank-vertical.stories.d.ts.map +1 -0
  310. package/dist/vessels.js +198 -0
  311. package/package.json +76 -0
@@ -0,0 +1,3 @@
1
+ import type { PrimitiveGroup } from '@vscada/core';
2
+ export declare const hopper: PrimitiveGroup;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vessels/hopper/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,cAAc,EAAyD,MAAM,cAAc,CAAC;AAyCrH,eAAO,MAAM,MAAM,EAAE,cAGnB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { PrimitiveGroup } from '@vscada/core';
2
+ /**
3
+ * Vessels entry point. Story 1.5 shipped tank-vertical; Story 3.3 (the
4
+ * vessel batch) adds the remaining five §6.1-listed vessel types, all
5
+ * sharing `recipe.ts` (Dev Notes: "one recipe module, five
6
+ * parameterizations") — this file just merges every registered vessel
7
+ * primitive's `primitives` record into one `PrimitiveGroup`.
8
+ */
9
+ export declare const vessels: PrimitiveGroup;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vessels/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAQnD;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,EAAE,cAUpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { PrimitiveGroup } from '@vscada/core';
2
+ export declare const silo: PrimitiveGroup;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vessels/silo/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,cAAc,EAAyD,MAAM,cAAc,CAAC;AA6CrH,eAAO,MAAM,IAAI,EAAE,cAGjB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { type VesselStory, type VesselStoryArgs, type VesselStoryMeta } from '../story-kit';
2
+ /** Story 3.3 Task 4 — same reference pattern as `tank-vertical.stories.ts`; see that file's doc. */
3
+ export declare const meta: VesselStoryMeta;
4
+ export declare const argTypes: {
5
+ readonly level: {
6
+ readonly control: {
7
+ readonly type: "range";
8
+ readonly min: 0;
9
+ readonly max: 100;
10
+ readonly step: 1;
11
+ };
12
+ };
13
+ readonly medium: {
14
+ readonly control: {
15
+ readonly type: "select";
16
+ };
17
+ readonly options: readonly ["water", "oil", "fuel-diesel", "slurry-sludge", "acid-chemical", "molten-hot", "condensate", "feedwater", "hydraulic-oil"];
18
+ };
19
+ readonly thresholdDemo: {
20
+ readonly control: "boolean";
21
+ };
22
+ readonly stale: {
23
+ readonly control: "boolean";
24
+ };
25
+ };
26
+ export declare const Default: VesselStory;
27
+ export declare const LevelSweep: VesselStory;
28
+ export declare const MediumSwitch: VesselStory;
29
+ export declare const ThresholdDemo: VesselStory;
30
+ export declare const StaleFreeze: VesselStory;
31
+ export declare function render(container: HTMLElement, args?: Partial<VesselStoryArgs>): import("../story-kit").MountedVesselStory;
32
+ export default meta;
33
+ //# sourceMappingURL=silo.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"silo.stories.d.ts","sourceRoot":"","sources":["../../../src/vessels/silo/silo.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEtI,oGAAoG;AACpG,eAAO,MAAM,IAAI,EAAE,eAKlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,WAAiC,CAAC;AACxD,eAAO,MAAM,UAAU,EAAE,WAA0D,CAAC;AACpF,eAAO,MAAM,YAAY,EAAE,WAAsF,CAAC;AAClH,eAAO,MAAM,aAAa,EAAE,WAA8F,CAAC;AAC3H,eAAO,MAAM,WAAW,EAAE,WAA0E,CAAC;AAErG,wBAAgB,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,IAAI,GAAE,OAAO,CAAC,eAAe,CAAM,6CAEjF;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,83 @@
1
+ import { ScadaView, type Renderer, type TimeSource } from '@vscada/core';
2
+ /** The nine §7.4 liquid-wave-bearing media (steam/flue-gas/ash/electrical carry no liquid — excluded from a vessel's medium switcher). */
3
+ export declare const LIQUID_MEDIA: readonly ["water", "oil", "fuel-diesel", "slurry-sludge", "acid-chemical", "molten-hot", "condensate", "feedwater", "hydraulic-oil"];
4
+ export interface VesselStoryMeta {
5
+ title: string;
6
+ /** The registered primitive `type` — must be a key in `vessels.primitives`. */
7
+ elementType: string;
8
+ width: number;
9
+ height: number;
10
+ }
11
+ export interface VesselStoryArgs {
12
+ /** 0-100, the level binding's own scale. */
13
+ level: number;
14
+ medium: (typeof LIQUID_MEDIA)[number];
15
+ /** Adds the four §5.3 threshold levels to the scene so the wall markers + alarm-band surface line (AC2) are visible. */
16
+ thresholdDemo: boolean;
17
+ /** Reuses Story 1.6's freeze mechanism (`connectionState = 'disconnected'`) — every animation (wave, in-flight tweens) should visibly stop. */
18
+ stale: boolean;
19
+ }
20
+ export declare const DEFAULT_VESSEL_STORY_ARGS: VesselStoryArgs;
21
+ /** CSF-shaped `argTypes` (control metadata) — no `@storybook/*` dependency exists yet (real Storybook wiring is Story 7.4's own scope per `apps/storybook/package.json`), but this shape is what a CSF3 `Meta.argTypes` expects, so it plugs in directly once that story lands. */
22
+ export declare const VESSEL_STORY_ARG_TYPES: {
23
+ readonly level: {
24
+ readonly control: {
25
+ readonly type: "range";
26
+ readonly min: 0;
27
+ readonly max: 100;
28
+ readonly step: 1;
29
+ };
30
+ };
31
+ readonly medium: {
32
+ readonly control: {
33
+ readonly type: "select";
34
+ };
35
+ readonly options: readonly ["water", "oil", "fuel-diesel", "slurry-sludge", "acid-chemical", "molten-hot", "condensate", "feedwater", "hydraulic-oil"];
36
+ };
37
+ readonly thresholdDemo: {
38
+ readonly control: "boolean";
39
+ };
40
+ readonly stale: {
41
+ readonly control: "boolean";
42
+ };
43
+ };
44
+ /** One named CSF-shaped story entry — `{ name, args }`, matching a CSF3 `StoryObj`'s shape closely enough to need no rewrite once Story 7.4 wires real Storybook. */
45
+ export interface VesselStory {
46
+ name: string;
47
+ args?: Partial<VesselStoryArgs>;
48
+ }
49
+ export interface MountedVesselStory {
50
+ /** The live `<scada-view>` element, already appended to `container`. */
51
+ element: ScadaView;
52
+ /** Re-applies a (partial) args change — the level sweep control, medium switcher, threshold-demo and stale-freeze toggles all funnel through this one path, matching AD-1's "values enter only via `setValues()`" for the level and Story 1.6's `connectionState` for freeze — never a primitive-internal shortcut. */
53
+ setArgs(next: Partial<VesselStoryArgs>): void;
54
+ teardown(): void;
55
+ }
56
+ /**
57
+ * Real usage (a browser, incl. the future Story 7.4 Storybook runner)
58
+ * always gets the real WAAPI-backed `domRenderer` — this parameter exists
59
+ * ONLY so `story-kit.test.ts` (and any consumer's own test harness) can
60
+ * inject a stub the same way every primitive's own unit test already does;
61
+ * jsdom/happy-dom has no `Element.animate` implementation, so a test that
62
+ * exercised the real renderer would fail for an environment reason having
63
+ * nothing to do with this story's own correctness.
64
+ */
65
+ export interface MountVesselStoryOptions {
66
+ renderer?: Renderer;
67
+ timeSource?: TimeSource;
68
+ }
69
+ /**
70
+ * Mounts one vessel primitive as a real `<scada-view>` inside `container`,
71
+ * driven by `args` (level sweep / medium switch / threshold demo / stale
72
+ * freeze). This is the ONE mounting path every vessel's `.stories.ts` calls
73
+ * — per-vessel files only ever supply `meta` + named story `args`, never
74
+ * their own scene-building/mounting logic (Task 4's "establish the
75
+ * pattern" goal). Constructs `ScadaView` directly (rather than
76
+ * `document.createElement('scada-view')`) so `options.renderer`/
77
+ * `timeSource` can actually reach it — per-spec, a directly-constructed
78
+ * instance of an already-`customElements.define()`-registered class is a
79
+ * real custom element (connectedCallback etc. still fire), so this is
80
+ * behaviorally identical to `document.createElement` for real usage.
81
+ */
82
+ export declare function mountVesselStory(container: HTMLElement, meta: VesselStoryMeta, initialArgs?: Partial<VesselStoryArgs>, options?: MountVesselStoryOptions): MountedVesselStory;
83
+ //# sourceMappingURL=story-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"story-kit.d.ts","sourceRoot":"","sources":["../../src/vessels/story-kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,SAAS,EACT,KAAK,QAAQ,EAIb,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AAkFtB,0IAA0I;AAC1I,eAAO,MAAM,YAAY,sIAUf,CAAC;AAEX,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;IACtC,wHAAwH;IACxH,aAAa,EAAE,OAAO,CAAC;IACvB,+IAA+I;IAC/I,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,yBAAyB,EAAE,eAKvC,CAAC;AAEF,mRAAmR;AACnR,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;CAKzB,CAAC;AAiDX,qKAAqK;AACrK,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,kBAAkB;IACjC,wEAAwE;IACxE,OAAO,EAAE,SAAS,CAAC;IACnB,uTAAuT;IACvT,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;IAC9C,QAAQ,IAAI,IAAI,CAAC;CAClB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,WAAW,EACtB,IAAI,EAAE,eAAe,EACrB,WAAW,GAAE,OAAO,CAAC,eAAe,CAAM,EAC1C,OAAO,GAAE,uBAA4B,GACpC,kBAAkB,CA2BpB"}
@@ -0,0 +1,3 @@
1
+ import type { PrimitiveGroup } from '@vscada/core';
2
+ export declare const tankHorizontal: PrimitiveGroup;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vessels/tank-horizontal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,cAAc,EAAyD,MAAM,cAAc,CAAC;AAgCrH,eAAO,MAAM,cAAc,EAAE,cAG3B,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { type VesselStory, type VesselStoryArgs, type VesselStoryMeta } from '../story-kit';
2
+ /** Story 3.3 Task 4 — same reference pattern as `tank-vertical.stories.ts`; see that file's doc. */
3
+ export declare const meta: VesselStoryMeta;
4
+ export declare const argTypes: {
5
+ readonly level: {
6
+ readonly control: {
7
+ readonly type: "range";
8
+ readonly min: 0;
9
+ readonly max: 100;
10
+ readonly step: 1;
11
+ };
12
+ };
13
+ readonly medium: {
14
+ readonly control: {
15
+ readonly type: "select";
16
+ };
17
+ readonly options: readonly ["water", "oil", "fuel-diesel", "slurry-sludge", "acid-chemical", "molten-hot", "condensate", "feedwater", "hydraulic-oil"];
18
+ };
19
+ readonly thresholdDemo: {
20
+ readonly control: "boolean";
21
+ };
22
+ readonly stale: {
23
+ readonly control: "boolean";
24
+ };
25
+ };
26
+ export declare const Default: VesselStory;
27
+ export declare const LevelSweep: VesselStory;
28
+ export declare const MediumSwitch: VesselStory;
29
+ export declare const ThresholdDemo: VesselStory;
30
+ export declare const StaleFreeze: VesselStory;
31
+ export declare function render(container: HTMLElement, args?: Partial<VesselStoryArgs>): import("../story-kit").MountedVesselStory;
32
+ export default meta;
33
+ //# sourceMappingURL=tank-horizontal.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tank-horizontal.stories.d.ts","sourceRoot":"","sources":["../../../src/vessels/tank-horizontal/tank-horizontal.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEtI,oGAAoG;AACpG,eAAO,MAAM,IAAI,EAAE,eAKlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,WAAiC,CAAC;AACxD,eAAO,MAAM,UAAU,EAAE,WAA0D,CAAC;AACpF,eAAO,MAAM,YAAY,EAAE,WAA0F,CAAC;AACtH,eAAO,MAAM,aAAa,EAAE,WAA2F,CAAC;AACxH,eAAO,MAAM,WAAW,EAAE,WAA0E,CAAC;AAErG,wBAAgB,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,IAAI,GAAE,OAAO,CAAC,eAAe,CAAM,6CAEjF;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { PrimitiveGroup } from '@vscada/core';
2
+ export declare const tankSpherical: PrimitiveGroup;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vessels/tank-spherical/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,cAAc,EAAyD,MAAM,cAAc,CAAC;AAuCrH,eAAO,MAAM,aAAa,EAAE,cAG1B,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { type VesselStory, type VesselStoryArgs, type VesselStoryMeta } from '../story-kit';
2
+ /** Story 3.3 Task 4 — same reference pattern as `tank-vertical.stories.ts`; see that file's doc. */
3
+ export declare const meta: VesselStoryMeta;
4
+ export declare const argTypes: {
5
+ readonly level: {
6
+ readonly control: {
7
+ readonly type: "range";
8
+ readonly min: 0;
9
+ readonly max: 100;
10
+ readonly step: 1;
11
+ };
12
+ };
13
+ readonly medium: {
14
+ readonly control: {
15
+ readonly type: "select";
16
+ };
17
+ readonly options: readonly ["water", "oil", "fuel-diesel", "slurry-sludge", "acid-chemical", "molten-hot", "condensate", "feedwater", "hydraulic-oil"];
18
+ };
19
+ readonly thresholdDemo: {
20
+ readonly control: "boolean";
21
+ };
22
+ readonly stale: {
23
+ readonly control: "boolean";
24
+ };
25
+ };
26
+ export declare const Default: VesselStory;
27
+ export declare const LevelSweep: VesselStory;
28
+ export declare const MediumSwitch: VesselStory;
29
+ export declare const ThresholdDemo: VesselStory;
30
+ export declare const StaleFreeze: VesselStory;
31
+ export declare function render(container: HTMLElement, args?: Partial<VesselStoryArgs>): import("../story-kit").MountedVesselStory;
32
+ export default meta;
33
+ //# sourceMappingURL=tank-spherical.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tank-spherical.stories.d.ts","sourceRoot":"","sources":["../../../src/vessels/tank-spherical/tank-spherical.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEtI,oGAAoG;AACpG,eAAO,MAAM,IAAI,EAAE,eAKlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,WAAiC,CAAC;AACxD,eAAO,MAAM,UAAU,EAAE,WAA0D,CAAC;AACpF,eAAO,MAAM,YAAY,EAAE,WAA0F,CAAC;AACtH,eAAO,MAAM,aAAa,EAAE,WAAyF,CAAC;AACtH,eAAO,MAAM,WAAW,EAAE,WAA0E,CAAC;AAErG,wBAAgB,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,IAAI,GAAE,OAAO,CAAC,eAAe,CAAM,6CAEjF;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { PrimitiveGroup } from '@vscada/core';
2
+ export declare const tankVertical: PrimitiveGroup;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vessels/tank-vertical/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,cAAc,EAAyD,MAAM,cAAc,CAAC;AAmCrH,eAAO,MAAM,YAAY,EAAE,cAGzB,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { type VesselStory, type VesselStoryArgs, type VesselStoryMeta } from '../story-kit';
2
+ /**
3
+ * Story 3.3 Task 4 — REFERENCE Storybook story pattern: this file is the
4
+ * one every 3.4-3.10 primitive-batch story should copy (Dev Notes: "this
5
+ * story sets ... the Storybook pattern for every batch after it"). The
6
+ * pattern is: one `meta` (title + registered element `type` + reference
7
+ * size), a handful of named CSF-shaped stories (`{ name, args }`) covering
8
+ * the controls Task 4 calls for — level sweep, medium switcher, threshold
9
+ * demo, stale-freeze toggle — and one shared `render()` that hands off to
10
+ * `story-kit.ts`'s `mountVesselStory`, never bespoke per-story mounting
11
+ * logic. Real Storybook wiring (CSF runner, addon-controls UI) arrives in
12
+ * Story 7.4 (`apps/storybook/package.json`'s own placeholder note); this
13
+ * shape is what a CSF3 module already looks like, so it plugs in directly
14
+ * once that story lands.
15
+ */
16
+ export declare const meta: VesselStoryMeta;
17
+ export declare const argTypes: {
18
+ readonly level: {
19
+ readonly control: {
20
+ readonly type: "range";
21
+ readonly min: 0;
22
+ readonly max: 100;
23
+ readonly step: 1;
24
+ };
25
+ };
26
+ readonly medium: {
27
+ readonly control: {
28
+ readonly type: "select";
29
+ };
30
+ readonly options: readonly ["water", "oil", "fuel-diesel", "slurry-sludge", "acid-chemical", "molten-hot", "condensate", "feedwater", "hydraulic-oil"];
31
+ };
32
+ readonly thresholdDemo: {
33
+ readonly control: "boolean";
34
+ };
35
+ readonly stale: {
36
+ readonly control: "boolean";
37
+ };
38
+ };
39
+ export declare const Default: VesselStory;
40
+ export declare const LevelSweep: VesselStory;
41
+ export declare const MediumSwitch: VesselStory;
42
+ export declare const ThresholdDemo: VesselStory;
43
+ export declare const StaleFreeze: VesselStory;
44
+ /** Mounts this story's vessel into `container` — the ONE render path every named story above shares. */
45
+ export declare function render(container: HTMLElement, args?: Partial<VesselStoryArgs>): import("../story-kit").MountedVesselStory;
46
+ export default meta;
47
+ //# sourceMappingURL=tank-vertical.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tank-vertical.stories.d.ts","sourceRoot":"","sources":["../../../src/vessels/tank-vertical/tank-vertical.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEtI;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,IAAI,EAAE,eAKlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,WAAiC,CAAC;AACxD,eAAO,MAAM,UAAU,EAAE,WAA0D,CAAC;AACpF,eAAO,MAAM,YAAY,EAAE,WAAsE,CAAC;AAClG,eAAO,MAAM,aAAa,EAAE,WAA8F,CAAC;AAC3H,eAAO,MAAM,WAAW,EAAE,WAA0E,CAAC;AAErG,wGAAwG;AACxG,wBAAgB,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,IAAI,GAAE,OAAO,CAAC,eAAe,CAAM,6CAEjF;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,198 @@
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./recipe-BxxL1vV1.js";
2
+ //#region src/vessels/tank-vertical/index.ts
3
+ function d(e, t) {
4
+ let r = n(e, t), i = e * u;
5
+ return {
6
+ orientation: "vertical",
7
+ bodyPathD: r,
8
+ rims: [{
9
+ cx: e / 2,
10
+ cy: 0,
11
+ rx: e / 2,
12
+ ry: i,
13
+ crownRibbing: !0
14
+ }, {
15
+ cx: e / 2,
16
+ cy: t,
17
+ rx: e / 2,
18
+ ry: i
19
+ }],
20
+ hardware: "tank-vertical"
21
+ };
22
+ }
23
+ function f(e, t, n) {
24
+ return l({
25
+ element: e,
26
+ theme: t,
27
+ renderer: n,
28
+ geometry: d(e.w, e.h)
29
+ });
30
+ }
31
+ var p = Object.freeze({
32
+ group: "vessels",
33
+ primitives: Object.freeze({ "tank-vertical": { build: f } })
34
+ });
35
+ //#endregion
36
+ //#region src/vessels/tank-horizontal/index.ts
37
+ function m(e, t) {
38
+ let n = s(e, t), r = a(e, t);
39
+ return {
40
+ orientation: "horizontal",
41
+ bodyPathD: n,
42
+ rims: [{
43
+ cx: r,
44
+ cy: t / 2,
45
+ rx: r,
46
+ ry: t / 2
47
+ }, {
48
+ cx: e - r,
49
+ cy: t / 2,
50
+ rx: r,
51
+ ry: t / 2
52
+ }],
53
+ hardware: "tank-horizontal"
54
+ };
55
+ }
56
+ function h(e, t, n) {
57
+ return l({
58
+ element: e,
59
+ theme: t,
60
+ renderer: n,
61
+ geometry: m(e.w, e.h)
62
+ });
63
+ }
64
+ var g = Object.freeze({
65
+ group: "vessels",
66
+ primitives: Object.freeze({ "tank-horizontal": { build: h } })
67
+ });
68
+ //#endregion
69
+ //#region src/vessels/tank-spherical/index.ts
70
+ function _(e, n) {
71
+ let { cx: r, cy: a, r: o } = t(e, n);
72
+ return {
73
+ orientation: "spherical",
74
+ bodyPathD: i(e, n),
75
+ rims: [{
76
+ cx: r,
77
+ cy: a - o * .7,
78
+ rx: o * .5,
79
+ ry: o * .16,
80
+ crownRibbing: !0
81
+ }],
82
+ hardware: "sphere"
83
+ };
84
+ }
85
+ function v(e, t, n) {
86
+ return l({
87
+ element: e,
88
+ theme: t,
89
+ renderer: n,
90
+ geometry: _(e.w, e.h)
91
+ });
92
+ }
93
+ var y = Object.freeze({
94
+ group: "vessels",
95
+ primitives: Object.freeze({ "tank-spherical": { build: v } })
96
+ });
97
+ //#endregion
98
+ //#region src/vessels/hopper/index.ts
99
+ function b(e, t) {
100
+ return {
101
+ orientation: "vertical",
102
+ bodyPathD: r(e, t),
103
+ rims: [{
104
+ cx: e / 2,
105
+ cy: 0,
106
+ rx: e / 2,
107
+ ry: e * u
108
+ }],
109
+ hardware: "hopper"
110
+ };
111
+ }
112
+ function x(e, t, n) {
113
+ return l({
114
+ element: e,
115
+ theme: t,
116
+ renderer: n,
117
+ geometry: b(e.w, e.h)
118
+ });
119
+ }
120
+ var S = Object.freeze({
121
+ group: "vessels",
122
+ primitives: Object.freeze({ hopper: { build: x } })
123
+ });
124
+ //#endregion
125
+ //#region src/vessels/silo/index.ts
126
+ function C(t, n) {
127
+ let r = c(t, n), i = o(t, n), a = e(n);
128
+ return {
129
+ orientation: "vertical",
130
+ bodyPathD: r,
131
+ liquidClipPathD: i,
132
+ markerMinY: a,
133
+ rims: [{
134
+ cx: t / 2,
135
+ cy: a,
136
+ rx: t / 2,
137
+ ry: t * u * .5
138
+ }],
139
+ hardware: "silo"
140
+ };
141
+ }
142
+ function w(e, t, n) {
143
+ return l({
144
+ element: e,
145
+ theme: t,
146
+ renderer: n,
147
+ geometry: C(e.w, e.h)
148
+ });
149
+ }
150
+ var T = Object.freeze({
151
+ group: "vessels",
152
+ primitives: Object.freeze({ silo: { build: w } })
153
+ });
154
+ //#endregion
155
+ //#region src/vessels/drum/index.ts
156
+ function E(e, t) {
157
+ let n = s(e, t), r = a(e, t);
158
+ return {
159
+ orientation: "horizontal",
160
+ bodyPathD: n,
161
+ rims: [{
162
+ cx: r,
163
+ cy: t / 2,
164
+ rx: r,
165
+ ry: t / 2
166
+ }, {
167
+ cx: e - r,
168
+ cy: t / 2,
169
+ rx: r,
170
+ ry: t / 2
171
+ }],
172
+ hardware: "drum"
173
+ };
174
+ }
175
+ function D(e, t, n) {
176
+ return l({
177
+ element: e,
178
+ theme: t,
179
+ renderer: n,
180
+ geometry: E(e.w, e.h)
181
+ });
182
+ }
183
+ var O = Object.freeze({
184
+ group: "vessels",
185
+ primitives: Object.freeze({ drum: { build: D } })
186
+ }), k = Object.freeze({
187
+ group: "vessels",
188
+ primitives: Object.freeze({
189
+ ...p.primitives,
190
+ ...g.primitives,
191
+ ...y.primitives,
192
+ ...S.primitives,
193
+ ...T.primitives,
194
+ ...O.primitives
195
+ })
196
+ });
197
+ //#endregion
198
+ export { k as vessels };
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@vscada/primitives",
3
+ "version": "0.0.1",
4
+ "description": "VScada primitive kit — one entry point per group",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "license": "UNLICENSED",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ },
16
+ "./vessels": {
17
+ "types": "./dist/vessels/index.d.ts",
18
+ "import": "./dist/vessels.js"
19
+ },
20
+ "./readout": {
21
+ "types": "./dist/readout/index.d.ts",
22
+ "import": "./dist/readout.js"
23
+ },
24
+ "./conveyance": {
25
+ "types": "./dist/conveyance/index.d.ts",
26
+ "import": "./dist/conveyance.js"
27
+ },
28
+ "./rotating": {
29
+ "types": "./dist/rotating/index.d.ts",
30
+ "import": "./dist/rotating.js"
31
+ },
32
+ "./annotation": {
33
+ "types": "./dist/annotation/index.d.ts",
34
+ "import": "./dist/annotation.js"
35
+ },
36
+ "./valves": {
37
+ "types": "./dist/valves/index.d.ts",
38
+ "import": "./dist/valves.js"
39
+ },
40
+ "./instruments": {
41
+ "types": "./dist/instruments/index.d.ts",
42
+ "import": "./dist/instruments.js"
43
+ },
44
+ "./heat": {
45
+ "types": "./dist/heat/index.d.ts",
46
+ "import": "./dist/heat.js"
47
+ },
48
+ "./filtration": {
49
+ "types": "./dist/filtration/index.d.ts",
50
+ "import": "./dist/filtration.js"
51
+ },
52
+ "./vapor": {
53
+ "types": "./dist/vapor/index.d.ts",
54
+ "import": "./dist/vapor.js"
55
+ },
56
+ "./controls": {
57
+ "types": "./dist/controls/index.d.ts",
58
+ "import": "./dist/controls.js"
59
+ },
60
+ "./electrical": {
61
+ "types": "./dist/electrical/index.d.ts",
62
+ "import": "./dist/electrical.js"
63
+ }
64
+ },
65
+ "dependencies": {
66
+ "@vscada/core": "0.0.1"
67
+ },
68
+ "devDependencies": {
69
+ "typescript": "~5.9.3",
70
+ "vite": "~8.1.5"
71
+ },
72
+ "scripts": {
73
+ "build": "vite build && tsc -b",
74
+ "typecheck": "tsc -b"
75
+ }
76
+ }