@inorain_development/hotel-smarters-chat-ui 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +168 -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 +186 -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 +165 -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 +164 -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 +182 -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 +161 -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 +28 -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 +28 -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 +172 -0
- package/src/features/chat/components/order/order.tsx +173 -0
- package/src/features/chat/components/reservation/index.ts +3 -0
- package/src/features/chat/components/reservation/reservation.model.ts +30 -0
- package/src/features/chat/components/reservation/reservation.native.tsx +160 -0
- package/src/features/chat/components/reservation/reservation.tsx +162 -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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.Theme = exports.ItemAction = exports.ComponentType = void 0;
|
|
6
|
+
exports.Theme = exports.ItemAction = exports.FlightStatus = exports.ComponentType = void 0;
|
|
7
7
|
let Theme = exports.Theme = /*#__PURE__*/function (Theme) {
|
|
8
8
|
Theme["Dark"] = "dark";
|
|
9
9
|
Theme["Light"] = "light";
|
|
@@ -17,10 +17,26 @@ let ComponentType = exports.ComponentType = /*#__PURE__*/function (ComponentType
|
|
|
17
17
|
ComponentType["Event"] = "event";
|
|
18
18
|
ComponentType["EventList"] = "eventList";
|
|
19
19
|
ComponentType["Info"] = "info";
|
|
20
|
+
ComponentType["Flight"] = "flight";
|
|
21
|
+
ComponentType["FlightList"] = "flightList";
|
|
22
|
+
ComponentType["FlightBoard"] = "flightBoard";
|
|
23
|
+
ComponentType["Order"] = "order";
|
|
24
|
+
ComponentType["Reservation"] = "reservation";
|
|
25
|
+
ComponentType["ReservationList"] = "reservationList";
|
|
20
26
|
return ComponentType;
|
|
21
27
|
}({});
|
|
22
28
|
let ItemAction = exports.ItemAction = /*#__PURE__*/function (ItemAction) {
|
|
23
29
|
ItemAction["Add"] = "add";
|
|
30
|
+
ItemAction["Manage"] = "manage";
|
|
31
|
+
ItemAction["Track"] = "track";
|
|
24
32
|
return ItemAction;
|
|
25
33
|
}({});
|
|
34
|
+
let FlightStatus = exports.FlightStatus = /*#__PURE__*/function (FlightStatus) {
|
|
35
|
+
FlightStatus["OnTime"] = "onTime";
|
|
36
|
+
FlightStatus["Delayed"] = "delayed";
|
|
37
|
+
FlightStatus["Boarding"] = "boarding";
|
|
38
|
+
FlightStatus["Landed"] = "landed";
|
|
39
|
+
FlightStatus["Cancelled"] = "cancelled";
|
|
40
|
+
return FlightStatus;
|
|
41
|
+
}({});
|
|
26
42
|
//# sourceMappingURL=chat.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Theme","exports","ComponentType","ItemAction"],"sourceRoot":"../../../../../src","sources":["features/chat/model/chat.model.ts"],"mappings":";;;;;;IAAYA,KAAK,GAAAC,OAAA,CAAAD,KAAA,0BAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAAA,OAALA,KAAK;AAAA;AAAA,IAQLE,aAAa,GAAAD,OAAA,CAAAC,aAAA,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAAA,
|
|
1
|
+
{"version":3,"names":["Theme","exports","ComponentType","ItemAction","FlightStatus"],"sourceRoot":"../../../../../src","sources":["features/chat/model/chat.model.ts"],"mappings":";;;;;;IAAYA,KAAK,GAAAC,OAAA,CAAAD,KAAA,0BAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAAA,OAALA,KAAK;AAAA;AAAA,IAQLE,aAAa,GAAAD,OAAA,CAAAC,aAAA,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAAA,IAgBbC,UAAU,GAAAF,OAAA,CAAAE,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAA,IAMVC,YAAY,GAAAH,OAAA,CAAAG,YAAA,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
|
|
@@ -8,6 +8,10 @@ var _product = require("../components/product/product");
|
|
|
8
8
|
var _service = require("../components/service/service");
|
|
9
9
|
var _event = require("../components/event/event");
|
|
10
10
|
var _info = require("../components/info/info");
|
|
11
|
+
var _flight = require("../components/flight/flight");
|
|
12
|
+
var _flightBoard = require("../components/flight-board/flight-board");
|
|
13
|
+
var _order = require("../components/order/order");
|
|
14
|
+
var _reservation = require("../components/reservation/reservation");
|
|
11
15
|
var _chatModel = require("../model/chat.model.js");
|
|
12
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
17
|
function ChatComponentRenderer({
|
|
@@ -38,6 +42,28 @@ function ChatComponentRenderer({
|
|
|
38
42
|
type: type,
|
|
39
43
|
...rest
|
|
40
44
|
});
|
|
45
|
+
case _chatModel.ComponentType.Flight:
|
|
46
|
+
case _chatModel.ComponentType.FlightList:
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flight.Flight, {
|
|
48
|
+
type: type,
|
|
49
|
+
...rest
|
|
50
|
+
});
|
|
51
|
+
case _chatModel.ComponentType.FlightBoard:
|
|
52
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flightBoard.FlightBoard, {
|
|
53
|
+
type: type,
|
|
54
|
+
...rest
|
|
55
|
+
});
|
|
56
|
+
case _chatModel.ComponentType.Order:
|
|
57
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_order.Order, {
|
|
58
|
+
type: type,
|
|
59
|
+
...rest
|
|
60
|
+
});
|
|
61
|
+
case _chatModel.ComponentType.Reservation:
|
|
62
|
+
case _chatModel.ComponentType.ReservationList:
|
|
63
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reservation.Reservation, {
|
|
64
|
+
type: type,
|
|
65
|
+
...rest
|
|
66
|
+
});
|
|
41
67
|
default:
|
|
42
68
|
return null;
|
|
43
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_product","require","_service","_event","_info","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;
|
|
1
|
+
{"version":3,"names":["_product","require","_service","_event","_info","_flight","_flightBoard","_order","_reservation","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info","Flight","FlightList","FlightBoard","Order","Reservation","ReservationList"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.tsx"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AASA,IAAAQ,UAAA,GAAAR,OAAA;AAAoD,IAAAS,WAAA,GAAAT,OAAA;AAG7C,SAASU,qBAAqBA,CAUnC;EAAEC,IAAI;EAAE,GAAGC;AAAgC,CAAC,EAAE;EAC9C,QAAQD,IAAI;IACV,KAAKE,wBAAa,CAACC,OAAO;IAC1B,KAAKD,wBAAa,CAACE,WAAW;MAC5B,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACjB,QAAA,CAAAe,OAAO;QAACH,IA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ACf,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAwE,CAAC;IAE/G;MACE,OAAO,IAAI;EACf;AACF","ignoreList":[]}
|
|
@@ -8,6 +8,10 @@ var _productNative = require("../components/product/product.native.js");
|
|
|
8
8
|
var _serviceNative = require("../components/service/service.native.js");
|
|
9
9
|
var _eventNative = require("../components/event/event.native.js");
|
|
10
10
|
var _infoNative = require("../components/info/info.native.js");
|
|
11
|
+
var _flightNative = require("../components/flight/flight.native.js");
|
|
12
|
+
var _flightBoardNative = require("../components/flight-board/flight-board.native.js");
|
|
13
|
+
var _orderNative = require("../components/order/order.native.js");
|
|
14
|
+
var _reservationNative = require("../components/reservation/reservation.native.js");
|
|
11
15
|
var _chatModel = require("../model/chat.model.js");
|
|
12
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
17
|
function ChatComponentRenderer({
|
|
@@ -38,6 +42,28 @@ function ChatComponentRenderer({
|
|
|
38
42
|
type: type,
|
|
39
43
|
...rest
|
|
40
44
|
});
|
|
45
|
+
case _chatModel.ComponentType.Flight:
|
|
46
|
+
case _chatModel.ComponentType.FlightList:
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flightNative.Flight, {
|
|
48
|
+
type: type,
|
|
49
|
+
...rest
|
|
50
|
+
});
|
|
51
|
+
case _chatModel.ComponentType.FlightBoard:
|
|
52
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_flightBoardNative.FlightBoard, {
|
|
53
|
+
type: type,
|
|
54
|
+
...rest
|
|
55
|
+
});
|
|
56
|
+
case _chatModel.ComponentType.Order:
|
|
57
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_orderNative.Order, {
|
|
58
|
+
type: type,
|
|
59
|
+
...rest
|
|
60
|
+
});
|
|
61
|
+
case _chatModel.ComponentType.Reservation:
|
|
62
|
+
case _chatModel.ComponentType.ReservationList:
|
|
63
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reservationNative.Reservation, {
|
|
64
|
+
type: type,
|
|
65
|
+
...rest
|
|
66
|
+
});
|
|
41
67
|
default:
|
|
42
68
|
return null;
|
|
43
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.native.tsx"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;
|
|
1
|
+
{"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_flightNative","_flightBoardNative","_orderNative","_reservationNative","_chatModel","_jsxRuntime","ChatComponentRenderer","type","rest","ComponentType","Product","ProductList","jsx","Service","ServiceList","Event","EventList","Info","Flight","FlightList","FlightBoard","Order","Reservation","ReservationList"],"sourceRoot":"../../../../../src","sources":["features/chat/renderer/renderer.native.tsx"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AASA,IAAAQ,UAAA,GAAAR,OAAA;AAAoD,IAAAS,WAAA,GAAAT,OAAA;AAG7C,SAASU,qBAAqBA,CAUnC;EAAEC,IAAI;EAAE,GAAGC;AAAgC,CAAC,EAAE;EAC9C,QAAQD,IAAI;IACV,KAAKE,wBAAa,CAACC,OAAO;IAC1B,KAAKD,wBAAa,CAACE,WAAW;MAC5B,oBAAO,IAAAN,WAAA,CAAA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A,CAAAO,GAAA,EAACT,kBAAA,CAAAmB,WAAW;QAACf,IAAI,EAAEA,IAAK;QAAA,GAAMC;MAAI,CAAwE,CAAC;IAE/G;MACE,OAAO,IAAI;EACf;AACF","ignoreList":[]}
|
package/lib/commonjs/native.js
CHANGED
|
@@ -27,6 +27,24 @@ Object.defineProperty(exports, "Event", {
|
|
|
27
27
|
return _eventNative.Event;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "Flight", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _flightNative.Flight;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "FlightBoard", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _flightBoardNative.FlightBoard;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "FlightStatus", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _chatModel.FlightStatus;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
30
48
|
Object.defineProperty(exports, "Info", {
|
|
31
49
|
enumerable: true,
|
|
32
50
|
get: function () {
|
|
@@ -39,12 +57,36 @@ Object.defineProperty(exports, "ItemAction", {
|
|
|
39
57
|
return _chatModel.ItemAction;
|
|
40
58
|
}
|
|
41
59
|
});
|
|
60
|
+
Object.defineProperty(exports, "Order", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return _orderNative.Order;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "OrderStatus", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _orderModel.OrderStatus;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
42
72
|
Object.defineProperty(exports, "Product", {
|
|
43
73
|
enumerable: true,
|
|
44
74
|
get: function () {
|
|
45
75
|
return _productNative.Product;
|
|
46
76
|
}
|
|
47
77
|
});
|
|
78
|
+
Object.defineProperty(exports, "Reservation", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _reservationNative.Reservation;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "ReservationStatus", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _reservationModel.ReservationStatus;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
48
90
|
Object.defineProperty(exports, "Service", {
|
|
49
91
|
enumerable: true,
|
|
50
92
|
get: function () {
|
|
@@ -67,8 +109,14 @@ var _productNative = require("./features/chat/components/product/product.native.
|
|
|
67
109
|
var _serviceNative = require("./features/chat/components/service/service.native.js");
|
|
68
110
|
var _eventNative = require("./features/chat/components/event/event.native.js");
|
|
69
111
|
var _infoNative = require("./features/chat/components/info/info.native.js");
|
|
112
|
+
var _flightNative = require("./features/chat/components/flight/flight.native.js");
|
|
113
|
+
var _flightBoardNative = require("./features/chat/components/flight-board/flight-board.native.js");
|
|
114
|
+
var _orderNative = require("./features/chat/components/order/order.native.js");
|
|
115
|
+
var _reservationNative = require("./features/chat/components/reservation/reservation.native.js");
|
|
70
116
|
var _rendererNative = require("./features/chat/renderer/renderer.native.js");
|
|
71
117
|
var _messageNative = require("./features/chat/message/message.native.js");
|
|
72
118
|
var _messageLogic = require("./features/chat/message/message.logic.js");
|
|
73
119
|
var _chatModel = require("./features/chat/model/chat.model.js");
|
|
120
|
+
var _orderModel = require("./features/chat/components/order/order.model.js");
|
|
121
|
+
var _reservationModel = require("./features/chat/components/reservation/reservation.model.js");
|
|
74
122
|
//# sourceMappingURL=native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_rendererNative","_messageNative","_messageLogic","_chatModel"],"sourceRoot":"../../src","sources":["native.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_productNative","require","_serviceNative","_eventNative","_infoNative","_flightNative","_flightBoardNative","_orderNative","_reservationNative","_rendererNative","_messageNative","_messageLogic","_chatModel","_orderModel","_reservationModel"],"sourceRoot":"../../src","sources":["native.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAR,OAAA;AACA,IAAAS,cAAA,GAAAT,OAAA;AACA,IAAAU,aAAA,GAAAV,OAAA;AACA,IAAAW,UAAA,GAAAX,OAAA;AACA,IAAAY,WAAA,GAAAZ,OAAA;AACA,IAAAa,iBAAA,GAAAb,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getFlightStatusStyle = getFlightStatusStyle;
|
|
7
|
+
var _chatModel = require("../features/chat/model/chat.model.js");
|
|
8
|
+
const DARK = {
|
|
9
|
+
[_chatModel.FlightStatus.OnTime]: {
|
|
10
|
+
dot: 'bg-emerald-400',
|
|
11
|
+
badgeBg: 'bg-emerald-500/15',
|
|
12
|
+
badgeText: 'text-emerald-400',
|
|
13
|
+
showDot: true,
|
|
14
|
+
label: 'On time'
|
|
15
|
+
},
|
|
16
|
+
[_chatModel.FlightStatus.Delayed]: {
|
|
17
|
+
dot: 'bg-amber-400',
|
|
18
|
+
badgeBg: 'bg-amber-500/15',
|
|
19
|
+
badgeText: 'text-amber-400',
|
|
20
|
+
showDot: false,
|
|
21
|
+
label: 'Delayed'
|
|
22
|
+
},
|
|
23
|
+
[_chatModel.FlightStatus.Boarding]: {
|
|
24
|
+
dot: 'bg-indigo-300',
|
|
25
|
+
badgeBg: 'bg-indigo-500/25',
|
|
26
|
+
badgeText: 'text-indigo-300',
|
|
27
|
+
showDot: false,
|
|
28
|
+
label: 'Boarding'
|
|
29
|
+
},
|
|
30
|
+
[_chatModel.FlightStatus.Landed]: {
|
|
31
|
+
dot: 'bg-sky-400',
|
|
32
|
+
badgeBg: 'bg-sky-500/15',
|
|
33
|
+
badgeText: 'text-sky-400',
|
|
34
|
+
showDot: true,
|
|
35
|
+
label: 'Landed'
|
|
36
|
+
},
|
|
37
|
+
[_chatModel.FlightStatus.Cancelled]: {
|
|
38
|
+
dot: 'bg-red-400',
|
|
39
|
+
badgeBg: 'bg-red-500/15',
|
|
40
|
+
badgeText: 'text-red-400',
|
|
41
|
+
showDot: false,
|
|
42
|
+
label: 'Cancelled'
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
const LIGHT = {
|
|
46
|
+
[_chatModel.FlightStatus.OnTime]: {
|
|
47
|
+
dot: 'bg-emerald-500',
|
|
48
|
+
badgeBg: 'bg-emerald-500/15',
|
|
49
|
+
badgeText: 'text-emerald-600',
|
|
50
|
+
showDot: true,
|
|
51
|
+
label: 'On time'
|
|
52
|
+
},
|
|
53
|
+
[_chatModel.FlightStatus.Delayed]: {
|
|
54
|
+
dot: 'bg-amber-500',
|
|
55
|
+
badgeBg: 'bg-amber-500/20',
|
|
56
|
+
badgeText: 'text-amber-600',
|
|
57
|
+
showDot: false,
|
|
58
|
+
label: 'Delayed'
|
|
59
|
+
},
|
|
60
|
+
[_chatModel.FlightStatus.Boarding]: {
|
|
61
|
+
dot: 'bg-indigo-500',
|
|
62
|
+
badgeBg: 'bg-indigo-500/15',
|
|
63
|
+
badgeText: 'text-indigo-600',
|
|
64
|
+
showDot: false,
|
|
65
|
+
label: 'Boarding'
|
|
66
|
+
},
|
|
67
|
+
[_chatModel.FlightStatus.Landed]: {
|
|
68
|
+
dot: 'bg-sky-500',
|
|
69
|
+
badgeBg: 'bg-sky-500/15',
|
|
70
|
+
badgeText: 'text-sky-600',
|
|
71
|
+
showDot: true,
|
|
72
|
+
label: 'Landed'
|
|
73
|
+
},
|
|
74
|
+
[_chatModel.FlightStatus.Cancelled]: {
|
|
75
|
+
dot: 'bg-red-500',
|
|
76
|
+
badgeBg: 'bg-red-500/15',
|
|
77
|
+
badgeText: 'text-red-600',
|
|
78
|
+
showDot: false,
|
|
79
|
+
label: 'Cancelled'
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
function getFlightStatusStyle(status = _chatModel.FlightStatus.OnTime, theme = _chatModel.Theme.Dark) {
|
|
83
|
+
const map = theme === _chatModel.Theme.Light ? LIGHT : DARK;
|
|
84
|
+
return map[status] ?? map[_chatModel.FlightStatus.OnTime];
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=flight.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_chatModel","require","DARK","FlightStatus","OnTime","dot","badgeBg","badgeText","showDot","label","Delayed","Boarding","Landed","Cancelled","LIGHT","getFlightStatusStyle","status","theme","Theme","Dark","map","Light"],"sourceRoot":"../../../src","sources":["utils/flight.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAYA,MAAMC,IAAe,GAAG;EACtB,CAACC,uBAAY,CAACC,MAAM,GAAG;IAAEC,GAAG,EAAE,gBAAgB;IAAEC,OAAO,EAAE,mBAAmB;IAAEC,SAAS,EAAE,kBAAkB;IAAEC,OAAO,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAU,CAAC;EAC9I,CAACN,uBAAY,CAACO,OAAO,GAAG;IAAEL,GAAG,EAAE,cAAc;IAAEC,OAAO,EAAE,iBAAiB;I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,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,OAAO,EAAE,IAAI;IAAEC,KAAK,EAAE;EAAS,CAAC;EACjI,CAACN,uBAAY,CAACU,SAAS,GAAG;IAAER,GAAG,EAAE,YAAY;IAAEC,OAAO,EAAE,eAAe;IAAEC,SAAS,EAAE,cAAc;IAAEC,OAAO,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAY;AACzI,CAAC;AAEM,SAASM,oBAAoBA,CAClCC,MAAoB,GAAGb,uBAAY,CAACC,MAAM,EAC1Ca,KAAY,GAAGC,gBAAK,CAACC,IAAI,EACN;EACnB,MAAMC,GAAG,GAAGH,KAAK,KAAKC,gBAAK,CAACG,KAAK,GAAGP,KAAK,GAAGZ,IAAI;EAChD,OAAOkB,GAAG,CAACJ,MAAM,CAAC,IAAII,GAAG,CAACjB,uBAAY,CAACC,MAAM,CAAC;AAChD","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getOrderStatusStyle = getOrderStatusStyle;
|
|
7
|
+
var _chatModel = require("../features/chat/model/chat.model.js");
|
|
8
|
+
var _orderModel = require("../features/chat/components/order/order.model.js");
|
|
9
|
+
var _statusBadgeUtils = require("./status-badge.utils.js");
|
|
10
|
+
const LABEL = {
|
|
11
|
+
[_orderModel.OrderStatus.Pending]: 'Pending',
|
|
12
|
+
[_orderModel.OrderStatus.Preparing]: 'Preparing',
|
|
13
|
+
[_orderModel.OrderStatus.Accepted]: 'Accepted',
|
|
14
|
+
[_orderModel.OrderStatus.Rejected]: 'Rejected',
|
|
15
|
+
[_orderModel.OrderStatus.Delivered]: 'Delivered'
|
|
16
|
+
};
|
|
17
|
+
function getOrderStatusStyle(status = _orderModel.OrderStatus.Pending, theme = _chatModel.Theme.Dark) {
|
|
18
|
+
const tone = status === _orderModel.OrderStatus.Accepted || status === _orderModel.OrderStatus.Delivered ? _statusBadgeUtils.StatusTone.Success : status === _orderModel.OrderStatus.Rejected ? _statusBadgeUtils.StatusTone.Danger : status === _orderModel.OrderStatus.Preparing ? _statusBadgeUtils.StatusTone.Info : _statusBadgeUtils.StatusTone.Pending;
|
|
19
|
+
return {
|
|
20
|
+
...(0, _statusBadgeUtils.getStatusBadgeStyle)(tone, theme),
|
|
21
|
+
label: LABEL[status] ?? LABEL[_orderModel.OrderStatus.Pending]
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=order.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_chatModel","require","_orderModel","_statusBadgeUtils","LABEL","OrderStatus","Pending","Preparing","Accepted","Rejected","Delivered","getOrderStatusStyle","status","theme","Theme","Dark","tone","StatusTone","Success","Danger","Info","getStatusBadgeStyle","label"],"sourceRoot":"../../../src","sources":["utils/order.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AAGA,MAAMG,KAAkC,GAAG;EACzC,CAACC,uBAAW,CAACC,OAAO,GAAG,SAAS;EAChC,CAACD,uBAAW,CAACE,SAAS,GAAG,WAAW;EACpC,CAACF,uBAAW,CAACG,QAAQ,GAAG,UAAU;EAClC,CAACH,uBAAW,CAACI,QAAQ,GAAG,UAAU;EAClC,CAACJ,uBAAW,CAACK,SAAS,GAAG;AAC3B,CAAC;AAEM,SAASC,mBAAmBA,CACjCC,MAAmB,GAAGP,uBAAW,CAACC,OAAO,EACzCO,KAAY,GAAGC,gBAAK,CAACC,IAAI,EACa;EACtC,MAAMC,IAAI,GACRJ,MAAM,KAAKP,uBAAW,CAACG,QAAQ,IAAII,MAAM,KAAKP,uBAAW,CAACK,SAAS,GAC/DO,4BAAU,CAACC,OAAO,GAClBN,MAAM,KAAKP,uBAAW,CAACI,QAAQ,GAC7BQ,4BAAU,CAACE,MAAM,GACjBP,MAAM,KAAKP,uBAAW,CAACE,SAAS,GAC9BU,4BAAU,CAACG,IAAI,GACfH,4BAAU,CAACX,OAAO;EAE5B,OAAO;IAAE,GAAG,IAAAe,qCAAmB,EAACL,IAAI,EAAEH,KAAK,CAAC;IAAES,KAAK,EAAElB,KAAK,CAACQ,MAAM,CAAC,IAAIR,KAAK,CAACC,uBAAW,CAACC,OAAO;EAAE,CAAC;AACpG","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getReservationStatusStyle = getReservationStatusStyle;
|
|
7
|
+
var _chatModel = require("../features/chat/model/chat.model.js");
|
|
8
|
+
var _reservationModel = require("../features/chat/components/reservation/reservation.model.js");
|
|
9
|
+
var _statusBadgeUtils = require("./status-badge.utils.js");
|
|
10
|
+
const LABEL = {
|
|
11
|
+
[_reservationModel.ReservationStatus.Pending]: 'Pending',
|
|
12
|
+
[_reservationModel.ReservationStatus.Confirmed]: 'Confirmed',
|
|
13
|
+
[_reservationModel.ReservationStatus.Cancelled]: 'Cancelled'
|
|
14
|
+
};
|
|
15
|
+
function getReservationStatusStyle(status = _reservationModel.ReservationStatus.Pending, theme = _chatModel.Theme.Dark) {
|
|
16
|
+
const tone = status === _reservationModel.ReservationStatus.Confirmed ? _statusBadgeUtils.StatusTone.Success : status === _reservationModel.ReservationStatus.Cancelled ? _statusBadgeUtils.StatusTone.Danger : _statusBadgeUtils.StatusTone.Pending;
|
|
17
|
+
return {
|
|
18
|
+
...(0, _statusBadgeUtils.getStatusBadgeStyle)(tone, theme),
|
|
19
|
+
label: LABEL[status] ?? LABEL[_reservationModel.ReservationStatus.Pending]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=reservation.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_chatModel","require","_reservationModel","_statusBadgeUtils","LABEL","ReservationStatus","Pending","Confirmed","Cancelled","getReservationStatusStyle","status","theme","Theme","Dark","tone","StatusTone","Success","Danger","getStatusBadgeStyle","label"],"sourceRoot":"../../../src","sources":["utils/reservation.utils.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AAGA,MAAMG,KAAwC,GAAG;EAC/C,CAACC,mCAAiB,CAACC,OAAO,GAAG,SAAS;EACtC,CAACD,mCAAiB,CAACE,SAAS,GAAG,WAAW;EAC1C,CAACF,mCAAiB,CAACG,SAAS,GAAG;AACjC,CAAC;AAEM,SAASC,yBAAyBA,CACvCC,MAAyB,GAAGL,mCAAiB,CAACC,OAAO,EACrDK,KAAY,GAAGC,gBAAK,CAACC,IAAI,EACa;EACtC,MAAMC,IAAI,GAAGJ,MAAM,KAAKL,mCAAiB,CAACE,SAAS,GAC/CQ,4BAAU,CAACC,OAAO,GAClBN,MAAM,KAAKL,mCAAiB,CAACG,SAAS,GACpCO,4BAAU,CAACE,MAAM,GACjBF,4BAAU,CAACT,OAAO;EAExB,OAAO;IAAE,GAAG,IAAAY,qCAAmB,EAACJ,IAAI,EAAEH,KAAK,CAAC;IAAEQ,KAAK,EAAEf,KAAK,CAACM,MAAM,CAAC,IAAIN,KAAK,CAACC,mCAAiB,CAACC,OAAO;EAAE,CAAC;AAC1G","ignoreList":[]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StatusTone = void 0;
|
|
7
|
+
exports.getStatusBadgeStyle = getStatusBadgeStyle;
|
|
8
|
+
var _chatModel = require("../features/chat/model/chat.model.js");
|
|
9
|
+
let StatusTone = exports.StatusTone = /*#__PURE__*/function (StatusTone) {
|
|
10
|
+
StatusTone["Pending"] = "pending";
|
|
11
|
+
StatusTone["Success"] = "success";
|
|
12
|
+
StatusTone["Danger"] = "danger";
|
|
13
|
+
StatusTone["Info"] = "info";
|
|
14
|
+
StatusTone["Neutral"] = "neutral";
|
|
15
|
+
return StatusTone;
|
|
16
|
+
}({});
|
|
17
|
+
const DARK = {
|
|
18
|
+
[StatusTone.Pending]: {
|
|
19
|
+
badgeBg: 'bg-amber-500/15',
|
|
20
|
+
badgeText: 'text-amber-400',
|
|
21
|
+
dot: 'bg-amber-400'
|
|
22
|
+
},
|
|
23
|
+
[StatusTone.Success]: {
|
|
24
|
+
badgeBg: 'bg-emerald-500/15',
|
|
25
|
+
badgeText: 'text-emerald-400',
|
|
26
|
+
dot: 'bg-emerald-400'
|
|
27
|
+
},
|
|
28
|
+
[StatusTone.Danger]: {
|
|
29
|
+
badgeBg: 'bg-red-500/15',
|
|
30
|
+
badgeText: 'text-red-400',
|
|
31
|
+
dot: 'bg-red-400'
|
|
32
|
+
},
|
|
33
|
+
[StatusTone.Info]: {
|
|
34
|
+
badgeBg: 'bg-indigo-500/25',
|
|
35
|
+
badgeText: 'text-indigo-300',
|
|
36
|
+
dot: 'bg-indigo-300'
|
|
37
|
+
},
|
|
38
|
+
[StatusTone.Neutral]: {
|
|
39
|
+
badgeBg: 'bg-white/10',
|
|
40
|
+
badgeText: 'text-neutral-300',
|
|
41
|
+
dot: 'bg-neutral-400'
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
const LIGHT = {
|
|
45
|
+
[StatusTone.Pending]: {
|
|
46
|
+
badgeBg: 'bg-amber-500/20',
|
|
47
|
+
badgeText: 'text-amber-600',
|
|
48
|
+
dot: 'bg-amber-500'
|
|
49
|
+
},
|
|
50
|
+
[StatusTone.Success]: {
|
|
51
|
+
badgeBg: 'bg-emerald-500/15',
|
|
52
|
+
badgeText: 'text-emerald-600',
|
|
53
|
+
dot: 'bg-emerald-500'
|
|
54
|
+
},
|
|
55
|
+
[StatusTone.Danger]: {
|
|
56
|
+
badgeBg: 'bg-red-500/15',
|
|
57
|
+
badgeText: 'text-red-600',
|
|
58
|
+
dot: 'bg-red-500'
|
|
59
|
+
},
|
|
60
|
+
[StatusTone.Info]: {
|
|
61
|
+
badgeBg: 'bg-indigo-500/15',
|
|
62
|
+
badgeText: 'text-indigo-600',
|
|
63
|
+
dot: 'bg-indigo-500'
|
|
64
|
+
},
|
|
65
|
+
[StatusTone.Neutral]: {
|
|
66
|
+
badgeBg: 'bg-slate-200',
|
|
67
|
+
badgeText: 'text-neutral-600',
|
|
68
|
+
dot: 'bg-slate-400'
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
function getStatusBadgeStyle(tone, theme = _chatModel.Theme.Dark) {
|
|
72
|
+
const map = theme === _chatModel.Theme.Light ? LIGHT : DARK;
|
|
73
|
+
return map[tone] ?? map[StatusTone.Neutral];
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=status-badge.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_chatModel","require","StatusTone","exports","DARK","Pending","badgeBg","badgeText","dot","Success","Danger","Info","Neutral","LIGHT","getStatusBadgeStyle","tone","theme","Theme","Dark","map","Light"],"sourceRoot":"../../../src","sources":["utils/status-badge.utils.ts"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAA0D,IAE9CC,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AActB,MAAME,IAA0C,GAAG;EACjD,CAACF,UAAU,CAACG,OAAO,GAAG;IAAEC,OAAO,EAAE,iBAAiB;IAAEC,SAAS,EAAE,gBAAgB;IAAEC,GAAG,EAAE;EAAe,CAAC;EACtG,CAACN,UAAU,CAACO,OAAO,GAAG;IAA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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":[]}
|
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
|