@quoreadmin/ui 1.8.7 → 1.8.9

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