@quoreadmin/ui 1.10.6 → 1.10.9
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.css +1 -1
- package/dist/index131.js +97 -95
- package/dist/index138.js +139 -132
- package/dist/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +10 -10
- package/dist/index195.js +10 -10
- package/dist/index198.js +17 -17
- package/dist/index201.js +28 -28
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index213.js +29 -84
- package/dist/index214.js +109 -400
- package/dist/index215.js +36 -22
- package/dist/index216.js +26 -33
- package/dist/index217.js +31 -111
- package/dist/index218.js +50 -35
- package/dist/index219.js +43 -26
- package/dist/index220.js +3 -35
- package/dist/index221.js +9 -51
- package/dist/index222.js +18 -42
- package/dist/index223.js +10 -4
- package/dist/index224.js +10 -9
- package/dist/index225.js +38 -18
- package/dist/index226.js +21 -10
- package/dist/index227.js +88 -10
- package/dist/index228.js +403 -35
- package/dist/index229.js +22 -21
- package/dist/index230.js +160 -21
- package/dist/index231.js +228 -22
- package/dist/index232.js +36 -19
- package/dist/index233.js +9 -835
- package/dist/index234.js +104 -645
- package/dist/index235.js +20 -176
- package/dist/index236.js +12 -12
- package/dist/index237.js +15 -13
- package/dist/index238.js +198 -21
- package/dist/index239.js +69 -19
- package/dist/index240.js +34 -20
- package/dist/index241.js +39 -19
- package/dist/index242.js +127 -3
- package/dist/index243.js +24 -173
- package/dist/index244.js +78 -131
- package/dist/index245.js +19 -160
- package/dist/index246.js +20 -1223
- package/dist/index247.js +19 -126
- package/dist/index248.js +11 -11
- package/dist/index249.js +11 -11
- package/dist/index250.js +13 -11
- package/dist/index251.js +11 -13
- package/dist/index252.js +819 -21
- package/dist/index253.js +701 -28
- package/dist/index254.js +176 -20
- package/dist/index255.js +14 -12
- package/dist/index256.js +20 -2
- package/dist/index257.js +20 -2
- package/dist/index258.js +3 -3636
- package/dist/index259.js +181 -49
- package/dist/index260.js +128 -72
- package/dist/index261.js +1216 -45
- package/dist/index262.js +20 -215
- package/dist/index263.js +22 -10
- package/dist/index264.js +22 -57
- package/dist/index265.js +29 -61
- package/dist/index266.js +20 -54
- package/dist/index267.js +20 -75
- package/dist/index268.js +2 -726
- package/dist/index269.js +2 -42
- package/dist/index270.js +3614 -42
- package/dist/index271.js +54 -10
- package/dist/index272.js +68 -696
- package/dist/index273.js +51 -819
- package/dist/index274.js +206 -71
- package/dist/index275.js +10 -20
- package/dist/index276.js +57 -20
- package/dist/index277.js +60 -160
- package/dist/index278.js +51 -225
- package/dist/index279.js +75 -37
- package/dist/index280.js +726 -10
- package/dist/index281.js +42 -22
- package/dist/index282.js +55 -190
- package/dist/index283.js +11 -70
- package/dist/index284.js +704 -33
- package/dist/index285.js +817 -37
- package/dist/index290.js +3 -1534
- package/dist/index291.js +23 -382
- package/dist/index292.js +54 -2731
- package/dist/index293.js +71 -78
- package/dist/index294.js +26 -3792
- package/dist/index295.js +21 -59
- package/dist/index296.js +22 -15
- package/dist/index297.js +16 -84
- package/dist/index298.js +16 -201
- package/dist/index299.js +23 -246
- package/dist/index300.js +2 -79
- package/dist/index301.js +1534 -79
- package/dist/index302.js +386 -22
- package/dist/index303.js +2698 -902
- package/dist/index304.js +85 -21
- package/dist/index305.js +3792 -20
- package/dist/index306.js +59 -19
- package/dist/index307.js +77 -67
- package/dist/index308.js +21 -18
- package/dist/index309.js +934 -18
- package/dist/index310.js +21 -53
- package/dist/index311.js +11 -13
- package/dist/index312.js +11 -13
- package/dist/index313.js +68 -62
- package/dist/index314.js +19 -2
- package/dist/index315.js +19 -3
- package/dist/index316.js +21 -26
- package/dist/index317.js +21 -261
- package/dist/index318.js +63 -6
- package/dist/index319.js +15 -140
- package/dist/index320.js +77 -66
- package/dist/index321.js +195 -80
- package/dist/index322.js +245 -28
- package/dist/index323.js +260 -14
- package/dist/index324.js +5 -74
- package/dist/index325.js +139 -3
- package/dist/index326.js +73 -2
- package/dist/index327.js +83 -79
- package/dist/index328.js +26 -50
- package/dist/index329.js +15 -5
- package/dist/index330.js +74 -4
- package/dist/index331.js +3 -178
- package/dist/index332.js +2 -63
- package/dist/index333.js +82 -74
- package/dist/index334.js +52 -25
- package/dist/index335.js +5 -21
- package/dist/index336.js +4 -21
- package/dist/index337.js +178 -15
- package/dist/index338.js +62 -16
- package/dist/index339.js +74 -22
- package/dist/index340.js +8 -36
- package/dist/index341.js +12 -19
- package/dist/index342.js +54 -19
- package/dist/index343.js +11 -63
- package/dist/index344.js +14 -37
- package/dist/index345.js +57 -8
- package/dist/index346.js +51 -12
- package/dist/index347.js +25 -49
- package/dist/index348.js +2 -12
- package/dist/index349.js +5 -14
- package/dist/index350.js +2 -58
- package/dist/index351.js +23 -52
- package/dist/index352.js +38 -28
- package/dist/index353.js +2 -2
- package/dist/index354.js +10 -4
- package/dist/index355.js +20 -2
- package/dist/index356.js +9 -22
- package/dist/index357.js +9 -40
- package/dist/index358.js +17 -2
- package/dist/index359.js +2 -11
- package/dist/index360.js +9 -20
- package/dist/index361.js +10 -10
- package/dist/index362.js +13 -9
- package/dist/index363.js +36 -16
- package/dist/index364.js +20 -2
- package/dist/index365.js +20 -9
- package/dist/index366.js +63 -9
- package/dist/index367.js +37 -14
- package/dist/index368.js +1 -1
- package/dist/index369.js +1 -1
- package/dist/index370.js +5 -5
- package/dist/index372.js +2 -2
- package/dist/index374.js +2 -2
- package/dist/index376.js +1 -1
- package/dist/index378.js +4 -4
- package/dist/index379.js +3 -3
- package/dist/index38.js +2 -2
- package/dist/index382.js +16 -97
- package/dist/index383.js +97 -16
- package/dist/index384.js +1 -1
- package/dist/index385.js +3 -3
- package/dist/index390.js +1 -1
- package/dist/index392.js +1 -1
- package/dist/index393.js +3 -3
- package/dist/index394.js +3 -3
- package/dist/index402.js +1 -1
- package/dist/index41.js +17 -12
- package/dist/index45.js +1 -1
- package/dist/src/components/comment/comment.d.ts +10 -6
- package/dist/src/components/comment/comment.stories.d.ts +10 -6
- package/dist/src/components/comment-section/comment-section.d.ts +10 -6
- package/dist/src/components/comment-section/comment-section.stories.d.ts +10 -6
- package/dist/src/components/data-filter/data-filter.d.ts +10 -6
- package/dist/src/components/data-list/data-list.d.ts +10 -6
- package/dist/src/components/grid/grid.stories.d.ts +20 -12
- package/dist/src/components/page-layout/page-layout.vue.d.ts +2 -0
- package/dist/src/components/popover/popover.d.ts +10 -6
- package/dist/src/components/popover/popover.stories.d.ts +70 -42
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +10 -6
- package/dist/src/views/lists.vue.d.ts +20 -12
- package/dist/src/views/tables.vue.d.ts +10 -6
- package/package.json +1 -1
package/dist/index131.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as G, useSlots as I, ref as c, computed as m, onMounted as J, onUnmounted as P, resolveComponent as Q, openBlock as w, createElementBlock as b, normalizeClass as a, createElementVNode as d, normalizeStyle as C, unref as H, renderSlot as u, createCommentVNode as S, createVNode as X } from "vue";
|
|
2
2
|
import s from "./index57.js";
|
|
3
|
-
const
|
|
3
|
+
const Z = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-none text-left" }, _ = 100, ee = "4.5rem", oe = "4.8125rem", q = 80, ae = /* @__PURE__ */ G({
|
|
4
4
|
__name: "page-layout",
|
|
5
5
|
props: {
|
|
6
6
|
headerBackgroundColor: { default: "green-20" },
|
|
@@ -26,22 +26,22 @@ const Q = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
|
|
|
26
26
|
adjustForKeyboard: { type: Boolean, default: !1 }
|
|
27
27
|
},
|
|
28
28
|
emits: ["update:sidebarCollapsed"],
|
|
29
|
-
setup(o, { expose:
|
|
30
|
-
const l = o,
|
|
31
|
-
let y = 0, x = !1,
|
|
32
|
-
const
|
|
29
|
+
setup(o, { expose: K, emit: D }) {
|
|
30
|
+
const l = o, N = D, A = I(), k = c(null), p = c(null), v = c(!0), n = c(!1), f = c(!1), z = c(!1), B = c(0);
|
|
31
|
+
let y = 0, x = !1, E = 0, V = 0;
|
|
32
|
+
const h = m(() => !!A.sidebar), g = m(() => l.headerFixed !== void 0 ? l.headerFixed : h.value), r = m({
|
|
33
33
|
get: () => l.sidebarCollapsed,
|
|
34
|
-
set: (e) =>
|
|
35
|
-
}),
|
|
36
|
-
() =>
|
|
37
|
-
),
|
|
38
|
-
() => `${l.headerTop +
|
|
39
|
-
),
|
|
40
|
-
() => `calc(100vh - ${l.headerTop +
|
|
41
|
-
),
|
|
42
|
-
() =>
|
|
43
|
-
),
|
|
44
|
-
const e =
|
|
34
|
+
set: (e) => N("update:sidebarCollapsed", e)
|
|
35
|
+
}), U = m(
|
|
36
|
+
() => h.value && l.sidebarCollapsible && s.md
|
|
37
|
+
), Y = m(
|
|
38
|
+
() => `${l.headerTop + q}px`
|
|
39
|
+
), L = m(
|
|
40
|
+
() => `calc(100vh - ${l.headerTop + q}px)`
|
|
41
|
+
), F = m(
|
|
42
|
+
() => r.value ? l.sidebarCollapsedWidth : l.sidebarWidth
|
|
43
|
+
), M = () => {
|
|
44
|
+
const e = p.value, t = !s.md && e;
|
|
45
45
|
return {
|
|
46
46
|
scrollY: t ? e.scrollTop : window.scrollY,
|
|
47
47
|
atTop: t ? e.scrollTop <= 0 : window.scrollY <= 0,
|
|
@@ -49,62 +49,64 @@ const Q = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
|
|
|
49
49
|
};
|
|
50
50
|
}, T = () => {
|
|
51
51
|
x || (window.requestAnimationFrame(() => {
|
|
52
|
-
const { scrollY: e, atTop: t, atBottom: i } =
|
|
53
|
-
if (
|
|
52
|
+
const { scrollY: e, atTop: t, atBottom: i } = M();
|
|
53
|
+
if (v.value = t, n.value = i, l.headerHideOnScroll && (g.value || !s.md)) {
|
|
54
54
|
if (e <= l.headerHideScrollThreshold) {
|
|
55
|
-
|
|
55
|
+
f.value = !1, y = e, x = !1;
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
if (i) {
|
|
59
59
|
y = e, x = !1;
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
Math.abs(
|
|
62
|
+
const j = Math.max(0, e), O = j - y;
|
|
63
|
+
Math.abs(O) > 15 && (f.value = O > 0, y = j);
|
|
64
64
|
} else
|
|
65
|
-
|
|
65
|
+
f.value = !1;
|
|
66
66
|
x = !1;
|
|
67
67
|
}), x = !0);
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
},
|
|
68
|
+
}, W = () => {
|
|
69
|
+
r.value = !r.value;
|
|
70
|
+
}, R = () => {
|
|
71
71
|
if (!l.adjustForKeyboard || s.md) return;
|
|
72
|
-
const e = window.visualViewport?.height ?? window.innerHeight, t =
|
|
73
|
-
if (t <=
|
|
74
|
-
|
|
72
|
+
const e = window.visualViewport?.height ?? window.innerHeight, t = E - e;
|
|
73
|
+
if (t <= _)
|
|
74
|
+
E = window.innerHeight, V = k.value?.clientHeight ?? window.innerHeight, B.value = 0;
|
|
75
75
|
else {
|
|
76
|
-
const i = Math.max(0,
|
|
77
|
-
|
|
76
|
+
const i = k.value?.clientHeight ?? window.innerHeight, $ = Math.max(0, V - i);
|
|
77
|
+
B.value = Math.max(0, t - $);
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
-
return
|
|
81
|
-
|
|
80
|
+
return J(() => {
|
|
81
|
+
E = window.innerHeight, V = k.value?.clientHeight ?? window.innerHeight, window.addEventListener("scroll", T, { passive: !0 }), p.value && p.value.addEventListener("scroll", T, {
|
|
82
82
|
passive: !0
|
|
83
83
|
});
|
|
84
|
-
const { scrollY: e, atTop: t, atBottom: i } =
|
|
85
|
-
y = e,
|
|
86
|
-
}),
|
|
87
|
-
window.removeEventListener("scroll", T),
|
|
88
|
-
}),
|
|
89
|
-
const i =
|
|
90
|
-
return w(),
|
|
84
|
+
const { scrollY: e, atTop: t, atBottom: i } = M();
|
|
85
|
+
y = e, v.value = t, n.value = i, l.adjustForKeyboard && window.visualViewport?.addEventListener("resize", R);
|
|
86
|
+
}), P(() => {
|
|
87
|
+
window.removeEventListener("scroll", T), p.value?.removeEventListener("scroll", T), window.visualViewport?.removeEventListener("resize", R);
|
|
88
|
+
}), K({ scrolledToTop: v, scrolledToBottom: n, headerHidden: f, keyboardOffset: B }), (e, t) => {
|
|
89
|
+
const i = Q("q-icon");
|
|
90
|
+
return w(), b("div", {
|
|
91
|
+
ref_key: "rootRef",
|
|
92
|
+
ref: k,
|
|
91
93
|
class: a([
|
|
92
94
|
"page-layout",
|
|
93
95
|
`bg-${o.containerBackgroundColor}`,
|
|
94
96
|
"sm-down:absolute sm-down:inset-x-0 sm-down:top-0 sm-down:bottom-0"
|
|
95
97
|
])
|
|
96
98
|
}, [
|
|
97
|
-
|
|
99
|
+
d("div", {
|
|
98
100
|
class: a([
|
|
99
101
|
"page-layout__header",
|
|
100
102
|
"flex items-center justify-center",
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
{ "page-layout__header--hidden":
|
|
103
|
+
H(s).md ? `bg-${o.containerBackgroundColor}` : "",
|
|
104
|
+
g.value ? "fixed left-0 w-full sm-down:z-50 md:z-[45] md:pt-6 md:px-6" : "md:mb-4 relative sm-down:absolute sm-down:top-0 sm-down:inset-x-0 sm-down:z-50",
|
|
105
|
+
{ "page-layout__header--hidden": f.value }
|
|
104
106
|
]),
|
|
105
|
-
style: C(
|
|
107
|
+
style: C(g.value ? { top: `${o.headerTop}px` } : void 0)
|
|
106
108
|
}, [
|
|
107
|
-
|
|
109
|
+
d("div", {
|
|
108
110
|
class: a([
|
|
109
111
|
"page-layout__header-bar",
|
|
110
112
|
"flex items-center text-left md:rounded-lg",
|
|
@@ -114,156 +116,156 @@ const Q = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
|
|
|
114
116
|
`text-${o.headerColor}`,
|
|
115
117
|
o.headerBarClass,
|
|
116
118
|
{
|
|
117
|
-
"md:shadow-[0_0.375rem_0.5rem_0_rgba(0,0,0,0.05)] md:shadow-gray-20":
|
|
119
|
+
"md:shadow-[0_0.375rem_0.5rem_0_rgba(0,0,0,0.05)] md:shadow-gray-20": g.value && (!v.value || o.headerShowShadow)
|
|
118
120
|
}
|
|
119
121
|
])
|
|
120
122
|
}, [
|
|
121
|
-
|
|
123
|
+
d("h1", Z, [
|
|
122
124
|
u(e.$slots, "header", {
|
|
123
|
-
scrolledToTop:
|
|
125
|
+
scrolledToTop: v.value,
|
|
124
126
|
scrolledToBottom: n.value
|
|
125
127
|
}, void 0, !0)
|
|
126
128
|
]),
|
|
127
129
|
u(e.$slots, "header-actions", {}, void 0, !0)
|
|
128
130
|
], 2)
|
|
129
131
|
], 6),
|
|
130
|
-
|
|
132
|
+
d("div", {
|
|
131
133
|
ref_key: "contentRef",
|
|
132
|
-
ref:
|
|
134
|
+
ref: p,
|
|
133
135
|
class: a([
|
|
134
136
|
"page-layout__content",
|
|
135
137
|
"sm-down:absolute sm-down:left-0 sm-down:right-0",
|
|
136
138
|
"sm-down:overflow-y-auto sm-down:scroll-smooth sm-down:overscroll-none",
|
|
137
|
-
{ "md:pt-[4.5rem]":
|
|
138
|
-
{ "md:mb-[0.5rem]":
|
|
139
|
+
{ "md:pt-[4.5rem]": g.value },
|
|
140
|
+
{ "md:mb-[0.5rem]": g.value && l.footerVisible },
|
|
139
141
|
o.contentClass
|
|
140
142
|
]),
|
|
141
143
|
style: C({
|
|
142
|
-
"--sm-top":
|
|
143
|
-
"--sm-bottom": l.footerVisible ?
|
|
144
|
-
"--keyboard-offset": `${
|
|
144
|
+
"--sm-top": f.value ? "0px" : ee,
|
|
145
|
+
"--sm-bottom": l.footerVisible ? oe : "0px",
|
|
146
|
+
"--keyboard-offset": `${B.value}px`
|
|
145
147
|
})
|
|
146
148
|
}, [
|
|
147
|
-
|
|
149
|
+
d("div", {
|
|
148
150
|
class: a([
|
|
149
151
|
"page-layout__content-inner",
|
|
150
|
-
{ "md:flex md:gap-4":
|
|
152
|
+
{ "md:flex md:gap-4": h.value }
|
|
151
153
|
])
|
|
152
154
|
}, [
|
|
153
|
-
|
|
155
|
+
h.value && H(s).md ? (w(), b("div", {
|
|
154
156
|
key: 0,
|
|
155
157
|
class: a([
|
|
156
158
|
"page-layout__sidebar",
|
|
157
159
|
"shrink-0 flex flex-col gap-4",
|
|
158
160
|
"md:transition-[width] md:duration-300",
|
|
159
|
-
|
|
160
|
-
{ "!overflow-hidden":
|
|
161
|
+
F.value,
|
|
162
|
+
{ "!overflow-hidden": r.value },
|
|
161
163
|
o.sidebarClass
|
|
162
164
|
]),
|
|
163
|
-
onMouseenter: t[0] || (t[0] = (
|
|
164
|
-
onMouseleave: t[1] || (t[1] = (
|
|
165
|
+
onMouseenter: t[0] || (t[0] = ($) => z.value = !0),
|
|
166
|
+
onMouseleave: t[1] || (t[1] = ($) => z.value = !1)
|
|
165
167
|
}, [
|
|
166
|
-
|
|
168
|
+
d("div", {
|
|
167
169
|
class: a([
|
|
168
170
|
"page-layout__sidebar-inner",
|
|
169
171
|
"fixed z-10 md:pb-6 md:pt-4 overflow-y-auto",
|
|
170
172
|
`bg-${o.containerBackgroundColor}`,
|
|
171
|
-
|
|
172
|
-
{ "!overflow-hidden":
|
|
173
|
+
F.value,
|
|
174
|
+
{ "!overflow-hidden": r.value }
|
|
173
175
|
]),
|
|
174
176
|
style: C({
|
|
175
|
-
top:
|
|
176
|
-
height:
|
|
177
|
+
top: Y.value,
|
|
178
|
+
height: L.value
|
|
177
179
|
})
|
|
178
180
|
}, [
|
|
179
181
|
u(e.$slots, "sidebar", {}, void 0, !0)
|
|
180
182
|
], 6),
|
|
181
|
-
|
|
183
|
+
r.value ? (w(), b("div", {
|
|
182
184
|
key: 0,
|
|
183
185
|
class: "fixed cursor-pointer w-12 rounded-lg bg-white z-10",
|
|
184
186
|
style: C({
|
|
185
|
-
top: `calc(${
|
|
186
|
-
height: `calc(${
|
|
187
|
+
top: `calc(${Y.value} + 1rem)`,
|
|
188
|
+
height: `calc(${L.value} - 2.5rem)`
|
|
187
189
|
}),
|
|
188
|
-
onClick:
|
|
189
|
-
}, null, 4)) :
|
|
190
|
-
|
|
190
|
+
onClick: W
|
|
191
|
+
}, null, 4)) : S("", !0),
|
|
192
|
+
U.value && (z.value || r.value) ? (w(), b("div", {
|
|
191
193
|
key: 1,
|
|
192
194
|
class: a([
|
|
193
195
|
"page-layout__sidebar-toggle",
|
|
194
196
|
"cursor-pointer fixed z-30",
|
|
195
197
|
"bg-white rounded",
|
|
196
198
|
"transition-all duration-300 ease-in-out",
|
|
197
|
-
{ "border border-gray-10": !
|
|
199
|
+
{ "border border-gray-10": !r.value }
|
|
198
200
|
]),
|
|
199
201
|
style: C({
|
|
200
202
|
top: "calc(50vh + 97px)",
|
|
201
203
|
// Expanded: sidebar width minus half the button (lg: 23rem - 0.875rem, md: 19rem - 0.875rem).
|
|
202
204
|
// Collapsed: inset from the left edge.
|
|
203
|
-
marginLeft:
|
|
205
|
+
marginLeft: r.value ? "0.875rem" : H(s).lg ? "22.125rem" : "18.125rem"
|
|
204
206
|
}),
|
|
205
|
-
onClick:
|
|
207
|
+
onClick: W
|
|
206
208
|
}, [
|
|
207
|
-
u(e.$slots, "sidebar-toggle", { collapsed:
|
|
208
|
-
|
|
209
|
+
u(e.$slots, "sidebar-toggle", { collapsed: r.value }, () => [
|
|
210
|
+
X(i, {
|
|
209
211
|
icon: "double-chevron-right",
|
|
210
212
|
color: "inkwell-30",
|
|
211
213
|
type: "",
|
|
212
214
|
class: a([
|
|
213
215
|
"page-layout__sidebar-toggle-icon",
|
|
214
216
|
"w-6 h-6 p-1 text-inkwell-30",
|
|
215
|
-
{ "rotate-180":
|
|
217
|
+
{ "rotate-180": r.value }
|
|
216
218
|
])
|
|
217
219
|
}, null, 8, ["class"])
|
|
218
220
|
], !0)
|
|
219
|
-
], 6)) :
|
|
220
|
-
], 34)) :
|
|
221
|
-
|
|
221
|
+
], 6)) : S("", !0)
|
|
222
|
+
], 34)) : S("", !0),
|
|
223
|
+
d("div", {
|
|
222
224
|
class: a([
|
|
223
225
|
"page-layout__main",
|
|
224
226
|
"block w-full grow leading-normal",
|
|
225
|
-
{ "md:mb-4":
|
|
227
|
+
{ "md:mb-4": h.value },
|
|
226
228
|
o.mainClass
|
|
227
229
|
])
|
|
228
230
|
}, [
|
|
229
231
|
u(e.$slots, "default", {
|
|
230
|
-
sidebarCollapsed:
|
|
231
|
-
scrolledToTop:
|
|
232
|
+
sidebarCollapsed: r.value,
|
|
233
|
+
scrolledToTop: v.value,
|
|
232
234
|
scrolledToBottom: n.value
|
|
233
235
|
}, void 0, !0)
|
|
234
236
|
], 2)
|
|
235
237
|
], 2)
|
|
236
238
|
], 6),
|
|
237
239
|
u(e.$slots, "overlay", {}, void 0, !0),
|
|
238
|
-
l.footerVisible ? (w(),
|
|
240
|
+
l.footerVisible ? (w(), b("div", {
|
|
239
241
|
key: 0,
|
|
240
242
|
class: a([
|
|
241
243
|
"page-layout__footer",
|
|
242
244
|
"fixed bottom-0 left-0 right-0 z-20 justify-center",
|
|
243
245
|
`bg-${o.footerBackgroundColor}`,
|
|
244
|
-
|
|
246
|
+
H(s).md ? "overflow-visible h-0 w-full px-6 flex" : "py-6 px-4 bg-white border-t border-gray-20 flex gap-4 sm-down:absolute sm-down:!py-4"
|
|
245
247
|
])
|
|
246
248
|
}, [
|
|
247
|
-
|
|
249
|
+
H(s).md ? (w(), b("div", {
|
|
248
250
|
key: 0,
|
|
249
251
|
class: a([
|
|
250
252
|
"flex gap-4 items-end h-0 overflow-visible margin-x-auto w-full",
|
|
251
253
|
o.maxContentWidth
|
|
252
254
|
])
|
|
253
255
|
}, [
|
|
254
|
-
|
|
256
|
+
d("div", {
|
|
255
257
|
class: a([
|
|
256
258
|
"shrink-0 w-0 transition-[width] duration-300",
|
|
257
|
-
|
|
259
|
+
h.value ? F.value : "hidden"
|
|
258
260
|
])
|
|
259
261
|
}, null, 2),
|
|
260
|
-
|
|
262
|
+
d("div", {
|
|
261
263
|
class: a([
|
|
262
264
|
"grow pb-6 rounded-t-lg",
|
|
263
265
|
`bg-${o.containerBackgroundColor}`
|
|
264
266
|
])
|
|
265
267
|
}, [
|
|
266
|
-
|
|
268
|
+
d("div", {
|
|
267
269
|
class: a([
|
|
268
270
|
"page-layout__footer-bar",
|
|
269
271
|
"flex items-center justify-center gap-4",
|
|
@@ -281,11 +283,11 @@ const Q = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
|
|
|
281
283
|
key: 1,
|
|
282
284
|
scrolledToBottom: n.value
|
|
283
285
|
}, void 0, !0)
|
|
284
|
-
], 2)) :
|
|
286
|
+
], 2)) : S("", !0)
|
|
285
287
|
], 2);
|
|
286
288
|
};
|
|
287
289
|
}
|
|
288
290
|
});
|
|
289
291
|
export {
|
|
290
|
-
|
|
292
|
+
ae as default
|
|
291
293
|
};
|