@quoreadmin/ui 1.6.9 → 1.7.1

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