@devtron-labs/devtron-fe-common-lib 1.17.0-pre-1 → 1.17.0-pre-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,598 @@
1
+ import { j as n, at as y, av as k, au as M } from "./@vendor-DbxoIktR.js";
2
+ import W, { forwardRef as J, useMemo as P } from "react";
3
+ import V, { getDefaultRegistry as K } from "@rjsf/core";
4
+ import { T as N, j as w, c as v, b as F, S as q, i as Y, a as G, d as C, e as z } from "./@code-editor-DkUhYcbr.js";
5
+ import { getUiOptions as I, getTemplate as D, getSubmitButtonOptions as Q, ADDITIONAL_PROPERTY_FLAG as B, errorId as X, englishStringTranslator as Z, TranslatableString as ee, titleId as te, canExpand as ne, deepEquals as re } from "@rjsf/utils";
6
+ import { ReactComponent as se } from "./assets/ic-add.cfaa779b.svg";
7
+ import { ReactComponent as ae } from "./assets/ic-warning.ecf7ff97.svg";
8
+ import { ReactComponent as oe } from "./assets/ic-cross.01e03666.svg";
9
+ import './assets/@common-rjsf.css';const S = {
10
+ SELECT: "Please select an option",
11
+ INPUT: "Please enter an input",
12
+ OBJECT_KEY: "Please enter a value for the key"
13
+ }, le = "Key not available", Ue = {
14
+ "ui:submitButtonOptions": {
15
+ norender: !0
16
+ }
17
+ }, $ = "rjsf-form-select-portal-target", ie = ({
18
+ children: e,
19
+ disabled: t,
20
+ hasToolbar: s,
21
+ hasRemove: r,
22
+ index: a,
23
+ onDropIndexClick: i,
24
+ readonly: l,
25
+ registry: o,
26
+ uiSchema: c
27
+ }) => {
28
+ const { RemoveButton: d } = o.templates.ButtonTemplates;
29
+ return /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel display-grid rjsf-form-template__array-field-item flex-align-center", children: [
30
+ 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,
33
+ {
34
+ disabled: t || l,
35
+ onClick: i(a),
36
+ uiSchema: c,
37
+ registry: o
38
+ }
39
+ ) })
40
+ ] });
41
+ }, T = ({
42
+ showLabel: e,
43
+ label: t,
44
+ required: s,
45
+ children: r,
46
+ id: a,
47
+ rawDescription: i,
48
+ shouldAlignCenter: l = !0
49
+ }) => /* @__PURE__ */ n.jsxs(
50
+ "div",
51
+ {
52
+ className: e ? `display-grid dc__gap-12 rjsf-form-template__field ${l ? "" : "rjsf-form-template__field--align-top"}` : "",
53
+ children: [
54
+ e && /* @__PURE__ */ n.jsxs("label", { className: "cn-7 fs-13 lh-20 fw-4 flexbox mb-0", htmlFor: a, children: [
55
+ /* @__PURE__ */ n.jsx(N, { alwaysShowTippyOnHover: !!i, content: i, children: /* @__PURE__ */ n.jsx("span", { className: `dc__ellipsis-right ${i ? "dc__underline-dotted" : ""}`, children: t || le }) }),
56
+ s && /* @__PURE__ */ n.jsx("span", { className: "cr-5", children: " *" })
57
+ ] }),
58
+ r
59
+ ]
60
+ }
61
+ ), E = ({ label: e, canAdd: t, onAddClick: s, disabled: r, readonly: a, uiSchema: i, registry: l }) => {
62
+ const {
63
+ ButtonTemplates: { AddButton: o }
64
+ } = l.templates;
65
+ return t && /* @__PURE__ */ n.jsx(
66
+ o,
67
+ {
68
+ label: e,
69
+ onClick: s,
70
+ disabled: r || a,
71
+ uiSchema: i,
72
+ registry: l
73
+ }
74
+ );
75
+ }, ce = ({
76
+ canAdd: e,
77
+ className: t,
78
+ disabled: s,
79
+ idSchema: r,
80
+ uiSchema: a,
81
+ items: i,
82
+ onAddClick: l,
83
+ readonly: o,
84
+ registry: c,
85
+ required: d,
86
+ title: x
87
+ }) => {
88
+ const u = I(a), f = D("ArrayFieldItemTemplate", c, u), m = u.title || x;
89
+ return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: r.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
90
+ i.map(({ key: j, ...h }, _) => {
91
+ const p = {
92
+ ...h.children,
93
+ props: {
94
+ ...h.children.props
95
+ }
96
+ };
97
+ return /* @__PURE__ */ n.jsx(f, { ...h, children: p }, j);
98
+ }),
99
+ /* @__PURE__ */ n.jsx(
100
+ E,
101
+ {
102
+ label: m,
103
+ canAdd: e,
104
+ onAddClick: l,
105
+ disabled: s,
106
+ readonly: o,
107
+ uiSchema: a,
108
+ registry: c
109
+ }
110
+ )
111
+ ] }) : /* @__PURE__ */ n.jsx(T, { label: m, required: d, showLabel: !0, id: r.$id, children: /* @__PURE__ */ n.jsx(
112
+ E,
113
+ {
114
+ label: m,
115
+ canAdd: e,
116
+ onAddClick: l,
117
+ disabled: s,
118
+ readonly: o,
119
+ uiSchema: a,
120
+ registry: c
121
+ }
122
+ ) }) });
123
+ }, {
124
+ templates: { BaseInputTemplate: de }
125
+ } = K(), ue = ({ placeholder: e, ...t }) => {
126
+ const { schema: s } = t;
127
+ return /* @__PURE__ */ n.jsx(
128
+ de,
129
+ {
130
+ placeholder: s.placeholder || e || S.INPUT,
131
+ ...t,
132
+ className: "form__input cn-9 fs-13 lh-20 fw-4"
133
+ }
134
+ );
135
+ }, L = ({
136
+ label: e,
137
+ icon: t,
138
+ iconType: s,
139
+ registry: r,
140
+ uiSchema: a,
141
+ ...i
142
+ }) => {
143
+ const l = `Add ${e}`;
144
+ return /* @__PURE__ */ n.jsx("div", { className: "flexbox flex-justify-start", children: /* @__PURE__ */ n.jsxs(
145
+ "button",
146
+ {
147
+ ...i,
148
+ type: "button",
149
+ className: "dc__outline-none-imp p-0 dc__transparent flex dc__gap-4 cursor dc__mxw-250",
150
+ title: "Add",
151
+ children: [
152
+ /* @__PURE__ */ n.jsx(se, { className: "icon-dim-16 fcb-5" }),
153
+ /* @__PURE__ */ n.jsx(N, { placement: "right", content: l, children: /* @__PURE__ */ n.jsx("span", { className: "cb-5 fs-13 lh-34 dc__truncate", children: l }) })
154
+ ]
155
+ }
156
+ ) });
157
+ }, me = ({ 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(oe, { className: "icon-dim-16 fcn-6" }) }), pe = ({ uiSchema: e }) => {
158
+ const { submitText: t, norender: s, props: r = {} } = Q(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
+ }, O = ({
161
+ id: e,
162
+ title: t,
163
+ required: s,
164
+ description: r
165
+ }) => /* @__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(N, { 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: " *" })
168
+ ] }), fe = (e) => {
169
+ const {
170
+ id: t,
171
+ label: s,
172
+ children: r,
173
+ errors: a,
174
+ hidden: i,
175
+ required: l,
176
+ displayLabel: o,
177
+ registry: c,
178
+ uiSchema: d,
179
+ classNames: x,
180
+ schema: u,
181
+ rawDescription: f
182
+ } = e, m = I(d), j = D(
183
+ "WrapIfAdditionalTemplate",
184
+ c,
185
+ m
186
+ ), h = B in u, _ = (o || u.type === "boolean") && !h, p = u.type === "array";
187
+ return i ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: r }) : (
188
+ // NOTE: need to override the margins of default rjsf css
189
+ /* @__PURE__ */ n.jsxs("div", { className: `${x} mb-0`, children: [
190
+ p && /* @__PURE__ */ n.jsx(
191
+ O,
192
+ {
193
+ id: t,
194
+ title: s,
195
+ required: l,
196
+ registry: c,
197
+ uiSchema: d,
198
+ schema: u,
199
+ description: f
200
+ }
201
+ ),
202
+ /* @__PURE__ */ n.jsx(
203
+ T,
204
+ {
205
+ label: s,
206
+ showLabel: _,
207
+ id: t,
208
+ required: l,
209
+ rawDescription: f,
210
+ children: /* @__PURE__ */ n.jsx(j, { ...e, children: r })
211
+ }
212
+ ),
213
+ a
214
+ ] })
215
+ );
216
+ }, he = ({ errors: e = [], idSchema: t }) => {
217
+ const s = X(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(W.Fragment, { children: [
219
+ /* @__PURE__ */ n.jsx("span", {}),
220
+ /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
221
+ /* @__PURE__ */ n.jsx(ae, { className: "form__icon form__icon--error" }),
222
+ r
223
+ ] })
224
+ ] }, a)) });
225
+ }, _e = (e, t) => {
226
+ switch (e) {
227
+ case ee.NewStringDefault:
228
+ return "";
229
+ default:
230
+ return Z(e, t);
231
+ }
232
+ }, He = (e) => {
233
+ try {
234
+ const t = new URL(e).origin === window.location.origin;
235
+ return {
236
+ href: e,
237
+ target: t ? "_self" : "_blank",
238
+ rel: t ? void 0 : "external noreferrer",
239
+ url: e
240
+ };
241
+ } catch {
242
+ return {
243
+ href: e,
244
+ target: "_blank",
245
+ url: `${e} (Invalid URL)`
246
+ };
247
+ }
248
+ }, ke = (e) => {
249
+ const t = typeof e;
250
+ switch (t) {
251
+ case "boolean":
252
+ case "string":
253
+ case "number":
254
+ return t;
255
+ case "object":
256
+ return Array.isArray(e) ? "array" : e === null ? "null" : t;
257
+ default:
258
+ return "null";
259
+ }
260
+ }, b = (e) => {
261
+ if (!e)
262
+ return "";
263
+ const t = e.trim(), r = (/^\/.+$/g.test(t) ? t : `/${t}`).replaceAll(/\./g, "/");
264
+ return /(\/(([^/~])|(~[01]))*)/g.test(r) ? r : "";
265
+ }, R = {
266
+ value: !1,
267
+ path: ""
268
+ }, xe = (e) => {
269
+ if (!e)
270
+ return null;
271
+ const t = structuredClone(e);
272
+ return typeof t == "string" ? {
273
+ value: !0,
274
+ path: b(t)
275
+ } : typeof t != "object" ? structuredClone(R) : Object.hasOwn(t, "condition") && "condition" in t && Object.hasOwn(t, "value") && "value" in t ? {
276
+ value: t.condition,
277
+ path: b(t.value)
278
+ } : Object.hasOwn(t, "value") && "value" in t && Object.hasOwn(t, "path") && "path" in t ? {
279
+ value: t.value,
280
+ path: b(t.path)
281
+ } : structuredClone(R);
282
+ }, U = (e, t, s) => {
283
+ e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([r, a]) => {
284
+ U(a, `${t}/${r}`, s);
285
+ }), (e.type === "boolean" || e.type === "string" || e.type === "number" || e.type === "integer") && (s[t] = b(e.updatePath ?? t)));
286
+ }, je = (e) => {
287
+ const t = {};
288
+ return U(e, "", t), t;
289
+ }, H = (e, t, s) => {
290
+ if (t >= s.length)
291
+ return e;
292
+ const r = s[t];
293
+ if (t === s.length - 1) {
294
+ const a = structuredClone(e);
295
+ return delete a[r], a;
296
+ }
297
+ if (e[r] && (e[r] = H(e[r], t + 1, s)), Object.keys(e[r] ?? {}).length === 0) {
298
+ const a = structuredClone(e);
299
+ return delete a[r], a;
300
+ }
301
+ return e;
302
+ }, ge = (e, t) => {
303
+ if (!e || typeof e != "object" || Array.isArray(e))
304
+ throw new Error("Invalid object");
305
+ if (!t || !t.startsWith("/"))
306
+ throw new Error("Invalid path");
307
+ const s = t.split("/").slice(1);
308
+ return H(e, 0, s);
309
+ }, A = ({
310
+ formState: e,
311
+ formData: t,
312
+ schemaPathToUpdatePathMap: s
313
+ }) => {
314
+ let r = structuredClone(e);
315
+ return r && (Object.entries(s).forEach(([a, i]) => {
316
+ if (a === i || !i)
317
+ return;
318
+ const l = y({
319
+ json: t,
320
+ path: v(a),
321
+ resultType: "value",
322
+ wrap: !1
323
+ });
324
+ l === void 0 ? r = ge(r, a) : r = w([F(a, l), r]);
325
+ const o = y({
326
+ json: e,
327
+ path: v(a),
328
+ resultType: "value",
329
+ wrap: !1
330
+ });
331
+ o !== void 0 && (r = w([F(i, o), r]));
332
+ }), t && r ? k(t, M(t, r), !1, !1).newDocument : r);
333
+ }, be = ({ formData: e, schemaPathToUpdatePathMap: t }) => w([
334
+ ...Object.entries(t).map(([s, r]) => {
335
+ if (s === r || !r)
336
+ return {};
337
+ const a = y({
338
+ json: e,
339
+ path: v(r),
340
+ resultType: "value",
341
+ wrap: !1
342
+ });
343
+ return a === void 0 ? {} : F(s, a);
344
+ }),
345
+ structuredClone(e)
346
+ ]), ye = ({
347
+ disabled: e,
348
+ formData: t,
349
+ idSchema: s,
350
+ onAddClick: r,
351
+ properties: a,
352
+ readonly: i,
353
+ registry: l,
354
+ required: o,
355
+ schema: c,
356
+ title: d,
357
+ uiSchema: x,
358
+ formContext: u
359
+ }) => {
360
+ const f = !!c.additionalProperties, m = ne(c, x, t) && /* @__PURE__ */ n.jsx(
361
+ L,
362
+ {
363
+ label: d,
364
+ className: "object-property-expand",
365
+ onClick: r(c),
366
+ disabled: e || i,
367
+ uiSchema: x,
368
+ registry: l
369
+ }
370
+ ), j = a.filter((h) => {
371
+ const _ = c.properties?.[h.name]?.hidden;
372
+ if (!_)
373
+ return !0;
374
+ try {
375
+ const p = xe(_);
376
+ if (!p.path)
377
+ throw new Error("Empty path property of hidden descriptor field");
378
+ const g = y({
379
+ path: v(p.path),
380
+ json: u,
381
+ resultType: "value",
382
+ wrap: !1
383
+ });
384
+ return !(g === void 0 || re(p.value, g));
385
+ } catch {
386
+ return !0;
387
+ }
388
+ }).map((h) => h.content);
389
+ return f ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
390
+ /* @__PURE__ */ n.jsx(
391
+ T,
392
+ {
393
+ label: d,
394
+ required: o,
395
+ showLabel: !0,
396
+ id: s.$id,
397
+ shouldAlignCenter: !1,
398
+ children: /* @__PURE__ */ n.jsx("div", { children: j })
399
+ }
400
+ ),
401
+ m
402
+ ] }) : /* @__PURE__ */ n.jsx(T, { label: d, required: o, showLabel: !0, id: s.$id, children: m }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
403
+ j,
404
+ m
405
+ ] });
406
+ }, ve = (e) => {
407
+ const { idSchema: t, registry: s, required: r, schema: a, title: i, uiSchema: l, description: o } = e, c = !!a.additionalProperties, d = i && !c;
408
+ return /* @__PURE__ */ n.jsxs("fieldset", { id: t.$id, children: [
409
+ d && /* @__PURE__ */ n.jsx(
410
+ O,
411
+ {
412
+ id: te(t),
413
+ title: i,
414
+ required: r,
415
+ schema: a,
416
+ uiSchema: l,
417
+ registry: s,
418
+ description: o
419
+ }
420
+ ),
421
+ /* @__PURE__ */ n.jsx(
422
+ "div",
423
+ {
424
+ 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(ye, { ...e })
426
+ }
427
+ )
428
+ ] });
429
+ }, Te = ({
430
+ id: e,
431
+ disabled: t,
432
+ label: s,
433
+ onKeyChange: r,
434
+ onDropPropertyClick: a,
435
+ readonly: i,
436
+ schema: l,
437
+ children: o,
438
+ uiSchema: c,
439
+ registry: d
440
+ }) => {
441
+ const { templates: x } = d, { RemoveButton: u } = x.ButtonTemplates, f = B in l;
442
+ return /* @__PURE__ */ n.jsx(n.Fragment, { children: f ? /* @__PURE__ */ n.jsxs("div", { className: "dc__position-rel rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center", children: [
443
+ /* @__PURE__ */ n.jsx("div", { children: /* @__PURE__ */ n.jsx(
444
+ "input",
445
+ {
446
+ type: "text",
447
+ className: "form__input cn-9 fs-13 lh-20 fw-4",
448
+ id: `${e}-key`,
449
+ onBlur: (m) => r(m.target.value),
450
+ placeholder: S.OBJECT_KEY,
451
+ defaultValue: s
452
+ }
453
+ ) }),
454
+ /* @__PURE__ */ n.jsx("div", { children: o }),
455
+ /* @__PURE__ */ n.jsx("div", { className: "dc__position-abs remove-btn__container", style: { right: "-28px", top: "9px" }, children: /* @__PURE__ */ n.jsx(
456
+ u,
457
+ {
458
+ disabled: t || i,
459
+ onClick: a(s),
460
+ uiSchema: c,
461
+ registry: d
462
+ }
463
+ ) })
464
+ ] }) : o });
465
+ }, we = ({
466
+ id: e,
467
+ onChange: t,
468
+ value: s,
469
+ disabled: r,
470
+ readonly: a,
471
+ autofocus: i
472
+ }) => {
473
+ const l = Y(s) ? !1 : s, o = () => {
474
+ t(!l);
475
+ };
476
+ return /* @__PURE__ */ n.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
477
+ /* @__PURE__ */ n.jsx(
478
+ q,
479
+ {
480
+ name: e,
481
+ ariaLabel: e,
482
+ onChange: o,
483
+ isChecked: l,
484
+ autoFocus: i,
485
+ isDisabled: r || a
486
+ }
487
+ ),
488
+ /* @__PURE__ */ n.jsx("span", { className: "dc__capitalize", children: l.toString() })
489
+ ] });
490
+ }, Fe = (e) => {
491
+ const {
492
+ id: t,
493
+ multiple: s = !1,
494
+ options: r,
495
+ value: a,
496
+ disabled: i,
497
+ readonly: l,
498
+ autofocus: o = !1,
499
+ onChange: c,
500
+ onBlur: d,
501
+ onFocus: x,
502
+ placeholder: u
503
+ } = e, { enumOptions: f = [] } = r, m = s ? [] : null, j = (_) => {
504
+ c(s ? _.map((p) => p.value) : _.value);
505
+ }, h = (_) => s ? f.filter((p) => _.some((g) => C(g, p.value))) : f.find((p) => C(_, p.value));
506
+ return /* @__PURE__ */ n.jsx(
507
+ G,
508
+ {
509
+ inputId: `devtron-rjsf-select__${t}`,
510
+ name: t,
511
+ isMulti: s,
512
+ value: typeof a > "u" ? m : h(a),
513
+ autoFocus: o,
514
+ onChange: j,
515
+ options: f,
516
+ onBlur: () => d(t, a),
517
+ onFocus: () => x(t, a),
518
+ placeholder: u || S.SELECT,
519
+ isDisabled: i || l,
520
+ menuPortalTarget: document.getElementById($),
521
+ menuPosition: "fixed"
522
+ }
523
+ );
524
+ }, Ne = {
525
+ CheckboxWidget: we,
526
+ SelectWidget: Fe
527
+ }, Se = {
528
+ ArrayFieldItemTemplate: ie,
529
+ ArrayFieldTemplate: ce,
530
+ BaseInputTemplate: ue,
531
+ ButtonTemplates: { AddButton: L, RemoveButton: me, SubmitButton: pe },
532
+ FieldTemplate: fe,
533
+ FieldErrorTemplate: he,
534
+ ObjectFieldTemplate: ve,
535
+ TitleFieldTemplate: O,
536
+ WrapIfAdditionalTemplate: Te
537
+ }, Oe = V, Pe = z, Me = J((e, t) => {
538
+ const { schemaPathToUpdatePathMap: s, isUpdatePathKeywordPresent: r } = P(() => {
539
+ const o = je(e.schema);
540
+ return {
541
+ schemaPathToUpdatePathMap: o,
542
+ isUpdatePathKeywordPresent: Object.entries(o).some(([c, d]) => c !== d)
543
+ };
544
+ }, [e.schema]), a = P(() => r ? be({ formData: e.formData ?? {}, schemaPathToUpdatePathMap: s }) : e.formData, [e.formData, s, r]), i = (o) => {
545
+ if (!e.onChange)
546
+ return;
547
+ const c = A({
548
+ formState: o.formData,
549
+ formData: e.formData,
550
+ schemaPathToUpdatePathMap: s
551
+ });
552
+ e.onChange({ ...o, formData: c });
553
+ }, l = (o, c) => {
554
+ if (!e.onSubmit)
555
+ return;
556
+ const d = A({
557
+ formState: o.formData,
558
+ formData: e.formData,
559
+ schemaPathToUpdatePathMap: s
560
+ });
561
+ e.onSubmit?.({ ...o, formData: d }, c);
562
+ };
563
+ return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
564
+ /* @__PURE__ */ n.jsx(
565
+ Oe,
566
+ {
567
+ noHtml5Validate: !0,
568
+ showErrorList: !1,
569
+ autoComplete: "off",
570
+ ...e,
571
+ formData: a,
572
+ ...r ? {
573
+ onChange: i,
574
+ onSubmit: l
575
+ } : {},
576
+ className: `rjsf-form-template__container ${e.className || ""}`,
577
+ validator: Pe,
578
+ templates: {
579
+ ...Se,
580
+ ...e.templates
581
+ },
582
+ formContext: a,
583
+ widgets: { ...Ne, ...e.widgets },
584
+ translateString: _e,
585
+ ref: t
586
+ }
587
+ ),
588
+ /* @__PURE__ */ n.jsx("div", { id: $ })
589
+ ] });
590
+ });
591
+ export {
592
+ Ue as H,
593
+ Me as R,
594
+ He as a,
595
+ je as b,
596
+ b as c,
597
+ ke as g
598
+ };
@@ -9,3 +9,4 @@ export declare const HIDE_SUBMIT_BUTTON_UI_SCHEMA: {
9
9
  norender: boolean;
10
10
  };
11
11
  };
12
+ export declare const RJSF_FORM_SELECT_PORTAL_TARGET_ID = "rjsf-form-select-portal-target";
@@ -13,7 +13,7 @@ export declare const getRedirectionProps: (url: string) => React.AnchorHTMLAttri
13
13
  /**
14
14
  * Infers the type for json schema from value type
15
15
  */
16
- export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
16
+ export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "null" | "array";
17
17
  export declare const conformPathToPointers: (path: string) => string;
18
18
  export declare const parseSchemaHiddenType: (hiddenSchema: HiddenType) => MetaHiddenType;
19
19
  export declare const getSchemaPathToUpdatePathMap: (schema: RJSFFormSchema) => Record<string, string>;
@@ -101,7 +101,7 @@ export declare enum SelectPickerVariantType {
101
101
  BORDER_LESS = "border-less",
102
102
  COMPACT = "compact"
103
103
  }
104
- export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage' | 'defaultMenuIsOpen'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
104
+ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'formatOptionLabel' | 'onInputChange' | 'inputValue' | 'filterOption' | 'noOptionsMessage' | 'defaultMenuIsOpen' | 'onFocus'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'shouldRenderCustomOptions' | 'renderCustomOptions' | 'icon' | 'showSelectedOptionIcon' | 'renderOptionsFooter' | 'shouldRenderTextArea'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & Partial<Pick<CreatableProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>, 'onCreateOption' | 'formatCreateLabel' | 'menuPortalTarget'>> & Omit<FormFieldWrapperProps, 'children'> & {
105
105
  /**
106
106
  * Config for the footer at the bottom of menu list. It is sticky by default
107
107
  *
@@ -1 +1 @@
1
- .rjsf-form-template__container>div:first-child{padding:20px;margin-right:28px}.rjsf-form-template__field,.rjsf-form-template__field--error{grid-template-columns:250px 1fr}.rjsf-form-template__field input.form__input,.rjsf-form-template__field--error input.form__input{padding:6px 8px}.rjsf-form-template__field input.form__input[readonly],.rjsf-form-template__field--error input.form__input[readonly]{opacity:.5}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.rjsf-form-template__array-field-item legend{display:none}.rjsf-form-template__array-field-item:has(+div){margin-bottom:8px}.rjsf-form-template__additional-fields,.rjsf-form-template__array-field-item{z-index:0;background:transparent}.rjsf-form-template__additional-fields:has(>.remove-btn__container:hover):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container:hover):after{background:var(--R50)}.rjsf-form-template__additional-fields:has(>.remove-btn__container):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container):after{border-radius:4px;transform:translate(-50%,-50%);top:50%;left:50%;background:transparent;z-index:-1;position:absolute;height:calc(100% + 8px);width:calc(100% + 8px);content:"";transition:all .1s ease-out}.rjsf-form-template__additional-fields>.remove-btn__container:hover,.rjsf-form-template__array-field-item>.remove-btn__container:hover{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container:hover path,.rjsf-form-template__array-field-item>.remove-btn__container:hover path{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container,.rjsf-form-template__array-field-item>.remove-btn__container{transition:all .1s ease-out}
1
+ .rjsf-form-template__container>div:first-child{padding:20px;margin-right:28px}.rjsf-form-template__field,.rjsf-form-template__field--error{grid-template-columns:250px 1fr}.rjsf-form-template__field input.form__input,.rjsf-form-template__field--error input.form__input{padding:6px 8px}.rjsf-form-template__field input.form__input[readonly],.rjsf-form-template__field--error input.form__input[readonly]{opacity:.5}.rjsf-form-template__field{align-items:center}.rjsf-form-template__field:has([class^=devtron-rjsf-select__]),.rjsf-form-template__field.rjsf-form-template__field--align-top{align-items:flex-start}.rjsf-form-template__field:has([class^=devtron-rjsf-select__]) label{line-height:32px}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.rjsf-form-template__array-field-item legend{display:none}.rjsf-form-template__array-field-item:has(+div){margin-bottom:8px}.rjsf-form-template__additional-fields,.rjsf-form-template__array-field-item{z-index:0;background:transparent}.rjsf-form-template__additional-fields:has(>.remove-btn__container:hover):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container:hover):after{background:var(--R50)}.rjsf-form-template__additional-fields:has(>.remove-btn__container):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container):after{border-radius:4px;transform:translate(-50%,-50%);top:50%;left:50%;background:transparent;z-index:-1;position:absolute;height:calc(100% + 8px);width:calc(100% + 8px);content:"";transition:all .1s ease-out}.rjsf-form-template__additional-fields>.remove-btn__container:hover,.rjsf-form-template__array-field-item>.remove-btn__container:hover{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container:hover path,.rjsf-form-template__array-field-item>.remove-btn__container:hover path{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container,.rjsf-form-template__array-field-item>.remove-btn__container{transition:all .1s ease-out}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { mZ as s, aI as t, eg as i, eT as o, kG as r, kv as n, fs as l, aT as T, kd as E, aC as _, l2 as S, j4 as g, kr as p, k7 as d, fm as A, fn as I, fo as c, df as u, iA as C, fp as m, A as O, dd as D, de as R, mR as P, fq as N, fr as y, fj as L, me as f, kt as M, j5 as U, j7 as h, jK as F, ft as b, fu as B, fv as v, m2 as G, mG as k, cI as V, d0 as Y, d1 as j, iq as H, fw as K, fS as W, kL as w, e3 as x, eb as X, e6 as z, ee as q, e0 as Z, ec as Q, ef as J, e5 as $, e4 as aa, ep as ea, ea as sa, e2 as ta, fD as ia, fH as oa, fx as ra, fy as na, h2 as la, k0 as Ta, B as Ea, f as _a, g as Sa, eE as ga, dT as pa, et as da, dX as Aa, dY as Ia, dV as ca, ev as ua, eu as Ca, eA as ma, dU as Oa, eD as Da, dW as Ra, ew as Pa, ey as Na, ex as ya, d_ as La, az as fa, ez as Ma, fz as Ua, fA as ha, fJ as Fa, fE as ba, fC as Ba, fL as va, fP as Ga, fO as ka, fN as Va, fQ as Ya, fR as ja, jl as Ha, fT as Ka, d7 as Wa, d6 as wa, d5 as xa, mM as Xa, cZ as za, kC as qa, cX as Za, Q as Qa, mL as Ja, n0 as $a, fI as ae, ml as ee, mh as se, em as te, en as ie, mm as oe, mn as re, kx as ne, kz as le, ky as Te, mX as Ee, kE as _e, dk as Se, gN as ge, gK as pe, kS as de, eV as Ae, e9 as Ie, l5 as ce, h1 as ue, C as Ce, H as me, f$ as Oe, cB as De, h as Re, fb as Pe, fd as Ne, gY as ye, gZ as Le, g_ as fe, g$ as Me, j3 as Ue, dt as he, kw as Fe, X as be, L as Be, br as ve, h0 as Ge, dv as ke, gJ as Ve, mi as Ye, dy as je, mW as He, h3 as Ke, h4 as We, h7 as we, cK as xe, x as Xe, h9 as ze, ha as qe, cF as Ze, hi as Qe, hh as Je, aZ as $e, kc as as, kQ as es, aG as ss, aY as ts, am as is, kF as os, iT as rs, iR as ns, iS as ls, e1 as Ts, kP as Es, ke as _s, at as Ss, hm as gs, eh as ps, ei as ds, eW as As, hx as Is, kn as cs, hL as us, l1 as Cs, kp as ms, hE as Os, aJ as Ds, jU as Rs, kM as Ps, eP as Ns, ao as ys, aj as Ls, al as fs, hP as Ms, ai as Us, ak as hs, eU as Fs, dm as bs, S as Bs, hc as vs, D as Gs, mI as ks, bc as Vs, kV as Ys, h5 as js, mT as Hs, d9 as Ks, hs as Ws, hr as ws, hy as xs, fV as Xs, g1 as zs, g0 as qs, c_ as Zs, n8 as Qs, bb as Js, kg as $s, jL as at, fW as et, kh as st, cM as tt, hO as it, k as ot, iB as rt, bf as nt, bg as lt, bh as Tt, hQ as Et, mg as _t, mf as St, bi as gt, bk as pt, bj as dt, bl as At, c5 as It, du as ct, hS as ut, hT as Ct, km as mt, kX as Ot, aw as Dt, au as Rt, kR as Pt, aS as Nt, ka as yt, ko as Lt, hV as ft, hU as Mt, m_ as Ut, mk as ht, mE as Ft, hW as bt, ki as Bt, hX as vt, E as Gt, l as kt, h_ as Vt, hI as Yt, ag as jt, aM as Ht, i0 as Kt, h$ as Wt, gg as wt, dG as xt, O as Xt, i1 as zt, i2 as qt, da as Zt, jB as Qt, d2 as Jt, jR as $t, i3 as ai, i4 as ei, h6 as si, eR as ti, dl as ii, dn as oi, eZ as ri, eY as ni, bo as li, bm as Ti, bn as Ei, i5 as _i, i7 as Si, i8 as gi, i6 as pi, i9 as di, ia as Ai, dz as Ii, g4 as ci, ib as ui, mS as Ci, ic as mi, b1 as Oi, id as Di, G as Ri, jb as Pi, jE as Ni, ig as yi, gf as Li, ah as fi, iC as Mi, k9 as Ui, ek as hi, ej as Fi, el as bi, kY as Bi, dI as vi, dJ as Gi, b0 as ki, im as Vi, io as Yi, ip as ji, ir as Hi, is as Ki, d4 as Wi, lX as wi, lZ as xi, cs as Xi, cr as zi, cY as qi, it as Zi, mC as Qi, iu as Ji, kZ as $i, iv as ao, U as eo, fc as so, n5 as to, iD as io, mD as oo, ix as ro, iw as no, e$ as lo, ku as To, as as Eo, iz as _o, cG as So, an as go, aX as po, n2 as Ao, iG as Io, n3 as co, fk as uo, ja as Co, g2 as mo, iI as Oo, fX as Do, ks as Ro, na as Po, aW as No, aD as yo, bp as Lo, n9 as fo, aH as Mo, aB as Uo, hf as ho, hl as Fo, m0 as bo, c$ as Bo, ct as vo, d3 as Go, iK as ko, jc as Vo, cu as Yo, iL as jo, kb as Ho, mK as Ko, hj as Wo, M as wo, jd as xo, cD as Xo, cz as zo, cA as qo, cC as Zo, eX as Qo, kj as Jo, e7 as $o, fe as ar, eS as er, gm as sr, eB as tr, gl as ir, gk as or, mF as rr, iM as nr, kH as lr, cx as Tr, dx as Er, dg as _r, ap as Sr, hJ as gr, hK as pr, kA as dr, aV as Ar, kT as Ir, e8 as cr, hG as ur, l3 as Cr, ie as mr, cH as Or, jS as Dr, hb as Rr, kf as Pr, iN as Nr, ds as yr, iZ as Lr, db as fr, iY as Mr, iO as Ur, iP as hr, cJ as Fr, iQ as br, J as Br, mP as vr, j0 as Gr, P as kr, j2 as Vr, cL as Yr, mU as jr, b5 as Hr, dw as Kr, fl as Wr, kJ as wr, je as xr, e_ as Xr, ar as zr, R as qr, n as Zr, aQ as Qr, N as Jr, I as $r, n6 as an, jf as en, mH as sn, dF as tn, o as on, aA as rn, b8 as nn, ff as ln, mN as Tn, f3 as En, mO as _n, n4 as Sn, kW as gn, mY as pn, e as dn, np as An, gL as In, aE as cn, fF as un, a_ as Cn, aU as mn, kN as On, b4 as Dn, jI as Rn, dA as Pn, k8 as Nn, gn as yn, l4 as Ln, hH as fn, jg as Mn, eQ as Un, K as hn, g3 as Fn, cN as bn, jh as Bn, ji as vn, jm as Gn, cO as kn, cP as Vn, p as Yn, fK as jn, kB as Hn, jC as Kn, jF as Wn, jG as wn, fi as xn, cQ as Xn, cR as zn, jo as qn, mJ as Zn, jH as Qn, l_ as Jn, fY as $n, hd as al, cy as el, cS as sl, aF as tl, Z as il, go as ol, jM as rl, ge as nl, jN as ll, m as Tl, jO as El, dH as _l, kK as Sl, ed as gl, kU as pl, iH as dl, m1 as Al, n7 as Il, aO as cl, hg as ul, av as Cl, ax as ml, cV as Ol, kD as Dl, kk as Rl, kl as Pl, jP as Nl, jQ as yl, jT as Ll, b9 as fl, ba as Ml, jV as Ul, jX as hl, jY as Fl, mj as bl, iJ as Bl, jZ as vl, m5 as Gl, j_ as kl, hk as Vl, cU as Yl, cW as jl, mt as Hl, mu as Kl, mv as Wl, j$ as wl, eC as xl, T as Xl, d8 as zl, fZ as ql, f_ as Zl, n1 as Ql, ay as Jl, b3 as $l, kO as aT, mV as eT, aq as sT, cp as tT, lU as iT, eo as oT, k2 as rT, k3 as nT, cn as lT, m8 as TT, k4 as ET, dO as _T, lW as ST, dS as gT, dQ as pT, dP as dT, dM as AT, dK as IT, k_ as cT, l0 as uT, k$ as CT, kI as mT, a$ as OT, jA as DT, dr as RT, V as PT, lV as NT, k5 as yT, cv as LT, cw as fT, jy as MT, aL as UT, hF as hT, W as FT, mQ as bT, gj as BT, gh as vT, dc as GT, k6 as kT, hM as VT, gi as YT, m$ as jT, b$ as HT, aR as KT, y as WT, ll as wT, bW as xT, aK as XT, c7 as zT, gt as qT, b as ZT, g7 as QT, g8 as JT, bZ as $T, lB as aE, bK as eE, lH as sE, bI as tE, a as iE, c0 as oE, gM as rE, gO as nE, eN as lE, c as TE, gR as EE, gU as _E, bL as SE, f8 as gE, er as pE, a5 as dE, f5 as AE, f2 as IE, he as cE, bQ as uE, bX as CE, lm as mE, d as OE, f7 as DE, f6 as RE, be as PE, lF as NE, hu as yE, hw as LE, ht as fE, hv as ME, nq as UE, f9 as hE, l6 as FE, a4 as bE, a6 as BE, ci as vE, bV as GE, a3 as kE, v as VE, ch as YE, dB as jE, f0 as HE, bx as KE, lI as WE, mc as wE, hC as xE, gE as XE, af as zE, mb as qE, iW as ZE, ca as QE, eM as JE, eq as $E, eL as a_, eK as e_, eJ as s_, ma as t_, js as i_, lG as o_, a9 as r_, fa as n_, j8 as l_, md as T_, jv as E_, m3 as __, gS as S_, gX as g_, gW as p_, gT as d_, h8 as A_, bE as I_, j9 as c_, ih as u_, a7 as C_, hq as m_, lv as O_, hD as D_, dp as R_, dh as P_, g9 as N_, jJ as y_, hz as L_, gH as f_, hR as M_, eH as U_, hA as h_, gV as F_, by as b_, jW as B_, mr as v_, a8 as G_, lp as k_, bR as V_, b2 as Y_, gB as j_, bG as H_, ad as K_, lb as W_, ae as w_, ce as x_, lK as X_, eO as z_, lu as q_, cf as Z_, ik as Q_, gy as J_, gx as $_, cc as aS, fG as eS, iy as sS, lt as tS, hY as iS, ls as oS, la as rS, z as nS, f4 as lS, f1 as TS, lj as ES, gv as _S, ly as SS, ga as gS, gd as pS, ab as dS, j6 as AS, gC as IS, lx as cS, aN as uS, iX as CS, mw as mS, gs as OS, eG as DS, iV as RS, iU as PS, mB as NS, mA as yS, mp as LS, jj as fS, bw as MS, bT as US, dq as hS, mo as FS, aa as bS, cb as BS, gQ as vS, ju as GS, jn as kS, jp as VS, jx as YS, jD as jS, jk as HS, jz as KS, gu as WS, cd as wS, gD as xS, jw as XS, cg as zS, g6 as qS, Y as ZS, ms as QS, m4 as JS, lo as $S, aP as ag, hn as eg, jt as sg, jq as tg, eI as ig, g5 as og, gc as rg, gr as ng, gI as lg, gF as Tg, lA as Eg, i$ as _g, bO as Sg, dN as gg, dR as pg, lR as dg, _ as Ag, lz as Ig, lf as cg, ac as ug, gz as Cg, gA as mg, mz as Og, mx as Dg, lw as Rg, q as Pg, fh as Ng, li as yg, ii as Lg, F as fg, b_ as Mg, fg as Ug, bF as hg, dj as Fg, di as bg, l7 as Bg, il as vg, lD as Gg, dC as kg, i as Vg, ln as Yg, j as jg, bP as Hg, c6 as Kg, hB as Wg, cE as wg, bz as xg, bA as Xg, ld as zg, iF as qg, iE as Zg, jr as Qg, eF as Jg, i_ as $g, a1 as ap, t as ep, r as sp, bU as tp, c8 as ip, gb as op, l8 as rp, bu as np, l9 as lp, a2 as Tp, bN as Ep, hN as _p, s as Sp, bS as gp, my as pp, bB as dp, gG as Ap, hZ as Ip, gP as cp, lE as up, lk as Cp, bC as mp, nd as Op, lr as Dp, lC as Rp, lq as Pp, a0 as Np, gw as yp, mq as Lp, bd as fp, ij as Mp, $ as Up, c1 as hp, bq as Fp, lJ as bp, bs as Bp, fU as vp, kq as Gp, gq as kp, bt as Vp, lc as Yp, gp as jp, c9 as Hp, w as Kp, dE as Wp, hp as wp, ho as xp, lS as Xp, dD as zp, dL as qp, es as Zp, bM as Qp, u as Jp, dZ as $p, d$ as ad, fB as ed, cj as sd, bY as td, lL as id, bD as od, lM as rd, lN as nd, ck as ld, lY as Td, lh as Ed, c2 as _d, bJ as Sd, c4 as gd, l$ as pd, lO as dd, j1 as Ad, lP as Id, cm as cd, cT as ud, c3 as Cd, bH as md, co as Od, lQ as Dd, m6 as Rd, bv as Pd, fM as Nd, k1 as yd, cq as Ld, m7 as fd, lT as Md, cl as Ud, nt as hd, nr as Fd, nf as bd, no as Bd, nv as vd, nl as Gd, ns as kd, nc as Vd, nb as Yd, ne as jd, nk as Hd, ni as Kd, nh as Wd, nn as wd, ng as xd, b6 as Xd, b7 as zd, nj as qd, nm as Zd, nu as Qd, le as Jd, m9 as $d, lg as aA } from "./@code-editor-eu_lFS7e.js";
2
- import { H as sA, R as tA, c as iA, g as oA, a as rA, b as nA } from "./@common-rjsf-DZNadEcR.js";
1
+ import { mZ as s, aI as t, eg as i, eT as o, kG as r, kv as n, fs as l, aT as T, kd as E, aC as _, l2 as S, j4 as g, kr as p, k7 as d, fm as A, fn as I, fo as c, df as u, iA as C, fp as m, A as O, dd as D, de as R, mR as P, fq as N, fr as y, fj as L, me as f, kt as M, j5 as U, j7 as h, jK as F, ft as b, fu as B, fv as v, m2 as G, mG as k, cI as V, d0 as Y, d1 as j, iq as H, fw as K, fS as W, kL as w, e3 as x, eb as X, e6 as z, ee as q, e0 as Z, ec as Q, ef as J, e5 as $, e4 as aa, ep as ea, ea as sa, e2 as ta, fD as ia, fH as oa, fx as ra, fy as na, h2 as la, k0 as Ta, B as Ea, f as _a, g as Sa, eE as ga, dT as pa, et as da, dX as Aa, dY as Ia, dV as ca, ev as ua, eu as Ca, eA as ma, dU as Oa, eD as Da, dW as Ra, ew as Pa, ey as Na, ex as ya, d_ as La, az as fa, ez as Ma, fz as Ua, fA as ha, fJ as Fa, fE as ba, fC as Ba, fL as va, fP as Ga, fO as ka, fN as Va, fQ as Ya, fR as ja, jm as Ha, fT as Ka, d7 as Wa, d6 as wa, d5 as xa, mM as Xa, cZ as za, kC as qa, cX as Za, Q as Qa, mL as Ja, n0 as $a, fI as ae, ml as ee, mh as se, em as te, en as ie, mm as oe, mn as re, kx as ne, kz as le, ky as Te, mX as Ee, kE as _e, dk as Se, gN as ge, gK as pe, kS as de, eV as Ae, e9 as Ie, l5 as ce, h1 as ue, C as Ce, H as me, f$ as Oe, cB as De, h as Re, fb as Pe, fd as Ne, gY as ye, gZ as Le, g_ as fe, g$ as Me, j3 as Ue, dt as he, kw as Fe, X as be, L as Be, br as ve, h0 as Ge, dv as ke, gJ as Ve, mi as Ye, dy as je, mW as He, h3 as Ke, h4 as We, h7 as we, cK as xe, x as Xe, h9 as ze, ha as qe, cF as Ze, hi as Qe, hh as Je, aZ as $e, kc as as, kQ as es, aG as ss, aY as ts, am as is, kF as os, iT as rs, iR as ns, iS as ls, e1 as Ts, kP as Es, ke as _s, at as Ss, hm as gs, eh as ps, ei as ds, eW as As, hx as Is, kn as cs, hL as us, l1 as Cs, kp as ms, hE as Os, aJ as Ds, jU as Rs, kM as Ps, eP as Ns, ao as ys, aj as Ls, al as fs, hP as Ms, ai as Us, ak as hs, eU as Fs, dm as bs, S as Bs, hc as vs, D as Gs, mI as ks, bc as Vs, kV as Ys, h5 as js, mT as Hs, d9 as Ks, hs as Ws, hr as ws, hy as xs, fV as Xs, g1 as zs, g0 as qs, c_ as Zs, n8 as Qs, bb as Js, kg as $s, jL as at, fW as et, kh as st, cM as tt, hO as it, k as ot, iB as rt, bf as nt, bg as lt, bh as Tt, hQ as Et, mg as _t, mf as St, bi as gt, bk as pt, bj as dt, bl as At, c5 as It, du as ct, hS as ut, hT as Ct, km as mt, kX as Ot, aw as Dt, au as Rt, kR as Pt, aS as Nt, ka as yt, ko as Lt, hV as ft, hU as Mt, m_ as Ut, mk as ht, mE as Ft, hW as bt, ki as Bt, hX as vt, E as Gt, l as kt, h_ as Vt, hI as Yt, ag as jt, aM as Ht, i0 as Kt, h$ as Wt, gg as wt, dG as xt, O as Xt, i1 as zt, i2 as qt, da as Zt, jC as Qt, d2 as Jt, jR as $t, i3 as ai, i4 as ei, h6 as si, eR as ti, dl as ii, dn as oi, eZ as ri, eY as ni, bo as li, bm as Ti, bn as Ei, i5 as _i, i7 as Si, i8 as gi, i6 as pi, i9 as di, ia as Ai, dz as Ii, g4 as ci, ib as ui, mS as Ci, ic as mi, b1 as Oi, id as Di, G as Ri, jb as Pi, jE as Ni, ig as yi, gf as Li, ah as fi, iC as Mi, k9 as Ui, ek as hi, ej as Fi, el as bi, kY as Bi, dI as vi, dJ as Gi, b0 as ki, im as Vi, io as Yi, ip as ji, ir as Hi, is as Ki, d4 as Wi, lX as wi, lZ as xi, cs as Xi, cr as zi, cY as qi, it as Zi, mC as Qi, iu as Ji, kZ as $i, iv as ao, U as eo, fc as so, n5 as to, iD as io, mD as oo, ix as ro, iw as no, e$ as lo, ku as To, as as Eo, iz as _o, cG as So, an as go, aX as po, n2 as Ao, iG as Io, n3 as co, fk as uo, ja as Co, g2 as mo, iI as Oo, fX as Do, ks as Ro, na as Po, aW as No, aD as yo, bp as Lo, n9 as fo, aH as Mo, aB as Uo, hf as ho, hl as Fo, m0 as bo, c$ as Bo, ct as vo, d3 as Go, iK as ko, jd as Vo, cu as Yo, iL as jo, kb as Ho, mK as Ko, hj as Wo, M as wo, je as xo, cD as Xo, cz as zo, cA as qo, cC as Zo, eX as Qo, kj as Jo, e7 as $o, fe as ar, eS as er, gm as sr, eB as tr, gl as ir, gk as or, mF as rr, iM as nr, kH as lr, cx as Tr, dx as Er, dg as _r, ap as Sr, hJ as gr, hK as pr, kA as dr, aV as Ar, kT as Ir, e8 as cr, hG as ur, l3 as Cr, ie as mr, cH as Or, jS as Dr, hb as Rr, kf as Pr, iN as Nr, ds as yr, iZ as Lr, db as fr, iY as Mr, iO as Ur, iP as hr, cJ as Fr, iQ as br, J as Br, mP as vr, j0 as Gr, P as kr, j2 as Vr, cL as Yr, mU as jr, b5 as Hr, dw as Kr, fl as Wr, kJ as wr, jf as xr, e_ as Xr, ar as zr, R as qr, n as Zr, aQ as Qr, N as Jr, I as $r, n6 as an, jg as en, mH as sn, dF as tn, o as on, aA as rn, b8 as nn, ff as ln, mN as Tn, f3 as En, mO as _n, n4 as Sn, kW as gn, mY as pn, e as dn, np as An, gL as In, aE as cn, fF as un, a_ as Cn, aU as mn, kN as On, b4 as Dn, jI as Rn, dA as Pn, k8 as Nn, gn as yn, l4 as Ln, hH as fn, jh as Mn, eQ as Un, K as hn, g3 as Fn, cN as bn, ji as Bn, jj as vn, jn as Gn, cO as kn, cP as Vn, p as Yn, fK as jn, kB as Hn, a as Kn, jF as Wn, jG as wn, fi as xn, cQ as Xn, cR as zn, jp as qn, mJ as Zn, jH as Qn, l_ as Jn, fY as $n, hd as al, cy as el, cS as sl, aF as tl, Z as il, go as ol, jM as rl, ge as nl, jN as ll, m as Tl, jO as El, dH as _l, kK as Sl, ed as gl, kU as pl, iH as dl, m1 as Al, n7 as Il, aO as cl, hg as ul, av as Cl, ax as ml, cV as Ol, kD as Dl, kk as Rl, kl as Pl, jP as Nl, jQ as yl, jT as Ll, b9 as fl, ba as Ml, jV as Ul, jX as hl, jY as Fl, mj as bl, iJ as Bl, jZ as vl, m5 as Gl, j_ as kl, hk as Vl, cU as Yl, cW as jl, mt as Hl, mu as Kl, mv as Wl, j$ as wl, eC as xl, T as Xl, d8 as zl, fZ as ql, f_ as Zl, n1 as Ql, ay as Jl, b3 as $l, kO as aT, mV as eT, aq as sT, cp as tT, lU as iT, eo as oT, k2 as rT, k3 as nT, cn as lT, m8 as TT, k4 as ET, dO as _T, lW as ST, dS as gT, dQ as pT, dP as dT, dM as AT, dK as IT, k_ as cT, l0 as uT, k$ as CT, kI as mT, a$ as OT, jB as DT, dr as RT, V as PT, lV as NT, k5 as yT, cv as LT, cw as fT, jz as MT, aL as UT, hF as hT, W as FT, mQ as bT, gj as BT, gh as vT, dc as GT, k6 as kT, hM as VT, gi as YT, m$ as jT, b$ as HT, aR as KT, y as WT, ll as wT, bW as xT, aK as XT, c7 as zT, gt as qT, b as ZT, g7 as QT, g8 as JT, bZ as $T, lB as aE, bK as eE, lH as sE, bI as tE, jc as iE, c0 as oE, gM as rE, gO as nE, eN as lE, c as TE, gR as EE, gU as _E, bL as SE, f8 as gE, er as pE, a5 as dE, f5 as AE, f2 as IE, he as cE, bQ as uE, bX as CE, lm as mE, d as OE, f7 as DE, f6 as RE, be as PE, lF as NE, hu as yE, hw as LE, ht as fE, hv as ME, nq as UE, f9 as hE, l6 as FE, a4 as bE, a6 as BE, ci as vE, bV as GE, a3 as kE, v as VE, ch as YE, dB as jE, f0 as HE, bx as KE, lI as WE, mc as wE, hC as xE, gE as XE, af as zE, mb as qE, iW as ZE, ca as QE, eM as JE, eq as $E, eL as a_, eK as e_, eJ as s_, ma as t_, jt as i_, lG as o_, a9 as r_, fa as n_, j8 as l_, md as T_, jw as E_, m3 as __, gS as S_, gX as g_, gW as p_, gT as d_, h8 as A_, bE as I_, j9 as c_, ih as u_, a7 as C_, hq as m_, lv as O_, hD as D_, dp as R_, dh as P_, g9 as N_, jJ as y_, hz as L_, gH as f_, hR as M_, eH as U_, hA as h_, gV as F_, by as b_, jW as B_, mr as v_, a8 as G_, lp as k_, bR as V_, b2 as Y_, gB as j_, bG as H_, ad as K_, lb as W_, ae as w_, ce as x_, lK as X_, eO as z_, lu as q_, cf as Z_, ik as Q_, gy as J_, gx as $_, cc as aS, fG as eS, iy as sS, lt as tS, hY as iS, ls as oS, la as rS, z as nS, f4 as lS, f1 as TS, lj as ES, gv as _S, ly as SS, ga as gS, gd as pS, ab as dS, j6 as AS, gC as IS, lx as cS, aN as uS, iX as CS, mw as mS, gs as OS, eG as DS, iV as RS, iU as PS, mB as NS, mA as yS, mp as LS, jk as fS, bw as MS, bT as US, dq as hS, mo as FS, aa as bS, cb as BS, gQ as vS, jv as GS, jo as kS, jq as VS, jy as YS, jD as jS, jl as HS, jA as KS, gu as WS, cd as wS, gD as xS, jx as XS, cg as zS, g6 as qS, Y as ZS, ms as QS, m4 as JS, lo as $S, aP as ag, hn as eg, ju as sg, jr as tg, eI as ig, g5 as og, gc as rg, gr as ng, gI as lg, gF as Tg, lA as Eg, i$ as _g, bO as Sg, dN as gg, dR as pg, lR as dg, _ as Ag, lz as Ig, lf as cg, ac as ug, gz as Cg, gA as mg, mz as Og, mx as Dg, lw as Rg, q as Pg, fh as Ng, li as yg, ii as Lg, F as fg, b_ as Mg, fg as Ug, bF as hg, dj as Fg, di as bg, l7 as Bg, il as vg, lD as Gg, dC as kg, i as Vg, ln as Yg, j as jg, bP as Hg, c6 as Kg, hB as Wg, cE as wg, bz as xg, bA as Xg, ld as zg, iF as qg, iE as Zg, js as Qg, eF as Jg, i_ as $g, a1 as ap, t as ep, r as sp, bU as tp, c8 as ip, gb as op, l8 as rp, bu as np, l9 as lp, a2 as Tp, bN as Ep, hN as _p, s as Sp, bS as gp, my as pp, bB as dp, gG as Ap, hZ as Ip, gP as cp, lE as up, lk as Cp, bC as mp, nd as Op, lr as Dp, lC as Rp, lq as Pp, a0 as Np, gw as yp, mq as Lp, bd as fp, ij as Mp, $ as Up, c1 as hp, bq as Fp, lJ as bp, bs as Bp, fU as vp, kq as Gp, gq as kp, bt as Vp, lc as Yp, gp as jp, c9 as Hp, w as Kp, dE as Wp, hp as wp, ho as xp, lS as Xp, dD as zp, dL as qp, es as Zp, bM as Qp, u as Jp, dZ as $p, d$ as ad, fB as ed, cj as sd, bY as td, lL as id, bD as od, lM as rd, lN as nd, ck as ld, lY as Td, lh as Ed, c2 as _d, bJ as Sd, c4 as gd, l$ as pd, lO as dd, j1 as Ad, lP as Id, cm as cd, cT as ud, c3 as Cd, bH as md, co as Od, lQ as Dd, m6 as Rd, bv as Pd, fM as Nd, k1 as yd, cq as Ld, m7 as fd, lT as Md, cl as Ud, nt as hd, nr as Fd, nf as bd, no as Bd, nv as vd, nl as Gd, ns as kd, nc as Vd, nb as Yd, ne as jd, nk as Hd, ni as Kd, nh as Wd, nn as wd, ng as xd, b6 as Xd, b7 as zd, nj as qd, nm as Zd, nu as Qd, le as Jd, m9 as $d, lg as aA } from "./@code-editor-DkUhYcbr.js";
2
+ import { H as sA, R as tA, c as iA, g as oA, a as rA, b as nA } from "./@common-rjsf-CA1sJuar.js";
3
3
  import { A as TA, a as EA, m as _A, e as SA, c as gA, u as pA } from "./@framer-motion-j6RIjEIR.js";
4
4
  export {
5
5
  s as ACCESS_TYPE_MAP,