@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
package/dist/vhdl-BgZd0MBH.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
function e(e){for(var t={},n=e.split(","),r=0;r<n.length;++r){var i=n[r].toUpperCase(),o=n[r].charAt(0).toUpperCase()+n[r].slice(1);t[n[r]]=!0,t[i]=!0,t[o]=!0}return t}function t(e){return e.eatWhile(/[\w\$_]/),"meta"}var n,r=e("null"),i={"`":t,$:t},o=e("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),a=e("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),l=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/;function u(e,t){var s,c=e.next();if(i[c]){var p=i[c](e,t);if(!1!==p)return p}if('"'==c)return t.tokenize=(s=c,function(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if(n==s&&!r){i=!0;break}r=!r&&"--"==n}return!i&&r||(t.tokenize=u),"string.special"}),t.tokenize(e,t);if("'"==c)return t.tokenize=function(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){o=!0;break}i=!i&&"--"==r}return!o&&i||(n.tokenize=u),"string"}}(c),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(c))return n=c,null;if(/[\d']/.test(c))return e.eatWhile(/[\w\.']/),"number";if("-"==c&&e.eat("-"))return e.skipToEnd(),"comment";if(l.test(c))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_]/);var f=e.current();return o.propertyIsEnumerable(f.toLowerCase())?(a.propertyIsEnumerable(f)&&(n="newstatement"),"keyword"):r.propertyIsEnumerable(f)?"atom":"variable"}function s(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function c(e,t,n){return e.context=new s(e.indented,t,n,null,e.context)}function p(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const f={name:"vhdl",startState:function(e){return{tokenize:null,context:new s(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var i=(t.tokenize||u)(e,t);if("comment"==i||"meta"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type)if("{"==n)c(t,e.column(),"}");else if("["==n)c(t,e.column(),"]");else if("("==n)c(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;)r=p(t);for("}"==r.type&&(r=p(t));"statement"==r.type;)r=p(t)}else n==r.type?p(t):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&c(t,e.column(),"statement");else p(t);return t.startOfLine=!1,i},indent:function(e,t,n){if(e.tokenize!=u&&null!=e.tokenize)return 0;var r=t&&t.charAt(0),i=e.context,o=r==i.type;return"statement"==i.type?i.indented+("{"==r?0:n.unit):i.align?i.column+(o?0:1):i.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"--"}}};export{f as vhdl};
|
package/dist/webidl-CDRn4bGa.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
function e(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var t=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],r=e(t),n=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],a=e(n),i=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],o=e(i),c=["true","false","Infinity","NaN","null"],l=e(c),m=e(["callback","dictionary","enum","interface"]),u=e(["typedef"]),s=/^[:<=>?]/,f=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,d=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,y=/^_?[A-Za-z][0-9A-Z_a-z-]*/,p=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,b=/^"[^"]*"/,h=/^\/\*.*?\*\//,A=/^\/\*.*/,g=/^.*?\*\//;const D={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var n=function(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(g)?(t.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(h))return"comment";if(e.match(A))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(f)||e.match(d)))return"number";if(e.match(b))return"string";if(t.startDef&&e.match(y))return"def";if(t.endDef&&e.match(p))return t.endDef=!1,"def";if(e.match(o))return"keyword";if(e.match(a)){var n=t.lastToken,i=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===n||"implements"===n||"implements"===i||"="===i?"builtin":"type"}return e.match(r)?"builtin":e.match(l)?"atom":e.match(y)?"variable":e.match(s)?"operator":(e.next(),null)}(e,t);if(n){var i=e.current();t.lastToken=i,"keyword"===n?(t.startDef=m.test(i),t.endDef=t.endDef||u.test(i)):t.startDef=!1}return n},languageData:{autocomplete:t.concat(n).concat(i).concat(c)}};export{D as webIDL};
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
import{i as t,_ as e,c as a,a as d,x as r,n as o}from"./class-map-BE4cOc2X.js";import{p as i}from"./settings-e2aItLYn.js";import{r as s}from"./state-Bv4FM_9B.js";import"./button-Bc3tNCYN.js";import{i as n}from"./icon-loader-BKTEuybf.js";import"./if-defined-Dk7gHH6I.js";import"./carbon-element-C38isbCs.js";var c=t(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{font-feature-settings:"liga" 1;border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-background,#fff);color:var(--cds-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-heading-06-font-size,2.625rem);font-weight:var(--cds-heading-06-font-weight,300);letter-spacing:var(--cds-heading-06-letter-spacing,0);line-height:var(--cds-heading-06-line-height,1.199)}h2{font-size:var(--cds-heading-05-font-size,2rem);font-weight:var(--cds-heading-05-font-weight,400);letter-spacing:var(--cds-heading-05-letter-spacing,0);line-height:var(--cds-heading-05-line-height,1.25)}h3{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}h5{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}p{font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);letter-spacing:var(--cds-body-02-letter-spacing,0);line-height:var(--cds-body-02-line-height,1.5)}a{color:var(--cds-link-primary,#0062fe)}em{font-style:italic}:host(cds-aichat-workspace-shell){background-color:var(--cds-chat-shell-background);block-size:100%;border:.0625rem solid var(--cds-chat-bubble-border,#e0e0e0);border-radius:.5rem;box-shadow:-10px 0 100px -24px var(--cds-ai-popover-shadow-outer-01,rgba(0,67,206,.06)),0 10px 40px -24px var(--cds-ai-popover-shadow-outer-02,rgba(0,0,0,.04));box-sizing:border-box!important;color:var(--cds-text-secondary,#525252);display:flex;flex-direction:column;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);inline-size:100%;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857)}:host(cds-aichat-workspace-shell) ::slotted([slot=notification]){box-sizing:border-box;max-inline-size:100%}::slotted(cds-aichat-toolbar){border-block-end:.0625rem solid var(--cds-chat-bubble-border);display:grid;padding:.5rem}.cds-aichat-workspace-shell__toolbar-action{display:grid;grid-auto-columns:2.5rem;grid-auto-flow:column}.cds-aichat-workspace-shell__toolbar-action ::slotted(cds-ai-label){block-size:2.5rem}:host(cds-aichat-workspace-shell-body){block-size:31.5rem;display:block;overflow:auto;padding:1.5rem 2rem}']);
|
|
92
|
-
/*
|
|
93
|
-
* Copyright IBM Corp. 2025
|
|
94
|
-
*
|
|
95
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
96
|
-
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*
|
|
98
|
-
* @license
|
|
99
|
-
*/let l=class extends d{constructor(){super(...arguments),this.closeWorkspaceShell=()=>{console.log("closes the shell")}}render(){return r`
|
|
100
|
-
<slot name="toolbar"></slot>
|
|
101
|
-
<slot name="notification"></slot>
|
|
102
|
-
<slot name="header"></slot>
|
|
103
|
-
<slot name="body"></slot>
|
|
104
|
-
<slot name="footer"></slot>
|
|
105
|
-
`}};l.styles=c,l=e([a("cds-aichat-workspace-shell")],l);var h=t(['a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{font-feature-settings:"liga" 1;border:0;font:inherit;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-background,#fff);color:var(--cds-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-heading-06-font-size,2.625rem);font-weight:var(--cds-heading-06-font-weight,300);letter-spacing:var(--cds-heading-06-letter-spacing,0);line-height:var(--cds-heading-06-line-height,1.199)}h2{font-size:var(--cds-heading-05-font-size,2rem);font-weight:var(--cds-heading-05-font-weight,400);letter-spacing:var(--cds-heading-05-letter-spacing,0);line-height:var(--cds-heading-05-line-height,1.25)}h3{font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572)}h4{font-size:var(--cds-heading-03-font-size,1.25rem);font-weight:var(--cds-heading-03-font-weight,400);letter-spacing:var(--cds-heading-03-letter-spacing,0);line-height:var(--cds-heading-03-line-height,1.4)}h5{font-size:var(--cds-heading-02-font-size,1rem);font-weight:var(--cds-heading-02-font-weight,600);letter-spacing:var(--cds-heading-02-letter-spacing,0);line-height:var(--cds-heading-02-line-height,1.5)}h6{font-size:var(--cds-heading-01-font-size,.875rem);font-weight:var(--cds-heading-01-font-weight,600);letter-spacing:var(--cds-heading-01-letter-spacing,.16px);line-height:var(--cds-heading-01-line-height,1.42857)}p{font-size:var(--cds-body-02-font-size,1rem);font-weight:var(--cds-body-02-font-weight,400);letter-spacing:var(--cds-body-02-letter-spacing,0);line-height:var(--cds-body-02-line-height,1.5)}a{color:var(--cds-link-primary,#0062fe)}em{font-style:italic}:host(cds-aichat-workspace-shell-header){align-items:baseline;border-block-end:solid .0625rem var(--cds-chat-bubble-border,#e0e0e0);color:var(--cds-text-secondary,#525252);display:grid;font-size:var(--cds-body-01-font-size,.875rem);font-weight:var(--cds-body-01-font-weight,400);grid-auto-flow:column;letter-spacing:var(--cds-body-01-letter-spacing,.16px);line-height:var(--cds-body-01-line-height,1.42857);padding:1.5rem 2rem}@media (max-width:41.98rem){:host(cds-aichat-workspace-shell-header){gap:16px;grid-auto-flow:row}}.cds-aichat-workspace-shell__header-content{display:grid;gap:1rem}.cds-aichat-workspace-shell__header-title{color:var(--cds-text-primary,#161616);font-size:var(--cds-heading-04-font-size,1.75rem);font-weight:var(--cds-heading-04-font-weight,400);letter-spacing:var(--cds-heading-04-letter-spacing,0);line-height:var(--cds-heading-04-line-height,1.28572);margin-block-end:-.875rem}.cds-aichat-workspace-shell__header-sub-title{color:var(--cds-text-secondary,#525252);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}']);
|
|
106
|
-
/*
|
|
107
|
-
* Copyright IBM Corp. 2025
|
|
108
|
-
*
|
|
109
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
110
|
-
* LICENSE file in the root directory of this source tree.
|
|
111
|
-
*
|
|
112
|
-
* @license
|
|
113
|
-
*/let u=class extends d{constructor(){super(...arguments),this.slot="header"}render(){const{titleText:t,subTitleText:e}=this;return r`
|
|
114
|
-
<div class="${i}-workspace-shell__header-content">
|
|
115
|
-
${t&&r`
|
|
116
|
-
<h1 class="${i}-workspace-shell__header-title">${t}</h1>
|
|
117
|
-
`}
|
|
118
|
-
${e&&r`
|
|
119
|
-
<h3 class="${i}-workspace-shell__header-sub-title">
|
|
120
|
-
${e}
|
|
121
|
-
</h3>
|
|
122
|
-
`}
|
|
123
|
-
<slot name="header-description"></slot>
|
|
124
|
-
</div>
|
|
125
|
-
<div class="${i}-workspace-shell__header-action">
|
|
126
|
-
<slot name="header-action"></slot>
|
|
127
|
-
</div>
|
|
128
|
-
`}};u.styles=h,e([o({type:String,reflect:!0})],u.prototype,"slot",void 0),e([o({type:String,attribute:"title-text"})],u.prototype,"titleText",void 0),e([o({type:String,attribute:"subtitle-text"})],u.prototype,"subTitleText",void 0),u=e([a("cds-aichat-workspace-shell-header")],u);
|
|
129
|
-
/*
|
|
130
|
-
* Copyright IBM Corp. 2025
|
|
131
|
-
*
|
|
132
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
133
|
-
* LICENSE file in the root directory of this source tree.
|
|
134
|
-
*
|
|
135
|
-
* @license
|
|
136
|
-
*/
|
|
137
|
-
let m=class extends d{constructor(){super(...arguments),this.slot="body"}render(){return r` <slot></slot> `}};m.styles=c,e([o({type:String,reflect:!0})],m.prototype,"slot",void 0),m=e([a("cds-aichat-workspace-shell-body")],m);var g=t([':host([data-rounded=""]),[data-rounded=""]{border-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=""]::part(button)),:host([data-rounded=""]::part(link)),[data-rounded=""]::part(button),[data-rounded=""]::part(link){border-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);outline-offset:-.0625rem}:host([data-rounded=""])>:only-child,[data-rounded=""]>:only-child{border-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top]),[data-rounded=top]{border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-left]),[data-rounded=top-left]{border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-right]),[data-rounded=top-right]{border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom]),[data-rounded=bottom]{border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-left]),[data-rounded=bottom-left]{border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-right]),[data-rounded=bottom-right]{border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top]:not([data-stacked]))>:first-child,[data-rounded=top]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),[data-rounded=top]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top]:not([data-stacked]))>:last-child,[data-rounded=top]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),[data-rounded=top]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-left]:not([data-stacked]))>:first-child,[data-rounded=top-left]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),[data-rounded=top-left]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-right]:not([data-stacked]))>:last-child,[data-rounded=top-right]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),[data-rounded=top-right]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom]:not([data-stacked]))>:first-child,[data-rounded=bottom]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),[data-rounded=bottom]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom]:not([data-stacked]))>:last-child,[data-rounded=bottom]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),[data-rounded=bottom]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,[data-rounded=bottom-left]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),[data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,[data-rounded=bottom-right]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),[data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top][data-stacked])>:first-child,[data-rounded=top][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top][data-stacked])>:first-child::part(button),[data-rounded=top][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-right][data-stacked])>:first-child,[data-rounded=top-right][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-right][data-stacked])>:first-child::part(button),[data-rounded=top-right][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-left][data-stacked])>:first-child,[data-rounded=top-left][data-stacked]>:first-child{border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=top-left][data-stacked])>:first-child::part(button),[data-rounded=top-left][data-stacked]>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom][data-stacked])>:last-child,[data-rounded=bottom][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom][data-stacked])>:last-child::part(button),[data-rounded=bottom][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-right][data-stacked])>:last-child,[data-rounded=bottom-right][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),[data-rounded=bottom-right][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-left][data-stacked])>:last-child,[data-rounded=bottom-left][data-stacked]>:last-child{border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),[data-rounded=bottom-left][data-stacked]>:last-child::part(button){border-end-start-radius:calc(var(--cds-aichat-rounded-modifier-radius) - .0625rem)}:host(cds-aichat-workspace-shell-footer){--cds-aichat-rounded-modifier-radius:0.5rem;align-items:stretch;border-block-start:solid .0625rem var(--cds-border-subtle-00,#e0e0e0);display:grid}@media (max-width:41.98rem){:host(cds-aichat-workspace-shell-footer){grid-auto-flow:row;grid-template-columns:1fr}}:host(.cds-aichat-workspace-shell-footer__three-buttons){grid-template-columns:50% 25% 25%}@media (max-width:41.98rem){:host(.cds-aichat-workspace-shell-footer__three-buttons){grid-auto-flow:row;grid-template-columns:1fr}}:host(:not(.cds-aichat-workspace-shell-footer__three-buttons)){grid-template-columns:repeat(auto-fit,minmax(80px,auto))}@media (max-width:41.98rem){:host(:not(.cds-aichat-workspace-shell-footer__three-buttons)){grid-auto-flow:row;grid-template-columns:1fr}}']);
|
|
138
|
-
/*
|
|
139
|
-
* Copyright IBM Corp. 2025
|
|
140
|
-
*
|
|
141
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
142
|
-
* LICENSE file in the root directory of this source tree.
|
|
143
|
-
*
|
|
144
|
-
* @license
|
|
145
|
-
*/let b=class extends d{constructor(){super(...arguments),this._isStacked=!1,this.slot="footer",this.actions=[]}connectedCallback(){super.connectedCallback(),this.setAttribute("data-rounded","bottom"),this._ro=new ResizeObserver(()=>this._updateStacked()),this.parentElement&&this._ro.observe(this.parentElement)}updated(t){t.has("actions")&&(3===this.actions.length?this.classList.add(`${i}-workspace-shell-footer__three-buttons`):this.classList.remove(`${i}-workspace-shell-footer__three-buttons`)),this._isStacked?this.setAttribute("data-stacked",""):this.removeAttribute("data-stacked")}render(){const t=this._sortActions(this.actions);return r`
|
|
146
|
-
${t.map(t=>r`
|
|
147
|
-
<cds-button
|
|
148
|
-
kind=${t.kind}
|
|
149
|
-
?disabled=${t.disabled}
|
|
150
|
-
size="2xl"
|
|
151
|
-
@click=${()=>this.handleAction(t)}
|
|
152
|
-
>
|
|
153
|
-
${t.label}
|
|
154
|
-
${t.icon&&n(t.icon,{slot:"icon"})}
|
|
155
|
-
</cds-button>
|
|
156
|
-
`)}
|
|
157
|
-
`}disconnectedCallback(){super.disconnectedCallback(),this._ro?.disconnect()}handleAction(t){const e={bubbles:!0,composed:!0,detail:t};this.dispatchEvent(new CustomEvent(this.constructor.eventButtonClick,e))}_updateStacked(){const t=window.innerWidth<671;t!==this._isStacked&&(this._isStacked=t,this.requestUpdate())}_sortActions(t){const e=t=>({ghost:1,"danger--ghost":2,tertiary:3,danger:5,primary:6}[t.kind??"primary"]??4);return[...t].sort((t,a)=>{const d=e(t)-e(a);return this._isStacked?-d:d})}static get eventButtonClick(){return`${i}-workspace-shell-footer-clicked`}};b.styles=g,e([s()],b.prototype,"_isStacked",void 0),e([o({type:String,reflect:!0})],b.prototype,"slot",void 0),e([o({type:Array,reflect:!1})],b.prototype,"actions",void 0),b=e([a("cds-aichat-workspace-shell-footer")],b);
|
package/dist/xquery-DTfjYCD7.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
var e=function(){function e(e){return{type:e,style:"keyword"}}for(var t=e("operator"),n={type:"atom",style:"atom"},r={type:"axis_specifier",style:"qualifier"},a={",":{type:"punctuation",style:null}},i=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],o=0,s=i.length;o<s;o++)a[i[o]]=e(i[o]);var c=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"];for(o=0,s=c.length;o<s;o++)a[c[o]]=n;var u=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(o=0,s=u.length;o<s;o++)a[u[o]]=t;var l=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"];for(o=0,s=l.length;o<s;o++)a[l[o]]=r;return a}();function t(e,t,n){return t.tokenize=n,n(e,t)}function n(f,d){var g=f.next(),y=!1,h=function(e){return'"'===e.current()?e.match(/^[^\"]+\"\:/,!1):"'"===e.current()&&e.match(/^[^\"]+\'\:/,!1)}(f);if("<"==g){if(f.match("!--",!0))return t(f,d,s);if(f.match("![CDATA",!1))return d.tokenize=c,"tag";if(f.match("?",!1))return t(f,d,u);var v=f.eat("/");f.eatSpace();for(var k,b="";k=f.eat(/[^\s\u00a0=<>\"\'\/?]/);)b+=k;return t(f,d,function(e,t){return function(r,a){return r.eatSpace(),t&&r.eat(">")?(x(a),a.tokenize=n,"tag"):(r.eat("/")||m(a,{type:"tag",name:e,tokenize:n}),r.eat(">")?(a.tokenize=n,"tag"):(a.tokenize=o,"tag"))}}(b,v))}if("{"==g)return m(d,{type:"codeblock"}),null;if("}"==g)return x(d),null;if(l(d))return">"==g?"tag":"/"==g&&f.eat(">")?(x(d),"tag"):"variable";if(/\d/.test(g))return f.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===g&&f.eat(":"))return m(d,{type:"comment"}),t(f,d,r);if(h||'"'!==g&&"'"!==g){if("$"===g)return t(f,d,i);if(":"===g&&f.eat("="))return"keyword";if("("===g)return m(d,{type:"paren"}),null;if(")"===g)return x(d),null;if("["===g)return m(d,{type:"bracket"}),null;if("]"===g)return x(d),null;var z=e.propertyIsEnumerable(g)&&e[g];if(h&&'"'===g)for(;'"'!==f.next(););if(h&&"'"===g)for(;"'"!==f.next(););z||f.eatWhile(/[\w\$_-]/);var w=f.eat(":");!f.eat(":")&&w&&f.eatWhile(/[\w\$_-]/),f.match(/^[ \t]*\(/,!1)&&(y=!0);var I=f.current();return z=e.propertyIsEnumerable(I)&&e[I],y&&!z&&(z={type:"function_call",style:"def"}),function(e){return p(e,"xmlconstructor")}(d)?(x(d),"variable"):("element"!=I&&"attribute"!=I&&"axis_specifier"!=z.type||m(d,{type:"xmlconstructor"}),z?z.style:"variable")}return a(f,d,g)}function r(e,t){for(var n,r=!1,a=!1,i=0;n=e.next();){if(")"==n&&r){if(!(i>0)){x(t);break}i--}else":"==n&&a&&i++;r=":"==n,a="("==n}return"comment"}function a(e,r,a,i){let o=function(e,t){return function(r,a){for(var i;i=r.next();){if(i==e){x(a),t&&(a.tokenize=t);break}if(r.match("{",!1)&&f(a))return m(a,{type:"codeblock"}),a.tokenize=n,"string"}return"string"}}(a,i);return m(r,{type:"string",name:a,tokenize:o}),t(e,r,o)}function i(e,t){var r=/[\w\$_-]/;if(e.eat('"')){for(;'"'!==e.next(););e.eat(":")}else e.eatWhile(r),e.match(":=",!1)||e.eat(":");return e.eatWhile(r),t.tokenize=n,"variable"}function o(e,t){var r=e.next();return"/"==r&&e.eat(">")?(f(t)&&x(t),l(t)&&x(t),"tag"):">"==r?(f(t)&&x(t),"tag"):"="==r?null:'"'==r||"'"==r?a(e,t,r,o):(f(t)||m(t,{type:"attribute",tokenize:o}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(x(t),t.tokenize=n),"attribute")}function s(e,t){for(var r;r=e.next();)if("-"==r&&e.match("->",!0))return t.tokenize=n,"comment"}function c(e,t){for(var r;r=e.next();)if("]"==r&&e.match("]",!0))return t.tokenize=n,"comment"}function u(e,t){for(var r;r=e.next();)if("?"==r&&e.match(">",!0))return t.tokenize=n,"processingInstruction"}function l(e){return p(e,"tag")}function f(e){return p(e,"attribute")}function p(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function m(e,t){e.stack.push(t)}function x(e){e.stack.pop();var t=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=t||n}const d={name:"xquery",startState:function(){return{tokenize:n,cc:[],stack:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}};export{d as xQuery};
|
package/dist/yacas-DxV9-gAO.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
4
|
-
* Copyright IBM Corp. 2025
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
*
|
|
12
|
-
* This bundle contains the following third-party dependencies:
|
|
13
|
-
*
|
|
14
|
-
* Also refer to the following links for the license of other third-party dependencies:
|
|
15
|
-
*
|
|
16
|
-
* https://www.npmjs.com/package/tslib
|
|
17
|
-
* https://www.npmjs.com/package/lit
|
|
18
|
-
* https://www.npmjs.com/package/markdown-it
|
|
19
|
-
* https://www.npmjs.com/package/lodash-es
|
|
20
|
-
* https://www.npmjs.com/package/dompurify
|
|
21
|
-
* https://www.npmjs.com/package/@codemirror/state
|
|
22
|
-
* https://www.npmjs.com/package/csv-stringify
|
|
23
|
-
* https://www.npmjs.com/package/lit-html
|
|
24
|
-
* https://www.npmjs.com/package/@carbon/web-components
|
|
25
|
-
* https://www.npmjs.com/package/codemirror
|
|
26
|
-
* https://www.npmjs.com/package/@codemirror/language
|
|
27
|
-
* https://www.npmjs.com/package/@codemirror/lang-cpp
|
|
28
|
-
* https://www.npmjs.com/package/@codemirror/lang-go
|
|
29
|
-
* https://www.npmjs.com/package/@codemirror/lang-html
|
|
30
|
-
* https://www.npmjs.com/package/@codemirror/lang-javascript
|
|
31
|
-
* https://www.npmjs.com/package/@codemirror/lang-sql
|
|
32
|
-
* https://www.npmjs.com/package/@codemirror/lang-css
|
|
33
|
-
* https://www.npmjs.com/package/@codemirror/lang-java
|
|
34
|
-
* https://www.npmjs.com/package/@codemirror/lang-jinja
|
|
35
|
-
* https://www.npmjs.com/package/@codemirror/lang-json
|
|
36
|
-
* https://www.npmjs.com/package/@codemirror/lang-less
|
|
37
|
-
* https://www.npmjs.com/package/@codemirror/lang-php
|
|
38
|
-
* https://www.npmjs.com/package/@codemirror/lang-sass
|
|
39
|
-
* https://www.npmjs.com/package/@codemirror/lang-markdown
|
|
40
|
-
* https://www.npmjs.com/package/@codemirror/lang-rust
|
|
41
|
-
* https://www.npmjs.com/package/@codemirror/lang-wast
|
|
42
|
-
* https://www.npmjs.com/package/@codemirror/lang-liquid
|
|
43
|
-
* https://www.npmjs.com/package/@codemirror/legacy-modes
|
|
44
|
-
* https://www.npmjs.com/package/@codemirror/lang-yaml
|
|
45
|
-
* https://www.npmjs.com/package/@codemirror/lang-xml
|
|
46
|
-
* https://www.npmjs.com/package/@codemirror/lang-python
|
|
47
|
-
* https://www.npmjs.com/package/@codemirror/lang-angular
|
|
48
|
-
* https://www.npmjs.com/package/@codemirror/lang-vue
|
|
49
|
-
* https://www.npmjs.com/package/@codemirror/autocomplete
|
|
50
|
-
* https://www.npmjs.com/package/@codemirror/view
|
|
51
|
-
* https://www.npmjs.com/package/@codemirror/lint
|
|
52
|
-
* https://www.npmjs.com/package/@codemirror/commands
|
|
53
|
-
* https://www.npmjs.com/package/@lezer/highlight
|
|
54
|
-
* https://www.npmjs.com/package/@carbon/icons
|
|
55
|
-
* https://www.npmjs.com/package/@carbon/utilities
|
|
56
|
-
* https://www.npmjs.com/package/@carbon/icon-helpers
|
|
57
|
-
* https://www.npmjs.com/package/program-language-detector
|
|
58
|
-
* https://www.npmjs.com/package/lit-element
|
|
59
|
-
* https://www.npmjs.com/package/@lit/reactive-element
|
|
60
|
-
* https://www.npmjs.com/package/@marijn/find-cluster-break
|
|
61
|
-
* https://www.npmjs.com/package/@codemirror/search
|
|
62
|
-
* https://www.npmjs.com/package/crelt
|
|
63
|
-
* https://www.npmjs.com/package/w3c-keyname
|
|
64
|
-
* https://www.npmjs.com/package/style-mod
|
|
65
|
-
* https://www.npmjs.com/package/@lezer/common
|
|
66
|
-
* https://www.npmjs.com/package/@lezer/cpp
|
|
67
|
-
* https://www.npmjs.com/package/@lezer/html
|
|
68
|
-
* https://www.npmjs.com/package/@lezer/go
|
|
69
|
-
* https://www.npmjs.com/package/@lezer/javascript
|
|
70
|
-
* https://www.npmjs.com/package/@lezer/java
|
|
71
|
-
* https://www.npmjs.com/package/@lezer/lr
|
|
72
|
-
* https://www.npmjs.com/package/@lezer/json
|
|
73
|
-
* https://www.npmjs.com/package/@lezer/php
|
|
74
|
-
* https://www.npmjs.com/package/@lezer/markdown
|
|
75
|
-
* https://www.npmjs.com/package/@lezer/sass
|
|
76
|
-
* https://www.npmjs.com/package/@lezer/rust
|
|
77
|
-
* https://www.npmjs.com/package/@lezer/xml
|
|
78
|
-
* https://www.npmjs.com/package/@lezer/yaml
|
|
79
|
-
* https://www.npmjs.com/package/@lezer/python
|
|
80
|
-
* https://www.npmjs.com/package/@lezer/css
|
|
81
|
-
* https://www.npmjs.com/package/@internationalized/number
|
|
82
|
-
* https://www.npmjs.com/package/linkify-it
|
|
83
|
-
* https://www.npmjs.com/package/mdurl
|
|
84
|
-
* https://www.npmjs.com/package/punycode.js
|
|
85
|
-
* https://www.npmjs.com/package/uc.micro
|
|
86
|
-
* https://www.npmjs.com/package/@floating-ui/dom
|
|
87
|
-
* https://www.npmjs.com/package/@floating-ui/core
|
|
88
|
-
* https://www.npmjs.com/package/@floating-ui/utils
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
var e=function(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),t="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",n=new RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)"),r=new RegExp(t),o=new RegExp(t+"?_"+t),a=new RegExp(t+"\\s*\\(");function i(t,i){var s;if('"'===(s=t.next()))return i.tokenize=c,i.tokenize(t,i);if("/"===s){if(t.eat("*"))return i.tokenize=u,i.tokenize(t,i);if(t.eat("/"))return t.skipToEnd(),"comment"}t.backUp(1);var p=t.match(/^(\w+)\s*\(/,!1);null!==p&&e.hasOwnProperty(p[1])&&i.scopes.push("bodied");var m=l(i);if("bodied"===m&&"["===s&&i.scopes.pop(),"["!==s&&"{"!==s&&"("!==s||i.scopes.push(s),("["===(m=l(i))&&"]"===s||"{"===m&&"}"===s||"("===m&&")"===s)&&i.scopes.pop(),";"===s)for(;"bodied"===m;)i.scopes.pop(),m=l(i);return t.match(/\d+ *#/,!0,!1)?"qualifier":t.match(n,!0,!1)?"number":t.match(o,!0,!1)?"variableName.special":t.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":t.match(a,!0,!1)?(t.backUp(1),"variableName.function"):t.match(r,!0,!1)?"variable":t.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function c(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if('"'===n&&!o){r=!0;break}o=!o&&"\\"===n}return r&&!o&&(t.tokenize=i),"string"}function u(e,t){for(var n,r;null!=(r=e.next());){if("*"===n&&"/"===r){t.tokenize=i;break}n=r}return"comment"}function l(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}const s={name:"yacas",startState:function(){return{tokenize:i,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(e,t,n){if(e.tokenize!==i&&null!==e.tokenize)return null;var r=0;return"]"!==t&&"];"!==t&&"}"!==t&&"};"!==t&&");"!==t||(r=-1),(e.scopes.length+r)*n.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{s as yacas};
|