@empathyco/x-components 6.0.6 → 6.1.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/CHANGELOG.md +18 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchrequest.excludeoptions.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.platformaisuggestionssearchrequest.md +17 -0
- package/docs/API-reference/api/x-components.aimutations.md +19 -0
- package/docs/API-reference/api/x-components.aimutations.setexcludedresultids.md +13 -0
- package/docs/API-reference/api/x-components.aistate.excludeoptions.md +13 -0
- package/docs/API-reference/api/x-components.aistate.md +17 -0
- package/docs/API-reference/api/x-types.aisuggestionssearchrequest.excludeoptions.md +13 -0
- package/docs/API-reference/api/x-types.aisuggestionssearchrequest.md +17 -0
- package/js/x-modules/ai/store/getters/suggestions-search-request.getter.js +4 -2
- package/js/x-modules/ai/store/getters/suggestions-search-request.getter.js.map +1 -1
- package/js/x-modules/ai/store/module.js +6 -0
- package/js/x-modules/ai/store/module.js.map +1 -1
- package/js/x-modules/ai/wiring.js +6 -2
- package/js/x-modules/ai/wiring.js.map +1 -1
- package/package.json +4 -5
- package/report/x-adapter-platform.api.json +36 -0
- package/report/x-components.api.json +72 -0
- package/report/x-components.api.md +9 -2
- package/report/x-types.api.json +36 -0
- package/types/src/x-modules/ai/store/getters/suggestions-search-request.getter.d.ts.map +1 -1
- package/types/src/x-modules/ai/store/module.d.ts.map +1 -1
- package/types/src/x-modules/ai/store/types.d.ts +10 -1
- package/types/src/x-modules/ai/store/types.d.ts.map +1 -1
- package/types/src/x-modules/ai/wiring.d.ts +3 -0
- package/types/src/x-modules/ai/wiring.d.ts.map +1 -1
- package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.1.0](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.7...@empathyco/x-components@6.1.0) (2026-05-05)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add excluded result IDs support in AI suggestions module
|
|
11
|
+
|
|
12
|
+
### Testing
|
|
13
|
+
|
|
14
|
+
* add tests for excluded result IDs in AI module getters
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.0.7](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.6...@empathyco/x-components@6.0.7) (2026-05-04)
|
|
18
|
+
|
|
19
|
+
### Build System
|
|
20
|
+
|
|
21
|
+
* remove start-sever-and-test dep (#2095)
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [6.0.6](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.5...@empathyco/x-components@6.0.6) (2026-04-22)
|
|
7
25
|
|
|
8
26
|
### Bug Fixes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformAiSuggestionsSearchRequest](./x-adapter-platform.platformaisuggestionssearchrequest.md) > [excludeOptions](./x-adapter-platform.platformaisuggestionssearchrequest.excludeoptions.md)
|
|
4
|
+
|
|
5
|
+
## PlatformAiSuggestionsSearchRequest.excludeOptions property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
excludeOptions: {
|
|
11
|
+
resultIds: Result['id'][];
|
|
12
|
+
};
|
|
13
|
+
```
|
|
@@ -51,6 +51,23 @@ Description
|
|
|
51
51
|
</td><td>
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
</td></tr>
|
|
55
|
+
<tr><td>
|
|
56
|
+
|
|
57
|
+
[excludeOptions](./x-adapter-platform.platformaisuggestionssearchrequest.excludeoptions.md)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
</td><td>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</td><td>
|
|
64
|
+
|
|
65
|
+
{ resultIds: Result\['id'\]\[\]; }
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</td><td>
|
|
69
|
+
|
|
70
|
+
|
|
54
71
|
</td></tr>
|
|
55
72
|
<tr><td>
|
|
56
73
|
|
|
@@ -73,6 +73,25 @@ Resets the ai state.
|
|
|
73
73
|
Sets the related tags of the module.
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
</td></tr>
|
|
77
|
+
<tr><td>
|
|
78
|
+
|
|
79
|
+
[setExcludedResultIds](./x-components.aimutations.setexcludedresultids.md)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
</td><td>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
</td><td>
|
|
86
|
+
|
|
87
|
+
(resultIds: Result\['id'\]\[\]) => void
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
</td><td>
|
|
91
|
+
|
|
92
|
+
Sets the result ids to exclude from the suggestions response.
|
|
93
|
+
|
|
94
|
+
|
|
76
95
|
</td></tr>
|
|
77
96
|
<tr><td>
|
|
78
97
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [AiMutations](./x-components.aimutations.md) > [setExcludedResultIds](./x-components.aimutations.setexcludedresultids.md)
|
|
4
|
+
|
|
5
|
+
## AiMutations.setExcludedResultIds property
|
|
6
|
+
|
|
7
|
+
Sets the result ids to exclude from the suggestions response.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setExcludedResultIds: (resultIds: Result['id'][]) => void;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [AiState](./x-components.aistate.md) > [excludeOptions](./x-components.aistate.excludeoptions.md)
|
|
4
|
+
|
|
5
|
+
## AiState.excludeOptions property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
excludeOptions: {
|
|
11
|
+
resultIds: Result['id'][];
|
|
12
|
+
};
|
|
13
|
+
```
|
|
@@ -52,6 +52,23 @@ Description
|
|
|
52
52
|
</td><td>
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
</td></tr>
|
|
56
|
+
<tr><td>
|
|
57
|
+
|
|
58
|
+
[excludeOptions](./x-components.aistate.excludeoptions.md)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
</td><td>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</td><td>
|
|
65
|
+
|
|
66
|
+
{ resultIds: Result\['id'\]\[\]; }
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
</td><td>
|
|
70
|
+
|
|
71
|
+
|
|
55
72
|
</td></tr>
|
|
56
73
|
<tr><td>
|
|
57
74
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [AiSuggestionsSearchRequest](./x-types.aisuggestionssearchrequest.md) > [excludeOptions](./x-types.aisuggestionssearchrequest.excludeoptions.md)
|
|
4
|
+
|
|
5
|
+
## AiSuggestionsSearchRequest.excludeOptions property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
excludeOptions: {
|
|
11
|
+
resultIds: Result['id'][];
|
|
12
|
+
};
|
|
13
|
+
```
|
|
@@ -38,6 +38,23 @@ Description
|
|
|
38
38
|
</th></tr></thead>
|
|
39
39
|
<tbody><tr><td>
|
|
40
40
|
|
|
41
|
+
[excludeOptions](./x-types.aisuggestionssearchrequest.excludeoptions.md)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
</td><td>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
</td><td>
|
|
48
|
+
|
|
49
|
+
{ resultIds: [Result](./x-types.result.md)<!-- -->\['id'\]\[\]; }
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</td><td>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
</td></tr>
|
|
56
|
+
<tr><td>
|
|
57
|
+
|
|
41
58
|
[queries](./x-types.aisuggestionssearchrequest.queries.md)
|
|
42
59
|
|
|
43
60
|
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
const suggestionsSearchRequest = ({ queries, params: extraParams, selectedFilters: filters, origin, }) => {
|
|
12
|
-
return queries.length
|
|
11
|
+
const suggestionsSearchRequest = ({ queries, excludeOptions, params: extraParams, selectedFilters: filters, origin, }) => {
|
|
12
|
+
return queries.length
|
|
13
|
+
? { queries, excludeOptions, extraParams, filters, ...(origin && { origin }) }
|
|
14
|
+
: null;
|
|
13
15
|
};
|
|
14
16
|
|
|
15
17
|
export { suggestionsSearchRequest };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestions-search-request.getter.js","sources":["../../../../../../src/x-modules/ai/store/getters/suggestions-search-request.getter.ts"],"sourcesContent":["import type { AiXStoreModule } from '../types'\n\n/**\n * Default implementation for the {@link AiGetters.suggestionsSearchRequest} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the ai\n * module.\n *\n * @returns The ai request to fetch data from the API.\n *\n * @public\n */\nexport const suggestionsSearchRequest: AiXStoreModule['getters']['suggestionsSearchRequest'] = ({\n queries,\n params: extraParams,\n selectedFilters: filters,\n origin,\n}) => {\n return queries.length
|
|
1
|
+
{"version":3,"file":"suggestions-search-request.getter.js","sources":["../../../../../../src/x-modules/ai/store/getters/suggestions-search-request.getter.ts"],"sourcesContent":["import type { AiXStoreModule } from '../types'\n\n/**\n * Default implementation for the {@link AiGetters.suggestionsSearchRequest} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the ai\n * module.\n *\n * @returns The ai request to fetch data from the API.\n *\n * @public\n */\nexport const suggestionsSearchRequest: AiXStoreModule['getters']['suggestionsSearchRequest'] = ({\n queries,\n excludeOptions,\n params: extraParams,\n selectedFilters: filters,\n origin,\n}) => {\n return queries.length\n ? { queries, excludeOptions, extraParams, filters, ...(origin && { origin }) }\n : null\n}\n"],"names":[],"mappings":"AAEA;;;;;;;;;AASG;MACU,wBAAwB,GAA0D,CAAC,EAC9F,OAAO,EACP,cAAc,EACd,MAAM,EAAE,WAAW,EACnB,eAAe,EAAE,OAAO,EACxB,MAAM,GACP,KAAI;IACH,OAAO,OAAO,CAAC;AACb,UAAE,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,MAAM,IAAI,EAAE,MAAM,EAAE,CAAC;UAC1E,IAAI;AACV;;;;"}
|
|
@@ -43,6 +43,9 @@ const aiXStoreModule = {
|
|
|
43
43
|
setQueries: (state, queries) => {
|
|
44
44
|
state.queries = queries;
|
|
45
45
|
},
|
|
46
|
+
setExcludedResultIds: (state, resultIds) => {
|
|
47
|
+
state.excludeOptions.resultIds = resultIds;
|
|
48
|
+
},
|
|
46
49
|
setTagging: (state, tagging) => {
|
|
47
50
|
state.tagging = tagging;
|
|
48
51
|
},
|
|
@@ -101,6 +104,9 @@ function resettableAiState() {
|
|
|
101
104
|
responseText: '',
|
|
102
105
|
suggestionText: '',
|
|
103
106
|
queries: [],
|
|
107
|
+
excludeOptions: {
|
|
108
|
+
resultIds: [],
|
|
109
|
+
},
|
|
104
110
|
tagging: undefined,
|
|
105
111
|
suggestionsSearch: [],
|
|
106
112
|
suggestionsStatus: 'initial',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/ai/store/module.ts"],"sourcesContent":["import type { AiSuggestionQuery, AiSuggestionSearch } from '@empathyco/x-types'\nimport type { RequestStatus } from '../../../store/utils/status-store.utils'\nimport type { AiState, AiXStoreModule } from './types'\nimport { isFacetFilter } from '@empathyco/x-types'\nimport { mergeConfig, setConfig } from '../../../store/utils/config-store.utils'\nimport { setQuery } from '../../../store/utils/query.utils'\nimport { groupItemsBy } from '../../../utils/array'\nimport { UNKNOWN_FACET_KEY } from '../../facets/store/constants'\nimport { fetchAndSaveAiSuggestionsSearch } from './actions/fetch-and-save-ai-suggestions-search.action'\nimport { fetchAndSaveAiSuggestions } from './actions/fetch-and-save-ai-suggestions.action'\nimport { saveOrigin } from './actions/save-origin.action'\nimport { setUrlParams } from './actions/set-url-params.action'\nimport {\n aiSuggestionsRequest as suggestionsRequest,\n aiSuggestionsSearchRequest as suggestionsSearchRequest,\n} from './getters'\n\n/**\n * {@link XStoreModule} For the ai module.\n *\n * @internal\n */\nexport const aiXStoreModule: AiXStoreModule = {\n state: () => ({\n ...resettableAiState(),\n selectedFilters: {},\n query: '',\n config: {\n lowResultsThreshold: 50,\n },\n params: {},\n origin: null,\n relatedTags: [],\n searchTotalResults: 0,\n }),\n getters: {\n suggestionsRequest,\n suggestionsSearchRequest,\n },\n mutations: {\n /* Streamed fields */\n setResponseText: (state, responseText: string) => {\n state.responseText = responseText\n },\n setSuggestionText: (state, suggestionText: string) => {\n state.suggestionText = suggestionText\n },\n setQueries: (state, queries: AiSuggestionQuery[]) => {\n state.queries = queries\n },\n setTagging: (state, tagging) => {\n state.tagging = tagging\n },\n /* END Streamed fields */\n setSuggestionsSearch: (state, suggestionsSearch: AiSuggestionSearch[]) => {\n state.suggestionsSearch = suggestionsSearch\n },\n setSuggestionsStatus: (state, status: RequestStatus) => {\n state.suggestionsStatus = status\n },\n setSuggestionsSearchStatus: (state, status: RequestStatus) => {\n state.suggestionsSearchStatus = status\n },\n setQuery,\n setParams(state, params) {\n state.params = params\n },\n setOrigin(state, origin = null) {\n state.origin = origin\n },\n resetAiState(state) {\n Object.assign(state, resettableAiState())\n },\n setAiRelatedTags(state, relatedTags) {\n state.relatedTags = relatedTags\n },\n setIsNoResults(state, isNoResults: boolean) {\n state.isNoResults = isNoResults\n },\n setSelectedFilters(state, selectedFilters) {\n state.selectedFilters = groupItemsBy(selectedFilters, filter =>\n isFacetFilter(filter) ? filter.facetId : UNKNOWN_FACET_KEY,\n )\n },\n setSearchTotalResults(state, totalResults) {\n state.searchTotalResults = totalResults\n },\n setConfig,\n mergeConfig,\n },\n actions: {\n fetchAndSaveAiSuggestions,\n fetchAndSaveAiSuggestionsSearch,\n setUrlParams,\n saveOrigin,\n },\n}\n\n/**\n * Function to return the \"resettable\" part of the state. This will be used in the `resetState`\n * mutation to reset to the initial state.\n *\n * @returns The \"resettable\" part of the {@link AiState}.\n *\n * @internal\n */\nfunction resettableAiState() {\n return {\n responseText: '',\n suggestionText: '',\n queries: [],\n tagging: undefined,\n suggestionsSearch: [],\n suggestionsStatus: 'initial' as RequestStatus,\n suggestionsSearchStatus: 'initial' as RequestStatus,\n isNoResults: true,\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAiBA;;;;AAIG;AACI,MAAM,cAAc,GAAmB;AAC5C,IAAA,KAAK,EAAE,OAAO;AACZ,QAAA,GAAG,iBAAiB,EAAE;AACtB,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,MAAM,EAAE;AACN,YAAA,mBAAmB,EAAE,EAAE;AACxB,SAAA;AACD,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,MAAM,EAAE,IAAI;AACZ,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,kBAAkB,EAAE,CAAC;KACtB,CAAC;AACF,IAAA,OAAO,EAAE;QACP,kBAAkB;QAClB,wBAAwB;AACzB,KAAA;AACD,IAAA,SAAS,EAAE;;AAET,QAA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,WAAoB,EAAA;AACxC,YAAA,KAAK,CAAC,WAAW,GAAG,WAAW;QACjC,CAAC;QACD,kBAAkB,CAAC,KAAK,EAAE,eAAe,EAAA;YACvC,KAAK,CAAC,eAAe,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,IAC1D,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,OAAO,GAAG,iBAAiB,CAC3D;QACH,CAAC;QACD,qBAAqB,CAAC,KAAK,EAAE,YAAY,EAAA;AACvC,YAAA,KAAK,CAAC,kBAAkB,GAAG,YAAY;QACzC,CAAC;QACD,SAAS;QACT,WAAW;AACZ,KAAA;AACD,IAAA,OAAO,EAAE;QACP,yBAAyB;QACzB,+BAA+B;QAC/B,YAAY;QACZ,UAAU;AACX,KAAA;;AAGH;;;;;;;AAOG;AACH,SAAS,iBAAiB,GAAA;IACxB,OAAO;AACL,QAAA,YAAY,EAAE,EAAE;AAChB,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,OAAO,EAAE,EAAE;AACX,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,iBAAiB,EAAE,EAAE;AACrB,QAAA,iBAAiB,EAAE,SAA0B;AAC7C,QAAA,uBAAuB,EAAE,SAA0B;AACnD,QAAA,WAAW,EAAE,IAAI;KAClB;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/ai/store/module.ts"],"sourcesContent":["import type { AiSuggestionQuery, AiSuggestionSearch, Result } from '@empathyco/x-types'\nimport type { RequestStatus } from '../../../store/utils/status-store.utils'\nimport type { AiState, AiXStoreModule } from './types'\nimport { isFacetFilter } from '@empathyco/x-types'\nimport { mergeConfig, setConfig } from '../../../store/utils/config-store.utils'\nimport { setQuery } from '../../../store/utils/query.utils'\nimport { groupItemsBy } from '../../../utils/array'\nimport { UNKNOWN_FACET_KEY } from '../../facets/store/constants'\nimport { fetchAndSaveAiSuggestionsSearch } from './actions/fetch-and-save-ai-suggestions-search.action'\nimport { fetchAndSaveAiSuggestions } from './actions/fetch-and-save-ai-suggestions.action'\nimport { saveOrigin } from './actions/save-origin.action'\nimport { setUrlParams } from './actions/set-url-params.action'\nimport {\n aiSuggestionsRequest as suggestionsRequest,\n aiSuggestionsSearchRequest as suggestionsSearchRequest,\n} from './getters'\n\n/**\n * {@link XStoreModule} For the ai module.\n *\n * @internal\n */\nexport const aiXStoreModule: AiXStoreModule = {\n state: () => ({\n ...resettableAiState(),\n selectedFilters: {},\n query: '',\n config: {\n lowResultsThreshold: 50,\n },\n params: {},\n origin: null,\n relatedTags: [],\n searchTotalResults: 0,\n }),\n getters: {\n suggestionsRequest,\n suggestionsSearchRequest,\n },\n mutations: {\n /* Streamed fields */\n setResponseText: (state, responseText: string) => {\n state.responseText = responseText\n },\n setSuggestionText: (state, suggestionText: string) => {\n state.suggestionText = suggestionText\n },\n setQueries: (state, queries: AiSuggestionQuery[]) => {\n state.queries = queries\n },\n setExcludedResultIds: (state, resultIds: Result['id'][]) => {\n state.excludeOptions.resultIds = resultIds\n },\n setTagging: (state, tagging) => {\n state.tagging = tagging\n },\n /* END Streamed fields */\n setSuggestionsSearch: (state, suggestionsSearch: AiSuggestionSearch[]) => {\n state.suggestionsSearch = suggestionsSearch\n },\n setSuggestionsStatus: (state, status: RequestStatus) => {\n state.suggestionsStatus = status\n },\n setSuggestionsSearchStatus: (state, status: RequestStatus) => {\n state.suggestionsSearchStatus = status\n },\n setQuery,\n setParams(state, params) {\n state.params = params\n },\n setOrigin(state, origin = null) {\n state.origin = origin\n },\n resetAiState(state) {\n Object.assign(state, resettableAiState())\n },\n setAiRelatedTags(state, relatedTags) {\n state.relatedTags = relatedTags\n },\n setIsNoResults(state, isNoResults: boolean) {\n state.isNoResults = isNoResults\n },\n setSelectedFilters(state, selectedFilters) {\n state.selectedFilters = groupItemsBy(selectedFilters, filter =>\n isFacetFilter(filter) ? filter.facetId : UNKNOWN_FACET_KEY,\n )\n },\n setSearchTotalResults(state, totalResults) {\n state.searchTotalResults = totalResults\n },\n setConfig,\n mergeConfig,\n },\n actions: {\n fetchAndSaveAiSuggestions,\n fetchAndSaveAiSuggestionsSearch,\n setUrlParams,\n saveOrigin,\n },\n}\n\n/**\n * Function to return the \"resettable\" part of the state. This will be used in the `resetState`\n * mutation to reset to the initial state.\n *\n * @returns The \"resettable\" part of the {@link AiState}.\n *\n * @internal\n */\nfunction resettableAiState() {\n return {\n responseText: '',\n suggestionText: '',\n queries: [],\n excludeOptions: {\n resultIds: [],\n },\n tagging: undefined,\n suggestionsSearch: [],\n suggestionsStatus: 'initial' as RequestStatus,\n suggestionsSearchStatus: 'initial' as RequestStatus,\n isNoResults: true,\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAiBA;;;;AAIG;AACI,MAAM,cAAc,GAAmB;AAC5C,IAAA,KAAK,EAAE,OAAO;AACZ,QAAA,GAAG,iBAAiB,EAAE;AACtB,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,MAAM,EAAE;AACN,YAAA,mBAAmB,EAAE,EAAE;AACxB,SAAA;AACD,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,MAAM,EAAE,IAAI;AACZ,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,kBAAkB,EAAE,CAAC;KACtB,CAAC;AACF,IAAA,OAAO,EAAE;QACP,kBAAkB;QAClB,wBAAwB;AACzB,KAAA;AACD,IAAA,SAAS,EAAE;;AAET,QAAA,eAAe,EAAE,CAAC,KAAK,EAAE,YAAoB,KAAI;AAC/C,YAAA,KAAK,CAAC,YAAY,GAAG,YAAY;QACnC,CAAC;AACD,QAAA,iBAAiB,EAAE,CAAC,KAAK,EAAE,cAAsB,KAAI;AACnD,YAAA,KAAK,CAAC,cAAc,GAAG,cAAc;QACvC,CAAC;AACD,QAAA,UAAU,EAAE,CAAC,KAAK,EAAE,OAA4B,KAAI;AAClD,YAAA,KAAK,CAAC,OAAO,GAAG,OAAO;QACzB,CAAC;AACD,QAAA,oBAAo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M,CAAC,OAAO,GAAG,iBAAiB,CAC3D;QACH,CAAC;QACD,qBAAqB,CAAC,KAAK,EAAE,YAAY,EAAA;AACvC,YAAA,KAAK,CAAC,kBAAkB,GAAG,YAAY;QACzC,CAAC;QACD,SAAS;QACT,WAAW;AACZ,KAAA;AACD,IAAA,OAAO,EAAE;QACP,yBAAyB;QACzB,+BAA+B;QAC/B,YAAY;QACZ,UAAU;AACX,KAAA;;AAGH;;;;;;;AAOG;AACH,SAAS,iBAAiB,GAAA;IACxB,OAAO;AACL,QAAA,YAAY,EAAE,EAAE;AAChB,QAAA,cAAc,EAAE,EAAE;AAClB,QAAA,OAAO,EAAE,EAAE;AACX,QAAA,cAAc,EAAE;AACd,YAAA,SAAS,EAAE,EAAE;AACd,SAAA;AACD,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,iBAAiB,EAAE,EAAE;AACrB,QAAA,iBAAiB,EAAE,SAA0B;AAC7C,QAAA,uBAAuB,EAAE,SAA0B;AACnD,QAAA,WAAW,EAAE,IAAI;KAClB;AACH;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { namespacedWireCommit, namespacedWireDispatch, namespacedWireCommitWithoutPayload } from '../../wiring/namespaced-wires.factory.js';
|
|
2
|
-
import '
|
|
3
|
-
import 'rxjs';
|
|
2
|
+
import { mapWire } from '../../wiring/wires.operators.js';
|
|
4
3
|
import { createWiring } from '../../wiring/wiring.utils.js';
|
|
5
4
|
|
|
6
5
|
/** AI XModule name. */
|
|
@@ -35,6 +34,8 @@ const setSelectedFiltersWire = wireCommit('setSelectedFilters');
|
|
|
35
34
|
const resetSearchTotalResultsWire = wireCommit('setSearchTotalResults', 0);
|
|
36
35
|
/** Sets the AI state `searchTotalResults`. */
|
|
37
36
|
const setSearchTotalResultsWire = wireCommit('setSearchTotalResults', ({ eventPayload }) => eventPayload.totalResults);
|
|
37
|
+
/** Sets the excluded result IDs from the search results. */
|
|
38
|
+
const setExcludedResultIdsWire = mapWire(wireCommit('setExcludedResultIds'), results => results.map(result => result.id));
|
|
38
39
|
/**
|
|
39
40
|
* Wiring configuration for the {@link AiXModule | AI module}.
|
|
40
41
|
*
|
|
@@ -51,6 +52,9 @@ const aiWiring = createWiring({
|
|
|
51
52
|
resetAiQueryWire,
|
|
52
53
|
resetSearchTotalResultsWire,
|
|
53
54
|
},
|
|
55
|
+
ResultsChanged: {
|
|
56
|
+
setExcludedResultIdsWire,
|
|
57
|
+
},
|
|
54
58
|
AiSuggestionsRequestUpdated: {
|
|
55
59
|
resetAiStateWire,
|
|
56
60
|
fetchAndSaveAiSuggestionsWire,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/ai/wiring.ts"],"sourcesContent":["import type { InternalSearchResponse } from '../search/index'\nimport {\n createWiring,\n namespacedWireCommit,\n namespacedWireCommitWithoutPayload,\n namespacedWireDispatch,\n} from '../../wiring'\n\n/** AI XModule name. */\nconst moduleName = 'ai'\n/** WireCommit for AiXModule. */\nconst wireCommit = namespacedWireCommit(moduleName)\n/** WireCommitWithoutPayload for AiXModule. */\nconst wireCommitWithoutPayload = namespacedWireCommitWithoutPayload(moduleName)\n/** WireDispatch for AiXModule.*/\nconst wireDispatch = namespacedWireDispatch(moduleName)\n\n/** Sets the AI state from URL data. */\nconst setUrlParamsWire = wireDispatch('setUrlParams')\n/** Sets the AI state `params`. */\nconst setExtraParamsWire = wireCommit('setParams')\n\n/** Resets the AI state `query`. */\nconst resetAiQueryWire = wireCommit('setQuery', '')\n\n/** Sets the AI state `query`. */\nconst setAiQueryWire = wireCommit(\n 'setQuery',\n ({ eventPayload: { request } }: { eventPayload: InternalSearchResponse }) => request.query,\n)\n\n/** Fetches the AI suggestions streaming response. */\nconst fetchAndSaveAiSuggestionsWire = wireDispatch('fetchAndSaveAiSuggestions')\n\n/** Fetches and save the AI suggestions search response. */\nconst fetchAndSaveAiSuggestionsSearchWire = wireDispatch('fetchAndSaveAiSuggestionsSearch', true)\n\n/** Sets the AI state `relatedTags`.*/\nconst setAiRelatedTagsWire = wireCommit('setAiRelatedTags')\n\n/** Resets the related prompts state. */\nconst resetAiStateWire = wireCommitWithoutPayload('resetAiState')\n\n/** Sets the origin for the AI requests. */\nconst saveAiOriginWire = wireDispatch('saveOrigin', ({ metadata }) => metadata)\n\n/** Sets the AI state `selectedFilters`. */\nconst setSelectedFiltersWire = wireCommit('setSelectedFilters')\n\n/** Resets the AI state `searchTotalResults`. */\nconst resetSearchTotalResultsWire = wireCommit('setSearchTotalResults', 0)\n\n/** Sets the AI state `searchTotalResults`. */\nconst setSearchTotalResultsWire = wireCommit(\n 'setSearchTotalResults',\n ({ eventPayload }: { eventPayload: { totalResults: number } }) => eventPayload.totalResults,\n)\n\n/**\n * Wiring configuration for the {@link AiXModule | AI module}.\n *\n * @internal\n */\nexport const aiWiring = createWiring({\n ParamsLoadedFromUrl: {\n setUrlParamsWire,\n },\n ExtraParamsChanged: {\n setExtraParamsWire,\n },\n UserClearedQuery: {\n resetAiQueryWire,\n resetSearchTotalResultsWire,\n },\n AiSuggestionsRequestUpdated: {\n resetAiStateWire,\n fetchAndSaveAiSuggestionsWire,\n },\n AiSuggestionsSearchRequestUpdated: {\n fetchAndSaveAiSuggestionsSearchWire,\n },\n SelectedRelatedTagsChanged: {\n setAiRelatedTagsWire,\n },\n SelectedFiltersForRequestChanged: {\n setSelectedFiltersWire,\n },\n AiComponentMounted: {\n saveAiOriginWire,\n },\n SearchResponseChanged: {\n setAiQueryWire,\n setSearchTotalResultsWire,\n },\n})\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/ai/wiring.ts"],"sourcesContent":["import type { ExtractMutationPayload } from '../../store'\nimport type { SearchXEvents } from '../search/events.types'\nimport type { InternalSearchResponse } from '../search/index'\nimport {\n createWiring,\n mapWire,\n namespacedWireCommit,\n namespacedWireCommitWithoutPayload,\n namespacedWireDispatch,\n} from '../../wiring'\n\n/** AI XModule name. */\nconst moduleName = 'ai'\n/** WireCommit for AiXModule. */\nconst wireCommit = namespacedWireCommit(moduleName)\n/** WireCommitWithoutPayload for AiXModule. */\nconst wireCommitWithoutPayload = namespacedWireCommitWithoutPayload(moduleName)\n/** WireDispatch for AiXModule.*/\nconst wireDispatch = namespacedWireDispatch(moduleName)\n\n/** Sets the AI state from URL data. */\nconst setUrlParamsWire = wireDispatch('setUrlParams')\n/** Sets the AI state `params`. */\nconst setExtraParamsWire = wireCommit('setParams')\n\n/** Resets the AI state `query`. */\nconst resetAiQueryWire = wireCommit('setQuery', '')\n\n/** Sets the AI state `query`. */\nconst setAiQueryWire = wireCommit(\n 'setQuery',\n ({ eventPayload: { request } }: { eventPayload: InternalSearchResponse }) => request.query,\n)\n\n/** Fetches the AI suggestions streaming response. */\nconst fetchAndSaveAiSuggestionsWire = wireDispatch('fetchAndSaveAiSuggestions')\n\n/** Fetches and save the AI suggestions search response. */\nconst fetchAndSaveAiSuggestionsSearchWire = wireDispatch('fetchAndSaveAiSuggestionsSearch', true)\n\n/** Sets the AI state `relatedTags`.*/\nconst setAiRelatedTagsWire = wireCommit('setAiRelatedTags')\n\n/** Resets the related prompts state. */\nconst resetAiStateWire = wireCommitWithoutPayload('resetAiState')\n\n/** Sets the origin for the AI requests. */\nconst saveAiOriginWire = wireDispatch('saveOrigin', ({ metadata }) => metadata)\n\n/** Sets the AI state `selectedFilters`. */\nconst setSelectedFiltersWire = wireCommit('setSelectedFilters')\n\n/** Resets the AI state `searchTotalResults`. */\nconst resetSearchTotalResultsWire = wireCommit('setSearchTotalResults', 0)\n\n/** Sets the AI state `searchTotalResults`. */\nconst setSearchTotalResultsWire = wireCommit(\n 'setSearchTotalResults',\n ({ eventPayload }: { eventPayload: { totalResults: number } }) => eventPayload.totalResults,\n)\n\n/** Sets the excluded result IDs from the search results. */\nconst setExcludedResultIdsWire = mapWire<\n SearchXEvents['ResultsChanged'],\n ExtractMutationPayload<'ai', 'setExcludedResultIds'>\n>(wireCommit('setExcludedResultIds'), results => results.map(result => result.id))\n\n/**\n * Wiring configuration for the {@link AiXModule | AI module}.\n *\n * @internal\n */\nexport const aiWiring = createWiring({\n ParamsLoadedFromUrl: {\n setUrlParamsWire,\n },\n ExtraParamsChanged: {\n setExtraParamsWire,\n },\n UserClearedQuery: {\n resetAiQueryWire,\n resetSearchTotalResultsWire,\n },\n ResultsChanged: {\n setExcludedResultIdsWire,\n },\n AiSuggestionsRequestUpdated: {\n resetAiStateWire,\n fetchAndSaveAiSuggestionsWire,\n },\n AiSuggestionsSearchRequestUpdated: {\n fetchAndSaveAiSuggestionsSearchWire,\n },\n SelectedRelatedTagsChanged: {\n setAiRelatedTagsWire,\n },\n SelectedFiltersForRequestChanged: {\n setSelectedFiltersWire,\n },\n AiComponentMounted: {\n saveAiOriginWire,\n },\n SearchResponseChanged: {\n setAiQueryWire,\n setSearchTotalResultsWire,\n },\n})\n"],"names":[],"mappings":";;;;AAWA;AACA,MAAM,UAAU,GAAG,IAAI;AACvB;AACA,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC;AACnD;AACA,MAAM,wBAAwB,GAAG,kCAAkC,CAAC,UAAU,CAAC;AAC/E;AACA,MAAM,YAAY,GAAG,sBAAsB,CAAC,UAAU,CAAC;AAEvD;AACA,MAAM,gBAAgB,GAAG,YAAY,CAAC,cAAc,CAAC;AACrD;AACA,MAAM,kBAAkB,GAAG,UAAU,CAAC,WAAW,CAAC;AAElD;AACA,MAAM,gBAAgB,GAAG,UAAU,CAAC,UAAU,EAAE,EAAE,CAAC;AAEnD;AACA,MAAM,cAAc,GAAG,UAAU,CAC/B,UAAU,EACV,CAAC,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,EAA4C,KAAK,OAAO,CAAC,KAAK,CAC3F;AAED;AACA,MAAM,6BAA6B,GAAG,YAAY,CAAC,2BAA2B,CAAC;AAE/E;AACA,MAAM,mCAAmC,GAAG,YAAY,CAAC,iCAAiC,EAAE,IAAI,CAAC;AAEj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CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@empathyco/x-adapter": "8.1.4",
|
|
71
|
-
"@empathyco/x-adapter-platform": "1.
|
|
72
|
-
"@empathyco/x-types": "10.
|
|
71
|
+
"@empathyco/x-adapter-platform": "1.2.0",
|
|
72
|
+
"@empathyco/x-types": "10.2.0",
|
|
73
73
|
"@empathyco/x-utils": "1.0.5",
|
|
74
74
|
"@vue/devtools-api": "~6.6.4",
|
|
75
75
|
"@vueuse/core": "~12.8.2",
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
"rollup-plugin-styles": "4.0.0",
|
|
104
104
|
"rollup-plugin-typescript2": "0.37.0",
|
|
105
105
|
"rollup-plugin-vue": "6.0.0",
|
|
106
|
-
"start-server-and-test": "2.1.5",
|
|
107
106
|
"tailwindcss": "4.2.2",
|
|
108
107
|
"ts-node": "10.9.2",
|
|
109
108
|
"typescript": "5.9.3",
|
|
@@ -119,5 +118,5 @@
|
|
|
119
118
|
"access": "public",
|
|
120
119
|
"directory": "dist"
|
|
121
120
|
},
|
|
122
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "b23e9c753536fd1ba8e45012d0b510931852b7af"
|
|
123
122
|
}
|
|
@@ -4050,6 +4050,42 @@
|
|
|
4050
4050
|
"endIndex": 4
|
|
4051
4051
|
}
|
|
4052
4052
|
},
|
|
4053
|
+
{
|
|
4054
|
+
"kind": "PropertySignature",
|
|
4055
|
+
"canonicalReference": "@empathyco/x-adapter-platform!PlatformAiSuggestionsSearchRequest#excludeOptions:member",
|
|
4056
|
+
"docComment": "",
|
|
4057
|
+
"excerptTokens": [
|
|
4058
|
+
{
|
|
4059
|
+
"kind": "Content",
|
|
4060
|
+
"text": "excludeOptions: "
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"kind": "Content",
|
|
4064
|
+
"text": "{\n resultIds: "
|
|
4065
|
+
},
|
|
4066
|
+
{
|
|
4067
|
+
"kind": "Reference",
|
|
4068
|
+
"text": "Result",
|
|
4069
|
+
"canonicalReference": "@empathyco/x-adapter-platform!Result:interface"
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"kind": "Content",
|
|
4073
|
+
"text": "['id'][];\n }"
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"kind": "Content",
|
|
4077
|
+
"text": ";"
|
|
4078
|
+
}
|
|
4079
|
+
],
|
|
4080
|
+
"isReadonly": false,
|
|
4081
|
+
"isOptional": false,
|
|
4082
|
+
"releaseTag": "Public",
|
|
4083
|
+
"name": "excludeOptions",
|
|
4084
|
+
"propertyTypeTokenRange": {
|
|
4085
|
+
"startIndex": 1,
|
|
4086
|
+
"endIndex": 4
|
|
4087
|
+
}
|
|
4088
|
+
},
|
|
4053
4089
|
{
|
|
4054
4090
|
"kind": "PropertySignature",
|
|
4055
4091
|
"canonicalReference": "@empathyco/x-adapter-platform!PlatformAiSuggestionsSearchRequest#queries:member",
|
|
@@ -1637,6 +1637,42 @@
|
|
|
1637
1637
|
"endIndex": 4
|
|
1638
1638
|
}
|
|
1639
1639
|
},
|
|
1640
|
+
{
|
|
1641
|
+
"kind": "PropertySignature",
|
|
1642
|
+
"canonicalReference": "@empathyco/x-components!AiMutations#setExcludedResultIds:member",
|
|
1643
|
+
"docComment": "/**\n * Sets the result ids to exclude from the suggestions response.\n *\n * @param resultIds - The new resultIds.\n */\n",
|
|
1644
|
+
"excerptTokens": [
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "Content",
|
|
1647
|
+
"text": "setExcludedResultIds: "
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "Content",
|
|
1651
|
+
"text": "(resultIds: "
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "Reference",
|
|
1655
|
+
"text": "Result",
|
|
1656
|
+
"canonicalReference": "@empathyco/x-components!Result:interface"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"kind": "Content",
|
|
1660
|
+
"text": "['id'][]) => void"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"kind": "Content",
|
|
1664
|
+
"text": ";"
|
|
1665
|
+
}
|
|
1666
|
+
],
|
|
1667
|
+
"isReadonly": false,
|
|
1668
|
+
"isOptional": false,
|
|
1669
|
+
"releaseTag": "Public",
|
|
1670
|
+
"name": "setExcludedResultIds",
|
|
1671
|
+
"propertyTypeTokenRange": {
|
|
1672
|
+
"startIndex": 1,
|
|
1673
|
+
"endIndex": 4
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1640
1676
|
{
|
|
1641
1677
|
"kind": "PropertySignature",
|
|
1642
1678
|
"canonicalReference": "@empathyco/x-components!AiMutations#setIsNoResults:member",
|
|
@@ -2606,6 +2642,42 @@
|
|
|
2606
2642
|
"endIndex": 2
|
|
2607
2643
|
}
|
|
2608
2644
|
},
|
|
2645
|
+
{
|
|
2646
|
+
"kind": "PropertySignature",
|
|
2647
|
+
"canonicalReference": "@empathyco/x-components!AiState#excludeOptions:member",
|
|
2648
|
+
"docComment": "",
|
|
2649
|
+
"excerptTokens": [
|
|
2650
|
+
{
|
|
2651
|
+
"kind": "Content",
|
|
2652
|
+
"text": "excludeOptions: "
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "Content",
|
|
2656
|
+
"text": "{\n resultIds: "
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
"kind": "Reference",
|
|
2660
|
+
"text": "Result",
|
|
2661
|
+
"canonicalReference": "@empathyco/x-components!Result:interface"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "Content",
|
|
2665
|
+
"text": "['id'][];\n }"
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"kind": "Content",
|
|
2669
|
+
"text": ";"
|
|
2670
|
+
}
|
|
2671
|
+
],
|
|
2672
|
+
"isReadonly": false,
|
|
2673
|
+
"isOptional": false,
|
|
2674
|
+
"releaseTag": "Public",
|
|
2675
|
+
"name": "excludeOptions",
|
|
2676
|
+
"propertyTypeTokenRange": {
|
|
2677
|
+
"startIndex": 1,
|
|
2678
|
+
"endIndex": 4
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2609
2681
|
{
|
|
2610
2682
|
"kind": "PropertySignature",
|
|
2611
2683
|
"canonicalReference": "@empathyco/x-components!AiState#isNoResults:member",
|
|
@@ -258,6 +258,8 @@ export interface AiMutations extends ConfigMutations<AiState>, QueryMutations {
|
|
|
258
258
|
resetAiState: () => void;
|
|
259
259
|
// Warning: (ae-forgotten-export) The symbol "RelatedTag_2" needs to be exported by the entry point index.d.ts
|
|
260
260
|
setAiRelatedTags: (relatedTags: RelatedTag_2[]) => void;
|
|
261
|
+
// Warning: (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
|
|
262
|
+
setExcludedResultIds: (resultIds: Result['id'][]) => void;
|
|
261
263
|
setIsNoResults: (isNoResults: boolean) => void;
|
|
262
264
|
setOrigin: (origin: QueryOrigin | undefined | null) => void;
|
|
263
265
|
setParams: (params: Dictionary<unknown>) => void;
|
|
@@ -361,6 +363,10 @@ export { AIStarIcon }
|
|
|
361
363
|
export interface AiState extends QueryState {
|
|
362
364
|
// (undocumented)
|
|
363
365
|
config: AiConfig;
|
|
366
|
+
// (undocumented)
|
|
367
|
+
excludeOptions: {
|
|
368
|
+
resultIds: Result['id'][];
|
|
369
|
+
};
|
|
364
370
|
isNoResults: boolean;
|
|
365
371
|
origin: QueryOrigin | null;
|
|
366
372
|
params: Dictionary<unknown>;
|
|
@@ -397,6 +403,9 @@ export const aiWiring: {
|
|
|
397
403
|
resetAiQueryWire: AnyWire;
|
|
398
404
|
resetSearchTotalResultsWire: AnyWire;
|
|
399
405
|
};
|
|
406
|
+
ResultsChanged: {
|
|
407
|
+
setExcludedResultIdsWire: Wire<Result[]>;
|
|
408
|
+
};
|
|
400
409
|
AiSuggestionsRequestUpdated: {
|
|
401
410
|
resetAiStateWire: AnyWire;
|
|
402
411
|
fetchAndSaveAiSuggestionsWire: Wire<AiSuggestionsRequest | null>;
|
|
@@ -431,8 +440,6 @@ export interface AiXEvents {
|
|
|
431
440
|
AiSuggestionsSearchRequestUpdated: AiSuggestionsSearchRequest | null;
|
|
432
441
|
// (undocumented)
|
|
433
442
|
UserClickedAiOverviewExpandButton: boolean;
|
|
434
|
-
// Warning: (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
|
|
435
|
-
//
|
|
436
443
|
// (undocumented)
|
|
437
444
|
UserClickedAnAiOverviewResult: Result;
|
|
438
445
|
}
|
package/report/x-types.api.json
CHANGED
|
@@ -1062,6 +1062,42 @@
|
|
|
1062
1062
|
"name": "AiSuggestionsSearchRequest",
|
|
1063
1063
|
"preserveMemberOrder": false,
|
|
1064
1064
|
"members": [
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "PropertySignature",
|
|
1067
|
+
"canonicalReference": "@empathyco/x-types!AiSuggestionsSearchRequest#excludeOptions:member",
|
|
1068
|
+
"docComment": "",
|
|
1069
|
+
"excerptTokens": [
|
|
1070
|
+
{
|
|
1071
|
+
"kind": "Content",
|
|
1072
|
+
"text": "excludeOptions: "
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"kind": "Content",
|
|
1076
|
+
"text": "{\n resultIds: "
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"kind": "Reference",
|
|
1080
|
+
"text": "Result",
|
|
1081
|
+
"canonicalReference": "@empathyco/x-types!Result:interface"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"kind": "Content",
|
|
1085
|
+
"text": "['id'][];\n }"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"kind": "Content",
|
|
1089
|
+
"text": ";"
|
|
1090
|
+
}
|
|
1091
|
+
],
|
|
1092
|
+
"isReadonly": false,
|
|
1093
|
+
"isOptional": false,
|
|
1094
|
+
"releaseTag": "Public",
|
|
1095
|
+
"name": "excludeOptions",
|
|
1096
|
+
"propertyTypeTokenRange": {
|
|
1097
|
+
"startIndex": 1,
|
|
1098
|
+
"endIndex": 4
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1065
1101
|
{
|
|
1066
1102
|
"kind": "PropertySignature",
|
|
1067
1103
|
"canonicalReference": "@empathyco/x-types!AiSuggestionsSearchRequest#queries:member",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestions-search-request.getter.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/ai/store/getters/suggestions-search-request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,0BAA0B,
|
|
1
|
+
{"version":3,"file":"suggestions-search-request.getter.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/ai/store/getters/suggestions-search-request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAU1F,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/ai/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,cAAc,EAAE,MAAM,SAAS,CAAA;AAetD;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/ai/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,cAAc,EAAE,MAAM,SAAS,CAAA;AAetD;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,cA6E5B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AiSuggestionQuery, AiSuggestionSearch, AiSuggestionsRequest, AiSuggestionsSearchRequest, AiSuggestionTagging, Filter, RelatedTag } from '@empathyco/x-types';
|
|
1
|
+
import type { AiSuggestionQuery, AiSuggestionSearch, AiSuggestionsRequest, AiSuggestionsSearchRequest, AiSuggestionTagging, Filter, RelatedTag, Result } from '@empathyco/x-types';
|
|
2
2
|
import type { Dictionary } from '@empathyco/x-utils';
|
|
3
3
|
import type { ConfigMutations, QueryMutations, QueryState, XActionContext, XStoreModule } from '../../../store';
|
|
4
4
|
import type { RequestStatus } from '../../../store/utils/status-store.utils';
|
|
@@ -14,6 +14,9 @@ export interface AiState extends QueryState {
|
|
|
14
14
|
responseText: string;
|
|
15
15
|
suggestionText: string;
|
|
16
16
|
queries: AiSuggestionQuery[];
|
|
17
|
+
excludeOptions: {
|
|
18
|
+
resultIds: Result['id'][];
|
|
19
|
+
};
|
|
17
20
|
tagging: AiSuggestionTagging | undefined;
|
|
18
21
|
/** Status for the suggestions response */
|
|
19
22
|
suggestionsStatus: RequestStatus;
|
|
@@ -78,6 +81,12 @@ export interface AiMutations extends ConfigMutations<AiState>, QueryMutations {
|
|
|
78
81
|
* @param queries - The new queries.
|
|
79
82
|
*/
|
|
80
83
|
setQueries: (queries: AiSuggestionQuery[]) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the result ids to exclude from the suggestions response.
|
|
86
|
+
*
|
|
87
|
+
* @param resultIds - The new resultIds.
|
|
88
|
+
*/
|
|
89
|
+
setExcludedResultIds: (resultIds: Result['id'][]) => void;
|
|
81
90
|
/**
|
|
82
91
|
* Sets the tagging from the streamed response.
|
|
83
92
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/ai/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,MAAM,EACN,UAAU,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/ai/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,MAAM,EACN,UAAU,EACV,MAAM,EACP,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACb,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAA;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE/C;;;;GAIG;AACH,MAAM,WAAW,OAAQ,SAAQ,UAAU;IACzC,kDAAkD;IAClD,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,cAAc,EAAE;QACd,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAA;KAC1B,CAAA;IACD,OAAO,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACxC,0CAA0C;IAC1C,iBAAiB,EAA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,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,CAAC,CAAA"}
|
|
@@ -14,6 +14,9 @@ export declare const aiWiring: {
|
|
|
14
14
|
resetAiQueryWire: import("../../wiring").AnyWire;
|
|
15
15
|
resetSearchTotalResultsWire: import("../../wiring").AnyWire;
|
|
16
16
|
};
|
|
17
|
+
ResultsChanged: {
|
|
18
|
+
setExcludedResultIdsWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>;
|
|
19
|
+
};
|
|
17
20
|
AiSuggestionsRequestUpdated: {
|
|
18
21
|
resetAiStateWire: import("../../wiring").AnyWire;
|
|
19
22
|
fetchAndSaveAiSuggestionsWire: import("../../wiring").Wire<import("@empathyco/x-types").AiSuggestionsRequest | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/ai/wiring.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/ai/wiring.ts"],"names":[],"mappings":"AAmEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCnB,CAAA"}
|
package/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"related-prompts-tag-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAQnC;;;;;;;GAOG;;IAMC;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;8BAoE8B,MAAM,KAAG,IAAI;wBAiEnB,OAAO;kBAeb,OAAO,QAAQ,MAAM,IAAI;kBAkBzB,OAAO,QAAQ,MAAM,IAAI;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"related-prompts-tag-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-prompts/components/related-prompts-tag-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAQnC;;;;;;;GAOG;;IAMC;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;8BAoE8B,MAAM,KAAG,IAAI;wBAiEnB,OAAO;kBAeb,OAAO,QAAQ,MAAM,IAAI;kBAkBzB,OAAO,QAAQ,MAAM,IAAI;;;;;;;;;;;iCAoCyra,CAAC;sCAAqD,CAAC;8BAA6C,CAAC;;;;;;;;;;;;;IA7O50a;;;;OAIG;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;eACiB,QAAQ,CAAC,MAAM,EAAE,CAAC;IACtC;;;;OAIG;;;;;;;;;;;;;AAxCP,wBAiPE"}
|