vim-web 0.3.44-dev.14 → 0.3.44-dev.15

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.
@@ -75895,9 +75895,12 @@ Averrage Date/Second ${avgDataRatePS} kb
75895
75895
  bottomOffset.set("1");
75896
75896
  void sectionReset.call();
75897
75897
  });
75898
- topOffset.useValidate((v) => sanitize(v, false));
75899
- sideOffset.useValidate((v) => sanitize(v, false));
75900
- bottomOffset.useValidate((v) => sanitize(v, false));
75898
+ auto.useValidate((v) => v && enable.get());
75899
+ visible2.useValidate((v) => enable.get() && v);
75900
+ showOffsetPanel.useValidate((v) => enable.get() && v);
75901
+ topOffset.useValidate((v) => enable.get() ? sanitize(v, false) : "1");
75902
+ sideOffset.useValidate((v) => enable.get() ? sanitize(v, false) : "1");
75903
+ bottomOffset.useValidate((v) => enable.get() ? sanitize(v, false) : "1");
75901
75904
  topOffset.useConfirm((v) => sanitize(v, true));
75902
75905
  sideOffset.useConfirm((v) => sanitize(v, true));
75903
75906
  bottomOffset.useConfirm((v) => sanitize(v, true));
@@ -75907,12 +75910,12 @@ Averrage Date/Second ${avgDataRatePS} kb
75907
75910
  auto.useOnChange((v) => {
75908
75911
  if (v) sectionSelection.call();
75909
75912
  });
75913
+ visible2.useOnChange((v) => adapter.setVisible(v));
75910
75914
  React2.useEffect(() => {
75911
75915
  return adapter.onSelectionChanged.sub(() => {
75912
75916
  if (auto.get()) sectionSelection.call();
75913
75917
  });
75914
75918
  }, []);
75915
- visible2.useOnChange((v) => adapter.setVisible(v));
75916
75919
  const section = useArgActionRef((baseBox) => {
75917
75920
  boxRef.current = baseBox;
75918
75921
  const newBox = addBox(baseBox, offsetsToBox3(topOffset.get(), sideOffset.get(), bottomOffset.get()));