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