@inorain_development/hotel-smarters-chat-ui 1.2.2 → 1.3.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 (339) hide show
  1. package/lib/commonjs/features/chat/components/common/calendar-icon.js +33 -0
  2. package/lib/commonjs/features/chat/components/common/calendar-icon.js.map +1 -0
  3. package/lib/commonjs/features/chat/components/common/calendar-icon.native.js +33 -0
  4. package/lib/commonjs/features/chat/components/common/calendar-icon.native.js.map +1 -0
  5. package/lib/commonjs/features/chat/components/common/cart-icon.js +36 -0
  6. package/lib/commonjs/features/chat/components/common/cart-icon.js.map +1 -0
  7. package/lib/commonjs/features/chat/components/common/chevron-icon.js +26 -0
  8. package/lib/commonjs/features/chat/components/common/chevron-icon.js.map +1 -0
  9. package/lib/commonjs/features/chat/components/common/chevron-icon.native.js +26 -0
  10. package/lib/commonjs/features/chat/components/common/chevron-icon.native.js.map +1 -0
  11. package/lib/commonjs/features/chat/components/common/plane-icon.js +23 -0
  12. package/lib/commonjs/features/chat/components/common/plane-icon.js.map +1 -0
  13. package/lib/commonjs/features/chat/components/common/plane-icon.native.js +23 -0
  14. package/lib/commonjs/features/chat/components/common/plane-icon.native.js.map +1 -0
  15. package/lib/commonjs/features/chat/components/flight/flight-card.js +130 -0
  16. package/lib/commonjs/features/chat/components/flight/flight-card.js.map +1 -0
  17. package/lib/commonjs/features/chat/components/flight/flight-card.native.js +132 -0
  18. package/lib/commonjs/features/chat/components/flight/flight-card.native.js.map +1 -0
  19. package/lib/commonjs/features/chat/components/flight/flight.js +149 -0
  20. package/lib/commonjs/features/chat/components/flight/flight.js.map +1 -0
  21. package/lib/commonjs/features/chat/components/flight/flight.model.js +6 -0
  22. package/lib/commonjs/features/chat/components/flight/flight.model.js.map +1 -0
  23. package/lib/commonjs/features/chat/components/flight/flight.native.js +151 -0
  24. package/lib/commonjs/features/chat/components/flight/flight.native.js.map +1 -0
  25. package/lib/commonjs/features/chat/components/flight/index.js +13 -0
  26. package/lib/commonjs/features/chat/components/flight/index.js.map +1 -0
  27. package/lib/commonjs/features/chat/components/flight-board/flight-board.js +154 -0
  28. package/lib/commonjs/features/chat/components/flight-board/flight-board.js.map +1 -0
  29. package/lib/commonjs/features/chat/components/flight-board/flight-board.model.js +6 -0
  30. package/lib/commonjs/features/chat/components/flight-board/flight-board.model.js.map +1 -0
  31. package/lib/commonjs/features/chat/components/flight-board/flight-board.native.js +165 -0
  32. package/lib/commonjs/features/chat/components/flight-board/flight-board.native.js.map +1 -0
  33. package/lib/commonjs/features/chat/components/flight-board/index.js +13 -0
  34. package/lib/commonjs/features/chat/components/flight-board/index.js.map +1 -0
  35. package/lib/commonjs/features/chat/components/info/info.js +41 -14
  36. package/lib/commonjs/features/chat/components/info/info.js.map +1 -1
  37. package/lib/commonjs/features/chat/components/info/info.native.js +45 -14
  38. package/lib/commonjs/features/chat/components/info/info.native.js.map +1 -1
  39. package/lib/commonjs/features/chat/components/order/index.js +20 -0
  40. package/lib/commonjs/features/chat/components/order/index.js.map +1 -0
  41. package/lib/commonjs/features/chat/components/order/order.js +168 -0
  42. package/lib/commonjs/features/chat/components/order/order.js.map +1 -0
  43. package/lib/commonjs/features/chat/components/order/order.model.js +15 -0
  44. package/lib/commonjs/features/chat/components/order/order.model.js.map +1 -0
  45. package/lib/commonjs/features/chat/components/order/order.native.js +186 -0
  46. package/lib/commonjs/features/chat/components/order/order.native.js.map +1 -0
  47. package/lib/commonjs/features/chat/components/reservation/index.js +20 -0
  48. package/lib/commonjs/features/chat/components/reservation/index.js.map +1 -0
  49. package/lib/commonjs/features/chat/components/reservation/reservation.js +165 -0
  50. package/lib/commonjs/features/chat/components/reservation/reservation.js.map +1 -0
  51. package/lib/commonjs/features/chat/components/reservation/reservation.model.js +13 -0
  52. package/lib/commonjs/features/chat/components/reservation/reservation.model.js.map +1 -0
  53. package/lib/commonjs/features/chat/components/reservation/reservation.native.js +180 -0
  54. package/lib/commonjs/features/chat/components/reservation/reservation.native.js.map +1 -0
  55. package/lib/commonjs/features/chat/model/chat.model.js +17 -1
  56. package/lib/commonjs/features/chat/model/chat.model.js.map +1 -1
  57. package/lib/commonjs/features/chat/renderer/renderer.js +26 -0
  58. package/lib/commonjs/features/chat/renderer/renderer.js.map +1 -1
  59. package/lib/commonjs/features/chat/renderer/renderer.native.js +26 -0
  60. package/lib/commonjs/features/chat/renderer/renderer.native.js.map +1 -1
  61. package/lib/commonjs/native.js +48 -0
  62. package/lib/commonjs/native.js.map +1 -1
  63. package/lib/commonjs/utils/flight.utils.js +86 -0
  64. package/lib/commonjs/utils/flight.utils.js.map +1 -0
  65. package/lib/commonjs/utils/order.utils.js +24 -0
  66. package/lib/commonjs/utils/order.utils.js.map +1 -0
  67. package/lib/commonjs/utils/reservation.utils.js +22 -0
  68. package/lib/commonjs/utils/reservation.utils.js.map +1 -0
  69. package/lib/commonjs/utils/status-badge.utils.js +75 -0
  70. package/lib/commonjs/utils/status-badge.utils.js.map +1 -0
  71. package/lib/commonjs/utils/theme.utils.js +8 -2
  72. package/lib/commonjs/utils/theme.utils.js.map +1 -1
  73. package/lib/commonjs/web.js +48 -0
  74. package/lib/commonjs/web.js.map +1 -1
  75. package/lib/module/features/chat/components/common/calendar-icon.js +29 -0
  76. package/lib/module/features/chat/components/common/calendar-icon.js.map +1 -0
  77. package/lib/module/features/chat/components/common/calendar-icon.native.js +29 -0
  78. package/lib/module/features/chat/components/common/calendar-icon.native.js.map +1 -0
  79. package/lib/module/features/chat/components/common/cart-icon.js +32 -0
  80. package/lib/module/features/chat/components/common/cart-icon.js.map +1 -0
  81. package/lib/module/features/chat/components/common/chevron-icon.js +22 -0
  82. package/lib/module/features/chat/components/common/chevron-icon.js.map +1 -0
  83. package/lib/module/features/chat/components/common/chevron-icon.native.js +22 -0
  84. package/lib/module/features/chat/components/common/chevron-icon.native.js.map +1 -0
  85. package/lib/module/features/chat/components/common/plane-icon.js +19 -0
  86. package/lib/module/features/chat/components/common/plane-icon.js.map +1 -0
  87. package/lib/module/features/chat/components/common/plane-icon.native.js +19 -0
  88. package/lib/module/features/chat/components/common/plane-icon.native.js.map +1 -0
  89. package/lib/module/features/chat/components/flight/flight-card.js +126 -0
  90. package/lib/module/features/chat/components/flight/flight-card.js.map +1 -0
  91. package/lib/module/features/chat/components/flight/flight-card.native.js +128 -0
  92. package/lib/module/features/chat/components/flight/flight-card.native.js.map +1 -0
  93. package/lib/module/features/chat/components/flight/flight.js +145 -0
  94. package/lib/module/features/chat/components/flight/flight.js.map +1 -0
  95. package/lib/module/features/chat/components/flight/flight.model.js +4 -0
  96. package/lib/module/features/chat/components/flight/flight.model.js.map +1 -0
  97. package/lib/module/features/chat/components/flight/flight.native.js +147 -0
  98. package/lib/module/features/chat/components/flight/flight.native.js.map +1 -0
  99. package/lib/module/features/chat/components/flight/index.js +4 -0
  100. package/lib/module/features/chat/components/flight/index.js.map +1 -0
  101. package/lib/module/features/chat/components/flight-board/flight-board.js +150 -0
  102. package/lib/module/features/chat/components/flight-board/flight-board.js.map +1 -0
  103. package/lib/module/features/chat/components/flight-board/flight-board.model.js +4 -0
  104. package/lib/module/features/chat/components/flight-board/flight-board.model.js.map +1 -0
  105. package/lib/module/features/chat/components/flight-board/flight-board.native.js +161 -0
  106. package/lib/module/features/chat/components/flight-board/flight-board.native.js.map +1 -0
  107. package/lib/module/features/chat/components/flight-board/index.js +4 -0
  108. package/lib/module/features/chat/components/flight-board/index.js.map +1 -0
  109. package/lib/module/features/chat/components/info/info.js +41 -14
  110. package/lib/module/features/chat/components/info/info.js.map +1 -1
  111. package/lib/module/features/chat/components/info/info.native.js +46 -15
  112. package/lib/module/features/chat/components/info/info.native.js.map +1 -1
  113. package/lib/module/features/chat/components/order/index.js +5 -0
  114. package/lib/module/features/chat/components/order/index.js.map +1 -0
  115. package/lib/module/features/chat/components/order/order.js +164 -0
  116. package/lib/module/features/chat/components/order/order.js.map +1 -0
  117. package/lib/module/features/chat/components/order/order.model.js +11 -0
  118. package/lib/module/features/chat/components/order/order.model.js.map +1 -0
  119. package/lib/module/features/chat/components/order/order.native.js +182 -0
  120. package/lib/module/features/chat/components/order/order.native.js.map +1 -0
  121. package/lib/module/features/chat/components/reservation/index.js +5 -0
  122. package/lib/module/features/chat/components/reservation/index.js.map +1 -0
  123. package/lib/module/features/chat/components/reservation/reservation.js +161 -0
  124. package/lib/module/features/chat/components/reservation/reservation.js.map +1 -0
  125. package/lib/module/features/chat/components/reservation/reservation.model.js +9 -0
  126. package/lib/module/features/chat/components/reservation/reservation.model.js.map +1 -0
  127. package/lib/module/features/chat/components/reservation/reservation.native.js +176 -0
  128. package/lib/module/features/chat/components/reservation/reservation.native.js.map +1 -0
  129. package/lib/module/features/chat/model/chat.model.js +16 -0
  130. package/lib/module/features/chat/model/chat.model.js.map +1 -1
  131. package/lib/module/features/chat/renderer/renderer.js +26 -0
  132. package/lib/module/features/chat/renderer/renderer.js.map +1 -1
  133. package/lib/module/features/chat/renderer/renderer.native.js +26 -0
  134. package/lib/module/features/chat/renderer/renderer.native.js.map +1 -1
  135. package/lib/module/native.js +7 -1
  136. package/lib/module/native.js.map +1 -1
  137. package/lib/module/utils/flight.utils.js +82 -0
  138. package/lib/module/utils/flight.utils.js.map +1 -0
  139. package/lib/module/utils/order.utils.js +20 -0
  140. package/lib/module/utils/order.utils.js.map +1 -0
  141. package/lib/module/utils/reservation.utils.js +18 -0
  142. package/lib/module/utils/reservation.utils.js.map +1 -0
  143. package/lib/module/utils/status-badge.utils.js +70 -0
  144. package/lib/module/utils/status-badge.utils.js.map +1 -0
  145. package/lib/module/utils/theme.utils.js +8 -2
  146. package/lib/module/utils/theme.utils.js.map +1 -1
  147. package/lib/module/web.js +7 -1
  148. package/lib/module/web.js.map +1 -1
  149. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.d.ts +6 -0
  150. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.native.d.ts +6 -0
  152. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.native.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/features/chat/components/common/cart-icon.d.ts +6 -0
  154. package/lib/typescript/commonjs/features/chat/components/common/cart-icon.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.d.ts +6 -0
  156. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.native.d.ts +6 -0
  158. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.native.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.d.ts +6 -0
  160. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.native.d.ts +6 -0
  162. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.native.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.d.ts +12 -0
  164. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.native.d.ts +12 -0
  166. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.native.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/features/chat/components/flight/flight.d.ts +4 -0
  168. package/lib/typescript/commonjs/features/chat/components/flight/flight.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/features/chat/components/flight/flight.model.d.ts +19 -0
  170. package/lib/typescript/commonjs/features/chat/components/flight/flight.model.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/features/chat/components/flight/flight.native.d.ts +4 -0
  172. package/lib/typescript/commonjs/features/chat/components/flight/flight.native.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/features/chat/components/flight/index.d.ts +3 -0
  174. package/lib/typescript/commonjs/features/chat/components/flight/index.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.d.ts +4 -0
  176. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts +22 -0
  178. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts +4 -0
  180. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/features/chat/components/flight-board/index.d.ts +3 -0
  182. package/lib/typescript/commonjs/features/chat/components/flight-board/index.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/features/chat/components/info/info.d.ts +1 -1
  184. package/lib/typescript/commonjs/features/chat/components/info/info.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/features/chat/components/info/info.model.d.ts +3 -0
  186. package/lib/typescript/commonjs/features/chat/components/info/info.model.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/features/chat/components/info/info.native.d.ts +1 -1
  188. package/lib/typescript/commonjs/features/chat/components/info/info.native.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/features/chat/components/order/index.d.ts +4 -0
  190. package/lib/typescript/commonjs/features/chat/components/order/index.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/features/chat/components/order/order.d.ts +4 -0
  192. package/lib/typescript/commonjs/features/chat/components/order/order.d.ts.map +1 -0
  193. package/lib/typescript/commonjs/features/chat/components/order/order.model.d.ts +30 -0
  194. package/lib/typescript/commonjs/features/chat/components/order/order.model.d.ts.map +1 -0
  195. package/lib/typescript/commonjs/features/chat/components/order/order.native.d.ts +4 -0
  196. package/lib/typescript/commonjs/features/chat/components/order/order.native.d.ts.map +1 -0
  197. package/lib/typescript/commonjs/features/chat/components/reservation/index.d.ts +4 -0
  198. package/lib/typescript/commonjs/features/chat/components/reservation/index.d.ts.map +1 -0
  199. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.d.ts +4 -0
  200. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.d.ts.map +1 -0
  201. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts +28 -0
  202. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts.map +1 -0
  203. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts +4 -0
  204. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts.map +1 -0
  205. package/lib/typescript/commonjs/features/chat/model/chat.model.d.ts +17 -2
  206. package/lib/typescript/commonjs/features/chat/model/chat.model.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/features/chat/renderer/renderer.d.ts +5 -1
  208. package/lib/typescript/commonjs/features/chat/renderer/renderer.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/features/chat/renderer/renderer.native.d.ts +5 -1
  210. package/lib/typescript/commonjs/features/chat/renderer/renderer.native.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/native.d.ts +11 -1
  212. package/lib/typescript/commonjs/native.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/utils/flight.utils.d.ts +10 -0
  214. package/lib/typescript/commonjs/utils/flight.utils.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/utils/order.utils.d.ts +7 -0
  216. package/lib/typescript/commonjs/utils/order.utils.d.ts.map +1 -0
  217. package/lib/typescript/commonjs/utils/reservation.utils.d.ts +7 -0
  218. package/lib/typescript/commonjs/utils/reservation.utils.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/utils/status-badge.utils.d.ts +15 -0
  220. package/lib/typescript/commonjs/utils/status-badge.utils.d.ts.map +1 -0
  221. package/lib/typescript/commonjs/utils/theme.utils.d.ts +3 -0
  222. package/lib/typescript/commonjs/utils/theme.utils.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/web.d.ts +11 -1
  224. package/lib/typescript/commonjs/web.d.ts.map +1 -1
  225. package/lib/typescript/module/features/chat/components/common/calendar-icon.d.ts +6 -0
  226. package/lib/typescript/module/features/chat/components/common/calendar-icon.d.ts.map +1 -0
  227. package/lib/typescript/module/features/chat/components/common/calendar-icon.native.d.ts +6 -0
  228. package/lib/typescript/module/features/chat/components/common/calendar-icon.native.d.ts.map +1 -0
  229. package/lib/typescript/module/features/chat/components/common/cart-icon.d.ts +6 -0
  230. package/lib/typescript/module/features/chat/components/common/cart-icon.d.ts.map +1 -0
  231. package/lib/typescript/module/features/chat/components/common/chevron-icon.d.ts +6 -0
  232. package/lib/typescript/module/features/chat/components/common/chevron-icon.d.ts.map +1 -0
  233. package/lib/typescript/module/features/chat/components/common/chevron-icon.native.d.ts +6 -0
  234. package/lib/typescript/module/features/chat/components/common/chevron-icon.native.d.ts.map +1 -0
  235. package/lib/typescript/module/features/chat/components/common/plane-icon.d.ts +6 -0
  236. package/lib/typescript/module/features/chat/components/common/plane-icon.d.ts.map +1 -0
  237. package/lib/typescript/module/features/chat/components/common/plane-icon.native.d.ts +6 -0
  238. package/lib/typescript/module/features/chat/components/common/plane-icon.native.d.ts.map +1 -0
  239. package/lib/typescript/module/features/chat/components/flight/flight-card.d.ts +12 -0
  240. package/lib/typescript/module/features/chat/components/flight/flight-card.d.ts.map +1 -0
  241. package/lib/typescript/module/features/chat/components/flight/flight-card.native.d.ts +12 -0
  242. package/lib/typescript/module/features/chat/components/flight/flight-card.native.d.ts.map +1 -0
  243. package/lib/typescript/module/features/chat/components/flight/flight.d.ts +4 -0
  244. package/lib/typescript/module/features/chat/components/flight/flight.d.ts.map +1 -0
  245. package/lib/typescript/module/features/chat/components/flight/flight.model.d.ts +19 -0
  246. package/lib/typescript/module/features/chat/components/flight/flight.model.d.ts.map +1 -0
  247. package/lib/typescript/module/features/chat/components/flight/flight.native.d.ts +4 -0
  248. package/lib/typescript/module/features/chat/components/flight/flight.native.d.ts.map +1 -0
  249. package/lib/typescript/module/features/chat/components/flight/index.d.ts +3 -0
  250. package/lib/typescript/module/features/chat/components/flight/index.d.ts.map +1 -0
  251. package/lib/typescript/module/features/chat/components/flight-board/flight-board.d.ts +4 -0
  252. package/lib/typescript/module/features/chat/components/flight-board/flight-board.d.ts.map +1 -0
  253. package/lib/typescript/module/features/chat/components/flight-board/flight-board.model.d.ts +22 -0
  254. package/lib/typescript/module/features/chat/components/flight-board/flight-board.model.d.ts.map +1 -0
  255. package/lib/typescript/module/features/chat/components/flight-board/flight-board.native.d.ts +4 -0
  256. package/lib/typescript/module/features/chat/components/flight-board/flight-board.native.d.ts.map +1 -0
  257. package/lib/typescript/module/features/chat/components/flight-board/index.d.ts +3 -0
  258. package/lib/typescript/module/features/chat/components/flight-board/index.d.ts.map +1 -0
  259. package/lib/typescript/module/features/chat/components/info/info.d.ts +1 -1
  260. package/lib/typescript/module/features/chat/components/info/info.d.ts.map +1 -1
  261. package/lib/typescript/module/features/chat/components/info/info.model.d.ts +3 -0
  262. package/lib/typescript/module/features/chat/components/info/info.model.d.ts.map +1 -1
  263. package/lib/typescript/module/features/chat/components/info/info.native.d.ts +1 -1
  264. package/lib/typescript/module/features/chat/components/info/info.native.d.ts.map +1 -1
  265. package/lib/typescript/module/features/chat/components/order/index.d.ts +4 -0
  266. package/lib/typescript/module/features/chat/components/order/index.d.ts.map +1 -0
  267. package/lib/typescript/module/features/chat/components/order/order.d.ts +4 -0
  268. package/lib/typescript/module/features/chat/components/order/order.d.ts.map +1 -0
  269. package/lib/typescript/module/features/chat/components/order/order.model.d.ts +30 -0
  270. package/lib/typescript/module/features/chat/components/order/order.model.d.ts.map +1 -0
  271. package/lib/typescript/module/features/chat/components/order/order.native.d.ts +4 -0
  272. package/lib/typescript/module/features/chat/components/order/order.native.d.ts.map +1 -0
  273. package/lib/typescript/module/features/chat/components/reservation/index.d.ts +4 -0
  274. package/lib/typescript/module/features/chat/components/reservation/index.d.ts.map +1 -0
  275. package/lib/typescript/module/features/chat/components/reservation/reservation.d.ts +4 -0
  276. package/lib/typescript/module/features/chat/components/reservation/reservation.d.ts.map +1 -0
  277. package/lib/typescript/module/features/chat/components/reservation/reservation.model.d.ts +28 -0
  278. package/lib/typescript/module/features/chat/components/reservation/reservation.model.d.ts.map +1 -0
  279. package/lib/typescript/module/features/chat/components/reservation/reservation.native.d.ts +4 -0
  280. package/lib/typescript/module/features/chat/components/reservation/reservation.native.d.ts.map +1 -0
  281. package/lib/typescript/module/features/chat/model/chat.model.d.ts +17 -2
  282. package/lib/typescript/module/features/chat/model/chat.model.d.ts.map +1 -1
  283. package/lib/typescript/module/features/chat/renderer/renderer.d.ts +5 -1
  284. package/lib/typescript/module/features/chat/renderer/renderer.d.ts.map +1 -1
  285. package/lib/typescript/module/features/chat/renderer/renderer.native.d.ts +5 -1
  286. package/lib/typescript/module/features/chat/renderer/renderer.native.d.ts.map +1 -1
  287. package/lib/typescript/module/native.d.ts +11 -1
  288. package/lib/typescript/module/native.d.ts.map +1 -1
  289. package/lib/typescript/module/utils/flight.utils.d.ts +10 -0
  290. package/lib/typescript/module/utils/flight.utils.d.ts.map +1 -0
  291. package/lib/typescript/module/utils/order.utils.d.ts +7 -0
  292. package/lib/typescript/module/utils/order.utils.d.ts.map +1 -0
  293. package/lib/typescript/module/utils/reservation.utils.d.ts +7 -0
  294. package/lib/typescript/module/utils/reservation.utils.d.ts.map +1 -0
  295. package/lib/typescript/module/utils/status-badge.utils.d.ts +15 -0
  296. package/lib/typescript/module/utils/status-badge.utils.d.ts.map +1 -0
  297. package/lib/typescript/module/utils/theme.utils.d.ts +3 -0
  298. package/lib/typescript/module/utils/theme.utils.d.ts.map +1 -1
  299. package/lib/typescript/module/web.d.ts +11 -1
  300. package/lib/typescript/module/web.d.ts.map +1 -1
  301. package/package.json +1 -1
  302. package/src/features/chat/components/common/calendar-icon.native.tsx +13 -0
  303. package/src/features/chat/components/common/calendar-icon.tsx +13 -0
  304. package/src/features/chat/components/common/cart-icon.tsx +20 -0
  305. package/src/features/chat/components/common/chevron-icon.native.tsx +18 -0
  306. package/src/features/chat/components/common/chevron-icon.tsx +18 -0
  307. package/src/features/chat/components/common/plane-icon.native.tsx +15 -0
  308. package/src/features/chat/components/common/plane-icon.tsx +15 -0
  309. package/src/features/chat/components/flight/flight-card.native.tsx +100 -0
  310. package/src/features/chat/components/flight/flight-card.tsx +100 -0
  311. package/src/features/chat/components/flight/flight.model.ts +20 -0
  312. package/src/features/chat/components/flight/flight.native.tsx +131 -0
  313. package/src/features/chat/components/flight/flight.tsx +131 -0
  314. package/src/features/chat/components/flight/index.ts +2 -0
  315. package/src/features/chat/components/flight-board/flight-board.model.ts +23 -0
  316. package/src/features/chat/components/flight-board/flight-board.native.tsx +155 -0
  317. package/src/features/chat/components/flight-board/flight-board.tsx +160 -0
  318. package/src/features/chat/components/flight-board/index.ts +2 -0
  319. package/src/features/chat/components/info/info.model.ts +3 -0
  320. package/src/features/chat/components/info/info.native.tsx +47 -11
  321. package/src/features/chat/components/info/info.tsx +43 -10
  322. package/src/features/chat/components/order/index.ts +3 -0
  323. package/src/features/chat/components/order/order.model.ts +32 -0
  324. package/src/features/chat/components/order/order.native.tsx +172 -0
  325. package/src/features/chat/components/order/order.tsx +173 -0
  326. package/src/features/chat/components/reservation/index.ts +3 -0
  327. package/src/features/chat/components/reservation/reservation.model.ts +30 -0
  328. package/src/features/chat/components/reservation/reservation.native.tsx +160 -0
  329. package/src/features/chat/components/reservation/reservation.tsx +162 -0
  330. package/src/features/chat/model/chat.model.ts +16 -0
  331. package/src/features/chat/renderer/renderer.native.tsx +29 -1
  332. package/src/features/chat/renderer/renderer.tsx +29 -1
  333. package/src/native.ts +11 -1
  334. package/src/utils/flight.utils.ts +35 -0
  335. package/src/utils/order.utils.ts +28 -0
  336. package/src/utils/reservation.utils.ts +23 -0
  337. package/src/utils/status-badge.utils.ts +36 -0
  338. package/src/utils/theme.utils.ts +9 -0
  339. package/src/web.ts +11 -1
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ import { Theme } from "../features/chat/model/chat.model.js";
4
+ import { OrderStatus } from "../features/chat/components/order/order.model.js";
5
+ import { getStatusBadgeStyle, StatusTone } from "./status-badge.utils.js";
6
+ const LABEL = {
7
+ [OrderStatus.Pending]: 'Pending',
8
+ [OrderStatus.Preparing]: 'Preparing',
9
+ [OrderStatus.Accepted]: 'Accepted',
10
+ [OrderStatus.Rejected]: 'Rejected',
11
+ [OrderStatus.Delivered]: 'Delivered'
12
+ };
13
+ export function getOrderStatusStyle(status = OrderStatus.Pending, theme = Theme.Dark) {
14
+ const tone = status === OrderStatus.Accepted || status === OrderStatus.Delivered ? StatusTone.Success : status === OrderStatus.Rejected ? StatusTone.Danger : status === OrderStatus.Preparing ? StatusTone.Info : StatusTone.Pending;
15
+ return {
16
+ ...getStatusBadgeStyle(tone, theme),
17
+ label: LABEL[status] ?? LABEL[OrderStatus.Pending]
18
+ };
19
+ }
20
+ //# sourceMappingURL=order.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Theme","OrderStatus","getStatusBadgeStyle","StatusTone","LABEL","Pending","Preparing","Accepted","Rejected","Delivered","getOrderStatusStyle","status","theme","Dark","tone","Success","Danger","Info","label"],"sourceRoot":"../../../src","sources":["utils/order.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AACzD,SAASC,WAAW,QAAQ,kDAA+C;AAC3E,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,yBAAsB;AAGtE,MAAMC,KAAkC,GAAG;EACzC,CAACH,WAAW,CAACI,OAAO,GAAG,SAAS;EAChC,CAACJ,WAAW,CAACK,SAAS,GAAG,WAAW;EACpC,CAACL,WAAW,CAACM,QAAQ,GAAG,UAAU;EAClC,CAACN,WAAW,CAACO,QAAQ,GAAG,UAAU;EAClC,CAACP,WAAW,CAACQ,SAAS,GAAG;AAC3B,CAAC;AAED,OAAO,SAASC,mBAAmBA,CACjCC,MAAmB,GAAGV,WAAW,CAACI,OAAO,EACzCO,KAAY,GAAGZ,KAAK,CAACa,IAAI,EACa;EACtC,MAAMC,IAAI,GACRH,MAAM,KAAKV,WAAW,CAACM,QAAQ,IAAII,MAAM,KAAKV,WAAW,CAACQ,SAAS,GAC/DN,UAAU,CAACY,OAAO,GAClBJ,MAAM,KAAKV,WAAW,CAACO,QAAQ,GAC7BL,UAAU,CAACa,MAAM,GACjBL,MAAM,KAAKV,WAAW,CAACK,SAAS,GAC9BH,UAAU,CAACc,IAAI,GACfd,UAAU,CAACE,OAAO;EAE5B,OAAO;IAAE,GAAGH,mBAAmB,CAACY,IAAI,EAAEF,KAAK,CAAC;IAAEM,KAAK,EAAEd,KAAK,CAACO,MAAM,CAAC,IAAIP,KAAK,CAACH,WAAW,CAACI,OAAO;EAAE,CAAC;AACpG","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ import { Theme } from "../features/chat/model/chat.model.js";
4
+ import { ReservationStatus } from "../features/chat/components/reservation/reservation.model.js";
5
+ import { getStatusBadgeStyle, StatusTone } from "./status-badge.utils.js";
6
+ const LABEL = {
7
+ [ReservationStatus.Pending]: 'Pending',
8
+ [ReservationStatus.Confirmed]: 'Confirmed',
9
+ [ReservationStatus.Cancelled]: 'Cancelled'
10
+ };
11
+ export function getReservationStatusStyle(status = ReservationStatus.Pending, theme = Theme.Dark) {
12
+ const tone = status === ReservationStatus.Confirmed ? StatusTone.Success : status === ReservationStatus.Cancelled ? StatusTone.Danger : StatusTone.Pending;
13
+ return {
14
+ ...getStatusBadgeStyle(tone, theme),
15
+ label: LABEL[status] ?? LABEL[ReservationStatus.Pending]
16
+ };
17
+ }
18
+ //# sourceMappingURL=reservation.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Theme","ReservationStatus","getStatusBadgeStyle","StatusTone","LABEL","Pending","Confirmed","Cancelled","getReservationStatusStyle","status","theme","Dark","tone","Success","Danger","label"],"sourceRoot":"../../../src","sources":["utils/reservation.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AACzD,SAASC,iBAAiB,QAAQ,8DAA2D;AAC7F,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,yBAAsB;AAGtE,MAAMC,KAAwC,GAAG;EAC/C,CAACH,iBAAiB,CAACI,OAAO,GAAG,SAAS;EACtC,CAACJ,iBAAiB,CAACK,SAAS,GAAG,WAAW;EAC1C,CAACL,iBAAiB,CAACM,SAAS,GAAG;AACjC,CAAC;AAED,OAAO,SAASC,yBAAyBA,CACvCC,MAAyB,GAAGR,iBAAiB,CAACI,OAAO,EACrDK,KAAY,GAAGV,KAAK,CAACW,IAAI,EACa;EACtC,MAAMC,IAAI,GAAGH,MAAM,KAAKR,iBAAiB,CAACK,SAAS,GAC/CH,UAAU,CAACU,OAAO,GAClBJ,MAAM,KAAKR,iBAAiB,CAACM,SAAS,GACpCJ,UAAU,CAACW,MAAM,GACjBX,UAAU,CAACE,OAAO;EAExB,OAAO;IAAE,GAAGH,mBAAmB,CAACU,IAAI,EAAEF,KAAK,CAAC;IAAEK,KAAK,EAAEX,KAAK,CAACK,MAAM,CAAC,IAAIL,KAAK,CAACH,iBAAiB,CAACI,OAAO;EAAE,CAAC;AAC1G","ignoreList":[]}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ import { Theme } from "../features/chat/model/chat.model.js";
4
+ export let StatusTone = /*#__PURE__*/function (StatusTone) {
5
+ StatusTone["Pending"] = "pending";
6
+ StatusTone["Success"] = "success";
7
+ StatusTone["Danger"] = "danger";
8
+ StatusTone["Info"] = "info";
9
+ StatusTone["Neutral"] = "neutral";
10
+ return StatusTone;
11
+ }({});
12
+ const DARK = {
13
+ [StatusTone.Pending]: {
14
+ badgeBg: 'bg-amber-500/15',
15
+ badgeText: 'text-amber-400',
16
+ dot: 'bg-amber-400'
17
+ },
18
+ [StatusTone.Success]: {
19
+ badgeBg: 'bg-emerald-500/15',
20
+ badgeText: 'text-emerald-400',
21
+ dot: 'bg-emerald-400'
22
+ },
23
+ [StatusTone.Danger]: {
24
+ badgeBg: 'bg-red-500/15',
25
+ badgeText: 'text-red-400',
26
+ dot: 'bg-red-400'
27
+ },
28
+ [StatusTone.Info]: {
29
+ badgeBg: 'bg-indigo-500/25',
30
+ badgeText: 'text-indigo-300',
31
+ dot: 'bg-indigo-300'
32
+ },
33
+ [StatusTone.Neutral]: {
34
+ badgeBg: 'bg-white/10',
35
+ badgeText: 'text-neutral-300',
36
+ dot: 'bg-neutral-400'
37
+ }
38
+ };
39
+ const LIGHT = {
40
+ [StatusTone.Pending]: {
41
+ badgeBg: 'bg-amber-500/20',
42
+ badgeText: 'text-amber-600',
43
+ dot: 'bg-amber-500'
44
+ },
45
+ [StatusTone.Success]: {
46
+ badgeBg: 'bg-emerald-500/15',
47
+ badgeText: 'text-emerald-600',
48
+ dot: 'bg-emerald-500'
49
+ },
50
+ [StatusTone.Danger]: {
51
+ badgeBg: 'bg-red-500/15',
52
+ badgeText: 'text-red-600',
53
+ dot: 'bg-red-500'
54
+ },
55
+ [StatusTone.Info]: {
56
+ badgeBg: 'bg-indigo-500/15',
57
+ badgeText: 'text-indigo-600',
58
+ dot: 'bg-indigo-500'
59
+ },
60
+ [StatusTone.Neutral]: {
61
+ badgeBg: 'bg-slate-200',
62
+ badgeText: 'text-neutral-600',
63
+ dot: 'bg-slate-400'
64
+ }
65
+ };
66
+ export function getStatusBadgeStyle(tone, theme = Theme.Dark) {
67
+ const map = theme === Theme.Light ? LIGHT : DARK;
68
+ return map[tone] ?? map[StatusTone.Neutral];
69
+ }
70
+ //# sourceMappingURL=status-badge.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Theme","StatusTone","DARK","Pending","badgeBg","badgeText","dot","Success","Danger","Info","Neutral","LIGHT","getStatusBadgeStyle","tone","theme","Dark","map","Light"],"sourceRoot":"../../../src","sources":["utils/status-badge.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AAEzD,WAAYC,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AActB,MAAMC,IAA0C,GAAG;EACjD,CAACD,UAAU,CAACE,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACL,UAAU,CAACM,OAAO,GAAG;IAAEH,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB,CAAC;EAC5G,CAACL,UAAU,CAACO,MAAM,GAAG;IAAEJ,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,GAAG,EAAE;EAAa,CAAC;EAC/F,CAACL,UAAU,CAACQ,IAAI,GAAG;IAAEL,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,GAAG,EAAE;EAAgB,CAAC;EACtG,CAACL,UAAU,CAACS,OAAO,GAAG;IAAEN,OAAO,EAAE,aAAa;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB;AACvG,CAAC;AAED,MAAMK,KAA2C,GAAG;EAClD,CAACV,UAAU,CAACE,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACL,UAAU,CAACM,OAAO,GAAG;IAAEH,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB,CAAC;EAC5G,CAACL,UAAU,CAACO,MAAM,GAAG;IAAEJ,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,GAAG,EAAE;EAAa,CAAC;EAC/F,CAACL,UAAU,CAACQ,IAAI,GAAG;IAAEL,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,GAAG,EAAE;EAAgB,CAAC;EACtG,CAACL,UAAU,CAACS,OAAO,GAAG;IAAEN,OAAO,EAAE,cAAc;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAe;AACtG,CAAC;AAED,OAAO,SAASM,mBAAmBA,CAACC,IAAgB,EAAEC,KAAY,GAAGd,KAAK,CAACe,IAAI,EAAoB;EACjG,MAAMC,GAAG,GAAGF,KAAK,KAAKd,KAAK,CAACiB,KAAK,GAAGN,KAAK,GAAGT,IAAI;EAChD,OAAOc,GAAG,CAACH,IAAI,CAAC,IAAIG,GAAG,CAACf,UAAU,CAACS,OAAO,CAAC;AAC7C","ignoreList":[]}
@@ -13,7 +13,10 @@ const DARK = {
13
13
  divider: 'bg-neutral-800',
14
14
  iconBg: 'bg-indigo-500/20',
15
15
  iconText: 'text-indigo-300',
16
- iconColor: '#a5b4fc'
16
+ iconColor: '#a5b4fc',
17
+ mutedIconBg: 'bg-white/5',
18
+ mutedIconColor: '#82849a',
19
+ dashLine: 'border-neutral-700'
17
20
  };
18
21
  const LIGHT = {
19
22
  surface: 'bg-chat-surface-light',
@@ -27,7 +30,10 @@ const LIGHT = {
27
30
  divider: 'bg-slate-300',
28
31
  iconBg: 'bg-indigo-500/15',
29
32
  iconText: 'text-indigo-500',
30
- iconColor: '#6366f1'
33
+ iconColor: '#6366f1',
34
+ mutedIconBg: 'bg-slate-200',
35
+ mutedIconColor: '#64748b',
36
+ dashLine: 'border-slate-300'
31
37
  };
32
38
  export function getThemeClasses(theme = Theme.Dark) {
33
39
  return theme === Theme.Light ? LIGHT : DARK;
@@ -1 +1 @@
1
- {"version":3,"names":["Theme","DARK","surface","border","title","subtitle","price","free","actionBorder","actionText","divider","iconBg","iconText","iconColor","LIGHT","getThemeClasses","theme","Dark","Light"],"sourceRoot":"../../../src","sources":["utils/theme.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AAiBzD,MAAMC,IAAkB,GAAG;EACzBC,OAAO,EAAE,sBAAsB;EAC/BC,MAAM,EAAE,yBAAyB;EACjCC,KAAK,EAAE,YAAY;EACnBC,QAAQ,EAAE,yBAAyB;EACnCC,KAAK,EAAE,YAAY;EACnBC,IAAI,EAAE,kBAAkB;EACxBC,YAAY,EAAE,oBAAoB;EAClCC,UAAU,EAAE,YAAY;EACxBC,OAAO,EAAE,gBAAgB;EACzBC,MAAM,EAAE,kBAAkB;EAC1BC,QAAQ,EAAE,iBAAiB;EAC3BC,SAAS,EAAE;AACb,CAAC;AAED,MAAMC,KAAmB,GAAG;EAC1BZ,OAAO,EAAE,uBAAuB;EAChCC,MAAM,EAAE,0BAA0B;EAClCC,KAAK,EAAE,kBAAkB;EACzBC,QAAQ,EAAE,kBAAkB;EAC5BC,KAAK,EAAE,kBAAkB;EACzBC,IAAI,EAAE,kBAAkB;EACxBC,YAAY,EAAE,kBAAkB;EAChCC,UAAU,EAAE,kBAAkB;EAC9BC,OAAO,EAAE,cAAc;EACvBC,MAAM,EAAE,kBAAkB;EAC1BC,QAAQ,EAAE,iBAAiB;EAC3BC,SAAS,EAAE;AACb,CAAC;AAED,OAAO,SAASE,eAAeA,CAACC,KAAY,GAAGhB,KAAK,CAACiB,IAAI,EAAgB;EACvE,OAAOD,KAAK,KAAKhB,KAAK,CAACkB,KAAK,GAAGJ,KAAK,GAAGb,IAAI;AAC7C","ignoreList":[]}
1
+ {"version":3,"names":["Theme","DARK","surface","border","title","subtitle","price","free","actionBorder","actionText","divider","iconBg","iconText","iconColor","mutedIconBg","mutedIconColor","dashLine","LIGHT","getThemeClasses","theme","Dark","Light"],"sourceRoot":"../../../src","sources":["utils/theme.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AAoBzD,MAAMC,IAAkB,GAAG;EACzBC,OAAO,EAAE,sBAAsB;EAC/BC,MAAM,EAAE,yBAAyB;EACjCC,KAAK,EAAE,YAAY;EACnBC,QAAQ,EAAE,yBAAyB;EACnCC,KAAK,EAAE,YAAY;EACnBC,IAAI,EAAE,kBAAkB;EACxBC,YAAY,EAAE,oBAAoB;EAClCC,UAAU,EAAE,YAAY;EACxBC,OAAO,EAAE,gBAAgB;EACzBC,MAAM,EAAE,kBAAkB;EAC1BC,QAAQ,EAAE,iBAAiB;EAC3BC,SAAS,EAAE,SAAS;EACpBC,WAAW,EAAE,YAAY;EACzBC,cAAc,EAAE,SAAS;EACzBC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,KAAmB,GAAG;EAC1Bf,OAAO,EAAE,uBAAuB;EAChCC,MAAM,EAAE,0BAA0B;EAClCC,KAAK,EAAE,kBAAkB;EACzBC,QAAQ,EAAE,kBAAkB;EAC5BC,KAAK,EAAE,kBAAkB;EACzBC,IAAI,EAAE,kBAAkB;EACxBC,YAAY,EAAE,kBAAkB;EAChCC,UAAU,EAAE,kBAAkB;EAC9BC,OAAO,EAAE,cAAc;EACvBC,MAAM,EAAE,kBAAkB;EAC1BC,QAAQ,EAAE,iBAAiB;EAC3BC,SAAS,EAAE,SAAS;EACpBC,WAAW,EAAE,cAAc;EAC3BC,cAAc,EAAE,SAAS;EACzBC,QAAQ,EAAE;AACZ,CAAC;AAED,OAAO,SAASE,eAAeA,CAACC,KAAY,GAAGnB,KAAK,CAACoB,IAAI,EAAgB;EACvE,OAAOD,KAAK,KAAKnB,KAAK,CAACqB,KAAK,GAAGJ,KAAK,GAAGhB,IAAI;AAC7C","ignoreList":[]}
package/lib/module/web.js CHANGED
@@ -4,8 +4,14 @@ export { Product } from './features/chat/components/product/product';
4
4
  export { Service } from './features/chat/components/service/service';
5
5
  export { Event } from './features/chat/components/event/event';
6
6
  export { Info } from './features/chat/components/info/info';
7
+ export { Flight } from './features/chat/components/flight/flight';
8
+ export { FlightBoard } from './features/chat/components/flight-board/flight-board';
9
+ export { Order } from './features/chat/components/order/order';
10
+ export { Reservation } from './features/chat/components/reservation/reservation';
7
11
  export { ChatComponentRenderer } from './features/chat/renderer/renderer';
8
12
  export { ChatMessageRenderer } from './features/chat/message/message';
9
13
  export { parseMessage } from "./features/chat/message/message.logic.js";
10
- export { ComponentType, ItemAction, Theme } from "./features/chat/model/chat.model.js";
14
+ export { ComponentType, ItemAction, Theme, FlightStatus } from "./features/chat/model/chat.model.js";
15
+ export { OrderStatus } from "./features/chat/components/order/order.model.js";
16
+ export { ReservationStatus } from "./features/chat/components/reservation/reservation.model.js";
11
17
  //# sourceMappingURL=web.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Product","Service","Event","Info","ChatComponentRenderer","ChatMessageRenderer","parseMessage","ComponentType","ItemAction","Theme"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,4CAA4C;AACpE,SAASC,OAAO,QAAQ,4CAA4C;AACpE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,IAAI,QAAQ,sCAAsC;AAC3D,SAASC,qBAAqB,QAAQ,mCAAmC;AACzE,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,YAAY,QAAQ,0CAAuC;AACpE,SAASC,aAAa,EAAEC,UAAU,EAAEC,KAAK,QAAQ,qCAAkC","ignoreList":[]}
1
+ {"version":3,"names":["Product","Service","Event","Info","Flight","FlightBoard","Order","Reservation","ChatComponentRenderer","ChatMessageRenderer","parseMessage","ComponentType","ItemAction","Theme","FlightStatus","OrderStatus","ReservationStatus"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,4CAA4C;AACpE,SAASC,OAAO,QAAQ,4CAA4C;AACpE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,IAAI,QAAQ,sCAAsC;AAC3D,SAASC,MAAM,QAAQ,0CAA0C;AACjE,SAASC,WAAW,QAAQ,sDAAsD;AAClF,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,WAAW,QAAQ,oDAAoD;AAChF,SAASC,qBAAqB,QAAQ,mCAAmC;AACzE,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,YAAY,QAAQ,0CAAuC;AACpE,SAASC,aAAa,EAAEC,UAAU,EAAEC,KAAK,EAAEC,YAAY,QAAQ,qCAAkC;AACjG,SAASC,WAAW,QAAQ,iDAA8C;AAC1E,SAASC,iBAAiB,QAAQ,6DAA0D","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ export interface CalendarIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function CalendarIcon({ size, color }: CalendarIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=calendar-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/calendar-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,iBAAiB,+BAOpF"}
@@ -0,0 +1,6 @@
1
+ export interface CalendarIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function CalendarIcon({ size, color }: CalendarIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=calendar-icon.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-icon.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/calendar-icon.native.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,iBAAiB,+BAOpF"}
@@ -0,0 +1,6 @@
1
+ export interface CartIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function CartIcon({ size, color }: CartIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=cart-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/cart-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,aAAa,+BAc5E"}
@@ -0,0 +1,6 @@
1
+ export interface ChevronIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function ChevronIcon({ size, color }: ChevronIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=chevron-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/chevron-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,gBAAgB,+BAYlF"}
@@ -0,0 +1,6 @@
1
+ export interface ChevronIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function ChevronIcon({ size, color }: ChevronIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=chevron-icon.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-icon.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/chevron-icon.native.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,gBAAgB,+BAYlF"}
@@ -0,0 +1,6 @@
1
+ export interface PlaneIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function PlaneIcon({ size, color }: PlaneIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=plane-icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plane-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/plane-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,cAAc,+BAS9E"}
@@ -0,0 +1,6 @@
1
+ export interface PlaneIconProps {
2
+ size?: number;
3
+ color?: string;
4
+ }
5
+ export declare function PlaneIcon({ size, color }: PlaneIconProps): import("react").JSX.Element;
6
+ //# sourceMappingURL=plane-icon.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plane-icon.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/plane-icon.native.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,cAAc,+BAS9E"}
@@ -0,0 +1,12 @@
1
+ import { Theme } from '../../model/chat.model';
2
+ import type { FlightItem } from './flight.model';
3
+ export interface FlightCardProps {
4
+ item: FlightItem;
5
+ theme: Theme;
6
+ language?: string;
7
+ accent: boolean;
8
+ defaultExpanded: boolean;
9
+ onSelect?: (item: FlightItem) => void;
10
+ }
11
+ export declare function FlightCard({ item, theme, language, accent, defaultExpanded, onSelect }: FlightCardProps): import("react").JSX.Element;
12
+ //# sourceMappingURL=flight-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight-card.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAgB,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACvC;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAgFvG"}
@@ -0,0 +1,12 @@
1
+ import { Theme } from '../../model/chat.model';
2
+ import type { FlightItem } from './flight.model';
3
+ export interface FlightCardProps {
4
+ item: FlightItem;
5
+ theme: Theme;
6
+ language?: string;
7
+ accent: boolean;
8
+ defaultExpanded: boolean;
9
+ onSelect?: (item: FlightItem) => void;
10
+ }
11
+ export declare function FlightCard({ item, theme, language, accent, defaultExpanded, onSelect }: FlightCardProps): import("react").JSX.Element;
12
+ //# sourceMappingURL=flight-card.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight-card.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight-card.native.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAgB,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACvC;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,eAAe,+BA+EvG"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { FlightItem } from './flight.model';
3
+ export declare function Flight({ data, theme, language, onSelect, }: ChatComponentProps<FlightItem>): import("react").JSX.Element;
4
+ //# sourceMappingURL=flight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAkGjD,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,UAAU,CAAC,+BAkBhC"}
@@ -0,0 +1,19 @@
1
+ import type { FlightStatus, LocalizedText } from '../../model/chat.model';
2
+ export interface Airport {
3
+ code: string;
4
+ city: LocalizedText;
5
+ time: string;
6
+ }
7
+ export interface FlightItem {
8
+ id: number;
9
+ airline: LocalizedText;
10
+ flightNumber: string;
11
+ status?: FlightStatus;
12
+ statusLabel?: LocalizedText;
13
+ date?: LocalizedText;
14
+ terminal?: LocalizedText;
15
+ from: Airport;
16
+ to: Airport;
17
+ duration?: string;
18
+ }
19
+ //# sourceMappingURL=flight.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE1E,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,aAAa,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { FlightItem } from './flight.model';
3
+ export declare function Flight({ data, theme, language, onSelect, }: ChatComponentProps<FlightItem>): import("react").JSX.Element;
4
+ //# sourceMappingURL=flight.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight.native.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAiGjD,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,UAAU,CAAC,+BAkBhC"}
@@ -0,0 +1,3 @@
1
+ export { Flight } from './flight';
2
+ export type { FlightItem, Airport } from './flight.model';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { FlightBoardItem } from './flight-board.model';
3
+ export declare function FlightBoard({ data, theme, language, onSelect, }: ChatComponentProps<FlightBoardItem>): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=flight-board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight-board.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/flight-board.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAa,MAAM,sBAAsB,CAAC;AAKvE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,eAAe,CAAC,sCA2IrC"}
@@ -0,0 +1,22 @@
1
+ import type { FlightStatus, LocalizedText } from '../../model/chat.model';
2
+ export interface FlightRow {
3
+ id: number;
4
+ time: string;
5
+ city: LocalizedText;
6
+ code: string;
7
+ airline: LocalizedText;
8
+ flightNumber: string;
9
+ gate?: string;
10
+ status?: FlightStatus;
11
+ statusLabel?: LocalizedText;
12
+ accent?: string;
13
+ }
14
+ export interface FlightBoardItem {
15
+ airport: LocalizedText;
16
+ code: string;
17
+ updatedAt?: string;
18
+ live?: boolean;
19
+ departures: FlightRow[];
20
+ arrivals?: FlightRow[];
21
+ }
22
+ //# sourceMappingURL=flight-board.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight-board.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/flight-board.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE1E,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,aAAa,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { FlightBoardItem } from './flight-board.model';
3
+ export declare function FlightBoard({ data, theme, language, onSelect, }: ChatComponentProps<FlightBoardItem>): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=flight-board.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flight-board.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/flight-board.native.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAa,MAAM,sBAAsB,CAAC;AAKvE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,eAAe,CAAC,sCAqIrC"}
@@ -0,0 +1,3 @@
1
+ export { FlightBoard } from './flight-board';
2
+ export type { FlightBoardItem, FlightRow } from './flight-board.model';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { ChatComponentProps } from '../../model/chat.model';
2
2
  import type { InfoItem } from './info.model';
3
- export declare function Info({ data, theme, language }: ChatComponentProps<InfoItem>): import("react").JSX.Element | null;
3
+ export declare function Info({ data, theme, language, onSelect }: ChatComponentProps<InfoItem>): import("react").JSX.Element;
4
4
  //# sourceMappingURL=info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAkB,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,QAAQ,CAAC,sCAgBxF"}
1
+ {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,QAAQ,CAAC,+BAgDlG"}
@@ -2,5 +2,8 @@ import type { LocalizedText } from '../../model/chat.model';
2
2
  export interface InfoItem {
3
3
  name: LocalizedText;
4
4
  description: LocalizedText;
5
+ kicker?: LocalizedText;
6
+ image?: string;
7
+ actionLabel?: LocalizedText;
5
8
  }
6
9
  //# sourceMappingURL=info.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"info.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,aAAa,CAAC;CAC5B"}
1
+ {"version":3,"file":"info.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B"}
@@ -1,4 +1,4 @@
1
1
  import type { ChatComponentProps } from '../../model/chat.model';
2
2
  import type { InfoItem } from './info.model';
3
- export declare function Info({ data, theme, language }: ChatComponentProps<InfoItem>): import("react").JSX.Element | null;
3
+ export declare function Info({ data, theme, language, onSelect }: ChatComponentProps<InfoItem>): import("react").JSX.Element;
4
4
  //# sourceMappingURL=info.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"info.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.native.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAkB,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,QAAQ,CAAC,sCAgBxF"}
1
+ {"version":3,"file":"info.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.native.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,QAAQ,CAAC,+BAmDlG"}
@@ -0,0 +1,4 @@
1
+ export { Order } from './order';
2
+ export { OrderStatus } from './order.model';
3
+ export type { OrderListItem, OrderRow } from './order.model';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { OrderListItem } from './order.model';
3
+ export declare function Order({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<OrderListItem>): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=order.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/order.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,eAAe,CAAC;AAE7D,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,aAAa,CAAC,sCAwJnC"}
@@ -0,0 +1,30 @@
1
+ import type { LocalizedText } from '../../model/chat.model';
2
+ export declare enum OrderStatus {
3
+ Pending = "pending",
4
+ Preparing = "preparing",
5
+ Accepted = "accepted",
6
+ Rejected = "rejected",
7
+ Delivered = "delivered"
8
+ }
9
+ export interface OrderRow {
10
+ id: number;
11
+ image?: string;
12
+ name: LocalizedText;
13
+ quantity: number;
14
+ unitPrice?: string;
15
+ duration?: string;
16
+ price: string;
17
+ status?: OrderStatus;
18
+ statusLabel?: LocalizedText;
19
+ }
20
+ export interface OrderListItem {
21
+ orderNumber: string;
22
+ location?: LocalizedText;
23
+ status?: OrderStatus;
24
+ statusLabel?: LocalizedText;
25
+ items: OrderRow[];
26
+ totalLabel?: LocalizedText;
27
+ total?: string;
28
+ actionLabel?: LocalizedText;
29
+ }
30
+ //# sourceMappingURL=order.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/order.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { OrderListItem } from './order.model';
3
+ export declare function Order({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<OrderListItem>): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=order.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/order.native.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,eAAe,CAAC;AAE7D,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,aAAa,CAAC,sCAsJnC"}
@@ -0,0 +1,4 @@
1
+ export { Reservation } from './reservation';
2
+ export { ReservationStatus } from './reservation.model';
3
+ export type { ReservationListItem, ReservationRow } from './reservation.model';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { ReservationListItem } from './reservation.model';
3
+ export declare function Reservation({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<ReservationListItem>): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=reservation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/reservation.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAkB,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,sCA8IzC"}
@@ -0,0 +1,28 @@
1
+ import type { LocalizedText } from '../../model/chat.model';
2
+ export declare enum ReservationStatus {
3
+ Pending = "pending",
4
+ Confirmed = "confirmed",
5
+ Cancelled = "cancelled"
6
+ }
7
+ export interface ReservationRow {
8
+ id: number;
9
+ image?: string;
10
+ name: LocalizedText;
11
+ date: string;
12
+ time: string;
13
+ duration?: string;
14
+ price: string;
15
+ status: ReservationStatus;
16
+ statusLabel?: LocalizedText;
17
+ }
18
+ export interface ReservationListItem {
19
+ title: LocalizedText;
20
+ subtitle?: LocalizedText;
21
+ status?: ReservationStatus;
22
+ statusLabel?: LocalizedText;
23
+ reservations: ReservationRow[];
24
+ totalLabel?: LocalizedText;
25
+ total?: string;
26
+ actionLabel?: LocalizedText;
27
+ }
28
+ //# sourceMappingURL=reservation.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservation.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/reservation.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,iBAAiB,CAAC;IAC1B,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B"}
@@ -0,0 +1,4 @@
1
+ import type { ChatComponentProps } from '../../model/chat.model';
2
+ import type { ReservationListItem } from './reservation.model';
3
+ export declare function Reservation({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<ReservationListItem>): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=reservation.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservation.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/reservation.native.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAkB,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,sCA2IzC"}