@empathyco/x-components 6.0.0-alpha.22 → 6.0.0-alpha.24

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 (89) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/core/index.js +3 -0
  3. package/core/index.js.map +1 -1
  4. package/design-system/deprecated-full-theme.css +3674 -3674
  5. package/docs/API-reference/api/x-components.configmutations.config.md +11 -0
  6. package/docs/API-reference/api/x-components.configmutations.md +29 -0
  7. package/docs/API-reference/api/x-components.configmutations.mergeconfig.md +24 -0
  8. package/docs/API-reference/api/x-components.configmutations.setconfig.md +24 -0
  9. package/docs/API-reference/api/x-components.createrelatedtagsquerygetter.md +26 -0
  10. package/docs/API-reference/api/x-components.createrelatedtagsquerygetteroptions.getrelatedtags.md +13 -0
  11. package/docs/API-reference/api/x-components.createrelatedtagsquerygetteroptions.md +20 -0
  12. package/docs/API-reference/api/x-components.empathizemutations.md +1 -1
  13. package/docs/API-reference/api/x-components.facetsmutations.md +1 -1
  14. package/docs/API-reference/api/x-components.historyqueriesmutations.md +1 -1
  15. package/docs/API-reference/api/x-components.historyqueriesstate.md +1 -1
  16. package/docs/API-reference/api/x-components.identifierresultsmutations.md +1 -1
  17. package/docs/API-reference/api/x-components.identifierresultsstate.md +1 -1
  18. package/docs/API-reference/api/x-components.installxoptions.installextraplugins.md +2 -2
  19. package/docs/API-reference/api/x-components.md +8 -0
  20. package/docs/API-reference/api/x-components.mergeconfig.md +27 -0
  21. package/docs/API-reference/api/x-components.nextqueriesmutations.md +1 -1
  22. package/docs/API-reference/api/x-components.nextqueriesstate.md +1 -1
  23. package/docs/API-reference/api/x-components.popularsearchesmutations.md +1 -1
  24. package/docs/API-reference/api/x-components.queriespreviewmutations.md +1 -1
  25. package/docs/API-reference/api/x-components.querymutations.md +20 -0
  26. package/docs/API-reference/api/x-components.querymutations.setquery.md +24 -0
  27. package/docs/API-reference/api/x-components.querystate.md +20 -0
  28. package/docs/API-reference/api/x-components.querystate.query.md +13 -0
  29. package/docs/API-reference/api/x-components.querysuggestionsmutations.md +1 -1
  30. package/docs/API-reference/api/x-components.querysuggestionsstate.md +1 -1
  31. package/docs/API-reference/api/x-components.recommendationsmutations.md +1 -1
  32. package/docs/API-reference/api/x-components.relatedpromptsmutations.md +1 -1
  33. package/docs/API-reference/api/x-components.relatedpromptsstate.md +1 -1
  34. package/docs/API-reference/api/x-components.relatedtagsmutations.md +1 -1
  35. package/docs/API-reference/api/x-components.relatedtagsstate.md +1 -1
  36. package/docs/API-reference/api/x-components.searchboxmutations.md +1 -1
  37. package/docs/API-reference/api/x-components.searchboxstate.md +1 -1
  38. package/docs/API-reference/api/x-components.searchmutations.md +1 -1
  39. package/docs/API-reference/api/x-components.searchstate.md +1 -1
  40. package/docs/API-reference/api/x-components.semanticqueriesmutations.md +1 -1
  41. package/docs/API-reference/api/x-components.semanticqueriesstate.md +1 -1
  42. package/docs/API-reference/api/x-components.setconfig.md +27 -0
  43. package/docs/API-reference/api/x-components.setquery.md +25 -0
  44. package/docs/API-reference/api/x-components.taggingmutations.md +1 -1
  45. package/docs/API-reference/api/x-components.urlmutations.md +1 -1
  46. package/docs/API-reference/api/x-components.urlstate.md +1 -1
  47. package/js/index.js +3 -0
  48. package/js/index.js.map +1 -1
  49. package/js/x-modules/device/store/emitters.js +1 -0
  50. package/js/x-modules/device/store/emitters.js.map +1 -1
  51. package/js/x-modules/empathize/store/emitters.js +1 -0
  52. package/js/x-modules/empathize/store/emitters.js.map +1 -1
  53. package/js/x-modules/experience-controls/store/emitters.js +1 -0
  54. package/js/x-modules/experience-controls/store/emitters.js.map +1 -1
  55. package/js/x-modules/extra-params/store/emitters.js +1 -0
  56. package/js/x-modules/extra-params/store/emitters.js.map +1 -1
  57. package/js/x-modules/history-queries/store/emitters.js +1 -0
  58. package/js/x-modules/history-queries/store/emitters.js.map +1 -1
  59. package/js/x-modules/identifier-results/store/emitters.js +1 -0
  60. package/js/x-modules/identifier-results/store/emitters.js.map +1 -1
  61. package/js/x-modules/next-queries/store/emitters.js +1 -0
  62. package/js/x-modules/next-queries/store/emitters.js.map +1 -1
  63. package/js/x-modules/queries-preview/store/emitters.js +1 -0
  64. package/js/x-modules/queries-preview/store/emitters.js.map +1 -1
  65. package/js/x-modules/query-suggestions/store/emitters.js +1 -0
  66. package/js/x-modules/query-suggestions/store/emitters.js.map +1 -1
  67. package/js/x-modules/recommendations/store/emitters.js +1 -0
  68. package/js/x-modules/recommendations/store/emitters.js.map +1 -1
  69. package/js/x-modules/related-prompts/store/emitters.js +1 -0
  70. package/js/x-modules/related-prompts/store/emitters.js.map +1 -1
  71. package/js/x-modules/related-tags/store/emitters.js +1 -0
  72. package/js/x-modules/related-tags/store/emitters.js.map +1 -1
  73. package/js/x-modules/scroll/store/emitters.js +1 -0
  74. package/js/x-modules/scroll/store/emitters.js.map +1 -1
  75. package/js/x-modules/search/store/emitters.js +1 -0
  76. package/js/x-modules/search/store/emitters.js.map +1 -1
  77. package/js/x-modules/search/store/module.js +2 -1
  78. package/js/x-modules/search/store/module.js.map +1 -1
  79. package/js/x-modules/search-box/store/emitters.js +1 -0
  80. package/js/x-modules/search-box/store/emitters.js.map +1 -1
  81. package/js/x-modules/url/store/emitters.js +1 -0
  82. package/js/x-modules/url/store/emitters.js.map +1 -1
  83. package/package.json +2 -2
  84. package/report/x-components.api.json +701 -36
  85. package/report/x-components.api.md +50 -8
  86. package/types/store/index.d.ts +4 -1
  87. package/types/store/index.d.ts.map +1 -1
  88. package/types/x-installer/x-installer/types.d.ts +1 -1
  89. package/types/x-installer/x-installer/types.d.ts.map +1 -1
@@ -12237,6 +12237,162 @@
12237
12237
  "endIndex": 24
12238
12238
  }
12239
12239
  },
12240
+ {
12241
+ "kind": "Interface",
12242
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface",
12243
+ "docComment": "/**\n * Config mutations, containing a method to change the current config and other to merge a new one.\n *\n * @public\n */\n",
12244
+ "excerptTokens": [
12245
+ {
12246
+ "kind": "Content",
12247
+ "text": "export interface ConfigMutations<T extends "
12248
+ },
12249
+ {
12250
+ "kind": "Content",
12251
+ "text": "{\n config: T['config'];\n}"
12252
+ },
12253
+ {
12254
+ "kind": "Content",
12255
+ "text": "> "
12256
+ }
12257
+ ],
12258
+ "fileUrlPath": "src/store/utils/config-store.utils.ts",
12259
+ "releaseTag": "Public",
12260
+ "typeParameters": [
12261
+ {
12262
+ "typeParameterName": "T",
12263
+ "constraintTokenRange": {
12264
+ "startIndex": 1,
12265
+ "endIndex": 2
12266
+ },
12267
+ "defaultTypeTokenRange": {
12268
+ "startIndex": 0,
12269
+ "endIndex": 0
12270
+ }
12271
+ }
12272
+ ],
12273
+ "name": "ConfigMutations",
12274
+ "preserveMemberOrder": false,
12275
+ "members": [
12276
+ {
12277
+ "kind": "PropertySignature",
12278
+ "canonicalReference": "@empathyco/x-components!ConfigMutations#config:member",
12279
+ "docComment": "",
12280
+ "excerptTokens": [
12281
+ {
12282
+ "kind": "Content",
12283
+ "text": "config: "
12284
+ },
12285
+ {
12286
+ "kind": "Content",
12287
+ "text": "T['config']"
12288
+ },
12289
+ {
12290
+ "kind": "Content",
12291
+ "text": ";"
12292
+ }
12293
+ ],
12294
+ "isReadonly": false,
12295
+ "isOptional": false,
12296
+ "releaseTag": "Public",
12297
+ "name": "config",
12298
+ "propertyTypeTokenRange": {
12299
+ "startIndex": 1,
12300
+ "endIndex": 2
12301
+ }
12302
+ },
12303
+ {
12304
+ "kind": "MethodSignature",
12305
+ "canonicalReference": "@empathyco/x-components!ConfigMutations#mergeConfig:member(1)",
12306
+ "docComment": "/**\n * Merges a new config with the current one.\n *\n * @param config - The config to be merged.\n */\n",
12307
+ "excerptTokens": [
12308
+ {
12309
+ "kind": "Content",
12310
+ "text": "mergeConfig(config: "
12311
+ },
12312
+ {
12313
+ "kind": "Content",
12314
+ "text": "T['config']"
12315
+ },
12316
+ {
12317
+ "kind": "Content",
12318
+ "text": "): "
12319
+ },
12320
+ {
12321
+ "kind": "Content",
12322
+ "text": "void"
12323
+ },
12324
+ {
12325
+ "kind": "Content",
12326
+ "text": ";"
12327
+ }
12328
+ ],
12329
+ "isOptional": false,
12330
+ "returnTypeTokenRange": {
12331
+ "startIndex": 3,
12332
+ "endIndex": 4
12333
+ },
12334
+ "releaseTag": "Public",
12335
+ "overloadIndex": 1,
12336
+ "parameters": [
12337
+ {
12338
+ "parameterName": "config",
12339
+ "parameterTypeTokenRange": {
12340
+ "startIndex": 1,
12341
+ "endIndex": 2
12342
+ },
12343
+ "isOptional": false
12344
+ }
12345
+ ],
12346
+ "name": "mergeConfig"
12347
+ },
12348
+ {
12349
+ "kind": "MethodSignature",
12350
+ "canonicalReference": "@empathyco/x-components!ConfigMutations#setConfig:member(1)",
12351
+ "docComment": "/**\n * Sets the module config.\n *\n * @param config - The new config.\n */\n",
12352
+ "excerptTokens": [
12353
+ {
12354
+ "kind": "Content",
12355
+ "text": "setConfig(config: "
12356
+ },
12357
+ {
12358
+ "kind": "Content",
12359
+ "text": "T['config']"
12360
+ },
12361
+ {
12362
+ "kind": "Content",
12363
+ "text": "): "
12364
+ },
12365
+ {
12366
+ "kind": "Content",
12367
+ "text": "void"
12368
+ },
12369
+ {
12370
+ "kind": "Content",
12371
+ "text": ";"
12372
+ }
12373
+ ],
12374
+ "isOptional": false,
12375
+ "returnTypeTokenRange": {
12376
+ "startIndex": 3,
12377
+ "endIndex": 4
12378
+ },
12379
+ "releaseTag": "Public",
12380
+ "overloadIndex": 1,
12381
+ "parameters": [
12382
+ {
12383
+ "parameterName": "config",
12384
+ "parameterTypeTokenRange": {
12385
+ "startIndex": 1,
12386
+ "endIndex": 2
12387
+ },
12388
+ "isOptional": false
12389
+ }
12390
+ ],
12391
+ "name": "setConfig"
12392
+ }
12393
+ ],
12394
+ "extendsTokenRanges": []
12395
+ },
12240
12396
  {
12241
12397
  "kind": "Function",
12242
12398
  "canonicalReference": "@empathyco/x-components!createFetchAndSaveActions:function(1)",
@@ -12422,6 +12578,167 @@
12422
12578
  ],
12423
12579
  "name": "createRawFilters"
12424
12580
  },
12581
+ {
12582
+ "kind": "Function",
12583
+ "canonicalReference": "@empathyco/x-components!createRelatedTagsQueryGetter:function(1)",
12584
+ "docComment": "/**\n * Creates a getter that combines the current selected related tags and the query of the module.\n *\n * @param options - Options on how the getter should behave.\n *\n * @returns A getter that combines the selected related tags with the query.\n *\n * @public\n */\n",
12585
+ "excerptTokens": [
12586
+ {
12587
+ "kind": "Content",
12588
+ "text": "export declare function createRelatedTagsQueryGetter<State extends "
12589
+ },
12590
+ {
12591
+ "kind": "Reference",
12592
+ "text": "QueryState",
12593
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
12594
+ },
12595
+ {
12596
+ "kind": "Content",
12597
+ "text": ", Getters>({ getRelatedTags }: "
12598
+ },
12599
+ {
12600
+ "kind": "Reference",
12601
+ "text": "CreateRelatedTagsQueryGetterOptions",
12602
+ "canonicalReference": "@empathyco/x-components!CreateRelatedTagsQueryGetterOptions:interface"
12603
+ },
12604
+ {
12605
+ "kind": "Content",
12606
+ "text": "<State, Getters>"
12607
+ },
12608
+ {
12609
+ "kind": "Content",
12610
+ "text": "): "
12611
+ },
12612
+ {
12613
+ "kind": "Content",
12614
+ "text": "(state: State, getters: Getters) => string"
12615
+ },
12616
+ {
12617
+ "kind": "Content",
12618
+ "text": ";"
12619
+ }
12620
+ ],
12621
+ "fileUrlPath": "src/store/utils/query.utils.ts",
12622
+ "returnTypeTokenRange": {
12623
+ "startIndex": 6,
12624
+ "endIndex": 7
12625
+ },
12626
+ "releaseTag": "Public",
12627
+ "overloadIndex": 1,
12628
+ "parameters": [
12629
+ {
12630
+ "parameterName": "{ getRelatedTags }",
12631
+ "parameterTypeTokenRange": {
12632
+ "startIndex": 3,
12633
+ "endIndex": 5
12634
+ },
12635
+ "isOptional": false
12636
+ }
12637
+ ],
12638
+ "typeParameters": [
12639
+ {
12640
+ "typeParameterName": "State",
12641
+ "constraintTokenRange": {
12642
+ "startIndex": 1,
12643
+ "endIndex": 2
12644
+ },
12645
+ "defaultTypeTokenRange": {
12646
+ "startIndex": 0,
12647
+ "endIndex": 0
12648
+ }
12649
+ },
12650
+ {
12651
+ "typeParameterName": "Getters",
12652
+ "constraintTokenRange": {
12653
+ "startIndex": 0,
12654
+ "endIndex": 0
12655
+ },
12656
+ "defaultTypeTokenRange": {
12657
+ "startIndex": 0,
12658
+ "endIndex": 0
12659
+ }
12660
+ }
12661
+ ],
12662
+ "name": "createRelatedTagsQueryGetter"
12663
+ },
12664
+ {
12665
+ "kind": "Interface",
12666
+ "canonicalReference": "@empathyco/x-components!CreateRelatedTagsQueryGetterOptions:interface",
12667
+ "docComment": "/**\n * Options to create a getter that combines the query with the selected related tags.\n *\n * @public\n */\n",
12668
+ "excerptTokens": [
12669
+ {
12670
+ "kind": "Content",
12671
+ "text": "export interface CreateRelatedTagsQueryGetterOptions<State, Getters> "
12672
+ }
12673
+ ],
12674
+ "fileUrlPath": "src/store/utils/query.utils.ts",
12675
+ "releaseTag": "Public",
12676
+ "typeParameters": [
12677
+ {
12678
+ "typeParameterName": "State",
12679
+ "constraintTokenRange": {
12680
+ "startIndex": 0,
12681
+ "endIndex": 0
12682
+ },
12683
+ "defaultTypeTokenRange": {
12684
+ "startIndex": 0,
12685
+ "endIndex": 0
12686
+ }
12687
+ },
12688
+ {
12689
+ "typeParameterName": "Getters",
12690
+ "constraintTokenRange": {
12691
+ "startIndex": 0,
12692
+ "endIndex": 0
12693
+ },
12694
+ "defaultTypeTokenRange": {
12695
+ "startIndex": 0,
12696
+ "endIndex": 0
12697
+ }
12698
+ }
12699
+ ],
12700
+ "name": "CreateRelatedTagsQueryGetterOptions",
12701
+ "preserveMemberOrder": false,
12702
+ "members": [
12703
+ {
12704
+ "kind": "PropertySignature",
12705
+ "canonicalReference": "@empathyco/x-components!CreateRelatedTagsQueryGetterOptions#getRelatedTags:member",
12706
+ "docComment": "/**\n * Retrieves the selected related tags of the module.\n *\n * @param state - The state of the module.\n *\n * @param getters - The getters of the module.\n *\n * @returns The list of selected related tags.\n */\n",
12707
+ "excerptTokens": [
12708
+ {
12709
+ "kind": "Content",
12710
+ "text": "getRelatedTags: "
12711
+ },
12712
+ {
12713
+ "kind": "Content",
12714
+ "text": "(state: State, getters: Getters) => "
12715
+ },
12716
+ {
12717
+ "kind": "Reference",
12718
+ "text": "RelatedTag",
12719
+ "canonicalReference": "@empathyco/x-components!RelatedTag_2:interface"
12720
+ },
12721
+ {
12722
+ "kind": "Content",
12723
+ "text": "[]"
12724
+ },
12725
+ {
12726
+ "kind": "Content",
12727
+ "text": ";"
12728
+ }
12729
+ ],
12730
+ "isReadonly": false,
12731
+ "isOptional": false,
12732
+ "releaseTag": "Public",
12733
+ "name": "getRelatedTags",
12734
+ "propertyTypeTokenRange": {
12735
+ "startIndex": 1,
12736
+ "endIndex": 4
12737
+ }
12738
+ }
12739
+ ],
12740
+ "extendsTokenRanges": []
12741
+ },
12425
12742
  {
12426
12743
  "kind": "Function",
12427
12744
  "canonicalReference": "@empathyco/x-components!createSetQueryTaggingFromQueryPreview:function(1)",
@@ -16464,7 +16781,7 @@
16464
16781
  {
16465
16782
  "kind": "Reference",
16466
16783
  "text": "ConfigMutations",
16467
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
16784
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
16468
16785
  },
16469
16786
  {
16470
16787
  "kind": "Content",
@@ -19982,7 +20299,7 @@
19982
20299
  {
19983
20300
  "kind": "Reference",
19984
20301
  "text": "QueryMutations",
19985
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
20302
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
19986
20303
  },
19987
20304
  {
19988
20305
  "kind": "Content",
@@ -19991,7 +20308,7 @@
19991
20308
  {
19992
20309
  "kind": "Reference",
19993
20310
  "text": "ConfigMutations",
19994
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
20311
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
19995
20312
  },
19996
20313
  {
19997
20314
  "kind": "Content",
@@ -32572,7 +32889,7 @@
32572
32889
  {
32573
32890
  "kind": "Reference",
32574
32891
  "text": "QueryMutations",
32575
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
32892
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
32576
32893
  },
32577
32894
  {
32578
32895
  "kind": "Content",
@@ -32581,7 +32898,7 @@
32581
32898
  {
32582
32899
  "kind": "Reference",
32583
32900
  "text": "ConfigMutations",
32584
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
32901
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
32585
32902
  },
32586
32903
  {
32587
32904
  "kind": "Content",
@@ -32820,7 +33137,7 @@
32820
33137
  {
32821
33138
  "kind": "Reference",
32822
33139
  "text": "QueryState",
32823
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
33140
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
32824
33141
  },
32825
33142
  {
32826
33143
  "kind": "Content",
@@ -34626,7 +34943,7 @@
34626
34943
  {
34627
34944
  "kind": "Reference",
34628
34945
  "text": "QueryMutations",
34629
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
34946
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
34630
34947
  },
34631
34948
  {
34632
34949
  "kind": "Content",
@@ -34635,7 +34952,7 @@
34635
34952
  {
34636
34953
  "kind": "Reference",
34637
34954
  "text": "ConfigMutations",
34638
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
34955
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
34639
34956
  },
34640
34957
  {
34641
34958
  "kind": "Content",
@@ -34875,7 +35192,7 @@
34875
35192
  {
34876
35193
  "kind": "Reference",
34877
35194
  "text": "QueryState",
34878
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
35195
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
34879
35196
  },
34880
35197
  {
34881
35198
  "kind": "Content",
@@ -35742,7 +36059,16 @@
35742
36059
  },
35743
36060
  {
35744
36061
  "kind": "Content",
35745
- "text": "void"
36062
+ "text": "void | "
36063
+ },
36064
+ {
36065
+ "kind": "Reference",
36066
+ "text": "Promise",
36067
+ "canonicalReference": "!Promise:interface"
36068
+ },
36069
+ {
36070
+ "kind": "Content",
36071
+ "text": "<void>"
35746
36072
  },
35747
36073
  {
35748
36074
  "kind": "Content",
@@ -35752,7 +36078,7 @@
35752
36078
  "isOptional": true,
35753
36079
  "returnTypeTokenRange": {
35754
36080
  "startIndex": 3,
35755
- "endIndex": 4
36081
+ "endIndex": 6
35756
36082
  },
35757
36083
  "releaseTag": "Public",
35758
36084
  "overloadIndex": 1,
@@ -37631,6 +37957,93 @@
37631
37957
  "endIndex": 4
37632
37958
  }
37633
37959
  },
37960
+ {
37961
+ "kind": "Function",
37962
+ "canonicalReference": "@empathyco/x-components!mergeConfig:function(1)",
37963
+ "docComment": "/**\n * Merges a new config with the current one. Can be used as a mutation.\n *\n * @param state - The {@link https://vuex.vuejs.org/guide/state.html | state} provided by Vuex.\n *\n * @param config - The config to be merged.\n *\n * @public\n */\n",
37964
+ "excerptTokens": [
37965
+ {
37966
+ "kind": "Content",
37967
+ "text": "export declare function mergeConfig<T extends "
37968
+ },
37969
+ {
37970
+ "kind": "Content",
37971
+ "text": "{\n config: T['config'];\n}"
37972
+ },
37973
+ {
37974
+ "kind": "Content",
37975
+ "text": ">(state: "
37976
+ },
37977
+ {
37978
+ "kind": "Content",
37979
+ "text": "T"
37980
+ },
37981
+ {
37982
+ "kind": "Content",
37983
+ "text": ", config: "
37984
+ },
37985
+ {
37986
+ "kind": "Reference",
37987
+ "text": "Partial",
37988
+ "canonicalReference": "!Partial:type"
37989
+ },
37990
+ {
37991
+ "kind": "Content",
37992
+ "text": "<T['config']>"
37993
+ },
37994
+ {
37995
+ "kind": "Content",
37996
+ "text": "): "
37997
+ },
37998
+ {
37999
+ "kind": "Content",
38000
+ "text": "void"
38001
+ },
38002
+ {
38003
+ "kind": "Content",
38004
+ "text": ";"
38005
+ }
38006
+ ],
38007
+ "fileUrlPath": "src/store/utils/config-store.utils.ts",
38008
+ "returnTypeTokenRange": {
38009
+ "startIndex": 8,
38010
+ "endIndex": 9
38011
+ },
38012
+ "releaseTag": "Public",
38013
+ "overloadIndex": 1,
38014
+ "parameters": [
38015
+ {
38016
+ "parameterName": "state",
38017
+ "parameterTypeTokenRange": {
38018
+ "startIndex": 3,
38019
+ "endIndex": 4
38020
+ },
38021
+ "isOptional": false
38022
+ },
38023
+ {
38024
+ "parameterName": "config",
38025
+ "parameterTypeTokenRange": {
38026
+ "startIndex": 5,
38027
+ "endIndex": 7
38028
+ },
38029
+ "isOptional": false
38030
+ }
38031
+ ],
38032
+ "typeParameters": [
38033
+ {
38034
+ "typeParameterName": "T",
38035
+ "constraintTokenRange": {
38036
+ "startIndex": 1,
38037
+ "endIndex": 2
38038
+ },
38039
+ "defaultTypeTokenRange": {
38040
+ "startIndex": 0,
38041
+ "endIndex": 0
38042
+ }
38043
+ }
38044
+ ],
38045
+ "name": "mergeConfig"
38046
+ },
37634
38047
  {
37635
38048
  "kind": "TypeAlias",
37636
38049
  "canonicalReference": "@empathyco/x-components!MonadicFunction:type",
@@ -41106,7 +41519,7 @@
41106
41519
  {
41107
41520
  "kind": "Reference",
41108
41521
  "text": "QueryMutations",
41109
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
41522
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
41110
41523
  },
41111
41524
  {
41112
41525
  "kind": "Content",
@@ -41115,7 +41528,7 @@
41115
41528
  {
41116
41529
  "kind": "Reference",
41117
41530
  "text": "ConfigMutations",
41118
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
41531
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
41119
41532
  },
41120
41533
  {
41121
41534
  "kind": "Content",
@@ -41492,7 +41905,7 @@
41492
41905
  {
41493
41906
  "kind": "Reference",
41494
41907
  "text": "QueryState",
41495
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
41908
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
41496
41909
  },
41497
41910
  {
41498
41911
  "kind": "Content",
@@ -44279,7 +44692,7 @@
44279
44692
  {
44280
44693
  "kind": "Reference",
44281
44694
  "text": "ConfigMutations",
44282
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
44695
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
44283
44696
  },
44284
44697
  {
44285
44698
  "kind": "Content",
@@ -45839,7 +46252,7 @@
45839
46252
  {
45840
46253
  "kind": "Reference",
45841
46254
  "text": "ConfigMutations",
45842
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
46255
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
45843
46256
  },
45844
46257
  {
45845
46258
  "kind": "Content",
@@ -46758,6 +47171,69 @@
46758
47171
  "endIndex": 2
46759
47172
  }
46760
47173
  },
47174
+ {
47175
+ "kind": "Interface",
47176
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface",
47177
+ "docComment": "/**\n * The {@link QueryState} mutations.\n *\n * @public\n */\n",
47178
+ "excerptTokens": [
47179
+ {
47180
+ "kind": "Content",
47181
+ "text": "export interface QueryMutations "
47182
+ }
47183
+ ],
47184
+ "fileUrlPath": "src/store/utils/query.utils.ts",
47185
+ "releaseTag": "Public",
47186
+ "name": "QueryMutations",
47187
+ "preserveMemberOrder": false,
47188
+ "members": [
47189
+ {
47190
+ "kind": "MethodSignature",
47191
+ "canonicalReference": "@empathyco/x-components!QueryMutations#setQuery:member(1)",
47192
+ "docComment": "/**\n * Sets the query.\n *\n * @param query - The new query.\n */\n",
47193
+ "excerptTokens": [
47194
+ {
47195
+ "kind": "Content",
47196
+ "text": "setQuery(query: "
47197
+ },
47198
+ {
47199
+ "kind": "Content",
47200
+ "text": "string"
47201
+ },
47202
+ {
47203
+ "kind": "Content",
47204
+ "text": "): "
47205
+ },
47206
+ {
47207
+ "kind": "Content",
47208
+ "text": "void"
47209
+ },
47210
+ {
47211
+ "kind": "Content",
47212
+ "text": ";"
47213
+ }
47214
+ ],
47215
+ "isOptional": false,
47216
+ "returnTypeTokenRange": {
47217
+ "startIndex": 3,
47218
+ "endIndex": 4
47219
+ },
47220
+ "releaseTag": "Public",
47221
+ "overloadIndex": 1,
47222
+ "parameters": [
47223
+ {
47224
+ "parameterName": "query",
47225
+ "parameterTypeTokenRange": {
47226
+ "startIndex": 1,
47227
+ "endIndex": 2
47228
+ },
47229
+ "isOptional": false
47230
+ }
47231
+ ],
47232
+ "name": "setQuery"
47233
+ }
47234
+ ],
47235
+ "extendsTokenRanges": []
47236
+ },
46761
47237
  {
46762
47238
  "kind": "TypeAlias",
46763
47239
  "canonicalReference": "@empathyco/x-components!QueryOrigin:type",
@@ -48072,6 +48548,51 @@
48072
48548
  ],
48073
48549
  "extendsTokenRanges": []
48074
48550
  },
48551
+ {
48552
+ "kind": "Interface",
48553
+ "canonicalReference": "@empathyco/x-components!QueryState:interface",
48554
+ "docComment": "/**\n * Query state type, containing a property to hold the current query of the module.\n *\n * @public\n */\n",
48555
+ "excerptTokens": [
48556
+ {
48557
+ "kind": "Content",
48558
+ "text": "export interface QueryState "
48559
+ }
48560
+ ],
48561
+ "fileUrlPath": "src/store/utils/query.utils.ts",
48562
+ "releaseTag": "Public",
48563
+ "name": "QueryState",
48564
+ "preserveMemberOrder": false,
48565
+ "members": [
48566
+ {
48567
+ "kind": "PropertySignature",
48568
+ "canonicalReference": "@empathyco/x-components!QueryState#query:member",
48569
+ "docComment": "/**\n * The query of the module. Different modules may have queries that differ in value or time.\n */\n",
48570
+ "excerptTokens": [
48571
+ {
48572
+ "kind": "Content",
48573
+ "text": "query: "
48574
+ },
48575
+ {
48576
+ "kind": "Content",
48577
+ "text": "string"
48578
+ },
48579
+ {
48580
+ "kind": "Content",
48581
+ "text": ";"
48582
+ }
48583
+ ],
48584
+ "isReadonly": false,
48585
+ "isOptional": false,
48586
+ "releaseTag": "Public",
48587
+ "name": "query",
48588
+ "propertyTypeTokenRange": {
48589
+ "startIndex": 1,
48590
+ "endIndex": 2
48591
+ }
48592
+ }
48593
+ ],
48594
+ "extendsTokenRanges": []
48595
+ },
48075
48596
  {
48076
48597
  "kind": "Variable",
48077
48598
  "canonicalReference": "@empathyco/x-components!QuerySuggestion:var",
@@ -48950,7 +49471,7 @@
48950
49471
  {
48951
49472
  "kind": "Reference",
48952
49473
  "text": "QueryMutations",
48953
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
49474
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
48954
49475
  },
48955
49476
  {
48956
49477
  "kind": "Content",
@@ -48959,7 +49480,7 @@
48959
49480
  {
48960
49481
  "kind": "Reference",
48961
49482
  "text": "ConfigMutations",
48962
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
49483
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
48963
49484
  },
48964
49485
  {
48965
49486
  "kind": "Content",
@@ -49199,7 +49720,7 @@
49199
49720
  {
49200
49721
  "kind": "Reference",
49201
49722
  "text": "QueryState",
49202
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
49723
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
49203
49724
  },
49204
49725
  {
49205
49726
  "kind": "Content",
@@ -50162,7 +50683,7 @@
50162
50683
  {
50163
50684
  "kind": "Reference",
50164
50685
  "text": "ConfigMutations",
50165
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
50686
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
50166
50687
  },
50167
50688
  {
50168
50689
  "kind": "Content",
@@ -51729,7 +52250,7 @@
51729
52250
  {
51730
52251
  "kind": "Reference",
51731
52252
  "text": "QueryMutations",
51732
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
52253
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
51733
52254
  },
51734
52255
  {
51735
52256
  "kind": "Content",
@@ -51992,7 +52513,7 @@
51992
52513
  {
51993
52514
  "kind": "Reference",
51994
52515
  "text": "QueryState",
51995
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
52516
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
51996
52517
  },
51997
52518
  {
51998
52519
  "kind": "Content",
@@ -53288,7 +53809,7 @@
53288
53809
  {
53289
53810
  "kind": "Reference",
53290
53811
  "text": "QueryMutations",
53291
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
53812
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
53292
53813
  },
53293
53814
  {
53294
53815
  "kind": "Content",
@@ -53297,7 +53818,7 @@
53297
53818
  {
53298
53819
  "kind": "Reference",
53299
53820
  "text": "ConfigMutations",
53300
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
53821
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
53301
53822
  },
53302
53823
  {
53303
53824
  "kind": "Content",
@@ -53565,7 +54086,7 @@
53565
54086
  {
53566
54087
  "kind": "Reference",
53567
54088
  "text": "QueryState",
53568
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
54089
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
53569
54090
  },
53570
54091
  {
53571
54092
  "kind": "Content",
@@ -57917,7 +58438,7 @@
57917
58438
  {
57918
58439
  "kind": "Reference",
57919
58440
  "text": "QueryMutations",
57920
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
58441
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
57921
58442
  },
57922
58443
  {
57923
58444
  "kind": "Content",
@@ -57995,7 +58516,7 @@
57995
58516
  {
57996
58517
  "kind": "Reference",
57997
58518
  "text": "QueryState",
57998
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
58519
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
57999
58520
  },
58000
58521
  {
58001
58522
  "kind": "Content",
@@ -59330,7 +59851,7 @@
59330
59851
  {
59331
59852
  "kind": "Reference",
59332
59853
  "text": "QueryMutations",
59333
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
59854
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
59334
59855
  },
59335
59856
  {
59336
59857
  "kind": "Content",
@@ -59339,7 +59860,7 @@
59339
59860
  {
59340
59861
  "kind": "Reference",
59341
59862
  "text": "ConfigMutations",
59342
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
59863
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
59343
59864
  },
59344
59865
  {
59345
59866
  "kind": "Content",
@@ -60594,7 +61115,7 @@
60594
61115
  {
60595
61116
  "kind": "Reference",
60596
61117
  "text": "QueryState",
60597
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
61118
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
60598
61119
  },
60599
61120
  {
60600
61121
  "kind": "Content",
@@ -62774,7 +63295,7 @@
62774
63295
  {
62775
63296
  "kind": "Reference",
62776
63297
  "text": "QueryMutations",
62777
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
63298
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
62778
63299
  },
62779
63300
  {
62780
63301
  "kind": "Content",
@@ -62783,7 +63304,7 @@
62783
63304
  {
62784
63305
  "kind": "Reference",
62785
63306
  "text": "ConfigMutations",
62786
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
63307
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
62787
63308
  },
62788
63309
  {
62789
63310
  "kind": "Content",
@@ -62977,7 +63498,7 @@
62977
63498
  {
62978
63499
  "kind": "Reference",
62979
63500
  "text": "QueryState",
62980
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
63501
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
62981
63502
  },
62982
63503
  {
62983
63504
  "kind": "Content",
@@ -63516,6 +64037,88 @@
63516
64037
  "endIndex": 3
63517
64038
  }
63518
64039
  },
64040
+ {
64041
+ "kind": "Function",
64042
+ "canonicalReference": "@empathyco/x-components!setConfig:function(1)",
64043
+ "docComment": "/**\n * Sets the request config. Can be used as a mutation.\n *\n * @param state - The {@link https://vuex.vuejs.org/guide/state.html | state} provided by Vuex.\n *\n * @param config - The new config.\n *\n * @public\n */\n",
64044
+ "excerptTokens": [
64045
+ {
64046
+ "kind": "Content",
64047
+ "text": "export declare function setConfig<T extends "
64048
+ },
64049
+ {
64050
+ "kind": "Content",
64051
+ "text": "{\n config: T['config'];\n}"
64052
+ },
64053
+ {
64054
+ "kind": "Content",
64055
+ "text": ">(state: "
64056
+ },
64057
+ {
64058
+ "kind": "Content",
64059
+ "text": "T"
64060
+ },
64061
+ {
64062
+ "kind": "Content",
64063
+ "text": ", config: "
64064
+ },
64065
+ {
64066
+ "kind": "Content",
64067
+ "text": "T['config']"
64068
+ },
64069
+ {
64070
+ "kind": "Content",
64071
+ "text": "): "
64072
+ },
64073
+ {
64074
+ "kind": "Content",
64075
+ "text": "void"
64076
+ },
64077
+ {
64078
+ "kind": "Content",
64079
+ "text": ";"
64080
+ }
64081
+ ],
64082
+ "fileUrlPath": "src/store/utils/config-store.utils.ts",
64083
+ "returnTypeTokenRange": {
64084
+ "startIndex": 7,
64085
+ "endIndex": 8
64086
+ },
64087
+ "releaseTag": "Public",
64088
+ "overloadIndex": 1,
64089
+ "parameters": [
64090
+ {
64091
+ "parameterName": "state",
64092
+ "parameterTypeTokenRange": {
64093
+ "startIndex": 3,
64094
+ "endIndex": 4
64095
+ },
64096
+ "isOptional": false
64097
+ },
64098
+ {
64099
+ "parameterName": "config",
64100
+ "parameterTypeTokenRange": {
64101
+ "startIndex": 5,
64102
+ "endIndex": 6
64103
+ },
64104
+ "isOptional": false
64105
+ }
64106
+ ],
64107
+ "typeParameters": [
64108
+ {
64109
+ "typeParameterName": "T",
64110
+ "constraintTokenRange": {
64111
+ "startIndex": 1,
64112
+ "endIndex": 2
64113
+ },
64114
+ "defaultTypeTokenRange": {
64115
+ "startIndex": 0,
64116
+ "endIndex": 0
64117
+ }
64118
+ }
64119
+ ],
64120
+ "name": "setConfig"
64121
+ },
63519
64122
  {
63520
64123
  "kind": "Variable",
63521
64124
  "canonicalReference": "@empathyco/x-components!setConsent:var",
@@ -64298,6 +64901,68 @@
64298
64901
  "endIndex": 6
64299
64902
  }
64300
64903
  },
64904
+ {
64905
+ "kind": "Function",
64906
+ "canonicalReference": "@empathyco/x-components!setQuery:function(1)",
64907
+ "docComment": "/**\n * Sets the query of the module.\n *\n * @param state - State of the module.\n *\n * @param query - The new query to set.\n *\n * @public\n */\n",
64908
+ "excerptTokens": [
64909
+ {
64910
+ "kind": "Content",
64911
+ "text": "export declare function setQuery(state: "
64912
+ },
64913
+ {
64914
+ "kind": "Reference",
64915
+ "text": "QueryState",
64916
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
64917
+ },
64918
+ {
64919
+ "kind": "Content",
64920
+ "text": ", query: "
64921
+ },
64922
+ {
64923
+ "kind": "Content",
64924
+ "text": "string"
64925
+ },
64926
+ {
64927
+ "kind": "Content",
64928
+ "text": "): "
64929
+ },
64930
+ {
64931
+ "kind": "Content",
64932
+ "text": "void"
64933
+ },
64934
+ {
64935
+ "kind": "Content",
64936
+ "text": ";"
64937
+ }
64938
+ ],
64939
+ "fileUrlPath": "src/store/utils/query.utils.ts",
64940
+ "returnTypeTokenRange": {
64941
+ "startIndex": 5,
64942
+ "endIndex": 6
64943
+ },
64944
+ "releaseTag": "Public",
64945
+ "overloadIndex": 1,
64946
+ "parameters": [
64947
+ {
64948
+ "parameterName": "state",
64949
+ "parameterTypeTokenRange": {
64950
+ "startIndex": 1,
64951
+ "endIndex": 2
64952
+ },
64953
+ "isOptional": false
64954
+ },
64955
+ {
64956
+ "parameterName": "query",
64957
+ "parameterTypeTokenRange": {
64958
+ "startIndex": 3,
64959
+ "endIndex": 4
64960
+ },
64961
+ "isOptional": false
64962
+ }
64963
+ ],
64964
+ "name": "setQuery"
64965
+ },
64301
64966
  {
64302
64967
  "kind": "Variable",
64303
64968
  "canonicalReference": "@empathyco/x-components!setQueryFromLastHistoryQuery:var",
@@ -73020,7 +73685,7 @@
73020
73685
  {
73021
73686
  "kind": "Reference",
73022
73687
  "text": "ConfigMutations",
73023
- "canonicalReference": "@empathyco/x-components!~ConfigMutations:interface"
73688
+ "canonicalReference": "@empathyco/x-components!ConfigMutations:interface"
73024
73689
  },
73025
73690
  {
73026
73691
  "kind": "Content",
@@ -74823,7 +75488,7 @@
74823
75488
  {
74824
75489
  "kind": "Reference",
74825
75490
  "text": "QueryMutations",
74826
- "canonicalReference": "@empathyco/x-components!~QueryMutations:interface"
75491
+ "canonicalReference": "@empathyco/x-components!QueryMutations:interface"
74827
75492
  },
74828
75493
  {
74829
75494
  "kind": "Content",
@@ -75498,7 +76163,7 @@
75498
76163
  {
75499
76164
  "kind": "Reference",
75500
76165
  "text": "QueryState",
75501
- "canonicalReference": "@empathyco/x-components!~QueryState:interface"
76166
+ "canonicalReference": "@empathyco/x-components!QueryState:interface"
75502
76167
  },
75503
76168
  {
75504
76169
  "kind": "Content",