@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.
- package/dist/{@code-editor-DvXC6tWe.js → @code-editor-3U2FmTaO.js} +24134 -24035
- package/dist/{@common-rjsf-BzdfA2cI.js → @common-rjsf-C2CrGIz6.js} +47 -47
- package/dist/{@framer-motion-CRC_R7iM.js → @framer-motion-BaOj5B1h.js} +3 -3
- package/dist/{@react-dates-C-O0TUaC.js → @react-dates-CdRpENvm.js} +990 -989
- package/dist/{@react-select-CaCDGT85.js → @react-select-BLSAqXV1.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BINLYj4Y.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
- package/dist/{@vendor-DBDnc0ZN.js → @vendor-SjXFleuT.js} +29396 -29399
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
- package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
- package/dist/Common/CodeMirror/index.d.ts +1 -1
- package/dist/Common/CodeMirror/types.d.ts +3 -3
- package/dist/Common/CodeMirror/utils.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +2 -2
- package/dist/Common/Constants.d.ts +1 -1
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/index.d.ts +3 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/index.d.ts +2 -2
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/index.d.ts +41 -41
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +3 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
- package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +39 -1
- package/dist/Pages/index.d.ts +1 -1
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
- package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
- package/dist/Shared/Components/Button/index.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
- package/dist/Shared/Components/CMCS/index.d.ts +2 -2
- package/dist/Shared/Components/CMCS/types.d.ts +1 -1
- package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
- package/dist/Shared/Components/Header/index.d.ts +1 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +12 -1
- package/dist/Shared/Components/Icon/types.d.ts +3 -2
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
- package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +3 -3
- package/dist/Shared/Components/License/types.d.ts +2 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/index.d.ts +2 -0
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/index.d.ts +2 -2
- package/dist/Shared/Components/Security/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +2 -2
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +64 -64
- package/dist/Shared/Helpers.d.ts +4 -4
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/index.d.ts +3 -3
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +3 -2
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -2
- package/dist/Shared/Providers/types.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
- package/dist/Shared/Services/app.service.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +2 -2
- package/dist/Shared/Services/index.d.ts +3 -3
- package/dist/Shared/Services/types.d.ts +1 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +22 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-arrow-clockwise.b327e411.svg +3 -0
- package/dist/assets/ic-bg-cluster.9a4258b9.svg +6 -0
- package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
- package/dist/assets/ic-cpu.07ca0915.svg +3 -0
- package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +3 -0
- package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
- package/dist/assets/ic-file-key.a67da7ec.svg +3 -0
- package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
- package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
- package/dist/assets/ic-sliders-vertical.2db79ea4.svg +7 -0
- package/dist/assets/ic-terminal-fill.39b542cd.svg +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +780 -775
- package/package.json +5 -4
- package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
- package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
- package/dist/assets/ic-cpu.8be677ee.svg +0 -20
- package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
- package/dist/assets/ic-medal.a2e911f5.svg +0 -19
- 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-
|
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-
|
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
|
-
},
|
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:
|
92
|
+
i.map(({ key: j, ..._ }, h) => {
|
69
93
|
const m = {
|
70
|
-
...
|
94
|
+
..._.children,
|
71
95
|
props: {
|
72
|
-
...
|
96
|
+
..._.children.props
|
73
97
|
}
|
74
98
|
};
|
75
|
-
return /* @__PURE__ */ n.jsx(f, { ...
|
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
|
-
),
|
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(
|
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
|
-
),
|
370
|
-
const h = c.properties?.[
|
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
|
-
}).
|
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:
|
477
|
-
f === "blur" ? o(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 ? [] : "",
|
510
|
+
} = e, { enumOptions: f = [] } = r, p = s ? [] : "", j = (h) => {
|
511
511
|
c(s ? h.map((m) => m.value) : h.value);
|
512
|
-
},
|
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 :
|
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:
|
551
|
-
ArrayFieldTemplate:
|
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-
|
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
|
-
|
3513
|
-
|
3512
|
+
ms as b,
|
3513
|
+
iu as c,
|
3514
3514
|
eu as m,
|
3515
3515
|
Ws as u
|
3516
3516
|
};
|