@quoreadmin/ui 1.7.17 → 1.7.18
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/index140.js +250 -255
- package/dist/index142.js +1 -1
- package/dist/index172.js +14 -14
- package/dist/index173.js +3 -3
- package/dist/index176.js +4 -4
- package/dist/index183.js +10 -10
- package/dist/index185.js +10 -10
- package/dist/index187.js +36 -1190
- package/dist/{index190.js → index188.js} +17 -17
- package/dist/index189.js +1190 -36
- package/dist/index191.js +9 -9
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index194.js +1 -1
- package/dist/index202.js +4 -4
- package/dist/index203.js +84 -29
- package/dist/index204.js +400 -109
- package/dist/index205.js +22 -36
- package/dist/index206.js +33 -26
- package/dist/index207.js +111 -31
- package/dist/index208.js +36 -9
- package/dist/index209.js +26 -19
- package/dist/index210.js +36 -10
- package/dist/index211.js +9 -10
- package/dist/index212.js +18 -50
- package/dist/index213.js +10 -43
- package/dist/index214.js +10 -4
- package/dist/index215.js +48 -36
- package/dist/index216.js +43 -21
- package/dist/index217.js +3 -87
- package/dist/index218.js +35 -403
- package/dist/index219.js +21 -22
- package/dist/index220.js +159 -159
- package/dist/index221.js +20 -228
- package/dist/index222.js +19 -36
- package/dist/index223.js +22 -10
- package/dist/index224.js +185 -113
- package/dist/index225.js +57 -25
- package/dist/index226.js +31 -77
- package/dist/index227.js +39 -19
- package/dist/index228.js +160 -19
- package/dist/index229.js +228 -20
- package/dist/index230.js +36 -19
- package/dist/index231.js +10 -20
- package/dist/index232.js +121 -155
- package/dist/index233.js +37 -19
- package/dist/index234.js +80 -22
- package/dist/index235.js +19 -198
- package/dist/index236.js +18 -68
- package/dist/index237.js +20 -34
- package/dist/index238.js +19 -39
- package/dist/index239.js +1 -1
- package/dist/index240.js +1 -1
- package/dist/index241.js +1 -1
- package/dist/index242.js +8 -8
- package/dist/index243.js +2 -2
- package/dist/index245.js +1 -1
- package/dist/index246.js +1 -1
- package/dist/index247.js +1 -1
- package/dist/index249.js +2 -2
- package/dist/index250.js +2 -2
- package/dist/index251.js +8 -8
- package/dist/index252.js +1 -1
- package/dist/index253.js +1 -1
- package/dist/index254.js +1 -1
- package/dist/index255.js +1 -1
- package/dist/index256.js +1 -1
- package/dist/index257.js +1 -1
- package/dist/index260.js +6 -6
- package/dist/index261.js +1 -1
- package/dist/index262.js +1 -1
- package/dist/index275.js +2 -2
- package/dist/index280.js +54 -3
- package/dist/index281.js +77 -25
- package/dist/index282.js +26 -2
- package/dist/index283.js +21 -78
- package/dist/index284.js +21 -53
- package/dist/index285.js +16 -26
- package/dist/index286.js +17 -22
- package/dist/index287.js +22 -21
- package/dist/index288.js +261 -15
- package/dist/index289.js +6 -17
- package/dist/index290.js +138 -21
- package/dist/index291.js +66 -228
- package/dist/index292.js +86 -5
- package/dist/index293.js +26 -131
- package/dist/index294.js +14 -66
- package/dist/index295.js +71 -83
- package/dist/index296.js +3 -28
- package/dist/index297.js +2 -9
- package/dist/index298.js +78 -70
- package/dist/index299.js +52 -3
- package/dist/index300.js +6 -2
- package/dist/index301.js +4 -82
- package/dist/index302.js +176 -51
- package/dist/index303.js +62 -5
- package/dist/index304.js +75 -5
- package/dist/index305.js +2 -179
- package/dist/index306.js +1509 -54
- package/dist/index307.js +385 -74
- package/dist/index308.js +2488 -1275
- package/dist/index309.js +70 -370
- package/dist/index310.js +3442 -2403
- package/dist/index311.js +51 -77
- package/dist/index312.js +79 -3770
- package/dist/index313.js +21 -59
- package/dist/index314.js +923 -67
- package/dist/index315.js +4 -4
- package/dist/index316.js +20 -935
- package/dist/index317.js +13 -15
- package/dist/index318.js +68 -19
- package/dist/index319.js +19 -20
- package/dist/index320.js +16 -66
- package/dist/index321.js +22 -19
- package/dist/index322.js +22 -19
- package/dist/index323.js +62 -21
- package/dist/index324.js +15 -22
- package/dist/index325.js +84 -63
- package/dist/index326.js +202 -15
- package/dist/index327.js +232 -70
- package/dist/index328.js +3 -202
- package/dist/index329.js +21 -240
- package/dist/index330.js +36 -8
- package/dist/index331.js +18 -12
- package/dist/index332.js +55 -53
- package/dist/index333.js +27 -10
- package/dist/index334.js +6 -13
- package/dist/index335.js +48 -54
- package/dist/index336.js +7 -52
- package/dist/index337.js +11 -30
- package/dist/index338.js +7 -2
- package/dist/index339.js +27 -4
- package/dist/index340.js +2 -2
- package/dist/index341.js +69 -22
- package/dist/index342.js +164 -38
- package/dist/index343.js +20 -2
- package/dist/index344.js +20 -11
- package/dist/index345.js +62 -18
- package/dist/index346.js +37 -17
- package/dist/index347.js +9 -10
- package/dist/index348.js +13 -10
- package/dist/index349.js +55 -2
- package/dist/index350.js +12 -9
- package/dist/index351.js +13 -9
- package/dist/index352.js +57 -13
- package/dist/index353.js +49 -34
- package/dist/index354.js +28 -18
- package/dist/index355.js +2 -56
- package/dist/index356.js +5 -29
- package/dist/index357.js +2 -7
- package/dist/index358.js +21 -50
- package/dist/index359.js +40 -5
- package/dist/index360.js +2 -12
- package/dist/index361.js +10 -6
- package/dist/index362.js +20 -28
- package/dist/index363.js +17 -2
- package/dist/index364.js +9 -69
- package/dist/index365.js +9 -166
- package/dist/index366.js +2 -20
- package/dist/index367.js +9 -20
- package/dist/index368.js +9 -63
- package/dist/index369.js +14 -37
- package/dist/index370.js +1 -1
- package/dist/index371.js +3 -3
- package/dist/index372.js +1 -1
- package/dist/index376.js +1 -1
- package/dist/index378.js +1 -1
- package/dist/index379.js +6 -6
- package/dist/index380.js +4 -4
- package/dist/index391.js +1 -1
- package/dist/index392.js +2 -2
- package/dist/index43.js +159 -160
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +1 -7
- package/package.json +1 -1
package/dist/index43.js
CHANGED
|
@@ -1,187 +1,187 @@
|
|
|
1
1
|
import N from "./index140.js";
|
|
2
|
-
import { resolveComponent as g, createElementBlock as i, createCommentVNode as t, openBlock as l, createVNode as r, withCtx as d, createElementVNode as n, normalizeClass as u, toDisplayString as a, createBlock as y,
|
|
2
|
+
import { resolveComponent as g, createElementBlock as i, createCommentVNode as t, openBlock as l, createVNode as r, withCtx as d, createElementVNode as n, normalizeClass as u, toDisplayString as a, createBlock as y, createTextVNode as k, Fragment as h, renderList as q, withKeys as H, withModifiers as E, mergeProps as U, toHandlerKey as V, renderSlot as R } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import I from "./index62.js";
|
|
5
|
+
const A = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "animate-shimmer bg-gray-30 w-3/4 h-6 grow"
|
|
8
8
|
}, P = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "text-base text-inkwell-30"
|
|
11
|
-
}, B = { key: 0 }, W =
|
|
11
|
+
}, B = { key: 0 }, W = ["href"], K = { class: "flex items-start" }, j = { class: "list-unstyled text-sm w-full font-normal" }, F = { class: "grow" }, Z = { class: "grow" }, Q = { class: "grow" }, J = { class: "grow" }, X = { class: "position-relative icon-container ml-auto" }, _ = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "animate-shimmer bg-gray-10 w-full h-4 my-4"
|
|
14
|
-
},
|
|
14
|
+
}, x = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "flex flex-wrap items-center mb-3 gap-2"
|
|
17
|
-
},
|
|
17
|
+
}, ee = {
|
|
18
18
|
key: 2,
|
|
19
19
|
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
20
|
-
},
|
|
20
|
+
}, oe = {
|
|
21
21
|
key: 3,
|
|
22
22
|
class: "flex flex-wrap items-center mb-4"
|
|
23
|
-
},
|
|
23
|
+
}, se = ["href"], le = { class: "shrink-0 mr-2 text-sm font-normal" }, ie = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "animate-shimmer bg-gray-10 w-full h-6"
|
|
26
|
-
},
|
|
26
|
+
}, te = {
|
|
27
27
|
key: 1,
|
|
28
28
|
class: "guest-info-container"
|
|
29
|
-
},
|
|
29
|
+
}, re = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "text-base text-inkwell-30 mb-2"
|
|
32
|
-
},
|
|
32
|
+
}, ne = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "flex gap-1 text-xs mb-2 stay-details-row"
|
|
35
|
-
},
|
|
35
|
+
}, ae = { class: "text-truncate text-inkwell-0" }, de = { class: "grow text-inkwell-30" }, ue = {
|
|
36
36
|
key: 1,
|
|
37
37
|
class: "flex gap-1 text-xs mb-2 stay-details-row"
|
|
38
|
-
},
|
|
38
|
+
}, pe = { class: "text-truncate text-inkwell-0" }, me = { class: "grow text-inkwell-30" }, ge = { class: "shrink-0 mr-2 text-sm font-normal" }, ye = {
|
|
39
39
|
key: 0,
|
|
40
40
|
class: "animate-shimmer bg-gray-30 w-full h-6"
|
|
41
|
-
},
|
|
41
|
+
}, ke = {
|
|
42
42
|
key: 1,
|
|
43
43
|
class: "open-tickets"
|
|
44
|
-
},
|
|
44
|
+
}, he = ["id"], ve = {
|
|
45
45
|
key: 2,
|
|
46
46
|
class: "text-center mx-auto font-normal"
|
|
47
|
-
},
|
|
47
|
+
}, we = { class: "shrink-0 mr-2 text-sm font-normal" }, fe = {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "quick-replies"
|
|
50
|
-
},
|
|
50
|
+
}, qe = ["onClick"], be = {
|
|
51
51
|
key: 1,
|
|
52
52
|
class: "text-inkwell-0 text-xxs text-center"
|
|
53
|
-
},
|
|
53
|
+
}, Te = { class: "chat-container" }, Ce = {
|
|
54
54
|
id: "comments-container",
|
|
55
55
|
class: "chat-messages"
|
|
56
|
-
},
|
|
56
|
+
}, ce = {
|
|
57
57
|
key: 0,
|
|
58
58
|
class: "flex flex-col gap-3 p-2"
|
|
59
|
-
},
|
|
59
|
+
}, Oe = {
|
|
60
60
|
key: 0,
|
|
61
61
|
class: "chat-separator"
|
|
62
|
-
},
|
|
62
|
+
}, Ee = { class: "chat-separator-text" }, $e = {
|
|
63
63
|
key: 0,
|
|
64
64
|
class: "chat-message-avatar"
|
|
65
|
-
}, De = { class: "chat-message-content" },
|
|
65
|
+
}, De = { class: "chat-message-content" }, Se = { class: "chat-message-time" }, He = { class: "chat-message-bubble" }, Ve = {
|
|
66
66
|
key: 1,
|
|
67
67
|
class: "chat-message-avatar"
|
|
68
|
-
},
|
|
68
|
+
}, Me = {
|
|
69
69
|
key: 2,
|
|
70
70
|
class: "chat-empty text-center py-4 text-inkwell-0 text-sm"
|
|
71
|
-
},
|
|
71
|
+
}, Ne = {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: "simulate-panel"
|
|
74
|
-
},
|
|
74
|
+
}, Ue = { class: "simulate-panel-header" }, Re = { class: "simulate-panel-body" }, Ie = { class: "flex justify-end mt-2" }, Ae = { class: "chat-input-area" }, Ge = { class: "flex items-center gap-2" }, Le = {
|
|
75
75
|
key: 0,
|
|
76
76
|
class: "inline-block animate-pulse"
|
|
77
|
-
},
|
|
77
|
+
}, ze = { class: "relative flex-1 min-w-0" }, Ye = ["innerHTML"], Pe = { class: "flex items-center add-ticket-divider" }, Be = { class: "grow flex items-center text-sm font-normal" }, We = {
|
|
78
78
|
key: 0,
|
|
79
79
|
class: "grow"
|
|
80
|
-
},
|
|
80
|
+
}, Ke = { class: "grid grid-cols-2 gap-3" }, je = { class: "field" }, Fe = {
|
|
81
81
|
key: 0,
|
|
82
82
|
class: "field"
|
|
83
|
-
},
|
|
83
|
+
}, Ze = {
|
|
84
84
|
key: 1,
|
|
85
85
|
class: "field"
|
|
86
|
-
},
|
|
86
|
+
}, Qe = {
|
|
87
87
|
key: 2,
|
|
88
88
|
class: "field"
|
|
89
|
-
},
|
|
89
|
+
}, Je = {
|
|
90
90
|
key: 3,
|
|
91
91
|
class: "field col-span-2"
|
|
92
|
-
},
|
|
92
|
+
}, Xe = {
|
|
93
93
|
key: 4,
|
|
94
94
|
class: "field"
|
|
95
|
-
},
|
|
95
|
+
}, _e = {
|
|
96
96
|
key: 5,
|
|
97
97
|
class: "field col-span-2"
|
|
98
|
-
},
|
|
98
|
+
}, xe = {
|
|
99
99
|
key: 6,
|
|
100
100
|
class: "field"
|
|
101
|
-
},
|
|
101
|
+
}, eo = {
|
|
102
102
|
key: 7,
|
|
103
103
|
class: "field"
|
|
104
|
-
},
|
|
104
|
+
}, oo = {
|
|
105
105
|
key: 8,
|
|
106
106
|
class: "field"
|
|
107
|
-
},
|
|
107
|
+
}, so = {
|
|
108
108
|
key: 9,
|
|
109
109
|
class: "field"
|
|
110
|
-
},
|
|
110
|
+
}, lo = {
|
|
111
111
|
key: 10,
|
|
112
112
|
class: "field"
|
|
113
|
-
},
|
|
113
|
+
}, io = {
|
|
114
114
|
key: 11,
|
|
115
115
|
class: "field"
|
|
116
|
-
},
|
|
116
|
+
}, to = {
|
|
117
117
|
key: 12,
|
|
118
118
|
class: "field col-span-2"
|
|
119
|
-
},
|
|
119
|
+
}, ro = {
|
|
120
120
|
key: 13,
|
|
121
121
|
class: "field"
|
|
122
|
-
},
|
|
122
|
+
}, no = {
|
|
123
123
|
key: 14,
|
|
124
124
|
class: "field"
|
|
125
|
-
},
|
|
125
|
+
}, ao = {
|
|
126
126
|
key: 15,
|
|
127
127
|
class: "field"
|
|
128
|
-
},
|
|
128
|
+
}, uo = {
|
|
129
129
|
key: 16,
|
|
130
130
|
class: "field"
|
|
131
|
-
},
|
|
131
|
+
}, po = {
|
|
132
132
|
key: 17,
|
|
133
133
|
class: "field"
|
|
134
|
-
},
|
|
134
|
+
}, mo = {
|
|
135
135
|
key: 18,
|
|
136
136
|
class: "field"
|
|
137
|
-
},
|
|
137
|
+
}, go = {
|
|
138
138
|
key: 19,
|
|
139
139
|
class: "field col-span-2"
|
|
140
|
-
},
|
|
140
|
+
}, yo = {
|
|
141
141
|
key: 20,
|
|
142
142
|
class: "field"
|
|
143
|
-
},
|
|
143
|
+
}, ko = {
|
|
144
144
|
key: 21,
|
|
145
145
|
class: "field"
|
|
146
|
-
},
|
|
146
|
+
}, ho = {
|
|
147
147
|
key: 22,
|
|
148
148
|
class: "field"
|
|
149
|
-
},
|
|
149
|
+
}, vo = {
|
|
150
150
|
key: 23,
|
|
151
151
|
class: "field"
|
|
152
|
-
},
|
|
152
|
+
}, wo = {
|
|
153
153
|
key: 24,
|
|
154
154
|
class: "field"
|
|
155
|
-
},
|
|
155
|
+
}, fo = {
|
|
156
156
|
key: 25,
|
|
157
157
|
class: "field"
|
|
158
|
-
},
|
|
158
|
+
}, qo = {
|
|
159
159
|
key: 26,
|
|
160
160
|
class: "field"
|
|
161
|
-
},
|
|
161
|
+
}, bo = {
|
|
162
162
|
key: 27,
|
|
163
163
|
class: "field col-span-2"
|
|
164
|
-
},
|
|
164
|
+
}, To = {
|
|
165
165
|
class: /* @__PURE__ */ u([
|
|
166
166
|
"actions flex-shrink-0",
|
|
167
167
|
"flex items-center justify-between mt-4"
|
|
168
168
|
])
|
|
169
|
-
},
|
|
169
|
+
}, Co = {
|
|
170
170
|
key: 4,
|
|
171
171
|
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
172
|
-
},
|
|
172
|
+
}, co = {
|
|
173
173
|
key: 5,
|
|
174
174
|
class: "flex items-center mt-0.5"
|
|
175
|
-
},
|
|
176
|
-
function
|
|
177
|
-
const p = g("q-icon"), f = g("q-tooltip"), $ = g("q-tag"),
|
|
175
|
+
}, Oo = { class: "text-xs text-inkwell-0 font-normal" };
|
|
176
|
+
function Eo(e, s, $o, Do, So, Ho) {
|
|
177
|
+
const p = g("q-icon"), f = g("q-tooltip"), $ = g("q-tag"), D = g("q-popover"), b = g("q-divider"), O = g("q-accordion"), M = g("q-activity-item"), S = g("q-avatar"), v = g("q-textarea"), T = g("q-button"), m = g("q-select"), w = g("q-date-picker"), C = g("q-input");
|
|
178
178
|
return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (l(), i("div", {
|
|
179
179
|
key: 0,
|
|
180
180
|
id: e.id ? `rdp-${e.id}` : "",
|
|
181
181
|
class: "room-detail component-container text-inkwell-30",
|
|
182
182
|
onMouseleave: s[54] || (s[54] = (o) => e.onHoverToggle(!1))
|
|
183
183
|
}, [
|
|
184
|
-
r(
|
|
184
|
+
r(D, {
|
|
185
185
|
"model-value": e.open,
|
|
186
186
|
align: e.alignment,
|
|
187
187
|
position: e.positioning,
|
|
@@ -200,11 +200,11 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
200
200
|
id: e.id ? `rdp-${e.id}-trigger` : "",
|
|
201
201
|
class: "trigger-text"
|
|
202
202
|
}, {
|
|
203
|
-
[
|
|
203
|
+
[V(!e.hover && "click")]: s[0] || (s[0] = (o) => e.$emit("toggle", !e.open))
|
|
204
204
|
}, {
|
|
205
|
-
[
|
|
205
|
+
[V(e.hover && "mouseover")]: s[1] || (s[1] = (o) => e.onHoverToggle(!0))
|
|
206
206
|
}), [
|
|
207
|
-
|
|
207
|
+
R(e.$slots, "trigger", {}, () => [
|
|
208
208
|
k(a(e.trigger), 1)
|
|
209
209
|
])
|
|
210
210
|
], 16, G)
|
|
@@ -241,7 +241,6 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
241
241
|
icon: "user",
|
|
242
242
|
type: "fill",
|
|
243
243
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
244
|
-
class: "!h-[1.625rem] !w-[1.625rem]",
|
|
245
244
|
size: "sm"
|
|
246
245
|
}, null, 8, ["color"])
|
|
247
246
|
]),
|
|
@@ -250,7 +249,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
250
249
|
]),
|
|
251
250
|
_: 1
|
|
252
251
|
})) : t("", !0),
|
|
253
|
-
e.cleanliness ? (l(), y(f, {
|
|
252
|
+
e.cleanliness === "DIRTY" ? (l(), y(f, {
|
|
254
253
|
key: 1,
|
|
255
254
|
class: "flex shrink-0 items-center"
|
|
256
255
|
}, {
|
|
@@ -258,13 +257,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
258
257
|
r(p, {
|
|
259
258
|
icon: "spray-bottle",
|
|
260
259
|
type: "fill",
|
|
261
|
-
color:
|
|
260
|
+
color: "red-10",
|
|
262
261
|
size: "sm",
|
|
263
262
|
class: "mt-[0.0612rem]"
|
|
264
|
-
}
|
|
263
|
+
})
|
|
265
264
|
]),
|
|
266
265
|
content: d(() => [
|
|
267
|
-
|
|
266
|
+
k(a(e.$t("HC_DIRTY")), 1)
|
|
268
267
|
]),
|
|
269
268
|
_: 1
|
|
270
269
|
})) : t("", !0),
|
|
@@ -290,11 +289,11 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
290
289
|
]),
|
|
291
290
|
_: 2
|
|
292
291
|
}, 1032, ["class"])
|
|
293
|
-
], 8,
|
|
292
|
+
], 8, W))), 128)) : t("", !0)
|
|
294
293
|
], 2)) : t("", !0)
|
|
295
294
|
], 2)),
|
|
296
|
-
n("div",
|
|
297
|
-
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), y(
|
|
295
|
+
n("div", K, [
|
|
296
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), y(D, {
|
|
298
297
|
key: 0,
|
|
299
298
|
modelValue: e.actionMenuOpen,
|
|
300
299
|
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
@@ -314,7 +313,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
314
313
|
})
|
|
315
314
|
]),
|
|
316
315
|
content: d(() => [
|
|
317
|
-
n("ul",
|
|
316
|
+
n("ul", j, [
|
|
318
317
|
e.showActionsLink ? (l(), i("li", {
|
|
319
318
|
key: 0,
|
|
320
319
|
class: u([
|
|
@@ -334,7 +333,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
334
333
|
size: "md",
|
|
335
334
|
type: ""
|
|
336
335
|
}),
|
|
337
|
-
n("div",
|
|
336
|
+
n("div", F, a(e.$t("HC_ACTION")), 1)
|
|
338
337
|
], 2)) : t("", !0),
|
|
339
338
|
!e.hasGuestCallback && e.showGuestCallback ? (l(), i("li", {
|
|
340
339
|
key: 1,
|
|
@@ -356,7 +355,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
356
355
|
size: "md",
|
|
357
356
|
type: "fill"
|
|
358
357
|
}),
|
|
359
|
-
n("div",
|
|
358
|
+
n("div", Z, a(e.$t(
|
|
360
359
|
"HC_GUEST_SATISFACTION_CALL"
|
|
361
360
|
)), 1)
|
|
362
361
|
], 2)) : t("", !0),
|
|
@@ -380,7 +379,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
380
379
|
size: "md",
|
|
381
380
|
type: "fill"
|
|
382
381
|
}),
|
|
383
|
-
n("div",
|
|
382
|
+
n("div", Q, a(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
384
383
|
], 2)) : t("", !0),
|
|
385
384
|
e.showGuestDetails ? (l(), i("li", {
|
|
386
385
|
key: 3,
|
|
@@ -401,13 +400,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
401
400
|
size: "md",
|
|
402
401
|
type: ""
|
|
403
402
|
}),
|
|
404
|
-
n("div",
|
|
403
|
+
n("div", J, a(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
405
404
|
], 2)) : t("", !0)
|
|
406
405
|
])
|
|
407
406
|
]),
|
|
408
407
|
_: 1
|
|
409
408
|
}, 8, ["modelValue"])) : t("", !0),
|
|
410
|
-
n("div",
|
|
409
|
+
n("div", X, [
|
|
411
410
|
r(f, null, {
|
|
412
411
|
trigger: d(() => [
|
|
413
412
|
r(p, {
|
|
@@ -426,7 +425,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
426
425
|
])
|
|
427
426
|
])
|
|
428
427
|
]),
|
|
429
|
-
e.loading.pms && e.size === "sm" ? (l(), i("div",
|
|
428
|
+
e.loading.pms && e.size === "sm" ? (l(), i("div", _)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (l(), i("div", x, [
|
|
430
429
|
e.occupied ? (l(), y(p, {
|
|
431
430
|
key: 0,
|
|
432
431
|
icon: "user",
|
|
@@ -434,15 +433,15 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
434
433
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
435
434
|
size: "sm"
|
|
436
435
|
}, null, 8, ["color"])) : t("", !0),
|
|
437
|
-
e.cleanliness ? (l(), y(p, {
|
|
436
|
+
e.cleanliness === "DIRTY" ? (l(), y(p, {
|
|
438
437
|
key: 1,
|
|
439
438
|
icon: "spray-bottle",
|
|
440
439
|
type: "fill",
|
|
441
|
-
color:
|
|
440
|
+
color: "red-10",
|
|
442
441
|
size: "sm"
|
|
443
|
-
}
|
|
442
|
+
})) : t("", !0)
|
|
444
443
|
])) : t("", !0),
|
|
445
|
-
e.loading.roomNotices ? (l(), i("div",
|
|
444
|
+
e.loading.roomNotices ? (l(), i("div", ee)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), i("div", oe, [
|
|
446
445
|
(l(!0), i(h, null, q(e.tagsList, (o) => (l(), i("a", {
|
|
447
446
|
key: o,
|
|
448
447
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
@@ -473,7 +472,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
473
472
|
]),
|
|
474
473
|
_: 2
|
|
475
474
|
}, 1024)
|
|
476
|
-
], 8,
|
|
475
|
+
], 8, se))), 128))
|
|
477
476
|
])) : t("", !0),
|
|
478
477
|
n("div", {
|
|
479
478
|
class: u(["accordions", { closed: e.showCreateRequest }])
|
|
@@ -490,7 +489,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
490
489
|
class: "flex items-center cursor-pointer",
|
|
491
490
|
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
492
491
|
}, [
|
|
493
|
-
n("div",
|
|
492
|
+
n("div", le, a(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
494
493
|
r(b, { class: "grow" }),
|
|
495
494
|
r(p, {
|
|
496
495
|
class: u([
|
|
@@ -504,8 +503,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
504
503
|
])
|
|
505
504
|
]),
|
|
506
505
|
content: d(() => [
|
|
507
|
-
e.loading.pms ? (l(), i("div",
|
|
508
|
-
e.roomDetailsData.reservations[0].guestName ? (l(), i("p",
|
|
506
|
+
e.loading.pms ? (l(), i("div", ie)) : (l(), i("div", te, [
|
|
507
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), i("p", re, [
|
|
509
508
|
n("strong", null, a(e.roomDetailsData.reservations[0].guestName), 1)
|
|
510
509
|
])) : t("", !0),
|
|
511
510
|
n("div", {
|
|
@@ -514,13 +513,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
514
513
|
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
515
514
|
])
|
|
516
515
|
}, [
|
|
517
|
-
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), i("div",
|
|
518
|
-
n("div",
|
|
519
|
-
n("div",
|
|
516
|
+
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), i("div", ne, [
|
|
517
|
+
n("div", ae, a(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
518
|
+
n("div", de, a(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
520
519
|
])) : t("", !0),
|
|
521
|
-
e.stayDetails ? (l(), i("div",
|
|
522
|
-
n("div",
|
|
523
|
-
n("div",
|
|
520
|
+
e.stayDetails ? (l(), i("div", ue, [
|
|
521
|
+
n("div", pe, a(e.$t("HC_STAY")) + ": ", 1),
|
|
522
|
+
n("div", me, a(e.stayDetails), 1)
|
|
524
523
|
])) : t("", !0)
|
|
525
524
|
], 2)
|
|
526
525
|
]))
|
|
@@ -539,7 +538,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
539
538
|
class: "flex items-center cursor-pointer",
|
|
540
539
|
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
541
540
|
}, [
|
|
542
|
-
n("div",
|
|
541
|
+
n("div", ge, a(e.$t("HC_OPEN_TICKETS")), 1),
|
|
543
542
|
r(b, { class: "grow" }),
|
|
544
543
|
r(p, {
|
|
545
544
|
class: u([
|
|
@@ -553,7 +552,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
553
552
|
])
|
|
554
553
|
]),
|
|
555
554
|
content: d(() => [
|
|
556
|
-
e.loading.tickets ? (l(), i("div",
|
|
555
|
+
e.loading.tickets ? (l(), i("div", ye)) : e.ticketsList.length ? (l(), i("ul", ke, [
|
|
557
556
|
(l(!0), i(h, null, q(e.ticketsList, (o, c) => (l(), i("li", {
|
|
558
557
|
key: o.id,
|
|
559
558
|
id: `open-ticket-${o.id}`
|
|
@@ -571,10 +570,10 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
571
570
|
o.started?.dateUtc
|
|
572
571
|
),
|
|
573
572
|
type: o.type,
|
|
574
|
-
onClick: (
|
|
573
|
+
onClick: (Vo) => e.onClickTicket(o)
|
|
575
574
|
}, null, 8, ["class", "text", "time", "type", "onClick"])
|
|
576
|
-
], 8,
|
|
577
|
-
])) : (l(), i("p",
|
|
575
|
+
], 8, he))), 128))
|
|
576
|
+
])) : (l(), i("p", ve, a(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
|
|
578
577
|
]),
|
|
579
578
|
_: 1
|
|
580
579
|
}, 8, ["modelValue"])) : t("", !0),
|
|
@@ -590,7 +589,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
590
589
|
class: "flex items-center cursor-pointer",
|
|
591
590
|
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
592
591
|
}, [
|
|
593
|
-
n("div",
|
|
592
|
+
n("div", we, a(e.$t("HC_GUEST_CONNECT")), 1),
|
|
594
593
|
r(b, { class: "grow" }),
|
|
595
594
|
r(p, {
|
|
596
595
|
class: u([
|
|
@@ -617,7 +616,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
617
616
|
}
|
|
618
617
|
])
|
|
619
618
|
}, [
|
|
620
|
-
e.filteredReplies.length ? (l(), i("div",
|
|
619
|
+
e.filteredReplies.length ? (l(), i("div", fe, [
|
|
621
620
|
(l(!0), i(h, null, q(e.filteredReplies, (o) => (l(), i("div", {
|
|
622
621
|
key: o,
|
|
623
622
|
class: u([
|
|
@@ -627,12 +626,12 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
627
626
|
onClick: (c) => e.onSelectQuickReply(o)
|
|
628
627
|
}, [
|
|
629
628
|
n("div", null, a(o), 1)
|
|
630
|
-
], 10,
|
|
631
|
-
])) : (l(), i("div",
|
|
629
|
+
], 10, qe))), 128))
|
|
630
|
+
])) : (l(), i("div", be, a(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + a(e.comment) + '". ', 1))
|
|
632
631
|
], 2),
|
|
633
|
-
n("div",
|
|
634
|
-
n("div",
|
|
635
|
-
e.loading.messages ? (l(), i("div",
|
|
632
|
+
n("div", Te, [
|
|
633
|
+
n("div", Ce, [
|
|
634
|
+
e.loading.messages ? (l(), i("div", ce, [...s[55] || (s[55] = [
|
|
636
635
|
n("div", { class: "flex gap-2 items-end" }, [
|
|
637
636
|
n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" }),
|
|
638
637
|
n("div", { class: "animate-shimmer bg-gray-10 h-12 w-3/4 rounded-lg" })
|
|
@@ -646,8 +645,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
646
645
|
n("div", { class: "animate-shimmer bg-gray-10 h-8 w-1/2 rounded-lg" })
|
|
647
646
|
], -1)
|
|
648
647
|
])])) : (l(!0), i(h, { key: 1 }, q(e.groupedMessages, (o, c) => (l(), i(h, { key: c }, [
|
|
649
|
-
o.type === "separator" ? (l(), i("div",
|
|
650
|
-
n("span",
|
|
648
|
+
o.type === "separator" ? (l(), i("div", Oe, [
|
|
649
|
+
n("span", Ee, a(o.label), 1)
|
|
651
650
|
])) : (l(), i("div", {
|
|
652
651
|
key: 1,
|
|
653
652
|
class: u([
|
|
@@ -658,10 +657,10 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
658
657
|
}
|
|
659
658
|
])
|
|
660
659
|
}, [
|
|
661
|
-
o.isGuestMessage ? (l(), i("div",
|
|
660
|
+
o.isGuestMessage ? (l(), i("div", $e, [
|
|
662
661
|
r(f, { position: "top" }, {
|
|
663
662
|
trigger: d(() => [
|
|
664
|
-
r(
|
|
663
|
+
r(S, {
|
|
665
664
|
initials: o.user?.initials || "?",
|
|
666
665
|
src: o.user?.src || "",
|
|
667
666
|
size: "sm"
|
|
@@ -674,11 +673,11 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
674
673
|
}, 1024)
|
|
675
674
|
])) : t("", !0),
|
|
676
675
|
n("div", De, [
|
|
677
|
-
n("div",
|
|
676
|
+
n("div", Se, a(o.formattedTime), 1),
|
|
678
677
|
n("div", He, a(o.comment), 1)
|
|
679
678
|
]),
|
|
680
|
-
o.isStaffMessage ? (l(), i("div",
|
|
681
|
-
r(
|
|
679
|
+
o.isStaffMessage ? (l(), i("div", Ve, [
|
|
680
|
+
r(S, { size: "sm" }, {
|
|
682
681
|
default: d(() => [
|
|
683
682
|
r(p, {
|
|
684
683
|
icon: "building",
|
|
@@ -692,10 +691,10 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
692
691
|
])) : t("", !0)
|
|
693
692
|
], 2))
|
|
694
693
|
], 64))), 128)),
|
|
695
|
-
!e.loading.messages && !e.groupedMessages.length ? (l(), i("div",
|
|
694
|
+
!e.loading.messages && !e.groupedMessages.length ? (l(), i("div", Me, a(e.$t("HC_NO_MESSAGES_YET")), 1)) : t("", !0)
|
|
696
695
|
]),
|
|
697
|
-
e.isTestEnvironment && e.simulateOpen ? (l(), i("div",
|
|
698
|
-
n("div",
|
|
696
|
+
e.isTestEnvironment && e.simulateOpen ? (l(), i("div", Ne, [
|
|
697
|
+
n("div", Ue, [
|
|
699
698
|
s[56] || (s[56] = n("span", { class: "simulate-badge" }, "TEST", -1)),
|
|
700
699
|
n("span", null, a(e.$t("HC_SIMULATE_GUEST_REPLY")), 1),
|
|
701
700
|
r(p, {
|
|
@@ -714,7 +713,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
714
713
|
"textarea-class": "text-sm border-gray-12 w-full",
|
|
715
714
|
"control-class": "w-full",
|
|
716
715
|
rows: 2,
|
|
717
|
-
onKeydown:
|
|
716
|
+
onKeydown: H(E(e.simulateGuestReply, ["prevent"]), ["enter"])
|
|
718
717
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
719
718
|
n("div", Ie, [
|
|
720
719
|
r(T, {
|
|
@@ -732,8 +731,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
732
731
|
])
|
|
733
732
|
])
|
|
734
733
|
])) : t("", !0),
|
|
735
|
-
n("div",
|
|
736
|
-
n("div",
|
|
734
|
+
n("div", Ae, [
|
|
735
|
+
n("div", Ge, [
|
|
737
736
|
e.messages.length > 0 ? (l(), i("div", {
|
|
738
737
|
key: 0,
|
|
739
738
|
class: u([
|
|
@@ -744,7 +743,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
744
743
|
]),
|
|
745
744
|
onClick: s[16] || (s[16] = (o) => !e.loading.conversationToggle && e.toggleMarkOpenClose())
|
|
746
745
|
}, [
|
|
747
|
-
e.loading.conversationToggle ? (l(), i("span",
|
|
746
|
+
e.loading.conversationToggle ? (l(), i("span", Le, "...")) : (l(), i(h, { key: 1 }, [
|
|
748
747
|
k(a(e.$t(
|
|
749
748
|
e.isConversationOpen ? "HC_CLOSE" : "HC_OPEN"
|
|
750
749
|
)), 1)
|
|
@@ -761,7 +760,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
761
760
|
style: { color: "#e67e22" },
|
|
762
761
|
onClick: s[17] || (s[17] = (...o) => e.toggleSimulateOpen && e.toggleSimulateOpen(...o))
|
|
763
762
|
}, a(e.$t("HC_SIMULATE")), 3)) : t("", !0),
|
|
764
|
-
n("div",
|
|
763
|
+
n("div", ze, [
|
|
765
764
|
r(v, {
|
|
766
765
|
id: "comment-field",
|
|
767
766
|
modelValue: e.comment,
|
|
@@ -771,13 +770,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
771
770
|
rows: 1,
|
|
772
771
|
"control-class": "w-full",
|
|
773
772
|
"floating-label": "",
|
|
774
|
-
onKeydown:
|
|
773
|
+
onKeydown: H(e.sendChatMessage, ["enter"])
|
|
775
774
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
776
775
|
n("div", {
|
|
777
776
|
id: "hidden-text",
|
|
778
777
|
class: "text-sm",
|
|
779
778
|
innerHTML: e.comment
|
|
780
|
-
}, null, 8,
|
|
779
|
+
}, null, 8, Ye),
|
|
781
780
|
r(p, {
|
|
782
781
|
id: "quick-reply-trigger",
|
|
783
782
|
icon: "comment-lines",
|
|
@@ -826,8 +825,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
826
825
|
color: "inkwell-30"
|
|
827
826
|
}, {
|
|
828
827
|
default: d(() => [
|
|
829
|
-
n("div",
|
|
830
|
-
n("div",
|
|
828
|
+
n("div", Pe, [
|
|
829
|
+
n("div", Be, a(e.$t("HC_ACTION")), 1)
|
|
831
830
|
])
|
|
832
831
|
]),
|
|
833
832
|
_: 1
|
|
@@ -836,9 +835,9 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
836
835
|
class: "flex flex-col",
|
|
837
836
|
onSubmit: s[51] || (s[51] = E((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
838
837
|
}, [
|
|
839
|
-
e.showCreateRequest ? (l(), i("div",
|
|
840
|
-
n("div",
|
|
841
|
-
n("div",
|
|
838
|
+
e.showCreateRequest ? (l(), i("div", We, [
|
|
839
|
+
n("div", Ke, [
|
|
840
|
+
n("div", je, [
|
|
842
841
|
r(m, {
|
|
843
842
|
id: "todo-type",
|
|
844
843
|
"model-value": e.requestType,
|
|
@@ -849,7 +848,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
849
848
|
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.onSelectToDo(o))
|
|
850
849
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
851
850
|
]),
|
|
852
|
-
e.requestType && e.requestType.id === "room_notice" ? (l(), i("div",
|
|
851
|
+
e.requestType && e.requestType.id === "room_notice" ? (l(), i("div", Fe, [
|
|
853
852
|
r(m, {
|
|
854
853
|
id: "todo-notice-issue",
|
|
855
854
|
"model-value": e.roomNotice.issue,
|
|
@@ -862,7 +861,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
862
861
|
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.issue = o)
|
|
863
862
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
864
863
|
])) : t("", !0),
|
|
865
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div",
|
|
864
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Ze, [
|
|
866
865
|
r(w, {
|
|
867
866
|
id: "todo-notice-start-date",
|
|
868
867
|
"model-value": e.roomNotice.startDate,
|
|
@@ -880,7 +879,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
880
879
|
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.roomNotice.startDate = o)
|
|
881
880
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
882
881
|
])) : t("", !0),
|
|
883
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div",
|
|
882
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Qe, [
|
|
884
883
|
r(w, {
|
|
885
884
|
id: "todo-notice-end-date",
|
|
886
885
|
"model-value": e.roomNotice.endDate,
|
|
@@ -899,7 +898,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
899
898
|
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.roomNotice.endDate = o)
|
|
900
899
|
}, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
901
900
|
])) : t("", !0),
|
|
902
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div",
|
|
901
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Je, [
|
|
903
902
|
r(v, {
|
|
904
903
|
id: "todo-notice-notes",
|
|
905
904
|
modelValue: e.roomNotice.notes,
|
|
@@ -911,7 +910,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
911
910
|
"floating-label": ""
|
|
912
911
|
}, null, 8, ["modelValue", "placeholder"])
|
|
913
912
|
])) : t("", !0),
|
|
914
|
-
e.requestType && e.requestType.id === "complaint" ? (l(), i("div",
|
|
913
|
+
e.requestType && e.requestType.id === "complaint" ? (l(), i("div", Xe, [
|
|
915
914
|
r(m, {
|
|
916
915
|
id: "todo-complaint-problem",
|
|
917
916
|
"model-value": e.complaint.problem,
|
|
@@ -925,7 +924,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
925
924
|
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.problem = o)
|
|
926
925
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
927
926
|
])) : t("", !0),
|
|
928
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
927
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", _e, [
|
|
929
928
|
r(C, {
|
|
930
929
|
id: "guest-name",
|
|
931
930
|
modelValue: e.complaint.guestName,
|
|
@@ -937,7 +936,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
937
936
|
required: ""
|
|
938
937
|
}, null, 8, ["modelValue", "placeholder"])
|
|
939
938
|
])) : t("", !0),
|
|
940
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
939
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", xe, [
|
|
941
940
|
r(C, {
|
|
942
941
|
id: "guest-phone",
|
|
943
942
|
modelValue: e.complaint.guestPhone,
|
|
@@ -947,7 +946,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
947
946
|
"floating-label": ""
|
|
948
947
|
}, null, 8, ["modelValue", "placeholder"])
|
|
949
948
|
])) : t("", !0),
|
|
950
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
949
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", eo, [
|
|
951
950
|
r(C, {
|
|
952
951
|
id: "guest-email",
|
|
953
952
|
modelValue: e.complaint.guestEmail,
|
|
@@ -957,7 +956,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
957
956
|
"floating-label": ""
|
|
958
957
|
}, null, 8, ["modelValue", "placeholder"])
|
|
959
958
|
])) : t("", !0),
|
|
960
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
959
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", oo, [
|
|
961
960
|
r(C, {
|
|
962
961
|
id: "guest-loyalty",
|
|
963
962
|
modelValue: e.complaint.guestLoyalty,
|
|
@@ -967,7 +966,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
967
966
|
"floating-label": ""
|
|
968
967
|
}, null, 8, ["modelValue", "placeholder"])
|
|
969
968
|
])) : t("", !0),
|
|
970
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
969
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", so, [
|
|
971
970
|
r(m, {
|
|
972
971
|
id: "todo-complaint-mood",
|
|
973
972
|
"model-value": e.complaint.guestMood,
|
|
@@ -979,7 +978,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
979
978
|
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.guestMood = o)
|
|
980
979
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
981
980
|
])) : t("", !0),
|
|
982
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
981
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", lo, [
|
|
983
982
|
r(w, {
|
|
984
983
|
id: "todo-complaint-check-in",
|
|
985
984
|
"model-value": e.complaint.checkInDate,
|
|
@@ -997,7 +996,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
997
996
|
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.complaint.checkInDate = o)
|
|
998
997
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
999
998
|
])) : t("", !0),
|
|
1000
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
999
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", io, [
|
|
1001
1000
|
r(w, {
|
|
1002
1001
|
id: "todo-complaint-check-out",
|
|
1003
1002
|
"model-value": e.complaint.checkOutDate,
|
|
@@ -1016,7 +1015,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1016
1015
|
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.complaint.checkOutDate = o)
|
|
1017
1016
|
}, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
1018
1017
|
])) : t("", !0),
|
|
1019
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
1018
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", to, [
|
|
1020
1019
|
r(v, {
|
|
1021
1020
|
id: "todo-complaint-notes",
|
|
1022
1021
|
modelValue: e.complaint.notes,
|
|
@@ -1028,7 +1027,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1028
1027
|
"floating-label": ""
|
|
1029
1028
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1030
1029
|
])) : t("", !0),
|
|
1031
|
-
e.requestType && e.requestType.id === "work_order" ? (l(), i("div",
|
|
1030
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), i("div", ro, [
|
|
1032
1031
|
r(m, {
|
|
1033
1032
|
id: "todo-work-order-item",
|
|
1034
1033
|
"model-value": e.workOrder.item,
|
|
@@ -1044,7 +1043,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1044
1043
|
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.item = o)
|
|
1045
1044
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
1046
1045
|
])) : t("", !0),
|
|
1047
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), i("div",
|
|
1046
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), i("div", no, [
|
|
1048
1047
|
r(m, {
|
|
1049
1048
|
id: "todo-work-order-issue",
|
|
1050
1049
|
"model-value": e.workOrder.issue,
|
|
@@ -1056,7 +1055,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1056
1055
|
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.issue = o)
|
|
1057
1056
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1058
1057
|
])) : t("", !0),
|
|
1059
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1058
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", ao, [
|
|
1060
1059
|
r(m, {
|
|
1061
1060
|
id: "todo-work-order-requested-by",
|
|
1062
1061
|
"model-value": e.workOrder.requestedBy,
|
|
@@ -1067,7 +1066,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1067
1066
|
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.requestedBy = o)
|
|
1068
1067
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1069
1068
|
])) : t("", !0),
|
|
1070
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1069
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", uo, [
|
|
1071
1070
|
r(m, {
|
|
1072
1071
|
id: "todo-work-order-assign-type",
|
|
1073
1072
|
"model-value": e.workOrder.assignType,
|
|
@@ -1078,7 +1077,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1078
1077
|
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.assignType = o)
|
|
1079
1078
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1080
1079
|
])) : t("", !0),
|
|
1081
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1080
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", po, [
|
|
1082
1081
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (l(), y(m, {
|
|
1083
1082
|
key: 0,
|
|
1084
1083
|
id: "todo-work-order-assign-to",
|
|
@@ -1105,7 +1104,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1105
1104
|
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.workOrder.person = o)
|
|
1106
1105
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
|
|
1107
1106
|
])) : t("", !0),
|
|
1108
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1107
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", mo, [
|
|
1109
1108
|
r(w, {
|
|
1110
1109
|
id: "todo-work-order-due",
|
|
1111
1110
|
"model-value": e.workOrder.due,
|
|
@@ -1123,7 +1122,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1123
1122
|
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.workOrder.due = o)
|
|
1124
1123
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
1125
1124
|
])) : t("", !0),
|
|
1126
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1125
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", go, [
|
|
1127
1126
|
r(v, {
|
|
1128
1127
|
id: "todo-work-order-notes",
|
|
1129
1128
|
modelValue: e.workOrder.notes,
|
|
@@ -1135,7 +1134,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1135
1134
|
"floating-label": ""
|
|
1136
1135
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1137
1136
|
])) : t("", !0),
|
|
1138
|
-
e.requestType && e.requestType.id === "request" ? (l(), i("div",
|
|
1137
|
+
e.requestType && e.requestType.id === "request" ? (l(), i("div", yo, [
|
|
1139
1138
|
r(m, {
|
|
1140
1139
|
id: "todo-request-item",
|
|
1141
1140
|
"model-value": e.request.item,
|
|
@@ -1148,7 +1147,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1148
1147
|
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.item = o)
|
|
1149
1148
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
1150
1149
|
])) : t("", !0),
|
|
1151
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1150
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", ko, [
|
|
1152
1151
|
r(m, {
|
|
1153
1152
|
id: "todo-request-requested-by",
|
|
1154
1153
|
"model-value": e.request.requestedBy,
|
|
@@ -1159,7 +1158,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1159
1158
|
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.requestedBy = o)
|
|
1160
1159
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1161
1160
|
])) : t("", !0),
|
|
1162
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1161
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", ho, [
|
|
1163
1162
|
r(w, {
|
|
1164
1163
|
id: "todo-request-due",
|
|
1165
1164
|
"model-value": e.request.due,
|
|
@@ -1177,7 +1176,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1177
1176
|
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.due = o)
|
|
1178
1177
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
1179
1178
|
])) : t("", !0),
|
|
1180
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1179
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", vo, [
|
|
1181
1180
|
r(m, {
|
|
1182
1181
|
id: "todo-request-assign-type",
|
|
1183
1182
|
"model-value": e.request.assignType,
|
|
@@ -1188,7 +1187,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1188
1187
|
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.assignType = o)
|
|
1189
1188
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1190
1189
|
])) : t("", !0),
|
|
1191
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1190
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", wo, [
|
|
1192
1191
|
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), y(m, {
|
|
1193
1192
|
key: 0,
|
|
1194
1193
|
id: "todo-request-assign-to",
|
|
@@ -1215,7 +1214,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1215
1214
|
"onUpdate:modelValue": s[47] || (s[47] = (o) => e.request.person = o)
|
|
1216
1215
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
|
|
1217
1216
|
])) : t("", !0),
|
|
1218
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div",
|
|
1217
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div", fo, [
|
|
1219
1218
|
r(m, {
|
|
1220
1219
|
id: "todo-request-when",
|
|
1221
1220
|
"model-value": e.request.when,
|
|
@@ -1226,7 +1225,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1226
1225
|
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.request.when = o)
|
|
1227
1226
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1228
1227
|
])) : t("", !0),
|
|
1229
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div",
|
|
1228
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div", qo, [
|
|
1230
1229
|
r(m, {
|
|
1231
1230
|
id: "todo-request-where",
|
|
1232
1231
|
"model-value": e.request.where,
|
|
@@ -1237,7 +1236,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1237
1236
|
"onUpdate:modelValue": s[49] || (s[49] = (o) => e.request.where = o)
|
|
1238
1237
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1239
1238
|
])) : t("", !0),
|
|
1240
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1239
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", bo, [
|
|
1241
1240
|
r(v, {
|
|
1242
1241
|
id: "todo-request-notes",
|
|
1243
1242
|
modelValue: e.request.notes,
|
|
@@ -1251,7 +1250,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1251
1250
|
])) : t("", !0)
|
|
1252
1251
|
])
|
|
1253
1252
|
])) : t("", !0),
|
|
1254
|
-
n("div",
|
|
1253
|
+
n("div", To, [
|
|
1255
1254
|
r(T, {
|
|
1256
1255
|
status: "secondary",
|
|
1257
1256
|
onClick: E(e.closeRequest, ["prevent"])
|
|
@@ -1275,7 +1274,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1275
1274
|
])
|
|
1276
1275
|
], 32)
|
|
1277
1276
|
], 2),
|
|
1278
|
-
e.loading.pms ? (l(), i("div",
|
|
1277
|
+
e.loading.pms ? (l(), i("div", Co)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), i("div", co, [
|
|
1279
1278
|
r(p, {
|
|
1280
1279
|
class: "flex-shrink-1 mr-2",
|
|
1281
1280
|
size: "sm",
|
|
@@ -1283,7 +1282,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1283
1282
|
icon: "clock-alarm",
|
|
1284
1283
|
type: "outline"
|
|
1285
1284
|
}),
|
|
1286
|
-
n("p",
|
|
1285
|
+
n("p", Oo, a(e.$t("HC_PMS_UPDATED")) + " " + a(e.DateTime.fromISO(
|
|
1287
1286
|
e.roomDetailsData.updatedAt
|
|
1288
1287
|
).toRelative({ locale: e.locale })), 1)
|
|
1289
1288
|
])) : t("", !0)
|
|
@@ -1291,9 +1290,9 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1291
1290
|
]),
|
|
1292
1291
|
_: 3
|
|
1293
1292
|
}, 8, ["model-value", "align", "position", "size", "teleport", "teleport-to", "close-on-scroll-out-of-view", "scroll-into-view", "scroll-into-view-padding"])
|
|
1294
|
-
], 40,
|
|
1293
|
+
], 40, A)) : t("", !0);
|
|
1295
1294
|
}
|
|
1296
|
-
const Io = /* @__PURE__ */
|
|
1295
|
+
const Io = /* @__PURE__ */ I(N, [["render", Eo]]);
|
|
1297
1296
|
export {
|
|
1298
1297
|
Io as default
|
|
1299
1298
|
};
|