@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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import './src/history-shell';
|
|
2
|
+
import './src/history-header';
|
|
3
|
+
import './src/history-toolbar';
|
|
4
|
+
import './src/history-content';
|
|
5
|
+
import './src/history-loading';
|
|
6
|
+
import './src/history-delete-panel';
|
|
7
|
+
import './src/history-panel';
|
|
8
|
+
import './src/history-panel-menu';
|
|
9
|
+
import './src/history-panel-item';
|
|
10
|
+
import './src/history-panel-items';
|
|
11
|
+
import './src/history-search-item';
|
|
@@ -32,16 +32,16 @@ let CDSAIChatHistoryContent = class CDSAIChatHistoryContent extends LitElement {
|
|
|
32
32
|
/**
|
|
33
33
|
* Sets default slot value to content
|
|
34
34
|
*/
|
|
35
|
-
this.slot =
|
|
35
|
+
this.slot = 'content';
|
|
36
36
|
/**
|
|
37
37
|
* Label to display before the results count
|
|
38
38
|
*/
|
|
39
|
-
this.resultsLabel =
|
|
39
|
+
this.resultsLabel = 'Results';
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const shouldDisplay = this.resultsCount !== undefined &&
|
|
43
43
|
this.resultsCount !== null &&
|
|
44
|
-
this.resultsCount !==
|
|
44
|
+
this.resultsCount !== '';
|
|
45
45
|
const displayText = shouldDisplay && this.resultsLabel
|
|
46
46
|
? `${this.resultsLabel}: ${this.resultsCount}`
|
|
47
47
|
: this.resultsCount;
|
|
@@ -51,7 +51,7 @@ let CDSAIChatHistoryContent = class CDSAIChatHistoryContent extends LitElement {
|
|
|
51
51
|
? html `<span class="${prefix}--history-content__results-count">
|
|
52
52
|
${displayText}
|
|
53
53
|
</span>`
|
|
54
|
-
:
|
|
54
|
+
: ''}
|
|
55
55
|
</div>
|
|
56
56
|
<slot></slot>
|
|
57
57
|
`;
|
|
@@ -62,10 +62,10 @@ __decorate([
|
|
|
62
62
|
property({ type: String, reflect: true })
|
|
63
63
|
], CDSAIChatHistoryContent.prototype, "slot", void 0);
|
|
64
64
|
__decorate([
|
|
65
|
-
property({ type: String, attribute:
|
|
65
|
+
property({ type: String, attribute: 'results-label' })
|
|
66
66
|
], CDSAIChatHistoryContent.prototype, "resultsLabel", void 0);
|
|
67
67
|
__decorate([
|
|
68
|
-
property({ type: String, attribute:
|
|
68
|
+
property({ type: String, attribute: 'results-count' })
|
|
69
69
|
], CDSAIChatHistoryContent.prototype, "resultsCount", void 0);
|
|
70
70
|
CDSAIChatHistoryContent = __decorate([
|
|
71
71
|
carbonElement(`${prefix}-history-content`)
|
|
@@ -32,17 +32,17 @@ import styles from './chat-history.scss.js';
|
|
|
32
32
|
let CDSAIChatHistoryDeletePanel = class CDSAIChatHistoryDeletePanel extends LitElement {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments);
|
|
35
|
-
this.cancelText =
|
|
36
|
-
this.deleteText =
|
|
35
|
+
this.cancelText = 'Cancel';
|
|
36
|
+
this.deleteText = 'Delete';
|
|
37
37
|
/**
|
|
38
38
|
* Id of the chat item being deleted.
|
|
39
39
|
*/
|
|
40
|
-
this.itemId =
|
|
40
|
+
this.itemId = '';
|
|
41
41
|
/**
|
|
42
42
|
* Handles cancel button click event
|
|
43
43
|
*/
|
|
44
44
|
this._handleCancelClick = () => {
|
|
45
|
-
this.dispatchEvent(new CustomEvent(
|
|
45
|
+
this.dispatchEvent(new CustomEvent('history-delete-cancel', {
|
|
46
46
|
bubbles: true,
|
|
47
47
|
composed: true,
|
|
48
48
|
}));
|
|
@@ -54,7 +54,7 @@ let CDSAIChatHistoryDeletePanel = class CDSAIChatHistoryDeletePanel extends LitE
|
|
|
54
54
|
const focusDetail = this.itemId.length > 0
|
|
55
55
|
? this._getFocusDetailForDeletedItem(this.itemId)
|
|
56
56
|
: {};
|
|
57
|
-
this.dispatchEvent(new CustomEvent(
|
|
57
|
+
this.dispatchEvent(new CustomEvent('history-delete-confirm', {
|
|
58
58
|
bubbles: true,
|
|
59
59
|
composed: true,
|
|
60
60
|
detail: {
|
|
@@ -81,7 +81,7 @@ let CDSAIChatHistoryDeletePanel = class CDSAIChatHistoryDeletePanel extends LitE
|
|
|
81
81
|
const next = nodes[index + 1] ?? (index > 0 ? nodes[index - 1] : undefined);
|
|
82
82
|
const nextId = next?.id;
|
|
83
83
|
nextItemId =
|
|
84
|
-
typeof nextId ===
|
|
84
|
+
typeof nextId === 'string' && nextId.length > 0 ? nextId : undefined;
|
|
85
85
|
}
|
|
86
86
|
return {
|
|
87
87
|
itemId,
|
|
@@ -92,7 +92,7 @@ let CDSAIChatHistoryDeletePanel = class CDSAIChatHistoryDeletePanel extends LitE
|
|
|
92
92
|
// auto focus on delete button when delete panel first renders.
|
|
93
93
|
async firstUpdated() {
|
|
94
94
|
await this.updateComplete;
|
|
95
|
-
this._deleteButton?.shadowRoot?.querySelector(
|
|
95
|
+
this._deleteButton?.shadowRoot?.querySelector('button').focus();
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
const { cancelText, deleteText, _handleCancelClick: handleCancelClick, _handleDeleteClick: handleDeleteClick, } = this;
|
|
@@ -113,7 +113,7 @@ let CDSAIChatHistoryDeletePanel = class CDSAIChatHistoryDeletePanel extends LitE
|
|
|
113
113
|
>
|
|
114
114
|
<cds-custom-aichat-button size="sm" kind="danger" @click=${handleDeleteClick}
|
|
115
115
|
>${deleteText}
|
|
116
|
-
${iconLoader(TrashCan16, { slot:
|
|
116
|
+
${iconLoader(TrashCan16, { slot: 'icon' })}</cds-custom-aichat-button
|
|
117
117
|
>
|
|
118
118
|
</div>
|
|
119
119
|
</div>
|
|
@@ -122,13 +122,13 @@ let CDSAIChatHistoryDeletePanel = class CDSAIChatHistoryDeletePanel extends LitE
|
|
|
122
122
|
};
|
|
123
123
|
CDSAIChatHistoryDeletePanel.styles = styles;
|
|
124
124
|
__decorate([
|
|
125
|
-
property({ type: String, attribute:
|
|
125
|
+
property({ type: String, attribute: 'cancel-text', reflect: true })
|
|
126
126
|
], CDSAIChatHistoryDeletePanel.prototype, "cancelText", void 0);
|
|
127
127
|
__decorate([
|
|
128
|
-
property({ type: String, attribute:
|
|
128
|
+
property({ type: String, attribute: 'delete-text', reflect: true })
|
|
129
129
|
], CDSAIChatHistoryDeletePanel.prototype, "deleteText", void 0);
|
|
130
130
|
__decorate([
|
|
131
|
-
property({ type: String, attribute:
|
|
131
|
+
property({ type: String, attribute: 'item-id', reflect: true })
|
|
132
132
|
], CDSAIChatHistoryDeletePanel.prototype, "itemId", void 0);
|
|
133
133
|
__decorate([
|
|
134
134
|
query('cds-custom-aichat-button[kind="danger"]')
|
|
@@ -35,15 +35,15 @@ let CDSAIChatHistoryHeader = class CDSAIChatHistoryHeader extends LitElement {
|
|
|
35
35
|
/**
|
|
36
36
|
* Sets default slot value to header
|
|
37
37
|
*/
|
|
38
|
-
this.slot =
|
|
38
|
+
this.slot = 'header';
|
|
39
39
|
/**
|
|
40
40
|
* Header title
|
|
41
41
|
*/
|
|
42
|
-
this.headerTitle =
|
|
42
|
+
this.headerTitle = 'Chats';
|
|
43
43
|
/**
|
|
44
44
|
* Label for close chat history button.
|
|
45
45
|
*/
|
|
46
|
-
this.closeButtonLabel =
|
|
46
|
+
this.closeButtonLabel = 'Close chat history';
|
|
47
47
|
/**
|
|
48
48
|
* Render close chat history panel button
|
|
49
49
|
*/
|
|
@@ -52,7 +52,7 @@ let CDSAIChatHistoryHeader = class CDSAIChatHistoryHeader extends LitElement {
|
|
|
52
52
|
* Handles close button click event
|
|
53
53
|
*/
|
|
54
54
|
this._handleCloseButtonClick = () => {
|
|
55
|
-
this.dispatchEvent(new CustomEvent(
|
|
55
|
+
this.dispatchEvent(new CustomEvent('history-header-close-click', {
|
|
56
56
|
bubbles: true,
|
|
57
57
|
composed: true,
|
|
58
58
|
}));
|
|
@@ -66,9 +66,8 @@ let CDSAIChatHistoryHeader = class CDSAIChatHistoryHeader extends LitElement {
|
|
|
66
66
|
class="${prefix}--history-header__close-button"
|
|
67
67
|
kind="ghost"
|
|
68
68
|
align="right"
|
|
69
|
-
@click=${handleCloseButtonClick}
|
|
70
|
-
|
|
71
|
-
${iconLoader(ChevronLeft16, { slot: "icon" })}
|
|
69
|
+
@click=${handleCloseButtonClick}>
|
|
70
|
+
${iconLoader(ChevronLeft16, { slot: 'icon' })}
|
|
72
71
|
<span slot="tooltip-content">${closeButtonLabel}</span>
|
|
73
72
|
</cds-custom-icon-button>`
|
|
74
73
|
: nothing}
|
|
@@ -81,13 +80,13 @@ __decorate([
|
|
|
81
80
|
property({ type: String, reflect: true })
|
|
82
81
|
], CDSAIChatHistoryHeader.prototype, "slot", void 0);
|
|
83
82
|
__decorate([
|
|
84
|
-
property({ type: String, reflect: true, attribute:
|
|
83
|
+
property({ type: String, reflect: true, attribute: 'header-title' })
|
|
85
84
|
], CDSAIChatHistoryHeader.prototype, "headerTitle", void 0);
|
|
86
85
|
__decorate([
|
|
87
|
-
property({ type: String, attribute:
|
|
86
|
+
property({ type: String, attribute: 'close-button-label' })
|
|
88
87
|
], CDSAIChatHistoryHeader.prototype, "closeButtonLabel", void 0);
|
|
89
88
|
__decorate([
|
|
90
|
-
property({ type: Boolean, attribute:
|
|
89
|
+
property({ type: Boolean, attribute: 'show-close-action', reflect: true })
|
|
91
90
|
], CDSAIChatHistoryHeader.prototype, "showCloseAction", void 0);
|
|
92
91
|
CDSAIChatHistoryHeader = __decorate([
|
|
93
92
|
carbonElement(`${prefix}-history-header`)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history-header.js","sources":["../../../../src/components/chat-history/src/history-header.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAYH;;;;;AAKG;AAEH,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,UAAU,CAAA;AAA/C,IAAA,WAAA,GAAA;;AACE;;AAEG;QAEH,IAAA,CAAA,IAAI,GAAG,QAAQ;AAEf;;AAEG;QAEH,IAAA,CAAA,WAAW,GAAG,OAAO;AAErB;;AAEG;QAEH,IAAA,CAAA,gBAAgB,GAAG,oBAAoB;AAEvC;;AAEG;QAEH,IAAA,CAAA,eAAe,GAAG,KAAK;AAEvB;;AAEG;QACH,IAAA,CAAA,uBAAuB,GAAG,MAAK;AAC7B,YAAA,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,4BAA4B,EAAE;AAC5C,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA,CAAC,CACH;AACH,QAAA,CAAC;
|
|
1
|
+
{"version":3,"file":"history-header.js","sources":["../../../../src/components/chat-history/src/history-header.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAYH;;;;;AAKG;AAEH,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,UAAU,CAAA;AAA/C,IAAA,WAAA,GAAA;;AACE;;AAEG;QAEH,IAAA,CAAA,IAAI,GAAG,QAAQ;AAEf;;AAEG;QAEH,IAAA,CAAA,WAAW,GAAG,OAAO;AAErB;;AAEG;QAEH,IAAA,CAAA,gBAAgB,GAAG,oBAAoB;AAEvC;;AAEG;QAEH,IAAA,CAAA,eAAe,GAAG,KAAK;AAEvB;;AAEG;QACH,IAAA,CAAA,uBAAuB,GAAG,MAAK;AAC7B,YAAA,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,4BAA4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iBAAA,EAAA,MAAA,CAAA;AAvBpB,sBAAsB,GAAA,UAAA,CAAA;AAD3B,IAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,eAAA,CAAiB;AACnC,CAAA,EAAA,sBAAsB,CA+D3B;AAGD,+BAAe,sBAAsB;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LitElement } from
|
|
2
|
-
import
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@carbon/web-components/es-custom/components/skeleton-text/skeleton-text.js';
|
|
3
3
|
/**
|
|
4
4
|
* Chat History loading state.
|
|
5
5
|
*
|
|
@@ -33,7 +33,7 @@ let CDSAIChatHistoryLoading = class CDSAIChatHistoryLoading extends LitElement {
|
|
|
33
33
|
/**
|
|
34
34
|
* Sets default slot value to content
|
|
35
35
|
*/
|
|
36
|
-
this.slot =
|
|
36
|
+
this.slot = 'content';
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return html ` <div class="${prefix}--history-loading__results">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LitElement } from
|
|
2
|
-
type TooltipAlignment =
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
type TooltipAlignment = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
|
|
3
3
|
declare const CDSAIChatHistoryPanelItemInput_base: {
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
_handles: Set<import("@carbon/web-components/es-custom/globals/internal/handle.js").default>;
|
|
@@ -46,11 +46,11 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
46
46
|
/**
|
|
47
47
|
* Label for cancel button
|
|
48
48
|
*/
|
|
49
|
-
this.cancelLabel =
|
|
49
|
+
this.cancelLabel = 'Cancel';
|
|
50
50
|
/**
|
|
51
51
|
* label for save button
|
|
52
52
|
*/
|
|
53
|
-
this.saveLabel =
|
|
53
|
+
this.saveLabel = 'Save';
|
|
54
54
|
/**
|
|
55
55
|
* `true` if the input is in an invalid state.
|
|
56
56
|
*/
|
|
@@ -58,7 +58,7 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
58
58
|
/**
|
|
59
59
|
* Error message text to display when the input is invalid.
|
|
60
60
|
*/
|
|
61
|
-
this.invalidMessage =
|
|
61
|
+
this.invalidMessage = '';
|
|
62
62
|
/**
|
|
63
63
|
* Flag to track if an action has been triggered to prevent focusout from executing an additional action
|
|
64
64
|
*/
|
|
@@ -70,16 +70,16 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
70
70
|
/**
|
|
71
71
|
* Initial value of the input
|
|
72
72
|
*/
|
|
73
|
-
this._initialValue =
|
|
73
|
+
this._initialValue = '';
|
|
74
74
|
/**
|
|
75
75
|
* Handler for rename action button clicks
|
|
76
76
|
*/
|
|
77
77
|
this._handleActionButtonClick = (event) => {
|
|
78
78
|
const target = event.currentTarget;
|
|
79
|
-
if (target.className ===
|
|
79
|
+
if (target.className === 'rename-action--cancel') {
|
|
80
80
|
this._handleCancel();
|
|
81
81
|
}
|
|
82
|
-
else if (target.className ===
|
|
82
|
+
else if (target.className === 'rename-action--save') {
|
|
83
83
|
this._handleSave();
|
|
84
84
|
}
|
|
85
85
|
};
|
|
@@ -90,10 +90,10 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
90
90
|
*/
|
|
91
91
|
this._handleKeydown = (event) => {
|
|
92
92
|
switch (event.key) {
|
|
93
|
-
case
|
|
93
|
+
case 'Escape':
|
|
94
94
|
this._handleCancel();
|
|
95
95
|
break;
|
|
96
|
-
case
|
|
96
|
+
case 'Enter':
|
|
97
97
|
if (this._canSave) {
|
|
98
98
|
this._handleSave();
|
|
99
99
|
}
|
|
@@ -109,7 +109,7 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
109
109
|
* * @param event The event.
|
|
110
110
|
*/
|
|
111
111
|
this._handleActionButtonKeyDown = (event) => {
|
|
112
|
-
if (event.key ===
|
|
112
|
+
if (event.key === 'Enter') {
|
|
113
113
|
event.preventDefault();
|
|
114
114
|
this._handleActionButtonClick(event);
|
|
115
115
|
}
|
|
@@ -132,7 +132,7 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
132
132
|
_handleInput({ target }) {
|
|
133
133
|
this.value = target.value;
|
|
134
134
|
this._valueChanged = this.value !== this._initialValue;
|
|
135
|
-
const inputChangeEvent = new CustomEvent(
|
|
135
|
+
const inputChangeEvent = new CustomEvent('history-panel-item-input-change', {
|
|
136
136
|
bubbles: true,
|
|
137
137
|
composed: true,
|
|
138
138
|
detail: {
|
|
@@ -151,7 +151,7 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
151
151
|
bubbles: true,
|
|
152
152
|
composed: true,
|
|
153
153
|
};
|
|
154
|
-
const inputCancelEvent = new CustomEvent(
|
|
154
|
+
const inputCancelEvent = new CustomEvent('history-panel-item-input-cancel', init);
|
|
155
155
|
this.dispatchEvent(inputCancelEvent);
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
@@ -167,7 +167,7 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
167
167
|
itemId: this.itemId,
|
|
168
168
|
},
|
|
169
169
|
};
|
|
170
|
-
const inputSaveEvent = new CustomEvent(
|
|
170
|
+
const inputSaveEvent = new CustomEvent('history-panel-item-input-save', init);
|
|
171
171
|
this.dispatchEvent(inputSaveEvent);
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
@@ -192,7 +192,7 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
192
192
|
connectedCallback() {
|
|
193
193
|
super.connectedCallback();
|
|
194
194
|
this._initialValue = this.value;
|
|
195
|
-
this.tooltipAlignment = this.tooltipAlignment ??
|
|
195
|
+
this.tooltipAlignment = this.tooltipAlignment ?? 'top';
|
|
196
196
|
}
|
|
197
197
|
firstUpdated() {
|
|
198
198
|
if (this.input) {
|
|
@@ -214,19 +214,18 @@ let CDSAIChatHistoryPanelItemInput = class CDSAIChatHistoryPanelItemInput extend
|
|
|
214
214
|
<input type="text" placeholder="${placeholder}" value="${value}" @input="${handleInput}" @keydown=${handleKeydown} aria-label="${labelText}" ?data-invalid=${invalid}></input>
|
|
215
215
|
<div class="${prefix}--history-panel-item--rename__actions">
|
|
216
216
|
<cds-custom-icon-button class="rename-action--cancel" align="${tooltipAlignment}" size="sm" kind="ghost" @click=${handleActionButtonClick} @keydown=${handleActionButtonKeyDown}>
|
|
217
|
-
${iconLoader(Close16, { slot:
|
|
217
|
+
${iconLoader(Close16, { slot: 'icon' })}
|
|
218
218
|
<span slot="tooltip-content">${cancelLabel}</span>
|
|
219
219
|
</cds-custom-icon-button>
|
|
220
220
|
<cds-custom-icon-button class="rename-action--save" align="${tooltipAlignment}" size="sm" kind="ghost" @click=${handleActionButtonClick} @keydown=${handleActionButtonKeyDown} ?disabled=${!canSave}>
|
|
221
|
-
${iconLoader(Checkmark16, { slot:
|
|
221
|
+
${iconLoader(Checkmark16, { slot: 'icon' })}
|
|
222
222
|
<span slot="tooltip-content">${saveLabel}</span>
|
|
223
223
|
</cds-custom-icon-button>
|
|
224
224
|
</div>
|
|
225
225
|
</div>
|
|
226
226
|
${invalid && invalidMessage
|
|
227
227
|
? html `<div
|
|
228
|
-
class="${prefix}--history-panel-item-input__invalid-message-container"
|
|
229
|
-
>
|
|
228
|
+
class="${prefix}--history-panel-item-input__invalid-message-container">
|
|
230
229
|
<div class="${prefix}__invalid-message-text">
|
|
231
230
|
${invalidMessage}
|
|
232
231
|
</div>
|
|
@@ -258,19 +257,19 @@ __decorate([
|
|
|
258
257
|
property()
|
|
259
258
|
], CDSAIChatHistoryPanelItemInput.prototype, "placeholder", void 0);
|
|
260
259
|
__decorate([
|
|
261
|
-
property({ type: Boolean, attribute:
|
|
260
|
+
property({ type: Boolean, attribute: 'invalid' })
|
|
262
261
|
], CDSAIChatHistoryPanelItemInput.prototype, "invalid", void 0);
|
|
263
262
|
__decorate([
|
|
264
|
-
property({ type: String, attribute:
|
|
263
|
+
property({ type: String, attribute: 'invalid-message' })
|
|
265
264
|
], CDSAIChatHistoryPanelItemInput.prototype, "invalidMessage", void 0);
|
|
266
265
|
__decorate([
|
|
267
|
-
property({ type: String, attribute:
|
|
266
|
+
property({ type: String, attribute: 'item-id' })
|
|
268
267
|
], CDSAIChatHistoryPanelItemInput.prototype, "itemId", void 0);
|
|
269
268
|
__decorate([
|
|
270
|
-
query(
|
|
269
|
+
query('input')
|
|
271
270
|
], CDSAIChatHistoryPanelItemInput.prototype, "input", void 0);
|
|
272
271
|
__decorate([
|
|
273
|
-
HostListener(
|
|
272
|
+
HostListener('focusout')
|
|
274
273
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20071
|
|
275
274
|
// @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to
|
|
276
275
|
], CDSAIChatHistoryPanelItemInput.prototype, "_handleFocusOut", null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history-panel-item-input.js","sources":["../../../../src/components/chat-history/src/history-panel-item-input.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AA4BH;;;;;;;;;;;AAWG;AAEH,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,iBAAiB,CAC5D,UAAU,CAAC,UAAU,CAAC,CACvB,CAAA;AAFD,IAAA,WAAA,GAAA;;AAGE;;AAEG;QAEH,IAAA,CAAA,WAAW,GAAG,QAAQ;AAQtB;;AAEG;QAEH,IAAA,CAAA,SAAS,GAAG,MAAM;AAoBlB;;AAEG;QAEH,IAAA,CAAA,OAAO,GAAG,KAAK;AAEf;;AAEG;QAEH,IAAA,CAAA,cAAc,GAAG,EAAE;AAUnB;;AAEG;QACK,IAAA,CAAA,gBAAgB,GAAG,KAAK;AAEhC;;AAEG;QACK,IAAA,CAAA,aAAa,GAAG,KAAK;AAE7B;;AAEG;QACK,IAAA,CAAA,aAAa,GAAG,EAAE;AAuE1B;;AAEG;AACK,QAAA,IAAA,CAAA,wBAAwB,GAAG,CAAC,KAAY,KAAI;AAClD,YAAA,MAAM,MAAM,GAAG,KAAK,CAAC,aAA4B;AACjD,YAAA,IAAI,MAAM,CAAC,SAAS,KAAK,uBAAuB,EAAE;gBAChD,IAAI,CAAC,aAAa,EAAE;YACtB;AAAO,iBAAA,IAAI,MAAM,CAAC,SAAS,KAAK,qBAAqB,EAAE;gBACrD,IAAI,CAAC,WAAW,EAAE;YACpB;AACF,QAAA,CAAC;AAED;;;;AAIG;AACK,QAAA,IAAA,CAAA,cAAc,GAAG,CAAC,KAAoB,KAAI;AAChD,YAAA,QAAQ,KAAK,CAAC,GAAG;AACf,gBAAA,KAAK,QAAQ;oBACX,IAAI,CAAC,aAAa,EAAE;oBACpB;AACF,gBAAA,KAAK,OAAO;AACV,oBAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;wBACjB,IAAI,CAAC,WAAW,EAAE;oBACpB;yBAAO;wBACL,IAAI,CAAC,aAAa,EAAE;oBACtB;oBACA;;AAIN,QAAA,CAAC;AAED;;;;AAIG;AACK,QAAA,IAAA,CAAA,0BAA0B,GAAG,CAAC,KAAoB,KAAI;AAC5D,YAAA,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE;gBACzB,KAAK,CAAC,cAAc,EAAE;AACtB,gBAAA,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC;YACtC;AACF,QAAA,CAAC;
|
|
1
|
+
{"version":3,"file":"history-panel-item-input.js","sources":["../../../../src/components/chat-history/src/history-panel-item-input.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;A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C,CAAA,EAAG,MAAM,CAAA,yBAAA,CAA2B;AAC7C,CAAA,EAAA,8BAA8B,CAwRnC;AAGD,uCAAe,8BAA8B;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LitElement } from
|
|
2
|
-
import
|
|
3
|
-
import { CarbonIcon } from
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import './history-panel-item-input.js';
|
|
3
|
+
import { CarbonIcon } from '@carbon/web-components/es-custom/globals/internal/icon-loader-utils.js';
|
|
4
|
+
import '@carbon/web-components/es-custom/components/overflow-menu/index.js';
|
|
5
|
+
import '@carbon/web-components/es-custom/components/icon-button/index.js';
|
|
6
6
|
export interface Action {
|
|
7
7
|
text: string;
|
|
8
8
|
delete?: boolean;
|