@carbon/ai-chat-components 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1 -1
- package/es/components/code-snippet/src/codemirror/base-setup.js +3 -3
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +1 -1
- package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/editor-manager.js +1 -1
- package/es/components/code-snippet/src/codemirror/language-controller.d.ts +1 -1
- package/es/components/code-snippet/src/codemirror/theme.js +1 -1
- package/es-custom/components/card/index.d.ts +11 -0
- package/es-custom/components/card/index.js +11 -0
- package/es-custom/components/card/index.js.map +1 -0
- package/es-custom/components/card/src/card-footer.d.ts +43 -0
- package/es-custom/components/card/src/card-footer.js +141 -0
- package/es-custom/components/card/src/card-footer.js.map +1 -0
- package/es-custom/components/card/src/card-footer.scss.js +13 -0
- package/es-custom/components/card/src/card-footer.scss.js.map +1 -0
- package/es-custom/components/card/src/card-steps.d.ts +28 -0
- package/es-custom/components/card/src/card-steps.js +91 -0
- package/es-custom/components/card/src/card-steps.js.map +1 -0
- package/es-custom/components/card/src/card-steps.scss.js +13 -0
- package/es-custom/components/card/src/card-steps.scss.js.map +1 -0
- package/es-custom/components/card/src/card.d.ts +27 -0
- package/es-custom/components/card/src/card.js +65 -0
- package/es-custom/components/card/src/card.js.map +1 -0
- package/es-custom/components/card/src/card.scss.js +13 -0
- package/es-custom/components/card/src/card.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/defs.d.ts +54 -0
- package/es-custom/components/chain-of-thought/defs.js +38 -0
- package/es-custom/components/chain-of-thought/defs.js.map +1 -0
- package/es-custom/components/chain-of-thought/index.d.ts +10 -0
- package/es-custom/components/chain-of-thought/index.js +13 -0
- package/es-custom/components/chain-of-thought/index.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +43 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +351 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +33 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +107 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +41 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js +132 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +33 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.js +179 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +1 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js +13 -0
- package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js.map +1 -0
- package/es-custom/components/chat-button/defs.d.ts +25 -0
- package/es-custom/components/chat-button/defs.js +36 -0
- package/es-custom/components/chat-button/defs.js.map +1 -0
- package/es-custom/components/chat-button/index.d.ts +9 -0
- package/es-custom/components/chat-button/index.js +9 -0
- package/es-custom/components/chat-button/index.js.map +1 -0
- package/es-custom/components/chat-button/src/chat-button.d.ts +40 -0
- package/es-custom/components/chat-button/src/chat-button.js +78 -0
- package/es-custom/components/chat-button/src/chat-button.js.map +1 -0
- package/es-custom/components/chat-button/src/chat-button.scss.js +13 -0
- package/es-custom/components/chat-button/src/chat-button.scss.js.map +1 -0
- package/es-custom/components/code-snippet/index.d.ts +3 -0
- package/es-custom/components/code-snippet/index.js +10 -0
- package/es-custom/components/code-snippet/index.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.d.ts +63 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.js +186 -0
- package/es-custom/components/code-snippet/src/code-snippet-card.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet.d.ts +461 -0
- package/es-custom/components/code-snippet/src/code-snippet.js +678 -0
- package/es-custom/components/code-snippet/src/code-snippet.js.map +1 -0
- package/es-custom/components/code-snippet/src/code-snippet.scss.js +13 -0
- package/es-custom/components/code-snippet/src/code-snippet.scss.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.d.ts +12 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js +65 -0
- package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.d.ts +12 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js +36 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +7 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.js +13 -0
- package/es-custom/components/code-snippet/src/codemirror/codemirror-runtime.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/content-sync.d.ts +12 -0
- package/es-custom/components/code-snippet/src/codemirror/content-sync.js +72 -0
- package/es-custom/components/code-snippet/src/codemirror/content-sync.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.d.ts +28 -0
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.js +75 -0
- package/es-custom/components/code-snippet/src/codemirror/editor-manager.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/language-controller.d.ts +38 -0
- package/es-custom/components/code-snippet/src/codemirror/language-controller.js +220 -0
- package/es-custom/components/code-snippet/src/codemirror/language-controller.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/language-data.d.ts +6 -0
- package/es-custom/components/code-snippet/src/codemirror/language-data.js +1043 -0
- package/es-custom/components/code-snippet/src/codemirror/language-data.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/language-utils.d.ts +79 -0
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js +219 -0
- package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.d.ts +123 -0
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.js +183 -0
- package/es-custom/components/code-snippet/src/codemirror/marker-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/codemirror/theme.d.ts +54 -0
- package/es-custom/components/code-snippet/src/codemirror/theme.js +320 -0
- package/es-custom/components/code-snippet/src/codemirror/theme.js.map +1 -0
- package/es-custom/components/code-snippet/src/dom-utils.d.ts +24 -0
- package/es-custom/components/code-snippet/src/dom-utils.js +63 -0
- package/es-custom/components/code-snippet/src/dom-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/formatters.d.ts +4 -0
- package/es-custom/components/code-snippet/src/formatters.js +19 -0
- package/es-custom/components/code-snippet/src/formatters.js.map +1 -0
- package/es-custom/components/code-snippet/src/layout-utils.d.ts +22 -0
- package/es-custom/components/code-snippet/src/layout-utils.js +63 -0
- package/es-custom/components/code-snippet/src/layout-utils.js.map +1 -0
- package/es-custom/components/code-snippet/src/streaming-manager.d.ts +24 -0
- package/es-custom/components/code-snippet/src/streaming-manager.js +120 -0
- package/es-custom/components/code-snippet/src/streaming-manager.js.map +1 -0
- package/es-custom/components/feedback/index.d.ts +4 -0
- package/es-custom/components/feedback/index.js +10 -0
- package/es-custom/components/feedback/index.js.map +1 -0
- package/es-custom/components/feedback/src/feedback-buttons.d.ts +63 -0
- package/es-custom/components/feedback/src/feedback-buttons.js +113 -0
- package/es-custom/components/feedback/src/feedback-buttons.js.map +1 -0
- package/es-custom/components/feedback/src/feedback-buttons.scss.js +13 -0
- package/es-custom/components/feedback/src/feedback-buttons.scss.js.map +1 -0
- package/es-custom/components/feedback/src/feedback-buttons.template.d.ts +4 -0
- package/es-custom/components/feedback/src/feedback-buttons.template.js +79 -0
- package/es-custom/components/feedback/src/feedback-buttons.template.js.map +1 -0
- package/es-custom/components/feedback/src/feedback.d.ts +113 -0
- package/es-custom/components/feedback/src/feedback.js +195 -0
- package/es-custom/components/feedback/src/feedback.js.map +1 -0
- package/es-custom/components/feedback/src/feedback.scss.js +13 -0
- package/es-custom/components/feedback/src/feedback.scss.js.map +1 -0
- package/es-custom/components/feedback/src/feedback.template.d.ts +12 -0
- package/es-custom/components/feedback/src/feedback.template.js +115 -0
- package/es-custom/components/feedback/src/feedback.template.js.map +1 -0
- package/es-custom/components/markdown/index.d.ts +2 -0
- package/es-custom/components/markdown/index.js +9 -0
- package/es-custom/components/markdown/index.js.map +1 -0
- package/es-custom/components/markdown/src/markdown-renderer.d.ts +66 -0
- package/es-custom/components/markdown/src/markdown-renderer.js +359 -0
- package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -0
- package/es-custom/components/markdown/src/markdown-token-tree.d.ts +32 -0
- package/es-custom/components/markdown/src/markdown-token-tree.js +180 -0
- package/es-custom/components/markdown/src/markdown-token-tree.js.map +1 -0
- package/es-custom/components/markdown/src/markdown.d.ts +72 -0
- package/es-custom/components/markdown/src/markdown.js +342 -0
- package/es-custom/components/markdown/src/markdown.js.map +1 -0
- package/es-custom/components/markdown/src/markdown.scss.js +13 -0
- package/es-custom/components/markdown/src/markdown.scss.js.map +1 -0
- package/es-custom/components/markdown/src/markdown.template.d.ts +6 -0
- package/es-custom/components/markdown/src/markdown.template.js +29 -0
- package/es-custom/components/markdown/src/markdown.template.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.d.ts +7 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js +84 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.d.ts +7 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js +59 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.d.ts +12 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +73 -0
- package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/core.d.ts +26 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/core.js +330 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/core.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.d.ts +6 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js +63 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.d.ts +6 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +43 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/code.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/index.d.ts +5 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/index.js +55 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/index.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.d.ts +19 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +210 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.d.ts +13 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +156 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.d.ts +13 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +216 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/types.d.ts +34 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/types.js +8 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/types.js.map +1 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/utils.d.ts +25 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/utils.js +62 -0
- package/es-custom/components/markdown/src/plugins/markdownItAttrs/utils.js.map +1 -0
- package/es-custom/components/markdown/src/utils/html-helpers.d.ts +2 -0
- package/es-custom/components/markdown/src/utils/html-helpers.js +204 -0
- package/es-custom/components/markdown/src/utils/html-helpers.js.map +1 -0
- package/es-custom/components/markdown/src/utils/table-helpers.d.ts +31 -0
- package/es-custom/components/markdown/src/utils/table-helpers.js +106 -0
- package/es-custom/components/markdown/src/utils/table-helpers.js.map +1 -0
- package/es-custom/components/markdown/src/utils.d.ts +8 -0
- package/es-custom/components/markdown/src/utils.js +31 -0
- package/es-custom/components/markdown/src/utils.js.map +1 -0
- package/es-custom/components/processing/index.d.ts +1 -0
- package/es-custom/components/processing/index.js +9 -0
- package/es-custom/components/processing/index.js.map +1 -0
- package/es-custom/components/processing/src/processing.d.ts +16 -0
- package/es-custom/components/processing/src/processing.js +59 -0
- package/es-custom/components/processing/src/processing.js.map +1 -0
- package/es-custom/components/processing/src/processing.scss.js +13 -0
- package/es-custom/components/processing/src/processing.scss.js.map +1 -0
- package/es-custom/components/reasoning-steps/index.d.ts +4 -0
- package/es-custom/components/reasoning-steps/index.js +11 -0
- package/es-custom/components/reasoning-steps/index.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +33 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +251 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js +13 -0
- package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +36 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +81 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +13 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.d.ts +3 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.js +43 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.template.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +19 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js +112 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +1 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js +13 -0
- package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js.map +1 -0
- package/es-custom/components/table/index.d.ts +3 -0
- package/es-custom/components/table/index.js +9 -0
- package/es-custom/components/table/index.js.map +1 -0
- package/es-custom/components/table/src/table-loader.d.ts +4 -0
- package/es-custom/components/table/src/table-loader.js +28 -0
- package/es-custom/components/table/src/table-loader.js.map +1 -0
- package/es-custom/components/table/src/table-pagination.template.d.ts +27 -0
- package/es-custom/components/table/src/table-pagination.template.js +55 -0
- package/es-custom/components/table/src/table-pagination.template.js.map +1 -0
- package/es-custom/components/table/src/table-runtime.d.ts +2 -0
- package/es-custom/components/table/src/table-runtime.js +10 -0
- package/es-custom/components/table/src/table-runtime.js.map +1 -0
- package/es-custom/components/table/src/table-skeleton.template.d.ts +6 -0
- package/es-custom/components/table/src/table-skeleton.template.js +34 -0
- package/es-custom/components/table/src/table-skeleton.template.js.map +1 -0
- package/es-custom/components/table/src/table.d.ts +184 -0
- package/es-custom/components/table/src/table.js +543 -0
- package/es-custom/components/table/src/table.js.map +1 -0
- package/es-custom/components/table/src/table.scss.js +13 -0
- package/es-custom/components/table/src/table.scss.js.map +1 -0
- package/es-custom/components/table/src/table.template.d.ts +10 -0
- package/es-custom/components/table/src/table.template.js +89 -0
- package/es-custom/components/table/src/table.template.js.map +1 -0
- package/es-custom/components/table/src/types.d.ts +13 -0
- package/es-custom/components/table/src/types.js +8 -0
- package/es-custom/components/table/src/types.js.map +1 -0
- package/es-custom/components/toolbar/index.d.ts +1 -0
- package/es-custom/components/toolbar/index.js +9 -0
- package/es-custom/components/toolbar/index.js.map +1 -0
- package/es-custom/components/toolbar/src/toolbar.d.ts +38 -0
- package/es-custom/components/toolbar/src/toolbar.js +191 -0
- package/es-custom/components/toolbar/src/toolbar.js.map +1 -0
- package/es-custom/components/toolbar/src/toolbar.scss.js +13 -0
- package/es-custom/components/toolbar/src/toolbar.scss.js.map +1 -0
- package/es-custom/components/workspace-shell/index.d.ts +4 -0
- package/es-custom/components/workspace-shell/index.js +12 -0
- package/es-custom/components/workspace-shell/index.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +17 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js +50 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +40 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +144 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +13 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +28 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js +78 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +13 -0
- package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +19 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.js +56 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.js.map +1 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +13 -0
- package/es-custom/components/workspace-shell/src/workspace-shell.scss.js.map +1 -0
- package/es-custom/globals/decorators/carbon-element.d.ts +37 -0
- package/es-custom/globals/decorators/carbon-element.js +68 -0
- package/es-custom/globals/decorators/carbon-element.js.map +1 -0
- package/es-custom/globals/decorators/index.d.ts +1 -0
- package/es-custom/globals/decorators/index.js +9 -0
- package/es-custom/globals/decorators/index.js.map +1 -0
- package/es-custom/globals/settings.d.ts +2 -0
- package/es-custom/globals/settings.js +20 -0
- package/es-custom/globals/settings.js.map +1 -0
- package/es-custom/globals/utils/uuid.d.ts +5 -0
- package/es-custom/globals/utils/uuid.js +32 -0
- package/es-custom/globals/utils/uuid.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
- package/es-custom/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
- package/es-custom/react/ai-label.d.ts +4 -0
- package/es-custom/react/ai-label.js +28 -0
- package/es-custom/react/ai-label.js.map +1 -0
- package/es-custom/react/button.d.ts +6 -0
- package/es-custom/react/button.js +29 -0
- package/es-custom/react/button.js.map +1 -0
- package/es-custom/react/card.d.ts +9 -0
- package/es-custom/react/card.js +43 -0
- package/es-custom/react/card.js.map +1 -0
- package/es-custom/react/chain-of-thought-step.d.ts +4 -0
- package/es-custom/react/chain-of-thought-step.js +32 -0
- package/es-custom/react/chain-of-thought-step.js.map +1 -0
- package/es-custom/react/chain-of-thought-toggle.d.ts +6 -0
- package/es-custom/react/chain-of-thought-toggle.js +31 -0
- package/es-custom/react/chain-of-thought-toggle.js.map +1 -0
- package/es-custom/react/chain-of-thought.d.ts +7 -0
- package/es-custom/react/chain-of-thought.js +33 -0
- package/es-custom/react/chain-of-thought.js.map +1 -0
- package/es-custom/react/chat-button.d.ts +13 -0
- package/es-custom/react/chat-button.js +30 -0
- package/es-custom/react/chat-button.js.map +1 -0
- package/es-custom/react/code-snippet-card.d.ts +4 -0
- package/es-custom/react/code-snippet-card.js +31 -0
- package/es-custom/react/code-snippet-card.js.map +1 -0
- package/es-custom/react/code-snippet.d.ts +4 -0
- package/es-custom/react/code-snippet.js +31 -0
- package/es-custom/react/code-snippet.js.map +1 -0
- package/es-custom/react/content-switcher.d.ts +7 -0
- package/es-custom/react/content-switcher.js +37 -0
- package/es-custom/react/content-switcher.js.map +1 -0
- package/es-custom/react/feedback-buttons.d.ts +4 -0
- package/es-custom/react/feedback-buttons.js +31 -0
- package/es-custom/react/feedback-buttons.js.map +1 -0
- package/es-custom/react/feedback.d.ts +6 -0
- package/es-custom/react/feedback.js +32 -0
- package/es-custom/react/feedback.js.map +1 -0
- package/es-custom/react/icon-button.d.ts +4 -0
- package/es-custom/react/icon-button.js +28 -0
- package/es-custom/react/icon-button.js.map +1 -0
- package/es-custom/react/icon.d.ts +4 -0
- package/es-custom/react/icon.js +28 -0
- package/es-custom/react/icon.js.map +1 -0
- package/es-custom/react/inline-notification.d.ts +4 -0
- package/es-custom/react/inline-notification.js +28 -0
- package/es-custom/react/inline-notification.js.map +1 -0
- package/es-custom/react/markdown.d.ts +4 -0
- package/es-custom/react/markdown.js +28 -0
- package/es-custom/react/markdown.js.map +1 -0
- package/es-custom/react/overflow-menu.d.ts +9 -0
- package/es-custom/react/overflow-menu.js +40 -0
- package/es-custom/react/overflow-menu.js.map +1 -0
- package/es-custom/react/processing.d.ts +4 -0
- package/es-custom/react/processing.js +28 -0
- package/es-custom/react/processing.js.map +1 -0
- package/es-custom/react/reasoning-step.d.ts +4 -0
- package/es-custom/react/reasoning-step.js +32 -0
- package/es-custom/react/reasoning-step.js.map +1 -0
- package/es-custom/react/reasoning-steps-toggle.d.ts +6 -0
- package/es-custom/react/reasoning-steps-toggle.js +31 -0
- package/es-custom/react/reasoning-steps-toggle.js.map +1 -0
- package/es-custom/react/reasoning-steps.d.ts +4 -0
- package/es-custom/react/reasoning-steps.js +28 -0
- package/es-custom/react/reasoning-steps.js.map +1 -0
- package/es-custom/react/tag.d.ts +4 -0
- package/es-custom/react/tag.js +28 -0
- package/es-custom/react/tag.js.map +1 -0
- package/es-custom/react/tile.d.ts +7 -0
- package/es-custom/react/tile.js +34 -0
- package/es-custom/react/tile.js.map +1 -0
- package/es-custom/react/tool-call-data.d.ts +4 -0
- package/es-custom/react/tool-call-data.js +28 -0
- package/es-custom/react/tool-call-data.js.map +1 -0
- package/es-custom/react/toolbar.d.ts +4 -0
- package/es-custom/react/toolbar.js +28 -0
- package/es-custom/react/toolbar.js.map +1 -0
- package/es-custom/react/utils/withWebComponentBridge.d.ts +15 -0
- package/es-custom/react/utils/withWebComponentBridge.js +95 -0
- package/es-custom/react/utils/withWebComponentBridge.js.map +1 -0
- package/es-custom/react/workspace-shell.d.ts +11 -0
- package/es-custom/react/workspace-shell.js +49 -0
- package/es-custom/react/workspace-shell.js.map +1 -0
- package/es-custom/testing/load-all-lazy-deps.d.ts +10 -0
- package/es-custom/testing/load-all-lazy-deps.js +30 -0
- package/es-custom/testing/load-all-lazy-deps.js.map +1 -0
- package/package.json +8 -6
- package/dist/16-C9Ph5740.js +0 -91
- package/dist/16-Dw0Ci4Fd.js +0 -91
- package/dist/16-FH37w-8T.js +0 -91
- package/dist/apl-ugs9-gp6.js +0 -91
- package/dist/asciiarmor-BsIYfA6P.js +0 -91
- package/dist/asn1-HkF5z2_O.js +0 -91
- package/dist/asterisk-CAIjKZq6.js +0 -91
- package/dist/button-Bc3tNCYN.js +0 -157
- package/dist/button-skeleton-DH50p4bH.js +0 -131
- package/dist/carbon-element-C38isbCs.js +0 -91
- package/dist/card.min.js +0 -193
- package/dist/chain-of-thought.min.js +0 -294
- package/dist/chat-button.min.js +0 -107
- package/dist/checkbox-skeleton-CS3inOnf.js +0 -166
- package/dist/class-map-BE4cOc2X.js +0 -128
- package/dist/clike-BIFB3b_k.js +0 -91
- package/dist/clojure-CXNiCqqB.js +0 -91
- package/dist/cmake-CR9NkLsk.js +0 -91
- package/dist/cobol-Ck90O_9v.js +0 -91
- package/dist/code-snippet.min.js +0 -91
- package/dist/codemirror-runtime-D8qZsrKE.js +0 -173
- package/dist/coffeescript-C0nvD2I-.js +0 -91
- package/dist/collection-helpers-BqatNkHh.js +0 -91
- package/dist/commonlisp-BROP4IME.js +0 -91
- package/dist/crystal-D6K96_U-.js +0 -91
- package/dist/css-CdH_tvvW.js +0 -91
- package/dist/cypher-CtHiEXsa.js +0 -91
- package/dist/d-Dcs18F9P.js +0 -91
- package/dist/diff-Bp64yuxL.js +0 -91
- package/dist/dockerfile-1DOwDLks.js +0 -91
- package/dist/dtd-DBKuh-AW.js +0 -91
- package/dist/dylan-ZUYgifRI.js +0 -91
- package/dist/ebnf-CEelJcGq.js +0 -91
- package/dist/ecl-CphVX9Cq.js +0 -91
- package/dist/eiffel-BQPneqZH.js +0 -91
- package/dist/elm-DSPAgqOt.js +0 -91
- package/dist/erlang-D_rMo9WA.js +0 -91
- package/dist/factor-CMTQjKbR.js +0 -91
- package/dist/fcl-BX3Rw6-t.js +0 -91
- package/dist/feedback.min.js +0 -281
- package/dist/forth-BGhjMNd3.js +0 -91
- package/dist/fortran-AEBjaYMh.js +0 -91
- package/dist/gas-DZXAjJGb.js +0 -91
- package/dist/gherkin-DxJx7fVg.js +0 -91
- package/dist/groovy-dfLbXlDy.js +0 -91
- package/dist/haskell-DyZ9y283.js +0 -91
- package/dist/haxe-D47ScCJn.js +0 -91
- package/dist/http-CQ5YdFwi.js +0 -91
- package/dist/icon-button-jLtiwRb4.js +0 -143
- package/dist/icon-loader-BKTEuybf.js +0 -101
- package/dist/idl-DMLd56tu.js +0 -91
- package/dist/if-defined-Dk7gHH6I.js +0 -96
- package/dist/index--CctdwCC.js +0 -91
- package/dist/index--ktPsmev.js +0 -168
- package/dist/index-BHiWR-3B.js +0 -91
- package/dist/index-BI8bnAEd.js +0 -91
- package/dist/index-BbGF94cg.js +0 -91
- package/dist/index-BnQBLEPx.js +0 -91
- package/dist/index-BsUuLdXD.js +0 -91
- package/dist/index-C2xfmTPp.js +0 -91
- package/dist/index-C3BN0MYy.js +0 -91
- package/dist/index-CD4di8Cf.js +0 -91
- package/dist/index-CVyUt3LQ.js +0 -91
- package/dist/index-Cg7m4sg1.js +0 -91
- package/dist/index-ClimwzxW.js +0 -91
- package/dist/index-CrevYuI-.js +0 -91
- package/dist/index-D5kcnwm2.js +0 -91
- package/dist/index-DCbIO0Hl.js +0 -91
- package/dist/index-Db-BDibx.js +0 -91
- package/dist/index-DmpHBiKi.js +0 -91
- package/dist/index-DzPjFlOn.js +0 -91
- package/dist/index-MgVf_8OP.js +0 -91
- package/dist/index-WHfhssUV.js +0 -91
- package/dist/index-rdaURAlB.js +0 -91
- package/dist/index-tFrMu4B_.js +0 -278
- package/dist/index-yLnmvqXN.js +0 -91
- package/dist/javascript-CB_5CYW7.js +0 -91
- package/dist/julia-DmOIk9mc.js +0 -91
- package/dist/livescript-BkgLC0lL.js +0 -91
- package/dist/loading-icon-CmnM4I_H.js +0 -106
- package/dist/lua-CWM_r9JC.js +0 -91
- package/dist/markdown.min.js +0 -298
- package/dist/mathematica-BSatVfC1.js +0 -91
- package/dist/mbox-4am1R8hd.js +0 -91
- package/dist/mirc-pdtTGW9l.js +0 -91
- package/dist/mllike-C0YFsE1U.js +0 -91
- package/dist/modelica-DVTWSHR-.js +0 -91
- package/dist/mscgen-ByAgrjGx.js +0 -91
- package/dist/mumps-X97p0_h_.js +0 -91
- package/dist/nginx-CqUadVPT.js +0 -91
- package/dist/nsis-Urp7BrWk.js +0 -91
- package/dist/ntriples-CToxeTsT.js +0 -91
- package/dist/octave-Dc4mpp8A.js +0 -91
- package/dist/oz-DX2Pk_mI.js +0 -91
- package/dist/pascal-B9GL_nqz.js +0 -91
- package/dist/perl-BvZFpXKD.js +0 -91
- package/dist/pig-BxFxDHBk.js +0 -91
- package/dist/powershell-CwCLRM7O.js +0 -91
- package/dist/processing.min.js +0 -105
- package/dist/properties-3nFD-Vnh.js +0 -91
- package/dist/protobuf-RqEyuWlw.js +0 -91
- package/dist/pug-1L6dEUb3.js +0 -91
- package/dist/puppet-C-gxR1ON.js +0 -91
- package/dist/python-BSbm1-vO.js +0 -91
- package/dist/q-4yAbTbi2.js +0 -91
- package/dist/r-BxfoMXlJ.js +0 -91
- package/dist/reasoning-steps.min.js +0 -202
- package/dist/rpm-DOp6MTEb.js +0 -91
- package/dist/ruby-DD6QCAKT.js +0 -91
- package/dist/sas-Cb-4sFOe.js +0 -91
- package/dist/scheme-CZsCl8E_.js +0 -91
- package/dist/settings-e2aItLYn.js +0 -99
- package/dist/shell-Bba6ETw_.js +0 -91
- package/dist/sieve-DZz1QovM.js +0 -91
- package/dist/simple-mode-DAyX7kcU.js +0 -91
- package/dist/smalltalk-BVigbKw-.js +0 -91
- package/dist/solr-BRh8QRgo.js +0 -91
- package/dist/sparql-DPq9GGqu.js +0 -91
- package/dist/spreadsheet-DWXWohNi.js +0 -91
- package/dist/sql-HgNux1Fi.js +0 -91
- package/dist/state-Bv4FM_9B.js +0 -96
- package/dist/stex-DB306cTl.js +0 -91
- package/dist/stylus-BVbE3BhF.js +0 -91
- package/dist/swift-k2z0otOi.js +0 -91
- package/dist/sync-D3qEZKNY.js +0 -91
- package/dist/table-runtime-Q-ak_IZE.js +0 -510
- package/dist/table.min.js +0 -91
- package/dist/tcl-BJwoeXra.js +0 -91
- package/dist/text-input-BlCqTf_p.js +0 -158
- package/dist/textile-9DAvWy-Y.js +0 -91
- package/dist/throttle-Bst9TagJ.js +0 -91
- package/dist/tiddlywiki-CDJdAycW.js +0 -91
- package/dist/tiki-Dlg5DFIR.js +0 -91
- package/dist/toml-DGqt7oU6.js +0 -91
- package/dist/toolbar.min.js +0 -178
- package/dist/troff-xJv1Y_X_.js +0 -91
- package/dist/ttcn-cfg-CrKiCUlI.js +0 -91
- package/dist/ttcn-dBogkyiy.js +0 -91
- package/dist/turtle-qtDt5E0f.js +0 -91
- package/dist/vb-h5NatM2n.js +0 -91
- package/dist/vbscript-BnXXn72l.js +0 -91
- package/dist/velocity-C_ZqzMiT.js +0 -91
- package/dist/verilog-s8oM517K.js +0 -91
- package/dist/vhdl-BgZd0MBH.js +0 -91
- package/dist/webidl-CDRn4bGa.js +0 -91
- package/dist/workspace-shell.min.js +0 -157
- package/dist/xquery-DTfjYCD7.js +0 -91
- package/dist/yacas-DxV9-gAO.js +0 -91
- package/dist/z80-PFwavMao.js +0 -91
- package/es/node_modules/@codemirror/autocomplete/dist/index.js +0 -258
- package/es/node_modules/@codemirror/autocomplete/dist/index.js.map +0 -1
- package/es/node_modules/@codemirror/commands/dist/index.js +0 -1140
- package/es/node_modules/@codemirror/commands/dist/index.js.map +0 -1
- package/es/node_modules/@codemirror/lint/dist/index.js +0 -636
- package/es/node_modules/@codemirror/lint/dist/index.js.map +0 -1
- package/es/node_modules/@lezer/common/dist/index.js +0 -253
- package/es/node_modules/@lezer/common/dist/index.js.map +0 -1
- package/es/node_modules/crelt/index.js +0 -37
- package/es/node_modules/crelt/index.js.map +0 -1
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { type LineCountFormatter } from "./formatters.js";
|
|
3
|
+
import "@carbon/web-components/es-custom/components/skeleton-text/index.js";
|
|
4
|
+
import "@carbon/web-components/es-custom/components/copy-button/index.js";
|
|
5
|
+
import "@carbon/web-components/es-custom/components/copy/copy.js";
|
|
6
|
+
import "@carbon/web-components/es-custom/components/button/button.js";
|
|
7
|
+
declare const CDSAIChatCodeSnippet_base: (new (...args: any[]) => {
|
|
8
|
+
focus(): void;
|
|
9
|
+
accessKey: string;
|
|
10
|
+
readonly accessKeyLabel: string;
|
|
11
|
+
autocapitalize: string;
|
|
12
|
+
dir: string;
|
|
13
|
+
draggable: boolean;
|
|
14
|
+
hidden: boolean;
|
|
15
|
+
inert: boolean;
|
|
16
|
+
innerText: string;
|
|
17
|
+
lang: string;
|
|
18
|
+
readonly offsetHeight: number;
|
|
19
|
+
readonly offsetLeft: number;
|
|
20
|
+
readonly offsetParent: Element | null;
|
|
21
|
+
readonly offsetTop: number;
|
|
22
|
+
readonly offsetWidth: number;
|
|
23
|
+
outerText: string;
|
|
24
|
+
popover: string | null;
|
|
25
|
+
spellcheck: boolean;
|
|
26
|
+
title: string;
|
|
27
|
+
translate: boolean;
|
|
28
|
+
writingSuggestions: string;
|
|
29
|
+
attachInternals(): ElementInternals;
|
|
30
|
+
click(): void;
|
|
31
|
+
hidePopover(): void;
|
|
32
|
+
showPopover(): void;
|
|
33
|
+
togglePopover(force?: boolean): boolean;
|
|
34
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
36
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
37
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
38
|
+
readonly attributes: NamedNodeMap;
|
|
39
|
+
readonly classList: DOMTokenList;
|
|
40
|
+
className: string;
|
|
41
|
+
readonly clientHeight: number;
|
|
42
|
+
readonly clientLeft: number;
|
|
43
|
+
readonly clientTop: number;
|
|
44
|
+
readonly clientWidth: number;
|
|
45
|
+
readonly currentCSSZoom: number;
|
|
46
|
+
id: string;
|
|
47
|
+
innerHTML: string;
|
|
48
|
+
readonly localName: string;
|
|
49
|
+
readonly namespaceURI: string | null;
|
|
50
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
51
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
52
|
+
outerHTML: string;
|
|
53
|
+
readonly ownerDocument: Document;
|
|
54
|
+
readonly part: DOMTokenList;
|
|
55
|
+
readonly prefix: string | null;
|
|
56
|
+
readonly scrollHeight: number;
|
|
57
|
+
scrollLeft: number;
|
|
58
|
+
scrollTop: number;
|
|
59
|
+
readonly scrollWidth: number;
|
|
60
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
61
|
+
slot: string;
|
|
62
|
+
readonly tagName: string;
|
|
63
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
64
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
65
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
66
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
67
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
68
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
69
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
70
|
+
getAttribute(qualifiedName: string): string | null;
|
|
71
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
72
|
+
getAttributeNames(): string[];
|
|
73
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
74
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
75
|
+
getBoundingClientRect(): DOMRect;
|
|
76
|
+
getClientRects(): DOMRectList;
|
|
77
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
78
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
79
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
80
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
81
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
82
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
83
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
84
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
85
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
86
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
87
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
88
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
89
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
90
|
+
hasAttributes(): boolean;
|
|
91
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
92
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
93
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
94
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
95
|
+
matches(selectors: string): boolean;
|
|
96
|
+
releasePointerCapture(pointerId: number): void;
|
|
97
|
+
removeAttribute(qualifiedName: string): void;
|
|
98
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
99
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
100
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
101
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
102
|
+
scroll(options?: ScrollToOptions): void;
|
|
103
|
+
scroll(x: number, y: number): void;
|
|
104
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
105
|
+
scrollBy(x: number, y: number): void;
|
|
106
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
107
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
108
|
+
scrollTo(x: number, y: number): void;
|
|
109
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
110
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
111
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
112
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
113
|
+
setHTMLUnsafe(html: string): void;
|
|
114
|
+
setPointerCapture(pointerId: number): void;
|
|
115
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
116
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
117
|
+
readonly baseURI: string;
|
|
118
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
119
|
+
readonly firstChild: ChildNode | null;
|
|
120
|
+
readonly isConnected: boolean;
|
|
121
|
+
readonly lastChild: ChildNode | null;
|
|
122
|
+
readonly nextSibling: ChildNode | null;
|
|
123
|
+
readonly nodeName: string;
|
|
124
|
+
readonly nodeType: number;
|
|
125
|
+
nodeValue: string | null;
|
|
126
|
+
readonly parentElement: HTMLElement | null;
|
|
127
|
+
readonly parentNode: ParentNode | null;
|
|
128
|
+
readonly previousSibling: ChildNode | null;
|
|
129
|
+
textContent: string | null;
|
|
130
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
131
|
+
cloneNode(deep?: boolean): Node;
|
|
132
|
+
compareDocumentPosition(other: Node): number;
|
|
133
|
+
contains(other: Node | null): boolean;
|
|
134
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
135
|
+
hasChildNodes(): boolean;
|
|
136
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
137
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
138
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
139
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
140
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
141
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
142
|
+
normalize(): void;
|
|
143
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
144
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
145
|
+
readonly ELEMENT_NODE: 1;
|
|
146
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
147
|
+
readonly TEXT_NODE: 3;
|
|
148
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
149
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
150
|
+
readonly ENTITY_NODE: 6;
|
|
151
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
152
|
+
readonly COMMENT_NODE: 8;
|
|
153
|
+
readonly DOCUMENT_NODE: 9;
|
|
154
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
155
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
156
|
+
readonly NOTATION_NODE: 12;
|
|
157
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
158
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
159
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
160
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
161
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
162
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
163
|
+
dispatchEvent(event: Event): boolean;
|
|
164
|
+
ariaAtomic: string | null;
|
|
165
|
+
ariaAutoComplete: string | null;
|
|
166
|
+
ariaBrailleLabel: string | null;
|
|
167
|
+
ariaBrailleRoleDescription: string | null;
|
|
168
|
+
ariaBusy: string | null;
|
|
169
|
+
ariaChecked: string | null;
|
|
170
|
+
ariaColCount: string | null;
|
|
171
|
+
ariaColIndex: string | null;
|
|
172
|
+
ariaColIndexText: string | null;
|
|
173
|
+
ariaColSpan: string | null;
|
|
174
|
+
ariaCurrent: string | null;
|
|
175
|
+
ariaDescription: string | null;
|
|
176
|
+
ariaDisabled: string | null;
|
|
177
|
+
ariaExpanded: string | null;
|
|
178
|
+
ariaHasPopup: string | null;
|
|
179
|
+
ariaHidden: string | null;
|
|
180
|
+
ariaInvalid: string | null;
|
|
181
|
+
ariaKeyShortcuts: string | null;
|
|
182
|
+
ariaLabel: string | null;
|
|
183
|
+
ariaLevel: string | null;
|
|
184
|
+
ariaLive: string | null;
|
|
185
|
+
ariaModal: string | null;
|
|
186
|
+
ariaMultiLine: string | null;
|
|
187
|
+
ariaMultiSelectable: string | null;
|
|
188
|
+
ariaOrientation: string | null;
|
|
189
|
+
ariaPlaceholder: string | null;
|
|
190
|
+
ariaPosInSet: string | null;
|
|
191
|
+
ariaPressed: string | null;
|
|
192
|
+
ariaReadOnly: string | null;
|
|
193
|
+
ariaRequired: string | null;
|
|
194
|
+
ariaRoleDescription: string | null;
|
|
195
|
+
ariaRowCount: string | null;
|
|
196
|
+
ariaRowIndex: string | null;
|
|
197
|
+
ariaRowIndexText: string | null;
|
|
198
|
+
ariaRowSpan: string | null;
|
|
199
|
+
ariaSelected: string | null;
|
|
200
|
+
ariaSetSize: string | null;
|
|
201
|
+
ariaSort: string | null;
|
|
202
|
+
ariaValueMax: string | null;
|
|
203
|
+
ariaValueMin: string | null;
|
|
204
|
+
ariaValueNow: string | null;
|
|
205
|
+
ariaValueText: string | null;
|
|
206
|
+
role: string | null;
|
|
207
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
208
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
209
|
+
after(...nodes: (Node | string)[]): void;
|
|
210
|
+
before(...nodes: (Node | string)[]): void;
|
|
211
|
+
remove(): void;
|
|
212
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
213
|
+
readonly nextElementSibling: Element | null;
|
|
214
|
+
readonly previousElementSibling: Element | null;
|
|
215
|
+
readonly childElementCount: number;
|
|
216
|
+
readonly children: HTMLCollection;
|
|
217
|
+
readonly firstElementChild: Element | null;
|
|
218
|
+
readonly lastElementChild: Element | null;
|
|
219
|
+
append(...nodes: (Node | string)[]): void;
|
|
220
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
221
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
222
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
223
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
224
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
225
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
226
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
227
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
228
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
229
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
230
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
231
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
232
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
233
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
234
|
+
readonly style: CSSStyleDeclaration;
|
|
235
|
+
contentEditable: string;
|
|
236
|
+
enterKeyHint: string;
|
|
237
|
+
inputMode: string;
|
|
238
|
+
readonly isContentEditable: boolean;
|
|
239
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
240
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
241
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
242
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
243
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
244
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
245
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
246
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
247
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
248
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
249
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
252
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
253
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
256
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
258
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
260
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
261
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
262
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
263
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
264
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
265
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
266
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
267
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
268
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
onerror: OnErrorEventHandler;
|
|
272
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
273
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
274
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
275
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
278
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
279
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
280
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
285
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
286
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
287
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
288
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
289
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
290
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
291
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
292
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
293
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
297
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
301
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
305
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
308
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
311
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
319
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
323
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
324
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
325
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
326
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
327
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
328
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
329
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
330
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
337
|
+
autofocus: boolean;
|
|
338
|
+
readonly dataset: DOMStringMap;
|
|
339
|
+
nonce?: string;
|
|
340
|
+
tabIndex: number;
|
|
341
|
+
blur(): void;
|
|
342
|
+
}) & typeof LitElement;
|
|
343
|
+
/**
|
|
344
|
+
* AI Chat code snippet orchestrator that keeps CodeMirror in sync with streamed slot content,
|
|
345
|
+
* automatically detects and loads language highlighting, and optionally exposes an editable surface
|
|
346
|
+
* with live language re-detection and change notifications.
|
|
347
|
+
*/
|
|
348
|
+
declare class CDSAIChatCodeSnippet extends CDSAIChatCodeSnippet_base {
|
|
349
|
+
static styles: any[];
|
|
350
|
+
/** Language used for syntax highlighting. */
|
|
351
|
+
language: string;
|
|
352
|
+
/** Whether the snippet should be editable. */
|
|
353
|
+
editable: boolean;
|
|
354
|
+
/** Whether to enable syntax highlighting. */
|
|
355
|
+
highlight: boolean;
|
|
356
|
+
/** Fallback language to use when detection fails. */
|
|
357
|
+
defaultLanguage: string;
|
|
358
|
+
/** Text to copy when clicking the copy button. Defaults to slotted content. */
|
|
359
|
+
copyText: string;
|
|
360
|
+
/** Disable interactions on the snippet. */
|
|
361
|
+
disabled: boolean;
|
|
362
|
+
/** Feedback text shown after copy. */
|
|
363
|
+
feedback: string;
|
|
364
|
+
/** Duration (ms) to show feedback text. */
|
|
365
|
+
feedbackTimeout: number;
|
|
366
|
+
/** Hide the copy button. */
|
|
367
|
+
hideCopyButton: boolean;
|
|
368
|
+
/** Maximum rows to show when collapsed. */
|
|
369
|
+
maxCollapsedNumberOfRows: number;
|
|
370
|
+
/** Maximum rows to show when expanded (0 = unlimited). */
|
|
371
|
+
maxExpandedNumberOfRows: number;
|
|
372
|
+
/** Minimum rows to show when collapsed. */
|
|
373
|
+
minCollapsedNumberOfRows: number;
|
|
374
|
+
/** Minimum rows to show when expanded. */
|
|
375
|
+
minExpandedNumberOfRows: number;
|
|
376
|
+
/** Label for the “show less” control. */
|
|
377
|
+
showLessText: string;
|
|
378
|
+
/** Label for the “show more” control. */
|
|
379
|
+
showMoreText: string;
|
|
380
|
+
/** Tooltip label for the copy action. */
|
|
381
|
+
tooltipContent: string;
|
|
382
|
+
/** Wrap text instead of horizontal scrolling. */
|
|
383
|
+
wrapText: boolean;
|
|
384
|
+
/** Label for folding/collapsing code. */
|
|
385
|
+
foldCollapseLabel: string;
|
|
386
|
+
/** Label for unfolding/expanding code. */
|
|
387
|
+
foldExpandLabel: string;
|
|
388
|
+
/**
|
|
389
|
+
* The function used to format the line count text.
|
|
390
|
+
* Receives the line count and returns a formatted string.
|
|
391
|
+
* Defaults to `${count} lines` in en-US.
|
|
392
|
+
*/
|
|
393
|
+
getLineCountText: LineCountFormatter;
|
|
394
|
+
constructor();
|
|
395
|
+
private _applyLanguageState;
|
|
396
|
+
/**
|
|
397
|
+
* Copies the visible snippet so downstream chat experiences can share code without exposing the editor internals.
|
|
398
|
+
*/
|
|
399
|
+
private _handleCopyClick;
|
|
400
|
+
/**
|
|
401
|
+
* Toggles the expanded state so long snippets can collapse inside chat tiles while still offering full visibility on demand.
|
|
402
|
+
*/
|
|
403
|
+
private _handleClickExpanded;
|
|
404
|
+
private ensureCodeMirrorRuntime;
|
|
405
|
+
/**
|
|
406
|
+
* Tears down the CodeMirror view when the component is destroyed to avoid leaking editors between chat messages.
|
|
407
|
+
*/
|
|
408
|
+
private destroyEditor;
|
|
409
|
+
/**
|
|
410
|
+
* Synchronizes CodeMirror with the latest props and streamed slot content while minimizing unnecessary re-creation work and only appending diffs when possible.
|
|
411
|
+
*/
|
|
412
|
+
private updateEditor;
|
|
413
|
+
/**
|
|
414
|
+
* Builds the CodeMirror instance that powers the formatted snippet surface inside the chat response tile.
|
|
415
|
+
*/
|
|
416
|
+
private createEditor;
|
|
417
|
+
/**
|
|
418
|
+
* Calculates the inline styles for the snippet container based on expanded state and min/max row constraints.
|
|
419
|
+
*/
|
|
420
|
+
private _getContainerStyles;
|
|
421
|
+
/**
|
|
422
|
+
* Shows or hides the expand button so the chat message can adapt to long snippets without overwhelming the layout.
|
|
423
|
+
*/
|
|
424
|
+
private _checkShowMoreButton;
|
|
425
|
+
private renderEditorFallback;
|
|
426
|
+
/**
|
|
427
|
+
* Wires up resize and content observers so the snippet reacts to streaming updates and layout changes as soon as it attaches.
|
|
428
|
+
*/
|
|
429
|
+
connectedCallback(): void;
|
|
430
|
+
/**
|
|
431
|
+
* Hooks into the rendered slot once Lit has stamped the template so we can observe streaming updates.
|
|
432
|
+
*/
|
|
433
|
+
protected firstUpdated(): void;
|
|
434
|
+
/**
|
|
435
|
+
* Ensures we capture any pre-rendered slot content before the initial paint, keeping the editor in sync from the first frame.
|
|
436
|
+
*/
|
|
437
|
+
willUpdate(_changedProperties: Map<string, any>): void;
|
|
438
|
+
/**
|
|
439
|
+
* Responds to slot churn caused by streaming tokens emitted from the chat pipeline, forcing a full rescan when the slot re-projects.
|
|
440
|
+
*/
|
|
441
|
+
private _handleSlotChange;
|
|
442
|
+
/**
|
|
443
|
+
* Cleans up observers, throttles, and the editor when the chat snippet unmounts.
|
|
444
|
+
*/
|
|
445
|
+
disconnectedCallback(): void;
|
|
446
|
+
/**
|
|
447
|
+
* Drives incremental editor updates after Lit commits.
|
|
448
|
+
*/
|
|
449
|
+
updated(changedProperties: Map<string, any>): void;
|
|
450
|
+
/**
|
|
451
|
+
* Renders the CodeMirror host along with the controls that make the chat snippet interactive and accessible.
|
|
452
|
+
*/
|
|
453
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
454
|
+
}
|
|
455
|
+
declare global {
|
|
456
|
+
interface HTMLElementTagNameMap {
|
|
457
|
+
"cds-aichat-code-snippet": CDSAIChatCodeSnippet;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
export { CDSAIChatCodeSnippet };
|
|
461
|
+
export default CDSAIChatCodeSnippet;
|