@copilotkit/react-ui 1.0.7 → 1.0.8-mme-pre-dev-console.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/CHANGELOG.md +10 -0
- package/dist/{chunk-DYHXNV2B.mjs → chunk-2CFQIOJA.mjs} +2 -2
- package/dist/{chunk-5BL3YDGU.mjs → chunk-BBZDFB4Y.mjs} +5 -1
- package/dist/chunk-BBZDFB4Y.mjs.map +1 -0
- package/dist/{chunk-QHAVUMXM.mjs → chunk-EU75TDHP.mjs} +2 -2
- package/dist/{chunk-OLL5TU65.mjs → chunk-JCRSTTLF.mjs} +2 -2
- package/dist/chunk-O4AM2PCW.mjs +212 -0
- package/dist/chunk-O4AM2PCW.mjs.map +1 -0
- package/dist/chunk-OTPAZXVR.mjs +92 -0
- package/dist/chunk-OTPAZXVR.mjs.map +1 -0
- package/dist/chunk-RT2BA4MP.mjs +85 -0
- package/dist/chunk-RT2BA4MP.mjs.map +1 -0
- package/dist/chunk-V7W6IM2V.mjs +1 -0
- package/dist/chunk-V7W6IM2V.mjs.map +1 -0
- package/dist/components/chat/Chat.js +377 -24
- package/dist/components/chat/Chat.js.map +1 -1
- package/dist/components/chat/Chat.mjs +5 -1
- package/dist/components/chat/Modal.js +386 -33
- package/dist/components/chat/Modal.js.map +1 -1
- package/dist/components/chat/Modal.mjs +6 -2
- package/dist/components/chat/Popup.js +388 -35
- package/dist/components/chat/Popup.js.map +1 -1
- package/dist/components/chat/Popup.mjs +7 -3
- package/dist/components/chat/Sidebar.js +390 -37
- package/dist/components/chat/Sidebar.js.map +1 -1
- package/dist/components/chat/Sidebar.mjs +7 -3
- package/dist/components/chat/index.js +392 -39
- package/dist/components/chat/index.js.map +1 -1
- package/dist/components/chat/index.mjs +8 -4
- package/dist/components/dev-console/console.d.ts +8 -0
- package/dist/components/dev-console/console.js +441 -0
- package/dist/components/dev-console/console.js.map +1 -0
- package/dist/components/dev-console/console.mjs +14 -0
- package/dist/components/dev-console/console.mjs.map +1 -0
- package/dist/components/dev-console/icons.d.ts +7 -0
- package/dist/components/dev-console/icons.js +120 -0
- package/dist/components/dev-console/icons.js.map +1 -0
- package/dist/components/dev-console/icons.mjs +16 -0
- package/dist/components/dev-console/icons.mjs.map +1 -0
- package/dist/components/dev-console/index.d.ts +4 -0
- package/dist/components/dev-console/index.js +441 -0
- package/dist/components/dev-console/index.js.map +1 -0
- package/dist/components/dev-console/index.mjs +15 -0
- package/dist/components/dev-console/index.mjs.map +1 -0
- package/dist/components/dev-console/types.d.ts +9 -0
- package/dist/components/dev-console/types.js +19 -0
- package/dist/components/dev-console/types.js.map +1 -0
- package/dist/components/dev-console/types.mjs +1 -0
- package/dist/components/dev-console/types.mjs.map +1 -0
- package/dist/components/dev-console/utils.d.ts +9 -0
- package/dist/components/dev-console/utils.js +128 -0
- package/dist/components/dev-console/utils.js.map +1 -0
- package/dist/components/dev-console/utils.mjs +14 -0
- package/dist/components/dev-console/utils.mjs.map +1 -0
- package/dist/components/index.js +392 -39
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +8 -4
- package/dist/index.css +115 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +398 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/package.json +8 -7
- package/src/components/chat/Chat.tsx +3 -0
- package/src/components/dev-console/console.tsx +258 -0
- package/src/components/dev-console/icons.tsx +92 -0
- package/src/components/dev-console/index.tsx +2 -0
- package/src/components/dev-console/types.ts +7 -0
- package/src/components/dev-console/utils.ts +93 -0
- package/src/css/console.css +130 -0
- package/src/styles.css +1 -0
- package/.turbo/turbo-build.log +0 -222
- package/dist/chunk-5BL3YDGU.mjs.map +0 -1
- /package/dist/{chunk-DYHXNV2B.mjs.map → chunk-2CFQIOJA.mjs.map} +0 -0
- /package/dist/{chunk-QHAVUMXM.mjs.map → chunk-EU75TDHP.mjs.map} +0 -0
- /package/dist/{chunk-OLL5TU65.mjs.map → chunk-JCRSTTLF.mjs.map} +0 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
.copilotKitDevConsole {
|
|
2
|
+
background-color: #f3f4f6;
|
|
3
|
+
padding-left: 10px;
|
|
4
|
+
padding-right: 10px;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
border-bottom: 1px solid #cecece;
|
|
8
|
+
padding-top: 10px;
|
|
9
|
+
padding-bottom: 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.copilotKitDevConsole.copilotKitDevConsoleWarnOutdated {
|
|
13
|
+
background-color: #f9caca;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.copilotKitDevConsole .copilotKitVersionInfo {
|
|
17
|
+
flex: 1;
|
|
18
|
+
margin-left: 18px;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 2px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.copilotKitDevConsole .copilotKitVersionInfo header {
|
|
25
|
+
font-size: 11px;
|
|
26
|
+
font-weight: bold;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.copilotKitDevConsole .copilotKitVersionInfo footer {
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.copilotKitDevConsole .copilotKitVersionInfo footer button {
|
|
34
|
+
font-size: 11px;
|
|
35
|
+
font-weight: normal;
|
|
36
|
+
font-family: monospace;
|
|
37
|
+
background-color: white;
|
|
38
|
+
border: 1px solid #979797;
|
|
39
|
+
padding: 1px 12px;
|
|
40
|
+
padding-left: 5px;
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
text-align: left;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
width: 260px;
|
|
47
|
+
text-overflow: ellipsis;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.copilotKitDevConsole .copilotKitVersionInfo header aside {
|
|
51
|
+
display: inline;
|
|
52
|
+
font-weight: normal;
|
|
53
|
+
color: #7f7a7a;
|
|
54
|
+
margin-left: 5px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.copilotKitDevConsole .copilotKitVersionInfo section {
|
|
58
|
+
font-size: 11px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.copilotKitDevConsole .copilotKitVersionInfo section svg {
|
|
62
|
+
margin-left: 3px;
|
|
63
|
+
margin-top: -3px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.copilotKitDevConsole .copilotKitDebugMenuButton {
|
|
67
|
+
font-size: 11px;
|
|
68
|
+
font-weight: bold;
|
|
69
|
+
display: flex;
|
|
70
|
+
width: 90px;
|
|
71
|
+
height: 30px;
|
|
72
|
+
background-color: #d8d8d8;
|
|
73
|
+
border: 1px solid #979797;
|
|
74
|
+
border-radius: 6px;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
outline: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.copilotKitDebugMenuButton.compact {
|
|
81
|
+
width: 35px;
|
|
82
|
+
color: black;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
outline: none;
|
|
85
|
+
font-size: 8px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.copilotKitDevConsole .copilotKitDebugMenuButton:hover {
|
|
89
|
+
background-color: #c7c7c7;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.copilotKitDevConsole .copilotKitDebugMenuButton > svg {
|
|
93
|
+
margin-left: 10px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.copilotKitDebugMenu {
|
|
97
|
+
background-color: #d8d8d8;
|
|
98
|
+
margin-top: 2px;
|
|
99
|
+
border-radius: 6px;
|
|
100
|
+
border: 1px solid #979797;
|
|
101
|
+
padding: 0.25rem;
|
|
102
|
+
outline: none;
|
|
103
|
+
font-size: 13px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.copilotKitDebugMenuItem {
|
|
107
|
+
padding-top: 3px;
|
|
108
|
+
padding-bottom: 3px;
|
|
109
|
+
padding-left: 10px;
|
|
110
|
+
padding-right: 10px;
|
|
111
|
+
display: block;
|
|
112
|
+
width: 100%;
|
|
113
|
+
text-align: left;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.copilotKitDebugMenuItem:hover {
|
|
117
|
+
background-color: #c7c7c7;
|
|
118
|
+
border-radius: 4px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.copilotKitDebugMenu[data-closed] {
|
|
122
|
+
transform: scale(0.95); /* data-[closed]:scale-95 */
|
|
123
|
+
opacity: 0; /* data-[closed]:opacity-0 */
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.copilotKitDebugMenu hr {
|
|
127
|
+
height: 1px;
|
|
128
|
+
border-color: #979797;
|
|
129
|
+
margin: 0.25rem;
|
|
130
|
+
}
|
package/src/styles.css
CHANGED
package/.turbo/turbo-build.log
DELETED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @copilotkit/react-ui@1.0.7 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui
|
|
3
|
-
> tsup --clean
|
|
4
|
-
|
|
5
|
-
[34mCLI[39m Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/hooks/use-copilot-chat-suggestions.tsx, src/hooks/use-copy-to-clipboard.tsx, src/hooks/use-push-to-talk.tsx, src/lib/utils.test.ts, src/lib/utils.ts, src/types/css.ts, src/types/index.ts, src/types/suggestions.ts, src/components/chat/Button.tsx, src/components/chat/Chat.tsx, src/components/chat/ChatContext.tsx, src/components/chat/CodeBlock.tsx, src/components/chat/Header.tsx, src/components/chat/Icons.tsx, src/components/chat/Input.tsx, src/components/chat/Markdown.tsx, src/components/chat/Messages.tsx, src/components/chat/Modal.tsx, src/components/chat/Popup.tsx, src/components/chat/Response.tsx, src/components/chat/Sidebar.tsx, src/components/chat/Suggestion.tsx, src/components/chat/Textarea.tsx, src/components/chat/Window.tsx, src/components/chat/index.tsx, src/components/chat/props.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v6.7.0
|
|
8
|
-
[34mCLI[39m Using tsup config: /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-ui/tsup.config.ts
|
|
9
|
-
[34mCLI[39m Target: es6
|
|
10
|
-
[34mCLI[39m Cleaning output folder
|
|
11
|
-
[34mESM[39m Build start
|
|
12
|
-
[34mCJS[39m Build start
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m1.07 KB[39m
|
|
14
|
-
[32mESM[39m [1mdist/components/index.mjs [22m[32m915.00 B[39m
|
|
15
|
-
[32mESM[39m [1mdist/context/index.mjs [22m[32m66.00 B[39m
|
|
16
|
-
[32mESM[39m [1mdist/hooks/index.mjs [22m[32m207.00 B[39m
|
|
17
|
-
[32mESM[39m [1mdist/lib/utils.test.mjs [22m[32m168.00 B[39m
|
|
18
|
-
[32mESM[39m [1mdist/chunk-EFZPSZWO.mjs [22m[32m43.00 B[39m
|
|
19
|
-
[32mESM[39m [1mdist/chunk-JD7BAH7U.mjs [22m[32m43.00 B[39m
|
|
20
|
-
[32mESM[39m [1mdist/chunk-MRFF7GSQ.mjs [22m[32m43.00 B[39m
|
|
21
|
-
[32mESM[39m [1mdist/chunk-QHAVUMXM.mjs [22m[32m1.02 KB[39m
|
|
22
|
-
[32mESM[39m [1mdist/chunk-WB3YULQ4.mjs [22m[32m43.00 B[39m
|
|
23
|
-
[32mESM[39m [1mdist/chunk-DYHXNV2B.mjs [22m[32m573.00 B[39m
|
|
24
|
-
[32mESM[39m [1mdist/chunk-OLL5TU65.mjs [22m[32m2.17 KB[39m
|
|
25
|
-
[32mESM[39m [1mdist/chunk-B7DNOYVQ.mjs [22m[32m3.80 KB[39m
|
|
26
|
-
[32mESM[39m [1mdist/chunk-SE6DAYSX.mjs [22m[32m566.00 B[39m
|
|
27
|
-
[32mESM[39m [1mdist/chunk-UC3Y7MWX.mjs [22m[32m825.00 B[39m
|
|
28
|
-
[32mESM[39m [1mdist/chunk-5BL3YDGU.mjs [22m[32m4.84 KB[39m
|
|
29
|
-
[32mESM[39m [1mdist/chunk-KSCXPA74.mjs [22m[32m3.75 KB[39m
|
|
30
|
-
[32mESM[39m [1mdist/chunk-U6J5DGOE.mjs [22m[32m2.77 KB[39m
|
|
31
|
-
[32mESM[39m [1mdist/chunk-YQFVRDNC.mjs [22m[32m1.53 KB[39m
|
|
32
|
-
[32mESM[39m [1mdist/chunk-4Z2WDXSK.mjs [22m[32m4.59 KB[39m
|
|
33
|
-
[32mESM[39m [1mdist/chunk-YQ3D5IQV.mjs [22m[32m2.17 KB[39m
|
|
34
|
-
[32mESM[39m [1mdist/chunk-XSUSSWDS.mjs [22m[32m613.00 B[39m
|
|
35
|
-
[32mESM[39m [1mdist/chunk-BJPGMY3I.mjs [22m[32m1.63 KB[39m
|
|
36
|
-
[32mESM[39m [1mdist/chunk-UPTB2MVO.mjs [22m[32m8.65 KB[39m
|
|
37
|
-
[32mESM[39m [1mdist/chunk-FZC7X5PK.mjs [22m[32m7.83 KB[39m
|
|
38
|
-
[32mESM[39m [1mdist/chunk-IU3WTXLQ.mjs [22m[32m43.00 B[39m
|
|
39
|
-
[32mESM[39m [1mdist/chunk-T26KLXLH.mjs [22m[32m43.00 B[39m
|
|
40
|
-
[32mESM[39m [1mdist/hooks/use-copilot-chat-suggestions.mjs [22m[32m198.00 B[39m
|
|
41
|
-
[32mESM[39m [1mdist/chunk-RMK4ADB6.mjs [22m[32m729.00 B[39m
|
|
42
|
-
[32mESM[39m [1mdist/hooks/use-copy-to-clipboard.mjs [22m[32m177.00 B[39m
|
|
43
|
-
[32mESM[39m [1mdist/chunk-54JAUBUJ.mjs [22m[32m675.00 B[39m
|
|
44
|
-
[32mESM[39m [1mdist/hooks/use-push-to-talk.mjs [22m[32m290.00 B[39m
|
|
45
|
-
[32mESM[39m [1mdist/chunk-VOBX4JOA.mjs [22m[32m4.96 KB[39m
|
|
46
|
-
[32mESM[39m [1mdist/chunk-MRXNTQOX.mjs [22m[32m1.89 KB[39m
|
|
47
|
-
[32mESM[39m [1mdist/index.css [22m[32m14.41 KB[39m
|
|
48
|
-
[32mESM[39m [1mdist/components/chat/Sidebar.mjs [22m[32m721.00 B[39m
|
|
49
|
-
[32mESM[39m [1mdist/types/css.mjs [22m[32m32.00 B[39m
|
|
50
|
-
[32mESM[39m [1mdist/components/chat/Suggestion.mjs [22m[32m233.00 B[39m
|
|
51
|
-
[32mESM[39m [1mdist/components/chat/Textarea.mjs [22m[32m177.00 B[39m
|
|
52
|
-
[32mESM[39m [1mdist/components/chat/Window.mjs [22m[32m144.00 B[39m
|
|
53
|
-
[32mESM[39m [1mdist/components/chat/index.mjs [22m[32m946.00 B[39m
|
|
54
|
-
[32mESM[39m [1mdist/components/chat/props.mjs [22m[32m69.00 B[39m
|
|
55
|
-
[32mESM[39m [1mdist/components/chat/Header.mjs [22m[32m214.00 B[39m
|
|
56
|
-
[32mESM[39m [1mdist/components/chat/Icons.mjs [22m[32m515.00 B[39m
|
|
57
|
-
[32mESM[39m [1mdist/components/chat/Input.mjs [22m[32m281.00 B[39m
|
|
58
|
-
[32mESM[39m [1mdist/components/chat/Markdown.mjs [22m[32m255.00 B[39m
|
|
59
|
-
[32mESM[39m [1mdist/components/chat/Messages.mjs [22m[32m325.00 B[39m
|
|
60
|
-
[32mESM[39m [1mdist/components/chat/Modal.mjs [22m[32m680.00 B[39m
|
|
61
|
-
[32mESM[39m [1mdist/components/chat/Popup.mjs [22m[32m715.00 B[39m
|
|
62
|
-
[32mESM[39m [1mdist/components/chat/Response.mjs [22m[32m232.00 B[39m
|
|
63
|
-
[32mESM[39m [1mdist/lib/utils.mjs [22m[32m730.00 B[39m
|
|
64
|
-
[32mESM[39m [1mdist/types/index.mjs [22m[32m66.00 B[39m
|
|
65
|
-
[32mESM[39m [1mdist/types/suggestions.mjs [22m[32m40.00 B[39m
|
|
66
|
-
[32mESM[39m [1mdist/components/chat/Button.mjs [22m[32m214.00 B[39m
|
|
67
|
-
[32mESM[39m [1mdist/components/chat/Chat.mjs [22m[32m627.00 B[39m
|
|
68
|
-
[32mESM[39m [1mdist/components/chat/ChatContext.mjs [22m[32m276.00 B[39m
|
|
69
|
-
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs [22m[32m319.00 B[39m
|
|
70
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m71.00 B[39m
|
|
71
|
-
[32mESM[39m [1mdist/components/index.mjs.map [22m[32m71.00 B[39m
|
|
72
|
-
[32mESM[39m [1mdist/context/index.mjs.map [22m[32m71.00 B[39m
|
|
73
|
-
[32mESM[39m [1mdist/hooks/index.mjs.map [22m[32m71.00 B[39m
|
|
74
|
-
[32mESM[39m [1mdist/lib/utils.test.mjs.map [22m[32m350.00 B[39m
|
|
75
|
-
[32mESM[39m [1mdist/chunk-EFZPSZWO.mjs.map [22m[32m71.00 B[39m
|
|
76
|
-
[32mESM[39m [1mdist/chunk-JD7BAH7U.mjs.map [22m[32m71.00 B[39m
|
|
77
|
-
[32mESM[39m [1mdist/chunk-MRFF7GSQ.mjs.map [22m[32m71.00 B[39m
|
|
78
|
-
[32mESM[39m [1mdist/chunk-QHAVUMXM.mjs.map [22m[32m3.03 KB[39m
|
|
79
|
-
[32mESM[39m [1mdist/chunk-WB3YULQ4.mjs.map [22m[32m71.00 B[39m
|
|
80
|
-
[32mESM[39m [1mdist/chunk-DYHXNV2B.mjs.map [22m[32m2.10 KB[39m
|
|
81
|
-
[32mESM[39m [1mdist/chunk-OLL5TU65.mjs.map [22m[32m4.36 KB[39m
|
|
82
|
-
[32mESM[39m [1mdist/chunk-B7DNOYVQ.mjs.map [22m[32m6.70 KB[39m
|
|
83
|
-
[32mESM[39m [1mdist/chunk-SE6DAYSX.mjs.map [22m[32m773.00 B[39m
|
|
84
|
-
[32mESM[39m [1mdist/chunk-UC3Y7MWX.mjs.map [22m[32m1.12 KB[39m
|
|
85
|
-
[32mESM[39m [1mdist/chunk-5BL3YDGU.mjs.map [22m[32m10.99 KB[39m
|
|
86
|
-
[32mESM[39m [1mdist/chunk-KSCXPA74.mjs.map [22m[32m6.16 KB[39m
|
|
87
|
-
[32mESM[39m [1mdist/chunk-U6J5DGOE.mjs.map [22m[32m4.27 KB[39m
|
|
88
|
-
[32mESM[39m [1mdist/chunk-YQFVRDNC.mjs.map [22m[32m2.80 KB[39m
|
|
89
|
-
[32mESM[39m [1mdist/chunk-4Z2WDXSK.mjs.map [22m[32m8.20 KB[39m
|
|
90
|
-
[32mESM[39m [1mdist/chunk-YQ3D5IQV.mjs.map [22m[32m3.22 KB[39m
|
|
91
|
-
[32mESM[39m [1mdist/chunk-XSUSSWDS.mjs.map [22m[32m854.00 B[39m
|
|
92
|
-
[32mESM[39m [1mdist/chunk-BJPGMY3I.mjs.map [22m[32m4.85 KB[39m
|
|
93
|
-
[32mESM[39m [1mdist/chunk-UPTB2MVO.mjs.map [22m[32m15.59 KB[39m
|
|
94
|
-
[32mESM[39m [1mdist/chunk-FZC7X5PK.mjs.map [22m[32m10.15 KB[39m
|
|
95
|
-
[32mESM[39m [1mdist/chunk-IU3WTXLQ.mjs.map [22m[32m71.00 B[39m
|
|
96
|
-
[32mESM[39m [1mdist/chunk-T26KLXLH.mjs.map [22m[32m71.00 B[39m
|
|
97
|
-
[32mESM[39m [1mdist/hooks/use-copilot-chat-suggestions.mjs.map [22m[32m71.00 B[39m
|
|
98
|
-
[32mESM[39m [1mdist/chunk-RMK4ADB6.mjs.map [22m[32m3.70 KB[39m
|
|
99
|
-
[32mESM[39m [1mdist/hooks/use-copy-to-clipboard.mjs.map [22m[32m71.00 B[39m
|
|
100
|
-
[32mESM[39m [1mdist/chunk-54JAUBUJ.mjs.map [22m[32m1.16 KB[39m
|
|
101
|
-
[32mESM[39m [1mdist/hooks/use-push-to-talk.mjs.map [22m[32m71.00 B[39m
|
|
102
|
-
[32mESM[39m [1mdist/chunk-VOBX4JOA.mjs.map [22m[32m8.53 KB[39m
|
|
103
|
-
[32mESM[39m [1mdist/chunk-MRXNTQOX.mjs.map [22m[32m71.00 B[39m
|
|
104
|
-
[32mESM[39m [1mdist/index.css.map [22m[32m18.25 KB[39m
|
|
105
|
-
[32mESM[39m [1mdist/components/chat/Sidebar.mjs.map [22m[32m71.00 B[39m
|
|
106
|
-
[32mESM[39m [1mdist/types/css.mjs.map [22m[32m71.00 B[39m
|
|
107
|
-
[32mESM[39m [1mdist/components/chat/Suggestion.mjs.map [22m[32m71.00 B[39m
|
|
108
|
-
[32mESM[39m [1mdist/components/chat/Textarea.mjs.map [22m[32m71.00 B[39m
|
|
109
|
-
[32mESM[39m [1mdist/components/chat/Window.mjs.map [22m[32m71.00 B[39m
|
|
110
|
-
[32mESM[39m [1mdist/components/chat/index.mjs.map [22m[32m71.00 B[39m
|
|
111
|
-
[32mESM[39m [1mdist/components/chat/props.mjs.map [22m[32m71.00 B[39m
|
|
112
|
-
[32mESM[39m [1mdist/components/chat/Header.mjs.map [22m[32m71.00 B[39m
|
|
113
|
-
[32mESM[39m [1mdist/components/chat/Icons.mjs.map [22m[32m71.00 B[39m
|
|
114
|
-
[32mESM[39m [1mdist/components/chat/Input.mjs.map [22m[32m71.00 B[39m
|
|
115
|
-
[32mESM[39m [1mdist/components/chat/Markdown.mjs.map [22m[32m71.00 B[39m
|
|
116
|
-
[32mESM[39m [1mdist/components/chat/Messages.mjs.map [22m[32m71.00 B[39m
|
|
117
|
-
[32mESM[39m [1mdist/components/chat/Modal.mjs.map [22m[32m71.00 B[39m
|
|
118
|
-
[32mESM[39m [1mdist/components/chat/Popup.mjs.map [22m[32m71.00 B[39m
|
|
119
|
-
[32mESM[39m [1mdist/components/chat/Response.mjs.map [22m[32m71.00 B[39m
|
|
120
|
-
[32mESM[39m [1mdist/lib/utils.mjs.map [22m[32m1.24 KB[39m
|
|
121
|
-
[32mESM[39m [1mdist/types/index.mjs.map [22m[32m71.00 B[39m
|
|
122
|
-
[32mESM[39m [1mdist/types/suggestions.mjs.map [22m[32m71.00 B[39m
|
|
123
|
-
[32mESM[39m [1mdist/components/chat/Button.mjs.map [22m[32m71.00 B[39m
|
|
124
|
-
[32mESM[39m [1mdist/components/chat/Chat.mjs.map [22m[32m71.00 B[39m
|
|
125
|
-
[32mESM[39m [1mdist/components/chat/ChatContext.mjs.map [22m[32m71.00 B[39m
|
|
126
|
-
[32mESM[39m [1mdist/components/chat/CodeBlock.mjs.map [22m[32m71.00 B[39m
|
|
127
|
-
[32mESM[39m ⚡️ Build success in 291ms
|
|
128
|
-
[32mCJS[39m [1mdist/index.js [22m[32m56.71 KB[39m
|
|
129
|
-
[32mCJS[39m [1mdist/components/index.js [22m[32m55.94 KB[39m
|
|
130
|
-
[32mCJS[39m [1mdist/context/index.js [22m[32m803.00 B[39m
|
|
131
|
-
[32mCJS[39m [1mdist/hooks/index.js [22m[32m1.80 KB[39m
|
|
132
|
-
[32mCJS[39m [1mdist/hooks/use-copilot-chat-suggestions.js [22m[32m1.87 KB[39m
|
|
133
|
-
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js [22m[32m2.30 KB[39m
|
|
134
|
-
[32mCJS[39m [1mdist/hooks/use-push-to-talk.js [22m[32m6.79 KB[39m
|
|
135
|
-
[32mCJS[39m [1mdist/lib/utils.test.js [22m[32m182.00 B[39m
|
|
136
|
-
[32mCJS[39m [1mdist/index.css [22m[32m14.41 KB[39m
|
|
137
|
-
[32mCJS[39m [1mdist/lib/utils.js [22m[32m2.21 KB[39m
|
|
138
|
-
[32mCJS[39m [1mdist/types/css.js [22m[32m789.00 B[39m
|
|
139
|
-
[32mCJS[39m [1mdist/types/index.js [22m[32m797.00 B[39m
|
|
140
|
-
[32mCJS[39m [1mdist/types/suggestions.js [22m[32m821.00 B[39m
|
|
141
|
-
[32mCJS[39m [1mdist/components/chat/Button.js [22m[32m2.91 KB[39m
|
|
142
|
-
[32mCJS[39m [1mdist/components/chat/ChatContext.js [22m[32m9.29 KB[39m
|
|
143
|
-
[32mCJS[39m [1mdist/components/chat/CodeBlock.js [22m[32m14.30 KB[39m
|
|
144
|
-
[32mCJS[39m [1mdist/components/chat/Header.js [22m[32m2.63 KB[39m
|
|
145
|
-
[32mCJS[39m [1mdist/components/chat/Chat.js [22m[32m47.49 KB[39m
|
|
146
|
-
[32mCJS[39m [1mdist/components/chat/Icons.js [22m[32m11.01 KB[39m
|
|
147
|
-
[32mCJS[39m [1mdist/components/chat/Input.js [22m[32m11.14 KB[39m
|
|
148
|
-
[32mCJS[39m [1mdist/components/chat/Markdown.js [22m[32m16.47 KB[39m
|
|
149
|
-
[32mCJS[39m [1mdist/components/chat/Messages.js [22m[32m21.93 KB[39m
|
|
150
|
-
[32mCJS[39m [1mdist/components/chat/Modal.js [22m[32m54.42 KB[39m
|
|
151
|
-
[32mCJS[39m [1mdist/components/chat/Popup.js [22m[32m54.86 KB[39m
|
|
152
|
-
[32mCJS[39m [1mdist/components/chat/Response.js [22m[32m2.67 KB[39m
|
|
153
|
-
[32mCJS[39m [1mdist/components/chat/Suggestion.js [22m[32m6.30 KB[39m
|
|
154
|
-
[32mCJS[39m [1mdist/components/chat/Window.js [22m[32m5.46 KB[39m
|
|
155
|
-
[32mCJS[39m [1mdist/components/chat/Textarea.js [22m[32m2.51 KB[39m
|
|
156
|
-
[32mCJS[39m [1mdist/components/chat/Sidebar.js [22m[32m55.38 KB[39m
|
|
157
|
-
[32mCJS[39m [1mdist/components/chat/props.js [22m[32m807.00 B[39m
|
|
158
|
-
[32mCJS[39m [1mdist/components/chat/index.js [22m[32m55.93 KB[39m
|
|
159
|
-
[32mCJS[39m [1mdist/context/index.js.map [22m[32m139.00 B[39m
|
|
160
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m97.86 KB[39m
|
|
161
|
-
[32mCJS[39m [1mdist/hooks/index.js.map [22m[32m3.82 KB[39m
|
|
162
|
-
[32mCJS[39m [1mdist/hooks/use-copilot-chat-suggestions.js.map [22m[32m3.74 KB[39m
|
|
163
|
-
[32mCJS[39m [1mdist/hooks/use-push-to-talk.js.map [22m[32m8.58 KB[39m
|
|
164
|
-
[32mCJS[39m [1mdist/components/index.js.map [22m[32m94.10 KB[39m
|
|
165
|
-
[32mCJS[39m [1mdist/hooks/use-copy-to-clipboard.js.map [22m[32m1.21 KB[39m
|
|
166
|
-
[32mCJS[39m [1mdist/lib/utils.test.js.map [22m[32m352.00 B[39m
|
|
167
|
-
[32mCJS[39m [1mdist/lib/utils.js.map [22m[32m1.30 KB[39m
|
|
168
|
-
[32mCJS[39m [1mdist/types/index.js.map [22m[32m182.00 B[39m
|
|
169
|
-
[32mCJS[39m [1mdist/index.css.map [22m[32m18.25 KB[39m
|
|
170
|
-
[32mCJS[39m [1mdist/types/css.js.map [22m[32m788.00 B[39m
|
|
171
|
-
[32mCJS[39m [1mdist/types/suggestions.js.map [22m[32m259.00 B[39m
|
|
172
|
-
[32mCJS[39m [1mdist/components/chat/Button.js.map [22m[32m5.47 KB[39m
|
|
173
|
-
[32mCJS[39m [1mdist/components/chat/ChatContext.js.map [22m[32m13.87 KB[39m
|
|
174
|
-
[32mCJS[39m [1mdist/components/chat/CodeBlock.js.map [22m[32m24.33 KB[39m
|
|
175
|
-
[32mCJS[39m [1mdist/components/chat/Header.js.map [22m[32m5.11 KB[39m
|
|
176
|
-
[32mCJS[39m [1mdist/components/chat/Chat.js.map [22m[32m76.20 KB[39m
|
|
177
|
-
[32mCJS[39m [1mdist/components/chat/Icons.js.map [22m[32m10.27 KB[39m
|
|
178
|
-
[32mCJS[39m [1mdist/components/chat/Input.js.map [22m[32m19.45 KB[39m
|
|
179
|
-
[32mCJS[39m [1mdist/components/chat/Markdown.js.map [22m[32m27.58 KB[39m
|
|
180
|
-
[32mCJS[39m [1mdist/components/chat/Messages.js.map [22m[32m40.05 KB[39m
|
|
181
|
-
[32mCJS[39m [1mdist/components/chat/Response.js.map [22m[32m5.19 KB[39m
|
|
182
|
-
[32mCJS[39m [1mdist/components/chat/Suggestion.js.map [22m[32m13.38 KB[39m
|
|
183
|
-
[32mCJS[39m [1mdist/components/chat/Window.js.map [22m[32m6.76 KB[39m
|
|
184
|
-
[32mCJS[39m [1mdist/components/chat/Modal.js.map [22m[32m89.00 KB[39m
|
|
185
|
-
[32mCJS[39m [1mdist/components/chat/Popup.js.map [22m[32m91.07 KB[39m
|
|
186
|
-
[32mCJS[39m [1mdist/components/chat/Textarea.js.map [22m[32m2.83 KB[39m
|
|
187
|
-
[32mCJS[39m [1mdist/components/chat/Sidebar.js.map [22m[32m92.01 KB[39m
|
|
188
|
-
[32mCJS[39m [1mdist/components/chat/props.js.map [22m[32m1.07 KB[39m
|
|
189
|
-
[32mCJS[39m [1mdist/components/chat/index.js.map [22m[32m94.34 KB[39m
|
|
190
|
-
[32mCJS[39m ⚡️ Build success in 320ms
|
|
191
|
-
[34mDTS[39m Build start
|
|
192
|
-
[32mDTS[39m ⚡️ Build success in 7813ms
|
|
193
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m699.00 B[39m
|
|
194
|
-
[32mDTS[39m [1mdist/components/chat/props.d.ts [22m[32m1019.00 B[39m
|
|
195
|
-
[32mDTS[39m [1mdist/components/chat/Popup.d.ts [22m[32m1.78 KB[39m
|
|
196
|
-
[32mDTS[39m [1mdist/components/chat/Sidebar.d.ts [22m[32m344.00 B[39m
|
|
197
|
-
[32mDTS[39m [1mdist/components/chat/Chat.d.ts [22m[32m4.57 KB[39m
|
|
198
|
-
[32mDTS[39m [1mdist/components/chat/ChatContext.d.ts [22m[32m2.83 KB[39m
|
|
199
|
-
[32mDTS[39m [1mdist/hooks/use-copilot-chat-suggestions.d.ts [22m[32m2.67 KB[39m
|
|
200
|
-
[32mDTS[39m [1mdist/types/css.d.ts [22m[32m623.00 B[39m
|
|
201
|
-
[32mDTS[39m [1mdist/components/chat/Modal.d.ts [22m[32m1.80 KB[39m
|
|
202
|
-
[32mDTS[39m [1mdist/types/suggestions.d.ts [22m[32m158.00 B[39m
|
|
203
|
-
[32mDTS[39m [1mdist/components/index.d.ts [22m[32m491.00 B[39m
|
|
204
|
-
[32mDTS[39m [1mdist/context/index.d.ts [22m[32m12.00 B[39m
|
|
205
|
-
[32mDTS[39m [1mdist/hooks/index.d.ts [22m[32m79.00 B[39m
|
|
206
|
-
[32mDTS[39m [1mdist/hooks/use-copy-to-clipboard.d.ts [22m[32m266.00 B[39m
|
|
207
|
-
[32mDTS[39m [1mdist/hooks/use-push-to-talk.d.ts [22m[32m783.00 B[39m
|
|
208
|
-
[32mDTS[39m [1mdist/lib/utils.test.d.ts [22m[32m12.00 B[39m
|
|
209
|
-
[32mDTS[39m [1mdist/lib/utils.d.ts [22m[32m194.00 B[39m
|
|
210
|
-
[32mDTS[39m [1mdist/types/index.d.ts [22m[32m68.00 B[39m
|
|
211
|
-
[32mDTS[39m [1mdist/components/chat/Button.d.ts [22m[32m175.00 B[39m
|
|
212
|
-
[32mDTS[39m [1mdist/components/chat/CodeBlock.d.ts [22m[32m392.00 B[39m
|
|
213
|
-
[32mDTS[39m [1mdist/components/chat/Header.d.ts [22m[32m169.00 B[39m
|
|
214
|
-
[32mDTS[39m [1mdist/components/chat/Icons.d.ts [22m[32m938.00 B[39m
|
|
215
|
-
[32mDTS[39m [1mdist/components/chat/Input.d.ts [22m[32m187.00 B[39m
|
|
216
|
-
[32mDTS[39m [1mdist/components/chat/Markdown.d.ts [22m[32m138.00 B[39m
|
|
217
|
-
[32mDTS[39m [1mdist/components/chat/Messages.d.ts [22m[32m200.00 B[39m
|
|
218
|
-
[32mDTS[39m [1mdist/components/chat/Response.d.ts [22m[32m213.00 B[39m
|
|
219
|
-
[32mDTS[39m [1mdist/components/chat/Suggestion.d.ts [22m[32m673.00 B[39m
|
|
220
|
-
[32mDTS[39m [1mdist/components/chat/Textarea.d.ts [22m[32m535.00 B[39m
|
|
221
|
-
[32mDTS[39m [1mdist/components/chat/Window.d.ts [22m[32m235.00 B[39m
|
|
222
|
-
[32mDTS[39m [1mdist/components/chat/index.d.ts [22m[32m464.00 B[39m
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/chat/Chat.tsx"],"sourcesContent":["/**\n * An embeddable chat panel for CopilotKit.\n *\n * <img src=\"/images/CopilotChat/CopilotChat.gif\" width=\"500\" />\n *\n * A chatbot panel component for the CopilotKit framework. The component allows for a high degree\n * of customization through various props and custom CSS.\n *\n * <RequestExample>\n * ```jsx CopilotChat Example\n * import { CopilotChat } from \"@copilotkit/react-ui\";\n *\n * <CopilotChat\n * labels={{\n * title: \"Your Assistant\",\n * initial: \"Hi! 👋 How can I assist you today?\",\n * }}\n * />\n * ```\n * </RequestExample>\n *\n * ## Custom CSS\n *\n * You can customize the colors of the panel by overriding the CSS variables\n * defined in the [default styles](https://github.com/CopilotKit/CopilotKit/blob/main/CopilotKit/packages/react-ui/src/css/colors.css).\n *\n * For example, to set the primary color to purple:\n *\n * ```jsx\n * <div style={{ \"--copilot-kit-primary-color\": \"#7D5BA6\" }}>\n * <CopilotPopup />\n * </div>\n * ```\n *\n * To further customize the panel, you can override the CSS classes defined\n * [here](https://github.com/CopilotKit/CopilotKit/blob/main/CopilotKit/packages/react-ui/src/css/).\n *\n * For example:\n *\n * ```css\n * .copilotKitButton {\n * border-radius: 0;\n * }\n * ```\n */\n\nimport {\n ChatContext,\n ChatContextProvider,\n CopilotChatIcons,\n CopilotChatLabels,\n} from \"./ChatContext\";\nimport { Messages as DefaultMessages } from \"./Messages\";\nimport { Input as DefaultInput } from \"./Input\";\nimport { ResponseButton as DefaultResponseButton } from \"./Response\";\nimport { Suggestion } from \"./Suggestion\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport { SystemMessageFunction, useCopilotChat, useCopilotContext } from \"@copilotkit/react-core\";\nimport { reloadSuggestions } from \"./Suggestion\";\nimport { CopilotChatSuggestion } from \"../../types/suggestions\";\nimport { Message, Role, TextMessage } from \"@copilotkit/runtime-client-gql\";\nimport { InputProps, MessagesProps, ResponseButtonProps } from \"./props\";\nimport { randomId } from \"@copilotkit/shared\";\n\n/**\n * Props for CopilotChat component.\n */\nexport interface CopilotChatProps {\n /**\n * Custom instructions to be added to the system message. Use this property to\n * provide additional context or guidance to the language model, influencing\n * its responses. These instructions can include specific directions,\n * preferences, or criteria that the model should consider when generating\n * its output, thereby tailoring the conversation more precisely to the\n * user's needs or the application's requirements.\n */\n instructions?: string;\n\n /**\n * A callback that gets called when the in progress state changes.\n */\n onInProgress?: (inProgress: boolean) => void;\n\n /**\n * A callback that gets called when a new message it submitted.\n */\n onSubmitMessage?: (message: string) => void;\n\n /**\n * Icons can be used to set custom icons for the chat window.\n */\n icons?: CopilotChatIcons;\n\n /**\n * Labels can be used to set custom labels for the chat window.\n */\n labels?: CopilotChatLabels;\n\n /**\n * A function that takes in context string and instructions and returns\n * the system message to include in the chat request.\n * Use this to completely override the system message, when providing\n * instructions is not enough.\n */\n makeSystemMessage?: SystemMessageFunction;\n\n /**\n * Whether to show the response button.\n * @default true\n */\n showResponseButton?: boolean;\n\n /**\n * A custom Messages component to use instead of the default.\n */\n Messages?: React.ComponentType<MessagesProps>;\n\n /**\n * A custom Input component to use instead of the default.\n */\n Input?: React.ComponentType<InputProps>;\n\n /**\n * A custom ResponseButton component to use instead of the default.\n */\n ResponseButton?: React.ComponentType<ResponseButtonProps>;\n\n /**\n * A class name to apply to the root element.\n */\n className?: string;\n\n /**\n * Children to render.\n */\n children?: React.ReactNode;\n}\n\nexport function CopilotChat({\n instructions,\n onSubmitMessage,\n makeSystemMessage,\n showResponseButton = true,\n onInProgress,\n Messages = DefaultMessages,\n Input = DefaultInput,\n ResponseButton = DefaultResponseButton,\n className,\n icons,\n labels,\n}: CopilotChatProps) {\n const context = useCopilotContext();\n\n useEffect(() => {\n context.setChatInstructions(instructions || \"\");\n }, [instructions]);\n\n const {\n visibleMessages,\n isLoading,\n currentSuggestions,\n sendMessage,\n stopGeneration,\n reloadMessages,\n } = useCopilotChatLogic(makeSystemMessage, onInProgress, onSubmitMessage);\n\n const chatContext = React.useContext(ChatContext);\n const isVisible = chatContext ? chatContext.open : true;\n\n return (\n <WrappedCopilotChat icons={icons} labels={labels} className={className}>\n <Messages messages={visibleMessages} inProgress={isLoading}>\n {currentSuggestions.length > 0 && (\n <div>\n <h6>Suggested:</h6>\n <div className=\"suggestions\">\n {currentSuggestions.map((suggestion, index) => (\n <Suggestion\n key={index}\n title={suggestion.title}\n message={suggestion.message}\n partial={suggestion.partial}\n className={suggestion.className}\n onClick={(message) => sendMessage(message)}\n />\n ))}\n </div>\n </div>\n )}\n {showResponseButton && visibleMessages.length > 0 && (\n <ResponseButton\n onClick={isLoading ? stopGeneration : reloadMessages}\n inProgress={isLoading}\n />\n )}\n </Messages>\n <Input inProgress={isLoading} onSend={sendMessage} isVisible={isVisible} />\n </WrappedCopilotChat>\n );\n}\n\nexport function WrappedCopilotChat({\n children,\n icons,\n labels,\n className,\n}: {\n children: React.ReactNode;\n icons?: CopilotChatIcons;\n labels?: CopilotChatLabels;\n className?: string;\n}) {\n const chatContext = React.useContext(ChatContext);\n if (!chatContext) {\n return (\n <ChatContextProvider icons={icons} labels={labels} open={true} setOpen={() => {}}>\n <div className={`copilotKitChat ${className}`}>{children}</div>\n </ChatContextProvider>\n );\n }\n return <>{children}</>;\n}\n\nconst SUGGESTIONS_DEBOUNCE_TIMEOUT = 1000;\n\nexport const useCopilotChatLogic = (\n makeSystemMessage?: SystemMessageFunction,\n onInProgress?: (isLoading: boolean) => void,\n onSubmitMessage?: (messageContent: string) => void,\n) => {\n const { visibleMessages, appendMessage, reloadMessages, stopGeneration, isLoading } =\n useCopilotChat({\n id: randomId(),\n makeSystemMessage,\n });\n\n const [currentSuggestions, setCurrentSuggestions] = useState<CopilotChatSuggestion[]>([]);\n const suggestionsAbortControllerRef = useRef<AbortController | null>(null);\n const debounceTimerRef = useRef<any>();\n\n const abortSuggestions = () => {\n suggestionsAbortControllerRef.current?.abort();\n suggestionsAbortControllerRef.current = null;\n };\n\n const context = useCopilotContext();\n\n useEffect(() => {\n onInProgress?.(isLoading);\n\n abortSuggestions();\n\n debounceTimerRef.current = setTimeout(\n () => {\n if (!isLoading && Object.keys(context.chatSuggestionConfiguration).length !== 0) {\n suggestionsAbortControllerRef.current = new AbortController();\n reloadSuggestions(\n context,\n context.chatSuggestionConfiguration,\n setCurrentSuggestions,\n suggestionsAbortControllerRef,\n );\n }\n },\n currentSuggestions.length == 0 ? 0 : SUGGESTIONS_DEBOUNCE_TIMEOUT,\n );\n\n return () => {\n clearTimeout(debounceTimerRef.current);\n };\n }, [isLoading, context.chatSuggestionConfiguration]);\n\n const sendMessage = async (messageContent: string) => {\n abortSuggestions();\n setCurrentSuggestions([]);\n onSubmitMessage?.(messageContent);\n const message: Message = new TextMessage({\n content: messageContent,\n role: Role.User,\n });\n appendMessage(message);\n return message;\n };\n\n return {\n visibleMessages,\n isLoading,\n currentSuggestions,\n sendMessage,\n stopGeneration,\n reloadMessages,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAwDA,OAAO,SAAS,WAAW,QAAQ,gBAAgB;AACnD,SAAgC,gBAAgB,yBAAyB;AAGzE,SAAkB,MAAM,mBAAmB;AAE3C,SAAS,gBAAgB;AA+Gf,SA+CD,UA9CG,KADF;AAnCH,SAAS,YAAY;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA,qBAAqB;AAAA,EACrB;AAAA,EACA,UAAAA,YAAW;AAAA,EACX,OAAAC,SAAQ;AAAA,EACR,gBAAAC,kBAAiB;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AACF,GAAqB;AACnB,QAAM,UAAU,kBAAkB;AAElC,YAAU,MAAM;AACd,YAAQ,oBAAoB,gBAAgB,EAAE;AAAA,EAChD,GAAG,CAAC,YAAY,CAAC;AAEjB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI,oBAAoB,mBAAmB,cAAc,eAAe;AAExE,QAAM,cAAc,MAAM,WAAW,WAAW;AAChD,QAAM,YAAY,cAAc,YAAY,OAAO;AAEnD,SACE,qBAAC,sBAAmB,OAAc,QAAgB,WAChD;AAAA,yBAACF,WAAA,EAAS,UAAU,iBAAiB,YAAY,WAC9C;AAAA,yBAAmB,SAAS,KAC3B,qBAAC,SACC;AAAA,4BAAC,QAAG,wBAAU;AAAA,QACd,oBAAC,SAAI,WAAU,eACZ,6BAAmB,IAAI,CAAC,YAAY,UACnC;AAAA,UAAC;AAAA;AAAA,YAEC,OAAO,WAAW;AAAA,YAClB,SAAS,WAAW;AAAA,YACpB,SAAS,WAAW;AAAA,YACpB,WAAW,WAAW;AAAA,YACtB,SAAS,CAAC,YAAY,YAAY,OAAO;AAAA;AAAA,UALpC;AAAA,QAMP,CACD,GACH;AAAA,SACF;AAAA,MAED,sBAAsB,gBAAgB,SAAS,KAC9C;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,SAAS,YAAY,iBAAiB;AAAA,UACtC,YAAY;AAAA;AAAA,MACd;AAAA,OAEJ;AAAA,IACA,oBAACD,QAAA,EAAM,YAAY,WAAW,QAAQ,aAAa,WAAsB;AAAA,KAC3E;AAEJ;AAEO,SAAS,mBAAmB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAKG;AACD,QAAM,cAAc,MAAM,WAAW,WAAW;AAChD,MAAI,CAAC,aAAa;AAChB,WACE,oBAAC,uBAAoB,OAAc,QAAgB,MAAM,MAAM,SAAS,MAAM;AAAA,IAAC,GAC7E,8BAAC,SAAI,WAAW,kBAAkB,aAAc,UAAS,GAC3D;AAAA,EAEJ;AACA,SAAO,gCAAG,UAAS;AACrB;AAEA,IAAM,+BAA+B;AAE9B,IAAM,sBAAsB,CACjC,mBACA,cACA,oBACG;AACH,QAAM,EAAE,iBAAiB,eAAe,gBAAgB,gBAAgB,UAAU,IAChF,eAAe;AAAA,IACb,IAAI,SAAS;AAAA,IACb;AAAA,EACF,CAAC;AAEH,QAAM,CAAC,oBAAoB,qBAAqB,IAAI,SAAkC,CAAC,CAAC;AACxF,QAAM,gCAAgC,OAA+B,IAAI;AACzE,QAAM,mBAAmB,OAAY;AAErC,QAAM,mBAAmB,MAAM;AAhPjC;AAiPI,wCAA8B,YAA9B,mBAAuC;AACvC,kCAA8B,UAAU;AAAA,EAC1C;AAEA,QAAM,UAAU,kBAAkB;AAElC,YAAU,MAAM;AACd,iDAAe;AAEf,qBAAiB;AAEjB,qBAAiB,UAAU;AAAA,MACzB,MAAM;AACJ,YAAI,CAAC,aAAa,OAAO,KAAK,QAAQ,2BAA2B,EAAE,WAAW,GAAG;AAC/E,wCAA8B,UAAU,IAAI,gBAAgB;AAC5D;AAAA,YACE;AAAA,YACA,QAAQ;AAAA,YACR;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,MACA,mBAAmB,UAAU,IAAI,IAAI;AAAA,IACvC;AAEA,WAAO,MAAM;AACX,mBAAa,iBAAiB,OAAO;AAAA,IACvC;AAAA,EACF,GAAG,CAAC,WAAW,QAAQ,2BAA2B,CAAC;AAEnD,QAAM,cAAc,CAAO,mBAA2B;AACpD,qBAAiB;AACjB,0BAAsB,CAAC,CAAC;AACxB,uDAAkB;AAClB,UAAM,UAAmB,IAAI,YAAY;AAAA,MACvC,SAAS;AAAA,MACT,MAAM,KAAK;AAAA,IACb,CAAC;AACD,kBAAc,OAAO;AACrB,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":["Messages","Input","ResponseButton"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|