@evlop/commons 1.0.101 → 1.0.102
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/reducers/{config.d.ts → config/index.d.ts} +7 -2
- package/dist/src/reducers/config/index.d.ts.map +1 -0
- package/dist/src/reducers/{config.js → config/index.js} +11 -7
- package/dist/src/reducers/config/index.js.map +1 -0
- package/dist/src/reducers/config/initialState.d.ts +6 -0
- package/dist/src/reducers/config/initialState.d.ts.map +1 -0
- package/dist/src/reducers/config/initialState.js +8 -0
- package/dist/src/reducers/config/initialState.js.map +1 -0
- package/dist/src/reducers/config/initialState.native.d.ts +6 -0
- package/dist/src/reducers/config/initialState.native.d.ts.map +1 -0
- package/dist/src/reducers/config/initialState.native.js +19 -0
- package/dist/src/reducers/config/initialState.native.js.map +1 -0
- package/dist/src/reducers/index.d.ts +7 -1
- package/dist/src/reducers/index.d.ts.map +1 -1
- package/dist/src/reducers/{pages.d.ts → pages/index.d.ts} +1 -1
- package/dist/src/reducers/pages/index.d.ts.map +1 -0
- package/dist/src/reducers/{pages.js → pages/index.js} +6 -2
- package/dist/src/reducers/pages/index.js.map +1 -0
- package/dist/src/reducers/pages/initialState.d.ts +10 -0
- package/dist/src/reducers/pages/initialState.d.ts.map +1 -0
- package/dist/src/reducers/pages/initialState.js +5 -0
- package/dist/src/reducers/pages/initialState.js.map +1 -0
- package/dist/src/reducers/pages/initialState.native.d.ts +10 -0
- package/dist/src/reducers/pages/initialState.native.d.ts.map +1 -0
- package/dist/src/reducers/pages/initialState.native.js +22 -0
- package/dist/src/reducers/pages/initialState.native.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/reducers/config.d.ts.map +0 -1
- package/dist/src/reducers/config.js.map +0 -1
- package/dist/src/reducers/pages.d.ts.map +0 -1
- package/dist/src/reducers/pages.js.map +0 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const ADD_SETTINGS_FIELD = "ADD_SETTINGS_FIELD";
|
2
2
|
export declare const ADD_SITE_PAGE = "ADD_SITE_PAGE";
|
3
3
|
export declare const UPDATE_THEME = "UPDATE_SITE_THEME";
|
4
|
+
export declare const UPDATE_CONFIG = "UPDATE_CONFIG";
|
4
5
|
export declare const GET_CONFIG_REQUEST = "GET_CONFIG_REQUEST";
|
5
6
|
export declare const GET_CONFIG_SUCCESS = "GET_CONFIG_SUCCESS";
|
6
7
|
export declare const GET_CONFIG_FAILURE = "GET_CONFIG_FAILURE";
|
@@ -33,9 +34,13 @@ export declare const saveConfig: (data: any, configName?: string) => {
|
|
33
34
|
method: any;
|
34
35
|
isRestRequest: boolean;
|
35
36
|
};
|
37
|
+
declare type ConfigState = {
|
38
|
+
data: any;
|
39
|
+
fields: any;
|
40
|
+
};
|
36
41
|
declare const config: {
|
37
|
-
(state:
|
42
|
+
(state: ConfigState, action: any): ConfigState;
|
38
43
|
persist: boolean;
|
39
44
|
};
|
40
45
|
export default config;
|
41
|
-
//# sourceMappingURL=
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/reducers/config/index.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAChD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,wBAAgB,gBAAgB,CAAC,KAAK,KAAA,EAAE,UAAU,SAAQ;;;;EAMzD;AAED,eAAO,MAAM,SAAS;;;;;;;;;CAOpB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;CAQrB,CAAC;AAEH,aAAK,WAAW,GAAG;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;AAE9C,QAAA,MAAM,MAAM;;;CA6BX,CAAA;AAID,eAAe,MAAM,CAAC"}
|
@@ -1,20 +1,22 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.saveConfig = exports.getConfig = exports.addSettingsField = exports.SAVE_CONFIG_FAILURE = exports.SAVE_CONFIG_SUCCESS = exports.SAVE_CONFIG_REQUEST = exports.GET_CONFIG_FAILURE = exports.GET_CONFIG_SUCCESS = exports.GET_CONFIG_REQUEST = exports.UPDATE_THEME = exports.ADD_SITE_PAGE = exports.ADD_SETTINGS_FIELD = void 0;
|
6
|
+
exports.saveConfig = exports.getConfig = exports.addSettingsField = exports.SAVE_CONFIG_FAILURE = exports.SAVE_CONFIG_SUCCESS = exports.SAVE_CONFIG_REQUEST = exports.GET_CONFIG_FAILURE = exports.GET_CONFIG_SUCCESS = exports.GET_CONFIG_REQUEST = exports.UPDATE_CONFIG = exports.UPDATE_THEME = exports.ADD_SITE_PAGE = exports.ADD_SETTINGS_FIELD = void 0;
|
4
7
|
const redux_rest_1 = require("@mukti107/redux-rest");
|
8
|
+
const lodash_1 = require("lodash");
|
9
|
+
const initialState_1 = __importDefault(require("./initialState"));
|
5
10
|
exports.ADD_SETTINGS_FIELD = 'ADD_SETTINGS_FIELD';
|
6
11
|
exports.ADD_SITE_PAGE = 'ADD_SITE_PAGE';
|
7
12
|
exports.UPDATE_THEME = 'UPDATE_SITE_THEME';
|
13
|
+
exports.UPDATE_CONFIG = 'UPDATE_CONFIG';
|
8
14
|
exports.GET_CONFIG_REQUEST = 'GET_CONFIG_REQUEST';
|
9
15
|
exports.GET_CONFIG_SUCCESS = 'GET_CONFIG_SUCCESS';
|
10
16
|
exports.GET_CONFIG_FAILURE = 'GET_CONFIG_FAILURE';
|
11
17
|
exports.SAVE_CONFIG_REQUEST = 'SAVE_CONFIG_REQUEST';
|
12
18
|
exports.SAVE_CONFIG_SUCCESS = 'SAVE_CONFIG_SUCCESS';
|
13
19
|
exports.SAVE_CONFIG_FAILURE = 'SAVE_CONFIG_FAILURE';
|
14
|
-
let initialState = {
|
15
|
-
fields: {},
|
16
|
-
data: {},
|
17
|
-
};
|
18
20
|
function addSettingsField(field, configName = 'web') {
|
19
21
|
return {
|
20
22
|
type: exports.ADD_SETTINGS_FIELD,
|
@@ -42,11 +44,13 @@ const saveConfig = (data, configName = "web") => ({
|
|
42
44
|
isRestRequest: true,
|
43
45
|
});
|
44
46
|
exports.saveConfig = saveConfig;
|
45
|
-
const config = (state =
|
47
|
+
const config = (state = initialState_1.default, action) => {
|
46
48
|
switch (action.type) {
|
47
49
|
case exports.SAVE_CONFIG_SUCCESS:
|
48
50
|
case exports.GET_CONFIG_SUCCESS:
|
49
51
|
return Object.assign(Object.assign({}, state), { data: Object.assign(Object.assign({}, state.data), { [action.configName]: action.response }) });
|
52
|
+
case exports.UPDATE_CONFIG:
|
53
|
+
return Object.assign(Object.assign({}, state), { data: lodash_1.set(lodash_1.cloneDeep(state.data), action.key, action.value) });
|
50
54
|
case exports.ADD_SETTINGS_FIELD: {
|
51
55
|
const { fields: { [action.configName]: fields = [] } } = state;
|
52
56
|
return Object.assign(Object.assign({}, state), { fields: Object.assign(Object.assign({}, state.fields), { [action.configName]: [...fields, action.field] }) });
|
@@ -57,4 +61,4 @@ const config = (state = initialState, action) => {
|
|
57
61
|
};
|
58
62
|
config.persist = true;
|
59
63
|
exports.default = config;
|
60
|
-
//# sourceMappingURL=
|
64
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/reduc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ACtB,CAAC,CAAC;AARU,QAAA,UAAU,cAQpB;AAIH,MAAM,MAAM,GAAG,CAAC,QAAQ,sBAAiC,EAAE,MAAM,EAAC,EAAE;IAChE,QAAQ,MAAM,CAAC,IAAI,EAAE;QACjB,KAAK,2BAAmB,CAAC;QACzB,KAAK,0BAAkB;YACnB,uCACO,KAAK,KACR,IAAI,kCACG,KAAK,CAAC,IAAI,KACb,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,QAAQ,OAE1C;QACN,KAAK,qBAAa;YACd,uCACO,KAAK,KACR,IAAI,EAAE,YAAG,CAAC,kBAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,IAC5D;QACN,KAAK,0BAAkB,CAAC,CAAA;YACpB,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;YAC/D,uCACO,KAAK,KACR,MAAM,kCACC,KAAK,CAAC,MAAM,KACf,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,MAAM,CAAC,KAAK,CAAE,OAErD;SACL;QACD;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC,CAAA;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;AAEtB,kBAAe,MAAM,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.d.ts","sourceRoot":"","sources":["../../../../src/reducers/config/initialState.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB;;;CAGvB,CAAA;AAED,eAAe,kBAAkB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.js","sourceRoot":"","sources":["../../../../src/reducers/config/initialState.tsx"],"names":[],"mappings":";;AAAA,MAAM,kBAAkB,GAAG;IACvB,MAAM,EAAE,EAAE;IACV,IAAI,EAAC,EAAE;CACV,CAAA;AAED,kBAAe,kBAAkB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.native.d.ts","sourceRoot":"","sources":["../../../../src/reducers/config/initialState.native.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,kBAAkB;;;CAGvB,CAAA;AAED,eAAe,kBAAkB,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const react_native_1 = require("react-native");
|
4
|
+
const { AppConstants } = react_native_1.NativeModules;
|
5
|
+
const configDataJSON = AppConstants.getConfigDataJSON();
|
6
|
+
let configData = null;
|
7
|
+
try {
|
8
|
+
configData = JSON.parse(configDataJSON);
|
9
|
+
}
|
10
|
+
catch (e) {
|
11
|
+
console.log('Error redux initial state for config');
|
12
|
+
configData = {};
|
13
|
+
}
|
14
|
+
const configInitialState = {
|
15
|
+
fields: {},
|
16
|
+
data: configData,
|
17
|
+
};
|
18
|
+
exports.default = configInitialState;
|
19
|
+
//# sourceMappingURL=initialState.native.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.native.js","sourceRoot":"","sources":["../../../../src/reducers/config/initialState.native.tsx"],"names":[],"mappings":";;AAAA,+CAA2C;AAC3C,MAAM,EAAC,YAAY,EAAC,GAAG,4BAAa,CAAC;AAErC,MAAM,cAAc,GAAG,YAAY,CAAC,iBAAiB,EAAE,CAAC;AAExD,IAAI,UAAU,GAAG,IAAI,CAAC;AAEtB,IAAG;IACC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;CAC3C;AAAA,OAAM,CAAC,EAAC;IACL,OAAO,CAAC,GAAG,CAAC,sCAAsC,CAAC,CAAC;IACpD,UAAU,GAAG,EAAE,CAAA;CAClB;AAED,MAAM,kBAAkB,GAAG;IACvB,MAAM,EAAE,EAAE;IACV,IAAI,EAAC,UAAU;CAClB,CAAA;AAED,kBAAe,kBAAkB,CAAC"}
|
@@ -23,7 +23,13 @@ export declare const reducers: {
|
|
23
23
|
icons: (state: any, action: any) => any;
|
24
24
|
fonts: (state: any, action: any) => any;
|
25
25
|
config: {
|
26
|
-
(state:
|
26
|
+
(state: {
|
27
|
+
data: any;
|
28
|
+
fields: any;
|
29
|
+
}, action: any): {
|
30
|
+
data: any;
|
31
|
+
fields: any;
|
32
|
+
};
|
27
33
|
persist: boolean;
|
28
34
|
};
|
29
35
|
routes: (state: any, action: any) => any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reducers/index.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,eAAe,KAAyB,CAAC;AACtD,eAAO,MAAM,iBAAiB,KAA2B,CAAC;AAC1D,eAAO,MAAM,qBAAqB,KAAgC,CAAC;AACnE,eAAO,MAAM,eAAe,KAAyB,CAAC;AACtD,eAAO,MAAM,iBAAiB,KAA2B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,KAA2B,CAAC;AAEzD,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reducers/index.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,eAAe,KAAyB,CAAC;AACtD,eAAO,MAAM,iBAAiB,KAA2B,CAAC;AAC1D,eAAO,MAAM,qBAAqB,KAAgC,CAAC;AACnE,eAAO,MAAM,eAAe,KAAyB,CAAC;AACtD,eAAO,MAAM,iBAAiB,KAA2B,CAAC;AAC1D,eAAO,MAAM,gBAAgB,KAA2B,CAAC;AAEzD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBpB,CAAC;AAEF,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAEvB,eAAe,QAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/reducers/pages/index.tsx"],"names":[],"mappings":"AAeA,QAAA,MAAM,KAAK;yBAA2C,GAAG;;CA0HxD,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
@@ -10,7 +10,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
10
10
|
}
|
11
11
|
return t;
|
12
12
|
};
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
15
|
+
};
|
13
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
const initialState_1 = __importDefault(require("./initialState"));
|
14
18
|
const REST_LIST_PAGES_SUCCESS = "REST_LIST_PAGES_SUCCESS";
|
15
19
|
const REST_FIND_PAGE_SUCCESS = "REST_FIND_PAGE_SUCCESS";
|
16
20
|
const REST_FIND_ID_PAGE_SUCCESS = "REST_FIND_ID_PAGE_SUCCESS";
|
@@ -21,7 +25,7 @@ const REST_QUERY_PAGE_RUNNING = "REST_QUERY_PAGE_RUNNING";
|
|
21
25
|
const REST_QUERY_PAGE_FAILED = "REST_QUERY_PAGE_FAILED";
|
22
26
|
const PAGE_BLOCKS_UPDATED = "PAGE_BLOCKS_UPDATED";
|
23
27
|
// reducer copied from @mukti107/redux-rest
|
24
|
-
const initialState =
|
28
|
+
const initialState = initialState_1.default;
|
25
29
|
const pages = function (state = initialState, action) {
|
26
30
|
switch (action.type) {
|
27
31
|
case REST_FIND_PAGE_SUCCESS:
|
@@ -95,4 +99,4 @@ const pages = function (state = initialState, action) {
|
|
95
99
|
};
|
96
100
|
pages.persist = true;
|
97
101
|
exports.default = pages;
|
98
|
-
//# sourceMappingURL=
|
102
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/reducers/pages/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAA+C;AAE/C,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AAC1D,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AACxD,MAAM,yBAAyB,GAAG,2BAA2B,CAAC;AAC9D,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AACtD,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AAC1D,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AACxD,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAElD,2CAA2C;AAE3C,MAAM,YAAY,GAAO,sBAAiB,CAAA;AAC1C,MAAM,KAAK,GAAG,UAAU,KAAK,GAAG,YAAY,EAAE,MAAW;IACjD,QAAQ,MAAM,CAAC,IAAI,EAAE;QACjB,KAAK,sBAAsB,CAAC;QAC5B,KAAK,uBAAuB,CAAC,CAAC;YAC1B,MAAM,KAAsB,MAAM,CAAC,QAAQ,EAArC,EAAC,IAAI,OAAgC,EAA3B,QAAQ,cAAlB,QAAmB,CAAkB,CAAC;YAC5C,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAA,EAAE,CAAA,iBAAE,EAAE,EAAC,IAAI,CAAC,GAAG,IAAK,IAAI,EAAE,CAAC,CAAC;YACzD,MAAM,EAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,cAAc,GAAG,EAAE,EAAE,UAAU,GAAG,EAAE,EAAC,GAAG,KAAK,CAAC;YAC1E,MAAM,aAAa,qBAAO,UAAU,CA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B;AAET,CAAC,CAAC;AAEF,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;AAErB,kBAAe,KAAK,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.d.ts","sourceRoot":"","sources":["../../../../src/reducers/pages/initialState.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB;;;;;;;CAA4E,CAAA;AAEnG,eAAe,iBAAiB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.js","sourceRoot":"","sources":["../../../../src/reducers/pages/initialState.tsx"],"names":[],"mappings":";;AAAA,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAA;AAEnG,kBAAe,iBAAiB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.native.d.ts","sourceRoot":"","sources":["../../../../src/reducers/pages/initialState.native.tsx"],"names":[],"mappings":"AAmBA,QAAA,MAAM,iBAAiB;;;;;;;CAA2F,CAAA;AAElH,eAAe,iBAAiB,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const lodash_1 = require("lodash");
|
4
|
+
const react_native_1 = require("react-native");
|
5
|
+
const { AppConstants } = react_native_1.NativeModules;
|
6
|
+
const configDataJSON = AppConstants.getPagesJSON();
|
7
|
+
let pagesArray = [];
|
8
|
+
let pagesById = {};
|
9
|
+
try {
|
10
|
+
pagesArray = JSON.parse(configDataJSON);
|
11
|
+
if (!Array.isArray(pagesArray))
|
12
|
+
throw new Error('Pages must be an array');
|
13
|
+
pagesById = lodash_1.keyBy(pagesArray, 'id');
|
14
|
+
}
|
15
|
+
catch (e) {
|
16
|
+
console.log('Error redux initial state for pages');
|
17
|
+
pagesArray = [];
|
18
|
+
pagesById = {};
|
19
|
+
}
|
20
|
+
const pagesInitialState = { records: { data: pagesArray, isLoading: false }, collection: pagesById, isLoading: 0 };
|
21
|
+
exports.default = pagesInitialState;
|
22
|
+
//# sourceMappingURL=initialState.native.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"initialState.native.js","sourceRoot":"","sources":["../../../../src/reducers/pages/initialState.native.tsx"],"names":[],"mappings":";;AAAA,mCAA+B;AAC/B,+CAA2C;AAC3C,MAAM,EAAC,YAAY,EAAC,GAAG,4BAAa,CAAC;AAErC,MAAM,cAAc,GAAG,YAAY,CAAC,YAAY,EAAE,CAAC;AAEnD,IAAI,UAAU,GAAQ,EAAE,CAAC;AACzB,IAAI,SAAS,GAAQ,EAAE,CAAC;AAExB,IAAG;IACC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IACxC,IAAG,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACzE,SAAS,GAAG,cAAK,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;CACvC;AAAA,OAAM,CAAC,EAAC;IACL,OAAO,CAAC,GAAG,CAAC,qCAAqC,CAAC,CAAC;IACnD,UAAU,GAAG,EAAE,CAAC;IAChB,SAAS,GAAG,EAAE,CAAC;CAClB;AAED,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE,CAAA;AAElH,kBAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/reducers/config.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM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AAE,OAErD;SACL;QACD;YACI,OAAO,KAAK,CAAC;KACpB;AACL,CAAC,CAAA;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;AAEtB,kBAAe,MAAM,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../src/reducers/pages.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,KAAK;yBAA2C,GAAG;;CA0HxD,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"pages.js","sourceRoot":"","sources":["../../../src/reducers/pages.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AACA,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AAC1D,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AACxD,MAAM,yBAAyB,GAAG,2BAA2B,CAAC;AAC9D,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AACtD,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AAC1D,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AACxD,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAElD,2CAA2C;AAE3C,MAAM,YAAY,GAAO,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAA;AAClG,MAAM,KAAK,GAAG,UAAU,KAAK,GAAG,YAAY,EAAE,MAAW;IACjD,QAAQ,MAAM,CAAC,IAAI,EAAE;QACjB,KAAK,sBAAsB,CAAC;QAC5B,KAAK,uBAAuB,CAAC,CAAC;YAC1B,MAAM,KAAsB,MAAM,CAAC,QAAQ,EAArC,EAAC,IAAI,OAAgC,EAA3B,QAAQ,cAAlB,QAAmB,CAA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