@quoreadmin/ui 1.9.3 → 1.10.1

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 (355) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +46 -44
  3. package/dist/index10.js +2 -2
  4. package/dist/index100.js +20 -25
  5. package/dist/index101.js +34 -0
  6. package/dist/{index102.js → index103.js} +1 -1
  7. package/dist/index105.js +147 -2
  8. package/dist/index106.js +2 -37
  9. package/dist/index107.js +39 -0
  10. package/dist/{index108.js → index109.js} +2 -2
  11. package/dist/index11.js +2 -2
  12. package/dist/{index110.js → index111.js} +1 -1
  13. package/dist/{index112.js → index113.js} +3 -3
  14. package/dist/{index114.js → index115.js} +6 -6
  15. package/dist/{index116.js → index117.js} +1 -1
  16. package/dist/{index118.js → index119.js} +5 -5
  17. package/dist/index12.js +2 -2
  18. package/dist/index13.js +2 -2
  19. package/dist/index131.js +272 -0
  20. package/dist/index134.js +8 -249
  21. package/dist/{index132.js → index136.js} +1 -1
  22. package/dist/index138.js +257 -0
  23. package/dist/index14.js +2 -2
  24. package/dist/index141.js +36 -45
  25. package/dist/index143.js +17 -1169
  26. package/dist/index145.js +38 -267
  27. package/dist/index147.js +1125 -286
  28. package/dist/index149.js +278 -15
  29. package/dist/index15.js +2 -2
  30. package/dist/index151.js +316 -69
  31. package/dist/index153.js +24 -558
  32. package/dist/index155.js +103 -0
  33. package/dist/index157.js +565 -0
  34. package/dist/index16.js +2 -2
  35. package/dist/{index158.js → index162.js} +1 -1
  36. package/dist/index165.js +353 -174
  37. package/dist/{index163.js → index167.js} +1 -1
  38. package/dist/index169.js +195 -482
  39. package/dist/index17.js +2 -2
  40. package/dist/index172.js +105 -852
  41. package/dist/index173.js +493 -36
  42. package/dist/index174.js +5507 -265
  43. package/dist/index175.js +87 -146
  44. package/dist/index176.js +847 -1185
  45. package/dist/index177.js +35 -769
  46. package/dist/index178.js +270 -1298
  47. package/dist/index179.js +142 -268
  48. package/dist/index18.js +2 -2
  49. package/dist/index180.js +1185 -92
  50. package/dist/index181.js +772 -2
  51. package/dist/index182.js +1229 -1297
  52. package/dist/index183.js +278 -0
  53. package/dist/index184.js +105 -17
  54. package/dist/index185.js +2 -18
  55. package/dist/index186.js +1372 -14
  56. package/dist/index188.js +14 -21
  57. package/dist/index189.js +18 -759
  58. package/dist/index19.js +2 -2
  59. package/dist/index190.js +18 -1144
  60. package/dist/index191.js +16 -1232
  61. package/dist/index192.js +22 -11274
  62. package/dist/index193.js +759 -36
  63. package/dist/index194.js +1144 -44
  64. package/dist/index195.js +1117 -1111
  65. package/dist/index196.js +11279 -0
  66. package/dist/index197.js +36 -5938
  67. package/dist/index198.js +42 -205
  68. package/dist/index199.js +1218 -25
  69. package/dist/index2.js +2 -2
  70. package/dist/index20.js +2 -2
  71. package/dist/index201.js +5932 -72
  72. package/dist/index202.js +199 -245
  73. package/dist/index203.js +25 -13674
  74. package/dist/index204.js +17 -26
  75. package/dist/index205.js +76 -61
  76. package/dist/index206.js +239 -224
  77. package/dist/index207.js +13659 -286
  78. package/dist/index208.js +27 -295
  79. package/dist/index209.js +62 -32
  80. package/dist/index21.js +2 -2
  81. package/dist/index210.js +236 -114
  82. package/dist/index211.js +305 -30
  83. package/dist/index212.js +295 -26
  84. package/dist/index213.js +30 -33
  85. package/dist/index214.js +114 -49
  86. package/dist/index215.js +33 -40
  87. package/dist/index216.js +26 -4
  88. package/dist/index217.js +36 -9
  89. package/dist/index218.js +50 -18
  90. package/dist/index219.js +43 -10
  91. package/dist/index22.js +2 -2
  92. package/dist/index220.js +4 -10
  93. package/dist/index221.js +9 -39
  94. package/dist/index222.js +19 -21
  95. package/dist/index223.js +10 -88
  96. package/dist/index224.js +9 -406
  97. package/dist/index225.js +39 -22
  98. package/dist/index226.js +21 -161
  99. package/dist/index227.js +157 -224
  100. package/dist/index228.js +222 -31
  101. package/dist/index229.js +37 -10
  102. package/dist/index23.js +2 -2
  103. package/dist/index230.js +10 -127
  104. package/dist/index231.js +148 -25
  105. package/dist/index232.js +20 -80
  106. package/dist/index233.js +1 -1
  107. package/dist/index234.js +15 -13
  108. package/dist/index235.js +198 -19
  109. package/dist/index236.js +68 -18
  110. package/dist/index237.js +87 -19
  111. package/dist/index238.js +383 -137
  112. package/dist/index239.js +34 -20
  113. package/dist/index24.js +2 -2
  114. package/dist/index240.js +39 -21
  115. package/dist/index241.js +20 -197
  116. package/dist/index242.js +21 -69
  117. package/dist/index243.js +22 -34
  118. package/dist/index244.js +19 -39
  119. package/dist/index245.js +836 -22
  120. package/dist/index246.js +701 -21
  121. package/dist/index247.js +176 -20
  122. package/dist/index248.js +20 -836
  123. package/dist/index249.js +19 -701
  124. package/dist/index250.js +22 -176
  125. package/dist/index251.js +12 -14
  126. package/dist/index252.js +9 -9
  127. package/dist/index253.js +3 -20
  128. package/dist/index254.js +187 -3
  129. package/dist/index255.js +42 -96
  130. package/dist/index256.js +1160 -70
  131. package/dist/index257.js +101 -1197
  132. package/dist/index258.js +1 -1
  133. package/dist/index259.js +1 -1
  134. package/dist/index26.js +2 -2
  135. package/dist/index260.js +1 -1
  136. package/dist/index261.js +37 -28
  137. package/dist/index262.js +21 -12
  138. package/dist/index263.js +9 -9
  139. package/dist/index264.js +20 -2
  140. package/dist/index266.js +2 -3636
  141. package/dist/index267.js +3620 -39
  142. package/dist/index268.js +30 -52
  143. package/dist/index269.js +47 -22
  144. package/dist/index27.js +2 -2
  145. package/dist/index270.js +25 -188
  146. package/dist/index271.js +213 -8
  147. package/dist/index272.js +9 -56
  148. package/dist/index273.js +41 -45
  149. package/dist/index274.js +46 -39
  150. package/dist/index275.js +36 -57
  151. package/dist/index276.js +41 -692
  152. package/dist/index277.js +707 -23
  153. package/dist/index278.js +25 -47
  154. package/dist/index279.js +63 -10
  155. package/dist/index28.js +2 -2
  156. package/dist/index280.js +10 -704
  157. package/dist/index281.js +655 -770
  158. package/dist/index282.js +820 -3
  159. package/dist/index283.js +80 -27
  160. package/dist/index284.js +20 -253
  161. package/dist/index285.js +20 -8
  162. package/dist/index286.js +42 -126
  163. package/dist/index287.js +59 -63
  164. package/dist/index288.js +26 -2
  165. package/dist/index289.js +21 -78
  166. package/dist/index29.js +2 -2
  167. package/dist/index290.js +21 -53
  168. package/dist/index291.js +16 -26
  169. package/dist/index292.js +17 -22
  170. package/dist/index293.js +253 -22
  171. package/dist/index294.js +5 -13
  172. package/dist/index295.js +137 -16
  173. package/dist/index296.js +82 -22
  174. package/dist/index297.js +23 -1534
  175. package/dist/index298.js +3 -386
  176. package/dist/index299.js +23 -2727
  177. package/dist/index3.js +2 -2
  178. package/dist/index30.js +2 -2
  179. package/dist/index300.js +252 -76
  180. package/dist/index301.js +4 -3790
  181. package/dist/index302.js +135 -55
  182. package/dist/index303.js +71 -77
  183. package/dist/index304.js +86 -21
  184. package/dist/index305.js +26 -932
  185. package/dist/index306.js +14 -20
  186. package/dist/index307.js +74 -19
  187. package/dist/index308.js +3 -19
  188. package/dist/index309.js +2 -69
  189. package/dist/index31.js +3 -3
  190. package/dist/index310.js +82 -18
  191. package/dist/index311.js +53 -19
  192. package/dist/index312.js +5 -21
  193. package/dist/index313.js +4 -21
  194. package/dist/index314.js +178 -62
  195. package/dist/index315.js +62 -14
  196. package/dist/index316.js +75 -84
  197. package/dist/index317.js +1485 -153
  198. package/dist/index318.js +357 -217
  199. package/dist/index319.js +2714 -245
  200. package/dist/index32.js +2 -2
  201. package/dist/index320.js +84 -4
  202. package/dist/index321.js +3785 -133
  203. package/dist/index322.js +57 -70
  204. package/dist/index323.js +75 -83
  205. package/dist/index324.js +21 -28
  206. package/dist/index325.js +933 -14
  207. package/dist/index326.js +21 -74
  208. package/dist/index327.js +19 -3
  209. package/dist/index328.js +20 -2
  210. package/dist/index329.js +66 -80
  211. package/dist/index33.js +2 -2
  212. package/dist/index330.js +19 -53
  213. package/dist/index331.js +19 -6
  214. package/dist/index332.js +21 -4
  215. package/dist/index333.js +21 -178
  216. package/dist/index334.js +62 -62
  217. package/dist/index335.js +2 -75
  218. package/dist/index336.js +15 -9
  219. package/dist/index337.js +83 -12
  220. package/dist/index338.js +197 -50
  221. package/dist/index339.js +243 -9
  222. package/dist/index34.js +2 -2
  223. package/dist/index340.js +35 -12
  224. package/dist/index341.js +8 -57
  225. package/dist/index342.js +12 -51
  226. package/dist/index343.js +49 -25
  227. package/dist/index344.js +12 -2
  228. package/dist/index345.js +14 -5
  229. package/dist/index346.js +58 -2
  230. package/dist/index347.js +52 -23
  231. package/dist/index348.js +28 -38
  232. package/dist/index349.js +2 -2
  233. package/dist/index35.js +2 -2
  234. package/dist/index350.js +4 -10
  235. package/dist/index351.js +2 -20
  236. package/dist/index352.js +22 -9
  237. package/dist/index353.js +40 -9
  238. package/dist/index354.js +2 -17
  239. package/dist/index355.js +11 -2
  240. package/dist/index356.js +20 -9
  241. package/dist/index357.js +10 -10
  242. package/dist/index358.js +9 -13
  243. package/dist/index359.js +16 -36
  244. package/dist/index36.js +2 -2
  245. package/dist/index360.js +2 -20
  246. package/dist/index361.js +9 -20
  247. package/dist/index362.js +9 -63
  248. package/dist/index363.js +14 -37
  249. package/dist/index364.js +1 -1
  250. package/dist/index365.js +1 -1
  251. package/dist/index366.js +5 -5
  252. package/dist/index368.js +2 -2
  253. package/dist/index37.js +2 -2
  254. package/dist/index370.js +2 -2
  255. package/dist/index372.js +1 -1
  256. package/dist/index374.js +4 -4
  257. package/dist/index375.js +3 -3
  258. package/dist/index376.js +19 -100
  259. package/dist/index377.js +19 -90
  260. package/dist/index378.js +63 -16
  261. package/dist/index379.js +36 -97
  262. package/dist/index38.js +5 -16
  263. package/dist/index380.js +1 -1
  264. package/dist/index381.js +3 -3
  265. package/dist/index384.js +3 -3
  266. package/dist/index386.js +1 -1
  267. package/dist/index388.js +3 -3
  268. package/dist/index389.js +5 -5
  269. package/dist/index39.js +15 -43
  270. package/dist/index390.js +3 -3
  271. package/dist/index392.js +17 -3
  272. package/dist/index393.js +101 -2
  273. package/dist/index394.js +91 -2
  274. package/dist/index395.js +98 -17
  275. package/dist/index396.js +3 -13
  276. package/dist/index397.js +2 -6
  277. package/dist/index398.js +2 -32
  278. package/dist/index399.js +19 -0
  279. package/dist/index4.js +2 -2
  280. package/dist/index40.js +42 -67
  281. package/dist/index400.js +15 -0
  282. package/dist/index401.js +8 -0
  283. package/dist/index402.js +34 -0
  284. package/dist/index41.js +66 -26
  285. package/dist/index42.js +25 -32
  286. package/dist/index43.js +32 -37
  287. package/dist/index44.js +37 -1389
  288. package/dist/index45.js +1362 -344
  289. package/dist/index46.js +364 -145
  290. package/dist/index47.js +155 -18
  291. package/dist/index48.js +16 -42
  292. package/dist/index49.js +45 -5
  293. package/dist/index5.js +2 -2
  294. package/dist/index50.js +5 -69
  295. package/dist/index51.js +67 -61
  296. package/dist/index52.js +57 -175
  297. package/dist/index53.js +173 -77
  298. package/dist/index54.js +79 -200
  299. package/dist/index55.js +206 -68
  300. package/dist/index56.js +69 -20
  301. package/dist/index57.js +20 -11
  302. package/dist/index58.js +10 -6
  303. package/dist/index59.js +5 -209
  304. package/dist/index6.js +2 -2
  305. package/dist/index60.js +210 -12
  306. package/dist/index61.js +12 -184
  307. package/dist/index62.js +176 -68
  308. package/dist/index63.js +79 -0
  309. package/dist/index65.js +7 -91
  310. package/dist/index66.js +93 -0
  311. package/dist/index7.js +2 -2
  312. package/dist/{index73.js → index74.js} +2 -2
  313. package/dist/index78.js +40 -308
  314. package/dist/index79.js +330 -0
  315. package/dist/index8.js +3 -3
  316. package/dist/{index82.js → index83.js} +5 -5
  317. package/dist/{index84.js → index85.js} +1 -1
  318. package/dist/index87.js +23 -131
  319. package/dist/index88.js +144 -0
  320. package/dist/index9.js +2 -2
  321. package/dist/{index89.js → index90.js} +5 -5
  322. package/dist/{index91.js → index92.js} +5 -5
  323. package/dist/{index97.js → index98.js} +5 -5
  324. package/dist/src/components/page-layout/page-layout.vue.d.ts +89 -0
  325. package/dist/src/components/room-details-popover/room-details-popover.d.ts +2087 -0
  326. package/dist/src/components/time-picker/time-picker.vue.d.ts +23 -7
  327. package/dist/src/index.d.ts +1 -0
  328. package/package.json +1 -1
  329. package/dist/index104.js +0 -149
  330. package/dist/index130.js +0 -16
  331. package/dist/index137.js +0 -56
  332. package/dist/index139.js +0 -37
  333. package/dist/index161.js +0 -389
  334. package/dist/index168.js +0 -116
  335. package/dist/index170.js +0 -5524
  336. package/dist/index171.js +0 -93
  337. package/dist/index187.js +0 -20
  338. package/dist/index200.js +0 -20
  339. package/dist/index64.js +0 -9
  340. package/dist/index77.js +0 -62
  341. package/dist/index86.js +0 -36
  342. package/dist/index99.js +0 -29
  343. /package/dist/{index120.js → index121.js} +0 -0
  344. /package/dist/{index122.js → index123.js} +0 -0
  345. /package/dist/{index124.js → index125.js} +0 -0
  346. /package/dist/{index126.js → index127.js} +0 -0
  347. /package/dist/{index128.js → index129.js} +0 -0
  348. /package/dist/{index156.js → index160.js} +0 -0
  349. /package/dist/{index67.js → index68.js} +0 -0
  350. /package/dist/{index69.js → index70.js} +0 -0
  351. /package/dist/{index71.js → index72.js} +0 -0
  352. /package/dist/{index75.js → index76.js} +0 -0
  353. /package/dist/{index80.js → index81.js} +0 -0
  354. /package/dist/{index93.js → index94.js} +0 -0
  355. /package/dist/{index95.js → index96.js} +0 -0
package/dist/index45.js CHANGED
@@ -1,378 +1,1396 @@
1
- import $ from "./index145.js";
2
- import { resolveComponent as b, openBlock as s, createElementBlock as a, normalizeClass as i, createVNode as h, createSlots as V, withCtx as r, createElementVNode as t, createBlock as g, createCommentVNode as n, renderSlot as f, normalizeProps as C, mergeProps as v, toDisplayString as o, withModifiers as k, Fragment as L, renderList as E, createTextVNode as c } from "vue";
1
+ import M from "./index147.js";
2
+ import { resolveComponent as g, openBlock as s, createElementBlock as i, createVNode as r, withCtx as d, createElementVNode as n, normalizeClass as u, toDisplayString as a, createCommentVNode as t, createBlock as y, Fragment as h, renderList as T, createTextVNode as k, withKeys as U, withModifiers as E, mergeProps as A, toHandlerKey as N, renderSlot as R } from "vue";
3
3
  /* empty css */
4
- import q from "./index64.js";
5
- const O = ["id"], R = ["onMousedown"], z = {
4
+ import G from "./index65.js";
5
+ const L = ["id"], z = ["id"], Y = ["id"], P = { class: "flex gap-3" }, B = {
6
+ key: 0,
7
+ class: "animate-shimmer bg-gray-30 w-3/4 h-6 grow"
8
+ }, K = {
9
+ key: 0,
10
+ class: "text-base text-inkwell-30"
11
+ }, W = { key: 0 }, j = ["src", "alt"], F = { key: 0 }, Z = { key: 1 }, Q = ["href"], J = { class: "flex items-start" }, X = { class: "list-unstyled text-sm w-full font-normal" }, _ = { class: "grow" }, x = { class: "grow" }, ee = { class: "grow" }, oe = { class: "grow" }, le = { class: "position-relative icon-container ml-auto" }, se = {
12
+ key: 0,
13
+ class: "animate-shimmer bg-gray-10 w-full h-4 my-4"
14
+ }, ie = {
6
15
  key: 1,
7
- class: "searchable-placeholder"
8
- }, A = {
16
+ class: "flex flex-wrap items-center mb-3 gap-2"
17
+ }, te = ["src", "alt"], re = {
18
+ key: 2,
19
+ class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
20
+ }, ne = {
21
+ key: 3,
22
+ class: "flex flex-wrap items-center mb-4"
23
+ }, ae = ["href"], de = { class: "shrink-0 mr-2 text-sm font-normal" }, ue = {
9
24
  key: 0,
10
- class: "required-indicator"
11
- }, D = { class: "flex gap-2 px-4 py-3" }, j = { class: "required-indicator" }, H = {
25
+ class: "animate-shimmer bg-gray-10 w-full h-6"
26
+ }, pe = {
27
+ key: 1,
28
+ class: "guest-info-container"
29
+ }, me = {
12
30
  key: 0,
13
- class: "tag-container"
14
- }, P = { key: 0 }, F = {
15
- class: /* @__PURE__ */ i([
16
- "tag-name text-sm leading-normal pr-2 capitalize"
17
- ])
18
- }, I = { key: 1 }, M = ["onClick"], Q = {
31
+ class: "text-base text-inkwell-30 mb-2"
32
+ }, ge = {
19
33
  key: 0,
20
- class: "text-blue-20 text-xs count"
21
- }, U = {
34
+ class: "flex gap-1 text-xs mb-2 stay-details-row"
35
+ }, ye = { class: "text-truncate text-inkwell-0" }, ke = { class: "grow text-inkwell-30" }, he = {
36
+ key: 1,
37
+ class: "flex gap-1 text-xs mb-2 stay-details-row"
38
+ }, ve = { class: "text-truncate text-inkwell-0" }, we = { class: "grow text-inkwell-30" }, fe = { class: "shrink-0 mr-2 text-sm font-normal" }, Te = {
22
39
  key: 0,
23
- class: "text-inkwell-10 text-right truncate font-normal"
24
- }, B = {
40
+ class: "animate-shimmer bg-gray-30 w-full h-6"
41
+ }, qe = {
25
42
  key: 1,
26
- class: "text-blue-20 text-xs shrink-0 text-nowrap"
27
- }, N = { class: "text-inkwell-40" }, G = { class: "text-inkwell-10 text-right truncate" }, K = {
43
+ class: "open-tickets"
44
+ }, be = ["id"], Ce = {
45
+ key: 2,
46
+ class: "text-center mx-auto font-normal"
47
+ }, ce = { class: "shrink-0 mr-2 text-sm font-normal" }, Oe = {
48
+ key: 0,
49
+ class: "animate-shimmer bg-gray-30 w-full h-6"
50
+ }, Ee = {
28
51
  key: 1,
29
- class: "option-selected text-gray-40 truncate"
30
- }, X = {
31
- key: 3,
32
- class: "flex w-full justify-between"
33
- }, J = { class: "text-inkwell-40 pl-1 text-base font-medium" }, W = ["title"], Y = {
52
+ class: "activity-list"
53
+ }, Se = { class: "shrink-0 mr-2 text-sm font-normal" }, $e = {
54
+ key: 0,
55
+ class: "quick-replies"
56
+ }, De = ["onClick"], Ve = {
57
+ key: 1,
58
+ class: "text-inkwell-0 text-xxs text-center"
59
+ }, He = { class: "chat-container" }, Ue = {
60
+ id: "comments-container",
61
+ class: "chat-messages"
62
+ }, Ne = {
63
+ key: 0,
64
+ class: "flex flex-col gap-3 p-2"
65
+ }, Ie = {
66
+ key: 0,
67
+ class: "chat-separator"
68
+ }, Me = { class: "chat-separator-text" }, Ae = {
69
+ key: 0,
70
+ class: "chat-message-avatar"
71
+ }, Re = { class: "chat-message-content" }, Ge = { class: "chat-message-time" }, Le = { class: "chat-message-bubble" }, ze = {
72
+ key: 1,
73
+ class: "chat-message-avatar"
74
+ }, Ye = {
34
75
  key: 2,
35
- class: "option-description text-xs pt-0.5 truncate"
36
- }, Z = {
76
+ class: "chat-empty text-center py-4 text-inkwell-0 text-sm"
77
+ }, Pe = {
37
78
  key: 0,
38
- class: "floating-label"
39
- }, _ = { class: "label-text" }, x = {
79
+ class: "simulate-panel"
80
+ }, Be = { class: "simulate-panel-header" }, Ke = { class: "simulate-panel-body" }, We = { class: "flex justify-end mt-2" }, je = { class: "chat-input-area" }, Fe = { class: "flex items-center gap-2" }, Ze = {
40
81
  key: 0,
41
- class: "required-indicator"
42
- };
43
- function ee(e, u, le, se, oe, ne) {
44
- const p = b("q-icon"), y = b("q-button"), T = b("q-badge"), S = b("vue-multiselect");
45
- return s(), a("div", {
46
- id: e.id + "-containers",
47
- class: i([
48
- "control custom-select",
49
- { "has-floating-label": e.floatingLabel },
50
- { "label-floated": e.isLabelFloated },
51
- { "dropdown-open": e.isOpened }
52
- ]),
53
- ref: "currentContainer"
82
+ class: "inline-block animate-pulse"
83
+ }, Qe = { class: "relative flex-1 min-w-0" }, Je = ["innerHTML"], Xe = { class: "flex items-center add-ticket-divider" }, _e = { class: "grow flex items-center text-sm font-normal" }, xe = {
84
+ key: 0,
85
+ class: "grow"
86
+ }, eo = { class: "grid grid-cols-2 gap-3" }, oo = { class: "field" }, lo = {
87
+ key: 0,
88
+ class: "field"
89
+ }, so = {
90
+ key: 1,
91
+ class: "field"
92
+ }, io = {
93
+ key: 2,
94
+ class: "field"
95
+ }, to = {
96
+ key: 3,
97
+ class: "field"
98
+ }, ro = {
99
+ key: 4,
100
+ class: "field"
101
+ }, no = {
102
+ key: 5,
103
+ class: "field col-span-2"
104
+ }, ao = {
105
+ key: 6,
106
+ class: "field"
107
+ }, uo = {
108
+ key: 7,
109
+ class: "field col-span-2"
110
+ }, po = {
111
+ key: 8,
112
+ class: "field"
113
+ }, mo = {
114
+ key: 9,
115
+ class: "field"
116
+ }, go = {
117
+ key: 10,
118
+ class: "field"
119
+ }, yo = {
120
+ key: 11,
121
+ class: "field"
122
+ }, ko = {
123
+ key: 12,
124
+ class: "field"
125
+ }, ho = {
126
+ key: 13,
127
+ class: "field"
128
+ }, vo = {
129
+ key: 14,
130
+ class: "field col-span-2"
131
+ }, wo = {
132
+ key: 15,
133
+ class: "field"
134
+ }, fo = {
135
+ key: 16,
136
+ class: "field"
137
+ }, To = {
138
+ key: 17,
139
+ class: "field"
140
+ }, qo = {
141
+ key: 18,
142
+ class: "field"
143
+ }, bo = {
144
+ key: 19,
145
+ class: "field"
146
+ }, Co = {
147
+ key: 20,
148
+ class: "field"
149
+ }, co = {
150
+ key: 21,
151
+ class: "field col-span-2"
152
+ }, Oo = {
153
+ key: 22,
154
+ class: "field"
155
+ }, Eo = {
156
+ key: 23,
157
+ class: "field"
158
+ }, So = {
159
+ key: 24,
160
+ class: "field"
161
+ }, $o = {
162
+ key: 25,
163
+ class: "field"
164
+ }, Do = {
165
+ key: 26,
166
+ class: "field"
167
+ }, Vo = {
168
+ key: 27,
169
+ class: "field"
170
+ }, Ho = {
171
+ key: 28,
172
+ class: "field"
173
+ }, Uo = {
174
+ key: 29,
175
+ class: "field col-span-2"
176
+ }, No = {
177
+ class: /* @__PURE__ */ u([
178
+ "actions flex-shrink-0",
179
+ "flex items-center justify-between mt-4"
180
+ ])
181
+ }, Io = {
182
+ key: 4,
183
+ class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
184
+ }, Mo = {
185
+ key: 5,
186
+ class: "flex items-center mt-0.5"
187
+ }, Ao = { class: "text-xs text-inkwell-0 font-normal" };
188
+ function Ro(e, l, Go, Lo, zo, Yo) {
189
+ const p = g("q-icon"), q = g("q-tooltip"), S = g("q-tag"), $ = g("q-popover"), b = g("q-divider"), C = g("q-accordion"), D = g("q-activity-item"), V = g("q-avatar"), v = g("q-textarea"), c = g("q-button"), m = g("q-select"), w = g("q-date-picker"), H = g("q-time-picker"), O = g("q-input");
190
+ return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (s(), i("div", {
191
+ key: 0,
192
+ id: e.id ? `rdp-${e.id}` : "",
193
+ class: "room-detail component-container text-inkwell-30",
194
+ onMouseleave: l[58] || (l[58] = (o) => e.onHoverToggle(!1))
54
195
  }, [
55
- h(S, {
56
- id: e.id,
57
- ref: "currentSelect",
58
- modelValue: e.selected,
59
- "onUpdate:modelValue": [
60
- u[1] || (u[1] = (l) => e.selected = l),
61
- u[4] || (u[4] = (l) => e.onUpdateValue(l))
62
- ],
63
- "filtering-sort-func": e.filterSortFunction,
64
- options: e.internalOptions,
65
- searchable: e.searchable,
66
- multiple: e.multiple,
67
- taggable: e.taggable || e.useAddTagsOnly,
68
- label: e.label,
69
- "track-by": e.trackBy,
70
- "group-values": e.groupValues,
71
- "group-label": e.groupLabel,
72
- "group-select": e.enableGroupSelect,
73
- "block-keys": e.blockKeys,
74
- class: i([
75
- { "has-checkboxes": e.hasCheckboxes },
76
- { "selection-control": e.selectionControl },
77
- { "select-multiple": !!e.multiple },
78
- { "select-taggable": !!e.taggable || !!e.showTags || !!e.useAddTagsOnly },
79
- { "select-expand": e.expand },
80
- { "select-show-count": !!e.showSelectedCount },
81
- { "select-search": !!e.search },
82
- { "select-searchable": e.searchable },
83
- e.searchable ? "cursor-text" : "cursor-default",
84
- "q-select rounded",
85
- // added q-select because of all the styling on style
86
- "select-" + e.size
87
- ]),
88
- disabled: e.disabled || e.loading,
89
- loading: e.loading,
90
- "allow-empty": e.allowEmpty,
91
- "clear-on-select": e.clearOnSelect,
92
- "close-on-select": e.closeOnSelect || !e.hasCheckboxes && !e.multiple,
93
- "show-tags": e.showTags,
94
- "tag-placeholder": e.noTagFound,
95
- placeholder: e.floatingLabel ? "" : e.placeholder,
96
- "preserve-search": !0,
97
- "reset-after": !1,
98
- "max-height": 280,
99
- "open-direction": e.openDirection,
100
- "select-label": "",
101
- "deselect-label": "",
102
- "selected-label": "",
103
- "select-group-label": "",
104
- "deselect-group-label": "",
105
- onOpen: e.onOpen,
106
- onClose: e.onClose,
107
- onRemove: u[2] || (u[2] = (l) => e.onRemove(l)),
108
- onTag: e.addTag,
109
- onSearchChange: u[3] || (u[3] = (l) => e.searchChange(l))
110
- }, V({
111
- caret: r(({ toggle: l }) => [
112
- t("div", {
113
- class: i([
114
- "h-full w-full",
115
- "absolute left-0 top-0",
116
- "z-[1] cursor-pointer",
117
- "flex justify-end"
118
- ]),
119
- onMousedown: k(l, ["prevent"])
120
- }, [
121
- e.loading ? n("", !0) : (s(), g(p, {
122
- key: 0,
123
- icon: "chevron-down",
124
- type: "line"
125
- }))
126
- ], 40, R),
127
- e.searchable ? (s(), g(p, {
128
- key: 0,
129
- class: "search-icon",
130
- color: e.selectionControl ? "inkwell-0" : "gray-40",
131
- icon: "search",
132
- type: ""
133
- }, null, 8, ["color"])) : n("", !0),
134
- e.searchable && (e.multiple && !e.selected.length || !e.multiple && !e.selected) && !e.selectionControl && !e.floatingLabel ? (s(), a("div", z, [
135
- c(o(e.placeholder), 1),
136
- e.required ? (s(), a("span", A, " *" + o(e.$t("HC_REQUIRED")), 1)) : n("", !0)
137
- ])) : n("", !0)
138
- ]),
139
- noResult: r(() => [
140
- c(o(e.noResultsText), 1)
141
- ]),
142
- noOptions: r(() => [
143
- c(o(e.noOptionsText), 1)
144
- ]),
145
- singleLabel: r(({ option: l }) => [
146
- l.icon ? (s(), g(p, {
147
- key: 0,
148
- icon: l.icon
149
- }, null, 8, ["icon"])) : n("", !0),
150
- l && e.showPlaceholderImage ? f(e.$slots, "optionPrefix", C(v({ key: 1 }, l)), void 0, !0) : n("", !0),
151
- e.selectionControl ? f(e.$slots, "controlPlaceholder", { key: 2 }, () => [
152
- c(o(e.placeholder), 1)
153
- ], !0) : n("", !0),
154
- t("span", {
155
- class: i([
156
- "option-name",
157
- {
158
- "text-inkwell-10 text-right truncate": e.selectionControl
159
- }
196
+ r($, {
197
+ "model-value": e.open,
198
+ align: e.alignment,
199
+ position: e.positioning,
200
+ size: (!e.showTickets || e.showTickets && (!e.ticketsList || !e.ticketsList.length)) && !e.showComments && !e.showActionMenu ? "sm" : e.size,
201
+ teleport: e.teleport,
202
+ "teleport-to": e.teleportTo,
203
+ "close-on-scroll-out-of-view": e.closeOnScrollOutOfView,
204
+ "scroll-into-view": e.scrollIntoView,
205
+ "scroll-into-view-padding": e.scrollIntoViewPadding,
206
+ onClose: l[56] || (l[56] = (o) => e.$emit("toggle", !1)),
207
+ "onUpdate:modelValue": l[57] || (l[57] = (o) => e.$emit("toggle", o))
208
+ }, {
209
+ trigger: d(() => [
210
+ n("div", A({
211
+ ref: "trigger",
212
+ id: e.id ? `rdp-${e.id}-trigger` : "",
213
+ class: "trigger-text"
214
+ }, {
215
+ [N(!e.hover && "click")]: l[0] || (l[0] = (o) => e.$emit("toggle", !e.open))
216
+ }, {
217
+ [N(e.hover && "mouseover")]: l[1] || (l[1] = (o) => e.onHoverToggle(!0))
218
+ }), [
219
+ R(e.$slots, "trigger", {}, () => [
220
+ k(a(e.trigger), 1)
160
221
  ])
161
- }, o(l.label || l.name || l), 3)
222
+ ], 16, z)
162
223
  ]),
163
- selection: r(({ values: l, isOpen: m }) => [
164
- e.useTags ? (s(), a("div", H, [
165
- e.groupValues && e.options[0][e.groupValues].length === l.length ? (s(), a("div", P, [
166
- t("div", {
167
- class: i([
168
- "multiselect__tag inline-flex items-center justify-center rounded me-2 z-[1]",
169
- { "tag-gray": !!e.showTags }
224
+ content: d(() => [
225
+ n("div", {
226
+ id: e.id ? `rdp-${e.id}-content` : "",
227
+ class: "popover-content w-full font-weight-normal cursor-default"
228
+ }, [
229
+ n("div", P, [
230
+ e.loading.pms || e.loading.roomNotices ? (s(), i("div", B)) : (s(), i("div", {
231
+ key: 1,
232
+ class: u([
233
+ "flex grow items-center mb-4",
234
+ { "gap-3": e.showRoomName }
170
235
  ])
171
236
  }, [
172
- t("span", F, o(e.groupLabel), 1),
173
- t("span", {
174
- class: "tag-remove cursor-pointer shrink",
175
- tabindex: "1",
176
- onMousedown: u[0] || (u[0] = k((d) => e.removeElement(e.options[0][e.groupValues]), ["prevent", "stop"]))
237
+ e.showRoomName ? (s(), i("h2", K, [
238
+ n("strong", null, a(e.$t("HC_GUESTROOM")) + " " + a(e.room.name), 1)
239
+ ])) : t("", !0),
240
+ (e.occupied || e.cleanliness || e.isGreenerStay || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (s(), i("div", {
241
+ key: 1,
242
+ class: u([
243
+ "flex items-center flex-wrap gap-x-2",
244
+ { "gap-y-3": !e.showRoomName }
245
+ ])
177
246
  }, [
178
- h(p, {
179
- icon: "close",
180
- color: "white",
181
- class: i([
182
- "tag-close flex rounded-full p-1",
183
- e.showTags ? "bg-inkwell-30" : "bg-blue-40"
247
+ e.occupied ? (s(), y(q, {
248
+ key: 0,
249
+ class: "flex shrink-0 items-center"
250
+ }, {
251
+ trigger: d(() => [
252
+ r(p, {
253
+ icon: "user",
254
+ type: "fill",
255
+ color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
256
+ width: "18",
257
+ height: "18",
258
+ "custom-size": ""
259
+ }, null, 8, ["color"])
184
260
  ]),
185
- type: "line"
186
- }, null, 8, ["class"])
187
- ], 32)
188
- ], 2)
189
- ])) : (s(), a("div", I, [
190
- (s(!0), a(L, null, E(!e.expand && e.limitShown ? l.slice(0, e.limitShown) : l, (d, w) => (s(), a("div", {
191
- key: w,
192
- class: i([
193
- "multiselect__tag !inline-flex items-center justify-center rounded mr-2 z-[1]",
194
- { "tag-added": d.added },
195
- { "tag-gray": !!e.showTags },
196
- d.tagClass ? d.tagClass : ""
197
- ])
198
- }, [
199
- d.icon ? (s(), g(p, {
261
+ content: d(() => [
262
+ e.occupancyTooltipContent ? (s(), i("div", W, a(e.$t(e.occupancyTooltipContent)), 1)) : t("", !0)
263
+ ]),
264
+ _: 1
265
+ })) : t("", !0),
266
+ e.cleanliness === "DIRTY" || e.isGreenerStay && e.greenerStayIconUrl ? (s(), y(q, {
267
+ key: 1,
268
+ class: "flex shrink-0 items-center"
269
+ }, {
270
+ trigger: d(() => [
271
+ e.isGreenerStay && e.greenerStayIconUrl ? (s(), i("img", {
272
+ key: 0,
273
+ src: e.greenerStayIconUrl,
274
+ alt: e.greenerStayTooltipContent,
275
+ class: "mt-[0.0612rem] h-[18px] w-[18px]"
276
+ }, null, 8, j)) : e.cleanliness ? (s(), y(p, {
277
+ key: 1,
278
+ icon: "spray-bottle",
279
+ type: "fill",
280
+ color: "red-10",
281
+ class: "mt-[0.0612rem]",
282
+ width: "18",
283
+ height: "18",
284
+ "custom-size": ""
285
+ })) : t("", !0)
286
+ ]),
287
+ content: d(() => [
288
+ e.isGreenerStay ? (s(), i("div", F, a(e.greenerStayTooltipContent), 1)) : e.cleanliness === "DIRTY" ? (s(), i("div", Z, a(e.$t("HC_DIRTY")), 1)) : t("", !0)
289
+ ]),
290
+ _: 1
291
+ })) : t("", !0),
292
+ e.tagsList.length && !e.showRoomName ? (s(!0), i(h, { key: 2 }, T(e.tagsList, (o) => (s(), i("a", {
293
+ key: o,
294
+ href: typeof o == "object" && o.id && o.name ? `/rooms-book/room-notices?id=${o.id}` : "",
295
+ target: "_blank",
296
+ class: "capitalize"
297
+ }, [
298
+ r(S, {
299
+ class: u([
300
+ "!text-xs !leading-4",
301
+ "shrink-0 max-w-[100px] !h-auto",
302
+ "!py-[0.1875rem] !px-[0.4375rem] border",
303
+ "border-orange-10",
304
+ { pulse: o.isNew }
305
+ ]),
306
+ "bg-color": "bg-yellow-0",
307
+ "text-color": "text-inkwell-30"
308
+ }, {
309
+ default: d(() => [
310
+ k(a(typeof o == "object" && o.id && o.name ? o.name : o), 1)
311
+ ]),
312
+ _: 2
313
+ }, 1032, ["class"])
314
+ ], 8, Q))), 128)) : t("", !0)
315
+ ], 2)) : t("", !0)
316
+ ], 2)),
317
+ n("div", J, [
318
+ e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (s(), y($, {
200
319
  key: 0,
201
- icon: d.icon,
202
- class: "tag-icon"
203
- }, null, 8, ["icon"])) : n("", !0),
204
- t("span", {
205
- class: i([
206
- "tag-name text-sm leading-normal pr-2",
207
- { "tag-truncate": e.truncateTag }
208
- ])
209
- }, o(d.label || d.name), 3),
210
- t("span", {
211
- class: "tag-remove cursor-pointer shrink",
212
- tabindex: "1",
213
- onClick: (ae) => e.removeElement(w)
214
- }, [
215
- h(p, {
216
- icon: "close-thick",
217
- color: "white",
218
- size: "sm",
219
- class: i([
220
- "!p-[0.3rem] tag-close flex rounded-full p-1",
221
- d.closeTagClass ? d.closeTagClass : e.showTags ? "bg-inkwell-30" : e.taggable && d.added ? "bg-green-40" : "bg-blue-40"
320
+ modelValue: e.actionMenuOpen,
321
+ "onUpdate:modelValue": l[7] || (l[7] = (o) => e.actionMenuOpen = o),
322
+ "has-caret": !1,
323
+ align: "right",
324
+ class: "action-menu mr-1",
325
+ size: "md",
326
+ onClose: l[8] || (l[8] = (o) => e.actionMenuOpen = !1)
327
+ }, {
328
+ trigger: d(() => [
329
+ r(p, {
330
+ class: "popover-action rounded-full cursor-pointer",
331
+ icon: "ellipsis-h",
332
+ size: "md",
333
+ type: "fill",
334
+ color: "inkwell-10",
335
+ onClick: l[2] || (l[2] = (o) => e.actionMenuOpen = !e.actionMenuOpen)
336
+ })
337
+ ]),
338
+ content: d(() => [
339
+ n("ul", X, [
340
+ e.showActionsLink ? (s(), i("li", {
341
+ key: 0,
342
+ class: u([
343
+ "flex items-center",
344
+ "icon-container cursor-pointer",
345
+ "text-inkwell-30 px-2 py-1 mt-2",
346
+ {
347
+ "mb-2": !e.showGuestDetails && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments
348
+ }
349
+ ]),
350
+ onClick: l[3] || (l[3] = (...o) => e.openRequest && e.openRequest(...o))
351
+ }, [
352
+ r(p, {
353
+ class: "shrink-0 mr-1 p-1",
354
+ color: "inkwell-10",
355
+ icon: "plus",
356
+ size: "md",
357
+ type: ""
358
+ }),
359
+ n("div", _, a(e.$t("HC_ACTION")), 1)
360
+ ], 2)) : t("", !0),
361
+ !e.hasGuestCallback && e.showGuestCallback ? (s(), i("li", {
362
+ key: 1,
363
+ class: u([
364
+ "flex items-center",
365
+ "icon-container cursor-pointer",
366
+ "text-inkwell-30 px-2 py-1",
367
+ {
368
+ "mb-2": !e.showGuestDetails && !e.showComments
369
+ },
370
+ { "mt-2": !e.showActionsLink }
371
+ ]),
372
+ onClick: l[4] || (l[4] = (...o) => e.createCallback && e.createCallback(...o))
373
+ }, [
374
+ r(p, {
375
+ class: "shrink-0 mr-1 p-0.5",
376
+ color: "inkwell-10",
377
+ icon: "phone-plus",
378
+ size: "md",
379
+ type: "fill"
380
+ }),
381
+ n("div", x, a(e.$t(
382
+ "HC_GUEST_CALLBACK"
383
+ )), 1)
384
+ ], 2)) : t("", !0),
385
+ e.showComments ? (s(), i("li", {
386
+ key: 2,
387
+ class: u([
388
+ "flex items-center",
389
+ "icon-container cursor-pointer",
390
+ "text-inkwell-30 px-2 py-1",
391
+ { "mb-2": !e.showGuestDetails },
392
+ {
393
+ "mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback)
394
+ }
395
+ ]),
396
+ onClick: l[5] || (l[5] = (...o) => e.onClickEditConnectGuest && e.onClickEditConnectGuest(...o))
397
+ }, [
398
+ r(p, {
399
+ class: "shrink-0 mr-1 p-1",
400
+ color: "inkwell-10",
401
+ icon: "pencil",
402
+ size: "md",
403
+ type: "fill"
404
+ }),
405
+ n("div", ee, a(e.$t("HC_EDIT_INFORMATION")), 1)
406
+ ], 2)) : t("", !0),
407
+ e.showGuestDetails ? (s(), i("li", {
408
+ key: 3,
409
+ class: u([
410
+ "flex items-center",
411
+ "icon-container cursor-pointer",
412
+ "text-inkwell-30 px-2 py-1 mb-2",
413
+ {
414
+ "mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments
415
+ }
416
+ ]),
417
+ onClick: l[6] || (l[6] = (...o) => e.refreshPMSData && e.refreshPMSData(...o))
418
+ }, [
419
+ r(p, {
420
+ class: "shrink-0 mr-1 p-1",
421
+ color: "inkwell-10",
422
+ icon: "refresh",
423
+ size: "md",
424
+ type: ""
425
+ }),
426
+ n("div", oe, a(e.$t("HC_REFRESH_PMS_DATA")), 1)
427
+ ], 2)) : t("", !0)
428
+ ])
429
+ ]),
430
+ _: 1
431
+ }, 8, ["modelValue"])) : t("", !0),
432
+ n("div", le, [
433
+ r(q, null, {
434
+ trigger: d(() => [
435
+ r(p, {
436
+ icon: "close",
437
+ color: "inkwell-10",
438
+ size: "md",
439
+ type: "",
440
+ class: "popover-action rounded-full cursor-pointer p-1",
441
+ onClick: l[9] || (l[9] = (o) => e.$emit("toggle", !1))
442
+ })
222
443
  ]),
223
- type: "line"
224
- }, null, 8, ["class"])
225
- ], 8, M)
226
- ], 2))), 128)),
227
- !e.expand && e.showSelectedCount && e.multiple && l.length > e.limitShown ? (s(), a("span", Q, o(e.$t("HC_X_MORE", { num: l.length - e.limitShown })), 1)) : n("", !0)
228
- ]))
229
- ])) : n("", !0),
230
- !e.showTags && !e.taggable && e.multiple && l.length ? (s(), a("div", {
231
- key: 1,
232
- class: i([
233
- "multiselect__single flex w-full",
234
- e.selectionControl ? "whitespace-nowrap justify-between" : "items-center"
235
- ])
236
- }, [
237
- t("span", {
238
- class: i([
239
- "option-selected",
240
- {
241
- capitalize: e.groupValues && e.options[0][e.groupValues].length === l.length
242
- }
444
+ content: d(() => [
445
+ k(a(e.$t("HC_CLOSE")), 1)
446
+ ]),
447
+ _: 1
448
+ })
449
+ ])
243
450
  ])
244
- }, o(e.selectionControl ? e.placeholder : e.groupValues && e.options[0][e.groupValues].length === l.length ? e.options[0][e.groupLabel] || e.groupLabel : l[0][e.label]), 3),
245
- e.selectionControl ? (s(), a("span", U, o(e.selectedText), 1)) : n("", !0),
246
- e.limitShown && e.limitShown < l.length && (!e.groupValues && l.length !== e.limitShown || e.groupValues && e.options[0][e.groupValues].length !== l.length) ? (s(), a("span", B, " + " + o(l.length - e.limitShown) + " more... ", 1)) : n("", !0)
247
- ], 2)) : m && !e.useTags && !e.multiple ? (s(), a("div", {
248
- key: 2,
249
- class: i([
250
- "multiselect__single flex w-full",
251
- e.selectionControl ? "justify-between" : "items-center"
252
- ])
253
- }, [
254
- e.selectionControl ? (s(), a(L, { key: 0 }, [
255
- t("span", N, o(e.placeholder || ""), 1),
256
- t("span", G, o(e.selected?.label || e.selected?.name || ""), 1)
257
- ], 64)) : (s(), a("span", K, o(e.selected?.label || e.selected?.name || e.placeholder || ""), 1))
258
- ], 2)) : m && !e.useTags && e.multiple && e.selectionControl ? (s(), a("div", X, [
259
- t("span", J, o(e.placeholder || ""), 1)
260
- ])) : n("", !0)
261
- ]),
262
- option: r(({ option: l, search: m }) => [
263
- t("div", {
264
- class: i([
265
- "flex items-center w-full",
266
- { "option-search": l.label === m },
267
- { "option-disabled": l.$isDisabled }
268
451
  ]),
269
- title: l.label ? l.label : ""
270
- }, [
271
- e.multiple && e.hasCheckboxes ? (s(), g(T, {
272
- key: 0,
273
- "has-icon": !0,
274
- class: "selected-checkbox mr-2",
275
- shape: "square"
276
- }, {
277
- icon: r(() => [
278
- h(p, {
279
- icon: "check",
280
- color: "white",
281
- type: "line"
282
- })
283
- ]),
284
- _: 1
285
- })) : n("", !0),
286
- t("div", {
287
- class: i([
288
- "option-icon-name flex items-center",
289
- !l.$groupLabel && e.groupLabel ? "pl-0" : ""
290
- ])
452
+ e.loading.pms && e.size === "sm" ? (s(), i("div", se)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (s(), i("div", ie, [
453
+ e.occupied ? (s(), y(p, {
454
+ key: 0,
455
+ icon: "user",
456
+ type: "fill",
457
+ color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
458
+ width: "18",
459
+ height: "18",
460
+ "custom-size": ""
461
+ }, null, 8, ["color"])) : t("", !0),
462
+ e.isGreenerStay && e.greenerStayIconUrl ? (s(), i("img", {
463
+ key: 1,
464
+ src: e.greenerStayIconUrl,
465
+ alt: e.greenerStayTooltipContent,
466
+ class: "h-[18px] w-[18px]"
467
+ }, null, 8, te)) : e.cleanliness === "DIRTY" ? (s(), y(p, {
468
+ key: 2,
469
+ icon: "spray-bottle",
470
+ type: "fill",
471
+ color: "red-10",
472
+ width: "18",
473
+ height: "18",
474
+ "custom-size": ""
475
+ })) : t("", !0)
476
+ ])) : t("", !0),
477
+ e.loading.roomNotices ? (s(), i("div", re)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (s(), i("div", ne, [
478
+ (s(!0), i(h, null, T(e.tagsList, (o) => (s(), i("a", {
479
+ key: o,
480
+ href: typeof o == "object" && o.id && o.name ? `/rooms-book/room-notices?id=${o.id}` : "",
481
+ target: "_blank",
482
+ class: "mr-2 mb-1 capitalize"
483
+ }, [
484
+ r(q, { position: "bottom" }, {
485
+ trigger: d(() => [
486
+ r(S, {
487
+ class: u([
488
+ "!text-tiny !leading-4",
489
+ "shrink-0 max-w-[100px] !h-auto",
490
+ "!py-0.5 !px-1.5 border",
491
+ "border-orange-10",
492
+ { pulse: o.isNew }
493
+ ]),
494
+ "bg-color": "bg-yellow-0",
495
+ "text-color": "text-inkwell-30"
496
+ }, {
497
+ default: d(() => [
498
+ k(a(typeof o == "object" && o.id && o.name ? o.name : o), 1)
499
+ ]),
500
+ _: 2
501
+ }, 1032, ["class"])
502
+ ]),
503
+ content: d(() => [
504
+ k(a(e.$t("HC_VIEW_DETAILS")), 1)
505
+ ]),
506
+ _: 2
507
+ }, 1024)
508
+ ], 8, ae))), 128))
509
+ ])) : t("", !0),
510
+ n("div", {
511
+ class: u(["accordions", { closed: e.showCreateRequest }])
291
512
  }, [
292
- l.icon ? (s(), g(p, {
513
+ e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (s(), y(C, {
293
514
  key: 0,
294
- icon: l.icon,
295
- class: "mr-1"
296
- }, null, 8, ["icon"])) : n("", !0),
297
- l ? f(e.$slots, "optionPrefix", C(v({ key: 1 }, l)), void 0, !0) : n("", !0),
298
- t("div", {
299
- class: i(["option-name", [
300
- l.optionClass ? l.optionClass : ""
301
- ]])
302
- }, o(l.$groupLabel || l.label || l.name || l), 3),
303
- l.description && e.showOptionDescription ? (s(), a("div", Y, o(l.description), 1)) : n("", !0),
304
- e.multiple && e.hasCheckboxes ? n("", !0) : (s(), g(p, {
515
+ modelValue: e.expandGuestInfo,
516
+ "onUpdate:modelValue": l[11] || (l[11] = (o) => e.expandGuestInfo = o),
517
+ class: "mb-3",
518
+ "content-class": "!px-0 !pt-3 !pb-0"
519
+ }, {
520
+ toggle: d(() => [
521
+ n("div", {
522
+ class: "flex items-center cursor-pointer",
523
+ onClick: l[10] || (l[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
524
+ }, [
525
+ n("div", de, a(e.$t("HC_GUEST_INFORMATION")), 1),
526
+ r(b, { class: "grow" }),
527
+ r(p, {
528
+ class: u([
529
+ "ml-2 transition-transform",
530
+ { "rotate-90": e.expandGuestInfo }
531
+ ]),
532
+ color: e.expandGuestInfo ? "inkwell-30" : "gray-30",
533
+ icon: "chevron-right",
534
+ type: ""
535
+ }, null, 8, ["class", "color"])
536
+ ])
537
+ ]),
538
+ content: d(() => [
539
+ e.loading.pms ? (s(), i("div", ue)) : (s(), i("div", pe, [
540
+ e.roomDetailsData.reservations[0].guestName ? (s(), i("p", me, [
541
+ n("strong", null, a(e.roomDetailsData.reservations[0].guestName), 1)
542
+ ])) : t("", !0),
543
+ n("div", {
544
+ class: u([
545
+ "stay-details-container flex",
546
+ e.size === "sm" ? "flex-col" : "flex-row gap-3"
547
+ ])
548
+ }, [
549
+ e.roomDetailsData.reservations[0].confirmationNumber ? (s(), i("div", ge, [
550
+ n("div", ye, a(e.$t("HC_RESERVATION")) + ": ", 1),
551
+ n("div", ke, a(e.roomDetailsData.reservations[0].confirmationNumber), 1)
552
+ ])) : t("", !0),
553
+ e.stayDetails ? (s(), i("div", he, [
554
+ n("div", ve, a(e.$t("HC_STAY")) + ": ", 1),
555
+ n("div", we, a(e.stayDetails), 1)
556
+ ])) : t("", !0)
557
+ ], 2)
558
+ ]))
559
+ ]),
560
+ _: 1
561
+ }, 8, ["modelValue"])) : t("", !0),
562
+ e.showTickets ? (s(), y(C, {
563
+ key: 1,
564
+ modelValue: e.expandTickets,
565
+ "onUpdate:modelValue": l[13] || (l[13] = (o) => e.expandTickets = o),
566
+ class: "mb-3",
567
+ "content-class": "!px-0 !pt-3 !pb-0"
568
+ }, {
569
+ toggle: d(() => [
570
+ n("div", {
571
+ class: "flex items-center cursor-pointer",
572
+ onClick: l[12] || (l[12] = (o) => e.expandTickets = !e.expandTickets)
573
+ }, [
574
+ n("div", fe, a(e.$t("HC_OPEN_TICKETS")), 1),
575
+ r(b, { class: "grow" }),
576
+ r(p, {
577
+ class: u([
578
+ "ml-2 transition-transform",
579
+ { "rotate-90": e.expandTickets }
580
+ ]),
581
+ color: e.expandTickets ? "inkwell-30" : "gray-30",
582
+ icon: "chevron-right",
583
+ type: ""
584
+ }, null, 8, ["class", "color"])
585
+ ])
586
+ ]),
587
+ content: d(() => [
588
+ e.loading.tickets ? (s(), i("div", Te)) : e.ticketsList.length ? (s(), i("ul", qe, [
589
+ (s(!0), i(h, null, T(e.ticketsList, (o, f) => (s(), i("li", {
590
+ key: o.id,
591
+ id: `open-ticket-${o.id}`
592
+ }, [
593
+ r(D, {
594
+ class: u([
595
+ {
596
+ "mt-3": f > 0,
597
+ pulse: o.isNew
598
+ }
599
+ ]),
600
+ "is-clickable": !0,
601
+ text: o.name,
602
+ time: e.getHowLongAgo(
603
+ o.started?.dateUtc
604
+ ),
605
+ type: o.type,
606
+ onClick: (I) => e.onClickTicket(o)
607
+ }, null, 8, ["class", "text", "time", "type", "onClick"])
608
+ ], 8, be))), 128))
609
+ ])) : (s(), i("p", Ce, a(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
610
+ ]),
611
+ _: 1
612
+ }, 8, ["modelValue"])) : t("", !0),
613
+ e.showActivity && (e.loading.activity || e.activityList.length) ? (s(), y(C, {
614
+ key: 2,
615
+ modelValue: e.expandActivity,
616
+ "onUpdate:modelValue": l[15] || (l[15] = (o) => e.expandActivity = o),
617
+ class: "mb-3",
618
+ "content-class": "!px-0 !pt-3 !pb-0"
619
+ }, {
620
+ toggle: d(() => [
621
+ n("div", {
622
+ class: "flex items-center cursor-pointer",
623
+ onClick: l[14] || (l[14] = (o) => e.expandActivity = !e.expandActivity)
624
+ }, [
625
+ n("div", ce, a(e.$t("HC_ACTIVITY")), 1),
626
+ r(b, { class: "grow" }),
627
+ r(p, {
628
+ class: u([
629
+ "ml-2 transition-transform",
630
+ { "rotate-90": e.expandActivity }
631
+ ]),
632
+ color: e.expandActivity ? "inkwell-30" : "gray-30",
633
+ icon: "chevron-right",
634
+ type: ""
635
+ }, null, 8, ["class", "color"])
636
+ ])
637
+ ]),
638
+ content: d(() => [
639
+ e.loading.activity ? (s(), i("div", Oe)) : e.activityList.length ? (s(), i("ul", Ee, [
640
+ (s(!0), i(h, null, T(e.activityList, (o, f) => (s(), i("li", {
641
+ key: o.id
642
+ }, [
643
+ r(D, {
644
+ class: u({ "mt-3": f > 0 }),
645
+ "is-clickable": !0,
646
+ text: o.statusName + " by " + o.inspector.name,
647
+ time: e.getHowLongAgo(
648
+ o.completed?.dateUtc
649
+ ),
650
+ type: "cleaning",
651
+ onClick: (I) => e.onClickActivity(o)
652
+ }, null, 8, ["class", "text", "time", "onClick"])
653
+ ]))), 128))
654
+ ])) : t("", !0)
655
+ ]),
656
+ _: 1
657
+ }, 8, ["modelValue"])) : t("", !0),
658
+ e.showComments ? (s(), y(C, {
305
659
  key: 3,
306
- icon: "check",
307
- size: "sm",
308
- type: "line",
309
- color: "inkwell-30",
310
- class: "selected-icon"
311
- }))
312
- ], 2)
313
- ], 10, W)
314
- ]),
315
- _: 2
316
- }, [
317
- e.showSelectAll ? {
318
- name: "beforeList",
319
- fn: r(() => [
320
- t("div", D, [
321
- h(y, {
322
- type: "button",
323
- disabled: e.selectedCount === e.selected.length,
324
- "no-min-width": !0,
325
- class: "!text-sm !font-normal !leading-4",
326
- status: "link",
327
- onClick: k(e.selectAll, ["prevent"])
660
+ modelValue: e.expandComments,
661
+ "onUpdate:modelValue": l[21] || (l[21] = (o) => e.expandComments = o),
662
+ class: "messages mb-3",
663
+ "content-class": "!px-0 !pt-3 !pb-0"
328
664
  }, {
329
- default: r(() => [
330
- c(o(e.$t("HC_SELECT_ALL")), 1)
665
+ toggle: d(() => [
666
+ n("div", {
667
+ class: "flex items-center cursor-pointer",
668
+ onClick: l[16] || (l[16] = (o) => e.expandComments = !e.expandComments)
669
+ }, [
670
+ n("div", Se, a(e.$t("HC_GUEST_CONNECT")), 1),
671
+ r(b, { class: "grow" }),
672
+ r(p, {
673
+ class: u([
674
+ "ml-2 transition-transform",
675
+ { "rotate-90": e.expandComments }
676
+ ]),
677
+ color: e.expandComments ? "inkwell-30" : "gray-30",
678
+ icon: "chevron-right",
679
+ type: ""
680
+ }, null, 8, ["class", "color"])
681
+ ])
682
+ ]),
683
+ content: d(() => [
684
+ n("div", {
685
+ class: u([
686
+ "quick-replies-container",
687
+ "flex flex-col",
688
+ { show: e.quickReplyOpen },
689
+ {
690
+ "justify-end": !!e.filteredReplies.length
691
+ },
692
+ {
693
+ "justify-center": !e.filteredReplies.length
694
+ }
695
+ ])
696
+ }, [
697
+ e.filteredReplies.length ? (s(), i("div", $e, [
698
+ (s(!0), i(h, null, T(e.filteredReplies, (o) => (s(), i("div", {
699
+ key: o,
700
+ class: u([
701
+ "quick-reply",
702
+ { active: e.comment }
703
+ ]),
704
+ onClick: (f) => e.onSelectQuickReply(o)
705
+ }, [
706
+ n("div", null, a(o), 1)
707
+ ], 10, De))), 128))
708
+ ])) : (s(), i("div", Ve, a(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + a(e.comment) + '". ', 1))
709
+ ], 2),
710
+ n("div", He, [
711
+ n("div", Ue, [
712
+ e.loading.messages ? (s(), i("div", Ne, [...l[59] || (l[59] = [
713
+ n("div", { class: "flex gap-2 items-end" }, [
714
+ n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" }),
715
+ n("div", { class: "animate-shimmer bg-gray-10 h-12 w-3/4 rounded-lg" })
716
+ ], -1),
717
+ n("div", { class: "flex gap-2 items-end justify-end" }, [
718
+ n("div", { class: "animate-shimmer bg-gray-10 h-10 w-2/3 rounded-lg" }),
719
+ n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" })
720
+ ], -1),
721
+ n("div", { class: "flex gap-2 items-end" }, [
722
+ n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" }),
723
+ n("div", { class: "animate-shimmer bg-gray-10 h-8 w-1/2 rounded-lg" })
724
+ ], -1)
725
+ ])])) : (s(!0), i(h, { key: 1 }, T(e.groupedMessages, (o, f) => (s(), i(h, { key: f }, [
726
+ o.type === "separator" ? (s(), i("div", Ie, [
727
+ n("span", Me, a(o.label), 1)
728
+ ])) : (s(), i("div", {
729
+ key: 1,
730
+ class: u([
731
+ "chat-message",
732
+ {
733
+ "chat-message--staff": o.isStaffMessage,
734
+ "chat-message--guest": o.isGuestMessage
735
+ }
736
+ ])
737
+ }, [
738
+ o.isGuestMessage ? (s(), i("div", Ae, [
739
+ r(q, { position: "top" }, {
740
+ trigger: d(() => [
741
+ r(V, {
742
+ initials: o.user?.initials || "?",
743
+ src: o.user?.src || "",
744
+ size: "sm"
745
+ }, null, 8, ["initials", "src"])
746
+ ]),
747
+ content: d(() => [
748
+ k(a(o.user?.name || e.$t("HC_GUEST")), 1)
749
+ ]),
750
+ _: 2
751
+ }, 1024)
752
+ ])) : t("", !0),
753
+ n("div", Re, [
754
+ n("div", Ge, a(o.formattedTime), 1),
755
+ n("div", Le, a(o.comment), 1)
756
+ ]),
757
+ o.isStaffMessage ? (s(), i("div", ze, [
758
+ r(V, { size: "sm" }, {
759
+ default: d(() => [
760
+ r(p, {
761
+ icon: "building",
762
+ size: "sm",
763
+ color: "gray-30",
764
+ type: "fill"
765
+ })
766
+ ]),
767
+ _: 1
768
+ })
769
+ ])) : t("", !0)
770
+ ], 2))
771
+ ], 64))), 128)),
772
+ !e.loading.messages && !e.groupedMessages.length ? (s(), i("div", Ye, a(e.$t("HC_NO_MESSAGES_YET")), 1)) : t("", !0)
773
+ ]),
774
+ e.isTestEnvironment && e.simulateOpen ? (s(), i("div", Pe, [
775
+ n("div", Be, [
776
+ l[60] || (l[60] = n("span", { class: "simulate-badge" }, "TEST", -1)),
777
+ n("span", null, a(e.$t("HC_SIMULATE_GUEST_REPLY")), 1),
778
+ r(p, {
779
+ icon: "close",
780
+ size: "sm",
781
+ class: "cursor-pointer ml-auto",
782
+ onClick: e.toggleSimulateOpen
783
+ }, null, 8, ["onClick"])
784
+ ]),
785
+ n("div", Ke, [
786
+ r(v, {
787
+ id: "simulate-content",
788
+ modelValue: e.simulateContent,
789
+ "onUpdate:modelValue": l[17] || (l[17] = (o) => e.simulateContent = o),
790
+ placeholder: e.$t("HC_ENTER_SIMULATED_MESSAGE"),
791
+ "textarea-class": "text-sm border-gray-12 w-full",
792
+ "control-class": "w-full",
793
+ rows: 2,
794
+ onKeydown: U(E(e.simulateGuestReply, ["prevent"]), ["enter"])
795
+ }, null, 8, ["modelValue", "placeholder", "onKeydown"]),
796
+ n("div", We, [
797
+ r(c, {
798
+ disabled: !e.simulateContent.trim() || e.simulateLoading,
799
+ loading: e.simulateLoading,
800
+ size: "xsm",
801
+ class: "simulate-send-btn",
802
+ onClick: e.simulateGuestReply
803
+ }, {
804
+ default: d(() => [
805
+ k(a(e.$t("HC_SEND")), 1)
806
+ ]),
807
+ _: 1
808
+ }, 8, ["disabled", "loading", "onClick"])
809
+ ])
810
+ ])
811
+ ])) : t("", !0),
812
+ n("div", je, [
813
+ n("div", Fe, [
814
+ e.messages.length > 0 ? (s(), i("div", {
815
+ key: 0,
816
+ class: u([
817
+ "text-xs px-2 py-1 rounded shrink-0",
818
+ "border border-gray-12",
819
+ e.loading.conversationToggle ? "opacity-50 cursor-wait" : "cursor-pointer hover:bg-gray-5",
820
+ { hide: e.quickReplyOpen || e.simulateOpen }
821
+ ]),
822
+ onClick: l[18] || (l[18] = (o) => !e.loading.conversationToggle && e.toggleMarkOpenClose())
823
+ }, [
824
+ e.loading.conversationToggle ? (s(), i("span", Ze, "...")) : (s(), i(h, { key: 1 }, [
825
+ k(a(e.$t(
826
+ e.isConversationOpen ? "HC_CLOSE" : "HC_OPEN"
827
+ )), 1)
828
+ ], 64))
829
+ ], 2)) : t("", !0),
830
+ e.isTestEnvironment && e.roomDetailsData?.tokenId ? (s(), i("div", {
831
+ key: 1,
832
+ class: u([
833
+ "cursor-pointer text-xs px-2 py-1 rounded shrink-0",
834
+ "border hover:bg-orange-5",
835
+ e.simulateOpen ? "border-orange-20 bg-orange-5" : "border-orange-10",
836
+ { hide: e.quickReplyOpen }
837
+ ]),
838
+ style: { color: "#e67e22" },
839
+ onClick: l[19] || (l[19] = (...o) => e.toggleSimulateOpen && e.toggleSimulateOpen(...o))
840
+ }, a(e.$t("HC_SIMULATE")), 3)) : t("", !0),
841
+ n("div", Qe, [
842
+ r(v, {
843
+ id: "comment-field",
844
+ modelValue: e.comment,
845
+ "onUpdate:modelValue": l[20] || (l[20] = (o) => e.comment = o),
846
+ "textarea-class": "text-sm pr-5 border-gray-12 w-full",
847
+ placeholder: e.quickReplyOpen ? e.$t("HC_SEARCH_REPLIES") : e.$t("HC_WRITE_A_MESSAGE"),
848
+ rows: 1,
849
+ "control-class": "w-full",
850
+ onKeydown: U(e.sendChatMessage, ["enter"])
851
+ }, null, 8, ["modelValue", "placeholder", "onKeydown"]),
852
+ n("div", {
853
+ id: "hidden-text",
854
+ class: "text-sm",
855
+ innerHTML: e.comment
856
+ }, null, 8, Je),
857
+ r(p, {
858
+ id: "quick-reply-trigger",
859
+ icon: "comment-lines",
860
+ class: "cursor-pointer !absolute top-1/2 -translate-y-1/2 mb-1",
861
+ color: e.quickReplyOpen ? "blue-20" : "inkwell-0",
862
+ size: "sm",
863
+ type: e.quickReplyOpen ? "fill" : "outline",
864
+ onClick: e.toggleQuickReply
865
+ }, null, 8, ["color", "type", "onClick"]),
866
+ r(c, {
867
+ id: "send-comment",
868
+ disabled: !e.comment || e.quickReplyOpen || e.loading.sendingMessage,
869
+ loading: e.loading.sendingMessage,
870
+ "use-loading-spinner": !0,
871
+ class: "!absolute top-1/2 -translate-y-1/2 px-2 mr-2 !text-sm",
872
+ size: "xsm",
873
+ status: "link",
874
+ onClick: e.sendChatMessage
875
+ }, {
876
+ default: d(() => [
877
+ k(a(e.$t("HC_SEND")), 1)
878
+ ]),
879
+ _: 1
880
+ }, 8, ["disabled", "loading", "onClick"])
881
+ ])
882
+ ])
883
+ ])
884
+ ])
331
885
  ]),
332
886
  _: 1
333
- }, 8, ["disabled", "onClick"]),
334
- h(y, {
335
- type: "button",
336
- disabled: !e.selected.length,
337
- "no-min-width": !0,
338
- class: "!text-sm !font-normal !leading-4",
339
- status: "link",
340
- onClick: k(e.clearAll, ["prevent"])
887
+ }, 8, ["modelValue"])) : t("", !0)
888
+ ], 2),
889
+ n("div", {
890
+ id: "add-ticket",
891
+ class: u([
892
+ "add-ticket",
893
+ {
894
+ "overflow-hidden": !e.showCreateRequest,
895
+ open: e.showCreateRequest
896
+ }
897
+ ])
898
+ }, [
899
+ r(b, {
900
+ class: "text-base section-header mb-3",
901
+ align: "left",
902
+ color: "inkwell-30"
341
903
  }, {
342
- default: r(() => [
343
- c(o(e.$t("HC_CLEAR_ALL")), 1)
904
+ default: d(() => [
905
+ n("div", Xe, [
906
+ n("div", _e, a(e.$t("HC_ACTION")), 1)
907
+ ])
344
908
  ]),
345
909
  _: 1
346
- }, 8, ["disabled", "onClick"])
347
- ])
348
- ]),
349
- key: "0"
350
- } : void 0,
351
- e.required && !e.floatingLabel ? {
352
- name: "placeholder",
353
- fn: r(() => [
354
- t("span", null, [
355
- c(o(e.placeholder), 1),
356
- t("span", j, " *" + o(e.$t("HC_REQUIRED")), 1)
357
- ])
358
- ]),
359
- key: "1"
360
- } : void 0,
361
- e.$slots.afterList ? {
362
- name: "afterList",
363
- fn: r(() => [
364
- f(e.$slots, "afterList", { search: e.search }, void 0, !0)
365
- ]),
366
- key: "2"
367
- } : void 0
368
- ]), 1032, ["id", "modelValue", "filtering-sort-func", "options", "searchable", "multiple", "taggable", "label", "track-by", "group-values", "group-label", "group-select", "block-keys", "class", "disabled", "loading", "allow-empty", "clear-on-select", "close-on-select", "show-tags", "tag-placeholder", "placeholder", "open-direction", "onOpen", "onClose", "onTag"]),
369
- e.showFloatingLabel ? (s(), a("div", Z, [
370
- t("span", _, o(e.placeholder), 1),
371
- e.required ? (s(), a("span", x, "*" + o(e.$t("HC_REQUIRED")), 1)) : n("", !0)
372
- ])) : n("", !0)
373
- ], 10, O);
910
+ }),
911
+ n("form", {
912
+ class: "flex flex-col",
913
+ onSubmit: l[55] || (l[55] = E((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
914
+ }, [
915
+ e.showCreateRequest ? (s(), i("div", xe, [
916
+ n("div", eo, [
917
+ n("div", oo, [
918
+ r(m, {
919
+ id: "todo-type",
920
+ "model-value": e.requestType,
921
+ options: e.todoOptions,
922
+ placeholder: e.$t("HC_ACTION_TYPE"),
923
+ "floating-label": "",
924
+ required: "",
925
+ "onUpdate:modelValue": l[22] || (l[22] = (o) => e.onSelectToDo(o))
926
+ }, null, 8, ["model-value", "options", "placeholder"])
927
+ ]),
928
+ e.requestType && e.requestType.id === "room_notice" ? (s(), i("div", lo, [
929
+ r(m, {
930
+ id: "todo-notice-issue",
931
+ "model-value": e.roomNotice.issue,
932
+ options: e.itemOptionsList,
933
+ disabled: !e.itemOptionsList.length && !e.loading.actionItems,
934
+ loading: e.loading.actionItems,
935
+ placeholder: e.$t("HC_ITEM"),
936
+ "floating-label": "",
937
+ required: "",
938
+ "onUpdate:modelValue": l[23] || (l[23] = (o) => e.roomNotice.issue = o)
939
+ }, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
940
+ ])) : t("", !0),
941
+ e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (s(), i("div", so, [
942
+ r(w, {
943
+ id: "todo-notice-start-date",
944
+ "model-value": e.roomNotice.startDate,
945
+ "is-today-min": !0,
946
+ "property-timezone": e.propertyTimeZone,
947
+ locale: e.locale,
948
+ placeholder: e.$t("HC_START_DATE"),
949
+ format: "DD-MMM-YYYY",
950
+ "calendar-classes": "mt-0",
951
+ class: "icon-right",
952
+ "input-classes": "datepicker-md text-inkwell-40",
953
+ "wrapper-classes": "ui-overhaul",
954
+ "floating-label": "",
955
+ required: "",
956
+ "onUpdate:modelValue": l[24] || (l[24] = (o) => e.roomNotice.startDate = o)
957
+ }, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
958
+ ])) : t("", !0),
959
+ e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (s(), i("div", io, [
960
+ r(w, {
961
+ id: "todo-notice-end-date",
962
+ "model-value": e.roomNotice.endDate,
963
+ "is-today-min": !0,
964
+ "minimum-date": e.roomNotice.startDate,
965
+ "property-timezone": e.propertyTimeZone,
966
+ locale: e.locale,
967
+ placeholder: e.$t("HC_END_DATE"),
968
+ format: "DD-MMM-YYYY",
969
+ "calendar-classes": "mt-0",
970
+ class: "icon-right",
971
+ "input-classes": "datepicker-md text-inkwell-40",
972
+ "wrapper-classes": "ui-overhaul",
973
+ "floating-label": "",
974
+ required: "",
975
+ "onUpdate:modelValue": l[25] || (l[25] = (o) => e.roomNotice.endDate = o)
976
+ }, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
977
+ ])) : t("", !0),
978
+ e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (s(), i("div", to, [
979
+ r(H, {
980
+ id: "todo-notice-start-time",
981
+ "model-value": e.roomNotice.startTime,
982
+ placeholder: e.$t("HC_START_TIME"),
983
+ step: 15,
984
+ clearable: "",
985
+ "show-now": "",
986
+ "onUpdate:modelValue": l[26] || (l[26] = (o) => e.roomNotice.startTime = o)
987
+ }, null, 8, ["model-value", "placeholder"])
988
+ ])) : t("", !0),
989
+ e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (s(), i("div", ro, [
990
+ r(H, {
991
+ id: "todo-notice-end-time",
992
+ "model-value": e.roomNotice.endTime,
993
+ placeholder: e.$t("HC_END_TIME"),
994
+ step: 15,
995
+ clearable: "",
996
+ "onUpdate:modelValue": l[27] || (l[27] = (o) => e.roomNotice.endTime = o)
997
+ }, null, 8, ["model-value", "placeholder"])
998
+ ])) : t("", !0),
999
+ e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (s(), i("div", no, [
1000
+ r(v, {
1001
+ id: "todo-notice-notes",
1002
+ modelValue: e.roomNotice.notes,
1003
+ "onUpdate:modelValue": l[28] || (l[28] = (o) => e.roomNotice.notes = o),
1004
+ placeholder: e.$t("HC_WRITE_A_MESSAGE"),
1005
+ "textarea-class": "text-inkwell-30 border-gray-12 mb-2",
1006
+ "control-class": "w-full",
1007
+ rows: 2,
1008
+ "floating-label": ""
1009
+ }, null, 8, ["modelValue", "placeholder"])
1010
+ ])) : t("", !0),
1011
+ e.requestType && e.requestType.id === "complaint" ? (s(), i("div", ao, [
1012
+ r(m, {
1013
+ id: "todo-complaint-problem",
1014
+ "model-value": e.complaint.problem,
1015
+ options: e.itemOptionsList,
1016
+ disabled: !e.itemOptionsList.length && !e.loading.actionItems,
1017
+ loading: e.loading.actionItems,
1018
+ multiple: !1,
1019
+ placeholder: e.$t("HC_PROBLEM"),
1020
+ "floating-label": "",
1021
+ required: "",
1022
+ "onUpdate:modelValue": l[29] || (l[29] = (o) => e.complaint.problem = o)
1023
+ }, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
1024
+ ])) : t("", !0),
1025
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", uo, [
1026
+ r(O, {
1027
+ id: "guest-name",
1028
+ modelValue: e.complaint.guestName,
1029
+ "onUpdate:modelValue": l[30] || (l[30] = (o) => e.complaint.guestName = o),
1030
+ placeholder: e.$t("HC_GUEST_NAME"),
1031
+ "control-class": "w-full",
1032
+ classes: "text-inkwell-30 border-gray-12 ui-overhaul",
1033
+ "floating-label": "",
1034
+ required: ""
1035
+ }, null, 8, ["modelValue", "placeholder"])
1036
+ ])) : t("", !0),
1037
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", po, [
1038
+ r(O, {
1039
+ id: "guest-phone",
1040
+ modelValue: e.complaint.guestPhone,
1041
+ "onUpdate:modelValue": l[31] || (l[31] = (o) => e.complaint.guestPhone = o),
1042
+ placeholder: e.$t("HC_GUEST_PHONE_NUMBER"),
1043
+ classes: "text-inkwell-40 border-gray-12 ui-overhaul",
1044
+ "floating-label": ""
1045
+ }, null, 8, ["modelValue", "placeholder"])
1046
+ ])) : t("", !0),
1047
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", mo, [
1048
+ r(O, {
1049
+ id: "guest-email",
1050
+ modelValue: e.complaint.guestEmail,
1051
+ "onUpdate:modelValue": l[32] || (l[32] = (o) => e.complaint.guestEmail = o),
1052
+ placeholder: e.$t("HC_GUEST_EMAIL"),
1053
+ classes: "text-inkwell-40 border-gray-12 ui-overhaul",
1054
+ "floating-label": ""
1055
+ }, null, 8, ["modelValue", "placeholder"])
1056
+ ])) : t("", !0),
1057
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", go, [
1058
+ r(O, {
1059
+ id: "guest-loyalty",
1060
+ modelValue: e.complaint.guestLoyalty,
1061
+ "onUpdate:modelValue": l[33] || (l[33] = (o) => e.complaint.guestLoyalty = o),
1062
+ placeholder: e.$t("HC_GUEST_LOYALTY"),
1063
+ classes: "text-inkwell-40 border-gray-12 ui-overhaul",
1064
+ "floating-label": ""
1065
+ }, null, 8, ["modelValue", "placeholder"])
1066
+ ])) : t("", !0),
1067
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", yo, [
1068
+ r(m, {
1069
+ id: "todo-complaint-mood",
1070
+ "model-value": e.complaint.guestMood,
1071
+ options: e.moodOptions,
1072
+ disabled: !e.moodOptions.length,
1073
+ placeholder: e.$t("HC_GUEST_MOOD"),
1074
+ "floating-label": "",
1075
+ required: "",
1076
+ "onUpdate:modelValue": l[34] || (l[34] = (o) => e.complaint.guestMood = o)
1077
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])
1078
+ ])) : t("", !0),
1079
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", ko, [
1080
+ r(w, {
1081
+ id: "todo-complaint-check-in",
1082
+ "model-value": e.complaint.checkInDate,
1083
+ "is-today-min": !1,
1084
+ "property-timezone": e.propertyTimeZone,
1085
+ locale: e.locale,
1086
+ placeholder: e.$t("HC_CHECK_IN_DATE"),
1087
+ format: "DD-MMM-YYYY",
1088
+ "calendar-classes": "mt-0",
1089
+ class: "icon-right",
1090
+ "input-classes": "datepicker-md text-inkwell-40",
1091
+ "wrapper-classes": "ui-overhaul",
1092
+ "floating-label": "",
1093
+ required: "",
1094
+ "onUpdate:modelValue": l[35] || (l[35] = (o) => e.complaint.checkInDate = o)
1095
+ }, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
1096
+ ])) : t("", !0),
1097
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", ho, [
1098
+ r(w, {
1099
+ id: "todo-complaint-check-out",
1100
+ "model-value": e.complaint.checkOutDate,
1101
+ "is-today-min": !1,
1102
+ "minimum-date": e.complaint.checkInDate,
1103
+ "property-timezone": e.propertyTimeZone,
1104
+ locale: e.locale,
1105
+ placeholder: e.$t("HC_CHECK_OUT_DATE"),
1106
+ format: "DD-MMM-YYYY",
1107
+ "calendar-classes": "mt-0",
1108
+ class: "icon-right",
1109
+ "input-classes": "datepicker-md text-inkwell-40",
1110
+ "wrapper-classes": "ui-overhaul",
1111
+ "floating-label": "",
1112
+ required: "",
1113
+ "onUpdate:modelValue": l[36] || (l[36] = (o) => e.complaint.checkOutDate = o)
1114
+ }, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
1115
+ ])) : t("", !0),
1116
+ e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (s(), i("div", vo, [
1117
+ r(v, {
1118
+ id: "todo-complaint-notes",
1119
+ modelValue: e.complaint.notes,
1120
+ "onUpdate:modelValue": l[37] || (l[37] = (o) => e.complaint.notes = o),
1121
+ placeholder: e.$t("HC_WRITE_A_MESSAGE"),
1122
+ "textarea-class": "text-inkwell-30 border-gray-12 mb-2",
1123
+ "control-class": "w-full",
1124
+ rows: 2,
1125
+ "floating-label": ""
1126
+ }, null, 8, ["modelValue", "placeholder"])
1127
+ ])) : t("", !0),
1128
+ e.requestType && e.requestType.id === "work_order" ? (s(), i("div", wo, [
1129
+ r(m, {
1130
+ id: "todo-work-order-item",
1131
+ "model-value": e.workOrder.item,
1132
+ options: e.itemOptionsList,
1133
+ disabled: !e.itemOptionsList.length && !e.loading.actionItems,
1134
+ loading: e.loading.actionItems,
1135
+ "group-selectable": !1,
1136
+ placeholder: e.$t("HC_ITEM"),
1137
+ "group-label": "group",
1138
+ "group-values": "options",
1139
+ "floating-label": "",
1140
+ required: "",
1141
+ "onUpdate:modelValue": l[38] || (l[38] = (o) => e.workOrder.item = o)
1142
+ }, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
1143
+ ])) : t("", !0),
1144
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (s(), i("div", fo, [
1145
+ r(m, {
1146
+ id: "todo-work-order-issue",
1147
+ "model-value": e.workOrder.issue,
1148
+ options: e.workOrderIssues,
1149
+ disabled: !e.workOrderIssues.length,
1150
+ placeholder: e.$t("HC_ISSUE"),
1151
+ "floating-label": "",
1152
+ required: "",
1153
+ "onUpdate:modelValue": l[39] || (l[39] = (o) => e.workOrder.issue = o)
1154
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])
1155
+ ])) : t("", !0),
1156
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (s(), i("div", To, [
1157
+ r(m, {
1158
+ id: "todo-work-order-requested-by",
1159
+ "model-value": e.workOrder.requestedBy,
1160
+ options: e.requestedByOptions,
1161
+ placeholder: e.$t("HC_REQUESTED_BY"),
1162
+ "floating-label": "",
1163
+ required: "",
1164
+ "onUpdate:modelValue": l[40] || (l[40] = (o) => e.workOrder.requestedBy = o)
1165
+ }, null, 8, ["model-value", "options", "placeholder"])
1166
+ ])) : t("", !0),
1167
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (s(), i("div", qo, [
1168
+ r(m, {
1169
+ id: "todo-work-order-assign-type",
1170
+ "model-value": e.workOrder.assignType,
1171
+ options: e.assignTypes,
1172
+ placeholder: e.$t("HC_ASSIGN_TYPE"),
1173
+ "floating-label": "",
1174
+ required: "",
1175
+ "onUpdate:modelValue": l[41] || (l[41] = (o) => e.workOrder.assignType = o)
1176
+ }, null, 8, ["model-value", "options", "placeholder"])
1177
+ ])) : t("", !0),
1178
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (s(), i("div", bo, [
1179
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (s(), y(m, {
1180
+ key: 0,
1181
+ id: "todo-work-order-assign-to",
1182
+ "model-value": e.workOrder.department,
1183
+ options: e.departments,
1184
+ disabled: !e.departments.length,
1185
+ placeholder: e.$t("HC_ASSIGN_TO"),
1186
+ "floating-label": "",
1187
+ required: "",
1188
+ "onUpdate:modelValue": l[42] || (l[42] = (o) => e.workOrder.department = o)
1189
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0),
1190
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 2 ? (s(), y(m, {
1191
+ key: 1,
1192
+ id: "todo-work-order-assign-to",
1193
+ "model-value": e.workOrder.person,
1194
+ options: e.departmentUsers,
1195
+ disabled: !e.departmentUsers.length,
1196
+ "group-selectable": !1,
1197
+ placeholder: e.$t("HC_ASSIGN_TO"),
1198
+ "group-label": "group",
1199
+ "group-values": "options",
1200
+ "floating-label": "",
1201
+ required: "",
1202
+ "onUpdate:modelValue": l[43] || (l[43] = (o) => e.workOrder.person = o)
1203
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
1204
+ ])) : t("", !0),
1205
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (s(), i("div", Co, [
1206
+ r(w, {
1207
+ id: "todo-work-order-due",
1208
+ "model-value": e.workOrder.due,
1209
+ "is-today-min": !0,
1210
+ "property-timezone": e.propertyTimeZone,
1211
+ locale: e.locale,
1212
+ placeholder: e.$t("HC_DUE_DATE"),
1213
+ format: "DD-MMM-YYYY",
1214
+ "calendar-classes": "mt-0",
1215
+ class: "icon-right",
1216
+ "input-classes": "datepicker-md text-inkwell-40",
1217
+ "wrapper-classes": "ui-overhaul",
1218
+ "floating-label": "",
1219
+ required: "",
1220
+ "onUpdate:modelValue": l[44] || (l[44] = (o) => e.workOrder.due = o)
1221
+ }, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
1222
+ ])) : t("", !0),
1223
+ e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (s(), i("div", co, [
1224
+ r(v, {
1225
+ id: "todo-work-order-notes",
1226
+ modelValue: e.workOrder.notes,
1227
+ "onUpdate:modelValue": l[45] || (l[45] = (o) => e.workOrder.notes = o),
1228
+ placeholder: e.$t("HC_WRITE_A_MESSAGE"),
1229
+ "textarea-class": "text-inkwell-30 border-gray-12 mb-2",
1230
+ "control-class": "w-full",
1231
+ rows: 2,
1232
+ "floating-label": ""
1233
+ }, null, 8, ["modelValue", "placeholder"])
1234
+ ])) : t("", !0),
1235
+ e.requestType && e.requestType.id === "request" ? (s(), i("div", Oo, [
1236
+ r(m, {
1237
+ id: "todo-request-item",
1238
+ "model-value": e.request.item,
1239
+ options: e.itemOptionsList,
1240
+ disabled: !e.itemOptionsList.length && !e.loading.actionItems,
1241
+ loading: e.loading.actionItems,
1242
+ placeholder: e.$t("HC_ITEM"),
1243
+ "floating-label": "",
1244
+ required: "",
1245
+ "onUpdate:modelValue": l[46] || (l[46] = (o) => e.request.item = o)
1246
+ }, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
1247
+ ])) : t("", !0),
1248
+ e.requestType && e.requestType.id === "request" && e.request.item ? (s(), i("div", Eo, [
1249
+ r(m, {
1250
+ id: "todo-request-requested-by",
1251
+ "model-value": e.request.requestedBy,
1252
+ options: e.requestedByOptions,
1253
+ placeholder: e.$t("HC_REQUESTED_BY"),
1254
+ "floating-label": "",
1255
+ required: "",
1256
+ "onUpdate:modelValue": l[47] || (l[47] = (o) => e.request.requestedBy = o)
1257
+ }, null, 8, ["model-value", "options", "placeholder"])
1258
+ ])) : t("", !0),
1259
+ e.requestType && e.requestType.id === "request" && e.request.item ? (s(), i("div", So, [
1260
+ r(w, {
1261
+ id: "todo-request-due",
1262
+ "model-value": e.request.due,
1263
+ "is-today-min": !0,
1264
+ "property-timezone": e.propertyTimeZone,
1265
+ locale: e.locale,
1266
+ placeholder: e.$t("HC_DUE_DATE"),
1267
+ format: "DD-MMM-YYYY",
1268
+ "calendar-classes": "mt-0",
1269
+ class: "icon-right",
1270
+ "input-classes": "datepicker-md text-inkwell-40",
1271
+ "wrapper-classes": "ui-overhaul",
1272
+ "floating-label": "",
1273
+ required: "",
1274
+ "onUpdate:modelValue": l[48] || (l[48] = (o) => e.request.due = o)
1275
+ }, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
1276
+ ])) : t("", !0),
1277
+ e.requestType && e.requestType.id === "request" && e.request.item ? (s(), i("div", $o, [
1278
+ r(m, {
1279
+ id: "todo-request-assign-type",
1280
+ "model-value": e.request.assignType,
1281
+ options: e.assignTypes,
1282
+ placeholder: e.$t("HC_ASSIGN_TYPE"),
1283
+ "floating-label": "",
1284
+ required: "",
1285
+ "onUpdate:modelValue": l[49] || (l[49] = (o) => e.request.assignType = o)
1286
+ }, null, 8, ["model-value", "options", "placeholder"])
1287
+ ])) : t("", !0),
1288
+ e.requestType && e.requestType.id === "request" && e.request.item ? (s(), i("div", Do, [
1289
+ e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (s(), y(m, {
1290
+ key: 0,
1291
+ id: "todo-request-assign-to",
1292
+ "model-value": e.request.department,
1293
+ options: e.departments,
1294
+ disabled: !e.departments.length,
1295
+ placeholder: e.$t("HC_ASSIGN_TO"),
1296
+ "floating-label": "",
1297
+ required: "",
1298
+ "onUpdate:modelValue": l[50] || (l[50] = (o) => e.request.department = o)
1299
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0),
1300
+ e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (s(), y(m, {
1301
+ key: 1,
1302
+ id: "todo-request-assign-to",
1303
+ "model-value": e.request.person,
1304
+ options: e.departmentUsers,
1305
+ disabled: !e.departmentUsers.length,
1306
+ "group-selectable": !1,
1307
+ placeholder: e.$t("HC_ASSIGN_TO"),
1308
+ "group-label": "group",
1309
+ "group-values": "options",
1310
+ "floating-label": "",
1311
+ required: "",
1312
+ "onUpdate:modelValue": l[51] || (l[51] = (o) => e.request.person = o)
1313
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
1314
+ ])) : t("", !0),
1315
+ e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (s(), i("div", Vo, [
1316
+ r(m, {
1317
+ id: "todo-request-when",
1318
+ "model-value": e.request.when,
1319
+ options: e.whenOptions,
1320
+ disabled: !e.whenOptions.length,
1321
+ placeholder: e.$t("HC_SELECT_WHEN"),
1322
+ "floating-label": "",
1323
+ "onUpdate:modelValue": l[52] || (l[52] = (o) => e.request.when = o)
1324
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])
1325
+ ])) : t("", !0),
1326
+ e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (s(), i("div", Ho, [
1327
+ r(m, {
1328
+ id: "todo-request-where",
1329
+ "model-value": e.request.where,
1330
+ options: e.whereOptions,
1331
+ disabled: !e.whereOptions.length,
1332
+ placeholder: e.$t("HC_SELECT_WHERE"),
1333
+ "floating-label": "",
1334
+ "onUpdate:modelValue": l[53] || (l[53] = (o) => e.request.where = o)
1335
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])
1336
+ ])) : t("", !0),
1337
+ e.requestType && e.requestType.id === "request" && e.request.item ? (s(), i("div", Uo, [
1338
+ r(v, {
1339
+ id: "todo-request-notes",
1340
+ modelValue: e.request.notes,
1341
+ "onUpdate:modelValue": l[54] || (l[54] = (o) => e.request.notes = o),
1342
+ placeholder: e.$t("HC_WRITE_A_MESSAGE"),
1343
+ "textarea-class": "text-inkwell-30 border-gray-12 mb-2",
1344
+ "control-class": "w-full",
1345
+ rows: 2,
1346
+ "floating-label": ""
1347
+ }, null, 8, ["modelValue", "placeholder"])
1348
+ ])) : t("", !0)
1349
+ ])
1350
+ ])) : t("", !0),
1351
+ n("div", No, [
1352
+ r(c, {
1353
+ status: "secondary",
1354
+ onClick: E(e.closeRequest, ["prevent"])
1355
+ }, {
1356
+ default: d(() => [
1357
+ k(a(e.$t("HC_BACK")), 1)
1358
+ ]),
1359
+ _: 1
1360
+ }, 8, ["onClick"]),
1361
+ r(c, {
1362
+ disabled: !e.validateToDo,
1363
+ loading: e.requestLoading,
1364
+ "use-loading-spinner": !0,
1365
+ onClick: e.onCreateRequestSubmit
1366
+ }, {
1367
+ default: d(() => [
1368
+ k(a(e.$t("HC_POST")), 1)
1369
+ ]),
1370
+ _: 1
1371
+ }, 8, ["disabled", "loading", "onClick"])
1372
+ ])
1373
+ ], 32)
1374
+ ], 2),
1375
+ e.loading.pms ? (s(), i("div", Io)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (s(), i("div", Mo, [
1376
+ r(p, {
1377
+ class: "flex-shrink-1 mr-2",
1378
+ size: "sm",
1379
+ color: "inkwell-0",
1380
+ icon: "clock-alarm",
1381
+ type: "outline"
1382
+ }),
1383
+ n("p", Ao, a(e.$t("HC_PMS_UPDATED")) + " " + a(e.DateTime.fromISO(
1384
+ e.roomDetailsData.updatedAt
1385
+ ).toRelative({ locale: e.locale })), 1)
1386
+ ])) : t("", !0)
1387
+ ], 8, Y)
1388
+ ]),
1389
+ _: 3
1390
+ }, 8, ["model-value", "align", "position", "size", "teleport", "teleport-to", "close-on-scroll-out-of-view", "scroll-into-view", "scroll-into-view-padding"])
1391
+ ], 40, L)) : t("", !0);
374
1392
  }
375
- const ue = /* @__PURE__ */ q($, [["render", ee], ["__scopeId", "data-v-ab376358"]]);
1393
+ const jo = /* @__PURE__ */ G(M, [["render", Ro]]);
376
1394
  export {
377
- ue as default
1395
+ jo as default
378
1396
  };