@liip/liipgpt 3.6.4 → 3.6.6
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/button/liipgpt-button.iife.js +8 -8
- package/chat/liipgpt-chat.iife.js +19 -19
- package/config/index.cjs +20 -7
- package/config/index.d.ts +28 -0
- package/config/index.js +20 -7
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/{nqjonts_.js → 2Hh8DJQG.js} +1 -1
- package/configurator/_app/immutable/chunks/{D4hsPSLS.js → B-hpNbtj.js} +1 -1
- package/configurator/_app/immutable/chunks/{CqzYdUi6.js → B0fliJXa.js} +2 -2
- package/configurator/_app/immutable/chunks/B3LnmtSW.js +1 -0
- package/configurator/_app/immutable/chunks/{DzOV-etd.js → BClMDlJ1.js} +2 -2
- package/configurator/_app/immutable/chunks/{B-P0cQBf.js → Bd-qHRpI.js} +1 -1
- package/configurator/_app/immutable/chunks/{DTspBV79.js → COBaZaOi.js} +9 -9
- package/configurator/_app/immutable/chunks/{JEKVFENx.js → CZzAbm1q.js} +2 -2
- package/configurator/_app/immutable/chunks/{DcOGFwCk.js → CmSp37Zg.js} +1 -1
- package/configurator/_app/immutable/chunks/{Czdz2g0u.js → CvIUpsE2.js} +5 -5
- package/configurator/_app/immutable/chunks/{H_Qz1t09.js → CwrZBvVS.js} +1 -1
- package/configurator/_app/immutable/chunks/{DRq9fhs9.js → D9izXPjZ.js} +1 -1
- package/configurator/_app/immutable/chunks/{BQwc7106.js → DKyUMEyV.js} +1 -1
- package/configurator/_app/immutable/chunks/{TZgETsNt.js → ZDmpvzUI.js} +1 -1
- package/configurator/_app/immutable/chunks/{IsmK4Fpw.js → dgLflWK3.js} +2 -2
- package/configurator/_app/immutable/chunks/{DSTWBVLS.js → jMDVv85c.js} +1 -1
- package/configurator/_app/immutable/chunks/{BiGeVjFa.js → mmrLjPYJ.js} +1 -1
- package/configurator/_app/immutable/entry/{app.Du0Ip1qt.js → app.E2ldf754.js} +2 -2
- package/configurator/_app/immutable/entry/start.M4_rYTfO.js +1 -0
- package/configurator/_app/immutable/nodes/{0.BJaEr5tZ.js → 0.Ll1kqQ46.js} +1 -1
- package/configurator/_app/immutable/nodes/{1.C4Q2p2ww.js → 1.CoQietVY.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.zTSXNJuk.js → 2.BQPbJpTW.js} +9 -8
- package/configurator/_app/immutable/nodes/{3.BJjkyEoj.js → 3.D869uPuW.js} +1 -1
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +6 -6
- package/configurator/sidebar.html +6 -6
- package/index.cjs +21 -7
- package/index.d.ts +56 -1
- package/index.js +21 -7
- package/package.json +1 -1
- package/search-summary/liipgpt-search-summary.iife.js +24 -24
- package/configurator/_app/immutable/chunks/4rln5D2N.js +0 -1
- package/configurator/_app/immutable/entry/start.A4roapPb.js +0 -1
package/index.d.ts
CHANGED
|
@@ -4981,6 +4981,9 @@ export type SseMessageV2 = {
|
|
|
4981
4981
|
} | {
|
|
4982
4982
|
type: "mapped-reference";
|
|
4983
4983
|
reference: ChatReference;
|
|
4984
|
+
} | {
|
|
4985
|
+
type: "jsonld-component";
|
|
4986
|
+
reference: ChatReference;
|
|
4984
4987
|
} | {
|
|
4985
4988
|
type: "tokens-per-second";
|
|
4986
4989
|
tps: number;
|
|
@@ -5116,7 +5119,7 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
|
|
|
5116
5119
|
de: "de";
|
|
5117
5120
|
fr: "fr";
|
|
5118
5121
|
it: "it";
|
|
5119
|
-
}
|
|
5122
|
+
}>, z.ZodObject<{
|
|
5120
5123
|
introductionTitle: z.ZodString;
|
|
5121
5124
|
introductionDisclaimer: z.ZodOptional<z.ZodString>;
|
|
5122
5125
|
termsInvitationToConsent: z.ZodOptional<z.ZodString>;
|
|
@@ -5251,6 +5254,16 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
|
|
|
5251
5254
|
ariaSearchSummaryExpand: z.ZodString;
|
|
5252
5255
|
ariaSearchSummaryCollapse: z.ZodString;
|
|
5253
5256
|
ariaSearchSummaryOptOut: z.ZodString;
|
|
5257
|
+
jsonLdEventDate: z.ZodString;
|
|
5258
|
+
jsonLdEventLocation: z.ZodString;
|
|
5259
|
+
jsonLdEventDescription: z.ZodString;
|
|
5260
|
+
jsonLdEventCtaLabel: z.ZodString;
|
|
5261
|
+
jsonLdCtaLabel: z.ZodString;
|
|
5262
|
+
jsonLdMapOpenMap: z.ZodString;
|
|
5263
|
+
ariaJsonLdMapCanvas: z.ZodString;
|
|
5264
|
+
ariaJsonLdEventCard: z.ZodString;
|
|
5265
|
+
ariaJsonLdMapCard: z.ZodString;
|
|
5266
|
+
ariaJsonLdCtaCard: z.ZodString;
|
|
5254
5267
|
}, z.core.$strip>>;
|
|
5255
5268
|
export declare const selectedTopicSchema: z.ZodObject<{
|
|
5256
5269
|
label: z.ZodString;
|
|
@@ -5824,6 +5837,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5824
5837
|
record: "record";
|
|
5825
5838
|
abort: "abort";
|
|
5826
5839
|
message: "message";
|
|
5840
|
+
email: "email";
|
|
5827
5841
|
lightMode: "lightMode";
|
|
5828
5842
|
darkMode: "darkMode";
|
|
5829
5843
|
audio: "audio";
|
|
@@ -5868,6 +5882,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
5868
5882
|
headerLogo: "headerLogo";
|
|
5869
5883
|
embedAvatar: "embedAvatar";
|
|
5870
5884
|
forward: "forward";
|
|
5885
|
+
phone: "phone";
|
|
5871
5886
|
}> & z.core.$partial, z.ZodString>>;
|
|
5872
5887
|
}, z.core.$strip>>;
|
|
5873
5888
|
}, z.core.$strip>>;
|
|
@@ -6037,6 +6052,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6037
6052
|
record: "record";
|
|
6038
6053
|
abort: "abort";
|
|
6039
6054
|
message: "message";
|
|
6055
|
+
email: "email";
|
|
6040
6056
|
lightMode: "lightMode";
|
|
6041
6057
|
darkMode: "darkMode";
|
|
6042
6058
|
audio: "audio";
|
|
@@ -6081,6 +6097,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6081
6097
|
headerLogo: "headerLogo";
|
|
6082
6098
|
embedAvatar: "embedAvatar";
|
|
6083
6099
|
forward: "forward";
|
|
6100
|
+
phone: "phone";
|
|
6084
6101
|
}> & z.core.$partial, z.ZodString>>;
|
|
6085
6102
|
}, z.core.$strip>>;
|
|
6086
6103
|
}, z.core.$strip>>;
|
|
@@ -6219,6 +6236,16 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6219
6236
|
ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
6220
6237
|
ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
6221
6238
|
ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
6239
|
+
jsonLdEventDate: z.ZodOptional<z.ZodString>;
|
|
6240
|
+
jsonLdEventLocation: z.ZodOptional<z.ZodString>;
|
|
6241
|
+
jsonLdEventDescription: z.ZodOptional<z.ZodString>;
|
|
6242
|
+
jsonLdEventCtaLabel: z.ZodOptional<z.ZodString>;
|
|
6243
|
+
jsonLdCtaLabel: z.ZodOptional<z.ZodString>;
|
|
6244
|
+
jsonLdMapOpenMap: z.ZodOptional<z.ZodString>;
|
|
6245
|
+
ariaJsonLdMapCanvas: z.ZodOptional<z.ZodString>;
|
|
6246
|
+
ariaJsonLdEventCard: z.ZodOptional<z.ZodString>;
|
|
6247
|
+
ariaJsonLdMapCard: z.ZodOptional<z.ZodString>;
|
|
6248
|
+
ariaJsonLdCtaCard: z.ZodOptional<z.ZodString>;
|
|
6222
6249
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6223
6250
|
name: z.ZodString;
|
|
6224
6251
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -8473,6 +8500,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8473
8500
|
record: "record";
|
|
8474
8501
|
abort: "abort";
|
|
8475
8502
|
message: "message";
|
|
8503
|
+
email: "email";
|
|
8476
8504
|
lightMode: "lightMode";
|
|
8477
8505
|
darkMode: "darkMode";
|
|
8478
8506
|
audio: "audio";
|
|
@@ -8517,6 +8545,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8517
8545
|
headerLogo: "headerLogo";
|
|
8518
8546
|
embedAvatar: "embedAvatar";
|
|
8519
8547
|
forward: "forward";
|
|
8548
|
+
phone: "phone";
|
|
8520
8549
|
}> & z.core.$partial, z.ZodString>>;
|
|
8521
8550
|
}, z.core.$strip>>;
|
|
8522
8551
|
}, z.core.$strip>>;
|
|
@@ -8686,6 +8715,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8686
8715
|
record: "record";
|
|
8687
8716
|
abort: "abort";
|
|
8688
8717
|
message: "message";
|
|
8718
|
+
email: "email";
|
|
8689
8719
|
lightMode: "lightMode";
|
|
8690
8720
|
darkMode: "darkMode";
|
|
8691
8721
|
audio: "audio";
|
|
@@ -8730,6 +8760,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8730
8760
|
headerLogo: "headerLogo";
|
|
8731
8761
|
embedAvatar: "embedAvatar";
|
|
8732
8762
|
forward: "forward";
|
|
8763
|
+
phone: "phone";
|
|
8733
8764
|
}> & z.core.$partial, z.ZodString>>;
|
|
8734
8765
|
}, z.core.$strip>>;
|
|
8735
8766
|
}, z.core.$strip>>;
|
|
@@ -8868,6 +8899,16 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8868
8899
|
ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
8869
8900
|
ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
8870
8901
|
ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
8902
|
+
jsonLdEventDate: z.ZodOptional<z.ZodString>;
|
|
8903
|
+
jsonLdEventLocation: z.ZodOptional<z.ZodString>;
|
|
8904
|
+
jsonLdEventDescription: z.ZodOptional<z.ZodString>;
|
|
8905
|
+
jsonLdEventCtaLabel: z.ZodOptional<z.ZodString>;
|
|
8906
|
+
jsonLdCtaLabel: z.ZodOptional<z.ZodString>;
|
|
8907
|
+
jsonLdMapOpenMap: z.ZodOptional<z.ZodString>;
|
|
8908
|
+
ariaJsonLdMapCanvas: z.ZodOptional<z.ZodString>;
|
|
8909
|
+
ariaJsonLdEventCard: z.ZodOptional<z.ZodString>;
|
|
8910
|
+
ariaJsonLdMapCard: z.ZodOptional<z.ZodString>;
|
|
8911
|
+
ariaJsonLdCtaCard: z.ZodOptional<z.ZodString>;
|
|
8871
8912
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8872
8913
|
name: z.ZodString;
|
|
8873
8914
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -11122,6 +11163,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11122
11163
|
record: "record";
|
|
11123
11164
|
abort: "abort";
|
|
11124
11165
|
message: "message";
|
|
11166
|
+
email: "email";
|
|
11125
11167
|
lightMode: "lightMode";
|
|
11126
11168
|
darkMode: "darkMode";
|
|
11127
11169
|
audio: "audio";
|
|
@@ -11166,6 +11208,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11166
11208
|
headerLogo: "headerLogo";
|
|
11167
11209
|
embedAvatar: "embedAvatar";
|
|
11168
11210
|
forward: "forward";
|
|
11211
|
+
phone: "phone";
|
|
11169
11212
|
}> & z.core.$partial, z.ZodString>>;
|
|
11170
11213
|
}, z.core.$strip>>;
|
|
11171
11214
|
}, z.core.$strip>>;
|
|
@@ -11335,6 +11378,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11335
11378
|
record: "record";
|
|
11336
11379
|
abort: "abort";
|
|
11337
11380
|
message: "message";
|
|
11381
|
+
email: "email";
|
|
11338
11382
|
lightMode: "lightMode";
|
|
11339
11383
|
darkMode: "darkMode";
|
|
11340
11384
|
audio: "audio";
|
|
@@ -11379,6 +11423,7 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11379
11423
|
headerLogo: "headerLogo";
|
|
11380
11424
|
embedAvatar: "embedAvatar";
|
|
11381
11425
|
forward: "forward";
|
|
11426
|
+
phone: "phone";
|
|
11382
11427
|
}> & z.core.$partial, z.ZodString>>;
|
|
11383
11428
|
}, z.core.$strip>>;
|
|
11384
11429
|
}, z.core.$strip>>;
|
|
@@ -11517,6 +11562,16 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11517
11562
|
ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
11518
11563
|
ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
11519
11564
|
ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
11565
|
+
jsonLdEventDate: z.ZodOptional<z.ZodString>;
|
|
11566
|
+
jsonLdEventLocation: z.ZodOptional<z.ZodString>;
|
|
11567
|
+
jsonLdEventDescription: z.ZodOptional<z.ZodString>;
|
|
11568
|
+
jsonLdEventCtaLabel: z.ZodOptional<z.ZodString>;
|
|
11569
|
+
jsonLdCtaLabel: z.ZodOptional<z.ZodString>;
|
|
11570
|
+
jsonLdMapOpenMap: z.ZodOptional<z.ZodString>;
|
|
11571
|
+
ariaJsonLdMapCanvas: z.ZodOptional<z.ZodString>;
|
|
11572
|
+
ariaJsonLdEventCard: z.ZodOptional<z.ZodString>;
|
|
11573
|
+
ariaJsonLdMapCard: z.ZodOptional<z.ZodString>;
|
|
11574
|
+
ariaJsonLdCtaCard: z.ZodOptional<z.ZodString>;
|
|
11520
11575
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11521
11576
|
name: z.ZodString;
|
|
11522
11577
|
namePlural: z.ZodOptional<z.ZodString>;
|
package/index.js
CHANGED
|
@@ -19666,7 +19666,17 @@ var translationSchema = exports_external.object({
|
|
|
19666
19666
|
searchSummaryDisclaimer: exports_external.string().optional(),
|
|
19667
19667
|
ariaSearchSummaryExpand: exports_external.string(),
|
|
19668
19668
|
ariaSearchSummaryCollapse: exports_external.string(),
|
|
19669
|
-
ariaSearchSummaryOptOut: exports_external.string()
|
|
19669
|
+
ariaSearchSummaryOptOut: exports_external.string(),
|
|
19670
|
+
jsonLdEventDate: exports_external.string(),
|
|
19671
|
+
jsonLdEventLocation: exports_external.string(),
|
|
19672
|
+
jsonLdEventDescription: exports_external.string(),
|
|
19673
|
+
jsonLdEventCtaLabel: exports_external.string(),
|
|
19674
|
+
jsonLdCtaLabel: exports_external.string(),
|
|
19675
|
+
jsonLdMapOpenMap: exports_external.string(),
|
|
19676
|
+
ariaJsonLdMapCanvas: exports_external.string(),
|
|
19677
|
+
ariaJsonLdEventCard: exports_external.string(),
|
|
19678
|
+
ariaJsonLdMapCard: exports_external.string(),
|
|
19679
|
+
ariaJsonLdCtaCard: exports_external.string()
|
|
19670
19680
|
});
|
|
19671
19681
|
var allLanguages = ["en", "de", "fr", "it"];
|
|
19672
19682
|
var languagesSchema = exports_external.enum(allLanguages);
|
|
@@ -19865,7 +19875,7 @@ var componentSchema = exports_external.intersection(exports_external.object({
|
|
|
19865
19875
|
var fontSchema = exports_external.object({
|
|
19866
19876
|
family: exports_external.string().optional()
|
|
19867
19877
|
});
|
|
19868
|
-
var
|
|
19878
|
+
var svgKeySchema = exports_external.enum([
|
|
19869
19879
|
"predefinedQuestion",
|
|
19870
19880
|
"edit",
|
|
19871
19881
|
"newConversation",
|
|
@@ -19903,7 +19913,6 @@ var svgsSchema = exports_external.partialRecord(exports_external.enum([
|
|
|
19903
19913
|
"listUnordered",
|
|
19904
19914
|
"lightMode",
|
|
19905
19915
|
"darkMode",
|
|
19906
|
-
"avatarLarge",
|
|
19907
19916
|
"settings",
|
|
19908
19917
|
"settingsClose",
|
|
19909
19918
|
"sources",
|
|
@@ -19913,8 +19922,12 @@ var svgsSchema = exports_external.partialRecord(exports_external.enum([
|
|
|
19913
19922
|
"topic",
|
|
19914
19923
|
"headerLogo",
|
|
19915
19924
|
"embedAvatar",
|
|
19916
|
-
"forward"
|
|
19917
|
-
|
|
19925
|
+
"forward",
|
|
19926
|
+
"phone",
|
|
19927
|
+
"email"
|
|
19928
|
+
]);
|
|
19929
|
+
var svgsSchema = exports_external.record(svgKeySchema, exports_external.string());
|
|
19930
|
+
var svgsPartialSchema = exports_external.partialRecord(svgKeySchema, exports_external.string());
|
|
19918
19931
|
var tokensSchema = exports_external.object({
|
|
19919
19932
|
font: fontSchema.optional(),
|
|
19920
19933
|
colors: exports_external.object({
|
|
@@ -19976,7 +19989,7 @@ var tokensDeepPartialSchema = exports_external.object({
|
|
|
19976
19989
|
boxShadow: exports_external.string().optional()
|
|
19977
19990
|
}).optional(),
|
|
19978
19991
|
components: exports_external.record(exports_external.string(), componentSchema).optional(),
|
|
19979
|
-
svgs:
|
|
19992
|
+
svgs: svgsPartialSchema.optional()
|
|
19980
19993
|
});
|
|
19981
19994
|
var darkOrLightThemeDeepPartialSchema = exports_external.object({
|
|
19982
19995
|
customCSS: exports_external.string().optional(),
|
|
@@ -20104,7 +20117,7 @@ var userDataResponseSchema = exports_external.union([
|
|
|
20104
20117
|
cID: exports_external.string()
|
|
20105
20118
|
})
|
|
20106
20119
|
]);
|
|
20107
|
-
var fullTranslations = exports_external.
|
|
20120
|
+
var fullTranslations = exports_external.record(languagesSchema, translationSchema);
|
|
20108
20121
|
var selectedTopicSchema = exports_external.object({
|
|
20109
20122
|
label: exports_external.string(),
|
|
20110
20123
|
placeholder: exports_external.string()
|
|
@@ -21054,6 +21067,7 @@ class LiipGPTClientPrimitive {
|
|
|
21054
21067
|
chatResultBuilder.pushError("unexpected-call");
|
|
21055
21068
|
});
|
|
21056
21069
|
break;
|
|
21070
|
+
case "jsonld-component":
|
|
21057
21071
|
case "mapped-reference":
|
|
21058
21072
|
typingQueue.runAfterTyping(() => chatResultBuilder.addMappedReference(data.reference));
|
|
21059
21073
|
break;
|