@logicflow/vue-node-registry 0.0.1-beta.2 → 0.0.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -4
- package/lib/registry.js +2 -2
- package/lib/registry.js.map +1 -1
- package/lib/teleport.js +4 -5
- package/lib/teleport.js.map +1 -1
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
> @logicflow/vue-node-registry@0.0.1-beta.
|
|
2
|
+
> @logicflow/vue-node-registry@0.0.1-beta.3 prebuild /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/vue-node-registry
|
|
3
3
|
> rss
|
|
4
4
|
|
|
5
5
|
> [prebuild] run-s -s clean:build
|
|
6
6
|
> [clean:build] rimraf dist es lib
|
|
7
7
|
|
|
8
|
-
> @logicflow/vue-node-registry@0.0.1-beta.
|
|
8
|
+
> @logicflow/vue-node-registry@0.0.1-beta.3 build /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/vue-node-registry
|
|
9
9
|
> rss
|
|
10
10
|
|
|
11
11
|
> [build] run-p -s build:dev build:umd
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
| [32m[1mDestination:[22m[39m [33mdist/index.min.js[39m |
|
|
29
29
|
| [32m[1mBundle Size:[22m[39m [33m390 B[39m |
|
|
30
30
|
| [32m[1mMinified Size:[22m[39m [33m351 B[39m |
|
|
31
|
-
| [32m[1mGZipped Size:[22m[39m [
|
|
31
|
+
| [32m[1mGZipped Size:[22m[39m [33m200 B[39m |
|
|
32
32
|
| |
|
|
33
33
|
+----------------------------------------------+
|
|
34
34
|
[1m[33m(!) Plugin typescript: @rollup/plugin-typescript: Rollup requires that TypeScript produces ES Modules. Unfortunately your configuration specifies a "module" other than "esnext". Unless you know what you're doing, please change "module" to "esnext" in the target tsconfig.json file or plugin options.[39m[22m
|
|
35
35
|
[1m[33m(!) Broken sourcemap[39m[22m
|
|
36
36
|
[90mhttps://rollupjs.org/troubleshooting/#warning-sourcemap-is-likely-to-be-incorrect[39m
|
|
37
37
|
Plugins that transform code (such as "terser") should generate accompanying sourcemaps.
|
|
38
|
-
[32mcreated [1mdist/index.min.js[22m in [
|
|
38
|
+
[32mcreated [1mdist/index.min.js[22m in [1m2s[22m[39m
|
package/lib/registry.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.vueNodesMap = void 0;
|
|
4
|
+
exports.register = register;
|
|
4
5
|
var view_1 = require("./view");
|
|
5
6
|
var model_1 = require("./model");
|
|
6
7
|
exports.vueNodesMap = {};
|
|
@@ -19,5 +20,4 @@ function register(config, lf) {
|
|
|
19
20
|
model: CustomNodeModel || model_1.VueNodeModel,
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
|
-
exports.register = register;
|
|
23
23
|
//# sourceMappingURL=registry.js.map
|
package/lib/registry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":";;;AAoBA,4BAsBC;AAzCD,+BAAoC;AACpC,iCAAsC;AAUzB,QAAA,WAAW,GAMpB,EAAE,CAAA;AAEN,SAAgB,QAAQ,CAAC,MAAqB,EAAE,EAAa;IAEzD,IAAA,IAAI,GAKF,MAAM,KALJ,EACJ,SAAS,GAIP,MAAM,UAJC,EACT,MAAM,GAGJ,MAAM,OAHF,EACA,cAAc,GAElB,MAAM,KAFY,EACb,eAAe,GACpB,MAAM,MADc,CACd;IAEV,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAA;IACtD,CAAC;IACD,mBAAW,CAAC,IAAI,CAAC,GAAG;QAClB,SAAS,WAAA;QACT,MAAM,QAAA;KACP,CAAA;IAED,EAAE,CAAC,QAAQ,CAAC;QACV,IAAI,MAAA;QACJ,IAAI,EAAE,cAAc,IAAI,kBAAW;QACnC,KAAK,EAAE,eAAe,IAAI,oBAAY;KACvC,CAAC,CAAA;AACJ,CAAC"}
|
package/lib/teleport.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.connect = connect;
|
|
4
|
+
exports.disconnect = disconnect;
|
|
5
|
+
exports.isActive = isActive;
|
|
6
|
+
exports.getTeleport = getTeleport;
|
|
4
7
|
var vue_demi_1 = require("vue-demi");
|
|
5
8
|
var active = false;
|
|
6
9
|
var items = (0, vue_demi_1.reactive)({});
|
|
@@ -19,17 +22,14 @@ function connect(id, component, container, node, graph) {
|
|
|
19
22
|
}));
|
|
20
23
|
}
|
|
21
24
|
}
|
|
22
|
-
exports.connect = connect;
|
|
23
25
|
function disconnect(id) {
|
|
24
26
|
if (active) {
|
|
25
27
|
delete items[id];
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
|
-
exports.disconnect = disconnect;
|
|
29
30
|
function isActive() {
|
|
30
31
|
return active;
|
|
31
32
|
}
|
|
32
|
-
exports.isActive = isActive;
|
|
33
33
|
function getTeleport() {
|
|
34
34
|
if (!vue_demi_1.isVue3) {
|
|
35
35
|
throw new Error('teleport is only available in Vue3');
|
|
@@ -43,5 +43,4 @@ function getTeleport() {
|
|
|
43
43
|
},
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
exports.getTeleport = getTeleport;
|
|
47
46
|
//# sourceMappingURL=teleport.js.map
|
package/lib/teleport.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teleport.js","sourceRoot":"","sources":["../src/teleport.ts"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AO;gBACL,OAAA,IAAA,YAAC,EACC,mBAAQ,EACR,EAAE,EACF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,UAAC,EAAE,IAAK,OAAA,IAAA,YAAC,EAAC,KAAK,CAAC,EAAE,CAAC,CAAC,EAAZ,CAAY,CAAC,CAC7C;YAJD,CAIC,CAAA;QACL,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logicflow/vue-node-registry",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.3",
|
|
4
4
|
"description": "LogicFlow Vue Component Node Registry",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@vue/composition-api": "^1.0.0-rc.1",
|
|
21
21
|
"vue": "^2.0.0 || >=3.0.0",
|
|
22
22
|
"lodash-es": "^4.17.21",
|
|
23
|
-
"@logicflow/core": "2.0.0-beta.
|
|
23
|
+
"@logicflow/core": "2.0.0-beta.6"
|
|
24
24
|
},
|
|
25
25
|
"peerDependenciesMeta": {
|
|
26
26
|
"@vue/composition-api": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"vue": "^3.0.0",
|
|
32
|
-
"@logicflow/core": "2.0.0-beta.
|
|
32
|
+
"@logicflow/core": "2.0.0-beta.6"
|
|
33
33
|
},
|
|
34
34
|
"author": {
|
|
35
35
|
"name": "boyongjiong",
|