@empathyco/x-components 8.11.0 → 8.12.1

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 (76) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/docs/API-reference/api/x-components.hierarchicalfilter.md +8 -0
  3. package/docs/API-reference/api/x-components.md +37 -0
  4. package/docs/API-reference/api/x-components.querypreviewlist.md +2 -0
  5. package/docs/API-reference/api/x-components.setquerypreviewvendorbanners.md +16 -0
  6. package/docs/API-reference/api/x-components.setquerypreviewvendorresults.md +16 -0
  7. package/docs/API-reference/api/x-components.simplefilter.md +8 -0
  8. package/docs/API-reference/api/x-components.snippetcallbacks.md +8 -0
  9. package/docs/API-reference/api/x-components.snippetconfig.lang.md +1 -1
  10. package/docs/API-reference/api/x-components.snippetconfig.md +2 -2
  11. package/docs/API-reference/api/x-components.snippetconfig.uilang.md +1 -1
  12. package/docs/API-reference/api/x-components.vendorbannerslist.md +11 -0
  13. package/docs/API-reference/api/x-components.vendormutations.md +57 -0
  14. package/docs/API-reference/api/x-components.vendormutations.removequerypreviewvendordata.md +13 -0
  15. package/docs/API-reference/api/x-components.vendormutations.setquerypreviewvendorbanners.md +16 -0
  16. package/docs/API-reference/api/x-components.vendormutations.setquerypreviewvendorresults.md +16 -0
  17. package/docs/API-reference/api/x-components.vendorquerypreview.banners.md +13 -0
  18. package/docs/API-reference/api/x-components.vendorquerypreview.md +77 -0
  19. package/docs/API-reference/api/x-components.vendorquerypreview.results.md +13 -0
  20. package/docs/API-reference/api/x-components.vendorresultslist.md +11 -0
  21. package/docs/API-reference/api/x-components.vendorstate.md +19 -0
  22. package/docs/API-reference/api/x-components.vendorstate.querypreviews.md +13 -0
  23. package/docs/API-reference/api/x-components.vendorxevents.md +38 -0
  24. package/docs/API-reference/api/x-components.vendorxevents.querypreviewvendorbannerschanged.md +16 -0
  25. package/docs/API-reference/api/x-components.vendorxevents.querypreviewvendorresultschanged.md +16 -0
  26. package/docs/API-reference/api/x-components.vendorxevents.vendorquerychanged.md +5 -0
  27. package/docs/API-reference/components/queries-preview/x-components.query-preview-list.md +46 -0
  28. package/docs/API-reference/components/vendor/x-components.vendor-banners-list.md +7 -3
  29. package/docs/API-reference/components/vendor/x-components.vendor-results-list.md +7 -3
  30. package/js/index.js +1 -1
  31. package/js/x-modules/queries-preview/components/query-preview-list.vue.js +30 -34
  32. package/js/x-modules/queries-preview/components/query-preview-list.vue.js.map +1 -1
  33. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js +2 -0
  34. package/js/x-modules/queries-preview/components/query-preview-list.vue2.js.map +1 -1
  35. package/js/x-modules/queries-preview/components/query-preview.vue.js.map +1 -1
  36. package/js/x-modules/queries-preview/components/query-preview.vue2.js +1 -0
  37. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  38. package/js/x-modules/vendor/components/vendor-banners-list.vue.js +34 -5
  39. package/js/x-modules/vendor/components/vendor-banners-list.vue.js.map +1 -1
  40. package/js/x-modules/vendor/components/vendor-results-list.vue.js +34 -5
  41. package/js/x-modules/vendor/components/vendor-results-list.vue.js.map +1 -1
  42. package/js/x-modules/vendor/store/emitters.js +11 -1
  43. package/js/x-modules/vendor/store/emitters.js.map +1 -1
  44. package/js/x-modules/vendor/store/module.js +22 -0
  45. package/js/x-modules/vendor/store/module.js.map +1 -1
  46. package/js/x-modules/vendor/wiring.js +32 -1
  47. package/js/x-modules/vendor/wiring.js.map +1 -1
  48. package/package.json +2 -2
  49. package/report/x-components.api.json +649 -21
  50. package/report/x-components.api.md +103 -1
  51. package/types/src/components/snippet-callbacks.vue.d.ts +8 -0
  52. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  53. package/types/src/x-installer/api/api.types.d.ts +2 -2
  54. package/types/src/x-installer/api/api.types.d.ts.map +1 -1
  55. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +8 -0
  56. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  57. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +8 -0
  58. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  59. package/types/src/x-modules/queries-preview/components/query-preview-list.vue.d.ts +2 -0
  60. package/types/src/x-modules/queries-preview/components/query-preview-list.vue.d.ts.map +1 -1
  61. package/types/src/x-modules/queries-preview/components/query-preview.vue.d.ts.map +1 -1
  62. package/types/src/x-modules/vendor/components/vendor-banners-list.vue.d.ts +20 -0
  63. package/types/src/x-modules/vendor/components/vendor-banners-list.vue.d.ts.map +1 -1
  64. package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts +20 -0
  65. package/types/src/x-modules/vendor/components/vendor-results-list.vue.d.ts.map +1 -1
  66. package/types/src/x-modules/vendor/events.types.d.ts +24 -0
  67. package/types/src/x-modules/vendor/events.types.d.ts.map +1 -1
  68. package/types/src/x-modules/vendor/store/emitters.d.ts +11 -1
  69. package/types/src/x-modules/vendor/store/emitters.d.ts.map +1 -1
  70. package/types/src/x-modules/vendor/store/module.d.ts +1 -0
  71. package/types/src/x-modules/vendor/store/module.d.ts.map +1 -1
  72. package/types/src/x-modules/vendor/store/types.d.ts +42 -0
  73. package/types/src/x-modules/vendor/store/types.d.ts.map +1 -1
  74. package/types/src/x-modules/vendor/wiring.d.ts +36 -0
  75. package/types/src/x-modules/vendor/wiring.d.ts.map +1 -1
  76. package/vendor/index.js +1 -1
@@ -10,6 +10,24 @@ export declare const setResults: import("../../wiring").AnyWire;
10
10
  * @public
11
11
  */
12
12
  export declare const setBanners: import("../../wiring").AnyWire;
13
+ /**
14
+ * Sets the vendor results of a query preview in the {@link VendorXModule}.
15
+ *
16
+ * @public
17
+ */
18
+ export declare const setQueryPreviewVendorResults: import("../../wiring").Wire<{
19
+ queryPreviewHash: string;
20
+ results: Omit<import("./types").VendorResult, "modelName">[];
21
+ }>;
22
+ /**
23
+ * Sets the vendor banners of a query preview in the {@link VendorXModule}.
24
+ *
25
+ * @public
26
+ */
27
+ export declare const setQueryPreviewVendorBanners: import("../../wiring").Wire<{
28
+ queryPreviewHash: string;
29
+ banners: Omit<import("./types").VendorBanner, "modelName">[];
30
+ }>;
13
31
  /**
14
32
  * Wiring configuration for the {@link VendorXModule | vendor module}.
15
33
  *
@@ -37,6 +55,24 @@ export declare const vendorWiring: {
37
55
  VendorBannersChanged: {
38
56
  setBanners: import("../../wiring").AnyWire;
39
57
  };
58
+ QueryPreviewVendorResultsChanged: {
59
+ setQueryPreviewVendorResults: import("../../wiring").Wire<{
60
+ queryPreviewHash: string;
61
+ results: Omit<import("./types").VendorResult, "modelName">[];
62
+ }>;
63
+ };
64
+ QueryPreviewVendorBannersChanged: {
65
+ setQueryPreviewVendorBanners: import("../../wiring").Wire<{
66
+ queryPreviewHash: string;
67
+ banners: Omit<import("./types").VendorBanner, "modelName">[];
68
+ }>;
69
+ };
70
+ QueryPreviewUnmounted: {
71
+ removeQueryPreviewVendorData: import("../../wiring").Wire<{
72
+ queryPreviewHash: string;
73
+ cache: boolean;
74
+ }>;
75
+ };
40
76
  VendorBannerMounted: {
41
77
  trackMounted: import("../../wiring").Wire<import("./types").VendorResult | import("./types").VendorBanner>;
42
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/wiring.ts"],"names":[],"mappings":"AAgDA;;;;GAIG;AACH,eAAO,MAAM,UAAU,gCAOtB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,gCAOtB,CAAA;AAqCD;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CvB,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/wiring.ts"],"names":[],"mappings":"AAgDA;;;;GAIG;AACH,eAAO,MAAM,UAAU,gCAOtB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,gCAOtB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;;EAA6C,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;;EAA6C,CAAA;AAkDtF;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDvB,CAAA"}
package/vendor/index.js CHANGED
@@ -2,5 +2,5 @@ export { default as VendorBannersList } from '../js/x-modules/vendor/components/
2
2
  export { default as VendorResultsList } from '../js/x-modules/vendor/components/vendor-results-list.vue.js';
3
3
  export { vendorEmitters } from '../js/x-modules/vendor/store/emitters.js';
4
4
  export { resettableVendorState, vendorXStoreModule } from '../js/x-modules/vendor/store/module.js';
5
- export { setBanners, setResults, vendorWiring } from '../js/x-modules/vendor/wiring.js';
5
+ export { setBanners, setQueryPreviewVendorBanners, setQueryPreviewVendorResults, setResults, vendorWiring } from '../js/x-modules/vendor/wiring.js';
6
6
  export { vendorXModule } from '../js/x-modules/vendor/x-module.js';