@evlop/commons 1.0.159 → 1.0.160

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ export interface ActionObject {
13
13
  callback: Function;
14
14
  }
15
15
  export declare type Action = ActionObject | Function | any;
16
+ export declare const useActionableWithNavigator: (navigator: any) => (action: Action) => (event?: any) => any;
16
17
  /**
17
18
  * @description a function to map action into action handeller function
18
19
  */
@@ -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,cAAc,GAAG,QA0B9E,CAAC;AAEF,eAAe,aAAa,CAAC"}
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,eAAO,MAAM,0BAA0B,cAAe,GAAG,cAKF,MAAM,cAAc,GAAG,QA0B7E,CAAA;AAED;;GAEG;AACJ,eAAO,MAAM,aAAa,iBA/B8B,MAAM,cAAc,GAAG,QAmC9E,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.useActionable = void 0;
6
+ exports.useActionable = exports.useActionableWithNavigator = void 0;
7
7
  const react_1 = require("react");
8
8
  const react_redux_1 = require("react-redux");
9
9
  const lodash_1 = require("lodash");
@@ -11,11 +11,7 @@ const useNavigator_1 = require("./useNavigator");
11
11
  const useScope_1 = require("./useScope");
12
12
  const useTemplate_1 = __importDefault(require("./useTemplate"));
13
13
  const lodash_2 = require("lodash");
14
- /**
15
- * @description a function to map action into action handeller function
16
- */
17
- const useActionable = () => {
18
- const navigator = useNavigator_1.useNavigator();
14
+ const useActionableWithNavigator = (navigator) => {
19
15
  const dispatch = react_redux_1.useDispatch();
20
16
  const scope = useScope_1.useScope();
21
17
  const template = useTemplate_1.default();
@@ -49,6 +45,14 @@ const useActionable = () => {
49
45
  }, [navigator, dispatch, template, scope]);
50
46
  return createActionHandeller;
51
47
  };
48
+ exports.useActionableWithNavigator = useActionableWithNavigator;
49
+ /**
50
+ * @description a function to map action into action handeller function
51
+ */
52
+ const useActionable = () => {
53
+ const navigator = useNavigator_1.useNavigator();
54
+ return exports.useActionableWithNavigator(navigator);
55
+ };
52
56
  exports.useActionable = useActionable;
53
57
  exports.default = exports.useActionable;
54
58
  //# sourceMappingURL=useActionable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":";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AI,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,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;IAE3C,OAAO,qBAAqB,CAAC;AAChC,CAAC,CAAA;AA/BY,QAAA,0BAA0B,8BA+BtC;AAED;;GAEG;AACG,MAAM,aAAa,GAAG,GAAE,EAAE;IAC7B,MAAM,SAAS,GAAG,2BAAY,EAAE,CAAC;IAEjC,OAAO,kCAA0B,CAAC,SAAS,CAAC,CAAA;AAChD,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB;AAEF,kBAAe,qBAAa,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare const useNavigatorWithNavigation: (navigation: any) => any;
1
2
  export declare const useNavigator: () => any;
2
3
  export declare const useNavigation: () => any;
3
4
  //# sourceMappingURL=useNavigator.app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNavigator.app.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNavigator.app.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,WAYxB,CAAC;AAEF,eAAO,MAAM,aAAa,WAAe,CAAC"}
1
+ {"version":3,"file":"useNavigator.app.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNavigator.app.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,0BAA0B,eAAgB,GAAG,QAWzD,CAAC;AAEF,eAAO,MAAM,YAAY,WAGxB,CAAC;AAEF,eAAO,MAAM,aAAa,WAAe,CAAC"}
@@ -1,14 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useNavigation = exports.useNavigator = void 0;
3
+ exports.useNavigation = exports.useNavigator = exports.useNavigatorWithNavigation = void 0;
4
4
  const native_1 = require("@react-navigation/native");
5
5
  const lodash_1 = require("lodash");
6
6
  const react_1 = require("react");
7
7
  const react_native_1 = require("react-native");
8
8
  const react_redux_1 = require("react-redux");
9
9
  const reducers_1 = require("../reducers");
10
- const useNavigator = () => {
11
- const navigation = native_1.useNavigation();
10
+ const useNavigatorWithNavigation = (navigation) => {
12
11
  const route = native_1.useRoute();
13
12
  const dispatch = react_redux_1.useDispatch();
14
13
  const navigator = react_1.useRef({});
@@ -19,6 +18,11 @@ const useNavigator = () => {
19
18
  openURL: (url) => react_native_1.Linking.canOpenURL(url).then((s) => s && react_native_1.Linking.openURL(url)).catch(() => { console.log('url cant be openned'); }),
20
19
  }), [navigation]);
21
20
  };
21
+ exports.useNavigatorWithNavigation = useNavigatorWithNavigation;
22
+ const useNavigator = () => {
23
+ const navigation = native_1.useNavigation();
24
+ return exports.useNavigatorWithNavigation(navigation);
25
+ };
22
26
  exports.useNavigator = useNavigator;
23
27
  exports.useNavigation = exports.useNavigator;
24
28
  //# sourceMappingURL=useNavigator.app.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNavigator.app.js","sourceRoot":"","sources":["../../../src/hooks/useNavigator.app.tsx"],"names":[],"mappings":";;;AAAA,qDAAsF;AACtF,mCAAqC;AACrC,iCAAwC;AACxC,+CAAuC;AACvC,6CAAwC;AACxC,0CAA+C;AAExC,MAAM,YAAY,GAAG,GAAE,EAAE;IAC5B,MAAM,UAAU,GAAG,sBAAe,EAAE,CAAC;IACrC,MAAM,KAAK,GAAG,iBAAQ,EAAE,CAAC;IACzB,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,SAAS,GAAG,cAAM,CAAM,EAAE,CAAC,CAAC;IAElC,OAAO,eAAO,CAAC,GAAE,EAAE,CAAA,eAAM,CAAC,SAAS,CAAC,OAAO,EAAE,UAAU,EAAE;QACrD,QAAQ,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,YAAG,CAAC,KAAK,CAAC,MAAM,EAAE,I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E,CAAC,YAAG,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC;QAChD,QAAQ,EAAE,CAAC,MAAW,EAAE,MAAW,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,2BAAgB,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC;QACvG,SAAS,EAAE,CAAC,KAAU,EAAE,MAAW,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,2BAAgB,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC;QACtG,OAAO,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,sBAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAM,EAAC,EAAE,CAAC,CAAC,IAAI,sBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAE,EAAE,GAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA,CAAA,CAAC,CAAC;KAC5I,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AACtB,CAAC,CAAC;AAXW,QAAA,0BAA0B,8BAWrC;AAEK,MAAM,YAAY,GAAG,GAAE,EAAE;IAC5B,MAAM,UAAU,GAAG,sBAAe,EAAE,CAAC;IACrC,OAAO,kCAA0B,CAAC,UAAU,CAAC,CAAC;AAClD,CAAC,CAAC;AAHW,QAAA,YAAY,gBAGvB;AAEW,QAAA,aAAa,GAAG,oBAAY,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare const useNavigatorWithNavigation: (history: any) => any;
1
2
  export declare const useNavigator: () => any;
2
3
  export declare const useNavigation: () => any;
3
4
  //# sourceMappingURL=useNavigator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNavigator.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNavigator.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,WAwBxB,CAAC;AAEF,eAAO,MAAM,aAAa,WAAe,CAAC"}
1
+ {"version":3,"file":"useNavigator.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNavigator.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,0BAA0B,YAAa,GAAG,QAuBtD,CAAA;AAGD,eAAO,MAAM,YAAY,WAIxB,CAAC;AAEF,eAAO,MAAM,aAAa,WAAe,CAAC"}
@@ -3,16 +3,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.useNavigation = exports.useNavigator = void 0;
6
+ exports.useNavigation = exports.useNavigator = exports.useNavigatorWithNavigation = void 0;
7
7
  const lodash_1 = require("lodash");
8
8
  const react_1 = require("react");
9
9
  const react_redux_1 = require("react-redux");
10
10
  const query_string_1 = __importDefault(require("query-string"));
11
11
  const react_router_1 = require("react-router");
12
12
  const reducers_1 = require("../reducers");
13
- const useNavigator = () => {
13
+ const useNavigatorWithNavigation = (history) => {
14
14
  const params = react_router_1.useParams();
15
- const history = react_router_1.useHistory();
16
15
  const { state, search, hash, pathname } = react_router_1.useLocation();
17
16
  const dispatch = react_redux_1.useDispatch();
18
17
  const navigator = react_1.useRef({});
@@ -34,6 +33,11 @@ const useNavigator = () => {
34
33
  });
35
34
  }, [params, history, pathname, hash, search, state]);
36
35
  };
36
+ exports.useNavigatorWithNavigation = useNavigatorWithNavigation;
37
+ const useNavigator = () => {
38
+ const history = react_router_1.useHistory();
39
+ return exports.useNavigatorWithNavigation(history);
40
+ };
37
41
  exports.useNavigator = useNavigator;
38
42
  exports.useNavigation = exports.useNavigator;
39
43
  //# sourceMappingURL=useNavigator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNavigator.js","sourceRoot":"","sources":["../../../src/hooks/useNavigator.tsx"],"names":[],"mappings":";;;;;;AAAA,mCAAgC;AAChC,iCAAmD;AACnD,6CAA0C;AAC1C,gEAAuC;AAC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