@loopr-ai/craft 0.7.1 → 0.7.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.
Files changed (42) hide show
  1. package/dist/{ButtonBase-fc1e48eb.js → ButtonBase-85c9347b.js} +3 -3
  2. package/dist/{TextField-a534df29.js → TextField-fded06e5.js} +7 -7
  3. package/dist/Tooltip-b926c320.js +2022 -0
  4. package/dist/{TransitionGroupContext-ba502e63.js → TransitionGroupContext-fe9a562f.js} +3 -3
  5. package/dist/ZoomControllers-36e39bb0.js +1432 -0
  6. package/dist/components/cell/AvatarGroup/index.js +3 -3
  7. package/dist/components/cell/Button/index.js +3 -3
  8. package/dist/components/cell/Chip/index.js +5 -5
  9. package/dist/components/cell/ProgressBar/index.js +3 -3
  10. package/dist/components/cell/Search/index.js +2 -2
  11. package/dist/components/cell/Typography/index.js +5 -19
  12. package/dist/components/organ/Form/Form.interfaces.d.ts +8 -6
  13. package/dist/components/organ/Form/Form.styles.d.ts +99 -2
  14. package/dist/components/organ/Form/Form.styles.js +99 -4
  15. package/dist/components/organ/Form/Form.utils.d.ts +1 -0
  16. package/dist/components/organ/Form/Form.utils.js +20 -15
  17. package/dist/components/organ/Form/FormInput.js +517 -0
  18. package/dist/components/organ/Form/index.js +161 -108
  19. package/dist/components/organ/ZoomControlWithDrag/ZoomControllers.js +2 -2
  20. package/dist/components/organ/ZoomControlWithDrag/index.js +2 -2
  21. package/dist/{createSvgIcon-bb3d4825.js → createSvgIcon-58aa3adf.js} +5 -5
  22. package/dist/{Grow-a906cda2.js → createSvgIcon-f773ce57.js} +4020 -3944
  23. package/dist/{createTheme-ca1567c6.js → createTheme-a4db2989.js} +7 -7
  24. package/dist/{exactProp-3d9df1ae.js → exactProp-d79ccada.js} +1 -1
  25. package/dist/{extendSxProp-fc2654e5.js → extendSxProp-db8b9da5.js} +1 -1
  26. package/dist/global/colors.d.ts +5 -0
  27. package/dist/global/colors.js +11 -6
  28. package/dist/global/constants.d.ts +3 -0
  29. package/dist/global/constants.js +6 -1
  30. package/dist/global/theme.js +1 -1
  31. package/dist/{Typography-65e5f8a8.js → index-03287c17.js} +61 -45
  32. package/dist/main.js +10 -10
  33. package/dist/providers/CraftThemeProvider.js +2 -2
  34. package/dist/{styled-80b57810.js → styled-126c6a62.js} +49 -49
  35. package/dist/{useTheme-16446f25.js → useTheme-573c40a2.js} +1 -1
  36. package/package.json +1 -1
  37. package/dist/Box-8cd400c2.js +0 -58
  38. package/dist/ZoomControllers-8a147df0.js +0 -3390
  39. package/dist/components/organ/Form/FieldInput.js +0 -440
  40. package/dist/createSvgIcon-8e5d9dc7.js +0 -81
  41. package/dist/dividerClasses-0233db5a.js +0 -10
  42. /package/dist/components/organ/Form/{FieldInput.d.ts → FormInput.d.ts} +0 -0
@@ -0,0 +1,517 @@
1
+ import oe, { jsx as r, jsxs as S, Fragment as se } from "react/jsx-runtime";
2
+ import { r as ne, i as ae } from "../../../createSvgIcon-f773ce57.js";
3
+ import * as P from "react";
4
+ import { useState as re, useCallback as ie, useEffect as le } from "react";
5
+ import { customColors as R } from "../../../global/colors.js";
6
+ import { images as ce } from "../../../global/constants.js";
7
+ import { M as de, T as A } from "../../../index-03287c17.js";
8
+ import x from "./Form.styles.js";
9
+ import { d as V, B as z, T as pe } from "../../../Tooltip-b926c320.js";
10
+ import { u as ue, F as me, L as B, T as fe } from "../../../TextField-fded06e5.js";
11
+ import { g as H, a as I, _ as J, P as t, c as _, e as N } from "../../../createTheme-a4db2989.js";
12
+ import { g as j, s as K, a as Q, c as k, b as X, r as be } from "../../../styled-126c6a62.js";
13
+ import { B as ve } from "../../../ButtonBase-85c9347b.js";
14
+ import { c as ge, u as ye } from "../../../TransitionGroupContext-fe9a562f.js";
15
+ function xe(e) {
16
+ return H("MuiInputAdornment", e);
17
+ }
18
+ const Ie = j("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]), D = Ie;
19
+ var U;
20
+ const Ce = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"], he = (e, o) => {
21
+ const {
22
+ ownerState: s
23
+ } = e;
24
+ return [o.root, o[`position${_(s.position)}`], s.disablePointerEvents === !0 && o.disablePointerEvents, o[s.variant]];
25
+ }, $e = (e) => {
26
+ const {
27
+ classes: o,
28
+ disablePointerEvents: s,
29
+ hiddenLabel: a,
30
+ position: i,
31
+ size: d,
32
+ variant: l
33
+ } = e, v = {
34
+ root: ["root", s && "disablePointerEvents", i && `position${_(i)}`, l, a && "hiddenLabel", d && `size${_(d)}`]
35
+ };
36
+ return X(v, xe, o);
37
+ }, Me = K("div", {
38
+ name: "MuiInputAdornment",
39
+ slot: "Root",
40
+ overridesResolver: he
41
+ })(({
42
+ theme: e,
43
+ ownerState: o
44
+ }) => I({
45
+ display: "flex",
46
+ height: "0.01em",
47
+ // Fix IE11 flexbox alignment. To remove at some point.
48
+ maxHeight: "2em",
49
+ alignItems: "center",
50
+ whiteSpace: "nowrap",
51
+ color: (e.vars || e).palette.action.active
52
+ }, o.variant === "filled" && {
53
+ // Styles applied to the root element if `variant="filled"`.
54
+ [`&.${D.positionStart}&:not(.${D.hiddenLabel})`]: {
55
+ marginTop: 16
56
+ }
57
+ }, o.position === "start" && {
58
+ // Styles applied to the root element if `position="start"`.
59
+ marginRight: 8
60
+ }, o.position === "end" && {
61
+ // Styles applied to the root element if `position="end"`.
62
+ marginLeft: 8
63
+ }, o.disablePointerEvents === !0 && {
64
+ // Styles applied to the root element if `disablePointerEvents={true}`.
65
+ pointerEvents: "none"
66
+ })), Y = /* @__PURE__ */ P.forwardRef(function(o, s) {
67
+ const a = Q({
68
+ props: o,
69
+ name: "MuiInputAdornment"
70
+ }), {
71
+ children: i,
72
+ className: d,
73
+ component: l = "div",
74
+ disablePointerEvents: v = !1,
75
+ disableTypography: f = !1,
76
+ position: h,
77
+ variant: g
78
+ } = a, p = J(a, Ce), c = ue() || {};
79
+ let u = g;
80
+ g && c.variant && process.env.NODE_ENV !== "production" && g === c.variant && console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."), c && !u && (u = c.variant);
81
+ const y = I({}, a, {
82
+ hiddenLabel: c.hiddenLabel,
83
+ size: c.size,
84
+ disablePointerEvents: v,
85
+ position: h,
86
+ variant: u
87
+ }), $ = $e(y);
88
+ return /* @__PURE__ */ r(me.Provider, {
89
+ value: null,
90
+ children: /* @__PURE__ */ r(Me, I({
91
+ as: l,
92
+ ownerState: y,
93
+ className: k($.root, d),
94
+ ref: s
95
+ }, p, {
96
+ children: typeof i == "string" && !f ? /* @__PURE__ */ r(de, {
97
+ color: "text.secondary",
98
+ children: i
99
+ }) : /* @__PURE__ */ S(P.Fragment, {
100
+ children: [h === "start" ? (
101
+ /* notranslate needed while Google Translate will not fix zero-width space issue */
102
+ U || (U = /* @__PURE__ */ r("span", {
103
+ className: "notranslate",
104
+ children: "​"
105
+ }))
106
+ ) : null, i]
107
+ })
108
+ }))
109
+ });
110
+ });
111
+ process.env.NODE_ENV !== "production" && (Y.propTypes = {
112
+ // ----------------------------- Warning --------------------------------
113
+ // | These PropTypes are generated from the TypeScript type definitions |
114
+ // | To update them edit the d.ts file and run "yarn proptypes" |
115
+ // ----------------------------------------------------------------------
116
+ /**
117
+ * The content of the component, normally an `IconButton` or string.
118
+ */
119
+ children: t.node,
120
+ /**
121
+ * Override or extend the styles applied to the component.
122
+ */
123
+ classes: t.object,
124
+ /**
125
+ * @ignore
126
+ */
127
+ className: t.string,
128
+ /**
129
+ * The component used for the root node.
130
+ * Either a string to use a HTML element or a component.
131
+ */
132
+ component: t.elementType,
133
+ /**
134
+ * Disable pointer events on the root.
135
+ * This allows for the content of the adornment to focus the `input` on click.
136
+ * @default false
137
+ */
138
+ disablePointerEvents: t.bool,
139
+ /**
140
+ * If children is a string then disable wrapping in a Typography component.
141
+ * @default false
142
+ */
143
+ disableTypography: t.bool,
144
+ /**
145
+ * The position this adornment should appear relative to the `Input`.
146
+ */
147
+ position: t.oneOf(["end", "start"]).isRequired,
148
+ /**
149
+ * The system prop that allows defining system overrides as well as additional CSS styles.
150
+ */
151
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
152
+ /**
153
+ * The variant to use.
154
+ * Note: If you are using the `TextField` component or the `FormControl` component
155
+ * you do not have to set this manually.
156
+ */
157
+ variant: t.oneOf(["filled", "outlined", "standard"])
158
+ });
159
+ const G = Y, Pe = j("MuiListItemIcon", ["root", "alignItemsFlexStart"]), q = Pe, Te = j("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), W = Te;
160
+ function Oe(e) {
161
+ return H("MuiMenuItem", e);
162
+ }
163
+ const Ee = j("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), O = Ee, Ne = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], Se = (e, o) => {
164
+ const {
165
+ ownerState: s
166
+ } = e;
167
+ return [o.root, s.dense && o.dense, s.divider && o.divider, !s.disableGutters && o.gutters];
168
+ }, je = (e) => {
169
+ const {
170
+ disabled: o,
171
+ dense: s,
172
+ divider: a,
173
+ disableGutters: i,
174
+ selected: d,
175
+ classes: l
176
+ } = e, f = X({
177
+ root: ["root", s && "dense", o && "disabled", !i && "gutters", a && "divider", d && "selected"]
178
+ }, Oe, l);
179
+ return I({}, l, f);
180
+ }, Fe = K(ve, {
181
+ shouldForwardProp: (e) => be(e) || e === "classes",
182
+ name: "MuiMenuItem",
183
+ slot: "Root",
184
+ overridesResolver: Se
185
+ })(({
186
+ theme: e,
187
+ ownerState: o
188
+ }) => I({}, e.typography.body1, {
189
+ display: "flex",
190
+ justifyContent: "flex-start",
191
+ alignItems: "center",
192
+ position: "relative",
193
+ textDecoration: "none",
194
+ minHeight: 48,
195
+ paddingTop: 6,
196
+ paddingBottom: 6,
197
+ boxSizing: "border-box",
198
+ whiteSpace: "nowrap"
199
+ }, !o.disableGutters && {
200
+ paddingLeft: 16,
201
+ paddingRight: 16
202
+ }, o.divider && {
203
+ borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
204
+ backgroundClip: "padding-box"
205
+ }, {
206
+ "&:hover": {
207
+ textDecoration: "none",
208
+ backgroundColor: (e.vars || e).palette.action.hover,
209
+ // Reset on touch devices, it doesn't add specificity
210
+ "@media (hover: none)": {
211
+ backgroundColor: "transparent"
212
+ }
213
+ },
214
+ [`&.${O.selected}`]: {
215
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : N(e.palette.primary.main, e.palette.action.selectedOpacity),
216
+ [`&.${O.focusVisible}`]: {
217
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : N(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
218
+ }
219
+ },
220
+ [`&.${O.selected}:hover`]: {
221
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : N(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
222
+ // Reset on touch devices, it doesn't add specificity
223
+ "@media (hover: none)": {
224
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : N(e.palette.primary.main, e.palette.action.selectedOpacity)
225
+ }
226
+ },
227
+ [`&.${O.focusVisible}`]: {
228
+ backgroundColor: (e.vars || e).palette.action.focus
229
+ },
230
+ [`&.${O.disabled}`]: {
231
+ opacity: (e.vars || e).palette.action.disabledOpacity
232
+ },
233
+ [`& + .${V.root}`]: {
234
+ marginTop: e.spacing(1),
235
+ marginBottom: e.spacing(1)
236
+ },
237
+ [`& + .${V.inset}`]: {
238
+ marginLeft: 52
239
+ },
240
+ [`& .${W.root}`]: {
241
+ marginTop: 0,
242
+ marginBottom: 0
243
+ },
244
+ [`& .${W.inset}`]: {
245
+ paddingLeft: 36
246
+ },
247
+ [`& .${q.root}`]: {
248
+ minWidth: 36
249
+ }
250
+ }, !o.dense && {
251
+ [e.breakpoints.up("sm")]: {
252
+ minHeight: "auto"
253
+ }
254
+ }, o.dense && I({
255
+ minHeight: 32,
256
+ // https://m2.material.io/components/menus#specs > Dense
257
+ paddingTop: 4,
258
+ paddingBottom: 4
259
+ }, e.typography.body2, {
260
+ [`& .${q.root} svg`]: {
261
+ fontSize: "1.25rem"
262
+ }
263
+ }))), Z = /* @__PURE__ */ P.forwardRef(function(o, s) {
264
+ const a = Q({
265
+ props: o,
266
+ name: "MuiMenuItem"
267
+ }), {
268
+ autoFocus: i = !1,
269
+ component: d = "li",
270
+ dense: l = !1,
271
+ divider: v = !1,
272
+ disableGutters: f = !1,
273
+ focusVisibleClassName: h,
274
+ role: g = "menuitem",
275
+ tabIndex: p,
276
+ className: c
277
+ } = a, u = J(a, Ne), y = P.useContext(B), $ = P.useMemo(() => ({
278
+ dense: l || y.dense || !1,
279
+ disableGutters: f
280
+ }), [y.dense, l, f]), m = P.useRef(null);
281
+ ge(() => {
282
+ i && (m.current ? m.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
283
+ }, [i]);
284
+ const F = I({}, a, {
285
+ dense: $.dense,
286
+ divider: v,
287
+ disableGutters: f
288
+ }), T = je(a), L = ye(m, s);
289
+ let M;
290
+ return a.disabled || (M = p !== void 0 ? p : -1), /* @__PURE__ */ r(B.Provider, {
291
+ value: $,
292
+ children: /* @__PURE__ */ r(Fe, I({
293
+ ref: L,
294
+ role: g,
295
+ tabIndex: M,
296
+ component: d,
297
+ focusVisibleClassName: k(T.focusVisible, h),
298
+ className: k(T.root, c)
299
+ }, u, {
300
+ ownerState: F,
301
+ classes: T
302
+ }))
303
+ });
304
+ });
305
+ process.env.NODE_ENV !== "production" && (Z.propTypes = {
306
+ // ----------------------------- Warning --------------------------------
307
+ // | These PropTypes are generated from the TypeScript type definitions |
308
+ // | To update them edit the d.ts file and run "yarn proptypes" |
309
+ // ----------------------------------------------------------------------
310
+ /**
311
+ * If `true`, the list item is focused during the first mount.
312
+ * Focus will also be triggered if the value changes from false to true.
313
+ * @default false
314
+ */
315
+ autoFocus: t.bool,
316
+ /**
317
+ * The content of the component.
318
+ */
319
+ children: t.node,
320
+ /**
321
+ * Override or extend the styles applied to the component.
322
+ */
323
+ classes: t.object,
324
+ /**
325
+ * @ignore
326
+ */
327
+ className: t.string,
328
+ /**
329
+ * The component used for the root node.
330
+ * Either a string to use a HTML element or a component.
331
+ */
332
+ component: t.elementType,
333
+ /**
334
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used.
335
+ * The prop defaults to the value inherited from the parent Menu component.
336
+ * @default false
337
+ */
338
+ dense: t.bool,
339
+ /**
340
+ * @ignore
341
+ */
342
+ disabled: t.bool,
343
+ /**
344
+ * If `true`, the left and right padding is removed.
345
+ * @default false
346
+ */
347
+ disableGutters: t.bool,
348
+ /**
349
+ * If `true`, a 1px light border is added to the bottom of the menu item.
350
+ * @default false
351
+ */
352
+ divider: t.bool,
353
+ /**
354
+ * This prop can help identify which element has keyboard focus.
355
+ * The class name will be applied when the element gains the focus through keyboard interaction.
356
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
357
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
358
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
359
+ * if needed.
360
+ */
361
+ focusVisibleClassName: t.string,
362
+ /**
363
+ * @ignore
364
+ */
365
+ role: t.string,
366
+ /**
367
+ * If `true`, the component is selected.
368
+ * @default false
369
+ */
370
+ selected: t.bool,
371
+ /**
372
+ * The system prop that allows defining system overrides as well as additional CSS styles.
373
+ */
374
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
375
+ /**
376
+ * @default 0
377
+ */
378
+ tabIndex: t.number
379
+ });
380
+ const Le = Z;
381
+ var w = {}, Re = ae;
382
+ Object.defineProperty(w, "__esModule", {
383
+ value: !0
384
+ });
385
+ var ee = w.default = void 0, _e = Re(ne()), ke = oe, we = (0, _e.default)(/* @__PURE__ */ (0, ke.jsx)("path", {
386
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
387
+ }), "Error");
388
+ ee = w.default = we;
389
+ const Xe = ({
390
+ name: e,
391
+ label: o,
392
+ type: s,
393
+ value: a,
394
+ handleChange: i,
395
+ placeholder: d,
396
+ required: l,
397
+ disabled: v,
398
+ beforeField: f,
399
+ afterField: h,
400
+ options: g,
401
+ optionsResponseHandler: p,
402
+ api_endpoint: c,
403
+ error: u,
404
+ helperText: y,
405
+ autofocus: $
406
+ }) => {
407
+ const [m, F] = re([]);
408
+ function T(n) {
409
+ i(e, n.target.value);
410
+ }
411
+ const L = ie(async () => {
412
+ var n;
413
+ return s !== "select" ? [] : g || (c && p ? (n = (await (await fetch(c)).json())[p.key]) == null ? void 0 : n.map((E) => ({
414
+ name: E[p.name],
415
+ value: E[p.value]
416
+ })) : []);
417
+ }, [s, p, c]);
418
+ le(() => {
419
+ L().then((n) => F(n));
420
+ }, []);
421
+ let M = {
422
+ ...x.textfield,
423
+ backgroundColor: u ? R.redLight : "transparent",
424
+ "& input::placeholder": {
425
+ color: u ? R.redMedium : "grey"
426
+ }
427
+ };
428
+ const te = {
429
+ "& .MuiSelect-select > span::before": {
430
+ content: `'${d}'`,
431
+ color: u ? "rgba(254, 64, 76, 0.4)" : "rgba(153, 153, 153, 0.6)"
432
+ }
433
+ };
434
+ return s === "select" && (M = {
435
+ ...M,
436
+ ...te
437
+ }), s !== "custom" ? /* @__PURE__ */ S(z, { sx: x.formInputWrapper, children: [
438
+ /* @__PURE__ */ r("label", { htmlFor: `form-input-${e}`, children: /* @__PURE__ */ r(A, { sx: x.label, children: `${o} ${l ? "*" : ""}` }) }),
439
+ /* @__PURE__ */ r(z, { sx: x.textfieldWrapper, children: /* @__PURE__ */ r(
440
+ pe,
441
+ {
442
+ title: y && /* @__PURE__ */ S(A, { type: "subtitleSmall", textColor: "white", children: [
443
+ /* @__PURE__ */ r(ee, { sx: x.errorIcon }),
444
+ y
445
+ ] }),
446
+ placement: "bottom",
447
+ arrow: !0,
448
+ componentsProps: {
449
+ tooltip: {
450
+ sx: x.tooltip
451
+ },
452
+ popper: {
453
+ sx: x.tooltipPopper
454
+ }
455
+ },
456
+ children: /* @__PURE__ */ r(
457
+ fe,
458
+ {
459
+ id: `form-input-${e}`,
460
+ autoFocus: $,
461
+ name: e,
462
+ type: s,
463
+ select: s === "select",
464
+ value: a,
465
+ onChange: T,
466
+ placeholder: d,
467
+ required: l,
468
+ disabled: v,
469
+ error: u,
470
+ InputProps: {
471
+ startAdornment: /* @__PURE__ */ r(G, { position: "start", children: f }),
472
+ endAdornment: /* @__PURE__ */ r(G, { position: "end", children: h })
473
+ },
474
+ SelectProps: {
475
+ renderValue: (n) => {
476
+ const b = m == null ? void 0 : m.find(
477
+ (C) => typeof C == "object" ? C.value === n : C === n
478
+ );
479
+ return typeof b == "object" ? b.name : b;
480
+ },
481
+ MenuProps: {
482
+ PaperProps: {
483
+ sx: x.selectDropdown
484
+ }
485
+ }
486
+ },
487
+ sx: M,
488
+ children: s === "select" && (m == null ? void 0 : m.map((n) => {
489
+ const b = typeof n == "object", C = b ? n.value === a : n === a, E = {
490
+ display: "flex",
491
+ justifyContent: "space-between",
492
+ alignItems: "center",
493
+ color: C ? "black" : R.darkGrey,
494
+ gap: "1rem"
495
+ };
496
+ return /* @__PURE__ */ S(
497
+ Le,
498
+ {
499
+ value: b ? n.value : n,
500
+ sx: E,
501
+ children: [
502
+ b ? n.name : n,
503
+ C && /* @__PURE__ */ r("img", { src: ce.success, alt: "selected-option" })
504
+ ]
505
+ },
506
+ b ? n.name : n
507
+ );
508
+ }))
509
+ }
510
+ )
511
+ }
512
+ ) })
513
+ ] }) : /* @__PURE__ */ r(se, {});
514
+ };
515
+ export {
516
+ Xe as default
517
+ };