import{R as a}from"./rich-message-BIkzo1SM.js";import"./iframe-B8FSoBNY.js";import"./preload-helper-PPVm8Dsz.js";import"./compiler-runtime-BXE7OOXE.js";import"./rich-text-theme-Bkhh9rAZ.js";import"./index-DaXC_qY_.js";import"./index-DpB4ozcR.js";import"./factory-DAJZwK4o.js";import"./flex-DAJL4AFZ.js";import"./CodeBlockPlugin-C3OWpvP8.js";import"./index-B0y2_lLF.js";import"./index-cFwdnc0b.js";import"./create-recipe-context-BU56IzEo.js";import"./textarea-rqmaWSc5.js";import"./factory-BR3bc_RM.js";import"./use-field-context-DoxKQlMm.js";import"./computed-style-C0hzrq9-.js";import"./table-BKNSzs2r.js";import"./create-slot-recipe-context-DAhDE6G_.js";import"./TreeViewPlugin-CyVKCrKJ.js";import"./markdown-BLUemkxK.js";import"./resource-badge-Bw5UoU4J.js";import"./createLucideIcon-CcBBUKX8.js";import"./file-text-D5m8MJlG.js";import"./tooltip-DZxUoouw.js";import"./portal-CZHfPTRw.js";import"./normalize-props-D7NI5JRu.js";import"./tooltip-C_a-XGZ8.js";import"./use-presence-context-DK2PGZth.js";import"./create-split-props-u5h9OPvL.js";import"./overflow-CkG1DOya.js";import"./icon-button-DHiUe7rR.js";import"./button-C7it2n8t.js";import"./spinner-ZYH_gvW-.js";import"./index-CXwl6T4k.js";import"./x-D42ziktz.js";const q={title:"Chat UI/DataTableNode",component:a,parameters:{layout:"padded"}},r=`# DataTableNode Demo

This demonstrates how markdown tables are rendered using the new DataTableNode instead of editable table nodes.

## Simple Table

| Name | Age | Department |
|------|-----|------------|
| Alice| 28  | Engineering|
| Bob  | 34  | Design     |
| Carol| 31  | Marketing  |

## Data Types Table

| Field | Value | Type | Active |
|-------|-------|------|--------|
| Temperature | 23.5 | number | true |
| Status | Running | string | true |
| Count | 42 | number | false |
| Mode | Auto | string | true |

This table shows different data types that are properly handled by the DataTable component with appropriate icons and formatting.
`,e={args:{defaultState:r,debug:!1}},t={args:{defaultState:r,debug:!0}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:`{
  args: {
    defaultState: tableMarkdown,
    debug: false
  }
}`,...e.parameters?.docs?.source}}};t.parameters={...t.parameters,docs:{...t.parameters?.docs,source:{originalSource:`{
  args: {
    defaultState: tableMarkdown,
    debug: true
  }
}`,...t.parameters?.docs?.source}}};const z=["TableInRichText","DebugMode"];export{t as DebugMode,e as TableInRichText,z as __namedExportsOrder,q as default};
