@deepdesk/deepdesk-sdk 15.1.1-beta.5 → 15.1.1-beta.7
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/index.cjs.js +3 -3
- package/dist/index.d.mts +76 -58
- package/dist/index.d.ts +76 -58
- package/dist/index.esm.js +3 -3
- package/dist/index.iife.js +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
|
|
|
6
6
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
7
7
|
import { Middleware } from '@reduxjs/toolkit';
|
|
8
8
|
|
|
9
|
-
declare const styles$
|
|
9
|
+
declare const styles$t: {
|
|
10
10
|
readonly "content": string;
|
|
11
11
|
readonly "contentIsCropped": string;
|
|
12
12
|
readonly "image": string;
|
|
@@ -35,10 +35,10 @@ interface CardComposition {
|
|
|
35
35
|
Content: FC<ContentProps>;
|
|
36
36
|
Title: FC<TitleProps>;
|
|
37
37
|
}
|
|
38
|
-
type CardStyles = typeof styles$
|
|
38
|
+
type CardStyles = typeof styles$t;
|
|
39
39
|
declare const Card: FC & CardComposition;
|
|
40
40
|
|
|
41
|
-
declare const styles$
|
|
41
|
+
declare const styles$s: {
|
|
42
42
|
readonly "root": string;
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -53,18 +53,18 @@ type Props$6 = HTMLAttributes<HTMLSpanElement> & {
|
|
|
53
53
|
className?: string;
|
|
54
54
|
keyCode: KeyboardHintKey;
|
|
55
55
|
};
|
|
56
|
-
type KeyboardHintStyles = typeof styles$
|
|
56
|
+
type KeyboardHintStyles = typeof styles$s;
|
|
57
57
|
declare const KeyboardHint: React.FC<Props$6>;
|
|
58
58
|
|
|
59
|
-
declare const styles$
|
|
59
|
+
declare const styles$r: {
|
|
60
60
|
readonly "root": string;
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
type Props$5 = HTMLAttributes<HTMLSpanElement>;
|
|
64
|
-
type LabelStyles = typeof styles$
|
|
64
|
+
type LabelStyles = typeof styles$r;
|
|
65
65
|
declare const Label: React.FC<Props$5>;
|
|
66
66
|
|
|
67
|
-
declare const styles$
|
|
67
|
+
declare const styles$q: {
|
|
68
68
|
readonly "root": string;
|
|
69
69
|
readonly "subTitleContainer": string;
|
|
70
70
|
readonly "subtitle": string;
|
|
@@ -75,10 +75,10 @@ type Props$4 = HTMLAttributes<HTMLElement> & {
|
|
|
75
75
|
type: string;
|
|
76
76
|
title?: string;
|
|
77
77
|
};
|
|
78
|
-
type SectionStyles = typeof styles$
|
|
78
|
+
type SectionStyles = typeof styles$q;
|
|
79
79
|
declare const Section: React.FC<Props$4>;
|
|
80
80
|
|
|
81
|
-
declare const styles$
|
|
81
|
+
declare const styles$p: {
|
|
82
82
|
readonly "root": string;
|
|
83
83
|
};
|
|
84
84
|
|
|
@@ -86,10 +86,10 @@ type Props$3 = {
|
|
|
86
86
|
className?: string;
|
|
87
87
|
children?: React.ReactNode;
|
|
88
88
|
};
|
|
89
|
-
type SectionListStyles = typeof styles$
|
|
89
|
+
type SectionListStyles = typeof styles$p;
|
|
90
90
|
declare const SectionList: React.FC<Props$3>;
|
|
91
91
|
|
|
92
|
-
declare const styles$
|
|
92
|
+
declare const styles$o: {
|
|
93
93
|
readonly "actionButton": string;
|
|
94
94
|
readonly "actionButtonIsDisabled": string;
|
|
95
95
|
readonly "actionButtonIsPrimary": string;
|
|
@@ -156,21 +156,21 @@ interface SuggestionComposition {
|
|
|
156
156
|
Button: typeof Button;
|
|
157
157
|
ButtonsContainer: typeof ButtonsContainer;
|
|
158
158
|
}
|
|
159
|
-
type SuggestionStyles = typeof styles$
|
|
159
|
+
type SuggestionStyles = typeof styles$o;
|
|
160
160
|
declare const Suggestion: ForwardRefExoticComponent<Props$2 & RefAttributes<any>> & SuggestionComposition;
|
|
161
161
|
|
|
162
|
-
declare const styles$
|
|
162
|
+
declare const styles$n: {
|
|
163
163
|
readonly "isWithDivider": string;
|
|
164
164
|
readonly "root": string;
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
type SuggestionListStyles = typeof styles$
|
|
167
|
+
type SuggestionListStyles = typeof styles$n;
|
|
168
168
|
interface Props$1 {
|
|
169
169
|
withDivider?: boolean;
|
|
170
170
|
}
|
|
171
171
|
declare const SuggestionList: React.FC<Props$1>;
|
|
172
172
|
|
|
173
|
-
declare const styles$
|
|
173
|
+
declare const styles$m: {
|
|
174
174
|
readonly "isCollapsed": string;
|
|
175
175
|
readonly "root": string;
|
|
176
176
|
};
|
|
@@ -179,7 +179,7 @@ type Props = HTMLAttributes<HTMLButtonElement> & {
|
|
|
179
179
|
isCollapsed: boolean;
|
|
180
180
|
title: string;
|
|
181
181
|
};
|
|
182
|
-
type ToggleButtonStyles = typeof styles$
|
|
182
|
+
type ToggleButtonStyles = typeof styles$m;
|
|
183
183
|
declare const ToggleButton: React.FC<Props>;
|
|
184
184
|
|
|
185
185
|
declare enum Sources {
|
|
@@ -1593,7 +1593,7 @@ interface TextSuggestionState {
|
|
|
1593
1593
|
[type: string]: SuggestionState;
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
declare const styles$
|
|
1596
|
+
declare const styles$l: {
|
|
1597
1597
|
readonly "actionButton": string;
|
|
1598
1598
|
readonly "actionShortcut": string;
|
|
1599
1599
|
readonly "actionShortcutFixKerning": string;
|
|
@@ -1641,23 +1641,23 @@ declare const styles$k: {
|
|
|
1641
1641
|
readonly "truncate": string;
|
|
1642
1642
|
};
|
|
1643
1643
|
|
|
1644
|
-
type CommandPaletteStyles = typeof styles$
|
|
1644
|
+
type CommandPaletteStyles = typeof styles$l;
|
|
1645
1645
|
|
|
1646
|
-
declare const styles$
|
|
1646
|
+
declare const styles$k: {
|
|
1647
1647
|
readonly "content": string;
|
|
1648
1648
|
readonly "root": string;
|
|
1649
1649
|
};
|
|
1650
1650
|
|
|
1651
|
-
type DialogStyles = typeof styles$
|
|
1651
|
+
type DialogStyles = typeof styles$k;
|
|
1652
1652
|
|
|
1653
|
-
declare const styles$
|
|
1653
|
+
declare const styles$j: {
|
|
1654
1654
|
readonly "empty": string;
|
|
1655
1655
|
readonly "root": string;
|
|
1656
1656
|
};
|
|
1657
1657
|
|
|
1658
|
-
type EntitiesListStyles = typeof styles$
|
|
1658
|
+
type EntitiesListStyles = typeof styles$j;
|
|
1659
1659
|
|
|
1660
|
-
declare const styles$
|
|
1660
|
+
declare const styles$i: {
|
|
1661
1661
|
readonly "entity": string;
|
|
1662
1662
|
readonly "entityText": string;
|
|
1663
1663
|
readonly "icon": string;
|
|
@@ -1666,9 +1666,9 @@ declare const styles$h: {
|
|
|
1666
1666
|
readonly "root": string;
|
|
1667
1667
|
};
|
|
1668
1668
|
|
|
1669
|
-
type EntitiesWidgetListStyles = typeof styles$
|
|
1669
|
+
type EntitiesWidgetListStyles = typeof styles$i;
|
|
1670
1670
|
|
|
1671
|
-
declare const styles$
|
|
1671
|
+
declare const styles$h: {
|
|
1672
1672
|
readonly "fadedown": string;
|
|
1673
1673
|
readonly "fadeup": string;
|
|
1674
1674
|
readonly "selected": string;
|
|
@@ -1677,9 +1677,9 @@ declare const styles$g: {
|
|
|
1677
1677
|
readonly "thumbsUp": string;
|
|
1678
1678
|
};
|
|
1679
1679
|
|
|
1680
|
-
type FeedbackThumbsStyles = typeof styles$
|
|
1680
|
+
type FeedbackThumbsStyles = typeof styles$h;
|
|
1681
1681
|
|
|
1682
|
-
declare const styles$
|
|
1682
|
+
declare const styles$g: {
|
|
1683
1683
|
readonly "icon": string;
|
|
1684
1684
|
readonly "isLoggedIn": string;
|
|
1685
1685
|
readonly "isLoggedOut": string;
|
|
@@ -1689,16 +1689,16 @@ declare const styles$f: {
|
|
|
1689
1689
|
readonly "text": string;
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
|
-
type FloatingMenuStyles = typeof styles$
|
|
1692
|
+
type FloatingMenuStyles = typeof styles$g;
|
|
1693
1693
|
|
|
1694
|
-
declare const styles$
|
|
1694
|
+
declare const styles$f: {
|
|
1695
1695
|
readonly "paper": string;
|
|
1696
1696
|
readonly "root": string;
|
|
1697
1697
|
};
|
|
1698
1698
|
|
|
1699
|
-
type InlineSuggestionsOverlayStyles = typeof styles$
|
|
1699
|
+
type InlineSuggestionsOverlayStyles = typeof styles$f;
|
|
1700
1700
|
|
|
1701
|
-
declare const styles$
|
|
1701
|
+
declare const styles$e: {
|
|
1702
1702
|
readonly "alignRight": string;
|
|
1703
1703
|
readonly "answer": string;
|
|
1704
1704
|
readonly "empty": string;
|
|
@@ -1712,38 +1712,38 @@ declare const styles$d: {
|
|
|
1712
1712
|
readonly "title": string;
|
|
1713
1713
|
};
|
|
1714
1714
|
|
|
1715
|
-
type KnowledgeSearchStyles = typeof styles$
|
|
1715
|
+
type KnowledgeSearchStyles = typeof styles$e;
|
|
1716
1716
|
|
|
1717
|
-
declare const styles$
|
|
1717
|
+
declare const styles$d: {
|
|
1718
1718
|
readonly "content": string;
|
|
1719
1719
|
readonly "root": string;
|
|
1720
1720
|
};
|
|
1721
1721
|
|
|
1722
|
-
type LinkSearchStyles = typeof styles$
|
|
1722
|
+
type LinkSearchStyles = typeof styles$d;
|
|
1723
1723
|
|
|
1724
|
-
declare const styles$
|
|
1724
|
+
declare const styles$c: {
|
|
1725
1725
|
readonly "loadingBar": string;
|
|
1726
1726
|
readonly "placeHolderShimmer": string;
|
|
1727
1727
|
};
|
|
1728
1728
|
|
|
1729
|
-
type LoadingProgressBarStyles = typeof styles$
|
|
1729
|
+
type LoadingProgressBarStyles = typeof styles$c;
|
|
1730
1730
|
|
|
1731
|
-
declare const styles$
|
|
1731
|
+
declare const styles$b: {
|
|
1732
1732
|
readonly "root": string;
|
|
1733
1733
|
readonly "rotation": string;
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
1736
|
-
type LoadingSpinnerStyles = typeof styles$
|
|
1736
|
+
type LoadingSpinnerStyles = typeof styles$b;
|
|
1737
1737
|
|
|
1738
|
-
declare const styles$
|
|
1738
|
+
declare const styles$a: {
|
|
1739
1739
|
readonly "anchor": string;
|
|
1740
1740
|
readonly "anchorButton": string;
|
|
1741
1741
|
readonly "root": string;
|
|
1742
1742
|
};
|
|
1743
1743
|
|
|
1744
|
-
type LoginStyles = typeof styles$
|
|
1744
|
+
type LoginStyles = typeof styles$a;
|
|
1745
1745
|
|
|
1746
|
-
declare const styles$
|
|
1746
|
+
declare const styles$9: {
|
|
1747
1747
|
readonly "actions": string;
|
|
1748
1748
|
readonly "anchorButton": string;
|
|
1749
1749
|
readonly "button": string;
|
|
@@ -1756,9 +1756,9 @@ declare const styles$8: {
|
|
|
1756
1756
|
readonly "title": string;
|
|
1757
1757
|
};
|
|
1758
1758
|
|
|
1759
|
-
type LoginTokenDialogStyles = typeof styles$
|
|
1759
|
+
type LoginTokenDialogStyles = typeof styles$9;
|
|
1760
1760
|
|
|
1761
|
-
declare const styles$
|
|
1761
|
+
declare const styles$8: {
|
|
1762
1762
|
readonly "arrow": string;
|
|
1763
1763
|
readonly "copyIcon": string;
|
|
1764
1764
|
readonly "divider": string;
|
|
@@ -1769,9 +1769,9 @@ declare const styles$7: {
|
|
|
1769
1769
|
readonly "root": string;
|
|
1770
1770
|
};
|
|
1771
1771
|
|
|
1772
|
-
type MarkdownStyles = typeof styles$
|
|
1772
|
+
type MarkdownStyles = typeof styles$8;
|
|
1773
1773
|
|
|
1774
|
-
declare const styles$
|
|
1774
|
+
declare const styles$7: {
|
|
1775
1775
|
readonly "button": string;
|
|
1776
1776
|
readonly "item": string;
|
|
1777
1777
|
readonly "nav": string;
|
|
@@ -1779,16 +1779,16 @@ declare const styles$6: {
|
|
|
1779
1779
|
readonly "trigger": string;
|
|
1780
1780
|
};
|
|
1781
1781
|
|
|
1782
|
-
type OnDemandAssistantsStyles = typeof styles$
|
|
1782
|
+
type OnDemandAssistantsStyles = typeof styles$7;
|
|
1783
1783
|
|
|
1784
|
-
declare const styles$
|
|
1784
|
+
declare const styles$6: {
|
|
1785
1785
|
readonly "root": string;
|
|
1786
1786
|
readonly "text": string;
|
|
1787
1787
|
};
|
|
1788
1788
|
|
|
1789
|
-
type SearchTriggerStyles = typeof styles$
|
|
1789
|
+
type SearchTriggerStyles = typeof styles$6;
|
|
1790
1790
|
|
|
1791
|
-
declare const styles$
|
|
1791
|
+
declare const styles$5: {
|
|
1792
1792
|
readonly "collapsible": string;
|
|
1793
1793
|
readonly "hints": string;
|
|
1794
1794
|
readonly "hintsHidden": string;
|
|
@@ -1802,9 +1802,9 @@ declare const styles$4: {
|
|
|
1802
1802
|
readonly "triggersRight": string;
|
|
1803
1803
|
};
|
|
1804
1804
|
|
|
1805
|
-
type SuggestionsOverlayStyles = typeof styles$
|
|
1805
|
+
type SuggestionsOverlayStyles = typeof styles$5;
|
|
1806
1806
|
|
|
1807
|
-
declare const styles$
|
|
1807
|
+
declare const styles$4: {
|
|
1808
1808
|
readonly "agentText": string;
|
|
1809
1809
|
readonly "caret": string;
|
|
1810
1810
|
readonly "container": string;
|
|
@@ -1829,18 +1829,18 @@ declare const styles$3: {
|
|
|
1829
1829
|
readonly "tabText": string;
|
|
1830
1830
|
};
|
|
1831
1831
|
|
|
1832
|
-
type TabCompletionStyles = typeof styles$
|
|
1832
|
+
type TabCompletionStyles = typeof styles$4;
|
|
1833
1833
|
|
|
1834
|
-
declare const styles$
|
|
1834
|
+
declare const styles$3: {
|
|
1835
1835
|
readonly "actions": string;
|
|
1836
1836
|
readonly "badge": string;
|
|
1837
1837
|
readonly "formattedText": string;
|
|
1838
1838
|
readonly "root": string;
|
|
1839
1839
|
};
|
|
1840
1840
|
|
|
1841
|
-
type TextSuggestionStyles = typeof styles$
|
|
1841
|
+
type TextSuggestionStyles = typeof styles$3;
|
|
1842
1842
|
|
|
1843
|
-
declare const styles$
|
|
1843
|
+
declare const styles$2: {
|
|
1844
1844
|
readonly "footer": string;
|
|
1845
1845
|
readonly "footerShortcut": string;
|
|
1846
1846
|
readonly "link": string;
|
|
@@ -1852,9 +1852,9 @@ declare const styles$1: {
|
|
|
1852
1852
|
readonly "stateText": string;
|
|
1853
1853
|
};
|
|
1854
1854
|
|
|
1855
|
-
type WidgetStyles = typeof styles$
|
|
1855
|
+
type WidgetStyles = typeof styles$2;
|
|
1856
1856
|
|
|
1857
|
-
declare const styles: {
|
|
1857
|
+
declare const styles$1: {
|
|
1858
1858
|
readonly "copyButton": string;
|
|
1859
1859
|
readonly "copyButtonText": string;
|
|
1860
1860
|
readonly "isFalse": string;
|
|
@@ -1864,7 +1864,21 @@ declare const styles: {
|
|
|
1864
1864
|
readonly "value": string;
|
|
1865
1865
|
};
|
|
1866
1866
|
|
|
1867
|
-
type WidgetCustomDataStyles = typeof styles;
|
|
1867
|
+
type WidgetCustomDataStyles = typeof styles$1;
|
|
1868
|
+
|
|
1869
|
+
declare const styles: {
|
|
1870
|
+
readonly "actionButton": string;
|
|
1871
|
+
readonly "form": string;
|
|
1872
|
+
readonly "formInput": string;
|
|
1873
|
+
readonly "formSubmit": string;
|
|
1874
|
+
readonly "linkContent": string;
|
|
1875
|
+
readonly "showMoreSources": string;
|
|
1876
|
+
readonly "source": string;
|
|
1877
|
+
readonly "sources": string;
|
|
1878
|
+
readonly "tooltip": string;
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
type WidgetKnowledgeAssistantStyles = typeof styles;
|
|
1868
1882
|
|
|
1869
1883
|
type WidgetCustomStyles = {
|
|
1870
1884
|
Card?: Partial<CardStyles>;
|
|
@@ -1884,6 +1898,7 @@ type WidgetCustomStyles = {
|
|
|
1884
1898
|
EntitiesWidgetList?: Partial<EntitiesWidgetListStyles>;
|
|
1885
1899
|
Widget?: Partial<WidgetStyles>;
|
|
1886
1900
|
WidgetCustomData?: Partial<WidgetCustomDataStyles>;
|
|
1901
|
+
WidgetKnowledgeAssistant?: Partial<WidgetKnowledgeAssistantStyles>;
|
|
1887
1902
|
};
|
|
1888
1903
|
type InputOverlayCustomStyles = {
|
|
1889
1904
|
CommandPalette?: Partial<CommandPaletteStyles>;
|
|
@@ -1997,6 +2012,9 @@ interface SDKEventMap {
|
|
|
1997
2012
|
'call-to-action': {
|
|
1998
2013
|
cue: LegacyCue;
|
|
1999
2014
|
};
|
|
2015
|
+
'summary-generated': {
|
|
2016
|
+
summary: string;
|
|
2017
|
+
};
|
|
2000
2018
|
logout: undefined;
|
|
2001
2019
|
ready: undefined;
|
|
2002
2020
|
showSearchOverlay: boolean;
|