@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,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CalendarIcon = CalendarIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function CalendarIcon({
9
+ size = 16,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
18
+ x: "4",
19
+ y: "5",
20
+ width: "16",
21
+ height: "16",
22
+ rx: "2",
23
+ stroke: color,
24
+ strokeWidth: 1.8
25
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
26
+ d: "M4 9h16M8 3v4M16 3v4",
27
+ stroke: color,
28
+ strokeWidth: 1.8,
29
+ strokeLinecap: "round"
30
+ })]
31
+ });
32
+ }
33
+ //# sourceMappingURL=calendar-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CalendarIcon","size","color","_jsxRuntime","jsxs","width","height","viewBox","fill","children","jsx","x","y","rx","stroke","strokeWidth","d","strokeLinecap"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/calendar-icon.tsx"],"mappings":";;;;;;;AAKO,SAASA,YAAYA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAkC,CAAC,EAAE;EACrF,oBACE,IAAAC,WAAA,CAAAC,IAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7D,IAAAN,WAAA,CAAAO,GAAA;MAAMC,CAAC,EAAC,GAAG;MAACC,CAAC,EAAC,GAAG;MAACP,KAAK,EAAC,IAAI;MAACC,MAAM,EAAC,IAAI;MAACO,EAAE,EAAC,GAAG;MAACC,MAAM,EAAEZ,KAAM;MAACa,WAAW,EAAE;IAAI,CAAE,CAAC,eACnF,IAAAZ,WAAA,CAAAO,GAAA;MAAMM,CAAC,EAAC,sBAAsB;MAACF,MAAM,EAAEZ,KAAM;MAACa,WAAW,EAAE,GAAI;MAACE,aAAa,EAAC;IAAO,CAAE,CAAC;EAAA,CACrF,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CalendarIcon = CalendarIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function CalendarIcon({
9
+ size = 16,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
18
+ x: "4",
19
+ y: "5",
20
+ width: "16",
21
+ height: "16",
22
+ rx: "2",
23
+ stroke: color,
24
+ strokeWidth: 1.8
25
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
26
+ d: "M4 9h16M8 3v4M16 3v4",
27
+ stroke: color,
28
+ strokeWidth: 1.8,
29
+ strokeLinecap: "round"
30
+ })]
31
+ });
32
+ }
33
+ //# sourceMappingURL=calendar-icon.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CalendarIcon","size","color","_jsxRuntime","jsxs","width","height","viewBox","fill","children","jsx","x","y","rx","stroke","strokeWidth","d","strokeLinecap"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/calendar-icon.native.tsx"],"mappings":";;;;;;;AAKO,SAASA,YAAYA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAkC,CAAC,EAAE;EACrF,oBACE,IAAAC,WAAA,CAAAC,IAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7D,IAAAN,WAAA,CAAAO,GAAA;MAAMC,CAAC,EAAC,GAAG;MAACC,CAAC,EAAC,GAAG;MAACP,KAAK,EAAC,IAAI;MAACC,MAAM,EAAC,IAAI;MAACO,EAAE,EAAC,GAAG;MAACC,MAAM,EAAEZ,KAAM;MAACa,WAAW,EAAE;IAAI,CAAE,CAAC,eACnF,IAAAZ,WAAA,CAAAO,GAAA;MAAMM,CAAC,EAAC,sBAAsB;MAACF,MAAM,EAAEZ,KAAM;MAACa,WAAW,EAAE,GAAI;MAACE,aAAa,EAAC;IAAO,CAAE,CAAC;EAAA,CACrF,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CartIcon = CartIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function CartIcon({
9
+ size = 16,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
18
+ d: "M3 4h2l2.4 11.2a1.5 1.5 0 0 0 1.47 1.18h7.86a1.5 1.5 0 0 0 1.47-1.18L21 8H6",
19
+ stroke: color,
20
+ strokeWidth: 1.8,
21
+ strokeLinecap: "round",
22
+ strokeLinejoin: "round"
23
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
24
+ cx: "9.5",
25
+ cy: "20",
26
+ r: "1.4",
27
+ fill: color
28
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
29
+ cx: "17",
30
+ cy: "20",
31
+ r: "1.4",
32
+ fill: color
33
+ })]
34
+ });
35
+ }
36
+ //# sourceMappingURL=cart-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CartIcon","size","color","_jsxRuntime","jsxs","width","height","viewBox","fill","children","jsx","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","cx","cy","r"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/cart-icon.tsx"],"mappings":";;;;;;;AAKO,SAASA,QAAQA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAA8B,CAAC,EAAE;EAC7E,oBACE,IAAAC,WAAA,CAAAC,IAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7D,IAAAN,WAAA,CAAAO,GAAA;MACEC,CAAC,EAAC,6EAA6E;MAC/EC,MAAM,EAAEV,KAAM;MACdW,WAAW,EAAE,GAAI;MACjBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC;IAAO,CACvB,CAAC,eACF,IAAAZ,WAAA,CAAAO,GAAA;MAAQM,EAAE,EAAC,KAAK;MAACC,EAAE,EAAC,IAAI;MAACC,CAAC,EAAC,KAAK;MAACV,IAAI,EAAEN;IAAM,CAAE,CAAC,eAChD,IAAAC,WAAA,CAAAO,GAAA;MAAQM,EAAE,EAAC,IAAI;MAACC,EAAE,EAAC,IAAI;MAACC,CAAC,EAAC,KAAK;MAACV,IAAI,EAAEN;IAAM,CAAE,CAAC;EAAA,CAC5C,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChevronIcon = ChevronIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function ChevronIcon({
9
+ size = 16,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
18
+ d: "M6 9l6 6 6-6",
19
+ stroke: color,
20
+ strokeWidth: 1.8,
21
+ strokeLinecap: "round",
22
+ strokeLinejoin: "round"
23
+ })
24
+ });
25
+ }
26
+ //# sourceMappingURL=chevron-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ChevronIcon","size","color","_jsxRuntime","jsx","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/chevron-icon.tsx"],"mappings":";;;;;;;AAKO,SAASA,WAAWA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAiC,CAAC,EAAE;EACnF,oBACE,IAAAC,WAAA,CAAAC,GAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7D,IAAAN,WAAA,CAAAC,GAAA;MACEM,CAAC,EAAC,cAAc;MAChBC,MAAM,EAAET,KAAM;MACdU,WAAW,EAAE,GAAI;MACjBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ChevronIcon = ChevronIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function ChevronIcon({
9
+ size = 16,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
18
+ d: "M6 9l6 6 6-6",
19
+ stroke: color,
20
+ strokeWidth: 1.8,
21
+ strokeLinecap: "round",
22
+ strokeLinejoin: "round"
23
+ })
24
+ });
25
+ }
26
+ //# sourceMappingURL=chevron-icon.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ChevronIcon","size","color","_jsxRuntime","jsx","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/chevron-icon.native.tsx"],"mappings":";;;;;;;AAKO,SAASA,WAAWA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAiC,CAAC,EAAE;EACnF,oBACE,IAAAC,WAAA,CAAAC,GAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7D,IAAAN,WAAA,CAAAC,GAAA;MACEM,CAAC,EAAC,cAAc;MAChBC,MAAM,EAAET,KAAM;MACdU,WAAW,EAAE,GAAI;MACjBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PlaneIcon = PlaneIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function PlaneIcon({
9
+ size = 20,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
18
+ d: "M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z",
19
+ fill: color
20
+ })
21
+ });
22
+ }
23
+ //# sourceMappingURL=plane-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["PlaneIcon","size","color","_jsxRuntime","jsx","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/plane-icon.tsx"],"mappings":";;;;;;;AAKO,SAASA,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAA+B,CAAC,EAAE;EAC/E,oBACE,IAAAC,WAAA,CAAAC,GAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7D,IAAAN,WAAA,CAAAC,GAAA;MACEM,CAAC,EAAC,qGAAqG;MACvGF,IAAI,EAAEN;IAAM,CACb;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PlaneIcon = PlaneIcon;
7
+ var _jsxRuntime = require("react/jsx-runtime");
8
+ function PlaneIcon({
9
+ size = 20,
10
+ color = 'currentColor'
11
+ }) {
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
18
+ d: "M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z",
19
+ fill: color
20
+ })
21
+ });
22
+ }
23
+ //# sourceMappingURL=plane-icon.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["PlaneIcon","size","color","_jsxRuntime","jsx","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/plane-icon.native.tsx"],"mappings":";;;;;;;AAKO,SAASA,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAA+B,CAAC,EAAE;EAC/E,oBACE,IAAAC,WAAA,CAAAC,GAAA;IAAKC,KAAK,EAAEJ,IAAK;IAACK,MAAM,EAAEL,IAAK;IAACM,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7D,IAAAN,WAAA,CAAAC,GAAA;MACEM,CAAC,EAAC,qGAAqG;MACvGF,IAAI,EAAEN;IAAM,CACb;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FlightCard = FlightCard;
7
+ var _react = require("react");
8
+ var _themeUtils = require("../../../../utils/theme.utils.js");
9
+ var _flightUtils = require("../../../../utils/flight.utils.js");
10
+ var _i18nUtils = require("../../../../utils/i18n.utils.js");
11
+ var _collapsible = require("../common/collapsible");
12
+ var _planeIcon = require("../common/plane-icon");
13
+ var _chevronIcon = require("../common/chevron-icon");
14
+ var _chatModel = require("../../model/chat.model.js");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ function FlightCard({
17
+ item,
18
+ theme,
19
+ language,
20
+ accent,
21
+ defaultExpanded,
22
+ onSelect
23
+ }) {
24
+ const c = (0, _themeUtils.getThemeClasses)(theme);
25
+ const [expanded, setExpanded] = (0, _react.useState)(defaultExpanded);
26
+ const s = (0, _flightUtils.getFlightStatusStyle)(item.status ?? _chatModel.FlightStatus.OnTime, theme);
27
+ const statusLabel = item.statusLabel ? (0, _i18nUtils.resolveText)(item.statusLabel, language) : s.label;
28
+ const airline = (0, _i18nUtils.resolveText)(item.airline, language);
29
+ const fromCity = (0, _i18nUtils.resolveText)(item.from.city, language);
30
+ const toCity = (0, _i18nUtils.resolveText)(item.to.city, language);
31
+ const subline = item.date ? `${(0, _i18nUtils.resolveText)(item.date, language)}${item.terminal ? ` · ${(0, _i18nUtils.resolveText)(item.terminal, language)}` : ''}` : '';
32
+ const compact = `${item.from.code} → ${item.to.code} · ${item.from.time}`;
33
+ const iconBg = accent ? c.iconBg : c.mutedIconBg;
34
+ const iconColor = accent ? c.iconColor : c.mutedIconColor;
35
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
36
+ className: `rounded-2xl border p-3 ${c.surface} ${c.border}`,
37
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("button", {
38
+ type: "button",
39
+ className: "flex w-full items-center gap-3 text-left",
40
+ onClick: () => {
41
+ setExpanded(v => !v);
42
+ onSelect?.(item);
43
+ },
44
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
45
+ className: `flex h-11 w-11 shrink-0 items-center justify-center rounded-xl ${iconBg}`,
46
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_planeIcon.PlaneIcon, {
47
+ size: 20,
48
+ color: iconColor
49
+ })
50
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
51
+ className: "flex min-w-0 flex-1 flex-col gap-0.5",
52
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
53
+ className: `text-base font-bold down-sm:text-sm ${c.title}`,
54
+ children: [airline, " \xB7 ", item.flightNumber]
55
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
56
+ className: `truncate text-xs ${c.subtitle}`,
57
+ children: expanded ? subline || compact : compact
58
+ })]
59
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
60
+ className: `flex shrink-0 items-center gap-1.5 rounded-full px-2.5 py-1 ${s.badgeBg}`,
61
+ children: [s.showDot ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
62
+ className: `h-1.5 w-1.5 rounded-full ${s.dot}`
63
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
64
+ className: `text-xs font-semibold ${s.badgeText}`,
65
+ children: statusLabel
66
+ })]
67
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
68
+ className: `shrink-0 transition-transform ${expanded ? 'rotate-180' : ''}`,
69
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_chevronIcon.ChevronIcon, {
70
+ size: 18,
71
+ color: c.mutedIconColor
72
+ })
73
+ })]
74
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_collapsible.Collapsible, {
75
+ expanded: expanded,
76
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
77
+ className: "mt-4 flex items-center",
78
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
79
+ className: "flex flex-col items-start",
80
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
81
+ className: `text-3xl font-bold down-sm:text-2xl ${c.title}`,
82
+ children: item.from.code
83
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
84
+ className: `text-base font-semibold ${c.title}`,
85
+ children: item.from.time
86
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
87
+ className: `text-xs ${c.subtitle}`,
88
+ children: fromCity
89
+ })]
90
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
91
+ className: "flex flex-1 flex-col items-center px-3",
92
+ children: [item.duration ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
93
+ className: `mb-1 text-xs ${c.subtitle}`,
94
+ children: item.duration
95
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
96
+ className: "flex w-full items-center",
97
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
98
+ className: `h-2 w-2 shrink-0 rounded-full ${s.dot}`
99
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
100
+ className: `flex-1 border-t border-dashed ${c.dashLine}`
101
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
102
+ className: "rotate-90",
103
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_planeIcon.PlaneIcon, {
104
+ size: 16,
105
+ color: c.iconColor
106
+ })
107
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
108
+ className: `flex-1 border-t border-dashed ${c.dashLine}`
109
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
110
+ className: `h-2 w-2 shrink-0 rounded-full ${s.dot}`
111
+ })]
112
+ })]
113
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
114
+ className: "flex flex-col items-end",
115
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
116
+ className: `text-3xl font-bold down-sm:text-2xl ${c.title}`,
117
+ children: item.to.code
118
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
119
+ className: `text-base font-semibold ${c.title}`,
120
+ children: item.to.time
121
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
122
+ className: `text-xs ${c.subtitle}`,
123
+ children: toCity
124
+ })]
125
+ })]
126
+ })
127
+ })]
128
+ });
129
+ }
130
+ //# sourceMappingURL=flight-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_themeUtils","_flightUtils","_i18nUtils","_collapsible","_planeIcon","_chevronIcon","_chatModel","_jsxRuntime","FlightCard","item","theme","language","accent","defaultExpanded","onSelect","c","getThemeClasses","expanded","setExpanded","useState","s","getFlightStatusStyle","status","FlightStatus","OnTime","statusLabel","resolveText","label","airline","fromCity","from","city","toCity","to","subline","date","terminal","compact","code","time","iconBg","mutedIconBg","iconColor","mutedIconColor","jsxs","className","surface","border","children","type","onClick","v","jsx","PlaneIcon","size","color","title","flightNumber","subtitle","badgeBg","showDot","dot","badgeText","ChevronIcon","Collapsible","duration","dashLine"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/flight/flight-card.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAA6D,IAAAQ,WAAA,GAAAR,OAAA;AAYtD,SAASS,UAAUA,CAAC;EAAEC,IAAI;EAA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AAA6C,GAAA;YAAMP,SAAS,EAAE,uCAAuC9B,CAAC,CAACyC,KAAK,EAAG;YAAAR,QAAA,EAAEvC,IAAI,CAACwB,EAAE,CAACK;UAAI,CAAO,CAAC,eACxF,IAAA/B,WAAA,CAAA6C,GAAA;YAAMP,SAAS,EAAE,2BAA2B9B,CAAC,CAACyC,KAAK,EAAG;YAAAR,QAAA,EAAEvC,IAAI,CAACwB,EAAE,CAACM;UAAI,CAAO,CAAC,eAC5E,IAAAhC,WAAA,CAAA6C,GAAA;YAAMP,SAAS,EAAE,WAAW9B,CAAC,CAAC2C,QAAQ,EAAG;YAAAV,QAAA,EAAEhB;UAAM,CAAO,CAAC;QAAA,CACtD,CAAC;MAAA,CACH;IAAC,CACK,CAAC;EAAA,CACX,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FlightCard = FlightCard;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _themeUtils = require("../../../../utils/theme.utils.js");
10
+ var _flightUtils = require("../../../../utils/flight.utils.js");
11
+ var _i18nUtils = require("../../../../utils/i18n.utils.js");
12
+ var _collapsibleNative = require("../common/collapsible.native.js");
13
+ var _planeIconNative = require("../common/plane-icon.native.js");
14
+ var _chevronIconNative = require("../common/chevron-icon.native.js");
15
+ var _chatModel = require("../../model/chat.model.js");
16
+ var _jsxRuntime = require("react/jsx-runtime");
17
+ function FlightCard({
18
+ item,
19
+ theme,
20
+ language,
21
+ accent,
22
+ defaultExpanded,
23
+ onSelect
24
+ }) {
25
+ const c = (0, _themeUtils.getThemeClasses)(theme);
26
+ const [expanded, setExpanded] = (0, _react.useState)(defaultExpanded);
27
+ const s = (0, _flightUtils.getFlightStatusStyle)(item.status ?? _chatModel.FlightStatus.OnTime, theme);
28
+ const statusLabel = item.statusLabel ? (0, _i18nUtils.resolveText)(item.statusLabel, language) : s.label;
29
+ const airline = (0, _i18nUtils.resolveText)(item.airline, language);
30
+ const fromCity = (0, _i18nUtils.resolveText)(item.from.city, language);
31
+ const toCity = (0, _i18nUtils.resolveText)(item.to.city, language);
32
+ const subline = item.date ? `${(0, _i18nUtils.resolveText)(item.date, language)}${item.terminal ? ` · ${(0, _i18nUtils.resolveText)(item.terminal, language)}` : ''}` : '';
33
+ const compact = `${item.from.code} → ${item.to.code} · ${item.from.time}`;
34
+ const iconBg = accent ? c.iconBg : c.mutedIconBg;
35
+ const iconColor = accent ? c.iconColor : c.mutedIconColor;
36
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
37
+ className: `rounded-2xl border p-3 ${c.surface} ${c.border}`,
38
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
39
+ className: "flex-row items-center gap-3",
40
+ onPress: () => {
41
+ setExpanded(v => !v);
42
+ onSelect?.(item);
43
+ },
44
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
45
+ className: `h-11 w-11 items-center justify-center rounded-xl ${iconBg}`,
46
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_planeIconNative.PlaneIcon, {
47
+ size: 20,
48
+ color: iconColor
49
+ })
50
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
51
+ className: "flex-1 gap-0.5",
52
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Text, {
53
+ className: `text-base font-bold down-sm:text-sm ${c.title}`,
54
+ numberOfLines: 2,
55
+ children: [airline, " \xB7 ", item.flightNumber]
56
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
57
+ className: `text-xs ${c.subtitle}`,
58
+ numberOfLines: 1,
59
+ children: expanded ? subline || compact : compact
60
+ })]
61
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
62
+ className: `flex-row items-center gap-1.5 rounded-full px-2.5 py-1 ${s.badgeBg}`,
63
+ children: [s.showDot ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
64
+ className: `h-1.5 w-1.5 rounded-full ${s.dot}`
65
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
66
+ className: `text-xs font-semibold ${s.badgeText}`,
67
+ children: statusLabel
68
+ })]
69
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
70
+ className: expanded ? 'rotate-180' : undefined,
71
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_chevronIconNative.ChevronIcon, {
72
+ size: 18,
73
+ color: c.mutedIconColor
74
+ })
75
+ })]
76
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_collapsibleNative.Collapsible, {
77
+ expanded: expanded,
78
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
79
+ className: "mt-4 flex-row items-center",
80
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
81
+ className: "items-start",
82
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
83
+ className: `text-3xl font-bold down-sm:text-2xl ${c.title}`,
84
+ children: item.from.code
85
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
86
+ className: `text-base font-semibold ${c.title}`,
87
+ children: item.from.time
88
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
89
+ className: `text-xs ${c.subtitle}`,
90
+ children: fromCity
91
+ })]
92
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
93
+ className: "flex-1 items-center px-3",
94
+ children: [item.duration ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
95
+ className: `mb-1 text-xs ${c.subtitle}`,
96
+ children: item.duration
97
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
98
+ className: "w-full flex-row items-center",
99
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
100
+ className: `h-2 w-2 rounded-full ${s.dot}`
101
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
102
+ className: `flex-1 border-t border-dashed ${c.dashLine}`
103
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
104
+ className: "rotate-90",
105
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_planeIconNative.PlaneIcon, {
106
+ size: 16,
107
+ color: c.iconColor
108
+ })
109
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
110
+ className: `flex-1 border-t border-dashed ${c.dashLine}`
111
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
112
+ className: `h-2 w-2 rounded-full ${s.dot}`
113
+ })]
114
+ })]
115
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
116
+ className: "items-end",
117
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
118
+ className: `text-3xl font-bold down-sm:text-2xl ${c.title}`,
119
+ children: item.to.code
120
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
121
+ className: `text-base font-semibold ${c.title}`,
122
+ children: item.to.time
123
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
124
+ className: `text-xs ${c.subtitle}`,
125
+ children: toCity
126
+ })]
127
+ })]
128
+ })
129
+ })]
130
+ });
131
+ }
132
+ //# sourceMappingURL=flight-card.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_themeUtils","_flightUtils","_i18nUtils","_collapsibleNative","_planeIconNative","_chevronIconNative","_chatModel","_jsxRuntime","FlightCard","item","theme","language","accent","defaultExpanded","onSelect","c","getThemeClasses","expanded","setExpanded","useState","s","getFlightStatusStyle","status","FlightStatus","OnTime","statusLabel","resolveText","label","airline","fromCity","from","city","toCity","to","subline","date","terminal","compact","code","time","iconBg","mutedIconBg","iconColor","mutedIconColor","jsxs","View","className","surface","border","children","Pressable","onPress","v","jsx","PlaneIcon","size","color","Text","title","numberOfLines","flightNumber","subtitle","badgeBg","showDot","dot","badgeText","undefined","ChevronIcon","Collapsible","duration","dashLine"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/flight/flight-card.native.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AAA6D,IAAAS,WAAA,GAAAT,OAAA;AAYtD,SAASU,UAAUA,CAAC;EAAEC,IAAI;EAAEC,KAAK;EAAEC,QAAQ;EAAEC,MAAM;EAAEC,eAAe;EAAEC;AAA0B,CAAC,EAAE;EACxG,MAAMC,CAAC,GAAG,IAAAC,2BAAe,EAACN,KAAK,CAAC;EAChC,MAAM,CAACO,QAAQ,EAAEC,WAAW,CAAC,GAAG,IAAAC,eAAQ,EAACN,eAAe,CAAC;EAEzD,MAAMO,CAAC,GAAG,IAAAC,iCAAoB,EAACZ,IAAI,CAACa,MAAM,IAAIC,uBAAY,CAACC,MAAM,EAAEd,KAAK,CAAC;EACzE,MAAMe,WAAW,GAAGhB,IAAI,CAACgB,WAAW,GAAG,IAAAC,sBAAW,EAACjB,IAAI,CAACgB,WAAW,EAAEd,QAAQ,CAAC,GAAGS,CAAC,CAACO,KAAK;EACxF,MAAMC,OAAO,GAAG,IAAAF,sBAAW,EAACjB,IAAI,CAACmB,OAAO,EAAEjB,QAAQ,CAAC;EACnD,MAAMkB,QAAQ,GAAG,IAAAH,sBAAW,EAACjB,IAAI,CAACqB,IAAI,CAACC,IAAI,EAAE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