@devtron-labs/devtron-fe-common-lib 1.5.13 → 1.5.14

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.
Files changed (60) hide show
  1. package/dist/@code-editor-DPKpPiDK.js +41877 -0
  2. package/dist/{@common-rjsf-CCiAa1v9.js → @common-rjsf-D0VNXpZS.js} +79 -83
  3. package/dist/{@framer-motion-CbfcgbXI.js → @framer-motion-CpA7HTl-.js} +70 -70
  4. package/dist/{@react-dates-CHLhA4kl.js → @react-dates-CaRoxjcN.js} +14 -14
  5. package/dist/{@react-select-CgLj7C5f.js → @react-select-D4CIuOAx.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-Cj8etBAu.js → @react-virtualized-sticky-tree-CZZtnJ_O.js} +1 -1
  7. package/dist/@vendor-CKSERKp7.js +42519 -0
  8. package/dist/Common/ClipboardButton/index.d.ts +1 -0
  9. package/dist/Common/CodeEditor/CodeEditor.components.d.ts +11 -0
  10. package/dist/Common/CodeEditor/CodeEditor.constants.d.ts +7 -0
  11. package/dist/Common/CodeEditor/CodeEditor.context.d.ts +3 -0
  12. package/dist/Common/CodeEditor/CodeEditor.d.ts +13 -3
  13. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +3 -47
  14. package/dist/Common/CodeEditor/CodeEditor.theme.d.ts +1 -0
  15. package/dist/Common/CodeEditor/CodeEditorRenderer.d.ts +2 -0
  16. package/dist/Common/CodeEditor/Extensions/findAndReplace.d.ts +2 -0
  17. package/dist/Common/CodeEditor/Extensions/index.d.ts +3 -0
  18. package/dist/Common/CodeEditor/Extensions/readOnlyTooltip.d.ts +6 -0
  19. package/dist/Common/CodeEditor/Extensions/yamlParseLinter.d.ts +3 -0
  20. package/dist/Common/CodeEditor/index.d.ts +1 -1
  21. package/dist/Common/CodeEditor/types.d.ts +83 -76
  22. package/dist/Common/CodeEditor/utils.d.ts +13 -3
  23. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -1
  24. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  25. package/dist/Common/Types.d.ts +0 -13
  26. package/dist/Common/index.d.ts +0 -1
  27. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  28. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -1
  29. package/dist/Shared/Components/Collapse/Collapse.d.ts +0 -1
  30. package/dist/Shared/Components/EditableTextArea/types.d.ts +0 -1
  31. package/dist/Shared/Components/FormFieldWrapper/FormFieldInfo.d.ts +3 -0
  32. package/dist/Shared/Components/FormFieldWrapper/FormFieldLabel.d.ts +3 -0
  33. package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +3 -0
  34. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +3 -0
  35. package/dist/Shared/Components/FormFieldWrapper/types.d.ts +75 -0
  36. package/dist/Shared/Components/FormFieldWrapper/utils.d.ts +18 -0
  37. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  38. package/dist/Shared/Components/SelectPicker/type.d.ts +2 -13
  39. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +3 -0
  40. package/dist/Shared/Components/Textarea/constants.d.ts +4 -0
  41. package/dist/Shared/Components/Textarea/index.d.ts +2 -0
  42. package/dist/Shared/Components/Textarea/types.d.ts +17 -0
  43. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +1 -0
  44. package/dist/Shared/Components/index.d.ts +2 -0
  45. package/dist/Shared/constants.d.ts +4 -0
  46. package/dist/Shared/types.d.ts +8 -0
  47. package/dist/assets/@code-editor.css +1 -1
  48. package/dist/assets/ic-match-case.702186fe.svg +3 -0
  49. package/dist/assets/ic-match-word.991dea5a.svg +3 -0
  50. package/dist/assets/ic-replace-all-text.7ebbab01.svg +3 -0
  51. package/dist/assets/ic-replace-text.5de817d2.svg +3 -0
  52. package/dist/assets/{ic-warning.10bcf8bd.svg → ic-warning.a842ba2a.svg} +1 -1
  53. package/dist/index.js +601 -599
  54. package/package.json +14 -7
  55. package/dist/@code-editor-DpYDAAJZ.js +0 -23000
  56. package/dist/@monaco-editor-CVagbUeH.js +0 -138960
  57. package/dist/@vendor-ROKJESOw.js +0 -22734
  58. package/dist/Common/ResizableTextarea.d.ts +0 -3
  59. package/dist/assets/@monaco-editor.css +0 -1
  60. package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
@@ -1,15 +1,15 @@
1
- import { j as t, J as $ } from "./@vendor-ROKJESOw.js";
1
+ import { j as t, O as $ } from "./@vendor-CKSERKp7.js";
2
2
  import A, { forwardRef as E } from "react";
3
3
  import L, { getDefaultRegistry as D } from "@rjsf/core";
4
4
  import H from "@rjsf/validator-ajv8";
5
- import { T, c as U, a as k, i as J, b as y, d as S } from "./@code-editor-DpYDAAJZ.js";
5
+ import { T as v, c as U, a as k, i as J, b as w, d as S } from "./@code-editor-DPKpPiDK.js";
6
6
  import M, { components as B } from "react-select";
7
- import { ReactComponent as V } from "./assets/ic-chevron-down.fc70d7a7.svg";
8
- import { getUiOptions as C, getTemplate as I, getSubmitButtonOptions as W, ADDITIONAL_PROPERTY_FLAG as P, errorId as q, englishStringTranslator as K, TranslatableString as Y, titleId as z, canExpand as G, deepEquals as Q } from "@rjsf/utils";
7
+ import { ReactComponent as W } from "./assets/ic-chevron-down.fc70d7a7.svg";
8
+ import { getUiOptions as C, getTemplate as I, getSubmitButtonOptions as V, ADDITIONAL_PROPERTY_FLAG as P, errorId as q, englishStringTranslator as K, TranslatableString as Y, titleId as z, canExpand as G, deepEquals as Q } from "@rjsf/utils";
9
9
  import { ReactComponent as X } from "./assets/ic-add.cfaa779b.svg";
10
10
  import { ReactComponent as Z } from "./assets/ic-cross.01e03666.svg";
11
- import { ReactComponent as ee } from "./assets/ic-warning.10bcf8bd.svg";
12
- import './assets/@common-rjsf.css';const N = {
11
+ import { ReactComponent as ee } from "./assets/ic-warning.a842ba2a.svg";
12
+ import './assets/@common-rjsf.css';const T = {
13
13
  SELECT: "Please select an option",
14
14
  INPUT: "Please enter an input",
15
15
  OBJECT_KEY: "Please enter a value for the key"
@@ -17,7 +17,7 @@ import './assets/@common-rjsf.css';const N = {
17
17
  "ui:submitButtonOptions": {
18
18
  norender: !0
19
19
  }
20
- }, b = ({
20
+ }, g = ({
21
21
  showLabel: n,
22
22
  label: e,
23
23
  required: s,
@@ -31,7 +31,7 @@ import './assets/@common-rjsf.css';const N = {
31
31
  className: n ? `display-grid dc__gap-12 rjsf-form-template__field ${i ? "flex-align-center" : ""}` : "",
32
32
  children: [
33
33
  n && /* @__PURE__ */ t.jsxs("label", { className: "cn-7 fs-13 lh-20 fw-4 flexbox mb-0", htmlFor: r, children: [
34
- /* @__PURE__ */ t.jsx(T, { alwaysShowTippyOnHover: !!o, content: o, children: /* @__PURE__ */ t.jsx("span", { className: `dc__ellipsis-right ${o ? "text-underline-dashed-300" : ""}`, children: e || te }) }),
34
+ /* @__PURE__ */ t.jsx(v, { alwaysShowTippyOnHover: !!o, content: o, children: /* @__PURE__ */ t.jsx("span", { className: `dc__ellipsis-right ${o ? "text-underline-dashed-300" : ""}`, children: e || te }) }),
35
35
  s && /* @__PURE__ */ t.jsx("span", { className: "cr-5", children: " *" })
36
36
  ] }),
37
37
  a
@@ -62,23 +62,23 @@ import './assets/@common-rjsf.css';const N = {
62
62
  readonly: c,
63
63
  registry: l,
64
64
  required: d,
65
- title: x
65
+ title: f
66
66
  }) => {
67
- const p = C(r), h = I("ArrayFieldItemTemplate", l, p), u = p.title || x;
67
+ const p = C(r), h = I("ArrayFieldItemTemplate", l, p), m = p.title || f;
68
68
  return /* @__PURE__ */ t.jsx("fieldset", { className: e, id: a.$id, children: o.length ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
69
- o.map(({ key: _, ...j }, f) => {
70
- const m = {
71
- ...j.children,
69
+ o.map(({ key: _, ...x }, j) => {
70
+ const u = {
71
+ ...x.children,
72
72
  props: {
73
- ...j.children.props
73
+ ...x.children.props
74
74
  }
75
75
  };
76
- return /* @__PURE__ */ t.jsx(h, { ...j, children: m }, _);
76
+ return /* @__PURE__ */ t.jsx(h, { ...x, children: u }, _);
77
77
  }),
78
78
  /* @__PURE__ */ t.jsx(
79
79
  F,
80
80
  {
81
- label: u,
81
+ label: m,
82
82
  canAdd: n,
83
83
  onAddClick: i,
84
84
  disabled: s,
@@ -87,10 +87,10 @@ import './assets/@common-rjsf.css';const N = {
87
87
  registry: l
88
88
  }
89
89
  )
90
- ] }) : /* @__PURE__ */ t.jsx(b, { label: u, required: d, showLabel: !0, id: a.$id, children: /* @__PURE__ */ t.jsx(
90
+ ] }) : /* @__PURE__ */ t.jsx(g, { label: m, required: d, showLabel: !0, id: a.$id, children: /* @__PURE__ */ t.jsx(
91
91
  F,
92
92
  {
93
- label: u,
93
+ label: m,
94
94
  canAdd: n,
95
95
  onAddClick: i,
96
96
  disabled: s,
@@ -128,7 +128,7 @@ import './assets/@common-rjsf.css';const N = {
128
128
  } = D(), re = ({ placeholder: n, ...e }) => /* @__PURE__ */ t.jsx(
129
129
  ae,
130
130
  {
131
- placeholder: n || N.INPUT,
131
+ placeholder: n || T.INPUT,
132
132
  ...e,
133
133
  className: "form__input cn-9 fs-13 lh-20 fw-4"
134
134
  }
@@ -150,20 +150,20 @@ import './assets/@common-rjsf.css';const N = {
150
150
  title: "Add",
151
151
  children: [
152
152
  /* @__PURE__ */ t.jsx(X, { className: "icon-dim-16 fcb-5" }),
153
- /* @__PURE__ */ t.jsx(T, { placement: "right", content: i, children: /* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: i }) })
153
+ /* @__PURE__ */ t.jsx(v, { placement: "right", content: i, children: /* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: i }) })
154
154
  ]
155
155
  }
156
156
  ) });
157
157
  }, oe = ({ icon: n, iconType: e, registry: s, uiSchema: a, ...r }) => /* @__PURE__ */ t.jsx("button", { ...r, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ t.jsx(Z, { className: "icon-dim-16 fcn-6" }) }), ie = ({ uiSchema: n }) => {
158
- const { submitText: e, norender: s, props: a = {} } = W(n);
158
+ const { submitText: e, norender: s, props: a = {} } = V(n);
159
159
  return s ? null : /* @__PURE__ */ t.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ t.jsx("button", { type: "submit", ...a, className: `cta ${a.className || ""}`, children: e }) });
160
- }, w = ({
160
+ }, N = ({
161
161
  id: n,
162
162
  title: e,
163
163
  required: s,
164
164
  description: a
165
165
  }) => /* @__PURE__ */ t.jsxs("legend", { className: "fs-13 fw-6 cn-9 lh-20 dc__no-border pb-9 mb-0", id: n, children: [
166
- /* @__PURE__ */ t.jsx(T, { alwaysShowTippyOnHover: !!a, content: a, children: /* @__PURE__ */ t.jsx("span", { className: `${a ? "text-underline-dashed-300" : ""}`, children: e }) }),
166
+ /* @__PURE__ */ t.jsx(v, { alwaysShowTippyOnHover: !!a, content: a, children: /* @__PURE__ */ t.jsx("span", { className: `${a ? "text-underline-dashed-300" : ""}`, children: e }) }),
167
167
  s && /* @__PURE__ */ t.jsx("span", { className: "cr-5", children: " *" })
168
168
  ] }), le = (n) => {
169
169
  const {
@@ -176,19 +176,19 @@ import './assets/@common-rjsf.css';const N = {
176
176
  displayLabel: c,
177
177
  registry: l,
178
178
  uiSchema: d,
179
- classNames: x,
179
+ classNames: f,
180
180
  schema: p,
181
181
  rawDescription: h
182
- } = n, u = C(d), _ = I(
182
+ } = n, m = C(d), _ = I(
183
183
  "WrapIfAdditionalTemplate",
184
184
  l,
185
- u
186
- ), j = P in p, f = (c || p.type === "boolean") && !j, m = p.type === "array";
185
+ m
186
+ ), x = P in p, j = (c || p.type === "boolean") && !x, u = p.type === "array";
187
187
  return o ? /* @__PURE__ */ t.jsx("div", { className: "hidden", children: a }) : (
188
188
  // NOTE: need to override the margins of default rjsf css
189
- /* @__PURE__ */ t.jsxs("div", { className: `${x} mb-0`, children: [
190
- m && /* @__PURE__ */ t.jsx(
191
- w,
189
+ /* @__PURE__ */ t.jsxs("div", { className: `${f} mb-0`, children: [
190
+ u && /* @__PURE__ */ t.jsx(
191
+ N,
192
192
  {
193
193
  id: e,
194
194
  title: s,
@@ -200,10 +200,10 @@ import './assets/@common-rjsf.css';const N = {
200
200
  }
201
201
  ),
202
202
  /* @__PURE__ */ t.jsx(
203
- b,
203
+ g,
204
204
  {
205
205
  label: s,
206
- showLabel: f,
206
+ showLabel: j,
207
207
  id: e,
208
208
  required: i,
209
209
  rawDescription: h,
@@ -257,7 +257,7 @@ import './assets/@common-rjsf.css';const N = {
257
257
  default:
258
258
  return "null";
259
259
  }
260
- }, v = (n) => {
260
+ }, y = (n) => {
261
261
  if (!n)
262
262
  return "";
263
263
  const e = n.trim();
@@ -271,13 +271,13 @@ import './assets/@common-rjsf.css';const N = {
271
271
  const e = structuredClone(n);
272
272
  return typeof e == "string" ? {
273
273
  value: !0,
274
- path: v(e)
274
+ path: y(e)
275
275
  } : typeof e != "object" ? structuredClone(O) : Object.hasOwn(e, "condition") && "condition" in e && Object.hasOwn(e, "value") && "value" in e ? {
276
276
  value: e.condition,
277
- path: v(e.value)
277
+ path: y(e.value)
278
278
  } : Object.hasOwn(e, "value") && "value" in e && Object.hasOwn(e, "path") && "path" in e ? {
279
279
  value: e.value,
280
- path: v(e.path)
280
+ path: y(e.path)
281
281
  } : structuredClone(O);
282
282
  }, me = ({
283
283
  disabled: n,
@@ -290,41 +290,41 @@ import './assets/@common-rjsf.css';const N = {
290
290
  required: c,
291
291
  schema: l,
292
292
  title: d,
293
- uiSchema: x,
293
+ uiSchema: f,
294
294
  formContext: p
295
295
  }) => {
296
- const h = !!l.additionalProperties, u = G(l, x, e) && /* @__PURE__ */ t.jsx(
296
+ const h = !!l.additionalProperties, m = G(l, f, e) && /* @__PURE__ */ t.jsx(
297
297
  R,
298
298
  {
299
299
  label: d,
300
300
  className: "object-property-expand",
301
301
  onClick: a(l),
302
302
  disabled: n || o,
303
- uiSchema: x,
303
+ uiSchema: f,
304
304
  registry: i
305
305
  }
306
- ), _ = r.filter((j) => {
307
- const f = l.properties?.[j.name]?.hidden;
308
- if (!f)
306
+ ), _ = r.filter((x) => {
307
+ const j = l.properties?.[x.name]?.hidden;
308
+ if (!j)
309
309
  return !0;
310
310
  try {
311
- const m = pe(f);
312
- if (!m.path)
311
+ const u = pe(j);
312
+ if (!u.path)
313
313
  throw new Error("Empty path property of hidden descriptor field");
314
- if (!m.path.match(/^\/\w+(\/\w+)*$/g))
314
+ if (!u.path.match(/^\/\w+(\/\w+)*$/g))
315
315
  throw new Error("Provided path is not a valid JSON pointer");
316
- const g = $({
317
- path: U(m.path),
316
+ const b = $({
317
+ path: U(u.path),
318
318
  json: p
319
319
  })?.[0];
320
- return !(g === void 0 || Q(m.value, g));
320
+ return !(b === void 0 || Q(u.value, b));
321
321
  } catch {
322
322
  return !0;
323
323
  }
324
- }).sort((j) => l.properties?.[j.name]?.type === "boolean" ? -1 : 1).map((j) => j.content);
324
+ }).sort((x) => l.properties?.[x.name]?.type === "boolean" ? -1 : 1).map((x) => x.content);
325
325
  return h ? r.length ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
326
326
  /* @__PURE__ */ t.jsx(
327
- b,
327
+ g,
328
328
  {
329
329
  label: d,
330
330
  required: c,
@@ -334,16 +334,16 @@ import './assets/@common-rjsf.css';const N = {
334
334
  children: /* @__PURE__ */ t.jsx("div", { children: _ })
335
335
  }
336
336
  ),
337
- u
338
- ] }) : /* @__PURE__ */ t.jsx(b, { label: d, required: c, showLabel: !0, id: s.$id, children: u }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
337
+ m
338
+ ] }) : /* @__PURE__ */ t.jsx(g, { label: d, required: c, showLabel: !0, id: s.$id, children: m }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
339
339
  _,
340
- u
340
+ m
341
341
  ] });
342
342
  }, ue = (n) => {
343
343
  const { idSchema: e, registry: s, required: a, schema: r, title: o, uiSchema: i, description: c } = n, l = !!r.additionalProperties, d = o && !l;
344
344
  return /* @__PURE__ */ t.jsxs("fieldset", { id: e.$id, children: [
345
345
  d && /* @__PURE__ */ t.jsx(
346
- w,
346
+ N,
347
347
  {
348
348
  id: z(e),
349
349
  title: o,
@@ -374,7 +374,7 @@ import './assets/@common-rjsf.css';const N = {
374
374
  uiSchema: l,
375
375
  registry: d
376
376
  }) => {
377
- const { templates: x } = d, { RemoveButton: p } = x.ButtonTemplates, h = P in i;
377
+ const { templates: f } = d, { RemoveButton: p } = f.ButtonTemplates, h = P in i;
378
378
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: h ? /* @__PURE__ */ t.jsxs("div", { className: "dc__position-rel rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center", children: [
379
379
  /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
380
380
  "input",
@@ -382,8 +382,8 @@ import './assets/@common-rjsf.css';const N = {
382
382
  type: "text",
383
383
  className: "form__input cn-9 fs-13 lh-20 fw-4",
384
384
  id: `${n}-key`,
385
- onBlur: (u) => a(u.target.value),
386
- placeholder: N.OBJECT_KEY,
385
+ onBlur: (m) => a(m.target.value),
386
+ placeholder: T.OBJECT_KEY,
387
387
  defaultValue: s
388
388
  }
389
389
  ) }),
@@ -410,14 +410,14 @@ import './assets/@common-rjsf.css';const N = {
410
410
  onFocus: l
411
411
  }) => {
412
412
  const d = (p, h) => {
413
- const { id: u, checked: _ } = p.target;
414
- h === "blur" ? c(u, _) : h === "focus" && l(u, _);
415
- }, x = J(s) ? !1 : s;
413
+ const { id: m, checked: _ } = p.target;
414
+ h === "blur" ? c(m, _) : h === "focus" && l(m, _);
415
+ }, f = J(s) ? !1 : s;
416
416
  return /* @__PURE__ */ t.jsxs("div", { children: [
417
417
  /* @__PURE__ */ t.jsx(
418
418
  k,
419
419
  {
420
- selected: x,
420
+ selected: f,
421
421
  onSelect: e,
422
422
  id: n,
423
423
  name: n,
@@ -429,9 +429,9 @@ import './assets/@common-rjsf.css';const N = {
429
429
  onFocus: (p) => d(p, "focus")
430
430
  }
431
431
  ),
432
- /* @__PURE__ */ t.jsx("span", { className: "dc__capitalize ml-8", children: x.toString() })
432
+ /* @__PURE__ */ t.jsx("span", { className: "dc__capitalize ml-8", children: f.toString() })
433
433
  ] });
434
- }, xe = ({ children: n, ...e }) => /* @__PURE__ */ t.jsx(B.MenuList, { ...e, children: Array.isArray(n) ? n.slice(0, 20) : n }), je = (n) => /* @__PURE__ */ t.jsx(B.DropdownIndicator, { ...n, children: /* @__PURE__ */ t.jsx(V, { className: "icon-dim-20 icon-n5", "data-testid": "overview-project-edit-dropdown" }) }), _e = (n) => {
434
+ }, xe = ({ children: n, ...e }) => /* @__PURE__ */ t.jsx(B.MenuList, { ...e, children: Array.isArray(n) ? n.slice(0, 20) : n }), je = (n) => /* @__PURE__ */ t.jsx(B.DropdownIndicator, { ...n, children: /* @__PURE__ */ t.jsx(W, { className: "icon-dim-20 icon-n5", "data-testid": "overview-project-edit-dropdown" }) }), _e = (n) => {
435
435
  const {
436
436
  id: e,
437
437
  multiple: s = !1,
@@ -442,34 +442,30 @@ import './assets/@common-rjsf.css';const N = {
442
442
  autofocus: c = !1,
443
443
  onChange: l,
444
444
  onBlur: d,
445
- onFocus: x,
445
+ onFocus: f,
446
446
  placeholder: p
447
- } = n, { enumOptions: h = [] } = a, u = s ? [] : "", _ = (f) => {
448
- l(s ? f.map((m) => m.value) : f.value);
449
- }, j = (f) => s ? h.filter((m) => f.some((g) => S(g, m.value))) : h.find((m) => S(f, m.value));
447
+ } = n, { enumOptions: h = [] } = a, m = s ? [] : "", _ = (j) => {
448
+ l(s ? j.map((u) => u.value) : j.value);
449
+ }, x = (j) => s ? h.filter((u) => j.some((b) => S(b, u.value))) : h.find((u) => S(j, u.value));
450
450
  return /* @__PURE__ */ t.jsx(
451
451
  M,
452
452
  {
453
453
  id: e,
454
454
  name: e,
455
455
  isMulti: s,
456
- value: typeof r > "u" ? u : j(r),
456
+ value: typeof r > "u" ? m : x(r),
457
457
  autoFocus: c,
458
458
  onChange: _,
459
459
  options: h,
460
460
  onBlur: () => d(e, r),
461
- onFocus: () => x(e, r),
462
- placeholder: p || N.SELECT,
461
+ onFocus: () => f(e, r),
462
+ placeholder: p || T.SELECT,
463
463
  isDisabled: o || i,
464
464
  styles: {
465
- ...y,
466
- control: (f, m) => ({
467
- ...y.control(f, m),
468
- minHeight: "36px"
469
- }),
470
- multiValue: (f, m) => ({
471
- ...y.multiValue(f, m),
472
- margin: "2px 8px 2px 2px"
465
+ ...w,
466
+ control: (j, u) => ({
467
+ ...w.control(j, u),
468
+ height: "36px"
473
469
  })
474
470
  },
475
471
  components: {
@@ -480,10 +476,10 @@ import './assets/@common-rjsf.css';const N = {
480
476
  menuPlacement: "auto"
481
477
  }
482
478
  );
483
- }, ge = {
479
+ }, be = {
484
480
  CheckboxWidget: fe,
485
481
  SelectWidget: _e
486
- }, be = {
482
+ }, ge = {
487
483
  ArrayFieldItemTemplate: se,
488
484
  ArrayFieldTemplate: ne,
489
485
  BaseInputTemplate: re,
@@ -491,7 +487,7 @@ import './assets/@common-rjsf.css';const N = {
491
487
  FieldTemplate: le,
492
488
  FieldErrorTemplate: ce,
493
489
  ObjectFieldTemplate: ue,
494
- TitleFieldTemplate: w,
490
+ TitleFieldTemplate: N,
495
491
  WrapIfAdditionalTemplate: he
496
492
  }, ye = L, ve = H, De = E((n, e) => /* @__PURE__ */ t.jsx(
497
493
  ye,
@@ -503,11 +499,11 @@ import './assets/@common-rjsf.css';const N = {
503
499
  className: `rjsf-form-template__container ${n.className || ""}`,
504
500
  validator: ve,
505
501
  templates: {
506
- ...be,
502
+ ...ge,
507
503
  ...n.templates
508
504
  },
509
505
  formContext: n.formData,
510
- widgets: { ...ge, ...n.widgets },
506
+ widgets: { ...be, ...n.widgets },
511
507
  translateString: de,
512
508
  ref: e
513
509
  }