@inorain_development/hotel-smarters-chat-ui 1.2.2 → 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 (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 +171 -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 +192 -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 +164 -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 +167 -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 +188 -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 +160 -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 +27 -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 +27 -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 +175 -0
  325. package/src/features/chat/components/order/order.tsx +176 -0
  326. package/src/features/chat/components/reservation/index.ts +3 -0
  327. package/src/features/chat/components/reservation/reservation.model.ts +29 -0
  328. package/src/features/chat/components/reservation/reservation.native.tsx +159 -0
  329. package/src/features/chat/components/reservation/reservation.tsx +161 -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
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Theme = exports.ItemAction = exports.ComponentType = void 0;
6
+ exports.Theme = exports.ItemAction = exports.FlightStatus = exports.ComponentType = void 0;
7
7
  let Theme = exports.Theme = /*#__PURE__*/function (Theme) {
8
8
  Theme["Dark"] = "dark";
9
9
  Theme["Light"] = "light";
@@ -17,10 +17,26 @@ let ComponentType = exports.ComponentType = /*#__PURE__*/function (ComponentType
17
17
  ComponentType["Event"] = "event";
18
18
  ComponentType["EventList"] = "eventList";
19
19
  ComponentType["Info"] = "info";
20
+ ComponentType["Flight"] = "flight";
21
+ ComponentType["FlightList"] = "flightList";
22
+ ComponentType["FlightBoard"] = "flightBoard";
23
+ ComponentType["Order"] = "order";
24
+ ComponentType["Reservation"] = "reservation";
25
+ ComponentType["ReservationList"] = "reservationList";
20
26
  return ComponentType;
21
27
  }({});
22
28
  let ItemAction = exports.ItemAction = /*#__PURE__*/function (ItemAction) {
23
29
  ItemAction["Add"] = "add";
30
+ ItemAction["Manage"] = "manage";
31
+ ItemAction["Track"] = "track";
24
32
  return ItemAction;
25
33
  }({});
34
+ let FlightStatus = exports.FlightStatus = /*#__PURE__*/function (FlightStatus) {
35
+ FlightStatus["OnTime"] = "onTime";
36
+ FlightStatus["Delayed"] = "delayed";
37
+ FlightStatus["Boarding"] = "boarding";
38
+ FlightStatus["Landed"] = "landed";
39
+ FlightStatus["Cancelled"] = "cancelled";
40
+ return FlightStatus;
41
+ }({});
26
42
  //# sourceMappingURL=chat.model.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Theme","exports","ComponentType","ItemAction"],"sourceRoot":"../../../../../src","sources":["features/chat/model/chat.model.ts"],"mappings":";;;;;;IAAYA,KAAK,GAAAC,OAAA,CAAAD,KAAA,0BAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAAA,OAALA,KAAK;AAAA;AAAA,IAQLE,aAAa,GAAAD,OAAA,CAAAC,aAAA,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAAA,IAUbC,UAAU,GAAAF,OAAA,CAAAE,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["Theme","exports","ComponentType","ItemAction","FlightStatus"],"sourceRoot":"../../../../../src","sources":["features/chat/model/chat.model.ts"],"mappings":";;;;;;IAAYA,KAAK,GAAAC,OAAA,CAAAD,KAAA,0BAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAAA,OAALA,KAAK;AAAA;AAAA,IAQLE,aAAa,GAAAD,OAAA,CAAAC,aAAA,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAAA,IAgBbC,UAAU,GAAAF,OAAA,CAAAE,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAA,IAMVC,YAAY,GAAAH,OAAA,CAAAG,YAAA,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
@@ -8,6 +8,10 @@ var _product = require("../components/product/product");
8
8
  var _service = require("../components/service/service");
9
9
  var _event = require("../components/event/event");
10
10
  var _info = require("../components/info/info");
11
+ var _flight = require("../components/flight/flight");
12
+ var _flightBoard = require("../components/flight-board/flight-board");
13
+ var _order = require("../components/order/order");
14
+ var _reservation = require("../components/reservation/reservation");
11
15
  var _chatModel = require("../model/chat.model.js");
12
16
  var _jsxRuntime = require("react/jsx-runtime");
13
17
  function ChatComponentRenderer({
@@ -38,6 +42,28 @@ function ChatComponentRenderer({
38
42
  type: type,
39
43
  ...rest
40
44
  });
45
+ case _chatModel.ComponentType.Flight:
46
+ case _chatModel.ComponentType.FlightList:
47
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flight.Flight, {
48
+ type: type,
49
+ ...rest
50
+ });
51
+ case _chatModel.ComponentType.FlightBoard:
52
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flightBoard.FlightBoard, {
53
+ type: type,
54
+ ...rest
55
+ });
56
+ case _chatModel.ComponentType.Order:
57
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_order.Order, {
58
+ type: type,
59
+ ...rest
60
+ });
61
+ case _chatModel.ComponentType.Reservation:
62
+ case _chatModel.ComponentType.ReservationList:
63
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reservation.Reservation, {
64
+ type: type,
65
+ ...rest
66
+ });
41
67
  default:
42
68
  return null;
43
69
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_product","require","_service","_event","_info","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AAKA,IAAAI,UAAA,GAAAJ,OAAA;AAAoD,IAAAK,WAAA,GAAAL,OAAA;AAG7C,SAASM,qBAAqBA,CAEnC;EAAEC,IAAI;EAAE,GAAGC;AAAgC,CAAC,EAAE;EAC9C,QAAQD,IAAI;IACV,KAAKE,wBAAa,CAACC,OAAO;IAC1B,KAAKD,wBAAa,CAACE,WAAW;MAC5B,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACb,QAAA,CAAAW,OAAO;QAACH,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACI,OAAO;IAC1B,KAAKJ,wBAAa,CAACK,WAAW;MAC5B,oBAAO,IAAAT,WAAA,CAAAO,GAAA,EAACX,QAAA,CAAAY,OAAO;QAACN,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACM,KAAK;IACxB,KAAKN,wBAAa,CAACO,SAAS;MAC1B,oBAAO,IAAAX,WAAA,CAAAO,GAAA,EAACV,MAAA,CAAAa,KAAK;QAACR,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA8D,CAAC;IACpG,KAAKC,wBAAa,CAACQ,IAAI;MACrB,oBAAO,IAAAZ,WAAA,CAAAO,GAAA,EAACT,KAAA,CAAAc,IAAI;QAACV,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA6D,CAAC;IAClG;MACE,OAAO,IAAI;EACf;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_product","require","_service","_event","_info","_flight","_flightBoard","_order","_reservation","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info","Flight","FlightList","FlightBoard","Order","Reservation","ReservationList"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.tsx"],"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;AASA,IAAAQ,UAAA,GAAAR,OAAA;AAAoD,IAAAS,WAAA,GAAAT,OAAA;AAG7C,SAASU,qBAAqBA,CAUnC;EAAEC,IAAI;EAAE,GAAGC;AAAgC,CAAC,EAAE;EAC9C,QAAQD,IAAI;IACV,KAAKE,wBAAa,CAACC,OAAO;IAC1B,KAAKD,wBAAa,CAACE,WAAW;MAC5B,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACjB,QAAA,CAAAe,OAAO;QAACH,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACI,OAAO;IAC1B,KAAKJ,wBAAa,CAACK,WAAW;MAC5B,oBAAO,IAAAT,WAAA,CAAAO,GAAA,EAACf,QAAA,CAAAgB,OAAO;QAACN,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACM,KAAK;IACxB,KAAKN,wBAAa,CAACO,SAAS;MAC1B,oBAAO,IAAAX,WAAA,CAAAO,GAAA,EAACd,MAAA,CAAAiB,KAAK;QAACR,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA8D,CAAC;IACpG,KAAKC,wBAAa,CAACQ,IAAI;MACrB,oBAAO,IAAAZ,WAAA,CAAAO,GAAA,EAACb,KAAA,CAAAkB,IAAI;QAACV,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA6D,CAAC;IAClG,KAAKC,wBAAa,CAACS,MAAM;IACzB,KAAKT,wBAAa,CAACU,UAAU;MAC3B,oBAAO,IAAAd,WAAA,CAAAO,GAAA,EAACZ,OAAA,CAAAkB,MAAM;QAACX,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA+D,CAAC;IACtG,KAAKC,wBAAa,CAACW,WAAW;MAC5B,oBAAO,IAAAf,WAAA,CAAAO,GAAA,EAACX,YAAA,CAAAmB,WAAW;QAACb,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAoE,CAAC;IAChH,KAAKC,wBAAa,CAACY,KAAK;MACtB,oBAAO,IAAAhB,WAAA,CAAAO,GAAA,EAACV,MAAA,CAAAmB,KAAK;QAACd,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAkE,CAAC;IACxG,KAAKC,wBAAa,CAACa,WAAW;IAC9B,KAAKb,wBAAa,CAACc,eAAe;MAChC,oBACE,IAAAlB,WAAA,CAAAO,GAAA,EAACT,YAAA,CAAAmB,WAAW;QAACf,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAwE,CAAC;IAE/G;MACE,OAAO,IAAI;EACf;AACF","ignoreList":[]}
@@ -8,6 +8,10 @@ var _productNative = require("../components/product/product.native.js");
8
8
  var _serviceNative = require("../components/service/service.native.js");
9
9
  var _eventNative = require("../components/event/event.native.js");
10
10
  var _infoNative = require("../components/info/info.native.js");
11
+ var _flightNative = require("../components/flight/flight.native.js");
12
+ var _flightBoardNative = require("../components/flight-board/flight-board.native.js");
13
+ var _orderNative = require("../components/order/order.native.js");
14
+ var _reservationNative = require("../components/reservation/reservation.native.js");
11
15
  var _chatModel = require("../model/chat.model.js");
12
16
  var _jsxRuntime = require("react/jsx-runtime");
13
17
  function ChatComponentRenderer({
@@ -38,6 +42,28 @@ function ChatComponentRenderer({
38
42
  type: type,
39
43
  ...rest
40
44
  });
45
+ case _chatModel.ComponentType.Flight:
46
+ case _chatModel.ComponentType.FlightList:
47
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flightNative.Flight, {
48
+ type: type,
49
+ ...rest
50
+ });
51
+ case _chatModel.ComponentType.FlightBoard:
52
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flightBoardNative.FlightBoard, {
53
+ type: type,
54
+ ...rest
55
+ });
56
+ case _chatModel.ComponentType.Order:
57
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_orderNative.Order, {
58
+ type: type,
59
+ ...rest
60
+ });
61
+ case _chatModel.ComponentType.Reservation:
62
+ case _chatModel.ComponentType.ReservationList:
63
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reservationNative.Reservation, {
64
+ type: type,
65
+ ...rest
66
+ });
41
67
  default:
42
68
  return null;
43
69
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.native.tsx"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAKA,IAAAI,UAAA,GAAAJ,OAAA;AAAoD,IAAAK,WAAA,GAAAL,OAAA;AAG7C,SAASM,qBAAqBA,CAEnC;EAAEC,IAAI;EAAE,GAAGC;AAAgC,CAAC,EAAE;EAC9C,QAAQD,IAAI;IACV,KAAKE,wBAAa,CAACC,OAAO;IAC1B,KAAKD,wBAAa,CAACE,WAAW;MAC5B,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACb,cAAA,CAAAW,OAAO;QAACH,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACI,OAAO;IAC1B,KAAKJ,wBAAa,CAACK,WAAW;MAC5B,oBAAO,IAAAT,WAAA,CAAAO,GAAA,EAACX,cAAA,CAAAY,OAAO;QAACN,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACM,KAAK;IACxB,KAAKN,wBAAa,CAACO,SAAS;MAC1B,oBAAO,IAAAX,WAAA,CAAAO,GAAA,EAACV,YAAA,CAAAa,KAAK;QAACR,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA8D,CAAC;IACpG,KAAKC,wBAAa,CAACQ,IAAI;MACrB,oBAAO,IAAAZ,WAAA,CAAAO,GAAA,EAACT,WAAA,CAAAc,IAAI;QAACV,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA6D,CAAC;IAClG;MACE,OAAO,IAAI;EACf;AACF","ignoreList":[]}
1
+ {"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_flightNative","_flightBoardNative","_orderNative","_reservationNative","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info","Flight","FlightList","FlightBoard","Order","Reservation","ReservationList"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.native.tsx"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AASA,IAAAQ,UAAA,GAAAR,OAAA;AAAoD,IAAAS,WAAA,GAAAT,OAAA;AAG7C,SAASU,qBAAqBA,CAUnC;EAAEC,IAAI;EAAE,GAAGC;AAAgC,CAAC,EAAE;EAC9C,QAAQD,IAAI;IACV,KAAKE,wBAAa,CAACC,OAAO;IAC1B,KAAKD,wBAAa,CAACE,WAAW;MAC5B,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACjB,cAAA,CAAAe,OAAO;QAACH,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACI,OAAO;IAC1B,KAAKJ,wBAAa,CAACK,WAAW;MAC5B,oBAAO,IAAAT,WAAA,CAAAO,GAAA,EAACf,cAAA,CAAAgB,OAAO;QAACN,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAgE,CAAC;IACxG,KAAKC,wBAAa,CAACM,KAAK;IACxB,KAAKN,wBAAa,CAACO,SAAS;MAC1B,oBAAO,IAAAX,WAAA,CAAAO,GAAA,EAACd,YAAA,CAAAiB,KAAK;QAACR,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA8D,CAAC;IACpG,KAAKC,wBAAa,CAACQ,IAAI;MACrB,oBAAO,IAAAZ,WAAA,CAAAO,GAAA,EAACb,WAAA,CAAAkB,IAAI;QAACV,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA6D,CAAC;IAClG,KAAKC,wBAAa,CAACS,MAAM;IACzB,KAAKT,wBAAa,CAACU,UAAU;MAC3B,oBAAO,IAAAd,WAAA,CAAAO,GAAA,EAACZ,aAAA,CAAAkB,MAAM;QAACX,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAA+D,CAAC;IACtG,KAAKC,wBAAa,CAACW,WAAW;MAC5B,oBAAO,IAAAf,WAAA,CAAAO,GAAA,EAACX,kBAAA,CAAAmB,WAAW;QAACb,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAoE,CAAC;IAChH,KAAKC,wBAAa,CAACY,KAAK;MACtB,oBAAO,IAAAhB,WAAA,CAAAO,GAAA,EAACV,YAAA,CAAAmB,KAAK;QAACd,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAkE,CAAC;IACxG,KAAKC,wBAAa,CAACa,WAAW;IAC9B,KAAKb,wBAAa,CAACc,eAAe;MAChC,oBACE,IAAAlB,WAAA,CAAAO,GAAA,EAACT,kBAAA,CAAAmB,WAAW;QAACf,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAwE,CAAC;IAE/G;MACE,OAAO,IAAI;EACf;AACF","ignoreList":[]}
@@ -27,6 +27,24 @@ Object.defineProperty(exports, "Event", {
27
27
  return _eventNative.Event;
28
28
  }
29
29
  });
30
+ Object.defineProperty(exports, "Flight", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _flightNative.Flight;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "FlightBoard", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _flightBoardNative.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 _orderNative.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 _productNative.Product;
46
76
  }
47
77
  });
78
+ Object.defineProperty(exports, "Reservation", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _reservationNative.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 _productNative = require("./features/chat/components/product/product.native.
67
109
  var _serviceNative = require("./features/chat/components/service/service.native.js");
68
110
  var _eventNative = require("./features/chat/components/event/event.native.js");
69
111
  var _infoNative = require("./features/chat/components/info/info.native.js");
112
+ var _flightNative = require("./features/chat/components/flight/flight.native.js");
113
+ var _flightBoardNative = require("./features/chat/components/flight-board/flight-board.native.js");
114
+ var _orderNative = require("./features/chat/components/order/order.native.js");
115
+ var _reservationNative = require("./features/chat/components/reservation/reservation.native.js");
70
116
  var _rendererNative = require("./features/chat/renderer/renderer.native.js");
71
117
  var _messageNative = require("./features/chat/message/message.native.js");
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=native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_rendererNative","_messageNative","_messageLogic","_chatModel"],"sourceRoot":"../../src","sources":["native.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_flightNative","_flightBoardNative","_orderNative","_reservationNative","_rendererNative","_messageNative","_messageLogic","_chatModel","_orderModel","_reservationModel"],"sourceRoot":"../../src","sources":["native.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAR,OAAA;AACA,IAAAS,cAAA,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,86 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getFlightStatusStyle = getFlightStatusStyle;
7
+ var _chatModel = require("../features/chat/model/chat.model.js");
8
+ const DARK = {
9
+ [_chatModel.FlightStatus.OnTime]: {
10
+ dot: 'bg-emerald-400',
11
+ badgeBg: 'bg-emerald-500/15',
12
+ badgeText: 'text-emerald-400',
13
+ showDot: true,
14
+ label: 'On time'
15
+ },
16
+ [_chatModel.FlightStatus.Delayed]: {
17
+ dot: 'bg-amber-400',
18
+ badgeBg: 'bg-amber-500/15',
19
+ badgeText: 'text-amber-400',
20
+ showDot: false,
21
+ label: 'Delayed'
22
+ },
23
+ [_chatModel.FlightStatus.Boarding]: {
24
+ dot: 'bg-indigo-300',
25
+ badgeBg: 'bg-indigo-500/25',
26
+ badgeText: 'text-indigo-300',
27
+ showDot: false,
28
+ label: 'Boarding'
29
+ },
30
+ [_chatModel.FlightStatus.Landed]: {
31
+ dot: 'bg-sky-400',
32
+ badgeBg: 'bg-sky-500/15',
33
+ badgeText: 'text-sky-400',
34
+ showDot: true,
35
+ label: 'Landed'
36
+ },
37
+ [_chatModel.FlightStatus.Cancelled]: {
38
+ dot: 'bg-red-400',
39
+ badgeBg: 'bg-red-500/15',
40
+ badgeText: 'text-red-400',
41
+ showDot: false,
42
+ label: 'Cancelled'
43
+ }
44
+ };
45
+ const LIGHT = {
46
+ [_chatModel.FlightStatus.OnTime]: {
47
+ dot: 'bg-emerald-500',
48
+ badgeBg: 'bg-emerald-500/15',
49
+ badgeText: 'text-emerald-600',
50
+ showDot: true,
51
+ label: 'On time'
52
+ },
53
+ [_chatModel.FlightStatus.Delayed]: {
54
+ dot: 'bg-amber-500',
55
+ badgeBg: 'bg-amber-500/20',
56
+ badgeText: 'text-amber-600',
57
+ showDot: false,
58
+ label: 'Delayed'
59
+ },
60
+ [_chatModel.FlightStatus.Boarding]: {
61
+ dot: 'bg-indigo-500',
62
+ badgeBg: 'bg-indigo-500/15',
63
+ badgeText: 'text-indigo-600',
64
+ showDot: false,
65
+ label: 'Boarding'
66
+ },
67
+ [_chatModel.FlightStatus.Landed]: {
68
+ dot: 'bg-sky-500',
69
+ badgeBg: 'bg-sky-500/15',
70
+ badgeText: 'text-sky-600',
71
+ showDot: true,
72
+ label: 'Landed'
73
+ },
74
+ [_chatModel.FlightStatus.Cancelled]: {
75
+ dot: 'bg-red-500',
76
+ badgeBg: 'bg-red-500/15',
77
+ badgeText: 'text-red-600',
78
+ showDot: false,
79
+ label: 'Cancelled'
80
+ }
81
+ };
82
+ function getFlightStatusStyle(status = _chatModel.FlightStatus.OnTime, theme = _chatModel.Theme.Dark) {
83
+ const map = theme === _chatModel.Theme.Light ? LIGHT : DARK;
84
+ return map[status] ?? map[_chatModel.FlightStatus.OnTime];
85
+ }
86
+ //# sourceMappingURL=flight.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_chatModel","require","DARK","FlightStatus","OnTime","dot","badgeBg","badgeText","showDot","label","Delayed","Boarding","Landed","Cancelled","LIGHT","getFlightStatusStyle","status","theme","Theme","Dark","map","Light"],"sourceRoot":"../../../src","sources":["utils/flight.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAYA,MAAMC,IAAe,GAAG;EACtB,CAACC,uBAAY,CAACC,MAAM,GAAG;IAAEC,GAAG,EAAE,gBAAgB;IAAEC,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,OAAO,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAU,CAAC;EAC9I,CAACN,uBAAY,CAACO,OAAO,GAAG;IAAEL,GAAG,EAAE,cAAc;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAU,CAAC;EAC1I,CAACN,uBAAY,CAACQ,QAAQ,GAAG;IAAEN,GAAG,EAAE,eAAe;IAAEC,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAW,CAAC;EAC/I,CAACN,uBAAY,CAACS,MAAM,GAAG;IAAEP,GAAG,EAAE,YAAY;IAAEC,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,OAAO,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAS,CAAC;EACjI,CAACN,uBAAY,CAACU,SAAS,GAAG;IAAER,GAAG,EAAE,YAAY;IAAEC,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAY;AACzI,CAAC;AAED,MAAMK,KAAgB,GAAG;EACvB,CAACX,uBAAY,CAACC,MAAM,GAAG;IAAEC,GAAG,EAAE,gBAAgB;IAAEC,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,OAAO,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAU,CAAC;EAC9I,CAACN,uBAAY,CAACO,OAAO,GAAG;IAAEL,GAAG,EAAE,cAAc;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAU,CAAC;EAC1I,CAACN,uBAAY,CAACQ,QAAQ,GAAG;IAAEN,GAAG,EAAE,eAAe;IAAEC,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAW,CAAC;EAC/I,CAACN,uBAAY,CAACS,MAAM,GAAG;IAAEP,GAAG,EAAE,YAAY;IAAEC,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,OAAO,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAS,CAAC;EACjI,CAACN,uBAAY,CAACU,SAAS,GAAG;IAAER,GAAG,EAAE,YAAY;IAAEC,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAY;AACzI,CAAC;AAEM,SAASM,oBAAoBA,CAClCC,MAAoB,GAAGb,uBAAY,CAACC,MAAM,EAC1Ca,KAAY,GAAGC,gBAAK,CAACC,IAAI,EACN;EACnB,MAAMC,GAAG,GAAGH,KAAK,KAAKC,gBAAK,CAACG,KAAK,GAAGP,KAAK,GAAGZ,IAAI;EAChD,OAAOkB,GAAG,CAACJ,MAAM,CAAC,IAAII,GAAG,CAACjB,uBAAY,CAACC,MAAM,CAAC;AAChD","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getOrderStatusStyle = getOrderStatusStyle;
7
+ var _chatModel = require("../features/chat/model/chat.model.js");
8
+ var _orderModel = require("../features/chat/components/order/order.model.js");
9
+ var _statusBadgeUtils = require("./status-badge.utils.js");
10
+ const LABEL = {
11
+ [_orderModel.OrderStatus.Pending]: 'Pending',
12
+ [_orderModel.OrderStatus.Preparing]: 'Preparing',
13
+ [_orderModel.OrderStatus.Accepted]: 'Accepted',
14
+ [_orderModel.OrderStatus.Rejected]: 'Rejected',
15
+ [_orderModel.OrderStatus.Delivered]: 'Delivered'
16
+ };
17
+ function getOrderStatusStyle(status = _orderModel.OrderStatus.Pending, theme = _chatModel.Theme.Dark) {
18
+ const tone = status === _orderModel.OrderStatus.Accepted || status === _orderModel.OrderStatus.Delivered ? _statusBadgeUtils.StatusTone.Success : status === _orderModel.OrderStatus.Rejected ? _statusBadgeUtils.StatusTone.Danger : status === _orderModel.OrderStatus.Preparing ? _statusBadgeUtils.StatusTone.Info : _statusBadgeUtils.StatusTone.Pending;
19
+ return {
20
+ ...(0, _statusBadgeUtils.getStatusBadgeStyle)(tone, theme),
21
+ label: LABEL[status] ?? LABEL[_orderModel.OrderStatus.Pending]
22
+ };
23
+ }
24
+ //# sourceMappingURL=order.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_chatModel","require","_orderModel","_statusBadgeUtils","LABEL","OrderStatus","Pending","Preparing","Accepted","Rejected","Delivered","getOrderStatusStyle","status","theme","Theme","Dark","tone","StatusTone","Success","Danger","Info","getStatusBadgeStyle","label"],"sourceRoot":"../../../src","sources":["utils/order.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AAGA,MAAMG,KAAkC,GAAG;EACzC,CAACC,uBAAW,CAACC,OAAO,GAAG,SAAS;EAChC,CAACD,uBAAW,CAACE,SAAS,GAAG,WAAW;EACpC,CAACF,uBAAW,CAACG,QAAQ,GAAG,UAAU;EAClC,CAACH,uBAAW,CAACI,QAAQ,GAAG,UAAU;EAClC,CAACJ,uBAAW,CAACK,SAAS,GAAG;AAC3B,CAAC;AAEM,SAASC,mBAAmBA,CACjCC,MAAmB,GAAGP,uBAAW,CAACC,OAAO,EACzCO,KAAY,GAAGC,gBAAK,CAACC,IAAI,EACa;EACtC,MAAMC,IAAI,GACRJ,MAAM,KAAKP,uBAAW,CAACG,QAAQ,IAAII,MAAM,KAAKP,uBAAW,CAACK,SAAS,GAC/DO,4BAAU,CAACC,OAAO,GAClBN,MAAM,KAAKP,uBAAW,CAACI,QAAQ,GAC7BQ,4BAAU,CAACE,MAAM,GACjBP,MAAM,KAAKP,uBAAW,CAACE,SAAS,GAC9BU,4BAAU,CAACG,IAAI,GACfH,4BAAU,CAACX,OAAO;EAE5B,OAAO;IAAE,GAAG,IAAAe,qCAAmB,EAACL,IAAI,EAAEH,KAAK,CAAC;IAAES,KAAK,EAAElB,KAAK,CAACQ,MAAM,CAAC,IAAIR,KAAK,CAACC,uBAAW,CAACC,OAAO;EAAE,CAAC;AACpG","ignoreList":[]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getReservationStatusStyle = getReservationStatusStyle;
7
+ var _chatModel = require("../features/chat/model/chat.model.js");
8
+ var _reservationModel = require("../features/chat/components/reservation/reservation.model.js");
9
+ var _statusBadgeUtils = require("./status-badge.utils.js");
10
+ const LABEL = {
11
+ [_reservationModel.ReservationStatus.Pending]: 'Pending',
12
+ [_reservationModel.ReservationStatus.Confirmed]: 'Confirmed',
13
+ [_reservationModel.ReservationStatus.Cancelled]: 'Cancelled'
14
+ };
15
+ function getReservationStatusStyle(status = _reservationModel.ReservationStatus.Pending, theme = _chatModel.Theme.Dark) {
16
+ const tone = status === _reservationModel.ReservationStatus.Confirmed ? _statusBadgeUtils.StatusTone.Success : status === _reservationModel.ReservationStatus.Cancelled ? _statusBadgeUtils.StatusTone.Danger : _statusBadgeUtils.StatusTone.Pending;
17
+ return {
18
+ ...(0, _statusBadgeUtils.getStatusBadgeStyle)(tone, theme),
19
+ label: LABEL[status] ?? LABEL[_reservationModel.ReservationStatus.Pending]
20
+ };
21
+ }
22
+ //# sourceMappingURL=reservation.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_chatModel","require","_reservationModel","_statusBadgeUtils","LABEL","ReservationStatus","Pending","Confirmed","Cancelled","getReservationStatusStyle","status","theme","Theme","Dark","tone","StatusTone","Success","Danger","getStatusBadgeStyle","label"],"sourceRoot":"../../../src","sources":["utils/reservation.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AAGA,MAAMG,KAAwC,GAAG;EAC/C,CAACC,mCAAiB,CAACC,OAAO,GAAG,SAAS;EACtC,CAACD,mCAAiB,CAACE,SAAS,GAAG,WAAW;EAC1C,CAACF,mCAAiB,CAACG,SAAS,GAAG;AACjC,CAAC;AAEM,SAASC,yBAAyBA,CACvCC,MAAyB,GAAGL,mCAAiB,CAACC,OAAO,EACrDK,KAAY,GAAGC,gBAAK,CAACC,IAAI,EACa;EACtC,MAAMC,IAAI,GAAGJ,MAAM,KAAKL,mCAAiB,CAACE,SAAS,GAC/CQ,4BAAU,CAACC,OAAO,GAClBN,MAAM,KAAKL,mCAAiB,CAACG,SAAS,GACpCO,4BAAU,CAACE,MAAM,GACjBF,4BAAU,CAACT,OAAO;EAExB,OAAO;IAAE,GAAG,IAAAY,qCAAmB,EAACJ,IAAI,EAAEH,KAAK,CAAC;IAAEQ,KAAK,EAAEf,KAAK,CAACM,MAAM,CAAC,IAAIN,KAAK,CAACC,mCAAiB,CAACC,OAAO;EAAE,CAAC;AAC1G","ignoreList":[]}
@@ -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":[]}
@@ -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