@quoreadmin/ui 1.8.3 → 1.8.4

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