@searchstax-inc/searchstudio-ux-vue 4.2.37 → 4.2.50
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/CHANGELOG.md +8 -0
- package/README.md +45 -0
- package/dist/@searchstax-inc/components/SearchstaxAnswerWidget.vue.d.ts +6 -0
- package/dist/@searchstax-inc/components/SearchstaxResultWidget.vue.d.ts +80 -18
- package/dist/@searchstax-inc/components/templates/SearchstaxAnswerWidgetTemplate.vue.d.ts +24 -0
- package/dist/@searchstax-inc/searchstudio-ux-vue.cjs +4 -4
- package/dist/@searchstax-inc/searchstudio-ux-vue.iife.js +7 -7
- package/dist/@searchstax-inc/searchstudio-ux-vue.mjs +1053 -896
- package/dist/@searchstax-inc/stores/searchstaxStore.d.ts +77 -18
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
3
|
All notable changes to the "searchstudio-ux-vue" project will be documented in this file.
|
|
4
|
+
## [4.2.50]
|
|
5
|
+
### Features
|
|
6
|
+
- Added conversation functionality for Vue and React
|
|
7
|
+
- Added support for grouped results
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- Security fixes
|
|
11
|
+
|
|
4
12
|
## [4.2.36]
|
|
5
13
|
### Bug Fixes
|
|
6
14
|
- Facets template now supports custom variables
|
package/README.md
CHANGED
|
@@ -222,6 +222,51 @@ It receives the following props:
|
|
|
222
222
|
<button class="searchstax-answer-load-more-button" @click="showMore">Show More</button>
|
|
223
223
|
</div>
|
|
224
224
|
</div>
|
|
225
|
+
<div
|
|
226
|
+
v-if="!answerData.answerLoading && !answerData.showMoreButtonVisible && answerData.isConversation"
|
|
227
|
+
:class="{
|
|
228
|
+
'searchstax-conversation-container': true,
|
|
229
|
+
'searchstax-conversation-container-full-screen': answerData.isFullScreenConversation
|
|
230
|
+
}"
|
|
231
|
+
>
|
|
232
|
+
<div v-if="answerData.showConversationHeader" class="searchstax-conversation-full-screen-header">
|
|
233
|
+
<button
|
|
234
|
+
type="button"
|
|
235
|
+
class="searchstax-conversation-back-to-results"
|
|
236
|
+
@click="() => exitConversation?.()"
|
|
237
|
+
>
|
|
238
|
+
Back to results
|
|
239
|
+
</button>
|
|
240
|
+
<div class="searchstax-conversation-full-screen-title">Ask SearchStax</div>
|
|
241
|
+
</div>
|
|
242
|
+
<div
|
|
243
|
+
v-if="answerData.showConversationMessages && answerData.conversationMessages?.length"
|
|
244
|
+
class="searchstax-conversation-messages-container"
|
|
245
|
+
>
|
|
246
|
+
<div
|
|
247
|
+
v-for="(message, index) in answerData.conversationMessages"
|
|
248
|
+
:key="message.conversationMessageId ?? index"
|
|
249
|
+
:class="['searchstax-conversation-messages-container-message', message.messageClass]"
|
|
250
|
+
v-html="message.formattedMessage"
|
|
251
|
+
></div>
|
|
252
|
+
</div>
|
|
253
|
+
<div v-if="answerData.showConversationInput" class="searchstax-conversation-input-container">
|
|
254
|
+
<input
|
|
255
|
+
type="text"
|
|
256
|
+
id="searchstax-conversation-input"
|
|
257
|
+
class="searchstax-conversation-input"
|
|
258
|
+
placeholder="Ask a follow-up question"
|
|
259
|
+
:ref="(el) => setConversationInputRef?.(el as Element | null)"
|
|
260
|
+
@keydown="handleConversationInputKeydown"
|
|
261
|
+
/>
|
|
262
|
+
<button
|
|
263
|
+
type="button"
|
|
264
|
+
class="searchstax-conversation-search-icon searchstax-search-icon"
|
|
265
|
+
aria-label="Submit follow-up question"
|
|
266
|
+
@click="handleConversationSubmitClick"
|
|
267
|
+
></button>
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
225
270
|
<div class="searchstax-answer-footer">
|
|
226
271
|
<div id="feedbackWidgetContainer"></div>
|
|
227
272
|
<div class="searchstax-lightweight-widget-separator-inline"></div>
|
|
@@ -2,6 +2,8 @@ import { IFeedbackWidgetProperties } from '@searchstax-inc/searchstudio-ux-js';
|
|
|
2
2
|
interface Props {
|
|
3
3
|
showMoreAfterWordCount?: number;
|
|
4
4
|
feedbackwidget?: IFeedbackWidgetProperties;
|
|
5
|
+
isFullScreenConversation?: boolean;
|
|
6
|
+
emptyConversationMessageOverride?: string;
|
|
5
7
|
testString?: string;
|
|
6
8
|
}
|
|
7
9
|
declare var __VLS_4: {
|
|
@@ -11,6 +13,7 @@ declare var __VLS_4: {
|
|
|
11
13
|
isFullScreenConversation?: boolean;
|
|
12
14
|
showConversationHeader?: boolean;
|
|
13
15
|
showConversationMessages?: boolean;
|
|
16
|
+
showConversationInput?: boolean;
|
|
14
17
|
conversationMessages?: {
|
|
15
18
|
formattedMessage: string;
|
|
16
19
|
messageClass?: string;
|
|
@@ -101,6 +104,9 @@ declare var __VLS_4: {
|
|
|
101
104
|
locationError: boolean;
|
|
102
105
|
};
|
|
103
106
|
showMore: (event: Event) => void;
|
|
107
|
+
submitConversationQuestion: (question: string) => void;
|
|
108
|
+
exitConversation: () => void;
|
|
109
|
+
setConversationInputRef: (el: Element | null) => void;
|
|
104
110
|
};
|
|
105
111
|
type __VLS_Slots = {} & {
|
|
106
112
|
answer?: (props: typeof __VLS_4) => any;
|
|
@@ -2,7 +2,10 @@ import { ISearchstaxParsedResult, ISearchstaxSearchMetadata } from '@searchstax-
|
|
|
2
2
|
interface Props {
|
|
3
3
|
afterLinkClick?: (results: ISearchstaxParsedResult) => ISearchstaxParsedResult;
|
|
4
4
|
renderMethod?: 'infiniteScroll' | 'pagination';
|
|
5
|
+
linkTarget?: '_self' | '_blank';
|
|
5
6
|
resultsPerPage?: number;
|
|
7
|
+
groupedBy?: string;
|
|
8
|
+
itemsPerGroup?: number;
|
|
6
9
|
}
|
|
7
10
|
declare var __VLS_4: {
|
|
8
11
|
searchTerm: string;
|
|
@@ -933,6 +936,8 @@ declare var __VLS_4: {
|
|
|
933
936
|
turnAIAnswerGenerationOn: boolean;
|
|
934
937
|
questionURL: string;
|
|
935
938
|
isInfiniteScroll: boolean;
|
|
939
|
+
groupedBy?: string;
|
|
940
|
+
itemsPerGroup: number;
|
|
936
941
|
firstSearchHappened: boolean;
|
|
937
942
|
answerWidgetShowMoreLimit: number;
|
|
938
943
|
searchHelper?: {
|
|
@@ -1098,7 +1103,7 @@ declare var __VLS_4: {
|
|
|
1098
1103
|
autoCorrectedQ?: string;
|
|
1099
1104
|
};
|
|
1100
1105
|
};
|
|
1101
|
-
response
|
|
1106
|
+
response?: {
|
|
1102
1107
|
numFound: number;
|
|
1103
1108
|
start: number;
|
|
1104
1109
|
numFoundExact: boolean;
|
|
@@ -1107,6 +1112,7 @@ declare var __VLS_4: {
|
|
|
1107
1112
|
"[elevated]": boolean;
|
|
1108
1113
|
}[];
|
|
1109
1114
|
};
|
|
1115
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
1110
1116
|
facet_counts: {
|
|
1111
1117
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
1112
1118
|
facet_fields: {
|
|
@@ -1163,6 +1169,7 @@ declare var __VLS_4: {
|
|
|
1163
1169
|
conversationId?: string;
|
|
1164
1170
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
1165
1171
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
1172
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
1166
1173
|
setSearchTerm: (value: string) => void;
|
|
1167
1174
|
setSearchLocation: (value?: string) => void;
|
|
1168
1175
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -2020,6 +2027,7 @@ declare var __VLS_4: {
|
|
|
2020
2027
|
isFullScreenConversation?: boolean;
|
|
2021
2028
|
showConversationHeader?: boolean;
|
|
2022
2029
|
showConversationMessages?: boolean;
|
|
2030
|
+
showConversationInput?: boolean;
|
|
2023
2031
|
conversationMessages?: {
|
|
2024
2032
|
formattedMessage: string;
|
|
2025
2033
|
messageClass?: string;
|
|
@@ -2331,7 +2339,7 @@ declare var __VLS_4: {
|
|
|
2331
2339
|
autoCorrectedQ?: string;
|
|
2332
2340
|
};
|
|
2333
2341
|
};
|
|
2334
|
-
response
|
|
2342
|
+
response?: {
|
|
2335
2343
|
numFound: number;
|
|
2336
2344
|
start: number;
|
|
2337
2345
|
numFoundExact: boolean;
|
|
@@ -2340,6 +2348,7 @@ declare var __VLS_4: {
|
|
|
2340
2348
|
"[elevated]": boolean;
|
|
2341
2349
|
}[];
|
|
2342
2350
|
};
|
|
2351
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
2343
2352
|
facet_counts: {
|
|
2344
2353
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
2345
2354
|
facet_fields: {
|
|
@@ -2397,6 +2406,9 @@ declare var __VLS_4: {
|
|
|
2397
2406
|
config: {
|
|
2398
2407
|
renderMethod?: "pagination" | "infiniteScroll";
|
|
2399
2408
|
resultsPerPage?: number;
|
|
2409
|
+
linkTarget?: "_self" | "_blank";
|
|
2410
|
+
groupedBy?: string;
|
|
2411
|
+
itemsPerGroup?: number;
|
|
2400
2412
|
templates?: {
|
|
2401
2413
|
mainTemplate?: {
|
|
2402
2414
|
template: string;
|
|
@@ -3267,6 +3279,8 @@ declare var __VLS_4: {
|
|
|
3267
3279
|
turnAIAnswerGenerationOn: boolean;
|
|
3268
3280
|
questionURL: string;
|
|
3269
3281
|
isInfiniteScroll: boolean;
|
|
3282
|
+
groupedBy?: string;
|
|
3283
|
+
itemsPerGroup: number;
|
|
3270
3284
|
firstSearchHappened: boolean;
|
|
3271
3285
|
answerWidgetShowMoreLimit: number;
|
|
3272
3286
|
searchHelper?: {
|
|
@@ -3432,7 +3446,7 @@ declare var __VLS_4: {
|
|
|
3432
3446
|
autoCorrectedQ?: string;
|
|
3433
3447
|
};
|
|
3434
3448
|
};
|
|
3435
|
-
response
|
|
3449
|
+
response?: {
|
|
3436
3450
|
numFound: number;
|
|
3437
3451
|
start: number;
|
|
3438
3452
|
numFoundExact: boolean;
|
|
@@ -3441,6 +3455,7 @@ declare var __VLS_4: {
|
|
|
3441
3455
|
"[elevated]": boolean;
|
|
3442
3456
|
}[];
|
|
3443
3457
|
};
|
|
3458
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
3444
3459
|
facet_counts: {
|
|
3445
3460
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
3446
3461
|
facet_fields: {
|
|
@@ -3497,6 +3512,7 @@ declare var __VLS_4: {
|
|
|
3497
3512
|
conversationId?: string;
|
|
3498
3513
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
3499
3514
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
3515
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
3500
3516
|
setSearchTerm: (value: string) => void;
|
|
3501
3517
|
setSearchLocation: (value?: string) => void;
|
|
3502
3518
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -4354,6 +4370,7 @@ declare var __VLS_4: {
|
|
|
4354
4370
|
isFullScreenConversation?: boolean;
|
|
4355
4371
|
showConversationHeader?: boolean;
|
|
4356
4372
|
showConversationMessages?: boolean;
|
|
4373
|
+
showConversationInput?: boolean;
|
|
4357
4374
|
conversationMessages?: {
|
|
4358
4375
|
formattedMessage: string;
|
|
4359
4376
|
messageClass?: string;
|
|
@@ -4665,7 +4682,7 @@ declare var __VLS_4: {
|
|
|
4665
4682
|
autoCorrectedQ?: string;
|
|
4666
4683
|
};
|
|
4667
4684
|
};
|
|
4668
|
-
response
|
|
4685
|
+
response?: {
|
|
4669
4686
|
numFound: number;
|
|
4670
4687
|
start: number;
|
|
4671
4688
|
numFoundExact: boolean;
|
|
@@ -4674,6 +4691,7 @@ declare var __VLS_4: {
|
|
|
4674
4691
|
"[elevated]": boolean;
|
|
4675
4692
|
}[];
|
|
4676
4693
|
};
|
|
4694
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
4677
4695
|
facet_counts: {
|
|
4678
4696
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
4679
4697
|
facet_fields: {
|
|
@@ -5790,6 +5808,8 @@ declare var __VLS_4: {
|
|
|
5790
5808
|
turnAIAnswerGenerationOn: boolean;
|
|
5791
5809
|
questionURL: string;
|
|
5792
5810
|
isInfiniteScroll: boolean;
|
|
5811
|
+
groupedBy?: string;
|
|
5812
|
+
itemsPerGroup: number;
|
|
5793
5813
|
firstSearchHappened: boolean;
|
|
5794
5814
|
answerWidgetShowMoreLimit: number;
|
|
5795
5815
|
searchHelper?: {
|
|
@@ -5955,7 +5975,7 @@ declare var __VLS_4: {
|
|
|
5955
5975
|
autoCorrectedQ?: string;
|
|
5956
5976
|
};
|
|
5957
5977
|
};
|
|
5958
|
-
response
|
|
5978
|
+
response?: {
|
|
5959
5979
|
numFound: number;
|
|
5960
5980
|
start: number;
|
|
5961
5981
|
numFoundExact: boolean;
|
|
@@ -5964,6 +5984,7 @@ declare var __VLS_4: {
|
|
|
5964
5984
|
"[elevated]": boolean;
|
|
5965
5985
|
}[];
|
|
5966
5986
|
};
|
|
5987
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
5967
5988
|
facet_counts: {
|
|
5968
5989
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
5969
5990
|
facet_fields: {
|
|
@@ -6020,6 +6041,7 @@ declare var __VLS_4: {
|
|
|
6020
6041
|
conversationId?: string;
|
|
6021
6042
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
6022
6043
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
6044
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
6023
6045
|
setSearchTerm: (value: string) => void;
|
|
6024
6046
|
setSearchLocation: (value?: string) => void;
|
|
6025
6047
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -6877,6 +6899,7 @@ declare var __VLS_4: {
|
|
|
6877
6899
|
isFullScreenConversation?: boolean;
|
|
6878
6900
|
showConversationHeader?: boolean;
|
|
6879
6901
|
showConversationMessages?: boolean;
|
|
6902
|
+
showConversationInput?: boolean;
|
|
6880
6903
|
conversationMessages?: {
|
|
6881
6904
|
formattedMessage: string;
|
|
6882
6905
|
messageClass?: string;
|
|
@@ -7188,7 +7211,7 @@ declare var __VLS_4: {
|
|
|
7188
7211
|
autoCorrectedQ?: string;
|
|
7189
7212
|
};
|
|
7190
7213
|
};
|
|
7191
|
-
response
|
|
7214
|
+
response?: {
|
|
7192
7215
|
numFound: number;
|
|
7193
7216
|
start: number;
|
|
7194
7217
|
numFoundExact: boolean;
|
|
@@ -7197,6 +7220,7 @@ declare var __VLS_4: {
|
|
|
7197
7220
|
"[elevated]": boolean;
|
|
7198
7221
|
}[];
|
|
7199
7222
|
};
|
|
7223
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
7200
7224
|
facet_counts: {
|
|
7201
7225
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
7202
7226
|
facet_fields: {
|
|
@@ -8141,6 +8165,8 @@ declare var __VLS_4: {
|
|
|
8141
8165
|
turnAIAnswerGenerationOn: boolean;
|
|
8142
8166
|
questionURL: string;
|
|
8143
8167
|
isInfiniteScroll: boolean;
|
|
8168
|
+
groupedBy?: string;
|
|
8169
|
+
itemsPerGroup: number;
|
|
8144
8170
|
firstSearchHappened: boolean;
|
|
8145
8171
|
answerWidgetShowMoreLimit: number;
|
|
8146
8172
|
searchHelper?: {
|
|
@@ -8306,7 +8332,7 @@ declare var __VLS_4: {
|
|
|
8306
8332
|
autoCorrectedQ?: string;
|
|
8307
8333
|
};
|
|
8308
8334
|
};
|
|
8309
|
-
response
|
|
8335
|
+
response?: {
|
|
8310
8336
|
numFound: number;
|
|
8311
8337
|
start: number;
|
|
8312
8338
|
numFoundExact: boolean;
|
|
@@ -8315,6 +8341,7 @@ declare var __VLS_4: {
|
|
|
8315
8341
|
"[elevated]": boolean;
|
|
8316
8342
|
}[];
|
|
8317
8343
|
};
|
|
8344
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
8318
8345
|
facet_counts: {
|
|
8319
8346
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
8320
8347
|
facet_fields: {
|
|
@@ -8371,6 +8398,7 @@ declare var __VLS_4: {
|
|
|
8371
8398
|
conversationId?: string;
|
|
8372
8399
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
8373
8400
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
8401
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
8374
8402
|
setSearchTerm: (value: string) => void;
|
|
8375
8403
|
setSearchLocation: (value?: string) => void;
|
|
8376
8404
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -9228,6 +9256,7 @@ declare var __VLS_4: {
|
|
|
9228
9256
|
isFullScreenConversation?: boolean;
|
|
9229
9257
|
showConversationHeader?: boolean;
|
|
9230
9258
|
showConversationMessages?: boolean;
|
|
9259
|
+
showConversationInput?: boolean;
|
|
9231
9260
|
conversationMessages?: {
|
|
9232
9261
|
formattedMessage: string;
|
|
9233
9262
|
messageClass?: string;
|
|
@@ -9539,7 +9568,7 @@ declare var __VLS_4: {
|
|
|
9539
9568
|
autoCorrectedQ?: string;
|
|
9540
9569
|
};
|
|
9541
9570
|
};
|
|
9542
|
-
response
|
|
9571
|
+
response?: {
|
|
9543
9572
|
numFound: number;
|
|
9544
9573
|
start: number;
|
|
9545
9574
|
numFoundExact: boolean;
|
|
@@ -9548,6 +9577,7 @@ declare var __VLS_4: {
|
|
|
9548
9577
|
"[elevated]": boolean;
|
|
9549
9578
|
}[];
|
|
9550
9579
|
};
|
|
9580
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
9551
9581
|
facet_counts: {
|
|
9552
9582
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
9553
9583
|
facet_fields: {
|
|
@@ -10460,6 +10490,8 @@ declare var __VLS_4: {
|
|
|
10460
10490
|
turnAIAnswerGenerationOn: boolean;
|
|
10461
10491
|
questionURL: string;
|
|
10462
10492
|
isInfiniteScroll: boolean;
|
|
10493
|
+
groupedBy?: string;
|
|
10494
|
+
itemsPerGroup: number;
|
|
10463
10495
|
firstSearchHappened: boolean;
|
|
10464
10496
|
answerWidgetShowMoreLimit: number;
|
|
10465
10497
|
searchHelper?: {
|
|
@@ -10625,7 +10657,7 @@ declare var __VLS_4: {
|
|
|
10625
10657
|
autoCorrectedQ?: string;
|
|
10626
10658
|
};
|
|
10627
10659
|
};
|
|
10628
|
-
response
|
|
10660
|
+
response?: {
|
|
10629
10661
|
numFound: number;
|
|
10630
10662
|
start: number;
|
|
10631
10663
|
numFoundExact: boolean;
|
|
@@ -10634,6 +10666,7 @@ declare var __VLS_4: {
|
|
|
10634
10666
|
"[elevated]": boolean;
|
|
10635
10667
|
}[];
|
|
10636
10668
|
};
|
|
10669
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
10637
10670
|
facet_counts: {
|
|
10638
10671
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
10639
10672
|
facet_fields: {
|
|
@@ -10690,6 +10723,7 @@ declare var __VLS_4: {
|
|
|
10690
10723
|
conversationId?: string;
|
|
10691
10724
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
10692
10725
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
10726
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
10693
10727
|
setSearchTerm: (value: string) => void;
|
|
10694
10728
|
setSearchLocation: (value?: string) => void;
|
|
10695
10729
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -11547,6 +11581,7 @@ declare var __VLS_4: {
|
|
|
11547
11581
|
isFullScreenConversation?: boolean;
|
|
11548
11582
|
showConversationHeader?: boolean;
|
|
11549
11583
|
showConversationMessages?: boolean;
|
|
11584
|
+
showConversationInput?: boolean;
|
|
11550
11585
|
conversationMessages?: {
|
|
11551
11586
|
formattedMessage: string;
|
|
11552
11587
|
messageClass?: string;
|
|
@@ -11858,7 +11893,7 @@ declare var __VLS_4: {
|
|
|
11858
11893
|
autoCorrectedQ?: string;
|
|
11859
11894
|
};
|
|
11860
11895
|
};
|
|
11861
|
-
response
|
|
11896
|
+
response?: {
|
|
11862
11897
|
numFound: number;
|
|
11863
11898
|
start: number;
|
|
11864
11899
|
numFoundExact: boolean;
|
|
@@ -11867,6 +11902,7 @@ declare var __VLS_4: {
|
|
|
11867
11902
|
"[elevated]": boolean;
|
|
11868
11903
|
}[];
|
|
11869
11904
|
};
|
|
11905
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
11870
11906
|
facet_counts: {
|
|
11871
11907
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
11872
11908
|
facet_fields: {
|
|
@@ -12780,6 +12816,8 @@ declare var __VLS_4: {
|
|
|
12780
12816
|
turnAIAnswerGenerationOn: boolean;
|
|
12781
12817
|
questionURL: string;
|
|
12782
12818
|
isInfiniteScroll: boolean;
|
|
12819
|
+
groupedBy?: string;
|
|
12820
|
+
itemsPerGroup: number;
|
|
12783
12821
|
firstSearchHappened: boolean;
|
|
12784
12822
|
answerWidgetShowMoreLimit: number;
|
|
12785
12823
|
searchHelper?: {
|
|
@@ -12945,7 +12983,7 @@ declare var __VLS_4: {
|
|
|
12945
12983
|
autoCorrectedQ?: string;
|
|
12946
12984
|
};
|
|
12947
12985
|
};
|
|
12948
|
-
response
|
|
12986
|
+
response?: {
|
|
12949
12987
|
numFound: number;
|
|
12950
12988
|
start: number;
|
|
12951
12989
|
numFoundExact: boolean;
|
|
@@ -12954,6 +12992,7 @@ declare var __VLS_4: {
|
|
|
12954
12992
|
"[elevated]": boolean;
|
|
12955
12993
|
}[];
|
|
12956
12994
|
};
|
|
12995
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
12957
12996
|
facet_counts: {
|
|
12958
12997
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
12959
12998
|
facet_fields: {
|
|
@@ -13010,6 +13049,7 @@ declare var __VLS_4: {
|
|
|
13010
13049
|
conversationId?: string;
|
|
13011
13050
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
13012
13051
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
13052
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
13013
13053
|
setSearchTerm: (value: string) => void;
|
|
13014
13054
|
setSearchLocation: (value?: string) => void;
|
|
13015
13055
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -13867,6 +13907,7 @@ declare var __VLS_4: {
|
|
|
13867
13907
|
isFullScreenConversation?: boolean;
|
|
13868
13908
|
showConversationHeader?: boolean;
|
|
13869
13909
|
showConversationMessages?: boolean;
|
|
13910
|
+
showConversationInput?: boolean;
|
|
13870
13911
|
conversationMessages?: {
|
|
13871
13912
|
formattedMessage: string;
|
|
13872
13913
|
messageClass?: string;
|
|
@@ -14178,7 +14219,7 @@ declare var __VLS_4: {
|
|
|
14178
14219
|
autoCorrectedQ?: string;
|
|
14179
14220
|
};
|
|
14180
14221
|
};
|
|
14181
|
-
response
|
|
14222
|
+
response?: {
|
|
14182
14223
|
numFound: number;
|
|
14183
14224
|
start: number;
|
|
14184
14225
|
numFoundExact: boolean;
|
|
@@ -14187,6 +14228,7 @@ declare var __VLS_4: {
|
|
|
14187
14228
|
"[elevated]": boolean;
|
|
14188
14229
|
}[];
|
|
14189
14230
|
};
|
|
14231
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
14190
14232
|
facet_counts: {
|
|
14191
14233
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
14192
14234
|
facet_fields: {
|
|
@@ -15107,6 +15149,8 @@ declare var __VLS_4: {
|
|
|
15107
15149
|
turnAIAnswerGenerationOn: boolean;
|
|
15108
15150
|
questionURL: string;
|
|
15109
15151
|
isInfiniteScroll: boolean;
|
|
15152
|
+
groupedBy?: string;
|
|
15153
|
+
itemsPerGroup: number;
|
|
15110
15154
|
firstSearchHappened: boolean;
|
|
15111
15155
|
answerWidgetShowMoreLimit: number;
|
|
15112
15156
|
searchHelper?: {
|
|
@@ -15272,7 +15316,7 @@ declare var __VLS_4: {
|
|
|
15272
15316
|
autoCorrectedQ?: string;
|
|
15273
15317
|
};
|
|
15274
15318
|
};
|
|
15275
|
-
response
|
|
15319
|
+
response?: {
|
|
15276
15320
|
numFound: number;
|
|
15277
15321
|
start: number;
|
|
15278
15322
|
numFoundExact: boolean;
|
|
@@ -15281,6 +15325,7 @@ declare var __VLS_4: {
|
|
|
15281
15325
|
"[elevated]": boolean;
|
|
15282
15326
|
}[];
|
|
15283
15327
|
};
|
|
15328
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
15284
15329
|
facet_counts: {
|
|
15285
15330
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
15286
15331
|
facet_fields: {
|
|
@@ -15337,6 +15382,7 @@ declare var __VLS_4: {
|
|
|
15337
15382
|
conversationId?: string;
|
|
15338
15383
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
15339
15384
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
15385
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
15340
15386
|
setSearchTerm: (value: string) => void;
|
|
15341
15387
|
setSearchLocation: (value?: string) => void;
|
|
15342
15388
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -16194,6 +16240,7 @@ declare var __VLS_4: {
|
|
|
16194
16240
|
isFullScreenConversation?: boolean;
|
|
16195
16241
|
showConversationHeader?: boolean;
|
|
16196
16242
|
showConversationMessages?: boolean;
|
|
16243
|
+
showConversationInput?: boolean;
|
|
16197
16244
|
conversationMessages?: {
|
|
16198
16245
|
formattedMessage: string;
|
|
16199
16246
|
messageClass?: string;
|
|
@@ -16505,7 +16552,7 @@ declare var __VLS_4: {
|
|
|
16505
16552
|
autoCorrectedQ?: string;
|
|
16506
16553
|
};
|
|
16507
16554
|
};
|
|
16508
|
-
response
|
|
16555
|
+
response?: {
|
|
16509
16556
|
numFound: number;
|
|
16510
16557
|
start: number;
|
|
16511
16558
|
numFoundExact: boolean;
|
|
@@ -16514,6 +16561,7 @@ declare var __VLS_4: {
|
|
|
16514
16561
|
"[elevated]": boolean;
|
|
16515
16562
|
}[];
|
|
16516
16563
|
};
|
|
16564
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
16517
16565
|
facet_counts: {
|
|
16518
16566
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
16519
16567
|
facet_fields: {
|
|
@@ -17430,6 +17478,8 @@ declare var __VLS_4: {
|
|
|
17430
17478
|
turnAIAnswerGenerationOn: boolean;
|
|
17431
17479
|
questionURL: string;
|
|
17432
17480
|
isInfiniteScroll: boolean;
|
|
17481
|
+
groupedBy?: string;
|
|
17482
|
+
itemsPerGroup: number;
|
|
17433
17483
|
firstSearchHappened: boolean;
|
|
17434
17484
|
answerWidgetShowMoreLimit: number;
|
|
17435
17485
|
searchHelper?: {
|
|
@@ -17595,7 +17645,7 @@ declare var __VLS_4: {
|
|
|
17595
17645
|
autoCorrectedQ?: string;
|
|
17596
17646
|
};
|
|
17597
17647
|
};
|
|
17598
|
-
response
|
|
17648
|
+
response?: {
|
|
17599
17649
|
numFound: number;
|
|
17600
17650
|
start: number;
|
|
17601
17651
|
numFoundExact: boolean;
|
|
@@ -17604,6 +17654,7 @@ declare var __VLS_4: {
|
|
|
17604
17654
|
"[elevated]": boolean;
|
|
17605
17655
|
}[];
|
|
17606
17656
|
};
|
|
17657
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
17607
17658
|
facet_counts: {
|
|
17608
17659
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
17609
17660
|
facet_fields: {
|
|
@@ -17660,6 +17711,7 @@ declare var __VLS_4: {
|
|
|
17660
17711
|
conversationId?: string;
|
|
17661
17712
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
17662
17713
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
17714
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
17663
17715
|
setSearchTerm: (value: string) => void;
|
|
17664
17716
|
setSearchLocation: (value?: string) => void;
|
|
17665
17717
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -18517,6 +18569,7 @@ declare var __VLS_4: {
|
|
|
18517
18569
|
isFullScreenConversation?: boolean;
|
|
18518
18570
|
showConversationHeader?: boolean;
|
|
18519
18571
|
showConversationMessages?: boolean;
|
|
18572
|
+
showConversationInput?: boolean;
|
|
18520
18573
|
conversationMessages?: {
|
|
18521
18574
|
formattedMessage: string;
|
|
18522
18575
|
messageClass?: string;
|
|
@@ -18828,7 +18881,7 @@ declare var __VLS_4: {
|
|
|
18828
18881
|
autoCorrectedQ?: string;
|
|
18829
18882
|
};
|
|
18830
18883
|
};
|
|
18831
|
-
response
|
|
18884
|
+
response?: {
|
|
18832
18885
|
numFound: number;
|
|
18833
18886
|
start: number;
|
|
18834
18887
|
numFoundExact: boolean;
|
|
@@ -18837,6 +18890,7 @@ declare var __VLS_4: {
|
|
|
18837
18890
|
"[elevated]": boolean;
|
|
18838
18891
|
}[];
|
|
18839
18892
|
};
|
|
18893
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
18840
18894
|
facet_counts: {
|
|
18841
18895
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
18842
18896
|
facet_fields: {
|
|
@@ -18919,6 +18973,8 @@ declare var __VLS_4: {
|
|
|
18919
18973
|
searchstaxFeedbackTextAreaOverride: () => string;
|
|
18920
18974
|
initializeWidget: () => void;
|
|
18921
18975
|
showMore: (e: Event) => void;
|
|
18976
|
+
submitConversationQuestion: (questionText: string, inputElement?: HTMLInputElement) => void;
|
|
18977
|
+
exitConversation: () => void;
|
|
18922
18978
|
trackLinkClick: (e: Event) => void;
|
|
18923
18979
|
attachLinkTracking: () => void;
|
|
18924
18980
|
};
|
|
@@ -19766,6 +19822,8 @@ declare var __VLS_4: {
|
|
|
19766
19822
|
turnAIAnswerGenerationOn: boolean;
|
|
19767
19823
|
questionURL: string;
|
|
19768
19824
|
isInfiniteScroll: boolean;
|
|
19825
|
+
groupedBy?: string;
|
|
19826
|
+
itemsPerGroup: number;
|
|
19769
19827
|
firstSearchHappened: boolean;
|
|
19770
19828
|
answerWidgetShowMoreLimit: number;
|
|
19771
19829
|
searchHelper?: {
|
|
@@ -19931,7 +19989,7 @@ declare var __VLS_4: {
|
|
|
19931
19989
|
autoCorrectedQ?: string;
|
|
19932
19990
|
};
|
|
19933
19991
|
};
|
|
19934
|
-
response
|
|
19992
|
+
response?: {
|
|
19935
19993
|
numFound: number;
|
|
19936
19994
|
start: number;
|
|
19937
19995
|
numFoundExact: boolean;
|
|
@@ -19940,6 +19998,7 @@ declare var __VLS_4: {
|
|
|
19940
19998
|
"[elevated]": boolean;
|
|
19941
19999
|
}[];
|
|
19942
20000
|
};
|
|
20001
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
19943
20002
|
facet_counts: {
|
|
19944
20003
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
19945
20004
|
facet_fields: {
|
|
@@ -19996,6 +20055,7 @@ declare var __VLS_4: {
|
|
|
19996
20055
|
conversationId?: string;
|
|
19997
20056
|
cookieHandlingCallback: (sessionValueOverride?: string) => void;
|
|
19998
20057
|
setIsInfiniteScroll: (value: boolean) => void;
|
|
20058
|
+
setGroupedBy: (field?: string, limit?: number) => void;
|
|
19999
20059
|
setSearchTerm: (value: string) => void;
|
|
20000
20060
|
setSearchLocation: (value?: string) => void;
|
|
20001
20061
|
setSearchRadius: (value: string | undefined) => void;
|
|
@@ -20853,6 +20913,7 @@ declare var __VLS_4: {
|
|
|
20853
20913
|
isFullScreenConversation?: boolean;
|
|
20854
20914
|
showConversationHeader?: boolean;
|
|
20855
20915
|
showConversationMessages?: boolean;
|
|
20916
|
+
showConversationInput?: boolean;
|
|
20856
20917
|
conversationMessages?: {
|
|
20857
20918
|
formattedMessage: string;
|
|
20858
20919
|
messageClass?: string;
|
|
@@ -21164,7 +21225,7 @@ declare var __VLS_4: {
|
|
|
21164
21225
|
autoCorrectedQ?: string;
|
|
21165
21226
|
};
|
|
21166
21227
|
};
|
|
21167
|
-
response
|
|
21228
|
+
response?: {
|
|
21168
21229
|
numFound: number;
|
|
21169
21230
|
start: number;
|
|
21170
21231
|
numFoundExact: boolean;
|
|
@@ -21173,6 +21234,7 @@ declare var __VLS_4: {
|
|
|
21173
21234
|
"[elevated]": boolean;
|
|
21174
21235
|
}[];
|
|
21175
21236
|
};
|
|
21237
|
+
grouped?: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxGrouped;
|
|
21176
21238
|
facet_counts: {
|
|
21177
21239
|
facet_queries: import('@searchstax-inc/searchstudio-ux-js').ISearchstaxFacet_query;
|
|
21178
21240
|
facet_fields: {
|
|
@@ -9,6 +9,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
type: PropType<(event: Event) => void>;
|
|
10
10
|
required: false;
|
|
11
11
|
};
|
|
12
|
+
submitConversationQuestion: {
|
|
13
|
+
type: PropType<(question: string) => void>;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
exitConversation: {
|
|
17
|
+
type: PropType<() => void>;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
setConversationInputRef: {
|
|
21
|
+
type: PropType<(el: Element | null) => void>;
|
|
22
|
+
required: false;
|
|
23
|
+
};
|
|
12
24
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
25
|
answerData: {
|
|
14
26
|
type: PropType<ISearchstaxAnswerData> | null;
|
|
@@ -18,5 +30,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
18
30
|
type: PropType<(event: Event) => void>;
|
|
19
31
|
required: false;
|
|
20
32
|
};
|
|
33
|
+
submitConversationQuestion: {
|
|
34
|
+
type: PropType<(question: string) => void>;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
exitConversation: {
|
|
38
|
+
type: PropType<() => void>;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
setConversationInputRef: {
|
|
42
|
+
type: PropType<(el: Element | null) => void>;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
21
45
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
46
|
export default _default;
|