@zengenti/contensis-react-base 4.0.1-beta.4 → 4.0.1-beta.6
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/cjs/{App-BPOOl6WT.js → App-B4lM6agZ.js} +12 -12
- package/cjs/{App-BPOOl6WT.js.map → App-B4lM6agZ.js.map} +1 -1
- package/cjs/{ChangePassword.container-C4Du3Wb1.js → ChangePassword.container-BoqpDiwG.js} +7 -5
- package/cjs/ChangePassword.container-BoqpDiwG.js.map +1 -0
- package/cjs/{ContensisDeliveryApi-MfcvdfDR.js → ContensisDeliveryApi-DK6h38qF.js} +3 -3
- package/cjs/ContensisDeliveryApi-DK6h38qF.js.map +1 -0
- package/cjs/{RouteLoader-DJeM8cym.js → RouteLoader-BiOaN1UR.js} +4 -4
- package/cjs/{RouteLoader-DJeM8cym.js.map → RouteLoader-BiOaN1UR.js.map} +1 -1
- package/cjs/{SSRContext-tMufQDHY.js → SSRContext-CLXEw_2_.js} +2 -2
- package/cjs/{SSRContext-tMufQDHY.js.map → SSRContext-CLXEw_2_.js.map} +1 -1
- package/cjs/{VersionInfo-zFPsvS8q.js → VersionInfo-CpP1IGb1.js} +3 -3
- package/cjs/{VersionInfo-zFPsvS8q.js.map → VersionInfo-CpP1IGb1.js.map} +1 -1
- package/cjs/build.js +219 -0
- package/cjs/build.js.map +1 -0
- package/cjs/client.js +13 -13
- package/cjs/contensis-react-base.js +13 -13
- package/cjs/dev-server-globals.js +21 -0
- package/cjs/dev-server-globals.js.map +1 -0
- package/cjs/{matchGroups-dqONU-vY.js → matchGroups-DLmGn1r9.js} +2 -2
- package/cjs/{matchGroups-dqONU-vY.js.map → matchGroups-DLmGn1r9.js.map} +1 -1
- package/cjs/redux.js +7 -7
- package/cjs/redux.js.map +1 -1
- package/cjs/routing.js +10 -10
- package/cjs/{sagas-BCy9u6zA.js → sagas-QxP64pWP.js} +8 -6
- package/cjs/sagas-QxP64pWP.js.map +1 -0
- package/cjs/search.js +6 -6
- package/cjs/{selectors-BrxJ8-F8.js → selectors-Q46vKF5x.js} +8 -9
- package/cjs/selectors-Q46vKF5x.js.map +1 -0
- package/cjs/{store-B7SJs5Hf.js → store-KMrEU1xg.js} +2 -2
- package/cjs/{store-B7SJs5Hf.js.map → store-KMrEU1xg.js.map} +1 -1
- package/cjs/user.js +3 -3
- package/cjs/{util-eOjxDjxF.js → util-DN9QA3ad.js} +5 -2
- package/cjs/util-DN9QA3ad.js.map +1 -0
- package/cjs/util.js +6 -6
- package/cjs/{version-rFG9Y6_B.js → version-CeiM6ens.js} +2 -2
- package/cjs/{version-rFG9Y6_B.js.map → version-CeiM6ens.js.map} +1 -1
- package/cjs/{version-yjHMrfVz.js → version-YZhB8Qpj.js} +3 -3
- package/cjs/{version-yjHMrfVz.js.map → version-YZhB8Qpj.js.map} +1 -1
- package/esm/{App-CXpRkfiq.js → App-B4DZvIeM.js} +13 -13
- package/esm/{App-CXpRkfiq.js.map → App-B4DZvIeM.js.map} +1 -1
- package/esm/{ChangePassword.container-CUBtn82K.js → ChangePassword.container-DtqL0Qfl.js} +8 -6
- package/esm/ChangePassword.container-DtqL0Qfl.js.map +1 -0
- package/esm/{ContensisDeliveryApi-LWYXevZ1.js → ContensisDeliveryApi-Bunv_SAl.js} +3 -3
- package/esm/ContensisDeliveryApi-Bunv_SAl.js.map +1 -0
- package/esm/{RouteLoader-CzrlySZf.js → RouteLoader-DUIGFY9l.js} +7 -7
- package/esm/{RouteLoader-CzrlySZf.js.map → RouteLoader-DUIGFY9l.js.map} +1 -1
- package/esm/{SSRContext-Bxtg1KGv.js → SSRContext-DR0HqYeN.js} +2 -2
- package/esm/{SSRContext-Bxtg1KGv.js.map → SSRContext-DR0HqYeN.js.map} +1 -1
- package/esm/{VersionInfo-By2ZCZOh.js → VersionInfo-CYROPZ_C.js} +6 -6
- package/esm/{VersionInfo-By2ZCZOh.js.map → VersionInfo-CYROPZ_C.js.map} +1 -1
- package/esm/build.js +208 -0
- package/esm/build.js.map +1 -0
- package/esm/client.js +15 -15
- package/esm/contensis-react-base.js +15 -15
- package/esm/dev-server-globals.js +15 -0
- package/esm/dev-server-globals.js.map +1 -0
- package/esm/i18n.js +2 -2
- package/esm/{matchGroups-_w8BwzCC.js → matchGroups-DOA5huT8.js} +3 -3
- package/esm/{matchGroups-_w8BwzCC.js.map → matchGroups-DOA5huT8.js.map} +1 -1
- package/esm/redux.js +7 -7
- package/esm/routing.js +7 -7
- package/esm/{sagas-Fr9yRduO.js → sagas-ihPDAPBT.js} +10 -8
- package/esm/sagas-ihPDAPBT.js.map +1 -0
- package/esm/search.js +9 -9
- package/esm/{selectors-8ROQrTd7.js → selectors-CWU-QA6Y.js} +7 -4
- package/esm/selectors-CWU-QA6Y.js.map +1 -0
- package/esm/{selectors-DcmvOeX2.js → selectors-D4ulaTom.js} +2 -2
- package/esm/{selectors-DcmvOeX2.js.map → selectors-D4ulaTom.js.map} +1 -1
- package/esm/{store-B4IrBYHm.js → store-D2EkBct5.js} +3 -3
- package/esm/{store-B4IrBYHm.js.map → store-D2EkBct5.js.map} +1 -1
- package/esm/user.js +5 -5
- package/esm/{util-Bl2u6LpY.js → util-C6G2Ax0o.js} +6 -3
- package/esm/util-C6G2Ax0o.js.map +1 -0
- package/esm/util.js +6 -6
- package/esm/{version-BQAL8sQO.js → version-D5HlSpAe.js} +3 -3
- package/esm/{version-BQAL8sQO.js.map → version-D5HlSpAe.js.map} +1 -1
- package/esm/{version-CA9Mdm3A.js → version-D_MNGWLg.js} +4 -4
- package/esm/{version-CA9Mdm3A.js.map → version-D_MNGWLg.js.map} +1 -1
- package/models/build/cli.d.ts +2 -0
- package/models/build/dev-server-runtime-globals.d.ts +1 -0
- package/models/build/dev-server.d.ts +12 -0
- package/models/i18n/redux/slice.d.ts +170 -60
- package/models/routing/redux/selectors.d.ts +4 -4
- package/models/search/redux/sagas.d.ts +1 -1
- package/models/server/features/reverse-proxy/index.d.ts +3 -2
- package/models/user/redux/sagas/login.d.ts +1 -1
- package/models/util/ContensisDeliveryApi.d.ts +1 -1
- package/models/util/donotuse_useHistory.d.ts +3 -3
- package/models/util/navigation.d.ts +1 -1
- package/package.json +34 -26
- package/cjs/ChangePassword.container-C4Du3Wb1.js.map +0 -1
- package/cjs/ContensisDeliveryApi-MfcvdfDR.js.map +0 -1
- package/cjs/sagas-BCy9u6zA.js.map +0 -1
- package/cjs/selectors-BrxJ8-F8.js.map +0 -1
- package/cjs/util-eOjxDjxF.js.map +0 -1
- package/esm/ChangePassword.container-CUBtn82K.js.map +0 -1
- package/esm/ContensisDeliveryApi-LWYXevZ1.js.map +0 -1
- package/esm/sagas-Fr9yRduO.js.map +0 -1
- package/esm/selectors-8ROQrTd7.js.map +0 -1
- package/esm/util-Bl2u6LpY.js.map +0 -1
package/esm/routing.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { R as Redirect, a as RouteLoader, S as Status, u as useHttpContext } from './RouteLoader-
|
|
3
|
-
export {
|
|
1
|
+
export { B as actions, D as selectors, E as types } from './selectors-CWU-QA6Y.js';
|
|
2
|
+
export { R as Redirect, a as RouteLoader, S as Status, u as useHttpContext } from './RouteLoader-DUIGFY9l.js';
|
|
3
|
+
export { h as routeParams } from './util-C6G2Ax0o.js';
|
|
4
4
|
import 'immer';
|
|
5
5
|
import 'reselect';
|
|
6
6
|
import 'jsonpath-mapper';
|
|
@@ -8,12 +8,12 @@ import 'query-string';
|
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'react-redux';
|
|
10
10
|
import 'react-router-dom';
|
|
11
|
-
import './matchGroups-
|
|
12
|
-
import './SSRContext-
|
|
11
|
+
import './matchGroups-DOA5huT8.js';
|
|
12
|
+
import './SSRContext-DR0HqYeN.js';
|
|
13
13
|
import 'react-cookie';
|
|
14
|
-
import './ContensisDeliveryApi-
|
|
14
|
+
import './ContensisDeliveryApi-Bunv_SAl.js';
|
|
15
15
|
import 'contensis-delivery-api';
|
|
16
|
-
import './store-
|
|
16
|
+
import './store-D2EkBct5.js';
|
|
17
17
|
import 'redux';
|
|
18
18
|
import 'redux-thunk';
|
|
19
19
|
import 'redux-saga';
|
|
@@ -3,17 +3,17 @@ import { useDispatch, useSelector } from 'react-redux';
|
|
|
3
3
|
import { createSelector } from 'reselect';
|
|
4
4
|
import * as log from 'loglevel';
|
|
5
5
|
import { takeEvery, select, put, call, all } from '@redux-saga/core/effects';
|
|
6
|
-
import {
|
|
7
|
-
import { L as LruCache, g as getClientConfig, c as cachedSearch } from './ContensisDeliveryApi-
|
|
6
|
+
import { b as selectVersionStatus } from './version-D5HlSpAe.js';
|
|
7
|
+
import { L as LruCache, g as getClientConfig, c as cachedSearch } from './ContensisDeliveryApi-Bunv_SAl.js';
|
|
8
8
|
import { Client } from 'contensis-delivery-api';
|
|
9
|
-
import {
|
|
10
|
-
import { s as selectCurrentLanguage } from './selectors-
|
|
9
|
+
import { r as removeEmptyAttributes, e as extractQuotedPhrases, f as fixFreeTextForElastic, d as convertKeyForAggregation, g as getItemsFromResult, b as cleanseFieldIdForAggregation, a as areArraysEqualSets, c as callCustomApi, t as timedSearch } from './util-C6G2Ax0o.js';
|
|
10
|
+
import { s as selectCurrentLanguage } from './selectors-D4ulaTom.js';
|
|
11
11
|
import './slice-C6JLQik8.js';
|
|
12
12
|
import mapJson, { jpath } from 'jsonpath-mapper';
|
|
13
13
|
import { Op, OrderBy, Query } from 'contensis-core-api';
|
|
14
14
|
import merge from 'deepmerge';
|
|
15
15
|
import { parse, stringify } from 'query-string';
|
|
16
|
-
import {
|
|
16
|
+
import { a1 as selectStaticRoute, H as selectCurrentPath, I as selectCurrentProject } from './selectors-CWU-QA6Y.js';
|
|
17
17
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
18
18
|
|
|
19
19
|
const ACTION_PREFIX = '@SEARCH/';
|
|
@@ -662,7 +662,7 @@ const searchUriTemplate = {
|
|
|
662
662
|
// term is passed via an argument
|
|
663
663
|
const stateFilters = term ? {} : Object.fromEntries(Object.entries(getLocalisedRenderableSelectedFilters(state, facet, context)).map(([k, f]) => [k, f === null || f === void 0 ? void 0 : f.join(',')]));
|
|
664
664
|
const currentSearch = !term && getImmutableOrJS(state, ['routing', 'location', 'search']);
|
|
665
|
-
const currentQs = removeEmptyAttributes(parse(currentSearch));
|
|
665
|
+
const currentQs = removeEmptyAttributes(parse(currentSearch || ''));
|
|
666
666
|
|
|
667
667
|
// An argument is provided with the updated value
|
|
668
668
|
// when the relevant action has been triggered
|
|
@@ -688,6 +688,8 @@ const searchUriTemplate = {
|
|
|
688
688
|
if (pageSize) mergedSearch.pageSize = pageSize;
|
|
689
689
|
|
|
690
690
|
// We don't want these as search params in the url, we just need the search package to see them
|
|
691
|
+
// [query-string v6+] BEHAVIOUR CHANGE: sort defaults to true — output key order is now alphabetical.
|
|
692
|
+
// Pass { sort: false } if URL key order matters for cache keys or string comparison downstream.
|
|
691
693
|
return stringify(mergedSearch);
|
|
692
694
|
},
|
|
693
695
|
hash: ({
|
|
@@ -6066,5 +6068,5 @@ function* triggerSearchSsr(options) {
|
|
|
6066
6068
|
yield call(setRouteFilters, options);
|
|
6067
6069
|
}
|
|
6068
6070
|
|
|
6069
|
-
export {
|
|
6070
|
-
//# sourceMappingURL=sagas-
|
|
6071
|
+
export { triggerListingSsr as $, APPLY_CONFIG as A, getIsLoading$2 as B, CLEAR_FILTERS as C, getPageIndex$2 as D, EXECUTE_SEARCH as E, getPageIsLoading$2 as F, getPaging as G, getQueryParameter$2 as H, getRenderableFilters$2 as I, getResults as J, getResultsInfo as K, LOAD_FILTERS as L, getSearchTerm$2 as M, getSearchTotalCount$1 as N, getSelectedFilters as O, getTabFacets$1 as P, getTabsAndFacets$1 as Q, getTotalCount$1 as R, SET_ROUTE_FILTERS as S, orderByExpression as T, UPDATE_PAGE_INDEX as U, queries as V, searchSagas as W, selectListing as X, selectors as Y, setRouteFilters as Z, termExpressions as _, Context as a, triggerMinilistSsr as a0, triggerSearch as a1, triggerSearchSsr as a2, types as a3, updateCurrentFacet$1 as a4, updateCurrentTab$1 as a5, updatePageIndex$1 as a6, updatePageSize$1 as a7, updateSearchTerm$1 as a8, updateSelectedFilters as a9, updateSortOrder$1 as aa, useFacets as ab, useListing as ac, withMappers as ad, EXECUTE_SEARCH_ERROR as b, LOAD_FILTERS_COMPLETE as c, LOAD_FILTERS_ERROR as d, SET_SEARCH_ENTRIES as e, SET_SEARCH_FILTERS as f, UPDATE_PAGE_SIZE as g, UPDATE_SEARCH_TERM as h, UPDATE_SELECTED_FILTERS as i, UPDATE_SORT_ORDER as j, actions as k, clearFilters$1 as l, cloneDeep as m, contentTypeIdExpression as n, customWhereExpressions as o, defaultExpressions as p, doSearch as q, expressions as r, filterExpressions as s, getCurrentFacet as t, getCurrentTab$1 as u, getFacet$1 as v, getFacetTitles$1 as w, getFacetsTotalCount$1 as x, getFeaturedResults$2 as y, getFilters as z };
|
|
6072
|
+
//# sourceMappingURL=sagas-ihPDAPBT.js.map
|