@carbon/ai-chat-components 0.5.0 → 0.6.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/custom-elements.json +9201 -295
- package/dist/16-dhcD1XnN.js +91 -0
- package/dist/apl-DqFn9Cbk.js +91 -0
- package/dist/asciiarmor-CQVR_D9L.js +91 -0
- package/dist/asn1-Bdl290ll.js +91 -0
- package/dist/asterisk-CHhwduFx.js +91 -0
- package/dist/button-C7jiyqgq.js +157 -0
- package/dist/button-skeleton-CmP7IJd9.js +116 -0
- package/dist/carbon-element-Bx5dT_rO.js +91 -0
- package/dist/carbon-element-GZbOyRvd.js +91 -0
- package/dist/chain-of-thought.min.js +276 -0
- package/dist/chat-button.min.js +71 -81
- package/dist/checkbox-skeleton-DwliWSxe.js +166 -0
- package/dist/class-map-C991A_SZ.js +106 -0
- package/dist/clike-D_BRCCKx.js +91 -0
- package/dist/clojure-DJgQfSNr.js +91 -0
- package/dist/cmake-B-ZvYGPj.js +91 -0
- package/dist/cobol-DQkSt8H4.js +91 -0
- package/dist/code-snippet.min.js +91 -0
- package/dist/codemirror-runtime-BNdgITbn.js +173 -0
- package/dist/coffeescript-BLbmGaLw.js +91 -0
- package/dist/collection-helpers-CFQuvZZA.js +91 -0
- package/dist/commonlisp-C9udfub_.js +91 -0
- package/dist/crystal-Cx264mZy.js +91 -0
- package/dist/css-C3wBe_UD.js +91 -0
- package/dist/custom-element-Cn0sJQhF.js +96 -0
- package/dist/cypher-B6v9gzB5.js +91 -0
- package/dist/d-TP3OUaM_.js +91 -0
- package/dist/diff-Y92SrBOy.js +91 -0
- package/dist/dockerfile-b9e_zbYe.js +91 -0
- package/dist/dtd-CyzcM_UR.js +91 -0
- package/dist/dylan-CLgWKLaP.js +91 -0
- package/dist/ebnf-Cj21Kqae.js +91 -0
- package/dist/ecl-BcwtDAaq.js +91 -0
- package/dist/eiffel-Dgs2eMt8.js +91 -0
- package/dist/elm-Lz8luKdH.js +91 -0
- package/dist/erlang-M1-xYwsL.js +91 -0
- package/dist/factor-DMuLpKP7.js +91 -0
- package/dist/fcl-6D51jO4g.js +91 -0
- package/dist/feedback.min.js +300 -0
- package/dist/forth-C50AZvgy.js +91 -0
- package/dist/fortran-Dpu0QrPi.js +91 -0
- package/dist/gas-B9QnMcpy.js +91 -0
- package/dist/gherkin-DTyHG7By.js +91 -0
- package/dist/groovy-C5hIRvZS.js +91 -0
- package/dist/haskell-riE-Rg6U.js +91 -0
- package/dist/haxe-BKi5Bt6T.js +91 -0
- package/dist/http-CCf5f1Lw.js +91 -0
- package/dist/icon-button-slcp5_YI.js +143 -0
- package/dist/icon-loader-B470ctm0.js +101 -0
- package/dist/idl-ChujC8hT.js +91 -0
- package/dist/if-defined-KYZWA80L.js +96 -0
- package/dist/index-BE2hQiYV.js +91 -0
- package/dist/index-BJSu7ZrY.js +91 -0
- package/dist/index-BNCWBho3.js +91 -0
- package/dist/index-Bo9Cedlp.js +91 -0
- package/dist/index-BtGjzzQh.js +91 -0
- package/dist/index-BvcTcg8N.js +91 -0
- package/dist/index-CL7jwlI7.js +91 -0
- package/dist/index-CPho0oBg.js +91 -0
- package/dist/index-CSzVoPB_.js +91 -0
- package/dist/index-CbsQNetX.js +91 -0
- package/dist/index-CdZ_a1WB.js +91 -0
- package/dist/index-Ce_RTZPK.js +91 -0
- package/dist/index-Cic4krlv.js +91 -0
- package/dist/index-CqP0C8Q_.js +91 -0
- package/dist/index-CsEIBvob.js +91 -0
- package/dist/index-D5o8uLCI.js +168 -0
- package/dist/index-D8SIiSq6.js +367 -0
- package/dist/index-DP_9bMys.js +91 -0
- package/dist/index-DofS9KDk.js +91 -0
- package/dist/index-Duo7vkZg.js +91 -0
- package/dist/index-DxcNpyu9.js +91 -0
- package/dist/index-ET89Rloy.js +91 -0
- package/dist/index-LQA85hjt.js +91 -0
- package/dist/index-T4fwu_xG.js +91 -0
- package/dist/javascript-BXzknqbJ.js +91 -0
- package/dist/julia-Ks6uUXS_.js +91 -0
- package/dist/{settings-XW6XylsZ.js → lit-element-Cj6JUqRW.js} +70 -12
- package/dist/livescript-C-N_oa0B.js +91 -0
- package/dist/lua-DyvKK1uJ.js +91 -0
- package/dist/markdown.min.js +296 -0
- package/dist/mathematica-DEg7Ra1Y.js +91 -0
- package/dist/mbox-DreqCmNH.js +91 -0
- package/dist/mirc-Cf2JTO1B.js +91 -0
- package/dist/mllike-BrIsM2v2.js +91 -0
- package/dist/modelica-B8SYrhCg.js +91 -0
- package/dist/mscgen-Ci9STQqX.js +91 -0
- package/dist/mumps-DdZIEnoV.js +91 -0
- package/dist/nginx-csHLvOI4.js +91 -0
- package/dist/nsis-BJ14NiV_.js +91 -0
- package/dist/ntriples-r4TsB1vg.js +91 -0
- package/dist/octave-DAywLo7W.js +91 -0
- package/dist/oz-DF39EOLJ.js +91 -0
- package/dist/pascal-Cdx2JBFI.js +91 -0
- package/dist/perl-CUDzEjb5.js +91 -0
- package/dist/pig-BgGDN3Fs.js +91 -0
- package/dist/powershell-yf7ZzrwA.js +91 -0
- package/dist/processing.min.js +71 -4
- package/dist/properties-Cna57Jh2.js +91 -0
- package/dist/protobuf-CWUMO8BP.js +91 -0
- package/dist/pug-D44aRpDl.js +91 -0
- package/dist/puppet-9oZPpLZK.js +91 -0
- package/dist/python-BzmgDs2d.js +91 -0
- package/dist/q-DDRrIilQ.js +91 -0
- package/dist/query-CIc5rDzI.js +101 -0
- package/dist/r-DT4JIpvb.js +91 -0
- package/dist/radio-group-manager-Dy7yXQky.js +91 -0
- package/dist/reasoning-steps.min.js +171 -0
- package/dist/repeat-DA7noZfi.js +96 -0
- package/dist/rpm-Q94njsnC.js +91 -0
- package/dist/ruby-p6VwoSsc.js +91 -0
- package/dist/sas-C8r72_Ai.js +91 -0
- package/dist/scheme-Bw1qfPdY.js +91 -0
- package/dist/settings-Bx1fCry0.js +99 -0
- package/dist/shell-B0162WXP.js +91 -0
- package/dist/sieve-DcAl9TNY.js +91 -0
- package/dist/simple-mode-dBIHJK_w.js +91 -0
- package/dist/smalltalk-BRpoyy0q.js +91 -0
- package/dist/solr-CntivwdY.js +91 -0
- package/dist/sparql-CPxRv-GB.js +91 -0
- package/dist/spreadsheet-DiWzltX0.js +91 -0
- package/dist/sql-BZFWK8-D.js +91 -0
- package/dist/state-ldHJ0lGt.js +96 -0
- package/dist/stex-DVnajZzj.js +91 -0
- package/dist/stylus-BCkTgCvi.js +91 -0
- package/dist/swift-DumH6rGA.js +91 -0
- package/dist/sync-BrWXU4C6.js +91 -0
- package/dist/table-runtime-C-85Ozvo.js +510 -0
- package/dist/table.min.js +91 -0
- package/dist/tcl-Ds60z3Ro.js +91 -0
- package/dist/text-input-BNmEJ8ys.js +158 -0
- package/dist/textile-CgTb_UUX.js +91 -0
- package/dist/throttle-CT5ZAUBU.js +91 -0
- package/dist/tiddlywiki-D0BukLzX.js +91 -0
- package/dist/tiki-DlrtqA5_.js +91 -0
- package/dist/tile-container.min.js +70 -14
- package/dist/toml-CG0tgYZ1.js +91 -0
- package/dist/toolbar.min.js +180 -0
- package/dist/troff-DZdS2uzR.js +91 -0
- package/dist/ttcn-D2NdeEoM.js +91 -0
- package/dist/ttcn-cfg-dCpHFW8J.js +91 -0
- package/dist/turtle-DBImhCBD.js +91 -0
- package/dist/vb-BdASAZha.js +91 -0
- package/dist/vbscript-DlJph2V7.js +91 -0
- package/dist/velocity-ds6Akj1B.js +91 -0
- package/dist/verilog-KFajwNWD.js +91 -0
- package/dist/vhdl-DWozufY6.js +91 -0
- package/dist/webidl-BSUbcB__.js +91 -0
- package/dist/workspace-shell.min.js +162 -0
- package/dist/xquery-CvISDSSw.js +91 -0
- package/dist/yacas-BNn6e9ff.js +91 -0
- package/dist/z80-BwinLJKG.js +91 -0
- package/es/components/chain-of-thought/index.d.ts +4 -0
- package/es/components/chain-of-thought/index.js +11 -0
- package/es/components/chain-of-thought/index.js.map +1 -0
- package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.d.ts +15 -0
- package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.js +36 -0
- package/es/components/chain-of-thought/src/cds-aichat-chain-of-thought.js.map +1 -0
- package/es/components/chain-of-thought/src/chain-of-thought.d.ts +87 -0
- package/es/components/chain-of-thought/src/chain-of-thought.js +189 -0
- package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -0
- package/es/components/chain-of-thought/src/chain-of-thought.scss.js +13 -0
- package/es/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -0
- package/es/components/chain-of-thought/src/chain-of-thought.template.d.ts +5 -0
- package/es/components/chain-of-thought/src/chain-of-thought.template.js +206 -0
- package/es/components/chain-of-thought/src/chain-of-thought.template.js.map +1 -0
- package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.d.ts +10 -0
- package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.js +50 -0
- package/es/components/chain-of-thought/src/parse-unknown-data-to-markdown.js.map +1 -0
- package/es/components/chain-of-thought/src/types.d.ts +73 -0
- package/es/components/chain-of-thought/src/types.js +29 -0
- package/es/components/chain-of-thought/src/types.js.map +1 -0
- package/es/components/chat-button/defs.d.ts +25 -0
- package/es/components/chat-button/defs.js +36 -0
- package/es/components/chat-button/defs.js.map +1 -0
- package/es/components/chat-button/index.d.ts +1 -1
- package/es/components/chat-button/index.js +1 -1
- package/es/components/chat-button/src/chat-button.d.ts +32 -0
- package/es/components/chat-button/{chat-button.js → src/chat-button.js} +16 -10
- package/es/components/chat-button/src/chat-button.js.map +1 -0
- package/es/components/chat-button/src/chat-button.scss.js +1 -1
- package/es/components/code-snippet/index.d.ts +3 -0
- package/es/components/code-snippet/index.js +10 -0
- package/es/components/code-snippet/index.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet-tile-container.d.ts +32 -0
- package/es/components/code-snippet/src/code-snippet-tile-container.js +143 -0
- package/es/components/code-snippet/src/code-snippet-tile-container.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet.d.ts +482 -0
- package/es/components/code-snippet/src/code-snippet.js +592 -0
- package/es/components/code-snippet/src/code-snippet.js.map +1 -0
- package/es/components/code-snippet/src/code-snippet.scss.js +13 -0
- package/es/components/code-snippet/src/code-snippet.scss.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/base-setup.d.ts +12 -0
- package/es/components/code-snippet/src/codemirror/base-setup.js +65 -0
- package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +12 -0
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js +36 -0
- package/es/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +7 -0
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +13 -0
- package/es/components/code-snippet/src/codemirror/codemirror-runtime.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/content-sync.d.ts +12 -0
- package/es/components/code-snippet/src/codemirror/content-sync.js +72 -0
- package/es/components/code-snippet/src/codemirror/content-sync.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +28 -0
- package/es/components/code-snippet/src/codemirror/editor-manager.js +75 -0
- package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/language-controller.d.ts +38 -0
- package/es/components/code-snippet/src/codemirror/language-controller.js +220 -0
- package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/language-data.d.ts +6 -0
- package/es/components/code-snippet/src/codemirror/language-data.js +1043 -0
- package/es/components/code-snippet/src/codemirror/language-data.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/language-utils.d.ts +79 -0
- package/es/components/code-snippet/src/codemirror/language-utils.js +219 -0
- package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/marker-utils.d.ts +123 -0
- package/es/components/code-snippet/src/codemirror/marker-utils.js +183 -0
- package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -0
- package/es/components/code-snippet/src/codemirror/theme.d.ts +54 -0
- package/es/components/code-snippet/src/codemirror/theme.js +320 -0
- package/es/components/code-snippet/src/codemirror/theme.js.map +1 -0
- package/es/components/code-snippet/src/dom-utils.d.ts +24 -0
- package/es/components/code-snippet/src/dom-utils.js +63 -0
- package/es/components/code-snippet/src/dom-utils.js.map +1 -0
- package/es/components/code-snippet/src/formatters.d.ts +4 -0
- package/es/components/code-snippet/src/formatters.js +19 -0
- package/es/components/code-snippet/src/formatters.js.map +1 -0
- package/es/components/code-snippet/src/layout-utils.d.ts +22 -0
- package/es/components/code-snippet/src/layout-utils.js +63 -0
- package/es/components/code-snippet/src/layout-utils.js.map +1 -0
- package/es/components/code-snippet/src/streaming-manager.d.ts +24 -0
- package/es/components/code-snippet/src/streaming-manager.js +120 -0
- package/es/components/code-snippet/src/streaming-manager.js.map +1 -0
- package/es/components/feedback/index.d.ts +7 -0
- package/es/components/feedback/index.js +12 -0
- package/es/components/feedback/index.js.map +1 -0
- package/es/components/feedback/src/cds-aichat-feedback-buttons.d.ts +15 -0
- package/es/components/feedback/src/cds-aichat-feedback-buttons.js +36 -0
- package/es/components/feedback/src/cds-aichat-feedback-buttons.js.map +1 -0
- package/es/components/feedback/src/cds-aichat-feedback.d.ts +15 -0
- package/es/components/feedback/src/cds-aichat-feedback.js +36 -0
- package/es/components/feedback/src/cds-aichat-feedback.js.map +1 -0
- package/es/components/feedback/src/feedback-buttons.d.ts +56 -0
- package/es/components/feedback/src/feedback-buttons.js +104 -0
- package/es/components/feedback/src/feedback-buttons.js.map +1 -0
- package/es/components/feedback/src/feedback-buttons.scss.js +13 -0
- package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -0
- package/es/components/feedback/src/feedback-buttons.template.d.ts +4 -0
- package/es/components/feedback/src/feedback-buttons.template.js +79 -0
- package/es/components/feedback/src/feedback-buttons.template.js.map +1 -0
- package/es/components/feedback/src/feedback.d.ts +114 -0
- package/es/components/feedback/src/feedback.js +182 -0
- package/es/components/feedback/src/feedback.js.map +1 -0
- package/es/components/feedback/src/feedback.scss.js +13 -0
- package/es/components/feedback/src/feedback.scss.js.map +1 -0
- package/es/components/feedback/src/feedback.template.d.ts +12 -0
- package/es/components/feedback/src/feedback.template.js +115 -0
- package/es/components/feedback/src/feedback.template.js.map +1 -0
- package/es/components/markdown/index.d.ts +2 -0
- package/es/components/markdown/index.js +9 -0
- package/es/components/markdown/index.js.map +1 -0
- package/es/components/markdown/src/cds-aichat-markdown.d.ts +13 -0
- package/es/components/markdown/src/cds-aichat-markdown.js +35 -0
- package/es/components/markdown/src/cds-aichat-markdown.js.map +1 -0
- package/es/components/markdown/src/markdown-renderer.d.ts +62 -0
- package/es/components/markdown/src/markdown-renderer.js +353 -0
- package/es/components/markdown/src/markdown-renderer.js.map +1 -0
- package/es/components/markdown/src/markdown-token-tree.d.ts +32 -0
- package/es/components/markdown/src/markdown-token-tree.js +178 -0
- package/es/components/markdown/src/markdown-token-tree.js.map +1 -0
- package/es/components/markdown/src/markdown.d.ts +44 -0
- package/es/components/markdown/src/markdown.js +238 -0
- package/es/components/markdown/src/markdown.js.map +1 -0
- package/es/components/markdown/src/markdown.scss.js +13 -0
- package/es/components/markdown/src/markdown.scss.js.map +1 -0
- package/es/components/markdown/src/markdown.template.d.ts +3 -0
- package/es/components/markdown/src/markdown.template.js +24 -0
- package/es/components/markdown/src/markdown.template.js.map +1 -0
- package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +7 -0
- package/es/components/markdown/src/plugins/markdown-it-attrs.js +84 -0
- package/es/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -0
- package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +7 -0
- package/es/components/markdown/src/plugins/markdown-it-highlight.js +59 -0
- package/es/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -0
- package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +12 -0
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js +73 -0
- package/es/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/core.d.ts +26 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/core.js +330 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/core.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.d.ts +6 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js +63 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/blocks.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.d.ts +6 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js +43 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/code.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.d.ts +5 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.js +55 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/index.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.d.ts +19 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js +210 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/inline.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.d.ts +13 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js +156 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/lists.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.d.ts +13 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js +216 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/patterns/tables.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/types.d.ts +34 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/types.js +8 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/types.js.map +1 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/utils.d.ts +25 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/utils.js +62 -0
- package/es/components/markdown/src/plugins/markdownItAttrs/utils.js.map +1 -0
- package/es/components/markdown/src/utils/html-helpers.d.ts +2 -0
- package/es/components/markdown/src/utils/html-helpers.js +204 -0
- package/es/components/markdown/src/utils/html-helpers.js.map +1 -0
- package/es/components/markdown/src/utils/table-helpers.d.ts +31 -0
- package/es/components/markdown/src/utils/table-helpers.js +106 -0
- package/es/components/markdown/src/utils/table-helpers.js.map +1 -0
- package/es/components/markdown/src/utils.d.ts +8 -0
- package/es/components/markdown/src/utils.js +31 -0
- package/es/components/markdown/src/utils.js.map +1 -0
- package/es/components/reasoning-steps/index.d.ts +2 -0
- package/es/components/reasoning-steps/index.js +10 -0
- package/es/components/reasoning-steps/index.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.d.ts +29 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.js +231 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.scss.js +13 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-step.scss.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.d.ts +13 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.js +96 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.js.map +1 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.scss.js +13 -0
- package/es/components/reasoning-steps/src/cds-aichat-reasoning-steps.scss.js.map +1 -0
- package/es/components/table/index.d.ts +3 -0
- package/es/components/table/index.js +9 -0
- package/es/components/table/index.js.map +1 -0
- package/es/components/table/src/cds-aichat-table.d.ts +262 -0
- package/es/components/table/src/cds-aichat-table.js +511 -0
- package/es/components/table/src/cds-aichat-table.js.map +1 -0
- package/es/components/table/src/table-loader.d.ts +4 -0
- package/es/components/table/src/table-loader.js +28 -0
- package/es/components/table/src/table-loader.js.map +1 -0
- package/es/components/table/src/table-pagination.template.d.ts +27 -0
- package/es/components/table/src/table-pagination.template.js +55 -0
- package/es/components/table/src/table-pagination.template.js.map +1 -0
- package/es/components/table/src/table-runtime.d.ts +2 -0
- package/es/components/table/src/table-runtime.js +10 -0
- package/es/components/table/src/table-runtime.js.map +1 -0
- package/es/components/table/src/table-skeleton.template.d.ts +6 -0
- package/es/components/table/src/table-skeleton.template.js +34 -0
- package/es/components/table/src/table-skeleton.template.js.map +1 -0
- package/es/components/table/src/table.scss.js +13 -0
- package/es/components/table/src/table.scss.js.map +1 -0
- package/es/components/table/src/table.template.d.ts +10 -0
- package/es/components/table/src/table.template.js +89 -0
- package/es/components/table/src/table.template.js.map +1 -0
- package/es/components/table/src/types.d.ts +13 -0
- package/es/components/table/src/types.js +8 -0
- package/es/components/table/src/types.js.map +1 -0
- package/es/components/tile-container/src/styles.scss.js +1 -1
- package/es/components/toolbar/index.d.ts +1 -0
- package/es/components/toolbar/index.js +9 -0
- package/es/components/toolbar/index.js.map +1 -0
- package/es/components/toolbar/src/toolbar.d.ts +39 -0
- package/es/components/toolbar/src/toolbar.js +179 -0
- package/es/components/toolbar/src/toolbar.js.map +1 -0
- package/es/components/toolbar/src/toolbar.scss.js +13 -0
- package/es/components/toolbar/src/toolbar.scss.js.map +1 -0
- package/es/components/workspace-shell/index.d.ts +5 -0
- package/es/components/workspace-shell/index.js +13 -0
- package/es/components/workspace-shell/index.js.map +1 -0
- package/es/components/workspace-shell/src/styles.scss.js +13 -0
- package/es/components/workspace-shell/src/styles.scss.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-body.d.ts +16 -0
- package/es/components/workspace-shell/src/workspace-shell-body.js +50 -0
- package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +19 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.js +53 -0
- package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-header.d.ts +27 -0
- package/es/components/workspace-shell/src/workspace-shell-header.js +77 -0
- package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell-toolbar.d.ts +22 -0
- package/es/components/workspace-shell/src/workspace-shell-toolbar.js +61 -0
- package/es/components/workspace-shell/src/workspace-shell-toolbar.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell.d.ts +20 -0
- package/es/components/workspace-shell/src/workspace-shell.js +83 -0
- package/es/components/workspace-shell/src/workspace-shell.js.map +1 -0
- package/es/components/workspace-shell/src/workspace-shell.scss.js +13 -0
- package/es/components/workspace-shell/src/workspace-shell.scss.js.map +1 -0
- package/es/globals/utils/uuid.d.ts +5 -0
- package/es/globals/utils/uuid.js +32 -0
- package/es/globals/utils/uuid.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js +11 -0
- package/es/node_modules/@carbon/utilities/es/overflowHandler/overflowHandler.js.map +1 -0
- package/es/node_modules/@codemirror/autocomplete/dist/index.js +258 -0
- package/es/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -0
- package/es/node_modules/@codemirror/commands/dist/index.js +1140 -0
- package/es/node_modules/@codemirror/commands/dist/index.js.map +1 -0
- package/es/node_modules/@codemirror/lint/dist/index.js +636 -0
- package/es/node_modules/@codemirror/lint/dist/index.js.map +1 -0
- package/es/node_modules/@lezer/common/dist/index.js +253 -0
- package/es/node_modules/@lezer/common/dist/index.js.map +1 -0
- package/es/node_modules/crelt/index.js +37 -0
- package/es/node_modules/crelt/index.js.map +1 -0
- package/es/react/ai-label.d.ts +2 -1
- package/es/react/ai-label.js +3 -2
- package/es/react/ai-label.js.map +1 -1
- package/es/react/button.d.ts +2 -1
- package/es/react/button.js +3 -2
- package/es/react/button.js.map +1 -1
- package/es/react/chain-of-thought.d.ts +7 -0
- package/es/react/chain-of-thought.js +29 -0
- package/es/react/chain-of-thought.js.map +1 -0
- package/es/react/chat-button.d.ts +4 -4
- package/es/react/chat-button.js +6 -4
- package/es/react/chat-button.js.map +1 -1
- package/es/react/code-snippet-tile-container.d.ts +5 -0
- package/es/react/code-snippet-tile-container.js +30 -0
- package/es/react/code-snippet-tile-container.js.map +1 -0
- package/es/react/code-snippet.d.ts +4 -0
- package/es/react/code-snippet.js +31 -0
- package/es/react/code-snippet.js.map +1 -0
- package/es/react/content-switcher.d.ts +7 -0
- package/es/react/content-switcher.js +37 -0
- package/es/react/content-switcher.js.map +1 -0
- package/es/react/feedback-buttons.d.ts +4 -0
- package/es/react/feedback-buttons.js +28 -0
- package/es/react/feedback-buttons.js.map +1 -0
- package/es/react/feedback.d.ts +6 -0
- package/es/react/feedback.js +32 -0
- package/es/react/feedback.js.map +1 -0
- package/es/react/icon-button.d.ts +2 -1
- package/es/react/icon-button.js +3 -2
- package/es/react/icon-button.js.map +1 -1
- package/es/react/icon.d.ts +4 -0
- package/es/react/icon.js +28 -0
- package/es/react/icon.js.map +1 -0
- package/es/react/markdown.d.ts +4 -0
- package/es/react/markdown.js +28 -0
- package/es/react/markdown.js.map +1 -0
- package/es/react/overflow-menu.d.ts +9 -0
- package/es/react/overflow-menu.js +40 -0
- package/es/react/overflow-menu.js.map +1 -0
- package/es/react/processing.d.ts +2 -1
- package/es/react/processing.js +3 -2
- package/es/react/processing.js.map +1 -1
- package/es/react/reasoning-step.d.ts +6 -0
- package/es/react/reasoning-step.js +31 -0
- package/es/react/reasoning-step.js.map +1 -0
- package/es/react/reasoning-steps.d.ts +3 -0
- package/es/react/reasoning-steps.js +27 -0
- package/es/react/reasoning-steps.js.map +1 -0
- package/es/react/tile-container.d.ts +2 -1
- package/es/react/tile-container.js +3 -2
- package/es/react/tile-container.js.map +1 -1
- package/es/react/tile.d.ts +3 -2
- package/es/react/tile.js +5 -4
- package/es/react/tile.js.map +1 -1
- package/es/react/toolbar.d.ts +4 -0
- package/es/react/toolbar.js +28 -0
- package/es/react/toolbar.js.map +1 -0
- package/es/react/utils/withWebComponentBridge.d.ts +15 -0
- package/es/react/utils/withWebComponentBridge.js +95 -0
- package/es/react/utils/withWebComponentBridge.js.map +1 -0
- package/es/testing/load-all-lazy-deps.d.ts +10 -0
- package/es/testing/load-all-lazy-deps.js +30 -0
- package/es/testing/load-all-lazy-deps.js.map +1 -0
- package/package.json +39 -5
- package/dist/carbon-element-CMR7BOhG.js +0 -24
- package/dist/class-map-h7IEvsL_.js +0 -39
- package/es/components/chat-button/chat-button.d.ts +0 -23
- package/es/components/chat-button/chat-button.js.map +0 -1
- package/es/components/chat-button/src/chat-button.template.d.ts +0 -16
- package/es/components/chat-button/src/chat-button.template.js +0 -27
- package/es/components/chat-button/src/chat-button.template.js.map +0 -1
|
@@ -0,0 +1,592 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { __decorate } from 'tslib';
|
|
9
|
+
import { LitElement, html } from 'lit';
|
|
10
|
+
import { property, state } from 'lit/decorators.js';
|
|
11
|
+
import { createRef, ref } from 'lit/directives/ref.js';
|
|
12
|
+
import ChevronDown16 from '@carbon/icons/es/chevron--down/16.js';
|
|
13
|
+
import FocusMixin from '@carbon/web-components/es/globals/mixins/focus.js';
|
|
14
|
+
import { iconLoader } from '@carbon/web-components/es/globals/internal/icon-loader.js';
|
|
15
|
+
import { carbonElement } from '../../../globals/decorators/carbon-element.js';
|
|
16
|
+
import prefix from '../../../globals/settings.js';
|
|
17
|
+
import { observeResize } from './dom-utils.js';
|
|
18
|
+
import { buildContainerStyles, evaluateShowMoreButton } from './layout-utils.js';
|
|
19
|
+
import { StreamingManager } from './streaming-manager.js';
|
|
20
|
+
import { defaultLineCountText } from './formatters.js';
|
|
21
|
+
import { loadCodeMirrorRuntime } from './codemirror/codemirror-loader.js';
|
|
22
|
+
import '@carbon/web-components/es/components/skeleton-text/index.js';
|
|
23
|
+
import styles from './code-snippet.scss.js';
|
|
24
|
+
import '@carbon/web-components/es/components/copy-button/index.js';
|
|
25
|
+
import '@carbon/web-components/es/components/copy/copy.js';
|
|
26
|
+
import '@carbon/web-components/es/components/button/button.js';
|
|
27
|
+
|
|
28
|
+
/*
|
|
29
|
+
* Copyright IBM Corp. 2025
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*
|
|
34
|
+
* @license
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* AI Chat code snippet orchestrator that keeps CodeMirror in sync with streamed slot content,
|
|
38
|
+
* automatically detects and loads language highlighting, and optionally exposes an editable surface
|
|
39
|
+
* with live language re-detection and change notifications.
|
|
40
|
+
*/
|
|
41
|
+
let CDSAIChatCodeSnippet = class CDSAIChatCodeSnippet extends FocusMixin(LitElement) {
|
|
42
|
+
constructor() {
|
|
43
|
+
super();
|
|
44
|
+
// CodeMirror properties
|
|
45
|
+
this.language = "";
|
|
46
|
+
this.editable = false;
|
|
47
|
+
this.highlight = false;
|
|
48
|
+
this.defaultLanguage = "javascript";
|
|
49
|
+
this.copyText = "";
|
|
50
|
+
this.disabled = false;
|
|
51
|
+
this.feedback = "Copied!";
|
|
52
|
+
this.feedbackTimeout = 2000;
|
|
53
|
+
this.hideCopyButton = false;
|
|
54
|
+
this.maxCollapsedNumberOfRows = 15;
|
|
55
|
+
this.maxExpandedNumberOfRows = 0;
|
|
56
|
+
this.minCollapsedNumberOfRows = 3;
|
|
57
|
+
this.minExpandedNumberOfRows = 16;
|
|
58
|
+
this.showLessText = "Show less";
|
|
59
|
+
this.showMoreText = "Show more";
|
|
60
|
+
this.tooltipContent = "Copy to clipboard";
|
|
61
|
+
this.wrapText = false;
|
|
62
|
+
this.foldCollapseLabel = "Collapse code block";
|
|
63
|
+
this.foldExpandLabel = "Expand code block";
|
|
64
|
+
/**
|
|
65
|
+
* The function used to format the line count text.
|
|
66
|
+
* Receives the line count and returns a formatted string.
|
|
67
|
+
* Defaults to `${count} lines` in en-US.
|
|
68
|
+
*/
|
|
69
|
+
this.getLineCountText = defaultLineCountText;
|
|
70
|
+
// Internal state for slotted content
|
|
71
|
+
this._slottedContent = "";
|
|
72
|
+
this._detectedLanguage = null;
|
|
73
|
+
this._languageLabelLockedIn = false;
|
|
74
|
+
this._lineCount = null;
|
|
75
|
+
this._isEditorLoading = true;
|
|
76
|
+
// Private non-functional fields
|
|
77
|
+
this._expandedCode = false;
|
|
78
|
+
this._shouldShowMoreLessBtn = false;
|
|
79
|
+
this._hObserveResize = null;
|
|
80
|
+
this._rowHeightInPixels = 16;
|
|
81
|
+
this._isCreatingEditor = false;
|
|
82
|
+
this.contentSlot = createRef();
|
|
83
|
+
this.editorContainer = createRef();
|
|
84
|
+
this.languageCompartment = null;
|
|
85
|
+
this.readOnlyCompartment = null;
|
|
86
|
+
this.wrapCompartment = null;
|
|
87
|
+
this.languageController = null;
|
|
88
|
+
this.codemirrorRuntime = null;
|
|
89
|
+
this.codemirrorRuntimePromise = null;
|
|
90
|
+
this._resizeObserver = new ResizeObserver(() => {
|
|
91
|
+
// Use requestAnimationFrame to avoid ResizeObserver loop errors
|
|
92
|
+
requestAnimationFrame(() => {
|
|
93
|
+
this._checkShowMoreButton();
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
this.streamingManager = new StreamingManager({
|
|
97
|
+
getSlot: () => this.contentSlot.value ?? null,
|
|
98
|
+
getHost: () => this,
|
|
99
|
+
onContentUpdate: (content) => {
|
|
100
|
+
const previous = this._slottedContent;
|
|
101
|
+
if (content !== previous) {
|
|
102
|
+
this._slottedContent = content;
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
_applyLanguageState(update) {
|
|
108
|
+
if ("detectedLanguage" in update) {
|
|
109
|
+
this._detectedLanguage = update.detectedLanguage ?? null;
|
|
110
|
+
}
|
|
111
|
+
if (update.lockLabel !== undefined) {
|
|
112
|
+
this._languageLabelLockedIn = update.lockLabel;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
// Carbon methods
|
|
116
|
+
/**
|
|
117
|
+
* Copies the visible snippet so downstream chat experiences can share code without exposing the editor internals.
|
|
118
|
+
*/
|
|
119
|
+
async _handleCopyClick() {
|
|
120
|
+
try {
|
|
121
|
+
await navigator.clipboard.writeText(this._slottedContent || this.copyText || "");
|
|
122
|
+
}
|
|
123
|
+
catch (error) {
|
|
124
|
+
console.error("Failed to copy text:", error);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Toggles the expanded state so long snippets can collapse inside chat tiles while still offering full visibility on demand.
|
|
129
|
+
*/
|
|
130
|
+
_handleClickExpanded() {
|
|
131
|
+
this._expandedCode = !this._expandedCode;
|
|
132
|
+
}
|
|
133
|
+
// CodeMirror methods
|
|
134
|
+
async ensureCodeMirrorRuntime() {
|
|
135
|
+
if (this.codemirrorRuntime && this.languageController) {
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
if (typeof window === "undefined") {
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
if (!this.codemirrorRuntimePromise) {
|
|
142
|
+
this._isEditorLoading = true;
|
|
143
|
+
this.codemirrorRuntimePromise = loadCodeMirrorRuntime();
|
|
144
|
+
}
|
|
145
|
+
try {
|
|
146
|
+
const runtime = await this.codemirrorRuntimePromise;
|
|
147
|
+
if (!this.codemirrorRuntime) {
|
|
148
|
+
this.codemirrorRuntime = runtime;
|
|
149
|
+
this.languageCompartment = new runtime.Compartment();
|
|
150
|
+
this.readOnlyCompartment = new runtime.Compartment();
|
|
151
|
+
this.wrapCompartment = new runtime.Compartment();
|
|
152
|
+
this.languageController = new runtime.LanguageController({
|
|
153
|
+
getLanguageAttribute: () => this.language,
|
|
154
|
+
getContent: () => this._slottedContent,
|
|
155
|
+
isHighlightEnabled: () => this.highlight,
|
|
156
|
+
getEditorView: () => this.editorView,
|
|
157
|
+
getLanguageCompartment: () => this.languageCompartment,
|
|
158
|
+
isLanguageLabelLocked: () => this._languageLabelLockedIn,
|
|
159
|
+
getDefaultLanguage: () => this.defaultLanguage,
|
|
160
|
+
updateState: (update) => this._applyLanguageState(update),
|
|
161
|
+
});
|
|
162
|
+
this.requestUpdate();
|
|
163
|
+
}
|
|
164
|
+
return true;
|
|
165
|
+
}
|
|
166
|
+
catch (error) {
|
|
167
|
+
console.error("Failed to load CodeMirror runtime", error);
|
|
168
|
+
this._isEditorLoading = false;
|
|
169
|
+
this.codemirrorRuntimePromise = null;
|
|
170
|
+
return false;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Tears down the CodeMirror view when the component is destroyed to avoid leaking editors between chat messages.
|
|
175
|
+
*/
|
|
176
|
+
destroyEditor() {
|
|
177
|
+
if (this.editorView) {
|
|
178
|
+
this.editorView.destroy();
|
|
179
|
+
this.editorView = undefined;
|
|
180
|
+
}
|
|
181
|
+
this.languageController?.reset();
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Synchronizes CodeMirror with the latest props and streamed slot content while minimizing unnecessary re-creation work and only appending diffs when possible.
|
|
185
|
+
*/
|
|
186
|
+
async updateEditor(changedProperties) {
|
|
187
|
+
if (!this.editorContainer.value) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
const isReady = await this.ensureCodeMirrorRuntime();
|
|
191
|
+
if (!isReady ||
|
|
192
|
+
!this.codemirrorRuntime ||
|
|
193
|
+
!this.languageController ||
|
|
194
|
+
!this.languageCompartment ||
|
|
195
|
+
!this.readOnlyCompartment) {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
const { createContentSync, applyLanguageSupport, updateReadOnlyConfiguration, } = this.codemirrorRuntime;
|
|
199
|
+
const languageController = this.languageController;
|
|
200
|
+
const languageCompartment = this.languageCompartment;
|
|
201
|
+
const readOnlyCompartment = this.readOnlyCompartment;
|
|
202
|
+
const needsRecreate = !this.editorView || changedProperties.has("editable");
|
|
203
|
+
if (needsRecreate) {
|
|
204
|
+
// Prevent creating multiple editors simultaneously
|
|
205
|
+
if (this._isCreatingEditor) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
this._isCreatingEditor = true;
|
|
209
|
+
this.destroyEditor();
|
|
210
|
+
await this.createEditor();
|
|
211
|
+
this._isCreatingEditor = false;
|
|
212
|
+
}
|
|
213
|
+
else {
|
|
214
|
+
if (changedProperties.has("_slottedContent")) {
|
|
215
|
+
if (!this.contentSync) {
|
|
216
|
+
this.contentSync = createContentSync({
|
|
217
|
+
getEditorView: () => this.editorView,
|
|
218
|
+
onAfterApply: () => {
|
|
219
|
+
if (this.editorView) {
|
|
220
|
+
this._lineCount = this.editorView.state.doc.lines;
|
|
221
|
+
}
|
|
222
|
+
this._checkShowMoreButton();
|
|
223
|
+
},
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
this.contentSync.update(this._slottedContent);
|
|
227
|
+
await languageController.handleStreamingLanguageDetection();
|
|
228
|
+
}
|
|
229
|
+
if (changedProperties.has("language") ||
|
|
230
|
+
changedProperties.has("highlight")) {
|
|
231
|
+
const languageSupport = await languageController.resolveLanguageSupport();
|
|
232
|
+
applyLanguageSupport(this.editorView, languageCompartment, languageSupport);
|
|
233
|
+
}
|
|
234
|
+
if (changedProperties.has("disabled")) {
|
|
235
|
+
updateReadOnlyConfiguration(this.editorView, readOnlyCompartment, {
|
|
236
|
+
editable: this.editable,
|
|
237
|
+
disabled: this.disabled,
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Builds the CodeMirror instance that powers the formatted snippet surface inside the chat response tile.
|
|
244
|
+
*/
|
|
245
|
+
async createEditor() {
|
|
246
|
+
const container = this.editorContainer.value;
|
|
247
|
+
const runtime = this.codemirrorRuntime;
|
|
248
|
+
const languageController = this.languageController;
|
|
249
|
+
const languageCompartment = this.languageCompartment;
|
|
250
|
+
const readOnlyCompartment = this.readOnlyCompartment;
|
|
251
|
+
const wrapCompartment = this.wrapCompartment;
|
|
252
|
+
if (!container ||
|
|
253
|
+
!runtime ||
|
|
254
|
+
!languageController ||
|
|
255
|
+
!languageCompartment ||
|
|
256
|
+
!readOnlyCompartment ||
|
|
257
|
+
!wrapCompartment) {
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
this._isEditorLoading = true;
|
|
261
|
+
const languageSupport = await languageController.resolveLanguageSupport();
|
|
262
|
+
try {
|
|
263
|
+
container.replaceChildren();
|
|
264
|
+
this.editorView = runtime.createEditorView({
|
|
265
|
+
container,
|
|
266
|
+
doc: this._slottedContent,
|
|
267
|
+
languageSupport,
|
|
268
|
+
languageCompartment,
|
|
269
|
+
readOnlyCompartment,
|
|
270
|
+
wrapCompartment,
|
|
271
|
+
editable: this.editable,
|
|
272
|
+
disabled: this.disabled,
|
|
273
|
+
wrapText: this.wrapText,
|
|
274
|
+
onDocChanged: ({ content, lineCount }) => {
|
|
275
|
+
this._lineCount = lineCount;
|
|
276
|
+
this.dispatchEvent(new CustomEvent("content-change", {
|
|
277
|
+
detail: { content },
|
|
278
|
+
bubbles: true,
|
|
279
|
+
composed: true,
|
|
280
|
+
}));
|
|
281
|
+
if (this.editable) {
|
|
282
|
+
languageController.detectLanguageForEditable(content);
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
setupOptions: {
|
|
286
|
+
foldCollapseLabel: this.foldCollapseLabel,
|
|
287
|
+
foldExpandLabel: this.foldExpandLabel,
|
|
288
|
+
},
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
finally {
|
|
292
|
+
this._isEditorLoading = false;
|
|
293
|
+
}
|
|
294
|
+
this._lineCount = this.editorView.state.doc.lines;
|
|
295
|
+
// Check height after editor renders
|
|
296
|
+
requestAnimationFrame(() => {
|
|
297
|
+
this._checkShowMoreButton();
|
|
298
|
+
});
|
|
299
|
+
languageController.handleStreamingLanguageDetection();
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Calculates the inline styles for the snippet container based on expanded state and min/max row constraints.
|
|
303
|
+
*/
|
|
304
|
+
_getContainerStyles(expandedCode) {
|
|
305
|
+
return buildContainerStyles({
|
|
306
|
+
expanded: expandedCode,
|
|
307
|
+
maxCollapsed: this.maxCollapsedNumberOfRows,
|
|
308
|
+
maxExpanded: this.maxExpandedNumberOfRows,
|
|
309
|
+
minCollapsed: this.minCollapsedNumberOfRows,
|
|
310
|
+
minExpanded: this.minExpandedNumberOfRows,
|
|
311
|
+
rowHeight: this._rowHeightInPixels,
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Shows or hides the expand button so the chat message can adapt to long snippets without overwhelming the layout.
|
|
316
|
+
*/
|
|
317
|
+
_checkShowMoreButton() {
|
|
318
|
+
const { shouldShowButton, shouldCollapse } = evaluateShowMoreButton({
|
|
319
|
+
shadowRoot: this.shadowRoot,
|
|
320
|
+
rowHeight: this._rowHeightInPixels,
|
|
321
|
+
expanded: this._expandedCode,
|
|
322
|
+
maxCollapsed: this.maxCollapsedNumberOfRows,
|
|
323
|
+
maxExpanded: this.maxExpandedNumberOfRows,
|
|
324
|
+
minExpanded: this.minExpandedNumberOfRows,
|
|
325
|
+
});
|
|
326
|
+
if (this._shouldShowMoreLessBtn !== shouldShowButton) {
|
|
327
|
+
this._shouldShowMoreLessBtn = shouldShowButton;
|
|
328
|
+
}
|
|
329
|
+
if (shouldCollapse) {
|
|
330
|
+
this._expandedCode = false;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
renderEditorFallback() {
|
|
334
|
+
if (!this._isEditorLoading) {
|
|
335
|
+
return null;
|
|
336
|
+
}
|
|
337
|
+
return html `<div
|
|
338
|
+
class="${prefix}--snippet__editor-skeleton"
|
|
339
|
+
aria-hidden="true"
|
|
340
|
+
>
|
|
341
|
+
<cds-skeleton-text lines="4"></cds-skeleton-text>
|
|
342
|
+
</div>`;
|
|
343
|
+
}
|
|
344
|
+
// Lifecycle methods
|
|
345
|
+
/**
|
|
346
|
+
* Wires up resize and content observers so the snippet reacts to streaming updates and layout changes as soon as it attaches.
|
|
347
|
+
*/
|
|
348
|
+
connectedCallback() {
|
|
349
|
+
super.connectedCallback();
|
|
350
|
+
if (this._hObserveResize) {
|
|
351
|
+
this._hObserveResize = this._hObserveResize.release();
|
|
352
|
+
}
|
|
353
|
+
this._hObserveResize = observeResize(this._resizeObserver, this);
|
|
354
|
+
this.streamingManager.reset(this._slottedContent);
|
|
355
|
+
this.streamingManager.connect();
|
|
356
|
+
void this.ensureCodeMirrorRuntime();
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Hooks into the rendered slot once Lit has stamped the template so we can observe streaming updates.
|
|
360
|
+
*/
|
|
361
|
+
firstUpdated() {
|
|
362
|
+
this.streamingManager.syncSlotObservers();
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Ensures we capture any pre-rendered slot content before the initial paint, keeping the editor in sync from the first frame.
|
|
366
|
+
*/
|
|
367
|
+
willUpdate(_changedProperties) {
|
|
368
|
+
this.streamingManager.ensureInitialContent();
|
|
369
|
+
// Update expanded-code attribute before render to avoid change-in-update warning
|
|
370
|
+
if (this._expandedCode) {
|
|
371
|
+
this.setAttribute("expanded-code", "");
|
|
372
|
+
}
|
|
373
|
+
else {
|
|
374
|
+
this.removeAttribute("expanded-code");
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Responds to slot churn caused by streaming tokens emitted from the chat pipeline, forcing a full rescan when the slot re-projects.
|
|
379
|
+
*/
|
|
380
|
+
_handleSlotChange() {
|
|
381
|
+
this.streamingManager.handleSlotChange();
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Cleans up observers, throttles, and the editor when the chat snippet unmounts.
|
|
385
|
+
*/
|
|
386
|
+
disconnectedCallback() {
|
|
387
|
+
super.disconnectedCallback();
|
|
388
|
+
if (this._hObserveResize) {
|
|
389
|
+
this._hObserveResize = this._hObserveResize.release();
|
|
390
|
+
}
|
|
391
|
+
// Cancel any pending throttled updates
|
|
392
|
+
this.contentSync?.cancel();
|
|
393
|
+
this.streamingManager.dispose();
|
|
394
|
+
this.languageController?.dispose();
|
|
395
|
+
this.destroyEditor();
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Drives incremental editor updates after Lit commits.
|
|
399
|
+
*/
|
|
400
|
+
updated(changedProperties) {
|
|
401
|
+
this.updateEditor(changedProperties);
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Renders the CodeMirror host along with the controls that make the chat snippet interactive and accessible.
|
|
405
|
+
*/
|
|
406
|
+
render() {
|
|
407
|
+
const { disabled, feedback, feedbackTimeout, hideCopyButton, tooltipContent, showMoreText, showLessText, _expandedCode: expandedCode, _handleCopyClick: handleCopyClick, _shouldShowMoreLessBtn: shouldShowMoreLessBtn, } = this;
|
|
408
|
+
const disabledCopyButtonClasses = disabled
|
|
409
|
+
? `${prefix}--snippet--disabled`
|
|
410
|
+
: "";
|
|
411
|
+
const expandCodeBtnText = expandedCode ? showLessText : showMoreText;
|
|
412
|
+
let containerClasses = `${prefix}--snippet-container ${prefix}--snippet--codemirror`;
|
|
413
|
+
if (!expandedCode) {
|
|
414
|
+
containerClasses += ` ${prefix}--snippet-container--collapsed`;
|
|
415
|
+
}
|
|
416
|
+
return html ` <div class="${prefix}--snippet">
|
|
417
|
+
<div class="${prefix}--snippet__header" data-rounded="top">
|
|
418
|
+
<div class="${prefix}--snippet__meta">
|
|
419
|
+
${this._detectedLanguage && this._languageLabelLockedIn
|
|
420
|
+
? html `<div class="${prefix}--snippet__language">
|
|
421
|
+
${this._detectedLanguage}
|
|
422
|
+
</div>`
|
|
423
|
+
: ""}
|
|
424
|
+
${this._detectedLanguage &&
|
|
425
|
+
this._languageLabelLockedIn &&
|
|
426
|
+
this._lineCount
|
|
427
|
+
? html `<div class="${prefix}--snippet__header-separator">
|
|
428
|
+
—
|
|
429
|
+
</div>`
|
|
430
|
+
: ""}
|
|
431
|
+
${this._lineCount
|
|
432
|
+
? html `<div class="${prefix}--snippet__linecount">
|
|
433
|
+
${this.getLineCountText({ count: this._lineCount })}
|
|
434
|
+
</div>`
|
|
435
|
+
: ""}
|
|
436
|
+
</div>
|
|
437
|
+
${hideCopyButton
|
|
438
|
+
? ``
|
|
439
|
+
: html `
|
|
440
|
+
<div class="${prefix}--snippet__copy" data-rounded="top-right">
|
|
441
|
+
<!-- we need the button part exposed to the top level cds-copy-button -->
|
|
442
|
+
<cds-copy-button
|
|
443
|
+
?disabled=${disabled}
|
|
444
|
+
button-class-name=${disabledCopyButtonClasses}
|
|
445
|
+
feedback=${feedback}
|
|
446
|
+
feedback-timeout=${feedbackTimeout}
|
|
447
|
+
@click="${handleCopyClick}"
|
|
448
|
+
>
|
|
449
|
+
${tooltipContent}
|
|
450
|
+
</cds-copy-button>
|
|
451
|
+
</div>
|
|
452
|
+
`}
|
|
453
|
+
</div>
|
|
454
|
+
<div
|
|
455
|
+
role="${this.editable ? "textbox" : "region"}"
|
|
456
|
+
tabindex="${this.editable && !disabled ? 0 : null}"
|
|
457
|
+
class="${containerClasses}"
|
|
458
|
+
aria-label="code-snippet"
|
|
459
|
+
${this.editable ? 'aria-readonly="false" aria-multiline="true"' : ""}
|
|
460
|
+
style="${this._getContainerStyles(expandedCode)}"
|
|
461
|
+
>
|
|
462
|
+
<div class="${prefix}--code-editor" ${ref(this.editorContainer)}></div>
|
|
463
|
+
${this.renderEditorFallback()}
|
|
464
|
+
</div>
|
|
465
|
+
|
|
466
|
+
${shouldShowMoreLessBtn
|
|
467
|
+
? html `
|
|
468
|
+
<div class="${prefix}--snippet__footer" data-rounded="bottom-right">
|
|
469
|
+
<cds-button
|
|
470
|
+
kind="ghost"
|
|
471
|
+
size="sm"
|
|
472
|
+
button-class-name="${prefix}--snippet-btn--expand"
|
|
473
|
+
?disabled=${disabled}
|
|
474
|
+
@click=${() => this._handleClickExpanded()}
|
|
475
|
+
>
|
|
476
|
+
<span class="${prefix}--snippet-btn--text">
|
|
477
|
+
${expandCodeBtnText}
|
|
478
|
+
</span>
|
|
479
|
+
${iconLoader(ChevronDown16, {
|
|
480
|
+
class: `${prefix}--icon-chevron--down ${prefix}--snippet__icon`,
|
|
481
|
+
role: "img",
|
|
482
|
+
slot: "icon",
|
|
483
|
+
})}
|
|
484
|
+
</cds-button>
|
|
485
|
+
</div>
|
|
486
|
+
`
|
|
487
|
+
: ``}
|
|
488
|
+
<div class="${prefix}--visually-hidden">
|
|
489
|
+
<slot
|
|
490
|
+
${ref(this.contentSlot)}
|
|
491
|
+
@slotchange=${this._handleSlotChange}
|
|
492
|
+
></slot>
|
|
493
|
+
</div>
|
|
494
|
+
</div>`;
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
CDSAIChatCodeSnippet.styles = [styles];
|
|
498
|
+
CDSAIChatCodeSnippet.shadowRootOptions = {
|
|
499
|
+
...LitElement.shadowRootOptions,
|
|
500
|
+
delegatesFocus: true,
|
|
501
|
+
};
|
|
502
|
+
__decorate([
|
|
503
|
+
property({ type: String })
|
|
504
|
+
], CDSAIChatCodeSnippet.prototype, "language", void 0);
|
|
505
|
+
__decorate([
|
|
506
|
+
property({ type: Boolean })
|
|
507
|
+
], CDSAIChatCodeSnippet.prototype, "editable", void 0);
|
|
508
|
+
__decorate([
|
|
509
|
+
property({ type: Boolean })
|
|
510
|
+
], CDSAIChatCodeSnippet.prototype, "highlight", void 0);
|
|
511
|
+
__decorate([
|
|
512
|
+
property({ type: String, attribute: "default-language" })
|
|
513
|
+
], CDSAIChatCodeSnippet.prototype, "defaultLanguage", void 0);
|
|
514
|
+
__decorate([
|
|
515
|
+
property({ attribute: "copy-text" })
|
|
516
|
+
], CDSAIChatCodeSnippet.prototype, "copyText", void 0);
|
|
517
|
+
__decorate([
|
|
518
|
+
property({ type: Boolean, reflect: true })
|
|
519
|
+
], CDSAIChatCodeSnippet.prototype, "disabled", void 0);
|
|
520
|
+
__decorate([
|
|
521
|
+
property()
|
|
522
|
+
], CDSAIChatCodeSnippet.prototype, "feedback", void 0);
|
|
523
|
+
__decorate([
|
|
524
|
+
property({ type: Number, attribute: "feedback-timeout" })
|
|
525
|
+
], CDSAIChatCodeSnippet.prototype, "feedbackTimeout", void 0);
|
|
526
|
+
__decorate([
|
|
527
|
+
property({ type: Boolean, reflect: true, attribute: "hide-copy-button" })
|
|
528
|
+
], CDSAIChatCodeSnippet.prototype, "hideCopyButton", void 0);
|
|
529
|
+
__decorate([
|
|
530
|
+
property()
|
|
531
|
+
], CDSAIChatCodeSnippet.prototype, "maxCollapsedNumberOfRows", void 0);
|
|
532
|
+
__decorate([
|
|
533
|
+
property({ attribute: "max-expanded-number-of-rows" })
|
|
534
|
+
], CDSAIChatCodeSnippet.prototype, "maxExpandedNumberOfRows", void 0);
|
|
535
|
+
__decorate([
|
|
536
|
+
property({ attribute: "min-collapsed-number-of-rows" })
|
|
537
|
+
], CDSAIChatCodeSnippet.prototype, "minCollapsedNumberOfRows", void 0);
|
|
538
|
+
__decorate([
|
|
539
|
+
property({ attribute: "min-expanded-number-of-rows" })
|
|
540
|
+
], CDSAIChatCodeSnippet.prototype, "minExpandedNumberOfRows", void 0);
|
|
541
|
+
__decorate([
|
|
542
|
+
property({ attribute: "show-less-text" })
|
|
543
|
+
], CDSAIChatCodeSnippet.prototype, "showLessText", void 0);
|
|
544
|
+
__decorate([
|
|
545
|
+
property({ attribute: "show-more-text" })
|
|
546
|
+
], CDSAIChatCodeSnippet.prototype, "showMoreText", void 0);
|
|
547
|
+
__decorate([
|
|
548
|
+
property({ attribute: "tooltip-content" })
|
|
549
|
+
], CDSAIChatCodeSnippet.prototype, "tooltipContent", void 0);
|
|
550
|
+
__decorate([
|
|
551
|
+
property({ type: Boolean, reflect: true, attribute: "wrap-text" })
|
|
552
|
+
], CDSAIChatCodeSnippet.prototype, "wrapText", void 0);
|
|
553
|
+
__decorate([
|
|
554
|
+
property({ attribute: "fold-collapse-label" })
|
|
555
|
+
], CDSAIChatCodeSnippet.prototype, "foldCollapseLabel", void 0);
|
|
556
|
+
__decorate([
|
|
557
|
+
property({ attribute: "fold-expand-label" })
|
|
558
|
+
], CDSAIChatCodeSnippet.prototype, "foldExpandLabel", void 0);
|
|
559
|
+
__decorate([
|
|
560
|
+
property({ attribute: false })
|
|
561
|
+
], CDSAIChatCodeSnippet.prototype, "getLineCountText", void 0);
|
|
562
|
+
__decorate([
|
|
563
|
+
property({ attribute: false })
|
|
564
|
+
], CDSAIChatCodeSnippet.prototype, "_slottedContent", void 0);
|
|
565
|
+
__decorate([
|
|
566
|
+
state()
|
|
567
|
+
], CDSAIChatCodeSnippet.prototype, "_detectedLanguage", void 0);
|
|
568
|
+
__decorate([
|
|
569
|
+
state()
|
|
570
|
+
], CDSAIChatCodeSnippet.prototype, "_languageLabelLockedIn", void 0);
|
|
571
|
+
__decorate([
|
|
572
|
+
state()
|
|
573
|
+
], CDSAIChatCodeSnippet.prototype, "_lineCount", void 0);
|
|
574
|
+
__decorate([
|
|
575
|
+
state()
|
|
576
|
+
], CDSAIChatCodeSnippet.prototype, "editorView", void 0);
|
|
577
|
+
__decorate([
|
|
578
|
+
state()
|
|
579
|
+
], CDSAIChatCodeSnippet.prototype, "_isEditorLoading", void 0);
|
|
580
|
+
__decorate([
|
|
581
|
+
state()
|
|
582
|
+
], CDSAIChatCodeSnippet.prototype, "_expandedCode", void 0);
|
|
583
|
+
__decorate([
|
|
584
|
+
state()
|
|
585
|
+
], CDSAIChatCodeSnippet.prototype, "_shouldShowMoreLessBtn", void 0);
|
|
586
|
+
CDSAIChatCodeSnippet = __decorate([
|
|
587
|
+
carbonElement(`${prefix}-code-snippet`)
|
|
588
|
+
], CDSAIChatCodeSnippet);
|
|
589
|
+
var CDSAIChatCodeSnippet$1 = CDSAIChatCodeSnippet;
|
|
590
|
+
|
|
591
|
+
export { CDSAIChatCodeSnippet$1 as default };
|
|
592
|
+
//# sourceMappingURL=code-snippet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-snippet.js","sources":["../../../../src/components/code-snippet/src/code-snippet.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAkCH;;;;AAIG;AAEH,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,UAAU,CAAC,UAAU,CAAC,CAAA;AA2GvD,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;QAxGmB,IAAA,CAAA,QAAQ,GAAG,EAAE;QACZ,IAAA,CAAA,QAAQ,GAAG,KAAK;QAChB,IAAA,CAAA,SAAS,GAAG,KAAK;QAE9C,IAAA,CAAA,eAAe,GAAG,YAAY;QAE9B,IAAA,CAAA,QAAQ,GAAG,EAAE;QAGb,IAAA,CAAA,QAAQ,GAAG,KAAK;QAGhB,IAAA,CAAA,QAAQ,GAAG,SAAS;QAGpB,IAAA,CAAA,eAAe,GAAG,IAAI;QAGtB,IAAA,CAAA,cAAc,GAAG,KAAK;QAGtB,IAAA,CAAA,wBAAwB,GAAG,EAAE;QAG7B,IAAA,CAAA,uBAAuB,GAAG,CAAC;QAG3B,IAAA,CAAA,wBAAwB,GAAG,CAAC;QAG5B,IAAA,CAAA,uBAAuB,GAAG,EAAE;QAG5B,IAAA,CAAA,YAAY,GAAG,WAAW;QAG1B,IAAA,CAAA,YAAY,GAAG,WAAW;QAG1B,IAAA,CAAA,cAAc,GAAG,mBAAmB;QAGpC,IAAA,CAAA,QAAQ,GAAG,KAAK;QAGhB,IAAA,CAAA,iBAAiB,GAAG,qBAAqB;QA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