@devtron-labs/devtron-fe-common-lib 1.11.1 → 1.12.0-beta-1

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 (182) hide show
  1. package/dist/{@code-editor-DvXC6tWe.js → @code-editor-3U2FmTaO.js} +24134 -24035
  2. package/dist/{@common-rjsf-BzdfA2cI.js → @common-rjsf-C2CrGIz6.js} +47 -47
  3. package/dist/{@framer-motion-CRC_R7iM.js → @framer-motion-BaOj5B1h.js} +3 -3
  4. package/dist/{@react-dates-C-O0TUaC.js → @react-dates-CdRpENvm.js} +990 -989
  5. package/dist/{@react-select-CaCDGT85.js → @react-select-BLSAqXV1.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-BINLYj4Y.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
  7. package/dist/{@vendor-DBDnc0ZN.js → @vendor-SjXFleuT.js} +29396 -29399
  8. package/dist/Common/API/CoreAPI.d.ts +1 -1
  9. package/dist/Common/API/index.d.ts +1 -1
  10. package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
  11. package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
  12. package/dist/Common/CodeMirror/index.d.ts +1 -1
  13. package/dist/Common/CodeMirror/types.d.ts +3 -3
  14. package/dist/Common/CodeMirror/utils.d.ts +1 -1
  15. package/dist/Common/Common.service.d.ts +2 -2
  16. package/dist/Common/Constants.d.ts +1 -1
  17. package/dist/Common/CustomTagSelector/index.d.ts +2 -2
  18. package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
  19. package/dist/Common/DraggableWrapper/index.d.ts +1 -1
  20. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  21. package/dist/Common/Hooks/index.d.ts +3 -3
  22. package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
  23. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
  24. package/dist/Common/RJSF/Form.d.ts +1 -1
  25. package/dist/Common/RJSF/index.d.ts +2 -2
  26. package/dist/Common/RJSF/templates/index.d.ts +1 -1
  27. package/dist/Common/SegmentedControl/types.d.ts +1 -1
  28. package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
  29. package/dist/Common/Tooltip/index.d.ts +1 -1
  30. package/dist/Common/Tooltip/types.d.ts +1 -1
  31. package/dist/Common/index.d.ts +41 -41
  32. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
  33. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
  34. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
  35. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
  36. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
  37. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
  38. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
  39. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
  40. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +3 -2
  41. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
  42. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
  43. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
  44. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
  45. package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
  46. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  47. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
  48. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
  49. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
  50. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
  51. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
  52. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  53. package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
  54. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
  55. package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
  56. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  57. package/dist/Pages/ResourceBrowser/types.d.ts +39 -1
  58. package/dist/Pages/index.d.ts +1 -1
  59. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
  60. package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
  61. package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
  62. package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
  63. package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
  64. package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
  65. package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
  66. package/dist/Shared/Components/Button/index.d.ts +1 -1
  67. package/dist/Shared/Components/Button/types.d.ts +2 -2
  68. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
  69. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  70. package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
  71. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
  72. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
  73. package/dist/Shared/Components/CMCS/index.d.ts +2 -2
  74. package/dist/Shared/Components/CMCS/types.d.ts +1 -1
  75. package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
  76. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
  77. package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
  78. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
  79. package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
  80. package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
  81. package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
  82. package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
  83. package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
  84. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
  85. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
  86. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
  87. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  88. package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
  89. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
  90. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
  91. package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
  92. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
  93. package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
  94. package/dist/Shared/Components/Header/index.d.ts +1 -1
  95. package/dist/Shared/Components/Icon/Icon.d.ts +12 -1
  96. package/dist/Shared/Components/Icon/types.d.ts +3 -2
  97. package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
  98. package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
  99. package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
  100. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
  101. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  102. package/dist/Shared/Components/License/index.d.ts +3 -3
  103. package/dist/Shared/Components/License/types.d.ts +2 -1
  104. package/dist/Shared/Components/License/utils.d.ts +2 -1
  105. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
  106. package/dist/Shared/Components/LoginBanner/index.d.ts +2 -0
  107. package/dist/Shared/Components/Plugin/index.d.ts +4 -4
  108. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
  109. package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
  110. package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
  111. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
  112. package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
  113. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
  114. package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
  115. package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
  116. package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
  117. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  118. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
  119. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
  120. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  121. package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
  122. package/dist/Shared/Components/Security/index.d.ts +2 -2
  123. package/dist/Shared/Components/Security/utils.d.ts +1 -1
  124. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  125. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  126. package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
  127. package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
  128. package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
  129. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
  130. package/dist/Shared/Components/Table/index.d.ts +1 -1
  131. package/dist/Shared/Components/Table/types.d.ts +2 -2
  132. package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
  133. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
  134. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
  135. package/dist/Shared/Components/index.d.ts +64 -64
  136. package/dist/Shared/Helpers.d.ts +4 -4
  137. package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
  138. package/dist/Shared/Hooks/index.d.ts +3 -3
  139. package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
  140. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
  141. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
  142. package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
  143. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  144. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +3 -2
  145. package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
  146. package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
  147. package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
  148. package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
  149. package/dist/Shared/Providers/index.d.ts +2 -2
  150. package/dist/Shared/Providers/types.d.ts +2 -1
  151. package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
  152. package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
  153. package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
  154. package/dist/Shared/Services/app.service.d.ts +1 -1
  155. package/dist/Shared/Services/app.types.d.ts +2 -2
  156. package/dist/Shared/Services/index.d.ts +3 -3
  157. package/dist/Shared/Services/types.d.ts +1 -1
  158. package/dist/Shared/Store/IndexStore.d.ts +2 -2
  159. package/dist/Shared/index.d.ts +6 -6
  160. package/dist/Shared/types.d.ts +22 -3
  161. package/dist/assets/@code-editor.css +1 -1
  162. package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
  163. package/dist/assets/ic-arrow-clockwise.b327e411.svg +3 -0
  164. package/dist/assets/ic-bg-cluster.9a4258b9.svg +6 -0
  165. package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
  166. package/dist/assets/ic-cpu.07ca0915.svg +3 -0
  167. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +3 -0
  168. package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
  169. package/dist/assets/ic-file-key.a67da7ec.svg +3 -0
  170. package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
  171. package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
  172. package/dist/assets/ic-sliders-vertical.2db79ea4.svg +7 -0
  173. package/dist/assets/ic-terminal-fill.39b542cd.svg +3 -0
  174. package/dist/index.d.ts +1 -1
  175. package/dist/index.js +780 -775
  176. package/package.json +5 -4
  177. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
  178. package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
  179. package/dist/assets/ic-cpu.8be677ee.svg +0 -20
  180. package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
  181. package/dist/assets/ic-medal.a2e911f5.svg +0 -19
  182. package/dist/assets/ic-memory.c4159f96.svg +0 -19
@@ -1,7 +1,7 @@
1
- import { j as n, av as y, ax as k, aw as W } from "./@vendor-DBDnc0ZN.js";
1
+ import { j as n, av as y, ax as k, aw as W } from "./@vendor-SjXFleuT.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-DvXC6tWe.js";
4
+ import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-3U2FmTaO.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
@@ -16,6 +16,30 @@ import './assets/@common-rjsf.css';const O = {
16
16
  "ui:submitButtonOptions": {
17
17
  norender: !0
18
18
  }
19
+ }, de = ({
20
+ children: e,
21
+ disabled: t,
22
+ hasToolbar: s,
23
+ hasRemove: r,
24
+ index: a,
25
+ onDropIndexClick: i,
26
+ readonly: l,
27
+ registry: o,
28
+ uiSchema: c
29
+ }) => {
30
+ const { RemoveButton: d } = o.templates.ButtonTemplates;
31
+ return /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel display-grid rjsf-form-template__array-field-item flex-align-center", children: [
32
+ e,
33
+ /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: s && r && /* @__PURE__ */ n.jsx(
34
+ d,
35
+ {
36
+ disabled: t || l,
37
+ onClick: i(a),
38
+ uiSchema: c,
39
+ registry: o
40
+ }
41
+ ) })
42
+ ] });
19
43
  }, T = ({
20
44
  showLabel: e,
21
45
  label: t,
@@ -50,7 +74,7 @@ import './assets/@common-rjsf.css';const O = {
50
74
  registry: l
51
75
  }
52
76
  );
53
- }, de = ({
77
+ }, ue = ({
54
78
  canAdd: e,
55
79
  className: t,
56
80
  disabled: s,
@@ -65,14 +89,14 @@ import './assets/@common-rjsf.css';const O = {
65
89
  }) => {
66
90
  const u = B(a), f = $("ArrayFieldItemTemplate", c, u), p = u.title || x;
67
91
  return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: r.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
68
- i.map(({ key: _, ...j }, h) => {
92
+ i.map(({ key: j, ..._ }, h) => {
69
93
  const m = {
70
- ...j.children,
94
+ ..._.children,
71
95
  props: {
72
- ...j.children.props
96
+ ..._.children.props
73
97
  }
74
98
  };
75
- return /* @__PURE__ */ n.jsx(f, { ...j, children: m }, _);
99
+ return /* @__PURE__ */ n.jsx(f, { ..._, children: m }, j);
76
100
  }),
77
101
  /* @__PURE__ */ n.jsx(
78
102
  A,
@@ -98,30 +122,6 @@ import './assets/@common-rjsf.css';const O = {
98
122
  registry: c
99
123
  }
100
124
  ) }) });
101
- }, ue = ({
102
- children: e,
103
- disabled: t,
104
- hasToolbar: s,
105
- hasRemove: r,
106
- index: a,
107
- onDropIndexClick: i,
108
- readonly: l,
109
- registry: o,
110
- uiSchema: c
111
- }) => {
112
- const { RemoveButton: d } = o.templates.ButtonTemplates;
113
- return /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel display-grid rjsf-form-template__array-field-item flex-align-center", children: [
114
- e,
115
- /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: s && r && /* @__PURE__ */ n.jsx(
116
- d,
117
- {
118
- disabled: t || l,
119
- onClick: i(a),
120
- uiSchema: c,
121
- registry: o
122
- }
123
- ) })
124
- ] });
125
125
  }, {
126
126
  templates: { BaseInputTemplate: me }
127
127
  } = q(), pe = ({ placeholder: e, ...t }) => /* @__PURE__ */ n.jsx(
@@ -178,11 +178,11 @@ import './assets/@common-rjsf.css';const O = {
178
178
  classNames: x,
179
179
  schema: u,
180
180
  rawDescription: f
181
- } = e, p = B(d), _ = $(
181
+ } = e, p = B(d), j = $(
182
182
  "WrapIfAdditionalTemplate",
183
183
  c,
184
184
  p
185
- ), j = L in u, h = (o || u.type === "boolean") && !j, m = u.type === "array";
185
+ ), _ = L in u, h = (o || u.type === "boolean") && !_, m = u.type === "array";
186
186
  return i ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: r }) : (
187
187
  // NOTE: need to override the margins of default rjsf css
188
188
  /* @__PURE__ */ n.jsxs("div", { className: `${x} mb-0`, children: [
@@ -206,7 +206,7 @@ import './assets/@common-rjsf.css';const O = {
206
206
  id: t,
207
207
  required: l,
208
208
  rawDescription: f,
209
- children: /* @__PURE__ */ n.jsx(_, { ...e, children: r })
209
+ children: /* @__PURE__ */ n.jsx(j, { ...e, children: r })
210
210
  }
211
211
  ),
212
212
  a
@@ -366,8 +366,8 @@ import './assets/@common-rjsf.css';const O = {
366
366
  uiSchema: x,
367
367
  registry: l
368
368
  }
369
- ), _ = a.filter((j) => {
370
- const h = c.properties?.[j.name]?.hidden;
369
+ ), j = a.filter((_) => {
370
+ const h = c.properties?.[_.name]?.hidden;
371
371
  if (!h)
372
372
  return !0;
373
373
  try {
@@ -384,7 +384,7 @@ import './assets/@common-rjsf.css';const O = {
384
384
  } catch {
385
385
  return !0;
386
386
  }
387
- }).sort((j) => c.properties?.[j.name]?.type === "boolean" ? -1 : 1).map((j) => j.content);
387
+ }).map((_) => _.content);
388
388
  return f ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
389
389
  /* @__PURE__ */ n.jsx(
390
390
  T,
@@ -394,12 +394,12 @@ import './assets/@common-rjsf.css';const O = {
394
394
  showLabel: !0,
395
395
  id: s.$id,
396
396
  shouldAlignCenter: !1,
397
- children: /* @__PURE__ */ n.jsx("div", { children: _ })
397
+ children: /* @__PURE__ */ n.jsx("div", { children: j })
398
398
  }
399
399
  ),
400
400
  p
401
401
  ] }) : /* @__PURE__ */ n.jsx(T, { label: d, required: o, showLabel: !0, id: s.$id, children: p }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
402
- _,
402
+ j,
403
403
  p
404
404
  ] });
405
405
  }, we = (e) => {
@@ -473,8 +473,8 @@ import './assets/@common-rjsf.css';const O = {
473
473
  onFocus: c
474
474
  }) => {
475
475
  const d = (u, f) => {
476
- const { id: p, checked: _ } = u.target;
477
- f === "blur" ? o(p, _) : f === "focus" && c(p, _);
476
+ const { id: p, checked: j } = u.target;
477
+ f === "blur" ? o(p, j) : f === "focus" && c(p, j);
478
478
  }, x = z(s) ? !1 : s;
479
479
  return /* @__PURE__ */ n.jsxs("div", { children: [
480
480
  /* @__PURE__ */ n.jsx(
@@ -507,18 +507,18 @@ import './assets/@common-rjsf.css';const O = {
507
507
  onBlur: d,
508
508
  onFocus: x,
509
509
  placeholder: u
510
- } = e, { enumOptions: f = [] } = r, p = s ? [] : "", _ = (h) => {
510
+ } = e, { enumOptions: f = [] } = r, p = s ? [] : "", j = (h) => {
511
511
  c(s ? h.map((m) => m.value) : h.value);
512
- }, j = (h) => s ? f.filter((m) => h.some((g) => E(g, m.value))) : f.find((m) => E(h, m.value));
512
+ }, _ = (h) => s ? f.filter((m) => h.some((g) => E(g, m.value))) : f.find((m) => E(h, m.value));
513
513
  return /* @__PURE__ */ n.jsx(
514
514
  Q,
515
515
  {
516
516
  id: t,
517
517
  name: t,
518
518
  isMulti: s,
519
- value: typeof a > "u" ? p : j(a),
519
+ value: typeof a > "u" ? p : _(a),
520
520
  autoFocus: o,
521
- onChange: _,
521
+ onChange: j,
522
522
  options: f,
523
523
  onBlur: () => d(t, a),
524
524
  onFocus: () => x(t, a),
@@ -547,8 +547,8 @@ import './assets/@common-rjsf.css';const O = {
547
547
  CheckboxWidget: Se,
548
548
  SelectWidget: Ce
549
549
  }, Ee = {
550
- ArrayFieldItemTemplate: ue,
551
- ArrayFieldTemplate: de,
550
+ ArrayFieldItemTemplate: de,
551
+ ArrayFieldTemplate: ue,
552
552
  BaseInputTemplate: pe,
553
553
  ButtonTemplates: { AddButton: U, RemoveButton: fe, SubmitButton: he },
554
554
  FieldTemplate: xe,
@@ -1,4 +1,4 @@
1
- import { aA as ct, aB as m, aC as M, aD as Xr, aE as Ee, aF as T, aG as at, aH as Kt, aI as oe, aJ as We, aK as J, aL as Wr, aM as ei, aN as Zr, aO as ri, aP as ni, aQ as ii, aR as ai, aS as oi, aT as $r, aU as si, aV as ui, aW as li, aX as fi, aY as ci, aZ as vi, a_ as di, a$ as Pt, b0 as k, b1 as he, b2 as qr, b3 as pi, b4 as hi, b5 as W, b6 as Z, b7 as mi, b8 as me, b9 as Mt, ba as gi, bb as yi, bc as Jr, bd as It, be as O, bf as ge, bg as bi, bh as se, bi as Pi, bj as Vi } from "./@vendor-DBDnc0ZN.js";
1
+ import { aA as ct, aB as m, aC as M, aD as Xr, aE as Ee, aF as T, aG as at, aH as Kt, aI as oe, aJ as We, aK as J, aL as Wr, aM as ei, aN as Zr, aO as ri, aP as ni, aQ as ii, aR as ai, aS as oi, aT as $r, aU as si, aV as ui, aW as li, aX as fi, aY as ci, aZ as vi, a_ as di, a$ as Pt, b0 as k, b1 as he, b2 as qr, b3 as pi, b4 as hi, b5 as W, b6 as Z, b7 as mi, b8 as me, b9 as Mt, ba as gi, bb as yi, bc as Jr, bd as It, be as O, bf as ge, bg as bi, bh as se, bi as Pi, bj as Vi } from "./@vendor-SjXFleuT.js";
2
2
  import * as G from "react";
3
3
  import Le, { createContext as Vt, useContext as F, useLayoutEffect as Ti, useEffect as H, useState as Re, useRef as q, useCallback as ye, useMemo as Ot, forwardRef as Si, createElement as xi, cloneElement as Ci, Children as Ai, isValidElement as wi } from "react";
4
4
  var Ze = "production", De = typeof process > "u" || process.env === void 0 ? Ze : process.env.NODE_ENV || Ze, Q = function(t) {
@@ -3509,8 +3509,8 @@ function iu(t) {
3509
3509
  export {
3510
3510
  ru as A,
3511
3511
  nu as a,
3512
- iu as b,
3513
- ms as c,
3512
+ ms as b,
3513
+ iu as c,
3514
3514
  eu as m,
3515
3515
  Ws as u
3516
3516
  };