@dipusevilla/componentes-iu 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +20 -20
- package/dist/index.css +1 -1
- package/dist/index.es.js +149 -173
- package/dist/index.umd.js +59 -59
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3542,7 +3542,7 @@ function Nh({
|
|
|
3542
3542
|
d: "M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"
|
|
3543
3543
|
}));
|
|
3544
3544
|
}
|
|
3545
|
-
const
|
|
3545
|
+
const Pt = /* @__PURE__ */ a.forwardRef(Nh);
|
|
3546
3546
|
function Sh({
|
|
3547
3547
|
title: e,
|
|
3548
3548
|
titleId: t,
|
|
@@ -8345,7 +8345,7 @@ const ot = /* @__PURE__ */ a.forwardRef(Bb), $n = /* @__PURE__ */ Object.freeze(
|
|
|
8345
8345
|
CloudArrowDownIcon: ml,
|
|
8346
8346
|
CloudArrowUpIcon: Bd,
|
|
8347
8347
|
CloudIcon: Eh,
|
|
8348
|
-
CodeBracketIcon:
|
|
8348
|
+
CodeBracketIcon: Pt,
|
|
8349
8349
|
CodeBracketSquareIcon: Ch,
|
|
8350
8350
|
Cog6ToothIcon: rn,
|
|
8351
8351
|
Cog8ToothIcon: Mh,
|
|
@@ -11439,7 +11439,7 @@ const Co = {
|
|
|
11439
11439
|
BLUR: "blur",
|
|
11440
11440
|
FOCUS_OUT: "focusout",
|
|
11441
11441
|
CHANGE: "change"
|
|
11442
|
-
},
|
|
11442
|
+
}, Ht = {
|
|
11443
11443
|
onBlur: "onBlur",
|
|
11444
11444
|
onChange: "onChange",
|
|
11445
11445
|
onSubmit: "onSubmit",
|
|
@@ -11467,7 +11467,7 @@ var h5 = (e, t, r, n = !0) => {
|
|
|
11467
11467
|
Object.defineProperty(o, l, {
|
|
11468
11468
|
get: () => {
|
|
11469
11469
|
const i = l;
|
|
11470
|
-
return t._proxyFormState[i] !==
|
|
11470
|
+
return t._proxyFormState[i] !== Ht.all && (t._proxyFormState[i] = !n || Ht.all), r && (r[i] = !0), e[i];
|
|
11471
11471
|
}
|
|
11472
11472
|
});
|
|
11473
11473
|
return o;
|
|
@@ -11776,11 +11776,11 @@ var Fx = (e, t, r, n) => {
|
|
|
11776
11776
|
shouldUseNativeValidation: n
|
|
11777
11777
|
};
|
|
11778
11778
|
}, So = (e) => e instanceof RegExp, Yn = (e) => nt(e) ? e : So(e) ? e.source : ft(e) ? So(e.value) ? e.value.source : e.value : e, wn = (e) => ({
|
|
11779
|
-
isOnSubmit: !e || e ===
|
|
11780
|
-
isOnBlur: e ===
|
|
11781
|
-
isOnChange: e ===
|
|
11782
|
-
isOnAll: e ===
|
|
11783
|
-
isOnTouch: e ===
|
|
11779
|
+
isOnSubmit: !e || e === Ht.onSubmit,
|
|
11780
|
+
isOnBlur: e === Ht.onBlur,
|
|
11781
|
+
isOnChange: e === Ht.onChange,
|
|
11782
|
+
isOnAll: e === Ht.all,
|
|
11783
|
+
isOnTouch: e === Ht.onTouched
|
|
11784
11784
|
});
|
|
11785
11785
|
const bc = "AsyncFunction";
|
|
11786
11786
|
var _x = (e) => !!e && !!e.validate && !!(Xt(e.validate) && e.validate.constructor.name === bc || ft(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === bc)), Tx = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), yl = (e, t, r) => !r && (t.watchAll || t.watch.has(e) || [...t.watch].some((n) => e.startsWith(n) && /^\.\w+/.test(e.slice(n.length))));
|
|
@@ -11832,7 +11832,7 @@ function xc(e, t, r) {
|
|
|
11832
11832
|
var Bx = (e, t, r, n) => {
|
|
11833
11833
|
r(e);
|
|
11834
11834
|
const { name: o, ...l } = e;
|
|
11835
|
-
return xt(l) || Object.keys(l).length >= Object.keys(t).length || Object.keys(l).find((i) => t[i] === (!n ||
|
|
11835
|
+
return xt(l) || Object.keys(l).length >= Object.keys(t).length || Object.keys(l).find((i) => t[i] === (!n || Ht.all));
|
|
11836
11836
|
}, Zx = (e, t, r) => !e || !t || e === t || Ot(e).some((n) => n && (r ? n === t : n.startsWith(t) || t.startsWith(n))), Vx = (e, t, r, n, o) => o.isOnAll ? !1 : !r && o.isOnTouch ? !(t || e) : (r ? n.isOnBlur : o.isOnBlur) ? !e : (r ? n.isOnChange : o.isOnChange) ? e : !0, Dx = (e, t) => !rs(Ee(e, t)).length && ct(e, t), k5 = (e, t, r) => {
|
|
11837
11837
|
const n = Ot(Ee(e, r));
|
|
11838
11838
|
return Ye(n, "root", t[r]), Ye(e, r, n), e;
|
|
@@ -11930,8 +11930,8 @@ var mn = (e) => ft(e) && !So(e) ? e : {
|
|
|
11930
11930
|
return k(!0), j;
|
|
11931
11931
|
};
|
|
11932
11932
|
const Px = {
|
|
11933
|
-
mode:
|
|
11934
|
-
reValidateMode:
|
|
11933
|
+
mode: Ht.onSubmit,
|
|
11934
|
+
reValidateMode: Ht.onChange,
|
|
11935
11935
|
shouldFocusError: !0
|
|
11936
11936
|
};
|
|
11937
11937
|
function zx(e = {}) {
|
|
@@ -11979,7 +11979,7 @@ function zx(e = {}) {
|
|
|
11979
11979
|
const h = {
|
|
11980
11980
|
array: mc(),
|
|
11981
11981
|
state: mc()
|
|
11982
|
-
}, p = t.criteriaMode ===
|
|
11982
|
+
}, p = t.criteriaMode === Ht.all, b = (L) => (V) => {
|
|
11983
11983
|
clearTimeout(d), d = setTimeout(L, V);
|
|
11984
11984
|
}, v = async (L) => {
|
|
11985
11985
|
if (!t.disabled && (m.isValid || f.isValid || L)) {
|
|
@@ -12581,7 +12581,7 @@ function Wx(e) {
|
|
|
12581
12581
|
});
|
|
12582
12582
|
else {
|
|
12583
12583
|
const k = Ee(r._fields, n);
|
|
12584
|
-
k && k._f && !(wn(r._options.reValidateMode).isOnSubmit && wn(r._options.mode).isOnSubmit) && jl(k, r._names.disabled, r._formValues, r._options.criteriaMode ===
|
|
12584
|
+
k && k._f && !(wn(r._options.reValidateMode).isOnSubmit && wn(r._options.mode).isOnSubmit) && jl(k, r._names.disabled, r._formValues, r._options.criteriaMode === Ht.all, r._options.shouldUseNativeValidation, !0).then((j) => !xt(j) && r._subjects.state.next({
|
|
12585
12585
|
errors: k5(r._formState.errors, j, n)
|
|
12586
12586
|
}));
|
|
12587
12587
|
}
|
|
@@ -20206,7 +20206,7 @@ const HS = /* @__PURE__ */ a.forwardRef(zS), In = /* @__PURE__ */ Object.freeze(
|
|
|
20206
20206
|
WrenchScrewdriverIcon: BS,
|
|
20207
20207
|
XCircleIcon: PS,
|
|
20208
20208
|
XMarkIcon: HS
|
|
20209
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
20209
|
+
}, Symbol.toStringTag, { value: "Module" })), Vt = ({
|
|
20210
20210
|
isOpen: e,
|
|
20211
20211
|
onClose: t,
|
|
20212
20212
|
title: r,
|
|
@@ -20391,7 +20391,7 @@ const E5 = ({
|
|
|
20391
20391
|
$
|
|
20392
20392
|
)) });
|
|
20393
20393
|
}, S = c != null && c.enabled ? /* @__PURE__ */ s.jsx(
|
|
20394
|
-
|
|
20394
|
+
Vt,
|
|
20395
20395
|
{
|
|
20396
20396
|
isOpen: m,
|
|
20397
20397
|
onClose: () => f(!1),
|
|
@@ -26790,7 +26790,7 @@ const CO = Object.entries($n).filter(([e, t]) => e.endsWith("Icon") && Mi(t)).ma
|
|
|
26790
26790
|
children: /* @__PURE__ */ s.jsx(f, { className: "h-4 w-4" })
|
|
26791
26791
|
}
|
|
26792
26792
|
),
|
|
26793
|
-
/* @__PURE__ */ s.jsx(
|
|
26793
|
+
/* @__PURE__ */ s.jsx(Vt, { isOpen: l, onClose: () => i(!1), title: "Seleccionar icono", children: /* @__PURE__ */ s.jsxs("div", { className: "space-y-3", children: [
|
|
26794
26794
|
/* @__PURE__ */ s.jsx(
|
|
26795
26795
|
Ne,
|
|
26796
26796
|
{
|
|
@@ -27945,57 +27945,7 @@ function IO({
|
|
|
27945
27945
|
}
|
|
27946
27946
|
) });
|
|
27947
27947
|
}
|
|
27948
|
-
|
|
27949
|
-
sm: "h-8 w-8",
|
|
27950
|
-
// 2rem x 2rem
|
|
27951
|
-
md: "h-10 w-10",
|
|
27952
|
-
// 2.5rem x 2.5rem
|
|
27953
|
-
lg: "h-12 w-12"
|
|
27954
|
-
// 3rem x 3rem
|
|
27955
|
-
};
|
|
27956
|
-
function Vt({
|
|
27957
|
-
icon: e,
|
|
27958
|
-
size: t = "md",
|
|
27959
|
-
ariaLabel: r,
|
|
27960
|
-
disabled: n = !1,
|
|
27961
|
-
onClick: o,
|
|
27962
|
-
className: l,
|
|
27963
|
-
...i
|
|
27964
|
-
}) {
|
|
27965
|
-
return /* @__PURE__ */ s.jsx(
|
|
27966
|
-
"button",
|
|
27967
|
-
{
|
|
27968
|
-
type: "button",
|
|
27969
|
-
"aria-label": r,
|
|
27970
|
-
disabled: n,
|
|
27971
|
-
onClick: o,
|
|
27972
|
-
className: ge(
|
|
27973
|
-
"inline-flex items-center justify-center",
|
|
27974
|
-
"rounded-full",
|
|
27975
|
-
// completamente circular
|
|
27976
|
-
"bg-transparent",
|
|
27977
|
-
// ghost
|
|
27978
|
-
"text-[var(--color-ds-text-primary)]",
|
|
27979
|
-
"transition-transform",
|
|
27980
|
-
// para la animación de pulso
|
|
27981
|
-
"focus:outline-none",
|
|
27982
|
-
FO[t],
|
|
27983
|
-
n ? "opacity-50 cursor-not-allowed" : [
|
|
27984
|
-
"hover:scale-110",
|
|
27985
|
-
// ligero tamaño extra en hover
|
|
27986
|
-
"hover:animate-pulse",
|
|
27987
|
-
// pulso en hover (Tailwind `animate-pulse`)
|
|
27988
|
-
"hover:bg-[var(--color-ds-background-neutral-hover)]"
|
|
27989
|
-
// Added hover bg support
|
|
27990
|
-
],
|
|
27991
|
-
l
|
|
27992
|
-
),
|
|
27993
|
-
...i,
|
|
27994
|
-
children: /* @__PURE__ */ s.jsx(e, { className: ge(t === "sm" ? "h-4 w-4" : t === "md" ? "h-5 w-5" : "h-6 w-6") })
|
|
27995
|
-
}
|
|
27996
|
-
);
|
|
27997
|
-
}
|
|
27998
|
-
function _O({ dark: e, onToggle: t }) {
|
|
27948
|
+
function FO({ dark: e, onToggle: t }) {
|
|
27999
27949
|
return /* @__PURE__ */ s.jsx(
|
|
28000
27950
|
"button",
|
|
28001
27951
|
{
|
|
@@ -28069,7 +28019,7 @@ function cZ({ children: e }) {
|
|
|
28069
28019
|
const $i = () => Ut(c1), ea = {
|
|
28070
28020
|
locale: "licytal:ui:locale",
|
|
28071
28021
|
theme: "licytal:ui:theme"
|
|
28072
|
-
},
|
|
28022
|
+
}, _O = ({
|
|
28073
28023
|
pinnedPages: e,
|
|
28074
28024
|
onRemovePinned: t,
|
|
28075
28025
|
onBack: r,
|
|
@@ -28083,24 +28033,25 @@ const $i = () => Ut(c1), ea = {
|
|
|
28083
28033
|
logoSrc: m,
|
|
28084
28034
|
logoAlt: f = "Logo aplicación"
|
|
28085
28035
|
}) => {
|
|
28086
|
-
|
|
28036
|
+
e.slice(0, 3);
|
|
28037
|
+
const { toggle: h } = $i(), p = (v) => {
|
|
28087
28038
|
try {
|
|
28088
|
-
localStorage.setItem(ea.locale,
|
|
28039
|
+
localStorage.setItem(ea.locale, v);
|
|
28089
28040
|
} catch {
|
|
28090
28041
|
}
|
|
28091
|
-
i == null || i(
|
|
28092
|
-
},
|
|
28093
|
-
const
|
|
28042
|
+
i == null || i(v);
|
|
28043
|
+
}, b = () => {
|
|
28044
|
+
const v = !n;
|
|
28094
28045
|
try {
|
|
28095
|
-
localStorage.setItem(ea.theme,
|
|
28046
|
+
localStorage.setItem(ea.theme, v ? "dark" : "light");
|
|
28096
28047
|
} catch {
|
|
28097
28048
|
}
|
|
28098
|
-
|
|
28049
|
+
h();
|
|
28099
28050
|
};
|
|
28100
28051
|
return xe(() => {
|
|
28101
28052
|
try {
|
|
28102
|
-
const
|
|
28103
|
-
|
|
28053
|
+
const v = localStorage.getItem(ea.locale);
|
|
28054
|
+
v && v !== o && (i == null || i(v));
|
|
28104
28055
|
} catch {
|
|
28105
28056
|
}
|
|
28106
28057
|
}, []), xe(() => {
|
|
@@ -28111,46 +28062,21 @@ const $i = () => Ut(c1), ea = {
|
|
|
28111
28062
|
}
|
|
28112
28063
|
}, [o]), xe(() => {
|
|
28113
28064
|
try {
|
|
28114
|
-
const
|
|
28115
|
-
if (!
|
|
28116
|
-
|
|
28065
|
+
const v = localStorage.getItem(ea.theme);
|
|
28066
|
+
if (!v) return;
|
|
28067
|
+
v === "dark" !== n && h();
|
|
28117
28068
|
} catch {
|
|
28118
28069
|
}
|
|
28119
|
-
}, []), /* @__PURE__ */ s.jsxs("header", { className: "flex items-center bg-[var(--color-ds-background-page)] py-2 px-4", children: [
|
|
28120
|
-
/* @__PURE__ */ s.jsx("div", { className: "flex
|
|
28070
|
+
}, []), /* @__PURE__ */ s.jsxs("header", { className: "flex items-center justify-between bg-[var(--color-ds-background-page)] py-2 px-4 min-h-[88px]", children: [
|
|
28071
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex items-center", children: m && /* @__PURE__ */ s.jsx(
|
|
28121
28072
|
"img",
|
|
28122
28073
|
{
|
|
28123
28074
|
src: m,
|
|
28124
28075
|
alt: f,
|
|
28125
|
-
className: "h-
|
|
28076
|
+
className: "h-24 w-auto object-contain"
|
|
28126
28077
|
}
|
|
28127
28078
|
) }),
|
|
28128
|
-
/* @__PURE__ */ s.
|
|
28129
|
-
/* @__PURE__ */ s.jsx(
|
|
28130
|
-
"a",
|
|
28131
|
-
{
|
|
28132
|
-
href: g.href,
|
|
28133
|
-
className: ge(
|
|
28134
|
-
"inline-flex items-center rounded-lg",
|
|
28135
|
-
"py-1 px-1 my-1 text-ds-sm",
|
|
28136
|
-
"bg-transparent text-[var(--color-ds-text-primary)]",
|
|
28137
|
-
"transition-colors duration-200 ease-in-out",
|
|
28138
|
-
"hover:bg-[var(--color-ds-border-muted)] hover:animate-pulse"
|
|
28139
|
-
),
|
|
28140
|
-
children: g.label
|
|
28141
|
-
}
|
|
28142
|
-
),
|
|
28143
|
-
/* @__PURE__ */ s.jsx(
|
|
28144
|
-
Vt,
|
|
28145
|
-
{
|
|
28146
|
-
icon: ot,
|
|
28147
|
-
size: "sm",
|
|
28148
|
-
ariaLabel: `Remove ${g.label}`,
|
|
28149
|
-
onClick: () => t(g.id)
|
|
28150
|
-
}
|
|
28151
|
-
)
|
|
28152
|
-
] }, g.id)) }),
|
|
28153
|
-
/* @__PURE__ */ s.jsxs("div", { className: "flex-1 flex justify-end items-center space-x-2", children: [
|
|
28079
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
28154
28080
|
/* @__PURE__ */ s.jsx(
|
|
28155
28081
|
Qe,
|
|
28156
28082
|
{
|
|
@@ -28158,7 +28084,7 @@ const $i = () => Ut(c1), ea = {
|
|
|
28158
28084
|
width: "auto",
|
|
28159
28085
|
options: l,
|
|
28160
28086
|
value: o,
|
|
28161
|
-
onChange:
|
|
28087
|
+
onChange: p,
|
|
28162
28088
|
disableErrorPlaceholder: !0,
|
|
28163
28089
|
label: "Idioma",
|
|
28164
28090
|
labelHidden: !0
|
|
@@ -28171,16 +28097,66 @@ const $i = () => Ut(c1), ea = {
|
|
|
28171
28097
|
width: "auto",
|
|
28172
28098
|
options: u,
|
|
28173
28099
|
value: c,
|
|
28174
|
-
onChange: (
|
|
28100
|
+
onChange: (v) => d == null ? void 0 : d(v),
|
|
28175
28101
|
disableErrorPlaceholder: !0,
|
|
28176
28102
|
label: "Perfil",
|
|
28177
28103
|
labelHidden: !0
|
|
28178
28104
|
}
|
|
28179
28105
|
),
|
|
28180
|
-
/* @__PURE__ */ s.jsx(
|
|
28106
|
+
/* @__PURE__ */ s.jsx(FO, { dark: n, onToggle: b })
|
|
28181
28107
|
] })
|
|
28182
28108
|
] });
|
|
28183
|
-
},
|
|
28109
|
+
}, TO = {
|
|
28110
|
+
sm: "h-8 w-8",
|
|
28111
|
+
// 2rem x 2rem
|
|
28112
|
+
md: "h-10 w-10",
|
|
28113
|
+
// 2.5rem x 2.5rem
|
|
28114
|
+
lg: "h-12 w-12"
|
|
28115
|
+
// 3rem x 3rem
|
|
28116
|
+
};
|
|
28117
|
+
function Wt({
|
|
28118
|
+
icon: e,
|
|
28119
|
+
size: t = "md",
|
|
28120
|
+
ariaLabel: r,
|
|
28121
|
+
disabled: n = !1,
|
|
28122
|
+
onClick: o,
|
|
28123
|
+
className: l,
|
|
28124
|
+
...i
|
|
28125
|
+
}) {
|
|
28126
|
+
return /* @__PURE__ */ s.jsx(
|
|
28127
|
+
"button",
|
|
28128
|
+
{
|
|
28129
|
+
type: "button",
|
|
28130
|
+
"aria-label": r,
|
|
28131
|
+
disabled: n,
|
|
28132
|
+
onClick: o,
|
|
28133
|
+
className: ge(
|
|
28134
|
+
"inline-flex items-center justify-center",
|
|
28135
|
+
"rounded-full",
|
|
28136
|
+
// completamente circular
|
|
28137
|
+
"bg-transparent",
|
|
28138
|
+
// ghost
|
|
28139
|
+
"text-[var(--color-ds-text-primary)]",
|
|
28140
|
+
"transition-transform",
|
|
28141
|
+
// para la animación de pulso
|
|
28142
|
+
"focus:outline-none",
|
|
28143
|
+
TO[t],
|
|
28144
|
+
n ? "opacity-50 cursor-not-allowed" : [
|
|
28145
|
+
"hover:scale-110",
|
|
28146
|
+
// ligero tamaño extra en hover
|
|
28147
|
+
"hover:animate-pulse",
|
|
28148
|
+
// pulso en hover (Tailwind `animate-pulse`)
|
|
28149
|
+
"hover:bg-[var(--color-ds-background-neutral-hover)]"
|
|
28150
|
+
// Added hover bg support
|
|
28151
|
+
],
|
|
28152
|
+
l
|
|
28153
|
+
),
|
|
28154
|
+
...i,
|
|
28155
|
+
children: /* @__PURE__ */ s.jsx(e, { className: ge(t === "sm" ? "h-4 w-4" : t === "md" ? "h-5 w-5" : "h-6 w-6") })
|
|
28156
|
+
}
|
|
28157
|
+
);
|
|
28158
|
+
}
|
|
28159
|
+
const dZ = ({
|
|
28184
28160
|
loading: e = !1,
|
|
28185
28161
|
ariaLabel: t = "Cargando..."
|
|
28186
28162
|
}) => e ? /* @__PURE__ */ s.jsxs(
|
|
@@ -28322,7 +28298,7 @@ function uZ({ hideSidebar: e = !1, sidebar: t, header: r, children: n }) {
|
|
|
28322
28298
|
{
|
|
28323
28299
|
className: `flex-1 flex flex-col overflow-auto [scrollbar-gutter:stable_both-edges] ${e ? "px-0" : "px-10"}`,
|
|
28324
28300
|
children: [
|
|
28325
|
-
/* @__PURE__ */ s.jsx(
|
|
28301
|
+
/* @__PURE__ */ s.jsx(_O, { ...l }),
|
|
28326
28302
|
/* @__PURE__ */ s.jsx("main", { className: "flex-1 min-h-0", children: n })
|
|
28327
28303
|
]
|
|
28328
28304
|
}
|
|
@@ -28882,7 +28858,7 @@ class zO {
|
|
|
28882
28858
|
}
|
|
28883
28859
|
}
|
|
28884
28860
|
const ca = new zO(["es", "en"], "es");
|
|
28885
|
-
var f1 = Symbol.for("immer-nothing"), f0 = Symbol.for("immer-draftable"),
|
|
28861
|
+
var f1 = Symbol.for("immer-nothing"), f0 = Symbol.for("immer-draftable"), Dt = Symbol.for("immer-state"), HO = process.env.NODE_ENV !== "production" ? [
|
|
28886
28862
|
// All error codes, starting by 0:
|
|
28887
28863
|
function(e) {
|
|
28888
28864
|
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
@@ -28924,7 +28900,7 @@ function At(e, ...t) {
|
|
|
28924
28900
|
}
|
|
28925
28901
|
var ka = Object.getPrototypeOf;
|
|
28926
28902
|
function _n(e) {
|
|
28927
|
-
return !!e && !!e[
|
|
28903
|
+
return !!e && !!e[Dt];
|
|
28928
28904
|
}
|
|
28929
28905
|
function on(e) {
|
|
28930
28906
|
var t;
|
|
@@ -28951,7 +28927,7 @@ function To(e, t, r = !0) {
|
|
|
28951
28927
|
}) : e.forEach((n, o) => t(o, n, e));
|
|
28952
28928
|
}
|
|
28953
28929
|
function ls(e) {
|
|
28954
|
-
const t = e[
|
|
28930
|
+
const t = e[Dt];
|
|
28955
28931
|
return t ? t.type_ : Array.isArray(e) ? 1 : Fa(e) ? 2 : is(e) ? 3 : 0;
|
|
28956
28932
|
}
|
|
28957
28933
|
function Il(e, t) {
|
|
@@ -28983,7 +28959,7 @@ function Fl(e, t) {
|
|
|
28983
28959
|
const r = m1(e);
|
|
28984
28960
|
if (t === !0 || t === "class_only" && !r) {
|
|
28985
28961
|
const n = Object.getOwnPropertyDescriptors(e);
|
|
28986
|
-
delete n[
|
|
28962
|
+
delete n[Dt];
|
|
28987
28963
|
let o = Reflect.ownKeys(n);
|
|
28988
28964
|
for (let l = 0; l < o.length; l++) {
|
|
28989
28965
|
const i = o[l], c = n[i];
|
|
@@ -29054,14 +29030,14 @@ function p0(e) {
|
|
|
29054
29030
|
return Ea = KO(Ea, e);
|
|
29055
29031
|
}
|
|
29056
29032
|
function JO(e) {
|
|
29057
|
-
const t = e[
|
|
29033
|
+
const t = e[Dt];
|
|
29058
29034
|
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
|
|
29059
29035
|
}
|
|
29060
29036
|
function g0(e, t) {
|
|
29061
29037
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
29062
29038
|
const r = t.drafts_[0];
|
|
29063
|
-
return e !== void 0 && e !== r ? (r[
|
|
29064
|
-
r[
|
|
29039
|
+
return e !== void 0 && e !== r ? (r[Dt].modified_ && (_l(t), At(4)), on(e) && (e = Bo(t, e), t.parent_ || Zo(t, e)), t.patches_ && sn("Patches").generateReplacementPatches_(
|
|
29040
|
+
r[Dt].base_,
|
|
29065
29041
|
e,
|
|
29066
29042
|
t.patches_,
|
|
29067
29043
|
t.inversePatches_
|
|
@@ -29070,7 +29046,7 @@ function g0(e, t) {
|
|
|
29070
29046
|
function Bo(e, t, r) {
|
|
29071
29047
|
if (cs(t))
|
|
29072
29048
|
return t;
|
|
29073
|
-
const n = e.immer_.shouldUseStrictIteration(), o = t[
|
|
29049
|
+
const n = e.immer_.shouldUseStrictIteration(), o = t[Dt];
|
|
29074
29050
|
if (!o)
|
|
29075
29051
|
return To(
|
|
29076
29052
|
t,
|
|
@@ -29160,7 +29136,7 @@ function YO(e, t) {
|
|
|
29160
29136
|
}
|
|
29161
29137
|
var Fi = {
|
|
29162
29138
|
get(e, t) {
|
|
29163
|
-
if (t ===
|
|
29139
|
+
if (t === Dt)
|
|
29164
29140
|
return e;
|
|
29165
29141
|
const r = Jr(e);
|
|
29166
29142
|
if (!Il(r, t))
|
|
@@ -29179,7 +29155,7 @@ var Fi = {
|
|
|
29179
29155
|
if (n != null && n.set)
|
|
29180
29156
|
return n.set.call(e.draft_, r), !0;
|
|
29181
29157
|
if (!e.modified_) {
|
|
29182
|
-
const o = Bs(Jr(e), t), l = o == null ? void 0 : o[
|
|
29158
|
+
const o = Bs(Jr(e), t), l = o == null ? void 0 : o[Dt];
|
|
29183
29159
|
if (l && l.base_ === r)
|
|
29184
29160
|
return e.copy_[t] = r, e.assigned_[t] = !1, !0;
|
|
29185
29161
|
if (UO(r, o) && (r !== void 0 || Il(e.base_, t)))
|
|
@@ -29226,7 +29202,7 @@ Ra.set = function(e, t, r) {
|
|
|
29226
29202
|
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && At(14), Fi.set.call(this, e[0], t, r, e[0]);
|
|
29227
29203
|
};
|
|
29228
29204
|
function Bs(e, t) {
|
|
29229
|
-
const r = e[
|
|
29205
|
+
const r = e[Dt];
|
|
29230
29206
|
return (r ? Jr(r) : e)[t];
|
|
29231
29207
|
}
|
|
29232
29208
|
function XO(e, t, r) {
|
|
@@ -29300,10 +29276,10 @@ var QO = class {
|
|
|
29300
29276
|
createDraft(e) {
|
|
29301
29277
|
on(e) || At(8), _n(e) && (e = eL(e));
|
|
29302
29278
|
const t = p0(this), r = Zl(e, void 0);
|
|
29303
|
-
return r[
|
|
29279
|
+
return r[Dt].isManual_ = !0, Tl(t), r;
|
|
29304
29280
|
}
|
|
29305
29281
|
finishDraft(e, t) {
|
|
29306
|
-
const r = e && e[
|
|
29282
|
+
const r = e && e[Dt];
|
|
29307
29283
|
(!r || !r.isManual_) && At(9);
|
|
29308
29284
|
const { scope_: n } = r;
|
|
29309
29285
|
return h0(n, t), g0(void 0, n);
|
|
@@ -29363,7 +29339,7 @@ function eL(e) {
|
|
|
29363
29339
|
function v1(e) {
|
|
29364
29340
|
if (!on(e) || cs(e))
|
|
29365
29341
|
return e;
|
|
29366
|
-
const t = e[
|
|
29342
|
+
const t = e[Dt];
|
|
29367
29343
|
let r, n = !0;
|
|
29368
29344
|
if (t) {
|
|
29369
29345
|
if (!t.modified_)
|
|
@@ -31775,10 +31751,10 @@ function Ks(e, t) {
|
|
|
31775
31751
|
const r = Math.abs(e.x), n = Math.abs(e.y);
|
|
31776
31752
|
return typeof t == "number" ? Math.sqrt(r ** 2 + n ** 2) > t : "x" in t && "y" in t ? r > t.x && n > t.y : "x" in t ? r > t.x : "y" in t ? n > t.y : !1;
|
|
31777
31753
|
}
|
|
31778
|
-
var
|
|
31754
|
+
var zt;
|
|
31779
31755
|
(function(e) {
|
|
31780
31756
|
e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
|
|
31781
|
-
})(
|
|
31757
|
+
})(zt || (zt = {}));
|
|
31782
31758
|
function k0(e) {
|
|
31783
31759
|
e.preventDefault();
|
|
31784
31760
|
}
|
|
@@ -31831,7 +31807,7 @@ class Va {
|
|
|
31831
31807
|
this.props = t, this.listeners = new ua(Un(r)), this.windowListeners = new ua(Ct(r)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
31832
31808
|
}
|
|
31833
31809
|
attach() {
|
|
31834
|
-
this.handleStart(), this.windowListeners.add(
|
|
31810
|
+
this.handleStart(), this.windowListeners.add(zt.Resize, this.handleCancel), this.windowListeners.add(zt.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(zt.Keydown, this.handleKeyDown));
|
|
31835
31811
|
}
|
|
31836
31812
|
handleStart() {
|
|
31837
31813
|
const {
|
|
@@ -31998,7 +31974,7 @@ class zi {
|
|
|
31998
31974
|
} = this;
|
|
31999
31975
|
if (this.listeners.add(t.move.name, this.handleMove, {
|
|
32000
31976
|
passive: !1
|
|
32001
|
-
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(
|
|
31977
|
+
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(zt.Resize, this.handleCancel), this.windowListeners.add(zt.DragStart, k0), this.windowListeners.add(zt.VisibilityChange, this.handleCancel), this.windowListeners.add(zt.ContextMenu, k0), this.documentListeners.add(zt.Keydown, this.handleKeydown), r) {
|
|
32002
31978
|
if (n != null && n({
|
|
32003
31979
|
event: this.props.event,
|
|
32004
31980
|
activeNode: this.props.activeNode,
|
|
@@ -32032,9 +32008,9 @@ class zi {
|
|
|
32032
32008
|
} = this, {
|
|
32033
32009
|
onStart: r
|
|
32034
32010
|
} = this.props;
|
|
32035
|
-
t && (this.activated = !0, this.documentListeners.add(
|
|
32011
|
+
t && (this.activated = !0, this.documentListeners.add(zt.Click, UL, {
|
|
32036
32012
|
capture: !0
|
|
32037
|
-
}), this.removeTextSelection(), this.documentListeners.add(
|
|
32013
|
+
}), this.removeTextSelection(), this.documentListeners.add(zt.SelectionChange, this.removeTextSelection), r(t));
|
|
32038
32014
|
}
|
|
32039
32015
|
handleMove(t) {
|
|
32040
32016
|
var r;
|
|
@@ -36373,7 +36349,7 @@ const qi = ({
|
|
|
36373
36349
|
/* @__PURE__ */ s.jsx(me, { variant: "primary", onClick: F, children: "Guardar" })
|
|
36374
36350
|
] });
|
|
36375
36351
|
return /* @__PURE__ */ s.jsx(
|
|
36376
|
-
|
|
36352
|
+
Vt,
|
|
36377
36353
|
{
|
|
36378
36354
|
isOpen: e,
|
|
36379
36355
|
onClose: t,
|
|
@@ -37461,7 +37437,7 @@ function LF({
|
|
|
37461
37437
|
P(A.filter((J, fe) => fe !== U));
|
|
37462
37438
|
};
|
|
37463
37439
|
return w && Fn(w.name, w.style), /* @__PURE__ */ s.jsx(
|
|
37464
|
-
|
|
37440
|
+
Vt,
|
|
37465
37441
|
{
|
|
37466
37442
|
isOpen: e,
|
|
37467
37443
|
onClose: t,
|
|
@@ -38469,7 +38445,7 @@ return true;${R}`;
|
|
|
38469
38445
|
/* @__PURE__ */ s.jsx(me, { variant: "primary", onClick: ae, children: "Guardar Configuraciones" })
|
|
38470
38446
|
] });
|
|
38471
38447
|
return /* @__PURE__ */ s.jsx(
|
|
38472
|
-
|
|
38448
|
+
Vt,
|
|
38473
38449
|
{
|
|
38474
38450
|
isOpen: e,
|
|
38475
38451
|
onClose: t,
|
|
@@ -38479,7 +38455,7 @@ return true;${R}`;
|
|
|
38479
38455
|
children: /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col min-h-[500px]", children: [
|
|
38480
38456
|
/* @__PURE__ */ s.jsx("div", { className: "flex border-b border-[var(--color-ds-border-default-50)] mb-4", children: [
|
|
38481
38457
|
{ id: "basic", label: "Básica", icon: Vr },
|
|
38482
|
-
{ id: "script", label: "Script (JS)", icon:
|
|
38458
|
+
{ id: "script", label: "Script (JS)", icon: Pt },
|
|
38483
38459
|
{ id: "endpoint", label: "Servicio Externo", icon: Pr }
|
|
38484
38460
|
].map((R) => /* @__PURE__ */ s.jsxs(
|
|
38485
38461
|
"button",
|
|
@@ -40991,7 +40967,7 @@ const tl = ({
|
|
|
40991
40967
|
] })
|
|
40992
40968
|
] }),
|
|
40993
40969
|
((V = t.validation) == null ? void 0 : V.customFn) && /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 text-amber-700", children: [
|
|
40994
|
-
/* @__PURE__ */ s.jsx(
|
|
40970
|
+
/* @__PURE__ */ s.jsx(Pt, { className: "w-3 h-3" }),
|
|
40995
40971
|
/* @__PURE__ */ s.jsx("span", { children: "Script Seguro (JS) activo" })
|
|
40996
40972
|
] }),
|
|
40997
40973
|
((I = t.asyncValidation) == null ? void 0 : I.endpoint) && /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 text-[var(--color-ds-primary-700)]", children: [
|
|
@@ -42279,7 +42255,7 @@ function rT({ open: e, onClose: t }) {
|
|
|
42279
42255
|
/* @__PURE__ */ s.jsxs("div", { className: "px-4 py-3 border-b border-[var(--color-ds-border-default-50)] flex items-center gap-2 flex-shrink-0", children: [
|
|
42280
42256
|
/* @__PURE__ */ s.jsx("div", { className: "font-semibold text-[var(--color-ds-text-primary)]", children: n("ds.editor.importModal.title") }),
|
|
42281
42257
|
/* @__PURE__ */ s.jsx("div", { className: "ml-auto", children: /* @__PURE__ */ s.jsx(
|
|
42282
|
-
|
|
42258
|
+
Wt,
|
|
42283
42259
|
{
|
|
42284
42260
|
size: "sm",
|
|
42285
42261
|
onClick: t,
|
|
@@ -42646,7 +42622,7 @@ function lT({ open: e, onClose: t }) {
|
|
|
42646
42622
|
/* @__PURE__ */ s.jsxs("div", { className: "px-4 py-3 border-b border-[var(--color-ds-border-default-50)] flex items-center gap-2 flex-shrink-0", children: [
|
|
42647
42623
|
/* @__PURE__ */ s.jsx("div", { className: "font-semibold text-[var(--color-ds-text-primary)]", children: "Importar desde Base de Datos" }),
|
|
42648
42624
|
/* @__PURE__ */ s.jsx("div", { className: "ml-auto", children: /* @__PURE__ */ s.jsx(
|
|
42649
|
-
|
|
42625
|
+
Wt,
|
|
42650
42626
|
{
|
|
42651
42627
|
size: "sm",
|
|
42652
42628
|
onClick: t,
|
|
@@ -43101,7 +43077,7 @@ const yT = ({ isOpen: e, onClose: t }) => {
|
|
|
43101
43077
|
}
|
|
43102
43078
|
}, g = Object.keys((r == null ? void 0 : r.registry) || {});
|
|
43103
43079
|
return /* @__PURE__ */ s.jsx(
|
|
43104
|
-
|
|
43080
|
+
Vt,
|
|
43105
43081
|
{
|
|
43106
43082
|
isOpen: e,
|
|
43107
43083
|
onClose: t,
|
|
@@ -43250,7 +43226,7 @@ function jT({ isOpen: e, onClose: t }) {
|
|
|
43250
43226
|
), b = u || i !== null;
|
|
43251
43227
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
43252
43228
|
/* @__PURE__ */ s.jsx(
|
|
43253
|
-
|
|
43229
|
+
Vt,
|
|
43254
43230
|
{
|
|
43255
43231
|
isOpen: e && !b,
|
|
43256
43232
|
onClose: t,
|
|
@@ -43279,7 +43255,7 @@ function jT({ isOpen: e, onClose: t }) {
|
|
|
43279
43255
|
] }),
|
|
43280
43256
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
43281
43257
|
/* @__PURE__ */ s.jsx(
|
|
43282
|
-
|
|
43258
|
+
Wt,
|
|
43283
43259
|
{
|
|
43284
43260
|
icon: Qo,
|
|
43285
43261
|
size: "sm",
|
|
@@ -43288,7 +43264,7 @@ function jT({ isOpen: e, onClose: t }) {
|
|
|
43288
43264
|
}
|
|
43289
43265
|
),
|
|
43290
43266
|
/* @__PURE__ */ s.jsx(
|
|
43291
|
-
|
|
43267
|
+
Wt,
|
|
43292
43268
|
{
|
|
43293
43269
|
icon: wt,
|
|
43294
43270
|
size: "sm",
|
|
@@ -44361,7 +44337,7 @@ function ST() {
|
|
|
44361
44337
|
}
|
|
44362
44338
|
),
|
|
44363
44339
|
/* @__PURE__ */ s.jsx(
|
|
44364
|
-
|
|
44340
|
+
Vt,
|
|
44365
44341
|
{
|
|
44366
44342
|
isOpen: u,
|
|
44367
44343
|
onClose: () => d(!1),
|
|
@@ -44388,7 +44364,7 @@ function ST() {
|
|
|
44388
44364
|
}
|
|
44389
44365
|
),
|
|
44390
44366
|
/* @__PURE__ */ s.jsx(
|
|
44391
|
-
|
|
44367
|
+
Vt,
|
|
44392
44368
|
{
|
|
44393
44369
|
isOpen: i,
|
|
44394
44370
|
onClose: () => c(!1),
|
|
@@ -44406,11 +44382,11 @@ function ST() {
|
|
|
44406
44382
|
className: "h-8 text-sm"
|
|
44407
44383
|
}
|
|
44408
44384
|
),
|
|
44409
|
-
/* @__PURE__ */ s.jsx(
|
|
44385
|
+
/* @__PURE__ */ s.jsx(Wt, { size: "sm", icon: Qr, onClick: x, ariaLabel: "Guardar nombre" })
|
|
44410
44386
|
] }) : /* @__PURE__ */ s.jsx("span", { className: "text-sm font-medium", children: k.label }),
|
|
44411
44387
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-1 ml-2", children: [
|
|
44412
44388
|
!h && /* @__PURE__ */ s.jsx(
|
|
44413
|
-
|
|
44389
|
+
Wt,
|
|
44414
44390
|
{
|
|
44415
44391
|
size: "sm",
|
|
44416
44392
|
icon: On,
|
|
@@ -44420,7 +44396,7 @@ function ST() {
|
|
|
44420
44396
|
}
|
|
44421
44397
|
),
|
|
44422
44398
|
/* @__PURE__ */ s.jsx(
|
|
44423
|
-
|
|
44399
|
+
Wt,
|
|
44424
44400
|
{
|
|
44425
44401
|
size: "sm",
|
|
44426
44402
|
icon: wt,
|
|
@@ -47651,7 +47627,7 @@ ${S.join(`
|
|
|
47651
47627
|
{ id: "shortcuts", label: o("ds.editor.settings.shortcuts", "Atajos"), icon: Rn }
|
|
47652
47628
|
];
|
|
47653
47629
|
return /* @__PURE__ */ s.jsxs(
|
|
47654
|
-
|
|
47630
|
+
Vt,
|
|
47655
47631
|
{
|
|
47656
47632
|
isOpen: e,
|
|
47657
47633
|
onClose: t,
|
|
@@ -48014,7 +47990,7 @@ function QT() {
|
|
|
48014
47990
|
},
|
|
48015
47991
|
{
|
|
48016
47992
|
label: "Exportar Yup (.ts)",
|
|
48017
|
-
icon:
|
|
47993
|
+
icon: Pt,
|
|
48018
47994
|
onSelect: J
|
|
48019
47995
|
},
|
|
48020
47996
|
{
|
|
@@ -48046,7 +48022,7 @@ function QT() {
|
|
|
48046
48022
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between rounded-xl border border-[var(--color-ds-border-default-50)] bg-[var(--color-ds-background-page)] shadow-sm px-3 py-2", children: [
|
|
48047
48023
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
48048
48024
|
/* @__PURE__ */ s.jsx(
|
|
48049
|
-
|
|
48025
|
+
Wt,
|
|
48050
48026
|
{
|
|
48051
48027
|
icon: Ad,
|
|
48052
48028
|
size: "sm",
|
|
@@ -48057,7 +48033,7 @@ function QT() {
|
|
|
48057
48033
|
}
|
|
48058
48034
|
),
|
|
48059
48035
|
/* @__PURE__ */ s.jsx(
|
|
48060
|
-
|
|
48036
|
+
Wt,
|
|
48061
48037
|
{
|
|
48062
48038
|
icon: Md,
|
|
48063
48039
|
size: "sm",
|
|
@@ -48151,7 +48127,7 @@ function QT() {
|
|
|
48151
48127
|
] }),
|
|
48152
48128
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
48153
48129
|
/* @__PURE__ */ s.jsx(
|
|
48154
|
-
|
|
48130
|
+
Wt,
|
|
48155
48131
|
{
|
|
48156
48132
|
icon: p ? ni : nn,
|
|
48157
48133
|
size: "sm",
|
|
@@ -48162,7 +48138,7 @@ function QT() {
|
|
|
48162
48138
|
}
|
|
48163
48139
|
),
|
|
48164
48140
|
/* @__PURE__ */ s.jsx(
|
|
48165
|
-
|
|
48141
|
+
Wt,
|
|
48166
48142
|
{
|
|
48167
48143
|
icon: rn,
|
|
48168
48144
|
size: "sm",
|
|
@@ -48182,7 +48158,7 @@ function QT() {
|
|
|
48182
48158
|
items: [
|
|
48183
48159
|
{ id: "design", label: e("ds.editor.modes.design"), icon: On },
|
|
48184
48160
|
{ id: "preview", label: e("ds.editor.modes.preview"), icon: nn },
|
|
48185
|
-
{ id: "code", label: e("ds.editor.modes.code"), icon:
|
|
48161
|
+
{ id: "code", label: e("ds.editor.modes.code"), icon: Pt }
|
|
48186
48162
|
]
|
|
48187
48163
|
}
|
|
48188
48164
|
)
|
|
@@ -49902,7 +49878,7 @@ function xB() {
|
|
|
49902
49878
|
) : null;
|
|
49903
49879
|
}),
|
|
49904
49880
|
/* @__PURE__ */ s.jsx(
|
|
49905
|
-
|
|
49881
|
+
Vt,
|
|
49906
49882
|
{
|
|
49907
49883
|
isOpen: i.isOpen,
|
|
49908
49884
|
onClose: m,
|
|
@@ -51378,7 +51354,7 @@ function hd({ ctx: e, visible: t }) {
|
|
|
51378
51354
|
[1, 2, 3, 4].map((j) => /* @__PURE__ */ s.jsx(me, { size: "xs", variant: "ghost", title: `Distribuir en ${j} columna(s)`, onClick: () => p(j), children: j }, j))
|
|
51379
51355
|
] }),
|
|
51380
51356
|
/* @__PURE__ */ s.jsx(
|
|
51381
|
-
|
|
51357
|
+
Vt,
|
|
51382
51358
|
{
|
|
51383
51359
|
isOpen: g.isOpen,
|
|
51384
51360
|
onClose: k,
|
|
@@ -51957,7 +51933,7 @@ function PB({ schema: e, onSchemaChange: t, deps: r, layoutEditMode: n = !1 }) {
|
|
|
51957
51933
|
}
|
|
51958
51934
|
),
|
|
51959
51935
|
/* @__PURE__ */ s.jsx(
|
|
51960
|
-
|
|
51936
|
+
Vt,
|
|
51961
51937
|
{
|
|
51962
51938
|
isOpen: ee.isOpen,
|
|
51963
51939
|
onClose: X,
|
|
@@ -52664,7 +52640,7 @@ function JB({ selected: e, onSelect: t }) {
|
|
|
52664
52640
|
}), Array.from(m).sort();
|
|
52665
52641
|
}, [r]), o = [
|
|
52666
52642
|
{ id: "json", label: "schema.json", icon: Dn },
|
|
52667
|
-
{ id: "yup", label: "validation.ts", icon:
|
|
52643
|
+
{ id: "yup", label: "validation.ts", icon: Pt },
|
|
52668
52644
|
{ id: "translations", label: "translations.json", icon: Xo }
|
|
52669
52645
|
], l = [], i = [], c = we(() => {
|
|
52670
52646
|
const d = Vn(), m = /* @__PURE__ */ new Set();
|
|
@@ -52684,20 +52660,20 @@ function JB({ selected: e, onSelect: t }) {
|
|
|
52684
52660
|
}), l.push({
|
|
52685
52661
|
id: "adapters",
|
|
52686
52662
|
label: " index.ts",
|
|
52687
|
-
icon:
|
|
52663
|
+
icon: Pt,
|
|
52688
52664
|
indent: !0
|
|
52689
52665
|
}), n.forEach((d) => {
|
|
52690
52666
|
const m = d.replace(/[^a-zA-Z0-9]/g, " ").split(" ").filter(Boolean).map((f) => f.charAt(0).toUpperCase() + f.slice(1)).join("");
|
|
52691
52667
|
l.push({
|
|
52692
52668
|
id: `service-${d}`,
|
|
52693
52669
|
label: ` ${m}Service.ts`,
|
|
52694
|
-
icon:
|
|
52670
|
+
icon: Pt,
|
|
52695
52671
|
indent: !0
|
|
52696
52672
|
});
|
|
52697
52673
|
})) : l.push({
|
|
52698
52674
|
id: "adapters",
|
|
52699
52675
|
label: "generated-services.ts",
|
|
52700
|
-
icon:
|
|
52676
|
+
icon: Pt
|
|
52701
52677
|
}), c.length > 0 && (i.push({
|
|
52702
52678
|
id: "folder-dtos",
|
|
52703
52679
|
label: "📁 dtos/",
|
|
@@ -52705,20 +52681,20 @@ function JB({ selected: e, onSelect: t }) {
|
|
|
52705
52681
|
}), i.push({
|
|
52706
52682
|
id: "dto-index",
|
|
52707
52683
|
label: " index.ts",
|
|
52708
|
-
icon:
|
|
52684
|
+
icon: Pt,
|
|
52709
52685
|
indent: !0
|
|
52710
52686
|
}), c.forEach((d) => {
|
|
52711
52687
|
i.push({
|
|
52712
52688
|
id: `dto-${d}`,
|
|
52713
52689
|
// dtoName includes .ts
|
|
52714
52690
|
label: ` ${d}`,
|
|
52715
|
-
icon:
|
|
52691
|
+
icon: Pt,
|
|
52716
52692
|
indent: !0
|
|
52717
52693
|
});
|
|
52718
52694
|
})), l.push({
|
|
52719
52695
|
id: "metadata",
|
|
52720
52696
|
label: "generated-metadata.ts",
|
|
52721
|
-
icon:
|
|
52697
|
+
icon: Pt
|
|
52722
52698
|
});
|
|
52723
52699
|
const u = [...o, ...i, ...l];
|
|
52724
52700
|
return /* @__PURE__ */ s.jsxs("div", { className: "h-full flex flex-col bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]", children: [
|
|
@@ -53073,7 +53049,7 @@ function fZ({
|
|
|
53073
53049
|
k && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
53074
53050
|
/* @__PURE__ */ s.jsx("div", { className: "w-px h-4 bg-[var(--color-ds-border-default-50)]" }),
|
|
53075
53051
|
/* @__PURE__ */ s.jsx(
|
|
53076
|
-
|
|
53052
|
+
Wt,
|
|
53077
53053
|
{
|
|
53078
53054
|
icon: w ? Fd : Id,
|
|
53079
53055
|
onClick: () => y(!w),
|
|
@@ -53538,15 +53514,15 @@ export {
|
|
|
53538
53514
|
dr as FormLabel,
|
|
53539
53515
|
sZ as FormPageLayout,
|
|
53540
53516
|
IO as FormRenderer,
|
|
53541
|
-
|
|
53517
|
+
_O as Header,
|
|
53542
53518
|
Mt as Icon,
|
|
53543
|
-
|
|
53519
|
+
Wt as IconButton,
|
|
53544
53520
|
E5 as InfoButton,
|
|
53545
53521
|
Ne as Input,
|
|
53546
53522
|
r1 as InputGroup,
|
|
53547
53523
|
Oi as InputIBAN,
|
|
53548
53524
|
dZ as LoadingScreen,
|
|
53549
|
-
|
|
53525
|
+
Vt as Modal,
|
|
53550
53526
|
Ai as OptionGroup,
|
|
53551
53527
|
uZ as PageLayout,
|
|
53552
53528
|
fZ as SchemaEditorHost,
|
|
@@ -53560,7 +53536,7 @@ export {
|
|
|
53560
53536
|
Ur as Tabs,
|
|
53561
53537
|
jr as TextArea,
|
|
53562
53538
|
cZ as ThemeProvider,
|
|
53563
|
-
|
|
53539
|
+
FO as ThemeToggle,
|
|
53564
53540
|
nO as Toast,
|
|
53565
53541
|
iZ as ToastProvider,
|
|
53566
53542
|
ss as Toggle,
|