@mieweb/ui 0.9.0 → 0.10.0-dev.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/MIGRATION.md +112 -0
- package/agent/mieweb-ui.instructions.md +2 -1
- package/dist/{Animated-Cs-naa2g.d.cts → Animated-XmH6k8pZ.d.cts} +16 -3
- package/dist/{Animated-Cs-naa2g.d.ts → Animated-XmH6k8pZ.d.ts} +16 -3
- package/dist/{CsvBlock-QXXZ7ZUM.cjs → CsvBlock-CVYA3HYS.cjs} +3 -2
- package/dist/{CsvBlock-QXXZ7ZUM.cjs.map → CsvBlock-CVYA3HYS.cjs.map} +1 -1
- package/dist/{CsvBlock-D7Z6ZCRP.js → CsvBlock-SM4NKSHA.js} +3 -2
- package/dist/{CsvBlock-D7Z6ZCRP.js.map → CsvBlock-SM4NKSHA.js.map} +1 -1
- package/dist/{HtmlPreviewBlock-F5VDM2EN.js → HtmlPreviewBlock-FAMF4W24.js} +3 -2
- package/dist/{HtmlPreviewBlock-F5VDM2EN.js.map → HtmlPreviewBlock-FAMF4W24.js.map} +1 -1
- package/dist/{HtmlPreviewBlock-AADG7MVB.cjs → HtmlPreviewBlock-JF454L2L.cjs} +3 -2
- package/dist/{HtmlPreviewBlock-AADG7MVB.cjs.map → HtmlPreviewBlock-JF454L2L.cjs.map} +1 -1
- package/dist/{MermaidBlock-6PLITRBZ.js → MermaidBlock-7V5G4K5A.js} +3 -2
- package/dist/{MermaidBlock-6PLITRBZ.js.map → MermaidBlock-7V5G4K5A.js.map} +1 -1
- package/dist/{MermaidBlock-TQ2O5CLV.cjs → MermaidBlock-FR5SQX4Q.cjs} +3 -2
- package/dist/{MermaidBlock-TQ2O5CLV.cjs.map → MermaidBlock-FR5SQX4Q.cjs.map} +1 -1
- package/dist/{SurveyBlock-W5PSQ62F.js → SurveyBlock-6K2POV7S.js} +3 -2
- package/dist/{SurveyBlock-W5PSQ62F.js.map → SurveyBlock-6K2POV7S.js.map} +1 -1
- package/dist/{SurveyBlock-OYL3VNU5.cjs → SurveyBlock-MCJVWR7H.cjs} +3 -2
- package/dist/{SurveyBlock-OYL3VNU5.cjs.map → SurveyBlock-MCJVWR7H.cjs.map} +1 -1
- package/dist/ag-grid.cjs +1 -0
- package/dist/ag-grid.cjs.map +1 -1
- package/dist/ag-grid.js +1 -0
- package/dist/ag-grid.js.map +1 -1
- package/dist/brands/bluehive.cjs +1 -0
- package/dist/brands/bluehive.js +1 -0
- package/dist/brands/ccme.cjs +1 -0
- package/dist/brands/ccme.js +1 -0
- package/dist/brands/index.cjs +3 -2
- package/dist/brands/index.js +2 -1
- package/dist/brands/ozwell.cjs +1 -0
- package/dist/brands/ozwell.js +1 -0
- package/dist/brands/types.cjs +1 -0
- package/dist/brands/types.js +1 -0
- package/dist/{chunk-XUVEF2RQ.js → chunk-24SEAAOH.js} +2 -2
- package/dist/{chunk-XUVEF2RQ.js.map → chunk-24SEAAOH.js.map} +1 -1
- package/dist/{chunk-IUDY6S7I.cjs → chunk-37UZHCLM.cjs} +35 -14
- package/dist/chunk-37UZHCLM.cjs.map +1 -0
- package/dist/{chunk-ODYQYLO2.js → chunk-7KWNY3HG.js} +9 -5
- package/dist/chunk-7KWNY3HG.js.map +1 -0
- package/dist/{chunk-L52N6BEN.cjs → chunk-AUOTJQGO.cjs} +7 -7
- package/dist/{chunk-L52N6BEN.cjs.map → chunk-AUOTJQGO.cjs.map} +1 -1
- package/dist/{chunk-O7XHHTTP.cjs → chunk-AZP3DDBT.cjs} +6 -6
- package/dist/{chunk-O7XHHTTP.cjs.map → chunk-AZP3DDBT.cjs.map} +1 -1
- package/dist/chunk-C6CTTLH2.js +44645 -0
- package/dist/chunk-C6CTTLH2.js.map +1 -0
- package/dist/{chunk-6XDPJWSC.cjs → chunk-E3KC2XLN.cjs} +34 -30
- package/dist/chunk-E3KC2XLN.cjs.map +1 -0
- package/dist/chunk-EUAMEVVI.cjs +41 -0
- package/dist/chunk-EUAMEVVI.cjs.map +1 -0
- package/dist/{chunk-DFYMIRMW.js → chunk-IGNWT6RP.js} +7 -2
- package/dist/chunk-IGNWT6RP.js.map +1 -0
- package/dist/{chunk-XEEVDZDK.cjs → chunk-IGSIWNX3.cjs} +7 -2
- package/dist/chunk-IGSIWNX3.cjs.map +1 -0
- package/dist/chunk-IIFQ6BSJ.js +1888 -0
- package/dist/chunk-IIFQ6BSJ.js.map +1 -0
- package/dist/{chunk-FUFBRKOG.cjs → chunk-KLJGJJHN.cjs} +24 -24
- package/dist/{chunk-FUFBRKOG.cjs.map → chunk-KLJGJJHN.cjs.map} +1 -1
- package/dist/chunk-LECJMLNE.js +15 -0
- package/dist/{chunk-CYMZ2QS5.js.map → chunk-LECJMLNE.js.map} +1 -1
- package/dist/{chunk-BJKAVWED.js → chunk-MBWF36DJ.js} +35 -14
- package/dist/chunk-MBWF36DJ.js.map +1 -0
- package/dist/chunk-NV2CWBI2.cjs +290 -0
- package/dist/chunk-NV2CWBI2.cjs.map +1 -0
- package/dist/{chunk-FQBTGS3E.cjs → chunk-OFUKTVBN.cjs} +363 -285
- package/dist/chunk-OFUKTVBN.cjs.map +1 -0
- package/dist/{chunk-7KN6J7XV.cjs → chunk-OMAACCFW.cjs} +7 -7
- package/dist/{chunk-7KN6J7XV.cjs.map → chunk-OMAACCFW.cjs.map} +1 -1
- package/dist/chunk-OYQ7GYAA.cjs +1921 -0
- package/dist/chunk-OYQ7GYAA.cjs.map +1 -0
- package/dist/{chunk-YJP6DUFO.cjs → chunk-PKD3JLS2.cjs} +6 -6
- package/dist/{chunk-YJP6DUFO.cjs.map → chunk-PKD3JLS2.cjs.map} +1 -1
- package/dist/chunk-PN2PIE2L.cjs +44670 -0
- package/dist/chunk-PN2PIE2L.cjs.map +1 -0
- package/dist/chunk-PX6F3LHL.js +37 -0
- package/dist/chunk-PX6F3LHL.js.map +1 -0
- package/dist/{chunk-CXDMZT45.cjs → chunk-PY7XAG4D.cjs} +27 -4
- package/dist/chunk-PY7XAG4D.cjs.map +1 -0
- package/dist/{chunk-5H7SAEQO.js → chunk-QKFJDQEK.js} +3 -3
- package/dist/{chunk-5H7SAEQO.js.map → chunk-QKFJDQEK.js.map} +1 -1
- package/dist/{chunk-XJTFZLWH.cjs → chunk-QO6PRHDX.cjs} +2 -2
- package/dist/{chunk-XJTFZLWH.cjs.map → chunk-QO6PRHDX.cjs.map} +1 -1
- package/dist/{chunk-ONNY7UO4.js → chunk-QSVQABXD.js} +4 -4
- package/dist/{chunk-ONNY7UO4.js.map → chunk-QSVQABXD.js.map} +1 -1
- package/dist/{chunk-OHDIJOGG.js → chunk-RD3JDFYJ.js} +3 -3
- package/dist/{chunk-OHDIJOGG.js.map → chunk-RD3JDFYJ.js.map} +1 -1
- package/dist/{chunk-4SM3I7WE.cjs → chunk-RXPEZXAB.cjs} +67 -38
- package/dist/chunk-RXPEZXAB.cjs.map +1 -0
- package/dist/{chunk-VTR2KGLY.cjs → chunk-S3BCHPXT.cjs} +9 -9
- package/dist/{chunk-VTR2KGLY.cjs.map → chunk-S3BCHPXT.cjs.map} +1 -1
- package/dist/{chunk-KU3XRHWA.js → chunk-TZX76ZNZ.js} +67 -38
- package/dist/chunk-TZX76ZNZ.js.map +1 -0
- package/dist/chunk-VNAREBLV.cjs +17 -0
- package/dist/{chunk-SNEQXSC5.cjs.map → chunk-VNAREBLV.cjs.map} +1 -1
- package/dist/{chunk-MXQ7J4BB.js → chunk-VSVGMMNO.js} +361 -284
- package/dist/chunk-VSVGMMNO.js.map +1 -0
- package/dist/{chunk-Q7G56ZIO.js → chunk-WUBMDOTG.js} +3 -3
- package/dist/{chunk-Q7G56ZIO.js.map → chunk-WUBMDOTG.js.map} +1 -1
- package/dist/{chunk-DGRXAIWK.js → chunk-X5YM3KXY.js} +27 -4
- package/dist/chunk-X5YM3KXY.js.map +1 -0
- package/dist/chunk-XCP454Q6.js +263 -0
- package/dist/chunk-XCP454Q6.js.map +1 -0
- package/dist/{chunk-I3DQXUSC.js → chunk-Y6DFMDMH.js} +3 -3
- package/dist/{chunk-I3DQXUSC.js.map → chunk-Y6DFMDMH.js.map} +1 -1
- package/dist/{chunk-D25WH7MH.js → chunk-ZX2XRFE5.js} +6 -6
- package/dist/{chunk-D25WH7MH.js.map → chunk-ZX2XRFE5.js.map} +1 -1
- package/dist/{collabKit-Q4A36LDA.cjs → collabKit-GCRHP25F.cjs} +3 -3
- package/dist/{collabKit-Q4A36LDA.cjs.map → collabKit-GCRHP25F.cjs.map} +1 -1
- package/dist/{collabKit-A643VH2I.js → collabKit-SJPDPXU4.js} +3 -3
- package/dist/{collabKit-A643VH2I.js.map → collabKit-SJPDPXU4.js.map} +1 -1
- package/dist/components/Accordion/index.cjs +1 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/Alert/index.cjs +1 -0
- package/dist/components/Alert/index.js +1 -0
- package/dist/components/AlertDialog/index.cjs +5 -4
- package/dist/components/AlertDialog/index.js +4 -3
- package/dist/components/AudioPlayer/index.cjs +1 -0
- package/dist/components/AudioPlayer/index.js +1 -0
- package/dist/components/AudioRecorder/index.cjs +1 -0
- package/dist/components/AudioRecorder/index.js +1 -0
- package/dist/components/Autocomplete/index.cjs +1 -0
- package/dist/components/Autocomplete/index.js +1 -0
- package/dist/components/Avatar/index.cjs +1 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Badge/index.cjs +1 -0
- package/dist/components/Badge/index.js +1 -0
- package/dist/components/Breadcrumb/index.cjs +1 -0
- package/dist/components/Breadcrumb/index.js +1 -0
- package/dist/components/Button/index.cjs +1 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/Card/index.cjs +1 -0
- package/dist/components/Card/index.js +1 -0
- package/dist/components/Checkbox/index.cjs +1 -0
- package/dist/components/Checkbox/index.js +1 -0
- package/dist/components/ClampedText/index.cjs +1 -0
- package/dist/components/ClampedText/index.js +1 -0
- package/dist/components/CollabStatus/index.cjs +1 -0
- package/dist/components/CollabStatus/index.js +1 -0
- package/dist/components/Collapsible/index.cjs +7 -4
- package/dist/components/Collapsible/index.js +4 -1
- package/dist/components/CopyButton/index.cjs +1 -0
- package/dist/components/CopyButton/index.js +1 -0
- package/dist/components/CountryCodeDropdown/index.cjs +1 -0
- package/dist/components/CountryCodeDropdown/index.js +1 -0
- package/dist/components/CustomizableDashboard/index.cjs +1 -0
- package/dist/components/CustomizableDashboard/index.js +1 -0
- package/dist/components/DateInput/index.cjs +1 -0
- package/dist/components/DateInput/index.js +1 -0
- package/dist/components/Dropdown/index.cjs +10 -8
- package/dist/components/Dropdown/index.js +3 -1
- package/dist/components/FilterSummaryBar/index.cjs +1 -0
- package/dist/components/FilterSummaryBar/index.js +1 -0
- package/dist/components/FloatingWindow/index.cjs +1 -0
- package/dist/components/FloatingWindow/index.js +1 -0
- package/dist/components/FreshnessBadge/index.cjs +1 -0
- package/dist/components/FreshnessBadge/index.js +1 -0
- package/dist/components/GlossaryTooltip/index.cjs +1 -0
- package/dist/components/GlossaryTooltip/index.js +1 -0
- package/dist/components/Input/index.cjs +1 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +6 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +4 -3
- package/dist/components/Label/index.cjs +1 -0
- package/dist/components/Label/index.js +1 -0
- package/dist/components/Markdown/index.cjs +6 -5
- package/dist/components/Markdown/index.js +2 -1
- package/dist/components/MediaEditor/index.cjs +10 -9
- package/dist/components/MediaEditor/index.js +5 -4
- package/dist/components/MediaPlayer/index.cjs +1 -0
- package/dist/components/MediaPlayer/index.js +1 -0
- package/dist/components/Modal/index.cjs +11 -10
- package/dist/components/Modal/index.js +3 -2
- package/dist/components/Pagination/index.cjs +1 -0
- package/dist/components/Pagination/index.js +1 -0
- package/dist/components/PhoneInput/index.cjs +1 -0
- package/dist/components/PhoneInput/index.js +1 -0
- package/dist/components/Progress/index.cjs +1 -0
- package/dist/components/Progress/index.js +1 -0
- package/dist/components/Q/index.cjs +1 -0
- package/dist/components/Q/index.js +1 -0
- package/dist/components/QuickAction/index.cjs +1 -0
- package/dist/components/QuickAction/index.js +1 -0
- package/dist/components/Radio/index.cjs +1 -0
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/ReadingProgressBar/index.cjs +1 -0
- package/dist/components/ReadingProgressBar/index.js +1 -0
- package/dist/components/RecordButton/index.cjs +1 -0
- package/dist/components/RecordButton/index.js +1 -0
- package/dist/components/RichTextEditor/index.cjs +7 -5
- package/dist/components/RichTextEditor/index.js +4 -2
- package/dist/components/SchedulePicker/index.cjs +1 -0
- package/dist/components/SchedulePicker/index.js +1 -0
- package/dist/components/ScrollArea/index.cjs +1 -0
- package/dist/components/ScrollArea/index.js +1 -0
- package/dist/components/SectionSpyNav/index.cjs +1 -0
- package/dist/components/SectionSpyNav/index.js +1 -0
- package/dist/components/Select/index.cjs +4 -3
- package/dist/components/Select/index.js +2 -1
- package/dist/components/Separator/index.cjs +1 -0
- package/dist/components/Separator/index.js +1 -0
- package/dist/components/Sheet/index.cjs +1 -0
- package/dist/components/Sheet/index.js +1 -0
- package/dist/components/Skeleton/index.cjs +1 -0
- package/dist/components/Skeleton/index.js +1 -0
- package/dist/components/Slider/index.cjs +1 -0
- package/dist/components/Slider/index.js +1 -0
- package/dist/components/SourceTip/index.cjs +1 -0
- package/dist/components/SourceTip/index.js +1 -0
- package/dist/components/Sparkline/index.cjs +1 -0
- package/dist/components/Sparkline/index.js +1 -0
- package/dist/components/Spinner/index.cjs +1 -0
- package/dist/components/Spinner/index.js +1 -0
- package/dist/components/SuperChat/index.cjs +41 -17
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +20 -7
- package/dist/components/SuperChat/index.d.ts +20 -7
- package/dist/components/SuperChat/index.js +36 -12
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +12 -4
- package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +3 -3
- package/dist/components/SuperChat/plugins/index.d.ts +3 -3
- package/dist/components/SuperChat/plugins/index.js +11 -3
- package/dist/components/SuperChat/plugins/index.js.map +1 -1
- package/dist/components/Switch/index.cjs +1 -0
- package/dist/components/Switch/index.js +1 -0
- package/dist/components/Table/index.cjs +1 -0
- package/dist/components/Table/index.js +1 -0
- package/dist/components/Tabs/index.cjs +1 -0
- package/dist/components/Tabs/index.js +1 -0
- package/dist/components/Text/index.cjs +1 -0
- package/dist/components/Text/index.js +1 -0
- package/dist/components/Textarea/index.cjs +1 -0
- package/dist/components/Textarea/index.js +1 -0
- package/dist/components/ThemeProvider/index.cjs +1 -0
- package/dist/components/ThemeProvider/index.js +1 -0
- package/dist/components/Toggle/index.cjs +1 -0
- package/dist/components/Toggle/index.js +1 -0
- package/dist/components/Tooltip/index.cjs +1 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/TranscriptView/index.cjs +1 -0
- package/dist/components/TranscriptView/index.js +1 -0
- package/dist/components/VisuallyHidden/index.cjs +1 -0
- package/dist/components/VisuallyHidden/index.js +1 -0
- package/dist/datavis.cjs +13 -8
- package/dist/datavis.cjs.map +1 -1
- package/dist/datavis.d.cts +647 -22
- package/dist/datavis.d.ts +647 -22
- package/dist/datavis.js +6 -5
- package/dist/datavis.js.map +1 -1
- package/dist/{default-BTEIFIZJ.cjs → default-CCMUBXP6.cjs} +3 -2
- package/dist/{default-BTEIFIZJ.cjs.map → default-CCMUBXP6.cjs.map} +1 -1
- package/dist/default-N2LW7ZFU.js +4 -0
- package/dist/{default-ORBRVZRZ.js.map → default-N2LW7ZFU.js.map} +1 -1
- package/dist/{enterprise-health-UDI25OCV.cjs → enterprise-health-75VYWAVG.cjs} +3 -2
- package/dist/{enterprise-health-UDI25OCV.cjs.map → enterprise-health-75VYWAVG.cjs.map} +1 -1
- package/dist/enterprise-health-CWLUB77O.js +4 -0
- package/dist/{enterprise-health-ORQQOLM3.js.map → enterprise-health-CWLUB77O.js.map} +1 -1
- package/dist/esheet.cjs +8 -7
- package/dist/esheet.cjs.map +1 -1
- package/dist/esheet.js +5 -4
- package/dist/esheet.js.map +1 -1
- package/dist/{hey-buddy-CLUVAY2X.cjs → hey-buddy-INNUFFJJ.cjs} +3 -2
- package/dist/hey-buddy-INNUFFJJ.cjs.map +1 -0
- package/dist/{hey-buddy-NMSWZ4TN.js → hey-buddy-V6FC5UKB.js} +3 -2
- package/dist/hey-buddy-V6FC5UKB.js.map +1 -0
- package/dist/hooks/index.cjs +14 -13
- package/dist/hooks/index.js +2 -1
- package/dist/index.cjs +753 -1703
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +347 -347
- package/dist/index.d.ts +347 -347
- package/dist/index.js +465 -1410
- package/dist/index.js.map +1 -1
- package/dist/kerebron.cjs +2 -1
- package/dist/kerebron.cjs.map +1 -1
- package/dist/kerebron.js +2 -1
- package/dist/kerebron.js.map +1 -1
- package/dist/{mieweb-6JCRWKSO.cjs → mieweb-72YOL44I.cjs} +3 -2
- package/dist/{mieweb-6JCRWKSO.cjs.map → mieweb-72YOL44I.cjs.map} +1 -1
- package/dist/mieweb-EZDLSSA6.js +4 -0
- package/dist/{mieweb-GIKY6EMN.js.map → mieweb-EZDLSSA6.js.map} +1 -1
- package/dist/motion.cjs +8 -7
- package/dist/motion.cjs.map +1 -1
- package/dist/motion.d.cts +1 -1
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +3 -2
- package/dist/motion.js.map +1 -1
- package/dist/{nitroTableGrid-SIMT7635.js → nitroTableGrid-LVYKKCGF.js} +5 -4
- package/dist/nitroTableGrid-LVYKKCGF.js.map +1 -0
- package/dist/{nitroTableGrid-3J2GY6CK.cjs → nitroTableGrid-SQADULEY.cjs} +5 -4
- package/dist/nitroTableGrid-SQADULEY.cjs.map +1 -0
- package/dist/q.cjs +1 -0
- package/dist/q.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +5 -4
- package/dist/tailwind-preset.js +2 -1
- package/dist/{types-DZDroUW8.d.cts → types-B97JNRNQ.d.cts} +1 -1
- package/dist/{types-B2RLmdVd.d.ts → types-CnPEwzlp.d.cts} +6 -2
- package/dist/{types-B2RLmdVd.d.cts → types-CnPEwzlp.d.ts} +6 -2
- package/dist/{types-9vK_YdEb.d.ts → types-gZXrfLj6.d.ts} +1 -1
- package/dist/utils/index.cjs +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/{waggleline-I7QWD3YX.cjs → waggleline-5CBT4MNN.cjs} +3 -2
- package/dist/{waggleline-I7QWD3YX.cjs.map → waggleline-5CBT4MNN.cjs.map} +1 -1
- package/dist/waggleline-JMPCNV3J.js +4 -0
- package/dist/{waggleline-2MLRNVCV.js.map → waggleline-JMPCNV3J.js.map} +1 -1
- package/dist/webchart-2CVQ2TT3.js +4 -0
- package/dist/{webchart-72YMJ45P.js.map → webchart-2CVQ2TT3.js.map} +1 -1
- package/dist/{webchart-37OYZ42V.cjs → webchart-AXXOQHU6.cjs} +3 -2
- package/dist/{webchart-37OYZ42V.cjs.map → webchart-AXXOQHU6.cjs.map} +1 -1
- package/package.json +9 -14
- package/dist/chunk-4SM3I7WE.cjs.map +0 -1
- package/dist/chunk-5BVFVXHN.cjs +0 -1244
- package/dist/chunk-5BVFVXHN.cjs.map +0 -1
- package/dist/chunk-6XDPJWSC.cjs.map +0 -1
- package/dist/chunk-BJKAVWED.js.map +0 -1
- package/dist/chunk-BN75TLUN.cjs +0 -163
- package/dist/chunk-BN75TLUN.cjs.map +0 -1
- package/dist/chunk-CXDMZT45.cjs.map +0 -1
- package/dist/chunk-CYMZ2QS5.js +0 -15
- package/dist/chunk-DFYMIRMW.js.map +0 -1
- package/dist/chunk-DGRXAIWK.js.map +0 -1
- package/dist/chunk-FQBTGS3E.cjs.map +0 -1
- package/dist/chunk-IUDY6S7I.cjs.map +0 -1
- package/dist/chunk-KU3XRHWA.js.map +0 -1
- package/dist/chunk-MXQ7J4BB.js.map +0 -1
- package/dist/chunk-O6GJ4IYS.js +0 -1210
- package/dist/chunk-O6GJ4IYS.js.map +0 -1
- package/dist/chunk-ODYQYLO2.js.map +0 -1
- package/dist/chunk-SNEQXSC5.cjs +0 -17
- package/dist/chunk-VJOVJTFP.cjs +0 -370
- package/dist/chunk-VJOVJTFP.cjs.map +0 -1
- package/dist/chunk-WYMO3IIK.js +0 -136
- package/dist/chunk-WYMO3IIK.js.map +0 -1
- package/dist/chunk-XEEVDZDK.cjs.map +0 -1
- package/dist/chunk-YBLIDESO.js +0 -365
- package/dist/chunk-YBLIDESO.js.map +0 -1
- package/dist/default-ORBRVZRZ.js +0 -3
- package/dist/enterprise-health-ORQQOLM3.js +0 -3
- package/dist/hey-buddy-CLUVAY2X.cjs.map +0 -1
- package/dist/hey-buddy-NMSWZ4TN.js.map +0 -1
- package/dist/mieweb-GIKY6EMN.js +0 -3
- package/dist/nitroTableGrid-3J2GY6CK.cjs.map +0 -1
- package/dist/nitroTableGrid-SIMT7635.js.map +0 -1
- package/dist/waggleline-2MLRNVCV.js +0 -3
- package/dist/webchart-72YMJ45P.js +0 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-
|
|
3
|
-
export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-
|
|
4
|
-
import { b as AIRenderTextContent } from '../../types-
|
|
5
|
-
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-
|
|
2
|
+
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-B97JNRNQ.cjs';
|
|
3
|
+
export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-B97JNRNQ.cjs';
|
|
4
|
+
import { b as AIRenderTextContent } from '../../types-CnPEwzlp.cjs';
|
|
5
|
+
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-CnPEwzlp.cjs';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
interface SuperChatProps {
|
|
@@ -19,7 +19,8 @@ interface SuperChatProps {
|
|
|
19
19
|
/** Disable the composer. */
|
|
20
20
|
readOnly?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* File categories the composer accepts for paste and the
|
|
22
|
+
* File categories the composer accepts for paste, drag-and-drop, and the
|
|
23
|
+
* file picker in the `+` → “Attach files” menu.
|
|
23
24
|
* Defaults to `['image', 'video', 'audio', 'pdf']`.
|
|
24
25
|
*/
|
|
25
26
|
acceptedFileTypes?: AttachmentKind[];
|
|
@@ -47,11 +48,17 @@ interface SuperChatProps {
|
|
|
47
48
|
defaultCopyFormat?: SuperChatCopyFormat;
|
|
48
49
|
/** Additional class name. */
|
|
49
50
|
className?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Fired when the local user sends a message. If the callback returns a
|
|
53
|
+
* promise it is awaited, and a rejected send restores the typed text into
|
|
54
|
+
* the composer (the declared `void` return keeps every previously valid
|
|
55
|
+
* callback assignable).
|
|
56
|
+
*/
|
|
50
57
|
onMessageSent?: (text: string, meta: {
|
|
51
58
|
conversation: SuperChatConversation;
|
|
52
59
|
mentions: string[];
|
|
53
60
|
attachments: ComposerAttachment[];
|
|
54
|
-
}) => void
|
|
61
|
+
}) => void | Promise<void>;
|
|
55
62
|
/**
|
|
56
63
|
* Fired when the local user saves an edit to one of their own messages.
|
|
57
64
|
* Providing this enables the inline "Edit" affordance on self-authored
|
|
@@ -110,7 +117,8 @@ interface SuperChatInboxProps {
|
|
|
110
117
|
/** Disable the composer. */
|
|
111
118
|
readOnly?: boolean;
|
|
112
119
|
/**
|
|
113
|
-
* File categories the composer accepts for paste and the
|
|
120
|
+
* File categories the composer accepts for paste, drag-and-drop, and the
|
|
121
|
+
* file picker in the `+` → “Attach files” menu.
|
|
114
122
|
* Defaults to `['image', 'video', 'audio', 'pdf']`.
|
|
115
123
|
*/
|
|
116
124
|
acceptedFileTypes?: AttachmentKind[];
|
|
@@ -126,6 +134,11 @@ interface SuperChatInboxProps {
|
|
|
126
134
|
defaultCopyFormat?: SuperChatCopyFormat;
|
|
127
135
|
/** Additional class name. */
|
|
128
136
|
className?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Fired when the local user sends a message. If the callback returns a
|
|
139
|
+
* promise it is awaited, and a rejected send restores the typed text into
|
|
140
|
+
* the composer (same contract as {@link SuperChatProps.onMessageSent}).
|
|
141
|
+
*/
|
|
129
142
|
onMessageSent?: (text: string, meta: {
|
|
130
143
|
conversation: SuperChatConversation;
|
|
131
144
|
mentions: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-
|
|
3
|
-
export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-
|
|
4
|
-
import { b as AIRenderTextContent } from '../../types-
|
|
5
|
-
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-
|
|
2
|
+
import { S as SuperChatConversation, a as SuperChatRenderPlugin, A as AttachmentKind, b as SuperChatLinkBuilder, c as SuperChatCopyFormat, C as ComposerAttachment, d as SuperChatRef } from '../../types-gZXrfLj6.js';
|
|
3
|
+
export { G as GenUIBlockPayload, e as GenUIPrefetchPolicy, f as GenUIRegistry, g as GenUIWidgetEntry, h as GenUIWidgetProps, P as Participant, i as ParticipantKind, j as ParticipantStatus, k as StandardSchemaV1, l as SuperChatChannel, m as SuperChatItemType, n as SuperChatMessage, o as SuperChatPluggable, p as SuperChatPluggableList } from '../../types-gZXrfLj6.js';
|
|
4
|
+
import { b as AIRenderTextContent } from '../../types-CnPEwzlp.js';
|
|
5
|
+
export { A as AIMessageContent, a as AIMessageStatus, c as AITextRenderContext, M as MCPResourceLink } from '../../types-CnPEwzlp.js';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
interface SuperChatProps {
|
|
@@ -19,7 +19,8 @@ interface SuperChatProps {
|
|
|
19
19
|
/** Disable the composer. */
|
|
20
20
|
readOnly?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* File categories the composer accepts for paste and the
|
|
22
|
+
* File categories the composer accepts for paste, drag-and-drop, and the
|
|
23
|
+
* file picker in the `+` → “Attach files” menu.
|
|
23
24
|
* Defaults to `['image', 'video', 'audio', 'pdf']`.
|
|
24
25
|
*/
|
|
25
26
|
acceptedFileTypes?: AttachmentKind[];
|
|
@@ -47,11 +48,17 @@ interface SuperChatProps {
|
|
|
47
48
|
defaultCopyFormat?: SuperChatCopyFormat;
|
|
48
49
|
/** Additional class name. */
|
|
49
50
|
className?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Fired when the local user sends a message. If the callback returns a
|
|
53
|
+
* promise it is awaited, and a rejected send restores the typed text into
|
|
54
|
+
* the composer (the declared `void` return keeps every previously valid
|
|
55
|
+
* callback assignable).
|
|
56
|
+
*/
|
|
50
57
|
onMessageSent?: (text: string, meta: {
|
|
51
58
|
conversation: SuperChatConversation;
|
|
52
59
|
mentions: string[];
|
|
53
60
|
attachments: ComposerAttachment[];
|
|
54
|
-
}) => void
|
|
61
|
+
}) => void | Promise<void>;
|
|
55
62
|
/**
|
|
56
63
|
* Fired when the local user saves an edit to one of their own messages.
|
|
57
64
|
* Providing this enables the inline "Edit" affordance on self-authored
|
|
@@ -110,7 +117,8 @@ interface SuperChatInboxProps {
|
|
|
110
117
|
/** Disable the composer. */
|
|
111
118
|
readOnly?: boolean;
|
|
112
119
|
/**
|
|
113
|
-
* File categories the composer accepts for paste and the
|
|
120
|
+
* File categories the composer accepts for paste, drag-and-drop, and the
|
|
121
|
+
* file picker in the `+` → “Attach files” menu.
|
|
114
122
|
* Defaults to `['image', 'video', 'audio', 'pdf']`.
|
|
115
123
|
*/
|
|
116
124
|
acceptedFileTypes?: AttachmentKind[];
|
|
@@ -126,6 +134,11 @@ interface SuperChatInboxProps {
|
|
|
126
134
|
defaultCopyFormat?: SuperChatCopyFormat;
|
|
127
135
|
/** Additional class name. */
|
|
128
136
|
className?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Fired when the local user sends a message. If the callback returns a
|
|
139
|
+
* promise it is awaited, and a rejected send restores the typed text into
|
|
140
|
+
* the composer (same contract as {@link SuperChatProps.onMessageSent}).
|
|
141
|
+
*/
|
|
129
142
|
onMessageSent?: (text: string, meta: {
|
|
130
143
|
conversation: SuperChatConversation;
|
|
131
144
|
mentions: string[];
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { TextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
2
2
|
export { TextRenderContext, useTextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
3
3
|
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-22CYDCXA.js';
|
|
4
|
-
import {
|
|
5
|
-
import { Dropdown, DropdownSubmenu, DropdownItem } from '../../chunk-
|
|
4
|
+
import { notifyComposerMigrationOnce, ChatComposer } from '../../chunk-IIFQ6BSJ.js';
|
|
5
|
+
import { Dropdown, DropdownSubmenu, DropdownItem } from '../../chunk-TZX76ZNZ.js';
|
|
6
6
|
import { Avatar } from '../../chunk-HZ4MBUC3.js';
|
|
7
7
|
import '../../chunk-IQ4KQJAO.js';
|
|
8
8
|
import '../../chunk-VVDE4CHU.js';
|
|
9
9
|
import '../../chunk-6NZXWKUE.js';
|
|
10
10
|
import '../../chunk-3IMM2PM4.js';
|
|
11
|
+
import '../../chunk-BKSPDTX4.js';
|
|
11
12
|
import { Badge } from '../../chunk-BMSG4NBH.js';
|
|
13
|
+
import '../../chunk-XCP454Q6.js';
|
|
12
14
|
import { cn } from '../../chunk-TQONQSJO.js';
|
|
13
15
|
import '../../chunk-T4ME7QCT.js';
|
|
14
16
|
import '../../chunk-62ZOA6PX.js';
|
|
15
17
|
import '../../chunk-WSNMQQ4P.js';
|
|
18
|
+
import '../../chunk-PX6F3LHL.js';
|
|
16
19
|
import * as React2 from 'react';
|
|
17
20
|
import Markdown, { defaultUrlTransform } from 'react-markdown';
|
|
18
21
|
import remarkGfm from 'remark-gfm';
|
|
@@ -1108,6 +1111,9 @@ function SuperChat({
|
|
|
1108
1111
|
onBack
|
|
1109
1112
|
}) {
|
|
1110
1113
|
const headingId = React2.useId();
|
|
1114
|
+
React2.useEffect(() => {
|
|
1115
|
+
notifyComposerMigrationOnce("SuperChat");
|
|
1116
|
+
}, []);
|
|
1111
1117
|
const renderText = React2.useMemo(
|
|
1112
1118
|
() => renderTextContent ?? createMarkdownRenderer({
|
|
1113
1119
|
plugins: renderPlugins,
|
|
@@ -1158,14 +1164,29 @@ function SuperChat({
|
|
|
1158
1164
|
() => acceptTokensFor(acceptedFileTypes),
|
|
1159
1165
|
[acceptedFileTypes]
|
|
1160
1166
|
);
|
|
1167
|
+
const [draft, setDraft] = React2.useState("");
|
|
1168
|
+
const draftEpochRef = React2.useRef(0);
|
|
1169
|
+
const handleDraftChange = React2.useCallback((value) => {
|
|
1170
|
+
draftEpochRef.current += 1;
|
|
1171
|
+
setDraft(value);
|
|
1172
|
+
}, []);
|
|
1161
1173
|
const handleComposerSend = React2.useCallback(
|
|
1162
1174
|
async (message) => {
|
|
1163
|
-
const
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1175
|
+
const epoch = draftEpochRef.current;
|
|
1176
|
+
try {
|
|
1177
|
+
const text = message.content;
|
|
1178
|
+
const mentions = detectMentions(text, conversation.participants);
|
|
1179
|
+
const attachments = await filesToComposerAttachments(
|
|
1180
|
+
message.attachments ?? []
|
|
1181
|
+
);
|
|
1182
|
+
await Promise.resolve(
|
|
1183
|
+
onMessageSent?.(text, { conversation, mentions, attachments })
|
|
1184
|
+
);
|
|
1185
|
+
} catch {
|
|
1186
|
+
if (draftEpochRef.current === epoch) {
|
|
1187
|
+
setDraft(message.content);
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1169
1190
|
},
|
|
1170
1191
|
[conversation, onMessageSent]
|
|
1171
1192
|
);
|
|
@@ -1297,16 +1318,19 @@ function SuperChat({
|
|
|
1297
1318
|
}
|
|
1298
1319
|
),
|
|
1299
1320
|
/* @__PURE__ */ jsx(
|
|
1300
|
-
|
|
1321
|
+
ChatComposer,
|
|
1301
1322
|
{
|
|
1323
|
+
value: draft,
|
|
1324
|
+
onValueChange: handleDraftChange,
|
|
1302
1325
|
onSend: handleComposerSend,
|
|
1303
1326
|
disabled: readOnly,
|
|
1304
1327
|
placeholder: readOnly ? "Read-only conversation" : "Type a message\u2026 use @ to address an agent",
|
|
1305
1328
|
mentionOptions,
|
|
1306
|
-
|
|
1307
|
-
showCameraButton: false,
|
|
1329
|
+
allowAttachments: !readOnly,
|
|
1308
1330
|
acceptedFileTypes: composerAccept,
|
|
1309
|
-
|
|
1331
|
+
maxFileSize: 25 * 1024 * 1024,
|
|
1332
|
+
maxLength: 1e5,
|
|
1333
|
+
inputLabel: "Message"
|
|
1310
1334
|
}
|
|
1311
1335
|
)
|
|
1312
1336
|
]
|