locust-ui 2.42.4-next-19389156084 → 2.42.4-next-19434338895

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.
@@ -168,6 +168,7 @@ declare interface ICustomInput {
168
168
  name: string;
169
169
  type?: string;
170
170
  choices?: string[] | null;
171
+ isMultiple?: boolean;
171
172
  defaultValue?: string | number | boolean | null;
172
173
  isSecret?: boolean;
173
174
  isRequired?: boolean;
package/lib/webui.js CHANGED
@@ -7707,31 +7707,33 @@ function vS({
7707
7707
  type: r = "text",
7708
7708
  defaultValue: n,
7709
7709
  choices: i,
7710
- isSecret: a,
7711
- isRequired: o
7710
+ isMultiple: a,
7711
+ isSecret: o,
7712
+ isRequired: s
7712
7713
  }) {
7713
7714
  return i ? /* @__PURE__ */ T.jsx(
7714
7715
  cv,
7715
7716
  {
7716
7717
  defaultValue: n,
7717
7718
  label: t,
7719
+ multiple: a,
7718
7720
  name: e,
7719
7721
  options: i,
7720
- required: o,
7722
+ required: s,
7721
7723
  sx: { width: "100%" }
7722
7724
  }
7723
7725
  ) : typeof n == "boolean" ? /* @__PURE__ */ T.jsx(
7724
7726
  nb,
7725
7727
  {
7726
- control: /* @__PURE__ */ T.jsx(id, { defaultChecked: n, required: o }),
7728
+ control: /* @__PURE__ */ T.jsx(id, { defaultChecked: n, required: s }),
7727
7729
  label: t,
7728
7730
  name: e
7729
7731
  }
7730
- ) : a ? /* @__PURE__ */ T.jsx(
7732
+ ) : o ? /* @__PURE__ */ T.jsx(
7731
7733
  lR,
7732
7734
  {
7733
7735
  defaultValue: n,
7734
- isRequired: o,
7736
+ isRequired: s,
7735
7737
  label: t,
7736
7738
  name: e
7737
7739
  }
@@ -7741,7 +7743,7 @@ function vS({
7741
7743
  defaultValue: n,
7742
7744
  label: t,
7743
7745
  name: e,
7744
- required: o,
7746
+ required: s,
7745
7747
  sx: { width: "100%" },
7746
7748
  type: r
7747
7749
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locust-ui",
3
- "version": "2.42.4-next-19389156084",
3
+ "version": "2.42.4-next-19434338895",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./lib/webui.js",