@carbon/ai-chat-components 1.15.0-rc.0 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/create-ai-chat-components-prefixed-build.js +18 -0
- package/bin/prefix-build.js +193 -0
- package/bin/prefix-dependencies.js +155 -0
- package/bin/prefix-layout.js +372 -0
- package/bin/prefix-modules.js +255 -0
- package/custom-elements.json +19635 -15376
- package/es/components/aichat-audio-player/aichat-audio-player.d.ts +138 -0
- package/es/components/aichat-audio-player/aichat-audio-player.js +391 -0
- package/es/components/aichat-audio-player/aichat-audio-player.js.map +1 -0
- package/es/components/aichat-audio-player/aichat-audio-player.scss.js +13 -0
- package/es/components/aichat-audio-player/aichat-audio-player.scss.js.map +1 -0
- package/es/components/aichat-audio-player/aichat-transcript.d.ts +63 -0
- package/es/components/aichat-audio-player/aichat-transcript.js +146 -0
- package/es/components/aichat-audio-player/aichat-transcript.js.map +1 -0
- package/es/components/aichat-audio-player/aichat-transcript.scss.js +13 -0
- package/es/components/aichat-audio-player/aichat-transcript.scss.js.map +1 -0
- package/es/components/aichat-audio-player/index.d.ts +13 -0
- package/es/components/aichat-audio-player/index.js +25 -0
- package/es/components/aichat-audio-player/index.js.map +1 -0
- package/es/components/aichat-audio-player/providers/base-provider.js.map +1 -0
- package/es/components/aichat-audio-player/providers/native-audio-provider.js.map +1 -0
- package/es/components/aichat-audio-player/providers/soundcloud-provider.js +200 -0
- package/es/components/aichat-audio-player/providers/soundcloud-provider.js.map +1 -0
- package/es/components/aichat-audio-player/utils/url-detector.js.map +1 -0
- package/es/components/aichat-autocomplete/aichat-autocomplete.d.ts +214 -0
- package/es/components/aichat-autocomplete/aichat-autocomplete.js +620 -0
- package/es/components/aichat-autocomplete/aichat-autocomplete.js.map +1 -0
- package/es/components/aichat-autocomplete/aichat-autocomplete.scss.js +13 -0
- package/es/components/aichat-autocomplete/aichat-autocomplete.scss.js.map +1 -0
- package/es/components/aichat-autocomplete/index.d.ts +11 -0
- package/es/components/aichat-autocomplete/index.js +23 -0
- package/es/components/aichat-autocomplete/index.js.map +1 -0
- package/es/components/aichat-button/aichat-button-skeleton.d.ts +34 -0
- package/es/components/aichat-button/aichat-button-skeleton.js +39 -0
- package/es/components/aichat-button/aichat-button-skeleton.js.map +1 -0
- package/es/components/aichat-button/aichat-button.d.ts +44 -0
- package/es/components/aichat-button/aichat-button.js +111 -0
- package/es/components/aichat-button/aichat-button.js.map +1 -0
- package/es/components/aichat-button/aichat-button.scss.js +13 -0
- package/es/components/aichat-button/aichat-button.scss.js.map +1 -0
- package/es/components/aichat-button/defs.js.map +1 -0
- package/es/components/aichat-button/index.d.ts +11 -0
- package/es/components/aichat-button/index.js +24 -0
- package/es/components/aichat-button/index.js.map +1 -0
- package/es/components/aichat-card/aichat-card-footer.d.ts +48 -0
- package/es/components/aichat-card/aichat-card-footer.js +141 -0
- package/es/components/aichat-card/aichat-card-footer.js.map +1 -0
- package/es/components/aichat-card/aichat-card-footer.scss.js +13 -0
- package/es/components/aichat-card/aichat-card-footer.scss.js.map +1 -0
- package/es/components/aichat-card/aichat-card-steps.d.ts +30 -0
- package/es/components/aichat-card/aichat-card-steps.js +93 -0
- package/es/components/aichat-card/aichat-card-steps.js.map +1 -0
- package/es/components/aichat-card/aichat-card-steps.scss.js +13 -0
- package/es/components/aichat-card/aichat-card-steps.scss.js.map +1 -0
- package/es/components/aichat-card/aichat-card.d.ts +34 -0
- package/es/components/aichat-card/aichat-card.js +69 -0
- package/es/components/aichat-card/aichat-card.js.map +1 -0
- package/es/components/aichat-card/aichat-card.scss.js +13 -0
- package/es/components/aichat-card/aichat-card.scss.js.map +1 -0
- package/es/components/aichat-card/index.d.ts +13 -0
- package/es/components/aichat-card/index.js +26 -0
- package/es/components/aichat-card/index.js.map +1 -0
- package/es/components/aichat-carousel/aichat-carousel.d.ts +53 -0
- package/es/components/aichat-carousel/aichat-carousel.js +189 -0
- package/es/components/aichat-carousel/aichat-carousel.js.map +1 -0
- package/es/components/aichat-carousel/aichat-carousel.scss.js +13 -0
- package/es/components/aichat-carousel/aichat-carousel.scss.js.map +1 -0
- package/es/components/aichat-carousel/index.d.ts +11 -0
- package/es/components/aichat-carousel/index.js +22 -0
- package/es/components/aichat-carousel/index.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.d.ts +60 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.js +358 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.scss.js +13 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.scss.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.d.ts +39 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.js +107 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.scss.js +13 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.scss.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.d.ts +52 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.js +140 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.scss.js +13 -0
- package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.scss.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-tool-call-data.d.ts +41 -0
- package/es/components/aichat-chain-of-thought/aichat-tool-call-data.js +179 -0
- package/es/components/aichat-chain-of-thought/aichat-tool-call-data.js.map +1 -0
- package/es/components/aichat-chain-of-thought/aichat-tool-call-data.scss.js +13 -0
- package/es/components/aichat-chain-of-thought/aichat-tool-call-data.scss.js.map +1 -0
- package/es/components/aichat-chain-of-thought/defs.js.map +1 -0
- package/es/components/aichat-chain-of-thought/index.d.ts +6 -0
- package/es/components/aichat-chain-of-thought/index.js +29 -0
- package/es/components/aichat-chain-of-thought/index.js.map +1 -0
- package/es/components/aichat-code-snippet/aichat-code-snippet.d.ts +218 -0
- package/es/components/aichat-code-snippet/aichat-code-snippet.js +998 -0
- package/es/components/aichat-code-snippet/aichat-code-snippet.js.map +1 -0
- package/es/components/aichat-code-snippet/aichat-code-snippet.scss.js +13 -0
- package/es/components/aichat-code-snippet/aichat-code-snippet.scss.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/base-setup.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/codemirror-loader.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/content-sync.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/detect-language.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/diff-decorator.d.ts +30 -0
- package/es/components/aichat-code-snippet/codemirror/diff-decorator.js +80 -0
- package/es/components/aichat-code-snippet/codemirror/diff-decorator.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/editor-manager.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/language-controller.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/language-data.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/language-utils.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/marker-utils.js.map +1 -0
- package/es/components/aichat-code-snippet/codemirror/theme.js.map +1 -0
- package/es/components/aichat-code-snippet/dom-utils.js.map +1 -0
- package/es/components/aichat-code-snippet/formatters.js +19 -0
- package/es/components/aichat-code-snippet/formatters.js.map +1 -0
- package/es/components/aichat-code-snippet/index.d.ts +7 -0
- package/es/components/aichat-code-snippet/index.js +24 -0
- package/es/components/aichat-code-snippet/index.js.map +1 -0
- package/es/components/aichat-code-snippet/layout-utils.js.map +1 -0
- package/es/components/aichat-code-snippet/streaming-manager.js.map +1 -0
- package/es/components/aichat-conversational-search/aichat-citation-card.d.ts +63 -0
- package/es/components/aichat-conversational-search/aichat-citation-card.js +207 -0
- package/es/components/aichat-conversational-search/aichat-citation-card.js.map +1 -0
- package/es/components/aichat-conversational-search/aichat-citation-card.scss.js +13 -0
- package/es/components/aichat-conversational-search/aichat-citation-card.scss.js.map +1 -0
- package/es/components/aichat-conversational-search/aichat-conversational-search-shell.d.ts +66 -0
- package/es/components/aichat-conversational-search/aichat-conversational-search-shell.js +179 -0
- package/es/components/aichat-conversational-search/aichat-conversational-search-shell.js.map +1 -0
- package/es/components/aichat-conversational-search/aichat-conversational-search-shell.scss.js +13 -0
- package/es/components/aichat-conversational-search/aichat-conversational-search-shell.scss.js.map +1 -0
- package/es/components/aichat-conversational-search/citation-utils.d.ts +32 -0
- package/es/components/aichat-conversational-search/citation-utils.js +78 -0
- package/es/components/aichat-conversational-search/citation-utils.js.map +1 -0
- package/es/components/aichat-conversational-search/index.d.ts +14 -0
- package/es/components/aichat-conversational-search/index.js +25 -0
- package/es/components/aichat-conversational-search/index.js.map +1 -0
- package/es/components/aichat-feedback/aichat-feedback-buttons.d.ts +70 -0
- package/es/components/aichat-feedback/aichat-feedback-buttons.js +188 -0
- package/es/components/aichat-feedback/aichat-feedback-buttons.js.map +1 -0
- package/es/components/aichat-feedback/aichat-feedback-buttons.scss.js +13 -0
- package/es/components/aichat-feedback/aichat-feedback-buttons.scss.js.map +1 -0
- package/es/components/aichat-feedback/aichat-feedback.d.ts +143 -0
- package/es/components/aichat-feedback/aichat-feedback.js +324 -0
- package/es/components/aichat-feedback/aichat-feedback.js.map +1 -0
- package/es/components/aichat-feedback/aichat-feedback.scss.js +13 -0
- package/es/components/aichat-feedback/aichat-feedback.scss.js.map +1 -0
- package/es/components/aichat-feedback/index.d.ts +3 -0
- package/es/components/aichat-feedback/index.js +25 -0
- package/es/components/aichat-feedback/index.js.map +1 -0
- package/es/components/aichat-file-uploads/aichat-file-upload-item.d.ts +117 -0
- package/es/components/aichat-file-uploads/aichat-file-upload-item.js +482 -0
- package/es/components/aichat-file-uploads/aichat-file-upload-item.js.map +1 -0
- package/es/components/aichat-file-uploads/aichat-file-upload-item.scss.js +13 -0
- package/es/components/aichat-file-uploads/aichat-file-upload-item.scss.js.map +1 -0
- package/es/components/aichat-file-uploads/aichat-file-uploads.d.ts +136 -0
- package/es/components/aichat-file-uploads/aichat-file-uploads.js +346 -0
- package/es/components/aichat-file-uploads/aichat-file-uploads.js.map +1 -0
- package/es/components/aichat-file-uploads/aichat-file-uploads.scss.js +13 -0
- package/es/components/aichat-file-uploads/aichat-file-uploads.scss.js.map +1 -0
- package/es/components/aichat-file-uploads/file-type-icon.js.map +1 -0
- package/es/components/aichat-file-uploads/index.d.ts +12 -0
- package/es/components/aichat-file-uploads/index.js +24 -0
- package/es/components/aichat-file-uploads/index.js.map +1 -0
- package/es/components/aichat-history/aichat-history-content.d.ts +26 -0
- package/es/components/aichat-history/aichat-history-content.js +77 -0
- package/es/components/aichat-history/aichat-history-content.js.map +1 -0
- package/es/components/aichat-history/aichat-history-delete-panel.d.ts +51 -0
- package/es/components/aichat-history/aichat-history-delete-panel.js +147 -0
- package/es/components/aichat-history/aichat-history-delete-panel.js.map +1 -0
- package/es/components/aichat-history/aichat-history-header.d.ts +36 -0
- package/es/components/aichat-history/aichat-history-header.js +99 -0
- package/es/components/aichat-history/aichat-history-header.js.map +1 -0
- package/es/components/aichat-history/aichat-history-loading.d.ts +19 -0
- package/es/components/aichat-history/aichat-history-loading.js +60 -0
- package/es/components/aichat-history/aichat-history-loading.js.map +1 -0
- package/es/components/aichat-history/aichat-history-panel-item-input.d.ts +144 -0
- package/es/components/aichat-history/aichat-history-panel-item-input.js +278 -0
- package/es/components/aichat-history/aichat-history-panel-item-input.js.map +1 -0
- package/es/components/aichat-history/aichat-history-panel-item.d.ts +149 -0
- package/es/components/aichat-history/aichat-history-panel-item.js +338 -0
- package/es/components/aichat-history/aichat-history-panel-item.js.map +1 -0
- package/es/components/aichat-history/aichat-history-panel-items.d.ts +14 -0
- package/es/components/aichat-history/aichat-history-panel-items.js +38 -0
- package/es/components/aichat-history/aichat-history-panel-items.js.map +1 -0
- package/es/components/aichat-history/aichat-history-panel-menu.d.ts +13 -0
- package/es/components/aichat-history/aichat-history-panel-menu.js +34 -0
- package/es/components/aichat-history/aichat-history-panel-menu.js.map +1 -0
- package/es/components/aichat-history/aichat-history-panel.d.ts +28 -0
- package/es/components/aichat-history/aichat-history-panel.js +66 -0
- package/es/components/aichat-history/aichat-history-panel.js.map +1 -0
- package/es/components/aichat-history/aichat-history-search-item.d.ts +45 -0
- package/es/components/aichat-history/aichat-history-search-item.js +96 -0
- package/es/components/aichat-history/aichat-history-search-item.js.map +1 -0
- package/es/components/aichat-history/aichat-history-shell.d.ts +26 -0
- package/es/components/aichat-history/aichat-history-shell.js +88 -0
- package/es/components/aichat-history/aichat-history-shell.js.map +1 -0
- package/es/components/aichat-history/aichat-history-toolbar.d.ts +101 -0
- package/es/components/aichat-history/aichat-history-toolbar.js +112 -0
- package/es/components/aichat-history/aichat-history-toolbar.js.map +1 -0
- package/es/components/aichat-history/chat-history.scss.js +13 -0
- package/es/components/aichat-history/index.d.ts +20 -0
- package/es/components/aichat-history/index.js +45 -0
- package/es/components/aichat-history/index.js.map +1 -0
- package/es/components/aichat-launcher/aichat-launcher.d.ts +68 -0
- package/es/components/aichat-launcher/aichat-launcher.js +149 -0
- package/es/components/aichat-launcher/aichat-launcher.js.map +1 -0
- package/es/components/aichat-launcher/aichat-launcher.scss.js +13 -0
- package/es/components/aichat-launcher/aichat-launcher.scss.js.map +1 -0
- package/es/components/aichat-launcher/index.d.ts +11 -0
- package/es/components/aichat-launcher/index.js +23 -0
- package/es/components/aichat-launcher/index.js.map +1 -0
- package/es/components/aichat-markdown/aichat-markdown.d.ts +147 -0
- package/es/components/aichat-markdown/aichat-markdown.js +885 -0
- package/es/components/aichat-markdown/aichat-markdown.js.map +1 -0
- package/es/components/aichat-markdown/aichat-markdown.scss.js +13 -0
- package/es/components/aichat-markdown/aichat-markdown.scss.js.map +1 -0
- package/es/components/aichat-markdown/index.d.ts +11 -0
- package/es/components/aichat-markdown/index.js +28 -0
- package/es/components/aichat-markdown/index.js.map +1 -0
- package/es/components/aichat-markdown/inline-markdown.js +104 -0
- package/es/components/aichat-markdown/inline-markdown.js.map +1 -0
- package/es/components/aichat-markdown/inline-markdown.scss.js +13 -0
- package/es/components/aichat-markdown/inline-run-projection.scss.js +13 -0
- package/es/components/aichat-markdown/markdown-renderer-types.d.ts +397 -0
- package/es/components/aichat-markdown/markdown-renderer.d.ts +23 -0
- package/es/components/aichat-markdown/markdown-renderer.js +639 -0
- package/es/components/aichat-markdown/markdown-renderer.js.map +1 -0
- package/es/components/aichat-markdown/markdown-token-tree.js +357 -0
- package/es/components/aichat-markdown/markdown-token-tree.js.map +1 -0
- package/es/components/aichat-markdown/plugins/markdown-it-attrs.js.map +1 -0
- package/es/components/aichat-markdown/plugins/markdown-it-highlight.js.map +1 -0
- package/es/components/aichat-markdown/plugins/markdown-it-task-lists.js +76 -0
- package/es/components/aichat-markdown/plugins/markdown-it-task-lists.js.map +1 -0
- package/es/components/aichat-markdown/utils/html-helpers.d.ts +5 -0
- package/es/components/aichat-markdown/utils/html-helpers.js.map +1 -0
- package/es/components/aichat-markdown/utils/inline-run-projection.d.ts +28 -0
- package/es/components/aichat-markdown/utils/inline-run-projection.js +192 -0
- package/es/components/aichat-markdown/utils/inline-run-projection.js.map +1 -0
- package/es/components/aichat-markdown/utils/inline-validation.js.map +1 -0
- package/es/components/aichat-markdown/utils/lit-directives.js.map +1 -0
- package/es/components/aichat-markdown/utils/plugin-fallback.js +239 -0
- package/es/components/aichat-markdown/utils/plugin-fallback.js.map +1 -0
- package/es/components/aichat-markdown/utils/plugin-host-container.d.ts +181 -0
- package/es/components/aichat-markdown/utils/plugin-host-container.js +165 -0
- package/es/components/aichat-markdown/utils/plugin-host-container.js.map +1 -0
- package/es/components/aichat-markdown/utils/slot-names.js +81 -0
- package/es/components/aichat-markdown/utils/slot-names.js.map +1 -0
- package/es/components/aichat-markdown/utils/streaming-table.js.map +1 -0
- package/es/components/aichat-markdown/utils/table-helpers.d.ts +32 -0
- package/es/components/aichat-markdown/utils/table-helpers.js +203 -0
- package/es/components/aichat-markdown/utils/table-helpers.js.map +1 -0
- package/es/components/aichat-message-byline/aichat-message-byline.d.ts +49 -0
- package/es/components/aichat-message-byline/aichat-message-byline.js +121 -0
- package/es/components/aichat-message-byline/aichat-message-byline.js.map +1 -0
- package/es/components/aichat-message-byline/aichat-message-byline.scss.js +13 -0
- package/es/components/aichat-message-byline/aichat-message-byline.scss.js.map +1 -0
- package/es/components/aichat-message-byline/index.d.ts +10 -0
- package/es/components/aichat-message-byline/index.js +22 -0
- package/es/components/aichat-message-byline/index.js.map +1 -0
- package/es/components/aichat-message-item-shell/aichat-message-item-shell.d.ts +68 -0
- package/es/components/aichat-message-item-shell/aichat-message-item-shell.js +147 -0
- package/es/components/aichat-message-item-shell/aichat-message-item-shell.js.map +1 -0
- package/es/components/aichat-message-item-shell/aichat-message-item-shell.scss.js +13 -0
- package/es/components/aichat-message-item-shell/aichat-message-item-shell.scss.js.map +1 -0
- package/es/components/aichat-message-item-shell/index.d.ts +11 -0
- package/es/components/aichat-message-item-shell/index.js +22 -0
- package/es/components/aichat-message-item-shell/index.js.map +1 -0
- package/es/components/aichat-messages-shell/aichat-messages-shell.d.ts +168 -0
- package/es/components/aichat-messages-shell/aichat-messages-shell.js +502 -0
- package/es/components/aichat-messages-shell/aichat-messages-shell.js.map +1 -0
- package/es/components/aichat-messages-shell/aichat-messages-shell.scss.js +13 -0
- package/es/components/aichat-messages-shell/aichat-messages-shell.scss.js.map +1 -0
- package/es/components/aichat-messages-shell/index.d.ts +13 -0
- package/es/components/aichat-messages-shell/index.js +23 -0
- package/es/components/aichat-messages-shell/index.js.map +1 -0
- package/es/components/aichat-messages-shell/messages-scroll-controller.d.ts +266 -0
- package/es/components/aichat-messages-shell/messages-scroll-controller.js +1319 -0
- package/es/components/aichat-messages-shell/messages-scroll-controller.js.map +1 -0
- package/es/components/aichat-processing/aichat-processing.d.ts +24 -0
- package/es/components/aichat-processing/aichat-processing.js +66 -0
- package/es/components/aichat-processing/aichat-processing.js.map +1 -0
- package/es/components/aichat-processing/aichat-processing.scss.js +13 -0
- package/es/components/aichat-processing/aichat-processing.scss.js.map +1 -0
- package/es/components/aichat-processing/index.d.ts +2 -0
- package/es/components/aichat-processing/index.js +22 -0
- package/es/components/aichat-processing/index.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-autocomplete-controller.d.ts +86 -0
- package/es/components/aichat-prompt-line/aichat-autocomplete-controller.js +268 -0
- package/es/components/aichat-prompt-line/aichat-autocomplete-controller.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-error-message.d.ts +47 -0
- package/es/components/aichat-prompt-line/aichat-error-message.js +132 -0
- package/es/components/aichat-prompt-line/aichat-error-message.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-error-message.scss.js +13 -0
- package/es/components/aichat-prompt-line/aichat-error-message.scss.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-input-send-control.d.ts +53 -0
- package/es/components/aichat-prompt-line/aichat-input-send-control.js +181 -0
- package/es/components/aichat-prompt-line/aichat-input-send-control.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-input-send-control.scss.js +13 -0
- package/es/components/aichat-prompt-line/aichat-input-send-control.scss.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line-shell.d.ts +124 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line-shell.js +272 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line-shell.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line-shell.scss.js +13 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line-shell.scss.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line.d.ts +213 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line.js +592 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line.scss.js +13 -0
- package/es/components/aichat-prompt-line/aichat-prompt-line.scss.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-stop-streaming-button.d.ts +43 -0
- package/es/components/aichat-prompt-line/aichat-stop-streaming-button.js +90 -0
- package/es/components/aichat-prompt-line/aichat-stop-streaming-button.js.map +1 -0
- package/es/components/aichat-prompt-line/aichat-stop-streaming-button.scss.js +13 -0
- package/es/components/aichat-prompt-line/aichat-stop-streaming-button.scss.js.map +1 -0
- package/es/components/aichat-prompt-line/autocomplete-controller.d.ts +148 -0
- package/es/components/aichat-prompt-line/autocomplete-controller.js +503 -0
- package/es/components/aichat-prompt-line/autocomplete-controller.js.map +1 -0
- package/es/components/aichat-prompt-line/index.d.ts +25 -0
- package/es/components/aichat-prompt-line/index.js +50 -0
- package/es/components/aichat-prompt-line/index.js.map +1 -0
- package/es/components/aichat-prompt-line/prompt-line-constants.d.ts +35 -0
- package/es/components/aichat-prompt-line/prompt-line-constants.js +42 -0
- package/es/components/aichat-prompt-line/prompt-line-constants.js.map +1 -0
- package/es/components/aichat-prompt-line/prompt-line-controller.d.ts +122 -0
- package/es/components/aichat-prompt-line/prompt-line-mouse-focus.js.map +1 -0
- package/es/components/aichat-prompt-line/prompt-line-rich-loader.js.map +1 -0
- package/es/components/aichat-prompt-line/prompt-line-rich-runtime.js +446 -0
- package/es/components/aichat-prompt-line/prompt-line-rich-runtime.js.map +1 -0
- package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.d.ts +68 -0
- package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.js +394 -0
- package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/build-extensions.d.ts +47 -0
- package/es/components/aichat-prompt-line/tiptap/build-extensions.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.d.ts +36 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.js +112 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-mention.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.d.ts +34 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.js +99 -0
- package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/chat-enter.d.ts +20 -0
- package/es/components/aichat-prompt-line/tiptap/chat-enter.js +49 -0
- package/es/components/aichat-prompt-line/tiptap/chat-enter.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/editor-styles.js +83 -0
- package/es/components/aichat-prompt-line/tiptap/editor-styles.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/extension-equivalence.d.ts +64 -0
- package/es/components/aichat-prompt-line/tiptap/extension-equivalence.js +80 -0
- package/es/components/aichat-prompt-line/tiptap/extension-equivalence.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/index.d.ts +37 -0
- package/es/components/aichat-prompt-line/tiptap/json-utils.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/keymap.d.ts +34 -0
- package/es/components/aichat-prompt-line/tiptap/keymap.js +61 -0
- package/es/components/aichat-prompt-line/tiptap/keymap.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/origin-meta.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/plain-text-paste.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.d.ts +89 -0
- package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.js +43 -0
- package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/render-token-chip.js +92 -0
- package/es/components/aichat-prompt-line/tiptap/render-token-chip.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/resolve-config-items.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/strip-presentation-fields.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/token-node-view.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/trigger-utils.d.ts +42 -0
- package/es/components/aichat-prompt-line/tiptap/trigger-utils.js +69 -0
- package/es/components/aichat-prompt-line/tiptap/trigger-utils.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/types.d.ts +228 -0
- package/es/components/aichat-prompt-line/tiptap/typing-indicator.d.ts +18 -0
- package/es/components/aichat-prompt-line/tiptap/typing-indicator.js +92 -0
- package/es/components/aichat-prompt-line/tiptap/typing-indicator.js.map +1 -0
- package/es/components/aichat-prompt-line/tiptap/value-sync.d.ts +17 -0
- package/es/components/aichat-prompt-line/tiptap/value-sync.js +57 -0
- package/es/components/aichat-prompt-line/tiptap/value-sync.js.map +1 -0
- package/es/components/aichat-prompt-line/types.d.ts +125 -0
- package/es/components/aichat-prompt-line/types.js.map +1 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-step.d.ts +63 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-step.js +299 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-step.js.map +1 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-step.scss.js +13 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-step.scss.js.map +1 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.d.ts +42 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.js +106 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.js.map +1 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.scss.js +13 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.scss.js.map +1 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.d.ts +52 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.js +171 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.js.map +1 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.scss.js +13 -0
- package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.scss.js.map +1 -0
- package/es/components/aichat-reasoning-steps/index.d.ts +5 -0
- package/es/components/aichat-reasoning-steps/index.js +26 -0
- package/es/components/aichat-reasoning-steps/index.js.map +1 -0
- package/es/components/aichat-shell/aichat-chat-header.d.ts +183 -0
- package/es/components/aichat-shell/aichat-chat-header.js +412 -0
- package/es/components/aichat-shell/aichat-chat-header.js.map +1 -0
- package/es/components/aichat-shell/aichat-chat-header.scss.js +13 -0
- package/es/components/aichat-shell/aichat-chat-header.scss.js.map +1 -0
- package/es/components/aichat-shell/aichat-panel.d.ts +121 -0
- package/es/components/aichat-shell/aichat-panel.js +531 -0
- package/es/components/aichat-shell/aichat-panel.js.map +1 -0
- package/es/components/aichat-shell/aichat-panel.scss.js +13 -0
- package/es/components/aichat-shell/aichat-panel.scss.js.map +1 -0
- package/es/components/aichat-shell/aichat-shell.d.ts +143 -0
- package/es/components/aichat-shell/aichat-shell.js +878 -0
- package/es/components/aichat-shell/aichat-shell.js.map +1 -0
- package/es/components/aichat-shell/aichat-shell.scss.js +13 -0
- package/es/components/aichat-shell/aichat-shell.scss.js.map +1 -0
- package/es/components/aichat-shell/corner-manager.js +101 -0
- package/es/components/aichat-shell/corner-manager.js.map +1 -0
- package/es/components/aichat-shell/index.d.ts +15 -0
- package/es/components/aichat-shell/index.js +27 -0
- package/es/components/aichat-shell/index.js.map +1 -0
- package/es/components/aichat-shell/initialization-manager.js.map +1 -0
- package/es/components/aichat-shell/panel-manager.d.ts +42 -0
- package/es/components/aichat-shell/panel-manager.js +262 -0
- package/es/components/aichat-shell/panel-manager.js.map +1 -0
- package/es/components/aichat-shell/resize-observer-manager.js.map +1 -0
- package/es/components/aichat-shell/slot-observer.js.map +1 -0
- package/es/components/aichat-shell/workspace-manager-utils.js.map +1 -0
- package/es/components/aichat-shell/workspace-manager.d.ts +173 -0
- package/es/components/aichat-shell/workspace-manager.js +717 -0
- package/es/components/aichat-shell/workspace-manager.js.map +1 -0
- package/es/components/aichat-table/aichat-table.d.ts +212 -0
- package/es/components/aichat-table/aichat-table.js +640 -0
- package/es/components/aichat-table/aichat-table.js.map +1 -0
- package/es/components/aichat-table/aichat-table.scss.js +13 -0
- package/es/components/aichat-table/aichat-table.scss.js.map +1 -0
- package/es/components/aichat-table/index.d.ts +4 -0
- package/es/components/aichat-table/index.js +22 -0
- package/es/components/aichat-table/index.js.map +1 -0
- package/es/components/aichat-table/table-loader.js.map +1 -0
- package/es/components/aichat-table/table-pagination.template.d.ts +27 -0
- package/es/components/aichat-table/table-pagination.template.js +55 -0
- package/es/components/aichat-table/table-pagination.template.js.map +1 -0
- package/es/components/aichat-table/table-skeleton.template.d.ts +6 -0
- package/es/components/aichat-table/table-skeleton.template.js +35 -0
- package/es/components/aichat-table/table-skeleton.template.js.map +1 -0
- package/es/components/aichat-table/table.template.d.ts +10 -0
- package/es/components/aichat-table/table.template.js +96 -0
- package/es/components/aichat-table/table.template.js.map +1 -0
- package/es/components/aichat-toolbar/aichat-toolbar.d.ts +93 -0
- package/es/components/aichat-toolbar/aichat-toolbar.js +367 -0
- package/es/components/aichat-toolbar/aichat-toolbar.js.map +1 -0
- package/es/components/aichat-toolbar/aichat-toolbar.scss.js +13 -0
- package/es/components/aichat-toolbar/aichat-toolbar.scss.js.map +1 -0
- package/es/components/aichat-toolbar/index.d.ts +3 -0
- package/es/components/aichat-toolbar/index.js +23 -0
- package/es/components/aichat-toolbar/index.js.map +1 -0
- package/es/components/aichat-truncated-text/aichat-truncated-text.d.ts +83 -0
- package/es/components/aichat-truncated-text/aichat-truncated-text.js +291 -0
- package/es/components/aichat-truncated-text/aichat-truncated-text.js.map +1 -0
- package/es/components/aichat-truncated-text/aichat-truncated-text.scss.js +13 -0
- package/es/components/aichat-truncated-text/aichat-truncated-text.scss.js.map +1 -0
- package/es/components/aichat-truncated-text/index.d.ts +10 -0
- package/es/components/aichat-truncated-text/index.js +22 -0
- package/es/components/aichat-truncated-text/index.js.map +1 -0
- package/es/components/aichat-user-avatar/aichat-user-avatar.d.ts +47 -0
- package/es/components/aichat-user-avatar/aichat-user-avatar.js +151 -0
- package/es/components/aichat-user-avatar/aichat-user-avatar.js.map +1 -0
- package/es/components/aichat-user-avatar/aichat-user-avatar.scss.js +13 -0
- package/es/components/aichat-user-avatar/aichat-user-avatar.scss.js.map +1 -0
- package/es/components/aichat-user-avatar/index.d.ts +10 -0
- package/es/components/aichat-user-avatar/index.js +22 -0
- package/es/components/aichat-user-avatar/index.js.map +1 -0
- package/es/components/aichat-user-message-content/aichat-user-message-content.d.ts +76 -0
- package/es/components/aichat-user-message-content/aichat-user-message-content.js +231 -0
- package/es/components/aichat-user-message-content/aichat-user-message-content.js.map +1 -0
- package/es/components/aichat-user-message-content/aichat-user-message-content.scss.js +13 -0
- package/es/components/aichat-user-message-content/aichat-user-message-content.scss.js.map +1 -0
- package/es/components/aichat-user-message-content/index.d.ts +11 -0
- package/es/components/aichat-user-message-content/index.js +23 -0
- package/es/components/aichat-user-message-content/index.js.map +1 -0
- package/es/components/aichat-user-message-content/split-run-breaks.d.ts +21 -0
- package/es/components/aichat-user-message-content/split-run-breaks.js +36 -0
- package/es/components/aichat-user-message-content/split-run-breaks.js.map +1 -0
- package/es/components/aichat-video-player/aichat-video-player.d.ts +151 -0
- package/es/components/aichat-video-player/aichat-video-player.js +417 -0
- package/es/components/aichat-video-player/aichat-video-player.js.map +1 -0
- package/es/components/aichat-video-player/aichat-video-player.scss.js +13 -0
- package/es/components/aichat-video-player/aichat-video-player.scss.js.map +1 -0
- package/es/components/aichat-video-player/index.d.ts +10 -0
- package/es/components/aichat-video-player/index.js +22 -0
- package/es/components/aichat-video-player/index.js.map +1 -0
- package/es/components/aichat-video-player/providers/base-provider.js.map +1 -0
- package/es/components/aichat-video-player/providers/kaltura-provider.js +192 -0
- package/es/components/aichat-video-player/providers/kaltura-provider.js.map +1 -0
- package/es/components/aichat-video-player/providers/native-video-provider.js +158 -0
- package/es/components/aichat-video-player/providers/native-video-provider.js.map +1 -0
- package/es/components/aichat-video-player/providers/vimeo-provider.js +194 -0
- package/es/components/aichat-video-player/providers/vimeo-provider.js.map +1 -0
- package/es/components/aichat-video-player/providers/youtube-provider.js +215 -0
- package/es/components/aichat-video-player/providers/youtube-provider.js.map +1 -0
- package/es/components/aichat-video-player/utils/url-detector.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.d.ts +18 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.js +50 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.d.ts +40 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.js +149 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.scss.js +13 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.scss.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.d.ts +43 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.js +147 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.scss.js +13 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.scss.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell.d.ts +31 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell.js +131 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell.js.map +1 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell.scss.js +13 -0
- package/es/components/aichat-workspace-shell/aichat-workspace-shell.scss.js.map +1 -0
- package/es/components/aichat-workspace-shell/header-collapsible-manager.js.map +1 -0
- package/es/components/aichat-workspace-shell/index.d.ts +8 -0
- package/es/components/aichat-workspace-shell/index.js +29 -0
- package/es/components/aichat-workspace-shell/index.js.map +1 -0
- package/es/components/audio-player/index.d.ts +1 -12
- package/es/components/audio-player/index.js +3 -2
- package/es/components/audio-player/index.js.map +1 -1
- package/es/components/audio-player/src/audio-player.d.ts +2 -132
- package/es/components/audio-player/src/audio-player.js +1 -385
- package/es/components/audio-player/src/audio-player.js.map +1 -1
- package/es/components/audio-player/src/audio-player.scss.d.ts +3 -0
- package/es/components/audio-player/src/audio-player.scss.js +9 -3
- package/es/components/audio-player/src/audio-player.scss.js.map +1 -1
- package/es/components/audio-player/src/providers/base-provider.d.ts +1 -125
- package/es/components/audio-player/src/providers/base-provider.js +1 -132
- package/es/components/audio-player/src/providers/base-provider.js.map +1 -1
- package/es/components/audio-player/src/providers/native-audio-provider.d.ts +1 -49
- package/es/components/audio-player/src/providers/native-audio-provider.js +1 -143
- package/es/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
- package/es/components/audio-player/src/providers/soundcloud-provider.d.ts +1 -61
- package/es/components/audio-player/src/providers/soundcloud-provider.js +1 -192
- package/es/components/audio-player/src/providers/soundcloud-provider.js.map +1 -1
- package/es/components/audio-player/src/transcript.d.ts +2 -58
- package/es/components/audio-player/src/transcript.js +1 -155
- package/es/components/audio-player/src/transcript.js.map +1 -1
- package/es/components/audio-player/src/transcript.scss.d.ts +3 -0
- package/es/components/audio-player/src/transcript.scss.js +9 -3
- package/es/components/audio-player/src/transcript.scss.js.map +1 -1
- package/es/components/audio-player/src/utils/url-detector.d.ts +1 -32
- package/es/components/audio-player/src/utils/url-detector.js +1 -55
- package/es/components/audio-player/src/utils/url-detector.js.map +1 -1
- package/es/components/card/index.d.ts +1 -11
- package/es/components/card/index.js +4 -3
- package/es/components/card/index.js.map +1 -1
- package/es/components/card/src/card-footer.d.ts +2 -44
- package/es/components/card/src/card-footer.js +1 -131
- package/es/components/card/src/card-footer.js.map +1 -1
- package/es/components/card/src/card-footer.scss.d.ts +3 -0
- package/es/components/card/src/card-footer.scss.js +9 -3
- package/es/components/card/src/card-footer.scss.js.map +1 -1
- package/es/components/card/src/card-steps.d.ts +2 -29
- package/es/components/card/src/card-steps.js +1 -83
- package/es/components/card/src/card-steps.js.map +1 -1
- package/es/components/card/src/card-steps.scss.d.ts +3 -0
- package/es/components/card/src/card-steps.scss.js +9 -3
- package/es/components/card/src/card-steps.scss.js.map +1 -1
- package/es/components/card/src/card.d.ts +2 -28
- package/es/components/card/src/card.js +1 -58
- package/es/components/card/src/card.js.map +1 -1
- package/es/components/card/src/card.scss.d.ts +3 -0
- package/es/components/card/src/card.scss.js +9 -3
- package/es/components/card/src/card.scss.js.map +1 -1
- package/es/components/carousel/index.d.ts +1 -9
- package/es/components/carousel/index.js +2 -1
- package/es/components/carousel/index.js.map +1 -1
- package/es/components/carousel/src/carousel.d.ts +2 -39
- package/es/components/carousel/src/carousel.js +1 -122
- package/es/components/carousel/src/carousel.js.map +1 -1
- package/es/components/carousel/src/carousel.scss.d.ts +3 -0
- package/es/components/carousel/src/carousel.scss.js +9 -3
- package/es/components/carousel/src/carousel.scss.js.map +1 -1
- package/es/components/chain-of-thought/defs.d.ts +1 -54
- package/es/components/chain-of-thought/defs.js +1 -30
- package/es/components/chain-of-thought/defs.js.map +1 -1
- package/es/components/chain-of-thought/index.d.ts +2 -10
- package/es/components/chain-of-thought/index.js +6 -5
- package/es/components/chain-of-thought/index.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +2 -47
- package/es/components/chain-of-thought/src/chain-of-thought-step.js +1 -340
- package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought-step.scss.d.ts +3 -0
- package/es/components/chain-of-thought/src/chain-of-thought-step.scss.js +9 -3
- package/es/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -37
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +1 -100
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.d.ts +3 -0
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +9 -3
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought.d.ts +2 -45
- package/es/components/chain-of-thought/src/chain-of-thought.js +1 -128
- package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
- package/es/components/chain-of-thought/src/chain-of-thought.scss.d.ts +3 -0
- package/es/components/chain-of-thought/src/chain-of-thought.scss.js +9 -3
- package/es/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -1
- package/es/components/chain-of-thought/src/tool-call-data.d.ts +2 -37
- package/es/components/chain-of-thought/src/tool-call-data.js +1 -170
- package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
- package/es/components/chain-of-thought/src/tool-call-data.scss.d.ts +3 -0
- package/es/components/chain-of-thought/src/tool-call-data.scss.js +9 -3
- package/es/components/chain-of-thought/src/tool-call-data.scss.js.map +1 -1
- package/es/components/chat-button/defs.d.ts +1 -25
- package/es/components/chat-button/defs.js +1 -28
- package/es/components/chat-button/defs.js.map +1 -1
- package/es/components/chat-button/index.d.ts +1 -10
- package/es/components/chat-button/index.js +3 -2
- package/es/components/chat-button/index.js.map +1 -1
- package/es/components/chat-button/src/chat-button-skeleton.d.ts +2 -30
- package/es/components/chat-button/src/chat-button-skeleton.js +1 -33
- package/es/components/chat-button/src/chat-button-skeleton.js.map +1 -1
- package/es/components/chat-button/src/chat-button.d.ts +2 -43
- package/es/components/chat-button/src/chat-button.js +2 -104
- package/es/components/chat-button/src/chat-button.js.map +1 -1
- package/es/components/chat-button/src/chat-button.scss.d.ts +3 -0
- package/es/components/chat-button/src/chat-button.scss.js +9 -3
- package/es/components/chat-button/src/chat-button.scss.js.map +1 -1
- package/es/components/chat-history/index.d.ts +1 -11
- package/es/components/chat-history/index.js +13 -11
- package/es/components/chat-history/index.js.map +1 -1
- package/es/components/chat-history/src/chat-history.scss.d.ts +3 -0
- package/es/components/chat-history/src/chat-history.scss.js +9 -3
- package/es/components/chat-history/src/chat-history.scss.js.map +1 -1
- package/es/components/chat-history/src/history-content.d.ts +2 -25
- package/es/components/chat-history/src/history-content.js +1 -68
- package/es/components/chat-history/src/history-content.js.map +1 -1
- package/es/components/chat-history/src/history-delete-panel.d.ts +2 -36
- package/es/components/chat-history/src/history-delete-panel.js +1 -135
- package/es/components/chat-history/src/history-delete-panel.js.map +1 -1
- package/es/components/chat-history/src/history-header.d.ts +2 -34
- package/es/components/chat-history/src/history-header.js +1 -90
- package/es/components/chat-history/src/history-header.js.map +1 -1
- package/es/components/chat-history/src/history-loading.d.ts +2 -18
- package/es/components/chat-history/src/history-loading.js +1 -54
- package/es/components/chat-history/src/history-loading.js.map +1 -1
- package/es/components/chat-history/src/history-panel-item-input.d.ts +2 -130
- package/es/components/chat-history/src/history-panel-item-input.js +1 -273
- package/es/components/chat-history/src/history-panel-item-input.js.map +1 -1
- package/es/components/chat-history/src/history-panel-item.d.ts +2 -150
- package/es/components/chat-history/src/history-panel-item.js +1 -448
- package/es/components/chat-history/src/history-panel-item.js.map +1 -1
- package/es/components/chat-history/src/history-panel-items.d.ts +2 -13
- package/es/components/chat-history/src/history-panel-items.js +1 -33
- package/es/components/chat-history/src/history-panel-items.js.map +1 -1
- package/es/components/chat-history/src/history-panel-menu.d.ts +2 -12
- package/es/components/chat-history/src/history-panel-menu.js +1 -29
- package/es/components/chat-history/src/history-panel-menu.js.map +1 -1
- package/es/components/chat-history/src/history-panel.d.ts +2 -27
- package/es/components/chat-history/src/history-panel.js +1 -60
- package/es/components/chat-history/src/history-panel.js.map +1 -1
- package/es/components/chat-history/src/history-search-item.d.ts +2 -43
- package/es/components/chat-history/src/history-search-item.js +1 -87
- package/es/components/chat-history/src/history-search-item.js.map +1 -1
- package/es/components/chat-history/src/history-shell.d.ts +2 -23
- package/es/components/chat-history/src/history-shell.js +1 -81
- package/es/components/chat-history/src/history-shell.js.map +1 -1
- package/es/components/chat-history/src/history-toolbar.d.ts +2 -89
- package/es/components/chat-history/src/history-toolbar.js +1 -100
- package/es/components/chat-history/src/history-toolbar.js.map +1 -1
- package/es/components/chat-shell/index.d.ts +1 -12
- package/es/components/chat-shell/index.js +4 -3
- package/es/components/chat-shell/index.js.map +1 -1
- package/es/components/chat-shell/src/chat-header.d.ts +2 -177
- package/es/components/chat-shell/src/chat-header.js +1 -406
- package/es/components/chat-shell/src/chat-header.js.map +1 -1
- package/es/components/chat-shell/src/chat-header.scss.d.ts +3 -0
- package/es/components/chat-shell/src/chat-header.scss.js +9 -3
- package/es/components/chat-shell/src/chat-header.scss.js.map +1 -1
- package/es/components/chat-shell/src/corner-manager.d.ts +1 -39
- package/es/components/chat-shell/src/corner-manager.js +1 -93
- package/es/components/chat-shell/src/corner-manager.js.map +1 -1
- package/es/components/chat-shell/src/initialization-manager.d.ts +1 -44
- package/es/components/chat-shell/src/initialization-manager.js +1 -79
- package/es/components/chat-shell/src/initialization-manager.js.map +1 -1
- package/es/components/chat-shell/src/panel-manager.d.ts +1 -39
- package/es/components/chat-shell/src/panel-manager.js +1 -251
- package/es/components/chat-shell/src/panel-manager.js.map +1 -1
- package/es/components/chat-shell/src/panel.d.ts +2 -93
- package/es/components/chat-shell/src/panel.js +1 -519
- package/es/components/chat-shell/src/panel.js.map +1 -1
- package/es/components/chat-shell/src/panel.scss.d.ts +3 -0
- package/es/components/chat-shell/src/panel.scss.js +9 -3
- package/es/components/chat-shell/src/panel.scss.js.map +1 -1
- package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -55
- package/es/components/chat-shell/src/resize-observer-manager.js +1 -212
- package/es/components/chat-shell/src/resize-observer-manager.js.map +1 -1
- package/es/components/chat-shell/src/shell.d.ts +2 -133
- package/es/components/chat-shell/src/shell.js +1 -864
- package/es/components/chat-shell/src/shell.js.map +1 -1
- package/es/components/chat-shell/src/shell.scss.d.ts +3 -0
- package/es/components/chat-shell/src/shell.scss.js +9 -3
- package/es/components/chat-shell/src/shell.scss.js.map +1 -1
- package/es/components/chat-shell/src/slot-observer.d.ts +1 -53
- package/es/components/chat-shell/src/slot-observer.js +1 -144
- package/es/components/chat-shell/src/slot-observer.js.map +1 -1
- package/es/components/chat-shell/src/types.d.ts +1 -66
- package/es/components/chat-shell/src/workspace-manager-utils.d.ts +1 -90
- package/es/components/chat-shell/src/workspace-manager-utils.js +1 -111
- package/es/components/chat-shell/src/workspace-manager-utils.js.map +1 -1
- package/es/components/chat-shell/src/workspace-manager.d.ts +1 -173
- package/es/components/chat-shell/src/workspace-manager.js +1 -709
- package/es/components/chat-shell/src/workspace-manager.js.map +1 -1
- package/es/components/code-snippet/index.d.ts +2 -4
- package/es/components/code-snippet/index.js +2 -1
- package/es/components/code-snippet/index.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.d.ts +2 -211
- package/es/components/code-snippet/src/code-snippet.js +1 -986
- package/es/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es/components/code-snippet/src/code-snippet.scss.d.ts +3 -0
- package/es/components/code-snippet/src/code-snippet.scss.js +9 -3
- package/es/components/code-snippet/src/code-snippet.scss.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.d.ts +1 -19
- package/es/components/code-snippet/src/codemirror/base-setup.js +1 -68
- package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -7
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js +1 -21
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -8
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +4 -4
- package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -12
- package/es/components/code-snippet/src/codemirror/content-sync.js +1 -64
- package/es/components/code-snippet/src/codemirror/content-sync.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/detect-language.d.ts +1 -6
- package/es/components/code-snippet/src/codemirror/detect-language.js +1 -69
- package/es/components/code-snippet/src/codemirror/detect-language.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/diff-decorator.d.ts +1 -30
- package/es/components/code-snippet/src/codemirror/diff-decorator.js +1 -72
- package/es/components/code-snippet/src/codemirror/diff-decorator.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +1 -31
- package/es/components/code-snippet/src/codemirror/editor-manager.js +1 -87
- package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/language-controller.d.ts +1 -39
- package/es/components/code-snippet/src/codemirror/language-controller.js +1 -218
- package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/language-data.d.ts +1 -6
- package/es/components/code-snippet/src/codemirror/language-data.js +1 -1035
- package/es/components/code-snippet/src/codemirror/language-data.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/language-utils.d.ts +1 -79
- package/es/components/code-snippet/src/codemirror/language-utils.js +1 -205
- package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/marker-utils.d.ts +1 -123
- package/es/components/code-snippet/src/codemirror/marker-utils.js +1 -176
- package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/theme.d.ts +1 -66
- package/es/components/code-snippet/src/codemirror/theme.js +1 -339
- package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
- package/es/components/code-snippet/src/dom-utils.d.ts +1 -25
- package/es/components/code-snippet/src/dom-utils.js +1 -66
- package/es/components/code-snippet/src/dom-utils.js.map +1 -1
- package/es/components/code-snippet/src/formatters.d.ts +1 -4
- package/es/components/code-snippet/src/formatters.js +1 -11
- package/es/components/code-snippet/src/formatters.js.map +1 -1
- package/es/components/code-snippet/src/layout-utils.d.ts +1 -30
- package/es/components/code-snippet/src/layout-utils.js +1 -73
- package/es/components/code-snippet/src/layout-utils.js.map +1 -1
- package/es/components/code-snippet/src/streaming-manager.d.ts +1 -24
- package/es/components/code-snippet/src/streaming-manager.js +1 -119
- package/es/components/code-snippet/src/streaming-manager.js.map +1 -1
- package/es/components/conversational-search/index.d.ts +1 -9
- package/es/components/conversational-search/index.js +3 -1
- package/es/components/conversational-search/index.js.map +1 -1
- package/es/components/conversational-search/src/citation-card.d.ts +2 -0
- package/es/components/conversational-search/src/citation-card.js +9 -0
- package/es/components/conversational-search/src/citation-card.js.map +1 -0
- package/es/components/conversational-search/src/citation-card.scss.d.ts +3 -0
- package/es/components/conversational-search/src/citation-card.scss.js +19 -0
- package/es/components/conversational-search/src/citation-card.scss.js.map +1 -0
- package/es/components/conversational-search/src/citation-utils.d.ts +1 -24
- package/es/components/conversational-search/src/citation-utils.js +1 -38
- package/es/components/conversational-search/src/citation-utils.js.map +1 -1
- package/es/components/conversational-search/src/conversational-search-shell.d.ts +2 -41
- package/es/components/conversational-search/src/conversational-search-shell.js +1 -108
- package/es/components/conversational-search/src/conversational-search-shell.js.map +1 -1
- package/es/components/conversational-search/src/conversational-search-shell.scss.d.ts +3 -0
- package/es/components/conversational-search/src/conversational-search-shell.scss.js +9 -3
- package/es/components/conversational-search/src/conversational-search-shell.scss.js.map +1 -1
- package/es/components/feedback/index.d.ts +1 -4
- package/es/components/feedback/index.js +3 -2
- package/es/components/feedback/index.js.map +1 -1
- package/es/components/feedback/src/feedback-buttons.d.ts +2 -68
- package/es/components/feedback/src/feedback-buttons.js +1 -181
- package/es/components/feedback/src/feedback-buttons.js.map +1 -1
- package/es/components/feedback/src/feedback-buttons.scss.d.ts +3 -0
- package/es/components/feedback/src/feedback-buttons.scss.js +9 -3
- package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -1
- package/es/components/feedback/src/feedback.d.ts +2 -141
- package/es/components/feedback/src/feedback.js +1 -332
- package/es/components/feedback/src/feedback.js.map +1 -1
- package/es/components/feedback/src/feedback.scss.d.ts +3 -0
- package/es/components/feedback/src/feedback.scss.js +9 -3
- package/es/components/feedback/src/feedback.scss.js.map +1 -1
- package/es/components/file-uploads/index.d.ts +1 -13
- package/es/components/file-uploads/index.js +3 -2
- package/es/components/file-uploads/index.js.map +1 -1
- package/es/components/file-uploads/src/file-type-icon.d.ts +1 -18
- package/es/components/file-uploads/src/file-type-icon.js +1 -79
- package/es/components/file-uploads/src/file-type-icon.js.map +1 -1
- package/es/components/file-uploads/src/file-upload-item.d.ts +2 -116
- package/es/components/file-uploads/src/file-upload-item.js +1 -474
- package/es/components/file-uploads/src/file-upload-item.js.map +1 -1
- package/es/components/file-uploads/src/file-upload-item.scss.d.ts +3 -0
- package/es/components/file-uploads/src/file-upload-item.scss.js +9 -3
- package/es/components/file-uploads/src/file-upload-item.scss.js.map +1 -1
- package/es/components/file-uploads/src/file-uploads.d.ts +2 -136
- package/es/components/file-uploads/src/file-uploads.js +1 -337
- package/es/components/file-uploads/src/file-uploads.js.map +1 -1
- package/es/components/file-uploads/src/file-uploads.scss.d.ts +3 -0
- package/es/components/file-uploads/src/file-uploads.scss.js +9 -3
- package/es/components/file-uploads/src/file-uploads.scss.js.map +1 -1
- package/es/components/file-uploads/src/types.d.ts +1 -39
- package/es/components/launcher/index.d.ts +1 -9
- package/es/components/launcher/index.js +2 -1
- package/es/components/launcher/index.js.map +1 -1
- package/es/components/launcher/src/launcher.d.ts +2 -68
- package/es/components/launcher/src/launcher.js +1 -145
- package/es/components/launcher/src/launcher.js.map +1 -1
- package/es/components/launcher/src/launcher.scss.d.ts +3 -0
- package/es/components/launcher/src/launcher.scss.js +9 -3
- package/es/components/launcher/src/launcher.scss.js.map +1 -1
- package/es/components/markdown/index.d.ts +2 -8
- package/es/components/markdown/index.js +5 -4
- package/es/components/markdown/index.js.map +1 -1
- package/es/components/markdown/src/inline-markdown.d.ts +1 -41
- package/es/components/markdown/src/inline-markdown.js +2 -90
- package/es/components/markdown/src/inline-markdown.js.map +1 -1
- package/es/components/markdown/src/markdown-renderer-types.d.ts +1 -397
- package/es/components/markdown/src/markdown-renderer.d.ts +1 -26
- package/es/components/markdown/src/markdown-renderer.js +1 -634
- package/es/components/markdown/src/markdown-renderer.js.map +1 -1
- package/es/components/markdown/src/markdown-token-tree.d.ts +1 -83
- package/es/components/markdown/src/markdown-token-tree.js +1 -349
- package/es/components/markdown/src/markdown-token-tree.js.map +1 -1
- package/es/components/markdown/src/markdown.d.ts +2 -143
- package/es/components/markdown/src/markdown.js +1 -876
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es/components/markdown/src/markdown.scss.d.ts +3 -0
- package/es/components/markdown/src/markdown.scss.js +9 -3
- package/es/components/markdown/src/markdown.scss.js.map +1 -1
- package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -6
- package/es/components/markdown/src/plugins/markdown-it-attrs.js +1 -189
- package/es/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -1
- package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -7
- package/es/components/markdown/src/plugins/markdown-it-highlight.js +1 -51
- package/es/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -1
- package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -12
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js +1 -68
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -1
- package/es/components/markdown/src/utils/html-helpers.d.ts +1 -5
- package/es/components/markdown/src/utils/html-helpers.js +1 -317
- package/es/components/markdown/src/utils/html-helpers.js.map +1 -1
- package/es/components/markdown/src/utils/inline-run-projection.d.ts +1 -15
- package/es/components/markdown/src/utils/inline-run-projection.js +1 -174
- package/es/components/markdown/src/utils/inline-run-projection.js.map +1 -1
- package/es/components/markdown/src/utils/inline-validation.d.ts +1 -13
- package/es/components/markdown/src/utils/inline-validation.js +1 -89
- package/es/components/markdown/src/utils/inline-validation.js.map +1 -1
- package/es/components/markdown/src/utils/lit-directives.d.ts +1 -17
- package/es/components/markdown/src/utils/lit-directives.js +1 -76
- package/es/components/markdown/src/utils/lit-directives.js.map +1 -1
- package/es/components/markdown/src/utils/plugin-fallback.d.ts +1 -36
- package/es/components/markdown/src/utils/plugin-fallback.js +1 -230
- package/es/components/markdown/src/utils/plugin-fallback.js.map +1 -1
- package/es/components/markdown/src/utils/plugin-host-container.d.ts +1 -159
- package/es/components/markdown/src/utils/plugin-host-container.js +1 -157
- package/es/components/markdown/src/utils/plugin-host-container.js.map +1 -1
- package/es/components/markdown/src/utils/slot-names.d.ts +1 -1
- package/es/components/markdown/src/utils/slot-names.js +1 -75
- package/es/components/markdown/src/utils/slot-names.js.map +1 -1
- package/es/components/markdown/src/utils/streaming-table.d.ts +1 -28
- package/es/components/markdown/src/utils/streaming-table.js +1 -78
- package/es/components/markdown/src/utils/streaming-table.js.map +1 -1
- package/es/components/markdown/src/utils/table-helpers.d.ts +1 -32
- package/es/components/markdown/src/utils/table-helpers.js +1 -195
- package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
- package/es/components/message-byline/index.d.ts +9 -0
- package/es/components/message-byline/index.js +10 -0
- package/es/components/message-byline/src/message-byline.d.ts +2 -0
- package/es/components/message-byline/src/message-byline.js +9 -0
- package/es/components/message-byline/src/message-byline.js.map +1 -0
- package/es/components/message-byline/src/message-byline.scss.d.ts +3 -0
- package/es/components/message-byline/src/message-byline.scss.js +19 -0
- package/es/components/message-byline/src/message-byline.scss.js.map +1 -0
- package/es/components/message-item-shell/index.d.ts +1 -3
- package/es/components/message-item-shell/index.js +2 -1
- package/es/components/message-item-shell/index.js.map +1 -1
- package/es/components/message-item-shell/src/message-item-shell.d.ts +2 -48
- package/es/components/message-item-shell/src/message-item-shell.js +1 -83
- package/es/components/message-item-shell/src/message-item-shell.js.map +1 -1
- package/es/components/message-item-shell/src/message-item-shell.scss.d.ts +3 -0
- package/es/components/message-item-shell/src/message-item-shell.scss.js +9 -3
- package/es/components/message-item-shell/src/message-item-shell.scss.js.map +1 -1
- package/es/components/messages-shell/index.d.ts +1 -3
- package/es/components/messages-shell/index.js +3 -1
- package/es/components/messages-shell/index.js.map +1 -1
- package/es/components/messages-shell/src/messages-scroll-controller.d.ts +1 -0
- package/es/components/messages-shell/src/messages-scroll-controller.js +9 -0
- package/es/components/messages-shell/src/messages-scroll-controller.js.map +1 -0
- package/es/components/messages-shell/src/messages-shell.d.ts +6 -53
- package/es/components/messages-shell/src/messages-shell.js +1 -133
- package/es/components/messages-shell/src/messages-shell.js.map +1 -1
- package/es/components/messages-shell/src/messages-shell.scss.d.ts +3 -0
- package/es/components/messages-shell/src/messages-shell.scss.js +9 -3
- package/es/components/messages-shell/src/messages-shell.scss.js.map +1 -1
- package/es/components/processing/index.d.ts +1 -1
- package/es/components/processing/index.js +2 -1
- package/es/components/processing/index.js.map +1 -1
- package/es/components/processing/src/processing.d.ts +2 -23
- package/es/components/processing/src/processing.js +1 -60
- package/es/components/processing/src/processing.js.map +1 -1
- package/es/components/processing/src/processing.scss.d.ts +3 -0
- package/es/components/processing/src/processing.scss.js +9 -3
- package/es/components/processing/src/processing.scss.js.map +1 -1
- package/es/components/prompt-line/autocomplete/index.d.ts +1 -12
- package/es/components/prompt-line/autocomplete/index.js +2 -1
- package/es/components/prompt-line/autocomplete/index.js.map +1 -1
- package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +2 -212
- package/es/components/prompt-line/autocomplete/src/autocomplete.js +1 -613
- package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -1
- package/es/components/prompt-line/autocomplete/src/autocomplete.scss.d.ts +3 -0
- package/es/components/prompt-line/autocomplete/src/autocomplete.scss.js +9 -3
- package/es/components/prompt-line/autocomplete/src/autocomplete.scss.js.map +1 -1
- package/es/components/prompt-line/index.d.ts +1 -27
- package/es/components/prompt-line/index.js +20 -23
- package/es/components/prompt-line/index.js.map +1 -1
- package/es/components/prompt-line/src/autocomplete-controller-element.d.ts +2 -84
- package/es/components/prompt-line/src/autocomplete-controller-element.js +1 -266
- package/es/components/prompt-line/src/autocomplete-controller-element.js.map +1 -1
- package/es/components/prompt-line/src/autocomplete-controller.d.ts +1 -148
- package/es/components/prompt-line/src/autocomplete-controller.js +1 -495
- package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
- package/es/components/prompt-line/src/error-message.d.ts +2 -46
- package/es/components/prompt-line/src/error-message.js +1 -126
- package/es/components/prompt-line/src/error-message.js.map +1 -1
- package/es/components/prompt-line/src/error-message.scss.d.ts +3 -0
- package/es/components/prompt-line/src/error-message.scss.js +9 -3
- package/es/components/prompt-line/src/error-message.scss.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-constants.d.ts +1 -35
- package/es/components/prompt-line/src/prompt-line-constants.js +1 -34
- package/es/components/prompt-line/src/prompt-line-constants.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -122
- package/es/components/prompt-line/src/prompt-line-mouse-focus.d.ts +1 -45
- package/es/components/prompt-line/src/prompt-line-mouse-focus.js +1 -75
- package/es/components/prompt-line/src/prompt-line-mouse-focus.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -41
- package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -48
- package/es/components/prompt-line/src/prompt-line-rich-loader.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -14
- package/es/components/prompt-line/src/prompt-line-rich-runtime.js +1 -450
- package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-shell.d.ts +2 -114
- package/es/components/prompt-line/src/prompt-line-shell.js +1 -259
- package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-shell.scss.d.ts +3 -0
- package/es/components/prompt-line/src/prompt-line-shell.scss.js +9 -3
- package/es/components/prompt-line/src/prompt-line-shell.scss.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-textarea-runtime.d.ts +1 -88
- package/es/components/prompt-line/src/prompt-line-textarea-runtime.js +1 -385
- package/es/components/prompt-line/src/prompt-line-textarea-runtime.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line.d.ts +2 -207
- package/es/components/prompt-line/src/prompt-line.js +1 -585
- package/es/components/prompt-line/src/prompt-line.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line.scss.d.ts +3 -0
- package/es/components/prompt-line/src/prompt-line.scss.js +9 -3
- package/es/components/prompt-line/src/prompt-line.scss.js.map +1 -1
- package/es/components/prompt-line/src/send-control.d.ts +2 -53
- package/es/components/prompt-line/src/send-control.js +1 -176
- package/es/components/prompt-line/src/send-control.js.map +1 -1
- package/es/components/prompt-line/src/send-control.scss.d.ts +3 -0
- package/es/components/prompt-line/src/send-control.scss.js +9 -3
- package/es/components/prompt-line/src/send-control.scss.js.map +1 -1
- package/es/components/prompt-line/src/stop-streaming-button.d.ts +2 -42
- package/es/components/prompt-line/src/stop-streaming-button.js +1 -84
- package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
- package/es/components/prompt-line/src/stop-streaming-button.scss.d.ts +3 -0
- package/es/components/prompt-line/src/stop-streaming-button.scss.js +9 -3
- package/es/components/prompt-line/src/stop-streaming-button.scss.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +1 -47
- package/es/components/prompt-line/src/tiptap/build-extensions.js +1 -60
- package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +1 -36
- package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +1 -104
- package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +1 -19
- package/es/components/prompt-line/src/tiptap/carbon-mention.js +1 -218
- package/es/components/prompt-line/src/tiptap/carbon-mention.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +1 -34
- package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +1 -91
- package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -17
- package/es/components/prompt-line/src/tiptap/chat-enter.js +1 -38
- package/es/components/prompt-line/src/tiptap/chat-enter.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/editor-styles.d.ts +1 -18
- package/es/components/prompt-line/src/tiptap/editor-styles.js +1 -75
- package/es/components/prompt-line/src/tiptap/editor-styles.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/extension-equivalence.d.ts +1 -64
- package/es/components/prompt-line/src/tiptap/extension-equivalence.js +1 -72
- package/es/components/prompt-line/src/tiptap/extension-equivalence.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/index.d.ts +1 -37
- package/es/components/prompt-line/src/tiptap/index.js +16 -16
- package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -69
- package/es/components/prompt-line/src/tiptap/json-utils.js +1 -160
- package/es/components/prompt-line/src/tiptap/json-utils.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -31
- package/es/components/prompt-line/src/tiptap/keymap.js +1 -50
- package/es/components/prompt-line/src/tiptap/keymap.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -11
- package/es/components/prompt-line/src/tiptap/origin-meta.js +1 -25
- package/es/components/prompt-line/src/tiptap/origin-meta.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -16
- package/es/components/prompt-line/src/tiptap/plain-text-paste.js +1 -82
- package/es/components/prompt-line/src/tiptap/plain-text-paste.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +1 -87
- package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +1 -33
- package/es/components/prompt-line/src/tiptap/render-in-light-dom.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +1 -69
- package/es/components/prompt-line/src/tiptap/render-token-chip.js +1 -84
- package/es/components/prompt-line/src/tiptap/render-token-chip.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/resolve-config-items.d.ts +1 -22
- package/es/components/prompt-line/src/tiptap/resolve-config-items.js +1 -33
- package/es/components/prompt-line/src/tiptap/resolve-config-items.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/strip-presentation-fields.d.ts +1 -18
- package/es/components/prompt-line/src/tiptap/strip-presentation-fields.js +1 -14
- package/es/components/prompt-line/src/tiptap/strip-presentation-fields.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +1 -36
- package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -33
- package/es/components/prompt-line/src/tiptap/token-node-view.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +1 -41
- package/es/components/prompt-line/src/tiptap/trigger-utils.js +1 -60
- package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/types.d.ts +1 -228
- package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -30
- package/es/components/prompt-line/src/tiptap/typing-indicator.js +1 -96
- package/es/components/prompt-line/src/tiptap/typing-indicator.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -25
- package/es/components/prompt-line/src/tiptap/value-sync.js +1 -57
- package/es/components/prompt-line/src/tiptap/value-sync.js.map +1 -1
- package/es/components/prompt-line/src/types.d.ts +1 -100
- package/es/components/prompt-line/src/types.js +1 -42
- package/es/components/prompt-line/src/types.js.map +1 -1
- package/es/components/reasoning-steps/index.d.ts +1 -4
- package/es/components/reasoning-steps/index.js +4 -3
- package/es/components/reasoning-steps/index.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -50
- package/es/components/reasoning-steps/src/reasoning-step.js +1 -286
- package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-step.scss.d.ts +3 -0
- package/es/components/reasoning-steps/src/reasoning-step.scss.js +9 -3
- package/es/components/reasoning-steps/src/reasoning-step.scss.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -40
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +1 -99
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.d.ts +3 -0
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +9 -3
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -47
- package/es/components/reasoning-steps/src/reasoning-steps.js +1 -161
- package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps.scss.d.ts +3 -0
- package/es/components/reasoning-steps/src/reasoning-steps.scss.js +9 -3
- package/es/components/reasoning-steps/src/reasoning-steps.scss.js.map +1 -1
- package/es/components/table/index.d.ts +2 -3
- package/es/components/table/index.js +2 -1
- package/es/components/table/index.js.map +1 -1
- package/es/components/table/src/table-loader.d.ts +1 -4
- package/es/components/table/src/table-loader.js +1 -20
- package/es/components/table/src/table-loader.js.map +1 -1
- package/es/components/table/src/table-pagination.template.d.ts +1 -27
- package/es/components/table/src/table-pagination.template.js +1 -47
- package/es/components/table/src/table-pagination.template.js.map +1 -1
- package/es/components/table/src/table-runtime.d.ts +1 -2
- package/es/components/table/src/table-runtime.js +2 -2
- package/es/components/table/src/table-skeleton.template.d.ts +1 -6
- package/es/components/table/src/table-skeleton.template.js +1 -27
- package/es/components/table/src/table-skeleton.template.js.map +1 -1
- package/es/components/table/src/table.d.ts +2 -210
- package/es/components/table/src/table.js +1 -633
- package/es/components/table/src/table.js.map +1 -1
- package/es/components/table/src/table.scss.d.ts +3 -0
- package/es/components/table/src/table.scss.js +9 -3
- package/es/components/table/src/table.scss.js.map +1 -1
- package/es/components/table/src/table.template.d.ts +1 -10
- package/es/components/table/src/table.template.js +1 -88
- package/es/components/table/src/table.template.js.map +1 -1
- package/es/components/table/src/types.d.ts +1 -13
- package/es/components/toolbar/index.d.ts +1 -1
- package/es/components/toolbar/index.js +2 -1
- package/es/components/toolbar/index.js.map +1 -1
- package/es/components/toolbar/src/toolbar.d.ts +2 -95
- package/es/components/toolbar/src/toolbar.js +1 -401
- package/es/components/toolbar/src/toolbar.js.map +1 -1
- package/es/components/toolbar/src/toolbar.scss.d.ts +3 -0
- package/es/components/toolbar/src/toolbar.scss.js +9 -3
- package/es/components/toolbar/src/toolbar.scss.js.map +1 -1
- package/es/components/truncated-text/index.d.ts +1 -9
- package/es/components/truncated-text/index.js +2 -1
- package/es/components/truncated-text/index.js.map +1 -1
- package/es/components/truncated-text/src/truncated-text.d.ts +2 -84
- package/es/components/truncated-text/src/truncated-text.js +1 -287
- package/es/components/truncated-text/src/truncated-text.js.map +1 -1
- package/es/components/truncated-text/src/truncated-text.scss.d.ts +3 -0
- package/es/components/truncated-text/src/truncated-text.scss.js +9 -3
- package/es/components/truncated-text/src/truncated-text.scss.js.map +1 -1
- package/es/components/user-avatar/index.d.ts +1 -2
- package/es/components/user-avatar/index.js +2 -1
- package/es/components/user-avatar/index.js.map +1 -1
- package/es/components/user-avatar/src/user-avatar.d.ts +2 -46
- package/es/components/user-avatar/src/user-avatar.js +1 -145
- package/es/components/user-avatar/src/user-avatar.js.map +1 -1
- package/es/components/user-avatar/src/user-avatar.scss.d.ts +3 -0
- package/es/components/user-avatar/src/user-avatar.scss.js +9 -3
- package/es/components/user-avatar/src/user-avatar.scss.js.map +1 -1
- package/es/components/user-message-content/index.d.ts +9 -0
- package/es/components/user-message-content/index.js +10 -0
- package/es/components/user-message-content/src/split-run-breaks.d.ts +9 -0
- package/es/components/user-message-content/src/split-run-breaks.js +9 -0
- package/es/components/user-message-content/src/split-run-breaks.js.map +1 -0
- package/es/components/user-message-content/src/user-message-content.d.ts +10 -0
- package/es/components/user-message-content/src/user-message-content.js +9 -0
- package/es/components/user-message-content/src/user-message-content.js.map +1 -0
- package/es/components/user-message-content/src/user-message-content.scss.d.ts +3 -0
- package/es/components/user-message-content/src/user-message-content.scss.js +19 -0
- package/es/components/user-message-content/src/user-message-content.scss.js.map +1 -0
- package/es/components/video-player/index.d.ts +1 -10
- package/es/components/video-player/index.js +2 -1
- package/es/components/video-player/index.js.map +1 -1
- package/es/components/video-player/src/providers/base-provider.d.ts +1 -141
- package/es/components/video-player/src/providers/base-provider.js +1 -128
- package/es/components/video-player/src/providers/base-provider.js.map +1 -1
- package/es/components/video-player/src/providers/kaltura-provider.d.ts +1 -64
- package/es/components/video-player/src/providers/kaltura-provider.js +1 -184
- package/es/components/video-player/src/providers/kaltura-provider.js.map +1 -1
- package/es/components/video-player/src/providers/native-video-provider.d.ts +1 -49
- package/es/components/video-player/src/providers/native-video-provider.js +1 -150
- package/es/components/video-player/src/providers/native-video-provider.js.map +1 -1
- package/es/components/video-player/src/providers/vimeo-provider.d.ts +1 -60
- package/es/components/video-player/src/providers/vimeo-provider.js +1 -186
- package/es/components/video-player/src/providers/vimeo-provider.js.map +1 -1
- package/es/components/video-player/src/providers/youtube-provider.d.ts +1 -73
- package/es/components/video-player/src/providers/youtube-provider.js +1 -207
- package/es/components/video-player/src/providers/youtube-provider.js.map +1 -1
- package/es/components/video-player/src/utils/url-detector.d.ts +1 -34
- package/es/components/video-player/src/utils/url-detector.js +1 -72
- package/es/components/video-player/src/utils/url-detector.js.map +1 -1
- package/es/components/video-player/src/video-player.d.ts +2 -145
- package/es/components/video-player/src/video-player.js +1 -411
- package/es/components/video-player/src/video-player.js.map +1 -1
- package/es/components/video-player/src/video-player.scss.d.ts +3 -0
- package/es/components/video-player/src/video-player.scss.js +9 -3
- package/es/components/video-player/src/video-player.scss.js.map +1 -1
- package/es/components/workspace-shell/index.d.ts +1 -4
- package/es/components/workspace-shell/index.js +5 -4
- package/es/components/workspace-shell/index.js.map +1 -1
- package/es/components/workspace-shell/src/header-collapsible-manager.d.ts +1 -77
- package/es/components/workspace-shell/src/header-collapsible-manager.js +1 -214
- package/es/components/workspace-shell/src/header-collapsible-manager.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-body.d.ts +2 -17
- package/es/components/workspace-shell/src/workspace-shell-body.js +1 -44
- package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +2 -38
- package/es/components/workspace-shell/src/workspace-shell-footer.js +1 -142
- package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-footer.scss.d.ts +3 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +9 -3
- package/es/components/workspace-shell/src/workspace-shell-footer.scss.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -38
- package/es/components/workspace-shell/src/workspace-shell-header.js +1 -142
- package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-header.scss.d.ts +3 -0
- package/es/components/workspace-shell/src/workspace-shell-header.scss.js +9 -3
- package/es/components/workspace-shell/src/workspace-shell-header.scss.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell.d.ts +2 -30
- package/es/components/workspace-shell/src/workspace-shell.js +1 -125
- package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell.scss.d.ts +3 -0
- package/es/components/workspace-shell/src/workspace-shell.scss.js +9 -3
- package/es/components/workspace-shell/src/workspace-shell.scss.js.map +1 -1
- package/es/globals/register.d.ts +45 -0
- package/es/globals/register.js +78 -0
- package/es/globals/register.js.map +1 -0
- package/es/globals/settings.d.ts +2 -1
- package/es/globals/settings.js +2 -2
- package/es/globals/settings.js.map +1 -1
- package/es/globals/utils/dynamic-css-var-sheet.js.map +1 -0
- package/es/globals/utils/menu-item-activation.d.ts +8 -0
- package/es/globals/utils/menu-item-activation.js +42 -0
- package/es/globals/utils/menu-item-activation.js.map +1 -0
- package/es/globals/utils/root-styles.js.map +1 -0
- package/es/globals/utils/script-loader.js.map +1 -0
- package/es/index.d.ts +87 -0
- package/es/index.js +95 -0
- package/es/index.js.map +1 -0
- package/es/react/ai-label-action-button.d.ts +2 -2
- package/es/react/ai-label-action-button.js +3 -3
- package/es/react/ai-label-action-button.js.map +1 -1
- package/es/react/audio-player.d.ts +9 -2
- package/es/react/audio-player.js +6 -6
- package/es/react/audio-player.js.map +1 -1
- package/es/react/autocomplete-controller.d.ts +20 -0
- package/es/react/autocomplete-controller.js +35 -0
- package/es/react/autocomplete-controller.js.map +1 -0
- package/es/react/autocomplete.d.ts +9 -2
- package/es/react/autocomplete.js +6 -5
- package/es/react/autocomplete.js.map +1 -1
- package/es/react/card.d.ts +8 -4
- package/es/react/card.js +16 -16
- package/es/react/card.js.map +1 -1
- package/es/react/carousel.d.ts +6 -2
- package/es/react/carousel.js +5 -5
- package/es/react/carousel.js.map +1 -1
- package/es/react/chain-of-thought-step.d.ts +7 -2
- package/es/react/chain-of-thought-step.js +5 -5
- package/es/react/chain-of-thought-step.js.map +1 -1
- package/es/react/chain-of-thought-toggle.d.ts +6 -3
- package/es/react/chain-of-thought-toggle.js +5 -5
- package/es/react/chain-of-thought-toggle.js.map +1 -1
- package/es/react/chain-of-thought.d.ts +12 -2
- package/es/react/chain-of-thought.js +9 -6
- package/es/react/chain-of-thought.js.map +1 -1
- package/es/react/chat-button-skeleton.d.ts +2 -2
- package/es/react/chat-button-skeleton.js +5 -5
- package/es/react/chat-button-skeleton.js.map +1 -1
- package/es/react/chat-button.d.ts +3 -3
- package/es/react/chat-button.js +7 -7
- package/es/react/chat-button.js.map +1 -1
- package/es/react/chat-header.d.ts +11 -62
- package/es/react/chat-header.js +5 -5
- package/es/react/chat-header.js.map +1 -1
- package/es/react/chat-shell.d.ts +5 -2
- package/es/react/chat-shell.js +6 -6
- package/es/react/chat-shell.js.map +1 -1
- package/es/react/citation-card.d.ts +17 -0
- package/es/react/citation-card.js +32 -0
- package/es/react/citation-card.js.map +1 -0
- package/es/react/code-snippet.d.ts +14 -11
- package/es/react/code-snippet.js +6 -5
- package/es/react/code-snippet.js.map +1 -1
- package/es/react/conversational-search-shell.d.ts +7 -2
- package/es/react/conversational-search-shell.js +8 -8
- package/es/react/conversational-search-shell.js.map +1 -1
- package/es/react/error-message.d.ts +2 -2
- package/es/react/error-message.js +5 -5
- package/es/react/error-message.js.map +1 -1
- package/es/react/feedback-buttons.d.ts +6 -2
- package/es/react/feedback-buttons.js +5 -5
- package/es/react/feedback-buttons.js.map +1 -1
- package/es/react/feedback.d.ts +7 -3
- package/es/react/feedback.js +6 -6
- package/es/react/feedback.js.map +1 -1
- package/es/react/file-upload-item.d.ts +6 -2
- package/es/react/file-upload-item.js +5 -5
- package/es/react/file-upload-item.js.map +1 -1
- package/es/react/file-uploads.d.ts +6 -2
- package/es/react/file-uploads.js +5 -5
- package/es/react/file-uploads.js.map +1 -1
- package/es/react/history/history-content.d.ts +2 -2
- package/es/react/history/history-content.js +5 -5
- package/es/react/history/history-content.js.map +1 -1
- package/es/react/history/history-delete-panel.d.ts +7 -2
- package/es/react/history/history-delete-panel.js +5 -5
- package/es/react/history/history-delete-panel.js.map +1 -1
- package/es/react/history/history-header.d.ts +5 -2
- package/es/react/history/history-header.js +5 -5
- package/es/react/history/history-header.js.map +1 -1
- package/es/react/history/history-loading.d.ts +2 -2
- package/es/react/history/history-loading.js +5 -5
- package/es/react/history/history-loading.js.map +1 -1
- package/es/react/history/history-panel-item-input.d.ts +8 -2
- package/es/react/history/history-panel-item-input.js +5 -5
- package/es/react/history/history-panel-item-input.js.map +1 -1
- package/es/react/history/history-panel-item.d.ts +10 -2
- package/es/react/history/history-panel-item.js +5 -5
- package/es/react/history/history-panel-item.js.map +1 -1
- package/es/react/history/history-panel-items.d.ts +2 -2
- package/es/react/history/history-panel-items.js +5 -5
- package/es/react/history/history-panel-items.js.map +1 -1
- package/es/react/history/history-panel-menu.d.ts +2 -2
- package/es/react/history/history-panel-menu.js +5 -5
- package/es/react/history/history-panel-menu.js.map +1 -1
- package/es/react/history/history-panel.d.ts +2 -2
- package/es/react/history/history-panel.js +5 -5
- package/es/react/history/history-panel.js.map +1 -1
- package/es/react/history/history-search-item.d.ts +6 -2
- package/es/react/history/history-search-item.js +5 -5
- package/es/react/history/history-search-item.js.map +1 -1
- package/es/react/history/history-shell.d.ts +6 -2
- package/es/react/history/history-shell.js +8 -5
- package/es/react/history/history-shell.js.map +1 -1
- package/es/react/history/history-toolbar.d.ts +7 -2
- package/es/react/history/history-toolbar.js +5 -5
- package/es/react/history/history-toolbar.js.map +1 -1
- package/es/react/hooks/useChatAutocomplete.d.ts +2 -2
- package/es/react/hooks/useChatAutocomplete.js +4 -2
- package/es/react/hooks/useChatAutocomplete.js.map +1 -1
- package/es/react/index.d.ts +67 -0
- package/es/react/index.js +68 -0
- package/es/react/index.js.map +1 -0
- package/es/react/input-send-control.d.ts +6 -2
- package/es/react/input-send-control.js +5 -5
- package/es/react/input-send-control.js.map +1 -1
- package/es/react/launcher.d.ts +5 -2
- package/es/react/launcher.js +5 -5
- package/es/react/launcher.js.map +1 -1
- package/es/react/markdown.d.ts +9 -8
- package/es/react/markdown.js +10 -12
- package/es/react/markdown.js.map +1 -1
- package/es/react/message-byline.d.ts +3 -0
- package/es/react/message-byline.js +28 -0
- package/es/react/message-byline.js.map +1 -0
- package/es/react/message-item-shell.d.ts +2 -2
- package/es/react/message-item-shell.js +5 -6
- package/es/react/message-item-shell.js.map +1 -1
- package/es/react/messages-shell.d.ts +5 -2
- package/es/react/messages-shell.js +5 -6
- package/es/react/messages-shell.js.map +1 -1
- package/es/react/panel.d.ts +10 -2
- package/es/react/panel.js +6 -6
- package/es/react/panel.js.map +1 -1
- package/es/react/processing.d.ts +2 -2
- package/es/react/processing.js +5 -5
- package/es/react/processing.js.map +1 -1
- package/es/react/prompt-line-shell.d.ts +8 -4
- package/es/react/prompt-line-shell.js +10 -8
- package/es/react/prompt-line-shell.js.map +1 -1
- package/es/react/prompt-line.d.ts +13 -6
- package/es/react/prompt-line.js +5 -9
- package/es/react/prompt-line.js.map +1 -1
- package/es/react/reasoning-step.d.ts +8 -2
- package/es/react/reasoning-step.js +6 -5
- package/es/react/reasoning-step.js.map +1 -1
- package/es/react/reasoning-steps-toggle.d.ts +6 -3
- package/es/react/reasoning-steps-toggle.js +5 -5
- package/es/react/reasoning-steps-toggle.js.map +1 -1
- package/es/react/reasoning-steps.d.ts +7 -2
- package/es/react/reasoning-steps.js +9 -5
- package/es/react/reasoning-steps.js.map +1 -1
- package/es/react/stop-streaming-button.d.ts +2 -2
- package/es/react/stop-streaming-button.js +5 -5
- package/es/react/stop-streaming-button.js.map +1 -1
- package/es/react/table.d.ts +3 -3
- package/es/react/table.js +5 -5
- package/es/react/table.js.map +1 -1
- package/es/react/tool-call-data.d.ts +2 -2
- package/es/react/tool-call-data.js +5 -5
- package/es/react/tool-call-data.js.map +1 -1
- package/es/react/toolbar.d.ts +7 -2
- package/es/react/toolbar.js +6 -6
- package/es/react/toolbar.js.map +1 -1
- package/es/react/transcript.d.ts +4 -2
- package/es/react/transcript.js +4 -3
- package/es/react/transcript.js.map +1 -1
- package/es/react/truncated-text.d.ts +2 -2
- package/es/react/truncated-text.js +5 -5
- package/es/react/truncated-text.js.map +1 -1
- package/es/react/user-avatar.d.ts +2 -2
- package/es/react/user-avatar.js +5 -6
- package/es/react/user-avatar.js.map +1 -1
- package/es/react/user-message-content.d.ts +3 -0
- package/es/react/user-message-content.js +28 -0
- package/es/react/user-message-content.js.map +1 -0
- package/es/react/utils/transformSuggestionConfig.d.ts +1 -1
- package/es/react/utils/transformSuggestionConfig.js.map +1 -1
- package/es/react/video-player.d.ts +9 -2
- package/es/react/video-player.js +6 -6
- package/es/react/video-player.js.map +1 -1
- package/es/react/workspace-shell.d.ts +11 -5
- package/es/react/workspace-shell.js +20 -17
- package/es/react/workspace-shell.js.map +1 -1
- package/es/testing/load-all-lazy-deps.d.ts +1 -1
- package/es/testing/load-all-lazy-deps.js +2 -2
- package/es/testing/load-all-lazy-deps.js.map +1 -1
- package/es/typings/overflow-menu.d.ts +21 -10
- package/package.json +66 -28
- package/scss/_markdown-inline.scss +1 -1
- package/scss/_modifiers.scss +2 -2
- package/scss/_utilities.scss +3 -3
- package/scss/vars.scss +1 -1
- package/telemetry.yml +2 -0
- package/LICENSE +0 -201
- package/es/components/markdown/__tests__/inline-selection-fixture.d.ts +0 -13
- package/es/components/markdown/src/inline-markdown.scss.js +0 -13
- package/es/components/markdown/src/inline-markdown.scss.js.map +0 -1
- package/es/components/markdown/src/inline-run-projection.scss.js +0 -13
- package/es/components/markdown/src/inline-run-projection.scss.js.map +0 -1
- package/es/components/prompt-line/src/__tests__/wait-for-rich.d.ts +0 -20
- package/es/components/shared/dynamic-css-var-sheet.d.ts +0 -34
- package/es/components/shared/dynamic-css-var-sheet.js +0 -215
- package/es/components/shared/dynamic-css-var-sheet.js.map +0 -1
- package/es/components/shared/media-utils/script-loader.d.ts +0 -36
- package/es/components/shared/media-utils/script-loader.js +0 -80
- package/es/components/shared/media-utils/script-loader.js.map +0 -1
- package/es/components/shared/root-styles.d.ts +0 -30
- package/es/components/shared/root-styles.js +0 -72
- package/es/components/shared/root-styles.js.map +0 -1
- package/es/globals/decorators/carbon-element.d.ts +0 -37
- package/es/globals/decorators/carbon-element.js +0 -67
- package/es/globals/decorators/carbon-element.js.map +0 -1
- package/es/globals/decorators/index.d.ts +0 -1
- package/es/globals/decorators/index.js +0 -9
- package/es/globals/decorators/index.js.map +0 -1
- package/es/react/utils/withWebComponentBridge.d.ts +0 -18
- package/es/react/utils/withWebComponentBridge.js +0 -143
- package/es/react/utils/withWebComponentBridge.js.map +0 -1
- package/es-custom/components/audio-player/index.d.ts +0 -12
- package/es-custom/components/audio-player/index.js +0 -10
- package/es-custom/components/audio-player/src/audio-player.d.ts +0 -132
- package/es-custom/components/audio-player/src/audio-player.js +0 -393
- package/es-custom/components/audio-player/src/audio-player.js.map +0 -1
- package/es-custom/components/audio-player/src/audio-player.scss.js +0 -13
- package/es-custom/components/audio-player/src/audio-player.scss.js.map +0 -1
- package/es-custom/components/audio-player/src/providers/base-provider.js.map +0 -1
- package/es-custom/components/audio-player/src/providers/native-audio-provider.js.map +0 -1
- package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +0 -200
- package/es-custom/components/audio-player/src/providers/soundcloud-provider.js.map +0 -1
- package/es-custom/components/audio-player/src/transcript.d.ts +0 -58
- package/es-custom/components/audio-player/src/transcript.js +0 -163
- package/es-custom/components/audio-player/src/transcript.js.map +0 -1
- package/es-custom/components/audio-player/src/transcript.scss.js +0 -13
- package/es-custom/components/audio-player/src/transcript.scss.js.map +0 -1
- package/es-custom/components/audio-player/src/utils/url-detector.js.map +0 -1
- package/es-custom/components/card/index.d.ts +0 -11
- package/es-custom/components/card/index.js +0 -11
- package/es-custom/components/card/index.js.map +0 -1
- package/es-custom/components/card/src/card-footer.d.ts +0 -44
- package/es-custom/components/card/src/card-footer.js +0 -139
- package/es-custom/components/card/src/card-footer.js.map +0 -1
- package/es-custom/components/card/src/card-footer.scss.js +0 -13
- package/es-custom/components/card/src/card-footer.scss.js.map +0 -1
- package/es-custom/components/card/src/card-steps.d.ts +0 -29
- package/es-custom/components/card/src/card-steps.js +0 -91
- package/es-custom/components/card/src/card-steps.js.map +0 -1
- package/es-custom/components/card/src/card-steps.scss.js +0 -13
- package/es-custom/components/card/src/card-steps.scss.js.map +0 -1
- package/es-custom/components/card/src/card.d.ts +0 -28
- package/es-custom/components/card/src/card.js +0 -66
- package/es-custom/components/card/src/card.js.map +0 -1
- package/es-custom/components/card/src/card.scss.js +0 -13
- package/es-custom/components/card/src/card.scss.js.map +0 -1
- package/es-custom/components/carousel/index.d.ts +0 -9
- package/es-custom/components/carousel/index.js +0 -9
- package/es-custom/components/carousel/index.js.map +0 -1
- package/es-custom/components/carousel/src/carousel.d.ts +0 -39
- package/es-custom/components/carousel/src/carousel.js +0 -130
- package/es-custom/components/carousel/src/carousel.js.map +0 -1
- package/es-custom/components/carousel/src/carousel.scss.js +0 -13
- package/es-custom/components/carousel/src/carousel.scss.js.map +0 -1
- package/es-custom/components/chain-of-thought/defs.js.map +0 -1
- package/es-custom/components/chain-of-thought/index.d.ts +0 -10
- package/es-custom/components/chain-of-thought/index.js +0 -13
- package/es-custom/components/chain-of-thought/index.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +0 -47
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +0 -348
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js +0 -13
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +0 -37
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +0 -108
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +0 -13
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +0 -45
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js +0 -136
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +0 -13
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +0 -37
- package/es-custom/components/chain-of-thought/src/tool-call-data.js +0 -178
- package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +0 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js +0 -13
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js.map +0 -1
- package/es-custom/components/chat-button/defs.js.map +0 -1
- package/es-custom/components/chat-button/index.d.ts +0 -10
- package/es-custom/components/chat-button/index.js +0 -10
- package/es-custom/components/chat-button/src/chat-button-skeleton.d.ts +0 -30
- package/es-custom/components/chat-button/src/chat-button-skeleton.js +0 -41
- package/es-custom/components/chat-button/src/chat-button-skeleton.js.map +0 -1
- package/es-custom/components/chat-button/src/chat-button.d.ts +0 -43
- package/es-custom/components/chat-button/src/chat-button.js +0 -113
- package/es-custom/components/chat-button/src/chat-button.js.map +0 -1
- package/es-custom/components/chat-button/src/chat-button.scss.js +0 -13
- package/es-custom/components/chat-button/src/chat-button.scss.js.map +0 -1
- package/es-custom/components/chat-history/index.d.ts +0 -11
- package/es-custom/components/chat-history/index.js +0 -19
- package/es-custom/components/chat-history/index.js.map +0 -1
- package/es-custom/components/chat-history/src/chat-history.scss.js +0 -13
- package/es-custom/components/chat-history/src/history-content.d.ts +0 -25
- package/es-custom/components/chat-history/src/history-content.js +0 -76
- package/es-custom/components/chat-history/src/history-content.js.map +0 -1
- package/es-custom/components/chat-history/src/history-delete-panel.d.ts +0 -36
- package/es-custom/components/chat-history/src/history-delete-panel.js +0 -143
- package/es-custom/components/chat-history/src/history-delete-panel.js.map +0 -1
- package/es-custom/components/chat-history/src/history-header.d.ts +0 -34
- package/es-custom/components/chat-history/src/history-header.js +0 -98
- package/es-custom/components/chat-history/src/history-header.js.map +0 -1
- package/es-custom/components/chat-history/src/history-loading.d.ts +0 -18
- package/es-custom/components/chat-history/src/history-loading.js +0 -62
- package/es-custom/components/chat-history/src/history-loading.js.map +0 -1
- package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +0 -130
- package/es-custom/components/chat-history/src/history-panel-item-input.js +0 -281
- package/es-custom/components/chat-history/src/history-panel-item-input.js.map +0 -1
- package/es-custom/components/chat-history/src/history-panel-item.d.ts +0 -150
- package/es-custom/components/chat-history/src/history-panel-item.js +0 -456
- package/es-custom/components/chat-history/src/history-panel-item.js.map +0 -1
- package/es-custom/components/chat-history/src/history-panel-items.d.ts +0 -13
- package/es-custom/components/chat-history/src/history-panel-items.js +0 -41
- package/es-custom/components/chat-history/src/history-panel-items.js.map +0 -1
- package/es-custom/components/chat-history/src/history-panel-menu.d.ts +0 -12
- package/es-custom/components/chat-history/src/history-panel-menu.js +0 -37
- package/es-custom/components/chat-history/src/history-panel-menu.js.map +0 -1
- package/es-custom/components/chat-history/src/history-panel.d.ts +0 -27
- package/es-custom/components/chat-history/src/history-panel.js +0 -68
- package/es-custom/components/chat-history/src/history-panel.js.map +0 -1
- package/es-custom/components/chat-history/src/history-search-item.d.ts +0 -43
- package/es-custom/components/chat-history/src/history-search-item.js +0 -95
- package/es-custom/components/chat-history/src/history-search-item.js.map +0 -1
- package/es-custom/components/chat-history/src/history-shell.d.ts +0 -23
- package/es-custom/components/chat-history/src/history-shell.js +0 -89
- package/es-custom/components/chat-history/src/history-shell.js.map +0 -1
- package/es-custom/components/chat-history/src/history-toolbar.d.ts +0 -89
- package/es-custom/components/chat-history/src/history-toolbar.js +0 -108
- package/es-custom/components/chat-history/src/history-toolbar.js.map +0 -1
- package/es-custom/components/chat-shell/index.d.ts +0 -12
- package/es-custom/components/chat-shell/index.js +0 -11
- package/es-custom/components/chat-shell/index.js.map +0 -1
- package/es-custom/components/chat-shell/src/chat-header.d.ts +0 -177
- package/es-custom/components/chat-shell/src/chat-header.js +0 -414
- package/es-custom/components/chat-shell/src/chat-header.js.map +0 -1
- package/es-custom/components/chat-shell/src/chat-header.scss.js +0 -13
- package/es-custom/components/chat-shell/src/chat-header.scss.js.map +0 -1
- package/es-custom/components/chat-shell/src/corner-manager.js +0 -101
- package/es-custom/components/chat-shell/src/corner-manager.js.map +0 -1
- package/es-custom/components/chat-shell/src/initialization-manager.js.map +0 -1
- package/es-custom/components/chat-shell/src/panel-manager.d.ts +0 -39
- package/es-custom/components/chat-shell/src/panel-manager.js +0 -259
- package/es-custom/components/chat-shell/src/panel-manager.js.map +0 -1
- package/es-custom/components/chat-shell/src/panel.d.ts +0 -93
- package/es-custom/components/chat-shell/src/panel.js +0 -527
- package/es-custom/components/chat-shell/src/panel.js.map +0 -1
- package/es-custom/components/chat-shell/src/panel.scss.js +0 -13
- package/es-custom/components/chat-shell/src/panel.scss.js.map +0 -1
- package/es-custom/components/chat-shell/src/resize-observer-manager.js.map +0 -1
- package/es-custom/components/chat-shell/src/shell.d.ts +0 -133
- package/es-custom/components/chat-shell/src/shell.js +0 -872
- package/es-custom/components/chat-shell/src/shell.js.map +0 -1
- package/es-custom/components/chat-shell/src/shell.scss.js +0 -13
- package/es-custom/components/chat-shell/src/shell.scss.js.map +0 -1
- package/es-custom/components/chat-shell/src/slot-observer.js.map +0 -1
- package/es-custom/components/chat-shell/src/workspace-manager-utils.js.map +0 -1
- package/es-custom/components/chat-shell/src/workspace-manager.d.ts +0 -173
- package/es-custom/components/chat-shell/src/workspace-manager.js +0 -717
- package/es-custom/components/chat-shell/src/workspace-manager.js.map +0 -1
- package/es-custom/components/code-snippet/index.d.ts +0 -4
- package/es-custom/components/code-snippet/index.js +0 -10
- package/es-custom/components/code-snippet/index.js.map +0 -1
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +0 -211
- package/es-custom/components/code-snippet/src/code-snippet.js +0 -994
- package/es-custom/components/code-snippet/src/code-snippet.js.map +0 -1
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +0 -13
- package/es-custom/components/code-snippet/src/code-snippet.scss.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/content-sync.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +0 -30
- package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +0 -80
- package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/language-controller.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/language-data.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.js.map +0 -1
- package/es-custom/components/code-snippet/src/codemirror/theme.js.map +0 -1
- package/es-custom/components/code-snippet/src/dom-utils.js.map +0 -1
- package/es-custom/components/code-snippet/src/formatters.js +0 -19
- package/es-custom/components/code-snippet/src/formatters.js.map +0 -1
- package/es-custom/components/code-snippet/src/layout-utils.js.map +0 -1
- package/es-custom/components/code-snippet/src/streaming-manager.js.map +0 -1
- package/es-custom/components/conversational-search/index.d.ts +0 -9
- package/es-custom/components/conversational-search/index.js +0 -9
- package/es-custom/components/conversational-search/index.js.map +0 -1
- package/es-custom/components/conversational-search/src/citation-utils.d.ts +0 -24
- package/es-custom/components/conversational-search/src/citation-utils.js +0 -46
- package/es-custom/components/conversational-search/src/citation-utils.js.map +0 -1
- package/es-custom/components/conversational-search/src/conversational-search-shell.d.ts +0 -41
- package/es-custom/components/conversational-search/src/conversational-search-shell.js +0 -116
- package/es-custom/components/conversational-search/src/conversational-search-shell.js.map +0 -1
- package/es-custom/components/conversational-search/src/conversational-search-shell.scss.js +0 -13
- package/es-custom/components/conversational-search/src/conversational-search-shell.scss.js.map +0 -1
- package/es-custom/components/feedback/index.d.ts +0 -4
- package/es-custom/components/feedback/index.js +0 -10
- package/es-custom/components/feedback/index.js.map +0 -1
- package/es-custom/components/feedback/src/feedback-buttons.d.ts +0 -68
- package/es-custom/components/feedback/src/feedback-buttons.js +0 -189
- package/es-custom/components/feedback/src/feedback-buttons.js.map +0 -1
- package/es-custom/components/feedback/src/feedback-buttons.scss.js +0 -13
- package/es-custom/components/feedback/src/feedback-buttons.scss.js.map +0 -1
- package/es-custom/components/feedback/src/feedback.d.ts +0 -141
- package/es-custom/components/feedback/src/feedback.js +0 -340
- package/es-custom/components/feedback/src/feedback.js.map +0 -1
- package/es-custom/components/feedback/src/feedback.scss.js +0 -13
- package/es-custom/components/feedback/src/feedback.scss.js.map +0 -1
- package/es-custom/components/file-uploads/index.d.ts +0 -13
- package/es-custom/components/file-uploads/index.js +0 -10
- package/es-custom/components/file-uploads/index.js.map +0 -1
- package/es-custom/components/file-uploads/src/file-type-icon.js.map +0 -1
- package/es-custom/components/file-uploads/src/file-upload-item.d.ts +0 -116
- package/es-custom/components/file-uploads/src/file-upload-item.js +0 -482
- package/es-custom/components/file-uploads/src/file-upload-item.js.map +0 -1
- package/es-custom/components/file-uploads/src/file-upload-item.scss.js +0 -13
- package/es-custom/components/file-uploads/src/file-upload-item.scss.js.map +0 -1
- package/es-custom/components/file-uploads/src/file-uploads.d.ts +0 -136
- package/es-custom/components/file-uploads/src/file-uploads.js +0 -345
- package/es-custom/components/file-uploads/src/file-uploads.js.map +0 -1
- package/es-custom/components/file-uploads/src/file-uploads.scss.js +0 -13
- package/es-custom/components/file-uploads/src/file-uploads.scss.js.map +0 -1
- package/es-custom/components/launcher/index.d.ts +0 -9
- package/es-custom/components/launcher/index.js +0 -9
- package/es-custom/components/launcher/index.js.map +0 -1
- package/es-custom/components/launcher/src/launcher.d.ts +0 -68
- package/es-custom/components/launcher/src/launcher.js +0 -153
- package/es-custom/components/launcher/src/launcher.js.map +0 -1
- package/es-custom/components/launcher/src/launcher.scss.js +0 -13
- package/es-custom/components/launcher/src/launcher.scss.js.map +0 -1
- package/es-custom/components/markdown/__tests__/inline-selection-fixture.d.ts +0 -13
- package/es-custom/components/markdown/index.d.ts +0 -8
- package/es-custom/components/markdown/index.js +0 -12
- package/es-custom/components/markdown/index.js.map +0 -1
- package/es-custom/components/markdown/src/inline-markdown.js +0 -98
- package/es-custom/components/markdown/src/inline-markdown.js.map +0 -1
- package/es-custom/components/markdown/src/inline-markdown.scss.js +0 -13
- package/es-custom/components/markdown/src/inline-run-projection.scss.js +0 -13
- package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +0 -397
- package/es-custom/components/markdown/src/markdown-renderer.d.ts +0 -26
- package/es-custom/components/markdown/src/markdown-renderer.js +0 -642
- package/es-custom/components/markdown/src/markdown-renderer.js.map +0 -1
- package/es-custom/components/markdown/src/markdown-token-tree.js +0 -357
- package/es-custom/components/markdown/src/markdown-token-tree.js.map +0 -1
- package/es-custom/components/markdown/src/markdown.d.ts +0 -143
- package/es-custom/components/markdown/src/markdown.js +0 -884
- package/es-custom/components/markdown/src/markdown.js.map +0 -1
- package/es-custom/components/markdown/src/markdown.scss.js +0 -13
- package/es-custom/components/markdown/src/markdown.scss.js.map +0 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js.map +0 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js.map +0 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +0 -76
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js.map +0 -1
- package/es-custom/components/markdown/src/utils/html-helpers.d.ts +0 -5
- package/es-custom/components/markdown/src/utils/html-helpers.js.map +0 -1
- package/es-custom/components/markdown/src/utils/inline-run-projection.d.ts +0 -15
- package/es-custom/components/markdown/src/utils/inline-run-projection.js +0 -182
- package/es-custom/components/markdown/src/utils/inline-run-projection.js.map +0 -1
- package/es-custom/components/markdown/src/utils/inline-validation.js.map +0 -1
- package/es-custom/components/markdown/src/utils/lit-directives.js.map +0 -1
- package/es-custom/components/markdown/src/utils/plugin-fallback.js +0 -238
- package/es-custom/components/markdown/src/utils/plugin-fallback.js.map +0 -1
- package/es-custom/components/markdown/src/utils/plugin-host-container.d.ts +0 -159
- package/es-custom/components/markdown/src/utils/plugin-host-container.js +0 -165
- package/es-custom/components/markdown/src/utils/plugin-host-container.js.map +0 -1
- package/es-custom/components/markdown/src/utils/slot-names.js +0 -83
- package/es-custom/components/markdown/src/utils/slot-names.js.map +0 -1
- package/es-custom/components/markdown/src/utils/streaming-table.js.map +0 -1
- package/es-custom/components/markdown/src/utils/table-helpers.d.ts +0 -32
- package/es-custom/components/markdown/src/utils/table-helpers.js +0 -203
- package/es-custom/components/markdown/src/utils/table-helpers.js.map +0 -1
- package/es-custom/components/message-item-shell/index.d.ts +0 -11
- package/es-custom/components/message-item-shell/index.js +0 -9
- package/es-custom/components/message-item-shell/index.js.map +0 -1
- package/es-custom/components/message-item-shell/src/message-item-shell.d.ts +0 -48
- package/es-custom/components/message-item-shell/src/message-item-shell.js +0 -91
- package/es-custom/components/message-item-shell/src/message-item-shell.js.map +0 -1
- package/es-custom/components/message-item-shell/src/message-item-shell.scss.js +0 -13
- package/es-custom/components/message-item-shell/src/message-item-shell.scss.js.map +0 -1
- package/es-custom/components/messages-shell/index.d.ts +0 -11
- package/es-custom/components/messages-shell/index.js +0 -9
- package/es-custom/components/messages-shell/index.js.map +0 -1
- package/es-custom/components/messages-shell/src/messages-shell.d.ts +0 -57
- package/es-custom/components/messages-shell/src/messages-shell.js +0 -141
- package/es-custom/components/messages-shell/src/messages-shell.js.map +0 -1
- package/es-custom/components/messages-shell/src/messages-shell.scss.js +0 -13
- package/es-custom/components/messages-shell/src/messages-shell.scss.js.map +0 -1
- package/es-custom/components/processing/index.d.ts +0 -1
- package/es-custom/components/processing/index.js +0 -9
- package/es-custom/components/processing/index.js.map +0 -1
- package/es-custom/components/processing/src/processing.d.ts +0 -23
- package/es-custom/components/processing/src/processing.js +0 -68
- package/es-custom/components/processing/src/processing.js.map +0 -1
- package/es-custom/components/processing/src/processing.scss.js +0 -13
- package/es-custom/components/processing/src/processing.scss.js.map +0 -1
- package/es-custom/components/prompt-line/autocomplete/index.d.ts +0 -12
- package/es-custom/components/prompt-line/autocomplete/index.js +0 -9
- package/es-custom/components/prompt-line/autocomplete/index.js.map +0 -1
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +0 -212
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +0 -621
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +0 -1
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.scss.js +0 -13
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.scss.js.map +0 -1
- package/es-custom/components/prompt-line/index.d.ts +0 -27
- package/es-custom/components/prompt-line/index.js +0 -31
- package/es-custom/components/prompt-line/index.js.map +0 -1
- package/es-custom/components/prompt-line/src/__tests__/wait-for-rich.d.ts +0 -20
- package/es-custom/components/prompt-line/src/autocomplete-controller-element.d.ts +0 -84
- package/es-custom/components/prompt-line/src/autocomplete-controller-element.js +0 -274
- package/es-custom/components/prompt-line/src/autocomplete-controller-element.js.map +0 -1
- package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +0 -148
- package/es-custom/components/prompt-line/src/autocomplete-controller.js +0 -503
- package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +0 -1
- package/es-custom/components/prompt-line/src/error-message.d.ts +0 -46
- package/es-custom/components/prompt-line/src/error-message.js +0 -134
- package/es-custom/components/prompt-line/src/error-message.js.map +0 -1
- package/es-custom/components/prompt-line/src/error-message.scss.js +0 -13
- package/es-custom/components/prompt-line/src/error-message.scss.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-constants.d.ts +0 -35
- package/es-custom/components/prompt-line/src/prompt-line-constants.js +0 -42
- package/es-custom/components/prompt-line/src/prompt-line-constants.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +0 -122
- package/es-custom/components/prompt-line/src/prompt-line-mouse-focus.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +0 -458
- package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +0 -114
- package/es-custom/components/prompt-line/src/prompt-line-shell.js +0 -267
- package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +0 -13
- package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.d.ts +0 -88
- package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.js +0 -393
- package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line.d.ts +0 -207
- package/es-custom/components/prompt-line/src/prompt-line.js +0 -593
- package/es-custom/components/prompt-line/src/prompt-line.js.map +0 -1
- package/es-custom/components/prompt-line/src/prompt-line.scss.js +0 -13
- package/es-custom/components/prompt-line/src/prompt-line.scss.js.map +0 -1
- package/es-custom/components/prompt-line/src/send-control.d.ts +0 -53
- package/es-custom/components/prompt-line/src/send-control.js +0 -184
- package/es-custom/components/prompt-line/src/send-control.js.map +0 -1
- package/es-custom/components/prompt-line/src/send-control.scss.js +0 -13
- package/es-custom/components/prompt-line/src/send-control.scss.js.map +0 -1
- package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +0 -42
- package/es-custom/components/prompt-line/src/stop-streaming-button.js +0 -92
- package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +0 -1
- package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js +0 -13
- package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +0 -47
- package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +0 -36
- package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +0 -112
- package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +0 -34
- package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +0 -99
- package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +0 -17
- package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +0 -46
- package/es-custom/components/prompt-line/src/tiptap/chat-enter.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +0 -83
- package/es-custom/components/prompt-line/src/tiptap/editor-styles.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.d.ts +0 -64
- package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.js +0 -80
- package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/index.d.ts +0 -37
- package/es-custom/components/prompt-line/src/tiptap/json-utils.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +0 -31
- package/es-custom/components/prompt-line/src/tiptap/keymap.js +0 -58
- package/es-custom/components/prompt-line/src/tiptap/keymap.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/origin-meta.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +0 -87
- package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +0 -41
- package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +0 -92
- package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/resolve-config-items.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/strip-presentation-fields.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/token-node-view.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +0 -41
- package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +0 -68
- package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/types.d.ts +0 -228
- package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +0 -30
- package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +0 -104
- package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js.map +0 -1
- package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +0 -25
- package/es-custom/components/prompt-line/src/tiptap/value-sync.js +0 -65
- package/es-custom/components/prompt-line/src/tiptap/value-sync.js.map +0 -1
- package/es-custom/components/prompt-line/src/types.d.ts +0 -100
- package/es-custom/components/prompt-line/src/types.js.map +0 -1
- package/es-custom/components/reasoning-steps/index.d.ts +0 -4
- package/es-custom/components/reasoning-steps/index.js +0 -11
- package/es-custom/components/reasoning-steps/index.js.map +0 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +0 -50
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +0 -294
- package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +0 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js +0 -13
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js.map +0 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +0 -40
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +0 -107
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +0 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +0 -13
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +0 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +0 -47
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js +0 -169
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +0 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js +0 -13
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js.map +0 -1
- package/es-custom/components/shared/dynamic-css-var-sheet.js.map +0 -1
- package/es-custom/components/shared/media-utils/script-loader.js.map +0 -1
- package/es-custom/components/shared/root-styles.js.map +0 -1
- package/es-custom/components/table/index.d.ts +0 -3
- package/es-custom/components/table/index.js +0 -9
- package/es-custom/components/table/index.js.map +0 -1
- package/es-custom/components/table/src/table-loader.js.map +0 -1
- package/es-custom/components/table/src/table-pagination.template.d.ts +0 -27
- package/es-custom/components/table/src/table-pagination.template.js +0 -55
- package/es-custom/components/table/src/table-pagination.template.js.map +0 -1
- package/es-custom/components/table/src/table-skeleton.template.d.ts +0 -6
- package/es-custom/components/table/src/table-skeleton.template.js +0 -35
- package/es-custom/components/table/src/table-skeleton.template.js.map +0 -1
- package/es-custom/components/table/src/table.d.ts +0 -210
- package/es-custom/components/table/src/table.js +0 -641
- package/es-custom/components/table/src/table.js.map +0 -1
- package/es-custom/components/table/src/table.scss.js +0 -13
- package/es-custom/components/table/src/table.scss.js.map +0 -1
- package/es-custom/components/table/src/table.template.d.ts +0 -10
- package/es-custom/components/table/src/table.template.js +0 -96
- package/es-custom/components/table/src/table.template.js.map +0 -1
- package/es-custom/components/toolbar/index.d.ts +0 -1
- package/es-custom/components/toolbar/index.js +0 -9
- package/es-custom/components/toolbar/index.js.map +0 -1
- package/es-custom/components/toolbar/src/toolbar.d.ts +0 -95
- package/es-custom/components/toolbar/src/toolbar.js +0 -409
- package/es-custom/components/toolbar/src/toolbar.js.map +0 -1
- package/es-custom/components/toolbar/src/toolbar.scss.js +0 -13
- package/es-custom/components/toolbar/src/toolbar.scss.js.map +0 -1
- package/es-custom/components/truncated-text/index.d.ts +0 -9
- package/es-custom/components/truncated-text/index.js +0 -9
- package/es-custom/components/truncated-text/index.js.map +0 -1
- package/es-custom/components/truncated-text/src/truncated-text.d.ts +0 -84
- package/es-custom/components/truncated-text/src/truncated-text.js +0 -295
- package/es-custom/components/truncated-text/src/truncated-text.js.map +0 -1
- package/es-custom/components/truncated-text/src/truncated-text.scss.js +0 -13
- package/es-custom/components/truncated-text/src/truncated-text.scss.js.map +0 -1
- package/es-custom/components/user-avatar/index.d.ts +0 -10
- package/es-custom/components/user-avatar/index.js +0 -9
- package/es-custom/components/user-avatar/index.js.map +0 -1
- package/es-custom/components/user-avatar/src/user-avatar.d.ts +0 -46
- package/es-custom/components/user-avatar/src/user-avatar.js +0 -153
- package/es-custom/components/user-avatar/src/user-avatar.js.map +0 -1
- package/es-custom/components/user-avatar/src/user-avatar.scss.js +0 -13
- package/es-custom/components/user-avatar/src/user-avatar.scss.js.map +0 -1
- package/es-custom/components/video-player/index.d.ts +0 -10
- package/es-custom/components/video-player/index.js +0 -9
- package/es-custom/components/video-player/index.js.map +0 -1
- package/es-custom/components/video-player/src/providers/base-provider.js.map +0 -1
- package/es-custom/components/video-player/src/providers/kaltura-provider.js +0 -192
- package/es-custom/components/video-player/src/providers/kaltura-provider.js.map +0 -1
- package/es-custom/components/video-player/src/providers/native-video-provider.js +0 -158
- package/es-custom/components/video-player/src/providers/native-video-provider.js.map +0 -1
- package/es-custom/components/video-player/src/providers/vimeo-provider.js +0 -194
- package/es-custom/components/video-player/src/providers/vimeo-provider.js.map +0 -1
- package/es-custom/components/video-player/src/providers/youtube-provider.js +0 -215
- package/es-custom/components/video-player/src/providers/youtube-provider.js.map +0 -1
- package/es-custom/components/video-player/src/utils/url-detector.js.map +0 -1
- package/es-custom/components/video-player/src/video-player.d.ts +0 -145
- package/es-custom/components/video-player/src/video-player.js +0 -419
- package/es-custom/components/video-player/src/video-player.js.map +0 -1
- package/es-custom/components/video-player/src/video-player.scss.js +0 -13
- package/es-custom/components/video-player/src/video-player.scss.js.map +0 -1
- package/es-custom/components/workspace-shell/index.d.ts +0 -4
- package/es-custom/components/workspace-shell/index.js +0 -12
- package/es-custom/components/workspace-shell/index.js.map +0 -1
- package/es-custom/components/workspace-shell/src/header-collapsible-manager.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +0 -17
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js +0 -52
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +0 -38
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +0 -150
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +0 -13
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +0 -38
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js +0 -150
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +0 -13
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +0 -30
- package/es-custom/components/workspace-shell/src/workspace-shell.js +0 -133
- package/es-custom/components/workspace-shell/src/workspace-shell.js.map +0 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +0 -13
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js.map +0 -1
- package/es-custom/globals/decorators/carbon-element.d.ts +0 -37
- package/es-custom/globals/decorators/carbon-element.js +0 -67
- package/es-custom/globals/decorators/carbon-element.js.map +0 -1
- package/es-custom/globals/decorators/index.d.ts +0 -1
- package/es-custom/globals/decorators/index.js +0 -9
- package/es-custom/globals/decorators/index.js.map +0 -1
- package/es-custom/globals/scss/common.scss.js +0 -13
- package/es-custom/globals/scss/common.scss.js.map +0 -1
- package/es-custom/globals/settings.d.ts +0 -2
- package/es-custom/globals/settings.js +0 -20
- package/es-custom/globals/settings.js.map +0 -1
- package/es-custom/globals/utils/aria-announcer-manager.d.ts +0 -118
- package/es-custom/globals/utils/aria-announcer-manager.js +0 -170
- package/es-custom/globals/utils/aria-announcer-manager.js.map +0 -1
- package/es-custom/globals/utils/browser-utils.d.ts +0 -8
- package/es-custom/globals/utils/browser-utils.js +0 -37
- package/es-custom/globals/utils/browser-utils.js.map +0 -1
- package/es-custom/globals/utils/csv.d.ts +0 -7
- package/es-custom/globals/utils/csv.js +0 -37
- package/es-custom/globals/utils/csv.js.map +0 -1
- package/es-custom/globals/utils/dom-utils.d.ts +0 -6
- package/es-custom/globals/utils/dom-utils.js +0 -39
- package/es-custom/globals/utils/dom-utils.js.map +0 -1
- package/es-custom/globals/utils/focus-utils.d.ts +0 -69
- package/es-custom/globals/utils/focus-utils.js +0 -202
- package/es-custom/globals/utils/focus-utils.js.map +0 -1
- package/es-custom/globals/utils/iconTransform.d.ts +0 -51
- package/es-custom/globals/utils/iconTransform.js +0 -197
- package/es-custom/globals/utils/iconTransform.js.map +0 -1
- package/es-custom/globals/utils/rtl-utils.d.ts +0 -7
- package/es-custom/globals/utils/rtl-utils.js +0 -30
- package/es-custom/globals/utils/rtl-utils.js.map +0 -1
- package/es-custom/globals/utils/uuid.d.ts +0 -5
- package/es-custom/globals/utils/uuid.js +0 -32
- package/es-custom/globals/utils/uuid.js.map +0 -1
- package/es-custom/react/ai-label-action-button.d.ts +0 -3
- package/es-custom/react/ai-label-action-button.js +0 -27
- package/es-custom/react/ai-label-action-button.js.map +0 -1
- package/es-custom/react/audio-player.d.ts +0 -12
- package/es-custom/react/audio-player.js +0 -34
- package/es-custom/react/audio-player.js.map +0 -1
- package/es-custom/react/autocomplete.d.ts +0 -11
- package/es-custom/react/autocomplete.js +0 -36
- package/es-custom/react/autocomplete.js.map +0 -1
- package/es-custom/react/card.d.ts +0 -6
- package/es-custom/react/card.js +0 -43
- package/es-custom/react/card.js.map +0 -1
- package/es-custom/react/carousel.d.ts +0 -4
- package/es-custom/react/carousel.js +0 -31
- package/es-custom/react/carousel.js.map +0 -1
- package/es-custom/react/chain-of-thought-step.d.ts +0 -3
- package/es-custom/react/chain-of-thought-step.js +0 -32
- package/es-custom/react/chain-of-thought-step.js.map +0 -1
- package/es-custom/react/chain-of-thought-toggle.d.ts +0 -5
- package/es-custom/react/chain-of-thought-toggle.js +0 -31
- package/es-custom/react/chain-of-thought-toggle.js.map +0 -1
- package/es-custom/react/chain-of-thought.d.ts +0 -6
- package/es-custom/react/chain-of-thought.js +0 -33
- package/es-custom/react/chain-of-thought.js.map +0 -1
- package/es-custom/react/chat-button-skeleton.d.ts +0 -11
- package/es-custom/react/chat-button-skeleton.js +0 -28
- package/es-custom/react/chat-button-skeleton.js.map +0 -1
- package/es-custom/react/chat-button.d.ts +0 -13
- package/es-custom/react/chat-button.js +0 -30
- package/es-custom/react/chat-button.js.map +0 -1
- package/es-custom/react/chat-header.d.ts +0 -73
- package/es-custom/react/chat-header.js +0 -57
- package/es-custom/react/chat-header.js.map +0 -1
- package/es-custom/react/chat-shell.d.ts +0 -11
- package/es-custom/react/chat-shell.js +0 -31
- package/es-custom/react/chat-shell.js.map +0 -1
- package/es-custom/react/code-snippet.d.ts +0 -40
- package/es-custom/react/code-snippet.js +0 -89
- package/es-custom/react/code-snippet.js.map +0 -1
- package/es-custom/react/conversational-search-shell.d.ts +0 -12
- package/es-custom/react/conversational-search-shell.js +0 -32
- package/es-custom/react/conversational-search-shell.js.map +0 -1
- package/es-custom/react/error-message.d.ts +0 -11
- package/es-custom/react/error-message.js +0 -28
- package/es-custom/react/error-message.js.map +0 -1
- package/es-custom/react/feedback-buttons.d.ts +0 -3
- package/es-custom/react/feedback-buttons.js +0 -31
- package/es-custom/react/feedback-buttons.js.map +0 -1
- package/es-custom/react/feedback.d.ts +0 -5
- package/es-custom/react/feedback.js +0 -32
- package/es-custom/react/feedback.js.map +0 -1
- package/es-custom/react/file-upload-item.d.ts +0 -11
- package/es-custom/react/file-upload-item.js +0 -31
- package/es-custom/react/file-upload-item.js.map +0 -1
- package/es-custom/react/file-uploads.d.ts +0 -11
- package/es-custom/react/file-uploads.js +0 -31
- package/es-custom/react/file-uploads.js.map +0 -1
- package/es-custom/react/history/history-content.d.ts +0 -3
- package/es-custom/react/history/history-content.js +0 -28
- package/es-custom/react/history/history-content.js.map +0 -1
- package/es-custom/react/history/history-delete-panel.d.ts +0 -3
- package/es-custom/react/history/history-delete-panel.js +0 -32
- package/es-custom/react/history/history-delete-panel.js.map +0 -1
- package/es-custom/react/history/history-header.d.ts +0 -3
- package/es-custom/react/history/history-header.js +0 -31
- package/es-custom/react/history/history-header.js.map +0 -1
- package/es-custom/react/history/history-loading.d.ts +0 -3
- package/es-custom/react/history/history-loading.js +0 -28
- package/es-custom/react/history/history-loading.js.map +0 -1
- package/es-custom/react/history/history-panel-item-input.d.ts +0 -3
- package/es-custom/react/history/history-panel-item-input.js +0 -33
- package/es-custom/react/history/history-panel-item-input.js.map +0 -1
- package/es-custom/react/history/history-panel-item.d.ts +0 -3
- package/es-custom/react/history/history-panel-item.js +0 -35
- package/es-custom/react/history/history-panel-item.js.map +0 -1
- package/es-custom/react/history/history-panel-items.d.ts +0 -3
- package/es-custom/react/history/history-panel-items.js +0 -28
- package/es-custom/react/history/history-panel-items.js.map +0 -1
- package/es-custom/react/history/history-panel-menu.d.ts +0 -3
- package/es-custom/react/history/history-panel-menu.js +0 -28
- package/es-custom/react/history/history-panel-menu.js.map +0 -1
- package/es-custom/react/history/history-panel.d.ts +0 -3
- package/es-custom/react/history/history-panel.js +0 -28
- package/es-custom/react/history/history-panel.js.map +0 -1
- package/es-custom/react/history/history-search-item.d.ts +0 -3
- package/es-custom/react/history/history-search-item.js +0 -31
- package/es-custom/react/history/history-search-item.js.map +0 -1
- package/es-custom/react/history/history-shell.d.ts +0 -3
- package/es-custom/react/history/history-shell.js +0 -28
- package/es-custom/react/history/history-shell.js.map +0 -1
- package/es-custom/react/history/history-toolbar.d.ts +0 -3
- package/es-custom/react/history/history-toolbar.js +0 -32
- package/es-custom/react/history/history-toolbar.js.map +0 -1
- package/es-custom/react/history/index.d.ts +0 -12
- package/es-custom/react/history/index.js +0 -20
- package/es-custom/react/history/index.js.map +0 -1
- package/es-custom/react/hooks/useChatAutocomplete.d.ts +0 -51
- package/es-custom/react/hooks/useChatAutocomplete.js +0 -254
- package/es-custom/react/hooks/useChatAutocomplete.js.map +0 -1
- package/es-custom/react/input-send-control.d.ts +0 -11
- package/es-custom/react/input-send-control.js +0 -32
- package/es-custom/react/input-send-control.js.map +0 -1
- package/es-custom/react/launcher.d.ts +0 -11
- package/es-custom/react/launcher.js +0 -31
- package/es-custom/react/launcher.js.map +0 -1
- package/es-custom/react/markdown.d.ts +0 -56
- package/es-custom/react/markdown.js +0 -163
- package/es-custom/react/markdown.js.map +0 -1
- package/es-custom/react/message-item-shell.d.ts +0 -3
- package/es-custom/react/message-item-shell.js +0 -30
- package/es-custom/react/message-item-shell.js.map +0 -1
- package/es-custom/react/messages-shell.d.ts +0 -3
- package/es-custom/react/messages-shell.js +0 -32
- package/es-custom/react/messages-shell.js.map +0 -1
- package/es-custom/react/panel.d.ts +0 -3
- package/es-custom/react/panel.js +0 -35
- package/es-custom/react/panel.js.map +0 -1
- package/es-custom/react/processing.d.ts +0 -3
- package/es-custom/react/processing.js +0 -28
- package/es-custom/react/processing.js.map +0 -1
- package/es-custom/react/prompt-line-shell.d.ts +0 -18
- package/es-custom/react/prompt-line-shell.js +0 -36
- package/es-custom/react/prompt-line-shell.js.map +0 -1
- package/es-custom/react/prompt-line.d.ts +0 -26
- package/es-custom/react/prompt-line.js +0 -53
- package/es-custom/react/prompt-line.js.map +0 -1
- package/es-custom/react/reasoning-step.d.ts +0 -3
- package/es-custom/react/reasoning-step.js +0 -32
- package/es-custom/react/reasoning-step.js.map +0 -1
- package/es-custom/react/reasoning-steps-toggle.d.ts +0 -5
- package/es-custom/react/reasoning-steps-toggle.js +0 -31
- package/es-custom/react/reasoning-steps-toggle.js.map +0 -1
- package/es-custom/react/reasoning-steps.d.ts +0 -3
- package/es-custom/react/reasoning-steps.js +0 -28
- package/es-custom/react/reasoning-steps.js.map +0 -1
- package/es-custom/react/stop-streaming-button.d.ts +0 -11
- package/es-custom/react/stop-streaming-button.js +0 -28
- package/es-custom/react/stop-streaming-button.js.map +0 -1
- package/es-custom/react/table.d.ts +0 -4
- package/es-custom/react/table.js +0 -28
- package/es-custom/react/table.js.map +0 -1
- package/es-custom/react/tool-call-data.d.ts +0 -3
- package/es-custom/react/tool-call-data.js +0 -28
- package/es-custom/react/tool-call-data.js.map +0 -1
- package/es-custom/react/toolbar.d.ts +0 -20
- package/es-custom/react/toolbar.js +0 -82
- package/es-custom/react/toolbar.js.map +0 -1
- package/es-custom/react/transcript.d.ts +0 -14
- package/es-custom/react/transcript.js +0 -31
- package/es-custom/react/transcript.js.map +0 -1
- package/es-custom/react/truncated-text.d.ts +0 -12
- package/es-custom/react/truncated-text.js +0 -28
- package/es-custom/react/truncated-text.js.map +0 -1
- package/es-custom/react/user-avatar.d.ts +0 -3
- package/es-custom/react/user-avatar.js +0 -29
- package/es-custom/react/user-avatar.js.map +0 -1
- package/es-custom/react/utils/transformSuggestionConfig.d.ts +0 -21
- package/es-custom/react/utils/transformSuggestionConfig.js +0 -67
- package/es-custom/react/utils/transformSuggestionConfig.js.map +0 -1
- package/es-custom/react/utils/withWebComponentBridge.d.ts +0 -18
- package/es-custom/react/utils/withWebComponentBridge.js +0 -143
- package/es-custom/react/utils/withWebComponentBridge.js.map +0 -1
- package/es-custom/react/video-player.d.ts +0 -12
- package/es-custom/react/video-player.js +0 -34
- package/es-custom/react/video-player.js.map +0 -1
- package/es-custom/react/workspace-shell.d.ts +0 -7
- package/es-custom/react/workspace-shell.js +0 -49
- package/es-custom/react/workspace-shell.js.map +0 -1
- package/es-custom/testing/PageObjectId.d.ts +0 -18
- package/es-custom/testing/PageObjectId.js +0 -37
- package/es-custom/testing/PageObjectId.js.map +0 -1
- package/es-custom/testing/load-all-lazy-deps.d.ts +0 -9
- package/es-custom/testing/load-all-lazy-deps.js +0 -30
- package/es-custom/testing/load-all-lazy-deps.js.map +0 -1
- package/es-custom/typings/overflow-menu.d.ts +0 -34
- package/es-custom/typings/overflow-menu.js +0 -8
- package/es-custom/typings/overflow-menu.js.map +0 -1
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/base-provider.d.ts +0 -0
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/base-provider.js +0 -0
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/native-audio-provider.d.ts +0 -0
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/native-audio-provider.js +0 -0
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/soundcloud-provider.d.ts +0 -0
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/utils/url-detector.d.ts +0 -0
- /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/utils/url-detector.js +0 -0
- /package/{es-custom/components/chat-button → es/components/aichat-button}/defs.d.ts +0 -0
- /package/{es-custom/components/chat-button → es/components/aichat-button}/defs.js +0 -0
- /package/{es-custom/components/chain-of-thought → es/components/aichat-chain-of-thought}/defs.d.ts +0 -0
- /package/{es-custom/components/chain-of-thought → es/components/aichat-chain-of-thought}/defs.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/base-setup.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/base-setup.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-loader.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-loader.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.js.map +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/content-sync.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/content-sync.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/detect-language.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/detect-language.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/editor-manager.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/editor-manager.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-controller.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-controller.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-data.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-data.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-utils.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-utils.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/marker-utils.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/marker-utils.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/theme.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/theme.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/dom-utils.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/dom-utils.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/formatters.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/layout-utils.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/layout-utils.js +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/streaming-manager.d.ts +0 -0
- /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/streaming-manager.js +0 -0
- /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/file-type-icon.d.ts +0 -0
- /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/file-type-icon.js +0 -0
- /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/types.d.ts +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-file-uploads}/types.js +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-file-uploads}/types.js.map +0 -0
- /package/{es-custom/components/chat-history/src → es/components/aichat-history}/chat-history.scss.js.map +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-markdown.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-markdown.scss.js.map +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-run-projection.scss.js.map +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-renderer-types.js +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-renderer-types.js.map +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-token-tree.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-attrs.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-attrs.js +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-highlight.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-highlight.js +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-task-lists.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/html-helpers.js +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/inline-validation.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/inline-validation.js +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/lit-directives.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/lit-directives.js +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/plugin-fallback.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/slot-names.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/streaming-table.d.ts +0 -0
- /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/streaming-table.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-controller.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-controller.js.map +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-mouse-focus.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-mouse-focus.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-loader.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-loader.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-runtime.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/build-extensions.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/carbon-mention.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/carbon-mention.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/editor-styles.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/index.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/index.js.map +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/json-utils.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/json-utils.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/origin-meta.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/origin-meta.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/plain-text-paste.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/plain-text-paste.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/render-token-chip.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/resolve-config-items.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/resolve-config-items.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/strip-presentation-fields.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/strip-presentation-fields.js +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/token-node-view.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/token-node-view.js +0 -0
- /package/{es-custom/components/file-uploads/src → es/components/aichat-prompt-line/tiptap}/types.js +0 -0
- /package/{es-custom/components/file-uploads/src → es/components/aichat-prompt-line/tiptap}/types.js.map +0 -0
- /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/types.js +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/corner-manager.d.ts +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/initialization-manager.d.ts +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/initialization-manager.js +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/resize-observer-manager.d.ts +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/resize-observer-manager.js +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/slot-observer.d.ts +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/slot-observer.js +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/types.d.ts +0 -0
- /package/{es-custom/components/prompt-line/src/tiptap → es/components/aichat-shell}/types.js +0 -0
- /package/{es-custom/components/prompt-line/src/tiptap → es/components/aichat-shell}/types.js.map +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/workspace-manager-utils.d.ts +0 -0
- /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/workspace-manager-utils.js +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/table-loader.d.ts +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/table-loader.js +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.d.ts +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.js +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.js.map +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/types.d.ts +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/types.js +0 -0
- /package/{es-custom/components/table/src → es/components/aichat-table}/types.js.map +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/base-provider.d.ts +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/base-provider.js +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/kaltura-provider.d.ts +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/native-video-provider.d.ts +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/vimeo-provider.d.ts +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/youtube-provider.d.ts +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/utils/url-detector.d.ts +0 -0
- /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/utils/url-detector.js +0 -0
- /package/{es-custom/components/workspace-shell/src → es/components/aichat-workspace-shell}/header-collapsible-manager.d.ts +0 -0
- /package/{es-custom/components/workspace-shell/src → es/components/aichat-workspace-shell}/header-collapsible-manager.js +0 -0
- /package/{es-custom/components/audio-player → es/components/message-byline}/index.js.map +0 -0
- /package/{es-custom/components/chat-button → es/components/user-message-content}/index.js.map +0 -0
- /package/{es-custom/components/shared → es/globals/utils}/dynamic-css-var-sheet.d.ts +0 -0
- /package/{es-custom/components/shared → es/globals/utils}/dynamic-css-var-sheet.js +0 -0
- /package/{es-custom/components/shared → es/globals/utils}/root-styles.d.ts +0 -0
- /package/{es-custom/components/shared → es/globals/utils}/root-styles.js +0 -0
- /package/{es-custom/components/shared/media-utils → es/globals/utils}/script-loader.d.ts +0 -0
- /package/{es-custom/components/shared/media-utils → es/globals/utils}/script-loader.js +0 -0
|
@@ -5,589 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
import { unsafeCSS, css, LitElement, html } from 'lit';
|
|
10
|
-
import { property } from 'lit/decorators.js';
|
|
11
|
-
import { carbonElement } from '../../../globals/decorators/carbon-element.js';
|
|
12
|
-
import prefix from '../../../globals/settings.js';
|
|
13
|
-
import { adoptOnRoot } from '../../shared/dynamic-css-var-sheet.js';
|
|
14
|
-
import { TextareaController } from './prompt-line-textarea-runtime.js';
|
|
15
|
-
import { getRichRuntimeIfLoaded, loadRichRuntime } from './prompt-line-rich-loader.js';
|
|
16
|
-
import { getRawText, textOffsetToDocPos } from './tiptap/json-utils.js';
|
|
17
|
-
import styles from './prompt-line.scss.js';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @license
|
|
21
|
-
*
|
|
22
|
-
* Copyright IBM Corp. 2026
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
25
|
-
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* `<cds-aichat-prompt-line>` — the editing-surface layer of the chat input
|
|
29
|
-
* stack.
|
|
30
|
-
*
|
|
31
|
-
* It renders a lightweight `<textarea>` by default and **never statically
|
|
32
|
-
* imports `@tiptap/*`**, so chats that don't use advanced input features ship
|
|
33
|
-
* no Tiptap. When the `rich` property is set, or `ensureEditor()` is called,
|
|
34
|
-
* the element dynamically imports a Tiptap runtime and upgrades the surface in
|
|
35
|
-
* place — text, caret, and focus carry over because the textarea holds plain
|
|
36
|
-
* text. Host `extensions` alone do not trigger it; they are staged for whichever
|
|
37
|
-
* surface mounts. The upgrade is **sticky**: once rich, the element stays rich
|
|
38
|
-
* for the rest of its life.
|
|
39
|
-
*
|
|
40
|
-
* Both modes expose the same imperative API (`getEditor`, `setContent`,
|
|
41
|
-
* `insertContent`, …) and emit the same `cds-aichat-prompt-*` events, so the
|
|
42
|
-
* React wrapper and `@carbon/ai-chat`'s `Input` are mode-agnostic. Only rich
|
|
43
|
-
* mode fires `cds-aichat-trigger-change` and `cds-aichat-light-dom-portal`.
|
|
44
|
-
* `getEditor()` returns `null` in textarea mode (it's a probe — it never
|
|
45
|
-
* triggers a load); call `ensureEditor()` to force the upgrade and resolve
|
|
46
|
-
* with the live editor.
|
|
47
|
-
*
|
|
48
|
-
* The Carbon Tiptap bundle the rich editor installs — schema, value-sync,
|
|
49
|
-
* typing-indicator, plain-text paste, keymap (`Mod-Enter`/`Enter` →
|
|
50
|
-
* `cds-aichat-prompt-send-intent`), placeholder, undo/redo — lives in
|
|
51
|
-
* [./prompt-line-rich-runtime.ts]. Non-chat hosts wanting Tiptap inside Lit
|
|
52
|
-
* should compose their own element against `@tiptap/core` directly.
|
|
53
|
-
*
|
|
54
|
-
* @element cds-aichat-prompt-line
|
|
55
|
-
* @fires {CustomEvent<InputChangeEventDetail>} cds-aichat-prompt-change - Fired when the content changes.
|
|
56
|
-
* @fires {CustomEvent<{ keyboard: boolean }>} cds-aichat-prompt-focus - Fired when the editing surface gains focus. `keyboard` is false for mouse focus.
|
|
57
|
-
* @fires {CustomEvent} cds-aichat-prompt-blur - Fired when the editing surface loses focus.
|
|
58
|
-
* @fires {CustomEvent<TypingEventDetail>} cds-aichat-prompt-typing - Fired when the user starts or stops typing.
|
|
59
|
-
* @fires {CustomEvent<{ originalEvent: KeyboardEvent }>} cds-aichat-prompt-keydown - Fired for each key press in the editing surface.
|
|
60
|
-
* @fires {CustomEvent} cds-aichat-prompt-send-intent - Fired when the user presses Enter in a non-empty field, or Cmd+Enter (Ctrl+Enter on Windows and Linux) even when the field is empty.
|
|
61
|
-
* @fires {CustomEvent<TriggerChangeEventDetail>} cds-aichat-trigger-change - Fired when an autocomplete trigger such as `@` or `/` starts, changes, or ends. Rich mode only.
|
|
62
|
-
* @fires {CustomEvent<LightDomPortalEventDetail>} cds-aichat-light-dom-portal - Fired when a rich-editor node asks the host to render content in the light DOM. Rich mode only.
|
|
63
|
-
*
|
|
64
|
-
* @experimental
|
|
65
|
-
*/
|
|
66
|
-
let PromptLineElement = class PromptLineElement extends LitElement {
|
|
67
|
-
constructor() {
|
|
68
|
-
super(...arguments);
|
|
69
|
-
/**
|
|
70
|
-
* Host-supplied Tiptap extensions, appended to the carbon bundle when the
|
|
71
|
-
* rich editor mounts. These are *staged*, not a rich-mode trigger: setting
|
|
72
|
-
* them while in textarea mode does not load Tiptap. Select rich explicitly
|
|
73
|
-
* with `rich` or call `ensureEditor()`; the upgrade mounts with these
|
|
74
|
-
* already installed.
|
|
75
|
-
*
|
|
76
|
-
* A new array is compared by value against the set last supplied, so a config
|
|
77
|
-
* update that rebuilds an equivalent one leaves the live editor and its undo
|
|
78
|
-
* history in place, writing any starter `items`/`isOn` through to storage.
|
|
79
|
-
* Only a genuinely different set recreates the editor, preserving content,
|
|
80
|
-
* selection, and focus but resetting history.
|
|
81
|
-
* Extensions built by `buildCarbonExtensions` compare by their source
|
|
82
|
-
* config; anything you supply directly compares by reference, so memoize
|
|
83
|
-
* those (a fresh instance each render reads as a real change).
|
|
84
|
-
*/
|
|
85
|
-
this.extensions = [];
|
|
86
|
-
/**
|
|
87
|
-
* Selects the rich Tiptap editor. The element lazy-loads Tiptap and upgrades
|
|
88
|
-
* the textarea in place; the upgrade is sticky (clearing `rich` later keeps
|
|
89
|
-
* the editor). Defaults to the textarea.
|
|
90
|
-
*/
|
|
91
|
-
this.rich = false;
|
|
92
|
-
/** Disables editing. The surface stays mounted but non-editable. */
|
|
93
|
-
this.disabled = false;
|
|
94
|
-
/** Placeholder text shown when the surface is empty. */
|
|
95
|
-
this.placeholder = '';
|
|
96
|
-
/** Accessible label for the editing surface. */
|
|
97
|
-
this.ariaLabel = 'Message';
|
|
98
|
-
/** Test id, applied to the inner editable element. */
|
|
99
|
-
this.testId = '';
|
|
100
|
-
/** Focus the surface on mount. */
|
|
101
|
-
this.autofocus = false;
|
|
102
|
-
this._controller = null;
|
|
103
|
-
this._mode = 'textarea';
|
|
104
|
-
this._editorHost = null;
|
|
105
|
-
this._lastExtensionsRef = null;
|
|
106
|
-
this._seedPending = false;
|
|
107
|
-
/** Pending deferred teardown, cancelled if the element is reattached. */
|
|
108
|
-
this._pendingTeardownTimer = null;
|
|
109
|
-
this._focusedWithKeyboard = null;
|
|
110
|
-
/** Sticky latch — once rich is wanted it never reverts. */
|
|
111
|
-
this._richLatched = false;
|
|
112
|
-
this._upgrading = false;
|
|
113
|
-
/**
|
|
114
|
-
* The element owns the host's composition listeners for both layers — it
|
|
115
|
-
* gates its own textarea→rich upgrade on this, and pushes the state to the
|
|
116
|
-
* active controller via `setComposing` so rich mode can withhold a recreate.
|
|
117
|
-
* One observer, so the two layers cannot disagree.
|
|
118
|
-
*/
|
|
119
|
-
this._isComposing = false;
|
|
120
|
-
this._pendingUpgrade = false;
|
|
121
|
-
/**
|
|
122
|
-
* Shared promise for in-flight `ensureEditor()` callers. Created lazily on the
|
|
123
|
-
* first `ensureEditor()` call that needs an upgrade, settled once the rich
|
|
124
|
-
* editor is mounted (`_swapToRich`) or the upgrade can't complete.
|
|
125
|
-
*/
|
|
126
|
-
this._richReady = null;
|
|
127
|
-
this._resolveRichReady = null;
|
|
128
|
-
this._rejectRichReady = null;
|
|
129
|
-
this._onCompositionStart = () => {
|
|
130
|
-
this._isComposing = true;
|
|
131
|
-
this._controller?.setComposing(true);
|
|
132
|
-
};
|
|
133
|
-
this._onCompositionEnd = () => {
|
|
134
|
-
this._isComposing = false;
|
|
135
|
-
this._controller?.setComposing(false);
|
|
136
|
-
if (this._pendingUpgrade) {
|
|
137
|
-
this._pendingUpgrade = false;
|
|
138
|
-
void this._requestRichUpgrade();
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
// ---------------------------------------------------------------------------
|
|
143
|
-
// Lifecycle
|
|
144
|
-
// ---------------------------------------------------------------------------
|
|
145
|
-
firstUpdated() {
|
|
146
|
-
this._initializeSurface();
|
|
147
|
-
}
|
|
148
|
-
connectedCallback() {
|
|
149
|
-
super.connectedCallback();
|
|
150
|
-
if (this._pendingTeardownTimer !== null) {
|
|
151
|
-
// Reattached before the deferred teardown ran — a move, not an unmount.
|
|
152
|
-
// The controller and its editor host traveled with the element, so the
|
|
153
|
-
// Tiptap instance (and its undo history) survives untouched.
|
|
154
|
-
//
|
|
155
|
-
// Unlike `_teardownSurface`, this deliberately leaves `_isComposing` /
|
|
156
|
-
// `_pendingUpgrade` alone: the host div and its composition listeners are
|
|
157
|
-
// still attached, so a later `compositionend` reaches them and releases
|
|
158
|
-
// whatever was parked. Teardown has to reset eagerly only because it
|
|
159
|
-
// discards the listeners that would otherwise do it.
|
|
160
|
-
clearTimeout(this._pendingTeardownTimer);
|
|
161
|
-
this._pendingTeardownTimer = null;
|
|
162
|
-
const root = this._editorHost?.getRootNode();
|
|
163
|
-
if (root instanceof ShadowRoot || root instanceof Document) {
|
|
164
|
-
adoptOnRoot(root);
|
|
165
|
-
}
|
|
166
|
-
this._controller?.getEditor()?.view.updateRoot();
|
|
167
|
-
const activeElement = this.ownerDocument.activeElement;
|
|
168
|
-
if (this._focusedWithKeyboard !== null &&
|
|
169
|
-
(!activeElement || activeElement === this.ownerDocument.body)) {
|
|
170
|
-
this._controller?.focus(this._focusedWithKeyboard, true);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
this._focusedWithKeyboard = null;
|
|
174
|
-
}
|
|
175
|
-
if (this._richLatched && this._mode === 'textarea') {
|
|
176
|
-
void this._requestRichUpgrade();
|
|
177
|
-
}
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
// Reattached after a real teardown. `firstUpdated` is a one-shot, so
|
|
181
|
-
// without this the element would come back permanently inert.
|
|
182
|
-
if (this._isTornDown()) {
|
|
183
|
-
this._initializeSurface();
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
updated(changed) {
|
|
187
|
-
if (!this._controller) {
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
if ((changed.has('rich') || changed.has('extensions')) &&
|
|
191
|
-
this._wantsRich()) {
|
|
192
|
-
this._richLatched = true;
|
|
193
|
-
if (this._mode === 'textarea') {
|
|
194
|
-
void this._requestRichUpgrade();
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
if (changed.has('extensions') &&
|
|
198
|
-
this.extensions !== this._lastExtensionsRef) {
|
|
199
|
-
this._lastExtensionsRef = this.extensions;
|
|
200
|
-
if (this._mode === 'rich') {
|
|
201
|
-
this._controller.setExtensions(this.extensions);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
if (changed.has('disabled')) {
|
|
205
|
-
this._controller.setEditable(!this.disabled);
|
|
206
|
-
}
|
|
207
|
-
// The seed echo is skipped once — re-applying it would emit a spurious
|
|
208
|
-
// host-origin change event. Every later update lands, including one that
|
|
209
|
-
// returns to the seed value, and including one alongside an extensions
|
|
210
|
-
// change (which may no-op or recreate; either way the seed is the previous
|
|
211
|
-
// doc).
|
|
212
|
-
if (changed.has('content')) {
|
|
213
|
-
const echoesSeed = this._seedPending && this.content === this._seededContent;
|
|
214
|
-
this._seedPending = false;
|
|
215
|
-
if (!echoesSeed) {
|
|
216
|
-
this._controller.setContent(this.content ?? '');
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
if (changed.has('placeholder')) {
|
|
220
|
-
this._controller.setPlaceholder(this.placeholder);
|
|
221
|
-
}
|
|
222
|
-
if (changed.has('testId')) {
|
|
223
|
-
this._controller.setTestId(this.testId);
|
|
224
|
-
}
|
|
225
|
-
if (changed.has('ariaLabel')) {
|
|
226
|
-
this._controller.setAriaLabel(this.ariaLabel);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
disconnectedCallback() {
|
|
230
|
-
super.disconnectedCallback();
|
|
231
|
-
if (!this._controller || this._pendingTeardownTimer !== null) {
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
// Deferred by a task so a reparent — remove and re-append in the same
|
|
235
|
-
// frame — keeps the live editor instead of destroying and rebuilding it.
|
|
236
|
-
// A macrotask rather than a microtask because the reconnect can be
|
|
237
|
-
// scheduled separately from the removal, and rather than a frame callback
|
|
238
|
-
// because those never fire in a background tab, which would leak the
|
|
239
|
-
// editor of a chat that really was unmounted.
|
|
240
|
-
this._pendingTeardownTimer = setTimeout(() => {
|
|
241
|
-
this._pendingTeardownTimer = null;
|
|
242
|
-
this._teardownSurface();
|
|
243
|
-
}, 0);
|
|
244
|
-
}
|
|
245
|
-
/** Destroy the editing surface. Deferred from `disconnectedCallback`. */
|
|
246
|
-
_teardownSurface() {
|
|
247
|
-
this._focusedWithKeyboard = null;
|
|
248
|
-
this._failRichReady(new Error('Input is not currently rendered'));
|
|
249
|
-
this._controller?.destroy();
|
|
250
|
-
this._controller = null;
|
|
251
|
-
this._editorHost?.remove();
|
|
252
|
-
this._editorHost = null;
|
|
253
|
-
this._lastExtensionsRef = null;
|
|
254
|
-
// Back to the default surface. `_richLatched` is the sticky flag, so a late
|
|
255
|
-
// reconnect still comes back rich; leaving `_mode` on 'rich' with no
|
|
256
|
-
// controller would just be a field outliving what it describes.
|
|
257
|
-
this._mode = 'textarea';
|
|
258
|
-
// The host div (and its composition listeners) is gone, so a composition
|
|
259
|
-
// that was in flight can never fire its `compositionend`. Left set, these
|
|
260
|
-
// would park the first upgrade after a reattach forever.
|
|
261
|
-
this._isComposing = false;
|
|
262
|
-
this._pendingUpgrade = false;
|
|
263
|
-
}
|
|
264
|
-
/** Mount the editing surface. Runs on first render and on a late reconnect. */
|
|
265
|
-
_initializeSurface() {
|
|
266
|
-
// Guard against Lit running the pending first update on an element that was
|
|
267
|
-
// appended and removed in a single task before the update flushed. Without
|
|
268
|
-
// this check the editor mounts on a detached host with no disconnectedCallback
|
|
269
|
-
// left to clean it up, because the callback already ran before the update.
|
|
270
|
-
if (!this.isConnected) {
|
|
271
|
-
return;
|
|
272
|
-
}
|
|
273
|
-
const host = this._mountEditorHost();
|
|
274
|
-
this._lastExtensionsRef = this.extensions;
|
|
275
|
-
this._seededContent = this.content;
|
|
276
|
-
this._seedPending = true;
|
|
277
|
-
this._richLatched = this._wantsRich();
|
|
278
|
-
const warmRuntime = this._richLatched ? getRichRuntimeIfLoaded() : null;
|
|
279
|
-
if (warmRuntime) {
|
|
280
|
-
// Runtime already loaded (e.g. preloaded at boot) — mount rich directly,
|
|
281
|
-
// no textarea flash.
|
|
282
|
-
this._mode = 'rich';
|
|
283
|
-
this._controller = warmRuntime.createRichController();
|
|
284
|
-
this._controller.mount(host, this._makeInit());
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
this._mode = 'textarea';
|
|
288
|
-
this._controller = new TextareaController();
|
|
289
|
-
this._controller.mount(host, this._makeInit());
|
|
290
|
-
if (this._richLatched) {
|
|
291
|
-
void this._requestRichUpgrade();
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
if (this.autofocus) {
|
|
295
|
-
// Defer so consumer listeners are attached first.
|
|
296
|
-
Promise.resolve().then(() => this._controller?.focus(false));
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
render() {
|
|
300
|
-
return html `
|
|
301
|
-
<div class="frame">
|
|
302
|
-
<slot name="editor"></slot>
|
|
303
|
-
</div>
|
|
304
|
-
`;
|
|
305
|
-
}
|
|
306
|
-
// ---------------------------------------------------------------------------
|
|
307
|
-
// Public methods (delegate to the active controller)
|
|
308
|
-
// ---------------------------------------------------------------------------
|
|
309
|
-
/** Returns the live Tiptap editor, or `null` in textarea mode. */
|
|
310
|
-
getEditor() {
|
|
311
|
-
return this._controller?.getEditor() ?? null;
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* Lazily load Tiptap (if not already loaded), upgrade the textarea to the
|
|
315
|
-
* rich editor in place, and resolve with the live editor. Resolves
|
|
316
|
-
* immediately when already rich. Rejects when the surface isn't mounted or
|
|
317
|
-
* the runtime can't load (SSR). Concurrent callers share one in-flight
|
|
318
|
-
* upgrade.
|
|
319
|
-
*/
|
|
320
|
-
ensureEditor() {
|
|
321
|
-
if (!this.isConnected || this._pendingTeardownTimer !== null) {
|
|
322
|
-
return Promise.reject(new Error('Input is not currently rendered'));
|
|
323
|
-
}
|
|
324
|
-
if (this._mode === 'rich') {
|
|
325
|
-
const editor = this._controller?.getEditor();
|
|
326
|
-
if (editor) {
|
|
327
|
-
return Promise.resolve(editor);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
// Connected but not yet rendered, or already torn down — nothing to upgrade.
|
|
331
|
-
if (!this._editorHost || !this._controller) {
|
|
332
|
-
return Promise.reject(new Error('Input is not currently rendered'));
|
|
333
|
-
}
|
|
334
|
-
this._richLatched = true;
|
|
335
|
-
if (!this._richReady) {
|
|
336
|
-
this._richReady = new Promise((resolve, reject) => {
|
|
337
|
-
this._resolveRichReady = resolve;
|
|
338
|
-
this._rejectRichReady = reject;
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
// Capture the promise before starting the upgrade: _requestRichUpgrade may
|
|
342
|
-
// run synchronously (warm runtime path) and call _failRichReady, which
|
|
343
|
-
// nulls this._richReady. Returning the captured reference keeps the
|
|
344
|
-
// rejection visible to the caller.
|
|
345
|
-
const promise = this._richReady;
|
|
346
|
-
void this._requestRichUpgrade();
|
|
347
|
-
return promise;
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* Current plain-text value. Works in both modes (in rich mode this mirrors
|
|
351
|
-
* `getEditor()?.getText()`), so callers don't need to branch on `getEditor()`
|
|
352
|
-
* being `null`.
|
|
353
|
-
*/
|
|
354
|
-
getValue() {
|
|
355
|
-
return this._controller?.getValue() ?? '';
|
|
356
|
-
}
|
|
357
|
-
focus() {
|
|
358
|
-
this._controller?.focus(false);
|
|
359
|
-
}
|
|
360
|
-
blur() {
|
|
361
|
-
this._focusedWithKeyboard = null;
|
|
362
|
-
this._controller?.blur();
|
|
363
|
-
}
|
|
364
|
-
/** Returns `true` if the editing surface currently holds focus. */
|
|
365
|
-
hasFocus() {
|
|
366
|
-
return this._controller?.hasFocus() ?? false;
|
|
367
|
-
}
|
|
368
|
-
clearContent() {
|
|
369
|
-
this._controller?.clearContent();
|
|
370
|
-
}
|
|
371
|
-
setContent(next) {
|
|
372
|
-
this._controller?.setContent(next);
|
|
373
|
-
}
|
|
374
|
-
insertContent(content, opts = {}) {
|
|
375
|
-
this._controller?.insertContent(content, opts);
|
|
376
|
-
}
|
|
377
|
-
setTextSelection(pos) {
|
|
378
|
-
this._controller?.setTextSelection(pos);
|
|
379
|
-
}
|
|
380
|
-
selectAll() {
|
|
381
|
-
this._controller?.selectAll();
|
|
382
|
-
}
|
|
383
|
-
undo() {
|
|
384
|
-
return this._controller?.undo() ?? false;
|
|
385
|
-
}
|
|
386
|
-
redo() {
|
|
387
|
-
return this._controller?.redo() ?? false;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* Drops the editor's undo and redo history, keeping the live editor,
|
|
391
|
-
* its focus, and its plugin state. Emits Tiptap's `transaction` event but
|
|
392
|
-
* no `update`, value-change, typing, or token events. No-op in plain
|
|
393
|
-
* textarea mode.
|
|
394
|
-
*/
|
|
395
|
-
resetHistory() {
|
|
396
|
-
this._controller?.resetHistory();
|
|
397
|
-
}
|
|
398
|
-
// ---------------------------------------------------------------------------
|
|
399
|
-
// Internals
|
|
400
|
-
// ---------------------------------------------------------------------------
|
|
401
|
-
_wantsRich() {
|
|
402
|
-
return this._richLatched || this.rich;
|
|
403
|
-
}
|
|
404
|
-
/**
|
|
405
|
-
* Rendered once and then torn down — the element is inert until something
|
|
406
|
-
* re-runs the mount path. Distinct from "not yet rendered", where Lit's own
|
|
407
|
-
* `firstUpdated` still has it.
|
|
408
|
-
*/
|
|
409
|
-
_isTornDown() {
|
|
410
|
-
return this.hasUpdated && !this._controller;
|
|
411
|
-
}
|
|
412
|
-
_mountEditorHost() {
|
|
413
|
-
const host = document.createElement('div');
|
|
414
|
-
host.setAttribute('slot', 'editor');
|
|
415
|
-
host.dataset.aichatEditorHost = '';
|
|
416
|
-
this.appendChild(host);
|
|
417
|
-
this._editorHost = host;
|
|
418
|
-
// Defer an upgrade requested mid-IME-composition so we don't tear the
|
|
419
|
-
// field out from under the user.
|
|
420
|
-
host.addEventListener('compositionstart', this._onCompositionStart);
|
|
421
|
-
host.addEventListener('compositionend', this._onCompositionEnd);
|
|
422
|
-
host.addEventListener('cds-aichat-prompt-focus', (event) => {
|
|
423
|
-
this._focusedWithKeyboard = event.detail.keyboard;
|
|
424
|
-
});
|
|
425
|
-
host.addEventListener('cds-aichat-prompt-blur', () => {
|
|
426
|
-
// Chromium blurs a removed ancestor's descendants before disconnecting
|
|
427
|
-
// them. Wait until the DOM move finishes before treating this as a blur.
|
|
428
|
-
queueMicrotask(() => {
|
|
429
|
-
if (this.isConnected && !this._controller?.hasFocus()) {
|
|
430
|
-
this._focusedWithKeyboard = null;
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
});
|
|
434
|
-
const root = host.getRootNode();
|
|
435
|
-
if (root instanceof ShadowRoot || root instanceof Document) {
|
|
436
|
-
adoptOnRoot(root);
|
|
437
|
-
}
|
|
438
|
-
return host;
|
|
439
|
-
}
|
|
440
|
-
/** Build the controller init from current props (rich seed by default). */
|
|
441
|
-
_makeInit(valueOverride) {
|
|
442
|
-
const value = valueOverride ??
|
|
443
|
-
(typeof this.content === 'string'
|
|
444
|
-
? this.content
|
|
445
|
-
: this.content
|
|
446
|
-
? getRawText(this.content)
|
|
447
|
-
: '');
|
|
448
|
-
return {
|
|
449
|
-
value,
|
|
450
|
-
// On an upgrade we seed losslessly from the textarea's plain text, so
|
|
451
|
-
// the structured `content` prop is only used for the initial mount.
|
|
452
|
-
content: valueOverride === undefined ? this.content : undefined,
|
|
453
|
-
placeholder: this.placeholder,
|
|
454
|
-
disabled: this.disabled,
|
|
455
|
-
ariaLabel: this.ariaLabel,
|
|
456
|
-
testId: this.testId,
|
|
457
|
-
extensions: this.extensions,
|
|
458
|
-
};
|
|
459
|
-
}
|
|
460
|
-
/** Resolve any pending `ensureEditor()` callers with the live editor. */
|
|
461
|
-
_settleRichReady() {
|
|
462
|
-
const editor = this._controller?.getEditor();
|
|
463
|
-
if (editor && this._resolveRichReady) {
|
|
464
|
-
this._resolveRichReady(editor);
|
|
465
|
-
this._resolveRichReady = null;
|
|
466
|
-
this._rejectRichReady = null;
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* Reject any pending `ensureEditor()` callers and clear the shared promise so
|
|
471
|
-
* a later call can retry.
|
|
472
|
-
*/
|
|
473
|
-
_failRichReady(reason) {
|
|
474
|
-
if (this._rejectRichReady) {
|
|
475
|
-
this._rejectRichReady(reason);
|
|
476
|
-
}
|
|
477
|
-
this._resolveRichReady = null;
|
|
478
|
-
this._rejectRichReady = null;
|
|
479
|
-
this._richReady = null;
|
|
480
|
-
}
|
|
481
|
-
/**
|
|
482
|
-
* Request a textarea→rich upgrade. The upgrade may be declined or deferred:
|
|
483
|
-
* returns without upgrading when already rich, when a concurrent upgrade is
|
|
484
|
-
* in flight, when a teardown is pending (element scheduled for removal), when
|
|
485
|
-
* a composition is in flight, or when the runtime is unavailable (SSR).
|
|
486
|
-
*/
|
|
487
|
-
async _requestRichUpgrade() {
|
|
488
|
-
if (this._mode === 'rich' || this._upgrading) {
|
|
489
|
-
return;
|
|
490
|
-
}
|
|
491
|
-
this._upgrading = true;
|
|
492
|
-
try {
|
|
493
|
-
const module = getRichRuntimeIfLoaded() ?? (await loadRichRuntime());
|
|
494
|
-
// After the async import, re-check all bail conditions — any of them can
|
|
495
|
-
// have changed while the runtime was loading:
|
|
496
|
-
// - `_pendingTeardownTimer`: element disconnected during the import; the
|
|
497
|
-
// teardown is scheduled but hasn't run yet, so _editorHost and
|
|
498
|
-
// _controller are still set. Mounting here would build an editor that
|
|
499
|
-
// is destroyed a macrotask later, and resolve any pending ensureEditor()
|
|
500
|
-
// with a dead editor. Reject instead.
|
|
501
|
-
// - `_editorHost` / `_controller` null: real teardown already ran.
|
|
502
|
-
// - `module` null: SSR or runtime load failed.
|
|
503
|
-
if (!module || !this._editorHost || !this._controller) {
|
|
504
|
-
this._failRichReady(new Error(module
|
|
505
|
-
? 'Input is not currently rendered'
|
|
506
|
-
: 'Input editor runtime is unavailable'));
|
|
507
|
-
return;
|
|
508
|
-
}
|
|
509
|
-
if (this._pendingTeardownTimer !== null) {
|
|
510
|
-
// Teardown is deferred but imminent. Reject so callers get a clear
|
|
511
|
-
// error rather than a live editor that disappears one task later.
|
|
512
|
-
this._failRichReady(new Error('Input is not currently rendered'));
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
|
-
if (this._isComposing) {
|
|
516
|
-
// Defer until composition ends; `_richReady` stays pending and settles
|
|
517
|
-
// when `_onCompositionEnd` re-runs the upgrade.
|
|
518
|
-
this._pendingUpgrade = true;
|
|
519
|
-
return;
|
|
520
|
-
}
|
|
521
|
-
this._swapToRich(module.createRichController());
|
|
522
|
-
}
|
|
523
|
-
catch (error) {
|
|
524
|
-
// A failed runtime load or mount must reject pending `ensureEditor()`
|
|
525
|
-
// callers rather than leave them hanging.
|
|
526
|
-
this._failRichReady(error instanceof Error ? error : new Error(String(error)));
|
|
527
|
-
}
|
|
528
|
-
finally {
|
|
529
|
-
this._upgrading = false;
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
_swapToRich(rich) {
|
|
533
|
-
const previous = this._controller;
|
|
534
|
-
const host = this._editorHost;
|
|
535
|
-
if (!previous || !host) {
|
|
536
|
-
return;
|
|
537
|
-
}
|
|
538
|
-
const value = previous.getValue();
|
|
539
|
-
const selection = previous.getSelection();
|
|
540
|
-
const hadFocus = previous.hasFocus();
|
|
541
|
-
const hadKeyboardFocus = previous.getKeyboardFocus();
|
|
542
|
-
previous.destroy();
|
|
543
|
-
this._controller = rich;
|
|
544
|
-
this._mode = 'rich';
|
|
545
|
-
// Seeded losslessly from the textarea's text, which already reflects
|
|
546
|
-
// `content`, so an in-flight identical `content` update stays a no-op.
|
|
547
|
-
this._seededContent = this.content;
|
|
548
|
-
this._seedPending = true;
|
|
549
|
-
rich.mount(host, this._makeInit(value));
|
|
550
|
-
rich.setTextSelection({
|
|
551
|
-
from: textOffsetToDocPos(value, selection.from),
|
|
552
|
-
to: textOffsetToDocPos(value, selection.to),
|
|
553
|
-
});
|
|
554
|
-
if (hadFocus) {
|
|
555
|
-
rich.focus(hadKeyboardFocus, true);
|
|
556
|
-
}
|
|
557
|
-
this._settleRichReady();
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
PromptLineElement.styles = css `
|
|
561
|
-
${unsafeCSS(styles)}
|
|
562
|
-
`;
|
|
563
|
-
__decorate([
|
|
564
|
-
property({ type: Array, attribute: false })
|
|
565
|
-
], PromptLineElement.prototype, "extensions", void 0);
|
|
566
|
-
__decorate([
|
|
567
|
-
property({ type: Object, attribute: false })
|
|
568
|
-
], PromptLineElement.prototype, "content", void 0);
|
|
569
|
-
__decorate([
|
|
570
|
-
property({ type: Boolean, reflect: true })
|
|
571
|
-
], PromptLineElement.prototype, "rich", void 0);
|
|
572
|
-
__decorate([
|
|
573
|
-
property({ type: Boolean, reflect: true })
|
|
574
|
-
], PromptLineElement.prototype, "disabled", void 0);
|
|
575
|
-
__decorate([
|
|
576
|
-
property({ type: String })
|
|
577
|
-
], PromptLineElement.prototype, "placeholder", void 0);
|
|
578
|
-
__decorate([
|
|
579
|
-
property({ type: String, attribute: 'aria-label', reflect: true })
|
|
580
|
-
], PromptLineElement.prototype, "ariaLabel", void 0);
|
|
581
|
-
__decorate([
|
|
582
|
-
property({ type: String, attribute: 'test-id' })
|
|
583
|
-
], PromptLineElement.prototype, "testId", void 0);
|
|
584
|
-
__decorate([
|
|
585
|
-
property({ type: Boolean })
|
|
586
|
-
], PromptLineElement.prototype, "autofocus", void 0);
|
|
587
|
-
PromptLineElement = __decorate([
|
|
588
|
-
carbonElement(`${prefix}-prompt-line`)
|
|
589
|
-
], PromptLineElement);
|
|
590
|
-
var PromptLineElement$1 = PromptLineElement;
|
|
591
|
-
|
|
592
|
-
export { PromptLineElement$1 as default };
|
|
8
|
+
export { default } from '../../aichat-prompt-line/aichat-prompt-line.js';
|
|
593
9
|
//# sourceMappingURL=prompt-line.js.map
|