@milaboratories/uikit 2.2.28 → 2.2.30

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/pl-uikit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Ro = Object.defineProperty;
2
2
  var Po = (n, e, t) => e in n ? Ro(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Rn = (n, e, t) => Po(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as N, openBlock as u, createElementBlock as p, Fragment as ae, renderList as ce, withModifiers as se, createElementVNode as v, toDisplayString as M, h as xn, render as Pn, inject as fn, reactive as de, computed as g, ref as F, normalizeClass as E, unref as y, createBlock as Z, resolveDynamicComponent as Kn, createTextVNode as f, renderSlot as W, createCommentVNode as $, normalizeStyle as oe, nextTick as Ne, onMounted as he, onUnmounted as Le, watchEffect as Yn, watch as ie, provide as Nt, watchPostEffect as Xt, createVNode as J, withCtx as Q, useSlots as _e, mergeModels as Je, useModel as mt, withKeys as Te, Teleport as vt, mergeProps as me, toRef as It, Transition as Jt, withDirectives as xe, vModelText as Me, normalizeProps as Ao, guardReactiveProps as Do, onUpdated as Mo, onBeforeUnmount as Io, vModelDynamic as Lo, useCssVars as Fo, useTemplateRef as $n, vShow as An, createSlots as Gn, useAttrs as Xn, getCurrentScope as jo, onScopeDispose as No, readonly as zo } from "vue";
4
+ import { defineComponent as N, openBlock as u, createElementBlock as p, Fragment as ae, renderList as ce, withModifiers as se, createElementVNode as v, toDisplayString as M, h as xn, render as Pn, inject as fn, reactive as de, computed as g, ref as F, normalizeClass as E, unref as y, createBlock as Z, resolveDynamicComponent as Kn, createTextVNode as f, renderSlot as W, createCommentVNode as $, normalizeStyle as oe, nextTick as Ne, onMounted as he, onUnmounted as Le, watchEffect as Yn, watch as ie, provide as Nt, watchPostEffect as Xt, createVNode as J, withCtx as Q, useSlots as _e, withDirectives as be, mergeModels as Je, useModel as mt, withKeys as Te, Teleport as vt, mergeProps as me, toRef as It, Transition as Jt, vModelText as Me, normalizeProps as Ao, guardReactiveProps as Do, onUpdated as Mo, onBeforeUnmount as Io, vModelDynamic as Lo, useCssVars as Fo, useTemplateRef as $n, vShow as An, createSlots as Gn, useAttrs as Xn, getCurrentScope as jo, onScopeDispose as No, readonly as zo } from "vue";
5
5
  function zt(n, e) {
6
6
  if (n == null)
7
7
  throw Error(e ?? "Empty (null | undefined) value");
@@ -403,7 +403,7 @@ function Es(n, e) {
403
403
  const t = e.indexOf(n) + 1;
404
404
  return e[t >= e.length ? 0 : t];
405
405
  }
406
- function Bs(n, e) {
406
+ function Os(n, e) {
407
407
  const t = n.findIndex(e);
408
408
  if (t < 0)
409
409
  return [];
@@ -415,7 +415,7 @@ function Bs(n, e) {
415
415
  })();
416
416
  return n.slice(t, s);
417
417
  }
418
- const Os = ["^data-col-id"], Rs = /* @__PURE__ */ N({
418
+ const Bs = ["^data-col-id"], Rs = /* @__PURE__ */ N({
419
419
  __name: "ThCell",
420
420
  props: {
421
421
  col: {}
@@ -451,7 +451,7 @@ const Os = ["^data-col-id"], Rs = /* @__PURE__ */ N({
451
451
  class: E(["sort", r.col.sort.direction]),
452
452
  onClick: i[0] || (i[0] = se(() => o(r.col), ["stop"]))
453
453
  }, null, 2)) : $("", !0)
454
- ], 42, Os));
454
+ ], 42, Bs));
455
455
  }
456
456
  }), Ps = /* @__PURE__ */ N({
457
457
  __name: "TrBody",
@@ -912,7 +912,7 @@ const or = { class: "command-menu__container" }, sr = {
912
912
  key: q,
913
913
  col: V,
914
914
  style: oe(V.style),
915
- "onChange:sort": I[0] || (I[0] = (O) => D.$emit("change:sort", O))
915
+ "onChange:sort": I[0] || (I[0] = (B) => D.$emit("change:sort", B))
916
916
  }, null, 8, ["col", "style"]))), 128))
917
917
  ]),
918
918
  _: 1
@@ -939,10 +939,10 @@ const or = { class: "command-menu__container" }, sr = {
939
939
  row: V
940
940
  }, {
941
941
  default: Q(() => [
942
- (u(!0), p(ae, null, ce(V.cells, (O) => (u(), Z(ks, {
943
- key: O.column.id + ":" + q,
944
- cell: O,
945
- style: oe(O.style)
942
+ (u(!0), p(ae, null, ce(V.cells, (B) => (u(), Z(ks, {
943
+ key: B.column.id + ":" + q,
944
+ cell: B,
945
+ style: oe(B.style)
946
946
  }, null, 8, ["cell", "style"]))), 128))
947
947
  ]),
948
948
  _: 2
@@ -954,7 +954,7 @@ const or = { class: "command-menu__container" }, sr = {
954
954
  key: q,
955
955
  column: V,
956
956
  style: oe(V.style),
957
- "onChange:sort": I[1] || (I[1] = (O) => D.$emit("change:sort", O))
957
+ "onChange:sort": I[1] || (I[1] = (B) => D.$emit("change:sort", B))
958
958
  }, null, 8, ["column", "style"]))), 128))
959
959
  ]),
960
960
  I[10] || (I[10] = f()),
@@ -995,7 +995,7 @@ class lr {
995
995
  return this.dataHeight;
996
996
  }
997
997
  async getRows(e, t) {
998
- return Bs(this.rows, (s) => {
998
+ return Os(this.rows, (s) => {
999
999
  const o = s.offset;
1000
1000
  return e < o + s.height && o < t + e;
1001
1001
  });
@@ -1209,7 +1209,7 @@ const Sm = /* @__PURE__ */ N({
1209
1209
  }), Sr = {
1210
1210
  key: 0,
1211
1211
  class: "pl-block-page__title"
1212
- }, Tr = { class: "pl-block-page__title__default" }, Er = { class: "pl-block-page__title__append" }, Br = { key: 1 }, Or = { class: "pl-block-page__body" }, Rr = {
1212
+ }, Tr = { class: "pl-block-page__title__default" }, Er = { class: "pl-block-page__title__append" }, Or = { key: 1 }, Br = { class: "pl-block-page__body" }, Rr = {
1213
1213
  name: "PlBlockPage"
1214
1214
  }, Tm = /* @__PURE__ */ N({
1215
1215
  ...Rr,
@@ -1217,22 +1217,33 @@ const Sm = /* @__PURE__ */ N({
1217
1217
  noBodyGutters: { type: Boolean }
1218
1218
  },
1219
1219
  setup(n) {
1220
- const e = _e();
1221
- return (t, s) => (u(), p("div", {
1222
- class: E(["pl-layout-component pl-block-page", { noBodyGutters: t.noBodyGutters }])
1220
+ const e = _e(), t = (o) => {
1221
+ o.removeAttribute("title"), o.clientWidth < o.scrollWidth && o.setAttribute("title", o.innerText);
1222
+ }, s = {
1223
+ mounted: t,
1224
+ updated: t
1225
+ };
1226
+ return (o, r) => (u(), p("div", {
1227
+ class: E(["pl-layout-component pl-block-page", { noBodyGutters: o.noBodyGutters }])
1223
1228
  }, [
1224
1229
  y(e).title ? (u(), p("div", Sr, [
1225
1230
  v("div", Tr, [
1226
- W(t.$slots, "title")
1231
+ be((u(), p("span", null, [
1232
+ W(o.$slots, "title")
1233
+ ])), [
1234
+ [s]
1235
+ ]),
1236
+ r[0] || (r[0] = f()),
1237
+ W(o.$slots, "after-title")
1227
1238
  ]),
1228
- s[0] || (s[0] = f()),
1239
+ r[1] || (r[1] = f()),
1229
1240
  v("div", Er, [
1230
- W(t.$slots, "append")
1241
+ W(o.$slots, "append")
1231
1242
  ])
1232
- ])) : (u(), p("div", Br)),
1233
- s[1] || (s[1] = f()),
1234
- v("div", Or, [
1235
- W(t.$slots, "default")
1243
+ ])) : (u(), p("div", Or)),
1244
+ r[2] || (r[2] = f()),
1245
+ v("div", Br, [
1246
+ W(o.$slots, "default")
1236
1247
  ])
1237
1248
  ], 2));
1238
1249
  }
@@ -1256,7 +1267,7 @@ const Sm = /* @__PURE__ */ N({
1256
1267
  }
1257
1268
  }), Ar = {
1258
1269
  name: "PlRow"
1259
- }, Bm = /* @__PURE__ */ N({
1270
+ }, Om = /* @__PURE__ */ N({
1260
1271
  ...Ar,
1261
1272
  props: {
1262
1273
  wrap: { type: Boolean },
@@ -1275,7 +1286,7 @@ const Sm = /* @__PURE__ */ N({
1275
1286
  style: { "flex-grow": "1" }
1276
1287
  }, Mr = {
1277
1288
  name: "PlSpacer"
1278
- }, Om = /* @__PURE__ */ N({
1289
+ }, Bm = /* @__PURE__ */ N({
1279
1290
  ...Mr,
1280
1291
  setup(n) {
1281
1292
  return (e, t) => (u(), p("div", Dr));
@@ -1500,7 +1511,7 @@ const Gr = /* @__PURE__ */ N({
1500
1511
  function q() {
1501
1512
  o("click");
1502
1513
  }
1503
- const O = (_) => {
1514
+ const B = (_) => {
1504
1515
  var b, x;
1505
1516
  if (["ArrowDown", "ArrowUp", "Enter", "Escape"].includes(_.code))
1506
1517
  _.preventDefault();
@@ -1520,9 +1531,9 @@ const Gr = /* @__PURE__ */ N({
1520
1531
  if (!Y)
1521
1532
  return;
1522
1533
  _.code === "Enter" && V((x = A.find((L) => L.index === S)) == null ? void 0 : x.value);
1523
- const P = A.findIndex((L) => L.index === S) ?? -1, U = _.code === "ArrowDown" ? 1 : _.code === "ArrowUp" ? -1 : 0, B = Math.abs(P + U + Y) % Y;
1524
- c.activeIndex = C.value[B].index ?? -1;
1525
- }, R = (_) => {
1534
+ const R = A.findIndex((L) => L.index === S) ?? -1, U = _.code === "ArrowDown" ? 1 : _.code === "ArrowUp" ? -1 : 0, O = Math.abs(R + U + Y) % Y;
1535
+ c.activeIndex = C.value[O].index ?? -1;
1536
+ }, P = (_) => {
1526
1537
  var S, A;
1527
1538
  const h = _.relatedTarget;
1528
1539
  !((S = i.value) != null && S.contains(h)) && !((A = l.value) != null && A.contains(h)) && (c.open = !1);
@@ -1531,8 +1542,8 @@ const Gr = /* @__PURE__ */ N({
1531
1542
  ref_key: "root",
1532
1543
  ref: i,
1533
1544
  class: E([{ disabled: _.disabled || D.value, loading: D.value }, "pl-btn-split d-flex"]),
1534
- onFocusout: R,
1535
- onKeydown: O
1545
+ onFocusout: P,
1546
+ onKeydown: B
1536
1547
  }, [
1537
1548
  v("div", {
1538
1549
  ref_key: "buttonAction",
@@ -1832,7 +1843,7 @@ function hl(n, e) {
1832
1843
  }
1833
1844
  const gl = /* @__PURE__ */ $e(ml, [["render", hl]]), dn = /* @__PURE__ */ new Map(), yl = {
1834
1845
  name: "PlTooltip"
1835
- }, we = /* @__PURE__ */ N({
1846
+ }, ke = /* @__PURE__ */ N({
1836
1847
  ...yl,
1837
1848
  props: {
1838
1849
  openDelay: { default: 100 },
@@ -1972,7 +1983,7 @@ const kl = /* @__PURE__ */ $e(_l, [["render", wl]]), xl = { key: 0 }, $l = ["tab
1972
1983
  l.label ? (u(), p("label", xl, [
1973
1984
  v("span", null, M(l.label), 1),
1974
1985
  a[0] || (a[0] = f()),
1975
- y(t).tooltip ? (u(), Z(y(we), {
1986
+ y(t).tooltip ? (u(), Z(y(ke), {
1976
1987
  key: 0,
1977
1988
  class: "info",
1978
1989
  position: "top"
@@ -2024,9 +2035,9 @@ function El(n, e) {
2024
2035
  reset: i
2025
2036
  });
2026
2037
  }
2027
- const Bl = "_component_1abv8_1", Ol = "_container_1abv8_15", Rl = "_error_1abv8_69", un = {
2028
- component: Bl,
2029
- container: Ol,
2038
+ const Ol = "_component_1abv8_1", Bl = "_container_1abv8_15", Rl = "_error_1abv8_69", un = {
2039
+ component: Ol,
2040
+ container: Bl,
2030
2041
  error: Rl
2031
2042
  }, Pl = { key: 0 }, Al = ["placeholder"], Lm = /* @__PURE__ */ N({
2032
2043
  __name: "PlEditableTitle",
@@ -2073,7 +2084,7 @@ const Bl = "_component_1abv8_1", Ol = "_container_1abv8_15", Rl = "_error_1abv8_
2073
2084
  }, [
2074
2085
  l.prefix ? (u(), p("span", Pl, M(l.prefix.trim()) + " ", 1)) : $("", !0),
2075
2086
  a[4] || (a[4] = f()),
2076
- xe(v("input", {
2087
+ be(v("input", {
2077
2088
  ref_key: "inputRef",
2078
2089
  ref: i,
2079
2090
  "onUpdate:modelValue": a[0] || (a[0] = (d) => y(s).value = d),
@@ -2232,66 +2243,66 @@ const jl = /* @__PURE__ */ N({
2232
2243
  get() {
2233
2244
  return l.cached ? l.cached.value : t.value === void 0 || t.value === null ? "" : String(t.value);
2234
2245
  },
2235
- set(R) {
2246
+ set(P) {
2236
2247
  if (l.cached = void 0, s.parse)
2237
2248
  try {
2238
- t.value = s.parse(R);
2249
+ t.value = s.parse(P);
2239
2250
  } catch (_) {
2240
2251
  l.cached = {
2241
2252
  error: _ instanceof Error ? _.message : String(_),
2242
- value: R
2253
+ value: P
2243
2254
  };
2244
2255
  }
2245
2256
  else
2246
- t.value = R;
2257
+ t.value = P;
2247
2258
  }
2248
2259
  }), d = g(() => s.type && s.type === "password" ? i.value ? "text" : s.type : "text"), c = g(() => i.value ? "view-show" : "view-hide"), m = () => {
2249
2260
  s.clearable && (l.cached = void 0, t.value = s.clearable === !0 ? "" : s.clearable());
2250
2261
  }, k = co(a, s.rules || []), w = g(() => s.clearable ? s.clearable === !0 ? t.value === "" : t.value === s.clearable() : t.value === ""), C = g(() => !w.value), D = g(() => {
2251
- const R = [];
2252
- return s.error && R.push(s.error), l.cached && R.push(l.cached.error), k.value.isValid || R.push(...k.value.errors), R;
2253
- }), I = g(() => D.value.length > 0), V = g(() => s.clearable && C.value && s.type !== "password" && !s.disabled), q = () => i.value = !i.value, O = () => {
2262
+ const P = [];
2263
+ return s.error && P.push(s.error), l.cached && P.push(l.cached.error), k.value.isValid || P.push(...k.value.errors), P;
2264
+ }), I = g(() => D.value.length > 0), V = g(() => s.clearable && C.value && s.type !== "password" && !s.disabled), q = () => i.value = !i.value, B = () => {
2254
2265
  l.cached = void 0;
2255
2266
  };
2256
- return Ke(o), (R, _) => (u(), p("div", Kl, [
2267
+ return Ke(o), (P, _) => (u(), p("div", Kl, [
2257
2268
  v("div", {
2258
2269
  ref_key: "rootRef",
2259
2270
  ref: o,
2260
2271
  class: E(["pl-text-field", {
2261
2272
  error: I.value,
2262
- disabled: R.disabled,
2263
- dashed: R.dashed,
2273
+ disabled: P.disabled,
2274
+ dashed: P.dashed,
2264
2275
  nonEmpty: C.value
2265
2276
  }])
2266
2277
  }, [
2267
- R.label ? (u(), p("label", Yl, [
2268
- R.required ? (u(), p("i", Gl)) : $("", !0),
2278
+ P.label ? (u(), p("label", Yl, [
2279
+ P.required ? (u(), p("i", Gl)) : $("", !0),
2269
2280
  _[1] || (_[1] = f()),
2270
- v("span", null, M(R.label), 1),
2281
+ v("span", null, M(P.label), 1),
2271
2282
  _[2] || (_[2] = f()),
2272
- y(e).tooltip ? (u(), Z(y(we), {
2283
+ y(e).tooltip ? (u(), Z(y(ke), {
2273
2284
  key: 1,
2274
2285
  class: "info",
2275
2286
  position: "top"
2276
2287
  }, {
2277
2288
  tooltip: Q(() => [
2278
- W(R.$slots, "tooltip")
2289
+ W(P.$slots, "tooltip")
2279
2290
  ]),
2280
2291
  _: 3
2281
2292
  })) : $("", !0)
2282
2293
  ], 512)) : $("", !0),
2283
2294
  _[5] || (_[5] = f()),
2284
- R.prefix ? (u(), p("div", Xl, M(R.prefix), 1)) : $("", !0),
2295
+ P.prefix ? (u(), p("div", Xl, M(P.prefix), 1)) : $("", !0),
2285
2296
  _[6] || (_[6] = f()),
2286
- xe(v("input", {
2297
+ be(v("input", {
2287
2298
  ref_key: "inputRef",
2288
2299
  ref: r,
2289
2300
  "onUpdate:modelValue": _[0] || (_[0] = (h) => a.value = h),
2290
- disabled: R.disabled,
2291
- placeholder: R.placeholder || "...",
2301
+ disabled: P.disabled,
2302
+ placeholder: P.placeholder || "...",
2292
2303
  type: d.value,
2293
2304
  spellcheck: "false",
2294
- onFocusout: O
2305
+ onFocusout: B
2295
2306
  }, null, 40, Jl), [
2296
2307
  [Lo, a.value]
2297
2308
  ]),
@@ -2304,20 +2315,20 @@ const jl = /* @__PURE__ */ N({
2304
2315
  onClick: m
2305
2316
  })) : $("", !0),
2306
2317
  _[3] || (_[3] = f()),
2307
- R.type === "password" ? (u(), Z(y(De), {
2318
+ P.type === "password" ? (u(), Z(y(De), {
2308
2319
  key: 1,
2309
2320
  name: c.value,
2310
2321
  style: { cursor: "pointer" },
2311
2322
  onClick: q
2312
2323
  }, null, 8, ["name"])) : $("", !0),
2313
2324
  _[4] || (_[4] = f()),
2314
- W(R.$slots, "append")
2325
+ W(P.$slots, "append")
2315
2326
  ]),
2316
2327
  _[8] || (_[8] = f()),
2317
2328
  J(qe, { class: "pl-text-field__contour" })
2318
2329
  ], 2),
2319
2330
  _[9] || (_[9] = f()),
2320
- I.value ? (u(), p("div", ei, M(D.value.join(" ")), 1)) : R.helper ? (u(), p("div", ti, M(R.helper), 1)) : $("", !0)
2331
+ I.value ? (u(), p("div", ei, M(D.value.join(" ")), 1)) : P.helper ? (u(), p("div", ti, M(P.helper), 1)) : $("", !0)
2321
2332
  ]));
2322
2333
  }
2323
2334
  }), oi = /* @__PURE__ */ N({
@@ -2361,7 +2372,7 @@ const jl = /* @__PURE__ */ N({
2361
2372
  }, [
2362
2373
  J(y(po), { name: "search" }),
2363
2374
  c[1] || (c[1] = f()),
2364
- xe(v("input", {
2375
+ be(v("input", {
2365
2376
  ref_key: "input",
2366
2377
  ref: r,
2367
2378
  "onUpdate:modelValue": c[0] || (c[0] = (m) => i.value = m),
@@ -2449,7 +2460,7 @@ const jl = /* @__PURE__ */ N({
2449
2460
  C[1] || (C[1] = f()),
2450
2461
  v("span", null, M(w.label), 1),
2451
2462
  C[2] || (C[2] = f()),
2452
- y(t).tooltip ? (u(), Z(y(we), {
2463
+ y(t).tooltip ? (u(), Z(y(ke), {
2453
2464
  key: 1,
2454
2465
  class: "info",
2455
2466
  position: "top"
@@ -2461,7 +2472,7 @@ const jl = /* @__PURE__ */ N({
2461
2472
  })) : $("", !0)
2462
2473
  ], 512)) : $("", !0),
2463
2474
  C[3] || (C[3] = f()),
2464
- xe(v("textarea", {
2475
+ be(v("textarea", {
2465
2476
  ref_key: "input",
2466
2477
  ref: i,
2467
2478
  "onUpdate:modelValue": C[0] || (C[0] = (D) => l.value = D),
@@ -2489,11 +2500,11 @@ const jl = /* @__PURE__ */ N({
2489
2500
  function Nn(n) {
2490
2501
  return n !== null && typeof n == "object";
2491
2502
  }
2492
- function ke(n, e) {
2493
- return Nn(n) && Nn(e) ? Object.keys(n).length !== Object.keys(e).length ? !1 : Object.keys(n).every((t) => ke(n[t], e[t])) : n === e;
2503
+ function xe(n, e) {
2504
+ return Nn(n) && Nn(e) ? Object.keys(n).length !== Object.keys(e).length ? !1 : Object.keys(n).every((t) => xe(n[t], e[t])) : n === e;
2494
2505
  }
2495
2506
  function cn(n, e) {
2496
- return n.some((t) => ke(t, e));
2507
+ return n.some((t) => xe(t, e));
2497
2508
  }
2498
2509
  const fo = /* @__PURE__ */ N({
2499
2510
  __name: "LongText",
@@ -2604,7 +2615,7 @@ const vo = /* @__PURE__ */ N({
2604
2615
  ], 16)
2605
2616
  ]));
2606
2617
  }
2607
- }), $i = { class: "pl-dropdown__envelope" }, Ci = ["tabindex"], Vi = { class: "pl-dropdown__container" }, Si = { class: "pl-dropdown__field" }, Ti = ["disabled", "placeholder"], Ei = { class: "pl-dropdown__controls" }, Bi = { key: 0 }, Oi = {
2618
+ }), $i = { class: "pl-dropdown__envelope" }, Ci = ["tabindex"], Vi = { class: "pl-dropdown__container" }, Si = { class: "pl-dropdown__field" }, Ti = ["disabled", "placeholder"], Ei = { class: "pl-dropdown__controls" }, Oi = { key: 0 }, Bi = {
2608
2619
  key: 0,
2609
2620
  class: "required-icon"
2610
2621
  }, Ri = {
@@ -2646,9 +2657,9 @@ const vo = /* @__PURE__ */ N({
2646
2657
  open: !1,
2647
2658
  optionsHeight: 0
2648
2659
  }), d = () => Ft(
2649
- O.value.findIndex((B) => ke(B.value, s.modelValue)),
2650
- (B) => B < 0 ? 0 : B
2651
- ), c = () => a.activeIndex = d(), m = g(() => s.options === void 0), k = g(() => m.value ? !0 : s.disabled), w = g(() => (s.options ?? []).findIndex((B) => ke(B.value, s.modelValue))), C = g(() => {
2660
+ B.value.findIndex((O) => xe(O.value, s.modelValue)),
2661
+ (O) => O < 0 ? 0 : O
2662
+ ), c = () => a.activeIndex = d(), m = g(() => s.options === void 0), k = g(() => m.value ? !0 : s.disabled), w = g(() => (s.options ?? []).findIndex((O) => xe(O.value, s.modelValue))), C = g(() => {
2652
2663
  if (!m.value) {
2653
2664
  if (s.error)
2654
2665
  return s.error;
@@ -2656,71 +2667,71 @@ const vo = /* @__PURE__ */ N({
2656
2667
  return "The selected value is not one of the options";
2657
2668
  }
2658
2669
  }), D = g(
2659
- () => Qe(s.options ?? []).map((B, b) => ({
2660
- ...B,
2670
+ () => Qe(s.options ?? []).map((O, b) => ({
2671
+ ...O,
2661
2672
  index: b,
2662
2673
  isSelected: b === w.value,
2663
2674
  isActive: b === a.activeIndex
2664
2675
  }))
2665
2676
  ), I = g(() => {
2666
- const b = y(D).find((x) => ke(x.value, s.modelValue));
2677
+ const b = y(D).find((x) => xe(x.value, s.modelValue));
2667
2678
  return (b == null ? void 0 : b.label) || s.modelValue;
2668
- }), V = g(() => !a.open && s.modelValue ? "" : s.modelValue ? String(I.value) : s.placeholder), q = g(() => s.modelValue !== void 0 && s.modelValue !== null), O = g(() => {
2669
- const B = D.value;
2670
- return a.search ? B.filter((b) => {
2679
+ }), V = g(() => !a.open && s.modelValue ? "" : s.modelValue ? String(I.value) : s.placeholder), q = g(() => s.modelValue !== void 0 && s.modelValue !== null), B = g(() => {
2680
+ const O = D.value;
2681
+ return a.search ? O.filter((b) => {
2671
2682
  const x = a.search.toLowerCase();
2672
2683
  return b.label.toLowerCase().includes(x) || b.description && b.description.toLowerCase().includes(x) ? !0 : typeof b.value == "string" ? b.value.toLowerCase().includes(x) : b.value === a.search;
2673
- }) : B;
2674
- }), R = g(() => k.value ? void 0 : "0"), _ = (B) => {
2684
+ }) : O;
2685
+ }), P = g(() => k.value ? void 0 : "0"), _ = (O) => {
2675
2686
  var b;
2676
- t("update:modelValue", B), a.search = "", a.open = !1, (b = r == null ? void 0 : r.value) == null || b.focus();
2687
+ t("update:modelValue", O), a.search = "", a.open = !1, (b = r == null ? void 0 : r.value) == null || b.focus();
2677
2688
  }, h = () => t("update:modelValue", void 0), S = () => {
2678
- var B;
2679
- return (B = i.value) == null ? void 0 : B.focus();
2680
- }, A = () => a.open = !a.open, Y = () => a.open = !0, P = (B) => {
2689
+ var O;
2690
+ return (O = i.value) == null ? void 0 : O.focus();
2691
+ }, A = () => a.open = !a.open, Y = () => a.open = !0, R = (O) => {
2681
2692
  var x, L, j;
2682
- const b = B.relatedTarget;
2693
+ const b = O.relatedTarget;
2683
2694
  !((x = r.value) != null && x.contains(b)) && !((j = (L = l.value) == null ? void 0 : L.listRef) != null && j.contains(b)) && (a.search = "", a.open = !1);
2684
- }, U = (B) => {
2695
+ }, U = (O) => {
2685
2696
  var ot, ht;
2686
- if (["ArrowDown", "ArrowUp", "Enter", "Escape"].includes(B.code))
2687
- B.preventDefault();
2697
+ if (["ArrowDown", "ArrowUp", "Enter", "Escape"].includes(O.code))
2698
+ O.preventDefault();
2688
2699
  else
2689
2700
  return;
2690
2701
  const { open: b, activeIndex: x } = a;
2691
2702
  if (!b) {
2692
- B.code === "Enter" && (a.open = !0);
2703
+ O.code === "Enter" && (a.open = !0);
2693
2704
  return;
2694
2705
  }
2695
- B.code === "Escape" && (a.open = !1, (ot = r.value) == null || ot.focus());
2696
- const L = y(O), { length: j } = L;
2706
+ O.code === "Escape" && (a.open = !1, (ot = r.value) == null || ot.focus());
2707
+ const L = y(B), { length: j } = L;
2697
2708
  if (!j)
2698
2709
  return;
2699
- B.code === "Enter" && _((ht = L.find((st) => st.index === x)) == null ? void 0 : ht.value);
2700
- const ne = L.findIndex((st) => st.index === x) ?? -1, re = B.code === "ArrowDown" ? 1 : B.code === "ArrowUp" ? -1 : 0, Ye = Math.abs(ne + re + j) % j;
2701
- a.activeIndex = O.value[Ye].index ?? -1;
2710
+ O.code === "Enter" && _((ht = L.find((st) => st.index === x)) == null ? void 0 : ht.value);
2711
+ const ne = L.findIndex((st) => st.index === x) ?? -1, re = O.code === "ArrowDown" ? 1 : O.code === "ArrowUp" ? -1 : 0, Ye = Math.abs(ne + re + j) % j;
2712
+ a.activeIndex = B.value[Ye].index ?? -1;
2702
2713
  };
2703
2714
  return Ke(r), ie(() => s.modelValue, c, { immediate: !0 }), ie(
2704
2715
  () => a.open,
2705
- (B) => {
2716
+ (O) => {
2706
2717
  var b;
2707
- return B ? (b = i.value) == null ? void 0 : b.focus() : "";
2718
+ return O ? (b = i.value) == null ? void 0 : b.focus() : "";
2708
2719
  }
2709
2720
  ), Xt(() => {
2710
- var B;
2711
- a.search, a.activeIndex >= 0 && a.open && ((B = l.value) == null || B.scrollIntoActive());
2712
- }), (B, b) => (u(), p("div", $i, [
2721
+ var O;
2722
+ a.search, a.activeIndex >= 0 && a.open && ((O = l.value) == null || O.scrollIntoActive());
2723
+ }), (O, b) => (u(), p("div", $i, [
2713
2724
  v("div", {
2714
2725
  ref_key: "rootRef",
2715
2726
  ref: r,
2716
- tabindex: R.value,
2717
- class: E(["pl-dropdown", { open: a.open, error: B.error, disabled: k.value }]),
2727
+ tabindex: P.value,
2728
+ class: E(["pl-dropdown", { open: a.open, error: O.error, disabled: k.value }]),
2718
2729
  onKeydown: U,
2719
- onFocusout: P
2730
+ onFocusout: R
2720
2731
  }, [
2721
2732
  v("div", Vi, [
2722
2733
  v("div", Si, [
2723
- xe(v("input", {
2734
+ be(v("input", {
2724
2735
  ref_key: "input",
2725
2736
  ref: i,
2726
2737
  "onUpdate:modelValue": b[0] || (b[0] = (x) => a.search = x),
@@ -2753,21 +2764,21 @@ const vo = /* @__PURE__ */ N({
2753
2764
  name: "loading"
2754
2765
  })) : $("", !0),
2755
2766
  b[1] || (b[1] = f()),
2756
- B.clearable && q.value ? (u(), Z(y(ut), {
2767
+ O.clearable && q.value ? (u(), Z(y(ut), {
2757
2768
  key: 1,
2758
2769
  name: "delete-clear",
2759
2770
  onClick: se(h, ["stop"])
2760
2771
  })) : $("", !0),
2761
2772
  b[2] || (b[2] = f()),
2762
- W(B.$slots, "append"),
2773
+ W(O.$slots, "append"),
2763
2774
  b[3] || (b[3] = f()),
2764
- B.arrowIconLarge ? (u(), p("div", {
2775
+ O.arrowIconLarge ? (u(), p("div", {
2765
2776
  key: 2,
2766
- class: E(["arrow-icon", [`icon-24 ${B.arrowIconLarge}`]]),
2777
+ class: E(["arrow-icon", [`icon-24 ${O.arrowIconLarge}`]]),
2767
2778
  onClick: se(A, ["stop"])
2768
- }, null, 2)) : B.arrowIcon ? (u(), p("div", {
2779
+ }, null, 2)) : O.arrowIcon ? (u(), p("div", {
2769
2780
  key: 3,
2770
- class: E(["arrow-icon", [`icon-16 ${B.arrowIcon}`]]),
2781
+ class: E(["arrow-icon", [`icon-16 ${O.arrowIcon}`]]),
2771
2782
  onClick: se(A, ["stop"])
2772
2783
  }, null, 2)) : (u(), p("div", {
2773
2784
  key: 4,
@@ -2777,18 +2788,18 @@ const vo = /* @__PURE__ */ N({
2777
2788
  ])
2778
2789
  ]),
2779
2790
  b[9] || (b[9] = f()),
2780
- B.label ? (u(), p("label", Bi, [
2781
- B.required ? (u(), p("i", Oi)) : $("", !0),
2791
+ O.label ? (u(), p("label", Oi, [
2792
+ O.required ? (u(), p("i", Bi)) : $("", !0),
2782
2793
  b[6] || (b[6] = f()),
2783
- v("span", null, M(B.label), 1),
2794
+ v("span", null, M(O.label), 1),
2784
2795
  b[7] || (b[7] = f()),
2785
- y(o).tooltip ? (u(), Z(y(we), {
2796
+ y(o).tooltip ? (u(), Z(y(ke), {
2786
2797
  key: 1,
2787
2798
  class: "info",
2788
2799
  position: "top"
2789
2800
  }, {
2790
2801
  tooltip: Q(() => [
2791
- W(B.$slots, "tooltip")
2802
+ W(O.$slots, "tooltip")
2792
2803
  ]),
2793
2804
  _: 3
2794
2805
  })) : $("", !0)
@@ -2804,16 +2815,16 @@ const vo = /* @__PURE__ */ N({
2804
2815
  gap: 3
2805
2816
  }, {
2806
2817
  default: Q(() => [
2807
- (u(!0), p(ae, null, ce(O.value, (x, L) => (u(), Z(Lt, {
2818
+ (u(!0), p(ae, null, ce(B.value, (x, L) => (u(), Z(Lt, {
2808
2819
  key: L,
2809
2820
  option: x,
2810
2821
  "is-selected": x.isSelected,
2811
2822
  "is-hovered": x.isActive,
2812
- size: B.optionSize,
2823
+ size: O.optionSize,
2813
2824
  onClick: se((j) => _(x.value), ["stop"])
2814
2825
  }, null, 8, ["option", "is-selected", "is-hovered", "size", "onClick"]))), 128)),
2815
2826
  b[8] || (b[8] = f()),
2816
- O.value.length ? $("", !0) : (u(), p("div", Ri, "Nothing found"))
2827
+ B.value.length ? $("", !0) : (u(), p("div", Ri, "Nothing found"))
2817
2828
  ]),
2818
2829
  _: 1
2819
2830
  }, 8, ["root"])) : $("", !0),
@@ -2822,7 +2833,7 @@ const vo = /* @__PURE__ */ N({
2822
2833
  ])
2823
2834
  ], 42, Ci),
2824
2835
  b[12] || (b[12] = f()),
2825
- C.value ? (u(), p("div", Pi, M(C.value), 1)) : m.value && B.loadingOptionsHelper ? (u(), p("div", Ai, M(B.loadingOptionsHelper), 1)) : B.helper ? (u(), p("div", Di, M(B.helper), 1)) : $("", !0)
2836
+ C.value ? (u(), p("div", Pi, M(C.value), 1)) : m.value && O.loadingOptionsHelper ? (u(), p("div", Ai, M(O.loadingOptionsHelper), 1)) : O.helper ? (u(), p("div", Di, M(O.helper), 1)) : $("", !0)
2826
2837
  ]));
2827
2838
  }
2828
2839
  }), Ii = {
@@ -2872,23 +2883,21 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
2872
2883
  props: {
2873
2884
  modelValue: {},
2874
2885
  placeholder: {},
2875
- value: {},
2876
2886
  disabled: { type: Boolean },
2877
2887
  maxWidth: {},
2878
2888
  width: {}
2879
2889
  },
2880
- emits: ["input", "update:modelValue"],
2890
+ emits: ["update:modelValue"],
2881
2891
  setup(n, { emit: e }) {
2882
2892
  const t = n, s = e, o = g(() => {
2883
2893
  var l;
2884
- return t.placeholder ? t.placeholder : (l = t.modelValue || t.value) == null ? void 0 : l.replace('"', "");
2894
+ return t.placeholder ? t.placeholder : (l = t.modelValue) == null ? void 0 : l.replace('"', "");
2885
2895
  }), r = g(() => {
2886
2896
  const l = {};
2887
2897
  return t.width && (l.width = t.width), t.maxWidth && (l.maxWidth = t.maxWidth), l;
2888
2898
  });
2889
2899
  function i(l) {
2890
- const a = l.target.value;
2891
- s("update:modelValue", a);
2900
+ s("update:modelValue", l.target.value);
2892
2901
  }
2893
2902
  return (l, a) => (u(), p("div", Fi, [
2894
2903
  v("span", {
@@ -2948,30 +2957,34 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
2948
2957
  activeOption: -1,
2949
2958
  optionsHeight: 0
2950
2959
  }), r = F(), i = F(), l = g(() => {
2951
- const P = [];
2952
- return o.isOpen && P.push("open"), s.disabled && P.push("disabled"), P.join(" ");
2960
+ const R = [];
2961
+ return o.isOpen && R.push("open"), s.disabled && R.push("disabled"), R.join(" ");
2953
2962
  }), a = F(""), d = Li(It(s, "options"), a), c = g(() => !!(s.clearable && o.isOpen && s.modelValue && m.value)), m = g(() => {
2954
2963
  if (s.modelValue) {
2955
- const P = C();
2956
- if (P !== -1) {
2957
- const U = Qe(s.options)[P];
2964
+ const R = C();
2965
+ if (R !== -1) {
2966
+ const U = Qe(s.options)[R];
2958
2967
  return typeof U.label == "object" ? U.label.title : U.label;
2959
2968
  }
2960
2969
  }
2961
2970
  return "";
2962
- }), k = F(m.value), w = g(() => o.isOpen && a.value && a.value.length >= m.value.length - 1 ? a.value : m.value ?? "...");
2971
+ }), k = F(m.value);
2972
+ ie(m, (R) => {
2973
+ k.value = R;
2974
+ });
2975
+ const w = g(() => o.isOpen && a.value && a.value.length >= m.value.length - 1 ? a.value : m.value ?? "...");
2963
2976
  Sn(r, () => {
2964
2977
  s.mode === "list" && (o.isOpen = !1);
2965
2978
  }), ie(
2966
2979
  () => k.value,
2967
- (P) => {
2968
- m.value !== P ? a.value = P : a.value = "";
2980
+ (R) => {
2981
+ m.value !== R ? a.value = R : a.value = "";
2969
2982
  }
2970
2983
  ), ie(
2971
2984
  () => o.isOpen,
2972
- (P) => {
2985
+ (R) => {
2973
2986
  var U;
2974
- P && r.value && ((U = r.value.querySelector("input")) == null || U.focus(), Ne(() => S()));
2987
+ R && r.value && ((U = r.value.querySelector("input")) == null || U.focus(), Ne(() => S()));
2975
2988
  }
2976
2989
  ), ie(
2977
2990
  () => s.modelValue,
@@ -2979,13 +2992,13 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
2979
2992
  { immediate: !0 }
2980
2993
  );
2981
2994
  function C() {
2982
- return s.options.findIndex((P) => ke(P.value, s.modelValue));
2995
+ return s.options.findIndex((R) => xe(R.value, s.modelValue));
2983
2996
  }
2984
2997
  function D() {
2985
2998
  o.activeOption = Ft(
2986
- d.value.findIndex((P) => ke(P.value, s.modelValue)),
2987
- (P) => P < 0 ? 0 : P
2988
- ), k.value = m.value;
2999
+ d.value.findIndex((R) => xe(R.value, s.modelValue)),
3000
+ (R) => R < 0 ? 0 : R
3001
+ );
2989
3002
  }
2990
3003
  function I() {
2991
3004
  a.value = "";
@@ -2998,34 +3011,34 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
2998
3011
  function q() {
2999
3012
  s.mode === "list" && (o.isOpen = !1);
3000
3013
  }
3001
- function O(P) {
3002
- P && (t("update:modelValue", P.value), q(), I());
3014
+ function B(R) {
3015
+ R && (t("update:modelValue", R.value), q(), I());
3003
3016
  }
3004
- function R(P) {
3005
- return ke(P.value, s.modelValue);
3017
+ function P(R) {
3018
+ return xe(R.value, s.modelValue);
3006
3019
  }
3007
- const _ = (P) => {
3008
- var B, b;
3009
- const U = P.relatedTarget;
3010
- !((B = r.value) != null && B.contains(U)) && !((b = i.value) != null && b.contains(U)) && (a.value = "", o.isOpen = !1);
3020
+ const _ = (R) => {
3021
+ var O, b;
3022
+ const U = R.relatedTarget;
3023
+ !((O = r.value) != null && O.contains(U)) && !((b = i.value) != null && b.contains(U)) && (a.value = "", o.isOpen = !1);
3011
3024
  };
3012
- function h(P) {
3025
+ function h(R) {
3013
3026
  const { activeOption: U } = o;
3014
- if (!o.isOpen && P.code === "Enter") {
3027
+ if (!o.isOpen && R.code === "Enter") {
3015
3028
  o.isOpen = !0;
3016
3029
  return;
3017
3030
  }
3018
- const { length: B } = d.value;
3019
- if (!B)
3031
+ const { length: O } = d.value;
3032
+ if (!O)
3020
3033
  return;
3021
- ["ArrowDown", "ArrowUp", "Enter"].includes(P.code) && P.preventDefault(), P.code === "Enter" && O(d.value[U]);
3022
- const b = P.code === "ArrowDown" ? 1 : P.code === "ArrowUp" ? -1 : 0;
3023
- o.activeOption = Math.abs(U + b + B) % B, requestAnimationFrame(S);
3034
+ ["ArrowDown", "ArrowUp", "Enter"].includes(R.code) && R.preventDefault(), R.code === "Enter" && B(d.value[U]);
3035
+ const b = R.code === "ArrowDown" ? 1 : R.code === "ArrowUp" ? -1 : 0;
3036
+ o.activeOption = Math.abs(U + b + O) % O, requestAnimationFrame(S);
3024
3037
  }
3025
3038
  function S() {
3026
- const P = i.value;
3027
- P && ve(P.querySelector(".hovered-item"), (U) => {
3028
- s.mode === "list" ? En(P, U) : U.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
3039
+ const R = i.value;
3040
+ R && ve(R.querySelector(".hovered-item"), (U) => {
3041
+ s.mode === "list" ? En(R, U) : U.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
3029
3042
  });
3030
3043
  }
3031
3044
  function A() {
@@ -3035,15 +3048,15 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3035
3048
  top: "0px",
3036
3049
  left: "0px"
3037
3050
  });
3038
- return ie(i, (P) => {
3039
- if (P) {
3040
- const U = P.getBoundingClientRect();
3051
+ return ie(i, (R) => {
3052
+ if (R) {
3053
+ const U = R.getBoundingClientRect();
3041
3054
  o.optionsHeight = U.height, window.dispatchEvent(new CustomEvent("adjust"));
3042
3055
  }
3043
- }), en(r, (P) => {
3044
- const B = P.top + P.height + 2;
3045
- B + o.optionsHeight > P.clientHeight ? Y.top = P.top - o.optionsHeight - 2 + "px" : Y.top = B + "px", Y.left = P.left + "px";
3046
- }), (P, U) => (u(), p("div", {
3056
+ }), en(r, (R) => {
3057
+ const O = R.top + R.height + 2;
3058
+ O + o.optionsHeight > R.clientHeight ? Y.top = R.top - o.optionsHeight - 2 + "px" : Y.top = O + "px", Y.left = R.left + "px";
3059
+ }), (R, U) => (u(), p("div", {
3047
3060
  ref_key: "container",
3048
3061
  ref: r,
3049
3062
  tabindex: "0",
@@ -3056,18 +3069,18 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3056
3069
  U[6] || (U[6] = f()),
3057
3070
  J(Ni, {
3058
3071
  modelValue: k.value,
3059
- "onUpdate:modelValue": U[0] || (U[0] = (B) => k.value = B),
3072
+ "onUpdate:modelValue": U[0] || (U[0] = (O) => k.value = O),
3060
3073
  placeholder: w.value,
3061
3074
  disabled: s.disabled,
3062
3075
  class: "pl-line-dropdown__input"
3063
3076
  }, null, 8, ["modelValue", "placeholder", "disabled"]),
3064
3077
  U[7] || (U[7] = f()),
3065
3078
  v("div", Ui, [
3066
- xe(v("div", Wi, null, 512), [
3079
+ be(v("div", Wi, null, 512), [
3067
3080
  [An, !c.value]
3068
3081
  ]),
3069
3082
  U[1] || (U[1] = f()),
3070
- xe(v("div", {
3083
+ be(v("div", {
3071
3084
  class: "pl-line-dropdown__icon-clear",
3072
3085
  onClick: A
3073
3086
  }, null, 512), [
@@ -3088,21 +3101,21 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3088
3101
  class: "pl-line-dropdown__items",
3089
3102
  onFocusout: _
3090
3103
  }, [
3091
- (u(!0), p(ae, null, ce(y(d), (B, b) => W(P.$slots, "item", {
3104
+ (u(!0), p(ae, null, ce(y(d), (O, b) => W(R.$slots, "item", {
3092
3105
  key: b,
3093
- item: B,
3106
+ item: O,
3094
3107
  textItem: "text",
3095
- isSelected: R(B),
3108
+ isSelected: P(O),
3096
3109
  isHovered: o.activeOption == b,
3097
- onClick: se((x) => O(B), ["stop"])
3110
+ onClick: se((x) => B(O), ["stop"])
3098
3111
  }, () => [
3099
3112
  J(Lt, {
3100
- option: B,
3113
+ option: O,
3101
3114
  "text-item": "text",
3102
- "is-selected": R(B),
3115
+ "is-selected": P(O),
3103
3116
  "is-hovered": o.activeOption == b,
3104
3117
  size: "medium",
3105
- onClick: se((x) => O(B), ["stop"])
3118
+ onClick: se((x) => B(O), ["stop"])
3106
3119
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"])
3107
3120
  ])), 128)),
3108
3121
  U[3] || (U[3] = f()),
@@ -3118,18 +3131,18 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3118
3131
  class: "pl-line-dropdown__items-tabs",
3119
3132
  onFocusout: _
3120
3133
  }, [
3121
- (u(!0), p(ae, null, ce(y(d), (B, b) => W(P.$slots, "item", {
3134
+ (u(!0), p(ae, null, ce(y(d), (O, b) => W(R.$slots, "item", {
3122
3135
  key: b,
3123
- item: B,
3124
- isSelected: R(B),
3136
+ item: O,
3137
+ isSelected: P(O),
3125
3138
  isHovered: o.activeOption == b,
3126
- onClick: se((x) => O(B), ["stop"])
3139
+ onClick: se((x) => B(O), ["stop"])
3127
3140
  }, () => [
3128
3141
  J(Hi, {
3129
- option: B,
3130
- "is-selected": R(B),
3142
+ option: O,
3143
+ "is-selected": P(O),
3131
3144
  "is-hovered": o.activeOption == b,
3132
- onClick: se((x) => O(B), ["stop"])
3145
+ onClick: se((x) => B(O), ["stop"])
3133
3146
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"])
3134
3147
  ])), 128)),
3135
3148
  U[5] || (U[5] = f()),
@@ -3181,9 +3194,9 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3181
3194
  activeIndex: -1,
3182
3195
  open: !1
3183
3196
  }), d = () => Ft(
3184
- O.value.findIndex((b) => ke(b.value, s.modelValue)),
3197
+ B.value.findIndex((b) => xe(b.value, s.modelValue)),
3185
3198
  (b) => b < 0 ? 0 : b
3186
- ), c = () => a.activeIndex = d(), m = g(() => s.options === void 0), k = g(() => m.value ? !0 : s.disabled), w = g(() => (s.options ?? []).findIndex((b) => ke(b.value, s.modelValue))), C = g(() => {
3199
+ ), c = () => a.activeIndex = d(), m = g(() => s.options === void 0), k = g(() => m.value ? !0 : s.disabled), w = g(() => (s.options ?? []).findIndex((b) => xe(b.value, s.modelValue))), C = g(() => {
3187
3200
  if (!m.value) {
3188
3201
  if (s.error)
3189
3202
  return s.error;
@@ -3198,21 +3211,21 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3198
3211
  isActive: x === a.activeIndex
3199
3212
  }))
3200
3213
  ), I = g(() => {
3201
- const x = y(D).find((L) => ke(L.value, s.modelValue));
3214
+ const x = y(D).find((L) => xe(L.value, s.modelValue));
3202
3215
  return (x == null ? void 0 : x.label) || s.modelValue;
3203
- }), V = g(() => !a.open && s.modelValue ? "" : s.modelValue ? String(I.value) : s.placeholder), q = g(() => s.modelValue !== void 0 && s.modelValue !== null), O = g(() => {
3216
+ }), V = g(() => !a.open && s.modelValue ? "" : s.modelValue ? String(I.value) : s.placeholder), q = g(() => s.modelValue !== void 0 && s.modelValue !== null), B = g(() => {
3204
3217
  const b = D.value;
3205
3218
  return a.search ? b.filter((x) => {
3206
3219
  const L = a.search.toLowerCase();
3207
3220
  return x.label.toLowerCase().includes(L) || x.description && x.description.toLowerCase().includes(L) ? !0 : typeof x.value == "string" ? x.value.toLowerCase().includes(L) : x.value === a.search;
3208
3221
  }) : b;
3209
- }), R = g(() => k.value ? void 0 : "0"), _ = (b) => {
3222
+ }), P = g(() => k.value ? void 0 : "0"), _ = (b) => {
3210
3223
  var x;
3211
3224
  t("update:modelValue", b), a.search = "", a.open = !1, (x = r == null ? void 0 : r.value) == null || x.focus();
3212
3225
  }, h = () => t("update:modelValue", void 0), S = () => {
3213
3226
  var b;
3214
3227
  return (b = l.value) == null ? void 0 : b.focus();
3215
- }, A = () => a.open = !a.open, Y = () => a.open = !0, P = (b) => {
3228
+ }, A = () => a.open = !a.open, Y = () => a.open = !0, R = (b) => {
3216
3229
  var x;
3217
3230
  (x = r == null ? void 0 : r.value) != null && x.contains(b.relatedTarget) || (a.search = "", a.open = !1);
3218
3231
  }, U = () => {
@@ -3220,7 +3233,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3220
3233
  b && ve(b.querySelector(".hovered-item"), (x) => {
3221
3234
  En(b, x);
3222
3235
  });
3223
- }, B = (b) => {
3236
+ }, O = (b) => {
3224
3237
  var ht, st;
3225
3238
  if (["ArrowDown", "ArrowUp", "Enter", "Escape"].includes(b.code))
3226
3239
  b.preventDefault();
@@ -3232,12 +3245,12 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3232
3245
  return;
3233
3246
  }
3234
3247
  b.code === "Escape" && (a.open = !1, (ht = r.value) == null || ht.focus());
3235
- const j = y(O), { length: ne } = j;
3248
+ const j = y(B), { length: ne } = j;
3236
3249
  if (!ne)
3237
3250
  return;
3238
3251
  b.code === "Enter" && _((st = j.find((on) => on.index === L)) == null ? void 0 : st.value);
3239
3252
  const re = j.findIndex((on) => on.index === L) ?? -1, Ye = b.code === "ArrowDown" ? 1 : b.code === "ArrowUp" ? -1 : 0, ot = Math.abs(re + Ye + ne) % ne;
3240
- a.activeIndex = O.value[ot].index ?? -1;
3253
+ a.activeIndex = B.value[ot].index ?? -1;
3241
3254
  };
3242
3255
  return Ke(r), ie(() => s.modelValue, c, { immediate: !0 }), ie(
3243
3256
  () => a.open,
@@ -3251,14 +3264,14 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3251
3264
  v("div", {
3252
3265
  ref_key: "root",
3253
3266
  ref: r,
3254
- tabindex: R.value,
3267
+ tabindex: P.value,
3255
3268
  class: E(["ui-dropdown", { open: a.open, error: b.error, disabled: k.value }]),
3256
- onKeydown: B,
3257
- onFocusout: P
3269
+ onKeydown: O,
3270
+ onFocusout: R
3258
3271
  }, [
3259
3272
  v("div", Xi, [
3260
3273
  v("div", Ji, [
3261
- xe(v("input", {
3274
+ be(v("input", {
3262
3275
  ref_key: "input",
3263
3276
  ref: l,
3264
3277
  "onUpdate:modelValue": x[0] || (x[0] = (L) => a.search = L),
@@ -3320,7 +3333,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3320
3333
  x[6] || (x[6] = f()),
3321
3334
  v("span", null, M(b.label), 1),
3322
3335
  x[7] || (x[7] = f()),
3323
- y(o).tooltip ? (u(), Z(y(we), {
3336
+ y(o).tooltip ? (u(), Z(y(ke), {
3324
3337
  key: 1,
3325
3338
  class: "info",
3326
3339
  position: "top"
@@ -3338,7 +3351,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3338
3351
  ref: i,
3339
3352
  class: "ui-dropdown__options"
3340
3353
  }, [
3341
- (u(!0), p(ae, null, ce(O.value, (L, j) => (u(), Z(Lt, {
3354
+ (u(!0), p(ae, null, ce(B.value, (L, j) => (u(), Z(Lt, {
3342
3355
  key: j,
3343
3356
  option: L,
3344
3357
  "is-selected": L.isSelected,
@@ -3347,7 +3360,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3347
3360
  onClick: se((ne) => _(L.value), ["stop"])
3348
3361
  }, null, 8, ["option", "is-selected", "is-hovered", "size", "onClick"]))), 128)),
3349
3362
  x[8] || (x[8] = f()),
3350
- O.value.length ? $("", !0) : (u(), p("div", oa, "Nothing found"))
3363
+ B.value.length ? $("", !0) : (u(), p("div", oa, "Nothing found"))
3351
3364
  ], 512)) : $("", !0),
3352
3365
  x[11] || (x[11] = f()),
3353
3366
  J(qe, { class: "ui-dropdown__contour" })
@@ -3447,7 +3460,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3447
3460
  ref: o,
3448
3461
  class: E([{ error: !!d.value.trim(), disabled: V.disabled }, "mi-number-field d-flex-column"]),
3449
3462
  onMousedown: I,
3450
- onKeydown: q[1] || (q[1] = (O) => D(O))
3463
+ onKeydown: q[1] || (q[1] = (B) => D(B))
3451
3464
  }, [
3452
3465
  v("div", pa, [
3453
3466
  J(qe, { class: "mi-number-field__contour" }),
@@ -3455,7 +3468,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3455
3468
  v("div", fa, [
3456
3469
  V.label ? (u(), p("label", ma, [
3457
3470
  f(M(V.label) + " ", 1),
3458
- y(r).tooltip ? (u(), Z(y(we), {
3471
+ y(r).tooltip ? (u(), Z(y(ke), {
3459
3472
  key: 0,
3460
3473
  class: "info",
3461
3474
  position: "top"
@@ -3467,10 +3480,10 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3467
3480
  })) : $("", !0)
3468
3481
  ])) : $("", !0),
3469
3482
  q[2] || (q[2] = f()),
3470
- xe(v("input", {
3483
+ be(v("input", {
3471
3484
  ref_key: "input",
3472
3485
  ref: i,
3473
- "onUpdate:modelValue": q[0] || (q[0] = (O) => a.value = O),
3486
+ "onUpdate:modelValue": q[0] || (q[0] = (B) => a.value = B),
3474
3487
  disabled: V.disabled,
3475
3488
  placeholder: V.placeholder,
3476
3489
  class: "text-s flex-grow"
@@ -3537,7 +3550,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3537
3550
  return he(() => {
3538
3551
  var s;
3539
3552
  e.value && (t.value = ((s = e.value) == null ? void 0 : s.clientWidth) >= 256);
3540
- }), (s, o) => (u(), Z(y(we), {
3553
+ }), (s, o) => (u(), Z(y(ke), {
3541
3554
  position: "top",
3542
3555
  class: "pl-chip-tooltip",
3543
3556
  delay: 500
@@ -3584,13 +3597,13 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3584
3597
  }, Ea = {
3585
3598
  key: 0,
3586
3599
  class: "pl-multi-dropdown__error"
3587
- }, Ba = {
3600
+ }, Oa = {
3588
3601
  key: 1,
3589
3602
  class: "pl-multi-dropdown__helper"
3590
- }, Oa = {
3603
+ }, Ba = {
3591
3604
  name: "PlDropdownMulti"
3592
3605
  }, qm = /* @__PURE__ */ N({
3593
- ...Oa,
3606
+ ...Ba,
3594
3607
  props: {
3595
3608
  modelValue: { default: () => [] },
3596
3609
  label: { default: void 0 },
@@ -3619,34 +3632,34 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3619
3632
  }));
3620
3633
  }), C = g(() => r.disabled ? void 0 : "0"), D = () => {
3621
3634
  d.activeOption = Ft(
3622
- w.value.findIndex((h) => ke(h.value, r.modelValue)),
3635
+ w.value.findIndex((h) => xe(h.value, r.modelValue)),
3623
3636
  (h) => h < 0 ? 0 : h
3624
3637
  );
3625
3638
  }, I = (h) => {
3626
3639
  var A;
3627
3640
  const S = y(c);
3628
- s(cn(S, h) ? S.filter((Y) => !ke(Y, h)) : [...S, h]), d.search = "", (A = i == null ? void 0 : i.value) == null || A.focus();
3629
- }, V = (h) => s(y(c).filter((S) => !ke(S, h))), q = () => {
3641
+ s(cn(S, h) ? S.filter((Y) => !xe(Y, h)) : [...S, h]), d.search = "", (A = i == null ? void 0 : i.value) == null || A.focus();
3642
+ }, V = (h) => s(y(c).filter((S) => !xe(S, h))), q = () => {
3630
3643
  var h;
3631
3644
  return (h = l.value) == null ? void 0 : h.focus();
3632
- }, O = () => d.open = !d.open, R = (h) => {
3633
- var A, Y, P, U;
3645
+ }, B = () => d.open = !d.open, P = (h) => {
3646
+ var A, Y, R, U;
3634
3647
  const S = h.relatedTarget;
3635
- console.log(">>>> overlay.value?.$el", (A = a.value) == null ? void 0 : A.$el), !((Y = i.value) != null && Y.contains(S)) && !((U = (P = a.value) == null ? void 0 : P.listRef) != null && U.contains(S)) && (d.search = "", d.open = !1);
3648
+ console.log(">>>> overlay.value?.$el", (A = a.value) == null ? void 0 : A.$el), !((Y = i.value) != null && Y.contains(S)) && !((U = (R = a.value) == null ? void 0 : R.listRef) != null && U.contains(S)) && (d.search = "", d.open = !1);
3636
3649
  }, _ = (h) => {
3637
- var B;
3650
+ var O;
3638
3651
  const { open: S, activeOption: A } = d;
3639
3652
  if (!S) {
3640
3653
  h.code === "Enter" && (d.open = !0);
3641
3654
  return;
3642
3655
  }
3643
- h.code === "Escape" && (d.open = !1, (B = i.value) == null || B.focus());
3644
- const Y = y(w), { length: P } = Y;
3645
- if (!P)
3656
+ h.code === "Escape" && (d.open = !1, (O = i.value) == null || O.focus());
3657
+ const Y = y(w), { length: R } = Y;
3658
+ if (!R)
3646
3659
  return;
3647
3660
  ["ArrowDown", "ArrowUp", "Enter"].includes(h.code) && h.preventDefault(), h.code === "Enter" && I(Y[A].value);
3648
3661
  const U = h.code === "ArrowDown" ? 1 : h.code === "ArrowUp" ? -1 : 0;
3649
- d.activeOption = Math.abs(A + U + P) % P, requestAnimationFrame(() => {
3662
+ d.activeOption = Math.abs(A + U + R) % R, requestAnimationFrame(() => {
3650
3663
  var b;
3651
3664
  return (b = a.value) == null ? void 0 : b.scrollIntoActive();
3652
3665
  });
@@ -3665,11 +3678,11 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3665
3678
  tabindex: C.value,
3666
3679
  class: E(["pl-multi-dropdown", { open: d.open, error: h.error, disabled: h.disabled }]),
3667
3680
  onKeydown: _,
3668
- onFocusout: R
3681
+ onFocusout: P
3669
3682
  }, [
3670
3683
  v("div", wa, [
3671
3684
  v("div", ka, [
3672
- xe(v("input", {
3685
+ be(v("input", {
3673
3686
  ref_key: "input",
3674
3687
  ref: l,
3675
3688
  "onUpdate:modelValue": S[0] || (S[0] = (A) => d.search = A),
@@ -3693,8 +3706,8 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3693
3706
  key: Y,
3694
3707
  closeable: "",
3695
3708
  small: "",
3696
- onClick: S[2] || (S[2] = se((P) => d.open = !0, ["stop"])),
3697
- onClose: (P) => V(A.value)
3709
+ onClick: S[2] || (S[2] = se((R) => d.open = !0, ["stop"])),
3710
+ onClose: (R) => V(A.value)
3698
3711
  }, {
3699
3712
  default: Q(() => [
3700
3713
  f(M(A.label || A.value), 1)
@@ -3705,7 +3718,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3705
3718
  S[4] || (S[4] = f()),
3706
3719
  v("div", {
3707
3720
  class: "arrow",
3708
- onClick: se(O, ["stop"])
3721
+ onClick: se(B, ["stop"])
3709
3722
  }),
3710
3723
  S[5] || (S[5] = f()),
3711
3724
  v("div", $a, [
@@ -3718,7 +3731,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3718
3731
  S[6] || (S[6] = f()),
3719
3732
  v("span", null, M(h.label), 1),
3720
3733
  S[7] || (S[7] = f()),
3721
- y(o).tooltip ? (u(), Z(y(we), {
3734
+ y(o).tooltip ? (u(), Z(y(ke), {
3722
3735
  key: 1,
3723
3736
  class: "info",
3724
3737
  position: "top"
@@ -3738,7 +3751,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3738
3751
  class: "pl-multi-dropdown__options",
3739
3752
  gap: 3,
3740
3753
  tabindex: "-1",
3741
- onFocusout: R
3754
+ onFocusout: P
3742
3755
  }, {
3743
3756
  default: Q(() => [
3744
3757
  v("div", Sa, [
@@ -3746,7 +3759,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3746
3759
  key: Y,
3747
3760
  closeable: "",
3748
3761
  small: "",
3749
- onClose: (P) => V(A.value)
3762
+ onClose: (R) => V(A.value)
3750
3763
  }, {
3751
3764
  default: Q(() => [
3752
3765
  f(M(A.label || A.value), 1)
@@ -3763,7 +3776,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3763
3776
  "is-hovered": d.activeOption == Y,
3764
3777
  size: "medium",
3765
3778
  "use-checkbox": "",
3766
- onClick: se((P) => I(A.value), ["stop"])
3779
+ onClick: se((R) => I(A.value), ["stop"])
3767
3780
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"]))), 128)),
3768
3781
  S[9] || (S[9] = f()),
3769
3782
  w.value.length ? $("", !0) : (u(), p("div", Ta, "Nothing found"))
@@ -3775,7 +3788,7 @@ const Fi = { class: "resizable-input" }, ji = ["placeholder", "value", "disabled
3775
3788
  ])
3776
3789
  ], 42, ba),
3777
3790
  S[13] || (S[13] = f()),
3778
- h.error ? (u(), p("div", Ea, M(h.error), 1)) : h.helper ? (u(), p("div", Ba, M(h.helper), 1)) : $("", !0)
3791
+ h.error ? (u(), p("div", Ea, M(h.error), 1)) : h.helper ? (u(), p("div", Oa, M(h.helper), 1)) : $("", !0)
3779
3792
  ]));
3780
3793
  }
3781
3794
  }), yn = /* @__PURE__ */ N({
@@ -4218,7 +4231,7 @@ const ld = { key: 0 }, id = { class: "pl-log-view__copy" }, ad = {
4218
4231
  J(qe, { class: "pl-log-view__contour" }),
4219
4232
  D[2] || (D[2] = f()),
4220
4233
  v("div", id, [
4221
- J(y(we), {
4234
+ J(y(ke), {
4222
4235
  "close-delay": 800,
4223
4236
  position: "top"
4224
4237
  }, {
@@ -4269,7 +4282,7 @@ const ld = { key: 0 }, id = { class: "pl-log-view__copy" }, ad = {
4269
4282
  o && requestAnimationFrame(() => {
4270
4283
  o.offsetWidth < o.scrollWidth && (t.isOverflown = !0);
4271
4284
  });
4272
- }), (s, o) => (u(), Z(y(we), {
4285
+ }), (s, o) => (u(), Z(y(ke), {
4273
4286
  ref_key: "rootRef",
4274
4287
  ref: e,
4275
4288
  element: "div",
@@ -4435,10 +4448,10 @@ const ld = { key: 0 }, id = { class: "pl-log-view__copy" }, ad = {
4435
4448
  separator: Vd,
4436
4449
  chevron: Sd,
4437
4450
  down: Td
4438
- }, Bd = {
4451
+ }, Od = {
4439
4452
  $style: Ed
4440
- }, tv = /* @__PURE__ */ $e($d, [["__cssModules", Bd]]), Od = "_component_1ietr_1", Rd = "_local_1ietr_1", Pd = "_supported_1ietr_26", Ad = "_remote_1ietr_32", Dd = "_search_1ietr_40", Md = "_selected_1ietr_72", Id = "_breadcrumbs_1ietr_86", Ld = "_cat_1ietr_116", Fd = "_message_1ietr_122", jd = "_isFile_1ietr_197", Nd = "_isDir_1ietr_201", zd = "_canBeSelected_1ietr_207", Hd = "_spin_1ietr_1", pe = {
4441
- component: Od,
4453
+ }, tv = /* @__PURE__ */ $e($d, [["__cssModules", Od]]), Bd = "_component_1ietr_1", Rd = "_local_1ietr_1", Pd = "_supported_1ietr_26", Ad = "_remote_1ietr_32", Dd = "_search_1ietr_40", Md = "_selected_1ietr_72", Id = "_breadcrumbs_1ietr_86", Ld = "_cat_1ietr_116", Fd = "_message_1ietr_122", jd = "_isFile_1ietr_197", Nd = "_isDir_1ietr_201", zd = "_canBeSelected_1ietr_207", Hd = "_spin_1ietr_1", pe = {
4454
+ component: Bd,
4442
4455
  local: Rd,
4443
4456
  supported: Pd,
4444
4457
  remote: Ad,
@@ -4461,7 +4474,7 @@ const ld = { key: 0 }, id = { class: "pl-log-view__copy" }, ad = {
4461
4474
  }, Zd = /* @__PURE__ */ N({
4462
4475
  __name: "Shortcuts",
4463
4476
  setup(n) {
4464
- return (e, t) => (u(), Z(y(we), {
4477
+ return (e, t) => (u(), Z(y(ke), {
4465
4478
  class: "info",
4466
4479
  position: "southwest",
4467
4480
  "max-width": "420px"
@@ -4619,20 +4632,20 @@ const eu = ["title", "onClick"], tu = {
4619
4632
  }, I = (_, h) => {
4620
4633
  const { shiftKey: S } = _, A = t(_), { lastSelected: Y } = o;
4621
4634
  if (_.preventDefault(), h.canBeSelected) {
4622
- if (s.multi || o.items.forEach((P) => P.selected = !1), h.selected = !h.selected, !s.multi)
4635
+ if (s.multi || o.items.forEach((R) => R.selected = !1), h.selected = !h.selected, !s.multi)
4623
4636
  return;
4624
- !A && !S && o.items.forEach((P) => {
4625
- P.id !== h.id && (P.selected = !1);
4626
- }), S && Y !== void 0 && o.items.forEach((P) => {
4627
- Ho(P.id, Y, h.id) && (P.selected = !0);
4637
+ !A && !S && o.items.forEach((R) => {
4638
+ R.id !== h.id && (R.selected = !1);
4639
+ }), S && Y !== void 0 && o.items.forEach((R) => {
4640
+ Ho(R.id, Y, h.id) && (R.selected = !0);
4628
4641
  }), h.selected && (o.lastSelected = h.id);
4629
4642
  }
4630
4643
  }, V = (_) => {
4631
4644
  _ && !s.multi || o.items.filter((h) => h.canBeSelected).forEach((h) => {
4632
4645
  h.selected = _;
4633
4646
  });
4634
- }, q = () => V(!0), O = () => V(!1), R = () => {
4635
- if (r(), O(), !window.platforma) {
4647
+ }, q = () => V(!0), B = () => V(!1), P = () => {
4648
+ if (r(), B(), !window.platforma) {
4636
4649
  console.warn("platforma API is not found");
4637
4650
  return;
4638
4651
  }
@@ -4656,7 +4669,7 @@ const eu = ["title", "onClick"], tu = {
4656
4669
  }), ie(
4657
4670
  () => s.modelValue,
4658
4671
  (_) => {
4659
- _ ? R() : Object.assign(o, Hn());
4672
+ _ ? P() : Object.assign(o, Hn());
4660
4673
  },
4661
4674
  { immediate: !0 }
4662
4675
  ), fe(document, "keydown", (_) => {
@@ -4667,9 +4680,9 @@ const eu = ["title", "onClick"], tu = {
4667
4680
  }), e({
4668
4681
  isReady: w,
4669
4682
  getFilesToImport: C
4670
- }), he(R), (_, h) => (u(), p("div", {
4683
+ }), he(P), (_, h) => (u(), p("div", {
4671
4684
  class: E(y(pe).remote),
4672
- onClick: se(O, ["stop"])
4685
+ onClick: se(B, ["stop"])
4673
4686
  }, [
4674
4687
  v("div", {
4675
4688
  class: E(y(pe).search)
@@ -4751,7 +4764,7 @@ const eu = ["title", "onClick"], tu = {
4751
4764
  }, [
4752
4765
  J(y(ut), { name: "chevron-right" }),
4753
4766
  h[9] || (h[9] = f()),
4754
- xe((u(), p("span", {
4767
+ be((u(), p("span", {
4755
4768
  title: S.name
4756
4769
  }, [
4757
4770
  f(M(S.name), 1)
@@ -4768,7 +4781,7 @@ const eu = ["title", "onClick"], tu = {
4768
4781
  class: E(y(pe).isFile)
4769
4782
  }, null, 8, ["class"]),
4770
4783
  h[10] || (h[10] = f()),
4771
- xe((u(), p("span", {
4784
+ be((u(), p("span", {
4772
4785
  title: S.name
4773
4786
  }, [
4774
4787
  f(M(S.name), 1)
@@ -5259,7 +5272,7 @@ class ye {
5259
5272
  }
5260
5273
  const X = Object.freeze({
5261
5274
  status: "aborted"
5262
- }), it = (n) => ({ status: "dirty", value: n }), be = (n) => ({ status: "valid", value: n }), bn = (n) => n.status === "aborted", wn = (n) => n.status === "dirty", xt = (n) => n.status === "valid", $t = (n) => typeof Promise < "u" && n instanceof Promise;
5275
+ }), it = (n) => ({ status: "dirty", value: n }), we = (n) => ({ status: "valid", value: n }), bn = (n) => n.status === "aborted", wn = (n) => n.status === "dirty", xt = (n) => n.status === "valid", $t = (n) => typeof Promise < "u" && n instanceof Promise;
5263
5276
  function Wt(n, e, t, s) {
5264
5277
  if (typeof e == "function" ? n !== e || !s : !e.has(n)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5265
5278
  return e.get(n);
@@ -5418,7 +5431,7 @@ class te {
5418
5431
  return this._refinement(e);
5419
5432
  }
5420
5433
  optional() {
5421
- return Oe.create(this, this._def);
5434
+ return Be.create(this, this._def);
5422
5435
  }
5423
5436
  nullable() {
5424
5437
  return Ue.create(this, this._def);
@@ -5456,7 +5469,7 @@ class te {
5456
5469
  });
5457
5470
  }
5458
5471
  brand() {
5459
- return new Bn({
5472
+ return new On({
5460
5473
  typeName: G.ZodBranded,
5461
5474
  type: this,
5462
5475
  ...ee(this._def)
@@ -6181,7 +6194,7 @@ class Ct extends te {
6181
6194
  received: s.parsedType
6182
6195
  }), X;
6183
6196
  }
6184
- return be(e.data);
6197
+ return we(e.data);
6185
6198
  }
6186
6199
  }
6187
6200
  Ct.create = (n) => new Ct({
@@ -6277,7 +6290,7 @@ class qt extends te {
6277
6290
  received: s.parsedType
6278
6291
  }), X;
6279
6292
  }
6280
- return be(e.data);
6293
+ return we(e.data);
6281
6294
  }
6282
6295
  }
6283
6296
  qt.create = (n) => new qt({
@@ -6294,7 +6307,7 @@ class Vt extends te {
6294
6307
  received: s.parsedType
6295
6308
  }), X;
6296
6309
  }
6297
- return be(e.data);
6310
+ return we(e.data);
6298
6311
  }
6299
6312
  }
6300
6313
  Vt.create = (n) => new Vt({
@@ -6311,7 +6324,7 @@ class St extends te {
6311
6324
  received: s.parsedType
6312
6325
  }), X;
6313
6326
  }
6314
- return be(e.data);
6327
+ return we(e.data);
6315
6328
  }
6316
6329
  }
6317
6330
  St.create = (n) => new St({
@@ -6323,7 +6336,7 @@ class pt extends te {
6323
6336
  super(...arguments), this._any = !0;
6324
6337
  }
6325
6338
  _parse(e) {
6326
- return be(e.data);
6339
+ return we(e.data);
6327
6340
  }
6328
6341
  }
6329
6342
  pt.create = (n) => new pt({
@@ -6335,7 +6348,7 @@ class Xe extends te {
6335
6348
  super(...arguments), this._unknown = !0;
6336
6349
  }
6337
6350
  _parse(e) {
6338
- return be(e.data);
6351
+ return we(e.data);
6339
6352
  }
6340
6353
  }
6341
6354
  Xe.create = (n) => new Xe({
@@ -6366,7 +6379,7 @@ class Kt extends te {
6366
6379
  received: s.parsedType
6367
6380
  }), X;
6368
6381
  }
6369
- return be(e.data);
6382
+ return we(e.data);
6370
6383
  }
6371
6384
  }
6372
6385
  Kt.create = (n) => new Kt({
@@ -6451,7 +6464,7 @@ function lt(n) {
6451
6464
  const e = {};
6452
6465
  for (const t in n.shape) {
6453
6466
  const s = n.shape[t];
6454
- e[t] = Oe.create(lt(s));
6467
+ e[t] = Be.create(lt(s));
6455
6468
  }
6456
6469
  return new ue({
6457
6470
  ...n._def,
@@ -6460,7 +6473,7 @@ function lt(n) {
6460
6473
  } else return n instanceof Se ? new Se({
6461
6474
  ...n._def,
6462
6475
  type: lt(n.element)
6463
- }) : n instanceof Oe ? Oe.create(lt(n.unwrap())) : n instanceof Ue ? Ue.create(lt(n.unwrap())) : n instanceof Pe ? Pe.create(n.items.map((e) => lt(e))) : n;
6476
+ }) : n instanceof Be ? Be.create(lt(n.unwrap())) : n instanceof Ue ? Ue.create(lt(n.unwrap())) : n instanceof Pe ? Pe.create(n.items.map((e) => lt(e))) : n;
6464
6477
  }
6465
6478
  class ue extends te {
6466
6479
  constructor() {
@@ -6715,7 +6728,7 @@ class ue extends te {
6715
6728
  t[s] = this.shape[s];
6716
6729
  else {
6717
6730
  let r = this.shape[s];
6718
- for (; r instanceof Oe; )
6731
+ for (; r instanceof Be; )
6719
6732
  r = r._def.innerType;
6720
6733
  t[s] = r;
6721
6734
  }
@@ -6822,7 +6835,7 @@ Tt.create = (n, e) => new Tt({
6822
6835
  typeName: G.ZodUnion,
6823
6836
  ...ee(e)
6824
6837
  });
6825
- const Ae = (n) => n instanceof Ot ? Ae(n.schema) : n instanceof Ee ? Ae(n.innerType()) : n instanceof Rt ? [n.value] : n instanceof Ze ? n.options : n instanceof Pt ? le.objectValues(n.enum) : n instanceof At ? Ae(n._def.innerType) : n instanceof Vt ? [void 0] : n instanceof St ? [null] : n instanceof Oe ? [void 0, ...Ae(n.unwrap())] : n instanceof Ue ? [null, ...Ae(n.unwrap())] : n instanceof Bn || n instanceof Mt ? Ae(n.unwrap()) : n instanceof Dt ? Ae(n._def.innerType) : [];
6838
+ const Ae = (n) => n instanceof Bt ? Ae(n.schema) : n instanceof Ee ? Ae(n.innerType()) : n instanceof Rt ? [n.value] : n instanceof Ze ? n.options : n instanceof Pt ? le.objectValues(n.enum) : n instanceof At ? Ae(n._def.innerType) : n instanceof Vt ? [void 0] : n instanceof St ? [null] : n instanceof Be ? [void 0, ...Ae(n.unwrap())] : n instanceof Ue ? [null, ...Ae(n.unwrap())] : n instanceof On || n instanceof Mt ? Ae(n.unwrap()) : n instanceof Dt ? Ae(n._def.innerType) : [];
6826
6839
  class nn extends te {
6827
6840
  _parse(e) {
6828
6841
  const { ctx: t } = this._processInputParams(e);
@@ -6999,7 +7012,7 @@ Pe.create = (n, e) => {
6999
7012
  ...ee(e)
7000
7013
  });
7001
7014
  };
7002
- class Bt extends te {
7015
+ class Ot extends te {
7003
7016
  get keySchema() {
7004
7017
  return this._def.keyType;
7005
7018
  }
@@ -7027,12 +7040,12 @@ class Bt extends te {
7027
7040
  return this._def.valueType;
7028
7041
  }
7029
7042
  static create(e, t, s) {
7030
- return t instanceof te ? new Bt({
7043
+ return t instanceof te ? new Ot({
7031
7044
  keyType: e,
7032
7045
  valueType: t,
7033
7046
  typeName: G.ZodRecord,
7034
7047
  ...ee(s)
7035
- }) : new Bt({
7048
+ }) : new Ot({
7036
7049
  keyType: Ve.create(),
7037
7050
  valueType: e,
7038
7051
  typeName: G.ZodRecord,
@@ -7199,7 +7212,7 @@ class at extends te {
7199
7212
  const r = { errorMap: t.common.contextualErrorMap }, i = t.data;
7200
7213
  if (this._def.returns instanceof ft) {
7201
7214
  const l = this;
7202
- return be(async function(...a) {
7215
+ return we(async function(...a) {
7203
7216
  const d = new Ce([]), c = await l._def.args.parseAsync(a, r).catch((w) => {
7204
7217
  throw d.addIssue(s(a, w)), d;
7205
7218
  }), m = await Reflect.apply(i, this, c);
@@ -7209,7 +7222,7 @@ class at extends te {
7209
7222
  });
7210
7223
  } else {
7211
7224
  const l = this;
7212
- return be(function(...a) {
7225
+ return we(function(...a) {
7213
7226
  const d = l._def.args.safeParse(a, r);
7214
7227
  if (!d.success)
7215
7228
  throw new Ce([s(a, d.error)]);
@@ -7253,7 +7266,7 @@ class at extends te {
7253
7266
  });
7254
7267
  }
7255
7268
  }
7256
- class Ot extends te {
7269
+ class Bt extends te {
7257
7270
  get schema() {
7258
7271
  return this._def.getter();
7259
7272
  }
@@ -7262,7 +7275,7 @@ class Ot extends te {
7262
7275
  return this._def.getter()._parse({ data: t.data, path: t.path, parent: t });
7263
7276
  }
7264
7277
  }
7265
- Ot.create = (n, e) => new Ot({
7278
+ Bt.create = (n, e) => new Bt({
7266
7279
  getter: n,
7267
7280
  typeName: G.ZodLazy,
7268
7281
  ...ee(e)
@@ -7316,7 +7329,7 @@ class Ze extends te {
7316
7329
  options: s
7317
7330
  }), X;
7318
7331
  }
7319
- return be(e.data);
7332
+ return we(e.data);
7320
7333
  }
7321
7334
  get options() {
7322
7335
  return this._def.values;
@@ -7376,7 +7389,7 @@ class Pt extends te {
7376
7389
  options: o
7377
7390
  }), X;
7378
7391
  }
7379
- return be(e.data);
7392
+ return we(e.data);
7380
7393
  }
7381
7394
  get enum() {
7382
7395
  return this._def.values;
@@ -7401,7 +7414,7 @@ class ft extends te {
7401
7414
  received: t.parsedType
7402
7415
  }), X;
7403
7416
  const s = t.parsedType === H.promise ? t.data : Promise.resolve(t.data);
7404
- return be(s.then((o) => this._def.type.parseAsync(o, {
7417
+ return we(s.then((o) => this._def.type.parseAsync(o, {
7405
7418
  path: t.path,
7406
7419
  errorMap: t.common.contextualErrorMap
7407
7420
  })));
@@ -7501,22 +7514,22 @@ Ee.createWithPreprocess = (n, e, t) => new Ee({
7501
7514
  typeName: G.ZodEffects,
7502
7515
  ...ee(t)
7503
7516
  });
7504
- class Oe extends te {
7517
+ class Be extends te {
7505
7518
  _parse(e) {
7506
- return this._getType(e) === H.undefined ? be(void 0) : this._def.innerType._parse(e);
7519
+ return this._getType(e) === H.undefined ? we(void 0) : this._def.innerType._parse(e);
7507
7520
  }
7508
7521
  unwrap() {
7509
7522
  return this._def.innerType;
7510
7523
  }
7511
7524
  }
7512
- Oe.create = (n, e) => new Oe({
7525
+ Be.create = (n, e) => new Be({
7513
7526
  innerType: n,
7514
7527
  typeName: G.ZodOptional,
7515
7528
  ...ee(e)
7516
7529
  });
7517
7530
  class Ue extends te {
7518
7531
  _parse(e) {
7519
- return this._getType(e) === H.null ? be(null) : this._def.innerType._parse(e);
7532
+ return this._getType(e) === H.null ? we(null) : this._def.innerType._parse(e);
7520
7533
  }
7521
7534
  unwrap() {
7522
7535
  return this._def.innerType;
@@ -7608,7 +7621,7 @@ Gt.create = (n) => new Gt({
7608
7621
  ...ee(n)
7609
7622
  });
7610
7623
  const Eu = Symbol("zod_brand");
7611
- class Bn extends te {
7624
+ class On extends te {
7612
7625
  _parse(e) {
7613
7626
  const { ctx: t } = this._processInputParams(e), s = t.data;
7614
7627
  return this._def.type._parse({
@@ -7684,16 +7697,16 @@ function Co(n, e = {}, t) {
7684
7697
  }
7685
7698
  }) : pt.create();
7686
7699
  }
7687
- const Bu = {
7700
+ const Ou = {
7688
7701
  object: ue.lazycreate
7689
7702
  };
7690
7703
  var G;
7691
7704
  (function(n) {
7692
7705
  n.ZodString = "ZodString", n.ZodNumber = "ZodNumber", n.ZodNaN = "ZodNaN", n.ZodBigInt = "ZodBigInt", n.ZodBoolean = "ZodBoolean", n.ZodDate = "ZodDate", n.ZodSymbol = "ZodSymbol", n.ZodUndefined = "ZodUndefined", n.ZodNull = "ZodNull", n.ZodAny = "ZodAny", n.ZodUnknown = "ZodUnknown", n.ZodNever = "ZodNever", n.ZodVoid = "ZodVoid", n.ZodArray = "ZodArray", n.ZodObject = "ZodObject", n.ZodUnion = "ZodUnion", n.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", n.ZodIntersection = "ZodIntersection", n.ZodTuple = "ZodTuple", n.ZodRecord = "ZodRecord", n.ZodMap = "ZodMap", n.ZodSet = "ZodSet", n.ZodFunction = "ZodFunction", n.ZodLazy = "ZodLazy", n.ZodLiteral = "ZodLiteral", n.ZodEnum = "ZodEnum", n.ZodEffects = "ZodEffects", n.ZodNativeEnum = "ZodNativeEnum", n.ZodOptional = "ZodOptional", n.ZodNullable = "ZodNullable", n.ZodDefault = "ZodDefault", n.ZodCatch = "ZodCatch", n.ZodPromise = "ZodPromise", n.ZodBranded = "ZodBranded", n.ZodPipeline = "ZodPipeline", n.ZodReadonly = "ZodReadonly";
7693
7706
  })(G || (G = {}));
7694
- const Ou = (n, e = {
7707
+ const Bu = (n, e = {
7695
7708
  message: `Input not instance of ${n.name}`
7696
- }) => Co((t) => t instanceof n, e), Vo = Ve.create, So = ze.create, Ru = Gt.create, Pu = He.create, To = Ct.create, Au = tt.create, Du = qt.create, Mu = Vt.create, Iu = St.create, Lu = pt.create, Fu = Xe.create, ju = Ie.create, Nu = Kt.create, zu = Se.create, Hu = ue.create, Zu = ue.strictCreate, Uu = Tt.create, Wu = nn.create, qu = Et.create, Ku = Pe.create, Yu = Bt.create, Gu = Yt.create, Xu = nt.create, Ju = at.create, Qu = Ot.create, ec = Rt.create, tc = Ze.create, nc = Pt.create, oc = ft.create, Wn = Ee.create, sc = Oe.create, rc = Ue.create, lc = Ee.createWithPreprocess, ic = jt.create, ac = () => Vo().optional(), dc = () => So().optional(), uc = () => To().optional(), cc = {
7709
+ }) => Co((t) => t instanceof n, e), Vo = Ve.create, So = ze.create, Ru = Gt.create, Pu = He.create, To = Ct.create, Au = tt.create, Du = qt.create, Mu = Vt.create, Iu = St.create, Lu = pt.create, Fu = Xe.create, ju = Ie.create, Nu = Kt.create, zu = Se.create, Hu = ue.create, Zu = ue.strictCreate, Uu = Tt.create, Wu = nn.create, qu = Et.create, Ku = Pe.create, Yu = Ot.create, Gu = Yt.create, Xu = nt.create, Ju = at.create, Qu = Bt.create, ec = Rt.create, tc = Ze.create, nc = Pt.create, oc = ft.create, Wn = Ee.create, sc = Be.create, rc = Ue.create, lc = Ee.createWithPreprocess, ic = jt.create, ac = () => Vo().optional(), dc = () => So().optional(), uc = () => To().optional(), cc = {
7697
7710
  string: (n) => Ve.create({ ...n, coerce: !0 }),
7698
7711
  number: (n) => ze.create({ ...n, coerce: !0 }),
7699
7712
  boolean: (n) => Ct.create({
@@ -7703,7 +7716,7 @@ const Ou = (n, e = {
7703
7716
  bigint: (n) => He.create({ ...n, coerce: !0 }),
7704
7717
  date: (n) => tt.create({ ...n, coerce: !0 })
7705
7718
  }, pc = X;
7706
- var Be = /* @__PURE__ */ Object.freeze({
7719
+ var Oe = /* @__PURE__ */ Object.freeze({
7707
7720
  __proto__: null,
7708
7721
  defaultErrorMap: ct,
7709
7722
  setErrorMap: pu,
@@ -7714,7 +7727,7 @@ var Be = /* @__PURE__ */ Object.freeze({
7714
7727
  ParseStatus: ye,
7715
7728
  INVALID: X,
7716
7729
  DIRTY: it,
7717
- OK: be,
7730
+ OK: we,
7718
7731
  isAborted: bn,
7719
7732
  isDirty: wn,
7720
7733
  isValid: xt,
@@ -7747,30 +7760,30 @@ var Be = /* @__PURE__ */ Object.freeze({
7747
7760
  ZodDiscriminatedUnion: nn,
7748
7761
  ZodIntersection: Et,
7749
7762
  ZodTuple: Pe,
7750
- ZodRecord: Bt,
7763
+ ZodRecord: Ot,
7751
7764
  ZodMap: Yt,
7752
7765
  ZodSet: nt,
7753
7766
  ZodFunction: at,
7754
- ZodLazy: Ot,
7767
+ ZodLazy: Bt,
7755
7768
  ZodLiteral: Rt,
7756
7769
  ZodEnum: Ze,
7757
7770
  ZodNativeEnum: Pt,
7758
7771
  ZodPromise: ft,
7759
7772
  ZodEffects: Ee,
7760
7773
  ZodTransformer: Ee,
7761
- ZodOptional: Oe,
7774
+ ZodOptional: Be,
7762
7775
  ZodNullable: Ue,
7763
7776
  ZodDefault: At,
7764
7777
  ZodCatch: Dt,
7765
7778
  ZodNaN: Gt,
7766
7779
  BRAND: Eu,
7767
- ZodBranded: Bn,
7780
+ ZodBranded: On,
7768
7781
  ZodPipeline: jt,
7769
7782
  ZodReadonly: Mt,
7770
7783
  custom: Co,
7771
7784
  Schema: te,
7772
7785
  ZodSchema: te,
7773
- late: Bu,
7786
+ late: Ou,
7774
7787
  get ZodFirstPartyTypeKind() {
7775
7788
  return G;
7776
7789
  },
@@ -7784,7 +7797,7 @@ var Be = /* @__PURE__ */ Object.freeze({
7784
7797
  effect: Wn,
7785
7798
  enum: tc,
7786
7799
  function: Ju,
7787
- instanceof: Ou,
7800
+ instanceof: Bu,
7788
7801
  intersection: qu,
7789
7802
  lazy: Qu,
7790
7803
  literal: ec,
@@ -7822,16 +7835,16 @@ var Be = /* @__PURE__ */ Object.freeze({
7822
7835
  function fc(n) {
7823
7836
  throw new Error("Unexpected object: " + n);
7824
7837
  }
7825
- const Eo = "upload://upload/", Bo = "index://index/";
7838
+ const Eo = "upload://upload/", Oo = "index://index/";
7826
7839
  function mc(n) {
7827
7840
  return n.startsWith(Eo);
7828
7841
  }
7829
7842
  function vc(n) {
7830
- return n.startsWith(Bo);
7843
+ return n.startsWith(Oo);
7831
7844
  }
7832
- function Oo(n) {
7845
+ function Bo(n) {
7833
7846
  if (vc(n)) {
7834
- const e = n.slice(Bo.length);
7847
+ const e = n.slice(Oo.length);
7835
7848
  return JSON.parse(decodeURIComponent(e)).path;
7836
7849
  } else if (mc(n)) {
7837
7850
  const e = n.slice(Eo.length);
@@ -7843,22 +7856,22 @@ function hc(n) {
7843
7856
  return n.replace(/^.*[\\/]/, "");
7844
7857
  }
7845
7858
  function gc(n) {
7846
- return hc(Oo(n));
7859
+ return hc(Bo(n));
7847
7860
  }
7848
- Be.object({
7849
- __isRef: Be.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
7850
- blockId: Be.string().describe("Upstream block id"),
7851
- name: Be.string().describe("Name of the output provided to the upstream block's output context")
7861
+ Oe.object({
7862
+ __isRef: Oe.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
7863
+ blockId: Oe.string().describe("Upstream block id"),
7864
+ name: Oe.string().describe("Name of the output provided to the upstream block's output context")
7852
7865
  }).describe(
7853
7866
  "Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees."
7854
7867
  ).strict().readonly();
7855
- const yc = Be.object({
7856
- type: Be.string(),
7857
- importance: Be.number().optional(),
7858
- id: Be.string().optional(),
7859
- label: Be.string()
7868
+ const yc = Oe.object({
7869
+ type: Oe.string(),
7870
+ importance: Oe.number().optional(),
7871
+ id: Oe.string().optional(),
7872
+ label: Oe.string()
7860
7873
  });
7861
- Be.array(yc);
7874
+ Oe.array(yc);
7862
7875
  const _c = {
7863
7876
  key: 0,
7864
7877
  ref: "label"
@@ -7895,26 +7908,26 @@ const _c = {
7895
7908
  const t = de({
7896
7909
  fileDialogOpen: !1,
7897
7910
  error: ""
7898
- }), s = _e(), o = e, r = n, i = (O, R) => {
7899
- if (O)
7911
+ }), s = _e(), o = e, r = n, i = (B, P) => {
7912
+ if (B)
7900
7913
  try {
7901
- return R(O);
7914
+ return P(B);
7902
7915
  } catch (_) {
7903
- return t.error = _ instanceof Error ? _.message : String(_), O;
7916
+ return t.error = _ instanceof Error ? _.message : String(_), B;
7904
7917
  }
7905
- }, l = g(() => i(r.modelValue, gc)), a = g(() => i(r.modelValue, Oo)), d = g(() => r.progress && !r.progress.done), c = g(() => r.progress && r.progress.done), m = g(() => t.error ?? r.error), k = g(() => !!m.value), w = g(() => {
7906
- const { status: O, done: R } = r.progress ?? {};
7907
- return !O || !O.bytesTotal ? "" : O.bytesProcessed && !R ? rn(O.bytesProcessed, {}) + " / " + rn(O.bytesTotal, {}) : rn(O.bytesTotal, {});
7918
+ }, l = g(() => i(r.modelValue, gc)), a = g(() => i(r.modelValue, Bo)), d = g(() => r.progress && !r.progress.done), c = g(() => r.progress && r.progress.done), m = g(() => t.error ?? r.error), k = g(() => !!m.value), w = g(() => {
7919
+ const { status: B, done: P } = r.progress ?? {};
7920
+ return !B || !B.bytesTotal ? "" : B.bytesProcessed && !P ? rn(B.bytesProcessed, {}) + " / " + rn(B.bytesTotal, {}) : rn(B.bytesTotal, {});
7908
7921
  }), C = g(() => {
7909
- var R;
7910
- const { progress: O } = r;
7911
- return O ? {
7912
- width: O.done ? "100%" : Math.round((((R = O.status) == null ? void 0 : R.progress) ?? 0) * 100) + "%"
7922
+ var P;
7923
+ const { progress: B } = r;
7924
+ return B ? {
7925
+ width: B.done ? "100%" : Math.round((((P = B.status) == null ? void 0 : P.progress) ?? 0) * 100) + "%"
7913
7926
  } : {};
7914
7927
  }), D = () => {
7915
7928
  t.fileDialogOpen = !0;
7916
- }, I = (O) => {
7917
- O.files.length && o("update:modelValue", O.files[0]);
7929
+ }, I = (B) => {
7930
+ B.files.length && o("update:modelValue", B.files[0]);
7918
7931
  }, V = () => o("update:modelValue", void 0);
7919
7932
  ie(
7920
7933
  () => r.modelValue,
@@ -7924,14 +7937,14 @@ const _c = {
7924
7937
  { immediate: !0 }
7925
7938
  );
7926
7939
  const q = F();
7927
- return r.cellStyle || Ke(q), (O, R) => (u(), p(ae, null, [
7940
+ return r.cellStyle || Ke(q), (B, P) => (u(), p(ae, null, [
7928
7941
  v("div", {
7929
- class: E([{ "pl-file-input__cell-style": !!O.cellStyle, "has-file": !!l.value }, "pl-file-input__envelope"])
7942
+ class: E([{ "pl-file-input__cell-style": !!B.cellStyle, "has-file": !!l.value }, "pl-file-input__envelope"])
7930
7943
  }, [
7931
7944
  v("div", {
7932
7945
  ref_key: "rootRef",
7933
7946
  ref: q,
7934
- class: E(["pl-file-input", { dashed: O.dashed, error: k.value }]),
7947
+ class: E(["pl-file-input", { dashed: B.dashed, error: k.value }]),
7935
7948
  tabindex: "0",
7936
7949
  onKeyup: Te(D, ["enter"]),
7937
7950
  onClick: se(D, ["stop"])
@@ -7940,26 +7953,26 @@ const _c = {
7940
7953
  class: "pl-file-input__progress",
7941
7954
  style: oe(C.value)
7942
7955
  }, null, 4),
7943
- R[3] || (R[3] = f()),
7944
- !O.cellStyle && O.label ? (u(), p("label", _c, [
7945
- O.required ? (u(), p("i", bc)) : $("", !0),
7946
- R[1] || (R[1] = f()),
7947
- v("span", null, M(O.label), 1),
7948
- R[2] || (R[2] = f()),
7949
- y(s).tooltip || a.value ? (u(), Z(y(we), {
7956
+ P[3] || (P[3] = f()),
7957
+ !B.cellStyle && B.label ? (u(), p("label", _c, [
7958
+ B.required ? (u(), p("i", bc)) : $("", !0),
7959
+ P[1] || (P[1] = f()),
7960
+ v("span", null, M(B.label), 1),
7961
+ P[2] || (P[2] = f()),
7962
+ y(s).tooltip || a.value ? (u(), Z(y(ke), {
7950
7963
  key: 1,
7951
7964
  class: "info",
7952
7965
  position: "top"
7953
7966
  }, {
7954
7967
  tooltip: Q(() => [
7955
- y(s).tooltip ? W(O.$slots, "tooltip", { key: 0 }) : (u(), p(ae, { key: 1 }, [
7968
+ y(s).tooltip ? W(B.$slots, "tooltip", { key: 0 }) : (u(), p(ae, { key: 1 }, [
7956
7969
  f(M(a.value), 1)
7957
7970
  ], 64))
7958
7971
  ]),
7959
7972
  _: 3
7960
7973
  })) : $("", !0)
7961
7974
  ], 512)) : $("", !0),
7962
- R[4] || (R[4] = f()),
7975
+ P[4] || (P[4] = f()),
7963
7976
  k.value ? (u(), Z(y(De), {
7964
7977
  key: 1,
7965
7978
  name: "restart"
@@ -7973,32 +7986,32 @@ const _c = {
7973
7986
  key: 4,
7974
7987
  name: "paper-clip"
7975
7988
  })),
7976
- R[5] || (R[5] = f()),
7989
+ P[5] || (P[5] = f()),
7977
7990
  v("div", {
7978
- "data-placeholder": O.placeholder ?? "Choose file",
7991
+ "data-placeholder": B.placeholder ?? "Choose file",
7979
7992
  class: "pl-file-input__filename"
7980
7993
  }, M(l.value), 9, wc),
7981
- R[6] || (R[6] = f()),
7994
+ P[6] || (P[6] = f()),
7982
7995
  w.value ? (u(), p("div", kc, M(w.value), 1)) : $("", !0),
7983
- R[7] || (R[7] = f()),
7984
- O.modelValue ? (u(), Z(y(De), {
7996
+ P[7] || (P[7] = f()),
7997
+ B.modelValue ? (u(), Z(y(De), {
7985
7998
  key: 6,
7986
7999
  name: "close",
7987
8000
  onClick: se(V, ["stop"])
7988
8001
  })) : $("", !0),
7989
- R[8] || (R[8] = f()),
8002
+ P[8] || (P[8] = f()),
7990
8003
  J(qe, { class: "pl-file-input__contour" })
7991
8004
  ], 34),
7992
- R[9] || (R[9] = f()),
7993
- k.value ? (u(), p("div", xc, M(m.value), 1)) : O.helper ? (u(), p("div", $c, M(O.helper), 1)) : $("", !0)
8005
+ P[9] || (P[9] = f()),
8006
+ k.value ? (u(), p("div", xc, M(m.value), 1)) : B.helper ? (u(), p("div", $c, M(B.helper), 1)) : $("", !0)
7994
8007
  ], 2),
7995
- R[10] || (R[10] = f()),
8008
+ P[10] || (P[10] = f()),
7996
8009
  J(y(uu), {
7997
8010
  modelValue: t.fileDialogOpen,
7998
- "onUpdate:modelValue": R[0] || (R[0] = (_) => t.fileDialogOpen = _),
7999
- extensions: O.extensions,
8000
- title: O.fileDialogTitle,
8001
- "close-on-outside-click": O.fileDialogCloseOnOutsideClick,
8011
+ "onUpdate:modelValue": P[0] || (P[0] = (_) => t.fileDialogOpen = _),
8012
+ extensions: B.extensions,
8013
+ title: B.fileDialogTitle,
8014
+ "close-on-outside-click": B.fileDialogCloseOnOutsideClick,
8002
8015
  "onImport:files": I
8003
8016
  }, null, 8, ["modelValue", "extensions", "title", "close-on-outside-click"])
8004
8017
  ], 64));
@@ -8065,7 +8078,7 @@ const _c = {
8065
8078
  function ge(n, e, t) {
8066
8079
  return e > n ? e : n > t ? t : n;
8067
8080
  }
8068
- const On = (n) => g(() => {
8081
+ const Bn = (n) => g(() => {
8069
8082
  const e = [100], { min: t, max: s, step: o } = n.value;
8070
8083
  let r = t;
8071
8084
  for (; r < s; ) {
@@ -8074,7 +8087,7 @@ const On = (n) => g(() => {
8074
8087
  e.push(l);
8075
8088
  }
8076
8089
  return e;
8077
- }), Ec = { class: "ui-slider__wrapper" }, Bc = { class: "ui-slider__label-section" }, Oc = {
8090
+ }), Ec = { class: "ui-slider__wrapper" }, Oc = { class: "ui-slider__label-section" }, Bc = {
8078
8091
  key: 0,
8079
8092
  class: "text-s"
8080
8093
  }, Rc = {
@@ -8105,7 +8118,7 @@ const On = (n) => g(() => {
8105
8118
  }), i = g(() => o.max - o.min), l = g(() => ge((o.modelValue ?? 0) + r.deltaValue, o.min, o.max)), a = F(o.modelValue), d = g(() => {
8106
8119
  const _ = o.modelValue;
8107
8120
  return Number.isFinite(_) ? _ < o.min ? `Min value: ${o.min}` : _ > o.max ? `Max value: ${o.max}` : o.error : "Not a number";
8108
- }), c = g(() => o), m = On(c), k = g(() => (l.value - o.min) / i.value), w = g(() => ({
8121
+ }), c = g(() => o), m = Bn(c), k = g(() => (l.value - o.min) / i.value), w = g(() => ({
8109
8122
  right: Math.ceil((1 - k.value) * 100) + "%"
8110
8123
  })), C = g(() => ({
8111
8124
  right: `calc(${Math.ceil((1 - k.value) * 100)}%) `
@@ -8130,10 +8143,10 @@ const On = (n) => g(() => {
8130
8143
  function q(_) {
8131
8144
  s("update:modelValue", V(_));
8132
8145
  }
8133
- function O(_) {
8146
+ function B(_) {
8134
8147
  q(+_.target.value);
8135
8148
  }
8136
- function R(_) {
8149
+ function P(_) {
8137
8150
  ["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft", "Enter"].includes(_.code) && _.preventDefault();
8138
8151
  const h = _.code === "ArrowUp" || _.code === "ArrowRight" ? o.step * 1 : _.code === "ArrowDown" || _.code === "ArrowLeft" ? o.step * -1 : 0;
8139
8152
  q(o.modelValue + h);
@@ -8145,11 +8158,11 @@ const On = (n) => g(() => {
8145
8158
  class: E([`ui-slider__mode-${o.mode}`, "ui-slider"])
8146
8159
  }, [
8147
8160
  v("div", Ec, [
8148
- v("div", Bc, [
8149
- _.label ? (u(), p("label", Oc, [
8161
+ v("div", Oc, [
8162
+ _.label ? (u(), p("label", Bc, [
8150
8163
  v("span", null, M(_.label), 1),
8151
8164
  h[1] || (h[1] = f()),
8152
- y(t).tooltip ? (u(), Z(y(we), {
8165
+ y(t).tooltip ? (u(), Z(y(ke), {
8153
8166
  key: 0,
8154
8167
  class: "info",
8155
8168
  position: "top"
@@ -8191,7 +8204,7 @@ const On = (n) => g(() => {
8191
8204
  tabindex: "0",
8192
8205
  class: "ui-slider__thumb ui-slider__thumb-active",
8193
8206
  style: oe(C.value),
8194
- onKeydown: R
8207
+ onKeydown: P
8195
8208
  }, h[3] || (h[3] = [
8196
8209
  v("div", { class: "ui-slider__thumb-focused-contour" }, null, -1)
8197
8210
  ]), 36)
@@ -8204,7 +8217,7 @@ const On = (n) => g(() => {
8204
8217
  key: 0,
8205
8218
  value: a.value,
8206
8219
  class: "ui-slider__value text-s",
8207
- onChange: h[0] || (h[0] = (S) => O(S))
8220
+ onChange: h[0] || (h[0] = (S) => B(S))
8208
8221
  }, null, 40, Ic)) : $("", !0)
8209
8222
  ])
8210
8223
  ], 2),
@@ -8318,17 +8331,17 @@ function iv(n, e) {
8318
8331
  }
8319
8332
  const D = w.map((h) => gt(h)), I = gt(C);
8320
8333
  (_ = n.value) == null || _.replaceChildren(...w);
8321
- const V = gt(C), q = w.map((h) => gt(h)), O = [];
8334
+ const V = gt(C), q = w.map((h) => gt(h)), B = [];
8322
8335
  for (let h = 0; h < q.length; h++) {
8323
8336
  const S = w[h];
8324
8337
  if (S === t.item.el)
8325
8338
  continue;
8326
- const A = q[h], P = D[h] - A;
8327
- S.style.transform = `translateY(${P}px)`, O.push(S);
8339
+ const A = q[h], R = D[h] - A;
8340
+ S.style.transform = `translateY(${R}px)`, B.push(S);
8328
8341
  }
8329
- const R = V - I;
8330
- t.item.y = t.item.y + R, t.item.dy = t.item.dy - R, t.item.orderChanged = !0, t.item.el.style.setProperty("transform", `translateY(${t.item.dy}px)`), O.forEach((h) => h.classList.remove(Fe.animate)), requestAnimationFrame(function() {
8331
- O.forEach((h) => {
8342
+ const P = V - I;
8343
+ t.item.y = t.item.y + P, t.item.dy = t.item.dy - P, t.item.orderChanged = !0, t.item.el.style.setProperty("transform", `translateY(${t.item.dy}px)`), B.forEach((h) => h.classList.remove(Fe.animate)), requestAnimationFrame(function() {
8344
+ B.forEach((h) => {
8332
8345
  h.classList.add(Fe.animate), h.style.transform = "", h.addEventListener("transitionend", () => {
8333
8346
  h.classList.remove(Fe.animate);
8334
8347
  });
@@ -8341,12 +8354,12 @@ function iv(n, e) {
8341
8354
  const { el: C } = t.item;
8342
8355
  m(t.item, w.y);
8343
8356
  const D = gt(t.item.el), I = jc(t.item.el), V = l(C), q = a(C);
8344
- V.forEach((O) => {
8345
- const R = qn(O);
8346
- D + o < R && k(d(O, C));
8347
- }), q.forEach((O) => {
8348
- const R = qn(O);
8349
- I - o > R && k(c(O, C));
8357
+ V.forEach((B) => {
8358
+ const P = qn(B);
8359
+ D + o < P && k(d(B, C));
8360
+ }), q.forEach((B) => {
8361
+ const P = qn(B);
8362
+ I - o > P && k(c(B, C));
8350
8363
  });
8351
8364
  }), fe(window, "mouseup", () => {
8352
8365
  if (!t.item)
@@ -8483,7 +8496,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8483
8496
  deltaValue1: 0,
8484
8497
  deltaValue2: 0,
8485
8498
  deltaValue3: 0
8486
- }), i = F(), l = F(), a = F(), d = F(), c = g(() => o.max - o.min), m = g(() => o), k = On(m), w = g(() => ge((o.modelValue[0] ?? 0) + r.deltaValue1, o.min, o.max)), C = g(() => ge((o.modelValue[1] ?? 0) + r.deltaValue2, o.min, o.max)), D = g(() => ge((o.modelValue[2] ?? 0) + r.deltaValue3, o.min, o.max)), I = g(() => {
8499
+ }), i = F(), l = F(), a = F(), d = F(), c = g(() => o.max - o.min), m = g(() => o), k = Bn(m), w = g(() => ge((o.modelValue[0] ?? 0) + r.deltaValue1, o.min, o.max)), C = g(() => ge((o.modelValue[1] ?? 0) + r.deltaValue2, o.min, o.max)), D = g(() => ge((o.modelValue[2] ?? 0) + r.deltaValue3, o.min, o.max)), I = g(() => {
8487
8500
  const L = o.modelValue;
8488
8501
  if (!(Array.isArray(L) && L.length === 3 && L.every((re) => Number.isFinite(re))))
8489
8502
  return "Expected model [number, number, number]";
@@ -8491,48 +8504,48 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8491
8504
  return [...o.modelValue].forEach((re) => {
8492
8505
  re > o.max && ne.push(`Max model value must be lower than max props ${o.max}.`), re < o.min && ne.push("Min model value must be greater than max props.");
8493
8506
  }), ne.length > 0 ? ne.join(" ") : o.error;
8494
- }), V = g(() => (w.value - o.min) / c.value), q = g(() => (C.value - o.min) / c.value), O = g(() => (D.value - o.min) / c.value), R = g(() => P()), _ = g(() => ({
8495
- right: R.value[0] + "%",
8496
- left: 100 - R.value[2] + "%"
8507
+ }), V = g(() => (w.value - o.min) / c.value), q = g(() => (C.value - o.min) / c.value), B = g(() => (D.value - o.min) / c.value), P = g(() => R()), _ = g(() => ({
8508
+ right: P.value[0] + "%",
8509
+ left: 100 - P.value[2] + "%"
8497
8510
  })), h = g(() => ({
8498
8511
  right: Math.ceil((1 - V.value) * 100) + "%"
8499
8512
  })), S = g(() => ({
8500
8513
  right: Math.ceil((1 - q.value) * 100) + "%"
8501
8514
  })), A = g(() => ({
8502
- right: Math.ceil((1 - O.value) * 100) + "%"
8515
+ right: Math.ceil((1 - B.value) * 100) + "%"
8503
8516
  }));
8504
8517
  Ge(l, (L) => {
8505
8518
  var j;
8506
8519
  ve((j = y(i)) == null ? void 0 : j.getBoundingClientRect(), (ne) => {
8507
8520
  const { dx: re } = L;
8508
- r.deltaValue1 = re / ne.width * c.value, l.value && Y(l.value, o.modelValue[0], r.deltaValue1), L.stop && (B([U(w.value), U(C.value), U(D.value)]), r.deltaValue1 = 0);
8521
+ r.deltaValue1 = re / ne.width * c.value, l.value && Y(l.value, o.modelValue[0], r.deltaValue1), L.stop && (O([U(w.value), U(C.value), U(D.value)]), r.deltaValue1 = 0);
8509
8522
  });
8510
8523
  }), Ge(a, (L) => {
8511
8524
  var j;
8512
8525
  ve((j = y(i)) == null ? void 0 : j.getBoundingClientRect(), (ne) => {
8513
8526
  const { dx: re } = L;
8514
- r.deltaValue2 = re / ne.width * c.value, a.value && Y(a.value, o.modelValue[1], r.deltaValue2), L.stop && (B([U(w.value), U(C.value), U(D.value)]), r.deltaValue2 = 0);
8527
+ r.deltaValue2 = re / ne.width * c.value, a.value && Y(a.value, o.modelValue[1], r.deltaValue2), L.stop && (O([U(w.value), U(C.value), U(D.value)]), r.deltaValue2 = 0);
8515
8528
  });
8516
8529
  }), Ge(d, (L) => {
8517
8530
  var j;
8518
8531
  ve((j = y(i)) == null ? void 0 : j.getBoundingClientRect(), (ne) => {
8519
8532
  const { dx: re } = L;
8520
- r.deltaValue3 = re / ne.width * c.value, d.value && Y(d.value, o.modelValue[2], r.deltaValue3), L.stop && (B([U(w.value), U(C.value), U(D.value)]), r.deltaValue3 = 0);
8533
+ r.deltaValue3 = re / ne.width * c.value, d.value && Y(d.value, o.modelValue[2], r.deltaValue3), L.stop && (O([U(w.value), U(C.value), U(D.value)]), r.deltaValue3 = 0);
8521
8534
  });
8522
8535
  });
8523
8536
  function Y(L, j, ne) {
8524
8537
  const re = U(ge((j ?? 0) + ne, o.min, o.max));
8525
8538
  L.dataset.percent = `${re}${o.measure}`, b();
8526
8539
  }
8527
- function P() {
8528
- const L = Math.ceil((1 - V.value) * 100), j = Math.ceil((1 - q.value) * 100), ne = Math.ceil((1 - O.value) * 100);
8540
+ function R() {
8541
+ const L = Math.ceil((1 - V.value) * 100), j = Math.ceil((1 - q.value) * 100), ne = Math.ceil((1 - B.value) * 100);
8529
8542
  return [L, j, ne].sort((re, Ye) => re - Ye);
8530
8543
  }
8531
8544
  function U(L) {
8532
8545
  const j = ge(L, o.min, o.max);
8533
8546
  return Math.round((j + Number.EPSILON) * (1 / o.step)) / (1 / o.step);
8534
8547
  }
8535
- function B(L) {
8548
+ function O(L) {
8536
8549
  s("update:modelValue", L);
8537
8550
  }
8538
8551
  function b() {
@@ -8546,7 +8559,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8546
8559
  function x(L, j) {
8547
8560
  ["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft", "Enter"].includes(L.code) && L.preventDefault();
8548
8561
  const ne = L.code === "ArrowUp" || L.code === "ArrowRight" ? o.step * 1 : L.code === "ArrowDown" || L.code === "ArrowLeft" ? o.step * -1 : 0, re = [...o.modelValue];
8549
- re[j] = ge(re[j] + ne, o.min, o.max), B(re), b();
8562
+ re[j] = ge(re[j] + ne, o.min, o.max), O(re), b();
8550
8563
  }
8551
8564
  return he(() => {
8552
8565
  b();
@@ -8561,7 +8574,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8561
8574
  L.label ? (u(), p("label", Hc, [
8562
8575
  v("span", null, M(L.label), 1),
8563
8576
  j[3] || (j[3] = f()),
8564
- y(t).tooltip ? (u(), Z(y(we), {
8577
+ y(t).tooltip ? (u(), Z(y(ke), {
8565
8578
  key: 0,
8566
8579
  class: "info",
8567
8580
  position: "top"
@@ -8679,7 +8692,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8679
8692
  return (c, m) => (u(), p("div", me({
8680
8693
  class: [i.value, "ui-input-range"]
8681
8694
  }, c.$attrs), [
8682
- xe(v("input", {
8695
+ be(v("input", {
8683
8696
  "onUpdate:modelValue": m[0] || (m[0] = (k) => l.value.left = k),
8684
8697
  class: "text-s",
8685
8698
  type: "text",
@@ -8693,7 +8706,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8693
8706
  m[8] || (m[8] = f()),
8694
8707
  v("div", Xc, M(t.separator), 1),
8695
8708
  m[9] || (m[9] = f()),
8696
- xe(v("input", {
8709
+ be(v("input", {
8697
8710
  "onUpdate:modelValue": m[4] || (m[4] = (k) => l.value.right = k),
8698
8711
  class: "text-s",
8699
8712
  type: "text",
@@ -8735,16 +8748,16 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8735
8748
  const t = _e(), s = e, o = n, r = de({
8736
8749
  deltaValue1: 0,
8737
8750
  deltaValue2: 0
8738
- }), i = F(), l = F(), a = F(), d = F(o.modelValue), c = F(o.modelValue[0]), m = F(o.modelValue[1]), k = g(() => o), w = On(k), C = g(() => [c.value, m.value].sort((b, x) => b - x).join("-")), D = g(() => o.max - o.min), I = g(() => ge((o.modelValue[0] ?? 0) + r.deltaValue1, o.min, o.max)), V = g(() => ge((o.modelValue[1] ?? 0) + r.deltaValue2, o.min, o.max)), q = g(() => {
8751
+ }), i = F(), l = F(), a = F(), d = F(o.modelValue), c = F(o.modelValue[0]), m = F(o.modelValue[1]), k = g(() => o), w = Bn(k), C = g(() => [c.value, m.value].sort((b, x) => b - x).join("-")), D = g(() => o.max - o.min), I = g(() => ge((o.modelValue[0] ?? 0) + r.deltaValue1, o.min, o.max)), V = g(() => ge((o.modelValue[1] ?? 0) + r.deltaValue2, o.min, o.max)), q = g(() => {
8739
8752
  const b = o.modelValue;
8740
8753
  return Array.isArray(b) && b.length === 2 && b.every((L) => Number.isFinite(L)) ? o.error : "Expected model [number, number]";
8741
- }), O = g(() => (I.value - o.min) / D.value), R = g(() => (V.value - o.min) / D.value), _ = g(() => Y()), h = g(() => ({
8754
+ }), B = g(() => (I.value - o.min) / D.value), P = g(() => (V.value - o.min) / D.value), _ = g(() => Y()), h = g(() => ({
8742
8755
  right: _.value[0] + "%",
8743
8756
  left: 100 - _.value[1] + "%"
8744
8757
  })), S = g(() => ({
8745
- right: Math.ceil((1 - O.value) * 100) + "%"
8758
+ right: Math.ceil((1 - B.value) * 100) + "%"
8746
8759
  })), A = g(() => ({
8747
- right: Math.ceil((1 - R.value) * 100) + "%"
8760
+ right: Math.ceil((1 - P.value) * 100) + "%"
8748
8761
  }));
8749
8762
  ie(
8750
8763
  () => o.modelValue,
@@ -8756,27 +8769,27 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8756
8769
  var x;
8757
8770
  ve((x = y(i)) == null ? void 0 : x.getBoundingClientRect(), (L) => {
8758
8771
  const { dx: j } = b;
8759
- r.deltaValue1 = j / L.width * D.value, c.value = P(ge((o.modelValue[0] ?? 0) + r.deltaValue1, o.min, o.max)), d.value = [c.value, m.value].sort((ne, re) => ne - re), b.stop && (U([P(I.value), P(V.value)]), r.deltaValue1 = 0);
8772
+ r.deltaValue1 = j / L.width * D.value, c.value = R(ge((o.modelValue[0] ?? 0) + r.deltaValue1, o.min, o.max)), d.value = [c.value, m.value].sort((ne, re) => ne - re), b.stop && (U([R(I.value), R(V.value)]), r.deltaValue1 = 0);
8760
8773
  });
8761
8774
  }), Ge(a, (b) => {
8762
8775
  var x;
8763
8776
  ve((x = y(i)) == null ? void 0 : x.getBoundingClientRect(), (L) => {
8764
8777
  const { dx: j } = b;
8765
- r.deltaValue2 = j / L.width * D.value, m.value = P(ge((o.modelValue[1] ?? 0) + r.deltaValue2, o.min, o.max)), d.value = [c.value, m.value].sort((ne, re) => ne - re), b.stop && (U([P(I.value), P(V.value)]), r.deltaValue2 = 0);
8778
+ r.deltaValue2 = j / L.width * D.value, m.value = R(ge((o.modelValue[1] ?? 0) + r.deltaValue2, o.min, o.max)), d.value = [c.value, m.value].sort((ne, re) => ne - re), b.stop && (U([R(I.value), R(V.value)]), r.deltaValue2 = 0);
8766
8779
  });
8767
8780
  });
8768
8781
  function Y() {
8769
- const b = Math.ceil((1 - O.value) * 100), x = Math.ceil((1 - R.value) * 100);
8782
+ const b = Math.ceil((1 - B.value) * 100), x = Math.ceil((1 - P.value) * 100);
8770
8783
  return [b, x].sort((L, j) => L - j);
8771
8784
  }
8772
- function P(b) {
8785
+ function R(b) {
8773
8786
  const x = ge(b, o.min, o.max);
8774
8787
  return Math.round((x + Number.EPSILON) * (1 / o.step)) / (1 / o.step);
8775
8788
  }
8776
8789
  function U(b) {
8777
8790
  s("update:modelValue", b);
8778
8791
  }
8779
- function B(b, x) {
8792
+ function O(b, x) {
8780
8793
  ["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft", "Enter"].includes(b.code) && b.preventDefault();
8781
8794
  const L = b.code === "ArrowUp" || b.code === "ArrowRight" ? o.step * 1 : b.code === "ArrowDown" || b.code === "ArrowLeft" ? o.step * -1 : 0, j = [...o.modelValue];
8782
8795
  j[x] = ge(j[x] + L, o.min, o.max), U(j);
@@ -8792,7 +8805,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8792
8805
  b.label ? (u(), p("label", tp, [
8793
8806
  v("span", null, M(b.label), 1),
8794
8807
  x[3] || (x[3] = f()),
8795
- y(t).tooltip ? (u(), Z(y(we), {
8808
+ y(t).tooltip ? (u(), Z(y(ke), {
8796
8809
  key: 0,
8797
8810
  class: "info",
8798
8811
  position: "top"
@@ -8834,7 +8847,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8834
8847
  style: oe(S.value),
8835
8848
  class: "ui-slider__thumb",
8836
8849
  tabindex: "0",
8837
- onKeydown: x[0] || (x[0] = (L) => B(L, 0))
8850
+ onKeydown: x[0] || (x[0] = (L) => O(L, 0))
8838
8851
  }, x[5] || (x[5] = [
8839
8852
  v("div", { class: "ui-slider__thumb-focused-contour" }, null, -1)
8840
8853
  ]), 36),
@@ -8845,7 +8858,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
8845
8858
  style: oe(A.value),
8846
8859
  class: "ui-slider__thumb",
8847
8860
  tabindex: "0",
8848
- onKeydown: x[1] || (x[1] = (L) => B(L, 1))
8861
+ onKeydown: x[1] || (x[1] = (L) => O(L, 1))
8849
8862
  }, x[6] || (x[6] = [
8850
8863
  v("div", { class: "ui-slider__thumb-focused-contour" }, null, -1)
8851
8864
  ]), 36)
@@ -9009,7 +9022,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
9009
9022
  }, null, 8, ["scroll-left", "client-width", "scroll-width"])
9010
9023
  ]));
9011
9024
  }
9012
- }), cp = "add.svg", pp = "box.svg", fp = "calendar.svg", mp = "checkmark.svg", vp = "clipboard.svg", hp = "close.svg", gp = "copy.svg", yp = "download.svg", _p = "duplicate.svg", bp = "edit.svg", wp = "error.svg", kp = "filter.svg", xp = "help.svg", $p = "info.svg", Cp = "link.svg", Vp = "loading.svg", Sp = "lock.svg", Tp = "maximize.svg", Ep = "minimize.svg", Bp = "minus.svg", Op = "more.svg", Rp = "open.svg", Pp = "pause.svg", Ap = "play.svg", Dp = "renew.svg", Mp = "restart.svg", Ip = "reverse.svg", Lp = "settings.svg", Fp = "sort.svg", jp = "stop.svg", Np = "success.svg", zp = "time.svg", Hp = "tune.svg", Zp = "warning.svg", Up = "zip.svg", Wp = {
9025
+ }), cp = "add.svg", pp = "box.svg", fp = "calendar.svg", mp = "checkmark.svg", vp = "clipboard.svg", hp = "close.svg", gp = "copy.svg", yp = "download.svg", _p = "duplicate.svg", bp = "edit.svg", wp = "error.svg", kp = "filter.svg", xp = "help.svg", $p = "info.svg", Cp = "link.svg", Vp = "loading.svg", Sp = "lock.svg", Tp = "maximize.svg", Ep = "minimize.svg", Op = "minus.svg", Bp = "more.svg", Rp = "open.svg", Pp = "pause.svg", Ap = "play.svg", Dp = "renew.svg", Mp = "restart.svg", Ip = "reverse.svg", Lp = "settings.svg", Fp = "sort.svg", jp = "stop.svg", Np = "success.svg", zp = "time.svg", Hp = "tune.svg", Zp = "warning.svg", Up = "zip.svg", Wp = {
9013
9026
  add: cp,
9014
9027
  "arrow-down": "arrow-down.svg",
9015
9028
  "arrow-left": "arrow-left.svg",
@@ -9057,8 +9070,8 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
9057
9070
  lock: Sp,
9058
9071
  maximize: Tp,
9059
9072
  minimize: Ep,
9060
- minus: Bp,
9061
- more: Op,
9073
+ minus: Op,
9074
+ more: Bp,
9062
9075
  open: Rp,
9063
9076
  "paper-clip": "paper-clip.svg",
9064
9077
  pause: Pp,
@@ -9076,7 +9089,7 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
9076
9089
  "x-axis": "x-axis.svg",
9077
9090
  "y-axis": "y-axis.svg",
9078
9091
  zip: Up
9079
- }, qp = "add.svg", Kp = "annotate.svg", Yp = "annotation.svg", Gp = "area.svg", Xp = "axes.svg", Jp = "bar.svg", Qp = "bindot.svg", ef = "box.svg", tf = "boxplot.svg", nf = "bubble.svg", of = "calendar.svg", sf = "canvas.svg", rf = "checkbox.svg", lf = "checkmark.svg", af = "clipboard.svg", df = "close.svg", uf = "cluster.svg", cf = "code.svg", pf = "color.svg", ff = "columns.svg", mf = "container.svg", vf = "cookie.svg", hf = "copy.svg", gf = "cpu.svg", yf = "debug.svg", _f = "dna.svg", bf = "download.svg", wf = "duplicate.svg", kf = "edit.svg", xf = "error.svg", $f = "filter.svg", Cf = "generate.svg", Vf = "graph.svg", Sf = "heatmap.svg", Tf = "help.svg", Ef = "info.svg", Bf = "jitter.svg", Of = "lasso.svg", Rf = "layers.svg", Pf = "learn.svg", Af = "legend.svg", Df = "line.svg", Mf = "link.svg", If = "loading.svg", Lf = "lock.svg", Ff = "maximize.svg", jf = "menu.svg", Nf = "minimize.svg", zf = "minus.svg", Hf = "more.svg", Zf = "pause.svg", Uf = "pin.svg", Wf = "play.svg", qf = "product.svg", Kf = "publications.svg", Yf = "renew.svg", Gf = "restart.svg", Xf = "reverse.svg", Jf = "search.svg", Qf = "server.svg", em = "settings.svg", tm = "sina.svg", nm = "skatterplot.svg", om = "slice.svg", sm = "sort.svg", rm = "statistics.svg", lm = "stop.svg", im = "success.svg", am = "table.svg", dm = "template.svg", um = "terminal.svg", cm = "time.svg", pm = "tune.svg", fm = "venn.svg", mm = "violin.svg", vm = "warning.svg", hm = "wetlab.svg", gm = "zip.svg", ym = {
9092
+ }, qp = "add.svg", Kp = "annotate.svg", Yp = "annotation.svg", Gp = "area.svg", Xp = "axes.svg", Jp = "bar.svg", Qp = "bindot.svg", ef = "box.svg", tf = "boxplot.svg", nf = "bubble.svg", of = "calendar.svg", sf = "canvas.svg", rf = "checkbox.svg", lf = "checkmark.svg", af = "clipboard.svg", df = "close.svg", uf = "cluster.svg", cf = "code.svg", pf = "color.svg", ff = "columns.svg", mf = "container.svg", vf = "cookie.svg", hf = "copy.svg", gf = "cpu.svg", yf = "debug.svg", _f = "dna.svg", bf = "download.svg", wf = "duplicate.svg", kf = "edit.svg", xf = "error.svg", $f = "filter.svg", Cf = "generate.svg", Vf = "graph.svg", Sf = "heatmap.svg", Tf = "help.svg", Ef = "info.svg", Of = "jitter.svg", Bf = "lasso.svg", Rf = "layers.svg", Pf = "learn.svg", Af = "legend.svg", Df = "line.svg", Mf = "link.svg", If = "loading.svg", Lf = "lock.svg", Ff = "maximize.svg", jf = "menu.svg", Nf = "minimize.svg", zf = "minus.svg", Hf = "more.svg", Zf = "pause.svg", Uf = "pin.svg", Wf = "play.svg", qf = "product.svg", Kf = "publications.svg", Yf = "renew.svg", Gf = "restart.svg", Xf = "reverse.svg", Jf = "search.svg", Qf = "server.svg", em = "settings.svg", tm = "sina.svg", nm = "skatterplot.svg", om = "slice.svg", sm = "sort.svg", rm = "statistics.svg", lm = "stop.svg", im = "success.svg", am = "table.svg", dm = "template.svg", um = "terminal.svg", cm = "time.svg", pm = "tune.svg", fm = "venn.svg", mm = "violin.svg", vm = "warning.svg", hm = "wetlab.svg", gm = "zip.svg", ym = {
9080
9093
  "add-layer": "add-layer.svg",
9081
9094
  add: qp,
9082
9095
  "align-center": "align-center.svg",
@@ -9180,9 +9193,9 @@ const Nc = { class: "ui-slider__wrapper" }, zc = { class: "ui-slider__label-sect
9180
9193
  help: Tf,
9181
9194
  "info-outline": "info-outline.svg",
9182
9195
  info: Ef,
9183
- jitter: Bf,
9196
+ jitter: Of,
9184
9197
  "jump-link": "jump-link.svg",
9185
- lasso: Of,
9198
+ lasso: Bf,
9186
9199
  layers: Rf,
9187
9200
  learn: Pf,
9188
9201
  "legend-box-dot": "legend-box-dot.svg",
@@ -9904,16 +9917,16 @@ export {
9904
9917
  ov as PlNotificationAlert,
9905
9918
  Wm as PlNumberField,
9906
9919
  Um as PlProgressBar,
9907
- Bm as PlRow,
9920
+ Om as PlRow,
9908
9921
  fi as PlSearchField,
9909
9922
  kd as PlSectionSeparator,
9910
9923
  Gm as PlSlideModal,
9911
- Om as PlSpacer,
9924
+ Bm as PlSpacer,
9912
9925
  Qm as PlTabs,
9913
9926
  jm as PlTextArea,
9914
9927
  Fm as PlTextField,
9915
9928
  Xm as PlToggleSwitch,
9916
- we as PlTooltip,
9929
+ ke as PlTooltip,
9917
9930
  mv as Scrollable,
9918
9931
  rv as Slider,
9919
9932
  fv as SliderRange,