@yuneta/gobj-js 7.26.6 → 7.26.8
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/dist/gobj-js.cjs.js +23 -2
- package/dist/gobj-js.cjs.js.map +1 -1
- package/dist/gobj-js.cjs.min.js +81 -73
- package/dist/gobj-js.cjs.min.js.map +1 -1
- package/dist/gobj-js.es.js +23 -2
- package/dist/gobj-js.es.js.map +1 -1
- package/dist/gobj-js.es.min.js +79 -71
- package/dist/gobj-js.es.min.js.map +1 -1
- package/dist/gobj-js.iife.js +23 -2
- package/dist/gobj-js.iife.js.map +1 -1
- package/dist/gobj-js.iife.min.js +10 -2
- package/dist/gobj-js.iife.min.js.map +1 -1
- package/dist/gobj-js.umd.js +23 -2
- package/dist/gobj-js.umd.js.map +1 -1
- package/dist/gobj-js.umd.min.js +10 -2
- package/dist/gobj-js.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/gobj-js.cjs.min.js
CHANGED
|
@@ -194,12 +194,12 @@ var E = class {
|
|
|
194
194
|
obflag_destroying: 1,
|
|
195
195
|
obflag_destroyed: 2,
|
|
196
196
|
obflag_created: 4
|
|
197
|
-
}),
|
|
197
|
+
}), x = Object.freeze({
|
|
198
198
|
EVF_NO_WARN_SUBS: 1,
|
|
199
199
|
EVF_OUTPUT_EVENT: 2,
|
|
200
200
|
EVF_SYSTEM_EVENT: 4,
|
|
201
201
|
EVF_PUBLIC_EVENT: 8
|
|
202
|
-
}),
|
|
202
|
+
}), R = Object.freeze({
|
|
203
203
|
WALK_TOP2BOTTOM: 1,
|
|
204
204
|
WALK_BOTTOM2TOP: 2,
|
|
205
205
|
WALK_BYLEVEL: 4,
|
|
@@ -629,7 +629,7 @@ function ve(e) {
|
|
|
629
629
|
}
|
|
630
630
|
for (let n = 0; n < e.dl_events.length; n++) {
|
|
631
631
|
let r = e.dl_events[n];
|
|
632
|
-
if (!lr(r.event_name) && (tr(r.event_flag) || (mn(`SMachine: event flag is NOT number: gclass ${e.gclass_name}, event ${r.event_name}`), t += -1), !(r.event_flag &
|
|
632
|
+
if (!lr(r.event_name) && (tr(r.event_flag) || (mn(`SMachine: event flag is NOT number: gclass ${e.gclass_name}, event ${r.event_name}`), t += -1), !(r.event_flag & x.EVF_OUTPUT_EVENT))) {
|
|
633
633
|
let n = !1;
|
|
634
634
|
for (let t = 0; t < e.dl_states.length; t++) {
|
|
635
635
|
let o = e.dl_states[t];
|
|
@@ -662,11 +662,11 @@ function we(e) {
|
|
|
662
662
|
function Ne(e, t) {
|
|
663
663
|
t.parent && mn(`_add_child() ALREADY HAS PARENT: ${t.gobj_name}`), e.dl_children.push(t), t.parent = e;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function xe(e, t) {
|
|
666
666
|
let n = eo(e.dl_children, t);
|
|
667
667
|
n >= 0 && (qn(e.dl_children, n), t.parent = null);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Re(e, t) {
|
|
670
670
|
return Ye(e) ? i ? i(e, t) : -1 : (mn(`${Ze(e)}: Only gobj services can load/save writable-persistent`), -1);
|
|
671
671
|
}
|
|
672
672
|
function $e(e, t) {
|
|
@@ -731,7 +731,7 @@ function Ie(e) {
|
|
|
731
731
|
r && r.gclass.gmt.mt_child_removed && (n && I(t("👦👦🔴 child_removed(%s): %s", et(r), Ze(e))), r.gclass.gmt.mt_child_removed(r, e)), e.gobj_flag & w.gobj_flag_service && function(e) {
|
|
732
732
|
let t = Qe(e);
|
|
733
733
|
t = t.toLowerCase(), p[t] ? delete p[t] : mn(`"service NOT found in register": ${t}`);
|
|
734
|
-
}(e), e === b && (b = null), qt(e, e.dl_subscriptions, !0), qt(e, e.dl_subscribings, !0), r && (
|
|
734
|
+
}(e), e === b && (b = null), qt(e, e.dl_subscriptions, !0), qt(e, e.dl_subscribings, !0), r && (xe(r, e), nt(e) && (st(r) !== e || ot(r) || lt(r, null))), function(e) {
|
|
735
735
|
let t = e.dl_children.slice();
|
|
736
736
|
for (let e = 0; e < t.length; e++) {
|
|
737
737
|
let n = t[e];
|
|
@@ -764,7 +764,7 @@ function Fe(e, t, n) {
|
|
|
764
764
|
return We(e) && Ue(e), 0;
|
|
765
765
|
}
|
|
766
766
|
function Ve(e) {
|
|
767
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e,
|
|
767
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e, R.WALK_FIRST2LAST, Fe, 0, 0);
|
|
768
768
|
}
|
|
769
769
|
function Ge(e) {
|
|
770
770
|
if (ot(e)) return mn(`gobj NULL or DESTROYED: ${Ze(e)}`), -1;
|
|
@@ -856,7 +856,7 @@ function ut(e) {
|
|
|
856
856
|
}
|
|
857
857
|
function ct(e, t, n, r, o) {
|
|
858
858
|
let s, l = [...e];
|
|
859
|
-
if (t &
|
|
859
|
+
if (t & R.WALK_LAST2FIRST) for (let e = l.length; e > 0; e--) {
|
|
860
860
|
s = l[e - 1];
|
|
861
861
|
let t = ut(n(s, r, o));
|
|
862
862
|
if (t < 0) return t;
|
|
@@ -871,15 +871,15 @@ function ct(e, t, n, r, o) {
|
|
|
871
871
|
function ft(e, t, n, r, o) {
|
|
872
872
|
let s, l = ct(e, t, n, r, o);
|
|
873
873
|
if (l < 0) return l;
|
|
874
|
-
if (t &
|
|
874
|
+
if (t & R.WALK_LAST2FIRST) {
|
|
875
875
|
for (let i = e.length; i > 0; i--) if (s = e[i - 1], l = ft([...s.dl_children], t, n, r, o), l < 0) return l;
|
|
876
876
|
} else for (let i = 0; i < e.length; i++) if (s = e[i], l = ft([...s.dl_children], t, n, r, o), l < 0) return l;
|
|
877
877
|
return l;
|
|
878
878
|
}
|
|
879
879
|
function gt(e, t, n, r, o) {
|
|
880
|
-
if (t &
|
|
880
|
+
if (t & R.WALK_BYLEVEL) return ft(e, t, n, r, o);
|
|
881
881
|
let s, l;
|
|
882
|
-
if (t &
|
|
882
|
+
if (t & R.WALK_BOTTOM2TOP) for (let i = e.length; i > 0; i--) {
|
|
883
883
|
if (l = e[i - 1], s = gt([...l.dl_children], t, n, r, o), s < 0) return s;
|
|
884
884
|
if (s = ut(n(l, r, o)), s < 0) return s;
|
|
885
885
|
}
|
|
@@ -1016,11 +1016,11 @@ function Nt(e, t, n) {
|
|
|
1016
1016
|
let r = ce(e, t, !1);
|
|
1017
1017
|
return r ? (r[t] = parseInt(n), Xn(e.priv) && Object.prototype.hasOwnProperty.call(e.priv, t) && (e.priv[t] = r[t]), e.obflag & N.obflag_created && !(e.obflag & N.obflag_destroyed) && e.gclass.gmt.mt_writing && e.gclass.gmt.mt_writing(e, t), 0) : (mn(`${Ze(e)}: GClass Attribute NOT FOUND, attr ${t}`), -1);
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function xt(e, t, n) {
|
|
1020
1020
|
let r = ce(e, t, !1);
|
|
1021
1021
|
return r ? (r[t] = String(n), Xn(e.priv) && Object.prototype.hasOwnProperty.call(e.priv, t) && (e.priv[t] = r[t]), e.obflag & N.obflag_created && !(e.obflag & N.obflag_destroyed) && e.gclass.gmt.mt_writing && e.gclass.gmt.mt_writing(e, t), 0) : (mn(`${Ze(e)}: GClass Attribute NOT FOUND, attr ${t}`), -1);
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1023
|
+
function Rt(e, n) {
|
|
1024
1024
|
if (ot(e)) return mn("gobj NULL or DESTROYED"), null;
|
|
1025
1025
|
if (e.current_state.state_name === n) return !1;
|
|
1026
1026
|
let r = de(e.gclass, n);
|
|
@@ -1053,7 +1053,7 @@ function kt(e, t, n) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
function At(e, t, n) {
|
|
1055
1055
|
let r = Dt(e, t, !1);
|
|
1056
|
-
return !!r && !(n && !(r.event_flag & n)) && !!(r.event_flag &
|
|
1056
|
+
return !!r && !(n && !(r.event_flag & n)) && !!(r.event_flag & x.EVF_OUTPUT_EVENT);
|
|
1057
1057
|
}
|
|
1058
1058
|
var It = [], Ct = !1;
|
|
1059
1059
|
function Lt(e, n, r, o) {
|
|
@@ -1099,7 +1099,7 @@ function Ut(e, n, r, o) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
r && J(e) && Hn(r) && Ln(r);
|
|
1101
1101
|
}
|
|
1102
|
-
i.next_state &&
|
|
1102
|
+
i.next_state && Rt(e, i.next_state);
|
|
1103
1103
|
let _ = -1;
|
|
1104
1104
|
try {
|
|
1105
1105
|
i.action && (_ = i.action(e, n, r, o));
|
|
@@ -1210,7 +1210,7 @@ function Jt(e, n, r, o) {
|
|
|
1210
1210
|
if (Object.keys(r).forEach((t) => {
|
|
1211
1211
|
s.has(t) || mn(`${Ze(e)}: key ignored in subscription (key: ${t}, event: ${n})`);
|
|
1212
1212
|
}), lr(n)) n = "";
|
|
1213
|
-
else if (!(At(e, n,
|
|
1213
|
+
else if (!(At(e, n, x.EVF_OUTPUT_EVENT) || e.gclass.gclass_flag & S.gcflag_no_check_output_events)) return mn(`event NOT in output event list: ${Ze(e)}, ${n}`), 0;
|
|
1214
1214
|
let l = Mt(r, n), i = Kt(e.dl_subscriptions, e, n, l.renamed_event, l.kw, o), _ = null;
|
|
1215
1215
|
for (let t = 0; t < i.length; t++) if (yr(e, i[t], "subs_flag", 0, Xt.KW_REQUIRED) & Ft.__hard_subscription__) {
|
|
1216
1216
|
_ = i[t];
|
|
@@ -1271,7 +1271,7 @@ function Qt(e, n, r) {
|
|
|
1271
1271
|
if (Xn(r) || (r = {}), !e || e.obflag & (N.obflag_destroyed | N.obflag_destroying)) return mn("gobj NULL or DESTROYED"), -1;
|
|
1272
1272
|
if (lr(n)) return mn(`${Ze(e)}: event EMPTY`), -1;
|
|
1273
1273
|
let o = Dt(e, n, !0);
|
|
1274
|
-
if (!(o && o.event_flag & (
|
|
1274
|
+
if (!(o && o.event_flag & (x.EVF_SYSTEM_EVENT | x.EVF_OUTPUT_EVENT) || e.gclass.gclass_flag & S.gcflag_no_check_output_events)) return mn(`event NOT in output event list: ${Ze(e)}, ev ${n}`), -1;
|
|
1275
1275
|
let s = (Y(e) || q(e, n)) && !H(e, n);
|
|
1276
1276
|
if (s && (I(1 === A ? t("🔝🔝 %s %s%s %s", n || "", e.running ? "" : "!!", Ze(e), e.current_state.state_name) : t("🔝🔝 mach(%s%s^%s), st: %s, ev: %s%s%s", e.running ? "" : "!!", Xe(e), Qe(e), e.current_state.state_name, "", n || "", "")), J(e) && Hn(r) && Ln(r)), e.gclass.gmt.mt_publish_event) {
|
|
1277
1277
|
let t = e.gclass.gmt.mt_publish_event(e, n, r);
|
|
@@ -1296,7 +1296,7 @@ function Qt(e, n, r) {
|
|
|
1296
1296
|
if (e.gclass.gmt.mt_publication_filter ? p = e.gclass.gmt.mt_publication_filter(e, n, r, u) : Qn(f) > 0 && (p = Nr(r, f) ? 1 : 0, s && (I(t("💜💜🔄%s publishing with filter, event '%s', subscriber'%s', publisher %s", p ? "👍" : "👎", n || "", Ze(u), Ze(e))), Tn(f))), p < 0) break;
|
|
1297
1297
|
if (!p) continue;
|
|
1298
1298
|
let d = Dt(u, n, !0);
|
|
1299
|
-
if (d && d.event_flag &
|
|
1299
|
+
if (d && d.event_flag & x.EVF_SYSTEM_EVENT && !kt(u, d.event_name, 0)) continue;
|
|
1300
1300
|
let b = r;
|
|
1301
1301
|
(Qn(l) > 0 || Qn(o) > 0) && (b = Fn({}, r)), Qn(l) > 0 && cr(b, l), Qn(o) > 0 && Fn(b, Pn(o)), s && (I(1 === A ? t("🔝🔄 %s (%s) %s%s", n || "", g || "", u.running ? "" : "!!", Ze(u)) : t("🔝🔄 mach(%s%s), st: %s, ev: %s (%s), from(%s%s)", u.running ? "" : "!!", Ze(u), $t(u), n || "", g || "", e && !e.running ? "!!" : "", Ze(e))), J(e) && Hn(b) && Ln(b));
|
|
1302
1302
|
let m = Ut(u, g, b, e);
|
|
@@ -1307,7 +1307,7 @@ function Qt(e, n, r) {
|
|
|
1307
1307
|
if (_ += m, i++, ot(e)) break;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
return i || o && o.event_flag &
|
|
1310
|
+
return i || o && o.event_flag & x.EVF_NO_WARN_SUBS || hn(`${Ze(e)}: Publish event WITHOUT subscribers, ev ${n}`), _;
|
|
1311
1311
|
}
|
|
1312
1312
|
var Xt = Object.freeze({
|
|
1313
1313
|
KW_REQUIRED: 1,
|
|
@@ -1494,10 +1494,10 @@ function wn(e, t, n) {
|
|
|
1494
1494
|
s = t;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
var Nn = 128,
|
|
1497
|
+
var Nn = 128, xn = 4194304, Rn = "<not shown: too large to mask>";
|
|
1498
1498
|
function $n(e) {
|
|
1499
1499
|
if ("string" != typeof e || e.indexOf("=") < 0) return null;
|
|
1500
|
-
if (e.length >
|
|
1500
|
+
if (e.length > xn) return Rn;
|
|
1501
1501
|
let t, n = !1, r = /(^|[ \t])attribute=["']?([^ \t"']*)/g;
|
|
1502
1502
|
for (; null !== (t = r.exec(e));) Sn(t[2].slice(-128)) && (n = !0);
|
|
1503
1503
|
let o = [], s = 0, l = !1, i = "", _ = 0, a = 0;
|
|
@@ -1531,7 +1531,7 @@ var Dn = 64, kn = "<not shown: the masking failed>";
|
|
|
1531
1531
|
var An = Symbol("mask-in-progress");
|
|
1532
1532
|
function In(e, t, n, r) {
|
|
1533
1533
|
if ("string" == typeof e) {
|
|
1534
|
-
if (e.length > r.left) return r.left = 0,
|
|
1534
|
+
if (e.length > r.left) return r.left = 0, Rn;
|
|
1535
1535
|
r.left -= e.length;
|
|
1536
1536
|
let t = $n(e);
|
|
1537
1537
|
return null !== t ? t : e;
|
|
@@ -1542,7 +1542,7 @@ function In(e, t, n, r) {
|
|
|
1542
1542
|
let t = Object.getPrototypeOf(e);
|
|
1543
1543
|
return t === Object.prototype || null === t;
|
|
1544
1544
|
}(e)) return e;
|
|
1545
|
-
if (r.left <= 0) return
|
|
1545
|
+
if (r.left <= 0) return Rn;
|
|
1546
1546
|
if (t.has(e)) {
|
|
1547
1547
|
let n = t.get(e);
|
|
1548
1548
|
return n === An ? "<cycle>" : n;
|
|
@@ -1561,7 +1561,7 @@ function In(e, t, n, r) {
|
|
|
1561
1561
|
let _ = In(e[o], t, n + 1, r);
|
|
1562
1562
|
_ !== e[o] && (l = !0), s.push(_);
|
|
1563
1563
|
}
|
|
1564
|
-
i && s.push(
|
|
1564
|
+
i && s.push(Rn);
|
|
1565
1565
|
} else {
|
|
1566
1566
|
s = Object.create(Object.getPrototypeOf(e));
|
|
1567
1567
|
let o = "string" == typeof e.attribute && Sn(e.attribute.slice(-128));
|
|
@@ -1575,13 +1575,13 @@ function In(e, t, n, r) {
|
|
|
1575
1575
|
let a, u = e[_];
|
|
1576
1576
|
a = (Sn(_.slice(-128)) || o && "value" === _) && null != u && "" !== u ? "********" : In(u, t, n + 1, r), a !== u && (l = !0), pr(s, _, a);
|
|
1577
1577
|
}
|
|
1578
|
-
i && (s["<more>"] =
|
|
1578
|
+
i && (s["<more>"] = Rn);
|
|
1579
1579
|
}
|
|
1580
1580
|
return l || i || (s = e), t.set(e, s), s;
|
|
1581
1581
|
}
|
|
1582
1582
|
function Cn(e) {
|
|
1583
1583
|
try {
|
|
1584
|
-
return In(e, /* @__PURE__ */ new WeakMap(), 0, { left:
|
|
1584
|
+
return In(e, /* @__PURE__ */ new WeakMap(), 0, { left: xn });
|
|
1585
1585
|
} catch (e) {
|
|
1586
1586
|
return kn;
|
|
1587
1587
|
}
|
|
@@ -1754,6 +1754,7 @@ function br(e, t, n, r) {
|
|
|
1754
1754
|
function mr(e, t, n) {
|
|
1755
1755
|
e && !sr(e) && mn("GObj bad instanceof");
|
|
1756
1756
|
const r = e ? Ze(e) + ": " : "";
|
|
1757
|
+
if (!er(n)) return mn(`${r}kw_delete(): path must be a string: ${String(n)}`), -1;
|
|
1757
1758
|
let [o, s] = function(e, t) {
|
|
1758
1759
|
let n = e.lastIndexOf(t);
|
|
1759
1760
|
return -1 === n ? [e, ""] : [e.substring(0, n), e.substring(n + 1)];
|
|
@@ -1859,6 +1860,7 @@ function jr(e, t, n, r, o) {
|
|
|
1859
1860
|
}
|
|
1860
1861
|
function Or(e, t, n, r) {
|
|
1861
1862
|
if (e && !sr(e) && mn("GObj bad instanceof"), !Xn(t)) return mn("kw is not an object"), -1;
|
|
1863
|
+
if (!er(n)) return mn(`${e ? Ze(e) + ": " : ""}kw_set_dict_value(): path must be a string: ${String(n)}`), -1;
|
|
1862
1864
|
let o = n.split("`"), s = o.length;
|
|
1863
1865
|
for (let l = 0; l < s; l++) {
|
|
1864
1866
|
let i = o[l];
|
|
@@ -1879,8 +1881,12 @@ function Or(e, t, n, r) {
|
|
|
1879
1881
|
}
|
|
1880
1882
|
function Sr(e, t, n, r, o) {
|
|
1881
1883
|
if (e && !sr(e) && mn("GObj bad instanceof"), !Xn(t)) return mn("kw is not an object"), -1;
|
|
1882
|
-
let s =
|
|
1883
|
-
|
|
1884
|
+
let s = br(e, t, n, !1);
|
|
1885
|
+
if (void 0 === s) {
|
|
1886
|
+
if (!er(n)) return -1;
|
|
1887
|
+
if (s = {}, Or(e, t, n, s) < 0) return -1;
|
|
1888
|
+
}
|
|
1889
|
+
return Xn(s) ? (pr(s, r, o), 0) : (mn(`subdict is not an object: '${n}'`), -1);
|
|
1884
1890
|
}
|
|
1885
1891
|
function wr(e, n, r) {
|
|
1886
1892
|
let o = "", s = !1;
|
|
@@ -1915,7 +1921,7 @@ function wr(e, n, r) {
|
|
|
1915
1921
|
function Nr(e, t) {
|
|
1916
1922
|
return 0 === Qn(t) || wr(e, t, "");
|
|
1917
1923
|
}
|
|
1918
|
-
function
|
|
1924
|
+
function xr(e, t, n, r) {
|
|
1919
1925
|
e && !sr(e) && mn("GObj bad instanceof");
|
|
1920
1926
|
let o = {};
|
|
1921
1927
|
if (er(n) && !lr(n)) {
|
|
@@ -1931,7 +1937,7 @@ function Rr(e, t, n, r) {
|
|
|
1931
1937
|
}
|
|
1932
1938
|
return o;
|
|
1933
1939
|
}
|
|
1934
|
-
function
|
|
1940
|
+
function Rr(e, t, n, r) {
|
|
1935
1941
|
let o = {};
|
|
1936
1942
|
if (!Xn(t)) return o;
|
|
1937
1943
|
if (Fn(o, t), er(n) && !lr(n)) {
|
|
@@ -2389,23 +2395,23 @@ var jo = [
|
|
|
2389
2395
|
], Oo = { gobj_timer: null }, So = null;
|
|
2390
2396
|
function wo(e, t, n, r) {
|
|
2391
2397
|
let o = ht(e, t);
|
|
2392
|
-
return Xn(o) || (o = {}), o[n] = r, Ot(e, t, o),
|
|
2398
|
+
return Xn(o) || (o = {}), o[n] = r, Ot(e, t, o), Re(e, t);
|
|
2393
2399
|
}
|
|
2394
2400
|
function No(e) {
|
|
2395
2401
|
if (!0 === e || !1 === e) return e;
|
|
2396
2402
|
let t = String(null == e ? "" : e).toLowerCase();
|
|
2397
2403
|
return "true" === t || "set" === t || "false" !== t && "reset" !== t && ("" === t || isNaN(Number(t)) ? null : !!Number(t));
|
|
2398
2404
|
}
|
|
2399
|
-
function
|
|
2405
|
+
function xo() {
|
|
2400
2406
|
return `${He()}^${qe()}`;
|
|
2401
2407
|
}
|
|
2402
|
-
function
|
|
2408
|
+
function Ro(e, t, n, r) {
|
|
2403
2409
|
return Qt(e, t, n), 0;
|
|
2404
2410
|
}
|
|
2405
2411
|
var $o = {
|
|
2406
2412
|
mt_create: function(e) {
|
|
2407
2413
|
let t = e.priv;
|
|
2408
|
-
|
|
2414
|
+
xt(e, "start_date", Zr()), xt(e, "node_uuid", to()), e.priv.gobj_timer = Ae(Qe(e), "C_TIMER", {}, e), t.periodic_timeout = ht(e, "periodic_timeout"), function(e) {
|
|
2409
2415
|
let t = ht(e, "trace_levels");
|
|
2410
2416
|
if (!Xn(t)) return 0;
|
|
2411
2417
|
let n = t.__global_trace__;
|
|
@@ -2460,19 +2466,19 @@ var $o = {
|
|
|
2460
2466
|
case "set-global-trace":
|
|
2461
2467
|
case "set-global-no-trace": {
|
|
2462
2468
|
let o = "set-global-no-trace" === t, s = n.level, l = No(n.set);
|
|
2463
|
-
return s ? null === l ? r(0, -1, `${
|
|
2469
|
+
return s ? null === l ? r(0, -1, `${xo()}: bitmask set or re-set?`, null, null) : (o ? Q(s, l) : z(s, l)) < 0 ? r(0, -1, `${xo()}: global trace level not found: ${s}`, null, null) : o ? (wo(e, "no_trace_levels", "__global_no_trace__", te()), r(0, 0, null, null, te())) : (wo(e, "trace_levels", "__global_trace__", ee()), r(0, 0, null, null, ee())) : r(0, -1, `${xo()}: what level?`, null, null);
|
|
2464
2470
|
}
|
|
2465
2471
|
case "get-gclass-trace":
|
|
2466
2472
|
case "get-gclass-no-trace":
|
|
2467
2473
|
case "set-gclass-trace":
|
|
2468
2474
|
case "set-gclass-no-trace": {
|
|
2469
2475
|
let o = t.indexOf("no-trace") >= 0, s = n.gclass_name || n.gclass || "", l = je(s);
|
|
2470
|
-
if (!l) return r(0, -1, `${
|
|
2476
|
+
if (!l) return r(0, -1, `${xo()}: what gclass is '${s}'?`, null, null);
|
|
2471
2477
|
if (0 === t.indexOf("get-")) return r(0, 0, null, null, o ? oe(l) : ne(l));
|
|
2472
2478
|
let i = n.level, _ = No(n.set);
|
|
2473
|
-
return i ? null === _ ? r(0, -1, `${
|
|
2479
|
+
return i ? null === _ ? r(0, -1, `${xo()}: bitmask set or re-set?`, null, null) : (o ? le(l, i, _) : se(l, i, _)) < 0 ? r(0, -1, `${xo()}: trace level of ${s} not found: ${i}`, null, null) : o ? (wo(e, "no_trace_levels", s, oe(l)), r(0, 0, null, null, oe(l))) : (wo(e, "trace_levels", s, re(l)), r(0, 0, null, null, ne(l))) : r(0, -1, `${xo()}: what level?`, null, null);
|
|
2474
2480
|
}
|
|
2475
|
-
default: return r(0, -1, `${
|
|
2481
|
+
default: return r(0, -1, `${xo()}: command not available: ${t}`, null, null);
|
|
2476
2482
|
}
|
|
2477
2483
|
}
|
|
2478
2484
|
};
|
|
@@ -2670,7 +2676,7 @@ function zo(e, t, n, r) {
|
|
|
2670
2676
|
let o = e.priv;
|
|
2671
2677
|
vo(o.gobj_timer);
|
|
2672
2678
|
let s = Vr(e, n, Do, !0), l = Er(e, s, "src_yuno", ""), i = Er(e, s, "src_role", ""), _ = Er(e, s, "src_service", "");
|
|
2673
|
-
|
|
2679
|
+
xt(e, "remote_yuno_name", l), xt(e, "remote_yuno_role", i), xt(e, "remote_yuno_service", _);
|
|
2674
2680
|
let a = yr(e, n, "result", -1, 0), u = Er(e, n, "comment", "", 0), c = Er(e, n, "username", "", 0), f = jr(e, n, "services_roles", {});
|
|
2675
2681
|
if (a < 0) {
|
|
2676
2682
|
Uo(e);
|
|
@@ -2685,7 +2691,7 @@ function zo(e, t, n, r) {
|
|
|
2685
2691
|
};
|
|
2686
2692
|
rt(e) ? Ut(tt(e), "EV_ON_ID_NAK", t, e) : Qt(e, "EV_ON_ID_NAK", t);
|
|
2687
2693
|
} else {
|
|
2688
|
-
if (
|
|
2694
|
+
if (Rt(e, "ST_SESSION"), o.inside_on_open = !0, o.retry_ms = 0, !o.inform_on_close) {
|
|
2689
2695
|
o.inform_on_close = !0;
|
|
2690
2696
|
let t = {
|
|
2691
2697
|
username: c,
|
|
@@ -2728,7 +2734,7 @@ function Qo(e, t, n, r) {
|
|
|
2728
2734
|
}
|
|
2729
2735
|
let l = s.event, i = s.kw;
|
|
2730
2736
|
if ("ST_SESSION" !== $t(e)) {
|
|
2731
|
-
if (kt(e, l,
|
|
2737
|
+
if (kt(e, l, x.EVF_PUBLIC_EVENT)) {
|
|
2732
2738
|
if (!(Ut(e, l, i, e) < 0)) return 0;
|
|
2733
2739
|
} else mn(`${Ze(e)}: event UNKNOWN in not-session state ${l}`);
|
|
2734
2740
|
return Uo(e), -1;
|
|
@@ -2739,10 +2745,10 @@ function Qo(e, t, n, r) {
|
|
|
2739
2745
|
let c = Er(e, a, "dst_service", "");
|
|
2740
2746
|
if ("__subscribing__" === _) return hn(`${Ze(e)}: subscription event ignored, I'm client (service: ${c}, event: ${l})`), -1;
|
|
2741
2747
|
if ("__unsubscribing__" === _) return hn(`${Ze(e)}: unsubscription event ignored, I'm client (service: ${c}, event: ${l})`), -1;
|
|
2742
|
-
if (kt(e, l,
|
|
2748
|
+
if (kt(e, l, x.EVF_PUBLIC_EVENT)) return Ut(e, l, i, e), 0;
|
|
2743
2749
|
if (!lr(c)) {
|
|
2744
2750
|
let t = Se(c, !1);
|
|
2745
|
-
return t ? kt(t, l,
|
|
2751
|
+
return t ? kt(t, l, x.EVF_PUBLIC_EVENT) ? (Ut(t, l, i, e), 0) : (mn(`${Ze(e)}: Service found but no event or not public, service '${Ze(t)}', ev '${l}'`), -1) : (hn(`${Ze(e)}: event for a service that is gone, DROPPED: service '${c}', ev '${l}'`), 0);
|
|
2746
2752
|
}
|
|
2747
2753
|
return rt(e) ? Ut(tt(e), l, i, e) : Qt(e, l, i), 0;
|
|
2748
2754
|
}
|
|
@@ -2755,7 +2761,7 @@ function Zo(e, t, n, r) {
|
|
|
2755
2761
|
var es = {
|
|
2756
2762
|
mt_create: function(e) {
|
|
2757
2763
|
let t = e.priv;
|
|
2758
|
-
t.gobj_timer = Ae(Qe(e), "C_TIMER", {}, e), t.ws_seq = 0, t.url = vt(e, "url"), t.remote_yuno_name = vt(e, "remote_yuno_name"), t.remote_yuno_role = vt(e, "remote_yuno_role"), t.remote_yuno_service = vt(e, "remote_yuno_service"),
|
|
2764
|
+
t.gobj_timer = Ae(Qe(e), "C_TIMER", {}, e), t.ws_seq = 0, t.url = vt(e, "url"), t.remote_yuno_name = vt(e, "remote_yuno_name"), t.remote_yuno_role = vt(e, "remote_yuno_role"), t.remote_yuno_service = vt(e, "remote_yuno_service"), xt(e, "wanted_yuno_name", t.remote_yuno_name), xt(e, "wanted_yuno_role", t.remote_yuno_role), xt(e, "wanted_yuno_service", t.remote_yuno_service);
|
|
2759
2765
|
const n = jt(e, "subscriber");
|
|
2760
2766
|
n && Jt(e, null, {}, n);
|
|
2761
2767
|
},
|
|
@@ -2877,18 +2883,18 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
2877
2883
|
}), n;
|
|
2878
2884
|
}, exports.current_timestamp = Zr, exports.data_type_t = h, exports.db_list_persistent_attrs = function(e, t) {
|
|
2879
2885
|
let n = $r(_o(e), null, !1), r = {};
|
|
2880
|
-
return n && Xn(n) && (r =
|
|
2886
|
+
return n && Xn(n) && (r = xr(e, n, t, !1)), r;
|
|
2881
2887
|
}, exports.db_load_persistent_attrs = function(e, t) {
|
|
2882
2888
|
let n = yt(e, y.SDF_PERSIST), r = $r(_o(e), null, !1);
|
|
2883
2889
|
if (r && Xn(r)) {
|
|
2884
|
-
let o =
|
|
2885
|
-
o =
|
|
2890
|
+
let o = xr(e, r, t, !1);
|
|
2891
|
+
o = xr(e, o, n, !1), St(e, o, y.SDF_PERSIST);
|
|
2886
2892
|
}
|
|
2887
2893
|
}, exports.db_remove_persistent_attrs = function(e, t) {
|
|
2888
|
-
let n =
|
|
2894
|
+
let n = Rr(e, $r(_o(e), null, !1), t, !1);
|
|
2889
2895
|
0 === Hn(n) ? kr(_o(e)) : Dr(_o(e), n);
|
|
2890
2896
|
}, exports.db_save_persistent_attrs = function(e, t) {
|
|
2891
|
-
let n =
|
|
2897
|
+
let n = xr(e, yt(e, y.SDF_PERSIST), t, !1), r = $r(_o(e), null, !1);
|
|
2892
2898
|
return r && Xn(r) && Gn(n, r), Dr(_o(e), n);
|
|
2893
2899
|
}, exports.debounce = function(e, t = 0, n = !1) {
|
|
2894
2900
|
let r = null, o = null, s = null;
|
|
@@ -2913,7 +2919,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
2913
2919
|
return t;
|
|
2914
2920
|
}, exports.empty_json = function(e) {
|
|
2915
2921
|
return 0 === Qn(e);
|
|
2916
|
-
}, exports.empty_string = lr, exports.escapeHtml = Br, exports.event_flag_t =
|
|
2922
|
+
}, exports.empty_string = lr, exports.escapeHtml = Br, exports.event_flag_t = x, exports.flat2json = function(e) {
|
|
2917
2923
|
if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error("flat2json: a flat json is an object of id -> value");
|
|
2918
2924
|
let t = null;
|
|
2919
2925
|
for (const n of Object.keys(e)) {
|
|
@@ -2996,8 +3002,8 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
2996
3002
|
}, exports.get_function_name = no, exports.get_now = function() {
|
|
2997
3003
|
return Math.floor(Date.now() / 1e3);
|
|
2998
3004
|
}, exports.gobj_bottom_gobj = st, exports.gobj_change_parent = function(e, n) {
|
|
2999
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), null) : n instanceof O ? (e.parent && e.parent.gclass.gmt.mt_child_removed && e.parent.gclass.gmt.mt_child_removed(e.parent, e), e.parent && (
|
|
3000
|
-
}, exports.gobj_change_state =
|
|
3005
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), null) : n instanceof O ? (e.parent && e.parent.gclass.gmt.mt_child_removed && e.parent.gclass.gmt.mt_child_removed(e.parent, e), e.parent && (xe(e.parent, e), e.parent = null), Ne(n, e), n.gclass.gmt.mt_child_added && (K(e) && yn(t("👦👦🔵 child_added(%s): %s", et(n), Ze(e))), n.gclass.gmt.mt_child_added(n, e)), 0) : (mn(`${Ze(e)}: gobj_change_parent() BAD TYPE of parent`), -1);
|
|
3006
|
+
}, exports.gobj_change_state = Rt, exports.gobj_command = function(e, n, o, s) {
|
|
3001
3007
|
if (ot(e)) return mn("gobj NULL or DESTROYED"), -1;
|
|
3002
3008
|
if (function(e) {
|
|
3003
3009
|
return F > 1 || !!e && !!(M(e) & C.TRACE_COMMANDS);
|
|
@@ -3086,7 +3092,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3086
3092
|
}
|
|
3087
3093
|
return 0;
|
|
3088
3094
|
}(e, y.SDF_VOLATIL, 0);
|
|
3089
|
-
}, exports.gobj_save_persistent_attrs =
|
|
3095
|
+
}, exports.gobj_save_persistent_attrs = Re, exports.gobj_search_path = bt, exports.gobj_send_event = Ut, exports.gobj_services = function() {
|
|
3090
3096
|
let e = [];
|
|
3091
3097
|
for (const t of Object.keys(p)) Jn(e, t);
|
|
3092
3098
|
return e;
|
|
@@ -3103,12 +3109,12 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3103
3109
|
}, exports.gobj_set_trace_machine_format = function(e) {
|
|
3104
3110
|
A = 1 === Number(e) ? 1 : 0;
|
|
3105
3111
|
}, exports.gobj_short_name = Ze, exports.gobj_start = Ce, exports.gobj_start_children = function(e) {
|
|
3106
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e,
|
|
3112
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e, R.WALK_FIRST2LAST, Le, 0, 0);
|
|
3107
3113
|
}, exports.gobj_start_tree = function(e) {
|
|
3108
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏺ ⏺ ⏺ ⏺ start_tree: %s", et(e))), e.gclass.gclass_flag & S.gcflag_manual_start || e.disabled ? 0 : (e.running || Ce(e), at(e,
|
|
3114
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏺ ⏺ ⏺ ⏺ start_tree: %s", et(e))), e.gclass.gclass_flag & S.gcflag_manual_start || e.disabled ? 0 : (e.running || Ce(e), at(e, R.WALK_TOP2BOTTOM, Pe, 0, 0)));
|
|
3109
3115
|
}, exports.gobj_start_up = function(e, t, n, r, o, s, g) {
|
|
3110
3116
|
l = t, i = n, _ = r, a = o, u = s, c = g;
|
|
3111
|
-
const p = [["EV_STATE_CHANGED",
|
|
3117
|
+
const p = [["EV_STATE_CHANGED", x.EVF_SYSTEM_EVENT | x.EVF_OUTPUT_EVENT | x.EVF_NO_WARN_SUBS], [0, 0]];
|
|
3112
3118
|
for (let e = 0; e < p.length; e++) {
|
|
3113
3119
|
let t = p[e][0], n = p[e][1];
|
|
3114
3120
|
ye(f, t, n);
|
|
@@ -3117,7 +3123,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3117
3123
|
}, exports.gobj_stats = function(e, n, r, s) {
|
|
3118
3124
|
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : e.gclass.gmt.mt_stats ? e.gclass.gmt.mt_stats(e, n, r, s) : c ? c(e, n, r, s) : o(0, -1, t("%s, stats parser not available", Ze(e)), 0, 0);
|
|
3119
3125
|
}, exports.gobj_stop = Ue, exports.gobj_stop_children = Ve, exports.gobj_stop_tree = function(e) {
|
|
3120
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏹ ⏹ ⏹ ⏹ stop_tree: %s", et(e))), We(e) && Ue(e), at(e,
|
|
3126
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏹ ⏹ ⏹ ⏹ stop_tree: %s", et(e))), We(e) && Ue(e), at(e, R.WALK_TOP2BOTTOM, Fe, 0, 0));
|
|
3121
3127
|
}, exports.gobj_subscribe_event = Jt, exports.gobj_trace_level = M, exports.gobj_trace_machine_format = function() {
|
|
3122
3128
|
return A;
|
|
3123
3129
|
}, exports.gobj_trace_no_level = W, exports.gobj_unsubscribe_event = function(e, t, n, r) {
|
|
@@ -3133,14 +3139,14 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3133
3139
|
if (Object.keys(n).forEach((n) => {
|
|
3134
3140
|
o.has(n) || mn(`${Ze(e)}: key ignored in subscription (key: ${n}, event: ${t})`);
|
|
3135
3141
|
}), lr(t)) t = "";
|
|
3136
|
-
else if (!(At(e, t,
|
|
3142
|
+
else if (!(At(e, t, x.EVF_OUTPUT_EVENT) || e.gclass.gclass_flag & S.gcflag_no_check_output_events)) return mn(`event NOT in output event list: ${Ze(e)}, ev ${t}`), 0;
|
|
3137
3143
|
let s = Mt(n, t), l = Kt(e.dl_subscriptions, e, t, s.renamed_event, s.kw, r), i = 0, _ = 0, a = 0;
|
|
3138
3144
|
for (let t = 0; t < l.length; t++) {
|
|
3139
3145
|
let n = l[t], r = Bt(e, n, !1, !1);
|
|
3140
3146
|
0 === r ? i++ : r < 0 ? _++ : a++;
|
|
3141
3147
|
}
|
|
3142
3148
|
return _ ? hn(`${Ze(e)}: Hard subscription not removed, only gobj_unsubscribe_list() with force removes it (event: ${t}, hard: ${_})`) : i || a || (hn(`${Ze(e)}: No subscription found`), Ln(n, "No subscription found")), 0;
|
|
3143
|
-
}, exports.gobj_unsubscribe_list = qt, exports.gobj_walk_gobj_children = _t, exports.gobj_walk_gobj_children_tree = at, exports.gobj_write_attr = Ot, exports.gobj_write_attrs = St, exports.gobj_write_bool_attr = wt, exports.gobj_write_integer_attr = Nt, exports.gobj_write_str_attr =
|
|
3149
|
+
}, exports.gobj_unsubscribe_list = qt, exports.gobj_walk_gobj_children = _t, exports.gobj_walk_gobj_children_tree = at, exports.gobj_write_attr = Ot, exports.gobj_write_attrs = St, exports.gobj_write_bool_attr = wt, exports.gobj_write_integer_attr = Nt, exports.gobj_write_str_attr = xt, exports.gobj_yuno = Je, exports.gobj_yuno_id = ze, exports.gobj_yuno_name = qe, exports.gobj_yuno_role = He, exports.html_markup = function(e) {
|
|
3144
3150
|
return "string" != typeof e ? (mn("html_markup: not a string, type " + typeof e), new Jr("")) : new Jr(e);
|
|
3145
3151
|
}, exports.id_index_in_obj_list = Cr, exports.index_in_list = eo, exports.is_array = Zn, exports.is_boolean = nr, exports.is_date = function(e) {
|
|
3146
3152
|
return e instanceof Date && !isNaN(e);
|
|
@@ -3163,6 +3169,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3163
3169
|
let o = jr(null, jr(null, e, "topics", null, 0), t, null, 0);
|
|
3164
3170
|
if (!o) return mn("jdb_delete: topic not found: " + t), null;
|
|
3165
3171
|
if (lr(r.id)) return mn("jdb_delete: record without id: " + r), En(r), null;
|
|
3172
|
+
if (!er(n)) return mn(`jdb_delete: path must be a string: ${String(n)}`), null;
|
|
3166
3173
|
let s, l = n.split("`"), i = o;
|
|
3167
3174
|
for (; (s = l.shift()) && !lr(s) && i;) Xn(i) && (i = jr(null, i, e.hook, null, 0)), i = Kr(i, null, s, !1);
|
|
3168
3175
|
if (0 === l.length && i) if (Zn(i)) {
|
|
@@ -3195,6 +3202,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3195
3202
|
let o = jr(null, jr(null, e, "topics", null, 0), t, null, 0);
|
|
3196
3203
|
if (!o) return mn("jdb_update: topic not found: " + t), null;
|
|
3197
3204
|
if (lr(r.id)) return mn("jdb_update: record without id: " + r), En(r), null;
|
|
3205
|
+
if (!er(n)) return mn(`jdb_update: path must be a string: ${String(n)}`), null;
|
|
3198
3206
|
let s, l = n.split("`"), i = o;
|
|
3199
3207
|
for (; (s = l.shift()) && !lr(s) && i;) Xn(i) && (i = jr(null, i, e.hook, [], 1)), i = Kr(i, null, s, !1);
|
|
3200
3208
|
if (0 === l.length && i) if (Zn(i)) i.push(r);
|
|
@@ -3238,7 +3246,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3238
3246
|
} catch (e) {
|
|
3239
3247
|
return null;
|
|
3240
3248
|
}
|
|
3241
|
-
}, exports.jwtDecode = Yr, exports.kw_clone_by_keys =
|
|
3249
|
+
}, exports.jwtDecode = Yr, exports.kw_clone_by_keys = xr, exports.kw_clone_by_not_keys = Rr, exports.kw_collect = function(e, t, n, r) {
|
|
3242
3250
|
if (e && !sr(e) && mn("GObj bad instanceof"), !t) return null;
|
|
3243
3251
|
r || (r = Nr);
|
|
3244
3252
|
let o = [];
|
|
@@ -3492,14 +3500,14 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3492
3500
|
[null, null]
|
|
3493
3501
|
];
|
|
3494
3502
|
return (Lo = ge(e, [
|
|
3495
|
-
["EV_ON_MESSAGE",
|
|
3496
|
-
["EV_IDENTITY_CARD_ACK",
|
|
3497
|
-
["EV_ON_ID_NAK",
|
|
3498
|
-
["EV_MT_STATS",
|
|
3499
|
-
["EV_MT_COMMAND",
|
|
3500
|
-
["EV_ON_OPEN",
|
|
3501
|
-
["EV_ON_CLOSE",
|
|
3502
|
-
["EV_ON_OPEN_ERROR",
|
|
3503
|
+
["EV_ON_MESSAGE", x.EVF_OUTPUT_EVENT],
|
|
3504
|
+
["EV_IDENTITY_CARD_ACK", x.EVF_PUBLIC_EVENT],
|
|
3505
|
+
["EV_ON_ID_NAK", x.EVF_PUBLIC_EVENT | x.EVF_OUTPUT_EVENT],
|
|
3506
|
+
["EV_MT_STATS", x.EVF_PUBLIC_EVENT],
|
|
3507
|
+
["EV_MT_COMMAND", x.EVF_PUBLIC_EVENT],
|
|
3508
|
+
["EV_ON_OPEN", x.EVF_OUTPUT_EVENT | x.EVF_NO_WARN_SUBS],
|
|
3509
|
+
["EV_ON_CLOSE", x.EVF_OUTPUT_EVENT | x.EVF_NO_WARN_SUBS],
|
|
3510
|
+
["EV_ON_OPEN_ERROR", x.EVF_OUTPUT_EVENT | x.EVF_NO_WARN_SUBS],
|
|
3503
3511
|
["EV_TIMEOUT", 0],
|
|
3504
3512
|
[null, 0]
|
|
3505
3513
|
], t, es, 0, ko, Co, 0, 0, Ao, S.gcflag_no_check_output_events)) ? 0 : -1;
|
|
@@ -3513,8 +3521,8 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3513
3521
|
null
|
|
3514
3522
|
]]]];
|
|
3515
3523
|
return (mo = ge(e, [
|
|
3516
|
-
["EV_TIMEOUT",
|
|
3517
|
-
["EV_TIMEOUT_PERIODIC",
|
|
3524
|
+
["EV_TIMEOUT", x.EVF_OUTPUT_EVENT],
|
|
3525
|
+
["EV_TIMEOUT_PERIODIC", x.EVF_OUTPUT_EVENT],
|
|
3518
3526
|
[0, 0]
|
|
3519
3527
|
], t, yo, 0, po, bo, 0, 0, 0, S.gcflag_manual_start)) ? 0 : -1;
|
|
3520
3528
|
}("C_TIMER");
|
|
@@ -3523,10 +3531,10 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3523
3531
|
if (So) return mn(`GClass ALREADY created: ${e}`), -1;
|
|
3524
3532
|
const t = [["ST_IDLE", [[
|
|
3525
3533
|
"EV_TIMEOUT_PERIODIC",
|
|
3526
|
-
|
|
3534
|
+
Ro,
|
|
3527
3535
|
null
|
|
3528
3536
|
]]]];
|
|
3529
|
-
return (So = ge(e, [["EV_TIMEOUT_PERIODIC",
|
|
3537
|
+
return (So = ge(e, [["EV_TIMEOUT_PERIODIC", x.EVF_OUTPUT_EVENT | x.EVF_NO_WARN_SUBS], [0, 0]], t, $o, 0, jo, Oo, 0, 0, 0, 0)) ? 0 : -1;
|
|
3530
3538
|
}("C_YUNO");
|
|
3531
3539
|
}, exports.safeSrc = function(e) {
|
|
3532
3540
|
if (!e) return "";
|
|
@@ -3650,6 +3658,6 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3650
3658
|
return Qn(e);
|
|
3651
3659
|
}, exports.vsprintf = function(e, n) {
|
|
3652
3660
|
return t.apply(null, [e].concat(n || []));
|
|
3653
|
-
}, exports.walk_type_t =
|
|
3661
|
+
}, exports.walk_type_t = R;
|
|
3654
3662
|
|
|
3655
3663
|
//# sourceMappingURL=gobj-js.cjs.min.js.map
|