@quoreadmin/ui 1.10.5 → 1.10.7
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 +108 -101
- 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 +9 -9
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- 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/index216.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index221.js +1 -1
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index227.js +156 -83
- package/dist/index228.js +20 -407
- package/dist/index229.js +20 -22
- package/dist/index230.js +21 -160
- package/dist/index231.js +189 -218
- package/dist/index232.js +69 -36
- package/dist/index233.js +88 -10
- package/dist/index234.js +386 -106
- package/dist/index235.js +32 -36
- package/dist/index236.js +40 -80
- package/dist/index237.js +22 -20
- package/dist/index238.js +126 -19
- package/dist/index239.js +34 -16
- package/dist/index240.js +80 -20
- package/dist/index241.js +11 -11
- package/dist/index242.js +20 -3636
- package/dist/index243.js +20 -55
- package/dist/index244.js +20 -77
- package/dist/index245.js +160 -51
- package/dist/index246.js +225 -212
- package/dist/index247.js +37 -10
- package/dist/index248.js +10 -57
- package/dist/index249.js +3621 -46
- package/dist/index250.js +36 -35
- package/dist/index251.js +30 -28
- package/dist/index252.js +28 -702
- package/dist/index253.js +195 -22
- package/dist/index254.js +9 -63
- package/dist/index255.js +54 -8
- package/dist/index256.js +51 -695
- package/dist/index257.js +49 -815
- package/dist/index258.js +68 -154
- package/dist/index259.js +725 -19
- package/dist/index260.js +42 -22
- package/dist/index261.js +55 -190
- package/dist/index262.js +11 -70
- package/dist/index263.js +704 -33
- package/dist/index264.js +817 -37
- package/dist/index265.js +1 -1
- package/dist/index266.js +1 -1
- package/dist/index267.js +1 -1
- package/dist/index268.js +8 -8
- package/dist/index269.js +2 -2
- package/dist/index270.js +1 -1
- package/dist/index271.js +1 -1
- package/dist/index272.js +1 -1
- package/dist/index273.js +1 -1
- package/dist/index275.js +2 -2
- package/dist/index276.js +2 -2
- package/dist/index277.js +8 -8
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +1 -1
- package/dist/index281.js +1 -1
- package/dist/index282.js +1 -1
- package/dist/index283.js +1 -1
- package/dist/index286.js +50 -249
- package/dist/index287.js +79 -8
- package/dist/index288.js +26 -138
- package/dist/index289.js +22 -83
- package/dist/index290.js +22 -3
- package/dist/index291.js +16 -27
- package/dist/index292.js +17 -2
- package/dist/index293.js +232 -58
- package/dist/index294.js +8 -1534
- package/dist/index295.js +118 -366
- package/dist/index296.js +72 -2720
- package/dist/index297.js +22 -85
- package/dist/index298.js +2 -3792
- package/dist/index299.js +254 -52
- package/dist/index300.js +6 -15
- package/dist/index301.js +130 -74
- package/dist/index302.js +66 -195
- package/dist/index303.js +81 -240
- package/dist/index304.js +25 -50
- package/dist/index305.js +14 -24
- package/dist/index306.js +74 -21
- package/dist/index307.js +3 -21
- package/dist/index308.js +2 -16
- package/dist/index309.js +82 -16
- package/dist/index310.js +52 -22
- package/dist/index311.js +5 -78
- package/dist/index312.js +4 -21
- package/dist/index313.js +164 -920
- package/dist/index314.js +62 -21
- package/dist/index315.js +75 -20
- package/dist/index316.js +1534 -20
- package/dist/index317.js +376 -59
- package/dist/index318.js +2731 -19
- package/dist/index319.js +86 -19
- package/dist/index320.js +3792 -22
- package/dist/index321.js +59 -21
- package/dist/index322.js +15 -63
- package/dist/index323.js +76 -254
- package/dist/index324.js +200 -4
- package/dist/index325.js +235 -129
- package/dist/index326.js +3 -73
- package/dist/index327.js +25 -85
- package/dist/index328.js +75 -25
- package/dist/index329.js +20 -14
- package/dist/index330.js +926 -66
- package/dist/index331.js +21 -3
- package/dist/index332.js +20 -2
- package/dist/index333.js +19 -82
- package/dist/index334.js +68 -52
- package/dist/index335.js +19 -6
- package/dist/index336.js +19 -5
- package/dist/index337.js +21 -178
- package/dist/index338.js +21 -62
- package/dist/index339.js +62 -74
- package/dist/index340.js +36 -8
- package/dist/index341.js +18 -12
- package/dist/index342.js +55 -53
- package/dist/index343.js +27 -10
- package/dist/index344.js +6 -13
- package/dist/index345.js +48 -54
- package/dist/index346.js +7 -52
- package/dist/index347.js +11 -30
- package/dist/index348.js +7 -2
- package/dist/index349.js +27 -4
- package/dist/index350.js +2 -2
- package/dist/index351.js +69 -22
- package/dist/index352.js +164 -38
- package/dist/index353.js +10 -2
- package/dist/index354.js +9 -10
- package/dist/index355.js +12 -18
- package/dist/index356.js +9 -9
- package/dist/index357.js +16 -9
- package/dist/index358.js +8 -16
- package/dist/index359.js +13 -2
- package/dist/index360.js +55 -9
- package/dist/index361.js +11 -9
- package/dist/index362.js +13 -13
- package/dist/index363.js +53 -32
- package/dist/index364.js +51 -19
- package/dist/index365.js +30 -19
- package/dist/index366.js +2 -64
- package/dist/index367.js +5 -37
- package/dist/index368.js +2 -19
- package/dist/index369.js +23 -57
- package/dist/index370.js +39 -27
- package/dist/index371.js +2 -7
- package/dist/index372.js +10 -51
- package/dist/index373.js +20 -7
- package/dist/index374.js +2 -12
- package/dist/index375.js +8 -6
- package/dist/index376.js +20 -28
- package/dist/index377.js +20 -2
- package/dist/index378.js +61 -67
- package/dist/index379.js +36 -166
- package/dist/index38.js +2 -2
- package/dist/index380.js +30 -97
- package/dist/index381.js +10 -100
- package/dist/index382.js +3 -90
- package/dist/index383.js +4 -17
- package/dist/index384.js +12 -30
- package/dist/index385.js +7 -11
- package/dist/index386.js +11 -3
- package/dist/index387.js +4 -3
- package/dist/index388.js +33 -13
- package/dist/index389.js +31 -7
- package/dist/index390.js +28 -12
- package/dist/index391.js +61 -5
- package/dist/index392.js +101 -33
- package/dist/index393.js +91 -31
- package/dist/index394.js +97 -27
- package/dist/index395.js +16 -60
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/src/components/page-layout/page-layout.vue.d.ts +2 -0
- 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,80 +26,87 @@ 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,
|
|
48
48
|
atBottom: t ? e.scrollTop + e.clientHeight >= e.scrollHeight : window.scrollY + window.innerHeight >= document.documentElement.scrollHeight
|
|
49
49
|
};
|
|
50
|
-
},
|
|
50
|
+
}, T = () => {
|
|
51
51
|
x || (window.requestAnimationFrame(() => {
|
|
52
|
-
const { scrollY: e, atTop: t, atBottom:
|
|
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
|
-
if (
|
|
58
|
+
if (i) {
|
|
59
59
|
y = e, x = !1;
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
const j = Math.max(0, e),
|
|
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
|
-
t <=
|
|
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
|
+
else {
|
|
76
|
+
const i = k.value?.clientHeight ?? window.innerHeight, $ = Math.max(0, V - i);
|
|
77
|
+
B.value = Math.max(0, t - $);
|
|
78
|
+
}
|
|
74
79
|
};
|
|
75
|
-
return
|
|
76
|
-
|
|
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, {
|
|
77
82
|
passive: !0
|
|
78
83
|
});
|
|
79
|
-
const { scrollY: e, atTop: t, atBottom:
|
|
80
|
-
y = e,
|
|
81
|
-
}),
|
|
82
|
-
window.removeEventListener("scroll",
|
|
83
|
-
}),
|
|
84
|
-
const
|
|
85
|
-
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,
|
|
86
93
|
class: a([
|
|
87
94
|
"page-layout",
|
|
88
95
|
`bg-${o.containerBackgroundColor}`,
|
|
89
96
|
"sm-down:absolute sm-down:inset-x-0 sm-down:top-0 sm-down:bottom-0"
|
|
90
97
|
])
|
|
91
98
|
}, [
|
|
92
|
-
|
|
99
|
+
d("div", {
|
|
93
100
|
class: a([
|
|
94
101
|
"page-layout__header",
|
|
95
102
|
"flex items-center justify-center",
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
{ "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 }
|
|
99
106
|
]),
|
|
100
|
-
style: C(
|
|
107
|
+
style: C(g.value ? { top: `${o.headerTop}px` } : void 0)
|
|
101
108
|
}, [
|
|
102
|
-
|
|
109
|
+
d("div", {
|
|
103
110
|
class: a([
|
|
104
111
|
"page-layout__header-bar",
|
|
105
112
|
"flex items-center text-left md:rounded-lg",
|
|
@@ -109,156 +116,156 @@ const Q = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
|
|
|
109
116
|
`text-${o.headerColor}`,
|
|
110
117
|
o.headerBarClass,
|
|
111
118
|
{
|
|
112
|
-
"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)
|
|
113
120
|
}
|
|
114
121
|
])
|
|
115
122
|
}, [
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
scrolledToTop:
|
|
123
|
+
d("h1", Z, [
|
|
124
|
+
u(e.$slots, "header", {
|
|
125
|
+
scrolledToTop: v.value,
|
|
119
126
|
scrolledToBottom: n.value
|
|
120
127
|
}, void 0, !0)
|
|
121
128
|
]),
|
|
122
|
-
|
|
129
|
+
u(e.$slots, "header-actions", {}, void 0, !0)
|
|
123
130
|
], 2)
|
|
124
131
|
], 6),
|
|
125
|
-
|
|
132
|
+
d("div", {
|
|
126
133
|
ref_key: "contentRef",
|
|
127
|
-
ref:
|
|
134
|
+
ref: p,
|
|
128
135
|
class: a([
|
|
129
136
|
"page-layout__content",
|
|
130
137
|
"sm-down:absolute sm-down:left-0 sm-down:right-0",
|
|
131
138
|
"sm-down:overflow-y-auto sm-down:scroll-smooth sm-down:overscroll-none",
|
|
132
|
-
{ "md:pt-[4.5rem]":
|
|
133
|
-
{ "md:mb-[0.5rem]":
|
|
139
|
+
{ "md:pt-[4.5rem]": g.value },
|
|
140
|
+
{ "md:mb-[0.5rem]": g.value && l.footerVisible },
|
|
134
141
|
o.contentClass
|
|
135
142
|
]),
|
|
136
143
|
style: C({
|
|
137
|
-
"--sm-top":
|
|
138
|
-
"--sm-bottom": l.footerVisible ?
|
|
139
|
-
"--keyboard-offset": `${
|
|
144
|
+
"--sm-top": f.value ? "0px" : ee,
|
|
145
|
+
"--sm-bottom": l.footerVisible ? oe : "0px",
|
|
146
|
+
"--keyboard-offset": `${B.value}px`
|
|
140
147
|
})
|
|
141
148
|
}, [
|
|
142
|
-
|
|
149
|
+
d("div", {
|
|
143
150
|
class: a([
|
|
144
151
|
"page-layout__content-inner",
|
|
145
|
-
{ "md:flex md:gap-4":
|
|
152
|
+
{ "md:flex md:gap-4": h.value }
|
|
146
153
|
])
|
|
147
154
|
}, [
|
|
148
|
-
|
|
155
|
+
h.value && H(s).md ? (w(), b("div", {
|
|
149
156
|
key: 0,
|
|
150
157
|
class: a([
|
|
151
158
|
"page-layout__sidebar",
|
|
152
159
|
"shrink-0 flex flex-col gap-4",
|
|
153
160
|
"md:transition-[width] md:duration-300",
|
|
154
|
-
|
|
155
|
-
{ "!overflow-hidden":
|
|
161
|
+
F.value,
|
|
162
|
+
{ "!overflow-hidden": r.value },
|
|
156
163
|
o.sidebarClass
|
|
157
164
|
]),
|
|
158
|
-
onMouseenter: t[0] || (t[0] = (
|
|
159
|
-
onMouseleave: t[1] || (t[1] = (
|
|
165
|
+
onMouseenter: t[0] || (t[0] = ($) => z.value = !0),
|
|
166
|
+
onMouseleave: t[1] || (t[1] = ($) => z.value = !1)
|
|
160
167
|
}, [
|
|
161
|
-
|
|
168
|
+
d("div", {
|
|
162
169
|
class: a([
|
|
163
170
|
"page-layout__sidebar-inner",
|
|
164
171
|
"fixed z-10 md:pb-6 md:pt-4 overflow-y-auto",
|
|
165
172
|
`bg-${o.containerBackgroundColor}`,
|
|
166
|
-
|
|
167
|
-
{ "!overflow-hidden":
|
|
173
|
+
F.value,
|
|
174
|
+
{ "!overflow-hidden": r.value }
|
|
168
175
|
]),
|
|
169
176
|
style: C({
|
|
170
|
-
top:
|
|
171
|
-
height:
|
|
177
|
+
top: Y.value,
|
|
178
|
+
height: L.value
|
|
172
179
|
})
|
|
173
180
|
}, [
|
|
174
|
-
|
|
181
|
+
u(e.$slots, "sidebar", {}, void 0, !0)
|
|
175
182
|
], 6),
|
|
176
|
-
|
|
183
|
+
r.value ? (w(), b("div", {
|
|
177
184
|
key: 0,
|
|
178
185
|
class: "fixed cursor-pointer w-12 rounded-lg bg-white z-10",
|
|
179
186
|
style: C({
|
|
180
|
-
top: `calc(${
|
|
181
|
-
height: `calc(${
|
|
187
|
+
top: `calc(${Y.value} + 1rem)`,
|
|
188
|
+
height: `calc(${L.value} - 2.5rem)`
|
|
182
189
|
}),
|
|
183
|
-
onClick:
|
|
184
|
-
}, null, 4)) :
|
|
185
|
-
|
|
190
|
+
onClick: W
|
|
191
|
+
}, null, 4)) : S("", !0),
|
|
192
|
+
U.value && (z.value || r.value) ? (w(), b("div", {
|
|
186
193
|
key: 1,
|
|
187
194
|
class: a([
|
|
188
195
|
"page-layout__sidebar-toggle",
|
|
189
196
|
"cursor-pointer fixed z-30",
|
|
190
197
|
"bg-white rounded",
|
|
191
198
|
"transition-all duration-300 ease-in-out",
|
|
192
|
-
{ "border border-gray-10": !
|
|
199
|
+
{ "border border-gray-10": !r.value }
|
|
193
200
|
]),
|
|
194
201
|
style: C({
|
|
195
202
|
top: "calc(50vh + 97px)",
|
|
196
203
|
// Expanded: sidebar width minus half the button (lg: 23rem - 0.875rem, md: 19rem - 0.875rem).
|
|
197
204
|
// Collapsed: inset from the left edge.
|
|
198
|
-
marginLeft:
|
|
205
|
+
marginLeft: r.value ? "0.875rem" : H(s).lg ? "22.125rem" : "18.125rem"
|
|
199
206
|
}),
|
|
200
|
-
onClick:
|
|
207
|
+
onClick: W
|
|
201
208
|
}, [
|
|
202
|
-
|
|
203
|
-
|
|
209
|
+
u(e.$slots, "sidebar-toggle", { collapsed: r.value }, () => [
|
|
210
|
+
X(i, {
|
|
204
211
|
icon: "double-chevron-right",
|
|
205
212
|
color: "inkwell-30",
|
|
206
213
|
type: "",
|
|
207
214
|
class: a([
|
|
208
215
|
"page-layout__sidebar-toggle-icon",
|
|
209
216
|
"w-6 h-6 p-1 text-inkwell-30",
|
|
210
|
-
{ "rotate-180":
|
|
217
|
+
{ "rotate-180": r.value }
|
|
211
218
|
])
|
|
212
219
|
}, null, 8, ["class"])
|
|
213
220
|
], !0)
|
|
214
|
-
], 6)) :
|
|
215
|
-
], 34)) :
|
|
216
|
-
|
|
221
|
+
], 6)) : S("", !0)
|
|
222
|
+
], 34)) : S("", !0),
|
|
223
|
+
d("div", {
|
|
217
224
|
class: a([
|
|
218
225
|
"page-layout__main",
|
|
219
226
|
"block w-full grow leading-normal",
|
|
220
|
-
{ "md:mb-4":
|
|
227
|
+
{ "md:mb-4": h.value },
|
|
221
228
|
o.mainClass
|
|
222
229
|
])
|
|
223
230
|
}, [
|
|
224
|
-
|
|
225
|
-
sidebarCollapsed:
|
|
226
|
-
scrolledToTop:
|
|
231
|
+
u(e.$slots, "default", {
|
|
232
|
+
sidebarCollapsed: r.value,
|
|
233
|
+
scrolledToTop: v.value,
|
|
227
234
|
scrolledToBottom: n.value
|
|
228
235
|
}, void 0, !0)
|
|
229
236
|
], 2)
|
|
230
237
|
], 2)
|
|
231
238
|
], 6),
|
|
232
|
-
|
|
233
|
-
l.footerVisible ? (w(),
|
|
239
|
+
u(e.$slots, "overlay", {}, void 0, !0),
|
|
240
|
+
l.footerVisible ? (w(), b("div", {
|
|
234
241
|
key: 0,
|
|
235
242
|
class: a([
|
|
236
243
|
"page-layout__footer",
|
|
237
244
|
"fixed bottom-0 left-0 right-0 z-20 justify-center",
|
|
238
245
|
`bg-${o.footerBackgroundColor}`,
|
|
239
|
-
|
|
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"
|
|
240
247
|
])
|
|
241
248
|
}, [
|
|
242
|
-
|
|
249
|
+
H(s).md ? (w(), b("div", {
|
|
243
250
|
key: 0,
|
|
244
251
|
class: a([
|
|
245
252
|
"flex gap-4 items-end h-0 overflow-visible margin-x-auto w-full",
|
|
246
253
|
o.maxContentWidth
|
|
247
254
|
])
|
|
248
255
|
}, [
|
|
249
|
-
|
|
256
|
+
d("div", {
|
|
250
257
|
class: a([
|
|
251
258
|
"shrink-0 w-0 transition-[width] duration-300",
|
|
252
|
-
|
|
259
|
+
h.value ? F.value : "hidden"
|
|
253
260
|
])
|
|
254
261
|
}, null, 2),
|
|
255
|
-
|
|
262
|
+
d("div", {
|
|
256
263
|
class: a([
|
|
257
264
|
"grow pb-6 rounded-t-lg",
|
|
258
265
|
`bg-${o.containerBackgroundColor}`
|
|
259
266
|
])
|
|
260
267
|
}, [
|
|
261
|
-
|
|
268
|
+
d("div", {
|
|
262
269
|
class: a([
|
|
263
270
|
"page-layout__footer-bar",
|
|
264
271
|
"flex items-center justify-center gap-4",
|
|
@@ -269,18 +276,18 @@ const Q = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
|
|
|
269
276
|
o.footerBarClass
|
|
270
277
|
])
|
|
271
278
|
}, [
|
|
272
|
-
|
|
279
|
+
u(e.$slots, "footer", { scrolledToBottom: n.value }, void 0, !0)
|
|
273
280
|
], 2)
|
|
274
281
|
], 2)
|
|
275
|
-
], 2)) :
|
|
282
|
+
], 2)) : u(e.$slots, "footer", {
|
|
276
283
|
key: 1,
|
|
277
284
|
scrolledToBottom: n.value
|
|
278
285
|
}, void 0, !0)
|
|
279
|
-
], 2)) :
|
|
286
|
+
], 2)) : S("", !0)
|
|
280
287
|
], 2);
|
|
281
288
|
};
|
|
282
289
|
}
|
|
283
290
|
});
|
|
284
291
|
export {
|
|
285
|
-
|
|
292
|
+
ae as default
|
|
286
293
|
};
|
package/dist/index183.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import g from "./
|
|
1
|
+
import g from "./index233.js";
|
|
2
2
|
import { DomHandler as f, ObjectUtils as d } from "./index180.js";
|
|
3
|
-
import v from "./
|
|
4
|
-
import S from "./
|
|
3
|
+
import v from "./index234.js";
|
|
4
|
+
import S from "./index237.js";
|
|
5
5
|
import { resolveDirective as A, openBlock as h, createElementBlock as p, mergeProps as b, Fragment as E, renderList as O, withDirectives as w, renderSlot as x, normalizeClass as K, createElementVNode as I, toDisplayString as D } from "vue";
|
|
6
6
|
var V = {
|
|
7
7
|
name: "BaseSelectButton",
|
package/dist/index186.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVNode as s, defineComponent as nt, ref as k, onMounted as me, onUnmounted as at, h as Ye, watchEffect as Y, Teleport as lt, Transition as ot, computed as A, toRef as rt, inject as ge, watch as st, openBlock as ye, createElementBlock as be, provide as we, shallowRef as it, createElementVNode as Z, isVNode as ut } from "vue";
|
|
2
|
-
import { format as Ce } from "./
|
|
3
|
-
import { parse as ct } from "./
|
|
4
|
-
import { getWeek as Ie } from "./
|
|
5
|
-
import dt from "./
|
|
2
|
+
import { format as Ce } from "./index245.js";
|
|
3
|
+
import { parse as ct } from "./index246.js";
|
|
4
|
+
import { getWeek as Ie } from "./index247.js";
|
|
5
|
+
import dt from "./index248.js";
|
|
6
6
|
var ft = Object.defineProperty, pt = Object.defineProperties, vt = Object.getOwnPropertyDescriptors, le = Object.getOwnPropertySymbols, Ue = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, Se = (t, e, n) => e in t ? ft(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, M = (t, e) => {
|
|
7
7
|
for (var n in e || (e = {}))
|
|
8
8
|
Ue.call(e, n) && Se(t, n, e[n]);
|
package/dist/index193.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import A from "./
|
|
2
|
-
import O from "./
|
|
3
|
-
import V from "./
|
|
4
|
-
import R from "./
|
|
5
|
-
import j from "./
|
|
6
|
-
import K from "./
|
|
7
|
-
import H from "./
|
|
1
|
+
import A from "./index227.js";
|
|
2
|
+
import O from "./index228.js";
|
|
3
|
+
import V from "./index229.js";
|
|
4
|
+
import R from "./index230.js";
|
|
5
|
+
import j from "./index231.js";
|
|
6
|
+
import K from "./index232.js";
|
|
7
|
+
import H from "./index233.js";
|
|
8
8
|
import { DomHandler as w } from "./index180.js";
|
|
9
|
-
import W from "./
|
|
10
|
-
import G from "./
|
|
11
|
-
import Y from "./
|
|
9
|
+
import W from "./index234.js";
|
|
10
|
+
import G from "./index235.js";
|
|
11
|
+
import Y from "./index236.js";
|
|
12
12
|
import { resolveComponent as y, openBlock as o, createElementBlock as f, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, toDisplayString as F, createVNode as L, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, renderSlot as g, withDirectives as M, withKeys as T, createCommentVNode as v, createTextVNode as z } from "vue";
|
|
13
13
|
var q = {
|
|
14
14
|
name: "BaseFileUpload",
|
package/dist/index195.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import q from "./
|
|
2
|
-
import X from "./
|
|
1
|
+
import q from "./index238.js";
|
|
2
|
+
import X from "./index239.js";
|
|
3
3
|
import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index180.js";
|
|
4
|
-
import O from "./
|
|
5
|
-
import Y from "./
|
|
6
|
-
import J from "./
|
|
7
|
-
import L from "./
|
|
8
|
-
import H from "./
|
|
9
|
-
import M from "./
|
|
4
|
+
import O from "./index234.js";
|
|
5
|
+
import Y from "./index240.js";
|
|
6
|
+
import J from "./index229.js";
|
|
7
|
+
import L from "./index233.js";
|
|
8
|
+
import H from "./index241.js";
|
|
9
|
+
import M from "./index242.js";
|
|
10
10
|
import { resolveDirective as C, openBlock as s, createElementBlock as d, mergeProps as l, createElementVNode as b, withDirectives as y, createBlock as f, resolveDynamicComponent as p, createCommentVNode as h, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
|
|
11
|
-
import ee from "./
|
|
12
|
-
import te from "./
|
|
11
|
+
import ee from "./index243.js";
|
|
12
|
+
import te from "./index244.js";
|
|
13
13
|
var ie = {
|
|
14
14
|
name: "BaseGalleria",
|
|
15
15
|
extends: O,
|
package/dist/index198.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import a from "./
|
|
2
|
-
import p from "./
|
|
3
|
-
import m from "./
|
|
4
|
-
import i from "./
|
|
5
|
-
import f from "./
|
|
6
|
-
import l from "./
|
|
7
|
-
import c from "./
|
|
8
|
-
import d from "./
|
|
9
|
-
import u from "./
|
|
10
|
-
import { VERSION as x } from "./
|
|
11
|
-
import C from "./
|
|
12
|
-
import A from "./
|
|
13
|
-
import E from "./
|
|
14
|
-
import O from "./
|
|
15
|
-
import S from "./
|
|
16
|
-
import H from "./
|
|
17
|
-
import T from "./
|
|
1
|
+
import a from "./index299.js";
|
|
2
|
+
import p from "./index300.js";
|
|
3
|
+
import m from "./index301.js";
|
|
4
|
+
import i from "./index302.js";
|
|
5
|
+
import f from "./index303.js";
|
|
6
|
+
import l from "./index304.js";
|
|
7
|
+
import c from "./index305.js";
|
|
8
|
+
import d from "./index306.js";
|
|
9
|
+
import u from "./index307.js";
|
|
10
|
+
import { VERSION as x } from "./index308.js";
|
|
11
|
+
import C from "./index309.js";
|
|
12
|
+
import A from "./index310.js";
|
|
13
|
+
import E from "./index311.js";
|
|
14
|
+
import O from "./index312.js";
|
|
15
|
+
import S from "./index313.js";
|
|
16
|
+
import H from "./index314.js";
|
|
17
|
+
import T from "./index315.js";
|
|
18
18
|
function n(o) {
|
|
19
19
|
const t = new m(o), e = p(m.prototype.request, t);
|
|
20
20
|
return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
|
package/dist/index201.js
CHANGED
|
@@ -5,27 +5,27 @@ import at from "./index267.js";
|
|
|
5
5
|
import ut from "./index268.js";
|
|
6
6
|
import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index180.js";
|
|
7
7
|
import dt from "./index269.js";
|
|
8
|
-
import F from "./
|
|
8
|
+
import F from "./index234.js";
|
|
9
9
|
import ct from "./index270.js";
|
|
10
|
-
import We from "./
|
|
11
|
-
import Ue from "./
|
|
10
|
+
import We from "./index243.js";
|
|
11
|
+
import Ue from "./index242.js";
|
|
12
12
|
import { mergeProps as f, resolveComponent as R, openBlock as u, createBlock as w, withCtx as k, resolveDynamicComponent as C, normalizeClass as S, createCommentVNode as v, resolveDirective as qe, createElementBlock as p, toDisplayString as H, Fragment as P, withDirectives as q, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, normalizeProps as ue, guardReactiveProps as fe, createVNode as z, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
|
|
13
13
|
import mt from "./index271.js";
|
|
14
14
|
import pe from "./index272.js";
|
|
15
15
|
import ht from "./index273.js";
|
|
16
|
-
import pt from "./
|
|
16
|
+
import pt from "./index229.js";
|
|
17
17
|
import K from "./index274.js";
|
|
18
|
-
import gt from "./
|
|
18
|
+
import gt from "./index233.js";
|
|
19
19
|
import Ze from "./index275.js";
|
|
20
20
|
import yt from "./index276.js";
|
|
21
|
-
import wt from "./
|
|
21
|
+
import wt from "./index227.js";
|
|
22
22
|
import vt from "./index277.js";
|
|
23
|
-
import bt from "./
|
|
23
|
+
import bt from "./index238.js";
|
|
24
24
|
import Ct from "./index278.js";
|
|
25
25
|
import Rt from "./index279.js";
|
|
26
|
-
import St from "./
|
|
26
|
+
import St from "./index228.js";
|
|
27
27
|
import Pt from "./index280.js";
|
|
28
|
-
import Et from "./
|
|
28
|
+
import Et from "./index239.js";
|
|
29
29
|
import Re from "./index281.js";
|
|
30
30
|
import Se from "./index282.js";
|
|
31
31
|
import Pe from "./index283.js";
|
package/dist/index202.js
CHANGED
package/dist/index203.js
CHANGED
package/dist/index204.js
CHANGED
package/dist/index206.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Editor as p } from "./
|
|
2
|
-
import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./
|
|
1
|
+
import { Editor as p } from "./index249.js";
|
|
2
|
+
import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index249.js";
|
|
3
3
|
import { defineComponent as s, h as l, ref as g, getCurrentInstance as m, watchEffect as v, nextTick as S, unref as h, onBeforeUnmount as u, shallowRef as x, onMounted as f, markRaw as w, customRef as E } from "vue";
|
|
4
4
|
function d(t) {
|
|
5
5
|
return E((e, r) => ({
|
package/dist/index208.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Extension as r } from "./
|
|
2
|
-
import { Blockquote as n } from "./
|
|
3
|
-
import { Bold as p } from "./
|
|
4
|
-
import { Code as f } from "./
|
|
5
|
-
import { CodeBlock as h } from "./
|
|
6
|
-
import { Document as u } from "./
|
|
7
|
-
import { HardBreak as l } from "./
|
|
8
|
-
import { Heading as a } from "./
|
|
9
|
-
import { HorizontalRule as c } from "./
|
|
10
|
-
import { Italic as d } from "./
|
|
1
|
+
import { Extension as r } from "./index249.js";
|
|
2
|
+
import { Blockquote as n } from "./index250.js";
|
|
3
|
+
import { Bold as p } from "./index251.js";
|
|
4
|
+
import { Code as f } from "./index252.js";
|
|
5
|
+
import { CodeBlock as h } from "./index253.js";
|
|
6
|
+
import { Document as u } from "./index254.js";
|
|
7
|
+
import { HardBreak as l } from "./index255.js";
|
|
8
|
+
import { Heading as a } from "./index256.js";
|
|
9
|
+
import { HorizontalRule as c } from "./index257.js";
|
|
10
|
+
import { Italic as d } from "./index258.js";
|
|
11
11
|
import { Link as m } from "./index211.js";
|
|
12
|
-
import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./
|
|
13
|
-
import { Paragraph as x } from "./
|
|
14
|
-
import { Strike as b } from "./
|
|
15
|
-
import { Text as v } from "./
|
|
12
|
+
import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index259.js";
|
|
13
|
+
import { Paragraph as x } from "./index260.js";
|
|
14
|
+
import { Strike as b } from "./index261.js";
|
|
15
|
+
import { Text as v } from "./index262.js";
|
|
16
16
|
import { Underline as R } from "./index209.js";
|
|
17
17
|
import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index212.js";
|
|
18
18
|
var y = r.create({
|
package/dist/index209.js
CHANGED
package/dist/index210.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mark as y, mergeAttributes as p, Extension as l } from "./
|
|
1
|
+
import { Mark as y, mergeAttributes as p, Extension as l } from "./index249.js";
|
|
2
2
|
var d = 20, u = (t, e = 0) => {
|
|
3
3
|
const r = [];
|
|
4
4
|
return !t.children.length || e > d || Array.from(t.children).forEach((o) => {
|
package/dist/index211.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./
|
|
2
|
-
import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./
|
|
3
|
-
import { Plugin as g, PluginKey as A } from "./
|
|
1
|
+
import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index249.js";
|
|
2
|
+
import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index263.js";
|
|
3
|
+
import { Plugin as g, PluginKey as A } from "./index264.js";
|
|
4
4
|
var P = "[\0- -\u2029 ]", B = new RegExp(P), I = new RegExp(`${P}$`), W = new RegExp(P, "g");
|
|
5
5
|
function $(t) {
|
|
6
6
|
return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
|