@zengenti/contensis-react-base 3.0.0-beta.4 → 3.0.0-beta.43
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/README.md +4 -4
- package/cjs/{App-581b6653.js → App-2ff001f6.js} +139 -124
- package/cjs/App-2ff001f6.js.map +1 -0
- package/cjs/{RouteLoader-282c03ab.js → RouteLoader-2ed14766.js} +44 -30
- package/cjs/RouteLoader-2ed14766.js.map +1 -0
- package/cjs/ToJs-09204afd.js +129 -0
- package/cjs/ToJs-09204afd.js.map +1 -0
- package/cjs/{actions-12871aca.js → actions-6b9ef168.js} +9 -8
- package/cjs/actions-6b9ef168.js.map +1 -0
- package/cjs/client.js +43 -22
- package/cjs/client.js.map +1 -1
- package/cjs/contensis-react-base.js +46 -49
- package/cjs/contensis-react-base.js.map +1 -1
- package/cjs/forms.js +275 -275
- package/cjs/forms.js.map +1 -1
- package/cjs/fromJSLeaveImmer-65d26804.js +28 -0
- package/cjs/fromJSLeaveImmer-65d26804.js.map +1 -0
- package/cjs/{login-81d7f9ef.js → login-d67b82aa.js} +113 -79
- package/cjs/login-d67b82aa.js.map +1 -0
- package/cjs/{reducers-fde41d6b.js → reducers-3a4f8971.js} +26 -25
- package/cjs/reducers-3a4f8971.js.map +1 -0
- package/cjs/redux.js +13 -14
- package/cjs/redux.js.map +1 -1
- package/cjs/routing.js +9 -8
- package/cjs/routing.js.map +1 -1
- package/cjs/search.js +418 -256
- package/cjs/search.js.map +1 -1
- package/cjs/{selectors-ed26ed97.js → selectors-2c1b1183.js} +8 -4
- package/cjs/selectors-2c1b1183.js.map +1 -0
- package/cjs/user.js +32 -23
- package/cjs/user.js.map +1 -1
- package/cjs/util.js +49 -46
- package/cjs/util.js.map +1 -1
- package/cjs/{version-f061e409.js → version-951bc80c.js} +58 -52
- package/cjs/version-951bc80c.js.map +1 -0
- package/cjs/{version-0c190929.js → version-dcfdafd9.js} +5 -5
- package/cjs/{version-0c190929.js.map → version-dcfdafd9.js.map} +1 -1
- package/esm/{App-122f28a3.js → App-7b3aee16.js} +120 -124
- package/esm/App-7b3aee16.js.map +1 -0
- package/esm/{RouteLoader-c2faac87.js → RouteLoader-d4b4d320.js} +37 -23
- package/esm/RouteLoader-d4b4d320.js.map +1 -0
- package/esm/ToJs-2627ce21.js +99 -0
- package/esm/ToJs-2627ce21.js.map +1 -0
- package/esm/{actions-3cc39599.js → actions-5437f43d.js} +8 -7
- package/esm/actions-5437f43d.js.map +1 -0
- package/esm/client.js +22 -20
- package/esm/client.js.map +1 -1
- package/esm/contensis-react-base.js +28 -31
- package/esm/contensis-react-base.js.map +1 -1
- package/esm/forms.js +5 -5
- package/esm/forms.js.map +1 -1
- package/esm/fromJSLeaveImmer-e2f0f331.js +26 -0
- package/esm/fromJSLeaveImmer-e2f0f331.js.map +1 -0
- package/esm/{login-92db44d1.js → login-f6dfbe1b.js} +97 -60
- package/esm/login-f6dfbe1b.js.map +1 -0
- package/esm/{reducers-d6c0edb1.js → reducers-8e5d6232.js} +26 -25
- package/esm/reducers-8e5d6232.js.map +1 -0
- package/esm/redux.js +14 -13
- package/esm/redux.js.map +1 -1
- package/esm/routing.js +9 -8
- package/esm/routing.js.map +1 -1
- package/esm/search.js +387 -244
- package/esm/search.js.map +1 -1
- package/esm/{selectors-82e71d8e.js → selectors-65f0f31c.js} +9 -6
- package/esm/selectors-65f0f31c.js.map +1 -0
- package/esm/user.js +31 -22
- package/esm/user.js.map +1 -1
- package/esm/util.js +18 -11
- package/esm/util.js.map +1 -1
- package/esm/version-696796d7.js +15 -0
- package/esm/{version-59c8f9be.js.map → version-696796d7.js.map} +1 -1
- package/esm/{version-cb9cd09d.js → version-b2ca1dab.js} +38 -31
- package/esm/version-b2ca1dab.js.map +1 -0
- package/models/redux/appstate.d.ts +5 -10
- package/models/redux/reducers/navigation.d.ts +1 -6
- package/models/redux/reducers/version.d.ts +1 -5
- package/models/redux/selectors/navigation.d.ts +2 -1
- package/models/routing/redux/actions.d.ts +1 -1
- package/models/routing/redux/reducers.d.ts +1 -21
- package/models/routing/redux/selectors.d.ts +1 -1
- package/models/routing/routes.d.ts +3 -2
- package/models/routing/util/expressions.d.ts +3 -2
- package/models/routing/util/queries.d.ts +1 -1
- package/models/search/containers/withListing.d.ts +1 -1
- package/models/search/containers/withSearch.d.ts +1 -1
- package/models/search/hooks/useListing.hook.d.ts +3 -0
- package/models/search/hooks/useMinilist.hook.d.ts +2 -9
- package/models/search/index.d.ts +1 -0
- package/models/search/models/Queries.d.ts +8 -5
- package/models/search/models/Search.d.ts +58 -26
- package/models/search/models/SearchActions.d.ts +4 -3
- package/models/search/models/SearchProps.d.ts +25 -2
- package/models/search/models/SearchState.d.ts +5 -1
- package/models/search/models/index.d.ts +2 -1
- package/models/search/redux/actions.d.ts +2 -1
- package/models/search/redux/reducers.d.ts +230 -314
- package/models/search/redux/sagas.d.ts +5 -5
- package/models/search/redux/selectors.d.ts +5 -10
- package/models/search/search/expressions.d.ts +2 -6
- package/models/search/transformations/entry-to-filteritem.mapper.d.ts +2 -1
- package/models/search/transformations/filter-to-filterexpression.mapper.d.ts +6 -0
- package/models/search/transformations/filters-to-filterexpressions.mapper.d.ts +3 -0
- package/models/search/transformations/index.d.ts +3 -0
- package/models/search/transformations/state-to-searchuri.d.ts +2 -13
- package/models/server/util/headers.d.ts +3 -2
- package/models/testImmer/redux/reducer.d.ts +1 -7
- package/models/user/components/Login.d.ts +1 -2
- package/models/user/components/LoginForm.d.ts +1 -2
- package/models/user/hocs/withLogin.d.ts +2 -2
- package/models/user/hooks/useChangePassword.d.ts +5 -5
- package/models/user/hooks/useForgotPassword.d.ts +6 -6
- package/models/user/hooks/useLogin.d.ts +9 -45
- package/models/user/hooks/useRegistration.d.ts +4 -4
- package/models/user/redux/reducers.d.ts +5 -32
- package/models/user/redux/sagas/login.d.ts +11 -8
- package/models/user/redux/selectors.d.ts +33 -71
- package/models/user/util/LoginHelper.class.d.ts +4 -3
- package/models/util/json-mapper.d.ts +9 -3
- package/models/util/merge.d.ts +1 -0
- package/package-lock.json +2006 -4796
- package/package.json +47 -48
- package/cjs/App-581b6653.js.map +0 -1
- package/cjs/RouteLoader-282c03ab.js.map +0 -1
- package/cjs/ToJs-87edc45d.js +0 -230
- package/cjs/ToJs-87edc45d.js.map +0 -1
- package/cjs/actions-12871aca.js.map +0 -1
- package/cjs/fromJSLeaveImmer-9b550c8e.js +0 -40
- package/cjs/fromJSLeaveImmer-9b550c8e.js.map +0 -1
- package/cjs/login-81d7f9ef.js.map +0 -1
- package/cjs/reducers-fde41d6b.js.map +0 -1
- package/cjs/selectors-ed26ed97.js.map +0 -1
- package/cjs/version-f061e409.js.map +0 -1
- package/esm/App-122f28a3.js.map +0 -1
- package/esm/RouteLoader-c2faac87.js.map +0 -1
- package/esm/ToJs-52fee252.js +0 -199
- package/esm/ToJs-52fee252.js.map +0 -1
- package/esm/actions-3cc39599.js.map +0 -1
- package/esm/fromJSLeaveImmer-e44d1a91.js +0 -38
- package/esm/fromJSLeaveImmer-e44d1a91.js.map +0 -1
- package/esm/login-92db44d1.js.map +0 -1
- package/esm/reducers-d6c0edb1.js.map +0 -1
- package/esm/selectors-82e71d8e.js.map +0 -1
- package/esm/version-59c8f9be.js +0 -15
- package/esm/version-cb9cd09d.js.map +0 -1
- package/models/search/transformations/filters-to-filterexpression.d.ts +0 -1
- package/models/search/transformations/filters-to-filterexpression.mapper.d.ts +0 -2
- package/models/server/features/caching/cacheHashing.d.ts +0 -1
package/cjs/redux.js
CHANGED
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('
|
|
5
|
+
var version$1 = require('./version-951bc80c.js');
|
|
6
|
+
var actions$1 = require('./actions-6b9ef168.js');
|
|
7
|
+
var selectors$1 = require('./selectors-2c1b1183.js');
|
|
8
|
+
var version$2 = require('./version-dcfdafd9.js');
|
|
9
|
+
require('@redux-saga/core/effects');
|
|
6
10
|
require('redux');
|
|
7
11
|
require('redux-thunk');
|
|
8
12
|
require('redux-saga');
|
|
9
13
|
require('redux-injectors');
|
|
10
14
|
require('immer');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
require('
|
|
14
|
-
require('@redux-saga/core/effects');
|
|
15
|
-
var selectors$1 = require('./selectors-ed26ed97.js');
|
|
16
|
-
var version$2 = require('./version-0c190929.js');
|
|
15
|
+
require('deepmerge');
|
|
16
|
+
require('./reducers-3a4f8971.js');
|
|
17
|
+
require('jsonpath-mapper');
|
|
17
18
|
require('query-string');
|
|
18
19
|
|
|
19
20
|
var types = {
|
|
@@ -24,13 +25,13 @@ var types = {
|
|
|
24
25
|
|
|
25
26
|
const loadNavigationTree = () => selectors$1.action(version$1.GET_NODE_TREE);
|
|
26
27
|
|
|
27
|
-
var navigation = /*#__PURE__*/Object.freeze({
|
|
28
|
+
var navigation$1 = /*#__PURE__*/Object.freeze({
|
|
28
29
|
__proto__: null,
|
|
29
30
|
loadNavigationTree: loadNavigationTree
|
|
30
31
|
});
|
|
31
32
|
|
|
32
33
|
var actions = {
|
|
33
|
-
navigation,
|
|
34
|
+
navigation: navigation$1,
|
|
34
35
|
routing: actions$1.routing$1,
|
|
35
36
|
version: version$1.version$1
|
|
36
37
|
};
|
|
@@ -44,7 +45,7 @@ var selectors = {
|
|
|
44
45
|
// e.g. { routing: { types, actions }, navigation: { types, actions } }
|
|
45
46
|
// instead of { types: { routing, navigation }, actions: { routing, navigation } }
|
|
46
47
|
|
|
47
|
-
const navigation
|
|
48
|
+
const navigation = {
|
|
48
49
|
types: types.navigation,
|
|
49
50
|
actions: actions.navigation,
|
|
50
51
|
selectors: selectors.navigation
|
|
@@ -66,15 +67,13 @@ exports.injectRedux = version$1.injectRedux;
|
|
|
66
67
|
exports.injectSaga = version$1.injectSaga;
|
|
67
68
|
Object.defineProperty(exports, 'store', {
|
|
68
69
|
enumerable: true,
|
|
69
|
-
get: function () {
|
|
70
|
-
return version$1.reduxStore;
|
|
71
|
-
}
|
|
70
|
+
get: function () { return version$1.reduxStore; }
|
|
72
71
|
});
|
|
73
72
|
exports.useInjectRedux = version$1.useInjectRedux;
|
|
74
73
|
exports.action = selectors$1.action;
|
|
75
74
|
exports.getIn = selectors$1.getImmutableOrJS;
|
|
76
75
|
exports.getJS = selectors$1.getJS;
|
|
77
|
-
exports.navigation = navigation
|
|
76
|
+
exports.navigation = navigation;
|
|
78
77
|
exports.routing = routing;
|
|
79
78
|
exports.version = version;
|
|
80
79
|
//# sourceMappingURL=redux.js.map
|
package/cjs/redux.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redux.js","sources":["../src/redux/types/index.js","../src/redux/actions/navigation.js","../src/redux/actions/index.js","../src/redux/selectors/index.js","../src/redux/index.ts"],"sourcesContent":["import * as navigation from './navigation';\nimport * as routing from '~/routing/redux/types';\nimport * as version from './version';\n\nexport default { navigation, routing, version };\n","import { action } from '../util';\n\nimport { GET_NODE_TREE } from '~/redux/types/navigation';\n\nexport const loadNavigationTree = () => action(GET_NODE_TREE);\n","import * as navigation from './navigation';\nimport * as routing from '~/routing/redux/actions';\nimport * as version from './version';\n\nexport default { navigation, routing, version };\n","import * as navigation from './navigation';\nimport * as routing from '~/routing/redux/selectors';\nimport * as version from './version';\n\nexport default { navigation, routing, version };\n","import types from './types';\nimport actions from './actions';\nimport selectors from './selectors';\n\nexport { action, getJS, getImmutableOrJS as getIn } from './util';\n\nexport { reduxStore as store } from './store/store';\n\nexport {\n convertSagaArray,\n injectRedux,\n injectReducer,\n injectSaga,\n useInjectRedux,\n} from './store/injectors';\n\n// Remap the objects so they are presented in \"feature\" hierarchy\n// e.g. { routing: { types, actions }, navigation: { types, actions } }\n// instead of { types: { routing, navigation }, actions: { routing, navigation } }\n\nexport const navigation = {\n types: types.navigation,\n actions: actions.navigation,\n selectors: selectors.navigation,\n};\nexport const routing = {\n types: types.routing,\n actions: actions.routing,\n selectors: selectors.routing,\n};\nexport const version = {\n types: types.version,\n actions: actions.version,\n selectors: selectors.version,\n};\n"],"names":["navigation","routing","version","loadNavigationTree","action","GET_NODE_TREE","types","actions","selectors"],"mappings":"
|
|
1
|
+
{"version":3,"file":"redux.js","sources":["../src/redux/types/index.js","../src/redux/actions/navigation.js","../src/redux/actions/index.js","../src/redux/selectors/index.js","../src/redux/index.ts"],"sourcesContent":["import * as navigation from './navigation';\nimport * as routing from '~/routing/redux/types';\nimport * as version from './version';\n\nexport default { navigation, routing, version };\n","import { action } from '../util';\n\nimport { GET_NODE_TREE } from '~/redux/types/navigation';\n\nexport const loadNavigationTree = () => action(GET_NODE_TREE);\n","import * as navigation from './navigation';\nimport * as routing from '~/routing/redux/actions';\nimport * as version from './version';\n\nexport default { navigation, routing, version };\n","import * as navigation from './navigation';\nimport * as routing from '~/routing/redux/selectors';\nimport * as version from './version';\n\nexport default { navigation, routing, version };\n","import types from './types';\nimport actions from './actions';\nimport selectors from './selectors';\n\nexport { action, getJS, getImmutableOrJS as getIn } from './util';\n\nexport { reduxStore as store } from './store/store';\n\nexport {\n convertSagaArray,\n injectRedux,\n injectReducer,\n injectSaga,\n useInjectRedux,\n} from './store/injectors';\n\n// Remap the objects so they are presented in \"feature\" hierarchy\n// e.g. { routing: { types, actions }, navigation: { types, actions } }\n// instead of { types: { routing, navigation }, actions: { routing, navigation } }\n\nexport const navigation = {\n types: types.navigation,\n actions: actions.navigation,\n selectors: selectors.navigation,\n};\nexport const routing = {\n types: types.routing,\n actions: actions.routing,\n selectors: selectors.routing,\n};\nexport const version = {\n types: types.version,\n actions: actions.version,\n selectors: selectors.version,\n};\n"],"names":["navigation","routing","version","loadNavigationTree","action","GET_NODE_TREE","types","actions","selectors"],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,YAAe;AAAEA,cAAAA,oBAAF;AAAcC,WAAAA,iBAAd;AAAuBC,WAAAA;AAAvB,CAAf;;ACAO,MAAMC,kBAAkB,GAAG,MAAMC,kBAAM,CAACC,uBAAD,CAAvC;;;;;;;ACAP,cAAe;AAAEL,cAAAA,YAAF;AAAcC,WAAAA,mBAAd;AAAuBC,WAAAA;AAAvB,CAAf;;ACAA,gBAAe;AAAEF,cAAAA,sBAAF;AAAcC,WAAAA,mBAAd;AAAuBC,WAAAA;AAAvB,CAAf;;ACaA;AACA;;MAEaF,UAAU,GAAG;AACxBM,EAAAA,KAAK,EAAEA,KAAK,CAACN,UADW;AAExBO,EAAAA,OAAO,EAAEA,OAAO,CAACP,UAFO;AAGxBQ,EAAAA,SAAS,EAAEA,SAAS,CAACR;AAHG;MAKbC,OAAO,GAAG;AACrBK,EAAAA,KAAK,EAAEA,KAAK,CAACL,OADQ;AAErBM,EAAAA,OAAO,EAAEA,OAAO,CAACN,OAFI;AAGrBO,EAAAA,SAAS,EAAEA,SAAS,CAACP;AAHA;MAKVC,OAAO,GAAG;AACrBI,EAAAA,KAAK,EAAEA,KAAK,CAACJ,OADQ;AAErBK,EAAAA,OAAO,EAAEA,OAAO,CAACL,OAFI;AAGrBM,EAAAA,SAAS,EAAEA,SAAS,CAACN;AAHA;;;;;;;;;;;;;;;;;;"}
|
package/cjs/routing.js
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('
|
|
6
|
-
require('
|
|
7
|
-
require('
|
|
8
|
-
require('react-router-config');
|
|
5
|
+
var actions = require('./actions-6b9ef168.js');
|
|
6
|
+
var selectors = require('./selectors-2c1b1183.js');
|
|
7
|
+
var RouteLoader = require('./RouteLoader-2ed14766.js');
|
|
9
8
|
require('jsonpath-mapper');
|
|
10
|
-
var actions = require('./actions-12871aca.js');
|
|
11
|
-
var selectors = require('./selectors-ed26ed97.js');
|
|
12
9
|
require('query-string');
|
|
13
|
-
require('
|
|
10
|
+
require('react');
|
|
11
|
+
require('react-redux');
|
|
14
12
|
require('react-hot-loader');
|
|
15
|
-
|
|
13
|
+
require('react-router-dom');
|
|
14
|
+
require('react-router-config');
|
|
15
|
+
require('reselect');
|
|
16
|
+
require('./ToJs-09204afd.js');
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
|
package/cjs/routing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routing.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|