@quoreadmin/ui 1.7.7 → 1.7.9
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/index102.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index113.js +2 -2
- package/dist/index115.js +42 -33
- package/dist/index117.js +3 -3
- package/dist/index129.js +1 -1
- package/dist/index131.js +2 -2
- package/dist/index140.js +3 -3
- package/dist/index142.js +72 -60
- package/dist/index144.js +6 -6
- package/dist/index148.js +44 -30
- package/dist/index152.js +1 -1
- package/dist/{index154.js → index155.js} +1 -1
- package/dist/{index158.js → index159.js} +9 -9
- package/dist/index162.js +111 -492
- package/dist/index163.js +471 -5498
- package/dist/index164.js +5511 -80
- package/dist/index165.js +86 -856
- package/dist/index166.js +844 -21
- package/dist/index167.js +23 -265
- package/dist/index168.js +256 -126
- package/dist/index169.js +146 -1195
- package/dist/index170.js +1139 -712
- package/dist/index171.js +704 -1240
- package/dist/index172.js +1280 -248
- package/dist/index173.js +266 -96
- package/dist/index174.js +106 -2
- package/dist/index175.js +2 -1376
- package/dist/index176.js +1378 -0
- package/dist/index178.js +12 -12
- package/dist/index179.js +10 -10
- package/dist/index180.js +12 -12
- package/dist/index181.js +14 -21
- package/dist/index182.js +23 -757
- package/dist/index183.js +759 -1117
- package/dist/index184.js +1117 -1234
- package/dist/index185.js +1205 -11248
- package/dist/index186.js +11277 -36
- package/dist/index187.js +36 -44
- package/dist/index188.js +42 -1188
- package/dist/index189.js +1192 -0
- package/dist/index191.js +5830 -99
- package/dist/index192.js +188 -16
- package/dist/index193.js +25 -8
- package/dist/index194.js +16 -76
- package/dist/index195.js +74 -249
- package/dist/index196.js +229 -13660
- package/dist/index197.js +13684 -27
- package/dist/index198.js +26 -62
- package/dist/index199.js +40 -215
- package/dist/index20.js +38 -26
- package/dist/index200.js +206 -276
- package/dist/index201.js +278 -258
- package/dist/index202.js +287 -32
- package/dist/index203.js +81 -109
- package/dist/index204.js +404 -33
- package/dist/index205.js +22 -26
- package/dist/index206.js +30 -33
- package/dist/index207.js +116 -9
- package/dist/index208.js +35 -18
- package/dist/index209.js +26 -10
- package/dist/index210.js +36 -10
- package/dist/index211.js +9 -51
- package/dist/index212.js +18 -42
- package/dist/index213.js +10 -4
- package/dist/index214.js +10 -39
- package/dist/index215.js +51 -21
- package/dist/index216.js +40 -85
- package/dist/index217.js +3 -406
- package/dist/index218.js +39 -22
- package/dist/index219.js +21 -127
- package/dist/index220.js +148 -25
- package/dist/index221.js +20 -80
- package/dist/index222.js +1 -1
- package/dist/index223.js +15 -13
- package/dist/index224.js +198 -19
- package/dist/index225.js +68 -18
- package/dist/index226.js +34 -20
- package/dist/index227.js +22 -143
- package/dist/index228.js +160 -19
- package/dist/index229.js +228 -22
- package/dist/index230.js +31 -193
- package/dist/index231.js +10 -70
- package/dist/index232.js +124 -31
- package/dist/index233.js +29 -31
- package/dist/index234.js +80 -161
- package/dist/index235.js +20 -228
- package/dist/index236.js +19 -36
- package/dist/index237.js +20 -10
- package/dist/index238.js +20 -3632
- package/dist/index239.js +22 -55
- package/dist/index240.js +22 -77
- package/dist/index241.js +20 -52
- package/dist/index242.js +822 -201
- package/dist/index243.js +702 -10
- package/dist/index244.js +174 -55
- package/dist/index245.js +22 -61
- package/dist/index246.js +20 -54
- package/dist/index247.js +20 -75
- package/dist/index248.js +3 -723
- package/dist/index249.js +182 -34
- package/dist/index250.js +128 -59
- package/dist/index251.js +1222 -10
- package/dist/index252.js +20 -705
- package/dist/index253.js +22 -820
- package/dist/index254.js +9 -9
- package/dist/index255.js +22 -15
- package/dist/index256.js +6 -6
- package/dist/index257.js +20 -836
- package/dist/index258.js +2 -702
- package/dist/index259.js +2 -176
- package/dist/index260.js +3632 -22
- package/dist/index261.js +55 -20
- package/dist/index262.js +77 -20
- package/dist/index263.js +52 -3
- package/dist/index264.js +208 -180
- package/dist/index265.js +10 -133
- package/dist/index266.js +51 -1217
- package/dist/index267.js +61 -20
- package/dist/index268.js +54 -22
- package/dist/index269.js +75 -22
- package/dist/index270.js +722 -28
- package/dist/index271.js +39 -20
- package/dist/index272.js +64 -20
- package/dist/index273.js +11 -2
- package/dist/index274.js +705 -2
- package/dist/index275.js +820 -3
- package/dist/index276.js +250 -24
- package/dist/index277.js +8 -253
- package/dist/index278.js +138 -8
- package/dist/index279.js +68 -123
- package/dist/index280.js +3 -83
- package/dist/index281.js +27 -2
- package/dist/index282.js +46 -71
- package/dist/index283.js +71 -46
- package/dist/index284.js +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +1 -1
- package/dist/index289.js +2 -2
- package/dist/index290.js +2 -1518
- package/dist/index291.js +215 -366
- package/dist/index292.js +4 -2729
- package/dist/index293.js +131 -83
- package/dist/index294.js +66 -3768
- package/dist/index295.js +83 -56
- package/dist/index296.js +29 -15
- package/dist/index297.js +8 -83
- package/dist/index298.js +64 -191
- package/dist/index299.js +3 -245
- package/dist/index300.js +2 -235
- package/dist/index301.js +82 -5
- package/dist/index302.js +50 -130
- package/dist/index303.js +4 -66
- package/dist/index304.js +4 -86
- package/dist/index305.js +176 -26
- package/dist/index306.js +62 -8
- package/dist/index307.js +75 -75
- package/dist/index308.js +1517 -3
- package/dist/index309.js +386 -2
- package/dist/index31.js +46 -36
- package/dist/index310.js +2730 -82
- package/dist/index311.js +84 -52
- package/dist/index312.js +3768 -4
- package/dist/index313.js +59 -4
- package/dist/index314.js +74 -174
- package/dist/index315.js +21 -62
- package/dist/index316.js +934 -74
- package/dist/index317.js +21 -78
- package/dist/index318.js +13 -15
- package/dist/index319.js +20 -935
- package/dist/index320.js +68 -21
- package/dist/index321.js +19 -20
- package/dist/index322.js +19 -20
- package/dist/index323.js +21 -68
- package/dist/index324.js +22 -19
- package/dist/index325.js +60 -16
- package/dist/index326.js +15 -22
- package/dist/index327.js +83 -21
- package/dist/index328.js +201 -62
- package/dist/index329.js +245 -9
- package/dist/index330.js +9 -10
- package/dist/index331.js +13 -14
- package/dist/index332.js +55 -10
- package/dist/index333.js +11 -16
- package/dist/index334.js +13 -8
- package/dist/index335.js +57 -12
- package/dist/index336.js +48 -51
- package/dist/index337.js +28 -9
- package/dist/index338.js +2 -14
- package/dist/index339.js +5 -58
- package/dist/index340.js +2 -52
- package/dist/index341.js +22 -30
- package/dist/index342.js +41 -2
- package/dist/index343.js +2 -5
- package/dist/index344.js +11 -2
- package/dist/index345.js +19 -22
- package/dist/index346.js +14 -38
- package/dist/index347.js +10 -2
- package/dist/index348.js +9 -10
- package/dist/index349.js +2 -20
- package/dist/index350.js +9 -2
- package/dist/index351.js +10 -9
- package/dist/index352.js +14 -37
- package/dist/index353.js +35 -19
- package/dist/index354.js +19 -54
- package/dist/index355.js +55 -28
- package/dist/index356.js +28 -6
- package/dist/index357.js +6 -51
- package/dist/index358.js +51 -5
- package/dist/index359.js +6 -12
- package/dist/index360.js +12 -7
- package/dist/index361.js +6 -27
- package/dist/index362.js +28 -2
- package/dist/index363.js +2 -70
- package/dist/index364.js +67 -164
- package/dist/index365.js +167 -20
- package/dist/index366.js +9 -9
- package/dist/index367.js +19 -63
- package/dist/index368.js +61 -34
- package/dist/index369.js +36 -100
- package/dist/index370.js +30 -90
- package/dist/index371.js +11 -98
- package/dist/index372.js +3 -30
- package/dist/index373.js +3 -10
- package/dist/index374.js +13 -4
- package/dist/index375.js +7 -4
- package/dist/index376.js +12 -13
- package/dist/index377.js +5 -7
- package/dist/index378.js +33 -12
- package/dist/index379.js +31 -5
- package/dist/index380.js +27 -32
- package/dist/index381.js +58 -28
- package/dist/index382.js +99 -26
- package/dist/index383.js +91 -61
- package/dist/index384.js +1 -1
- package/dist/index385.js +98 -3
- package/dist/index386.js +3 -2
- package/dist/index387.js +2 -2
- package/dist/index388.js +2 -17
- package/dist/index389.js +15 -11
- package/dist/index390.js +13 -6
- package/dist/index391.js +6 -32
- package/dist/index392.js +34 -0
- package/dist/index43.js +206 -201
- package/dist/index44.js +90 -75
- package/dist/index47.js +26 -20
- package/dist/index49.js +11 -10
- package/dist/index50.js +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index54.js +2 -2
- package/dist/index56.js +1 -1
- package/dist/index58.js +5 -5
- package/dist/index59.js +1 -1
- package/dist/index71.js +2 -2
- package/dist/index75.js +1 -1
- package/dist/index80.js +1 -1
- package/dist/index85.js +1 -1
- package/dist/index87.js +3 -3
- package/dist/index89.js +2 -2
- package/dist/index95.js +25 -18
- package/dist/src/components/data-filter/data-filter.d.ts +33 -0
- package/dist/src/components/data-list/data-list.d.ts +33 -0
- package/dist/src/components/date-picker/date-picker.d.ts +11 -0
- package/dist/src/components/date-picker/date-picker.stories.d.ts +1376 -0
- package/dist/src/components/form-group/form-group.stories.d.ts +33 -0
- package/dist/src/components/grid/grid.stories.d.ts +61 -0
- package/dist/src/components/input/input.d.ts +33 -0
- package/dist/src/components/input/input.stories.d.ts +615 -0
- package/dist/src/components/list/list.stories.d.ts +14 -0
- package/dist/src/components/modal/modal.stories.d.ts +14 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +31 -0
- package/dist/src/components/select/select.d.ts +14 -0
- package/dist/src/components/select/select.stories.d.ts +44 -0
- package/dist/src/components/textarea/textarea.d.ts +20 -0
- package/dist/src/components/textarea/textarea.stories.d.ts +22 -0
- package/dist/src/views/lists.vue.d.ts +66 -0
- package/dist/src/views/tables.vue.d.ts +33 -0
- package/package.json +1 -1
- package/dist/index161.js +0 -116
- package/dist/index177.js +0 -20
- package/dist/index190.js +0 -5940
- /package/dist/{index156.js → index157.js} +0 -0
package/dist/index43.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import N from "./index140.js";
|
|
2
|
-
import { resolveComponent as
|
|
2
|
+
import { resolveComponent as g, createElementBlock as i, createCommentVNode as t, openBlock as l, createVNode as r, withCtx as d, createElementVNode as n, normalizeClass as u, toDisplayString as a, createBlock as y, Fragment as h, renderList as q, createTextVNode as k, withKeys as H, withModifiers as E, mergeProps as U, toHandlerKey as V, renderSlot as A } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import R from "./index62.js";
|
|
5
5
|
const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
@@ -23,10 +23,10 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
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 = {
|
|
@@ -35,7 +35,7 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
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
|
-
}, me = { class: "text-truncate text-inkwell-0" },
|
|
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 = {
|
|
@@ -44,13 +44,13 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
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" }, qe = {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "quick-replies"
|
|
50
|
-
},
|
|
50
|
+
}, be = ["onClick"], Te = {
|
|
51
51
|
key: 1,
|
|
52
52
|
class: "text-inkwell-0 text-xxs text-center"
|
|
53
|
-
},
|
|
53
|
+
}, Ce = { class: "chat-container" }, ce = {
|
|
54
54
|
id: "comments-container",
|
|
55
55
|
class: "chat-messages"
|
|
56
56
|
}, Oe = {
|
|
@@ -113,10 +113,10 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
113
113
|
}, to = {
|
|
114
114
|
key: 11,
|
|
115
115
|
class: "field"
|
|
116
|
-
},
|
|
116
|
+
}, ro = {
|
|
117
117
|
key: 12,
|
|
118
118
|
class: "field col-span-2"
|
|
119
|
-
},
|
|
119
|
+
}, no = {
|
|
120
120
|
key: 13,
|
|
121
121
|
class: "field"
|
|
122
122
|
}, ao = {
|
|
@@ -131,10 +131,10 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
131
131
|
}, mo = {
|
|
132
132
|
key: 17,
|
|
133
133
|
class: "field"
|
|
134
|
-
},
|
|
134
|
+
}, go = {
|
|
135
135
|
key: 18,
|
|
136
136
|
class: "field"
|
|
137
|
-
},
|
|
137
|
+
}, yo = {
|
|
138
138
|
key: 19,
|
|
139
139
|
class: "field col-span-2"
|
|
140
140
|
}, ko = {
|
|
@@ -149,24 +149,24 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
149
149
|
}, wo = {
|
|
150
150
|
key: 23,
|
|
151
151
|
class: "field"
|
|
152
|
-
},
|
|
152
|
+
}, fo = {
|
|
153
153
|
key: 24,
|
|
154
154
|
class: "field"
|
|
155
|
-
},
|
|
155
|
+
}, qo = {
|
|
156
156
|
key: 25,
|
|
157
157
|
class: "field"
|
|
158
|
-
},
|
|
158
|
+
}, bo = {
|
|
159
159
|
key: 26,
|
|
160
160
|
class: "field"
|
|
161
|
-
},
|
|
161
|
+
}, To = {
|
|
162
162
|
key: 27,
|
|
163
163
|
class: "field col-span-2"
|
|
164
|
-
},
|
|
164
|
+
}, Co = {
|
|
165
165
|
class: /* @__PURE__ */ u([
|
|
166
166
|
"actions flex-shrink-0",
|
|
167
167
|
"flex items-center justify-between mt-4"
|
|
168
168
|
])
|
|
169
|
-
},
|
|
169
|
+
}, co = {
|
|
170
170
|
key: 4,
|
|
171
171
|
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
172
172
|
}, Oo = {
|
|
@@ -174,14 +174,14 @@ const I = ["id"], G = ["id"], L = ["id"], z = { class: "flex gap-3" }, Y = {
|
|
|
174
174
|
class: "flex items-center mt-0.5"
|
|
175
175
|
}, Eo = { class: "text-xs text-inkwell-0 font-normal" };
|
|
176
176
|
function $o(e, s, So, Do, Ho, Vo) {
|
|
177
|
-
const p =
|
|
177
|
+
const p = g("q-icon"), f = g("q-tooltip"), $ = g("q-tag"), S = g("q-popover"), b = g("q-divider"), O = g("q-accordion"), M = g("q-activity-item"), D = g("q-avatar"), v = g("q-textarea"), T = g("q-button"), m = g("q-select"), w = g("q-date-picker"), C = g("q-input");
|
|
178
178
|
return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (l(), i("div", {
|
|
179
179
|
key: 0,
|
|
180
180
|
id: e.id ? `rdp-${e.id}` : "",
|
|
181
181
|
class: "room-detail component-container text-inkwell-30",
|
|
182
182
|
onMouseleave: s[54] || (s[54] = (o) => e.onHoverToggle(!1))
|
|
183
183
|
}, [
|
|
184
|
-
|
|
184
|
+
r(S, {
|
|
185
185
|
"model-value": e.open,
|
|
186
186
|
align: e.alignment,
|
|
187
187
|
position: e.positioning,
|
|
@@ -192,7 +192,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
192
192
|
"onUpdate:modelValue": s[53] || (s[53] = (o) => e.$emit("toggle", o))
|
|
193
193
|
}, {
|
|
194
194
|
trigger: d(() => [
|
|
195
|
-
|
|
195
|
+
n("div", U({
|
|
196
196
|
ref: "trigger",
|
|
197
197
|
id: e.id ? `rdp-${e.id}-trigger` : "",
|
|
198
198
|
class: "trigger-text"
|
|
@@ -207,11 +207,11 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
207
207
|
], 16, G)
|
|
208
208
|
]),
|
|
209
209
|
content: d(() => [
|
|
210
|
-
|
|
210
|
+
n("div", {
|
|
211
211
|
id: e.id ? `rdp-${e.id}-content` : "",
|
|
212
212
|
class: "popover-content w-full font-weight-normal cursor-default"
|
|
213
213
|
}, [
|
|
214
|
-
|
|
214
|
+
n("div", z, [
|
|
215
215
|
e.loading.pms || e.loading.roomNotices ? (l(), i("div", Y)) : (l(), i("div", {
|
|
216
216
|
key: 1,
|
|
217
217
|
class: u([
|
|
@@ -220,7 +220,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
220
220
|
])
|
|
221
221
|
}, [
|
|
222
222
|
e.showRoomName ? (l(), i("h2", P, [
|
|
223
|
-
|
|
223
|
+
n("strong", null, a(e.$t("HC_GUESTROOM")) + " " + a(e.room.name), 1)
|
|
224
224
|
])) : t("", !0),
|
|
225
225
|
(e.occupied || e.cleanliness || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (l(), i("div", {
|
|
226
226
|
key: 1,
|
|
@@ -229,12 +229,12 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
229
229
|
{ "gap-y-3": !e.showRoomName }
|
|
230
230
|
])
|
|
231
231
|
}, [
|
|
232
|
-
e.occupied ? (l(),
|
|
232
|
+
e.occupied ? (l(), y(f, {
|
|
233
233
|
key: 0,
|
|
234
234
|
class: "flex shrink-0 items-center"
|
|
235
235
|
}, {
|
|
236
236
|
trigger: d(() => [
|
|
237
|
-
|
|
237
|
+
r(p, {
|
|
238
238
|
icon: "user",
|
|
239
239
|
type: "fill",
|
|
240
240
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
@@ -247,12 +247,12 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
247
247
|
]),
|
|
248
248
|
_: 1
|
|
249
249
|
})) : t("", !0),
|
|
250
|
-
e.cleanliness ? (l(),
|
|
250
|
+
e.cleanliness ? (l(), y(f, {
|
|
251
251
|
key: 1,
|
|
252
252
|
class: "flex shrink-0 items-center"
|
|
253
253
|
}, {
|
|
254
254
|
trigger: d(() => [
|
|
255
|
-
|
|
255
|
+
r(p, {
|
|
256
256
|
icon: "spray-bottle",
|
|
257
257
|
type: "fill",
|
|
258
258
|
color: e.cleanlinessColor,
|
|
@@ -265,13 +265,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
265
265
|
]),
|
|
266
266
|
_: 1
|
|
267
267
|
})) : t("", !0),
|
|
268
|
-
e.tagsList.length && !e.showRoomName ? (l(!0), i(h, { key: 2 },
|
|
268
|
+
e.tagsList.length && !e.showRoomName ? (l(!0), i(h, { key: 2 }, q(e.tagsList, (o) => (l(), i("a", {
|
|
269
269
|
key: o,
|
|
270
270
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
271
271
|
target: "_blank",
|
|
272
272
|
class: "capitalize"
|
|
273
273
|
}, [
|
|
274
|
-
|
|
274
|
+
r($, {
|
|
275
275
|
class: u([
|
|
276
276
|
"!text-xs !leading-4",
|
|
277
277
|
"shrink-0 max-w-[100px] !h-auto",
|
|
@@ -290,8 +290,8 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
290
290
|
], 8, K))), 128)) : t("", !0)
|
|
291
291
|
], 2)) : t("", !0)
|
|
292
292
|
], 2)),
|
|
293
|
-
|
|
294
|
-
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(),
|
|
293
|
+
n("div", j, [
|
|
294
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), y(S, {
|
|
295
295
|
key: 0,
|
|
296
296
|
modelValue: e.actionMenuOpen,
|
|
297
297
|
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
@@ -302,7 +302,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
302
302
|
onClose: s[8] || (s[8] = (o) => e.actionMenuOpen = !1)
|
|
303
303
|
}, {
|
|
304
304
|
trigger: d(() => [
|
|
305
|
-
|
|
305
|
+
r(p, {
|
|
306
306
|
class: "popover-action rounded-full cursor-pointer",
|
|
307
307
|
icon: "ellipsis-h",
|
|
308
308
|
size: "md",
|
|
@@ -311,7 +311,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
311
311
|
})
|
|
312
312
|
]),
|
|
313
313
|
content: d(() => [
|
|
314
|
-
|
|
314
|
+
n("ul", F, [
|
|
315
315
|
e.showActionsLink ? (l(), i("li", {
|
|
316
316
|
key: 0,
|
|
317
317
|
class: u([
|
|
@@ -324,14 +324,14 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
324
324
|
]),
|
|
325
325
|
onClick: s[3] || (s[3] = (...o) => e.openRequest && e.openRequest(...o))
|
|
326
326
|
}, [
|
|
327
|
-
|
|
327
|
+
r(p, {
|
|
328
328
|
class: "shrink-0 mr-1 p-1",
|
|
329
329
|
color: "inkwell-10",
|
|
330
330
|
icon: "plus",
|
|
331
331
|
size: "md",
|
|
332
332
|
type: ""
|
|
333
333
|
}),
|
|
334
|
-
|
|
334
|
+
n("div", Z, a(e.$t("HC_ACTION")), 1)
|
|
335
335
|
], 2)) : t("", !0),
|
|
336
336
|
!e.hasGuestCallback && e.showGuestCallback ? (l(), i("li", {
|
|
337
337
|
key: 1,
|
|
@@ -346,14 +346,14 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
346
346
|
]),
|
|
347
347
|
onClick: s[4] || (s[4] = (...o) => e.createCallback && e.createCallback(...o))
|
|
348
348
|
}, [
|
|
349
|
-
|
|
349
|
+
r(p, {
|
|
350
350
|
class: "shrink-0 mr-1 p-0.5",
|
|
351
351
|
color: "inkwell-10",
|
|
352
352
|
icon: "phone-plus",
|
|
353
353
|
size: "md",
|
|
354
354
|
type: "fill"
|
|
355
355
|
}),
|
|
356
|
-
|
|
356
|
+
n("div", Q, a(e.$t(
|
|
357
357
|
"HC_GUEST_SATISFACTION_CALL"
|
|
358
358
|
)), 1)
|
|
359
359
|
], 2)) : t("", !0),
|
|
@@ -370,14 +370,14 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
370
370
|
]),
|
|
371
371
|
onClick: s[5] || (s[5] = (...o) => e.onClickEditConnectGuest && e.onClickEditConnectGuest(...o))
|
|
372
372
|
}, [
|
|
373
|
-
|
|
373
|
+
r(p, {
|
|
374
374
|
class: "shrink-0 mr-1 p-1",
|
|
375
375
|
color: "inkwell-10",
|
|
376
376
|
icon: "pencil",
|
|
377
377
|
size: "md",
|
|
378
378
|
type: "fill"
|
|
379
379
|
}),
|
|
380
|
-
|
|
380
|
+
n("div", J, a(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
381
381
|
], 2)) : t("", !0),
|
|
382
382
|
e.showGuestDetails ? (l(), i("li", {
|
|
383
383
|
key: 3,
|
|
@@ -391,23 +391,23 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
391
391
|
]),
|
|
392
392
|
onClick: s[6] || (s[6] = (...o) => e.refreshPMSData && e.refreshPMSData(...o))
|
|
393
393
|
}, [
|
|
394
|
-
|
|
394
|
+
r(p, {
|
|
395
395
|
class: "shrink-0 mr-1 p-1",
|
|
396
396
|
color: "inkwell-10",
|
|
397
397
|
icon: "refresh",
|
|
398
398
|
size: "md",
|
|
399
399
|
type: ""
|
|
400
400
|
}),
|
|
401
|
-
|
|
401
|
+
n("div", X, a(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
402
402
|
], 2)) : t("", !0)
|
|
403
403
|
])
|
|
404
404
|
]),
|
|
405
405
|
_: 1
|
|
406
406
|
}, 8, ["modelValue"])) : t("", !0),
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
n("div", _, [
|
|
408
|
+
r(f, null, {
|
|
409
409
|
trigger: d(() => [
|
|
410
|
-
|
|
410
|
+
r(p, {
|
|
411
411
|
icon: "close",
|
|
412
412
|
size: "md",
|
|
413
413
|
type: "",
|
|
@@ -424,14 +424,14 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
424
424
|
])
|
|
425
425
|
]),
|
|
426
426
|
e.loading.pms && e.size === "sm" ? (l(), i("div", x)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (l(), i("div", ee, [
|
|
427
|
-
e.occupied ? (l(),
|
|
427
|
+
e.occupied ? (l(), y(p, {
|
|
428
428
|
key: 0,
|
|
429
429
|
icon: "user",
|
|
430
430
|
type: "fill",
|
|
431
431
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
432
432
|
size: "sm"
|
|
433
433
|
}, null, 8, ["color"])) : t("", !0),
|
|
434
|
-
e.cleanliness ? (l(),
|
|
434
|
+
e.cleanliness ? (l(), y(p, {
|
|
435
435
|
key: 1,
|
|
436
436
|
icon: "spray-bottle",
|
|
437
437
|
type: "fill",
|
|
@@ -440,15 +440,15 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
440
440
|
}, null, 8, ["color"])) : t("", !0)
|
|
441
441
|
])) : t("", !0),
|
|
442
442
|
e.loading.roomNotices ? (l(), i("div", oe)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), i("div", se, [
|
|
443
|
-
(l(!0), i(h, null,
|
|
443
|
+
(l(!0), i(h, null, q(e.tagsList, (o) => (l(), i("a", {
|
|
444
444
|
key: o,
|
|
445
445
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
446
446
|
target: "_blank",
|
|
447
447
|
class: "mr-2 mb-1 capitalize"
|
|
448
448
|
}, [
|
|
449
|
-
|
|
449
|
+
r(f, { position: "bottom" }, {
|
|
450
450
|
trigger: d(() => [
|
|
451
|
-
|
|
451
|
+
r($, {
|
|
452
452
|
class: u([
|
|
453
453
|
"!text-tiny !leading-4",
|
|
454
454
|
"shrink-0 max-w-[100px] !h-auto",
|
|
@@ -472,10 +472,10 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
472
472
|
}, 1024)
|
|
473
473
|
], 8, le))), 128))
|
|
474
474
|
])) : t("", !0),
|
|
475
|
-
|
|
475
|
+
n("div", {
|
|
476
476
|
class: u(["accordions", { closed: e.showCreateRequest }])
|
|
477
477
|
}, [
|
|
478
|
-
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(),
|
|
478
|
+
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), y(O, {
|
|
479
479
|
key: 0,
|
|
480
480
|
modelValue: e.expandGuestInfo,
|
|
481
481
|
"onUpdate:modelValue": s[11] || (s[11] = (o) => e.expandGuestInfo = o),
|
|
@@ -483,13 +483,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
483
483
|
"content-class": "!px-0 !pt-3 !pb-0"
|
|
484
484
|
}, {
|
|
485
485
|
toggle: d(() => [
|
|
486
|
-
|
|
486
|
+
n("div", {
|
|
487
487
|
class: "flex items-center cursor-pointer",
|
|
488
488
|
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
489
489
|
}, [
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
490
|
+
n("div", ie, a(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
491
|
+
r(b, { class: "grow" }),
|
|
492
|
+
r(p, {
|
|
493
493
|
class: u([
|
|
494
494
|
"ml-2 transition-transform",
|
|
495
495
|
{ "rotate-90": e.expandGuestInfo }
|
|
@@ -501,30 +501,30 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
501
501
|
])
|
|
502
502
|
]),
|
|
503
503
|
content: d(() => [
|
|
504
|
-
e.loading.pms ? (l(), i("div", te)) : (l(), i("div",
|
|
505
|
-
e.roomDetailsData.reservations[0].guestName ? (l(), i("p",
|
|
506
|
-
|
|
504
|
+
e.loading.pms ? (l(), i("div", te)) : (l(), i("div", re, [
|
|
505
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), i("p", ne, [
|
|
506
|
+
n("strong", null, a(e.roomDetailsData.reservations[0].guestName), 1)
|
|
507
507
|
])) : t("", !0),
|
|
508
|
-
|
|
508
|
+
n("div", {
|
|
509
509
|
class: u([
|
|
510
510
|
"stay-details-container flex",
|
|
511
511
|
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
512
512
|
])
|
|
513
513
|
}, [
|
|
514
514
|
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), i("div", ae, [
|
|
515
|
-
|
|
516
|
-
|
|
515
|
+
n("div", de, a(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
516
|
+
n("div", ue, a(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
517
517
|
])) : t("", !0),
|
|
518
518
|
e.stayDetails ? (l(), i("div", pe, [
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
n("div", me, a(e.$t("HC_STAY")) + ": ", 1),
|
|
520
|
+
n("div", ge, a(e.stayDetails), 1)
|
|
521
521
|
])) : t("", !0)
|
|
522
522
|
], 2)
|
|
523
523
|
]))
|
|
524
524
|
]),
|
|
525
525
|
_: 1
|
|
526
526
|
}, 8, ["modelValue"])) : t("", !0),
|
|
527
|
-
e.showTickets ? (l(),
|
|
527
|
+
e.showTickets ? (l(), y(O, {
|
|
528
528
|
key: 1,
|
|
529
529
|
modelValue: e.expandTickets,
|
|
530
530
|
"onUpdate:modelValue": s[13] || (s[13] = (o) => e.expandTickets = o),
|
|
@@ -532,13 +532,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
532
532
|
"content-class": "!px-0 !pt-3 !pb-0"
|
|
533
533
|
}, {
|
|
534
534
|
toggle: d(() => [
|
|
535
|
-
|
|
535
|
+
n("div", {
|
|
536
536
|
class: "flex items-center cursor-pointer",
|
|
537
537
|
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
538
538
|
}, [
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
539
|
+
n("div", ye, a(e.$t("HC_OPEN_TICKETS")), 1),
|
|
540
|
+
r(b, { class: "grow" }),
|
|
541
|
+
r(p, {
|
|
542
542
|
class: u([
|
|
543
543
|
"ml-2 transition-transform",
|
|
544
544
|
{ "rotate-90": e.expandTickets }
|
|
@@ -551,14 +551,14 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
551
551
|
]),
|
|
552
552
|
content: d(() => [
|
|
553
553
|
e.loading.tickets ? (l(), i("div", ke)) : e.ticketsList.length ? (l(), i("ul", he, [
|
|
554
|
-
(l(!0), i(h, null,
|
|
554
|
+
(l(!0), i(h, null, q(e.ticketsList, (o, c) => (l(), i("li", {
|
|
555
555
|
key: o.id,
|
|
556
556
|
id: `open-ticket-${o.id}`
|
|
557
557
|
}, [
|
|
558
|
-
|
|
558
|
+
r(M, {
|
|
559
559
|
class: u([
|
|
560
560
|
{
|
|
561
|
-
"mt-3":
|
|
561
|
+
"mt-3": c > 0,
|
|
562
562
|
pulse: o.isNew
|
|
563
563
|
}
|
|
564
564
|
]),
|
|
@@ -575,7 +575,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
575
575
|
]),
|
|
576
576
|
_: 1
|
|
577
577
|
}, 8, ["modelValue"])) : t("", !0),
|
|
578
|
-
e.showComments ? (l(),
|
|
578
|
+
e.showComments ? (l(), y(O, {
|
|
579
579
|
key: 2,
|
|
580
580
|
modelValue: e.expandComments,
|
|
581
581
|
"onUpdate:modelValue": s[19] || (s[19] = (o) => e.expandComments = o),
|
|
@@ -583,13 +583,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
583
583
|
"content-class": "!px-0 !pt-3 !pb-0"
|
|
584
584
|
}, {
|
|
585
585
|
toggle: d(() => [
|
|
586
|
-
|
|
586
|
+
n("div", {
|
|
587
587
|
class: "flex items-center cursor-pointer",
|
|
588
588
|
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
589
589
|
}, [
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
590
|
+
n("div", fe, a(e.$t("HC_GUEST_CONNECT")), 1),
|
|
591
|
+
r(b, { class: "grow" }),
|
|
592
|
+
r(p, {
|
|
593
593
|
class: u([
|
|
594
594
|
"ml-2 transition-transform",
|
|
595
595
|
{ "rotate-90": e.expandComments }
|
|
@@ -601,7 +601,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
601
601
|
])
|
|
602
602
|
]),
|
|
603
603
|
content: d(() => [
|
|
604
|
-
|
|
604
|
+
n("div", {
|
|
605
605
|
class: u([
|
|
606
606
|
"quick-replies-container",
|
|
607
607
|
"flex flex-col",
|
|
@@ -614,37 +614,37 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
614
614
|
}
|
|
615
615
|
])
|
|
616
616
|
}, [
|
|
617
|
-
e.filteredReplies.length ? (l(), i("div",
|
|
618
|
-
(l(!0), i(h, null,
|
|
617
|
+
e.filteredReplies.length ? (l(), i("div", qe, [
|
|
618
|
+
(l(!0), i(h, null, q(e.filteredReplies, (o) => (l(), i("div", {
|
|
619
619
|
key: o,
|
|
620
620
|
class: u([
|
|
621
621
|
"quick-reply",
|
|
622
622
|
{ active: e.comment }
|
|
623
623
|
]),
|
|
624
|
-
onClick: (
|
|
624
|
+
onClick: (c) => e.onSelectQuickReply(o)
|
|
625
625
|
}, [
|
|
626
|
-
|
|
627
|
-
], 10,
|
|
628
|
-
])) : (l(), i("div",
|
|
626
|
+
n("div", null, a(o), 1)
|
|
627
|
+
], 10, be))), 128))
|
|
628
|
+
])) : (l(), i("div", Te, a(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + a(e.comment) + '". ', 1))
|
|
629
629
|
], 2),
|
|
630
|
-
|
|
631
|
-
|
|
630
|
+
n("div", Ce, [
|
|
631
|
+
n("div", ce, [
|
|
632
632
|
e.loading.messages ? (l(), i("div", Oe, [...s[55] || (s[55] = [
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
633
|
+
n("div", { class: "flex gap-2 items-end" }, [
|
|
634
|
+
n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" }),
|
|
635
|
+
n("div", { class: "animate-shimmer bg-gray-10 h-12 w-3/4 rounded-lg" })
|
|
636
636
|
], -1),
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
637
|
+
n("div", { class: "flex gap-2 items-end justify-end" }, [
|
|
638
|
+
n("div", { class: "animate-shimmer bg-gray-10 h-10 w-2/3 rounded-lg" }),
|
|
639
|
+
n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" })
|
|
640
640
|
], -1),
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
641
|
+
n("div", { class: "flex gap-2 items-end" }, [
|
|
642
|
+
n("div", { class: "animate-shimmer bg-gray-20 w-8 h-8 rounded-full shrink-0" }),
|
|
643
|
+
n("div", { class: "animate-shimmer bg-gray-10 h-8 w-1/2 rounded-lg" })
|
|
644
644
|
], -1)
|
|
645
|
-
])])) : (l(!0), i(h, { key: 1 },
|
|
645
|
+
])])) : (l(!0), i(h, { key: 1 }, q(e.groupedMessages, (o, c) => (l(), i(h, { key: c }, [
|
|
646
646
|
o.type === "separator" ? (l(), i("div", Ee, [
|
|
647
|
-
|
|
647
|
+
n("span", $e, a(o.label), 1)
|
|
648
648
|
])) : (l(), i("div", {
|
|
649
649
|
key: 1,
|
|
650
650
|
class: u([
|
|
@@ -656,9 +656,9 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
656
656
|
])
|
|
657
657
|
}, [
|
|
658
658
|
o.isGuestMessage ? (l(), i("div", Se, [
|
|
659
|
-
|
|
659
|
+
r(f, { position: "top" }, {
|
|
660
660
|
trigger: d(() => [
|
|
661
|
-
|
|
661
|
+
r(D, {
|
|
662
662
|
initials: o.user?.initials || "?",
|
|
663
663
|
src: o.user?.src || "",
|
|
664
664
|
size: "sm"
|
|
@@ -670,14 +670,14 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
670
670
|
_: 2
|
|
671
671
|
}, 1024)
|
|
672
672
|
])) : t("", !0),
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
673
|
+
n("div", De, [
|
|
674
|
+
n("div", He, a(o.formattedTime), 1),
|
|
675
|
+
n("div", Ve, a(o.comment), 1)
|
|
676
676
|
]),
|
|
677
677
|
o.isStaffMessage ? (l(), i("div", Me, [
|
|
678
|
-
|
|
678
|
+
r(D, { size: "sm" }, {
|
|
679
679
|
default: d(() => [
|
|
680
|
-
|
|
680
|
+
r(p, {
|
|
681
681
|
icon: "building",
|
|
682
682
|
size: "sm",
|
|
683
683
|
color: "gray-30",
|
|
@@ -692,18 +692,18 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
692
692
|
!e.loading.messages && !e.groupedMessages.length ? (l(), i("div", Ne, a(e.$t("HC_NO_MESSAGES_YET")), 1)) : t("", !0)
|
|
693
693
|
]),
|
|
694
694
|
e.isTestEnvironment && e.simulateOpen ? (l(), i("div", Ue, [
|
|
695
|
-
|
|
696
|
-
s[56] || (s[56] =
|
|
697
|
-
|
|
698
|
-
|
|
695
|
+
n("div", Ae, [
|
|
696
|
+
s[56] || (s[56] = n("span", { class: "simulate-badge" }, "TEST", -1)),
|
|
697
|
+
n("span", null, a(e.$t("HC_SIMULATE_GUEST_REPLY")), 1),
|
|
698
|
+
r(p, {
|
|
699
699
|
icon: "close",
|
|
700
700
|
size: "sm",
|
|
701
701
|
class: "cursor-pointer ml-auto",
|
|
702
702
|
onClick: e.toggleSimulateOpen
|
|
703
703
|
}, null, 8, ["onClick"])
|
|
704
704
|
]),
|
|
705
|
-
|
|
706
|
-
|
|
705
|
+
n("div", Re, [
|
|
706
|
+
r(v, {
|
|
707
707
|
id: "simulate-content",
|
|
708
708
|
modelValue: e.simulateContent,
|
|
709
709
|
"onUpdate:modelValue": s[15] || (s[15] = (o) => e.simulateContent = o),
|
|
@@ -713,8 +713,8 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
713
713
|
rows: 2,
|
|
714
714
|
onKeydown: H(E(e.simulateGuestReply, ["prevent"]), ["enter"])
|
|
715
715
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
716
|
-
|
|
717
|
-
|
|
716
|
+
n("div", Ie, [
|
|
717
|
+
r(T, {
|
|
718
718
|
disabled: !e.simulateContent.trim() || e.simulateLoading,
|
|
719
719
|
loading: e.simulateLoading,
|
|
720
720
|
size: "xsm",
|
|
@@ -729,8 +729,8 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
729
729
|
])
|
|
730
730
|
])
|
|
731
731
|
])) : t("", !0),
|
|
732
|
-
|
|
733
|
-
|
|
732
|
+
n("div", Ge, [
|
|
733
|
+
n("div", Le, [
|
|
734
734
|
e.messages.length > 0 ? (l(), i("div", {
|
|
735
735
|
key: 0,
|
|
736
736
|
class: u([
|
|
@@ -758,8 +758,8 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
758
758
|
style: { color: "#e67e22" },
|
|
759
759
|
onClick: s[17] || (s[17] = (...o) => e.toggleSimulateOpen && e.toggleSimulateOpen(...o))
|
|
760
760
|
}, a(e.$t("HC_SIMULATE")), 3)) : t("", !0),
|
|
761
|
-
|
|
762
|
-
|
|
761
|
+
n("div", Ye, [
|
|
762
|
+
r(v, {
|
|
763
763
|
id: "comment-field",
|
|
764
764
|
modelValue: e.comment,
|
|
765
765
|
"onUpdate:modelValue": s[18] || (s[18] = (o) => e.comment = o),
|
|
@@ -767,14 +767,15 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
767
767
|
placeholder: e.quickReplyOpen ? e.$t("HC_SEARCH_REPLIES") : e.$t("HC_WRITE_A_MESSAGE"),
|
|
768
768
|
rows: 1,
|
|
769
769
|
"control-class": "w-full",
|
|
770
|
+
"floating-label": "",
|
|
770
771
|
onKeydown: H(e.sendChatMessage, ["enter"])
|
|
771
772
|
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
772
|
-
|
|
773
|
+
n("div", {
|
|
773
774
|
id: "hidden-text",
|
|
774
775
|
class: "text-sm",
|
|
775
776
|
innerHTML: e.comment
|
|
776
777
|
}, null, 8, Pe),
|
|
777
|
-
|
|
778
|
+
r(p, {
|
|
778
779
|
id: "quick-reply-trigger",
|
|
779
780
|
icon: "comment-lines",
|
|
780
781
|
class: "cursor-pointer !absolute top-1/2 -translate-y-1/2 mb-1",
|
|
@@ -783,7 +784,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
783
784
|
type: e.quickReplyOpen ? "fill" : "outline",
|
|
784
785
|
onClick: e.toggleQuickReply
|
|
785
786
|
}, null, 8, ["color", "type", "onClick"]),
|
|
786
|
-
|
|
787
|
+
r(T, {
|
|
787
788
|
id: "send-comment",
|
|
788
789
|
disabled: !e.comment || e.quickReplyOpen || e.loading.sendingMessage,
|
|
789
790
|
loading: e.loading.sendingMessage,
|
|
@@ -806,7 +807,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
806
807
|
_: 1
|
|
807
808
|
}, 8, ["modelValue"])) : t("", !0)
|
|
808
809
|
], 2),
|
|
809
|
-
|
|
810
|
+
n("div", {
|
|
810
811
|
id: "add-ticket",
|
|
811
812
|
class: u([
|
|
812
813
|
"add-ticket",
|
|
@@ -816,50 +817,50 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
816
817
|
}
|
|
817
818
|
])
|
|
818
819
|
}, [
|
|
819
|
-
|
|
820
|
+
r(b, {
|
|
820
821
|
class: "text-base section-header mb-3",
|
|
821
822
|
align: "left",
|
|
822
823
|
color: "inkwell-30"
|
|
823
824
|
}, {
|
|
824
825
|
default: d(() => [
|
|
825
|
-
|
|
826
|
-
|
|
826
|
+
n("div", Be, [
|
|
827
|
+
n("div", We, a(e.$t("HC_ACTION")), 1)
|
|
827
828
|
])
|
|
828
829
|
]),
|
|
829
830
|
_: 1
|
|
830
831
|
}),
|
|
831
|
-
|
|
832
|
+
n("form", {
|
|
832
833
|
class: "flex flex-col",
|
|
833
834
|
onSubmit: s[51] || (s[51] = E((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
834
835
|
}, [
|
|
835
836
|
e.showCreateRequest ? (l(), i("div", Ke, [
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
n("div", je, [
|
|
838
|
+
n("div", Fe, [
|
|
839
|
+
r(m, {
|
|
839
840
|
id: "todo-type",
|
|
840
841
|
"model-value": e.requestType,
|
|
841
842
|
options: e.todoOptions,
|
|
842
843
|
placeholder: e.$t("HC_ACTION_TYPE"),
|
|
843
|
-
|
|
844
|
+
"floating-label": "",
|
|
844
845
|
required: "",
|
|
845
846
|
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.onSelectToDo(o))
|
|
846
847
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
847
848
|
]),
|
|
848
849
|
e.requestType && e.requestType.id === "room_notice" ? (l(), i("div", Ze, [
|
|
849
|
-
|
|
850
|
+
r(m, {
|
|
850
851
|
id: "todo-notice-issue",
|
|
851
852
|
"model-value": e.roomNotice.issue,
|
|
852
853
|
options: e.itemOptionsList,
|
|
853
854
|
disabled: !e.itemOptionsList.length && !e.loading.actionItems,
|
|
854
855
|
loading: e.loading.actionItems,
|
|
855
856
|
placeholder: e.$t("HC_ITEM"),
|
|
856
|
-
|
|
857
|
+
"floating-label": "",
|
|
857
858
|
required: "",
|
|
858
859
|
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.issue = o)
|
|
859
860
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
860
861
|
])) : t("", !0),
|
|
861
862
|
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Qe, [
|
|
862
|
-
|
|
863
|
+
r(w, {
|
|
863
864
|
id: "todo-notice-start-date",
|
|
864
865
|
"model-value": e.roomNotice.startDate,
|
|
865
866
|
"is-today-min": !0,
|
|
@@ -871,13 +872,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
871
872
|
class: "icon-right",
|
|
872
873
|
"input-classes": "datepicker-md text-inkwell-40",
|
|
873
874
|
"wrapper-classes": "ui-overhaul",
|
|
874
|
-
|
|
875
|
+
"floating-label": "",
|
|
875
876
|
required: "",
|
|
876
877
|
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.roomNotice.startDate = o)
|
|
877
878
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
878
879
|
])) : t("", !0),
|
|
879
880
|
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Je, [
|
|
880
|
-
|
|
881
|
+
r(w, {
|
|
881
882
|
id: "todo-notice-end-date",
|
|
882
883
|
"model-value": e.roomNotice.endDate,
|
|
883
884
|
"is-today-min": !0,
|
|
@@ -890,24 +891,25 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
890
891
|
class: "icon-right",
|
|
891
892
|
"input-classes": "datepicker-md text-inkwell-40",
|
|
892
893
|
"wrapper-classes": "ui-overhaul",
|
|
893
|
-
|
|
894
|
+
"floating-label": "",
|
|
894
895
|
required: "",
|
|
895
896
|
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.roomNotice.endDate = o)
|
|
896
897
|
}, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
897
898
|
])) : t("", !0),
|
|
898
899
|
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), i("div", Xe, [
|
|
899
|
-
|
|
900
|
+
r(v, {
|
|
900
901
|
id: "todo-notice-notes",
|
|
901
902
|
modelValue: e.roomNotice.notes,
|
|
902
903
|
"onUpdate:modelValue": s[24] || (s[24] = (o) => e.roomNotice.notes = o),
|
|
903
904
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
904
905
|
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
905
906
|
"control-class": "w-full",
|
|
906
|
-
rows: 2
|
|
907
|
+
rows: 2,
|
|
908
|
+
"floating-label": ""
|
|
907
909
|
}, null, 8, ["modelValue", "placeholder"])
|
|
908
910
|
])) : t("", !0),
|
|
909
911
|
e.requestType && e.requestType.id === "complaint" ? (l(), i("div", _e, [
|
|
910
|
-
|
|
912
|
+
r(m, {
|
|
911
913
|
id: "todo-complaint-problem",
|
|
912
914
|
"model-value": e.complaint.problem,
|
|
913
915
|
options: e.itemOptionsList,
|
|
@@ -915,67 +917,67 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
915
917
|
loading: e.loading.actionItems,
|
|
916
918
|
multiple: !1,
|
|
917
919
|
placeholder: e.$t("HC_PROBLEM"),
|
|
918
|
-
|
|
920
|
+
"floating-label": "",
|
|
919
921
|
required: "",
|
|
920
922
|
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.problem = o)
|
|
921
923
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
922
924
|
])) : t("", !0),
|
|
923
925
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", xe, [
|
|
924
|
-
|
|
926
|
+
r(C, {
|
|
925
927
|
id: "guest-name",
|
|
926
928
|
modelValue: e.complaint.guestName,
|
|
927
929
|
"onUpdate:modelValue": s[26] || (s[26] = (o) => e.complaint.guestName = o),
|
|
928
930
|
placeholder: e.$t("HC_GUEST_NAME"),
|
|
929
931
|
"control-class": "w-full",
|
|
930
932
|
classes: "text-inkwell-30 border-gray-12 ui-overhaul",
|
|
931
|
-
|
|
933
|
+
"floating-label": "",
|
|
932
934
|
required: ""
|
|
933
935
|
}, null, 8, ["modelValue", "placeholder"])
|
|
934
936
|
])) : t("", !0),
|
|
935
937
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", eo, [
|
|
936
|
-
|
|
938
|
+
r(C, {
|
|
937
939
|
id: "guest-phone",
|
|
938
940
|
modelValue: e.complaint.guestPhone,
|
|
939
941
|
"onUpdate:modelValue": s[27] || (s[27] = (o) => e.complaint.guestPhone = o),
|
|
940
942
|
placeholder: e.$t("HC_GUEST_PHONE_NUMBER"),
|
|
941
943
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
942
|
-
|
|
944
|
+
"floating-label": ""
|
|
943
945
|
}, null, 8, ["modelValue", "placeholder"])
|
|
944
946
|
])) : t("", !0),
|
|
945
947
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", oo, [
|
|
946
|
-
|
|
948
|
+
r(C, {
|
|
947
949
|
id: "guest-email",
|
|
948
950
|
modelValue: e.complaint.guestEmail,
|
|
949
951
|
"onUpdate:modelValue": s[28] || (s[28] = (o) => e.complaint.guestEmail = o),
|
|
950
952
|
placeholder: e.$t("HC_GUEST_EMAIL"),
|
|
951
953
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
952
|
-
|
|
954
|
+
"floating-label": ""
|
|
953
955
|
}, null, 8, ["modelValue", "placeholder"])
|
|
954
956
|
])) : t("", !0),
|
|
955
957
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", so, [
|
|
956
|
-
|
|
958
|
+
r(C, {
|
|
957
959
|
id: "guest-loyalty",
|
|
958
960
|
modelValue: e.complaint.guestLoyalty,
|
|
959
961
|
"onUpdate:modelValue": s[29] || (s[29] = (o) => e.complaint.guestLoyalty = o),
|
|
960
962
|
placeholder: e.$t("HC_GUEST_LOYALTY"),
|
|
961
963
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
962
|
-
|
|
964
|
+
"floating-label": ""
|
|
963
965
|
}, null, 8, ["modelValue", "placeholder"])
|
|
964
966
|
])) : t("", !0),
|
|
965
967
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", lo, [
|
|
966
|
-
|
|
968
|
+
r(m, {
|
|
967
969
|
id: "todo-complaint-mood",
|
|
968
970
|
"model-value": e.complaint.guestMood,
|
|
969
971
|
options: e.moodOptions,
|
|
970
972
|
disabled: !e.moodOptions.length,
|
|
971
973
|
placeholder: e.$t("HC_GUEST_MOOD"),
|
|
972
|
-
|
|
974
|
+
"floating-label": "",
|
|
973
975
|
required: "",
|
|
974
976
|
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.guestMood = o)
|
|
975
977
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
976
978
|
])) : t("", !0),
|
|
977
979
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", io, [
|
|
978
|
-
|
|
980
|
+
r(w, {
|
|
979
981
|
id: "todo-complaint-check-in",
|
|
980
982
|
"model-value": e.complaint.checkInDate,
|
|
981
983
|
"is-today-min": !1,
|
|
@@ -987,13 +989,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
987
989
|
class: "icon-right",
|
|
988
990
|
"input-classes": "datepicker-md text-inkwell-40",
|
|
989
991
|
"wrapper-classes": "ui-overhaul",
|
|
990
|
-
|
|
992
|
+
"floating-label": "",
|
|
991
993
|
required: "",
|
|
992
994
|
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.complaint.checkInDate = o)
|
|
993
995
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
994
996
|
])) : t("", !0),
|
|
995
997
|
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", to, [
|
|
996
|
-
|
|
998
|
+
r(w, {
|
|
997
999
|
id: "todo-complaint-check-out",
|
|
998
1000
|
"model-value": e.complaint.checkOutDate,
|
|
999
1001
|
"is-today-min": !1,
|
|
@@ -1006,24 +1008,25 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1006
1008
|
class: "icon-right",
|
|
1007
1009
|
"input-classes": "datepicker-md text-inkwell-40",
|
|
1008
1010
|
"wrapper-classes": "ui-overhaul",
|
|
1009
|
-
|
|
1011
|
+
"floating-label": "",
|
|
1010
1012
|
required: "",
|
|
1011
1013
|
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.complaint.checkOutDate = o)
|
|
1012
1014
|
}, null, 8, ["model-value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
1013
1015
|
])) : t("", !0),
|
|
1014
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div",
|
|
1015
|
-
|
|
1016
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), i("div", ro, [
|
|
1017
|
+
r(v, {
|
|
1016
1018
|
id: "todo-complaint-notes",
|
|
1017
1019
|
modelValue: e.complaint.notes,
|
|
1018
1020
|
"onUpdate:modelValue": s[33] || (s[33] = (o) => e.complaint.notes = o),
|
|
1019
1021
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1020
1022
|
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
1021
1023
|
"control-class": "w-full",
|
|
1022
|
-
rows: 2
|
|
1024
|
+
rows: 2,
|
|
1025
|
+
"floating-label": ""
|
|
1023
1026
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1024
1027
|
])) : t("", !0),
|
|
1025
|
-
e.requestType && e.requestType.id === "work_order" ? (l(), i("div",
|
|
1026
|
-
|
|
1028
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), i("div", no, [
|
|
1029
|
+
r(m, {
|
|
1027
1030
|
id: "todo-work-order-item",
|
|
1028
1031
|
"model-value": e.workOrder.item,
|
|
1029
1032
|
options: e.itemOptionsList,
|
|
@@ -1033,58 +1036,58 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1033
1036
|
placeholder: e.$t("HC_ITEM"),
|
|
1034
1037
|
"group-label": "group",
|
|
1035
1038
|
"group-values": "options",
|
|
1036
|
-
|
|
1039
|
+
"floating-label": "",
|
|
1037
1040
|
required: "",
|
|
1038
1041
|
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.item = o)
|
|
1039
1042
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
1040
1043
|
])) : t("", !0),
|
|
1041
1044
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), i("div", ao, [
|
|
1042
|
-
|
|
1045
|
+
r(m, {
|
|
1043
1046
|
id: "todo-work-order-issue",
|
|
1044
1047
|
"model-value": e.workOrder.issue,
|
|
1045
1048
|
options: e.workOrderIssues,
|
|
1046
1049
|
disabled: !e.workOrderIssues.length,
|
|
1047
1050
|
placeholder: e.$t("HC_ISSUE"),
|
|
1048
|
-
|
|
1051
|
+
"floating-label": "",
|
|
1049
1052
|
required: "",
|
|
1050
1053
|
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.issue = o)
|
|
1051
1054
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1052
1055
|
])) : t("", !0),
|
|
1053
1056
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", uo, [
|
|
1054
|
-
|
|
1057
|
+
r(m, {
|
|
1055
1058
|
id: "todo-work-order-requested-by",
|
|
1056
1059
|
"model-value": e.workOrder.requestedBy,
|
|
1057
1060
|
options: e.requestedByOptions,
|
|
1058
1061
|
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
1059
|
-
|
|
1062
|
+
"floating-label": "",
|
|
1060
1063
|
required: "",
|
|
1061
1064
|
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.requestedBy = o)
|
|
1062
1065
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1063
1066
|
])) : t("", !0),
|
|
1064
1067
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", po, [
|
|
1065
|
-
|
|
1068
|
+
r(m, {
|
|
1066
1069
|
id: "todo-work-order-assign-type",
|
|
1067
1070
|
"model-value": e.workOrder.assignType,
|
|
1068
1071
|
options: e.assignTypes,
|
|
1069
1072
|
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
1070
|
-
|
|
1073
|
+
"floating-label": "",
|
|
1071
1074
|
required: "",
|
|
1072
1075
|
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.assignType = o)
|
|
1073
1076
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1074
1077
|
])) : t("", !0),
|
|
1075
1078
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", mo, [
|
|
1076
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (l(),
|
|
1079
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (l(), y(m, {
|
|
1077
1080
|
key: 0,
|
|
1078
1081
|
id: "todo-work-order-assign-to",
|
|
1079
1082
|
"model-value": e.workOrder.department,
|
|
1080
1083
|
options: e.departments,
|
|
1081
1084
|
disabled: !e.departments.length,
|
|
1082
1085
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1083
|
-
|
|
1086
|
+
"floating-label": "",
|
|
1084
1087
|
required: "",
|
|
1085
1088
|
"onUpdate:modelValue": s[38] || (s[38] = (o) => e.workOrder.department = o)
|
|
1086
1089
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0),
|
|
1087
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 2 ? (l(),
|
|
1090
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 2 ? (l(), y(m, {
|
|
1088
1091
|
key: 1,
|
|
1089
1092
|
id: "todo-work-order-assign-to",
|
|
1090
1093
|
"model-value": e.workOrder.person,
|
|
@@ -1094,13 +1097,13 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1094
1097
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1095
1098
|
"group-label": "group",
|
|
1096
1099
|
"group-values": "options",
|
|
1097
|
-
|
|
1100
|
+
"floating-label": "",
|
|
1098
1101
|
required: "",
|
|
1099
1102
|
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.workOrder.person = o)
|
|
1100
1103
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
|
|
1101
1104
|
])) : t("", !0),
|
|
1102
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1103
|
-
|
|
1105
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", go, [
|
|
1106
|
+
r(w, {
|
|
1104
1107
|
id: "todo-work-order-due",
|
|
1105
1108
|
"model-value": e.workOrder.due,
|
|
1106
1109
|
"is-today-min": !0,
|
|
@@ -1112,48 +1115,49 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1112
1115
|
class: "icon-right",
|
|
1113
1116
|
"input-classes": "datepicker-md text-inkwell-40",
|
|
1114
1117
|
"wrapper-classes": "ui-overhaul",
|
|
1115
|
-
|
|
1118
|
+
"floating-label": "",
|
|
1116
1119
|
required: "",
|
|
1117
1120
|
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.workOrder.due = o)
|
|
1118
1121
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
1119
1122
|
])) : t("", !0),
|
|
1120
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div",
|
|
1121
|
-
|
|
1123
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), i("div", yo, [
|
|
1124
|
+
r(v, {
|
|
1122
1125
|
id: "todo-work-order-notes",
|
|
1123
1126
|
modelValue: e.workOrder.notes,
|
|
1124
1127
|
"onUpdate:modelValue": s[41] || (s[41] = (o) => e.workOrder.notes = o),
|
|
1125
1128
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1126
1129
|
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
1127
1130
|
"control-class": "w-full",
|
|
1128
|
-
rows: 2
|
|
1131
|
+
rows: 2,
|
|
1132
|
+
"floating-label": ""
|
|
1129
1133
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1130
1134
|
])) : t("", !0),
|
|
1131
1135
|
e.requestType && e.requestType.id === "request" ? (l(), i("div", ko, [
|
|
1132
|
-
|
|
1136
|
+
r(m, {
|
|
1133
1137
|
id: "todo-request-item",
|
|
1134
1138
|
"model-value": e.request.item,
|
|
1135
1139
|
options: e.itemOptionsList,
|
|
1136
1140
|
disabled: !e.itemOptionsList.length && !e.loading.actionItems,
|
|
1137
1141
|
loading: e.loading.actionItems,
|
|
1138
1142
|
placeholder: e.$t("HC_ITEM"),
|
|
1139
|
-
|
|
1143
|
+
"floating-label": "",
|
|
1140
1144
|
required: "",
|
|
1141
1145
|
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.item = o)
|
|
1142
1146
|
}, null, 8, ["model-value", "options", "disabled", "loading", "placeholder"])
|
|
1143
1147
|
])) : t("", !0),
|
|
1144
1148
|
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", ho, [
|
|
1145
|
-
|
|
1149
|
+
r(m, {
|
|
1146
1150
|
id: "todo-request-requested-by",
|
|
1147
1151
|
"model-value": e.request.requestedBy,
|
|
1148
1152
|
options: e.requestedByOptions,
|
|
1149
1153
|
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
1150
|
-
|
|
1154
|
+
"floating-label": "",
|
|
1151
1155
|
required: "",
|
|
1152
1156
|
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.requestedBy = o)
|
|
1153
1157
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1154
1158
|
])) : t("", !0),
|
|
1155
1159
|
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", vo, [
|
|
1156
|
-
|
|
1160
|
+
r(w, {
|
|
1157
1161
|
id: "todo-request-due",
|
|
1158
1162
|
"model-value": e.request.due,
|
|
1159
1163
|
"is-today-min": !0,
|
|
@@ -1165,35 +1169,35 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1165
1169
|
class: "icon-right",
|
|
1166
1170
|
"input-classes": "datepicker-md text-inkwell-40",
|
|
1167
1171
|
"wrapper-classes": "ui-overhaul",
|
|
1168
|
-
|
|
1172
|
+
"floating-label": "",
|
|
1169
1173
|
required: "",
|
|
1170
1174
|
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.due = o)
|
|
1171
1175
|
}, null, 8, ["model-value", "property-timezone", "locale", "placeholder"])
|
|
1172
1176
|
])) : t("", !0),
|
|
1173
1177
|
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", wo, [
|
|
1174
|
-
|
|
1178
|
+
r(m, {
|
|
1175
1179
|
id: "todo-request-assign-type",
|
|
1176
1180
|
"model-value": e.request.assignType,
|
|
1177
1181
|
options: e.assignTypes,
|
|
1178
1182
|
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
1179
|
-
|
|
1183
|
+
"floating-label": "",
|
|
1180
1184
|
required: "",
|
|
1181
1185
|
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.assignType = o)
|
|
1182
1186
|
}, null, 8, ["model-value", "options", "placeholder"])
|
|
1183
1187
|
])) : t("", !0),
|
|
1184
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1185
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(),
|
|
1188
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", fo, [
|
|
1189
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), y(m, {
|
|
1186
1190
|
key: 0,
|
|
1187
1191
|
id: "todo-request-assign-to",
|
|
1188
1192
|
"model-value": e.request.department,
|
|
1189
1193
|
options: e.departments,
|
|
1190
1194
|
disabled: !e.departments.length,
|
|
1191
1195
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1192
|
-
|
|
1196
|
+
"floating-label": "",
|
|
1193
1197
|
required: "",
|
|
1194
1198
|
"onUpdate:modelValue": s[46] || (s[46] = (o) => e.request.department = o)
|
|
1195
1199
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0),
|
|
1196
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (l(),
|
|
1200
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (l(), y(m, {
|
|
1197
1201
|
key: 1,
|
|
1198
1202
|
id: "todo-request-assign-to",
|
|
1199
1203
|
"model-value": e.request.person,
|
|
@@ -1203,48 +1207,49 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1203
1207
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1204
1208
|
"group-label": "group",
|
|
1205
1209
|
"group-values": "options",
|
|
1206
|
-
|
|
1210
|
+
"floating-label": "",
|
|
1207
1211
|
required: "",
|
|
1208
1212
|
"onUpdate:modelValue": s[47] || (s[47] = (o) => e.request.person = o)
|
|
1209
1213
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])) : t("", !0)
|
|
1210
1214
|
])) : t("", !0),
|
|
1211
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div",
|
|
1212
|
-
|
|
1215
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div", qo, [
|
|
1216
|
+
r(m, {
|
|
1213
1217
|
id: "todo-request-when",
|
|
1214
1218
|
"model-value": e.request.when,
|
|
1215
1219
|
options: e.whenOptions,
|
|
1216
1220
|
disabled: !e.whenOptions.length,
|
|
1217
1221
|
placeholder: e.$t("HC_SELECT_WHEN"),
|
|
1218
|
-
|
|
1222
|
+
"floating-label": "",
|
|
1219
1223
|
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.request.when = o)
|
|
1220
1224
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1221
1225
|
])) : t("", !0),
|
|
1222
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div",
|
|
1223
|
-
|
|
1226
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), i("div", bo, [
|
|
1227
|
+
r(m, {
|
|
1224
1228
|
id: "todo-request-where",
|
|
1225
1229
|
"model-value": e.request.where,
|
|
1226
1230
|
options: e.whereOptions,
|
|
1227
1231
|
disabled: !e.whereOptions.length,
|
|
1228
1232
|
placeholder: e.$t("HC_SELECT_WHERE"),
|
|
1229
|
-
|
|
1233
|
+
"floating-label": "",
|
|
1230
1234
|
"onUpdate:modelValue": s[49] || (s[49] = (o) => e.request.where = o)
|
|
1231
1235
|
}, null, 8, ["model-value", "options", "disabled", "placeholder"])
|
|
1232
1236
|
])) : t("", !0),
|
|
1233
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div",
|
|
1234
|
-
|
|
1237
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), i("div", To, [
|
|
1238
|
+
r(v, {
|
|
1235
1239
|
id: "todo-request-notes",
|
|
1236
1240
|
modelValue: e.request.notes,
|
|
1237
1241
|
"onUpdate:modelValue": s[50] || (s[50] = (o) => e.request.notes = o),
|
|
1238
1242
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1239
1243
|
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
1240
1244
|
"control-class": "w-full",
|
|
1241
|
-
rows: 2
|
|
1245
|
+
rows: 2,
|
|
1246
|
+
"floating-label": ""
|
|
1242
1247
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1243
1248
|
])) : t("", !0)
|
|
1244
1249
|
])
|
|
1245
1250
|
])) : t("", !0),
|
|
1246
|
-
|
|
1247
|
-
|
|
1251
|
+
n("div", Co, [
|
|
1252
|
+
r(T, {
|
|
1248
1253
|
status: "secondary",
|
|
1249
1254
|
onClick: E(e.closeRequest, ["prevent"])
|
|
1250
1255
|
}, {
|
|
@@ -1253,7 +1258,7 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1253
1258
|
]),
|
|
1254
1259
|
_: 1
|
|
1255
1260
|
}, 8, ["onClick"]),
|
|
1256
|
-
|
|
1261
|
+
r(T, {
|
|
1257
1262
|
disabled: !e.validateToDo,
|
|
1258
1263
|
loading: e.requestLoading,
|
|
1259
1264
|
"use-loading-spinner": !0,
|
|
@@ -1267,15 +1272,15 @@ function $o(e, s, So, Do, Ho, Vo) {
|
|
|
1267
1272
|
])
|
|
1268
1273
|
], 32)
|
|
1269
1274
|
], 2),
|
|
1270
|
-
e.loading.pms ? (l(), i("div",
|
|
1271
|
-
|
|
1275
|
+
e.loading.pms ? (l(), i("div", co)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), i("div", Oo, [
|
|
1276
|
+
r(p, {
|
|
1272
1277
|
class: "flex-shrink-1 mr-2",
|
|
1273
1278
|
size: "sm",
|
|
1274
1279
|
color: "inkwell-0",
|
|
1275
1280
|
icon: "clock-alarm",
|
|
1276
1281
|
type: "outline"
|
|
1277
1282
|
}),
|
|
1278
|
-
|
|
1283
|
+
n("p", Eo, a(e.$t("HC_PMS_UPDATED")) + " " + a(e.DateTime.fromISO(
|
|
1279
1284
|
e.roomDetailsData.updatedAt
|
|
1280
1285
|
).toRelative({ locale: e.locale })), 1)
|
|
1281
1286
|
])) : t("", !0)
|