@evlop/commons 1.0.227 → 1.0.229
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/hooks/useAction.d.ts +2 -1
- package/dist/src/hooks/useAction.d.ts.map +1 -1
- package/dist/src/hooks/useAction.js +29 -1
- package/dist/src/hooks/useAction.js.map +1 -1
- package/dist/src/hooks/useActionable.d.ts +2 -2
- package/dist/src/hooks/useActionable.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.js +1 -1
- package/dist/src/hooks/useActionable.js.map +1 -1
- package/package.json +1 -1
@@ -4,6 +4,7 @@ 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: any) =>
|
7
|
+
export declare const useAction: (action?: Action) => (event: any) => any;
|
8
|
+
export declare const useAsyncAction: (action?: Action) => (boolean | ((event: any) => Promise<void>))[];
|
8
9
|
export default useAction;
|
9
10
|
//# 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,wBAIxC,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM,yBAMK,GAAG,sBAYrD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -1,9 +1,18 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
2
11
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
13
|
};
|
5
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.useAction = void 0;
|
15
|
+
exports.useAsyncAction = exports.useAction = void 0;
|
7
16
|
const react_1 = require("react");
|
8
17
|
const useActionable_1 = __importDefault(require("./useActionable"));
|
9
18
|
// link, callback, dispatch, navigate
|
@@ -17,5 +26,24 @@ const useAction = (action) => {
|
|
17
26
|
return react_1.useMemo(() => action ? createActionHandeller(action) : null, [action, createActionHandeller]);
|
18
27
|
};
|
19
28
|
exports.useAction = useAction;
|
29
|
+
const useAsyncAction = (action) => {
|
30
|
+
const createActionHandeller = useActionable_1.default();
|
31
|
+
const [isProcessing, setIsProcessing] = react_1.useState(false);
|
32
|
+
const actionHandeller = react_1.useMemo(() => action ? createActionHandeller(action) : null, [action, createActionHandeller]);
|
33
|
+
const handleAction = react_1.useCallback((event) => __awaiter(void 0, void 0, void 0, function* () {
|
34
|
+
setIsProcessing(true);
|
35
|
+
try {
|
36
|
+
yield actionHandeller(event);
|
37
|
+
}
|
38
|
+
catch (error) {
|
39
|
+
console.error(error);
|
40
|
+
}
|
41
|
+
finally {
|
42
|
+
setIsProcessing(false);
|
43
|
+
}
|
44
|
+
}), [actionHandeller]);
|
45
|
+
return [isProcessing, handleAction];
|
46
|
+
};
|
47
|
+
exports.useAsyncAction = useAsyncAction;
|
20
48
|
exports.default = exports.useAction;
|
21
49
|
//# sourceMappingURL=useAction.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAction.js","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"useAction.js","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iCAAuD;AACvD,oEAAwD;AAExD,qCAAqC;AACrC;;;;GAIG;AAEI,MAAM,SAAS,GAAG,CAAC,MAAe,EAAC,EAAE;IACxC,MAAM,qBAAqB,GAAG,uBAAa,EAAE,CAAC;IAE9C,OAAO,eAAO,CAAC,GAAE,EAAE,CAAA,MAAM,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;AACvG,CAAC,CAAC;AAJW,QAAA,SAAS,aAIpB;AAEK,MAAM,cAAc,GAAG,CAAC,MAAe,EAAC,EAAE;IAC7C,MAAM,qBAAqB,GAAG,uBAAa,EAAE,CAAC;IAC9C,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,gBAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,MAAM,eAAe,GAAG,eAAO,CAAC,GAAE,EAAE,CAAA,MAAM,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;IAEpH,MAAM,YAAY,GAAG,mBAAW,CAAC,CAAO,KAAU,EAAC,EAAE;QACjD,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,IAAG;YACC,MAAM,eAAe,CAAC,KAAK,CAAC,CAAC;SAChC;QAAA,OAAM,KAAK,EAAC;YACT,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACxB;gBAAO;YACJ,eAAe,CAAC,KAAK,CAAC,CAAC;SAC1B;IACL,CAAC,CAAA,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AACxC,CAAC,CAAC;AAlBW,QAAA,cAAc,kBAkBzB;AAEF,kBAAe,iBAAS,CAAC"}
|
@@ -27,10 +27,10 @@ export interface ActionObject extends Object {
|
|
27
27
|
}
|
28
28
|
declare type ActionFunction = (event: any) => void;
|
29
29
|
export declare type Action = ActionObject | ActionFunction | 'string';
|
30
|
-
export declare const useActionableWithNavigator: (navigator: any) => (action: Action | Action[]) => (event: any) =>
|
30
|
+
export declare const useActionableWithNavigator: (navigator: any) => (action: Action | Action[]) => (event: any) => any;
|
31
31
|
/**
|
32
32
|
* @description a function to map action into action handeller function
|
33
33
|
*/
|
34
|
-
export declare const useActionable: () => (action: Action | Action[]) => (event: any) =>
|
34
|
+
export declare const useActionable: () => (action: Action | Action[]) => (event: any) => any;
|
35
35
|
export default useActionable;
|
36
36
|
//# 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,YAAa,SAAQ,MAAM;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAChC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC7B,MAAM,EAAE,GAAG,CAAC;IACZ;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,WAAW,EAAE,MAAM,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AE,GAAG,CAAA;KAAC,KAAK,IAAI,CAAC;CACxF;AAED,aAAK,cAAc,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;AAC3C,oBAAY,MAAM,GAAG,YAAY,GAAG,cAAc,GAAG,QAAQ,CAAC;AAE9D,eAAO,MAAM,0BAA0B,cAAe,GAAG,cA+CH,MAAM,GAAG,MAAM,EAAE,aAAa,GAAG,QAUtF,CAAA;AAED;;GAEG;AACJ,eAAO,MAAM,aAAa,iBAf6B,MAAM,GAAG,MAAM,EAAE,aAAa,GAAG,QAmBvF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -69,7 +69,7 @@ const useActionableWithNavigator = (navigator) => {
|
|
69
69
|
lodash_1.reduce(action, (promise, actionItem) => promise.then(() => handleAction(actionItem, event)), Promise.resolve());
|
70
70
|
return;
|
71
71
|
}
|
72
|
-
handleAction(action, event);
|
72
|
+
return handleAction(action, event);
|
73
73
|
}, [handleAction]);
|
74
74
|
return createActionHandeller;
|
75
75
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":";;;;;;AAAA,iCAAqD;AACrD,6CAA0C;AAC1C,mCAAuD;AACvD,iDAA4C;AAC5C,yCAAoC;AACpC,gEAAwC;AA+BhC,MAAM,0BAA0B,GAAG,CAAC,SAAc,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,cAAM,EAAE,CAAC;IAC1B,MAAM,mBAAmB,GAAG,cAAM,EAAY,CAAC;IAC/C,QAAQ,CAAC,OAAO,GAAG,mBAAQ,EAAE,CAAC;IAC9B,mBAAmB,CAAC,OAAO,GAAG,qBAAW,EAAE,CAAC;IAE5C,MAAM,YAAY,GAAI,mBAAW,CAAC,CAAC,MAAc,EAAE,KAAU,EAAG,EAAE;QAC9D,IAAI,WAAW,GAAG,MAAM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