@empathyco/x-components 6.0.0-alpha.75 → 6.0.0-alpha.76

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 (73) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/design-system/deprecated-full-theme.css +1504 -1504
  3. package/docs/API-reference/api/x-components.allfilter.md +3 -3
  4. package/docs/API-reference/api/x-components.facets.md +3 -3
  5. package/docs/API-reference/api/x-components.historyqueries.md +1 -1
  6. package/docs/API-reference/api/x-components.historyquery.md +1 -1
  7. package/docs/API-reference/api/x-components.identifierresult.md +2 -2
  8. package/docs/API-reference/api/x-components.md +1 -1
  9. package/docs/API-reference/api/x-components.nextqueries.md +1 -1
  10. package/docs/API-reference/api/x-components.popularsearches.md +1 -1
  11. package/docs/API-reference/api/x-components.querysuggestion.md +1 -1
  12. package/docs/API-reference/api/x-components.querysuggestions.md +1 -1
  13. package/docs/API-reference/api/x-components.semanticquery.md +1 -1
  14. package/docs/API-reference/api/x-components.usegetter.md +3 -17
  15. package/js/composables/use-getter.js +11 -11
  16. package/js/composables/use-getter.js.map +1 -1
  17. package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
  18. package/js/x-modules/facets/components/facets/facets.vue2.js +1 -1
  19. package/js/x-modules/facets/components/facets/facets.vue2.js.map +1 -1
  20. package/js/x-modules/facets/components/filters/all-filter.vue.js.map +1 -1
  21. package/js/x-modules/facets/components/filters/all-filter.vue2.js +1 -1
  22. package/js/x-modules/facets/components/filters/all-filter.vue2.js.map +1 -1
  23. package/js/x-modules/facets/composables/use-facets.js +1 -4
  24. package/js/x-modules/facets/composables/use-facets.js.map +1 -1
  25. package/js/x-modules/history-queries/components/history-queries.vue.js.map +1 -1
  26. package/js/x-modules/history-queries/components/history-queries.vue2.js +1 -1
  27. package/js/x-modules/history-queries/components/history-queries.vue2.js.map +1 -1
  28. package/js/x-modules/history-queries/components/history-query.vue.js.map +1 -1
  29. package/js/x-modules/history-queries/components/history-query.vue2.js +1 -1
  30. package/js/x-modules/history-queries/components/history-query.vue2.js.map +1 -1
  31. package/js/x-modules/identifier-results/components/identifier-result.vue.js.map +1 -1
  32. package/js/x-modules/identifier-results/components/identifier-result.vue2.js +1 -3
  33. package/js/x-modules/identifier-results/components/identifier-result.vue2.js.map +1 -1
  34. package/js/x-modules/next-queries/components/next-queries-list.vue.js +1 -3
  35. package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
  36. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  37. package/js/x-modules/next-queries/components/next-queries.vue2.js +1 -1
  38. package/js/x-modules/next-queries/components/next-queries.vue2.js.map +1 -1
  39. package/js/x-modules/popular-searches/components/popular-searches.vue.js.map +1 -1
  40. package/js/x-modules/popular-searches/components/popular-searches.vue2.js +1 -1
  41. package/js/x-modules/popular-searches/components/popular-searches.vue2.js.map +1 -1
  42. package/js/x-modules/query-suggestions/components/query-suggestion.vue.js.map +1 -1
  43. package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js +1 -1
  44. package/js/x-modules/query-suggestions/components/query-suggestion.vue2.js.map +1 -1
  45. package/js/x-modules/query-suggestions/components/query-suggestions.vue.js.map +1 -1
  46. package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js +1 -1
  47. package/js/x-modules/query-suggestions/components/query-suggestions.vue2.js.map +1 -1
  48. package/js/x-modules/related-tags/components/related-tags.vue.js.map +1 -1
  49. package/js/x-modules/related-tags/components/related-tags.vue2.js +1 -3
  50. package/js/x-modules/related-tags/components/related-tags.vue2.js.map +1 -1
  51. package/js/x-modules/semantic-queries/components/semantic-query.vue.js.map +1 -1
  52. package/js/x-modules/semantic-queries/components/semantic-query.vue2.js +2 -2
  53. package/js/x-modules/semantic-queries/components/semantic-query.vue2.js.map +1 -1
  54. package/package.json +2 -2
  55. package/report/x-components.api.json +67 -132
  56. package/report/x-components.api.md +11 -9
  57. package/types/composables/use-getter.d.ts +13 -3
  58. package/types/composables/use-getter.d.ts.map +1 -1
  59. package/types/x-modules/facets/components/facets/facets.vue.d.ts +4 -4
  60. package/types/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -1
  61. package/types/x-modules/facets/components/filters/all-filter.vue.d.ts +4 -4
  62. package/types/x-modules/facets/components/filters/all-filter.vue.d.ts.map +1 -1
  63. package/types/x-modules/history-queries/components/history-queries.vue.d.ts +1 -1
  64. package/types/x-modules/history-queries/components/history-query.vue.d.ts +1 -1
  65. package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts +3 -3
  66. package/types/x-modules/identifier-results/components/identifier-result.vue.d.ts.map +1 -1
  67. package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +1 -1
  68. package/types/x-modules/next-queries/components/next-queries.vue.d.ts +1 -1
  69. package/types/x-modules/popular-searches/components/popular-searches.vue.d.ts +1 -1
  70. package/types/x-modules/query-suggestions/components/query-suggestion.vue.d.ts +1 -1
  71. package/types/x-modules/query-suggestions/components/query-suggestions.vue.d.ts +1 -1
  72. package/types/x-modules/related-tags/components/related-tags.vue.d.ts.map +1 -1
  73. package/types/x-modules/semantic-queries/components/semantic-query.vue.d.ts +1 -1
@@ -787,7 +787,7 @@
787
787
  },
788
788
  {
789
789
  "kind": "Content",
790
- "text": ">;\n required: true;\n };\n}, {\n clickEvent: "
790
+ "text": ">;\n required: true;\n };\n}, {\n clickEvent: import(\"vue\")."
791
791
  },
792
792
  {
793
793
  "kind": "Reference",
@@ -814,7 +814,7 @@
814
814
  },
815
815
  {
816
816
  "kind": "Content",
817
- "text": ">>;\n cssClasses: "
817
+ "text": ">>;\n cssClasses: import(\"vue\")."
818
818
  },
819
819
  {
820
820
  "kind": "Reference",
@@ -823,7 +823,7 @@
823
823
  },
824
824
  {
825
825
  "kind": "Content",
826
- "text": "<{\n 'x-selected x-all-filter--is-selected': boolean;\n }>;\n isSelected: "
826
+ "text": "<{\n 'x-selected x-all-filter--is-selected': boolean;\n }>;\n isSelected: import(\"vue\")."
827
827
  },
828
828
  {
829
829
  "kind": "Reference",
@@ -20424,7 +20424,7 @@
20424
20424
  },
20425
20425
  {
20426
20426
  "kind": "Content",
20427
- "text": ";\n}, {\n selectedFiltersByFacet: "
20427
+ "text": ";\n}, {\n selectedFiltersByFacet: import(\"vue\")."
20428
20428
  },
20429
20429
  {
20430
20430
  "kind": "Reference",
@@ -20442,7 +20442,7 @@
20442
20442
  },
20443
20443
  {
20444
20444
  "kind": "Content",
20445
- "text": ">;\n hasFacets: "
20445
+ "text": ">;\n hasFacets: import(\"vue\")."
20446
20446
  },
20447
20447
  {
20448
20448
  "kind": "Reference",
@@ -20451,7 +20451,7 @@
20451
20451
  },
20452
20452
  {
20453
20453
  "kind": "Content",
20454
- "text": "<boolean>;\n mappedFacets: "
20454
+ "text": "<boolean>;\n mappedFacets: import(\"vue\")."
20455
20455
  },
20456
20456
  {
20457
20457
  "kind": "Reference",
@@ -32489,7 +32489,16 @@
32489
32489
  },
32490
32490
  {
32491
32491
  "kind": "Content",
32492
- "text": "<any>;\n}, {}, {}, {}, import(\"vue\")."
32492
+ "text": "<import(\"@empathyco/x-types\")."
32493
+ },
32494
+ {
32495
+ "kind": "Reference",
32496
+ "text": "HistoryQuery",
32497
+ "canonicalReference": "@empathyco/x-components!HistoryQuery_2:interface"
32498
+ },
32499
+ {
32500
+ "kind": "Content",
32501
+ "text": "[]>;\n}, {}, {}, {}, import(\"vue\")."
32493
32502
  },
32494
32503
  {
32495
32504
  "kind": "Reference",
@@ -32543,7 +32552,7 @@
32543
32552
  "name": "HistoryQueries",
32544
32553
  "variableTypeTokenRange": {
32545
32554
  "startIndex": 1,
32546
- "endIndex": 16
32555
+ "endIndex": 18
32547
32556
  }
32548
32557
  },
32549
32558
  {
@@ -34216,7 +34225,7 @@
34216
34225
  },
34217
34226
  {
34218
34227
  "kind": "Content",
34219
- "text": "<any>;\n suggestionSelectedEvents: import(\"vue\")."
34228
+ "text": "<string>;\n suggestionSelectedEvents: import(\"vue\")."
34220
34229
  },
34221
34230
  {
34222
34231
  "kind": "Reference",
@@ -34430,7 +34439,7 @@
34430
34439
  },
34431
34440
  {
34432
34441
  "kind": "Content",
34433
- "text": ">;\n required: true;\n };\n}, {\n query: "
34442
+ "text": ">;\n required: true;\n };\n}, {\n query: import(\"vue\")."
34434
34443
  },
34435
34444
  {
34436
34445
  "kind": "Reference",
@@ -34439,7 +34448,7 @@
34439
34448
  },
34440
34449
  {
34441
34450
  "kind": "Content",
34442
- "text": "<string>;\n highlightedQueryHTML: "
34451
+ "text": "<string>;\n highlightedQueryHTML: import(\"vue\")."
34443
34452
  },
34444
34453
  {
34445
34454
  "kind": "Reference",
@@ -40667,7 +40676,16 @@
40667
40676
  },
40668
40677
  {
40669
40678
  "kind": "Content",
40670
- "text": "<any>;\n}, unknown, {}, {}, import(\"vue\")."
40679
+ "text": "<"
40680
+ },
40681
+ {
40682
+ "kind": "Reference",
40683
+ "text": "NextQueryModel",
40684
+ "canonicalReference": "@empathyco/x-components!NextQuery_2:interface"
40685
+ },
40686
+ {
40687
+ "kind": "Content",
40688
+ "text": "[]>;\n}, unknown, {}, {}, import(\"vue\")."
40671
40689
  },
40672
40690
  {
40673
40691
  "kind": "Reference",
@@ -40748,7 +40766,7 @@
40748
40766
  "name": "NextQueries",
40749
40767
  "variableTypeTokenRange": {
40750
40768
  "startIndex": 1,
40751
- "endIndex": 28
40769
+ "endIndex": 30
40752
40770
  }
40753
40771
  },
40754
40772
  {
@@ -44522,7 +44540,16 @@
44522
44540
  },
44523
44541
  {
44524
44542
  "kind": "Content",
44525
- "text": "<any>;\n}, {}, {}, {}, import(\"vue\")."
44543
+ "text": "<import(\"@empathyco/x-types\")."
44544
+ },
44545
+ {
44546
+ "kind": "Reference",
44547
+ "text": "Suggestion",
44548
+ "canonicalReference": "@empathyco/x-components!Suggestion:interface"
44549
+ },
44550
+ {
44551
+ "kind": "Content",
44552
+ "text": "[]>;\n}, {}, {}, {}, import(\"vue\")."
44526
44553
  },
44527
44554
  {
44528
44555
  "kind": "Reference",
@@ -44576,7 +44603,7 @@
44576
44603
  "name": "PopularSearches",
44577
44604
  "variableTypeTokenRange": {
44578
44605
  "startIndex": 1,
44579
- "endIndex": 16
44606
+ "endIndex": 18
44580
44607
  }
44581
44608
  },
44582
44609
  {
@@ -48695,7 +48722,7 @@
48695
48722
  },
48696
48723
  {
48697
48724
  "kind": "Content",
48698
- "text": "<any>;\n suggestionSelectedEvents: {\n UserSelectedAQuerySuggestion: "
48725
+ "text": "<string>;\n suggestionSelectedEvents: {\n UserSelectedAQuerySuggestion: "
48699
48726
  },
48700
48727
  {
48701
48728
  "kind": "Reference",
@@ -48849,7 +48876,16 @@
48849
48876
  },
48850
48877
  {
48851
48878
  "kind": "Content",
48852
- "text": "<any>;\n}, {}, {}, {}, import(\"vue\")."
48879
+ "text": "<import(\"@empathyco/x-types\")."
48880
+ },
48881
+ {
48882
+ "kind": "Reference",
48883
+ "text": "Suggestion",
48884
+ "canonicalReference": "@empathyco/x-components!Suggestion:interface"
48885
+ },
48886
+ {
48887
+ "kind": "Content",
48888
+ "text": "[]>;\n}, {}, {}, {}, import(\"vue\")."
48853
48889
  },
48854
48890
  {
48855
48891
  "kind": "Reference",
@@ -48903,7 +48939,7 @@
48903
48939
  "name": "QuerySuggestions",
48904
48940
  "variableTypeTokenRange": {
48905
48941
  "startIndex": 1,
48906
- "endIndex": 16
48942
+ "endIndex": 18
48907
48943
  }
48908
48944
  },
48909
48945
  {
@@ -63954,7 +63990,7 @@
63954
63990
  },
63955
63991
  {
63956
63992
  "kind": "Content",
63957
- "text": "<any>;\n suggestionSelectedEvents: {\n UserSelectedASemanticQuery: "
63993
+ "text": "<string>;\n suggestionSelectedEvents: {\n UserSelectedASemanticQuery: "
63958
63994
  },
63959
63995
  {
63960
63996
  "kind": "Reference",
@@ -79213,129 +79249,28 @@
79213
79249
  "name": "useFiltersInjection"
79214
79250
  },
79215
79251
  {
79216
- "kind": "Function",
79217
- "canonicalReference": "@empathyco/x-components!useGetter:function(1)",
79218
- "docComment": "/**\n * Function which returns the requested getters as a dictionary of getters.\n *\n * @param module - The {@link XModuleName} of the getter.\n *\n * @param getters - List of getters names.\n *\n * @returns The requested getters from the module.\n *\n * @public\n */\n",
79252
+ "kind": "Variable",
79253
+ "canonicalReference": "@empathyco/x-components!useGetter:var",
79254
+ "docComment": "/**\n * Function which returns the requested getter's properties as a dictionary.\n *\n * @param module - The {@link XModuleName} of the getter.\n *\n * @returns The requested getters from the module.\n *\n * @public\n */\n",
79219
79255
  "excerptTokens": [
79220
79256
  {
79221
79257
  "kind": "Content",
79222
- "text": "export declare function useGetter<Module extends "
79223
- },
79224
- {
79225
- "kind": "Reference",
79226
- "text": "XModuleName",
79227
- "canonicalReference": "@empathyco/x-components!XModuleName:type"
79228
- },
79229
- {
79230
- "kind": "Content",
79231
- "text": ", GetterName extends "
79232
- },
79233
- {
79234
- "kind": "Content",
79235
- "text": "keyof "
79236
- },
79237
- {
79238
- "kind": "Reference",
79239
- "text": "ExtractGetters",
79240
- "canonicalReference": "@empathyco/x-components!ExtractGetters:type"
79241
- },
79242
- {
79243
- "kind": "Content",
79244
- "text": "<Module> & string"
79245
- },
79246
- {
79247
- "kind": "Content",
79248
- "text": ">(module: "
79249
- },
79250
- {
79251
- "kind": "Content",
79252
- "text": "Module"
79253
- },
79254
- {
79255
- "kind": "Content",
79256
- "text": ", getters: "
79257
- },
79258
- {
79259
- "kind": "Content",
79260
- "text": "GetterName[]"
79261
- },
79262
- {
79263
- "kind": "Content",
79264
- "text": "): "
79265
- },
79266
- {
79267
- "kind": "Reference",
79268
- "text": "Dictionary",
79269
- "canonicalReference": "@empathyco/x-utils!Dictionary:type"
79270
- },
79271
- {
79272
- "kind": "Content",
79273
- "text": "<"
79258
+ "text": "useGetter: "
79274
79259
  },
79275
79260
  {
79276
79261
  "kind": "Reference",
79277
- "text": "ComputedRef",
79278
- "canonicalReference": "@vue/reactivity!ComputedRef:interface"
79279
- },
79280
- {
79281
- "kind": "Content",
79282
- "text": ">"
79283
- },
79284
- {
79285
- "kind": "Content",
79286
- "text": ";"
79262
+ "text": "UseGetter",
79263
+ "canonicalReference": "@empathyco/x-components!~UseGetter:interface"
79287
79264
  }
79288
79265
  ],
79289
79266
  "fileUrlPath": "src/composables/use-getter.ts",
79290
- "returnTypeTokenRange": {
79291
- "startIndex": 11,
79292
- "endIndex": 15
79293
- },
79267
+ "isReadonly": true,
79294
79268
  "releaseTag": "Public",
79295
- "overloadIndex": 1,
79296
- "parameters": [
79297
- {
79298
- "parameterName": "module",
79299
- "parameterTypeTokenRange": {
79300
- "startIndex": 7,
79301
- "endIndex": 8
79302
- },
79303
- "isOptional": false
79304
- },
79305
- {
79306
- "parameterName": "getters",
79307
- "parameterTypeTokenRange": {
79308
- "startIndex": 9,
79309
- "endIndex": 10
79310
- },
79311
- "isOptional": false
79312
- }
79313
- ],
79314
- "typeParameters": [
79315
- {
79316
- "typeParameterName": "Module",
79317
- "constraintTokenRange": {
79318
- "startIndex": 1,
79319
- "endIndex": 2
79320
- },
79321
- "defaultTypeTokenRange": {
79322
- "startIndex": 0,
79323
- "endIndex": 0
79324
- }
79325
- },
79326
- {
79327
- "typeParameterName": "GetterName",
79328
- "constraintTokenRange": {
79329
- "startIndex": 3,
79330
- "endIndex": 6
79331
- },
79332
- "defaultTypeTokenRange": {
79333
- "startIndex": 0,
79334
- "endIndex": 0
79335
- }
79336
- }
79337
- ],
79338
- "name": "useGetter"
79269
+ "name": "useGetter",
79270
+ "variableTypeTokenRange": {
79271
+ "startIndex": 1,
79272
+ "endIndex": 2
79273
+ }
79339
79274
  },
79340
79275
  {
79341
79276
  "kind": "Function",
@@ -184,7 +184,7 @@ required: true;
184
184
  };
185
185
  }, {
186
186
  clickEvent: ComputedRef<Partial<XEventsTypes>>;
187
- cssClasses: ComputedRef<{
187
+ cssClasses: ComputedRef< {
188
188
  'x-selected x-all-filter--is-selected': boolean;
189
189
  }>;
190
190
  isSelected: ComputedRef<boolean>;
@@ -3808,7 +3808,7 @@ export { HistoryIcon }
3808
3808
 
3809
3809
  // @public
3810
3810
  export const HistoryQueries: DefineComponent< {}, {
3811
- historyQueriesWithResults: ComputedRef<any>;
3811
+ historyQueriesWithResults: ComputedRef<HistoryQuery_2[]>;
3812
3812
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
3813
3813
 
3814
3814
  // @public
@@ -3975,7 +3975,7 @@ required: true;
3975
3975
  removeButtonClass: StringConstructor;
3976
3976
  suggestionClass: StringConstructor;
3977
3977
  }, {
3978
- query: ComputedRef<any>;
3978
+ query: ComputedRef<string>;
3979
3979
  suggestionSelectedEvents: ComputedRef<Partial<XEventsTypes>>;
3980
3980
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes< {
3981
3981
  suggestion: {
@@ -4570,7 +4570,7 @@ default: boolean;
4570
4570
  };
4571
4571
  suggestions: PropType<NextQuery_2[]>;
4572
4572
  }, {
4573
- renderedNextQueries: ComputedRef<any>;
4573
+ renderedNextQueries: ComputedRef<NextQuery_2[]>;
4574
4574
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
4575
4575
  highlightCurated: {
4576
4576
  type: BooleanConstructor;
@@ -5056,7 +5056,7 @@ required: true;
5056
5056
 
5057
5057
  // @public
5058
5058
  export const PopularSearches: DefineComponent< {}, {
5059
- popularSearches: ComputedRef<any>;
5059
+ popularSearches: ComputedRef<Suggestion[]>;
5060
5060
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
5061
5061
 
5062
5062
  // @public
@@ -5508,7 +5508,7 @@ type: PropType<Suggestion>;
5508
5508
  required: true;
5509
5509
  };
5510
5510
  }, {
5511
- query: ComputedRef<any>;
5511
+ query: ComputedRef<string>;
5512
5512
  suggestionSelectedEvents: {
5513
5513
  UserSelectedAQuerySuggestion: Suggestion;
5514
5514
  };
@@ -5521,7 +5521,7 @@ required: true;
5521
5521
 
5522
5522
  // @public
5523
5523
  export const QuerySuggestions: DefineComponent< {}, {
5524
- suggestions: ComputedRef<any>;
5524
+ suggestions: ComputedRef<Suggestion[]>;
5525
5525
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
5526
5526
 
5527
5527
  // @public
@@ -7210,7 +7210,7 @@ type: PropType<SemanticQuery_2>;
7210
7210
  required: true;
7211
7211
  };
7212
7212
  }, {
7213
- query: ComputedRef<any>;
7213
+ query: ComputedRef<string>;
7214
7214
  suggestionSelectedEvents: {
7215
7215
  UserSelectedASemanticQuery: SemanticQuery_2;
7216
7216
  };
@@ -8775,8 +8775,10 @@ export function useFiltersInjection(props: {
8775
8775
  parentId?: Filter['id'];
8776
8776
  }): ComputedRef<Filter[]>;
8777
8777
 
8778
+ // Warning: (ae-forgotten-export) The symbol "UseGetter" needs to be exported by the entry point index.d.ts
8779
+ //
8778
8780
  // @public
8779
- export function useGetter<Module extends XModuleName, GetterName extends keyof ExtractGetters<Module> & string>(module: Module, getters: GetterName[]): Dictionary<ComputedRef>;
8781
+ export const useGetter: UseGetter;
8780
8782
 
8781
8783
  // Warning: (ae-forgotten-export) The symbol "UseOnDisplayOptions" needs to be exported by the entry point index.d.ts
8782
8784
  //
@@ -1,13 +1,23 @@
1
1
  import type { Dictionary } from '@empathyco/x-utils';
2
2
  import type { ComputedRef } from 'vue';
3
3
  import type { ExtractGetters, XModuleName } from '../x-modules/x-modules.types';
4
+ interface UseGetter {
5
+ /** @deprecated Use the single-argument overload instead. */
6
+ <Module extends XModuleName, Getters = keyof ExtractGetters<Module> & string[]>(module: Module, getters: Getters): Dictionary<ComputedRef>;
7
+ /**
8
+ * Preferred. Use this signature for better type inference and future compatibility.
9
+ */
10
+ <Module extends XModuleName, Getters = ExtractGetters<Module>>(module: Module): {
11
+ [P in keyof Getters]: ComputedRef<Getters[P]>;
12
+ };
13
+ }
4
14
  /**
5
- * Function which returns the requested getters as a dictionary of getters.
15
+ * Function which returns the requested getter's properties as a dictionary.
6
16
  *
7
17
  * @param module - The {@link XModuleName} of the getter.
8
- * @param getters - List of getters names.
9
18
  * @returns The requested getters from the module.
10
19
  * @public
11
20
  */
12
- export declare function useGetter<Module extends XModuleName, GetterName extends keyof ExtractGetters<Module> & string>(module: Module, getters: GetterName[]): Dictionary<ComputedRef>;
21
+ export declare const useGetter: UseGetter;
22
+ export {};
13
23
  //# sourceMappingURL=use-getter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-getter.d.ts","sourceRoot":"","sources":["../../../src/composables/use-getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAK/E;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,MAAM,SAAS,WAAW,EAC1B,UAAU,SAAS,MAAM,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM,EACxD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAShE"}
1
+ {"version":3,"file":"use-getter.d.ts","sourceRoot":"","sources":["../../../src/composables/use-getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAK/E,UAAU,SAAS;IACjB,4DAA4D;IAC5D,CAAC,MAAM,SAAS,WAAW,EAAE,OAAO,GAAG,MAAM,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,EAC5E,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,GACf,UAAU,CAAC,WAAW,CAAC,CAAA;IAE1B;;OAEG;IACH,CAAC,MAAM,SAAS,WAAW,EAAE,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,EAC3D,MAAM,EAAE,MAAM,GACb;SAAG,CAAC,IAAI,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;KAAE,CAAA;CACrD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,SAYvB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Facet } from '@empathyco/x-types';
2
2
  import type { Dictionary } from '@empathyco/x-utils';
3
- import type { ComputedRef, PropType } from 'vue';
3
+ import type { PropType } from 'vue';
4
4
  /**
5
5
  * Custom interface to provide a slot name to a Facet.
6
6
  *
@@ -51,9 +51,9 @@ declare const _default: import("vue").DefineComponent<{
51
51
  */
52
52
  renderableFacets: StringConstructor;
53
53
  }, {
54
- selectedFiltersByFacet: ComputedRef<import("../..").FiltersByFacet>;
55
- hasFacets: ComputedRef<boolean>;
56
- mappedFacets: ComputedRef<Dictionary<RenderFacet>>;
54
+ selectedFiltersByFacet: import("vue").ComputedRef<import("../..").FiltersByFacet>;
55
+ hasFacets: import("vue").ComputedRef<boolean>;
56
+ mappedFacets: import("vue").ComputedRef<Dictionary<RenderFacet>>;
57
57
  hasSlot: (name: string) => boolean;
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  /** Array of facets ids used to get the selected filters for those facets. */
@@ -1 +1 @@
1
- {"version":3,"file":"facets.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/facets/facets.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAShD;;;;GAIG;AACH,UAAU,WAAW;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,KAAK,EAAE,KAAK,CAAA;CACb;AAED;;;;;;;;GAQG;;IAKC,6EAA6E;;IAE7E,0EAA0E;;IAE1E,mEAAmE;;;;;IAKnE;;;;;;;;;;;;;;;;;;OAkBG;;;;;;oBAkFoB,MAAM,KAAG,OAAO;;IA7GvC,6EAA6E;;IAE7E,0EAA0E;;IAE1E,mEAAmE;;;;;IAKnE;;;;;;;;;;;;;;;;;;OAkBG;;;;;;AA/BP,wBA4HE"}
1
+ {"version":3,"file":"facets.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/facets/facets.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AASnC;;;;GAIG;AACH,UAAU,WAAW;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,KAAK,EAAE,KAAK,CAAA;CACb;AAED;;;;;;;;GAQG;;IAKC,6EAA6E;;IAE7E,0EAA0E;;IAE1E,mEAAmE;;;;;IAKnE;;;;;;;;;;;;;;;;;;OAkBG;;;;;;oBA8EoB,MAAM,KAAG,OAAO;;IAzGvC,6EAA6E;;IAE7E,0EAA0E;;IAE1E,mEAAmE;;;;;IAKnE;;;;;;;;;;;;;;;;;;OAkBG;;;;;;AA/BP,wBAwHE"}
@@ -1,5 +1,5 @@
1
1
  import type { Facet } from '@empathyco/x-types';
2
- import type { ComputedRef, PropType } from 'vue';
2
+ import type { PropType } from 'vue';
3
3
  import type { XEventsTypes } from '../../../../wiring/events.types';
4
4
  /**
5
5
  * This component receives a required `facet` with
@@ -17,11 +17,11 @@ declare const _default: import("vue").DefineComponent<{
17
17
  required: true;
18
18
  };
19
19
  }, {
20
- clickEvent: ComputedRef<Partial<XEventsTypes>>;
21
- cssClasses: ComputedRef<{
20
+ clickEvent: import("vue").ComputedRef<Partial<XEventsTypes>>;
21
+ cssClasses: import("vue").ComputedRef<{
22
22
  'x-selected x-all-filter--is-selected': boolean;
23
23
  }>;
24
- isSelected: ComputedRef<boolean>;
24
+ isSelected: import("vue").ComputedRef<boolean>;
25
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
26
  /** The facet data. */
27
27
  facet: {
@@ -1 +1 @@
1
- {"version":3,"file":"all-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/all-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAChD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAQnE;;;;;;;;GAQG;;IAQC,sBAAsB;;;;;;;;;;;;IAAtB,sBAAsB;;;;;;AAP1B,wBA4DE"}
1
+ {"version":3,"file":"all-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/facets/components/filters/all-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAOnE;;;;;;;;GAQG;;IAQC,sBAAsB;;;;;;;;;;;;IAAtB,sBAAsB;;;;;;AAP1B,wBAyDE"}
@@ -6,7 +6,7 @@
6
6
  * @public
7
7
  */
8
8
  declare const _default: import("vue").DefineComponent<{}, {
9
- historyQueriesWithResults: import("vue").ComputedRef<any>;
9
+ historyQueriesWithResults: import("vue").ComputedRef<import("@empathyco/x-types").HistoryQuery[]>;
10
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=history-queries.vue?vue&type=script&lang.d.ts.map
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  /** Class inherited by content element. */
24
24
  suggestionClass: StringConstructor;
25
25
  }, {
26
- query: import("vue").ComputedRef<any>;
26
+ query: import("vue").ComputedRef<string>;
27
27
  suggestionSelectedEvents: import("vue").ComputedRef<Partial<XEventsTypes>>;
28
28
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  /**
@@ -1,5 +1,5 @@
1
1
  import type { Result } from '@empathyco/x-types';
2
- import type { ComputedRef, PropType } from 'vue';
2
+ import type { PropType } from 'vue';
3
3
  /**
4
4
  * This component renders an identifier result value and highlights its matching part with the
5
5
  * query from the state. Receives as prop the {@link @empathyco/x-types#Result} data.
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
17
17
  required: true;
18
18
  };
19
19
  }, {
20
- query: ComputedRef<string>;
21
- highlightedQueryHTML: ComputedRef<string>;
20
+ query: import("vue").ComputedRef<string>;
21
+ highlightedQueryHTML: import("vue").ComputedRef<string>;
22
22
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  /**
24
24
  * (Required) The {@link @empathyco/x-types#Result} information.
@@ -1 +1 @@
1
- {"version":3,"file":"identifier-result.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/components/identifier-result.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAMhD;;;;;GAKG;;IAKC;;;;OAIG;;;;;;;;;IAJH;;;;OAIG;;;;;;AARP,wBAsDE"}
1
+ {"version":3,"file":"identifier-result.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/components/identifier-result.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAMnC;;;;;GAKG;;IAKC;;;;OAIG;;;;;;;;;IAJH;;;;OAIG;;;;;;AARP,wBAoDE"}
@@ -1 +1 @@
1
- {"version":3,"file":"next-queries-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/components/next-queries-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAkBA;;;;;GAKG;;IAKC,gFAAgF;;;;;IAKhF,4DAA4D;;;;;IAK5D,qEAAqE;;;;;IAKrE,mEAAmE;;;;;IAKnE,gFAAgF;;IAEhF;;;OAGG;;;;;;;;IAzBH,gFAAgF;;;;;IAKhF,4DAA4D;;;;;IAK5D,qEAAqE;;;;;IAKrE,mEAAmE;;;;;IAKnE,gFAAgF;;IAEhF;;;OAGG;;;;;;;;;;;;AA7BP,wBA2IE"}
1
+ {"version":3,"file":"next-queries-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/components/next-queries-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AAiBA;;;;;GAKG;;IAKC,gFAAgF;;;;;IAKhF,4DAA4D;;;;;IAK5D,qEAAqE;;;;;IAKrE,mEAAmE;;;;;IAKnE,gFAAgF;;IAEhF;;;OAGG;;;;;;;;IAzBH,gFAAgF;;;;;IAKhF,4DAA4D;;;;;IAK5D,qEAAqE;;;;;IAKrE,mEAAmE;;;;;IAKnE,gFAAgF;;IAEhF;;;OAGG;;;;;;;;;;;;AA7BP,wBAyIE"}
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  */
27
27
  suggestions: PropType<NextQueryModel[]>;
28
28
  }, {
29
- renderedNextQueries: import("vue").ComputedRef<any>;
29
+ renderedNextQueries: import("vue").ComputedRef<NextQueryModel[]>;
30
30
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  /**
32
32
  * Flag to indicate if the curated next queries should be displayed different.
@@ -7,7 +7,7 @@
7
7
  * @public
8
8
  */
9
9
  declare const _default: import("vue").DefineComponent<{}, {
10
- popularSearches: import("vue").ComputedRef<any>;
10
+ popularSearches: import("vue").ComputedRef<import("@empathyco/x-types").Suggestion[]>;
11
11
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
12
12
  export default _default;
13
13
  //# sourceMappingURL=popular-searches.vue?vue&type=script&lang.d.ts.map
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  required: true;
15
15
  };
16
16
  }, {
17
- query: import("vue").ComputedRef<any>;
17
+ query: import("vue").ComputedRef<string>;
18
18
  suggestionSelectedEvents: {
19
19
  UserSelectedAQuerySuggestion: Suggestion;
20
20
  };
@@ -6,7 +6,7 @@
6
6
  * @public
7
7
  */
8
8
  declare const _default: import("vue").DefineComponent<{}, {
9
- suggestions: import("vue").ComputedRef<any>;
9
+ suggestions: import("vue").ComputedRef<import("@empathyco/x-types").Suggestion[]>;
10
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
11
11
  export default _default;
12
12
  //# sourceMappingURL=query-suggestions.vue?vue&type=script&lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"related-tags.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/components/related-tags.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAOtC;;;;;;;;GAQG;;IAQC;;;;OAIG;;;;;IAMH;;;;OAIG;;IAGH;;;;OAIG;;;;;IAMH,0CAA0C;;;;;IA3B1C;;;;OAIG;;;;;IAMH;;;;OAIG;;IAGH;;;;OAIG;;;;;IAMH,0CAA0C;;;;;;AAlC9C,wBAkDE"}
1
+ {"version":3,"file":"related-tags.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/components/related-tags.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAOtC;;;;;;;;GAQG;;IAQC;;;;OAIG;;;;;IAMH;;;;OAIG;;IAGH;;;;OAIG;;;;;IAMH,0CAA0C;;;;;IA3B1C;;;;OAIG;;;;;IAMH;;;;OAIG;;IAGH;;;;OAIG;;;;;IAMH,0CAA0C;;;;;;AAlC9C,wBAgDE"}
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  required: true;
16
16
  };
17
17
  }, {
18
- query: import("vue").ComputedRef<any>;
18
+ query: import("vue").ComputedRef<string>;
19
19
  suggestionSelectedEvents: {
20
20
  UserSelectedASemanticQuery: SemanticQuery;
21
21
  };