@carbon/ai-chat-components 1.14.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 +20622 -16449
- 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.d.ts +41 -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 -142
- package/es/components/chat-history/src/history-panel-item.js +1 -405
- 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 -207
- package/es/components/code-snippet/src/code-snippet.js +1 -974
- 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 -117
- package/es/components/file-uploads/src/file-upload-item.js +1 -434
- 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 -116
- package/es/components/file-uploads/src/file-uploads.js +1 -283
- 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 -5
- package/es/components/markdown/src/inline-markdown.d.ts +1 -41
- package/es/components/markdown/src/inline-markdown.js +2 -84
- package/es/components/markdown/src/inline-markdown.js.map +1 -1
- package/es/components/markdown/src/markdown-renderer-types.d.ts +1 -395
- package/es/components/markdown/src/markdown-renderer.d.ts +1 -26
- package/es/components/markdown/src/markdown-renderer.js +1 -632
- 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 -139
- package/es/components/markdown/src/markdown.js +1 -862
- 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 -188
- 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 +9 -0
- package/es/components/message-item-shell/index.js +10 -0
- package/es/components/message-item-shell/src/message-item-shell.d.ts +2 -0
- package/es/components/message-item-shell/src/message-item-shell.js +9 -0
- package/es/components/message-item-shell/src/message-item-shell.js.map +1 -0
- 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 +19 -0
- package/es/components/message-item-shell/src/message-item-shell.scss.js.map +1 -0
- 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 -433
- 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 -380
- 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 -197
- package/es/components/prompt-line/src/prompt-line.js +1 -546
- 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 -229
- 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 -85
- package/es/components/toolbar/src/toolbar.js +1 -378
- 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 +9 -0
- package/es/components/user-avatar/index.js +10 -0
- package/es/components/user-avatar/src/user-avatar.d.ts +2 -0
- package/es/components/user-avatar/src/user-avatar.js +9 -0
- package/es/components/user-avatar/src/user-avatar.js.map +1 -0
- package/es/components/user-avatar/src/user-avatar.scss.d.ts +3 -0
- package/es/components/user-avatar/src/user-avatar.scss.js +19 -0
- package/es/components/user-avatar/src/user-avatar.scss.js.map +1 -0
- 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/iconTransform.js +1 -0
- package/es/globals/utils/iconTransform.js.map +1 -1
- 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.d.ts +30 -0
- package/es/globals/utils/root-styles.js +72 -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 +9 -7
- 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 +15 -9
- package/es/react/code-snippet.js +9 -6
- 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 +3 -0
- package/es/react/message-item-shell.js +29 -0
- package/es/react/message-item-shell.js.map +1 -0
- 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 +8 -3
- package/es/react/toolbar.js +9 -7
- 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 +3 -0
- package/es/react/user-avatar.js +28 -0
- package/es/react/user-avatar.js.map +1 -0
- 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 +67 -27
- 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 +18 -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/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 -142
- package/es-custom/components/chat-history/src/history-panel-item.js +0 -413
- 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/src/code-snippet.d.ts +0 -207
- package/es-custom/components/code-snippet/src/code-snippet.js +0 -982
- 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/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 -117
- package/es-custom/components/file-uploads/src/file-upload-item.js +0 -442
- 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 -116
- package/es-custom/components/file-uploads/src/file-uploads.js +0 -291
- 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 -13
- package/es-custom/components/markdown/index.js.map +0 -1
- package/es-custom/components/markdown/src/inline-markdown.d.ts +0 -41
- package/es-custom/components/markdown/src/inline-markdown.js +0 -92
- 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 -395
- package/es-custom/components/markdown/src/markdown-renderer.d.ts +0 -26
- package/es-custom/components/markdown/src/markdown-renderer.js +0 -640
- 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 -139
- package/es-custom/components/markdown/src/markdown.js +0 -870
- 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 -196
- 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/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 -441
- 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 -388
- 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 -197
- package/es-custom/components/prompt-line/src/prompt-line.js +0 -554
- 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 -229
- 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/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 -85
- package/es-custom/components/toolbar/src/toolbar.js +0 -386
- 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/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 -196
- 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 -55
- 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 -37
- package/es-custom/react/code-snippet.js +0 -87
- 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/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 -80
- 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/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.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/message-item-shell}/index.js.map +0 -0
- /package/{es-custom/components/code-snippet → es/components/user-avatar}/index.js.map +0 -0
- /package/{es-custom/components/feedback → 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/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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-manager.js","sources":["../../../src/components/aichat-shell/workspace-manager.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport throttle from 'lodash-es/throttle.js';\nimport {\n calculateRequiredWidth,\n hasSignificantWidthChange,\n isWideEnough,\n canHostGrow,\n getInlineSizeFromEntry,\n getCssLengthFromProperty,\n areWorkspaceAttributesCorrect,\n shouldSkipWorkspaceUpdate,\n} from './workspace-manager-utils.js';\n\nconst WORKSPACE_MIN_WIDTH_FALLBACK = 640;\nconst MESSAGES_MIN_WIDTH_FALLBACK = 320;\nconst HISTORY_WIDTH_FALLBACK = 320;\nconst EXPANSION_POLL_INTERVAL_MS = 50;\nconst EXPANSION_THRESHOLD_PX = 1;\n\ninterface WorkspaceConfig {\n showWorkspace: boolean;\n showHistory: boolean;\n workspaceLocation: 'start' | 'end';\n roundedCorners: boolean;\n}\n\ninterface WorkspaceCallbacks {\n onWorkspaceVisibilityChange?: (visible: boolean, inPanel: boolean) => void;\n}\n\ninterface WorkspaceState {\n inPanel: boolean;\n contentVisible: boolean;\n containerVisible: boolean;\n isCheckingExpansion: boolean;\n isExpanding: boolean;\n isCheckingContracting: boolean;\n isContracting: boolean;\n}\n\n/**\n * Manages workspace layout, responsive behavior, and transitions for cds-aichat-shell.\n * Handles switching between inline and panel modes based on available width,\n * and orchestrates smooth transitions when workspace visibility changes.\n */\nexport class WorkspaceManager {\n private state: WorkspaceState = {\n inPanel: false,\n contentVisible: true,\n containerVisible: false,\n isCheckingExpansion: false,\n isExpanding: false,\n isCheckingContracting: false,\n isContracting: false,\n };\n\n private hostResizeObserver?: ResizeObserver;\n private windowResizeHandler?: () => void;\n private expansionCheckInterval?: number;\n private expansionLastInlineSize?: number;\n private contractionCheckInterval?: number;\n private contractionLastInlineSize?: number;\n private contractionInitialInlineSize?: number;\n private throttledHandleHostResize: (inlineSize: number) => void;\n private cssPropertyObserver?: MutationObserver;\n private lastKnownCssValues: {\n workspaceMinWidth?: number;\n messagesMinWidth?: number;\n historyWidth?: number;\n } = {};\n private lastAnnouncedVisibility: {\n visible: boolean;\n inPanel: boolean;\n } | null = null;\n\n constructor(\n private readonly shellRoot: HTMLElement,\n private readonly hostElement: HTMLElement,\n private config: WorkspaceConfig,\n private callbacks?: WorkspaceCallbacks\n ) {\n this.throttledHandleHostResize = throttle(\n (inlineSize: number) => this.handleHostResize(inlineSize),\n 100,\n { leading: true, trailing: true }\n );\n }\n\n // ========== Public API ==========\n\n /**\n * Initialize workspace management and start observing resize events.\n * Should be called after the shell component is fully rendered.\n */\n connect(): void {\n if (this.config.showWorkspace) {\n this.handleShowWorkspaceEnabled();\n }\n this.observeCssProperties();\n }\n\n /**\n * Clean up observers and timers.\n * Should be called when the shell component is disconnected.\n */\n disconnect(): void {\n this.hostResizeObserver?.disconnect();\n if (this.windowResizeHandler && typeof window !== 'undefined') {\n window.removeEventListener('resize', this.windowResizeHandler);\n }\n this.clearExpansionTimers();\n this.clearContractionTimers();\n this.cssPropertyObserver?.disconnect();\n }\n\n /**\n * Reset announcement tracking. Call this after initialization is complete\n * to enable announcements for subsequent visibility changes.\n */\n enableAnnouncements(): void {\n // Initialize tracking with current state\n // This prevents announcing the current state, but will announce future changes\n this.lastAnnouncedVisibility = {\n visible: this.state.containerVisible && this.state.contentVisible,\n inPanel: this.state.inPanel,\n };\n }\n\n /**\n * Refresh workspace state and re-evaluate layout.\n * Useful after external changes that might affect layout.\n */\n refresh(): void {\n if (this.config.showWorkspace) {\n this.observeHostWidth();\n this.performInitialHostMeasurement();\n }\n }\n\n /**\n * Update workspace configuration.\n * Handles transitions when workspace visibility or related settings change.\n */\n updateConfig(newConfig: Partial<WorkspaceConfig>): void {\n const oldConfig = { ...this.config };\n this.config = { ...this.config, ...newConfig };\n\n // Handle showWorkspace changes\n if (newConfig.showWorkspace !== undefined) {\n if (newConfig.showWorkspace && !oldConfig.showWorkspace) {\n // handleShowWorkspaceEnabled will call observeHostWidth at the right time\n this.handleShowWorkspaceEnabled();\n } else if (!newConfig.showWorkspace && oldConfig.showWorkspace) {\n this.handleShowWorkspaceDisabled();\n }\n }\n\n // Handle showHistory changes - affects layout when workspace is shown\n if (\n newConfig.showHistory !== undefined &&\n oldConfig.showHistory !== newConfig.showHistory &&\n this.config.showWorkspace &&\n this.state.containerVisible &&\n !this.state.isExpanding &&\n !this.state.isContracting\n ) {\n // Immediately recalculate with current width\n // The config is already updated, so calculations will use new showHistory value\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n this.updateWorkspaceInPanelState(currentWidth);\n }\n }\n\n /**\n * Get current workspace state.\n * Returns a readonly copy to prevent external mutations.\n */\n getState(): Readonly<WorkspaceState> {\n return { ...this.state };\n }\n\n /**\n * Check if workspace should be rendered inline (side-by-side with messages).\n */\n shouldRenderInline(): boolean {\n // During checking phase, optimistically render inline\n if (this.state.isCheckingExpansion) {\n return (\n this.state.containerVisible &&\n !this.state.isContracting &&\n !this.state.isCheckingContracting\n );\n }\n\n // During expanding phase, always render inline (will be hidden with CSS)\n if (this.state.isExpanding) {\n return (\n this.state.containerVisible &&\n !this.state.isContracting &&\n !this.state.isCheckingContracting\n );\n }\n\n // During checking-contracting phase, keep rendering inline to maintain layout\n if (this.state.isCheckingContracting) {\n return this.state.containerVisible;\n }\n\n // During contracting phase, keep rendering inline to maintain layout\n // Container will be removed from DOM at the very end\n if (this.state.isContracting) {\n return this.state.containerVisible;\n }\n\n // In stable state, render inline if not in panel mode\n const returnValue = this.state.containerVisible && !this.state.inPanel;\n return returnValue;\n }\n\n /**\n * Check if workspace should be rendered as a panel (overlay).\n */\n shouldRenderPanel(): boolean {\n return (\n this.state.containerVisible &&\n this.state.inPanel &&\n !this.state.isCheckingExpansion &&\n !this.state.isExpanding &&\n !this.state.isCheckingContracting &&\n !this.state.isContracting\n );\n }\n\n // ========== Private Methods ==========\n\n private observeHostWidth(): void {\n this.setupWindowResizeListener();\n\n if (typeof ResizeObserver === 'undefined') {\n this.performInitialHostMeasurement();\n return;\n }\n\n if (!this.hostResizeObserver) {\n this.createHostResizeObserver();\n } else {\n this.reconnectHostResizeObserver();\n }\n\n this.performInitialHostMeasurement();\n }\n\n private setupWindowResizeListener(): void {\n if (this.windowResizeHandler || typeof window === 'undefined') {\n return;\n }\n\n this.windowResizeHandler = () => {\n this.throttledHandleHostResize(\n this.hostElement.getBoundingClientRect().width\n );\n };\n window.addEventListener('resize', this.windowResizeHandler);\n }\n\n private createHostResizeObserver(): void {\n this.hostResizeObserver = new ResizeObserver((entries) => {\n // Use requestAnimationFrame to avoid ResizeObserver loop errors\n requestAnimationFrame(() => {\n for (const entry of entries) {\n const inlineSize = getInlineSizeFromEntry(entry);\n this.throttledHandleHostResize(inlineSize);\n }\n });\n });\n this.hostResizeObserver.observe(this.hostElement);\n }\n\n private reconnectHostResizeObserver(): void {\n if (this.hostResizeObserver && this.config.showWorkspace) {\n this.hostResizeObserver.disconnect();\n this.hostResizeObserver.observe(this.hostElement);\n }\n }\n\n private performInitialHostMeasurement(): void {\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n\n if (!this.config.showWorkspace || !this.state.containerVisible) {\n this.setWorkspaceInPanel(false);\n return;\n }\n\n // Don't perform initial measurement during expansion/contraction\n if (this.state.isExpanding || this.state.isContracting) {\n return;\n }\n\n this.handleHostResize(currentWidth);\n }\n\n private handleHostResize(inlineSize: number): void {\n if (this.state.isExpanding) {\n this.trackExpectedExpansion(inlineSize);\n return;\n }\n\n if (this.state.isCheckingContracting) {\n this.trackExpectedContraction(inlineSize);\n return;\n }\n\n if (this.state.isContracting) {\n return;\n }\n\n this.updateWorkspaceInPanelState(inlineSize);\n }\n\n private updateWorkspaceInPanelState(inlineSize: number): void {\n if (!Number.isFinite(inlineSize)) {\n return;\n }\n\n if (shouldSkipWorkspaceUpdate(this.config, this.state)) {\n this.setWorkspaceInPanel(false);\n return;\n }\n\n // Skip during expansion\n if (this.state.isExpanding) {\n return;\n }\n\n const dimensions = this.getLayoutDimensions();\n const sideBySideMinWidth = calculateRequiredWidth(dimensions);\n const shouldBeInPanel = inlineSize < sideBySideMinWidth;\n\n this.setWorkspaceInPanel(shouldBeInPanel);\n }\n\n /**\n * Get layout dimensions from cache or compute if not available.\n * Uses cached CSS values for performance, falling back to live computation.\n */\n private getLayoutDimensions(): {\n workspaceMinWidth: number;\n messagesMinWidth: number;\n historyWidth: number;\n } {\n // Ensure cache is populated\n if (!this.lastKnownCssValues.workspaceMinWidth) {\n this.updateLastKnownCssValues();\n }\n\n return {\n workspaceMinWidth:\n this.lastKnownCssValues.workspaceMinWidth ??\n WORKSPACE_MIN_WIDTH_FALLBACK,\n messagesMinWidth:\n this.lastKnownCssValues.messagesMinWidth ?? MESSAGES_MIN_WIDTH_FALLBACK,\n historyWidth: this.config.showHistory\n ? (this.lastKnownCssValues.historyWidth ?? HISTORY_WIDTH_FALLBACK)\n : 0,\n };\n }\n\n private handleShowWorkspaceEnabled(): void {\n // Cancel any ongoing closing animation\n this.clearContractionTimers();\n this.setState({ isCheckingContracting: false, isContracting: false });\n\n const inlineSize = this.hostElement.getBoundingClientRect().width;\n const requiredWidth = this.getRequiredMinWidth();\n\n // Scenario 1: Already wide enough - show immediately\n if (isWideEnough(inlineSize, requiredWidth)) {\n this.initializeImmediateDisplay('container', inlineSize);\n return;\n }\n\n // Scenario 2: Host can't ever reach required size - go straight to panel\n if (!canHostGrow(requiredWidth)) {\n this.initializeImmediateDisplay('panel', inlineSize);\n return;\n }\n\n // Scenario 3: Expecting expansion - setup tracking\n this.initializeExpansionTracking();\n }\n\n private initializeImmediateDisplay(\n mode: 'container' | 'panel',\n inlineSize: number\n ): void {\n const attribute =\n mode === 'container' ? 'workspace-in-container' : 'workspace-in-panel';\n\n // Pre-set workspace attribute to prevent layout flash\n this.hostElement.setAttribute(attribute, '');\n // Show the workspace container immediately\n this.setShowWorkspaceContainer(true);\n this.observeHostWidth();\n this.finalizeImmediateDisplay(inlineSize, mode === 'panel');\n }\n\n private initializeExpansionTracking(): void {\n // Set isCheckingExpansion BEFORE showing container AND observing\n // This allows workspace to render inline but remain invisible while we check for expansion\n this.setState({ isCheckingExpansion: true });\n\n // Don't pre-set workspace mode - let expansion tracking determine it\n // The workspace-checking class on shell will handle the transition state\n\n this.setShowWorkspaceContainer(true);\n this.observeHostWidth();\n this.setupExpansionTracking();\n }\n\n private handleShowWorkspaceDisabled(): void {\n // Step 1: Clear any ongoing expansion tracking first\n this.clearExpansionTimers();\n this.setState({ isCheckingExpansion: false, isExpanding: false });\n\n // Step 2: Immediately hide the workspace content (opacity goes to 0 instantly)\n this.setWorkspaceContentVisible(false);\n\n // Step 3: Check if we need to track contraction\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n const requiredWidth = this.getRequiredMinWidth();\n\n // If host is currently wide enough for inline workspace, expect contraction\n if (\n isWideEnough(currentWidth, requiredWidth) &&\n canHostGrow(requiredWidth)\n ) {\n this.setupContractionTracking();\n } else {\n // No contraction expected, go straight to closing\n this.initializeImmediateClosing();\n }\n }\n\n private startExpansionPolling(): void {\n const initialWidth = this.expansionLastInlineSize ?? 0;\n const hasSetContainerMode = { value: false };\n\n this.expansionCheckInterval = window.setInterval(() => {\n this.checkExpansionProgress(initialWidth, hasSetContainerMode);\n }, EXPANSION_POLL_INTERVAL_MS);\n }\n\n /**\n * Check expansion progress and determine if transition is complete.\n */\n private checkExpansionProgress(\n initialWidth: number,\n hasSetContainerMode: { value: boolean }\n ): void {\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n\n if (currentWidth === this.expansionLastInlineSize) {\n // Width stabilized - expansion complete\n const sawMovement = hasSignificantWidthChange(\n currentWidth,\n initialWidth,\n EXPANSION_THRESHOLD_PX\n );\n this.finishWorkspaceExpansion(sawMovement);\n } else {\n // Width still changing - track ongoing expansion\n this.handleOngoingExpansion(\n currentWidth,\n initialWidth,\n hasSetContainerMode\n );\n }\n }\n\n /**\n * Handle ongoing width changes during expansion.\n */\n private handleOngoingExpansion(\n currentWidth: number,\n initialWidth: number,\n hasSetContainerMode: { value: boolean }\n ): void {\n // Set workspace-in-container mode on first detected meaningful movement\n if (\n !hasSetContainerMode.value &&\n hasSignificantWidthChange(\n currentWidth,\n initialWidth,\n EXPANSION_THRESHOLD_PX\n )\n ) {\n // Transition from checking to confirmed expanding\n this.setState({ isCheckingExpansion: false, isExpanding: true });\n this.setWorkspaceInContainerMode();\n hasSetContainerMode.value = true;\n }\n\n this.expansionLastInlineSize = currentWidth;\n }\n\n /**\n * Set workspace to container mode by updating DOM attributes.\n */\n private setWorkspaceInContainerMode(): void {\n this.hostElement.removeAttribute('workspace-in-panel');\n this.hostElement.setAttribute('workspace-in-container', '');\n }\n\n private setupContractionTracking(): void {\n // Set isCheckingContracting BEFORE clearing attributes\n // This allows workspace to stay inline while we check for contraction\n this.setState({ isCheckingContracting: true });\n\n // Store initial width for comparison\n this.contractionInitialInlineSize =\n this.hostElement.getBoundingClientRect().width;\n this.contractionLastInlineSize = this.contractionInitialInlineSize;\n\n // Keep observing host width to detect contraction\n // Don't disconnect the observer - we need it to track contraction\n this.startContractionPolling();\n }\n\n private initializeImmediateClosing(): void {\n // Mark as contracting and proceed directly to closing\n this.setState({ isContracting: true });\n\n // Disconnect host resize observer\n this.hostResizeObserver?.disconnect();\n this.hostResizeObserver = undefined;\n\n // Immediately finish closing (will clear attributes)\n this.finishWorkspaceClosing();\n }\n\n private startContractionPolling(): void {\n const initialWidth = this.contractionInitialInlineSize ?? 0;\n const hasSetContractingMode = { value: false };\n\n this.contractionCheckInterval = window.setInterval(() => {\n this.checkContractionProgress(initialWidth, hasSetContractingMode);\n }, EXPANSION_POLL_INTERVAL_MS);\n }\n\n private checkContractionProgress(\n initialWidth: number,\n hasSetContractingMode: { value: boolean }\n ): void {\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n\n if (currentWidth === this.contractionLastInlineSize) {\n // Width stabilized - contraction complete\n const sawMovement = hasSignificantWidthChange(\n currentWidth,\n initialWidth,\n EXPANSION_THRESHOLD_PX\n );\n this.finishWorkspaceContraction(sawMovement);\n } else {\n // Width still changing - track ongoing contraction\n this.handleOngoingContraction(\n currentWidth,\n initialWidth,\n hasSetContractingMode\n );\n }\n }\n\n private handleOngoingContraction(\n currentWidth: number,\n initialWidth: number,\n hasSetContractingMode: { value: boolean }\n ): void {\n // Set contracting mode on first detected meaningful shrinkage\n if (\n !hasSetContractingMode.value &&\n hasSignificantWidthChange(\n currentWidth,\n initialWidth,\n EXPANSION_THRESHOLD_PX\n ) &&\n currentWidth < initialWidth\n ) {\n // Transition from checking to confirmed contracting\n // DON'T clear workspace attributes yet - keep them to maintain layout\n this.setState({ isCheckingContracting: false, isContracting: true });\n hasSetContractingMode.value = true;\n }\n\n this.contractionLastInlineSize = currentWidth;\n }\n\n private finishWorkspaceContraction(sawMovement: boolean): void {\n // Clear checking-contracting flag and timers\n this.setState({ isCheckingContracting: false });\n this.clearContractionTimers();\n\n if (!sawMovement) {\n // No contraction happened, safe to close immediately\n this.setState({ isContracting: true });\n this.hostResizeObserver?.disconnect();\n this.hostResizeObserver = undefined;\n // Clear attributes and finish closing\n this.finishWorkspaceClosing();\n } else {\n // Contraction happened, need to wait for host to finish contracting\n // before removing workspace from DOM\n this.setState({ isContracting: true });\n\n // DON'T clear workspace attributes yet - keep them to maintain layout\n // They will be cleared in finishWorkspaceClosing()\n\n // Disconnect host resize observer to prevent interference\n this.hostResizeObserver?.disconnect();\n this.hostResizeObserver = undefined;\n\n // Start polling to detect when host has finished contracting\n this.contractionLastInlineSize =\n this.hostElement.getBoundingClientRect().width;\n this.startFinalContractionPolling();\n }\n }\n\n private startFinalContractionPolling(): void {\n this.contractionCheckInterval = window.setInterval(() => {\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n\n // If width hasn't changed, the host has finished contracting\n if (currentWidth === this.contractionLastInlineSize) {\n this.finishWorkspaceClosing();\n } else {\n this.contractionLastInlineSize = currentWidth;\n }\n }, EXPANSION_POLL_INTERVAL_MS);\n }\n\n private trackExpectedContraction(inlineSize: number): void {\n if (!Number.isFinite(inlineSize)) {\n return;\n }\n\n // Update the last known size - the polling interval will detect when it stops changing\n this.contractionLastInlineSize = inlineSize;\n }\n\n private finishWorkspaceExpansion(sawMovement: boolean): void {\n const inlineSize =\n this.expansionLastInlineSize ??\n this.hostElement.getBoundingClientRect().width;\n\n // Clear both checking and expanding flags and timers\n this.setState({ isCheckingExpansion: false, isExpanding: false });\n this.clearExpansionTimers();\n\n // Determine the correct panel state BEFORE showing content\n if (!sawMovement) {\n this.setWorkspaceInPanel(true);\n } else {\n this.updateWorkspaceInPanelState(inlineSize);\n }\n\n // Now show the workspace content after panel state is set\n this.setWorkspaceContentVisible(true);\n }\n\n private finishWorkspaceClosing(): void {\n // IMPORTANT: Remove workspace container from DOM FIRST while attributes are still present\n // This prevents input-and-messages from expanding while workspace is still in DOM\n this.setShowWorkspaceContainer(false);\n\n // Now clear attributes AFTER container is removed from DOM\n this.hostElement.removeAttribute('workspace-in-panel');\n this.hostElement.removeAttribute('workspace-in-container');\n\n // Reset workspace state to original values\n this.setState({\n inPanel: false,\n contentVisible: true,\n containerVisible: false,\n isCheckingExpansion: false,\n isExpanding: false,\n isCheckingContracting: false,\n isContracting: false,\n });\n\n // Clear the timers\n this.clearContractionTimers();\n\n // Reset tracking\n this.contractionLastInlineSize = undefined;\n this.contractionInitialInlineSize = undefined;\n }\n\n private trackExpectedExpansion(inlineSize: number): void {\n if (!Number.isFinite(inlineSize)) {\n return;\n }\n\n // Update the last known size - the polling interval will detect when it stops changing\n this.expansionLastInlineSize = inlineSize;\n }\n\n private clearExpansionTimers(): void {\n if (this.expansionCheckInterval) {\n clearInterval(this.expansionCheckInterval);\n this.expansionCheckInterval = undefined;\n }\n this.expansionLastInlineSize = undefined;\n }\n\n private clearContractionTimers(): void {\n if (this.contractionCheckInterval) {\n clearInterval(this.contractionCheckInterval);\n this.contractionCheckInterval = undefined;\n }\n this.contractionLastInlineSize = undefined;\n this.contractionInitialInlineSize = undefined;\n }\n\n /**\n * Updates workspace DOM attributes to match the panel state.\n * Maintains inverse relationship between panel and container attributes.\n *\n * @param inPanel - True for panel mode, false for container mode\n */\n private updateWorkspaceAttributes(inPanel: boolean): void {\n this.hostElement.toggleAttribute('workspace-in-panel', inPanel);\n // workspace-in-container is the inverse of workspace-in-panel\n this.hostElement.toggleAttribute('workspace-in-container', !inPanel);\n }\n\n /**\n * Updates the workspace panel state and corresponding DOM attributes.\n *\n * Synchronizes internal state with DOM attributes that control whether\n * the workspace is displayed as an overlay panel or inline container.\n *\n * Ignores calls during expansion/contraction transitions. Only updates if\n * state or attributes need changes. Maintains inverse relationship between\n * panel and container attributes.\n *\n * @param inPanel - True to display workspace as overlay panel, false for inline\n */\n private setWorkspaceInPanel(inPanel: boolean): void {\n // Early exit during transitions\n if (\n this.state.isExpanding ||\n this.state.isCheckingContracting ||\n this.state.isContracting\n ) {\n return;\n }\n\n const stateChanged = this.state.inPanel !== inPanel;\n const attributesCorrect = areWorkspaceAttributesCorrect(\n this.hostElement,\n inPanel\n );\n\n // Nothing to do if state and attributes are already correct\n if (!stateChanged && attributesCorrect) {\n return;\n }\n\n // Update state if needed\n if (stateChanged) {\n this.setState({ inPanel });\n }\n\n // Update attributes\n this.updateWorkspaceAttributes(inPanel);\n\n this.requestHostUpdate();\n }\n\n private setWorkspaceContentVisible(visible: boolean): void {\n if (this.state.contentVisible === visible) {\n return;\n }\n this.setState({ contentVisible: visible });\n\n // Notify when content becomes visible/hidden\n if (this.state.containerVisible) {\n this.notifyVisibilityChange(visible, this.state.inPanel);\n }\n\n this.requestHostUpdate();\n }\n\n private setShowWorkspaceContainer(show: boolean): void {\n if (this.state.containerVisible === show) {\n return;\n }\n\n const wasVisible = this.state.containerVisible && this.state.contentVisible;\n this.setState({ containerVisible: show });\n\n // Notify when container is added (workspace opening)\n if (!wasVisible && show && this.state.contentVisible) {\n this.notifyVisibilityChange(true, this.state.inPanel);\n }\n\n // Notify when container is removed (workspace closing)\n if (wasVisible && !show) {\n this.notifyVisibilityChange(false, this.state.inPanel);\n }\n\n this.requestHostUpdate();\n }\n\n private notifyVisibilityChange(visible: boolean, inPanel: boolean): void {\n // Don't announce if visibility state hasn't actually changed\n if (\n this.lastAnnouncedVisibility &&\n this.lastAnnouncedVisibility.visible === visible &&\n this.lastAnnouncedVisibility.inPanel === inPanel\n ) {\n return;\n }\n\n // Don't announce during initialization (when lastAnnouncedVisibility is null)\n if (this.lastAnnouncedVisibility !== null) {\n this.callbacks?.onWorkspaceVisibilityChange?.(visible, inPanel);\n }\n\n this.lastAnnouncedVisibility = { visible, inPanel };\n }\n\n private setState(updates: Partial<WorkspaceState>): void {\n this.state = { ...this.state, ...updates };\n this.updateShellClasses();\n }\n\n private updateShellClasses(): void {\n this.shellRoot.classList.toggle(\n 'workspace-checking',\n this.state.isCheckingExpansion\n );\n this.shellRoot.classList.toggle(\n 'workspace-checking-closing',\n this.state.isCheckingContracting\n );\n this.shellRoot.classList.toggle(\n 'workspace-closing',\n this.state.isContracting\n );\n this.shellRoot.classList.toggle(\n 'workspace-opening',\n this.state.isExpanding\n );\n }\n\n private requestHostUpdate(): void {\n // Trigger re-render on Lit element\n if ('requestUpdate' in this.hostElement) {\n (this.hostElement as any).requestUpdate();\n }\n }\n\n private getRequiredMinWidth(): number {\n const workspaceMinWidth = getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-workspace-min-width',\n WORKSPACE_MIN_WIDTH_FALLBACK\n );\n const messagesMinWidth = getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-messages-min-width',\n MESSAGES_MIN_WIDTH_FALLBACK\n );\n const historyWidth = this.config.showHistory\n ? getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-history-width',\n HISTORY_WIDTH_FALLBACK\n )\n : 0;\n\n return workspaceMinWidth + messagesMinWidth + historyWidth;\n }\n\n private finalizeImmediateDisplay(\n inlineSize: number,\n usePanel: boolean\n ): void {\n this.setWorkspaceContentVisible(true);\n this.setState({ isExpanding: false });\n this.clearExpansionTimers();\n\n if (usePanel) {\n this.setWorkspaceInPanel(true);\n } else {\n this.updateWorkspaceInPanelState(inlineSize);\n }\n }\n\n private setupExpansionTracking(): void {\n // isExpanding is already set in handleShowWorkspaceEnabled\n this.clearExpansionTimers();\n\n // Don't set workspace-in-container early - wait to see if expansion actually happens\n // This prevents the flash of container mode CSS when opening directly to panel mode\n this.setWorkspaceContentVisible(false);\n this.expansionLastInlineSize =\n this.hostElement.getBoundingClientRect().width;\n this.startExpansionPolling();\n }\n\n /**\n * Observe CSS custom properties that affect workspace layout.\n * When these properties change, recalculate workspace positioning.\n */\n private observeCssProperties(): void {\n if (typeof MutationObserver === 'undefined') {\n return;\n }\n\n // Store initial values\n this.updateLastKnownCssValues();\n\n // Watch for style attribute changes on the host element\n this.cssPropertyObserver = new MutationObserver(() => {\n this.checkCssPropertyChanges();\n });\n\n this.cssPropertyObserver.observe(this.hostElement, {\n attributes: true,\n attributeFilter: ['style'],\n });\n }\n\n /**\n * Update the cached CSS property values.\n */\n private updateLastKnownCssValues(): void {\n this.lastKnownCssValues = {\n workspaceMinWidth: getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-workspace-min-width',\n WORKSPACE_MIN_WIDTH_FALLBACK\n ),\n messagesMinWidth: getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-messages-min-width',\n MESSAGES_MIN_WIDTH_FALLBACK\n ),\n historyWidth: getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-history-width',\n HISTORY_WIDTH_FALLBACK\n ),\n };\n }\n\n /**\n * Check if any relevant CSS properties have changed and trigger recalculation.\n */\n private checkCssPropertyChanges(): void {\n const workspaceMinWidth = getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-workspace-min-width',\n WORKSPACE_MIN_WIDTH_FALLBACK\n );\n const messagesMinWidth = getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-messages-min-width',\n MESSAGES_MIN_WIDTH_FALLBACK\n );\n const historyWidth = getCssLengthFromProperty(\n this.hostElement,\n '--cds-aichat-history-width',\n HISTORY_WIDTH_FALLBACK\n );\n\n const hasChanged =\n workspaceMinWidth !== this.lastKnownCssValues.workspaceMinWidth ||\n messagesMinWidth !== this.lastKnownCssValues.messagesMinWidth ||\n historyWidth !== this.lastKnownCssValues.historyWidth;\n\n if (hasChanged) {\n this.updateLastKnownCssValues();\n\n // Only recalculate if workspace is visible and not in transition\n if (\n this.config.showWorkspace &&\n this.state.containerVisible &&\n !this.state.isExpanding &&\n !this.state.isCheckingContracting &&\n !this.state.isContracting\n ) {\n const currentWidth = this.hostElement.getBoundingClientRect().width;\n this.updateWorkspaceInPanelState(currentWidth);\n }\n }\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AAcH,MAAM,4BAA4B,GAAG,GAAG;AACxC,MAAM,2BAA2B,GAAG,GAAG;AACvC,MAAM,sBAAsB,GAAG,GAAG;AAClC,MAAM,0BAA0B,GAAG,EAAE;AACrC,MAAM,sBAAsB,GAAG,CAAC;AAuBhC;;;;AAIG;MACU,gBAAgB,CAAA;AA8B3B,IAAA,WAAA,CACmB,SAAsB,EACtB,WAAwB,EACjC,MAAuB,EACvB,SAA8B,EAAA;QAHrB,IAAA,CAAA,SAAS,GAAT,SAAS;QACT,IAAA,CAAA,WAAW,GAAX,WAAW;QACpB,IAAA,CAAA,MAAM,GAAN,MAAM;QACN,IAAA,CAAA,SAAS,GAAT,SAAS;AAjCX,QAAA,IAAA,CAAA,KAAK,GAAmB;AAC9B,YAAA,OAAO,EAAE,KAAK;AACd,YAAA,cAAc,EAAE,IAAI;AACpB,YAAA,gBAAgB,EAAE,KAAK;AACvB,YAAA,mBAAmB,EAAE,KAAK;AAC1B,YAAA,WAAW,EAAE,KAAK;AAClB,YAAA,qBAAqB,EAAE,KAAK;AAC5B,YAAA,aAAa,EAAE,KAAK;SACrB;QAWO,IAAA,CAAA,kBAAkB,GAItB,EAAE;QACE,IAAA,CAAA,uBAAuB,GAGpB,IAAI;AAQb,QAAA,IAAI,CAAC,yBAAyB,GAAG,QAAQ,CACvC,CAAC,UAAkB,KAAK,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,EACzD,GAAG,EACH,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAClC;IACH;;AAIA;;;AAGG;IACH,OAAO,GAAA;AACL,QAAA,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE;YAC7B,IAAI,CA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,CACvB;SACF;IACH;AAEA;;AAEG;IACK,uBAAuB,GAAA;AAC7B,QAAA,MAAM,iBAAiB,GAAG,wBAAwB,CAChD,IAAI,CAAC,WAAW,EAChB,kCAAkC,EAClC,4BAA4B,CAC7B;AACD,QAAA,MAAM,gBAAgB,GAAG,wBAAwB,CAC/C,IAAI,CAAC,WAAW,EAChB,iCAAiC,EACjC,2BAA2B,CAC5B;AACD,QAAA,MAAM,YAAY,GAAG,wBAAwB,CAC3C,IAAI,CAAC,WAAW,EAChB,4BAA4B,EAC5B,sBAAsB,CACvB;QAED,MAAM,UAAU,GACd,iBAAiB,KAAK,IAAI,CAAC,kBAAkB,CAAC,iBAAiB;AAC/D,YAAA,gBAAgB,KAAK,IAAI,CAAC,kBAAkB,CAAC,gBAAgB;AAC7D,YAAA,YAAY,KAAK,IAAI,CAAC,kBAAkB,CAAC,YAAY;QAEvD,IAAI,UAAU,EAAE;YACd,IAAI,CAAC,wBAAwB,EAAE;;AAG/B,YAAA,IACE,IAAI,CAAC,MAAM,CAAC,aAAa;gBACzB,IAAI,CAAC,KAAK,CAAC,gBAAgB;AAC3B,gBAAA,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW;AACvB,gBAAA,CAAC,IAAI,CAAC,KAAK,CAAC,qBAAqB;AACjC,gBAAA,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EACzB;gBACA,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,qBAAqB,EAAE,CAAC,KAAK;AACnE,gBAAA,IAAI,CAAC,2BAA2B,CAAC,YAAY,CAAC;YAChD;QACF;IACF;AACD;;"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { TemplateResult, LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export interface TableCellContent {
|
|
3
|
+
text: string;
|
|
4
|
+
template?: TemplateResult | null;
|
|
5
|
+
}
|
|
6
|
+
export interface TableRowContent {
|
|
7
|
+
cells: TableCellContent[];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Class functionality for the Table custom element.
|
|
11
|
+
* @element cds-aichat-table
|
|
12
|
+
*/
|
|
13
|
+
declare class CDSAIChatTable extends LitElement {
|
|
14
|
+
static get is(): string;
|
|
15
|
+
/**
|
|
16
|
+
* The optional table title.
|
|
17
|
+
*/
|
|
18
|
+
tableTitle?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The optional table description.
|
|
21
|
+
*/
|
|
22
|
+
tableDescription?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The array of cells for the header.
|
|
25
|
+
*/
|
|
26
|
+
headers: TableCellContent[];
|
|
27
|
+
/**
|
|
28
|
+
* The array of rows. Each row includes an array of cells.
|
|
29
|
+
*/
|
|
30
|
+
rows: TableRowContent[];
|
|
31
|
+
/**
|
|
32
|
+
* Whether or not the table content is loading. If it is then a skeleton state should be shown instead.
|
|
33
|
+
*/
|
|
34
|
+
loading: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The text used for the filter placeholder.
|
|
37
|
+
*/
|
|
38
|
+
filterPlaceholderText: string;
|
|
39
|
+
/**
|
|
40
|
+
* The text used for the pagination's previous button tooltip.
|
|
41
|
+
*/
|
|
42
|
+
previousPageText: string;
|
|
43
|
+
/**
|
|
44
|
+
* The text used for the pagination's next button tooltip.
|
|
45
|
+
*/
|
|
46
|
+
nextPageText: string;
|
|
47
|
+
/**
|
|
48
|
+
* The text used for the pagination's item pre page text.
|
|
49
|
+
*/
|
|
50
|
+
itemsPerPageText: string;
|
|
51
|
+
/**
|
|
52
|
+
* The text used for the download button's accessible label.
|
|
53
|
+
*/
|
|
54
|
+
downloadLabelText: string;
|
|
55
|
+
/**
|
|
56
|
+
* The locale. Used by the carbon table component to change the collator for sorting.
|
|
57
|
+
*/
|
|
58
|
+
locale: string;
|
|
59
|
+
/** Rows per page used until the user changes pagination. */
|
|
60
|
+
get defaultPageSize(): number;
|
|
61
|
+
set defaultPageSize(value: number);
|
|
62
|
+
/**
|
|
63
|
+
* The function used to get the supplemental text for the pagination component.
|
|
64
|
+
*/
|
|
65
|
+
getPaginationSupplementalText: ({ count }: {
|
|
66
|
+
count: number;
|
|
67
|
+
}) => string;
|
|
68
|
+
/**
|
|
69
|
+
* The function used to get the status text for the pagination component.
|
|
70
|
+
*/
|
|
71
|
+
getPaginationStatusText: ({ start, end, count, }: {
|
|
72
|
+
start: number;
|
|
73
|
+
end: number;
|
|
74
|
+
count: number;
|
|
75
|
+
}) => string;
|
|
76
|
+
static styles: import("lit").CSSResult[];
|
|
77
|
+
private hasRenderedLoadingFrame;
|
|
78
|
+
connectedCallback(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Called after the element's DOM has been updated for the first time.
|
|
81
|
+
* Initializes the table page size.
|
|
82
|
+
*
|
|
83
|
+
* @param _changedProperties - Map of properties that changed during the update
|
|
84
|
+
*/
|
|
85
|
+
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* While loading we only need to paint the skeleton once. Streaming updates can
|
|
88
|
+
* mutate rows/headers rapidly, so skip subsequent updates until loading ends.
|
|
89
|
+
*/
|
|
90
|
+
protected shouldUpdate(changedProperties: PropertyValues<this>): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Updates the CSS custom property `--cds-chat-table-width` based on the parent element's width.
|
|
93
|
+
* Also calculates the default page size on first run based on the measured width.
|
|
94
|
+
* This method is called once during component initialization.
|
|
95
|
+
*
|
|
96
|
+
* @private
|
|
97
|
+
*/
|
|
98
|
+
private _updateDefaultPageSize;
|
|
99
|
+
/**
|
|
100
|
+
* Called before the element updates to prepare state changes.
|
|
101
|
+
* Handles validation and re-initialization of table data when headers or rows change.
|
|
102
|
+
*
|
|
103
|
+
* @param changedProperties - Map of properties that changed during the update
|
|
104
|
+
* @protected
|
|
105
|
+
*/
|
|
106
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
107
|
+
/**
|
|
108
|
+
* Called after the element's DOM has been updated.
|
|
109
|
+
* Handles deferred visibility updates that require the DOM to be fully rendered.
|
|
110
|
+
*
|
|
111
|
+
* This is essential for streaming tables: when loading completes, willUpdate() sets
|
|
112
|
+
* _needsVisibilityUpdate=true, but the actual row elements don't exist in the DOM yet.
|
|
113
|
+
* By deferring _updateVisibleRows() to this lifecycle method, we ensure the rows are
|
|
114
|
+
* rendered and can be properly queried and hidden/shown for pagination.
|
|
115
|
+
*
|
|
116
|
+
* We use requestAnimationFrame to ensure Carbon Web Components table rows are fully
|
|
117
|
+
* rendered in the DOM before attempting to query and hide/show them.
|
|
118
|
+
*
|
|
119
|
+
* @param changedProperties - Map of properties that changed during the update
|
|
120
|
+
* @protected
|
|
121
|
+
*/
|
|
122
|
+
protected updated(changedProperties: PropertyValues<this>): void;
|
|
123
|
+
/**
|
|
124
|
+
* Validates the table structure by checking if all rows have the same number of cells as the header.
|
|
125
|
+
* Sets the internal `_isValid` state to false if any row has a mismatched cell count.
|
|
126
|
+
*
|
|
127
|
+
* A valid table requires:
|
|
128
|
+
* - All rows must have the same number of cells as there are headers
|
|
129
|
+
* - No rows can have more or fewer cells than the column count
|
|
130
|
+
*
|
|
131
|
+
* @private
|
|
132
|
+
*/
|
|
133
|
+
private _calcIsTableValid;
|
|
134
|
+
/**
|
|
135
|
+
* Initializes internal arrays used for table functionality.
|
|
136
|
+
* Creates a new array of rows with unique IDs and initializes the filter visibility tracking.
|
|
137
|
+
*
|
|
138
|
+
* This method:
|
|
139
|
+
* 1. Resets the `_rowsWithIDs` array and `_filterVisibleRowIDs` set
|
|
140
|
+
* 2. Assigns string-based IDs to each row for tracking purposes
|
|
141
|
+
* 3. Marks all rows as initially visible (not filtered out)
|
|
142
|
+
*
|
|
143
|
+
* @private
|
|
144
|
+
*/
|
|
145
|
+
private _initializeRowsArrays;
|
|
146
|
+
/**
|
|
147
|
+
* Configures the table's page size and filtering behavior.
|
|
148
|
+
* Determines whether filtering/searching should be enabled based on the number of rows
|
|
149
|
+
* relative to the current page size.
|
|
150
|
+
*
|
|
151
|
+
* Filtering is enabled when there are more rows than can fit on a single page,
|
|
152
|
+
* allowing users to search and paginate through large datasets.
|
|
153
|
+
*
|
|
154
|
+
* This method is called from firstUpdated() for non-streaming tables where the DOM
|
|
155
|
+
* is already rendered. For streaming tables, visibility updates are deferred via the
|
|
156
|
+
* _needsVisibilityUpdate flag and handled in updated() lifecycle method.
|
|
157
|
+
*
|
|
158
|
+
* @private
|
|
159
|
+
*/
|
|
160
|
+
private _setPageSize;
|
|
161
|
+
private ensureTableRuntime;
|
|
162
|
+
/**
|
|
163
|
+
* Controls which table rows are visible based on pagination and filtering.
|
|
164
|
+
* Uses CSS display properties to show/hide rows rather than DOM manipulation.
|
|
165
|
+
*
|
|
166
|
+
* This approach is necessary because Carbon's table component handles its own
|
|
167
|
+
* sorting and we need to preserve the DOM order it creates. The method:
|
|
168
|
+
* 1. Hides all rows initially
|
|
169
|
+
* 2. Filters to only rows that haven't been filtered out
|
|
170
|
+
* 3. Shows only the rows that belong to the current page
|
|
171
|
+
*
|
|
172
|
+
* @param page - The page number to display (1-based)
|
|
173
|
+
* @param pageSize - Number of rows per page
|
|
174
|
+
* @private
|
|
175
|
+
*/
|
|
176
|
+
private _updateVisibleRows;
|
|
177
|
+
/**
|
|
178
|
+
* Handles the table download functionality by exporting all table data as a CSV file.
|
|
179
|
+
*
|
|
180
|
+
* This custom implementation is necessary because Carbon's default download feature:
|
|
181
|
+
* - Only exports selected rows (we want all data)
|
|
182
|
+
* - Only exports as JSON (we want CSV format)
|
|
183
|
+
* - Doesn't include all the data we need
|
|
184
|
+
*
|
|
185
|
+
* The method creates a data URL to comply with CSP policies, and triggers a download.
|
|
186
|
+
*
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
_handleDownload(): Promise<void>;
|
|
190
|
+
/**
|
|
191
|
+
* Renders the table component based on current state and data.
|
|
192
|
+
*
|
|
193
|
+
* The render logic follows this priority:
|
|
194
|
+
* 1. Shows skeleton loading state if `loading` is true
|
|
195
|
+
* 2. Shows table with pagination if there are more rows than the page size OR pagination was used
|
|
196
|
+
* 3. Shows table only if all rows fit on one page
|
|
197
|
+
*
|
|
198
|
+
* The method also applies the appropriate Carbon theme class (cds--g90 for dark, cds--white for light)
|
|
199
|
+
* to ensure proper styling based on the `dark` property.
|
|
200
|
+
*
|
|
201
|
+
* @returns The lit-html template for the table component
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
render(): TemplateResult<1>;
|
|
205
|
+
}
|
|
206
|
+
declare global {
|
|
207
|
+
interface HTMLElementTagNameMap {
|
|
208
|
+
'cds-aichat-table': CDSAIChatTable;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
export { CDSAIChatTable };
|
|
212
|
+
export default CDSAIChatTable;
|