@glodon-aiot/agent-cli-ui 3.9.0-alpha.7 → 3.9.0-beta.10

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.
Files changed (89) hide show
  1. package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +8 -8
  2. package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +4 -4
  3. package/dist/es/Dialog/SessionList/index.mjs +178 -166
  4. package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +51 -51
  5. package/dist/es/packages/agent-cli-ui/package.json.mjs +11 -11
  6. package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +22 -23
  7. package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
  8. package/dist/es/src/style13.css +1 -1
  9. package/dist/es/src/style14.css +1 -1
  10. package/dist/es/src/style15.css +1 -1
  11. package/dist/es/src/style16.css +1 -1
  12. package/dist/es/src/style17.css +1 -1
  13. package/dist/es/src/style18.css +1 -1
  14. package/dist/es/src/style20.css +1 -1
  15. package/dist/es/src/style21.css +1 -1
  16. package/dist/es/src/style22.css +1 -1
  17. package/dist/es/src/style24.css +1 -1
  18. package/dist/es/src/style25.css +1 -1
  19. package/dist/es/src/style27.css +1 -1
  20. package/dist/es/src/style28.css +1 -1
  21. package/dist/es/src/style7.css +1 -1
  22. package/dist/es/src/style9.css +1 -1
  23. package/dist/lib/index.js +69 -70
  24. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +44 -0
  25. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +1 -0
  26. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +36 -0
  27. package/dist/src/utils/reactCompatibility.d.ts +27 -0
  28. package/dist/src/utils/testAntdPrefix.d.ts +3 -0
  29. package/package.json +3 -3
  30. package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +0 -162
  31. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +0 -12
  32. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +0 -61
  33. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +0 -33
  34. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +0 -368
  35. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +0 -6
  36. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +0 -566
  37. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
  38. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
  39. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +0 -14
  40. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +0 -36
  41. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +0 -28
  42. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +0 -10
  43. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +0 -21
  44. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +0 -15
  45. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +0 -19
  46. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +0 -15
  47. package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +0 -16
  48. package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +0 -47
  49. package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +0 -11
  50. package/dist/es/node_modules/rehype-raw/lib/index.mjs +0 -26
  51. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -38
  52. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +0 -251
  53. package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -7
  54. package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +0 -249
  55. package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +0 -125
  56. package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +0 -4
  57. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +0 -34
  58. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +0 -7
  59. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +0 -103
  60. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +0 -44
  61. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +0 -14
  62. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +0 -38
  63. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -91
  64. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +0 -2308
  65. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -220
  66. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +0 -2
  67. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +0 -1948
  68. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -92
  69. package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +0 -173
  70. package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +0 -12
  71. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +0 -61
  72. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +0 -33
  73. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +0 -368
  74. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +0 -6
  75. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +0 -566
  76. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
  77. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
  78. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +0 -17
  79. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +0 -27
  80. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +0 -23
  81. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +0 -11
  82. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +0 -17
  83. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +0 -15
  84. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +0 -19
  85. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +0 -15
  86. package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +0 -16
  87. package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +0 -16
  88. package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +0 -11
  89. package/dist/es/node_modules/zwitch/index.mjs +0 -18
@@ -1,368 +0,0 @@
1
- import { caseInsensitiveTransform as t } from "./util/case-insensitive-transform.mjs";
2
- import { create as r } from "./util/create.mjs";
3
- import { commaSeparated as u, spaceSeparated as e, boolean as l, number as n, booleanish as o, overloadedBoolean as a } from "./util/types.mjs";
4
- const d = r({
5
- attributes: {
6
- acceptcharset: "accept-charset",
7
- classname: "class",
8
- htmlfor: "for",
9
- httpequiv: "http-equiv"
10
- },
11
- mustUseProperty: ["checked", "multiple", "muted", "selected"],
12
- properties: {
13
- // Standard Properties.
14
- abbr: null,
15
- accept: u,
16
- acceptCharset: e,
17
- accessKey: e,
18
- action: null,
19
- allow: null,
20
- allowFullScreen: l,
21
- allowPaymentRequest: l,
22
- allowUserMedia: l,
23
- alt: null,
24
- as: null,
25
- async: l,
26
- autoCapitalize: null,
27
- autoComplete: e,
28
- autoFocus: l,
29
- autoPlay: l,
30
- blocking: e,
31
- capture: null,
32
- charSet: null,
33
- checked: l,
34
- cite: null,
35
- className: e,
36
- cols: n,
37
- colSpan: null,
38
- content: null,
39
- contentEditable: o,
40
- controls: l,
41
- controlsList: e,
42
- coords: n | u,
43
- crossOrigin: null,
44
- data: null,
45
- dateTime: null,
46
- decoding: null,
47
- default: l,
48
- defer: l,
49
- dir: null,
50
- dirName: null,
51
- disabled: l,
52
- download: a,
53
- draggable: o,
54
- encType: null,
55
- enterKeyHint: null,
56
- fetchPriority: null,
57
- form: null,
58
- formAction: null,
59
- formEncType: null,
60
- formMethod: null,
61
- formNoValidate: l,
62
- formTarget: null,
63
- headers: e,
64
- height: n,
65
- hidden: a,
66
- high: n,
67
- href: null,
68
- hrefLang: null,
69
- htmlFor: e,
70
- httpEquiv: e,
71
- id: null,
72
- imageSizes: null,
73
- imageSrcSet: null,
74
- inert: l,
75
- inputMode: null,
76
- integrity: null,
77
- is: null,
78
- isMap: l,
79
- itemId: null,
80
- itemProp: e,
81
- itemRef: e,
82
- itemScope: l,
83
- itemType: e,
84
- kind: null,
85
- label: null,
86
- lang: null,
87
- language: null,
88
- list: null,
89
- loading: null,
90
- loop: l,
91
- low: n,
92
- manifest: null,
93
- max: null,
94
- maxLength: n,
95
- media: null,
96
- method: null,
97
- min: null,
98
- minLength: n,
99
- multiple: l,
100
- muted: l,
101
- name: null,
102
- nonce: null,
103
- noModule: l,
104
- noValidate: l,
105
- onAbort: null,
106
- onAfterPrint: null,
107
- onAuxClick: null,
108
- onBeforeMatch: null,
109
- onBeforePrint: null,
110
- onBeforeToggle: null,
111
- onBeforeUnload: null,
112
- onBlur: null,
113
- onCancel: null,
114
- onCanPlay: null,
115
- onCanPlayThrough: null,
116
- onChange: null,
117
- onClick: null,
118
- onClose: null,
119
- onContextLost: null,
120
- onContextMenu: null,
121
- onContextRestored: null,
122
- onCopy: null,
123
- onCueChange: null,
124
- onCut: null,
125
- onDblClick: null,
126
- onDrag: null,
127
- onDragEnd: null,
128
- onDragEnter: null,
129
- onDragExit: null,
130
- onDragLeave: null,
131
- onDragOver: null,
132
- onDragStart: null,
133
- onDrop: null,
134
- onDurationChange: null,
135
- onEmptied: null,
136
- onEnded: null,
137
- onError: null,
138
- onFocus: null,
139
- onFormData: null,
140
- onHashChange: null,
141
- onInput: null,
142
- onInvalid: null,
143
- onKeyDown: null,
144
- onKeyPress: null,
145
- onKeyUp: null,
146
- onLanguageChange: null,
147
- onLoad: null,
148
- onLoadedData: null,
149
- onLoadedMetadata: null,
150
- onLoadEnd: null,
151
- onLoadStart: null,
152
- onMessage: null,
153
- onMessageError: null,
154
- onMouseDown: null,
155
- onMouseEnter: null,
156
- onMouseLeave: null,
157
- onMouseMove: null,
158
- onMouseOut: null,
159
- onMouseOver: null,
160
- onMouseUp: null,
161
- onOffline: null,
162
- onOnline: null,
163
- onPageHide: null,
164
- onPageShow: null,
165
- onPaste: null,
166
- onPause: null,
167
- onPlay: null,
168
- onPlaying: null,
169
- onPopState: null,
170
- onProgress: null,
171
- onRateChange: null,
172
- onRejectionHandled: null,
173
- onReset: null,
174
- onResize: null,
175
- onScroll: null,
176
- onScrollEnd: null,
177
- onSecurityPolicyViolation: null,
178
- onSeeked: null,
179
- onSeeking: null,
180
- onSelect: null,
181
- onSlotChange: null,
182
- onStalled: null,
183
- onStorage: null,
184
- onSubmit: null,
185
- onSuspend: null,
186
- onTimeUpdate: null,
187
- onToggle: null,
188
- onUnhandledRejection: null,
189
- onUnload: null,
190
- onVolumeChange: null,
191
- onWaiting: null,
192
- onWheel: null,
193
- open: l,
194
- optimum: n,
195
- pattern: null,
196
- ping: e,
197
- placeholder: null,
198
- playsInline: l,
199
- popover: null,
200
- popoverTarget: null,
201
- popoverTargetAction: null,
202
- poster: null,
203
- preload: null,
204
- readOnly: l,
205
- referrerPolicy: null,
206
- rel: e,
207
- required: l,
208
- reversed: l,
209
- rows: n,
210
- rowSpan: n,
211
- sandbox: e,
212
- scope: null,
213
- scoped: l,
214
- seamless: l,
215
- selected: l,
216
- shadowRootClonable: l,
217
- shadowRootDelegatesFocus: l,
218
- shadowRootMode: null,
219
- shape: null,
220
- size: n,
221
- sizes: null,
222
- slot: null,
223
- span: n,
224
- spellCheck: o,
225
- src: null,
226
- srcDoc: null,
227
- srcLang: null,
228
- srcSet: null,
229
- start: n,
230
- step: null,
231
- style: null,
232
- tabIndex: n,
233
- target: null,
234
- title: null,
235
- translate: null,
236
- type: null,
237
- typeMustMatch: l,
238
- useMap: null,
239
- value: o,
240
- width: n,
241
- wrap: null,
242
- writingSuggestions: null,
243
- // Legacy.
244
- // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
245
- align: null,
246
- // Several. Use CSS `text-align` instead,
247
- aLink: null,
248
- // `<body>`. Use CSS `a:active {color}` instead
249
- archive: e,
250
- // `<object>`. List of URIs to archives
251
- axis: null,
252
- // `<td>` and `<th>`. Use `scope` on `<th>`
253
- background: null,
254
- // `<body>`. Use CSS `background-image` instead
255
- bgColor: null,
256
- // `<body>` and table elements. Use CSS `background-color` instead
257
- border: n,
258
- // `<table>`. Use CSS `border-width` instead,
259
- borderColor: null,
260
- // `<table>`. Use CSS `border-color` instead,
261
- bottomMargin: n,
262
- // `<body>`
263
- cellPadding: null,
264
- // `<table>`
265
- cellSpacing: null,
266
- // `<table>`
267
- char: null,
268
- // Several table elements. When `align=char`, sets the character to align on
269
- charOff: null,
270
- // Several table elements. When `char`, offsets the alignment
271
- classId: null,
272
- // `<object>`
273
- clear: null,
274
- // `<br>`. Use CSS `clear` instead
275
- code: null,
276
- // `<object>`
277
- codeBase: null,
278
- // `<object>`
279
- codeType: null,
280
- // `<object>`
281
- color: null,
282
- // `<font>` and `<hr>`. Use CSS instead
283
- compact: l,
284
- // Lists. Use CSS to reduce space between items instead
285
- declare: l,
286
- // `<object>`
287
- event: null,
288
- // `<script>`
289
- face: null,
290
- // `<font>`. Use CSS instead
291
- frame: null,
292
- // `<table>`
293
- frameBorder: null,
294
- // `<iframe>`. Use CSS `border` instead
295
- hSpace: n,
296
- // `<img>` and `<object>`
297
- leftMargin: n,
298
- // `<body>`
299
- link: null,
300
- // `<body>`. Use CSS `a:link {color: *}` instead
301
- longDesc: null,
302
- // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
303
- lowSrc: null,
304
- // `<img>`. Use a `<picture>`
305
- marginHeight: n,
306
- // `<body>`
307
- marginWidth: n,
308
- // `<body>`
309
- noResize: l,
310
- // `<frame>`
311
- noHref: l,
312
- // `<area>`. Use no href instead of an explicit `nohref`
313
- noShade: l,
314
- // `<hr>`. Use background-color and height instead of borders
315
- noWrap: l,
316
- // `<td>` and `<th>`
317
- object: null,
318
- // `<applet>`
319
- profile: null,
320
- // `<head>`
321
- prompt: null,
322
- // `<isindex>`
323
- rev: null,
324
- // `<link>`
325
- rightMargin: n,
326
- // `<body>`
327
- rules: null,
328
- // `<table>`
329
- scheme: null,
330
- // `<meta>`
331
- scrolling: o,
332
- // `<frame>`. Use overflow in the child context
333
- standby: null,
334
- // `<object>`
335
- summary: null,
336
- // `<table>`
337
- text: null,
338
- // `<body>`. Use CSS `color` instead
339
- topMargin: n,
340
- // `<body>`
341
- valueType: null,
342
- // `<param>`
343
- version: null,
344
- // `<html>`. Use a doctype.
345
- vAlign: null,
346
- // Several. Use CSS `vertical-align` instead
347
- vLink: null,
348
- // `<body>`. Use CSS `a:visited {color}` instead
349
- vSpace: n,
350
- // `<img>` and `<object>`
351
- // Non-standard Properties.
352
- allowTransparency: null,
353
- autoCorrect: null,
354
- autoSave: null,
355
- disablePictureInPicture: l,
356
- disableRemotePlayback: l,
357
- prefix: null,
358
- property: null,
359
- results: n,
360
- security: null,
361
- unselectable: null
362
- },
363
- space: "html",
364
- transform: t
365
- });
366
- export {
367
- d as html
368
- };
@@ -1,6 +0,0 @@
1
- function o(e) {
2
- return e.toLowerCase();
3
- }
4
- export {
5
- o as normalize
6
- };