123456789101112131415161718192021 |
- var t = require;
- var e = module;
- var i = exports;
- Object.defineProperty(i, "__esModule", {value: !0});
- const s = t("constants"),
- o = t("BaseNode");
- i.default = class extends o.default {
- constructor({name: t = "Condition", title: e, properties: i} = {}) {
- super({category: s.CONDITION, name: t, title: e, properties: i});
- }
- log(...t) {
- let e = this.title,
- i = e.match(/(<[0-9a-zA-Z_]+>)/g);
- if (i)
- for (const o of i) {
- var s = o.slice(1, o.length - 1);
- e = e.replace(o, this.properties[s] + "");
- }
- Log.trace(e, ...t);
- }
- };
|