@helpai/elements 0.56.0 → 0.56.1
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/elements-web-component.esm.js +9 -9
- package/elements-web-component.esm.js.map +2 -2
- package/elements.cjs.js +9 -9
- package/elements.cjs.js.map +2 -2
- package/elements.esm.js +9 -9
- package/elements.esm.js.map +2 -2
- package/elements.js +10 -10
- package/elements.js.map +2 -2
- package/index.d.ts +1 -1
- package/index.mjs +3 -1
- package/package.json +1 -1
- package/schema.d.ts +26 -26
- package/web-component.mjs +3 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Asset, B as BlocksConfig, C as ConnectionConfig, a as ConnectionConfigPartial, H as HandshakeResponse, L as Link, S as ServerConfig, b as SiteConfig, W as WidgetConfig, c as WidgetConfigPartial, d as WidgetSettings, e as WidgetSettingsPartial } from './deployment-
|
|
1
|
+
export { A as Asset, B as BlocksConfig, C as ConnectionConfig, a as ConnectionConfigPartial, H as HandshakeResponse, L as Link, S as ServerConfig, b as SiteConfig, W as WidgetConfig, c as WidgetConfigPartial, d as WidgetSettings, e as WidgetSettingsPartial } from './deployment-ChnfF0YP.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
package/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ var BRAND = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
// src/core/version.ts
|
|
32
|
-
var ELEMENTS_VERSION = true ? "0.56.
|
|
32
|
+
var ELEMENTS_VERSION = true ? "0.56.1" : "0.0.0-dev";
|
|
33
33
|
var ELEMENTS_VERSION_PARAM = "_ev";
|
|
34
34
|
|
|
35
35
|
// src/i18n/strings.ts
|
|
@@ -1418,6 +1418,8 @@ var BEHAVIOR_ATTRS = [
|
|
|
1418
1418
|
["show-reasoning", "showReasoning", boolAttr],
|
|
1419
1419
|
["show-tool-calls", "showToolCalls", boolAttr],
|
|
1420
1420
|
["show-sources", "showSources", boolAttr],
|
|
1421
|
+
["scroll-fade", "scrollFade", boolAttr],
|
|
1422
|
+
["scroll-anchor", "scrollAnchor", (v) => v],
|
|
1421
1423
|
["enable-message-feedback", "enableMessageFeedback", boolAttr]
|
|
1422
1424
|
];
|
|
1423
1425
|
var I18N_ATTRS = [["locale", "locale"]];
|
package/package.json
CHANGED
package/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Asset, B as BlocksConfig, C as ConnectionConfig, a as ConnectionConfigPartial, E as Endpoints, H as HandshakeResponse, L as Link, P as PAGE_AREA_SUGGESTIONS, f as PageContext, S as ServerConfig, b as SiteConfig, U as UserContext, W as WidgetConfig, c as WidgetConfigPartial, d as WidgetSettings, e as WidgetSettingsPartial, g as assetSchema, h as blocksConfigSchema, i as connectionConfigPartialSchema, j as connectionConfigSchema, k as cssColorSchema, l as cssLengthSchema, m as endpointsSchema, n as handshakeResponseSchema, o as linkSchema, p as localeSchema, q as pageContextSchema, s as serverConfigSchema, r as siteConfigSchema, u as userContextSchema, t as uuid7Schema, w as widgetConfigPartialSchema, v as widgetConfigSchema, x as widgetSettingsPartialSchema, y as widgetSettingsSchema } from './deployment-
|
|
1
|
+
export { A as Asset, B as BlocksConfig, C as ConnectionConfig, a as ConnectionConfigPartial, E as Endpoints, H as HandshakeResponse, L as Link, P as PAGE_AREA_SUGGESTIONS, f as PageContext, S as ServerConfig, b as SiteConfig, U as UserContext, W as WidgetConfig, c as WidgetConfigPartial, d as WidgetSettings, e as WidgetSettingsPartial, g as assetSchema, h as blocksConfigSchema, i as connectionConfigPartialSchema, j as connectionConfigSchema, k as cssColorSchema, l as cssLengthSchema, m as endpointsSchema, n as handshakeResponseSchema, o as linkSchema, p as localeSchema, q as pageContextSchema, s as serverConfigSchema, r as siteConfigSchema, u as userContextSchema, t as uuid7Schema, w as widgetConfigPartialSchema, v as widgetConfigSchema, x as widgetSettingsPartialSchema, y as widgetSettingsSchema } from './deployment-ChnfF0YP.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -56,9 +56,9 @@ declare const presentationSchema: z.ZodObject<{
|
|
|
56
56
|
inset: z.ZodOptional<z.ZodString>;
|
|
57
57
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
58
58
|
fullscreen: "fullscreen";
|
|
59
|
+
normal: "normal";
|
|
59
60
|
expanded: "expanded";
|
|
60
61
|
auto: "auto";
|
|
61
|
-
normal: "normal";
|
|
62
62
|
}>>;
|
|
63
63
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
64
64
|
}, z.core.$loose>>;
|
|
@@ -251,9 +251,9 @@ type LauncherOptions = z.infer<typeof launcherOptionsSchema>;
|
|
|
251
251
|
|
|
252
252
|
declare const initialSizeSchema: z.ZodEnum<{
|
|
253
253
|
fullscreen: "fullscreen";
|
|
254
|
+
normal: "normal";
|
|
254
255
|
expanded: "expanded";
|
|
255
256
|
auto: "auto";
|
|
256
|
-
normal: "normal";
|
|
257
257
|
}>;
|
|
258
258
|
declare const resizeOptionsSchema: z.ZodObject<{
|
|
259
259
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -280,9 +280,9 @@ declare const sizeOptionsSchema: z.ZodObject<{
|
|
|
280
280
|
inset: z.ZodOptional<z.ZodString>;
|
|
281
281
|
initialSize: z.ZodDefault<z.ZodEnum<{
|
|
282
282
|
fullscreen: "fullscreen";
|
|
283
|
+
normal: "normal";
|
|
283
284
|
expanded: "expanded";
|
|
284
285
|
auto: "auto";
|
|
285
|
-
normal: "normal";
|
|
286
286
|
}>>;
|
|
287
287
|
autoSizeBreakpoint: z.ZodDefault<z.ZodNumber>;
|
|
288
288
|
}, z.core.$loose>;
|
|
@@ -334,40 +334,40 @@ type FeatureFlags = z.infer<typeof featureFlagsSchema>;
|
|
|
334
334
|
*/
|
|
335
335
|
|
|
336
336
|
declare const actionNameSchema: z.ZodEnum<{
|
|
337
|
-
close: "close";
|
|
338
337
|
expand: "expand";
|
|
339
338
|
fullscreen: "fullscreen";
|
|
340
|
-
|
|
341
|
-
theme: "theme";
|
|
339
|
+
close: "close";
|
|
342
340
|
language: "language";
|
|
341
|
+
theme: "theme";
|
|
343
342
|
textSize: "textSize";
|
|
344
343
|
history: "history";
|
|
344
|
+
clear: "clear";
|
|
345
345
|
sound: "sound";
|
|
346
346
|
}>;
|
|
347
347
|
type ActionName = z.infer<typeof actionNameSchema>;
|
|
348
348
|
declare const headerActionsSchema: z.ZodArray<z.ZodEnum<{
|
|
349
|
-
close: "close";
|
|
350
349
|
expand: "expand";
|
|
351
350
|
fullscreen: "fullscreen";
|
|
352
|
-
|
|
353
|
-
theme: "theme";
|
|
351
|
+
close: "close";
|
|
354
352
|
language: "language";
|
|
353
|
+
theme: "theme";
|
|
355
354
|
textSize: "textSize";
|
|
356
355
|
history: "history";
|
|
356
|
+
clear: "clear";
|
|
357
357
|
sound: "sound";
|
|
358
358
|
}>>;
|
|
359
359
|
type HeaderActions = z.infer<typeof headerActionsSchema>;
|
|
360
360
|
/** Section wrapper — `actions` list wrapped under `header` in the dashboard form. */
|
|
361
361
|
declare const headerSchema: z.ZodObject<{
|
|
362
362
|
actions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
363
|
-
close: "close";
|
|
364
363
|
expand: "expand";
|
|
365
364
|
fullscreen: "fullscreen";
|
|
366
|
-
|
|
367
|
-
theme: "theme";
|
|
365
|
+
close: "close";
|
|
368
366
|
language: "language";
|
|
367
|
+
theme: "theme";
|
|
369
368
|
textSize: "textSize";
|
|
370
369
|
history: "history";
|
|
370
|
+
clear: "clear";
|
|
371
371
|
sound: "sound";
|
|
372
372
|
}>>>;
|
|
373
373
|
}, z.core.$loose>;
|
|
@@ -383,33 +383,33 @@ type HeaderOptions = z.infer<typeof headerSchema>;
|
|
|
383
383
|
*/
|
|
384
384
|
|
|
385
385
|
declare const feedbackEventSchema: z.ZodEnum<{
|
|
386
|
-
voiceStart: "voiceStart";
|
|
387
|
-
voiceStop: "voiceStop";
|
|
388
386
|
error: "error";
|
|
389
387
|
messageReceived: "messageReceived";
|
|
390
388
|
messageSent: "messageSent";
|
|
389
|
+
voiceStart: "voiceStart";
|
|
390
|
+
voiceStop: "voiceStop";
|
|
391
391
|
}>;
|
|
392
392
|
type FeedbackEvent = z.infer<typeof feedbackEventSchema>;
|
|
393
393
|
declare const soundOptionsSchema: z.ZodObject<{
|
|
394
394
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
395
395
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
396
396
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
397
|
-
voiceStart: "voiceStart";
|
|
398
|
-
voiceStop: "voiceStop";
|
|
399
397
|
error: "error";
|
|
400
398
|
messageReceived: "messageReceived";
|
|
401
399
|
messageSent: "messageSent";
|
|
400
|
+
voiceStart: "voiceStart";
|
|
401
|
+
voiceStop: "voiceStop";
|
|
402
402
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
403
403
|
}, z.core.$loose>;
|
|
404
404
|
type SoundOptions = z.infer<typeof soundOptionsSchema>;
|
|
405
405
|
declare const hapticsOptionsSchema: z.ZodObject<{
|
|
406
406
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
407
407
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
408
|
-
voiceStart: "voiceStart";
|
|
409
|
-
voiceStop: "voiceStop";
|
|
410
408
|
error: "error";
|
|
411
409
|
messageReceived: "messageReceived";
|
|
412
410
|
messageSent: "messageSent";
|
|
411
|
+
voiceStart: "voiceStart";
|
|
412
|
+
voiceStop: "voiceStop";
|
|
413
413
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
414
414
|
}, z.core.$loose>;
|
|
415
415
|
type HapticsOptions = z.infer<typeof hapticsOptionsSchema>;
|
|
@@ -418,21 +418,21 @@ declare const feedbackSchema: z.ZodObject<{
|
|
|
418
418
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
419
419
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
420
420
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
421
|
-
voiceStart: "voiceStart";
|
|
422
|
-
voiceStop: "voiceStop";
|
|
423
421
|
error: "error";
|
|
424
422
|
messageReceived: "messageReceived";
|
|
425
423
|
messageSent: "messageSent";
|
|
424
|
+
voiceStart: "voiceStart";
|
|
425
|
+
voiceStop: "voiceStop";
|
|
426
426
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
427
427
|
}, z.core.$loose>>;
|
|
428
428
|
haptics: z.ZodOptional<z.ZodObject<{
|
|
429
429
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
430
430
|
events: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
431
|
-
voiceStart: "voiceStart";
|
|
432
|
-
voiceStop: "voiceStop";
|
|
433
431
|
error: "error";
|
|
434
432
|
messageReceived: "messageReceived";
|
|
435
433
|
messageSent: "messageSent";
|
|
434
|
+
voiceStart: "voiceStart";
|
|
435
|
+
voiceStop: "voiceStop";
|
|
436
436
|
}> & z.core.$partial, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
437
437
|
}, z.core.$loose>>;
|
|
438
438
|
}, z.core.$loose>;
|
|
@@ -867,18 +867,18 @@ type I18nOptions = z.infer<typeof i18nSchema>;
|
|
|
867
867
|
*/
|
|
868
868
|
|
|
869
869
|
declare const moduleLayoutSchema: z.ZodEnum<{
|
|
870
|
-
home: "home";
|
|
871
870
|
chat: "chat";
|
|
872
871
|
help: "help";
|
|
872
|
+
home: "home";
|
|
873
873
|
news: "news";
|
|
874
874
|
}>;
|
|
875
875
|
type ModuleLayout = z.infer<typeof moduleLayoutSchema>;
|
|
876
876
|
declare const moduleSchema: z.ZodObject<{
|
|
877
877
|
label: z.ZodString;
|
|
878
878
|
layout: z.ZodEnum<{
|
|
879
|
-
home: "home";
|
|
880
879
|
chat: "chat";
|
|
881
880
|
help: "help";
|
|
881
|
+
home: "home";
|
|
882
882
|
news: "news";
|
|
883
883
|
}>;
|
|
884
884
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -904,9 +904,9 @@ type ModuleOptions = z.infer<typeof moduleSchema>;
|
|
|
904
904
|
declare const modulesSchema: z.ZodArray<z.ZodObject<{
|
|
905
905
|
label: z.ZodString;
|
|
906
906
|
layout: z.ZodEnum<{
|
|
907
|
-
home: "home";
|
|
908
907
|
chat: "chat";
|
|
909
908
|
help: "help";
|
|
909
|
+
home: "home";
|
|
910
910
|
news: "news";
|
|
911
911
|
}>;
|
|
912
912
|
contentTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/web-component.mjs
CHANGED
|
@@ -1399,6 +1399,8 @@ var BEHAVIOR_ATTRS = [
|
|
|
1399
1399
|
["show-reasoning", "showReasoning", boolAttr],
|
|
1400
1400
|
["show-tool-calls", "showToolCalls", boolAttr],
|
|
1401
1401
|
["show-sources", "showSources", boolAttr],
|
|
1402
|
+
["scroll-fade", "scrollFade", boolAttr],
|
|
1403
|
+
["scroll-anchor", "scrollAnchor", (v) => v],
|
|
1402
1404
|
["enable-message-feedback", "enableMessageFeedback", boolAttr]
|
|
1403
1405
|
];
|
|
1404
1406
|
var I18N_ATTRS = [["locale", "locale"]];
|
|
@@ -1914,7 +1916,7 @@ function createAuth(opts) {
|
|
|
1914
1916
|
}
|
|
1915
1917
|
|
|
1916
1918
|
// src/core/version.ts
|
|
1917
|
-
var ELEMENTS_VERSION = true ? "0.56.
|
|
1919
|
+
var ELEMENTS_VERSION = true ? "0.56.1" : "0.0.0-dev";
|
|
1918
1920
|
var ELEMENTS_VERSION_PARAM = "_ev";
|
|
1919
1921
|
|
|
1920
1922
|
// src/stream/types.ts
|