@quoreadmin/ui 1.9.1 → 1.9.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.
Files changed (273) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index104.js +2 -2
  3. package/dist/index110.js +1 -1
  4. package/dist/index114.js +2 -2
  5. package/dist/index118.js +3 -3
  6. package/dist/index132.js +1 -1
  7. package/dist/index134.js +2 -2
  8. package/dist/index143.js +338 -329
  9. package/dist/index145.js +1 -1
  10. package/dist/index147.js +6 -6
  11. package/dist/index153.js +156 -153
  12. package/dist/{index157.js → index158.js} +1 -1
  13. package/dist/{index160.js → index161.js} +1 -1
  14. package/dist/{index164.js → index165.js} +9 -9
  15. package/dist/index168.js +111 -492
  16. package/dist/index169.js +471 -5498
  17. package/dist/index170.js +5511 -80
  18. package/dist/index171.js +86 -856
  19. package/dist/index172.js +844 -21
  20. package/dist/index173.js +23 -265
  21. package/dist/index174.js +256 -126
  22. package/dist/index175.js +146 -1195
  23. package/dist/index176.js +1139 -712
  24. package/dist/index177.js +704 -1240
  25. package/dist/index178.js +1280 -248
  26. package/dist/index179.js +266 -96
  27. package/dist/index180.js +106 -2
  28. package/dist/index181.js +2 -1376
  29. package/dist/index182.js +1378 -0
  30. package/dist/index184.js +12 -12
  31. package/dist/index185.js +10 -10
  32. package/dist/index186.js +12 -12
  33. package/dist/index187.js +14 -21
  34. package/dist/index188.js +23 -757
  35. package/dist/index189.js +759 -1144
  36. package/dist/index190.js +1144 -1234
  37. package/dist/index191.js +1205 -11248
  38. package/dist/index192.js +11277 -36
  39. package/dist/index193.js +36 -44
  40. package/dist/index194.js +42 -1188
  41. package/dist/index195.js +1230 -0
  42. package/dist/index197.js +5830 -99
  43. package/dist/index198.js +188 -16
  44. package/dist/index199.js +25 -8
  45. package/dist/index200.js +16 -76
  46. package/dist/index201.js +74 -249
  47. package/dist/index202.js +229 -13660
  48. package/dist/index203.js +13684 -27
  49. package/dist/index204.js +26 -62
  50. package/dist/index205.js +40 -215
  51. package/dist/index206.js +206 -279
  52. package/dist/index207.js +281 -265
  53. package/dist/index208.js +287 -80
  54. package/dist/index209.js +29 -403
  55. package/dist/index210.js +116 -22
  56. package/dist/index211.js +32 -29
  57. package/dist/index212.js +26 -116
  58. package/dist/index213.js +31 -31
  59. package/dist/index214.js +51 -26
  60. package/dist/index215.js +41 -34
  61. package/dist/index216.js +3 -50
  62. package/dist/index217.js +9 -43
  63. package/dist/index218.js +18 -3
  64. package/dist/index219.js +9 -8
  65. package/dist/index220.js +10 -19
  66. package/dist/index221.js +39 -10
  67. package/dist/index222.js +21 -10
  68. package/dist/index223.js +84 -35
  69. package/dist/index224.js +407 -21
  70. package/dist/index225.js +19 -124
  71. package/dist/index226.js +158 -35
  72. package/dist/index227.js +227 -79
  73. package/dist/index228.js +36 -19
  74. package/dist/index229.js +10 -20
  75. package/dist/index230.js +126 -19
  76. package/dist/index231.js +34 -16
  77. package/dist/index232.js +80 -20
  78. package/dist/index233.js +19 -160
  79. package/dist/index234.js +11 -11
  80. package/dist/index235.js +13 -15
  81. package/dist/index236.js +19 -198
  82. package/dist/index237.js +19 -69
  83. package/dist/index238.js +159 -32
  84. package/dist/index239.js +19 -39
  85. package/dist/index240.js +12 -12
  86. package/dist/index241.js +198 -21
  87. package/dist/index242.js +69 -19
  88. package/dist/index243.js +34 -836
  89. package/dist/index244.js +24 -686
  90. package/dist/index245.js +22 -176
  91. package/dist/index246.js +6 -6
  92. package/dist/index247.js +7 -7
  93. package/dist/index248.js +836 -20
  94. package/dist/index249.js +702 -3
  95. package/dist/index250.js +172 -183
  96. package/dist/index251.js +21 -132
  97. package/dist/index252.js +20 -1223
  98. package/dist/index253.js +9 -9
  99. package/dist/index254.js +3 -22
  100. package/dist/index255.js +186 -21
  101. package/dist/index256.js +132 -28
  102. package/dist/index257.js +1223 -20
  103. package/dist/index258.js +13 -13
  104. package/dist/index259.js +22 -2
  105. package/dist/index260.js +22 -2
  106. package/dist/index261.js +28 -160
  107. package/dist/index262.js +20 -228
  108. package/dist/index263.js +19 -36
  109. package/dist/index264.js +2 -10
  110. package/dist/index265.js +2 -3636
  111. package/dist/index266.js +3620 -39
  112. package/dist/index267.js +30 -52
  113. package/dist/index268.js +47 -22
  114. package/dist/index269.js +25 -188
  115. package/dist/index270.js +213 -8
  116. package/dist/index271.js +9 -56
  117. package/dist/index272.js +41 -45
  118. package/dist/index273.js +46 -39
  119. package/dist/index274.js +36 -57
  120. package/dist/index275.js +41 -692
  121. package/dist/index276.js +707 -23
  122. package/dist/index277.js +25 -47
  123. package/dist/index278.js +63 -10
  124. package/dist/index279.js +10 -704
  125. package/dist/index280.js +655 -770
  126. package/dist/index281.js +801 -234
  127. package/dist/index282.js +3 -8
  128. package/dist/index283.js +24 -135
  129. package/dist/index284.js +232 -62
  130. package/dist/index285.js +8 -3
  131. package/dist/index286.js +135 -24
  132. package/dist/index287.js +73 -252
  133. package/dist/index288.js +2 -6
  134. package/dist/index289.js +73 -134
  135. package/dist/index290.js +52 -71
  136. package/dist/index291.js +25 -86
  137. package/dist/index292.js +21 -28
  138. package/dist/index293.js +20 -14
  139. package/dist/index294.js +16 -75
  140. package/dist/index295.js +17 -4
  141. package/dist/index296.js +23 -2
  142. package/dist/index297.js +1531 -80
  143. package/dist/index298.js +386 -53
  144. package/dist/index299.js +2729 -4
  145. package/dist/index300.js +85 -4
  146. package/dist/index301.js +3761 -148
  147. package/dist/index302.js +57 -60
  148. package/dist/index303.js +78 -74
  149. package/dist/index304.js +22 -2
  150. package/dist/index305.js +910 -54
  151. package/dist/index306.js +21 -53
  152. package/dist/index307.js +12 -18
  153. package/dist/index308.js +11 -13
  154. package/dist/index309.js +68 -21
  155. package/dist/index310.js +17 -14
  156. package/dist/index311.js +16 -14
  157. package/dist/index312.js +22 -23
  158. package/dist/index313.js +21 -78
  159. package/dist/index314.js +63 -22
  160. package/dist/index315.js +14 -934
  161. package/dist/index316.js +83 -21
  162. package/dist/index317.js +202 -20
  163. package/dist/index318.js +246 -20
  164. package/dist/index319.js +260 -67
  165. package/dist/index320.js +6 -19
  166. package/dist/index321.js +139 -18
  167. package/dist/index322.js +72 -21
  168. package/dist/index323.js +85 -20
  169. package/dist/index324.js +29 -63
  170. package/dist/index325.js +13 -1531
  171. package/dist/index326.js +67 -378
  172. package/dist/index327.js +3 -2730
  173. package/dist/index328.js +2 -86
  174. package/dist/index329.js +80 -3789
  175. package/dist/index330.js +51 -58
  176. package/dist/index331.js +6 -15
  177. package/dist/index332.js +4 -83
  178. package/dist/index333.js +165 -188
  179. package/dist/index334.js +56 -239
  180. package/dist/index335.js +75 -9
  181. package/dist/index336.js +8 -12
  182. package/dist/index337.js +12 -54
  183. package/dist/index338.js +52 -9
  184. package/dist/index339.js +11 -13
  185. package/dist/index340.js +9 -53
  186. package/dist/index341.js +55 -49
  187. package/dist/index342.js +49 -28
  188. package/dist/index343.js +31 -2
  189. package/dist/index344.js +2 -5
  190. package/dist/index345.js +5 -2
  191. package/dist/index346.js +2 -23
  192. package/dist/index347.js +21 -39
  193. package/dist/index348.js +41 -2
  194. package/dist/index349.js +2 -11
  195. package/dist/index350.js +11 -20
  196. package/dist/index351.js +20 -10
  197. package/dist/index352.js +9 -9
  198. package/dist/index353.js +9 -16
  199. package/dist/index354.js +17 -2
  200. package/dist/index355.js +2 -9
  201. package/dist/index356.js +9 -10
  202. package/dist/index357.js +10 -14
  203. package/dist/index358.js +14 -19
  204. package/dist/index359.js +36 -56
  205. package/dist/index360.js +19 -28
  206. package/dist/index361.js +19 -6
  207. package/dist/index362.js +60 -48
  208. package/dist/index363.js +37 -7
  209. package/dist/index364.js +18 -11
  210. package/dist/index365.js +57 -7
  211. package/dist/index366.js +29 -28
  212. package/dist/index367.js +7 -2
  213. package/dist/index368.js +50 -68
  214. package/dist/index369.js +6 -166
  215. package/dist/index370.js +11 -36
  216. package/dist/index371.js +7 -20
  217. package/dist/index372.js +28 -20
  218. package/dist/index373.js +2 -64
  219. package/dist/index374.js +70 -37
  220. package/dist/index375.js +164 -28
  221. package/dist/index376.js +100 -10
  222. package/dist/index377.js +90 -3
  223. package/dist/index378.js +17 -4
  224. package/dist/index379.js +97 -12
  225. package/dist/index380.js +31 -7
  226. package/dist/index381.js +10 -11
  227. package/dist/index382.js +3 -4
  228. package/dist/index383.js +4 -33
  229. package/dist/index384.js +12 -30
  230. package/dist/index385.js +7 -28
  231. package/dist/index386.js +12 -61
  232. package/dist/index387.js +5 -17
  233. package/dist/index388.js +33 -101
  234. package/dist/index389.js +31 -91
  235. package/dist/index390.js +27 -97
  236. package/dist/index391.js +61 -3
  237. package/dist/index392.js +3 -2
  238. package/dist/index393.js +2 -2
  239. package/dist/index394.js +2 -17
  240. package/dist/index395.js +15 -11
  241. package/dist/index396.js +13 -6
  242. package/dist/index397.js +6 -32
  243. package/dist/index398.js +34 -0
  244. package/dist/index44.js +288 -261
  245. package/dist/index49.js +4 -3
  246. package/dist/index50.js +2 -2
  247. package/dist/index51.js +1 -1
  248. package/dist/index52.js +1 -1
  249. package/dist/index53.js +1 -1
  250. package/dist/index54.js +1 -1
  251. package/dist/index56.js +2 -2
  252. package/dist/index58.js +1 -1
  253. package/dist/index60.js +5 -5
  254. package/dist/index61.js +1 -1
  255. package/dist/index73.js +2 -2
  256. package/dist/index77.js +1 -1
  257. package/dist/index82.js +1 -1
  258. package/dist/index87.js +1 -1
  259. package/dist/index89.js +3 -3
  260. package/dist/index91.js +2 -2
  261. package/dist/index97.js +2 -2
  262. package/dist/src/components/grid/grid.stories.d.ts +28 -22
  263. package/dist/src/components/list/list.stories.d.ts +14 -11
  264. package/dist/src/components/modal/modal.stories.d.ts +14 -11
  265. package/dist/src/components/select/select.d.ts +14 -12
  266. package/dist/src/components/select/select.stories.d.ts +42 -33
  267. package/package.json +2 -2
  268. package/dist/index167.js +0 -116
  269. package/dist/index183.js +0 -20
  270. package/dist/index196.js +0 -5940
  271. package/dist/src/components/room-details-popover/room-details-popover.d.ts +0 -2018
  272. /package/dist/{index155.js → index156.js} +0 -0
  273. /package/dist/{index162.js → index163.js} +0 -0
package/dist/index145.js CHANGED
@@ -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 "./index194.js";
2
+ import { Multiselect as I } from "./index195.js";
3
3
  import { useI18n as k } from "vue-i18n";
4
4
  /* empty css */
5
5
  import q from "./index6.js";
package/dist/index147.js CHANGED
@@ -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 "./index196.js";
3
- import re from "./index197.js";
4
- import ae from "./index198.js";
5
- import ne from "./index199.js";
2
+ import se from "./index197.js";
3
+ import re from "./index198.js";
4
+ import ae from "./index199.js";
5
+ import ne from "./index200.js";
6
6
  import ce from "./index6.js";
7
7
  import ie from "./index51.js";
8
8
  import N from "./index28.js";
9
- import ue from "./index180.js";
9
+ import ue from "./index181.js";
10
10
  import de from "./index56.js";
11
11
  import fe from "./index57.js";
12
12
  import { filterData as ve } from "./index55.js";
13
- import { useDebounceFn as he } from "./index179.js";
13
+ import { useDebounceFn as he } from "./index180.js";
14
14
  const ke = te({
15
15
  name: "QTable",
16
16
  components: {
package/dist/index153.js CHANGED
@@ -1,27 +1,27 @@
1
- import { defineComponent as xe, ref as h, computed as y, watch as ce, nextTick as me, onUnmounted as Be, openBlock as s, createElementBlock as c, normalizeClass as H, createElementVNode as m, createVNode as P, Fragment as z, createCommentVNode as _, toDisplayString as g, createTextVNode as fe, Transition as Ee, withCtx as O, createBlock as Pe, renderList as ae } from "vue";
2
- import ze from "./index45.js";
3
- import Ke from "./index7.js";
1
+ import { defineComponent as Be, ref as h, computed as y, watch as ce, nextTick as me, onUnmounted as Ee, openBlock as u, createElementBlock as c, normalizeClass as H, createElementVNode as m, createVNode as P, Fragment as z, createCommentVNode as _, toDisplayString as g, createTextVNode as fe, createBlock as de, Teleport as Pe, Transition as ze, withCtx as O, renderList as ae } from "vue";
2
+ import Ke from "./index45.js";
3
+ import $e from "./index7.js";
4
4
  import oe from "./index28.js";
5
- import { useI18n as $e } from "vue-i18n";
6
- const Le = {
5
+ import { useI18n as Le } from "vue-i18n";
6
+ const Ne = {
7
7
  key: 0,
8
8
  class: "q-time-picker__desktop"
9
- }, Ne = ["value", "tabindex"], Re = ["value", "tabindex"], Fe = ["value", "tabindex"], Oe = {
9
+ }, Re = ["value", "tabindex"], Fe = ["value", "tabindex"], Oe = ["value", "tabindex"], Ue = {
10
10
  key: 1,
11
11
  class: "q-time-picker__timezone"
12
- }, Ue = {
12
+ }, We = {
13
13
  key: 1,
14
14
  class: "q-time-picker__placeholder"
15
- }, We = {
15
+ }, Qe = {
16
16
  key: 0,
17
17
  class: "q-time-picker__trigger-value"
18
- }, Qe = {
18
+ }, Ge = {
19
19
  key: 0,
20
20
  class: "q-time-picker__timezone"
21
- }, Ge = {
21
+ }, je = {
22
22
  key: 1,
23
23
  class: "q-time-picker__trigger-placeholder"
24
- }, je = { class: "q-time-picker__wheels" }, I = 44, tt = /* @__PURE__ */ xe({
24
+ }, Je = { class: "q-time-picker__wheels" }, I = 44, lt = /* @__PURE__ */ Be({
25
25
  name: "QTimePicker",
26
26
  __name: "time-picker",
27
27
  props: {
@@ -43,8 +43,8 @@ const Le = {
43
43
  timezone: { default: "" }
44
44
  },
45
45
  emits: ["update:modelValue"],
46
- setup(r, { emit: de }) {
47
- const a = r, C = de, { t: K } = $e(), d = h(""), p = h(""), v = h(""), M = h(null), T = h(null), $ = h(null), x = h(!1);
46
+ setup(r, { emit: ve }) {
47
+ const a = r, C = ve, { t: K } = Le(), d = h(""), p = h(""), v = h(""), M = h(null), T = h(null), $ = h(null), x = h(!1);
48
48
  let S = "", w = "";
49
49
  const q = h(!1), b = h(12), D = h(0), A = h("AM"), U = h(null), W = h(null), Q = h(null);
50
50
  let G, j, J;
@@ -74,7 +74,7 @@ const Le = {
74
74
  e.unshift({ label: `${K("HC_NOW")} (${V})`, value: V });
75
75
  }
76
76
  return e;
77
- }), ve = y(() => {
77
+ }), pe = y(() => {
78
78
  if (!a.modelValue) return null;
79
79
  const e = X.value.find(
80
80
  (l) => l.value === a.modelValue
@@ -90,9 +90,9 @@ const Le = {
90
90
  return { label: i, value: i };
91
91
  }
92
92
  return { label: a.modelValue, value: a.modelValue };
93
- }), pe = y(() => a.modelValue || ""), Y = y(
93
+ }), he = y(() => a.modelValue || ""), Y = y(
94
94
  () => !d.value && !p.value && !x.value
95
- ), he = y(() => v.value ? K(`HC_${v.value}`) : ""), ke = y(() => [
95
+ ), ke = y(() => v.value ? K(`HC_${v.value}`) : ""), ge = y(() => [
96
96
  { value: "AM", label: K("HC_AM") },
97
97
  { value: "PM", label: K("HC_PM") }
98
98
  ]), k = (e) => {
@@ -145,7 +145,7 @@ const Le = {
145
145
  if (!w) return;
146
146
  const e = parseInt(w);
147
147
  e >= 0 && e <= 59 && (p.value = e.toString().padStart(2, "0")), w = "";
148
- }, u = () => {
148
+ }, s = () => {
149
149
  const e = parseInt(d.value, 10), t = parseInt(p.value, 10);
150
150
  if (isNaN(e) || isNaN(t)) {
151
151
  !d.value && !p.value && !v.value && C("update:modelValue", "");
@@ -156,7 +156,7 @@ const Le = {
156
156
  a.format === "12h" ? (l = e % 12, v.value === "PM" && (l += 12)) : l = e;
157
157
  const o = l * 60 + t, n = a.minTime ? k(a.minTime) : null, i = a.maxTime ? k(a.maxTime) : null;
158
158
  n !== null && o < n || i !== null && o > i || C("update:modelValue", B(l, t, a.format));
159
- }, ge = () => {
159
+ }, be = () => {
160
160
  if (!a.modelValue) {
161
161
  d.value = "", p.value = "", v.value = "";
162
162
  return;
@@ -171,13 +171,13 @@ const Le = {
171
171
  a.format === "12h" && $.value?.focus();
172
172
  }, re = (e) => {
173
173
  let t = parseInt(d.value) || (a.format === "12h" ? 12 : 0);
174
- t += e, a.format === "12h" ? (t > 12 && (t = 1), t < 1 && (t = 12), d.value = t.toString()) : (t > 23 && (t = 0), t < 0 && (t = 23), d.value = t.toString().padStart(2, "0")), S = "", u();
174
+ t += e, a.format === "12h" ? (t > 12 && (t = 1), t < 1 && (t = 12), d.value = t.toString()) : (t > 23 && (t = 0), t < 0 && (t = 23), d.value = t.toString().padStart(2, "0")), S = "", s();
175
175
  }, ie = (e) => {
176
176
  let t = parseInt(p.value);
177
- isNaN(t) && (t = 0), t += e, t >= 60 && (t = 0), t < 0 && (t = 59), p.value = t.toString().padStart(2, "0"), w = "", u();
178
- }, be = () => {
179
- v.value ? v.value = v.value === "AM" ? "PM" : "AM" : v.value = "AM", u();
180
- }, ye = (e) => {
177
+ isNaN(t) && (t = 0), t += e, t >= 60 && (t = 0), t < 0 && (t = 59), p.value = t.toString().padStart(2, "0"), w = "", s();
178
+ }, ye = () => {
179
+ v.value ? v.value = v.value === "AM" ? "PM" : "AM" : v.value = "AM", s();
180
+ }, Me = (e) => {
181
181
  if (e.key >= "0" && e.key <= "9") {
182
182
  e.preventDefault();
183
183
  const t = a.format === "12h" ? 1 : 0, l = a.format === "12h" ? 12 : 23, o = a.format === "24h", n = ne(
@@ -187,7 +187,7 @@ const Le = {
187
187
  l,
188
188
  o
189
189
  );
190
- d.value = n.value, S = n.buffer, n.complete && (u(), Z());
190
+ d.value = n.value, S = n.buffer, n.complete && (s(), Z());
191
191
  return;
192
192
  }
193
193
  switch (e.key) {
@@ -198,14 +198,14 @@ const Le = {
198
198
  e.preventDefault(), re(-1);
199
199
  break;
200
200
  case "ArrowRight":
201
- e.preventDefault(), R(), u(), Z();
201
+ e.preventDefault(), R(), s(), Z();
202
202
  break;
203
203
  case "Tab":
204
- e.shiftKey ? (R(), u()) : (e.preventDefault(), R(), u(), Z());
204
+ e.shiftKey ? (R(), s()) : (e.preventDefault(), R(), s(), Z());
205
205
  break;
206
206
  case "Backspace":
207
207
  case "Delete":
208
- e.preventDefault(), d.value = "", S = "", u();
208
+ e.preventDefault(), d.value = "", S = "", s();
209
209
  break;
210
210
  case "ArrowLeft":
211
211
  e.preventDefault();
@@ -213,7 +213,7 @@ const Le = {
213
213
  default:
214
214
  !e.ctrlKey && !e.metaKey && !e.altKey && e.key.length === 1 && e.preventDefault();
215
215
  }
216
- }, Me = (e) => {
216
+ }, Se = (e) => {
217
217
  if (e.key >= "0" && e.key <= "9") {
218
218
  e.preventDefault();
219
219
  const t = ne(
@@ -223,7 +223,7 @@ const Le = {
223
223
  59,
224
224
  !0
225
225
  );
226
- p.value = t.value, w = t.buffer, t.complete && (u(), ee());
226
+ p.value = t.value, w = t.buffer, t.complete && (s(), ee());
227
227
  return;
228
228
  }
229
229
  switch (e.key) {
@@ -234,35 +234,35 @@ const Le = {
234
234
  e.preventDefault(), ie(-1);
235
235
  break;
236
236
  case "ArrowRight":
237
- e.preventDefault(), E(), u(), a.format === "12h" && ee();
237
+ e.preventDefault(), E(), s(), a.format === "12h" && ee();
238
238
  break;
239
239
  case "Tab":
240
- e.shiftKey ? (e.preventDefault(), E(), u(), M.value?.focus()) : (E(), u(), a.format === "12h" && (e.preventDefault(), ee()));
240
+ e.shiftKey ? (e.preventDefault(), E(), s(), M.value?.focus()) : (E(), s(), a.format === "12h" && (e.preventDefault(), ee()));
241
241
  break;
242
242
  case "ArrowLeft":
243
- e.preventDefault(), E(), u(), M.value?.focus();
243
+ e.preventDefault(), E(), s(), M.value?.focus();
244
244
  break;
245
245
  case "Backspace":
246
246
  case "Delete":
247
- e.preventDefault(), p.value = "", w = "", u();
247
+ e.preventDefault(), p.value = "", w = "", s();
248
248
  break;
249
249
  default:
250
250
  !e.ctrlKey && !e.metaKey && !e.altKey && e.key.length === 1 && e.preventDefault();
251
251
  }
252
- }, Se = (e) => {
252
+ }, we = (e) => {
253
253
  const t = e.key.toLowerCase();
254
254
  if (t === "a") {
255
- e.preventDefault(), v.value = "AM", u();
255
+ e.preventDefault(), v.value = "AM", s();
256
256
  return;
257
257
  }
258
258
  if (t === "p") {
259
- e.preventDefault(), v.value = "PM", u();
259
+ e.preventDefault(), v.value = "PM", s();
260
260
  return;
261
261
  }
262
262
  switch (e.key) {
263
263
  case "ArrowUp":
264
264
  case "ArrowDown":
265
- e.preventDefault(), be();
265
+ e.preventDefault(), ye();
266
266
  break;
267
267
  case "ArrowLeft":
268
268
  e.preventDefault(), T.value?.focus();
@@ -272,7 +272,7 @@ const Le = {
272
272
  break;
273
273
  case "Backspace":
274
274
  case "Delete":
275
- e.preventDefault(), v.value = "", u();
275
+ e.preventDefault(), v.value = "", s();
276
276
  break;
277
277
  default:
278
278
  !e.ctrlKey && !e.metaKey && !e.altKey && e.key.length === 1 && e.preventDefault();
@@ -282,9 +282,9 @@ const Le = {
282
282
  }, le = () => {
283
283
  requestAnimationFrame(() => {
284
284
  const e = document.activeElement;
285
- e !== M.value && e !== T.value && e !== $.value && (x.value = !1, R(), E(), u());
285
+ e !== M.value && e !== T.value && e !== $.value && (x.value = !1, R(), E(), s());
286
286
  });
287
- }, we = (e) => {
287
+ }, _e = (e) => {
288
288
  if (!a.disabled && !(e.target instanceof HTMLInputElement)) {
289
289
  if (Y.value) {
290
290
  x.value = !0, me(() => M.value?.focus());
@@ -292,13 +292,13 @@ const Le = {
292
292
  }
293
293
  d.value ? p.value ? a.format === "12h" && !v.value ? $.value?.focus() : M.value?.focus() : T.value?.focus() : M.value?.focus();
294
294
  }
295
- }, _e = (e) => {
295
+ }, Te = (e) => {
296
296
  if (!e) {
297
297
  C("update:modelValue", "");
298
298
  return;
299
299
  }
300
300
  C("update:modelValue", e.value);
301
- }, Te = (e) => a.format === "24h" ? e.toString().padStart(2, "0") : e.toString(), qe = () => {
301
+ }, qe = (e) => a.format === "24h" ? e.toString().padStart(2, "0") : e.toString(), De = () => {
302
302
  if (!a.modelValue) {
303
303
  const n = /* @__PURE__ */ new Date();
304
304
  b.value = a.format === "12h" ? n.getHours() % 12 || 12 : n.getHours(), D.value = Math.floor(n.getMinutes() / a.step) * a.step, A.value = n.getHours() >= 12 ? "PM" : "AM";
@@ -310,7 +310,7 @@ const Le = {
310
310
  a.format === "12h" ? (b.value = t % 12 || 12, A.value = t >= 12 ? "PM" : "AM") : b.value = t;
311
311
  const o = Math.round(l / a.step) * a.step;
312
312
  D.value = o >= 60 ? 60 - a.step : o;
313
- }, De = (e = !0) => {
313
+ }, Ae = (e = !0) => {
314
314
  const t = e ? "smooth" : "instant";
315
315
  if (U.value) {
316
316
  const l = L.value.indexOf(b.value);
@@ -333,14 +333,14 @@ const Le = {
333
333
  behavior: t
334
334
  });
335
335
  }
336
- }, Ae = () => {
337
- a.disabled || (qe(), q.value = !0);
338
- }, Ve = (e) => {
336
+ }, Ve = () => {
337
+ a.disabled || (De(), q.value = !0);
338
+ }, He = (e) => {
339
339
  clearTimeout(G), G = setTimeout(() => {
340
340
  const t = e.target, l = Math.round(t.scrollTop / I), o = Math.max(0, Math.min(l, L.value.length - 1));
341
341
  b.value = L.value[o];
342
342
  }, 60);
343
- }, He = (e) => {
343
+ }, Ie = (e) => {
344
344
  clearTimeout(j), j = setTimeout(() => {
345
345
  const t = e.target, l = Math.round(t.scrollTop / I), o = Math.max(
346
346
  0,
@@ -348,12 +348,12 @@ const Le = {
348
348
  );
349
349
  D.value = N.value[o];
350
350
  }, 60);
351
- }, Ie = (e) => {
351
+ }, Ce = (e) => {
352
352
  clearTimeout(J), J = setTimeout(() => {
353
353
  const t = e.target, l = Math.round(t.scrollTop / I);
354
354
  A.value = l <= 0 ? "AM" : "PM";
355
355
  }, 60);
356
- }, Ce = () => {
356
+ }, xe = () => {
357
357
  let e;
358
358
  a.format === "12h" ? (e = b.value % 12, A.value === "PM" && (e += 12)) : e = b.value;
359
359
  const t = B(e, D.value, a.format);
@@ -361,24 +361,24 @@ const Le = {
361
361
  };
362
362
  return ce(
363
363
  [() => a.modelValue, () => a.format],
364
- () => ge(),
364
+ () => be(),
365
365
  { immediate: !0 }
366
366
  ), ce(q, async (e) => {
367
367
  e && (await me(), requestAnimationFrame(() => {
368
- De(!1);
368
+ Ae(!1);
369
369
  }));
370
- }), Be(() => {
370
+ }), Ee(() => {
371
371
  clearTimeout(G), clearTimeout(j), clearTimeout(J);
372
- }), (e, t) => (s(), c("div", {
372
+ }), (e, t) => (u(), c("div", {
373
373
  class: H(["q-time-picker", { "q-time-picker--disabled": r.disabled }])
374
374
  }, [
375
- r.mobile ? (s(), c(z, { key: 1 }, [
375
+ r.mobile ? (u(), c(z, { key: 1 }, [
376
376
  m("div", {
377
377
  class: H(["q-time-picker__trigger", {
378
378
  "q-time-picker__trigger--disabled": r.disabled,
379
379
  [`q-time-picker__trigger--${r.size}`]: !0
380
380
  }]),
381
- onClick: Ae
381
+ onClick: Ve
382
382
  }, [
383
383
  P(oe, {
384
384
  icon: "clock",
@@ -389,10 +389,10 @@ const Le = {
389
389
  color: "inkwell-10",
390
390
  class: "q-time-picker__trigger-icon"
391
391
  }),
392
- r.modelValue ? (s(), c("span", We, [
393
- fe(g(pe.value) + " ", 1),
394
- r.timezone ? (s(), c("span", Qe, g(r.timezone), 1)) : _("", !0)
395
- ])) : (s(), c("span", Ge, g(r.placeholder || e.$t("HC_SELECT_TIME")), 1)),
392
+ r.modelValue ? (u(), c("span", Qe, [
393
+ fe(g(he.value) + " ", 1),
394
+ r.timezone ? (u(), c("span", Ge, g(r.timezone), 1)) : _("", !0)
395
+ ])) : (u(), c("span", je, g(r.placeholder || e.$t("HC_SELECT_TIME")), 1)),
396
396
  P(oe, {
397
397
  icon: "chevron-down",
398
398
  type: "line",
@@ -401,90 +401,93 @@ const Le = {
401
401
  class: "q-time-picker__trigger-chevron"
402
402
  })
403
403
  ], 2),
404
- P(Ee, { name: "slide-up-fade" }, {
405
- default: O(() => [
406
- q.value ? (s(), Pe(Ke, {
407
- key: 0,
408
- modelValue: q.value,
409
- "onUpdate:modelValue": t[0] || (t[0] = (l) => q.value = l),
410
- "content-class": "px-4 pb-6 bg-gray-0",
411
- "header-class": "border-b border-solid bg-gray-0 border-gray-10 !pb-4 rounded-t-lg",
412
- "show-close-button": !1
413
- }, {
414
- header: O(() => [
415
- fe(g(r.placeholder || e.$t("HC_SELECT_TIME")), 1)
416
- ]),
417
- headerAction: O(() => [
418
- m("button", {
419
- class: "q-time-picker__done-btn",
420
- type: "button",
421
- onClick: Ce
422
- }, g(e.$t("HC_DONE")), 1)
423
- ]),
424
- default: O(() => [
425
- m("div", je, [
426
- t[8] || (t[8] = m("div", { class: "q-time-picker__wheel-highlight" }, null, -1)),
427
- m("div", {
428
- ref_key: "hourColumnRef",
429
- ref: U,
430
- class: "q-time-picker__wheel-column",
431
- onScroll: Ve
432
- }, [
433
- t[2] || (t[2] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1)),
434
- (s(!0), c(z, null, ae(L.value, (l) => (s(), c("div", {
435
- key: l,
436
- class: H(["q-time-picker__wheel-item", {
437
- "q-time-picker__wheel-item--selected": l === b.value
438
- }])
439
- }, g(Te(l)), 3))), 128)),
440
- t[3] || (t[3] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1))
441
- ], 544),
442
- t[9] || (t[9] = m("div", { class: "q-time-picker__wheel-separator" }, ":", -1)),
443
- m("div", {
444
- ref_key: "minuteColumnRef",
445
- ref: W,
446
- class: "q-time-picker__wheel-column",
447
- onScroll: He
448
- }, [
449
- t[4] || (t[4] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1)),
450
- (s(!0), c(z, null, ae(N.value, (l) => (s(), c("div", {
451
- key: l,
452
- class: H(["q-time-picker__wheel-item", {
453
- "q-time-picker__wheel-item--selected": l === D.value
454
- }])
455
- }, g(l.toString().padStart(2, "0")), 3))), 128)),
456
- t[5] || (t[5] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1))
457
- ], 544),
458
- r.format === "12h" ? (s(), c("div", {
459
- key: 0,
460
- ref_key: "periodColumnRef",
461
- ref: Q,
462
- class: "q-time-picker__wheel-column q-time-picker__wheel-column--period",
463
- onScroll: Ie
464
- }, [
465
- t[6] || (t[6] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1)),
466
- (s(!0), c(z, null, ae(ke.value, (l) => (s(), c("div", {
467
- key: l.value,
468
- class: H(["q-time-picker__wheel-item", {
469
- "q-time-picker__wheel-item--selected": l.value === A.value
470
- }])
471
- }, g(l.label), 3))), 128)),
472
- t[7] || (t[7] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1))
473
- ], 544)) : _("", !0)
474
- ])
475
- ]),
476
- _: 1
477
- }, 8, ["modelValue"])) : _("", !0)
478
- ]),
479
- _: 1
480
- })
481
- ], 64)) : (s(), c("div", Le, [
404
+ (u(), de(Pe, { to: "#body" }, [
405
+ P(ze, { name: "slide-up-fade" }, {
406
+ default: O(() => [
407
+ q.value ? (u(), de($e, {
408
+ key: 0,
409
+ modelValue: q.value,
410
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => q.value = l),
411
+ "content-class": "px-4 pb-6 bg-gray-0",
412
+ "header-class": "border-b border-solid bg-gray-0 border-gray-10 !pb-4 rounded-t-lg",
413
+ "show-close-button": !1,
414
+ class: "q-time-picker-sheet"
415
+ }, {
416
+ header: O(() => [
417
+ fe(g(r.placeholder || e.$t("HC_SELECT_TIME")), 1)
418
+ ]),
419
+ headerAction: O(() => [
420
+ m("button", {
421
+ class: "q-time-picker__done-btn",
422
+ type: "button",
423
+ onClick: xe
424
+ }, g(e.$t("HC_DONE")), 1)
425
+ ]),
426
+ default: O(() => [
427
+ m("div", Je, [
428
+ t[8] || (t[8] = m("div", { class: "q-time-picker__wheel-highlight" }, null, -1)),
429
+ m("div", {
430
+ ref_key: "hourColumnRef",
431
+ ref: U,
432
+ class: "q-time-picker__wheel-column",
433
+ onScroll: He
434
+ }, [
435
+ t[2] || (t[2] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1)),
436
+ (u(!0), c(z, null, ae(L.value, (l) => (u(), c("div", {
437
+ key: l,
438
+ class: H(["q-time-picker__wheel-item", {
439
+ "q-time-picker__wheel-item--selected": l === b.value
440
+ }])
441
+ }, g(qe(l)), 3))), 128)),
442
+ t[3] || (t[3] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1))
443
+ ], 544),
444
+ t[9] || (t[9] = m("div", { class: "q-time-picker__wheel-separator" }, ":", -1)),
445
+ m("div", {
446
+ ref_key: "minuteColumnRef",
447
+ ref: W,
448
+ class: "q-time-picker__wheel-column",
449
+ onScroll: Ie
450
+ }, [
451
+ t[4] || (t[4] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1)),
452
+ (u(!0), c(z, null, ae(N.value, (l) => (u(), c("div", {
453
+ key: l,
454
+ class: H(["q-time-picker__wheel-item", {
455
+ "q-time-picker__wheel-item--selected": l === D.value
456
+ }])
457
+ }, g(l.toString().padStart(2, "0")), 3))), 128)),
458
+ t[5] || (t[5] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1))
459
+ ], 544),
460
+ r.format === "12h" ? (u(), c("div", {
461
+ key: 0,
462
+ ref_key: "periodColumnRef",
463
+ ref: Q,
464
+ class: "q-time-picker__wheel-column q-time-picker__wheel-column--period",
465
+ onScroll: Ce
466
+ }, [
467
+ t[6] || (t[6] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1)),
468
+ (u(!0), c(z, null, ae(ge.value, (l) => (u(), c("div", {
469
+ key: l.value,
470
+ class: H(["q-time-picker__wheel-item", {
471
+ "q-time-picker__wheel-item--selected": l.value === A.value
472
+ }])
473
+ }, g(l.label), 3))), 128)),
474
+ t[7] || (t[7] = m("div", { class: "q-time-picker__wheel-pad" }, null, -1))
475
+ ], 544)) : _("", !0)
476
+ ])
477
+ ]),
478
+ _: 1
479
+ }, 8, ["modelValue"])) : _("", !0)
480
+ ]),
481
+ _: 1
482
+ })
483
+ ]))
484
+ ], 64)) : (u(), c("div", Ne, [
482
485
  m("div", {
483
486
  class: H(["q-time-picker__segments", {
484
487
  "q-time-picker__segments--focused": x.value,
485
488
  "q-time-picker__segments--empty": !d.value && !p.value
486
489
  }]),
487
- onClick: we
490
+ onClick: _e
488
491
  }, [
489
492
  P(oe, {
490
493
  icon: "clock",
@@ -495,7 +498,7 @@ const Le = {
495
498
  color: "inkwell-10",
496
499
  class: "q-time-picker__clock-icon"
497
500
  }),
498
- Y.value ? _("", !0) : (s(), c(z, { key: 0 }, [
501
+ Y.value ? _("", !0) : (u(), c(z, { key: 0 }, [
499
502
  m("input", {
500
503
  ref_key: "hourInputRef",
501
504
  ref: M,
@@ -504,10 +507,10 @@ const Le = {
504
507
  tabindex: r.disabled ? -1 : 0,
505
508
  inputmode: "numeric",
506
509
  placeholder: "--",
507
- onKeydown: ye,
510
+ onKeydown: Me,
508
511
  onFocus: te,
509
512
  onBlur: le
510
- }, null, 40, Ne),
513
+ }, null, 40, Re),
511
514
  t[1] || (t[1] = m("span", { class: "q-time-picker__segment-colon" }, ":", -1)),
512
515
  m("input", {
513
516
  ref_key: "minuteInputRef",
@@ -517,29 +520,29 @@ const Le = {
517
520
  tabindex: r.disabled ? -1 : 0,
518
521
  inputmode: "numeric",
519
522
  placeholder: "--",
520
- onKeydown: Me,
523
+ onKeydown: Se,
521
524
  onFocus: te,
522
525
  onBlur: le
523
- }, null, 40, Re),
524
- r.format === "12h" ? (s(), c("input", {
526
+ }, null, 40, Fe),
527
+ r.format === "12h" ? (u(), c("input", {
525
528
  key: 0,
526
529
  ref_key: "periodInputRef",
527
530
  ref: $,
528
- value: he.value,
531
+ value: ke.value,
529
532
  class: "q-time-picker__segment q-time-picker__segment--period",
530
533
  tabindex: r.disabled ? -1 : 0,
531
534
  placeholder: "--",
532
- onKeydown: Se,
535
+ onKeydown: we,
533
536
  onFocus: te,
534
537
  onBlur: le
535
- }, null, 40, Fe)) : _("", !0),
536
- r.timezone ? (s(), c("span", Oe, g(r.timezone), 1)) : _("", !0)
538
+ }, null, 40, Oe)) : _("", !0),
539
+ r.timezone ? (u(), c("span", Ue, g(r.timezone), 1)) : _("", !0)
537
540
  ], 64)),
538
- Y.value ? (s(), c("span", Ue, g(r.placeholder || e.$t("HC_SELECT_TIME")), 1)) : _("", !0)
541
+ Y.value ? (u(), c("span", We, g(r.placeholder || e.$t("HC_SELECT_TIME")), 1)) : _("", !0)
539
542
  ], 2),
540
- P(ze, {
543
+ P(Ke, {
541
544
  id: r.id,
542
- "model-value": ve.value,
545
+ "model-value": pe.value,
543
546
  options: X.value,
544
547
  placeholder: "",
545
548
  disabled: r.disabled,
@@ -551,12 +554,12 @@ const Le = {
551
554
  "close-on-select": !0,
552
555
  "track-by": "value",
553
556
  label: "label",
554
- "onUpdate:modelValue": _e
557
+ "onUpdate:modelValue": Te
555
558
  }, null, 8, ["id", "model-value", "options", "disabled", "required", "floating-label", "size", "allow-empty"])
556
559
  ]))
557
560
  ], 2));
558
561
  }
559
562
  });
560
563
  export {
561
- tt as default
564
+ lt as default
562
565
  };
@@ -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 "./index179.js";
2
+ import { useThrottleFn as b } from "./index180.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 "./index200.js";
2
+ import { createPopper as st } from "./index201.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 "./index168.js";
3
- import { EditorContent as $, useEditor as D } from "./index201.js";
4
- import G from "./index202.js";
5
- import I from "./index203.js";
6
- import { Underline as J } from "./index204.js";
7
- import { TextStyle as N, Color as X } from "./index205.js";
8
- import { Link as Y } from "./index206.js";
9
- import { Placeholder as Z } from "./index207.js";
2
+ import { onClickOutside as b, useBreakpoints as W, breakpointsTailwind as _ } from "./index169.js";
3
+ import { EditorContent as $, useEditor as D } from "./index202.js";
4
+ import G from "./index203.js";
5
+ import I from "./index204.js";
6
+ import { Underline as J } from "./index205.js";
7
+ import { TextStyle as N, Color as X } from "./index206.js";
8
+ import { Link as Y } from "./index207.js";
9
+ import { Placeholder as Z } from "./index208.js";
10
10
  import ee from "./index24.js";
11
- import te from "./index167.js";
11
+ import te from "./index168.js";
12
12
  const ve = q({
13
13
  components: {
14
14
  EditorContent: $,