@evlop/commons 1.0.156 → 1.0.157
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/services/index.d.ts +0 -1
- package/dist/src/services/index.d.ts.map +1 -1
- package/dist/src/services/index.js +0 -1
- package/dist/src/services/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/services/RemoteActionHandeller.d.ts +0 -3
- package/dist/src/services/RemoteActionHandeller.d.ts.map +0 -1
- package/dist/src/services/RemoteActionHandeller.js +0 -18
- package/dist/src/services/RemoteActionHandeller.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
@@ -10,6 +10,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11
11
|
};
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./RemoteActionHandeller"), exports);
|
14
13
|
__exportStar(require("./SessionManager"), exports);
|
15
14
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAiC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RemoteActionHandeller.d.ts","sourceRoot":"","sources":["../../../src/services/RemoteActionHandeller.tsx"],"names":[],"mappings":"AAIA,wBAAgB,qBAAqB,QAUpC;AAED,eAAe,qBAAqB,CAAC"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RemoteActionHandeller = void 0;
|
4
|
-
const react_1 = require("react");
|
5
|
-
const helpers_1 = require("../helpers");
|
6
|
-
const hooks_1 = require("../hooks");
|
7
|
-
function RemoteActionHandeller() {
|
8
|
-
const actionable = hooks_1.useActionable();
|
9
|
-
react_1.useEffect(() => {
|
10
|
-
return helpers_1.remoteAction.onAction((action) => {
|
11
|
-
actionable(action)();
|
12
|
-
});
|
13
|
-
}, [actionable]);
|
14
|
-
return null;
|
15
|
-
}
|
16
|
-
exports.RemoteActionHandeller = RemoteActionHandeller;
|
17
|
-
exports.default = RemoteActionHandeller;
|
18
|
-
//# sourceMappingURL=RemoteActionHandeller.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RemoteActionHandeller.js","sourceRoot":"","sources":["../../../src/services/RemoteActionHandeller.tsx"],"names":[],"mappings":";;;AAAA,iCAAyC;AACzC,wCAA0C;AAC1C,oCAAyC;AAEzC,SAAgB,qBAAqB;IACjC,MAAM,UAAU,GAAG,qBAAa,EAAE,CAAC;IAEnC,iBAAS,CAAC,GAAE,EAAE;QACV,OAAO,sBAAY,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAC,EAAE;YACnC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,IAAI,CAAC;AAChB,CAAC;AAVD,sDAUC;AAED,kBAAe,qBAAqB,CAAC"}
|