@deepdesk/deepdesk-sdk 10.9.2 → 10.9.3-beta.0
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 +6 -6
- package/dist/index.d.mts +64 -46
- package/dist/index.d.ts +64 -46
- package/dist/index.esm.js +6 -6
- package/dist/index.iife.js +11 -11
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
|
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { Middleware } from '@reduxjs/toolkit';
|
|
6
6
|
|
|
7
|
-
declare const styles$
|
|
7
|
+
declare const styles$n: {
|
|
8
8
|
readonly "root": string;
|
|
9
9
|
readonly "imageWrapper": string;
|
|
10
10
|
readonly "image": string;
|
|
@@ -33,10 +33,10 @@ interface CardComposition {
|
|
|
33
33
|
Content: FC<ContentProps>;
|
|
34
34
|
Title: FC<TitleProps>;
|
|
35
35
|
}
|
|
36
|
-
type CardStyles = typeof styles$
|
|
36
|
+
type CardStyles = typeof styles$n;
|
|
37
37
|
declare const Card: FC & CardComposition;
|
|
38
38
|
|
|
39
|
-
declare const styles$
|
|
39
|
+
declare const styles$m: {
|
|
40
40
|
readonly "root": string;
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -51,18 +51,18 @@ type Props$6 = HTMLAttributes<HTMLSpanElement> & {
|
|
|
51
51
|
className?: string;
|
|
52
52
|
keyCode: KeyboardHintKey;
|
|
53
53
|
};
|
|
54
|
-
type KeyboardHintStyles = typeof styles$
|
|
54
|
+
type KeyboardHintStyles = typeof styles$m;
|
|
55
55
|
declare const KeyboardHint: React.FC<Props$6>;
|
|
56
56
|
|
|
57
|
-
declare const styles$
|
|
57
|
+
declare const styles$l: {
|
|
58
58
|
readonly "root": string;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
type Props$5 = HTMLAttributes<HTMLSpanElement>;
|
|
62
|
-
type LabelStyles = typeof styles$
|
|
62
|
+
type LabelStyles = typeof styles$l;
|
|
63
63
|
declare const Label: React.FC<Props$5>;
|
|
64
64
|
|
|
65
|
-
declare const styles$
|
|
65
|
+
declare const styles$k: {
|
|
66
66
|
readonly "root": string;
|
|
67
67
|
readonly "subTitleContainer": string;
|
|
68
68
|
readonly "subtitle": string;
|
|
@@ -73,10 +73,10 @@ type Props$4 = HTMLAttributes<HTMLElement> & {
|
|
|
73
73
|
type: string;
|
|
74
74
|
title?: string;
|
|
75
75
|
};
|
|
76
|
-
type SectionStyles = typeof styles$
|
|
76
|
+
type SectionStyles = typeof styles$k;
|
|
77
77
|
declare const Section: React.FC<Props$4>;
|
|
78
78
|
|
|
79
|
-
declare const styles$
|
|
79
|
+
declare const styles$j: {
|
|
80
80
|
readonly "root": string;
|
|
81
81
|
};
|
|
82
82
|
|
|
@@ -84,10 +84,10 @@ type Props$3 = {
|
|
|
84
84
|
className?: string;
|
|
85
85
|
children?: React.ReactNode;
|
|
86
86
|
};
|
|
87
|
-
type SectionListStyles = typeof styles$
|
|
87
|
+
type SectionListStyles = typeof styles$j;
|
|
88
88
|
declare const SectionList: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
89
89
|
|
|
90
|
-
declare const styles$
|
|
90
|
+
declare const styles$i: {
|
|
91
91
|
readonly "root": string;
|
|
92
92
|
readonly "fadein": string;
|
|
93
93
|
readonly "isClickable": string;
|
|
@@ -132,21 +132,21 @@ interface SuggestionComposition {
|
|
|
132
132
|
DropdownItem: FC<DropdownItemProps>;
|
|
133
133
|
Labels: FC<LabelProps>;
|
|
134
134
|
}
|
|
135
|
-
type SuggestionStyles = typeof styles$
|
|
135
|
+
type SuggestionStyles = typeof styles$i;
|
|
136
136
|
declare const Suggestion: ForwardRefExoticComponent<Props$2 & RefAttributes<any>> & SuggestionComposition;
|
|
137
137
|
|
|
138
|
-
declare const styles$
|
|
138
|
+
declare const styles$h: {
|
|
139
139
|
readonly "root": string;
|
|
140
140
|
readonly "isWithDivider": string;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
type SuggestionListStyles = typeof styles$
|
|
143
|
+
type SuggestionListStyles = typeof styles$h;
|
|
144
144
|
interface Props$1 {
|
|
145
145
|
withDivider?: boolean;
|
|
146
146
|
}
|
|
147
147
|
declare const SuggestionList: React.FC<Props$1>;
|
|
148
148
|
|
|
149
|
-
declare const styles$
|
|
149
|
+
declare const styles$g: {
|
|
150
150
|
readonly "root": string;
|
|
151
151
|
readonly "isCollapsed": string;
|
|
152
152
|
};
|
|
@@ -155,7 +155,7 @@ type Props = HTMLAttributes<HTMLButtonElement> & {
|
|
|
155
155
|
isCollapsed: boolean;
|
|
156
156
|
title: string;
|
|
157
157
|
};
|
|
158
|
-
type ToggleButtonStyles = typeof styles$
|
|
158
|
+
type ToggleButtonStyles = typeof styles$g;
|
|
159
159
|
declare const ToggleButton: React.FC<Props>;
|
|
160
160
|
|
|
161
161
|
declare enum Sources {
|
|
@@ -1435,7 +1435,7 @@ interface TextSuggestionState {
|
|
|
1435
1435
|
[type: string]: SuggestionState;
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
1438
|
-
declare const styles$
|
|
1438
|
+
declare const styles$f: {
|
|
1439
1439
|
readonly "isDisabled": string;
|
|
1440
1440
|
readonly "buttonStart": string;
|
|
1441
1441
|
readonly "root": string;
|
|
@@ -1446,9 +1446,9 @@ declare const styles$e: {
|
|
|
1446
1446
|
readonly "isAborted": string;
|
|
1447
1447
|
};
|
|
1448
1448
|
|
|
1449
|
-
type AutoflowStyles = typeof styles$
|
|
1449
|
+
type AutoflowStyles = typeof styles$f;
|
|
1450
1450
|
|
|
1451
|
-
declare const styles$
|
|
1451
|
+
declare const styles$e: {
|
|
1452
1452
|
readonly "root": string;
|
|
1453
1453
|
readonly "list": string;
|
|
1454
1454
|
readonly "listWrapper": string;
|
|
@@ -1493,16 +1493,16 @@ declare const styles$d: {
|
|
|
1493
1493
|
readonly "actionShortcutFixKerning": string;
|
|
1494
1494
|
};
|
|
1495
1495
|
|
|
1496
|
-
type CommandPaletteStyles = typeof styles$
|
|
1496
|
+
type CommandPaletteStyles = typeof styles$e;
|
|
1497
1497
|
|
|
1498
|
-
declare const styles$
|
|
1498
|
+
declare const styles$d: {
|
|
1499
1499
|
readonly "root": string;
|
|
1500
1500
|
readonly "content": string;
|
|
1501
1501
|
};
|
|
1502
1502
|
|
|
1503
|
-
type DialogStyles = typeof styles$
|
|
1503
|
+
type DialogStyles = typeof styles$d;
|
|
1504
1504
|
|
|
1505
|
-
declare const styles$
|
|
1505
|
+
declare const styles$c: {
|
|
1506
1506
|
readonly "root": string;
|
|
1507
1507
|
readonly "content": string;
|
|
1508
1508
|
readonly "title": string;
|
|
@@ -1512,9 +1512,9 @@ declare const styles$b: {
|
|
|
1512
1512
|
readonly "primaryButtons": string;
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
|
-
type EditSuggestionFormStyles = typeof styles$
|
|
1515
|
+
type EditSuggestionFormStyles = typeof styles$c;
|
|
1516
1516
|
|
|
1517
|
-
declare const styles$
|
|
1517
|
+
declare const styles$b: {
|
|
1518
1518
|
readonly "root": string;
|
|
1519
1519
|
readonly "agentText": string;
|
|
1520
1520
|
readonly "textInput": string;
|
|
@@ -1525,31 +1525,48 @@ declare const styles$a: {
|
|
|
1525
1525
|
readonly "success": string;
|
|
1526
1526
|
};
|
|
1527
1527
|
|
|
1528
|
-
type EditSuggestionTextInputStyles = typeof styles$
|
|
1528
|
+
type EditSuggestionTextInputStyles = typeof styles$b;
|
|
1529
1529
|
|
|
1530
|
-
declare const styles$
|
|
1530
|
+
declare const styles$a: {
|
|
1531
1531
|
readonly "root": string;
|
|
1532
1532
|
readonly "empty": string;
|
|
1533
1533
|
};
|
|
1534
1534
|
|
|
1535
|
-
type EntitiesListStyles = typeof styles$
|
|
1535
|
+
type EntitiesListStyles = typeof styles$a;
|
|
1536
|
+
|
|
1537
|
+
declare const styles$9: {
|
|
1538
|
+
readonly "root": string;
|
|
1539
|
+
readonly "text": string;
|
|
1540
|
+
readonly "icon": string;
|
|
1541
|
+
readonly "logo": string;
|
|
1542
|
+
readonly "lock": string;
|
|
1543
|
+
};
|
|
1544
|
+
|
|
1545
|
+
type FloatingMenuStyles = typeof styles$9;
|
|
1536
1546
|
|
|
1537
1547
|
declare const styles$8: {
|
|
1538
1548
|
readonly "root": string;
|
|
1539
|
-
readonly "
|
|
1549
|
+
readonly "paper": string;
|
|
1540
1550
|
};
|
|
1541
1551
|
|
|
1542
|
-
type
|
|
1552
|
+
type InlineSuggestionsOverlayStyles = typeof styles$8;
|
|
1543
1553
|
|
|
1544
1554
|
declare const styles$7: {
|
|
1555
|
+
readonly "root": string;
|
|
1556
|
+
readonly "content": string;
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
type LinkSearchStyles = typeof styles$7;
|
|
1560
|
+
|
|
1561
|
+
declare const styles$6: {
|
|
1545
1562
|
readonly "root": string;
|
|
1546
1563
|
readonly "anchor": string;
|
|
1547
1564
|
readonly "anchorButton": string;
|
|
1548
1565
|
};
|
|
1549
1566
|
|
|
1550
|
-
type LoginStyles = typeof styles$
|
|
1567
|
+
type LoginStyles = typeof styles$6;
|
|
1551
1568
|
|
|
1552
|
-
declare const styles$
|
|
1569
|
+
declare const styles$5: {
|
|
1553
1570
|
readonly "root": string;
|
|
1554
1571
|
readonly "anchorButton": string;
|
|
1555
1572
|
readonly "errorMessage": string;
|
|
@@ -1562,16 +1579,16 @@ declare const styles$6: {
|
|
|
1562
1579
|
readonly "primaryButton": string;
|
|
1563
1580
|
};
|
|
1564
1581
|
|
|
1565
|
-
type LoginTokenDialogStyles = typeof styles$
|
|
1582
|
+
type LoginTokenDialogStyles = typeof styles$5;
|
|
1566
1583
|
|
|
1567
|
-
declare const styles$
|
|
1584
|
+
declare const styles$4: {
|
|
1568
1585
|
readonly "root": string;
|
|
1569
1586
|
readonly "text": string;
|
|
1570
1587
|
};
|
|
1571
1588
|
|
|
1572
|
-
type SearchTriggerStyles = typeof styles$
|
|
1589
|
+
type SearchTriggerStyles = typeof styles$4;
|
|
1573
1590
|
|
|
1574
|
-
declare const styles$
|
|
1591
|
+
declare const styles$3: {
|
|
1575
1592
|
readonly "root": string;
|
|
1576
1593
|
readonly "isInline": string;
|
|
1577
1594
|
readonly "toggleButton": string;
|
|
@@ -1585,14 +1602,7 @@ declare const styles$4: {
|
|
|
1585
1602
|
readonly "triggersRight": string;
|
|
1586
1603
|
};
|
|
1587
1604
|
|
|
1588
|
-
type SuggestionsOverlayStyles = typeof styles$
|
|
1589
|
-
|
|
1590
|
-
declare const styles$3: {
|
|
1591
|
-
readonly "root": string;
|
|
1592
|
-
readonly "paper": string;
|
|
1593
|
-
};
|
|
1594
|
-
|
|
1595
|
-
type InlineSuggestionsOverlayStyles = typeof styles$3;
|
|
1605
|
+
type SuggestionsOverlayStyles = typeof styles$3;
|
|
1596
1606
|
|
|
1597
1607
|
declare const styles$2: {
|
|
1598
1608
|
readonly "root": string;
|
|
@@ -1674,6 +1684,7 @@ type InputOverlayCustomStyles = {
|
|
|
1674
1684
|
TabCompletion?: Partial<TabCompletionStyles>;
|
|
1675
1685
|
EditSuggestionTextInput?: Partial<EditSuggestionTextInputStyles>;
|
|
1676
1686
|
EditSuggestionForm?: Partial<EditSuggestionFormStyles>;
|
|
1687
|
+
FloatingMenu?: Partial<FloatingMenuStyles>;
|
|
1677
1688
|
};
|
|
1678
1689
|
|
|
1679
1690
|
interface MessagePayload {
|
|
@@ -1768,6 +1779,7 @@ interface MountOptions {
|
|
|
1768
1779
|
rootNode?: string;
|
|
1769
1780
|
suggestionsRootNode?: string;
|
|
1770
1781
|
portalRootNode?: string;
|
|
1782
|
+
floatingMenuRootNode?: string;
|
|
1771
1783
|
};
|
|
1772
1784
|
closestScrollSelector?: string;
|
|
1773
1785
|
automaticHandlingTime?: boolean;
|
|
@@ -1788,7 +1800,9 @@ interface MountOptions {
|
|
|
1788
1800
|
appendOverlayTo?: HTMLElement;
|
|
1789
1801
|
inputMediator?: InputMediator<HTMLElement>;
|
|
1790
1802
|
inlineSuggestions?: boolean;
|
|
1791
|
-
floatingMenu?: boolean
|
|
1803
|
+
floatingMenu?: boolean | {
|
|
1804
|
+
appendOverlayTo?: HTMLElement;
|
|
1805
|
+
};
|
|
1792
1806
|
}
|
|
1793
1807
|
interface WidgetOptions {
|
|
1794
1808
|
customStyles?: WidgetCustomStyles;
|
|
@@ -2126,7 +2140,11 @@ type ContentEditableOptions = {
|
|
|
2126
2140
|
insertBRs?: boolean;
|
|
2127
2141
|
};
|
|
2128
2142
|
declare function updateContentEditable(element: HTMLElement, insertText: string, options?: ContentEditableOptions): Promise<void>;
|
|
2129
|
-
|
|
2143
|
+
interface InsertCKEditorOptions {
|
|
2144
|
+
isBlock?: boolean;
|
|
2145
|
+
isHTML?: boolean;
|
|
2146
|
+
}
|
|
2147
|
+
declare function insertCKEditor(element: HTMLElement, insertText: string, { isBlock, isHTML }?: InsertCKEditorOptions): Promise<void>;
|
|
2130
2148
|
|
|
2131
2149
|
/**
|
|
2132
2150
|
* Format (markdown) patterns to html.
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
|
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { Middleware } from '@reduxjs/toolkit';
|
|
6
6
|
|
|
7
|
-
declare const styles$
|
|
7
|
+
declare const styles$n: {
|
|
8
8
|
readonly "root": string;
|
|
9
9
|
readonly "imageWrapper": string;
|
|
10
10
|
readonly "image": string;
|
|
@@ -33,10 +33,10 @@ interface CardComposition {
|
|
|
33
33
|
Content: FC<ContentProps>;
|
|
34
34
|
Title: FC<TitleProps>;
|
|
35
35
|
}
|
|
36
|
-
type CardStyles = typeof styles$
|
|
36
|
+
type CardStyles = typeof styles$n;
|
|
37
37
|
declare const Card: FC & CardComposition;
|
|
38
38
|
|
|
39
|
-
declare const styles$
|
|
39
|
+
declare const styles$m: {
|
|
40
40
|
readonly "root": string;
|
|
41
41
|
};
|
|
42
42
|
|
|
@@ -51,18 +51,18 @@ type Props$6 = HTMLAttributes<HTMLSpanElement> & {
|
|
|
51
51
|
className?: string;
|
|
52
52
|
keyCode: KeyboardHintKey;
|
|
53
53
|
};
|
|
54
|
-
type KeyboardHintStyles = typeof styles$
|
|
54
|
+
type KeyboardHintStyles = typeof styles$m;
|
|
55
55
|
declare const KeyboardHint: React.FC<Props$6>;
|
|
56
56
|
|
|
57
|
-
declare const styles$
|
|
57
|
+
declare const styles$l: {
|
|
58
58
|
readonly "root": string;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
type Props$5 = HTMLAttributes<HTMLSpanElement>;
|
|
62
|
-
type LabelStyles = typeof styles$
|
|
62
|
+
type LabelStyles = typeof styles$l;
|
|
63
63
|
declare const Label: React.FC<Props$5>;
|
|
64
64
|
|
|
65
|
-
declare const styles$
|
|
65
|
+
declare const styles$k: {
|
|
66
66
|
readonly "root": string;
|
|
67
67
|
readonly "subTitleContainer": string;
|
|
68
68
|
readonly "subtitle": string;
|
|
@@ -73,10 +73,10 @@ type Props$4 = HTMLAttributes<HTMLElement> & {
|
|
|
73
73
|
type: string;
|
|
74
74
|
title?: string;
|
|
75
75
|
};
|
|
76
|
-
type SectionStyles = typeof styles$
|
|
76
|
+
type SectionStyles = typeof styles$k;
|
|
77
77
|
declare const Section: React.FC<Props$4>;
|
|
78
78
|
|
|
79
|
-
declare const styles$
|
|
79
|
+
declare const styles$j: {
|
|
80
80
|
readonly "root": string;
|
|
81
81
|
};
|
|
82
82
|
|
|
@@ -84,10 +84,10 @@ type Props$3 = {
|
|
|
84
84
|
className?: string;
|
|
85
85
|
children?: React.ReactNode;
|
|
86
86
|
};
|
|
87
|
-
type SectionListStyles = typeof styles$
|
|
87
|
+
type SectionListStyles = typeof styles$j;
|
|
88
88
|
declare const SectionList: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
89
89
|
|
|
90
|
-
declare const styles$
|
|
90
|
+
declare const styles$i: {
|
|
91
91
|
readonly "root": string;
|
|
92
92
|
readonly "fadein": string;
|
|
93
93
|
readonly "isClickable": string;
|
|
@@ -132,21 +132,21 @@ interface SuggestionComposition {
|
|
|
132
132
|
DropdownItem: FC<DropdownItemProps>;
|
|
133
133
|
Labels: FC<LabelProps>;
|
|
134
134
|
}
|
|
135
|
-
type SuggestionStyles = typeof styles$
|
|
135
|
+
type SuggestionStyles = typeof styles$i;
|
|
136
136
|
declare const Suggestion: ForwardRefExoticComponent<Props$2 & RefAttributes<any>> & SuggestionComposition;
|
|
137
137
|
|
|
138
|
-
declare const styles$
|
|
138
|
+
declare const styles$h: {
|
|
139
139
|
readonly "root": string;
|
|
140
140
|
readonly "isWithDivider": string;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
-
type SuggestionListStyles = typeof styles$
|
|
143
|
+
type SuggestionListStyles = typeof styles$h;
|
|
144
144
|
interface Props$1 {
|
|
145
145
|
withDivider?: boolean;
|
|
146
146
|
}
|
|
147
147
|
declare const SuggestionList: React.FC<Props$1>;
|
|
148
148
|
|
|
149
|
-
declare const styles$
|
|
149
|
+
declare const styles$g: {
|
|
150
150
|
readonly "root": string;
|
|
151
151
|
readonly "isCollapsed": string;
|
|
152
152
|
};
|
|
@@ -155,7 +155,7 @@ type Props = HTMLAttributes<HTMLButtonElement> & {
|
|
|
155
155
|
isCollapsed: boolean;
|
|
156
156
|
title: string;
|
|
157
157
|
};
|
|
158
|
-
type ToggleButtonStyles = typeof styles$
|
|
158
|
+
type ToggleButtonStyles = typeof styles$g;
|
|
159
159
|
declare const ToggleButton: React.FC<Props>;
|
|
160
160
|
|
|
161
161
|
declare enum Sources {
|
|
@@ -1435,7 +1435,7 @@ interface TextSuggestionState {
|
|
|
1435
1435
|
[type: string]: SuggestionState;
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
1438
|
-
declare const styles$
|
|
1438
|
+
declare const styles$f: {
|
|
1439
1439
|
readonly "isDisabled": string;
|
|
1440
1440
|
readonly "buttonStart": string;
|
|
1441
1441
|
readonly "root": string;
|
|
@@ -1446,9 +1446,9 @@ declare const styles$e: {
|
|
|
1446
1446
|
readonly "isAborted": string;
|
|
1447
1447
|
};
|
|
1448
1448
|
|
|
1449
|
-
type AutoflowStyles = typeof styles$
|
|
1449
|
+
type AutoflowStyles = typeof styles$f;
|
|
1450
1450
|
|
|
1451
|
-
declare const styles$
|
|
1451
|
+
declare const styles$e: {
|
|
1452
1452
|
readonly "root": string;
|
|
1453
1453
|
readonly "list": string;
|
|
1454
1454
|
readonly "listWrapper": string;
|
|
@@ -1493,16 +1493,16 @@ declare const styles$d: {
|
|
|
1493
1493
|
readonly "actionShortcutFixKerning": string;
|
|
1494
1494
|
};
|
|
1495
1495
|
|
|
1496
|
-
type CommandPaletteStyles = typeof styles$
|
|
1496
|
+
type CommandPaletteStyles = typeof styles$e;
|
|
1497
1497
|
|
|
1498
|
-
declare const styles$
|
|
1498
|
+
declare const styles$d: {
|
|
1499
1499
|
readonly "root": string;
|
|
1500
1500
|
readonly "content": string;
|
|
1501
1501
|
};
|
|
1502
1502
|
|
|
1503
|
-
type DialogStyles = typeof styles$
|
|
1503
|
+
type DialogStyles = typeof styles$d;
|
|
1504
1504
|
|
|
1505
|
-
declare const styles$
|
|
1505
|
+
declare const styles$c: {
|
|
1506
1506
|
readonly "root": string;
|
|
1507
1507
|
readonly "content": string;
|
|
1508
1508
|
readonly "title": string;
|
|
@@ -1512,9 +1512,9 @@ declare const styles$b: {
|
|
|
1512
1512
|
readonly "primaryButtons": string;
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
|
-
type EditSuggestionFormStyles = typeof styles$
|
|
1515
|
+
type EditSuggestionFormStyles = typeof styles$c;
|
|
1516
1516
|
|
|
1517
|
-
declare const styles$
|
|
1517
|
+
declare const styles$b: {
|
|
1518
1518
|
readonly "root": string;
|
|
1519
1519
|
readonly "agentText": string;
|
|
1520
1520
|
readonly "textInput": string;
|
|
@@ -1525,31 +1525,48 @@ declare const styles$a: {
|
|
|
1525
1525
|
readonly "success": string;
|
|
1526
1526
|
};
|
|
1527
1527
|
|
|
1528
|
-
type EditSuggestionTextInputStyles = typeof styles$
|
|
1528
|
+
type EditSuggestionTextInputStyles = typeof styles$b;
|
|
1529
1529
|
|
|
1530
|
-
declare const styles$
|
|
1530
|
+
declare const styles$a: {
|
|
1531
1531
|
readonly "root": string;
|
|
1532
1532
|
readonly "empty": string;
|
|
1533
1533
|
};
|
|
1534
1534
|
|
|
1535
|
-
type EntitiesListStyles = typeof styles$
|
|
1535
|
+
type EntitiesListStyles = typeof styles$a;
|
|
1536
|
+
|
|
1537
|
+
declare const styles$9: {
|
|
1538
|
+
readonly "root": string;
|
|
1539
|
+
readonly "text": string;
|
|
1540
|
+
readonly "icon": string;
|
|
1541
|
+
readonly "logo": string;
|
|
1542
|
+
readonly "lock": string;
|
|
1543
|
+
};
|
|
1544
|
+
|
|
1545
|
+
type FloatingMenuStyles = typeof styles$9;
|
|
1536
1546
|
|
|
1537
1547
|
declare const styles$8: {
|
|
1538
1548
|
readonly "root": string;
|
|
1539
|
-
readonly "
|
|
1549
|
+
readonly "paper": string;
|
|
1540
1550
|
};
|
|
1541
1551
|
|
|
1542
|
-
type
|
|
1552
|
+
type InlineSuggestionsOverlayStyles = typeof styles$8;
|
|
1543
1553
|
|
|
1544
1554
|
declare const styles$7: {
|
|
1555
|
+
readonly "root": string;
|
|
1556
|
+
readonly "content": string;
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
type LinkSearchStyles = typeof styles$7;
|
|
1560
|
+
|
|
1561
|
+
declare const styles$6: {
|
|
1545
1562
|
readonly "root": string;
|
|
1546
1563
|
readonly "anchor": string;
|
|
1547
1564
|
readonly "anchorButton": string;
|
|
1548
1565
|
};
|
|
1549
1566
|
|
|
1550
|
-
type LoginStyles = typeof styles$
|
|
1567
|
+
type LoginStyles = typeof styles$6;
|
|
1551
1568
|
|
|
1552
|
-
declare const styles$
|
|
1569
|
+
declare const styles$5: {
|
|
1553
1570
|
readonly "root": string;
|
|
1554
1571
|
readonly "anchorButton": string;
|
|
1555
1572
|
readonly "errorMessage": string;
|
|
@@ -1562,16 +1579,16 @@ declare const styles$6: {
|
|
|
1562
1579
|
readonly "primaryButton": string;
|
|
1563
1580
|
};
|
|
1564
1581
|
|
|
1565
|
-
type LoginTokenDialogStyles = typeof styles$
|
|
1582
|
+
type LoginTokenDialogStyles = typeof styles$5;
|
|
1566
1583
|
|
|
1567
|
-
declare const styles$
|
|
1584
|
+
declare const styles$4: {
|
|
1568
1585
|
readonly "root": string;
|
|
1569
1586
|
readonly "text": string;
|
|
1570
1587
|
};
|
|
1571
1588
|
|
|
1572
|
-
type SearchTriggerStyles = typeof styles$
|
|
1589
|
+
type SearchTriggerStyles = typeof styles$4;
|
|
1573
1590
|
|
|
1574
|
-
declare const styles$
|
|
1591
|
+
declare const styles$3: {
|
|
1575
1592
|
readonly "root": string;
|
|
1576
1593
|
readonly "isInline": string;
|
|
1577
1594
|
readonly "toggleButton": string;
|
|
@@ -1585,14 +1602,7 @@ declare const styles$4: {
|
|
|
1585
1602
|
readonly "triggersRight": string;
|
|
1586
1603
|
};
|
|
1587
1604
|
|
|
1588
|
-
type SuggestionsOverlayStyles = typeof styles$
|
|
1589
|
-
|
|
1590
|
-
declare const styles$3: {
|
|
1591
|
-
readonly "root": string;
|
|
1592
|
-
readonly "paper": string;
|
|
1593
|
-
};
|
|
1594
|
-
|
|
1595
|
-
type InlineSuggestionsOverlayStyles = typeof styles$3;
|
|
1605
|
+
type SuggestionsOverlayStyles = typeof styles$3;
|
|
1596
1606
|
|
|
1597
1607
|
declare const styles$2: {
|
|
1598
1608
|
readonly "root": string;
|
|
@@ -1674,6 +1684,7 @@ type InputOverlayCustomStyles = {
|
|
|
1674
1684
|
TabCompletion?: Partial<TabCompletionStyles>;
|
|
1675
1685
|
EditSuggestionTextInput?: Partial<EditSuggestionTextInputStyles>;
|
|
1676
1686
|
EditSuggestionForm?: Partial<EditSuggestionFormStyles>;
|
|
1687
|
+
FloatingMenu?: Partial<FloatingMenuStyles>;
|
|
1677
1688
|
};
|
|
1678
1689
|
|
|
1679
1690
|
interface MessagePayload {
|
|
@@ -1768,6 +1779,7 @@ interface MountOptions {
|
|
|
1768
1779
|
rootNode?: string;
|
|
1769
1780
|
suggestionsRootNode?: string;
|
|
1770
1781
|
portalRootNode?: string;
|
|
1782
|
+
floatingMenuRootNode?: string;
|
|
1771
1783
|
};
|
|
1772
1784
|
closestScrollSelector?: string;
|
|
1773
1785
|
automaticHandlingTime?: boolean;
|
|
@@ -1788,7 +1800,9 @@ interface MountOptions {
|
|
|
1788
1800
|
appendOverlayTo?: HTMLElement;
|
|
1789
1801
|
inputMediator?: InputMediator<HTMLElement>;
|
|
1790
1802
|
inlineSuggestions?: boolean;
|
|
1791
|
-
floatingMenu?: boolean
|
|
1803
|
+
floatingMenu?: boolean | {
|
|
1804
|
+
appendOverlayTo?: HTMLElement;
|
|
1805
|
+
};
|
|
1792
1806
|
}
|
|
1793
1807
|
interface WidgetOptions {
|
|
1794
1808
|
customStyles?: WidgetCustomStyles;
|
|
@@ -2126,7 +2140,11 @@ type ContentEditableOptions = {
|
|
|
2126
2140
|
insertBRs?: boolean;
|
|
2127
2141
|
};
|
|
2128
2142
|
declare function updateContentEditable(element: HTMLElement, insertText: string, options?: ContentEditableOptions): Promise<void>;
|
|
2129
|
-
|
|
2143
|
+
interface InsertCKEditorOptions {
|
|
2144
|
+
isBlock?: boolean;
|
|
2145
|
+
isHTML?: boolean;
|
|
2146
|
+
}
|
|
2147
|
+
declare function insertCKEditor(element: HTMLElement, insertText: string, { isBlock, isHTML }?: InsertCKEditorOptions): Promise<void>;
|
|
2130
2148
|
|
|
2131
2149
|
/**
|
|
2132
2150
|
* Format (markdown) patterns to html.
|