@quoreadmin/ui 1.4.8 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +59 -57
- package/dist/index10.js +234 -45
- package/dist/index100.js +10 -0
- package/dist/index102.js +39 -0
- package/dist/{index101.js → index104.js} +2 -2
- package/dist/{index103.js → index106.js} +1 -1
- package/dist/{index105.js → index108.js} +4 -4
- package/dist/index11.js +50 -178
- package/dist/{index107.js → index110.js} +7 -7
- package/dist/{index109.js → index112.js} +1 -1
- package/dist/{index111.js → index114.js} +5 -5
- package/dist/{index115.js → index118.js} +1 -1
- package/dist/index12.js +174 -65
- package/dist/{index123.js → index126.js} +2 -2
- package/dist/{index125.js → index128.js} +1 -1
- package/dist/index13.js +70 -28
- package/dist/{index129.js → index132.js} +1 -1
- package/dist/{index133.js → index136.js} +113 -112
- package/dist/{index135.js → index138.js} +9 -9
- package/dist/index14.js +29 -187
- package/dist/{index137.js → index140.js} +11 -11
- package/dist/{index145.js → index148.js} +1 -1
- package/dist/index15.js +180 -128
- package/dist/{index147.js → index150.js} +1 -1
- package/dist/{index149.js → index152.js} +2 -2
- package/dist/index154.js +205 -111
- package/dist/index157.js +110 -87
- package/dist/index158.js +478 -844
- package/dist/index159.js +5520 -36
- package/dist/index16.js +123 -303
- package/dist/index160.js +90 -279
- package/dist/index161.js +833 -122
- package/dist/index162.js +36 -1197
- package/dist/index163.js +268 -760
- package/dist/index164.js +146 -1304
- package/dist/index165.js +1151 -228
- package/dist/index166.js +754 -88
- package/dist/index167.js +1308 -2
- package/dist/index168.js +259 -1359
- package/dist/index169.js +108 -0
- package/dist/index17.js +314 -21
- package/dist/index170.js +2 -18
- package/dist/index171.js +1372 -14
- package/dist/index173.js +8 -8
- package/dist/index174.js +10 -17
- package/dist/index175.js +18 -759
- package/dist/index176.js +18 -1100
- package/dist/index177.js +22 -1231
- package/dist/index178.js +740 -11258
- package/dist/index179.js +1100 -36
- package/dist/index18.js +20 -43
- package/dist/index180.js +1200 -81
- package/dist/index181.js +11276 -43
- package/dist/index182.js +36 -1190
- package/dist/{index91.js → index183.js} +4 -4
- package/dist/index184.js +44 -5938
- package/dist/index185.js +5830 -99
- package/dist/index186.js +188 -16
- package/dist/index187.js +25 -8
- package/dist/index188.js +16 -76
- package/dist/index189.js +1172 -235
- package/dist/index19.js +44 -49
- package/dist/index191.js +77 -26
- package/dist/index192.js +245 -55
- package/dist/index193.js +13655 -209
- package/dist/index194.js +26 -307
- package/dist/index195.js +43 -268
- package/dist/index196.js +231 -81
- package/dist/index197.js +288 -387
- package/dist/index198.js +287 -21
- package/dist/index199.js +84 -29
- package/dist/index2.js +2 -2
- package/dist/index20.js +49 -31
- package/dist/index200.js +400 -109
- package/dist/index201.js +22 -36
- package/dist/index202.js +33 -26
- package/dist/index203.js +111 -31
- package/dist/index204.js +36 -9
- package/dist/index205.js +26 -19
- package/dist/index206.js +36 -10
- package/dist/index207.js +9 -10
- package/dist/index208.js +18 -50
- package/dist/index209.js +10 -43
- package/dist/index21.js +32 -65
- package/dist/index210.js +10 -4
- package/dist/index211.js +48 -36
- package/dist/index212.js +43 -21
- package/dist/index213.js +3 -160
- package/dist/index214.js +38 -19
- package/dist/index215.js +21 -20
- package/dist/index216.js +160 -21
- package/dist/index217.js +218 -189
- package/dist/index218.js +36 -69
- package/dist/index219.js +10 -34
- package/dist/index22.js +61 -170
- package/dist/index220.js +123 -36
- package/dist/index221.js +37 -21
- package/dist/index222.js +80 -22
- package/dist/index223.js +10 -10
- package/dist/index224.js +20 -836
- package/dist/index225.js +19 -701
- package/dist/index226.js +19 -175
- package/dist/index227.js +11 -11
- package/dist/index228.js +14 -12
- package/dist/index229.js +6 -6
- package/dist/index23.js +173 -10
- package/dist/index230.js +7 -7
- package/dist/index231.js +836 -20
- package/dist/index232.js +702 -3
- package/dist/index233.js +172 -183
- package/dist/index234.js +21 -132
- package/dist/index235.js +20 -1223
- package/dist/index236.js +19 -126
- package/dist/index237.js +3 -20
- package/dist/index238.js +186 -21
- package/dist/index239.js +132 -21
- package/dist/index24.js +9 -38
- package/dist/index240.js +148 -25
- package/dist/index241.js +1223 -29
- package/dist/index242.js +12 -12
- package/dist/index243.js +15 -13
- package/dist/index244.js +20 -2
- package/dist/index245.js +22 -2
- package/dist/index246.js +29 -3632
- package/dist/index247.js +20 -55
- package/dist/index248.js +20 -77
- package/dist/index249.js +2 -52
- package/dist/index25.js +36 -116
- package/dist/index250.js +2 -215
- package/dist/index251.js +3631 -9
- package/dist/index252.js +37 -39
- package/dist/index253.js +60 -44
- package/dist/index254.js +34 -36
- package/dist/index255.js +184 -44
- package/dist/index256.js +9 -722
- package/dist/index257.js +39 -21
- package/dist/index258.js +44 -47
- package/dist/index259.js +53 -10
- package/dist/index26.js +116 -22
- package/dist/index260.js +66 -696
- package/dist/index261.js +706 -803
- package/dist/index262.js +38 -160
- package/dist/index263.js +61 -225
- package/dist/index264.js +11 -37
- package/dist/index265.js +704 -9
- package/dist/index266.js +819 -79
- package/dist/index267.js +15 -13
- package/dist/index268.js +198 -19
- package/dist/index269.js +65 -248
- package/dist/index27.js +24 -158
- package/dist/index270.js +31 -5
- package/dist/index271.js +36 -134
- package/dist/index272.js +232 -62
- package/dist/index273.js +7 -53
- package/dist/index274.js +118 -59
- package/dist/index275.js +83 -26
- package/dist/index276.js +3 -22
- package/dist/index277.js +26 -21
- package/dist/index278.js +2 -16
- package/dist/index279.js +78 -16
- package/dist/index28.js +141 -264
- package/dist/index280.js +77 -21
- package/dist/index281.js +22 -3
- package/dist/index282.js +932 -24
- package/dist/index283.js +22 -1518
- package/dist/index284.js +20 -386
- package/dist/index285.js +20 -2731
- package/dist/index286.js +67 -84
- package/dist/index287.js +19 -3770
- package/dist/index288.js +19 -60
- package/dist/index289.js +38 -63
- package/dist/index29.js +279 -62
- package/dist/index290.js +16 -16
- package/dist/index291.js +22 -935
- package/dist/index292.js +63 -22
- package/dist/index293.js +234 -19
- package/dist/index294.js +5 -19
- package/dist/index295.js +128 -63
- package/dist/index296.js +68 -19
- package/dist/index297.js +85 -17
- package/dist/index298.js +28 -21
- package/dist/index299.js +7 -20
- package/dist/index3.js +2 -2
- package/dist/index30.js +64 -178
- package/dist/index300.js +75 -63
- package/dist/index301.js +4 -2
- package/dist/index302.js +2 -15
- package/dist/index303.js +76 -77
- package/dist/index304.js +52 -200
- package/dist/index305.js +4 -244
- package/dist/index306.js +4 -234
- package/dist/index307.js +178 -5
- package/dist/index308.js +56 -127
- package/dist/index309.js +75 -68
- package/dist/index31.js +177 -38
- package/dist/index310.js +1509 -78
- package/dist/index311.js +383 -26
- package/dist/index312.js +2731 -9
- package/dist/index313.js +83 -72
- package/dist/index314.js +3769 -3
- package/dist/index315.js +60 -2
- package/dist/index316.js +15 -83
- package/dist/index317.js +83 -53
- package/dist/index318.js +200 -4
- package/dist/index319.js +245 -4
- package/dist/index32.js +38 -49
- package/dist/index320.js +25 -178
- package/dist/index321.js +21 -62
- package/dist/index322.js +22 -75
- package/dist/index323.js +15 -36
- package/dist/index324.js +17 -9
- package/dist/index325.js +23 -13
- package/dist/index326.js +8 -54
- package/dist/index327.js +12 -11
- package/dist/index328.js +52 -11
- package/dist/index329.js +9 -55
- package/dist/index33.js +47 -30
- package/dist/index330.js +13 -51
- package/dist/index331.js +51 -24
- package/dist/index332.js +52 -2
- package/dist/index333.js +31 -5
- package/dist/index334.js +2 -2
- package/dist/index335.js +4 -22
- package/dist/index336.js +2 -41
- package/dist/index337.js +23 -2
- package/dist/index338.js +40 -10
- package/dist/index339.js +2 -20
- package/dist/index34.js +31 -28
- package/dist/index340.js +10 -16
- package/dist/index341.js +20 -10
- package/dist/index342.js +16 -9
- package/dist/index343.js +10 -2
- package/dist/index344.js +9 -8
- package/dist/index345.js +2 -10
- package/dist/index346.js +8 -13
- package/dist/index347.js +9 -19
- package/dist/index348.js +14 -20
- package/dist/index349.js +33 -60
- package/dist/index35.js +29 -13
- package/dist/index350.js +20 -37
- package/dist/index351.js +19 -20
- package/dist/index352.js +61 -53
- package/dist/index353.js +37 -29
- package/dist/index354.js +20 -6
- package/dist/index355.js +53 -49
- package/dist/index356.js +29 -6
- package/dist/index357.js +6 -11
- package/dist/index358.js +49 -4
- package/dist/index359.js +5 -27
- package/dist/index36.js +15 -43
- package/dist/index360.js +12 -2
- package/dist/index361.js +6 -69
- package/dist/index362.js +27 -166
- package/dist/index363.js +2 -17
- package/dist/index364.js +69 -100
- package/dist/index365.js +167 -91
- package/dist/index366.js +16 -97
- package/dist/index367.js +1 -1
- package/dist/index368.js +3 -3
- package/dist/index37.js +42 -37
- package/dist/index371.js +3 -3
- package/dist/index373.js +1 -1
- package/dist/index375.js +3 -3
- package/dist/index376.js +8 -8
- package/dist/index377.js +3 -3
- package/dist/index379.js +100 -2
- package/dist/index38.js +36 -26
- package/dist/index380.js +91 -2
- package/dist/index381.js +98 -2
- package/dist/index382.js +3 -17
- package/dist/index383.js +2 -13
- package/dist/index384.js +2 -6
- package/dist/index385.js +17 -32
- package/dist/index386.js +15 -0
- package/dist/index387.js +8 -0
- package/dist/index388.js +34 -0
- package/dist/index39.js +25 -32
- package/dist/index4.js +2 -2
- package/dist/index40.js +32 -37
- package/dist/index41.js +37 -1068
- package/dist/index42.js +1045 -309
- package/dist/index43.js +326 -146
- package/dist/index44.js +155 -18
- package/dist/index45.js +16 -36
- package/dist/index46.js +38 -68
- package/dist/index47.js +67 -60
- package/dist/index48.js +56 -175
- package/dist/index49.js +173 -77
- package/dist/index5.js +2 -2
- package/dist/index50.js +79 -200
- package/dist/index51.js +206 -68
- package/dist/index52.js +69 -20
- package/dist/index53.js +20 -11
- package/dist/index54.js +10 -6
- package/dist/index55.js +5 -209
- package/dist/index56.js +210 -12
- package/dist/index57.js +12 -184
- package/dist/index58.js +176 -68
- package/dist/index59.js +79 -0
- package/dist/index6.js +2 -2
- package/dist/index61.js +7 -63
- package/dist/index62.js +65 -0
- package/dist/index7.js +2 -2
- package/dist/{index69.js → index70.js} +2 -2
- package/dist/index74.js +35 -78
- package/dist/index75.js +326 -0
- package/dist/index77.js +105 -0
- package/dist/{index76.js → index79.js} +7 -7
- package/dist/index8.js +3 -3
- package/dist/index81.js +77 -109
- package/dist/index83.js +22 -127
- package/dist/index84.js +140 -0
- package/dist/index86.js +141 -0
- package/dist/{index85.js → index88.js} +7 -7
- package/dist/index9.js +2 -2
- package/dist/{index89.js → index92.js} +1 -1
- package/dist/index94.js +105 -22
- package/dist/index96.js +16 -129
- package/dist/index97.js +30 -6
- package/dist/index99.js +128 -25
- package/dist/src/components/calendar/calendar.d.ts +290 -0
- package/dist/src/components/calendar/calendar.stories.d.ts +37 -0
- package/dist/src/components/calendar/calendar.vue.d.ts +2 -0
- package/dist/src/components/date-picker/date-picker.d.ts +2 -2
- package/dist/src/components/date-picker/date-picker.stories.d.ts +4 -4
- package/dist/src/components/grid/grid.stories.d.ts +10 -10
- package/dist/src/components/list/list.stories.d.ts +5 -5
- package/dist/src/components/modal/modal.stories.d.ts +5 -5
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +3 -3
- package/dist/src/components/select/select.d.ts +6 -5
- package/dist/src/components/select/select.stories.d.ts +15 -15
- package/dist/src/components/textarea/textarea.d.ts +1 -1
- package/dist/src/components/textarea/textarea.stories.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index151.js +0 -210
- package/dist/index155.js +0 -497
- package/dist/index156.js +0 -5524
- package/dist/index172.js +0 -20
- package/dist/index190.js +0 -13686
- package/dist/index60.js +0 -9
- package/dist/index73.js +0 -62
- package/dist/index78.js +0 -108
- package/dist/index80.js +0 -36
- package/dist/index93.js +0 -29
- /package/dist/{index113.js → index116.js} +0 -0
- /package/dist/{index117.js → index120.js} +0 -0
- /package/dist/{index119.js → index122.js} +0 -0
- /package/dist/{index121.js → index124.js} +0 -0
- /package/dist/{index127.js → index130.js} +0 -0
- /package/dist/{index131.js → index134.js} +0 -0
- /package/dist/{index139.js → index142.js} +0 -0
- /package/dist/{index141.js → index144.js} +0 -0
- /package/dist/{index143.js → index146.js} +0 -0
- /package/dist/{index63.js → index64.js} +0 -0
- /package/dist/{index65.js → index66.js} +0 -0
- /package/dist/{index67.js → index68.js} +0 -0
- /package/dist/{index71.js → index72.js} +0 -0
- /package/dist/{index87.js → index90.js} +0 -0
package/dist/index42.js
CHANGED
|
@@ -1,339 +1,1075 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import S from "./index136.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 T, renderList as v, createTextVNode as h, withKeys as H, withModifiers as E, mergeProps as U, toHandlerKey as D, renderSlot as A } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import R from "./index61.js";
|
|
5
|
+
const G = ["id"], I = ["id"], L = ["id"], z = { class: "flex gap-3" }, M = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "animate-shimmer bg-gray-30 w-3/4 h-6 grow"
|
|
8
|
+
}, P = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "text-base text-inkwell-30"
|
|
11
|
+
}, B = { key: 0 }, K = { key: 0 }, Y = ["href"], j = { class: "flex items-start" }, F = { class: "list-unstyled text-xs w-full" }, Z = { class: "grow" }, Q = { class: "grow" }, W = { class: "grow" }, J = { class: "grow" }, X = { class: "position-relative icon-container ml-auto" }, _ = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "animate-shimmer bg-gray-10 w-full h-4 my-4"
|
|
14
|
+
}, x = {
|
|
6
15
|
key: 1,
|
|
7
|
-
class: "
|
|
8
|
-
},
|
|
16
|
+
class: "flex flex-wrap items-center mb-3 gap-2"
|
|
17
|
+
}, ee = {
|
|
18
|
+
key: 2,
|
|
19
|
+
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
20
|
+
}, oe = {
|
|
21
|
+
key: 3,
|
|
22
|
+
class: "flex flex-wrap items-center mb-4"
|
|
23
|
+
}, se = ["href"], le = { class: "shrink-0 mr-2 text-xs" }, te = {
|
|
9
24
|
key: 0,
|
|
10
|
-
class: "
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, D = { key: 1 }, M = ["onClick"], N = {
|
|
25
|
+
class: "animate-shimmer bg-gray-10 w-full h-6"
|
|
26
|
+
}, ie = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "guest-info-container"
|
|
29
|
+
}, re = {
|
|
16
30
|
key: 0,
|
|
17
|
-
class: "text-
|
|
18
|
-
},
|
|
31
|
+
class: "text-base text-inkwell-30 mb-2"
|
|
32
|
+
}, ne = {
|
|
19
33
|
key: 0,
|
|
20
|
-
class: "text-
|
|
21
|
-
},
|
|
34
|
+
class: "flex text-xs mb-2 stay-details-row"
|
|
35
|
+
}, de = { class: "text-truncate text-inkwell-0" }, ae = { class: "grow text-inkwell-30" }, pe = {
|
|
22
36
|
key: 1,
|
|
23
|
-
class: "
|
|
24
|
-
},
|
|
37
|
+
class: "flex text-xs mb-2 stay-details-row"
|
|
38
|
+
}, ue = { class: "text-truncate text-inkwell-0" }, me = { class: "grow text-inkwell-30" }, ye = { class: "shrink-0 mr-2 text-xs" }, ke = {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: "animate-shimmer bg-gray-30 w-full h-6"
|
|
41
|
+
}, ge = {
|
|
25
42
|
key: 1,
|
|
26
|
-
class: "
|
|
27
|
-
},
|
|
28
|
-
key: 3,
|
|
29
|
-
class: "flex w-full justify-between"
|
|
30
|
-
}, Q = { class: "text-inkwell-40 pl-1 text-base font-medium" }, J = ["title"], W = {
|
|
43
|
+
class: "open-tickets"
|
|
44
|
+
}, he = ["id"], we = {
|
|
31
45
|
key: 2,
|
|
32
|
-
class: "
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
class: "text-center mx-auto"
|
|
47
|
+
}, qe = { class: "shrink-0 mr-2 text-xs" }, Te = {
|
|
48
|
+
key: 0,
|
|
49
|
+
class: "quick-replies row"
|
|
50
|
+
}, ve = ["onClick"], ce = {
|
|
51
|
+
key: 1,
|
|
52
|
+
class: "text-inkwell-0 text-xxs text-center"
|
|
53
|
+
}, fe = { class: "relative" }, Ce = ["innerHTML"], be = { class: "flex items-center add-ticket-divider" }, Oe = { class: "grow flex items-center text-sm" }, $e = {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "grow"
|
|
56
|
+
}, Ee = { class: "flex justify-between flex-wrap" }, De = { class: "field" }, Ve = {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "field"
|
|
59
|
+
}, Ne = {
|
|
60
|
+
key: 1,
|
|
61
|
+
class: "field"
|
|
62
|
+
}, Se = {
|
|
63
|
+
key: 2,
|
|
64
|
+
class: "field"
|
|
65
|
+
}, He = {
|
|
66
|
+
key: 3,
|
|
67
|
+
class: "field w-100"
|
|
68
|
+
}, Ue = {
|
|
69
|
+
key: 4,
|
|
70
|
+
class: "field"
|
|
71
|
+
}, Ae = {
|
|
72
|
+
key: 5,
|
|
73
|
+
class: "field w-100"
|
|
74
|
+
}, Re = {
|
|
75
|
+
key: 6,
|
|
76
|
+
class: "field"
|
|
77
|
+
}, Ge = {
|
|
78
|
+
key: 7,
|
|
79
|
+
class: "field"
|
|
80
|
+
}, Ie = {
|
|
81
|
+
key: 8,
|
|
82
|
+
class: "field"
|
|
83
|
+
}, Le = {
|
|
84
|
+
key: 9,
|
|
85
|
+
class: "field"
|
|
86
|
+
}, ze = {
|
|
87
|
+
key: 10,
|
|
88
|
+
class: "field"
|
|
89
|
+
}, Me = {
|
|
90
|
+
key: 11,
|
|
91
|
+
class: "field"
|
|
92
|
+
}, Pe = {
|
|
93
|
+
key: 12,
|
|
94
|
+
class: "field w-100"
|
|
95
|
+
}, Be = {
|
|
96
|
+
key: 13,
|
|
97
|
+
class: "field"
|
|
98
|
+
}, Ke = {
|
|
99
|
+
key: 14,
|
|
100
|
+
class: "field"
|
|
101
|
+
}, Ye = {
|
|
102
|
+
key: 15,
|
|
103
|
+
class: "field"
|
|
104
|
+
}, je = {
|
|
105
|
+
key: 16,
|
|
106
|
+
class: "field"
|
|
107
|
+
}, Fe = {
|
|
108
|
+
key: 17,
|
|
109
|
+
class: "field"
|
|
110
|
+
}, Ze = {
|
|
111
|
+
key: 18,
|
|
112
|
+
class: "field"
|
|
113
|
+
}, Qe = {
|
|
114
|
+
key: 19,
|
|
115
|
+
class: "field w-100"
|
|
116
|
+
}, We = {
|
|
117
|
+
key: 20,
|
|
118
|
+
class: "field"
|
|
119
|
+
}, Je = {
|
|
120
|
+
key: 21,
|
|
121
|
+
class: "field"
|
|
122
|
+
}, Xe = {
|
|
123
|
+
key: 22,
|
|
124
|
+
class: "field"
|
|
125
|
+
}, _e = {
|
|
126
|
+
key: 23,
|
|
127
|
+
class: "field"
|
|
128
|
+
}, xe = {
|
|
129
|
+
key: 24,
|
|
130
|
+
class: "field"
|
|
131
|
+
}, eo = {
|
|
132
|
+
key: 25,
|
|
133
|
+
class: "field w-100"
|
|
134
|
+
}, oo = {
|
|
135
|
+
class: /* @__PURE__ */ p([
|
|
136
|
+
"actions flex-shrink-0",
|
|
137
|
+
"flex items-center justify-between"
|
|
138
|
+
])
|
|
139
|
+
}, so = {
|
|
140
|
+
key: 4,
|
|
141
|
+
class: "animate-shimmer bg-gray-30 w-full h-4 my-4"
|
|
142
|
+
}, lo = {
|
|
143
|
+
key: 5,
|
|
144
|
+
class: "flex items-center mt-0.5"
|
|
145
|
+
}, to = { class: "text-xs text-inkwell-0" };
|
|
146
|
+
function io(e, s, ro, no, ao, po) {
|
|
147
|
+
const u = y("q-icon"), c = y("q-tooltip"), b = y("q-tag"), O = y("q-popover"), q = y("q-divider"), f = y("q-accordion"), V = y("q-activity-item"), g = y("q-input"), C = y("q-button"), N = y("q-comment-section"), m = y("q-select"), w = y("q-date-picker");
|
|
148
|
+
return e.showActionMenu || e.showComments || e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] || e.showTickets || e.tagsList.length ? (l(), t("div", {
|
|
149
|
+
key: 0,
|
|
150
|
+
id: e.id ? `rdp-${e.id}` : "",
|
|
151
|
+
class: "room-detail component-container text-inkwell-30",
|
|
152
|
+
onMouseleave: s[49] || (s[49] = (o) => e.onHoverToggle(!1))
|
|
40
153
|
}, [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{ "select-multiple": !!e.multiple },
|
|
64
|
-
{ "select-taggable": !!e.taggable || !!e.showTags || !!e.useAddTagsOnly },
|
|
65
|
-
{ "select-expand": e.expand },
|
|
66
|
-
{ "select-show-count": !!e.showSelectedCount },
|
|
67
|
-
{ "select-search": !!e.search },
|
|
68
|
-
{ "select-searchable": e.searchable },
|
|
69
|
-
e.searchable ? "cursor-text" : "cursor-default",
|
|
70
|
-
"q-select rounded",
|
|
71
|
-
// added q-select because of all the styling on style
|
|
72
|
-
"select-" + e.size
|
|
154
|
+
r(O, {
|
|
155
|
+
"model-value": e.open,
|
|
156
|
+
align: e.alignment,
|
|
157
|
+
position: e.positioning,
|
|
158
|
+
size: (!e.showTickets || e.showTickets && (!e.ticketsList || !e.ticketsList.length)) && !e.showComments && !e.showActionMenu ? "sm" : e.size,
|
|
159
|
+
onClose: s[47] || (s[47] = (o) => e.$emit("toggle", !1)),
|
|
160
|
+
"onUpdate:modelValue": s[48] || (s[48] = (o) => e.$emit("toggle", o))
|
|
161
|
+
}, {
|
|
162
|
+
trigger: a(() => [
|
|
163
|
+
n("div", U({
|
|
164
|
+
ref: "trigger",
|
|
165
|
+
id: e.id ? `rdp-${e.id}-trigger` : "",
|
|
166
|
+
class: "trigger-text"
|
|
167
|
+
}, {
|
|
168
|
+
[D(!e.hover && "click")]: s[0] || (s[0] = (o) => e.$emit("toggle", !e.open))
|
|
169
|
+
}, {
|
|
170
|
+
[D(e.hover && "mouseover")]: s[1] || (s[1] = (o) => e.onHoverToggle(!0))
|
|
171
|
+
}), [
|
|
172
|
+
A(e.$slots, "trigger", {}, () => [
|
|
173
|
+
h(d(e.trigger), 1)
|
|
174
|
+
], !0)
|
|
175
|
+
], 16, I)
|
|
73
176
|
]),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"close-on-select": e.closeOnSelect || !e.hasCheckboxes && !e.multiple,
|
|
79
|
-
"show-tags": e.showTags,
|
|
80
|
-
"tag-placeholder": e.noTagFound,
|
|
81
|
-
placeholder: e.placeholder,
|
|
82
|
-
"preserve-search": !0,
|
|
83
|
-
"reset-after": !1,
|
|
84
|
-
"max-height": 280,
|
|
85
|
-
"open-direction": e.openDirection,
|
|
86
|
-
"select-label": "",
|
|
87
|
-
"deselect-label": "",
|
|
88
|
-
"selected-label": "",
|
|
89
|
-
"select-group-label": "",
|
|
90
|
-
"deselect-group-label": "",
|
|
91
|
-
onOpen: e.onOpen,
|
|
92
|
-
onRemove: d[2] || (d[2] = (l) => e.onRemove(l)),
|
|
93
|
-
onTag: e.addTag,
|
|
94
|
-
onSearchChange: d[3] || (d[3] = (l) => e.searchChange(l))
|
|
95
|
-
}, $({
|
|
96
|
-
caret: u(({ toggle: l }) => [
|
|
97
|
-
a("div", {
|
|
98
|
-
class: r([
|
|
99
|
-
"h-full w-full",
|
|
100
|
-
"absolute left-0 top-0",
|
|
101
|
-
"z-[1] cursor-pointer",
|
|
102
|
-
"flex justify-end"
|
|
103
|
-
]),
|
|
104
|
-
onMousedown: k(l, ["prevent"])
|
|
177
|
+
content: a(() => [
|
|
178
|
+
n("div", {
|
|
179
|
+
id: e.id ? `rdp-${e.id}-content` : "",
|
|
180
|
+
class: "popover-content w-full font-weight-normal cursor-default"
|
|
105
181
|
}, [
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
e.searchable ? (s(), g(c, {
|
|
113
|
-
key: 0,
|
|
114
|
-
class: "search-icon",
|
|
115
|
-
color: e.selectionControl ? "inkwell-0" : "gray-40",
|
|
116
|
-
icon: "search",
|
|
117
|
-
type: ""
|
|
118
|
-
}, null, 8, ["color"])) : n("", !0),
|
|
119
|
-
e.searchable && (e.multiple && !e.selected.length || !e.multiple && !e.selected) && !e.selectionControl ? (s(), t("div", E, o(e.placeholder), 1)) : n("", !0)
|
|
120
|
-
]),
|
|
121
|
-
noResult: u(() => [
|
|
122
|
-
h(o(e.noResultsText), 1)
|
|
123
|
-
]),
|
|
124
|
-
noOptions: u(() => [
|
|
125
|
-
h(o(e.noOptionsText), 1)
|
|
126
|
-
]),
|
|
127
|
-
singleLabel: u(({ option: l }) => [
|
|
128
|
-
l.icon ? (s(), g(c, {
|
|
129
|
-
key: 0,
|
|
130
|
-
icon: l.icon
|
|
131
|
-
}, null, 8, ["icon"])) : n("", !0),
|
|
132
|
-
l && e.showPlaceholderImage ? f(e.$slots, "optionPrefix", C(v({ key: 1 }, l)), void 0, !0) : n("", !0),
|
|
133
|
-
e.selectionControl ? f(e.$slots, "controlPlaceholder", { key: 2 }, () => [
|
|
134
|
-
h(o(e.placeholder), 1)
|
|
135
|
-
], !0) : n("", !0),
|
|
136
|
-
a("span", {
|
|
137
|
-
class: r([
|
|
138
|
-
"option-name",
|
|
139
|
-
{
|
|
140
|
-
"text-inkwell-10 text-right truncate": e.selectionControl
|
|
141
|
-
}
|
|
142
|
-
])
|
|
143
|
-
}, o(l.label || l.name || l), 3)
|
|
144
|
-
]),
|
|
145
|
-
selection: u(({ values: l, isOpen: m }) => [
|
|
146
|
-
e.useTags ? (s(), t("div", P, [
|
|
147
|
-
e.groupValues && e.options[0][e.groupValues].length === l.length ? (s(), t("div", R, [
|
|
148
|
-
a("div", {
|
|
149
|
-
class: r([
|
|
150
|
-
"multiselect__tag inline-flex items-center justify-center rounded me-2 z-[1]",
|
|
151
|
-
{ "tag-gray": !!e.showTags }
|
|
182
|
+
n("div", z, [
|
|
183
|
+
e.loading.pms || e.loading.roomNotices ? (l(), t("div", M)) : (l(), t("div", {
|
|
184
|
+
key: 1,
|
|
185
|
+
class: p([
|
|
186
|
+
"flex grow items-center mb-4",
|
|
187
|
+
{ "gap-3": e.showRoomName }
|
|
152
188
|
])
|
|
153
189
|
}, [
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
190
|
+
e.showRoomName ? (l(), t("h2", P, [
|
|
191
|
+
n("strong", null, d(e.$t("HC_GUESTROOM")) + " " + d(e.room.name), 1)
|
|
192
|
+
])) : i("", !0),
|
|
193
|
+
(e.occupied || e.cleanliness || e.tagsList.length && !e.showRoomName) && e.size !== "sm" ? (l(), t("div", {
|
|
194
|
+
key: 1,
|
|
195
|
+
class: p([
|
|
196
|
+
"flex items-center flex-wrap gap-x-2",
|
|
197
|
+
{ "gap-y-3": !e.showRoomName }
|
|
198
|
+
])
|
|
159
199
|
}, [
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
200
|
+
e.occupied ? (l(), k(c, {
|
|
201
|
+
key: 0,
|
|
202
|
+
class: "flex shrink-0 items-center"
|
|
203
|
+
}, {
|
|
204
|
+
trigger: a(() => [
|
|
205
|
+
r(u, {
|
|
206
|
+
icon: "user",
|
|
207
|
+
type: "fill",
|
|
208
|
+
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
209
|
+
class: "!h-[1.625rem] !w-[1.625rem]",
|
|
210
|
+
size: "md"
|
|
211
|
+
}, null, 8, ["color"])
|
|
166
212
|
]),
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
213
|
+
content: a(() => [
|
|
214
|
+
e.occupancyTooltipContent ? (l(), t("div", B, d(e.$t(e.occupancyTooltipContent)), 1)) : i("", !0)
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
})) : i("", !0),
|
|
218
|
+
e.cleanliness ? (l(), k(c, {
|
|
219
|
+
key: 1,
|
|
220
|
+
class: "flex shrink-0 items-center"
|
|
221
|
+
}, {
|
|
222
|
+
trigger: a(() => [
|
|
223
|
+
r(u, {
|
|
224
|
+
icon: "spray-bottle",
|
|
225
|
+
type: "fill",
|
|
226
|
+
color: e.cleanlinessColor,
|
|
227
|
+
size: "md",
|
|
228
|
+
class: "mt-[0.0612rem]"
|
|
229
|
+
}, null, 8, ["color"])
|
|
230
|
+
]),
|
|
231
|
+
content: a(() => [
|
|
232
|
+
e.cleanlinessTooltipContent ? (l(), t("div", K, d(e.cleanlinessTooltipContent), 1)) : i("", !0)
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})) : i("", !0),
|
|
236
|
+
e.tagsList.length && !e.showRoomName ? (l(!0), t(T, { key: 2 }, v(e.tagsList, (o) => (l(), t("a", {
|
|
237
|
+
key: o,
|
|
238
|
+
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
239
|
+
class: "capitalize"
|
|
240
|
+
}, [
|
|
241
|
+
r(b, {
|
|
242
|
+
class: p([
|
|
243
|
+
"!text-xs !leading-4",
|
|
244
|
+
"shrink-0 max-w-[100px] !h-auto",
|
|
245
|
+
"!py-[0.1875rem] !px-[0.4375rem] border",
|
|
246
|
+
"border-orange-10",
|
|
247
|
+
{ pulse: o.isNew }
|
|
248
|
+
]),
|
|
249
|
+
"bg-color": "bg-yellow-0",
|
|
250
|
+
"text-color": "text-inkwell-30"
|
|
251
|
+
}, {
|
|
252
|
+
default: a(() => [
|
|
253
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
254
|
+
]),
|
|
255
|
+
_: 2
|
|
256
|
+
}, 1032, ["class"])
|
|
257
|
+
], 8, Y))), 128)) : i("", !0)
|
|
258
|
+
], 2)) : i("", !0)
|
|
259
|
+
], 2)),
|
|
260
|
+
n("div", j, [
|
|
261
|
+
e.showActionMenu && (e.showActionsLink || !e.hasGuestCallback && e.showGuestCallback || e.showComments || e.showGuestDetails) ? (l(), k(O, {
|
|
182
262
|
key: 0,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
class:
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
263
|
+
modelValue: e.actionMenuOpen,
|
|
264
|
+
"onUpdate:modelValue": s[7] || (s[7] = (o) => e.actionMenuOpen = o),
|
|
265
|
+
"has-caret": !1,
|
|
266
|
+
align: "right",
|
|
267
|
+
class: "action-menu mr-1",
|
|
268
|
+
size: "md",
|
|
269
|
+
onClose: s[8] || (s[8] = (o) => e.actionMenuOpen = !1)
|
|
270
|
+
}, {
|
|
271
|
+
trigger: a(() => [
|
|
272
|
+
r(u, {
|
|
273
|
+
class: "popover-action rounded-full cursor-pointer",
|
|
274
|
+
icon: "ellipsis-h",
|
|
275
|
+
size: "md",
|
|
276
|
+
type: "fill",
|
|
277
|
+
onClick: s[2] || (s[2] = (o) => e.actionMenuOpen = !e.actionMenuOpen)
|
|
278
|
+
})
|
|
279
|
+
]),
|
|
280
|
+
content: a(() => [
|
|
281
|
+
n("ul", F, [
|
|
282
|
+
e.showActionsLink ? (l(), t("li", {
|
|
283
|
+
key: 0,
|
|
284
|
+
class: p([
|
|
285
|
+
"flex items-center",
|
|
286
|
+
"icon-container cursor-pointer",
|
|
287
|
+
"text-inkwell-30 px-2 py-1 mt-2",
|
|
288
|
+
{
|
|
289
|
+
"mb-2": !e.showGuestDetails && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments
|
|
290
|
+
}
|
|
291
|
+
]),
|
|
292
|
+
onClick: s[3] || (s[3] = (...o) => e.openRequest && e.openRequest(...o))
|
|
293
|
+
}, [
|
|
294
|
+
r(u, {
|
|
295
|
+
class: "shrink-0 mr-1 p-1",
|
|
296
|
+
color: "gray-25",
|
|
297
|
+
icon: "plus",
|
|
298
|
+
size: "md",
|
|
299
|
+
type: ""
|
|
300
|
+
}),
|
|
301
|
+
n("div", Z, d(e.$t("HC_ACTION")), 1)
|
|
302
|
+
], 2)) : i("", !0),
|
|
303
|
+
!e.hasGuestCallback && e.showGuestCallback ? (l(), t("li", {
|
|
304
|
+
key: 1,
|
|
305
|
+
class: p([
|
|
306
|
+
"flex items-center",
|
|
307
|
+
"icon-container cursor-pointer",
|
|
308
|
+
"text-inkwell-30 px-2 py-1",
|
|
309
|
+
{ "mb-2": !e.showGuestDetails && !e.showComments },
|
|
310
|
+
{ "mt-2": !e.showActionsLink }
|
|
311
|
+
]),
|
|
312
|
+
onClick: s[4] || (s[4] = (...o) => e.createCallback && e.createCallback(...o))
|
|
313
|
+
}, [
|
|
314
|
+
r(u, {
|
|
315
|
+
class: "shrink-0 mr-1 p-0.5",
|
|
316
|
+
color: "gray-25",
|
|
317
|
+
icon: "phone-plus",
|
|
318
|
+
size: "md",
|
|
319
|
+
type: "outline"
|
|
320
|
+
}),
|
|
321
|
+
n("div", Q, d(e.$t("HC_GUEST_SATISFACTION_CALL")), 1)
|
|
322
|
+
], 2)) : i("", !0),
|
|
323
|
+
e.showComments ? (l(), t("li", {
|
|
324
|
+
key: 2,
|
|
325
|
+
class: p([
|
|
326
|
+
"flex items-center",
|
|
327
|
+
"icon-container cursor-pointer",
|
|
328
|
+
"text-inkwell-30 px-2 py-1",
|
|
329
|
+
{ "mb-2": !e.showGuestDetails },
|
|
330
|
+
{ "mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback) }
|
|
331
|
+
]),
|
|
332
|
+
onClick: s[5] || (s[5] = (...o) => e.onClickEditConnectGuest && e.onClickEditConnectGuest(...o))
|
|
333
|
+
}, [
|
|
334
|
+
r(u, {
|
|
335
|
+
class: "shrink-0 mr-1 p-1",
|
|
336
|
+
color: "gray-25",
|
|
337
|
+
icon: "pencil",
|
|
338
|
+
size: "md",
|
|
339
|
+
type: "outline"
|
|
340
|
+
}),
|
|
341
|
+
n("div", W, d(e.$t("HC_EDIT_INFORMATION")), 1)
|
|
342
|
+
], 2)) : i("", !0),
|
|
343
|
+
e.showGuestDetails ? (l(), t("li", {
|
|
344
|
+
key: 3,
|
|
345
|
+
class: p([
|
|
346
|
+
"flex items-center",
|
|
347
|
+
"icon-container cursor-pointer",
|
|
348
|
+
"text-inkwell-30 px-2 py-1 mb-2",
|
|
349
|
+
{ "mt-2": !e.showActionsLink && (e.hasGuestCallback || !e.showGuestCallback) && !e.showComments }
|
|
350
|
+
]),
|
|
351
|
+
onClick: s[6] || (s[6] = (...o) => e.refreshPMSData && e.refreshPMSData(...o))
|
|
352
|
+
}, [
|
|
353
|
+
r(u, {
|
|
354
|
+
class: "shrink-0 mr-1 p-1",
|
|
355
|
+
color: "gray-25",
|
|
356
|
+
icon: "refresh",
|
|
357
|
+
size: "md",
|
|
358
|
+
type: ""
|
|
359
|
+
}),
|
|
360
|
+
n("div", J, d(e.$t("HC_REFRESH_PMS_DATA")), 1)
|
|
361
|
+
], 2)) : i("", !0)
|
|
362
|
+
])
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
365
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
366
|
+
n("div", X, [
|
|
367
|
+
r(c, null, {
|
|
368
|
+
trigger: a(() => [
|
|
369
|
+
r(u, {
|
|
370
|
+
icon: "close",
|
|
371
|
+
size: "md",
|
|
372
|
+
type: "",
|
|
373
|
+
class: "popover-action rounded-full cursor-pointer p-1",
|
|
374
|
+
onClick: s[9] || (s[9] = (o) => e.$emit("toggle", !1))
|
|
375
|
+
})
|
|
204
376
|
]),
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
])) : n("", !0),
|
|
212
|
-
!e.showTags && !e.taggable && e.multiple && l.length ? (s(), t("div", {
|
|
213
|
-
key: 1,
|
|
214
|
-
class: r([
|
|
215
|
-
"multiselect__single flex w-full",
|
|
216
|
-
e.selectionControl ? "whitespace-nowrap justify-between" : "items-center"
|
|
217
|
-
])
|
|
218
|
-
}, [
|
|
219
|
-
a("span", {
|
|
220
|
-
class: r([
|
|
221
|
-
"option-selected",
|
|
222
|
-
{
|
|
223
|
-
capitalize: e.groupValues && e.options[0][e.groupValues].length === l.length
|
|
224
|
-
}
|
|
377
|
+
content: a(() => [
|
|
378
|
+
h(d(e.$t("HC_CLOSE")), 1)
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})
|
|
382
|
+
])
|
|
225
383
|
])
|
|
226
|
-
}, o(e.selectionControl ? e.placeholder : e.groupValues && e.options[0][e.groupValues].length === l.length ? e.groupLabel : l[0].label), 3),
|
|
227
|
-
e.selectionControl ? (s(), t("span", F, o(e.selectedText), 1)) : n("", !0),
|
|
228
|
-
e.limitShown && e.limitShown < l.length && (!e.groupValues && l.length !== e.limitShown || e.groupValues && e.options[0][e.groupValues].length !== l.length) ? (s(), t("span", H, " + " + o(l.length - e.limitShown) + " more... ", 1)) : n("", !0)
|
|
229
|
-
], 2)) : m && !e.useTags && !e.multiple ? (s(), t("div", {
|
|
230
|
-
key: 2,
|
|
231
|
-
class: r([
|
|
232
|
-
"multiselect__single flex w-full",
|
|
233
|
-
e.selectionControl ? "justify-between" : "items-center"
|
|
234
|
-
])
|
|
235
|
-
}, [
|
|
236
|
-
e.selectionControl ? (s(), t(T, { key: 0 }, [
|
|
237
|
-
a("span", I, o(e.placeholder || ""), 1),
|
|
238
|
-
a("span", U, o(e.selected?.label || e.selected?.name || ""), 1)
|
|
239
|
-
], 64)) : (s(), t("span", G, o(e.selected?.label || e.selected?.name || e.placeholder || ""), 1))
|
|
240
|
-
], 2)) : m && !e.useTags && e.multiple && e.selectionControl ? (s(), t("div", K, [
|
|
241
|
-
a("span", Q, o(e.placeholder || ""), 1)
|
|
242
|
-
])) : n("", !0)
|
|
243
|
-
]),
|
|
244
|
-
option: u(({ option: l, search: m }) => [
|
|
245
|
-
a("div", {
|
|
246
|
-
class: r([
|
|
247
|
-
"flex items-center w-full",
|
|
248
|
-
{ "option-search": l.label === m },
|
|
249
|
-
{ "option-disabled": l.$isDisabled }
|
|
250
384
|
]),
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
]),
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
"
|
|
271
|
-
|
|
272
|
-
|
|
385
|
+
e.loading.pms && e.size === "sm" ? (l(), t("div", _)) : !e.loading.pms && (e.occupied || e.cleanliness) && e.size === "sm" ? (l(), t("div", x, [
|
|
386
|
+
e.occupied ? (l(), k(u, {
|
|
387
|
+
key: 0,
|
|
388
|
+
icon: "user",
|
|
389
|
+
type: "fill",
|
|
390
|
+
color: e.occupied && e.hasComplaint ? "red-10" : "gray-30",
|
|
391
|
+
size: "sm"
|
|
392
|
+
}, null, 8, ["color"])) : i("", !0),
|
|
393
|
+
e.cleanliness ? (l(), k(u, {
|
|
394
|
+
key: 1,
|
|
395
|
+
icon: "spray-bottle",
|
|
396
|
+
type: "fill",
|
|
397
|
+
color: e.cleanlinessColor,
|
|
398
|
+
size: "sm"
|
|
399
|
+
}, null, 8, ["color"])) : i("", !0)
|
|
400
|
+
])) : i("", !0),
|
|
401
|
+
e.loading.roomNotices ? (l(), t("div", ee)) : !e.loading.roomNotices && e.tagsList.length && e.showRoomName ? (l(), t("div", oe, [
|
|
402
|
+
(l(!0), t(T, null, v(e.tagsList, (o) => (l(), t("a", {
|
|
403
|
+
key: o,
|
|
404
|
+
href: typeof o == "object" && o.id && o.name ? `/roomsbook/notice.php?id=${o.id}` : "",
|
|
405
|
+
class: "mr-2 mb-1 capitalize"
|
|
406
|
+
}, [
|
|
407
|
+
r(b, {
|
|
408
|
+
class: p([
|
|
409
|
+
"!text-tiny !leading-4",
|
|
410
|
+
"shrink-0 max-w-[100px] !h-auto",
|
|
411
|
+
"!py-0.5 !px-1.5 border",
|
|
412
|
+
"border-orange-10",
|
|
413
|
+
{ pulse: o.isNew }
|
|
414
|
+
]),
|
|
415
|
+
"bg-color": "bg-yellow-0",
|
|
416
|
+
"text-color": "text-inkwell-30"
|
|
417
|
+
}, {
|
|
418
|
+
default: a(() => [
|
|
419
|
+
h(d(typeof o == "object" && o.id && o.name ? o.name : o), 1)
|
|
420
|
+
]),
|
|
421
|
+
_: 2
|
|
422
|
+
}, 1032, ["class"])
|
|
423
|
+
], 8, se))), 128))
|
|
424
|
+
])) : i("", !0),
|
|
425
|
+
n("div", {
|
|
426
|
+
class: p(["accordions", { closed: e.showCreateRequest }])
|
|
273
427
|
}, [
|
|
274
|
-
|
|
428
|
+
e.showGuestDetails && e.roomDetailsData.reservations && e.roomDetailsData.reservations[0] ? (l(), k(f, {
|
|
275
429
|
key: 0,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
430
|
+
modelValue: e.expandGuestInfo,
|
|
431
|
+
"onUpdate:modelValue": s[11] || (s[11] = (o) => e.expandGuestInfo = o),
|
|
432
|
+
class: "mb-3",
|
|
433
|
+
"content-class": "!px-0 !pt-3 !pb-0"
|
|
434
|
+
}, {
|
|
435
|
+
toggle: a(() => [
|
|
436
|
+
n("div", {
|
|
437
|
+
class: "flex items-center cursor-pointer",
|
|
438
|
+
onClick: s[10] || (s[10] = (o) => e.expandGuestInfo = !e.expandGuestInfo)
|
|
439
|
+
}, [
|
|
440
|
+
n("div", le, d(e.$t("HC_GUEST_INFORMATION")), 1),
|
|
441
|
+
r(q, { class: "grow" }),
|
|
442
|
+
r(u, {
|
|
443
|
+
class: p([
|
|
444
|
+
"ml-2 transition-transform",
|
|
445
|
+
{ "rotate-90": e.expandGuestInfo }
|
|
446
|
+
]),
|
|
447
|
+
color: "gray-20",
|
|
448
|
+
icon: "chevron-right",
|
|
449
|
+
type: ""
|
|
450
|
+
}, null, 8, ["class"])
|
|
451
|
+
])
|
|
452
|
+
]),
|
|
453
|
+
content: a(() => [
|
|
454
|
+
e.loading.pms ? (l(), t("div", te)) : (l(), t("div", ie, [
|
|
455
|
+
e.roomDetailsData.reservations[0].guestName ? (l(), t("p", re, [
|
|
456
|
+
n("strong", null, d(e.roomDetailsData.reservations[0].guestName), 1)
|
|
457
|
+
])) : i("", !0),
|
|
458
|
+
n("div", {
|
|
459
|
+
class: p([
|
|
460
|
+
"stay-details-container flex",
|
|
461
|
+
e.size === "sm" ? "flex-col" : "flex-row gap-3"
|
|
462
|
+
])
|
|
463
|
+
}, [
|
|
464
|
+
e.roomDetailsData.reservations[0].confirmationNumber ? (l(), t("div", ne, [
|
|
465
|
+
n("div", de, d(e.$t("HC_RESERVATION")) + ": ", 1),
|
|
466
|
+
n("div", ae, d(e.roomDetailsData.reservations[0].confirmationNumber), 1)
|
|
467
|
+
])) : i("", !0),
|
|
468
|
+
e.stayDetails ? (l(), t("div", pe, [
|
|
469
|
+
n("div", ue, d(e.$t("HC_STAY")) + ": ", 1),
|
|
470
|
+
n("div", me, d(e.stayDetails), 1)
|
|
471
|
+
])) : i("", !0)
|
|
472
|
+
], 2)
|
|
473
|
+
]))
|
|
474
|
+
]),
|
|
475
|
+
_: 1
|
|
476
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
477
|
+
e.showTickets ? (l(), k(f, {
|
|
478
|
+
key: 1,
|
|
479
|
+
modelValue: e.expandTickets,
|
|
480
|
+
"onUpdate:modelValue": s[13] || (s[13] = (o) => e.expandTickets = o),
|
|
481
|
+
class: "mb-3",
|
|
482
|
+
"content-class": "!px-0 !pt-3 !pb-0"
|
|
483
|
+
}, {
|
|
484
|
+
toggle: a(() => [
|
|
485
|
+
n("div", {
|
|
486
|
+
class: "flex items-center cursor-pointer",
|
|
487
|
+
onClick: s[12] || (s[12] = (o) => e.expandTickets = !e.expandTickets)
|
|
488
|
+
}, [
|
|
489
|
+
n("div", ye, d(e.$t("HC_OPEN_TICKETS")), 1),
|
|
490
|
+
r(q, { class: "grow" }),
|
|
491
|
+
r(u, {
|
|
492
|
+
class: p([
|
|
493
|
+
"ml-2 transition-transform",
|
|
494
|
+
{ "rotate-90": e.expandTickets }
|
|
495
|
+
]),
|
|
496
|
+
color: "gray-20",
|
|
497
|
+
icon: "chevron-right",
|
|
498
|
+
type: ""
|
|
499
|
+
}, null, 8, ["class"])
|
|
500
|
+
])
|
|
501
|
+
]),
|
|
502
|
+
content: a(() => [
|
|
503
|
+
e.loading.tickets ? (l(), t("div", ke)) : e.ticketsList.length ? (l(), t("ul", ge, [
|
|
504
|
+
(l(!0), t(T, null, v(e.ticketsList, (o, $) => (l(), t("li", {
|
|
505
|
+
key: o.id,
|
|
506
|
+
id: `open-ticket-${o.id}`
|
|
507
|
+
}, [
|
|
508
|
+
r(V, {
|
|
509
|
+
class: p([
|
|
510
|
+
{
|
|
511
|
+
"mt-3": $ > 0,
|
|
512
|
+
pulse: o.isNew
|
|
513
|
+
}
|
|
514
|
+
]),
|
|
515
|
+
"is-clickable": !0,
|
|
516
|
+
text: o.name,
|
|
517
|
+
time: e.getHowLongAgo(o.started?.dateUtc),
|
|
518
|
+
type: o.type,
|
|
519
|
+
onClick: (uo) => e.onClickTicket(o)
|
|
520
|
+
}, null, 8, ["class", "text", "time", "type", "onClick"])
|
|
521
|
+
], 8, he))), 128))
|
|
522
|
+
])) : (l(), t("p", we, d(e.$t("HC_THERE_ARE_NO_OPEN_TICKETS_YET")), 1))
|
|
523
|
+
]),
|
|
524
|
+
_: 1
|
|
525
|
+
}, 8, ["modelValue"])) : i("", !0),
|
|
526
|
+
e.showComments ? (l(), k(f, {
|
|
527
|
+
key: 2,
|
|
528
|
+
modelValue: e.expandComments,
|
|
529
|
+
"onUpdate:modelValue": s[16] || (s[16] = (o) => e.expandComments = o),
|
|
530
|
+
class: "messages mb-3",
|
|
531
|
+
"content-class": "!px-0 !pt-3 !pb-0"
|
|
310
532
|
}, {
|
|
311
|
-
|
|
312
|
-
|
|
533
|
+
toggle: a(() => [
|
|
534
|
+
n("div", {
|
|
535
|
+
class: "flex items-center cursor-pointer",
|
|
536
|
+
onClick: s[14] || (s[14] = (o) => e.expandComments = !e.expandComments)
|
|
537
|
+
}, [
|
|
538
|
+
n("div", qe, d(e.$t("HC_GUEST_CONNECT")), 1),
|
|
539
|
+
r(q, { class: "grow" }),
|
|
540
|
+
r(u, {
|
|
541
|
+
class: p([
|
|
542
|
+
"ml-2 transition-transform",
|
|
543
|
+
{ "rotate-90": e.expandComments }
|
|
544
|
+
]),
|
|
545
|
+
color: "gray-20",
|
|
546
|
+
icon: "chevron-right",
|
|
547
|
+
type: ""
|
|
548
|
+
}, null, 8, ["class"])
|
|
549
|
+
])
|
|
550
|
+
]),
|
|
551
|
+
content: a(() => [
|
|
552
|
+
n("div", {
|
|
553
|
+
class: p([
|
|
554
|
+
"quick-replies-container",
|
|
555
|
+
"flex flex-col",
|
|
556
|
+
{ show: e.quickReplyOpen },
|
|
557
|
+
{
|
|
558
|
+
"justify-end": !!e.filteredReplies.length
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"justify-center": !e.filteredReplies.length
|
|
562
|
+
}
|
|
563
|
+
])
|
|
564
|
+
}, [
|
|
565
|
+
e.filteredReplies.length ? (l(), t("div", Te, [
|
|
566
|
+
(l(!0), t(T, null, v(e.filteredReplies, (o) => (l(), t("div", {
|
|
567
|
+
key: o,
|
|
568
|
+
class: p([
|
|
569
|
+
"quick-reply text-sm text-inkwell-20",
|
|
570
|
+
{ active: e.comment }
|
|
571
|
+
]),
|
|
572
|
+
onClick: ($) => e.onSelectQuickReply(o)
|
|
573
|
+
}, [
|
|
574
|
+
n("div", null, d(o), 1)
|
|
575
|
+
], 10, ve))), 128))
|
|
576
|
+
])) : (l(), t("div", ce, d(e.$t("HC_NO_RESULTS_FOUND_FOR")) + ' "' + d(e.comment) + '". ', 1))
|
|
577
|
+
], 2),
|
|
578
|
+
r(N, {
|
|
579
|
+
comments: e.messages,
|
|
580
|
+
"show-heading": !1,
|
|
581
|
+
"show-no-comments": !1
|
|
582
|
+
}, {
|
|
583
|
+
default: a(() => [
|
|
584
|
+
n("div", fe, [
|
|
585
|
+
r(g, {
|
|
586
|
+
id: "comment-field",
|
|
587
|
+
modelValue: e.comment,
|
|
588
|
+
"onUpdate:modelValue": s[15] || (s[15] = (o) => e.comment = o),
|
|
589
|
+
classes: [
|
|
590
|
+
"text-sm pr-5 py-1",
|
|
591
|
+
{ "border-gray-12": !e.quickReplyOpen },
|
|
592
|
+
{ "border-blue-sky text-blue-sky": e.quickReplyOpen }
|
|
593
|
+
],
|
|
594
|
+
icon: e.quickReplyOpen ? "search" : "",
|
|
595
|
+
placeholder: e.quickReplyOpen ? e.$t("HC_SEARCH_REPLIES") : e.$t("HC_WRITE_A_MESSAGE"),
|
|
596
|
+
class: "w-100 mr-2",
|
|
597
|
+
size: "sm",
|
|
598
|
+
type: "textarea",
|
|
599
|
+
onKeydown: H(e.sendChatMessage, ["enter"])
|
|
600
|
+
}, null, 8, ["modelValue", "classes", "icon", "placeholder", "onKeydown"]),
|
|
601
|
+
n("div", {
|
|
602
|
+
id: "hidden-text",
|
|
603
|
+
class: "text-sm",
|
|
604
|
+
innerHTML: e.comment
|
|
605
|
+
}, null, 8, Ce),
|
|
606
|
+
r(u, {
|
|
607
|
+
id: "quick-reply-trigger",
|
|
608
|
+
icon: (e.quickReplyOpen, "comment-lines"),
|
|
609
|
+
class: "cursor-pointer !absolute mb-1",
|
|
610
|
+
color: "blue-sky",
|
|
611
|
+
size: "sm",
|
|
612
|
+
type: e.quickReplyOpen ? "fill" : "outline",
|
|
613
|
+
onClick: e.toggleQuickReply
|
|
614
|
+
}, null, 8, ["icon", "type", "onClick"]),
|
|
615
|
+
r(C, {
|
|
616
|
+
id: "send-comment",
|
|
617
|
+
disabled: !e.comment || e.quickReplyOpen,
|
|
618
|
+
class: "!absolute btn-subtle px-2 mr-1 text-sm",
|
|
619
|
+
size: "sm",
|
|
620
|
+
onClick: e.sendChatMessage
|
|
621
|
+
}, {
|
|
622
|
+
default: a(() => [
|
|
623
|
+
h(d(e.$t("HC_SEND")), 1)
|
|
624
|
+
]),
|
|
625
|
+
_: 1
|
|
626
|
+
}, 8, ["disabled", "onClick"])
|
|
627
|
+
])
|
|
628
|
+
]),
|
|
629
|
+
_: 1
|
|
630
|
+
}, 8, ["comments"])
|
|
313
631
|
]),
|
|
314
632
|
_: 1
|
|
315
|
-
}, 8, ["
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
633
|
+
}, 8, ["modelValue"])) : i("", !0)
|
|
634
|
+
], 2),
|
|
635
|
+
n("div", {
|
|
636
|
+
id: "add-ticket",
|
|
637
|
+
class: p(["add-ticket overflow-hidden", { open: e.showCreateRequest }])
|
|
638
|
+
}, [
|
|
639
|
+
r(q, {
|
|
640
|
+
class: "text-base section-header mb-3",
|
|
641
|
+
align: "left",
|
|
642
|
+
color: "inkwell-30"
|
|
323
643
|
}, {
|
|
324
|
-
default:
|
|
325
|
-
|
|
644
|
+
default: a(() => [
|
|
645
|
+
n("div", be, [
|
|
646
|
+
n("div", Oe, d(e.$t("HC_ACTION")), 1)
|
|
647
|
+
])
|
|
326
648
|
]),
|
|
327
649
|
_: 1
|
|
328
|
-
},
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
650
|
+
}),
|
|
651
|
+
n("form", {
|
|
652
|
+
class: "flex flex-col",
|
|
653
|
+
onSubmit: s[46] || (s[46] = E((...o) => e.onCreateRequestSubmit && e.onCreateRequestSubmit(...o), ["prevent"]))
|
|
654
|
+
}, [
|
|
655
|
+
e.showCreateRequest ? (l(), t("div", $e, [
|
|
656
|
+
n("div", Ee, [
|
|
657
|
+
n("div", De, [
|
|
658
|
+
r(m, {
|
|
659
|
+
id: "todo-type",
|
|
660
|
+
selected: e.requestType,
|
|
661
|
+
options: e.todoOptions,
|
|
662
|
+
placeholder: e.$t("HC_ACTION_TYPE"),
|
|
663
|
+
condensed: "",
|
|
664
|
+
required: "",
|
|
665
|
+
"onUpdate:modelValue": s[17] || (s[17] = (o) => e.onSelectToDo(o))
|
|
666
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
667
|
+
]),
|
|
668
|
+
e.requestType && e.requestType.id === "room_notice" ? (l(), t("div", Ve, [
|
|
669
|
+
r(m, {
|
|
670
|
+
id: "todo-notice-issue",
|
|
671
|
+
selected: e.roomNotice.issue,
|
|
672
|
+
options: e.itemOptionsList,
|
|
673
|
+
disabled: !e.itemOptionsList.length,
|
|
674
|
+
placeholder: e.$t("HC_ITEM"),
|
|
675
|
+
condensed: "",
|
|
676
|
+
required: "",
|
|
677
|
+
"onUpdate:modelValue": s[18] || (s[18] = (o) => e.roomNotice.issue = o)
|
|
678
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
679
|
+
])) : i("", !0),
|
|
680
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Ne, [
|
|
681
|
+
r(w, {
|
|
682
|
+
id: "todo-notice-start-date",
|
|
683
|
+
value: e.roomNotice.startDate,
|
|
684
|
+
"is-today-min": !0,
|
|
685
|
+
"property-timezone": e.propertyTimeZone,
|
|
686
|
+
locale: e.locale,
|
|
687
|
+
placeholder: e.$t("HC_START_DATE"),
|
|
688
|
+
"calendar-classes": "mt-0",
|
|
689
|
+
class: "icon-right",
|
|
690
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
691
|
+
"wrapper-classes": "ui-overhaul",
|
|
692
|
+
condensed: "",
|
|
693
|
+
required: "",
|
|
694
|
+
"onUpdate:modelValue": s[19] || (s[19] = (o) => e.roomNotice.startDate = o)
|
|
695
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
696
|
+
])) : i("", !0),
|
|
697
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", Se, [
|
|
698
|
+
r(w, {
|
|
699
|
+
id: "todo-notice-end-date",
|
|
700
|
+
value: e.roomNotice.endDate,
|
|
701
|
+
"is-today-min": !0,
|
|
702
|
+
"minimum-date": e.$datetime(e.roomNotice.startDate).toDate(),
|
|
703
|
+
"property-timezone": e.propertyTimeZone,
|
|
704
|
+
locale: e.locale,
|
|
705
|
+
placeholder: e.$t("HC_END_DATE"),
|
|
706
|
+
"calendar-classes": "mt-0",
|
|
707
|
+
class: "icon-right",
|
|
708
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
709
|
+
"wrapper-classes": "ui-overhaul",
|
|
710
|
+
condensed: "",
|
|
711
|
+
required: "",
|
|
712
|
+
"onUpdate:modelValue": s[20] || (s[20] = (o) => e.roomNotice.endDate = o)
|
|
713
|
+
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
714
|
+
])) : i("", !0),
|
|
715
|
+
e.requestType && e.requestType.id === "room_notice" && e.roomNotice.issue ? (l(), t("div", He, [
|
|
716
|
+
r(g, {
|
|
717
|
+
id: "todo-notice-notes",
|
|
718
|
+
modelValue: e.roomNotice.notes,
|
|
719
|
+
"onUpdate:modelValue": s[21] || (s[21] = (o) => e.roomNotice.notes = o),
|
|
720
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
721
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
722
|
+
type: "textarea",
|
|
723
|
+
condensed: ""
|
|
724
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
725
|
+
])) : i("", !0),
|
|
726
|
+
e.requestType && e.requestType.id === "complaint" ? (l(), t("div", Ue, [
|
|
727
|
+
r(m, {
|
|
728
|
+
id: "todo-complaint-problem",
|
|
729
|
+
selected: e.complaint.problem,
|
|
730
|
+
options: e.itemOptionsList,
|
|
731
|
+
disabled: !e.itemOptionsList.length,
|
|
732
|
+
multiple: !1,
|
|
733
|
+
placeholder: e.$t("HC_PROBLEM"),
|
|
734
|
+
condensed: "",
|
|
735
|
+
required: "",
|
|
736
|
+
"onUpdate:modelValue": s[22] || (s[22] = (o) => e.complaint.problem = o)
|
|
737
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
738
|
+
])) : i("", !0),
|
|
739
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ae, [
|
|
740
|
+
r(g, {
|
|
741
|
+
id: "guest-name",
|
|
742
|
+
modelValue: e.complaint.guestName,
|
|
743
|
+
"onUpdate:modelValue": s[23] || (s[23] = (o) => e.complaint.guestName = o),
|
|
744
|
+
placeholder: e.$t("HC_GUEST_NAME"),
|
|
745
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
746
|
+
condensed: "",
|
|
747
|
+
required: ""
|
|
748
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
749
|
+
])) : i("", !0),
|
|
750
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Re, [
|
|
751
|
+
r(g, {
|
|
752
|
+
id: "guest-phone",
|
|
753
|
+
modelValue: e.complaint.guestPhone,
|
|
754
|
+
"onUpdate:modelValue": s[24] || (s[24] = (o) => e.complaint.guestPhone = o),
|
|
755
|
+
placeholder: e.$t("HC_GUEST_PHONE_NUMBER"),
|
|
756
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
757
|
+
condensed: ""
|
|
758
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
759
|
+
])) : i("", !0),
|
|
760
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ge, [
|
|
761
|
+
r(g, {
|
|
762
|
+
id: "guest-email",
|
|
763
|
+
modelValue: e.complaint.guestEmail,
|
|
764
|
+
"onUpdate:modelValue": s[25] || (s[25] = (o) => e.complaint.guestEmail = o),
|
|
765
|
+
placeholder: e.$t("HC_GUEST_EMAIL"),
|
|
766
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
767
|
+
condensed: ""
|
|
768
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
769
|
+
])) : i("", !0),
|
|
770
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Ie, [
|
|
771
|
+
r(g, {
|
|
772
|
+
id: "guest-loyalty",
|
|
773
|
+
modelValue: e.complaint.guestLoyalty,
|
|
774
|
+
"onUpdate:modelValue": s[26] || (s[26] = (o) => e.complaint.guestLoyalty = o),
|
|
775
|
+
placeholder: e.$t("HC_GUEST_LOYALTY"),
|
|
776
|
+
classes: "text-inkwell-40 border-gray-12 ui-overhaul",
|
|
777
|
+
condensed: ""
|
|
778
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
779
|
+
])) : i("", !0),
|
|
780
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Le, [
|
|
781
|
+
r(m, {
|
|
782
|
+
id: "todo-complaint-mood",
|
|
783
|
+
selected: e.complaint.guestMood,
|
|
784
|
+
options: e.moodOptions,
|
|
785
|
+
disabled: !e.moodOptions.length,
|
|
786
|
+
placeholder: e.$t("HC_GUEST_MOOD"),
|
|
787
|
+
condensed: "",
|
|
788
|
+
required: "",
|
|
789
|
+
"onUpdate:modelValue": s[27] || (s[27] = (o) => e.complaint.guestMood = o)
|
|
790
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
791
|
+
])) : i("", !0),
|
|
792
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", ze, [
|
|
793
|
+
r(w, {
|
|
794
|
+
id: "todo-complaint-check-in",
|
|
795
|
+
value: e.$datetime(e.complaint.checkInDate).toDate(),
|
|
796
|
+
"is-today-min": !1,
|
|
797
|
+
"property-timezone": e.propertyTimeZone,
|
|
798
|
+
locale: e.locale,
|
|
799
|
+
placeholder: e.$t("HC_CHECK_IN_DATE"),
|
|
800
|
+
"calendar-classes": "mt-0",
|
|
801
|
+
class: "icon-right",
|
|
802
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
803
|
+
"wrapper-classes": "ui-overhaul",
|
|
804
|
+
condensed: "",
|
|
805
|
+
required: "",
|
|
806
|
+
"onUpdate:modelValue": s[28] || (s[28] = (o) => e.complaint.checkInDate = o)
|
|
807
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
808
|
+
])) : i("", !0),
|
|
809
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Me, [
|
|
810
|
+
r(w, {
|
|
811
|
+
id: "todo-complaint-check-out",
|
|
812
|
+
value: e.$datetime(e.complaint.checkOutDate).toDate(),
|
|
813
|
+
"is-today-min": !1,
|
|
814
|
+
"minimum-date": e.$datetime(e.complaint.checkInDate).toDate(),
|
|
815
|
+
"property-timezone": e.propertyTimeZone,
|
|
816
|
+
locale: e.locale,
|
|
817
|
+
placeholder: e.$t("HC_CHECK_OUT_DATE"),
|
|
818
|
+
"calendar-classes": "mt-0",
|
|
819
|
+
class: "icon-right",
|
|
820
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
821
|
+
"wrapper-classes": "ui-overhaul",
|
|
822
|
+
condensed: "",
|
|
823
|
+
required: "",
|
|
824
|
+
"onUpdate:modelValue": s[29] || (s[29] = (o) => e.complaint.checkOutDate = o)
|
|
825
|
+
}, null, 8, ["value", "minimum-date", "property-timezone", "locale", "placeholder"])
|
|
826
|
+
])) : i("", !0),
|
|
827
|
+
e.requestType && e.requestType.id === "complaint" && e.complaint.problem ? (l(), t("div", Pe, [
|
|
828
|
+
r(g, {
|
|
829
|
+
id: "todo-complaint-notes",
|
|
830
|
+
modelValue: e.complaint.notes,
|
|
831
|
+
"onUpdate:modelValue": s[30] || (s[30] = (o) => e.complaint.notes = o),
|
|
832
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
833
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
834
|
+
type: "textarea",
|
|
835
|
+
condensed: ""
|
|
836
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
837
|
+
])) : i("", !0),
|
|
838
|
+
e.requestType && e.requestType.id === "work_order" ? (l(), t("div", Be, [
|
|
839
|
+
r(m, {
|
|
840
|
+
id: "todo-work-order-item",
|
|
841
|
+
selected: e.workOrder.item,
|
|
842
|
+
options: e.itemOptionsList,
|
|
843
|
+
disabled: !e.itemOptionsList.length,
|
|
844
|
+
"group-selectable": !1,
|
|
845
|
+
placeholder: e.$t("HC_ITEM"),
|
|
846
|
+
"group-label": "group",
|
|
847
|
+
"group-values": "options",
|
|
848
|
+
condensed: "",
|
|
849
|
+
required: "",
|
|
850
|
+
"onUpdate:modelValue": s[31] || (s[31] = (o) => e.workOrder.item = o)
|
|
851
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
852
|
+
])) : i("", !0),
|
|
853
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item ? (l(), t("div", Ke, [
|
|
854
|
+
r(m, {
|
|
855
|
+
id: "todo-work-order-issue",
|
|
856
|
+
selected: e.workOrder.issue,
|
|
857
|
+
options: e.workOrderIssues,
|
|
858
|
+
disabled: !e.workOrderIssues.length,
|
|
859
|
+
placeholder: e.$t("HC_ISSUE"),
|
|
860
|
+
condensed: "",
|
|
861
|
+
required: "",
|
|
862
|
+
"onUpdate:modelValue": s[32] || (s[32] = (o) => e.workOrder.issue = o)
|
|
863
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
864
|
+
])) : i("", !0),
|
|
865
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Ye, [
|
|
866
|
+
r(m, {
|
|
867
|
+
id: "todo-work-order-requested-by",
|
|
868
|
+
selected: e.workOrder.requestedBy,
|
|
869
|
+
options: e.requestedByOptions,
|
|
870
|
+
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
871
|
+
condensed: "",
|
|
872
|
+
required: "",
|
|
873
|
+
"onUpdate:modelValue": s[33] || (s[33] = (o) => e.workOrder.requestedBy = o)
|
|
874
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
875
|
+
])) : i("", !0),
|
|
876
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", je, [
|
|
877
|
+
r(m, {
|
|
878
|
+
id: "todo-work-order-assign-type",
|
|
879
|
+
selected: e.workOrder.assignType,
|
|
880
|
+
options: e.assignTypes,
|
|
881
|
+
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
882
|
+
condensed: "",
|
|
883
|
+
required: "",
|
|
884
|
+
"onUpdate:modelValue": s[34] || (s[34] = (o) => e.workOrder.assignType = o)
|
|
885
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
886
|
+
])) : i("", !0),
|
|
887
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Fe, [
|
|
888
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 1 ? (l(), k(m, {
|
|
889
|
+
key: 0,
|
|
890
|
+
id: "todo-work-order-assign-type",
|
|
891
|
+
selected: e.workOrder.department,
|
|
892
|
+
options: e.departments,
|
|
893
|
+
disabled: !e.departments.length,
|
|
894
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
895
|
+
condensed: "",
|
|
896
|
+
required: "",
|
|
897
|
+
"onUpdate:modelValue": s[35] || (s[35] = (o) => e.workOrder.department = o)
|
|
898
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
899
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue && e.workOrder.assignType && e.workOrder.assignType.id === 2 ? (l(), k(m, {
|
|
900
|
+
key: 1,
|
|
901
|
+
id: "todo-work-order-assign-type",
|
|
902
|
+
selected: e.workOrder.person,
|
|
903
|
+
options: e.departmentUsers,
|
|
904
|
+
disabled: !e.departmentUsers.length,
|
|
905
|
+
"group-selectable": !1,
|
|
906
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
907
|
+
"group-label": "group",
|
|
908
|
+
"group-values": "options",
|
|
909
|
+
condensed: "",
|
|
910
|
+
required: "",
|
|
911
|
+
"onUpdate:modelValue": s[36] || (s[36] = (o) => e.workOrder.person = o)
|
|
912
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
913
|
+
])) : i("", !0),
|
|
914
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Ze, [
|
|
915
|
+
r(w, {
|
|
916
|
+
id: "todo-work-order-due",
|
|
917
|
+
value: e.$datetime(e.workOrder.due).toDate(),
|
|
918
|
+
"is-today-min": !0,
|
|
919
|
+
"property-timezone": e.propertyTimeZone,
|
|
920
|
+
locale: e.locale,
|
|
921
|
+
placeholder: e.$t("HC_DUE_DATE"),
|
|
922
|
+
"calendar-classes": "mt-0",
|
|
923
|
+
class: "icon-right",
|
|
924
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
925
|
+
"wrapper-classes": "ui-overhaul",
|
|
926
|
+
condensed: "",
|
|
927
|
+
required: "",
|
|
928
|
+
"onUpdate:modelValue": s[37] || (s[37] = (o) => e.workOrder.due = o)
|
|
929
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
930
|
+
])) : i("", !0),
|
|
931
|
+
e.requestType && e.requestType.id === "work_order" && e.workOrder.item && e.workOrder.issue ? (l(), t("div", Qe, [
|
|
932
|
+
r(g, {
|
|
933
|
+
id: "todo-work-order-notes",
|
|
934
|
+
modelValue: e.workOrder.notes,
|
|
935
|
+
"onUpdate:modelValue": s[38] || (s[38] = (o) => e.workOrder.notes = o),
|
|
936
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
937
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
938
|
+
type: "textarea",
|
|
939
|
+
condensed: ""
|
|
940
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
941
|
+
])) : i("", !0),
|
|
942
|
+
e.requestType && e.requestType.id === "request" ? (l(), t("div", We, [
|
|
943
|
+
r(m, {
|
|
944
|
+
id: "todo-request-item",
|
|
945
|
+
selected: e.request.item,
|
|
946
|
+
options: e.itemOptionsList,
|
|
947
|
+
disabled: !e.itemOptionsList.length,
|
|
948
|
+
placeholder: e.$t("HC_ITEM"),
|
|
949
|
+
condensed: "",
|
|
950
|
+
required: "",
|
|
951
|
+
"onUpdate:modelValue": s[39] || (s[39] = (o) => e.request.item = o)
|
|
952
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])
|
|
953
|
+
])) : i("", !0),
|
|
954
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", Je, [
|
|
955
|
+
r(m, {
|
|
956
|
+
id: "todo-request-requested-by",
|
|
957
|
+
selected: e.request.requestedBy,
|
|
958
|
+
options: e.requestedByOptions,
|
|
959
|
+
placeholder: e.$t("HC_REQUESTED_BY"),
|
|
960
|
+
condensed: "",
|
|
961
|
+
required: "",
|
|
962
|
+
"onUpdate:modelValue": s[40] || (s[40] = (o) => e.request.requestedBy = o)
|
|
963
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
964
|
+
])) : i("", !0),
|
|
965
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", Xe, [
|
|
966
|
+
r(w, {
|
|
967
|
+
id: "todo-request-due",
|
|
968
|
+
value: e.$datetime(e.request.due).toDate(),
|
|
969
|
+
"is-today-min": !0,
|
|
970
|
+
"property-timezone": e.propertyTimeZone,
|
|
971
|
+
locale: e.locale,
|
|
972
|
+
placeholder: e.$t("HC_DUE_DATE"),
|
|
973
|
+
"calendar-classes": "mt-0",
|
|
974
|
+
class: "icon-right",
|
|
975
|
+
"input-classes": "datepicker-md text-inkwell-40",
|
|
976
|
+
"wrapper-classes": "ui-overhaul",
|
|
977
|
+
condensed: "",
|
|
978
|
+
required: "",
|
|
979
|
+
"onUpdate:modelValue": s[41] || (s[41] = (o) => e.request.due = o)
|
|
980
|
+
}, null, 8, ["value", "property-timezone", "locale", "placeholder"])
|
|
981
|
+
])) : i("", !0),
|
|
982
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", _e, [
|
|
983
|
+
r(m, {
|
|
984
|
+
id: "todo-request-assign-type",
|
|
985
|
+
selected: e.request.assignType,
|
|
986
|
+
options: e.assignTypes,
|
|
987
|
+
placeholder: e.$t("HC_ASSIGN_TYPE"),
|
|
988
|
+
condensed: "",
|
|
989
|
+
required: "",
|
|
990
|
+
"onUpdate:modelValue": s[42] || (s[42] = (o) => e.request.assignType = o)
|
|
991
|
+
}, null, 8, ["selected", "options", "placeholder"])
|
|
992
|
+
])) : i("", !0),
|
|
993
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", xe, [
|
|
994
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 1 ? (l(), k(m, {
|
|
995
|
+
key: 0,
|
|
996
|
+
id: "todo-request-assign-type",
|
|
997
|
+
selected: e.request.department,
|
|
998
|
+
options: e.departments,
|
|
999
|
+
disabled: !e.departments.length,
|
|
1000
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1001
|
+
condensed: "",
|
|
1002
|
+
required: "",
|
|
1003
|
+
"onUpdate:modelValue": s[43] || (s[43] = (o) => e.request.department = o)
|
|
1004
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0),
|
|
1005
|
+
e.requestType && e.requestType.id === "request" && e.request.item && e.request.assignType && e.request.assignType.id === 2 ? (l(), k(m, {
|
|
1006
|
+
key: 1,
|
|
1007
|
+
id: "todo-request-assign-type",
|
|
1008
|
+
selected: e.request.person,
|
|
1009
|
+
options: e.departmentUsers,
|
|
1010
|
+
disabled: !e.departmentUsers.length,
|
|
1011
|
+
"group-selectable": !1,
|
|
1012
|
+
placeholder: e.$t("HC_ASSIGN_TO"),
|
|
1013
|
+
"group-label": "group",
|
|
1014
|
+
"group-values": "options",
|
|
1015
|
+
condensed: "",
|
|
1016
|
+
required: "",
|
|
1017
|
+
"onUpdate:modelValue": s[44] || (s[44] = (o) => e.request.person = o)
|
|
1018
|
+
}, null, 8, ["selected", "options", "disabled", "placeholder"])) : i("", !0)
|
|
1019
|
+
])) : i("", !0),
|
|
1020
|
+
e.requestType && e.requestType.id === "request" && e.request.item ? (l(), t("div", eo, [
|
|
1021
|
+
r(g, {
|
|
1022
|
+
id: "todo-request-notes",
|
|
1023
|
+
modelValue: e.request.notes,
|
|
1024
|
+
"onUpdate:modelValue": s[45] || (s[45] = (o) => e.request.notes = o),
|
|
1025
|
+
placeholder: e.$t("HC_WRITE_A_MESSAGE"),
|
|
1026
|
+
classes: "text-inkwell-40 border-gray-12 mb-2",
|
|
1027
|
+
type: "textarea",
|
|
1028
|
+
condensed: ""
|
|
1029
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
1030
|
+
])) : i("", !0)
|
|
1031
|
+
])
|
|
1032
|
+
])) : i("", !0),
|
|
1033
|
+
n("div", oo, [
|
|
1034
|
+
r(C, {
|
|
1035
|
+
status: "secondary",
|
|
1036
|
+
onClick: E(e.closeRequest, ["prevent"])
|
|
1037
|
+
}, {
|
|
1038
|
+
default: a(() => [
|
|
1039
|
+
h(d(e.$t("HC_BACK")), 1)
|
|
1040
|
+
]),
|
|
1041
|
+
_: 1
|
|
1042
|
+
}, 8, ["onClick"]),
|
|
1043
|
+
r(C, {
|
|
1044
|
+
disabled: !e.validateToDo,
|
|
1045
|
+
loading: e.requestLoading,
|
|
1046
|
+
"use-loading-spinner": !0
|
|
1047
|
+
}, {
|
|
1048
|
+
default: a(() => [
|
|
1049
|
+
h(d(e.$t("HC_POST")), 1)
|
|
1050
|
+
]),
|
|
1051
|
+
_: 1
|
|
1052
|
+
}, 8, ["disabled", "loading"])
|
|
1053
|
+
])
|
|
1054
|
+
], 32)
|
|
1055
|
+
], 2),
|
|
1056
|
+
e.loading.pms ? (l(), t("div", so)) : !e.loading.pms && e.roomDetailsData.updatedAt ? (l(), t("div", lo, [
|
|
1057
|
+
r(u, {
|
|
1058
|
+
class: "flex-shrink-1 mr-2",
|
|
1059
|
+
size: "sm",
|
|
1060
|
+
color: "inkwell-0",
|
|
1061
|
+
icon: "clock-alarm",
|
|
1062
|
+
type: "outline"
|
|
1063
|
+
}),
|
|
1064
|
+
n("p", to, d(e.$t("HC_PMS_UPDATED")) + " " + d(e.DateTime.fromISO(e.roomDetailsData.updatedAt).toRelative({ locale: e.locale })), 1)
|
|
1065
|
+
])) : i("", !0)
|
|
1066
|
+
], 8, L)
|
|
1067
|
+
]),
|
|
1068
|
+
_: 3
|
|
1069
|
+
}, 8, ["model-value", "align", "position", "size"])
|
|
1070
|
+
], 40, G)) : i("", !0);
|
|
335
1071
|
}
|
|
336
|
-
const
|
|
1072
|
+
const ho = /* @__PURE__ */ R(S, [["render", io], ["__scopeId", "data-v-ba64436a"]]);
|
|
337
1073
|
export {
|
|
338
|
-
|
|
1074
|
+
ho as default
|
|
339
1075
|
};
|