rete-angular-plugin 2.0.0 → 2.0.2
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/12/bundles/rete-angular-plugin-ng12.umd.js +27 -23
- package/12/bundles/rete-angular-plugin-ng12.umd.js.map +1 -1
- package/12/esm2015/index.js +2 -1
- package/12/esm2015/module.js +3 -2
- package/12/esm2015/presets/classic/components/control/control.component.js +1 -1
- package/12/esm2015/presets/classic/components/node/node.component.js +4 -24
- package/12/esm2015/ref.js +27 -0
- package/12/fesm2015/rete-angular-plugin-ng12.js +24 -20
- package/12/fesm2015/rete-angular-plugin-ng12.js.map +1 -1
- package/12/index.d.ts +1 -0
- package/12/module.d.ts +8 -7
- package/12/presets/classic/components/node/node.component.d.ts +1 -10
- package/12/ref.d.ts +12 -0
- package/13/esm2020/index.mjs +2 -1
- package/13/esm2020/module.mjs +3 -2
- package/13/esm2020/presets/classic/components/control/control.component.mjs +1 -1
- package/13/esm2020/presets/classic/components/node/node.component.mjs +4 -24
- package/13/esm2020/ref.mjs +27 -0
- package/13/fesm2015/rete-angular-plugin-ng13.mjs +26 -22
- package/13/fesm2015/rete-angular-plugin-ng13.mjs.map +1 -1
- package/13/fesm2020/rete-angular-plugin-ng13.mjs +24 -20
- package/13/fesm2020/rete-angular-plugin-ng13.mjs.map +1 -1
- package/13/index.d.ts +1 -0
- package/13/module.d.ts +8 -7
- package/13/presets/classic/components/node/node.component.d.ts +1 -10
- package/13/ref.d.ts +12 -0
- package/14/esm2020/index.mjs +2 -1
- package/14/esm2020/module.mjs +3 -2
- package/14/esm2020/presets/classic/components/control/control.component.mjs +1 -1
- package/14/esm2020/presets/classic/components/node/node.component.mjs +4 -24
- package/14/esm2020/ref.mjs +27 -0
- package/14/fesm2015/rete-angular-plugin-ng14.mjs +26 -22
- package/14/fesm2015/rete-angular-plugin-ng14.mjs.map +1 -1
- package/14/fesm2020/rete-angular-plugin-ng14.mjs +24 -20
- package/14/fesm2020/rete-angular-plugin-ng14.mjs.map +1 -1
- package/14/index.d.ts +1 -0
- package/14/module.d.ts +8 -7
- package/14/presets/classic/components/node/node.component.d.ts +1 -10
- package/14/ref.d.ts +12 -0
- package/15/esm2020/index.mjs +2 -1
- package/15/esm2020/module.mjs +3 -2
- package/15/esm2020/presets/classic/components/control/control.component.mjs +1 -1
- package/15/esm2020/presets/classic/components/node/node.component.mjs +4 -24
- package/15/esm2020/ref.mjs +27 -0
- package/15/fesm2015/rete-angular-plugin-ng15.mjs +26 -22
- package/15/fesm2015/rete-angular-plugin-ng15.mjs.map +1 -1
- package/15/fesm2020/rete-angular-plugin-ng15.mjs +24 -20
- package/15/fesm2020/rete-angular-plugin-ng15.mjs.map +1 -1
- package/15/index.d.ts +1 -0
- package/15/module.d.ts +8 -7
- package/15/presets/classic/components/node/node.component.d.ts +1 -10
- package/15/ref.d.ts +12 -0
- package/16/esm2022/index.mjs +2 -1
- package/16/esm2022/module.mjs +3 -2
- package/16/esm2022/presets/classic/components/control/control.component.mjs +1 -1
- package/16/esm2022/presets/classic/components/node/node.component.mjs +4 -27
- package/16/esm2022/ref.mjs +30 -0
- package/16/fesm2022/rete-angular-plugin-ng16.mjs +27 -23
- package/16/fesm2022/rete-angular-plugin-ng16.mjs.map +1 -1
- package/16/index.d.ts +1 -0
- package/16/module.d.ts +8 -7
- package/16/presets/classic/components/node/node.component.d.ts +1 -10
- package/16/ref.d.ts +12 -0
- package/CHANGELOG.md +43 -0
- package/bundles/rete-angular-plugin.umd.js +38 -35
- package/bundles/rete-angular-plugin.umd.js.map +1 -1
- package/esm2015/index.js +2 -1
- package/esm2015/module.js +3 -2
- package/esm2015/presets/classic/components/control/control.component.js +1 -1
- package/esm2015/presets/classic/components/node/node.component.js +2 -23
- package/esm2015/ref.js +26 -0
- package/esm2015/rete-angular-plugin.js +14 -14
- package/fesm2015/rete-angular-plugin.js +26 -22
- package/fesm2015/rete-angular-plugin.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +4 -4
- package/presets/classic/components/node/node.component.d.ts +1 -8
- package/ref.d.ts +9 -0
- package/rete-angular-plugin.d.ts +13 -13
- package/rete-angular-plugin.metadata.json +1 -1
|
@@ -389,27 +389,6 @@
|
|
|
389
389
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
var RefDirective = /** @class */ (function () {
|
|
393
|
-
function RefDirective(el) {
|
|
394
|
-
this.el = el;
|
|
395
|
-
}
|
|
396
|
-
RefDirective.prototype.ngOnChanges = function () {
|
|
397
|
-
this.emit({ type: 'render', data: Object.assign(Object.assign({}, this.data), { element: this.el.nativeElement }) });
|
|
398
|
-
};
|
|
399
|
-
return RefDirective;
|
|
400
|
-
}());
|
|
401
|
-
RefDirective.decorators = [
|
|
402
|
-
{ type: core.Directive, args: [{
|
|
403
|
-
selector: '[refComponent]'
|
|
404
|
-
},] }
|
|
405
|
-
];
|
|
406
|
-
RefDirective.ctorParameters = function () { return [
|
|
407
|
-
{ type: core.ElementRef }
|
|
408
|
-
]; };
|
|
409
|
-
RefDirective.propDecorators = {
|
|
410
|
-
data: [{ type: core.Input }],
|
|
411
|
-
emit: [{ type: core.Input }]
|
|
412
|
-
};
|
|
413
392
|
var NodeComponent = /** @class */ (function () {
|
|
414
393
|
function NodeComponent(cdr) {
|
|
415
394
|
this.cdr = cdr;
|
|
@@ -1109,6 +1088,31 @@
|
|
|
1109
1088
|
reroute: index$1
|
|
1110
1089
|
});
|
|
1111
1090
|
|
|
1091
|
+
var RefDirective = /** @class */ (function () {
|
|
1092
|
+
function RefDirective(el) {
|
|
1093
|
+
this.el = el;
|
|
1094
|
+
}
|
|
1095
|
+
RefDirective.prototype.ngOnChanges = function () {
|
|
1096
|
+
this.emit({ type: 'render', data: Object.assign(Object.assign({}, this.data), { element: this.el.nativeElement }) });
|
|
1097
|
+
};
|
|
1098
|
+
RefDirective.prototype.ngOnDestroy = function () {
|
|
1099
|
+
this.emit({ type: 'unmount', data: { element: this.el.nativeElement } });
|
|
1100
|
+
};
|
|
1101
|
+
return RefDirective;
|
|
1102
|
+
}());
|
|
1103
|
+
RefDirective.decorators = [
|
|
1104
|
+
{ type: core.Directive, args: [{
|
|
1105
|
+
selector: '[refComponent]'
|
|
1106
|
+
},] }
|
|
1107
|
+
];
|
|
1108
|
+
RefDirective.ctorParameters = function () { return [
|
|
1109
|
+
{ type: core.ElementRef }
|
|
1110
|
+
]; };
|
|
1111
|
+
RefDirective.propDecorators = {
|
|
1112
|
+
data: [{ type: core.Input }],
|
|
1113
|
+
emit: [{ type: core.Input }]
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1112
1116
|
var ReteModule = /** @class */ (function () {
|
|
1113
1117
|
function ReteModule() {
|
|
1114
1118
|
}
|
|
@@ -1686,20 +1690,19 @@
|
|
|
1686
1690
|
exports.ReteModule = ReteModule;
|
|
1687
1691
|
exports.ReteRerouteModule = ReteRerouteModule;
|
|
1688
1692
|
exports.SocketComponent = SocketComponent;
|
|
1689
|
-
exports["ɵa"] =
|
|
1690
|
-
exports["ɵb"] =
|
|
1691
|
-
exports["ɵc"] =
|
|
1692
|
-
exports["ɵd"] =
|
|
1693
|
-
exports["ɵe"] =
|
|
1694
|
-
exports["ɵf"] =
|
|
1695
|
-
exports["ɵg"] =
|
|
1696
|
-
exports["ɵh"] =
|
|
1697
|
-
exports["ɵi"] =
|
|
1698
|
-
exports["ɵj"] =
|
|
1699
|
-
exports["ɵk"] =
|
|
1700
|
-
exports["ɵl"] =
|
|
1701
|
-
exports["ɵm"] =
|
|
1702
|
-
exports["ɵn"] = PinComponent;
|
|
1693
|
+
exports["ɵa"] = NodeComponent;
|
|
1694
|
+
exports["ɵb"] = ConnectionComponent;
|
|
1695
|
+
exports["ɵc"] = ConnectionWrapperComponent;
|
|
1696
|
+
exports["ɵd"] = SocketComponent;
|
|
1697
|
+
exports["ɵe"] = ControlComponent;
|
|
1698
|
+
exports["ɵf"] = ContextMenuComponent;
|
|
1699
|
+
exports["ɵg"] = ContextMenuSearchComponent;
|
|
1700
|
+
exports["ɵh"] = ContextMenuItemComponent;
|
|
1701
|
+
exports["ɵi"] = MinimapComponent;
|
|
1702
|
+
exports["ɵj"] = MiniViewportComponent;
|
|
1703
|
+
exports["ɵk"] = MiniNodeComponent;
|
|
1704
|
+
exports["ɵl"] = PinsComponent;
|
|
1705
|
+
exports["ɵm"] = PinComponent;
|
|
1703
1706
|
|
|
1704
1707
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1705
1708
|
|