droplinked-editor-configs 1.9.15 → 1.9.17

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.
@@ -65291,12 +65291,17 @@ function CBe() {
65291
65291
  applyStagedFilters: m.applyStagedFilters
65292
65292
  })), u = U6(s, 300), d = U6(a, 300);
65293
65293
  ue(() => {
65294
- if (typeof u == "number" && typeof d == "number" && u > d) {
65295
- l("minPrice", d), l("maxPrice", u);
65294
+ let m = !1, g = u, v = d;
65295
+ if (typeof g == "number" && (g < o && (g = o, m = !0), g > i && (g = i, m = !0)), typeof v == "number" && (v > i && (v = i, m = !0), v < o && (v = o, m = !0)), typeof g == "number" && typeof v == "number" && g > v) {
65296
+ const y = g;
65297
+ g = v, v = y, m = !0;
65298
+ }
65299
+ if (m) {
65300
+ g !== u && l("minPrice", g), v !== d && l("maxPrice", v);
65296
65301
  return;
65297
65302
  }
65298
65303
  c();
65299
- }, [u, d, c, l]);
65304
+ }, [u, d, c, l, o, i]);
65300
65305
  const f = (m) => {
65301
65306
  if (m === "") {
65302
65307
  l("minPrice", void 0);
@@ -65317,8 +65322,7 @@ function CBe() {
65317
65322
  {
65318
65323
  value: s ?? "",
65319
65324
  placeholder: o.toString(),
65320
- onValueChange: f,
65321
- min: o
65325
+ onValueChange: f
65322
65326
  }
65323
65327
  ),
65324
65328
  /* @__PURE__ */ p.jsx(Ht.Separator, { className: "shrink-0" }),
@@ -65327,8 +65331,7 @@ function CBe() {
65327
65331
  {
65328
65332
  value: a ?? "",
65329
65333
  placeholder: i.toString(),
65330
- onValueChange: h,
65331
- max: i
65334
+ onValueChange: h
65332
65335
  }
65333
65336
  )
65334
65337
  ] }),