@carbon/ai-chat-components 1.9.0-alpha.0 → 1.9.0-rc.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/LICENSE +201 -0
- package/README.md +1 -5
- package/custom-elements.json +3838 -3356
- package/es/components/audio-player/index.d.ts +4 -4
- package/es/components/audio-player/src/audio-player.d.ts +1 -1
- package/es/components/audio-player/src/audio-player.js +33 -38
- package/es/components/audio-player/src/audio-player.js.map +1 -1
- package/es/components/audio-player/src/providers/base-provider.d.ts +2 -2
- package/es/components/audio-player/src/providers/base-provider.js +9 -9
- package/es/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
- package/es/components/audio-player/src/providers/native-audio-provider.js +18 -18
- package/es/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
- package/es/components/audio-player/src/providers/soundcloud-provider.js +14 -14
- package/es/components/audio-player/src/transcript.d.ts +2 -2
- package/es/components/audio-player/src/transcript.js +13 -16
- package/es/components/audio-player/src/transcript.js.map +1 -1
- package/es/components/audio-player/src/utils/url-detector.js +1 -1
- package/es/components/card/index.d.ts +4 -4
- package/es/components/card/src/card-footer.d.ts +5 -5
- package/es/components/card/src/card-footer.js +12 -16
- package/es/components/card/src/card-footer.js.map +1 -1
- package/es/components/card/src/card-footer.scss.js +1 -1
- package/es/components/card/src/card-steps.d.ts +4 -4
- package/es/components/card/src/card-steps.js +3 -5
- package/es/components/card/src/card-steps.js.map +1 -1
- package/es/components/card/src/card-steps.scss.js +1 -1
- package/es/components/card/src/card.d.ts +2 -2
- package/es/components/card/src/card.js +3 -3
- package/es/components/card/src/card.scss.js +1 -1
- package/es/components/carousel/index.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.js +4 -6
- package/es/components/carousel/src/carousel.js.map +1 -1
- package/es/components/carousel/src/carousel.scss.js +1 -1
- package/es/components/chain-of-thought/defs.js +1 -1
- package/es/components/chain-of-thought/index.d.ts +10 -10
- package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
- package/es/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
- 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-toggle.d.ts +2 -2
- package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
- 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.d.ts +4 -4
- package/es/components/chain-of-thought/src/chain-of-thought.js +16 -17
- package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
- package/es/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
- package/es/components/chain-of-thought/src/tool-call-data.js +17 -23
- package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
- package/es/components/chat-button/defs.d.ts +1 -1
- package/es/components/chat-button/defs.js +1 -1
- package/es/components/chat-button/index.d.ts +2 -2
- package/es/components/chat-button/src/chat-button.d.ts +5 -5
- package/es/components/chat-button/src/chat-button.js +6 -6
- package/es/components/chat-button/src/chat-button.scss.js +1 -1
- package/es/components/chat-history/index.d.ts +11 -11
- package/es/components/chat-history/src/history-content.d.ts +1 -1
- package/es/components/chat-history/src/history-content.js +6 -6
- package/es/components/chat-history/src/history-delete-panel.d.ts +2 -2
- package/es/components/chat-history/src/history-delete-panel.js +11 -11
- package/es/components/chat-history/src/history-header.d.ts +2 -2
- package/es/components/chat-history/src/history-header.js +9 -10
- package/es/components/chat-history/src/history-header.js.map +1 -1
- package/es/components/chat-history/src/history-loading.d.ts +2 -2
- package/es/components/chat-history/src/history-loading.js +1 -1
- package/es/components/chat-history/src/history-panel-item-input.d.ts +2 -2
- package/es/components/chat-history/src/history-panel-item-input.js +21 -22
- 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 +5 -5
- package/es/components/chat-history/src/history-panel-item.js +39 -41
- package/es/components/chat-history/src/history-panel-item.js.map +1 -1
- package/es/components/chat-history/src/history-panel-items.d.ts +1 -1
- package/es/components/chat-history/src/history-panel-items.js +1 -1
- package/es/components/chat-history/src/history-panel-menu.d.ts +1 -1
- package/es/components/chat-history/src/history-panel.d.ts +1 -1
- package/es/components/chat-history/src/history-panel.js +3 -3
- package/es/components/chat-history/src/history-search-item.d.ts +1 -1
- package/es/components/chat-history/src/history-search-item.js +4 -4
- package/es/components/chat-history/src/history-shell.d.ts +1 -1
- package/es/components/chat-history/src/history-shell.js +3 -3
- package/es/components/chat-history/src/history-toolbar.d.ts +9 -5
- package/es/components/chat-history/src/history-toolbar.js +13 -10
- package/es/components/chat-history/src/history-toolbar.js.map +1 -1
- package/es/components/chat-shell/index.d.ts +5 -5
- package/es/components/chat-shell/src/chat-header.d.ts +8 -8
- package/es/components/chat-shell/src/chat-header.js +37 -44
- package/es/components/chat-shell/src/chat-header.js.map +1 -1
- package/es/components/chat-shell/src/corner-manager.d.ts +1 -1
- package/es/components/chat-shell/src/corner-manager.js +30 -30
- package/es/components/chat-shell/src/initialization-manager.d.ts +1 -1
- package/es/components/chat-shell/src/panel-manager.d.ts +1 -1
- package/es/components/chat-shell/src/panel-manager.js +12 -12
- package/es/components/chat-shell/src/panel.d.ts +2 -2
- package/es/components/chat-shell/src/panel.js +99 -100
- package/es/components/chat-shell/src/panel.js.map +1 -1
- package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
- package/es/components/chat-shell/src/resize-observer-manager.js +10 -10
- package/es/components/chat-shell/src/shell.d.ts +8 -8
- package/es/components/chat-shell/src/shell.js +128 -135
- package/es/components/chat-shell/src/shell.js.map +1 -1
- package/es/components/chat-shell/src/slot-observer.d.ts +1 -1
- package/es/components/chat-shell/src/slot-observer.js +4 -7
- package/es/components/chat-shell/src/slot-observer.js.map +1 -1
- package/es/components/chat-shell/src/types.d.ts +4 -4
- package/es/components/chat-shell/src/workspace-manager-utils.js +4 -4
- package/es/components/chat-shell/src/workspace-manager.d.ts +1 -1
- package/es/components/chat-shell/src/workspace-manager.js +32 -32
- package/es/components/code-snippet/index.d.ts +4 -4
- package/es/components/code-snippet/src/code-snippet.d.ts +8 -8
- package/es/components/code-snippet/src/code-snippet.js +87 -93
- package/es/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.js +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
- package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/content-sync.js +2 -2
- package/es/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
- package/es/components/code-snippet/src/codemirror/detect-language.js +77 -0
- package/es/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
- package/es/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
- package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
- package/es/components/code-snippet/src/codemirror/editor-manager.js +4 -4
- package/es/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
- package/es/components/code-snippet/src/codemirror/language-controller.js +3 -3
- package/es/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/language-data.js +299 -299
- package/es/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
- package/es/components/code-snippet/src/codemirror/language-utils.js +60 -66
- package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
- package/es/components/code-snippet/src/codemirror/marker-utils.js +15 -15
- package/es/components/code-snippet/src/codemirror/theme.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/theme.js +163 -163
- package/es/components/code-snippet/src/dom-utils.js +6 -6
- package/es/components/code-snippet/src/layout-utils.d.ts +2 -2
- package/es/components/code-snippet/src/layout-utils.js +9 -9
- package/es/components/code-snippet/src/streaming-manager.js +5 -5
- package/es/components/feedback/index.d.ts +4 -4
- package/es/components/feedback/src/feedback-buttons.d.ts +3 -3
- package/es/components/feedback/src/feedback-buttons.js +17 -19
- package/es/components/feedback/src/feedback-buttons.js.map +1 -1
- package/es/components/feedback/src/feedback.d.ts +9 -9
- package/es/components/feedback/src/feedback.js +38 -45
- package/es/components/feedback/src/feedback.js.map +1 -1
- package/es/components/file-uploads/index.d.ts +5 -4
- package/es/components/file-uploads/src/file-type-icon.d.ts +18 -0
- package/es/components/file-uploads/src/file-type-icon.js +87 -0
- package/es/components/file-uploads/src/file-type-icon.js.map +1 -0
- package/es/components/file-uploads/src/file-upload-item.d.ts +69 -8
- package/es/components/file-uploads/src/file-upload-item.js +210 -111
- package/es/components/file-uploads/src/file-upload-item.js.map +1 -1
- package/es/components/file-uploads/src/file-uploads.d.ts +8 -4
- package/es/components/file-uploads/src/file-uploads.js +54 -29
- package/es/components/file-uploads/src/file-uploads.js.map +1 -1
- package/es/components/file-uploads/src/file-uploads.scss.js +1 -1
- package/es/components/file-uploads/src/types.d.ts +39 -0
- package/es/components/file-uploads/src/types.js +8 -0
- package/es/components/file-uploads/src/types.js.map +1 -0
- package/es/components/launcher/index.d.ts +9 -0
- package/es/components/launcher/index.js +9 -0
- package/es/components/launcher/index.js.map +1 -0
- package/es/components/launcher/src/launcher.d.ts +68 -0
- package/es/components/launcher/src/launcher.js +152 -0
- package/es/components/launcher/src/launcher.js.map +1 -0
- package/es/components/launcher/src/launcher.scss.js +13 -0
- package/es/components/launcher/src/launcher.scss.js.map +1 -0
- package/es/components/markdown/index.d.ts +5 -5
- package/es/components/markdown/src/markdown-renderer-types.d.ts +10 -3
- package/es/components/markdown/src/markdown-renderer.d.ts +9 -9
- package/es/components/markdown/src/markdown-renderer.js +85 -80
- package/es/components/markdown/src/markdown-renderer.js.map +1 -1
- package/es/components/markdown/src/markdown-token-tree.d.ts +1 -1
- package/es/components/markdown/src/markdown-token-tree.js +20 -20
- package/es/components/markdown/src/markdown.d.ts +4 -7
- package/es/components/markdown/src/markdown.js +96 -82
- package/es/components/markdown/src/markdown.js.map +1 -1
- package/es/components/markdown/src/markdown.template.js +1 -1
- package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
- package/es/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
- package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
- package/es/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
- package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
- package/es/components/markdown/src/utils/html-helpers.d.ts +1 -1
- package/es/components/markdown/src/utils/html-helpers.js +72 -72
- package/es/components/markdown/src/utils/lit-directives.d.ts +2 -2
- package/es/components/markdown/src/utils/lit-directives.js +5 -5
- package/es/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
- package/es/components/markdown/src/utils/plugin-fallback.js +61 -61
- package/es/components/markdown/src/utils/streaming-table.d.ts +1 -1
- package/es/components/markdown/src/utils/streaming-table.js +6 -6
- package/es/components/markdown/src/utils/table-helpers.d.ts +4 -4
- package/es/components/markdown/src/utils/table-helpers.js +17 -18
- package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
- package/es/components/processing/index.d.ts +1 -1
- package/es/components/processing/src/processing.d.ts +2 -2
- package/es/components/processing/src/processing.js +2 -2
- package/es/components/prompt-line/autocomplete/index.d.ts +12 -0
- package/es/components/prompt-line/autocomplete/index.js +9 -0
- package/es/components/prompt-line/autocomplete/index.js.map +1 -0
- package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +165 -0
- package/es/components/prompt-line/autocomplete/src/autocomplete.js +506 -0
- package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
- package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
- package/es/components/prompt-line/index.d.ts +18 -18
- package/es/components/prompt-line/src/autocomplete-controller.d.ts +10 -8
- package/es/components/prompt-line/src/autocomplete-controller.js +107 -47
- package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
- package/es/components/prompt-line/src/error-message.d.ts +3 -7
- package/es/components/prompt-line/src/error-message.js +13 -23
- package/es/components/prompt-line/src/error-message.js.map +1 -1
- package/es/components/prompt-line/src/error-message.scss.js +1 -1
- package/es/components/prompt-line/src/prompt-line-constants.js +1 -1
- package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
- package/es/components/prompt-line/src/prompt-line-controller.js +83 -83
- package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
- package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
- package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
- package/es/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
- 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 -2
- package/es/components/prompt-line/src/prompt-line-shell.js +11 -13
- package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
- package/es/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
- package/es/components/prompt-line/src/prompt-line.d.ts +5 -5
- package/es/components/prompt-line/src/prompt-line.js +35 -35
- package/es/components/prompt-line/src/prompt-line.js.map +1 -1
- package/es/components/prompt-line/src/send-control.d.ts +4 -4
- package/es/components/prompt-line/src/send-control.js +18 -20
- package/es/components/prompt-line/src/send-control.js.map +1 -1
- package/es/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
- package/es/components/prompt-line/src/stop-streaming-button.js +7 -8
- package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
- package/es/components/prompt-line/src/tiptap/build-extensions.js +2 -2
- package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
- package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
- package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
- package/es/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
- package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
- package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +18 -12
- 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 -1
- package/es/components/prompt-line/src/tiptap/chat-enter.js +2 -2
- package/es/components/prompt-line/src/tiptap/editor-styles.js +26 -26
- package/es/components/prompt-line/src/tiptap/index.d.ts +24 -24
- package/es/components/prompt-line/src/tiptap/index.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
- package/es/components/prompt-line/src/tiptap/json-utils.js +17 -17
- package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
- package/es/components/prompt-line/src/tiptap/keymap.js +3 -3
- package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
- package/es/components/prompt-line/src/tiptap/origin-meta.js +2 -2
- package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
- package/es/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
- package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
- package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
- package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
- package/es/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
- package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
- package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -1
- package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
- package/es/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
- package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
- package/es/components/prompt-line/src/tiptap/types.d.ts +24 -3
- package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
- package/es/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
- package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
- package/es/components/prompt-line/src/tiptap/value-sync.js +2 -2
- package/es/components/prompt-line/src/types.d.ts +2 -2
- package/es/components/prompt-line/src/types.js.map +1 -1
- package/es/components/reasoning-steps/index.d.ts +4 -4
- package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
- package/es/components/reasoning-steps/src/reasoning-step.js +27 -31
- package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
- package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
- package/es/components/reasoning-steps/src/reasoning-steps.js +19 -20
- package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
- package/es/components/shared/dynamic-css-var-sheet.js +7 -7
- package/es/components/shared/media-utils/script-loader.js +1 -1
- package/es/components/table/index.d.ts +3 -3
- package/es/components/table/src/table-loader.d.ts +1 -1
- package/es/components/table/src/table-loader.js +1 -1
- package/es/components/table/src/table-pagination.template.d.ts +3 -3
- package/es/components/table/src/table-pagination.template.js +4 -5
- package/es/components/table/src/table-pagination.template.js.map +1 -1
- package/es/components/table/src/table-runtime.d.ts +2 -2
- package/es/components/table/src/table-skeleton.template.d.ts +1 -1
- package/es/components/table/src/table-skeleton.template.js +2 -3
- package/es/components/table/src/table-skeleton.template.js.map +1 -1
- package/es/components/table/src/table.d.ts +3 -4
- package/es/components/table/src/table.js +36 -39
- package/es/components/table/src/table.js.map +1 -1
- package/es/components/table/src/table.template.d.ts +5 -5
- package/es/components/table/src/table.template.js +6 -9
- package/es/components/table/src/table.template.js.map +1 -1
- package/es/components/toolbar/index.d.ts +1 -1
- package/es/components/toolbar/src/toolbar.d.ts +9 -7
- package/es/components/toolbar/src/toolbar.js +45 -33
- package/es/components/toolbar/src/toolbar.js.map +1 -1
- package/es/components/toolbar/src/toolbar.scss.js +1 -1
- package/es/components/truncated-text/index.d.ts +1 -1
- package/es/components/truncated-text/src/truncated-text.d.ts +5 -5
- package/es/components/truncated-text/src/truncated-text.js +26 -28
- package/es/components/truncated-text/src/truncated-text.js.map +1 -1
- package/es/components/truncated-text/src/truncated-text.scss.js +1 -1
- package/es/components/video-player/index.d.ts +2 -2
- package/es/components/video-player/src/providers/base-provider.d.ts +3 -3
- package/es/components/video-player/src/providers/base-provider.js +5 -5
- package/es/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
- package/es/components/video-player/src/providers/kaltura-provider.js +23 -23
- package/es/components/video-player/src/providers/native-video-provider.d.ts +2 -2
- package/es/components/video-player/src/providers/native-video-provider.js +20 -20
- package/es/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
- package/es/components/video-player/src/providers/vimeo-provider.js +23 -23
- package/es/components/video-player/src/providers/youtube-provider.d.ts +2 -2
- package/es/components/video-player/src/providers/youtube-provider.js +15 -15
- package/es/components/video-player/src/utils/url-detector.js +1 -1
- package/es/components/video-player/src/video-player.d.ts +2 -2
- package/es/components/video-player/src/video-player.js +37 -41
- package/es/components/video-player/src/video-player.js.map +1 -1
- package/es/components/workspace-shell/index.d.ts +4 -4
- package/es/components/workspace-shell/src/header-collapsible-manager.js +13 -13
- package/es/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
- package/es/components/workspace-shell/src/workspace-shell-body.js +2 -2
- package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
- package/es/components/workspace-shell/src/workspace-shell-footer.js +10 -11
- package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
- package/es/components/workspace-shell/src/workspace-shell-header.js +10 -13
- package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
- package/es/components/workspace-shell/src/workspace-shell.d.ts +1 -1
- package/es/components/workspace-shell/src/workspace-shell.js +3 -3
- package/es/globals/decorators/carbon-element.d.ts +4 -4
- package/es/globals/decorators/carbon-element.js +2 -2
- package/es/globals/decorators/index.d.ts +1 -1
- package/es/globals/scss/common.scss.js +1 -1
- package/es/globals/settings.js +2 -2
- package/es/globals/utils/aria-announcer-manager.d.ts +1 -1
- package/es/globals/utils/aria-announcer-manager.js +6 -6
- package/es/globals/utils/browser-utils.js +1 -1
- package/es/globals/utils/csv.d.ts +8 -0
- package/es/globals/utils/csv.js +37 -0
- package/es/globals/utils/csv.js.map +1 -0
- package/es/globals/utils/dom-utils.js +1 -1
- package/es/globals/utils/focus-utils.js +4 -4
- package/es/globals/utils/iconTransform.d.ts +2 -2
- package/es/globals/utils/iconTransform.js +21 -21
- package/es/globals/utils/rtl-utils.js +1 -1
- package/es/globals/utils/uuid.js +5 -5
- package/es/react/__tests__/jest.setup.js +12 -12
- package/es/react/ai-label-action-button.d.ts +1 -1
- package/es/react/ai-label-action-button.js +1 -1
- package/es/react/audio-player.d.ts +1 -1
- package/es/react/audio-player.js +5 -5
- package/es/react/autocomplete.d.ts +1 -1
- package/es/react/autocomplete.js +5 -5
- package/es/react/card.d.ts +1 -1
- package/es/react/card.js +5 -5
- package/es/react/carousel.d.ts +1 -1
- package/es/react/carousel.js +2 -2
- package/es/react/chain-of-thought-step.d.ts +1 -1
- package/es/react/chain-of-thought-step.js +4 -4
- package/es/react/chain-of-thought-toggle.d.ts +2 -2
- package/es/react/chain-of-thought-toggle.js +3 -3
- package/es/react/chain-of-thought.d.ts +2 -2
- package/es/react/chain-of-thought.js +4 -4
- package/es/react/chat-button.d.ts +3 -3
- package/es/react/chat-button.js +2 -2
- package/es/react/chat-header.d.ts +3 -3
- package/es/react/chat-header.js +2 -2
- package/es/react/chat-shell.d.ts +2 -2
- package/es/react/chat-shell.js +2 -2
- package/es/react/code-snippet.d.ts +4 -4
- package/es/react/code-snippet.js +3 -3
- package/es/react/error-message.d.ts +1 -1
- package/es/react/error-message.js +1 -1
- package/es/react/feedback-buttons.d.ts +1 -1
- package/es/react/feedback-buttons.js +3 -3
- package/es/react/feedback.d.ts +2 -2
- package/es/react/feedback.js +4 -4
- package/es/react/file-upload-item.d.ts +11 -0
- package/es/react/file-upload-item.js +31 -0
- package/es/react/file-upload-item.js.map +1 -0
- package/es/react/file-uploads.d.ts +1 -1
- package/es/react/file-uploads.js +2 -2
- package/es/react/history/history-content.d.ts +1 -1
- package/es/react/history/history-content.js +1 -1
- package/es/react/history/history-delete-panel.d.ts +1 -1
- package/es/react/history/history-delete-panel.js +3 -3
- package/es/react/history/history-header.d.ts +1 -1
- package/es/react/history/history-header.js +2 -2
- package/es/react/history/history-loading.d.ts +1 -1
- package/es/react/history/history-loading.js +1 -1
- package/es/react/history/history-panel-item-input.d.ts +1 -1
- package/es/react/history/history-panel-item-input.js +4 -4
- package/es/react/history/history-panel-item.d.ts +1 -1
- package/es/react/history/history-panel-item.js +6 -6
- package/es/react/history/history-panel-items.d.ts +1 -1
- package/es/react/history/history-panel-items.js +1 -1
- package/es/react/history/history-panel-menu.d.ts +1 -1
- package/es/react/history/history-panel-menu.js +1 -1
- package/es/react/history/history-panel.d.ts +1 -1
- package/es/react/history/history-panel.js +1 -1
- package/es/react/history/history-search-item.d.ts +1 -1
- package/es/react/history/history-search-item.js +2 -2
- package/es/react/history/history-shell.d.ts +1 -1
- package/es/react/history/history-shell.js +1 -1
- package/es/react/history/history-toolbar.d.ts +1 -1
- package/es/react/history/history-toolbar.js +3 -3
- package/es/react/history/index.d.ts +12 -12
- package/es/react/hooks/useChatAutocomplete.d.ts +4 -4
- package/es/react/hooks/useChatAutocomplete.js +38 -12
- package/es/react/hooks/useChatAutocomplete.js.map +1 -1
- package/es/react/input-send-control.d.ts +1 -1
- package/es/react/input-send-control.js +3 -3
- package/es/react/launcher.d.ts +11 -0
- package/es/react/launcher.js +31 -0
- package/es/react/launcher.js.map +1 -0
- package/es/react/markdown.d.ts +7 -7
- package/es/react/markdown.js +13 -13
- package/es/react/markdown.js.map +1 -1
- package/es/react/panel.d.ts +1 -1
- package/es/react/panel.js +7 -7
- package/es/react/processing.d.ts +1 -1
- package/es/react/processing.js +2 -2
- package/es/react/prompt-line-shell.d.ts +1 -1
- package/es/react/prompt-line-shell.js +1 -1
- package/es/react/prompt-line.d.ts +1 -1
- package/es/react/prompt-line.js +9 -9
- package/es/react/reasoning-step.d.ts +1 -1
- package/es/react/reasoning-step.js +4 -4
- package/es/react/reasoning-steps-toggle.d.ts +2 -2
- package/es/react/reasoning-steps-toggle.js +3 -3
- package/es/react/reasoning-steps.d.ts +1 -1
- package/es/react/reasoning-steps.js +2 -2
- package/es/react/stop-streaming-button.d.ts +1 -1
- package/es/react/stop-streaming-button.js +1 -1
- package/es/react/table.d.ts +2 -2
- package/es/react/table.js +1 -1
- package/es/react/tool-call-data.d.ts +1 -1
- package/es/react/tool-call-data.js +2 -2
- package/es/react/toolbar.d.ts +4 -4
- package/es/react/toolbar.js +2 -2
- package/es/react/transcript.d.ts +1 -1
- package/es/react/transcript.js +3 -3
- package/es/react/utils/transformSuggestionConfig.d.ts +3 -3
- package/es/react/utils/transformSuggestionConfig.js +3 -3
- package/es/react/utils/transformSuggestionConfig.js.map +1 -1
- package/es/react/utils/withWebComponentBridge.d.ts +1 -1
- package/es/react/utils/withWebComponentBridge.js +22 -22
- package/es/react/video-player.d.ts +1 -1
- package/es/react/video-player.js +5 -5
- package/es/react/workspace-shell.d.ts +1 -1
- package/es/react/workspace-shell.js +6 -6
- package/es/testing/load-all-lazy-deps.d.ts +2 -2
- package/es/testing/load-all-lazy-deps.js +1 -1
- package/es/typings/overflow-menu.d.ts +2 -2
- package/es-custom/components/audio-player/index.d.ts +4 -4
- package/es-custom/components/audio-player/src/audio-player.d.ts +1 -1
- package/es-custom/components/audio-player/src/audio-player.js +33 -38
- package/es-custom/components/audio-player/src/audio-player.js.map +1 -1
- package/es-custom/components/audio-player/src/providers/base-provider.d.ts +2 -2
- package/es-custom/components/audio-player/src/providers/base-provider.js +9 -9
- package/es-custom/components/audio-player/src/providers/native-audio-provider.d.ts +2 -2
- package/es-custom/components/audio-player/src/providers/native-audio-provider.js +18 -18
- package/es-custom/components/audio-player/src/providers/soundcloud-provider.d.ts +2 -2
- package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +14 -14
- package/es-custom/components/audio-player/src/transcript.d.ts +2 -2
- package/es-custom/components/audio-player/src/transcript.js +13 -16
- package/es-custom/components/audio-player/src/transcript.js.map +1 -1
- package/es-custom/components/audio-player/src/utils/url-detector.js +1 -1
- package/es-custom/components/card/index.d.ts +4 -4
- package/es-custom/components/card/src/card-footer.d.ts +5 -5
- package/es-custom/components/card/src/card-footer.js +12 -16
- package/es-custom/components/card/src/card-footer.js.map +1 -1
- package/es-custom/components/card/src/card-footer.scss.js +1 -1
- package/es-custom/components/card/src/card-steps.d.ts +4 -4
- package/es-custom/components/card/src/card-steps.js +3 -5
- package/es-custom/components/card/src/card-steps.js.map +1 -1
- package/es-custom/components/card/src/card-steps.scss.js +1 -1
- package/es-custom/components/card/src/card.d.ts +2 -2
- package/es-custom/components/card/src/card.js +3 -3
- package/es-custom/components/card/src/card.scss.js +1 -1
- package/es-custom/components/carousel/index.d.ts +1 -1
- package/es-custom/components/carousel/src/carousel.d.ts +2 -2
- package/es-custom/components/carousel/src/carousel.js +4 -6
- package/es-custom/components/carousel/src/carousel.js.map +1 -1
- package/es-custom/components/carousel/src/carousel.scss.js +1 -1
- package/es-custom/components/chain-of-thought/defs.js +1 -1
- package/es-custom/components/chain-of-thought/index.d.ts +10 -10
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +4 -4
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +36 -42
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -2
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +11 -14
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
- package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +4 -4
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js +16 -17
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
- package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +2 -2
- package/es-custom/components/chain-of-thought/src/tool-call-data.js +17 -23
- package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -1
- package/es-custom/components/chat-button/defs.d.ts +1 -1
- package/es-custom/components/chat-button/defs.js +1 -1
- package/es-custom/components/chat-button/index.d.ts +2 -2
- package/es-custom/components/chat-button/src/chat-button.d.ts +5 -5
- package/es-custom/components/chat-button/src/chat-button.js +6 -6
- package/es-custom/components/chat-button/src/chat-button.scss.js +1 -1
- package/es-custom/components/chat-history/index.d.ts +11 -11
- package/es-custom/components/chat-history/src/history-content.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-content.js +6 -6
- package/es-custom/components/chat-history/src/history-delete-panel.d.ts +2 -2
- package/es-custom/components/chat-history/src/history-delete-panel.js +11 -11
- package/es-custom/components/chat-history/src/history-header.d.ts +2 -2
- package/es-custom/components/chat-history/src/history-header.js +9 -10
- package/es-custom/components/chat-history/src/history-header.js.map +1 -1
- package/es-custom/components/chat-history/src/history-loading.d.ts +2 -2
- package/es-custom/components/chat-history/src/history-loading.js +1 -1
- package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +2 -2
- package/es-custom/components/chat-history/src/history-panel-item-input.js +21 -22
- package/es-custom/components/chat-history/src/history-panel-item-input.js.map +1 -1
- package/es-custom/components/chat-history/src/history-panel-item.d.ts +5 -5
- package/es-custom/components/chat-history/src/history-panel-item.js +39 -41
- package/es-custom/components/chat-history/src/history-panel-item.js.map +1 -1
- package/es-custom/components/chat-history/src/history-panel-items.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-panel-items.js +1 -1
- package/es-custom/components/chat-history/src/history-panel-menu.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-panel.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-panel.js +3 -3
- package/es-custom/components/chat-history/src/history-search-item.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-search-item.js +4 -4
- package/es-custom/components/chat-history/src/history-shell.d.ts +1 -1
- package/es-custom/components/chat-history/src/history-shell.js +3 -3
- package/es-custom/components/chat-history/src/history-toolbar.d.ts +9 -5
- package/es-custom/components/chat-history/src/history-toolbar.js +13 -10
- package/es-custom/components/chat-history/src/history-toolbar.js.map +1 -1
- package/es-custom/components/chat-shell/index.d.ts +5 -5
- package/es-custom/components/chat-shell/src/chat-header.d.ts +8 -8
- package/es-custom/components/chat-shell/src/chat-header.js +37 -44
- package/es-custom/components/chat-shell/src/chat-header.js.map +1 -1
- package/es-custom/components/chat-shell/src/corner-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/corner-manager.js +30 -30
- package/es-custom/components/chat-shell/src/initialization-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/panel-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/panel-manager.js +12 -12
- package/es-custom/components/chat-shell/src/panel.d.ts +2 -2
- package/es-custom/components/chat-shell/src/panel.js +99 -100
- package/es-custom/components/chat-shell/src/panel.js.map +1 -1
- package/es-custom/components/chat-shell/src/resize-observer-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/resize-observer-manager.js +10 -10
- package/es-custom/components/chat-shell/src/shell.d.ts +8 -8
- package/es-custom/components/chat-shell/src/shell.js +128 -135
- package/es-custom/components/chat-shell/src/shell.js.map +1 -1
- package/es-custom/components/chat-shell/src/slot-observer.d.ts +1 -1
- package/es-custom/components/chat-shell/src/slot-observer.js +4 -7
- package/es-custom/components/chat-shell/src/slot-observer.js.map +1 -1
- package/es-custom/components/chat-shell/src/types.d.ts +4 -4
- package/es-custom/components/chat-shell/src/workspace-manager-utils.js +4 -4
- package/es-custom/components/chat-shell/src/workspace-manager.d.ts +1 -1
- package/es-custom/components/chat-shell/src/workspace-manager.js +32 -32
- package/es-custom/components/code-snippet/index.d.ts +4 -4
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +8 -8
- package/es-custom/components/code-snippet/src/code-snippet.js +87 -93
- package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -1
- package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +1 -1
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js +1 -1
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -1
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js +1 -1
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +8 -8
- package/es-custom/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
- package/es-custom/components/code-snippet/src/codemirror/content-sync.js +2 -2
- package/es-custom/components/code-snippet/src/codemirror/detect-language.d.ts +6 -0
- package/es-custom/components/code-snippet/src/codemirror/detect-language.js +77 -0
- package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +2 -2
- package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +4 -4
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +4 -4
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +4 -4
- package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +3 -3
- package/es-custom/components/code-snippet/src/codemirror/language-controller.js +3 -3
- package/es-custom/components/code-snippet/src/codemirror/language-data.d.ts +1 -1
- package/es-custom/components/code-snippet/src/codemirror/language-data.js +299 -299
- package/es-custom/components/code-snippet/src/codemirror/language-utils.d.ts +2 -2
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js +60 -66
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +15 -15
- package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +1 -1
- package/es-custom/components/code-snippet/src/codemirror/theme.js +163 -163
- package/es-custom/components/code-snippet/src/dom-utils.js +6 -6
- package/es-custom/components/code-snippet/src/layout-utils.d.ts +2 -2
- package/es-custom/components/code-snippet/src/layout-utils.js +9 -9
- package/es-custom/components/code-snippet/src/streaming-manager.js +5 -5
- package/es-custom/components/feedback/index.d.ts +4 -4
- package/es-custom/components/feedback/src/feedback-buttons.d.ts +3 -3
- package/es-custom/components/feedback/src/feedback-buttons.js +17 -19
- package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -1
- package/es-custom/components/feedback/src/feedback.d.ts +9 -9
- package/es-custom/components/feedback/src/feedback.js +38 -45
- package/es-custom/components/feedback/src/feedback.js.map +1 -1
- package/es-custom/components/file-uploads/index.d.ts +5 -4
- package/es-custom/components/file-uploads/src/file-type-icon.d.ts +18 -0
- package/es-custom/components/file-uploads/src/file-type-icon.js +87 -0
- package/es-custom/components/file-uploads/src/file-type-icon.js.map +1 -0
- package/es-custom/components/file-uploads/src/file-upload-item.d.ts +69 -8
- package/es-custom/components/file-uploads/src/file-upload-item.js +210 -111
- package/es-custom/components/file-uploads/src/file-upload-item.js.map +1 -1
- package/es-custom/components/file-uploads/src/file-uploads.d.ts +8 -4
- package/es-custom/components/file-uploads/src/file-uploads.js +54 -29
- package/es-custom/components/file-uploads/src/file-uploads.js.map +1 -1
- package/es-custom/components/file-uploads/src/file-uploads.scss.js +1 -1
- package/es-custom/components/file-uploads/src/types.d.ts +39 -0
- package/es-custom/components/file-uploads/src/types.js +8 -0
- package/es-custom/components/file-uploads/src/types.js.map +1 -0
- package/es-custom/components/launcher/index.d.ts +9 -0
- package/es-custom/components/launcher/index.js +9 -0
- package/{es/components/autocomplete → es-custom/components/launcher}/index.js.map +1 -1
- package/es-custom/components/launcher/src/launcher.d.ts +68 -0
- package/es-custom/components/launcher/src/launcher.js +152 -0
- package/es-custom/components/launcher/src/launcher.js.map +1 -0
- package/es-custom/components/launcher/src/launcher.scss.js +13 -0
- package/es-custom/components/launcher/src/launcher.scss.js.map +1 -0
- package/es-custom/components/markdown/index.d.ts +5 -5
- package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +10 -3
- package/es-custom/components/markdown/src/markdown-renderer.d.ts +9 -9
- package/es-custom/components/markdown/src/markdown-renderer.js +85 -80
- package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -1
- package/es-custom/components/markdown/src/markdown-token-tree.d.ts +1 -1
- package/es-custom/components/markdown/src/markdown-token-tree.js +20 -20
- package/es-custom/components/markdown/src/markdown.d.ts +4 -7
- package/es-custom/components/markdown/src/markdown.js +96 -82
- package/es-custom/components/markdown/src/markdown.js.map +1 -1
- package/es-custom/components/markdown/src/markdown.template.js +1 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js +19 -19
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js +5 -5
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -1
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +14 -14
- package/es-custom/components/markdown/src/utils/html-helpers.d.ts +1 -1
- package/es-custom/components/markdown/src/utils/html-helpers.js +72 -72
- package/es-custom/components/markdown/src/utils/lit-directives.d.ts +2 -2
- package/es-custom/components/markdown/src/utils/lit-directives.js +5 -5
- package/es-custom/components/markdown/src/utils/plugin-fallback.d.ts +4 -4
- package/es-custom/components/markdown/src/utils/plugin-fallback.js +61 -61
- package/es-custom/components/markdown/src/utils/streaming-table.d.ts +1 -1
- package/es-custom/components/markdown/src/utils/streaming-table.js +6 -6
- package/es-custom/components/markdown/src/utils/table-helpers.d.ts +4 -4
- package/es-custom/components/markdown/src/utils/table-helpers.js +17 -18
- package/es-custom/components/markdown/src/utils/table-helpers.js.map +1 -1
- package/es-custom/components/processing/index.d.ts +1 -1
- package/es-custom/components/processing/src/processing.d.ts +2 -2
- package/es-custom/components/processing/src/processing.js +2 -2
- package/es-custom/components/prompt-line/autocomplete/index.d.ts +12 -0
- package/es-custom/components/prompt-line/autocomplete/index.js +9 -0
- package/es-custom/components/{autocomplete → prompt-line/autocomplete}/index.js.map +1 -1
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +165 -0
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +506 -0
- package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -0
- package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js +1 -1
- package/es-custom/components/prompt-line/index.d.ts +18 -18
- package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +10 -8
- package/es-custom/components/prompt-line/src/autocomplete-controller.js +107 -47
- package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +1 -1
- package/es-custom/components/prompt-line/src/error-message.d.ts +3 -7
- package/es-custom/components/prompt-line/src/error-message.js +13 -23
- package/es-custom/components/prompt-line/src/error-message.js.map +1 -1
- package/es-custom/components/prompt-line/src/error-message.scss.js +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-constants.js +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-controller.js +83 -83
- package/es-custom/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +30 -28
- package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +2 -2
- package/es-custom/components/prompt-line/src/prompt-line-shell.js +11 -13
- package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +1 -1
- package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +1 -1
- package/es-custom/components/prompt-line/src/prompt-line.d.ts +5 -5
- package/es-custom/components/prompt-line/src/prompt-line.js +35 -35
- package/es-custom/components/prompt-line/src/prompt-line.js.map +1 -1
- package/es-custom/components/prompt-line/src/send-control.d.ts +4 -4
- package/es-custom/components/prompt-line/src/send-control.js +18 -20
- package/es-custom/components/prompt-line/src/send-control.js.map +1 -1
- package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +3 -3
- package/es-custom/components/prompt-line/src/stop-streaming-button.js +7 -8
- package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +1 -1
- package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +3 -3
- package/es-custom/components/prompt-line/src/tiptap/build-extensions.js +2 -2
- package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
- package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +2 -2
- package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +7 -7
- package/es-custom/components/prompt-line/src/tiptap/carbon-mention.d.ts +2 -2
- package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js +9 -9
- package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +4 -3
- package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +18 -12
- package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
- package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +2 -2
- package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +26 -26
- package/es-custom/components/prompt-line/src/tiptap/index.d.ts +24 -24
- package/es-custom/components/prompt-line/src/tiptap/index.js.map +1 -1
- package/es-custom/components/prompt-line/src/tiptap/json-utils.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/json-utils.js +17 -17
- package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/keymap.js +3 -3
- package/es-custom/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/origin-meta.js +2 -2
- package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js +5 -5
- package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +3 -3
- package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +3 -3
- package/es-custom/components/prompt-line/src/tiptap/render-token-chip.d.ts +4 -4
- package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +22 -22
- package/es-custom/components/prompt-line/src/tiptap/token-node-view.d.ts +4 -4
- package/es-custom/components/prompt-line/src/tiptap/token-node-view.js +1 -1
- package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +9 -2
- package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +11 -2
- package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
- package/es-custom/components/prompt-line/src/tiptap/types.d.ts +24 -3
- package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +2 -2
- package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +1 -1
- package/es-custom/components/prompt-line/src/tiptap/value-sync.js +2 -2
- package/es-custom/components/prompt-line/src/types.d.ts +2 -2
- package/es-custom/components/prompt-line/src/types.js.map +1 -1
- package/es-custom/components/reasoning-steps/index.d.ts +4 -4
- package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +2 -2
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +27 -31
- package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -2
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +12 -14
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +2 -2
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js +19 -20
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
- package/es-custom/components/shared/dynamic-css-var-sheet.js +7 -7
- package/es-custom/components/shared/media-utils/script-loader.js +1 -1
- package/es-custom/components/table/index.d.ts +3 -3
- package/es-custom/components/table/src/table-loader.d.ts +1 -1
- package/es-custom/components/table/src/table-loader.js +1 -1
- package/es-custom/components/table/src/table-pagination.template.d.ts +3 -3
- package/es-custom/components/table/src/table-pagination.template.js +4 -5
- package/es-custom/components/table/src/table-pagination.template.js.map +1 -1
- package/es-custom/components/table/src/table-runtime.d.ts +2 -2
- package/es-custom/components/table/src/table-skeleton.template.d.ts +1 -1
- package/es-custom/components/table/src/table-skeleton.template.js +2 -3
- package/es-custom/components/table/src/table-skeleton.template.js.map +1 -1
- package/es-custom/components/table/src/table.d.ts +3 -4
- package/es-custom/components/table/src/table.js +36 -39
- package/es-custom/components/table/src/table.js.map +1 -1
- package/es-custom/components/table/src/table.template.d.ts +5 -5
- package/es-custom/components/table/src/table.template.js +6 -9
- package/es-custom/components/table/src/table.template.js.map +1 -1
- package/es-custom/components/toolbar/index.d.ts +1 -1
- package/es-custom/components/toolbar/src/toolbar.d.ts +9 -7
- package/es-custom/components/toolbar/src/toolbar.js +45 -33
- package/es-custom/components/toolbar/src/toolbar.js.map +1 -1
- package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
- package/es-custom/components/truncated-text/index.d.ts +1 -1
- package/es-custom/components/truncated-text/src/truncated-text.d.ts +5 -5
- package/es-custom/components/truncated-text/src/truncated-text.js +26 -28
- package/es-custom/components/truncated-text/src/truncated-text.js.map +1 -1
- package/es-custom/components/truncated-text/src/truncated-text.scss.js +1 -1
- package/es-custom/components/video-player/index.d.ts +2 -2
- package/es-custom/components/video-player/src/providers/base-provider.d.ts +3 -3
- package/es-custom/components/video-player/src/providers/base-provider.js +5 -5
- package/es-custom/components/video-player/src/providers/kaltura-provider.d.ts +2 -2
- package/es-custom/components/video-player/src/providers/kaltura-provider.js +23 -23
- package/es-custom/components/video-player/src/providers/native-video-provider.d.ts +2 -2
- package/es-custom/components/video-player/src/providers/native-video-provider.js +20 -20
- package/es-custom/components/video-player/src/providers/vimeo-provider.d.ts +2 -2
- package/es-custom/components/video-player/src/providers/vimeo-provider.js +23 -23
- package/es-custom/components/video-player/src/providers/youtube-provider.d.ts +2 -2
- package/es-custom/components/video-player/src/providers/youtube-provider.js +15 -15
- package/es-custom/components/video-player/src/utils/url-detector.js +1 -1
- package/es-custom/components/video-player/src/video-player.d.ts +2 -2
- package/es-custom/components/video-player/src/video-player.js +37 -41
- package/es-custom/components/video-player/src/video-player.js.map +1 -1
- package/es-custom/components/workspace-shell/index.d.ts +4 -4
- package/es-custom/components/workspace-shell/src/header-collapsible-manager.js +13 -13
- package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js +2 -2
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +4 -4
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +10 -11
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +2 -2
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js +10 -13
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +1 -1
- package/es-custom/components/workspace-shell/src/workspace-shell.js +3 -3
- package/es-custom/globals/decorators/carbon-element.d.ts +4 -4
- package/es-custom/globals/decorators/carbon-element.js +2 -2
- package/es-custom/globals/decorators/index.d.ts +1 -1
- package/es-custom/globals/scss/common.scss.js +1 -1
- package/es-custom/globals/settings.js +2 -2
- package/es-custom/globals/utils/aria-announcer-manager.d.ts +1 -1
- package/es-custom/globals/utils/aria-announcer-manager.js +6 -6
- package/es-custom/globals/utils/browser-utils.js +1 -1
- package/es-custom/globals/utils/csv.d.ts +8 -0
- package/es-custom/globals/utils/csv.js +37 -0
- package/es-custom/globals/utils/csv.js.map +1 -0
- package/es-custom/globals/utils/dom-utils.js +1 -1
- package/es-custom/globals/utils/focus-utils.js +4 -4
- package/es-custom/globals/utils/iconTransform.d.ts +2 -2
- package/es-custom/globals/utils/iconTransform.js +21 -21
- package/es-custom/globals/utils/rtl-utils.js +1 -1
- package/es-custom/globals/utils/uuid.js +5 -5
- package/es-custom/react/__tests__/jest.setup.js +12 -12
- package/es-custom/react/ai-label-action-button.d.ts +1 -1
- package/es-custom/react/ai-label-action-button.js +1 -1
- package/es-custom/react/audio-player.d.ts +1 -1
- package/es-custom/react/audio-player.js +5 -5
- package/es-custom/react/autocomplete.d.ts +1 -1
- package/es-custom/react/autocomplete.js +5 -5
- package/es-custom/react/card.d.ts +1 -1
- package/es-custom/react/card.js +5 -5
- package/es-custom/react/carousel.d.ts +1 -1
- package/es-custom/react/carousel.js +2 -2
- package/es-custom/react/chain-of-thought-step.d.ts +1 -1
- package/es-custom/react/chain-of-thought-step.js +4 -4
- package/es-custom/react/chain-of-thought-toggle.d.ts +2 -2
- package/es-custom/react/chain-of-thought-toggle.js +3 -3
- package/es-custom/react/chain-of-thought.d.ts +2 -2
- package/es-custom/react/chain-of-thought.js +4 -4
- package/es-custom/react/chat-button.d.ts +3 -3
- package/es-custom/react/chat-button.js +2 -2
- package/es-custom/react/chat-header.d.ts +3 -3
- package/es-custom/react/chat-header.js +2 -2
- package/es-custom/react/chat-shell.d.ts +2 -2
- package/es-custom/react/chat-shell.js +2 -2
- package/es-custom/react/code-snippet.d.ts +4 -4
- package/es-custom/react/code-snippet.js +3 -3
- package/es-custom/react/error-message.d.ts +1 -1
- package/es-custom/react/error-message.js +1 -1
- package/es-custom/react/feedback-buttons.d.ts +1 -1
- package/es-custom/react/feedback-buttons.js +3 -3
- package/es-custom/react/feedback.d.ts +2 -2
- package/es-custom/react/feedback.js +4 -4
- package/es-custom/react/file-upload-item.d.ts +11 -0
- package/es-custom/react/file-upload-item.js +31 -0
- package/es-custom/react/file-upload-item.js.map +1 -0
- package/es-custom/react/file-uploads.d.ts +1 -1
- package/es-custom/react/file-uploads.js +2 -2
- package/es-custom/react/history/history-content.d.ts +1 -1
- package/es-custom/react/history/history-content.js +1 -1
- package/es-custom/react/history/history-delete-panel.d.ts +1 -1
- package/es-custom/react/history/history-delete-panel.js +3 -3
- package/es-custom/react/history/history-header.d.ts +1 -1
- package/es-custom/react/history/history-header.js +2 -2
- package/es-custom/react/history/history-loading.d.ts +1 -1
- package/es-custom/react/history/history-loading.js +1 -1
- package/es-custom/react/history/history-panel-item-input.d.ts +1 -1
- package/es-custom/react/history/history-panel-item-input.js +4 -4
- package/es-custom/react/history/history-panel-item.d.ts +1 -1
- package/es-custom/react/history/history-panel-item.js +6 -6
- package/es-custom/react/history/history-panel-items.d.ts +1 -1
- package/es-custom/react/history/history-panel-items.js +1 -1
- package/es-custom/react/history/history-panel-menu.d.ts +1 -1
- package/es-custom/react/history/history-panel-menu.js +1 -1
- package/es-custom/react/history/history-panel.d.ts +1 -1
- package/es-custom/react/history/history-panel.js +1 -1
- package/es-custom/react/history/history-search-item.d.ts +1 -1
- package/es-custom/react/history/history-search-item.js +2 -2
- package/es-custom/react/history/history-shell.d.ts +1 -1
- package/es-custom/react/history/history-shell.js +1 -1
- package/es-custom/react/history/history-toolbar.d.ts +1 -1
- package/es-custom/react/history/history-toolbar.js +3 -3
- package/es-custom/react/history/index.d.ts +12 -12
- package/es-custom/react/hooks/useChatAutocomplete.d.ts +4 -4
- package/es-custom/react/hooks/useChatAutocomplete.js +38 -12
- package/es-custom/react/hooks/useChatAutocomplete.js.map +1 -1
- package/es-custom/react/input-send-control.d.ts +1 -1
- package/es-custom/react/input-send-control.js +3 -3
- package/es-custom/react/launcher.d.ts +11 -0
- package/es-custom/react/launcher.js +31 -0
- package/es-custom/react/launcher.js.map +1 -0
- package/es-custom/react/markdown.d.ts +7 -7
- package/es-custom/react/markdown.js +13 -13
- package/es-custom/react/markdown.js.map +1 -1
- package/es-custom/react/panel.d.ts +1 -1
- package/es-custom/react/panel.js +7 -7
- package/es-custom/react/processing.d.ts +1 -1
- package/es-custom/react/processing.js +2 -2
- package/es-custom/react/prompt-line-shell.d.ts +1 -1
- package/es-custom/react/prompt-line-shell.js +1 -1
- package/es-custom/react/prompt-line.d.ts +1 -1
- package/es-custom/react/prompt-line.js +9 -9
- package/es-custom/react/reasoning-step.d.ts +1 -1
- package/es-custom/react/reasoning-step.js +4 -4
- package/es-custom/react/reasoning-steps-toggle.d.ts +2 -2
- package/es-custom/react/reasoning-steps-toggle.js +3 -3
- package/es-custom/react/reasoning-steps.d.ts +1 -1
- package/es-custom/react/reasoning-steps.js +2 -2
- package/es-custom/react/stop-streaming-button.d.ts +1 -1
- package/es-custom/react/stop-streaming-button.js +1 -1
- package/es-custom/react/table.d.ts +2 -2
- package/es-custom/react/table.js +1 -1
- package/es-custom/react/tool-call-data.d.ts +1 -1
- package/es-custom/react/tool-call-data.js +2 -2
- package/es-custom/react/toolbar.d.ts +4 -4
- package/es-custom/react/toolbar.js +2 -2
- package/es-custom/react/transcript.d.ts +1 -1
- package/es-custom/react/transcript.js +3 -3
- package/es-custom/react/utils/transformSuggestionConfig.d.ts +3 -3
- package/es-custom/react/utils/transformSuggestionConfig.js +3 -3
- package/es-custom/react/utils/transformSuggestionConfig.js.map +1 -1
- package/es-custom/react/utils/withWebComponentBridge.d.ts +1 -1
- package/es-custom/react/utils/withWebComponentBridge.js +22 -22
- package/es-custom/react/video-player.d.ts +1 -1
- package/es-custom/react/video-player.js +5 -5
- package/es-custom/react/workspace-shell.d.ts +1 -1
- package/es-custom/react/workspace-shell.js +6 -6
- package/es-custom/testing/load-all-lazy-deps.d.ts +2 -2
- package/es-custom/testing/load-all-lazy-deps.js +1 -1
- package/es-custom/typings/overflow-menu.d.ts +2 -2
- package/package.json +4 -5
- package/scss/_custom-properties.scss +15 -15
- package/scss/_modifiers.scss +8 -8
- package/scss/_tokens-component.scss +1 -1
- package/scss/_tokens-layout.scss +1 -1
- package/scss/_utilities.scss +2 -2
- package/scss/common.scss +3 -3
- package/scss/grid.scss +2 -2
- package/scss/themes.scss +7 -7
- package/scss/vars.scss +3 -3
- package/telemetry.yml +64 -5
- package/es/components/autocomplete/index.d.ts +0 -15
- package/es/components/autocomplete/index.js +0 -11
- package/es/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
- package/es/components/autocomplete/src/autocomplete-item-group.js +0 -139
- package/es/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
- package/es/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
- package/es/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
- package/es/components/autocomplete/src/autocomplete-item.d.ts +0 -54
- package/es/components/autocomplete/src/autocomplete-item.js +0 -197
- package/es/components/autocomplete/src/autocomplete-item.js.map +0 -1
- package/es/components/autocomplete/src/autocomplete-item.scss.js +0 -13
- package/es/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +0 -97
- package/es/components/autocomplete/src/autocomplete.js +0 -321
- package/es/components/autocomplete/src/autocomplete.js.map +0 -1
- package/es-custom/components/autocomplete/index.d.ts +0 -15
- package/es-custom/components/autocomplete/index.js +0 -11
- package/es-custom/components/autocomplete/src/autocomplete-item-group.d.ts +0 -44
- package/es-custom/components/autocomplete/src/autocomplete-item-group.js +0 -139
- package/es-custom/components/autocomplete/src/autocomplete-item-group.js.map +0 -1
- package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js +0 -13
- package/es-custom/components/autocomplete/src/autocomplete-item-group.scss.js.map +0 -1
- package/es-custom/components/autocomplete/src/autocomplete-item.d.ts +0 -54
- package/es-custom/components/autocomplete/src/autocomplete-item.js +0 -197
- package/es-custom/components/autocomplete/src/autocomplete-item.js.map +0 -1
- package/es-custom/components/autocomplete/src/autocomplete-item.scss.js +0 -13
- package/es-custom/components/autocomplete/src/autocomplete-item.scss.js.map +0 -1
- package/es-custom/components/autocomplete/src/autocomplete.d.ts +0 -97
- package/es-custom/components/autocomplete/src/autocomplete.js +0 -321
- package/es-custom/components/autocomplete/src/autocomplete.js.map +0 -1
- /package/es/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
- /package/es-custom/components/{autocomplete → prompt-line/autocomplete}/src/autocomplete.scss.js.map +0 -0
|
@@ -31,7 +31,7 @@ import { adoptOnRoot, setVarsForSelector, clearSelector } from '../../shared/dyn
|
|
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
|
32
32
|
*/
|
|
33
33
|
var CDSAIChatShell_1;
|
|
34
|
-
const INSTANCE_ATTR =
|
|
34
|
+
const INSTANCE_ATTR = 'data-cds-aichat-shell-id';
|
|
35
35
|
let shellInstanceCounter = 0;
|
|
36
36
|
let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement {
|
|
37
37
|
constructor() {
|
|
@@ -48,7 +48,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
48
48
|
* Sets the corner style for all corners. Individual corner-* attributes override this value.
|
|
49
49
|
* Values: "round" or "square". Defaults to "square".
|
|
50
50
|
*/
|
|
51
|
-
this.cornerAll =
|
|
51
|
+
this.cornerAll = 'square';
|
|
52
52
|
/**
|
|
53
53
|
* Shows the history panel in the chat shell
|
|
54
54
|
*/
|
|
@@ -60,47 +60,47 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
60
60
|
/**
|
|
61
61
|
* Determines the location of the workspace panel ("start" or "end")
|
|
62
62
|
*/
|
|
63
|
-
this.workspaceLocation =
|
|
63
|
+
this.workspaceLocation = 'start';
|
|
64
64
|
/**
|
|
65
65
|
* Determines the location of the history panel ("start" or "end")
|
|
66
66
|
*/
|
|
67
|
-
this.historyLocation =
|
|
67
|
+
this.historyLocation = 'start';
|
|
68
68
|
/**
|
|
69
69
|
* ARIA label for the workspace region
|
|
70
70
|
*/
|
|
71
|
-
this.workspaceAriaLabel =
|
|
71
|
+
this.workspaceAriaLabel = 'Workspace panel';
|
|
72
72
|
/**
|
|
73
73
|
* ARIA label for the history region
|
|
74
74
|
*/
|
|
75
|
-
this.historyAriaLabel =
|
|
75
|
+
this.historyAriaLabel = 'Conversation history';
|
|
76
76
|
/**
|
|
77
77
|
* ARIA label for the messages region
|
|
78
78
|
*/
|
|
79
|
-
this.messagesAriaLabel =
|
|
79
|
+
this.messagesAriaLabel = 'Chat messages';
|
|
80
80
|
/**
|
|
81
81
|
* Announcement text for when a panel opens
|
|
82
82
|
*/
|
|
83
|
-
this.panelOpenedAnnouncement =
|
|
83
|
+
this.panelOpenedAnnouncement = 'Panel opened';
|
|
84
84
|
/**
|
|
85
85
|
* Announcement text for when a panel closes
|
|
86
86
|
*/
|
|
87
|
-
this.panelClosedAnnouncement =
|
|
87
|
+
this.panelClosedAnnouncement = 'Panel closed';
|
|
88
88
|
/**
|
|
89
89
|
* Announcement text for when workspace opens
|
|
90
90
|
*/
|
|
91
|
-
this.workspaceOpenedAnnouncement =
|
|
91
|
+
this.workspaceOpenedAnnouncement = 'Workspace opened';
|
|
92
92
|
/**
|
|
93
93
|
* Announcement text for when workspace closes
|
|
94
94
|
*/
|
|
95
|
-
this.workspaceClosedAnnouncement =
|
|
95
|
+
this.workspaceClosedAnnouncement = 'Workspace closed, returned to chat';
|
|
96
96
|
/**
|
|
97
97
|
* Announcement text for when history becomes visible
|
|
98
98
|
*/
|
|
99
|
-
this.historyShownAnnouncement =
|
|
99
|
+
this.historyShownAnnouncement = 'Conversation history is now visible';
|
|
100
100
|
/**
|
|
101
101
|
* Announcement text for when history becomes hidden
|
|
102
102
|
*/
|
|
103
|
-
this.historyHiddenAnnouncement =
|
|
103
|
+
this.historyHiddenAnnouncement = 'Conversation history is now hidden';
|
|
104
104
|
/**
|
|
105
105
|
* Constrains content to a maximum width. When false, input and related
|
|
106
106
|
* slots will extend to full container width without max-width constraints.
|
|
@@ -180,11 +180,11 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
180
180
|
const target = event.target;
|
|
181
181
|
// Check if the event target is the internal workspace panel
|
|
182
182
|
// or if it's a child of the internal panel
|
|
183
|
-
if (target?.hasAttribute(
|
|
183
|
+
if (target?.hasAttribute('data-internal-panel')) {
|
|
184
184
|
return;
|
|
185
185
|
}
|
|
186
186
|
// Also check if the target is inside an internal panel
|
|
187
|
-
const closestPanel = target?.closest?.(
|
|
187
|
+
const closestPanel = target?.closest?.('cds-custom-aichat-panel[data-internal-panel]');
|
|
188
188
|
if (closestPanel) {
|
|
189
189
|
return;
|
|
190
190
|
}
|
|
@@ -199,11 +199,11 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
199
199
|
const target = event.target;
|
|
200
200
|
// Check if the event target is the internal workspace panel
|
|
201
201
|
// or if it's a child of the internal panel
|
|
202
|
-
if (target?.hasAttribute(
|
|
202
|
+
if (target?.hasAttribute('data-internal-panel')) {
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
205
|
// Also check if the target is inside an internal panel
|
|
206
|
-
const closestPanel = target?.closest?.(
|
|
206
|
+
const closestPanel = target?.closest?.('cds-custom-aichat-panel[data-internal-panel]');
|
|
207
207
|
if (closestPanel) {
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
@@ -223,7 +223,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
223
223
|
if (!inPanel) {
|
|
224
224
|
// Add extra delay to allow button state changes to be announced first
|
|
225
225
|
// This prevents the workspace announcement from being interrupted
|
|
226
|
-
if (typeof window !==
|
|
226
|
+
if (typeof window !== 'undefined') {
|
|
227
227
|
window.setTimeout(() => {
|
|
228
228
|
if (visible) {
|
|
229
229
|
this.ariaAnnouncerManager?.announce(this.workspaceOpenedAnnouncement);
|
|
@@ -263,38 +263,38 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
263
263
|
}
|
|
264
264
|
getWidgetClasses() {
|
|
265
265
|
const workspaceState = this.workspaceManager?.getState();
|
|
266
|
-
const hasAnyRoundedCorner = this.cornerAll ===
|
|
267
|
-
this.cornerStartStart ===
|
|
268
|
-
this.cornerStartEnd ===
|
|
269
|
-
this.cornerEndStart ===
|
|
270
|
-
this.cornerEndEnd ===
|
|
266
|
+
const hasAnyRoundedCorner = this.cornerAll === 'round' ||
|
|
267
|
+
this.cornerStartStart === 'round' ||
|
|
268
|
+
this.cornerStartEnd === 'round' ||
|
|
269
|
+
this.cornerEndStart === 'round' ||
|
|
270
|
+
this.cornerEndEnd === 'round';
|
|
271
271
|
return [
|
|
272
|
-
|
|
273
|
-
this._isInitializing ?
|
|
274
|
-
this.aiEnabled ?
|
|
275
|
-
this.showFrame ?
|
|
276
|
-
hasAnyRoundedCorner ?
|
|
272
|
+
'shell',
|
|
273
|
+
this._isInitializing ? 'initializing' : '',
|
|
274
|
+
this.aiEnabled ? 'ai-theme' : '',
|
|
275
|
+
this.showFrame ? '' : 'frameless',
|
|
276
|
+
hasAnyRoundedCorner ? 'rounded' : '',
|
|
277
277
|
this.hasHeaderContent || this.hasHeaderAfterContent
|
|
278
|
-
?
|
|
279
|
-
:
|
|
280
|
-
this.hasFooterContent ?
|
|
281
|
-
workspaceState?.isCheckingExpansion ?
|
|
282
|
-
workspaceState?.isContracting ?
|
|
283
|
-
workspaceState?.isExpanding ?
|
|
278
|
+
? 'has-header-content'
|
|
279
|
+
: '',
|
|
280
|
+
this.hasFooterContent ? 'has-footer-content' : '',
|
|
281
|
+
workspaceState?.isCheckingExpansion ? 'workspace-checking' : '',
|
|
282
|
+
workspaceState?.isContracting ? 'workspace-closing' : '',
|
|
283
|
+
workspaceState?.isExpanding ? 'workspace-opening' : '',
|
|
284
284
|
]
|
|
285
285
|
.filter(Boolean)
|
|
286
|
-
.join(
|
|
286
|
+
.join(' ');
|
|
287
287
|
}
|
|
288
288
|
getInputAndMessagesClasses() {
|
|
289
289
|
return [
|
|
290
|
-
|
|
291
|
-
this.hasInputBeforeContent ?
|
|
292
|
-
this.hasInputContent ?
|
|
293
|
-
this.hasInputAfterContent ?
|
|
294
|
-
this.inputAndMessagesAtMaxWidth ?
|
|
290
|
+
'input-and-messages',
|
|
291
|
+
this.hasInputBeforeContent ? 'has-input-before-content' : '',
|
|
292
|
+
this.hasInputContent ? 'has-input-content' : '',
|
|
293
|
+
this.hasInputAfterContent ? 'has-input-after-content' : '',
|
|
294
|
+
this.inputAndMessagesAtMaxWidth ? 'at-max-width' : '',
|
|
295
295
|
]
|
|
296
296
|
.filter(Boolean)
|
|
297
|
-
.join(
|
|
297
|
+
.join(' ');
|
|
298
298
|
}
|
|
299
299
|
renderSlot(name, className, condition = true) {
|
|
300
300
|
if (!condition) {
|
|
@@ -302,9 +302,9 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
302
302
|
}
|
|
303
303
|
// Determine if this slot has content
|
|
304
304
|
const hasContent = this.getSlotContentState(name);
|
|
305
|
-
const classes = [className, hasContent ?
|
|
305
|
+
const classes = [className, hasContent ? 'has-content' : '']
|
|
306
306
|
.filter(Boolean)
|
|
307
|
-
.join(
|
|
307
|
+
.join(' ');
|
|
308
308
|
return html `
|
|
309
309
|
<div class=${classes} part="slot-${name}" data-panel-slot=${name}>
|
|
310
310
|
<slot name=${name}></slot>
|
|
@@ -313,19 +313,19 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
313
313
|
}
|
|
314
314
|
getSlotContentState(slotName) {
|
|
315
315
|
switch (slotName) {
|
|
316
|
-
case
|
|
316
|
+
case 'header':
|
|
317
317
|
return this.hasHeaderContent;
|
|
318
|
-
case
|
|
318
|
+
case 'header-after':
|
|
319
319
|
return this.hasHeaderAfterContent;
|
|
320
|
-
case
|
|
320
|
+
case 'footer':
|
|
321
321
|
return this.hasFooterContent;
|
|
322
|
-
case
|
|
322
|
+
case 'input-after':
|
|
323
323
|
return this.hasInputAfterContent;
|
|
324
|
-
case
|
|
324
|
+
case 'input':
|
|
325
325
|
return this.hasInputContent;
|
|
326
|
-
case
|
|
326
|
+
case 'input-before':
|
|
327
327
|
return this.hasInputBeforeContent;
|
|
328
|
-
case
|
|
328
|
+
case 'messages':
|
|
329
329
|
return true; // messages slot is always considered to have content
|
|
330
330
|
default:
|
|
331
331
|
return false;
|
|
@@ -344,14 +344,12 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
344
344
|
part="slot-workspace"
|
|
345
345
|
data-panel-slot="workspace"
|
|
346
346
|
role="region"
|
|
347
|
-
aria-label=${this.workspaceAriaLabel}
|
|
348
|
-
>
|
|
347
|
+
aria-label=${this.workspaceAriaLabel}>
|
|
349
348
|
<div
|
|
350
349
|
class=${workspaceState?.contentVisible
|
|
351
|
-
?
|
|
352
|
-
:
|
|
353
|
-
?inert=${!workspaceState?.contentVisible}
|
|
354
|
-
>
|
|
350
|
+
? 'workspace-content'
|
|
351
|
+
: 'workspace-content workspace-content--hidden'}
|
|
352
|
+
?inert=${!workspaceState?.contentVisible}>
|
|
355
353
|
<slot name="workspace"></slot>
|
|
356
354
|
</div>
|
|
357
355
|
</div>
|
|
@@ -364,8 +362,8 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
364
362
|
// When switching from container to panel view, don't animate
|
|
365
363
|
// Only animate when opening from closed state
|
|
366
364
|
const animationOnOpen = this.suppressWorkspacePanelOpenAnimation
|
|
367
|
-
?
|
|
368
|
-
:
|
|
365
|
+
? 'none'
|
|
366
|
+
: 'slide-in-from-bottom';
|
|
369
367
|
return html `
|
|
370
368
|
<cds-custom-aichat-panel
|
|
371
369
|
data-internal-panel
|
|
@@ -376,10 +374,9 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
376
374
|
body-no-padding
|
|
377
375
|
animation-on-open=${animationOnOpen}
|
|
378
376
|
animation-on-close=${this.suppressWorkspacePanelCloseAnimation
|
|
379
|
-
?
|
|
380
|
-
:
|
|
381
|
-
@closeend=${this.handleWorkspacePanelCloseEnd}
|
|
382
|
-
>
|
|
377
|
+
? 'none'
|
|
378
|
+
: 'slide-out-to-bottom'}
|
|
379
|
+
@closeend=${this.handleWorkspacePanelCloseEnd}>
|
|
383
380
|
<div slot="body" class="workspace-slot">
|
|
384
381
|
<slot name="workspace"></slot>
|
|
385
382
|
</div>
|
|
@@ -389,20 +386,20 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
389
386
|
renderHeader() {
|
|
390
387
|
return html `
|
|
391
388
|
<div class="header-with-header-after">
|
|
392
|
-
${this.renderHeaderSlot(
|
|
393
|
-
${this.renderHeaderSlot(
|
|
389
|
+
${this.renderHeaderSlot('header', 'header')}
|
|
390
|
+
${this.renderHeaderSlot('header-after', 'header-after')}
|
|
394
391
|
</div>
|
|
395
392
|
`;
|
|
396
393
|
}
|
|
397
394
|
renderHeaderSlot(name, className) {
|
|
398
|
-
const hasContent = name ===
|
|
395
|
+
const hasContent = name === 'header'
|
|
399
396
|
? this.hasHeaderContent
|
|
400
|
-
: name ===
|
|
397
|
+
: name === 'header-after'
|
|
401
398
|
? this.hasHeaderAfterContent
|
|
402
399
|
: false;
|
|
403
|
-
const classes = [className, hasContent ?
|
|
400
|
+
const classes = [className, hasContent ? 'has-content' : '']
|
|
404
401
|
.filter(Boolean)
|
|
405
|
-
.join(
|
|
402
|
+
.join(' ');
|
|
406
403
|
return html `
|
|
407
404
|
<div class=${classes} part="slot-${name}" data-panel-slot=${name}>
|
|
408
405
|
<slot name=${name}></slot>
|
|
@@ -410,17 +407,16 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
410
407
|
`;
|
|
411
408
|
}
|
|
412
409
|
renderMessagesSection() {
|
|
413
|
-
const maxWidthClass = this.contentMaxWidth ?
|
|
410
|
+
const maxWidthClass = this.contentMaxWidth ? 'messages-max-width' : '';
|
|
414
411
|
return html `
|
|
415
412
|
<div
|
|
416
413
|
class=${this.getInputAndMessagesClasses()}
|
|
417
414
|
role="region"
|
|
418
|
-
aria-label=${this.messagesAriaLabel}
|
|
419
|
-
|
|
420
|
-
${this.renderSlot(
|
|
421
|
-
${this.renderSlot(
|
|
422
|
-
${this.renderSlot(
|
|
423
|
-
${this.renderSlot("input-after", `input-after ${maxWidthClass}`)}
|
|
415
|
+
aria-label=${this.messagesAriaLabel}>
|
|
416
|
+
${this.renderSlot('messages', 'messages')}
|
|
417
|
+
${this.renderSlot('input-before', `input-before ${maxWidthClass}`)}
|
|
418
|
+
${this.renderSlot('input', `input ${maxWidthClass}`)}
|
|
419
|
+
${this.renderSlot('input-after', `input-after ${maxWidthClass}`)}
|
|
424
420
|
</div>
|
|
425
421
|
`;
|
|
426
422
|
}
|
|
@@ -431,9 +427,8 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
431
427
|
return html `<div
|
|
432
428
|
class="history"
|
|
433
429
|
role="region"
|
|
434
|
-
aria-label=${this.historyAriaLabel}
|
|
435
|
-
|
|
436
|
-
${this.renderSlot("history", "history")}
|
|
430
|
+
aria-label=${this.historyAriaLabel}>
|
|
431
|
+
${this.renderSlot('history', 'history')}
|
|
437
432
|
</div>`;
|
|
438
433
|
}
|
|
439
434
|
render() {
|
|
@@ -443,13 +438,11 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
443
438
|
<div
|
|
444
439
|
class="visually-hidden"
|
|
445
440
|
aria-live="polite"
|
|
446
|
-
aria-atomic="true"
|
|
447
|
-
></div>
|
|
441
|
+
aria-atomic="true"></div>
|
|
448
442
|
<div
|
|
449
443
|
class="visually-hidden"
|
|
450
444
|
aria-live="polite"
|
|
451
|
-
aria-atomic="true"
|
|
452
|
-
></div>
|
|
445
|
+
aria-atomic="true"></div>
|
|
453
446
|
<div class="main-chat">
|
|
454
447
|
${this.renderHeader()}
|
|
455
448
|
<div class="main-content">
|
|
@@ -457,7 +450,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
457
450
|
${this.renderHistory()} ${this.renderWorkspaceInline()}
|
|
458
451
|
${this.renderMessagesSection()}
|
|
459
452
|
</div>
|
|
460
|
-
${this.renderSlot(
|
|
453
|
+
${this.renderSlot('footer', 'footer')}
|
|
461
454
|
</div>
|
|
462
455
|
</div>
|
|
463
456
|
<div class="panels open" part="slot-panels">
|
|
@@ -469,7 +462,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
469
462
|
}
|
|
470
463
|
firstUpdated(changedProperties) {
|
|
471
464
|
super.firstUpdated(changedProperties);
|
|
472
|
-
const widgetRoot = this.renderRoot.querySelector(
|
|
465
|
+
const widgetRoot = this.renderRoot.querySelector('.shell');
|
|
473
466
|
if (!widgetRoot) {
|
|
474
467
|
return;
|
|
475
468
|
}
|
|
@@ -484,8 +477,8 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
484
477
|
this.ariaAnnouncerManager.connect(Array.from(ariaLiveRegions));
|
|
485
478
|
}
|
|
486
479
|
// Listen for panel open/close events
|
|
487
|
-
this.addEventListener(
|
|
488
|
-
this.addEventListener(
|
|
480
|
+
this.addEventListener('openend', this.handlePanelOpen);
|
|
481
|
+
this.addEventListener('closeend', this.handlePanelClose);
|
|
489
482
|
// Initialize corner manager
|
|
490
483
|
this.cornerManager = new CornerManager(this._shellSelector, {
|
|
491
484
|
cornerAll: this.cornerAll,
|
|
@@ -514,7 +507,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
514
507
|
this.hasInputAfterContent = state?.hasInputAfterContent || false;
|
|
515
508
|
this.hasInputBeforeContent = state?.hasInputBeforeContent || false;
|
|
516
509
|
// Mark initialization complete
|
|
517
|
-
this.initializationManager?.markStateSet(
|
|
510
|
+
this.initializationManager?.markStateSet('hasSlotContent');
|
|
518
511
|
this.requestUpdate();
|
|
519
512
|
});
|
|
520
513
|
// Initialize resize observer manager
|
|
@@ -522,7 +515,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
522
515
|
// Observe header height
|
|
523
516
|
this.resizeObserverManager.observeHeaderHeight((height) => {
|
|
524
517
|
setVarsForSelector(this._shellSelector, {
|
|
525
|
-
|
|
518
|
+
'--cds-aichat-header-height': `${height}px`,
|
|
526
519
|
});
|
|
527
520
|
});
|
|
528
521
|
// Observe input and messages width
|
|
@@ -533,7 +526,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
533
526
|
}
|
|
534
527
|
}, () => {
|
|
535
528
|
// Initial measurement callback
|
|
536
|
-
this.initializationManager?.markStateSet(
|
|
529
|
+
this.initializationManager?.markStateSet('inputAndMessagesAtMaxWidth');
|
|
537
530
|
});
|
|
538
531
|
// Observe main content body width
|
|
539
532
|
this.resizeObserverManager.observeMainContentBodyWidth(this.showHistory, ({ shouldRenderHistory }) => {
|
|
@@ -553,7 +546,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
553
546
|
}
|
|
554
547
|
}, () => {
|
|
555
548
|
// Initial measurement callback
|
|
556
|
-
this.initializationManager?.markStateSet(
|
|
549
|
+
this.initializationManager?.markStateSet('shouldRenderHistory');
|
|
557
550
|
});
|
|
558
551
|
// Observe CSS properties
|
|
559
552
|
this.resizeObserverManager.observeCssProperties(() => {
|
|
@@ -580,11 +573,11 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
580
573
|
updated(changedProperties) {
|
|
581
574
|
super.updated(changedProperties);
|
|
582
575
|
// Update corner manager when corner properties change
|
|
583
|
-
if (changedProperties.has(
|
|
584
|
-
changedProperties.has(
|
|
585
|
-
changedProperties.has(
|
|
586
|
-
changedProperties.has(
|
|
587
|
-
changedProperties.has(
|
|
576
|
+
if (changedProperties.has('cornerAll') ||
|
|
577
|
+
changedProperties.has('cornerStartStart') ||
|
|
578
|
+
changedProperties.has('cornerStartEnd') ||
|
|
579
|
+
changedProperties.has('cornerEndStart') ||
|
|
580
|
+
changedProperties.has('cornerEndEnd')) {
|
|
588
581
|
this.cornerManager?.updateCorners({
|
|
589
582
|
cornerAll: this.cornerAll,
|
|
590
583
|
cornerStartStart: this.cornerStartStart,
|
|
@@ -594,7 +587,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
594
587
|
});
|
|
595
588
|
}
|
|
596
589
|
// Restart history observer when showHistory changes
|
|
597
|
-
if (changedProperties.has(
|
|
590
|
+
if (changedProperties.has('showHistory')) {
|
|
598
591
|
// Re-observe main content body width with new showHistory value
|
|
599
592
|
this.resizeObserverManager?.observeMainContentBodyWidth(this.showHistory, ({ shouldRenderHistory }) => {
|
|
600
593
|
if (this.shouldRenderHistory !== shouldRenderHistory) {
|
|
@@ -612,14 +605,14 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
612
605
|
});
|
|
613
606
|
}
|
|
614
607
|
// Update workspace manager when relevant properties change
|
|
615
|
-
if (changedProperties.has(
|
|
616
|
-
changedProperties.has(
|
|
617
|
-
changedProperties.has(
|
|
618
|
-
changedProperties.has(
|
|
619
|
-
changedProperties.has(
|
|
620
|
-
changedProperties.has(
|
|
621
|
-
changedProperties.has(
|
|
622
|
-
changedProperties.has(
|
|
608
|
+
if (changedProperties.has('showWorkspace') ||
|
|
609
|
+
changedProperties.has('showHistory') ||
|
|
610
|
+
changedProperties.has('workspaceLocation') ||
|
|
611
|
+
changedProperties.has('cornerAll') ||
|
|
612
|
+
changedProperties.has('cornerStartStart') ||
|
|
613
|
+
changedProperties.has('cornerStartEnd') ||
|
|
614
|
+
changedProperties.has('cornerEndStart') ||
|
|
615
|
+
changedProperties.has('cornerEndEnd')) {
|
|
623
616
|
this.workspaceManager?.updateConfig({
|
|
624
617
|
showWorkspace: this.showWorkspace,
|
|
625
618
|
showHistory: this.showHistory,
|
|
@@ -640,8 +633,8 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
640
633
|
clearSelector(this._shellSelector);
|
|
641
634
|
this.cancelWorkspacePanelOpenSchedule();
|
|
642
635
|
// Clean up event listeners
|
|
643
|
-
this.removeEventListener(
|
|
644
|
-
this.removeEventListener(
|
|
636
|
+
this.removeEventListener('openend', this.handlePanelOpen);
|
|
637
|
+
this.removeEventListener('closeend', this.handlePanelClose);
|
|
645
638
|
super.disconnectedCallback();
|
|
646
639
|
}
|
|
647
640
|
syncWorkspacePanelState() {
|
|
@@ -697,7 +690,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
697
690
|
return;
|
|
698
691
|
}
|
|
699
692
|
this.workspacePanelOpenScheduled = true;
|
|
700
|
-
if (typeof window ===
|
|
693
|
+
if (typeof window === 'undefined') {
|
|
701
694
|
this.workspacePanelOpenScheduled = false;
|
|
702
695
|
this.workspacePanelOpen = true;
|
|
703
696
|
return;
|
|
@@ -717,7 +710,7 @@ let CDSAIChatShell = CDSAIChatShell_1 = class CDSAIChatShell extends LitElement
|
|
|
717
710
|
}
|
|
718
711
|
cancelWorkspacePanelOpenSchedule() {
|
|
719
712
|
if (this.workspacePanelOpenRafId !== null &&
|
|
720
|
-
typeof window !==
|
|
713
|
+
typeof window !== 'undefined') {
|
|
721
714
|
window.cancelAnimationFrame(this.workspacePanelOpenRafId);
|
|
722
715
|
}
|
|
723
716
|
this.workspacePanelOpenRafId = null;
|
|
@@ -729,75 +722,75 @@ CDSAIChatShell.styles = [commonStyles, styles];
|
|
|
729
722
|
* @internal
|
|
730
723
|
*/
|
|
731
724
|
CDSAIChatShell.OBSERVED_SLOTS = [
|
|
732
|
-
{ name:
|
|
733
|
-
{ name:
|
|
734
|
-
{ name:
|
|
735
|
-
{ name:
|
|
736
|
-
{ name:
|
|
737
|
-
{ name:
|
|
725
|
+
{ name: 'header', stateKey: 'hasHeaderContent' },
|
|
726
|
+
{ name: 'header-after', stateKey: 'hasHeaderAfterContent' },
|
|
727
|
+
{ name: 'footer', stateKey: 'hasFooterContent' },
|
|
728
|
+
{ name: 'input-after', stateKey: 'hasInputAfterContent' },
|
|
729
|
+
{ name: 'input', stateKey: 'hasInputContent' },
|
|
730
|
+
{ name: 'input-before', stateKey: 'hasInputBeforeContent' },
|
|
738
731
|
];
|
|
739
732
|
__decorate([
|
|
740
|
-
property({ type: Boolean, attribute:
|
|
733
|
+
property({ type: Boolean, attribute: 'ai-enabled', reflect: true })
|
|
741
734
|
], CDSAIChatShell.prototype, "aiEnabled", void 0);
|
|
742
735
|
__decorate([
|
|
743
|
-
property({ type: Boolean, attribute:
|
|
736
|
+
property({ type: Boolean, attribute: 'show-frame', reflect: true })
|
|
744
737
|
], CDSAIChatShell.prototype, "showFrame", void 0);
|
|
745
738
|
__decorate([
|
|
746
|
-
property({ type: String, attribute:
|
|
739
|
+
property({ type: String, attribute: 'corner-all', reflect: true })
|
|
747
740
|
], CDSAIChatShell.prototype, "cornerAll", void 0);
|
|
748
741
|
__decorate([
|
|
749
|
-
property({ type: String, attribute:
|
|
742
|
+
property({ type: String, attribute: 'corner-start-start', reflect: true })
|
|
750
743
|
], CDSAIChatShell.prototype, "cornerStartStart", void 0);
|
|
751
744
|
__decorate([
|
|
752
|
-
property({ type: String, attribute:
|
|
745
|
+
property({ type: String, attribute: 'corner-start-end', reflect: true })
|
|
753
746
|
], CDSAIChatShell.prototype, "cornerStartEnd", void 0);
|
|
754
747
|
__decorate([
|
|
755
|
-
property({ type: String, attribute:
|
|
748
|
+
property({ type: String, attribute: 'corner-end-start', reflect: true })
|
|
756
749
|
], CDSAIChatShell.prototype, "cornerEndStart", void 0);
|
|
757
750
|
__decorate([
|
|
758
|
-
property({ type: String, attribute:
|
|
751
|
+
property({ type: String, attribute: 'corner-end-end', reflect: true })
|
|
759
752
|
], CDSAIChatShell.prototype, "cornerEndEnd", void 0);
|
|
760
753
|
__decorate([
|
|
761
|
-
property({ type: Boolean, attribute:
|
|
754
|
+
property({ type: Boolean, attribute: 'show-history', reflect: true })
|
|
762
755
|
], CDSAIChatShell.prototype, "showHistory", void 0);
|
|
763
756
|
__decorate([
|
|
764
|
-
property({ type: Boolean, attribute:
|
|
757
|
+
property({ type: Boolean, attribute: 'show-workspace', reflect: true })
|
|
765
758
|
], CDSAIChatShell.prototype, "showWorkspace", void 0);
|
|
766
759
|
__decorate([
|
|
767
|
-
property({ type: String, attribute:
|
|
760
|
+
property({ type: String, attribute: 'workspace-location', reflect: true })
|
|
768
761
|
], CDSAIChatShell.prototype, "workspaceLocation", void 0);
|
|
769
762
|
__decorate([
|
|
770
|
-
property({ type: String, attribute:
|
|
763
|
+
property({ type: String, attribute: 'history-location', reflect: true })
|
|
771
764
|
], CDSAIChatShell.prototype, "historyLocation", void 0);
|
|
772
765
|
__decorate([
|
|
773
|
-
property({ type: String, attribute:
|
|
766
|
+
property({ type: String, attribute: 'workspace-aria-label' })
|
|
774
767
|
], CDSAIChatShell.prototype, "workspaceAriaLabel", void 0);
|
|
775
768
|
__decorate([
|
|
776
|
-
property({ type: String, attribute:
|
|
769
|
+
property({ type: String, attribute: 'history-aria-label' })
|
|
777
770
|
], CDSAIChatShell.prototype, "historyAriaLabel", void 0);
|
|
778
771
|
__decorate([
|
|
779
|
-
property({ type: String, attribute:
|
|
772
|
+
property({ type: String, attribute: 'messages-aria-label' })
|
|
780
773
|
], CDSAIChatShell.prototype, "messagesAriaLabel", void 0);
|
|
781
774
|
__decorate([
|
|
782
|
-
property({ type: String, attribute:
|
|
775
|
+
property({ type: String, attribute: 'panel-opened-announcement' })
|
|
783
776
|
], CDSAIChatShell.prototype, "panelOpenedAnnouncement", void 0);
|
|
784
777
|
__decorate([
|
|
785
|
-
property({ type: String, attribute:
|
|
778
|
+
property({ type: String, attribute: 'panel-closed-announcement' })
|
|
786
779
|
], CDSAIChatShell.prototype, "panelClosedAnnouncement", void 0);
|
|
787
780
|
__decorate([
|
|
788
|
-
property({ type: String, attribute:
|
|
781
|
+
property({ type: String, attribute: 'workspace-opened-announcement' })
|
|
789
782
|
], CDSAIChatShell.prototype, "workspaceOpenedAnnouncement", void 0);
|
|
790
783
|
__decorate([
|
|
791
|
-
property({ type: String, attribute:
|
|
784
|
+
property({ type: String, attribute: 'workspace-closed-announcement' })
|
|
792
785
|
], CDSAIChatShell.prototype, "workspaceClosedAnnouncement", void 0);
|
|
793
786
|
__decorate([
|
|
794
|
-
property({ type: String, attribute:
|
|
787
|
+
property({ type: String, attribute: 'history-shown-announcement' })
|
|
795
788
|
], CDSAIChatShell.prototype, "historyShownAnnouncement", void 0);
|
|
796
789
|
__decorate([
|
|
797
|
-
property({ type: String, attribute:
|
|
790
|
+
property({ type: String, attribute: 'history-hidden-announcement' })
|
|
798
791
|
], CDSAIChatShell.prototype, "historyHiddenAnnouncement", void 0);
|
|
799
792
|
__decorate([
|
|
800
|
-
property({ type: Boolean, attribute:
|
|
793
|
+
property({ type: Boolean, attribute: 'content-max-width', reflect: true })
|
|
801
794
|
], CDSAIChatShell.prototype, "contentMaxWidth", void 0);
|
|
802
795
|
__decorate([
|
|
803
796
|
state()
|