@inorain_development/hotel-smarters-chat-ui 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) 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/event/event.js +5 -3
  16. package/lib/commonjs/features/chat/components/event/event.js.map +1 -1
  17. package/lib/commonjs/features/chat/components/event/event.native.js +5 -3
  18. package/lib/commonjs/features/chat/components/event/event.native.js.map +1 -1
  19. package/lib/commonjs/features/chat/components/flight/flight-card.js +130 -0
  20. package/lib/commonjs/features/chat/components/flight/flight-card.js.map +1 -0
  21. package/lib/commonjs/features/chat/components/flight/flight-card.native.js +132 -0
  22. package/lib/commonjs/features/chat/components/flight/flight-card.native.js.map +1 -0
  23. package/lib/commonjs/features/chat/components/flight/flight.js +149 -0
  24. package/lib/commonjs/features/chat/components/flight/flight.js.map +1 -0
  25. package/lib/commonjs/features/chat/components/flight/flight.model.js +6 -0
  26. package/lib/commonjs/features/chat/components/flight/flight.model.js.map +1 -0
  27. package/lib/commonjs/features/chat/components/flight/flight.native.js +151 -0
  28. package/lib/commonjs/features/chat/components/flight/flight.native.js.map +1 -0
  29. package/lib/commonjs/features/chat/components/flight/index.js +13 -0
  30. package/lib/commonjs/features/chat/components/flight/index.js.map +1 -0
  31. package/lib/commonjs/features/chat/components/flight-board/flight-board.js +154 -0
  32. package/lib/commonjs/features/chat/components/flight-board/flight-board.js.map +1 -0
  33. package/lib/commonjs/features/chat/components/flight-board/flight-board.model.js +6 -0
  34. package/lib/commonjs/features/chat/components/flight-board/flight-board.model.js.map +1 -0
  35. package/lib/commonjs/features/chat/components/flight-board/flight-board.native.js +165 -0
  36. package/lib/commonjs/features/chat/components/flight-board/flight-board.native.js.map +1 -0
  37. package/lib/commonjs/features/chat/components/flight-board/index.js +13 -0
  38. package/lib/commonjs/features/chat/components/flight-board/index.js.map +1 -0
  39. package/lib/commonjs/features/chat/components/info/info.js +41 -14
  40. package/lib/commonjs/features/chat/components/info/info.js.map +1 -1
  41. package/lib/commonjs/features/chat/components/info/info.native.js +45 -14
  42. package/lib/commonjs/features/chat/components/info/info.native.js.map +1 -1
  43. package/lib/commonjs/features/chat/components/order/index.js +20 -0
  44. package/lib/commonjs/features/chat/components/order/index.js.map +1 -0
  45. package/lib/commonjs/features/chat/components/order/order.js +171 -0
  46. package/lib/commonjs/features/chat/components/order/order.js.map +1 -0
  47. package/lib/commonjs/features/chat/components/order/order.model.js +15 -0
  48. package/lib/commonjs/features/chat/components/order/order.model.js.map +1 -0
  49. package/lib/commonjs/features/chat/components/order/order.native.js +192 -0
  50. package/lib/commonjs/features/chat/components/order/order.native.js.map +1 -0
  51. package/lib/commonjs/features/chat/components/reservation/index.js +20 -0
  52. package/lib/commonjs/features/chat/components/reservation/index.js.map +1 -0
  53. package/lib/commonjs/features/chat/components/reservation/reservation.js +164 -0
  54. package/lib/commonjs/features/chat/components/reservation/reservation.js.map +1 -0
  55. package/lib/commonjs/features/chat/components/reservation/reservation.model.js +13 -0
  56. package/lib/commonjs/features/chat/components/reservation/reservation.model.js.map +1 -0
  57. package/lib/commonjs/features/chat/components/reservation/reservation.native.js +180 -0
  58. package/lib/commonjs/features/chat/components/reservation/reservation.native.js.map +1 -0
  59. package/lib/commonjs/features/chat/model/chat.model.js +17 -1
  60. package/lib/commonjs/features/chat/model/chat.model.js.map +1 -1
  61. package/lib/commonjs/features/chat/renderer/renderer.js +26 -0
  62. package/lib/commonjs/features/chat/renderer/renderer.js.map +1 -1
  63. package/lib/commonjs/features/chat/renderer/renderer.native.js +26 -0
  64. package/lib/commonjs/features/chat/renderer/renderer.native.js.map +1 -1
  65. package/lib/commonjs/native.js +48 -0
  66. package/lib/commonjs/native.js.map +1 -1
  67. package/lib/commonjs/utils/flight.utils.js +86 -0
  68. package/lib/commonjs/utils/flight.utils.js.map +1 -0
  69. package/lib/commonjs/utils/order.utils.js +24 -0
  70. package/lib/commonjs/utils/order.utils.js.map +1 -0
  71. package/lib/commonjs/utils/price.utils.js +4 -4
  72. package/lib/commonjs/utils/price.utils.js.map +1 -1
  73. package/lib/commonjs/utils/reservation.utils.js +22 -0
  74. package/lib/commonjs/utils/reservation.utils.js.map +1 -0
  75. package/lib/commonjs/utils/status-badge.utils.js +75 -0
  76. package/lib/commonjs/utils/status-badge.utils.js.map +1 -0
  77. package/lib/commonjs/utils/theme.utils.js +8 -2
  78. package/lib/commonjs/utils/theme.utils.js.map +1 -1
  79. package/lib/commonjs/utils/time.utils.js +51 -0
  80. package/lib/commonjs/utils/time.utils.js.map +1 -0
  81. package/lib/commonjs/web.js +48 -0
  82. package/lib/commonjs/web.js.map +1 -1
  83. package/lib/module/features/chat/components/common/calendar-icon.js +29 -0
  84. package/lib/module/features/chat/components/common/calendar-icon.js.map +1 -0
  85. package/lib/module/features/chat/components/common/calendar-icon.native.js +29 -0
  86. package/lib/module/features/chat/components/common/calendar-icon.native.js.map +1 -0
  87. package/lib/module/features/chat/components/common/cart-icon.js +32 -0
  88. package/lib/module/features/chat/components/common/cart-icon.js.map +1 -0
  89. package/lib/module/features/chat/components/common/chevron-icon.js +22 -0
  90. package/lib/module/features/chat/components/common/chevron-icon.js.map +1 -0
  91. package/lib/module/features/chat/components/common/chevron-icon.native.js +22 -0
  92. package/lib/module/features/chat/components/common/chevron-icon.native.js.map +1 -0
  93. package/lib/module/features/chat/components/common/plane-icon.js +19 -0
  94. package/lib/module/features/chat/components/common/plane-icon.js.map +1 -0
  95. package/lib/module/features/chat/components/common/plane-icon.native.js +19 -0
  96. package/lib/module/features/chat/components/common/plane-icon.native.js.map +1 -0
  97. package/lib/module/features/chat/components/event/event.js +5 -3
  98. package/lib/module/features/chat/components/event/event.js.map +1 -1
  99. package/lib/module/features/chat/components/event/event.native.js +5 -3
  100. package/lib/module/features/chat/components/event/event.native.js.map +1 -1
  101. package/lib/module/features/chat/components/flight/flight-card.js +126 -0
  102. package/lib/module/features/chat/components/flight/flight-card.js.map +1 -0
  103. package/lib/module/features/chat/components/flight/flight-card.native.js +128 -0
  104. package/lib/module/features/chat/components/flight/flight-card.native.js.map +1 -0
  105. package/lib/module/features/chat/components/flight/flight.js +145 -0
  106. package/lib/module/features/chat/components/flight/flight.js.map +1 -0
  107. package/lib/module/features/chat/components/flight/flight.model.js +4 -0
  108. package/lib/module/features/chat/components/flight/flight.model.js.map +1 -0
  109. package/lib/module/features/chat/components/flight/flight.native.js +147 -0
  110. package/lib/module/features/chat/components/flight/flight.native.js.map +1 -0
  111. package/lib/module/features/chat/components/flight/index.js +4 -0
  112. package/lib/module/features/chat/components/flight/index.js.map +1 -0
  113. package/lib/module/features/chat/components/flight-board/flight-board.js +150 -0
  114. package/lib/module/features/chat/components/flight-board/flight-board.js.map +1 -0
  115. package/lib/module/features/chat/components/flight-board/flight-board.model.js +4 -0
  116. package/lib/module/features/chat/components/flight-board/flight-board.model.js.map +1 -0
  117. package/lib/module/features/chat/components/flight-board/flight-board.native.js +161 -0
  118. package/lib/module/features/chat/components/flight-board/flight-board.native.js.map +1 -0
  119. package/lib/module/features/chat/components/flight-board/index.js +4 -0
  120. package/lib/module/features/chat/components/flight-board/index.js.map +1 -0
  121. package/lib/module/features/chat/components/info/info.js +41 -14
  122. package/lib/module/features/chat/components/info/info.js.map +1 -1
  123. package/lib/module/features/chat/components/info/info.native.js +46 -15
  124. package/lib/module/features/chat/components/info/info.native.js.map +1 -1
  125. package/lib/module/features/chat/components/order/index.js +5 -0
  126. package/lib/module/features/chat/components/order/index.js.map +1 -0
  127. package/lib/module/features/chat/components/order/order.js +167 -0
  128. package/lib/module/features/chat/components/order/order.js.map +1 -0
  129. package/lib/module/features/chat/components/order/order.model.js +11 -0
  130. package/lib/module/features/chat/components/order/order.model.js.map +1 -0
  131. package/lib/module/features/chat/components/order/order.native.js +188 -0
  132. package/lib/module/features/chat/components/order/order.native.js.map +1 -0
  133. package/lib/module/features/chat/components/reservation/index.js +5 -0
  134. package/lib/module/features/chat/components/reservation/index.js.map +1 -0
  135. package/lib/module/features/chat/components/reservation/reservation.js +160 -0
  136. package/lib/module/features/chat/components/reservation/reservation.js.map +1 -0
  137. package/lib/module/features/chat/components/reservation/reservation.model.js +9 -0
  138. package/lib/module/features/chat/components/reservation/reservation.model.js.map +1 -0
  139. package/lib/module/features/chat/components/reservation/reservation.native.js +176 -0
  140. package/lib/module/features/chat/components/reservation/reservation.native.js.map +1 -0
  141. package/lib/module/features/chat/model/chat.model.js +16 -0
  142. package/lib/module/features/chat/model/chat.model.js.map +1 -1
  143. package/lib/module/features/chat/renderer/renderer.js +26 -0
  144. package/lib/module/features/chat/renderer/renderer.js.map +1 -1
  145. package/lib/module/features/chat/renderer/renderer.native.js +26 -0
  146. package/lib/module/features/chat/renderer/renderer.native.js.map +1 -1
  147. package/lib/module/native.js +7 -1
  148. package/lib/module/native.js.map +1 -1
  149. package/lib/module/utils/flight.utils.js +82 -0
  150. package/lib/module/utils/flight.utils.js.map +1 -0
  151. package/lib/module/utils/order.utils.js +20 -0
  152. package/lib/module/utils/order.utils.js.map +1 -0
  153. package/lib/module/utils/price.utils.js +4 -4
  154. package/lib/module/utils/price.utils.js.map +1 -1
  155. package/lib/module/utils/reservation.utils.js +18 -0
  156. package/lib/module/utils/reservation.utils.js.map +1 -0
  157. package/lib/module/utils/status-badge.utils.js +70 -0
  158. package/lib/module/utils/status-badge.utils.js.map +1 -0
  159. package/lib/module/utils/theme.utils.js +8 -2
  160. package/lib/module/utils/theme.utils.js.map +1 -1
  161. package/lib/module/utils/time.utils.js +46 -0
  162. package/lib/module/utils/time.utils.js.map +1 -0
  163. package/lib/module/web.js +7 -1
  164. package/lib/module/web.js.map +1 -1
  165. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.d.ts +6 -0
  166. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.native.d.ts +6 -0
  168. package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.native.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/features/chat/components/common/cart-icon.d.ts +6 -0
  170. package/lib/typescript/commonjs/features/chat/components/common/cart-icon.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.d.ts +6 -0
  172. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.native.d.ts +6 -0
  174. package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.native.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.d.ts +6 -0
  176. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.native.d.ts +6 -0
  178. package/lib/typescript/commonjs/features/chat/components/common/plane-icon.native.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/features/chat/components/event/event.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/features/chat/components/event/event.model.d.ts +3 -1
  181. package/lib/typescript/commonjs/features/chat/components/event/event.model.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/features/chat/components/event/event.native.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.d.ts +12 -0
  184. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.d.ts.map +1 -0
  185. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.native.d.ts +12 -0
  186. package/lib/typescript/commonjs/features/chat/components/flight/flight-card.native.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/features/chat/components/flight/flight.d.ts +4 -0
  188. package/lib/typescript/commonjs/features/chat/components/flight/flight.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/features/chat/components/flight/flight.model.d.ts +19 -0
  190. package/lib/typescript/commonjs/features/chat/components/flight/flight.model.d.ts.map +1 -0
  191. package/lib/typescript/commonjs/features/chat/components/flight/flight.native.d.ts +4 -0
  192. package/lib/typescript/commonjs/features/chat/components/flight/flight.native.d.ts.map +1 -0
  193. package/lib/typescript/commonjs/features/chat/components/flight/index.d.ts +3 -0
  194. package/lib/typescript/commonjs/features/chat/components/flight/index.d.ts.map +1 -0
  195. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.d.ts +4 -0
  196. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.d.ts.map +1 -0
  197. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts +22 -0
  198. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts.map +1 -0
  199. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts +4 -0
  200. package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts.map +1 -0
  201. package/lib/typescript/commonjs/features/chat/components/flight-board/index.d.ts +3 -0
  202. package/lib/typescript/commonjs/features/chat/components/flight-board/index.d.ts.map +1 -0
  203. package/lib/typescript/commonjs/features/chat/components/info/info.d.ts +1 -1
  204. package/lib/typescript/commonjs/features/chat/components/info/info.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/features/chat/components/info/info.model.d.ts +3 -0
  206. package/lib/typescript/commonjs/features/chat/components/info/info.model.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/features/chat/components/info/info.native.d.ts +1 -1
  208. package/lib/typescript/commonjs/features/chat/components/info/info.native.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/features/chat/components/order/index.d.ts +4 -0
  210. package/lib/typescript/commonjs/features/chat/components/order/index.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/features/chat/components/order/order.d.ts +4 -0
  212. package/lib/typescript/commonjs/features/chat/components/order/order.d.ts.map +1 -0
  213. package/lib/typescript/commonjs/features/chat/components/order/order.model.d.ts +30 -0
  214. package/lib/typescript/commonjs/features/chat/components/order/order.model.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/features/chat/components/order/order.native.d.ts +4 -0
  216. package/lib/typescript/commonjs/features/chat/components/order/order.native.d.ts.map +1 -0
  217. package/lib/typescript/commonjs/features/chat/components/reservation/index.d.ts +4 -0
  218. package/lib/typescript/commonjs/features/chat/components/reservation/index.d.ts.map +1 -0
  219. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.d.ts +4 -0
  220. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.d.ts.map +1 -0
  221. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts +27 -0
  222. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts.map +1 -0
  223. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts +4 -0
  224. package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts.map +1 -0
  225. package/lib/typescript/commonjs/features/chat/model/chat.model.d.ts +17 -2
  226. package/lib/typescript/commonjs/features/chat/model/chat.model.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/features/chat/renderer/renderer.d.ts +5 -1
  228. package/lib/typescript/commonjs/features/chat/renderer/renderer.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/features/chat/renderer/renderer.native.d.ts +5 -1
  230. package/lib/typescript/commonjs/features/chat/renderer/renderer.native.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/native.d.ts +11 -1
  232. package/lib/typescript/commonjs/native.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/utils/flight.utils.d.ts +10 -0
  234. package/lib/typescript/commonjs/utils/flight.utils.d.ts.map +1 -0
  235. package/lib/typescript/commonjs/utils/order.utils.d.ts +7 -0
  236. package/lib/typescript/commonjs/utils/order.utils.d.ts.map +1 -0
  237. package/lib/typescript/commonjs/utils/reservation.utils.d.ts +7 -0
  238. package/lib/typescript/commonjs/utils/reservation.utils.d.ts.map +1 -0
  239. package/lib/typescript/commonjs/utils/status-badge.utils.d.ts +15 -0
  240. package/lib/typescript/commonjs/utils/status-badge.utils.d.ts.map +1 -0
  241. package/lib/typescript/commonjs/utils/theme.utils.d.ts +3 -0
  242. package/lib/typescript/commonjs/utils/theme.utils.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/utils/time.utils.d.ts +3 -0
  244. package/lib/typescript/commonjs/utils/time.utils.d.ts.map +1 -0
  245. package/lib/typescript/commonjs/web.d.ts +11 -1
  246. package/lib/typescript/commonjs/web.d.ts.map +1 -1
  247. package/lib/typescript/module/features/chat/components/common/calendar-icon.d.ts +6 -0
  248. package/lib/typescript/module/features/chat/components/common/calendar-icon.d.ts.map +1 -0
  249. package/lib/typescript/module/features/chat/components/common/calendar-icon.native.d.ts +6 -0
  250. package/lib/typescript/module/features/chat/components/common/calendar-icon.native.d.ts.map +1 -0
  251. package/lib/typescript/module/features/chat/components/common/cart-icon.d.ts +6 -0
  252. package/lib/typescript/module/features/chat/components/common/cart-icon.d.ts.map +1 -0
  253. package/lib/typescript/module/features/chat/components/common/chevron-icon.d.ts +6 -0
  254. package/lib/typescript/module/features/chat/components/common/chevron-icon.d.ts.map +1 -0
  255. package/lib/typescript/module/features/chat/components/common/chevron-icon.native.d.ts +6 -0
  256. package/lib/typescript/module/features/chat/components/common/chevron-icon.native.d.ts.map +1 -0
  257. package/lib/typescript/module/features/chat/components/common/plane-icon.d.ts +6 -0
  258. package/lib/typescript/module/features/chat/components/common/plane-icon.d.ts.map +1 -0
  259. package/lib/typescript/module/features/chat/components/common/plane-icon.native.d.ts +6 -0
  260. package/lib/typescript/module/features/chat/components/common/plane-icon.native.d.ts.map +1 -0
  261. package/lib/typescript/module/features/chat/components/event/event.d.ts.map +1 -1
  262. package/lib/typescript/module/features/chat/components/event/event.model.d.ts +3 -1
  263. package/lib/typescript/module/features/chat/components/event/event.model.d.ts.map +1 -1
  264. package/lib/typescript/module/features/chat/components/event/event.native.d.ts.map +1 -1
  265. package/lib/typescript/module/features/chat/components/flight/flight-card.d.ts +12 -0
  266. package/lib/typescript/module/features/chat/components/flight/flight-card.d.ts.map +1 -0
  267. package/lib/typescript/module/features/chat/components/flight/flight-card.native.d.ts +12 -0
  268. package/lib/typescript/module/features/chat/components/flight/flight-card.native.d.ts.map +1 -0
  269. package/lib/typescript/module/features/chat/components/flight/flight.d.ts +4 -0
  270. package/lib/typescript/module/features/chat/components/flight/flight.d.ts.map +1 -0
  271. package/lib/typescript/module/features/chat/components/flight/flight.model.d.ts +19 -0
  272. package/lib/typescript/module/features/chat/components/flight/flight.model.d.ts.map +1 -0
  273. package/lib/typescript/module/features/chat/components/flight/flight.native.d.ts +4 -0
  274. package/lib/typescript/module/features/chat/components/flight/flight.native.d.ts.map +1 -0
  275. package/lib/typescript/module/features/chat/components/flight/index.d.ts +3 -0
  276. package/lib/typescript/module/features/chat/components/flight/index.d.ts.map +1 -0
  277. package/lib/typescript/module/features/chat/components/flight-board/flight-board.d.ts +4 -0
  278. package/lib/typescript/module/features/chat/components/flight-board/flight-board.d.ts.map +1 -0
  279. package/lib/typescript/module/features/chat/components/flight-board/flight-board.model.d.ts +22 -0
  280. package/lib/typescript/module/features/chat/components/flight-board/flight-board.model.d.ts.map +1 -0
  281. package/lib/typescript/module/features/chat/components/flight-board/flight-board.native.d.ts +4 -0
  282. package/lib/typescript/module/features/chat/components/flight-board/flight-board.native.d.ts.map +1 -0
  283. package/lib/typescript/module/features/chat/components/flight-board/index.d.ts +3 -0
  284. package/lib/typescript/module/features/chat/components/flight-board/index.d.ts.map +1 -0
  285. package/lib/typescript/module/features/chat/components/info/info.d.ts +1 -1
  286. package/lib/typescript/module/features/chat/components/info/info.d.ts.map +1 -1
  287. package/lib/typescript/module/features/chat/components/info/info.model.d.ts +3 -0
  288. package/lib/typescript/module/features/chat/components/info/info.model.d.ts.map +1 -1
  289. package/lib/typescript/module/features/chat/components/info/info.native.d.ts +1 -1
  290. package/lib/typescript/module/features/chat/components/info/info.native.d.ts.map +1 -1
  291. package/lib/typescript/module/features/chat/components/order/index.d.ts +4 -0
  292. package/lib/typescript/module/features/chat/components/order/index.d.ts.map +1 -0
  293. package/lib/typescript/module/features/chat/components/order/order.d.ts +4 -0
  294. package/lib/typescript/module/features/chat/components/order/order.d.ts.map +1 -0
  295. package/lib/typescript/module/features/chat/components/order/order.model.d.ts +30 -0
  296. package/lib/typescript/module/features/chat/components/order/order.model.d.ts.map +1 -0
  297. package/lib/typescript/module/features/chat/components/order/order.native.d.ts +4 -0
  298. package/lib/typescript/module/features/chat/components/order/order.native.d.ts.map +1 -0
  299. package/lib/typescript/module/features/chat/components/reservation/index.d.ts +4 -0
  300. package/lib/typescript/module/features/chat/components/reservation/index.d.ts.map +1 -0
  301. package/lib/typescript/module/features/chat/components/reservation/reservation.d.ts +4 -0
  302. package/lib/typescript/module/features/chat/components/reservation/reservation.d.ts.map +1 -0
  303. package/lib/typescript/module/features/chat/components/reservation/reservation.model.d.ts +27 -0
  304. package/lib/typescript/module/features/chat/components/reservation/reservation.model.d.ts.map +1 -0
  305. package/lib/typescript/module/features/chat/components/reservation/reservation.native.d.ts +4 -0
  306. package/lib/typescript/module/features/chat/components/reservation/reservation.native.d.ts.map +1 -0
  307. package/lib/typescript/module/features/chat/model/chat.model.d.ts +17 -2
  308. package/lib/typescript/module/features/chat/model/chat.model.d.ts.map +1 -1
  309. package/lib/typescript/module/features/chat/renderer/renderer.d.ts +5 -1
  310. package/lib/typescript/module/features/chat/renderer/renderer.d.ts.map +1 -1
  311. package/lib/typescript/module/features/chat/renderer/renderer.native.d.ts +5 -1
  312. package/lib/typescript/module/features/chat/renderer/renderer.native.d.ts.map +1 -1
  313. package/lib/typescript/module/native.d.ts +11 -1
  314. package/lib/typescript/module/native.d.ts.map +1 -1
  315. package/lib/typescript/module/utils/flight.utils.d.ts +10 -0
  316. package/lib/typescript/module/utils/flight.utils.d.ts.map +1 -0
  317. package/lib/typescript/module/utils/order.utils.d.ts +7 -0
  318. package/lib/typescript/module/utils/order.utils.d.ts.map +1 -0
  319. package/lib/typescript/module/utils/reservation.utils.d.ts +7 -0
  320. package/lib/typescript/module/utils/reservation.utils.d.ts.map +1 -0
  321. package/lib/typescript/module/utils/status-badge.utils.d.ts +15 -0
  322. package/lib/typescript/module/utils/status-badge.utils.d.ts.map +1 -0
  323. package/lib/typescript/module/utils/theme.utils.d.ts +3 -0
  324. package/lib/typescript/module/utils/theme.utils.d.ts.map +1 -1
  325. package/lib/typescript/module/utils/time.utils.d.ts +3 -0
  326. package/lib/typescript/module/utils/time.utils.d.ts.map +1 -0
  327. package/lib/typescript/module/web.d.ts +11 -1
  328. package/lib/typescript/module/web.d.ts.map +1 -1
  329. package/package.json +1 -1
  330. package/src/features/chat/components/common/calendar-icon.native.tsx +13 -0
  331. package/src/features/chat/components/common/calendar-icon.tsx +13 -0
  332. package/src/features/chat/components/common/cart-icon.tsx +20 -0
  333. package/src/features/chat/components/common/chevron-icon.native.tsx +18 -0
  334. package/src/features/chat/components/common/chevron-icon.tsx +18 -0
  335. package/src/features/chat/components/common/plane-icon.native.tsx +15 -0
  336. package/src/features/chat/components/common/plane-icon.tsx +15 -0
  337. package/src/features/chat/components/event/event.model.ts +3 -1
  338. package/src/features/chat/components/event/event.native.tsx +6 -2
  339. package/src/features/chat/components/event/event.tsx +6 -2
  340. package/src/features/chat/components/flight/flight-card.native.tsx +100 -0
  341. package/src/features/chat/components/flight/flight-card.tsx +100 -0
  342. package/src/features/chat/components/flight/flight.model.ts +20 -0
  343. package/src/features/chat/components/flight/flight.native.tsx +131 -0
  344. package/src/features/chat/components/flight/flight.tsx +131 -0
  345. package/src/features/chat/components/flight/index.ts +2 -0
  346. package/src/features/chat/components/flight-board/flight-board.model.ts +23 -0
  347. package/src/features/chat/components/flight-board/flight-board.native.tsx +155 -0
  348. package/src/features/chat/components/flight-board/flight-board.tsx +160 -0
  349. package/src/features/chat/components/flight-board/index.ts +2 -0
  350. package/src/features/chat/components/info/info.model.ts +3 -0
  351. package/src/features/chat/components/info/info.native.tsx +47 -11
  352. package/src/features/chat/components/info/info.tsx +43 -10
  353. package/src/features/chat/components/order/index.ts +3 -0
  354. package/src/features/chat/components/order/order.model.ts +32 -0
  355. package/src/features/chat/components/order/order.native.tsx +175 -0
  356. package/src/features/chat/components/order/order.tsx +176 -0
  357. package/src/features/chat/components/reservation/index.ts +3 -0
  358. package/src/features/chat/components/reservation/reservation.model.ts +29 -0
  359. package/src/features/chat/components/reservation/reservation.native.tsx +159 -0
  360. package/src/features/chat/components/reservation/reservation.tsx +161 -0
  361. package/src/features/chat/model/chat.model.ts +16 -0
  362. package/src/features/chat/renderer/renderer.native.tsx +29 -1
  363. package/src/features/chat/renderer/renderer.tsx +29 -1
  364. package/src/native.ts +11 -1
  365. package/src/utils/flight.utils.ts +35 -0
  366. package/src/utils/order.utils.ts +28 -0
  367. package/src/utils/price.utils.ts +4 -4
  368. package/src/utils/reservation.utils.ts +23 -0
  369. package/src/utils/status-badge.utils.ts +36 -0
  370. package/src/utils/theme.utils.ts +9 -0
  371. package/src/utils/time.utils.ts +58 -0
  372. package/src/web.ts +11 -1
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StatusTone = void 0;
7
+ exports.getStatusBadgeStyle = getStatusBadgeStyle;
8
+ var _chatModel = require("../features/chat/model/chat.model.js");
9
+ let StatusTone = exports.StatusTone = /*#__PURE__*/function (StatusTone) {
10
+ StatusTone["Pending"] = "pending";
11
+ StatusTone["Success"] = "success";
12
+ StatusTone["Danger"] = "danger";
13
+ StatusTone["Info"] = "info";
14
+ StatusTone["Neutral"] = "neutral";
15
+ return StatusTone;
16
+ }({});
17
+ const DARK = {
18
+ [StatusTone.Pending]: {
19
+ badgeBg: 'bg-amber-500/15',
20
+ badgeText: 'text-amber-400',
21
+ dot: 'bg-amber-400'
22
+ },
23
+ [StatusTone.Success]: {
24
+ badgeBg: 'bg-emerald-500/15',
25
+ badgeText: 'text-emerald-400',
26
+ dot: 'bg-emerald-400'
27
+ },
28
+ [StatusTone.Danger]: {
29
+ badgeBg: 'bg-red-500/15',
30
+ badgeText: 'text-red-400',
31
+ dot: 'bg-red-400'
32
+ },
33
+ [StatusTone.Info]: {
34
+ badgeBg: 'bg-indigo-500/25',
35
+ badgeText: 'text-indigo-300',
36
+ dot: 'bg-indigo-300'
37
+ },
38
+ [StatusTone.Neutral]: {
39
+ badgeBg: 'bg-white/10',
40
+ badgeText: 'text-neutral-300',
41
+ dot: 'bg-neutral-400'
42
+ }
43
+ };
44
+ const LIGHT = {
45
+ [StatusTone.Pending]: {
46
+ badgeBg: 'bg-amber-500/20',
47
+ badgeText: 'text-amber-600',
48
+ dot: 'bg-amber-500'
49
+ },
50
+ [StatusTone.Success]: {
51
+ badgeBg: 'bg-emerald-500/15',
52
+ badgeText: 'text-emerald-600',
53
+ dot: 'bg-emerald-500'
54
+ },
55
+ [StatusTone.Danger]: {
56
+ badgeBg: 'bg-red-500/15',
57
+ badgeText: 'text-red-600',
58
+ dot: 'bg-red-500'
59
+ },
60
+ [StatusTone.Info]: {
61
+ badgeBg: 'bg-indigo-500/15',
62
+ badgeText: 'text-indigo-600',
63
+ dot: 'bg-indigo-500'
64
+ },
65
+ [StatusTone.Neutral]: {
66
+ badgeBg: 'bg-slate-200',
67
+ badgeText: 'text-neutral-600',
68
+ dot: 'bg-slate-400'
69
+ }
70
+ };
71
+ function getStatusBadgeStyle(tone, theme = _chatModel.Theme.Dark) {
72
+ const map = theme === _chatModel.Theme.Light ? LIGHT : DARK;
73
+ return map[tone] ?? map[StatusTone.Neutral];
74
+ }
75
+ //# sourceMappingURL=status-badge.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_chatModel","require","StatusTone","exports","DARK","Pending","badgeBg","badgeText","dot","Success","Danger","Info","Neutral","LIGHT","getStatusBadgeStyle","tone","theme","Theme","Dark","map","Light"],"sourceRoot":"../../../src","sources":["utils/status-badge.utils.ts"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAA0D,IAE9CC,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AActB,MAAME,IAA0C,GAAG;EACjD,CAACF,UAAU,CAACG,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACN,UAAU,CAACO,OAAO,GAAG;IAAEH,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB,CAAC;EAC5G,CAACN,UAAU,CAACQ,MAAM,GAAG;IAAEJ,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,GAAG,EAAE;EAAa,CAAC;EAC/F,CAACN,UAAU,CAACS,IAAI,GAAG;IAAEL,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,GAAG,EAAE;EAAgB,CAAC;EACtG,CAACN,UAAU,CAACU,OAAO,GAAG;IAAEN,OAAO,EAAE,aAAa;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB;AACvG,CAAC;AAED,MAAMK,KAA2C,GAAG;EAClD,CAACX,UAAU,CAACG,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACN,UAAU,CAACO,OAAO,GAAG;IAAEH,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB,CAAC;EAC5G,CAACN,UAAU,CAACQ,MAAM,GAAG;IAAEJ,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,GAAG,EAAE;EAAa,CAAC;EAC/F,CAACN,UAAU,CAACS,IAAI,GAAG;IAAEL,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,GAAG,EAAE;EAAgB,CAAC;EACtG,CAACN,UAAU,CAACU,OAAO,GAAG;IAAEN,OAAO,EAAE,cAAc;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAe;AACtG,CAAC;AAEM,SAASM,mBAAmBA,CAACC,IAAgB,EAAEC,KAAY,GAAGC,gBAAK,CAACC,IAAI,EAAoB;EACjG,MAAMC,GAAG,GAAGH,KAAK,KAAKC,gBAAK,CAACG,KAAK,GAAGP,KAAK,GAAGT,IAAI;EAChD,OAAOe,GAAG,CAACJ,IAAI,CAAC,IAAII,GAAG,CAACjB,UAAU,CAACU,OAAO,CAAC;AAC7C","ignoreList":[]}
@@ -17,7 +17,10 @@ const DARK = {
17
17
  divider: 'bg-neutral-800',
18
18
  iconBg: 'bg-indigo-500/20',
19
19
  iconText: 'text-indigo-300',
20
- iconColor: '#a5b4fc'
20
+ iconColor: '#a5b4fc',
21
+ mutedIconBg: 'bg-white/5',
22
+ mutedIconColor: '#82849a',
23
+ dashLine: 'border-neutral-700'
21
24
  };
22
25
  const LIGHT = {
23
26
  surface: 'bg-chat-surface-light',
@@ -31,7 +34,10 @@ const LIGHT = {
31
34
  divider: 'bg-slate-300',
32
35
  iconBg: 'bg-indigo-500/15',
33
36
  iconText: 'text-indigo-500',
34
- iconColor: '#6366f1'
37
+ iconColor: '#6366f1',
38
+ mutedIconBg: 'bg-slate-200',
39
+ mutedIconColor: '#64748b',
40
+ dashLine: 'border-slate-300'
35
41
  };
36
42
  function getThemeClasses(theme = _chatModel.Theme.Dark) {
37
43
  return theme === _chatModel.Theme.Light ? LIGHT : DARK;
@@ -1 +1 @@
1
- {"version":3,"names":["_chatModel","require","DARK","surface","border","title","subtitle","price","free","actionBorder","actionText","divider","iconBg","iconText","iconColor","LIGHT","getThemeClasses","theme","Theme","Dark","Light"],"sourceRoot":"../../../src","sources":["utils/theme.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAiBA,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;AAEM,SAASE,eAAeA,CAACC,KAAY,GAAGC,gBAAK,CAACC,IAAI,EAAgB;EACvE,OAAOF,KAAK,KAAKC,gBAAK,CAACE,KAAK,GAAGL,KAAK,GAAGb,IAAI;AAC7C","ignoreList":[]}
1
+ {"version":3,"names":["_chatModel","require","DARK","surface","border","title","subtitle","price","free","actionBorder","actionText","divider","iconBg","iconText","iconColor","mutedIconBg","mutedIconColor","dashLine","LIGHT","getThemeClasses","theme","Theme","Dark","Light"],"sourceRoot":"../../../src","sources":["utils/theme.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAoBA,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;AAEM,SAASE,eAAeA,CAACC,KAAY,GAAGC,gBAAK,CAACC,IAAI,EAAgB;EACvE,OAAOF,KAAK,KAAKC,gBAAK,CAACE,KAAK,GAAGL,KAAK,GAAGhB,IAAI;AAC7C","ignoreList":[]}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.formatEventDate = formatEventDate;
7
+ exports.hasEventTime = hasEventTime;
8
+ function parseDate(value) {
9
+ if (value == null) return null;
10
+ const trimmed = value.trim();
11
+ if (trimmed === '') return null;
12
+ const date = new Date(trimmed);
13
+ return Number.isNaN(date.getTime()) ? null : date;
14
+ }
15
+ function formatDateTime(date) {
16
+ return date.toLocaleString('en-US', {
17
+ month: 'short',
18
+ day: 'numeric',
19
+ year: 'numeric',
20
+ hour: 'numeric',
21
+ minute: '2-digit'
22
+ });
23
+ }
24
+ function formatTime(date) {
25
+ return date.toLocaleTimeString('en-US', {
26
+ hour: 'numeric',
27
+ minute: '2-digit'
28
+ });
29
+ }
30
+ function isSameDay(a, b) {
31
+ return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
32
+ }
33
+ function hasEventTime(time) {
34
+ if (time == null) return false;
35
+ const trimmed = time.trim().toLowerCase();
36
+ if (trimmed === '' || trimmed.includes('undefined') || trimmed.includes('null')) return false;
37
+ return !/^0{1,2}:0{2}(:0{2})?$/.test(trimmed);
38
+ }
39
+ function formatEventDate(startDateTime, endDateTime) {
40
+ const start = parseDate(startDateTime);
41
+ if (!start) return '';
42
+ const end = parseDate(endDateTime);
43
+ if (end && !isSameDay(start, end)) {
44
+ return `${formatDateTime(start)} – ${formatDateTime(end)}`;
45
+ }
46
+ if (end) {
47
+ return `${formatDateTime(start)} – ${formatTime(end)}`;
48
+ }
49
+ return formatDateTime(start);
50
+ }
51
+ //# sourceMappingURL=time.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["parseDate","value","trimmed","trim","date","Date","Number","isNaN","getTime","formatDateTime","toLocaleString","month","day","year","hour","minute","formatTime","toLocaleTimeString","isSameDay","a","b","getFullYear","getMonth","getDate","hasEventTime","time","toLowerCase","includes","test","formatEventDate","startDateTime","endDateTime","start","end"],"sourceRoot":"../../../src","sources":["utils/time.utils.ts"],"mappings":";;;;;;;AAAA,SAASA,SAASA,CAACC,KAAqB,EAAe;EACrD,IAAIA,KAAK,IAAI,IAAI,EAAE,OAAO,IAAI;EAE9B,MAAMC,OAAO,GAAGD,KAAK,CAACE,IAAI,CAAC,CAAC;EAC5B,IAAID,OAAO,KAAK,EAAE,EAAE,OAAO,IAAI;EAE/B,MAAME,IAAI,GAAG,IAAIC,IAAI,CAACH,OAAO,CAAC;EAC9B,OAAOI,MAAM,CAACC,KAAK,CAACH,IAAI,CAACI,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,GAAGJ,IAAI;AACnD;AAEA,SAASK,cAAcA,CAACL,IAAU,EAAU;EAC1C,OAAOA,IAAI,CAACM,cAAc,CAAC,OAAO,EAAE;IAClCC,KAAK,EAAE,OAAO;IACdC,GAAG,EAAE,SAAS;IACdC,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE;EACV,CAAC,CAAC;AACJ;AAEA,SAASC,UAAUA,CAACZ,IAAU,EAAU;EACtC,OAAOA,IAAI,CAACa,kBAAkB,CAAC,OAAO,EAAE;IACtCH,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE;EACV,CAAC,CAAC;AACJ;AAEA,SAASG,SAASA,CAACC,CAAO,EAAEC,CAAO,EAAW;EAC5C,OACED,CAAC,CAACE,WAAW,CAAC,CAAC,KAAKD,CAAC,CAACC,WAAW,CAAC,CAAC,IACnCF,CAAC,CAACG,QAAQ,CAAC,CAAC,KAAKF,CAAC,CAACE,QAAQ,CAAC,CAAC,IAC7BH,CAAC,CAACI,OAAO,CAAC,CAAC,KAAKH,CAAC,CAACG,OAAO,CAAC,CAAC;AAE/B;AAEO,SAASC,YAAYA,CAACC,IAAoB,EAAW;EAC1D,IAAIA,IAAI,IAAI,IAAI,EAAE,OAAO,KAAK;EAE9B,MAAMvB,OAAO,GAAGuB,IAAI,CAACtB,IAAI,CAAC,CAAC,CAACuB,WAAW,CAAC,CAAC;EACzC,IAAIxB,OAAO,KAAK,EAAE,IAAIA,OAAO,CAACyB,QAAQ,CAAC,WAAW,CAAC,IAAIzB,OAAO,CAACyB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK;EAE7F,OAAO,CAAC,uBAAuB,CAACC,IAAI,CAAC1B,OAAO,CAAC;AAC/C;AAEO,SAAS2B,eAAeA,CAACC,aAA6B,EAAEC,WAA2B,EAAU;EAClG,MAAMC,KAAK,GAAGhC,SAAS,CAAC8B,aAAa,CAAC;EACtC,IAAI,CAACE,KAAK,EAAE,OAAO,EAAE;EAErB,MAAMC,GAAG,GAAGjC,SAAS,CAAC+B,WAAW,CAAC;EAClC,IAAIE,GAAG,IAAI,CAACf,SAAS,CAACc,KAAK,EAAEC,GAAG,CAAC,EAAE;IACjC,OAAO,GAAGxB,cAAc,CAACuB,KAAK,CAAC,MAAMvB,cAAc,CAACwB,GAAG,CAAC,EAAE;EAC5D;EACA,IAAIA,GAAG,EAAE;IACP,OAAO,GAAGxB,cAAc,CAACuB,KAAK,CAAC,MAAMhB,UAAU,CAACiB,GAAG,CAAC,EAAE;EACxD;EAEA,OAAOxB,cAAc,CAACuB,KAAK,CAAC;AAC9B","ignoreList":[]}
@@ -27,6 +27,24 @@ Object.defineProperty(exports, "Event", {
27
27
  return _event.Event;
28
28
  }
29
29
  });
30
+ Object.defineProperty(exports, "Flight", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _flight.Flight;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "FlightBoard", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _flightBoard.FlightBoard;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "FlightStatus", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _chatModel.FlightStatus;
46
+ }
47
+ });
30
48
  Object.defineProperty(exports, "Info", {
31
49
  enumerable: true,
32
50
  get: function () {
@@ -39,12 +57,36 @@ Object.defineProperty(exports, "ItemAction", {
39
57
  return _chatModel.ItemAction;
40
58
  }
41
59
  });
60
+ Object.defineProperty(exports, "Order", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _order.Order;
64
+ }
65
+ });
66
+ Object.defineProperty(exports, "OrderStatus", {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _orderModel.OrderStatus;
70
+ }
71
+ });
42
72
  Object.defineProperty(exports, "Product", {
43
73
  enumerable: true,
44
74
  get: function () {
45
75
  return _product.Product;
46
76
  }
47
77
  });
78
+ Object.defineProperty(exports, "Reservation", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _reservation.Reservation;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "ReservationStatus", {
85
+ enumerable: true,
86
+ get: function () {
87
+ return _reservationModel.ReservationStatus;
88
+ }
89
+ });
48
90
  Object.defineProperty(exports, "Service", {
49
91
  enumerable: true,
50
92
  get: function () {
@@ -67,8 +109,14 @@ var _product = require("./features/chat/components/product/product");
67
109
  var _service = require("./features/chat/components/service/service");
68
110
  var _event = require("./features/chat/components/event/event");
69
111
  var _info = require("./features/chat/components/info/info");
112
+ var _flight = require("./features/chat/components/flight/flight");
113
+ var _flightBoard = require("./features/chat/components/flight-board/flight-board");
114
+ var _order = require("./features/chat/components/order/order");
115
+ var _reservation = require("./features/chat/components/reservation/reservation");
70
116
  var _renderer = require("./features/chat/renderer/renderer");
71
117
  var _message = require("./features/chat/message/message");
72
118
  var _messageLogic = require("./features/chat/message/message.logic.js");
73
119
  var _chatModel = require("./features/chat/model/chat.model.js");
120
+ var _orderModel = require("./features/chat/components/order/order.model.js");
121
+ var _reservationModel = require("./features/chat/components/reservation/reservation.model.js");
74
122
  //# sourceMappingURL=web.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_product","require","_service","_event","_info","_renderer","_message","_messageLogic","_chatModel"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_product","require","_service","_event","_info","_flight","_flightBoard","_order","_reservation","_renderer","_message","_messageLogic","_chatModel","_orderModel","_reservationModel"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,WAAA,GAAAZ,OAAA;AACA,IAAAa,iBAAA,GAAAb,OAAA","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
+ export function CalendarIcon({
5
+ size = 16,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsxs("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: [/*#__PURE__*/_jsx("rect", {
14
+ x: "4",
15
+ y: "5",
16
+ width: "16",
17
+ height: "16",
18
+ rx: "2",
19
+ stroke: color,
20
+ strokeWidth: 1.8
21
+ }), /*#__PURE__*/_jsx("path", {
22
+ d: "M4 9h16M8 3v4M16 3v4",
23
+ stroke: color,
24
+ strokeWidth: 1.8,
25
+ strokeLinecap: "round"
26
+ })]
27
+ });
28
+ }
29
+ //# sourceMappingURL=calendar-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CalendarIcon","size","color","_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":";;;AAKA,OAAO,SAASA,YAAYA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAkC,CAAC,EAAE;EACrF,oBACEC,KAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DC,IAAA;MAAMC,CAAC,EAAC,GAAG;MAACC,CAAC,EAAC,GAAG;MAACP,KAAK,EAAC,IAAI;MAACC,MAAM,EAAC,IAAI;MAACO,EAAE,EAAC,GAAG;MAACC,MAAM,EAAEX,KAAM;MAACY,WAAW,EAAE;IAAI,CAAE,CAAC,eACnFL,IAAA;MAAMM,CAAC,EAAC,sBAAsB;MAACF,MAAM,EAAEX,KAAM;MAACY,WAAW,EAAE,GAAI;MAACE,aAAa,EAAC;IAAO,CAAE,CAAC;EAAA,CACrF,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
+ export function CalendarIcon({
5
+ size = 16,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsxs("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: [/*#__PURE__*/_jsx("rect", {
14
+ x: "4",
15
+ y: "5",
16
+ width: "16",
17
+ height: "16",
18
+ rx: "2",
19
+ stroke: color,
20
+ strokeWidth: 1.8
21
+ }), /*#__PURE__*/_jsx("path", {
22
+ d: "M4 9h16M8 3v4M16 3v4",
23
+ stroke: color,
24
+ strokeWidth: 1.8,
25
+ strokeLinecap: "round"
26
+ })]
27
+ });
28
+ }
29
+ //# sourceMappingURL=calendar-icon.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CalendarIcon","size","color","_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":";;;AAKA,OAAO,SAASA,YAAYA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAkC,CAAC,EAAE;EACrF,oBACEC,KAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DC,IAAA;MAAMC,CAAC,EAAC,GAAG;MAACC,CAAC,EAAC,GAAG;MAACP,KAAK,EAAC,IAAI;MAACC,MAAM,EAAC,IAAI;MAACO,EAAE,EAAC,GAAG;MAACC,MAAM,EAAEX,KAAM;MAACY,WAAW,EAAE;IAAI,CAAE,CAAC,eACnFL,IAAA;MAAMM,CAAC,EAAC,sBAAsB;MAACF,MAAM,EAAEX,KAAM;MAACY,WAAW,EAAE,GAAI;MAACE,aAAa,EAAC;IAAO,CAAE,CAAC;EAAA,CACrF,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
+ export function CartIcon({
5
+ size = 16,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsxs("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: [/*#__PURE__*/_jsx("path", {
14
+ 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",
15
+ stroke: color,
16
+ strokeWidth: 1.8,
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ }), /*#__PURE__*/_jsx("circle", {
20
+ cx: "9.5",
21
+ cy: "20",
22
+ r: "1.4",
23
+ fill: color
24
+ }), /*#__PURE__*/_jsx("circle", {
25
+ cx: "17",
26
+ cy: "20",
27
+ r: "1.4",
28
+ fill: color
29
+ })]
30
+ });
31
+ }
32
+ //# sourceMappingURL=cart-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CartIcon","size","color","_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":";;;AAKA,OAAO,SAASA,QAAQA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAA8B,CAAC,EAAE;EAC7E,oBACEC,KAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,gBAC7DC,IAAA;MACEC,CAAC,EAAC,6EAA6E;MAC/EC,MAAM,EAAET,KAAM;MACdU,WAAW,EAAE,GAAI;MACjBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC;IAAO,CACvB,CAAC,eACFL,IAAA;MAAQM,EAAE,EAAC,KAAK;MAACC,EAAE,EAAC,IAAI;MAACC,CAAC,EAAC,KAAK;MAACV,IAAI,EAAEL;IAAM,CAAE,CAAC,eAChDO,IAAA;MAAQM,EAAE,EAAC,IAAI;MAACC,EAAE,EAAC,IAAI;MAACC,CAAC,EAAC,KAAK;MAACV,IAAI,EAAEL;IAAM,CAAE,CAAC;EAAA,CAC5C,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ export function ChevronIcon({
5
+ size = 16,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsx("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: /*#__PURE__*/_jsx("path", {
14
+ d: "M6 9l6 6 6-6",
15
+ stroke: color,
16
+ strokeWidth: 1.8,
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ })
20
+ });
21
+ }
22
+ //# sourceMappingURL=chevron-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ChevronIcon","size","color","_jsx","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/chevron-icon.tsx"],"mappings":";;;AAKA,OAAO,SAASA,WAAWA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAiC,CAAC,EAAE;EACnF,oBACEC,IAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DL,IAAA;MACEM,CAAC,EAAC,cAAc;MAChBC,MAAM,EAAER,KAAM;MACdS,WAAW,EAAE,GAAI;MACjBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ export function ChevronIcon({
5
+ size = 16,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsx("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: /*#__PURE__*/_jsx("path", {
14
+ d: "M6 9l6 6 6-6",
15
+ stroke: color,
16
+ strokeWidth: 1.8,
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ })
20
+ });
21
+ }
22
+ //# sourceMappingURL=chevron-icon.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ChevronIcon","size","color","_jsx","width","height","viewBox","fill","children","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/chevron-icon.native.tsx"],"mappings":";;;AAKA,OAAO,SAASA,WAAWA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAAiC,CAAC,EAAE;EACnF,oBACEC,IAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DL,IAAA;MACEM,CAAC,EAAC,cAAc;MAChBC,MAAM,EAAER,KAAM;MACdS,WAAW,EAAE,GAAI;MACjBC,aAAa,EAAC,OAAO;MACrBC,cAAc,EAAC;IAAO,CACvB;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ export function PlaneIcon({
5
+ size = 20,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsx("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: /*#__PURE__*/_jsx("path", {
14
+ 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",
15
+ fill: color
16
+ })
17
+ });
18
+ }
19
+ //# sourceMappingURL=plane-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["PlaneIcon","size","color","_jsx","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/plane-icon.tsx"],"mappings":";;;AAKA,OAAO,SAASA,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAA+B,CAAC,EAAE;EAC/E,oBACEC,IAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DL,IAAA;MACEM,CAAC,EAAC,qGAAqG;MACvGF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ export function PlaneIcon({
5
+ size = 20,
6
+ color = 'currentColor'
7
+ }) {
8
+ return /*#__PURE__*/_jsx("svg", {
9
+ width: size,
10
+ height: size,
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ children: /*#__PURE__*/_jsx("path", {
14
+ 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",
15
+ fill: color
16
+ })
17
+ });
18
+ }
19
+ //# sourceMappingURL=plane-icon.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["PlaneIcon","size","color","_jsx","width","height","viewBox","fill","children","d"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/common/plane-icon.native.tsx"],"mappings":";;;AAKA,OAAO,SAASA,SAASA,CAAC;EAAEC,IAAI,GAAG,EAAE;EAAEC,KAAK,GAAG;AAA+B,CAAC,EAAE;EAC/E,oBACEC,IAAA;IAAKC,KAAK,EAAEH,IAAK;IAACI,MAAM,EAAEJ,IAAK;IAACK,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC,MAAM;IAAAC,QAAA,eAC7DL,IAAA;MACEM,CAAC,EAAC,qGAAqG;MACvGF,IAAI,EAAEL;IAAM,CACb;EAAC,CACC,CAAC;AAEV","ignoreList":[]}
@@ -3,6 +3,7 @@
3
3
  import { getThemeClasses } from "../../../../utils/theme.utils.js";
4
4
  import { resolveText } from "../../../../utils/i18n.utils.js";
5
5
  import { isFreePrice } from "../../../../utils/price.utils.js";
6
+ import { formatEventDate, hasEventTime } from "../../../../utils/time.utils.js";
6
7
  import { useExpandableList } from "../../../../utils/use-expandable-list.js";
7
8
  import { Collapsible } from '../common/collapsible';
8
9
  import { ClockIcon } from '../common/clock-icon';
@@ -29,6 +30,7 @@ export function Event({
29
30
  const location = resolveText(item.location, language);
30
31
  const description = item.description ? resolveText(item.description, language) : '';
31
32
  const isFree = isFreePrice(item.price);
33
+ const dateLabel = formatEventDate(item.startDateTime, item.endDateTime) || (hasEventTime(item.time) ? item.time : '');
32
34
  return /*#__PURE__*/_jsx("div", {
33
35
  className: `rounded-2xl border p-3 ${c.surface} ${c.border}`,
34
36
  children: /*#__PURE__*/_jsxs("div", {
@@ -52,12 +54,12 @@ export function Event({
52
54
  })]
53
55
  }), /*#__PURE__*/_jsxs("div", {
54
56
  className: "flex items-center gap-1.5",
55
- children: [/*#__PURE__*/_jsx(ClockIcon, {
57
+ children: [dateLabel ? /*#__PURE__*/_jsx(ClockIcon, {
56
58
  size: 16,
57
59
  color: c.iconColor
58
- }), /*#__PURE__*/_jsxs("span", {
60
+ }) : null, /*#__PURE__*/_jsx("span", {
59
61
  className: `truncate text-sm down-sm:text-xs ${c.subtitle}`,
60
- children: [item.time, " \xB7 ", location]
62
+ children: dateLabel ? `${dateLabel} · ${location}` : location
61
63
  })]
62
64
  }), description ? /*#__PURE__*/_jsx("span", {
63
65
  className: `line-clamp-2 text-sm down-sm:text-xs ${c.subtitle}`,
@@ -1 +1 @@
1
- {"version":3,"names":["getThemeClasses","resolveText","isFreePrice","useExpandableList","Collapsible","ClockIcon","Theme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","FREE_LABEL","Event","data","theme","Dark","language","onSelect","c","items","Array","isArray","head","rest","expanded","hasMore","toggle","renderCard","item","name","location","description","isFree","price","className","surface","border","children","src","image","alt","onClick","iconBg","title","free","size","color","iconColor","subtitle","time","map","index","undefined","id","type","actionBorder","actionText"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/event/event.tsx"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,kCAA+B;AAC/D,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,iBAAiB,QAAQ,0CAAuC;AACzE,SAASC,WAAW,QAAQ,uBAAuB;AACnD,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,KAAK,QAAQ,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAI/C,MAAMC,UAAU,GAAG,MAAM;AAEzB,OAAO,SAASC,KAAKA,CAAC;EACpBC,IAAI;EACJC,KAAK,GAAGV,KAAK,CAACW,IAAI;EAClBC,QAAQ;EACRC;AAC6B,CAAC,EAAE;EAChC,MAAMC,CAAC,GAAGpB,eAAe,CAACgB,KAAK,CAAC;EAChC,MAAMK,KAAK,GAAGC,KAAK,CAACC,OAAO,CAACR,IAAI,CAAC,GAAGA,IAAI,GAAG,CAACA,IAAI,CAAC;EACjD,MAAM;IAAES,IAAI;IAAEC,IAAI;IAAEC,QAA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AAC,0BAA0B;QAAAG,QAAA,eACvC/B,IAAA;UACEgD,IAAI,EAAC,QAAQ;UACbb,OAAO,EAAEf,MAAO;UAChBQ,SAAS,EAAE,qDAAqDhB,CAAC,CAACqC,YAAY,IAAIrC,CAAC,CAACsC,UAAU,EAAG;UAAAnB,QAAA,EAEhGb,QAAQ,GAAG,WAAW,GAAG;QAAW,CAC/B;MAAC,CACN,CAAC;IAAA,CACN,CAAC,GACD,IAAI;EAAA,CACL,CAAC;AAEV","ignoreList":[]}
1
+ {"version":3,"names":["getThemeClasses","resolveText","isFreePrice","formatEventDate","hasEventTime","useExpandableList","Collapsible","ClockIcon","Theme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","FREE_LABEL","Event","data","theme","Dark","language","onSelect","c","items","Array","isArray","head","rest","expanded","hasMore","toggle","renderCard","item","name","location","description","isFree","price","dateLabel","startDateTime","endDateTime","time","className","surface","border","children","src","image","alt","onClick","iconBg","title","free","size","color","iconColor","subtitle","map","index","undefined","id","type","actionBorder","actionText"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/event/event.tsx"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,kCAA+B;AAC/D,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,eAAe,EAAEC,YAAY,QAAQ,iCAA8B;AAC5E,SAASC,iBAAiB,QAAQ,0CAAuC;AACzE,SAASC,WAAW,QAAQ,uBAAuB;AACnD,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,KAAK,QAAQ,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAI/C,MAAMC,UAAU,GAAG,MAAM;AAEzB,OAAO,SAASC,KAAKA,CAAC;EACpBC,IAAI;EACJC,KAAK,GAAGV,KAAK,CAACW,IAAI;EAClBC,QAAQ;EACRC;AAC6B,CAAC,EAAE;EAChC,MAAMC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AAAd,QAAA,EAC1Dd,UAAU,CAACC,IAAI;IAAC,GADTA,IAAI,CAAC4B,EAEV,CACN,CAAC,EAED/B,OAAO,gBACNjB,KAAA,CAAAE,SAAA;MAAA+B,QAAA,gBACEnC,IAAA,CAACJ,WAAW;QAACsB,QAAQ,EAAEA,QAAS;QAAAiB,QAAA,EAC7BlB,IAAI,CAAC8B,GAAG,CAAEzB,IAAI,iBACbtB,IAAA;UAAmBgC,SAAS,EAAC,MAAM;UAAAG,QAAA,EAChCd,UAAU,CAACC,IAAI;QAAC,GADTA,IAAI,CAAC4B,EAEV,CACN;MAAC,CACS,CAAC,eAEdlD,IAAA;QAAKgC,SAAS,EAAC,0BAA0B;QAAAG,QAAA,eACvCnC,IAAA;UACEmD,IAAI,EAAC,QAAQ;UACbZ,OAAO,EAAEnB,MAAO;UAChBY,SAAS,EAAE,qDAAqDpB,CAAC,CAACwC,YAAY,IAAIxC,CAAC,CAACyC,UAAU,EAAG;UAAAlB,QAAA,EAEhGjB,QAAQ,GAAG,WAAW,GAAG;QAAW,CAC/B;MAAC,CACN,CAAC;IAAA,CACN,CAAC,GACD,IAAI;EAAA,CACL,CAAC;AAEV","ignoreList":[]}
@@ -4,6 +4,7 @@ import { Image, Pressable, Text, View } from 'react-native';
4
4
  import { getThemeClasses } from "../../../../utils/theme.utils.js";
5
5
  import { resolveText } from "../../../../utils/i18n.utils.js";
6
6
  import { isFreePrice } from "../../../../utils/price.utils.js";
7
+ import { formatEventDate, hasEventTime } from "../../../../utils/time.utils.js";
7
8
  import { useExpandableList } from "../../../../utils/use-expandable-list.js";
8
9
  import { Collapsible } from "../common/collapsible.native.js";
9
10
  import { ClockIcon } from "../common/clock-icon.native.js";
@@ -30,6 +31,7 @@ export function Event({
30
31
  const location = resolveText(item.location, language);
31
32
  const description = item.description ? resolveText(item.description, language) : '';
32
33
  const isFree = isFreePrice(item.price);
34
+ const dateLabel = formatEventDate(item.startDateTime, item.endDateTime) || (hasEventTime(item.time) ? item.time : '');
33
35
  return /*#__PURE__*/_jsx(View, {
34
36
  className: `rounded-2xl border p-3 ${c.surface} ${c.border}`,
35
37
  children: /*#__PURE__*/_jsxs(View, {
@@ -58,13 +60,13 @@ export function Event({
58
60
  })]
59
61
  }), /*#__PURE__*/_jsxs(View, {
60
62
  className: "flex-row items-center gap-1.5",
61
- children: [/*#__PURE__*/_jsx(ClockIcon, {
63
+ children: [dateLabel ? /*#__PURE__*/_jsx(ClockIcon, {
62
64
  size: 16,
63
65
  color: c.iconColor
64
- }), /*#__PURE__*/_jsxs(Text, {
66
+ }) : null, /*#__PURE__*/_jsx(Text, {
65
67
  className: `flex-1 text-sm down-sm:text-xs ${c.subtitle}`,
66
68
  numberOfLines: 1,
67
- children: [item.time, " \xB7 ", location]
69
+ children: dateLabel ? `${dateLabel} · ${location}` : location
68
70
  })]
69
71
  }), description ? /*#__PURE__*/_jsx(Text, {
70
72
  className: `text-sm down-sm:text-xs ${c.subtitle}`,
@@ -1 +1 @@
1
- {"version":3,"names":["Image","Pressable","Text","View","getThemeClasses","resolveText","isFreePrice","useExpandableList","Collapsible","ClockIcon","Theme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","FREE_LABEL","Event","data","theme","Dark","language","onSelect","c","items","Array","isArray","head","rest","expanded","hasMore","toggle","renderCard","item","name","location","description","isFree","price","className","surface","border","children","onPress","accessibilityLabel","source","uri","image","iconBg","title","numberOfLines","free","size","color","iconColor","subtitle","time","map","index","undefined","id","actionBorder","actionText"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/event/event.native.tsx"],"mappings":";;AAAA,SAASA,KAAK,EAAEC,SAAS,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC3D,SAASC,eAAe,QAAQ,kCAA+B;AAC/D,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,iBAAiB,QAAQ,0CAAuC;AACzE,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC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","resolveText","isFreePrice","formatEventDate","hasEventTime","useExpandableList","Collapsible","ClockIcon","Theme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","FREE_LABEL","Event","data","theme","Dark","language","onSelect","c","items","Array","isArray","head","rest","expanded","hasMore","toggle","renderCard","item","name","location","description","isFree","price","dateLabel","startDateTime","endDateTime","time","className","surface","border","children","onPress","accessibilityLabel","source","uri","image","iconBg","title","numberOfLines","free","size","color","iconColor","subtitle","map","index","undefined","id","actionBorder","actionText"],"sourceRoot":"../../../../../../src","sources":["features/chat/components/event/event.native.tsx"],"mappings":";;AAAA,SAASA,KAAK,EAAEC,SAAS,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC3D,SAASC,eAAe,QAAQ,kCAA+B;AAC/D,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,WAAW,QAAQ,kCAA+B;AAC3D,SAASC,eAAe,EAAEC,YAAY,QAAQ,iCAA8B;AAC5E,SAASC,iBAAiB,QAAQ,0CAAuC;AACzE,SAASC,WAAW,QAAQ,iCAA8B;AAC1D,SAASC,SAAS,QAAQ,gCAA6B;AACvD,SAASC,KAAK,QAAQ,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAI/C,MAAMC,UAAU,GAAG,MAAM;AAEzB,OAAO,SAASC,KAAKA,CAAC;EACpBC,IAAI;EACJC,KAAK,GAAGV,KAAK,CAACW,IAAI;EAClBC,QAAQ;EACRC;AAC6B,CAAC,EAAE;EAChC,MAAMC,CAAC,GAAGtB,eAAe,CAACkB,KAAK,CAAC;EAChC,MAAMK,KAAK,GAAGC,KAAK,CAACC,OAAO,CAACR,IAAI,CAAC,GAAGA,IAAI,GAAG,CAACA,IAAI,CAAC;EACjD,MAAM;IAAES,IAAI;IAAEC,IAAI;IAAEC,QAAQ;IAAEC,OAAO;IAAEC;EAAO,CAAC,GAAGzB,iBAAiB,CAACkB,K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