responsive-system 1.4.2 → 1.4.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.
- package/dist/responsive-system.cjs +3 -7
- package/dist/responsive-system.cjs.map +1 -1
- package/dist/responsive-system.mjs +221 -306
- package/dist/responsive-system.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/layout/Footer.tsx +29 -47
- package/src/components/layout/Navigation.tsx +18 -84
- package/src/components/layout/Sidebar.tsx +29 -55
- package/src/layouts/DashboardLayout.tsx +7 -44
- package/src/layouts/DefaultLayout.tsx +3 -8
- package/src/layouts/MinimalLayout.tsx +2 -5
- package/src/layouts/SidebarLayout.tsx +2 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as e, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
const
|
|
1
|
+
import { jsx as e, Fragment as T, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { useState as k, useCallback as d, useMemo as D, useEffect as ie, createContext as M, useContext as O } from "react";
|
|
3
|
+
const oe = ({
|
|
4
4
|
children: t,
|
|
5
|
-
debug:
|
|
6
|
-
}) => /* @__PURE__ */ e(
|
|
5
|
+
debug: r = !1
|
|
6
|
+
}) => /* @__PURE__ */ e(T, { children: t }), u = {
|
|
7
7
|
xs: 475,
|
|
8
8
|
sm: 640,
|
|
9
9
|
md: 768,
|
|
@@ -13,105 +13,105 @@ const le = ({
|
|
|
13
13
|
"3xl": 1920,
|
|
14
14
|
"4xl": 2560,
|
|
15
15
|
"5xl": 3840
|
|
16
|
-
},
|
|
17
|
-
function
|
|
18
|
-
let
|
|
16
|
+
}, le = (t) => t >= u["5xl"] ? "5xl" : t >= u["4xl"] ? "4xl" : t >= u["3xl"] ? "3xl" : t >= u["2xl"] ? "2xl" : t >= u.xl ? "xl" : t >= u.lg ? "lg" : t >= u.md ? "md" : t >= u.sm ? "sm" : "xs", h = (t) => ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl"].indexOf(t), Ce = (t) => u[t];
|
|
17
|
+
function ce(t, r) {
|
|
18
|
+
let o = null;
|
|
19
19
|
return (...l) => {
|
|
20
|
-
|
|
20
|
+
o && clearTimeout(o), o = setTimeout(() => t(...l), r);
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
return t >=
|
|
23
|
+
function de(t, r) {
|
|
24
|
+
return t >= r ? "landscape" : "portrait";
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
const [t,
|
|
26
|
+
const ue = () => {
|
|
27
|
+
const [t, r] = k({
|
|
28
28
|
width: typeof window < "u" ? window.innerWidth : 1024,
|
|
29
29
|
height: typeof window < "u" ? window.innerHeight : 768
|
|
30
|
-
}),
|
|
31
|
-
|
|
30
|
+
}), o = d(() => {
|
|
31
|
+
r({
|
|
32
32
|
width: window.innerWidth,
|
|
33
33
|
height: window.innerHeight
|
|
34
34
|
});
|
|
35
35
|
}, []), l = D(
|
|
36
|
-
() =>
|
|
37
|
-
[
|
|
36
|
+
() => ce(o, 100),
|
|
37
|
+
[o]
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
ie(() => {
|
|
40
40
|
if (!(typeof window > "u"))
|
|
41
41
|
return window.addEventListener("resize", l), () => {
|
|
42
42
|
window.removeEventListener("resize", l);
|
|
43
43
|
};
|
|
44
44
|
}, [l]);
|
|
45
|
-
const { width:
|
|
46
|
-
const
|
|
47
|
-
return
|
|
48
|
-
}, [
|
|
45
|
+
const { width: s, height: a } = t, n = D(() => le(s), [s]), g = D(() => de(s, a), [s, a]), m = n === "xs", w = n === "sm", f = n === "md", b = n === "lg", C = n === "xl", S = n === "2xl", L = n === "3xl", y = n === "4xl", p = n === "5xl", I = m || w, W = f, z = b || C || S || L || y || p, X = m || w || f, _ = b || C || S || L || y || p, Y = L || y || p, K = y || p, V = p, q = g === "portrait", G = g === "landscape", J = d((c) => h(n) >= h(c), [n]), Q = d((c) => h(n) <= h(c), [n]), Z = d((c, v) => {
|
|
46
|
+
const A = h(n);
|
|
47
|
+
return A >= h(c) && A <= h(v);
|
|
48
|
+
}, [n]), ee = d((c) => s >= c, [s]), te = d((c) => s <= c, [s]), ne = d((c, v) => s >= c && s <= v, [s]), se = d((c) => a >= c, [a]), re = d((c) => a <= c, [a]), ae = d((c, v) => a >= c && a <= v, [a]);
|
|
49
49
|
return {
|
|
50
50
|
// Estado básico
|
|
51
|
-
breakpoint:
|
|
52
|
-
width:
|
|
53
|
-
height:
|
|
54
|
-
orientation:
|
|
51
|
+
breakpoint: n,
|
|
52
|
+
width: s,
|
|
53
|
+
height: a,
|
|
54
|
+
orientation: g,
|
|
55
55
|
// Helpers booleanos específicos
|
|
56
|
-
isXs:
|
|
57
|
-
isSm:
|
|
58
|
-
isMd:
|
|
59
|
-
isLg:
|
|
56
|
+
isXs: m,
|
|
57
|
+
isSm: w,
|
|
58
|
+
isMd: f,
|
|
59
|
+
isLg: b,
|
|
60
60
|
isXl: C,
|
|
61
61
|
is2Xl: S,
|
|
62
62
|
is3Xl: L,
|
|
63
|
-
is4Xl:
|
|
64
|
-
is5Xl:
|
|
63
|
+
is4Xl: y,
|
|
64
|
+
is5Xl: p,
|
|
65
65
|
// Helpers booleanos agrupados
|
|
66
|
-
isMobile:
|
|
67
|
-
isTablet:
|
|
68
|
-
isDesktop:
|
|
69
|
-
isSmall:
|
|
70
|
-
isLarge:
|
|
71
|
-
isUltraWide:
|
|
72
|
-
is4K:
|
|
73
|
-
is5K:
|
|
66
|
+
isMobile: I,
|
|
67
|
+
isTablet: W,
|
|
68
|
+
isDesktop: z,
|
|
69
|
+
isSmall: X,
|
|
70
|
+
isLarge: _,
|
|
71
|
+
isUltraWide: Y,
|
|
72
|
+
is4K: K,
|
|
73
|
+
is5K: V,
|
|
74
74
|
// Helpers de orientación
|
|
75
|
-
isPortrait:
|
|
76
|
-
isLandscape:
|
|
75
|
+
isPortrait: q,
|
|
76
|
+
isLandscape: G,
|
|
77
77
|
// Funciones de comparación
|
|
78
|
-
isBreakpointUp:
|
|
79
|
-
isBreakpointDown:
|
|
80
|
-
isBreakpointBetween:
|
|
81
|
-
isWidthUp:
|
|
82
|
-
isWidthDown:
|
|
78
|
+
isBreakpointUp: J,
|
|
79
|
+
isBreakpointDown: Q,
|
|
80
|
+
isBreakpointBetween: Z,
|
|
81
|
+
isWidthUp: ee,
|
|
82
|
+
isWidthDown: te,
|
|
83
83
|
isWidthBetween: ne,
|
|
84
84
|
isHeightUp: se,
|
|
85
85
|
isHeightDown: re,
|
|
86
|
-
isHeightBetween:
|
|
86
|
+
isHeightBetween: ae,
|
|
87
87
|
// Debug
|
|
88
88
|
debug: !1
|
|
89
89
|
};
|
|
90
|
-
},
|
|
91
|
-
const t =
|
|
90
|
+
}, j = M(void 0), me = () => {
|
|
91
|
+
const t = O(j);
|
|
92
92
|
if (!t)
|
|
93
93
|
throw new Error("useResponsiveLayoutContext must be used within a ResponsiveLayoutProvider");
|
|
94
94
|
return t;
|
|
95
|
-
},
|
|
96
|
-
const [
|
|
97
|
-
return /* @__PURE__ */ e(
|
|
98
|
-
},
|
|
99
|
-
const t =
|
|
95
|
+
}, R = M(void 0), U = ({ children: t }) => {
|
|
96
|
+
const [r, o] = k(!1);
|
|
97
|
+
return /* @__PURE__ */ e(R.Provider, { value: { sidebarOpen: r, setSidebarOpen: o }, children: t });
|
|
98
|
+
}, B = () => {
|
|
99
|
+
const t = O(R);
|
|
100
100
|
if (!t)
|
|
101
101
|
throw new Error("useSidebar must be used within a SidebarProvider");
|
|
102
102
|
return t;
|
|
103
|
-
}, E =
|
|
103
|
+
}, E = M({
|
|
104
104
|
currentPage: "test",
|
|
105
105
|
setCurrentPage: () => {
|
|
106
106
|
}
|
|
107
|
-
}),
|
|
107
|
+
}), he = () => O(E), Se = ({
|
|
108
108
|
children: t,
|
|
109
|
-
defaultPage:
|
|
109
|
+
defaultPage: r = "test"
|
|
110
110
|
}) => {
|
|
111
|
-
const [
|
|
112
|
-
return /* @__PURE__ */ e(E.Provider, { value: { currentPage:
|
|
113
|
-
},
|
|
114
|
-
const t =
|
|
111
|
+
const [o, l] = k(r);
|
|
112
|
+
return /* @__PURE__ */ e(E.Provider, { value: { currentPage: o, setCurrentPage: l }, children: t });
|
|
113
|
+
}, x = () => {
|
|
114
|
+
const t = me();
|
|
115
115
|
return {
|
|
116
116
|
// Todo el sistema responsivo original
|
|
117
117
|
...t.responsive,
|
|
@@ -130,14 +130,14 @@ const me = () => {
|
|
|
130
130
|
isMinimalLayout: () => t.layout.current === "minimal",
|
|
131
131
|
// Grid helpers que usan el sistema auto-escalable
|
|
132
132
|
grid: {
|
|
133
|
-
auto: (
|
|
134
|
-
responsive: (
|
|
135
|
-
const
|
|
136
|
-
return Object.entries(
|
|
137
|
-
l === "base" ?
|
|
138
|
-
}),
|
|
133
|
+
auto: (r = "md") => `grid-cols-auto-${r}`,
|
|
134
|
+
responsive: (r) => {
|
|
135
|
+
const o = [];
|
|
136
|
+
return Object.entries(r).forEach(([l, s]) => {
|
|
137
|
+
l === "base" ? o.push(`grid-cols-${s}`) : o.push(`${l}:grid-cols-${s}`);
|
|
138
|
+
}), o.join(" ");
|
|
139
139
|
},
|
|
140
|
-
fixed: (
|
|
140
|
+
fixed: (r) => `grid-cols-${r}`
|
|
141
141
|
},
|
|
142
142
|
// Spacing helpers que escalan automáticamente
|
|
143
143
|
spacing: {
|
|
@@ -147,8 +147,8 @@ const me = () => {
|
|
|
147
147
|
gap: "gap-4"
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
|
-
},
|
|
151
|
-
const t =
|
|
150
|
+
}, be = () => {
|
|
151
|
+
const t = x();
|
|
152
152
|
return {
|
|
153
153
|
// Layout actual
|
|
154
154
|
current: t.layout.current,
|
|
@@ -211,313 +211,228 @@ const me = () => {
|
|
|
211
211
|
desktop: "p-6"
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
},
|
|
214
|
+
}, $ = "default", De = Object.keys(N), pe = ({
|
|
215
215
|
children: t,
|
|
216
|
-
defaultLayout:
|
|
217
|
-
useResponsiveHook:
|
|
216
|
+
defaultLayout: r,
|
|
217
|
+
useResponsiveHook: o
|
|
218
218
|
}) => {
|
|
219
|
-
const l =
|
|
220
|
-
responsive:
|
|
219
|
+
const l = ue(), a = o?.() || l, [n, g] = k(r), m = N[n] || N[$], f = {
|
|
220
|
+
responsive: a,
|
|
221
221
|
layout: {
|
|
222
|
-
current:
|
|
223
|
-
config:
|
|
224
|
-
setLayout:
|
|
222
|
+
current: n,
|
|
223
|
+
config: m,
|
|
224
|
+
setLayout: g
|
|
225
225
|
},
|
|
226
226
|
layoutUtils: {
|
|
227
|
-
getContainerClass: () =>
|
|
227
|
+
getContainerClass: () => a.isMobile ? m.responsive.mobile : a.isTablet ? m.responsive.tablet : m.responsive.desktop,
|
|
228
228
|
getMainClass: () => {
|
|
229
|
-
const
|
|
230
|
-
return
|
|
229
|
+
const b = "min-h-screen bg-black";
|
|
230
|
+
return n === "sidebar" || n === "dashboard" ? `${b} flex` : b;
|
|
231
231
|
},
|
|
232
|
-
hasSidebar: () =>
|
|
233
|
-
hasHeader: () =>
|
|
234
|
-
hasFooter: () =>
|
|
235
|
-
hasNavigation: () =>
|
|
232
|
+
hasSidebar: () => n === "sidebar" || n === "dashboard",
|
|
233
|
+
hasHeader: () => n === "dashboard",
|
|
234
|
+
hasFooter: () => n === "default" || n === "dashboard",
|
|
235
|
+
hasNavigation: () => n === "default"
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
|
-
return /* @__PURE__ */ e(
|
|
239
|
-
},
|
|
238
|
+
return /* @__PURE__ */ e(j.Provider, { value: f, children: t });
|
|
239
|
+
}, Me = ({
|
|
240
240
|
children: t,
|
|
241
|
-
defaultLayout:
|
|
242
|
-
useResponsiveHook:
|
|
243
|
-
}) => /* @__PURE__ */ e(
|
|
244
|
-
|
|
241
|
+
defaultLayout: r = $,
|
|
242
|
+
useResponsiveHook: o
|
|
243
|
+
}) => /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(
|
|
244
|
+
pe,
|
|
245
245
|
{
|
|
246
|
-
defaultLayout:
|
|
247
|
-
useResponsiveHook:
|
|
246
|
+
defaultLayout: r,
|
|
247
|
+
useResponsiveHook: o,
|
|
248
248
|
children: t
|
|
249
249
|
}
|
|
250
|
-
) }),
|
|
251
|
-
const { layout:
|
|
250
|
+
) }), Oe = ({ children: t, layout: r }) => {
|
|
251
|
+
const { layout: o } = x(), l = r || o.current, a = {
|
|
252
252
|
default: P,
|
|
253
|
-
sidebar:
|
|
253
|
+
sidebar: fe,
|
|
254
254
|
dashboard: ve,
|
|
255
255
|
minimal: Ne
|
|
256
256
|
}[l] || P;
|
|
257
|
-
return /* @__PURE__ */ e(
|
|
258
|
-
},
|
|
259
|
-
const { isMobile: t } =
|
|
257
|
+
return /* @__PURE__ */ e(a, { children: t });
|
|
258
|
+
}, Ae = () => {
|
|
259
|
+
const { isMobile: t } = x(), { currentPage: r, setCurrentPage: o } = he(), { sidebarOpen: l, setSidebarOpen: s } = B(), a = [
|
|
260
260
|
{ id: "test", label: "Suite de Test" },
|
|
261
261
|
{ id: "demo", label: "Demo" }
|
|
262
262
|
];
|
|
263
|
-
return /* @__PURE__ */
|
|
264
|
-
/* @__PURE__ */ e("header", { className: "bg-gradient-to-r from-gray-900 via-black to-gray-900 border-b border-cyan-500/20 shadow-2xl relative", children: /* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e("div", { className: "px-4 py-4", children: /* @__PURE__ */
|
|
265
|
-
/* @__PURE__ */
|
|
263
|
+
return /* @__PURE__ */ i("div", { className: "sticky top-0 z-50", children: [
|
|
264
|
+
/* @__PURE__ */ e("header", { className: "bg-gradient-to-r from-gray-900 via-black to-gray-900 border-b border-cyan-500/20 shadow-2xl relative", children: /* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e("div", { className: "px-4 py-4", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
265
|
+
/* @__PURE__ */ i("div", { className: "flex items-center space-x-2", children: [
|
|
266
266
|
t && /* @__PURE__ */ e(
|
|
267
267
|
"button",
|
|
268
268
|
{
|
|
269
|
-
onClick: () =>
|
|
269
|
+
onClick: () => s(!0),
|
|
270
270
|
className: "p-2 rounded-lg text-gray-300 hover:text-cyan-400 hover:bg-cyan-500/10 transition-colors",
|
|
271
271
|
children: /* @__PURE__ */ e("svg", { className: "w-6 h-6", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h16" }) })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */
|
|
274
|
+
/* @__PURE__ */ i("div", { className: "flex items-center space-x-2", children: [
|
|
275
275
|
/* @__PURE__ */ e("div", { className: "w-1.5 h-1.5 bg-cyan-400 rounded-full shadow-lg shadow-cyan-400/50 animate-pulse" }),
|
|
276
276
|
/* @__PURE__ */ e("h3", { className: "text-base font-black text-white tracking-tight", children: "Sistema Responsivo" })
|
|
277
277
|
] }),
|
|
278
278
|
/* @__PURE__ */ e("div", { className: "px-2 py-0.5 text-cyan-400 font-mono bg-black/50 border border-cyan-500/30 rounded text-xs font-bold tracking-widest", children: "DASHBOARD" })
|
|
279
279
|
] }),
|
|
280
|
-
/* @__PURE__ */ e("div", { className: "flex items-center space-x-2", children: !t &&
|
|
280
|
+
/* @__PURE__ */ e("div", { className: "flex items-center space-x-2", children: !t && a.map((n) => /* @__PURE__ */ e(
|
|
281
281
|
"button",
|
|
282
282
|
{
|
|
283
|
-
onClick: () =>
|
|
284
|
-
className: `px-3 py-1.5 rounded-lg transition-all font-bold text-xs tracking-wide border ${
|
|
285
|
-
children:
|
|
283
|
+
onClick: () => o(n.id),
|
|
284
|
+
className: `px-3 py-1.5 rounded-lg transition-all font-bold text-xs tracking-wide border ${r === n.id ? "bg-cyan-500/20 text-cyan-400 border-cyan-500/50" : "bg-black/50 text-gray-400 hover:text-gray-300 border-gray-700 hover:border-gray-600"}`,
|
|
285
|
+
children: n.label
|
|
286
286
|
},
|
|
287
|
-
|
|
287
|
+
n.id
|
|
288
288
|
)) })
|
|
289
289
|
] }) }) }) }),
|
|
290
|
-
t && l && /* @__PURE__ */ e("div", { className: "fixed inset-0 z-40 bg-black/50", onClick: () =>
|
|
291
|
-
/* @__PURE__ */
|
|
290
|
+
t && l && /* @__PURE__ */ e("div", { className: "fixed inset-0 z-40 bg-black/50", onClick: () => s(!1), children: /* @__PURE__ */ e("div", { className: "fixed top-0 left-0 w-64 h-full bg-gradient-to-b from-gray-900 to-black border-r border-cyan-500/20", children: /* @__PURE__ */ i("div", { className: "p-6 flex flex-col h-full pt-20", children: [
|
|
291
|
+
/* @__PURE__ */ i("div", { className: "flex items-center space-x-3 mb-8", children: [
|
|
292
292
|
/* @__PURE__ */ e("div", { className: "w-8 h-8 bg-cyan-500 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-white font-bold text-sm", children: "RS" }) }),
|
|
293
293
|
/* @__PURE__ */ e("span", { className: "text-white font-bold text-lg", children: "Sistema Responsivo" })
|
|
294
294
|
] }),
|
|
295
|
-
/* @__PURE__ */ e("nav", { className: "space-y-2", children:
|
|
295
|
+
/* @__PURE__ */ e("nav", { className: "space-y-2", children: a.map((n) => /* @__PURE__ */ e(
|
|
296
296
|
"button",
|
|
297
297
|
{
|
|
298
298
|
onClick: () => {
|
|
299
|
-
|
|
299
|
+
o(n.id), s(!1);
|
|
300
300
|
},
|
|
301
|
-
className: `w-full flex items-center px-4 py-3 rounded-lg transition-all group text-left ${
|
|
302
|
-
children: /* @__PURE__ */ e("span", { className: "font-medium", children:
|
|
301
|
+
className: `w-full flex items-center px-4 py-3 rounded-lg transition-all group text-left ${r === n.id ? "bg-cyan-500/20 text-cyan-400 border border-cyan-500/50" : "text-gray-300 hover:text-cyan-400 hover:bg-cyan-500/10"}`,
|
|
302
|
+
children: /* @__PURE__ */ e("span", { className: "font-medium", children: n.label })
|
|
303
303
|
},
|
|
304
|
-
|
|
304
|
+
n.id
|
|
305
305
|
)) })
|
|
306
306
|
] }) }) })
|
|
307
307
|
] });
|
|
308
|
-
},
|
|
309
|
-
const { isMobile: t, isTablet:
|
|
310
|
-
{ id: "
|
|
311
|
-
{ id: "
|
|
308
|
+
}, F = () => {
|
|
309
|
+
const { isMobile: t, isTablet: r } = x(), { sidebarOpen: o, setSidebarOpen: l } = B(), s = [
|
|
310
|
+
{ id: "home", label: "Inicio" },
|
|
311
|
+
{ id: "about", label: "Acerca" },
|
|
312
|
+
{ id: "contact", label: "Contacto" }
|
|
312
313
|
];
|
|
313
|
-
return /* @__PURE__ */
|
|
314
|
+
return /* @__PURE__ */ i(T, { children: [
|
|
314
315
|
t && /* @__PURE__ */ e(
|
|
315
316
|
"button",
|
|
316
317
|
{
|
|
317
|
-
onClick: () =>
|
|
318
|
-
className: "fixed top-4 left-4 z-50 p-2 rounded-lg text-gray-300 hover:text-
|
|
318
|
+
onClick: () => l(!0),
|
|
319
|
+
className: "fixed top-4 left-4 z-50 p-2 rounded-lg text-gray-300 hover:text-white hover:bg-gray-800 bg-gray-900 border border-gray-700",
|
|
319
320
|
children: /* @__PURE__ */ e("svg", { className: "w-6 h-6", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h16" }) })
|
|
320
321
|
}
|
|
321
322
|
),
|
|
322
|
-
/* @__PURE__ */ e("aside", { className: `
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
`, children: /* @__PURE__ */ s("div", { className: "p-6 flex flex-col h-full", children: [
|
|
327
|
-
/* @__PURE__ */ s("div", { className: "flex items-center space-x-3 mb-8", children: [
|
|
328
|
-
/* @__PURE__ */ e("div", { className: "w-8 h-8 bg-cyan-500 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-white font-bold text-sm", children: "RS" }) }),
|
|
329
|
-
/* @__PURE__ */ s("div", { children: [
|
|
330
|
-
/* @__PURE__ */ e("span", { className: "text-white font-bold text-lg", children: "Sistema Responsivo" }),
|
|
331
|
-
/* @__PURE__ */ e("div", { className: "px-2 py-0.5 text-cyan-400 font-mono bg-black/50 border border-cyan-500/30 rounded text-xs font-bold tracking-widest mt-1", children: i.toUpperCase() })
|
|
332
|
-
] })
|
|
323
|
+
/* @__PURE__ */ e("aside", { className: `bg-gray-900 border-r border-gray-800 ${t ? "hidden" : "w-64 flex-shrink-0"} ${r ? "w-56" : "w-64"}`, children: /* @__PURE__ */ i("div", { className: "p-6 flex flex-col h-full", children: [
|
|
324
|
+
/* @__PURE__ */ i("div", { className: "flex items-center space-x-3 mb-8", children: [
|
|
325
|
+
/* @__PURE__ */ e("div", { className: "w-8 h-8 bg-blue-500 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-white font-bold text-sm", children: "LO" }) }),
|
|
326
|
+
/* @__PURE__ */ e("span", { className: "text-white font-bold text-lg", children: "Tu Aplicación" })
|
|
333
327
|
] }),
|
|
334
|
-
/* @__PURE__ */ e("nav", { className: "space-y-2", children:
|
|
328
|
+
/* @__PURE__ */ e("nav", { className: "space-y-2", children: s.map((a) => /* @__PURE__ */ e(
|
|
335
329
|
"button",
|
|
336
330
|
{
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
children: /* @__PURE__ */ e("span", { className: "font-medium", children: d.label })
|
|
331
|
+
className: "w-full flex items-center px-4 py-3 rounded-lg transition-all text-left text-gray-300 hover:text-white hover:bg-gray-800",
|
|
332
|
+
children: /* @__PURE__ */ e("span", { className: "font-medium", children: a.label })
|
|
340
333
|
},
|
|
341
|
-
|
|
334
|
+
a.id
|
|
342
335
|
)) })
|
|
343
336
|
] }) }),
|
|
344
|
-
t && o && /* @__PURE__ */ e("div", { className: "fixed inset-0 z-40 bg-black/50", onClick: () =>
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
/* @__PURE__ */ e("div", { className: "w-8 h-8 bg-
|
|
347
|
-
/* @__PURE__ */ e("span", { className: "text-white font-bold text-lg", children: "
|
|
337
|
+
t && o && /* @__PURE__ */ e("div", { className: "fixed inset-0 z-40 bg-black/50", onClick: () => l(!1), children: /* @__PURE__ */ e("div", { className: "fixed top-0 left-0 w-64 h-full bg-gray-900 border-r border-gray-800", children: /* @__PURE__ */ i("div", { className: "p-6 flex flex-col h-full pt-20", children: [
|
|
338
|
+
/* @__PURE__ */ i("div", { className: "flex items-center space-x-3 mb-8", children: [
|
|
339
|
+
/* @__PURE__ */ e("div", { className: "w-8 h-8 bg-blue-500 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-white font-bold text-sm", children: "LO" }) }),
|
|
340
|
+
/* @__PURE__ */ e("span", { className: "text-white font-bold text-lg", children: "Tu Aplicación" })
|
|
348
341
|
] }),
|
|
349
|
-
/* @__PURE__ */ e("nav", { className: "space-y-2", children:
|
|
342
|
+
/* @__PURE__ */ e("nav", { className: "space-y-2", children: s.map((a) => /* @__PURE__ */ e(
|
|
350
343
|
"button",
|
|
351
344
|
{
|
|
352
|
-
onClick: () =>
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
className: `w-full flex items-center px-4 py-3 rounded-lg transition-all group text-left ${l === d.id ? "bg-cyan-500/20 text-cyan-400 border border-cyan-500/50" : "text-gray-300 hover:text-cyan-400 hover:bg-cyan-500/10"}`,
|
|
356
|
-
children: /* @__PURE__ */ e("span", { className: "font-medium", children: d.label })
|
|
345
|
+
onClick: () => l(!1),
|
|
346
|
+
className: "w-full flex items-center px-4 py-3 rounded-lg transition-all text-left text-gray-300 hover:text-white hover:bg-gray-800",
|
|
347
|
+
children: /* @__PURE__ */ e("span", { className: "font-medium", children: a.label })
|
|
357
348
|
},
|
|
358
|
-
|
|
349
|
+
a.id
|
|
359
350
|
)) })
|
|
360
351
|
] }) }) })
|
|
361
352
|
] });
|
|
362
|
-
},
|
|
363
|
-
const {
|
|
364
|
-
return /* @__PURE__ */ e("footer", { className: "bg-
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
/* @__PURE__ */
|
|
368
|
-
|
|
369
|
-
/* @__PURE__ */ e("span", { className: "text-white font-semibold text-sm", children: "Responsive System" })
|
|
370
|
-
] }),
|
|
371
|
-
/* @__PURE__ */ e("p", { className: "text-gray-400 text-xs leading-relaxed", children: "Sistema completo de auto-escalado para aplicaciones React + Tailwind CSS" })
|
|
353
|
+
}, H = () => {
|
|
354
|
+
const { breakpoint: t } = x();
|
|
355
|
+
return /* @__PURE__ */ e("footer", { className: "bg-gray-900 border-t border-gray-800", children: /* @__PURE__ */ e("div", { className: "px-4 py-6", children: /* @__PURE__ */ i("div", { className: "max-w-7xl mx-auto", children: [
|
|
356
|
+
/* @__PURE__ */ i("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: [
|
|
357
|
+
/* @__PURE__ */ i("div", { children: [
|
|
358
|
+
/* @__PURE__ */ e("h3", { className: "text-white font-semibold mb-2", children: "Tu Aplicación" }),
|
|
359
|
+
/* @__PURE__ */ e("p", { className: "text-gray-400 text-sm", children: "Descripción de tu aplicación aquí." })
|
|
372
360
|
] }),
|
|
373
|
-
/* @__PURE__ */
|
|
374
|
-
/* @__PURE__ */ e("h3", { className: "text-white font-semibold
|
|
375
|
-
/* @__PURE__ */
|
|
376
|
-
/* @__PURE__ */
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
] }),
|
|
380
|
-
/* @__PURE__ */ s("div", { className: "flex items-center justify-between text-xs", children: [
|
|
381
|
-
/* @__PURE__ */ e("span", { className: "text-gray-400", children: "Layout:" }),
|
|
382
|
-
/* @__PURE__ */ e("span", { className: "text-cyan-400 font-medium", children: t.config.name })
|
|
383
|
-
] }),
|
|
384
|
-
/* @__PURE__ */ s("div", { className: "flex items-center justify-between text-xs", children: [
|
|
385
|
-
/* @__PURE__ */ e("span", { className: "text-gray-400", children: "Resolución:" }),
|
|
386
|
-
/* @__PURE__ */ s("span", { className: "text-cyan-400 font-medium", children: [
|
|
387
|
-
i,
|
|
388
|
-
" × ",
|
|
389
|
-
l
|
|
390
|
-
] })
|
|
391
|
-
] })
|
|
361
|
+
/* @__PURE__ */ i("div", { children: [
|
|
362
|
+
/* @__PURE__ */ e("h3", { className: "text-white font-semibold mb-2", children: "Enlaces" }),
|
|
363
|
+
/* @__PURE__ */ i("ul", { className: "space-y-1 text-gray-400 text-sm", children: [
|
|
364
|
+
/* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: "#", className: "hover:text-white", children: "Inicio" }) }),
|
|
365
|
+
/* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: "#", className: "hover:text-white", children: "Acerca" }) }),
|
|
366
|
+
/* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("a", { href: "#", className: "hover:text-white", children: "Contacto" }) })
|
|
392
367
|
] })
|
|
393
368
|
] }),
|
|
394
|
-
/* @__PURE__ */
|
|
395
|
-
/* @__PURE__ */ e("h3", { className: "text-white font-semibold
|
|
396
|
-
/* @__PURE__ */
|
|
397
|
-
|
|
398
|
-
/* @__PURE__ */ e("
|
|
369
|
+
/* @__PURE__ */ i("div", { children: [
|
|
370
|
+
/* @__PURE__ */ e("h3", { className: "text-white font-semibold mb-2", children: "Info" }),
|
|
371
|
+
/* @__PURE__ */ i("p", { className: "text-gray-400 text-xs", children: [
|
|
372
|
+
"Breakpoint: ",
|
|
373
|
+
/* @__PURE__ */ e("span", { className: "text-blue-400", children: t.toUpperCase() })
|
|
399
374
|
] })
|
|
400
375
|
] })
|
|
401
376
|
] }),
|
|
402
|
-
/* @__PURE__ */ e("div", { className: "border-t border-gray-800 mt-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
/* @__PURE__ */ e("h3", { className: "text-base font-black text-white tracking-tight", children: "Sistema Responsivo" })
|
|
415
|
-
] }),
|
|
416
|
-
/* @__PURE__ */ e("div", { className: "px-2 py-0.5 text-cyan-400 font-mono bg-black/50 border border-cyan-500/30 rounded text-xs font-bold tracking-widest", children: n.toUpperCase() })
|
|
417
|
-
] }),
|
|
418
|
-
/* @__PURE__ */ s("div", { className: "flex items-center space-x-2", children: [
|
|
419
|
-
!t && a.map((c) => /* @__PURE__ */ e(
|
|
420
|
-
"button",
|
|
421
|
-
{
|
|
422
|
-
onClick: () => l(c.id),
|
|
423
|
-
className: `px-3 py-1.5 rounded-lg transition-all font-bold text-xs tracking-wide border ${i === c.id ? "bg-cyan-500/20 text-cyan-400 border-cyan-500/50" : "bg-black/50 text-gray-400 hover:text-gray-300 border-gray-700 hover:border-gray-600"}`,
|
|
424
|
-
children: c.name
|
|
425
|
-
},
|
|
426
|
-
c.id
|
|
427
|
-
)),
|
|
428
|
-
t && /* @__PURE__ */ e(
|
|
429
|
-
"button",
|
|
430
|
-
{
|
|
431
|
-
onClick: () => o(!r),
|
|
432
|
-
className: "p-2 rounded-lg text-gray-300 hover:text-cyan-400 hover:bg-cyan-500/10 transition-colors",
|
|
433
|
-
children: /* @__PURE__ */ e("svg", { className: "w-6 h-6", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h16" }) })
|
|
434
|
-
}
|
|
435
|
-
)
|
|
436
|
-
] })
|
|
437
|
-
] }) }) }),
|
|
438
|
-
t && r && /* @__PURE__ */ e("div", { className: "absolute top-full left-0 right-0 bg-gradient-to-r from-gray-900 via-black to-gray-900 border-b border-cyan-500/20 shadow-2xl z-50", children: /* @__PURE__ */ e("div", { className: "p-4", children: /* @__PURE__ */ e("nav", { className: "space-y-2", children: a.map((c) => /* @__PURE__ */ e(
|
|
439
|
-
"button",
|
|
440
|
-
{
|
|
441
|
-
onClick: () => {
|
|
442
|
-
l(c.id), o(!1);
|
|
443
|
-
},
|
|
444
|
-
className: `w-full text-left px-4 py-3 rounded-lg transition-all font-bold text-sm tracking-wide border ${i === c.id ? "bg-cyan-500/20 text-cyan-400 border-cyan-500/50" : "bg-black/50 text-gray-400 hover:text-gray-300 border-gray-700 hover:border-gray-600"}`,
|
|
445
|
-
children: c.name
|
|
446
|
-
},
|
|
447
|
-
c.id
|
|
448
|
-
)) }) }) })
|
|
449
|
-
] }) });
|
|
450
|
-
}, P = ({ children: t }) => {
|
|
451
|
-
const { layoutUtils: n } = b();
|
|
452
|
-
return /* @__PURE__ */ s("div", { className: "min-h-screen bg-black flex flex-col", children: [
|
|
453
|
-
/* @__PURE__ */ e(pe, {}),
|
|
454
|
-
/* @__PURE__ */ e("main", { className: "flex-1", children: /* @__PURE__ */ e("div", { className: n.getContainerClass(), children: t }) }),
|
|
455
|
-
/* @__PURE__ */ e(z, {})
|
|
456
|
-
] });
|
|
457
|
-
}, ge = ({ children: t }) => {
|
|
458
|
-
const { layoutUtils: n } = b();
|
|
459
|
-
return /* @__PURE__ */ s("div", { className: "min-h-screen bg-black flex", children: [
|
|
460
|
-
/* @__PURE__ */ e(H, {}),
|
|
461
|
-
/* @__PURE__ */ e("main", { className: "flex-1 overflow-auto", children: /* @__PURE__ */ e("div", { className: n.getContainerClass(), children: t }) })
|
|
462
|
-
] });
|
|
463
|
-
}, ye = ({ children: t }) => /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(ge, { children: t }) }), fe = ({ children: t }) => {
|
|
464
|
-
const { layoutUtils: n } = b(), { setSidebarOpen: i } = U();
|
|
465
|
-
return /* @__PURE__ */ s("div", { className: "min-h-screen bg-black flex flex-col", children: [
|
|
466
|
-
/* @__PURE__ */ e("div", { className: "sticky top-0 z-50", children: /* @__PURE__ */ e("nav", { className: "bg-gradient-to-r from-gray-900 via-black to-gray-900 border-b border-cyan-500/20 shadow-2xl relative", children: /* @__PURE__ */ e("div", { className: "w-full", children: /* @__PURE__ */ e("div", { className: "px-4 py-4", children: /* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ s("div", { className: "flex items-center space-x-2", children: [
|
|
467
|
-
/* @__PURE__ */ e(
|
|
468
|
-
"button",
|
|
469
|
-
{
|
|
470
|
-
onClick: () => i(!0),
|
|
471
|
-
className: "p-2 rounded-lg text-gray-300 hover:text-cyan-400 hover:bg-cyan-500/10 transition-colors",
|
|
472
|
-
children: /* @__PURE__ */ e("svg", { className: "w-6 h-6", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h16" }) })
|
|
473
|
-
}
|
|
474
|
-
),
|
|
475
|
-
/* @__PURE__ */ s("div", { className: "flex items-center space-x-2", children: [
|
|
476
|
-
/* @__PURE__ */ e("div", { className: "w-1.5 h-1.5 bg-cyan-400 rounded-full shadow-lg shadow-cyan-400/50 animate-pulse" }),
|
|
477
|
-
/* @__PURE__ */ e("h3", { className: "text-base font-black text-white tracking-tight", children: "Sistema Responsivo" })
|
|
478
|
-
] }),
|
|
479
|
-
/* @__PURE__ */ e("div", { className: "px-2 py-0.5 text-cyan-400 font-mono bg-black/50 border border-cyan-500/30 rounded text-xs font-bold tracking-widest", children: "DASHBOARD" })
|
|
480
|
-
] }) }) }) }) }) }),
|
|
481
|
-
/* @__PURE__ */ s("div", { className: "flex flex-1", children: [
|
|
482
|
-
/* @__PURE__ */ e(H, {}),
|
|
483
|
-
/* @__PURE__ */ e("main", { className: "flex-1 overflow-auto", children: /* @__PURE__ */ e("div", { className: n.getContainerClass(), children: t }) })
|
|
377
|
+
/* @__PURE__ */ e("div", { className: "border-t border-gray-800 mt-6 pt-4 text-center", children: /* @__PURE__ */ i("p", { className: "text-gray-500 text-xs", children: [
|
|
378
|
+
"© ",
|
|
379
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
380
|
+
" Tu Aplicación. Todos los derechos reservados."
|
|
381
|
+
] }) })
|
|
382
|
+
] }) }) });
|
|
383
|
+
}, xe = () => {
|
|
384
|
+
const { isMobile: t } = x();
|
|
385
|
+
return /* @__PURE__ */ e("nav", { className: "sticky top-0 z-50 bg-gray-900 border-b border-gray-800", children: /* @__PURE__ */ e("div", { className: "px-4 py-4", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
|
|
386
|
+
/* @__PURE__ */ i("div", { className: "flex items-center space-x-3", children: [
|
|
387
|
+
/* @__PURE__ */ e("div", { className: "w-8 h-8 bg-blue-500 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ e("span", { className: "text-white font-bold text-sm", children: "LO" }) }),
|
|
388
|
+
/* @__PURE__ */ e("h1", { className: "text-white font-semibold text-lg", children: "Tu Aplicación" })
|
|
484
389
|
] }),
|
|
485
|
-
/* @__PURE__ */ e(
|
|
486
|
-
] });
|
|
487
|
-
},
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
390
|
+
t && /* @__PURE__ */ e("button", { className: "p-2 text-gray-400 hover:text-white", children: /* @__PURE__ */ e("svg", { className: "w-6 h-6", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ e("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h16" }) }) })
|
|
391
|
+
] }) }) });
|
|
392
|
+
}, P = ({ children: t }) => /* @__PURE__ */ i("div", { className: "min-h-screen bg-gray-50 flex flex-col", children: [
|
|
393
|
+
/* @__PURE__ */ e(xe, {}),
|
|
394
|
+
/* @__PURE__ */ e("main", { className: "flex-1", children: t }),
|
|
395
|
+
/* @__PURE__ */ e(H, {})
|
|
396
|
+
] }), ge = ({ children: t }) => /* @__PURE__ */ i("div", { className: "min-h-screen bg-gray-50 flex", children: [
|
|
397
|
+
/* @__PURE__ */ e(F, {}),
|
|
398
|
+
/* @__PURE__ */ e("main", { className: "flex-1 overflow-auto", children: t })
|
|
399
|
+
] }), fe = ({ children: t }) => /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(ge, { children: t }) }), ye = ({ children: t }) => /* @__PURE__ */ e("div", { className: "min-h-screen bg-gray-50 flex flex-col", children: /* @__PURE__ */ i("div", { className: "flex flex-1", children: [
|
|
400
|
+
/* @__PURE__ */ e(F, {}),
|
|
401
|
+
/* @__PURE__ */ i("main", { className: "flex-1 overflow-auto flex flex-col", children: [
|
|
402
|
+
/* @__PURE__ */ e("div", { className: "flex-1", children: t }),
|
|
403
|
+
/* @__PURE__ */ e(H, {})
|
|
404
|
+
] })
|
|
405
|
+
] }) }), ve = ({ children: t }) => /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e(ye, { children: t }) }), Ne = ({ children: t }) => /* @__PURE__ */ e("div", { className: "min-h-screen bg-gray-50", children: /* @__PURE__ */ e("main", { children: t }) }), Pe = ({ compact: t = !1 }) => {
|
|
406
|
+
const { current: r, setLayout: o, config: l } = be();
|
|
407
|
+
return t ? /* @__PURE__ */ i("div", { className: "bg-black/50 rounded-lg p-3 border border-gray-700", children: [
|
|
493
408
|
/* @__PURE__ */ e("div", { className: "text-xs text-gray-500 mb-2", children: "Layout:" }),
|
|
494
409
|
/* @__PURE__ */ e(
|
|
495
410
|
"select",
|
|
496
411
|
{
|
|
497
|
-
value:
|
|
498
|
-
onChange: (
|
|
412
|
+
value: r,
|
|
413
|
+
onChange: (s) => o(s.target.value),
|
|
499
414
|
className: "w-full bg-gray-800 text-white text-sm p-2 rounded border border-gray-600 focus:ring-1 focus:ring-cyan-500 focus:border-transparent",
|
|
500
|
-
children: Object.entries(N).map(([
|
|
415
|
+
children: Object.entries(N).map(([s, a]) => /* @__PURE__ */ e("option", { value: s, children: a.name }, s))
|
|
501
416
|
}
|
|
502
417
|
)
|
|
503
|
-
] }) : /* @__PURE__ */
|
|
418
|
+
] }) : /* @__PURE__ */ i("div", { className: "bg-black/50 backdrop-blur-sm rounded-lg p-4 border border-cyan-500/30", children: [
|
|
504
419
|
/* @__PURE__ */ e("h3", { className: "text-white font-semibold mb-3", children: "Cambiar Layout" }),
|
|
505
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3", children: Object.entries(N).map(([
|
|
420
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3", children: Object.entries(N).map(([s, a]) => /* @__PURE__ */ i(
|
|
506
421
|
"button",
|
|
507
422
|
{
|
|
508
|
-
onClick: () =>
|
|
423
|
+
onClick: () => o(s),
|
|
509
424
|
className: `
|
|
510
425
|
p-4 rounded-lg border transition-all text-left
|
|
511
|
-
${
|
|
426
|
+
${r === s ? "border-cyan-500 bg-cyan-500/10 text-cyan-400" : "border-gray-700 bg-black/30 text-gray-300 hover:border-gray-600"}
|
|
512
427
|
`,
|
|
513
428
|
children: [
|
|
514
|
-
/* @__PURE__ */ e("div", { className: "font-semibold mb-1", children:
|
|
515
|
-
/* @__PURE__ */ e("div", { className: "text-xs opacity-75", children:
|
|
429
|
+
/* @__PURE__ */ e("div", { className: "font-semibold mb-1", children: a.name }),
|
|
430
|
+
/* @__PURE__ */ e("div", { className: "text-xs opacity-75", children: a.description })
|
|
516
431
|
]
|
|
517
432
|
},
|
|
518
|
-
|
|
433
|
+
s
|
|
519
434
|
)) }),
|
|
520
|
-
/* @__PURE__ */
|
|
435
|
+
/* @__PURE__ */ i("div", { className: "mt-4 p-3 bg-gray-900/50 rounded-lg", children: [
|
|
521
436
|
/* @__PURE__ */ e("div", { className: "text-xs text-gray-500 mb-1", children: "Layout Actual:" }),
|
|
522
437
|
/* @__PURE__ */ e("div", { className: "text-sm text-cyan-400 font-medium", children: l.name }),
|
|
523
438
|
/* @__PURE__ */ e("div", { className: "text-xs text-gray-400", children: l.description })
|
|
@@ -526,31 +441,31 @@ const me = () => {
|
|
|
526
441
|
};
|
|
527
442
|
export {
|
|
528
443
|
De as AVAILABLE_LAYOUTS,
|
|
529
|
-
|
|
530
|
-
|
|
444
|
+
u as DEFAULT_BREAKPOINTS,
|
|
445
|
+
$ as DEFAULT_LAYOUT,
|
|
531
446
|
ve as DashboardLayout,
|
|
532
447
|
P as DefaultLayout,
|
|
533
|
-
|
|
534
|
-
|
|
448
|
+
H as Footer,
|
|
449
|
+
Ae as Header,
|
|
535
450
|
N as LAYOUT_CONFIG,
|
|
536
|
-
|
|
537
|
-
|
|
451
|
+
Pe as LayoutSwitcher,
|
|
452
|
+
Oe as MainLayout,
|
|
538
453
|
Ne as MinimalLayout,
|
|
539
|
-
|
|
454
|
+
xe as Navigation,
|
|
540
455
|
Se as NavigationProvider,
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
456
|
+
Me as ResponsiveLayoutProvider,
|
|
457
|
+
oe as ResponsiveProvider,
|
|
458
|
+
F as Sidebar,
|
|
459
|
+
fe as SidebarLayout,
|
|
460
|
+
U as SidebarProvider,
|
|
461
|
+
h as getBreakpointIndex,
|
|
547
462
|
Ce as getBreakpointValue,
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
463
|
+
le as getCurrentBreakpoint,
|
|
464
|
+
be as useLayout,
|
|
465
|
+
he as useNavigation,
|
|
466
|
+
ue as useResponsive,
|
|
467
|
+
x as useResponsiveLayout,
|
|
468
|
+
me as useResponsiveLayoutContext,
|
|
469
|
+
B as useSidebar
|
|
555
470
|
};
|
|
556
471
|
//# sourceMappingURL=responsive-system.mjs.map
|