@evlop/commons 1.0.212 → 1.0.213
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/helpers/themeHelpers.d.ts +1 -1
- package/dist/src/helpers/themeHelpers.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.d.ts +12 -3
- package/dist/src/hooks/useActionable.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.js +30 -16
- package/dist/src/hooks/useActionable.js.map +1 -1
- package/package.json +1 -1
@@ -191,7 +191,7 @@ declare type ColorAlphaShades = typeof colorAlphaShades;
|
|
191
191
|
export declare type ColorShade = keyof ColorShades;
|
192
192
|
export declare type GrayColorShade = keyof GrayColorShades;
|
193
193
|
export declare type ColorAlphaShade = keyof ColorAlphaShades;
|
194
|
-
declare type ShadeableColor =
|
194
|
+
declare type ShadeableColor = BaseColor;
|
195
195
|
declare type ShadeableColorWithoutGray = Exclude<ShadeableColor, 'gray'>;
|
196
196
|
declare type ShadedColorWithoutGray = `${ShadeableColorWithoutGray}-shade-${ColorShade}` | `${ShadeableColorWithoutGray}-${ColorShade}`;
|
197
197
|
declare type ShadedGrayColor = `gray-shade-${GrayColorShade}` | `gray-${GrayColorShade}`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"themeHelpers.d.ts","sourceRoot":"","sources":["../../../src/helpers/themeHelpers.tsx"],"names":[],"mappings":"AA+BA,eAAO,MAAM,iBAAiB,aAAa,MAAM;;;;CAI/C,CAAC;AAGH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BrB,CAAA;AAED,aAAK,SAAS,GAAG,OAAO,SAAS,CAAC;AAClC,aAAK,QAAQ,GAAG,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,WAAW;;;;;;;;;;CAUhB,CAAC;AAEF,aAAK,WAAW,GAAG,OAAO,WAAW,CAAC;AACtC,aAAK,UAAU,GAAG,MAAM,WAAW,CAAC;AAEpC,eAAO,MAAM,iBAAiB,iBAAkB,MAAM;;CAA+C,CAAC;AAGtG,eAA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M;KAAC,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;CACpB"}
|
@@ -3,21 +3,30 @@
|
|
3
3
|
* @param action action object ot function
|
4
4
|
* @returns function
|
5
5
|
*/
|
6
|
-
export interface ActionObject {
|
6
|
+
export interface ActionObject extends Object {
|
7
7
|
link: string;
|
8
8
|
bindKey: string;
|
9
9
|
route: string;
|
10
|
+
push: Array<string> | string;
|
10
11
|
navigate: Array<string> | string;
|
12
|
+
replace: Array<string> | string;
|
11
13
|
page: Array<string> | string;
|
14
|
+
params: any;
|
12
15
|
/**
|
13
16
|
* @deprecated use reduxAction instead
|
14
17
|
*/
|
15
18
|
dispatch: Object | Function;
|
16
19
|
reduxAction: Object | Function;
|
17
20
|
navigationAction: Object;
|
18
|
-
callback:
|
21
|
+
callback: (options: {
|
22
|
+
event: any;
|
23
|
+
navigator: any;
|
24
|
+
dispatch: any;
|
25
|
+
scope: any;
|
26
|
+
}) => void;
|
19
27
|
}
|
20
|
-
|
28
|
+
declare type ActionFunction = (event: any) => void;
|
29
|
+
export declare type Action = ActionObject | ActionFunction | 'string';
|
21
30
|
export declare const useActionableWithNavigator: (navigator: any) => (action: Action | Action[]) => (event: any) => void;
|
22
31
|
/**
|
23
32
|
* @description a function to map action into action handeller function
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AAEF,MAAM,WAAW,
|
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,GAAG,QAAQ,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,CAAC,OAAO,EAAE;QAAC,KAAK,EAAE,GAAG,CAAC;QAAC,SAAS,EAAE,GAAG,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,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,SAUtF,CAAA;AAED;;GAEG;AACJ,eAAO,MAAM,aAAa,iBAf6B,MAAM,GAAG,MAAM,EAAE,aAAa,GAAG,SAmBvF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -10,45 +10,59 @@ const lodash_1 = require("lodash");
|
|
10
10
|
const useNavigator_1 = require("./useNavigator");
|
11
11
|
const useScope_1 = require("./useScope");
|
12
12
|
const useTemplate_1 = __importDefault(require("./useTemplate"));
|
13
|
-
const lodash_2 = require("lodash");
|
14
13
|
const useActionableWithNavigator = (navigator) => {
|
15
14
|
const dispatch = react_redux_1.useDispatch();
|
16
|
-
const
|
17
|
-
const
|
15
|
+
const scopeRef = react_1.useRef();
|
16
|
+
const templateFunctionRef = react_1.useRef();
|
17
|
+
scopeRef.current = useScope_1.useScope();
|
18
|
+
templateFunctionRef.current = useTemplate_1.default();
|
18
19
|
const handleAction = react_1.useCallback((action, event) => {
|
19
20
|
let actionToUse = action;
|
20
|
-
let scopeActionName = typeof actionToUse === 'string' ? actionToUse :
|
21
|
-
while (
|
22
|
-
actionToUse
|
23
|
-
|
21
|
+
// let scopeActionName = typeof actionToUse === 'string' ? actionToUse : get(actionToUse, 'bindKey');
|
22
|
+
while (typeof actionToUse === 'string' || (typeof actionToUse === 'object' && actionToUse.hasOwnProperty('bindKey'))) {
|
23
|
+
if (typeof actionToUse === 'string') {
|
24
|
+
actionToUse = lodash_1.get(scopeRef.current, actionToUse);
|
25
|
+
}
|
26
|
+
else {
|
27
|
+
const actionKey = actionToUse.bindKey;
|
28
|
+
const params = actionToUse.params;
|
29
|
+
const actionFromScopeAtSpecifiedPath = lodash_1.get(scopeRef.current, actionKey);
|
30
|
+
if (typeof actionFromScopeAtSpecifiedPath === 'function') {
|
31
|
+
const actionParams = params ? JSON.parse(templateFunctionRef.current(JSON.stringify(params))) : undefined;
|
32
|
+
actionToUse = () => actionFromScopeAtSpecifiedPath(actionParams);
|
33
|
+
}
|
34
|
+
else {
|
35
|
+
actionToUse = actionFromScopeAtSpecifiedPath;
|
36
|
+
}
|
37
|
+
}
|
24
38
|
}
|
25
39
|
if (typeof actionToUse === 'function')
|
26
40
|
return actionToUse(event);
|
27
41
|
if (typeof actionToUse === 'object') {
|
28
42
|
const { link, navigate, replace, navigationAction, push, page, params, dispatch: _reduxAction, reduxAction = _reduxAction, route, callback } = actionToUse;
|
29
43
|
if (link)
|
30
|
-
return navigator.openURL(
|
44
|
+
return navigator.openURL(templateFunctionRef.current(link));
|
31
45
|
if (navigate)
|
32
|
-
return navigator.navigate(...lodash_1.castArray(JSON.parse(
|
46
|
+
return navigator.navigate(...lodash_1.castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(navigate)))));
|
33
47
|
if (replace)
|
34
|
-
return navigator.replace(...lodash_1.castArray(JSON.parse(
|
48
|
+
return navigator.replace(...lodash_1.castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(replace)))));
|
35
49
|
if (push)
|
36
|
-
return navigator.push(...lodash_1.castArray(JSON.parse(
|
50
|
+
return navigator.push(...lodash_1.castArray(JSON.parse(templateFunctionRef.current(JSON.stringify(push)))));
|
37
51
|
if (navigationAction)
|
38
|
-
return navigator.dispatch(JSON.parse(
|
52
|
+
return navigator.dispatch(JSON.parse(templateFunctionRef.current(JSON.stringify(navigationAction))));
|
39
53
|
if (page) {
|
40
|
-
const routeParams =
|
54
|
+
const routeParams = params ? JSON.parse(templateFunctionRef.current(JSON.stringify(params))) : undefined;
|
41
55
|
return navigator.openPage(page, routeParams);
|
42
56
|
}
|
43
57
|
;
|
44
58
|
if (route)
|
45
|
-
return navigator.openRoute(
|
59
|
+
return navigator.openRoute(templateFunctionRef.current(route));
|
46
60
|
if (reduxAction)
|
47
61
|
return dispatch(reduxAction);
|
48
62
|
if (callback)
|
49
|
-
return callback({ event, navigator, dispatch });
|
63
|
+
return callback({ event, navigator, dispatch, scope: scopeRef.current });
|
50
64
|
}
|
51
|
-
}, [navigator, dispatch
|
65
|
+
}, [navigator, dispatch]);
|
52
66
|
const createActionHandeller = react_1.useCallback((action) => (event) => {
|
53
67
|
if (Array.isArray(action)) {
|
54
68
|
// run all actions in sequence, if any action returns a promise, wait for it to resolve before running the next action
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":";;;;;;AAAA,
|
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,MAA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