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