@liip/liipgpt 3.5.7 → 3.6.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/README.md +26 -3
- package/button/liipgpt-button.iife.js +28 -28
- package/chat/liipgpt-chat.iife.js +18 -18
- package/config/index.cjs +17 -6
- package/config/index.d.ts +20 -1
- package/config/index.js +17 -6
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/B2vNY6lx.js +143 -0
- package/configurator/_app/immutable/chunks/BGwzfQ_H.js +1 -0
- package/configurator/_app/immutable/chunks/BTwygYhA.js +1 -0
- package/configurator/_app/immutable/chunks/BmUm-Ak4.js +15 -0
- package/configurator/_app/immutable/chunks/{D6zVGLUW.js → BwV52vQs.js} +1 -1
- package/configurator/_app/immutable/chunks/C00ruT0L.js +3 -0
- package/configurator/_app/immutable/chunks/CFfgUb3G.js +16 -0
- package/configurator/_app/immutable/chunks/{B4H9KbzH.js → CKDKLu5Y.js} +1 -1
- package/configurator/_app/immutable/chunks/CX0dfddQ.js +1 -0
- package/configurator/_app/immutable/chunks/CibALFW0.js +1 -0
- package/configurator/_app/immutable/chunks/CnzkQxWo.js +1 -0
- package/configurator/_app/immutable/chunks/CqCdl07t.js +1 -0
- package/configurator/_app/immutable/chunks/CqPRQdP7.js +2 -0
- package/configurator/_app/immutable/chunks/Ct405RO9.js +1 -0
- package/configurator/_app/immutable/chunks/DFBUyDYh.js +29 -0
- package/configurator/_app/immutable/chunks/DUr69vGU.js +1 -0
- package/configurator/_app/immutable/chunks/DV91TmsB.js +293 -0
- package/configurator/_app/immutable/chunks/DVeOoWpz.js +1 -0
- package/configurator/_app/immutable/chunks/Db3xJ3R_.js +1 -0
- package/configurator/_app/immutable/chunks/EDJuo58-.js +61 -0
- package/configurator/_app/immutable/chunks/MRyhzcyW.js +39 -0
- package/configurator/_app/immutable/chunks/qE7I_Q4N.js +5 -0
- package/configurator/_app/immutable/chunks/tFLMI64R.js +1 -0
- package/configurator/_app/immutable/chunks/zUel1ZW0.js +70 -0
- package/configurator/_app/immutable/entry/app.BS_BNglT.js +2 -0
- package/configurator/_app/immutable/entry/start.B8ApCMix.js +1 -0
- package/configurator/_app/immutable/nodes/0.D_2XXaJQ.js +157 -0
- package/configurator/_app/immutable/nodes/1.BnWVDJCZ.js +1 -0
- package/configurator/_app/immutable/nodes/{2.C49eq5Js.js → 2.SUtdjb5A.js} +12 -11
- package/configurator/_app/immutable/nodes/3.Bo3t-YCM.js +952 -0
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +11 -10
- package/configurator/sidebar.html +11 -10
- package/index.cjs +17 -6
- package/index.d.ts +42 -3
- package/index.js +17 -6
- package/package.json +6 -1
- package/search-summary/liipgpt-search-summary.iife.js +421 -0
- package/configurator/_app/immutable/chunks/B7xCvPKw.js +0 -143
- package/configurator/_app/immutable/chunks/BdP-K7KO.js +0 -3
- package/configurator/_app/immutable/chunks/BsVnBobk.js +0 -1
- package/configurator/_app/immutable/chunks/CRn_Qu4-.js +0 -1
- package/configurator/_app/immutable/chunks/CZca1tVB.js +0 -89
- package/configurator/_app/immutable/chunks/CaZV0epm.js +0 -1
- package/configurator/_app/immutable/chunks/CabPM0Ap.js +0 -331
- package/configurator/_app/immutable/chunks/CgMo4dFz.js +0 -1
- package/configurator/_app/immutable/chunks/DUJlwB59.js +0 -15
- package/configurator/_app/immutable/chunks/di8DjX5b.js +0 -1
- package/configurator/_app/immutable/chunks/h2Kch-uX.js +0 -1
- package/configurator/_app/immutable/chunks/hTLSLo2s.js +0 -16
- package/configurator/_app/immutable/entry/app.Ce62vasD.js +0 -2
- package/configurator/_app/immutable/entry/start.CdYStGvR.js +0 -1
- package/configurator/_app/immutable/nodes/0.DJJ_NjgH.js +0 -156
- package/configurator/_app/immutable/nodes/1.BmbCK-Nv.js +0 -1
- package/configurator/_app/immutable/nodes/3.DQg0gEvm.js +0 -954
- /package/configurator/_app/immutable/chunks/{CNhGYG1q.js → Bo0U8J3e.js} +0 -0
- /package/configurator/_app/immutable/chunks/{D1hYfEew.js → CFKVnMbq.js} +0 -0
- /package/configurator/_app/immutable/chunks/{C8mohMXa.js → DjVmpym-.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1780407364891"}
|
package/configurator/index.html
CHANGED
|
@@ -4,20 +4,21 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<link href="./_app/immutable/entry/start.
|
|
8
|
-
<link href="./_app/immutable/chunks/
|
|
9
|
-
<link href="./_app/immutable/chunks/
|
|
10
|
-
<link href="./_app/immutable/chunks/
|
|
11
|
-
<link href="./_app/immutable/
|
|
12
|
-
<link href="./_app/immutable/
|
|
13
|
-
<link href="./_app/immutable/chunks/
|
|
7
|
+
<link href="./_app/immutable/entry/start.B8ApCMix.js" rel="modulepreload">
|
|
8
|
+
<link href="./_app/immutable/chunks/CKDKLu5Y.js" rel="modulepreload">
|
|
9
|
+
<link href="./_app/immutable/chunks/C00ruT0L.js" rel="modulepreload">
|
|
10
|
+
<link href="./_app/immutable/chunks/CibALFW0.js" rel="modulepreload">
|
|
11
|
+
<link href="./_app/immutable/chunks/Bo0U8J3e.js" rel="modulepreload">
|
|
12
|
+
<link href="./_app/immutable/entry/app.BS_BNglT.js" rel="modulepreload">
|
|
13
|
+
<link href="./_app/immutable/chunks/DjVmpym-.js" rel="modulepreload">
|
|
14
|
+
<link href="./_app/immutable/chunks/CFKVnMbq.js" rel="modulepreload">
|
|
14
15
|
|
|
15
16
|
</head>
|
|
16
17
|
<body data-sveltekit-preload-data="hover">
|
|
17
18
|
<div style="display: contents">
|
|
18
19
|
<script>
|
|
19
20
|
{
|
|
20
|
-
|
|
21
|
+
__sveltekit_1xhww1l = {
|
|
21
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
22
23
|
assets: "/configurator"
|
|
23
24
|
};
|
|
@@ -25,8 +26,8 @@
|
|
|
25
26
|
const element = document.currentScript.parentElement;
|
|
26
27
|
|
|
27
28
|
Promise.all([
|
|
28
|
-
import("./_app/immutable/entry/start.
|
|
29
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.B8ApCMix.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.BS_BNglT.js")
|
|
30
31
|
]).then(([kit, app]) => {
|
|
31
32
|
kit.start(app, element);
|
|
32
33
|
});
|
|
@@ -4,20 +4,21 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<link href="./_app/immutable/entry/start.
|
|
8
|
-
<link href="./_app/immutable/chunks/
|
|
9
|
-
<link href="./_app/immutable/chunks/
|
|
10
|
-
<link href="./_app/immutable/chunks/
|
|
11
|
-
<link href="./_app/immutable/
|
|
12
|
-
<link href="./_app/immutable/
|
|
13
|
-
<link href="./_app/immutable/chunks/
|
|
7
|
+
<link href="./_app/immutable/entry/start.B8ApCMix.js" rel="modulepreload">
|
|
8
|
+
<link href="./_app/immutable/chunks/CKDKLu5Y.js" rel="modulepreload">
|
|
9
|
+
<link href="./_app/immutable/chunks/C00ruT0L.js" rel="modulepreload">
|
|
10
|
+
<link href="./_app/immutable/chunks/CibALFW0.js" rel="modulepreload">
|
|
11
|
+
<link href="./_app/immutable/chunks/Bo0U8J3e.js" rel="modulepreload">
|
|
12
|
+
<link href="./_app/immutable/entry/app.BS_BNglT.js" rel="modulepreload">
|
|
13
|
+
<link href="./_app/immutable/chunks/DjVmpym-.js" rel="modulepreload">
|
|
14
|
+
<link href="./_app/immutable/chunks/CFKVnMbq.js" rel="modulepreload">
|
|
14
15
|
|
|
15
16
|
</head>
|
|
16
17
|
<body data-sveltekit-preload-data="hover">
|
|
17
18
|
<div style="display: contents">
|
|
18
19
|
<script>
|
|
19
20
|
{
|
|
20
|
-
|
|
21
|
+
__sveltekit_1xhww1l = {
|
|
21
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
22
23
|
assets: "/configurator"
|
|
23
24
|
};
|
|
@@ -25,8 +26,8 @@
|
|
|
25
26
|
const element = document.currentScript.parentElement;
|
|
26
27
|
|
|
27
28
|
Promise.all([
|
|
28
|
-
import("./_app/immutable/entry/start.
|
|
29
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.B8ApCMix.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.BS_BNglT.js")
|
|
30
31
|
]).then(([kit, app]) => {
|
|
31
32
|
kit.start(app, element);
|
|
32
33
|
});
|
package/index.cjs
CHANGED
|
@@ -19740,13 +19740,23 @@ var translationSchema = exports_external.object({
|
|
|
19740
19740
|
selectNone: exports_external.string(),
|
|
19741
19741
|
resetToDefaults: exports_external.string(),
|
|
19742
19742
|
messageTooLong: exports_external.string(),
|
|
19743
|
-
changeTopic: exports_external.string()
|
|
19743
|
+
changeTopic: exports_external.string(),
|
|
19744
|
+
searchSummaryExpand: exports_external.string(),
|
|
19745
|
+
searchSummaryCollapse: exports_external.string(),
|
|
19746
|
+
searchSummaryOptInDefault: exports_external.string(),
|
|
19747
|
+
searchSummaryOptOut: exports_external.string(),
|
|
19748
|
+
searchSummaryError: exports_external.string(),
|
|
19749
|
+
searchSummaryDisclaimer: exports_external.string().optional(),
|
|
19750
|
+
ariaSearchSummaryExpand: exports_external.string(),
|
|
19751
|
+
ariaSearchSummaryCollapse: exports_external.string(),
|
|
19752
|
+
ariaSearchSummaryOptOut: exports_external.string()
|
|
19744
19753
|
});
|
|
19745
19754
|
var allLanguages = ["en", "de", "fr", "it"];
|
|
19746
19755
|
var languagesSchema = exports_external.enum(allLanguages);
|
|
19747
|
-
var
|
|
19756
|
+
var translationOverrideSchema = translationSchema.partial().extend({
|
|
19748
19757
|
selectors: exports_external.record(exports_external.string(), chatSelectorTranslationSchema).optional()
|
|
19749
|
-
})
|
|
19758
|
+
});
|
|
19759
|
+
var translationsPartialSchema = exports_external.partialRecord(languagesSchema, translationOverrideSchema);
|
|
19750
19760
|
var errorTranslationsSchema = exports_external.record(languagesSchema, errorTranslationSchema);
|
|
19751
19761
|
var piiTranslationsSchema = exports_external.record(languagesSchema, piiTranslationSchema);
|
|
19752
19762
|
|
|
@@ -19815,7 +19825,7 @@ var routeSchema = exports_external.discriminatedUnion("name", [
|
|
|
19815
19825
|
}),
|
|
19816
19826
|
exports_external.object({
|
|
19817
19827
|
name: exports_external.literal("chat-page"),
|
|
19818
|
-
query: exports_external.string(),
|
|
19828
|
+
query: exports_external.string().optional(),
|
|
19819
19829
|
predefinedQuestionId: exports_external.string().optional(),
|
|
19820
19830
|
switchQuestionId: exports_external.string().optional()
|
|
19821
19831
|
})
|
|
@@ -20135,7 +20145,7 @@ var menuItemSchema = exports_external.object({
|
|
|
20135
20145
|
target: exports_external.enum(["_blank", "_self"]).optional()
|
|
20136
20146
|
});
|
|
20137
20147
|
var predefinedQuestionSchema = exports_external.object({
|
|
20138
|
-
id: exports_external.string(),
|
|
20148
|
+
id: exports_external.string().optional(),
|
|
20139
20149
|
label: exports_external.string().nullable(),
|
|
20140
20150
|
question: exports_external.string(),
|
|
20141
20151
|
switchQuestionId: exports_external.string().optional()
|
|
@@ -20184,6 +20194,7 @@ var messageAdditionsSchema = exports_external.object({
|
|
|
20184
20194
|
});
|
|
20185
20195
|
var completeChatConfigSchema = exports_external.object({
|
|
20186
20196
|
forcePredefinedQuestions: exports_external.boolean().optional(),
|
|
20197
|
+
forceChatPage: exports_external.boolean().optional(),
|
|
20187
20198
|
showOverallFeedbackButton: exports_external.boolean(),
|
|
20188
20199
|
showOverallFeedbackEmail: exports_external.boolean(),
|
|
20189
20200
|
showCloseChatButton: exports_external.boolean(),
|
|
@@ -20200,7 +20211,7 @@ var completeChatConfigSchema = exports_external.object({
|
|
|
20200
20211
|
supportedLanguages: exports_external.array(languagesSchema),
|
|
20201
20212
|
classification: classificationConfigSchema.optional(),
|
|
20202
20213
|
theme: themeSchema2,
|
|
20203
|
-
translations:
|
|
20214
|
+
translations: translationsPartialSchema,
|
|
20204
20215
|
buttonHref: exports_external.string().optional(),
|
|
20205
20216
|
addQueryToUrlParams: exports_external.boolean().optional(),
|
|
20206
20217
|
addRetrievalQuestionToUrlParams: exports_external.boolean().optional(),
|
package/index.d.ts
CHANGED
|
@@ -3801,7 +3801,7 @@ export declare const routeSchema: z.ZodDiscriminatedUnion<[
|
|
|
3801
3801
|
}, z.core.$strip>,
|
|
3802
3802
|
z.ZodObject<{
|
|
3803
3803
|
name: z.ZodLiteral<"chat-page">;
|
|
3804
|
-
query: z.ZodString
|
|
3804
|
+
query: z.ZodOptional<z.ZodString>;
|
|
3805
3805
|
predefinedQuestionId: z.ZodOptional<z.ZodString>;
|
|
3806
3806
|
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
3807
3807
|
}, z.core.$strip>
|
|
@@ -5055,7 +5055,7 @@ export declare const menuItemSchema: z.ZodObject<{
|
|
|
5055
5055
|
}>>;
|
|
5056
5056
|
}, z.core.$strip>;
|
|
5057
5057
|
export declare const predefinedQuestionSchema: z.ZodObject<{
|
|
5058
|
-
id: z.ZodString
|
|
5058
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5059
5059
|
label: z.ZodNullable<z.ZodString>;
|
|
5060
5060
|
question: z.ZodString;
|
|
5061
5061
|
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
@@ -5096,7 +5096,7 @@ export declare const classificationResponseSchema: z.ZodObject<{
|
|
|
5096
5096
|
}, z.core.$strip>;
|
|
5097
5097
|
export declare const predefinedQuestionsResponseSchema: z.ZodObject<{
|
|
5098
5098
|
predefinedQuestions: z.ZodArray<z.ZodObject<{
|
|
5099
|
-
id: z.ZodString
|
|
5099
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5100
5100
|
label: z.ZodNullable<z.ZodString>;
|
|
5101
5101
|
question: z.ZodString;
|
|
5102
5102
|
switchQuestionId: z.ZodOptional<z.ZodString>;
|
|
@@ -5234,6 +5234,15 @@ export declare const fullTranslations: z.ZodRecord<z.ZodEnum<{
|
|
|
5234
5234
|
resetToDefaults: z.ZodString;
|
|
5235
5235
|
messageTooLong: z.ZodString;
|
|
5236
5236
|
changeTopic: z.ZodString;
|
|
5237
|
+
searchSummaryExpand: z.ZodString;
|
|
5238
|
+
searchSummaryCollapse: z.ZodString;
|
|
5239
|
+
searchSummaryOptInDefault: z.ZodString;
|
|
5240
|
+
searchSummaryOptOut: z.ZodString;
|
|
5241
|
+
searchSummaryError: z.ZodString;
|
|
5242
|
+
searchSummaryDisclaimer: z.ZodOptional<z.ZodString>;
|
|
5243
|
+
ariaSearchSummaryExpand: z.ZodString;
|
|
5244
|
+
ariaSearchSummaryCollapse: z.ZodString;
|
|
5245
|
+
ariaSearchSummaryOptOut: z.ZodString;
|
|
5237
5246
|
}, z.core.$strip>>;
|
|
5238
5247
|
export declare const selectedTopicSchema: z.ZodObject<{
|
|
5239
5248
|
label: z.ZodString;
|
|
@@ -5253,6 +5262,7 @@ declare const chatSelectorConfigSchema: z.ZodObject<{
|
|
|
5253
5262
|
}, z.core.$strip>;
|
|
5254
5263
|
export declare const completeChatConfigSchema: z.ZodObject<{
|
|
5255
5264
|
forcePredefinedQuestions: z.ZodOptional<z.ZodBoolean>;
|
|
5265
|
+
forceChatPage: z.ZodOptional<z.ZodBoolean>;
|
|
5256
5266
|
showOverallFeedbackButton: z.ZodBoolean;
|
|
5257
5267
|
showOverallFeedbackEmail: z.ZodBoolean;
|
|
5258
5268
|
showCloseChatButton: z.ZodBoolean;
|
|
@@ -6030,6 +6040,15 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
6030
6040
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
6031
6041
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
6032
6042
|
changeTopic: z.ZodOptional<z.ZodString>;
|
|
6043
|
+
searchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
6044
|
+
searchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
6045
|
+
searchSummaryOptInDefault: z.ZodOptional<z.ZodString>;
|
|
6046
|
+
searchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
6047
|
+
searchSummaryError: z.ZodOptional<z.ZodString>;
|
|
6048
|
+
searchSummaryDisclaimer: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6049
|
+
ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
6050
|
+
ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
6051
|
+
ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
6033
6052
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6034
6053
|
name: z.ZodString;
|
|
6035
6054
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -7824,6 +7843,7 @@ export declare const completeChatConfigSchema: z.ZodObject<{
|
|
|
7824
7843
|
}, z.core.$strip>;
|
|
7825
7844
|
export declare const chatConfigSchema: z.ZodObject<{
|
|
7826
7845
|
forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7846
|
+
forceChatPage: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7827
7847
|
showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
|
|
7828
7848
|
showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
|
|
7829
7849
|
showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8601,6 +8621,15 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
8601
8621
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
8602
8622
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
8603
8623
|
changeTopic: z.ZodOptional<z.ZodString>;
|
|
8624
|
+
searchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
8625
|
+
searchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
8626
|
+
searchSummaryOptInDefault: z.ZodOptional<z.ZodString>;
|
|
8627
|
+
searchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
8628
|
+
searchSummaryError: z.ZodOptional<z.ZodString>;
|
|
8629
|
+
searchSummaryDisclaimer: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8630
|
+
ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
8631
|
+
ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
8632
|
+
ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
8604
8633
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8605
8634
|
name: z.ZodString;
|
|
8606
8635
|
namePlural: z.ZodOptional<z.ZodString>;
|
|
@@ -10395,6 +10424,7 @@ export declare const chatConfigSchema: z.ZodObject<{
|
|
|
10395
10424
|
}, z.core.$strip>;
|
|
10396
10425
|
export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.ZodObject<{
|
|
10397
10426
|
forcePredefinedQuestions: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
10427
|
+
forceChatPage: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
10398
10428
|
showOverallFeedbackButton: z.ZodOptional<z.ZodBoolean>;
|
|
10399
10429
|
showOverallFeedbackEmail: z.ZodOptional<z.ZodBoolean>;
|
|
10400
10430
|
showCloseChatButton: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11172,6 +11202,15 @@ export declare const chatConfigSchemaWithLegacyThemeName: z.ZodIntersection<z.Zo
|
|
|
11172
11202
|
resetToDefaults: z.ZodOptional<z.ZodString>;
|
|
11173
11203
|
messageTooLong: z.ZodOptional<z.ZodString>;
|
|
11174
11204
|
changeTopic: z.ZodOptional<z.ZodString>;
|
|
11205
|
+
searchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
11206
|
+
searchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
11207
|
+
searchSummaryOptInDefault: z.ZodOptional<z.ZodString>;
|
|
11208
|
+
searchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
11209
|
+
searchSummaryError: z.ZodOptional<z.ZodString>;
|
|
11210
|
+
searchSummaryDisclaimer: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11211
|
+
ariaSearchSummaryExpand: z.ZodOptional<z.ZodString>;
|
|
11212
|
+
ariaSearchSummaryCollapse: z.ZodOptional<z.ZodString>;
|
|
11213
|
+
ariaSearchSummaryOptOut: z.ZodOptional<z.ZodString>;
|
|
11175
11214
|
selectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11176
11215
|
name: z.ZodString;
|
|
11177
11216
|
namePlural: z.ZodOptional<z.ZodString>;
|
package/index.js
CHANGED
|
@@ -19665,13 +19665,23 @@ var translationSchema = exports_external.object({
|
|
|
19665
19665
|
selectNone: exports_external.string(),
|
|
19666
19666
|
resetToDefaults: exports_external.string(),
|
|
19667
19667
|
messageTooLong: exports_external.string(),
|
|
19668
|
-
changeTopic: exports_external.string()
|
|
19668
|
+
changeTopic: exports_external.string(),
|
|
19669
|
+
searchSummaryExpand: exports_external.string(),
|
|
19670
|
+
searchSummaryCollapse: exports_external.string(),
|
|
19671
|
+
searchSummaryOptInDefault: exports_external.string(),
|
|
19672
|
+
searchSummaryOptOut: exports_external.string(),
|
|
19673
|
+
searchSummaryError: exports_external.string(),
|
|
19674
|
+
searchSummaryDisclaimer: exports_external.string().optional(),
|
|
19675
|
+
ariaSearchSummaryExpand: exports_external.string(),
|
|
19676
|
+
ariaSearchSummaryCollapse: exports_external.string(),
|
|
19677
|
+
ariaSearchSummaryOptOut: exports_external.string()
|
|
19669
19678
|
});
|
|
19670
19679
|
var allLanguages = ["en", "de", "fr", "it"];
|
|
19671
19680
|
var languagesSchema = exports_external.enum(allLanguages);
|
|
19672
|
-
var
|
|
19681
|
+
var translationOverrideSchema = translationSchema.partial().extend({
|
|
19673
19682
|
selectors: exports_external.record(exports_external.string(), chatSelectorTranslationSchema).optional()
|
|
19674
|
-
})
|
|
19683
|
+
});
|
|
19684
|
+
var translationsPartialSchema = exports_external.partialRecord(languagesSchema, translationOverrideSchema);
|
|
19675
19685
|
var errorTranslationsSchema = exports_external.record(languagesSchema, errorTranslationSchema);
|
|
19676
19686
|
var piiTranslationsSchema = exports_external.record(languagesSchema, piiTranslationSchema);
|
|
19677
19687
|
|
|
@@ -19740,7 +19750,7 @@ var routeSchema = exports_external.discriminatedUnion("name", [
|
|
|
19740
19750
|
}),
|
|
19741
19751
|
exports_external.object({
|
|
19742
19752
|
name: exports_external.literal("chat-page"),
|
|
19743
|
-
query: exports_external.string(),
|
|
19753
|
+
query: exports_external.string().optional(),
|
|
19744
19754
|
predefinedQuestionId: exports_external.string().optional(),
|
|
19745
19755
|
switchQuestionId: exports_external.string().optional()
|
|
19746
19756
|
})
|
|
@@ -20060,7 +20070,7 @@ var menuItemSchema = exports_external.object({
|
|
|
20060
20070
|
target: exports_external.enum(["_blank", "_self"]).optional()
|
|
20061
20071
|
});
|
|
20062
20072
|
var predefinedQuestionSchema = exports_external.object({
|
|
20063
|
-
id: exports_external.string(),
|
|
20073
|
+
id: exports_external.string().optional(),
|
|
20064
20074
|
label: exports_external.string().nullable(),
|
|
20065
20075
|
question: exports_external.string(),
|
|
20066
20076
|
switchQuestionId: exports_external.string().optional()
|
|
@@ -20109,6 +20119,7 @@ var messageAdditionsSchema = exports_external.object({
|
|
|
20109
20119
|
});
|
|
20110
20120
|
var completeChatConfigSchema = exports_external.object({
|
|
20111
20121
|
forcePredefinedQuestions: exports_external.boolean().optional(),
|
|
20122
|
+
forceChatPage: exports_external.boolean().optional(),
|
|
20112
20123
|
showOverallFeedbackButton: exports_external.boolean(),
|
|
20113
20124
|
showOverallFeedbackEmail: exports_external.boolean(),
|
|
20114
20125
|
showCloseChatButton: exports_external.boolean(),
|
|
@@ -20125,7 +20136,7 @@ var completeChatConfigSchema = exports_external.object({
|
|
|
20125
20136
|
supportedLanguages: exports_external.array(languagesSchema),
|
|
20126
20137
|
classification: classificationConfigSchema.optional(),
|
|
20127
20138
|
theme: themeSchema2,
|
|
20128
|
-
translations:
|
|
20139
|
+
translations: translationsPartialSchema,
|
|
20129
20140
|
buttonHref: exports_external.string().optional(),
|
|
20130
20141
|
addQueryToUrlParams: exports_external.boolean().optional(),
|
|
20131
20142
|
addRetrievalQuestionToUrlParams: exports_external.boolean().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liip/liipgpt",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "LiipGPT Chat and Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"./button": {
|
|
22
22
|
"import": "./button/liipgpt-button.iife.js",
|
|
23
23
|
"require": "./button/liipgpt-button.iife.js"
|
|
24
|
+
},
|
|
25
|
+
"./search-summary": {
|
|
26
|
+
"import": "./search-summary/liipgpt-search-summary.iife.js",
|
|
27
|
+
"require": "./search-summary/liipgpt-search-summary.iife.js"
|
|
24
28
|
}
|
|
25
29
|
},
|
|
26
30
|
"files": [
|
|
@@ -30,6 +34,7 @@
|
|
|
30
34
|
"config/**/*.{js,cjs,d.ts}",
|
|
31
35
|
"button/**/*.{js,cjs,d.ts}",
|
|
32
36
|
"chat/**/*.{js,cjs,d.ts}",
|
|
37
|
+
"search-summary/**/*.{js,cjs,d.ts}",
|
|
33
38
|
"configurator"
|
|
34
39
|
],
|
|
35
40
|
"keywords": [],
|