@empathyco/x-components 6.0.0-alpha.32 → 6.0.0-alpha.33

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 (62) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/core/index.js +1 -0
  3. package/core/index.js.map +1 -1
  4. package/design-system/deprecated-full-theme.css +1270 -1270
  5. package/docs/API-reference/api/x-components.globalxbus.md +2 -0
  6. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  7. package/docs/API-reference/api/x-components.md +1 -0
  8. package/docs/API-reference/api/x-components.pageselector.md +80 -0
  9. package/docs/API-reference/api/x-components.searchconfig.md +1 -0
  10. package/docs/API-reference/api/x-components.searchconfig.pagemode.md +11 -0
  11. package/docs/API-reference/api/x-components.searchxevents.md +1 -0
  12. package/docs/API-reference/api/x-components.searchxevents.userselectedapage.md +13 -0
  13. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  14. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  15. package/docs/API-reference/components/common/x-components.page-selector.md +151 -0
  16. package/js/components/page-selector.vue.js +78 -0
  17. package/js/components/page-selector.vue.js.map +1 -0
  18. package/js/components/page-selector.vue2.js +128 -0
  19. package/js/components/page-selector.vue2.js.map +1 -0
  20. package/js/components/page-selector.vue3.js +7 -0
  21. package/js/components/page-selector.vue3.js.map +1 -0
  22. package/js/index.js +1 -0
  23. package/js/index.js.map +1 -1
  24. package/js/x-modules/empathize/components/empathize.vue2.js +2 -0
  25. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  26. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +2 -0
  27. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  28. package/js/x-modules/queries-preview/components/query-preview.vue2.js +2 -0
  29. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  30. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +2 -0
  31. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  32. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +10 -3
  33. package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
  34. package/js/x-modules/search/store/module.js +2 -1
  35. package/js/x-modules/search/store/module.js.map +1 -1
  36. package/js/x-modules/search/wiring.js +4 -0
  37. package/js/x-modules/search/wiring.js.map +1 -1
  38. package/package.json +2 -2
  39. package/report/x-components.api.json +388 -4
  40. package/report/x-components.api.md +87 -2
  41. package/types/components/global-x-bus.vue.d.ts +2 -0
  42. package/types/components/global-x-bus.vue.d.ts.map +1 -1
  43. package/types/components/index.d.ts +1 -0
  44. package/types/components/index.d.ts.map +1 -1
  45. package/types/components/page-selector.vue.d.ts +125 -0
  46. package/types/components/page-selector.vue.d.ts.map +1 -0
  47. package/types/components/snippet-callbacks.vue.d.ts +1 -0
  48. package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
  49. package/types/types/page-mode.d.ts +2 -0
  50. package/types/types/page-mode.d.ts.map +1 -0
  51. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  52. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  53. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  54. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  55. package/types/x-modules/search/config.types.d.ts +2 -0
  56. package/types/x-modules/search/config.types.d.ts.map +1 -1
  57. package/types/x-modules/search/events.types.d.ts +4 -0
  58. package/types/x-modules/search/events.types.d.ts.map +1 -1
  59. package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
  60. package/types/x-modules/search/store/module.d.ts.map +1 -1
  61. package/types/x-modules/search/wiring.d.ts +4 -0
  62. package/types/x-modules/search/wiring.d.ts.map +1 -1
@@ -28045,6 +28045,15 @@
28045
28045
  "text": "WireMetadata",
28046
28046
  "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
28047
28047
  },
28048
+ {
28049
+ "kind": "Content",
28050
+ "text": ") => unknown;\n UserSelectedAPage: (payload: number, metadata: import(\"..\")."
28051
+ },
28052
+ {
28053
+ "kind": "Reference",
28054
+ "text": "WireMetadata",
28055
+ "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
28056
+ },
28048
28057
  {
28049
28058
  "kind": "Content",
28050
28059
  "text": ") => unknown;\n SemanticQueryRequestUpdated: (payload: import(\"@empathyco/x-types\")."
@@ -30187,6 +30196,15 @@
30187
30196
  "text": "WireMetadata",
30188
30197
  "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
30189
30198
  },
30199
+ {
30200
+ "kind": "Content",
30201
+ "text": ") => unknown;\n UserSelectedAPage: (payload: number, metadata: import(\"..\")."
30202
+ },
30203
+ {
30204
+ "kind": "Reference",
30205
+ "text": "WireMetadata",
30206
+ "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
30207
+ },
30190
30208
  {
30191
30209
  "kind": "Content",
30192
30210
  "text": ") => unknown;\n SemanticQueryRequestUpdated: (payload: import(\"@empathyco/x-types\")."
@@ -30504,7 +30522,7 @@
30504
30522
  "name": "GlobalXBus",
30505
30523
  "variableTypeTokenRange": {
30506
30524
  "startIndex": 1,
30507
- "endIndex": 946
30525
+ "endIndex": 950
30508
30526
  }
30509
30527
  },
30510
30528
  {
@@ -31380,7 +31398,7 @@
31380
31398
  },
31381
31399
  {
31382
31400
  "kind": "Content",
31383
- "text": " | undefined;\n UserClickedAbortARedirection?: void | undefined;\n SemanticQueryRequestUpdated?: import(\"@empathyco/x-types\")."
31401
+ "text": " | undefined;\n UserClickedAbortARedirection?: void | undefined;\n UserSelectedAPage?: number | undefined;\n SemanticQueryRequestUpdated?: import(\"@empathyco/x-types\")."
31384
31402
  },
31385
31403
  {
31386
31404
  "kind": "Reference",
@@ -43513,6 +43531,308 @@
43513
43531
  "endIndex": 46
43514
43532
  }
43515
43533
  },
43534
+ {
43535
+ "kind": "Variable",
43536
+ "canonicalReference": "@empathyco/x-components!PageSelector:var",
43537
+ "docComment": "/**\n * Component that renders a pagination control with buttons for navigating between pages. It displays the current page, allows selecting other pages, and emits events when a page is selected.\n *\n * @public\n */\n",
43538
+ "excerptTokens": [
43539
+ {
43540
+ "kind": "Content",
43541
+ "text": "_default: "
43542
+ },
43543
+ {
43544
+ "kind": "Content",
43545
+ "text": "import(\"vue\")."
43546
+ },
43547
+ {
43548
+ "kind": "Reference",
43549
+ "text": "DefineComponent",
43550
+ "canonicalReference": "@vue/runtime-core!DefineComponent:type"
43551
+ },
43552
+ {
43553
+ "kind": "Content",
43554
+ "text": "<{\n buttonClasses: {\n type: "
43555
+ },
43556
+ {
43557
+ "kind": "Reference",
43558
+ "text": "PropType",
43559
+ "canonicalReference": "@vue/runtime-core!PropType:type"
43560
+ },
43561
+ {
43562
+ "kind": "Content",
43563
+ "text": "<(string | "
43564
+ },
43565
+ {
43566
+ "kind": "Reference",
43567
+ "text": "Dictionary",
43568
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43569
+ },
43570
+ {
43571
+ "kind": "Content",
43572
+ "text": "<boolean>)[]>;\n default: () => never[];\n };\n currentPage: {\n type: "
43573
+ },
43574
+ {
43575
+ "kind": "Reference",
43576
+ "text": "NumberConstructor",
43577
+ "canonicalReference": "!NumberConstructor:interface"
43578
+ },
43579
+ {
43580
+ "kind": "Content",
43581
+ "text": ";\n required: true;\n };\n hiddenPage: {\n type: "
43582
+ },
43583
+ {
43584
+ "kind": "Reference",
43585
+ "text": "StringConstructor",
43586
+ "canonicalReference": "!StringConstructor:interface"
43587
+ },
43588
+ {
43589
+ "kind": "Content",
43590
+ "text": ";\n default: string;\n };\n itemClasses: {\n type: "
43591
+ },
43592
+ {
43593
+ "kind": "Reference",
43594
+ "text": "PropType",
43595
+ "canonicalReference": "@vue/runtime-core!PropType:type"
43596
+ },
43597
+ {
43598
+ "kind": "Content",
43599
+ "text": "<(isSelected: boolean) => string | "
43600
+ },
43601
+ {
43602
+ "kind": "Reference",
43603
+ "text": "Dictionary",
43604
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43605
+ },
43606
+ {
43607
+ "kind": "Content",
43608
+ "text": "<boolean> | (string | "
43609
+ },
43610
+ {
43611
+ "kind": "Reference",
43612
+ "text": "Dictionary",
43613
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43614
+ },
43615
+ {
43616
+ "kind": "Content",
43617
+ "text": "<boolean>)[]>;\n default: () => never[];\n };\n range: {\n type: "
43618
+ },
43619
+ {
43620
+ "kind": "Reference",
43621
+ "text": "NumberConstructor",
43622
+ "canonicalReference": "!NumberConstructor:interface"
43623
+ },
43624
+ {
43625
+ "kind": "Content",
43626
+ "text": ";\n default: number;\n };\n scrollTarget: {\n type: "
43627
+ },
43628
+ {
43629
+ "kind": "Reference",
43630
+ "text": "StringConstructor",
43631
+ "canonicalReference": "!StringConstructor:interface"
43632
+ },
43633
+ {
43634
+ "kind": "Content",
43635
+ "text": ";\n default: string;\n };\n totalPages: {\n type: "
43636
+ },
43637
+ {
43638
+ "kind": "Reference",
43639
+ "text": "NumberConstructor",
43640
+ "canonicalReference": "!NumberConstructor:interface"
43641
+ },
43642
+ {
43643
+ "kind": "Content",
43644
+ "text": ";\n required: true;\n };\n}, {\n visiblePages: import(\"vue\")."
43645
+ },
43646
+ {
43647
+ "kind": "Reference",
43648
+ "text": "ComputedRef",
43649
+ "canonicalReference": "@vue/reactivity!ComputedRef:interface"
43650
+ },
43651
+ {
43652
+ "kind": "Content",
43653
+ "text": "<"
43654
+ },
43655
+ {
43656
+ "kind": "Reference",
43657
+ "text": "PageItem",
43658
+ "canonicalReference": "@empathyco/x-components!~PageItem:interface"
43659
+ },
43660
+ {
43661
+ "kind": "Content",
43662
+ "text": "[]>;\n selectPage: (page: number | string) => void;\n}, unknown, {}, {}, import(\"vue\")."
43663
+ },
43664
+ {
43665
+ "kind": "Reference",
43666
+ "text": "ComponentOptionsMixin",
43667
+ "canonicalReference": "@vue/runtime-core!ComponentOptionsMixin:type"
43668
+ },
43669
+ {
43670
+ "kind": "Content",
43671
+ "text": ", import(\"vue\")."
43672
+ },
43673
+ {
43674
+ "kind": "Reference",
43675
+ "text": "ComponentOptionsMixin",
43676
+ "canonicalReference": "@vue/runtime-core!ComponentOptionsMixin:type"
43677
+ },
43678
+ {
43679
+ "kind": "Content",
43680
+ "text": ", {}, string, import(\"vue\")."
43681
+ },
43682
+ {
43683
+ "kind": "Reference",
43684
+ "text": "PublicProps",
43685
+ "canonicalReference": "@vue/runtime-core!PublicProps:type"
43686
+ },
43687
+ {
43688
+ "kind": "Content",
43689
+ "text": ", "
43690
+ },
43691
+ {
43692
+ "kind": "Reference",
43693
+ "text": "Readonly",
43694
+ "canonicalReference": "!Readonly:type"
43695
+ },
43696
+ {
43697
+ "kind": "Content",
43698
+ "text": "<import(\"vue\")."
43699
+ },
43700
+ {
43701
+ "kind": "Reference",
43702
+ "text": "ExtractPropTypes",
43703
+ "canonicalReference": "@vue/runtime-core!ExtractPropTypes:type"
43704
+ },
43705
+ {
43706
+ "kind": "Content",
43707
+ "text": "<{\n buttonClasses: {\n type: "
43708
+ },
43709
+ {
43710
+ "kind": "Reference",
43711
+ "text": "PropType",
43712
+ "canonicalReference": "@vue/runtime-core!PropType:type"
43713
+ },
43714
+ {
43715
+ "kind": "Content",
43716
+ "text": "<(string | "
43717
+ },
43718
+ {
43719
+ "kind": "Reference",
43720
+ "text": "Dictionary",
43721
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43722
+ },
43723
+ {
43724
+ "kind": "Content",
43725
+ "text": "<boolean>)[]>;\n default: () => never[];\n };\n currentPage: {\n type: "
43726
+ },
43727
+ {
43728
+ "kind": "Reference",
43729
+ "text": "NumberConstructor",
43730
+ "canonicalReference": "!NumberConstructor:interface"
43731
+ },
43732
+ {
43733
+ "kind": "Content",
43734
+ "text": ";\n required: true;\n };\n hiddenPage: {\n type: "
43735
+ },
43736
+ {
43737
+ "kind": "Reference",
43738
+ "text": "StringConstructor",
43739
+ "canonicalReference": "!StringConstructor:interface"
43740
+ },
43741
+ {
43742
+ "kind": "Content",
43743
+ "text": ";\n default: string;\n };\n itemClasses: {\n type: "
43744
+ },
43745
+ {
43746
+ "kind": "Reference",
43747
+ "text": "PropType",
43748
+ "canonicalReference": "@vue/runtime-core!PropType:type"
43749
+ },
43750
+ {
43751
+ "kind": "Content",
43752
+ "text": "<(isSelected: boolean) => string | "
43753
+ },
43754
+ {
43755
+ "kind": "Reference",
43756
+ "text": "Dictionary",
43757
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43758
+ },
43759
+ {
43760
+ "kind": "Content",
43761
+ "text": "<boolean> | (string | "
43762
+ },
43763
+ {
43764
+ "kind": "Reference",
43765
+ "text": "Dictionary",
43766
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43767
+ },
43768
+ {
43769
+ "kind": "Content",
43770
+ "text": "<boolean>)[]>;\n default: () => never[];\n };\n range: {\n type: "
43771
+ },
43772
+ {
43773
+ "kind": "Reference",
43774
+ "text": "NumberConstructor",
43775
+ "canonicalReference": "!NumberConstructor:interface"
43776
+ },
43777
+ {
43778
+ "kind": "Content",
43779
+ "text": ";\n default: number;\n };\n scrollTarget: {\n type: "
43780
+ },
43781
+ {
43782
+ "kind": "Reference",
43783
+ "text": "StringConstructor",
43784
+ "canonicalReference": "!StringConstructor:interface"
43785
+ },
43786
+ {
43787
+ "kind": "Content",
43788
+ "text": ";\n default: string;\n };\n totalPages: {\n type: "
43789
+ },
43790
+ {
43791
+ "kind": "Reference",
43792
+ "text": "NumberConstructor",
43793
+ "canonicalReference": "!NumberConstructor:interface"
43794
+ },
43795
+ {
43796
+ "kind": "Content",
43797
+ "text": ";\n required: true;\n };\n}>>, {\n buttonClasses: (string | "
43798
+ },
43799
+ {
43800
+ "kind": "Reference",
43801
+ "text": "Dictionary",
43802
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43803
+ },
43804
+ {
43805
+ "kind": "Content",
43806
+ "text": "<boolean>)[];\n hiddenPage: string;\n itemClasses: (isSelected: boolean) => string | "
43807
+ },
43808
+ {
43809
+ "kind": "Reference",
43810
+ "text": "Dictionary",
43811
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43812
+ },
43813
+ {
43814
+ "kind": "Content",
43815
+ "text": "<boolean> | (string | "
43816
+ },
43817
+ {
43818
+ "kind": "Reference",
43819
+ "text": "Dictionary",
43820
+ "canonicalReference": "@empathyco/x-utils!Dictionary:type"
43821
+ },
43822
+ {
43823
+ "kind": "Content",
43824
+ "text": "<boolean>)[];\n range: number;\n scrollTarget: string;\n}, {}>"
43825
+ }
43826
+ ],
43827
+ "fileUrlPath": "dist/types/components/page-selector.vue.d.ts",
43828
+ "isReadonly": true,
43829
+ "releaseTag": "Public",
43830
+ "name": "PageSelector",
43831
+ "variableTypeTokenRange": {
43832
+ "startIndex": 1,
43833
+ "endIndex": 64
43834
+ }
43835
+ },
43516
43836
  {
43517
43837
  "kind": "TypeAlias",
43518
43838
  "canonicalReference": "@empathyco/x-components!Pair:type",
@@ -59359,6 +59679,34 @@
59359
59679
  "name": "SearchConfig",
59360
59680
  "preserveMemberOrder": false,
59361
59681
  "members": [
59682
+ {
59683
+ "kind": "PropertySignature",
59684
+ "canonicalReference": "@empathyco/x-components!SearchConfig#pageMode:member",
59685
+ "docComment": "",
59686
+ "excerptTokens": [
59687
+ {
59688
+ "kind": "Content",
59689
+ "text": "pageMode: "
59690
+ },
59691
+ {
59692
+ "kind": "Reference",
59693
+ "text": "PageMode",
59694
+ "canonicalReference": "@empathyco/x-components!~PageMode:type"
59695
+ },
59696
+ {
59697
+ "kind": "Content",
59698
+ "text": ";"
59699
+ }
59700
+ ],
59701
+ "isReadonly": false,
59702
+ "isOptional": false,
59703
+ "releaseTag": "Public",
59704
+ "name": "pageMode",
59705
+ "propertyTypeTokenRange": {
59706
+ "startIndex": 1,
59707
+ "endIndex": 2
59708
+ }
59709
+ },
59362
59710
  {
59363
59711
  "kind": "PropertySignature",
59364
59712
  "canonicalReference": "@empathyco/x-components!SearchConfig#pageSize:member",
@@ -62492,6 +62840,33 @@
62492
62840
  "startIndex": 1,
62493
62841
  "endIndex": 2
62494
62842
  }
62843
+ },
62844
+ {
62845
+ "kind": "PropertySignature",
62846
+ "canonicalReference": "@empathyco/x-components!SearchXEvents#UserSelectedAPage:member",
62847
+ "docComment": "/**\n * The user has selected a page.\n */\n",
62848
+ "excerptTokens": [
62849
+ {
62850
+ "kind": "Content",
62851
+ "text": "UserSelectedAPage: "
62852
+ },
62853
+ {
62854
+ "kind": "Content",
62855
+ "text": "number"
62856
+ },
62857
+ {
62858
+ "kind": "Content",
62859
+ "text": ";"
62860
+ }
62861
+ ],
62862
+ "isReadonly": false,
62863
+ "isOptional": false,
62864
+ "releaseTag": "Public",
62865
+ "name": "UserSelectedAPage",
62866
+ "propertyTypeTokenRange": {
62867
+ "startIndex": 1,
62868
+ "endIndex": 2
62869
+ }
62495
62870
  }
62496
62871
  ],
62497
62872
  "extendsTokenRanges": []
@@ -67760,7 +68135,7 @@
67760
68135
  },
67761
68136
  {
67762
68137
  "kind": "Content",
67763
- "text": " | undefined;\n UserClickedAbortARedirection?: void | undefined;\n SemanticQueryRequestUpdated?: import(\"@empathyco/x-types\")."
68138
+ "text": " | undefined;\n UserClickedAbortARedirection?: void | undefined;\n UserSelectedAPage?: number | undefined;\n SemanticQueryRequestUpdated?: import(\"@empathyco/x-types\")."
67764
68139
  },
67765
68140
  {
67766
68141
  "kind": "Reference",
@@ -70692,6 +71067,15 @@
70692
71067
  "text": "WireMetadata",
70693
71068
  "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
70694
71069
  },
71070
+ {
71071
+ "kind": "Content",
71072
+ "text": ") => unknown;\n UserSelectedAPage: (payload: number, metadata: "
71073
+ },
71074
+ {
71075
+ "kind": "Reference",
71076
+ "text": "WireMetadata",
71077
+ "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
71078
+ },
70695
71079
  {
70696
71080
  "kind": "Content",
70697
71081
  "text": ") => unknown;\n SemanticQueryRequestUpdated: (payload: import(\"@empathyco/x-types\")."
@@ -71054,7 +71438,7 @@
71054
71438
  "name": "SnippetCallbacks",
71055
71439
  "variableTypeTokenRange": {
71056
71440
  "startIndex": 1,
71057
- "endIndex": 480
71441
+ "endIndex": 482
71058
71442
  }
71059
71443
  },
71060
71444
  {
@@ -3181,6 +3181,7 @@ UserClickedARedirection: (payload: Redirection_2, metadata: WireMetadata) => unk
3181
3181
  UserClickedAPromoted: (payload: Promoted_2, metadata: WireMetadata) => unknown;
3182
3182
  UserClickedABanner: (payload: Banner_2, metadata: WireMetadata) => unknown;
3183
3183
  UserClickedAbortARedirection: (payload: undefined, metadata: WireMetadata) => unknown;
3184
+ UserSelectedAPage: (payload: number, metadata: WireMetadata) => unknown;
3184
3185
  SemanticQueryRequestUpdated: (payload: SemanticQueriesRequest | null, metadata: WireMetadata) => unknown;
3185
3186
  SemanticQueriesResponseChanged: (payload: SemanticQuery_2[], metadata: WireMetadata) => unknown;
3186
3187
  UserSelectedASemanticQuery: (payload: SemanticQuery_2, metadata: WireMetadata) => unknown;
@@ -3349,6 +3350,7 @@ UserClickedARedirection: (payload: Redirection_2, metadata: WireMetadata) => unk
3349
3350
  UserClickedAPromoted: (payload: Promoted_2, metadata: WireMetadata) => unknown;
3350
3351
  UserClickedABanner: (payload: Banner_2, metadata: WireMetadata) => unknown;
3351
3352
  UserClickedAbortARedirection: (payload: undefined, metadata: WireMetadata) => unknown;
3353
+ UserSelectedAPage: (payload: number, metadata: WireMetadata) => unknown;
3352
3354
  SemanticQueryRequestUpdated: (payload: SemanticQueriesRequest | null, metadata: WireMetadata) => unknown;
3353
3355
  SemanticQueriesResponseChanged: (payload: SemanticQuery_2[], metadata: WireMetadata) => unknown;
3354
3356
  UserSelectedASemanticQuery: (payload: SemanticQuery_2, metadata: WireMetadata) => unknown;
@@ -3555,6 +3557,7 @@ UserClickedARedirection?: Redirection_2 | undefined;
3555
3557
  UserClickedAPromoted?: Promoted_2 | undefined;
3556
3558
  UserClickedABanner?: Banner_2 | undefined;
3557
3559
  UserClickedAbortARedirection?: void | undefined;
3560
+ UserSelectedAPage?: number | undefined;
3558
3561
  SemanticQueryRequestUpdated?: SemanticQueriesRequest | null | undefined;
3559
3562
  SemanticQueriesResponseChanged?: SemanticQuery_2[] | undefined;
3560
3563
  UserSelectedASemanticQuery?: SemanticQuery_2 | undefined;
@@ -4770,6 +4773,76 @@ type: PropType<Partial<XEventsTypes>>;
4770
4773
  buttonClasses: VueCSSClasses;
4771
4774
  }, {}>;
4772
4775
 
4776
+ // @public
4777
+ export const PageSelector: DefineComponent< {
4778
+ buttonClasses: {
4779
+ type: PropType<(string | Dictionary<boolean>)[]>;
4780
+ default: () => never[];
4781
+ };
4782
+ currentPage: {
4783
+ type: NumberConstructor;
4784
+ required: true;
4785
+ };
4786
+ hiddenPage: {
4787
+ type: StringConstructor;
4788
+ default: string;
4789
+ };
4790
+ itemClasses: {
4791
+ type: PropType<(isSelected: boolean) => string | Dictionary<boolean> | (string | Dictionary<boolean>)[]>;
4792
+ default: () => never[];
4793
+ };
4794
+ range: {
4795
+ type: NumberConstructor;
4796
+ default: number;
4797
+ };
4798
+ scrollTarget: {
4799
+ type: StringConstructor;
4800
+ default: string;
4801
+ };
4802
+ totalPages: {
4803
+ type: NumberConstructor;
4804
+ required: true;
4805
+ };
4806
+ }, {
4807
+ visiblePages: ComputedRef<PageItem[]>;
4808
+ selectPage: (page: number | string) => void;
4809
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
4810
+ buttonClasses: {
4811
+ type: PropType<(string | Dictionary<boolean>)[]>;
4812
+ default: () => never[];
4813
+ };
4814
+ currentPage: {
4815
+ type: NumberConstructor;
4816
+ required: true;
4817
+ };
4818
+ hiddenPage: {
4819
+ type: StringConstructor;
4820
+ default: string;
4821
+ };
4822
+ itemClasses: {
4823
+ type: PropType<(isSelected: boolean) => string | Dictionary<boolean> | (string | Dictionary<boolean>)[]>;
4824
+ default: () => never[];
4825
+ };
4826
+ range: {
4827
+ type: NumberConstructor;
4828
+ default: number;
4829
+ };
4830
+ scrollTarget: {
4831
+ type: StringConstructor;
4832
+ default: string;
4833
+ };
4834
+ totalPages: {
4835
+ type: NumberConstructor;
4836
+ required: true;
4837
+ };
4838
+ }>>, {
4839
+ buttonClasses: (string | Dictionary<boolean>)[];
4840
+ hiddenPage: string;
4841
+ itemClasses: (isSelected: boolean) => string | Dictionary<boolean> | (string | Dictionary<boolean>)[];
4842
+ range: number;
4843
+ scrollTarget: string;
4844
+ }, {}>;
4845
+
4773
4846
  // @public
4774
4847
  export type Pair<Type> = [Type, Type];
4775
4848
 
@@ -6513,6 +6586,10 @@ emitEvents: () => void;
6513
6586
 
6514
6587
  // @public
6515
6588
  export interface SearchConfig {
6589
+ // Warning: (ae-forgotten-export) The symbol "PageMode" needs to be exported by the entry point index.d.ts
6590
+ //
6591
+ // (undocumented)
6592
+ pageMode: PageMode;
6516
6593
  pageSize: number;
6517
6594
  }
6518
6595
 
@@ -6784,6 +6861,10 @@ export const searchWiring: {
6784
6861
  UserSelectedAHistoryQuery: {
6785
6862
  setSearchSelectedFiltersFromHistoryQuery: AnyWire;
6786
6863
  };
6864
+ UserSelectedAPage: {
6865
+ setSearchPage: Wire<number>;
6866
+ resetAppending: AnyWire;
6867
+ };
6787
6868
  };
6788
6869
 
6789
6870
  // @public
@@ -6806,6 +6887,7 @@ export interface SearchXEvents {
6806
6887
  UserClickedASort: Sort;
6807
6888
  UserClickedPartialQuery: string;
6808
6889
  UserReachedResultsListEnd: void;
6890
+ UserSelectedAPage: number;
6809
6891
  }
6810
6892
 
6811
6893
  // @public
@@ -7378,6 +7460,7 @@ UserClickedARedirection?: Redirection_2 | undefined;
7378
7460
  UserClickedAPromoted?: Promoted_2 | undefined;
7379
7461
  UserClickedABanner?: Banner_2 | undefined;
7380
7462
  UserClickedAbortARedirection?: void | undefined;
7463
+ UserSelectedAPage?: number | undefined;
7381
7464
  SemanticQueryRequestUpdated?: SemanticQueriesRequest | null | undefined;
7382
7465
  SemanticQueriesResponseChanged?: SemanticQuery_2[] | undefined;
7383
7466
  UserSelectedASemanticQuery?: SemanticQuery_2 | undefined;
@@ -7687,6 +7770,7 @@ UserClickedARedirection: (payload: Redirection_2, metadata: WireMetadata) => unk
7687
7770
  UserClickedAPromoted: (payload: Promoted_2, metadata: WireMetadata) => unknown;
7688
7771
  UserClickedABanner: (payload: Banner_2, metadata: WireMetadata) => unknown;
7689
7772
  UserClickedAbortARedirection: (payload: undefined, metadata: WireMetadata) => unknown;
7773
+ UserSelectedAPage: (payload: number, metadata: WireMetadata) => unknown;
7690
7774
  SemanticQueryRequestUpdated: (payload: SemanticQueriesRequest | null, metadata: WireMetadata) => unknown;
7691
7775
  SemanticQueriesResponseChanged: (payload: SemanticQuery_2[], metadata: WireMetadata) => unknown;
7692
7776
  UserSelectedASemanticQuery: (payload: SemanticQuery_2, metadata: WireMetadata) => unknown;
@@ -8967,7 +9051,8 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
8967
9051
  // dist/types/components/global-x-bus.vue.d.ts:86:13 - (ae-forgotten-export) The symbol "NextQuery_2" needs to be exported by the entry point index.d.ts
8968
9052
  // dist/types/components/global-x-bus.vue.d.ts:149:13 - (ae-forgotten-export) The symbol "Redirection_2" needs to be exported by the entry point index.d.ts
8969
9053
  // dist/types/components/global-x-bus.vue.d.ts:150:13 - (ae-forgotten-export) The symbol "Promoted_2" needs to be exported by the entry point index.d.ts
8970
- // dist/types/components/global-x-bus.vue.d.ts:154:13 - (ae-forgotten-export) The symbol "SemanticQuery_2" needs to be exported by the entry point index.d.ts
9054
+ // dist/types/components/global-x-bus.vue.d.ts:155:13 - (ae-forgotten-export) The symbol "SemanticQuery_2" needs to be exported by the entry point index.d.ts
9055
+ // dist/types/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
8971
9056
  // dist/types/components/result/base-result-add-to-cart.vue.d.ts:17:9 - (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
8972
9057
  // dist/types/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
8973
9058
  // dist/types/x-modules/facets/components/facets/facets.vue.d.ts:56:5 - (ae-forgotten-export) The symbol "RenderFacet" needs to be exported by the entry point index.d.ts
@@ -8979,7 +9064,7 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
8979
9064
  // dist/types/x-modules/search/components/partial-results-list.vue.d.ts:29:5 - (ae-forgotten-export) The symbol "PartialResult" needs to be exported by the entry point index.d.ts
8980
9065
  // dist/types/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
8981
9066
  // dist/types/x-modules/search/components/sort-picker-list.vue.d.ts:31:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
8982
- // src/x-modules/search/store/module.ts:146:32 - (ae-forgotten-export) The symbol "Stats" needs to be exported by the entry point index.d.ts
9067
+ // src/x-modules/search/store/module.ts:147:32 - (ae-forgotten-export) The symbol "Stats" needs to be exported by the entry point index.d.ts
8983
9068
  // 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
8984
9069
  // src/x-modules/url/store/emitters.ts:64:1 - (ae-forgotten-export) The symbol "shouldReplaceUrl" needs to be exported by the entry point index.d.ts
8985
9070
 
@@ -150,6 +150,7 @@ declare const _default: import("vue").DefineComponent<{
150
150
  UserClickedAPromoted: (payload: import("@empathyco/x-types").Promoted, metadata: import("..").WireMetadata) => unknown;
151
151
  UserClickedABanner: (payload: import("@empathyco/x-types").Banner, metadata: import("..").WireMetadata) => unknown;
152
152
  UserClickedAbortARedirection: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
153
+ UserSelectedAPage: (payload: number, metadata: import("..").WireMetadata) => unknown;
153
154
  SemanticQueryRequestUpdated: (payload: import("@empathyco/x-types").SemanticQueriesRequest | null, metadata: import("..").WireMetadata) => unknown;
154
155
  SemanticQueriesResponseChanged: (payload: import("@empathyco/x-types").SemanticQuery[], metadata: import("..").WireMetadata) => unknown;
155
156
  UserSelectedASemanticQuery: (payload: import("@empathyco/x-types").SemanticQuery, metadata: import("..").WireMetadata) => unknown;
@@ -318,6 +319,7 @@ declare const _default: import("vue").DefineComponent<{
318
319
  UserClickedAPromoted: (payload: import("@empathyco/x-types").Promoted, metadata: import("..").WireMetadata) => unknown;
319
320
  UserClickedABanner: (payload: import("@empathyco/x-types").Banner, metadata: import("..").WireMetadata) => unknown;
320
321
  UserClickedAbortARedirection: (payload: undefined, metadata: import("..").WireMetadata) => unknown;
322
+ UserSelectedAPage: (payload: number, metadata: import("..").WireMetadata) => unknown;
321
323
  SemanticQueryRequestUpdated: (payload: import("@empathyco/x-types").SemanticQueriesRequest | null, metadata: import("..").WireMetadata) => unknown;
322
324
  SemanticQueriesResponseChanged: (payload: import("@empathyco/x-types").SemanticQuery[], metadata: import("..").WireMetadata) => unknown;
323
325
  UserSelectedASemanticQuery: (payload: import("@empathyco/x-types").SemanticQuery, metadata: import("..").WireMetadata) => unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"global-x-bus.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/global-x-bus.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKhD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAuBG"}
1
+ {"version":3,"file":"global-x-bus.vue?vue&type=script&lang.d.ts","sourceRoot":"","sources":["../../../src/components/global-x-bus.vue?vue&type=script&lang.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKhD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAuBG"}
@@ -26,6 +26,7 @@ export { default as LocationProvider } from './location-provider.vue';
26
26
  export { default as SlidingPanel } from './sliding-panel.vue';
27
27
  export { default as SnippetCallbacks } from './snippet-callbacks.vue';
28
28
  export { default as PageLoaderButton } from './page-loader-button.vue';
29
+ export { default as PageSelector } from './page-selector.vue';
29
30
  export * from './decorators/injection.consts';
30
31
  export * from './x-component.utils';
31
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cA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