@wisemen/wise-crm-web 2.0.0-alpha.6 → 2.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BusinessDetailView-BdD672Xc.js → BusinessDetailView-D8a2-c6x.js} +3 -3
- package/dist/{CrmDetailView.vue_vue_type_script_setup_true_lang-Cl6b9lH3.js → CrmDetailView.vue_vue_type_script_setup_true_lang-CnNcFNCP.js} +1 -1
- package/dist/{DealCommunicationTabView-FzTeJrPo.js → DealCommunicationTabView-j9epVy2E.js} +38 -38
- package/dist/{DealDetailView-DNcPhzGL.js → DealDetailView-C0osyh38.js} +154 -163
- package/dist/{IndividualDetailView-Dn5lJBjU.js → IndividualDetailView-kde5VlBp.js} +5 -5
- package/dist/{index-DhVEfWNY.js → index-B3Abn7vf.js} +4452 -4215
- package/dist/index.d.ts +40 -22
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/testing.js +1 -1
- package/dist/{uuid.util-B9bkU4IX.js → uuid.util-CaePLXHv.js} +1890 -2234
- package/package.json +14 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as o, createBlock as r, unref as s, withCtx as a, createVNode as u } from "vue";
|
|
2
2
|
import { useRouteParams as m } from "@vueuse/router";
|
|
3
|
-
import { _ as p } from "./index-
|
|
4
|
-
import {
|
|
5
|
-
import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as p } from "./index-B3Abn7vf.js";
|
|
4
|
+
import { aX as c } from "./uuid.util-CaePLXHv.js";
|
|
5
|
+
import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-CnNcFNCP.js";
|
|
6
6
|
const x = /* @__PURE__ */ n({
|
|
7
7
|
__name: "BusinessDetailView",
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, ref as h, unref as e, openBlock as d, createElementBlock as u, createElementVNode as t, renderSlot as x, createVNode as r, withCtx as f, Fragment as y, renderList as g, createBlock as w, toValue as m, createCommentVNode as b } from "vue";
|
|
2
2
|
import { onKeyStroke as C } from "@vueuse/core";
|
|
3
3
|
import { UITabsRouterLink as R, UITabsRouterLinkItem as k, UIIconButton as B } from "@wisemen/vue-core-design-system";
|
|
4
|
-
import { X as E, O as I, R as T,
|
|
4
|
+
import { X as E, O as I, R as T, a5 as V } from "./index-B3Abn7vf.js";
|
|
5
5
|
import { useRoute as A, RouterView as H } from "vue-router";
|
|
6
6
|
class U {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as A, openBlock as t, createElementBlock as f, createElementVNode as
|
|
1
|
+
import { defineComponent as A, openBlock as t, createElementBlock as f, createElementVNode as s, createVNode as a, withCtx as n, toDisplayString as m, unref as e, createBlock as l, createCommentVNode as _, Fragment as v, renderList as g, normalizeClass as b, resolveDynamicComponent as k, computed as I } from "vue";
|
|
2
2
|
import { useRouteParams as M } from "@vueuse/router";
|
|
3
3
|
import { useOffsetInfiniteQuery as L } from "@wisemen/vue-core-api-utils";
|
|
4
|
-
import { M as T, D as p, a as w, b as C, C as S, c as V, u as j, A as U } from "./index-
|
|
4
|
+
import { M as T, D as p, a as w, b as C, C as S, c as V, u as j, A as U } from "./index-B3Abn7vf.js";
|
|
5
5
|
import { UIEmptyState as $ } from "@wisemen/vue-core-design-system";
|
|
6
6
|
import { AnimatePresence as q, Motion as z } from "motion-v";
|
|
7
7
|
import { AccordionRoot as B, AccordionItem as E, AccordionHeader as F, AccordionTrigger as H, AccordionContent as N } from "reka-ui";
|
|
@@ -17,7 +17,7 @@ function Q(r) {
|
|
|
17
17
|
})
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border border-secondary bg-primary shadow-lg" }, G = { class: "text-md font-medium" }, J = { class: "relative" }, K = { class: "sr-only" }, W = { class: "flex min-w-0 flex-1 items-center gap-sm" }, X = { class: "truncate" }, Y = { class: "flex items-center gap-sm" }, Z = { class: "flex flex-col items-end text-sm text-tertiary" }, ee = { class: "flex flex-col" }, te = ["innerHTML"],
|
|
20
|
+
const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border border-secondary bg-primary shadow-lg" }, G = { class: "text-md font-medium" }, J = { class: "relative" }, K = { class: "sr-only" }, W = { class: "flex min-w-0 flex-1 items-center gap-sm" }, X = { class: "truncate" }, Y = { class: "flex items-center gap-sm" }, Z = { class: "flex flex-col items-end text-sm text-tertiary" }, ee = { class: "flex flex-col" }, te = ["innerHTML"], se = /* @__PURE__ */ A({
|
|
21
21
|
__name: "DealCommunicationMailList",
|
|
22
22
|
props: {
|
|
23
23
|
mails: {}
|
|
@@ -31,10 +31,10 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
31
31
|
return d.to.join(", ");
|
|
32
32
|
}
|
|
33
33
|
return (d, ie) => (t(), f("div", O, [
|
|
34
|
-
|
|
34
|
+
s("div", R, [
|
|
35
35
|
a(p, null, {
|
|
36
|
-
default:
|
|
37
|
-
|
|
36
|
+
default: n(() => [
|
|
37
|
+
s("p", G, m(e(c).t("wise_crm.deal.communication.mail_list.title")), 1)
|
|
38
38
|
]),
|
|
39
39
|
_: 1
|
|
40
40
|
}),
|
|
@@ -51,40 +51,40 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
51
51
|
type: "multiple",
|
|
52
52
|
class: "flex flex-col gap-0"
|
|
53
53
|
}, {
|
|
54
|
-
default:
|
|
54
|
+
default: n(() => [
|
|
55
55
|
(t(!0), f(v, null, g(o.mails, (i, D) => (t(), l(e(E), {
|
|
56
56
|
key: i.uuid,
|
|
57
57
|
value: i.uuid
|
|
58
58
|
}, {
|
|
59
|
-
default:
|
|
59
|
+
default: n(({ open: x }) => [
|
|
60
60
|
a(e(F), null, {
|
|
61
|
-
default:
|
|
62
|
-
|
|
61
|
+
default: n(() => [
|
|
62
|
+
s("div", J, [
|
|
63
63
|
a(e(H), { class: "absolute inset-0 rounded-none ring-brand-500 ring-offset-1 duration-200 outline-none focus-visible:ring-2" }, {
|
|
64
|
-
default:
|
|
65
|
-
|
|
64
|
+
default: n(() => [
|
|
65
|
+
s("span", K, m(i.subject), 1)
|
|
66
66
|
]),
|
|
67
67
|
_: 2
|
|
68
68
|
}, 1024),
|
|
69
|
-
|
|
69
|
+
s("div", {
|
|
70
70
|
class: b([{
|
|
71
71
|
"border-b border-secondary": D < o.mails.length - 1
|
|
72
72
|
}, "px-2xl py-lg"])
|
|
73
73
|
}, [
|
|
74
74
|
a(C, { justify: "between" }, {
|
|
75
|
-
default:
|
|
76
|
-
|
|
75
|
+
default: n(() => [
|
|
76
|
+
s("div", W, [
|
|
77
77
|
(t(), l(k(e(w)), { class: "size-4 shrink-0 text-secondary" })),
|
|
78
|
-
|
|
78
|
+
s("p", X, m(i.subject), 1)
|
|
79
79
|
]),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
s("div", Y, [
|
|
81
|
+
s("div", Z, [
|
|
82
|
+
s("span", null, m(h(i)), 1),
|
|
83
|
+
s("span", null, m(u(i)), 1)
|
|
84
84
|
]),
|
|
85
85
|
(t(), l(k(e(S)), {
|
|
86
86
|
class: b([{
|
|
87
|
-
"-rotate-180":
|
|
87
|
+
"-rotate-180": x
|
|
88
88
|
}, "size-4 shrink-0 text-secondary duration-300"])
|
|
89
89
|
}, null, 8, ["class"]))
|
|
90
90
|
])
|
|
@@ -97,12 +97,12 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
97
97
|
_: 2
|
|
98
98
|
}, 1024),
|
|
99
99
|
a(e(q), { initial: !1 }, {
|
|
100
|
-
default:
|
|
101
|
-
|
|
100
|
+
default: n(() => [
|
|
101
|
+
x ? (t(), l(e(N), {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "overflow-clip"
|
|
104
104
|
}, {
|
|
105
|
-
default:
|
|
105
|
+
default: n(() => [
|
|
106
106
|
a(e(z), {
|
|
107
107
|
initial: {
|
|
108
108
|
opacity: 0,
|
|
@@ -127,15 +127,15 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
127
127
|
type: "spring"
|
|
128
128
|
}
|
|
129
129
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
130
|
+
default: n(() => [
|
|
131
|
+
s("div", ee, [
|
|
132
132
|
i.attachments.length > 0 ? (t(), l(p, { key: 0 }, {
|
|
133
|
-
default:
|
|
134
|
-
a(C,
|
|
135
|
-
default:
|
|
136
|
-
(t(!0), f(v, null, g(i.attachments, (
|
|
137
|
-
key:
|
|
138
|
-
attachment:
|
|
133
|
+
default: n(() => [
|
|
134
|
+
a(C, { class: "flex-wrap" }, {
|
|
135
|
+
default: n(() => [
|
|
136
|
+
(t(!0), f(v, null, g(i.attachments, (y) => (t(), l(V, {
|
|
137
|
+
key: y.uuid,
|
|
138
|
+
attachment: y
|
|
139
139
|
}, null, 8, ["attachment"]))), 128))
|
|
140
140
|
]),
|
|
141
141
|
_: 2
|
|
@@ -144,9 +144,9 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
144
144
|
_: 2
|
|
145
145
|
}, 1024)) : _("", !0),
|
|
146
146
|
a(p, null, {
|
|
147
|
-
default:
|
|
148
|
-
|
|
149
|
-
class: "prose max-w-full py-3xl pb-xl",
|
|
147
|
+
default: n(() => [
|
|
148
|
+
s("div", {
|
|
149
|
+
class: "prose prose-sm max-w-full py-3xl pb-xl",
|
|
150
150
|
innerHTML: i.text
|
|
151
151
|
}, null, 8, te)
|
|
152
152
|
]),
|
|
@@ -171,7 +171,7 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
171
171
|
])
|
|
172
172
|
]));
|
|
173
173
|
}
|
|
174
|
-
}),
|
|
174
|
+
}), ne = {
|
|
175
175
|
key: 0,
|
|
176
176
|
class: "p-xl"
|
|
177
177
|
}, _e = /* @__PURE__ */ A({
|
|
@@ -185,9 +185,9 @@ const O = { class: "p-xl" }, R = { class: "overflow-hidden rounded-xl border bor
|
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
187
|
return (h, d) => (t(), f("div", null, [
|
|
188
|
-
e(u).isLoading.value ? (t(), f("div",
|
|
188
|
+
e(u).isLoading.value ? (t(), f("div", ne, [
|
|
189
189
|
a(U, { class: "h-150 w-full" })
|
|
190
|
-
])) : e(u).result.value.isOk() ? (t(), l(
|
|
190
|
+
])) : e(u).result.value.isOk() ? (t(), l(se, {
|
|
191
191
|
key: 1,
|
|
192
192
|
mails: e(u).result.value.getValue().data
|
|
193
193
|
}, null, 8, ["mails"])) : _("", !0)
|