@wisemen/wise-crm-web 1.1.0 → 1.2.0
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/ActivityIcon-DNdtN-M_.js +19 -0
- package/dist/AppSkeletonLoader-Dq6pKznm.js +1112 -0
- package/dist/AttachmentIcon-BLUd7LaN.js +19 -0
- package/dist/BoldIcon-WRYUWz15.js +16 -0
- package/dist/BookIcon-Bb3r5y_J.js +19 -0
- package/dist/BuildingIcon-DFutRg8d.js +19 -0
- package/dist/BuildingsIcon-BVHy6yoa.js +19 -0
- package/dist/BulletListIcon-BhOXLSBa.js +16 -0
- package/dist/BusinessDetailSidebarProvider-a6VeNUii.js +2946 -0
- package/dist/BusinessDetailView-Dz3wDSx5.js +24 -0
- package/dist/ChevronDownIcon-BmyTSPND.js +19 -0
- package/dist/ClockIcon-BYfZAvIE.js +23 -0
- package/dist/ClockPlusIcon-BcNi0Y9I.js +23 -0
- package/dist/CopyIcon-2eV8MRv_.js +19 -0
- package/dist/CrmDetailHeaderCard-BkA0Z-Cu.js +2523 -0
- package/dist/CrmDetailView-BhZEQqUH.js +67 -0
- package/dist/DealCommunicationTabView-Drp9MEPu.js +140 -0
- package/dist/DealDetailView-DWLudchX.js +1049 -0
- package/dist/DealExternalAttachment-B6l0gDqF.js +179 -0
- package/dist/DealIcon-BwUWYDxo.js +19 -0
- package/dist/DealSendMailDialog-Dqei4933.js +1566 -0
- package/dist/DownloadCloudIcon-BSrLGGrY.js +19 -0
- package/dist/EditWithLineIcon-BKYDPJOY.js +19 -0
- package/dist/Error-za-wClcU.js +13302 -0
- package/dist/FileIcon-DL1e1tAu.js +19 -0
- package/dist/FilterLinesIcon-DgVMySAE.js +22 -0
- package/dist/H1Icon-B6NEsEbj.js +17 -0
- package/dist/H2Icon-CNof5Ohu.js +17 -0
- package/dist/H3Icon-B2F2Tb6r.js +17 -0
- package/dist/HashIcon-C_XttKfW.js +19 -0
- package/dist/HomeFilledIcon-DtZ2eXxt.js +16 -0
- package/dist/IndividualDetailSidebarProvider-jjRoK1Av.js +609 -0
- package/dist/IndividualDetailView-BqIRHn-0.js +24 -0
- package/dist/ItalicIcon-DqBns3yy.js +17 -0
- package/dist/LayersTreeIcon-DZZCSCY9.js +23 -0
- package/dist/LinkBrokenIcon-BNBpWSi7.js +19 -0
- package/dist/LinkExternalIcon-B7SHeB1_.js +19 -0
- package/dist/LinkIcon-8bCrZEv9.js +17 -0
- package/dist/LocationPinIcon-UySRqSfG.js +19 -0
- package/dist/MailIcon-BT7gSIZb.js +19 -0
- package/dist/MobilePhoneIcon-_KQGnCSS.js +19 -0
- package/dist/NumberedListIcon-B-JVTSAe.js +17 -0
- package/dist/PhoneIcon-DGGW_MNR.js +19 -0
- package/dist/RefreshIcon-D1QWfdPD.js +19 -0
- package/dist/SendIcon-BtJ-NCec.js +19 -0
- package/dist/SettingsIcon-CWFwJelS.js +25 -0
- package/dist/StarOutlineIcon-C-ELTCDQ.js +19 -0
- package/dist/StarYellowIcon-7wuNWaQO.js +19 -0
- package/dist/ThreeDotsIcon-C56RWk-0.js +32 -0
- package/dist/TimeLineMarkerIcon-DLmPwfs6.js +18 -0
- package/dist/TrashIcon-o4PWmcYe.js +20 -0
- package/dist/UploadCloudIcon-D2tWB0NP.js +19 -0
- package/dist/UserCircleIcon-DiDajcIH.js +23 -0
- package/dist/UserIcon-Bv1eF7ln.js +22 -0
- package/dist/VerticalDotsIcon-YcD73UqY.js +20 -0
- package/dist/WalletIcon-CUh92U5K.js +19 -0
- package/dist/_plugin-vue_export-helper-D3hKq4w_.js +8 -0
- package/dist/client-9P6xe_5g.js +4188 -0
- package/dist/index.js +5598 -28
- package/dist/style.css +2 -1
- package/dist/testing.js +366 -386
- package/dist/uuid.util-DpiDKVoj.js +11 -0
- package/package.json +17 -17
- package/dist/ActivityIcon-xJAmguCr.js +0 -21
- package/dist/AttachmentIcon-BE5eNDu2.js +0 -21
- package/dist/BoldIcon-gIpFueAk.js +0 -18
- package/dist/BookIcon-BcJ7URa7.js +0 -21
- package/dist/BuildingIcon-Dg6uZKp9.js +0 -21
- package/dist/BuildingsIcon-BFPEpeVP.js +0 -21
- package/dist/BulletListIcon-CjJGF99S.js +0 -18
- package/dist/BusinessDetailView-Cq7_ziCe.js +0 -27
- package/dist/ChevronDownIcon-CsDbkAjy.js +0 -21
- package/dist/ClockIcon-DmkNAIk7.js +0 -32
- package/dist/ClockPlusIcon-DeHgqDF1.js +0 -32
- package/dist/CopyIcon-BsUjyueq.js +0 -21
- package/dist/CrmDetailView.vue_vue_type_script_setup_true_lang-Db5HsgF9.js +0 -102
- package/dist/DealCommunicationTabView-CQ9vUi3p.js +0 -207
- package/dist/DealDetailView-t_v7MuZA.js +0 -1329
- package/dist/DealIcon-BJzNx1o6.js +0 -21
- package/dist/DownloadCloudIcon-DNPJTdVt.js +0 -21
- package/dist/EditWithLineIcon-BXkQTlXs.js +0 -21
- package/dist/FileIcon-DSQi3VUb.js +0 -21
- package/dist/FilterLinesIcon-YkTZirYE.js +0 -24
- package/dist/H1Icon-DsvWrDD0.js +0 -19
- package/dist/H2Icon-8xYiqSmR.js +0 -19
- package/dist/H3Icon-BdH22r8A.js +0 -19
- package/dist/HashIcon-DNclSYC-.js +0 -21
- package/dist/HomeFilledIcon-my0TzA9q.js +0 -18
- package/dist/IndividualDetailView-CjgKD__T.js +0 -27
- package/dist/ItalicIcon-Be9twusP.js +0 -19
- package/dist/LayersTreeIcon-DcK6WtJe.js +0 -32
- package/dist/LinkBrokenIcon-9wgVs__d.js +0 -21
- package/dist/LinkExternalIcon--XtB6wEj.js +0 -21
- package/dist/LinkIcon-BzYeqJaA.js +0 -19
- package/dist/LocationPinIcon-CSBPPRHC.js +0 -21
- package/dist/MailIcon-BgkBOes6.js +0 -21
- package/dist/MobilePhoneIcon-BgB_oAAr.js +0 -21
- package/dist/NumberedListIcon-Bf4a8S_g.js +0 -19
- package/dist/PhoneIcon-BKgg0ufh.js +0 -21
- package/dist/RefreshIcon-GJ03jEFx.js +0 -21
- package/dist/SendIcon-0ygrHbYx.js +0 -21
- package/dist/SettingsIcon-BRNQD8GX.js +0 -28
- package/dist/StarOutlineIcon-Gxm2X9hf.js +0 -21
- package/dist/StarYellowIcon-BZfRhUd6.js +0 -21
- package/dist/ThreeDotsIcon-cBE_pGvU.js +0 -32
- package/dist/TimeLineMarkerIcon-j4hDQteY.js +0 -20
- package/dist/TrashIcon-BynOxtIY.js +0 -22
- package/dist/UploadCloudIcon-BgcrXv_v.js +0 -21
- package/dist/UserCircleIcon-Bc1eahfh.js +0 -32
- package/dist/UserIcon-CCK-3lX3.js +0 -24
- package/dist/VerticalDotsIcon-C5gK8Zmi.js +0 -22
- package/dist/WalletIcon-DjqurEH2.js +0 -21
- package/dist/index-Cb2tNFVq.js +0 -24606
- package/dist/uuid.util-1167NMVR.js +0 -6562
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, openBlock as s, createElementBlock as c, createElementVNode as e, createVNode as l, withCtx as n, toDisplayString as o, unref as t, createCommentVNode as f, createBlock as r, Fragment as g, renderList as v, normalizeClass as b, computed as D } from "vue";
|
|
2
|
-
import { useRouteParams as M } from "@vueuse/router";
|
|
3
|
-
import { H as L, M as T, D as p, d as k, e as I, f as j, A as H } from "./index-Cb2tNFVq.js";
|
|
4
|
-
import { VcIcon as w } from "@wisemen/vue-core-components";
|
|
5
|
-
import { AnimatePresence as V, Motion as q } from "motion-v";
|
|
6
|
-
import { AccordionRoot as S, AccordionItem as $, AccordionHeader as z, AccordionTrigger as B, AccordionContent as F } from "reka-ui";
|
|
7
|
-
import { useI18n as N } from "vue-i18n";
|
|
8
|
-
function P(u) {
|
|
9
|
-
return L({
|
|
10
|
-
queryFn: () => T.getAll({
|
|
11
|
-
filters: u?.params.filters.value,
|
|
12
|
-
pagination: {
|
|
13
|
-
limit: 10,
|
|
14
|
-
offset: 0
|
|
15
|
-
}
|
|
16
|
-
}),
|
|
17
|
-
queryKey: {
|
|
18
|
-
mailIndex: {
|
|
19
|
-
queryParams: u?.params
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
const U = { class: "p-xl" }, E = { class: "bg-primary border-secondary rounded-xl border shadow-lg" }, Q = { class: "text-lg font-medium" }, R = {
|
|
25
|
-
key: 0,
|
|
26
|
-
class: "gap-md flex h-120 w-full flex-col items-center justify-center text-center"
|
|
27
|
-
}, K = { class: "text-3xl font-semibold" }, G = { class: "relative" }, J = { class: "sr-only" }, O = { class: "gap-sm flex min-w-0 flex-1 items-center" }, W = { class: "truncate" }, X = { class: "gap-sm flex items-center" }, Y = { class: "text-tertiary flex flex-col items-end text-sm" }, Z = { class: "flex flex-col" }, ee = ["innerHTML"], te = /* @__PURE__ */ A({
|
|
28
|
-
__name: "DealCommunicationMailList",
|
|
29
|
-
props: {
|
|
30
|
-
mails: {}
|
|
31
|
-
},
|
|
32
|
-
setup(u) {
|
|
33
|
-
const a = u, d = N();
|
|
34
|
-
function m(_) {
|
|
35
|
-
return j().toDateTime(_.createdAt);
|
|
36
|
-
}
|
|
37
|
-
function x(_) {
|
|
38
|
-
return _.to.join(", ");
|
|
39
|
-
}
|
|
40
|
-
return (_, se) => (s(), c("div", U, [
|
|
41
|
-
e("div", E, [
|
|
42
|
-
l(p, null, {
|
|
43
|
-
default: n(() => [
|
|
44
|
-
e("p", Q, o(t(d).t("wise_crm.deal.communication.mail_list.title")), 1)
|
|
45
|
-
]),
|
|
46
|
-
_: 1
|
|
47
|
-
}),
|
|
48
|
-
a.mails.length === 0 ? (s(), c("div", R, [
|
|
49
|
-
e("p", K, o(t(d).t("wise_crm.deal.communication.mail_list.no_communication_sent")), 1),
|
|
50
|
-
e("p", null, o(t(d).t("wise_crm.deal.communication.mail_list.create_quote_instruction")), 1)
|
|
51
|
-
])) : f("", !0),
|
|
52
|
-
a.mails.length > 0 ? (s(), r(t(S), {
|
|
53
|
-
key: 1,
|
|
54
|
-
collapsible: !0,
|
|
55
|
-
type: "multiple",
|
|
56
|
-
class: "flex flex-col gap-0"
|
|
57
|
-
}, {
|
|
58
|
-
default: n(() => [
|
|
59
|
-
(s(!0), c(g, null, v(a.mails, (i, C) => (s(), r(t($), {
|
|
60
|
-
key: i.uuid,
|
|
61
|
-
value: i.uuid
|
|
62
|
-
}, {
|
|
63
|
-
default: n(({ open: h }) => [
|
|
64
|
-
l(t(z), null, {
|
|
65
|
-
default: n(() => [
|
|
66
|
-
e("div", G, [
|
|
67
|
-
l(t(B), { class: "ring-brand-500 absolute inset-0 rounded-none ring-offset-1 duration-200 outline-none focus-visible:ring-2" }, {
|
|
68
|
-
default: n(() => [
|
|
69
|
-
e("span", J, o(i.subject), 1)
|
|
70
|
-
]),
|
|
71
|
-
_: 2
|
|
72
|
-
}, 1024),
|
|
73
|
-
e("div", {
|
|
74
|
-
class: b([{
|
|
75
|
-
"border-secondary border-b": C < a.mails.length - 1
|
|
76
|
-
}, "py-lg px-2xl"])
|
|
77
|
-
}, [
|
|
78
|
-
l(k, { justify: "between" }, {
|
|
79
|
-
default: n(() => [
|
|
80
|
-
e("div", O, [
|
|
81
|
-
l(t(w), {
|
|
82
|
-
icon: "mail",
|
|
83
|
-
class: "text-secondary size-4 flex-shrink-0"
|
|
84
|
-
}),
|
|
85
|
-
e("p", W, o(i.subject), 1)
|
|
86
|
-
]),
|
|
87
|
-
e("div", X, [
|
|
88
|
-
e("div", Y, [
|
|
89
|
-
e("span", null, o(x(i)), 1),
|
|
90
|
-
e("span", null, o(m(i)), 1)
|
|
91
|
-
]),
|
|
92
|
-
l(t(w), {
|
|
93
|
-
class: b([{
|
|
94
|
-
"-rotate-180": h
|
|
95
|
-
}, "text-secondary size-4 flex-shrink-0 duration-300"]),
|
|
96
|
-
icon: "chevronDown"
|
|
97
|
-
}, null, 8, ["class"])
|
|
98
|
-
])
|
|
99
|
-
]),
|
|
100
|
-
_: 2
|
|
101
|
-
}, 1024)
|
|
102
|
-
], 2)
|
|
103
|
-
])
|
|
104
|
-
]),
|
|
105
|
-
_: 2
|
|
106
|
-
}, 1024),
|
|
107
|
-
l(t(V), { initial: !1 }, {
|
|
108
|
-
default: n(() => [
|
|
109
|
-
h ? (s(), r(t(F), {
|
|
110
|
-
key: 0,
|
|
111
|
-
class: "overflow-clip"
|
|
112
|
-
}, {
|
|
113
|
-
default: n(() => [
|
|
114
|
-
l(t(q), {
|
|
115
|
-
initial: {
|
|
116
|
-
opacity: 0,
|
|
117
|
-
height: 0,
|
|
118
|
-
y: -10
|
|
119
|
-
},
|
|
120
|
-
animate: {
|
|
121
|
-
opacity: 1,
|
|
122
|
-
height: "auto",
|
|
123
|
-
filter: "blur(0px)",
|
|
124
|
-
y: 0
|
|
125
|
-
},
|
|
126
|
-
exit: {
|
|
127
|
-
opacity: 0,
|
|
128
|
-
height: 0,
|
|
129
|
-
filter: "blur(5px)",
|
|
130
|
-
y: -10
|
|
131
|
-
},
|
|
132
|
-
transition: {
|
|
133
|
-
bounce: 0,
|
|
134
|
-
duration: 0.4,
|
|
135
|
-
type: "spring"
|
|
136
|
-
}
|
|
137
|
-
}, {
|
|
138
|
-
default: n(() => [
|
|
139
|
-
e("div", Z, [
|
|
140
|
-
i.attachments.length > 0 ? (s(), r(p, { key: 0 }, {
|
|
141
|
-
default: n(() => [
|
|
142
|
-
l(k, null, {
|
|
143
|
-
default: n(() => [
|
|
144
|
-
(s(!0), c(g, null, v(i.attachments, (y) => (s(), r(I, {
|
|
145
|
-
key: y.uuid,
|
|
146
|
-
attachment: y
|
|
147
|
-
}, null, 8, ["attachment"]))), 128))
|
|
148
|
-
]),
|
|
149
|
-
_: 2
|
|
150
|
-
}, 1024)
|
|
151
|
-
]),
|
|
152
|
-
_: 2
|
|
153
|
-
}, 1024)) : f("", !0),
|
|
154
|
-
l(p, null, {
|
|
155
|
-
default: n(() => [
|
|
156
|
-
e("div", {
|
|
157
|
-
class: "prose pb-xl py-3xl max-w-full",
|
|
158
|
-
innerHTML: i.text
|
|
159
|
-
}, null, 8, ee)
|
|
160
|
-
]),
|
|
161
|
-
_: 2
|
|
162
|
-
}, 1024)
|
|
163
|
-
])
|
|
164
|
-
]),
|
|
165
|
-
_: 2
|
|
166
|
-
}, 1024)
|
|
167
|
-
]),
|
|
168
|
-
_: 2
|
|
169
|
-
}, 1024)) : f("", !0)
|
|
170
|
-
]),
|
|
171
|
-
_: 2
|
|
172
|
-
}, 1024)
|
|
173
|
-
]),
|
|
174
|
-
_: 2
|
|
175
|
-
}, 1032, ["value"]))), 128))
|
|
176
|
-
]),
|
|
177
|
-
_: 1
|
|
178
|
-
})) : f("", !0)
|
|
179
|
-
])
|
|
180
|
-
]));
|
|
181
|
-
}
|
|
182
|
-
}), ne = {
|
|
183
|
-
key: 0,
|
|
184
|
-
class: "p-xl"
|
|
185
|
-
}, de = /* @__PURE__ */ A({
|
|
186
|
-
__name: "DealCommunicationTabView",
|
|
187
|
-
setup(u) {
|
|
188
|
-
const a = M("dealUuid"), d = D(() => ({
|
|
189
|
-
dealUuid: a.value
|
|
190
|
-
})), m = P({
|
|
191
|
-
params: {
|
|
192
|
-
filters: d
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
return (x, _) => (s(), c("div", null, [
|
|
196
|
-
t(m).isLoading.value ? (s(), c("div", ne, [
|
|
197
|
-
l(H, { class: "h-150 w-full" })
|
|
198
|
-
])) : t(m).data.value ? (s(), r(te, {
|
|
199
|
-
key: 1,
|
|
200
|
-
mails: t(m).data.value ?? []
|
|
201
|
-
}, null, 8, ["mails"])) : f("", !0)
|
|
202
|
-
]));
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
export {
|
|
206
|
-
de as default
|
|
207
|
-
};
|