@empathyco/x-components 6.0.0-alpha.168 → 6.0.0-alpha.169

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 (50) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/docs/API-reference/api/x-components.aiactions.fetchandsaveaisuggestionssearch.md +2 -2
  3. package/docs/API-reference/api/x-components.aiactions.md +1 -1
  4. package/docs/API-reference/api/x-components.aioverview.md +24 -16
  5. package/docs/API-reference/api/x-components.aixevents.aisuggestionssearchchanged.md +11 -0
  6. package/docs/API-reference/api/x-components.aixevents.md +1 -0
  7. package/docs/API-reference/api/x-components.fetchandsaveaisuggestionssearch.md +1 -1
  8. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  9. package/docs/API-reference/api/x-components.md +2 -1
  10. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  11. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  12. package/docs/API-reference/api/x-components.trackaisuggestionssearchwire.md +13 -0
  13. package/docs/API-reference/components/ai/x-components.ai-overview.md +10 -9
  14. package/js/index.js +1 -1
  15. package/js/x-modules/ai/components/ai-overview.vue.js +2 -2
  16. package/js/x-modules/ai/components/ai-overview.vue.js.map +1 -1
  17. package/js/x-modules/ai/components/ai-overview.vue2.js +25 -42
  18. package/js/x-modules/ai/components/ai-overview.vue2.js.map +1 -1
  19. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js +5 -5
  20. package/js/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.js.map +1 -1
  21. package/js/x-modules/ai/store/emitters.js +1 -0
  22. package/js/x-modules/ai/store/emitters.js.map +1 -1
  23. package/js/x-modules/ai/wiring.js +4 -4
  24. package/js/x-modules/ai/wiring.js.map +1 -1
  25. package/js/x-modules/tagging/wiring.js +9 -1
  26. package/js/x-modules/tagging/wiring.js.map +1 -1
  27. package/package.json +2 -2
  28. package/report/x-components.api.json +167 -62
  29. package/report/x-components.api.md +42 -22
  30. package/tagging/index.js +1 -1
  31. package/types/components/snippet-callbacks.vue.d.ts +1 -0
  32. package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
  33. package/types/x-modules/ai/components/ai-overview.vue.d.ts +24 -87
  34. package/types/x-modules/ai/components/ai-overview.vue.d.ts.map +1 -1
  35. package/types/x-modules/ai/events.types.d.ts +2 -1
  36. package/types/x-modules/ai/events.types.d.ts.map +1 -1
  37. package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts +3 -4
  38. package/types/x-modules/ai/store/actions/fetch-and-save-ai-suggestions-search.action.d.ts.map +1 -1
  39. package/types/x-modules/ai/store/emitters.d.ts +1 -0
  40. package/types/x-modules/ai/store/emitters.d.ts.map +1 -1
  41. package/types/x-modules/ai/store/types.d.ts +3 -3
  42. package/types/x-modules/ai/store/types.d.ts.map +1 -1
  43. package/types/x-modules/ai/wiring.d.ts +2 -2
  44. package/types/x-modules/ai/wiring.d.ts.map +1 -1
  45. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  46. package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  47. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  48. package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  49. package/types/x-modules/tagging/wiring.d.ts +8 -0
  50. package/types/x-modules/tagging/wiring.d.ts.map +1 -1
@@ -896,7 +896,7 @@
896
896
  {
897
897
  "kind": "PropertySignature",
898
898
  "canonicalReference": "@empathyco/x-components!AiActions#fetchAndSaveAiSuggestionsSearch:member",
899
- "docComment": "/**\n * Requests suggestions search for the module ai.\n *\n * @param request - The ai suggestions search request.\n */\n",
899
+ "docComment": "/**\n * Requests suggestions search for the module AI.\n *\n * @param expanded - The expanded state of the AI overview.\n */\n",
900
900
  "excerptTokens": [
901
901
  {
902
902
  "kind": "Content",
@@ -904,16 +904,7 @@
904
904
  },
905
905
  {
906
906
  "kind": "Content",
907
- "text": "(request: "
908
- },
909
- {
910
- "kind": "Reference",
911
- "text": "AiSuggestionsSearchRequest",
912
- "canonicalReference": "@empathyco/x-components!AiSuggestionsSearchRequest:interface"
913
- },
914
- {
915
- "kind": "Content",
916
- "text": " | null) => void"
907
+ "text": "(expanded: boolean) => void"
917
908
  },
918
909
  {
919
910
  "kind": "Content",
@@ -926,7 +917,7 @@
926
917
  "name": "fetchAndSaveAiSuggestionsSearch",
927
918
  "propertyTypeTokenRange": {
928
919
  "startIndex": 1,
929
- "endIndex": 4
920
+ "endIndex": 2
930
921
  }
931
922
  },
932
923
  {
@@ -1622,66 +1613,75 @@
1622
1613
  },
1623
1614
  {
1624
1615
  "kind": "Reference",
1625
- "text": "PropType",
1626
- "canonicalReference": "@vue/runtime-core!PropType:type"
1616
+ "text": "StringConstructor",
1617
+ "canonicalReference": "!StringConstructor:interface"
1627
1618
  },
1628
1619
  {
1629
1620
  "kind": "Content",
1630
- "text": "<string>;\n };\n titleLoading: {\n type: "
1621
+ "text": ";\n };\n titleLoading: {\n type: "
1631
1622
  },
1632
1623
  {
1633
1624
  "kind": "Reference",
1634
- "text": "PropType",
1635
- "canonicalReference": "@vue/runtime-core!PropType:type"
1625
+ "text": "StringConstructor",
1626
+ "canonicalReference": "!StringConstructor:interface"
1636
1627
  },
1637
1628
  {
1638
1629
  "kind": "Content",
1639
- "text": "<string>;\n default: string;\n };\n expandText: {\n type: "
1630
+ "text": ";\n default: string;\n };\n expandText: {\n type: "
1640
1631
  },
1641
1632
  {
1642
1633
  "kind": "Reference",
1643
- "text": "PropType",
1644
- "canonicalReference": "@vue/runtime-core!PropType:type"
1634
+ "text": "StringConstructor",
1635
+ "canonicalReference": "!StringConstructor:interface"
1645
1636
  },
1646
1637
  {
1647
1638
  "kind": "Content",
1648
- "text": "<string>;\n default: string;\n };\n collapseText: {\n type: "
1639
+ "text": ";\n default: string;\n };\n collapseText: {\n type: "
1649
1640
  },
1650
1641
  {
1651
1642
  "kind": "Reference",
1652
- "text": "PropType",
1653
- "canonicalReference": "@vue/runtime-core!PropType:type"
1643
+ "text": "StringConstructor",
1644
+ "canonicalReference": "!StringConstructor:interface"
1654
1645
  },
1655
1646
  {
1656
1647
  "kind": "Content",
1657
- "text": "<string>;\n default: string;\n };\n slidingPanelsClasses: {\n type: "
1648
+ "text": ";\n default: string;\n };\n autoExpandInSearchNoResults: {\n type: "
1658
1649
  },
1659
1650
  {
1660
1651
  "kind": "Reference",
1661
- "text": "PropType",
1662
- "canonicalReference": "@vue/runtime-core!PropType:type"
1652
+ "text": "BooleanConstructor",
1653
+ "canonicalReference": "!BooleanConstructor:interface"
1663
1654
  },
1664
1655
  {
1665
1656
  "kind": "Content",
1666
- "text": "<string>;\n };\n slidingPanelContainersClasses: {\n type: "
1657
+ "text": ";\n default: boolean;\n };\n slidingPanelsClasses: {\n type: "
1667
1658
  },
1668
1659
  {
1669
1660
  "kind": "Reference",
1670
- "text": "PropType",
1671
- "canonicalReference": "@vue/runtime-core!PropType:type"
1661
+ "text": "StringConstructor",
1662
+ "canonicalReference": "!StringConstructor:interface"
1672
1663
  },
1673
1664
  {
1674
1665
  "kind": "Content",
1675
- "text": "<string>;\n };\n slidingPanelButtonsClasses: {\n type: "
1666
+ "text": ";\n };\n slidingPanelContainersClasses: {\n type: "
1676
1667
  },
1677
1668
  {
1678
1669
  "kind": "Reference",
1679
- "text": "PropType",
1680
- "canonicalReference": "@vue/runtime-core!PropType:type"
1670
+ "text": "StringConstructor",
1671
+ "canonicalReference": "!StringConstructor:interface"
1672
+ },
1673
+ {
1674
+ "kind": "Content",
1675
+ "text": ";\n };\n slidingPanelButtonsClasses: {\n type: "
1676
+ },
1677
+ {
1678
+ "kind": "Reference",
1679
+ "text": "StringConstructor",
1680
+ "canonicalReference": "!StringConstructor:interface"
1681
1681
  },
1682
1682
  {
1683
1683
  "kind": "Content",
1684
- "text": "<string>;\n };\n}, {\n aiOverviewRef: import(\"vue\")."
1684
+ "text": ";\n };\n}, {\n aiOverviewRef: import(\"vue\")."
1685
1685
  },
1686
1686
  {
1687
1687
  "kind": "Reference",
@@ -1771,7 +1771,7 @@
1771
1771
  },
1772
1772
  {
1773
1773
  "kind": "Content",
1774
- "text": "<string>;\n setExpanded: (newValue: boolean) => void;\n onExpandButtonClick: (newValue: boolean) => void;\n shouldAnimateSuggestion: import(\"vue\")."
1774
+ "text": "<string>;\n emitAndSetExpand: (isExpanded: boolean) => void;\n shouldAnimateSuggestion: import(\"vue\")."
1775
1775
  },
1776
1776
  {
1777
1777
  "kind": "Reference",
@@ -1883,66 +1883,75 @@
1883
1883
  },
1884
1884
  {
1885
1885
  "kind": "Reference",
1886
- "text": "PropType",
1887
- "canonicalReference": "@vue/runtime-core!PropType:type"
1886
+ "text": "StringConstructor",
1887
+ "canonicalReference": "!StringConstructor:interface"
1888
1888
  },
1889
1889
  {
1890
1890
  "kind": "Content",
1891
- "text": "<string>;\n };\n titleLoading: {\n type: "
1891
+ "text": ";\n };\n titleLoading: {\n type: "
1892
1892
  },
1893
1893
  {
1894
1894
  "kind": "Reference",
1895
- "text": "PropType",
1896
- "canonicalReference": "@vue/runtime-core!PropType:type"
1895
+ "text": "StringConstructor",
1896
+ "canonicalReference": "!StringConstructor:interface"
1897
1897
  },
1898
1898
  {
1899
1899
  "kind": "Content",
1900
- "text": "<string>;\n default: string;\n };\n expandText: {\n type: "
1900
+ "text": ";\n default: string;\n };\n expandText: {\n type: "
1901
1901
  },
1902
1902
  {
1903
1903
  "kind": "Reference",
1904
- "text": "PropType",
1905
- "canonicalReference": "@vue/runtime-core!PropType:type"
1904
+ "text": "StringConstructor",
1905
+ "canonicalReference": "!StringConstructor:interface"
1906
1906
  },
1907
1907
  {
1908
1908
  "kind": "Content",
1909
- "text": "<string>;\n default: string;\n };\n collapseText: {\n type: "
1909
+ "text": ";\n default: string;\n };\n collapseText: {\n type: "
1910
1910
  },
1911
1911
  {
1912
1912
  "kind": "Reference",
1913
- "text": "PropType",
1914
- "canonicalReference": "@vue/runtime-core!PropType:type"
1913
+ "text": "StringConstructor",
1914
+ "canonicalReference": "!StringConstructor:interface"
1915
1915
  },
1916
1916
  {
1917
1917
  "kind": "Content",
1918
- "text": "<string>;\n default: string;\n };\n slidingPanelsClasses: {\n type: "
1918
+ "text": ";\n default: string;\n };\n autoExpandInSearchNoResults: {\n type: "
1919
1919
  },
1920
1920
  {
1921
1921
  "kind": "Reference",
1922
- "text": "PropType",
1923
- "canonicalReference": "@vue/runtime-core!PropType:type"
1922
+ "text": "BooleanConstructor",
1923
+ "canonicalReference": "!BooleanConstructor:interface"
1924
1924
  },
1925
1925
  {
1926
1926
  "kind": "Content",
1927
- "text": "<string>;\n };\n slidingPanelContainersClasses: {\n type: "
1927
+ "text": ";\n default: boolean;\n };\n slidingPanelsClasses: {\n type: "
1928
1928
  },
1929
1929
  {
1930
1930
  "kind": "Reference",
1931
- "text": "PropType",
1932
- "canonicalReference": "@vue/runtime-core!PropType:type"
1931
+ "text": "StringConstructor",
1932
+ "canonicalReference": "!StringConstructor:interface"
1933
1933
  },
1934
1934
  {
1935
1935
  "kind": "Content",
1936
- "text": "<string>;\n };\n slidingPanelButtonsClasses: {\n type: "
1936
+ "text": ";\n };\n slidingPanelContainersClasses: {\n type: "
1937
1937
  },
1938
1938
  {
1939
1939
  "kind": "Reference",
1940
- "text": "PropType",
1941
- "canonicalReference": "@vue/runtime-core!PropType:type"
1940
+ "text": "StringConstructor",
1941
+ "canonicalReference": "!StringConstructor:interface"
1942
1942
  },
1943
1943
  {
1944
1944
  "kind": "Content",
1945
- "text": "<string>;\n };\n}>>, {\n titleLoading: string;\n expandText: string;\n collapseText: string;\n}, {}>"
1945
+ "text": ";\n };\n slidingPanelButtonsClasses: {\n type: "
1946
+ },
1947
+ {
1948
+ "kind": "Reference",
1949
+ "text": "StringConstructor",
1950
+ "canonicalReference": "!StringConstructor:interface"
1951
+ },
1952
+ {
1953
+ "kind": "Content",
1954
+ "text": ";\n };\n}>>, {\n titleLoading: string;\n expandText: string;\n collapseText: string;\n autoExpandInSearchNoResults: boolean;\n}, {}>"
1946
1955
  }
1947
1956
  ],
1948
1957
  "fileUrlPath": "dist/types/x-modules/ai/components/ai-overview.vue.d.ts",
@@ -1951,7 +1960,7 @@
1951
1960
  "name": "AiOverview",
1952
1961
  "variableTypeTokenRange": {
1953
1962
  "startIndex": 1,
1954
- "endIndex": 76
1963
+ "endIndex": 80
1955
1964
  }
1956
1965
  },
1957
1966
  {
@@ -2540,6 +2549,38 @@
2540
2549
  "endIndex": 3
2541
2550
  }
2542
2551
  },
2552
+ {
2553
+ "kind": "PropertySignature",
2554
+ "canonicalReference": "@empathyco/x-components!AiXEvents#AiSuggestionsSearchChanged:member",
2555
+ "docComment": "",
2556
+ "excerptTokens": [
2557
+ {
2558
+ "kind": "Content",
2559
+ "text": "AiSuggestionsSearchChanged: "
2560
+ },
2561
+ {
2562
+ "kind": "Reference",
2563
+ "text": "AiSuggestionSearch",
2564
+ "canonicalReference": "@empathyco/x-components!AiSuggestionSearch:interface"
2565
+ },
2566
+ {
2567
+ "kind": "Content",
2568
+ "text": "[]"
2569
+ },
2570
+ {
2571
+ "kind": "Content",
2572
+ "text": ";"
2573
+ }
2574
+ ],
2575
+ "isReadonly": false,
2576
+ "isOptional": false,
2577
+ "releaseTag": "Public",
2578
+ "name": "AiSuggestionsSearchChanged",
2579
+ "propertyTypeTokenRange": {
2580
+ "startIndex": 1,
2581
+ "endIndex": 3
2582
+ }
2583
+ },
2543
2584
  {
2544
2585
  "kind": "PropertySignature",
2545
2586
  "canonicalReference": "@empathyco/x-components!AiXEvents#AiSuggestionsSearchRequestUpdated:member",
@@ -25873,7 +25914,7 @@
25873
25914
  {
25874
25915
  "kind": "Variable",
25875
25916
  "canonicalReference": "@empathyco/x-components!fetchAndSaveAiSuggestionsSearch:var",
25876
- "docComment": "/**\n * Default implementation for the {@link AiActions.fetchAndSaveAiSuggestionsSearch}.\n *\n * @param _ - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the commits, provided by Vuex.\n *\n * @param request - The AI search request to make.\n *\n * @returns The AI search response.\n *\n * @public\n */\n",
25917
+ "docComment": "/**\n * Default implementation for the `AiActions.fetchAndSaveAiSuggestionsSearch`.\n *\n * @param _ - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the commits and getters provided by Vuex.\n *\n * @returns The AI search response.\n *\n * @public\n */\n",
25877
25918
  "excerptTokens": [
25878
25919
  {
25879
25920
  "kind": "Content",
@@ -30485,7 +30526,16 @@
30485
30526
  },
30486
30527
  {
30487
30528
  "kind": "Content",
30488
- "text": " | null | undefined;\n UserClickedAiOverviewExpandButton?: boolean | undefined;\n UserClickedAnAiOverviewResult?: import(\"@empathyco/x-types\")."
30529
+ "text": " | null | undefined;\n AiSuggestionsSearchChanged?: import(\"@empathyco/x-types\")."
30530
+ },
30531
+ {
30532
+ "kind": "Reference",
30533
+ "text": "AiSuggestionSearch",
30534
+ "canonicalReference": "@empathyco/x-components!AiSuggestionSearch:interface"
30535
+ },
30536
+ {
30537
+ "kind": "Content",
30538
+ "text": "[] | undefined;\n UserClickedAiOverviewExpandButton?: boolean | undefined;\n UserClickedAnAiOverviewResult?: import(\"@empathyco/x-types\")."
30489
30539
  },
30490
30540
  {
30491
30541
  "kind": "Reference",
@@ -30728,7 +30778,7 @@
30728
30778
  "name": "HierarchicalFilter",
30729
30779
  "variableTypeTokenRange": {
30730
30780
  "startIndex": 1,
30731
- "endIndex": 266
30781
+ "endIndex": 268
30732
30782
  }
30733
30783
  },
30734
30784
  {
@@ -66215,7 +66265,16 @@
66215
66265
  },
66216
66266
  {
66217
66267
  "kind": "Content",
66218
- "text": " | null | undefined;\n UserClickedAiOverviewExpandButton?: boolean | undefined;\n UserClickedAnAiOverviewResult?: import(\"@empathyco/x-types\")."
66268
+ "text": " | null | undefined;\n AiSuggestionsSearchChanged?: import(\"@empathyco/x-types\")."
66269
+ },
66270
+ {
66271
+ "kind": "Reference",
66272
+ "text": "AiSuggestionSearch",
66273
+ "canonicalReference": "@empathyco/x-components!AiSuggestionSearch:interface"
66274
+ },
66275
+ {
66276
+ "kind": "Content",
66277
+ "text": "[] | undefined;\n UserClickedAiOverviewExpandButton?: boolean | undefined;\n UserClickedAnAiOverviewResult?: import(\"@empathyco/x-types\")."
66219
66278
  },
66220
66279
  {
66221
66280
  "kind": "Reference",
@@ -66368,7 +66427,7 @@
66368
66427
  "name": "SimpleFilter",
66369
66428
  "variableTypeTokenRange": {
66370
66429
  "startIndex": 1,
66371
- "endIndex": 236
66430
+ "endIndex": 238
66372
66431
  }
66373
66432
  },
66374
66433
  {
@@ -69426,6 +69485,24 @@
69426
69485
  "text": "WireMetadata",
69427
69486
  "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
69428
69487
  },
69488
+ {
69489
+ "kind": "Content",
69490
+ "text": ") => unknown;\n AiSuggestionsSearchChanged: (payload: import(\"@empathyco/x-types\")."
69491
+ },
69492
+ {
69493
+ "kind": "Reference",
69494
+ "text": "AiSuggestionSearch",
69495
+ "canonicalReference": "@empathyco/x-components!AiSuggestionSearch:interface"
69496
+ },
69497
+ {
69498
+ "kind": "Content",
69499
+ "text": "[], metadata: "
69500
+ },
69501
+ {
69502
+ "kind": "Reference",
69503
+ "text": "WireMetadata",
69504
+ "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
69505
+ },
69429
69506
  {
69430
69507
  "kind": "Content",
69431
69508
  "text": ") => unknown;\n UserClickedAiOverviewExpandButton: (payload: boolean, metadata: "
@@ -69518,7 +69595,7 @@
69518
69595
  "name": "SnippetCallbacks",
69519
69596
  "variableTypeTokenRange": {
69520
69597
  "startIndex": 1,
69521
- "endIndex": 522
69598
+ "endIndex": 526
69522
69599
  }
69523
69600
  },
69524
69601
  {
@@ -73812,6 +73889,34 @@
73812
73889
  "endIndex": 3
73813
73890
  }
73814
73891
  },
73892
+ {
73893
+ "kind": "Variable",
73894
+ "canonicalReference": "@empathyco/x-components!trackAiSuggestionsSearchWire:var",
73895
+ "docComment": "/**\n * Tracks query tagging of the AI suggestions-search.\n *\n * @public\n */\n",
73896
+ "excerptTokens": [
73897
+ {
73898
+ "kind": "Content",
73899
+ "text": "trackAiSuggestionsSearchWire: "
73900
+ },
73901
+ {
73902
+ "kind": "Content",
73903
+ "text": "import(\"../../wiring/wiring.types\")."
73904
+ },
73905
+ {
73906
+ "kind": "Reference",
73907
+ "text": "AnyWire",
73908
+ "canonicalReference": "@empathyco/x-components!AnyWire:type"
73909
+ }
73910
+ ],
73911
+ "fileUrlPath": "src/x-modules/tagging/wiring.ts",
73912
+ "isReadonly": true,
73913
+ "releaseTag": "Public",
73914
+ "name": "trackAiSuggestionsSearchWire",
73915
+ "variableTypeTokenRange": {
73916
+ "startIndex": 1,
73917
+ "endIndex": 3
73918
+ }
73919
+ },
73815
73920
  {
73816
73921
  "kind": "Variable",
73817
73922
  "canonicalReference": "@empathyco/x-components!trackBannerClickedWire:var",
@@ -177,8 +177,7 @@ export type AiActionContext = XActionContext<AiState, AiGetters, AiMutations, Ai
177
177
  export interface AiActions {
178
178
  // Warning: (ae-forgotten-export) The symbol "AiSuggestionsRequest" needs to be exported by the entry point index.d.ts
179
179
  fetchAndSaveAiSuggestions: (request: AiSuggestionsRequest | null) => void;
180
- // Warning: (ae-forgotten-export) The symbol "AiSuggestionsSearchRequest" needs to be exported by the entry point index.d.ts
181
- fetchAndSaveAiSuggestionsSearch: (request: AiSuggestionsSearchRequest | null) => void;
180
+ fetchAndSaveAiSuggestionsSearch: (expanded: boolean) => void;
182
181
  saveOrigin: (originInit: QueryOriginInit) => void;
183
182
  setUrlParams: (urlParams: UrlParams) => void;
184
183
  }
@@ -191,6 +190,7 @@ export interface AiConfig {
191
190
  export const aiEmitters: {
192
191
  AiSuggestionsRequestUpdated: (_: AiState, getters: Returns<GettersTree<AiState, AiGetters>>) => AiSuggestionsRequest;
193
192
  AiSuggestionsSearchRequestUpdated: (_: AiState, getters: Returns<GettersTree<AiState, AiGetters>>) => AiSuggestionsSearchRequest | null;
193
+ AiSuggestionsSearchChanged: (state: AiState) => AiSuggestionSearch[];
194
194
  };
195
195
 
196
196
  // @public
@@ -214,7 +214,6 @@ export interface AiMutations extends ConfigMutations<AiState>, QueryMutations {
214
214
  // Warning: (ae-forgotten-export) The symbol "Filter" needs to be exported by the entry point index.d.ts
215
215
  setSelectedFilters: (selectedFilters: Filter[]) => void;
216
216
  setSuggestionsLoading: (value: boolean) => void;
217
- // Warning: (ae-forgotten-export) The symbol "AiSuggestionSearch" needs to be exported by the entry point index.d.ts
218
217
  setSuggestionsSearch: (suggestionsSearch: AiSuggestionSearch[]) => void;
219
218
  setSuggestionsSearchLoading: (value: boolean) => void;
220
219
  setSuggestionText: (suggestionText: string) => void;
@@ -225,28 +224,32 @@ export interface AiMutations extends ConfigMutations<AiState>, QueryMutations {
225
224
  // @public (undocumented)
226
225
  export const AiOverview: DefineComponent< {
227
226
  title: {
228
- type: PropType<string>;
227
+ type: StringConstructor;
229
228
  };
230
229
  titleLoading: {
231
- type: PropType<string>;
230
+ type: StringConstructor;
232
231
  default: string;
233
232
  };
234
233
  expandText: {
235
- type: PropType<string>;
234
+ type: StringConstructor;
236
235
  default: string;
237
236
  };
238
237
  collapseText: {
239
- type: PropType<string>;
238
+ type: StringConstructor;
240
239
  default: string;
241
240
  };
241
+ autoExpandInSearchNoResults: {
242
+ type: BooleanConstructor;
243
+ default: boolean;
244
+ };
242
245
  slidingPanelsClasses: {
243
- type: PropType<string>;
246
+ type: StringConstructor;
244
247
  };
245
248
  slidingPanelContainersClasses: {
246
- type: PropType<string>;
249
+ type: StringConstructor;
247
250
  };
248
251
  slidingPanelButtonsClasses: {
249
- type: PropType<string>;
252
+ type: StringConstructor;
250
253
  };
251
254
  }, {
252
255
  aiOverviewRef: Ref<HTMLDivElement | null>;
@@ -257,8 +260,7 @@ responseText: ComputedRef<string>;
257
260
  suggestionsLoading: ComputedRef<boolean>;
258
261
  suggestionsSearch: ComputedRef<AiSuggestionSearch[]>;
259
262
  suggestionText: ComputedRef<string>;
260
- setExpanded: (newValue: boolean) => void;
261
- onExpandButtonClick: (newValue: boolean) => void;
263
+ emitAndSetExpand: (isExpanded: boolean) => void;
262
264
  shouldAnimateSuggestion: Ref<boolean>;
263
265
  query: ComputedRef<string>;
264
266
  tagging: ComputedRef<AiSuggestionTagging | undefined>;
@@ -266,33 +268,38 @@ isNoResults: ComputedRef<boolean>;
266
268
  queries: ComputedRef<AiSuggestionQuery[]>;
267
269
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
268
270
  title: {
269
- type: PropType<string>;
271
+ type: StringConstructor;
270
272
  };
271
273
  titleLoading: {
272
- type: PropType<string>;
274
+ type: StringConstructor;
273
275
  default: string;
274
276
  };
275
277
  expandText: {
276
- type: PropType<string>;
278
+ type: StringConstructor;
277
279
  default: string;
278
280
  };
279
281
  collapseText: {
280
- type: PropType<string>;
282
+ type: StringConstructor;
281
283
  default: string;
282
284
  };
285
+ autoExpandInSearchNoResults: {
286
+ type: BooleanConstructor;
287
+ default: boolean;
288
+ };
283
289
  slidingPanelsClasses: {
284
- type: PropType<string>;
290
+ type: StringConstructor;
285
291
  };
286
292
  slidingPanelContainersClasses: {
287
- type: PropType<string>;
293
+ type: StringConstructor;
288
294
  };
289
295
  slidingPanelButtonsClasses: {
290
- type: PropType<string>;
296
+ type: StringConstructor;
291
297
  };
292
298
  }>>, {
293
299
  titleLoading: string;
294
300
  expandText: string;
295
301
  collapseText: string;
302
+ autoExpandInSearchNoResults: boolean;
296
303
  }, {}>;
297
304
 
298
305
  // @public
@@ -348,8 +355,8 @@ export const aiWiring: {
348
355
  resetAiStateWire: AnyWire;
349
356
  fetchAndSaveAiSuggestionsWire: Wire<AiSuggestionsRequest | null>;
350
357
  };
351
- AiSuggestionsSearchRequestUpdated: {
352
- fetchAndSaveAiSuggestionsSearchWire: Wire<AiSuggestionsSearchRequest | null>;
358
+ UserClickedAiOverviewExpandButton: {
359
+ fetchAndSaveAiSuggestionsSearchWire: Wire<boolean>;
353
360
  };
354
361
  SelectedRelatedTagsChanged: {
355
362
  setAiRelatedTagsWire: Wire<RelatedTag_2[]>;
@@ -369,6 +376,8 @@ export interface AiXEvents {
369
376
  // (undocumented)
370
377
  AiSuggestionsRequestUpdated: AiSuggestionsRequest | null;
371
378
  // (undocumented)
379
+ AiSuggestionsSearchChanged: AiSuggestionSearch[];
380
+ // (undocumented)
372
381
  AiSuggestionsSearchRequestUpdated: AiSuggestionsSearchRequest | null;
373
382
  // (undocumented)
374
383
  UserClickedAiOverviewExpandButton: boolean;
@@ -3575,6 +3584,7 @@ RelatedPromptsUnmounted?: void | undefined;
3575
3584
  ReloadRelatedPromptsRequested?: void | undefined;
3576
3585
  AiSuggestionsRequestUpdated?: AiSuggestionsRequest | null | undefined;
3577
3586
  AiSuggestionsSearchRequestUpdated?: AiSuggestionsSearchRequest | null | undefined;
3587
+ AiSuggestionsSearchChanged?: AiSuggestionSearch[] | undefined;
3578
3588
  UserClickedAiOverviewExpandButton?: boolean | undefined;
3579
3589
  UserClickedAnAiOverviewResult?: Result | undefined;
3580
3590
  AiOverviewMounted?: void | undefined;
@@ -7558,6 +7568,7 @@ RelatedPromptsUnmounted?: void | undefined;
7558
7568
  ReloadRelatedPromptsRequested?: void | undefined;
7559
7569
  AiSuggestionsRequestUpdated?: AiSuggestionsRequest | null | undefined;
7560
7570
  AiSuggestionsSearchRequestUpdated?: AiSuggestionsSearchRequest | null | undefined;
7571
+ AiSuggestionsSearchChanged?: AiSuggestionSearch[] | undefined;
7561
7572
  UserClickedAiOverviewExpandButton?: boolean | undefined;
7562
7573
  UserClickedAnAiOverviewResult?: Result | undefined;
7563
7574
  AiOverviewMounted?: void | undefined;
@@ -7892,6 +7903,7 @@ RelatedPromptsUnmounted: (payload: undefined, metadata: WireMetadata) => unknown
7892
7903
  ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
7893
7904
  AiSuggestionsRequestUpdated: (payload: AiSuggestionsRequest | null, metadata: WireMetadata) => unknown;
7894
7905
  AiSuggestionsSearchRequestUpdated: (payload: AiSuggestionsSearchRequest | null, metadata: WireMetadata) => unknown;
7906
+ AiSuggestionsSearchChanged: (payload: AiSuggestionSearch[], metadata: WireMetadata) => unknown;
7895
7907
  UserClickedAiOverviewExpandButton: (payload: boolean, metadata: WireMetadata) => unknown;
7896
7908
  UserClickedAnAiOverviewResult: (payload: Result, metadata: WireMetadata) => unknown;
7897
7909
  AiOverviewMounted: (payload: undefined, metadata: WireMetadata) => unknown;
@@ -8314,6 +8326,9 @@ export const taggingWiring: {
8314
8326
  UserSelectedARelatedPrompt: {
8315
8327
  trackRelatedPromptToolingDisplayClickWire: Wire<any>;
8316
8328
  };
8329
+ AiSuggestionsSearchChanged: {
8330
+ trackAiSuggestionsSearchWire: AnyWire;
8331
+ };
8317
8332
  UserClickedAiOverviewExpandButton: {
8318
8333
  trackAiOverviewButtonClickedWire: Wire<any>;
8319
8334
  };
@@ -8400,6 +8415,9 @@ export const trackAddToCartWire: Wire<Taggable>;
8400
8415
  // @public
8401
8416
  export const trackAiOverviewButtonClickedWire: Wire<any>;
8402
8417
 
8418
+ // @public
8419
+ export const trackAiSuggestionsSearchWire: AnyWire;
8420
+
8403
8421
  // @public
8404
8422
  export const trackBannerClickedWire: Wire<Taggable>;
8405
8423
 
@@ -9290,7 +9308,7 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9290
9308
  // dist/types/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
9291
9309
  // 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
9292
9310
  // 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
9293
- // dist/types/x-modules/ai/components/ai-overview.vue.d.ts:66:5 - (ae-forgotten-export) The symbol "TaggingRequest" needs to be exported by the entry point index.d.ts
9311
+ // dist/types/x-modules/ai/components/ai-overview.vue.d.ts:34:5 - (ae-forgotten-export) The symbol "TaggingRequest" needs to be exported by the entry point index.d.ts
9294
9312
  // dist/types/x-modules/device/components/device-detector.vue.d.ts:21:9 - (ae-forgotten-export) The symbol "Device" needs to be exported by the entry point index.d.ts
9295
9313
  // dist/types/x-modules/device/components/device-detector.vue.d.ts:21:9 - (ae-forgotten-export) The symbol "MaxWidth" needs to be exported by the entry point index.d.ts
9296
9314
  // 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
@@ -9308,6 +9326,8 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
9308
9326
  // dist/types/x-modules/search/components/partial-results-list.vue.d.ts:27:5 - (ae-forgotten-export) The symbol "PartialResult" needs to be exported by the entry point index.d.ts
9309
9327
  // dist/types/x-modules/search/components/sort-list.vue.d.ts:30:5 - (ae-forgotten-export) The symbol "SortListItem" needs to be exported by the entry point index.d.ts
9310
9328
  // dist/types/x-modules/search/components/sort-picker-list.vue.d.ts:32:5 - (ae-forgotten-export) The symbol "SortPickerItem" needs to be exported by the entry point index.d.ts
9329
+ // 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
9330
+ // src/x-modules/ai/store/emitters.ts:9:24 - (ae-forgotten-export) The symbol "AiSuggestionSearch" needs to be exported by the entry point index.d.ts
9311
9331
  // src/x-modules/search/store/module.ts:148:32 - (ae-forgotten-export) The symbol "Stats" needs to be exported by the entry point index.d.ts
9312
9332
  // 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
9313
9333
  // 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
package/tagging/index.js CHANGED
@@ -3,5 +3,5 @@ export { DefaultExternalTaggingService } from '../js/x-modules/tagging/service/e
3
3
  export { track } from '../js/x-modules/tagging/store/actions/track.action.js';
4
4
  export { taggingEmitters } from '../js/x-modules/tagging/store/emitters.js';
5
5
  export { taggingXStoreModule } from '../js/x-modules/tagging/store/module.js';
6
- export { createSetQueryTaggingFromQueryPreview, createTrackDisplayWire, createTrackRelatedPromptToolingDisplayClickWire, createTrackToolingAdd2CartWire, createTrackToolingDisplayWire, createTrackWire, setConsent, setNoResultsTaggingEnabledWire, setQueryTaggingFromQueryPreview, setQueryTaggingInfo, setTaggingConfig, taggingWiring, trackAddToCartWire, trackAiOverviewButtonClickedWire, trackBannerClickedWire, trackDisplayClickedWire, trackElementDisplayedWire, trackNoResultsQueryWithFallbackWire, trackNoResultsQueryWithFallbackWireDebounced, trackNoResultsQueryWithSemanticsWire, trackNoResultsQueryWithSemanticsWireDebounced, trackPromotedClickedWire, trackQueryWire, trackRelatedPromptToolingDisplayClickWire, trackResultClickedWire, trackToolingAdd2CartWire, trackToolingDisplayClickedWire } from '../js/x-modules/tagging/wiring.js';
6
+ export { createSetQueryTaggingFromQueryPreview, createTrackDisplayWire, createTrackRelatedPromptToolingDisplayClickWire, createTrackToolingAdd2CartWire, createTrackToolingDisplayWire, createTrackWire, setConsent, setNoResultsTaggingEnabledWire, setQueryTaggingFromQueryPreview, setQueryTaggingInfo, setTaggingConfig, taggingWiring, trackAddToCartWire, trackAiOverviewButtonClickedWire, trackAiSuggestionsSearchWire, trackBannerClickedWire, trackDisplayClickedWire, trackElementDisplayedWire, trackNoResultsQueryWithFallbackWire, trackNoResultsQueryWithFallbackWireDebounced, trackNoResultsQueryWithSemanticsWire, trackNoResultsQueryWithSemanticsWireDebounced, trackPromotedClickedWire, trackQueryWire, trackRelatedPromptToolingDisplayClickWire, trackResultClickedWire, trackToolingAdd2CartWire, trackToolingDisplayClickedWire } from '../js/x-modules/tagging/wiring.js';
7
7
  export { taggingXModule } from '../js/x-modules/tagging/x-module.js';
@@ -178,6 +178,7 @@ declare const _default: import("vue").DefineComponent<{}, {
178
178
  ReloadRelatedPromptsRequested: (payload: undefined, metadata: WireMetadata) => unknown;
179
179
  AiSuggestionsRequestUpdated: (payload: import("@empathyco/x-types").AiSuggestionsRequest | null, metadata: WireMetadata) => unknown;
180
180
  AiSuggestionsSearchRequestUpdated: (payload: import("@empathyco/x-types").AiSuggestionsSearchRequest | null, metadata: WireMetadata) => unknown;
181
+ AiSuggestionsSearchChanged: (payload: import("@empathyco/x-types").AiSuggestionSearch[], metadata: WireMetadata) => unknown;
181
182
  UserClickedAiOverviewExpandButton: (payload: boolean, metadata: WireMetadata) => unknown;
182
183
  UserClickedAnAiOverviewResult: (payload: import("@empathyco/x-types").Result, metadata: WireMetadata) => unknown;
183
184
  AiOverviewMounted: (payload: undefined, metadata: WireMetadata) => unknown;
@@ -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"}