@quoreadmin/ui 1.10.0 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index105.js +2 -2
  3. package/dist/index111.js +1 -1
  4. package/dist/index115.js +2 -2
  5. package/dist/index119.js +3 -3
  6. package/dist/index131.js +91 -83
  7. package/dist/{index135.js → index136.js} +1 -1
  8. package/dist/{index137.js → index138.js} +2 -2
  9. package/dist/{index146.js → index147.js} +3 -3
  10. package/dist/{index148.js → index149.js} +1 -1
  11. package/dist/{index150.js → index151.js} +6 -6
  12. package/dist/{index161.js → index162.js} +1 -1
  13. package/dist/{index164.js → index165.js} +1 -1
  14. package/dist/{index168.js → index169.js} +9 -9
  15. package/dist/index172.js +111 -492
  16. package/dist/index173.js +471 -5498
  17. package/dist/index174.js +5511 -80
  18. package/dist/index175.js +86 -856
  19. package/dist/index176.js +844 -21
  20. package/dist/index177.js +23 -265
  21. package/dist/index178.js +256 -126
  22. package/dist/index179.js +146 -1195
  23. package/dist/index180.js +1139 -712
  24. package/dist/index181.js +704 -1240
  25. package/dist/index182.js +1280 -248
  26. package/dist/index183.js +266 -96
  27. package/dist/index184.js +106 -2
  28. package/dist/index185.js +2 -1376
  29. package/dist/index186.js +1378 -0
  30. package/dist/index188.js +12 -12
  31. package/dist/index189.js +10 -10
  32. package/dist/index190.js +12 -12
  33. package/dist/index191.js +14 -21
  34. package/dist/index192.js +23 -757
  35. package/dist/index193.js +759 -1144
  36. package/dist/index194.js +1144 -1234
  37. package/dist/index195.js +1205 -11248
  38. package/dist/index196.js +11277 -36
  39. package/dist/index197.js +36 -44
  40. package/dist/index198.js +42 -1226
  41. package/dist/index199.js +1230 -0
  42. package/dist/index201.js +5830 -99
  43. package/dist/index202.js +188 -16
  44. package/dist/index203.js +25 -8
  45. package/dist/index204.js +16 -76
  46. package/dist/index205.js +74 -249
  47. package/dist/index206.js +229 -13660
  48. package/dist/index207.js +13684 -27
  49. package/dist/index208.js +26 -62
  50. package/dist/index209.js +40 -215
  51. package/dist/index210.js +206 -279
  52. package/dist/index211.js +281 -265
  53. package/dist/index212.js +293 -31
  54. package/dist/index213.js +81 -109
  55. package/dist/index214.js +404 -33
  56. package/dist/index215.js +22 -26
  57. package/dist/index216.js +122 -31
  58. package/dist/index217.js +35 -48
  59. package/dist/index218.js +80 -43
  60. package/dist/index219.js +19 -3
  61. package/dist/index220.js +20 -9
  62. package/dist/index221.js +19 -18
  63. package/dist/index222.js +20 -10
  64. package/dist/index223.js +20 -10
  65. package/dist/index224.js +3633 -36
  66. package/dist/index225.js +55 -21
  67. package/dist/index226.js +73 -84
  68. package/dist/index227.js +50 -405
  69. package/dist/index228.js +214 -21
  70. package/dist/index229.js +10 -161
  71. package/dist/index230.js +57 -20
  72. package/dist/index231.js +61 -20
  73. package/dist/index232.js +54 -22
  74. package/dist/index233.js +66 -190
  75. package/dist/index234.js +714 -58
  76. package/dist/index235.js +39 -31
  77. package/dist/index236.js +60 -36
  78. package/dist/index237.js +11 -161
  79. package/dist/index238.js +681 -204
  80. package/dist/index239.js +819 -36
  81. package/dist/index240.js +33 -10
  82. package/dist/index241.js +109 -120
  83. package/dist/index242.js +34 -36
  84. package/dist/index243.js +26 -80
  85. package/dist/index244.js +35 -19
  86. package/dist/index245.js +50 -19
  87. package/dist/index246.js +42 -19
  88. package/dist/index247.js +3 -19
  89. package/dist/index248.js +9 -22
  90. package/dist/index249.js +18 -21
  91. package/dist/index250.js +10 -20
  92. package/dist/index251.js +9 -835
  93. package/dist/index252.js +34 -697
  94. package/dist/index253.js +21 -176
  95. package/dist/index254.js +160 -21
  96. package/dist/index255.js +228 -20
  97. package/dist/index256.js +36 -19
  98. package/dist/index257.js +10 -3
  99. package/dist/index258.js +21 -186
  100. package/dist/index259.js +21 -132
  101. package/dist/index260.js +20 -1223
  102. package/dist/index261.js +836 -20
  103. package/dist/index262.js +701 -21
  104. package/dist/index263.js +176 -22
  105. package/dist/index264.js +15 -22
  106. package/dist/index265.js +7 -7
  107. package/dist/index266.js +13 -13
  108. package/dist/index267.js +2 -1
  109. package/dist/index268.js +187 -2
  110. package/dist/index269.js +120 -3623
  111. package/dist/index270.js +155 -49
  112. package/dist/index271.js +1214 -68
  113. package/dist/index272.js +20 -52
  114. package/dist/index273.js +22 -215
  115. package/dist/index274.js +20 -10
  116. package/dist/index275.js +22 -57
  117. package/dist/index276.js +29 -61
  118. package/dist/index277.js +20 -54
  119. package/dist/index278.js +20 -75
  120. package/dist/index279.js +2 -726
  121. package/dist/index280.js +2 -42
  122. package/dist/index281.js +22 -64
  123. package/dist/index282.js +199 -11
  124. package/dist/index283.js +63 -698
  125. package/dist/index284.js +33 -819
  126. package/dist/index285.js +34 -247
  127. package/dist/index286.js +253 -8
  128. package/dist/index287.js +8 -138
  129. package/dist/index288.js +123 -68
  130. package/dist/index289.js +83 -3
  131. package/dist/index290.js +2 -27
  132. package/dist/index291.js +71 -46
  133. package/dist/index292.js +1528 -73
  134. package/dist/index293.js +386 -26
  135. package/dist/index294.js +2731 -22
  136. package/dist/index295.js +85 -21
  137. package/dist/index296.js +3792 -16
  138. package/dist/index297.js +60 -17
  139. package/dist/index298.js +15 -23
  140. package/dist/index299.js +84 -2
  141. package/dist/index300.js +190 -250
  142. package/dist/index301.js +244 -4
  143. package/dist/index302.js +3 -140
  144. package/dist/index303.js +24 -70
  145. package/dist/index304.js +50 -83
  146. package/dist/index305.js +25 -28
  147. package/dist/index306.js +21 -15
  148. package/dist/index307.js +21 -74
  149. package/dist/index308.js +16 -4
  150. package/dist/index309.js +17 -2
  151. package/dist/index310.js +22 -82
  152. package/dist/index311.js +77 -51
  153. package/dist/index312.js +21 -5
  154. package/dist/index313.js +934 -4
  155. package/dist/index314.js +21 -178
  156. package/dist/index315.js +19 -62
  157. package/dist/index316.js +20 -75
  158. package/dist/index317.js +69 -1534
  159. package/dist/index318.js +19 -386
  160. package/dist/index319.js +19 -2731
  161. package/dist/index320.js +21 -85
  162. package/dist/index321.js +22 -3792
  163. package/dist/index322.js +63 -60
  164. package/dist/index323.js +256 -73
  165. package/dist/index324.js +5 -21
  166. package/dist/index325.js +130 -925
  167. package/dist/index326.js +72 -21
  168. package/dist/index327.js +85 -18
  169. package/dist/index328.js +28 -19
  170. package/dist/index329.js +15 -68
  171. package/dist/index330.js +75 -19
  172. package/dist/index331.js +4 -19
  173. package/dist/index332.js +2 -22
  174. package/dist/index333.js +82 -21
  175. package/dist/index334.js +53 -63
  176. package/dist/index335.js +6 -15
  177. package/dist/index336.js +4 -83
  178. package/dist/index337.js +165 -188
  179. package/dist/index338.js +56 -239
  180. package/dist/index339.js +75 -9
  181. package/dist/index340.js +36 -12
  182. package/dist/index341.js +8 -54
  183. package/dist/index342.js +12 -11
  184. package/dist/index343.js +52 -11
  185. package/dist/index344.js +9 -55
  186. package/dist/index345.js +13 -51
  187. package/dist/index346.js +51 -24
  188. package/dist/index347.js +52 -2
  189. package/dist/index348.js +31 -5
  190. package/dist/index349.js +2 -2
  191. package/dist/index350.js +4 -22
  192. package/dist/index351.js +2 -41
  193. package/dist/index352.js +23 -2
  194. package/dist/index353.js +40 -10
  195. package/dist/index354.js +2 -20
  196. package/dist/index355.js +10 -9
  197. package/dist/index356.js +20 -10
  198. package/dist/index357.js +9 -16
  199. package/dist/index358.js +10 -2
  200. package/dist/index359.js +16 -8
  201. package/dist/index360.js +2 -10
  202. package/dist/index361.js +8 -13
  203. package/dist/index362.js +9 -36
  204. package/dist/index363.js +14 -19
  205. package/dist/index364.js +19 -56
  206. package/dist/index365.js +19 -28
  207. package/dist/index366.js +62 -5
  208. package/dist/index367.js +36 -51
  209. package/dist/index368.js +19 -7
  210. package/dist/index369.js +56 -11
  211. package/dist/index370.js +29 -7
  212. package/dist/index371.js +6 -27
  213. package/dist/index372.js +52 -2
  214. package/dist/index373.js +6 -69
  215. package/dist/index374.js +11 -166
  216. package/dist/index375.js +7 -20
  217. package/dist/index376.js +28 -20
  218. package/dist/index377.js +2 -64
  219. package/dist/index378.js +70 -37
  220. package/dist/index379.js +166 -12
  221. package/dist/index38.js +3 -2
  222. package/dist/index380.js +101 -7
  223. package/dist/index381.js +90 -30
  224. package/dist/index382.js +98 -11
  225. package/dist/index383.js +17 -4
  226. package/dist/index384.js +30 -3
  227. package/dist/index385.js +10 -11
  228. package/dist/index386.js +3 -4
  229. package/dist/index387.js +4 -33
  230. package/dist/index388.js +12 -30
  231. package/dist/index389.js +7 -28
  232. package/dist/index39.js +1 -1
  233. package/dist/index390.js +12 -61
  234. package/dist/index391.js +4 -100
  235. package/dist/index392.js +33 -17
  236. package/dist/index393.js +31 -91
  237. package/dist/index394.js +27 -97
  238. package/dist/index395.js +61 -3
  239. package/dist/index396.js +3 -2
  240. package/dist/index397.js +2 -2
  241. package/dist/index398.js +2 -17
  242. package/dist/index399.js +15 -11
  243. package/dist/index40.js +1 -1
  244. package/dist/index400.js +13 -6
  245. package/dist/index401.js +6 -32
  246. package/dist/index402.js +34 -0
  247. package/dist/index41.js +1 -1
  248. package/dist/index42.js +1 -1
  249. package/dist/index43.js +1 -1
  250. package/dist/index44.js +1 -1
  251. package/dist/index45.js +1 -1
  252. package/dist/index46.js +1 -1
  253. package/dist/index47.js +1 -1
  254. package/dist/index48.js +1 -1
  255. package/dist/index49.js +2 -2
  256. package/dist/index50.js +1 -1
  257. package/dist/index51.js +2 -2
  258. package/dist/index52.js +1 -1
  259. package/dist/index53.js +1 -1
  260. package/dist/index54.js +1 -1
  261. package/dist/index55.js +1 -1
  262. package/dist/index57.js +2 -2
  263. package/dist/index59.js +1 -1
  264. package/dist/index61.js +5 -5
  265. package/dist/index62.js +1 -1
  266. package/dist/index74.js +2 -2
  267. package/dist/index78.js +1 -1
  268. package/dist/index83.js +1 -1
  269. package/dist/index88.js +1 -1
  270. package/dist/index90.js +3 -3
  271. package/dist/index92.js +2 -2
  272. package/dist/index98.js +2 -2
  273. package/dist/src/components/page-layout/page-layout.vue.d.ts +3 -0
  274. package/package.json +1 -1
  275. package/dist/index171.js +0 -116
  276. package/dist/index187.js +0 -20
  277. package/dist/index200.js +0 -5940
  278. /package/dist/{index133.js → index134.js} +0 -0
  279. /package/dist/{index140.js → index141.js} +0 -0
  280. /package/dist/{index142.js → index143.js} +0 -0
  281. /package/dist/{index144.js → index145.js} +0 -0
  282. /package/dist/{index152.js → index153.js} +0 -0
  283. /package/dist/{index154.js → index155.js} +0 -0
  284. /package/dist/{index156.js → index157.js} +0 -0
  285. /package/dist/{index159.js → index160.js} +0 -0
  286. /package/dist/{index166.js → index167.js} +0 -0
package/dist/index105.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as S, ref as r, computed as v } from "vue";
2
- import { useDropZone as h } from "./index172.js";
2
+ import { useDropZone as h } from "./index173.js";
3
3
  import z from "./index57.js";
4
- import M from "./index192.js";
4
+ import M from "./index193.js";
5
5
  import T from "./index6.js";
6
6
  import I from "./index30.js";
7
7
  import L from "./index34.js";
package/dist/index111.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, onMounted as l, computed as n } from "vue";
2
- import s from "./index193.js";
2
+ import s from "./index194.js";
3
3
  let t = !1;
4
4
  const i = "quore-svg-sprite-container";
5
5
  function o() {
package/dist/index115.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as a, computed as s, onMounted as Z, onUnmounted as q } from "vue";
2
- import { useSwipe as K } from "./index172.js";
2
+ import { useSwipe as K } from "./index173.js";
3
3
  import { useI18n as X } from "vue-i18n";
4
- import J from "./index194.js";
4
+ import J from "./index195.js";
5
5
  import Y from "./index6.js";
6
6
  import ee from "./index7.js";
7
7
  import te from "./index33.js";
package/dist/index119.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as E, ref as a, computed as m, onMounted as P, onUnmounted as Q, nextTick as V } from "vue";
2
2
  import { filterData as C } from "./index56.js";
3
3
  import F from "./index6.js";
4
- import { useDrag as H } from "./index180.js";
5
- import { useMotionProperties as N, useMotionTransitions as U } from "./index181.js";
6
- import { useWindowScroll as q, useScroll as W } from "./index172.js";
4
+ import { useDrag as H } from "./index181.js";
5
+ import { useMotionProperties as N, useMotionTransitions as U } from "./index182.js";
6
+ import { useWindowScroll as q, useScroll as W } from "./index173.js";
7
7
  import T from "./index57.js";
8
8
  const X = E({
9
9
  name: "QList",
package/dist/index131.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defineComponent as N, useSlots as O, ref as p, computed as n, onMounted as R, onUnmounted as A, resolveComponent as D, openBlock as g, createElementBlock as h, normalizeClass as l, createElementVNode as r, normalizeStyle as y, renderSlot as i, unref as k, createCommentVNode as T, createVNode as U } from "vue";
2
- import u from "./index57.js";
3
- const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-none text-left" }, G = "4.5rem", I = "4.8125rem", P = /* @__PURE__ */ N({
1
+ import { defineComponent as R, useSlots as A, ref as C, computed as u, onMounted as D, onUnmounted as U, resolveComponent as G, openBlock as h, createElementBlock as w, normalizeClass as l, createElementVNode as r, normalizeStyle as x, unref as B, renderSlot as n, createCommentVNode as T, createVNode as I } from "vue";
2
+ import i from "./index57.js";
3
+ const J = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-none text-left" }, K = "4.5rem", P = "4.8125rem", M = 80, Z = /* @__PURE__ */ R({
4
4
  __name: "page-layout",
5
5
  props: {
6
6
  headerBackgroundColor: { default: "green-20" },
@@ -25,53 +25,59 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
25
25
  containerBackgroundColor: { default: "gray-00" }
26
26
  },
27
27
  emits: ["update:sidebarCollapsed"],
28
- setup(o, { expose: Y, emit: L }) {
29
- const t = o, M = L, q = O(), w = p(null), c = p(!0), s = p(!1), m = p(!1), $ = p(!1);
30
- let C = 0, x = !1;
31
- const v = n(() => !!q.sidebar), f = n(() => t.headerFixed !== void 0 ? t.headerFixed : v.value), d = n({
28
+ setup(o, { expose: L, emit: q }) {
29
+ const t = o, j = q, N = A(), b = C(null), c = C(!0), s = C(!1), m = C(!1), $ = C(!1);
30
+ let p = 0, y = !1;
31
+ const v = u(() => !!N.sidebar), f = u(() => t.headerFixed !== void 0 ? t.headerFixed : v.value), a = u({
32
32
  get: () => t.sidebarCollapsed,
33
- set: (e) => M("update:sidebarCollapsed", e)
34
- }), j = n(
35
- () => v.value && t.sidebarCollapsible && u.md
36
- ), S = n(() => `${t.headerTop + 80}px`), z = n(
37
- () => `calc(100vh - ${t.headerTop + 80}px)`
38
- ), H = n(
39
- () => d.value ? t.sidebarCollapsedWidth : t.sidebarWidth
33
+ set: (e) => j("update:sidebarCollapsed", e)
34
+ }), O = u(
35
+ () => v.value && t.sidebarCollapsible && i.md
36
+ ), S = u(
37
+ () => `${t.headerTop + M}px`
38
+ ), z = u(
39
+ () => `calc(100vh - ${t.headerTop + M}px)`
40
+ ), H = u(
41
+ () => a.value ? t.sidebarCollapsedWidth : t.sidebarWidth
40
42
  ), E = () => {
41
- const e = w.value, a = !u.md && e;
43
+ const e = b.value, d = !i.md && e;
42
44
  return {
43
- scrollY: a ? e.scrollTop : window.scrollY,
44
- atTop: a ? e.scrollTop <= 0 : window.scrollY <= 0,
45
- atBottom: a ? e.scrollTop + e.clientHeight >= e.scrollHeight : window.scrollY + window.innerHeight >= document.documentElement.scrollHeight
45
+ scrollY: d ? e.scrollTop : window.scrollY,
46
+ atTop: d ? e.scrollTop <= 0 : window.scrollY <= 0,
47
+ atBottom: d ? e.scrollTop + e.clientHeight >= e.scrollHeight : window.scrollY + window.innerHeight >= document.documentElement.scrollHeight
46
48
  };
47
- }, B = () => {
48
- x || (window.requestAnimationFrame(() => {
49
- const { scrollY: e, atTop: a, atBottom: b } = E();
50
- if (c.value = a, s.value = b, t.headerHideOnScroll && (f.value || !u.md)) {
49
+ }, k = () => {
50
+ y || (window.requestAnimationFrame(() => {
51
+ const { scrollY: e, atTop: d, atBottom: g } = E();
52
+ if (c.value = d, s.value = g, t.headerHideOnScroll && (f.value || !i.md)) {
51
53
  if (e <= t.headerHideScrollThreshold) {
52
- m.value = !1, C = e, x = !1;
54
+ m.value = !1, p = e, y = !1;
53
55
  return;
54
56
  }
55
- const V = e - C;
56
- Math.abs(V) > 5 && (m.value = V > 0, C = e);
57
+ if (g) {
58
+ p = e, y = !1;
59
+ return;
60
+ }
61
+ const Y = Math.max(0, e), V = Y - p;
62
+ Math.abs(V) > 15 && (m.value = V > 0, p = Y);
57
63
  } else
58
64
  m.value = !1;
59
- x = !1;
60
- }), x = !0);
65
+ y = !1;
66
+ }), y = !0);
61
67
  }, F = () => {
62
- d.value = !d.value;
68
+ a.value = !a.value;
63
69
  };
64
- return R(() => {
65
- window.addEventListener("scroll", B, { passive: !0 }), w.value && w.value.addEventListener("scroll", B, {
70
+ return D(() => {
71
+ window.addEventListener("scroll", k, { passive: !0 }), b.value && b.value.addEventListener("scroll", k, {
66
72
  passive: !0
67
73
  });
68
- const { scrollY: e, atTop: a, atBottom: b } = E();
69
- C = e, c.value = a, s.value = b;
70
- }), A(() => {
71
- window.removeEventListener("scroll", B), w.value?.removeEventListener("scroll", B);
72
- }), Y({ scrolledToTop: c, scrolledToBottom: s, headerHidden: m }), (e, a) => {
73
- const b = D("q-icon");
74
- return g(), h("div", {
74
+ const { scrollY: e, atTop: d, atBottom: g } = E();
75
+ p = e, c.value = d, s.value = g;
76
+ }), U(() => {
77
+ window.removeEventListener("scroll", k), b.value?.removeEventListener("scroll", k);
78
+ }), L({ scrolledToTop: c, scrolledToBottom: s, headerHidden: m }), (e, d) => {
79
+ const g = G("q-icon");
80
+ return h(), w("div", {
75
81
  class: l([
76
82
  "page-layout",
77
83
  `bg-${o.containerBackgroundColor}`,
@@ -82,11 +88,11 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
82
88
  class: l([
83
89
  "page-layout__header",
84
90
  "flex items-center justify-center",
85
- `md:bg-${o.containerBackgroundColor}`,
91
+ B(i).md ? `bg-${o.containerBackgroundColor}` : "",
86
92
  f.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",
87
93
  { "page-layout__header--hidden": m.value }
88
94
  ]),
89
- style: y(f.value ? { top: `${o.headerTop}px` } : void 0)
95
+ style: x(f.value ? { top: `${o.headerTop}px` } : void 0)
90
96
  }, [
91
97
  r("div", {
92
98
  class: l([
@@ -102,18 +108,18 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
102
108
  }
103
109
  ])
104
110
  }, [
105
- r("h1", _, [
106
- i(e.$slots, "header", {
111
+ r("h1", J, [
112
+ n(e.$slots, "header", {
107
113
  scrolledToTop: c.value,
108
114
  scrolledToBottom: s.value
109
115
  }, void 0, !0)
110
116
  ]),
111
- i(e.$slots, "header-actions", {}, void 0, !0)
117
+ n(e.$slots, "header-actions", {}, void 0, !0)
112
118
  ], 2)
113
119
  ], 6),
114
120
  r("div", {
115
121
  ref_key: "contentRef",
116
- ref: w,
122
+ ref: b,
117
123
  class: l([
118
124
  "page-layout__content",
119
125
  "sm-down:absolute sm-down:left-0 sm-down:right-0",
@@ -122,9 +128,9 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
122
128
  { "md:mb-[0.5rem]": f.value && t.footerVisible },
123
129
  o.contentClass
124
130
  ]),
125
- style: y({
126
- "--sm-top": m.value ? "0px" : G,
127
- "--sm-bottom": t.footerVisible ? I : "0px"
131
+ style: x({
132
+ "--sm-top": m.value ? "0px" : K,
133
+ "--sm-bottom": t.footerVisible ? P : "0px"
128
134
  })
129
135
  }, [
130
136
  r("div", {
@@ -133,18 +139,18 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
133
139
  { "md:flex md:gap-4": v.value }
134
140
  ])
135
141
  }, [
136
- v.value && k(u).md ? (g(), h("div", {
142
+ v.value && B(i).md ? (h(), w("div", {
137
143
  key: 0,
138
144
  class: l([
139
145
  "page-layout__sidebar",
140
146
  "shrink-0 flex flex-col gap-4",
141
147
  "md:transition-[width] md:duration-300",
142
148
  H.value,
143
- { "!overflow-hidden": d.value },
149
+ { "!overflow-hidden": a.value },
144
150
  o.sidebarClass
145
151
  ]),
146
- onMouseenter: a[0] || (a[0] = (W) => $.value = !0),
147
- onMouseleave: a[1] || (a[1] = (W) => $.value = !1)
152
+ onMouseenter: d[0] || (d[0] = (W) => $.value = !0),
153
+ onMouseleave: d[1] || (d[1] = (W) => $.value = !1)
148
154
  }, [
149
155
  r("div", {
150
156
  class: l([
@@ -152,51 +158,53 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
152
158
  "fixed z-10 md:pb-6 md:pt-4 overflow-y-auto",
153
159
  `bg-${o.containerBackgroundColor}`,
154
160
  H.value,
155
- { "!overflow-hidden": d.value }
161
+ { "!overflow-hidden": a.value }
156
162
  ]),
157
- style: y({
163
+ style: x({
158
164
  top: S.value,
159
165
  height: z.value
160
166
  })
161
167
  }, [
162
- i(e.$slots, "sidebar", {}, void 0, !0)
168
+ n(e.$slots, "sidebar", {}, void 0, !0)
163
169
  ], 6),
164
- d.value ? (g(), h("div", {
170
+ a.value ? (h(), w("div", {
165
171
  key: 0,
166
172
  class: "fixed cursor-pointer w-12 rounded-lg bg-white z-10",
167
- style: y({
173
+ style: x({
168
174
  top: `calc(${S.value} + 1rem)`,
169
- height: `calc(${z.value} - 2rem)`
175
+ height: `calc(${z.value} - 2.5rem)`
170
176
  }),
171
177
  onClick: F
172
178
  }, null, 4)) : T("", !0),
173
- j.value && ($.value || d.value) ? (g(), h("div", {
179
+ O.value && ($.value || a.value) ? (h(), w("div", {
174
180
  key: 1,
175
181
  class: l([
176
182
  "page-layout__sidebar-toggle",
177
183
  "cursor-pointer fixed z-30",
178
- "bg-white rounded border border-gray-10",
184
+ "bg-white rounded",
179
185
  "transition-all duration-300 ease-in-out",
180
- {
181
- "page-layout__sidebar-toggle--collapsed": d.value
182
- }
186
+ { "border border-gray-10": !a.value }
183
187
  ]),
184
- style: y({
188
+ style: x({
185
189
  top: "calc(50vh + 97px)",
186
- marginLeft: d.value ? "0.875rem" : k(u).lg ? "22.125rem" : "18.125rem"
190
+ // Expanded: sidebar width minus half the button (lg: 23rem - 0.875rem, md: 19rem - 0.875rem).
191
+ // Collapsed: inset from the left edge.
192
+ marginLeft: a.value ? "0.875rem" : B(i).lg ? "22.125rem" : "18.125rem"
187
193
  }),
188
194
  onClick: F
189
195
  }, [
190
- U(b, {
191
- icon: "double-chevron-right ",
192
- type: "",
193
- color: "inkwell-30",
194
- class: l([
195
- "page-layout__sidebar-toggle-icon",
196
- "w-6 h-6 p-1 text-inkwell-30",
197
- { "rotate-180": d.value }
198
- ])
199
- }, null, 8, ["class"])
196
+ n(e.$slots, "sidebar-toggle", { collapsed: a.value }, () => [
197
+ I(g, {
198
+ icon: "double-chevron-right",
199
+ color: "inkwell-30",
200
+ type: "",
201
+ class: l([
202
+ "page-layout__sidebar-toggle-icon",
203
+ "w-6 h-6 p-1 text-inkwell-30",
204
+ { "rotate-180": a.value }
205
+ ])
206
+ }, null, 8, ["class"])
207
+ ], !0)
200
208
  ], 6)) : T("", !0)
201
209
  ], 34)) : T("", !0),
202
210
  r("div", {
@@ -207,25 +215,25 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
207
215
  o.mainClass
208
216
  ])
209
217
  }, [
210
- i(e.$slots, "default", {
211
- sidebarCollapsed: d.value,
218
+ n(e.$slots, "default", {
219
+ sidebarCollapsed: a.value,
212
220
  scrolledToTop: c.value,
213
221
  scrolledToBottom: s.value
214
222
  }, void 0, !0)
215
223
  ], 2)
216
224
  ], 2)
217
225
  ], 6),
218
- i(e.$slots, "overlay", {}, void 0, !0),
219
- t.footerVisible ? (g(), h("div", {
226
+ n(e.$slots, "overlay", {}, void 0, !0),
227
+ t.footerVisible ? (h(), w("div", {
220
228
  key: 0,
221
229
  class: l([
222
230
  "page-layout__footer",
223
- "fixed left-0 right-0 z-20 justify-center",
231
+ "fixed bottom-0 left-0 right-0 z-20 justify-center",
224
232
  `bg-${o.footerBackgroundColor}`,
225
- k(u).md ? "overflow-visible bottom-0 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 sm-down:bottom-14"
233
+ B(i).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"
226
234
  ])
227
235
  }, [
228
- k(u).md ? (g(), h("div", {
236
+ B(i).md ? (h(), w("div", {
229
237
  key: 0,
230
238
  class: l([
231
239
  "flex gap-4 items-end h-0 overflow-visible margin-x-auto w-full",
@@ -255,10 +263,10 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
255
263
  o.footerBarClass
256
264
  ])
257
265
  }, [
258
- i(e.$slots, "footer", { scrolledToBottom: s.value }, void 0, !0)
266
+ n(e.$slots, "footer", { scrolledToBottom: s.value }, void 0, !0)
259
267
  ], 2)
260
268
  ], 2)
261
- ], 2)) : i(e.$slots, "footer", {
269
+ ], 2)) : n(e.$slots, "footer", {
262
270
  key: 1,
263
271
  scrolledToBottom: s.value
264
272
  }, void 0, !0)
@@ -268,5 +276,5 @@ const _ = { class: "flex-grow m-0 font-bold sm-down:text-md md:text-lg leading-n
268
276
  }
269
277
  });
270
278
  export {
271
- P as default
279
+ Z as default
272
280
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as s, onMounted as y, nextTick as P } from "vue";
2
- import { getDocument as C, version as k, GlobalWorkerOptions as E } from "./index195.js";
2
+ import { getDocument as C, version as k, GlobalWorkerOptions as E } from "./index196.js";
3
3
  import D from "./index22.js";
4
4
  E.workerSrc = `https://cdn.jsdelivr.net/npm/pdfjs-dist@${k}/legacy/build/pdf.worker.min.mjs`;
5
5
  const S = x({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as M, ref as h, computed as H, onMounted as A, onUnmounted as Q, watch as F, nextTick as O } from "vue";
2
- import { onClickOutside as W } from "./index172.js";
3
- import { useThrottleFn as k } from "./index183.js";
2
+ import { onClickOutside as W } from "./index173.js";
3
+ import { useThrottleFn as k } from "./index184.js";
4
4
  const G = M({
5
5
  name: "QPopover",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as It, ref as i, computed as _, watch as B, onMounted as Tt, onUnmounted as Dt } from "vue";
2
2
  import { useI18n as Ot } from "vue-i18n";
3
- import { DateTime as I } from "./index173.js";
4
- import "./index196.js";
3
+ import { DateTime as I } from "./index174.js";
4
+ import "./index197.js";
5
5
  import kt from "./index2.js";
6
6
  import Et from "./index3.js";
7
7
  import At from "./index4.js";
@@ -13,7 +13,7 @@ import Ct from "./index48.js";
13
13
  import Rt from "./index50.js";
14
14
  import Ht from "./index49.js";
15
15
  import Lt from "./index52.js";
16
- import X from "./index197.js";
16
+ import X from "./index198.js";
17
17
  const Pt = 996, Zt = It({
18
18
  name: "QRoomDetailsPopover",
19
19
  components: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as H, ref as n, computed as a, watch as g, nextTick as f } from "vue";
2
- import { Multiselect as I } from "./index198.js";
2
+ import { Multiselect as I } from "./index199.js";
3
3
  import { useI18n as k } from "vue-i18n";
4
4
  /* empty css */
5
5
  import q from "./index6.js";
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as te, ref as n, computed as w, onMounted as le, onUnmounted as oe, h as D, render as H } from "vue";
2
- import se from "./index200.js";
3
- import re from "./index201.js";
4
- import ae from "./index202.js";
5
- import ne from "./index203.js";
2
+ import se from "./index201.js";
3
+ import re from "./index202.js";
4
+ import ae from "./index203.js";
5
+ import ne from "./index204.js";
6
6
  import ce from "./index6.js";
7
7
  import ie from "./index52.js";
8
8
  import N from "./index28.js";
9
- import ue from "./index184.js";
9
+ import ue from "./index185.js";
10
10
  import de from "./index57.js";
11
11
  import fe from "./index58.js";
12
12
  import { filterData as ve } from "./index56.js";
13
- import { useDebounceFn as he } from "./index183.js";
13
+ import { useDebounceFn as he } from "./index184.js";
14
14
  const ke = te({
15
15
  name: "QTable",
16
16
  components: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, ref as u, computed as v, onMounted as g, onUnmounted as h, watch as y, nextTick as m } from "vue";
2
- import { useThrottleFn as b } from "./index183.js";
2
+ import { useThrottleFn as b } from "./index184.js";
3
3
  const T = c({
4
4
  name: "QTooltip",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ot, ref as H, computed as C, reactive as at, onMounted as it, onUnmounted as lt } from "vue";
2
- import { createPopper as st } from "./index204.js";
2
+ import { createPopper as st } from "./index205.js";
3
3
  import { useI18n as ut } from "vue-i18n";
4
4
  const ht = ot({
5
5
  name: "QTour",
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as q, ref as o, computed as c, watch as k, onBeforeUnmount as M, onMounted as z, onUnmounted as K, nextTick as Q } from "vue";
2
- import { onClickOutside as b, useBreakpoints as W, breakpointsTailwind as _ } from "./index172.js";
3
- import { EditorContent as $, useEditor as D } from "./index205.js";
4
- import G from "./index206.js";
5
- import I from "./index207.js";
6
- import { Underline as J } from "./index208.js";
7
- import { TextStyle as N, Color as X } from "./index209.js";
8
- import { Link as Y } from "./index210.js";
9
- import { Placeholder as Z } from "./index211.js";
2
+ import { onClickOutside as b, useBreakpoints as W, breakpointsTailwind as _ } from "./index173.js";
3
+ import { EditorContent as $, useEditor as D } from "./index206.js";
4
+ import G from "./index207.js";
5
+ import I from "./index208.js";
6
+ import { Underline as J } from "./index209.js";
7
+ import { TextStyle as N, Color as X } from "./index210.js";
8
+ import { Link as Y } from "./index211.js";
9
+ import { Placeholder as Z } from "./index212.js";
10
10
  import ee from "./index24.js";
11
- import te from "./index171.js";
11
+ import te from "./index172.js";
12
12
  const ve = q({
13
13
  components: {
14
14
  EditorContent: $,