@quoreadmin/ui 1.6.6 → 1.6.8
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/index117.js +3 -3
- package/dist/index129.js +1 -1
- package/dist/index131.js +116 -59
- package/dist/index140.js +896 -0
- package/dist/{index143.js → index144.js} +2 -2
- package/dist/{index151.js → index152.js} +1 -1
- package/dist/{index157.js → index158.js} +2 -2
- package/dist/index161.js +111 -492
- package/dist/index162.js +471 -5498
- package/dist/index163.js +5511 -80
- package/dist/index164.js +86 -856
- package/dist/index165.js +844 -21
- package/dist/index166.js +23 -265
- package/dist/index167.js +256 -126
- package/dist/index168.js +146 -1195
- package/dist/index169.js +1139 -712
- package/dist/index170.js +704 -1240
- package/dist/index171.js +1280 -248
- package/dist/index172.js +266 -96
- package/dist/index173.js +106 -2
- package/dist/index174.js +2 -1376
- package/dist/index175.js +1378 -0
- package/dist/index177.js +12 -12
- package/dist/index178.js +10 -10
- package/dist/index179.js +12 -12
- package/dist/index180.js +14 -21
- package/dist/index181.js +23 -757
- package/dist/index182.js +759 -1100
- package/dist/index183.js +1117 -1234
- package/dist/index184.js +1205 -11248
- package/dist/index185.js +11277 -36
- package/dist/index186.js +36 -115
- package/dist/index190.js +29 -29
- package/dist/index191.js +2 -2
- package/dist/index192.js +2 -2
- package/dist/index193.js +1 -1
- package/dist/index195.js +2 -2
- package/dist/index197.js +14 -14
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index20.js +4 -4
- package/dist/index200.js +3 -3
- package/dist/index201.js +3 -3
- package/dist/index202.js +84 -29
- package/dist/index203.js +400 -109
- package/dist/index204.js +22 -36
- package/dist/index205.js +33 -26
- package/dist/index206.js +111 -31
- package/dist/index207.js +36 -9
- package/dist/index208.js +26 -19
- package/dist/index209.js +36 -10
- package/dist/index210.js +9 -10
- package/dist/index211.js +18 -50
- package/dist/index212.js +10 -43
- package/dist/index213.js +10 -4
- package/dist/index214.js +48 -36
- package/dist/index215.js +43 -21
- package/dist/index216.js +3 -87
- package/dist/index217.js +35 -403
- package/dist/index218.js +21 -22
- package/dist/index219.js +122 -156
- package/dist/index220.js +35 -225
- package/dist/index221.js +80 -37
- package/dist/index222.js +20 -10
- package/dist/index223.js +19 -126
- package/dist/index224.js +16 -34
- package/dist/index225.js +20 -80
- package/dist/index226.js +9 -9
- package/dist/index227.js +160 -19
- package/dist/index228.js +11 -11
- package/dist/index229.js +15 -13
- package/dist/index230.js +198 -19
- package/dist/index231.js +49 -140
- package/dist/index232.js +34 -20
- package/dist/index233.js +39 -21
- package/dist/index234.js +21 -198
- package/dist/index235.js +21 -69
- package/dist/index236.js +20 -34
- package/dist/index237.js +823 -27
- package/dist/index238.js +701 -21
- package/dist/index239.js +176 -22
- package/dist/index240.js +15 -13
- package/dist/index241.js +20 -836
- package/dist/index242.js +19 -701
- package/dist/index243.js +3 -176
- package/dist/index244.js +186 -21
- package/dist/index245.js +132 -19
- package/dist/index246.js +1223 -20
- package/dist/index247.js +20 -3
- package/dist/index248.js +21 -186
- package/dist/index249.js +21 -132
- package/dist/index250.js +29 -1223
- package/dist/index251.js +12 -12
- package/dist/index252.js +13 -15
- package/dist/index253.js +2 -22
- package/dist/index254.js +2 -29
- package/dist/index255.js +3632 -20
- package/dist/index256.js +55 -20
- package/dist/index257.js +77 -2
- package/dist/index258.js +52 -2
- package/dist/index259.js +182 -3599
- package/dist/index260.js +8 -53
- package/dist/index261.js +40 -60
- package/dist/index262.js +44 -35
- package/dist/index263.js +32 -193
- package/dist/index264.js +74 -9
- package/dist/index265.js +704 -38
- package/dist/index266.js +22 -44
- package/dist/index267.js +46 -36
- package/dist/index268.js +10 -74
- package/dist/index269.js +680 -698
- package/dist/index270.js +818 -37
- package/dist/index271.js +160 -63
- package/dist/index272.js +227 -10
- package/dist/index273.js +36 -704
- package/dist/index274.js +9 -819
- package/dist/index275.js +1 -1
- package/dist/index278.js +1 -1
- package/dist/index279.js +2 -3
- package/dist/index280.js +77 -25
- package/dist/index281.js +3 -2
- package/dist/index282.js +25 -77
- package/dist/index284.js +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.js +1 -1
- package/dist/index289.js +1 -1
- package/dist/index290.js +1518 -79
- package/dist/index291.js +386 -22
- package/dist/index292.js +2698 -902
- package/dist/index293.js +85 -21
- package/dist/index294.js +3770 -20
- package/dist/index295.js +59 -19
- 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/index309.js +2 -2
- package/dist/index310.js +4 -4
- package/dist/index311.js +2 -2
- package/dist/index329.js +36 -8
- package/dist/index330.js +8 -12
- package/dist/index331.js +12 -54
- package/dist/index332.js +52 -9
- package/dist/index333.js +11 -13
- package/dist/index334.js +9 -53
- package/dist/index335.js +55 -49
- package/dist/index336.js +49 -28
- package/dist/index337.js +31 -2
- package/dist/index338.js +2 -5
- package/dist/index339.js +5 -2
- package/dist/index340.js +2 -23
- package/dist/index341.js +21 -39
- package/dist/index342.js +41 -2
- package/dist/index343.js +2 -11
- package/dist/index344.js +11 -20
- package/dist/index345.js +18 -15
- package/dist/index346.js +16 -9
- package/dist/index347.js +9 -9
- package/dist/index348.js +10 -2
- package/dist/index349.js +2 -9
- package/dist/index350.js +9 -10
- package/dist/index351.js +10 -14
- package/dist/index352.js +14 -37
- package/dist/index353.js +1 -1
- package/dist/index354.js +1 -1
- package/dist/index355.js +2 -2
- package/dist/index369.js +100 -16
- package/dist/index370.js +90 -100
- package/dist/index371.js +17 -91
- package/dist/index39.js +44 -14
- package/dist/index40.js +1 -1
- package/dist/index41.js +1 -1
- package/dist/index42.js +1 -1
- package/dist/index43.js +348 -318
- package/dist/index44.js +1 -1
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +6 -6
- package/dist/index48.js +2 -2
- package/dist/index49.js +1 -1
- 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 +2 -2
- package/dist/src/components/comment/comment.d.ts +32 -0
- package/dist/src/components/comment/comment.stories.d.ts +32 -0
- package/dist/src/components/comment-section/comment-section.d.ts +32 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +32 -0
- package/dist/src/components/data-filter/data-filter.d.ts +32 -0
- package/dist/src/components/data-list/data-list.d.ts +32 -0
- package/dist/src/components/grid/grid.stories.d.ts +64 -0
- package/dist/src/components/popover/popover.d.ts +36 -0
- package/dist/src/components/popover/popover.stories.d.ts +128 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +197 -5
- package/dist/src/components/textarea/textarea.d.ts +1 -1
- package/dist/src/components/textarea/textarea.stories.d.ts +1 -1
- package/dist/src/views/lists.vue.d.ts +64 -0
- package/dist/src/views/tables.vue.d.ts +32 -0
- package/package.json +1 -1
- package/dist/index139.js +0 -855
- package/dist/index160.js +0 -116
- package/dist/index176.js +0 -20
- /package/dist/{index133.js → index134.js} +0 -0
- /package/dist/{index135.js → index136.js} +0 -0
- /package/dist/{index137.js → index138.js} +0 -0
- /package/dist/{index141.js → index142.js} +0 -0
- /package/dist/{index145.js → index146.js} +0 -0
- /package/dist/{index147.js → index148.js} +0 -0
- /package/dist/{index149.js → index150.js} +0 -0
- /package/dist/{index153.js → index154.js} +0 -0
- /package/dist/{index155.js → index156.js} +0 -0
package/dist/index43.js
CHANGED
|
@@ -1,184 +1,186 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as y, createElementBlock as
|
|
1
|
+
import N from "./index140.js";
|
|
2
|
+
import { resolveComponent as y, createElementBlock as t, createCommentVNode as i, openBlock as l, createVNode as r, withCtx as a, createElementVNode as n, normalizeClass as p, toDisplayString as d, createBlock as k, Fragment as v, renderList as f, 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
|
+
}, ge = {
|
|
42
42
|
key: 1,
|
|
43
43
|
class: "open-tickets"
|
|
44
|
-
}, we = ["id"],
|
|
44
|
+
}, we = ["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
|
-
class: "quick-replies
|
|
50
|
-
},
|
|
49
|
+
class: "quick-replies"
|
|
50
|
+
}, fe = ["onClick"], ce = {
|
|
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"), c = y("q-tooltip"),
|
|
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"), c = y("q-tooltip"), O = y("q-tag"), E = y("q-popover"), q = y("q-divider"), C = y("q-accordion"), S = y("q-activity-item"), w = y("q-textarea"), b = y("q-button"), D = y("q-comment-section"), u = y("q-select"), g = 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
|
-
|
|
166
|
-
"
|
|
165
|
+
teleport: e.teleport,
|
|
166
|
+
"teleport-to": e.teleportTo,
|
|
167
|
+
onClose: s[50] || (s[50] = (o) => e.$emit("toggle", !1)),
|
|
168
|
+
"onUpdate:modelValue": s[51] || (s[51] = (o) => e.$emit("toggle", o))
|
|
167
169
|
}, {
|
|
168
170
|
trigger: a(() => [
|
|
169
|
-
n("div",
|
|
171
|
+
n("div", R({
|
|
170
172
|
ref: "trigger",
|
|
171
173
|
id: e.id ? `rdp-${e.id}-trigger` : "",
|
|
172
174
|
class: "trigger-text"
|
|
173
175
|
}, {
|
|
174
|
-
[
|
|
176
|
+
[H(!e.hover && "click")]: s[0] || (s[0] = (o) => e.$emit("toggle", !e.open))
|
|
175
177
|
}, {
|
|
176
|
-
[
|
|
178
|
+
[H(e.hover && "mouseover")]: s[1] || (s[1] = (o) => e.onHoverToggle(!0))
|
|
177
179
|
}), [
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
]
|
|
181
|
-
], 16,
|
|
180
|
+
A(e.$slots, "trigger", {}, () => [
|
|
181
|
+
h(d(e.trigger), 1)
|
|
182
|
+
])
|
|
183
|
+
], 16, L)
|
|
182
184
|
]),
|
|
183
185
|
content: a(() => [
|
|
184
186
|
n("div", {
|
|
@@ -186,17 +188,17 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
186
188
|
class: "popover-content w-full font-weight-normal cursor-default"
|
|
187
189
|
}, [
|
|
188
190
|
n("div", z, [
|
|
189
|
-
e.loading.pms || e.loading.roomNotices ? (l(),
|
|
191
|
+
e.loading.pms || e.loading.roomNotices ? (l(), t("div", P)) : (l(), t("div", {
|
|
190
192
|
key: 1,
|
|
191
193
|
class: p([
|
|
192
194
|
"flex grow items-center mb-4",
|
|
193
195
|
{ "gap-3": e.showRoomName }
|
|
194
196
|
])
|
|
195
197
|
}, [
|
|
196
|
-
e.showRoomName ? (l(),
|
|
198
|
+
e.showRoomName ? (l(), t("h2", W, [
|
|
197
199
|
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(),
|
|
200
|
+
])) : i("", !0),
|
|
201
|
+
(e.occupied || e.cleanliness || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (l(), t("div", {
|
|
200
202
|
key: 1,
|
|
201
203
|
class: p([
|
|
202
204
|
"flex items-center flex-wrap gap-x-2",
|
|
@@ -217,10 +219,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
217
219
|
}, null, 8, ["color"])
|
|
218
220
|
]),
|
|
219
221
|
content: a(() => [
|
|
220
|
-
e.occupancyTooltipContent ? (l(),
|
|
222
|
+
e.occupancyTooltipContent ? (l(), t("div", B, d(e.$t(e.occupancyTooltipContent)), 1)) : i("", !0)
|
|
221
223
|
]),
|
|
222
224
|
_: 1
|
|
223
|
-
})) :
|
|
225
|
+
})) : i("", !0),
|
|
224
226
|
e.cleanliness ? (l(), k(c, {
|
|
225
227
|
key: 1,
|
|
226
228
|
class: "flex shrink-0 items-center"
|
|
@@ -235,16 +237,16 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
235
237
|
}, null, 8, ["color"])
|
|
236
238
|
]),
|
|
237
239
|
content: a(() => [
|
|
238
|
-
e.cleanlinessTooltipContent ? (l(),
|
|
240
|
+
e.cleanlinessTooltipContent ? (l(), t("div", K, d(e.cleanlinessTooltipContent), 1)) : i("", !0)
|
|
239
241
|
]),
|
|
240
242
|
_: 1
|
|
241
|
-
})) :
|
|
242
|
-
e.tagsList.length && !e.showRoomName ? (l(!0),
|
|
243
|
+
})) : i("", !0),
|
|
244
|
+
e.tagsList.length && !e.showRoomName ? (l(!0), t(v, { key: 2 }, f(e.tagsList, (o) => (l(), t("a", {
|
|
243
245
|
key: o,
|
|
244
246
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
245
247
|
class: "capitalize"
|
|
246
248
|
}, [
|
|
247
|
-
r(
|
|
249
|
+
r(O, {
|
|
248
250
|
class: p([
|
|
249
251
|
"!text-xs !leading-4",
|
|
250
252
|
"shrink-0 max-w-[100px] !h-auto",
|
|
@@ -256,15 +258,15 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
256
258
|
"text-color": "text-inkwell-30"
|
|
257
259
|
}, {
|
|
258
260
|
default: a(() => [
|
|
259
|
-
|
|
261
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
260
262
|
]),
|
|
261
263
|
_: 2
|
|
262
264
|
}, 1032, ["class"])
|
|
263
|
-
], 8,
|
|
264
|
-
], 2)) :
|
|
265
|
+
], 8, Y))), 128)) : i("", !0)
|
|
266
|
+
], 2)) : i("", !0)
|
|
265
267
|
], 2)),
|
|
266
|
-
n("div",
|
|
267
|
-
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), k(
|
|
268
|
+
n("div", j, [
|
|
269
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), k(E, {
|
|
268
270
|
key: 0,
|
|
269
271
|
modelValue: e.actionMenuOpen,
|
|
270
272
|
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
@@ -284,8 +286,8 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
284
286
|
})
|
|
285
287
|
]),
|
|
286
288
|
content: a(() => [
|
|
287
|
-
n("ul",
|
|
288
|
-
e.showActionsLink ? (l(),
|
|
289
|
+
n("ul", F, [
|
|
290
|
+
e.showActionsLink ? (l(), t("li", {
|
|
289
291
|
key: 0,
|
|
290
292
|
class: p([
|
|
291
293
|
"flex items-center",
|
|
@@ -299,77 +301,85 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
299
301
|
}, [
|
|
300
302
|
r(m, {
|
|
301
303
|
class: "shrink-0 mr-1 p-1",
|
|
302
|
-
color: "
|
|
304
|
+
color: "inkwell-10",
|
|
303
305
|
icon: "plus",
|
|
304
306
|
size: "md",
|
|
305
307
|
type: ""
|
|
306
308
|
}),
|
|
307
|
-
n("div",
|
|
308
|
-
], 2)) :
|
|
309
|
-
!e.hasGuestCallback && e.showGuestCallback ? (l(),
|
|
309
|
+
n("div", Z, d(e.$t("HC_ACTION")), 1)
|
|
310
|
+
], 2)) : i("", !0),
|
|
311
|
+
!e.hasGuestCallback && e.showGuestCallback ? (l(), t("li", {
|
|
310
312
|
key: 1,
|
|
311
313
|
class: p([
|
|
312
314
|
"flex items-center",
|
|
313
315
|
"icon-container cursor-pointer",
|
|
314
316
|
"text-inkwell-30 px-2 py-1",
|
|
315
|
-
{
|
|
317
|
+
{
|
|
318
|
+
"mb-2": !e.showGuestDetails && !e.showComments
|
|
319
|
+
},
|
|
316
320
|
{ "mt-2": !e.showActionsLink }
|
|
317
321
|
]),
|
|
318
322
|
onClick: s[4] || (s[4] = (...o) => e.createCallback && e.createCallback(...o))
|
|
319
323
|
}, [
|
|
320
324
|
r(m, {
|
|
321
325
|
class: "shrink-0 mr-1 p-0.5",
|
|
322
|
-
color: "
|
|
326
|
+
color: "inkwell-10",
|
|
323
327
|
icon: "phone-plus",
|
|
324
328
|
size: "md",
|
|
325
|
-
type: "
|
|
329
|
+
type: "fill"
|
|
326
330
|
}),
|
|
327
|
-
n("div",
|
|
328
|
-
|
|
329
|
-
|
|
331
|
+
n("div", Q, d(e.$t(
|
|
332
|
+
"HC_GUEST_SATISFACTION_CALL"
|
|
333
|
+
)), 1)
|
|
334
|
+
], 2)) : i("", !0),
|
|
335
|
+
e.showComments ? (l(), t("li", {
|
|
330
336
|
key: 2,
|
|
331
337
|
class: p([
|
|
332
338
|
"flex items-center",
|
|
333
339
|
"icon-container cursor-pointer",
|
|
334
340
|
"text-inkwell-30 px-2 py-1",
|
|
335
341
|
{ "mb-2": !e.showGuestDetails },
|
|
336
|
-
{
|
|
342
|
+
{
|
|
343
|
+
"mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback)
|
|
344
|
+
}
|
|
337
345
|
]),
|
|
338
346
|
onClick: s[5] || (s[5] = (...o) => e.onClickEditConnectGuest && e.onClickEditConnectGuest(...o))
|
|
339
347
|
}, [
|
|
340
348
|
r(m, {
|
|
341
349
|
class: "shrink-0 mr-1 p-1",
|
|
342
|
-
color: "
|
|
350
|
+
color: "inkwell-10",
|
|
343
351
|
icon: "pencil",
|
|
344
352
|
size: "md",
|
|
345
|
-
type: "
|
|
353
|
+
type: "fill"
|
|
346
354
|
}),
|
|
347
|
-
n("div",
|
|
348
|
-
], 2)) :
|
|
349
|
-
e.showGuestDetails ? (l(),
|
|
355
|
+
n("div", J, d(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
356
|
+
], 2)) : i("", !0),
|
|
357
|
+
e.showGuestDetails ? (l(), t("li", {
|
|
350
358
|
key: 3,
|
|
351
359
|
class: p([
|
|
352
360
|
"flex items-center",
|
|
353
361
|
"icon-container cursor-pointer",
|
|
354
362
|
"text-inkwell-30 px-2 py-1 mb-2",
|
|
355
|
-
{
|
|
363
|
+
{
|
|
364
|
+
"mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments
|
|
365
|
+
}
|
|
356
366
|
]),
|
|
357
367
|
onClick: s[6] || (s[6] = (...o) => e.refreshPMSData && e.refreshPMSData(...o))
|
|
358
368
|
}, [
|
|
359
369
|
r(m, {
|
|
360
370
|
class: "shrink-0 mr-1 p-1",
|
|
361
|
-
color: "
|
|
371
|
+
color: "inkwell-10",
|
|
362
372
|
icon: "refresh",
|
|
363
373
|
size: "md",
|
|
364
374
|
type: ""
|
|
365
375
|
}),
|
|
366
|
-
n("div",
|
|
367
|
-
], 2)) :
|
|
376
|
+
n("div", X, d(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
377
|
+
], 2)) : i("", !0)
|
|
368
378
|
])
|
|
369
379
|
]),
|
|
370
380
|
_: 1
|
|
371
|
-
}, 8, ["modelValue"])) :
|
|
372
|
-
n("div",
|
|
381
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
382
|
+
n("div", _, [
|
|
373
383
|
r(c, null, {
|
|
374
384
|
trigger: a(() => [
|
|
375
385
|
r(m, {
|
|
@@ -381,36 +391,36 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
381
391
|
})
|
|
382
392
|
]),
|
|
383
393
|
content: a(() => [
|
|
384
|
-
|
|
394
|
+
h(d(e.$t("HC_CLOSE")), 1)
|
|
385
395
|
]),
|
|
386
396
|
_: 1
|
|
387
397
|
})
|
|
388
398
|
])
|
|
389
399
|
])
|
|
390
400
|
]),
|
|
391
|
-
e.loading.pms && e.size === "sm" ? (l(),
|
|
401
|
+
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
402
|
e.occupied ? (l(), k(m, {
|
|
393
403
|
key: 0,
|
|
394
404
|
icon: "user",
|
|
395
405
|
type: "fill",
|
|
396
406
|
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
397
407
|
size: "sm"
|
|
398
|
-
}, null, 8, ["color"])) :
|
|
408
|
+
}, null, 8, ["color"])) : i("", !0),
|
|
399
409
|
e.cleanliness ? (l(), k(m, {
|
|
400
410
|
key: 1,
|
|
401
411
|
icon: "spray-bottle",
|
|
402
412
|
type: "fill",
|
|
403
413
|
color: e.cleanlinessColor,
|
|
404
414
|
size: "sm"
|
|
405
|
-
}, null, 8, ["color"])) :
|
|
406
|
-
])) :
|
|
407
|
-
e.loading.roomNotices ? (l(),
|
|
408
|
-
(l(!0),
|
|
415
|
+
}, null, 8, ["color"])) : i("", !0)
|
|
416
|
+
])) : i("", !0),
|
|
417
|
+
e.loading.roomNotices ? (l(), t("div", oe)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), t("div", se, [
|
|
418
|
+
(l(!0), t(v, null, f(e.tagsList, (o) => (l(), t("a", {
|
|
409
419
|
key: o,
|
|
410
420
|
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
411
421
|
class: "mr-2 mb-1 capitalize"
|
|
412
422
|
}, [
|
|
413
|
-
r(
|
|
423
|
+
r(O, {
|
|
414
424
|
class: p([
|
|
415
425
|
"!text-tiny !leading-4",
|
|
416
426
|
"shrink-0 max-w-[100px] !h-auto",
|
|
@@ -422,16 +432,16 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
422
432
|
"text-color": "text-inkwell-30"
|
|
423
433
|
}, {
|
|
424
434
|
default: a(() => [
|
|
425
|
-
|
|
435
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
426
436
|
]),
|
|
427
437
|
_: 2
|
|
428
438
|
}, 1032, ["class"])
|
|
429
|
-
], 8,
|
|
430
|
-
])) :
|
|
439
|
+
], 8, le))), 128))
|
|
440
|
+
])) : i("", !0),
|
|
431
441
|
n("div", {
|
|
432
442
|
class: p(["accordions", { closed: e.showCreateRequest }])
|
|
433
443
|
}, [
|
|
434
|
-
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), k(
|
|
444
|
+
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), k(C, {
|
|
435
445
|
key: 0,
|
|
436
446
|
modelValue: e.expandGuestInfo,
|
|
437
447
|
"onUpdate:modelValue": s[11] || (s[11] = (o) => e.expandGuestInfo = o),
|
|
@@ -443,7 +453,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
443
453
|
class: "flex items-center cursor-pointer",
|
|
444
454
|
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
445
455
|
}, [
|
|
446
|
-
n("div",
|
|
456
|
+
n("div", te, d(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
447
457
|
r(q, { class: "grow" }),
|
|
448
458
|
r(m, {
|
|
449
459
|
class: p([
|
|
@@ -457,30 +467,30 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
457
467
|
])
|
|
458
468
|
]),
|
|
459
469
|
content: a(() => [
|
|
460
|
-
e.loading.pms ? (l(),
|
|
461
|
-
e.roomDetailsData.reservations[0].guestName ? (l(),
|
|
470
|
+
e.loading.pms ? (l(), t("div", ie)) : (l(), t("div", re, [
|
|
471
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), t("p", ne, [
|
|
462
472
|
n("strong", null, d(e.roomDetailsData.reservations[0].guestName), 1)
|
|
463
|
-
])) :
|
|
473
|
+
])) : i("", !0),
|
|
464
474
|
n("div", {
|
|
465
475
|
class: p([
|
|
466
476
|
"stay-details-container flex",
|
|
467
477
|
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
468
478
|
])
|
|
469
479
|
}, [
|
|
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
|
-
])) :
|
|
480
|
+
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), t("div", de, [
|
|
481
|
+
n("div", ae, d(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
482
|
+
n("div", pe, d(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
483
|
+
])) : i("", !0),
|
|
484
|
+
e.stayDetails ? (l(), t("div", ue, [
|
|
485
|
+
n("div", me, d(e.$t("HC_STAY")) + ": ", 1),
|
|
486
|
+
n("div", ye, d(e.stayDetails), 1)
|
|
487
|
+
])) : i("", !0)
|
|
478
488
|
], 2)
|
|
479
489
|
]))
|
|
480
490
|
]),
|
|
481
491
|
_: 1
|
|
482
|
-
}, 8, ["modelValue"])) :
|
|
483
|
-
e.showTickets ? (l(), k(
|
|
492
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
493
|
+
e.showTickets ? (l(), k(C, {
|
|
484
494
|
key: 1,
|
|
485
495
|
modelValue: e.expandTickets,
|
|
486
496
|
"onUpdate:modelValue": s[13] || (s[13] = (o) => e.expandTickets = o),
|
|
@@ -492,7 +502,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
492
502
|
class: "flex items-center cursor-pointer",
|
|
493
503
|
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
494
504
|
}, [
|
|
495
|
-
n("div",
|
|
505
|
+
n("div", ke, d(e.$t("HC_OPEN_TICKETS")), 1),
|
|
496
506
|
r(q, { class: "grow" }),
|
|
497
507
|
r(m, {
|
|
498
508
|
class: p([
|
|
@@ -506,33 +516,35 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
506
516
|
])
|
|
507
517
|
]),
|
|
508
518
|
content: a(() => [
|
|
509
|
-
e.loading.tickets ? (l(),
|
|
510
|
-
(l(!0),
|
|
519
|
+
e.loading.tickets ? (l(), t("div", he)) : e.ticketsList.length ? (l(), t("ul", ge, [
|
|
520
|
+
(l(!0), t(v, null, f(e.ticketsList, (o, $) => (l(), t("li", {
|
|
511
521
|
key: o.id,
|
|
512
522
|
id: `open-ticket-${o.id}`
|
|
513
523
|
}, [
|
|
514
|
-
r(
|
|
524
|
+
r(S, {
|
|
515
525
|
class: p([
|
|
516
526
|
{
|
|
517
|
-
"mt-3":
|
|
527
|
+
"mt-3": $ > 0,
|
|
518
528
|
pulse: o.isNew
|
|
519
529
|
}
|
|
520
530
|
]),
|
|
521
531
|
"is-clickable": !0,
|
|
522
532
|
text: o.name,
|
|
523
|
-
time: e.getHowLongAgo(
|
|
533
|
+
time: e.getHowLongAgo(
|
|
534
|
+
o.started?.dateUtc
|
|
535
|
+
),
|
|
524
536
|
type: o.type,
|
|
525
|
-
onClick: (
|
|
537
|
+
onClick: (ho) => e.onClickTicket(o)
|
|
526
538
|
}, null, 8, ["class", "text", "time", "type", "onClick"])
|
|
527
539
|
], 8, we))), 128))
|
|
528
|
-
])) : (l(),
|
|
540
|
+
])) : (l(), t("p", qe, d(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
|
|
529
541
|
]),
|
|
530
542
|
_: 1
|
|
531
|
-
}, 8, ["modelValue"])) :
|
|
532
|
-
e.showComments ? (l(), k(
|
|
543
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
544
|
+
e.showComments ? (l(), k(C, {
|
|
533
545
|
key: 2,
|
|
534
546
|
modelValue: e.expandComments,
|
|
535
|
-
"onUpdate:modelValue": s[
|
|
547
|
+
"onUpdate:modelValue": s[17] || (s[17] = (o) => e.expandComments = o),
|
|
536
548
|
class: "messages mb-3",
|
|
537
549
|
"content-class": "!px-0 !pt-3 !pb-0"
|
|
538
550
|
}, {
|
|
@@ -541,7 +553,7 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
541
553
|
class: "flex items-center cursor-pointer",
|
|
542
554
|
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
543
555
|
}, [
|
|
544
|
-
n("div",
|
|
556
|
+
n("div", Te, d(e.$t("HC_GUEST_CONNECT")), 1),
|
|
545
557
|
r(q, { class: "grow" }),
|
|
546
558
|
r(m, {
|
|
547
559
|
class: p([
|
|
@@ -568,65 +580,73 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
568
580
|
}
|
|
569
581
|
])
|
|
570
582
|
}, [
|
|
571
|
-
e.filteredReplies.length ? (l(),
|
|
572
|
-
(l(!0),
|
|
583
|
+
e.filteredReplies.length ? (l(), t("div", ve, [
|
|
584
|
+
(l(!0), t(v, null, f(e.filteredReplies, (o) => (l(), t("div", {
|
|
573
585
|
key: o,
|
|
574
586
|
class: p([
|
|
575
|
-
"quick-reply
|
|
587
|
+
"quick-reply",
|
|
576
588
|
{ active: e.comment }
|
|
577
589
|
]),
|
|
578
|
-
onClick: (
|
|
590
|
+
onClick: ($) => e.onSelectQuickReply(o)
|
|
579
591
|
}, [
|
|
580
592
|
n("div", null, d(o), 1)
|
|
581
|
-
], 10,
|
|
582
|
-
])) : (l(),
|
|
593
|
+
], 10, fe))), 128))
|
|
594
|
+
])) : (l(), t("div", ce, d(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + d(e.comment) + '". ', 1))
|
|
583
595
|
], 2),
|
|
584
|
-
r(
|
|
596
|
+
r(D, {
|
|
585
597
|
comments: e.messages,
|
|
586
598
|
"show-heading": !1,
|
|
587
599
|
"show-no-comments": !1
|
|
588
600
|
}, {
|
|
589
601
|
default: a(() => [
|
|
590
|
-
n("div",
|
|
591
|
-
|
|
602
|
+
n("div", Ce, [
|
|
603
|
+
e.messages.length > 0 ? (l(), t("div", {
|
|
604
|
+
key: 0,
|
|
605
|
+
class: p([
|
|
606
|
+
"cursor-pointer text-xs px-2 py-1 rounded",
|
|
607
|
+
"border border-gray-12 hover:bg-gray-5",
|
|
608
|
+
{ hide: e.quickReplyOpen }
|
|
609
|
+
]),
|
|
610
|
+
onClick: s[15] || (s[15] = (...o) => e.toggleMarkOpenClose && e.toggleMarkOpenClose(...o))
|
|
611
|
+
}, d(e.$t(
|
|
612
|
+
e.isConversationOpen ? "HC_CLOSE" : "HC_OPEN"
|
|
613
|
+
)), 3)) : i("", !0)
|
|
614
|
+
]),
|
|
615
|
+
n("div", be, [
|
|
616
|
+
r(w, {
|
|
592
617
|
id: "comment-field",
|
|
593
618
|
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" : "",
|
|
619
|
+
"onUpdate:modelValue": s[16] || (s[16] = (o) => e.comment = o),
|
|
620
|
+
"textarea-class": "text-sm pr-5 border-gray-12",
|
|
601
621
|
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"]),
|
|
622
|
+
rows: 1,
|
|
623
|
+
"control-class": "w-100 mr-2",
|
|
624
|
+
onKeydown: U(e.sendChatMessage, ["enter"])
|
|
625
|
+
}, null, 8, ["modelValue", "placeholder", "onKeydown"]),
|
|
607
626
|
n("div", {
|
|
608
627
|
id: "hidden-text",
|
|
609
628
|
class: "text-sm",
|
|
610
629
|
innerHTML: e.comment
|
|
611
|
-
}, null, 8,
|
|
630
|
+
}, null, 8, Oe),
|
|
612
631
|
r(m, {
|
|
613
632
|
id: "quick-reply-trigger",
|
|
614
|
-
icon:
|
|
615
|
-
class: "cursor-pointer !absolute mb-1",
|
|
616
|
-
color: "blue-
|
|
633
|
+
icon: "comment-lines",
|
|
634
|
+
class: "cursor-pointer !absolute top-1/2 -translate-y-1/2 mb-1",
|
|
635
|
+
color: e.quickReplyOpen ? "blue-20" : "inkwell-0",
|
|
617
636
|
size: "sm",
|
|
618
637
|
type: e.quickReplyOpen ? "fill" : "outline",
|
|
619
638
|
onClick: e.toggleQuickReply
|
|
620
|
-
}, null, 8, ["
|
|
621
|
-
r(
|
|
639
|
+
}, null, 8, ["color", "type", "onClick"]),
|
|
640
|
+
r(b, {
|
|
622
641
|
id: "send-comment",
|
|
623
642
|
disabled: !e.comment || e.quickReplyOpen,
|
|
624
|
-
class: "!absolute
|
|
625
|
-
size: "
|
|
643
|
+
class: "!absolute top-1/2 -translate-y-1/2 px-2 mr-2 !text-sm",
|
|
644
|
+
size: "xsm",
|
|
645
|
+
status: "link",
|
|
626
646
|
onClick: e.sendChatMessage
|
|
627
647
|
}, {
|
|
628
648
|
default: a(() => [
|
|
629
|
-
|
|
649
|
+
h(d(e.$t("HC_SEND")), 1)
|
|
630
650
|
]),
|
|
631
651
|
_: 1
|
|
632
652
|
}, 8, ["disabled", "onClick"])
|
|
@@ -636,11 +656,17 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
636
656
|
}, 8, ["comments"])
|
|
637
657
|
]),
|
|
638
658
|
_: 1
|
|
639
|
-
}, 8, ["modelValue"])) :
|
|
659
|
+
}, 8, ["modelValue"])) : i("", !0)
|
|
640
660
|
], 2),
|
|
641
661
|
n("div", {
|
|
642
662
|
id: "add-ticket",
|
|
643
|
-
class: p([
|
|
663
|
+
class: p([
|
|
664
|
+
"add-ticket",
|
|
665
|
+
{
|
|
666
|
+
"overflow-hidden": !e.showCreateRequest,
|
|
667
|
+
open: e.showCreateRequest
|
|
668
|
+
}
|
|
669
|
+
])
|
|
644
670
|
}, [
|
|
645
671
|
r(q, {
|
|
646
672
|
class: "text-base section-header mb-3",
|
|
@@ -648,19 +674,19 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
648
674
|
color: "inkwell-30"
|
|
649
675
|
}, {
|
|
650
676
|
default: a(() => [
|
|
651
|
-
n("div",
|
|
652
|
-
n("div",
|
|
677
|
+
n("div", Ee, [
|
|
678
|
+
n("div", $e, d(e.$t("HC_ACTION")), 1)
|
|
653
679
|
])
|
|
654
680
|
]),
|
|
655
681
|
_: 1
|
|
656
682
|
}),
|
|
657
683
|
n("form", {
|
|
658
684
|
class: "flex flex-col",
|
|
659
|
-
onSubmit: s[
|
|
685
|
+
onSubmit: s[49] || (s[49] = V((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
660
686
|
}, [
|
|
661
|
-
e.showCreateRequest ? (l(),
|
|
662
|
-
n("div",
|
|
663
|
-
n("div",
|
|
687
|
+
e.showCreateRequest ? (l(), t("div", Ve, [
|
|
688
|
+
n("div", He, [
|
|
689
|
+
n("div", Se, [
|
|
664
690
|
r(u, {
|
|
665
691
|
id: "todo-type",
|
|
666
692
|
selected: e.requestType,
|
|
@@ -668,10 +694,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
668
694
|
placeholder: e.$t("HC_ACTION_TYPE"),
|
|
669
695
|
condensed: "",
|
|
670
696
|
required: "",
|
|
671
|
-
"onUpdate:modelValue": s[
|
|
697
|
+
"onUpdate:modelValue": s[18] || (s[18] = (o) => e.onSelectToDo(o))
|
|
672
698
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
673
699
|
]),
|
|
674
|
-
e.requestType && e.requestType.id === "room_notice" ? (l(),
|
|
700
|
+
e.requestType && e.requestType.id === "room_notice" ? (l(), t("div", De, [
|
|
675
701
|
r(u, {
|
|
676
702
|
id: "todo-notice-issue",
|
|
677
703
|
selected: e.roomNotice.issue,
|
|
@@ -680,10 +706,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
680
706
|
placeholder: e.$t("HC_ITEM"),
|
|
681
707
|
condensed: "",
|
|
682
708
|
required: "",
|
|
683
|
-
"onUpdate:modelValue": s[
|
|
709
|
+
"onUpdate:modelValue": s[19] || (s[19] = (o) => e.roomNotice.issue = o)
|
|
684
710
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
685
|
-
])) :
|
|
686
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(),
|
|
711
|
+
])) : i("", !0),
|
|
712
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Ne, [
|
|
687
713
|
r(g, {
|
|
688
714
|
id: "todo-notice-start-date",
|
|
689
715
|
value: e.roomNotice.startDate,
|
|
@@ -697,10 +723,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
697
723
|
"wrapper-classes": "ui-overhaul",
|
|
698
724
|
condensed: "",
|
|
699
725
|
required: "",
|
|
700
|
-
"onUpdate:modelValue": s[
|
|
726
|
+
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.roomNotice.startDate = o)
|
|
701
727
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
702
|
-
])) :
|
|
703
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(),
|
|
728
|
+
])) : i("", !0),
|
|
729
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Ue, [
|
|
704
730
|
r(g, {
|
|
705
731
|
id: "todo-notice-end-date",
|
|
706
732
|
value: e.roomNotice.endDate,
|
|
@@ -715,21 +741,21 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
715
741
|
"wrapper-classes": "ui-overhaul",
|
|
716
742
|
condensed: "",
|
|
717
743
|
required: "",
|
|
718
|
-
"onUpdate:modelValue": s[
|
|
744
|
+
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.endDate = o)
|
|
719
745
|
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
720
|
-
])) :
|
|
721
|
-
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(),
|
|
722
|
-
r(
|
|
746
|
+
])) : i("", !0),
|
|
747
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Re, [
|
|
748
|
+
r(w, {
|
|
723
749
|
id: "todo-notice-notes",
|
|
724
750
|
modelValue: e.roomNotice.notes,
|
|
725
|
-
"onUpdate:modelValue": s[
|
|
751
|
+
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.roomNotice.notes = o),
|
|
726
752
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
753
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
754
|
+
"control-class": "w-full",
|
|
755
|
+
rows: 2
|
|
730
756
|
}, null, 8, ["modelValue", "placeholder"])
|
|
731
|
-
])) :
|
|
732
|
-
e.requestType && e.requestType.id === "complaint" ? (l(),
|
|
757
|
+
])) : i("", !0),
|
|
758
|
+
e.requestType && e.requestType.id === "complaint" ? (l(), t("div", Ae, [
|
|
733
759
|
r(u, {
|
|
734
760
|
id: "todo-complaint-problem",
|
|
735
761
|
selected: e.complaint.problem,
|
|
@@ -739,51 +765,52 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
739
765
|
placeholder: e.$t("HC_PROBLEM"),
|
|
740
766
|
condensed: "",
|
|
741
767
|
required: "",
|
|
742
|
-
"onUpdate:modelValue": s[
|
|
768
|
+
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.complaint.problem = o)
|
|
743
769
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
744
|
-
])) :
|
|
745
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
746
|
-
r(
|
|
770
|
+
])) : i("", !0),
|
|
771
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ge, [
|
|
772
|
+
r(T, {
|
|
747
773
|
id: "guest-name",
|
|
748
774
|
modelValue: e.complaint.guestName,
|
|
749
|
-
"onUpdate:modelValue": s[
|
|
775
|
+
"onUpdate:modelValue": s[24] || (s[24] = (o) => e.complaint.guestName = o),
|
|
750
776
|
placeholder: e.$t("HC_GUEST_NAME"),
|
|
751
|
-
|
|
777
|
+
"control-class": "w-full",
|
|
778
|
+
classes: "text-inkwell-30 border-gray-12 ui-overhaul",
|
|
752
779
|
condensed: "",
|
|
753
780
|
required: ""
|
|
754
781
|
}, null, 8, ["modelValue", "placeholder"])
|
|
755
|
-
])) :
|
|
756
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
757
|
-
r(
|
|
782
|
+
])) : i("", !0),
|
|
783
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ie, [
|
|
784
|
+
r(T, {
|
|
758
785
|
id: "guest-phone",
|
|
759
786
|
modelValue: e.complaint.guestPhone,
|
|
760
|
-
"onUpdate:modelValue": s[
|
|
787
|
+
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.guestPhone = o),
|
|
761
788
|
placeholder: e.$t("HC_GUEST_PHONE_NUMBER"),
|
|
762
789
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
763
790
|
condensed: ""
|
|
764
791
|
}, null, 8, ["modelValue", "placeholder"])
|
|
765
|
-
])) :
|
|
766
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
767
|
-
r(
|
|
792
|
+
])) : i("", !0),
|
|
793
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Le, [
|
|
794
|
+
r(T, {
|
|
768
795
|
id: "guest-email",
|
|
769
796
|
modelValue: e.complaint.guestEmail,
|
|
770
|
-
"onUpdate:modelValue": s[
|
|
797
|
+
"onUpdate:modelValue": s[26] || (s[26] = (o) => e.complaint.guestEmail = o),
|
|
771
798
|
placeholder: e.$t("HC_GUEST_EMAIL"),
|
|
772
799
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
773
800
|
condensed: ""
|
|
774
801
|
}, null, 8, ["modelValue", "placeholder"])
|
|
775
|
-
])) :
|
|
776
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
777
|
-
r(
|
|
802
|
+
])) : i("", !0),
|
|
803
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Me, [
|
|
804
|
+
r(T, {
|
|
778
805
|
id: "guest-loyalty",
|
|
779
806
|
modelValue: e.complaint.guestLoyalty,
|
|
780
|
-
"onUpdate:modelValue": s[
|
|
807
|
+
"onUpdate:modelValue": s[27] || (s[27] = (o) => e.complaint.guestLoyalty = o),
|
|
781
808
|
placeholder: e.$t("HC_GUEST_LOYALTY"),
|
|
782
809
|
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
783
810
|
condensed: ""
|
|
784
811
|
}, null, 8, ["modelValue", "placeholder"])
|
|
785
|
-
])) :
|
|
786
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
812
|
+
])) : i("", !0),
|
|
813
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", ze, [
|
|
787
814
|
r(u, {
|
|
788
815
|
id: "todo-complaint-mood",
|
|
789
816
|
selected: e.complaint.guestMood,
|
|
@@ -792,10 +819,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
792
819
|
placeholder: e.$t("HC_GUEST_MOOD"),
|
|
793
820
|
condensed: "",
|
|
794
821
|
required: "",
|
|
795
|
-
"onUpdate:modelValue": s[
|
|
822
|
+
"onUpdate:modelValue": s[28] || (s[28] = (o) => e.complaint.guestMood = o)
|
|
796
823
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
797
|
-
])) :
|
|
798
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
824
|
+
])) : i("", !0),
|
|
825
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Pe, [
|
|
799
826
|
r(g, {
|
|
800
827
|
id: "todo-complaint-check-in",
|
|
801
828
|
value: e.complaint.checkInDate,
|
|
@@ -809,10 +836,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
809
836
|
"wrapper-classes": "ui-overhaul",
|
|
810
837
|
condensed: "",
|
|
811
838
|
required: "",
|
|
812
|
-
"onUpdate:modelValue": s[
|
|
839
|
+
"onUpdate:modelValue": s[29] || (s[29] = (o) => e.complaint.checkInDate = o)
|
|
813
840
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
814
|
-
])) :
|
|
815
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
841
|
+
])) : i("", !0),
|
|
842
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", We, [
|
|
816
843
|
r(g, {
|
|
817
844
|
id: "todo-complaint-check-out",
|
|
818
845
|
value: e.complaint.checkOutDate,
|
|
@@ -827,21 +854,21 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
827
854
|
"wrapper-classes": "ui-overhaul",
|
|
828
855
|
condensed: "",
|
|
829
856
|
required: "",
|
|
830
|
-
"onUpdate:modelValue": s[
|
|
857
|
+
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.checkOutDate = o)
|
|
831
858
|
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
832
|
-
])) :
|
|
833
|
-
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(),
|
|
834
|
-
r(
|
|
859
|
+
])) : i("", !0),
|
|
860
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Be, [
|
|
861
|
+
r(w, {
|
|
835
862
|
id: "todo-complaint-notes",
|
|
836
863
|
modelValue: e.complaint.notes,
|
|
837
|
-
"onUpdate:modelValue": s[
|
|
864
|
+
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.complaint.notes = o),
|
|
838
865
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
866
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
867
|
+
"control-class": "w-full",
|
|
868
|
+
rows: 2
|
|
842
869
|
}, null, 8, ["modelValue", "placeholder"])
|
|
843
|
-
])) :
|
|
844
|
-
e.requestType && e.requestType.id === "work_order" ? (l(),
|
|
870
|
+
])) : i("", !0),
|
|
871
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), t("div", Ke, [
|
|
845
872
|
r(u, {
|
|
846
873
|
id: "todo-work-order-item",
|
|
847
874
|
selected: e.workOrder.item,
|
|
@@ -853,10 +880,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
853
880
|
"group-values": "options",
|
|
854
881
|
condensed: "",
|
|
855
882
|
required: "",
|
|
856
|
-
"onUpdate:modelValue": s[
|
|
883
|
+
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.workOrder.item = o)
|
|
857
884
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
858
|
-
])) :
|
|
859
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(),
|
|
885
|
+
])) : i("", !0),
|
|
886
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), t("div", Ye, [
|
|
860
887
|
r(u, {
|
|
861
888
|
id: "todo-work-order-issue",
|
|
862
889
|
selected: e.workOrder.issue,
|
|
@@ -865,10 +892,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
865
892
|
placeholder: e.$t("HC_ISSUE"),
|
|
866
893
|
condensed: "",
|
|
867
894
|
required: "",
|
|
868
|
-
"onUpdate:modelValue": s[
|
|
895
|
+
"onUpdate:modelValue": s[33] || (s[33] = (o) => e.workOrder.issue = o)
|
|
869
896
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
870
|
-
])) :
|
|
871
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
897
|
+
])) : i("", !0),
|
|
898
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", je, [
|
|
872
899
|
r(u, {
|
|
873
900
|
id: "todo-work-order-requested-by",
|
|
874
901
|
selected: e.workOrder.requestedBy,
|
|
@@ -876,10 +903,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
876
903
|
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
877
904
|
condensed: "",
|
|
878
905
|
required: "",
|
|
879
|
-
"onUpdate:modelValue": s[
|
|
906
|
+
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.requestedBy = o)
|
|
880
907
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
881
|
-
])) :
|
|
882
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
908
|
+
])) : i("", !0),
|
|
909
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Fe, [
|
|
883
910
|
r(u, {
|
|
884
911
|
id: "todo-work-order-assign-type",
|
|
885
912
|
selected: e.workOrder.assignType,
|
|
@@ -887,10 +914,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
887
914
|
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
888
915
|
condensed: "",
|
|
889
916
|
required: "",
|
|
890
|
-
"onUpdate:modelValue": s[
|
|
917
|
+
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.assignType = o)
|
|
891
918
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
892
|
-
])) :
|
|
893
|
-
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(),
|
|
919
|
+
])) : i("", !0),
|
|
920
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Ze, [
|
|
894
921
|
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
922
|
key: 0,
|
|
896
923
|
id: "todo-work-order-assign-type",
|
|
@@ -900,8 +927,8 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
900
927
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
901
928
|
condensed: "",
|
|
902
929
|
required: "",
|
|
903
|
-
"onUpdate:modelValue": s[
|
|
904
|
-
}, null, 8, ["selected", "options", "disabled", "placeholder"])) :
|
|
930
|
+
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.department = o)
|
|
931
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
905
932
|
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
933
|
key: 1,
|
|
907
934
|
id: "todo-work-order-assign-type",
|
|
@@ -914,10 +941,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
914
941
|
"group-values": "options",
|
|
915
942
|
condensed: "",
|
|
916
943
|
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(),
|
|
944
|
+
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.person = o)
|
|
945
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
946
|
+
])) : i("", !0),
|
|
947
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Qe, [
|
|
921
948
|
r(g, {
|
|
922
949
|
id: "todo-work-order-due",
|
|
923
950
|
value: e.workOrder.due,
|
|
@@ -931,21 +958,21 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
931
958
|
"wrapper-classes": "ui-overhaul",
|
|
932
959
|
condensed: "",
|
|
933
960
|
required: "",
|
|
934
|
-
"onUpdate:modelValue": s[
|
|
961
|
+
"onUpdate:modelValue": s[38] || (s[38] = (o) => e.workOrder.due = o)
|
|
935
962
|
}, 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(
|
|
963
|
+
])) : i("", !0),
|
|
964
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Je, [
|
|
965
|
+
r(w, {
|
|
939
966
|
id: "todo-work-order-notes",
|
|
940
967
|
modelValue: e.workOrder.notes,
|
|
941
|
-
"onUpdate:modelValue": s[
|
|
968
|
+
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.workOrder.notes = o),
|
|
942
969
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
970
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
971
|
+
"control-class": "w-full",
|
|
972
|
+
rows: 2
|
|
946
973
|
}, null, 8, ["modelValue", "placeholder"])
|
|
947
|
-
])) :
|
|
948
|
-
e.requestType && e.requestType.id === "request" ? (l(),
|
|
974
|
+
])) : i("", !0),
|
|
975
|
+
e.requestType && e.requestType.id === "request" ? (l(), t("div", Xe, [
|
|
949
976
|
r(u, {
|
|
950
977
|
id: "todo-request-item",
|
|
951
978
|
selected: e.request.item,
|
|
@@ -954,10 +981,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
954
981
|
placeholder: e.$t("HC_ITEM"),
|
|
955
982
|
condensed: "",
|
|
956
983
|
required: "",
|
|
957
|
-
"onUpdate:modelValue": s[
|
|
984
|
+
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.request.item = o)
|
|
958
985
|
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
959
|
-
])) :
|
|
960
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
986
|
+
])) : i("", !0),
|
|
987
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", _e, [
|
|
961
988
|
r(u, {
|
|
962
989
|
id: "todo-request-requested-by",
|
|
963
990
|
selected: e.request.requestedBy,
|
|
@@ -965,10 +992,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
965
992
|
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
966
993
|
condensed: "",
|
|
967
994
|
required: "",
|
|
968
|
-
"onUpdate:modelValue": s[
|
|
995
|
+
"onUpdate:modelValue": s[41] || (s[41] = (o) => e.request.requestedBy = o)
|
|
969
996
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
970
|
-
])) :
|
|
971
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
997
|
+
])) : i("", !0),
|
|
998
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", xe, [
|
|
972
999
|
r(g, {
|
|
973
1000
|
id: "todo-request-due",
|
|
974
1001
|
value: e.request.due,
|
|
@@ -982,10 +1009,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
982
1009
|
"wrapper-classes": "ui-overhaul",
|
|
983
1010
|
condensed: "",
|
|
984
1011
|
required: "",
|
|
985
|
-
"onUpdate:modelValue": s[
|
|
1012
|
+
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.due = o)
|
|
986
1013
|
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
987
|
-
])) :
|
|
988
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
1014
|
+
])) : i("", !0),
|
|
1015
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", eo, [
|
|
989
1016
|
r(u, {
|
|
990
1017
|
id: "todo-request-assign-type",
|
|
991
1018
|
selected: e.request.assignType,
|
|
@@ -993,10 +1020,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
993
1020
|
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
994
1021
|
condensed: "",
|
|
995
1022
|
required: "",
|
|
996
|
-
"onUpdate:modelValue": s[
|
|
1023
|
+
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.assignType = o)
|
|
997
1024
|
}, null, 8, ["selected", "options", "placeholder"])
|
|
998
|
-
])) :
|
|
999
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
1025
|
+
])) : i("", !0),
|
|
1026
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", oo, [
|
|
1000
1027
|
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), k(u, {
|
|
1001
1028
|
key: 0,
|
|
1002
1029
|
id: "todo-request-assign-type",
|
|
@@ -1006,8 +1033,8 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1006
1033
|
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1007
1034
|
condensed: "",
|
|
1008
1035
|
required: "",
|
|
1009
|
-
"onUpdate:modelValue": s[
|
|
1010
|
-
}, null, 8, ["selected", "options", "disabled", "placeholder"])) :
|
|
1036
|
+
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.department = o)
|
|
1037
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
1011
1038
|
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (l(), k(u, {
|
|
1012
1039
|
key: 1,
|
|
1013
1040
|
id: "todo-request-assign-type",
|
|
@@ -1020,10 +1047,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1020
1047
|
"group-values": "options",
|
|
1021
1048
|
condensed: "",
|
|
1022
1049
|
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(),
|
|
1050
|
+
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.person = o)
|
|
1051
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
1052
|
+
])) : i("", !0),
|
|
1053
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), t("div", so, [
|
|
1027
1054
|
r(u, {
|
|
1028
1055
|
id: "todo-request-when",
|
|
1029
1056
|
selected: e.request.when,
|
|
@@ -1032,10 +1059,10 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1032
1059
|
placeholder: e.$t("HC_SELECT_WHEN"),
|
|
1033
1060
|
required: e.allowWhenWhere,
|
|
1034
1061
|
condensed: "",
|
|
1035
|
-
"onUpdate:modelValue": s[
|
|
1062
|
+
"onUpdate:modelValue": s[46] || (s[46] = (o) => e.request.when = o)
|
|
1036
1063
|
}, null, 8, ["selected", "options", "disabled", "placeholder", "required"])
|
|
1037
|
-
])) :
|
|
1038
|
-
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(),
|
|
1064
|
+
])) : i("", !0),
|
|
1065
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.allowWhenWhere ? (l(), t("div", lo, [
|
|
1039
1066
|
r(u, {
|
|
1040
1067
|
id: "todo-request-where",
|
|
1041
1068
|
selected: e.request.where,
|
|
@@ -1044,46 +1071,47 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1044
1071
|
placeholder: e.$t("HC_SELECT_WHERE"),
|
|
1045
1072
|
required: e.allowWhenWhere,
|
|
1046
1073
|
condensed: "",
|
|
1047
|
-
"onUpdate:modelValue": s[
|
|
1074
|
+
"onUpdate:modelValue": s[47] || (s[47] = (o) => e.request.where = o)
|
|
1048
1075
|
}, null, 8, ["selected", "options", "disabled", "placeholder", "required"])
|
|
1049
|
-
])) :
|
|
1050
|
-
e.requestType && e.requestType.id === "request" && e.request.item ? (l(),
|
|
1051
|
-
r(
|
|
1076
|
+
])) : i("", !0),
|
|
1077
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", to, [
|
|
1078
|
+
r(w, {
|
|
1052
1079
|
id: "todo-request-notes",
|
|
1053
1080
|
modelValue: e.request.notes,
|
|
1054
|
-
"onUpdate:modelValue": s[
|
|
1081
|
+
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.request.notes = o),
|
|
1055
1082
|
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1083
|
+
"textarea-class": "text-inkwell-30 border-gray-12 mb-2",
|
|
1084
|
+
"control-class": "w-full",
|
|
1085
|
+
rows: 2
|
|
1059
1086
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1060
|
-
])) :
|
|
1087
|
+
])) : i("", !0)
|
|
1061
1088
|
])
|
|
1062
|
-
])) :
|
|
1063
|
-
n("div",
|
|
1064
|
-
r(
|
|
1089
|
+
])) : i("", !0),
|
|
1090
|
+
n("div", io, [
|
|
1091
|
+
r(b, {
|
|
1065
1092
|
status: "secondary",
|
|
1066
|
-
onClick:
|
|
1093
|
+
onClick: V(e.closeRequest, ["prevent"])
|
|
1067
1094
|
}, {
|
|
1068
1095
|
default: a(() => [
|
|
1069
|
-
|
|
1096
|
+
h(d(e.$t("HC_BACK")), 1)
|
|
1070
1097
|
]),
|
|
1071
1098
|
_: 1
|
|
1072
1099
|
}, 8, ["onClick"]),
|
|
1073
|
-
r(
|
|
1100
|
+
r(b, {
|
|
1074
1101
|
disabled: !e.validateToDo,
|
|
1075
1102
|
loading: e.requestLoading,
|
|
1076
|
-
"use-loading-spinner": !0
|
|
1103
|
+
"use-loading-spinner": !0,
|
|
1104
|
+
onClick: e.onCreateRequestSubmit
|
|
1077
1105
|
}, {
|
|
1078
1106
|
default: a(() => [
|
|
1079
|
-
|
|
1107
|
+
h(d(e.$t("HC_POST")), 1)
|
|
1080
1108
|
]),
|
|
1081
1109
|
_: 1
|
|
1082
|
-
}, 8, ["disabled", "loading"])
|
|
1110
|
+
}, 8, ["disabled", "loading", "onClick"])
|
|
1083
1111
|
])
|
|
1084
1112
|
], 32)
|
|
1085
1113
|
], 2),
|
|
1086
|
-
e.loading.pms ? (l(),
|
|
1114
|
+
e.loading.pms ? (l(), t("div", ro)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), t("div", no, [
|
|
1087
1115
|
r(m, {
|
|
1088
1116
|
class: "flex-shrink-1 mr-2",
|
|
1089
1117
|
size: "sm",
|
|
@@ -1091,15 +1119,17 @@ function no(e, s, ao, po, uo, mo) {
|
|
|
1091
1119
|
icon: "clock-alarm",
|
|
1092
1120
|
type: "outline"
|
|
1093
1121
|
}),
|
|
1094
|
-
n("p",
|
|
1095
|
-
|
|
1096
|
-
|
|
1122
|
+
n("p", ao, d(e.$t("HC_PMS_UPDATED")) + " " + d(e.DateTime.fromISO(
|
|
1123
|
+
e.roomDetailsData.updatedAt
|
|
1124
|
+
).toRelative({ locale: e.locale })), 1)
|
|
1125
|
+
])) : i("", !0)
|
|
1126
|
+
], 8, M)
|
|
1097
1127
|
]),
|
|
1098
1128
|
_: 3
|
|
1099
|
-
}, 8, ["model-value", "align", "position", "size"])
|
|
1100
|
-
], 40,
|
|
1129
|
+
}, 8, ["model-value", "align", "position", "size", "teleport", "teleport-to"])
|
|
1130
|
+
], 40, I)) : i("", !0);
|
|
1101
1131
|
}
|
|
1102
|
-
const
|
|
1132
|
+
const vo = /* @__PURE__ */ G(N, [["render", po]]);
|
|
1103
1133
|
export {
|
|
1104
|
-
|
|
1134
|
+
vo as default
|
|
1105
1135
|
};
|