@tachybase/client 0.23.17 → 0.23.18

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.
@@ -1,378 +0,0 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.n = function(module) {
5
- var getter = module && module.__esModule ? function() {
6
- return module['default'];
7
- } : function() {
8
- return module;
9
- };
10
- __webpack_require__.d(getter, {
11
- a: getter
12
- });
13
- return getter;
14
- };
15
- })();
16
- (()=>{
17
- __webpack_require__.d = function(exports1, definition) {
18
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
19
- enumerable: true,
20
- get: definition[key]
21
- });
22
- };
23
- })();
24
- (()=>{
25
- __webpack_require__.o = function(obj, prop) {
26
- return Object.prototype.hasOwnProperty.call(obj, prop);
27
- };
28
- })();
29
- (()=>{
30
- __webpack_require__.r = function(exports1) {
31
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
32
- value: 'Module'
33
- });
34
- Object.defineProperty(exports1, '__esModule', {
35
- value: true
36
- });
37
- };
38
- })();
39
- var __webpack_exports__ = {};
40
- __webpack_require__.r(__webpack_exports__);
41
- __webpack_require__.d(__webpack_exports__, {
42
- default: ()=>AIChatModal
43
- });
44
- const jsx_runtime_namespaceObject = require("react/jsx-runtime");
45
- const external_react_namespaceObject = require("react");
46
- const icons_namespaceObject = require("@ant-design/icons");
47
- const external_antd_namespaceObject = require("antd");
48
- const index_js_namespaceObject = require("../../../icon/index.js");
49
- const external_index_module_js_namespaceObject = require("./index.module.js");
50
- var external_index_module_js_default = /*#__PURE__*/ __webpack_require__.n(external_index_module_js_namespaceObject);
51
- function AIChatModal(param) {
52
- let { mRef, onGenerateLoad, onReloadWrite } = param;
53
- const [showModal, setShowModal] = (0, external_react_namespaceObject.useState)(false);
54
- const [message, setMessage] = (0, external_react_namespaceObject.useState)('');
55
- const [requestMessage, setRequestMessage] = (0, external_react_namespaceObject.useState)('');
56
- const [responseMessage, setResponseMessage] = (0, external_react_namespaceObject.useState)('');
57
- const [sendAllow, setSendAllow] = (0, external_react_namespaceObject.useState)(false);
58
- const [showLoad, setShowLoad] = (0, external_react_namespaceObject.useState)(false);
59
- const [loading, setLoading] = (0, external_react_namespaceObject.useState)(false);
60
- const [loadingText, setLoadingText] = (0, external_react_namespaceObject.useState)('');
61
- const [welcomeText, setWelcomeText] = (0, external_react_namespaceObject.useState)('TachyAI为您服务~');
62
- const [status, setStatus] = (0, external_react_namespaceObject.useState)(false);
63
- const [statusInfo, setStatusInfo] = (0, external_react_namespaceObject.useState)({
64
- type: 'success',
65
- msg: '生成完成',
66
- reload: false
67
- });
68
- const examples = [
69
- {
70
- id: "1",
71
- name: '信息表单',
72
- message: '实现表单组件,展示学生的姓名、年龄、班级和成绩'
73
- },
74
- {
75
- id: "2",
76
- name: '登录组件',
77
- message: '帮我实现一个登录组件,含有用户名和密码输入框,以及登录按钮'
78
- },
79
- {
80
- id: "3",
81
- name: '日期组件',
82
- message: '帮我实现一个日期组件,含有日期选择器和时间选择器,以及日期格式化功能'
83
- }
84
- ];
85
- const popTitle = '温馨提示';
86
- const popContent = "TachyAI 是你搭建应用过程的得力助手。";
87
- (0, external_react_namespaceObject.useEffect)(()=>{
88
- message ? setSendAllow(true) : setSendAllow(false);
89
- }, [
90
- message
91
- ]);
92
- const openModal = ()=>{
93
- setShowModal(true);
94
- };
95
- const handleClickExample = (item)=>{
96
- setMessage(item.message);
97
- };
98
- const handleHideModal = ()=>{
99
- setMessage('');
100
- setShowModal(false);
101
- };
102
- const reloadStatus = async ()=>{
103
- setStatus(false);
104
- setShowLoad(true);
105
- setLoading(true);
106
- setLoadingText('正在重新写入代码,请稍后');
107
- };
108
- const cancelLoad = ()=>{
109
- setShowLoad(false);
110
- setLoading(false);
111
- setStatus(true);
112
- setStatusInfo({
113
- type: 'info',
114
- msg: '取消写入',
115
- reload: true
116
- });
117
- };
118
- const writeCompleted = async ()=>{
119
- setShowLoad(false);
120
- setLoading(false);
121
- setStatus(true);
122
- setStatusInfo({
123
- type: 'success',
124
- msg: '生成完成',
125
- reload: false
126
- });
127
- };
128
- const writeError = async ()=>{
129
- setShowLoad(false);
130
- setLoading(false);
131
- setStatus(true);
132
- setStatusInfo({
133
- type: 'error',
134
- msg: '代码写入出错了',
135
- reload: false
136
- });
137
- };
138
- const requestError = async ()=>{
139
- setShowLoad(false);
140
- setLoading(false);
141
- setStatus(true);
142
- setStatusInfo({
143
- type: 'error',
144
- msg: '请求出错了',
145
- reload: false
146
- });
147
- };
148
- const changeLoadInfo = async (text)=>{
149
- setLoadingText(text);
150
- setShowLoad(true);
151
- setLoading(true);
152
- };
153
- (0, external_react_namespaceObject.useImperativeHandle)(mRef, ()=>({
154
- openModal,
155
- handleHideModal,
156
- cancelLoad,
157
- reloadStatus,
158
- writeCompleted,
159
- writeError,
160
- changeLoadInfo,
161
- requestError
162
- }));
163
- const handleInputChange = (e)=>{
164
- setMessage(e.target.value);
165
- };
166
- const handleRequestMessage = async ()=>{
167
- setStatus(false);
168
- setRequestMessage(message);
169
- setResponseMessage('');
170
- setMessage('');
171
- setShowLoad(false);
172
- setLoading(false);
173
- setTimeout(async ()=>{
174
- setResponseMessage('好的,TachyAI为您服务~');
175
- await onGenerateLoad(message);
176
- }, 1000);
177
- };
178
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
179
- className: "".concat(external_index_module_js_default().AIChatModal, " ").concat(showModal ? external_index_module_js_default().showModal : external_index_module_js_default().hideModal),
180
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
181
- className: external_index_module_js_default().modalContent,
182
- children: [
183
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
184
- className: external_index_module_js_default().modalHeader,
185
- children: [
186
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
187
- className: external_index_module_js_default().title,
188
- children: [
189
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("svg", {
190
- className: external_index_module_js_default().marsailogo,
191
- viewBox: "0 0 1024 1024",
192
- version: "1.1",
193
- xmlns: "http://www.w3.org/2000/svg",
194
- children: [
195
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
196
- d: "M370.812121 400.290909c-21.721212 0-38.787879 17.066667-38.787879 38.787879V605.090909c0 21.721212 17.066667 38.787879 38.787879 38.787879s38.787879-17.066667 38.787879-38.787879V439.078788c0-21.721212-17.066667-38.787879-38.787879-38.787879zM712.145455 417.357576c-15.515152-15.515152-38.787879-15.515152-54.303031 0L589.575758 485.624242c-9.309091 9.309091-13.963636 21.721212-12.412122 34.133334-1.551515 12.412121 3.10303 24.824242 12.412122 32.581818l68.266666 68.266667c7.757576 7.757576 17.066667 10.860606 27.927273 10.860606s20.169697-4.654545 27.927273-10.860606 10.860606-17.066667 10.860606-27.927273-4.654545-20.169697-10.860606-27.927273l-46.545455-46.545454 46.545455-46.545455c13.963636-13.963636 13.963636-38.787879-1.551515-54.30303z",
197
- fill: "#7d33ff"
198
- }),
199
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
200
- d: "M788.169697 228.072727c-57.406061-27.927273-161.357576-48.09697-273.066667-49.648485-111.709091 1.551515-217.212121 20.169697-274.618182 49.648485-88.436364 41.890909-124.121212 128.775758-124.121212 297.890909 0 134.981818 37.236364 232.727273 100.848485 266.860606 82.230303 41.890909 156.70303 55.854545 296.339394 55.854546 141.187879 0 215.660606-13.963636 294.787879-54.30303 65.163636-35.684848 102.4-134.981818 102.4-268.412122 0-167.563636-37.236364-256-122.569697-297.890909z m44.993939 296.339394c0 114.812121-31.030303 183.078788-60.509091 200.145455-58.957576 29.478788-117.915152 44.993939-259.10303 44.993939-139.636364 0-200.145455-15.515152-260.654545-44.993939-29.478788-15.515152-58.957576-85.333333-58.957576-200.145455 0-134.981818 23.272727-200.145455 79.127273-229.624242 46.545455-23.272727 142.739394-40.339394 240.484848-40.339394 97.745455 1.551515 193.939394 18.618182 240.484849 40.339394 55.854545 29.478788 79.127273 94.642424 79.127272 229.624242z",
201
- fill: "#7d33ff"
202
- })
203
- ]
204
- }),
205
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
206
- children: "TachyAI"
207
- })
208
- ]
209
- }),
210
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
211
- className: external_index_module_js_default().closeButton,
212
- onClick: handleHideModal,
213
- children: "\xd7"
214
- })
215
- ]
216
- }),
217
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
218
- className: external_index_module_js_default().modalBody,
219
- children: [
220
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
221
- className: external_index_module_js_default().chatContent,
222
- children: [
223
- !requestMessage && !responseMessage && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
224
- className: external_index_module_js_default().welcomeText,
225
- children: welcomeText
226
- }),
227
- requestMessage && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
228
- className: external_index_module_js_default().chatItem,
229
- children: [
230
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
231
- className: external_index_module_js_default().chatInfo,
232
- children: [
233
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
234
- className: external_index_module_js_default().chatName,
235
- children: "User"
236
- }),
237
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
238
- className: external_index_module_js_default().avatar,
239
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_js_namespaceObject.Icon, {
240
- type: "useroutlined"
241
- })
242
- })
243
- ]
244
- }),
245
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
246
- className: external_index_module_js_default().chatText,
247
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
248
- className: external_index_module_js_default().chatMessage,
249
- children: requestMessage
250
- })
251
- })
252
- ]
253
- }),
254
- responseMessage && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
255
- className: external_index_module_js_default().chatResponce,
256
- children: [
257
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
258
- className: external_index_module_js_default().chatInfo,
259
- children: [
260
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
261
- className: external_index_module_js_default().avatar,
262
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_js_namespaceObject.Icon, {
263
- type: "robotoutlined"
264
- })
265
- }),
266
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
267
- className: external_index_module_js_default().chatName,
268
- children: "TachyAI"
269
- })
270
- ]
271
- }),
272
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
273
- className: external_index_module_js_default().chatText,
274
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
275
- className: external_index_module_js_default().chatMessage,
276
- children: responseMessage
277
- })
278
- })
279
- ]
280
- }),
281
- showLoad && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
282
- className: external_index_module_js_default().chatLoad,
283
- children: [
284
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
285
- className: external_index_module_js_default().chatText,
286
- children: loadingText
287
- }),
288
- loading && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
289
- className: external_index_module_js_default().load,
290
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Spin, {
291
- size: "small"
292
- })
293
- })
294
- ]
295
- }),
296
- status && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
297
- className: external_index_module_js_default().chatLoad,
298
- children: statusInfo.reload ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Alert, {
299
- type: statusInfo.type,
300
- showIcon: true,
301
- message: statusInfo.msg,
302
- action: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Popover, {
303
- placement: "top",
304
- content: "重新写入代码",
305
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Button, {
306
- style: {
307
- marginLeft: '5px'
308
- },
309
- type: "primary",
310
- size: "small",
311
- shape: "circle",
312
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icons_namespaceObject.ReloadOutlined, {}),
313
- onClick: onReloadWrite
314
- })
315
- })
316
- }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Alert, {
317
- type: statusInfo.type,
318
- showIcon: true,
319
- message: statusInfo.msg
320
- })
321
- })
322
- ]
323
- }),
324
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
325
- className: external_index_module_js_default().chatExamples,
326
- children: examples.map((item)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
327
- className: external_index_module_js_default().chatExampleItem,
328
- onClick: ()=>handleClickExample(item),
329
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
330
- children: item.name
331
- })
332
- }, item.id))
333
- }),
334
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
335
- className: external_index_module_js_default().chatInput,
336
- children: [
337
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
338
- className: external_index_module_js_default().chatOtherInfo,
339
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Popover, {
340
- placement: "top",
341
- title: popTitle,
342
- content: popContent,
343
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icons_namespaceObject.BellOutlined, {})
344
- })
345
- }),
346
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
347
- className: external_index_module_js_default().inputBox,
348
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("input", {
349
- maxLength: 80,
350
- type: "text",
351
- placeholder: "可以在这里描述你需要的内容",
352
- value: message,
353
- onChange: handleInputChange
354
- })
355
- }),
356
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
357
- className: external_index_module_js_default().sendBtn,
358
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_antd_namespaceObject.Button, {
359
- disabled: !sendAllow,
360
- shape: "circle",
361
- type: "primary",
362
- icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icons_namespaceObject.ArrowUpOutlined, {}),
363
- onClick: handleRequestMessage
364
- })
365
- })
366
- ]
367
- })
368
- ]
369
- })
370
- ]
371
- })
372
- });
373
- }
374
- var __webpack_export_target__ = exports;
375
- for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
376
- if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
377
- value: true
378
- });
@@ -1,257 +0,0 @@
1
- .AIChatModal-rzRCq4 {
2
- z-index: 1000;
3
- background-color: #fff;
4
- border-radius: 8px;
5
- width: 450px;
6
- min-height: 300px;
7
- position: fixed;
8
- bottom: 5%;
9
- right: 30px;
10
- box-shadow: 0 0 10px #00000080;
11
- }
12
-
13
- .showModal-I_UWD3 {
14
- display: block;
15
- }
16
-
17
- .hideModal-X40Vc3 {
18
- display: none;
19
- }
20
-
21
- .modalContent-ezOZkD {
22
- border-bottom: 4px solid #0000;
23
- padding: 0 20px 20px;
24
- }
25
-
26
- .modalHeader-nOGcoS {
27
- color: #7d33ff;
28
- border-bottom: 1px solid #e0e0e6;
29
- justify-content: space-between;
30
- align-items: center;
31
- padding: 10px;
32
- display: flex;
33
- }
34
-
35
- .modalHeader-nOGcoS .closeButton-sQRFHO {
36
- color: #9b9a9a;
37
- cursor: pointer;
38
- z-index: 2001;
39
- background-color: #0000;
40
- border: none;
41
- font-size: 40px;
42
- transition: transform .5s ease-in-out;
43
- }
44
-
45
- .modalHeader-nOGcoS .closeButton-sQRFHO:hover {
46
- transform: rotate(90deg)scale(1.2);
47
- }
48
-
49
- .modalHeader-nOGcoS .title-Y7yOZf {
50
- justify-content: center;
51
- align-items: center;
52
- display: flex;
53
- }
54
-
55
- .modalHeader-nOGcoS .marsailogo-uzJ6wj {
56
- width: 35px;
57
- height: 35px;
58
- margin-top: 4px;
59
- margin-right: 4px;
60
- }
61
-
62
- .modalHeader-nOGcoS span {
63
- font-size: 20px;
64
- font-weight: bold;
65
- }
66
-
67
- .modalBody-znsaSD {
68
- flex-direction: column;
69
- align-items: center;
70
- margin-top: 10px;
71
- display: flex;
72
- overflow: hidden;
73
- }
74
-
75
- .chatContent-pNV258 {
76
- scrollbar-width: none;
77
- border-radius: 5px;
78
- width: 100%;
79
- height: 300px;
80
- padding: 10px;
81
- overflow-y: auto;
82
- }
83
-
84
- .chatContent-pNV258 .welcomeText-rhomeV {
85
- text-align: center;
86
- margin: 120px 0;
87
- font-size: 16px;
88
- font-weight: bold;
89
- }
90
-
91
- .chatItem-NWq8xW {
92
- flex-direction: column;
93
- align-items: flex-end;
94
- margin-bottom: 20px;
95
- display: flex;
96
- }
97
-
98
- .chatItem-NWq8xW .chatInfo-JXKVGs {
99
- align-items: center;
100
- margin-bottom: 5px;
101
- display: flex;
102
- }
103
-
104
- .chatItem-NWq8xW .chatInfo-JXKVGs .avatar-p1qeb8 {
105
- border-radius: 50%;
106
- width: 30px;
107
- height: 30px;
108
- margin-left: 10px;
109
- }
110
-
111
- .chatItem-NWq8xW .chatInfo-JXKVGs .avatar-p1qeb8 img {
112
- border-radius: 50%;
113
- width: 100%;
114
- height: 100%;
115
- }
116
-
117
- .chatItem-NWq8xW .chatInfo-JXKVGs .chatName-Snh5k_ {
118
- font-size: 14px;
119
- font-weight: bold;
120
- }
121
-
122
- .chatItem-NWq8xW .chatText-LyRqZ_ {
123
- text-align: justify;
124
- background-color: #f0f0f0;
125
- border-radius: 5px;
126
- width: fit-content;
127
- margin: 0 30px;
128
- padding: 10px;
129
- font-size: 14px;
130
- line-height: 1.3;
131
- }
132
-
133
- .chatResponce-HQaYAb {
134
- flex-direction: column;
135
- align-items: flex-start;
136
- margin: 10px 0;
137
- display: flex;
138
- }
139
-
140
- .chatResponce-HQaYAb .chatInfo-JXKVGs {
141
- align-items: center;
142
- margin-bottom: 5px;
143
- display: flex;
144
- }
145
-
146
- .chatResponce-HQaYAb .chatInfo-JXKVGs .avatar-p1qeb8 {
147
- border-radius: 50%;
148
- width: 30px;
149
- height: 30px;
150
- margin-right: 10px;
151
- }
152
-
153
- .chatResponce-HQaYAb .chatInfo-JXKVGs .avatar-p1qeb8 img {
154
- border-radius: 50%;
155
- width: 100%;
156
- height: 100%;
157
- }
158
-
159
- .chatResponce-HQaYAb .chatInfo-JXKVGs .chatName-Snh5k_ {
160
- font-size: 14px;
161
- font-weight: bold;
162
- }
163
-
164
- .chatResponce-HQaYAb .chatText-LyRqZ_ {
165
- text-align: justify;
166
- background-color: #f0f0f0;
167
- border-radius: 5px;
168
- width: fit-content;
169
- margin: 0 30px;
170
- padding: 10px;
171
- font-size: 14px;
172
- line-height: 1.3;
173
- }
174
-
175
- .chatLoad-GYl_Mi {
176
- align-items: center;
177
- margin-left: 30px;
178
- display: flex;
179
- }
180
-
181
- .chatLoad-GYl_Mi .chatText-LyRqZ_ {
182
- font-size: 12px;
183
- }
184
-
185
- .chatLoad-GYl_Mi .load-q1byGM {
186
- margin-left: 10px;
187
- font-size: 12px;
188
- }
189
-
190
- .chatExamples-lfggyG {
191
- justify-content: flex-start;
192
- gap: 10px;
193
- width: 100%;
194
- margin-top: 10px;
195
- margin-left: 50px;
196
- display: flex;
197
- }
198
-
199
- .chatExamples-lfggyG .chatExampleItem-7D1scl {
200
- cursor: pointer;
201
- background-color: #0000;
202
- border: 1px solid #e0e0e6;
203
- border-radius: 8px;
204
- padding: 5px 10px;
205
- }
206
-
207
- .chatExamples-lfggyG .chatExampleItem-7D1scl span {
208
- font-size: 12px;
209
- }
210
-
211
- .chatExamples-lfggyG .chatExampleItem-7D1scl:hover {
212
- border: 1px solid #7d33ff;
213
- transition: all .5s;
214
- transform: scale(1.1);
215
- }
216
-
217
- .chatInput-OYNsM0 {
218
- justify-content: space-between;
219
- align-items: center;
220
- width: 100%;
221
- margin-top: 10px;
222
- padding: 0;
223
- display: flex;
224
- }
225
-
226
- .chatInput-OYNsM0 .chatOtherInfo-sj2Wal {
227
- color: #9b9a9a;
228
- cursor: pointer;
229
- margin-right: 5px;
230
- font-size: 20px;
231
- }
232
-
233
- .chatInput-OYNsM0 .chatOtherInfo-sj2Wal:hover {
234
- color: #7d33ff;
235
- }
236
-
237
- .chatInput-OYNsM0 input {
238
- border: 1.5px solid #e0e0e6;
239
- border-radius: 5px;
240
- outline: none;
241
- width: 330px;
242
- height: 30px;
243
- margin-right: 10px;
244
- padding: 0 10px;
245
- font-size: 14px;
246
- }
247
-
248
- .chatInput-OYNsM0 input:focus {
249
- border: 1.5px solid #7d33ff;
250
- }
251
-
252
- .ant-popover-DNZLKL {
253
- text-align: justify;
254
- word-break: break-all;
255
- max-width: 200px;
256
- }
257
-