vim-web 0.3.44-dev.74 → 0.3.44-dev.76

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.
@@ -75685,7 +75685,8 @@ Averrage Date/Second ${avgDataRatePS} kb
75685
75685
  );
75686
75686
  }
75687
75687
  function GenericEntry(field) {
75688
- if (field.visible() === false) return null;
75688
+ var _a3;
75689
+ if (((_a3 = field.visible) == null ? void 0 : _a3.call(field)) === false) return null;
75689
75690
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
75690
75691
  "div",
75691
75692
  {
@@ -75700,13 +75701,14 @@ Averrage Date/Second ${avgDataRatePS} kb
75700
75701
  );
75701
75702
  }
75702
75703
  function GenericField(props) {
75704
+ var _a3, _b2, _c, _d, _e, _f;
75703
75705
  switch (props.field.type) {
75704
75706
  case "number":
75705
- return /* @__PURE__ */ jsxRuntimeExports.jsx(InputNumber, { state: props.field.state, disabled: !props.field.enabled() });
75707
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(InputNumber, { state: props.field.state, disabled: ((_b2 = (_a3 = props.field).enabled) == null ? void 0 : _b2.call(_a3)) === false });
75706
75708
  case "text":
75707
- return /* @__PURE__ */ jsxRuntimeExports.jsx(GenericTextField, { state: props.field.state, disabled: !props.field.enabled() });
75709
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(GenericTextField, { state: props.field.state, disabled: !((_d = (_c = props.field).enabled) == null ? void 0 : _d.call(_c)) === false });
75708
75710
  case "bool":
75709
- return /* @__PURE__ */ jsxRuntimeExports.jsx(GenericBoolField, { state: props.field.state, disabled: !props.field.enabled() });
75711
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(GenericBoolField, { state: props.field.state, disabled: !((_f = (_e = props.field).enabled) == null ? void 0 : _f.call(_e)) === false });
75710
75712
  default:
75711
75713
  return null;
75712
75714
  }