@opentiny/tiny-robot 0.2.1 → 0.3.0-alpha.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/action-group/index.js +5 -5
- package/dist/attachments/index.js +602 -0
- package/dist/bubble/index.js +1 -1
- package/dist/container/index.js +10 -10
- package/dist/dropdown-menu/index.js +8 -8
- package/dist/feedback/index.js +20 -20
- package/dist/flow-layout-buttons/index.js +27 -27
- package/dist/history/index.js +46 -46
- package/dist/index.d.ts +231 -98
- package/dist/index.js +50 -46
- package/dist/index2.js +397 -330
- package/dist/question/index.js +64 -64
- package/dist/sender/index.js +906 -844
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +62 -62
- package/dist/suggestion-pills/index.js +80 -77
- package/dist/suggestion-popover/index.js +2 -2
- package/dist/tiny-robot-svgs.js +500 -174
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,77 +1,81 @@
|
|
|
1
|
-
import
|
|
2
|
-
import n from "./
|
|
1
|
+
import s from "./attachments/index.js";
|
|
2
|
+
import { Bubble as e, BubbleList as n } from "./bubble/index.js";
|
|
3
|
+
import m from "./container/index.js";
|
|
3
4
|
import i from "./conversations/index.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import a from "./dropdown-menu/index.js";
|
|
6
|
+
import p from "./feedback/index.js";
|
|
7
|
+
import f from "./history/index.js";
|
|
7
8
|
import u from "./icon-button/index.js";
|
|
8
|
-
import { Prompt as T, Prompts as
|
|
9
|
+
import { Prompt as T, Prompts as c } from "./prompts/index.js";
|
|
9
10
|
import l from "./question/index.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
16
|
-
|
|
11
|
+
import g from "./sender/index.js";
|
|
12
|
+
import b from "./welcome/index.js";
|
|
13
|
+
import P from "./suggestion/index.js";
|
|
14
|
+
import S from "./suggestion-popover/index.js";
|
|
15
|
+
import d, { SuggestionPillButton as B } from "./suggestion-pills/index.js";
|
|
16
|
+
const _ = [
|
|
17
|
+
s,
|
|
17
18
|
e,
|
|
18
19
|
n,
|
|
19
|
-
i,
|
|
20
20
|
m,
|
|
21
|
+
i,
|
|
21
22
|
a,
|
|
22
23
|
p,
|
|
24
|
+
f,
|
|
23
25
|
u,
|
|
24
26
|
T,
|
|
25
|
-
f,
|
|
26
|
-
l,
|
|
27
27
|
c,
|
|
28
|
+
l,
|
|
28
29
|
g,
|
|
29
30
|
b,
|
|
30
31
|
P,
|
|
31
32
|
S,
|
|
32
|
-
d
|
|
33
|
+
d,
|
|
34
|
+
B
|
|
33
35
|
], Q = {
|
|
34
36
|
install(r) {
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
r.component(`Tr${
|
|
37
|
+
_.forEach((o) => {
|
|
38
|
+
const t = o.name.replace(/^Tiny/, "").replace(/^Tr/, "");
|
|
39
|
+
r.component(`Tr${t}`, o);
|
|
38
40
|
});
|
|
39
41
|
}
|
|
40
42
|
};
|
|
41
43
|
export {
|
|
42
|
-
|
|
43
|
-
e as
|
|
44
|
-
n as
|
|
44
|
+
s as Attachments,
|
|
45
|
+
e as Bubble,
|
|
46
|
+
n as BubbleList,
|
|
47
|
+
m as Container,
|
|
45
48
|
i as Conversations,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
a as DropdownMenu,
|
|
50
|
+
p as Feedback,
|
|
51
|
+
f as History,
|
|
49
52
|
u as IconButton,
|
|
50
53
|
T as Prompt,
|
|
51
|
-
|
|
54
|
+
c as Prompts,
|
|
52
55
|
l as Question,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
e as
|
|
60
|
-
n as
|
|
56
|
+
g as Sender,
|
|
57
|
+
P as Suggestion,
|
|
58
|
+
B as SuggestionPillButton,
|
|
59
|
+
d as SuggestionPills,
|
|
60
|
+
S as SuggestionPopover,
|
|
61
|
+
s as TrAttachments,
|
|
62
|
+
e as TrBubble,
|
|
63
|
+
n as TrBubbleList,
|
|
64
|
+
m as TrContainer,
|
|
61
65
|
i as TrConversations,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
a as TrDropdownMenu,
|
|
67
|
+
p as TrFeedback,
|
|
68
|
+
f as TrHistory,
|
|
65
69
|
u as TrIconButton,
|
|
66
70
|
T as TrPrompt,
|
|
67
|
-
|
|
71
|
+
c as TrPrompts,
|
|
68
72
|
l as TrQuestion,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
g as TrSender,
|
|
74
|
+
P as TrSuggestion,
|
|
75
|
+
B as TrSuggestionPillButton,
|
|
76
|
+
d as TrSuggestionPills,
|
|
77
|
+
S as TrSuggestionPopover,
|
|
78
|
+
b as TrWelcome,
|
|
79
|
+
b as Welcome,
|
|
76
80
|
Q as default
|
|
77
81
|
};
|