@jield/solodb-react-components 1.2.2 → 1.2.3

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/index.js CHANGED
@@ -413,17 +413,16 @@ async function nt({ environment: e, query: t, order: n, direction: r, page: i, p
413
413
  hasMore: l.page < l.page_count
414
414
  };
415
415
  }
416
- async function rt({ name: e, motivation: t, group_id: n, team_id: r, project_id: i, experimental_split: a, location: o, conclusion: s, run_type: c }) {
416
+ async function rt({ name: e, motivation: t, group_id: n, team_id: r, project_id: i, parts: a, location: o, run_type: s }) {
417
417
  return (await y.post("create/run", {
418
418
  name: e,
419
419
  motivation: t,
420
420
  group_id: n,
421
421
  team_id: r,
422
422
  project_id: i,
423
- ...a === void 0 ? {} : { experimental_split: a },
423
+ ...a === void 0 ? {} : { parts: a },
424
424
  ...o === void 0 ? {} : { location: o },
425
- ...s === void 0 ? {} : { conclusion: s },
426
- ...c === void 0 ? {} : { run_type: c }
425
+ ...s === void 0 ? {} : { run_type: s }
427
426
  })).data;
428
427
  }
429
428
  async function it({ run_id: e, parent_run_id: t, part_ids: n, amount_per_part: r, description: i }) {
@@ -25578,7 +25577,7 @@ var kF = ({ showModal: e, onClose: t, message: n }) => {
25578
25577
  render: ({ field: e }) => /* @__PURE__ */ x(Zv, {
25579
25578
  options: f,
25580
25579
  classNamePrefix: "react-select",
25581
- placeholder: "Select a message type",
25580
+ placeholder: "Select a message type",
25582
25581
  value: f.find((t) => t.value.id === e.value?.id) || null,
25583
25582
  onChange: (t) => e.onChange(t?.value),
25584
25583
  styles: _
@@ -30804,25 +30803,11 @@ function FR({ selection: e, run: t }) {
30804
30803
  }
30805
30804
  //#endregion
30806
30805
  //#region src/modules/run/components/wizard/createRunForm/formSection.tsx
30807
- function IR({ title: e, isFirst: t = !1, children: n }) {
30808
- return /* @__PURE__ */ S(mu, {
30809
- className: `g-3 py-4${t ? "" : " border-top"}`,
30810
- children: [/* @__PURE__ */ x(ji, {
30811
- xs: 12,
30812
- md: 3,
30813
- children: /* @__PURE__ */ x("h3", {
30814
- className: "fs-5 mb-0",
30815
- children: e
30816
- })
30817
- }), /* @__PURE__ */ x(ji, {
30818
- xs: 12,
30819
- md: 9,
30820
- children: /* @__PURE__ */ x("div", {
30821
- className: "d-flex flex-column gap-3",
30822
- children: n
30823
- })
30824
- })]
30825
- });
30806
+ function IR({ title: e, children: t }) {
30807
+ return /* @__PURE__ */ S("fieldset", { children: [/* @__PURE__ */ x("legend", {
30808
+ className: "fs-5 mb-0",
30809
+ children: e
30810
+ }), t] });
30826
30811
  }
30827
30812
  //#endregion
30828
30813
  //#region src/modules/run/components/wizard/createRunForm/organisationSelect.tsx
@@ -30834,46 +30819,54 @@ var LR = (e) => {
30834
30819
  function RR({ controlId: e, label: t, options: n, isLoading: r, value: i, onChange: a, showError: o, disabled: s, helpText: c }) {
30835
30820
  let l = t.toLowerCase(), u = `${l}s`;
30836
30821
  return /* @__PURE__ */ S(U.Group, {
30822
+ as: mu,
30823
+ className: "mb-3",
30837
30824
  controlId: e,
30838
- children: [
30839
- /* @__PURE__ */ S(U.Label, { children: [
30825
+ children: [/* @__PURE__ */ S(U.Label, {
30826
+ column: !0,
30827
+ sm: 3,
30828
+ children: [
30840
30829
  t,
30841
30830
  " ",
30842
30831
  /* @__PURE__ */ x("span", {
30843
30832
  className: "text-danger",
30844
30833
  children: "*"
30845
30834
  })
30846
- ] }),
30847
- /* @__PURE__ */ S(U.Select, {
30848
- value: i ?? "",
30849
- onChange: (e) => a(LR(e.target.value)),
30850
- required: !0,
30851
- disabled: s,
30852
- isInvalid: o,
30853
- children: [/* @__PURE__ */ x("option", {
30854
- value: "",
30855
- children: r ? `Loading ${u}...` : `Select a ${l}`
30856
- }), n.map((e) => /* @__PURE__ */ x("option", {
30857
- value: e.id,
30858
- children: e.label
30859
- }, e.id))]
30860
- }),
30861
- o && /* @__PURE__ */ x(U.Control.Feedback, {
30862
- type: "invalid",
30863
- children: r ? `${t}s are still loading.` : `Select a ${l}.`
30864
- }),
30865
- /* @__PURE__ */ x(U.Text, {
30866
- muted: !0,
30867
- children: c
30868
- })
30869
- ]
30835
+ ]
30836
+ }), /* @__PURE__ */ S(ji, {
30837
+ sm: 9,
30838
+ children: [
30839
+ /* @__PURE__ */ S(U.Select, {
30840
+ value: i ?? "",
30841
+ onChange: (e) => a(LR(e.target.value)),
30842
+ required: !0,
30843
+ disabled: s,
30844
+ isInvalid: o,
30845
+ children: [/* @__PURE__ */ x("option", {
30846
+ value: "",
30847
+ children: r ? `Loading ${u}...` : `— Select a ${l}`
30848
+ }), n.map((e) => /* @__PURE__ */ x("option", {
30849
+ value: e.id,
30850
+ children: e.label
30851
+ }, e.id))]
30852
+ }),
30853
+ o && /* @__PURE__ */ x(U.Control.Feedback, {
30854
+ type: "invalid",
30855
+ children: r ? `${t}s are still loading.` : `— Select a ${l}.`
30856
+ }),
30857
+ /* @__PURE__ */ x(U.Text, {
30858
+ muted: !0,
30859
+ children: c
30860
+ })
30861
+ ]
30862
+ })]
30870
30863
  });
30871
30864
  }
30872
30865
  //#endregion
30873
30866
  //#region src/modules/run/components/wizard/createRunForm/selectionOverview.tsx
30874
- function zR({ title: e, isEmpty: t, emptyText: n, children: r }) {
30875
- return /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
30876
- className: "text-secondary small text-uppercase fw-semibold mb-2",
30867
+ function zR({ title: e, isEmpty: t, children: n }) {
30868
+ return t ? "" : /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
30869
+ className: "text-secondary mb-2",
30877
30870
  children: [
30878
30871
  e,
30879
30872
  " ",
@@ -30882,19 +30875,15 @@ function zR({ title: e, isEmpty: t, emptyText: n, children: r }) {
30882
30875
  children: "(selected previously)"
30883
30876
  })
30884
30877
  ]
30885
- }), t ? /* @__PURE__ */ x("p", {
30886
- className: "text-secondary fst-italic mb-0",
30887
- children: n
30888
- }) : /* @__PURE__ */ x("div", {
30878
+ }), /* @__PURE__ */ x("div", {
30889
30879
  className: "d-flex flex-column gap-2",
30890
- children: r
30880
+ children: n
30891
30881
  })] });
30892
30882
  }
30893
30883
  function BR({ selectedRuns: e, selectedSubstrates: t, partIdsByRunId: n }) {
30894
30884
  return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(zR, {
30895
30885
  title: "Parent runs & parts",
30896
30886
  isEmpty: e.length === 0,
30897
- emptyText: "No parent runs selected.",
30898
30887
  children: e.map((e) => {
30899
30888
  let t = n[e.id]?.length ?? 0;
30900
30889
  return /* @__PURE__ */ S("div", {
@@ -30924,7 +30913,6 @@ function BR({ selectedRuns: e, selectedSubstrates: t, partIdsByRunId: n }) {
30924
30913
  }), /* @__PURE__ */ x(zR, {
30925
30914
  title: "Substrates",
30926
30915
  isEmpty: t.length === 0,
30927
- emptyText: "No substrates selected.",
30928
30916
  children: t.map(({ substrate: e, amount: t }) => /* @__PURE__ */ S("div", {
30929
30917
  className: "d-flex align-items-center justify-content-between gap-3 bg-body-secondary rounded p-2",
30930
30918
  children: [/* @__PURE__ */ S("div", {
@@ -30946,10 +30934,10 @@ function BR({ selectedRuns: e, selectedSubstrates: t, partIdsByRunId: n }) {
30946
30934
  //#endregion
30947
30935
  //#region src/modules/run/components/wizard/createRunForm/createRunForm.tsx
30948
30936
  function VR({ isSubmitting: e, errorMessage: t, selectedRuns: n, selectedSubstrates: r, partIdsByRunId: i, onBack: a, onSubmit: o }) {
30949
- let { environment: s } = P(), [c, l] = v(""), [u, d] = v(""), [f, p] = v(null), [m, h] = v(null), [g, _] = v(null), [y, b] = v("research"), [C, w] = v(1), [T, E] = v(""), [D, O] = v(""), [A, j] = v(!1), M = k({
30937
+ let { environment: s } = P(), [c, l] = v(""), [u, d] = v(""), [f, p] = v(null), [m, h] = v(null), [g, _] = v(null), [y, b] = v(Xt.RESEARCH), [C, w] = v(1), [T, E] = v(""), [D, O] = v(!1), A = k({
30950
30938
  queryKey: ["organisation-groups", s],
30951
30939
  queryFn: () => et({ environment: s })
30952
- }), N = k({
30940
+ }), j = k({
30953
30941
  queryKey: [
30954
30942
  "organisation-teams",
30955
30943
  s,
@@ -30959,7 +30947,7 @@ function VR({ isSubmitting: e, errorMessage: t, selectedRuns: n, selectedSubstra
30959
30947
  environment: s,
30960
30948
  purpose: Qt.Run
30961
30949
  })
30962
- }), ee = k({
30950
+ }), M = k({
30963
30951
  queryKey: [
30964
30952
  "organisation-projects",
30965
30953
  s,
@@ -30969,153 +30957,156 @@ function VR({ isSubmitting: e, errorMessage: t, selectedRuns: n, selectedSubstra
30969
30957
  environment: s,
30970
30958
  purpose: Zt.Run
30971
30959
  })
30972
- }), te = c.trim(), ne = u.trim(), re = M.isLoading || N.isLoading || ee.isLoading, ie = M.isError || N.isError || ee.isError, F = M.data?.items ?? [], ae = N.data?.items ?? [], oe = ee.data?.items ?? [], se = f !== null && F.some((e) => e.id === f), ce = m !== null && ae.some((e) => e.id === m), le = g !== null && oe.some((e) => e.id === g), ue = te === "", de = ne === "", fe = A && ue, pe = A && de, me = !ue && !de && se && ce && le && !re && !ie && !e;
30960
+ }), N = c.trim(), ee = u.trim(), te = A.isLoading || j.isLoading || M.isLoading, ne = A.isError || j.isError || M.isError, re = A.data?.items ?? [], ie = j.data?.items ?? [], F = M.data?.items ?? [], ae = f !== null && re.some((e) => e.id === f), oe = m !== null && ie.some((e) => e.id === m), se = g !== null && F.some((e) => e.id === g), ce = N === "", le = ee === "", ue = D && ce, de = D && le, fe = !ce && !le && ae && oe && se && !te && !ne && !e;
30973
30961
  return /* @__PURE__ */ S(U, {
30974
30962
  noValidate: !0,
30975
30963
  onSubmit: (e) => {
30976
- e.preventDefault(), j(!0), me && o({
30977
- name: te,
30978
- motivation: ne,
30964
+ e.preventDefault(), O(!0), fe && o({
30965
+ name: N,
30966
+ motivation: ee,
30979
30967
  groupId: f,
30980
30968
  teamId: m,
30981
30969
  projectId: g,
30982
30970
  parts: Number.isFinite(C) ? Math.max(1, C) : 1,
30983
30971
  location: T,
30984
- conclusion: D,
30985
30972
  runType: y
30986
30973
  });
30987
30974
  },
30975
+ className: "form-horizontal",
30988
30976
  children: [
30989
30977
  /* @__PURE__ */ S(IR, {
30990
30978
  title: "Details",
30991
- isFirst: !0,
30992
30979
  children: [
30993
30980
  /* @__PURE__ */ S(U.Group, {
30981
+ as: mu,
30982
+ className: "mb-3",
30994
30983
  controlId: "create-run-name",
30995
- children: [
30996
- /* @__PURE__ */ S(U.Label, { children: ["Run name ", /* @__PURE__ */ x("span", {
30984
+ children: [/* @__PURE__ */ S(U.Label, {
30985
+ column: !0,
30986
+ sm: 3,
30987
+ children: ["Run name ", /* @__PURE__ */ x("span", {
30997
30988
  className: "text-danger",
30998
30989
  children: "*"
30999
- })] }),
31000
- /* @__PURE__ */ x(U.Control, {
31001
- type: "text",
31002
- value: c,
31003
- onChange: (e) => l(e.target.value),
31004
- placeholder: "Give a run name",
31005
- required: !0,
31006
- disabled: e,
31007
- isInvalid: fe
31008
- }),
31009
- fe && /* @__PURE__ */ x(U.Control.Feedback, {
31010
- type: "invalid",
31011
- children: "Run name is required."
31012
- }),
31013
- /* @__PURE__ */ x(U.Text, {
31014
- muted: !0,
31015
- children: "Give a short and descriptive name for the run"
31016
- })
31017
- ]
30990
+ })]
30991
+ }), /* @__PURE__ */ S(ji, {
30992
+ sm: 9,
30993
+ children: [
30994
+ /* @__PURE__ */ x(U.Control, {
30995
+ type: "text",
30996
+ value: c,
30997
+ onChange: (e) => l(e.target.value),
30998
+ placeholder: "Give a run name",
30999
+ required: !0,
31000
+ disabled: e,
31001
+ isInvalid: ue
31002
+ }),
31003
+ ue && /* @__PURE__ */ x(U.Control.Feedback, {
31004
+ type: "invalid",
31005
+ children: "Run name is required."
31006
+ }),
31007
+ /* @__PURE__ */ x(U.Text, {
31008
+ muted: !0,
31009
+ children: "Give a short and descriptive name for the run"
31010
+ })
31011
+ ]
31012
+ })]
31018
31013
  }),
31019
31014
  /* @__PURE__ */ S(U.Group, {
31015
+ as: mu,
31016
+ className: "mb-3",
31020
31017
  controlId: "create-run-location",
31021
- children: [
31022
- /* @__PURE__ */ x(U.Label, { children: "Sample location" }),
31023
- /* @__PURE__ */ x(U.Control, {
31018
+ children: [/* @__PURE__ */ x(U.Label, {
31019
+ column: !0,
31020
+ sm: 3,
31021
+ children: "Sample location"
31022
+ }), /* @__PURE__ */ S(ji, {
31023
+ sm: 9,
31024
+ children: [/* @__PURE__ */ x(U.Control, {
31024
31025
  type: "text",
31025
31026
  value: T,
31026
31027
  onChange: (e) => E(e.target.value),
31027
31028
  placeholder: "Location of the samples",
31028
31029
  disabled: e
31029
- }),
31030
- /* @__PURE__ */ x(U.Text, {
31030
+ }), /* @__PURE__ */ x(U.Text, {
31031
31031
  muted: !0,
31032
31032
  children: "Give here the location where the run samples are stored"
31033
- })
31034
- ]
31033
+ })]
31034
+ })]
31035
31035
  }),
31036
31036
  /* @__PURE__ */ S(U.Group, {
31037
+ as: mu,
31038
+ className: "mb-3",
31037
31039
  controlId: "create-run-motivation",
31038
- children: [
31039
- /* @__PURE__ */ S(U.Label, { children: ["Motivation ", /* @__PURE__ */ x("span", {
31040
+ children: [/* @__PURE__ */ S(U.Label, {
31041
+ column: !0,
31042
+ sm: 3,
31043
+ children: ["Motivation ", /* @__PURE__ */ x("span", {
31040
31044
  className: "text-danger",
31041
31045
  children: "*"
31042
- })] }),
31043
- /* @__PURE__ */ x(U.Control, {
31044
- as: "textarea",
31045
- rows: 3,
31046
- value: u,
31047
- onChange: (e) => d(e.target.value),
31048
- placeholder: "Why is this run being created?",
31049
- required: !0,
31050
- disabled: e,
31051
- isInvalid: pe
31052
- }),
31053
- pe && /* @__PURE__ */ x(U.Control.Feedback, {
31054
- type: "invalid",
31055
- children: "Motivation is required."
31056
- }),
31057
- /* @__PURE__ */ x(U.Text, {
31058
- muted: !0,
31059
- children: "Explain here the motivation for this run"
31060
- })
31061
- ]
31062
- }),
31063
- /* @__PURE__ */ S(U.Group, {
31064
- controlId: "create-run-conclusion",
31065
- children: [
31066
- /* @__PURE__ */ x(U.Label, { children: "Conclusion" }),
31067
- /* @__PURE__ */ x(U.Control, {
31068
- type: "text",
31069
- value: D,
31070
- onChange: (e) => O(e.target.value),
31071
- placeholder: "Optional",
31072
- disabled: e
31073
- }),
31074
- /* @__PURE__ */ x(U.Text, {
31075
- muted: !0,
31076
- children: "Explain the conclusion of this run"
31077
- })
31078
- ]
31046
+ })]
31047
+ }), /* @__PURE__ */ S(ji, {
31048
+ sm: 9,
31049
+ children: [
31050
+ /* @__PURE__ */ x(U.Control, {
31051
+ as: "textarea",
31052
+ rows: 3,
31053
+ value: u,
31054
+ onChange: (e) => d(e.target.value),
31055
+ placeholder: "Why is this run being created?",
31056
+ required: !0,
31057
+ disabled: e,
31058
+ isInvalid: de
31059
+ }),
31060
+ de && /* @__PURE__ */ x(U.Control.Feedback, {
31061
+ type: "invalid",
31062
+ children: "Motivation is required."
31063
+ }),
31064
+ /* @__PURE__ */ x(U.Text, {
31065
+ muted: !0,
31066
+ children: "Explain here the motivation for this run"
31067
+ })
31068
+ ]
31069
+ })]
31079
31070
  })
31080
31071
  ]
31081
31072
  }),
31082
31073
  /* @__PURE__ */ S(IR, {
31083
31074
  title: "Organisation",
31084
31075
  children: [
31085
- A && ie && /* @__PURE__ */ x(oi, {
31076
+ D && ne && /* @__PURE__ */ x(oi, {
31086
31077
  variant: "warning",
31087
31078
  children: "Could not load organisation values."
31088
31079
  }),
31089
31080
  /* @__PURE__ */ x(RR, {
31090
31081
  controlId: "create-run-group",
31091
31082
  label: "Group",
31092
- options: F,
31093
- isLoading: M.isLoading,
31083
+ options: re,
31084
+ isLoading: A.isLoading,
31094
31085
  value: f,
31095
31086
  onChange: p,
31096
- showError: A && !se,
31087
+ showError: D && !ae,
31097
31088
  disabled: e,
31098
31089
  helpText: "Select the group to which this run belongs"
31099
31090
  }),
31100
31091
  /* @__PURE__ */ x(RR, {
31101
31092
  controlId: "create-run-team",
31102
31093
  label: "Team",
31103
- options: ae,
31104
- isLoading: N.isLoading,
31094
+ options: ie,
31095
+ isLoading: j.isLoading,
31105
31096
  value: m,
31106
31097
  onChange: h,
31107
- showError: A && !ce,
31098
+ showError: D && !oe,
31108
31099
  disabled: e,
31109
31100
  helpText: "Select the team to which this run belongs"
31110
31101
  }),
31111
31102
  /* @__PURE__ */ x(RR, {
31112
31103
  controlId: "create-run-project",
31113
31104
  label: "Project",
31114
- options: oe,
31115
- isLoading: ee.isLoading,
31105
+ options: F,
31106
+ isLoading: M.isLoading,
31116
31107
  value: g,
31117
31108
  onChange: _,
31118
- showError: A && !le,
31109
+ showError: D && !se,
31119
31110
  disabled: e,
31120
31111
  helpText: "Select the project to which this run belongs"
31121
31112
  })
@@ -31124,48 +31115,66 @@ function VR({ isSubmitting: e, errorMessage: t, selectedRuns: n, selectedSubstra
31124
31115
  /* @__PURE__ */ x(IR, {
31125
31116
  title: "Parts",
31126
31117
  children: /* @__PURE__ */ S(U.Group, {
31118
+ as: mu,
31119
+ className: "mb-3",
31127
31120
  controlId: "create-run-parts",
31128
- children: [
31129
- /* @__PURE__ */ x(U.Label, { children: "Experimental split" }),
31130
- /* @__PURE__ */ x(U.Control, {
31121
+ children: [/* @__PURE__ */ x(U.Label, {
31122
+ column: !0,
31123
+ sm: 3,
31124
+ children: "Experimental split"
31125
+ }), /* @__PURE__ */ S(ji, {
31126
+ sm: 9,
31127
+ children: [/* @__PURE__ */ x(U.Control, {
31131
31128
  type: "number",
31132
31129
  min: 1,
31133
31130
  step: 1,
31134
31131
  value: C,
31135
31132
  onChange: (e) => w(Number(e.target.value)),
31136
31133
  disabled: e
31137
- }),
31138
- /* @__PURE__ */ x(U.Text, {
31134
+ }), /* @__PURE__ */ x(U.Text, {
31139
31135
  muted: !0,
31140
31136
  children: "Select here the amount of parts (experimental split) this run has, give only the main amount of parts, individual parts can be split later"
31141
- })
31142
- ]
31137
+ })]
31138
+ })]
31143
31139
  })
31144
31140
  }),
31145
31141
  /* @__PURE__ */ x(IR, {
31146
31142
  title: "Type",
31147
31143
  children: /* @__PURE__ */ S(U.Group, {
31144
+ as: mu,
31145
+ className: "mb-3",
31148
31146
  controlId: "create-run-type",
31149
- children: [/* @__PURE__ */ x(U.Label, { children: "Run type" }), /* @__PURE__ */ S(U.Select, {
31150
- value: y,
31151
- onChange: (e) => b(e.target.value),
31152
- disabled: e,
31153
- children: [/* @__PURE__ */ x("option", {
31154
- value: "research",
31155
- children: "Research"
31156
- }), /* @__PURE__ */ x("option", {
31157
- value: "production",
31158
- children: "Production"
31159
- })]
31147
+ children: [/* @__PURE__ */ x(U.Label, {
31148
+ column: !0,
31149
+ sm: 3,
31150
+ children: "Run type"
31151
+ }), /* @__PURE__ */ x(ji, {
31152
+ sm: 9,
31153
+ children: /* @__PURE__ */ S(U.Select, {
31154
+ value: y,
31155
+ onChange: (e) => b(e.target.value),
31156
+ disabled: e,
31157
+ children: [/* @__PURE__ */ x("option", {
31158
+ value: Xt.RESEARCH,
31159
+ children: "Research"
31160
+ }), /* @__PURE__ */ x("option", {
31161
+ value: Xt.PRODUCTION,
31162
+ children: "Production"
31163
+ })]
31164
+ })
31160
31165
  })]
31161
31166
  })
31162
31167
  }),
31163
- /* @__PURE__ */ x(IR, {
31164
- title: "Overview",
31165
- children: /* @__PURE__ */ x(BR, {
31166
- selectedRuns: n,
31167
- selectedSubstrates: r,
31168
- partIdsByRunId: i
31168
+ /* @__PURE__ */ x(mu, {
31169
+ className: "my-3",
31170
+ children: /* @__PURE__ */ x(ji, {
31171
+ sm: 9,
31172
+ className: "offset-sm-3",
31173
+ children: /* @__PURE__ */ x(BR, {
31174
+ selectedRuns: n,
31175
+ selectedSubstrates: r,
31176
+ partIdsByRunId: i
31177
+ })
31169
31178
  })
31170
31179
  }),
31171
31180
  t && /* @__PURE__ */ x(oi, {
@@ -31282,9 +31291,8 @@ function qR() {
31282
31291
  group_id: e.groupId,
31283
31292
  team_id: e.teamId,
31284
31293
  project_id: e.projectId,
31285
- experimental_split: e.parts,
31294
+ parts: e.parts,
31286
31295
  location: e.location || null,
31287
- conclusion: e.conclusion || null,
31288
31296
  run_type: e.runType
31289
31297
  }), i = CR(r.id, t).map((e) => it(e)), a = n.map(({ substrate: e, amount: t }) => at({
31290
31298
  run_id: r.id,
@@ -32492,7 +32500,7 @@ var xz = ({ run: e, show: n, setShow: r, runHoldCode: i, setRunHoldCode: a }) =>
32492
32500
  render: ({ field: e }) => /* @__PURE__ */ x(Ox, {
32493
32501
  isSearchable: !1,
32494
32502
  defaultOptions: !0,
32495
- placeholder: "Select a hold code",
32503
+ placeholder: "Select a hold code",
32496
32504
  loadOptions: g,
32497
32505
  value: e.value,
32498
32506
  onChange: (t) => {
@@ -33162,7 +33170,7 @@ var Oz = ({ pageSize: e = 25, hideLabel: n = !1 }) => {
33162
33170
  children: [
33163
33171
  m.length === 0 && /* @__PURE__ */ x(oi, {
33164
33172
  variant: "info",
33165
- children: "Please select a rework step"
33173
+ children: " Select a rework step"
33166
33174
  }),
33167
33175
  m.length > 0 && /* @__PURE__ */ S(U.Control, {
33168
33176
  as: "select",