@opentiny/tiny-robot 0.3.0-alpha.0 → 0.3.0-alpha.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/action-group/index.js +13 -13
- package/dist/bubble/index.js +2141 -1360
- package/dist/close.js +1 -1
- package/dist/container/index.js +7 -7
- package/dist/dropdown-menu/index.js +38 -37
- package/dist/feedback/index.js +46 -45
- package/dist/flow-layout-buttons/index.js +20 -20
- package/dist/history/index.js +34 -35
- package/dist/index.d.ts +329 -290
- package/dist/index.js +62 -59
- package/dist/index2.js +343 -394
- package/dist/index3.js +129 -3717
- package/dist/index4.js +7 -7
- package/dist/index5.js +931 -2011
- package/dist/index6.js +1020 -891
- package/dist/loading.js +4 -0
- package/dist/prompts/index.js +2 -3
- package/dist/question/index.js +59 -59
- package/dist/sender/index.js +1017 -1025
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +95 -95
- package/dist/suggestion-pills/index.js +130 -109
- package/dist/suggestion-popover/index.js +243 -127
- package/dist/tiny-robot-svgs.js +211 -488
- package/dist/utils.js +15 -4
- package/package.json +4 -3
- package/dist/attachments/index.js +0 -602
package/dist/index.js
CHANGED
|
@@ -1,81 +1,84 @@
|
|
|
1
|
-
import s from "./
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { Bubble as s, BubbleList as t, BubbleProvider as n } from "./bubble/index.js";
|
|
2
|
+
import { BubbleChainMessageRenderer as E, BubbleMarkdownMessageRenderer as j, BubbleMessageClassRenderer as q } from "./bubble/index.js";
|
|
3
|
+
import i from "./container/index.js";
|
|
4
|
+
import a from "./conversations/index.js";
|
|
5
|
+
import m from "./dropdown-menu/index.js";
|
|
6
6
|
import p from "./feedback/index.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { Prompt as T, Prompts as
|
|
10
|
-
import
|
|
7
|
+
import u from "./history/index.js";
|
|
8
|
+
import l from "./icon-button/index.js";
|
|
9
|
+
import { Prompt as T, Prompts as b } from "./prompts/index.js";
|
|
10
|
+
import f from "./question/index.js";
|
|
11
11
|
import g from "./sender/index.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
const
|
|
12
|
+
import c from "./welcome/index.js";
|
|
13
|
+
import d from "./suggestion/index.js";
|
|
14
|
+
import B from "./suggestion-popover/index.js";
|
|
15
|
+
import P, { SuggestionPillButton as S } from "./suggestion-pills/index.js";
|
|
16
|
+
const v = [
|
|
17
17
|
s,
|
|
18
|
-
|
|
18
|
+
t,
|
|
19
19
|
n,
|
|
20
|
-
m,
|
|
21
20
|
i,
|
|
22
21
|
a,
|
|
22
|
+
m,
|
|
23
23
|
p,
|
|
24
|
-
f,
|
|
25
24
|
u,
|
|
26
|
-
T,
|
|
27
|
-
c,
|
|
28
25
|
l,
|
|
29
|
-
|
|
26
|
+
T,
|
|
30
27
|
b,
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
f,
|
|
29
|
+
g,
|
|
30
|
+
c,
|
|
33
31
|
d,
|
|
34
|
-
B
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
B,
|
|
33
|
+
P,
|
|
34
|
+
S
|
|
35
|
+
], L = {
|
|
36
|
+
install(o) {
|
|
37
|
+
v.forEach((r) => {
|
|
38
|
+
const e = r.name.replace(/^Tiny/, "").replace(/^Tr/, "");
|
|
39
|
+
o.component(`Tr${e}`, r);
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
export {
|
|
44
|
-
s as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
s as Bubble,
|
|
45
|
+
E as BubbleChainMessageRenderer,
|
|
46
|
+
t as BubbleList,
|
|
47
|
+
j as BubbleMarkdownMessageRenderer,
|
|
48
|
+
q as BubbleMessageClassRenderer,
|
|
49
|
+
n as BubbleProvider,
|
|
50
|
+
i as Container,
|
|
51
|
+
a as Conversations,
|
|
52
|
+
m as DropdownMenu,
|
|
50
53
|
p as Feedback,
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
u as History,
|
|
55
|
+
l as IconButton,
|
|
53
56
|
T as Prompt,
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
b as Prompts,
|
|
58
|
+
f as Question,
|
|
56
59
|
g as Sender,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
s as
|
|
62
|
-
|
|
63
|
-
n as
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
d as Suggestion,
|
|
61
|
+
S as SuggestionPillButton,
|
|
62
|
+
P as SuggestionPills,
|
|
63
|
+
B as SuggestionPopover,
|
|
64
|
+
s as TrBubble,
|
|
65
|
+
t as TrBubbleList,
|
|
66
|
+
n as TrBubbleProvider,
|
|
67
|
+
i as TrContainer,
|
|
68
|
+
a as TrConversations,
|
|
69
|
+
m as TrDropdownMenu,
|
|
67
70
|
p as TrFeedback,
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
u as TrHistory,
|
|
72
|
+
l as TrIconButton,
|
|
70
73
|
T as TrPrompt,
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
b as TrPrompts,
|
|
75
|
+
f as TrQuestion,
|
|
73
76
|
g as TrSender,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
d as TrSuggestion,
|
|
78
|
+
S as TrSuggestionPillButton,
|
|
79
|
+
P as TrSuggestionPills,
|
|
80
|
+
B as TrSuggestionPopover,
|
|
81
|
+
c as TrWelcome,
|
|
82
|
+
c as Welcome,
|
|
83
|
+
L as default
|
|
81
84
|
};
|