@quoreadmin/ui 1.6.8 → 1.7.0

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