@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/index13.js
CHANGED
|
@@ -1,32 +1,74 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import g from "./index81.js";
|
|
2
|
+
import { resolveComponent as l, createElementBlock as n, openBlock as s, renderSlot as h, Fragment as b, renderList as k, createBlock as y, mergeProps as C, createElementVNode as i, toDisplayString as m, createVNode as a, withCtx as r } from "vue";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import V from "./index61.js";
|
|
5
|
+
const q = { class: "comment-section" }, _ = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "comments"
|
|
8
|
+
}, $ = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "no-comments text-center mb-6 mt-4"
|
|
11
|
+
}, E = { class: "text-md mb-2 leading-6 font-bold text-inkwell-30" }, S = { class: "text-sm text-inkwell-0" };
|
|
12
|
+
function T(e, t, N, v, A, O) {
|
|
13
|
+
const d = l("q-comment"), p = l("q-icon"), c = l("q-button"), u = l("q-wysiwyg");
|
|
14
|
+
return s(), n("div", q, [
|
|
15
|
+
e.comments && e.comments.length ? (s(), n("div", _, [
|
|
16
|
+
(s(!0), n(b, null, k(e.comments, (o, f) => (s(), y(d, C({ ref_for: !0 }, o, {
|
|
17
|
+
key: f,
|
|
18
|
+
"on-update-comment": (w) => e.onUpdateComment(o, w)
|
|
19
|
+
}), null, 16, ["on-update-comment"]))), 128))
|
|
20
|
+
])) : (s(), n("div", $, [
|
|
21
|
+
i("h4", E, m(e.$t("HC_NO_COMMENTS_YET")), 1),
|
|
22
|
+
i("p", S, m(e.$t("HC_START_THE_CONVERSATION")), 1)
|
|
23
|
+
])),
|
|
24
|
+
h(e.$slots, "default", {}, () => [
|
|
25
|
+
a(u, {
|
|
26
|
+
ref: "wysiwygRef",
|
|
27
|
+
modelValue: e.textareaValue,
|
|
28
|
+
"onUpdate:modelValue": [
|
|
29
|
+
t[0] || (t[0] = (o) => e.textareaValue = o),
|
|
30
|
+
t[2] || (t[2] = (o) => e.textareaValue = o)
|
|
31
|
+
],
|
|
32
|
+
attachments: e.files,
|
|
33
|
+
disabled: e.disabled,
|
|
34
|
+
"is-stacked": !0,
|
|
35
|
+
"allow-attachments": e.allowAttachments,
|
|
36
|
+
"allow-emojis": e.allowEmojis,
|
|
37
|
+
"allow-formatting": e.allowFormatting,
|
|
38
|
+
"files-allowed": e.filesAllowed,
|
|
39
|
+
placeholder: e.placeholderText,
|
|
40
|
+
processing: e.processing,
|
|
41
|
+
"onUpdate:attachments": t[1] || (t[1] = (o) => e.files = o)
|
|
42
|
+
}, {
|
|
43
|
+
action: r(() => [
|
|
44
|
+
a(c, {
|
|
45
|
+
loading: e.processing,
|
|
46
|
+
disabled: e.processing || !e.files.length && !e.textareaValue || e.disabled,
|
|
47
|
+
"is-fab": "",
|
|
48
|
+
size: "sm",
|
|
49
|
+
status: "primary-blue",
|
|
50
|
+
class: "post-button",
|
|
51
|
+
onClick: e.onClickPost
|
|
52
|
+
}, {
|
|
53
|
+
default: r(() => [
|
|
54
|
+
a(p, {
|
|
55
|
+
icon: "arrow-up",
|
|
56
|
+
type: "line",
|
|
57
|
+
size: "md",
|
|
58
|
+
color: "white",
|
|
59
|
+
"custom-class": "!stroke-white",
|
|
60
|
+
class: "p-[0.1875rem]"
|
|
61
|
+
})
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 8, ["loading", "disabled", "onClick"])
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
}, 8, ["modelValue", "attachments", "disabled", "allow-attachments", "allow-emojis", "allow-formatting", "files-allowed", "placeholder", "processing"])
|
|
68
|
+
], !0)
|
|
27
69
|
]);
|
|
28
70
|
}
|
|
29
|
-
const
|
|
71
|
+
const U = /* @__PURE__ */ V(g, [["render", T], ["__scopeId", "data-v-70f939a4"]]);
|
|
30
72
|
export {
|
|
31
|
-
|
|
73
|
+
U as default
|
|
32
74
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as Fe, ref as s, computed as p, watch as
|
|
1
|
+
import { defineComponent as Fe, ref as s, computed as p, watch as G, onMounted as je, onUnmounted as $e } from "vue";
|
|
2
2
|
import { useI18n as ze } from "vue-i18n";
|
|
3
|
-
import { DateTime as h } from "./
|
|
4
|
-
import "./
|
|
3
|
+
import { DateTime as h } from "./index159.js";
|
|
4
|
+
import "./index182.js";
|
|
5
5
|
import We from "./index2.js";
|
|
6
6
|
import Xe from "./index3.js";
|
|
7
|
-
import Je from "./
|
|
8
|
-
import Ke from "./
|
|
9
|
-
import Ve from "./
|
|
10
|
-
import Ze from "./
|
|
11
|
-
import et from "./
|
|
12
|
-
import tt from "./
|
|
13
|
-
import at from "./
|
|
14
|
-
import
|
|
7
|
+
import Je from "./index13.js";
|
|
8
|
+
import Ke from "./index21.js";
|
|
9
|
+
import Ve from "./index27.js";
|
|
10
|
+
import Ze from "./index38.js";
|
|
11
|
+
import et from "./index183.js";
|
|
12
|
+
import tt from "./index45.js";
|
|
13
|
+
import at from "./index48.js";
|
|
14
|
+
import Q from "./index184.js";
|
|
15
15
|
const ht = Fe({
|
|
16
16
|
name: "QRoomDetailsPopover",
|
|
17
17
|
components: {
|
|
@@ -120,8 +120,8 @@ const ht = Fe({
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
emits: ["create:callback", "create:todo", "refresh:pms", "toggle"],
|
|
123
|
-
setup(
|
|
124
|
-
const { t: d } = ze(), r = s(null),
|
|
123
|
+
setup(n, { emit: w }) {
|
|
124
|
+
const { t: d } = ze(), r = s(null), F = s(!1), j = s("left"), A = s([
|
|
125
125
|
{
|
|
126
126
|
id: 1,
|
|
127
127
|
label: d("HC_DEPARTMENT")
|
|
@@ -149,15 +149,15 @@ const ht = Fe({
|
|
|
149
149
|
problem: null,
|
|
150
150
|
notes: "",
|
|
151
151
|
tokenId: r.value?.tokenId
|
|
152
|
-
}),
|
|
152
|
+
}), E = s(250), M = s(290), O = s([]), me = s([]), $ = s(!0), B = s(!0), b = s({
|
|
153
153
|
info: !0,
|
|
154
154
|
tickets: !0,
|
|
155
155
|
comments: !0
|
|
156
|
-
}),
|
|
156
|
+
}), P = s(!0), pe = s(n.guestDetails), D = s([]), T = s({
|
|
157
157
|
pms: !1,
|
|
158
158
|
roomNotices: !1,
|
|
159
159
|
tickets: !1
|
|
160
|
-
}), oe = s([]),
|
|
160
|
+
}), oe = s([]), z = s([]), W = s("bottom"), C = s(null), X = s([]), R = s(!1), u = s({
|
|
161
161
|
assignType: null,
|
|
162
162
|
department: null,
|
|
163
163
|
due: /* @__PURE__ */ new Date(),
|
|
@@ -181,7 +181,7 @@ const ht = Fe({
|
|
|
181
181
|
issue: null,
|
|
182
182
|
notes: "",
|
|
183
183
|
startDate: /* @__PURE__ */ new Date()
|
|
184
|
-
}),
|
|
184
|
+
}), L = s([]), x = s(!1), _ = s([]), S = s([]), fe = s([
|
|
185
185
|
{
|
|
186
186
|
label: d("HC_COMPLAINT"),
|
|
187
187
|
id: "complaint"
|
|
@@ -198,7 +198,7 @@ const ht = Fe({
|
|
|
198
198
|
label: d("HC_WORK_ORDER"),
|
|
199
199
|
id: "work_order"
|
|
200
200
|
}
|
|
201
|
-
]), q = s(),
|
|
201
|
+
]), q = s(), Y = s(null), l = s({
|
|
202
202
|
assignType: null,
|
|
203
203
|
department: null,
|
|
204
204
|
due: /* @__PURE__ */ new Date(),
|
|
@@ -207,7 +207,7 @@ const ht = Fe({
|
|
|
207
207
|
notes: "",
|
|
208
208
|
person: null,
|
|
209
209
|
requestedBy: null
|
|
210
|
-
}),
|
|
210
|
+
}), J = s([]), K = p(() => {
|
|
211
211
|
switch (r.value.cleaning?.name) {
|
|
212
212
|
case "CLEAN":
|
|
213
213
|
case "INSPECTED":
|
|
@@ -220,9 +220,9 @@ const ht = Fe({
|
|
|
220
220
|
default:
|
|
221
221
|
return "";
|
|
222
222
|
}
|
|
223
|
-
}), ye = p(() =>
|
|
223
|
+
}), ye = p(() => K.value === "CLEAN" ? "blue-10" : K.value === "DIRTY" ? "red-10" : "gray-30"), he = p(() => d(`HC_${r.value.cleaning?.name}`) || ""), ge = p(() => {
|
|
224
224
|
const e = k.value.toLowerCase();
|
|
225
|
-
return
|
|
225
|
+
return X.value.filter((a) => a.toLowerCase().match(e));
|
|
226
226
|
}), se = p(() => _.value.length ? !!_.value.find(
|
|
227
227
|
(a) => a.type === "complaint"
|
|
228
228
|
) : !1), _e = p(() => _.value.length ? !!_.value.find(
|
|
@@ -239,7 +239,7 @@ const ht = Fe({
|
|
|
239
239
|
switch (g.value?.id) {
|
|
240
240
|
case "request":
|
|
241
241
|
case "work_order":
|
|
242
|
-
return
|
|
242
|
+
return A.value[0];
|
|
243
243
|
default:
|
|
244
244
|
return null;
|
|
245
245
|
}
|
|
@@ -275,7 +275,7 @@ const ht = Fe({
|
|
|
275
275
|
}
|
|
276
276
|
return e;
|
|
277
277
|
}), Oe = p(() => {
|
|
278
|
-
let e =
|
|
278
|
+
let e = L.value;
|
|
279
279
|
return e = [...new Set(e)], e;
|
|
280
280
|
}), Ce = p(() => {
|
|
281
281
|
const e = g.value?.id;
|
|
@@ -287,14 +287,14 @@ const ht = Fe({
|
|
|
287
287
|
case "complaint":
|
|
288
288
|
return i.value.problem && i.value.guestName && i.value.guestMood;
|
|
289
289
|
case "work_order":
|
|
290
|
-
return
|
|
290
|
+
return l.value.item && l.value.issue && l.value.requestedBy && l.value.due && (l.value.assignType && l.value.assignType.id === 0 || l.value.assignType && l.value.assignType.id === 1 && l.value.department || l.value.assignType && l.value.assignType.id === 2 && l.value.person);
|
|
291
291
|
case "request":
|
|
292
292
|
return u.value.item && u.value.requestedBy && u.value.due && (u.value.assignType && u.value.assignType.id === 0 || u.value.assignType && u.value.assignType.id === 1 && u.value.department || u.value.assignType && u.value.assignType.id === 2 && u.value.person);
|
|
293
293
|
default:
|
|
294
294
|
return !1;
|
|
295
295
|
}
|
|
296
296
|
}), le = () => {
|
|
297
|
-
|
|
297
|
+
x.value = !1, R.value = !1, F.value = !1, D.value = [], z.value = [], J.value = [], g.value = null, v.value.issue = null, v.value.startDate = /* @__PURE__ */ new Date(), v.value.endDate = /* @__PURE__ */ new Date(), v.value.notes = "", i.value.guestName = "", i.value.guestEmail = "", i.value.guestPhone = "", i.value.guestMood = null, i.value.guestLoyalty = "", i.value.problem = null, i.value.checkInDate = /* @__PURE__ */ new Date(), i.value.checkOutDate = /* @__PURE__ */ new Date(), i.value.notes = "", l.value.assignType = null, l.value.department = null, l.value.person = null, l.value.due = /* @__PURE__ */ new Date(), l.value.item = null, l.value.issue = null, l.value.notes = "", u.value.assignType = null, u.value.department = null, u.value.person = null, u.value.due = /* @__PURE__ */ new Date(), u.value.item = null, u.value.notes = "";
|
|
298
298
|
}, Re = async () => {
|
|
299
299
|
w("create:callback", r.value), w("toggle", !1);
|
|
300
300
|
}, Ee = (e) => {
|
|
@@ -319,7 +319,7 @@ const ht = Fe({
|
|
|
319
319
|
t.sender_type === "user" && (o.user.firstName = t.user_first_name, o.user.lastName = t.user_last_name, o.user.initials = o.user.firstName[0] + o.user.lastName[0]), t.sender_type === "guest" && (o.user.firstName = t.guest_first_name, o.user.lastName = t.guest_last_name), o.user.initials = o.user.firstName[0] + o.user.lastName[0], o.user.src = "", o.isSystemMessage && (o.user.icon = "property-fill"), t.sender_id && (o.user.id = t.sender_id), a.push(o);
|
|
320
320
|
}), e.value = a;
|
|
321
321
|
}, re = async () => {
|
|
322
|
-
|
|
322
|
+
n.showComments && r.value.tokenId;
|
|
323
323
|
}, Me = (e) => {
|
|
324
324
|
const a = h.utc(), t = h.fromFormat(e, "yyyy-MM-dd HH:mm:ss", { zone: "utc" }), o = a.diff(
|
|
325
325
|
t,
|
|
@@ -344,13 +344,13 @@ const ht = Fe({
|
|
|
344
344
|
if (I === 0)
|
|
345
345
|
return d("HC_A_MOMENT_AGO");
|
|
346
346
|
}, Ne = async () => {
|
|
347
|
-
|
|
348
|
-
},
|
|
347
|
+
n.showGuestDetails && V(), U(), H(), w("refresh:pms", r.value);
|
|
348
|
+
}, V = async () => {
|
|
349
349
|
try {
|
|
350
350
|
T.value.pms = !0;
|
|
351
351
|
const e = new AbortController(), a = setTimeout(() => e.abort(), 45e3);
|
|
352
352
|
S.value.push(a);
|
|
353
|
-
const t =
|
|
353
|
+
const t = n.pmsBaseUrl;
|
|
354
354
|
if (!t)
|
|
355
355
|
throw new Error("PMS base URL is required");
|
|
356
356
|
const o = {
|
|
@@ -360,7 +360,7 @@ const ht = Fe({
|
|
|
360
360
|
})(),
|
|
361
361
|
"Content-Type": "application/json"
|
|
362
362
|
}, c = await fetch(
|
|
363
|
-
`${t}/vendors/properties/statuses/${
|
|
363
|
+
`${t}/vendors/properties/statuses/${n.propertyId}/rooms`,
|
|
364
364
|
{
|
|
365
365
|
method: "GET",
|
|
366
366
|
headers: o,
|
|
@@ -369,30 +369,30 @@ const ht = Fe({
|
|
|
369
369
|
);
|
|
370
370
|
clearTimeout(a), c.ok || ie(c);
|
|
371
371
|
const m = await c.json();
|
|
372
|
-
|
|
373
|
-
(f) => f.qv2Rooms.qRoomId ===
|
|
374
|
-
), r.value || (r.value =
|
|
372
|
+
C.value = m.data.pmsRooms, r.value = C.value.find(
|
|
373
|
+
(f) => f.qv2Rooms.qRoomId === n.room.id
|
|
374
|
+
), r.value || (r.value = n.room), T.value.pms = !1;
|
|
375
375
|
} catch (e) {
|
|
376
376
|
return T.value.pms = !1, e;
|
|
377
377
|
}
|
|
378
|
-
},
|
|
378
|
+
}, U = async () => {
|
|
379
379
|
try {
|
|
380
380
|
T.value.roomNotices = !0;
|
|
381
381
|
const e = await fetch(
|
|
382
|
-
"/api/client/common/getRoomNotices.php?propertyId=" +
|
|
382
|
+
"/api/client/common/getRoomNotices.php?propertyId=" + n.propertyId + "&roomIds=[" + n.room.id + "]"
|
|
383
383
|
);
|
|
384
384
|
if (!e.ok)
|
|
385
385
|
throw new Error(`HTTP error! status: ${e.status}`);
|
|
386
386
|
const a = await e.json();
|
|
387
|
-
|
|
387
|
+
L.value = a.notices;
|
|
388
388
|
} catch (e) {
|
|
389
|
-
console.error("Error getting room notices:", e),
|
|
389
|
+
console.error("Error getting room notices:", e), L.value = [];
|
|
390
390
|
} finally {
|
|
391
391
|
T.value.roomNotices = !1;
|
|
392
392
|
}
|
|
393
|
-
},
|
|
393
|
+
}, Z = async () => {
|
|
394
394
|
const e = new FormData();
|
|
395
|
-
e.append("property_id",
|
|
395
|
+
e.append("property_id", n.propertyId), e.append("filter", "tasks_new"), await Promise.all([
|
|
396
396
|
fetch("/api/client/common/getDepartments.php", {
|
|
397
397
|
method: "POST"
|
|
398
398
|
}),
|
|
@@ -408,7 +408,7 @@ const ht = Fe({
|
|
|
408
408
|
try {
|
|
409
409
|
const e = new FormData();
|
|
410
410
|
e.append("funcname", "get_stay_details"), e.append("token_id", r.value.tokenId);
|
|
411
|
-
const t = (await
|
|
411
|
+
const t = (await Q.post(
|
|
412
412
|
"/includes/chat_api.php",
|
|
413
413
|
e
|
|
414
414
|
)).data.result;
|
|
@@ -448,11 +448,11 @@ const ht = Fe({
|
|
|
448
448
|
case "task":
|
|
449
449
|
return "check";
|
|
450
450
|
}
|
|
451
|
-
},
|
|
451
|
+
}, H = async () => {
|
|
452
452
|
try {
|
|
453
453
|
T.value.tickets = !0;
|
|
454
454
|
const e = await fetch(
|
|
455
|
-
"/api/client/common/getAllToDos.php?propertyId=" +
|
|
455
|
+
"/api/client/common/getAllToDos.php?propertyId=" + n.propertyId + "&roomIds=[" + n.room.id + "]"
|
|
456
456
|
);
|
|
457
457
|
if (!e.ok)
|
|
458
458
|
throw new Error(`HTTP error! status: ${e.status}`);
|
|
@@ -526,8 +526,8 @@ const ht = Fe({
|
|
|
526
526
|
}, Pe = async () => {
|
|
527
527
|
const e = {
|
|
528
528
|
type: g.value?.id,
|
|
529
|
-
propertyId:
|
|
530
|
-
userId:
|
|
529
|
+
propertyId: n.propertyId,
|
|
530
|
+
userId: Y.value,
|
|
531
531
|
areaId: r.value.qv2Rooms.qRoomId,
|
|
532
532
|
areaName: r.value.qv2Rooms.qRoomName
|
|
533
533
|
};
|
|
@@ -544,18 +544,18 @@ const ht = Fe({
|
|
|
544
544
|
e.issue = v.value.issue.id, e.startDate = h(v.value.startDate).format("YYYY-MM-DD"), e.endDate = h(v.value.endDate).format("YYYY-MM-DD"), e.notes = v.value.notes, e.sendPush = "1", w("create:todo", e);
|
|
545
545
|
break;
|
|
546
546
|
case "work_order":
|
|
547
|
-
e.itemId =
|
|
547
|
+
e.itemId = l.value.item.id, e.issueId = l.value.issue.id, e.assignType = l.value.assignType.id, e.occupied = l.value.requestedBy.id, e.notes = l.value.notes, e.dueDate = h(l.value.due).format("YYYY-MM-DD"), l.value.assignType.id === 1 && (e.department = l.value.department.id), l.value.assignType.id === 2 && (e.person = l.value.person.id), w("create:todo", e);
|
|
548
548
|
break;
|
|
549
549
|
}
|
|
550
550
|
}, Le = (e) => {
|
|
551
|
-
|
|
551
|
+
te(), ae(), n.hover && w("toggle", e);
|
|
552
552
|
}, xe = (e) => {
|
|
553
553
|
de(), k.value = e;
|
|
554
554
|
}, Ye = async (e) => {
|
|
555
|
-
if (console.log("selected:", e), g.value = e, D.value = [], v.value.issue = null, i.value.problem = null,
|
|
555
|
+
if (console.log("selected:", e), g.value = e, D.value = [], v.value.issue = null, i.value.problem = null, l.value.item = null, l.value.issue = null, u.value.item = null, !g.value)
|
|
556
556
|
return;
|
|
557
557
|
const a = new FormData();
|
|
558
|
-
switch (a.append("property_id",
|
|
558
|
+
switch (a.append("property_id", n.propertyId), a.append("area_id", r.value.qv2Rooms.qRoomId), e.id) {
|
|
559
559
|
case "complaint":
|
|
560
560
|
try {
|
|
561
561
|
r.value.tokenId && await ue();
|
|
@@ -564,12 +564,12 @@ const ht = Fe({
|
|
|
564
564
|
body: a
|
|
565
565
|
});
|
|
566
566
|
console.log("complaints:", t);
|
|
567
|
-
const o = await
|
|
567
|
+
const o = await Q.post(
|
|
568
568
|
"/api/client/common/getComplaintMoods.php"
|
|
569
569
|
);
|
|
570
570
|
o.data.items.forEach((c) => {
|
|
571
571
|
c.label = c.display_name;
|
|
572
|
-
}),
|
|
572
|
+
}), z.value = o.data.items;
|
|
573
573
|
} catch (t) {
|
|
574
574
|
console.log(t);
|
|
575
575
|
}
|
|
@@ -587,12 +587,12 @@ const ht = Fe({
|
|
|
587
587
|
break;
|
|
588
588
|
case "request":
|
|
589
589
|
try {
|
|
590
|
-
u.value.requestedBy = N.value[1], u.value.assignType =
|
|
590
|
+
u.value.requestedBy = N.value[1], u.value.assignType = A.value[0];
|
|
591
591
|
const t = await fetch("/api/client/common/getHousekeepingItemsByPropertyId.php", {
|
|
592
592
|
method: "POST",
|
|
593
593
|
body: a
|
|
594
594
|
});
|
|
595
|
-
console.log("requests:", t), await
|
|
595
|
+
console.log("requests:", t), await Z(), u.value.department = O.value.find(
|
|
596
596
|
(o) => parseInt(o.id) === 4
|
|
597
597
|
);
|
|
598
598
|
} catch (t) {
|
|
@@ -601,7 +601,7 @@ const ht = Fe({
|
|
|
601
601
|
break;
|
|
602
602
|
case "work_order":
|
|
603
603
|
try {
|
|
604
|
-
|
|
604
|
+
l.value.requestedBy = N.value[0], l.value.assignType = A.value[0];
|
|
605
605
|
const t = await fetch("/api/client/common/getItemsByRoomId.php", {
|
|
606
606
|
method: "POST",
|
|
607
607
|
body: a
|
|
@@ -613,16 +613,16 @@ const ht = Fe({
|
|
|
613
613
|
options: []
|
|
614
614
|
};
|
|
615
615
|
o.push({ ...c }), D.value = o, await Promise.all([
|
|
616
|
-
|
|
616
|
+
Q.post(
|
|
617
617
|
"/api/client/common/getWorkOrderIssues.php"
|
|
618
618
|
),
|
|
619
|
-
|
|
619
|
+
Z()
|
|
620
620
|
]).then((m) => {
|
|
621
621
|
const f = m[0];
|
|
622
622
|
f.data.issues.forEach((y) => {
|
|
623
623
|
y.label = y.display_name;
|
|
624
|
-
}),
|
|
625
|
-
}),
|
|
624
|
+
}), J.value = f.data.issues;
|
|
625
|
+
}), l.value.department = O.value.find(
|
|
626
626
|
(m) => parseInt(m.id) === 2
|
|
627
627
|
);
|
|
628
628
|
} catch (t) {
|
|
@@ -633,55 +633,55 @@ const ht = Fe({
|
|
|
633
633
|
return;
|
|
634
634
|
}
|
|
635
635
|
}, Ue = () => {
|
|
636
|
-
|
|
636
|
+
x.value = !x.value, F.value = !1;
|
|
637
637
|
}, ce = () => {
|
|
638
638
|
const e = document.getElementById("comment-field"), a = document.getElementById("hidden-text");
|
|
639
639
|
e.style.height = a?.offsetHeight + "px";
|
|
640
|
-
},
|
|
640
|
+
}, ee = () => {
|
|
641
641
|
const e = document.getElementById("comments-container");
|
|
642
642
|
e?.scroll({
|
|
643
643
|
top: e.scrollHeight,
|
|
644
644
|
behavior: "smooth"
|
|
645
645
|
});
|
|
646
646
|
}, Ge = async (e) => {
|
|
647
|
-
if (e && e.type === "keydown" && e.preventDefault(), r.value.tokenId && k.value && !
|
|
647
|
+
if (e && e.type === "keydown" && e.preventDefault(), r.value.tokenId && k.value && !R.value)
|
|
648
648
|
try {
|
|
649
649
|
const a = new FormData();
|
|
650
|
-
a.append("funcname", "send_message_to_guest"), a.append("stay_id", r.value.tokenId), a.append("content", k.value), a.append("sender_id",
|
|
651
|
-
const t = await
|
|
650
|
+
a.append("funcname", "send_message_to_guest"), a.append("stay_id", r.value.tokenId), a.append("content", k.value), a.append("sender_id", Y.value || "");
|
|
651
|
+
const t = await Q.post(
|
|
652
652
|
"/includes/chat_api.php",
|
|
653
653
|
a
|
|
654
654
|
);
|
|
655
655
|
if (t.data.result.error_message)
|
|
656
656
|
throw new Error(t.data.result.error_message);
|
|
657
|
-
k.value = "", await re(),
|
|
657
|
+
k.value = "", await re(), ee();
|
|
658
658
|
} catch (a) {
|
|
659
659
|
console.log(a);
|
|
660
660
|
}
|
|
661
|
-
},
|
|
662
|
-
if (
|
|
661
|
+
}, te = () => {
|
|
662
|
+
if (n.align === "left" || n.align === "right") {
|
|
663
663
|
const e = q.value?.getBoundingClientRect().left, a = window.innerWidth;
|
|
664
|
-
|
|
664
|
+
j.value = a - e < M.value ? "right" : "left";
|
|
665
665
|
} else {
|
|
666
666
|
const e = q.value?.getBoundingClientRect().top, a = window.innerHeight;
|
|
667
|
-
|
|
667
|
+
j.value = a - e < E.value ? "bottom" : "top";
|
|
668
668
|
}
|
|
669
|
-
},
|
|
670
|
-
if (
|
|
669
|
+
}, ae = () => {
|
|
670
|
+
if (n.position === "top" || n.position === "bottom") {
|
|
671
671
|
const e = q.value?.getBoundingClientRect().top, a = window.innerHeight;
|
|
672
|
-
|
|
672
|
+
W.value = a - e < E.value ? "top" : "bottom";
|
|
673
673
|
} else {
|
|
674
674
|
const e = q.value?.getBoundingClientRect().left, a = window.innerWidth;
|
|
675
|
-
|
|
675
|
+
W.value = a - e < M.value ? "left" : "right";
|
|
676
676
|
}
|
|
677
677
|
}, de = () => {
|
|
678
|
-
|
|
678
|
+
R.value = !R.value, R.value ? (k.value = "", b.value.info = B.value, b.value.tickets = P.value, b.value.comments = $.value, B.value = !1, P.value = !1, document.getElementById("comment-field")?.focus()) : (B.value = b.value.info, P.value = b.value.tickets, $.value = b.value.comments);
|
|
679
679
|
}, Qe = async (e, a) => {
|
|
680
680
|
const t = new FormData();
|
|
681
|
-
if (t.append("property_id",
|
|
681
|
+
if (t.append("property_id", n.propertyId), t.append(
|
|
682
682
|
"room_ids",
|
|
683
683
|
JSON.stringify([r.value.qv2Rooms.qRoomId])
|
|
684
|
-
), await
|
|
684
|
+
), await H(), _.value) {
|
|
685
685
|
const o = [];
|
|
686
686
|
_.value.forEach((c) => {
|
|
687
687
|
c.id === e && c.type === a ? o.unshift({
|
|
@@ -694,30 +694,31 @@ const ht = Fe({
|
|
|
694
694
|
}), o.sort((c, m) => c.id === e ? -1 : m.id === e ? 1 : 0), _.value = [...o];
|
|
695
695
|
}
|
|
696
696
|
};
|
|
697
|
-
return
|
|
698
|
-
if (
|
|
699
|
-
const e = setTimeout(
|
|
697
|
+
return G(() => n.open, () => {
|
|
698
|
+
if (n.open && n.showComments && oe.value.length) {
|
|
699
|
+
const e = setTimeout(ee, 500);
|
|
700
700
|
S.value.push(e);
|
|
701
701
|
}
|
|
702
|
-
|
|
703
|
-
}),
|
|
702
|
+
n.open || le();
|
|
703
|
+
}), G(k, () => {
|
|
704
704
|
const e = setTimeout(ce, 100);
|
|
705
705
|
S.value.push(e);
|
|
706
|
-
}),
|
|
707
|
-
()
|
|
706
|
+
}), G(() => n.open, async (e, a) => {
|
|
707
|
+
e && !a && (n.showGuestDetails && !C.value ? await V() : r.value || (r.value = n.room), H(), U());
|
|
708
|
+
}), G(
|
|
709
|
+
() => n.room.id,
|
|
708
710
|
(e, a) => {
|
|
709
|
-
e !== a && (
|
|
710
|
-
}
|
|
711
|
-
{ immediate: !0 }
|
|
711
|
+
e !== a && (C.value ? (r.value = C.value.find((t) => t.qv2Rooms.qRoomId === n.room.id), r.value || (r.value = n.room)) : r.value = n.room, n.open && (H(), U()));
|
|
712
|
+
}
|
|
712
713
|
), je(async () => {
|
|
713
714
|
const e = JSON.parse(
|
|
714
715
|
window.localStorage.getItem("authenticated")
|
|
715
716
|
);
|
|
716
|
-
|
|
717
|
+
Y.value = e?.user?.id || "", r.value = n.room, n.size === "sm" && (E.value = 140, M.value = 160), n.size === "lg" && (E.value = 250, M.value = 440), te(), ae();
|
|
717
718
|
const a = [], t = window.localStorage.getItem("quick-replies");
|
|
718
719
|
t && JSON.parse(t).forEach((o) => {
|
|
719
720
|
a.push(o.message);
|
|
720
|
-
}),
|
|
721
|
+
}), X.value = a;
|
|
721
722
|
}), $e(() => {
|
|
722
723
|
S.value.forEach((e) => {
|
|
723
724
|
clearTimeout(e);
|
|
@@ -725,44 +726,44 @@ const ht = Fe({
|
|
|
725
726
|
}), {
|
|
726
727
|
DateTime: h,
|
|
727
728
|
// Refs
|
|
728
|
-
actionMenuOpen:
|
|
729
|
-
alignment:
|
|
730
|
-
assignTypes:
|
|
729
|
+
actionMenuOpen: F,
|
|
730
|
+
alignment: j,
|
|
731
|
+
assignTypes: A,
|
|
731
732
|
comment: k,
|
|
732
733
|
complaint: i,
|
|
733
|
-
componentHeight:
|
|
734
|
-
componentWidth:
|
|
734
|
+
componentHeight: E,
|
|
735
|
+
componentWidth: M,
|
|
735
736
|
departments: O,
|
|
736
737
|
departmentUsers: me,
|
|
737
|
-
expandComments:
|
|
738
|
-
expandGuestInfo:
|
|
738
|
+
expandComments: $,
|
|
739
|
+
expandGuestInfo: B,
|
|
739
740
|
expandedStates: b,
|
|
740
|
-
expandTickets:
|
|
741
|
+
expandTickets: P,
|
|
741
742
|
guestDetailsData: pe,
|
|
742
743
|
itemOptions: D,
|
|
743
744
|
loading: T,
|
|
744
745
|
messages: oe,
|
|
745
|
-
moodOptions:
|
|
746
|
-
pmsData:
|
|
747
|
-
positioning:
|
|
748
|
-
quickReplies:
|
|
749
|
-
quickReplyOpen:
|
|
746
|
+
moodOptions: z,
|
|
747
|
+
pmsData: C,
|
|
748
|
+
positioning: W,
|
|
749
|
+
quickReplies: X,
|
|
750
|
+
quickReplyOpen: R,
|
|
750
751
|
request: u,
|
|
751
752
|
requestedByOptions: N,
|
|
752
753
|
requestLoading: ve,
|
|
753
754
|
requestType: g,
|
|
754
755
|
roomDetailsData: r,
|
|
755
756
|
roomNotice: v,
|
|
756
|
-
roomNotices:
|
|
757
|
-
showCreateRequest:
|
|
757
|
+
roomNotices: L,
|
|
758
|
+
showCreateRequest: x,
|
|
758
759
|
ticketsList: _,
|
|
759
760
|
todoOptions: fe,
|
|
760
761
|
trigger: q,
|
|
761
|
-
userId:
|
|
762
|
-
workOrder:
|
|
763
|
-
workOrderIssues:
|
|
762
|
+
userId: Y,
|
|
763
|
+
workOrder: l,
|
|
764
|
+
workOrderIssues: J,
|
|
764
765
|
// Computed
|
|
765
|
-
cleanliness:
|
|
766
|
+
cleanliness: K,
|
|
766
767
|
cleanlinessColor: ye,
|
|
767
768
|
cleanlinessTooltipContent: he,
|
|
768
769
|
filteredReplies: ge,
|
|
@@ -783,13 +784,13 @@ const ht = Fe({
|
|
|
783
784
|
createMessageList: Ee,
|
|
784
785
|
getChatMessages: re,
|
|
785
786
|
getHowLongAgo: Me,
|
|
786
|
-
getPMSData:
|
|
787
|
-
getRoomNotices:
|
|
788
|
-
getSharedData:
|
|
787
|
+
getPMSData: V,
|
|
788
|
+
getRoomNotices: U,
|
|
789
|
+
getSharedData: Z,
|
|
789
790
|
getStayDetails: ue,
|
|
790
791
|
getTicketColor: Se,
|
|
791
792
|
getTicketIcon: qe,
|
|
792
|
-
getTickets:
|
|
793
|
+
getTickets: H,
|
|
793
794
|
handleFailedResponse: ie,
|
|
794
795
|
handlePulse: He,
|
|
795
796
|
onClickEditConnectGuest: Ae,
|
|
@@ -801,10 +802,10 @@ const ht = Fe({
|
|
|
801
802
|
openRequest: Ue,
|
|
802
803
|
refreshPMSData: Ne,
|
|
803
804
|
resizeTextarea: ce,
|
|
804
|
-
scrollToConnectBottom:
|
|
805
|
+
scrollToConnectBottom: ee,
|
|
805
806
|
sendChatMessage: Ge,
|
|
806
|
-
setAlignment:
|
|
807
|
-
setPositioning:
|
|
807
|
+
setAlignment: te,
|
|
808
|
+
setPositioning: ae,
|
|
808
809
|
toggleQuickReply: de,
|
|
809
810
|
updateTickets: Qe
|
|
810
811
|
};
|