@empathyco/x-components 7.5.0 → 8.1.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 (105) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/browse/index.js +0 -1
  3. package/core/index.js +3 -0
  4. package/core/index.js.map +1 -1
  5. package/docs/API-reference/api/x-components.aiconfig.md +0 -45
  6. package/docs/API-reference/api/x-components.md +0 -11
  7. package/docs/API-reference/api/x-components.sortdropdown.md +30 -4
  8. package/docs/API-reference/api/x-components.sortlist.md +32 -7
  9. package/docs/API-reference/api/x-components.sortpickerlist.md +32 -7
  10. package/docs/API-reference/api/x-components.usealiasapi.browseselectedsort.md +13 -0
  11. package/docs/API-reference/api/x-components.usealiasapi.md +21 -0
  12. package/docs/API-reference/components/{search → common/sort}/x-components.sort-dropdown.md +7 -4
  13. package/docs/API-reference/components/{search → common/sort}/x-components.sort-list.md +7 -4
  14. package/docs/API-reference/components/{search → common/sort}/x-components.sort-picker-list.md +8 -5
  15. package/js/{x-modules/search/components → components/sort}/sort-dropdown.vue.js +1 -1
  16. package/js/components/sort/sort-dropdown.vue.js.map +1 -0
  17. package/js/{x-modules/search/components → components/sort}/sort-dropdown.vue2.js +19 -12
  18. package/js/components/sort/sort-dropdown.vue2.js.map +1 -0
  19. package/js/{x-modules/search/components → components/sort}/sort-list.vue.js +2 -2
  20. package/js/components/sort/sort-list.vue.js.map +1 -0
  21. package/js/{x-modules/search/components → components/sort}/sort-list.vue2.js +22 -15
  22. package/js/components/sort/sort-list.vue2.js.map +1 -0
  23. package/js/components/sort/sort-list.vue3.js +7 -0
  24. package/js/{x-modules/search/components → components/sort}/sort-picker-list.vue.js +1 -1
  25. package/js/components/sort/sort-picker-list.vue.js.map +1 -0
  26. package/js/{x-modules/search/components → components/sort}/sort-picker-list.vue2.js +21 -14
  27. package/js/components/sort/sort-picker-list.vue2.js.map +1 -0
  28. package/js/composables/use-alias-api.js +3 -0
  29. package/js/composables/use-alias-api.js.map +1 -1
  30. package/js/index.js +3 -4
  31. package/js/index.js.map +1 -1
  32. package/js/x-modules/ai/components/ai-carousel.vue2.js +4 -0
  33. package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
  34. package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js +4 -0
  35. package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js.map +1 -1
  36. package/js/x-modules/ai/store/getters/suggestions-request.getter.js +2 -2
  37. package/js/x-modules/ai/store/getters/suggestions-request.getter.js.map +1 -1
  38. package/js/x-modules/ai/store/module.js +1 -3
  39. package/js/x-modules/ai/store/module.js.map +1 -1
  40. package/js/x-modules/browse/store/actions/set-url-params.action.js +1 -1
  41. package/js/x-modules/browse/store/actions/set-url-params.action.js.map +1 -1
  42. package/js/x-modules/browse/wiring.js +6 -1
  43. package/js/x-modules/browse/wiring.js.map +1 -1
  44. package/js/x-modules/empathize/components/empathize.vue2.js +4 -0
  45. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  46. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +4 -0
  47. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  48. package/js/x-modules/queries-preview/components/query-preview.vue2.js +4 -0
  49. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  50. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +4 -0
  51. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  52. package/js/x-modules/search/store/actions/set-url-params.action.js +1 -1
  53. package/js/x-modules/search/store/actions/set-url-params.action.js.map +1 -1
  54. package/js/x-modules/search/wiring.js +3 -0
  55. package/js/x-modules/search/wiring.js.map +1 -1
  56. package/package.json +2 -2
  57. package/report/x-components.api.json +516 -333
  58. package/report/x-components.api.md +106 -57
  59. package/search/index.js +0 -3
  60. package/types/src/components/index.d.ts +1 -0
  61. package/types/src/components/index.d.ts.map +1 -1
  62. package/types/src/components/sort/index.d.ts +4 -0
  63. package/types/src/components/sort/index.d.ts.map +1 -0
  64. package/types/src/{x-modules/search/components → components/sort}/sort-dropdown.vue.d.ts +33 -6
  65. package/types/src/components/sort/sort-dropdown.vue.d.ts.map +1 -0
  66. package/types/src/{x-modules/search/components → components/sort}/sort-list.vue.d.ts +35 -10
  67. package/types/src/components/sort/sort-list.vue.d.ts.map +1 -0
  68. package/types/src/{x-modules/search/components → components/sort}/sort-picker-list.vue.d.ts +45 -10
  69. package/types/src/components/sort/sort-picker-list.vue.d.ts.map +1 -0
  70. package/types/src/composables/use-alias-api.d.ts +2 -0
  71. package/types/src/composables/use-alias-api.d.ts.map +1 -1
  72. package/types/src/x-modules/ai/config.types.d.ts +0 -4
  73. package/types/src/x-modules/ai/config.types.d.ts.map +1 -1
  74. package/types/src/x-modules/ai/store/getters/suggestions-request.getter.d.ts.map +1 -1
  75. package/types/src/x-modules/ai/store/module.d.ts.map +1 -1
  76. package/types/src/x-modules/browse/components/index.d.ts +0 -1
  77. package/types/src/x-modules/browse/components/index.d.ts.map +1 -1
  78. package/types/src/x-modules/browse/wiring.d.ts +6 -1
  79. package/types/src/x-modules/browse/wiring.d.ts.map +1 -1
  80. package/types/src/x-modules/search/components/index.d.ts +0 -3
  81. package/types/src/x-modules/search/components/index.d.ts.map +1 -1
  82. package/types/src/x-modules/search/wiring.d.ts +3 -0
  83. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
  84. package/docs/API-reference/api/x-components.aiconfig.lowresultsthreshold.md +0 -13
  85. package/docs/API-reference/api/x-components.browsesortpickerlist.md +0 -45
  86. package/docs/API-reference/components/browse/x-components.browse-sort-picker-list.md +0 -24
  87. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js +0 -73
  88. package/js/x-modules/browse/components/browse-sort-picker-list.vue.js.map +0 -1
  89. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js +0 -6
  90. package/js/x-modules/browse/components/browse-sort-picker-list.vue2.js.map +0 -1
  91. package/js/x-modules/search/components/sort-dropdown.vue.js.map +0 -1
  92. package/js/x-modules/search/components/sort-dropdown.vue2.js.map +0 -1
  93. package/js/x-modules/search/components/sort-list.vue.js.map +0 -1
  94. package/js/x-modules/search/components/sort-list.vue2.js.map +0 -1
  95. package/js/x-modules/search/components/sort-list.vue3.js +0 -7
  96. package/js/x-modules/search/components/sort-picker-list.vue.js.map +0 -1
  97. package/js/x-modules/search/components/sort-picker-list.vue2.js.map +0 -1
  98. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts +0 -50
  99. package/types/src/x-modules/browse/components/browse-sort-picker-list.vue.d.ts.map +0 -1
  100. package/types/src/x-modules/search/components/sort-dropdown.vue.d.ts.map +0 -1
  101. package/types/src/x-modules/search/components/sort-list.vue.d.ts.map +0 -1
  102. package/types/src/x-modules/search/components/sort-picker-list.types.d.ts +0 -12
  103. package/types/src/x-modules/search/components/sort-picker-list.types.d.ts.map +0 -1
  104. package/types/src/x-modules/search/components/sort-picker-list.vue.d.ts.map +0 -1
  105. /package/js/{x-modules/search/components → components/sort}/sort-list.vue3.js.map +0 -0
@@ -233,7 +233,6 @@ SlidingPanel: DefineComponent< {}, {}, any>;
233
233
 
234
234
  // @public
235
235
  export interface AiConfig {
236
- lowResultsThreshold: number;
237
236
  }
238
237
 
239
238
  // @internal
@@ -1921,41 +1920,6 @@ default: string;
1921
1920
  animation: string | Function | Record<string, any>;
1922
1921
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1923
1922
 
1924
- // @public
1925
- export const BrowseSortPickerList: DefineComponent<ExtractPropTypes< {
1926
- animation: {
1927
- type: null;
1928
- required: false;
1929
- default: string;
1930
- };
1931
- items: {
1932
- type: ArrayConstructor;
1933
- required: true;
1934
- };
1935
- buttonClass: {
1936
- type: StringConstructor;
1937
- required: true;
1938
- };
1939
- }>, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
1940
- [key: string]: any;
1941
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1942
- animation: {
1943
- type: null;
1944
- required: false;
1945
- default: string;
1946
- };
1947
- items: {
1948
- type: ArrayConstructor;
1949
- required: true;
1950
- };
1951
- buttonClass: {
1952
- type: StringConstructor;
1953
- required: true;
1954
- };
1955
- }>> & Readonly<{}>, {
1956
- animation: any;
1957
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1958
-
1959
1923
  // @public
1960
1924
  export interface BrowseState extends StatusState {
1961
1925
  banners: Banner_2[];
@@ -2007,7 +1971,7 @@ export const browseWiring: {
2007
1971
  ReloadBrowseRequested: {
2008
1972
  resetBrowseStateForReloadWire: AnyWire;
2009
1973
  };
2010
- SelectedSortProvided: {
1974
+ SelectedBrowseSortProvided: {
2011
1975
  setBrowseSort: Wire<string>;
2012
1976
  };
2013
1977
  ExtraParamsChanged: {
@@ -2023,6 +1987,11 @@ export const browseWiring: {
2023
1987
  resetBrowseStateForReloadWire: AnyWire;
2024
1988
  cancelFetchAndSaveBrowseResponseWire: AnyWire;
2025
1989
  };
1990
+ UserAcceptedAQuery: {
1991
+ clearBrowseQuery: AnyWire;
1992
+ resetBrowseStateForReloadWire: AnyWire;
1993
+ cancelFetchAndSaveBrowseResponseWire: AnyWire;
1994
+ };
2026
1995
  UserClickedOutOfMainModal: {
2027
1996
  clearBrowseQuery: AnyWire;
2028
1997
  };
@@ -7508,6 +7477,9 @@ export const searchWiring: {
7508
7477
  UserClickedOutOfMainModal: {
7509
7478
  clearSearchQuery: AnyWire;
7510
7479
  };
7480
+ UserBrowsedToCategory: {
7481
+ clearSearchQuery: AnyWire;
7482
+ };
7511
7483
  UserAcceptedAQueryPreview: {
7512
7484
  setSearchQueryFromPreview: AnyWire;
7513
7485
  setSearchExtraParamsFromPreview: AnyWire;
@@ -8598,24 +8570,50 @@ export { SortAZIcon }
8598
8570
 
8599
8571
  // @public
8600
8572
  export const SortDropdown: DefineComponent<ExtractPropTypes< {
8573
+ animation: PropType<string | Component>;
8601
8574
  items: {
8602
8575
  type: PropType<Sort[]>;
8603
8576
  required: true;
8604
8577
  };
8605
- animation: PropType<string | Component>;
8578
+ selectedSort: {
8579
+ type: PropType<Sort>;
8580
+ required: true;
8581
+ };
8582
+ selectedSortProvidedEvent: {
8583
+ type: PropType<XEvent>;
8584
+ default: string;
8585
+ };
8586
+ clickedSortEvent: {
8587
+ type: PropType<XEvent>;
8588
+ default: string;
8589
+ };
8606
8590
  }>, {
8607
8591
  emitUserClickedASort: (sort: Sort) => void;
8608
8592
  rootRef: Ref<DefineComponent< {}, {}, any> | undefined, DefineComponent< {}, {}, any> | undefined>;
8609
- selectedSort: ComputedRef<string>;
8610
8593
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", PublicProps, Readonly<ExtractPropTypes< {
8594
+ animation: PropType<string | Component>;
8611
8595
  items: {
8612
8596
  type: PropType<Sort[]>;
8613
8597
  required: true;
8614
8598
  };
8615
- animation: PropType<string | Component>;
8599
+ selectedSort: {
8600
+ type: PropType<Sort>;
8601
+ required: true;
8602
+ };
8603
+ selectedSortProvidedEvent: {
8604
+ type: PropType<XEvent>;
8605
+ default: string;
8606
+ };
8607
+ clickedSortEvent: {
8608
+ type: PropType<XEvent>;
8609
+ default: string;
8610
+ };
8616
8611
  }>> & Readonly<{
8617
8612
  onChange?: ((...args: any[]) => any) | undefined;
8618
- }>, {}, {}, {
8613
+ }>, {
8614
+ selectedSortProvidedEvent: keyof XEventsTypes;
8615
+ clickedSortEvent: keyof XEventsTypes;
8616
+ }, {}, {
8619
8617
  BaseDropdown: DefineComponent< {}, {}, any>;
8620
8618
  }, {}, string, ComponentProvideOptions, true, {}, any>;
8621
8619
 
@@ -8638,58 +8636,108 @@ required: false;
8638
8636
 
8639
8637
  // @public
8640
8638
  export const SortList: DefineComponent<ExtractPropTypes< {
8639
+ animation: {
8640
+ type: PropType<string | Component>;
8641
+ default: () => string;
8642
+ };
8641
8643
  items: {
8642
8644
  type: PropType<Sort[]>;
8643
8645
  required: true;
8644
8646
  };
8645
- animation: {
8646
- type: PropType<string | Component>;
8647
- default: () => string;
8647
+ selectedSort: {
8648
+ type: PropType<Sort>;
8649
+ required: true;
8650
+ };
8651
+ selectedSortProvidedEvent: {
8652
+ type: PropType<XEvent>;
8653
+ default: string;
8654
+ };
8655
+ clickedSortEvent: {
8656
+ type: PropType<XEvent>;
8657
+ default: string;
8648
8658
  };
8649
8659
  }>, {
8650
8660
  listItems: ComputedRef<SortListItem[]>;
8651
- selectedSort: ComputedRef<string>;
8652
8661
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
8662
+ animation: {
8663
+ type: PropType<string | Component>;
8664
+ default: () => string;
8665
+ };
8653
8666
  items: {
8654
8667
  type: PropType<Sort[]>;
8655
8668
  required: true;
8656
8669
  };
8657
- animation: {
8658
- type: PropType<string | Component>;
8659
- default: () => string;
8670
+ selectedSort: {
8671
+ type: PropType<Sort>;
8672
+ required: true;
8673
+ };
8674
+ selectedSortProvidedEvent: {
8675
+ type: PropType<XEvent>;
8676
+ default: string;
8677
+ };
8678
+ clickedSortEvent: {
8679
+ type: PropType<XEvent>;
8680
+ default: string;
8660
8681
  };
8661
8682
  }>> & Readonly<{}>, {
8662
8683
  animation: string | Component;
8684
+ selectedSortProvidedEvent: keyof XEventsTypes;
8685
+ clickedSortEvent: keyof XEventsTypes;
8663
8686
  }, {}, {
8664
8687
  BaseEventButton: DefineComponent< {}, {}, any>;
8665
8688
  }, {}, string, ComponentProvideOptions, true, {}, any>;
8666
8689
 
8667
8690
  // @public
8668
8691
  export const SortPickerList: DefineComponent<ExtractPropTypes< {
8692
+ animation: {
8693
+ type: PropType<string | Component>;
8694
+ default: () => string;
8695
+ };
8669
8696
  items: {
8670
8697
  type: PropType<Sort[]>;
8671
8698
  required: true;
8672
8699
  };
8673
- animation: {
8674
- type: PropType<string | Component>;
8675
- default: () => string;
8700
+ selectedSort: {
8701
+ type: PropType<Sort>;
8702
+ required: true;
8703
+ };
8704
+ selectedSortProvidedEvent: {
8705
+ type: PropType<XEvent>;
8706
+ default: string;
8707
+ };
8708
+ clickedSortEvent: {
8709
+ type: PropType<XEvent>;
8710
+ default: string;
8676
8711
  };
8677
8712
  buttonClass: StringConstructor;
8678
8713
  }>, {
8679
8714
  listItems: ComputedRef<SortPickerItem[]>;
8680
- selectedSort: ComputedRef<string>;
8681
8715
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
8716
+ animation: {
8717
+ type: PropType<string | Component>;
8718
+ default: () => string;
8719
+ };
8682
8720
  items: {
8683
8721
  type: PropType<Sort[]>;
8684
8722
  required: true;
8685
8723
  };
8686
- animation: {
8687
- type: PropType<string | Component>;
8688
- default: () => string;
8724
+ selectedSort: {
8725
+ type: PropType<Sort>;
8726
+ required: true;
8727
+ };
8728
+ selectedSortProvidedEvent: {
8729
+ type: PropType<XEvent>;
8730
+ default: string;
8731
+ };
8732
+ clickedSortEvent: {
8733
+ type: PropType<XEvent>;
8734
+ default: string;
8689
8735
  };
8690
8736
  buttonClass: StringConstructor;
8691
8737
  }>> & Readonly<{}>, {
8692
8738
  animation: string | Component;
8739
+ selectedSortProvidedEvent: keyof XEventsTypes;
8740
+ clickedSortEvent: keyof XEventsTypes;
8693
8741
  }, {}, {
8694
8742
  BaseEventButton: DefineComponent< {}, {}, any>;
8695
8743
  }, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -9311,6 +9359,7 @@ export function use$x(): UseAliasAPI & {
9311
9359
 
9312
9360
  // @public
9313
9361
  export interface UseAliasAPI {
9362
+ readonly browseSelectedSort: string;
9314
9363
  readonly browseTotalResults: number;
9315
9364
  readonly device: string | null;
9316
9365
  readonly facets: Record<Facet['id'], Facet>;
@@ -10072,6 +10121,8 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
10072
10121
  // dist/types/src/components/filters/labels/base-price-filter-label.vue.d.ts:13:13 - (ae-forgotten-export) The symbol "RangeValue" needs to be exported by the entry point index.d.ts
10073
10122
  // dist/types/src/components/filters/labels/base-rating-filter-label.vue.d.ts:16:9 - (ae-forgotten-export) The symbol "BooleanFilter" needs to be exported by the entry point index.d.ts
10074
10123
  // dist/types/src/components/page-selector.vue.d.ts:65:5 - (ae-forgotten-export) The symbol "PageItem" needs to be exported by the entry point index.d.ts
10124
+ // dist/types/src/components/sort/sort-list.vue.d.ts:41:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
10125
+ // dist/types/src/components/sort/sort-picker-list.vue.d.ts:44:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
10075
10126
  // dist/types/src/components/suggestions/base-suggestion.vue.d.ts:31:9 - (ae-forgotten-export) The symbol "Suggestion" needs to be exported by the entry point index.d.ts
10076
10127
  // dist/types/src/x-modules/ai/components/ai-carousel.vue.d.ts:12:5 - (ae-forgotten-export) The symbol "TaggingRequest" needs to be exported by the entry point index.d.ts
10077
10128
  // dist/types/src/x-modules/ai/components/ai-carousel.vue.d.ts:14:5 - (ae-forgotten-export) The symbol "AiSuggestionQuery" needs to be exported by the entry point index.d.ts
@@ -10090,8 +10141,6 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
10090
10141
  // dist/types/src/x-modules/facets/components/lists/selected-filters-list.vue.d.ts:27:5 - (ae-forgotten-export) The symbol "RenderFilter" needs to be exported by the entry point index.d.ts
10091
10142
  // dist/types/src/x-modules/related-prompts/components/related-prompts-tag-list.vue.d.ts:62:9 - (ae-forgotten-export) The symbol "RelatedPromptNextQuery" needs to be exported by the entry point index.d.ts
10092
10143
  // dist/types/src/x-modules/search/components/banner.vue.d.ts:23:9 - (ae-forgotten-export) The symbol "Banner_2" needs to be exported by the entry point index.d.ts
10093
- // dist/types/src/x-modules/search/components/sort-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
10094
- // dist/types/src/x-modules/search/components/sort-picker-list.vue.d.ts:22:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
10095
10144
  // src/x-modules/ai/store/emitters.ts:9:24 - (ae-forgotten-export) The symbol "AiSuggestionsSearchRequest" needs to be exported by the entry point index.d.ts
10096
10145
  // src/x-modules/browse/store/emitters.ts:13:40 - (ae-forgotten-export) The symbol "Promoted_2" needs to be exported by the entry point index.d.ts
10097
10146
  // src/x-modules/url/store/emitters.ts:57:1 - (ae-forgotten-export) The symbol "shouldPushUrl" needs to be exported by the entry point index.d.ts
package/search/index.js CHANGED
@@ -7,9 +7,6 @@ export { default as Promoted } from '../js/x-modules/search/components/promoted.
7
7
  export { default as PromotedsList } from '../js/x-modules/search/components/promoteds-list.vue.js';
8
8
  export { default as Redirection } from '../js/x-modules/search/components/redirection.vue.js';
9
9
  export { default as ResultsList } from '../js/x-modules/search/components/results-list.vue.js';
10
- export { default as SortDropdown } from '../js/x-modules/search/components/sort-dropdown.vue.js';
11
- export { default as SortList } from '../js/x-modules/search/components/sort-list.vue.js';
12
- export { default as SortPickerList } from '../js/x-modules/search/components/sort-picker-list.vue.js';
13
10
  export { default as SpellcheckButton } from '../js/x-modules/search/components/spellcheck-button.vue.js';
14
11
  export { default as Spellcheck } from '../js/x-modules/search/components/spellcheck.vue.js';
15
12
  export { cancelFetchAndSavePartialResultsEnrichment, fetchAndSavePartialResultsEnrichment } from '../js/x-modules/search/store/actions/fetch-and-save-partial-results-enrichment.action.js';
@@ -29,6 +29,7 @@ export * from './result';
29
29
  export * from './scroll';
30
30
  export { default as SlidingPanel } from './sliding-panel.vue';
31
31
  export { default as SnippetCallbacks } from './snippet-callbacks.vue';
32
+ export * from './sort';
32
33
  export * from './suggestions';
33
34
  export * from './x-component.utils';
34
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings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EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACjE,cAAc,WAAW,CAAA;AACzB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,cAAc,UAAU,CAAA;AACxB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC7D,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AACrE,cAAc,QAAQ,CAAA;AAEtB,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export { default as SortDropdown } from './sort-dropdown.vue';
2
+ export { default as SortList } from './sort-list.vue';
3
+ export { default as SortPickerList } from './sort-picker-list.vue';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/sort/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAA"}
@@ -1,32 +1,59 @@
1
1
  import type { Sort } from '@empathyco/x-types';
2
2
  import type { Component, PropType } from 'vue';
3
+ import type { XEvent } from '../../wiring/index';
3
4
  /**
4
5
  * The `SortDropdown` component allows user to select the search results order. This component
5
6
  * also allows to change the selected sort programmatically.
6
7
  */
7
8
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ /** The transition to use for opening and closing the dropdown. */
10
+ animation: PropType<string | Component>;
8
11
  /** The list of possible sort values. */
9
12
  items: {
10
13
  type: PropType<Sort[]>;
11
14
  required: true;
12
15
  };
13
- /** The transition to use for opening and closing the dropdown. */
14
- animation: PropType<string | Component>;
16
+ selectedSort: {
17
+ type: PropType<Sort>;
18
+ required: true;
19
+ };
20
+ selectedSortProvidedEvent: {
21
+ type: PropType<XEvent>;
22
+ default: string;
23
+ };
24
+ clickedSortEvent: {
25
+ type: PropType<XEvent>;
26
+ default: string;
27
+ };
15
28
  }>, {
16
29
  emitUserClickedASort: (sort: Sort) => void;
17
30
  rootRef: import("vue").Ref<import("vue").DefineComponent<{}, {}, any> | undefined, import("vue").DefineComponent<{}, {}, any> | undefined>;
18
- selectedSort: import("vue").ComputedRef<string>;
19
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ /** The transition to use for opening and closing the dropdown. */
33
+ animation: PropType<string | Component>;
20
34
  /** The list of possible sort values. */
21
35
  items: {
22
36
  type: PropType<Sort[]>;
23
37
  required: true;
24
38
  };
25
- /** The transition to use for opening and closing the dropdown. */
26
- animation: PropType<string | Component>;
39
+ selectedSort: {
40
+ type: PropType<Sort>;
41
+ required: true;
42
+ };
43
+ selectedSortProvidedEvent: {
44
+ type: PropType<XEvent>;
45
+ default: string;
46
+ };
47
+ clickedSortEvent: {
48
+ type: PropType<XEvent>;
49
+ default: string;
50
+ };
27
51
  }>> & Readonly<{
28
52
  onChange?: ((...args: any[]) => any) | undefined;
29
- }>, {}, {}, {
53
+ }>, {
54
+ selectedSortProvidedEvent: keyof import("../../wiring/events.types").XEventsTypes;
55
+ clickedSortEvent: keyof import("../../wiring/events.types").XEventsTypes;
56
+ }, {}, {
30
57
  BaseDropdown: import("vue").DefineComponent<{}, {}, any>;
31
58
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
59
  export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-dropdown.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/sort/sort-dropdown.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAKhD;;;GAGG;;IAKC,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;IAC3D,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;;cAIf,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;iCAyBE,IAAI;;;IAzCxC,kEAAkE;eACnC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;IAC3D,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;;cAIf,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;;AApBtC,wBAuDE"}
@@ -1,7 +1,7 @@
1
1
  import type { Sort } from '@empathyco/x-types';
2
2
  import type { Component, PropType } from 'vue';
3
- import type { VueCSSClasses } from '../../../utils/types';
4
- import type { XEventsTypes } from '../../../wiring/events.types';
3
+ import type { VueCSSClasses } from '../../utils/index';
4
+ import type { XEvent, XEventsTypes } from '../../wiring/index';
5
5
  /**
6
6
  * Sort list item options.
7
7
  */
@@ -15,32 +15,57 @@ interface SortListItem {
15
15
  * also allows to change the selected sort programmatically.
16
16
  */
17
17
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
+ /** The transition to use for rendering the list. */
19
+ animation: {
20
+ type: PropType<string | Component>;
21
+ default: () => string;
22
+ };
18
23
  /** The list of possible sort values. */
19
24
  items: {
20
25
  type: PropType<Sort[]>;
21
26
  required: true;
22
27
  };
28
+ selectedSort: {
29
+ type: PropType<Sort>;
30
+ required: true;
31
+ };
32
+ selectedSortProvidedEvent: {
33
+ type: PropType<XEvent>;
34
+ default: string;
35
+ };
36
+ clickedSortEvent: {
37
+ type: PropType<XEvent>;
38
+ default: string;
39
+ };
40
+ }>, {
41
+ listItems: import("vue").ComputedRef<SortListItem[]>;
42
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
43
  /** The transition to use for rendering the list. */
24
44
  animation: {
25
45
  type: PropType<string | Component>;
26
46
  default: () => string;
27
47
  };
28
- }>, {
29
- listItems: import("vue").ComputedRef<SortListItem[]>;
30
- selectedSort: import("vue").ComputedRef<string>;
31
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
48
  /** The list of possible sort values. */
33
49
  items: {
34
50
  type: PropType<Sort[]>;
35
51
  required: true;
36
52
  };
37
- /** The transition to use for rendering the list. */
38
- animation: {
39
- type: PropType<string | Component>;
40
- default: () => string;
53
+ selectedSort: {
54
+ type: PropType<Sort>;
55
+ required: true;
56
+ };
57
+ selectedSortProvidedEvent: {
58
+ type: PropType<XEvent>;
59
+ default: string;
60
+ };
61
+ clickedSortEvent: {
62
+ type: PropType<XEvent>;
63
+ default: string;
41
64
  };
42
65
  }>> & Readonly<{}>, {
43
66
  animation: string | Component;
67
+ selectedSortProvidedEvent: keyof XEventsTypes;
68
+ clickedSortEvent: keyof XEventsTypes;
44
69
  }, {}, {
45
70
  BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
46
71
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/sort/sort-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAK9D;;GAEG;AACH,UAAU,YAAY;IACpB,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,aAAa,CAAA;IACzB,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B;AAED;;;GAGG;;IAKC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;IAGxD,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;;cAIf,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;;IAnBlC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;IAGxD,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;;cAIf,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;;;;;;;;AAvBtC,wBA0DE"}
@@ -1,41 +1,76 @@
1
1
  import type { Sort } from '@empathyco/x-types';
2
2
  import type { Component, PropType } from 'vue';
3
- import type { SortPickerItem } from './sort-picker-list.types';
3
+ import type { VueCSSClasses } from '../../utils/types';
4
+ import type { XEventsTypes } from '../../wiring/events.types';
5
+ import type { XEvent } from '../../wiring/index';
6
+ /**
7
+ * Sort Picker item options.
8
+ */
9
+ export interface SortPickerItem {
10
+ item: Sort;
11
+ cssClasses: VueCSSClasses;
12
+ event: Partial<XEventsTypes>;
13
+ }
4
14
  /**
5
15
  * The `SortPickerList` component allows user to select the search results order. This component
6
16
  * also allows to change the selected sort programmatically.
7
17
  */
8
18
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
+ /** The transition to use for rendering the list. */
20
+ animation: {
21
+ type: PropType<string | Component>;
22
+ default: () => string;
23
+ };
9
24
  /** The list of possible sort values. */
10
25
  items: {
11
26
  type: PropType<Sort[]>;
12
27
  required: true;
13
28
  };
14
- /** The transition to use for rendering the list. */
15
- animation: {
16
- type: PropType<string | Component>;
17
- default: () => string;
29
+ selectedSort: {
30
+ type: PropType<Sort>;
31
+ required: true;
32
+ };
33
+ selectedSortProvidedEvent: {
34
+ type: PropType<XEvent>;
35
+ default: string;
36
+ };
37
+ clickedSortEvent: {
38
+ type: PropType<XEvent>;
39
+ default: string;
18
40
  };
19
41
  /** Class inherited by each sort button. */
20
42
  buttonClass: StringConstructor;
21
43
  }>, {
22
44
  listItems: import("vue").ComputedRef<SortPickerItem[]>;
23
- selectedSort: import("vue").ComputedRef<string>;
24
45
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ /** The transition to use for rendering the list. */
47
+ animation: {
48
+ type: PropType<string | Component>;
49
+ default: () => string;
50
+ };
25
51
  /** The list of possible sort values. */
26
52
  items: {
27
53
  type: PropType<Sort[]>;
28
54
  required: true;
29
55
  };
30
- /** The transition to use for rendering the list. */
31
- animation: {
32
- type: PropType<string | Component>;
33
- default: () => string;
56
+ selectedSort: {
57
+ type: PropType<Sort>;
58
+ required: true;
59
+ };
60
+ selectedSortProvidedEvent: {
61
+ type: PropType<XEvent>;
62
+ default: string;
63
+ };
64
+ clickedSortEvent: {
65
+ type: PropType<XEvent>;
66
+ default: string;
34
67
  };
35
68
  /** Class inherited by each sort button. */
36
69
  buttonClass: StringConstructor;
37
70
  }>> & Readonly<{}>, {
38
71
  animation: string | Component;
72
+ selectedSortProvidedEvent: keyof XEventsTypes;
73
+ clickedSortEvent: keyof XEventsTypes;
39
74
  }, {}, {
40
75
  BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
41
76
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-picker-list.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../../../src/components/sort/sort-picker-list.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAKhD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,aAAa,CAAA;IACzB,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAC7B;AAED;;;GAGG;;IAKC,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;IAGxD,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;;cAIf,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;IAGlC,2CAA2C;;;;;IAtB3C,oDAAoD;;cAExB,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;IAGxD,wCAAwC;;cAEvB,QAAQ,CAAC,IAAI,EAAE,CAAC;;;;cAIf,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,MAAM,CAAC;;;;cAIhB,QAAQ,CAAC,MAAM,CAAC;;;IAGlC,2CAA2C;;;;;;;;;AA1B/C,wBA2DE"}
@@ -82,6 +82,8 @@ export interface UseAliasAPI {
82
82
  readonly browseTotalResults: number;
83
83
  /** The {@link SearchXModule} selected sort. */
84
84
  readonly selectedSort: string;
85
+ /** The {@link BrowseXModule} selected sort. */
86
+ readonly browseSelectedSort: string;
85
87
  /** The {@link SearchXModule} price specific stats. */
86
88
  readonly priceStats: {
87
89
  min: number;
@@ -1 +1 @@
1
- {"version":3,"file":"use-alias-api.d.ts","sourceRoot":"","sources":["../../../../src/composables/use-alias-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,KAAK,EACL,MAAM,EACN,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,aAAa,EACb,UAAU,EACV,MAAM,EACN,aAAa,EACb,UAAU,EACX,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AAMtE;;;;;;GAMG;AACH,wBAAgB,WAAW,IAAI,WAAW,CA8IzC;AAED;;;;GAIG;AACH,MAAM,WAAW,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GAAG,SAAS,CAAA;IACnD,6CAA6C;IAC7C,QAAQ,CAAC,WAAW,EAAE,aAAa,GAAG,SAAS,CAAA;IAC/C,wCAAwC;IACxC,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,CAAA;CAC3C"}
@@ -4,9 +4,5 @@
4
4
  * @public
5
5
  */
6
6
  export interface AiConfig {
7
- /**
8
- * Maximum number of results in the SearchResponse to display ai elements.
9
- */
10
- lowResultsThreshold: number;
11
7
  }
12
8
  //# sourceMappingURL=config.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/ai/config.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;CAC5B"}
1
+ {"version":3,"file":"config.types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/ai/config.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,QAAQ;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"suggestions-request.getter.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/ai/store/getters/suggestions-request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAY9E,CAAA"}
1
+ {"version":3,"file":"suggestions-request.getter.d.ts","sourceRoot":"","sources":["../../../../../../../src/x-modules/ai/store/getters/suggestions-request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAW9E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/ai/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,cAAc,EAAE,MAAM,SAAS,CAAA;AAetD;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,cAuE5B,CAAA"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/ai/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,cAAc,EAAE,MAAM,SAAS,CAAA;AAetD;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,cAqE5B,CAAA"}
@@ -1,3 +1,2 @@
1
1
  export { default as BrowseResultsList } from './browse-results-list.vue';
2
- export { default as BrowseSortPickerList } from './browse-sort-picker-list.vue';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/browse/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,+BAA+B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/browse/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAA"}
@@ -142,7 +142,7 @@ export declare const browseWiring: {
142
142
  ReloadBrowseRequested: {
143
143
  resetBrowseStateForReloadWire: import("../../wiring").AnyWire;
144
144
  };
145
- SelectedSortProvided: {
145
+ SelectedBrowseSortProvided: {
146
146
  setBrowseSort: import("../../wiring").Wire<string>;
147
147
  };
148
148
  ExtraParamsChanged: {
@@ -158,6 +158,11 @@ export declare const browseWiring: {
158
158
  resetBrowseStateForReloadWire: import("../../wiring").AnyWire;
159
159
  cancelFetchAndSaveBrowseResponseWire: import("../../wiring").AnyWire;
160
160
  };
161
+ UserAcceptedAQuery: {
162
+ clearBrowseQuery: import("../../wiring").AnyWire;
163
+ resetBrowseStateForReloadWire: import("../../wiring").AnyWire;
164
+ cancelFetchAndSaveBrowseResponseWire: import("../../wiring").AnyWire;
165
+ };
161
166
  UserClickedOutOfMainModal: {
162
167
  clearBrowseQuery: import("../../wiring").AnyWire;
163
168
  };