@empathyco/x-components 3.0.0-alpha.64 → 3.0.0-alpha.67
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 +44 -0
- package/core/index.js.map +1 -1
- package/design-system/default-theme.css +40 -40
- package/design-system/full-theme.css +37 -36
- package/docs/API-reference/api/x-adapter.empathyqueryablerequestmapper.map.md +2 -2
- package/docs/API-reference/api/x-adapter.empathyqueryablerequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter.md +0 -1
- package/docs/API-reference/api/x-adapter.queryablerequest.md +0 -1
- package/docs/API-reference/api/x-components.arraytoobject_1.md +2 -2
- package/docs/API-reference/api/x-components.deepfilter.md +8 -6
- package/docs/API-reference/api/x-components.deepflat.md +8 -6
- package/docs/API-reference/api/x-components.historyqueriesmutations.md +2 -1
- package/docs/API-reference/api/x-components.historyqueriesstate.md +2 -1
- package/docs/API-reference/api/x-components.identifierresultsmutations.md +2 -2
- package/docs/API-reference/api/x-components.identifierresultsstate.md +2 -2
- package/docs/API-reference/api/x-components.md +6 -3
- package/docs/API-reference/api/x-components.nextqueriesmutations.md +2 -2
- package/docs/API-reference/api/x-components.nextqueriesstate.md +2 -2
- package/docs/API-reference/api/x-components.propswithtype.md +6 -7
- package/docs/API-reference/api/x-components.querysuggestionsmutations.md +2 -2
- package/docs/API-reference/api/x-components.querysuggestionsstate.md +2 -2
- package/docs/API-reference/api/x-components.relatedtagsgetters.md +1 -0
- package/docs/API-reference/api/x-components.relatedtagsgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.relatedtagsmutations.md +2 -3
- package/docs/API-reference/api/x-components.relatedtagsquery.md +13 -0
- package/docs/API-reference/api/x-components.relatedtagsstate.md +2 -3
- package/docs/API-reference/api/x-components.searchboxmutations.md +2 -1
- package/docs/API-reference/api/x-components.searchboxstate.md +2 -1
- package/docs/API-reference/api/x-components.searchgetters.md +1 -0
- package/docs/API-reference/api/x-components.searchgetters.query.md +13 -0
- package/docs/API-reference/api/x-components.searchmutations.md +2 -2
- package/docs/API-reference/api/x-components.searchquery.md +13 -0
- package/docs/API-reference/api/x-components.searchstate.md +2 -2
- package/docs/API-reference/api/x-components.subobject.md +29 -0
- package/docs/API-reference/api/x-components.urlmutations.md +2 -1
- package/docs/API-reference/api/x-components.urlstate.initialextraparams.md +11 -0
- package/docs/API-reference/api/x-components.urlstate.md +9 -5
- package/docs/API-reference/api/x-components.wireservice.md +1 -1
- package/docs/API-reference/api/x-components.wireservicewithoutpayload.md +1 -1
- package/docs/API-reference/api/x-components.wiring.md +1 -1
- package/docs/API-reference/api/x-types.relatedtag.md +0 -2
- package/js/index.js +2 -0
- package/js/index.js.map +1 -1
- package/js/store/utils/query.utils.js +37 -0
- package/js/store/utils/query.utils.js.map +1 -0
- package/js/utils/array.js +25 -55
- package/js/utils/array.js.map +1 -1
- package/js/wiring/wires.factory.js.map +1 -1
- package/js/x-modules/history-queries/store/module.js +2 -3
- package/js/x-modules/history-queries/store/module.js.map +1 -1
- package/js/x-modules/identifier-results/store/module.js +2 -3
- package/js/x-modules/identifier-results/store/module.js.map +1 -1
- package/js/x-modules/next-queries/store/module.js +2 -3
- package/js/x-modules/next-queries/store/module.js.map +1 -1
- package/js/x-modules/query-suggestions/store/module.js +2 -3
- package/js/x-modules/query-suggestions/store/module.js.map +1 -1
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js +1 -3
- package/js/x-modules/related-tags/store/actions/set-url-params.action.js.map +1 -1
- package/js/x-modules/related-tags/store/getters/query.getter.js +18 -0
- package/js/x-modules/related-tags/store/getters/query.getter.js.map +1 -0
- package/js/x-modules/related-tags/store/getters/request.getter.js +3 -2
- package/js/x-modules/related-tags/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/related-tags/store/module.js +5 -4
- package/js/x-modules/related-tags/store/module.js.map +1 -1
- package/js/x-modules/scroll/components/window-scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue_script.vue.js +0 -2
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/search/store/getters/query.getter.js +18 -0
- package/js/x-modules/search/store/getters/query.getter.js.map +1 -0
- package/js/x-modules/search/store/getters/request.getter.js +2 -3
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +5 -4
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search-box/store/module.js +2 -3
- package/js/x-modules/search-box/store/module.js.map +1 -1
- package/js/x-modules/url/store/module.js +2 -3
- package/js/x-modules/url/store/module.js.map +1 -1
- package/package.json +10 -10
- package/related-tags/index.js +1 -0
- package/report/tsdoc-metadata.json +1 -1
- package/report/x-adapter.api.json +3 -134
- package/report/x-components.api.json +672 -284
- package/report/x-components.api.md +51 -33
- package/report/x-types.api.json +1 -53
- package/search/index.js +1 -0
- package/types/store/utils/query.utils.d.ts +56 -0
- package/types/store/utils/query.utils.d.ts.map +1 -0
- package/types/utils/array.d.ts +19 -17
- package/types/utils/array.d.ts.map +1 -1
- package/types/utils/types.d.ts +27 -9
- package/types/utils/types.d.ts.map +1 -1
- package/types/wiring/wires.factory.d.ts +3 -2
- package/types/wiring/wires.factory.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +8 -7
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/history-queries/store/types.d.ts +3 -2
- package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/module.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +3 -2
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/module.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +3 -2
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/module.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +3 -2
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/actions/set-url-params.action.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/getters/query.getter.d.ts +13 -0
- package/types/x-modules/related-tags/store/getters/query.getter.d.ts.map +1 -0
- package/types/x-modules/related-tags/store/getters/request.getter.d.ts +2 -0
- package/types/x-modules/related-tags/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/index.d.ts +1 -0
- package/types/x-modules/related-tags/store/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/module.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +5 -10
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/scroll/components/window-scroll.vue.d.ts.map +1 -1
- package/types/x-modules/search/store/getters/query.getter.d.ts +13 -0
- package/types/x-modules/search/store/getters/query.getter.d.ts.map +1 -0
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/index.d.ts +1 -0
- package/types/x-modules/search/store/index.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +5 -2
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search-box/store/module.d.ts.map +1 -1
- package/types/x-modules/search-box/store/types.d.ts +3 -2
- package/types/x-modules/search-box/store/types.d.ts.map +1 -1
- package/types/x-modules/url/store/module.d.ts.map +1 -1
- package/types/x-modules/url/store/types.d.ts +4 -3
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/docs/API-reference/api/x-adapter.empathyrequestrelatedtagsquerymapper.map.md +0 -23
- package/docs/API-reference/api/x-adapter.empathyrequestrelatedtagsquerymapper.md +0 -21
- package/docs/API-reference/api/x-adapter.queryablerequest.relatedtags.md +0 -11
- package/docs/API-reference/api/x-components.relatedtagsmutations.setquery.md +0 -24
- package/docs/API-reference/api/x-components.relatedtagsstate.query.md +0 -13
- package/docs/API-reference/api/x-types.relatedtag.previous.md +0 -13
- package/docs/API-reference/api/x-types.relatedtag.selected.md +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.67](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.66...@empathyco/x-components@3.0.0-alpha.67) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
- Remove `selected` and `previous` logic from related tags.
|
|
11
|
+
- Remove `EmpathyRequestRelatedTagsQueryMapper`.
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- move related tags concatenation logic (#365)
|
|
16
|
+
([4e71797](https://github.com/empathyco/x/commit/4e717970198f67018a9b66ed6e47f511ecef4c62)),
|
|
17
|
+
closes [EX-5410](https://searchbroker.atlassian.net/browse/EX-5410)
|
|
18
|
+
|
|
19
|
+
# Change Log
|
|
20
|
+
|
|
21
|
+
All notable changes to this project will be documented in this file. See
|
|
22
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
23
|
+
|
|
24
|
+
## [3.0.0-alpha.66](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.65...@empathyco/x-components@3.0.0-alpha.66) (2022-03-09)
|
|
25
|
+
|
|
26
|
+
### Testing
|
|
27
|
+
|
|
28
|
+
- **e2e:** Fix E2E tests in Firefox
|
|
29
|
+
([6d25577](https://github.com/empathyco/x/commit/6d25577ad383e6e82a3072eb22809872dc0dc865)),
|
|
30
|
+
closes [EX-5525](https://searchbroker.atlassian.net/browse/EX-5525)
|
|
31
|
+
|
|
32
|
+
# Change Log
|
|
33
|
+
|
|
34
|
+
All notable changes to this project will be documented in this file. See
|
|
35
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
36
|
+
|
|
37
|
+
## [3.0.0-alpha.65](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.64...@empathyco/x-components@3.0.0-alpha.65) (2022-03-08)
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
- update typescript
|
|
42
|
+
([73edca6](https://github.com/empathyco/x/commit/73edca61c1cea39d82a7ab94bc18c8bff94c138c)),
|
|
43
|
+
closes [EX-5367](https://searchbroker.atlassian.net/browse/EX-5367)
|
|
44
|
+
|
|
45
|
+
# Change Log
|
|
46
|
+
|
|
47
|
+
All notable changes to this project will be documented in this file. See
|
|
48
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
49
|
+
|
|
6
50
|
## [3.0.0-alpha.64](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.63...@empathyco/x-components@3.0.0-alpha.64) (2022-03-03)
|
|
7
51
|
|
|
8
52
|
### Features
|
package/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -47,6 +47,16 @@
|
|
|
47
47
|
.x-badge-container {
|
|
48
48
|
position: relative;
|
|
49
49
|
}
|
|
50
|
+
:root {
|
|
51
|
+
--x-color-background-badge-default: var(--x-color-base-neutral-10);
|
|
52
|
+
--x-color-text-badge-default: var(--x-color-base-neutral-100);
|
|
53
|
+
--x-color-border-badge-default: var(--x-color-base-neutral-10);
|
|
54
|
+
--x-size-border-radius-badge-default: var(--x-size-border-radius-base-pill);
|
|
55
|
+
--x-size-border-width-badge-default: 0;
|
|
56
|
+
--x-size-width-badge-default: 1.5em;
|
|
57
|
+
--x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
|
|
58
|
+
--x-size-font-badge-default: var(--x-size-font-base-xs);
|
|
59
|
+
}
|
|
50
60
|
:root {
|
|
51
61
|
--x-color-background-button-default: var(--x-color-base-lead);
|
|
52
62
|
--x-color-border-button-default: var(--x-color-background-button-default);
|
|
@@ -1842,23 +1852,6 @@
|
|
|
1842
1852
|
opacity: 1;
|
|
1843
1853
|
}
|
|
1844
1854
|
}
|
|
1845
|
-
:root {
|
|
1846
|
-
--x-color-border-result-default: var(--x-color-base-lead);
|
|
1847
|
-
--x-color-border-result-picture-default: var(--x-color-border-result-default);
|
|
1848
|
-
--x-color-border-result-overlay-default: var(--x-color-border-result-default);
|
|
1849
|
-
--x-color-border-result-description-default: var(--x-color-border-result-default);
|
|
1850
|
-
--x-color-background-result-default: transparent;
|
|
1851
|
-
--x-size-padding-result-default: 0;
|
|
1852
|
-
--x-size-padding-result-picture-default: 0;
|
|
1853
|
-
--x-size-padding-result-overlay-default: 0;
|
|
1854
|
-
--x-size-padding-result-description-default: 0;
|
|
1855
|
-
--x-size-gap-result-default: var(--x-size-base-03);
|
|
1856
|
-
--x-size-border-radius-result-default: var(--x-size-border-radius-base-none);
|
|
1857
|
-
--x-size-border-width-result-default: 0;
|
|
1858
|
-
--x-size-border-width-result-picture-default: 0;
|
|
1859
|
-
--x-size-border-width-result-overlay-default: 0;
|
|
1860
|
-
--x-size-border-width-result-description-default: 0;
|
|
1861
|
-
}
|
|
1862
1855
|
:root {
|
|
1863
1856
|
--x-size-gap-row: 0;
|
|
1864
1857
|
--x-size-padding-row: 0;
|
|
@@ -2029,6 +2022,23 @@
|
|
|
2029
2022
|
--x-color-thumb-scroll-bar: var(--x-color-thumb-scroll-bar-hover);
|
|
2030
2023
|
}
|
|
2031
2024
|
}
|
|
2025
|
+
:root {
|
|
2026
|
+
--x-color-border-result-default: var(--x-color-base-lead);
|
|
2027
|
+
--x-color-border-result-picture-default: var(--x-color-border-result-default);
|
|
2028
|
+
--x-color-border-result-overlay-default: var(--x-color-border-result-default);
|
|
2029
|
+
--x-color-border-result-description-default: var(--x-color-border-result-default);
|
|
2030
|
+
--x-color-background-result-default: transparent;
|
|
2031
|
+
--x-size-padding-result-default: 0;
|
|
2032
|
+
--x-size-padding-result-picture-default: 0;
|
|
2033
|
+
--x-size-padding-result-overlay-default: 0;
|
|
2034
|
+
--x-size-padding-result-description-default: 0;
|
|
2035
|
+
--x-size-gap-result-default: var(--x-size-base-03);
|
|
2036
|
+
--x-size-border-radius-result-default: var(--x-size-border-radius-base-none);
|
|
2037
|
+
--x-size-border-width-result-default: 0;
|
|
2038
|
+
--x-size-border-width-result-picture-default: 0;
|
|
2039
|
+
--x-size-border-width-result-overlay-default: 0;
|
|
2040
|
+
--x-size-border-width-result-description-default: 0;
|
|
2041
|
+
}
|
|
2032
2042
|
:root {
|
|
2033
2043
|
--x-string-overflow-scroll: auto;
|
|
2034
2044
|
--x-color-background-scroll-bar: transparent;
|
|
@@ -2217,16 +2227,6 @@
|
|
|
2217
2227
|
--x-size-line-height-suggestion-group-default: var(--x-size-line-height-suggestion-default);
|
|
2218
2228
|
--x-number-font-weight-suggestion-group-default: var(--x-number-font-weight-suggestion-default);
|
|
2219
2229
|
}
|
|
2220
|
-
:root {
|
|
2221
|
-
--x-color-background-badge-default: var(--x-color-base-neutral-10);
|
|
2222
|
-
--x-color-text-badge-default: var(--x-color-base-neutral-100);
|
|
2223
|
-
--x-color-border-badge-default: var(--x-color-base-neutral-10);
|
|
2224
|
-
--x-size-border-radius-badge-default: var(--x-size-border-radius-base-pill);
|
|
2225
|
-
--x-size-border-width-badge-default: 0;
|
|
2226
|
-
--x-size-width-badge-default: 1.5em;
|
|
2227
|
-
--x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
|
|
2228
|
-
--x-size-font-badge-default: var(--x-size-font-base-xs);
|
|
2229
|
-
}
|
|
2230
2230
|
:root {
|
|
2231
2231
|
--x-string-align-items-suggestion-default: center;
|
|
2232
2232
|
--x-color-text-suggestion-default: var(--x-color-text-default);
|
|
@@ -2854,6 +2854,19 @@
|
|
|
2854
2854
|
--x-size-border-radius-base-pill: 99999px;
|
|
2855
2855
|
--x-size-border-width-base: 1px;
|
|
2856
2856
|
}
|
|
2857
|
+
:root {
|
|
2858
|
+
--x-color-base-lead: #36515b;
|
|
2859
|
+
--x-color-base-auxiliary: #667981;
|
|
2860
|
+
--x-color-base-neutral-10: #1a1a1a;
|
|
2861
|
+
--x-color-base-neutral-35: #595959;
|
|
2862
|
+
--x-color-base-neutral-70: #b3b3b3;
|
|
2863
|
+
--x-color-base-neutral-95: #f2f2f2;
|
|
2864
|
+
--x-color-base-neutral-100: #ffffff;
|
|
2865
|
+
--x-color-base-accent: #b90276;
|
|
2866
|
+
--x-color-base-enable: #00705c;
|
|
2867
|
+
--x-color-base-disable: #e11f26;
|
|
2868
|
+
--x-color-base-transparent: transparent;
|
|
2869
|
+
}
|
|
2857
2870
|
:root {
|
|
2858
2871
|
--x-size-base-01: 2px;
|
|
2859
2872
|
--x-size-base-02: 4px;
|
|
@@ -2889,17 +2902,4 @@
|
|
|
2889
2902
|
--x-size-line-height-base-s: 16px;
|
|
2890
2903
|
--x-size-line-height-base-m: 24px;
|
|
2891
2904
|
--x-size-line-height-base-l: 32px;
|
|
2892
|
-
}
|
|
2893
|
-
:root {
|
|
2894
|
-
--x-color-base-lead: #36515b;
|
|
2895
|
-
--x-color-base-auxiliary: #667981;
|
|
2896
|
-
--x-color-base-neutral-10: #1a1a1a;
|
|
2897
|
-
--x-color-base-neutral-35: #595959;
|
|
2898
|
-
--x-color-base-neutral-70: #b3b3b3;
|
|
2899
|
-
--x-color-base-neutral-95: #f2f2f2;
|
|
2900
|
-
--x-color-base-neutral-100: #ffffff;
|
|
2901
|
-
--x-color-base-accent: #b90276;
|
|
2902
|
-
--x-color-base-enable: #00705c;
|
|
2903
|
-
--x-color-base-disable: #e11f26;
|
|
2904
|
-
--x-color-base-transparent: transparent;
|
|
2905
2905
|
}
|
|
@@ -650,30 +650,6 @@
|
|
|
650
650
|
--x-size-border-width-left-dropdown-list-line
|
|
651
651
|
);
|
|
652
652
|
}
|
|
653
|
-
:root {
|
|
654
|
-
--x-size-padding-block-dropdown-item-line: var(--x-size-base-03);
|
|
655
|
-
--x-size-padding-inline-dropdown-item-line: 0 var(--x-size-base-03);
|
|
656
|
-
--x-size-padding-top-dropdown-item-line: var(--x-size-base-03);
|
|
657
|
-
--x-size-padding-right-dropdown-item-line: 0;
|
|
658
|
-
--x-size-padding-bottom-dropdown-item-line: var(--x-size-base-03);
|
|
659
|
-
--x-size-padding-left-dropdown-item-line: 0;
|
|
660
|
-
--x-size-padding-top-dropdown-toggle-line: var(--x-size-base-03);
|
|
661
|
-
--x-size-padding-right-dropdown-toggle-line: 0;
|
|
662
|
-
--x-size-padding-bottom-dropdown-toggle-line: var(--x-size-base-03);
|
|
663
|
-
--x-size-padding-left-dropdown-toggle-line: 0;
|
|
664
|
-
--x-size-border-width-dropdown-toggle-line: var(--x-size-border-width-base);
|
|
665
|
-
--x-size-border-width-top-dropdown-toggle-line: 0;
|
|
666
|
-
--x-size-border-width-right-dropdown-toggle-line: 0;
|
|
667
|
-
--x-size-border-width-bottom-dropdown-toggle-line: var(
|
|
668
|
-
--x-size-border-width-dropdown-toggle-line
|
|
669
|
-
);
|
|
670
|
-
--x-size-border-width-left-dropdown-toggle-line: 0;
|
|
671
|
-
--x-size-border-width-dropdown-list-line: 0;
|
|
672
|
-
--x-size-border-width-top-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
673
|
-
--x-size-border-width-right-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
674
|
-
--x-size-border-width-bottom-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
675
|
-
--x-size-border-width-left-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
676
|
-
}
|
|
677
653
|
.x-dropdown.x-dropdown--m {
|
|
678
654
|
--x-size-width-dropdown-toggle-default: var(--x-size-width-dropdown-m);
|
|
679
655
|
}
|
|
@@ -747,6 +723,18 @@
|
|
|
747
723
|
--x-size-padding-bottom-facet-header-default: var(--x-size-padding-bottom-facet-header-card);
|
|
748
724
|
--x-size-padding-left-facet-header-default: var(--x-size-padding-left-facet-header-card);
|
|
749
725
|
}
|
|
726
|
+
:root {
|
|
727
|
+
--x-size-border-radius-facet-card: var(--x-size-border-radius-base-s);
|
|
728
|
+
--x-size-border-radius-top-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
729
|
+
--x-size-border-radius-top-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
730
|
+
--x-size-border-radius-bottom-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
731
|
+
--x-size-border-radius-bottom-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
732
|
+
--x-size-padding-facet-header-card: var(--x-size-base-03);
|
|
733
|
+
--x-size-padding-top-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
734
|
+
--x-size-padding-right-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
735
|
+
--x-size-padding-bottom-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
736
|
+
--x-size-padding-left-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
737
|
+
}
|
|
750
738
|
[dir="ltr"] .x-facet {
|
|
751
739
|
border-right-width: var(--x-size-border-width-right-facet-default);
|
|
752
740
|
}
|
|
@@ -836,18 +824,6 @@
|
|
|
836
824
|
.x-facet > *:first-child .x-icon:last-child:not(:first-child), .x-facet__header .x-icon:last-child:not(:first-child) {
|
|
837
825
|
margin-left: auto;
|
|
838
826
|
}
|
|
839
|
-
:root {
|
|
840
|
-
--x-size-border-radius-facet-card: var(--x-size-border-radius-base-s);
|
|
841
|
-
--x-size-border-radius-top-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
842
|
-
--x-size-border-radius-top-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
843
|
-
--x-size-border-radius-bottom-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
844
|
-
--x-size-border-radius-bottom-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
845
|
-
--x-size-padding-facet-header-card: var(--x-size-base-03);
|
|
846
|
-
--x-size-padding-top-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
847
|
-
--x-size-padding-right-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
848
|
-
--x-size-padding-bottom-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
849
|
-
--x-size-padding-left-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
850
|
-
}
|
|
851
827
|
:root {
|
|
852
828
|
--x-color-background-facet-default: transparent;
|
|
853
829
|
--x-color-border-facet-default: var(--x-color-background-facet-default);
|
|
@@ -7566,3 +7542,28 @@
|
|
|
7566
7542
|
.x-normal-case {
|
|
7567
7543
|
text-transform: none;
|
|
7568
7544
|
}
|
|
7545
|
+
|
|
7546
|
+
:root {
|
|
7547
|
+
--x-size-padding-block-dropdown-item-line: var(--x-size-base-03);
|
|
7548
|
+
--x-size-padding-inline-dropdown-item-line: 0 var(--x-size-base-03);
|
|
7549
|
+
--x-size-padding-top-dropdown-item-line: var(--x-size-base-03);
|
|
7550
|
+
--x-size-padding-right-dropdown-item-line: 0;
|
|
7551
|
+
--x-size-padding-bottom-dropdown-item-line: var(--x-size-base-03);
|
|
7552
|
+
--x-size-padding-left-dropdown-item-line: 0;
|
|
7553
|
+
--x-size-padding-top-dropdown-toggle-line: var(--x-size-base-03);
|
|
7554
|
+
--x-size-padding-right-dropdown-toggle-line: 0;
|
|
7555
|
+
--x-size-padding-bottom-dropdown-toggle-line: var(--x-size-base-03);
|
|
7556
|
+
--x-size-padding-left-dropdown-toggle-line: 0;
|
|
7557
|
+
--x-size-border-width-dropdown-toggle-line: var(--x-size-border-width-base);
|
|
7558
|
+
--x-size-border-width-top-dropdown-toggle-line: 0;
|
|
7559
|
+
--x-size-border-width-right-dropdown-toggle-line: 0;
|
|
7560
|
+
--x-size-border-width-bottom-dropdown-toggle-line: var(
|
|
7561
|
+
--x-size-border-width-dropdown-toggle-line
|
|
7562
|
+
);
|
|
7563
|
+
--x-size-border-width-left-dropdown-toggle-line: 0;
|
|
7564
|
+
--x-size-border-width-dropdown-list-line: 0;
|
|
7565
|
+
--x-size-border-width-top-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
7566
|
+
--x-size-border-width-right-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
7567
|
+
--x-size-border-width-bottom-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
7568
|
+
--x-size-border-width-left-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
7569
|
+
}
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
map({ query,
|
|
10
|
+
map({ query, ...rest }: QueryableRequest & Dictionary<string>, request: Dictionary<string>, context: RequestMapperContext): Dictionary<string>;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
15
15
|
| Parameter | Type | Description |
|
|
16
16
|
| --- | --- | --- |
|
|
17
|
-
| { query,
|
|
17
|
+
| { query, ...rest } | [QueryableRequest](./x-adapter.queryablerequest.md) & [Dictionary](./x-adapter.dictionary.md)<!-- --><string> | |
|
|
18
18
|
| request | [Dictionary](./x-adapter.dictionary.md)<!-- --><string> | |
|
|
19
19
|
| context | [RequestMapperContext](./x-adapter.requestmappercontext.md) | |
|
|
20
20
|
|
|
@@ -23,5 +23,5 @@ export declare class EmpathyQueryableRequestMapper implements RequestMapper<Quer
|
|
|
23
23
|
|
|
24
24
|
| Method | Modifiers | Description |
|
|
25
25
|
| --- | --- | --- |
|
|
26
|
-
| [map({ query,
|
|
26
|
+
| [map({ query, ...rest }, request, context)](./x-adapter.empathyqueryablerequestmapper.map.md) | | |
|
|
27
27
|
|
|
@@ -36,7 +36,6 @@ Search-adapter library with the search API adapter. The library contains the cus
|
|
|
36
36
|
| [EmpathyRequestFiltersSolrSyntaxMapper](./x-adapter.empathyrequestfilterssolrsyntaxmapper.md) | TODO https://searchbroker.atlassian.net/browse/EX-2163 |
|
|
37
37
|
| [EmpathyRequestParamsMapper](./x-adapter.empathyrequestparamsmapper.md) | TODO https://searchbroker.atlassian.net/browse/EX-2163 |
|
|
38
38
|
| [EmpathyRequestQueryMapper](./x-adapter.empathyrequestquerymapper.md) | TODO https://searchbroker.atlassian.net/browse/EX-2163 |
|
|
39
|
-
| [EmpathyRequestRelatedTagsQueryMapper](./x-adapter.empathyrequestrelatedtagsquerymapper.md) | TODO https://searchbroker.atlassian.net/browse/EX-2163 |
|
|
40
39
|
| [EmpathyRequestSortMapper](./x-adapter.empathyrequestsortmapper.md) | Empathy SaaS API mapper for the [SearchRequest.sort](./x-adapter.searchrequest.sort.md) parameter. It excludes empty or undefined values from the sort. |
|
|
41
40
|
| [EmpathyResultMapper](./x-adapter.empathyresultmapper.md) | TODO https://searchbroker.atlassian.net/browse/EX-2163 |
|
|
42
41
|
| [EmpathyResultQueryTaggingMapper](./x-adapter.empathyresultquerytaggingmapper.md) | TODO https://searchbroker.atlassian.net/browse/EX-2163 |
|
|
@@ -9,7 +9,7 @@ Reduce an array of objects to an object which properties names are the value of
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare function arrayToObject<ArrayType
|
|
12
|
+
export declare function arrayToObject<ArrayType>(array: ArrayType[], key: PropsWithType<ArrayType, string | number>): Record<string, ArrayType>;
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Parameters
|
|
@@ -17,7 +17,7 @@ export declare function arrayToObject<ArrayType, KeyType extends string | number
|
|
|
17
17
|
| Parameter | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| array | ArrayType\[\] | Array of objects that contains objects which have object\[key\] string as a property value. |
|
|
20
|
-
| key | [PropsWithType](./x-components.propswithtype.md)<!-- --><ArrayType,
|
|
20
|
+
| key | [PropsWithType](./x-components.propswithtype.md)<!-- --><ArrayType, string \| number> | Key used to access to each object\[key\] value, used for each property name in the new object. |
|
|
21
21
|
|
|
22
22
|
<b>Returns:</b>
|
|
23
23
|
|
|
@@ -4,27 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
## deepFilter() function
|
|
6
6
|
|
|
7
|
-
Filters an array with all elements that pass the test implemented by the
|
|
7
|
+
Filters an array with all elements that pass the test implemented by the given filter function. If an item has another list of items in the `childrenKey` property it recursively filters that new list, adding it to the returned one.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare function deepFilter<
|
|
12
|
+
export declare function deepFilter<Item extends {
|
|
13
|
+
[key in Key]?: Item[];
|
|
14
|
+
}, Key extends keyof Item>(array: Item[], condition: (item: Item) => boolean, childrenKey: Key): Item[];
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
## Parameters
|
|
16
18
|
|
|
17
19
|
| Parameter | Type | Description |
|
|
18
20
|
| --- | --- | --- |
|
|
19
|
-
| array |
|
|
20
|
-
|
|
|
21
|
+
| array | Item\[\] | Array to be filtered. |
|
|
22
|
+
| condition | (item: Item) => boolean | Predicate function to test each element of the array. It should return <code>true</code> to keep the element; or <code>false</code> otherwise. |
|
|
21
23
|
| childrenKey | Key | Property name within the array used to perform a recursive call. |
|
|
22
24
|
|
|
23
25
|
<b>Returns:</b>
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
Item\[\]
|
|
26
28
|
|
|
27
|
-
A new array with the elements that pass the
|
|
29
|
+
A new array with the elements that pass the condition, or an empty array if no one pass the test.
|
|
28
30
|
|
|
29
31
|
## Example
|
|
30
32
|
|
|
@@ -4,24 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
## deepFlat() function
|
|
6
6
|
|
|
7
|
-
Flat an
|
|
7
|
+
Flat an `Item[]` deeply using the given `childrenKey` to access to his children.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare function deepFlat<
|
|
12
|
+
export declare function deepFlat<Item extends {
|
|
13
|
+
[key in Key]?: Item[];
|
|
14
|
+
}, Key extends keyof Item>(array: Item[], childrenKey: Key): Item[];
|
|
13
15
|
```
|
|
14
16
|
|
|
15
17
|
## Parameters
|
|
16
18
|
|
|
17
19
|
| Parameter | Type | Description |
|
|
18
20
|
| --- | --- | --- |
|
|
19
|
-
| array |
|
|
20
|
-
| childrenKey | Key |
|
|
21
|
+
| array | Item\[\] | The list of items to flat. Each item may have another list of items of the same type to flat. |
|
|
22
|
+
| childrenKey | Key | Property name where each of the items of the given array may have another list of items to be flattened. |
|
|
21
23
|
|
|
22
24
|
<b>Returns:</b>
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
Item\[\]
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
A flat list with all the found items.
|
|
27
29
|
|
|
@@ -9,9 +9,9 @@ IdentifierResults store mutations.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface IdentifierResultsMutations extends StatusMutations
|
|
12
|
+
export interface IdentifierResultsMutations extends StatusMutations, QueryMutations
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)
|
|
14
|
+
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)<!-- -->, QueryMutations
|
|
15
15
|
|
|
16
16
|
## Methods
|
|
17
17
|
|
|
@@ -9,9 +9,9 @@ IdentifierResults store state.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface IdentifierResultsState extends StatusState
|
|
12
|
+
export interface IdentifierResultsState extends StatusState, QueryState
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusState](./x-components.statusstate.md)
|
|
14
|
+
<b>Extends:</b> [StatusState](./x-components.statusstate.md)<!-- -->, QueryState
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
@@ -154,8 +154,8 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
154
154
|
| [currencyFormatter(value, format)](./x-components.currencyformatter.md) | Format a value with a given format. |
|
|
155
155
|
| [debounce(wire, timeInMs, options)](./x-components.debounce.md) | Creates a debounced [Wire](./x-components.wire.md)<!-- -->. Being debounced means that it will only be executed after the time given by <code>timeInMs</code> has passed without invoking it. |
|
|
156
156
|
| [Debounce(debounceTimeInMs, debounceOptions)](./x-components.debounce.md) | Adds debounce to the method that the decorator is applied to. |
|
|
157
|
-
| [deepFilter(array,
|
|
158
|
-
| [deepFlat(array, childrenKey)](./x-components.deepflat.md) | Flat an
|
|
157
|
+
| [deepFilter(array, condition, childrenKey)](./x-components.deepfilter.md) | Filters an array with all elements that pass the test implemented by the given filter function. If an item has another list of items in the <code>childrenKey</code> property it recursively filters that new list, adding it to the returned one. |
|
|
158
|
+
| [deepFlat(array, childrenKey)](./x-components.deepflat.md) | Flat an <code>Item[]</code> deeply using the given <code>childrenKey</code> to access to his children. |
|
|
159
159
|
| [every(object, condition)](./x-components.every.md) | Ensures that the given condition is met in all the non-undefined entries of the object. |
|
|
160
160
|
| [filter(wire, filterFn)](./x-components.filter.md) | Creates a [Wire](./x-components.wire.md) that is only executed whenever the condition in the filterFn is true. |
|
|
161
161
|
| [filterBlacklistedModules(wire, blacklist)](./x-components.filterblacklistedmodules.md) | Creates a [Wire](./x-components.wire.md) that is only executed if the event is emitted from a [XModule](./x-components.xmodule.md) that is NOT included in the <code>blacklist</code> array passed as parameter. |
|
|
@@ -326,6 +326,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
326
326
|
| [UrlGetters](./x-components.urlgetters.md) | URL store getters. |
|
|
327
327
|
| [UrlMutations](./x-components.urlmutations.md) | URL store mutations. |
|
|
328
328
|
| [UrlParams](./x-components.urlparams.md) | URL store params. |
|
|
329
|
+
| [UrlState](./x-components.urlstate.md) | URL store state. |
|
|
329
330
|
| [UrlXEvents](./x-components.urlxevents.md) | Dictionary of the events of URL XModule, where each key is the event name, and the value is the event payload type or <code>void</code> if it has no payload. |
|
|
330
331
|
| [WatchedInternalSearchRequest](./x-components.watchedinternalsearchrequest.md) | A representation of a watched [InternalSearchRequest](./x-components.internalsearchrequest.md) object, wrapping its new and old values. |
|
|
331
332
|
| [WireMetadata](./x-components.wiremetadata.md) | The wires metadata includes more information about the emitted event, so then these events can be processed with more precision if needed. |
|
|
@@ -472,6 +473,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
472
473
|
| [refreshHistoryQueriesSession](./x-components.refreshhistoryqueriessession.md) | Triggers a session refresh, extending its validity for the time configured in the [HistoryQueriesConfig.sessionTTLInMs](./x-components.historyqueriesconfig.sessionttlinms.md)<!-- -->. |
|
|
473
474
|
| [refreshSession](./x-components.refreshsession.md) | Default implementation for the [HistoryQueriesActions.refreshSession()](./x-components.historyqueriesactions.refreshsession.md)<!-- -->. |
|
|
474
475
|
| [relatedTags](./x-components.relatedtags.md) | Default implementation for the [RelatedTagsGetters.relatedTags](./x-components.relatedtagsgetters.relatedtags.md) getter. |
|
|
476
|
+
| [relatedTagsQuery](./x-components.relatedtagsquery.md) | Default implementation for the [RelatedTagsGetters.query](./x-components.relatedtagsgetters.query.md) getter. |
|
|
475
477
|
| [relatedTagsRequest](./x-components.relatedtagsrequest.md) | Default implementation for the [RelatedTagsGetters.request](./x-components.relatedtagsgetters.request.md) getter. |
|
|
476
478
|
| [relatedTagsXModule](./x-components.relatedtagsxmodule.md) | RelatedTags [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>related-tags</code> entry point. |
|
|
477
479
|
| [removeFromHistory](./x-components.removefromhistory.md) | Default implementation for the [HistoryQueriesActions.removeFromHistory()](./x-components.historyqueriesactions.removefromhistory.md)<!-- -->. |
|
|
@@ -487,6 +489,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
487
489
|
| [scrollXModule](./x-components.scrollxmodule.md) | Scroll [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>empathize</code> entry point. |
|
|
488
490
|
| [searchBoxXModule](./x-components.searchboxxmodule.md) | SearchBox [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>search-box</code> entry point. |
|
|
489
491
|
| [SearchIcon](./x-components.searchicon.md) | |
|
|
492
|
+
| [searchQuery](./x-components.searchquery.md) | Default implementation for the [SearchState.query](./x-components.searchstate.query.md) getter. |
|
|
490
493
|
| [searchRequest](./x-components.searchrequest.md) | Default implementation for the [SearchGetters.request](./x-components.searchgetters.request.md) getter. |
|
|
491
494
|
| [SearchTinyIcon](./x-components.searchtinyicon.md) | |
|
|
492
495
|
| [searchXModule](./x-components.searchxmodule.md) | Search [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>search</code> entry point. |
|
|
@@ -667,6 +670,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
667
670
|
| [SimpleStateSelector](./x-components.simplestateselector.md) | Selects a part of the store state or getters (AKA "getter" inside [Vuex](https://vuex.vuejs.org/) watchers). |
|
|
668
671
|
| [StoreEmitters](./x-components.storeemitters.md) | Dictionary where the key is a [XEvent](./x-components.xevent.md)<!-- -->, and the value is [SimpleStateSelector](./x-components.simplestateselector.md) or [StateSelector](./x-components.stateselector.md)<!-- -->. This [SimpleStateSelector](./x-components.simplestateselector.md) or [StateSelector](./x-components.stateselector.md) can only access the state and getters from the [XStoreModule](./x-components.xstoremodule.md) passed as param type. This dictionary is used to emits a [XEvent](./x-components.xevent.md) when the part of the store selected by [SimpleStateSelector](./x-components.simplestateselector.md) changes. |
|
|
669
672
|
| [StoreModuleStateAndGetters](./x-components.storemodulestateandgetters.md) | Type safe which allows the access to the State and the Getters of a [XStoreModule](./x-components.xstoremodule.md)<!-- -->. |
|
|
673
|
+
| [SubObject](./x-components.subobject.md) | Extracts a sub-type with the properties of <code>SomeObject</code> that have the <code>TargetPropertyType</code> type. |
|
|
670
674
|
| [TaggingXModule](./x-components.taggingxmodule.md) | Tagging [XModule](./x-components.xmodule.md) alias. |
|
|
671
675
|
| [TaggingXStoreModule](./x-components.taggingxstoremodule.md) | Tagging type safe store module. |
|
|
672
676
|
| [TakeNavigationControl](./x-components.takenavigationcontrol.md) | Represents when to take control of the navigation. |
|
|
@@ -674,7 +678,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
674
678
|
| [UrlActionContext](./x-components.urlactioncontext.md) | Alias type for actions context of the [UrlXStoreModule](./x-components.urlxstoremodule.md)<!-- -->. |
|
|
675
679
|
| [UrlParamKey](./x-components.urlparamkey.md) | The key of the parameter to store in the URL. |
|
|
676
680
|
| [UrlParamValue](./x-components.urlparamvalue.md) | The allowed values of the parameters to store in the URL. |
|
|
677
|
-
| [UrlState](./x-components.urlstate.md) | URL store state. |
|
|
678
681
|
| [UrlXModule](./x-components.urlxmodule.md) | URL [XModule](./x-components.xmodule.md) alias. |
|
|
679
682
|
| [UrlXStoreModule](./x-components.urlxstoremodule.md) | URL type safe store module. |
|
|
680
683
|
| [VueConstructorPartialArgument](./x-components.vueconstructorpartialargument.md) | First parameter of the Vue constructor. |
|
|
@@ -9,9 +9,9 @@ Next queries module mutations.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface NextQueriesMutations extends StatusMutations
|
|
12
|
+
export interface NextQueriesMutations extends StatusMutations, QueryMutations
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)
|
|
14
|
+
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)<!-- -->, QueryMutations
|
|
15
15
|
|
|
16
16
|
## Methods
|
|
17
17
|
|
|
@@ -9,9 +9,9 @@ Next queries module state.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface NextQueriesState extends StatusState
|
|
12
|
+
export interface NextQueriesState extends StatusState, QueryState
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusState](./x-components.statusstate.md)
|
|
14
|
+
<b>Extends:</b> [StatusState](./x-components.statusstate.md)<!-- -->, QueryState
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
@@ -9,20 +9,19 @@ Extracts the name of the properties of an object that match a type.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export declare type PropsWithType<
|
|
13
|
-
[Key in keyof Type]: Type[Key] extends PropType ? Key : never;
|
|
14
|
-
}[keyof Type];
|
|
12
|
+
export declare type PropsWithType<SomeObject, TargetItem> = keyof SomeObject & keyof SubObject<SomeObject, TargetItem>;
|
|
15
13
|
```
|
|
14
|
+
<b>References:</b> [SubObject](./x-components.subobject.md)
|
|
16
15
|
|
|
17
16
|
## Example
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
```typescript
|
|
21
20
|
interface Person {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
21
|
+
name: string,
|
|
22
|
+
surname: string,
|
|
23
|
+
age: number
|
|
24
|
+
}
|
|
26
25
|
|
|
27
26
|
type StringPersonProperties = PropsWithType<Person, string>; // "name" | "surname";
|
|
28
27
|
```
|
|
@@ -9,9 +9,9 @@ QuerySuggestions store mutations.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface QuerySuggestionsMutations extends StatusMutations
|
|
12
|
+
export interface QuerySuggestionsMutations extends StatusMutations, QueryMutations
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)
|
|
14
|
+
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)<!-- -->, QueryMutations
|
|
15
15
|
|
|
16
16
|
## Methods
|
|
17
17
|
|
|
@@ -9,9 +9,9 @@ QuerySuggestions store state.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface QuerySuggestionsState extends StatusState
|
|
12
|
+
export interface QuerySuggestionsState extends StatusState, QueryState
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusState](./x-components.statusstate.md)
|
|
14
|
+
<b>Extends:</b> [StatusState](./x-components.statusstate.md)<!-- -->, QueryState
|
|
15
15
|
|
|
16
16
|
## Properties
|
|
17
17
|
|
|
@@ -16,6 +16,7 @@ export interface RelatedTagsGetters
|
|
|
16
16
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
|
+
| [query](./x-components.relatedtagsgetters.query.md) | string | The combination of the query and the selected related tags. |
|
|
19
20
|
| [relatedTags](./x-components.relatedtagsgetters.relatedtags.md) | RelatedTag\[\] | List that contains al the related tags, having the selected ones at the first positions (if there are any), and then the unselected ones. |
|
|
20
21
|
| [request](./x-components.relatedtagsgetters.request.md) | RelatedTagsRequest \| null | The adapter request object for retrieving the related tags, or null if there is not valid data to create a request. |
|
|
21
22
|
|
|
@@ -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) > [RelatedTagsGetters](./x-components.relatedtagsgetters.md) > [query](./x-components.relatedtagsgetters.query.md)
|
|
4
|
+
|
|
5
|
+
## RelatedTagsGetters.query property
|
|
6
|
+
|
|
7
|
+
The combination of the query and the selected related tags.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
query: string;
|
|
13
|
+
```
|
|
@@ -9,16 +9,15 @@ RelatedTags store mutations.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface RelatedTagsMutations extends StatusMutations
|
|
12
|
+
export interface RelatedTagsMutations extends StatusMutations, QueryMutations
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)
|
|
14
|
+
<b>Extends:</b> [StatusMutations](./x-components.statusmutations.md)<!-- -->, QueryMutations
|
|
15
15
|
|
|
16
16
|
## Methods
|
|
17
17
|
|
|
18
18
|
| Method | Description |
|
|
19
19
|
| --- | --- |
|
|
20
20
|
| [setParams(params)](./x-components.relatedtagsmutations.setparams.md) | Sets the extra params of the module. |
|
|
21
|
-
| [setQuery(newQuery)](./x-components.relatedtagsmutations.setquery.md) | Sets the query of the module, which is used to retrieve the related tags. |
|
|
22
21
|
| [setRelatedTags(relatedTags)](./x-components.relatedtagsmutations.setrelatedtags.md) | Sets the related tags of the module. |
|
|
23
22
|
| [setSelectedRelatedTags(selectedRelatedTags)](./x-components.relatedtagsmutations.setselectedrelatedtags.md) | Sets the selected related tags of the module. |
|
|
24
23
|
|