@quoreadmin/ui 1.7.17 → 1.7.19
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 +248 -253
- 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/index190.js +17 -17
- package/dist/index191.js +28 -28
- package/dist/index192.js +2 -2
- package/dist/index193.js +2 -2
- package/dist/index194.js +1 -1
- package/dist/index196.js +2 -2
- package/dist/index198.js +14 -14
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +3 -3
- package/dist/index202.js +6 -6
- package/dist/index206.js +2 -2
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +4 -4
- package/dist/index213.js +4 -4
- package/dist/index216.js +1 -1
- package/dist/index217.js +106 -67
- package/dist/index218.js +26 -395
- package/dist/index219.js +406 -21
- package/dist/index220.js +80 -161
- package/dist/index221.js +20 -228
- package/dist/index222.js +82 -31
- package/dist/index223.js +20 -10
- package/dist/index224.js +19 -126
- package/dist/index225.js +16 -34
- package/dist/index226.js +20 -80
- package/dist/index227.js +22 -20
- package/dist/index228.js +160 -19
- package/dist/index229.js +11 -11
- package/dist/index230.js +15 -13
- package/dist/index231.js +198 -19
- package/dist/index232.js +49 -140
- package/dist/index233.js +34 -20
- package/dist/index234.js +39 -21
- package/dist/index235.js +156 -194
- package/dist/index236.js +224 -66
- package/dist/index237.js +37 -34
- package/dist/index238.js +9 -39
- package/dist/index239.js +3632 -22
- package/dist/index240.js +55 -22
- package/dist/index241.js +77 -20
- package/dist/index242.js +39 -823
- package/dist/index243.js +198 -685
- package/dist/index244.js +9 -175
- package/dist/index245.js +57 -22
- package/dist/index246.js +61 -20
- package/dist/index247.js +54 -20
- package/dist/index248.js +75 -3
- package/dist/index249.js +707 -171
- package/dist/index250.js +34 -128
- package/dist/index251.js +55 -1214
- package/dist/index252.js +11 -20
- package/dist/index253.js +705 -22
- package/dist/index254.js +820 -22
- package/dist/index255.js +15 -22
- package/dist/index256.js +15 -13
- package/dist/index257.js +12 -12
- package/dist/index258.js +836 -2
- package/dist/index259.js +702 -2
- package/dist/index260.js +170 -3626
- package/dist/index261.js +22 -55
- package/dist/index262.js +20 -77
- package/dist/index263.js +20 -52
- package/dist/index264.js +3 -215
- package/dist/index265.js +187 -10
- package/dist/index266.js +128 -52
- package/dist/index267.js +1214 -52
- package/dist/index268.js +20 -54
- package/dist/index269.js +22 -75
- package/dist/index270.js +21 -722
- package/dist/index271.js +29 -39
- package/dist/index272.js +20 -64
- package/dist/index273.js +20 -11
- package/dist/index274.js +2 -705
- package/dist/index275.js +2 -820
- package/dist/index280.js +2 -3
- package/dist/index281.js +77 -25
- package/dist/index282.js +54 -2
- package/dist/index283.js +25 -78
- package/dist/index284.js +21 -53
- package/dist/index285.js +13 -17
- package/dist/index286.js +16 -22
- package/dist/index287.js +17 -22
- package/dist/index288.js +22 -15
- package/dist/index289.js +261 -16
- package/dist/index290.js +6 -23
- package/dist/index291.js +133 -228
- package/dist/index292.js +71 -4
- package/dist/index293.js +77 -124
- package/dist/index294.js +26 -65
- package/dist/index295.js +13 -84
- package/dist/index296.js +72 -26
- package/dist/index297.js +3 -8
- package/dist/index298.js +2 -75
- package/dist/index299.js +82 -3
- package/dist/index300.js +53 -2
- package/dist/index301.js +5 -82
- package/dist/index302.js +4 -53
- package/dist/index303.js +178 -5
- package/dist/index304.js +62 -4
- package/dist/index305.js +74 -178
- 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 +13 -3768
- package/dist/index313.js +79 -55
- package/dist/index314.js +196 -73
- package/dist/index315.js +246 -22
- package/dist/index316.js +3 -935
- package/dist/index317.js +26 -21
- package/dist/index318.js +78 -19
- package/dist/index319.js +15 -13
- package/dist/index320.js +930 -64
- package/dist/index321.js +21 -18
- package/dist/index322.js +20 -19
- package/dist/index323.js +11 -13
- package/dist/index324.js +68 -21
- package/dist/index325.js +16 -60
- package/dist/index326.js +19 -15
- package/dist/index327.js +21 -83
- package/dist/index328.js +22 -202
- package/dist/index329.js +63 -246
- 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 +9 -2
- package/dist/index344.js +13 -11
- package/dist/index345.js +51 -16
- package/dist/index346.js +11 -16
- package/dist/index347.js +14 -10
- package/dist/index348.js +58 -10
- package/dist/index349.js +52 -2
- package/dist/index350.js +31 -9
- package/dist/index351.js +2 -10
- package/dist/index352.js +4 -13
- package/dist/index353.js +2 -37
- package/dist/index354.js +23 -21
- package/dist/index355.js +40 -55
- package/dist/index356.js +2 -29
- package/dist/index357.js +11 -7
- package/dist/index358.js +17 -49
- package/dist/index359.js +16 -5
- package/dist/index360.js +10 -12
- package/dist/index361.js +9 -6
- package/dist/index362.js +2 -28
- package/dist/index363.js +9 -2
- package/dist/index364.js +10 -70
- package/dist/index365.js +12 -165
- package/dist/index366.js +1 -1
- package/dist/index367.js +1 -1
- package/dist/index368.js +2 -2
- 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/index382.js +97 -16
- package/dist/index385.js +16 -97
- package/dist/index391.js +1 -1
- package/dist/index392.js +2 -2
- package/dist/index43.js +172 -166
- 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,8 +241,9 @@ 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
|
-
|
|
245
|
-
|
|
244
|
+
width: "18",
|
|
245
|
+
height: "18",
|
|
246
|
+
"custom-size": ""
|
|
246
247
|
}, null, 8, ["color"])
|
|
247
248
|
]),
|
|
248
249
|
content: d(() => [
|
|
@@ -250,7 +251,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
250
251
|
]),
|
|
251
252
|
_: 1
|
|
252
253
|
})) : t("", !0),
|
|
253
|
-
e.cleanliness ? (l(), y(f, {
|
|
254
|
+
e.cleanliness === "DIRTY" ? (l(), y(f, {
|
|
254
255
|
key: 1,
|
|
255
256
|
class: "flex shrink-0 items-center"
|
|
256
257
|
}, {
|
|
@@ -258,13 +259,15 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
258
259
|
r(p, {
|
|
259
260
|
icon: "spray-bottle",
|
|
260
261
|
type: "fill",
|
|
261
|
-
color:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
262
|
+
color: "red-10",
|
|
263
|
+
class: "mt-[0.0612rem]",
|
|
264
|
+
width: "18",
|
|
265
|
+
height: "18",
|
|
266
|
+
"custom-size": ""
|
|
267
|
+
})
|
|
265
268
|
]),
|
|
266
269
|
content: d(() => [
|
|
267
|
-
|
|
270
|
+
k(a(e.$t("HC_DIRTY")), 1)
|
|
268
271
|
]),
|
|
269
272
|
_: 1
|
|
270
273
|
})) : t("", !0),
|
|
@@ -290,11 +293,11 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
290
293
|
]),
|
|
291
294
|
_: 2
|
|
292
295
|
}, 1032, ["class"])
|
|
293
|
-
], 8,
|
|
296
|
+
], 8, W))), 128)) : t("", !0)
|
|
294
297
|
], 2)) : t("", !0)
|
|
295
298
|
], 2)),
|
|
296
|
-
n("div",
|
|
297
|
-
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), y(
|
|
299
|
+
n("div", K, [
|
|
300
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), y(D, {
|
|
298
301
|
key: 0,
|
|
299
302
|
modelValue: e.actionMenuOpen,
|
|
300
303
|
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
@@ -314,7 +317,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
314
317
|
})
|
|
315
318
|
]),
|
|
316
319
|
content: d(() => [
|
|
317
|
-
n("ul",
|
|
320
|
+
n("ul", j, [
|
|
318
321
|
e.showActionsLink ? (l(), i("li", {
|
|
319
322
|
key: 0,
|
|
320
323
|
class: u([
|
|
@@ -334,7 +337,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
334
337
|
size: "md",
|
|
335
338
|
type: ""
|
|
336
339
|
}),
|
|
337
|
-
n("div",
|
|
340
|
+
n("div", F, a(e.$t("HC_ACTION")), 1)
|
|
338
341
|
], 2)) : t("", !0),
|
|
339
342
|
!e.hasGuestCallback && e.showGuestCallback ? (l(), i("li", {
|
|
340
343
|
key: 1,
|
|
@@ -356,7 +359,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
356
359
|
size: "md",
|
|
357
360
|
type: "fill"
|
|
358
361
|
}),
|
|
359
|
-
n("div",
|
|
362
|
+
n("div", Z, a(e.$t(
|
|
360
363
|
"HC_GUEST_SATISFACTION_CALL"
|
|
361
364
|
)), 1)
|
|
362
365
|
], 2)) : t("", !0),
|
|
@@ -380,7 +383,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
380
383
|
size: "md",
|
|
381
384
|
type: "fill"
|
|
382
385
|
}),
|
|
383
|
-
n("div",
|
|
386
|
+
n("div", Q, a(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
384
387
|
], 2)) : t("", !0),
|
|
385
388
|
e.showGuestDetails ? (l(), i("li", {
|
|
386
389
|
key: 3,
|
|
@@ -401,13 +404,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
401
404
|
size: "md",
|
|
402
405
|
type: ""
|
|
403
406
|
}),
|
|
404
|
-
n("div",
|
|
407
|
+
n("div", J, a(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
405
408
|
], 2)) : t("", !0)
|
|
406
409
|
])
|
|
407
410
|
]),
|
|
408
411
|
_: 1
|
|
409
412
|
}, 8, ["modelValue"])) : t("", !0),
|
|
410
|
-
n("div",
|
|
413
|
+
n("div", X, [
|
|
411
414
|
r(f, null, {
|
|
412
415
|
trigger: d(() => [
|
|
413
416
|
r(p, {
|
|
@@ -426,23 +429,27 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
426
429
|
])
|
|
427
430
|
])
|
|
428
431
|
]),
|
|
429
|
-
e.loading.pms && e.size === "sm" ? (l(), i("div",
|
|
432
|
+
e.loading.pms && e.size === "sm" ? (l(), i("div", _)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (l(), i("div", x, [
|
|
430
433
|
e.occupied ? (l(), y(p, {
|
|
431
434
|
key: 0,
|
|
432
435
|
icon: "user",
|
|
433
436
|
type: "fill",
|
|
434
437
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
435
|
-
|
|
438
|
+
width: "18",
|
|
439
|
+
height: "18",
|
|
440
|
+
"custom-size": ""
|
|
436
441
|
}, null, 8, ["color"])) : t("", !0),
|
|
437
|
-
e.cleanliness ? (l(), y(p, {
|
|
442
|
+
e.cleanliness === "DIRTY" ? (l(), y(p, {
|
|
438
443
|
key: 1,
|
|
439
444
|
icon: "spray-bottle",
|
|
440
445
|
type: "fill",
|
|
441
|
-
color:
|
|
442
|
-
|
|
443
|
-
|
|
446
|
+
color: "red-10",
|
|
447
|
+
width: "18",
|
|
448
|
+
height: "18",
|
|
449
|
+
"custom-size": ""
|
|
450
|
+
})) : t("", !0)
|
|
444
451
|
])) : t("", !0),
|
|
445
|
-
e.loading.roomNotices ? (l(), i("div",
|
|
452
|
+
e.loading.roomNotices ? (l(), i("div", ee)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), i("div", oe, [
|
|
446
453
|
(l(!0), i(h, null, q(e.tagsList, (o) => (l(), i("a", {
|
|
447
454
|
key: o,
|
|
448
455
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
@@ -473,7 +480,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
473
480
|
]),
|
|
474
481
|
_: 2
|
|
475
482
|
}, 1024)
|
|
476
|
-
], 8,
|
|
483
|
+
], 8, se))), 128))
|
|
477
484
|
])) : t("", !0),
|
|
478
485
|
n("div", {
|
|
479
486
|
class: u(["accordions", { closed: e.showCreateRequest }])
|
|
@@ -490,7 +497,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
490
497
|
class: "flex items-center cursor-pointer",
|
|
491
498
|
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
492
499
|
}, [
|
|
493
|
-
n("div",
|
|
500
|
+
n("div", le, a(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
494
501
|
r(b, { class: "grow" }),
|
|
495
502
|
r(p, {
|
|
496
503
|
class: u([
|
|
@@ -504,8 +511,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
504
511
|
])
|
|
505
512
|
]),
|
|
506
513
|
content: d(() => [
|
|
507
|
-
e.loading.pms ? (l(), i("div",
|
|
508
|
-
e.roomDetailsData.reservations[0].guestName ? (l(), i("p",
|
|
514
|
+
e.loading.pms ? (l(), i("div", ie)) : (l(), i("div", te, [
|
|
515
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), i("p", re, [
|
|
509
516
|
n("strong", null, a(e.roomDetailsData.reservations[0].guestName), 1)
|
|
510
517
|
])) : t("", !0),
|
|
511
518
|
n("div", {
|
|
@@ -514,13 +521,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
514
521
|
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
515
522
|
])
|
|
516
523
|
}, [
|
|
517
|
-
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), i("div",
|
|
518
|
-
n("div",
|
|
519
|
-
n("div",
|
|
524
|
+
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), i("div", ne, [
|
|
525
|
+
n("div", ae, a(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
526
|
+
n("div", de, a(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
520
527
|
])) : t("", !0),
|
|
521
|
-
e.stayDetails ? (l(), i("div",
|
|
522
|
-
n("div",
|
|
523
|
-
n("div",
|
|
528
|
+
e.stayDetails ? (l(), i("div", ue, [
|
|
529
|
+
n("div", pe, a(e.$t("HC_STAY")) + ": ", 1),
|
|
530
|
+
n("div", me, a(e.stayDetails), 1)
|
|
524
531
|
])) : t("", !0)
|
|
525
532
|
], 2)
|
|
526
533
|
]))
|
|
@@ -539,7 +546,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
539
546
|
class: "flex items-center cursor-pointer",
|
|
540
547
|
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
541
548
|
}, [
|
|
542
|
-
n("div",
|
|
549
|
+
n("div", ge, a(e.$t("HC_OPEN_TICKETS")), 1),
|
|
543
550
|
r(b, { class: "grow" }),
|
|
544
551
|
r(p, {
|
|
545
552
|
class: u([
|
|
@@ -553,7 +560,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
553
560
|
])
|
|
554
561
|
]),
|
|
555
562
|
content: d(() => [
|
|
556
|
-
e.loading.tickets ? (l(), i("div",
|
|
563
|
+
e.loading.tickets ? (l(), i("div", ye)) : e.ticketsList.length ? (l(), i("ul", ke, [
|
|
557
564
|
(l(!0), i(h, null, q(e.ticketsList, (o, c) => (l(), i("li", {
|
|
558
565
|
key: o.id,
|
|
559
566
|
id: `open-ticket-${o.id}`
|
|
@@ -571,10 +578,10 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
571
578
|
o.started?.dateUtc
|
|
572
579
|
),
|
|
573
580
|
type: o.type,
|
|
574
|
-
onClick: (
|
|
581
|
+
onClick: (Vo) => e.onClickTicket(o)
|
|
575
582
|
}, null, 8, ["class", "text", "time", "type", "onClick"])
|
|
576
|
-
], 8,
|
|
577
|
-
])) : (l(), i("p",
|
|
583
|
+
], 8, he))), 128))
|
|
584
|
+
])) : (l(), i("p", ve, a(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
|
|
578
585
|
]),
|
|
579
586
|
_: 1
|
|
580
587
|
}, 8, ["modelValue"])) : t("", !0),
|
|
@@ -590,7 +597,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
590
597
|
class: "flex items-center cursor-pointer",
|
|
591
598
|
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
592
599
|
}, [
|
|
593
|
-
n("div",
|
|
600
|
+
n("div", we, a(e.$t("HC_GUEST_CONNECT")), 1),
|
|
594
601
|
r(b, { class: "grow" }),
|
|
595
602
|
r(p, {
|
|
596
603
|
class: u([
|
|
@@ -617,7 +624,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
617
624
|
}
|
|
618
625
|
])
|
|
619
626
|
}, [
|
|
620
|
-
e.filteredReplies.length ? (l(), i("div",
|
|
627
|
+
e.filteredReplies.length ? (l(), i("div", fe, [
|
|
621
628
|
(l(!0), i(h, null, q(e.filteredReplies, (o) => (l(), i("div", {
|
|
622
629
|
key: o,
|
|
623
630
|
class: u([
|
|
@@ -627,12 +634,12 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
627
634
|
onClick: (c) => e.onSelectQuickReply(o)
|
|
628
635
|
}, [
|
|
629
636
|
n("div", null, a(o), 1)
|
|
630
|
-
], 10,
|
|
631
|
-
])) : (l(), i("div",
|
|
637
|
+
], 10, qe))), 128))
|
|
638
|
+
])) : (l(), i("div", be, a(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + a(e.comment) + '". ', 1))
|
|
632
639
|
], 2),
|
|
633
|
-
n("div",
|
|
634
|
-
n("div",
|
|
635
|
-
e.loading.messages ? (l(), i("div",
|
|
640
|
+
n("div", Te, [
|
|
641
|
+
n("div", Ce, [
|
|
642
|
+
e.loading.messages ? (l(), i("div", ce, [...s[55] || (s[55] = [
|
|
636
643
|
n("div", { class: "flex gap-2 items-end" }, [
|
|
637
644
|
n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" }),
|
|
638
645
|
n("div", { class: "animate-shimmer bg-gray-10 h-12 w-3/4 rounded-lg" })
|
|
@@ -646,8 +653,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
646
653
|
n("div", { class: "animate-shimmer bg-gray-10 h-8 w-1/2 rounded-lg" })
|
|
647
654
|
], -1)
|
|
648
655
|
])])) : (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",
|
|
656
|
+
o.type === "separator" ? (l(), i("div", Oe, [
|
|
657
|
+
n("span", Ee, a(o.label), 1)
|
|
651
658
|
])) : (l(), i("div", {
|
|
652
659
|
key: 1,
|
|
653
660
|
class: u([
|
|
@@ -658,10 +665,10 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
658
665
|
}
|
|
659
666
|
])
|
|
660
667
|
}, [
|
|
661
|
-
o.isGuestMessage ? (l(), i("div",
|
|
668
|
+
o.isGuestMessage ? (l(), i("div", $e, [
|
|
662
669
|
r(f, { position: "top" }, {
|
|
663
670
|
trigger: d(() => [
|
|
664
|
-
r(
|
|
671
|
+
r(S, {
|
|
665
672
|
initials: o.user?.initials || "?",
|
|
666
673
|
src: o.user?.src || "",
|
|
667
674
|
size: "sm"
|
|
@@ -674,11 +681,11 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
674
681
|
}, 1024)
|
|
675
682
|
])) : t("", !0),
|
|
676
683
|
n("div", De, [
|
|
677
|
-
n("div",
|
|
684
|
+
n("div", Se, a(o.formattedTime), 1),
|
|
678
685
|
n("div", He, a(o.comment), 1)
|
|
679
686
|
]),
|
|
680
|
-
o.isStaffMessage ? (l(), i("div",
|
|
681
|
-
r(
|
|
687
|
+
o.isStaffMessage ? (l(), i("div", Ve, [
|
|
688
|
+
r(S, { size: "sm" }, {
|
|
682
689
|
default: d(() => [
|
|
683
690
|
r(p, {
|
|
684
691
|
icon: "building",
|
|
@@ -692,10 +699,10 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
692
699
|
])) : t("", !0)
|
|
693
700
|
], 2))
|
|
694
701
|
], 64))), 128)),
|
|
695
|
-
!e.loading.messages && !e.groupedMessages.length ? (l(), i("div",
|
|
702
|
+
!e.loading.messages && !e.groupedMessages.length ? (l(), i("div", Me, a(e.$t("HC_NO_MESSAGES_YET")), 1)) : t("", !0)
|
|
696
703
|
]),
|
|
697
|
-
e.isTestEnvironment && e.simulateOpen ? (l(), i("div",
|
|
698
|
-
n("div",
|
|
704
|
+
e.isTestEnvironment && e.simulateOpen ? (l(), i("div", Ne, [
|
|
705
|
+
n("div", Ue, [
|
|
699
706
|
s[56] || (s[56] = n("span", { class: "simulate-badge" }, "TEST", -1)),
|
|
700
707
|
n("span", null, a(e.$t("HC_SIMULATE_GUEST_REPLY")), 1),
|
|
701
708
|
r(p, {
|
|
@@ -714,7 +721,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
714
721
|
"textarea-class": "text-sm border-gray-12 w-full",
|
|
715
722
|
"control-class": "w-full",
|
|
716
723
|
rows: 2,
|
|
717
|
-
onKeydown:
|
|
724
|
+
onKeydown: H(E(e.simulateGuestReply, ["prevent"]), ["enter"])
|
|
718
725
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
719
726
|
n("div", Ie, [
|
|
720
727
|
r(T, {
|
|
@@ -732,8 +739,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
732
739
|
])
|
|
733
740
|
])
|
|
734
741
|
])) : t("", !0),
|
|
735
|
-
n("div",
|
|
736
|
-
n("div",
|
|
742
|
+
n("div", Ae, [
|
|
743
|
+
n("div", Ge, [
|
|
737
744
|
e.messages.length > 0 ? (l(), i("div", {
|
|
738
745
|
key: 0,
|
|
739
746
|
class: u([
|
|
@@ -744,7 +751,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
744
751
|
]),
|
|
745
752
|
onClick: s[16] || (s[16] = (o) => !e.loading.conversationToggle && e.toggleMarkOpenClose())
|
|
746
753
|
}, [
|
|
747
|
-
e.loading.conversationToggle ? (l(), i("span",
|
|
754
|
+
e.loading.conversationToggle ? (l(), i("span", Le, "...")) : (l(), i(h, { key: 1 }, [
|
|
748
755
|
k(a(e.$t(
|
|
749
756
|
e.isConversationOpen ? "HC_CLOSE" : "HC_OPEN"
|
|
750
757
|
)), 1)
|
|
@@ -761,7 +768,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
761
768
|
style: { color: "#e67e22" },
|
|
762
769
|
onClick: s[17] || (s[17] = (...o) => e.toggleSimulateOpen && e.toggleSimulateOpen(...o))
|
|
763
770
|
}, a(e.$t("HC_SIMULATE")), 3)) : t("", !0),
|
|
764
|
-
n("div",
|
|
771
|
+
n("div", ze, [
|
|
765
772
|
r(v, {
|
|
766
773
|
id: "comment-field",
|
|
767
774
|
modelValue: e.comment,
|
|
@@ -770,14 +777,13 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
770
777
|
placeholder: e.quickReplyOpen ? e.$t("HC_SEARCH_REPLIES") : e.$t("HC_WRITE_A_MESSAGE"),
|
|
771
778
|
rows: 1,
|
|
772
779
|
"control-class": "w-full",
|
|
773
|
-
|
|
774
|
-
onKeydown: V(e.sendChatMessage, ["enter"])
|
|
780
|
+
onKeydown: H(e.sendChatMessage, ["enter"])
|
|
775
781
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
776
782
|
n("div", {
|
|
777
783
|
id: "hidden-text",
|
|
778
784
|
class: "text-sm",
|
|
779
785
|
innerHTML: e.comment
|
|
780
|
-
}, null, 8,
|
|
786
|
+
}, null, 8, Ye),
|
|
781
787
|
r(p, {
|
|
782
788
|
id: "quick-reply-trigger",
|
|
783
789
|
icon: "comment-lines",
|
|
@@ -826,8 +832,8 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
826
832
|
color: "inkwell-30"
|
|
827
833
|
}, {
|
|
828
834
|
default: d(() => [
|
|
829
|
-
n("div",
|
|
830
|
-
n("div",
|
|
835
|
+
n("div", Pe, [
|
|
836
|
+
n("div", Be, a(e.$t("HC_ACTION")), 1)
|
|
831
837
|
])
|
|
832
838
|
]),
|
|
833
839
|
_: 1
|
|
@@ -836,9 +842,9 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
836
842
|
class: "flex flex-col",
|
|
837
843
|
onSubmit: s[51] || (s[51] = E((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
838
844
|
}, [
|
|
839
|
-
e.showCreateRequest ? (l(), i("div",
|
|
840
|
-
n("div",
|
|
841
|
-
n("div",
|
|
845
|
+
e.showCreateRequest ? (l(), i("div", We, [
|
|
846
|
+
n("div", Ke, [
|
|
847
|
+
n("div", je, [
|
|
842
848
|
r(m, {
|
|
843
849
|
id: "todo-type",
|
|
844
850
|
"model-value": e.requestType,
|
|
@@ -849,7 +855,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
849
855
|
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.onSelectToDo(o))
|
|
850
856
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
851
857
|
]),
|
|
852
|
-
e.requestType && e.requestType.id === "room_notice" ? (l(), i("div",
|
|
858
|
+
e.requestType && e.requestType.id === "room_notice" ? (l(), i("div", Fe, [
|
|
853
859
|
r(m, {
|
|
854
860
|
id: "todo-notice-issue",
|
|
855
861
|
"model-value": e.roomNotice.issue,
|
|
@@ -862,7 +868,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
862
868
|
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.issue = o)
|
|
863
869
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
864
870
|
])) : t("", !0),
|
|
865
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div",
|
|
871
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Ze, [
|
|
866
872
|
r(w, {
|
|
867
873
|
id: "todo-notice-start-date",
|
|
868
874
|
"model-value": e.roomNotice.startDate,
|
|
@@ -880,7 +886,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
880
886
|
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.roomNotice.startDate = o)
|
|
881
887
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
882
888
|
])) : t("", !0),
|
|
883
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div",
|
|
889
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Qe, [
|
|
884
890
|
r(w, {
|
|
885
891
|
id: "todo-notice-end-date",
|
|
886
892
|
"model-value": e.roomNotice.endDate,
|
|
@@ -899,7 +905,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
899
905
|
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.roomNotice.endDate = o)
|
|
900
906
|
}, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
901
907
|
])) : t("", !0),
|
|
902
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div",
|
|
908
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Je, [
|
|
903
909
|
r(v, {
|
|
904
910
|
id: "todo-notice-notes",
|
|
905
911
|
modelValue: e.roomNotice.notes,
|
|
@@ -911,7 +917,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
911
917
|
"floating-label": ""
|
|
912
918
|
}, null, 8, ["modelValue", "placeholder"])
|
|
913
919
|
])) : t("", !0),
|
|
914
|
-
e.requestType && e.requestType.id === "complaint" ? (l(), i("div",
|
|
920
|
+
e.requestType && e.requestType.id === "complaint" ? (l(), i("div", Xe, [
|
|
915
921
|
r(m, {
|
|
916
922
|
id: "todo-complaint-problem",
|
|
917
923
|
"model-value": e.complaint.problem,
|
|
@@ -925,7 +931,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
925
931
|
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.problem = o)
|
|
926
932
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
927
933
|
])) : t("", !0),
|
|
928
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
934
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", _e, [
|
|
929
935
|
r(C, {
|
|
930
936
|
id: "guest-name",
|
|
931
937
|
modelValue: e.complaint.guestName,
|
|
@@ -937,7 +943,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
937
943
|
required: ""
|
|
938
944
|
}, null, 8, ["modelValue", "placeholder"])
|
|
939
945
|
])) : t("", !0),
|
|
940
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
946
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", xe, [
|
|
941
947
|
r(C, {
|
|
942
948
|
id: "guest-phone",
|
|
943
949
|
modelValue: e.complaint.guestPhone,
|
|
@@ -947,7 +953,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
947
953
|
"floating-label": ""
|
|
948
954
|
}, null, 8, ["modelValue", "placeholder"])
|
|
949
955
|
])) : t("", !0),
|
|
950
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
956
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", eo, [
|
|
951
957
|
r(C, {
|
|
952
958
|
id: "guest-email",
|
|
953
959
|
modelValue: e.complaint.guestEmail,
|
|
@@ -957,7 +963,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
957
963
|
"floating-label": ""
|
|
958
964
|
}, null, 8, ["modelValue", "placeholder"])
|
|
959
965
|
])) : t("", !0),
|
|
960
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
966
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", oo, [
|
|
961
967
|
r(C, {
|
|
962
968
|
id: "guest-loyalty",
|
|
963
969
|
modelValue: e.complaint.guestLoyalty,
|
|
@@ -967,7 +973,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
967
973
|
"floating-label": ""
|
|
968
974
|
}, null, 8, ["modelValue", "placeholder"])
|
|
969
975
|
])) : t("", !0),
|
|
970
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
976
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", so, [
|
|
971
977
|
r(m, {
|
|
972
978
|
id: "todo-complaint-mood",
|
|
973
979
|
"model-value": e.complaint.guestMood,
|
|
@@ -979,7 +985,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
979
985
|
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.guestMood = o)
|
|
980
986
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
981
987
|
])) : t("", !0),
|
|
982
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
988
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", lo, [
|
|
983
989
|
r(w, {
|
|
984
990
|
id: "todo-complaint-check-in",
|
|
985
991
|
"model-value": e.complaint.checkInDate,
|
|
@@ -997,7 +1003,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
997
1003
|
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.complaint.checkInDate = o)
|
|
998
1004
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
999
1005
|
])) : t("", !0),
|
|
1000
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
1006
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", io, [
|
|
1001
1007
|
r(w, {
|
|
1002
1008
|
id: "todo-complaint-check-out",
|
|
1003
1009
|
"model-value": e.complaint.checkOutDate,
|
|
@@ -1016,7 +1022,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1016
1022
|
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.complaint.checkOutDate = o)
|
|
1017
1023
|
}, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
1018
1024
|
])) : t("", !0),
|
|
1019
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
1025
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", to, [
|
|
1020
1026
|
r(v, {
|
|
1021
1027
|
id: "todo-complaint-notes",
|
|
1022
1028
|
modelValue: e.complaint.notes,
|
|
@@ -1028,7 +1034,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1028
1034
|
"floating-label": ""
|
|
1029
1035
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1030
1036
|
])) : t("", !0),
|
|
1031
|
-
e.requestType && e.requestType.id === "work_order" ? (l(), i("div",
|
|
1037
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), i("div", ro, [
|
|
1032
1038
|
r(m, {
|
|
1033
1039
|
id: "todo-work-order-item",
|
|
1034
1040
|
"model-value": e.workOrder.item,
|
|
@@ -1044,7 +1050,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1044
1050
|
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.item = o)
|
|
1045
1051
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
1046
1052
|
])) : t("", !0),
|
|
1047
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), i("div",
|
|
1053
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), i("div", no, [
|
|
1048
1054
|
r(m, {
|
|
1049
1055
|
id: "todo-work-order-issue",
|
|
1050
1056
|
"model-value": e.workOrder.issue,
|
|
@@ -1056,7 +1062,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1056
1062
|
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.issue = o)
|
|
1057
1063
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1058
1064
|
])) : t("", !0),
|
|
1059
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1065
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", ao, [
|
|
1060
1066
|
r(m, {
|
|
1061
1067
|
id: "todo-work-order-requested-by",
|
|
1062
1068
|
"model-value": e.workOrder.requestedBy,
|
|
@@ -1067,7 +1073,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1067
1073
|
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.requestedBy = o)
|
|
1068
1074
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1069
1075
|
])) : t("", !0),
|
|
1070
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1076
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", uo, [
|
|
1071
1077
|
r(m, {
|
|
1072
1078
|
id: "todo-work-order-assign-type",
|
|
1073
1079
|
"model-value": e.workOrder.assignType,
|
|
@@ -1078,7 +1084,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1078
1084
|
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.assignType = o)
|
|
1079
1085
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1080
1086
|
])) : t("", !0),
|
|
1081
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1087
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", po, [
|
|
1082
1088
|
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
1089
|
key: 0,
|
|
1084
1090
|
id: "todo-work-order-assign-to",
|
|
@@ -1105,7 +1111,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1105
1111
|
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.workOrder.person = o)
|
|
1106
1112
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
|
|
1107
1113
|
])) : t("", !0),
|
|
1108
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1114
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", mo, [
|
|
1109
1115
|
r(w, {
|
|
1110
1116
|
id: "todo-work-order-due",
|
|
1111
1117
|
"model-value": e.workOrder.due,
|
|
@@ -1123,7 +1129,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1123
1129
|
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.workOrder.due = o)
|
|
1124
1130
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
1125
1131
|
])) : t("", !0),
|
|
1126
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1132
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", go, [
|
|
1127
1133
|
r(v, {
|
|
1128
1134
|
id: "todo-work-order-notes",
|
|
1129
1135
|
modelValue: e.workOrder.notes,
|
|
@@ -1135,7 +1141,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1135
1141
|
"floating-label": ""
|
|
1136
1142
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1137
1143
|
])) : t("", !0),
|
|
1138
|
-
e.requestType && e.requestType.id === "request" ? (l(), i("div",
|
|
1144
|
+
e.requestType && e.requestType.id === "request" ? (l(), i("div", yo, [
|
|
1139
1145
|
r(m, {
|
|
1140
1146
|
id: "todo-request-item",
|
|
1141
1147
|
"model-value": e.request.item,
|
|
@@ -1148,7 +1154,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1148
1154
|
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.item = o)
|
|
1149
1155
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
1150
1156
|
])) : t("", !0),
|
|
1151
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1157
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", ko, [
|
|
1152
1158
|
r(m, {
|
|
1153
1159
|
id: "todo-request-requested-by",
|
|
1154
1160
|
"model-value": e.request.requestedBy,
|
|
@@ -1159,7 +1165,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1159
1165
|
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.requestedBy = o)
|
|
1160
1166
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1161
1167
|
])) : t("", !0),
|
|
1162
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1168
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", ho, [
|
|
1163
1169
|
r(w, {
|
|
1164
1170
|
id: "todo-request-due",
|
|
1165
1171
|
"model-value": e.request.due,
|
|
@@ -1177,7 +1183,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1177
1183
|
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.due = o)
|
|
1178
1184
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
1179
1185
|
])) : t("", !0),
|
|
1180
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1186
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", vo, [
|
|
1181
1187
|
r(m, {
|
|
1182
1188
|
id: "todo-request-assign-type",
|
|
1183
1189
|
"model-value": e.request.assignType,
|
|
@@ -1188,7 +1194,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1188
1194
|
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.assignType = o)
|
|
1189
1195
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1190
1196
|
])) : t("", !0),
|
|
1191
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1197
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", wo, [
|
|
1192
1198
|
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), y(m, {
|
|
1193
1199
|
key: 0,
|
|
1194
1200
|
id: "todo-request-assign-to",
|
|
@@ -1215,7 +1221,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1215
1221
|
"onUpdate:modelValue": s[47] || (s[47] = (o) => e.request.person = o)
|
|
1216
1222
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
|
|
1217
1223
|
])) : t("", !0),
|
|
1218
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div",
|
|
1224
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div", fo, [
|
|
1219
1225
|
r(m, {
|
|
1220
1226
|
id: "todo-request-when",
|
|
1221
1227
|
"model-value": e.request.when,
|
|
@@ -1226,7 +1232,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1226
1232
|
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.request.when = o)
|
|
1227
1233
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1228
1234
|
])) : t("", !0),
|
|
1229
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div",
|
|
1235
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div", qo, [
|
|
1230
1236
|
r(m, {
|
|
1231
1237
|
id: "todo-request-where",
|
|
1232
1238
|
"model-value": e.request.where,
|
|
@@ -1237,7 +1243,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1237
1243
|
"onUpdate:modelValue": s[49] || (s[49] = (o) => e.request.where = o)
|
|
1238
1244
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1239
1245
|
])) : t("", !0),
|
|
1240
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1246
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", bo, [
|
|
1241
1247
|
r(v, {
|
|
1242
1248
|
id: "todo-request-notes",
|
|
1243
1249
|
modelValue: e.request.notes,
|
|
@@ -1251,7 +1257,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1251
1257
|
])) : t("", !0)
|
|
1252
1258
|
])
|
|
1253
1259
|
])) : t("", !0),
|
|
1254
|
-
n("div",
|
|
1260
|
+
n("div", To, [
|
|
1255
1261
|
r(T, {
|
|
1256
1262
|
status: "secondary",
|
|
1257
1263
|
onClick: E(e.closeRequest, ["prevent"])
|
|
@@ -1275,7 +1281,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1275
1281
|
])
|
|
1276
1282
|
], 32)
|
|
1277
1283
|
], 2),
|
|
1278
|
-
e.loading.pms ? (l(), i("div",
|
|
1284
|
+
e.loading.pms ? (l(), i("div", Co)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), i("div", co, [
|
|
1279
1285
|
r(p, {
|
|
1280
1286
|
class: "flex-shrink-1 mr-2",
|
|
1281
1287
|
size: "sm",
|
|
@@ -1283,7 +1289,7 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1283
1289
|
icon: "clock-alarm",
|
|
1284
1290
|
type: "outline"
|
|
1285
1291
|
}),
|
|
1286
|
-
n("p",
|
|
1292
|
+
n("p", Oo, a(e.$t("HC_PMS_UPDATED")) + " " + a(e.DateTime.fromISO(
|
|
1287
1293
|
e.roomDetailsData.updatedAt
|
|
1288
1294
|
).toRelative({ locale: e.locale })), 1)
|
|
1289
1295
|
])) : t("", !0)
|
|
@@ -1291,9 +1297,9 @@ function $o(e, s, So, Do, Vo, Ho) {
|
|
|
1291
1297
|
]),
|
|
1292
1298
|
_: 3
|
|
1293
1299
|
}, 8, ["model-value", "align", "position", "size", "teleport", "teleport-to", "close-on-scroll-out-of-view", "scroll-into-view", "scroll-into-view-padding"])
|
|
1294
|
-
], 40,
|
|
1300
|
+
], 40, A)) : t("", !0);
|
|
1295
1301
|
}
|
|
1296
|
-
const Io = /* @__PURE__ */
|
|
1302
|
+
const Io = /* @__PURE__ */ I(N, [["render", Eo]]);
|
|
1297
1303
|
export {
|
|
1298
1304
|
Io as default
|
|
1299
1305
|
};
|