r3ui-lib 1.2.3-4 → 1.2.3-5

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.
@@ -374,7 +374,7 @@ function Pr() {
374
374
  if (typeof ae == "boolean")
375
375
  return ae ? "true" : "false";
376
376
  if (typeof ae == "string")
377
- return je(ae, Fe);
377
+ return We(ae, Fe);
378
378
  if (typeof ae == "number") {
379
379
  if (ae === 0)
380
380
  return 1 / 0 / ae > 0 ? "0" : "-0";
@@ -419,7 +419,7 @@ function Pr() {
419
419
  if (ae.length === 0)
420
420
  return "[]";
421
421
  var Ve = _e(ae, K);
422
- return P && !pe(Ve) ? "[" + We(Ve, P) + "]" : "[ " + w.call(Ve, ", ") + " ]";
422
+ return P && !pe(Ve) ? "[" + je(Ve, P) + "]" : "[ " + w.call(Ve, ", ") + " ]";
423
423
  }
424
424
  if (oe(ae)) {
425
425
  var Ze = _e(ae, K);
@@ -463,7 +463,7 @@ function Pr() {
463
463
  return "{ [object globalThis] }";
464
464
  if (!j(ae) && !V(ae)) {
465
465
  var dt = _e(ae, K), Ct = I ? I(ae) === Object.prototype : ae instanceof Object || ae.constructor === Object, mt = ae instanceof Object ? "" : "null prototype", Oi = !Ct && W && Object(ae) === ae && W in ae ? m.call(Ge(ae), 8, -1) : mt ? "Object" : "", Yi = Ct || typeof ae.constructor != "function" ? "" : ae.constructor.name ? ae.constructor.name + " " : "", wi = Yi + (Oi || mt ? "[" + w.call(x.call([], Oi || [], mt || []), ": ") + "] " : "");
466
- return dt.length === 0 ? wi + "{}" : P ? wi + "{" + We(dt, P) + "}" : wi + "{ " + w.call(dt, ", ") + " }";
466
+ return dt.length === 0 ? wi + "{}" : P ? wi + "{" + je(dt, P) + "}" : wi + "{ " + w.call(dt, ", ") + " }";
467
467
  }
468
468
  return String(ae);
469
469
  };
@@ -615,10 +615,10 @@ function Pr() {
615
615
  function Oe(Z) {
616
616
  return !Z || typeof Z != "object" ? !1 : typeof HTMLElement < "u" && Z instanceof HTMLElement ? !0 : typeof Z.nodeName == "string" && typeof Z.getAttribute == "function";
617
617
  }
618
- function je(Z, ae) {
618
+ function We(Z, ae) {
619
619
  if (Z.length > ae.maxStringLength) {
620
620
  var Je = Z.length - ae.maxStringLength, et = "... " + Je + " more character" + (Je > 1 ? "s" : "");
621
- return je(m.call(Z, 0, ae.maxStringLength), ae) + et;
621
+ return We(m.call(Z, 0, ae.maxStringLength), ae) + et;
622
622
  }
623
623
  var Ne = z[ae.quoteStyle || "single"];
624
624
  Ne.lastIndex = 0;
@@ -642,7 +642,7 @@ function Pr() {
642
642
  return Z + " { ? }";
643
643
  }
644
644
  function bt(Z, ae, Je, et) {
645
- var Ne = et ? We(Je, et) : w.call(Je, ", ");
645
+ var Ne = et ? je(Je, et) : w.call(Je, ", ");
646
646
  return Z + " (" + ae + ") {" + Ne + "}";
647
647
  }
648
648
  function pe(Z) {
@@ -665,7 +665,7 @@ function Pr() {
665
665
  prev: w.call(Array(ae + 1), Je)
666
666
  };
667
667
  }
668
- function We(Z, ae) {
668
+ function je(Z, ae) {
669
669
  if (Z.length === 0)
670
670
  return "";
671
671
  var Je = `
@@ -2293,9 +2293,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2293
2293
  };
2294
2294
  }
2295
2295
  function X(U, Q, te, fe) {
2296
- var de = Q && Q.prototype instanceof q ? Q : q, Oe = Object.create(de.prototype), je = new $e(fe || []);
2296
+ var de = Q && Q.prototype instanceof q ? Q : q, Oe = Object.create(de.prototype), We = new $e(fe || []);
2297
2297
  return A(Oe, "_invoke", {
2298
- value: Se(U, te, je)
2298
+ value: Se(U, te, We)
2299
2299
  }), Oe;
2300
2300
  }
2301
2301
  function O(U, Q, te) {
@@ -2334,18 +2334,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2334
2334
  }));
2335
2335
  }
2336
2336
  function ce(U, Q) {
2337
- function te(de, Oe, je, He) {
2337
+ function te(de, Oe, We, He) {
2338
2338
  var Ie = O(U[de], U, Oe);
2339
2339
  if (Ie.type !== "throw") {
2340
2340
  var qe = Ie.arg, bt = qe.value;
2341
2341
  return bt && u(bt) == "object" && T.call(bt, "__await") ? Q.resolve(bt.__await).then((function(pe) {
2342
- te("next", pe, je, He);
2342
+ te("next", pe, We, He);
2343
2343
  }), (function(pe) {
2344
- te("throw", pe, je, He);
2344
+ te("throw", pe, We, He);
2345
2345
  })) : Q.resolve(bt).then((function(pe) {
2346
- qe.value = pe, je(qe);
2346
+ qe.value = pe, We(qe);
2347
2347
  }), (function(pe) {
2348
- return te("throw", pe, je, He);
2348
+ return te("throw", pe, We, He);
2349
2349
  }));
2350
2350
  }
2351
2351
  He(Ie.arg);
@@ -2353,12 +2353,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2353
2353
  var fe;
2354
2354
  A(this, "_invoke", {
2355
2355
  value: function(de, Oe) {
2356
- function je() {
2356
+ function We() {
2357
2357
  return new Q((function(He, Ie) {
2358
2358
  te(de, Oe, He, Ie);
2359
2359
  }));
2360
2360
  }
2361
- return fe = fe ? fe.then(je, je) : je();
2361
+ return fe = fe ? fe.then(We, We) : We();
2362
2362
  }
2363
2363
  });
2364
2364
  }
@@ -2374,9 +2374,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2374
2374
  };
2375
2375
  }
2376
2376
  for (te.method = de, te.arg = Oe; ; ) {
2377
- var je = te.delegate;
2378
- if (je) {
2379
- var He = Me(je, te);
2377
+ var We = te.delegate;
2378
+ if (We) {
2379
+ var He = Me(We, te);
2380
2380
  if (He) {
2381
2381
  if (He === re) continue;
2382
2382
  return He;
@@ -2458,8 +2458,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2458
2458
  })), y.AsyncIterator = ce, y.async = function(U, Q, te, fe, de) {
2459
2459
  de === void 0 && (de = Promise);
2460
2460
  var Oe = new ce(X(U, Q, te, fe), de);
2461
- return y.isGeneratorFunction(Q) ? Oe : Oe.next().then((function(je) {
2462
- return je.done ? je.value : Oe.next();
2461
+ return y.isGeneratorFunction(Q) ? Oe : Oe.next().then((function(We) {
2462
+ return We.done ? We.value : Oe.next();
2463
2463
  }));
2464
2464
  }, ge(ie), B(ie, I, "Generator"), B(ie, W, (function() {
2465
2465
  return this;
@@ -2496,11 +2496,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2496
2496
  var de = this.tryEntries[fe], Oe = de.completion;
2497
2497
  if (de.tryLoc === "root") return te("end");
2498
2498
  if (de.tryLoc <= this.prev) {
2499
- var je = T.call(de, "catchLoc"), He = T.call(de, "finallyLoc");
2500
- if (je && He) {
2499
+ var We = T.call(de, "catchLoc"), He = T.call(de, "finallyLoc");
2500
+ if (We && He) {
2501
2501
  if (this.prev < de.catchLoc) return te(de.catchLoc, !0);
2502
2502
  if (this.prev < de.finallyLoc) return te(de.finallyLoc);
2503
- } else if (je) {
2503
+ } else if (We) {
2504
2504
  if (this.prev < de.catchLoc) return te(de.catchLoc, !0);
2505
2505
  } else {
2506
2506
  if (!He) throw new Error("try statement without catch or finally");
@@ -3263,7 +3263,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3263
3263
  for (Le.reset(), A($e).lastIndex = 0; Q = A($e).exec($e.inputFormat); ) {
3264
3264
  var te;
3265
3265
  if ((te = T(Q)) && te[3]) {
3266
- for (var fe = te[1], de = Le[te[2]], Oe = $e.min[te[2]], je = $e.max ? $e.max[te[2]] : Oe + 1, He = [], Ie = !1, qe = 0; qe < Oe.length; qe++) ze.validPositions[qe + Q.index] !== void 0 || Ie ? (He[qe] = de[qe], Ie = Ie || de[qe] > Oe[qe]) : (qe + Q.index == 0 && de[qe] < Oe[qe] ? (He[qe] = de[qe], Ie = !0) : He[qe] = Oe[qe], te[2] === "year" && de.length - 1 == qe && Oe != je && (He = (parseInt(He.join("")) + 1).toString().split("")), te[2] === "ampm" && Oe != je && $e.min.date.getTime() > Le.date.getTime() && (He[qe] = je[qe]));
3266
+ for (var fe = te[1], de = Le[te[2]], Oe = $e.min[te[2]], We = $e.max ? $e.max[te[2]] : Oe + 1, He = [], Ie = !1, qe = 0; qe < Oe.length; qe++) ze.validPositions[qe + Q.index] !== void 0 || Ie ? (He[qe] = de[qe], Ie = Ie || de[qe] > Oe[qe]) : (qe + Q.index == 0 && de[qe] < Oe[qe] ? (He[qe] = de[qe], Ie = !0) : He[qe] = Oe[qe], te[2] === "year" && de.length - 1 == qe && Oe != We && (He = (parseInt(He.join("")) + 1).toString().split("")), te[2] === "ampm" && Oe != We && $e.min.date.getTime() > Le.date.getTime() && (He[qe] = We[qe]));
3267
3267
  fe.call(Le._date, He.join(""));
3268
3268
  }
3269
3269
  }
@@ -5002,7 +5002,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5002
5002
  var bt = fe !== void 0 ? fe : Ie.alternation, pe = Ie.locator[bt] !== void 0 ? Ie.locator[bt].toString().indexOf(te) : -1;
5003
5003
  return (Oe === void 0 || pe < Oe) && pe !== -1 && (de = Ie, Oe = pe), !0;
5004
5004
  })), de) {
5005
- var je = de.locator[de.alternation], He = de.mloc[te] || de.mloc[je] || de.locator;
5005
+ var We = de.locator[de.alternation], He = de.mloc[te] || de.mloc[We] || de.locator;
5006
5006
  return He[He.length - 1].toString().indexOf(":") !== -1 && He.pop(), He.slice((fe !== void 0 ? fe : de.alternation) + 1);
5007
5007
  }
5008
5008
  return fe !== void 0 ? Ge(Q, te) : void 0;
@@ -5018,15 +5018,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5018
5018
  break;
5019
5019
  }
5020
5020
  }
5021
- return !!de && (function(je) {
5021
+ return !!de && (function(We) {
5022
5022
  Q.mloc = Q.mloc || {};
5023
- var He = Q.locator[je];
5023
+ var He = Q.locator[We];
5024
5024
  if (He !== void 0) {
5025
5025
  if (typeof He == "string" && (He = He.split(",")[0]), Q.mloc[He] === void 0 && (Q.mloc[He] = Q.locator.slice(), Q.mloc[He].push(":".concat(Q.alternation))), te !== void 0) {
5026
5026
  for (var Ie in te.mloc) typeof Ie == "string" && (Ie = parseInt(Ie.split(",")[0])), Q.mloc[Ie + 0] = te.mloc[Ie];
5027
- Q.locator[je] = Object.keys(Q.mloc).join(",");
5027
+ Q.locator[We] = Object.keys(Q.mloc).join(",");
5028
5028
  }
5029
- return Q.alternation > je && (Q.alternation = je), !0;
5029
+ return Q.alternation > We && (Q.alternation = We), !0;
5030
5030
  }
5031
5031
  return Q.alternation = void 0, !1;
5032
5032
  })(fe);
@@ -5064,28 +5064,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5064
5064
  return _ !== E;
5065
5065
  }
5066
5066
  y.hasAlternator = !0;
5067
- var te, fe = ce, de = [], Oe = B.slice(), je = Se.length, He = j.length > 0 ? j.shift() : -1;
5067
+ var te, fe = ce, de = [], Oe = B.slice(), We = Se.length, He = j.length > 0 ? j.shift() : -1;
5068
5068
  if (He === -1 || typeof He == "string") {
5069
5069
  var Ie, qe = G, bt = j.slice(), pe = [];
5070
5070
  if (typeof He == "string") pe = He.split(",");
5071
5071
  else for (Ie = 0; Ie < fe.matches.length; Ie++) pe.push(Ie.toString());
5072
5072
  if (T.excludes[M] !== void 0) {
5073
- for (var De = pe.slice(), We = 0, _e = T.excludes[M].length; We < _e; We++) {
5074
- var Z = T.excludes[M][We].toString().split(":");
5073
+ for (var De = pe.slice(), je = 0, _e = T.excludes[M].length; je < _e; je++) {
5074
+ var Z = T.excludes[M][je].toString().split(":");
5075
5075
  Se.length == Z[1] && pe.splice(pe.indexOf(Z[0]), 1);
5076
5076
  }
5077
5077
  pe.length === 0 && (delete T.excludes[M], pe = De);
5078
5078
  }
5079
5079
  (A.keepStatic === !0 || isFinite(parseInt(A.keepStatic)) && qe >= A.keepStatic) && (pe = pe.slice(0, 1));
5080
5080
  for (var ae = 0; ae < pe.length; ae++) {
5081
- Ie = parseInt(pe[ae]), B = [], j = typeof He == "string" && Ge(G, Ie, je) || bt.slice();
5081
+ Ie = parseInt(pe[ae]), B = [], j = typeof He == "string" && Ge(G, Ie, We) || bt.slice();
5082
5082
  var Je = fe.matches[Ie];
5083
5083
  if (Je && ne(Je, [Ie].concat(Se), Me)) ce = !0;
5084
5084
  else if (ae === 0 && (F = Q(fe)), Je && Je.matches && Je.matches.length > fe.matches[0].matches.length) break;
5085
5085
  te = B.slice(), G = qe, B = [];
5086
5086
  for (var et = 0; et < te.length; et++) {
5087
5087
  var Ne = te[et], Fe = !1;
5088
- Ne.alternation = Ne.alternation || je, ze(Ne);
5088
+ Ne.alternation = Ne.alternation || We, ze(Ne);
5089
5089
  for (var Dt = 0; Dt < de.length; Dt++) {
5090
5090
  var pt = de[Dt];
5091
5091
  if (typeof He != "string" || Ne.alternation !== void 0 && pe.includes(Ne.locator[Ne.alternation].toString())) {
@@ -5124,7 +5124,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
5124
5124
  for (var Q = ce, te = !1, fe = j.length > 0 ? j.shift() : 0; fe < (isNaN(Q.quantifier.max) ? fe + 1 : Q.quantifier.max) && G <= M; fe++) {
5125
5125
  var de = se.matches[se.matches.indexOf(Q) - 1];
5126
5126
  if (ce = ne(de, [fe].concat(Se), de)) {
5127
- if (B.forEach((function(Oe, je) {
5127
+ if (B.forEach((function(Oe, We) {
5128
5128
  (w = z(de, Oe.match) ? Oe.match : B[B.length - 1].match).optionalQuantifier = fe >= Q.quantifier.min, w.jit = (fe + 1) * (de.matches.indexOf(w) + 1) > Q.quantifier.jit, w.optionalQuantifier && Le(w, de) && (X = !0, G = M, A.greedy && T.validPositions[M - 1] == null && fe > Q.quantifier.min && ["*", "+"].indexOf(Q.quantifier.max) != -1 && (B.pop(), O = void 0), te = !0, ce = !1), !te && w.jit && (T.jitOffset[M] = de.matches.length - de.matches.indexOf(w));
5129
5129
  })), te) break;
5130
5130
  return !0;
@@ -10474,7 +10474,7 @@ function fy(n) {
10474
10474
  b[v] = Me, T[v] = Me - I;
10475
10475
  }
10476
10476
  if (o) {
10477
- var Le, Ge = v === "x" ? Bt : Nt, $e = v === "x" ? Xt : Qt, ze = b[M], U = M === "y" ? "height" : "width", Q = ze + C[Ge], te = ze - C[$e], fe = [Bt, Nt].indexOf(g) !== -1, de = (Le = D?.[M]) != null ? Le : 0, Oe = fe ? Q : ze - x[U] - w[U] - de + y.altAxis, je = fe ? ze + x[U] + w[U] - de - y.altAxis : te, He = d && fe ? Ib(Oe, ze, je) : On(d ? Oe : Q, ze, d ? je : te);
10477
+ var Le, Ge = v === "x" ? Bt : Nt, $e = v === "x" ? Xt : Qt, ze = b[M], U = M === "y" ? "height" : "width", Q = ze + C[Ge], te = ze - C[$e], fe = [Bt, Nt].indexOf(g) !== -1, de = (Le = D?.[M]) != null ? Le : 0, Oe = fe ? Q : ze - x[U] - w[U] - de + y.altAxis, We = fe ? ze + x[U] + w[U] - de - y.altAxis : te, He = d && fe ? Ib(Oe, ze, We) : On(d ? Oe : Q, ze, d ? We : te);
10478
10478
  b[M] = He, T[M] = He - ze;
10479
10479
  }
10480
10480
  e.modifiersData[i] = T;
@@ -11543,7 +11543,7 @@ function nw(n, e) {
11543
11543
  config: At(At({}, pn), kt.defaultConfig),
11544
11544
  l10n: Gn
11545
11545
  };
11546
- t.parseDate = fa({ config: t.config, l10n: t.l10n }), t._handlers = [], t.pluginElements = [], t.loadedPlugins = [], t._bind = p, t._setHoursFromDate = f, t._positionCalendar = $e, t.changeMonth = F, t.changeYear = se, t.clear = J, t.close = z, t.onMouseOver = ie, t._createElement = lt, t.createDay = b, t.destroy = ee, t.isEnabled = j, t.jumpToDate = m, t.updateValue = Fe, t.open = ce, t.redraw = Q, t.set = Oe, t.setDate = He, t.toggle = We;
11546
+ t.parseDate = fa({ config: t.config, l10n: t.l10n }), t._handlers = [], t.pluginElements = [], t.loadedPlugins = [], t._bind = p, t._setHoursFromDate = f, t._positionCalendar = $e, t.changeMonth = F, t.changeYear = se, t.clear = J, t.close = z, t.onMouseOver = ie, t._createElement = lt, t.createDay = b, t.destroy = ee, t.isEnabled = j, t.jumpToDate = m, t.updateValue = Fe, t.open = ce, t.redraw = Q, t.set = Oe, t.setDate = He, t.toggle = je;
11547
11547
  function i() {
11548
11548
  t.utils = {
11549
11549
  getDaysInMonth: function(L, E) {
@@ -12275,7 +12275,7 @@ function nw(n, e) {
12275
12275
  }) : Ks.indexOf(L) > -1 && (t.config[L] = Js(E));
12276
12276
  t.redraw(), Fe(!0);
12277
12277
  }
12278
- function je(L, E) {
12278
+ function We(L, E) {
12279
12279
  var _ = [];
12280
12280
  if (L instanceof Array)
12281
12281
  _ = L.map(function(P) {
@@ -12311,7 +12311,7 @@ function nw(n, e) {
12311
12311
  function He(L, E, _) {
12312
12312
  if (E === void 0 && (E = !1), _ === void 0 && (_ = t.config.dateFormat), L !== 0 && !L || L instanceof Array && L.length === 0)
12313
12313
  return t.clear(E);
12314
- je(L, _), t.latestSelectedDateObj = t.selectedDates[t.selectedDates.length - 1], t.redraw(), m(void 0, E), f(), t.selectedDates.length === 0 && t.clear(!1), Fe(E), E && _e("onChange");
12314
+ We(L, _), t.latestSelectedDateObj = t.selectedDates[t.selectedDates.length - 1], t.redraw(), m(void 0, E), f(), t.selectedDates.length === 0 && t.clear(!1), Fe(E), E && _e("onChange");
12315
12315
  }
12316
12316
  function Ie(L) {
12317
12317
  return L.slice().map(function(E) {
@@ -12326,7 +12326,7 @@ function nw(n, e) {
12326
12326
  function qe() {
12327
12327
  t.selectedDates = [], t.now = t.parseDate(t.config.now) || /* @__PURE__ */ new Date();
12328
12328
  var L = t.config.defaultDate || ((t.input.nodeName === "INPUT" || t.input.nodeName === "TEXTAREA") && t.input.placeholder && t.input.value === t.input.placeholder ? null : t.input.value);
12329
- L && je(L, t.config.dateFormat), t._initialDate = t.selectedDates.length > 0 ? t.selectedDates[0] : t.config.minDate && t.config.minDate.getTime() > t.now.getTime() ? t.config.minDate : t.config.maxDate && t.config.maxDate.getTime() < t.now.getTime() ? t.config.maxDate : t.now, t.currentYear = t._initialDate.getFullYear(), t.currentMonth = t._initialDate.getMonth(), t.selectedDates.length > 0 && (t.latestSelectedDateObj = t.selectedDates[0]), t.config.minTime !== void 0 && (t.config.minTime = t.parseDate(t.config.minTime, "H:i")), t.config.maxTime !== void 0 && (t.config.maxTime = t.parseDate(t.config.maxTime, "H:i")), t.minDateHasTime = !!t.config.minDate && (t.config.minDate.getHours() > 0 || t.config.minDate.getMinutes() > 0 || t.config.minDate.getSeconds() > 0), t.maxDateHasTime = !!t.config.maxDate && (t.config.maxDate.getHours() > 0 || t.config.maxDate.getMinutes() > 0 || t.config.maxDate.getSeconds() > 0);
12329
+ L && We(L, t.config.dateFormat), t._initialDate = t.selectedDates.length > 0 ? t.selectedDates[0] : t.config.minDate && t.config.minDate.getTime() > t.now.getTime() ? t.config.minDate : t.config.maxDate && t.config.maxDate.getTime() < t.now.getTime() ? t.config.maxDate : t.now, t.currentYear = t._initialDate.getFullYear(), t.currentMonth = t._initialDate.getMonth(), t.selectedDates.length > 0 && (t.latestSelectedDateObj = t.selectedDates[0]), t.config.minTime !== void 0 && (t.config.minTime = t.parseDate(t.config.minTime, "H:i")), t.config.maxTime !== void 0 && (t.config.maxTime = t.parseDate(t.config.maxTime, "H:i")), t.minDateHasTime = !!t.config.minDate && (t.config.minDate.getHours() > 0 || t.config.minDate.getMinutes() > 0 || t.config.minDate.getSeconds() > 0), t.maxDateHasTime = !!t.config.maxDate && (t.config.maxDate.getHours() > 0 || t.config.maxDate.getMinutes() > 0 || t.config.maxDate.getSeconds() > 0);
12330
12330
  }
12331
12331
  function bt() {
12332
12332
  if (t.input = Le(), !t.input) {
@@ -12349,7 +12349,7 @@ function nw(n, e) {
12349
12349
  t.setDate(zt(E).value, !1, t.mobileFormatStr), _e("onChange"), _e("onClose");
12350
12350
  });
12351
12351
  }
12352
- function We(L) {
12352
+ function je(L) {
12353
12353
  if (t.isOpen === !0)
12354
12354
  return t.close();
12355
12355
  t.open(L);
@@ -12949,7 +12949,7 @@ function mw(n = {}) {
12949
12949
  w.value = _e;
12950
12950
  return;
12951
12951
  }
12952
- const We = {
12952
+ const je = {
12953
12953
  ...w.value,
12954
12954
  [B.value]: pe,
12955
12955
  [X.value]: null,
@@ -12959,7 +12959,7 @@ function mw(n = {}) {
12959
12959
  [z.value]: null,
12960
12960
  [ee.value]: null
12961
12961
  };
12962
- w.value = We, W.value = [], G.value = [], I.value = [];
12962
+ w.value = je, W.value = [], G.value = [], I.value = [];
12963
12963
  }, ne = (pe, De = !1) => {
12964
12964
  if (De) {
12965
12965
  const _e = {
@@ -12969,7 +12969,7 @@ function mw(n = {}) {
12969
12969
  w.value = _e;
12970
12970
  return;
12971
12971
  }
12972
- const We = {
12972
+ const je = {
12973
12973
  ...w.value,
12974
12974
  [X.value]: pe,
12975
12975
  [O.value]: null,
@@ -12978,7 +12978,7 @@ function mw(n = {}) {
12978
12978
  [z.value]: null,
12979
12979
  [ee.value]: null
12980
12980
  };
12981
- w.value = We;
12981
+ w.value = je;
12982
12982
  }, ie = (pe, De = !1) => {
12983
12983
  if (De) {
12984
12984
  const _e = {
@@ -12988,7 +12988,7 @@ function mw(n = {}) {
12988
12988
  w.value = _e;
12989
12989
  return;
12990
12990
  }
12991
- const We = {
12991
+ const je = {
12992
12992
  ...w.value,
12993
12993
  [O.value]: pe,
12994
12994
  [F.value]: null,
@@ -12996,7 +12996,7 @@ function mw(n = {}) {
12996
12996
  [z.value]: null,
12997
12997
  [ee.value]: null
12998
12998
  };
12999
- w.value = We, I.value = [];
12999
+ w.value = je, I.value = [];
13000
13000
  }, ge = async (pe) => {
13001
13001
  oe(pe), pe && (await se(pe), await j(pe), await V(pe));
13002
13002
  }, ce = async (pe) => {
@@ -13017,45 +13017,55 @@ function mw(n = {}) {
13017
13017
  w.value = _e;
13018
13018
  return;
13019
13019
  }
13020
- const We = {
13020
+ const je = {
13021
13021
  ...w.value,
13022
13022
  [F.value]: pe,
13023
13023
  [J.value]: null,
13024
13024
  [z.value]: null,
13025
13025
  [ee.value]: null
13026
13026
  };
13027
- w.value = We;
13027
+ w.value = je;
13028
13028
  }, Le = (pe) => {
13029
- const De = pe.target, We = {
13029
+ const De = pe.target, je = {
13030
13030
  ...w.value,
13031
13031
  [J.value]: De.value
13032
13032
  };
13033
- w.value = We;
13033
+ w.value = je;
13034
13034
  }, Ge = (pe) => {
13035
- const De = pe.target, We = {
13035
+ const De = pe.target, je = {
13036
13036
  ...w.value,
13037
13037
  [z.value]: De.value
13038
13038
  };
13039
- w.value = We;
13039
+ w.value = je;
13040
13040
  }, $e = (pe) => {
13041
- const De = pe.target, We = {
13041
+ const De = pe.target, je = {
13042
13042
  ...w.value,
13043
13043
  [ee.value]: De.value
13044
13044
  };
13045
- w.value = We;
13045
+ w.value = je;
13046
13046
  }, ze = async (pe) => {
13047
13047
  console.log("🔄 Auto-filling form with data:", pe), Object.assign(w.value, pe);
13048
- const De = pe[B.value], We = pe[X.value], _e = pe[O.value], Z = pe[F.value];
13048
+ const De = pe[B.value], je = pe[X.value], _e = pe[O.value], Z = pe[F.value];
13049
13049
  try {
13050
- De && !We && !_e && !Z ? (console.log("📍 Case 1: Only region ID provided"), e && await q(), t && await se(De)) : De && We && !_e && !Z ? (console.log("📍 Case 2: Region + District IDs provided"), e && await q(), t && await se(De), i && await j(We)) : De && !We && _e && !Z ? (console.log("📍 Case 3: Region + Locality IDs (no district)"), e && await q(), t && await se(De), i && await j(De)) : De && We && _e && !Z ? (console.log("📍 Case 4: Region + District + Locality IDs"), e && await q(), t && await se(De), i && await j(We), r && await V(_e)) : De && !We && _e && Z ? (console.log("📍 Case 5: Region + Locality + Street IDs (no district)"), e && await q(), t && await se(De), i && await j(De), r && await V(_e)) : De && We && _e && Z ? (console.log("📍 Case 6: Full hierarchy"), e && await q(), t && await se(De), i && await j(We), r && await V(_e)) : !De && !We && !_e && !Z ? console.log("📍 Case 7: Only text fields provided") : !De && _e ? (console.log("📍 Case 8: Only locality ID (no region) - trying to load by locality"), i && console.warn("Cannot load localities without region ID"), r && Z && await V(_e)) : !De && !We && !_e && Z && console.log("📍 Case 9: Only street ID - cannot determine hierarchy"), console.log("✅ Auto-fill completed successfully");
13050
+ De && !je && !_e && !Z ? (console.log("📍 Case 1: Only region ID provided"), e && await q(), t && await se(De)) : De && je && !_e && !Z ? (console.log("📍 Case 2: Region + District IDs provided"), e && await q(), t && await se(De), i && await j(je)) : De && !je && _e && !Z ? (console.log("📍 Case 3: Region + Locality IDs (no district)"), e && await q(), t && await se(De), i && await j(De)) : De && je && _e && !Z ? (console.log("📍 Case 4: Region + District + Locality IDs"), e && await q(), t && await se(De), i && await j(je), r && await V(_e)) : De && !je && _e && Z ? (console.log("📍 Case 5: Region + Locality + Street IDs (no district)"), e && await q(), t && await se(De), i && await j(De), r && await V(_e)) : De && je && _e && Z ? (console.log("📍 Case 6: Full hierarchy"), e && await q(), t && await se(De), i && await j(je), r && await V(_e)) : !De && !je && !_e && !Z ? console.log("📍 Case 7: Only text fields provided") : !De && _e ? (console.log("📍 Case 8: Only locality ID (no region) - trying to load by locality"), i && console.warn("Cannot load localities without region ID"), r && Z && await V(_e)) : !De && !je && !_e && Z && console.log("📍 Case 9: Only street ID - cannot determine hierarchy"), console.log("✅ Auto-fill completed successfully");
13051
13051
  } catch (ae) {
13052
13052
  console.error("❌ Error during auto-fill:", ae);
13053
13053
  }
13054
13054
  }, U = async (pe) => {
13055
13055
  console.log("🔄 Auto-filling form with data (skip reset mode):", pe), Object.assign(w.value, pe);
13056
- const De = pe[B.value], We = pe[X.value], _e = pe[O.value], Z = pe[F.value];
13056
+ const De = pe[B.value], je = pe[X.value], _e = pe[O.value], Z = pe[F.value];
13057
+ console.log("📍 Address hierarchy IDs:", {
13058
+ regionId: De,
13059
+ districtId: je,
13060
+ localityId: _e,
13061
+ streetId: Z,
13062
+ finalRegionKey: B.value,
13063
+ finalDistrictKey: X.value,
13064
+ finalLocalityKey: O.value,
13065
+ finalStreetKey: F.value
13066
+ });
13057
13067
  try {
13058
- De && !We && !_e && !Z ? (console.log("📍 Case 1: Only region ID provided"), e && await q(), t && await se(De)) : De && We && !_e && !Z ? (console.log("📍 Case 2: Region + District IDs provided"), e && await q(), t && await se(De), i && await j(We)) : De && !We && _e && !Z ? (console.log("📍 Case 3: Region + Locality IDs (no district)"), e && await q(), t && await se(De), i && await j(De)) : De && We && _e && !Z ? (console.log("📍 Case 4: Region + District + Locality IDs"), e && await q(), t && await se(De), i && await j(We), r && await V(_e)) : De && !We && _e && Z ? (console.log("📍 Case 5: Region + Locality + Street IDs (no district)"), e && await q(), t && await se(De), i && await j(De), r && await V(_e)) : De && We && _e && Z ? (console.log("📍 Case 6: Full hierarchy"), e && await q(), t && await se(De), i && await j(We), r && await V(_e)) : !De && !We && !_e && !Z ? console.log("📍 Case 7: Only text fields provided") : !De && _e ? (console.log("📍 Case 8: Only locality ID (no region) - trying to load by locality"), i && console.warn("Cannot load localities without region ID"), r && Z && await V(_e)) : !De && !We && !_e && Z && console.log("📍 Case 9: Only street ID - cannot determine hierarchy"), console.log("✅ Auto-fill completed successfully (skip reset mode)");
13068
+ De && !je && !_e && !Z ? (console.log("📍 Case 1: Only region ID provided"), e && await q(), t && await se(De)) : De && je && !_e && !Z ? (console.log("📍 Case 2: Region + District IDs provided"), e && await q(), t && await se(De), i && await j(je)) : De && !je && _e && !Z ? (console.log("📍 Case 3: Region + Locality IDs (no district)"), e && await q(), t && await se(De), i && await j(De)) : De && je && _e && !Z ? (console.log("📍 Case 4: Region + District + Locality IDs"), e && await q(), t && await se(De), i && await j(je), r && await V(_e)) : De && !je && _e && Z ? (console.log("📍 Case 5: Region + Locality + Street IDs (no district)"), e && await q(), t && await se(De), i && await j(De), r && await V(_e)) : De && je && _e && Z ? (console.log("📍 Case 6: Full hierarchy"), e && await q(), t && await se(De), i && await j(je), r && await V(_e)) : !De && !je && !_e && !Z ? console.log("📍 Case 7: Only text fields provided") : !De && _e ? (console.log("📍 Case 8: Only locality ID (no region) - trying to load by locality"), i && console.warn("Cannot load localities without region ID"), r && Z && await V(_e)) : !De && !je && !_e && Z && console.log("📍 Case 9: Only street ID - cannot determine hierarchy"), console.log("✅ Auto-fill completed successfully (skip reset mode)");
13059
13069
  } catch (ae) {
13060
13070
  console.error("❌ Error during auto-fill (skip reset mode):", ae);
13061
13071
  }
@@ -13074,7 +13084,7 @@ function mw(n = {}) {
13074
13084
  }), Oe = xe(() => {
13075
13085
  const pe = w.value[J.value];
13076
13086
  return pe ? `${C} ${pe}` : "";
13077
- }), je = xe(() => {
13087
+ }), We = xe(() => {
13078
13088
  const pe = w.value[z.value];
13079
13089
  return pe ? `${g} ${pe}` : "";
13080
13090
  }), He = xe(() => {
@@ -13086,7 +13096,7 @@ function mw(n = {}) {
13086
13096
  fe.value,
13087
13097
  de.value,
13088
13098
  Oe.value,
13089
- je.value,
13099
+ We.value,
13090
13100
  He.value
13091
13101
  ].filter(Boolean).join(", ")), qe = xe(() => {
13092
13102
  const pe = w.value[O.value];
@@ -13118,7 +13128,7 @@ function mw(n = {}) {
13118
13128
  selectedLocalityLabel: fe,
13119
13129
  selectedStreetLabel: de,
13120
13130
  selectedHouseLabel: Oe,
13121
- selectedBuildingLabel: je,
13131
+ selectedBuildingLabel: We,
13122
13132
  selectedApartmentLabel: He,
13123
13133
  fullAddress: Ie,
13124
13134
  isMultiLocalitiesSelected: qe,
@@ -13492,7 +13502,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
13492
13502
  ])) : ke("", !0)
13493
13503
  ]));
13494
13504
  }
13495
- }), JM = /* @__PURE__ */ Ke(_w, [["__scopeId", "data-v-03b1b9ad"]]), Aw = { class: "age-from-to-form" }, Ow = { class: "form-group" }, Lw = {
13505
+ }), JM = /* @__PURE__ */ Ke(_w, [["__scopeId", "data-v-ca0b5f8e"]]), Aw = { class: "age-from-to-form" }, Ow = { class: "form-group" }, Lw = {
13496
13506
  key: 0,
13497
13507
  class: "form-label mb-2"
13498
13508
  }, Pw = { class: "row align-items-center mb-2" }, Fw = { class: "col-auto" }, Hw = { class: "form-label mb-0" }, Iw = { class: "col" }, Vw = { class: "col" }, Bw = { class: "row align-items-center mb-2" }, Nw = { class: "col-auto" }, zw = { class: "form-label mb-0" }, jw = { class: "col" }, Ww = { class: "col" }, Yw = /* @__PURE__ */ Ue({
@@ -27956,12 +27966,12 @@ function mM(n, e, t) {
27956
27966
  te("update", Ze), te("slide", Ze);
27957
27967
  }), le != null && te("drag", he));
27958
27968
  }
27959
- function je(E, _) {
27969
+ function We(E, _) {
27960
27970
  return e.dir ? 100 - E - _ : E;
27961
27971
  }
27962
27972
  function He(E, _) {
27963
27973
  p[E] = _, k[E] = d.fromStepping(_);
27964
- var P = je(_, 0) - x, K = "translate(" + de(P + "%", "0") + ")";
27974
+ var P = We(_, 0) - x, K = "translate(" + de(P + "%", "0") + ")";
27965
27975
  if (u[E].style[e.transformRule] = K, e.events.invertConnects && p.length > 1) {
27966
27976
  var le = p.every(function(ue, he, me) {
27967
27977
  return he === 0 || ue >= me[he - 1];
@@ -27990,7 +28000,7 @@ function mM(n, e, t) {
27990
28000
  });
27991
28001
  var P = 0, K = 100;
27992
28002
  E !== 0 && (P = _[E - 1]), E !== c.length - 1 && (K = _[E]);
27993
- var le = K - P, ue = "translate(" + de(je(P, le) + "%", "0") + ")", he = "scale(" + de(le / 100, "1") + ")";
28003
+ var le = K - P, ue = "translate(" + de(We(P, le) + "%", "0") + ")", he = "scale(" + de(le / 100, "1") + ")";
27994
28004
  c[E].style[e.transformRule] = ue + " " + he;
27995
28005
  }
27996
28006
  }
@@ -28017,7 +28027,7 @@ function mM(n, e, t) {
28017
28027
  te("update", me), K[me] !== null && _ && te("set", me);
28018
28028
  });
28019
28029
  }
28020
- function We(E) {
28030
+ function je(E) {
28021
28031
  De(e.start, E);
28022
28032
  }
28023
28033
  function _e(E, _, P, K) {
@@ -28102,7 +28112,7 @@ function mM(n, e, t) {
28102
28112
  get: Z,
28103
28113
  set: De,
28104
28114
  setHandle: _e,
28105
- reset: We,
28115
+ reset: je,
28106
28116
  disable: G,
28107
28117
  enable: I,
28108
28118
  // Exposed for unit testing, don't use this in your application.