@botonic/react 0.56.0-alpha.0 → 0.57.0-rslib-esm.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/app.js +9 -0
- package/lib/app.js.map +1 -0
- package/lib/assets/types.d.ts +4 -0
- package/lib/botonic-tester.js +122 -0
- package/lib/botonic-tester.js.map +1 -0
- package/lib/components/audio.d.ts +9 -0
- package/lib/components/audio.js +59 -0
- package/lib/components/audio.js.map +1 -0
- package/lib/components/button/index.d.ts +17 -0
- package/lib/components/button/index.js +183 -0
- package/lib/components/button/index.js.map +1 -0
- package/lib/components/button/styles.js +42 -0
- package/lib/components/button/styles.js.map +1 -0
- package/lib/components/buttons-disabler.d.ts +21 -0
- package/lib/components/buttons-disabler.js +97 -0
- package/lib/components/buttons-disabler.js.map +1 -0
- package/lib/components/carousel.d.ts +10 -0
- package/lib/components/carousel.js +196 -0
- package/lib/components/carousel.js.map +1 -0
- package/lib/components/components.js +18 -0
- package/lib/components/components.js.map +1 -0
- package/lib/components/constants.js +15 -0
- package/lib/components/constants.js.map +1 -0
- package/lib/components/custom-message.d.ts +16 -0
- package/lib/components/custom-message.js +109 -0
- package/lib/components/custom-message.js.map +1 -0
- package/lib/components/document.d.ts +9 -0
- package/lib/components/document.js +82 -0
- package/lib/components/document.js.map +1 -0
- package/lib/components/element.js +68 -0
- package/lib/components/element.js.map +1 -0
- package/lib/components/handoff.d.ts +1 -0
- package/lib/components/handoff.js +76 -0
- package/lib/components/handoff.js.map +1 -0
- package/lib/components/image.d.ts +9 -0
- package/lib/components/image.js +81 -0
- package/lib/components/image.js.map +1 -0
- package/lib/components/index-types.d.ts +83 -0
- package/lib/components/index-types.js +4 -0
- package/lib/components/index-types.js.map +1 -0
- package/lib/components/index.d.ts +33 -0
- package/lib/components/index.js +99 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/location.js +68 -0
- package/lib/components/location.js.map +1 -0
- package/lib/components/markdown.js +165 -0
- package/lib/components/markdown.js.map +1 -0
- package/lib/components/message/index.js +277 -0
- package/lib/components/message/index.js.map +1 -0
- package/lib/components/message/message-footer.d.ts +8 -0
- package/lib/components/message/message-footer.js +38 -0
- package/lib/components/message/message-footer.js.map +1 -0
- package/lib/components/message/message-image.d.ts +7 -0
- package/lib/components/message/message-image.js +46 -0
- package/lib/components/message/message-image.js.map +1 -0
- package/lib/components/message/styles.js +123 -0
- package/lib/components/message/styles.js.map +1 -0
- package/lib/components/message/timestamps.d.ts +13 -0
- package/lib/components/message/timestamps.js +67 -0
- package/lib/components/message/timestamps.js.map +1 -0
- package/lib/components/message-template.js +26 -0
- package/lib/components/message-template.js.map +1 -0
- package/lib/components/multichannel/facebook/facebook.js +61 -0
- package/lib/components/multichannel/facebook/facebook.js.map +1 -0
- package/lib/components/multichannel/index-types.js +5 -0
- package/lib/components/multichannel/index-types.js.map +1 -0
- package/lib/components/multichannel/index.d.ts +11 -0
- package/lib/components/multichannel/index.js +25 -0
- package/lib/components/multichannel/index.js.map +1 -0
- package/lib/components/multichannel/multichannel-button.d.ts +4 -0
- package/lib/components/multichannel/multichannel-button.js +93 -0
- package/lib/components/multichannel/multichannel-button.js.map +1 -0
- package/lib/components/multichannel/multichannel-carousel.d.ts +1 -0
- package/lib/components/multichannel/multichannel-carousel.js +123 -0
- package/lib/components/multichannel/multichannel-carousel.js.map +1 -0
- package/lib/components/multichannel/multichannel-context.js +15 -0
- package/lib/components/multichannel/multichannel-context.js.map +1 -0
- package/lib/components/multichannel/multichannel-reply.d.ts +4 -0
- package/lib/components/multichannel/multichannel-reply.js +41 -0
- package/lib/components/multichannel/multichannel-reply.js.map +1 -0
- package/lib/components/multichannel/multichannel-text.d.ts +2 -0
- package/lib/components/multichannel/multichannel-text.js +286 -0
- package/lib/components/multichannel/multichannel-text.js.map +1 -0
- package/lib/components/multichannel/multichannel-utils.js +76 -0
- package/lib/components/multichannel/multichannel-utils.js.map +1 -0
- package/lib/components/multichannel/multichannel.js +111 -0
- package/lib/components/multichannel/multichannel.js.map +1 -0
- package/lib/components/multichannel/whatsapp/constants.js +16 -0
- package/lib/components/multichannel/whatsapp/constants.js.map +1 -0
- package/lib/components/multichannel/whatsapp/markdown-meta.js +41 -0
- package/lib/components/multichannel/whatsapp/markdown-meta.js.map +1 -0
- package/lib/components/pic.js +55 -0
- package/lib/components/pic.js.map +1 -0
- package/lib/components/raw.d.ts +9 -0
- package/lib/components/raw.js +86 -0
- package/lib/components/raw.js.map +1 -0
- package/lib/components/reply.d.ts +11 -0
- package/lib/components/reply.js +102 -0
- package/lib/components/reply.js.map +1 -0
- package/lib/components/share-button.js +26 -0
- package/lib/components/share-button.js.map +1 -0
- package/lib/components/subtitle.js +43 -0
- package/lib/components/subtitle.js.map +1 -0
- package/lib/components/system-debug-trace/debug-message.d.ts +8 -0
- package/lib/components/system-debug-trace/debug-message.js +132 -0
- package/lib/components/system-debug-trace/debug-message.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +4 -0
- package/lib/components/system-debug-trace/events/ai-agent/ai-agent.js +140 -0
- package/lib/components/system-debug-trace/events/ai-agent/ai-agent.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +7 -0
- package/lib/components/system-debug-trace/events/ai-agent/executed-tools.js +46 -0
- package/lib/components/system-debug-trace/events/ai-agent/executed-tools.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/index.d.ts +2 -0
- package/lib/components/system-debug-trace/events/ai-agent/index.js +7 -0
- package/lib/components/system-debug-trace/events/ai-agent/index.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/parse-tools.d.ts +9 -0
- package/lib/components/system-debug-trace/events/ai-agent/parse-tools.js +30 -0
- package/lib/components/system-debug-trace/events/ai-agent/parse-tools.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.d.ts +6 -0
- package/lib/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js +49 -0
- package/lib/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/types.d.ts +23 -0
- package/lib/components/system-debug-trace/events/ai-agent/types.js +4 -0
- package/lib/components/system-debug-trace/events/ai-agent/types.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.d.ts +8 -0
- package/lib/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js +41 -0
- package/lib/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +4 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js +93 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/index.d.ts +2 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/index.js +7 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/index.js.map +1 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/types.d.ts +23 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/types.js +4 -0
- package/lib/components/system-debug-trace/events/ai-agent-router/types.js.map +1 -0
- package/lib/components/system-debug-trace/events/bot-action.d.ts +7 -0
- package/lib/components/system-debug-trace/events/bot-action.js +34 -0
- package/lib/components/system-debug-trace/events/bot-action.js.map +1 -0
- package/lib/components/system-debug-trace/events/components/guardrail-item.js +39 -0
- package/lib/components/system-debug-trace/events/components/guardrail-item.js.map +1 -0
- package/lib/components/system-debug-trace/events/components/index.d.ts +2 -0
- package/lib/components/system-debug-trace/events/components/index.js +7 -0
- package/lib/components/system-debug-trace/events/components/index.js.map +1 -0
- package/lib/components/system-debug-trace/events/components/sources-section.d.ts +11 -0
- package/lib/components/system-debug-trace/events/components/sources-section.js +56 -0
- package/lib/components/system-debug-trace/events/components/sources-section.js.map +1 -0
- package/lib/components/system-debug-trace/events/conditional-channel.d.ts +7 -0
- package/lib/components/system-debug-trace/events/conditional-channel.js +34 -0
- package/lib/components/system-debug-trace/events/conditional-channel.js.map +1 -0
- package/lib/components/system-debug-trace/events/conditional-country.d.ts +7 -0
- package/lib/components/system-debug-trace/events/conditional-country.js +34 -0
- package/lib/components/system-debug-trace/events/conditional-country.js.map +1 -0
- package/lib/components/system-debug-trace/events/conditional-custom.d.ts +10 -0
- package/lib/components/system-debug-trace/events/conditional-custom.js +66 -0
- package/lib/components/system-debug-trace/events/conditional-custom.js.map +1 -0
- package/lib/components/system-debug-trace/events/conditional-queue-status.d.ts +11 -0
- package/lib/components/system-debug-trace/events/conditional-queue-status.js +78 -0
- package/lib/components/system-debug-trace/events/conditional-queue-status.js.map +1 -0
- package/lib/components/system-debug-trace/events/constants.js +37 -0
- package/lib/components/system-debug-trace/events/constants.js.map +1 -0
- package/lib/components/system-debug-trace/events/fallback.d.ts +9 -0
- package/lib/components/system-debug-trace/events/fallback.js +36 -0
- package/lib/components/system-debug-trace/events/fallback.js.map +1 -0
- package/lib/components/system-debug-trace/events/handoff-success.d.ts +11 -0
- package/lib/components/system-debug-trace/events/handoff-success.js +99 -0
- package/lib/components/system-debug-trace/events/handoff-success.js.map +1 -0
- package/lib/components/system-debug-trace/events/index.d.ts +14 -0
- package/lib/components/system-debug-trace/events/index.js +31 -0
- package/lib/components/system-debug-trace/events/index.js.map +1 -0
- package/lib/components/system-debug-trace/events/keyword.d.ts +10 -0
- package/lib/components/system-debug-trace/events/keyword.js +35 -0
- package/lib/components/system-debug-trace/events/keyword.js.map +1 -0
- package/lib/components/system-debug-trace/events/knowledge-bases-types.js +4 -0
- package/lib/components/system-debug-trace/events/knowledge-bases-types.js.map +1 -0
- package/lib/components/system-debug-trace/events/redirect-flow.d.ts +10 -0
- package/lib/components/system-debug-trace/events/redirect-flow.js +34 -0
- package/lib/components/system-debug-trace/events/redirect-flow.js.map +1 -0
- package/lib/components/system-debug-trace/events/smart-intent.d.ts +7 -0
- package/lib/components/system-debug-trace/events/smart-intent.js +34 -0
- package/lib/components/system-debug-trace/events/smart-intent.js.map +1 -0
- package/lib/components/system-debug-trace/events/webview-action-triggered.d.ts +10 -0
- package/lib/components/system-debug-trace/events/webview-action-triggered.js +51 -0
- package/lib/components/system-debug-trace/events/webview-action-triggered.js.map +1 -0
- package/lib/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +16 -0
- package/lib/components/system-debug-trace/hooks/use-knowledge-base-info.js +118 -0
- package/lib/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +1 -0
- package/lib/components/system-debug-trace/hooks/use-last-label-position.js +84 -0
- package/lib/components/system-debug-trace/hooks/use-last-label-position.js.map +1 -0
- package/lib/components/system-debug-trace/icons/ai-router.d.ts +1 -0
- package/lib/components/system-debug-trace/icons/ai-router.js +71 -0
- package/lib/components/system-debug-trace/icons/ai-router.js.map +1 -0
- package/lib/components/system-debug-trace/icons/ai-specialist.d.ts +1 -0
- package/lib/components/system-debug-trace/icons/ai-specialist.js +85 -0
- package/lib/components/system-debug-trace/icons/ai-specialist.js.map +1 -0
- package/lib/components/system-debug-trace/icons/arrow-progress.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/arrow-progress.js +23 -0
- package/lib/components/system-debug-trace/icons/arrow-progress.js.map +1 -0
- package/lib/components/system-debug-trace/icons/brain.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/brain.js +23 -0
- package/lib/components/system-debug-trace/icons/brain.js.map +1 -0
- package/lib/components/system-debug-trace/icons/caret-down.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/caret-down.js +23 -0
- package/lib/components/system-debug-trace/icons/caret-down.js.map +1 -0
- package/lib/components/system-debug-trace/icons/caret-up.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/caret-up.js +23 -0
- package/lib/components/system-debug-trace/icons/caret-up.js.map +1 -0
- package/lib/components/system-debug-trace/icons/circle-check.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/circle-check.js +22 -0
- package/lib/components/system-debug-trace/icons/circle-check.js.map +1 -0
- package/lib/components/system-debug-trace/icons/code.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/code.js +22 -0
- package/lib/components/system-debug-trace/icons/code.js.map +1 -0
- package/lib/components/system-debug-trace/icons/file-pdf.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/file-pdf.js +23 -0
- package/lib/components/system-debug-trace/icons/file-pdf.js.map +1 -0
- package/lib/components/system-debug-trace/icons/file-word.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/file-word.js +23 -0
- package/lib/components/system-debug-trace/icons/file-word.js.map +1 -0
- package/lib/components/system-debug-trace/icons/hand.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/hand.js +23 -0
- package/lib/components/system-debug-trace/icons/hand.js.map +1 -0
- package/lib/components/system-debug-trace/icons/head-set.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/head-set.js +23 -0
- package/lib/components/system-debug-trace/icons/head-set.js.map +1 -0
- package/lib/components/system-debug-trace/icons/index.d.ts +16 -0
- package/lib/components/system-debug-trace/icons/index.js +35 -0
- package/lib/components/system-debug-trace/icons/index.js.map +1 -0
- package/lib/components/system-debug-trace/icons/life-ring.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/life-ring.js +23 -0
- package/lib/components/system-debug-trace/icons/life-ring.js.map +1 -0
- package/lib/components/system-debug-trace/icons/link.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/link.js +23 -0
- package/lib/components/system-debug-trace/icons/link.js.map +1 -0
- package/lib/components/system-debug-trace/icons/quote-right.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/quote-right.js +23 -0
- package/lib/components/system-debug-trace/icons/quote-right.js.map +1 -0
- package/lib/components/system-debug-trace/icons/screwdriver-wrench.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/screwdriver-wrench.js +23 -0
- package/lib/components/system-debug-trace/icons/screwdriver-wrench.js.map +1 -0
- package/lib/components/system-debug-trace/icons/split.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/split.js +23 -0
- package/lib/components/system-debug-trace/icons/split.js.map +1 -0
- package/lib/components/system-debug-trace/icons/wand.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/wand.js +23 -0
- package/lib/components/system-debug-trace/icons/wand.js.map +1 -0
- package/lib/components/system-debug-trace/icons/window-restore.d.ts +2 -0
- package/lib/components/system-debug-trace/icons/window-restore.js +23 -0
- package/lib/components/system-debug-trace/icons/window-restore.js.map +1 -0
- package/lib/components/system-debug-trace/index.d.ts +10 -0
- package/lib/components/system-debug-trace/index.js +48 -0
- package/lib/components/system-debug-trace/index.js.map +1 -0
- package/lib/components/system-debug-trace/styles.js +290 -0
- package/lib/components/system-debug-trace/styles.js.map +1 -0
- package/lib/components/system-debug-trace/types.d.ts +13 -0
- package/lib/components/system-debug-trace/types.js +4 -0
- package/lib/components/system-debug-trace/types.js.map +1 -0
- package/lib/components/text.d.ts +8 -0
- package/lib/components/text.js +78 -0
- package/lib/components/text.js.map +1 -0
- package/lib/components/title.js +39 -0
- package/lib/components/title.js.map +1 -0
- package/lib/components/video.d.ts +9 -0
- package/lib/components/video.js +58 -0
- package/lib/components/video.js.map +1 -0
- package/lib/components/webchat-settings.d.ts +19 -0
- package/lib/components/webchat-settings.js +98 -0
- package/lib/components/webchat-settings.js.map +1 -0
- package/lib/components/whatsapp-button-list.js +78 -0
- package/lib/components/whatsapp-button-list.js.map +1 -0
- package/lib/components/whatsapp-catalog.js +48 -0
- package/lib/components/whatsapp-catalog.js.map +1 -0
- package/lib/components/whatsapp-cta-url-button.js +75 -0
- package/lib/components/whatsapp-cta-url-button.js.map +1 -0
- package/lib/components/whatsapp-interactive-media-carousel.d.ts +31 -0
- package/lib/components/whatsapp-interactive-media-carousel.js +59 -0
- package/lib/components/whatsapp-interactive-media-carousel.js.map +1 -0
- package/lib/components/whatsapp-media-carousel.js +67 -0
- package/lib/components/whatsapp-media-carousel.js.map +1 -0
- package/lib/components/whatsapp-product-carousel.js +60 -0
- package/lib/components/whatsapp-product-carousel.js.map +1 -0
- package/lib/components/whatsapp-product-list.js +53 -0
- package/lib/components/whatsapp-product-list.js.map +1 -0
- package/lib/components/whatsapp-product.js +49 -0
- package/lib/components/whatsapp-product.js.map +1 -0
- package/lib/components/whatsapp-request-contact-info.js +49 -0
- package/lib/components/whatsapp-request-contact-info.js.map +1 -0
- package/lib/components/whatsapp-template/index.d.ts +11 -0
- package/lib/components/whatsapp-template/index.js +52 -0
- package/lib/components/whatsapp-template/index.js.map +1 -0
- package/lib/components/whatsapp-template/types.js +30 -0
- package/lib/components/whatsapp-template/types.js.map +1 -0
- package/lib/constants.js +204 -0
- package/lib/constants.js.map +1 -0
- package/lib/contexts.d.ts +17 -0
- package/lib/contexts.js +33 -0
- package/lib/contexts.js.map +1 -0
- package/lib/debug-system-messages.d.ts +177 -0
- package/lib/debug-system-messages.js +234 -0
- package/lib/debug-system-messages.js.map +1 -0
- package/lib/dev-app.d.ts +213 -0
- package/lib/dev-app.js +135 -0
- package/lib/dev-app.js.map +1 -0
- package/lib/index-types.d.ts +187 -0
- package/lib/index-types.js +16 -0
- package/lib/index-types.js.map +1 -0
- package/lib/index.d.ts +12 -0
- package/lib/index.js +34 -0
- package/lib/index.js.map +1 -0
- package/lib/message-utils.js +49 -0
- package/lib/message-utils.js.map +1 -0
- package/lib/msg-to-botonic.js +232 -0
- package/lib/msg-to-botonic.js.map +1 -0
- package/lib/node-app.d.ts +7 -0
- package/lib/node-app.js +25 -0
- package/lib/node-app.js.map +1 -0
- package/lib/react-bot.d.ts +18 -0
- package/lib/react-bot.js +49 -0
- package/lib/react-bot.js.map +1 -0
- package/lib/shared/styles.js +34 -0
- package/lib/shared/styles.js.map +1 -0
- package/lib/util/dom.js +28 -0
- package/lib/util/dom.js.map +1 -0
- package/lib/util/environment.js +76 -0
- package/lib/util/environment.js.map +1 -0
- package/lib/util/error-boundary.d.ts +7 -0
- package/lib/util/error-boundary.js +43 -0
- package/lib/util/error-boundary.js.map +1 -0
- package/lib/util/functional.js +22 -0
- package/lib/util/functional.js.map +1 -0
- package/lib/util/i18n.js +156 -0
- package/lib/util/i18n.js.map +1 -0
- package/lib/util/index.d.ts +10 -0
- package/lib/util/index.js +23 -0
- package/lib/util/index.js.map +1 -0
- package/lib/util/logs.js +28 -0
- package/lib/util/logs.js.map +1 -0
- package/lib/util/objects.js +40 -0
- package/lib/util/objects.js.map +1 -0
- package/lib/util/react.js +51 -0
- package/lib/util/react.js.map +1 -0
- package/lib/util/regexs.js +21 -0
- package/lib/util/regexs.js.map +1 -0
- package/lib/util/strings.js +10 -0
- package/lib/util/strings.js.map +1 -0
- package/lib/util/webchat.d.ts +24 -0
- package/lib/util/webchat.js +101 -0
- package/lib/util/webchat.js.map +1 -0
- package/lib/util/webviews.d.ts +2 -0
- package/lib/util/webviews.js +8 -0
- package/lib/util/webviews.js.map +1 -0
- package/lib/webchat/chat-area/index.d.ts +1 -0
- package/lib/webchat/chat-area/index.js +46 -0
- package/lib/webchat/chat-area/index.js.map +1 -0
- package/lib/webchat/chat-area/styles.js +15 -0
- package/lib/webchat/chat-area/styles.js.map +1 -0
- package/lib/webchat/components/common.d.ts +1 -0
- package/lib/webchat/components/common.js +20 -0
- package/lib/webchat/components/common.js.map +1 -0
- package/lib/webchat/components/conditional-animation.d.ts +1 -0
- package/lib/webchat/components/conditional-animation.js +34 -0
- package/lib/webchat/components/conditional-animation.js.map +1 -0
- package/lib/webchat/components/opened-persistent-menu.d.ts +6 -0
- package/lib/webchat/components/opened-persistent-menu.js +72 -0
- package/lib/webchat/components/opened-persistent-menu.js.map +1 -0
- package/lib/webchat/constants.js +13 -0
- package/lib/webchat/constants.js.map +1 -0
- package/lib/webchat/context/actions.js +35 -0
- package/lib/webchat/context/actions.js.map +1 -0
- package/lib/webchat/context/index.d.ts +4 -0
- package/lib/webchat/context/index.js +118 -0
- package/lib/webchat/context/index.js.map +1 -0
- package/lib/webchat/context/messages-reducer.d.ts +6 -0
- package/lib/webchat/context/messages-reducer.js +187 -0
- package/lib/webchat/context/messages-reducer.js.map +1 -0
- package/lib/webchat/context/types.d.ts +84 -0
- package/lib/webchat/context/types.js +4 -0
- package/lib/webchat/context/types.js.map +1 -0
- package/lib/webchat/context/use-webchat.d.ts +46 -0
- package/lib/webchat/context/use-webchat.js +237 -0
- package/lib/webchat/context/use-webchat.js.map +1 -0
- package/lib/webchat/context/webchat-reducer.d.ts +6 -0
- package/lib/webchat/context/webchat-reducer.js +116 -0
- package/lib/webchat/context/webchat-reducer.js.map +1 -0
- package/lib/webchat/cover-component/index.d.ts +6 -0
- package/lib/webchat/cover-component/index.js +32 -0
- package/lib/webchat/cover-component/index.js.map +1 -0
- package/lib/webchat/custom-messages/index.d.ts +1 -0
- package/lib/webchat/custom-messages/index.js +6 -0
- package/lib/webchat/custom-messages/index.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/face-angry.d.ts +3 -0
- package/lib/webchat/custom-messages/rating/icons/face-angry.js +27 -0
- package/lib/webchat/custom-messages/rating/icons/face-angry.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/face-frown.d.ts +3 -0
- package/lib/webchat/custom-messages/rating/icons/face-frown.js +27 -0
- package/lib/webchat/custom-messages/rating/icons/face-frown.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +3 -0
- package/lib/webchat/custom-messages/rating/icons/face-grin-beam.js +27 -0
- package/lib/webchat/custom-messages/rating/icons/face-grin-beam.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/face-meh.d.ts +3 -0
- package/lib/webchat/custom-messages/rating/icons/face-meh.js +27 -0
- package/lib/webchat/custom-messages/rating/icons/face-meh.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/face-smile.d.ts +3 -0
- package/lib/webchat/custom-messages/rating/icons/face-smile.js +27 -0
- package/lib/webchat/custom-messages/rating/icons/face-smile.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/index.d.ts +6 -0
- package/lib/webchat/custom-messages/rating/icons/index.js +15 -0
- package/lib/webchat/custom-messages/rating/icons/index.js.map +1 -0
- package/lib/webchat/custom-messages/rating/icons/star.d.ts +3 -0
- package/lib/webchat/custom-messages/rating/icons/star.js +27 -0
- package/lib/webchat/custom-messages/rating/icons/star.js.map +1 -0
- package/lib/webchat/custom-messages/rating/index.d.ts +2 -0
- package/lib/webchat/custom-messages/rating/index.js +105 -0
- package/lib/webchat/custom-messages/rating/index.js.map +1 -0
- package/lib/webchat/custom-messages/rating/rating-selector.d.ts +11 -0
- package/lib/webchat/custom-messages/rating/rating-selector.js +57 -0
- package/lib/webchat/custom-messages/rating/rating-selector.js.map +1 -0
- package/lib/webchat/custom-messages/rating/smileys.d.ts +2 -0
- package/lib/webchat/custom-messages/rating/smileys.js +26 -0
- package/lib/webchat/custom-messages/rating/smileys.js.map +1 -0
- package/lib/webchat/custom-messages/rating/stars.d.ts +2 -0
- package/lib/webchat/custom-messages/rating/stars.js +18 -0
- package/lib/webchat/custom-messages/rating/stars.js.map +1 -0
- package/lib/webchat/custom-messages/rating/styles.js +27 -0
- package/lib/webchat/custom-messages/rating/styles.js.map +1 -0
- package/lib/webchat/custom-messages/rating/types.js +9 -0
- package/lib/webchat/custom-messages/rating/types.js.map +1 -0
- package/lib/webchat/devices/index.js +20 -0
- package/lib/webchat/devices/index.js.map +1 -0
- package/lib/webchat/global.d.ts +3 -0
- package/lib/webchat/header/default-header.d.ts +1 -0
- package/lib/webchat/header/default-header.js +75 -0
- package/lib/webchat/header/default-header.js.map +1 -0
- package/lib/webchat/header/index.js +48 -0
- package/lib/webchat/header/index.js.map +1 -0
- package/lib/webchat/header/styles.js +67 -0
- package/lib/webchat/header/styles.js.map +1 -0
- package/lib/webchat/hooks/index.d.ts +10 -0
- package/lib/webchat/hooks/index.js +33 -0
- package/lib/webchat/hooks/index.js.map +1 -0
- package/lib/webchat/hooks/use-component-visible.js +30 -0
- package/lib/webchat/hooks/use-component-visible.js.map +1 -0
- package/lib/webchat/hooks/use-component-will-mount.js +11 -0
- package/lib/webchat/hooks/use-component-will-mount.js.map +1 -0
- package/lib/webchat/hooks/use-device-adapter.js +68 -0
- package/lib/webchat/hooks/use-device-adapter.js.map +1 -0
- package/lib/webchat/hooks/use-previous.js +15 -0
- package/lib/webchat/hooks/use-previous.js.map +1 -0
- package/lib/webchat/hooks/use-scroll-to-bottom.js +29 -0
- package/lib/webchat/hooks/use-scroll-to-bottom.js.map +1 -0
- package/lib/webchat/hooks/use-scrollbar-controller.js +148 -0
- package/lib/webchat/hooks/use-scrollbar-controller.js.map +1 -0
- package/lib/webchat/hooks/use-typing.d.ts +10 -0
- package/lib/webchat/hooks/use-typing.js +42 -0
- package/lib/webchat/hooks/use-typing.js.map +1 -0
- package/lib/webchat/hooks/use-virtual-keyboard-detection.js +32 -0
- package/lib/webchat/hooks/use-virtual-keyboard-detection.js.map +1 -0
- package/lib/webchat/hooks/use-webchat-dimensions.js +44 -0
- package/lib/webchat/hooks/use-webchat-dimensions.js.map +1 -0
- package/lib/webchat/hooks/use-webchat-resizer.js +34 -0
- package/lib/webchat/hooks/use-webchat-resizer.js.map +1 -0
- package/lib/webchat/index-types.d.ts +7 -0
- package/lib/webchat/index-types.js +4 -0
- package/lib/webchat/index-types.js.map +1 -0
- package/lib/webchat/index.d.ts +6 -0
- package/lib/webchat/index.js +23 -0
- package/lib/webchat/index.js.map +1 -0
- package/lib/webchat/input-panel/attachment.d.ts +6 -0
- package/lib/webchat/input-panel/attachment.js +71 -0
- package/lib/webchat/input-panel/attachment.js.map +1 -0
- package/lib/webchat/input-panel/emoji-picker.d.ts +5 -0
- package/lib/webchat/input-panel/emoji-picker.js +50 -0
- package/lib/webchat/input-panel/emoji-picker.js.map +1 -0
- package/lib/webchat/input-panel/index.d.ts +9 -0
- package/lib/webchat/input-panel/index.js +109 -0
- package/lib/webchat/input-panel/index.js.map +1 -0
- package/lib/webchat/input-panel/opened-emoji-picker.d.ts +6 -0
- package/lib/webchat/input-panel/opened-emoji-picker.js +39 -0
- package/lib/webchat/input-panel/opened-emoji-picker.js.map +1 -0
- package/lib/webchat/input-panel/persistent-menu.d.ts +5 -0
- package/lib/webchat/input-panel/persistent-menu.js +42 -0
- package/lib/webchat/input-panel/persistent-menu.js.map +1 -0
- package/lib/webchat/input-panel/send-button.d.ts +5 -0
- package/lib/webchat/input-panel/send-button.js +46 -0
- package/lib/webchat/input-panel/send-button.js.map +1 -0
- package/lib/webchat/input-panel/styles.js +35 -0
- package/lib/webchat/input-panel/styles.js.map +1 -0
- package/lib/webchat/input-panel/textarea.d.ts +10 -0
- package/lib/webchat/input-panel/textarea.js +82 -0
- package/lib/webchat/input-panel/textarea.js.map +1 -0
- package/lib/webchat/input-panel/typing-network-sender.d.ts +52 -0
- package/lib/webchat/input-panel/typing-network-sender.js +141 -0
- package/lib/webchat/input-panel/typing-network-sender.js.map +1 -0
- package/lib/webchat/input-panel/use-typing-chat-event-sender.d.ts +16 -0
- package/lib/webchat/input-panel/use-typing-chat-event-sender.js +56 -0
- package/lib/webchat/input-panel/use-typing-chat-event-sender.js.map +1 -0
- package/lib/webchat/input-panel/use-typing-session.d.ts +15 -0
- package/lib/webchat/input-panel/use-typing-session.js +109 -0
- package/lib/webchat/input-panel/use-typing-session.js.map +1 -0
- package/lib/webchat/message-list/index.d.ts +2 -0
- package/lib/webchat/message-list/index.js +176 -0
- package/lib/webchat/message-list/index.js.map +1 -0
- package/lib/webchat/message-list/intro-message.d.ts +1 -0
- package/lib/webchat/message-list/intro-message.js +49 -0
- package/lib/webchat/message-list/intro-message.js.map +1 -0
- package/lib/webchat/message-list/scroll-button.js +37 -0
- package/lib/webchat/message-list/scroll-button.js.map +1 -0
- package/lib/webchat/message-list/styles.js +63 -0
- package/lib/webchat/message-list/styles.js.map +1 -0
- package/lib/webchat/message-list/unread-messages-banner.js +45 -0
- package/lib/webchat/message-list/unread-messages-banner.js.map +1 -0
- package/lib/webchat/message-list/use-debounce.js +20 -0
- package/lib/webchat/message-list/use-debounce.js.map +1 -0
- package/lib/webchat/message-list/use-notifications.js +30 -0
- package/lib/webchat/message-list/use-notifications.js.map +1 -0
- package/lib/webchat/replies/index.d.ts +1 -0
- package/lib/webchat/replies/index.js +51 -0
- package/lib/webchat/replies/index.js.map +1 -0
- package/lib/webchat/replies/styles.js +27 -0
- package/lib/webchat/replies/styles.js.map +1 -0
- package/lib/webchat/session-view.d.ts +1 -0
- package/lib/webchat/session-view.js +168 -0
- package/lib/webchat/session-view.js.map +1 -0
- package/lib/webchat/styles.js +69 -0
- package/lib/webchat/styles.js.map +1 -0
- package/lib/webchat/theme/default-theme.d.ts +2 -0
- package/lib/webchat/theme/default-theme.js +119 -0
- package/lib/webchat/theme/default-theme.js.map +1 -0
- package/lib/webchat/theme/theme.d.ts +8 -0
- package/lib/webchat/theme/types.d.ts +213 -0
- package/lib/webchat/theme/types.js +4 -0
- package/lib/webchat/theme/types.js.map +1 -0
- package/lib/webchat/tracking.js +47 -0
- package/lib/webchat/tracking.js.map +1 -0
- package/lib/webchat/trigger-button/index.js +59 -0
- package/lib/webchat/trigger-button/index.js.map +1 -0
- package/lib/webchat/trigger-button/styles.js +44 -0
- package/lib/webchat/trigger-button/styles.js.map +1 -0
- package/lib/webchat/typing-indicator/index.js +32 -0
- package/lib/webchat/typing-indicator/index.js.map +1 -0
- package/lib/webchat/typing-indicator/styles.js +52 -0
- package/lib/webchat/typing-indicator/styles.js.map +1 -0
- package/lib/webchat/use-storage-state-hook.js +53 -0
- package/lib/webchat/use-storage-state-hook.js.map +1 -0
- package/lib/webchat/utils.js +15 -0
- package/lib/webchat/utils.js.map +1 -0
- package/lib/webchat/webchat-dev.js +98 -0
- package/lib/webchat/webchat-dev.js.map +1 -0
- package/lib/webchat/webchat.d.ts +3 -0
- package/lib/webchat/webchat.js +729 -0
- package/lib/webchat/webchat.js.map +1 -0
- package/lib/webchat/webview/header.d.ts +1 -0
- package/lib/webchat/webview/header.js +37 -0
- package/lib/webchat/webview/header.js.map +1 -0
- package/lib/webchat/webview/index.d.ts +6 -0
- package/lib/webchat/webview/index.js +116 -0
- package/lib/webchat/webview/index.js.map +1 -0
- package/lib/webchat/webview/styles.js +64 -0
- package/lib/webchat/webview/styles.js.map +1 -0
- package/lib/webchat-app.d.ts +114 -0
- package/lib/webchat-app.js +470 -0
- package/lib/webchat-app.js.map +1 -0
- package/lib/webview-app.js +215 -0
- package/lib/webview-app.js.map +1 -0
- package/package.json +12 -13
- package/src/components/index.ts +14 -14
- package/src/components/multichannel/index.ts +7 -6
- package/src/dev-app.jsx +1 -1
- package/src/index-types.ts +6 -6
- package/src/webchat/context/index.tsx +1 -1
- package/src/webchat/index.ts +1 -1
- package/src/webchat/webchat.tsx +1 -0
- package/lib/cjs/app.js +0 -10
- package/lib/cjs/app.js.map +0 -1
- package/lib/cjs/botonic-tester.js +0 -76
- package/lib/cjs/botonic-tester.js.map +0 -1
- package/lib/cjs/components/audio.d.ts +0 -9
- package/lib/cjs/components/audio.js +0 -27
- package/lib/cjs/components/audio.js.map +0 -1
- package/lib/cjs/components/button/index.d.ts +0 -17
- package/lib/cjs/components/button/index.js +0 -139
- package/lib/cjs/components/button/index.js.map +0 -1
- package/lib/cjs/components/button/styles.js +0 -40
- package/lib/cjs/components/button/styles.js.map +0 -1
- package/lib/cjs/components/buttons-disabler.d.ts +0 -21
- package/lib/cjs/components/buttons-disabler.js +0 -94
- package/lib/cjs/components/buttons-disabler.js.map +0 -1
- package/lib/cjs/components/carousel.d.ts +0 -10
- package/lib/cjs/components/carousel.js +0 -119
- package/lib/cjs/components/carousel.js.map +0 -1
- package/lib/cjs/components/components.js +0 -21
- package/lib/cjs/components/components.js.map +0 -1
- package/lib/cjs/components/constants.js +0 -15
- package/lib/cjs/components/constants.js.map +0 -1
- package/lib/cjs/components/custom-message.d.ts +0 -16
- package/lib/cjs/components/custom-message.js +0 -60
- package/lib/cjs/components/custom-message.js.map +0 -1
- package/lib/cjs/components/document.d.ts +0 -9
- package/lib/cjs/components/document.js +0 -50
- package/lib/cjs/components/document.js.map +0 -1
- package/lib/cjs/components/element.js +0 -56
- package/lib/cjs/components/element.js.map +0 -1
- package/lib/cjs/components/handoff.d.ts +0 -1
- package/lib/cjs/components/handoff.js +0 -54
- package/lib/cjs/components/handoff.js.map +0 -1
- package/lib/cjs/components/image.d.ts +0 -9
- package/lib/cjs/components/image.js +0 -40
- package/lib/cjs/components/image.js.map +0 -1
- package/lib/cjs/components/index-types.d.ts +0 -83
- package/lib/cjs/components/index-types.js +0 -3
- package/lib/cjs/components/index-types.js.map +0 -1
- package/lib/cjs/components/index.d.ts +0 -33
- package/lib/cjs/components/index.js +0 -71
- package/lib/cjs/components/index.js.map +0 -1
- package/lib/cjs/components/location.js +0 -31
- package/lib/cjs/components/location.js.map +0 -1
- package/lib/cjs/components/markdown.js +0 -172
- package/lib/cjs/components/markdown.js.map +0 -1
- package/lib/cjs/components/message/index.js +0 -174
- package/lib/cjs/components/message/index.js.map +0 -1
- package/lib/cjs/components/message/message-footer.d.ts +0 -8
- package/lib/cjs/components/message/message-footer.js +0 -20
- package/lib/cjs/components/message/message-footer.js.map +0 -1
- package/lib/cjs/components/message/message-image.d.ts +0 -7
- package/lib/cjs/components/message/message-image.js +0 -26
- package/lib/cjs/components/message/message-image.js.map +0 -1
- package/lib/cjs/components/message/styles.js +0 -123
- package/lib/cjs/components/message/styles.js.map +0 -1
- package/lib/cjs/components/message/timestamps.d.ts +0 -13
- package/lib/cjs/components/message/timestamps.js +0 -45
- package/lib/cjs/components/message/timestamps.js.map +0 -1
- package/lib/cjs/components/message-template.js +0 -13
- package/lib/cjs/components/message-template.js.map +0 -1
- package/lib/cjs/components/multichannel/facebook/facebook.js +0 -48
- package/lib/cjs/components/multichannel/facebook/facebook.js.map +0 -1
- package/lib/cjs/components/multichannel/index-types.js +0 -3
- package/lib/cjs/components/multichannel/index-types.js.map +0 -1
- package/lib/cjs/components/multichannel/index.d.ts +0 -11
- package/lib/cjs/components/multichannel/index.js +0 -16
- package/lib/cjs/components/multichannel/index.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-button.d.ts +0 -4
- package/lib/cjs/components/multichannel/multichannel-button.js +0 -72
- package/lib/cjs/components/multichannel/multichannel-button.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-carousel.d.ts +0 -1
- package/lib/cjs/components/multichannel/multichannel-carousel.js +0 -80
- package/lib/cjs/components/multichannel/multichannel-carousel.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-context.js +0 -13
- package/lib/cjs/components/multichannel/multichannel-context.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-reply.d.ts +0 -4
- package/lib/cjs/components/multichannel/multichannel-reply.js +0 -27
- package/lib/cjs/components/multichannel/multichannel-reply.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-text.d.ts +0 -1
- package/lib/cjs/components/multichannel/multichannel-text.js +0 -184
- package/lib/cjs/components/multichannel/multichannel-text.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-utils.js +0 -89
- package/lib/cjs/components/multichannel/multichannel-utils.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel.js +0 -63
- package/lib/cjs/components/multichannel/multichannel.js.map +0 -1
- package/lib/cjs/components/multichannel/whatsapp/constants.js +0 -14
- package/lib/cjs/components/multichannel/whatsapp/constants.js.map +0 -1
- package/lib/cjs/components/multichannel/whatsapp/markdown-meta.js +0 -41
- package/lib/cjs/components/multichannel/whatsapp/markdown-meta.js.map +0 -1
- package/lib/cjs/components/pic.js +0 -32
- package/lib/cjs/components/pic.js.map +0 -1
- package/lib/cjs/components/raw.d.ts +0 -9
- package/lib/cjs/components/raw.js +0 -45
- package/lib/cjs/components/raw.js.map +0 -1
- package/lib/cjs/components/reply.d.ts +0 -11
- package/lib/cjs/components/reply.js +0 -66
- package/lib/cjs/components/reply.js.map +0 -1
- package/lib/cjs/components/share-button.js +0 -13
- package/lib/cjs/components/share-button.js.map +0 -1
- package/lib/cjs/components/subtitle.js +0 -25
- package/lib/cjs/components/subtitle.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/debug-message.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/debug-message.js +0 -82
- package/lib/cjs/components/system-debug-trace/debug-message.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +0 -4
- package/lib/cjs/components/system-debug-trace/events/ai-agent/ai-agent.js +0 -53
- package/lib/cjs/components/system-debug-trace/events/ai-agent/ai-agent.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/ai-agent/executed-tools.js +0 -21
- package/lib/cjs/components/system-debug-trace/events/ai-agent/executed-tools.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/index.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/events/ai-agent/index.js +0 -6
- package/lib/cjs/components/system-debug-trace/events/ai-agent/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/parse-tools.d.ts +0 -9
- package/lib/cjs/components/system-debug-trace/events/ai-agent/parse-tools.js +0 -32
- package/lib/cjs/components/system-debug-trace/events/ai-agent/parse-tools.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.d.ts +0 -6
- package/lib/cjs/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js +0 -55
- package/lib/cjs/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/types.d.ts +0 -23
- package/lib/cjs/components/system-debug-trace/events/ai-agent/types.js +0 -3
- package/lib/cjs/components/system-debug-trace/events/ai-agent/types.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.d.ts +0 -8
- package/lib/cjs/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js +0 -41
- package/lib/cjs/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +0 -4
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js +0 -23
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/index.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/index.js +0 -6
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/types.d.ts +0 -23
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/types.js +0 -3
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/types.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/bot-action.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/bot-action.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/bot-action.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/components/guardrail-item.js +0 -12
- package/lib/cjs/components/system-debug-trace/events/components/guardrail-item.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/components/index.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/events/components/index.js +0 -6
- package/lib/cjs/components/system-debug-trace/events/components/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/components/sources-section.d.ts +0 -11
- package/lib/cjs/components/system-debug-trace/events/components/sources-section.js +0 -27
- package/lib/cjs/components/system-debug-trace/events/components/sources-section.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-channel.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/conditional-channel.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/conditional-channel.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-country.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/conditional-country.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/conditional-country.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-custom.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/conditional-custom.js +0 -24
- package/lib/cjs/components/system-debug-trace/events/conditional-custom.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-queue-status.d.ts +0 -11
- package/lib/cjs/components/system-debug-trace/events/conditional-queue-status.js +0 -26
- package/lib/cjs/components/system-debug-trace/events/conditional-queue-status.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/constants.js +0 -37
- package/lib/cjs/components/system-debug-trace/events/constants.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/fallback.d.ts +0 -9
- package/lib/cjs/components/system-debug-trace/events/fallback.js +0 -19
- package/lib/cjs/components/system-debug-trace/events/fallback.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/handoff-success.d.ts +0 -11
- package/lib/cjs/components/system-debug-trace/events/handoff-success.js +0 -42
- package/lib/cjs/components/system-debug-trace/events/handoff-success.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/index.d.ts +0 -14
- package/lib/cjs/components/system-debug-trace/events/index.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/keyword.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/keyword.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/keyword.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/knowledge-bases-types.js +0 -3
- package/lib/cjs/components/system-debug-trace/events/knowledge-bases-types.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/redirect-flow.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/redirect-flow.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/redirect-flow.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/smart-intent.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/smart-intent.js +0 -17
- package/lib/cjs/components/system-debug-trace/events/smart-intent.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/webview-action-triggered.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/webview-action-triggered.js +0 -25
- package/lib/cjs/components/system-debug-trace/events/webview-action-triggered.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +0 -16
- package/lib/cjs/components/system-debug-trace/hooks/use-knowledge-base-info.js +0 -111
- package/lib/cjs/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/hooks/use-last-label-position.js +0 -81
- package/lib/cjs/components/system-debug-trace/hooks/use-last-label-position.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-router.d.ts +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-router.js +0 -14
- package/lib/cjs/components/system-debug-trace/icons/ai-router.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-specialist.d.ts +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-specialist.js +0 -15
- package/lib/cjs/components/system-debug-trace/icons/ai-specialist.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/arrow-progress.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/arrow-progress.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/arrow-progress.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/brain.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/brain.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/brain.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/caret-down.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/caret-down.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/caret-down.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/caret-up.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/caret-up.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/caret-up.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/circle-check.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/circle-check.js +0 -11
- package/lib/cjs/components/system-debug-trace/icons/circle-check.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/code.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/code.js +0 -11
- package/lib/cjs/components/system-debug-trace/icons/code.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/file-pdf.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/file-pdf.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/file-pdf.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/file-word.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/file-word.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/file-word.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/hand.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/hand.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/hand.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/head-set.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/head-set.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/head-set.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/index.d.ts +0 -16
- package/lib/cjs/components/system-debug-trace/icons/index.js +0 -20
- package/lib/cjs/components/system-debug-trace/icons/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/life-ring.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/life-ring.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/life-ring.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/link.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/link.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/link.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/quote-right.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/quote-right.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/quote-right.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/screwdriver-wrench.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/screwdriver-wrench.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/screwdriver-wrench.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/split.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/split.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/split.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/wand.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/wand.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/wand.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/window-restore.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/window-restore.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/window-restore.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/index.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/index.js +0 -28
- package/lib/cjs/components/system-debug-trace/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/styles.js +0 -286
- package/lib/cjs/components/system-debug-trace/styles.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/types.d.ts +0 -13
- package/lib/cjs/components/system-debug-trace/types.js +0 -3
- package/lib/cjs/components/system-debug-trace/types.js.map +0 -1
- package/lib/cjs/components/text.d.ts +0 -8
- package/lib/cjs/components/text.js +0 -52
- package/lib/cjs/components/text.js.map +0 -1
- package/lib/cjs/components/title.js +0 -23
- package/lib/cjs/components/title.js.map +0 -1
- package/lib/cjs/components/video.d.ts +0 -9
- package/lib/cjs/components/video.js +0 -31
- package/lib/cjs/components/video.js.map +0 -1
- package/lib/cjs/components/webchat-settings.d.ts +0 -19
- package/lib/cjs/components/webchat-settings.js +0 -79
- package/lib/cjs/components/webchat-settings.js.map +0 -1
- package/lib/cjs/components/whatsapp-button-list.js +0 -51
- package/lib/cjs/components/whatsapp-button-list.js.map +0 -1
- package/lib/cjs/components/whatsapp-catalog.js +0 -25
- package/lib/cjs/components/whatsapp-catalog.js.map +0 -1
- package/lib/cjs/components/whatsapp-cta-url-button.js +0 -61
- package/lib/cjs/components/whatsapp-cta-url-button.js.map +0 -1
- package/lib/cjs/components/whatsapp-interactive-media-carousel.d.ts +0 -31
- package/lib/cjs/components/whatsapp-interactive-media-carousel.js +0 -25
- package/lib/cjs/components/whatsapp-interactive-media-carousel.js.map +0 -1
- package/lib/cjs/components/whatsapp-media-carousel.js +0 -42
- package/lib/cjs/components/whatsapp-media-carousel.js.map +0 -1
- package/lib/cjs/components/whatsapp-product-carousel.js +0 -34
- package/lib/cjs/components/whatsapp-product-carousel.js.map +0 -1
- package/lib/cjs/components/whatsapp-product-list.js +0 -26
- package/lib/cjs/components/whatsapp-product-list.js.map +0 -1
- package/lib/cjs/components/whatsapp-product.js +0 -25
- package/lib/cjs/components/whatsapp-product.js.map +0 -1
- package/lib/cjs/components/whatsapp-request-contact-info.js +0 -30
- package/lib/cjs/components/whatsapp-request-contact-info.js.map +0 -1
- package/lib/cjs/components/whatsapp-template/index.d.ts +0 -11
- package/lib/cjs/components/whatsapp-template/index.js +0 -25
- package/lib/cjs/components/whatsapp-template/index.js.map +0 -1
- package/lib/cjs/components/whatsapp-template/types.js +0 -30
- package/lib/cjs/components/whatsapp-template/types.js.map +0 -1
- package/lib/cjs/constants.js +0 -189
- package/lib/cjs/constants.js.map +0 -1
- package/lib/cjs/contexts.d.ts +0 -17
- package/lib/cjs/contexts.js +0 -30
- package/lib/cjs/contexts.js.map +0 -1
- package/lib/cjs/debug-system-messages.d.ts +0 -177
- package/lib/cjs/debug-system-messages.js +0 -219
- package/lib/cjs/debug-system-messages.js.map +0 -1
- package/lib/cjs/dev-app.d.ts +0 -213
- package/lib/cjs/dev-app.js +0 -98
- package/lib/cjs/dev-app.js.map +0 -1
- package/lib/cjs/index-types.d.ts +0 -187
- package/lib/cjs/index-types.js +0 -16
- package/lib/cjs/index-types.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -12
- package/lib/cjs/index.js +0 -26
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/message-utils.js +0 -64
- package/lib/cjs/message-utils.js.map +0 -1
- package/lib/cjs/msg-to-botonic.js +0 -142
- package/lib/cjs/msg-to-botonic.js.map +0 -1
- package/lib/cjs/node-app.d.ts +0 -7
- package/lib/cjs/node-app.js +0 -23
- package/lib/cjs/node-app.js.map +0 -1
- package/lib/cjs/react-bot.d.ts +0 -18
- package/lib/cjs/react-bot.js +0 -36
- package/lib/cjs/react-bot.js.map +0 -1
- package/lib/cjs/shared/styles.js +0 -32
- package/lib/cjs/shared/styles.js.map +0 -1
- package/lib/cjs/util/dom.js +0 -31
- package/lib/cjs/util/dom.js.map +0 -1
- package/lib/cjs/util/environment.js +0 -85
- package/lib/cjs/util/environment.js.map +0 -1
- package/lib/cjs/util/error-boundary.d.ts +0 -7
- package/lib/cjs/util/error-boundary.js +0 -32
- package/lib/cjs/util/error-boundary.js.map +0 -1
- package/lib/cjs/util/functional.js +0 -29
- package/lib/cjs/util/functional.js.map +0 -1
- package/lib/cjs/util/i18n.js +0 -165
- package/lib/cjs/util/i18n.js.map +0 -1
- package/lib/cjs/util/index.d.ts +0 -10
- package/lib/cjs/util/index.js +0 -14
- package/lib/cjs/util/index.js.map +0 -1
- package/lib/cjs/util/logs.js +0 -20
- package/lib/cjs/util/logs.js.map +0 -1
- package/lib/cjs/util/objects.js +0 -45
- package/lib/cjs/util/objects.js.map +0 -1
- package/lib/cjs/util/react.js +0 -45
- package/lib/cjs/util/react.js.map +0 -1
- package/lib/cjs/util/regexs.js +0 -24
- package/lib/cjs/util/regexs.js.map +0 -1
- package/lib/cjs/util/strings.js +0 -11
- package/lib/cjs/util/strings.js.map +0 -1
- package/lib/cjs/util/webchat.d.ts +0 -24
- package/lib/cjs/util/webchat.js +0 -100
- package/lib/cjs/util/webchat.js.map +0 -1
- package/lib/cjs/util/webviews.d.ts +0 -2
- package/lib/cjs/util/webviews.js +0 -8
- package/lib/cjs/util/webviews.js.map +0 -1
- package/lib/cjs/webchat/chat-area/index.d.ts +0 -1
- package/lib/cjs/webchat/chat-area/index.js +0 -22
- package/lib/cjs/webchat/chat-area/index.js.map +0 -1
- package/lib/cjs/webchat/chat-area/styles.js +0 -13
- package/lib/cjs/webchat/chat-area/styles.js.map +0 -1
- package/lib/cjs/webchat/components/common.d.ts +0 -1
- package/lib/cjs/webchat/components/common.js +0 -13
- package/lib/cjs/webchat/components/common.js.map +0 -1
- package/lib/cjs/webchat/components/conditional-animation.d.ts +0 -1
- package/lib/cjs/webchat/components/conditional-animation.js +0 -16
- package/lib/cjs/webchat/components/conditional-animation.js.map +0 -1
- package/lib/cjs/webchat/components/opened-persistent-menu.d.ts +0 -6
- package/lib/cjs/webchat/components/opened-persistent-menu.js +0 -37
- package/lib/cjs/webchat/components/opened-persistent-menu.js.map +0 -1
- package/lib/cjs/webchat/constants.js +0 -13
- package/lib/cjs/webchat/constants.js.map +0 -1
- package/lib/cjs/webchat/context/actions.js +0 -36
- package/lib/cjs/webchat/context/actions.js.map +0 -1
- package/lib/cjs/webchat/context/index.d.ts +0 -4
- package/lib/cjs/webchat/context/index.js +0 -102
- package/lib/cjs/webchat/context/index.js.map +0 -1
- package/lib/cjs/webchat/context/messages-reducer.d.ts +0 -6
- package/lib/cjs/webchat/context/messages-reducer.js +0 -175
- package/lib/cjs/webchat/context/messages-reducer.js.map +0 -1
- package/lib/cjs/webchat/context/types.d.ts +0 -84
- package/lib/cjs/webchat/context/types.js +0 -3
- package/lib/cjs/webchat/context/types.js.map +0 -1
- package/lib/cjs/webchat/context/use-webchat.d.ts +0 -46
- package/lib/cjs/webchat/context/use-webchat.js +0 -195
- package/lib/cjs/webchat/context/use-webchat.js.map +0 -1
- package/lib/cjs/webchat/context/webchat-reducer.d.ts +0 -6
- package/lib/cjs/webchat/context/webchat-reducer.js +0 -57
- package/lib/cjs/webchat/context/webchat-reducer.js.map +0 -1
- package/lib/cjs/webchat/cover-component/index.d.ts +0 -6
- package/lib/cjs/webchat/cover-component/index.js +0 -21
- package/lib/cjs/webchat/cover-component/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/index.d.ts +0 -1
- package/lib/cjs/webchat/custom-messages/index.js +0 -7
- package/lib/cjs/webchat/custom-messages/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-angry.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-angry.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-angry.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-frown.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-frown.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-frown.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-grin-beam.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-grin-beam.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-meh.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-meh.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-meh.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-smile.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-smile.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-smile.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/index.d.ts +0 -6
- package/lib/cjs/webchat/custom-messages/rating/icons/index.js +0 -10
- package/lib/cjs/webchat/custom-messages/rating/icons/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/star.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/star.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/star.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/index.d.ts +0 -2
- package/lib/cjs/webchat/custom-messages/rating/index.js +0 -56
- package/lib/cjs/webchat/custom-messages/rating/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/rating-selector.d.ts +0 -11
- package/lib/cjs/webchat/custom-messages/rating/rating-selector.js +0 -26
- package/lib/cjs/webchat/custom-messages/rating/rating-selector.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/smileys.d.ts +0 -2
- package/lib/cjs/webchat/custom-messages/rating/smileys.js +0 -19
- package/lib/cjs/webchat/custom-messages/rating/smileys.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/stars.d.ts +0 -2
- package/lib/cjs/webchat/custom-messages/rating/stars.js +0 -11
- package/lib/cjs/webchat/custom-messages/rating/stars.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/styles.js +0 -25
- package/lib/cjs/webchat/custom-messages/rating/styles.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/types.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/types.js.map +0 -1
- package/lib/cjs/webchat/devices/index.js +0 -23
- package/lib/cjs/webchat/devices/index.js.map +0 -1
- package/lib/cjs/webchat/header/default-header.d.ts +0 -1
- package/lib/cjs/webchat/header/default-header.js +0 -25
- package/lib/cjs/webchat/header/default-header.js.map +0 -1
- package/lib/cjs/webchat/header/index.js +0 -23
- package/lib/cjs/webchat/header/index.js.map +0 -1
- package/lib/cjs/webchat/header/styles.js +0 -63
- package/lib/cjs/webchat/header/styles.js.map +0 -1
- package/lib/cjs/webchat/hooks/index.d.ts +0 -10
- package/lib/cjs/webchat/hooks/index.js +0 -24
- package/lib/cjs/webchat/hooks/index.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-component-visible.js +0 -23
- package/lib/cjs/webchat/hooks/use-component-visible.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-component-will-mount.js +0 -9
- package/lib/cjs/webchat/hooks/use-component-will-mount.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-device-adapter.js +0 -49
- package/lib/cjs/webchat/hooks/use-device-adapter.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-previous.js +0 -12
- package/lib/cjs/webchat/hooks/use-previous.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-scroll-to-bottom.js +0 -25
- package/lib/cjs/webchat/hooks/use-scroll-to-bottom.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-scrollbar-controller.js +0 -143
- package/lib/cjs/webchat/hooks/use-scrollbar-controller.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-typing.d.ts +0 -10
- package/lib/cjs/webchat/hooks/use-typing.js +0 -36
- package/lib/cjs/webchat/hooks/use-typing.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-virtual-keyboard-detection.js +0 -26
- package/lib/cjs/webchat/hooks/use-virtual-keyboard-detection.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-webchat-dimensions.js +0 -41
- package/lib/cjs/webchat/hooks/use-webchat-dimensions.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-webchat-resizer.js +0 -34
- package/lib/cjs/webchat/hooks/use-webchat-resizer.js.map +0 -1
- package/lib/cjs/webchat/index-types.d.ts +0 -7
- package/lib/cjs/webchat/index-types.js +0 -3
- package/lib/cjs/webchat/index-types.js.map +0 -1
- package/lib/cjs/webchat/index.d.ts +0 -6
- package/lib/cjs/webchat/index.js +0 -20
- package/lib/cjs/webchat/index.js.map +0 -1
- package/lib/cjs/webchat/input-panel/attachment.d.ts +0 -6
- package/lib/cjs/webchat/input-panel/attachment.js +0 -30
- package/lib/cjs/webchat/input-panel/attachment.js.map +0 -1
- package/lib/cjs/webchat/input-panel/emoji-picker.d.ts +0 -5
- package/lib/cjs/webchat/input-panel/emoji-picker.js +0 -29
- package/lib/cjs/webchat/input-panel/emoji-picker.js.map +0 -1
- package/lib/cjs/webchat/input-panel/index.d.ts +0 -9
- package/lib/cjs/webchat/input-panel/index.js +0 -51
- package/lib/cjs/webchat/input-panel/index.js.map +0 -1
- package/lib/cjs/webchat/input-panel/opened-emoji-picker.d.ts +0 -6
- package/lib/cjs/webchat/input-panel/opened-emoji-picker.js +0 -15
- package/lib/cjs/webchat/input-panel/opened-emoji-picker.js.map +0 -1
- package/lib/cjs/webchat/input-panel/persistent-menu.d.ts +0 -5
- package/lib/cjs/webchat/input-panel/persistent-menu.js +0 -21
- package/lib/cjs/webchat/input-panel/persistent-menu.js.map +0 -1
- package/lib/cjs/webchat/input-panel/send-button.d.ts +0 -5
- package/lib/cjs/webchat/input-panel/send-button.js +0 -25
- package/lib/cjs/webchat/input-panel/send-button.js.map +0 -1
- package/lib/cjs/webchat/input-panel/styles.js +0 -31
- package/lib/cjs/webchat/input-panel/styles.js.map +0 -1
- package/lib/cjs/webchat/input-panel/textarea.d.ts +0 -10
- package/lib/cjs/webchat/input-panel/textarea.js +0 -52
- package/lib/cjs/webchat/input-panel/textarea.js.map +0 -1
- package/lib/cjs/webchat/input-panel/typing-network-sender.d.ts +0 -52
- package/lib/cjs/webchat/input-panel/typing-network-sender.js +0 -122
- package/lib/cjs/webchat/input-panel/typing-network-sender.js.map +0 -1
- package/lib/cjs/webchat/input-panel/use-typing-chat-event-sender.d.ts +0 -16
- package/lib/cjs/webchat/input-panel/use-typing-chat-event-sender.js +0 -45
- package/lib/cjs/webchat/input-panel/use-typing-chat-event-sender.js.map +0 -1
- package/lib/cjs/webchat/input-panel/use-typing-session.d.ts +0 -15
- package/lib/cjs/webchat/input-panel/use-typing-session.js +0 -98
- package/lib/cjs/webchat/input-panel/use-typing-session.js.map +0 -1
- package/lib/cjs/webchat/message-list/index.d.ts +0 -1
- package/lib/cjs/webchat/message-list/index.js +0 -116
- package/lib/cjs/webchat/message-list/index.js.map +0 -1
- package/lib/cjs/webchat/message-list/intro-message.d.ts +0 -1
- package/lib/cjs/webchat/message-list/intro-message.js +0 -24
- package/lib/cjs/webchat/message-list/intro-message.js.map +0 -1
- package/lib/cjs/webchat/message-list/scroll-button.js +0 -18
- package/lib/cjs/webchat/message-list/scroll-button.js.map +0 -1
- package/lib/cjs/webchat/message-list/styles.js +0 -61
- package/lib/cjs/webchat/message-list/styles.js.map +0 -1
- package/lib/cjs/webchat/message-list/unread-messages-banner.js +0 -18
- package/lib/cjs/webchat/message-list/unread-messages-banner.js.map +0 -1
- package/lib/cjs/webchat/message-list/use-debounce.js +0 -17
- package/lib/cjs/webchat/message-list/use-debounce.js.map +0 -1
- package/lib/cjs/webchat/message-list/use-notifications.js +0 -23
- package/lib/cjs/webchat/message-list/use-notifications.js.map +0 -1
- package/lib/cjs/webchat/replies/index.d.ts +0 -1
- package/lib/cjs/webchat/replies/index.js +0 -31
- package/lib/cjs/webchat/replies/index.js.map +0 -1
- package/lib/cjs/webchat/replies/styles.js +0 -25
- package/lib/cjs/webchat/replies/styles.js.map +0 -1
- package/lib/cjs/webchat/session-view.d.ts +0 -1
- package/lib/cjs/webchat/session-view.js +0 -103
- package/lib/cjs/webchat/session-view.js.map +0 -1
- package/lib/cjs/webchat/styles.js +0 -65
- package/lib/cjs/webchat/styles.js.map +0 -1
- package/lib/cjs/webchat/theme/default-theme.d.ts +0 -2
- package/lib/cjs/webchat/theme/default-theme.js +0 -104
- package/lib/cjs/webchat/theme/default-theme.js.map +0 -1
- package/lib/cjs/webchat/theme/types.d.ts +0 -213
- package/lib/cjs/webchat/theme/types.js +0 -3
- package/lib/cjs/webchat/theme/types.js.map +0 -1
- package/lib/cjs/webchat/tracking.js +0 -39
- package/lib/cjs/webchat/tracking.js.map +0 -1
- package/lib/cjs/webchat/trigger-button/index.js +0 -34
- package/lib/cjs/webchat/trigger-button/index.js.map +0 -1
- package/lib/cjs/webchat/trigger-button/styles.js +0 -40
- package/lib/cjs/webchat/trigger-button/styles.js.map +0 -1
- package/lib/cjs/webchat/typing-indicator/index.js +0 -10
- package/lib/cjs/webchat/typing-indicator/index.js.map +0 -1
- package/lib/cjs/webchat/typing-indicator/styles.js +0 -50
- package/lib/cjs/webchat/typing-indicator/styles.js.map +0 -1
- package/lib/cjs/webchat/use-storage-state-hook.js +0 -40
- package/lib/cjs/webchat/use-storage-state-hook.js.map +0 -1
- package/lib/cjs/webchat/utils.js +0 -13
- package/lib/cjs/webchat/utils.js.map +0 -1
- package/lib/cjs/webchat/webchat-dev.js +0 -56
- package/lib/cjs/webchat/webchat-dev.js.map +0 -1
- package/lib/cjs/webchat/webchat.d.ts +0 -3
- package/lib/cjs/webchat/webchat.js +0 -560
- package/lib/cjs/webchat/webchat.js.map +0 -1
- package/lib/cjs/webchat/webview/header.d.ts +0 -1
- package/lib/cjs/webchat/webview/header.js +0 -18
- package/lib/cjs/webchat/webview/header.js.map +0 -1
- package/lib/cjs/webchat/webview/index.d.ts +0 -6
- package/lib/cjs/webchat/webview/index.js +0 -82
- package/lib/cjs/webchat/webview/index.js.map +0 -1
- package/lib/cjs/webchat/webview/styles.js +0 -60
- package/lib/cjs/webchat/webview/styles.js.map +0 -1
- package/lib/cjs/webchat-app.d.ts +0 -114
- package/lib/cjs/webchat-app.js +0 -407
- package/lib/cjs/webchat-app.js.map +0 -1
- package/lib/cjs/webview-app.js +0 -192
- package/lib/cjs/webview-app.js.map +0 -1
- package/lib/esm/app.d.ts +0 -2
- package/lib/esm/app.js +0 -10
- package/lib/esm/app.js.map +0 -1
- package/lib/esm/assets/arrow-down.svg +0 -3
- package/lib/esm/assets/arrow-scroll-down.svg +0 -3
- package/lib/esm/assets/attachment-icon.svg +0 -7
- package/lib/esm/assets/audio.svg +0 -4
- package/lib/esm/assets/botonic_react_logo100x100.png +0 -0
- package/lib/esm/assets/document.svg +0 -3
- package/lib/esm/assets/emojiButton.svg +0 -6
- package/lib/esm/assets/image.svg +0 -4
- package/lib/esm/assets/leftArrow.svg +0 -3
- package/lib/esm/assets/menuButton.svg +0 -3
- package/lib/esm/assets/rightArrow.svg +0 -3
- package/lib/esm/assets/send-button.svg +0 -1
- package/lib/esm/assets/thumbs-down.svg +0 -3
- package/lib/esm/assets/thumbs-up.svg +0 -3
- package/lib/esm/assets/url-icon.png +0 -0
- package/lib/esm/assets/video.svg +0 -3
- package/lib/esm/botonic-tester.d.ts +0 -30
- package/lib/esm/botonic-tester.js +0 -76
- package/lib/esm/botonic-tester.js.map +0 -1
- package/lib/esm/components/audio.d.ts +0 -9
- package/lib/esm/components/audio.js +0 -27
- package/lib/esm/components/audio.js.map +0 -1
- package/lib/esm/components/button/index.d.ts +0 -17
- package/lib/esm/components/button/index.js +0 -139
- package/lib/esm/components/button/index.js.map +0 -1
- package/lib/esm/components/button/styles.d.ts +0 -2
- package/lib/esm/components/button/styles.js +0 -40
- package/lib/esm/components/button/styles.js.map +0 -1
- package/lib/esm/components/buttons-disabler.d.ts +0 -21
- package/lib/esm/components/buttons-disabler.js +0 -94
- package/lib/esm/components/buttons-disabler.js.map +0 -1
- package/lib/esm/components/carousel.d.ts +0 -10
- package/lib/esm/components/carousel.js +0 -119
- package/lib/esm/components/carousel.js.map +0 -1
- package/lib/esm/components/components.d.ts +0 -12
- package/lib/esm/components/components.js +0 -21
- package/lib/esm/components/components.js.map +0 -1
- package/lib/esm/components/constants.d.ts +0 -11
- package/lib/esm/components/constants.js +0 -15
- package/lib/esm/components/constants.js.map +0 -1
- package/lib/esm/components/custom-message.d.ts +0 -16
- package/lib/esm/components/custom-message.js +0 -60
- package/lib/esm/components/custom-message.js.map +0 -1
- package/lib/esm/components/document.d.ts +0 -9
- package/lib/esm/components/document.js +0 -50
- package/lib/esm/components/document.js.map +0 -1
- package/lib/esm/components/element.d.ts +0 -8
- package/lib/esm/components/element.js +0 -56
- package/lib/esm/components/element.js.map +0 -1
- package/lib/esm/components/handoff.d.ts +0 -1
- package/lib/esm/components/handoff.js +0 -54
- package/lib/esm/components/handoff.js.map +0 -1
- package/lib/esm/components/image.d.ts +0 -9
- package/lib/esm/components/image.js +0 -40
- package/lib/esm/components/image.js.map +0 -1
- package/lib/esm/components/index-types.d.ts +0 -83
- package/lib/esm/components/index-types.js +0 -3
- package/lib/esm/components/index-types.js.map +0 -1
- package/lib/esm/components/index.d.ts +0 -33
- package/lib/esm/components/index.js +0 -71
- package/lib/esm/components/index.js.map +0 -1
- package/lib/esm/components/location.d.ts +0 -11
- package/lib/esm/components/location.js +0 -31
- package/lib/esm/components/location.js.map +0 -1
- package/lib/esm/components/markdown.d.ts +0 -7
- package/lib/esm/components/markdown.js +0 -172
- package/lib/esm/components/markdown.js.map +0 -1
- package/lib/esm/components/message/index.d.ts +0 -1
- package/lib/esm/components/message/index.js +0 -174
- package/lib/esm/components/message/index.js.map +0 -1
- package/lib/esm/components/message/message-footer.d.ts +0 -8
- package/lib/esm/components/message/message-footer.js +0 -20
- package/lib/esm/components/message/message-footer.js.map +0 -1
- package/lib/esm/components/message/message-image.d.ts +0 -7
- package/lib/esm/components/message/message-image.js +0 -26
- package/lib/esm/components/message/message-image.js.map +0 -1
- package/lib/esm/components/message/styles.d.ts +0 -35
- package/lib/esm/components/message/styles.js +0 -123
- package/lib/esm/components/message/styles.js.map +0 -1
- package/lib/esm/components/message/timestamps.d.ts +0 -13
- package/lib/esm/components/message/timestamps.js +0 -45
- package/lib/esm/components/message/timestamps.js.map +0 -1
- package/lib/esm/components/message-template.d.ts +0 -1
- package/lib/esm/components/message-template.js +0 -13
- package/lib/esm/components/message-template.js.map +0 -1
- package/lib/esm/components/multichannel/facebook/facebook.d.ts +0 -17
- package/lib/esm/components/multichannel/facebook/facebook.js +0 -48
- package/lib/esm/components/multichannel/facebook/facebook.js.map +0 -1
- package/lib/esm/components/multichannel/index-types.d.ts +0 -42
- package/lib/esm/components/multichannel/index-types.js +0 -3
- package/lib/esm/components/multichannel/index-types.js.map +0 -1
- package/lib/esm/components/multichannel/index.d.ts +0 -11
- package/lib/esm/components/multichannel/index.js +0 -16
- package/lib/esm/components/multichannel/index.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel-button.d.ts +0 -4
- package/lib/esm/components/multichannel/multichannel-button.js +0 -72
- package/lib/esm/components/multichannel/multichannel-button.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel-carousel.d.ts +0 -1
- package/lib/esm/components/multichannel/multichannel-carousel.js +0 -80
- package/lib/esm/components/multichannel/multichannel-carousel.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel-context.d.ts +0 -8
- package/lib/esm/components/multichannel/multichannel-context.js +0 -13
- package/lib/esm/components/multichannel/multichannel-context.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel-reply.d.ts +0 -4
- package/lib/esm/components/multichannel/multichannel-reply.js +0 -27
- package/lib/esm/components/multichannel/multichannel-reply.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel-text.d.ts +0 -1
- package/lib/esm/components/multichannel/multichannel-text.js +0 -184
- package/lib/esm/components/multichannel/multichannel-text.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel-utils.d.ts +0 -36
- package/lib/esm/components/multichannel/multichannel-utils.js +0 -89
- package/lib/esm/components/multichannel/multichannel-utils.js.map +0 -1
- package/lib/esm/components/multichannel/multichannel.d.ts +0 -1
- package/lib/esm/components/multichannel/multichannel.js +0 -63
- package/lib/esm/components/multichannel/multichannel.js.map +0 -1
- package/lib/esm/components/multichannel/whatsapp/constants.d.ts +0 -12
- package/lib/esm/components/multichannel/whatsapp/constants.js +0 -14
- package/lib/esm/components/multichannel/whatsapp/constants.js.map +0 -1
- package/lib/esm/components/multichannel/whatsapp/markdown-meta.d.ts +0 -1
- package/lib/esm/components/multichannel/whatsapp/markdown-meta.js +0 -41
- package/lib/esm/components/multichannel/whatsapp/markdown-meta.js.map +0 -1
- package/lib/esm/components/pic.d.ts +0 -10
- package/lib/esm/components/pic.js +0 -32
- package/lib/esm/components/pic.js.map +0 -1
- package/lib/esm/components/raw.d.ts +0 -9
- package/lib/esm/components/raw.js +0 -45
- package/lib/esm/components/raw.js.map +0 -1
- package/lib/esm/components/reply.d.ts +0 -11
- package/lib/esm/components/reply.js +0 -66
- package/lib/esm/components/reply.js.map +0 -1
- package/lib/esm/components/share-button.d.ts +0 -1
- package/lib/esm/components/share-button.js +0 -13
- package/lib/esm/components/share-button.js.map +0 -1
- package/lib/esm/components/subtitle.d.ts +0 -11
- package/lib/esm/components/subtitle.js +0 -25
- package/lib/esm/components/subtitle.js.map +0 -1
- package/lib/esm/components/system-debug-trace/debug-message.d.ts +0 -7
- package/lib/esm/components/system-debug-trace/debug-message.js +0 -82
- package/lib/esm/components/system-debug-trace/debug-message.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +0 -4
- package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.js +0 -53
- package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +0 -7
- package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.js +0 -21
- package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/index.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent/index.js +0 -6
- package/lib/esm/components/system-debug-trace/events/ai-agent/index.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.d.ts +0 -9
- package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.js +0 -32
- package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.d.ts +0 -6
- package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js +0 -55
- package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/types.d.ts +0 -23
- package/lib/esm/components/system-debug-trace/events/ai-agent/types.js +0 -3
- package/lib/esm/components/system-debug-trace/events/ai-agent/types.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.d.ts +0 -8
- package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js +0 -41
- package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +0 -4
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js +0 -23
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.js +0 -6
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.d.ts +0 -23
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.js +0 -3
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/bot-action.d.ts +0 -7
- package/lib/esm/components/system-debug-trace/events/bot-action.js +0 -18
- package/lib/esm/components/system-debug-trace/events/bot-action.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/components/guardrail-item.d.ts +0 -14
- package/lib/esm/components/system-debug-trace/events/components/guardrail-item.js +0 -12
- package/lib/esm/components/system-debug-trace/events/components/guardrail-item.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/components/index.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/events/components/index.js +0 -6
- package/lib/esm/components/system-debug-trace/events/components/index.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/components/sources-section.d.ts +0 -11
- package/lib/esm/components/system-debug-trace/events/components/sources-section.js +0 -27
- package/lib/esm/components/system-debug-trace/events/components/sources-section.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/conditional-channel.d.ts +0 -7
- package/lib/esm/components/system-debug-trace/events/conditional-channel.js +0 -18
- package/lib/esm/components/system-debug-trace/events/conditional-channel.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/conditional-country.d.ts +0 -7
- package/lib/esm/components/system-debug-trace/events/conditional-country.js +0 -18
- package/lib/esm/components/system-debug-trace/events/conditional-country.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/conditional-custom.d.ts +0 -10
- package/lib/esm/components/system-debug-trace/events/conditional-custom.js +0 -24
- package/lib/esm/components/system-debug-trace/events/conditional-custom.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/conditional-queue-status.d.ts +0 -11
- package/lib/esm/components/system-debug-trace/events/conditional-queue-status.js +0 -26
- package/lib/esm/components/system-debug-trace/events/conditional-queue-status.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/constants.d.ts +0 -33
- package/lib/esm/components/system-debug-trace/events/constants.js +0 -37
- package/lib/esm/components/system-debug-trace/events/constants.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/fallback.d.ts +0 -9
- package/lib/esm/components/system-debug-trace/events/fallback.js +0 -19
- package/lib/esm/components/system-debug-trace/events/fallback.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/handoff-success.d.ts +0 -11
- package/lib/esm/components/system-debug-trace/events/handoff-success.js +0 -42
- package/lib/esm/components/system-debug-trace/events/handoff-success.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/index.d.ts +0 -14
- package/lib/esm/components/system-debug-trace/events/index.js +0 -18
- package/lib/esm/components/system-debug-trace/events/index.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/keyword.d.ts +0 -10
- package/lib/esm/components/system-debug-trace/events/keyword.js +0 -18
- package/lib/esm/components/system-debug-trace/events/keyword.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/knowledge-bases-types.d.ts +0 -31
- package/lib/esm/components/system-debug-trace/events/knowledge-bases-types.js +0 -3
- package/lib/esm/components/system-debug-trace/events/knowledge-bases-types.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/redirect-flow.d.ts +0 -10
- package/lib/esm/components/system-debug-trace/events/redirect-flow.js +0 -18
- package/lib/esm/components/system-debug-trace/events/redirect-flow.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/smart-intent.d.ts +0 -7
- package/lib/esm/components/system-debug-trace/events/smart-intent.js +0 -17
- package/lib/esm/components/system-debug-trace/events/smart-intent.js.map +0 -1
- package/lib/esm/components/system-debug-trace/events/webview-action-triggered.d.ts +0 -10
- package/lib/esm/components/system-debug-trace/events/webview-action-triggered.js +0 -25
- package/lib/esm/components/system-debug-trace/events/webview-action-triggered.js.map +0 -1
- package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +0 -16
- package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.js +0 -111
- package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +0 -1
- package/lib/esm/components/system-debug-trace/hooks/use-last-label-position.d.ts +0 -9
- package/lib/esm/components/system-debug-trace/hooks/use-last-label-position.js +0 -81
- package/lib/esm/components/system-debug-trace/hooks/use-last-label-position.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/ai-router.d.ts +0 -1
- package/lib/esm/components/system-debug-trace/icons/ai-router.js +0 -14
- package/lib/esm/components/system-debug-trace/icons/ai-router.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/ai-specialist.d.ts +0 -1
- package/lib/esm/components/system-debug-trace/icons/ai-specialist.js +0 -15
- package/lib/esm/components/system-debug-trace/icons/ai-specialist.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/arrow-progress.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/arrow-progress.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/arrow-progress.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/brain.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/brain.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/brain.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/caret-down.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/caret-down.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/caret-down.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/caret-up.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/caret-up.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/caret-up.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/circle-check.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/circle-check.js +0 -11
- package/lib/esm/components/system-debug-trace/icons/circle-check.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/code.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/code.js +0 -11
- package/lib/esm/components/system-debug-trace/icons/code.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/file-pdf.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/file-pdf.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/file-pdf.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/file-word.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/file-word.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/file-word.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/hand.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/hand.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/hand.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/head-set.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/head-set.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/head-set.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/index.d.ts +0 -16
- package/lib/esm/components/system-debug-trace/icons/index.js +0 -20
- package/lib/esm/components/system-debug-trace/icons/index.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/life-ring.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/life-ring.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/life-ring.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/link.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/link.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/link.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/quote-right.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/quote-right.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/quote-right.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/split.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/split.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/split.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/wand.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/wand.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/wand.js.map +0 -1
- package/lib/esm/components/system-debug-trace/icons/window-restore.d.ts +0 -2
- package/lib/esm/components/system-debug-trace/icons/window-restore.js +0 -12
- package/lib/esm/components/system-debug-trace/icons/window-restore.js.map +0 -1
- package/lib/esm/components/system-debug-trace/index.d.ts +0 -10
- package/lib/esm/components/system-debug-trace/index.js +0 -28
- package/lib/esm/components/system-debug-trace/index.js.map +0 -1
- package/lib/esm/components/system-debug-trace/styles.d.ts +0 -23
- package/lib/esm/components/system-debug-trace/styles.js +0 -286
- package/lib/esm/components/system-debug-trace/styles.js.map +0 -1
- package/lib/esm/components/system-debug-trace/types.d.ts +0 -13
- package/lib/esm/components/system-debug-trace/types.js +0 -3
- package/lib/esm/components/system-debug-trace/types.js.map +0 -1
- package/lib/esm/components/text.d.ts +0 -8
- package/lib/esm/components/text.js +0 -52
- package/lib/esm/components/text.js.map +0 -1
- package/lib/esm/components/title.d.ts +0 -11
- package/lib/esm/components/title.js +0 -23
- package/lib/esm/components/title.js.map +0 -1
- package/lib/esm/components/video.d.ts +0 -9
- package/lib/esm/components/video.js +0 -31
- package/lib/esm/components/video.js.map +0 -1
- package/lib/esm/components/webchat-settings.d.ts +0 -19
- package/lib/esm/components/webchat-settings.js +0 -79
- package/lib/esm/components/webchat-settings.js.map +0 -1
- package/lib/esm/components/whatsapp-button-list.d.ts +0 -20
- package/lib/esm/components/whatsapp-button-list.js +0 -51
- package/lib/esm/components/whatsapp-button-list.js.map +0 -1
- package/lib/esm/components/whatsapp-catalog.d.ts +0 -6
- package/lib/esm/components/whatsapp-catalog.js +0 -25
- package/lib/esm/components/whatsapp-catalog.js.map +0 -1
- package/lib/esm/components/whatsapp-cta-url-button.d.ts +0 -40
- package/lib/esm/components/whatsapp-cta-url-button.js +0 -61
- package/lib/esm/components/whatsapp-cta-url-button.js.map +0 -1
- package/lib/esm/components/whatsapp-interactive-media-carousel.d.ts +0 -31
- package/lib/esm/components/whatsapp-interactive-media-carousel.js +0 -25
- package/lib/esm/components/whatsapp-interactive-media-carousel.js.map +0 -1
- package/lib/esm/components/whatsapp-media-carousel.d.ts +0 -46
- package/lib/esm/components/whatsapp-media-carousel.js +0 -42
- package/lib/esm/components/whatsapp-media-carousel.js.map +0 -1
- package/lib/esm/components/whatsapp-product-carousel.d.ts +0 -32
- package/lib/esm/components/whatsapp-product-carousel.js +0 -34
- package/lib/esm/components/whatsapp-product-carousel.js.map +0 -1
- package/lib/esm/components/whatsapp-product-list.d.ts +0 -15
- package/lib/esm/components/whatsapp-product-list.js +0 -26
- package/lib/esm/components/whatsapp-product-list.js.map +0 -1
- package/lib/esm/components/whatsapp-product.d.ts +0 -7
- package/lib/esm/components/whatsapp-product.js +0 -25
- package/lib/esm/components/whatsapp-product.js.map +0 -1
- package/lib/esm/components/whatsapp-request-contact-info.d.ts +0 -4
- package/lib/esm/components/whatsapp-request-contact-info.js +0 -30
- package/lib/esm/components/whatsapp-request-contact-info.js.map +0 -1
- package/lib/esm/components/whatsapp-template/index.d.ts +0 -11
- package/lib/esm/components/whatsapp-template/index.js +0 -25
- package/lib/esm/components/whatsapp-template/index.js.map +0 -1
- package/lib/esm/components/whatsapp-template/types.d.ts +0 -114
- package/lib/esm/components/whatsapp-template/types.js +0 -30
- package/lib/esm/components/whatsapp-template/types.js.map +0 -1
- package/lib/esm/constants.d.ts +0 -163
- package/lib/esm/constants.js +0 -189
- package/lib/esm/constants.js.map +0 -1
- package/lib/esm/contexts.d.ts +0 -17
- package/lib/esm/contexts.js +0 -30
- package/lib/esm/contexts.js.map +0 -1
- package/lib/esm/debug-system-messages.d.ts +0 -177
- package/lib/esm/debug-system-messages.js +0 -219
- package/lib/esm/debug-system-messages.js.map +0 -1
- package/lib/esm/dev-app.d.ts +0 -213
- package/lib/esm/dev-app.js +0 -98
- package/lib/esm/dev-app.js.map +0 -1
- package/lib/esm/index-types.d.ts +0 -187
- package/lib/esm/index-types.js +0 -16
- package/lib/esm/index-types.js.map +0 -1
- package/lib/esm/index.d.ts +0 -12
- package/lib/esm/index.js +0 -26
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/message-utils.d.ts +0 -20
- package/lib/esm/message-utils.js +0 -64
- package/lib/esm/message-utils.js.map +0 -1
- package/lib/esm/msg-to-botonic.d.ts +0 -17
- package/lib/esm/msg-to-botonic.js +0 -142
- package/lib/esm/msg-to-botonic.js.map +0 -1
- package/lib/esm/node-app.d.ts +0 -7
- package/lib/esm/node-app.js +0 -23
- package/lib/esm/node-app.js.map +0 -1
- package/lib/esm/react-bot.d.ts +0 -18
- package/lib/esm/react-bot.js +0 -36
- package/lib/esm/react-bot.js.map +0 -1
- package/lib/esm/shared/styles.d.ts +0 -2
- package/lib/esm/shared/styles.js +0 -32
- package/lib/esm/shared/styles.js.map +0 -1
- package/lib/esm/util/dom.d.ts +0 -4
- package/lib/esm/util/dom.js +0 -31
- package/lib/esm/util/dom.js.map +0 -1
- package/lib/esm/util/environment.d.ts +0 -7
- package/lib/esm/util/environment.js +0 -85
- package/lib/esm/util/environment.js.map +0 -1
- package/lib/esm/util/error-boundary.d.ts +0 -7
- package/lib/esm/util/error-boundary.js +0 -32
- package/lib/esm/util/error-boundary.js.map +0 -1
- package/lib/esm/util/functional.d.ts +0 -3
- package/lib/esm/util/functional.js +0 -29
- package/lib/esm/util/functional.js.map +0 -1
- package/lib/esm/util/i18n.d.ts +0 -26
- package/lib/esm/util/i18n.js +0 -165
- package/lib/esm/util/i18n.js.map +0 -1
- package/lib/esm/util/index.d.ts +0 -10
- package/lib/esm/util/index.js +0 -14
- package/lib/esm/util/index.js.map +0 -1
- package/lib/esm/util/logs.d.ts +0 -2
- package/lib/esm/util/logs.js +0 -20
- package/lib/esm/util/logs.js.map +0 -1
- package/lib/esm/util/objects.d.ts +0 -3
- package/lib/esm/util/objects.js +0 -45
- package/lib/esm/util/objects.js.map +0 -1
- package/lib/esm/util/react.d.ts +0 -12
- package/lib/esm/util/react.js +0 -45
- package/lib/esm/util/react.js.map +0 -1
- package/lib/esm/util/regexs.d.ts +0 -2
- package/lib/esm/util/regexs.js +0 -24
- package/lib/esm/util/regexs.js.map +0 -1
- package/lib/esm/util/strings.d.ts +0 -1
- package/lib/esm/util/strings.js +0 -11
- package/lib/esm/util/strings.js.map +0 -1
- package/lib/esm/util/webchat.d.ts +0 -24
- package/lib/esm/util/webchat.js +0 -100
- package/lib/esm/util/webchat.js.map +0 -1
- package/lib/esm/util/webviews.d.ts +0 -2
- package/lib/esm/util/webviews.js +0 -8
- package/lib/esm/util/webviews.js.map +0 -1
- package/lib/esm/webchat/chat-area/index.d.ts +0 -1
- package/lib/esm/webchat/chat-area/index.js +0 -22
- package/lib/esm/webchat/chat-area/index.js.map +0 -1
- package/lib/esm/webchat/chat-area/styles.d.ts +0 -3
- package/lib/esm/webchat/chat-area/styles.js +0 -13
- package/lib/esm/webchat/chat-area/styles.js.map +0 -1
- package/lib/esm/webchat/components/common.d.ts +0 -1
- package/lib/esm/webchat/components/common.js +0 -13
- package/lib/esm/webchat/components/common.js.map +0 -1
- package/lib/esm/webchat/components/conditional-animation.d.ts +0 -1
- package/lib/esm/webchat/components/conditional-animation.js +0 -16
- package/lib/esm/webchat/components/conditional-animation.js.map +0 -1
- package/lib/esm/webchat/components/opened-persistent-menu.d.ts +0 -6
- package/lib/esm/webchat/components/opened-persistent-menu.js +0 -37
- package/lib/esm/webchat/components/opened-persistent-menu.js.map +0 -1
- package/lib/esm/webchat/constants.d.ts +0 -8
- package/lib/esm/webchat/constants.js +0 -13
- package/lib/esm/webchat/constants.js.map +0 -1
- package/lib/esm/webchat/context/actions.d.ts +0 -30
- package/lib/esm/webchat/context/actions.js +0 -36
- package/lib/esm/webchat/context/actions.js.map +0 -1
- package/lib/esm/webchat/context/index.d.ts +0 -4
- package/lib/esm/webchat/context/index.js +0 -102
- package/lib/esm/webchat/context/index.js.map +0 -1
- package/lib/esm/webchat/context/messages-reducer.d.ts +0 -6
- package/lib/esm/webchat/context/messages-reducer.js +0 -175
- package/lib/esm/webchat/context/messages-reducer.js.map +0 -1
- package/lib/esm/webchat/context/types.d.ts +0 -84
- package/lib/esm/webchat/context/types.js +0 -3
- package/lib/esm/webchat/context/types.js.map +0 -1
- package/lib/esm/webchat/context/use-webchat.d.ts +0 -46
- package/lib/esm/webchat/context/use-webchat.js +0 -195
- package/lib/esm/webchat/context/use-webchat.js.map +0 -1
- package/lib/esm/webchat/context/webchat-reducer.d.ts +0 -6
- package/lib/esm/webchat/context/webchat-reducer.js +0 -57
- package/lib/esm/webchat/context/webchat-reducer.js.map +0 -1
- package/lib/esm/webchat/cover-component/index.d.ts +0 -6
- package/lib/esm/webchat/cover-component/index.js +0 -21
- package/lib/esm/webchat/cover-component/index.js.map +0 -1
- package/lib/esm/webchat/custom-messages/index.d.ts +0 -1
- package/lib/esm/webchat/custom-messages/index.js +0 -7
- package/lib/esm/webchat/custom-messages/index.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-angry.d.ts +0 -3
- package/lib/esm/webchat/custom-messages/rating/icons/face-angry.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/icons/face-angry.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-frown.d.ts +0 -3
- package/lib/esm/webchat/custom-messages/rating/icons/face-frown.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/icons/face-frown.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +0 -3
- package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-meh.d.ts +0 -3
- package/lib/esm/webchat/custom-messages/rating/icons/face-meh.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/icons/face-meh.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-smile.d.ts +0 -3
- package/lib/esm/webchat/custom-messages/rating/icons/face-smile.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/icons/face-smile.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/index.d.ts +0 -6
- package/lib/esm/webchat/custom-messages/rating/icons/index.js +0 -10
- package/lib/esm/webchat/custom-messages/rating/icons/index.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/icons/star.d.ts +0 -3
- package/lib/esm/webchat/custom-messages/rating/icons/star.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/icons/star.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/index.d.ts +0 -2
- package/lib/esm/webchat/custom-messages/rating/index.js +0 -56
- package/lib/esm/webchat/custom-messages/rating/index.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/rating-selector.d.ts +0 -11
- package/lib/esm/webchat/custom-messages/rating/rating-selector.js +0 -26
- package/lib/esm/webchat/custom-messages/rating/rating-selector.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/smileys.d.ts +0 -2
- package/lib/esm/webchat/custom-messages/rating/smileys.js +0 -19
- package/lib/esm/webchat/custom-messages/rating/smileys.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/stars.d.ts +0 -2
- package/lib/esm/webchat/custom-messages/rating/stars.js +0 -11
- package/lib/esm/webchat/custom-messages/rating/stars.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/styles.d.ts +0 -6
- package/lib/esm/webchat/custom-messages/rating/styles.js +0 -25
- package/lib/esm/webchat/custom-messages/rating/styles.js.map +0 -1
- package/lib/esm/webchat/custom-messages/rating/types.d.ts +0 -13
- package/lib/esm/webchat/custom-messages/rating/types.js +0 -9
- package/lib/esm/webchat/custom-messages/rating/types.js.map +0 -1
- package/lib/esm/webchat/devices/index.d.ts +0 -11
- package/lib/esm/webchat/devices/index.js +0 -23
- package/lib/esm/webchat/devices/index.js.map +0 -1
- package/lib/esm/webchat/header/default-header.d.ts +0 -1
- package/lib/esm/webchat/header/default-header.js +0 -25
- package/lib/esm/webchat/header/default-header.js.map +0 -1
- package/lib/esm/webchat/header/index.d.ts +0 -1
- package/lib/esm/webchat/header/index.js +0 -23
- package/lib/esm/webchat/header/index.js.map +0 -1
- package/lib/esm/webchat/header/styles.d.ts +0 -7
- package/lib/esm/webchat/header/styles.js +0 -63
- package/lib/esm/webchat/header/styles.js.map +0 -1
- package/lib/esm/webchat/hooks/index.d.ts +0 -10
- package/lib/esm/webchat/hooks/index.js +0 -24
- package/lib/esm/webchat/hooks/index.js.map +0 -1
- package/lib/esm/webchat/hooks/use-component-visible.d.ts +0 -7
- package/lib/esm/webchat/hooks/use-component-visible.js +0 -23
- package/lib/esm/webchat/hooks/use-component-visible.js.map +0 -1
- package/lib/esm/webchat/hooks/use-component-will-mount.d.ts +0 -1
- package/lib/esm/webchat/hooks/use-component-will-mount.js +0 -9
- package/lib/esm/webchat/hooks/use-component-will-mount.js.map +0 -1
- package/lib/esm/webchat/hooks/use-device-adapter.d.ts +0 -3
- package/lib/esm/webchat/hooks/use-device-adapter.js +0 -49
- package/lib/esm/webchat/hooks/use-device-adapter.js.map +0 -1
- package/lib/esm/webchat/hooks/use-previous.d.ts +0 -1
- package/lib/esm/webchat/hooks/use-previous.js +0 -12
- package/lib/esm/webchat/hooks/use-previous.js.map +0 -1
- package/lib/esm/webchat/hooks/use-scroll-to-bottom.d.ts +0 -9
- package/lib/esm/webchat/hooks/use-scroll-to-bottom.js +0 -25
- package/lib/esm/webchat/hooks/use-scroll-to-bottom.js.map +0 -1
- package/lib/esm/webchat/hooks/use-scrollbar-controller.d.ts +0 -6
- package/lib/esm/webchat/hooks/use-scrollbar-controller.js +0 -143
- package/lib/esm/webchat/hooks/use-scrollbar-controller.js.map +0 -1
- package/lib/esm/webchat/hooks/use-typing.d.ts +0 -10
- package/lib/esm/webchat/hooks/use-typing.js +0 -36
- package/lib/esm/webchat/hooks/use-typing.js.map +0 -1
- package/lib/esm/webchat/hooks/use-virtual-keyboard-detection.d.ts +0 -3
- package/lib/esm/webchat/hooks/use-virtual-keyboard-detection.js +0 -26
- package/lib/esm/webchat/hooks/use-virtual-keyboard-detection.js.map +0 -1
- package/lib/esm/webchat/hooks/use-webchat-dimensions.d.ts +0 -4
- package/lib/esm/webchat/hooks/use-webchat-dimensions.js +0 -41
- package/lib/esm/webchat/hooks/use-webchat-dimensions.js.map +0 -1
- package/lib/esm/webchat/hooks/use-webchat-resizer.d.ts +0 -4
- package/lib/esm/webchat/hooks/use-webchat-resizer.js +0 -34
- package/lib/esm/webchat/hooks/use-webchat-resizer.js.map +0 -1
- package/lib/esm/webchat/index-types.d.ts +0 -7
- package/lib/esm/webchat/index-types.js +0 -3
- package/lib/esm/webchat/index-types.js.map +0 -1
- package/lib/esm/webchat/index.d.ts +0 -6
- package/lib/esm/webchat/index.js +0 -20
- package/lib/esm/webchat/index.js.map +0 -1
- package/lib/esm/webchat/input-panel/attachment.d.ts +0 -6
- package/lib/esm/webchat/input-panel/attachment.js +0 -30
- package/lib/esm/webchat/input-panel/attachment.js.map +0 -1
- package/lib/esm/webchat/input-panel/emoji-picker.d.ts +0 -5
- package/lib/esm/webchat/input-panel/emoji-picker.js +0 -29
- package/lib/esm/webchat/input-panel/emoji-picker.js.map +0 -1
- package/lib/esm/webchat/input-panel/index.d.ts +0 -9
- package/lib/esm/webchat/input-panel/index.js +0 -51
- package/lib/esm/webchat/input-panel/index.js.map +0 -1
- package/lib/esm/webchat/input-panel/opened-emoji-picker.d.ts +0 -6
- package/lib/esm/webchat/input-panel/opened-emoji-picker.js +0 -15
- package/lib/esm/webchat/input-panel/opened-emoji-picker.js.map +0 -1
- package/lib/esm/webchat/input-panel/persistent-menu.d.ts +0 -5
- package/lib/esm/webchat/input-panel/persistent-menu.js +0 -21
- package/lib/esm/webchat/input-panel/persistent-menu.js.map +0 -1
- package/lib/esm/webchat/input-panel/send-button.d.ts +0 -5
- package/lib/esm/webchat/input-panel/send-button.js +0 -25
- package/lib/esm/webchat/input-panel/send-button.js.map +0 -1
- package/lib/esm/webchat/input-panel/styles.d.ts +0 -3
- package/lib/esm/webchat/input-panel/styles.js +0 -31
- package/lib/esm/webchat/input-panel/styles.js.map +0 -1
- package/lib/esm/webchat/input-panel/textarea.d.ts +0 -10
- package/lib/esm/webchat/input-panel/textarea.js +0 -52
- package/lib/esm/webchat/input-panel/textarea.js.map +0 -1
- package/lib/esm/webchat/input-panel/typing-network-sender.d.ts +0 -52
- package/lib/esm/webchat/input-panel/typing-network-sender.js +0 -122
- package/lib/esm/webchat/input-panel/typing-network-sender.js.map +0 -1
- package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.d.ts +0 -16
- package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.js +0 -45
- package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.js.map +0 -1
- package/lib/esm/webchat/input-panel/use-typing-session.d.ts +0 -15
- package/lib/esm/webchat/input-panel/use-typing-session.js +0 -98
- package/lib/esm/webchat/input-panel/use-typing-session.js.map +0 -1
- package/lib/esm/webchat/message-list/index.d.ts +0 -1
- package/lib/esm/webchat/message-list/index.js +0 -116
- package/lib/esm/webchat/message-list/index.js.map +0 -1
- package/lib/esm/webchat/message-list/intro-message.d.ts +0 -1
- package/lib/esm/webchat/message-list/intro-message.js +0 -24
- package/lib/esm/webchat/message-list/intro-message.js.map +0 -1
- package/lib/esm/webchat/message-list/scroll-button.d.ts +0 -5
- package/lib/esm/webchat/message-list/scroll-button.js +0 -18
- package/lib/esm/webchat/message-list/scroll-button.js.map +0 -1
- package/lib/esm/webchat/message-list/styles.d.ts +0 -9
- package/lib/esm/webchat/message-list/styles.js +0 -61
- package/lib/esm/webchat/message-list/styles.js.map +0 -1
- package/lib/esm/webchat/message-list/unread-messages-banner.d.ts +0 -7
- package/lib/esm/webchat/message-list/unread-messages-banner.js +0 -18
- package/lib/esm/webchat/message-list/unread-messages-banner.js.map +0 -1
- package/lib/esm/webchat/message-list/use-debounce.d.ts +0 -1
- package/lib/esm/webchat/message-list/use-debounce.js +0 -17
- package/lib/esm/webchat/message-list/use-debounce.js.map +0 -1
- package/lib/esm/webchat/message-list/use-notifications.d.ts +0 -7
- package/lib/esm/webchat/message-list/use-notifications.js +0 -23
- package/lib/esm/webchat/message-list/use-notifications.js.map +0 -1
- package/lib/esm/webchat/replies/index.d.ts +0 -1
- package/lib/esm/webchat/replies/index.js +0 -31
- package/lib/esm/webchat/replies/index.js.map +0 -1
- package/lib/esm/webchat/replies/styles.d.ts +0 -8
- package/lib/esm/webchat/replies/styles.js +0 -25
- package/lib/esm/webchat/replies/styles.js.map +0 -1
- package/lib/esm/webchat/session-view.d.ts +0 -1
- package/lib/esm/webchat/session-view.js +0 -103
- package/lib/esm/webchat/session-view.js.map +0 -1
- package/lib/esm/webchat/styles.d.ts +0 -4
- package/lib/esm/webchat/styles.js +0 -65
- package/lib/esm/webchat/styles.js.map +0 -1
- package/lib/esm/webchat/theme/default-theme.d.ts +0 -2
- package/lib/esm/webchat/theme/default-theme.js +0 -104
- package/lib/esm/webchat/theme/default-theme.js.map +0 -1
- package/lib/esm/webchat/theme/types.d.ts +0 -213
- package/lib/esm/webchat/theme/types.js +0 -3
- package/lib/esm/webchat/theme/types.js.map +0 -1
- package/lib/esm/webchat/tracking.d.ts +0 -7
- package/lib/esm/webchat/tracking.js +0 -39
- package/lib/esm/webchat/tracking.js.map +0 -1
- package/lib/esm/webchat/trigger-button/index.d.ts +0 -1
- package/lib/esm/webchat/trigger-button/index.js +0 -34
- package/lib/esm/webchat/trigger-button/index.js.map +0 -1
- package/lib/esm/webchat/trigger-button/styles.d.ts +0 -3
- package/lib/esm/webchat/trigger-button/styles.js +0 -40
- package/lib/esm/webchat/trigger-button/styles.js.map +0 -1
- package/lib/esm/webchat/typing-indicator/index.d.ts +0 -2
- package/lib/esm/webchat/typing-indicator/index.js +0 -10
- package/lib/esm/webchat/typing-indicator/index.js.map +0 -1
- package/lib/esm/webchat/typing-indicator/styles.d.ts +0 -7
- package/lib/esm/webchat/typing-indicator/styles.js +0 -50
- package/lib/esm/webchat/typing-indicator/styles.js.map +0 -1
- package/lib/esm/webchat/use-storage-state-hook.d.ts +0 -1
- package/lib/esm/webchat/use-storage-state-hook.js +0 -40
- package/lib/esm/webchat/use-storage-state-hook.js.map +0 -1
- package/lib/esm/webchat/utils.d.ts +0 -2
- package/lib/esm/webchat/utils.js +0 -13
- package/lib/esm/webchat/utils.js.map +0 -1
- package/lib/esm/webchat/webchat-dev.d.ts +0 -6
- package/lib/esm/webchat/webchat-dev.js +0 -56
- package/lib/esm/webchat/webchat-dev.js.map +0 -1
- package/lib/esm/webchat/webchat.d.ts +0 -3
- package/lib/esm/webchat/webchat.js +0 -560
- package/lib/esm/webchat/webchat.js.map +0 -1
- package/lib/esm/webchat/webview/header.d.ts +0 -1
- package/lib/esm/webchat/webview/header.js +0 -18
- package/lib/esm/webchat/webview/header.js.map +0 -1
- package/lib/esm/webchat/webview/index.d.ts +0 -6
- package/lib/esm/webchat/webview/index.js +0 -82
- package/lib/esm/webchat/webview/index.js.map +0 -1
- package/lib/esm/webchat/webview/styles.d.ts +0 -7
- package/lib/esm/webchat/webview/styles.js +0 -60
- package/lib/esm/webchat/webview/styles.js.map +0 -1
- package/lib/esm/webchat-app.d.ts +0 -114
- package/lib/esm/webchat-app.js +0 -407
- package/lib/esm/webchat-app.js.map +0 -1
- package/lib/esm/webchat.template.html +0 -37
- package/lib/esm/webview-app.d.ts +0 -7
- package/lib/esm/webview-app.js +0 -192
- package/lib/esm/webview-app.js.map +0 -1
- package/lib/esm/webview.template.html +0 -39
- /package/lib/{cjs/app.d.ts → app.d.ts} +0 -0
- /package/lib/{cjs/assets → assets}/arrow-down.svg +0 -0
- /package/lib/{cjs/assets → assets}/arrow-scroll-down.svg +0 -0
- /package/lib/{cjs/assets → assets}/attachment-icon.svg +0 -0
- /package/lib/{cjs/assets → assets}/audio.svg +0 -0
- /package/lib/{cjs/assets → assets}/botonic_react_logo100x100.png +0 -0
- /package/lib/{cjs/assets → assets}/document.svg +0 -0
- /package/lib/{cjs/assets → assets}/emojiButton.svg +0 -0
- /package/lib/{cjs/assets → assets}/image.svg +0 -0
- /package/lib/{cjs/assets → assets}/leftArrow.svg +0 -0
- /package/lib/{cjs/assets → assets}/menuButton.svg +0 -0
- /package/lib/{cjs/assets → assets}/rightArrow.svg +0 -0
- /package/lib/{cjs/assets → assets}/send-button.svg +0 -0
- /package/lib/{cjs/assets → assets}/thumbs-down.svg +0 -0
- /package/lib/{cjs/assets → assets}/thumbs-up.svg +0 -0
- /package/lib/{cjs/assets → assets}/url-icon.png +0 -0
- /package/lib/{cjs/assets → assets}/video.svg +0 -0
- /package/lib/{cjs/botonic-tester.d.ts → botonic-tester.d.ts} +0 -0
- /package/lib/{cjs/components → components}/button/styles.d.ts +0 -0
- /package/lib/{cjs/components → components}/components.d.ts +0 -0
- /package/lib/{cjs/components → components}/constants.d.ts +0 -0
- /package/lib/{cjs/components → components}/element.d.ts +0 -0
- /package/lib/{cjs/components → components}/location.d.ts +0 -0
- /package/lib/{cjs/components → components}/markdown.d.ts +0 -0
- /package/lib/{cjs/components → components}/message/index.d.ts +0 -0
- /package/lib/{cjs/components → components}/message/styles.d.ts +0 -0
- /package/lib/{cjs/components → components}/message-template.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/facebook/facebook.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/index-types.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/multichannel-context.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/multichannel-utils.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/multichannel.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/whatsapp/constants.d.ts +0 -0
- /package/lib/{cjs/components → components}/multichannel/whatsapp/markdown-meta.d.ts +0 -0
- /package/lib/{cjs/components → components}/pic.d.ts +0 -0
- /package/lib/{cjs/components → components}/share-button.d.ts +0 -0
- /package/lib/{cjs/components → components}/subtitle.d.ts +0 -0
- /package/lib/{cjs/components → components}/system-debug-trace/events/components/guardrail-item.d.ts +0 -0
- /package/lib/{cjs/components → components}/system-debug-trace/events/constants.d.ts +0 -0
- /package/lib/{cjs/components → components}/system-debug-trace/events/knowledge-bases-types.d.ts +0 -0
- /package/lib/{cjs/components → components}/system-debug-trace/hooks/use-last-label-position.d.ts +0 -0
- /package/lib/{cjs/components → components}/system-debug-trace/styles.d.ts +0 -0
- /package/lib/{cjs/components → components}/title.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-button-list.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-catalog.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-cta-url-button.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-media-carousel.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-product-carousel.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-product-list.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-product.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-request-contact-info.d.ts +0 -0
- /package/lib/{cjs/components → components}/whatsapp-template/types.d.ts +0 -0
- /package/lib/{cjs/constants.d.ts → constants.d.ts} +0 -0
- /package/lib/{cjs/message-utils.d.ts → message-utils.d.ts} +0 -0
- /package/lib/{cjs/msg-to-botonic.d.ts → msg-to-botonic.d.ts} +0 -0
- /package/lib/{cjs/shared → shared}/styles.d.ts +0 -0
- /package/lib/{cjs/util → util}/dom.d.ts +0 -0
- /package/lib/{cjs/util → util}/environment.d.ts +0 -0
- /package/lib/{cjs/util → util}/functional.d.ts +0 -0
- /package/lib/{cjs/util → util}/i18n.d.ts +0 -0
- /package/lib/{cjs/util → util}/logs.d.ts +0 -0
- /package/lib/{cjs/util → util}/objects.d.ts +0 -0
- /package/lib/{cjs/util → util}/react.d.ts +0 -0
- /package/lib/{cjs/util → util}/regexs.d.ts +0 -0
- /package/lib/{cjs/util → util}/strings.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/chat-area/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/constants.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/context/actions.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/custom-messages/rating/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/custom-messages/rating/types.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/devices/index.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/header/index.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/header/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-component-visible.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-component-will-mount.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-device-adapter.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-previous.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-scroll-to-bottom.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-scrollbar-controller.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-virtual-keyboard-detection.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-webchat-dimensions.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/hooks/use-webchat-resizer.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/input-panel/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/message-list/scroll-button.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/message-list/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/message-list/unread-messages-banner.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/message-list/use-debounce.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/message-list/use-notifications.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/replies/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/tracking.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/trigger-button/index.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/trigger-button/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/typing-indicator/index.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/typing-indicator/styles.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/use-storage-state-hook.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/utils.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/webchat-dev.d.ts +0 -0
- /package/lib/{cjs/webchat → webchat}/webview/styles.d.ts +0 -0
- /package/lib/{cjs/webchat.template.html → webchat.template.html} +0 -0
- /package/lib/{cjs/webview-app.d.ts → webview-app.d.ts} +0 -0
- /package/lib/{cjs/webview.template.html → webview.template.html} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventAction } from "@botonic/core";
|
|
3
|
+
import { CodeSvg } from "../icons/code.js";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
const getBotActionEventConfig = (data)=>{
|
|
12
|
+
const title = /*#__PURE__*/ jsxs(Fragment, {
|
|
13
|
+
children: [
|
|
14
|
+
"Bot action triggered ",
|
|
15
|
+
/*#__PURE__*/ jsxs("span", {
|
|
16
|
+
children: [
|
|
17
|
+
"- ",
|
|
18
|
+
data.payload
|
|
19
|
+
]
|
|
20
|
+
})
|
|
21
|
+
]
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
action: EventAction.BotAction,
|
|
25
|
+
title,
|
|
26
|
+
component: null,
|
|
27
|
+
icon: /*#__PURE__*/ jsx(CodeSvg, {}),
|
|
28
|
+
collapsible: false
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { getBotActionEventConfig };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=bot-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/bot-action.js","sources":["../../../../src/components/system-debug-trace/events/bot-action.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { CodeSvg } from '../icons/code'\nimport type { DebugEventConfig } from '../types'\n\nexport interface BotActionDebugEvent {\n action: EventAction.BotAction\n payload: string\n}\n\nexport const getBotActionEventConfig = (\n data: BotActionDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Bot action triggered <span>- {data.payload}</span>\n </>\n )\n\n return {\n action: EventAction.BotAction,\n title,\n component: null,\n icon: <CodeSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","CodeSvg","getBotActionEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEJ;AAQhC,MAAME,uBAAuBA,GAAG,CACrCC;IAEA,MAAMC,sBACJ;;YAAE;0BACqB,KAAC;;oBAAK;oBAAGD,KAAK,OAAO;;;;;IAI9C,OAAO;QACL,QAAQH,qBAAqB;QAC7BI;QACA,WAAW;QACX,oBAAM,IAACH,OAAOA;QACd,aAAa;IACf;AACF,EAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { HandSvg } from "../../icons/index.js";
|
|
3
|
+
import { StyledGuardrailItem, StyledGuardrailLabel, StyledGuardrailValue } from "../../styles.js";
|
|
4
|
+
import { LABELS } from "../constants.js";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
const GuardrailItem = ({ guardrail, keyPrefix, $isLastItem })=>/*#__PURE__*/ jsxs(StyledGuardrailItem, {
|
|
15
|
+
$isLastItem: $isLastItem,
|
|
16
|
+
children: [
|
|
17
|
+
/*#__PURE__*/ jsx(HandSvg, {}),
|
|
18
|
+
/*#__PURE__*/ jsx(StyledGuardrailLabel, {
|
|
19
|
+
children: LABELS.GUARDRAIL_TRIGGERED
|
|
20
|
+
}),
|
|
21
|
+
/*#__PURE__*/ jsxs(StyledGuardrailValue, {
|
|
22
|
+
children: [
|
|
23
|
+
"- ",
|
|
24
|
+
guardrail
|
|
25
|
+
]
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
}, `${keyPrefix}-${guardrail}`);
|
|
29
|
+
const GuardrailList = ({ guardrails, keyPrefix, $isLastItem })=>/*#__PURE__*/ jsx(Fragment, {
|
|
30
|
+
children: guardrails.map((guardrail)=>/*#__PURE__*/ jsx(GuardrailItem, {
|
|
31
|
+
guardrail: guardrail,
|
|
32
|
+
keyPrefix: keyPrefix,
|
|
33
|
+
$isLastItem: $isLastItem
|
|
34
|
+
}, `${keyPrefix}-${guardrail}`))
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export { GuardrailItem, GuardrailList };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=guardrail-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/components/guardrail-item.js","sources":["../../../../../src/components/system-debug-trace/events/components/guardrail-item.tsx"],"sourcesContent":["import type React from 'react'\n\nimport { HandSvg } from '../../icons'\nimport {\n StyledGuardrailItem,\n StyledGuardrailLabel,\n StyledGuardrailValue,\n} from '../../styles'\nimport { LABELS } from '../constants'\n\ninterface GuardrailItemProps {\n guardrail: string\n keyPrefix: string\n $isLastItem?: boolean\n}\n\nexport const GuardrailItem: React.FC<GuardrailItemProps> = ({\n guardrail,\n keyPrefix,\n $isLastItem,\n}) => (\n <StyledGuardrailItem\n key={`${keyPrefix}-${guardrail}`}\n $isLastItem={$isLastItem}\n >\n <HandSvg />\n <StyledGuardrailLabel>{LABELS.GUARDRAIL_TRIGGERED}</StyledGuardrailLabel>\n <StyledGuardrailValue>- {guardrail}</StyledGuardrailValue>\n </StyledGuardrailItem>\n)\n\ninterface GuardrailListProps {\n guardrails: string[]\n keyPrefix: string\n $isLastItem?: boolean\n}\n\nexport const GuardrailList: React.FC<GuardrailListProps> = ({\n guardrails,\n keyPrefix,\n $isLastItem,\n}) => (\n <>\n {guardrails.map(guardrail => (\n <GuardrailItem\n key={`${keyPrefix}-${guardrail}`}\n guardrail={guardrail}\n keyPrefix={keyPrefix}\n $isLastItem={$isLastItem}\n />\n ))}\n </>\n)\n"],"names":["HandSvg","StyledGuardrailItem","StyledGuardrailLabel","StyledGuardrailValue","LABELS","GuardrailItem","guardrail","keyPrefix","$isLastItem","GuardrailList","guardrails"],"mappings":";;;;;;;;;;AAEqC;AAKhB;AACgB;AAQ9B,MAAMK,aAAaA,GAAiC,CAAC,EAC1DC,SAAS,EACTC,SAAS,EACTC,WAAW,EACZ,iBACC,KAACP,mBAAmBA;QAElB,aAAaO;;0BAEb,IAACR,OAAOA;0BACR,IAACE,oBAAoBA;0BAAEE,0BAA0B;;0BACjD,KAACD,oBAAoBA;;oBAAC;oBAAGG;;;;OALpB,GAAGC,UAAU,CAAC,EAAED,WAAW,EAOnC;AAQM,MAAMG,aAAaA,GAAiC,CAAC,EAC1DC,UAAU,EACVH,SAAS,EACTC,WAAW,EACZ,iBACC;kBACGE,WAAW,GAAG,CAACJ,CAAAA,0BACd,IAACD,aAAaA;gBAEZ,WAAWC;gBACX,WAAWC;gBACX,aAAaC;eAHR,GAAGD,UAAU,CAAC,EAAED,WAAW;OAOvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/components/index.js","sources":["../../../../../src/components/system-debug-trace/events/components/index.ts"],"sourcesContent":["export * from './guardrail-item'\nexport * from './sources-section'\n"],"names":[],"mappings":";;AAAgC;AACC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { HubtypeChunk, HubtypeSource } from '../knowledge-bases-types.js';
|
|
3
|
+
interface SourcesSectionProps {
|
|
4
|
+
sources: HubtypeSource[];
|
|
5
|
+
chunks: HubtypeChunk[];
|
|
6
|
+
getIconForSourceType: (source: HubtypeSource) => React.ReactNode;
|
|
7
|
+
onSeeChunks: () => void;
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const SourcesSection: ({ sources, chunks, getIconForSourceType, onSeeChunks, label, }: SourcesSectionProps) => React.JSX.Element | null;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled_components from "styled-components";
|
|
3
|
+
import { StyledDebugDetail, StyledDebugItemWithIcon, StyledDebugLabel, StyledFileSourceValue, StyledSeeInfo, StyledUrlSourceValue } from "../../styles.js";
|
|
4
|
+
import { LABELS } from "../constants.js";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
const StyledSeeChunksButton = styled_components(StyledSeeInfo)`
|
|
15
|
+
margin-left: 0;
|
|
16
|
+
margin-top: 4px;
|
|
17
|
+
`;
|
|
18
|
+
const SourcesSection = ({ sources, chunks, getIconForSourceType, onSeeChunks, label = LABELS.SOURCES })=>{
|
|
19
|
+
if (sources.length === 0) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return /*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
23
|
+
children: [
|
|
24
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
25
|
+
children: label
|
|
26
|
+
}),
|
|
27
|
+
sources.map((source)=>{
|
|
28
|
+
const icon = getIconForSourceType(source);
|
|
29
|
+
const isUrl = source.type === 'url';
|
|
30
|
+
const value = isUrl ? source.activeExtractionJob?.url : source.activeExtractionJob?.fileName;
|
|
31
|
+
return /*#__PURE__*/ jsxs(StyledDebugItemWithIcon, {
|
|
32
|
+
children: [
|
|
33
|
+
icon,
|
|
34
|
+
isUrl ? /*#__PURE__*/ jsx(StyledUrlSourceValue, {
|
|
35
|
+
href: value ?? '',
|
|
36
|
+
target: "_blank",
|
|
37
|
+
rel: "noopener noreferrer",
|
|
38
|
+
title: value ?? 'Not detected',
|
|
39
|
+
children: value
|
|
40
|
+
}) : /*#__PURE__*/ jsx(StyledFileSourceValue, {
|
|
41
|
+
children: value
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
}, source.id);
|
|
45
|
+
}),
|
|
46
|
+
chunks.length > 0 && /*#__PURE__*/ jsx(StyledSeeChunksButton, {
|
|
47
|
+
onClick: onSeeChunks,
|
|
48
|
+
children: LABELS.SEE_CHUNKS_BUTTON
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { SourcesSection };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=sources-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/components/sources-section.js","sources":["../../../../../src/components/system-debug-trace/events/components/sources-section.tsx"],"sourcesContent":["import type React from 'react'\nimport styled from 'styled-components'\nimport {\n StyledDebugDetail,\n StyledDebugItemWithIcon,\n StyledDebugLabel,\n StyledFileSourceValue,\n StyledSeeInfo,\n StyledUrlSourceValue,\n} from '../../styles'\nimport { LABELS } from '../constants'\nimport type { HubtypeChunk, HubtypeSource } from '../knowledge-bases-types'\n\nconst StyledSeeChunksButton = styled(StyledSeeInfo)`\n margin-left: 0;\n margin-top: 4px;\n`\n\ninterface SourcesSectionProps {\n sources: HubtypeSource[]\n chunks: HubtypeChunk[]\n getIconForSourceType: (source: HubtypeSource) => React.ReactNode\n onSeeChunks: () => void\n label?: string\n}\n\nexport const SourcesSection = ({\n sources,\n chunks,\n getIconForSourceType,\n onSeeChunks,\n label = LABELS.SOURCES,\n}: SourcesSectionProps) => {\n if (sources.length === 0) {\n return null\n }\n\n return (\n <StyledDebugDetail>\n <StyledDebugLabel>{label}</StyledDebugLabel>\n {sources.map(source => {\n const icon = getIconForSourceType(source)\n const isUrl = source.type === 'url'\n const value = isUrl\n ? source.activeExtractionJob?.url\n : source.activeExtractionJob?.fileName\n\n return (\n <StyledDebugItemWithIcon key={source.id}>\n {icon}\n {isUrl ? (\n <StyledUrlSourceValue\n href={value ?? ''}\n target='_blank'\n rel='noopener noreferrer'\n title={value ?? 'Not detected'}\n >\n {value}\n </StyledUrlSourceValue>\n ) : (\n <StyledFileSourceValue>{value}</StyledFileSourceValue>\n )}\n </StyledDebugItemWithIcon>\n )\n })}\n {chunks.length > 0 && (\n <StyledSeeChunksButton onClick={onSeeChunks}>\n {LABELS.SEE_CHUNKS_BUTTON}\n </StyledSeeChunksButton>\n )}\n </StyledDebugDetail>\n )\n}\n"],"names":["styled","StyledDebugDetail","StyledDebugItemWithIcon","StyledDebugLabel","StyledFileSourceValue","StyledSeeInfo","StyledUrlSourceValue","LABELS","StyledSeeChunksButton","SourcesSection","sources","chunks","getIconForSourceType","onSeeChunks","label","source","icon","isUrl","value"],"mappings":";;;;;;;;;;AACsC;AAQjB;AACgB;AAGrC,MAAMQ,qBAAqBA,GAAGR,iBAAMA,CAACK,aAAaA,CAAC,CAAC;;;AAGpD,CAAC;AAUM,MAAMI,cAAcA,GAAG,CAAC,EAC7BC,OAAO,EACPC,MAAM,EACNC,oBAAoB,EACpBC,WAAW,EACXC,QAAQP,cAAc,EACF;IACpB,IAAIG,QAAQ,MAAM,KAAK,GAAG;QACxB,OAAO;IACT;IAEA,qBACE,KAACT,iBAAiBA;;0BAChB,IAACE,gBAAgBA;0BAAEW;;YAClBJ,QAAQ,GAAG,CAACK,CAAAA;gBACX,MAAMC,OAAOJ,qBAAqBG;gBAClC,MAAME,QAAQF,OAAO,IAAI,KAAK;gBAC9B,MAAMG,QAAQD,QACVF,OAAO,mBAAmB,EAAE,MAC5BA,OAAO,mBAAmB,EAAE;gBAEhC,qBACE,KAACb,uBAAuBA;;wBACrBc;wBACAC,sBACC,IAACX,oBAAoBA;4BACnB,MAAMY,SAAS;4BACf,QAAO;4BACP,KAAI;4BACJ,OAAOA,SAAS;sCAEfA;2CAGH,IAACd,qBAAqBA;sCAAEc;;;mBAZEH,OAAO,EAAE;YAgB3C;YACCJ,OAAO,MAAM,GAAG,mBACf,IAACH,qBAAqBA;gBAAC,SAASK;0BAC7BN,wBAAwB;;;;AAKnC,EAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EventAction } from '@botonic/core';
|
|
2
|
+
import type { DebugEventConfig } from '../types.js';
|
|
3
|
+
export interface ConditionalChannelDebugEvent {
|
|
4
|
+
action: EventAction.ConditionalChannel;
|
|
5
|
+
channel: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getConditionalChannelEventConfig: (data: ConditionalChannelDebugEvent) => DebugEventConfig;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventAction } from "@botonic/core";
|
|
3
|
+
import { SplitSvg } from "../icons/split.js";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
const getConditionalChannelEventConfig = (data)=>{
|
|
12
|
+
const title = /*#__PURE__*/ jsxs(Fragment, {
|
|
13
|
+
children: [
|
|
14
|
+
"Channel checked ",
|
|
15
|
+
/*#__PURE__*/ jsxs("span", {
|
|
16
|
+
children: [
|
|
17
|
+
"- ",
|
|
18
|
+
data.channel
|
|
19
|
+
]
|
|
20
|
+
})
|
|
21
|
+
]
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
action: EventAction.ConditionalChannel,
|
|
25
|
+
title,
|
|
26
|
+
component: null,
|
|
27
|
+
icon: /*#__PURE__*/ jsx(SplitSvg, {}),
|
|
28
|
+
collapsible: false
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { getConditionalChannelEventConfig };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=conditional-channel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/conditional-channel.js","sources":["../../../../src/components/system-debug-trace/events/conditional-channel.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport type { DebugEventConfig } from '../types'\n\nexport interface ConditionalChannelDebugEvent {\n action: EventAction.ConditionalChannel\n channel: string\n}\n\nexport const getConditionalChannelEventConfig = (\n data: ConditionalChannelDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Channel checked <span>- {data.channel}</span>\n </>\n )\n\n return {\n action: EventAction.ConditionalChannel,\n title,\n component: null,\n icon: <SplitSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","SplitSvg","getConditionalChannelEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEF;AAQlC,MAAME,gCAAgCA,GAAG,CAC9CC;IAEA,MAAMC,sBACJ;;YAAE;0BACgB,KAAC;;oBAAK;oBAAGD,KAAK,OAAO;;;;;IAIzC,OAAO;QACL,QAAQH,8BAA8B;QACtCI;QACA,WAAW;QACX,oBAAM,IAACH,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EventAction } from '@botonic/core';
|
|
2
|
+
import type { DebugEventConfig } from '../types.js';
|
|
3
|
+
export interface ConditionalCountryDebugEvent {
|
|
4
|
+
action: EventAction.ConditionalCountry;
|
|
5
|
+
country: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getConditionalCountryEventConfig: (data: ConditionalCountryDebugEvent) => DebugEventConfig;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventAction } from "@botonic/core";
|
|
3
|
+
import { SplitSvg } from "../icons/split.js";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
const getConditionalCountryEventConfig = (data)=>{
|
|
12
|
+
const title = /*#__PURE__*/ jsxs(Fragment, {
|
|
13
|
+
children: [
|
|
14
|
+
"Country checked ",
|
|
15
|
+
/*#__PURE__*/ jsxs("span", {
|
|
16
|
+
children: [
|
|
17
|
+
"- ",
|
|
18
|
+
data.country
|
|
19
|
+
]
|
|
20
|
+
})
|
|
21
|
+
]
|
|
22
|
+
});
|
|
23
|
+
return {
|
|
24
|
+
action: EventAction.ConditionalCountry,
|
|
25
|
+
title,
|
|
26
|
+
component: null,
|
|
27
|
+
icon: /*#__PURE__*/ jsx(SplitSvg, {}),
|
|
28
|
+
collapsible: false
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { getConditionalCountryEventConfig };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=conditional-country.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/conditional-country.js","sources":["../../../../src/components/system-debug-trace/events/conditional-country.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport type { DebugEventConfig } from '../types'\n\nexport interface ConditionalCountryDebugEvent {\n action: EventAction.ConditionalCountry\n country: string\n}\n\nexport const getConditionalCountryEventConfig = (\n data: ConditionalCountryDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Country checked <span>- {data.country}</span>\n </>\n )\n\n return {\n action: EventAction.ConditionalCountry,\n title,\n component: null,\n icon: <SplitSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","SplitSvg","getConditionalCountryEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEF;AAQlC,MAAME,gCAAgCA,GAAG,CAC9CC;IAEA,MAAMC,sBACJ;;YAAE;0BACgB,KAAC;;oBAAK;oBAAGD,KAAK,OAAO;;;;;IAIzC,OAAO;QACL,QAAQH,8BAA8B;QACtCI;QACA,WAAW;QACX,oBAAM,IAACH,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventAction } from '@botonic/core';
|
|
2
|
+
import type { DebugEventConfig } from '../types.js';
|
|
3
|
+
export interface ConditionalCustomDebugEvent {
|
|
4
|
+
action: EventAction.ConditionalCustom;
|
|
5
|
+
conditional_variable: string;
|
|
6
|
+
variable_format: string;
|
|
7
|
+
operator: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ConditionalCustom: (props: ConditionalCustomDebugEvent) => import("react").JSX.Element;
|
|
10
|
+
export declare const getConditionalCustomEventConfig: (_data: ConditionalCustomDebugEvent) => DebugEventConfig;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventAction } from "@botonic/core";
|
|
3
|
+
import { SplitSvg } from "../icons/split.js";
|
|
4
|
+
import { StyledDebugDetail, StyledDebugLabel, StyledDebugValue } from "../styles.js";
|
|
5
|
+
import { LABELS } from "./constants.js";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const ConditionalCustom = (props)=>{
|
|
18
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
19
|
+
children: [
|
|
20
|
+
/*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
21
|
+
children: [
|
|
22
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
23
|
+
children: LABELS.TYPE
|
|
24
|
+
}),
|
|
25
|
+
/*#__PURE__*/ jsx(StyledDebugValue, {
|
|
26
|
+
children: props.variable_format
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
}),
|
|
30
|
+
props.operator ? /*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
31
|
+
children: [
|
|
32
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
33
|
+
children: LABELS.OPERATOR
|
|
34
|
+
}),
|
|
35
|
+
/*#__PURE__*/ jsx(StyledDebugValue, {
|
|
36
|
+
children: props.operator
|
|
37
|
+
})
|
|
38
|
+
]
|
|
39
|
+
}) : null,
|
|
40
|
+
/*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
41
|
+
children: [
|
|
42
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
43
|
+
children: LABELS.TARGET
|
|
44
|
+
}),
|
|
45
|
+
/*#__PURE__*/ jsx(StyledDebugValue, {
|
|
46
|
+
children: props.conditional_variable
|
|
47
|
+
})
|
|
48
|
+
]
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
const getConditionalCustomEventConfig = (_data)=>{
|
|
54
|
+
const title = 'Custom condition';
|
|
55
|
+
return {
|
|
56
|
+
action: EventAction.ConditionalCustom,
|
|
57
|
+
title,
|
|
58
|
+
component: ConditionalCustom,
|
|
59
|
+
icon: /*#__PURE__*/ jsx(SplitSvg, {}),
|
|
60
|
+
collapsible: true
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export { ConditionalCustom, getConditionalCustomEventConfig };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=conditional-custom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/conditional-custom.js","sources":["../../../../src/components/system-debug-trace/events/conditional-custom.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../styles'\nimport type { DebugEventConfig } from '../types'\nimport { LABELS } from './constants'\n\nexport interface ConditionalCustomDebugEvent {\n action: EventAction.ConditionalCustom\n conditional_variable: string\n variable_format: string\n operator: string\n}\n\nexport const ConditionalCustom = (props: ConditionalCustomDebugEvent) => {\n return (\n <>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.TYPE}</StyledDebugLabel>\n <StyledDebugValue>{props.variable_format}</StyledDebugValue>\n </StyledDebugDetail>\n {props.operator ? (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.OPERATOR}</StyledDebugLabel>\n <StyledDebugValue>{props.operator}</StyledDebugValue>\n </StyledDebugDetail>\n ) : null}\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.TARGET}</StyledDebugLabel>\n <StyledDebugValue>{props.conditional_variable}</StyledDebugValue>\n </StyledDebugDetail>\n </>\n )\n}\n\nexport const getConditionalCustomEventConfig = (\n _data: ConditionalCustomDebugEvent\n): DebugEventConfig => {\n const title = 'Custom condition'\n\n return {\n action: EventAction.ConditionalCustom,\n title,\n component: ConditionalCustom,\n icon: <SplitSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","SplitSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","LABELS","ConditionalCustom","props","getConditionalCustomEventConfig","_data","title"],"mappings":";;;;;;;;;;;;AAA2C;AAEF;AAKvB;AAEkB;AAS7B,MAAMM,iBAAiBA,GAAG,CAACC;IAChC,qBACE;;0BACE,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,WAAW;;kCAC9B,IAACD,gBAAgBA;kCAAEG,MAAM,eAAe;;;;YAEzCA,MAAM,QAAQ,iBACb,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,eAAe;;kCAClC,IAACD,gBAAgBA;kCAAEG,MAAM,QAAQ;;;iBAEjC;0BACJ,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,aAAa;;kCAChC,IAACD,gBAAgBA;kCAAEG,MAAM,oBAAoB;;;;;;AAIrD,EAAC;AAEM,MAAMC,+BAA+BA,GAAG,CAC7CC;IAEA,MAAMC,QAAQ;IAEd,OAAO;QACL,QAAQV,6BAA6B;QACrCU;QACA,WAAWJ,iBAAiBA;QAC5B,oBAAM,IAACL,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventAction } from '@botonic/core';
|
|
2
|
+
import type { DebugEventConfig } from '../types.js';
|
|
3
|
+
export interface ConditionalQueueStatusDebugEvent {
|
|
4
|
+
action: EventAction.ConditionalQueueStatus;
|
|
5
|
+
queue_id: string;
|
|
6
|
+
queue_name: string;
|
|
7
|
+
is_queue_open: boolean;
|
|
8
|
+
is_available_agent: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ConditionalQueueStatus: (props: ConditionalQueueStatusDebugEvent) => import("react").JSX.Element;
|
|
11
|
+
export declare const getConditionalQueueStatusEventConfig: (data: ConditionalQueueStatusDebugEvent) => DebugEventConfig;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventAction } from "@botonic/core";
|
|
3
|
+
import { SplitSvg } from "../icons/split.js";
|
|
4
|
+
import { StyledDebugDetail, StyledDebugLabel, StyledDebugValue } from "../styles.js";
|
|
5
|
+
import { LABELS } from "./constants.js";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const ConditionalQueueStatus = (props)=>{
|
|
18
|
+
const queueStatus = props.is_queue_open ? LABELS.OPEN : LABELS.CLOSED;
|
|
19
|
+
const agentStatus = props.is_available_agent ? LABELS.YES : LABELS.NO;
|
|
20
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
21
|
+
children: [
|
|
22
|
+
/*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
23
|
+
children: [
|
|
24
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
25
|
+
children: LABELS.QUEUE
|
|
26
|
+
}),
|
|
27
|
+
/*#__PURE__*/ jsx(StyledDebugValue, {
|
|
28
|
+
children: props.queue_name
|
|
29
|
+
})
|
|
30
|
+
]
|
|
31
|
+
}),
|
|
32
|
+
/*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
33
|
+
children: [
|
|
34
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
35
|
+
children: LABELS.STATUS
|
|
36
|
+
}),
|
|
37
|
+
/*#__PURE__*/ jsx(StyledDebugValue, {
|
|
38
|
+
children: queueStatus
|
|
39
|
+
})
|
|
40
|
+
]
|
|
41
|
+
}),
|
|
42
|
+
/*#__PURE__*/ jsxs(StyledDebugDetail, {
|
|
43
|
+
children: [
|
|
44
|
+
/*#__PURE__*/ jsx(StyledDebugLabel, {
|
|
45
|
+
children: LABELS.AGENTS_AVAILABLE
|
|
46
|
+
}),
|
|
47
|
+
/*#__PURE__*/ jsx(StyledDebugValue, {
|
|
48
|
+
children: agentStatus
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
})
|
|
52
|
+
]
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
const getConditionalQueueStatusEventConfig = (data)=>{
|
|
56
|
+
const title = /*#__PURE__*/ jsxs(Fragment, {
|
|
57
|
+
children: [
|
|
58
|
+
"Queue status checked ",
|
|
59
|
+
/*#__PURE__*/ jsxs("span", {
|
|
60
|
+
children: [
|
|
61
|
+
"- ",
|
|
62
|
+
data.queue_name
|
|
63
|
+
]
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
});
|
|
67
|
+
return {
|
|
68
|
+
action: EventAction.ConditionalQueueStatus,
|
|
69
|
+
title,
|
|
70
|
+
component: ConditionalQueueStatus,
|
|
71
|
+
icon: /*#__PURE__*/ jsx(SplitSvg, {}),
|
|
72
|
+
collapsible: true
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export { ConditionalQueueStatus, getConditionalQueueStatusEventConfig };
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=conditional-queue-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/conditional-queue-status.js","sources":["../../../../src/components/system-debug-trace/events/conditional-queue-status.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../styles'\nimport type { DebugEventConfig } from '../types'\nimport { LABELS } from './constants'\n\nexport interface ConditionalQueueStatusDebugEvent {\n action: EventAction.ConditionalQueueStatus\n queue_id: string\n queue_name: string\n is_queue_open: boolean\n is_available_agent: boolean\n}\n\nexport const ConditionalQueueStatus = (\n props: ConditionalQueueStatusDebugEvent\n) => {\n const queueStatus = props.is_queue_open ? LABELS.OPEN : LABELS.CLOSED\n const agentStatus = props.is_available_agent ? LABELS.YES : LABELS.NO\n\n return (\n <>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.QUEUE}</StyledDebugLabel>\n <StyledDebugValue>{props.queue_name}</StyledDebugValue>\n </StyledDebugDetail>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.STATUS}</StyledDebugLabel>\n <StyledDebugValue>{queueStatus}</StyledDebugValue>\n </StyledDebugDetail>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.AGENTS_AVAILABLE}</StyledDebugLabel>\n <StyledDebugValue>{agentStatus}</StyledDebugValue>\n </StyledDebugDetail>\n </>\n )\n}\n\nexport const getConditionalQueueStatusEventConfig = (\n data: ConditionalQueueStatusDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Queue status checked <span>- {data.queue_name}</span>\n </>\n )\n\n return {\n action: EventAction.ConditionalQueueStatus,\n title,\n component: ConditionalQueueStatus,\n icon: <SplitSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","SplitSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","LABELS","ConditionalQueueStatus","props","queueStatus","agentStatus","getConditionalQueueStatusEventConfig","data","title"],"mappings":";;;;;;;;;;;;AAA2C;AAEF;AAKvB;AAEkB;AAU7B,MAAMM,sBAAsBA,GAAG,CACpCC;IAEA,MAAMC,cAAcD,MAAM,aAAa,GAAGF,WAAW,GAAGA,aAAa;IACrE,MAAMI,cAAcF,MAAM,kBAAkB,GAAGF,UAAU,GAAGA,SAAS;IAErE,qBACE;;0BACE,KAACH,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,YAAY;;kCAC/B,IAACD,gBAAgBA;kCAAEG,MAAM,UAAU;;;;0BAErC,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,aAAa;;kCAChC,IAACD,gBAAgBA;kCAAEI;;;;0BAErB,KAACN,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,uBAAuB;;kCAC1C,IAACD,gBAAgBA;kCAAEK;;;;;;AAI3B,EAAC;AAEM,MAAMC,oCAAoCA,GAAG,CAClDC;IAEA,MAAMC,sBACJ;;YAAE;0BACqB,KAAC;;oBAAK;oBAAGD,KAAK,UAAU;;;;;IAIjD,OAAO;QACL,QAAQX,kCAAkC;QAC1CY;QACA,WAAWN,sBAAsBA;QACjC,oBAAM,IAACL,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const LABELS = {
|
|
2
|
+
GUARDRAIL_TRIGGERED: 'Guardrail triggered',
|
|
3
|
+
FAITHFUL_ANSWER: 'Faithful answer',
|
|
4
|
+
QUERY: 'Query',
|
|
5
|
+
SOURCES: 'Sources',
|
|
6
|
+
KNOWLEDGE_SOURCES: 'Knowledge sources',
|
|
7
|
+
EXECUTED_TOOLS: 'Executed tools',
|
|
8
|
+
TOOL_ARGUMENTS: 'Tool arguments',
|
|
9
|
+
TOOL_RESULTS: 'Tool results',
|
|
10
|
+
NO_TOOLS_EXECUTED: 'No tools executed',
|
|
11
|
+
AUTO_ASSIGN_ON: 'ON',
|
|
12
|
+
AUTO_ASSIGN_OFF: 'OFF',
|
|
13
|
+
EXIT: 'Exit',
|
|
14
|
+
ERROR: 'Error',
|
|
15
|
+
QUEUE: 'Queue',
|
|
16
|
+
AUTO_ASSIGN: 'Auto-assign',
|
|
17
|
+
NOTE: 'Note',
|
|
18
|
+
SEE_CHUNKS_BUTTON: 'See chunks',
|
|
19
|
+
SEE_TOOL_DETAILS: 'Details',
|
|
20
|
+
STATUS: 'Status',
|
|
21
|
+
YES: 'Yes',
|
|
22
|
+
NO: 'No',
|
|
23
|
+
OPEN: 'Open',
|
|
24
|
+
CLOSED: 'Closed',
|
|
25
|
+
AGENTS_AVAILABLE: 'Agents available',
|
|
26
|
+
OPERATOR: 'Operator',
|
|
27
|
+
TARGET: 'Target',
|
|
28
|
+
TYPE: 'Type',
|
|
29
|
+
AVAILABLE_TRANSFERS: 'Available transfers',
|
|
30
|
+
SPECIALISTS_AVAILABLE: 'Specialists available',
|
|
31
|
+
NO_TRANSFER: 'No transfer',
|
|
32
|
+
TRANSFERRED_TO: 'Transferred to'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { LABELS };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/constants.js","sources":["../../../../src/components/system-debug-trace/events/constants.ts"],"sourcesContent":["export const LABELS = {\n GUARDRAIL_TRIGGERED: 'Guardrail triggered',\n FAITHFUL_ANSWER: 'Faithful answer',\n QUERY: 'Query',\n SOURCES: 'Sources',\n KNOWLEDGE_SOURCES: 'Knowledge sources',\n EXECUTED_TOOLS: 'Executed tools',\n TOOL_ARGUMENTS: 'Tool arguments',\n TOOL_RESULTS: 'Tool results',\n NO_TOOLS_EXECUTED: 'No tools executed',\n AUTO_ASSIGN_ON: 'ON',\n AUTO_ASSIGN_OFF: 'OFF',\n EXIT: 'Exit',\n ERROR: 'Error',\n QUEUE: 'Queue',\n AUTO_ASSIGN: 'Auto-assign',\n NOTE: 'Note',\n SEE_CHUNKS_BUTTON: 'See chunks',\n SEE_TOOL_DETAILS: 'Details',\n STATUS: 'Status',\n YES: 'Yes',\n NO: 'No',\n OPEN: 'Open',\n CLOSED: 'Closed',\n AGENTS_AVAILABLE: 'Agents available',\n OPERATOR: 'Operator',\n TARGET: 'Target',\n TYPE: 'Type',\n AVAILABLE_TRANSFERS: 'Available transfers',\n SPECIALISTS_AVAILABLE: 'Specialists available',\n NO_TRANSFER: 'No transfer',\n TRANSFERRED_TO: 'Transferred to',\n} as const\n"],"names":["LABELS"],"mappings":"AAAO,MAAMA,MAAMA,GAAG;IACpB,qBAAqB;IACrB,iBAAiB;IACjB,OAAO;IACP,SAAS;IACT,mBAAmB;IACnB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,MAAM;IACN,OAAO;IACP,OAAO;IACP,aAAa;IACb,MAAM;IACN,mBAAmB;IACnB,kBAAkB;IAClB,QAAQ;IACR,KAAK;IACL,IAAI;IACJ,MAAM;IACN,QAAQ;IACR,kBAAkB;IAClB,UAAU;IACV,QAAQ;IACR,MAAM;IACN,qBAAqB;IACrB,uBAAuB;IACvB,aAAa;IACb,gBAAgB;AAClB,EAAU"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventAction } from '@botonic/core';
|
|
2
|
+
import type { DebugEventConfig } from '../types.js';
|
|
3
|
+
export interface FallbackDebugEvent {
|
|
4
|
+
action: EventAction.Fallback;
|
|
5
|
+
user_input: string;
|
|
6
|
+
fallback_out: number;
|
|
7
|
+
fallback_message_id: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const getFallbackEventConfig: (data: FallbackDebugEvent) => DebugEventConfig;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventAction } from "@botonic/core";
|
|
3
|
+
import { LifeRingSvg } from "../icons/life-ring.js";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
const getFallbackEventConfig = (data)=>{
|
|
12
|
+
const ordinal = data.fallback_out === 1 ? '1st' : '2nd';
|
|
13
|
+
const title = /*#__PURE__*/ jsxs(Fragment, {
|
|
14
|
+
children: [
|
|
15
|
+
"Fallback message triggered ",
|
|
16
|
+
/*#__PURE__*/ jsxs("span", {
|
|
17
|
+
children: [
|
|
18
|
+
"- ",
|
|
19
|
+
ordinal,
|
|
20
|
+
" message"
|
|
21
|
+
]
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
return {
|
|
26
|
+
action: EventAction.Fallback,
|
|
27
|
+
title,
|
|
28
|
+
component: null,
|
|
29
|
+
icon: /*#__PURE__*/ jsx(LifeRingSvg, {}),
|
|
30
|
+
collapsible: false
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { getFallbackEventConfig };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=fallback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/system-debug-trace/events/fallback.js","sources":["../../../../src/components/system-debug-trace/events/fallback.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { LifeRingSvg } from '../icons/life-ring'\nimport type { DebugEventConfig } from '../types'\n\nexport interface FallbackDebugEvent {\n action: EventAction.Fallback\n user_input: string\n fallback_out: number\n fallback_message_id: string\n}\n\nexport const getFallbackEventConfig = (\n data: FallbackDebugEvent\n): DebugEventConfig => {\n const ordinal = data.fallback_out === 1 ? '1st' : '2nd'\n const title = (\n <>\n Fallback message triggered <span>- {ordinal} message</span>\n </>\n )\n\n return {\n action: EventAction.Fallback,\n title,\n component: null,\n icon: <LifeRingSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","LifeRingSvg","getFallbackEventConfig","data","ordinal","title"],"mappings":";;;;;;;;AAA2C;AAEK;AAUzC,MAAME,sBAAsBA,GAAG,CACpCC;IAEA,MAAMC,UAAUD,KAAK,YAAY,KAAK,IAAI,QAAQ;IAClD,MAAME,sBACJ;;YAAE;0BAC2B,KAAC;;oBAAK;oBAAGD;oBAAQ;;;;;IAIhD,OAAO;QACL,QAAQJ,oBAAoB;QAC5BK;QACA,WAAW;QACX,oBAAM,IAACJ,WAAWA;QAClB,aAAa;IACf;AACF,EAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventAction } from '@botonic/core';
|
|
2
|
+
import type { DebugEventConfig } from '../types.js';
|
|
3
|
+
export interface HandoffSuccessDebugEvent {
|
|
4
|
+
action: EventAction.HandoffSuccess;
|
|
5
|
+
handoff_queue_name: string;
|
|
6
|
+
handoff_is_queue_open: boolean;
|
|
7
|
+
handoff_has_auto_assign: boolean;
|
|
8
|
+
handoff_note_id: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const HandoffSuccess: (props: HandoffSuccessDebugEvent) => import("react").JSX.Element;
|
|
11
|
+
export declare const getHandoffSuccessEventConfig: (data: HandoffSuccessDebugEvent) => DebugEventConfig;
|