@empathyco/x-components 8.2.0 → 8.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/docs/API-reference/api/x-components.baseaddtocart.md +12 -2
  3. package/docs/API-reference/api/x-components.baseresultlink.md +12 -2
  4. package/docs/API-reference/api/x-components.hierarchicalfilter.md +3 -0
  5. package/docs/API-reference/api/x-components.md +20 -0
  6. package/docs/API-reference/api/x-components.reseturlquery.md +13 -0
  7. package/docs/API-reference/api/x-components.simplefilter.md +3 -0
  8. package/docs/API-reference/api/x-components.snippetcallbacks.md +3 -0
  9. package/docs/API-reference/api/x-components.vendorresult.md +21 -2
  10. package/docs/API-reference/api/x-components.vendorresult.tagging.md +11 -0
  11. package/docs/API-reference/api/x-components.vendorresulttagging.add2carturl.md +11 -0
  12. package/docs/API-reference/api/x-components.vendorresulttagging.clickurl.md +11 -0
  13. package/docs/API-reference/api/x-components.vendorresulttagging.md +88 -0
  14. package/docs/API-reference/api/x-components.vendorresulttagging.viewurl.md +11 -0
  15. package/docs/API-reference/api/x-components.vendorxevents.md +57 -0
  16. package/docs/API-reference/api/x-components.vendorxevents.userclickedavendorresult.md +13 -0
  17. package/docs/API-reference/api/x-components.vendorxevents.userclickedvendorresultaddtocart.md +13 -0
  18. package/docs/API-reference/api/x-components.vendorxevents.userviewedavendorresult.md +13 -0
  19. package/docs/API-reference/components/common/result/x-components.base-result-add-to-cart.md +4 -3
  20. package/docs/API-reference/components/common/result/x-components.base-result-link.md +4 -3
  21. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  22. package/js/components/result/base-result-add-to-cart.vue2.js +6 -2
  23. package/js/components/result/base-result-add-to-cart.vue2.js.map +1 -1
  24. package/js/components/result/base-result-link.vue.js +8 -12
  25. package/js/components/result/base-result-link.vue.js.map +1 -1
  26. package/js/components/result/base-result-link.vue2.js +7 -3
  27. package/js/components/result/base-result-link.vue2.js.map +1 -1
  28. package/js/index.js +1 -1
  29. package/js/x-modules/ai/wiring.js +4 -0
  30. package/js/x-modules/ai/wiring.js.map +1 -1
  31. package/js/x-modules/facets/wiring.js +9 -0
  32. package/js/x-modules/facets/wiring.js.map +1 -1
  33. package/js/x-modules/next-queries/wiring.js +4 -0
  34. package/js/x-modules/next-queries/wiring.js.map +1 -1
  35. package/js/x-modules/query-suggestions/wiring.js +4 -0
  36. package/js/x-modules/query-suggestions/wiring.js.map +1 -1
  37. package/js/x-modules/related-prompts/wiring.js +7 -0
  38. package/js/x-modules/related-prompts/wiring.js.map +1 -1
  39. package/js/x-modules/related-tags/wiring.js +5 -0
  40. package/js/x-modules/related-tags/wiring.js.map +1 -1
  41. package/js/x-modules/search-box/wiring.js +3 -0
  42. package/js/x-modules/search-box/wiring.js.map +1 -1
  43. package/js/x-modules/url/wiring.js +8 -1
  44. package/js/x-modules/url/wiring.js.map +1 -1
  45. package/js/x-modules/vendor/wiring.js +14 -0
  46. package/js/x-modules/vendor/wiring.js.map +1 -1
  47. package/package.json +2 -2
  48. package/report/x-components.api.json +479 -15
  49. package/report/x-components.api.md +90 -5
  50. package/types/src/components/result/base-result-add-to-cart.vue.d.ts +13 -2
  51. package/types/src/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
  52. package/types/src/components/result/base-result-link.vue.d.ts +14 -2
  53. package/types/src/components/result/base-result-link.vue.d.ts.map +1 -1
  54. package/types/src/components/snippet-callbacks.vue.d.ts +3 -0
  55. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  56. package/types/src/x-modules/ai/wiring.d.ts +4 -0
  57. package/types/src/x-modules/ai/wiring.d.ts.map +1 -1
  58. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +3 -0
  59. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  60. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +3 -0
  61. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  62. package/types/src/x-modules/facets/wiring.d.ts +3 -0
  63. package/types/src/x-modules/facets/wiring.d.ts.map +1 -1
  64. package/types/src/x-modules/next-queries/wiring.d.ts +4 -0
  65. package/types/src/x-modules/next-queries/wiring.d.ts.map +1 -1
  66. package/types/src/x-modules/query-suggestions/wiring.d.ts +4 -0
  67. package/types/src/x-modules/query-suggestions/wiring.d.ts.map +1 -1
  68. package/types/src/x-modules/related-prompts/wiring.d.ts +5 -0
  69. package/types/src/x-modules/related-prompts/wiring.d.ts.map +1 -1
  70. package/types/src/x-modules/related-tags/wiring.d.ts +5 -0
  71. package/types/src/x-modules/related-tags/wiring.d.ts.map +1 -1
  72. package/types/src/x-modules/search-box/wiring.d.ts +3 -0
  73. package/types/src/x-modules/search-box/wiring.d.ts.map +1 -1
  74. package/types/src/x-modules/url/wiring.d.ts +7 -0
  75. package/types/src/x-modules/url/wiring.d.ts.map +1 -1
  76. package/types/src/x-modules/vendor/events.types.d.ts +15 -0
  77. package/types/src/x-modules/vendor/events.types.d.ts.map +1 -1
  78. package/types/src/x-modules/vendor/types.d.ts +7 -1
  79. package/types/src/x-modules/vendor/types.d.ts.map +1 -1
  80. package/types/src/x-modules/vendor/wiring.d.ts +9 -0
  81. package/types/src/x-modules/vendor/wiring.d.ts.map +1 -1
  82. package/url/index.js +1 -1
@@ -311,6 +311,10 @@ export const aiWiring: {
311
311
  resetAiQueryWire: AnyWire;
312
312
  resetSearchTotalResultsWire: AnyWire;
313
313
  };
314
+ UserBrowsedToCategory: {
315
+ resetAiQueryWire: AnyWire;
316
+ resetSearchTotalResultsWire: AnyWire;
317
+ };
314
318
  ResultsChanged: {
315
319
  setExcludedResultIdsWire: Wire<Result[]>;
316
320
  };
@@ -573,15 +577,25 @@ result: {
573
577
  type: PropType<Result>;
574
578
  required: true;
575
579
  };
580
+ clickEvent: {
581
+ type: PropType<XEvent>;
582
+ default: string;
583
+ };
576
584
  }>, {
577
- events: {};
585
+ events: ComputedRef<Partial<XEventsTypes>>;
578
586
  metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
579
587
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
580
588
  result: {
581
589
  type: PropType<Result>;
582
590
  required: true;
583
591
  };
584
- }>> & Readonly<{}>, {}, {}, {
592
+ clickEvent: {
593
+ type: PropType<XEvent>;
594
+ default: string;
595
+ };
596
+ }>> & Readonly<{}>, {
597
+ clickEvent: keyof XEventsTypes;
598
+ }, {}, {
585
599
  BaseEventButton: DefineComponent< {}, {}, any>;
586
600
  }, {}, string, ComponentProvideOptions, true, {}, any>;
587
601
 
@@ -1305,15 +1319,25 @@ result: {
1305
1319
  type: PropType<Result>;
1306
1320
  required: true;
1307
1321
  };
1322
+ clickEvent: {
1323
+ type: PropType<XEvent>;
1324
+ default: string;
1325
+ };
1308
1326
  }>, {
1309
1327
  el: Ref<any, any>;
1310
- emitUserClickedAResult: () => void;
1328
+ onClick: () => void;
1311
1329
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1312
1330
  result: {
1313
1331
  type: PropType<Result>;
1314
1332
  required: true;
1315
1333
  };
1316
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1334
+ clickEvent: {
1335
+ type: PropType<XEvent>;
1336
+ default: string;
1337
+ };
1338
+ }>> & Readonly<{}>, {
1339
+ clickEvent: keyof XEventsTypes;
1340
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1317
1341
 
1318
1342
  // @public
1319
1343
  export const BaseResultPreviousPrice: DefineComponent<ExtractPropTypes< {
@@ -3289,6 +3313,9 @@ export const facetsWiring: {
3289
3313
  clearAllFiltersButStickyWire: AnyWire;
3290
3314
  setQuery: Wire<string>;
3291
3315
  };
3316
+ UserBrowsedToCategory: {
3317
+ clearQuery: AnyWire;
3318
+ };
3292
3319
  UserClickedOpenX: {
3293
3320
  selectPreselectedFilterWire: Wire<undefined>;
3294
3321
  };
@@ -3951,6 +3978,9 @@ UserClickedAnAiCarouselResult?: Result | undefined;
3951
3978
  UserClickedAnAiCarouselAdd2Cart?: Result | undefined;
3952
3979
  AiComponentMounted?: void | undefined;
3953
3980
  VendorResultsChanged?: Omit<VendorResult, "modelName">[] | undefined;
3981
+ UserViewedAVendorResult?: VendorResult | undefined;
3982
+ UserClickedAVendorResult?: VendorResult | undefined;
3983
+ UserClickedVendorResultAddToCart?: VendorResult | undefined;
3954
3984
  }>;
3955
3985
  innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
3956
3986
  renderedChildrenFilters: ComputedRef<HierarchicalFilter_2[]>;
@@ -5016,6 +5046,10 @@ export const nextQueriesWiring: {
5016
5046
  resetNextQueriesWire: AnyWire;
5017
5047
  resetNextQueriesQuery: AnyWire;
5018
5048
  };
5049
+ UserBrowsedToCategory: {
5050
+ resetNextQueriesWire: AnyWire;
5051
+ resetNextQueriesQuery: AnyWire;
5052
+ };
5019
5053
  SelectedRelatedTagsChanged: {
5020
5054
  setNextQueriesRelatedTags: Wire<RelatedTag_2[]>;
5021
5055
  };
@@ -5950,6 +5984,10 @@ export const querySuggestionsWiring: {
5950
5984
  clearQuerySuggestionsQuery: AnyWire;
5951
5985
  cancelFetchAndSaveSuggestionsWire: AnyWire;
5952
5986
  };
5987
+ UserBrowsedToCategory: {
5988
+ clearQuerySuggestionsQuery: AnyWire;
5989
+ cancelFetchAndSaveSuggestionsWire: AnyWire;
5990
+ };
5953
5991
  QuerySuggestionsRequestUpdated: {
5954
5992
  fetchAndSaveSuggestionsWire: Wire<QuerySuggestionsRequest | null>;
5955
5993
  };
@@ -6375,6 +6413,11 @@ export const relatedPromptsWiring: {
6375
6413
  resetRelatedPromptsState: AnyWire;
6376
6414
  setRelatedPromptsQuery: Wire<string>;
6377
6415
  };
6416
+ UserBrowsedToCategory: {
6417
+ cancelFetchAndSaveRelatedPrompts: AnyWire;
6418
+ resetRelatedPromptsState: AnyWire;
6419
+ resetRelatedPromptsQuery: AnyWire;
6420
+ };
6378
6421
  RelatedPromptsRequestUpdated: {
6379
6422
  fetchAndSaveRelatedPrompts: Wire<RelatedPromptsRequest | null>;
6380
6423
  };
@@ -6563,6 +6606,11 @@ export const relatedTagsWiring: {
6563
6606
  clearRelatedTagsQuery: AnyWire;
6564
6607
  clearSelectedRelatedTags: AnyWire;
6565
6608
  };
6609
+ UserBrowsedToCategory: {
6610
+ cancelFetchAndSaveRelatedTagsWire: AnyWire;
6611
+ clearRelatedTagsQuery: AnyWire;
6612
+ clearSelectedRelatedTags: AnyWire;
6613
+ };
6566
6614
  ExtraParamsChanged: {
6567
6615
  setRelatedTagsExtraParams: Wire<Dictionary<unknown>>;
6568
6616
  };
@@ -6794,6 +6842,9 @@ export function resettableState(): {
6794
6842
  // @public
6795
6843
  export const resetUrlBrowseCategory: AnyWire;
6796
6844
 
6845
+ // @public
6846
+ export const resetUrlQuery: AnyWire;
6847
+
6797
6848
  // @internal
6798
6849
  export const RESULT_WITH_VARIANTS_KEY: XInjectKey<Result>;
6799
6850
 
@@ -7161,6 +7212,9 @@ export const searchBoxWiring: {
7161
7212
  UserClearedQuery: {
7162
7213
  transitionState: AnyWire;
7163
7214
  };
7215
+ UserBrowsedToCategory: {
7216
+ transitionState: AnyWire;
7217
+ };
7164
7218
  UserFocusedSearchBox: {
7165
7219
  transitionState: AnyWire;
7166
7220
  };
@@ -8179,6 +8233,9 @@ UserClickedAnAiCarouselResult?: Result | undefined;
8179
8233
  UserClickedAnAiCarouselAdd2Cart?: Result | undefined;
8180
8234
  AiComponentMounted?: void | undefined;
8181
8235
  VendorResultsChanged?: Omit<VendorResult, "modelName">[] | undefined;
8236
+ UserViewedAVendorResult?: VendorResult | undefined;
8237
+ UserClickedAVendorResult?: VendorResult | undefined;
8238
+ UserClickedVendorResultAddToCart?: VendorResult | undefined;
8182
8239
  }>;
8183
8240
  innerCssClasses: ComputedRef<(string | Dictionary<boolean>)[]>;
8184
8241
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
@@ -8518,6 +8575,9 @@ UserClickedAnAiCarouselResult: (payload: Result, metadata: WireMetadata) => unkn
8518
8575
  UserClickedAnAiCarouselAdd2Cart: (payload: Result, metadata: WireMetadata) => unknown;
8519
8576
  AiComponentMounted: (payload: undefined, metadata: WireMetadata) => unknown;
8520
8577
  VendorResultsChanged: (payload: Omit<VendorResult, "modelName">[], metadata: WireMetadata) => unknown;
8578
+ UserViewedAVendorResult: (payload: VendorResult, metadata: WireMetadata) => unknown;
8579
+ UserClickedAVendorResult: (payload: VendorResult, metadata: WireMetadata) => unknown;
8580
+ UserClickedVendorResultAddToCart: (payload: VendorResult, metadata: WireMetadata) => unknown;
8521
8581
  }>>;
8522
8582
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
8523
8583
  GlobalXBus: DefineComponent< {}, {}, any>;
@@ -9312,6 +9372,7 @@ export const urlWiring: {
9312
9372
  };
9313
9373
  UserBrowsedToCategory: {
9314
9374
  setUrlBrowseCategory: Wire<BrowsableRequest>;
9375
+ resetUrlQuery: AnyWire;
9315
9376
  };
9316
9377
  UserClickedCloseX: {
9317
9378
  resetUrlBrowseCategory: AnyWire;
@@ -9536,9 +9597,11 @@ export interface VendorMutations {
9536
9597
  }
9537
9598
 
9538
9599
  // @public
9539
- export interface VendorResult extends Omit<Result, 'modelName'>, NamedModel<'VendorResult'> {
9600
+ export interface VendorResult extends Omit<Result, 'modelName' | 'tagging'>, NamedModel<'VendorResult'> {
9540
9601
  // (undocumented)
9541
9602
  position: number;
9603
+ // (undocumented)
9604
+ tagging?: VendorResultTagging;
9542
9605
  }
9543
9606
 
9544
9607
  // @public
@@ -9558,6 +9621,16 @@ default: string;
9558
9621
  animation: string | Function | Record<string, any>;
9559
9622
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
9560
9623
 
9624
+ // @public (undocumented)
9625
+ export interface VendorResultTagging {
9626
+ // (undocumented)
9627
+ add2cartUrl: string;
9628
+ // (undocumented)
9629
+ clickUrl: string;
9630
+ // (undocumented)
9631
+ viewUrl: string;
9632
+ }
9633
+
9561
9634
  // @public (undocumented)
9562
9635
  export interface VendorState {
9563
9636
  // (undocumented)
@@ -9569,6 +9642,15 @@ export const vendorWiring: {
9569
9642
  VendorResultsChanged: {
9570
9643
  setResults: AnyWire;
9571
9644
  };
9645
+ UserViewedAVendorResult: {
9646
+ trackResultView: Wire<VendorResult>;
9647
+ };
9648
+ UserClickedAVendorResult: {
9649
+ trackResultClick: Wire<VendorResult>;
9650
+ };
9651
+ UserClickedVendorResultAddToCart: {
9652
+ trackResultAddToCart: Wire<VendorResult>;
9653
+ };
9572
9654
  SearchRequestChanged: {
9573
9655
  resetResults: AnyWire;
9574
9656
  };
@@ -9576,6 +9658,9 @@ export const vendorWiring: {
9576
9658
 
9577
9659
  // @public
9578
9660
  export interface VendorXEvents {
9661
+ UserClickedAVendorResult: VendorResult;
9662
+ UserClickedVendorResultAddToCart: VendorResult;
9663
+ UserViewedAVendorResult: VendorResult;
9579
9664
  VendorResultsChanged: Omit<VendorResult, 'modelName'>[];
9580
9665
  }
9581
9666
 
@@ -1,5 +1,6 @@
1
1
  import type { Result } from '@empathyco/x-types';
2
2
  import type { PropType } from 'vue';
3
+ import type { XEvent, XEventsTypes } from '../../wiring/events.types';
3
4
  import type { WireMetadata } from '../../wiring/index';
4
5
  /**
5
6
  * Renders a button with a default slot. It receives the result with the data and emits
@@ -17,8 +18,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
17
18
  type: PropType<Result>;
18
19
  required: true;
19
20
  };
21
+ clickEvent: {
22
+ type: PropType<XEvent>;
23
+ default: string;
24
+ };
20
25
  }>, {
21
- events: {};
26
+ events: import("vue").ComputedRef<Partial<XEventsTypes>>;
22
27
  metadata: Omit<WireMetadata, "moduleName" | "origin" | "location">;
23
28
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
29
  /**
@@ -30,7 +35,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
30
35
  type: PropType<Result>;
31
36
  required: true;
32
37
  };
33
- }>> & Readonly<{}>, {}, {}, {
38
+ clickEvent: {
39
+ type: PropType<XEvent>;
40
+ default: string;
41
+ };
42
+ }>> & Readonly<{}>, {
43
+ clickEvent: keyof XEventsTypes;
44
+ }, {}, {
34
45
  BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
35
46
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
47
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"base-result-add-to-cart.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/result/base-result-add-to-cart.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;AAGnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD;;;;;GAKG;;IAIC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;;;;IANlC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;;;AATtC,wBAsDE"}
1
+ {"version":3,"file":"base-result-add-to-cart.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/result/base-result-add-to-cart.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;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD;;;;;GAKG;;IAIC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;IAVlC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;AAbtC,wBA0DE"}
@@ -1,5 +1,7 @@
1
1
  import type { Result } from '@empathyco/x-types';
2
2
  import type { PropType } from 'vue';
3
+ import type { XEvent } from '../../wiring';
4
+ import type { XEventsTypes } from '../../wiring/events.types';
3
5
  /**
4
6
  * Component to be reused that renders an `<a>` wrapping the result contents.
5
7
  *
@@ -20,9 +22,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
20
22
  type: PropType<Result>;
21
23
  required: true;
22
24
  };
25
+ clickEvent: {
26
+ type: PropType<XEvent>;
27
+ default: string;
28
+ };
23
29
  }>, {
24
30
  el: import("vue").Ref<any, any>;
25
- emitUserClickedAResult: () => void;
31
+ onClick: () => void;
26
32
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
33
  /**
28
34
  * (Required) The {@link @empathyco/x-types#Result} information.
@@ -33,6 +39,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
39
  type: PropType<Result>;
34
40
  required: true;
35
41
  };
36
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
+ clickEvent: {
43
+ type: PropType<XEvent>;
44
+ default: string;
45
+ };
46
+ }>> & Readonly<{}>, {
47
+ clickEvent: keyof XEventsTypes;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
49
  export default _default;
38
50
  //# sourceMappingURL=base-result-link.vue?vue&type=script&lang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-result-link.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/result/base-result-link.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;AAOnC;;;;;;;;;GASG;;IAGC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;;kCA4CC,IAAI;;IAlDvC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;AARtC,wBAmEE"}
1
+ {"version":3,"file":"base-result-link.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/result/base-result-link.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;AAEnC,OAAO,KAAK,EAAgB,MAAM,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAI7D;;;;;;;;;GASG;;IAGC;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;mBA4Cd,IAAI;;IAtDxB;;;;OAIG;;cAEe,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;;AAZtC,wBAuEE"}
@@ -193,6 +193,9 @@ declare const _default: import("vue").DefineComponent<{}, {
193
193
  UserClickedAnAiCarouselAdd2Cart: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
194
194
  AiComponentMounted: (payload: undefined, metadata: WireMetadata) => unknown;
195
195
  VendorResultsChanged: (payload: Omit<import("..").VendorResult, "modelName">[], metadata: WireMetadata) => unknown;
196
+ UserViewedAVendorResult: (payload: import("..").VendorResult, metadata: WireMetadata) => unknown;
197
+ UserClickedAVendorResult: (payload: import("..").VendorResult, metadata: WireMetadata) => unknown;
198
+ UserClickedVendorResultAddToCart: (payload: import("..").VendorResult, metadata: WireMetadata) => unknown;
196
199
  }>>;
197
200
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
198
201
  GlobalXBus: import("vue").DefineComponent<{}, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CE"}
1
+ {"version":3,"file":"snippet-callbacks.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../src/components/snippet-callbacks.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAO7C;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBA0CE"}
@@ -14,6 +14,10 @@ export declare const aiWiring: {
14
14
  resetAiQueryWire: import("../../wiring").AnyWire;
15
15
  resetSearchTotalResultsWire: import("../../wiring").AnyWire;
16
16
  };
17
+ UserBrowsedToCategory: {
18
+ resetAiQueryWire: import("../../wiring").AnyWire;
19
+ resetSearchTotalResultsWire: import("../../wiring").AnyWire;
20
+ };
17
21
  ResultsChanged: {
18
22
  setExcludedResultIdsWire: import("../../wiring").Wire<import("@empathyco/x-types").Result[]>;
19
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/ai/wiring.ts"],"names":[],"mappings":"AAmEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCnB,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/ai/wiring.ts"],"names":[],"mappings":"AAmEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnB,CAAA"}
@@ -218,6 +218,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
218
218
  UserClickedAnAiCarouselAdd2Cart?: import("@empathyco/x-types").Result | undefined;
219
219
  AiComponentMounted?: void | undefined;
220
220
  VendorResultsChanged?: Omit<import("../../../vendor").VendorResult, "modelName">[] | undefined;
221
+ UserViewedAVendorResult?: import("../../../vendor").VendorResult | undefined;
222
+ UserClickedAVendorResult?: import("../../../vendor").VendorResult | undefined;
223
+ UserClickedVendorResultAddToCart?: import("../../../vendor").VendorResult | undefined;
221
224
  }>;
222
225
  innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
223
226
  renderedChildrenFilters: import("vue").ComputedRef<HierarchicalFilterModel[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AASnE;;;;GAIG;;IAMC,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAwDM,uBAAuB;;IA5EvE,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;AAzB9C,wBA+GE"}
1
+ {"version":3,"file":"hierarchical-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/hierarchical-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AASnE;;;;GAIG;;IAMC,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAwDM,uBAAuB;;IA5EvE,iCAAiC;;cAEf,QAAQ,CAAC,uBAAuB,CAAC;;;IAGnD,+DAA+D;;IAE/D;;;;OAIG;iBACoB,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;IAG3D,0CAA0C;;IAE1C,0CAA0C;;;;;;;;AAzB9C,wBA+GE"}
@@ -208,6 +208,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
208
208
  UserClickedAnAiCarouselAdd2Cart?: import("@empathyco/x-types").Result | undefined;
209
209
  AiComponentMounted?: void | undefined;
210
210
  VendorResultsChanged?: Omit<import("../../../vendor").VendorResult, "modelName">[] | undefined;
211
+ UserViewedAVendorResult?: import("../../../vendor").VendorResult | undefined;
212
+ UserClickedAVendorResult?: import("../../../vendor").VendorResult | undefined;
213
+ UserClickedVendorResultAddToCart?: import("../../../vendor").VendorResult | undefined;
211
214
  }>;
212
215
  innerCssClasses: import("vue").ComputedRef<(string | Dictionary<boolean>)[]>;
213
216
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAKnE;;;;GAIG;;IAOC,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAT3D,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;AAf/D,wBAsCE"}
1
+ {"version":3,"file":"simple-filter.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/facets/components/filters/simple-filter.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAKnE;;;;GAIG;;IAOC,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAT3D,iCAAiC;;cAEf,QAAQ,CAAC,iBAAiB,CAAC;;;IAG7C,iFAAiF;iBAC1D,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtD,+BAA+B;;cAEd,QAAQ,CAAC,CAAC,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;AAf/D,wBAsCE"}
@@ -62,6 +62,9 @@ export declare const facetsWiring: {
62
62
  clearAllFiltersButStickyWire: import("../../wiring/wiring.types").AnyWire;
63
63
  setQuery: import("../../wiring/wiring.types").Wire<string>;
64
64
  };
65
+ UserBrowsedToCategory: {
66
+ clearQuery: import("../../wiring/wiring.types").AnyWire;
67
+ };
65
68
  UserClickedOpenX: {
66
69
  selectPreselectedFilterWire: import("../../wiring/wiring.types").Wire<undefined>;
67
70
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/facets/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AA0JvD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,6CAGzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,6CAGxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,6CAAiE,CAAA;AAEjG;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDvB,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/facets/wiring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAiKvD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,6CAGzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,6CAGxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,6CAAiE,CAAA;AAEjG;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDvB,CAAA"}
@@ -90,6 +90,10 @@ export declare const nextQueriesWiring: {
90
90
  resetNextQueriesWire: import("../..").AnyWire;
91
91
  resetNextQueriesQuery: import("../..").AnyWire;
92
92
  };
93
+ UserBrowsedToCategory: {
94
+ resetNextQueriesWire: import("../..").AnyWire;
95
+ resetNextQueriesQuery: import("../..").AnyWire;
96
+ };
93
97
  SelectedRelatedTagsChanged: {
94
98
  setNextQueriesRelatedTags: import("../..").Wire<import("@empathyco/x-types").RelatedTag[]>;
95
99
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/wiring.ts"],"names":[],"mappings":"AAwCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAA;AAEzD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,yBAA6B,CAAA;AAE/D;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,iEAA+B,CAAA;AAErE;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,yBAG1C,CAAA;AASD;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,wEAA0B,CAAA;AAEhE;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,yBAGhD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,8EAA0C,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,mEAA+C,CAAA;AAE5F;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,yBAQ5C,CAAA;AACD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,yBAAkD,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,yBAA+C,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mEAAmC,CAAA;AAElE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC5B,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/wiring.ts"],"names":[],"mappings":"AAwCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAA;AAEzD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,yBAA6B,CAAA;AAE/D;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,iEAA+B,CAAA;AAErE;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,yBAG1C,CAAA;AASD;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,wEAA0B,CAAA;AAEhE;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,yBAGhD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,8EAA0C,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,mEAA+C,CAAA;AAE5F;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,yBAQ5C,CAAA;AACD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,yBAAkD,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,yBAA+C,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mEAAmC,CAAA;AAElE;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC5B,CAAA"}
@@ -65,6 +65,10 @@ export declare const querySuggestionsWiring: {
65
65
  clearQuerySuggestionsQuery: import("../..").AnyWire;
66
66
  cancelFetchAndSaveSuggestionsWire: import("../..").AnyWire;
67
67
  };
68
+ UserBrowsedToCategory: {
69
+ clearQuerySuggestionsQuery: import("../..").AnyWire;
70
+ cancelFetchAndSaveSuggestionsWire: import("../..").AnyWire;
71
+ };
68
72
  QuerySuggestionsRequestUpdated: {
69
73
  fetchAndSaveSuggestionsWire: import("../..").Wire<import("@empathyco/x-types").QuerySuggestionsRequest | null>;
70
74
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/wiring.ts"],"names":[],"mappings":"AAqCA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,8BAAyB,CAAA;AAE9D;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,yBAG/C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,yCAAyC,yBAGrD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,wEAA0B,CAAA;AAErE;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,mEAAmC,CAAA;AAE/E;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,yBAA6B,CAAA;AASpE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,mFAA0C,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,yBAE7C,CAAA;AAOD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCjC,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/wiring.ts"],"names":[],"mappings":"AAqCA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,8BAAyB,CAAA;AAE9D;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,yBAG/C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,yCAAyC,yBAGrD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,wEAA0B,CAAA;AAErE;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,mEAAmC,CAAA;AAE/E;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,yBAA6B,CAAA;AASpE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,mFAA0C,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,yBAE7C,CAAA;AAOD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CjC,CAAA"}
@@ -23,6 +23,11 @@ export declare const relatedPromptsWiring: {
23
23
  resetRelatedPromptsState: import("../..").AnyWire;
24
24
  setRelatedPromptsQuery: import("../..").Wire<string>;
25
25
  };
26
+ UserBrowsedToCategory: {
27
+ cancelFetchAndSaveRelatedPrompts: import("../..").AnyWire;
28
+ resetRelatedPromptsState: import("../..").AnyWire;
29
+ resetRelatedPromptsQuery: import("../..").AnyWire;
30
+ };
26
31
  RelatedPromptsRequestUpdated: {
27
32
  fetchAndSaveRelatedPrompts: import("../..").Wire<import("@empathyco/x-types").RelatedPromptsRequest | null>;
28
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/wiring.ts"],"names":[],"mappings":"AAuDA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C/B,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-prompts/wiring.ts"],"names":[],"mappings":"AAyDA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD/B,CAAA"}
@@ -85,6 +85,11 @@ export declare const relatedTagsWiring: {
85
85
  clearRelatedTagsQuery: import("../..").AnyWire;
86
86
  clearSelectedRelatedTags: import("../..").AnyWire;
87
87
  };
88
+ UserBrowsedToCategory: {
89
+ cancelFetchAndSaveRelatedTagsWire: import("../..").AnyWire;
90
+ clearRelatedTagsQuery: import("../..").AnyWire;
91
+ clearSelectedRelatedTags: import("../..").AnyWire;
92
+ };
88
93
  ExtraParamsChanged: {
89
94
  setRelatedTagsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
90
95
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/wiring.ts"],"names":[],"mappings":"AAoCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAA;AAEzD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,yBAG1C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,yBAGhD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,wEAA0B,CAAA;AAEhE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,8EAA0C,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,yBAE7C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,+DAAmC,CAAA;AAEpE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,yBAA2C,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,yBAA6B,CAAA;AAE/D;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,iDAA+B,CAAA;AAE5D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC5B,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/wiring.ts"],"names":[],"mappings":"AAoCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAA;AAEzD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,yBAG1C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,yBAGhD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,wEAA0B,CAAA;AAEhE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,8EAA0C,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,yBAE7C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,+DAAmC,CAAA;AAEpE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,yBAA2C,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,yBAA6B,CAAA;AAE/D;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,iDAA+B,CAAA;AAE5D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C5B,CAAA"}
@@ -33,6 +33,9 @@ export declare const searchBoxWiring: {
33
33
  UserClearedQuery: {
34
34
  transitionState: AnyWire;
35
35
  };
36
+ UserBrowsedToCategory: {
37
+ transitionState: AnyWire;
38
+ };
36
39
  UserFocusedSearchBox: {
37
40
  transitionState: AnyWire;
38
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/wiring.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAiExD;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/wiring.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAiExD;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyC1B,CAAA"}
@@ -16,6 +16,12 @@ export declare const setUrlPrompt: import("../..").Wire<number>;
16
16
  * @public
17
17
  */
18
18
  export declare const setUrlQuery: import("../..").Wire<string>;
19
+ /**
20
+ * Sets to empathy string the query of the url module.
21
+ *
22
+ * @public
23
+ */
24
+ export declare const resetUrlQuery: import("../..").AnyWire;
19
25
  /**
20
26
  * Sets the url state `query` with a selectedQueryPreview's query.
21
27
  *
@@ -129,6 +135,7 @@ export declare const urlWiring: {
129
135
  };
130
136
  UserBrowsedToCategory: {
131
137
  setUrlBrowseCategory: import("../..").Wire<import("@empathyco/x-types").BrowsableRequest>;
138
+ resetUrlQuery: import("../..").AnyWire;
132
139
  };
133
140
  UserClickedCloseX: {
134
141
  resetUrlBrowseCategory: import("../..").AnyWire;
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/wiring.ts"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iEAA+B,CAAA;AAE7D;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0B,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,WAAW,8BAAyB,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,yBAAiE,CAAA;AAEpG;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAA;AAE/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAA;AAE/C;;;;GAIG;AACH,eAAO,MAAM,SAAS,0DAA0B,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,yBAGnC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,yBAG5C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0B,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,yBAGjC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,qEAAkC,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,wEAAsC,CAAA;AAExE;;;;GAIG;AACH,eAAO,MAAM,aAAa,6DAA2B,CAAA;AAErD;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DpB,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/wiring.ts"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iEAA+B,CAAA;AAE7D;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0B,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,WAAW,8BAAyB,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,aAAa,yBAA6B,CAAA;AAEvD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,yBAAiE,CAAA;AAEpG;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAA;AAE/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAA;AAE/C;;;;GAIG;AACH,eAAO,MAAM,SAAS,0DAA0B,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,yBAGnC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,yBAG5C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0B,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,yBAGjC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,qEAAkC,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,wEAAsC,CAAA;AAExE;;;;GAIG;AACH,eAAO,MAAM,aAAa,6DAA2B,CAAA;AAErD;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DpB,CAAA"}
@@ -11,5 +11,20 @@ export interface VendorXEvents {
11
11
  * modelName is excluded since it is an internal field, and we will assign it under the hood.
12
12
  */
13
13
  VendorResultsChanged: Omit<VendorResult, 'modelName'>[];
14
+ /**
15
+ * The user viewed a vendor result.
16
+ * Payload: The {@link VendorResult | vendor result} that was viewed.
17
+ */
18
+ UserViewedAVendorResult: VendorResult;
19
+ /**
20
+ * The user clicked on a vendor result.
21
+ * Payload: The {@link VendorResult | vendor result} that was clicked.
22
+ */
23
+ UserClickedAVendorResult: VendorResult;
24
+ /**
25
+ * The user clicked on the add to cart button of a vendor result.
26
+ * Payload: The {@link VendorResult | vendor result} that was clicked.
27
+ */
28
+ UserClickedVendorResultAddToCart: VendorResult;
14
29
  }
15
30
  //# sourceMappingURL=events.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,oBAAoB,EAAE,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,EAAE,CAAA;CACxD"}
1
+ {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,oBAAoB,EAAE,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,EAAE,CAAA;IACvD;;;OAGG;IACH,uBAAuB,EAAE,YAAY,CAAA;IACrC;;;OAGG;IACH,wBAAwB,EAAE,YAAY,CAAA;IACtC;;;OAGG;IACH,gCAAgC,EAAE,YAAY,CAAA;CAC/C"}
@@ -1,8 +1,14 @@
1
1
  import type { NamedModel, Result } from '@empathyco/x-types';
2
+ export interface VendorResultTagging {
3
+ viewUrl: string;
4
+ clickUrl: string;
5
+ add2cartUrl: string;
6
+ }
2
7
  /**
3
8
  * The interface for a vendor result, extending the base Result interface.
4
9
  */
5
- export interface VendorResult extends Omit<Result, 'modelName'>, NamedModel<'VendorResult'> {
10
+ export interface VendorResult extends Omit<Result, 'modelName' | 'tagging'>, NamedModel<'VendorResult'> {
6
11
  position: number;
12
+ tagging?: VendorResultTagging;
7
13
  }
8
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAE5D;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC;IACzF,QAAQ,EAAE,MAAM,CAAA;CACjB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAE5D,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC9B"}
@@ -13,6 +13,15 @@ export declare const vendorWiring: {
13
13
  VendorResultsChanged: {
14
14
  setResults: import("../../wiring").AnyWire;
15
15
  };
16
+ UserViewedAVendorResult: {
17
+ trackResultView: import("../../wiring").Wire<import("./types").VendorResult>;
18
+ };
19
+ UserClickedAVendorResult: {
20
+ trackResultClick: import("../../wiring").Wire<import("./types").VendorResult>;
21
+ };
22
+ UserClickedVendorResultAddToCart: {
23
+ trackResultAddToCart: import("../../wiring").Wire<import("./types").VendorResult>;
24
+ };
16
25
  SearchRequestChanged: {
17
26
  resetResults: import("../../wiring").AnyWire;
18
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/wiring.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,eAAO,MAAM,UAAU,gCAOtB,CAAA;AASD;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;CAOvB,CAAA"}
1
+ {"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/vendor/wiring.ts"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,eAAO,MAAM,UAAU,gCAOtB,CAAA;AASD;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;CAgBvB,CAAA"}
package/url/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { default as UrlHandler } from '../js/x-modules/url/components/url-handler.vue.js';
2
2
  export { replaceableParams, urlEmitters } from '../js/x-modules/url/store/emitters.js';
3
3
  export { urlXStoreModule } from '../js/x-modules/url/store/module.js';
4
- export { resetUrlBrowseCategory, setInitialExtraParams, setParams, setUrlBrowseCategory, setUrlFilters, setUrlPage, setUrlParamsFromPreview, setUrlPrompt, setUrlQuery, setUrlQueryFromPreview, setUrlRelatedTags, setUrlScroll, setUrlSelectedFiltersFromPreview, setUrlSort, urlWiring } from '../js/x-modules/url/wiring.js';
4
+ export { resetUrlBrowseCategory, resetUrlQuery, setInitialExtraParams, setParams, setUrlBrowseCategory, setUrlFilters, setUrlPage, setUrlParamsFromPreview, setUrlPrompt, setUrlQuery, setUrlQueryFromPreview, setUrlRelatedTags, setUrlScroll, setUrlSelectedFiltersFromPreview, setUrlSort, urlWiring } from '../js/x-modules/url/wiring.js';
5
5
  export { urlXModule } from '../js/x-modules/url/x-module.js';