@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.
- 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/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/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/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/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/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/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/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/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/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/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/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/reservation.utils.ts +23 -0
- package/src/utils/status-badge.utils.ts +36 -0
- package/src/utils/theme.utils.ts +9 -0
- package/src/web.ts +11 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Theme } from "../features/chat/model/chat.model.js";
|
|
4
|
+
import { OrderStatus } from "../features/chat/components/order/order.model.js";
|
|
5
|
+
import { getStatusBadgeStyle, StatusTone } from "./status-badge.utils.js";
|
|
6
|
+
const LABEL = {
|
|
7
|
+
[OrderStatus.Pending]: 'Pending',
|
|
8
|
+
[OrderStatus.Preparing]: 'Preparing',
|
|
9
|
+
[OrderStatus.Accepted]: 'Accepted',
|
|
10
|
+
[OrderStatus.Rejected]: 'Rejected',
|
|
11
|
+
[OrderStatus.Delivered]: 'Delivered'
|
|
12
|
+
};
|
|
13
|
+
export function getOrderStatusStyle(status = OrderStatus.Pending, theme = Theme.Dark) {
|
|
14
|
+
const tone = status === OrderStatus.Accepted || status === OrderStatus.Delivered ? StatusTone.Success : status === OrderStatus.Rejected ? StatusTone.Danger : status === OrderStatus.Preparing ? StatusTone.Info : StatusTone.Pending;
|
|
15
|
+
return {
|
|
16
|
+
...getStatusBadgeStyle(tone, theme),
|
|
17
|
+
label: LABEL[status] ?? LABEL[OrderStatus.Pending]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=order.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Theme","OrderStatus","getStatusBadgeStyle","StatusTone","LABEL","Pending","Preparing","Accepted","Rejected","Delivered","getOrderStatusStyle","status","theme","Dark","tone","Success","Danger","Info","label"],"sourceRoot":"../../../src","sources":["utils/order.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AACzD,SAASC,WAAW,QAAQ,kDAA+C;AAC3E,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,yBAAsB;AAGtE,MAAMC,KAAkC,GAAG;EACzC,CAACH,WAAW,CAACI,OAAO,GAAG,SAAS;EAChC,CAACJ,WAAW,CAACK,SAAS,GAAG,WAAW;EACpC,CAACL,WAAW,CAACM,QAAQ,GAAG,UAAU;EAClC,CAACN,WAAW,CAACO,QAAQ,GAAG,UAAU;EAClC,CAACP,WAAW,CAACQ,SAAS,GAAG;AAC3B,CAAC;AAED,OAAO,SAASC,mBAAmBA,CACjCC,MAAmB,GAAGV,WAAW,CAACI,OAAO,EACzCO,KAAY,GAAGZ,KAAK,CAACa,IAAI,EACa;EACtC,MAAMC,IAAI,GACRH,MAAM,KAAKV,WAAW,CAACM,QAAQ,IAAII,MAAM,KAAKV,WAAW,CAACQ,SAAS,GAC/DN,UAAU,CAACY,OAAO,GAClBJ,MAAM,KAAKV,WAAW,CAACO,QAAQ,GAC7BL,UAAU,CAACa,MAAM,GACjBL,MAAM,KAAKV,WAAW,CAACK,SAAS,GAC9BH,UAAU,CAACc,IAAI,GACfd,UAAU,CAACE,OAAO;EAE5B,OAAO;IAAE,GAAGH,mBAAmB,CAACY,IAAI,EAAEF,KAAK,CAAC;IAAEM,KAAK,EAAEd,KAAK,CAACO,MAAM,CAAC,IAAIP,KAAK,CAACH,WAAW,CAACI,OAAO;EAAE,CAAC;AACpG","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Theme } from "../features/chat/model/chat.model.js";
|
|
4
|
+
import { ReservationStatus } from "../features/chat/components/reservation/reservation.model.js";
|
|
5
|
+
import { getStatusBadgeStyle, StatusTone } from "./status-badge.utils.js";
|
|
6
|
+
const LABEL = {
|
|
7
|
+
[ReservationStatus.Pending]: 'Pending',
|
|
8
|
+
[ReservationStatus.Confirmed]: 'Confirmed',
|
|
9
|
+
[ReservationStatus.Cancelled]: 'Cancelled'
|
|
10
|
+
};
|
|
11
|
+
export function getReservationStatusStyle(status = ReservationStatus.Pending, theme = Theme.Dark) {
|
|
12
|
+
const tone = status === ReservationStatus.Confirmed ? StatusTone.Success : status === ReservationStatus.Cancelled ? StatusTone.Danger : StatusTone.Pending;
|
|
13
|
+
return {
|
|
14
|
+
...getStatusBadgeStyle(tone, theme),
|
|
15
|
+
label: LABEL[status] ?? LABEL[ReservationStatus.Pending]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=reservation.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Theme","ReservationStatus","getStatusBadgeStyle","StatusTone","LABEL","Pending","Confirmed","Cancelled","getReservationStatusStyle","status","theme","Dark","tone","Success","Danger","label"],"sourceRoot":"../../../src","sources":["utils/reservation.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AACzD,SAASC,iBAAiB,QAAQ,8DAA2D;AAC7F,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,yBAAsB;AAGtE,MAAMC,KAAwC,GAAG;EAC/C,CAACH,iBAAiB,CAACI,OAAO,GAAG,SAAS;EACtC,CAACJ,iBAAiB,CAACK,SAAS,GAAG,WAAW;EAC1C,CAACL,iBAAiB,CAACM,SAAS,GAAG;AACjC,CAAC;AAED,OAAO,SAASC,yBAAyBA,CACvCC,MAAyB,GAAGR,iBAAiB,CAACI,OAAO,EACrDK,KAAY,GAAGV,KAAK,CAACW,IAAI,EACa;EACtC,MAAMC,IAAI,GAAGH,MAAM,KAAKR,iBAAiB,CAACK,SAAS,GAC/CH,UAAU,CAACU,OAAO,GAClBJ,MAAM,KAAKR,iBAAiB,CAACM,SAAS,GACpCJ,UAAU,CAACW,MAAM,GACjBX,UAAU,CAACE,OAAO;EAExB,OAAO;IAAE,GAAGH,mBAAmB,CAACU,IAAI,EAAEF,KAAK,CAAC;IAAEK,KAAK,EAAEX,KAAK,CAACK,MAAM,CAAC,IAAIL,KAAK,CAACH,iBAAiB,CAACI,OAAO;EAAE,CAAC;AAC1G","ignoreList":[]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Theme } from "../features/chat/model/chat.model.js";
|
|
4
|
+
export let StatusTone = /*#__PURE__*/function (StatusTone) {
|
|
5
|
+
StatusTone["Pending"] = "pending";
|
|
6
|
+
StatusTone["Success"] = "success";
|
|
7
|
+
StatusTone["Danger"] = "danger";
|
|
8
|
+
StatusTone["Info"] = "info";
|
|
9
|
+
StatusTone["Neutral"] = "neutral";
|
|
10
|
+
return StatusTone;
|
|
11
|
+
}({});
|
|
12
|
+
const DARK = {
|
|
13
|
+
[StatusTone.Pending]: {
|
|
14
|
+
badgeBg: 'bg-amber-500/15',
|
|
15
|
+
badgeText: 'text-amber-400',
|
|
16
|
+
dot: 'bg-amber-400'
|
|
17
|
+
},
|
|
18
|
+
[StatusTone.Success]: {
|
|
19
|
+
badgeBg: 'bg-emerald-500/15',
|
|
20
|
+
badgeText: 'text-emerald-400',
|
|
21
|
+
dot: 'bg-emerald-400'
|
|
22
|
+
},
|
|
23
|
+
[StatusTone.Danger]: {
|
|
24
|
+
badgeBg: 'bg-red-500/15',
|
|
25
|
+
badgeText: 'text-red-400',
|
|
26
|
+
dot: 'bg-red-400'
|
|
27
|
+
},
|
|
28
|
+
[StatusTone.Info]: {
|
|
29
|
+
badgeBg: 'bg-indigo-500/25',
|
|
30
|
+
badgeText: 'text-indigo-300',
|
|
31
|
+
dot: 'bg-indigo-300'
|
|
32
|
+
},
|
|
33
|
+
[StatusTone.Neutral]: {
|
|
34
|
+
badgeBg: 'bg-white/10',
|
|
35
|
+
badgeText: 'text-neutral-300',
|
|
36
|
+
dot: 'bg-neutral-400'
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const LIGHT = {
|
|
40
|
+
[StatusTone.Pending]: {
|
|
41
|
+
badgeBg: 'bg-amber-500/20',
|
|
42
|
+
badgeText: 'text-amber-600',
|
|
43
|
+
dot: 'bg-amber-500'
|
|
44
|
+
},
|
|
45
|
+
[StatusTone.Success]: {
|
|
46
|
+
badgeBg: 'bg-emerald-500/15',
|
|
47
|
+
badgeText: 'text-emerald-600',
|
|
48
|
+
dot: 'bg-emerald-500'
|
|
49
|
+
},
|
|
50
|
+
[StatusTone.Danger]: {
|
|
51
|
+
badgeBg: 'bg-red-500/15',
|
|
52
|
+
badgeText: 'text-red-600',
|
|
53
|
+
dot: 'bg-red-500'
|
|
54
|
+
},
|
|
55
|
+
[StatusTone.Info]: {
|
|
56
|
+
badgeBg: 'bg-indigo-500/15',
|
|
57
|
+
badgeText: 'text-indigo-600',
|
|
58
|
+
dot: 'bg-indigo-500'
|
|
59
|
+
},
|
|
60
|
+
[StatusTone.Neutral]: {
|
|
61
|
+
badgeBg: 'bg-slate-200',
|
|
62
|
+
badgeText: 'text-neutral-600',
|
|
63
|
+
dot: 'bg-slate-400'
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
export function getStatusBadgeStyle(tone, theme = Theme.Dark) {
|
|
67
|
+
const map = theme === Theme.Light ? LIGHT : DARK;
|
|
68
|
+
return map[tone] ?? map[StatusTone.Neutral];
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=status-badge.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Theme","StatusTone","DARK","Pending","badgeBg","badgeText","dot","Success","Danger","Info","Neutral","LIGHT","getStatusBadgeStyle","tone","theme","Dark","map","Light"],"sourceRoot":"../../../src","sources":["utils/status-badge.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AAEzD,WAAYC,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AActB,MAAMC,IAA0C,GAAG;EACjD,CAACD,UAAU,CAACE,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACL,UAAU,CAACM,OAAO,GAAG;IAAEH,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB,CAAC;EAC5G,CAACL,UAAU,CAACO,MAAM,GAAG;IAAEJ,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,GAAG,EAAE;EAAa,CAAC;EAC/F,CAACL,UAAU,CAACQ,IAAI,GAAG;IAAEL,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,GAAG,EAAE;EAAgB,CAAC;EACtG,CAACL,UAAU,CAACS,OAAO,GAAG;IAAEN,OAAO,EAAE,aAAa;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB;AACvG,CAAC;AAED,MAAMK,KAA2C,GAAG;EAClD,CAACV,UAAU,CAACE,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACL,UAAU,CAACM,OAAO,GAAG;IAAEH,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAiB,CAAC;EAC5G,CAACL,UAAU,CAACO,MAAM,GAAG;IAAEJ,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,GAAG,EAAE;EAAa,CAAC;EAC/F,CAACL,UAAU,CAACQ,IAAI,GAAG;IAAEL,OAAO,EAAE,kBAAkB;IAAEC,SAAS,EAAE,iBAAiB;IAAEC,GAAG,EAAE;EAAgB,CAAC;EACtG,CAACL,UAAU,CAACS,OAAO,GAAG;IAAEN,OAAO,EAAE,cAAc;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,GAAG,EAAE;EAAe;AACtG,CAAC;AAED,OAAO,SAASM,mBAAmBA,CAACC,IAAgB,EAAEC,KAAY,GAAGd,KAAK,CAACe,IAAI,EAAoB;EACjG,MAAMC,GAAG,GAAGF,KAAK,KAAKd,KAAK,CAACiB,KAAK,GAAGN,KAAK,GAAGT,IAAI;EAChD,OAAOc,GAAG,CAACH,IAAI,CAAC,IAAIG,GAAG,CAACf,UAAU,CAACS,OAAO,CAAC;AAC7C","ignoreList":[]}
|
|
@@ -13,7 +13,10 @@ const DARK = {
|
|
|
13
13
|
divider: 'bg-neutral-800',
|
|
14
14
|
iconBg: 'bg-indigo-500/20',
|
|
15
15
|
iconText: 'text-indigo-300',
|
|
16
|
-
iconColor: '#a5b4fc'
|
|
16
|
+
iconColor: '#a5b4fc',
|
|
17
|
+
mutedIconBg: 'bg-white/5',
|
|
18
|
+
mutedIconColor: '#82849a',
|
|
19
|
+
dashLine: 'border-neutral-700'
|
|
17
20
|
};
|
|
18
21
|
const LIGHT = {
|
|
19
22
|
surface: 'bg-chat-surface-light',
|
|
@@ -27,7 +30,10 @@ const LIGHT = {
|
|
|
27
30
|
divider: 'bg-slate-300',
|
|
28
31
|
iconBg: 'bg-indigo-500/15',
|
|
29
32
|
iconText: 'text-indigo-500',
|
|
30
|
-
iconColor: '#6366f1'
|
|
33
|
+
iconColor: '#6366f1',
|
|
34
|
+
mutedIconBg: 'bg-slate-200',
|
|
35
|
+
mutedIconColor: '#64748b',
|
|
36
|
+
dashLine: 'border-slate-300'
|
|
31
37
|
};
|
|
32
38
|
export function getThemeClasses(theme = Theme.Dark) {
|
|
33
39
|
return theme === Theme.Light ? LIGHT : DARK;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Theme","DARK","surface","border","title","subtitle","price","free","actionBorder","actionText","divider","iconBg","iconText","iconColor","LIGHT","getThemeClasses","theme","Dark","Light"],"sourceRoot":"../../../src","sources":["utils/theme.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;
|
|
1
|
+
{"version":3,"names":["Theme","DARK","surface","border","title","subtitle","price","free","actionBorder","actionText","divider","iconBg","iconText","iconColor","mutedIconBg","mutedIconColor","dashLine","LIGHT","getThemeClasses","theme","Dark","Light"],"sourceRoot":"../../../src","sources":["utils/theme.utils.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,sCAAmC;AAoBzD,MAAMC,IAAkB,GAAG;EACzBC,OAAO,EAAE,sBAAsB;EAC/BC,MAAM,EAAE,yBAAyB;EACjCC,KAAK,EAAE,YAAY;EACnBC,QAAQ,EAAE,yBAAyB;EACnCC,KAAK,EAAE,YAAY;EACnBC,IAAI,EAAE,kBAAkB;EACxBC,YAAY,EAAE,oBAAoB;EAClCC,UAAU,EAAE,YAAY;EACxBC,OAAO,EAAE,gBAAgB;EACzBC,MAAM,EAAE,kBAAkB;EAC1BC,QAAQ,EAAE,iBAAiB;EAC3BC,SAAS,EAAE,SAAS;EACpBC,WAAW,EAAE,YAAY;EACzBC,cAAc,EAAE,SAAS;EACzBC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,KAAmB,GAAG;EAC1Bf,OAAO,EAAE,uBAAuB;EAChCC,MAAM,EAAE,0BAA0B;EAClCC,KAAK,EAAE,kBAAkB;EACzBC,QAAQ,EAAE,kBAAkB;EAC5BC,KAAK,EAAE,kBAAkB;EACzBC,IAAI,EAAE,kBAAkB;EACxBC,YAAY,EAAE,kBAAkB;EAChCC,UAAU,EAAE,kBAAkB;EAC9BC,OAAO,EAAE,cAAc;EACvBC,MAAM,EAAE,kBAAkB;EAC1BC,QAAQ,EAAE,iBAAiB;EAC3BC,SAAS,EAAE,SAAS;EACpBC,WAAW,EAAE,cAAc;EAC3BC,cAAc,EAAE,SAAS;EACzBC,QAAQ,EAAE;AACZ,CAAC;AAED,OAAO,SAASE,eAAeA,CAACC,KAAY,GAAGnB,KAAK,CAACoB,IAAI,EAAgB;EACvE,OAAOD,KAAK,KAAKnB,KAAK,CAACqB,KAAK,GAAGJ,KAAK,GAAGhB,IAAI;AAC7C","ignoreList":[]}
|
package/lib/module/web.js
CHANGED
|
@@ -4,8 +4,14 @@ export { Product } from './features/chat/components/product/product';
|
|
|
4
4
|
export { Service } from './features/chat/components/service/service';
|
|
5
5
|
export { Event } from './features/chat/components/event/event';
|
|
6
6
|
export { Info } from './features/chat/components/info/info';
|
|
7
|
+
export { Flight } from './features/chat/components/flight/flight';
|
|
8
|
+
export { FlightBoard } from './features/chat/components/flight-board/flight-board';
|
|
9
|
+
export { Order } from './features/chat/components/order/order';
|
|
10
|
+
export { Reservation } from './features/chat/components/reservation/reservation';
|
|
7
11
|
export { ChatComponentRenderer } from './features/chat/renderer/renderer';
|
|
8
12
|
export { ChatMessageRenderer } from './features/chat/message/message';
|
|
9
13
|
export { parseMessage } from "./features/chat/message/message.logic.js";
|
|
10
|
-
export { ComponentType, ItemAction, Theme } from "./features/chat/model/chat.model.js";
|
|
14
|
+
export { ComponentType, ItemAction, Theme, FlightStatus } from "./features/chat/model/chat.model.js";
|
|
15
|
+
export { OrderStatus } from "./features/chat/components/order/order.model.js";
|
|
16
|
+
export { ReservationStatus } from "./features/chat/components/reservation/reservation.model.js";
|
|
11
17
|
//# sourceMappingURL=web.js.map
|
package/lib/module/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Product","Service","Event","Info","ChatComponentRenderer","ChatMessageRenderer","parseMessage","ComponentType","ItemAction","Theme"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,4CAA4C;AACpE,SAASC,OAAO,QAAQ,4CAA4C;AACpE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,IAAI,QAAQ,sCAAsC;AAC3D,SAASC,qBAAqB,QAAQ,mCAAmC;AACzE,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,YAAY,QAAQ,0CAAuC;AACpE,SAASC,aAAa,EAAEC,UAAU,EAAEC,KAAK,QAAQ,qCAAkC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["Product","Service","Event","Info","Flight","FlightBoard","Order","Reservation","ChatComponentRenderer","ChatMessageRenderer","parseMessage","ComponentType","ItemAction","Theme","FlightStatus","OrderStatus","ReservationStatus"],"sourceRoot":"../../src","sources":["web.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,4CAA4C;AACpE,SAASC,OAAO,QAAQ,4CAA4C;AACpE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,IAAI,QAAQ,sCAAsC;AAC3D,SAASC,MAAM,QAAQ,0CAA0C;AACjE,SAASC,WAAW,QAAQ,sDAAsD;AAClF,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,WAAW,QAAQ,oDAAoD;AAChF,SAASC,qBAAqB,QAAQ,mCAAmC;AACzE,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,YAAY,QAAQ,0CAAuC;AACpE,SAASC,aAAa,EAAEC,UAAU,EAAEC,KAAK,EAAEC,YAAY,QAAQ,qCAAkC;AACjG,SAASC,WAAW,QAAQ,iDAA8C;AAC1E,SAASC,iBAAiB,QAAQ,6DAA0D","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/calendar-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,iBAAiB,+BAOpF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-icon.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/calendar-icon.native.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,iBAAiB,+BAOpF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/cart-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,aAAa,+BAc5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/chevron-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,gBAAgB,+BAYlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-icon.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/chevron-icon.native.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,gBAAgB,+BAYlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plane-icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/plane-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,cAAc,+BAS9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plane-icon.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/common/plane-icon.native.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,EAAE,cAAc,+BAS9E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Theme } from '../../model/chat.model';
|
|
2
|
+
import type { FlightItem } from './flight.model';
|
|
3
|
+
export interface FlightCardProps {
|
|
4
|
+
item: FlightItem;
|
|
5
|
+
theme: Theme;
|
|
6
|
+
language?: string;
|
|
7
|
+
accent: boolean;
|
|
8
|
+
defaultExpanded: boolean;
|
|
9
|
+
onSelect?: (item: FlightItem) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function FlightCard({ item, theme, language, accent, defaultExpanded, onSelect }: FlightCardProps): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=flight-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight-card.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAgB,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACvC;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAgFvG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Theme } from '../../model/chat.model';
|
|
2
|
+
import type { FlightItem } from './flight.model';
|
|
3
|
+
export interface FlightCardProps {
|
|
4
|
+
item: FlightItem;
|
|
5
|
+
theme: Theme;
|
|
6
|
+
language?: string;
|
|
7
|
+
accent: boolean;
|
|
8
|
+
defaultExpanded: boolean;
|
|
9
|
+
onSelect?: (item: FlightItem) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function FlightCard({ item, theme, language, accent, defaultExpanded, onSelect }: FlightCardProps): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=flight-card.native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight-card.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight-card.native.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAgB,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACvC;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,eAAe,+BA+EvG"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { FlightItem } from './flight.model';
|
|
3
|
+
export declare function Flight({ data, theme, language, onSelect, }: ChatComponentProps<FlightItem>): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=flight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAkGjD,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,UAAU,CAAC,+BAkBhC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FlightStatus, LocalizedText } from '../../model/chat.model';
|
|
2
|
+
export interface Airport {
|
|
3
|
+
code: string;
|
|
4
|
+
city: LocalizedText;
|
|
5
|
+
time: string;
|
|
6
|
+
}
|
|
7
|
+
export interface FlightItem {
|
|
8
|
+
id: number;
|
|
9
|
+
airline: LocalizedText;
|
|
10
|
+
flightNumber: string;
|
|
11
|
+
status?: FlightStatus;
|
|
12
|
+
statusLabel?: LocalizedText;
|
|
13
|
+
date?: LocalizedText;
|
|
14
|
+
terminal?: LocalizedText;
|
|
15
|
+
from: Airport;
|
|
16
|
+
to: Airport;
|
|
17
|
+
duration?: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=flight.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE1E,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,aAAa,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { FlightItem } from './flight.model';
|
|
3
|
+
export declare function Flight({ data, theme, language, onSelect, }: ChatComponentProps<FlightItem>): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=flight.native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/flight.native.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAiGjD,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,UAAU,CAAC,+BAkBhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { FlightBoardItem } from './flight-board.model';
|
|
3
|
+
export declare function FlightBoard({ data, theme, language, onSelect, }: ChatComponentProps<FlightBoardItem>): import("react").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=flight-board.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight-board.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/flight-board.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAa,MAAM,sBAAsB,CAAC;AAKvE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,eAAe,CAAC,sCA2IrC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { FlightStatus, LocalizedText } from '../../model/chat.model';
|
|
2
|
+
export interface FlightRow {
|
|
3
|
+
id: number;
|
|
4
|
+
time: string;
|
|
5
|
+
city: LocalizedText;
|
|
6
|
+
code: string;
|
|
7
|
+
airline: LocalizedText;
|
|
8
|
+
flightNumber: string;
|
|
9
|
+
gate?: string;
|
|
10
|
+
status?: FlightStatus;
|
|
11
|
+
statusLabel?: LocalizedText;
|
|
12
|
+
accent?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface FlightBoardItem {
|
|
15
|
+
airport: LocalizedText;
|
|
16
|
+
code: string;
|
|
17
|
+
updatedAt?: string;
|
|
18
|
+
live?: boolean;
|
|
19
|
+
departures: FlightRow[];
|
|
20
|
+
arrivals?: FlightRow[];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=flight-board.model.d.ts.map
|
package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.model.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight-board.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/flight-board.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE1E,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,aAAa,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB"}
|
package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { FlightBoardItem } from './flight-board.model';
|
|
3
|
+
export declare function FlightBoard({ data, theme, language, onSelect, }: ChatComponentProps<FlightBoardItem>): import("react").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=flight-board.native.d.ts.map
|
package/lib/typescript/commonjs/features/chat/components/flight-board/flight-board.native.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flight-board.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/flight-board.native.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAa,MAAM,sBAAsB,CAAC;AAKvE,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,eAAe,CAAC,sCAqIrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/flight-board/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
2
|
import type { InfoItem } from './info.model';
|
|
3
|
-
export declare function Info({ data, theme, language }: ChatComponentProps<InfoItem>): import("react").JSX.Element
|
|
3
|
+
export declare function Info({ data, theme, language, onSelect }: ChatComponentProps<InfoItem>): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,QAAQ,CAAC,+BAgDlG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"info.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
2
|
import type { InfoItem } from './info.model';
|
|
3
|
-
export declare function Info({ data, theme, language }: ChatComponentProps<InfoItem>): import("react").JSX.Element
|
|
3
|
+
export declare function Info({ data, theme, language, onSelect }: ChatComponentProps<InfoItem>): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=info.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"info.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/info/info.native.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,KAAkB,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,CAAC,QAAQ,CAAC,+BAmDlG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { OrderListItem } from './order.model';
|
|
3
|
+
export declare function Order({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<OrderListItem>): import("react").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=order.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/order.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,eAAe,CAAC;AAE7D,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,aAAa,CAAC,sCA2JnC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { LocalizedText } from '../../model/chat.model';
|
|
2
|
+
export declare enum OrderStatus {
|
|
3
|
+
Pending = "pending",
|
|
4
|
+
Preparing = "preparing",
|
|
5
|
+
Accepted = "accepted",
|
|
6
|
+
Rejected = "rejected",
|
|
7
|
+
Delivered = "delivered"
|
|
8
|
+
}
|
|
9
|
+
export interface OrderRow {
|
|
10
|
+
id: number;
|
|
11
|
+
image?: string;
|
|
12
|
+
name: LocalizedText;
|
|
13
|
+
quantity: number;
|
|
14
|
+
unitPrice?: string;
|
|
15
|
+
duration?: string;
|
|
16
|
+
price: string;
|
|
17
|
+
status?: OrderStatus;
|
|
18
|
+
statusLabel?: LocalizedText;
|
|
19
|
+
}
|
|
20
|
+
export interface OrderListItem {
|
|
21
|
+
orderNumber: string;
|
|
22
|
+
location?: LocalizedText;
|
|
23
|
+
status?: OrderStatus;
|
|
24
|
+
statusLabel?: LocalizedText;
|
|
25
|
+
items: OrderRow[];
|
|
26
|
+
totalLabel?: LocalizedText;
|
|
27
|
+
total?: string;
|
|
28
|
+
actionLabel?: LocalizedText;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=order.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/order.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { OrderListItem } from './order.model';
|
|
3
|
+
export declare function Order({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<OrderListItem>): import("react").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=order.native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/order/order.native.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,eAAe,CAAC;AAE7D,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,aAAa,CAAC,sCAyJnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { ReservationListItem } from './reservation.model';
|
|
3
|
+
export declare function Reservation({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<ReservationListItem>): import("react").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=reservation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/reservation.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAkB,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,sCA6IzC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { LocalizedText } from '../../model/chat.model';
|
|
2
|
+
export declare enum ReservationStatus {
|
|
3
|
+
Pending = "pending",
|
|
4
|
+
Confirmed = "confirmed",
|
|
5
|
+
Cancelled = "cancelled"
|
|
6
|
+
}
|
|
7
|
+
export interface ReservationRow {
|
|
8
|
+
id: number;
|
|
9
|
+
name: LocalizedText;
|
|
10
|
+
date: string;
|
|
11
|
+
time: string;
|
|
12
|
+
duration?: string;
|
|
13
|
+
price: string;
|
|
14
|
+
status: ReservationStatus;
|
|
15
|
+
statusLabel?: LocalizedText;
|
|
16
|
+
}
|
|
17
|
+
export interface ReservationListItem {
|
|
18
|
+
title: LocalizedText;
|
|
19
|
+
subtitle?: LocalizedText;
|
|
20
|
+
status?: ReservationStatus;
|
|
21
|
+
statusLabel?: LocalizedText;
|
|
22
|
+
reservations: ReservationRow[];
|
|
23
|
+
totalLabel?: LocalizedText;
|
|
24
|
+
total?: string;
|
|
25
|
+
actionLabel?: LocalizedText;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=reservation.model.d.ts.map
|
package/lib/typescript/commonjs/features/chat/components/reservation/reservation.model.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservation.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/reservation.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,iBAAiB,CAAC;IAC1B,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChatComponentProps } from '../../model/chat.model';
|
|
2
|
+
import type { ReservationListItem } from './reservation.model';
|
|
3
|
+
export declare function Reservation({ data, theme, language, actionLabel, onAction, onSelect, }: ChatComponentProps<ReservationListItem>): import("react").JSX.Element | null;
|
|
4
|
+
//# sourceMappingURL=reservation.native.d.ts.map
|
package/lib/typescript/commonjs/features/chat/components/reservation/reservation.native.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservation.native.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/chat/components/reservation/reservation.native.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAkB,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,KAAkB,EAClB,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,sCA0IzC"}
|