@evlop/commons 1.0.212 → 1.0.214
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/dist/src/reducers/components.d.ts +5 -0
- package/dist/src/reducers/components.d.ts.map +1 -1
- package/dist/src/reducers/components.js +12 -1
- package/dist/src/reducers/components.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,CA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WAAW,EAAE;SAAE,GAAG,IAAI,UAAU,GAAG,MAAM;KAAC,CAAC;IAC3C,MAAM,EAAE;SAAE,GAAG,IAAI,KAAK,GAAG,MAAM;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,gEAA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2BAAY,EAAE,CAAC;IAEjC,OAAO,kCAA0B,CAAC,SAAS,CAAC,CAAA;AAChD,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB;AAEF,kBAAe,qBAAa,CAAC"}
|
@@ -3,6 +3,7 @@ export declare const LOAD_BASIC_COMPONENTS_LIST = "LOAD_BASIC_COMPONENTS_LIST";
|
|
3
3
|
export declare const ADD_COMPONENT_TO_LIST = "ADD_COMPONENT_TO_LIST";
|
4
4
|
export declare const ADD_COMPONENT_PLUGIN = "ADD_COMPONENT_PLUGIN";
|
5
5
|
export declare const REGISTER_COMPONENT = "REGISTER_COMPONENT";
|
6
|
+
export declare const REGISTER_PAGE_COMPONENT = "REGISTER_PAGE_COMPONENT";
|
6
7
|
export declare const REGISTER_FIELD_COMPONENT = "REGISTER_FIELD_COMPONENT";
|
7
8
|
export declare const REGISTER_STYLE_COMPONENT = "REGISTER_STYLE_COMPONENT";
|
8
9
|
export declare const REMOVE_PACKAGE = "REMOVE_PACKAGE";
|
@@ -26,6 +27,10 @@ export declare function registerComponent(component: any): {
|
|
26
27
|
type: string;
|
27
28
|
component: any;
|
28
29
|
};
|
30
|
+
export declare function registerPageComponent(component: any): {
|
31
|
+
type: string;
|
32
|
+
component: any;
|
33
|
+
};
|
29
34
|
export declare function registerFormField(component: any): {
|
30
35
|
type: string;
|
31
36
|
component: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/reducers/components.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AACvE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE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AgB,sBAAsB,CAAC,SAAS,KAAA;;;EAK/C;AAED,wBAAgB,aAAa,CAAC,WAAW,KAAA;;;EAKxC;AAYD,eAAO,MAAM,UAAU,kCA2DtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.components = exports.removePackage = exports.registerStyleComponent = exports.registerFormField = exports.registerComponent = exports.addComponentPlugin = exports.addComponentToList = exports.loadBasicComponentsList = exports.loadComponentFromUrl = exports.REMOVE_PACKAGE = exports.REGISTER_STYLE_COMPONENT = exports.REGISTER_FIELD_COMPONENT = exports.REGISTER_COMPONENT = exports.ADD_COMPONENT_PLUGIN = exports.ADD_COMPONENT_TO_LIST = exports.LOAD_BASIC_COMPONENTS_LIST = exports.LOAD_COMPONENTS_FROM_URL = void 0;
|
3
|
+
exports.components = exports.removePackage = exports.registerStyleComponent = exports.registerFormField = exports.registerPageComponent = exports.registerComponent = exports.addComponentPlugin = exports.addComponentToList = exports.loadBasicComponentsList = exports.loadComponentFromUrl = exports.REMOVE_PACKAGE = exports.REGISTER_STYLE_COMPONENT = exports.REGISTER_FIELD_COMPONENT = exports.REGISTER_PAGE_COMPONENT = exports.REGISTER_COMPONENT = exports.ADD_COMPONENT_PLUGIN = exports.ADD_COMPONENT_TO_LIST = exports.LOAD_BASIC_COMPONENTS_LIST = exports.LOAD_COMPONENTS_FROM_URL = void 0;
|
4
4
|
const lodash_1 = require("lodash");
|
5
5
|
exports.LOAD_COMPONENTS_FROM_URL = 'LOAD_COMPONENTS_FROM_URL';
|
6
6
|
exports.LOAD_BASIC_COMPONENTS_LIST = 'LOAD_BASIC_COMPONENTS_LIST';
|
7
7
|
exports.ADD_COMPONENT_TO_LIST = 'ADD_COMPONENT_TO_LIST';
|
8
8
|
exports.ADD_COMPONENT_PLUGIN = 'ADD_COMPONENT_PLUGIN';
|
9
9
|
exports.REGISTER_COMPONENT = 'REGISTER_COMPONENT';
|
10
|
+
exports.REGISTER_PAGE_COMPONENT = 'REGISTER_PAGE_COMPONENT';
|
10
11
|
exports.REGISTER_FIELD_COMPONENT = 'REGISTER_FIELD_COMPONENT';
|
11
12
|
exports.REGISTER_STYLE_COMPONENT = 'REGISTER_STYLE_COMPONENT';
|
12
13
|
exports.REMOVE_PACKAGE = 'REMOVE_PACKAGE';
|
@@ -45,6 +46,13 @@ function registerComponent(component) {
|
|
45
46
|
};
|
46
47
|
}
|
47
48
|
exports.registerComponent = registerComponent;
|
49
|
+
function registerPageComponent(component) {
|
50
|
+
return {
|
51
|
+
type: exports.REGISTER_COMPONENT,
|
52
|
+
component,
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.registerPageComponent = registerPageComponent;
|
48
56
|
function registerFormField(component) {
|
49
57
|
return {
|
50
58
|
type: exports.REGISTER_FIELD_COMPONENT,
|
@@ -72,6 +80,7 @@ const initialState = {
|
|
72
80
|
componentPlugins: [],
|
73
81
|
components: [],
|
74
82
|
fieldComponents: [],
|
83
|
+
pageComponents: [],
|
75
84
|
styleComponents: [],
|
76
85
|
};
|
77
86
|
const components = (state = initialState, action) => {
|
@@ -92,6 +101,8 @@ const components = (state = initialState, action) => {
|
|
92
101
|
}
|
93
102
|
return Object.assign(Object.assign({}, state), { components: lodash_1.assign(newComponents, lodash_1.keyBy(newComponents, 'uuid')) });
|
94
103
|
}
|
104
|
+
case exports.REGISTER_PAGE_COMPONENT:
|
105
|
+
return Object.assign(Object.assign({}, state), { pageComponents: [...state.pageComponents, Object.assign({}, action.component)] });
|
95
106
|
case exports.REGISTER_FIELD_COMPONENT:
|
96
107
|
return Object.assign(Object.assign({}, state), { fieldComponents: [...state.fieldComponents, Object.assign({}, action.component)] });
|
97
108
|
case exports.REGISTER_STYLE_COMPONENT:
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/reducers/components.tsx"],"names":[],"mappings":";;;AAAA,mCA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CACO,KAAK,KACR,eAAe,EAAE,CAAC,GAAG,KAAK,CAAC,eAAe,oBAAM,MAAM,CAAC,SAAS,EAAE,IACpE;QACN,KAAK,sBAAc;YACf,uCACO,KAAK,KACR,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,SAAS,CAAA,EAAE,CAAA,SAAS,CAAC,WAAW,KAAG,MAAM,CAAC,WAAW,CAAC,IAC5F;QACN,KAAK,6BAAqB;YACtB,uCACO,KAAK,KACR,IAAI,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,IACzC;QACN,KAAK,4BAAoB;YACrB,uCACO,KAAK,KACR,gBAAgB,EAAE,CAAC,GAAG,KAAK,CAAC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAC9D;QACN;YACI,OAAO,KAAK,CAAC;KACpB;AAEL,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/reducers/components.tsx"],"names":[],"mappings":";;;AAAA,mCAAuC;AAE1B,QAAA,wBAAwB,GAAG,0BAA0B,CAAC;AACtD,QAAA,0BAA0B,GAAG,4BAA4B,CAAC;AAC1D,QAAA,qBAAqB,GAAG,uBAAuB,CAAC;AAChD,QAAA,oBAAoB,GAAG,sBAAsB,CAAC;AAC9C,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,uBAAuB,GAAG,yBAAyB,CAAC;AACpD,QAAA,wBAAwB,GAAG,0BAA0B,CAAC;AACtD,QAAA,wBAAwB,GAAG,0BAA0B,CAAC;AACtD,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAG/C,SAAgB,oBAAoB,CAAC,SAAS;IAC1C,OAAO;QACH,IAAI,EAAE,gCAAwB;QAC9B,SAAS;KACZ,CAAC;AACN,CAAC;AALD,oDAKC;AAED,SAAgB,uBAAuB,CAAC,SAAS;IAC7C,OAAO;QACH,IAAI,EAAE,kCAA0B;QAChC,SAAS;KACZ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