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