@evlop/commons 1.0.77 → 1.0.81
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/constants/iconInfo/index.d.ts +3 -0
- package/dist/src/constants/iconInfo/index.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/index.js +4 -0
- package/dist/src/constants/iconInfo/index.js.map +1 -0
- package/dist/src/constants/iconInfo/index.native.d.ts +3 -0
- package/dist/src/constants/iconInfo/index.native.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/index.native.js +8 -0
- package/dist/src/constants/iconInfo/index.native.js.map +1 -0
- package/dist/src/constants/iconInfo/index.web.d.ts +3 -0
- package/dist/src/constants/iconInfo/index.web.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/index.web.js +8 -0
- package/dist/src/constants/iconInfo/index.web.js.map +1 -0
- package/dist/src/constants/{iconInfo.d.ts → iconInfo/reactNativeVectorIcons.d.ts} +3 -3
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
- package/dist/src/constants/{iconInfo.js → iconInfo/reactNativeVectorIcons.js} +3 -3
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -0
- package/dist/src/constants/index.d.ts +1 -2
- package/dist/src/constants/index.d.ts.map +1 -1
- package/dist/src/constants/index.js +12 -3
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/constants/platformSpecific.d.ts +4 -0
- package/dist/src/constants/platformSpecific.d.ts.map +1 -0
- package/dist/src/constants/platformSpecific.js +7 -0
- package/dist/src/constants/platformSpecific.js.map +1 -0
- package/dist/src/constants/platformSpecific.native.d.ts +4 -0
- package/dist/src/constants/platformSpecific.native.d.ts.map +1 -0
- package/dist/src/constants/platformSpecific.native.js +9 -0
- package/dist/src/constants/platformSpecific.native.js.map +1 -0
- package/dist/src/hooks/useAction.d.ts.map +1 -1
- package/dist/src/hooks/useAction.js +4 -2
- package/dist/src/hooks/useAction.js.map +1 -1
- package/dist/src/reducers/index.d.ts +1 -0
- package/dist/src/reducers/index.d.ts.map +1 -1
- package/dist/src/reducers/index.js +2 -1
- package/dist/src/reducers/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/constants/iconInfo.d.ts.map +0 -1
- package/dist/src/constants/iconInfo.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.ts"],"names":[],"mappings":";AAAA,wBAAiB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.ts"],"names":[],"mappings":";;AAAA,kBAAe,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.native.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,eAAe,sBAAsB,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const reactNativeVectorIcons_1 = __importDefault(require("./reactNativeVectorIcons"));
|
7
|
+
exports.default = reactNativeVectorIcons_1.default;
|
8
|
+
//# sourceMappingURL=index.native.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.native.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.native.ts"],"names":[],"mappings":";;;;;AAAA,sFAA8D;AAE9D,kBAAe,gCAAsB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,eAAe,sBAAsB,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
const reactNativeVectorIcons_1 = __importDefault(require("./reactNativeVectorIcons"));
|
7
|
+
exports.default = reactNativeVectorIcons_1.default;
|
8
|
+
//# sourceMappingURL=index.web.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.web.ts"],"names":[],"mappings":";;;;;AAAA,sFAA8D;AAE9D,kBAAe,gCAAsB,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const
|
1
|
+
declare const reactNativeVectorIcons: {
|
2
2
|
[x: string]: {
|
3
3
|
id: string;
|
4
4
|
type: string;
|
@@ -12,5 +12,5 @@ declare const iconInfo: {
|
|
12
12
|
character: never;
|
13
13
|
};
|
14
14
|
};
|
15
|
-
export default
|
16
|
-
//# sourceMappingURL=
|
15
|
+
export default reactNativeVectorIcons;
|
16
|
+
//# sourceMappingURL=reactNativeVectorIcons.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reactNativeVectorIcons.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/reactNativeVectorIcons.ts"],"names":[],"mappings":"AAmDA,QAAA,MAAO,sBAAsB;;;;;;;;;;;;;CAAgC,CAAC;AAE9D,eAAe,sBAAsB,CAAA"}
|
@@ -41,6 +41,6 @@ const vectorIcons = lodash_1.chain(iconLibraries)
|
|
41
41
|
})))
|
42
42
|
.keyBy('id')
|
43
43
|
.value();
|
44
|
-
const
|
45
|
-
exports.default =
|
46
|
-
//# sourceMappingURL=
|
44
|
+
const reactNativeVectorIcons = Object.assign(Object.assign({}, fa5Icons), vectorIcons);
|
45
|
+
exports.default = reactNativeVectorIcons;
|
46
|
+
//# sourceMappingURL=reactNativeVectorIc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AAC,CAAC,YAAY,EAAC,EAAE,CAAA,YAAG,CAAC,YAAY,EAAE,CAAC,SAAS,EAAE,IAAI,EAAC,EAAE,CAAA,CAAC,EAAC,SAAS,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;KACpF,OAAO,CACJ,CAAC,kBAAkB,EAAE,WAAW,EAAC,EAAE,CAAC,YAAG,CAAC,kBAAkB,EACtD,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAC,EAAE,EAAE,CAAC,CAAC;IAC9B,EAAE,EAAE,GAAG,uBAAS,CAAC,WAAW,CAAC,IAAI,QAAQ,EAAE;IAC3C,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,uBAAS,CAAC,WAAW,CAAC;IAC5B,SAAS;CACZ,CAAC,CACL,CACJ;KACA,KAAK,CAAC,IAAI,CAAC;KACX,KAAK,EAAE,CAAC;AAErB,MAAO,sBAAsB,mCAAO,QAAQ,GAAK,WAAW,CAAC,CAAC;AAE9D,kBAAe,sBAAsB,CAAA"}
|
@@ -1,5 +1,3 @@
|
|
1
|
-
export declare const API_BASE_URL: string;
|
2
|
-
export declare const SOCKET_URL: string;
|
3
1
|
export declare const IS_SSR: boolean;
|
4
2
|
export declare const DIRECTION_TOP = "direction/Top";
|
5
3
|
export declare const DIRECTION_RIGHT = "direction/Right";
|
@@ -9,4 +7,5 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
9
7
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
10
8
|
export declare const TYPE_COMPONENT = "type/component";
|
11
9
|
export { default as iconInfo } from './iconInfo';
|
10
|
+
export * from './platformSpecific';
|
12
11
|
//# 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,
|
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;AAE/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,oBAAoB,CAAC"}
|
@@ -1,11 +1,19 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5
|
+
}) : (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
o[k2] = m[k];
|
8
|
+
}));
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11
|
+
};
|
2
12
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
14
|
};
|
5
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
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 =
|
7
|
-
exports.API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
8
|
-
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
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;
|
9
17
|
exports.IS_SSR = ['true', '1'].includes(String(process.env.SSR).toLowerCase());
|
10
18
|
exports.DIRECTION_TOP = "direction/Top";
|
11
19
|
exports.DIRECTION_RIGHT = "direction/Right";
|
@@ -16,4 +24,5 @@ exports.HORIZONTAL_LAYOUT = 'layout/horizontal';
|
|
16
24
|
exports.TYPE_COMPONENT = "type/component";
|
17
25
|
var iconInfo_1 = require("./iconInfo");
|
18
26
|
Object.defineProperty(exports, "iconInfo", { enumerable: true, get: function () { return __importDefault(iconInfo_1).default; } });
|
27
|
+
__exportStar(require("./platformSpecific"), exports);
|
19
28
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"
|
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;AAE/C,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,qDAAmC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAAK,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
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
|
+
//# sourceMappingURL=platformSpecific.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../src/constants/platformSpecific.ts"],"names":[],"mappings":";;;AAAa,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;AACxF,QAAA,QAAQ,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAiG,CAAC;AAC3H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.APP_NAME = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
4
|
+
const react_native_1 = require("react-native");
|
5
|
+
const { AppConstants } = react_native_1.NativeModules;
|
6
|
+
exports.API_BASE_URL = AppConstants.getApiBaseUrl() || process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
7
|
+
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
8
|
+
exports.APP_NAME = AppConstants.getAppName();
|
9
|
+
//# sourceMappingURL=platformSpecific.native.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":";;;AAAA,+CAA2C;AAC3C,MAAM,EAAC,YAAY,EAAC,GAAG,4BAAa,CAAC;AAExB,QAAA,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9G,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACxF,QAAA,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AAEF,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACjC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,QAAQ,EAAE,QAAQ,CAAC;CACtB;AAED,aAAK,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,GAAG,CAAA;AAE5C,eAAO,MAAM,SAAS,WAAY,MAAM,
|
1
|
+
{"version":3,"file":"useAction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AAEF,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACjC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,QAAQ,EAAE,QAAQ,CAAC;CACtB;AAED,aAAK,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,GAAG,CAAA;AAE5C,eAAO,MAAM,SAAS,WAAY,MAAM,QAgCvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -24,11 +24,13 @@ const useAction = (action) => {
|
|
24
24
|
if (typeof actionToUse === 'function')
|
25
25
|
return actionToUse;
|
26
26
|
if (actionToUse) {
|
27
|
-
const { link, navigate, page, params, dispatch: dispatchAction, route, callback } = actionToUse;
|
27
|
+
const { link, navigate, push, page, params, dispatch: dispatchAction, route, callback } = actionToUse;
|
28
28
|
if (link)
|
29
29
|
return () => navigator.openURL(template(link));
|
30
30
|
if (navigate)
|
31
|
-
return () => navigator.navigate(...lodash_1.castArray(navigate));
|
31
|
+
return () => navigator.navigate(...lodash_1.castArray(JSON.parse(template(JSON.stringify(navigate)))));
|
32
|
+
if (push)
|
33
|
+
return () => navigator.push(...lodash_1.castArray(JSON.parse(template(JSON.stringify(navigate)))));
|
32
34
|
if (page)
|
33
35
|
return () => {
|
34
36
|
console.log(page, params);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAction.js","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":";;;;;;AAAA,iCAAgC;AAChC,6CAA0C;AAC1C,mCAAwC;AACxC,iDAA4C;AAC5C,yCAAoC;AACpC,gEAAwC;AACxC,mCAAiC;AAqB1B,MAAM,SAAS,GAAG,CAAC,MAAc,EAAC,EAAE;IAEvC,MAAM,SAAS,GAAG,2BAAY,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,mBAAQ,EAAE,CAAC;IACzB,MAAM,QAAQ,GAAG,qBAAW,EAAE,CAAC;IAE/B,OAAO,eAAO,CAAC,GAAE,EAAE;QACf,IAAI,WAAW,GAAG,MAAM,CAAC;QAEzB,OAAO,WAAW,IAAI,WAAW,CAAC,OAAO,EAAC;YACtC,WAAW,GAAG,YAAG,CAAC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;SACjD;QAED,IAAG,OAAO,WAAW,KAAK,UAAU;YAAE,OAAO,WAAW,CAAC;QAEzD,IAAG,WAAW,EAAE;YACZ,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,EAAC,GAAG,WAAW,CAAC;
|
1
|
+
{"version":3,"file":"useAction.js","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":";;;;;;AAAA,iCAAgC;AAChC,6CAA0C;AAC1C,mCAAwC;AACxC,iDAA4C;AAC5C,yCAAoC;AACpC,gEAAwC;AACxC,mCAAiC;AAqB1B,MAAM,SAAS,GAAG,CAAC,MAAc,EAAC,EAAE;IAEvC,MAAM,SAAS,GAAG,2BAAY,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,G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AAE,CAAC,CAAC,CAAA;oBAC5F,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,CAAA;gBACzC,CAAC,CAAC;YACF,IAAI,KAAK;gBAAE,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;YAC7D,IAAI,cAAc;gBAAE,OAAO,GAAG,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;YAC1D,IAAI,QAAQ;gBAAE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAC,CAAC,CAAC;SAC1E;IACL,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtC,CAAC,CAAC;AAhCW,QAAA,SAAS,aAgCpB;AAEF,kBAAe,iBAAS,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export declare const pagesCollection: any;
|
2
2
|
export declare const pluginsCollection: any;
|
3
|
+
export declare const collectionsCollection: any;
|
3
4
|
export declare const menusCollection: any;
|
4
5
|
export declare const layoutsCollection: any;
|
5
6
|
export declare const domainCollection: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reducers/index.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,eAAe,KAAyB,CAAC;AACtD,eAAO,MAAM,iBAAiB,KAA2B,CAAC;AAC1D,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,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAEvB,eAAe,QAAQ,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reducers/index.tsx"],"names":[],"mappings":"AAiBA,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,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAEvB,eAAe,QAAQ,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.reducers = exports.domainCollection = exports.layoutsCollection = exports.menusCollection = exports.pluginsCollection = exports.pagesCollection = void 0;
|
16
|
+
exports.reducers = exports.domainCollection = exports.layoutsCollection = exports.menusCollection = exports.collectionsCollection = exports.pluginsCollection = exports.pagesCollection = void 0;
|
17
17
|
const redux_form_1 = require("redux-form");
|
18
18
|
const redux_rest_1 = require("@mukti107/redux-rest");
|
19
19
|
const config_1 = __importDefault(require("./config"));
|
@@ -31,6 +31,7 @@ const adminMenus_1 = __importDefault(require("./adminMenus"));
|
|
31
31
|
const restCollection = redux_rest_1.restApiCollection;
|
32
32
|
exports.pagesCollection = restCollection('Page');
|
33
33
|
exports.pluginsCollection = restCollection('Plugin');
|
34
|
+
exports.collectionsCollection = restCollection('collections');
|
34
35
|
exports.menusCollection = restCollection('Menu');
|
35
36
|
exports.layoutsCollection = restCollection('Layout');
|
36
37
|
exports.domainCollection = restCollection('Domain');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/reducers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAkD;AAClD,qDAAuD;AACvD,sDAA8B;AAC9B,8DAAsC;AACtC,wDAAgC;AAChC,kDAA0B;AAC1B,sDAA8B;AAC9B,oDAA4B;AAC5B,sDAA8B;AAC9B,oDAA4B;AAC5B,oDAA4B;AAC5B,8DAAsC;AACtC,8DAAsC;AACtC,8DAAsC;AAEtC,MAAM,cAAc,GAAG,8BAAiB,CAAC;AAE5B,QAAA,eAAe,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AACzC,QAAA,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAC7C,QAAA,eAAe,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AACzC,QAAA,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAC7C,QAAA,gBAAgB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE5C,QAAA,QAAQ,GAAG;IACpB,KAAK,EAAE,uBAAe,CAAC,OAAO;IAC9B,KAAK,EAAE,uBAAe,CAAC,OAAO;IAC9B,OAAO,EAAE,yBAAiB,CAAC,OAAO;IAClC,OAAO,EAAE,wBAAgB,CA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AG,cAAc,CAAC,QAAQ,CAAC,CAAC;AAE5C,QAAA,QAAQ,GAAG;IACpB,KAAK,EAAE,uBAAe,CAAC,OAAO;IAC9B,KAAK,EAAE,uBAAe,CAAC,OAAO;IAC9B,OAAO,EAAE,yBAAiB,CAAC,OAAO;IAClC,OAAO,EAAE,wBAAgB,CAAC,OAAO;IACjC,OAAO,EAAE,yBAAiB,CAAC,OAAO;IAClC,UAAU,EAAV,oBAAU;IACV,IAAI,EAAE,oBAAW;IACjB,IAAI,EAAJ,cAAI;IACJ,OAAO,EAAP,iBAAO;IACP,UAAU,EAAV,oBAAU;IACV,UAAU,EAAV,oBAAU;IACV,UAAU,EAAV,oBAAU;IACV,KAAK,EAAL,eAAK;IACL,KAAK,EAAL,eAAK;IACL,MAAM,EAAN,gBAAM;IACN,MAAM,EAAN,gBAAM;IACN,MAAM,EAAN,gBAAM;IACN,KAAK,EAAL,eAAK;CACR,CAAC;AAEF,+CAA6B;AAC7B,+CAA6B;AAC7B,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AAEvB,kBAAe,gBAAQ,CAAC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"iconInfo.d.ts","sourceRoot":"","sources":["../../../src/constants/iconInfo.ts"],"names":[],"mappings":"AAmDA,QAAA,MAAO,QAAQ;;;;;;;;;;;;;CAAgC,CAAC;AAEhD,eAAe,QAAQ,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"iconInfo.js","sourceRoot":"","sources":["../../../src/constants/iconInfo.ts"],"names":[],"mappings":";;;;;AAAA,wGAA2E;AAC3E,kGAAqE;AACrE,wGAA0E;AAC1E,oGAAuE;AACvE,4GAA+E;AAC/E,gIAA+F;AAC/F,sHAAqF;AACrF,sGAAyE;AACzE,0GAA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