@evlop/commons 1.0.92 → 1.0.96

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"listUrl.d.ts","sourceRoot":"","sources":["../../../src/data-sources/listUrl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAiB,MAAM,aAAa,CAAC;AAGzD,QAAA,MAAM,iBAAiB,EAAE,WAyCxB,CAAA;AAiBD,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"listUrl.d.ts","sourceRoot":"","sources":["../../../src/data-sources/listUrl.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,QAAA,MAAM,iBAAiB,EAAE,WAyCxB,CAAA;AAiCD,eAAe,iBAAiB,CAAC"}
@@ -60,5 +60,20 @@ listUrlDataSource.defaultValues = {
60
60
  requestOptions: JSON.stringify({ params: {}, data: {}, method: 'get' }, null, 2),
61
61
  };
62
62
  listUrlDataSource.keyExtractor = (options) => options.url || options.sourceId;
63
+ listUrlDataSource.keyExtractor = (options) => {
64
+ const { requestOptions: requestOptionsString } = options;
65
+ let requestOptions;
66
+ try {
67
+ requestOptions = JSON.parse(requestOptionsString);
68
+ }
69
+ catch (e) { }
70
+ return [
71
+ lodash_1.get(requestOptions, 'key', ''),
72
+ lodash_1.get(options, 'url', ''),
73
+ lodash_1.get(requestOptions, 'method', ''),
74
+ JSON.stringify(lodash_1.get(requestOptions, 'data', {})),
75
+ JSON.stringify(lodash_1.get(requestOptions, 'params')),
76
+ ].join(':');
77
+ };
63
78
  exports.default = listUrlDataSource;
64
79
  //# sourceMappingURL=listUrl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listUrl.js","sourceRoot":"","sources":["../../../src/data-sources/listUrl.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAuE;AAEvE,wCAAqC;AAErC,MAAM,iBAAiB,GAAgB,CAAO,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IAChE,MA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,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,GAAG,EAAC;CACtG,CAAC;AACF,iBAAiB,CAAC,aAAa,GAAG;IAC9B,GAAG,EAAE,EAAE;IACP,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,EAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAC,EAAE,IAAI,EAAE,CAAC,CAAC;CACjF,CAAC;AACF,iBAAiB,CAAC,YAAY,GAAG,CAAC,OAAO,EAAC,EAAE,CAAA,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC;AAE5E,iBAAiB,CAAC,YAAY,GAAG,CAAC,OAAO,EAAC,EAAE;IACxC,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAC,GAAG,OAAO,CAAC;IACxD,IAAI,cAAc,CAAC;IACnB,IAAG;QACC,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;KACrD;IAAA,OAAM,CAAC,EAAC,GAAE;IAEX,OAAO;QACH,YAAG,CAAC,cAAc,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9B,YAAG,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC;QACvB,YAAG,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,CAAC;QACjC,IAAI,CAAC,SAAS,CAAC,YAAG,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;QAC/C,IAAI,CAAC,SAAS,CAAC,YAAG,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;KAChD,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACf,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
@@ -13,6 +13,6 @@ interface ActionObject {
13
13
  callback: Function;
14
14
  }
15
15
  declare type Action = ActionObject | Function | any;
16
- export declare const useAction: (action: Action) => any;
16
+ export declare const useAction: (action: Action) => (event: any) => any;
17
17
  export default useAction;
18
18
  //# sourceMappingURL=useAction.d.ts.map
@@ -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,QAgCvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
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,wBAgCvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -16,7 +16,7 @@ const useAction = (action) => {
16
16
  const dispatch = react_redux_1.useDispatch();
17
17
  const scope = useScope_1.useScope();
18
18
  const template = useTemplate_1.default();
19
- return react_1.useMemo(() => {
19
+ return react_1.useCallback((event) => {
20
20
  let actionToUse = action;
21
21
  while (actionToUse && actionToUse.bindKey) {
22
22
  actionToUse = lodash_1.get(scope, actionToUse.bindKey);
@@ -26,25 +26,25 @@ const useAction = (action) => {
26
26
  if (actionToUse) {
27
27
  const { link, navigate, push, page, params, dispatch: dispatchAction, route, callback } = actionToUse;
28
28
  if (link)
29
- return () => navigator.openURL(template(link));
29
+ return navigator.openURL(template(link));
30
30
  if (navigate)
31
- return () => navigator.navigate(...lodash_1.castArray(JSON.parse(template(JSON.stringify(navigate)))));
31
+ return navigator.navigate(...lodash_1.castArray(JSON.parse(template(JSON.stringify(navigate)))));
32
32
  if (push)
33
- return () => navigator.push(...lodash_1.castArray(JSON.parse(template(JSON.stringify(navigate)))));
34
- if (page)
35
- return () => {
36
- console.log(page, params);
37
- const routeParams = lodash_2.mapValues(params, (paramValue) => template(paramValue.toString()));
38
- navigator.openPage(page, routeParams);
39
- };
33
+ return navigator.push(...lodash_1.castArray(JSON.parse(template(JSON.stringify(navigate)))));
34
+ if (page) {
35
+ console.log(page, params);
36
+ const routeParams = lodash_2.mapValues(params, (paramValue) => template(paramValue.toString()));
37
+ return navigator.openPage(page, routeParams);
38
+ }
39
+ ;
40
40
  if (route)
41
- return () => navigator.openRoute(template(route));
41
+ return navigator.openRoute(template(route));
42
42
  if (dispatchAction)
43
- return () => dispatch(dispatchAction);
43
+ return dispatch(dispatchAction);
44
44
  if (callback)
45
- return (event) => callback({ event, navigator, dispatch });
45
+ return callback({ event, navigator, dispatch });
46
46
  }
47
- }, [action, navigator, dispatch]);
47
+ }, [action, navigator, dispatch, template, scope]);
48
48
  };
49
49
  exports.useAction = useAction;
50
50
  exports.default = exports.useAction;
@@ -1 +1 @@
1
- {"version":3,"file":"useAction.js","sourceRoot":"","sources":["../../../src/hooks/useAction.tsx"],"names":[],"mappings":";;;;;;AAAA,iCAAgC;AAChC,6CAA0C;AAC1C,mCAAwC;AACxC,iDA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SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;YACvD,IAAI,cAAc;gBAAE,OAAO,QAAQ,CAAC,cAAc,CAAC,CAAC;YACpD,IAAI,QAAQ;gBAAE,OAAO,QAAQ,CAAC,EAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAC,CAAC,CAAC;SAC/D;IACL,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AACvD,CAAC,CAAC;AAhCW,QAAA,SAAS,aAgCpB;AAEF,kBAAe,iBAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDataSource.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAIxC,UAAU,iBAAiB;IACvB,IAAI,EAAE,QAAQ,GAAG,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,GAAG,CAAC;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAE;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,aAAK,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;AAIhC,eAAO,MAAM,aAAa,WAAa,MAAM,GAAG,iBAAiB,YAAa,iBAAiB,KAAI,IAsGlG,CAAC"}
1
+ {"version":3,"file":"useDataSource.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAIxC,UAAU,iBAAiB;IACvB,IAAI,EAAE,QAAQ,GAAG,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,GAAG,CAAC;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAE;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,aAAK,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;AAEhC,eAAO,MAAM,aAAa,WAAa,MAAM,GAAG,iBAAiB,YAAa,iBAAiB,KAAI,IAwGlG,CAAC"}
@@ -11,7 +11,6 @@ const classes_1 = require("../classes");
11
11
  const reducers_1 = require("../reducers");
12
12
  const useScope_1 = require("./useScope");
13
13
  const useTemplate_1 = __importDefault(require("./useTemplate"));
14
- const initialValue = null;
15
14
  const useDataSource = (source, options) => {
16
15
  const dispatch = react_redux_1.useDispatch();
17
16
  const template = useTemplate_1.default();
@@ -37,7 +36,7 @@ const useDataSource = (source, options) => {
37
36
  return { dependencies, dataSourceOptions: lodash_1.defaults(templatedValues, _dataSourceOptions) };
38
37
  }, [scope, template, dataSourceName, dataSource, _dataSourceOptions]);
39
38
  const key = dataSource && dataSource.keyExtractor(dataSourceOptions, { scope, dispatch });
40
- const currentValue = react_redux_1.useSelector(state => state.dataSource.data[key]) || initialValue;
39
+ const currentValue = react_redux_1.useSelector(state => state.dataSource.data[key]);
41
40
  const loadData = react_1.useCallback((params) => {
42
41
  return dispatch({
43
42
  type: reducers_1.DATA_SOURCE_LOAD_DATA,
@@ -78,7 +77,9 @@ const useDataSource = (source, options) => {
78
77
  });
79
78
  }, [loadData, dataSourceOptions, scope, key]);
80
79
  react_1.useEffect(() => {
81
- loadData();
80
+ if (!currentValue) {
81
+ loadData();
82
+ }
82
83
  }, [key]);
83
84
  return react_1.useMemo(() => {
84
85
  if (lodash_1.get(dataSource, 'type') === 'Array') {
@@ -1 +1 @@
1
- {"version":3,"file":"useDataSource.js","sourceRoot":"","sources":["../../../src/hooks/useDataSource.tsx"],"names":[],"mappings":";;;;;;AAAA,mCAAiG;AACjG,iCAAwD;AACxD,6CAAuD;AACvD,wCAAwC;AACxC,0CAAmK;AACnK,yCAAsC;AACtC,gEAAwC;AAWxC,MA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E,YAAG,CAAC,YAAY,EAAE,aAAa,EAAE,EAAE,CAAC;gBACjD,UAAU,EAAE,YAAG,CAAC,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC;gBAC7C,YAAY,EAAE,YAAG,CAAC,YAAY,EAAE,cAAc,EAAE,CAAC,CAAC;gBAClD,OAAO,EAAE,QAAQ;gBACjB,MAAM;gBACN,QAAQ;gBACR,IAAI;gBACJ,QAAQ;aACX,CAAC,CAAC;SACN;QACD,OAAO,YAAY,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IAC/C,CAAC,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC;AACnC,CAAC,CAAC;AAxGW,QAAA,aAAa,iBAwGxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/commons",
3
- "version": "1.0.92",
3
+ "version": "1.0.96",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "peerDependencies": {