@yuneta/gobj-js 7.10.0 → 7.13.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.
@@ -657,7 +657,7 @@ function Ie(e, t) {
657
657
  try {
658
658
  n = m[e];
659
659
  } catch (e) {}
660
- return n || t && Vn(`gclass not found: ${e}`), n;
660
+ return n || (t && Vn(`gclass not found: ${e}`), null);
661
661
  }
662
662
  function $e() {
663
663
  let e = [];
@@ -669,8 +669,7 @@ function ke() {
669
669
  }
670
670
  function Ce(e, t) {
671
671
  e = e.toLowerCase();
672
- let n = p[e];
673
- return !n && t ? (Vn(`gobj service not found: ${e}`), null) : n;
672
+ return p[e] || (t && Vn(`gobj service not found: ${e}`), null);
674
673
  }
675
674
  function Le(e) {
676
675
  let t = pt(e);
@@ -1245,7 +1244,7 @@ function mn(e, n, r, l) {
1245
1244
  function pn(e, n, r, l) {
1246
1245
  if (null == r && (r = {}), !e) return Vn(`publisher NULL: ev ${n}`), 0;
1247
1246
  if (!l) return Vn(`subscriber NULL: ev ${n}`), 0;
1248
- const i = new Set([
1247
+ const i = /* @__PURE__ */ new Set([
1249
1248
  "__config__",
1250
1249
  "__global__",
1251
1250
  "__local__",
@@ -1284,7 +1283,7 @@ function pn(e, n, r, l) {
1284
1283
  function En(e, t, n, r) {
1285
1284
  if (null == n && (n = {}), !e) return Vn(`publisher NULL: ev ${t}`), 0;
1286
1285
  if (!r) return Vn(`subscriber NULL: ev ${t}`), 0;
1287
- const l = new Set([
1286
+ const l = /* @__PURE__ */ new Set([
1288
1287
  "__config__",
1289
1288
  "__global__",
1290
1289
  "__local__",
@@ -1387,7 +1386,8 @@ var Rn = Object.freeze({
1387
1386
  KW_VERBOSE: 32,
1388
1387
  KW_LOWER: 64,
1389
1388
  KW_RECURSIVE: 128
1390
- }), Dn = (Object.freeze({
1389
+ });
1390
+ Object.freeze({
1391
1391
  JSON_OBJECT: 1,
1392
1392
  JSON_ARRAY: 2,
1393
1393
  JSON_STRING: 3,
@@ -1396,7 +1396,8 @@ var Rn = Object.freeze({
1396
1396
  JSON_TRUE: 6,
1397
1397
  JSON_FALSE: 7,
1398
1398
  JSON_NULL: 8
1399
- }), "undefined" != typeof window ? window.console : console), wn = Dn.error, jn = Dn.warn, An = Dn.info, In = Dn.debug, $n = null;
1399
+ });
1400
+ var Dn = "undefined" != typeof window ? window.console : console, wn = Dn.error, jn = Dn.warn, An = Dn.info, In = Dn.debug, $n = null;
1400
1401
  function kn(e) {
1401
1402
  $n = "function" == typeof e ? e : null;
1402
1403
  }
@@ -2440,6 +2441,7 @@ var Xl = [
2440
2441
  "template",
2441
2442
  "uuid",
2442
2443
  "rowid",
2444
+ "qualified",
2443
2445
  "password",
2444
2446
  "email",
2445
2447
  "url",
@@ -2540,7 +2542,9 @@ function ri(e, t) {
2540
2542
  let n = {};
2541
2543
  return t || (t = {}), Object.entries(e).forEach(([e, r]) => {
2542
2544
  let l;
2543
- ur(r) && (l = r.default), n[e] = Fr(null, t, e, l);
2545
+ ur(r) && (l = r.default);
2546
+ let i = Fr(null, t, e, l);
2547
+ n[e] = i;
2544
2548
  }), n;
2545
2549
  }
2546
2550
  var li = [
@@ -2803,7 +2807,8 @@ function ji(e) {
2803
2807
  function Ai(e, t) {
2804
2808
  if (Tr(t.event)) return -1;
2805
2809
  let n = {}, r = t.__global__, l = t.__config__, i = t.__filter__, o = t.__service__, s = t.subscriber;
2806
- return l && (n.__config__ = l), r && (n.__global__ = r), i && (n.__filter__ = i), _l(e, n, Ti, wi(e, pt(s), o)), fl(e, n, "__subscribing__"), Di(e, t.event, n);
2810
+ l && (n.__config__ = l), r && (n.__global__ = r), i && (n.__filter__ = i);
2811
+ return _l(e, n, Ti, wi(e, pt(s), o)), fl(e, n, "__subscribing__"), Di(e, t.event, n);
2807
2812
  }
2808
2813
  function Ii(e, t, n, r) {
2809
2814
  let l = e.priv;
@@ -2992,7 +2997,8 @@ var Gi = {
2992
2997
  if (n.inside_on_open) return 0;
2993
2998
  if (Tr(t.event)) return 0;
2994
2999
  let r = {}, l = t.__global__, i = t.__config__, o = t.__filter__, s = t.__service__, a = t.subscriber;
2995
- return i && (r.__config__ = i), l && (r.__global__ = l), o && (r.__filter__ = o), _l(e, r, Ti, wi(e, pt(a), s)), fl(e, r, "__unsubscribing__"), Di(e, t.event, r, e);
3000
+ i && (r.__config__ = i), l && (r.__global__ = l), o && (r.__filter__ = o);
3001
+ return _l(e, r, Ti, wi(e, pt(a), s)), fl(e, r, "__unsubscribing__"), Di(e, t.event, r, e);
2996
3002
  }
2997
3003
  };
2998
3004
  function Vi() {