@evlop/commons 1.0.155 → 1.0.157
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -1
- package/dist/src/hooks/useAction.d.ts +1 -1
- package/dist/src/hooks/useAction.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.d.ts +1 -1
- package/dist/src/hooks/useActionable.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.js.map +1 -1
- package/dist/src/providers/index.d.ts +0 -1
- package/dist/src/providers/index.d.ts.map +1 -1
- package/dist/src/providers/index.js +0 -1
- package/dist/src/providers/index.js.map +1 -1
- package/dist/src/{providers → services}/SessionManager.d.ts +0 -0
- package/dist/src/services/SessionManager.d.ts.map +1 -0
- package/dist/src/{providers → services}/SessionManager.js +0 -0
- package/dist/src/services/SessionManager.js.map +1 -0
- package/dist/src/services/index.d.ts +2 -0
- package/dist/src/services/index.d.ts.map +1 -0
- package/dist/src/services/index.js +14 -0
- package/dist/src/services/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/providers/SessionManager.d.ts.map +0 -1
- package/dist/src/providers/SessionManager.js.map +0 -1
package/dist/main.d.ts
CHANGED
@@ -8,5 +8,6 @@ export { default as dataSources } from './src/data-sources';
|
|
8
8
|
export * from './src/actions';
|
9
9
|
export * from './src/middlewares';
|
10
10
|
export * from './src/reducers';
|
11
|
+
export * from './src/services';
|
11
12
|
export * from './src/hooks';
|
12
13
|
//# sourceMappingURL=main.d.ts.map
|
package/dist/main.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../main.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AAEjC,cAAc,eAAe,CAAC;AAE9B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAA;AAE9B,cAAc,eAAe,CAAA;AAE7B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAE3D,cAAc,eAAe,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,aAAa,CAAC"}
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../main.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AAEjC,cAAc,eAAe,CAAC;AAE9B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,gBAAgB,CAAA;AAE9B,cAAc,eAAe,CAAA;AAE7B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAE3D,cAAc,eAAe,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,aAAa,CAAC"}
|
package/dist/main.js
CHANGED
@@ -25,5 +25,6 @@ Object.defineProperty(exports, "dataSources", { enumerable: true, get: function
|
|
25
25
|
__exportStar(require("./src/actions"), exports);
|
26
26
|
__exportStar(require("./src/middlewares"), exports);
|
27
27
|
__exportStar(require("./src/reducers"), exports);
|
28
|
+
__exportStar(require("./src/services"), exports);
|
28
29
|
__exportStar(require("./src/hooks"), exports);
|
29
30
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AAEjC,gDAA8B;AAE9B,kDAAgC;AAEhC,kDAAgC;AAEhC,iDAA8B;AAE9B,gDAA6B;AAE7B,mDAA2D;AAAlD,4HAAA,OAAO,OAAe;AAE/B,gDAA8B;AAE9B,oDAAkC;AAElC,iDAA+B;AAE/B,8CAA4B"}
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AAEjC,gDAA8B;AAE9B,kDAAgC;AAEhC,kDAAgC;AAEhC,iDAA8B;AAE9B,gDAA6B;AAE7B,mDAA2D;AAAlD,4HAAA,OAAO,OAAe;AAE/B,gDAA8B;AAE9B,oDAAkC;AAElC,iDAA+B;AAE/B,iDAA+B;AAE/B,8CAA4B"}
|
@@ -4,6 +4,6 @@ import { Action } from './useActionable';
|
|
4
4
|
* @param action action object ot function
|
5
5
|
* @returns function
|
6
6
|
*/
|
7
|
-
export declare const useAction: (action?: Action) => (event
|
7
|
+
export declare const useAction: (action?: Action) => (event?: any) => any;
|
8
8
|
export default useAction;
|
9
9
|
//# sourceMappingURL=useAction.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":"AACA,OAAsB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGxD;;;;GAIG;AAEH,eAAO,MAAM,SAAS,YAAa,MAAM,
|
1
|
+
{"version":3,"file":"useAction.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":"AACA,OAAsB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGxD;;;;GAIG;AAEH,eAAO,MAAM,SAAS,YAAa,MAAM,yBAIxC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -16,6 +16,6 @@ export declare type Action = ActionObject | Function | any;
|
|
16
16
|
/**
|
17
17
|
* @description a function to map action into action handeller function
|
18
18
|
*/
|
19
|
-
export declare const useActionable: () => (action: Action) => (event
|
19
|
+
export declare const useActionable: () => (action: Action) => (event?: any) => any;
|
20
20
|
export default useActionable;
|
21
21
|
//# sourceMappingURL=useActionable.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AAEF,MAAM,WAAW,YAAY;IACzB,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,oBAAY,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,GAAG,CAAA;AAElD;;GAEG;AACJ,eAAO,MAAM,aAAa,iBAM8B,MAAM,
|
1
|
+
{"version":3,"file":"useActionable.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AAEF,MAAM,WAAW,YAAY;IACzB,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,oBAAY,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,GAAG,CAAA;AAElD;;GAEG;AACJ,eAAO,MAAM,aAAa,iBAM8B,MAAM,cAAc,GAAG,QA0B9E,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":";;;;;;AAAA,iCAA6C;AAC7C,6CAA0C;AAC1C,mCAAwC;AACxC,iDAA4C;AAC5C,yCAAoC;AACpC,gEAAwC;AACxC,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sources":["../../../src/providers/index.tsx"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
@@ -10,7 +10,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11
11
|
};
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./SessionManager"), exports);
|
14
13
|
__exportStar(require("./DataSource"), exports);
|
15
14
|
__exportStar(require("./Scope"), exports);
|
16
15
|
__exportStar(require("./Scopes"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0CAAwB;AACxB,2CAAyB;AACzB,iDAA+B"}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SessionManager.d.ts","sourceRoot":"","sources":["../../../src/services/SessionManager.tsx"],"names":[],"mappings":"AAKA,wBAAgB,cAAc,QAmB7B;AAED,eAAe,cAAc,CAAC"}
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SessionManager.js","sourceRoot":"","sources":["../../../src/services/SessionManager.tsx"],"names":[],"mappings":";;;AAAA,mCAA0D;AAC1D,iCAAkC;AAClC,6CAAuD;AACvD,iDAA8D;AAE9D,SAAgB,cAAc;IAE1B,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,OAAO,GAAG,yBAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAE5C,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,GAAG,WAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAA;IAEhF,iBAAS,CAAC,GAAE,EAAE;QACV,OAAO,CAAC,GAAG,CAAE,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,CAAA;QACtC,IAAG,gBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;YAAE,OAAO;QAC1C,MAAM,OAAO,GAAG,eAAM,CAAC,cAAc,EAAE,CAAC,MAAM,EAAE,GAAG,EAAC,EAAE,CAAA,iCAC/C,MAAM,KACT,CAAC,GAAG,CAAC,EAAE,oBAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IACjD,EAAE,EAAE,CAAC,CAAA;QACP,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;QACvC,QAAQ,CAAC,iCAAuB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAA;IAClD,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEzC,OAAO,IAAI,CAAC;AAChB,CAAC;AAnBD,wCAmBC;AAED,kBAAe,cAAc,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
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
|
+
};
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
+
__exportStar(require("./SessionManager"), exports);
|
14
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAiC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SessionManager.d.ts","sourceRoot":"","sources":["../../../src/providers/SessionManager.tsx"],"names":[],"mappings":"AAKA,wBAAgB,cAAc,QAmB7B;AAED,eAAe,cAAc,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SessionManager.js","sourceRoot":"","sources":["../../../src/providers/SessionManager.tsx"],"names":[],"mappings":";;;AAAA,mCAA0D;AAC1D,iCAAkC;AAClC,6CAAuD;AACvD,iDAA8D;AAE9D,SAAgB,cAAc;IAE1B,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,OAAO,GAAG,yBAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IAE5C,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,GAAG,WAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAA;IAEhF,iBAAS,CAAC,GAAE,EAAE;QACV,OAAO,CAAC,GAAG,CAAE,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,CAAA;QAC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