@empathyco/x-components 3.0.0-alpha.54 → 3.0.0-alpha.58
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.
- package/CHANGELOG.md +48 -0
- package/design-system/default-theme.css +128 -128
- package/docs/API-reference/api/x-adapter.beacontrackingrequestor._constructor_.md +13 -0
- package/docs/API-reference/api/x-adapter.beacontrackingrequestor.md +8 -2
- package/docs/API-reference/api/x-adapter.beacontrackingrequestor.request.md +2 -2
- package/docs/API-reference/api/x-components.debounce.md +4 -0
- package/docs/API-reference/api/x-components.xcomponentaliasapi.md +1 -0
- package/docs/API-reference/api/x-components.xcomponentaliasapi.scroll.md +13 -0
- package/js/components/decorators/debounce.decorators.js +10 -0
- package/js/components/decorators/debounce.decorators.js.map +1 -1
- package/js/plugins/x-plugin.alias.js +3 -0
- package/js/plugins/x-plugin.alias.js.map +1 -1
- package/package.json +4 -3
- package/report/x-adapter.api.json +36 -4
- package/report/x-components.api.json +41 -1
- package/report/x-components.api.md +1 -0
- package/types/components/decorators/debounce.decorators.d.ts +2 -0
- package/types/components/decorators/debounce.decorators.d.ts.map +1 -1
- package/types/plugins/x-plugin.alias.d.ts.map +1 -1
- package/types/plugins/x-plugin.types.d.ts +3 -0
- package/types/plugins/x-plugin.types.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.58](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.57...@empathyco/x-components@3.0.0-alpha.58) (2022-02-16)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **scroll:** add scroll data state to the alias API
|
|
11
|
+
([7f5642c](https://github.com/empathyco/x/commit/7f5642cf5e60fe96a22c8fe9897c9ba73cbede55)),
|
|
12
|
+
closes [EX-5249](https://searchbroker.atlassian.net/browse/EX-5249)
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
19
|
+
## [3.0.0-alpha.57](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.56...@empathyco/x-components@3.0.0-alpha.57) (2022-02-16)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **build:** Fix build side effects to include css.
|
|
24
|
+
([f79d7b9](https://github.com/empathyco/x/commit/f79d7b9e738485e14ac8f88b343a97d8f55c51e6)),
|
|
25
|
+
closes [EX-5396](https://searchbroker.atlassian.net/browse/EX-5396)
|
|
26
|
+
|
|
27
|
+
# Change Log
|
|
28
|
+
|
|
29
|
+
All notable changes to this project will be documented in this file. See
|
|
30
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
31
|
+
|
|
32
|
+
## [3.0.0-alpha.56](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.55...@empathyco/x-components@3.0.0-alpha.56) (2022-02-15)
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **decorators:** pending `debounced` execution is cancelled when the component is destroyed
|
|
37
|
+
([27da789](https://github.com/empathyco/x/commit/27da789412804f3f768d07e8ffd846ea2df8553e)),
|
|
38
|
+
closes [EX-5215](https://searchbroker.atlassian.net/browse/EX-5215)
|
|
39
|
+
|
|
40
|
+
# Change Log
|
|
41
|
+
|
|
42
|
+
All notable changes to this project will be documented in this file. See
|
|
43
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
44
|
+
|
|
45
|
+
## [3.0.0-alpha.55](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.54...@empathyco/x-components@3.0.0-alpha.55) (2022-02-10)
|
|
46
|
+
|
|
47
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
48
|
+
|
|
49
|
+
# Change Log
|
|
50
|
+
|
|
51
|
+
All notable changes to this project will be documented in this file. See
|
|
52
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
53
|
+
|
|
6
54
|
## [3.0.0-alpha.54](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.53...@empathyco/x-components@3.0.0-alpha.54) (2022-02-09)
|
|
7
55
|
|
|
8
56
|
### ⚠ BREAKING CHANGES
|
|
@@ -1877,134 +1877,6 @@
|
|
|
1877
1877
|
--x-size-span-row-item: 1;
|
|
1878
1878
|
--x-size-start-row-item: 0;
|
|
1879
1879
|
}
|
|
1880
|
-
|
|
1881
|
-
.x-row {
|
|
1882
|
-
display: grid;
|
|
1883
|
-
grid-template-columns: repeat(12, 1fr);
|
|
1884
|
-
grid-template-rows: 1fr;
|
|
1885
|
-
justify-items: var(--x-size-justify-row);
|
|
1886
|
-
align-items: var(--x-size-align-row);
|
|
1887
|
-
padding: var(--x-size-padding-row);
|
|
1888
|
-
gap: var(--x-size-gap-row);
|
|
1889
|
-
margin: 0;
|
|
1890
|
-
}
|
|
1891
|
-
.x-row__item {
|
|
1892
|
-
grid-column-start: var(--x-size-start-row-item);
|
|
1893
|
-
grid-column-end: span var(--x-size-span-row-item);
|
|
1894
|
-
list-style: none;
|
|
1895
|
-
}
|
|
1896
|
-
.x-row__item--span-1 {
|
|
1897
|
-
--x-size-span-row-item: 1;
|
|
1898
|
-
}
|
|
1899
|
-
.x-row__item--span-2 {
|
|
1900
|
-
--x-size-span-row-item: 2;
|
|
1901
|
-
}
|
|
1902
|
-
.x-row__item--span-3 {
|
|
1903
|
-
--x-size-span-row-item: 3;
|
|
1904
|
-
}
|
|
1905
|
-
.x-row__item--span-4 {
|
|
1906
|
-
--x-size-span-row-item: 4;
|
|
1907
|
-
}
|
|
1908
|
-
.x-row__item--span-5 {
|
|
1909
|
-
--x-size-span-row-item: 5;
|
|
1910
|
-
}
|
|
1911
|
-
.x-row__item--span-6 {
|
|
1912
|
-
--x-size-span-row-item: 6;
|
|
1913
|
-
}
|
|
1914
|
-
.x-row__item--span-7 {
|
|
1915
|
-
--x-size-span-row-item: 7;
|
|
1916
|
-
}
|
|
1917
|
-
.x-row__item--span-8 {
|
|
1918
|
-
--x-size-span-row-item: 8;
|
|
1919
|
-
}
|
|
1920
|
-
.x-row__item--span-9 {
|
|
1921
|
-
--x-size-span-row-item: 9;
|
|
1922
|
-
}
|
|
1923
|
-
.x-row__item--span-10 {
|
|
1924
|
-
--x-size-span-row-item: 10;
|
|
1925
|
-
}
|
|
1926
|
-
.x-row__item--span-11 {
|
|
1927
|
-
--x-size-span-row-item: 11;
|
|
1928
|
-
}
|
|
1929
|
-
.x-row__item--span-12 {
|
|
1930
|
-
--x-size-span-row-item: 12;
|
|
1931
|
-
}
|
|
1932
|
-
.x-row__item--start-1 {
|
|
1933
|
-
--x-size-start-row-item: 1;
|
|
1934
|
-
}
|
|
1935
|
-
.x-row__item--start-2 {
|
|
1936
|
-
--x-size-start-row-item: 2;
|
|
1937
|
-
}
|
|
1938
|
-
.x-row__item--start-3 {
|
|
1939
|
-
--x-size-start-row-item: 3;
|
|
1940
|
-
}
|
|
1941
|
-
.x-row__item--start-4 {
|
|
1942
|
-
--x-size-start-row-item: 4;
|
|
1943
|
-
}
|
|
1944
|
-
.x-row__item--start-5 {
|
|
1945
|
-
--x-size-start-row-item: 5;
|
|
1946
|
-
}
|
|
1947
|
-
.x-row__item--start-6 {
|
|
1948
|
-
--x-size-start-row-item: 6;
|
|
1949
|
-
}
|
|
1950
|
-
.x-row__item--start-7 {
|
|
1951
|
-
--x-size-start-row-item: 7;
|
|
1952
|
-
}
|
|
1953
|
-
.x-row__item--start-8 {
|
|
1954
|
-
--x-size-start-row-item: 8;
|
|
1955
|
-
}
|
|
1956
|
-
.x-row__item--start-9 {
|
|
1957
|
-
--x-size-start-row-item: 9;
|
|
1958
|
-
}
|
|
1959
|
-
.x-row__item--start-10 {
|
|
1960
|
-
--x-size-start-row-item: 10;
|
|
1961
|
-
}
|
|
1962
|
-
.x-row__item--start-11 {
|
|
1963
|
-
--x-size-start-row-item: 11;
|
|
1964
|
-
}
|
|
1965
|
-
.x-row__item--start-12 {
|
|
1966
|
-
--x-size-start-row-item: 12;
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
.x-row--justify-start {
|
|
1970
|
-
--x-size-justify-row: start;
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
.x-row--align-start {
|
|
1974
|
-
--x-size-align-row: start;
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
.x-row--justify-center {
|
|
1978
|
-
--x-size-justify-row: center;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
.x-row--align-center {
|
|
1982
|
-
--x-size-align-row: center;
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
.x-row--justify-end {
|
|
1986
|
-
--x-size-justify-row: end;
|
|
1987
|
-
}
|
|
1988
|
-
|
|
1989
|
-
.x-row--align-end {
|
|
1990
|
-
--x-size-align-row: end;
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
.x-row--justify-stretch {
|
|
1994
|
-
--x-size-justify-row: stretch;
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
.x-row--align-stretch {
|
|
1998
|
-
--x-size-align-row: stretch;
|
|
1999
|
-
}
|
|
2000
|
-
:root {
|
|
2001
|
-
--x-size-gap-row: 0;
|
|
2002
|
-
--x-size-padding-row: 0;
|
|
2003
|
-
--x-size-justify-row: stretch;
|
|
2004
|
-
--x-size-align-row: center;
|
|
2005
|
-
--x-size-span-row-item: 1;
|
|
2006
|
-
--x-size-start-row-item: 0;
|
|
2007
|
-
}
|
|
2008
1880
|
:root {
|
|
2009
1881
|
--x-string-overflow-scroll: auto;
|
|
2010
1882
|
--x-color-background-scroll-bar: transparent;
|
|
@@ -2826,4 +2698,132 @@
|
|
|
2826
2698
|
--x-size-line-height-base-s: 16px;
|
|
2827
2699
|
--x-size-line-height-base-m: 24px;
|
|
2828
2700
|
--x-size-line-height-base-l: 32px;
|
|
2701
|
+
}
|
|
2702
|
+
:root {
|
|
2703
|
+
--x-size-gap-row: 0;
|
|
2704
|
+
--x-size-padding-row: 0;
|
|
2705
|
+
--x-size-justify-row: stretch;
|
|
2706
|
+
--x-size-align-row: center;
|
|
2707
|
+
--x-size-span-row-item: 1;
|
|
2708
|
+
--x-size-start-row-item: 0;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
.x-row {
|
|
2712
|
+
display: grid;
|
|
2713
|
+
grid-template-columns: repeat(12, 1fr);
|
|
2714
|
+
grid-template-rows: 1fr;
|
|
2715
|
+
justify-items: var(--x-size-justify-row);
|
|
2716
|
+
align-items: var(--x-size-align-row);
|
|
2717
|
+
padding: var(--x-size-padding-row);
|
|
2718
|
+
gap: var(--x-size-gap-row);
|
|
2719
|
+
margin: 0;
|
|
2720
|
+
}
|
|
2721
|
+
.x-row__item {
|
|
2722
|
+
grid-column-start: var(--x-size-start-row-item);
|
|
2723
|
+
grid-column-end: span var(--x-size-span-row-item);
|
|
2724
|
+
list-style: none;
|
|
2725
|
+
}
|
|
2726
|
+
.x-row__item--span-1 {
|
|
2727
|
+
--x-size-span-row-item: 1;
|
|
2728
|
+
}
|
|
2729
|
+
.x-row__item--span-2 {
|
|
2730
|
+
--x-size-span-row-item: 2;
|
|
2731
|
+
}
|
|
2732
|
+
.x-row__item--span-3 {
|
|
2733
|
+
--x-size-span-row-item: 3;
|
|
2734
|
+
}
|
|
2735
|
+
.x-row__item--span-4 {
|
|
2736
|
+
--x-size-span-row-item: 4;
|
|
2737
|
+
}
|
|
2738
|
+
.x-row__item--span-5 {
|
|
2739
|
+
--x-size-span-row-item: 5;
|
|
2740
|
+
}
|
|
2741
|
+
.x-row__item--span-6 {
|
|
2742
|
+
--x-size-span-row-item: 6;
|
|
2743
|
+
}
|
|
2744
|
+
.x-row__item--span-7 {
|
|
2745
|
+
--x-size-span-row-item: 7;
|
|
2746
|
+
}
|
|
2747
|
+
.x-row__item--span-8 {
|
|
2748
|
+
--x-size-span-row-item: 8;
|
|
2749
|
+
}
|
|
2750
|
+
.x-row__item--span-9 {
|
|
2751
|
+
--x-size-span-row-item: 9;
|
|
2752
|
+
}
|
|
2753
|
+
.x-row__item--span-10 {
|
|
2754
|
+
--x-size-span-row-item: 10;
|
|
2755
|
+
}
|
|
2756
|
+
.x-row__item--span-11 {
|
|
2757
|
+
--x-size-span-row-item: 11;
|
|
2758
|
+
}
|
|
2759
|
+
.x-row__item--span-12 {
|
|
2760
|
+
--x-size-span-row-item: 12;
|
|
2761
|
+
}
|
|
2762
|
+
.x-row__item--start-1 {
|
|
2763
|
+
--x-size-start-row-item: 1;
|
|
2764
|
+
}
|
|
2765
|
+
.x-row__item--start-2 {
|
|
2766
|
+
--x-size-start-row-item: 2;
|
|
2767
|
+
}
|
|
2768
|
+
.x-row__item--start-3 {
|
|
2769
|
+
--x-size-start-row-item: 3;
|
|
2770
|
+
}
|
|
2771
|
+
.x-row__item--start-4 {
|
|
2772
|
+
--x-size-start-row-item: 4;
|
|
2773
|
+
}
|
|
2774
|
+
.x-row__item--start-5 {
|
|
2775
|
+
--x-size-start-row-item: 5;
|
|
2776
|
+
}
|
|
2777
|
+
.x-row__item--start-6 {
|
|
2778
|
+
--x-size-start-row-item: 6;
|
|
2779
|
+
}
|
|
2780
|
+
.x-row__item--start-7 {
|
|
2781
|
+
--x-size-start-row-item: 7;
|
|
2782
|
+
}
|
|
2783
|
+
.x-row__item--start-8 {
|
|
2784
|
+
--x-size-start-row-item: 8;
|
|
2785
|
+
}
|
|
2786
|
+
.x-row__item--start-9 {
|
|
2787
|
+
--x-size-start-row-item: 9;
|
|
2788
|
+
}
|
|
2789
|
+
.x-row__item--start-10 {
|
|
2790
|
+
--x-size-start-row-item: 10;
|
|
2791
|
+
}
|
|
2792
|
+
.x-row__item--start-11 {
|
|
2793
|
+
--x-size-start-row-item: 11;
|
|
2794
|
+
}
|
|
2795
|
+
.x-row__item--start-12 {
|
|
2796
|
+
--x-size-start-row-item: 12;
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
.x-row--justify-start {
|
|
2800
|
+
--x-size-justify-row: start;
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
.x-row--align-start {
|
|
2804
|
+
--x-size-align-row: start;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
.x-row--justify-center {
|
|
2808
|
+
--x-size-justify-row: center;
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
.x-row--align-center {
|
|
2812
|
+
--x-size-align-row: center;
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
.x-row--justify-end {
|
|
2816
|
+
--x-size-justify-row: end;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
.x-row--align-end {
|
|
2820
|
+
--x-size-align-row: end;
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
.x-row--justify-stretch {
|
|
2824
|
+
--x-size-justify-row: stretch;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
.x-row--align-stretch {
|
|
2828
|
+
--x-size-align-row: stretch;
|
|
2829
2829
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter](./x-adapter.md) > [BeaconTrackingRequestor](./x-adapter.beacontrackingrequestor.md) > [(constructor)](./x-adapter.beacontrackingrequestor._constructor_.md)
|
|
4
|
+
|
|
5
|
+
## BeaconTrackingRequestor.(constructor)
|
|
6
|
+
|
|
7
|
+
Constructs a new instance of the `BeaconTrackingRequestor` class
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
constructor();
|
|
13
|
+
```
|
|
@@ -9,9 +9,15 @@ TODO https://searchbroker.atlassian.net/browse/EX-2163
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare class BeaconTrackingRequestor implements Requestor<TrackingRequest, void>
|
|
12
|
+
export declare class BeaconTrackingRequestor implements Requestor<TrackingRequest, Response | void>
|
|
13
13
|
```
|
|
14
|
-
<b>Implements:</b> [Requestor](./x-adapter.requestor.md)<!-- --><[TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->, void>
|
|
14
|
+
<b>Implements:</b> [Requestor](./x-adapter.requestor.md)<!-- --><[TrackingRequest](./x-adapter.trackingrequest.md)<!-- -->, Response \| void>
|
|
15
|
+
|
|
16
|
+
## Constructors
|
|
17
|
+
|
|
18
|
+
| Constructor | Modifiers | Description |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| [(constructor)()](./x-adapter.beacontrackingrequestor._constructor_.md) | | Constructs a new instance of the <code>BeaconTrackingRequestor</code> class |
|
|
15
21
|
|
|
16
22
|
## Methods
|
|
17
23
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
request(trackingRequest: TrackingRequest): Promise<void>;
|
|
10
|
+
request(trackingRequest: TrackingRequest): Promise<Response | void>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -18,5 +18,5 @@ request(trackingRequest: TrackingRequest): Promise<void>;
|
|
|
18
18
|
|
|
19
19
|
<b>Returns:</b>
|
|
20
20
|
|
|
21
|
-
Promise<void>
|
|
21
|
+
Promise<Response \| void>
|
|
22
22
|
|
|
@@ -30,6 +30,7 @@ export interface XComponentAliasAPI
|
|
|
30
30
|
| [recommendations](./x-components.xcomponentaliasapi.recommendations.md) | ReadonlyArray<Result> | The [RecommendationsXModule](./x-components.recommendationsxmodule.md) recommendations. |
|
|
31
31
|
| [redirections](./x-components.xcomponentaliasapi.redirections.md) | ReadonlyArray<Redirection> | The [SearchXModule](./x-components.searchxmodule.md) redirections. |
|
|
32
32
|
| [relatedTags](./x-components.xcomponentaliasapi.relatedtags.md) | ReadonlyArray<RelatedTag> | The [RelatedTagsXModule](./x-components.relatedtagsxmodule.md) related tags (Both selected and deselected). |
|
|
33
|
+
| [scroll](./x-components.xcomponentaliasapi.scroll.md) | Record<string, [ScrollComponentState](./x-components.scrollcomponentstate.md)<!-- -->> | The [ScrollXModule](./x-components.scrollxmodule.md) data state. |
|
|
33
34
|
| [selectedFilters](./x-components.xcomponentaliasapi.selectedfilters.md) | Filter\[\] | The [FacetsXModule](./x-components.facetsxmodule.md) selected filters. |
|
|
34
35
|
| [selectedRelatedTags](./x-components.xcomponentaliasapi.selectedrelatedtags.md) | ReadonlyArray<RelatedTag> | The [RelatedTagsXModule](./x-components.relatedtagsxmodule.md) selected related tags. |
|
|
35
36
|
| [selectedSort](./x-components.xcomponentaliasapi.selectedsort.md) | string | The [SearchXModule](./x-components.searchxmodule.md) selected sort. |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [XComponentAliasAPI](./x-components.xcomponentaliasapi.md) > [scroll](./x-components.xcomponentaliasapi.scroll.md)
|
|
4
|
+
|
|
5
|
+
## XComponentAliasAPI.scroll property
|
|
6
|
+
|
|
7
|
+
The [ScrollXModule](./x-components.scrollxmodule.md) data state.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
readonly scroll: Record<string, ScrollComponentState>;
|
|
13
|
+
```
|
|
@@ -4,6 +4,8 @@ import { debounce } from '../../utils/debounce.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Adds debounce to the method that the decorator is applied to.
|
|
6
6
|
*
|
|
7
|
+
* @remarks Pending debounced execution is cancelled when the component is destroyed.
|
|
8
|
+
*
|
|
7
9
|
* @param debounceTimeInMs - The time of debounce in ms.
|
|
8
10
|
* @param debounceOptions - The options for the debounce strategy.
|
|
9
11
|
*
|
|
@@ -18,6 +20,14 @@ function Debounce(debounceTimeInMs, debounceOptions = {}) {
|
|
|
18
20
|
options.methods[key] = function debouncedWrapper(...args) {
|
|
19
21
|
debouncedMethod(this, args);
|
|
20
22
|
};
|
|
23
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
24
|
+
const originalBeforeDestroy = options.beforeDestroy;
|
|
25
|
+
Object.assign(options, {
|
|
26
|
+
beforeDestroy() {
|
|
27
|
+
originalBeforeDestroy?.apply(this);
|
|
28
|
+
debouncedMethod.cancel();
|
|
29
|
+
}
|
|
30
|
+
});
|
|
21
31
|
});
|
|
22
32
|
}
|
|
23
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.decorators.js","sources":["../../../../src/components/decorators/debounce.decorators.ts"],"sourcesContent":["import { createDecorator } from 'vue-class-component';\nimport { debounce } from '../../utils/debounce';\nimport { AnyFunction, DebounceOptions, DecoratorFor } from '../../utils/types';\n\n/**\n * Adds debounce to the method that the decorator is applied to.\n *\n * @param debounceTimeInMs - The time of debounce in ms.\n * @param debounceOptions - The options for the debounce strategy.\n *\n * @returns Decorator that applies debounce.\n *\n * @public\n */\nexport function Debounce(\n debounceTimeInMs: number,\n debounceOptions: DebounceOptions = {}\n): DecoratorFor<AnyFunction> {\n return createDecorator((options, key) => {\n const originalMethod = options.methods![key];\n const debouncedMethod = debounce(\n (context: Vue, args: unknown[]) => originalMethod.call(context, ...args),\n debounceTimeInMs,\n debounceOptions\n );\n\n options.methods![key] = function debouncedWrapper(...args: unknown[]) {\n debouncedMethod(this, args);\n };\n });\n}\n"],"names":[],"mappings":";;;AAIA
|
|
1
|
+
{"version":3,"file":"debounce.decorators.js","sources":["../../../../src/components/decorators/debounce.decorators.ts"],"sourcesContent":["import { createDecorator } from 'vue-class-component';\nimport { debounce } from '../../utils/debounce';\nimport { AnyFunction, DebounceOptions, DecoratorFor } from '../../utils/types';\n\n/**\n * Adds debounce to the method that the decorator is applied to.\n *\n * @remarks Pending debounced execution is cancelled when the component is destroyed.\n *\n * @param debounceTimeInMs - The time of debounce in ms.\n * @param debounceOptions - The options for the debounce strategy.\n *\n * @returns Decorator that applies debounce.\n *\n * @public\n */\nexport function Debounce(\n debounceTimeInMs: number,\n debounceOptions: DebounceOptions = {}\n): DecoratorFor<AnyFunction> {\n return createDecorator((options, key) => {\n const originalMethod = options.methods![key];\n const debouncedMethod = debounce(\n (context: Vue, args: unknown[]) => originalMethod.call(context, ...args),\n debounceTimeInMs,\n debounceOptions\n );\n\n options.methods![key] = function debouncedWrapper(...args: unknown[]) {\n debouncedMethod(this, args);\n };\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const originalBeforeDestroy = options.beforeDestroy;\n Object.assign(options, {\n beforeDestroy(this: Vue) {\n originalBeforeDestroy?.apply(this);\n debouncedMethod.cancel();\n }\n });\n });\n}\n"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;SAYgB,QAAQ,CACtB,gBAAwB,EACxB,kBAAmC,EAAE;IAErC,OAAO,eAAe,CAAC,CAAC,OAAO,EAAE,GAAG;QAClC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAQ,CAAC,GAAG,CAAC,CAAC;QAC7C,MAAM,eAAe,GAAG,QAAQ,CAC9B,CAAC,OAAY,EAAE,IAAe,KAAK,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,EACxE,gBAAgB,EAChB,eAAe,CAChB,CAAC;QAEF,OAAO,CAAC,OAAQ,CAAC,GAAG,CAAC,GAAG,SAAS,gBAAgB,CAAC,GAAG,IAAe;YAClE,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SAC7B,CAAC;;QAGF,MAAM,qBAAqB,GAAG,OAAO,CAAC,aAAa,CAAC;QACpD,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE;YACrB,aAAa;gBACX,qBAAqB,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;gBACnC,eAAe,CAAC,MAAM,EAAE,CAAC;aAC1B;SACF,CAAC,CAAC;KACJ,CAAC,CAAC;AACL;;;;"}
|
|
@@ -83,6 +83,9 @@ function getAliasAPI(component) {
|
|
|
83
83
|
get relatedTags() {
|
|
84
84
|
return component.$store.getters[getGetterPath('relatedTags', 'relatedTags')] ?? [];
|
|
85
85
|
},
|
|
86
|
+
get scroll() {
|
|
87
|
+
return component.$store.state.x.scroll?.data ?? {};
|
|
88
|
+
},
|
|
86
89
|
get selectedFilters() {
|
|
87
90
|
return component.$store.getters[getGetterPath('facets', 'selectedFilters')] ?? [];
|
|
88
91
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-plugin.alias.js","sources":["../../../src/plugins/x-plugin.alias.ts"],"sourcesContent":["import Vue from 'vue';\nimport { RequestStatus } from '../store/utils/status-store.utils';\nimport {\n XComponentAliasAPI,\n XComponentAliasQueryAPI,\n XComponentAliasStatusAPI\n} from './x-plugin.types';\nimport { getGetterPath } from './x-plugin.utils';\n\n/**\n * Creates an object containing the alias part of {@link XComponentAPI}.\n *\n * @param component - The component with the store from which retrieve the data.\n * @returns An object containing the alias part of the {@link XComponentAPI}.\n *\n * @internal\n */\nexport function getAliasAPI(component: Vue): XComponentAliasAPI {\n const queryModules = [\n 'searchBox',\n 'nextQueries',\n 'querySuggestions',\n 'relatedTags',\n 'search'\n ] as const;\n const statusModules = [\n 'identifierResults',\n 'nextQueries',\n 'popularSearches',\n 'querySuggestions',\n 'recommendations',\n 'relatedTags',\n 'search'\n ] as const;\n\n const query = queryModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): string {\n return component.$store.state.x[moduleName]?.query ?? '';\n },\n enumerable: true\n });\n }, {} as XComponentAliasQueryAPI);\n const status = statusModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): RequestStatus | undefined {\n return component.$store.state.x[moduleName]?.status;\n },\n enumerable: true\n });\n }, {} as XComponentAliasStatusAPI);\n\n return {\n query,\n status,\n get device() {\n return component.$store.state.x.device?.name ?? null;\n },\n get facets() {\n return component.$store.getters[getGetterPath('facets', 'facets')] ?? {};\n },\n get historyQueries() {\n return component.$store.getters[getGetterPath('historyQueries', 'historyQueries')] ?? [];\n },\n get identifierResults() {\n return component.$store.state.x.identifierResults?.identifierResults ?? [];\n },\n get isEmpathizeOpen() {\n return component.$store.state.x.empathize?.isOpen ?? false;\n },\n get nextQueries() {\n return component.$store.getters[getGetterPath('nextQueries', 'nextQueries')] ?? [];\n },\n get noResults() {\n return !this.totalResults && !!this.query.search && this.status.search === 'success';\n },\n get partialResults() {\n return component.$store.state.x.search?.partialResults ?? [];\n },\n get popularSearches() {\n return component.$store.state.x.popularSearches?.popularSearches ?? [];\n },\n get querySuggestions() {\n return component.$store.state.x.querySuggestions?.suggestions ?? [];\n },\n get recommendations() {\n return component.$store.state.x.recommendations?.recommendations ?? [];\n },\n get redirections() {\n return component.$store.state.x.search?.redirections ?? [];\n },\n get relatedTags() {\n return component.$store.getters[getGetterPath('relatedTags', 'relatedTags')] ?? [];\n },\n get selectedFilters() {\n return component.$store.getters[getGetterPath('facets', 'selectedFilters')] ?? [];\n },\n get selectedRelatedTags() {\n return component.$store.state.x.relatedTags?.selectedRelatedTags ?? [];\n },\n get spellcheckedQuery() {\n return component.$store.state.x.search?.spellcheckedQuery ?? null;\n },\n get totalResults() {\n return component.$store.state.x.search?.totalResults ?? 0;\n },\n get selectedSort() {\n return component.$store.state.x.search?.sort ?? '';\n }\n };\n}\n"],"names":[],"mappings":";;AASA;;;;;;;;SAQgB,WAAW,CAAC,SAAc;IACxC,MAAM,YAAY,GAAG;QACnB,WAAW;QACX,aAAa;QACb,kBAAkB;QAClB,aAAa;QACb,QAAQ;KACA,CAAC;IACX,MAAM,aAAa,GAAG;QACpB,mBAAmB;QACnB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,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC,IAAI,EAAE,CAAC;SACnF;QACD,IAAI,mBAAmB;YACrB,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,EAAE,mBAAmB,IAAI,EAAE,CAAC;SACxE;QACD,IAAI,iBAAiB;YACnB,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,iBAAiB,IAAI,IAAI,CAAC;SACnE;QACD,IAAI,YAAY;YACd,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,YAAY,IAAI,CAAC,CAAC;SAC3D;QACD,IAAI,YAAY;YACd,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC;SACpD;KACF,CAAC;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"x-plugin.alias.js","sources":["../../../src/plugins/x-plugin.alias.ts"],"sourcesContent":["import Vue from 'vue';\nimport { RequestStatus } from '../store/utils/status-store.utils';\nimport {\n XComponentAliasAPI,\n XComponentAliasQueryAPI,\n XComponentAliasStatusAPI\n} from './x-plugin.types';\nimport { getGetterPath } from './x-plugin.utils';\n\n/**\n * Creates an object containing the alias part of {@link XComponentAPI}.\n *\n * @param component - The component with the store from which retrieve the data.\n * @returns An object containing the alias part of the {@link XComponentAPI}.\n *\n * @internal\n */\nexport function getAliasAPI(component: Vue): XComponentAliasAPI {\n const queryModules = [\n 'searchBox',\n 'nextQueries',\n 'querySuggestions',\n 'relatedTags',\n 'search'\n ] as const;\n const statusModules = [\n 'identifierResults',\n 'nextQueries',\n 'popularSearches',\n 'querySuggestions',\n 'recommendations',\n 'relatedTags',\n 'search'\n ] as const;\n\n const query = queryModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): string {\n return component.$store.state.x[moduleName]?.query ?? '';\n },\n enumerable: true\n });\n }, {} as XComponentAliasQueryAPI);\n const status = statusModules.reduce((acc, moduleName) => {\n return Object.defineProperty(acc, moduleName, {\n get(): RequestStatus | undefined {\n return component.$store.state.x[moduleName]?.status;\n },\n enumerable: true\n });\n }, {} as XComponentAliasStatusAPI);\n\n return {\n query,\n status,\n get device() {\n return component.$store.state.x.device?.name ?? null;\n },\n get facets() {\n return component.$store.getters[getGetterPath('facets', 'facets')] ?? {};\n },\n get historyQueries() {\n return component.$store.getters[getGetterPath('historyQueries', 'historyQueries')] ?? [];\n },\n get identifierResults() {\n return component.$store.state.x.identifierResults?.identifierResults ?? [];\n },\n get isEmpathizeOpen() {\n return component.$store.state.x.empathize?.isOpen ?? false;\n },\n get nextQueries() {\n return component.$store.getters[getGetterPath('nextQueries', 'nextQueries')] ?? [];\n },\n get noResults() {\n return !this.totalResults && !!this.query.search && this.status.search === 'success';\n },\n get partialResults() {\n return component.$store.state.x.search?.partialResults ?? [];\n },\n get popularSearches() {\n return component.$store.state.x.popularSearches?.popularSearches ?? [];\n },\n get querySuggestions() {\n return component.$store.state.x.querySuggestions?.suggestions ?? [];\n },\n get recommendations() {\n return component.$store.state.x.recommendations?.recommendations ?? [];\n },\n get redirections() {\n return component.$store.state.x.search?.redirections ?? [];\n },\n get relatedTags() {\n return component.$store.getters[getGetterPath('relatedTags', 'relatedTags')] ?? [];\n },\n get scroll() {\n return component.$store.state.x.scroll?.data ?? {};\n },\n get selectedFilters() {\n return component.$store.getters[getGetterPath('facets', 'selectedFilters')] ?? [];\n },\n get selectedRelatedTags() {\n return component.$store.state.x.relatedTags?.selectedRelatedTags ?? [];\n },\n get spellcheckedQuery() {\n return component.$store.state.x.search?.spellcheckedQuery ?? null;\n },\n get totalResults() {\n return component.$store.state.x.search?.totalResults ?? 0;\n },\n get selectedSort() {\n return component.$store.state.x.search?.sort ?? '';\n }\n };\n}\n"],"names":[],"mappings":";;AASA;;;;;;;;SAQgB,WAAW,CAAC,S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CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC,IAAI,EAAE,CAAC;SACpF;QACD,IAAI,MAAM;YACR,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC;SACpD;QACD,IAAI,eAAe;YACjB,OAAO,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC,IAAI,EAAE,CAAC;SACnF;QACD,IAAI,mBAAmB;YACrB,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,EAAE,mBAAmB,IAAI,EAAE,CAAC;SACxE;QACD,IAAI,iBAAiB;YACnB,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,iBAAiB,IAAI,IAAI,CAAC;SACnE;QACD,IAAI,YAAY;YACd,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,YAAY,IAAI,CAAC,CAAC;SAC3D;QACD,IAAI,YAAY;YACd,OAAO,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC;SACpD;KACF,CAAC;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.58",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"sideEffects": [
|
|
30
30
|
"./tests/**/*",
|
|
31
31
|
"**/*.scss",
|
|
32
|
+
"**/*.scss.js",
|
|
32
33
|
"**/*.css",
|
|
33
34
|
"**/*.vue"
|
|
34
35
|
],
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"cypress:open:component": "cypress open-ct"
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
61
|
-
"@empathyco/x-adapter": "^7.0.0-alpha.
|
|
62
|
+
"@empathyco/x-adapter": "^7.0.0-alpha.11",
|
|
62
63
|
"@empathyco/x-deep-merge": "^1.3.0-alpha.1",
|
|
63
64
|
"@empathyco/x-logger": "^1.2.0-alpha.1",
|
|
64
65
|
"@empathyco/x-storage-service": "^2.0.0-alpha.0",
|
|
@@ -127,5 +128,5 @@
|
|
|
127
128
|
"access": "public",
|
|
128
129
|
"directory": "dist"
|
|
129
130
|
},
|
|
130
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "93ae9570d4de183dea94e4b7308f2359b5ff1b8a"
|
|
131
132
|
}
|
|
@@ -345,12 +345,35 @@
|
|
|
345
345
|
},
|
|
346
346
|
{
|
|
347
347
|
"kind": "Content",
|
|
348
|
-
"text": ",
|
|
348
|
+
"text": ", "
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"kind": "Reference",
|
|
352
|
+
"text": "Response",
|
|
353
|
+
"canonicalReference": "!Response:interface"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "Content",
|
|
357
|
+
"text": " | void> "
|
|
349
358
|
}
|
|
350
359
|
],
|
|
351
360
|
"releaseTag": "Public",
|
|
352
361
|
"name": "BeaconTrackingRequestor",
|
|
353
362
|
"members": [
|
|
363
|
+
{
|
|
364
|
+
"kind": "Constructor",
|
|
365
|
+
"canonicalReference": "@empathyco/x-adapter!BeaconTrackingRequestor:constructor(1)",
|
|
366
|
+
"docComment": "/**\n * Constructs a new instance of the `BeaconTrackingRequestor` class\n */\n",
|
|
367
|
+
"excerptTokens": [
|
|
368
|
+
{
|
|
369
|
+
"kind": "Content",
|
|
370
|
+
"text": "constructor();"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"releaseTag": "Public",
|
|
374
|
+
"overloadIndex": 1,
|
|
375
|
+
"parameters": []
|
|
376
|
+
},
|
|
354
377
|
{
|
|
355
378
|
"kind": "Method",
|
|
356
379
|
"canonicalReference": "@empathyco/x-adapter!BeaconTrackingRequestor#request:member(1)",
|
|
@@ -376,7 +399,16 @@
|
|
|
376
399
|
},
|
|
377
400
|
{
|
|
378
401
|
"kind": "Content",
|
|
379
|
-
"text": "<
|
|
402
|
+
"text": "<"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "Reference",
|
|
406
|
+
"text": "Response",
|
|
407
|
+
"canonicalReference": "!Response:interface"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"kind": "Content",
|
|
411
|
+
"text": " | void>"
|
|
380
412
|
},
|
|
381
413
|
{
|
|
382
414
|
"kind": "Content",
|
|
@@ -387,7 +419,7 @@
|
|
|
387
419
|
"isStatic": false,
|
|
388
420
|
"returnTypeTokenRange": {
|
|
389
421
|
"startIndex": 3,
|
|
390
|
-
"endIndex":
|
|
422
|
+
"endIndex": 7
|
|
391
423
|
},
|
|
392
424
|
"releaseTag": "Public",
|
|
393
425
|
"overloadIndex": 1,
|
|
@@ -406,7 +438,7 @@
|
|
|
406
438
|
"implementsTokenRanges": [
|
|
407
439
|
{
|
|
408
440
|
"startIndex": 1,
|
|
409
|
-
"endIndex":
|
|
441
|
+
"endIndex": 7
|
|
410
442
|
}
|
|
411
443
|
]
|
|
412
444
|
},
|
|
@@ -8960,7 +8960,7 @@
|
|
|
8960
8960
|
{
|
|
8961
8961
|
"kind": "Function",
|
|
8962
8962
|
"canonicalReference": "@empathyco/x-components!Debounce:function(1)",
|
|
8963
|
-
"docComment": "/**\n * Adds debounce to the method that the decorator is applied to.\n *\n * @param debounceTimeInMs - The time of debounce in ms.\n *\n * @param debounceOptions - The options for the debounce strategy.\n *\n * @returns Decorator that applies debounce.\n *\n * @public\n */\n",
|
|
8963
|
+
"docComment": "/**\n * Adds debounce to the method that the decorator is applied to.\n *\n * @remarks\n *\n * Pending debounced execution is cancelled when the component is destroyed.\n *\n * @param debounceTimeInMs - The time of debounce in ms.\n *\n * @param debounceOptions - The options for the debounce strategy.\n *\n * @returns Decorator that applies debounce.\n *\n * @public\n */\n",
|
|
8964
8964
|
"excerptTokens": [
|
|
8965
8965
|
{
|
|
8966
8966
|
"kind": "Content",
|
|
@@ -50096,6 +50096,46 @@
|
|
|
50096
50096
|
"endIndex": 5
|
|
50097
50097
|
}
|
|
50098
50098
|
},
|
|
50099
|
+
{
|
|
50100
|
+
"kind": "PropertySignature",
|
|
50101
|
+
"canonicalReference": "@empathyco/x-components!XComponentAliasAPI#scroll:member",
|
|
50102
|
+
"docComment": "/**\n * The {@link ScrollXModule} data state.\n */\n",
|
|
50103
|
+
"excerptTokens": [
|
|
50104
|
+
{
|
|
50105
|
+
"kind": "Content",
|
|
50106
|
+
"text": "readonly scroll: "
|
|
50107
|
+
},
|
|
50108
|
+
{
|
|
50109
|
+
"kind": "Reference",
|
|
50110
|
+
"text": "Record",
|
|
50111
|
+
"canonicalReference": "!Record:type"
|
|
50112
|
+
},
|
|
50113
|
+
{
|
|
50114
|
+
"kind": "Content",
|
|
50115
|
+
"text": "<string, "
|
|
50116
|
+
},
|
|
50117
|
+
{
|
|
50118
|
+
"kind": "Reference",
|
|
50119
|
+
"text": "ScrollComponentState",
|
|
50120
|
+
"canonicalReference": "@empathyco/x-components!ScrollComponentState:interface"
|
|
50121
|
+
},
|
|
50122
|
+
{
|
|
50123
|
+
"kind": "Content",
|
|
50124
|
+
"text": ">"
|
|
50125
|
+
},
|
|
50126
|
+
{
|
|
50127
|
+
"kind": "Content",
|
|
50128
|
+
"text": ";"
|
|
50129
|
+
}
|
|
50130
|
+
],
|
|
50131
|
+
"isOptional": false,
|
|
50132
|
+
"releaseTag": "Public",
|
|
50133
|
+
"name": "scroll",
|
|
50134
|
+
"propertyTypeTokenRange": {
|
|
50135
|
+
"startIndex": 1,
|
|
50136
|
+
"endIndex": 5
|
|
50137
|
+
}
|
|
50138
|
+
},
|
|
50099
50139
|
{
|
|
50100
50140
|
"kind": "PropertySignature",
|
|
50101
50141
|
"canonicalReference": "@empathyco/x-components!XComponentAliasAPI#selectedFilters:member",
|
|
@@ -4676,6 +4676,7 @@ export interface XComponentAliasAPI {
|
|
|
4676
4676
|
readonly recommendations: ReadonlyArray<Result>;
|
|
4677
4677
|
readonly redirections: ReadonlyArray<Redirection_2>;
|
|
4678
4678
|
readonly relatedTags: ReadonlyArray<RelatedTag_2>;
|
|
4679
|
+
readonly scroll: Record<string, ScrollComponentState>;
|
|
4679
4680
|
readonly selectedFilters: Filter[];
|
|
4680
4681
|
readonly selectedRelatedTags: ReadonlyArray<RelatedTag_2>;
|
|
4681
4682
|
readonly selectedSort: string;
|
|
@@ -2,6 +2,8 @@ import { AnyFunction, DebounceOptions, DecoratorFor } from '../../utils/types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Adds debounce to the method that the decorator is applied to.
|
|
4
4
|
*
|
|
5
|
+
* @remarks Pending debounced execution is cancelled when the component is destroyed.
|
|
6
|
+
*
|
|
5
7
|
* @param debounceTimeInMs - The time of debounce in ms.
|
|
6
8
|
* @param debounceOptions - The options for the debounce strategy.
|
|
7
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.decorators.d.ts","sourceRoot":"","sources":["../../../../src/components/decorators/debounce.decorators.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE/E
|
|
1
|
+
{"version":3,"file":"debounce.decorators.d.ts","sourceRoot":"","sources":["../../../../src/components/decorators/debounce.decorators.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE/E;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CACtB,gBAAgB,EAAE,MAAM,EACxB,eAAe,GAAE,eAAoB,GACpC,YAAY,CAAC,WAAW,CAAC,CAsB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-plugin.alias.d.ts","sourceRoot":"","sources":["../../../src/plugins/x-plugin.alias.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EACL,kBAAkB,EAGnB,MAAM,kBAAkB,CAAC;AAG1B;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,GAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"x-plugin.alias.d.ts","sourceRoot":"","sources":["../../../src/plugins/x-plugin.alias.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EACL,kBAAkB,EAGnB,MAAM,kBAAkB,CAAC;AAG1B;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,GAAG,kBAAkB,CAgG9D"}
|
|
@@ -10,6 +10,7 @@ import { StoreEmitters } from '../store/utils/store-emitters.utils';
|
|
|
10
10
|
import { DeepPartial, PropsWithType } from '../utils';
|
|
11
11
|
import { XEvent, XEventPayload, XEventsTypes } from '../wiring/events.types';
|
|
12
12
|
import { WireMetadata, Wiring } from '../wiring/wiring.types';
|
|
13
|
+
import { ScrollComponentState } from '../x-modules/scroll/index';
|
|
13
14
|
import { AnyXModule, ExtractState, XModuleName, XModulesTree } from '../x-modules/x-modules.types';
|
|
14
15
|
import { XBus } from './x-bus.types';
|
|
15
16
|
/**
|
|
@@ -93,6 +94,8 @@ export interface XComponentAliasAPI {
|
|
|
93
94
|
readonly redirections: ReadonlyArray<Redirection>;
|
|
94
95
|
/** The {@link RelatedTagsXModule} related tags (Both selected and deselected). */
|
|
95
96
|
readonly relatedTags: ReadonlyArray<RelatedTag>;
|
|
97
|
+
/** The {@link ScrollXModule} data state. */
|
|
98
|
+
readonly scroll: Record<string, ScrollComponentState>;
|
|
96
99
|
/** The {@link FacetsXModule} selected filters. */
|
|
97
100
|
readonly selectedFilters: Filter[];
|
|
98
101
|
/** The {@link RelatedTagsXModule} selected related tags. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-plugin.types.d.ts","sourceRoot":"","sources":["../../../src/plugins/x-plugin.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,KAAK,EACL,MAAM,EACN,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,UAAU,EACV,MAAM,EACN,UAAU,EACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,gGAAgG;IAChG,OAAO,EAAE,aAAa,CAAC;IACvB;+BAC2B;IAC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