@evlop/commons 1.0.82 → 1.0.86
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/components/hoc/withCollectionRecord.js +1 -1
- package/dist/src/components/hoc/withCollectionRecord.js.map +1 -1
- package/dist/src/constants/index.d.ts +2 -0
- package/dist/src/constants/index.d.ts.map +1 -1
- package/dist/src/constants/index.js +3 -1
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/constants/platformSpecific.d.ts +1 -3
- package/dist/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/src/constants/platformSpecific.js +0 -4
- package/dist/src/constants/platformSpecific.js.map +1 -1
- package/dist/src/hooks/useCollectionRecordProvider.d.ts.map +1 -1
- package/dist/src/hooks/useCollectionRecordProvider.js +2 -3
- package/dist/src/hooks/useCollectionRecordProvider.js.map +1 -1
- package/dist/src/hooks/useConfig.d.ts +1 -1
- package/dist/src/hooks/useConfig.d.ts.map +1 -1
- package/dist/src/hooks/useConfig.js +1 -1
- package/dist/src/hooks/useConfig.js.map +1 -1
- package/dist/src/hooks/useFonts.d.ts +1 -1
- package/dist/src/hooks/useFonts.d.ts.map +1 -1
- package/dist/src/hooks/useFonts.js +4 -2
- package/dist/src/hooks/useFonts.js.map +1 -1
- package/dist/src/hooks/useNavigator.d.ts.map +1 -1
- package/dist/src/hooks/useNavigator.js +4 -2
- package/dist/src/hooks/useNavigator.js.map +1 -1
- package/dist/src/reducers/config.d.ts +5 -2
- package/dist/src/reducers/config.d.ts.map +1 -1
- package/dist/src/reducers/config.js +3 -1
- package/dist/src/reducers/config.js.map +1 -1
- package/dist/src/reducers/index.d.ts +8 -2
- package/dist/src/reducers/index.d.ts.map +1 -1
- package/dist/src/reducers/pages.d.ts +4 -1
- package/dist/src/reducers/pages.d.ts.map +1 -1
- package/dist/src/reducers/pages.js +1 -0
- package/dist/src/reducers/pages.js.map +1 -1
- package/package.json +1 -1
@@ -12,7 +12,7 @@ const providers_1 = require("../../providers");
|
|
12
12
|
function withCollectionRecord(collectionName) {
|
13
13
|
const CollectionRecordPageType = ({ children }) => {
|
14
14
|
const navigator = hooks_1.useNavigator();
|
15
|
-
const slug =
|
15
|
+
const { slug } = hooks_1.useParams();
|
16
16
|
const record = hooks_1.useCollectionRecord(collectionName, slug);
|
17
17
|
return react_1.default.createElement(providers_1.Scope, { name: pluralize_1.singular(change_case_1.camelCase(collectionName)), value: record, children: children });
|
18
18
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withCollectionRecord.js","sourceRoot":"","sources":["../../../../src/components/hoc/withCollectionRecord.tsx"],"names":[],"mappings":";;;;;;AAAA,
|
1
|
+
{"version":3,"file":"withCollectionRecord.js","sourceRoot":"","sources":["../../../../src/components/hoc/withCollectionRecord.tsx"],"names":[],"mappings":";;;;;;AAAA,6CAA8E;AAC9E,yCAAqC;AACrC,kDAA0B;AAC1B,uCAA2E;AAC3E,+CAAwC;AAExC,SAAgB,oBAAoB,CAAC,cAAsB;IACvD,MAAM,wBAAwB,GAAG,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;QAC5C,MAAM,SAAS,GAAG,oBAAY,EAAE,CAAC;QACjC,MAAM,EAAC,IAAI,EAAC,GAAG,iBAAS,EAAE,CAAC;QAC3B,MAAM,MAAM,GAAG,2BAAmB,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACzD,OAAO,8BAAC,iBAAK,IAAE,IAAI,EAAE,oBAAQ,CAAC,uBAAS,CAAC,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAI,CAAC;IAClG,CAAC,CAAC;IAEF,wBAAwB,CAAC,SAAS,GAAG,0BAAY,CAAC,oBAAQ,CAAC,cAAc,CAAC,GAAC,UAAU,CAAC,CAAC;IACvF,wBAAwB,CAAC,IAAI,GAAG,sBAAQ,CAAC,cAAc,CAAC,GAAC,QAAQ,CAAC;IAClE,wBAAwB,CAAC,QAAQ,GAAG,0BAAY,CAAC,oBAAQ,CAAC,cAAc,CAAC,GAAC,UAAU,CAAC,CAAC;IAEtF,OAAO,wBAAwB,CAAC;AAEtC,CAAC;AAdD,oDAcC"}
|
@@ -6,6 +6,8 @@ export declare const DIRECTION_LEFT = "direction/Left";
|
|
6
6
|
export declare const VERTICAL_LAYOUT = "layout/vertical";
|
7
7
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
8
8
|
export declare const TYPE_COMPONENT = "type/component";
|
9
|
+
export declare const API_BASE_URL: string;
|
10
|
+
export declare const SOCKET_URL: string;
|
9
11
|
export { default as iconInfo } from './iconInfo';
|
10
12
|
export * from './platformSpecific';
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,SAAgE,CAAC;AAEpF,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,SAAgE,CAAC;AAEpF,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AAErG,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,oBAAoB,CAAC"}
|
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
14
14
|
};
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
-
exports.iconInfo = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = void 0;
|
16
|
+
exports.iconInfo = exports.SOCKET_URL = exports.API_BASE_URL = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = void 0;
|
17
17
|
exports.IS_SSR = ['true', '1'].includes(String(process.env.SSR).toLowerCase());
|
18
18
|
exports.DIRECTION_TOP = "direction/Top";
|
19
19
|
exports.DIRECTION_RIGHT = "direction/Right";
|
@@ -22,6 +22,8 @@ exports.DIRECTION_LEFT = "direction/Left";
|
|
22
22
|
exports.VERTICAL_LAYOUT = 'layout/vertical';
|
23
23
|
exports.HORIZONTAL_LAYOUT = 'layout/horizontal';
|
24
24
|
exports.TYPE_COMPONENT = "type/component";
|
25
|
+
exports.API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
26
|
+
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
25
27
|
var iconInfo_1 = require("./iconInfo");
|
26
28
|
Object.defineProperty(exports, "iconInfo", { enumerable: true, get: function () { return __importDefault(iconInfo_1).default; } });
|
27
29
|
__exportStar(require("./platformSpecific"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAa,QAAA,MAAM,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAEvE,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAGlC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AAExC,QAAA,cAAc,GAAG,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAa,QAAA,MAAM,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAEvE,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAGlC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AAExC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAClC,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AAErG,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,qDAAmC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|
@@ -1,7 +1,3 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.APP_NAME = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
4
|
-
exports.API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
5
|
-
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
6
|
-
exports.APP_NAME = "";
|
7
3
|
//# sourceMappingURL=platformSpecific.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../src/constants/platformSpecific.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useCollectionRecordProvider.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCollectionRecordProvider.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useCollectionRecordProvider.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCollectionRecordProvider.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,kDAkBvC,CAAC;AAEF,eAAQ,MAAM,uBAAuB,kDAA8B,CAAC"}
|
@@ -10,11 +10,10 @@ const react_1 = require("react");
|
|
10
10
|
const react_redux_1 = require("react-redux");
|
11
11
|
const reducers_1 = require("../reducers");
|
12
12
|
const useCollectionRecord_1 = require("./useCollectionRecord");
|
13
|
-
const
|
13
|
+
const useParams_app_1 = require("./useParams.app");
|
14
14
|
const useCollectionRecordProvider = (collectionName, paramName = 'slug') => {
|
15
|
-
const navigator = useNavigator_1.useNavigator();
|
16
15
|
const dispatch = react_redux_1.useDispatch();
|
17
|
-
const param =
|
16
|
+
const { [paramName]: param } = useParams_app_1.useParams();
|
18
17
|
const record = useCollectionRecord_1.useCollectionRecord(collectionName, param);
|
19
18
|
const key = change_case_1.constantCase(pluralize_1.default.singular(collectionName));
|
20
19
|
react_1.useEffect(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useCollectionRecordProvider.js","sourceRoot":"","sources":["../../../src/hooks/useCollectionRecordProvider.tsx"],"names":[],"mappings":";;;;;;AAAA,6CAA2C;AAC3C,0DAAkC;AAClC,iCAAkC;AAClC,6CAA0C;AAC1C,0CAA0D;AAC1D,+DAA4D;
|
1
|
+
{"version":3,"file":"useCollectionRecordProvider.js","sourceRoot":"","sources":["../../../src/hooks/useCollectionRecordProvider.tsx"],"names":[],"mappings":";;;;;;AAAA,6CAA2C;AAC3C,0DAAkC;AAClC,iCAAkC;AAClC,6CAA0C;AAC1C,0CAA0D;AAC1D,+DAA4D;AAE5D,mDAA4C;AAErC,MAAM,2BAA2B,GAAG,CAAE,cAAc,EAAE,SAAS,GAAG,MAAM,EAAE,EAAE;IAC/E,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAE/B,MAAM,EAAC,CAAC,SAAS,CAAC,EAAE,KAAK,EAAC,GAAG,yBAAS,EAAE,CAAC;IAEzC,MAAM,MAAM,GAAG,yCAAmB,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IAE1D,MAAM,GAAG,GAAG,0BAAY,CAAC,mBAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;IAG7D,iBAAS,CAAC,GAAE,EAAE;QACV,QAAQ,CACJ,wBAAa,CAAC,GAAG,EAAE,MAAM,CAAC,CAC7B,CAAC;QACF,OAAO,GAAE,EAAE,CAAC,uBAAY,CAAC,GAAG,CAAC,CAAA;IACjC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE5B,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC;AAlBW,QAAA,2BAA2B,+BAkBtC;AAEY,QAAA,uBAAuB,GAAG,mCAA2B,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const useConfig: (configName
|
1
|
+
export declare const useConfig: (configName?: string) => any;
|
2
2
|
//# sourceMappingURL=useConfig.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfig.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../../src/hooks/useConfig.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,gBAAiB,MAAM,QAE5C,CAAC"}
|
@@ -4,7 +4,7 @@ exports.useConfig = void 0;
|
|
4
4
|
const react_redux_1 = require("react-redux");
|
5
5
|
const lodash_1 = require("lodash");
|
6
6
|
const useConfig = (configName) => {
|
7
|
-
return react_redux_1.useSelector((s) => lodash_1.get(s.config.data, configName
|
7
|
+
return react_redux_1.useSelector((s) => configName ? lodash_1.get(s.config.data, configName) : s.config.data);
|
8
8
|
};
|
9
9
|
exports.useConfig = useConfig;
|
10
10
|
//# sourceMappingURL=useConfig.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useConfig.js","sourceRoot":"","sources":["../../../src/hooks/useConfig.tsx"],"names":[],"mappings":";;;AAAA,6CAA0C;AAC1C,mCAA2B;AAEpB,MAAM,SAAS,GAAG,CAAC,
|
1
|
+
{"version":3,"file":"useConfig.js","sourceRoot":"","sources":["../../../src/hooks/useConfig.tsx"],"names":[],"mappings":";;;AAAA,6CAA0C;AAC1C,mCAA2B;AAEpB,MAAM,SAAS,GAAG,CAAC,UAAmB,EAAC,EAAE;IAC5C,OAAO,yBAAW,CAAC,CAAC,CAA8B,EAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,YAAG,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;AACxH,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFonts.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFonts.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;CAiBpB,CAAC;AAGF,eAAO,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"useFonts.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFonts.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;CAiBpB,CAAC;AAGF,eAAO,MAAM,OAAO,oBAYnB,CAAC"}
|
@@ -21,12 +21,14 @@ const useFonts = () => {
|
|
21
21
|
exports.useFonts = useFonts;
|
22
22
|
const useFont = (font) => {
|
23
23
|
const { activeFonts } = react_redux_1.useSelector(s => s.fonts);
|
24
|
+
const isFontActive = react_1.useMemo(() => activeFonts.find(f => font && font.value === f.value), [font, activeFonts]);
|
24
25
|
const dispatch = react_redux_1.useDispatch();
|
25
26
|
react_1.useEffect(() => {
|
26
|
-
if (font && !
|
27
|
+
if (font && !isFontActive) {
|
27
28
|
dispatch(reducers_1.activateFont(font));
|
28
29
|
}
|
29
|
-
}, [
|
30
|
+
}, [isFontActive, font]);
|
31
|
+
return isFontActive;
|
30
32
|
};
|
31
33
|
exports.useFont = useFont;
|
32
34
|
//# sourceMappingURL=useFonts.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useFonts.js","sourceRoot":"","sources":["../../../src/hooks/useFonts.tsx"],"names":[],"mappings":";;;AAAA,iCAA2C;AAC3C,6CAAuD;AACvD,0CAA4D;AAErD,MAAM,QAAQ,GAAG,GAAE,EAAE;IAExB,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,mBAAmB,EAAC,GAAG,yBAAW,CAAC,CAAC,CAAA,EAAE,CAAA,CAAC,CAAC,KAAK,CAAC,CAAC;IAE7G,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAE/B,iBAAS,CAAC,GAAE,EAAE;QACV,IAAG,CAAC,oBAAoB,IAAI,CAAC,mBAAmB,EAAC;YAC7C,QAAQ,CAAC,0BAAe,EAAE,CAAC,CAAA;SAC9B;IACL,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,eAAO,CAAC,GAAE,EAAE,CAAA,CAAC;QAChB,QAAQ;QACR,QAAQ;QACR,WAAW;KACd,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;AAC3C,CAAC,CAAC;AAjBW,QAAA,QAAQ,YAiBnB;AAGK,MAAM,OAAO,GAAG,CAAC,IAAI,EAAC,EAAE;IAC3B,MAAM,EAAC,WAAW,EAAC,GAAG,yBAAW,CAAC,CAAC,CAAA,EAAE,CAAA,CAAC,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,
|
1
|
+
{"version":3,"file":"useFonts.js","sourceRoot":"","sources":["../../../src/hooks/useFonts.tsx"],"names":[],"mappings":";;;AAAA,iCAA2C;AAC3C,6CAAuD;AACvD,0CAA4D;AAErD,MAAM,QAAQ,GAAG,GAAE,EAAE;IAExB,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,mBAAmB,EAAC,GAAG,yBAAW,CAAC,CAAC,CAAA,EAAE,CAAA,CAAC,CAAC,KAAK,CAAC,CAA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O,MAAM,YAAY,
|
1
|
+
{"version":3,"file":"useNavigator.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNavigator.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,WA0BxB,CAAC;AAEF,eAAO,MAAM,aAAa,WAAe,CAAC"}
|
@@ -15,10 +15,11 @@ const useNavigator = () => {
|
|
15
15
|
const history = react_router_1.useHistory();
|
16
16
|
const { state, search, hash, pathname } = react_router_1.useLocation();
|
17
17
|
const dispatch = react_redux_1.useDispatch();
|
18
|
-
|
18
|
+
const navigator = react_1.useRef({});
|
19
|
+
react_1.useEffect(() => {
|
19
20
|
const allParams = params;
|
20
21
|
const queryParams = query_string_1.default.parse(search);
|
21
|
-
|
22
|
+
lodash_1.assign(navigator.current, history, {
|
22
23
|
pop: history.back,
|
23
24
|
navigate: (name, params) => history.push(dispatch(reducers_1.getPagePath(name, params))),
|
24
25
|
openPage: (name, params) => history.push(dispatch(reducers_1.getPagePath(name, params))),
|
@@ -32,6 +33,7 @@ const useNavigator = () => {
|
|
32
33
|
})
|
33
34
|
});
|
34
35
|
}, [params, history, pathname, hash, search, state]);
|
36
|
+
return navigator.current;
|
35
37
|
};
|
36
38
|
exports.useNavigator = useNavigator;
|
37
39
|
exports.useNavigation = exports.useNavigator;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useNavigator.js","sourceRoot":"","sources":["../../../src/hooks/useNavigator.tsx"],"names":[],"mappings":";;;;;;AAAA,mCAAgC;AAChC,
|
1
|
+
{"version":3,"file":"useNavigator.js","sourceRoot":"","sources":["../../../src/hooks/useNavigator.tsx"],"names":[],"mappings":";;;;;;AAAA,mCAAgC;AAChC,iCAAmD;AACnD,6CAA0C;AAC1C,gEAAuC;AACvC,+CAAkE;AAClE,0CAA0C;AAEnC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC7B,MAAM,MAAM,GAAG,wBAAS,EAAE,CAAC;IAC3B,MAAM,OAAO,GAAG,yBAAU,EAAE,CAAC;IAC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O,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;IAErD,OAAO,SAAS,CAAC,OAAO,CAAC;AAC7B,CAAC,CAAC;AA1BW,QAAA,YAAY,gBA0BvB;AAEW,QAAA,aAAa,GAAG,oBAAY,CAAC"}
|
@@ -33,6 +33,9 @@ export declare const saveConfig: (data: any, configName?: string) => {
|
|
33
33
|
method: any;
|
34
34
|
isRestRequest: boolean;
|
35
35
|
};
|
36
|
-
declare const
|
37
|
-
|
36
|
+
declare const config: {
|
37
|
+
(state: any, action: any): any;
|
38
|
+
persist: boolean;
|
39
|
+
};
|
40
|
+
export default config;
|
38
41
|
//# sourceMappingURL=config.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/reducers/config.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAEhD,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;AAOzD,wBAAgB,gBAAgB,CAAC,KAAK,KAAA,EAAE,UAAU,SAAQ;;;;EAMzD;AAED,eAAO,MAAM,SAAS;;;;;;;;;CAOpB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;CAQrB,CAAC
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/reducers/config.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAEhD,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;AAOzD,wBAAgB,gBAAgB,CAAC,KAAK,KAAA,EAAE,UAAU,SAAQ;;;;EAMzD;AAED,eAAO,MAAM,SAAS;;;;;;;;;CAOpB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;CAQrB,CAAC;AAEH,QAAA,MAAM,MAAM;;;CAwBX,CAAA;AAID,eAAe,MAAM,CAAC"}
|
@@ -42,7 +42,7 @@ const saveConfig = (data, configName = "web") => ({
|
|
42
42
|
isRestRequest: true,
|
43
43
|
});
|
44
44
|
exports.saveConfig = saveConfig;
|
45
|
-
|
45
|
+
const config = (state = initialState, action) => {
|
46
46
|
switch (action.type) {
|
47
47
|
case exports.SAVE_CONFIG_SUCCESS:
|
48
48
|
case exports.GET_CONFIG_SUCCESS:
|
@@ -55,4 +55,6 @@ exports.default = (state = initialState, action) => {
|
|
55
55
|
return state;
|
56
56
|
}
|
57
57
|
};
|
58
|
+
config.persist = true;
|
59
|
+
exports.default = config;
|
58
60
|
//# sourceMappingURL=config.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/reducers/config.tsx"],"names":[],"mappings":";;;AAAA,qDAA8C;AAEjC,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,YAAY,GAAG,mBAAmB,CAAC;AAEnC,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,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AM,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,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"}
|
@@ -5,7 +5,10 @@ export declare const menusCollection: any;
|
|
5
5
|
export declare const layoutsCollection: any;
|
6
6
|
export declare const domainCollection: any;
|
7
7
|
export declare const reducers: {
|
8
|
-
pages:
|
8
|
+
pages: {
|
9
|
+
(state: any, action: any): any;
|
10
|
+
persist: boolean;
|
11
|
+
};
|
9
12
|
menus: any;
|
10
13
|
plugins: any;
|
11
14
|
domains: any;
|
@@ -19,7 +22,10 @@ export declare const reducers: {
|
|
19
22
|
dataSource: (state: any, action: any) => any;
|
20
23
|
icons: (state: any, action: any) => any;
|
21
24
|
fonts: (state: any, action: any) => any;
|
22
|
-
config:
|
25
|
+
config: {
|
26
|
+
(state: any, action: any): any;
|
27
|
+
persist: boolean;
|
28
|
+
};
|
23
29
|
routes: (state: any, action: any) => any;
|
24
30
|
modals: (state: any, action: any) => any;
|
25
31
|
files: (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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../src/reducers/pages.tsx"],"names":[],"mappings":"AAcA,QAAA,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../src/reducers/pages.tsx"],"names":[],"mappings":"AA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