@wisemen/wise-crm-web 0.0.0-alpha.7
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-BWDnpLD_.js +21 -0
- package/dist/BookIcon-DnR-qsYC.js +21 -0
- package/dist/BuildingIcon-nEhur9xk.js +21 -0
- package/dist/BuildingsIcon-BgbK8tys.js +21 -0
- package/dist/BusinessDetailView-D4B57TLI.js +25 -0
- package/dist/ChevronDownIcon-DigflRxi.js +21 -0
- package/dist/ClockPlusIcon-bMoCZOMP.js +32 -0
- package/dist/CopyIcon-hiZwfprS.js +21 -0
- package/dist/CrmDetailView.vue_vue_type_script_setup_true_lang-xxFJ9bKG.js +129 -0
- package/dist/DealDetailView--GglpZTy.js +131 -0
- package/dist/DealIcon-BX3LU2DT.js +21 -0
- package/dist/EditWithLineIcon-PT5bM2-F.js +21 -0
- package/dist/FileIcon-rS6Vs1wd.js +21 -0
- package/dist/FilterLinesIcon-B4cL-OGq.js +24 -0
- package/dist/HashIcon-Didu7mVP.js +21 -0
- package/dist/HomeFilledIcon-pIVFiBYA.js +18 -0
- package/dist/IndividualDetailView-DBftaMO1.js +25 -0
- package/dist/LayersTreeIcon-Bqh8iZ7I.js +32 -0
- package/dist/LinkExternalIcon-Ciw3-imi.js +21 -0
- package/dist/LocationPinIcon-eq1T0gH0.js +21 -0
- package/dist/MailIcon-C77L3KQo.js +21 -0
- package/dist/MobilePhoneIcon-BnF5JbLh.js +21 -0
- package/dist/PhoneIcon-CRWgcV8b.js +21 -0
- package/dist/SendIcon-B4ge738O.js +21 -0
- package/dist/StarOutlineIcon-C9fjCkJC.js +21 -0
- package/dist/StarYellowIcon-CTgkbQAN.js +21 -0
- package/dist/TimeLineMarkerIcon-B3C-W2CT.js +20 -0
- package/dist/TrashIcon-BZgfosaB.js +22 -0
- package/dist/UserCircleIcon-KnI7owxR.js +32 -0
- package/dist/UserIcon-C5rfOXec.js +24 -0
- package/dist/VerticalDotsIcon-7naHx2fP.js +22 -0
- package/dist/WalletIcon-4SUYv138.js +21 -0
- package/dist/deal/components/DealDetailSidebarOverviewContent.vue.d.ts +6 -0
- package/dist/index-BuDP-Xur.js +35030 -0
- package/dist/index.js +27 -0
- package/package.json +75 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function i(l, e) {
|
|
8
|
+
return t(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
n("path", {
|
|
10
|
+
d: "M14.6666 8H12L9.99998 14L5.99998 2L3.99998 8H1.33331",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "1.2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = /* @__PURE__ */ r(s, [["render", i]]);
|
|
19
|
+
export {
|
|
20
|
+
a as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as C, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-BuDP-Xur.js";
|
|
3
|
+
const r = {}, s = {
|
|
4
|
+
viewBox: "0 0 17 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function c(l, e) {
|
|
8
|
+
return C(), o("svg", s, [...e[0] || (e[0] = [
|
|
9
|
+
t("path", {
|
|
10
|
+
d: "M8.49967 14L8.43297 13.8999C7.96988 13.2053 7.73833 12.858 7.43241 12.6065C7.16158 12.3839 6.84952 12.2169 6.51408 12.1151C6.13517 12 5.71775 12 4.88289 12H3.96634C3.2196 12 2.84624 12 2.56102 11.8547C2.31014 11.7268 2.10616 11.5229 1.97833 11.272C1.83301 10.9868 1.83301 10.6134 1.83301 9.86667V4.13333C1.83301 3.3866 1.83301 3.01323 1.97833 2.72801C2.10616 2.47713 2.31014 2.27316 2.56102 2.14532C2.84624 2 3.2196 2 3.96634 2H4.23301C5.72648 2 6.47322 2 7.04365 2.29065C7.54541 2.54631 7.95336 2.95426 8.20903 3.45603C8.49967 4.02646 8.49967 4.77319 8.49967 6.26667M8.49967 14V6.26667M8.49967 14L8.56638 13.8999C9.02947 13.2053 9.26102 12.858 9.56694 12.6065C9.83777 12.3839 10.1498 12.2169 10.4853 12.1151C10.8642 12 11.2816 12 12.1165 12H13.033C13.7797 12 14.1531 12 14.4383 11.8547C14.6892 11.7268 14.8932 11.5229 15.021 11.272C15.1663 10.9868 15.1663 10.6134 15.1663 9.86667V4.13333C15.1663 3.3866 15.1663 3.01323 15.021 2.72801C14.8932 2.47713 14.6892 2.27316 14.4383 2.14532C14.1531 2 13.7797 2 13.033 2H12.7663C11.2729 2 10.5261 2 9.9557 2.29065C9.45393 2.54631 9.04599 2.95426 8.79032 3.45603C8.49967 4.02646 8.49967 4.77319 8.49967 6.26667",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "1.2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ n(r, [["render", c]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function i(l, e) {
|
|
8
|
+
return n(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
t("path", {
|
|
10
|
+
d: "M7.33301 7.33333H4.13301C3.38627 7.33333 3.0129 7.33333 2.72769 7.47866C2.4768 7.60649 2.27283 7.81046 2.145 8.06135C1.99967 8.34656 1.99967 8.71993 1.99967 9.46667V14M13.9997 14V4.13333C13.9997 3.3866 13.9997 3.01323 13.8544 2.72801C13.7265 2.47713 13.5225 2.27316 13.2717 2.14532C12.9864 2 12.6131 2 11.8663 2H9.46634C8.7196 2 8.34624 2 8.06102 2.14532C7.81014 2.27316 7.60616 2.47713 7.47833 2.72801C7.33301 3.01323 7.33301 3.3866 7.33301 4.13333V14M14.6663 14H1.33301M9.66634 4.66667H11.6663M9.66634 7.33333H11.6663M9.66634 10H11.6663",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "1.2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ r(s, [["render", i]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function i(l, e) {
|
|
8
|
+
return n(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
t("path", {
|
|
10
|
+
d: "M7.33331 7.33333H4.13331C3.38658 7.33333 3.01321 7.33333 2.72799 7.47866C2.47711 7.60649 2.27314 7.81046 2.1453 8.06135C1.99998 8.34656 1.99998 8.71993 1.99998 9.46667V14M14 14V4.13333C14 3.3866 14 3.01323 13.8547 2.72801C13.7268 2.47713 13.5229 2.27316 13.272 2.14532C12.9868 2 12.6134 2 11.8666 2H9.46665C8.71991 2 8.34654 2 8.06133 2.14532C7.81044 2.27316 7.60647 2.47713 7.47864 2.72801C7.33331 3.01323 7.33331 3.3866 7.33331 4.13333V14M14.6666 14H1.33331M9.66665 4.66667H11.6666M9.66665 7.33333H11.6666M9.66665 10H11.6666",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "1.5",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ r(s, [["render", i]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as a, openBlock as u, unref as s, withCtx as o, createVNode as r } from "vue";
|
|
2
|
+
import { u as p, _ as c } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-xxFJ9bKG.js";
|
|
3
|
+
import { E as m, a as _ } from "./index-BuDP-Xur.js";
|
|
4
|
+
const B = /* @__PURE__ */ n({
|
|
5
|
+
__name: "BusinessDetailView",
|
|
6
|
+
props: {
|
|
7
|
+
tabs: {}
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
const i = t, e = p("businessUuid");
|
|
11
|
+
return (b, f) => (u(), a(c, {
|
|
12
|
+
key: s(e),
|
|
13
|
+
tabs: i.tabs,
|
|
14
|
+
"entity-type": s(m).BUSINESS
|
|
15
|
+
}, {
|
|
16
|
+
sidebar: o(() => [
|
|
17
|
+
r(_, { "business-uuid": s(e) }, null, 8, ["business-uuid"])
|
|
18
|
+
]),
|
|
19
|
+
_: 1
|
|
20
|
+
}, 8, ["tabs", "entity-type"]));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
B as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as n, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as t } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 24 24",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function l(i, e) {
|
|
8
|
+
return n(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
r("path", {
|
|
10
|
+
d: "M6 9L12 15L18 9",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = /* @__PURE__ */ t(s, [["render", l]]);
|
|
19
|
+
export {
|
|
20
|
+
a as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as n } from "./index-BuDP-Xur.js";
|
|
3
|
+
const l = {}, c = {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function i(s, t) {
|
|
8
|
+
return r(), o("svg", c, [...t[0] || (t[0] = [
|
|
9
|
+
e("g", { "clip-path": "url(#clip0_19745_39980)" }, [
|
|
10
|
+
e("path", {
|
|
11
|
+
d: "M14.6138 8.84337C14.6487 8.56717 14.6666 8.2857 14.6666 8.00004C14.6666 4.31814 11.6819 1.33337 7.99998 1.33337C4.31808 1.33337 1.33331 4.31814 1.33331 8.00004C1.33331 11.6819 4.31808 14.6667 7.99998 14.6667C8.29025 14.6667 8.57619 14.6482 8.85667 14.6122M7.99998 4.00004V8.00004L10.4922 9.24617M12.6666 14.6667V10.6667M10.6666 12.6667H14.6666",
|
|
12
|
+
class: "stroke-current",
|
|
13
|
+
"stroke-width": "1.5",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round"
|
|
16
|
+
})
|
|
17
|
+
], -1),
|
|
18
|
+
e("defs", null, [
|
|
19
|
+
e("clipPath", { id: "clip0_19745_39980" }, [
|
|
20
|
+
e("rect", {
|
|
21
|
+
width: "16",
|
|
22
|
+
height: "16",
|
|
23
|
+
fill: "white"
|
|
24
|
+
})
|
|
25
|
+
])
|
|
26
|
+
], -1)
|
|
27
|
+
])]);
|
|
28
|
+
}
|
|
29
|
+
const p = /* @__PURE__ */ n(l, [["render", i]]);
|
|
30
|
+
export {
|
|
31
|
+
p as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const C = {}, s = {
|
|
4
|
+
viewBox: "0 0 24 24",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function c(l, e) {
|
|
8
|
+
return t(), o("svg", s, [...e[0] || (e[0] = [
|
|
9
|
+
n("path", {
|
|
10
|
+
d: "M5 15C4.06812 15 3.60218 15 3.23463 14.8478C2.74458 14.6448 2.35523 14.2554 2.15224 13.7654C2 13.3978 2 12.9319 2 12V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H12C12.9319 2 13.3978 2 13.7654 2.15224C14.2554 2.35523 14.6448 2.74458 14.8478 3.23463C15 3.60218 15 4.06812 15 5M12.2 22H18.8C19.9201 22 20.4802 22 20.908 21.782C21.2843 21.5903 21.5903 21.2843 21.782 20.908C22 20.4802 22 19.9201 22 18.8V12.2C22 11.0799 22 10.5198 21.782 10.092C21.5903 9.71569 21.2843 9.40973 20.908 9.21799C20.4802 9 19.9201 9 18.8 9H12.2C11.0799 9 10.5198 9 10.092 9.21799C9.71569 9.40973 9.40973 9.71569 9.21799 10.092C9 10.5198 9 11.0799 9 12.2V18.8C9 19.9201 9 20.4802 9.21799 20.908C9.40973 21.2843 9.71569 21.5903 10.092 21.782C10.5198 22 11.0799 22 12.2 22Z",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ r(C, [["render", c]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { t as j, u as S, o as B, f as E } from "./index-BuDP-Xur.js";
|
|
2
|
+
import { customRef as $, toValue as m, nextTick as D, watch as L, defineComponent as N, createElementBlock as v, openBlock as g, createElementVNode as t, renderSlot as q, createVNode as p, withCtx as b, unref as u, Fragment as I, renderList as M, createBlock as O, createTextVNode as P, toDisplayString as z } from "vue";
|
|
3
|
+
import { useRoute as F, useRouter as G, RouterView as K } from "vue-router";
|
|
4
|
+
import { VcRouterLinkTabs as Q, VcRouterLinkTabsItem as W, VcIconButton as A } from "@wisemen/vue-core-components";
|
|
5
|
+
const w = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
function ne(l, a, d = {}) {
|
|
7
|
+
const {
|
|
8
|
+
mode: y = "replace",
|
|
9
|
+
route: e = F(),
|
|
10
|
+
router: o = G(),
|
|
11
|
+
transform: i
|
|
12
|
+
} = d;
|
|
13
|
+
let c = (n) => n, _ = (n) => n;
|
|
14
|
+
typeof i == "function" ? c = i : i && (i.get && (c = i.get), i.set && (_ = i.set)), w.has(o) || w.set(o, /* @__PURE__ */ new Map());
|
|
15
|
+
const f = w.get(o);
|
|
16
|
+
let s = e.params[l];
|
|
17
|
+
j(() => {
|
|
18
|
+
s = void 0;
|
|
19
|
+
});
|
|
20
|
+
let x;
|
|
21
|
+
const R = $((n, h) => (x = h, {
|
|
22
|
+
get() {
|
|
23
|
+
return n(), c(s !== void 0 && s !== "" ? s : m(a));
|
|
24
|
+
},
|
|
25
|
+
set(r) {
|
|
26
|
+
r = _(r), s !== r && (s = r === m(a) || r === null ? void 0 : r, f.set(l, r === m(a) || r === null ? void 0 : r), h(), D(() => {
|
|
27
|
+
if (f.size === 0)
|
|
28
|
+
return;
|
|
29
|
+
const k = Object.fromEntries(f.entries());
|
|
30
|
+
f.clear();
|
|
31
|
+
const { params: T, query: C, hash: V } = e;
|
|
32
|
+
o[m(y)]({
|
|
33
|
+
params: {
|
|
34
|
+
...T,
|
|
35
|
+
...k
|
|
36
|
+
},
|
|
37
|
+
query: C,
|
|
38
|
+
hash: V
|
|
39
|
+
});
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
}));
|
|
43
|
+
return L(
|
|
44
|
+
() => e.params[l],
|
|
45
|
+
(n) => {
|
|
46
|
+
s !== c(n) && (s = n, x());
|
|
47
|
+
},
|
|
48
|
+
{ flush: "sync" }
|
|
49
|
+
), R;
|
|
50
|
+
}
|
|
51
|
+
const H = { class: "flex h-dvh flex-1" }, J = { class: "p-sm flex h-full w-full flex-1 justify-center overflow-hidden" }, U = { class: "flex w-full flex-col" }, X = { class: "p-lg grid w-full grid-cols-3" }, Y = { class: "flex items-center justify-center" }, Z = { class: "flex items-center justify-end" }, ee = { class: "h-full w-full overflow-y-auto" }, ie = /* @__PURE__ */ N({
|
|
52
|
+
__name: "CrmDetailView",
|
|
53
|
+
props: {
|
|
54
|
+
entityType: {},
|
|
55
|
+
tabs: {}
|
|
56
|
+
},
|
|
57
|
+
setup(l) {
|
|
58
|
+
const a = l, d = S();
|
|
59
|
+
return B("Escape", () => {
|
|
60
|
+
d.goToReturnRoute();
|
|
61
|
+
}), (y, e) => (g(), v("div", null, [
|
|
62
|
+
t("div", H, [
|
|
63
|
+
e[3] || (e[3] = t("div", { id: "crm-info-dialog" }, null, -1)),
|
|
64
|
+
q(y.$slots, "sidebar"),
|
|
65
|
+
p(E, {
|
|
66
|
+
"entity-type": l.entityType,
|
|
67
|
+
class: "relative flex-1"
|
|
68
|
+
}, {
|
|
69
|
+
default: b(() => [
|
|
70
|
+
t("div", J, [
|
|
71
|
+
e[2] || (e[2] = t("div", null, null, -1)),
|
|
72
|
+
t("div", U, [
|
|
73
|
+
t("div", X, [
|
|
74
|
+
e[1] || (e[1] = t("div", null, null, -1)),
|
|
75
|
+
t("div", Y, [
|
|
76
|
+
p(u(Q), {
|
|
77
|
+
"class-config": {
|
|
78
|
+
base: "flex justify-center bg-primary border-none shadow-lg w-fit",
|
|
79
|
+
list: "rounded-lg w-fit",
|
|
80
|
+
item: "data-[state=active]:text-white",
|
|
81
|
+
indicator: "rounded-md bg-gradient-to-b bg-brand-500",
|
|
82
|
+
scrollContainer: "!p-xs bg-white rounded-lg border border-primary/50"
|
|
83
|
+
},
|
|
84
|
+
variant: "button-border"
|
|
85
|
+
}, {
|
|
86
|
+
items: b(() => [
|
|
87
|
+
(g(!0), v(I, null, M(a.tabs, (o) => (g(), O(u(W), {
|
|
88
|
+
key: o.label,
|
|
89
|
+
to: {
|
|
90
|
+
name: o.to
|
|
91
|
+
}
|
|
92
|
+
}, {
|
|
93
|
+
default: b(() => [
|
|
94
|
+
P(z(o.label), 1)
|
|
95
|
+
]),
|
|
96
|
+
_: 2
|
|
97
|
+
}, 1032, ["to"]))), 128))
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
})
|
|
101
|
+
]),
|
|
102
|
+
t("div", Z, [
|
|
103
|
+
p(u(A), {
|
|
104
|
+
"class-config": {
|
|
105
|
+
root: "rounded-md shadow-lg"
|
|
106
|
+
},
|
|
107
|
+
icon: "close",
|
|
108
|
+
label: "Close",
|
|
109
|
+
variant: "secondary",
|
|
110
|
+
onClick: e[0] || (e[0] = (o) => u(d).goToReturnRoute())
|
|
111
|
+
})
|
|
112
|
+
])
|
|
113
|
+
]),
|
|
114
|
+
t("div", ee, [
|
|
115
|
+
p(u(K))
|
|
116
|
+
])
|
|
117
|
+
])
|
|
118
|
+
])
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
}, 8, ["entity-type"])
|
|
122
|
+
])
|
|
123
|
+
]));
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
ie as _,
|
|
128
|
+
ne as u
|
|
129
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { defineComponent as u, createElementBlock as D, openBlock as i, createVNode as r, withCtx as n, unref as t, ref as w, computed as f, createBlock as s, createElementVNode as c, toDisplayString as d, createTextVNode as v, createCommentVNode as b } from "vue";
|
|
2
|
+
import { u as g, _ as h } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-xxFJ9bKG.js";
|
|
3
|
+
import { H as V, D as k, b as C, c as S, I as B, d as N, E as $ } from "./index-BuDP-Xur.js";
|
|
4
|
+
import { VcBadge as p } from "@wisemen/vue-core-components";
|
|
5
|
+
import { useI18n as y } from "vue-i18n";
|
|
6
|
+
function E(l) {
|
|
7
|
+
return V({
|
|
8
|
+
queryFn: () => k.getByUuid(l.value),
|
|
9
|
+
queryKey: {
|
|
10
|
+
dealDetail: {
|
|
11
|
+
dealUuid: l
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
const I = /* @__PURE__ */ u({
|
|
17
|
+
__name: "DealDetailSidebarOverviewContent",
|
|
18
|
+
props: {
|
|
19
|
+
deal: {}
|
|
20
|
+
},
|
|
21
|
+
setup(l) {
|
|
22
|
+
const e = y();
|
|
23
|
+
return (a, o) => (i(), D("div", null, [
|
|
24
|
+
r(C, { "default-values": ["general-info", "contact-person"] }, {
|
|
25
|
+
default: n(() => [
|
|
26
|
+
r(S, {
|
|
27
|
+
label: t(e).t("wise_crm.info_dialog.sidebar.overview.invoice_label"),
|
|
28
|
+
value: "general-info",
|
|
29
|
+
icon: "wallet"
|
|
30
|
+
}, null, 8, ["label"])
|
|
31
|
+
]),
|
|
32
|
+
_: 1
|
|
33
|
+
})
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
}), U = { class: "gap-xl border-primary p-xl flex flex-col rounded-2xl border" }, T = { class: "text-xl font-bold" }, q = { class: "gap-sm flex items-center" }, H = /* @__PURE__ */ u({
|
|
37
|
+
__name: "DealDetailSidebarProvider",
|
|
38
|
+
props: {
|
|
39
|
+
deal: {}
|
|
40
|
+
},
|
|
41
|
+
setup(l) {
|
|
42
|
+
const e = l, a = y(), o = w(
|
|
43
|
+
"overview"
|
|
44
|
+
/* OVERVIEW */
|
|
45
|
+
), _ = f(() => [
|
|
46
|
+
{
|
|
47
|
+
icon: "infoCircle",
|
|
48
|
+
label: a.t("wise_crm.shared.overview"),
|
|
49
|
+
value: "overview"
|
|
50
|
+
/* OVERVIEW */
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
icon: "activity",
|
|
54
|
+
label: a.t("wise_crm.shared.activity"),
|
|
55
|
+
value: "activity"
|
|
56
|
+
/* ACTIVITY */
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
icon: "book",
|
|
60
|
+
label: a.t("wise_crm.shared.notes"),
|
|
61
|
+
value: "notes"
|
|
62
|
+
/* NOTES */
|
|
63
|
+
}
|
|
64
|
+
]);
|
|
65
|
+
return (P, m) => (i(), s(B, null, {
|
|
66
|
+
default: n(() => [
|
|
67
|
+
c("div", U, [
|
|
68
|
+
c("h2", T, d(e.deal.name), 1),
|
|
69
|
+
c("div", q, [
|
|
70
|
+
r(t(p), {
|
|
71
|
+
variant: "translucent",
|
|
72
|
+
color: "brand"
|
|
73
|
+
}, {
|
|
74
|
+
default: n(() => [
|
|
75
|
+
v(d(e.deal.boardColumn.displayName ?? "-"), 1)
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
r(t(p), {
|
|
80
|
+
variant: "translucent",
|
|
81
|
+
color: "brand",
|
|
82
|
+
icon: "building"
|
|
83
|
+
}, {
|
|
84
|
+
default: n(() => [
|
|
85
|
+
v(d(e.deal.client.name ?? "-"), 1)
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
})
|
|
89
|
+
])
|
|
90
|
+
]),
|
|
91
|
+
r(N, {
|
|
92
|
+
modelValue: o.value,
|
|
93
|
+
"onUpdate:modelValue": m[0] || (m[0] = (x) => o.value = x),
|
|
94
|
+
tabs: _.value
|
|
95
|
+
}, {
|
|
96
|
+
default: n(() => [
|
|
97
|
+
o.value === "overview" ? (i(), s(I, {
|
|
98
|
+
key: 0,
|
|
99
|
+
deal: e.deal
|
|
100
|
+
}, null, 8, ["deal"])) : b("", !0)
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["modelValue", "tabs"])
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
}));
|
|
107
|
+
}
|
|
108
|
+
}), j = /* @__PURE__ */ u({
|
|
109
|
+
__name: "DealDetailView",
|
|
110
|
+
setup(l) {
|
|
111
|
+
const e = g("dealUuid"), a = E(
|
|
112
|
+
f(() => e.value)
|
|
113
|
+
);
|
|
114
|
+
return (o, _) => (i(), s(h, {
|
|
115
|
+
key: t(e),
|
|
116
|
+
"entity-type": t($).BUSINESS,
|
|
117
|
+
tabs: []
|
|
118
|
+
}, {
|
|
119
|
+
sidebar: n(() => [
|
|
120
|
+
t(a).data.value ? (i(), s(H, {
|
|
121
|
+
key: 0,
|
|
122
|
+
deal: t(a).data.value
|
|
123
|
+
}, null, 8, ["deal"])) : b("", !0)
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}, 8, ["entity-type"]));
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
export {
|
|
130
|
+
j as default
|
|
131
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 32 32",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function l(i, e) {
|
|
8
|
+
return t(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
n("path", {
|
|
10
|
+
d: "M21.2173 10.7821V6.8691L25.1304 2.95605L26.4347 5.56475L29.0434 6.8691L25.1304 10.7821H21.2173ZM21.2173 10.7821L16 15.9995M29.0435 15.9995C29.0435 23.2032 23.2037 29.043 16 29.043C8.79628 29.043 2.95652 23.2032 2.95652 15.9995C2.95652 8.79582 8.79628 2.95605 16 2.95605M22.5217 15.9995C22.5217 19.6014 19.6019 22.5213 16 22.5213C12.3981 22.5213 9.47826 19.6014 9.47826 15.9995C9.47826 12.3977 12.3981 9.47779 16 9.47779",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "2.6087",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ r(s, [["render", l]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 14 14",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function i(l, e) {
|
|
8
|
+
return t(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
n("path", {
|
|
10
|
+
d: "M6.99998 11.6667H12.25M1.75 11.6667H2.72682C3.01217 11.6667 3.15485 11.6667 3.28912 11.6344C3.40816 11.6059 3.52196 11.5587 3.62635 11.4947C3.74408 11.4226 3.84497 11.3217 4.04675 11.1199L11.375 3.79167C11.8583 3.30842 11.8583 2.52492 11.375 2.04167C10.8918 1.55842 10.1083 1.55842 9.62501 2.04167L2.29674 9.36993C2.09496 9.57171 1.99407 9.6726 1.92192 9.79033C1.85795 9.89472 1.81081 10.0085 1.78224 10.1276C1.75 10.2618 1.75 10.4045 1.75 10.6899V11.6667Z",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "1.5",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const a = /* @__PURE__ */ r(s, [["render", i]]);
|
|
19
|
+
export {
|
|
20
|
+
a as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 14 14",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function l(C, e) {
|
|
8
|
+
return r(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
t("path", {
|
|
10
|
+
d: "M8.16683 6.41699H4.66683M5.8335 8.75033H4.66683M9.3335 4.08366H4.66683M11.6668 3.96699V10.0337C11.6668 11.0138 11.6668 11.5038 11.4761 11.8781C11.3083 12.2074 11.0406 12.4751 10.7113 12.6429C10.337 12.8337 9.84692 12.8337 8.86683 12.8337H5.1335C4.1534 12.8337 3.66336 12.8337 3.28901 12.6429C2.95973 12.4751 2.69201 12.2074 2.52423 11.8781C2.3335 11.5038 2.3335 11.0138 2.3335 10.0337V3.96699C2.3335 2.9869 2.3335 2.49685 2.52423 2.12251C2.69201 1.79323 2.95973 1.52551 3.28901 1.35773C3.66336 1.16699 4.1534 1.16699 5.1335 1.16699H8.86683C9.84692 1.16699 10.337 1.16699 10.7113 1.35773C11.0406 1.52551 11.3083 1.79323 11.4761 2.12251C11.6668 2.49685 11.6668 2.9869 11.6668 3.96699Z",
|
|
11
|
+
stroke: "currentColor",
|
|
12
|
+
"stroke-width": "1.2",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ n(s, [["render", l]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, i = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function l(c, e) {
|
|
11
|
+
return t(), o("svg", i, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "M6 12H18M3 6H21M9 18H15",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const f = /* @__PURE__ */ n(s, [["render", l]]);
|
|
22
|
+
export {
|
|
23
|
+
f as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
import { _ as r } from "./index-BuDP-Xur.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function l(i, e) {
|
|
8
|
+
return t(), o("svg", c, [...e[0] || (e[0] = [
|
|
9
|
+
n("path", {
|
|
10
|
+
d: "M6.33334 2L4.33334 14M11.6667 2L9.66666 14M13.6667 5.33333H2.33335M13 10.6667H1.66669",
|
|
11
|
+
class: "stroke-current",
|
|
12
|
+
"stroke-width": "1.5",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const _ = /* @__PURE__ */ r(s, [["render", l]]);
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as r, createStaticVNode as o } from "vue";
|
|
2
|
+
import { _ as l } from "./index-BuDP-Xur.js";
|
|
3
|
+
const i = {}, a = {
|
|
4
|
+
width: "42",
|
|
5
|
+
height: "43",
|
|
6
|
+
viewBox: "0 0 42 43",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function f(n, e) {
|
|
11
|
+
return r(), t("svg", a, [...e[0] || (e[0] = [
|
|
12
|
+
o('<g filter="url(#filter0_d_19745_39870)"><path d="M13.5 20.8042C13.5 20.3256 13.5 20.0863 13.5617 19.8659C13.6163 19.6707 13.7061 19.487 13.8267 19.324C13.9628 19.14 14.1517 18.9931 14.5295 18.6993L20.1814 14.3033C20.4742 14.0756 20.6206 13.9618 20.7822 13.918C20.9248 13.8794 21.0752 13.8794 21.2178 13.918C21.3794 13.9618 21.5258 14.0756 21.8186 14.3033L27.4705 18.6993C27.8483 18.9931 28.0372 19.14 28.1733 19.324C28.2939 19.487 28.3837 19.6707 28.4383 19.8659C28.5 20.0863 28.5 20.3256 28.5 20.8042V26.8333C28.5 27.7667 28.5 28.2335 28.3183 28.59C28.1586 28.9036 27.9036 29.1585 27.59 29.3183C27.2335 29.5 26.7668 29.5 25.8333 29.5H16.1667C15.2332 29.5 14.7665 29.5 14.41 29.3183C14.0964 29.1585 13.8414 28.9036 13.6817 28.59C13.5 28.2335 13.5 27.7667 13.5 26.8333V20.8042Z" class="fill-current"></path><path d="M13.5 20.8042C13.5 20.3256 13.5 20.0863 13.5617 19.8659C13.6163 19.6707 13.7061 19.487 13.8267 19.324C13.9628 19.14 14.1517 18.9931 14.5295 18.6993L20.1814 14.3033C20.4742 14.0756 20.6206 13.9618 20.7822 13.918C20.9248 13.8794 21.0752 13.8794 21.2178 13.918C21.3794 13.9618 21.5258 14.0756 21.8186 14.3033L27.4705 18.6993C27.8483 18.9931 28.0372 19.14 28.1733 19.324C28.2939 19.487 28.3837 19.6707 28.4383 19.8659C28.5 20.0863 28.5 20.3256 28.5 20.8042V26.8333C28.5 27.7667 28.5 28.2335 28.3183 28.59C28.1586 28.9036 27.9036 29.1585 27.59 29.3183C27.2335 29.5 26.7668 29.5 25.8333 29.5H16.1667C15.2332 29.5 14.7665 29.5 14.41 29.3183C14.0964 29.1585 13.8414 28.9036 13.6817 28.59C13.5 28.2335 13.5 27.7667 13.5 26.8333V20.8042Z" class="stroke-current" stroke-width="2.16667" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><filter id="filter0_d_19745_39870" x="0.499776" y="0.888997" width="41.0004" height="41.611" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="5.95833"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.458824 0 0 0 0 0.796078 0 0 0 0.2 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_19745_39870"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_19745_39870" result="shape"></feBlend></filter></defs>', 2)
|
|
13
|
+
])]);
|
|
14
|
+
}
|
|
15
|
+
const C = /* @__PURE__ */ l(i, [["render", f]]);
|
|
16
|
+
export {
|
|
17
|
+
C as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as n, createBlock as s, openBlock as u, unref as i, withCtx as o, createVNode as d } from "vue";
|
|
2
|
+
import { u as r, _ as p } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-xxFJ9bKG.js";
|
|
3
|
+
import { E as c, e as m } from "./index-BuDP-Xur.js";
|
|
4
|
+
const v = /* @__PURE__ */ n({
|
|
5
|
+
__name: "IndividualDetailView",
|
|
6
|
+
props: {
|
|
7
|
+
tabs: {}
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
const a = e, t = r("individualUuid");
|
|
11
|
+
return (_, l) => (u(), s(p, {
|
|
12
|
+
key: i(t),
|
|
13
|
+
tabs: a.tabs,
|
|
14
|
+
"entity-type": i(c).INDIVIDUAL
|
|
15
|
+
}, {
|
|
16
|
+
sidebar: o(() => [
|
|
17
|
+
d(m, { "individual-uuid": i(t) }, null, 8, ["individual-uuid"])
|
|
18
|
+
]),
|
|
19
|
+
_: 1
|
|
20
|
+
}, 8, ["tabs", "entity-type"]));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
v as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as n } from "./index-BuDP-Xur.js";
|
|
3
|
+
const i = {}, c = {
|
|
4
|
+
viewBox: "0 0 16 16",
|
|
5
|
+
fill: "none"
|
|
6
|
+
};
|
|
7
|
+
function l(s, t) {
|
|
8
|
+
return o(), r("svg", c, [...t[0] || (t[0] = [
|
|
9
|
+
e("g", { "clip-path": "url(#clip0_19745_40246)" }, [
|
|
10
|
+
e("path", {
|
|
11
|
+
d: "M1.33331 8L7.76147 11.2141C7.84892 11.2578 7.89265 11.2797 7.93851 11.2883C7.97914 11.2959 8.02082 11.2959 8.06145 11.2883C8.10731 11.2797 8.15104 11.2578 8.23849 11.2141L14.6666 8M1.33331 11.3333L7.76147 14.5474C7.84892 14.5911 7.89265 14.613 7.93851 14.6216C7.97914 14.6292 8.02082 14.6292 8.06145 14.6216C8.10731 14.613 8.15104 14.5911 8.23849 14.5474L14.6666 11.3333M1.33331 4.66667L7.76147 1.45259C7.84892 1.40887 7.89265 1.387 7.93851 1.3784C7.97914 1.37078 8.02082 1.37078 8.06145 1.3784C8.10731 1.387 8.15104 1.40887 8.23849 1.45259L14.6666 4.66667L8.23849 7.88075C8.15104 7.92447 8.10731 7.94634 8.06145 7.95494C8.02082 7.96256 7.97914 7.96256 7.93851 7.95494C7.89265 7.94634 7.84892 7.92447 7.76147 7.88075L1.33331 4.66667Z",
|
|
12
|
+
class: "stroke-current",
|
|
13
|
+
"stroke-width": "1.5",
|
|
14
|
+
"stroke-linecap": "round",
|
|
15
|
+
"stroke-linejoin": "round"
|
|
16
|
+
})
|
|
17
|
+
], -1),
|
|
18
|
+
e("defs", null, [
|
|
19
|
+
e("clipPath", { id: "clip0_19745_40246" }, [
|
|
20
|
+
e("rect", {
|
|
21
|
+
width: "16",
|
|
22
|
+
height: "16",
|
|
23
|
+
fill: "white"
|
|
24
|
+
})
|
|
25
|
+
])
|
|
26
|
+
], -1)
|
|
27
|
+
])]);
|
|
28
|
+
}
|
|
29
|
+
const p = /* @__PURE__ */ n(i, [["render", l]]);
|
|
30
|
+
export {
|
|
31
|
+
p as default
|
|
32
|
+
};
|