@zengenti/contensis-react-base 4.0.0-beta.64 → 4.0.0-beta.65
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-TTUKj85f.js → App-46jKG194.js} +55 -7
- package/cjs/App-46jKG194.js.map +1 -0
- package/cjs/{ContensisDeliveryApi-gN3_MHEl.js → ContensisDeliveryApi-MfcvdfDR.js} +2 -2
- package/cjs/{ContensisDeliveryApi-gN3_MHEl.js.map → ContensisDeliveryApi-MfcvdfDR.js.map} +1 -1
- package/cjs/{RouteLoader-BM8DyfcF.js → RouteLoader-DJeM8cym.js} +2 -2
- package/cjs/{RouteLoader-BM8DyfcF.js.map → RouteLoader-DJeM8cym.js.map} +1 -1
- package/cjs/{SSRContext-DotLlTQc.js → SSRContext-tMufQDHY.js} +2 -2
- package/cjs/{SSRContext-DotLlTQc.js.map → SSRContext-tMufQDHY.js.map} +1 -1
- package/cjs/client.js +9 -9
- package/cjs/contensis-react-base.js +9 -9
- package/cjs/redux.js +2 -2
- package/cjs/routing.js +5 -5
- package/cjs/{sagas-OfBUtx74.js → sagas-BCy9u6zA.js} +3 -3
- package/cjs/{sagas-OfBUtx74.js.map → sagas-BCy9u6zA.js.map} +1 -1
- package/cjs/search.js +4 -4
- package/cjs/{store-Dn7vP6G0.js → store-B7SJs5Hf.js} +13 -2
- package/cjs/store-B7SJs5Hf.js.map +1 -0
- package/cjs/{util-wQwG9vit.js → util-eOjxDjxF.js} +2 -2
- package/cjs/{util-wQwG9vit.js.map → util-eOjxDjxF.js.map} +1 -1
- package/cjs/util.js +3 -3
- package/cjs/{version-2FamXHhj.js → version-yjHMrfVz.js} +2 -2
- package/cjs/{version-2FamXHhj.js.map → version-yjHMrfVz.js.map} +1 -1
- package/esm/{App-DaHtrw85.js → App-DRfPMjmq.js} +56 -8
- package/esm/App-DRfPMjmq.js.map +1 -0
- package/esm/{ContensisDeliveryApi-CvEoOLCl.js → ContensisDeliveryApi-LWYXevZ1.js} +2 -2
- package/esm/{ContensisDeliveryApi-CvEoOLCl.js.map → ContensisDeliveryApi-LWYXevZ1.js.map} +1 -1
- package/esm/{RouteLoader-BwDPahRW.js → RouteLoader-CzrlySZf.js} +2 -2
- package/esm/{RouteLoader-BwDPahRW.js.map → RouteLoader-CzrlySZf.js.map} +1 -1
- package/esm/{SSRContext-CYxBWky3.js → SSRContext-Bxtg1KGv.js} +2 -2
- package/esm/{SSRContext-CYxBWky3.js.map → SSRContext-Bxtg1KGv.js.map} +1 -1
- package/esm/client.js +10 -10
- package/esm/contensis-react-base.js +10 -10
- package/esm/redux.js +4 -4
- package/esm/routing.js +5 -5
- package/esm/{sagas-BZWjx5by.js → sagas-Fr9yRduO.js} +3 -3
- package/esm/{sagas-BZWjx5by.js.map → sagas-Fr9yRduO.js.map} +1 -1
- package/esm/search.js +6 -6
- package/esm/{store-DSjRYsM2.js → store-B4IrBYHm.js} +13 -2
- package/esm/store-B4IrBYHm.js.map +1 -0
- package/esm/{util-BafFLYzn.js → util-Bl2u6LpY.js} +2 -2
- package/esm/{util-BafFLYzn.js.map → util-Bl2u6LpY.js.map} +1 -1
- package/esm/util.js +3 -3
- package/esm/{version-B75wA6Te.js → version-CA9Mdm3A.js} +2 -2
- package/esm/{version-B75wA6Te.js.map → version-CA9Mdm3A.js.map} +1 -1
- package/package.json +1 -1
- package/cjs/App-TTUKj85f.js.map +0 -1
- package/cjs/store-Dn7vP6G0.js.map +0 -1
- package/esm/App-DaHtrw85.js.map +0 -1
- package/esm/store-DSjRYsM2.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSRContext-
|
|
1
|
+
{"version":3,"file":"SSRContext-Bxtg1KGv.js","sources":["../src/util/subsite.ts","../src/util/SSRContext.tsx"],"sourcesContent":["import type { Request } from 'express';\n\ndeclare let window: typeof globalThis & {\n subsitePath: string | undefined;\n};\n\nconst isSSR = typeof window === 'undefined';\n\nconst ensureLeadingSlash = (value: string) =>\n value.startsWith('/') ? value : `/${value}`;\n\nconst trimTrailingSlash = (value: string) =>\n value.length > 1 && value.endsWith('/') ? value.slice(0, -1) : value;\n\nconst normalizeSubsitePath = (path?: string) => {\n const trimmed = `${path || ''}`.trim();\n if (!trimmed || trimmed === '/') return '';\n return trimTrailingSlash(ensureLeadingSlash(trimmed));\n};\n\nconst addSubsitePath = (path: string, subsitePath: string) => {\n if (!path || path === '/') return subsitePath;\n if (path.startsWith(subsitePath)) return path;\n return `${subsitePath}${path.startsWith('/') ? '' : '/'}${path}`;\n};\n\nconst trimSubsitePath = (path: string, subsitePath: string) => {\n if (!path.startsWith(subsitePath)) return path;\n const stripped = path.slice(subsitePath.length);\n return stripped ? stripped : '/';\n};\n\n/**\n * Retrieves a subsite path from the request headers in SSR or the global window object in CSR.\n * @param request The SSR request.\n * @returns The normalized subsite path.\n */\nexport const getSubsitePath = (request?: Request) =>\n isSSR\n ? normalizeSubsitePath(request?.headers?.['subsite_path'] as string)\n : window.subsitePath;\n\nexport const transformPathForSubsite = (\n path: string,\n request?: Request\n): {\n clientPath: string;\n contentPath: string;\n subsitePath?: string;\n} => {\n const subsitePath = getSubsitePath(request);\n if (!subsitePath) return { clientPath: path, contentPath: path };\n\n return {\n clientPath: isSSR ? trimSubsitePath(path, subsitePath) : path,\n contentPath: isSSR ? path : addSubsitePath(path, subsitePath),\n subsitePath,\n };\n};\n","import { Request, Response } from 'express';\nimport React, {\n PropsWithChildren,\n createContext,\n useContext,\n useState,\n} from 'react';\nimport { useCookies } from 'react-cookie';\nimport { useDispatch } from 'react-redux';\nimport { SSRAccessMethod, SSRContext as SSRContextType } from '~/models';\nimport { cachedSearchWithContext } from '~/util/CachedDeliveryApi';\nimport { CookieHelper } from '~/user/util/CookieHelper.class';\nimport { getSubsitePath } from './subsite';\n\nconst SSRContext = createContext<SSRContextType | null>(null);\n\n/**\n * SSRContextProvider allows us to hold and access request-scoped references\n * throughout the component tree\n *\n * adding this in client side allows consumers to write universal code and use\n * the same helpers and request-scoped refs for api, cookies and redux dispatcher\n * as in SSR */\nexport const SSRContextProvider = ({\n accessMethod,\n children,\n request,\n response,\n}: PropsWithChildren<{\n accessMethod?: SSRAccessMethod;\n request?: Request;\n response?: Response;\n}>) => {\n // In SSR pass references to things in backing sagas\n // we cannot access in a global scope\n const dispatch = useDispatch();\n const cookies = new CookieHelper(...useCookies());\n const api = cachedSearchWithContext({ cookies, dispatch, request, response });\n const subsitePath = getSubsitePath(request);\n\n const [context] = useState<SSRContextType>({\n accessMethod,\n api,\n cookies,\n dispatch,\n request,\n response,\n subsitePath,\n });\n\n return (\n <SSRContext.Provider value={{ ...context }}>{children}</SSRContext.Provider>\n );\n};\n\n/**\n * Server side usage provides access to request-scoped references throughout the component tree\n *\n * Client side usage allows consumers to write universal code, using the same\n * helpers and request-scoped refs for api, cookies and redux dispatcher as in SSR\n * @returns SSRContextType\n */\nexport const useSSRContext = () => useContext(SSRContext) as SSRContextType;\n\nexport const useDeliveryApi = () => {\n const { api } = useSSRContext();\n return api;\n};\n"],"names":["isSSR","window","ensureLeadingSlash","value","startsWith","trimTrailingSlash","length","endsWith","slice","normalizeSubsitePath","path","trimmed","trim","addSubsitePath","subsitePath","trimSubsitePath","stripped","getSubsitePath","request","_request$headers","headers","transformPathForSubsite","clientPath","contentPath","SSRContext","createContext","SSRContextProvider","accessMethod","children","response","dispatch","useDispatch","cookies","CookieHelper","useCookies","api","cachedSearchWithContext","context","useState","React","createElement","Provider","useSSRContext","useContext","useDeliveryApi"],"mappings":";;;;;;AAMA,MAAMA,KAAK,GAAG,OAAOC,MAAM,KAAK,WAAW;AAE3C,MAAMC,kBAAkB,GAAIC,KAAa,IACvCA,KAAK,CAACC,UAAU,CAAC,GAAG,CAAC,GAAGD,KAAK,GAAG,CAAA,CAAA,EAAIA,KAAK,CAAA,CAAE;AAE7C,MAAME,iBAAiB,GAAIF,KAAa,IACtCA,KAAK,CAACG,MAAM,GAAG,CAAC,IAAIH,KAAK,CAACI,QAAQ,CAA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AAChB,UAAU,CAACiB,QAAQ,EAAA;AAACtC,IAAAA,KAAK,EAAE;MAAE,GAAGkC;AAAQ;AAAE,GAAA,EAAET,QAA8B,CAAC;AAEhF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMc,aAAa,GAAGA,MAAMC,UAAU,CAACnB,UAAU;AAEjD,MAAMoB,cAAc,GAAGA,MAAM;EAClC,MAAM;AAAET,IAAAA;GAAK,GAAGO,aAAa,EAAE;AAC/B,EAAA,OAAOP,GAAG;AACZ;;;;"}
|
package/esm/client.js
CHANGED
|
@@ -7,19 +7,20 @@ import { loadableReady } from '@loadable/component';
|
|
|
7
7
|
import { parse } from 'query-string';
|
|
8
8
|
import { CookiesProvider } from 'react-cookie';
|
|
9
9
|
import { HelmetProvider } from 'react-helmet-async';
|
|
10
|
-
import { c as createLocaleRoutes, b as browserHistory, r as rootSaga, p as pickProject } from './App-
|
|
11
|
-
export { A as ReactApp } from './App-
|
|
10
|
+
import { c as createLocaleRoutes, b as browserHistory, r as rootSaga, p as pickProject } from './App-DRfPMjmq.js';
|
|
11
|
+
export { A as ReactApp } from './App-DRfPMjmq.js';
|
|
12
12
|
import { a as actions } from './slice-C6JLQik8.js';
|
|
13
13
|
import { s as selectVersionStatus } from './version-BQAL8sQO.js';
|
|
14
|
-
import { s as setVersionStatus } from './version-
|
|
15
|
-
import { c as createStore } from './store-
|
|
14
|
+
import { s as setVersionStatus } from './version-CA9Mdm3A.js';
|
|
15
|
+
import { c as createStore } from './store-B4IrBYHm.js';
|
|
16
16
|
import { s as setCurrentProject } from './selectors-8ROQrTd7.js';
|
|
17
|
-
import { d as deliveryApi } from './ContensisDeliveryApi-
|
|
18
|
-
import { S as SSRContextProvider } from './SSRContext-
|
|
17
|
+
import { d as deliveryApi } from './ContensisDeliveryApi-LWYXevZ1.js';
|
|
18
|
+
import { S as SSRContextProvider } from './SSRContext-Bxtg1KGv.js';
|
|
19
19
|
import 'history';
|
|
20
20
|
import '@redux-saga/core/effects';
|
|
21
21
|
import 'loglevel';
|
|
22
22
|
import 'await-to-js';
|
|
23
|
+
import 'redux-saga';
|
|
23
24
|
import 'contensis-delivery-api';
|
|
24
25
|
import './VersionInfo-By2ZCZOh.js';
|
|
25
26
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
@@ -31,18 +32,17 @@ import './matchGroups-_w8BwzCC.js';
|
|
|
31
32
|
import './CookieConstants-DEmbwzYr.js';
|
|
32
33
|
import './CookieHelper.class-C6rTRl_1.js';
|
|
33
34
|
import './ToJs-BnRRHk6f.js';
|
|
34
|
-
import './sagas-
|
|
35
|
+
import './sagas-Fr9yRduO.js';
|
|
35
36
|
import 'reselect';
|
|
36
|
-
import './util-
|
|
37
|
+
import './util-Bl2u6LpY.js';
|
|
37
38
|
import 'contensis-core-api';
|
|
38
39
|
import 'deepmerge';
|
|
39
40
|
import 'immer';
|
|
40
41
|
import 'deep-equal';
|
|
41
|
-
import './RouteLoader-
|
|
42
|
+
import './RouteLoader-CzrlySZf.js';
|
|
42
43
|
import '@reduxjs/toolkit';
|
|
43
44
|
import 'redux';
|
|
44
45
|
import 'redux-thunk';
|
|
45
|
-
import 'redux-saga';
|
|
46
46
|
import 'redux-injectors-19';
|
|
47
47
|
|
|
48
48
|
class ClientApp {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as cachedSearch, d as deliveryApi } from './ContensisDeliveryApi-
|
|
1
|
+
import { c as cachedSearch, d as deliveryApi } from './ContensisDeliveryApi-LWYXevZ1.js';
|
|
2
2
|
import { Query as Query$1 } from 'contensis-delivery-api';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Provider } from 'react-redux';
|
|
5
5
|
import { a as actions } from './slice-C6JLQik8.js';
|
|
6
6
|
import mapJson from 'jsonpath-mapper';
|
|
7
|
-
import { a7 as defaultExpressions, a8 as termExpressions, a9 as contentTypeIdExpression, aa as filterExpressions, ab as orderByExpression, ac as customWhereExpressions, ad as cloneDeep } from './sagas-
|
|
7
|
+
import { a7 as defaultExpressions, a8 as termExpressions, a9 as contentTypeIdExpression, aa as filterExpressions, ab as orderByExpression, ac as customWhereExpressions, ad as cloneDeep } from './sagas-Fr9yRduO.js';
|
|
8
8
|
import 'reselect';
|
|
9
9
|
import 'immer';
|
|
10
10
|
import 'deep-equal';
|
|
@@ -16,8 +16,8 @@ import 'isomorphic-fetch';
|
|
|
16
16
|
import express from 'express';
|
|
17
17
|
import http from 'http';
|
|
18
18
|
import httpProxy from 'http-proxy';
|
|
19
|
-
import { s as shorten, c as createLocaleRoutes, h as history, p as pickProject, r as rootSaga } from './App-
|
|
20
|
-
export { A as ReactApp } from './App-
|
|
19
|
+
import { s as shorten, c as createLocaleRoutes, h as history, p as pickProject, r as rootSaga } from './App-DRfPMjmq.js';
|
|
20
|
+
export { A as ReactApp } from './App-DRfPMjmq.js';
|
|
21
21
|
import fs from 'fs';
|
|
22
22
|
import path from 'path';
|
|
23
23
|
import appRootPath from 'app-root-path';
|
|
@@ -30,10 +30,10 @@ import { noop, identity } from 'lodash';
|
|
|
30
30
|
import { buildCleaner } from 'lodash-clean';
|
|
31
31
|
import { a as Cookies } from './CookieHelper.class-C6rTRl_1.js';
|
|
32
32
|
import cookiesMiddleware from 'universal-cookie-express';
|
|
33
|
-
import { c as createStore } from './store-
|
|
34
|
-
import { s as setVersionStatus, c as setVersion } from './version-
|
|
33
|
+
import { c as createStore } from './store-B4IrBYHm.js';
|
|
34
|
+
import { s as setVersionStatus, c as setVersion } from './version-CA9Mdm3A.js';
|
|
35
35
|
import { a6 as selectSurrogateKeys, a7 as selectSsrApiCalls, j as selectRouteEntry, f as selectCurrentProject, g as getImmutableOrJS, s as setCurrentProject, F as selectCurrentSearch } from './selectors-8ROQrTd7.js';
|
|
36
|
-
import { H as HttpContext, m as mergeStaticRoutes } from './RouteLoader-
|
|
36
|
+
import { H as HttpContext, m as mergeStaticRoutes } from './RouteLoader-CzrlySZf.js';
|
|
37
37
|
import { Transform } from 'stream';
|
|
38
38
|
import { ChunkExtractor, ChunkExtractorManager } from '@loadable/server';
|
|
39
39
|
import chalk from 'chalk';
|
|
@@ -41,24 +41,24 @@ import minifyCssString from 'minify-css-string';
|
|
|
41
41
|
import { CookiesProvider } from 'react-cookie';
|
|
42
42
|
import { HelmetProvider } from 'react-helmet-async';
|
|
43
43
|
import { StaticRouter } from 'react-router-dom/server';
|
|
44
|
-
import { S as SSRContextProvider, g as getSubsitePath } from './SSRContext-
|
|
44
|
+
import { S as SSRContextProvider, g as getSubsitePath } from './SSRContext-Bxtg1KGv.js';
|
|
45
45
|
import './VersionInfo-By2ZCZOh.js';
|
|
46
46
|
import './CookieConstants-DEmbwzYr.js';
|
|
47
47
|
import '@reduxjs/toolkit';
|
|
48
48
|
import 'loglevel';
|
|
49
49
|
import '@redux-saga/core/effects';
|
|
50
50
|
import './version-BQAL8sQO.js';
|
|
51
|
-
import './util-
|
|
51
|
+
import './util-Bl2u6LpY.js';
|
|
52
52
|
import './selectors-DcmvOeX2.js';
|
|
53
53
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
54
54
|
import 'history';
|
|
55
55
|
import 'await-to-js';
|
|
56
|
+
import 'redux-saga';
|
|
56
57
|
import './ChangePassword.container-CUBtn82K.js';
|
|
57
58
|
import './matchGroups-_w8BwzCC.js';
|
|
58
59
|
import './ToJs-BnRRHk6f.js';
|
|
59
60
|
import 'redux';
|
|
60
61
|
import 'redux-thunk';
|
|
61
|
-
import 'redux-saga';
|
|
62
62
|
import 'redux-injectors-19';
|
|
63
63
|
|
|
64
64
|
/**
|
package/esm/redux.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as navigation$2, v as version$1, G as GET_NODE_TREE } from './store-
|
|
2
|
-
export { r as store } from './store-
|
|
1
|
+
import { n as navigation$2, v as version$1, G as GET_NODE_TREE } from './store-B4IrBYHm.js';
|
|
2
|
+
export { r as store } from './store-B4IrBYHm.js';
|
|
3
3
|
import { r as routing$1, d as action, a as routing$2, b as routing$3 } from './selectors-8ROQrTd7.js';
|
|
4
4
|
export { g as getIn, e as getJS } from './selectors-8ROQrTd7.js';
|
|
5
|
-
import { v as version$2, n as navigation$3 } from './version-
|
|
6
|
-
export { i as injectReducer, b as injectRedux, a as injectSaga, u as useInjectRedux } from './version-
|
|
5
|
+
import { v as version$2, n as navigation$3 } from './version-CA9Mdm3A.js';
|
|
6
|
+
export { i as injectReducer, b as injectRedux, a as injectSaga, u as useInjectRedux } from './version-CA9Mdm3A.js';
|
|
7
7
|
import { v as version$3 } from './version-BQAL8sQO.js';
|
|
8
8
|
import 'redux';
|
|
9
9
|
import 'redux-thunk';
|
package/esm/routing.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { a as actions, b as selectors, r as types } from './selectors-8ROQrTd7.js';
|
|
2
|
-
export { R as Redirect, a as RouteLoader, S as Status, u as useHttpContext } from './RouteLoader-
|
|
3
|
-
export { r as routeParams } from './util-
|
|
2
|
+
export { R as Redirect, a as RouteLoader, S as Status, u as useHttpContext } from './RouteLoader-CzrlySZf.js';
|
|
3
|
+
export { r as routeParams } from './util-Bl2u6LpY.js';
|
|
4
4
|
import 'immer';
|
|
5
5
|
import 'reselect';
|
|
6
6
|
import 'jsonpath-mapper';
|
|
@@ -9,11 +9,11 @@ import 'react';
|
|
|
9
9
|
import 'react-redux';
|
|
10
10
|
import 'react-router-dom';
|
|
11
11
|
import './matchGroups-_w8BwzCC.js';
|
|
12
|
-
import './SSRContext-
|
|
12
|
+
import './SSRContext-Bxtg1KGv.js';
|
|
13
13
|
import 'react-cookie';
|
|
14
|
-
import './ContensisDeliveryApi-
|
|
14
|
+
import './ContensisDeliveryApi-LWYXevZ1.js';
|
|
15
15
|
import 'contensis-delivery-api';
|
|
16
|
-
import './store-
|
|
16
|
+
import './store-B4IrBYHm.js';
|
|
17
17
|
import 'redux';
|
|
18
18
|
import 'redux-thunk';
|
|
19
19
|
import 'redux-saga';
|
|
@@ -4,9 +4,9 @@ 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
6
|
import { s as selectVersionStatus } from './version-BQAL8sQO.js';
|
|
7
|
-
import { L as LruCache, g as getClientConfig, c as cachedSearch } from './ContensisDeliveryApi-
|
|
7
|
+
import { L as LruCache, g as getClientConfig, c as cachedSearch } from './ContensisDeliveryApi-LWYXevZ1.js';
|
|
8
8
|
import { Client } from 'contensis-delivery-api';
|
|
9
|
-
import { a as removeEmptyAttributes, e as extractQuotedPhrases, f as fixFreeTextForElastic, c as convertKeyForAggregation, g as getItemsFromResult, b as cleanseFieldIdForAggregation, d as areArraysEqualSets, h as callCustomApi, i as timedSearch } from './util-
|
|
9
|
+
import { a as removeEmptyAttributes, e as extractQuotedPhrases, f as fixFreeTextForElastic, c as convertKeyForAggregation, g as getItemsFromResult, b as cleanseFieldIdForAggregation, d as areArraysEqualSets, h as callCustomApi, i as timedSearch } from './util-Bl2u6LpY.js';
|
|
10
10
|
import { s as selectCurrentLanguage } from './selectors-DcmvOeX2.js';
|
|
11
11
|
import './slice-C6JLQik8.js';
|
|
12
12
|
import mapJson, { jpath } from 'jsonpath-mapper';
|
|
@@ -6067,4 +6067,4 @@ function* triggerSearchSsr(options) {
|
|
|
6067
6067
|
}
|
|
6068
6068
|
|
|
6069
6069
|
export { useFacets as $, updateCurrentTab$1 as A, updateCurrentFacet$1 as B, clearFilters$1 as C, selectListing as D, triggerSearch as E, Context as F, getFilters as G, UPDATE_SELECTED_FILTERS as H, UPDATE_SEARCH_TERM as I, UPDATE_PAGE_SIZE as J, UPDATE_PAGE_INDEX as K, SET_SEARCH_ENTRIES as L, SET_ROUTE_FILTERS as M, LOAD_FILTERS_COMPLETE as N, LOAD_FILTERS_ERROR as O, LOAD_FILTERS as P, EXECUTE_SEARCH_ERROR as Q, EXECUTE_SEARCH as R, SET_SEARCH_FILTERS as S, CLEAR_FILTERS as T, UPDATE_SORT_ORDER as U, APPLY_CONFIG as V, actions as W, selectors as X, types as Y, expressions as Z, queries as _, getTabsAndFacets$1 as a, useListing as a0, doSearch as a1, setRouteFilters as a2, searchSagas as a3, triggerListingSsr as a4, triggerMinilistSsr as a5, triggerSearchSsr as a6, defaultExpressions as a7, termExpressions as a8, contentTypeIdExpression as a9, filterExpressions as aa, orderByExpression as ab, customWhereExpressions as ac, cloneDeep as ad, getQueryParameter$2 as b, getSelectedFilters as c, getSearchTotalCount$1 as d, getSearchTerm$2 as e, getResultsInfo as f, getTotalCount$1 as g, getResults as h, getPageIsLoading$2 as i, getPaging as j, getIsLoading$2 as k, getRenderableFilters$2 as l, getFeaturedResults$2 as m, getFacetTitles$1 as n, getFacetsTotalCount$1 as o, getTabFacets$1 as p, getFacet$1 as q, getCurrentTab$1 as r, getPageIndex$2 as s, getCurrentFacet as t, updateSortOrder$1 as u, updateSelectedFilters as v, withMappers as w, updateSearchTerm$1 as x, updatePageSize$1 as y, updatePageIndex$1 as z };
|
|
6070
|
-
//# sourceMappingURL=sagas-
|
|
6070
|
+
//# sourceMappingURL=sagas-Fr9yRduO.js.map
|