@kosdev-code/kos-dispense-sdk 0.1.0-dev.5053

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 (346) hide show
  1. package/dispense-registration-manager-BZ5L3AWX.cjs +2 -0
  2. package/dispense-registration-manager-BZ5L3AWX.cjs.map +1 -0
  3. package/dispense-registration-manager-CB_nSTZw.js +1912 -0
  4. package/dispense-registration-manager-CB_nSTZw.js.map +1 -0
  5. package/extension-utils-CkYqorcG.js +381 -0
  6. package/extension-utils-CkYqorcG.js.map +1 -0
  7. package/extension-utils-DUel3wIz.cjs +2 -0
  8. package/extension-utils-DUel3wIz.cjs.map +1 -0
  9. package/extensions/control-pour-extension.d.ts +70 -0
  10. package/extensions/control-pour-extension.d.ts.map +1 -0
  11. package/extensions/index.d.ts +2 -0
  12. package/extensions/index.d.ts.map +1 -0
  13. package/index.cjs +2 -0
  14. package/index.cjs.map +1 -0
  15. package/index.d.ts +6 -0
  16. package/index.d.ts.map +1 -0
  17. package/index.js +133 -0
  18. package/index.js.map +1 -0
  19. package/models/constants/constants.d.ts +230 -0
  20. package/models/constants/constants.d.ts.map +1 -0
  21. package/models/constants/index.d.ts +2 -0
  22. package/models/constants/index.d.ts.map +1 -0
  23. package/models/index.d.ts +6 -0
  24. package/models/index.d.ts.map +1 -0
  25. package/models/models/assembly/assembly-model.d.ts +41 -0
  26. package/models/models/assembly/assembly-model.d.ts.map +1 -0
  27. package/models/models/assembly/assembly-registration.d.ts +81 -0
  28. package/models/models/assembly/assembly-registration.d.ts.map +1 -0
  29. package/models/models/assembly/board-utils.d.ts +6 -0
  30. package/models/models/assembly/board-utils.d.ts.map +1 -0
  31. package/models/models/assembly/holder-utils.d.ts +5 -0
  32. package/models/models/assembly/holder-utils.d.ts.map +1 -0
  33. package/models/models/assembly/index.d.ts +5 -0
  34. package/models/models/assembly/index.d.ts.map +1 -0
  35. package/models/models/assembly/nozzle-utils.d.ts +6 -0
  36. package/models/models/assembly/nozzle-utils.d.ts.map +1 -0
  37. package/models/models/assembly/pump-utils.d.ts +7 -0
  38. package/models/models/assembly/pump-utils.d.ts.map +1 -0
  39. package/models/models/assembly/services/assembly-services.d.ts +8 -0
  40. package/models/models/assembly/services/assembly-services.d.ts.map +1 -0
  41. package/models/models/assembly/services/index.d.ts +2 -0
  42. package/models/models/assembly/services/index.d.ts.map +1 -0
  43. package/models/models/assembly/types/index.d.ts +64 -0
  44. package/models/models/availability/availability-model.d.ts +89 -0
  45. package/models/models/availability/availability-model.d.ts.map +1 -0
  46. package/models/models/availability/index.d.ts +3 -0
  47. package/models/models/availability/index.d.ts.map +1 -0
  48. package/models/models/availability/types/index.d.ts +79 -0
  49. package/models/models/board/board-container-model.d.ts +23 -0
  50. package/models/models/board/board-container-model.d.ts.map +1 -0
  51. package/models/models/board/board-container-registration.d.ts +87 -0
  52. package/models/models/board/board-container-registration.d.ts.map +1 -0
  53. package/models/models/board/board-model.d.ts +18 -0
  54. package/models/models/board/board-model.d.ts.map +1 -0
  55. package/models/models/board/board-registration.d.ts +84 -0
  56. package/models/models/board/board-registration.d.ts.map +1 -0
  57. package/models/models/board/index.d.ts +5 -0
  58. package/models/models/board/index.d.ts.map +1 -0
  59. package/models/models/board/types/index.d.ts +36 -0
  60. package/models/models/board/types/services.d.ts +12 -0
  61. package/models/models/board/types/services.d.ts.map +1 -0
  62. package/models/models/board/utils/board-trouble-data-mapper.d.ts +7 -0
  63. package/models/models/board/utils/board-trouble-data-mapper.d.ts.map +1 -0
  64. package/models/models/board/utils/board-trouble-resolver.d.ts +7 -0
  65. package/models/models/board/utils/board-trouble-resolver.d.ts.map +1 -0
  66. package/models/models/device-assembly/device-assembly-model.d.ts +17 -0
  67. package/models/models/device-assembly/device-assembly-model.d.ts.map +1 -0
  68. package/models/models/device-assembly/device-assembly-registration.d.ts +89 -0
  69. package/models/models/device-assembly/device-assembly-registration.d.ts.map +1 -0
  70. package/models/models/device-assembly/index.d.ts +4 -0
  71. package/models/models/device-assembly/index.d.ts.map +1 -0
  72. package/models/models/device-assembly/types/index.d.ts +1 -0
  73. package/models/models/generic-pour/generic-pour-model.d.ts +53 -0
  74. package/models/models/generic-pour/generic-pour-model.d.ts.map +1 -0
  75. package/models/models/generic-pour/generic-pour-registration.d.ts +87 -0
  76. package/models/models/generic-pour/generic-pour-registration.d.ts.map +1 -0
  77. package/models/models/generic-pour/index.d.ts +5 -0
  78. package/models/models/generic-pour/index.d.ts.map +1 -0
  79. package/models/models/generic-pour/services/generic-pour-services.d.ts +16 -0
  80. package/models/models/generic-pour/services/generic-pour-services.d.ts.map +1 -0
  81. package/models/models/generic-pour/services/index.d.ts +2 -0
  82. package/models/models/generic-pour/services/index.d.ts.map +1 -0
  83. package/models/models/generic-pour/types/index.d.ts +5 -0
  84. package/models/models/holder/holder-model.d.ts +93 -0
  85. package/models/models/holder/holder-model.d.ts.map +1 -0
  86. package/models/models/holder/index.d.ts +5 -0
  87. package/models/models/holder/index.d.ts.map +1 -0
  88. package/models/models/holder/services/assignment-services.d.ts +25 -0
  89. package/models/models/holder/services/assignment-services.d.ts.map +1 -0
  90. package/models/models/holder/services/holder-services.d.ts +28 -0
  91. package/models/models/holder/services/holder-services.d.ts.map +1 -0
  92. package/models/models/holder/services/index.d.ts +3 -0
  93. package/models/models/holder/services/index.d.ts.map +1 -0
  94. package/models/models/holder/types/index.d.ts +170 -0
  95. package/models/models/holder/utils/holder-utils.d.ts +9 -0
  96. package/models/models/holder/utils/holder-utils.d.ts.map +1 -0
  97. package/models/models/holder-container/holder-container-model.d.ts +80 -0
  98. package/models/models/holder-container/holder-container-model.d.ts.map +1 -0
  99. package/models/models/holder-container/index.d.ts +3 -0
  100. package/models/models/holder-container/index.d.ts.map +1 -0
  101. package/models/models/holder-container/types/index.d.ts +69 -0
  102. package/models/models/index.d.ts +14 -0
  103. package/models/models/index.d.ts.map +1 -0
  104. package/models/models/ingredient/index.d.ts +4 -0
  105. package/models/models/ingredient/index.d.ts.map +1 -0
  106. package/models/models/ingredient/ingredient-model.d.ts +86 -0
  107. package/models/models/ingredient/ingredient-model.d.ts.map +1 -0
  108. package/models/models/ingredient/services/index.d.ts +2 -0
  109. package/models/models/ingredient/services/index.d.ts.map +1 -0
  110. package/models/models/ingredient/services/ingredient-services.d.ts +30 -0
  111. package/models/models/ingredient/services/ingredient-services.d.ts.map +1 -0
  112. package/models/models/ingredient/types/index.d.ts +67 -0
  113. package/models/models/ingredient-container/index.d.ts +3 -0
  114. package/models/models/ingredient-container/index.d.ts.map +1 -0
  115. package/models/models/ingredient-container/ingredient-container-model.d.ts +80 -0
  116. package/models/models/ingredient-container/ingredient-container-model.d.ts.map +1 -0
  117. package/models/models/ingredient-container/types/index.d.ts +67 -0
  118. package/models/models/nozzle/index.d.ts +5 -0
  119. package/models/models/nozzle/index.d.ts.map +1 -0
  120. package/models/models/nozzle/nozzle-model.d.ts +257 -0
  121. package/models/models/nozzle/nozzle-model.d.ts.map +1 -0
  122. package/models/models/nozzle/services/index.d.ts +2 -0
  123. package/models/models/nozzle/services/index.d.ts.map +1 -0
  124. package/models/models/nozzle/services/nozzle-services.d.ts +182 -0
  125. package/models/models/nozzle/services/nozzle-services.d.ts.map +1 -0
  126. package/models/models/nozzle/types/index.d.ts +85 -0
  127. package/models/models/pump/index.d.ts +4 -0
  128. package/models/models/pump/index.d.ts.map +1 -0
  129. package/models/models/pump/pump-model.d.ts +91 -0
  130. package/models/models/pump/pump-model.d.ts.map +1 -0
  131. package/models/models/pump/services/index.d.ts +2 -0
  132. package/models/models/pump/services/index.d.ts.map +1 -0
  133. package/models/models/pump/services/pump-services.d.ts +27 -0
  134. package/models/models/pump/services/pump-services.d.ts.map +1 -0
  135. package/models/models/pump/types/index.d.ts +56 -0
  136. package/models/models/pump/utils/pump-trouble-resolver.d.ts +8 -0
  137. package/models/models/pump/utils/pump-trouble-resolver.d.ts.map +1 -0
  138. package/models/models/pump-container/index.d.ts +3 -0
  139. package/models/models/pump-container/index.d.ts.map +1 -0
  140. package/models/models/pump-container/pump-container-model.d.ts +85 -0
  141. package/models/models/pump-container/pump-container-model.d.ts.map +1 -0
  142. package/models/models/pump-container/types/index.d.ts +31 -0
  143. package/models/models/types/assembly.d.ts +83 -0
  144. package/models/models/types/assembly.d.ts.map +1 -0
  145. package/models/models/types/index.d.ts +4 -0
  146. package/models/models/types/index.d.ts.map +1 -0
  147. package/models/models/types/intent.d.ts +19 -0
  148. package/models/models/types/intent.d.ts.map +1 -0
  149. package/models/models/types/pouring.d.ts +9 -0
  150. package/models/models/types/pouring.d.ts.map +1 -0
  151. package/models/utils/dispense-registration-manager.d.ts +28 -0
  152. package/models/utils/dispense-registration-manager.d.ts.map +1 -0
  153. package/models/utils/extension-utils.d.ts +266 -0
  154. package/models/utils/extension-utils.d.ts.map +1 -0
  155. package/models/utils/openapi.d.ts +9276 -0
  156. package/models/utils/registration.d.ts +4 -0
  157. package/models/utils/registration.d.ts.map +1 -0
  158. package/models/utils/service.d.ts +80 -0
  159. package/models/utils/service.d.ts.map +1 -0
  160. package/models.cjs +2 -0
  161. package/models.cjs.map +1 -0
  162. package/models.d.ts +1 -0
  163. package/models.js +42 -0
  164. package/models.js.map +1 -0
  165. package/package.json +39 -0
  166. package/pump-provider-86479YU2.cjs +2 -0
  167. package/pump-provider-86479YU2.cjs.map +1 -0
  168. package/pump-provider-DSyiDoPF.js +1304 -0
  169. package/pump-provider-DSyiDoPF.js.map +1 -0
  170. package/ui/contexts/assembly/assembly-provider.d.ts +12 -0
  171. package/ui/contexts/assembly/assembly-provider.d.ts.map +1 -0
  172. package/ui/contexts/assembly/index.d.ts +2 -0
  173. package/ui/contexts/assembly/index.d.ts.map +1 -0
  174. package/ui/contexts/availability/availability-provider.d.ts +13 -0
  175. package/ui/contexts/availability/availability-provider.d.ts.map +1 -0
  176. package/ui/contexts/availability/index.d.ts +2 -0
  177. package/ui/contexts/availability/index.d.ts.map +1 -0
  178. package/ui/contexts/board/board-provider.d.ts +13 -0
  179. package/ui/contexts/board/board-provider.d.ts.map +1 -0
  180. package/ui/contexts/board/index.d.ts +2 -0
  181. package/ui/contexts/board/index.d.ts.map +1 -0
  182. package/ui/contexts/board-container/board-container-provider.d.ts +12 -0
  183. package/ui/contexts/board-container/board-container-provider.d.ts.map +1 -0
  184. package/ui/contexts/board-container/index.d.ts +2 -0
  185. package/ui/contexts/board-container/index.d.ts.map +1 -0
  186. package/ui/contexts/cui-kit/cui-kit.d.ts +29 -0
  187. package/ui/contexts/cui-kit/cui-kit.d.ts.map +1 -0
  188. package/ui/contexts/cui-kit/index.d.ts +2 -0
  189. package/ui/contexts/cui-kit/index.d.ts.map +1 -0
  190. package/ui/contexts/device-assembly/device-assembly-provider.d.ts +12 -0
  191. package/ui/contexts/device-assembly/device-assembly-provider.d.ts.map +1 -0
  192. package/ui/contexts/device-assembly/index.d.ts +2 -0
  193. package/ui/contexts/device-assembly/index.d.ts.map +1 -0
  194. package/ui/contexts/holder/holder-provider.d.ts +13 -0
  195. package/ui/contexts/holder/holder-provider.d.ts.map +1 -0
  196. package/ui/contexts/holder/index.d.ts +2 -0
  197. package/ui/contexts/holder/index.d.ts.map +1 -0
  198. package/ui/contexts/holder-container/holder-container-provider.d.ts +13 -0
  199. package/ui/contexts/holder-container/holder-container-provider.d.ts.map +1 -0
  200. package/ui/contexts/holder-container/index.d.ts +2 -0
  201. package/ui/contexts/holder-container/index.d.ts.map +1 -0
  202. package/ui/contexts/index.d.ts +13 -0
  203. package/ui/contexts/index.d.ts.map +1 -0
  204. package/ui/contexts/ingredient/index.d.ts +2 -0
  205. package/ui/contexts/ingredient/index.d.ts.map +1 -0
  206. package/ui/contexts/ingredient/ingredient-provider.d.ts +13 -0
  207. package/ui/contexts/ingredient/ingredient-provider.d.ts.map +1 -0
  208. package/ui/contexts/ingredient-container/index.d.ts +2 -0
  209. package/ui/contexts/ingredient-container/index.d.ts.map +1 -0
  210. package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts +13 -0
  211. package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts.map +1 -0
  212. package/ui/contexts/nozzle/index.d.ts +2 -0
  213. package/ui/contexts/nozzle/index.d.ts.map +1 -0
  214. package/ui/contexts/nozzle/nozzle-provider.d.ts +13 -0
  215. package/ui/contexts/nozzle/nozzle-provider.d.ts.map +1 -0
  216. package/ui/contexts/pump/index.d.ts +2 -0
  217. package/ui/contexts/pump/index.d.ts.map +1 -0
  218. package/ui/contexts/pump/pump-provider.d.ts +13 -0
  219. package/ui/contexts/pump/pump-provider.d.ts.map +1 -0
  220. package/ui/hooks/assembly/index.d.ts +3 -0
  221. package/ui/hooks/assembly/index.d.ts.map +1 -0
  222. package/ui/hooks/assembly/use-assembly.d.ts +14 -0
  223. package/ui/hooks/assembly/use-assembly.d.ts.map +1 -0
  224. package/ui/hooks/assembly/with-assembly.d.ts +8 -0
  225. package/ui/hooks/assembly/with-assembly.d.ts.map +1 -0
  226. package/ui/hooks/availability/index.d.ts +3 -0
  227. package/ui/hooks/availability/index.d.ts.map +1 -0
  228. package/ui/hooks/availability/use-availability.d.ts +14 -0
  229. package/ui/hooks/availability/use-availability.d.ts.map +1 -0
  230. package/ui/hooks/availability/with-availability.d.ts +8 -0
  231. package/ui/hooks/availability/with-availability.d.ts.map +1 -0
  232. package/ui/hooks/board/index.d.ts +3 -0
  233. package/ui/hooks/board/index.d.ts.map +1 -0
  234. package/ui/hooks/board/use-board.d.ts +14 -0
  235. package/ui/hooks/board/use-board.d.ts.map +1 -0
  236. package/ui/hooks/board/with-board.d.ts +8 -0
  237. package/ui/hooks/board/with-board.d.ts.map +1 -0
  238. package/ui/hooks/board-container/index.d.ts +3 -0
  239. package/ui/hooks/board-container/index.d.ts.map +1 -0
  240. package/ui/hooks/board-container/use-board-container.d.ts +14 -0
  241. package/ui/hooks/board-container/use-board-container.d.ts.map +1 -0
  242. package/ui/hooks/board-container/with-board-container.d.ts +8 -0
  243. package/ui/hooks/board-container/with-board-container.d.ts.map +1 -0
  244. package/ui/hooks/cui-kit/index.d.ts +8 -0
  245. package/ui/hooks/cui-kit/index.d.ts.map +1 -0
  246. package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts +18 -0
  247. package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts.map +1 -0
  248. package/ui/hooks/cui-kit/use-beverages.d.ts +17 -0
  249. package/ui/hooks/cui-kit/use-beverages.d.ts.map +1 -0
  250. package/ui/hooks/cui-kit/use-brands.d.ts +17 -0
  251. package/ui/hooks/cui-kit/use-brands.d.ts.map +1 -0
  252. package/ui/hooks/cui-kit/use-cui-kit.d.ts +192 -0
  253. package/ui/hooks/cui-kit/use-cui-kit.d.ts.map +1 -0
  254. package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts +162 -0
  255. package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts.map +1 -0
  256. package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts +23 -0
  257. package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts.map +1 -0
  258. package/ui/hooks/cui-kit/use-dispense-timers.d.ts +17 -0
  259. package/ui/hooks/cui-kit/use-dispense-timers.d.ts.map +1 -0
  260. package/ui/hooks/cui-kit/use-flavors.d.ts +17 -0
  261. package/ui/hooks/cui-kit/use-flavors.d.ts.map +1 -0
  262. package/ui/hooks/device-assembly/index.d.ts +3 -0
  263. package/ui/hooks/device-assembly/index.d.ts.map +1 -0
  264. package/ui/hooks/device-assembly/use-device-assembly.d.ts +14 -0
  265. package/ui/hooks/device-assembly/use-device-assembly.d.ts.map +1 -0
  266. package/ui/hooks/device-assembly/with-device-assembly.d.ts +9 -0
  267. package/ui/hooks/device-assembly/with-device-assembly.d.ts.map +1 -0
  268. package/ui/hooks/generic-pour/index.d.ts +3 -0
  269. package/ui/hooks/generic-pour/index.d.ts.map +1 -0
  270. package/ui/hooks/generic-pour/use-generic-pour.d.ts +15 -0
  271. package/ui/hooks/generic-pour/use-generic-pour.d.ts.map +1 -0
  272. package/ui/hooks/generic-pour/with-generic-pour.d.ts +14 -0
  273. package/ui/hooks/generic-pour/with-generic-pour.d.ts.map +1 -0
  274. package/ui/hooks/holder/index.d.ts +3 -0
  275. package/ui/hooks/holder/index.d.ts.map +1 -0
  276. package/ui/hooks/holder/use-holder.d.ts +14 -0
  277. package/ui/hooks/holder/use-holder.d.ts.map +1 -0
  278. package/ui/hooks/holder/with-holder.d.ts +8 -0
  279. package/ui/hooks/holder/with-holder.d.ts.map +1 -0
  280. package/ui/hooks/holder-container/index.d.ts +3 -0
  281. package/ui/hooks/holder-container/index.d.ts.map +1 -0
  282. package/ui/hooks/holder-container/use-holder-container.d.ts +14 -0
  283. package/ui/hooks/holder-container/use-holder-container.d.ts.map +1 -0
  284. package/ui/hooks/holder-container/with-holder-container.d.ts +8 -0
  285. package/ui/hooks/holder-container/with-holder-container.d.ts.map +1 -0
  286. package/ui/hooks/index.d.ts +16 -0
  287. package/ui/hooks/index.d.ts.map +1 -0
  288. package/ui/hooks/ingredient/index.d.ts +4 -0
  289. package/ui/hooks/ingredient/index.d.ts.map +1 -0
  290. package/ui/hooks/ingredient/use-ingredient-pour.d.ts +49 -0
  291. package/ui/hooks/ingredient/use-ingredient-pour.d.ts.map +1 -0
  292. package/ui/hooks/ingredient/use-ingredient.d.ts +14 -0
  293. package/ui/hooks/ingredient/use-ingredient.d.ts.map +1 -0
  294. package/ui/hooks/ingredient/with-ingredient.d.ts +8 -0
  295. package/ui/hooks/ingredient/with-ingredient.d.ts.map +1 -0
  296. package/ui/hooks/ingredient-container/index.d.ts +3 -0
  297. package/ui/hooks/ingredient-container/index.d.ts.map +1 -0
  298. package/ui/hooks/ingredient-container/use-ingredient-container.d.ts +14 -0
  299. package/ui/hooks/ingredient-container/use-ingredient-container.d.ts.map +1 -0
  300. package/ui/hooks/ingredient-container/with-ingredient-container.d.ts +8 -0
  301. package/ui/hooks/ingredient-container/with-ingredient-container.d.ts.map +1 -0
  302. package/ui/hooks/nozzle/index.d.ts +3 -0
  303. package/ui/hooks/nozzle/index.d.ts.map +1 -0
  304. package/ui/hooks/nozzle/use-dispense-kit.d.ts +22 -0
  305. package/ui/hooks/nozzle/use-dispense-kit.d.ts.map +1 -0
  306. package/ui/hooks/nozzle/use-nozzle.d.ts +14 -0
  307. package/ui/hooks/nozzle/use-nozzle.d.ts.map +1 -0
  308. package/ui/hooks/nozzle/with-nozzle.d.ts +8 -0
  309. package/ui/hooks/nozzle/with-nozzle.d.ts.map +1 -0
  310. package/ui/hooks/nozzle-pour/index.d.ts +2 -0
  311. package/ui/hooks/nozzle-pour/index.d.ts.map +1 -0
  312. package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts +57 -0
  313. package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts.map +1 -0
  314. package/ui/hooks/pour/index.d.ts +2 -0
  315. package/ui/hooks/pour/index.d.ts.map +1 -0
  316. package/ui/hooks/pour/use-pour.d.ts +55 -0
  317. package/ui/hooks/pour/use-pour.d.ts.map +1 -0
  318. package/ui/hooks/pump/index.d.ts +3 -0
  319. package/ui/hooks/pump/index.d.ts.map +1 -0
  320. package/ui/hooks/pump/use-pump.d.ts +14 -0
  321. package/ui/hooks/pump/use-pump.d.ts.map +1 -0
  322. package/ui/hooks/pump/with-pump.d.ts +8 -0
  323. package/ui/hooks/pump/with-pump.d.ts.map +1 -0
  324. package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts +5 -0
  325. package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts.map +1 -0
  326. package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts +4 -0
  327. package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts.map +1 -0
  328. package/ui/hooks/utils/pour-strategy/index.d.ts +7 -0
  329. package/ui/hooks/utils/pour-strategy/index.d.ts.map +1 -0
  330. package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts +16 -0
  331. package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts.map +1 -0
  332. package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts +13 -0
  333. package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts.map +1 -0
  334. package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts +5 -0
  335. package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts.map +1 -0
  336. package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts +4 -0
  337. package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts.map +1 -0
  338. package/ui/index.d.ts +4 -0
  339. package/ui/index.d.ts.map +1 -0
  340. package/ui/utils/pour-context.d.ts +8 -0
  341. package/ui/utils/pour-context.d.ts.map +1 -0
  342. package/ui.cjs +2 -0
  343. package/ui.cjs.map +1 -0
  344. package/ui.d.ts +1 -0
  345. package/ui.js +75 -0
  346. package/ui.js.map +1 -0
@@ -0,0 +1,13 @@
1
+ export * from './assembly';
2
+ export * from './availability';
3
+ export * from './board';
4
+ export * from './board-container';
5
+ export * from './cui-kit';
6
+ export * from './device-assembly';
7
+ export * from './holder';
8
+ export * from './holder-container';
9
+ export * from './ingredient';
10
+ export * from './ingredient-container';
11
+ export * from './nozzle';
12
+ export * from './pump';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ingredient-provider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/ingredient/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { IngredientModel } from '../../../models';
2
+ import { PropsWithChildren } from 'react';
3
+
4
+ interface IngredientType {
5
+ model?: IngredientModel;
6
+ }
7
+ interface IngredientProviderProps {
8
+ id?: string;
9
+ }
10
+ export declare const IngredientProvider: React.FunctionComponent<PropsWithChildren<IngredientProviderProps>>;
11
+ export declare const useIngredientContext: () => IngredientType;
12
+ export {};
13
+ //# sourceMappingURL=ingredient-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingredient-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/ingredient/ingredient-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAGD,UAAU,uBAAuB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CACtD,iBAAiB,CAAC,uBAAuB,CAAC,CAU3C,CAAC;AACF,eAAO,MAAM,oBAAoB,sBAQhC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ingredient-container-provider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/ingredient-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { IngredientContainerModel } from '../../../models';
2
+ import { PropsWithChildren } from 'react';
3
+
4
+ interface IngredientContainerType {
5
+ model?: IngredientContainerModel;
6
+ }
7
+ interface IngredientContainerProviderProps {
8
+ id?: string;
9
+ }
10
+ export declare const IngredientContainerProvider: React.FunctionComponent<PropsWithChildren<IngredientContainerProviderProps>>;
11
+ export declare const useIngredientContainerContext: () => IngredientContainerType;
12
+ export {};
13
+ //# sourceMappingURL=ingredient-container-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingredient-container-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/ingredient-container/ingredient-container-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,wBAAwB,CAAC;CAClC;AAKD,UAAU,gCAAgC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,iBAAiB,CAC/D,iBAAiB,CAAC,gCAAgC,CAAC,CAcpD,CAAC;AACF,eAAO,MAAM,6BAA6B,+BAQzC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './nozzle-provider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/nozzle/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { NozzleModel } from '../../../models';
2
+ import { PropsWithChildren } from 'react';
3
+
4
+ interface NozzleType {
5
+ model?: NozzleModel;
6
+ }
7
+ interface NozzleProviderProps {
8
+ path: string;
9
+ }
10
+ export declare const NozzleProvider: React.FunctionComponent<PropsWithChildren<NozzleProviderProps>>;
11
+ export declare const useNozzleContext: () => NozzleType;
12
+ export {};
13
+ //# sourceMappingURL=nozzle-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nozzle-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/nozzle/nozzle-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAGD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAClD,iBAAiB,CAAC,mBAAmB,CAAC,CAUvC,CAAC;AACF,eAAO,MAAM,gBAAgB,kBAM5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './pump-provider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/pump/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { PumpModel } from '../../../models';
2
+ import { PropsWithChildren } from 'react';
3
+
4
+ interface PumpType {
5
+ model?: PumpModel;
6
+ }
7
+ interface PumpProviderProps {
8
+ id?: string;
9
+ }
10
+ export declare const PumpProvider: React.FunctionComponent<PropsWithChildren<PumpProviderProps>>;
11
+ export declare const usePumpContext: () => PumpType;
12
+ export {};
13
+ //# sourceMappingURL=pump-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pump-provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/contexts/pump/pump-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsC,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,UAAU,QAAQ;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAGD,UAAU,iBAAiB;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAChD,iBAAiB,CAAC,iBAAiB,CAAC,CAUrC,CAAC;AACF,eAAO,MAAM,cAAc,gBAM1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './use-assembly';
2
+ export * from './with-assembly';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/assembly/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { AssemblyModel } from '../../../models';
2
+
3
+ export declare const useAssembly: () => {
4
+ model: AssemblyModel<any, any> | undefined;
5
+ ready: boolean;
6
+ error: string | undefined;
7
+ status: {
8
+ model: AssemblyModel<any, any> | undefined;
9
+ ready: boolean;
10
+ error: string | undefined;
11
+ };
12
+ KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
13
+ };
14
+ //# sourceMappingURL=use-assembly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/assembly/use-assembly.ts"],"names":[],"mappings":";AACA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE/D,eAAO,MAAM,WAAW;;;;;;;;;;CASvB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { AssemblyModel } from '../../../models';
2
+
3
+ interface AssemblyProps {
4
+ assembly: AssemblyModel;
5
+ }
6
+ export declare function withAssembly<T extends AssemblyProps = AssemblyProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof AssemblyProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=with-assembly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/assembly/with-assembly.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,UAAU,aAAa;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EAClE,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,WAEzB,KAAK,CAAC,EAAE,MAAM,aAAa,CAAC,sDAS5C"}
@@ -0,0 +1,3 @@
1
+ export * from './use-availability';
2
+ export * from './with-availability';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/availability/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { AvailabilityModel } from '../../../models';
2
+
3
+ export declare const useAvailability: () => {
4
+ model: AvailabilityModel<any, Record<string, any>> | undefined;
5
+ ready: boolean;
6
+ error: string | undefined;
7
+ status: {
8
+ model: AvailabilityModel<any, Record<string, any>> | undefined;
9
+ ready: boolean;
10
+ error: string | undefined;
11
+ };
12
+ KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
13
+ };
14
+ //# sourceMappingURL=use-availability.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-availability.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/availability/use-availability.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEvE,eAAO,MAAM,eAAe;;;;;;;;;;CAS3B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { AvailabilityModel } from '../../../models';
2
+
3
+ interface AvailabilityProps {
4
+ beverage: AvailabilityModel;
5
+ }
6
+ export declare function withBeverage<T extends AvailabilityProps = AvailabilityProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof AvailabilityProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=with-availability.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-availability.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/availability/with-availability.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,iBAAiB;IACzB,QAAQ,EAAE,iBAAiB,CAAC;CAC7B;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,EAC1E,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,WAEzB,KAAK,CAAC,EAAE,MAAM,iBAAiB,CAAC,sDAShD"}
@@ -0,0 +1,3 @@
1
+ export * from './use-board';
2
+ export * from './with-board';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { BoardModel } from '../../../models';
2
+
3
+ export declare const useBoard: (id: string) => {
4
+ model: BoardModel<{}> | undefined;
5
+ ready: boolean;
6
+ error: string | undefined;
7
+ status: {
8
+ model: BoardModel<{}> | undefined;
9
+ ready: boolean;
10
+ error: string | undefined;
11
+ };
12
+ KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
13
+ };
14
+ //# sourceMappingURL=use-board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-board.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board/use-board.ts"],"names":[],"mappings":";AACA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEzD,eAAO,MAAM,QAAQ,OAAQ,MAAM;;;;;;;;;;CASlC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { BoardModel } from '../../../models';
2
+
3
+ interface BoardProps {
4
+ board: BoardModel;
5
+ }
6
+ export declare function withBoard<T extends BoardProps = BoardProps>(WrappedComponent: React.ComponentType<T>): (id: string) => (props: Omit<T, keyof BoardProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=with-board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-board.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board/with-board.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,UAAU,UAAU;IAClB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EACzD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,QAE5B,MAAM,aAAa,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,sDASzD"}
@@ -0,0 +1,3 @@
1
+ export * from './use-board-container';
2
+ export * from './with-board-container';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board-container/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { BoardContainerModel } from '../../../models';
2
+
3
+ export declare const useBoardContainer: () => {
4
+ model: BoardContainerModel | undefined;
5
+ ready: boolean;
6
+ error: string | undefined;
7
+ status: {
8
+ model: BoardContainerModel | undefined;
9
+ ready: boolean;
10
+ error: string | undefined;
11
+ };
12
+ KosModelLoader: import('react').FunctionComponent<import('react').PropsWithChildren<import('packages/sdk/kos-ui-sdk/src/ui/components/error-boundary/error-boundary').ErrorBoundaryProps & import('@kosdev-code/kos-ui-sdk').KosModelLoaderProps>>;
13
+ };
14
+ //# sourceMappingURL=use-board-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-board-container.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board-container/use-board-container.ts"],"names":[],"mappings":";AACA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,iBAAiB;;;;;;;;;;CAS7B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { BoardContainerModel } from '../../../models';
2
+
3
+ interface BoardContainerProps {
4
+ boardContainer: BoardContainerModel;
5
+ }
6
+ export declare function withBoardContainer<T extends BoardContainerProps = BoardContainerProps>(WrappedComponent: React.ComponentType<T>): (props: Omit<T, keyof BoardContainerProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=with-board-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-board-container.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/board-container/with-board-container.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG3D,UAAU,mBAAmB;IAC3B,cAAc,EAAE,mBAAmB,CAAC;CACrC;AAED,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,EACnD,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,WACzB,KAAK,CAAC,EAAE,MAAM,mBAAmB,CAAC,sDASlD"}
@@ -0,0 +1,8 @@
1
+ export * from './use-beverages';
2
+ export * from './use-brands';
3
+ export * from './use-cui-kit';
4
+ export * from './use-default-cui-kit-lifecycle';
5
+ export * from './use-dispense-lifecycle';
6
+ export * from './use-dispense-timers';
7
+ export * from './use-flavors';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { KosTimer } from '@kosdev-code/kos-ui-sdk';
2
+
3
+ interface TimerProps {
4
+ defaultAmbientTime?: number;
5
+ defaultAttractTime?: number;
6
+ onAttractTimer?: VoidFunction;
7
+ onAmbientTimer?: VoidFunction;
8
+ onResetAttractTimer?: VoidFunction;
9
+ onResumeAttractTimer?: VoidFunction;
10
+ }
11
+ export declare const useAmbientAttractTimers: (props: TimerProps) => {
12
+ attractTimer: KosTimer | null;
13
+ restart: () => void;
14
+ pause: () => void;
15
+ resume: () => void;
16
+ };
17
+ export {};
18
+ //# sourceMappingURL=use-ambient-attract-timers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-ambient-attract-timers.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-ambient-attract-timers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAI9E,UAAU,UAAU;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,oBAAoB,CAAC,EAAE,YAAY,CAAC;CACrC;AAED,eAAO,MAAM,uBAAuB,UAAW,UAAU;;;;;CAgGxD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { AvailabilityModel } from '../../../models';
2
+ import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
3
+
4
+ interface Props {
5
+ onBeverageSelected?: (brand: AvailabilityModel) => void;
6
+ onClearBeverage?: () => void;
7
+ companionType?: string;
8
+ }
9
+ export declare const useBeverages: <B extends Record<string, any> = any, C extends IKosDataModel = IKosDataModel>({ onBeverageSelected, onClearBeverage, companionType, }: Props) => {
10
+ beverages: AvailabilityModel<B, Record<string, any>>[];
11
+ beverageCompanions: C[];
12
+ selectBeverage: (beverage: AvailabilityModel) => Promise<void>;
13
+ selectedBeverage: AvailabilityModel<B, Record<string, any>> | null;
14
+ clearBeverage: () => Promise<void>;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=use-beverages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-beverages.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-beverages.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,KAAK;IACb,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,YAAY,0IAOtB,KAAK;;;+BAaa,iBAAiB;;;CAwCrC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { AvailabilityModel } from '../../../models';
2
+ import { IKosDataModel } from '@kosdev-code/kos-ui-sdk';
3
+
4
+ interface Props {
5
+ onBrandSelected?: (brand: AvailabilityModel) => void;
6
+ onBrandCleared?: () => void;
7
+ companionType?: string;
8
+ }
9
+ export declare const useBrands: <B extends Record<string, any> = any, C extends IKosDataModel = IKosDataModel>({ onBrandSelected, onBrandCleared, companionType, }: Props) => {
10
+ brands: AvailabilityModel<B, Record<string, any>>[];
11
+ brandCompanions: C[];
12
+ selectedBrand: AvailabilityModel<B, Record<string, any>> | null;
13
+ selectBrand: (brand: AvailabilityModel<B>) => Promise<void>;
14
+ clearBrand: () => void;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=use-brands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-brands.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-brands.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,UAAU,KAAK;IACb,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACrD,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,SAAS,sIAOnB,KAAK;;;;yBAaU,kBAAkB,CAAC,CAAC;;CA+BrC,CAAC"}
@@ -0,0 +1,192 @@
1
+ import { useNozzlePour } from '../nozzle-pour/use-nozzle-pour';
2
+ import { PourContext } from '../../utils/pour-context';
3
+ import { AvailabilityModel } from '../../../models';
4
+ import { IKosDataModel, KosTimer } from '@kosdev-code/kos-ui-sdk';
5
+
6
+ export declare const DISPENSE_GROUP_BRAND = "brands";
7
+ export declare const DISPENSE_GROUP_BEVERAGE = "beverages";
8
+ export declare const DISPENSE_GROUP_FLAVOR = "flavors";
9
+ type InitialGroup = typeof DISPENSE_GROUP_BRAND | typeof DISPENSE_GROUP_BEVERAGE;
10
+ export interface UseCuiKitProps {
11
+ /**
12
+ * The initial group to display when the cui kit is first rendered.
13
+ * The default is to start at the list of brands however for simpler cases
14
+ * it may be desirable to start at the list of beverages.
15
+ */
16
+ initialGroup?: InitialGroup;
17
+ /**
18
+ * Options to configure the behavior of the cui kit.
19
+ */
20
+ options?: {
21
+ /**
22
+ * The companion types to associate with the brand, beverage, and flavor models. This
23
+ * is useful when companion models have been created to represent the brand, beverage, and flavor
24
+ * models rather than merely augmenting the AvailabilityModel data.
25
+ */
26
+ companionTypes?: {
27
+ /**
28
+ * The model type of the brand companion.
29
+ */
30
+ brand?: string;
31
+ /**
32
+ * The model type of the beverage companion.
33
+ */
34
+ beverage?: string;
35
+ /**
36
+ * The model type of the flavor companion.
37
+ */
38
+ flavor?: string;
39
+ };
40
+ };
41
+ }
42
+ interface DispenseGroupType<AdditionalData extends Record<string, any> = any, Companion extends IKosDataModel = IKosDataModel> {
43
+ /**
44
+ * The list of AvailabilityModels to display in the group.
45
+ */
46
+ models: AvailabilityModel<AdditionalData>[];
47
+ /**
48
+ * The list of companion models that are associated with the models in the group.
49
+ *
50
+ * If no companion model types are provided in the options, this list will be empty.
51
+ */
52
+ companions?: Companion[];
53
+ /**
54
+ * Clear the current selection in the group. This will reset the group to its initial state.
55
+ */
56
+ clear: VoidFunction;
57
+ /**
58
+ * The event handlers for the group. These handlers will be called when a model in the group is selected.
59
+ */
60
+ handlers: {
61
+ /**
62
+ * The handler to call when a model in the group is selected.
63
+ */
64
+ onSelected: (model: AvailabilityModel<AdditionalData>) => void;
65
+ };
66
+ }
67
+ export interface CuiKitType<BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any, BrandCompanion extends IKosDataModel = IKosDataModel, BeverageCompanion extends IKosDataModel = IKosDataModel, FlavorCompanion extends IKosDataModel = IKosDataModel> {
68
+ /**
69
+ * Provides functions and status related to the timers in the cui kit if available.
70
+ */
71
+ timers: {
72
+ /**
73
+ * Adds a timer to the cui kit. This will be used by a cui kit lifecycle manager to
74
+ * manage the timers in the kit.
75
+ * The timers will be paused and restarted as needed based on the lifecycle of the cui kit
76
+ * @param timer - the timer to add to the cui kit.
77
+ * @returns void
78
+ */
79
+ add: (timer?: KosTimer | null) => void;
80
+ /**
81
+ * Pauses all timers in the cui kit.
82
+ */
83
+ pause: VoidFunction;
84
+ /**
85
+ * Restarts all timers in the cui kit.
86
+ */
87
+ restart: VoidFunction;
88
+ };
89
+ /**
90
+ * The navigation state of the cui kit.
91
+ */
92
+ nav: {
93
+ /**
94
+ * The current group that is being displayed.
95
+ */
96
+ currentGroup: string;
97
+ /**
98
+ * The handler to navigate back to the previous group.
99
+ */
100
+ back: VoidFunction;
101
+ /**
102
+ * The handler to navigate to the initial group as defined in the options.
103
+ */
104
+ home: VoidFunction;
105
+ };
106
+ /**
107
+ * Provides functions and status related to the pour operation.
108
+ */
109
+ pour: ReturnType<typeof useNozzlePour>;
110
+ updateOnBeforePour: (callback: (context?: PourContext) => Promise<boolean>) => void;
111
+ /**
112
+ * The current selections of the cui kit.
113
+ */
114
+ selections: {
115
+ /**
116
+ * The selected brand model.
117
+ */
118
+ [DISPENSE_GROUP_BRAND]: AvailabilityModel<BrandData> | null;
119
+ /**
120
+ * The selected beverage model.
121
+ */
122
+ [DISPENSE_GROUP_BEVERAGE]: AvailabilityModel<BeverageData> | null;
123
+ /**
124
+ * The selected flavor models.
125
+ */
126
+ [DISPENSE_GROUP_FLAVOR]: AvailabilityModel<FlavorData>[] | null;
127
+ };
128
+ /**
129
+ * The brands modules provides the state and handlers required to manage the set of brands for the dispenser:
130
+ *
131
+ * @property {AvailabilityModel<BrandData>[]} models - The list of brands for the dispenser.
132
+ *
133
+ * The models will be instances of AvailabilityModel<BrandData> with any data mappings already
134
+ * applied to the data property on the model.
135
+ *
136
+ * Since these are KOS models, any changes to the model state will be automatically reflected in any components consuming them.
137
+ *
138
+ * @property {BrandCompanion[]} companions - In more advanced cases, the KOS framework allows you to define additional models
139
+ * that will get created alongside the brand AvailabilityModels instances.
140
+ * Using these companions as a form of extension, this field will return the corresponding set of companion models that
141
+ * represent your custom brands.
142
+
143
+ * @property {Object} handlers - Contains handler methods.
144
+ * @property {Function} handlers.onSelected - When a user selects a brand, this handler can be called with the selected AvailabilityModel
145
+ * to ensure that the CUI Kit state is kept up to date.
146
+ *
147
+ * @property {Function} clear - Calling this function will clear the selected brand and beverage in the CUI Kit. This updates the state both locally
148
+ * and in the backend by clearing the selection in the Dispense SDK NozzleModel.
149
+ */
150
+ [DISPENSE_GROUP_BRAND]: DispenseGroupType<BrandData, BrandCompanion>;
151
+ /**
152
+ * The beverages modules provides the state and handlers required to manage the set of beverages for the current brand selection:
153
+ *
154
+ * @property {AvailabilityModel<BeverageData>[]} models - The list of beverages for the current brand selection. As the user selects brands
155
+ * in the UI then this list of beverages will be updated to reflect new selection. If there are no brands
156
+ * defined in the brandset then this will always return the full list of beverages.
157
+ *
158
+ * The models will be instances of AvailabilityModel<T> with any data mappings (shown in the next section) already
159
+ * applied to the data property on the model.
160
+ *
161
+ * Since these are KOS models, any changes to the model state will be automatically reflected in any components consuming them.
162
+ *
163
+ * @property {BeverageCompanion[]} companions - In more advanced cases, the KOS framework allows you to define additional models
164
+ * that will get created alongside the “beverage” AvailabilityModels instances.
165
+ *
166
+ * This is useful in cases where new functionality beyond what is exposed in the AvailabilityModel is required. For
167
+ * example, if in your application, you need Beverages to be able to fetch nutritional information on selection then
168
+ * you could create a companion model that will get created for each AvailabilityModel and expose the methods and
169
+ * data to retrieve this information.
170
+ *
171
+ * Using these companions as a form of extension, this field will return the corresponding set of companion models that
172
+ * represent your custom beverages.
173
+
174
+ * @property {Object} handlers - Contains handler methods.
175
+ * @property {Function} handlers.onSelected - When a user selects a beverage, this handler can be called with the selected AvailabilityModel
176
+ * to ensure that the CUI Kit state is kept up to date.
177
+ *
178
+ * @property {Function} clear - Calling this function will clear the selected beverage in the CUI Kit. This updates the state both locally
179
+ * and in the backend by clearing the selection in the Dispense SDK NozzleModel.
180
+ */
181
+ [DISPENSE_GROUP_BEVERAGE]: DispenseGroupType<BeverageData, BeverageCompanion>;
182
+ /**
183
+ * The group of flavors to display. This list will be filtered
184
+ * based on previous selections and the relationships of the models in the graph.
185
+ * For example, if a beverage has been selected, this will return the list of flavors that
186
+ * are associated with the selected beverage. Otherwise, it will return the list of all flavors.
187
+ */
188
+ [DISPENSE_GROUP_FLAVOR]: DispenseGroupType<FlavorData, FlavorCompanion>;
189
+ }
190
+ export declare const useCuiKit: <BrandData extends Record<string, any> = any, BeverageData extends Record<string, any> = any, FlavorData extends Record<string, any> = any, BrandCompanion extends IKosDataModel = IKosDataModel, BeverageCompanion extends IKosDataModel = IKosDataModel, FlavorCompanion extends IKosDataModel = IKosDataModel>({ initialGroup, options, }: UseCuiKitProps) => CuiKitType<BrandData, BeverageData, FlavorData, BrandCompanion, BeverageCompanion, FlavorCompanion>;
191
+ export {};
192
+ //# sourceMappingURL=use-cui-kit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-cui-kit.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/ui/hooks/cui-kit/use-cui-kit.ts"],"names":[],"mappings":"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"}