@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.types.d.ts","sourceRoot":"","sources":["../../../src/wiring/wiring.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"wiring.types.d.ts","sourceRoot":"","sources":["../../../src/wiring/wiring.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvD;;;;;;;GAOG;AACH,oBAAY,IAAI,CAAC,WAAW,IAAI,CAC9B,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAChD,KAAK,EAAE,KA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,CAAC,WAAW,EAAE,KAAK,CAAC,eAAe,CAAC,KAAK,MAAM,CAAC;AAE3E;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,sFAAsF;IACtF,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC9B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED;;;;GAIG;AACH,MAAM,WAAW,WAAW,CAAC,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;IAC9E;;;;;;OAMG;IACH,CAAC,UAAU,SAAS,MAAM,WAAW,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAC9D,cAAc,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CACxC,CAAC;IACF;;;;;;OAMG;IACH,CAAC,UAAU,SAAS,MAAM,WAAW,EACnC,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,cAAc,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,GAC/C,OAAO,CAAC;CACZ;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB,CAAC,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;IAC5F;;;;;OAKG;IACH,CAAC,UAAU,SAAS,MAAM,WAAW,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC;CACrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAmCxC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HistoryQuery } from '@empathyco/x-types';
|
|
2
2
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
3
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
3
4
|
import { UrlParams } from '../../../types/url-params';
|
|
4
5
|
import { HistoryQueriesConfig } from '../config.types';
|
|
5
6
|
/**
|
|
@@ -7,7 +8,7 @@ import { HistoryQueriesConfig } from '../config.types';
|
|
|
7
8
|
*
|
|
8
9
|
* @public
|
|
9
10
|
*/
|
|
10
|
-
export interface HistoryQueriesState {
|
|
11
|
+
export interface HistoryQueriesState extends QueryState {
|
|
11
12
|
/**
|
|
12
13
|
* Configuration for the `HistoryQueries` module.
|
|
13
14
|
*/
|
|
@@ -55,7 +56,7 @@ export interface HistoryQueriesGetters {
|
|
|
55
56
|
*
|
|
56
57
|
* @public
|
|
57
58
|
*/
|
|
58
|
-
export interface HistoryQueriesMutations {
|
|
59
|
+
export interface HistoryQueriesMutations extends QueryMutations {
|
|
59
60
|
/**
|
|
60
61
|
* Sets the {@link HistoryQueriesState.historyQueries} property.
|
|
61
62
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/history-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9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AAI,CAAC;IACpD;;;;;;OAMG;IACH,iBAAiB,CAAC,cAAc,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AACD;;;;GAIG;AACH,oBAAY,0BAA0B,GAAG,YAAY,CACnD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,2BAA2B,GAAG,cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,6BAuC3C,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SearchByIdRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { Result } from '@empathyco/x-types';
|
|
3
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
4
5
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
5
6
|
import { QueryOrigin, QueryOriginInit } from '../../../types/origin';
|
|
6
7
|
import { Dictionary } from '../../../utils';
|
|
@@ -10,7 +11,7 @@ import { IdentifierResultsConfig } from '../config.types';
|
|
|
10
11
|
*
|
|
11
12
|
* @public
|
|
12
13
|
*/
|
|
13
|
-
export interface IdentifierResultsState extends StatusState {
|
|
14
|
+
export interface IdentifierResultsState extends StatusState, QueryState {
|
|
14
15
|
/** The configuration of the identifier results module. */
|
|
15
16
|
config: IdentifierResultsConfig;
|
|
16
17
|
/** The list of the identifier results, related to the `query` property of the state. */
|
|
@@ -42,7 +43,7 @@ export interface IdentifierResultsGetters {
|
|
|
42
43
|
*
|
|
43
44
|
* @public
|
|
44
45
|
*/
|
|
45
|
-
export interface IdentifierResultsMutations extends StatusMutations {
|
|
46
|
+
export interface IdentifierResultsMutations extends StatusMutations, QueryMutations {
|
|
46
47
|
/**
|
|
47
48
|
* Sets the identifier results of the module.
|
|
48
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,WAAW;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/identifier-results/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC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IACH,mCAAmC,IAAI,IAAI,CAAC;IAC5C;;;;OAIG;IACH,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,MAAM,EAAE,CAAC;IACpE;;OAEG;IACH,6BAA6B,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC;IACvE;;;;OAIG;IACH,UAAU,CAAC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;;;GAIG;AACH,oBAAY,6BAA6B,GAAG,YAAY,CACtD,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,+BAA+B,GAAG,cAAc,CAC1D,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,CACzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,uBAqCrC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NextQueriesRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { HistoryQuery, NextQuery } from '@empathyco/x-types';
|
|
3
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
4
5
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
5
6
|
import { UrlParams } from '../../../types/url-params';
|
|
6
7
|
import { Dictionary } from '../../../utils';
|
|
@@ -10,7 +11,7 @@ import { NextQueriesConfig } from '../config.types';
|
|
|
10
11
|
*
|
|
11
12
|
* @public
|
|
12
13
|
*/
|
|
13
|
-
export interface NextQueriesState extends StatusState {
|
|
14
|
+
export interface NextQueriesState extends StatusState, QueryState {
|
|
14
15
|
/** The internal query of the module. Used to request the next queries. */
|
|
15
16
|
query: string;
|
|
16
17
|
/** The list of the next queries, related to the `query` property of the state. */
|
|
@@ -39,7 +40,7 @@ export interface NextQueriesGetters {
|
|
|
39
40
|
*
|
|
40
41
|
* @public
|
|
41
42
|
*/
|
|
42
|
-
export interface NextQueriesMutations extends StatusMutations {
|
|
43
|
+
export interface NextQueriesMutations extends StatusMutations, QueryMutations {
|
|
43
44
|
/**
|
|
44
45
|
* Sets the query of the module, which is used to retrieve the next-queries.
|
|
45
46
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/next-queries/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;A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AE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;CAC9C;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,6BAA6B,IAAI,IAAI,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,IAAI,CAAC;IACzE;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;OAEG;IACH,4BAA4B,CAAC,cAAc,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACnE;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG,YAAY,CAChD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,wBAAwB,GAAG,cAAc,CACnD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/module.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,4BAkC1C,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SuggestionsRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { Suggestion } from '@empathyco/x-types';
|
|
3
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
4
5
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
5
6
|
import { UrlParams } from '../../../types/url-params';
|
|
6
7
|
import { Dictionary } from '../../../utils';
|
|
@@ -10,7 +11,7 @@ import { QuerySuggestionsConfig } from '../config.types';
|
|
|
10
11
|
*
|
|
11
12
|
* @public
|
|
12
13
|
*/
|
|
13
|
-
export interface QuerySuggestionsState extends StatusState {
|
|
14
|
+
export interface QuerySuggestionsState extends StatusState, QueryState {
|
|
14
15
|
/** The query of the query suggestions module. Used to request the suggestions. */
|
|
15
16
|
query: string;
|
|
16
17
|
/** The suggestions for the query of the state. */
|
|
@@ -39,7 +40,7 @@ export interface QuerySuggestionsGetters {
|
|
|
39
40
|
*
|
|
40
41
|
* @public
|
|
41
42
|
*/
|
|
42
|
-
export interface QuerySuggestionsMutations extends StatusMutations {
|
|
43
|
+
export interface QuerySuggestionsMutations extends StatusMutations, QueryMutations {
|
|
43
44
|
/**
|
|
44
45
|
* Sets the query of the query suggestions module.
|
|
45
46
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/query-suggestions/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,WAAW;
|
|
1
|
+
{"version":3,"file":"types.d.ts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CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;CAC9C;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,6BAA6B,IAAI,IAAI,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,UAAU,EAAE,CAAC;IACnE;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,oBAAY,4BAA4B,GAAG,YAAY,CACrD,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,CACxB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,6BAA6B,GAAG,cAAc,CACxD,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-url-params.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/actions/set-url-params.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"set-url-params.action.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/actions/set-url-params.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAkBnD;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,cAAc,CAO3E,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RelatedTagsXStoreModule } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Default implementation for the {@link RelatedTagsGetters.query} getter.
|
|
4
|
+
*
|
|
5
|
+
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
|
|
6
|
+
* tags' module.
|
|
7
|
+
*
|
|
8
|
+
* @returns The query with the selected related tags concatenated.
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare const query: RelatedTagsXStoreModule['getters']['query'];
|
|
13
|
+
//# sourceMappingURL=query.getter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/getters/query.getter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,OAAO,CAE5D,CAAC"}
|
|
@@ -4,6 +4,8 @@ import { RelatedTagsXStoreModule } from '../types';
|
|
|
4
4
|
*
|
|
5
5
|
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
|
|
6
6
|
* tags module.
|
|
7
|
+
* @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the
|
|
8
|
+
* related tags module.
|
|
7
9
|
*
|
|
8
10
|
* @returns The related tags request to fetch data from the API.
|
|
9
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD
|
|
1
|
+
{"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/related-tags/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACnD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,SAAS,CAYjE,CAAC"}
|
|
@@ -3,6 +3,7 @@ export * from './actions/fetch-related-tags.action';
|
|
|
3
3
|
export * from './actions/toggle-related-tag.action';
|
|
4
4
|
export * from './emitters';
|
|
5
5
|
export * from './getters/related-tags.getter';
|
|
6
|
+
export { query as relatedTagsQuery } from './getters/query.getter';
|
|
6
7
|
export { request as relatedTagsRequest } from './getters/request.getter';
|
|
7
8
|
export * from './module';
|
|
8
9
|
export * from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,YAAY,CAAC;AAC3B,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,KAAK,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/module.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;GAIG;AAEH,eAAO,MAAM,uBAAuB,EAAE,uBAoCrC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RelatedTagsRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { RelatedTag } from '@empathyco/x-types';
|
|
3
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
4
5
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
5
6
|
import { UrlParams } from '../../../types/url-params';
|
|
6
7
|
import { Dictionary } from '../../../utils';
|
|
@@ -10,9 +11,7 @@ import { RelatedTagsConfig } from '../config.types';
|
|
|
10
11
|
*
|
|
11
12
|
* @public
|
|
12
13
|
*/
|
|
13
|
-
export interface RelatedTagsState extends StatusState {
|
|
14
|
-
/** The internal query of the module. Used to request the related tags. */
|
|
15
|
-
query: string;
|
|
14
|
+
export interface RelatedTagsState extends StatusState, QueryState {
|
|
16
15
|
/** The list of the related tags, related to the `query` property of the state. */
|
|
17
16
|
relatedTags: RelatedTag[];
|
|
18
17
|
/** The list of the selected related tags. */
|
|
@@ -35,19 +34,15 @@ export interface RelatedTagsGetters {
|
|
|
35
34
|
* (if there are any), and then the unselected ones.
|
|
36
35
|
*/
|
|
37
36
|
relatedTags: RelatedTag[];
|
|
37
|
+
/** The combination of the query and the selected related tags. */
|
|
38
|
+
query: string;
|
|
38
39
|
}
|
|
39
40
|
/**
|
|
40
41
|
* RelatedTags store mutations.
|
|
41
42
|
*
|
|
42
43
|
* @public
|
|
43
44
|
*/
|
|
44
|
-
export interface RelatedTagsMutations extends StatusMutations {
|
|
45
|
-
/**
|
|
46
|
-
* Sets the query of the module, which is used to retrieve the related tags.
|
|
47
|
-
*
|
|
48
|
-
* @param newQuery - The new query to save to the state.
|
|
49
|
-
*/
|
|
50
|
-
setQuery(newQuery: string): void;
|
|
45
|
+
export interface RelatedTagsMutations extends StatusMutations, QueryMutations {
|
|
51
46
|
/**
|
|
52
47
|
* Sets the related tags of the module.
|
|
53
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/related-tags/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB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,oBAAY,uBAAuB,GAAG,YAAY,CAChD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,wBAAwB,GAAG,cAAc,CACnD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window-scroll.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/scroll/components/window-scroll.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,WAAW,EAAmB,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,aAAK,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;;AAEzC;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,iBAAmB;IAC3D;;;;OAIG;IAEH,SAAS,CAAC,iBAAiB,EAAG,iBAAiB,CAAC;IAChD;;;;OAIG;IAEH,SAAS,CAAC,EAAE,EAAG,MAAM,CAAC;IAEtB,OAAO,IAAI,IAAI;IAuBf;;;;;OAKG;IACH,SAAS,CAAC,oBAAoB,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"window-scroll.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/scroll/components/window-scroll.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,WAAW,EAAmB,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,aAAK,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;;AAEzC;;;;;;GAMG;AAIH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,iBAAmB;IAC3D;;;;OAIG;IAEH,SAAS,CAAC,iBAAiB,EAAG,iBAAiB,CAAC;IAChD;;;;OAIG;IAEH,SAAS,CAAC,EAAE,EAAG,MAAM,CAAC;IAEtB,OAAO,IAAI,IAAI;IAuBf;;;;;OAKG;IACH,SAAS,CAAC,oBAAoB,IAAI,IAAI;IAMtC,MAAM,IAAI,IAAI;IAEd;;OAEG;IACH,aAAa,IAAI,IAAI;IAIrB;;;;;OAKG;IACH,SAAS,CAAC,oBAAoB,IAAI,OAAO,CAAC,YAAY,CAAC;CAGxD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SearchXStoreModule } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Default implementation for the {@link SearchState.query} getter.
|
|
4
|
+
*
|
|
5
|
+
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the related
|
|
6
|
+
* tags' module.
|
|
7
|
+
*
|
|
8
|
+
* @returns The query with the selected related tags concatenated.
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare const query: SearchXStoreModule['getters']['query'];
|
|
13
|
+
//# sourceMappingURL=query.getter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/query.getter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,CAEvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"request.getter.d.ts","sourceRoot":"","sources":["../../../../../../src/x-modules/search/store/getters/request.getter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,SAAS,CAa5D,CAAC"}
|
|
@@ -2,6 +2,7 @@ export * from './actions/fetch-and-save-search-response.action';
|
|
|
2
2
|
export * from './actions/fetch-search-response.action';
|
|
3
3
|
export * from './emitters';
|
|
4
4
|
export { request as searchRequest } from './getters/request.getter';
|
|
5
|
+
export { query as searchQuery } from './getters/query.getter';
|
|
5
6
|
export * from './module';
|
|
6
7
|
export * from './types';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,wCAAwC,CAAC;AACvD,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC9D,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAoGhC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SearchRequest, SearchResponse } from '@empathyco/x-adapter';
|
|
2
2
|
import { Banner, Facet, Filter, PartialResult, Promoted, Redirection, RelatedTag, Result, Sort, TaggingInfo } from '@empathyco/x-types';
|
|
3
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
4
5
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
5
6
|
import { QueryOrigin, QueryOriginInit } from '../../../types/origin';
|
|
6
7
|
import { UrlParams } from '../../../types/url-params';
|
|
@@ -12,7 +13,7 @@ import { InternalSearchRequest, WatchedInternalSearchRequest } from '../types';
|
|
|
12
13
|
*
|
|
13
14
|
* @public
|
|
14
15
|
*/
|
|
15
|
-
export interface SearchState extends StatusState {
|
|
16
|
+
export interface SearchState extends StatusState, QueryState {
|
|
16
17
|
/** The list of the banners, related to the `query` property of the state. */
|
|
17
18
|
banners: Banner[];
|
|
18
19
|
/** The configuration of the search module. */
|
|
@@ -60,13 +61,15 @@ export interface SearchGetters {
|
|
|
60
61
|
/** The adapter request object for retrieving the results, or null if there is not
|
|
61
62
|
* valid data to create a request. */
|
|
62
63
|
request: InternalSearchRequest | null;
|
|
64
|
+
/** The combination of the query and the selected related tags. */
|
|
65
|
+
query: string;
|
|
63
66
|
}
|
|
64
67
|
/**
|
|
65
68
|
* Search store mutations.
|
|
66
69
|
*
|
|
67
70
|
* @public
|
|
68
71
|
*/
|
|
69
|
-
export interface SearchMutations extends StatusMutations {
|
|
72
|
+
export interface SearchMutations extends StatusMutations, QueryMutations {
|
|
70
73
|
/**
|
|
71
74
|
* Append the results to the results state.
|
|
72
75
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,QAAQ,EACR,WAAW,EACX,UAAU,EACV,MAAM,EACN,IAAI,EACJ,WAAW,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAE/E;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,WAAW;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,MAAM,EACN,KAAK,EACL,MAAM,EACN,aAAa,EACb,QAAQ,EACR,WAAW,EACX,UAAU,EACV,MAAM,EACN,IAAI,EACJ,WAAW,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE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,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/store/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,qBAenC,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { XStoreModule } from '../../../store';
|
|
2
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
2
3
|
import { UrlParams } from '../../../types/url-params';
|
|
3
4
|
/**
|
|
4
5
|
* SearchBox store state.
|
|
5
6
|
*
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
8
|
-
export interface SearchBoxState {
|
|
9
|
+
export interface SearchBoxState extends QueryState {
|
|
9
10
|
/** The query of the search box input. */
|
|
10
11
|
query: string;
|
|
11
12
|
}
|
|
@@ -23,7 +24,7 @@ export interface SearchBoxGetters {
|
|
|
23
24
|
*
|
|
24
25
|
* @public
|
|
25
26
|
*/
|
|
26
|
-
export interface SearchBoxMutations {
|
|
27
|
+
export interface SearchBoxMutations extends QueryMutations {
|
|
27
28
|
/**
|
|
28
29
|
* Sets the new query of the search-box.
|
|
29
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/search-box/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,UAAU;IAChD,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,kDAAkD;IAClD,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1C;AAED;;;;GAIG;AACH,oBAAY,qBAAqB,GAAG,YAAY,CAC9C,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,CACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/store/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/store/module.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,eA+B7B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Filter, RelatedTag } from '@empathyco/x-types';
|
|
2
2
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
3
|
+
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
3
4
|
import { UrlParams } from '../../../types/url-params';
|
|
4
5
|
import { Dictionary } from '../../../utils/types';
|
|
5
6
|
/**
|
|
@@ -7,9 +8,9 @@ import { Dictionary } from '../../../utils/types';
|
|
|
7
8
|
*
|
|
8
9
|
* @public
|
|
9
10
|
*/
|
|
10
|
-
export
|
|
11
|
+
export interface UrlState extends QueryState, UrlParams {
|
|
11
12
|
initialExtraParams: Dictionary<unknown>;
|
|
12
|
-
}
|
|
13
|
+
}
|
|
13
14
|
/**
|
|
14
15
|
* URL store getters.
|
|
15
16
|
*
|
|
@@ -36,7 +37,7 @@ export declare type UrlParamValue = string | number | boolean | Array<string | n
|
|
|
36
37
|
*
|
|
37
38
|
* @public
|
|
38
39
|
*/
|
|
39
|
-
export interface UrlMutations {
|
|
40
|
+
export interface UrlMutations extends QueryMutations {
|
|
40
41
|
/**
|
|
41
42
|
* Sets the new params.
|
|
42
43
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM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Ae,GAAG,YAAY,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;AAE3F;;;;GAIG;AACH,oBAAY,gBAAgB,GAAG,cAAc,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-adapter](./x-adapter.md) > [EmpathyRequestRelatedTagsQueryMapper](./x-adapter.empathyrequestrelatedtagsquerymapper.md) > [map](./x-adapter.empathyrequestrelatedtagsquerymapper.map.md)
|
|
4
|
-
|
|
5
|
-
## EmpathyRequestRelatedTagsQueryMapper.map() method
|
|
6
|
-
|
|
7
|
-
<b>Signature:</b>
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
map({ relatedTags }: QueryableRequest, query: string): string;
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
| Parameter | Type | Description |
|
|
16
|
-
| --- | --- | --- |
|
|
17
|
-
| { relatedTags } | [QueryableRequest](./x-adapter.queryablerequest.md) | |
|
|
18
|
-
| query | string | |
|
|
19
|
-
|
|
20
|
-
<b>Returns:</b>
|
|
21
|
-
|
|
22
|
-
string
|
|
23
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-adapter](./x-adapter.md) > [EmpathyRequestRelatedTagsQueryMapper](./x-adapter.empathyrequestrelatedtagsquerymapper.md)
|
|
4
|
-
|
|
5
|
-
## EmpathyRequestRelatedTagsQueryMapper class
|
|
6
|
-
|
|
7
|
-
TODO https://searchbroker.atlassian.net/browse/EX-2163
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare class EmpathyRequestRelatedTagsQueryMapper implements RequestMapper<QueryableRequest, string>
|
|
13
|
-
```
|
|
14
|
-
<b>Implements:</b> [RequestMapper](./x-adapter.requestmapper.md)<!-- --><[QueryableRequest](./x-adapter.queryablerequest.md)<!-- -->, string>
|
|
15
|
-
|
|
16
|
-
## Methods
|
|
17
|
-
|
|
18
|
-
| Method | Modifiers | Description |
|
|
19
|
-
| --- | --- | --- |
|
|
20
|
-
| [map({ relatedTags }, query)](./x-adapter.empathyrequestrelatedtagsquerymapper.map.md) | | |
|
|
21
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-adapter](./x-adapter.md) > [QueryableRequest](./x-adapter.queryablerequest.md) > [relatedTags](./x-adapter.queryablerequest.relatedtags.md)
|
|
4
|
-
|
|
5
|
-
## QueryableRequest.relatedTags property
|
|
6
|
-
|
|
7
|
-
<b>Signature:</b>
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
relatedTags?: RelatedTag[];
|
|
11
|
-
```
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RelatedTagsMutations](./x-components.relatedtagsmutations.md) > [setQuery](./x-components.relatedtagsmutations.setquery.md)
|
|
4
|
-
|
|
5
|
-
## RelatedTagsMutations.setQuery() method
|
|
6
|
-
|
|
7
|
-
Sets the query of the module, which is used to retrieve the related tags.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
setQuery(newQuery: string): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| newQuery | string | The new query to save to the state. |
|
|
20
|
-
|
|
21
|
-
<b>Returns:</b>
|
|
22
|
-
|
|
23
|
-
void
|
|
24
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RelatedTagsState](./x-components.relatedtagsstate.md) > [query](./x-components.relatedtagsstate.query.md)
|
|
4
|
-
|
|
5
|
-
## RelatedTagsState.query property
|
|
6
|
-
|
|
7
|
-
The internal query of the module. Used to request the related tags.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
query: string;
|
|
13
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedTag](./x-types.relatedtag.md) > [previous](./x-types.relatedtag.previous.md)
|
|
4
|
-
|
|
5
|
-
## RelatedTag.previous property
|
|
6
|
-
|
|
7
|
-
The query to refine.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
previous: string;
|
|
13
|
-
```
|