@quoreadmin/ui 1.6.6 → 1.6.7
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/index139.js +332 -300
- package/dist/index141.js +1 -1
- package/dist/index143.js +4 -4
- package/dist/index153.js +1 -1
- package/dist/index157.js +7 -7
- package/dist/index170.js +14 -14
- package/dist/index171.js +3 -3
- package/dist/index174.js +4 -4
- package/dist/index181.js +10 -10
- package/dist/index182.js +2 -2
- package/dist/index183.js +10 -10
- package/dist/index185.js +1 -1
- package/dist/index186.js +44 -115
- package/dist/index187.js +1188 -42
- package/dist/index189.js +5940 -0
- package/dist/index190.js +99 -5830
- package/dist/index191.js +16 -188
- package/dist/index192.js +8 -25
- package/dist/index193.js +76 -16
- package/dist/index194.js +249 -74
- package/dist/index195.js +13660 -229
- package/dist/index196.js +27 -13684
- package/dist/index197.js +62 -26
- package/dist/index198.js +215 -40
- package/dist/index199.js +276 -206
- package/dist/index20.js +4 -4
- package/dist/index200.js +258 -278
- package/dist/index201.js +32 -287
- package/dist/index202.js +113 -30
- package/dist/index203.js +30 -110
- package/dist/index204.js +26 -36
- package/dist/index205.js +36 -26
- package/dist/index206.js +9 -36
- package/dist/index207.js +19 -9
- package/dist/index208.js +10 -19
- package/dist/index209.js +10 -10
- package/dist/index210.js +51 -10
- package/dist/index211.js +37 -45
- package/dist/index212.js +3 -42
- package/dist/index213.js +38 -3
- package/dist/index214.js +21 -39
- package/dist/index215.js +88 -21
- package/dist/index216.js +389 -70
- package/dist/index217.js +21 -406
- package/dist/index218.js +159 -20
- package/dist/index219.js +19 -160
- package/dist/index220.js +20 -228
- package/dist/index221.js +21 -36
- package/dist/index222.js +198 -9
- package/dist/index223.js +64 -121
- package/dist/index224.js +32 -36
- package/dist/index225.js +40 -80
- package/dist/index226.js +14 -12
- package/dist/index227.js +14 -12
- package/dist/index228.js +12 -12
- package/dist/index229.js +836 -20
- package/dist/index230.js +701 -19
- package/dist/index231.js +171 -156
- package/dist/index232.js +11 -11
- package/dist/index233.js +13 -15
- package/dist/index234.js +21 -198
- package/dist/index235.js +19 -69
- package/dist/index236.js +20 -34
- package/dist/index237.js +3 -40
- package/dist/index238.js +186 -21
- package/dist/index239.js +132 -21
- package/dist/index240.js +1223 -20
- package/dist/index241.js +114 -823
- package/dist/index242.js +19 -701
- package/dist/index243.js +22 -176
- package/dist/index244.js +8 -8
- package/dist/index245.js +37 -19
- package/dist/index246.js +22 -13
- package/dist/index247.js +20 -3
- package/dist/index248.js +19 -186
- package/dist/index249.js +2 -133
- package/dist/index250.js +2 -1223
- package/dist/index251.js +3632 -20
- package/dist/index252.js +55 -22
- package/dist/index253.js +77 -22
- package/dist/index254.js +52 -29
- package/dist/index255.js +215 -20
- package/dist/index256.js +10 -20
- package/dist/index257.js +57 -2
- package/dist/index258.js +61 -2
- package/dist/index259.js +39 -3617
- package/dist/index260.js +50 -30
- package/dist/index261.js +689 -43
- package/dist/index262.js +22 -35
- package/dist/index263.js +34 -185
- package/dist/index264.js +10 -9
- package/dist/index265.js +697 -49
- package/dist/index266.js +816 -57
- package/dist/index267.js +160 -53
- package/dist/index268.js +225 -72
- package/dist/index269.js +34 -720
- package/dist/index270.js +10 -39
- package/dist/index271.js +73 -57
- package/dist/index272.js +20 -11
- package/dist/index273.js +20 -705
- package/dist/index274.js +234 -801
- package/dist/index275.js +8 -253
- package/dist/index276.js +138 -8
- package/dist/index277.js +68 -123
- package/dist/index278.js +50 -79
- package/dist/index279.js +79 -3
- package/dist/index280.js +25 -26
- package/dist/index281.js +22 -2
- package/dist/index282.js +21 -78
- package/dist/index283.js +14 -52
- package/dist/index284.js +17 -26
- package/dist/index285.js +23 -22
- package/dist/index286.js +1518 -22
- package/dist/index287.js +386 -16
- package/dist/index288.js +2731 -17
- package/dist/index289.js +85 -22
- package/dist/index290.js +3770 -79
- package/dist/index291.js +59 -21
- package/dist/index292.js +14 -934
- package/dist/index293.js +83 -21
- package/dist/index294.js +202 -20
- package/dist/index295.js +246 -20
- package/dist/index296.js +77 -67
- package/dist/index297.js +21 -18
- package/dist/index298.js +934 -18
- package/dist/index299.js +16 -16
- package/dist/index300.js +11 -13
- package/dist/index301.js +19 -62
- package/dist/index302.js +69 -1518
- package/dist/index303.js +19 -386
- package/dist/index304.js +19 -2731
- package/dist/index305.js +21 -85
- package/dist/index306.js +22 -3770
- package/dist/index307.js +63 -60
- package/dist/index308.js +2 -15
- package/dist/index309.js +3 -84
- package/dist/index310.js +22 -197
- package/dist/index311.js +219 -230
- package/dist/index312.js +4 -233
- package/dist/index313.js +133 -5
- package/dist/index314.js +63 -129
- package/dist/index315.js +86 -67
- package/dist/index316.js +27 -85
- package/dist/index317.js +8 -28
- package/dist/index318.js +74 -8
- package/dist/index319.js +3 -74
- package/dist/index320.js +2 -4
- package/dist/index321.js +83 -2
- package/dist/index322.js +52 -81
- package/dist/index323.js +5 -53
- package/dist/index324.js +4 -5
- package/dist/index325.js +178 -4
- package/dist/index326.js +58 -174
- package/dist/index327.js +73 -61
- package/dist/index328.js +36 -74
- package/dist/index329.js +19 -8
- package/dist/index330.js +19 -12
- package/dist/index331.js +60 -51
- package/dist/index332.js +37 -12
- package/dist/index333.js +8 -13
- package/dist/index334.js +12 -57
- package/dist/index335.js +51 -48
- package/dist/index336.js +9 -28
- package/dist/index337.js +14 -2
- package/dist/index338.js +58 -5
- package/dist/index339.js +52 -2
- package/dist/index340.js +30 -22
- package/dist/index341.js +2 -41
- package/dist/index342.js +5 -2
- package/dist/index343.js +2 -11
- package/dist/index344.js +22 -19
- package/dist/index345.js +38 -14
- package/dist/index346.js +2 -10
- package/dist/index347.js +10 -9
- package/dist/index348.js +20 -2
- package/dist/index349.js +16 -8
- package/dist/index350.js +10 -10
- package/dist/index351.js +9 -13
- package/dist/index352.js +2 -37
- package/dist/index353.js +9 -20
- package/dist/index354.js +9 -19
- package/dist/index355.js +14 -64
- package/dist/index356.js +20 -36
- package/dist/index357.js +54 -19
- package/dist/index358.js +28 -55
- package/dist/index359.js +5 -27
- package/dist/index360.js +51 -6
- package/dist/index361.js +5 -51
- package/dist/index362.js +12 -6
- package/dist/index363.js +7 -12
- package/dist/index364.js +27 -6
- package/dist/index365.js +2 -28
- package/dist/index366.js +70 -2
- package/dist/index367.js +164 -67
- package/dist/index368.js +99 -165
- package/dist/index369.js +91 -17
- package/dist/index370.js +95 -98
- package/dist/index371.js +17 -91
- package/dist/index372.js +30 -97
- package/dist/index373.js +10 -30
- package/dist/index374.js +3 -10
- package/dist/index375.js +3 -3
- package/dist/index376.js +13 -4
- package/dist/index377.js +7 -13
- package/dist/index378.js +12 -7
- package/dist/index379.js +4 -11
- package/dist/index380.js +33 -5
- package/dist/index381.js +31 -33
- package/dist/index382.js +26 -29
- package/dist/index383.js +59 -26
- package/dist/index384.js +3 -61
- package/dist/index385.js +2 -3
- package/dist/index386.js +2 -2
- package/dist/index387.js +17 -2
- package/dist/index388.js +11 -15
- package/dist/index389.js +6 -13
- package/dist/index390.js +32 -6
- package/dist/index43.js +321 -314
- package/dist/index47.js +4 -4
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +91 -1
- package/dist/src/components/textarea/textarea.d.ts +1 -1
- package/dist/src/components/textarea/textarea.stories.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index188.js +0 -1192
- package/dist/index391.js +0 -34
package/dist/index43.js
CHANGED
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as y, createElementBlock as
|
|
1
|
+
import N from "./index139.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 v, renderList as c, createTextVNode as h, withKeys as U, withModifiers as V, mergeProps as R, toHandlerKey as H, renderSlot as A } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import G from "./index62.js";
|
|
5
|
+
const I = ["id"], L = ["id"], M = ["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 = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "text-base text-inkwell-30"
|
|
11
|
-
},
|
|
11
|
+
}, B = { key: 0 }, K = { key: 0 }, Y = ["href"], j = { class: "flex items-start" }, F = { class: "list-unstyled text-sm w-full font-normal" }, Z = { class: "grow" }, Q = { class: "grow" }, J = { class: "grow" }, X = { class: "grow" }, _ = { class: "position-relative icon-container ml-auto" }, x = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "animate-shimmer bg-gray-10 w-full h-4 my-4"
|
|
14
|
-
},
|
|
14
|
+
}, ee = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "flex flex-wrap items-center mb-3 gap-2"
|
|
17
|
-
},
|
|
17
|
+
}, oe = {
|
|
18
18
|
key: 2,
|
|
19
19
|
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
20
|
-
},
|
|
20
|
+
}, se = {
|
|
21
21
|
key: 3,
|
|
22
22
|
class: "flex flex-wrap items-center mb-4"
|
|
23
|
-
},
|
|
23
|
+
}, le = ["href"], te = { class: "shrink-0 mr-2 text-sm font-normal" }, ie = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "animate-shimmer bg-gray-10 w-full h-6"
|
|
26
|
-
},
|
|
26
|
+
}, 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
|
+
}, de = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "flex 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
37
|
class: "flex text-xs mb-2 stay-details-row"
|
|
38
|
-
},
|
|
38
|
+
}, me = { class: "text-truncate text-inkwell-0" }, ye = { class: "grow text-inkwell-30" }, ke = { class: "shrink-0 mr-2 text-sm font-normal" }, he = {
|
|
39
39
|
key: 0,
|
|
40
40
|
class: "animate-shimmer bg-gray-30 w-full h-6"
|
|
41
|
-
},
|
|
41
|
+
}, we = {
|
|
42
42
|
key: 1,
|
|
43
43
|
class: "open-tickets"
|
|
44
|
-
},
|
|
44
|
+
}, ge = ["id"], qe = {
|
|
45
45
|
key: 2,
|
|
46
|
-
class: "text-center mx-auto"
|
|
47
|
-
},
|
|
46
|
+
class: "text-center mx-auto font-normal"
|
|
47
|
+
}, Te = { class: "shrink-0 mr-2 text-sm font-normal" }, ve = {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "quick-replies row"
|
|
50
|
-
},
|
|
50
|
+
}, ce = ["onClick"], fe = {
|
|
51
51
|
key: 1,
|
|
52
52
|
class: "text-inkwell-0 text-xxs text-center"
|
|
53
|
-
},
|
|
53
|
+
}, Ce = { class: "flex items-center gap-2 mb-2" }, be = { class: "relative" }, Oe = ["innerHTML"], Ee = { class: "flex items-center add-ticket-divider" }, $e = { class: "grow flex items-center text-sm font-normal" }, Ve = {
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "grow"
|
|
56
|
-
},
|
|
56
|
+
}, He = { class: "grid grid-cols-2 gap-3" }, Se = { class: "field" }, De = {
|
|
57
57
|
key: 0,
|
|
58
58
|
class: "field"
|
|
59
|
-
},
|
|
59
|
+
}, Ne = {
|
|
60
60
|
key: 1,
|
|
61
61
|
class: "field"
|
|
62
|
-
},
|
|
62
|
+
}, Ue = {
|
|
63
63
|
key: 2,
|
|
64
64
|
class: "field"
|
|
65
|
-
},
|
|
65
|
+
}, Re = {
|
|
66
66
|
key: 3,
|
|
67
|
-
class: "field
|
|
68
|
-
},
|
|
67
|
+
class: "field col-span-2"
|
|
68
|
+
}, Ae = {
|
|
69
69
|
key: 4,
|
|
70
70
|
class: "field"
|
|
71
|
-
},
|
|
71
|
+
}, Ge = {
|
|
72
72
|
key: 5,
|
|
73
|
-
class: "field
|
|
74
|
-
},
|
|
73
|
+
class: "field col-span-2"
|
|
74
|
+
}, Ie = {
|
|
75
75
|
key: 6,
|
|
76
76
|
class: "field"
|
|
77
|
-
},
|
|
77
|
+
}, Le = {
|
|
78
78
|
key: 7,
|
|
79
79
|
class: "field"
|
|
80
|
-
},
|
|
80
|
+
}, Me = {
|
|
81
81
|
key: 8,
|
|
82
82
|
class: "field"
|
|
83
|
-
},
|
|
83
|
+
}, ze = {
|
|
84
84
|
key: 9,
|
|
85
85
|
class: "field"
|
|
86
|
-
},
|
|
86
|
+
}, Pe = {
|
|
87
87
|
key: 10,
|
|
88
88
|
class: "field"
|
|
89
|
-
},
|
|
89
|
+
}, We = {
|
|
90
90
|
key: 11,
|
|
91
91
|
class: "field"
|
|
92
|
-
},
|
|
92
|
+
}, Be = {
|
|
93
93
|
key: 12,
|
|
94
|
-
class: "field
|
|
95
|
-
},
|
|
94
|
+
class: "field col-span-2"
|
|
95
|
+
}, Ke = {
|
|
96
96
|
key: 13,
|
|
97
97
|
class: "field"
|
|
98
|
-
},
|
|
98
|
+
}, Ye = {
|
|
99
99
|
key: 14,
|
|
100
100
|
class: "field"
|
|
101
|
-
},
|
|
101
|
+
}, je = {
|
|
102
102
|
key: 15,
|
|
103
103
|
class: "field"
|
|
104
|
-
},
|
|
104
|
+
}, Fe = {
|
|
105
105
|
key: 16,
|
|
106
106
|
class: "field"
|
|
107
|
-
},
|
|
107
|
+
}, Ze = {
|
|
108
108
|
key: 17,
|
|
109
109
|
class: "field"
|
|
110
|
-
},
|
|
110
|
+
}, Qe = {
|
|
111
111
|
key: 18,
|
|
112
112
|
class: "field"
|
|
113
|
-
},
|
|
113
|
+
}, Je = {
|
|
114
114
|
key: 19,
|
|
115
|
-
class: "field
|
|
116
|
-
},
|
|
115
|
+
class: "field col-span-2"
|
|
116
|
+
}, Xe = {
|
|
117
117
|
key: 20,
|
|
118
118
|
class: "field"
|
|
119
|
-
},
|
|
119
|
+
}, _e = {
|
|
120
120
|
key: 21,
|
|
121
121
|
class: "field"
|
|
122
|
-
},
|
|
122
|
+
}, xe = {
|
|
123
123
|
key: 22,
|
|
124
124
|
class: "field"
|
|
125
|
-
},
|
|
125
|
+
}, eo = {
|
|
126
126
|
key: 23,
|
|
127
127
|
class: "field"
|
|
128
|
-
},
|
|
128
|
+
}, oo = {
|
|
129
129
|
key: 24,
|
|
130
130
|
class: "field"
|
|
131
|
-
},
|
|
131
|
+
}, so = {
|
|
132
132
|
key: 25,
|
|
133
133
|
class: "field"
|
|
134
|
-
},
|
|
134
|
+
}, lo = {
|
|
135
135
|
key: 26,
|
|
136
136
|
class: "field"
|
|
137
|
-
},
|
|
137
|
+
}, to = {
|
|
138
138
|
key: 27,
|
|
139
|
-
class: "field
|
|
140
|
-
},
|
|
139
|
+
class: "field col-span-2"
|
|
140
|
+
}, io = {
|
|
141
141
|
class: /* @__PURE__ */ p([
|
|
142
142
|
"actions flex-shrink-0",
|
|
143
|
-
"flex items-center justify-between"
|
|
143
|
+
"flex items-center justify-between mt-4"
|
|
144
144
|
])
|
|
145
|
-
},
|
|
145
|
+
}, ro = {
|
|
146
146
|
key: 4,
|
|
147
147
|
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
148
|
-
},
|
|
148
|
+
}, no = {
|
|
149
149
|
key: 5,
|
|
150
150
|
class: "flex items-center mt-0.5"
|
|
151
|
-
},
|
|
152
|
-
function
|
|
153
|
-
const m = y("q-icon"),
|
|
154
|
-
return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (l(),
|
|
151
|
+
}, ao = { class: "text-xs text-inkwell-0" };
|
|
152
|
+
function po(e, s, uo, mo, yo, ko) {
|
|
153
|
+
const m = y("q-icon"), f = y("q-tooltip"), O = y("q-tag"), E = y("q-popover"), q = y("q-divider"), C = y("q-accordion"), S = y("q-activity-item"), g = y("q-textarea"), b = y("q-button"), D = y("q-comment-section"), u = y("q-select"), w = y("q-date-picker"), T = y("q-input");
|
|
154
|
+
return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (l(), t("div", {
|
|
155
155
|
key: 0,
|
|
156
156
|
id: e.id ? `rdp-${e.id}` : "",
|
|
157
157
|
class: "room-detail component-container text-inkwell-30",
|
|
158
|
-
onMouseleave: s[
|
|
158
|
+
onMouseleave: s[52] || (s[52] = (o) => e.onHoverToggle(!1))
|
|
159
159
|
}, [
|
|
160
|
-
r(
|
|
160
|
+
r(E, {
|
|
161
161
|
"model-value": e.open,
|
|
162
162
|
align: e.alignment,
|
|
163
163
|
position: e.positioning,
|
|
164
164
|
size: (!e.showTickets || e.showTickets && (!e.ticketsList || !e.ticketsList.length)) && !e.showComments && !e.showActionMenu ? "sm" : e.size,
|
|
165
|
-
onClose: s[
|
|
166
|
-
"onUpdate:modelValue": s[
|
|
165
|
+
onClose: s[50] || (s[50] = (o) => e.$emit("toggle", !1)),
|
|
166
|
+
"onUpdate:modelValue": s[51] || (s[51] = (o) => e.$emit("toggle", o))
|
|
167
167
|
}, {
|
|
168
168
|
trigger: a(() => [
|
|
169
|
-
n("div",
|
|
169
|
+
n("div", R({
|
|
170
170
|
ref: "trigger",
|
|
171
171
|
id: e.id ? `rdp-${e.id}-trigger` : "",
|
|
172
172
|
class: "trigger-text"
|
|
173
173
|
}, {
|
|
174
|
-
[
|
|
174
|
+
[H(!e.hover && "click")]: s[0] || (s[0] = (o) => e.$emit("toggle", !e.open))
|
|
175
175
|
}, {
|
|
176
|
-
[
|
|
176
|
+
[H(e.hover && "mouseover")]: s[1] || (s[1] = (o) => e.onHoverToggle(!0))
|
|
177
177
|
}), [
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
A(e.$slots, "trigger", {}, () => [
|
|
179
|
+
h(d(e.trigger), 1)
|
|
180
180
|
], !0)
|
|
181
|
-
], 16,
|
|
181
|
+
], 16, L)
|
|
182
182
|
]),
|
|
183
183
|
content: a(() => [
|
|
184
184
|
n("div", {
|
|
@@ -186,24 +186,24 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
186
186
|
class: "popover-content w-full font-weight-normal cursor-default"
|
|
187
187
|
}, [
|
|
188
188
|
n("div", z, [
|
|
189
|
-
e.loading.pms || e.loading.roomNotices ? (l(),
|
|
189
|
+
e.loading.pms || e.loading.roomNotices ? (l(), t("div", P)) : (l(), t("div", {
|
|
190
190
|
key: 1,
|
|
191
191
|
class: p([
|
|
192
192
|
"flex grow items-center mb-4",
|
|
193
193
|
{ "gap-3": e.showRoomName }
|
|
194
194
|
])
|
|
195
195
|
}, [
|
|
196
|
-
e.showRoomName ? (l(),
|
|
196
|
+
e.showRoomName ? (l(), t("h2", W, [
|
|
197
197
|
n("strong", null, d(e.$t("HC_GUESTROOM")) + " " + d(e.room.name), 1)
|
|
198
|
-
])) :
|
|
199
|
-
(e.occupied || e.cleanliness || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (l(),
|
|
198
|
+
])) : i("", !0),
|
|
199
|
+
(e.occupied || e.cleanliness || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (l(), t("div", {
|
|
200
200
|
key: 1,
|
|
201
201
|
class: p([
|
|
202
202
|
"flex items-center flex-wrap gap-x-2",
|
|
203
203
|
{ "gap-y-3": !e.showRoomName }
|
|
204
204
|
])
|
|
205
205
|
}, [
|
|
206
|
-
e.occupied ? (l(), k(
|
|
206
|
+
e.occupied ? (l(), k(f, {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "flex shrink-0 items-center"
|
|
209
209
|
}, {
|
|
@@ -217,11 +217,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
217
217
|
}, null, 8, ["color"])
|
|
218
218
|
]),
|
|
219
219
|
content: a(() => [
|
|
220
|
-
e.occupancyTooltipContent ? (l(),
|
|
220
|
+
e.occupancyTooltipContent ? (l(), t("div", B, d(e.$t(e.occupancyTooltipContent)), 1)) : i("", !0)
|
|
221
221
|
]),
|
|
222
222
|
_: 1
|
|
223
|
-
})) :
|
|
224
|
-
e.cleanliness ? (l(), k(
|
|
223
|
+
})) : i("", !0),
|
|
224
|
+
e.cleanliness ? (l(), k(f, {
|
|
225
225
|
key: 1,
|
|
226
226
|
class: "flex shrink-0 items-center"
|
|
227
227
|
}, {
|
|
@@ -235,16 +235,16 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
235
235
|
}, null, 8, ["color"])
|
|
236
236
|
]),
|
|
237
237
|
content: a(() => [
|
|
238
|
-
e.cleanlinessTooltipContent ? (l(),
|
|
238
|
+
e.cleanlinessTooltipContent ? (l(), t("div", K, d(e.cleanlinessTooltipContent), 1)) : i("", !0)
|
|
239
239
|
]),
|
|
240
240
|
_: 1
|
|
241
|
-
})) :
|
|
242
|
-
e.tagsList.length && !e.showRoomName ? (l(!0),
|
|
241
|
+
})) : i("", !0),
|
|
242
|
+
e.tagsList.length && !e.showRoomName ? (l(!0), t(v, { key: 2 }, c(e.tagsList, (o) => (l(), t("a", {
|
|
243
243
|
key: o,
|
|
244
244
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
245
245
|
class: "capitalize"
|
|
246
246
|
}, [
|
|
247
|
-
r(
|
|
247
|
+
r(O, {
|
|
248
248
|
class: p([
|
|
249
249
|
"!text-xs !leading-4",
|
|
250
250
|
"shrink-0 max-w-[100px] !h-auto",
|
|
@@ -256,15 +256,15 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
256
256
|
"text-color": "text-inkwell-30"
|
|
257
257
|
}, {
|
|
258
258
|
default: a(() => [
|
|
259
|
-
|
|
259
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
260
260
|
]),
|
|
261
261
|
_: 2
|
|
262
262
|
}, 1032, ["class"])
|
|
263
|
-
], 8,
|
|
264
|
-
], 2)) :
|
|
263
|
+
], 8, Y))), 128)) : i("", !0)
|
|
264
|
+
], 2)) : i("", !0)
|
|
265
265
|
], 2)),
|
|
266
|
-
n("div",
|
|
267
|
-
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), k(
|
|
266
|
+
n("div", j, [
|
|
267
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), k(E, {
|
|
268
268
|
key: 0,
|
|
269
269
|
modelValue: e.actionMenuOpen,
|
|
270
270
|
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
@@ -284,8 +284,8 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
284
284
|
})
|
|
285
285
|
]),
|
|
286
286
|
content: a(() => [
|
|
287
|
-
n("ul",
|
|
288
|
-
e.showActionsLink ? (l(),
|
|
287
|
+
n("ul", F, [
|
|
288
|
+
e.showActionsLink ? (l(), t("li", {
|
|
289
289
|
key: 0,
|
|
290
290
|
class: p([
|
|
291
291
|
"flex items-center",
|
|
@@ -299,14 +299,14 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
299
299
|
}, [
|
|
300
300
|
r(m, {
|
|
301
301
|
class: "shrink-0 mr-1 p-1",
|
|
302
|
-
color: "
|
|
302
|
+
color: "inkwell-10",
|
|
303
303
|
icon: "plus",
|
|
304
304
|
size: "md",
|
|
305
305
|
type: ""
|
|
306
306
|
}),
|
|
307
|
-
n("div",
|
|
308
|
-
], 2)) :
|
|
309
|
-
!e.hasGuestCallback && e.showGuestCallback ? (l(),
|
|
307
|
+
n("div", Z, d(e.$t("HC_ACTION")), 1)
|
|
308
|
+
], 2)) : i("", !0),
|
|
309
|
+
!e.hasGuestCallback && e.showGuestCallback ? (l(), t("li", {
|
|
310
310
|
key: 1,
|
|
311
311
|
class: p([
|
|
312
312
|
"flex items-center",
|
|
@@ -319,14 +319,14 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
319
319
|
}, [
|
|
320
320
|
r(m, {
|
|
321
321
|
class: "shrink-0 mr-1 p-0.5",
|
|
322
|
-
color: "
|
|
322
|
+
color: "inkwell-10",
|
|
323
323
|
icon: "phone-plus",
|
|
324
324
|
size: "md",
|
|
325
|
-
type: "
|
|
325
|
+
type: "fill"
|
|
326
326
|
}),
|
|
327
|
-
n("div",
|
|
328
|
-
], 2)) :
|
|
329
|
-
e.showComments ? (l(),
|
|
327
|
+
n("div", Q, d(e.$t("HC_GUEST_SATISFACTION_CALL")), 1)
|
|
328
|
+
], 2)) : i("", !0),
|
|
329
|
+
e.showComments ? (l(), t("li", {
|
|
330
330
|
key: 2,
|
|
331
331
|
class: p([
|
|
332
332
|
"flex items-center",
|
|
@@ -339,14 +339,14 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
339
339
|
}, [
|
|
340
340
|
r(m, {
|
|
341
341
|
class: "shrink-0 mr-1 p-1",
|
|
342
|
-
color: "
|
|
342
|
+
color: "inkwell-10",
|
|
343
343
|
icon: "pencil",
|
|
344
344
|
size: "md",
|
|
345
|
-
type: "
|
|
345
|
+
type: "fill"
|
|
346
346
|
}),
|
|
347
|
-
n("div",
|
|
348
|
-
], 2)) :
|
|
349
|
-
e.showGuestDetails ? (l(),
|
|
347
|
+
n("div", J, d(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
348
|
+
], 2)) : i("", !0),
|
|
349
|
+
e.showGuestDetails ? (l(), t("li", {
|
|
350
350
|
key: 3,
|
|
351
351
|
class: p([
|
|
352
352
|
"flex items-center",
|
|
@@ -358,19 +358,19 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
358
358
|
}, [
|
|
359
359
|
r(m, {
|
|
360
360
|
class: "shrink-0 mr-1 p-1",
|
|
361
|
-
color: "
|
|
361
|
+
color: "inkwell-10",
|
|
362
362
|
icon: "refresh",
|
|
363
363
|
size: "md",
|
|
364
364
|
type: ""
|
|
365
365
|
}),
|
|
366
|
-
n("div",
|
|
367
|
-
], 2)) :
|
|
366
|
+
n("div", X, d(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
367
|
+
], 2)) : i("", !0)
|
|
368
368
|
])
|
|
369
369
|
]),
|
|
370
370
|
_: 1
|
|
371
|
-
}, 8, ["modelValue"])) :
|
|
372
|
-
n("div",
|
|
373
|
-
r(
|
|
371
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
372
|
+
n("div", _, [
|
|
373
|
+
r(f, null, {
|
|
374
374
|
trigger: a(() => [
|
|
375
375
|
r(m, {
|
|
376
376
|
icon: "close",
|
|
@@ -381,36 +381,36 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
381
381
|
})
|
|
382
382
|
]),
|
|
383
383
|
content: a(() => [
|
|
384
|
-
|
|
384
|
+
h(d(e.$t("HC_CLOSE")), 1)
|
|
385
385
|
]),
|
|
386
386
|
_: 1
|
|
387
387
|
})
|
|
388
388
|
])
|
|
389
389
|
])
|
|
390
390
|
]),
|
|
391
|
-
e.loading.pms && e.size === "sm" ? (l(),
|
|
391
|
+
e.loading.pms && e.size === "sm" ? (l(), t("div", x)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (l(), t("div", ee, [
|
|
392
392
|
e.occupied ? (l(), k(m, {
|
|
393
393
|
key: 0,
|
|
394
394
|
icon: "user",
|
|
395
395
|
type: "fill",
|
|
396
396
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
397
397
|
size: "sm"
|
|
398
|
-
}, null, 8, ["color"])) :
|
|
398
|
+
}, null, 8, ["color"])) : i("", !0),
|
|
399
399
|
e.cleanliness ? (l(), k(m, {
|
|
400
400
|
key: 1,
|
|
401
401
|
icon: "spray-bottle",
|
|
402
402
|
type: "fill",
|
|
403
403
|
color: e.cleanlinessColor,
|
|
404
404
|
size: "sm"
|
|
405
|
-
}, null, 8, ["color"])) :
|
|
406
|
-
])) :
|
|
407
|
-
e.loading.roomNotices ? (l(),
|
|
408
|
-
(l(!0),
|
|
405
|
+
}, null, 8, ["color"])) : i("", !0)
|
|
406
|
+
])) : i("", !0),
|
|
407
|
+
e.loading.roomNotices ? (l(), t("div", oe)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), t("div", se, [
|
|
408
|
+
(l(!0), t(v, null, c(e.tagsList, (o) => (l(), t("a", {
|
|
409
409
|
key: o,
|
|
410
410
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
411
411
|
class: "mr-2 mb-1 capitalize"
|
|
412
412
|
}, [
|
|
413
|
-
r(
|
|
413
|
+
r(O, {
|
|
414
414
|
class: p([
|
|
415
415
|
"!text-tiny !leading-4",
|
|
416
416
|
"shrink-0 max-w-[100px] !h-auto",
|
|
@@ -422,16 +422,16 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
422
422
|
"text-color": "text-inkwell-30"
|
|
423
423
|
}, {
|
|
424
424
|
default: a(() => [
|
|
425
|
-
|
|
425
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
426
426
|
]),
|
|
427
427
|
_: 2
|
|
428
428
|
}, 1032, ["class"])
|
|
429
|
-
], 8,
|
|
430
|
-
])) :
|
|
429
|
+
], 8, le))), 128))
|
|
430
|
+
])) : i("", !0),
|
|
431
431
|
n("div", {
|
|
432
432
|
class: p(["accordions", { closed: e.showCreateRequest }])
|
|
433
433
|
}, [
|
|
434
|
-
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), k(
|
|
434
|
+
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), k(C, {
|
|
435
435
|
key: 0,
|
|
436
436
|
modelValue: e.expandGuestInfo,
|
|
437
437
|
"onUpdate:modelValue": s[11] || (s[11] = (o) => e.expandGuestInfo = o),
|
|
@@ -443,7 +443,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
443
443
|
class: "flex items-center cursor-pointer",
|
|
444
444
|
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
445
445
|
}, [
|
|
446
|
-
n("div",
|
|
446
|
+
n("div", te, d(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
447
447
|
r(q, { class: "grow" }),
|
|
448
448
|
r(m, {
|
|
449
449
|
class: p([
|
|
@@ -457,30 +457,30 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
457
457
|
])
|
|
458
458
|
]),
|
|
459
459
|
content: a(() => [
|
|
460
|
-
e.loading.pms ? (l(),
|
|
461
|
-
e.roomDetailsData.reservations[0].guestName ? (l(),
|
|
460
|
+
e.loading.pms ? (l(), t("div", ie)) : (l(), t("div", re, [
|
|
461
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), t("p", ne, [
|
|
462
462
|
n("strong", null, d(e.roomDetailsData.reservations[0].guestName), 1)
|
|
463
|
-
])) :
|
|
463
|
+
])) : i("", !0),
|
|
464
464
|
n("div", {
|
|
465
465
|
class: p([
|
|
466
466
|
"stay-details-container flex",
|
|
467
467
|
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
468
468
|
])
|
|
469
469
|
}, [
|
|
470
|
-
e.roomDetailsData.reservations[0].confirmationNumber ? (l(),
|
|
471
|
-
n("div",
|
|
472
|
-
n("div",
|
|
473
|
-
])) :
|
|
474
|
-
e.stayDetails ? (l(),
|
|
475
|
-
n("div",
|
|
476
|
-
n("div",
|
|
477
|
-
])) :
|
|
470
|
+
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), t("div", de, [
|
|
471
|
+
n("div", ae, d(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
472
|
+
n("div", pe, d(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
473
|
+
])) : i("", !0),
|
|
474
|
+
e.stayDetails ? (l(), t("div", ue, [
|
|
475
|
+
n("div", me, d(e.$t("HC_STAY")) + ": ", 1),
|
|
476
|
+
n("div", ye, d(e.stayDetails), 1)
|
|
477
|
+
])) : i("", !0)
|
|
478
478
|
], 2)
|
|
479
479
|
]))
|
|
480
480
|
]),
|
|
481
481
|
_: 1
|
|
482
|
-
}, 8, ["modelValue"])) :
|
|
483
|
-
e.showTickets ? (l(), k(
|
|
482
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
483
|
+
e.showTickets ? (l(), k(C, {
|
|
484
484
|
key: 1,
|
|
485
485
|
modelValue: e.expandTickets,
|
|
486
486
|
"onUpdate:modelValue": s[13] || (s[13] = (o) => e.expandTickets = o),
|
|
@@ -492,7 +492,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
492
492
|
class: "flex items-center cursor-pointer",
|
|
493
493
|
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
494
494
|
}, [
|
|
495
|
-
n("div",
|
|
495
|
+
n("div", ke, d(e.$t("HC_OPEN_TICKETS")), 1),
|
|
496
496
|
r(q, { class: "grow" }),
|
|
497
497
|
r(m, {
|
|
498
498
|
class: p([
|
|
@@ -506,15 +506,15 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
506
506
|
])
|
|
507
507
|
]),
|
|
508
508
|
content: a(() => [
|
|
509
|
-
e.loading.tickets ? (l(),
|
|
510
|
-
(l(!0),
|
|
509
|
+
e.loading.tickets ? (l(), t("div", he)) : e.ticketsList.length ? (l(), t("ul", we, [
|
|
510
|
+
(l(!0), t(v, null, c(e.ticketsList, (o, $) => (l(), t("li", {
|
|
511
511
|
key: o.id,
|
|
512
512
|
id: `open-ticket-${o.id}`
|
|
513
513
|
}, [
|
|
514
|
-
r(
|
|
514
|
+
r(S, {
|
|
515
515
|
class: p([
|
|
516
516
|
{
|
|
517
|
-
"mt-3":
|
|
517
|
+
"mt-3": $ > 0,
|
|
518
518
|
pulse: o.isNew
|
|
519
519
|
}
|
|
520
520
|
]),
|
|
@@ -522,17 +522,17 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
522
522
|
text: o.name,
|
|
523
523
|
time: e.getHowLongAgo(o.started?.dateUtc),
|
|
524
524
|
type: o.type,
|
|
525
|
-
onClick: (
|
|
525
|
+
onClick: (ho) => e.onClickTicket(o)
|
|
526
526
|
}, null, 8, ["class", "text", "time", "type", "onClick"])
|
|
527
|
-
], 8,
|
|
528
|
-
])) : (l(),
|
|
527
|
+
], 8, ge))), 128))
|
|
528
|
+
])) : (l(), t("p", qe, d(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
|
|
529
529
|
]),
|
|
530
530
|
_: 1
|
|
531
|
-
}, 8, ["modelValue"])) :
|
|
532
|
-
e.showComments ? (l(), k(
|
|
531
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
532
|
+
e.showComments ? (l(), k(C, {
|
|
533
533
|
key: 2,
|
|
534
534
|
modelValue: e.expandComments,
|
|
535
|
-
"onUpdate:modelValue": s[
|
|
535
|
+
"onUpdate:modelValue": s[17] || (s[17] = (o) => e.expandComments = o),
|
|
536
536
|
class: "messages mb-3",
|
|
537
537
|
"content-class": "!px-0 !pt-3 !pb-0"
|
|
538
538
|
}, {
|
|
@@ -541,7 +541,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
541
541
|
class: "flex items-center cursor-pointer",
|
|
542
542
|
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
543
543
|
}, [
|
|
544
|
-
n("div",
|
|
544
|
+
n("div", Te, d(e.$t("HC_GUEST_CONNECT")), 1),
|
|
545
545
|
r(q, { class: "grow" }),
|
|
546
546
|
r(m, {
|
|
547
547
|
class: p([
|
|
@@ -568,47 +568,52 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
568
568
|
}
|
|
569
569
|
])
|
|
570
570
|
}, [
|
|
571
|
-
e.filteredReplies.length ? (l(),
|
|
572
|
-
(l(!0),
|
|
571
|
+
e.filteredReplies.length ? (l(), t("div", ve, [
|
|
572
|
+
(l(!0), t(v, null, c(e.filteredReplies, (o) => (l(), t("div", {
|
|
573
573
|
key: o,
|
|
574
574
|
class: p([
|
|
575
575
|
"quick-reply text-sm text-inkwell-20",
|
|
576
576
|
{ active: e.comment }
|
|
577
577
|
]),
|
|
578
|
-
onClick: (
|
|
578
|
+
onClick: ($) => e.onSelectQuickReply(o)
|
|
579
579
|
}, [
|
|
580
580
|
n("div", null, d(o), 1)
|
|
581
|
-
], 10,
|
|
582
|
-
])) : (l(),
|
|
581
|
+
], 10, ce))), 128))
|
|
582
|
+
])) : (l(), t("div", fe, d(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + d(e.comment) + '". ', 1))
|
|
583
583
|
], 2),
|
|
584
|
-
r(
|
|
584
|
+
r(D, {
|
|
585
585
|
comments: e.messages,
|
|
586
586
|
"show-heading": !1,
|
|
587
587
|
"show-no-comments": !1
|
|
588
588
|
}, {
|
|
589
589
|
default: a(() => [
|
|
590
|
-
n("div",
|
|
591
|
-
|
|
590
|
+
n("div", Ce, [
|
|
591
|
+
e.messages.length > 0 ? (l(), t("div", {
|
|
592
|
+
key: 0,
|
|
593
|
+
class: p([
|
|
594
|
+
"cursor-pointer text-xs px-2 py-1 rounded",
|
|
595
|
+
"border border-gray-12 hover:bg-gray-5",
|
|
596
|
+
{ hide: e.quickReplyOpen }
|
|
597
|
+
]),
|
|
598
|
+
onClick: s[15] || (s[15] = (...o) => e.toggleMarkOpenClose && e.toggleMarkOpenClose(...o))
|
|
599
|
+
}, d(e.$t(e.isConversationOpen ? "HC_CLOSE" : "HC_OPEN")), 3)) : i("", !0)
|
|
600
|
+
]),
|
|
601
|
+
n("div", be, [
|
|
602
|
+
r(g, {
|
|
592
603
|
id: "comment-field",
|
|
593
604
|
modelValue: e.comment,
|
|
594
|
-
"onUpdate:modelValue": s[
|
|
595
|
-
|
|
596
|
-
"text-sm pr-5 py-1",
|
|
597
|
-
{ "border-gray-12": !e.quickReplyOpen },
|
|
598
|
-
{ "border-blue-sky text-blue-sky": e.quickReplyOpen }
|
|
599
|
-
],
|
|
600
|
-
icon: e.quickReplyOpen ? "search" : "",
|
|
605
|
+
"onUpdate:modelValue": s[16] || (s[16] = (o) => e.comment = o),
|
|
606
|
+
"textarea-class": e.quickReplyOpen ? "text-sm pr-5 py-1 border-blue-sky text-blue-sky" : "text-sm pr-5 py-1 border-gray-12",
|
|
601
607
|
placeholder: e.quickReplyOpen ? e.$t("HC_SEARCH_REPLIES") : e.$t("HC_WRITE_A_MESSAGE"),
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}, null, 8, ["modelValue", "classes", "icon", "placeholder", "onKeydown"]),
|
|
608
|
+
rows: 1,
|
|
609
|
+
"control-class": "w-100 mr-2",
|
|
610
|
+
onKeydown: U(e.sendChatMessage, ["enter"])
|
|
611
|
+
}, null, 8, ["modelValue", "textarea-class", "placeholder", "onKeydown"]),
|
|
607
612
|
n("div", {
|
|
608
613
|
id: "hidden-text",
|
|
609
614
|
class: "text-sm",
|
|
610
615
|
innerHTML: e.comment
|
|
611
|
-
}, null, 8,
|
|
616
|
+
}, null, 8, Oe),
|
|
612
617
|
r(m, {
|
|
613
618
|
id: "quick-reply-trigger",
|
|
614
619
|
icon: (e.quickReplyOpen, "comment-lines"),
|
|
@@ -618,7 +623,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
618
623
|
type: e.quickReplyOpen ? "fill" : "outline",
|
|
619
624
|
onClick: e.toggleQuickReply
|
|
620
625
|
}, null, 8, ["icon", "type", "onClick"]),
|
|
621
|
-
r(
|
|
626
|
+
r(b, {
|
|
622
627
|
id: "send-comment",
|
|
623
628
|
disabled: !e.comment || e.quickReplyOpen,
|
|
624
629
|
class: "!absolute btn-subtle px-2 mr-1 text-sm",
|
|
@@ -626,7 +631,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
626
631
|
onClick: e.sendChatMessage
|
|
627
632
|
}, {
|
|
628
633
|
default: a(() => [
|
|
629
|
-
|
|
634
|
+
h(d(e.$t("HC_SEND")), 1)
|
|
630
635
|
]),
|
|
631
636
|
_: 1
|
|
632
637
|
}, 8, ["disabled", "onClick"])
|
|
@@ -636,11 +641,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
636
641
|
}, 8, ["comments"])
|
|
637
642
|
]),
|
|
638
643
|
_: 1
|
|
639
|
-
}, 8, ["modelValue"])) :
|
|
644
|
+
}, 8, ["modelValue"])) : i("", !0)
|
|
640
645
|
], 2),
|
|
641
646
|
n("div", {
|
|
642
647
|
id: "add-ticket",
|
|
643
|
-
class: p(["add-ticket overflow-hidden",
|
|
648
|
+
class: p(["add-ticket", { "overflow-hidden": !e.showCreateRequest, open: e.showCreateRequest }])
|
|
644
649
|
}, [
|
|
645
650
|
r(q, {
|
|
646
651
|
class: "text-base section-header mb-3",
|
|
@@ -648,19 +653,19 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
648
653
|
color: "inkwell-30"
|
|
649
654
|
}, {
|
|
650
655
|
default: a(() => [
|
|
651
|
-
n("div",
|
|
652
|
-
n("div",
|
|
656
|
+
n("div", Ee, [
|
|
657
|
+
n("div", $e, d(e.$t("HC_ACTION")), 1)
|
|
653
658
|
])
|
|
654
659
|
]),
|
|
655
660
|
_: 1
|
|
656
661
|
}),
|
|
657
662
|
n("form", {
|
|
658
663
|
class: "flex flex-col",
|
|
659
|
-
onSubmit: s[
|
|
664
|
+
onSubmit: s[49] || (s[49] = V((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
660
665
|
}, [
|
|
661
|
-
e.showCreateRequest ? (l(),
|
|
662
|
-
n("div",
|
|
663
|
-
n("div",
|
|
666
|
+
e.showCreateRequest ? (l(), t("div", Ve, [
|
|
667
|
+
n("div", He, [
|
|
668
|
+
n("div", Se, [
|
|
664
669
|
r(u, {
|
|
665
670
|
id: "todo-type",
|
|
666
671
|
selected: e.requestType,
|
|
@@ -668,10 +673,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
668
673
|
placeholder: e.$t("HC_ACTION_TYPE"),
|
|
669
674
|
condensed: "",
|
|
670
675
|
required: "",
|
|
671
|
-
"onUpdate:modelValue": s[
|
|
676
|
+
"onUpdate:modelValue": s[18] || (s[18] = (o) => e.onSelectToDo(o))
|
|
672
677
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
673
678
|
]),
|
|
674
|
-
e.requestType && e.requestType.id === "room_notice" ? (l(),
|
|
679
|
+
e.requestType && e.requestType.id === "room_notice" ? (l(), t("div", De, [
|
|
675
680
|
r(u, {
|
|
676
681
|
id: "todo-notice-issue",
|
|
677
682
|
selected: e.roomNotice.issue,
|
|
@@ -680,11 +685,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
680
685
|
placeholder: e.$t("HC_ITEM"),
|
|
681
686
|
condensed: "",
|
|
682
687
|
required: "",
|
|
683
|
-
"onUpdate:modelValue": s[
|
|
688
|
+
"onUpdate:modelValue": s[19] || (s[19] = (o) => e.roomNotice.issue = o)
|
|
684
689
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
685
|
-
])) :
|
|
686
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(),
|
|
687
|
-
r(
|
|
690
|
+
])) : i("", !0),
|
|
691
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Ne, [
|
|
692
|
+
r(w, {
|
|
688
693
|
id: "todo-notice-start-date",
|
|
689
694
|
value: e.roomNotice.startDate,
|
|
690
695
|
"is-today-min": !0,
|
|
@@ -697,11 +702,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
697
702
|
"wrapper-classes": "ui-overhaul",
|
|
698
703
|
condensed: "",
|
|
699
704
|
required: "",
|
|
700
|
-
"onUpdate:modelValue": s[
|
|
705
|
+
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.roomNotice.startDate = o)
|
|
701
706
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
702
|
-
])) :
|
|
703
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(),
|
|
704
|
-
r(
|
|
707
|
+
])) : i("", !0),
|
|
708
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Ue, [
|
|
709
|
+
r(w, {
|
|
705
710
|
id: "todo-notice-end-date",
|
|
706
711
|
value: e.roomNotice.endDate,
|
|
707
712
|
"is-today-min": !0,
|
|
@@ -715,21 +720,21 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
715
720
|
"wrapper-classes": "ui-overhaul",
|
|
716
721
|
condensed: "",
|
|
717
722
|
required: "",
|
|
718
|
-
"onUpdate:modelValue": s[
|
|
723
|
+
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.endDate = o)
|
|
719
724
|
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
720
|
-
])) :
|
|
721
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(),
|
|
722
|
-
r(
|
|
725
|
+
])) : i("", !0),
|
|
726
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Re, [
|
|
727
|
+
r(g, {
|
|
723
728
|
id: "todo-notice-notes",
|
|
724
729
|
modelValue: e.roomNotice.notes,
|
|
725
|
-
"onUpdate:modelValue": s[
|
|
730
|
+
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.roomNotice.notes = o),
|
|
726
731
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
732
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
733
|
+
"control-class": "w-full",
|
|
734
|
+
rows: 2
|
|
730
735
|
}, null, 8, ["modelValue", "placeholder"])
|
|
731
|
-
])) :
|
|
732
|
-
e.requestType && e.requestType.id === "complaint" ? (l(),
|
|
736
|
+
])) : i("", !0),
|
|
737
|
+
e.requestType && e.requestType.id === "complaint" ? (l(), t("div", Ae, [
|
|
733
738
|
r(u, {
|
|
734
739
|
id: "todo-complaint-problem",
|
|
735
740
|
selected: e.complaint.problem,
|
|
@@ -739,51 +744,52 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
739
744
|
placeholder: e.$t("HC_PROBLEM"),
|
|
740
745
|
condensed: "",
|
|
741
746
|
required: "",
|
|
742
|
-
"onUpdate:modelValue": s[
|
|
747
|
+
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.complaint.problem = o)
|
|
743
748
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
744
|
-
])) :
|
|
745
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
746
|
-
r(
|
|
749
|
+
])) : i("", !0),
|
|
750
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ge, [
|
|
751
|
+
r(T, {
|
|
747
752
|
id: "guest-name",
|
|
748
753
|
modelValue: e.complaint.guestName,
|
|
749
|
-
"onUpdate:modelValue": s[
|
|
754
|
+
"onUpdate:modelValue": s[24] || (s[24] = (o) => e.complaint.guestName = o),
|
|
750
755
|
placeholder: e.$t("HC_GUEST_NAME"),
|
|
751
|
-
|
|
756
|
+
"control-class": "w-full",
|
|
757
|
+
classes: "text-inkwell-30 border-gray-12 ui-overhaul",
|
|
752
758
|
condensed: "",
|
|
753
759
|
required: ""
|
|
754
760
|
}, null, 8, ["modelValue", "placeholder"])
|
|
755
|
-
])) :
|
|
756
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
757
|
-
r(
|
|
761
|
+
])) : i("", !0),
|
|
762
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ie, [
|
|
763
|
+
r(T, {
|
|
758
764
|
id: "guest-phone",
|
|
759
765
|
modelValue: e.complaint.guestPhone,
|
|
760
|
-
"onUpdate:modelValue": s[
|
|
766
|
+
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.guestPhone = o),
|
|
761
767
|
placeholder: e.$t("HC_GUEST_PHONE_NUMBER"),
|
|
762
768
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
763
769
|
condensed: ""
|
|
764
770
|
}, null, 8, ["modelValue", "placeholder"])
|
|
765
|
-
])) :
|
|
766
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
767
|
-
r(
|
|
771
|
+
])) : i("", !0),
|
|
772
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Le, [
|
|
773
|
+
r(T, {
|
|
768
774
|
id: "guest-email",
|
|
769
775
|
modelValue: e.complaint.guestEmail,
|
|
770
|
-
"onUpdate:modelValue": s[
|
|
776
|
+
"onUpdate:modelValue": s[26] || (s[26] = (o) => e.complaint.guestEmail = o),
|
|
771
777
|
placeholder: e.$t("HC_GUEST_EMAIL"),
|
|
772
778
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
773
779
|
condensed: ""
|
|
774
780
|
}, null, 8, ["modelValue", "placeholder"])
|
|
775
|
-
])) :
|
|
776
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
777
|
-
r(
|
|
781
|
+
])) : i("", !0),
|
|
782
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Me, [
|
|
783
|
+
r(T, {
|
|
778
784
|
id: "guest-loyalty",
|
|
779
785
|
modelValue: e.complaint.guestLoyalty,
|
|
780
|
-
"onUpdate:modelValue": s[
|
|
786
|
+
"onUpdate:modelValue": s[27] || (s[27] = (o) => e.complaint.guestLoyalty = o),
|
|
781
787
|
placeholder: e.$t("HC_GUEST_LOYALTY"),
|
|
782
788
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
783
789
|
condensed: ""
|
|
784
790
|
}, null, 8, ["modelValue", "placeholder"])
|
|
785
|
-
])) :
|
|
786
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
791
|
+
])) : i("", !0),
|
|
792
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", ze, [
|
|
787
793
|
r(u, {
|
|
788
794
|
id: "todo-complaint-mood",
|
|
789
795
|
selected: e.complaint.guestMood,
|
|
@@ -792,11 +798,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
792
798
|
placeholder: e.$t("HC_GUEST_MOOD"),
|
|
793
799
|
condensed: "",
|
|
794
800
|
required: "",
|
|
795
|
-
"onUpdate:modelValue": s[
|
|
801
|
+
"onUpdate:modelValue": s[28] || (s[28] = (o) => e.complaint.guestMood = o)
|
|
796
802
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
797
|
-
])) :
|
|
798
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
799
|
-
r(
|
|
803
|
+
])) : i("", !0),
|
|
804
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Pe, [
|
|
805
|
+
r(w, {
|
|
800
806
|
id: "todo-complaint-check-in",
|
|
801
807
|
value: e.complaint.checkInDate,
|
|
802
808
|
"is-today-min": !1,
|
|
@@ -809,11 +815,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
809
815
|
"wrapper-classes": "ui-overhaul",
|
|
810
816
|
condensed: "",
|
|
811
817
|
required: "",
|
|
812
|
-
"onUpdate:modelValue": s[
|
|
818
|
+
"onUpdate:modelValue": s[29] || (s[29] = (o) => e.complaint.checkInDate = o)
|
|
813
819
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
814
|
-
])) :
|
|
815
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
816
|
-
r(
|
|
820
|
+
])) : i("", !0),
|
|
821
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", We, [
|
|
822
|
+
r(w, {
|
|
817
823
|
id: "todo-complaint-check-out",
|
|
818
824
|
value: e.complaint.checkOutDate,
|
|
819
825
|
"is-today-min": !1,
|
|
@@ -827,21 +833,21 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
827
833
|
"wrapper-classes": "ui-overhaul",
|
|
828
834
|
condensed: "",
|
|
829
835
|
required: "",
|
|
830
|
-
"onUpdate:modelValue": s[
|
|
836
|
+
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.checkOutDate = o)
|
|
831
837
|
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
832
|
-
])) :
|
|
833
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
834
|
-
r(
|
|
838
|
+
])) : i("", !0),
|
|
839
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Be, [
|
|
840
|
+
r(g, {
|
|
835
841
|
id: "todo-complaint-notes",
|
|
836
842
|
modelValue: e.complaint.notes,
|
|
837
|
-
"onUpdate:modelValue": s[
|
|
843
|
+
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.complaint.notes = o),
|
|
838
844
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
845
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
846
|
+
"control-class": "w-full",
|
|
847
|
+
rows: 2
|
|
842
848
|
}, null, 8, ["modelValue", "placeholder"])
|
|
843
|
-
])) :
|
|
844
|
-
e.requestType && e.requestType.id === "work_order" ? (l(),
|
|
849
|
+
])) : i("", !0),
|
|
850
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), t("div", Ke, [
|
|
845
851
|
r(u, {
|
|
846
852
|
id: "todo-work-order-item",
|
|
847
853
|
selected: e.workOrder.item,
|
|
@@ -853,10 +859,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
853
859
|
"group-values": "options",
|
|
854
860
|
condensed: "",
|
|
855
861
|
required: "",
|
|
856
|
-
"onUpdate:modelValue": s[
|
|
862
|
+
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.workOrder.item = o)
|
|
857
863
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
858
|
-
])) :
|
|
859
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(),
|
|
864
|
+
])) : i("", !0),
|
|
865
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), t("div", Ye, [
|
|
860
866
|
r(u, {
|
|
861
867
|
id: "todo-work-order-issue",
|
|
862
868
|
selected: e.workOrder.issue,
|
|
@@ -865,10 +871,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
865
871
|
placeholder: e.$t("HC_ISSUE"),
|
|
866
872
|
condensed: "",
|
|
867
873
|
required: "",
|
|
868
|
-
"onUpdate:modelValue": s[
|
|
874
|
+
"onUpdate:modelValue": s[33] || (s[33] = (o) => e.workOrder.issue = o)
|
|
869
875
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
870
|
-
])) :
|
|
871
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
876
|
+
])) : i("", !0),
|
|
877
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", je, [
|
|
872
878
|
r(u, {
|
|
873
879
|
id: "todo-work-order-requested-by",
|
|
874
880
|
selected: e.workOrder.requestedBy,
|
|
@@ -876,10 +882,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
876
882
|
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
877
883
|
condensed: "",
|
|
878
884
|
required: "",
|
|
879
|
-
"onUpdate:modelValue": s[
|
|
885
|
+
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.requestedBy = o)
|
|
880
886
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
881
|
-
])) :
|
|
882
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
887
|
+
])) : i("", !0),
|
|
888
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Fe, [
|
|
883
889
|
r(u, {
|
|
884
890
|
id: "todo-work-order-assign-type",
|
|
885
891
|
selected: e.workOrder.assignType,
|
|
@@ -887,10 +893,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
887
893
|
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
888
894
|
condensed: "",
|
|
889
895
|
required: "",
|
|
890
|
-
"onUpdate:modelValue": s[
|
|
896
|
+
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.assignType = o)
|
|
891
897
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
892
|
-
])) :
|
|
893
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
898
|
+
])) : i("", !0),
|
|
899
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Ze, [
|
|
894
900
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (l(), k(u, {
|
|
895
901
|
key: 0,
|
|
896
902
|
id: "todo-work-order-assign-type",
|
|
@@ -900,8 +906,8 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
900
906
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
901
907
|
condensed: "",
|
|
902
908
|
required: "",
|
|
903
|
-
"onUpdate:modelValue": s[
|
|
904
|
-
}, null, 8, ["selected", "options", "disabled", "placeholder"])) :
|
|
909
|
+
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.department = o)
|
|
910
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
905
911
|
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 2 ? (l(), k(u, {
|
|
906
912
|
key: 1,
|
|
907
913
|
id: "todo-work-order-assign-type",
|
|
@@ -914,11 +920,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
914
920
|
"group-values": "options",
|
|
915
921
|
condensed: "",
|
|
916
922
|
required: "",
|
|
917
|
-
"onUpdate:modelValue": s[
|
|
918
|
-
}, null, 8, ["selected", "options", "disabled", "placeholder"])) :
|
|
919
|
-
])) :
|
|
920
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
921
|
-
r(
|
|
923
|
+
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.person = o)
|
|
924
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
925
|
+
])) : i("", !0),
|
|
926
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Qe, [
|
|
927
|
+
r(w, {
|
|
922
928
|
id: "todo-work-order-due",
|
|
923
929
|
value: e.workOrder.due,
|
|
924
930
|
"is-today-min": !0,
|
|
@@ -931,21 +937,21 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
931
937
|
"wrapper-classes": "ui-overhaul",
|
|
932
938
|
condensed: "",
|
|
933
939
|
required: "",
|
|
934
|
-
"onUpdate:modelValue": s[
|
|
940
|
+
"onUpdate:modelValue": s[38] || (s[38] = (o) => e.workOrder.due = o)
|
|
935
941
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
936
|
-
])) :
|
|
937
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
938
|
-
r(
|
|
942
|
+
])) : i("", !0),
|
|
943
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Je, [
|
|
944
|
+
r(g, {
|
|
939
945
|
id: "todo-work-order-notes",
|
|
940
946
|
modelValue: e.workOrder.notes,
|
|
941
|
-
"onUpdate:modelValue": s[
|
|
947
|
+
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.workOrder.notes = o),
|
|
942
948
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
949
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
950
|
+
"control-class": "w-full",
|
|
951
|
+
rows: 2
|
|
946
952
|
}, null, 8, ["modelValue", "placeholder"])
|
|
947
|
-
])) :
|
|
948
|
-
e.requestType && e.requestType.id === "request" ? (l(),
|
|
953
|
+
])) : i("", !0),
|
|
954
|
+
e.requestType && e.requestType.id === "request" ? (l(), t("div", Xe, [
|
|
949
955
|
r(u, {
|
|
950
956
|
id: "todo-request-item",
|
|
951
957
|
selected: e.request.item,
|
|
@@ -954,10 +960,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
954
960
|
placeholder: e.$t("HC_ITEM"),
|
|
955
961
|
condensed: "",
|
|
956
962
|
required: "",
|
|
957
|
-
"onUpdate:modelValue": s[
|
|
963
|
+
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.request.item = o)
|
|
958
964
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
959
|
-
])) :
|
|
960
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
965
|
+
])) : i("", !0),
|
|
966
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", _e, [
|
|
961
967
|
r(u, {
|
|
962
968
|
id: "todo-request-requested-by",
|
|
963
969
|
selected: e.request.requestedBy,
|
|
@@ -965,11 +971,11 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
965
971
|
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
966
972
|
condensed: "",
|
|
967
973
|
required: "",
|
|
968
|
-
"onUpdate:modelValue": s[
|
|
974
|
+
"onUpdate:modelValue": s[41] || (s[41] = (o) => e.request.requestedBy = o)
|
|
969
975
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
970
|
-
])) :
|
|
971
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
972
|
-
r(
|
|
976
|
+
])) : i("", !0),
|
|
977
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", xe, [
|
|
978
|
+
r(w, {
|
|
973
979
|
id: "todo-request-due",
|
|
974
980
|
value: e.request.due,
|
|
975
981
|
"is-today-min": !0,
|
|
@@ -982,10 +988,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
982
988
|
"wrapper-classes": "ui-overhaul",
|
|
983
989
|
condensed: "",
|
|
984
990
|
required: "",
|
|
985
|
-
"onUpdate:modelValue": s[
|
|
991
|
+
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.due = o)
|
|
986
992
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
987
|
-
])) :
|
|
988
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
993
|
+
])) : i("", !0),
|
|
994
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", eo, [
|
|
989
995
|
r(u, {
|
|
990
996
|
id: "todo-request-assign-type",
|
|
991
997
|
selected: e.request.assignType,
|
|
@@ -993,10 +999,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
993
999
|
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
994
1000
|
condensed: "",
|
|
995
1001
|
required: "",
|
|
996
|
-
"onUpdate:modelValue": s[
|
|
1002
|
+
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.assignType = o)
|
|
997
1003
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
998
|
-
])) :
|
|
999
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
1004
|
+
])) : i("", !0),
|
|
1005
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", oo, [
|
|
1000
1006
|
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), k(u, {
|
|
1001
1007
|
key: 0,
|
|
1002
1008
|
id: "todo-request-assign-type",
|
|
@@ -1006,8 +1012,8 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1006
1012
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1007
1013
|
condensed: "",
|
|
1008
1014
|
required: "",
|
|
1009
|
-
"onUpdate:modelValue": s[
|
|
1010
|
-
}, null, 8, ["selected", "options", "disabled", "placeholder"])) :
|
|
1015
|
+
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.department = o)
|
|
1016
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
1011
1017
|
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (l(), k(u, {
|
|
1012
1018
|
key: 1,
|
|
1013
1019
|
id: "todo-request-assign-type",
|
|
@@ -1020,10 +1026,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1020
1026
|
"group-values": "options",
|
|
1021
1027
|
condensed: "",
|
|
1022
1028
|
required: "",
|
|
1023
|
-
"onUpdate:modelValue": s[
|
|
1024
|
-
}, null, 8, ["selected", "options", "disabled", "placeholder"])) :
|
|
1025
|
-
])) :
|
|
1026
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(),
|
|
1029
|
+
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.person = o)
|
|
1030
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
1031
|
+
])) : i("", !0),
|
|
1032
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), t("div", so, [
|
|
1027
1033
|
r(u, {
|
|
1028
1034
|
id: "todo-request-when",
|
|
1029
1035
|
selected: e.request.when,
|
|
@@ -1032,10 +1038,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1032
1038
|
placeholder: e.$t("HC_SELECT_WHEN"),
|
|
1033
1039
|
required: e.allowWhenWhere,
|
|
1034
1040
|
condensed: "",
|
|
1035
|
-
"onUpdate:modelValue": s[
|
|
1041
|
+
"onUpdate:modelValue": s[46] || (s[46] = (o) => e.request.when = o)
|
|
1036
1042
|
}, null, 8, ["selected", "options", "disabled", "placeholder", "required"])
|
|
1037
|
-
])) :
|
|
1038
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(),
|
|
1043
|
+
])) : i("", !0),
|
|
1044
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), t("div", lo, [
|
|
1039
1045
|
r(u, {
|
|
1040
1046
|
id: "todo-request-where",
|
|
1041
1047
|
selected: e.request.where,
|
|
@@ -1044,46 +1050,47 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1044
1050
|
placeholder: e.$t("HC_SELECT_WHERE"),
|
|
1045
1051
|
required: e.allowWhenWhere,
|
|
1046
1052
|
condensed: "",
|
|
1047
|
-
"onUpdate:modelValue": s[
|
|
1053
|
+
"onUpdate:modelValue": s[47] || (s[47] = (o) => e.request.where = o)
|
|
1048
1054
|
}, null, 8, ["selected", "options", "disabled", "placeholder", "required"])
|
|
1049
|
-
])) :
|
|
1050
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
1051
|
-
r(
|
|
1055
|
+
])) : i("", !0),
|
|
1056
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", to, [
|
|
1057
|
+
r(g, {
|
|
1052
1058
|
id: "todo-request-notes",
|
|
1053
1059
|
modelValue: e.request.notes,
|
|
1054
|
-
"onUpdate:modelValue": s[
|
|
1060
|
+
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.request.notes = o),
|
|
1055
1061
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1062
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
1063
|
+
"control-class": "w-full",
|
|
1064
|
+
rows: 2
|
|
1059
1065
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1060
|
-
])) :
|
|
1066
|
+
])) : i("", !0)
|
|
1061
1067
|
])
|
|
1062
|
-
])) :
|
|
1063
|
-
n("div",
|
|
1064
|
-
r(
|
|
1068
|
+
])) : i("", !0),
|
|
1069
|
+
n("div", io, [
|
|
1070
|
+
r(b, {
|
|
1065
1071
|
status: "secondary",
|
|
1066
|
-
onClick:
|
|
1072
|
+
onClick: V(e.closeRequest, ["prevent"])
|
|
1067
1073
|
}, {
|
|
1068
1074
|
default: a(() => [
|
|
1069
|
-
|
|
1075
|
+
h(d(e.$t("HC_BACK")), 1)
|
|
1070
1076
|
]),
|
|
1071
1077
|
_: 1
|
|
1072
1078
|
}, 8, ["onClick"]),
|
|
1073
|
-
r(
|
|
1079
|
+
r(b, {
|
|
1074
1080
|
disabled: !e.validateToDo,
|
|
1075
1081
|
loading: e.requestLoading,
|
|
1076
|
-
"use-loading-spinner": !0
|
|
1082
|
+
"use-loading-spinner": !0,
|
|
1083
|
+
onClick: e.onCreateRequestSubmit
|
|
1077
1084
|
}, {
|
|
1078
1085
|
default: a(() => [
|
|
1079
|
-
|
|
1086
|
+
h(d(e.$t("HC_POST")), 1)
|
|
1080
1087
|
]),
|
|
1081
1088
|
_: 1
|
|
1082
|
-
}, 8, ["disabled", "loading"])
|
|
1089
|
+
}, 8, ["disabled", "loading", "onClick"])
|
|
1083
1090
|
])
|
|
1084
1091
|
], 32)
|
|
1085
1092
|
], 2),
|
|
1086
|
-
e.loading.pms ? (l(),
|
|
1093
|
+
e.loading.pms ? (l(), t("div", ro)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), t("div", no, [
|
|
1087
1094
|
r(m, {
|
|
1088
1095
|
class: "flex-shrink-1 mr-2",
|
|
1089
1096
|
size: "sm",
|
|
@@ -1091,15 +1098,15 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1091
1098
|
icon: "clock-alarm",
|
|
1092
1099
|
type: "outline"
|
|
1093
1100
|
}),
|
|
1094
|
-
n("p",
|
|
1095
|
-
])) :
|
|
1096
|
-
], 8,
|
|
1101
|
+
n("p", ao, d(e.$t("HC_PMS_UPDATED")) + " " + d(e.DateTime.fromISO(e.roomDetailsData.updatedAt).toRelative({ locale: e.locale })), 1)
|
|
1102
|
+
])) : i("", !0)
|
|
1103
|
+
], 8, M)
|
|
1097
1104
|
]),
|
|
1098
1105
|
_: 3
|
|
1099
1106
|
}, 8, ["model-value", "align", "position", "size"])
|
|
1100
|
-
], 40,
|
|
1107
|
+
], 40, I)) : i("", !0);
|
|
1101
1108
|
}
|
|
1102
|
-
const
|
|
1109
|
+
const vo = /* @__PURE__ */ G(N, [["render", po], ["__scopeId", "data-v-6c71aa26"]]);
|
|
1103
1110
|
export {
|
|
1104
|
-
|
|
1111
|
+
vo as default
|
|
1105
1112
|
};
|