rete-angular-plugin 2.4.1 → 2.6.0
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 +43 -8
- package/12/bundles/rete-angular-plugin-ng12.umd.js.map +1 -1
- package/12/esm2015/index.js +2 -1
- package/12/esm2015/module.js +10 -5
- package/12/esm2015/presets/classic/components/node/node.component.js +6 -5
- package/12/esm2015/shared/pipes/impure-keyvalue.pipe.js +24 -0
- package/12/esm2015/shared/pipes/index.js +2 -0
- package/12/fesm2015/rete-angular-plugin-ng12.js +36 -10
- package/12/fesm2015/rete-angular-plugin-ng12.js.map +1 -1
- package/12/index.d.ts +1 -0
- package/12/module.d.ts +3 -2
- package/12/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/12/shared/pipes/index.d.ts +1 -0
- package/13/esm2020/index.mjs +2 -1
- package/13/esm2020/module.mjs +10 -5
- package/13/esm2020/presets/classic/components/node/node.component.mjs +7 -6
- package/13/esm2020/shared/pipes/impure-keyvalue.pipe.mjs +24 -0
- package/13/esm2020/shared/pipes/index.mjs +2 -0
- package/13/fesm2015/rete-angular-plugin-ng13.mjs +39 -11
- package/13/fesm2015/rete-angular-plugin-ng13.mjs.map +1 -1
- package/13/fesm2020/rete-angular-plugin-ng13.mjs +37 -11
- package/13/fesm2020/rete-angular-plugin-ng13.mjs.map +1 -1
- package/13/index.d.ts +1 -0
- package/13/module.d.ts +3 -2
- package/13/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/13/shared/pipes/index.d.ts +1 -0
- package/14/esm2020/index.mjs +2 -1
- package/14/esm2020/module.mjs +10 -5
- package/14/esm2020/presets/classic/components/node/node.component.mjs +7 -6
- package/14/esm2020/shared/pipes/impure-keyvalue.pipe.mjs +24 -0
- package/14/esm2020/shared/pipes/index.mjs +2 -0
- package/14/fesm2015/rete-angular-plugin-ng14.mjs +39 -11
- package/14/fesm2015/rete-angular-plugin-ng14.mjs.map +1 -1
- package/14/fesm2020/rete-angular-plugin-ng14.mjs +37 -11
- package/14/fesm2020/rete-angular-plugin-ng14.mjs.map +1 -1
- package/14/index.d.ts +1 -0
- package/14/module.d.ts +3 -2
- package/14/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/14/shared/pipes/index.d.ts +1 -0
- package/15/esm2020/index.mjs +2 -1
- package/15/esm2020/module.mjs +10 -5
- package/15/esm2020/presets/classic/components/node/node.component.mjs +7 -6
- package/15/esm2020/shared/pipes/impure-keyvalue.pipe.mjs +24 -0
- package/15/esm2020/shared/pipes/index.mjs +2 -0
- package/15/fesm2015/rete-angular-plugin-ng15.mjs +39 -11
- package/15/fesm2015/rete-angular-plugin-ng15.mjs.map +1 -1
- package/15/fesm2020/rete-angular-plugin-ng15.mjs +37 -11
- package/15/fesm2020/rete-angular-plugin-ng15.mjs.map +1 -1
- package/15/index.d.ts +1 -0
- package/15/module.d.ts +3 -2
- package/15/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/15/shared/pipes/index.d.ts +1 -0
- package/16/esm2022/index.mjs +2 -1
- package/16/esm2022/module.mjs +10 -5
- package/16/esm2022/presets/classic/components/node/node.component.mjs +7 -6
- package/16/esm2022/shared/pipes/impure-keyvalue.pipe.mjs +24 -0
- package/16/esm2022/shared/pipes/index.mjs +2 -0
- package/16/fesm2022/rete-angular-plugin-ng16.mjs +37 -11
- package/16/fesm2022/rete-angular-plugin-ng16.mjs.map +1 -1
- package/16/index.d.ts +1 -0
- package/16/module.d.ts +3 -2
- package/16/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/16/shared/pipes/index.d.ts +1 -0
- package/17/esm2022/index.mjs +2 -1
- package/17/esm2022/module.mjs +10 -5
- package/17/esm2022/presets/classic/components/node/node.component.mjs +7 -6
- package/17/esm2022/shared/pipes/impure-keyvalue.pipe.mjs +24 -0
- package/17/esm2022/shared/pipes/index.mjs +2 -0
- package/17/fesm2022/rete-angular-plugin-ng17.mjs +37 -11
- package/17/fesm2022/rete-angular-plugin-ng17.mjs.map +1 -1
- package/17/index.d.ts +1 -0
- package/17/module.d.ts +3 -2
- package/17/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/17/shared/pipes/index.d.ts +1 -0
- package/18/esm2022/index.mjs +2 -1
- package/18/esm2022/module.mjs +10 -5
- package/18/esm2022/presets/classic/components/node/node.component.mjs +7 -6
- package/18/esm2022/shared/pipes/impure-keyvalue.pipe.mjs +24 -0
- package/18/esm2022/shared/pipes/index.mjs +2 -0
- package/18/fesm2022/rete-angular-plugin-ng18.mjs +37 -11
- package/18/fesm2022/rete-angular-plugin-ng18.mjs.map +1 -1
- package/18/index.d.ts +1 -0
- package/18/module.d.ts +3 -2
- package/18/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/18/shared/pipes/index.d.ts +1 -0
- package/19/fesm2022/rete-angular-plugin-ng19.mjs +31 -9
- package/19/fesm2022/rete-angular-plugin-ng19.mjs.map +1 -1
- package/19/index.d.ts +1 -0
- package/19/shared/pipes/impure-keyvalue.pipe.d.ts +12 -0
- package/19/shared/pipes/index.d.ts +1 -0
- package/20/fesm2022/rete-angular-plugin-ng20.mjs +31 -9
- package/20/fesm2022/rete-angular-plugin-ng20.mjs.map +1 -1
- package/20/index.d.ts +13 -2
- package/21/fesm2022/rete-angular-plugin-ng21.mjs +1582 -0
- package/21/fesm2022/rete-angular-plugin-ng21.mjs.map +1 -0
- package/21/package.json +22 -0
- package/21/types/rete-angular-plugin-ng21.d.ts +564 -0
- package/CHANGELOG.md +14 -0
- package/bundles/rete-angular-plugin.umd.js +40 -11
- package/bundles/rete-angular-plugin.umd.js.map +1 -1
- package/esm2015/index.js +2 -1
- package/esm2015/module.js +6 -3
- package/esm2015/presets/classic/components/node/node.component.js +2 -2
- package/esm2015/rete-angular-plugin.js +10 -9
- package/esm2015/shared/pipes/impure-keyvalue.pipe.js +20 -0
- package/esm2015/shared/pipes/index.js +2 -0
- package/fesm2015/rete-angular-plugin.js +26 -5
- package/fesm2015/rete-angular-plugin.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +5 -5
- package/rete-angular-plugin.d.ts +9 -8
- package/rete-angular-plugin.metadata.json +1 -1
- package/shared/pipes/impure-keyvalue.pipe.d.ts +9 -0
- package/shared/pipes/index.d.ts +1 -0
|
@@ -2,6 +2,7 @@ import { Component, Input, HostBinding, ChangeDetectorRef } from '@angular/core'
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@angular/common";
|
|
4
4
|
import * as i2 from "../../../../ref";
|
|
5
|
+
import * as i3 from "../../../../shared/pipes/impure-keyvalue.pipe";
|
|
5
6
|
const _c0 = function (a2, a3, a4, a5) { return { type: "socket", side: "output", key: a2, nodeId: a3, payload: a4, seed: a5 }; };
|
|
6
7
|
function NodeComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
7
8
|
i0.ɵɵelementStart(0, "div", 4)(1, "div", 5);
|
|
@@ -90,11 +91,11 @@ NodeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodeComponent
|
|
|
90
91
|
i0.ɵɵtext(1);
|
|
91
92
|
i0.ɵɵelementEnd();
|
|
92
93
|
i0.ɵɵtemplate(2, NodeComponent_div_2_Template, 4, 9, "div", 1);
|
|
93
|
-
i0.ɵɵpipe(3, "
|
|
94
|
+
i0.ɵɵpipe(3, "keyvalueimpure");
|
|
94
95
|
i0.ɵɵtemplate(4, NodeComponent_div_4_Template, 1, 5, "div", 2);
|
|
95
|
-
i0.ɵɵpipe(5, "
|
|
96
|
+
i0.ɵɵpipe(5, "keyvalueimpure");
|
|
96
97
|
i0.ɵɵtemplate(6, NodeComponent_div_6_Template, 4, 15, "div", 3);
|
|
97
|
-
i0.ɵɵpipe(7, "
|
|
98
|
+
i0.ɵɵpipe(7, "keyvalueimpure");
|
|
98
99
|
} if (rf & 2) {
|
|
99
100
|
i0.ɵɵadvance(1);
|
|
100
101
|
i0.ɵɵtextInterpolate(ctx.data.label);
|
|
@@ -104,12 +105,12 @@ NodeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodeComponent
|
|
|
104
105
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(5, 7, ctx.data.controls, ctx.sortByIndex));
|
|
105
106
|
i0.ɵɵadvance(2);
|
|
106
107
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(7, 10, ctx.data.inputs, ctx.sortByIndex));
|
|
107
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RefDirective,
|
|
108
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RefDirective, i3.ImpureKeyvaluePipe], styles: ["[_nghost-%COMP%]{display:block;background:rgba(110,136,255,.8);border:2px solid #4e58bf;border-radius:10px;cursor:pointer;box-sizing:border-box;width:180px;height:auto;padding-bottom:6px;position:relative;-webkit-user-select:none;user-select:none;line-height:initial;font-family:Arial}[_nghost-%COMP%]:hover{background:rgba(130,153,255,.8)}.selected[_nghost-%COMP%]{background:#ffd92c;border-color:#e3c000}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{color:#fff;font-family:sans-serif;font-size:18px;padding:8px}[_nghost-%COMP%] .output[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%] .input[_ngcontent-%COMP%]{text-align:left}[_nghost-%COMP%] .input-title[_ngcontent-%COMP%], [_nghost-%COMP%] .output-title[_ngcontent-%COMP%]{vertical-align:middle;color:#fff;display:inline-block;font-family:sans-serif;font-size:14px;margin:6px;line-height:24px}[_nghost-%COMP%] .input-title[hidden][_ngcontent-%COMP%], [_nghost-%COMP%] .output-title[hidden][_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .output-socket[_ngcontent-%COMP%]{text-align:right;margin-right:-18px;display:inline-block}[_nghost-%COMP%] .input-socket[_ngcontent-%COMP%]{text-align:left;margin-left:-18px;display:inline-block}[_nghost-%COMP%] .input-control[_ngcontent-%COMP%]{z-index:1;width:calc(100% - 36px);vertical-align:middle;display:inline-block}[_nghost-%COMP%] .control[_ngcontent-%COMP%]{padding:6px 18px}"] });
|
|
108
109
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodeComponent, [{
|
|
109
110
|
type: Component,
|
|
110
111
|
args: [{ host: {
|
|
111
112
|
'data-testid': 'node'
|
|
112
|
-
}, template: "<div class=\"title\" data-testid=\"title\">{{data.label}}</div>\n<div class=\"output\" *ngFor=\"let output of data.outputs |
|
|
113
|
+
}, template: "<div class=\"title\" data-testid=\"title\">{{data.label}}</div>\n<div class=\"output\" *ngFor=\"let output of data.outputs | keyvalueimpure: sortByIndex\" [attr.data-testid]=\"'output-'+output.key\">\n <div class=\"output-title\" data-testid=\"output-title\">{{output.value?.label}}</div>\n <div\n class=\"output-socket\"\n refComponent\n [data]=\"{type: 'socket', side: 'output', key: output.key, nodeId: data.id, payload: output.value?.socket, seed: seed }\"\n [emit]=\"emit\"\n data-testid=\"output-socket\"\n ></div>\n</div>\n<div\n class=\"control\"\n *ngFor=\"let control of data.controls | keyvalueimpure: sortByIndex\"\n refComponent\n [data]=\"{type: 'control', payload: control.value }\"\n [emit]=\"emit\"\n [attr.data-testid]=\"'control-'+control.key\"\n></div>\n<div class=\"input\" *ngFor=\"let input of data.inputs | keyvalueimpure: sortByIndex\" [attr.data-testid]=\"'input-'+input.key\">\n <div\n class=\"input-socket\"\n refComponent\n [data]=\"{type: 'socket', side: 'input', key: input.key, nodeId: data.id, payload: input.value?.socket, seed: seed }\"\n [emit]=\"emit\"\n data-testid=\"input-socket\"\n ></div>\n <div class=\"input-title\" data-testid=\"input-title\" *ngIf=\"!input.value?.control || !input.value?.showControl\">{{input.value?.label}}</div>\n <div\n class=\"input-control\"\n [style.display]=\"input.value?.control && input.value?.showControl ? '' : 'none'\"\n refComponent\n [data]=\"{type: 'control', payload: input.value?.control }\"\n [emit]=\"emit\"\n data-testid=\"input-control\"\n ></div>\n</div>\n", styles: [":host{display:block;background:rgba(110,136,255,.8);border:2px solid #4e58bf;border-radius:10px;cursor:pointer;box-sizing:border-box;width:180px;height:auto;padding-bottom:6px;position:relative;-webkit-user-select:none;user-select:none;line-height:initial;font-family:Arial}:host:hover{background:rgba(130,153,255,.8)}:host.selected{background:#ffd92c;border-color:#e3c000}:host .title{color:#fff;font-family:sans-serif;font-size:18px;padding:8px}:host .output{text-align:right}:host .input{text-align:left}:host .input-title,:host .output-title{vertical-align:middle;color:#fff;display:inline-block;font-family:sans-serif;font-size:14px;margin:6px;line-height:24px}:host .input-title[hidden],:host .output-title[hidden]{display:none}:host .output-socket{text-align:right;margin-right:-18px;display:inline-block}:host .input-socket{text-align:left;margin-left:-18px;display:inline-block}:host .input-control{z-index:1;width:calc(100% - 36px);vertical-align:middle;display:inline-block}:host .control{padding:6px 18px}\n"] }]
|
|
113
114
|
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { data: [{
|
|
114
115
|
type: Input
|
|
115
116
|
}], emit: [{
|
|
@@ -126,4 +127,4 @@ NodeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodeComponent
|
|
|
126
127
|
type: HostBinding,
|
|
127
128
|
args: ['class.selected']
|
|
128
129
|
}] }); })();
|
|
129
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
130
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9uZzE0L3NyYy9wcmVzZXRzL2NsYXNzaWMvY29tcG9uZW50cy9ub2RlL25vZGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbmcxNC9zcmMvcHJlc2V0cy9jbGFzc2ljL2NvbXBvbmVudHMvbm9kZS9ub2RlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiO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2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class ImpureKeyvaluePipe {
|
|
4
|
+
transform(value, compareFn) {
|
|
5
|
+
if (!value || typeof value !== 'object') {
|
|
6
|
+
return [];
|
|
7
|
+
}
|
|
8
|
+
const result = Object.entries(value).map(([key, val]) => ({ key, value: val }));
|
|
9
|
+
if (compareFn) {
|
|
10
|
+
result.sort(compareFn);
|
|
11
|
+
}
|
|
12
|
+
return result;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
ImpureKeyvaluePipe.ɵfac = function ImpureKeyvaluePipe_Factory(t) { return new (t || ImpureKeyvaluePipe)(); };
|
|
16
|
+
ImpureKeyvaluePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "keyvalueimpure", type: ImpureKeyvaluePipe, pure: false });
|
|
17
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImpureKeyvaluePipe, [{
|
|
18
|
+
type: Pipe,
|
|
19
|
+
args: [{
|
|
20
|
+
name: 'keyvalueimpure',
|
|
21
|
+
pure: false
|
|
22
|
+
}]
|
|
23
|
+
}], null, null); })();
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1wdXJlLWtleXZhbHVlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9uZzE0L3NyYy9zaGFyZWQvcGlwZXMvaW1wdXJlLWtleXZhbHVlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBTXBELE1BQU0sT0FBTyxrQkFBa0I7SUFFN0IsU0FBUyxDQUFDLEtBQThDLEVBQUUsU0FBc0M7UUFDOUYsSUFBSSxDQUFDLEtBQUssSUFBSSxPQUFPLEtBQUssS0FBSyxRQUFRLEVBQUU7WUF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XG5cbiAgICBjb25zdCByZXN1bHQgPSBPYmplY3QuZW50cmllcyh2YWx1ZSkubWFwKChba2V5LCB2YWxdKSA9PiAoe2tleSwgdmFsdWU6IHZhbH0pKTtcblxuICAgIGlmIChjb21wYXJlRm4pIHtcbiAgICAgIHJlc3VsdC5zb3J0KGNvbXBhcmVGbik7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { ImpureKeyvaluePipe } from './impure-keyvalue.pipe';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9uZzE0L3NyYy9zaGFyZWQvcGlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJbXB1cmVLZXl2YWx1ZVBpcGUgfSBmcm9tICcuL2ltcHVyZS1rZXl2YWx1ZS5waXBlJztcbiJdfQ==
|
|
@@ -2,7 +2,7 @@ import { __awaiter } from 'tslib';
|
|
|
2
2
|
import { getUID, ClassicPreset, Scope } from 'rete';
|
|
3
3
|
import { getDOMSocketPosition, loopConnectionPath, classicConnectionPath } from 'rete-render-utils';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { Directive, Input, Component, HostBinding, HostListener, EventEmitter, Output, NgModule } from '@angular/core';
|
|
5
|
+
import { Directive, Input, Pipe, Component, HostBinding, HostListener, EventEmitter, Output, NgModule } from '@angular/core';
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
import { BaseAreaPlugin } from 'rete-area-plugin';
|
|
@@ -34,6 +34,30 @@ RefDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RefDirective,
|
|
|
34
34
|
}] });
|
|
35
35
|
})();
|
|
36
36
|
|
|
37
|
+
class ImpureKeyvaluePipe {
|
|
38
|
+
transform(value, compareFn) {
|
|
39
|
+
if (!value || typeof value !== 'object') {
|
|
40
|
+
return [];
|
|
41
|
+
}
|
|
42
|
+
const result = Object.entries(value).map(([key, val]) => ({ key, value: val }));
|
|
43
|
+
if (compareFn) {
|
|
44
|
+
result.sort(compareFn);
|
|
45
|
+
}
|
|
46
|
+
return result;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
ImpureKeyvaluePipe.ɵfac = function ImpureKeyvaluePipe_Factory(t) { return new (t || ImpureKeyvaluePipe)(); };
|
|
50
|
+
ImpureKeyvaluePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "keyvalueimpure", type: ImpureKeyvaluePipe, pure: false });
|
|
51
|
+
(function () {
|
|
52
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImpureKeyvaluePipe, [{
|
|
53
|
+
type: Pipe,
|
|
54
|
+
args: [{
|
|
55
|
+
name: 'keyvalueimpure',
|
|
56
|
+
pure: false
|
|
57
|
+
}]
|
|
58
|
+
}], null, null);
|
|
59
|
+
})();
|
|
60
|
+
|
|
37
61
|
const _c0$1 = function (a2, a3, a4, a5) { return { type: "socket", side: "output", key: a2, nodeId: a3, payload: a4, seed: a5 }; };
|
|
38
62
|
function NodeComponent_div_2_Template(rf, ctx) {
|
|
39
63
|
if (rf & 1) {
|
|
@@ -138,11 +162,11 @@ NodeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodeComponent
|
|
|
138
162
|
i0.ɵɵtext(1);
|
|
139
163
|
i0.ɵɵelementEnd();
|
|
140
164
|
i0.ɵɵtemplate(2, NodeComponent_div_2_Template, 4, 9, "div", 1);
|
|
141
|
-
i0.ɵɵpipe(3, "
|
|
165
|
+
i0.ɵɵpipe(3, "keyvalueimpure");
|
|
142
166
|
i0.ɵɵtemplate(4, NodeComponent_div_4_Template, 1, 5, "div", 2);
|
|
143
|
-
i0.ɵɵpipe(5, "
|
|
167
|
+
i0.ɵɵpipe(5, "keyvalueimpure");
|
|
144
168
|
i0.ɵɵtemplate(6, NodeComponent_div_6_Template, 4, 15, "div", 3);
|
|
145
|
-
i0.ɵɵpipe(7, "
|
|
169
|
+
i0.ɵɵpipe(7, "keyvalueimpure");
|
|
146
170
|
}
|
|
147
171
|
if (rf & 2) {
|
|
148
172
|
i0.ɵɵadvance(1);
|
|
@@ -154,13 +178,13 @@ NodeComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NodeComponent
|
|
|
154
178
|
i0.ɵɵadvance(2);
|
|
155
179
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(7, 10, ctx.data.inputs, ctx.sortByIndex));
|
|
156
180
|
}
|
|
157
|
-
}, dependencies: [i1.NgForOf, i1.NgIf, RefDirective,
|
|
181
|
+
}, dependencies: [i1.NgForOf, i1.NgIf, RefDirective, ImpureKeyvaluePipe], styles: ["[_nghost-%COMP%]{display:block;background:rgba(110,136,255,.8);border:2px solid #4e58bf;border-radius:10px;cursor:pointer;box-sizing:border-box;width:180px;height:auto;padding-bottom:6px;position:relative;-webkit-user-select:none;user-select:none;line-height:initial;font-family:Arial}[_nghost-%COMP%]:hover{background:rgba(130,153,255,.8)}.selected[_nghost-%COMP%]{background:#ffd92c;border-color:#e3c000}[_nghost-%COMP%] .title[_ngcontent-%COMP%]{color:#fff;font-family:sans-serif;font-size:18px;padding:8px}[_nghost-%COMP%] .output[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%] .input[_ngcontent-%COMP%]{text-align:left}[_nghost-%COMP%] .input-title[_ngcontent-%COMP%], [_nghost-%COMP%] .output-title[_ngcontent-%COMP%]{vertical-align:middle;color:#fff;display:inline-block;font-family:sans-serif;font-size:14px;margin:6px;line-height:24px}[_nghost-%COMP%] .input-title[hidden][_ngcontent-%COMP%], [_nghost-%COMP%] .output-title[hidden][_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .output-socket[_ngcontent-%COMP%]{text-align:right;margin-right:-18px;display:inline-block}[_nghost-%COMP%] .input-socket[_ngcontent-%COMP%]{text-align:left;margin-left:-18px;display:inline-block}[_nghost-%COMP%] .input-control[_ngcontent-%COMP%]{z-index:1;width:calc(100% - 36px);vertical-align:middle;display:inline-block}[_nghost-%COMP%] .control[_ngcontent-%COMP%]{padding:6px 18px}"] });
|
|
158
182
|
(function () {
|
|
159
183
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodeComponent, [{
|
|
160
184
|
type: Component,
|
|
161
185
|
args: [{ host: {
|
|
162
186
|
'data-testid': 'node'
|
|
163
|
-
}, template: "<div class=\"title\" data-testid=\"title\">{{data.label}}</div>\n<div class=\"output\" *ngFor=\"let output of data.outputs |
|
|
187
|
+
}, template: "<div class=\"title\" data-testid=\"title\">{{data.label}}</div>\n<div class=\"output\" *ngFor=\"let output of data.outputs | keyvalueimpure: sortByIndex\" [attr.data-testid]=\"'output-'+output.key\">\n <div class=\"output-title\" data-testid=\"output-title\">{{output.value?.label}}</div>\n <div\n class=\"output-socket\"\n refComponent\n [data]=\"{type: 'socket', side: 'output', key: output.key, nodeId: data.id, payload: output.value?.socket, seed: seed }\"\n [emit]=\"emit\"\n data-testid=\"output-socket\"\n ></div>\n</div>\n<div\n class=\"control\"\n *ngFor=\"let control of data.controls | keyvalueimpure: sortByIndex\"\n refComponent\n [data]=\"{type: 'control', payload: control.value }\"\n [emit]=\"emit\"\n [attr.data-testid]=\"'control-'+control.key\"\n></div>\n<div class=\"input\" *ngFor=\"let input of data.inputs | keyvalueimpure: sortByIndex\" [attr.data-testid]=\"'input-'+input.key\">\n <div\n class=\"input-socket\"\n refComponent\n [data]=\"{type: 'socket', side: 'input', key: input.key, nodeId: data.id, payload: input.value?.socket, seed: seed }\"\n [emit]=\"emit\"\n data-testid=\"input-socket\"\n ></div>\n <div class=\"input-title\" data-testid=\"input-title\" *ngIf=\"!input.value?.control || !input.value?.showControl\">{{input.value?.label}}</div>\n <div\n class=\"input-control\"\n [style.display]=\"input.value?.control && input.value?.showControl ? '' : 'none'\"\n refComponent\n [data]=\"{type: 'control', payload: input.value?.control }\"\n [emit]=\"emit\"\n data-testid=\"input-control\"\n ></div>\n</div>\n", styles: [":host{display:block;background:rgba(110,136,255,.8);border:2px solid #4e58bf;border-radius:10px;cursor:pointer;box-sizing:border-box;width:180px;height:auto;padding-bottom:6px;position:relative;-webkit-user-select:none;user-select:none;line-height:initial;font-family:Arial}:host:hover{background:rgba(130,153,255,.8)}:host.selected{background:#ffd92c;border-color:#e3c000}:host .title{color:#fff;font-family:sans-serif;font-size:18px;padding:8px}:host .output{text-align:right}:host .input{text-align:left}:host .input-title,:host .output-title{vertical-align:middle;color:#fff;display:inline-block;font-family:sans-serif;font-size:14px;margin:6px;line-height:24px}:host .input-title[hidden],:host .output-title[hidden]{display:none}:host .output-socket{text-align:right;margin-right:-18px;display:inline-block}:host .input-socket{text-align:left;margin-left:-18px;display:inline-block}:host .input-control{z-index:1;width:calc(100% - 36px);vertical-align:middle;display:inline-block}:host .control{padding:6px 18px}\n"] }]
|
|
164
188
|
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { data: [{
|
|
165
189
|
type: Input
|
|
166
190
|
}], emit: [{
|
|
@@ -1326,7 +1350,8 @@ ReteModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule]
|
|
|
1326
1350
|
ConnectionComponent,
|
|
1327
1351
|
ConnectionWrapperComponent,
|
|
1328
1352
|
SocketComponent,
|
|
1329
|
-
ControlComponent
|
|
1353
|
+
ControlComponent,
|
|
1354
|
+
ImpureKeyvaluePipe
|
|
1330
1355
|
],
|
|
1331
1356
|
imports: [
|
|
1332
1357
|
CommonModule
|
|
@@ -1337,7 +1362,8 @@ ReteModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule]
|
|
|
1337
1362
|
ConnectionComponent,
|
|
1338
1363
|
ConnectionWrapperComponent,
|
|
1339
1364
|
SocketComponent,
|
|
1340
|
-
ControlComponent
|
|
1365
|
+
ControlComponent,
|
|
1366
|
+
ImpureKeyvaluePipe
|
|
1341
1367
|
],
|
|
1342
1368
|
entryComponents: [
|
|
1343
1369
|
NodeComponent,
|
|
@@ -1355,12 +1381,14 @@ ReteModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule]
|
|
|
1355
1381
|
ConnectionComponent,
|
|
1356
1382
|
ConnectionWrapperComponent,
|
|
1357
1383
|
SocketComponent,
|
|
1358
|
-
ControlComponent
|
|
1384
|
+
ControlComponent,
|
|
1385
|
+
ImpureKeyvaluePipe], imports: [CommonModule], exports: [RefDirective,
|
|
1359
1386
|
NodeComponent,
|
|
1360
1387
|
ConnectionComponent,
|
|
1361
1388
|
ConnectionWrapperComponent,
|
|
1362
1389
|
SocketComponent,
|
|
1363
|
-
ControlComponent
|
|
1390
|
+
ControlComponent,
|
|
1391
|
+
ImpureKeyvaluePipe] });
|
|
1364
1392
|
})();
|
|
1365
1393
|
|
|
1366
1394
|
class ReteContextMenuModule {
|
|
@@ -1606,5 +1634,5 @@ class AngularPlugin extends Scope {
|
|
|
1606
1634
|
* Generated bundle index. Do not edit.
|
|
1607
1635
|
*/
|
|
1608
1636
|
|
|
1609
|
-
export { AngularPlugin, ConnectionComponent, ConnectionWrapperComponent, ContextMenuComponent, ContextMenuItemComponent, ContextMenuSearchComponent, ControlComponent, MiniNodeComponent, MiniViewportComponent, MinimapComponent, NodeComponent, PinComponent, PinsComponent, index as Presets, RefDirective, ReteContextMenuModule, ReteMinimapModule, ReteModule, ReteRerouteModule, SocketComponent };
|
|
1637
|
+
export { AngularPlugin, ConnectionComponent, ConnectionWrapperComponent, ContextMenuComponent, ContextMenuItemComponent, ContextMenuSearchComponent, ControlComponent, ImpureKeyvaluePipe, MiniNodeComponent, MiniViewportComponent, MinimapComponent, NodeComponent, PinComponent, PinsComponent, index as Presets, RefDirective, ReteContextMenuModule, ReteMinimapModule, ReteModule, ReteRerouteModule, SocketComponent };
|
|
1610
1638
|
//# sourceMappingURL=rete-angular-plugin-ng14.mjs.map
|