impact-ui 5.0.4-chatbot.1 → 5.0.4-chatbot.2
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/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +2 -4
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts +79 -185
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotComposer.d.ts +1 -1
- package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotComposer.js +107 -5
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +1 -1
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotGreetingHeader.js +21 -8
- package/dist/components/Chatbot/greetingWeather.d.ts +23 -0
- package/dist/components/Chatbot/greetingWeather.d.ts.map +1 -0
- package/dist/components/Chatbot/greetingWeather.js +81 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts +2 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts.map +1 -0
- package/dist/components/Chatbot/index.d.ts +5 -2
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +355 -436
- package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -1
- package/dist/components/Chatbot/irisConversationThread.js +56 -15
- package/dist/components/Chatbot/irisMenuScreen.d.ts +1 -1
- package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/irisMenuScreen.js +157 -111
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +137 -29
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/FilterSlider.js +1 -1
- package/dist/components/FiltersStrip/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.js +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Menu/IconMenuItem.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.js +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/NewCreateItemFlow/index.js +1 -1
- package/dist/components/NewDynamicLayout/index.js +1 -1
- package/dist/components/OnboardingTour/index.js +1 -1
- package/dist/components/OnboardingTour/productTourList.js +1 -1
- package/dist/components/OnboardingTour/tooltipCard.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Prompt/index.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
- package/dist/components/TableV36/index.js +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/hooks/useDraggableResizable.d.ts +11 -1
- package/dist/hooks/useDraggableResizable.d.ts.map +1 -1
- package/dist/hooks/useDraggableResizable.js +73 -59
- package/dist/locales/de-DE.json.d.ts +1 -32
- package/dist/locales/de-DE.json.js +1 -32
- package/dist/locales/en-US.json.d.ts +1 -32
- package/dist/locales/en-US.json.js +1 -32
- package/dist/locales/es-ES.json.d.ts +1 -32
- package/dist/locales/es-ES.json.js +1 -32
- package/dist/mcp-component-registry.json +49 -321
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +13 -5
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/stories/chatBotApiMock.d.ts +2 -387
- package/dist/stories/chatBotApiMock.d.ts.map +1 -1
- package/dist/styles/style.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/MoreVert.js +0 -4
- package/dist/_virtual/RemoveRounded.js +0 -4
- package/dist/_virtual/SaveOutlined.js +0 -4
- package/dist/_virtual/ThumbDownOutlined.js +0 -4
- package/dist/_virtual/ThumbUpOutlined.js +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/bookMarkPanel.js +0 -64
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
- package/dist/components/Chatbot/chatInput.d.ts +0 -4
- package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
- package/dist/components/Chatbot/chatInput.js +0 -198
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +0 -248
- package/dist/components/Chatbot/constant.d.ts +0 -6
- package/dist/components/Chatbot/constant.d.ts.map +0 -1
- package/dist/components/Chatbot/constant.js +0 -27
- package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
- package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/conversationScreen.js +0 -209
- package/dist/components/Chatbot/customScreen.d.ts +0 -4
- package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/customScreen.js +0 -66
- package/dist/components/Chatbot/historyPanel.d.ts +0 -4
- package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/historyPanel.js +0 -374
- package/dist/components/Chatbot/utils.d.ts +0 -5
- package/dist/components/Chatbot/utils.d.ts.map +0 -1
- package/dist/components/Chatbot/utils.js +0 -29
- package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
- package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/ThumbDownOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/ThumbUpOutlined.js +0 -17
- package/dist/utils/onResize.js +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-17T10:08:50.446Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"Menu": {
|
|
6
6
|
"title": "Components/Menu",
|
|
@@ -1638,48 +1638,41 @@
|
|
|
1638
1638
|
"ChatBot": {
|
|
1639
1639
|
"title": "Components/ChatBot",
|
|
1640
1640
|
"category": "Components",
|
|
1641
|
-
"description": "# ChatBot / Iris\n\nHost-driven chat shell
|
|
1641
|
+
"description": "# ChatBot / Iris\n\nHost-driven Iris chat shell: greeting, suggested prompts, conversation thread with thinking / citations, hamburger menu (recent chats + artifacts), and assistant feedback actions. Stories use \\",
|
|
1642
1642
|
"examples": [],
|
|
1643
1643
|
"props": {
|
|
1644
|
-
"
|
|
1645
|
-
"description": "
|
|
1646
|
-
"type": "string",
|
|
1647
|
-
"required": true
|
|
1648
|
-
},
|
|
1649
|
-
"className": {
|
|
1650
|
-
"description": "Extra CSS class on the root chatbot container.",
|
|
1644
|
+
"userName": {
|
|
1645
|
+
"description": "Display name used in greeting copy (e.g.",
|
|
1651
1646
|
"type": "string",
|
|
1652
1647
|
"required": true
|
|
1653
1648
|
},
|
|
1654
|
-
"
|
|
1655
|
-
"description": "
|
|
1656
|
-
"type": "
|
|
1649
|
+
"greetingWeather": {
|
|
1650
|
+
"description": "Weather for the greeting emoji (combined with local time). Host-driven, or leave unset and enable `autoGreetingWeather`. Ignored when `greetingIcon` is set.",
|
|
1651
|
+
"type": "unknown",
|
|
1652
|
+
"options": [
|
|
1653
|
+
"clear",
|
|
1654
|
+
"partlyCloudy",
|
|
1655
|
+
"cloudy",
|
|
1656
|
+
"rain",
|
|
1657
|
+
"snow",
|
|
1658
|
+
"storm"
|
|
1659
|
+
],
|
|
1657
1660
|
"required": true
|
|
1658
1661
|
},
|
|
1659
|
-
"
|
|
1660
|
-
"description": "",
|
|
1661
|
-
"type": "
|
|
1662
|
-
"
|
|
1662
|
+
"autoGreetingWeather": {
|
|
1663
|
+
"description": "Opt-in: fetch weather from Open-Meteo using browser geolocation when `greetingWeather` / `greetingIcon` are unset (location permission prompt).",
|
|
1664
|
+
"type": "boolean",
|
|
1665
|
+
"defaultValue": "false",
|
|
1666
|
+
"required": false
|
|
1663
1667
|
},
|
|
1664
|
-
"
|
|
1665
|
-
"description": "
|
|
1668
|
+
"greetingIcon": {
|
|
1669
|
+
"description": "Override the greeting trailing icon entirely (emoji or short text).",
|
|
1666
1670
|
"type": "string",
|
|
1667
1671
|
"required": true
|
|
1668
1672
|
},
|
|
1669
1673
|
"isChatBotOpen": {
|
|
1670
1674
|
"description": "**Required.** Controls whether the chatbot panel is visible.",
|
|
1671
1675
|
"type": "boolean",
|
|
1672
|
-
"defaultValue": "—",
|
|
1673
|
-
"required": false
|
|
1674
|
-
},
|
|
1675
|
-
"setIsChatBotOpen": {
|
|
1676
|
-
"description": "**Required.** Setter for open state (host-controlled).",
|
|
1677
|
-
"type": "(open: boolean) => void",
|
|
1678
|
-
"required": true
|
|
1679
|
-
},
|
|
1680
|
-
"onClose": {
|
|
1681
|
-
"description": "Called when the user closes the chatbot (X / close control).",
|
|
1682
|
-
"type": "() => void",
|
|
1683
1676
|
"required": true
|
|
1684
1677
|
},
|
|
1685
1678
|
"isFullWidth": {
|
|
@@ -1694,59 +1687,22 @@
|
|
|
1694
1687
|
"defaultValue": "false",
|
|
1695
1688
|
"required": false
|
|
1696
1689
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"description": "
|
|
1699
|
-
"type": "() => void",
|
|
1700
|
-
"required": true
|
|
1701
|
-
},
|
|
1702
|
-
"onChatBotResize": {
|
|
1703
|
-
"description": "Called with the new width when the panel is resized.",
|
|
1704
|
-
"type": "(width: number) => void",
|
|
1705
|
-
"required": true
|
|
1706
|
-
},
|
|
1707
|
-
"footerText": {
|
|
1708
|
-
"description": "Footer disclaimer. Defaults to `chatBot.footerText` (classic) or `chatBot.irisFooterText` (Iris / newChatScreen).",
|
|
1709
|
-
"type": "string",
|
|
1710
|
-
"required": true
|
|
1711
|
-
},
|
|
1712
|
-
"onFooterLinkClick": {
|
|
1713
|
-
"description": "Called when the footer “learn more” (or host link) is clicked.",
|
|
1714
|
-
"type": "() => void",
|
|
1715
|
-
"required": true
|
|
1716
|
-
},
|
|
1717
|
-
"landingScreen": {
|
|
1718
|
-
"description": "Show the ChatBot landing intro instead of conversation / Iris greeting.",
|
|
1690
|
+
"defaultFloating": {
|
|
1691
|
+
"description": "Start in floating bottom-bar mode — compact composer at bottom center with aurora glow.",
|
|
1719
1692
|
"type": "boolean",
|
|
1720
1693
|
"defaultValue": "false",
|
|
1721
1694
|
"required": false
|
|
1722
1695
|
},
|
|
1723
|
-
"
|
|
1724
|
-
"description": "
|
|
1725
|
-
"type": "
|
|
1726
|
-
"defaultValue": "false",
|
|
1727
|
-
"required": false
|
|
1728
|
-
},
|
|
1729
|
-
"isCustomScreen": {
|
|
1730
|
-
"description": "Render `customScreenJsx` instead of the built-in conversation / Iris screens.",
|
|
1731
|
-
"type": "boolean",
|
|
1732
|
-
"defaultValue": "false",
|
|
1733
|
-
"required": false
|
|
1734
|
-
},
|
|
1735
|
-
"customScreenJsx": {
|
|
1736
|
-
"description": "Host JSX for custom screen mode.",
|
|
1737
|
-
"type": "ReactNode",
|
|
1696
|
+
"footerText": {
|
|
1697
|
+
"description": "Footer disclaimer. Defaults to `chatBot.irisFooterText`.",
|
|
1698
|
+
"type": "string",
|
|
1738
1699
|
"required": true
|
|
1739
1700
|
},
|
|
1740
1701
|
"conversation": {
|
|
1741
|
-
"description": "`ConversationPayload`: `{ conversations?: Record<string, { messages?: ChatMessage[] }> }`.
|
|
1702
|
+
"description": "`ConversationPayload`: `{ conversations?: Record<string, { messages?: ChatMessage[] }> }`.",
|
|
1742
1703
|
"type": "ConversationPayload",
|
|
1743
1704
|
"required": true
|
|
1744
1705
|
},
|
|
1745
|
-
"inputText": {
|
|
1746
|
-
"description": "Initial composer input value.",
|
|
1747
|
-
"type": "string",
|
|
1748
|
-
"required": true
|
|
1749
|
-
},
|
|
1750
1706
|
"isAssistantThinking": {
|
|
1751
1707
|
"description": "Shows the in-progress assistant thinking indicator.",
|
|
1752
1708
|
"type": "boolean",
|
|
@@ -1754,7 +1710,7 @@
|
|
|
1754
1710
|
"required": false
|
|
1755
1711
|
},
|
|
1756
1712
|
"thinking": {
|
|
1757
|
-
"description": "Host-driven Iris thinking UI (`IrisThinkingState
|
|
1713
|
+
"description": "Host-driven Iris thinking UI (`IrisThinkingState`).",
|
|
1758
1714
|
"type": "IrisThinkingState",
|
|
1759
1715
|
"required": true
|
|
1760
1716
|
},
|
|
@@ -1764,276 +1720,48 @@
|
|
|
1764
1720
|
"defaultValue": "false",
|
|
1765
1721
|
"required": false
|
|
1766
1722
|
},
|
|
1767
|
-
"formComponent": {
|
|
1768
|
-
"description": "Default form body node for messages with `bodyType:",
|
|
1769
|
-
"type": "ReactNode",
|
|
1770
|
-
"required": true
|
|
1771
|
-
},
|
|
1772
|
-
"tableComponent": {
|
|
1773
|
-
"description": "Default table body node for messages with `bodyType:",
|
|
1774
|
-
"type": "ReactNode",
|
|
1775
|
-
"required": true
|
|
1776
|
-
},
|
|
1777
|
-
"customInputComponent": {
|
|
1778
|
-
"description": "Replace the default composer input with custom JSX.",
|
|
1779
|
-
"type": "ReactNode",
|
|
1780
|
-
"required": true
|
|
1781
|
-
},
|
|
1782
1723
|
"defaultAssistantActions": {
|
|
1783
|
-
"description": "Default Iris assistant action keys
|
|
1724
|
+
"description": "Default Iris assistant action keys. Keys: `",
|
|
1784
1725
|
"type": "IrisAssistantActionKey[]",
|
|
1785
1726
|
"required": true
|
|
1786
1727
|
},
|
|
1787
|
-
"showSuggestionBanner": {
|
|
1788
|
-
"description": "Show the suggestion banner above the classic composer.",
|
|
1789
|
-
"type": "boolean",
|
|
1790
|
-
"defaultValue": "false",
|
|
1791
|
-
"required": false
|
|
1792
|
-
},
|
|
1793
|
-
"suggestionBanner": {
|
|
1794
|
-
"description": "`{ freeTextHeading?, freeTextContent? }`. Defaults to `chatBot.suggestionBanner.*` i18n keys.",
|
|
1795
|
-
"type": "SuggestionBanner",
|
|
1796
|
-
"required": true
|
|
1797
|
-
},
|
|
1798
|
-
"onCloseSuggestionBanner": {
|
|
1799
|
-
"description": "Called when the user dismisses the suggestion banner.",
|
|
1800
|
-
"type": "() => void",
|
|
1801
|
-
"required": true
|
|
1802
|
-
},
|
|
1803
|
-
"moduleList": {
|
|
1804
|
-
"description": "Classic left-rail modules. Each item: `{ id?, key?, name?, label?, description?, icon?, isActive?, initialClick?, onClick?, ... }`.",
|
|
1805
|
-
"type": "ModuleItem[]",
|
|
1806
|
-
"required": true
|
|
1807
|
-
},
|
|
1808
|
-
"isModuleListLoading": {
|
|
1809
|
-
"description": "Loading state for the module list.",
|
|
1810
|
-
"type": "boolean",
|
|
1811
|
-
"defaultValue": "false",
|
|
1812
|
-
"required": false
|
|
1813
|
-
},
|
|
1814
|
-
"onModuleClick": {
|
|
1815
|
-
"description": "`(moduleId?, moduleName?, activeList?) => void` when a module is selected.",
|
|
1816
|
-
"type": "(moduleId?: string | number, moduleName?: string, activeList?: string) => void",
|
|
1817
|
-
"required": true
|
|
1818
|
-
},
|
|
1819
|
-
"tabList": {
|
|
1820
|
-
"description": "Optional host tab workspaces instead of default left-rail items. Built-in keys: `newchat`, `bookmark`, `history`, `page`, `notification`.",
|
|
1821
|
-
"type": "TabItem[]",
|
|
1822
|
-
"required": true
|
|
1823
|
-
},
|
|
1824
|
-
"hideMenuArrow": {
|
|
1825
|
-
"description": "Hide the module menu expand arrow.",
|
|
1826
|
-
"type": "boolean",
|
|
1827
|
-
"defaultValue": "false",
|
|
1828
|
-
"required": false
|
|
1829
|
-
},
|
|
1830
|
-
"utilityList": {
|
|
1831
|
-
"description": "Extra utility icons in the left rail: `{ key: string; icon?; onClick? }[]`.",
|
|
1832
|
-
"type": "UtilityItem[]",
|
|
1833
|
-
"required": true
|
|
1834
|
-
},
|
|
1835
|
-
"threadList": {
|
|
1836
|
-
"description": "Thread tab labels shown in the classic header.",
|
|
1837
|
-
"type": "string[]",
|
|
1838
|
-
"required": true
|
|
1839
|
-
},
|
|
1840
|
-
"activeThread": {
|
|
1841
|
-
"description": "Currently selected thread name, or `null`.",
|
|
1842
|
-
"type": "string | null",
|
|
1843
|
-
"defaultValue": "null",
|
|
1844
|
-
"required": false
|
|
1845
|
-
},
|
|
1846
|
-
"handleThreadClick": {
|
|
1847
|
-
"description": "`(thread, idx) => void` when a thread tab is clicked.",
|
|
1848
|
-
"type": "(thread: string, idx: number) => void",
|
|
1849
|
-
"required": true
|
|
1850
|
-
},
|
|
1851
|
-
"handleCloseThread": {
|
|
1852
|
-
"description": "`(e, idx) => void` when a thread close control is clicked.",
|
|
1853
|
-
"type": "(e: MouseEvent, idx: number) => void",
|
|
1854
|
-
"required": true
|
|
1855
|
-
},
|
|
1856
|
-
"handleNewChatClick": {
|
|
1857
|
-
"description": "New-chat handler. May return `{ isInitialClickPresent?, tabName? }` to restore tab state.",
|
|
1858
|
-
"type": "(item?: TabItem) => { isInitialClickPresent?: boolean; tabName?: string } | void",
|
|
1859
|
-
"required": true
|
|
1860
|
-
},
|
|
1861
|
-
"preDefinedQuestions": {
|
|
1862
|
-
"description": "Bookmark panel — predefined questions: `{ question: string }[]`.",
|
|
1863
|
-
"type": "BookmarkQuestion[]",
|
|
1864
|
-
"required": true
|
|
1865
|
-
},
|
|
1866
|
-
"addedByYouQuestions": {
|
|
1867
|
-
"description": "Bookmark panel — user-added questions: `{ question: string }[]`.",
|
|
1868
|
-
"type": "BookmarkQuestion[]",
|
|
1869
|
-
"required": true
|
|
1870
|
-
},
|
|
1871
|
-
"handleSavedChat": {
|
|
1872
|
-
"description": "Called when the user opens / manages saved chats from the module menu.",
|
|
1873
|
-
"type": "() => void",
|
|
1874
|
-
"required": true
|
|
1875
|
-
},
|
|
1876
|
-
"handleSaveChat": {
|
|
1877
|
-
"description": "Called when the user saves the current chat.",
|
|
1878
|
-
"type": "() => void",
|
|
1879
|
-
"required": true
|
|
1880
|
-
},
|
|
1881
|
-
"showHistoryPanel": {
|
|
1882
|
-
"description": "Whether the history side panel can open from the left rail.",
|
|
1883
|
-
"type": "boolean",
|
|
1884
|
-
"defaultValue": "true",
|
|
1885
|
-
"required": false
|
|
1886
|
-
},
|
|
1887
|
-
"historyPanelData": {
|
|
1888
|
-
"description": "`HistoryPanelGroup[]` or `{ pinned?, groups? }`. Item keys: `conversation_id`, `name`, `module_name`, `pinned`.",
|
|
1889
|
-
"type": "HistoryPanelInput",
|
|
1890
|
-
"required": true
|
|
1891
|
-
},
|
|
1892
|
-
"activeConversationId": {
|
|
1893
|
-
"description": "Highlights the active conversation in the history list.",
|
|
1894
|
-
"type": "string | number",
|
|
1895
|
-
"required": true
|
|
1896
|
-
},
|
|
1897
|
-
"isConversationLoading": {
|
|
1898
|
-
"description": "Loading state while a history conversation is fetched.",
|
|
1899
|
-
"type": "boolean",
|
|
1900
|
-
"defaultValue": "false",
|
|
1901
|
-
"required": false
|
|
1902
|
-
},
|
|
1903
|
-
"historyOpenGroups": {
|
|
1904
|
-
"description": "Controlled map of history group name → open boolean.",
|
|
1905
|
-
"type": "Record<string, boolean>",
|
|
1906
|
-
"required": true
|
|
1907
|
-
},
|
|
1908
|
-
"onHistoryPanelClick": {
|
|
1909
|
-
"description": "`(item?, open?) => void` when history is opened / closed from the rail.",
|
|
1910
|
-
"type": "(item?: TabItem, open?: boolean) => void",
|
|
1911
|
-
"required": true
|
|
1912
|
-
},
|
|
1913
|
-
"onHistorySearchChange": {
|
|
1914
|
-
"description": "`(value: string) => void` as the user types in history search.",
|
|
1915
|
-
"type": "(value: string) => void",
|
|
1916
|
-
"required": true
|
|
1917
|
-
},
|
|
1918
|
-
"onHistorySelectConversation": {
|
|
1919
|
-
"description": "`(item: HistoryConversationItem) => void` when a history row is selected.",
|
|
1920
|
-
"type": "(item: HistoryConversationItem) => void",
|
|
1921
|
-
"required": true
|
|
1922
|
-
},
|
|
1923
|
-
"onHistoryToggleGroup": {
|
|
1924
|
-
"description": "`(name, open) => void` when a history group accordion toggles.",
|
|
1925
|
-
"type": "(name: string, open: boolean) => void",
|
|
1926
|
-
"required": true
|
|
1927
|
-
},
|
|
1928
|
-
"onHistoryMenuAction": {
|
|
1929
|
-
"description": "Overflow actions: `",
|
|
1930
|
-
"type": "(action: string, item: HistoryConversationItem) => void",
|
|
1931
|
-
"required": true
|
|
1932
|
-
},
|
|
1933
1728
|
"suggestedPrompts": {
|
|
1934
1729
|
"description": "Iris greeting chips: `{ id: string; label: string }[]`.",
|
|
1935
1730
|
"type": "SuggestedPrompt[]",
|
|
1936
1731
|
"required": true
|
|
1937
1732
|
},
|
|
1938
|
-
"onSuggestedPromptClick": {
|
|
1939
|
-
"description": "`(prompt: SuggestedPrompt) => void` when a suggested chip is clicked.",
|
|
1940
|
-
"type": "(prompt: SuggestedPrompt) => void",
|
|
1941
|
-
"required": true
|
|
1942
|
-
},
|
|
1943
1733
|
"modelOptions": {
|
|
1944
1734
|
"description": "Composer model select options: `{ label, value }[]`.",
|
|
1945
1735
|
"type": "ChatModelOption[]",
|
|
1946
1736
|
"required": true
|
|
1947
1737
|
},
|
|
1948
|
-
"selectedModel": {
|
|
1949
|
-
"description": "Controlled selected model value.",
|
|
1950
|
-
"type": "string",
|
|
1951
|
-
"required": true
|
|
1952
|
-
},
|
|
1953
|
-
"onModelChange": {
|
|
1954
|
-
"description": "`(value: string) => void` when the model select changes.",
|
|
1955
|
-
"type": "(value: string) => void",
|
|
1956
|
-
"required": true
|
|
1957
|
-
},
|
|
1958
1738
|
"artifacts": {
|
|
1959
|
-
"description": "Iris Menu → Artifacts list
|
|
1739
|
+
"description": "Iris Menu → Artifacts list.",
|
|
1960
1740
|
"type": "IrisArtifactItem[]",
|
|
1961
1741
|
"required": true
|
|
1962
1742
|
},
|
|
1963
|
-
"
|
|
1964
|
-
"description": "
|
|
1965
|
-
"type": "
|
|
1966
|
-
"required": true
|
|
1967
|
-
},
|
|
1968
|
-
"onIrisMenuFilterSelect": {
|
|
1969
|
-
"description": "`(section, option) => void`. Section: `",
|
|
1970
|
-
"type": "(section: IrisMenuSection, option: IrisMenuFilterOption) => void",
|
|
1971
|
-
"required": true
|
|
1972
|
-
},
|
|
1973
|
-
"onArtifactMenuAction": {
|
|
1974
|
-
"description": "`(action, item) => void`. Action keys: `",
|
|
1975
|
-
"type": "(action: IrisMenuItemAction, item: IrisArtifactItem) => void",
|
|
1976
|
-
"required": true
|
|
1977
|
-
},
|
|
1978
|
-
"onMenuClick": {
|
|
1979
|
-
"description": "Called when the Iris hamburger / menu control is clicked.",
|
|
1980
|
-
"type": "() => void",
|
|
1981
|
-
"required": true
|
|
1982
|
-
},
|
|
1983
|
-
"onAddClick": {
|
|
1984
|
-
"description": "Iris composer “Add” (+) control.",
|
|
1985
|
-
"type": "() => void",
|
|
1986
|
-
"required": true
|
|
1987
|
-
},
|
|
1988
|
-
"onAttachClick": {
|
|
1989
|
-
"description": "Iris composer attach-file control.",
|
|
1990
|
-
"type": "() => void",
|
|
1991
|
-
"required": true
|
|
1992
|
-
},
|
|
1993
|
-
"onSendIconClick": {
|
|
1994
|
-
"description": "`(message, activeList?, uniqueId?) => void` when the user sends. Host appends the user message and drives the assistant reply via `conversation` / `thinking`.",
|
|
1995
|
-
"type": "(message: ChatMessage, activeList?: string, uniqueId?: string | number) => void",
|
|
1996
|
-
"required": true
|
|
1997
|
-
},
|
|
1998
|
-
"onStopIconClick": {
|
|
1999
|
-
"description": "`(activeList?) => void` when the user stops an in-flight response.",
|
|
2000
|
-
"type": "(activeList?: string) => void",
|
|
2001
|
-
"required": true
|
|
2002
|
-
},
|
|
2003
|
-
"onLikeClick": {
|
|
2004
|
-
"description": "`(chat, idx) => void` when like is pressed on an assistant message.",
|
|
2005
|
-
"type": "(chat: ChatMessage, idx: number) => void",
|
|
2006
|
-
"required": true
|
|
2007
|
-
},
|
|
2008
|
-
"onDislikeClick": {
|
|
2009
|
-
"description": "`(chat, idx) => void` when dislike is pressed.",
|
|
2010
|
-
"type": "(chat: ChatMessage, idx: number) => void",
|
|
2011
|
-
"required": true
|
|
2012
|
-
},
|
|
2013
|
-
"onRegenerateClick": {
|
|
2014
|
-
"description": "`(chat, idx) => void` for Iris regenerate action.",
|
|
2015
|
-
"type": "(chat: ChatMessage, idx: number) => void",
|
|
2016
|
-
"required": true
|
|
2017
|
-
},
|
|
2018
|
-
"onSpeakClick": {
|
|
2019
|
-
"description": "`(chat, idx) => void` for Iris read-aloud action.",
|
|
2020
|
-
"type": "(chat: ChatMessage, idx: number) => void",
|
|
1743
|
+
"historyPanelData": {
|
|
1744
|
+
"description": "Iris Menu → Recent Chats data.",
|
|
1745
|
+
"type": "HistoryPanelInput",
|
|
2021
1746
|
"required": true
|
|
2022
1747
|
},
|
|
2023
|
-
"
|
|
2024
|
-
"description": "
|
|
2025
|
-
"type": "
|
|
2026
|
-
"
|
|
1748
|
+
"isConversationLoading": {
|
|
1749
|
+
"description": "Loading state for Iris Menu → Recent Chats (shows list skeletons).",
|
|
1750
|
+
"type": "boolean",
|
|
1751
|
+
"defaultValue": "false",
|
|
1752
|
+
"required": false
|
|
2027
1753
|
},
|
|
2028
|
-
"
|
|
2029
|
-
"description": "
|
|
2030
|
-
"type": "
|
|
2031
|
-
"
|
|
1754
|
+
"isArtifactsLoading": {
|
|
1755
|
+
"description": "Loading state for Iris Menu → Artifacts (shows list skeletons).",
|
|
1756
|
+
"type": "boolean",
|
|
1757
|
+
"defaultValue": "false",
|
|
1758
|
+
"required": false
|
|
2032
1759
|
},
|
|
2033
|
-
"
|
|
2034
|
-
"description": "
|
|
2035
|
-
"type": "
|
|
2036
|
-
"
|
|
1760
|
+
"isSuggestedPromptsLoading": {
|
|
1761
|
+
"description": "Loading state for Suggested prompts (shows skeleton).",
|
|
1762
|
+
"type": "boolean",
|
|
1763
|
+
"defaultValue": "false",
|
|
1764
|
+
"required": false
|
|
2037
1765
|
}
|
|
2038
1766
|
},
|
|
2039
1767
|
"storyArgs": {},
|
|
@@ -4851,7 +4851,8 @@ var ThumbsDown = (props, ref) => /* @__PURE__ */ jsx(
|
|
|
4851
4851
|
)
|
|
4852
4852
|
}
|
|
4853
4853
|
);
|
|
4854
|
-
forwardRef(ThumbsDown);
|
|
4854
|
+
var ForwardRef207 = forwardRef(ThumbsDown);
|
|
4855
|
+
var ThumbsDown_default = ForwardRef207;
|
|
4855
4856
|
var ThumbsDownBlue = (props, ref) => /* @__PURE__ */ jsx(
|
|
4856
4857
|
"svg",
|
|
4857
4858
|
{
|
|
@@ -4889,7 +4890,8 @@ var ThumbsDownFilled = (props, ref) => /* @__PURE__ */ jsx(
|
|
|
4889
4890
|
)
|
|
4890
4891
|
}
|
|
4891
4892
|
);
|
|
4892
|
-
forwardRef(ThumbsDownFilled);
|
|
4893
|
+
var ForwardRef209 = forwardRef(ThumbsDownFilled);
|
|
4894
|
+
var ThumbsDownFilled_default = ForwardRef209;
|
|
4893
4895
|
var ThumbsUp = (props, ref) => /* @__PURE__ */ jsx(
|
|
4894
4896
|
"svg",
|
|
4895
4897
|
{
|
|
@@ -4908,7 +4910,8 @@ var ThumbsUp = (props, ref) => /* @__PURE__ */ jsx(
|
|
|
4908
4910
|
)
|
|
4909
4911
|
}
|
|
4910
4912
|
);
|
|
4911
|
-
forwardRef(ThumbsUp);
|
|
4913
|
+
var ForwardRef210 = forwardRef(ThumbsUp);
|
|
4914
|
+
var ThumbsUp_default = ForwardRef210;
|
|
4912
4915
|
var ThumbsUpBlue = (props, ref) => /* @__PURE__ */ jsx(
|
|
4913
4916
|
"svg",
|
|
4914
4917
|
{
|
|
@@ -4994,7 +4997,8 @@ var ThumbsUpFilled = (props, ref) => /* @__PURE__ */ jsx(
|
|
|
4994
4997
|
)
|
|
4995
4998
|
}
|
|
4996
4999
|
);
|
|
4997
|
-
forwardRef(ThumbsUpFilled);
|
|
5000
|
+
var ForwardRef213 = forwardRef(ThumbsUpFilled);
|
|
5001
|
+
var ThumbsUpFilled_default = ForwardRef213;
|
|
4998
5002
|
var ThumbsUpYellowIcon = (props, ref) => /* @__PURE__ */ jsx(
|
|
4999
5003
|
"svg",
|
|
5000
5004
|
{
|
|
@@ -5480,5 +5484,9 @@ export {
|
|
|
5480
5484
|
SearchIconTable_default as SearchIconTable,
|
|
5481
5485
|
ShowAll_default as ShowAll,
|
|
5482
5486
|
SuccessFill_default as SuccessFill,
|
|
5483
|
-
SuccessGray_default as SuccessGray
|
|
5487
|
+
SuccessGray_default as SuccessGray,
|
|
5488
|
+
ThumbsDown_default as ThumbsDown,
|
|
5489
|
+
ThumbsDownFilled_default as ThumbsDownFilled,
|
|
5490
|
+
ThumbsUp_default as ThumbsUp,
|
|
5491
|
+
ThumbsUpFilled_default as ThumbsUpFilled
|
|
5484
5492
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
|
-
import require$$1 from "../../../_virtual/
|
|
4
|
-
import require$$2 from "../../../_virtual/
|
|
3
|
+
import require$$1 from "../../../_virtual/index4.js";
|
|
4
|
+
import require$$2 from "../../../_virtual/index5.js";
|
|
5
5
|
var _interopRequireDefault = require$$0;
|
|
6
6
|
Object.defineProperty(colorManipulator, "__esModule", {
|
|
7
7
|
value: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as propTypes } from "../../_virtual/
|
|
2
|
+
import { __module as propTypes } from "../../_virtual/index3.js";
|
|
3
3
|
import { __require as requireReactIs } from "./node_modules/react-is/index.js";
|
|
4
4
|
import { __require as requireFactoryWithTypeCheckers } from "./factoryWithTypeCheckers.js";
|
|
5
5
|
import { __require as requireFactoryWithThrowingShims } from "./factoryWithThrowingShims.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../../../_virtual/index6.js";
|
|
2
2
|
import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
var hasRequiredReactIs;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../_virtual/index2.js";
|
|
2
2
|
import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|