@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.
- package/lib/commonjs/features/chat/components/common/calendar-icon.js +33 -0
- package/lib/commonjs/features/chat/components/common/calendar-icon.js.map +1 -0
- package/lib/commonjs/features/chat/components/common/calendar-icon.native.js +33 -0
- package/lib/commonjs/features/chat/components/common/calendar-icon.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/common/cart-icon.js +36 -0
- package/lib/commonjs/features/chat/components/common/cart-icon.js.map +1 -0
- package/lib/commonjs/features/chat/components/common/chevron-icon.js +26 -0
- package/lib/commonjs/features/chat/components/common/chevron-icon.js.map +1 -0
- package/lib/commonjs/features/chat/components/common/chevron-icon.native.js +26 -0
- package/lib/commonjs/features/chat/components/common/chevron-icon.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/common/plane-icon.js +23 -0
- package/lib/commonjs/features/chat/components/common/plane-icon.js.map +1 -0
- package/lib/commonjs/features/chat/components/common/plane-icon.native.js +23 -0
- package/lib/commonjs/features/chat/components/common/plane-icon.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/event/event.js +5 -3
- package/lib/commonjs/features/chat/components/event/event.js.map +1 -1
- package/lib/commonjs/features/chat/components/event/event.native.js +5 -3
- package/lib/commonjs/features/chat/components/event/event.native.js.map +1 -1
- package/lib/commonjs/features/chat/components/flight/flight-card.js +130 -0
- package/lib/commonjs/features/chat/components/flight/flight-card.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight/flight-card.native.js +132 -0
- package/lib/commonjs/features/chat/components/flight/flight-card.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight/flight.js +149 -0
- package/lib/commonjs/features/chat/components/flight/flight.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight/flight.model.js +6 -0
- package/lib/commonjs/features/chat/components/flight/flight.model.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight/flight.native.js +151 -0
- package/lib/commonjs/features/chat/components/flight/flight.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight/index.js +13 -0
- package/lib/commonjs/features/chat/components/flight/index.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight-board/flight-board.js +154 -0
- package/lib/commonjs/features/chat/components/flight-board/flight-board.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight-board/flight-board.model.js +6 -0
- package/lib/commonjs/features/chat/components/flight-board/flight-board.model.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight-board/flight-board.native.js +165 -0
- package/lib/commonjs/features/chat/components/flight-board/flight-board.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/flight-board/index.js +13 -0
- package/lib/commonjs/features/chat/components/flight-board/index.js.map +1 -0
- package/lib/commonjs/features/chat/components/info/info.js +41 -14
- package/lib/commonjs/features/chat/components/info/info.js.map +1 -1
- package/lib/commonjs/features/chat/components/info/info.native.js +45 -14
- package/lib/commonjs/features/chat/components/info/info.native.js.map +1 -1
- package/lib/commonjs/features/chat/components/order/index.js +20 -0
- package/lib/commonjs/features/chat/components/order/index.js.map +1 -0
- package/lib/commonjs/features/chat/components/order/order.js +171 -0
- package/lib/commonjs/features/chat/components/order/order.js.map +1 -0
- package/lib/commonjs/features/chat/components/order/order.model.js +15 -0
- package/lib/commonjs/features/chat/components/order/order.model.js.map +1 -0
- package/lib/commonjs/features/chat/components/order/order.native.js +192 -0
- package/lib/commonjs/features/chat/components/order/order.native.js.map +1 -0
- package/lib/commonjs/features/chat/components/reservation/index.js +20 -0
- package/lib/commonjs/features/chat/components/reservation/index.js.map +1 -0
- package/lib/commonjs/features/chat/components/reservation/reservation.js +164 -0
- package/lib/commonjs/features/chat/components/reservation/reservation.js.map +1 -0
- package/lib/commonjs/features/chat/components/reservation/reservation.model.js +13 -0
- package/lib/commonjs/features/chat/components/reservation/reservation.model.js.map +1 -0
- package/lib/commonjs/features/chat/components/reservation/reservation.native.js +180 -0
- package/lib/commonjs/features/chat/components/reservation/reservation.native.js.map +1 -0
- package/lib/commonjs/features/chat/model/chat.model.js +17 -1
- package/lib/commonjs/features/chat/model/chat.model.js.map +1 -1
- package/lib/commonjs/features/chat/renderer/renderer.js +26 -0
- package/lib/commonjs/features/chat/renderer/renderer.js.map +1 -1
- package/lib/commonjs/features/chat/renderer/renderer.native.js +26 -0
- package/lib/commonjs/features/chat/renderer/renderer.native.js.map +1 -1
- package/lib/commonjs/native.js +48 -0
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/utils/flight.utils.js +86 -0
- package/lib/commonjs/utils/flight.utils.js.map +1 -0
- package/lib/commonjs/utils/order.utils.js +24 -0
- package/lib/commonjs/utils/order.utils.js.map +1 -0
- package/lib/commonjs/utils/price.utils.js +4 -4
- package/lib/commonjs/utils/price.utils.js.map +1 -1
- package/lib/commonjs/utils/reservation.utils.js +22 -0
- package/lib/commonjs/utils/reservation.utils.js.map +1 -0
- package/lib/commonjs/utils/status-badge.utils.js +75 -0
- package/lib/commonjs/utils/status-badge.utils.js.map +1 -0
- package/lib/commonjs/utils/theme.utils.js +8 -2
- package/lib/commonjs/utils/theme.utils.js.map +1 -1
- package/lib/commonjs/utils/time.utils.js +51 -0
- package/lib/commonjs/utils/time.utils.js.map +1 -0
- package/lib/commonjs/web.js +48 -0
- package/lib/commonjs/web.js.map +1 -1
- package/lib/module/features/chat/components/common/calendar-icon.js +29 -0
- package/lib/module/features/chat/components/common/calendar-icon.js.map +1 -0
- package/lib/module/features/chat/components/common/calendar-icon.native.js +29 -0
- package/lib/module/features/chat/components/common/calendar-icon.native.js.map +1 -0
- package/lib/module/features/chat/components/common/cart-icon.js +32 -0
- package/lib/module/features/chat/components/common/cart-icon.js.map +1 -0
- package/lib/module/features/chat/components/common/chevron-icon.js +22 -0
- package/lib/module/features/chat/components/common/chevron-icon.js.map +1 -0
- package/lib/module/features/chat/components/common/chevron-icon.native.js +22 -0
- package/lib/module/features/chat/components/common/chevron-icon.native.js.map +1 -0
- package/lib/module/features/chat/components/common/plane-icon.js +19 -0
- package/lib/module/features/chat/components/common/plane-icon.js.map +1 -0
- package/lib/module/features/chat/components/common/plane-icon.native.js +19 -0
- package/lib/module/features/chat/components/common/plane-icon.native.js.map +1 -0
- package/lib/module/features/chat/components/event/event.js +5 -3
- package/lib/module/features/chat/components/event/event.js.map +1 -1
- package/lib/module/features/chat/components/event/event.native.js +5 -3
- package/lib/module/features/chat/components/event/event.native.js.map +1 -1
- package/lib/module/features/chat/components/flight/flight-card.js +126 -0
- package/lib/module/features/chat/components/flight/flight-card.js.map +1 -0
- package/lib/module/features/chat/components/flight/flight-card.native.js +128 -0
- package/lib/module/features/chat/components/flight/flight-card.native.js.map +1 -0
- package/lib/module/features/chat/components/flight/flight.js +145 -0
- package/lib/module/features/chat/components/flight/flight.js.map +1 -0
- package/lib/module/features/chat/components/flight/flight.model.js +4 -0
- package/lib/module/features/chat/components/flight/flight.model.js.map +1 -0
- package/lib/module/features/chat/components/flight/flight.native.js +147 -0
- package/lib/module/features/chat/components/flight/flight.native.js.map +1 -0
- package/lib/module/features/chat/components/flight/index.js +4 -0
- package/lib/module/features/chat/components/flight/index.js.map +1 -0
- package/lib/module/features/chat/components/flight-board/flight-board.js +150 -0
- package/lib/module/features/chat/components/flight-board/flight-board.js.map +1 -0
- package/lib/module/features/chat/components/flight-board/flight-board.model.js +4 -0
- package/lib/module/features/chat/components/flight-board/flight-board.model.js.map +1 -0
- package/lib/module/features/chat/components/flight-board/flight-board.native.js +161 -0
- package/lib/module/features/chat/components/flight-board/flight-board.native.js.map +1 -0
- package/lib/module/features/chat/components/flight-board/index.js +4 -0
- package/lib/module/features/chat/components/flight-board/index.js.map +1 -0
- package/lib/module/features/chat/components/info/info.js +41 -14
- package/lib/module/features/chat/components/info/info.js.map +1 -1
- package/lib/module/features/chat/components/info/info.native.js +46 -15
- package/lib/module/features/chat/components/info/info.native.js.map +1 -1
- package/lib/module/features/chat/components/order/index.js +5 -0
- package/lib/module/features/chat/components/order/index.js.map +1 -0
- package/lib/module/features/chat/components/order/order.js +167 -0
- package/lib/module/features/chat/components/order/order.js.map +1 -0
- package/lib/module/features/chat/components/order/order.model.js +11 -0
- package/lib/module/features/chat/components/order/order.model.js.map +1 -0
- package/lib/module/features/chat/components/order/order.native.js +188 -0
- package/lib/module/features/chat/components/order/order.native.js.map +1 -0
- package/lib/module/features/chat/components/reservation/index.js +5 -0
- package/lib/module/features/chat/components/reservation/index.js.map +1 -0
- package/lib/module/features/chat/components/reservation/reservation.js +160 -0
- package/lib/module/features/chat/components/reservation/reservation.js.map +1 -0
- package/lib/module/features/chat/components/reservation/reservation.model.js +9 -0
- package/lib/module/features/chat/components/reservation/reservation.model.js.map +1 -0
- package/lib/module/features/chat/components/reservation/reservation.native.js +176 -0
- package/lib/module/features/chat/components/reservation/reservation.native.js.map +1 -0
- package/lib/module/features/chat/model/chat.model.js +16 -0
- package/lib/module/features/chat/model/chat.model.js.map +1 -1
- package/lib/module/features/chat/renderer/renderer.js +26 -0
- package/lib/module/features/chat/renderer/renderer.js.map +1 -1
- package/lib/module/features/chat/renderer/renderer.native.js +26 -0
- package/lib/module/features/chat/renderer/renderer.native.js.map +1 -1
- package/lib/module/native.js +7 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/utils/flight.utils.js +82 -0
- package/lib/module/utils/flight.utils.js.map +1 -0
- package/lib/module/utils/order.utils.js +20 -0
- package/lib/module/utils/order.utils.js.map +1 -0
- package/lib/module/utils/price.utils.js +4 -4
- package/lib/module/utils/price.utils.js.map +1 -1
- package/lib/module/utils/reservation.utils.js +18 -0
- package/lib/module/utils/reservation.utils.js.map +1 -0
- package/lib/module/utils/status-badge.utils.js +70 -0
- package/lib/module/utils/status-badge.utils.js.map +1 -0
- package/lib/module/utils/theme.utils.js +8 -2
- package/lib/module/utils/theme.utils.js.map +1 -1
- package/lib/module/utils/time.utils.js +46 -0
- package/lib/module/utils/time.utils.js.map +1 -0
- package/lib/module/web.js +7 -1
- package/lib/module/web.js.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.native.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/calendar-icon.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/common/cart-icon.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/cart-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.native.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/chevron-icon.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/common/plane-icon.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/plane-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/common/plane-icon.native.d.ts +6 -0
- package/lib/typescript/commonjs/features/chat/components/common/plane-icon.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/event/event.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/event/event.model.d.ts +3 -1
- package/lib/typescript/commonjs/features/chat/components/event/event.model.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/event/event.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/flight/flight-card.d.ts +12 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight-card.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight-card.native.d.ts +12 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight-card.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight.model.d.ts +19 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight.model.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight.native.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/flight/flight.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight/index.d.ts +3 -0
- package/lib/typescript/commonjs/features/chat/components/flight/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts +22 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/index.d.ts +3 -0
- package/lib/typescript/commonjs/features/chat/components/flight-board/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/info/info.d.ts +1 -1
- package/lib/typescript/commonjs/features/chat/components/info/info.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/info/info.model.d.ts +3 -0
- package/lib/typescript/commonjs/features/chat/components/info/info.model.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/info/info.native.d.ts +1 -1
- package/lib/typescript/commonjs/features/chat/components/info/info.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/components/order/index.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/order/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/order/order.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/order/order.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/order/order.model.d.ts +30 -0
- package/lib/typescript/commonjs/features/chat/components/order/order.model.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/order/order.native.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/order/order.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/index.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/reservation.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/reservation.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts +27 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts +4 -0
- package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/features/chat/model/chat.model.d.ts +17 -2
- package/lib/typescript/commonjs/features/chat/model/chat.model.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/renderer/renderer.d.ts +5 -1
- package/lib/typescript/commonjs/features/chat/renderer/renderer.d.ts.map +1 -1
- package/lib/typescript/commonjs/features/chat/renderer/renderer.native.d.ts +5 -1
- package/lib/typescript/commonjs/features/chat/renderer/renderer.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/native.d.ts +11 -1
- package/lib/typescript/commonjs/native.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/flight.utils.d.ts +10 -0
- package/lib/typescript/commonjs/utils/flight.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/order.utils.d.ts +7 -0
- package/lib/typescript/commonjs/utils/order.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/reservation.utils.d.ts +7 -0
- package/lib/typescript/commonjs/utils/reservation.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/status-badge.utils.d.ts +15 -0
- package/lib/typescript/commonjs/utils/status-badge.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/theme.utils.d.ts +3 -0
- package/lib/typescript/commonjs/utils/theme.utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/time.utils.d.ts +3 -0
- package/lib/typescript/commonjs/utils/time.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/web.d.ts +11 -1
- package/lib/typescript/commonjs/web.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/common/calendar-icon.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/calendar-icon.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/common/calendar-icon.native.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/calendar-icon.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/common/cart-icon.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/cart-icon.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/common/chevron-icon.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/chevron-icon.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/common/chevron-icon.native.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/chevron-icon.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/common/plane-icon.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/plane-icon.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/common/plane-icon.native.d.ts +6 -0
- package/lib/typescript/module/features/chat/components/common/plane-icon.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/event/event.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/event/event.model.d.ts +3 -1
- package/lib/typescript/module/features/chat/components/event/event.model.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/event/event.native.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/flight/flight-card.d.ts +12 -0
- package/lib/typescript/module/features/chat/components/flight/flight-card.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight/flight-card.native.d.ts +12 -0
- package/lib/typescript/module/features/chat/components/flight/flight-card.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight/flight.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/flight/flight.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight/flight.model.d.ts +19 -0
- package/lib/typescript/module/features/chat/components/flight/flight.model.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight/flight.native.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/flight/flight.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight/index.d.ts +3 -0
- package/lib/typescript/module/features/chat/components/flight/index.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight-board/flight-board.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/flight-board/flight-board.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight-board/flight-board.model.d.ts +22 -0
- package/lib/typescript/module/features/chat/components/flight-board/flight-board.model.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight-board/flight-board.native.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/flight-board/flight-board.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/flight-board/index.d.ts +3 -0
- package/lib/typescript/module/features/chat/components/flight-board/index.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/info/info.d.ts +1 -1
- package/lib/typescript/module/features/chat/components/info/info.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/info/info.model.d.ts +3 -0
- package/lib/typescript/module/features/chat/components/info/info.model.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/info/info.native.d.ts +1 -1
- package/lib/typescript/module/features/chat/components/info/info.native.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/components/order/index.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/order/index.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/order/order.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/order/order.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/order/order.model.d.ts +30 -0
- package/lib/typescript/module/features/chat/components/order/order.model.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/order/order.native.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/order/order.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/reservation/index.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/reservation/index.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/reservation/reservation.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/reservation/reservation.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/reservation/reservation.model.d.ts +27 -0
- package/lib/typescript/module/features/chat/components/reservation/reservation.model.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/components/reservation/reservation.native.d.ts +4 -0
- package/lib/typescript/module/features/chat/components/reservation/reservation.native.d.ts.map +1 -0
- package/lib/typescript/module/features/chat/model/chat.model.d.ts +17 -2
- package/lib/typescript/module/features/chat/model/chat.model.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/renderer/renderer.d.ts +5 -1
- package/lib/typescript/module/features/chat/renderer/renderer.d.ts.map +1 -1
- package/lib/typescript/module/features/chat/renderer/renderer.native.d.ts +5 -1
- package/lib/typescript/module/features/chat/renderer/renderer.native.d.ts.map +1 -1
- package/lib/typescript/module/native.d.ts +11 -1
- package/lib/typescript/module/native.d.ts.map +1 -1
- package/lib/typescript/module/utils/flight.utils.d.ts +10 -0
- package/lib/typescript/module/utils/flight.utils.d.ts.map +1 -0
- package/lib/typescript/module/utils/order.utils.d.ts +7 -0
- package/lib/typescript/module/utils/order.utils.d.ts.map +1 -0
- package/lib/typescript/module/utils/reservation.utils.d.ts +7 -0
- package/lib/typescript/module/utils/reservation.utils.d.ts.map +1 -0
- package/lib/typescript/module/utils/status-badge.utils.d.ts +15 -0
- package/lib/typescript/module/utils/status-badge.utils.d.ts.map +1 -0
- package/lib/typescript/module/utils/theme.utils.d.ts +3 -0
- package/lib/typescript/module/utils/theme.utils.d.ts.map +1 -1
- package/lib/typescript/module/utils/time.utils.d.ts +3 -0
- package/lib/typescript/module/utils/time.utils.d.ts.map +1 -0
- package/lib/typescript/module/web.d.ts +11 -1
- package/lib/typescript/module/web.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/chat/components/common/calendar-icon.native.tsx +13 -0
- package/src/features/chat/components/common/calendar-icon.tsx +13 -0
- package/src/features/chat/components/common/cart-icon.tsx +20 -0
- package/src/features/chat/components/common/chevron-icon.native.tsx +18 -0
- package/src/features/chat/components/common/chevron-icon.tsx +18 -0
- package/src/features/chat/components/common/plane-icon.native.tsx +15 -0
- package/src/features/chat/components/common/plane-icon.tsx +15 -0
- package/src/features/chat/components/event/event.model.ts +3 -1
- package/src/features/chat/components/event/event.native.tsx +6 -2
- package/src/features/chat/components/event/event.tsx +6 -2
- package/src/features/chat/components/flight/flight-card.native.tsx +100 -0
- package/src/features/chat/components/flight/flight-card.tsx +100 -0
- package/src/features/chat/components/flight/flight.model.ts +20 -0
- package/src/features/chat/components/flight/flight.native.tsx +131 -0
- package/src/features/chat/components/flight/flight.tsx +131 -0
- package/src/features/chat/components/flight/index.ts +2 -0
- package/src/features/chat/components/flight-board/flight-board.model.ts +23 -0
- package/src/features/chat/components/flight-board/flight-board.native.tsx +155 -0
- package/src/features/chat/components/flight-board/flight-board.tsx +160 -0
- package/src/features/chat/components/flight-board/index.ts +2 -0
- package/src/features/chat/components/info/info.model.ts +3 -0
- package/src/features/chat/components/info/info.native.tsx +47 -11
- package/src/features/chat/components/info/info.tsx +43 -10
- package/src/features/chat/components/order/index.ts +3 -0
- package/src/features/chat/components/order/order.model.ts +32 -0
- package/src/features/chat/components/order/order.native.tsx +175 -0
- package/src/features/chat/components/order/order.tsx +176 -0
- package/src/features/chat/components/reservation/index.ts +3 -0
- package/src/features/chat/components/reservation/reservation.model.ts +29 -0
- package/src/features/chat/components/reservation/reservation.native.tsx +159 -0
- package/src/features/chat/components/reservation/reservation.tsx +161 -0
- package/src/features/chat/model/chat.model.ts +16 -0
- package/src/features/chat/renderer/renderer.native.tsx +29 -1
- package/src/features/chat/renderer/renderer.tsx +29 -1
- package/src/native.ts +11 -1
- package/src/utils/flight.utils.ts +35 -0
- package/src/utils/order.utils.ts +28 -0
- package/src/utils/price.utils.ts +4 -4
- package/src/utils/reservation.utils.ts +23 -0
- package/src/utils/status-badge.utils.ts +36 -0
- package/src/utils/theme.utils.ts +9 -0
- package/src/utils/time.utils.ts +58 -0
- 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;
|
|
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,E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AClC,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":[]}
|
package/lib/commonjs/web.js
CHANGED
|
@@ -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
|
package/lib/commonjs/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_product","require","_service","_event","_info","_renderer","_message","_messageLogic","_chatModel"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":"
|
|
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__*/
|
|
60
|
+
}) : null, /*#__PURE__*/_jsx("span", {
|
|
59
61
|
className: `truncate text-sm down-sm:text-xs ${c.subtitle}`,
|
|
60
|
-
children:
|
|
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","
|
|
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,K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C,CAACzB,IAAI,EAAE0B,KAAK,kBACpBhD,IAAA;MAAmBgC,SAAS,EAAEgB,KAAK,GAAG,CAAC,GAAG,MAAM,GAAGC,SAAU;MAAAd,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__*/
|
|
66
|
+
}) : null, /*#__PURE__*/_jsx(Text, {
|
|
65
67
|
className: `flex-1 text-sm down-sm:text-xs ${c.subtitle}`,
|
|
66
68
|
numberOfLines: 1,
|
|
67
|
-
children:
|
|
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","
|
|
1
|
+
{"version":3,"names":["Image","Pressable","Text","View","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","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,GA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