@skyservice-developers/vue-dev-kit 1.4.2 → 1.4.3

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.
@@ -1,12 +1,12 @@
1
- import { ref as I, onUnmounted as ie, computed as L, onMounted as ae, openBlock as S, createElementBlock as O, createElementVNode as f, createCommentVNode as N, normalizeClass as q, renderSlot as V, toDisplayString as M, Fragment as at, renderList as nt, useSlots as Xe, watch as Ee, nextTick as Ge, createBlock as ne, Teleport as Te, createVNode as Oe, Transition as Ae, withCtx as K, normalizeStyle as Pe, createTextVNode as We, resolveDynamicComponent as st, createSlots as lt, withModifiers as rt } from "vue";
1
+ import { ref as I, onUnmounted as ie, computed as L, onMounted as ae, openBlock as S, createElementBlock as O, createElementVNode as f, createCommentVNode as N, normalizeClass as H, renderSlot as V, toDisplayString as M, Fragment as at, renderList as nt, useSlots as Xe, watch as Te, nextTick as Ge, createBlock as ne, Teleport as Oe, createVNode as Ae, Transition as Pe, withCtx as K, normalizeStyle as Ce, createTextVNode as We, resolveDynamicComponent as st, createSlots as lt, withModifiers as rt } from "vue";
2
2
  var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function ut(n) {
4
4
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
5
  }
6
- var _e = { exports: {} };
6
+ var Ee = { exports: {} };
7
7
  (function(n, A) {
8
8
  (function(u, l) {
9
- var _ = "1.0.41", v = "", C = "?", w = "function", y = "undefined", E = "object", P = "string", B = "major", t = "model", a = "name", e = "type", o = "vendor", i = "version", k = "architecture", H = "console", r = "mobile", c = "tablet", s = "smarttv", m = "wearable", T = "embedded", z = 500, j = "Amazon", D = "Apple", Y = "ASUS", Ne = "BlackBerry", le = "Browser", re = "Chrome", Qe = "Edge", de = "Firefox", ue = "Google", Be = "Honor", Me = "Huawei", et = "Lenovo", ce = "LG", fe = "Microsoft", pe = "Motorola", ve = "Nvidia", Ie = "OnePlus", Z = "Opera", ge = "OPPO", J = "Samsung", Ve = "Sharp", Q = "Sony", he = "Xiaomi", ye = "Zebra", ze = "Facebook", Re = "Chromium OS", Le = "Mac OS", De = " Browser", tt = function(p, g) {
9
+ var _ = "1.0.41", v = "", C = "?", w = "function", y = "undefined", E = "object", P = "string", B = "major", t = "model", a = "name", e = "type", o = "vendor", i = "version", k = "architecture", j = "console", r = "mobile", c = "tablet", s = "smarttv", m = "wearable", T = "embedded", z = 500, F = "Amazon", D = "Apple", Y = "ASUS", Ne = "BlackBerry", le = "Browser", re = "Chrome", Qe = "Edge", de = "Firefox", ue = "Google", Be = "Honor", Me = "Huawei", et = "Lenovo", ce = "LG", pe = "Microsoft", ve = "Motorola", ge = "Nvidia", Ie = "OnePlus", Z = "Opera", he = "OPPO", J = "Samsung", Ve = "Sharp", Q = "Sony", ye = "Xiaomi", ke = "Zebra", ze = "Facebook", Re = "Chromium OS", Le = "Mac OS", De = " Browser", tt = function(p, g) {
10
10
  var b = {};
11
11
  for (var x in p)
12
12
  g[x] && g[x].length % 2 === 0 ? b[x] = g[x].concat(p[x]) : b[x] = p[x];
@@ -21,16 +21,16 @@ var _e = { exports: {} };
21
21
  return p.toLowerCase();
22
22
  }, ot = function(p) {
23
23
  return typeof p === P ? p.replace(/[^\d\.]/g, v).split(".")[0] : l;
24
- }, ke = function(p, g) {
24
+ }, xe = function(p, g) {
25
25
  if (typeof p === P)
26
26
  return p = p.replace(/^\s\s*/, v), typeof g === y ? p : p.substring(0, z);
27
27
  }, te = function(p, g) {
28
- for (var b = 0, x, F, $, h, d, U; b < g.length && !d; ) {
29
- var xe = g[b], He = g[b + 1];
30
- for (x = F = 0; x < xe.length && !d && xe[x]; )
31
- if (d = xe[x++].exec(p), d)
28
+ for (var b = 0, x, X, $, h, d, U; b < g.length && !d; ) {
29
+ var Se = g[b], He = g[b + 1];
30
+ for (x = X = 0; x < Se.length && !d && Se[x]; )
31
+ if (d = Se[x++].exec(p), d)
32
32
  for ($ = 0; $ < He.length; $++)
33
- U = d[++F], h = He[$], typeof h === E && h.length > 0 ? h.length === 2 ? typeof h[1] == w ? this[h[0]] = h[1].call(this, U) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === w && !(h[1].exec && h[1].test) ? this[h[0]] = U ? h[1].call(this, U, h[2]) : l : this[h[0]] = U ? U.replace(h[1], h[2]) : l : h.length === 4 && (this[h[0]] = U ? h[3].call(this, U.replace(h[1], h[2])) : l) : this[h] = U || l;
33
+ U = d[++X], h = He[$], typeof h === E && h.length > 0 ? h.length === 2 ? typeof h[1] == w ? this[h[0]] = h[1].call(this, U) : this[h[0]] = h[1] : h.length === 3 ? typeof h[1] === w && !(h[1].exec && h[1].test) ? this[h[0]] = U ? h[1].call(this, U, h[2]) : l : this[h[0]] = U ? U.replace(h[1], h[2]) : l : h.length === 4 && (this[h[0]] = U ? h[3].call(this, U.replace(h[1], h[2])) : l) : this[h] = U || l;
34
34
  b += 2;
35
35
  }
36
36
  }, oe = function(p, g) {
@@ -490,7 +490,7 @@ var _e = { exports: {} };
490
490
  /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
491
491
  // Mi Pad tablets
492
492
  ],
493
- [[t, /_/g, " "], [o, he], [e, c]],
493
+ [[t, /_/g, " "], [o, ye], [e, c]],
494
494
  [
495
495
  /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
496
496
  // Xiaomi POCO
@@ -506,17 +506,17 @@ var _e = { exports: {} };
506
506
  // Xiaomi Mi
507
507
  / ([\w ]+) miui\/v?\d/i
508
508
  ],
509
- [[t, /_/g, " "], [o, he], [e, r]],
509
+ [[t, /_/g, " "], [o, ye], [e, r]],
510
510
  [
511
511
  // OPPO
512
512
  /; (\w+) bui.+ oppo/i,
513
513
  /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
514
514
  ],
515
- [t, [o, ge], [e, r]],
515
+ [t, [o, he], [e, r]],
516
516
  [
517
517
  /\b(opd2(\d{3}a?))(?: bui|\))/i
518
518
  ],
519
- [t, [o, oe, { OnePlus: ["304", "403", "203"], "*": ge }], [e, c]],
519
+ [t, [o, oe, { OnePlus: ["304", "403", "203"], "*": he }], [e, c]],
520
520
  [
521
521
  // Vivo
522
522
  /vivo (\w+)(?: bui|\))/i,
@@ -534,11 +534,11 @@ var _e = { exports: {} };
534
534
  /\bmot(?:orola)?[- ](\w*)/i,
535
535
  /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
536
536
  ],
537
- [t, [o, pe], [e, r]],
537
+ [t, [o, ve], [e, r]],
538
538
  [
539
539
  /\b(mz60\d|xoom[2 ]{0,2}) build\//i
540
540
  ],
541
- [t, [o, pe], [e, c]],
541
+ [t, [o, ve], [e, c]],
542
542
  [
543
543
  // LG
544
544
  /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
@@ -601,12 +601,12 @@ var _e = { exports: {} };
601
601
  /(kf[a-z]+)( bui|\)).+silk\//i
602
602
  // Kindle Fire HD
603
603
  ],
604
- [t, [o, j], [e, c]],
604
+ [t, [o, F], [e, c]],
605
605
  [
606
606
  /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
607
607
  // Fire Phone
608
608
  ],
609
- [[t, /(.+)/g, "Fire Phone $1"], [o, j], [e, r]],
609
+ [[t, /(.+)/g, "Fire Phone $1"], [o, F], [e, r]],
610
610
  [
611
611
  // BlackBerry
612
612
  /(playbook);[-\w\),; ]+(rim)/i
@@ -750,7 +750,7 @@ var _e = { exports: {} };
750
750
  /(surface duo)/i
751
751
  // Surface Duo
752
752
  ],
753
- [t, [o, fe], [e, c]],
753
+ [t, [o, pe], [e, c]],
754
754
  [
755
755
  /droid [\d\.]+; (fp\du?)(?: b|\))/i
756
756
  // Fairphone
@@ -865,7 +865,7 @@ var _e = { exports: {} };
865
865
  /((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
866
866
  // Nvidia Tablets
867
867
  ],
868
- [t, [o, ve], [e, c]],
868
+ [t, [o, ge], [e, c]],
869
869
  [
870
870
  /(sprint) (\w+)/i
871
871
  // Sprint Phones
@@ -875,16 +875,16 @@ var _e = { exports: {} };
875
875
  /(kin\.[onetw]{3})/i
876
876
  // Microsoft Kin
877
877
  ],
878
- [[t, /\./g, " "], [o, fe], [e, r]],
878
+ [[t, /\./g, " "], [o, pe], [e, r]],
879
879
  [
880
880
  /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
881
881
  // Zebra
882
882
  ],
883
- [t, [o, ye], [e, c]],
883
+ [t, [o, ke], [e, c]],
884
884
  [
885
885
  /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
886
886
  ],
887
- [t, [o, ye], [e, r]],
887
+ [t, [o, ke], [e, r]],
888
888
  [
889
889
  ///////////////////
890
890
  // SMARTTVS
@@ -916,12 +916,12 @@ var _e = { exports: {} };
916
916
  /droid.+aft(\w+)( bui|\))/i
917
917
  // Fire TV
918
918
  ],
919
- [t, [o, j], [e, s]],
919
+ [t, [o, F], [e, s]],
920
920
  [
921
921
  /(shield \w+ tv)/i
922
922
  // Nvidia Shield TV
923
923
  ],
924
- [t, [o, ve], [e, s]],
924
+ [t, [o, ge], [e, s]],
925
925
  [
926
926
  /\(dtv[\);].+(aquos)/i,
927
927
  /(aquos-tv[\w ]+)\)/i
@@ -937,7 +937,7 @@ var _e = { exports: {} };
937
937
  /(mi(tv|box)-?\w+) bui/i
938
938
  // Xiaomi
939
939
  ],
940
- [t, [o, he], [e, s]],
940
+ [t, [o, ye], [e, s]],
941
941
  [
942
942
  /Hbbtv.*(technisat) (.*);/i
943
943
  // TechniSAT
@@ -949,7 +949,7 @@ var _e = { exports: {} };
949
949
  /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
950
950
  // HbbTV devices
951
951
  ],
952
- [[o, ke], [t, ke], [e, s]],
952
+ [[o, xe], [t, xe], [e, s]],
953
953
  [
954
954
  // SmartTV from Unidentified Vendors
955
955
  /droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i
@@ -968,22 +968,22 @@ var _e = { exports: {} };
968
968
  /(nintendo) ([wids3utch]+)/i
969
969
  // Nintendo
970
970
  ],
971
- [o, t, [e, H]],
971
+ [o, t, [e, j]],
972
972
  [
973
973
  /droid.+; (shield)( bui|\))/i
974
974
  // Nvidia Portable
975
975
  ],
976
- [t, [o, ve], [e, H]],
976
+ [t, [o, ge], [e, j]],
977
977
  [
978
978
  /(playstation \w+)/i
979
979
  // Playstation
980
980
  ],
981
- [t, [o, Q], [e, H]],
981
+ [t, [o, Q], [e, j]],
982
982
  [
983
983
  /\b(xbox(?: one)?(?!; xbox))[\); ]/i
984
984
  // Microsoft Xbox
985
985
  ],
986
- [t, [o, fe], [e, H]],
986
+ [t, [o, pe], [e, j]],
987
987
  [
988
988
  ///////////////////
989
989
  // WEARABLES
@@ -1003,7 +1003,7 @@ var _e = { exports: {} };
1003
1003
  /(ow(?:19|20)?we?[1-3]{1,3})/i
1004
1004
  // Oppo Watch
1005
1005
  ],
1006
- [t, [o, ge], [e, m]],
1006
+ [t, [o, he], [e, m]],
1007
1007
  [
1008
1008
  /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
1009
1009
  // Apple Watch
@@ -1018,7 +1018,7 @@ var _e = { exports: {} };
1018
1018
  /(moto 360)/i
1019
1019
  // Motorola 360
1020
1020
  ],
1021
- [t, [o, pe], [e, m]],
1021
+ [t, [o, ve], [e, m]],
1022
1022
  [
1023
1023
  /(smartwatch 3)/i
1024
1024
  // Sony SmartWatch
@@ -1032,7 +1032,7 @@ var _e = { exports: {} };
1032
1032
  [
1033
1033
  /droid.+; (wt63?0{2,3})\)/i
1034
1034
  ],
1035
- [t, [o, ye], [e, m]],
1035
+ [t, [o, ke], [e, m]],
1036
1036
  [
1037
1037
  ///////////////////
1038
1038
  // XR
@@ -1063,7 +1063,7 @@ var _e = { exports: {} };
1063
1063
  /(aeobc)\b/i
1064
1064
  // Echo Dot
1065
1065
  ],
1066
- [t, [o, j], [e, T]],
1066
+ [t, [o, F], [e, T]],
1067
1067
  [
1068
1068
  /(homepod).+mac os/i
1069
1069
  // Apple HomePod
@@ -1281,7 +1281,7 @@ var _e = { exports: {} };
1281
1281
  }, R = function(p, g) {
1282
1282
  if (typeof p === E && (g = p, p = l), !(this instanceof R))
1283
1283
  return new R(p, g).getResult();
1284
- var b = typeof u !== y && u.navigator ? u.navigator : l, x = p || (b && b.userAgent ? b.userAgent : v), F = b && b.userAgentData ? b.userAgentData : l, $ = g ? tt(qe, g) : qe, h = b && b.userAgent == x;
1284
+ var b = typeof u !== y && u.navigator ? u.navigator : l, x = p || (b && b.userAgent ? b.userAgent : v), X = b && b.userAgentData ? b.userAgentData : l, $ = g ? tt(qe, g) : qe, h = b && b.userAgent == x;
1285
1285
  return this.getBrowser = function() {
1286
1286
  var d = {};
1287
1287
  return d[a] = l, d[i] = l, te.call(d, x, $.browser), d[B] = ot(d[i]), h && b && b.brave && typeof b.brave.isBrave == w && (d[a] = "Brave"), d;
@@ -1290,13 +1290,13 @@ var _e = { exports: {} };
1290
1290
  return d[k] = l, te.call(d, x, $.cpu), d;
1291
1291
  }, this.getDevice = function() {
1292
1292
  var d = {};
1293
- return d[o] = l, d[t] = l, d[e] = l, te.call(d, x, $.device), h && !d[e] && F && F.mobile && (d[e] = r), h && d[t] == "Macintosh" && b && typeof b.standalone !== y && b.maxTouchPoints && b.maxTouchPoints > 2 && (d[t] = "iPad", d[e] = c), d;
1293
+ return d[o] = l, d[t] = l, d[e] = l, te.call(d, x, $.device), h && !d[e] && X && X.mobile && (d[e] = r), h && d[t] == "Macintosh" && b && typeof b.standalone !== y && b.maxTouchPoints && b.maxTouchPoints > 2 && (d[t] = "iPad", d[e] = c), d;
1294
1294
  }, this.getEngine = function() {
1295
1295
  var d = {};
1296
1296
  return d[a] = l, d[i] = l, te.call(d, x, $.engine), d;
1297
1297
  }, this.getOS = function() {
1298
1298
  var d = {};
1299
- return d[a] = l, d[i] = l, te.call(d, x, $.os), h && !d[a] && F && F.platform && F.platform != "Unknown" && (d[a] = F.platform.replace(/chrome os/i, Re).replace(/macos/i, Le)), d;
1299
+ return d[a] = l, d[i] = l, te.call(d, x, $.os), h && !d[a] && X && X.platform && X.platform != "Unknown" && (d[a] = X.platform.replace(/chrome os/i, Re).replace(/macos/i, Le)), d;
1300
1300
  }, this.getResult = function() {
1301
1301
  return {
1302
1302
  ua: this.getUA(),
@@ -1309,25 +1309,25 @@ var _e = { exports: {} };
1309
1309
  }, this.getUA = function() {
1310
1310
  return x;
1311
1311
  }, this.setUA = function(d) {
1312
- return x = typeof d === P && d.length > z ? ke(d, z) : d, this;
1312
+ return x = typeof d === P && d.length > z ? xe(d, z) : d, this;
1313
1313
  }, this.setUA(x), this;
1314
1314
  };
1315
- R.VERSION = _, R.BROWSER = be([a, i, B]), R.CPU = be([k]), R.DEVICE = be([t, o, e, H, r, s, c, m, T]), R.ENGINE = R.OS = be([a, i]), n.exports && (A = n.exports = R), A.UAParser = R;
1316
- var W = typeof u !== y && (u.jQuery || u.Zepto);
1317
- if (W && !W.ua) {
1315
+ R.VERSION = _, R.BROWSER = be([a, i, B]), R.CPU = be([k]), R.DEVICE = be([t, o, e, j, r, s, c, m, T]), R.ENGINE = R.OS = be([a, i]), n.exports && (A = n.exports = R), A.UAParser = R;
1316
+ var G = typeof u !== y && (u.jQuery || u.Zepto);
1317
+ if (G && !G.ua) {
1318
1318
  var we = new R();
1319
- W.ua = we.getResult(), W.ua.get = function() {
1319
+ G.ua = we.getResult(), G.ua.get = function() {
1320
1320
  return we.getUA();
1321
- }, W.ua.set = function(p) {
1321
+ }, G.ua.set = function(p) {
1322
1322
  we.setUA(p);
1323
1323
  var g = we.getResult();
1324
1324
  for (var b in g)
1325
- W.ua[b] = g[b];
1325
+ G.ua[b] = g[b];
1326
1326
  };
1327
1327
  }
1328
1328
  })(typeof window == "object" ? window : dt);
1329
- })(_e, _e.exports);
1330
- var ct = _e.exports;
1329
+ })(Ee, Ee.exports);
1330
+ var ct = Ee.exports;
1331
1331
  const bt = /* @__PURE__ */ ut(ct);
1332
1332
  function Ke() {
1333
1333
  if (window.webkit != null && window.webkit.messageHandlers !== "undefined")
@@ -1346,7 +1346,7 @@ function Ye() {
1346
1346
  function Ze() {
1347
1347
  return Ke() === "android_webview";
1348
1348
  }
1349
- function X() {
1349
+ function q() {
1350
1350
  try {
1351
1351
  return window.self !== window.top;
1352
1352
  } catch {
@@ -1364,26 +1364,26 @@ function pt() {
1364
1364
  function vt(n) {
1365
1365
  me = n;
1366
1366
  }
1367
- function Ce() {
1367
+ function fe() {
1368
1368
  return me || (me = pt()), me;
1369
1369
  }
1370
- function G(n) {
1371
- X() && window.parent.postMessage({
1370
+ function W(n) {
1371
+ q() && window.parent.postMessage({
1372
1372
  ...n,
1373
- sender: Ce(),
1373
+ sender: fe(),
1374
1374
  target: n.target || "DASHBOARD"
1375
1375
  }, "*");
1376
1376
  }
1377
1377
  function Je(n, A) {
1378
- return X() ? new Promise((u) => {
1378
+ return q() ? new Promise((u) => {
1379
1379
  const l = ft(), _ = setTimeout(() => {
1380
1380
  window.removeEventListener("message", v), u(null);
1381
1381
  }, wt);
1382
1382
  function v(C) {
1383
1383
  const w = C.data;
1384
- (w == null ? void 0 : w.type) === "DATA_RESPONSE" && (w == null ? void 0 : w.requestId) === l && (!w.target || w.target === Ce()) && (clearTimeout(_), window.removeEventListener("message", v), u(w.data ?? null));
1384
+ (w == null ? void 0 : w.type) === "DATA_RESPONSE" && (w == null ? void 0 : w.requestId) === l && (!w.target || w.target === fe()) && (clearTimeout(_), window.removeEventListener("message", v), u(w.data ?? null));
1385
1385
  }
1386
- window.addEventListener("message", v), G({
1386
+ window.addEventListener("message", v), W({
1387
1387
  type: "DATA_REQUEST",
1388
1388
  requestId: l,
1389
1389
  source: n,
@@ -1391,7 +1391,7 @@ function Je(n, A) {
1391
1391
  });
1392
1392
  }) : Promise.resolve(null);
1393
1393
  }
1394
- function Se(n) {
1394
+ function _e(n) {
1395
1395
  return Je("localStorage", n);
1396
1396
  }
1397
1397
  function gt(n) {
@@ -1467,19 +1467,19 @@ const se = (n, A) => {
1467
1467
  emits: ["back", "navigate"],
1468
1468
  setup(n, { emit: A }) {
1469
1469
  const u = n;
1470
- vt(u.appId || Ce());
1470
+ vt(u.appId || fe());
1471
1471
  const l = A, _ = I(null), v = I(!1), C = I([]), w = I({});
1472
- X() && u.trackPageName && G({
1472
+ q() && u.trackPageName && W({
1473
1473
  type: "trackVisit",
1474
1474
  name: u.trackPageName,
1475
1475
  path: u.trackPagePath || `/${u.trackPageName}`
1476
1476
  });
1477
1477
  const y = I(null);
1478
- X() && Se("rocketMode").then((s) => {
1479
- y.value = s, G({ type: "setRocketMode", value: !0 });
1478
+ q() && _e("rocketMode").then((s) => {
1479
+ y.value = s, W({ type: "setRocketMode", value: !0 });
1480
1480
  }), ie(() => {
1481
- H();
1482
- }), X() && gt("lang").then((s) => {
1481
+ j();
1482
+ }), q() && gt("lang").then((s) => {
1483
1483
  s != null && (w.value = s);
1484
1484
  });
1485
1485
  function E(s) {
@@ -1494,7 +1494,7 @@ const se = (n, A) => {
1494
1494
  console.error("[Header] loadComponentStats error:", m);
1495
1495
  }
1496
1496
  }
1497
- console.log("[Header] localStorage componentStats:", localStorage.componentStats ? "exists" : "empty"), E(localStorage.componentStats), X() && (console.log("[Header] requesting componentStats from parent..."), Se("componentStats").then((s) => {
1497
+ console.log("[Header] localStorage componentStats:", localStorage.componentStats ? "exists" : "empty"), E(localStorage.componentStats), q() && (console.log("[Header] requesting componentStats from parent..."), _e("componentStats").then((s) => {
1498
1498
  console.log("[Header] componentStats from parent:", s != null ? "received" : "null", s), s != null && (localStorage.setItem("componentStats", JSON.stringify(s)), E(s));
1499
1499
  }));
1500
1500
  const P = L(() => [...u.dropdownItems.length ? u.dropdownItems : C.value].sort((m, T) => T.lastVisit - m.lastVisit)), B = () => {
@@ -1502,15 +1502,15 @@ const se = (n, A) => {
1502
1502
  }, t = () => {
1503
1503
  v.value = !1;
1504
1504
  }, a = (s) => {
1505
- l("navigate", s.path), X() && G({ type: "navigate", path: s.path }), t();
1505
+ l("navigate", s.path), q() && W({ type: "navigate", path: s.path }), t();
1506
1506
  }, e = (s) => {
1507
1507
  if (!s)
1508
1508
  return "";
1509
1509
  const m = w.value[s] || s;
1510
1510
  return m.charAt(0).toUpperCase() + m.slice(1);
1511
1511
  }, o = (s) => {
1512
- const T = Date.now() - s, z = Math.floor(T / 1e3), j = Math.floor(z / 60), D = Math.floor(j / 60), Y = Math.floor(D / 24);
1513
- return Y > 0 ? `${Y}д тому` : D > 0 ? `${D}год тому` : j > 0 ? `${j}хв тому` : `${z}с тому`;
1512
+ const T = Date.now() - s, z = Math.floor(T / 1e3), F = Math.floor(z / 60), D = Math.floor(F / 60), Y = Math.floor(D / 24);
1513
+ return Y > 0 ? `${Y}д тому` : D > 0 ? `${D}год тому` : F > 0 ? `${F}хв тому` : `${z}с тому`;
1514
1514
  }, i = (s) => {
1515
1515
  _.value && !_.value.contains(s.target) && t();
1516
1516
  };
@@ -1519,10 +1519,10 @@ const se = (n, A) => {
1519
1519
  }), ie(() => {
1520
1520
  document.removeEventListener("click", i, !0);
1521
1521
  });
1522
- const k = L(() => u.backEvent || u.showBackButton && X()), H = () => {
1522
+ const k = L(() => u.backEvent || u.showBackButton && q()), j = () => {
1523
1523
  if (y.value !== null) {
1524
1524
  const s = y.value === "true";
1525
- G({ type: "setRocketMode", value: s });
1525
+ W({ type: "setRocketMode", value: s });
1526
1526
  }
1527
1527
  }, r = () => P.value.find((s) => s.name !== u.trackPageName), c = async () => {
1528
1528
  var m;
@@ -1533,16 +1533,16 @@ const se = (n, A) => {
1533
1533
  return { name: T.name, path: (z = T.path) == null ? void 0 : z.substring(0, 50) };
1534
1534
  }));
1535
1535
  let s = r();
1536
- if (console.log("[Header] findPreviousPage (cached):", s ? s.name + " → " + ((m = s.path) == null ? void 0 : m.substring(0, 50)) : "NOT FOUND"), !s && X()) {
1536
+ if (console.log("[Header] findPreviousPage (cached):", s ? s.name + " → " + ((m = s.path) == null ? void 0 : m.substring(0, 50)) : "NOT FOUND"), !s && q()) {
1537
1537
  console.log("[Header] no cached history, fetching from parent...");
1538
- const T = await Se("componentStats");
1538
+ const T = await _e("componentStats");
1539
1539
  console.log("[Header] fresh componentStats:", T), T && (E(T), s = r(), console.log("[Header] findPreviousPage (fresh):", s ? s.name : "NOT FOUND"));
1540
1540
  }
1541
1541
  if (s) {
1542
- console.log("[Header] → NAVIGATE to", s.path), H(), G({ type: "navigate", path: s.path });
1542
+ console.log("[Header] → NAVIGATE to", s.path), j(), W({ type: "navigate", path: s.path });
1543
1543
  return;
1544
1544
  }
1545
- console.log("[Header] → EXIT (no previous page found)"), H(), G({ type: "exit" });
1545
+ console.log("[Header] → EXIT (no previous page found)"), j(), q() && window.parent.postMessage({ type: "exit", sender: fe() }, "*");
1546
1546
  };
1547
1547
  return (s, m) => (S(), O("header", ht, [
1548
1548
  f("div", yt, [
@@ -1566,7 +1566,7 @@ const se = (n, A) => {
1566
1566
  class: "titleAndDesc"
1567
1567
  }, [
1568
1568
  f("button", {
1569
- class: q(["title-dropdown-toggle", { "title-dropdown-toggle-active": P.value.length }]),
1569
+ class: H(["title-dropdown-toggle", { "title-dropdown-toggle-active": P.value.length }]),
1570
1570
  onClick: B
1571
1571
  }, [
1572
1572
  V(s.$slots, "title", {}, () => [
@@ -1574,7 +1574,7 @@ const se = (n, A) => {
1574
1574
  f("span", Et, M(n.title), 1),
1575
1575
  P.value.length ? (S(), O("svg", {
1576
1576
  key: 0,
1577
- class: q(["arrow", { open: v.value }]),
1577
+ class: H(["arrow", { open: v.value }]),
1578
1578
  width: "12",
1579
1579
  height: "12",
1580
1580
  viewBox: "0 0 451.847 451.847",
@@ -1594,7 +1594,7 @@ const se = (n, A) => {
1594
1594
  (S(!0), O(at, null, nt(P.value, (T, z) => (S(), O("div", {
1595
1595
  key: z,
1596
1596
  class: "title-dropdown-item",
1597
- onClick: (j) => a(T)
1597
+ onClick: (F) => a(T)
1598
1598
  }, [
1599
1599
  f("p", Pt, M(e(T.name)), 1),
1600
1600
  f("small", Ct, " (" + M(n.visitLabel) + " " + M(o(T.lastVisit)) + ") ", 1)
@@ -1613,7 +1613,7 @@ const se = (n, A) => {
1613
1613
  ])
1614
1614
  ]));
1615
1615
  }
1616
- }, io = /* @__PURE__ */ se(Mt, [["__scopeId", "data-v-479161ae"]]);
1616
+ }, io = /* @__PURE__ */ se(Mt, [["__scopeId", "data-v-730d2c4a"]]);
1617
1617
  const It = {
1618
1618
  key: 0,
1619
1619
  class: "sky-dialog-subtitle"
@@ -1691,7 +1691,7 @@ const It = {
1691
1691
  } catch {
1692
1692
  }
1693
1693
  };
1694
- return Ee(
1694
+ return Te(
1695
1695
  () => l.modelValue,
1696
1696
  (i) => {
1697
1697
  i ? (document.body.style.overflow = "hidden", Ge(() => {
@@ -1702,18 +1702,18 @@ const It = {
1702
1702
  document.addEventListener("keydown", t), window.addEventListener("resize", o);
1703
1703
  }), ie(() => {
1704
1704
  document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
1705
- }), (i, k) => (S(), ne(Te, { to: "body" }, [
1706
- Oe(Ae, {
1705
+ }), (i, k) => (S(), ne(Oe, { to: "body" }, [
1706
+ Ae(Pe, {
1707
1707
  name: n.enableAnimation ? "dialog-slide" : ""
1708
1708
  }, {
1709
1709
  default: K(() => [
1710
1710
  n.modelValue ? (S(), O("div", {
1711
1711
  key: 0,
1712
1712
  class: "sky-dialogbox sky-dialogbox-classic",
1713
- style: Pe([n.zIndex ? { "z-index": n.zIndex } : null])
1713
+ style: Ce([n.zIndex ? { "z-index": n.zIndex } : null])
1714
1714
  }, [
1715
1715
  f("div", {
1716
- class: q(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
1716
+ class: H(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
1717
1717
  }, [
1718
1718
  f("div", {
1719
1719
  ref_key: "dialogContent",
@@ -1721,7 +1721,7 @@ const It = {
1721
1721
  class: "sky-dialog-content"
1722
1722
  }, [
1723
1723
  f("div", {
1724
- class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1724
+ class: H(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1725
1725
  }, [
1726
1726
  We(M(n.title) + " ", 1),
1727
1727
  n.subtitle ? (S(), O("span", It, M(n.subtitle), 1)) : N("", !0)
@@ -1758,7 +1758,7 @@ const It = {
1758
1758
  f("div", {
1759
1759
  ref_key: "dialogPaper",
1760
1760
  ref: C,
1761
- class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1761
+ class: H(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1762
1762
  onTouchstart: a,
1763
1763
  onTouchend: e
1764
1764
  }, [
@@ -1767,7 +1767,7 @@ const It = {
1767
1767
  ], 34),
1768
1768
  P.value ? (S(), O("div", {
1769
1769
  key: 0,
1770
- class: q(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
1770
+ class: H(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
1771
1771
  }, [
1772
1772
  V(i.$slots, "buttons", {}, void 0, !0)
1773
1773
  ], 2)) : N("", !0)
@@ -1862,7 +1862,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1862
1862
  } catch {
1863
1863
  }
1864
1864
  };
1865
- return Ee(
1865
+ return Te(
1866
1866
  () => l.modelValue,
1867
1867
  (i) => {
1868
1868
  i ? (document.body.style.overflow = "hidden", Ge(() => {
@@ -1873,18 +1873,18 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1873
1873
  document.addEventListener("keydown", t), window.addEventListener("resize", o);
1874
1874
  }), ie(() => {
1875
1875
  document.removeEventListener("keydown", t), window.removeEventListener("resize", o), document.body.style.overflow = "";
1876
- }), (i, k) => (S(), ne(Te, { to: "body" }, [
1877
- Oe(Ae, {
1876
+ }), (i, k) => (S(), ne(Oe, { to: "body" }, [
1877
+ Ae(Pe, {
1878
1878
  name: n.enableAnimation ? "dialog-slide" : ""
1879
1879
  }, {
1880
1880
  default: K(() => [
1881
1881
  n.modelValue ? (S(), O("div", {
1882
1882
  key: 0,
1883
1883
  class: "sky-dialogbox sky-dialogbox-next",
1884
- style: Pe([n.zIndex ? { "z-index": n.zIndex } : null])
1884
+ style: Ce([n.zIndex ? { "z-index": n.zIndex } : null])
1885
1885
  }, [
1886
1886
  f("div", {
1887
- class: q(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
1887
+ class: H(["sky-dialog-overlay", { "sky-dialog-animate": n.enableAnimation }])
1888
1888
  }, [
1889
1889
  f("div", {
1890
1890
  ref_key: "dialogContent",
@@ -1905,7 +1905,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1905
1905
  ])]))
1906
1906
  ], 8, Dt),
1907
1907
  f("div", {
1908
- class: q(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1908
+ class: H(["sky-dialog-title", { "sky-dialog-title-with-subtitle": n.subtitle }])
1909
1909
  }, [
1910
1910
  We(M(n.title) + " ", 1),
1911
1911
  n.subtitle ? (S(), O("span", Ut, M(n.subtitle), 1)) : N("", !0)
@@ -1914,7 +1914,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1914
1914
  f("div", {
1915
1915
  ref_key: "dialogPaper",
1916
1916
  ref: C,
1917
- class: q(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1917
+ class: H(["sky-dialog-paper", { "sky-dialog-paper-no-footer": !P.value }]),
1918
1918
  onTouchstart: a,
1919
1919
  onTouchend: e
1920
1920
  }, [
@@ -1923,7 +1923,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
1923
1923
  ], 34),
1924
1924
  P.value ? (S(), O("div", {
1925
1925
  key: 0,
1926
- class: q(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
1926
+ class: H(["sky-dialog-footer", { "sky-dialog-footer-animate": n.enableAnimation }])
1927
1927
  }, [
1928
1928
  V(i.$slots, "buttons", {}, void 0, !0)
1929
1929
  ], 2)) : N("", !0)
@@ -2024,7 +2024,7 @@ const Lt = { class: "sky-dialog-header" }, Dt = ["title"], $t = {
2024
2024
  }
2025
2025
  };
2026
2026
  function Ft(n, A, u, l, _, v) {
2027
- return S(), ne(Te, { to: u.to }, [
2027
+ return S(), ne(Oe, { to: u.to }, [
2028
2028
  V(n.$slots, "default")
2029
2029
  ], 8, ["to"]);
2030
2030
  }
@@ -2088,7 +2088,7 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2088
2088
  }, w = (y) => {
2089
2089
  y.key === "Escape" && u.closeOnEsc && u.modelValue && v();
2090
2090
  };
2091
- return Ee(
2091
+ return Te(
2092
2092
  () => u.modelValue,
2093
2093
  (y) => {
2094
2094
  y ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
@@ -2099,7 +2099,7 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2099
2099
  document.removeEventListener("keydown", w), document.body.style.overflow = "";
2100
2100
  }), (y, E) => (S(), ne(Xt, { to: "body" }, {
2101
2101
  default: K(() => [
2102
- Oe(Ae, null, {
2102
+ Ae(Pe, null, {
2103
2103
  default: K(() => [
2104
2104
  n.modelValue ? (S(), O("div", {
2105
2105
  key: 0,
@@ -2108,7 +2108,7 @@ const Gt = { class: "sky-modal-header" }, Wt = ["title"], Kt = {
2108
2108
  }, [
2109
2109
  f("div", {
2110
2110
  class: "sky-modal",
2111
- style: Pe(_.value)
2111
+ style: Ce(_.value)
2112
2112
  }, [
2113
2113
  f("div", Gt, [
2114
2114
  f("button", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyservice-developers/vue-dev-kit",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Vue 2 and Vue 3 developer toolkit - components and helpers",
5
5
  "type": "module",
6
6
  "main": "./dist/vue3/vue-dev-kit.cjs",
@@ -210,7 +210,10 @@ export default {
210
210
  }
211
211
 
212
212
  this.restoreRocketMode()
213
- sendToParent({ type: 'exit' })
213
+ // exit без target — щоб прямий parent обробив (не relay)
214
+ if (isInIframe()) {
215
+ window.parent.postMessage({ type: 'exit', sender: getSenderId() }, '*')
216
+ }
214
217
  },
215
218
  toggleDropdown() {
216
219
  if (this.sortedItems.length) {
@@ -308,7 +308,10 @@ const handleBack = async () => {
308
308
 
309
309
  console.log('[Header] → EXIT (no previous page found)')
310
310
  restoreRocketMode()
311
- sendToParent({ type: 'exit' })
311
+ // exit без target — щоб прямий parent обробив (не relay)
312
+ if (isInIframe()) {
313
+ window.parent.postMessage({ type: 'exit', sender: getSenderId() }, '*')
314
+ }
312
315
  }
313
316
  </script>
314
317