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