@empathyco/x-components 3.0.0-alpha.65 → 3.0.0-alpha.68

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.
Files changed (114) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/core/index.js.map +1 -1
  3. package/design-system/full-theme.css +15 -14
  4. package/docs/API-reference/api/x-adapter.empathyqueryablerequestmapper.map.md +2 -2
  5. package/docs/API-reference/api/x-adapter.empathyqueryablerequestmapper.md +1 -1
  6. package/docs/API-reference/api/x-adapter.md +0 -1
  7. package/docs/API-reference/api/x-adapter.queryablerequest.md +0 -1
  8. package/docs/API-reference/api/x-components.historyqueriesmutations.md +2 -1
  9. package/docs/API-reference/api/x-components.historyqueriesstate.md +2 -1
  10. package/docs/API-reference/api/x-components.identifierresultsmutations.md +2 -2
  11. package/docs/API-reference/api/x-components.identifierresultsstate.md +2 -2
  12. package/docs/API-reference/api/x-components.md +3 -1
  13. package/docs/API-reference/api/x-components.nextqueriesmutations.md +2 -2
  14. package/docs/API-reference/api/x-components.nextqueriesstate.md +2 -2
  15. package/docs/API-reference/api/x-components.querysuggestionsmutations.md +2 -2
  16. package/docs/API-reference/api/x-components.querysuggestionsstate.md +2 -2
  17. package/docs/API-reference/api/x-components.relatedtagsgetters.md +1 -0
  18. package/docs/API-reference/api/x-components.relatedtagsgetters.query.md +13 -0
  19. package/docs/API-reference/api/x-components.relatedtagsmutations.md +2 -3
  20. package/docs/API-reference/api/x-components.relatedtagsquery.md +13 -0
  21. package/docs/API-reference/api/x-components.relatedtagsstate.md +2 -3
  22. package/docs/API-reference/api/x-components.searchboxmutations.md +2 -1
  23. package/docs/API-reference/api/x-components.searchboxstate.md +2 -1
  24. package/docs/API-reference/api/x-components.searchgetters.md +1 -0
  25. package/docs/API-reference/api/x-components.searchgetters.query.md +13 -0
  26. package/docs/API-reference/api/x-components.searchmutations.md +2 -2
  27. package/docs/API-reference/api/x-components.searchquery.md +13 -0
  28. package/docs/API-reference/api/x-components.searchstate.md +2 -2
  29. package/docs/API-reference/api/x-components.urlmutations.md +2 -1
  30. package/docs/API-reference/api/x-components.urlstate.initialextraparams.md +11 -0
  31. package/docs/API-reference/api/x-components.urlstate.md +9 -5
  32. package/docs/API-reference/api/x-types.relatedtag.md +0 -2
  33. package/js/index.js +2 -0
  34. package/js/index.js.map +1 -1
  35. package/js/store/utils/query.utils.js +37 -0
  36. package/js/store/utils/query.utils.js.map +1 -0
  37. package/js/x-modules/history-queries/store/module.js +2 -3
  38. package/js/x-modules/history-queries/store/module.js.map +1 -1
  39. package/js/x-modules/identifier-results/store/module.js +2 -3
  40. package/js/x-modules/identifier-results/store/module.js.map +1 -1
  41. package/js/x-modules/next-queries/store/module.js +2 -3
  42. package/js/x-modules/next-queries/store/module.js.map +1 -1
  43. package/js/x-modules/query-suggestions/store/module.js +2 -3
  44. package/js/x-modules/query-suggestions/store/module.js.map +1 -1
  45. package/js/x-modules/related-tags/store/actions/set-url-params.action.js +1 -3
  46. package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
  47. package/js/x-modules/related-tags/store/getters/query.getter.js +18 -0
  48. package/js/x-modules/related-tags/store/getters/query.getter.js.map +1 -0
  49. package/js/x-modules/related-tags/store/getters/request.getter.js +3 -2
  50. package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
  51. package/js/x-modules/related-tags/store/module.js +5 -4
  52. package/js/x-modules/related-tags/store/module.js.map +1 -1
  53. package/js/x-modules/search/store/getters/query.getter.js +18 -0
  54. package/js/x-modules/search/store/getters/query.getter.js.map +1 -0
  55. package/js/x-modules/search/store/getters/request.getter.js +2 -3
  56. package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
  57. package/js/x-modules/search/store/module.js +5 -4
  58. package/js/x-modules/search/store/module.js.map +1 -1
  59. package/js/x-modules/search-box/store/module.js +2 -3
  60. package/js/x-modules/search-box/store/module.js.map +1 -1
  61. package/js/x-modules/url/store/module.js +2 -3
  62. package/js/x-modules/url/store/module.js.map +1 -1
  63. package/package.json +8 -8
  64. package/related-tags/index.js +1 -0
  65. package/report/x-adapter.api.json +2 -133
  66. package/report/x-components.api.json +379 -110
  67. package/report/x-components.api.md +30 -19
  68. package/report/x-types.api.json +0 -52
  69. package/search/index.js +1 -0
  70. package/types/store/utils/query.utils.d.ts +56 -0
  71. package/types/store/utils/query.utils.d.ts.map +1 -0
  72. package/types/x-modules/history-queries/store/module.d.ts.map +1 -1
  73. package/types/x-modules/history-queries/store/types.d.ts +3 -2
  74. package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
  75. package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
  76. package/types/x-modules/identifier-results/store/types.d.ts +3 -2
  77. package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
  78. package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
  79. package/types/x-modules/next-queries/store/types.d.ts +3 -2
  80. package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
  81. package/types/x-modules/query-suggestions/store/module.d.ts.map +1 -1
  82. package/types/x-modules/query-suggestions/store/types.d.ts +3 -2
  83. package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
  84. package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +1 -1
  85. package/types/x-modules/related-tags/store/getters/query.getter.d.ts +13 -0
  86. package/types/x-modules/related-tags/store/getters/query.getter.d.ts.map +1 -0
  87. package/types/x-modules/related-tags/store/getters/request.getter.d.ts +2 -0
  88. package/types/x-modules/related-tags/store/getters/request.getter.d.ts.map +1 -1
  89. package/types/x-modules/related-tags/store/index.d.ts +1 -0
  90. package/types/x-modules/related-tags/store/index.d.ts.map +1 -1
  91. package/types/x-modules/related-tags/store/module.d.ts.map +1 -1
  92. package/types/x-modules/related-tags/store/types.d.ts +5 -10
  93. package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
  94. package/types/x-modules/search/store/getters/query.getter.d.ts +13 -0
  95. package/types/x-modules/search/store/getters/query.getter.d.ts.map +1 -0
  96. package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
  97. package/types/x-modules/search/store/index.d.ts +1 -0
  98. package/types/x-modules/search/store/index.d.ts.map +1 -1
  99. package/types/x-modules/search/store/module.d.ts.map +1 -1
  100. package/types/x-modules/search/store/types.d.ts +5 -2
  101. package/types/x-modules/search/store/types.d.ts.map +1 -1
  102. package/types/x-modules/search-box/store/module.d.ts.map +1 -1
  103. package/types/x-modules/search-box/store/types.d.ts +3 -2
  104. package/types/x-modules/search-box/store/types.d.ts.map +1 -1
  105. package/types/x-modules/url/store/module.d.ts.map +1 -1
  106. package/types/x-modules/url/store/types.d.ts +4 -3
  107. package/types/x-modules/url/store/types.d.ts.map +1 -1
  108. package/docs/API-reference/api/x-adapter.empathyrequestrelatedtagsquerymapper.map.md +0 -23
  109. package/docs/API-reference/api/x-adapter.empathyrequestrelatedtagsquerymapper.md +0 -21
  110. package/docs/API-reference/api/x-adapter.queryablerequest.relatedtags.md +0 -11
  111. package/docs/API-reference/api/x-components.relatedtagsmutations.setquery.md +0 -24
  112. package/docs/API-reference/api/x-components.relatedtagsstate.query.md +0 -13
  113. package/docs/API-reference/api/x-types.relatedtag.previous.md +0 -13
  114. package/docs/API-reference/api/x-types.relatedtag.selected.md +0 -13
@@ -1873,15 +1873,19 @@ export interface HistoryQueriesGetters {
1873
1873
  storageKey: string;
1874
1874
  }
1875
1875
 
1876
+ // Warning: (ae-forgotten-export) The symbol "QueryMutations" needs to be exported by the entry point index.d.ts
1877
+ //
1876
1878
  // @public
1877
- export interface HistoryQueriesMutations {
1879
+ export interface HistoryQueriesMutations extends QueryMutations {
1878
1880
  setHistoryQueries(historyQueries: HistoryQuery_2[]): void;
1879
1881
  setQuery(query: string): void;
1880
1882
  setSessionTimeStamp(timeStamp: number): void;
1881
1883
  }
1882
1884
 
1885
+ // Warning: (ae-forgotten-export) The symbol "QueryState" needs to be exported by the entry point index.d.ts
1886
+ //
1883
1887
  // @public
1884
- export interface HistoryQueriesState {
1888
+ export interface HistoryQueriesState extends QueryState {
1885
1889
  config: HistoryQueriesConfig;
1886
1890
  historyQueries: HistoryQuery_2[];
1887
1891
  query: string;
@@ -2010,7 +2014,7 @@ export interface IdentifierResultsGetters {
2010
2014
  }
2011
2015
 
2012
2016
  // @public
2013
- export interface IdentifierResultsMutations extends StatusMutations {
2017
+ export interface IdentifierResultsMutations extends StatusMutations, QueryMutations {
2014
2018
  setIdentifierResults(identifierResults: Result[]): void;
2015
2019
  setOrigin(origin: QueryOrigin | undefined | null): void;
2016
2020
  setParams(params: Dictionary<unknown>): void;
@@ -2021,7 +2025,7 @@ export interface IdentifierResultsMutations extends StatusMutations {
2021
2025
  export const identifierResultsRequest: IdentifierResultsXStoreModule['getters']['identifierResultsRequest'];
2022
2026
 
2023
2027
  // @public
2024
- export interface IdentifierResultsState extends StatusState {
2028
+ export interface IdentifierResultsState extends StatusState, QueryState {
2025
2029
  config: IdentifierResultsConfig;
2026
2030
  identifierResults: Result[];
2027
2031
  origin: QueryOrigin | null;
@@ -2408,7 +2412,7 @@ export class NextQueriesList extends NextQueriesList_base {
2408
2412
  }
2409
2413
 
2410
2414
  // @public
2411
- export interface NextQueriesMutations extends StatusMutations {
2415
+ export interface NextQueriesMutations extends StatusMutations, QueryMutations {
2412
2416
  setNextQueries(nextQueries: NextQuery_2[]): void;
2413
2417
  setParams(params: Dictionary<unknown>): void;
2414
2418
  setQuery(newQuery: string): void;
@@ -2419,7 +2423,7 @@ export interface NextQueriesMutations extends StatusMutations {
2419
2423
  export const nextQueriesRequest: NextQueriesXStoreModule['getters']['request'];
2420
2424
 
2421
2425
  // @public
2422
- export interface NextQueriesState extends StatusState {
2426
+ export interface NextQueriesState extends StatusState, QueryState {
2423
2427
  config: NextQueriesConfig;
2424
2428
  nextQueries: NextQuery_2[];
2425
2429
  params: Dictionary<unknown>;
@@ -2786,7 +2790,7 @@ export interface QuerySuggestionsGetters {
2786
2790
  }
2787
2791
 
2788
2792
  // @public
2789
- export interface QuerySuggestionsMutations extends StatusMutations {
2793
+ export interface QuerySuggestionsMutations extends StatusMutations, QueryMutations {
2790
2794
  setParams(params: Dictionary<unknown>): void;
2791
2795
  setQuery(newQuery: string): void;
2792
2796
  setSuggestions(suggestions: Suggestion[]): void;
@@ -2796,7 +2800,7 @@ export interface QuerySuggestionsMutations extends StatusMutations {
2796
2800
  export const querySuggestionsRequest: QuerySuggestionsXStoreModule['getters']['request'];
2797
2801
 
2798
2802
  // @public
2799
- export interface QuerySuggestionsState extends StatusState {
2803
+ export interface QuerySuggestionsState extends StatusState, QueryState {
2800
2804
  config: QuerySuggestionsConfig;
2801
2805
  params: Dictionary<unknown>;
2802
2806
  query: string;
@@ -3039,26 +3043,28 @@ export const relatedTagsEmitters: {
3039
3043
 
3040
3044
  // @public
3041
3045
  export interface RelatedTagsGetters {
3046
+ query: string;
3042
3047
  relatedTags: RelatedTag_2[];
3043
3048
  request: RelatedTagsRequest | null;
3044
3049
  }
3045
3050
 
3046
3051
  // @public
3047
- export interface RelatedTagsMutations extends StatusMutations {
3052
+ export interface RelatedTagsMutations extends StatusMutations, QueryMutations {
3048
3053
  setParams(params: Dictionary<unknown>): void;
3049
- setQuery(newQuery: string): void;
3050
3054
  setRelatedTags(relatedTags: RelatedTag_2[]): void;
3051
3055
  setSelectedRelatedTags(selectedRelatedTags: RelatedTag_2[]): void;
3052
3056
  }
3053
3057
 
3058
+ // @public
3059
+ export const relatedTagsQuery: RelatedTagsXStoreModule['getters']['query'];
3060
+
3054
3061
  // @public
3055
3062
  export const relatedTagsRequest: RelatedTagsXStoreModule['getters']['request'];
3056
3063
 
3057
3064
  // @public
3058
- export interface RelatedTagsState extends StatusState {
3065
+ export interface RelatedTagsState extends StatusState, QueryState {
3059
3066
  config: RelatedTagsConfig;
3060
3067
  params: Dictionary<unknown>;
3061
- query: string;
3062
3068
  relatedTags: RelatedTag_2[];
3063
3069
  selectedRelatedTags: RelatedTag_2[];
3064
3070
  }
@@ -3440,12 +3446,12 @@ export interface SearchBoxGetters {
3440
3446
  }
3441
3447
 
3442
3448
  // @public
3443
- export interface SearchBoxMutations {
3449
+ export interface SearchBoxMutations extends QueryMutations {
3444
3450
  setQuery(newQuery: string): void;
3445
3451
  }
3446
3452
 
3447
3453
  // @public
3448
- export interface SearchBoxState {
3454
+ export interface SearchBoxState extends QueryState {
3449
3455
  query: string;
3450
3456
  }
3451
3457
 
@@ -3532,6 +3538,7 @@ export const searchEmitters: {
3532
3538
 
3533
3539
  // @public
3534
3540
  export interface SearchGetters {
3541
+ query: string;
3535
3542
  request: InternalSearchRequest | null;
3536
3543
  }
3537
3544
 
@@ -3581,7 +3588,7 @@ export class SearchInput extends Vue_2 {
3581
3588
  }
3582
3589
 
3583
3590
  // @public
3584
- export interface SearchMutations extends StatusMutations {
3591
+ export interface SearchMutations extends StatusMutations, QueryMutations {
3585
3592
  appendResults(results: Result[]): void;
3586
3593
  setBanners(banners: Banner_2[]): void;
3587
3594
  setFacets(facets: Facet[]): void;
@@ -3604,11 +3611,14 @@ export interface SearchMutations extends StatusMutations {
3604
3611
  setTotalResults(totalResults: number): void;
3605
3612
  }
3606
3613
 
3614
+ // @public
3615
+ export const searchQuery: SearchXStoreModule['getters']['query'];
3616
+
3607
3617
  // @public
3608
3618
  export const searchRequest: SearchXStoreModule['getters']['request'];
3609
3619
 
3610
3620
  // @public
3611
- export interface SearchState extends StatusState {
3621
+ export interface SearchState extends StatusState, QueryState {
3612
3622
  banners: Banner_2[];
3613
3623
  config: SearchConfig;
3614
3624
  facets: Facet[];
@@ -4443,7 +4453,7 @@ export class UrlHandler extends Vue_2 {
4443
4453
  }
4444
4454
 
4445
4455
  // @public
4446
- export interface UrlMutations {
4456
+ export interface UrlMutations extends QueryMutations {
4447
4457
  setFilters(filters: Filter[]): void;
4448
4458
  setInitialExtraParams(extraParams: Dictionary<unknown>): void;
4449
4459
  setPage(page: number): void;
@@ -4479,9 +4489,10 @@ export interface UrlParams {
4479
4489
  export type UrlParamValue = string | number | boolean | Array<string | number | boolean>;
4480
4490
 
4481
4491
  // @public
4482
- export type UrlState = UrlParams & {
4492
+ export interface UrlState extends QueryState, UrlParams {
4493
+ // (undocumented)
4483
4494
  initialExtraParams: Dictionary<unknown>;
4484
- };
4495
+ }
4485
4496
 
4486
4497
  // @internal
4487
4498
  export const urlWiring: {
@@ -3425,58 +3425,6 @@
3425
3425
  "endIndex": 2
3426
3426
  }
3427
3427
  },
3428
- {
3429
- "kind": "PropertySignature",
3430
- "canonicalReference": "@empathyco/x-types!RelatedTag#previous:member",
3431
- "docComment": "/**\n * The query to refine.\n */\n",
3432
- "excerptTokens": [
3433
- {
3434
- "kind": "Content",
3435
- "text": "previous: "
3436
- },
3437
- {
3438
- "kind": "Content",
3439
- "text": "string"
3440
- },
3441
- {
3442
- "kind": "Content",
3443
- "text": ";"
3444
- }
3445
- ],
3446
- "isOptional": false,
3447
- "releaseTag": "Public",
3448
- "name": "previous",
3449
- "propertyTypeTokenRange": {
3450
- "startIndex": 1,
3451
- "endIndex": 2
3452
- }
3453
- },
3454
- {
3455
- "kind": "PropertySignature",
3456
- "canonicalReference": "@empathyco/x-types!RelatedTag#selected:member",
3457
- "docComment": "/**\n * If selection mode is enabled, tells if this related tag is selected or not.\n */\n",
3458
- "excerptTokens": [
3459
- {
3460
- "kind": "Content",
3461
- "text": "selected: "
3462
- },
3463
- {
3464
- "kind": "Content",
3465
- "text": "boolean"
3466
- },
3467
- {
3468
- "kind": "Content",
3469
- "text": ";"
3470
- }
3471
- ],
3472
- "isOptional": false,
3473
- "releaseTag": "Public",
3474
- "name": "selected",
3475
- "propertyTypeTokenRange": {
3476
- "startIndex": 1,
3477
- "endIndex": 2
3478
- }
3479
- },
3480
3428
  {
3481
3429
  "kind": "PropertySignature",
3482
3430
  "canonicalReference": "@empathyco/x-types!RelatedTag#tag:member",
package/search/index.js CHANGED
@@ -15,6 +15,7 @@ export { cancelFetchAndSaveSearchResponse, fetchAndSaveSearchResponse } from '..
15
15
  export { fetchSearchResponse } from '../js/x-modules/search/store/actions/fetch-search-response.action.js';
16
16
  export { searchEmitters } from '../js/x-modules/search/store/emitters.js';
17
17
  export { request as searchRequest } from '../js/x-modules/search/store/getters/request.getter.js';
18
+ export { query as searchQuery } from '../js/x-modules/search/store/getters/query.getter.js';
18
19
  export { searchXStoreModule } from '../js/x-modules/search/store/module.js';
19
20
  export { cancelFetchAndSaveSearchResponseWire, fetchAndSaveSearchResponseWire, increasePageAppendingResults, resetAppending, resetSpellcheckQuery, resetStateWire, saveOriginWire, searchWiring, setPageSize, setRelatedTags, setSearchExtraParams, setSearchPage, setSearchQuery, setSelectedFilters, setSort, setUrlParams } from '../js/x-modules/search/wiring.js';
20
21
  export { searchXModule } from '../js/x-modules/search/x-module.js';
@@ -0,0 +1,56 @@
1
+ import { RelatedTag } from '@empathyco/x-types';
2
+ /**
3
+ * Query state type, containing a property to hold the current query of the module.
4
+ *
5
+ * @public
6
+ */
7
+ export interface QueryState {
8
+ /** The query of the module. Different modules may have queries that differ in value
9
+ * or time. */
10
+ query: string;
11
+ }
12
+ /**
13
+ * The {@link QueryState} mutations.
14
+ *
15
+ * @public
16
+ */
17
+ export interface QueryMutations {
18
+ /**
19
+ * Sets the query.
20
+ *
21
+ * @param query - The new query.
22
+ */
23
+ setQuery(query: string): void;
24
+ }
25
+ /**
26
+ * Options to create a getter that combines the query with the selected related tags.
27
+ *
28
+ * @public
29
+ */
30
+ export interface CreateRelatedTagsQueryGetterOptions<State, Getters> {
31
+ /**
32
+ * Retrieves the selected related tags of the module.
33
+ *
34
+ * @param state - The state of the module.
35
+ * @param getters - The getters of the module.
36
+ * @returns The list of selected related tags.
37
+ */
38
+ getRelatedTags: (state: State, getters: Getters) => RelatedTag[];
39
+ }
40
+ /**
41
+ * Sets the query of the module.
42
+ *
43
+ * @param state - State of the module.
44
+ * @param query - The new query to set.
45
+ * @public
46
+ */
47
+ export declare function setQuery(state: QueryState, query: string): void;
48
+ /**
49
+ * Creates a getter that combines the current selected related tags and the query of the module.
50
+ *
51
+ * @param options - Options on how the getter should behave.
52
+ * @returns A getter that combines the selected related tags with the query.
53
+ * @public
54
+ */
55
+ export declare function createRelatedTagsQueryGetter<State extends QueryState, Getters>({ getRelatedTags }: CreateRelatedTagsQueryGetterOptions<State, Getters>): (state: State, getters: Getters) => string;
56
+ //# sourceMappingURL=query.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.utils.d.ts","sourceRoot":"","sources":["../../../../src/store/utils/query.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;kBACc;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,mCAAmC,CAAC,KAAK,EAAE,OAAO;IACjE;;;;;;OAMG;IACH,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,KAAK,UAAU,EAAE,CAAC;CAClE;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAE/D;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,SAAS,UAAU,EAAE,OAAO,EAAE,EAC9E,cAAc,EACf,EAAE,mCAAmC,CAAC,KAAK,EAAE,OAAO,CAAC,GAAG,CACvD,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,KACb,MAAM,CAKV"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAqCxC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAmCxC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { HistoryQuery } from '@empathyco/x-types';
2
2
  import { XActionContext, XStoreModule } from '../../../store';
3
+ import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
3
4
  import { UrlParams } from '../../../types/url-params';
4
5
  import { HistoryQueriesConfig } from '../config.types';
5
6
  /**
@@ -7,7 +8,7 @@ import { HistoryQueriesConfig } from '../config.types';
7
8
  *
8
9
  * @public
9
10
  */
10
- export interface HistoryQueriesState {
11
+ export interface HistoryQueriesState extends QueryState {
11
12
  /**
12
13
  * Configuration for the `HistoryQueries` module.
13
14
  */
@@ -55,7 +56,7 @@ export interface HistoryQueriesGetters {
55
56
  *
56
57
  * @public
57
58
  */
58
- export interface HistoryQueriesMutations {
59
+ export interface HistoryQueriesMutations extends QueryMutations {
59
60
  /**
60
61
  * Sets the {@link HistoryQueriesState.historyQueries} property.
61
62
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,oBAAoB,CAAC;IAC7B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;I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cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD;;OAEG;IACH,MAAM,EAAE,oBAAoB,CAAC;IAC7B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B,qCAAqC;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,qBAAqB,EAAE,YAAY,EAAE,CAAC;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AACD;;;;GAIG;AACH,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D;;;;OAIG;IACH,iBAAiB,CAAC,cAAc,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AACD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;OAGG;IACH,oCAAoC,IAAI,IAAI,CAAC;IAC7C;;OAEG;IACH,cAAc,IAAI,IAAI,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IACpD;;;;;;OAMG;IACH,iBAAiB,CAAC,cAAc,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AACD;;;;GAIG;AACH,oBAAY,0BAA0B,GAAG,YAAY,CACnD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,2BAA2B,GAAG,cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,6BAyC3C,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,6BAuC3C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { SearchByIdRequest } from '@empathyco/x-adapter';
2
2
  import { Result } from '@empathyco/x-types';
3
3
  import { XActionContext, XStoreModule } from '../../../store';
4
+ import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
4
5
  import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
5
6
  import { QueryOrigin, QueryOriginInit } from '../../../types/origin';
6
7
  import { Dictionary } from '../../../utils';
@@ -10,7 +11,7 @@ import { IdentifierResultsConfig } from '../config.types';
10
11
  *
11
12
  * @public
12
13
  */
13
- export interface IdentifierResultsState extends StatusState {
14
+ export interface IdentifierResultsState extends StatusState, QueryState {
14
15
  /** The configuration of the identifier results module. */
15
16
  config: IdentifierResultsConfig;
16
17
  /** The list of the identifier results, related to the `query` property of the state. */
@@ -42,7 +43,7 @@ export interface IdentifierResultsGetters {
42
43
  *
43
44
  * @public
44
45
  */
45
- export interface IdentifierResultsMutations extends StatusMutations {
46
+ export interface IdentifierResultsMutations extends StatusMutations, QueryMutations {
46
47
  /**
47
48
  * Sets the identifier results of the module.
48
49
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,0DAA0D;IAC1D,MAAM,EAAE,uBAAuB,CAAC;IAChC,wFAAwF;IACxF,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,0CAA0C;IAC1C,MAAM,EAAE,WA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AwB,CACzB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,+BAA+B,GAAG,cAAc,CAC1D,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW,EAAE,UAAU;IACrE,0DAA0D;IAC1D,MAAM,EAAE,uBAAuB,CAAC;IAChC,wFAAwF;IACxF,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,0CAA0C;IAC1C,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,8CAA8C;IAC9C,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;yCACqC;IACrC,wBAAwB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACnD,4CAA4C;IAC5C,yBAAyB,EAAE,MAAM,CAAC;IAClC;6BACyB;IACzB,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA2B,SAAQ,eAAe,EAAE,cAAc;IACjF;;;;OAIG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxD;;;;;OAKG;IACH,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,mCAAmC,IAAI,IAAI,CAAC;IAC5C;;;;OAIG;IACH,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,MAAM,EAAE,CAAC;IACpE;;OAEG;IACH,6BAA6B,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC;IACvE;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;;;GAIG;AACH,oBAAY,6BAA6B,GAAG,YAAY,CACtD,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,+BAA+B,GAAG,cAAc,CAC1D,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,uBAuCrC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,uBAqCrC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { NextQueriesRequest } from '@empathyco/x-adapter';
2
2
  import { HistoryQuery, NextQuery } from '@empathyco/x-types';
3
3
  import { XActionContext, XStoreModule } from '../../../store';
4
+ import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
4
5
  import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
5
6
  import { UrlParams } from '../../../types/url-params';
6
7
  import { Dictionary } from '../../../utils';
@@ -10,7 +11,7 @@ import { NextQueriesConfig } from '../config.types';
10
11
  *
11
12
  * @public
12
13
  */
13
- export interface NextQueriesState extends StatusState {
14
+ export interface NextQueriesState extends StatusState, QueryState {
14
15
  /** The internal query of the module. Used to request the next queries. */
15
16
  query: string;
16
17
  /** The list of the next queries, related to the `query` property of the state. */
@@ -39,7 +40,7 @@ export interface NextQueriesGetters {
39
40
  *
40
41
  * @public
41
42
  */
42
- export interface NextQueriesMutations extends StatusMutations {
43
+ export interface NextQueriesMutations extends StatusMutations, QueryMutations {
43
44
  /**
44
45
  * Sets the query of the module, which is used to retrieve the next-queries.
45
46
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAA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kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/module.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,4BAoC1C,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,4BAkC1C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { SuggestionsRequest } from '@empathyco/x-adapter';
2
2
  import { Suggestion } from '@empathyco/x-types';
3
3
  import { XActionContext, XStoreModule } from '../../../store';
4
+ import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
4
5
  import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
5
6
  import { UrlParams } from '../../../types/url-params';
6
7
  import { Dictionary } from '../../../utils';
@@ -10,7 +11,7 @@ import { QuerySuggestionsConfig } from '../config.types';
10
11
  *
11
12
  * @public
12
13
  */
13
- export interface QuerySuggestionsState extends StatusState {
14
+ export interface QuerySuggestionsState extends StatusState, QueryState {
14
15
  /** The query of the query suggestions module. Used to request the suggestions. */
15
16
  query: string;
16
17
  /** The suggestions for the query of the state. */
@@ -39,7 +40,7 @@ export interface QuerySuggestionsGetters {
39
40
  *
40
41
  * @public
41
42
  */
42
- export interface QuerySuggestionsMutations extends StatusMutations {
43
+ export interface QuerySuggestionsMutations extends StatusMutations, QueryMutations {
43
44
  /**
44
45
  * Sets the query of the query suggestions module.
45
46
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/types.ts"],"names":[],"m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,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,UAAU,EAAE,CAAC;IACnE;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,oBAAY,4BAA4B,GAAG,YAAY,CACrD,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,CACxB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,6BAA6B,GAAG,cAAc,CACxD,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,CACxB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW,EAAE,UAAU;IACpE,kFAAkF;IAClF,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,yDAAyD;IACzD,MAAM,EAAE,sBAAs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modules/related-tags/store/actions/set-url-params.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAoBnD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,cAAc,CAO3E,CAAC"}
1
+ {"version":3,"file":"set-url-params.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/actions/set-url-params.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAkBnD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,cAAc,CAO3E,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { RelatedTagsXStoreModule } from '../types';
2
+ /**
3
+ * Default implementation for the {@link RelatedTagsGetters.query} getter.
4
+ *
5
+ * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
6
+ * tags' module.
7
+ *
8
+ * @returns The query with the selected related tags concatenated.
9
+ *
10
+ * @public
11
+ */
12
+ export declare const query: RelatedTagsXStoreModule['getters']['query'];
13
+ //# sourceMappingURL=query.getter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/getters/query.getter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,OAAO,CAE5D,CAAC"}
@@ -4,6 +4,8 @@ import { RelatedTagsXStoreModule } from '../types';
4
4
  *
5
5
  * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
6
6
  * tags module.
7
+ * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the
8
+ * related tags module.
7
9
  *
8
10
  * @returns The related tags request to fetch data from the API.
9
11
  *
@@ -1 +1 @@
1
- {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,SAAS,CAejE,CAAC"}
1
+ {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,SAAS,CAYjE,CAAC"}
@@ -3,6 +3,7 @@ export * from './actions/fetch-related-tags.action';
3
3
  export * from './actions/toggle-related-tag.action';
4
4
  export * from './emitters';
5
5
  export * from './getters/related-tags.getter';
6
+ export { query as relatedTagsQuery } from './getters/query.getter';
6
7
  export { request as relatedTagsRequest } from './getters/request.getter';
7
8
  export * from './module';
8
9
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/module.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB,EAAE,uBAqCrC,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB,EAAE,uBAoCrC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { RelatedTagsRequest } from '@empathyco/x-adapter';
2
2
  import { RelatedTag } from '@empathyco/x-types';
3
3
  import { XActionContext, XStoreModule } from '../../../store';
4
+ import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
4
5
  import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
5
6
  import { UrlParams } from '../../../types/url-params';
6
7
  import { Dictionary } from '../../../utils';
@@ -10,9 +11,7 @@ import { RelatedTagsConfig } from '../config.types';
10
11
  *
11
12
  * @public
12
13
  */
13
- export interface RelatedTagsState extends StatusState {
14
- /** The internal query of the module. Used to request the related tags. */
15
- query: string;
14
+ export interface RelatedTagsState extends StatusState, QueryState {
16
15
  /** The list of the related tags, related to the `query` property of the state. */
17
16
  relatedTags: RelatedTag[];
18
17
  /** The list of the selected related tags. */
@@ -35,19 +34,15 @@ export interface RelatedTagsGetters {
35
34
  * (if there are any), and then the unselected ones.
36
35
  */
37
36
  relatedTags: RelatedTag[];
37
+ /** The combination of the query and the selected related tags. */
38
+ query: string;
38
39
  }
39
40
  /**
40
41
  * RelatedTags store mutations.
41
42
  *
42
43
  * @public
43
44
  */
44
- export interface RelatedTagsMutations extends StatusMutations {
45
- /**
46
- * Sets the query of the module, which is used to retrieve the related tags.
47
- *
48
- * @param newQuery - The new query to save to the state.
49
- */
50
- setQuery(newQuery: string): void;
45
+ export interface RelatedTagsMutations extends StatusMutations, QueryMutations {
51
46
  /**
52
47
  * Sets the related tags of the module.
53
48
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,6CAA6C;IAC7C,mBAAmB,EAAE,UAAU,EAAE,CAAC;IAClC,oDAAoD;IACpD,MAAM,EAAE,iBAAiB,CAAC;IAC1B,8CAA8C;IAC9C,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B;AACD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;yCACqC;IACrC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AACD;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,cAAc,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAChD;;;;OAIG;IACH,sBAAsB,CAAC,mBAAmB,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAChE;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;CAC9C;AACD;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,6BAA6B,IAAI,IAAI,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,UAAU,EAAE,CAAC;IACnE;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;OAEG;IACH,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC/C;;;OAGG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AACD;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG,YAAY,CAChD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,wBAAwB,GAAG,cAAc,CACnD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MA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;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,6BAA6B,IAAI,IAAI,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,UAAU,EAAE,CAAC;IACnE;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;OAEG;IACH,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC/C;;;OAGG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AACD;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG,YAAY,CAChD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,wBAAwB,GAAG,cAAc,CACnD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { SearchXStoreModule } from '../types';
2
+ /**
3
+ * Default implementation for the {@link SearchState.query} getter.
4
+ *
5
+ * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
6
+ * tags' module.
7
+ *
8
+ * @returns The query with the selected related tags concatenated.
9
+ *
10
+ * @public
11
+ */
12
+ export declare const query: SearchXStoreModule['getters']['query'];
13
+ //# sourceMappingURL=query.getter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/query.getter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,CAEvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,SAAS,CAkB5D,CAAC"}
1
+ {"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,SAAS,CAa5D,CAAC"}
@@ -2,6 +2,7 @@ export * from './actions/fetch-and-save-search-response.action';
2
2
  export * from './actions/fetch-search-response.action';
3
3
  export * from './emitters';
4
4
  export { request as searchRequest } from './getters/request.getter';
5
+ export { query as searchQuery } from './getters/query.getter';
5
6
  export * from './module';
6
7
  export * from './types';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC9D,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}