@devtron-labs/devtron-fe-common-lib 1.22.0-beta-8 → 1.22.0-beta-10

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.
@@ -5,7 +5,7 @@ var gl = (e) => {
5
5
  var zf = (e, s, n) => s in e ? Kf(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
6
6
  var de = (e, s, n) => zf(e, typeof s != "symbol" ? s + "" : s, n), xl = (e, s, n) => s.has(e) || gl("Cannot " + n);
7
7
  var Qs = (e, s, n) => (xl(e, s, "read from private field"), n ? n.call(e) : s.get(e)), er = (e, s, n) => s.has(e) ? gl("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), tr = (e, s, n, a) => (xl(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
- import { j as t, i as Xe, Q as sr, k as qf, F as Xf, d as tm, n as Jf, c as Zf, f as sm, D as nm, t as Ke, g as Qf, a as eh, E as ha, S as _c, b as am, r as rm, s as th, o as sh, e as El, h as nh, l as ah, y as rh, m as Fr, p as oh, q as ih, u as Cl, v as Nl, w as ch, x as lh, z as dh, A as uh, B as mh, C as ph, G as _h, H as om, T as bl, I as fc, J as fh, K as Tl, L as hh, M as gh, N as im, O as Sl, P as xh, R as Eh, U as Ch, V as Nh, W as vl, X as bh, Y as Th, Z as Sh, _ as Al, $ as vh, a0 as Rl, a1 as Il, a2 as Ah, a3 as Rh, a4 as Ih, a5 as yh, a6 as Oh, a7 as jh, a8 as wh, a9 as Ko, aa as Lh, ab as Dh, ac as Ph, ad as Mh, ae as kh, af as Sn, ag as cm, ah as $h, ai as Uh, aj as Fh, ak as Bh, al as Gh, am as Vh, an as Hh, ao as Yh, ap as Wh, aq as Kh, ar as zh, as as lm, at as qh, au as Xh, av as Jh, aw as Zh, ax as Qh, ay as yl, az as eg, aA as tg, aB as Ol, aC as jl, aD as sg, aE as ng, aF as ag, aG as rg, aH as og, aI as ig, aJ as cg, aK as lg, aL as dm, aM as um, aN as dg, aO as ug, aP as mg, aQ as pg, aR as _g, aS as fg, aT as hg, aU as gg, aV as xg, aW as Eg, aX as Cg, aY as sn, aZ as Ng, a_ as bg, a$ as Tg, b0 as Sg, b1 as vg, b2 as Ag, b3 as Rg, b4 as Ig, b5 as yg, b6 as Og, b7 as jg, b8 as wg, b9 as Lg, ba as Dg, bb as Pg } from "./@vendor-CyzLceRe.js";
8
+ import { j as t, i as Xe, Q as sr, k as qf, F as Xf, d as tm, n as Jf, c as Zf, f as sm, D as nm, t as Ke, g as Qf, a as eh, E as ha, S as _c, b as am, r as rm, s as th, o as sh, e as El, h as nh, l as ah, y as rh, m as Fr, p as oh, q as ih, u as Cl, v as Nl, w as ch, x as lh, z as dh, A as uh, B as mh, C as ph, G as _h, H as om, T as bl, I as fc, J as fh, K as Tl, L as hh, M as gh, N as im, O as Sl, P as xh, R as Eh, U as Ch, V as Nh, W as vl, X as bh, Y as Th, Z as Sh, _ as Al, $ as vh, a0 as Rl, a1 as Il, a2 as Ah, a3 as Rh, a4 as Ih, a5 as yh, a6 as Oh, a7 as jh, a8 as wh, a9 as Ko, aa as Lh, ab as Dh, ac as Ph, ad as Mh, ae as kh, af as Sn, ag as cm, ah as $h, ai as Uh, aj as Fh, ak as Bh, al as Gh, am as Vh, an as Hh, ao as Yh, ap as Wh, aq as Kh, ar as zh, as as lm, at as qh, au as Xh, av as Jh, aw as Zh, ax as Qh, ay as yl, az as eg, aA as tg, aB as Ol, aC as jl, aD as sg, aE as ng, aF as ag, aG as rg, aH as og, aI as ig, aJ as cg, aK as lg, aL as dm, aM as um, aN as dg, aO as ug, aP as mg, aQ as pg, aR as _g, aS as fg, aT as hg, aU as gg, aV as xg, aW as Eg, aX as Cg, aY as sn, aZ as Ng, a_ as bg, a$ as Tg, b0 as Sg, b1 as vg, b2 as Ag, b3 as Rg, b4 as Ig, b5 as yg, b6 as Og, b7 as jg, b8 as wg, b9 as Lg, ba as Dg, bb as Pg } from "./@vendor-BfI9BrhH.js";
9
9
  import qe, { createContext as Pt, useContext as ds, useMemo as X, useState as w, useEffect as M, forwardRef as fo, createElement as hc, Children as Ni, useRef as B, useCallback as Ge, useLayoutEffect as gc, createRef as Br, cloneElement as ga, Fragment as ls, memo as At, Component as La } from "react";
10
10
  import { ReactComponent as Mg } from "./assets/ic-info-filled-override.99e8094a.svg";
11
11
  import * as kg from "yaml";
@@ -23,7 +23,7 @@ import { ReactComponent as hm } from "./assets/ic-memory.c3264de1.svg";
23
23
  import Es from "react-ga4";
24
24
  import { h as ke } from "./@moment-DMLRxgRE.js";
25
25
  import Hg from "./assets/DeployAudio.566e45df.mp3";
26
- import { m as Ue, A as un, a as xa, u as Ea, b as Ps, c as wl, d as Yg } from "./@framer-motion-Bm1bDxeF.js";
26
+ import { m as Ue, A as un, a as xa, u as Ea, b as Ps, c as wl, d as Yg } from "./@framer-motion-DDwxEunL.js";
27
27
  import Ec, { components as Je } from "react-select";
28
28
  import { ReactComponent as Wg } from "./assets/ic-arrow-backward.d951202a.svg";
29
29
  import { ReactComponent as gm } from "./assets/ic-docker.48906f4d.svg";
@@ -134,9 +134,9 @@ import { ReactComponent as Vm } from "./assets/ic-medium-paintbucket.45544bb9.sv
134
134
  import { SliderButton as Vx } from "@typeform/embed-react";
135
135
  import Hx from "./assets/lifebuoy.7d8fdf27.png";
136
136
  import { ReactComponent as Yx } from "./assets/ic-tilde.ec1a1ea4.svg";
137
- import { A as Wx } from "./@react-virtualized-sticky-tree-CfPrX6Ai.js";
137
+ import { A as Wx } from "./@react-virtualized-sticky-tree-CtbSHsKR.js";
138
138
  import { ReactComponent as Kx } from "./assets/workflow-options-modal-header.ce3c6b31.svg";
139
- import { C as zx } from "./@react-select-CAv64EGY.js";
139
+ import { C as zx } from "./@react-select-DOdTjlKm.js";
140
140
  import { ReactComponent as qx } from "./assets/ic-medium-info.b59d7676.svg";
141
141
  import { ReactComponent as Xx } from "./assets/delete-medium.897114e0.svg";
142
142
  import { deepEquals as Hm } from "@rjsf/utils";
@@ -1,12 +1,12 @@
1
- import { j as n, aN as v, aP as J, aO as K } from "./@vendor-CyzLceRe.js";
2
- import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
3
- import z, { getDefaultRegistry as Q } from "@rjsf/core";
4
- import { T as O, j as w, c as N, b as F, S as X, i as Z, g as ee, a as te, d as R, e as ne } from "./@code-editor-Ba-rLFdL.js";
5
- import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
1
+ import { j as n, aN as v, aP as W, aO as J } from "./@vendor-BfI9BrhH.js";
2
+ import K, { useState as V, useEffect as q, forwardRef as Y, useMemo as E } from "react";
3
+ import G, { getDefaultRegistry as z } from "@rjsf/core";
4
+ import { T as O, j as N, c as T, b as w, S as Q, i as X, g as Z, a as ee, d as R, e as te } from "./@code-editor-DVQaVhRe.js";
5
+ import { getUiOptions as B, getSubmitButtonOptions as ne, getTemplate as se, ADDITIONAL_PROPERTY_FLAG as $, errorId as re, englishStringTranslator as ae, TranslatableString as oe, titleId as ie, canExpand as le, deepEquals as ce } from "@rjsf/utils";
6
6
  import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
7
7
  import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
8
8
  import { ReactComponent as me } from "./assets/ic-cross.01e03666.svg";
9
- import './assets/@common-rjsf.css';const P = {
9
+ import './assets/@common-rjsf.css';const F = {
10
10
  SELECT: "Please select an option",
11
11
  INPUT: "Please enter an input",
12
12
  OBJECT_KEY: "Please enter a value for the key"
@@ -14,26 +14,25 @@ import './assets/@common-rjsf.css';const P = {
14
14
  "ui:submitButtonOptions": {
15
15
  norender: !0
16
16
  }
17
- }, U = "rjsf-form-select-portal-target", fe = ({
17
+ }, L = "rjsf-form-select-portal-target", fe = ({
18
18
  children: e,
19
19
  disabled: t,
20
- hasToolbar: s,
21
- hasRemove: r,
22
- index: a,
23
- onDropIndexClick: i,
20
+ hasToolbar: r,
21
+ hasRemove: s,
22
+ onRemoveItem: a,
24
23
  readonly: l,
25
24
  registry: o,
26
- uiSchema: c
25
+ uiSchema: i
27
26
  }) => {
28
- const { RemoveButton: d } = o.templates.ButtonTemplates;
27
+ const { RemoveButton: c } = o.templates.ButtonTemplates;
29
28
  return /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel display-grid rjsf-form-template__array-field-item flex-align-center", children: [
30
29
  e,
31
- /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: s && r && /* @__PURE__ */ n.jsx(
32
- d,
30
+ /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: r && s && /* @__PURE__ */ n.jsx(
31
+ c,
33
32
  {
34
33
  disabled: t || l,
35
- onClick: i(a),
36
- uiSchema: c,
34
+ onClick: a,
35
+ uiSchema: i,
37
36
  registry: o
38
37
  }
39
38
  ) })
@@ -41,188 +40,180 @@ import './assets/@common-rjsf.css';const P = {
41
40
  }, S = ({
42
41
  showLabel: e,
43
42
  label: t,
44
- required: s,
45
- children: r,
43
+ required: r,
44
+ children: s,
46
45
  id: a,
47
- rawDescription: i,
48
- shouldAlignCenter: l = !0
46
+ rawDescription: l,
47
+ shouldAlignCenter: o = !0
49
48
  }) => /* @__PURE__ */ n.jsxs(
50
49
  "div",
51
50
  {
52
- className: e ? `display-grid dc__gap-12 rjsf-form-template__field ${l ? "" : "rjsf-form-template__field--align-top"}` : "",
51
+ className: e ? `display-grid dc__gap-12 rjsf-form-template__field ${o ? "" : "rjsf-form-template__field--align-top"}` : "",
53
52
  children: [
54
53
  e && /* @__PURE__ */ n.jsxs("label", { className: "cn-7 fs-13 lh-20 fw-4 flexbox mb-0", htmlFor: a, children: [
55
- /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!i, content: i, children: /* @__PURE__ */ n.jsx("span", { className: `dc__ellipsis-right ${i ? "dc__underline-dotted" : ""}`, children: t || pe }) }),
56
- s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
54
+ /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!l, content: l, children: /* @__PURE__ */ n.jsx("span", { className: `dc__ellipsis-right ${l ? "dc__underline-dotted" : ""}`, children: t || pe }) }),
55
+ r && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
57
56
  ] }),
58
- r
57
+ s
59
58
  ]
60
59
  }
61
- ), A = ({ label: e, canAdd: t, onAddClick: s, disabled: r, readonly: a, uiSchema: i, registry: l }) => {
60
+ ), A = ({ label: e, canAdd: t, onAddClick: r, disabled: s, readonly: a, uiSchema: l, registry: o }) => {
62
61
  const {
63
- ButtonTemplates: { AddButton: o }
64
- } = l.templates;
62
+ ButtonTemplates: { AddButton: i }
63
+ } = o.templates;
65
64
  return t && /* @__PURE__ */ n.jsx(
66
- o,
65
+ i,
67
66
  {
68
67
  label: e,
69
- onClick: s,
70
- disabled: r || a,
71
- uiSchema: i,
72
- registry: l
68
+ onClick: r,
69
+ disabled: s || a,
70
+ uiSchema: l,
71
+ registry: o
73
72
  }
74
73
  );
75
74
  }, he = ({
76
75
  canAdd: e,
77
76
  className: t,
78
- disabled: s,
79
- idSchema: r,
77
+ disabled: r,
78
+ fieldPathId: s,
80
79
  uiSchema: a,
81
- items: i,
82
- onAddClick: l,
83
- readonly: o,
80
+ items: l,
81
+ onAddClick: o,
82
+ readonly: i,
84
83
  registry: c,
85
84
  required: d,
86
- title: f
85
+ title: p
87
86
  }) => {
88
- const m = B(a), h = $("ArrayFieldItemTemplate", c, m), u = m.title || f;
89
- return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: r.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
90
- i.map(({ key: x, ...p }, j) => {
91
- const _ = {
92
- ...p.children,
93
- props: {
94
- ...p.children.props
95
- }
96
- };
97
- return /* @__PURE__ */ n.jsx(h, { ...p, children: _ }, x);
98
- }),
87
+ const u = B(a).title || p;
88
+ return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: s.$id, children: l.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
89
+ l,
99
90
  /* @__PURE__ */ n.jsx(
100
91
  A,
101
92
  {
102
93
  label: u,
103
94
  canAdd: e,
104
- onAddClick: l,
105
- disabled: s,
106
- readonly: o,
95
+ onAddClick: o,
96
+ disabled: r,
97
+ readonly: i,
107
98
  uiSchema: a,
108
99
  registry: c
109
100
  }
110
101
  )
111
- ] }) : /* @__PURE__ */ n.jsx(S, { label: u, required: d, showLabel: !0, id: r.$id, children: /* @__PURE__ */ n.jsx(
102
+ ] }) : /* @__PURE__ */ n.jsx(S, { label: u, required: d, showLabel: !0, id: s.$id, children: /* @__PURE__ */ n.jsx(
112
103
  A,
113
104
  {
114
105
  label: u,
115
106
  canAdd: e,
116
- onAddClick: l,
117
- disabled: s,
118
- readonly: o,
107
+ onAddClick: o,
108
+ disabled: r,
109
+ readonly: i,
119
110
  uiSchema: a,
120
111
  registry: c
121
112
  }
122
113
  ) }) });
123
114
  }, {
124
115
  templates: { BaseInputTemplate: _e }
125
- } = Q(), xe = ({ placeholder: e, ...t }) => {
126
- const { schema: s } = t;
116
+ } = z(), xe = ({ placeholder: e, ...t }) => {
117
+ const { schema: r } = t;
127
118
  return /* @__PURE__ */ n.jsx(
128
119
  _e,
129
120
  {
130
- placeholder: s.placeholder || e || P.INPUT,
121
+ placeholder: r.placeholder || e || F.INPUT,
131
122
  ...t,
132
123
  className: "form__input cn-9 fs-13 lh-20 fw-4"
133
124
  }
134
125
  );
135
- }, k = ({
126
+ }, U = ({
136
127
  label: e,
137
128
  icon: t,
138
- iconType: s,
139
- registry: r,
129
+ iconType: r,
130
+ registry: s,
140
131
  uiSchema: a,
141
- ...i
132
+ ...l
142
133
  }) => {
143
- const l = `Add ${e}`;
134
+ const o = `Add ${e}`;
144
135
  return /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-start", children: /* @__PURE__ */ n.jsxs(
145
136
  "button",
146
137
  {
147
- ...i,
138
+ ...l,
148
139
  type: "button",
149
140
  className: "dc__outline-none-imp p-0 dc__transparent flex dc__gap-4 cursor dc__mxw-250",
150
141
  title: "Add",
151
142
  children: [
152
143
  /* @__PURE__ */ n.jsx(de, { className: "icon-dim-16 fcb-5" }),
153
- /* @__PURE__ */ n.jsx(O, { placement: "right", content: l, children: /* @__PURE__ */ n.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: l }) })
144
+ /* @__PURE__ */ n.jsx(O, { placement: "right", content: o, children: /* @__PURE__ */ n.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: o }) })
154
145
  ]
155
146
  }
156
147
  ) });
157
- }, je = ({ icon: e, iconType: t, registry: s, uiSchema: r, ...a }) => /* @__PURE__ */ n.jsx("button", { ...a, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(me, { className: "icon-dim-16 fcn-6" }) }), ge = ({ uiSchema: e }) => {
158
- const { submitText: t, norender: s, props: r = {} } = re(e);
159
- return s ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...r, className: `cta ${r.className || ""}`, children: t }) });
160
- }, C = ({
148
+ }, je = ({ icon: e, iconType: t, registry: r, uiSchema: s, ...a }) => /* @__PURE__ */ n.jsx("button", { ...a, type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove", children: /* @__PURE__ */ n.jsx(me, { className: "icon-dim-16 fcn-6" }) }), ge = ({ uiSchema: e }) => {
149
+ const { submitText: t, norender: r, props: s = {} } = ne(e);
150
+ return r ? null : /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-end", children: /* @__PURE__ */ n.jsx("button", { type: "submit", ...s, className: `cta ${s.className || ""}`, children: t }) });
151
+ }, P = ({
161
152
  id: e,
162
153
  title: t,
163
- required: s,
164
- description: r
154
+ required: r,
155
+ description: s
165
156
  }) => /* @__PURE__ */ n.jsxs("legend", { className: "fs-13 fw-6 cn-9 lh-20 dc__no-border pb-9 mb-0", id: e, children: [
166
- /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!r, content: r, children: /* @__PURE__ */ n.jsx("span", { className: `${r ? "dc__underline-dotted" : ""}`, children: t }) }),
167
- s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
157
+ /* @__PURE__ */ n.jsx(O, { alwaysShowTippyOnHover: !!s, content: s, children: /* @__PURE__ */ n.jsx("span", { className: `${s ? "dc__underline-dotted" : ""}`, children: t }) }),
158
+ r && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
168
159
  ] }), be = (e) => {
169
160
  const {
170
161
  id: t,
171
- label: s,
172
- children: r,
162
+ label: r,
163
+ children: s,
173
164
  errors: a,
174
- hidden: i,
175
- required: l,
176
- displayLabel: o,
165
+ hidden: l,
166
+ required: o,
167
+ displayLabel: i,
177
168
  registry: c,
178
169
  uiSchema: d,
179
- classNames: f,
170
+ classNames: p,
180
171
  schema: m,
181
- rawDescription: h
182
- } = e, u = B(d), x = $(
172
+ rawDescription: u
173
+ } = e, f = B(d), h = se(
183
174
  "WrapIfAdditionalTemplate",
184
175
  c,
185
- u
186
- ), p = L in m, j = (o || m.type === "boolean") && !p, _ = m.type === "array";
187
- return i ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: r }) : (
176
+ f
177
+ ), x = $ in m, _ = (i || m.type === "boolean") && !x, j = m.type === "array";
178
+ return l ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: s }) : (
188
179
  // NOTE: need to override the margins of default rjsf css
189
- /* @__PURE__ */ n.jsxs("div", { className: `${f} mb-0`, children: [
190
- _ && /* @__PURE__ */ n.jsx(
191
- C,
180
+ /* @__PURE__ */ n.jsxs("div", { className: `${p} mb-0`, children: [
181
+ j && /* @__PURE__ */ n.jsx(
182
+ P,
192
183
  {
193
184
  id: t,
194
- title: s,
195
- required: l,
185
+ title: r,
186
+ required: o,
196
187
  registry: c,
197
188
  uiSchema: d,
198
189
  schema: m,
199
- description: h
190
+ description: u
200
191
  }
201
192
  ),
202
193
  /* @__PURE__ */ n.jsx(
203
194
  S,
204
195
  {
205
- label: s,
206
- showLabel: j,
196
+ label: r,
197
+ showLabel: _,
207
198
  id: t,
208
- required: l,
209
- rawDescription: h,
210
- children: /* @__PURE__ */ n.jsx(x, { ...e, children: r })
199
+ required: o,
200
+ rawDescription: u,
201
+ children: /* @__PURE__ */ n.jsx(h, { ...e, children: s })
211
202
  }
212
203
  ),
213
204
  a
214
205
  ] })
215
206
  );
216
- }, ye = ({ errors: e = [], idSchema: t }) => {
217
- const s = se(t);
218
- return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: s, children: e.filter((r) => !!r).map((r, a) => /* @__PURE__ */ n.jsxs(V.Fragment, { children: [
207
+ }, ye = ({ errors: e = [], fieldPathId: t }) => {
208
+ const r = re(t);
209
+ return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: r, children: e.filter((s) => !!s).map((s, a) => /* @__PURE__ */ n.jsxs(K.Fragment, { children: [
219
210
  /* @__PURE__ */ n.jsx("span", {}),
220
211
  /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
221
212
  /* @__PURE__ */ n.jsx(ue, { className: "form__icon form__icon--error" }),
222
- r
213
+ s
223
214
  ] })
224
215
  ] }, a)) });
225
- }, Te = (e, t) => {
216
+ }, ve = (e, t) => {
226
217
  switch (e) {
227
218
  case oe.NewStringDefault:
228
219
  return "";
@@ -257,275 +248,274 @@ import './assets/@common-rjsf.css';const P = {
257
248
  default:
258
249
  return "null";
259
250
  }
260
- }, T = (e) => {
251
+ }, y = (e) => {
261
252
  if (!e)
262
253
  return "";
263
- const t = e.trim(), r = (/^\/.+$/g.test(t) ? t : `/${t}`).replaceAll(/\./g, "/");
264
- return /(\/(([^/~])|(~[01]))*)/g.test(r) ? r : "";
254
+ const t = e.trim(), s = (/^\/.+$/g.test(t) ? t : `/${t}`).replaceAll(/\./g, "/");
255
+ return /(\/(([^/~])|(~[01]))*)/g.test(s) ? s : "";
265
256
  }, I = {
266
257
  value: !1,
267
258
  path: ""
268
- }, ve = (e) => {
259
+ }, Te = (e) => {
269
260
  if (!e)
270
261
  return null;
271
262
  const t = structuredClone(e);
272
263
  return typeof t == "string" ? {
273
264
  value: !0,
274
- path: T(t)
265
+ path: y(t)
275
266
  } : typeof t != "object" ? structuredClone(I) : Object.hasOwn(t, "condition") && "condition" in t && Object.hasOwn(t, "value") && "value" in t ? {
276
267
  value: t.condition,
277
- path: T(t.value)
268
+ path: y(t.value)
278
269
  } : Object.hasOwn(t, "value") && "value" in t && Object.hasOwn(t, "path") && "path" in t ? {
279
270
  value: t.value,
280
- path: T(t.path)
271
+ path: y(t.path)
281
272
  } : structuredClone(I);
282
- }, H = (e, t, s) => {
283
- e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([r, a]) => {
284
- H(a, `${t}/${r}`, s);
285
- }), (e.type === "boolean" || e.type === "string" || e.type === "number" || e.type === "integer") && (s[t] = T(e.updatePath ?? t)));
286
- }, Ne = (e) => {
273
+ }, k = (e, t, r) => {
274
+ e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([s, a]) => {
275
+ k(a, `${t}/${s}`, r);
276
+ }), (e.type === "boolean" || e.type === "string" || e.type === "number" || e.type === "integer") && (r[t] = y(e.updatePath ?? t)));
277
+ }, Se = (e) => {
287
278
  const t = {};
288
- return H(e, "", t), t;
289
- }, M = (e, t, s) => {
290
- if (t >= s.length)
279
+ return k(e, "", t), t;
280
+ }, H = (e, t, r) => {
281
+ if (t >= r.length)
291
282
  return e;
292
- const r = s[t];
293
- if (t === s.length - 1) {
283
+ const s = r[t];
284
+ if (t === r.length - 1) {
294
285
  const a = structuredClone(e);
295
- return delete a[r], a;
286
+ return delete a[s], a;
296
287
  }
297
- if (e[r] && (e[r] = M(e[r], t + 1, s)), Object.keys(e[r] ?? {}).length === 0) {
288
+ if (e[s] && (e[s] = H(e[s], t + 1, r)), Object.keys(e[s] ?? {}).length === 0) {
298
289
  const a = structuredClone(e);
299
- return delete a[r], a;
290
+ return delete a[s], a;
300
291
  }
301
292
  return e;
302
- }, Se = (e, t) => {
293
+ }, Ne = (e, t) => {
303
294
  if (!e || typeof e != "object" || Array.isArray(e))
304
295
  throw new Error("Invalid object");
305
296
  if (!t || !t.startsWith("/"))
306
297
  throw new Error("Invalid path");
307
- const s = t.split("/").slice(1);
308
- return M(e, 0, s);
298
+ const r = t.split("/").slice(1);
299
+ return H(e, 0, r);
309
300
  }, D = ({
310
301
  formState: e,
311
302
  formData: t,
312
- schemaPathToUpdatePathMap: s
303
+ schemaPathToUpdatePathMap: r
313
304
  }) => {
314
- let r = structuredClone(e);
315
- return r && (Object.entries(s).forEach(([a, i]) => {
316
- if (a === i || !i)
305
+ let s = structuredClone(e);
306
+ return s && (Object.entries(r).forEach(([a, l]) => {
307
+ if (a === l || !l)
317
308
  return;
318
- const l = v({
309
+ const o = v({
319
310
  json: t,
320
- path: N(a),
311
+ path: T(a),
321
312
  resultType: "value",
322
313
  wrap: !1
323
314
  });
324
- l === void 0 ? r = Se(r, a) : r = w([F(a, l), r]);
325
- const o = v({
315
+ o === void 0 ? s = Ne(s, a) : s = N([w(a, o), s]);
316
+ const i = v({
326
317
  json: e,
327
- path: N(a),
318
+ path: T(a),
328
319
  resultType: "value",
329
320
  wrap: !1
330
321
  });
331
- o !== void 0 && (r = w([F(i, o), r]));
332
- }), t && r ? J(t, K(t, r), !1, !1).newDocument : r);
333
- }, we = ({ formData: e, schemaPathToUpdatePathMap: t }) => w([
334
- ...Object.entries(t).map(([s, r]) => {
335
- if (s === r || !r)
322
+ i !== void 0 && (s = N([w(l, i), s]));
323
+ }), t && s ? W(t, J(t, s), !1, !1).newDocument : s);
324
+ }, we = ({ formData: e, schemaPathToUpdatePathMap: t }) => N([
325
+ ...Object.entries(t).map(([r, s]) => {
326
+ if (r === s || !s)
336
327
  return {};
337
328
  const a = v({
338
329
  json: e,
339
- path: N(r),
330
+ path: T(s),
340
331
  resultType: "value",
341
332
  wrap: !1
342
333
  });
343
- return a === void 0 ? {} : F(s, a);
334
+ return a === void 0 ? {} : w(r, a);
344
335
  }),
345
336
  structuredClone(e)
346
- ]), Fe = ({
337
+ ]), Oe = ({
347
338
  disabled: e,
348
339
  formData: t,
349
- idSchema: s,
350
- onAddClick: r,
340
+ fieldPathId: r,
341
+ onAddProperty: s,
351
342
  properties: a,
352
- readonly: i,
353
- registry: l,
354
- required: o,
343
+ readonly: l,
344
+ registry: o,
345
+ required: i,
355
346
  schema: c,
356
347
  title: d,
357
- uiSchema: f,
358
- formContext: m
348
+ uiSchema: p
359
349
  }) => {
360
- const h = !!c.additionalProperties, u = ie(c, f, t) && /* @__PURE__ */ n.jsx(
361
- k,
350
+ const m = !!c.additionalProperties, u = le(c, p, t) && /* @__PURE__ */ n.jsx(
351
+ U,
362
352
  {
363
353
  label: d,
364
354
  className: "object-property-expand",
365
- onClick: r(c),
366
- disabled: e || i,
367
- uiSchema: f,
368
- registry: l
355
+ onClick: s,
356
+ disabled: e || l,
357
+ uiSchema: p,
358
+ registry: o
369
359
  }
370
- ), x = a.filter((p) => {
371
- const j = c.properties?.[p.name]?.hidden;
372
- if (!j)
360
+ ), f = a.filter((h) => {
361
+ const x = c.properties?.[h.name]?.hidden;
362
+ if (!x)
373
363
  return !0;
374
364
  try {
375
- const _ = ve(j);
365
+ const _ = Te(x);
376
366
  if (!_.path)
377
367
  throw new Error("Empty path property of hidden descriptor field");
378
- const y = v({
379
- path: N(_.path),
380
- json: m,
368
+ const j = v({
369
+ path: T(_.path),
370
+ json: o.formContext,
381
371
  resultType: "value",
382
372
  wrap: !1
383
373
  });
384
- return !(y === void 0 || ce(_.value, y));
374
+ return !(j === void 0 || ce(_.value, j));
385
375
  } catch {
386
376
  return !0;
387
377
  }
388
- }).map((p) => p.content);
389
- return h ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
378
+ }).map((h) => h.content);
379
+ return m ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
390
380
  /* @__PURE__ */ n.jsx(
391
381
  S,
392
382
  {
393
383
  label: d,
394
- required: o,
384
+ required: i,
395
385
  showLabel: !0,
396
- id: s.$id,
386
+ id: r.$id,
397
387
  shouldAlignCenter: !1,
398
- children: /* @__PURE__ */ n.jsx("div", { children: x })
388
+ children: /* @__PURE__ */ n.jsx("div", { children: f })
399
389
  }
400
390
  ),
401
391
  u
402
- ] }) : /* @__PURE__ */ n.jsx(S, { label: d, required: o, showLabel: !0, id: s.$id, children: u }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
403
- x,
392
+ ] }) : /* @__PURE__ */ n.jsx(S, { label: d, required: i, showLabel: !0, id: r.$id, children: u }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
393
+ f,
404
394
  u
405
395
  ] });
406
- }, Oe = (e) => {
407
- const { idSchema: t, registry: s, required: r, schema: a, title: i, uiSchema: l, description: o } = e, c = !!a.additionalProperties, d = i && !c;
396
+ }, Fe = (e) => {
397
+ const { fieldPathId: t, registry: r, required: s, schema: a, title: l, uiSchema: o, description: i } = e, c = !!a.additionalProperties, d = l && !c;
408
398
  return /* @__PURE__ */ n.jsxs("fieldset", { id: t.$id, children: [
409
399
  d && /* @__PURE__ */ n.jsx(
410
- C,
400
+ P,
411
401
  {
412
- id: le(t),
413
- title: i,
414
- required: r,
402
+ id: ie(t),
403
+ title: l,
404
+ required: s,
415
405
  schema: a,
416
- uiSchema: l,
417
- registry: s,
418
- description: o
406
+ uiSchema: o,
407
+ registry: r,
408
+ description: i
419
409
  }
420
410
  ),
421
411
  /* @__PURE__ */ n.jsx(
422
412
  "div",
423
413
  {
424
414
  className: `${a.properties && !c && t.$id !== "root" ? "dc__border-left pl-12" : ""} ${t.$id === "root" ? "dc__separated-flexbox dc__separated-flexbox--vertical" : "flexbox-col dc__gap-8"}`,
425
- children: /* @__PURE__ */ n.jsx(Fe, { ...e })
415
+ children: /* @__PURE__ */ n.jsx(Oe, { ...e })
426
416
  }
427
417
  )
428
418
  ] });
429
419
  }, Pe = ({
430
420
  id: e,
431
421
  disabled: t,
432
- label: s,
433
- onKeyChange: r,
434
- onDropPropertyClick: a,
435
- readonly: i,
436
- schema: l,
437
- children: o,
422
+ label: r,
423
+ onKeyRename: s,
424
+ onRemoveProperty: a,
425
+ readonly: l,
426
+ schema: o,
427
+ children: i,
438
428
  uiSchema: c,
439
429
  registry: d
440
430
  }) => {
441
- const { templates: f } = d, { RemoveButton: m } = f.ButtonTemplates, h = L in l;
442
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: h ? /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center", children: [
431
+ const { templates: p } = d, { RemoveButton: m } = p.ButtonTemplates, u = $ in o;
432
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: u ? /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center", children: [
443
433
  /* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(
444
434
  "input",
445
435
  {
446
436
  type: "text",
447
437
  className: "form__input cn-9 fs-13 lh-20 fw-4",
448
438
  id: `${e}-key`,
449
- onBlur: (u) => r(u.target.value),
450
- placeholder: P.OBJECT_KEY,
451
- defaultValue: s
439
+ onBlur: (f) => s(f.target.value),
440
+ placeholder: F.OBJECT_KEY,
441
+ defaultValue: r
452
442
  }
453
443
  ) }),
454
- /* @__PURE__ */ n.jsx("div", { children: o }),
444
+ /* @__PURE__ */ n.jsx("div", { children: i }),
455
445
  /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: /* @__PURE__ */ n.jsx(
456
446
  m,
457
447
  {
458
- disabled: t || i,
459
- onClick: a(s),
448
+ disabled: t || l,
449
+ onClick: a,
460
450
  uiSchema: c,
461
451
  registry: d
462
452
  }
463
453
  ) })
464
- ] }) : o });
454
+ ] }) : i });
465
455
  }, Ce = ({
466
456
  id: e,
467
457
  onChange: t,
468
- value: s,
469
- disabled: r,
458
+ value: r,
459
+ disabled: s,
470
460
  readonly: a,
471
- autofocus: i
461
+ autofocus: l
472
462
  }) => {
473
- const l = Z(s) ? !1 : s, o = () => {
474
- t(!l);
463
+ const o = X(r) ? !1 : r, i = () => {
464
+ t(!o);
475
465
  };
476
466
  return /* @__PURE__ */ n.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
477
467
  /* @__PURE__ */ n.jsx(
478
- X,
468
+ Q,
479
469
  {
480
470
  name: e,
481
471
  ariaLabel: e,
482
- onChange: o,
483
- isChecked: l,
484
- autoFocus: i,
485
- isDisabled: r || a
472
+ onChange: i,
473
+ isChecked: o,
474
+ autoFocus: l,
475
+ isDisabled: s || a
486
476
  }
487
477
  ),
488
- /* @__PURE__ */ n.jsx("span", { className: "dc__capitalize", children: l.toString() })
478
+ /* @__PURE__ */ n.jsx("span", { className: "dc__capitalize", children: o.toString() })
489
479
  ] });
490
480
  }, Ee = (e) => {
491
481
  const {
492
482
  id: t,
493
- multiple: s = !1,
494
- options: r,
483
+ multiple: r = !1,
484
+ options: s,
495
485
  value: a,
496
- disabled: i,
497
- readonly: l,
498
- autofocus: o = !1,
486
+ disabled: l,
487
+ readonly: o,
488
+ autofocus: i = !1,
499
489
  onChange: c,
500
490
  onBlur: d,
501
- onFocus: f,
491
+ onFocus: p,
502
492
  placeholder: m,
503
- schema: h
504
- } = e, { enumOptions: u = [] } = r, x = s ? [] : null, p = (g) => {
505
- c(s ? g.map((b) => b.value) : g.value);
506
- }, [j, _] = q();
507
- Y(() => {
508
- _(ee(8));
493
+ schema: u
494
+ } = e, { enumOptions: f = [] } = s, h = r ? [] : null, x = (g) => {
495
+ c(r ? g.map((b) => b.value) : g.value);
496
+ }, [_, j] = V();
497
+ q(() => {
498
+ j(Z(8));
509
499
  }, []);
510
- const y = (g) => s ? u.filter((b) => g.some((W) => R(W, b.value))) : u.find((b) => R(g, b.value));
500
+ const C = (g) => r ? f.filter((b) => g.some((M) => R(M, b.value))) : f.find((b) => R(g, b.value));
511
501
  return /* @__PURE__ */ n.jsx(
512
- te,
502
+ ee,
513
503
  {
514
504
  inputId: `devtron-rjsf-select__${t}`,
515
505
  name: t,
516
- isMulti: s,
517
- value: typeof a > "u" ? x : y(a),
518
- autoFocus: o,
519
- onChange: p,
520
- options: u,
506
+ isMulti: r,
507
+ value: typeof a > "u" ? h : C(a),
508
+ autoFocus: i,
509
+ onChange: x,
510
+ options: f,
521
511
  onBlur: () => d(t, a),
522
- onFocus: () => f(t, a),
523
- placeholder: h.placeholder || m || P.SELECT,
524
- isDisabled: i || l,
525
- menuPortalTarget: document.getElementById(U),
512
+ onFocus: () => p(t, a),
513
+ placeholder: u.placeholder || m || F.SELECT,
514
+ isDisabled: l || o,
515
+ menuPortalTarget: document.getElementById(L),
526
516
  menuPosition: "fixed"
527
517
  },
528
- j
518
+ _
529
519
  );
530
520
  }, Re = {
531
521
  CheckboxWidget: Ce,
@@ -534,37 +524,37 @@ import './assets/@common-rjsf.css';const P = {
534
524
  ArrayFieldItemTemplate: fe,
535
525
  ArrayFieldTemplate: he,
536
526
  BaseInputTemplate: xe,
537
- ButtonTemplates: { AddButton: k, RemoveButton: je, SubmitButton: ge },
527
+ ButtonTemplates: { AddButton: U, RemoveButton: je, SubmitButton: ge },
538
528
  FieldTemplate: be,
539
529
  FieldErrorTemplate: ye,
540
- ObjectFieldTemplate: Oe,
541
- TitleFieldTemplate: C,
530
+ ObjectFieldTemplate: Fe,
531
+ TitleFieldTemplate: P,
542
532
  WrapIfAdditionalTemplate: Pe
543
- }, Ie = z, De = ne, qe = G((e, t) => {
544
- const { schemaPathToUpdatePathMap: s, isUpdatePathKeywordPresent: r } = E(() => {
545
- const o = Ne(e.schema);
533
+ }, Ie = G, De = te, qe = Y((e, t) => {
534
+ const { schemaPathToUpdatePathMap: r, isUpdatePathKeywordPresent: s } = E(() => {
535
+ const i = Se(e.schema);
546
536
  return {
547
- schemaPathToUpdatePathMap: o,
548
- isUpdatePathKeywordPresent: Object.entries(o).some(([c, d]) => c !== d)
537
+ schemaPathToUpdatePathMap: i,
538
+ isUpdatePathKeywordPresent: Object.entries(i).some(([c, d]) => c !== d)
549
539
  };
550
- }, [e.schema]), a = E(() => r ? we({ formData: e.formData ?? {}, schemaPathToUpdatePathMap: s }) : e.formData, [e.formData, s, r]), i = (o) => {
540
+ }, [e.schema]), a = E(() => s ? we({ formData: e.formData ?? {}, schemaPathToUpdatePathMap: r }) : e.formData, [e.formData, r, s]), l = (i) => {
551
541
  if (!e.onChange)
552
542
  return;
553
543
  const c = D({
554
- formState: o.formData,
544
+ formState: i.formData,
555
545
  formData: e.formData,
556
- schemaPathToUpdatePathMap: s
546
+ schemaPathToUpdatePathMap: r
557
547
  });
558
- e.onChange({ ...o, formData: c });
559
- }, l = (o, c) => {
548
+ e.onChange({ ...i, formData: c });
549
+ }, o = (i, c) => {
560
550
  if (!e.onSubmit)
561
551
  return;
562
552
  const d = D({
563
- formState: o.formData,
553
+ formState: i.formData,
564
554
  formData: e.formData,
565
- schemaPathToUpdatePathMap: s
555
+ schemaPathToUpdatePathMap: r
566
556
  });
567
- e.onSubmit?.({ ...o, formData: d }, c);
557
+ e.onSubmit?.({ ...i, formData: d }, c);
568
558
  };
569
559
  return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
570
560
  /* @__PURE__ */ n.jsx(
@@ -575,9 +565,9 @@ import './assets/@common-rjsf.css';const P = {
575
565
  autoComplete: "off",
576
566
  ...e,
577
567
  formData: a,
578
- ...r ? {
579
- onChange: i,
580
- onSubmit: l
568
+ ...s ? {
569
+ onChange: l,
570
+ onSubmit: o
581
571
  } : {},
582
572
  className: `rjsf-form-template__container ${e.className || ""}`,
583
573
  validator: De,
@@ -587,18 +577,18 @@ import './assets/@common-rjsf.css';const P = {
587
577
  },
588
578
  formContext: a,
589
579
  widgets: { ...Re, ...e.widgets },
590
- translateString: Te,
580
+ translateString: ve,
591
581
  ref: t
592
582
  }
593
583
  ),
594
- /* @__PURE__ */ n.jsx("div", { id: U })
584
+ /* @__PURE__ */ n.jsx("div", { id: L })
595
585
  ] });
596
586
  });
597
587
  export {
598
588
  Je as H,
599
589
  qe as R,
600
590
  Ke as a,
601
- Ne as b,
602
- T as c,
591
+ Se as b,
592
+ y as c,
603
593
  Ve as g
604
594
  };
@@ -1,4 +1,4 @@
1
- import { bc as m, bd as lt, be as R, bf as Zr, bg as Le, bh as oe, bi as T, bj as $e, bk as at, bl as Gt, bm as Q, bn as $r, bo as oi, bp as si, bq as ui, br as li, bs as fi, bt as ci, bu as vi, bv as di, bw as qr, bx as pi, by as hi, bz as mi, bA as gi, bB as yi, bC as Jr, bD as Pt, bE as he, bF as X, bG as bi, bH as Qr, bI as z, bJ as tn, bK as me, bL as Z, bM as Pi, bN as Ot, bO as Vi, bP as Ti, bQ as en, bR as Ft, bS as O, bT as ge, bU as Si, bV as se, bW as xi, bX as Ci } from "./@vendor-CyzLceRe.js";
1
+ import { bc as m, bd as lt, be as R, bf as Zr, bg as Le, bh as oe, bi as T, bj as $e, bk as at, bl as Gt, bm as Q, bn as $r, bo as oi, bp as si, bq as ui, br as li, bs as fi, bt as ci, bu as vi, bv as di, bw as qr, bx as pi, by as hi, bz as mi, bA as gi, bB as yi, bC as Jr, bD as Pt, bE as he, bF as X, bG as bi, bH as Qr, bI as z, bJ as tn, bK as me, bL as Z, bM as Pi, bN as Ot, bO as Vi, bP as Ti, bQ as en, bR as Ft, bS as O, bT as ge, bU as Si, bV as se, bW as xi, bX as Ci } from "./@vendor-BfI9BrhH.js";
2
2
  import * as k from "react";
3
3
  import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as Me, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Mi } from "react";
4
4
  var qe = "production", De = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
@@ -1,4 +1,4 @@
1
- import { bY as xt, bZ as v, b_ as re, b$ as h, c0 as f, c1 as Y, c2 as U, c3 as xe, c4 as Bt, c5 as Ue, c6 as Ft, c7 as Vt, c8 as Et, c9 as yt, ca as Wt, cb as Xt, cc as ne, cd as Zt } from "./@vendor-CyzLceRe.js";
1
+ import { bY as xt, bZ as v, b_ as re, b$ as h, c0 as f, c1 as Y, c2 as U, c3 as xe, c4 as Bt, c5 as Ue, c6 as Ft, c7 as Vt, c8 as Et, c9 as yt, ca as Wt, cb as Xt, cc as ne, cd as Zt } from "./@vendor-BfI9BrhH.js";
2
2
  import * as y from "react";
3
3
  import { useRef as j, useState as ee, useMemo as q, useCallback as D, createContext as Nt, useContext as St, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
4
4
  import { createPortal as Tt } from "react-dom";
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
2
2
  var E = (a, h, e) => h in a ? v(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e;
3
3
  var f = (a, h, e) => E(a, typeof h != "symbol" ? h + "" : h, e);
4
4
  import u, { createRef as k } from "react";
5
- import { ce as x } from "./@vendor-CyzLceRe.js";
5
+ import { ce as x } from "./@vendor-BfI9BrhH.js";
6
6
  const b = () => typeof navigator < "u" && /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor) ? "-webkit-sticky" : "sticky";
7
7
  var g;
8
8
  (function(a) {
@@ -18301,7 +18301,6 @@ class ame {
18301
18301
  }
18302
18302
  // Put a tile in the cache.
18303
18303
  add(e) {
18304
- e.demo && console.log("Add widget to cache");
18305
18304
  let n = e.constructor.bucket, r = this.buckets[n];
18306
18305
  r.length < 6 ? r.push(e) : r[
18307
18306
  this.index[n] = (this.index[n] + 1) % 6
@@ -18319,7 +18318,7 @@ class ame {
18319
18318
  }
18320
18319
  findWidget(e, n, r) {
18321
18320
  let i = this.buckets[0];
18322
- if (e.demo && console.log("looking for widget", e, "in cache", i.slice()), i.length)
18321
+ if (i.length)
18323
18322
  for (let a = 0, s = 0; ; a++) {
18324
18323
  if (a == i.length) {
18325
18324
  if (s)
@@ -18328,7 +18327,7 @@ class ame {
18328
18327
  }
18329
18328
  let o = i[a];
18330
18329
  if (!this.reused.has(o) && (s == 0 ? o.widget.compare(e) : o.widget.constructor == e.constructor && e.updateDOM(o.dom, this.view)))
18331
- return i.splice(a, 1), a < this.index[0] && this.index[0]--, o.length == n && (o.flags & 497) == r ? (this.reused.set(
18330
+ return i.splice(a, 1), a < this.index[0] && this.index[0]--, o.widget == e && o.length == n && (o.flags & 497) == r ? (this.reused.set(
18332
18331
  o,
18333
18332
  1
18334
18333
  /* Reused.Full */
@@ -18383,7 +18382,7 @@ class sme {
18383
18382
  }
18384
18383
  if (!o)
18385
18384
  break;
18386
- n && o.fromA <= n.range.fromA && o.toA >= n.range.toA ? (this.forward(o.fromA, n.range.fromA), this.emit(a, n.range.fromB), this.cache.clear(), this.builder.addComposition(n, r), this.text.skip(n.range.toB - n.range.fromB), this.forward(n.range.fromA, o.toA), this.emit(n.range.toB, o.toB)) : (this.forward(o.fromA, o.toA), this.emit(a, o.toB)), a = o.toB, i = o.toA;
18385
+ n && o.fromA <= n.range.fromA && o.toA >= n.range.toA ? (this.forward(o.fromA, n.range.fromA, n.range.fromA < n.range.toA ? 1 : -1), this.emit(a, n.range.fromB), this.cache.clear(), this.builder.addComposition(n, r), this.text.skip(n.range.toB - n.range.fromB), this.forward(n.range.fromA, o.toA), this.emit(n.range.toB, o.toB)) : (this.forward(o.fromA, o.toA), this.emit(a, o.toB)), a = o.toB, i = o.toA;
18387
18386
  }
18388
18387
  return this.builder.curLine && this.builder.endLine(), this.builder.root;
18389
18388
  }
@@ -18459,8 +18458,8 @@ class sme {
18459
18458
  });
18460
18459
  i.addLineStartIfNotCovered(r), this.openWidget = s > a, this.openMarks = s;
18461
18460
  }
18462
- forward(e, n) {
18463
- n - e <= 10 ? this.old.advance(n - e, 1, this.reuseWalker) : (this.old.advance(5, -1, this.reuseWalker), this.old.advance(n - e - 10, -1), this.old.advance(5, 1, this.reuseWalker));
18461
+ forward(e, n, r = 1) {
18462
+ n - e <= 10 ? this.old.advance(n - e, r, this.reuseWalker) : (this.old.advance(5, -1, this.reuseWalker), this.old.advance(n - e - 10, -1), this.old.advance(5, r, this.reuseWalker));
18464
18463
  }
18465
18464
  getCompositionContext(e) {
18466
18465
  let n = [], r = null;
@@ -19923,7 +19922,7 @@ class qme {
19923
19922
  return n;
19924
19923
  }
19925
19924
  refresh(e, n, r, i, a, s) {
19926
- let o = mB.indexOf(e) > -1, u = Math.round(n) != Math.round(this.lineHeight) || this.lineWrapping != o;
19925
+ let o = mB.indexOf(e) > -1, u = Math.abs(n - this.lineHeight) > 0.3 || this.lineWrapping != o || Math.abs(r - this.charWidth) > 0.1;
19927
19926
  if (this.lineWrapping = o, this.lineHeight = n, this.charWidth = r, this.textHeight = i, this.lineLength = a, u) {
19928
19927
  this.heightSamples = {};
19929
19928
  for (let l = 0; l < s.length; l++) {
@@ -20467,7 +20466,7 @@ class yB {
20467
20466
  measure(e) {
20468
20467
  let n = e.contentDOM, r = window.getComputedStyle(n), i = this.heightOracle, a = r.whiteSpace;
20469
20468
  this.defaultTextDirection = r.direction == "rtl" ? er.RTL : er.LTR;
20470
- let s = this.heightOracle.mustRefreshForWrapping(a), o = n.getBoundingClientRect(), u = s || this.mustMeasureContent || this.contentDOMHeight != o.height;
20469
+ let s = this.heightOracle.mustRefreshForWrapping(a) || this.mustMeasureContent, o = n.getBoundingClientRect(), u = s || this.mustMeasureContent || this.contentDOMHeight != o.height;
20471
20470
  this.contentDOMHeight = o.height, this.mustMeasureContent = !1;
20472
20471
  let l = 0, c = 0;
20473
20472
  if (o.width && o.height) {
@@ -21502,7 +21501,9 @@ class nt {
21502
21501
  this.dispatchTransactions = e.dispatchTransactions || r && ((i) => i.forEach((a) => r(a, this))) || ((i) => this.update(i)), this.dispatch = this.dispatch.bind(this), this._root = e.root || Upe(e.parent) || document, this.viewState = new yB(e.state || on.create(e)), e.scrollTo && e.scrollTo.is(BE) && (this.viewState.scrollTarget = e.scrollTo.value.clip(this.viewState.state)), this.plugins = this.state.facet(Bp).map((i) => new ZA(i));
21503
21502
  for (let i of this.plugins)
21504
21503
  i.update(this);
21505
- this.observer = new uge(this), this.inputState = new Rme(this), this.inputState.ensureHandlers(this.plugins), this.docView = new iB(this), this.mountStyles(), this.updateAttrs(), this.updateState = 0, this.requestMeasure(), !((n = document.fonts) === null || n === void 0) && n.ready && document.fonts.ready.then(() => this.requestMeasure());
21504
+ this.observer = new uge(this), this.inputState = new Rme(this), this.inputState.ensureHandlers(this.plugins), this.docView = new iB(this), this.mountStyles(), this.updateAttrs(), this.updateState = 0, this.requestMeasure(), !((n = document.fonts) === null || n === void 0) && n.ready && document.fonts.ready.then(() => {
21505
+ this.viewState.mustMeasureContent = !0, this.requestMeasure();
21506
+ });
21506
21507
  }
21507
21508
  dispatch(...e) {
21508
21509
  let n = e.length == 1 && e[0] instanceof zr ? e : e.length == 1 && Array.isArray(e[0]) ? e[0] : [this.state.update(...e)];
@@ -1,2 +1,2 @@
1
- import { ArrayFieldTemplateItemType } from '@rjsf/utils';
2
- export declare const ArrayFieldItemTemplate: ({ children, disabled, hasToolbar, hasRemove, index, onDropIndexClick, readonly, registry, uiSchema, }: ArrayFieldTemplateItemType) => import("react/jsx-runtime").JSX.Element;
1
+ import { ArrayFieldItemButtonsTemplateProps, ArrayFieldItemTemplateProps } from '@rjsf/utils';
2
+ export declare const ArrayFieldItemTemplate: ({ children, disabled, hasToolbar, hasRemove, onRemoveItem, readonly, registry, uiSchema, }: ArrayFieldItemTemplateProps & Pick<ArrayFieldItemButtonsTemplateProps, "hasRemove" | "onRemoveItem">) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { ArrayFieldTemplateProps } from '@rjsf/utils';
2
- export declare const ArrayFieldTemplate: ({ canAdd, className, disabled, idSchema, uiSchema, items, onAddClick, readonly, registry, required, title, }: ArrayFieldTemplateProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ArrayFieldTemplate: ({ canAdd, className, disabled, fieldPathId, uiSchema, items, onAddClick, readonly, registry, required, title, }: ArrayFieldTemplateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { FieldErrorProps } from '@rjsf/utils';
2
- export declare const FieldErrorTemplate: ({ errors, idSchema }: FieldErrorProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const FieldErrorTemplate: ({ errors, fieldPathId }: FieldErrorProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,3 @@
1
- import { TitleFieldProps } from '@rjsf/utils';
2
- export declare const TitleField: ({ id, title, required, description, }: TitleFieldProps & Partial<Record<"description", string>>) => import("react/jsx-runtime").JSX.Element;
1
+ import { ObjectFieldTemplateProps, TitleFieldProps } from '@rjsf/utils';
2
+ import { RJSFFormSchema } from '../types';
3
+ export declare const TitleField: ({ id, title, required, description, }: TitleFieldProps & Pick<ObjectFieldTemplateProps<any, RJSFFormSchema, any>, "description">) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { WrapIfAdditionalTemplateProps } from '@rjsf/utils';
2
- export declare const WrapIfAdditionalTemplate: ({ id, disabled, label, onKeyChange, onDropPropertyClick, readonly, schema, children, uiSchema, registry, }: WrapIfAdditionalTemplateProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const WrapIfAdditionalTemplate: ({ id, disabled, label, onKeyRename, onRemoveProperty, readonly, schema, children, uiSchema, registry, }: WrapIfAdditionalTemplateProps) => import("react/jsx-runtime").JSX.Element;
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { B as E, U as C, f as g, C as O, h as R, I as i, k as p, T as D, l as P } from "./@code-editor-Ba-rLFdL.js";
2
- import { nZ as w, aX as W, ey as z, lX as X, fb as q, lu as Z, lk as Q, fW as J, b6 as $, l2 as aa, aR as ea, lT as sa, jK as ta, lg as oa, kY as ia, fQ as ra, fR as na, fS as la, dx as Ta, jc as _a, fT as Ea, A as ca, dv as da, dw as pa, nR as Sa, fU as ga, fV as Aa, fN as Ia, nc as ua, li as ma, jL as Ca, jN as Oa, kx as Ra, fX as Da, fY as Pa, fZ as Na, n0 as ya, nG as La, fB as fa, cZ as Ma, dh as ha, di as Ua, j1 as ba, f_ as Fa, gl as Ba, oa as va, lz as Ga, et as Va, eo as ka, ew as xa, ej as ja, eu as Ya, ex as Ha, en as Ka, em as wa, eH as Wa, es as za, el as Xa, bl as qa, bk as Za, g5 as Qa, g9 as Ja, f$ as $a, fH as ae, fG as ee, g0 as se, hC as te, kR as oe, m as ie, n as re, o as ne, eW as le, ea as Te, eL as _e, ee as Ee, ef as ce, ec as de, eN as pe, eM as Se, eS as ge, eb as Ae, eV as Ie, ed as ue, eO as me, eQ as Ce, eP as Oe, eh as Re, aO as De, eR as Pe, e2 as Ne, g1 as ye, g2 as Le, gb as fe, g6 as Me, g4 as he, ge as Ue, gf as be, k6 as Fe, gm as Be, dp as ve, dn as Ge, dm as Ve, nM as ke, de as xe, lq as je, gi as Ye, dc as He, a5 as Ke, nL as we, o0 as We, ga as ze, fC as Xe, fD as qe, nj as Ze, nf as Qe, eE as Je, eF as $e, nk as as, nl as es, ll as ss, ln as ts, lm as os, nX as is, ls as rs, dD as ns, hl as ls, hi as Ts, lJ as _s, lG as Es, fd as cs, er as ds, lW as ps, hB as Ss, gg as gs, gh as As, p as Is, Y as us, gk as ms, gu as Cs, cS as Os, q as Rs, fv as Ds, fa as Ps, hg as Ns, fx as ys, hw as Ls, hx as fs, hy as Ms, hz as hs, jJ as Us, dL as bs, a8 as Fs, a1 as Bs, hA as vs, dN as Gs, hh as Vs, ng as ks, dQ as xs, nW as js, hD as Ys, hE as Hs, hH as Ks, c$ as ws, hJ as Ws, L as zs, fF as Xs, fE as qs, hL as Zs, hM as Qs, cW as Js, hT as $s, hS as at, hR as et, bc as st, l1 as tt, lE as ot, aV as it, bb as rt, aC as nt, lt, jv as Tt, jt as _t, ju as Et, ek as ct, mS as dt, lD as pt, l3 as St, aI as gt, hX as At, ez as It, eA as ut, fe as mt, i6 as Ct, lc as Ot, il as Rt, lS as Dt, le as Pt, id as Nt, aY as yt, kH as Lt, lA as ft, f6 as Mt, aE as ht, az as Ut, aB as bt, iq as Ft, ay as Bt, aA as vt, fc as Gt, dF as Vt, S as kt, hO as xt, D as jt, nI as Yt, bt as Ht, lK as Kt, hF as wt, nT as Wt, dr as zt, i1 as Xt, i0 as qt, i7 as Zt, go as Qt, gw as Jt, gv as $t, df as ao, o8 as eo, bs as so, l5 as to, ky as oo, gp as io, l6 as ro, d1 as no, ip as lo, r as To, jd as _o, bw as Eo, bx as co, by as po, ir as So, ne as go, nd as Ao, bz as Io, bB as uo, bA as mo, bC as Co, ck as Oo, dM as Ro, it as Do, iu as Po, lb as No, lM as yo, aL as Lo, aJ as fo, lF as Mo, b5 as ho, k$ as Uo, ld as bo, iw as Fo, iv as Bo, n_ as vo, ni as Go, nE as Vo, ix as ko, l7 as xo, iy as jo, E as Yo, s as Ho, iB as Ko, iC as wo, ii as Wo, aw as zo, a$ as Xo, iE as qo, iD as Zo, gN as Qo, dY as Jo, a3 as $o, iF as ai, iG as ei, ds as si, kn as ti, dj as oi, kE as ii, j_ as ri, iH as ni, iI as li, hG as Ti, f8 as _i, dE as Ei, dG as ci, fh as di, fg as pi, bF as Si, bD as gi, bE as Ai, iJ as Ii, iL as ui, iM as mi, iK as Ci, iN as Oi, iO as Ri, dR as Di, gz as Pi, iP as Ni, nS as yi, iQ as Li, bg as fi, iR as Mi, G as hi, jR as Ui, kq as bi, iT as Fi, gM as Bi, ax as vi, je as Gi, k_ as Vi, eC as ki, eB as xi, eD as ji, lN as Yi, d_ as Hi, d$ as Ki, bf as wi, iZ as Wi, i$ as zi, j0 as Xi, j2 as qi, j3 as Zi, dl as Qi, mV as Ji, mX as $i, cI as ar, cH as er, dd as sr, j4 as tr, nC as or, j5 as ir, lO as rr, j6 as nr, dy as lr, fJ as Tr, a7 as _r, fw as Er, o5 as cr, jf as dr, nD as pr, cJ as Sr, j8 as gr, j7 as Ar, fj as Ir, lj as ur, aH as mr, jb as Cr, ja as Or, cX as Rr, aD as Dr, ba as Pr, o2 as Nr, ji as yr, o3 as Lr, fO as fr, jQ as Mr, gx as hr, jk as Ur, gq as br, lh as Fr, oc as Br, b9 as vr, aS as Gr, ob as Vr, aW as kr, aQ as xr, hP as jr, hW as Yr, m_ as Hr, dg as Kr, cK as wr, dk as Wr, jm as zr, jT as Xr, cL as qr, jn as Zr, l0 as Qr, nK as Jr, hU as $r, a0 as an, jU as en, cU as sn, cQ as tn, cR as on, cT as rn, ff as nn, l8 as ln, ep as Tn, N as _n, fy as En, f9 as cn, gU as dn, eT as pn, gT as Sn, gS as gn, nF as An, jo as In, lv as un, cO as mn, dP as Cn, dz as On, aF as Rn, ij as Dn, ik as Pn, lo as Nn, b8 as yn, lH as Ln, eq as fn, ig as Mn, lU as hn, iS as Un, cY as bn, kF as Fn, hN as Bn, l4 as vn, jp as Gn, dK as Vn, jB as kn, dt as xn, jA as jn, jq as Yn, jr as Hn, c_ as Kn, js as wn, _ as Wn, nP as zn, jE as Xn, P as qn, jG as Zn, jH as Qn, d0 as Jn, nU as $n, jI as al, bm as el, dO as sl, fP as tl, Q as ol, lx as il, jV as rl, lY as nl, fi as ll, aG as Tl, R as _l, t as El, b3 as cl, a2 as dl, Z as pl, o6 as Sl, jW as gl, nH as Al, dX as Il, v as ul, o9 as ml, aP as Cl, bp as Ol, fz as Rl, gR as Dl, nN as Pl, fn as Nl, nO as yl, o4 as Ll, lL as fl, nY as Ml, e as hl, or as Ul, hj as bl, aT as Fl, g7 as Bl, bd as vl, b7 as Gl, k7 as Vl, jY as kl, lB as xl, bj as jl, kv as Yl, dS as Hl, kZ as Kl, gV as wl, lV as Wl, ih as zl, jX as Xl, f7 as ql, $ as Zl, gy as Ql, d2 as Jl, k0 as $l, k1 as aT, k8 as eT, d3 as sT, d4 as tT, w as oT, gc as iT, lp as rT, a as nT, kr as lT, ks as TT, fM as _T, d5 as ET, d6 as cT, ka as dT, nJ as pT, jZ as ST, kt as gT, ku as AT, mY as IT, gr as uT, cP as mT, d7 as CT, aU as OT, aa as RT, gW as DT, kz as PT, gL as NT, kA as yT, kB as LT, dZ as fT, ly as MT, lZ as hT, ev as UT, lI as bT, jj as FT, m$ as BT, o7 as vT, b1 as GT, hQ as VT, aK as kT, aM as xT, da as jT, lr as YT, l9 as HT, la as KT, kC as wT, kD as WT, kG as zT, bq as XT, br as qT, kI as ZT, kK as QT, kL as JT, kM as $T, nh as a_, jl as e_, kN as s_, n3 as t_, kO as o_, hV as i_, d9 as r_, db as n_, nt as l_, nu as T_, nv as __, kP as E_, eU as c_, kQ as d_, dq as p_, gs as S_, gt as g_, o1 as A_, aN as I_, bi as u_, lC as m_, nV as C_, cF as O_, mR as R_, eG as D_, kT as P_, kU as N_, cD as y_, n6 as L_, kV as f_, e5 as M_, mU as h_, e9 as U_, e7 as b_, e6 as F_, e3 as B_, e0 as v_, lP as G_, lR as V_, lQ as k_, lw as x_, be as j_, km as Y_, dJ as H_, a4 as K_, mT as w_, f3 as W_, kW as z_, cM as X_, cN as q_, kk as Z_, j$ as Q_, a_ as J_, ie as $_, a6 as aE, nQ as eE, gQ as sE, gO as tE, du as oE, kX as iE, im as rE, gP as nE, n$ as lE, ce as TE, mC as _E, b4 as EE, M as cE, md as dE, c9 as pE, aZ as SE, cm as gE, g$ as AE, b as IE, gC as uE, gD as mE, cc as CE, gj as OE, ms as RE, bZ as DE, my as PE, bX as NE, jS as yE, cf as LE, hk as fE, hm as ME, f4 as hE, c as UE, hp as bE, hs as FE, b_ as BE, fs as vE, eJ as GE, ai as VE, fp as kE, fm as xE, c3 as jE, m6 as YE, ca as HE, me as KE, d as wE, fr as WE, fq as zE, bv as XE, mw as qE, i3 as ZE, i5 as QE, i2 as JE, i4 as $E, os as ac, ft as ec, l_ as sc, mE as tc, ah as oc, aj as ic, cx as rc, c8 as nc, mD as lc, ag as Tc, H as _c, cw as Ec, dT as cc, fk as dc, nr as pc, bM as Sc, mz as gc, na as Ac, ib as Ic, at as uc, ha as mc, fA as Cc, as as Oc, n9 as Rc, jy as Dc, cp as Pc, f2 as Nc, eI as yc, f1 as Lc, f0 as fc, e$ as Mc, n8 as hc, ke as Uc, mx as bc, am as Fc, fu as Bc, nq as vc, jO as Gc, nb as Vc, kh as kc, n1 as xc, hq as jc, hv as Yc, hu as Hc, hr as Kc, hI as wc, bT as Wc, jP as zc, iU as Xc, ak as qc, h$ as Zc, mn as Qc, ic as Jc, dH as $c, dA as ad, gE as ed, kw as sd, i8 as td, hd as od, av as id, is as rd, eZ as nd, i9 as ld, ht as Td, bN as _d, kJ as Ed, np as cd, al as dd, au as pd, mh as Sd, c4 as gd, bh as Ad, h7 as Id, bV as ud, mF as md, aq as Cd, m2 as Od, ar as Rd, ct as Dd, mB as Pd, f5 as Nd, mm as yd, cu as Ld, iX as fd, h4 as Md, h3 as hd, cr as Ud, fI as bd, g8 as Fd, j9 as Bd, ml as vd, iz as Gd, mk as Vd, m1 as kd, oy as xd, O as jd, fo as Yd, fl as Hd, mb as Kd, h1 as wd, mq as Wd, gF as zd, hK as Xd, gI as qd, ao as Zd, jM as Qd, h8 as Jd, mp as $d, b0 as ap, jz as ep, nw as sp, g_ as tp, eY as op, jx as ip, jw as rp, nB as np, nA as lp, nn as Tp, k2 as _p, bL as Ep, c6 as cp, dI as dp, nm as pp, gK as Sp, an as gp, cq as Ap, ho as Ip, kg as up, k3 as mp, k4 as Cp, k9 as Op, kb as Rp, kj as Dp, ko as Pp, kp as Np, k5 as yp, hf as Lp, kl as fp, h0 as Mp, cs as hp, h9 as Up, ki as bp, cv as Fp, gB as Bp, a9 as vp, ns as Gp, n2 as Vp, mg as kp, b2 as xp, hY as jp, kf as Yp, kc as Hp, e_ as Kp, gA as wp, gH as Wp, gZ as zp, he as Xp, hb as qp, g as Zp, jD as Qp, c1 as Jp, e4 as $p, e8 as aS, mN as eS, ab as sS, mr as tS, m7 as oS, ap as iS, h5 as rS, h6 as nS, nz as lS, nx as TS, mo as _S, x as ES, fL as cS, ma as dS, iV as pS, V as SS, cd as gS, fK as AS, bU as IS, dC as uS, dB as mS, l$ as CS, iY as OS, i_ as RS, mu as DS, dU as PS, i as NS, mf as yS, j as LS, c2 as fS, cl as MS, ia as hS, cV as US, bO as bS, bP as FS, m4 as BS, jh as vS, jg as GS, kd as VS, eX as kS, jC as xS, ae as jS, F as YS, y as HS, c7 as KS, cn as wS, gG as WS, m0 as zS, bJ as XS, af as qS, c0 as ZS, io as QS, z as JS, c5 as $S, ny as ag, bQ as eg, hc as sg, iA as tg, hn as og, mv as ig, mc as rg, bR as ng, of as lg, gJ as Tg, mj as _g, mt as Eg, mi as cg, ad as dg, h2 as pg, no as Sg, bu as gg, iW as Ag, K as Ig, ac as ug, cg as mg, bG as Cg, mA as Og, bH as Rg, gn as Dg, lf as Pg, gY as Ng, bI as yg, m3 as Lg, gX as fg, co as Mg, J as hg, dW as Ug, mO as bg, h_ as Fg, hZ as Bg, mP as vg, dV as Gg, e1 as Vg, eK as kg, b$ as xg, u as jg, eg as Yg, ei as Hg, g3 as Kg, cy as wg, cb as Wg, mG as zg, bS as Xg, mH as qg, mI as Zg, cz as Qg, mW as Jg, m9 as $g, ch as aA, mJ as eA, cA as sA, bY as tA, cj as oA, mZ as iA, X as rA, mK as nA, jF as lA, mL as TA, W as _A, cC as EA, d8 as cA, ci as dA, bW as pA, cE as SA, mM as gA, n4 as AA, bK as IA, gd as uA, kS as mA, cG as CA, n5 as OA, mQ as RA, cB as DA, ov as PA, oz as NA, ot as yA, oh as LA, oq as fA, ox as MA, on as hA, ou as UA, oe as bA, od as FA, og as BA, om as vA, ok as GA, oj as VA, op as kA, oi as xA, bn as jA, bo as YA, ol as HA, oo as KA, ow as wA, m5 as WA, n7 as zA, m8 as XA } from "./@code-editor-Ba-rLFdL.js";
3
- import { j as a } from "./@vendor-CyzLceRe.js";
4
- import { cf as ZA } from "./@vendor-CyzLceRe.js";
5
- import { H as JA, R as $A, c as aI, g as eI, a as sI, b as tI } from "./@common-rjsf-EwYXfIxu.js";
1
+ import { B as E, U as C, f as g, C as O, h as R, I as i, k as p, T as D, l as P } from "./@code-editor-DVQaVhRe.js";
2
+ import { nZ as w, aX as W, ey as z, lX as X, fb as q, lu as Z, lk as Q, fW as J, b6 as $, l2 as aa, aR as ea, lT as sa, jK as ta, lg as oa, kY as ia, fQ as ra, fR as na, fS as la, dx as Ta, jc as _a, fT as Ea, A as ca, dv as da, dw as pa, nR as Sa, fU as ga, fV as Aa, fN as Ia, nc as ua, li as ma, jL as Ca, jN as Oa, kx as Ra, fX as Da, fY as Pa, fZ as Na, n0 as ya, nG as La, fB as fa, cZ as Ma, dh as ha, di as Ua, j1 as ba, f_ as Fa, gl as Ba, oa as va, lz as Ga, et as Va, eo as ka, ew as xa, ej as ja, eu as Ya, ex as Ha, en as Ka, em as wa, eH as Wa, es as za, el as Xa, bl as qa, bk as Za, g5 as Qa, g9 as Ja, f$ as $a, fH as ae, fG as ee, g0 as se, hC as te, kR as oe, m as ie, n as re, o as ne, eW as le, ea as Te, eL as _e, ee as Ee, ef as ce, ec as de, eN as pe, eM as Se, eS as ge, eb as Ae, eV as Ie, ed as ue, eO as me, eQ as Ce, eP as Oe, eh as Re, aO as De, eR as Pe, e2 as Ne, g1 as ye, g2 as Le, gb as fe, g6 as Me, g4 as he, ge as Ue, gf as be, k6 as Fe, gm as Be, dp as ve, dn as Ge, dm as Ve, nM as ke, de as xe, lq as je, gi as Ye, dc as He, a5 as Ke, nL as we, o0 as We, ga as ze, fC as Xe, fD as qe, nj as Ze, nf as Qe, eE as Je, eF as $e, nk as as, nl as es, ll as ss, ln as ts, lm as os, nX as is, ls as rs, dD as ns, hl as ls, hi as Ts, lJ as _s, lG as Es, fd as cs, er as ds, lW as ps, hB as Ss, gg as gs, gh as As, p as Is, Y as us, gk as ms, gu as Cs, cS as Os, q as Rs, fv as Ds, fa as Ps, hg as Ns, fx as ys, hw as Ls, hx as fs, hy as Ms, hz as hs, jJ as Us, dL as bs, a8 as Fs, a1 as Bs, hA as vs, dN as Gs, hh as Vs, ng as ks, dQ as xs, nW as js, hD as Ys, hE as Hs, hH as Ks, c$ as ws, hJ as Ws, L as zs, fF as Xs, fE as qs, hL as Zs, hM as Qs, cW as Js, hT as $s, hS as at, hR as et, bc as st, l1 as tt, lE as ot, aV as it, bb as rt, aC as nt, lt, jv as Tt, jt as _t, ju as Et, ek as ct, mS as dt, lD as pt, l3 as St, aI as gt, hX as At, ez as It, eA as ut, fe as mt, i6 as Ct, lc as Ot, il as Rt, lS as Dt, le as Pt, id as Nt, aY as yt, kH as Lt, lA as ft, f6 as Mt, aE as ht, az as Ut, aB as bt, iq as Ft, ay as Bt, aA as vt, fc as Gt, dF as Vt, S as kt, hO as xt, D as jt, nI as Yt, bt as Ht, lK as Kt, hF as wt, nT as Wt, dr as zt, i1 as Xt, i0 as qt, i7 as Zt, go as Qt, gw as Jt, gv as $t, df as ao, o8 as eo, bs as so, l5 as to, ky as oo, gp as io, l6 as ro, d1 as no, ip as lo, r as To, jd as _o, bw as Eo, bx as co, by as po, ir as So, ne as go, nd as Ao, bz as Io, bB as uo, bA as mo, bC as Co, ck as Oo, dM as Ro, it as Do, iu as Po, lb as No, lM as yo, aL as Lo, aJ as fo, lF as Mo, b5 as ho, k$ as Uo, ld as bo, iw as Fo, iv as Bo, n_ as vo, ni as Go, nE as Vo, ix as ko, l7 as xo, iy as jo, E as Yo, s as Ho, iB as Ko, iC as wo, ii as Wo, aw as zo, a$ as Xo, iE as qo, iD as Zo, gN as Qo, dY as Jo, a3 as $o, iF as ai, iG as ei, ds as si, kn as ti, dj as oi, kE as ii, j_ as ri, iH as ni, iI as li, hG as Ti, f8 as _i, dE as Ei, dG as ci, fh as di, fg as pi, bF as Si, bD as gi, bE as Ai, iJ as Ii, iL as ui, iM as mi, iK as Ci, iN as Oi, iO as Ri, dR as Di, gz as Pi, iP as Ni, nS as yi, iQ as Li, bg as fi, iR as Mi, G as hi, jR as Ui, kq as bi, iT as Fi, gM as Bi, ax as vi, je as Gi, k_ as Vi, eC as ki, eB as xi, eD as ji, lN as Yi, d_ as Hi, d$ as Ki, bf as wi, iZ as Wi, i$ as zi, j0 as Xi, j2 as qi, j3 as Zi, dl as Qi, mV as Ji, mX as $i, cI as ar, cH as er, dd as sr, j4 as tr, nC as or, j5 as ir, lO as rr, j6 as nr, dy as lr, fJ as Tr, a7 as _r, fw as Er, o5 as cr, jf as dr, nD as pr, cJ as Sr, j8 as gr, j7 as Ar, fj as Ir, lj as ur, aH as mr, jb as Cr, ja as Or, cX as Rr, aD as Dr, ba as Pr, o2 as Nr, ji as yr, o3 as Lr, fO as fr, jQ as Mr, gx as hr, jk as Ur, gq as br, lh as Fr, oc as Br, b9 as vr, aS as Gr, ob as Vr, aW as kr, aQ as xr, hP as jr, hW as Yr, m_ as Hr, dg as Kr, cK as wr, dk as Wr, jm as zr, jT as Xr, cL as qr, jn as Zr, l0 as Qr, nK as Jr, hU as $r, a0 as an, jU as en, cU as sn, cQ as tn, cR as on, cT as rn, ff as nn, l8 as ln, ep as Tn, N as _n, fy as En, f9 as cn, gU as dn, eT as pn, gT as Sn, gS as gn, nF as An, jo as In, lv as un, cO as mn, dP as Cn, dz as On, aF as Rn, ij as Dn, ik as Pn, lo as Nn, b8 as yn, lH as Ln, eq as fn, ig as Mn, lU as hn, iS as Un, cY as bn, kF as Fn, hN as Bn, l4 as vn, jp as Gn, dK as Vn, jB as kn, dt as xn, jA as jn, jq as Yn, jr as Hn, c_ as Kn, js as wn, _ as Wn, nP as zn, jE as Xn, P as qn, jG as Zn, jH as Qn, d0 as Jn, nU as $n, jI as al, bm as el, dO as sl, fP as tl, Q as ol, lx as il, jV as rl, lY as nl, fi as ll, aG as Tl, R as _l, t as El, b3 as cl, a2 as dl, Z as pl, o6 as Sl, jW as gl, nH as Al, dX as Il, v as ul, o9 as ml, aP as Cl, bp as Ol, fz as Rl, gR as Dl, nN as Pl, fn as Nl, nO as yl, o4 as Ll, lL as fl, nY as Ml, e as hl, or as Ul, hj as bl, aT as Fl, g7 as Bl, bd as vl, b7 as Gl, k7 as Vl, jY as kl, lB as xl, bj as jl, kv as Yl, dS as Hl, kZ as Kl, gV as wl, lV as Wl, ih as zl, jX as Xl, f7 as ql, $ as Zl, gy as Ql, d2 as Jl, k0 as $l, k1 as aT, k8 as eT, d3 as sT, d4 as tT, w as oT, gc as iT, lp as rT, a as nT, kr as lT, ks as TT, fM as _T, d5 as ET, d6 as cT, ka as dT, nJ as pT, jZ as ST, kt as gT, ku as AT, mY as IT, gr as uT, cP as mT, d7 as CT, aU as OT, aa as RT, gW as DT, kz as PT, gL as NT, kA as yT, kB as LT, dZ as fT, ly as MT, lZ as hT, ev as UT, lI as bT, jj as FT, m$ as BT, o7 as vT, b1 as GT, hQ as VT, aK as kT, aM as xT, da as jT, lr as YT, l9 as HT, la as KT, kC as wT, kD as WT, kG as zT, bq as XT, br as qT, kI as ZT, kK as QT, kL as JT, kM as $T, nh as a_, jl as e_, kN as s_, n3 as t_, kO as o_, hV as i_, d9 as r_, db as n_, nt as l_, nu as T_, nv as __, kP as E_, eU as c_, kQ as d_, dq as p_, gs as S_, gt as g_, o1 as A_, aN as I_, bi as u_, lC as m_, nV as C_, cF as O_, mR as R_, eG as D_, kT as P_, kU as N_, cD as y_, n6 as L_, kV as f_, e5 as M_, mU as h_, e9 as U_, e7 as b_, e6 as F_, e3 as B_, e0 as v_, lP as G_, lR as V_, lQ as k_, lw as x_, be as j_, km as Y_, dJ as H_, a4 as K_, mT as w_, f3 as W_, kW as z_, cM as X_, cN as q_, kk as Z_, j$ as Q_, a_ as J_, ie as $_, a6 as aE, nQ as eE, gQ as sE, gO as tE, du as oE, kX as iE, im as rE, gP as nE, n$ as lE, ce as TE, mC as _E, b4 as EE, M as cE, md as dE, c9 as pE, aZ as SE, cm as gE, g$ as AE, b as IE, gC as uE, gD as mE, cc as CE, gj as OE, ms as RE, bZ as DE, my as PE, bX as NE, jS as yE, cf as LE, hk as fE, hm as ME, f4 as hE, c as UE, hp as bE, hs as FE, b_ as BE, fs as vE, eJ as GE, ai as VE, fp as kE, fm as xE, c3 as jE, m6 as YE, ca as HE, me as KE, d as wE, fr as WE, fq as zE, bv as XE, mw as qE, i3 as ZE, i5 as QE, i2 as JE, i4 as $E, os as ac, ft as ec, l_ as sc, mE as tc, ah as oc, aj as ic, cx as rc, c8 as nc, mD as lc, ag as Tc, H as _c, cw as Ec, dT as cc, fk as dc, nr as pc, bM as Sc, mz as gc, na as Ac, ib as Ic, at as uc, ha as mc, fA as Cc, as as Oc, n9 as Rc, jy as Dc, cp as Pc, f2 as Nc, eI as yc, f1 as Lc, f0 as fc, e$ as Mc, n8 as hc, ke as Uc, mx as bc, am as Fc, fu as Bc, nq as vc, jO as Gc, nb as Vc, kh as kc, n1 as xc, hq as jc, hv as Yc, hu as Hc, hr as Kc, hI as wc, bT as Wc, jP as zc, iU as Xc, ak as qc, h$ as Zc, mn as Qc, ic as Jc, dH as $c, dA as ad, gE as ed, kw as sd, i8 as td, hd as od, av as id, is as rd, eZ as nd, i9 as ld, ht as Td, bN as _d, kJ as Ed, np as cd, al as dd, au as pd, mh as Sd, c4 as gd, bh as Ad, h7 as Id, bV as ud, mF as md, aq as Cd, m2 as Od, ar as Rd, ct as Dd, mB as Pd, f5 as Nd, mm as yd, cu as Ld, iX as fd, h4 as Md, h3 as hd, cr as Ud, fI as bd, g8 as Fd, j9 as Bd, ml as vd, iz as Gd, mk as Vd, m1 as kd, oy as xd, O as jd, fo as Yd, fl as Hd, mb as Kd, h1 as wd, mq as Wd, gF as zd, hK as Xd, gI as qd, ao as Zd, jM as Qd, h8 as Jd, mp as $d, b0 as ap, jz as ep, nw as sp, g_ as tp, eY as op, jx as ip, jw as rp, nB as np, nA as lp, nn as Tp, k2 as _p, bL as Ep, c6 as cp, dI as dp, nm as pp, gK as Sp, an as gp, cq as Ap, ho as Ip, kg as up, k3 as mp, k4 as Cp, k9 as Op, kb as Rp, kj as Dp, ko as Pp, kp as Np, k5 as yp, hf as Lp, kl as fp, h0 as Mp, cs as hp, h9 as Up, ki as bp, cv as Fp, gB as Bp, a9 as vp, ns as Gp, n2 as Vp, mg as kp, b2 as xp, hY as jp, kf as Yp, kc as Hp, e_ as Kp, gA as wp, gH as Wp, gZ as zp, he as Xp, hb as qp, g as Zp, jD as Qp, c1 as Jp, e4 as $p, e8 as aS, mN as eS, ab as sS, mr as tS, m7 as oS, ap as iS, h5 as rS, h6 as nS, nz as lS, nx as TS, mo as _S, x as ES, fL as cS, ma as dS, iV as pS, V as SS, cd as gS, fK as AS, bU as IS, dC as uS, dB as mS, l$ as CS, iY as OS, i_ as RS, mu as DS, dU as PS, i as NS, mf as yS, j as LS, c2 as fS, cl as MS, ia as hS, cV as US, bO as bS, bP as FS, m4 as BS, jh as vS, jg as GS, kd as VS, eX as kS, jC as xS, ae as jS, F as YS, y as HS, c7 as KS, cn as wS, gG as WS, m0 as zS, bJ as XS, af as qS, c0 as ZS, io as QS, z as JS, c5 as $S, ny as ag, bQ as eg, hc as sg, iA as tg, hn as og, mv as ig, mc as rg, bR as ng, of as lg, gJ as Tg, mj as _g, mt as Eg, mi as cg, ad as dg, h2 as pg, no as Sg, bu as gg, iW as Ag, K as Ig, ac as ug, cg as mg, bG as Cg, mA as Og, bH as Rg, gn as Dg, lf as Pg, gY as Ng, bI as yg, m3 as Lg, gX as fg, co as Mg, J as hg, dW as Ug, mO as bg, h_ as Fg, hZ as Bg, mP as vg, dV as Gg, e1 as Vg, eK as kg, b$ as xg, u as jg, eg as Yg, ei as Hg, g3 as Kg, cy as wg, cb as Wg, mG as zg, bS as Xg, mH as qg, mI as Zg, cz as Qg, mW as Jg, m9 as $g, ch as aA, mJ as eA, cA as sA, bY as tA, cj as oA, mZ as iA, X as rA, mK as nA, jF as lA, mL as TA, W as _A, cC as EA, d8 as cA, ci as dA, bW as pA, cE as SA, mM as gA, n4 as AA, bK as IA, gd as uA, kS as mA, cG as CA, n5 as OA, mQ as RA, cB as DA, ov as PA, oz as NA, ot as yA, oh as LA, oq as fA, ox as MA, on as hA, ou as UA, oe as bA, od as FA, og as BA, om as vA, ok as GA, oj as VA, op as kA, oi as xA, bn as jA, bo as YA, ol as HA, oo as KA, ow as wA, m5 as WA, n7 as zA, m8 as XA } from "./@code-editor-DVQaVhRe.js";
3
+ import { j as a } from "./@vendor-BfI9BrhH.js";
4
+ import { cf as ZA } from "./@vendor-BfI9BrhH.js";
5
+ import { H as JA, R as $A, c as aI, g as eI, a as sI, b as tI } from "./@common-rjsf-smts-NGt.js";
6
6
  import { useState as N } from "react";
7
7
  import { NavLink as y } from "react-router-dom";
8
- import { m as L } from "./@framer-motion-Bm1bDxeF.js";
9
- import { A as iI, a as rI, e as nI, f as lI, c as TI, u as _I } from "./@framer-motion-Bm1bDxeF.js";
8
+ import { m as L } from "./@framer-motion-DDwxEunL.js";
9
+ import { A as iI, a as rI, e as nI, f as lI, c as TI, u as _I } from "./@framer-motion-DDwxEunL.js";
10
10
  const f = () => /* @__PURE__ */ a.jsx(
11
11
  E,
12
12
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.22.0-beta-8",
3
+ "version": "1.22.0-beta-10",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -81,9 +81,9 @@
81
81
  "vite-tsconfig-paths": "5.0.1"
82
82
  },
83
83
  "peerDependencies": {
84
- "@rjsf/core": "^5.13.3",
85
- "@rjsf/utils": "^5.13.3",
86
- "@rjsf/validator-ajv8": "^5.13.3",
84
+ "@rjsf/core": "^6.2.4",
85
+ "@rjsf/utils": "^6.2.4",
86
+ "@rjsf/validator-ajv8": "^6.2.4",
87
87
  "@typeform/embed-react": "2.20.0",
88
88
  "dompurify": "^3.2.4",
89
89
  "patch-package": "^8.0.0",