@empathyco/x-components 3.0.0-alpha.76 → 3.0.0-alpha.77
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 +13 -0
- package/core/index.js +0 -1
- package/core/index.js.map +1 -1
- package/design-system/default-theme.css +100 -100
- package/design-system/full-theme.css +14 -15
- package/docs/API-reference/api/x-components.actionstree.md +1 -1
- package/docs/API-reference/api/x-components.anyactionstree.md +1 -1
- package/docs/API-reference/api/x-components.anygetterstree.md +1 -1
- package/docs/API-reference/api/x-components.anymutationstree.md +1 -1
- package/docs/API-reference/api/x-components.compilemessage.md +1 -1
- package/docs/API-reference/api/x-components.extraparams.md +2 -2
- package/docs/API-reference/api/x-components.extraparamsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsstate.md +1 -1
- package/docs/API-reference/api/x-components.extraparamsxevents.md +4 -4
- package/docs/API-reference/api/x-components.getterstree.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.identifierresultsstate.md +1 -1
- package/docs/API-reference/api/x-components.md +0 -8
- package/docs/API-reference/api/x-components.mutationstree.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.nextqueriesstate.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.popularsearchesstate.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.querysuggestionsstate.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.recommendationsstate.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.relatedtagsstate.md +1 -1
- package/docs/API-reference/api/x-components.renderlessextraparams.md +1 -1
- package/docs/API-reference/api/x-components.returns.md +0 -2
- package/docs/API-reference/api/x-components.scrollstate.md +1 -1
- package/docs/API-reference/api/x-components.searchmutations.setparams.md +1 -1
- package/docs/API-reference/api/x-components.searchstate.md +2 -2
- package/docs/API-reference/api/x-components.setextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setidentifierresultsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setinitialextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setnextqueriesextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setpopularsearchesextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setquerysuggestionsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setrecommendationsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setrelatedtagsextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setsearchextraparams.md +1 -1
- package/docs/API-reference/api/x-components.simplestateselector.md +0 -2
- package/docs/API-reference/api/x-components.snippetconfigextraparams.md +1 -1
- package/docs/API-reference/api/x-components.urlhandler.md +1 -1
- package/docs/API-reference/api/x-components.urlmutations.setinitialextraparams.md +1 -1
- package/docs/API-reference/api/x-components.urlstate.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.extraparamsloadedfromurl.md +1 -1
- package/docs/API-reference/api/x-components.urlxevents.md +1 -1
- package/docs/API-reference/api/x-components.vuecssclasses.md +0 -2
- package/docs/API-reference/api/x-components.wiring.md +1 -1
- package/js/components/global-x-bus.vue.js.map +1 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/components/global-x-bus.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue.js.map +1 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/components/suggestions/base-suggestion.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/filters/compile-message.filter.js.map +1 -1
- package/js/index.js +0 -1
- package/js/index.js.map +1 -1
- package/js/plugins/x-emitters.js +1 -1
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/plugins/x-plugin.js +1 -2
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/store/utils/getters-proxy.utils.js +1 -1
- package/js/store/utils/getters-proxy.utils.js.map +1 -1
- package/js/store/utils/store-emitters.utils.js.map +1 -1
- package/js/x-installer/x-installer/x-installer.js +1 -1
- package/js/x-installer/x-installer/x-installer.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js +1 -2
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue.js +2 -2
- package/js/x-modules/facets/components/facets/facets.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/x-modules/facets/components/facets/facets.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js +1 -1
- package/js/x-modules/facets/store/getters/facets.getter.js.map +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js +1 -1
- package/js/x-modules/facets/store/getters/selected-filters-by-facet.getter.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/search/store/actions/reset-state.action.js +1 -1
- package/js/x-modules/search/store/actions/reset-state.action.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue_script.vue.js +1 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js +1 -1
- package/js/x-modules/url/store/getters/url-params.getter.js.map +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js +1 -1
- package/js/x-modules/url/store/mutations/set-params.mutation.js.map +1 -1
- package/package.json +5 -5
- package/report/x-components.api.json +70 -744
- package/report/x-components.api.md +1 -24
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/components/suggestions/base-suggestion.vue.d.ts.map +1 -1
- package/types/filters/compile-message.filter.d.ts +1 -1
- package/types/filters/compile-message.filter.d.ts.map +1 -1
- package/types/plugins/x-emitters.d.ts.map +1 -1
- package/types/plugins/x-plugin.d.ts.map +1 -1
- package/types/store/actions.types.d.ts +2 -1
- package/types/store/actions.types.d.ts.map +1 -1
- package/types/store/getters.types.d.ts +1 -1
- package/types/store/getters.types.d.ts.map +1 -1
- package/types/store/mutations.types.d.ts +1 -1
- package/types/store/mutations.types.d.ts.map +1 -1
- package/types/store/utils/getters-proxy.utils.d.ts.map +1 -1
- package/types/store/utils/store-emitters.utils.d.ts +2 -1
- package/types/store/utils/store-emitters.utils.d.ts.map +1 -1
- package/types/utils/index.d.ts +0 -1
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/types.d.ts +1 -9
- package/types/utils/types.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +2 -1
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/x-installer/x-installer/x-installer.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/renderless-extra-param.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/extra-params/events.types.d.ts +1 -1
- package/types/x-modules/extra-params/events.types.d.ts.map +1 -1
- package/types/x-modules/extra-params/store/emitters.d.ts +1 -1
- package/types/x-modules/extra-params/store/types.d.ts +1 -1
- package/types/x-modules/extra-params/store/types.d.ts.map +1 -1
- package/types/x-modules/extra-params/wiring.d.ts +4 -4
- package/types/x-modules/extra-params/wiring.d.ts.map +1 -1
- package/types/x-modules/facets/components/facets/facets.vue.d.ts +1 -1
- package/types/x-modules/facets/components/facets/facets.vue.d.ts.map +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts +1 -1
- package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
- package/types/x-modules/identifier-results/wiring.d.ts +2 -2
- package/types/x-modules/identifier-results/wiring.d.ts.map +1 -1
- package/types/x-modules/next-queries/store/types.d.ts +1 -1
- package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
- package/types/x-modules/next-queries/wiring.d.ts +2 -2
- package/types/x-modules/next-queries/wiring.d.ts.map +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts +1 -1
- package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
- package/types/x-modules/popular-searches/wiring.d.ts +2 -2
- package/types/x-modules/popular-searches/wiring.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts +1 -1
- package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
- package/types/x-modules/query-suggestions/wiring.d.ts +2 -2
- package/types/x-modules/query-suggestions/wiring.d.ts.map +1 -1
- package/types/x-modules/recommendations/store/types.d.ts +1 -1
- package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
- package/types/x-modules/recommendations/wiring.d.ts +2 -2
- package/types/x-modules/recommendations/wiring.d.ts.map +1 -1
- package/types/x-modules/related-tags/store/types.d.ts +1 -1
- package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts +2 -2
- package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts +1 -1
- package/types/x-modules/scroll/components/scroll-to-top.vue.d.ts.map +1 -1
- package/types/x-modules/scroll/store/types.d.ts +1 -1
- package/types/x-modules/scroll/store/types.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +1 -1
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +2 -2
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/types/x-modules/url/events.types.d.ts +3 -2
- package/types/x-modules/url/events.types.d.ts.map +1 -1
- package/types/x-modules/url/store/types.d.ts +1 -1
- package/types/x-modules/url/store/types.d.ts.map +1 -1
- package/types/x-modules/url/wiring.d.ts +2 -2
- package/types/x-modules/url/wiring.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.cleanundefined.md +0 -26
- package/docs/API-reference/api/x-components.dictionary.md +0 -13
- package/docs/API-reference/api/x-components.every.md +0 -27
- package/docs/API-reference/api/x-components.foreach.md +0 -25
- package/docs/API-reference/api/x-components.getnewandupdatedkeys.md +0 -27
- package/docs/API-reference/api/x-components.map.md +0 -27
- package/docs/API-reference/api/x-components.objectfilter.md +0 -27
- package/docs/API-reference/api/x-components.reduce.md +0 -28
- package/js/utils/object.js +0 -115
- package/js/utils/object.js.map +0 -1
- package/types/utils/object.d.ts +0 -70
- package/types/utils/object.d.ts.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SuggestionsRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { Suggestion } from '@empathyco/x-types';
|
|
3
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
3
4
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
5
|
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
5
6
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
6
7
|
import { UrlParams } from '../../../types/url-params';
|
|
7
|
-
import { Dictionary } from '../../../utils';
|
|
8
8
|
import { QuerySuggestionsConfig } from '../config.types';
|
|
9
9
|
/**
|
|
10
10
|
* QuerySuggestions store state.
|
|
@@ -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,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,
|
|
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,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,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,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"}
|
|
@@ -9,7 +9,7 @@ export declare const setQuerySuggestionsQuery: import("../..").Wire<string>;
|
|
|
9
9
|
*
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
export declare const setQuerySuggestionsExtraParams: import("../..").Wire<import("
|
|
12
|
+
export declare const setQuerySuggestionsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
13
13
|
/**
|
|
14
14
|
* Clears the query-suggestions module query.
|
|
15
15
|
*
|
|
@@ -51,7 +51,7 @@ export declare const querySuggestionsWiring: {
|
|
|
51
51
|
fetchAndSaveSuggestionsWire: import("../..").Wire<import("@empathyco/x-adapter").SuggestionsRequest | null>;
|
|
52
52
|
};
|
|
53
53
|
ExtraParamsChanged: {
|
|
54
|
-
setQuerySuggestionsExtraParams: import("../..").Wire<import("
|
|
54
|
+
setQuerySuggestionsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/query-suggestions/wiring.ts"],"names":[],"mappings":"AAqCA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,8BAAyB,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/query-suggestions/wiring.ts"],"names":[],"mappings":"AAqCA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,8BAAyB,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,wEAA0B,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,yBAA6B,CAAC;AASrE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,gFAA0C,CAAC;AAEnF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,yBAE7C,CAAC;AAOF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAwBjC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TopRecommendationsRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { Result } from '@empathyco/x-types';
|
|
3
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
3
4
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
5
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
5
|
-
import { Dictionary } from '../../../utils/types';
|
|
6
6
|
import { RecommendationsConfig } from '../config.types';
|
|
7
7
|
/**
|
|
8
8
|
* Recommendations store state.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/recommendations/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/recommendations/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,YAAY,EA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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare const setRecommendationsExtraParams: import("../..").Wire<import("
|
|
6
|
+
export declare const setRecommendationsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
7
7
|
/**
|
|
8
8
|
* Wiring configuration for the {@link RecommendationsXModule | recommendations module}.
|
|
9
9
|
*
|
|
@@ -15,7 +15,7 @@ export declare const recommendationsWiring: {
|
|
|
15
15
|
};
|
|
16
16
|
UserClickedColumnPicker: {};
|
|
17
17
|
ExtraParamsChanged: {
|
|
18
|
-
setRecommendationsExtraParams: import("../..").Wire<import("
|
|
18
|
+
setRecommendationsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/recommendations/wiring.ts"],"names":[],"mappings":"AAgCA;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/recommendations/wiring.ts"],"names":[],"mappings":"AAgCA;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,wEAA0B,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;CAQhC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RelatedTagsRequest } from '@empathyco/x-adapter';
|
|
2
2
|
import { RelatedTag } from '@empathyco/x-types';
|
|
3
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
3
4
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
5
|
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
5
6
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
6
7
|
import { UrlParams } from '../../../types/url-params';
|
|
7
|
-
import { Dictionary } from '../../../utils';
|
|
8
8
|
import { RelatedTagsConfig } from '../config.types';
|
|
9
9
|
/**
|
|
10
10
|
* RelatedTags store state.
|
|
@@ -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,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,
|
|
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,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,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW,EAAE,UAAU;I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B,kBAAkB,CACnB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,wBAAwB,GAAG,cAAc,CACnD,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,CACnB,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare const setRelatedTagsQuery: import("../..").Wire<string>;
|
|
|
9
9
|
*
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
export declare const setRelatedTagsExtraParams: import("../..").Wire<import("
|
|
12
|
+
export declare const setRelatedTagsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
13
13
|
/**
|
|
14
14
|
* Requests and stores the related tags.
|
|
15
15
|
*
|
|
@@ -74,7 +74,7 @@ export declare const relatedTagsWiring: {
|
|
|
74
74
|
clearSelectedRelatedTags: import("../..").AnyWire;
|
|
75
75
|
};
|
|
76
76
|
ExtraParamsChanged: {
|
|
77
|
-
setRelatedTagsExtraParams: import("../..").Wire<import("
|
|
77
|
+
setRelatedTagsExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
80
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-tags/wiring.ts"],"names":[],"mappings":"AAiCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAC;AAE1D;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/related-tags/wiring.ts"],"names":[],"mappings":"AAiCA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,8BAAyB,CAAC;AAE1D;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,wEAA0B,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,gFAA0C,CAAC;AAEnF;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,yBAE7C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,+DAAmC,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,yBAA2C,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,yBAA6B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,iDAA+B,CAAC;AAE7D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;CAyB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-to-top.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"scroll-to-top.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/scroll/components/scroll-to-top.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,GAAG,MAAM,KAAK,CAAC;AAKtB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAIhD;;;;;GAKG;AAKH,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,GAAG;IAC1C;;;;OAIG;IAEI,SAAS,EAAG,GAAG,GAAG,MAAM,CAAC;IAEhC;;;;OAIG;IAEI,WAAW,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;OAIG;IAEI,QAAQ,EAAG,MAAM,CAAC;IAEzB;;;;OAIG;IAGI,kBAAkB,EAAG,UAAU,CAAC,oBAAoB,CAAC,CAAC;IAE7D;;;;;;OAMG;IACH,SAAS,KAAK,UAAU,IAAI,oBAAoB,CAU/C;IAED;;;;;OAKG;IACH,SAAS,KAAK,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAE5C;IAED;;;;;OAKG;IACH,SAAS,KAAK,oBAAoB,IAAI,OAAO,CAE5C;IAED;;;;;OAKG;IACH,SAAS,KAAK,kBAAkB,IAAI,OAAO,CAE1C;IAED;;;;;OAKG;IACH,SAAS,KAAK,SAAS,IAAI,OAAO,CAEjC;IAED;;;;;OAKG;IACH,SAAS,KAAK,yBAAyB,IAAI,OAAO,CAEjD;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Identifiable } from '@empathyco/x-types';
|
|
2
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
2
3
|
import { ScrollDirection } from '../../../components/scroll/scroll.types';
|
|
3
4
|
import { XStoreModule } from '../../../store';
|
|
4
|
-
import { Dictionary } from '../../../utils/types';
|
|
5
5
|
/**
|
|
6
6
|
* Scroll store state.
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/scroll/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/scroll/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACvC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;CAAG;AAEjC;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,kBAAkB,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAClD;;;;OAIG;IACH,uBAAuB,CAAC,YAAY,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACjE;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAmB,SAAQ,YAAY,CAAC,MAAM,CAAC;IAC9D;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;CAAG;AAEjC;;;;GAIG;AACH,oBAAY,kBAAkB,GAAG,YAAY,CAC3C,WAAW,EACX,aAAa,EACb,eAAe,EACf,aAAa,CACd,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
3
4
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
4
5
|
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
5
6
|
import { StatusMutations, StatusState } from '../../../store/utils/status-store.utils';
|
|
6
7
|
import { QueryOrigin, QueryOriginInit } from '../../../types/origin';
|
|
7
8
|
import { UrlParams } from '../../../types/url-params';
|
|
8
|
-
import { Dictionary } from '../../../utils/types';
|
|
9
9
|
import { SearchConfig } from '../config.types';
|
|
10
10
|
import { InternalSearchRequest, WatchedInternalSearchRequest } from '../types';
|
|
11
11
|
/**
|
|
@@ -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,cAAc,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9E,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,
|
|
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,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;AAC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<num
|
|
|
64
64
|
*
|
|
65
65
|
* @public
|
|
66
66
|
*/
|
|
67
|
-
export declare const setSearchExtraParams: import("../../wiring/wiring.types").Wire<import("
|
|
67
|
+
export declare const setSearchExtraParams: import("../../wiring/wiring.types").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
68
68
|
/**
|
|
69
69
|
* Increases the current search state `page` by one.
|
|
70
70
|
*
|
|
@@ -138,7 +138,7 @@ export declare const searchWiring: {
|
|
|
138
138
|
setSort: import("../../wiring/wiring.types").Wire<string>;
|
|
139
139
|
};
|
|
140
140
|
ExtraParamsChanged: {
|
|
141
|
-
setSearchExtraParams: import("../../wiring/wiring.types").Wire<import("
|
|
141
|
+
setSearchExtraParams: import("../../wiring/wiring.types").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
144
|
//# sourceMappingURL=wiring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/wiring.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA6BhD;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,6CAEhD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,6CAAyD,CAAC;AAErF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,wEAA6C,CAAC;AAEzF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,6CAAkC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,cAAc,qFAA+B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,cAAc,kDAAyB,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,iFAAmC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,OAAO,kDAAwB,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,YAAY,qEAA+B,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,aAAa,kDAAwB,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/search/wiring.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA6BhD;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,6CAEhD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,6CAAyD,CAAC;AAErF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,wEAA6C,CAAC;AAEzF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,6CAAkC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,cAAc,qFAA+B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,cAAc,kDAAyB,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,iFAAmC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,OAAO,kDAAwB,CAAC;AAE7C;;;;GAIG;AACH,eAAO,MAAM,YAAY,qEAA+B,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,aAAa,kDAAwB,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,4FAA0B,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,6CAExC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,kDAA4B,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,cAAc,6CAA0C,CAAC;AAEtE;;;;GAIG;AACH,eAAO,MAAM,cAAc,6CAM1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CvB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
1
2
|
import Vue from 'vue';
|
|
2
3
|
import { FeatureLocation } from '../../../types/origin';
|
|
3
4
|
import { UrlParams } from '../../../types/url-params';
|
|
4
|
-
import { Dictionary } from '../../../utils/types';
|
|
5
5
|
import { WireMetadata } from '../../../wiring/wiring.types';
|
|
6
6
|
import { SnippetConfig } from '../../../x-installer/api/api.types';
|
|
7
7
|
import { UrlParamValue } from '../store/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-handler.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/components/url-handler.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"url-handler.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/url/components/url-handler.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAgB,MAAM,oBAAoB,CAAC;AAC9D,OAAO,GAAG,MAAM,KAAK,CAAC;AAMtB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,UAAU,eAAe;IACvB,GAAG,EAAE,SAAS,CAAC;IACf,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC5B;AAED;;;;;;GAMG;AAOH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,GAAG;IACzC;;;;OAIG;IAEH,SAAS,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC;IAExC;;;;OAIG;IACH,SAAS,CAAC,SAAS,UAAS;IAE5B;;;;OAIG;IACH,SAAS,CAAC,GAAG,CAAC,EAAE,GAAG,CA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S,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMpE;;;;;;;;;;OAUG;IACH,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,aAAa;CAatE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
1
2
|
import { UrlParams } from '../../types/url-params';
|
|
2
|
-
import { Dictionary } from '../../utils/types';
|
|
3
3
|
/**
|
|
4
4
|
* Dictionary of the events of URL XModule, where each key is the event name, and the value is
|
|
5
5
|
* the event payload type or `void` if it has no payload.
|
|
@@ -14,7 +14,8 @@ export interface UrlXEvents {
|
|
|
14
14
|
ParamsLoadedFromUrl: UrlParams;
|
|
15
15
|
/**
|
|
16
16
|
* Url loaded.
|
|
17
|
-
* * Payload: The extra params form URL in form of {@link Dictionary
|
|
17
|
+
* * Payload: The extra params form URL in form of {@link @empathyco/x-utils#Dictionary
|
|
18
|
+
* | Dictionary} with `unknown` values.
|
|
18
19
|
*/
|
|
19
20
|
ExtraParamsLoadedFromUrl: Dictionary<unknown>;
|
|
20
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/url/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/url/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,mBAAmB,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,wBAAwB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC9C;;;OAGG;IACH,uBAAuB,EAAE,SAAS,CAAC;IACnC;;;OAGG;IACH,0BAA0B,EAAE,SAAS,CAAC;CACvC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Filter, RelatedTag } from '@empathyco/x-types';
|
|
2
|
+
import { Dictionary } from '@empathyco/x-utils';
|
|
2
3
|
import { XActionContext, XStoreModule } from '../../../store';
|
|
3
4
|
import { QueryMutations, QueryState } from '../../../store/utils/query.utils';
|
|
4
5
|
import { UrlParams } from '../../../types/url-params';
|
|
5
|
-
import { Dictionary } from '../../../utils/types';
|
|
6
6
|
/**
|
|
7
7
|
* URL store state.
|
|
8
8
|
*
|
|
@@ -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,
|
|
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,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,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,QAAS,SAAQ,UAAU,EAAE,SAAS;IACrD,kBAAkB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,qCAAqC;IACrC,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,oBAAY,WAAW,GAAG,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,CAAC,CAAC;AAE3D;;;;GAIG;AACH,oBAAY,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAEzF;;;;GAIG;AACH,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAChD;;;;OAIG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,qBAAqB,CAAC,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;CAC/D;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;CAAG;AAE9B;;;;GAIG;AACH,oBAAY,eAAe,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"}
|
|
@@ -39,7 +39,7 @@ export declare const setUrlScroll: import("../..").Wire<string>;
|
|
|
39
39
|
*
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
export declare const setInitialExtraParams: import("../..").Wire<import("
|
|
42
|
+
export declare const setInitialExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
43
43
|
/**
|
|
44
44
|
* Sets the filters of the url module.
|
|
45
45
|
*
|
|
@@ -77,7 +77,7 @@ export declare const urlWiring: {
|
|
|
77
77
|
setParams: import("../..").Wire<Partial<import("../..").UrlParams>>;
|
|
78
78
|
};
|
|
79
79
|
ExtraParamsInitialized: {
|
|
80
|
-
setInitialExtraParams: import("../..").Wire<import("
|
|
80
|
+
setInitialExtraParams: import("../..").Wire<import("@empathyco/x-utils").Dictionary<unknown>>;
|
|
81
81
|
};
|
|
82
82
|
UserScrolledToElement: {
|
|
83
83
|
setUrlScroll: import("../..").Wire<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/url/wiring.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iEAA+B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,WAAW,8BAAyB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,SAAS,0DAA0B,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0B,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/url/wiring.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iEAA+B,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,WAAW,8BAAyB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAwB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,SAAS,0DAA0B,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0B,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,wEAAsC,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,aAAa,6DAA2B,CAAC;AAEtD;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC"}
|
|
@@ -1,26 +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) > [cleanUndefined](./x-components.cleanundefined.md)
|
|
4
|
-
|
|
5
|
-
## cleanUndefined() function
|
|
6
|
-
|
|
7
|
-
Creates an object picking only the not undefined properties.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function cleanUndefined<T>(obj: T): T;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| obj | T | The object from whom pick the values. |
|
|
20
|
-
|
|
21
|
-
<b>Returns:</b>
|
|
22
|
-
|
|
23
|
-
T
|
|
24
|
-
|
|
25
|
-
A new object with the not undefined properties of the source object.
|
|
26
|
-
|
|
@@ -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) > [Dictionary](./x-components.dictionary.md)
|
|
4
|
-
|
|
5
|
-
## Dictionary type
|
|
6
|
-
|
|
7
|
-
Object where all its properties are strings, and the value of them is defined by the type of the T property.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare type Dictionary<T = any> = Record<string, T>;
|
|
13
|
-
```
|
|
@@ -1,27 +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) > [every](./x-components.every.md)
|
|
4
|
-
|
|
5
|
-
## every() function
|
|
6
|
-
|
|
7
|
-
Ensures that the given condition is met in all the non-undefined entries of the object.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function every<ObjectType extends Dictionary>(object: ObjectType, condition: (key: keyof ObjectType, value: Exclude<ObjectType[keyof ObjectType], undefined>, index: number) => boolean): boolean;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| object | ObjectType | The object to check if every item meets the given condition. |
|
|
20
|
-
| condition | (key: keyof ObjectType, value: Exclude<ObjectType\[keyof ObjectType\], undefined>, index: number) => boolean | The condition to check in each one of the entries of the object. |
|
|
21
|
-
|
|
22
|
-
<b>Returns:</b>
|
|
23
|
-
|
|
24
|
-
boolean
|
|
25
|
-
|
|
26
|
-
True when all the entries pass the condition. False otherwise.
|
|
27
|
-
|
|
@@ -1,25 +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) > [forEach](./x-components.foreach.md)
|
|
4
|
-
|
|
5
|
-
## forEach() function
|
|
6
|
-
|
|
7
|
-
Iterates over every non-undefined property of the object calling the callback passed as parameter.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function forEach<T extends Dictionary>(obj: T | undefined | null, callbackFn: (key: keyof T, value: Exclude<T[keyof T], undefined>, index: number) => void): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| obj | T \| undefined \| null | The object to iterate through each property. |
|
|
20
|
-
| callbackFn | (key: keyof T, value: Exclude<T\[keyof T\], undefined>, index: number) => void | The callback function to call for each property. |
|
|
21
|
-
|
|
22
|
-
<b>Returns:</b>
|
|
23
|
-
|
|
24
|
-
void
|
|
25
|
-
|
|
@@ -1,27 +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) > [getNewAndUpdatedKeys](./x-components.getnewandupdatedkeys.md)
|
|
4
|
-
|
|
5
|
-
## getNewAndUpdatedKeys() function
|
|
6
|
-
|
|
7
|
-
Compares two objects of the same type, checking the values of their keys and retrieving those that were not present in the old value and/or those whose value has changed.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function getNewAndUpdatedKeys<ObjectType extends Dictionary>(newValue: ObjectType | undefined, oldValue: ObjectType | undefined): (keyof ObjectType)[];
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| newValue | ObjectType \| undefined | The new object value. |
|
|
20
|
-
| oldValue | ObjectType \| undefined | The old object value. |
|
|
21
|
-
|
|
22
|
-
<b>Returns:</b>
|
|
23
|
-
|
|
24
|
-
(keyof ObjectType)\[\]
|
|
25
|
-
|
|
26
|
-
An array of keys.
|
|
27
|
-
|
|
@@ -1,27 +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) > [map](./x-components.map.md)
|
|
4
|
-
|
|
5
|
-
## map() function
|
|
6
|
-
|
|
7
|
-
Creates an object from another object transforming each property value.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function map<T extends Dictionary, W>(obj: T | undefined | null, mapper: (key: keyof T, value: Exclude<T[keyof T], undefined>, index: number) => W): Record<keyof T, W>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| obj | T \| undefined \| null | The object to transform each property value. |
|
|
20
|
-
| mapper | (key: keyof T, value: Exclude<T\[keyof T\], undefined>, index: number) => W | The mapper function which will transform each value. |
|
|
21
|
-
|
|
22
|
-
<b>Returns:</b>
|
|
23
|
-
|
|
24
|
-
Record<keyof T, W>
|
|
25
|
-
|
|
26
|
-
A record with the result of the mapper.
|
|
27
|
-
|
|
@@ -1,27 +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) > [objectFilter](./x-components.objectfilter.md)
|
|
4
|
-
|
|
5
|
-
## objectFilter() function
|
|
6
|
-
|
|
7
|
-
Creates an object picking only the ones that pass the test implemented by the provided function isIncluded.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function objectFilter<T extends Dictionary>(obj: T | undefined | null, isIncluded: (key: keyof T, value: Exclude<T[keyof T], undefined>, index: number) => boolean): T;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| obj | T \| undefined \| null | T object to be filtered. |
|
|
20
|
-
| isIncluded | (key: keyof T, value: Exclude<T\[keyof T\], undefined>, index: number) => boolean | Test function that every obj item must pass. |
|
|
21
|
-
|
|
22
|
-
<b>Returns:</b>
|
|
23
|
-
|
|
24
|
-
T
|
|
25
|
-
|
|
26
|
-
A filtered object.
|
|
27
|
-
|
|
@@ -1,28 +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) > [reduce](./x-components.reduce.md)
|
|
4
|
-
|
|
5
|
-
## reduce() function
|
|
6
|
-
|
|
7
|
-
Iterates through the obj properties calling the reducer function.
|
|
8
|
-
|
|
9
|
-
<b>Signature:</b>
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function reduce<T extends Dictionary, V>(obj: T | undefined | null, reducer: (accumulator: V, key: keyof T, value: Exclude<T[keyof T], undefined>, index: number) => V, initialValue: V): V;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| obj | T \| undefined \| null | The object to iterate through each property. |
|
|
20
|
-
| reducer | (accumulator: V, key: keyof T, value: Exclude<T\[keyof T\], undefined>, index: number) => V | A function that will be called for each property, modifying the initialValue object. |
|
|
21
|
-
| initialValue | V | The initial value of the accumulator property of the reducer function. |
|
|
22
|
-
|
|
23
|
-
<b>Returns:</b>
|
|
24
|
-
|
|
25
|
-
V
|
|
26
|
-
|
|
27
|
-
Result of the reducer function.
|
|
28
|
-
|