@wisemen/wise-crm-web 0.2.5 → 1.1.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.
Files changed (140) hide show
  1. package/dist/ActivityIcon-xJAmguCr.js +21 -0
  2. package/dist/AttachmentIcon-BE5eNDu2.js +21 -0
  3. package/dist/BoldIcon-gIpFueAk.js +18 -0
  4. package/dist/BookIcon-BcJ7URa7.js +21 -0
  5. package/dist/BuildingIcon-Dg6uZKp9.js +21 -0
  6. package/dist/BuildingsIcon-BFPEpeVP.js +21 -0
  7. package/dist/BulletListIcon-CjJGF99S.js +18 -0
  8. package/dist/BusinessDetailView-Cq7_ziCe.js +27 -0
  9. package/dist/ChevronDownIcon-CsDbkAjy.js +21 -0
  10. package/dist/ClockIcon-DmkNAIk7.js +32 -0
  11. package/dist/ClockPlusIcon-DeHgqDF1.js +32 -0
  12. package/dist/CopyIcon-BsUjyueq.js +21 -0
  13. package/dist/CrmDetailView.vue_vue_type_script_setup_true_lang-Db5HsgF9.js +102 -0
  14. package/dist/DealCommunicationTabView-CQ9vUi3p.js +207 -0
  15. package/dist/DealDetailView-t_v7MuZA.js +1329 -0
  16. package/dist/DealIcon-BJzNx1o6.js +21 -0
  17. package/dist/DownloadCloudIcon-DNPJTdVt.js +21 -0
  18. package/dist/EditWithLineIcon-BXkQTlXs.js +21 -0
  19. package/dist/FileIcon-DSQi3VUb.js +21 -0
  20. package/dist/FilterLinesIcon-YkTZirYE.js +24 -0
  21. package/dist/H1Icon-DsvWrDD0.js +19 -0
  22. package/dist/H2Icon-8xYiqSmR.js +19 -0
  23. package/dist/H3Icon-BdH22r8A.js +19 -0
  24. package/dist/HashIcon-DNclSYC-.js +21 -0
  25. package/dist/HomeFilledIcon-my0TzA9q.js +18 -0
  26. package/dist/IndividualDetailView-CjgKD__T.js +27 -0
  27. package/dist/ItalicIcon-Be9twusP.js +19 -0
  28. package/dist/LayersTreeIcon-DcK6WtJe.js +32 -0
  29. package/dist/LinkBrokenIcon-9wgVs__d.js +21 -0
  30. package/dist/LinkExternalIcon--XtB6wEj.js +21 -0
  31. package/dist/LinkIcon-BzYeqJaA.js +19 -0
  32. package/dist/LocationPinIcon-CSBPPRHC.js +21 -0
  33. package/dist/MailIcon-BgkBOes6.js +21 -0
  34. package/dist/MobilePhoneIcon-BgB_oAAr.js +21 -0
  35. package/dist/NumberedListIcon-Bf4a8S_g.js +19 -0
  36. package/dist/PhoneIcon-BKgg0ufh.js +21 -0
  37. package/dist/RefreshIcon-GJ03jEFx.js +21 -0
  38. package/dist/SendIcon-0ygrHbYx.js +21 -0
  39. package/dist/SettingsIcon-BRNQD8GX.js +28 -0
  40. package/dist/StarOutlineIcon-Gxm2X9hf.js +21 -0
  41. package/dist/StarYellowIcon-BZfRhUd6.js +21 -0
  42. package/dist/ThreeDotsIcon-cBE_pGvU.js +32 -0
  43. package/dist/TimeLineMarkerIcon-j4hDQteY.js +20 -0
  44. package/dist/TrashIcon-BynOxtIY.js +22 -0
  45. package/dist/UploadCloudIcon-BgcrXv_v.js +21 -0
  46. package/dist/UserCircleIcon-Bc1eahfh.js +32 -0
  47. package/dist/UserIcon-CCK-3lX3.js +24 -0
  48. package/dist/VerticalDotsIcon-C5gK8Zmi.js +22 -0
  49. package/dist/WalletIcon-DjqurEH2.js +21 -0
  50. package/dist/components/auto-focus/AutoFocus.vue.d.ts +13 -0
  51. package/dist/components/column-layout/ColumnLayout.vue.d.ts +1 -1
  52. package/dist/components/row-layout/RowLayout.vue.d.ts +1 -1
  53. package/dist/components/text/Text.vue.d.ts +1 -1
  54. package/dist/composables/crmConfig.composable.d.ts +1 -0
  55. package/dist/index-Cb2tNFVq.js +24606 -0
  56. package/dist/index.js +28 -5410
  57. package/dist/kbo-client/client/client.gen.d.ts +2 -0
  58. package/dist/kbo-client/client/index.d.ts +8 -0
  59. package/dist/kbo-client/client/types.gen.d.ts +117 -0
  60. package/dist/kbo-client/client/utils.gen.d.ts +33 -0
  61. package/dist/kbo-client/client.gen.d.ts +12 -0
  62. package/dist/kbo-client/core/auth.gen.d.ts +18 -0
  63. package/dist/kbo-client/core/bodySerializer.gen.d.ts +25 -0
  64. package/dist/kbo-client/core/params.gen.d.ts +43 -0
  65. package/dist/kbo-client/core/pathSerializer.gen.d.ts +33 -0
  66. package/dist/kbo-client/core/queryKeySerializer.gen.d.ts +18 -0
  67. package/dist/kbo-client/core/serverSentEvents.gen.d.ts +71 -0
  68. package/dist/kbo-client/core/types.gen.d.ts +78 -0
  69. package/dist/kbo-client/core/utils.gen.d.ts +19 -0
  70. package/dist/kbo-client/index.d.ts +2 -0
  71. package/dist/kbo-client/sdk.gen.d.ts +72 -0
  72. package/dist/kbo-client/types.gen.d.ts +2089 -0
  73. package/dist/kbo-client/zod.gen.d.ts +5943 -0
  74. package/dist/libs/http.lib.d.ts +3 -1
  75. package/dist/libs/kboBaseUrl.lib.d.ts +1 -0
  76. package/dist/models/cbe/search/cbeEnterpriseSearchDto.model.d.ts +1 -1
  77. package/dist/style.css +1 -2
  78. package/dist/testing.js +387 -363
  79. package/dist/utils/color.util.d.ts +6 -0
  80. package/dist/uuid.util-1167NMVR.js +6562 -0
  81. package/package.json +30 -29
  82. package/dist/ActivityIcon-DFD9ZhO0.js +0 -17
  83. package/dist/AppSkeletonLoader-BAhoOmFD.js +0 -1106
  84. package/dist/AttachmentIcon-CsucE3yf.js +0 -17
  85. package/dist/BoldIcon-DY2FlAS0.js +0 -14
  86. package/dist/BookIcon-DgT3flV5.js +0 -17
  87. package/dist/BuildingIcon-Bm18omgW.js +0 -17
  88. package/dist/BuildingsIcon-D4X7QciL.js +0 -17
  89. package/dist/BulletListIcon-CNCV-cOS.js +0 -14
  90. package/dist/BusinessDetailSidebarProvider-CXG99iHk.js +0 -2077
  91. package/dist/BusinessDetailView-BZpocob4.js +0 -24
  92. package/dist/ChevronDownIcon-CfBAAAca.js +0 -17
  93. package/dist/ClockIcon-Ckr1IQBt.js +0 -21
  94. package/dist/ClockPlusIcon-CVN69pCS.js +0 -21
  95. package/dist/CopyIcon-CUomKXdn.js +0 -17
  96. package/dist/CrmDetailHeaderCard-Jo2OteBb.js +0 -2516
  97. package/dist/CrmDetailView-DKHX-JEl.js +0 -65
  98. package/dist/DealCommunicationTabView-ClflVxHJ.js +0 -137
  99. package/dist/DealDetailView-ChAFvBBK.js +0 -1021
  100. package/dist/DealExternalAttachment-ClwtFzpQ.js +0 -177
  101. package/dist/DealIcon-CpO-DkyS.js +0 -17
  102. package/dist/DealSendMailDialog-SWWyaxq8.js +0 -1552
  103. package/dist/DownloadCloudIcon-VMmB9vit.js +0 -17
  104. package/dist/EditWithLineIcon-C0WMD50F.js +0 -17
  105. package/dist/Error-CX6APxDX.js +0 -12671
  106. package/dist/FileIcon-3FebXgYQ.js +0 -17
  107. package/dist/FilterLinesIcon-DHpRPKJB.js +0 -20
  108. package/dist/H1Icon-CPVGTTtl.js +0 -15
  109. package/dist/H2Icon-CuEmp9I0.js +0 -15
  110. package/dist/H3Icon-wAPhdYIf.js +0 -15
  111. package/dist/HashIcon-C2kfHjTC.js +0 -17
  112. package/dist/HomeFilledIcon-CxIazF0B.js +0 -14
  113. package/dist/IndividualDetailSidebarProvider-BJgxw1Jd.js +0 -608
  114. package/dist/IndividualDetailView-CvGUCWPY.js +0 -24
  115. package/dist/ItalicIcon-DfV3EOdk.js +0 -15
  116. package/dist/LayersTreeIcon-Ct-owndO.js +0 -21
  117. package/dist/LinkBrokenIcon-CTlqmapl.js +0 -17
  118. package/dist/LinkExternalIcon-LOVtSqBT.js +0 -17
  119. package/dist/LinkIcon-DqBbVrvs.js +0 -15
  120. package/dist/LocationPinIcon-Cp-wRgk2.js +0 -17
  121. package/dist/MailIcon-CnTrB1k3.js +0 -17
  122. package/dist/MobilePhoneIcon-B747hmpS.js +0 -17
  123. package/dist/NumberedListIcon-amJxDaaD.js +0 -15
  124. package/dist/PhoneIcon-94MYVL85.js +0 -17
  125. package/dist/RefreshIcon-DRe3coBc.js +0 -17
  126. package/dist/SendIcon-MYItp1xI.js +0 -17
  127. package/dist/SettingsIcon-C0qTAv0w.js +0 -23
  128. package/dist/StarOutlineIcon-CiFLgepk.js +0 -17
  129. package/dist/StarYellowIcon-C0v_XGwI.js +0 -17
  130. package/dist/ThreeDotsIcon-lujOTU3G.js +0 -30
  131. package/dist/TimeLineMarkerIcon-C4LfErbc.js +0 -16
  132. package/dist/TrashIcon-v4L9SEK_.js +0 -18
  133. package/dist/UploadCloudIcon-j1-1Rvqb.js +0 -17
  134. package/dist/UserCircleIcon-BjUt_2C4.js +0 -21
  135. package/dist/UserIcon-Cb2jFKLr.js +0 -20
  136. package/dist/VerticalDotsIcon-Y3m6tlQ2.js +0 -18
  137. package/dist/WalletIcon-pPsKbzmh.js +0 -17
  138. package/dist/_plugin-vue_export-helper-BSi1g3Lh.js +0 -6
  139. package/dist/client-CpsHjr8V.js +0 -4196
  140. package/dist/uuid.util-C1p-yuFc.js +0 -9
@@ -0,0 +1,21 @@
1
+ import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const s = {}, c = {
4
+ viewBox: "0 0 16 16",
5
+ fill: "none"
6
+ };
7
+ function i(l, e) {
8
+ return o(), t("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 { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const s = {}, c = {
4
+ viewBox: "0 0 20 20",
5
+ fill: "none"
6
+ };
7
+ function l(i, e) {
8
+ return t(), o("svg", c, [...e[0] || (e[0] = [
9
+ n("path", {
10
+ d: "M17.6271 9.08247L10.1141 16.5955C8.40556 18.304 5.63546 18.304 3.92692 16.5955C2.21837 14.8869 2.21837 12.1168 3.92692 10.4083L11.4399 2.89529C12.579 1.75626 14.4257 1.75626 15.5647 2.89529C16.7037 4.03432 16.7037 5.88105 15.5647 7.02008L8.34633 14.2385C7.77682 14.808 6.85345 14.808 6.28394 14.2385C5.71442 13.6689 5.71442 12.7456 6.28394 12.1761L12.6184 5.84157",
11
+ class: "stroke-current",
12
+ "stroke-width": "1.66667",
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 { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const l = {}, c = {
4
+ viewBox: "0 0 32 32",
5
+ fill: "none"
6
+ };
7
+ function s(f, e) {
8
+ return o(), t("svg", c, [...e[0] || (e[0] = [
9
+ n("path", {
10
+ d: "M19.6 14.79C20.57 14.12 21.25 13.02 21.25 12C21.25 9.74 19.5 8 17.25 8H11V22H18.04C20.13 22 21.75 20.3 21.75 18.21C21.75 16.69 20.89 15.39 19.6 14.79ZM14 10.5H17C17.83 10.5 18.5 11.17 18.5 12C18.5 12.83 17.83 13.5 17 13.5H14V10.5ZM17.5 19.5H14V16.5H17.5C18.33 16.5 19 17.17 19 18C19 18.83 18.33 19.5 17.5 19.5Z",
11
+ fill: "currentColor"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const i = /* @__PURE__ */ r(l, [["render", s]]);
16
+ export {
17
+ i as default
18
+ };
@@ -0,0 +1,21 @@
1
+ import { openBlock as o, createElementBlock as C, createElementVNode as t } from "vue";
2
+ import { _ as n } from "./index-Cb2tNFVq.js";
3
+ const r = {}, s = {
4
+ viewBox: "0 0 17 16",
5
+ fill: "none"
6
+ };
7
+ function c(l, e) {
8
+ return o(), C("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 { openBlock as o, createElementBlock as n, createElementVNode as t } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const s = {}, c = {
4
+ viewBox: "0 0 16 16",
5
+ fill: "none"
6
+ };
7
+ function i(l, e) {
8
+ return o(), n("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 { openBlock as o, createElementBlock as n, createElementVNode as t } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const s = {}, c = {
4
+ viewBox: "0 0 16 16",
5
+ fill: "none"
6
+ };
7
+ function i(l, e) {
8
+ return o(), n("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,18 @@
1
+ import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const l = {}, C = {
4
+ viewBox: "0 0 32 32",
5
+ fill: "none"
6
+ };
7
+ function c(s, e) {
8
+ return o(), t("svg", C, [...e[0] || (e[0] = [
9
+ n("path", {
10
+ d: "M8.25 14.5C7.42 14.5 6.75 15.17 6.75 16C6.75 16.83 7.42 17.5 8.25 17.5C9.08 17.5 9.75 16.83 9.75 16C9.75 15.17 9.08 14.5 8.25 14.5ZM8.25 8.5C7.42 8.5 6.75 9.17 6.75 10C6.75 10.83 7.42 11.5 8.25 11.5C9.08 11.5 9.75 10.83 9.75 10C9.75 9.17 9.08 8.5 8.25 8.5ZM8.25 20.5C7.42 20.5 6.75 21.18 6.75 22C6.75 22.82 7.43 23.5 8.25 23.5C9.07 23.5 9.75 22.82 9.75 22C9.75 21.18 9.08 20.5 8.25 20.5ZM11.25 23H25.25V21H11.25V23ZM11.25 17H25.25V15H11.25V17ZM11.25 9V11H25.25V9H11.25Z",
11
+ fill: "currentColor"
12
+ }, null, -1)
13
+ ])]);
14
+ }
15
+ const _ = /* @__PURE__ */ r(l, [["render", c]]);
16
+ export {
17
+ _ as default
18
+ };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as n, openBlock as o, createBlock as r, unref as s, withCtx as a, createVNode as u } from "vue";
2
+ import { useRouteParams as m } from "@vueuse/router";
3
+ import { a as p } from "./index-Cb2tNFVq.js";
4
+ import { b0 as c } from "./uuid.util-1167NMVR.js";
5
+ import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-Db5HsgF9.js";
6
+ const x = /* @__PURE__ */ n({
7
+ __name: "BusinessDetailView",
8
+ props: {
9
+ tabs: {}
10
+ },
11
+ setup(t) {
12
+ const i = t, e = m("businessUuid");
13
+ return (f, b) => (o(), r(_, {
14
+ key: s(e),
15
+ tabs: i.tabs,
16
+ "entity-type": s(c).BUSINESS
17
+ }, {
18
+ sidebar: a(() => [
19
+ u(p, { "business-uuid": s(e) }, null, 8, ["business-uuid"])
20
+ ]),
21
+ _: 1
22
+ }, 8, ["tabs", "entity-type"]));
23
+ }
24
+ });
25
+ export {
26
+ x as default
27
+ };
@@ -0,0 +1,21 @@
1
+ import { openBlock as o, createElementBlock as n, createElementVNode as r } from "vue";
2
+ import { _ as t } from "./index-Cb2tNFVq.js";
3
+ const s = {}, c = {
4
+ viewBox: "0 0 24 24",
5
+ fill: "none"
6
+ };
7
+ function l(i, e) {
8
+ return o(), n("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 { openBlock as o, createElementBlock as r, createElementVNode as e } from "vue";
2
+ import { _ as n } from "./index-Cb2tNFVq.js";
3
+ const c = {}, i = {
4
+ viewBox: "0 0 12 12",
5
+ fill: "none"
6
+ };
7
+ function l(s, t) {
8
+ return o(), r("svg", i, [...t[0] || (t[0] = [
9
+ e("g", { "clip-path": "url(#clip0_26672_14586)" }, [
10
+ e("path", {
11
+ d: "M6 3V6L8 7M11 6C11 8.76142 8.76142 11 6 11C3.23858 11 1 8.76142 1 6C1 3.23858 3.23858 1 6 1C8.76142 1 11 3.23858 11 6Z",
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_26672_14586" }, [
20
+ e("rect", {
21
+ width: "12",
22
+ height: "12",
23
+ fill: "white"
24
+ })
25
+ ])
26
+ ], -1)
27
+ ])]);
28
+ }
29
+ const p = /* @__PURE__ */ n(c, [["render", l]]);
30
+ export {
31
+ p as default
32
+ };
@@ -0,0 +1,32 @@
1
+ import { openBlock as o, createElementBlock as r, createElementVNode as e } from "vue";
2
+ import { _ as n } from "./index-Cb2tNFVq.js";
3
+ const l = {}, c = {
4
+ viewBox: "0 0 16 16",
5
+ fill: "none"
6
+ };
7
+ function i(s, t) {
8
+ return o(), r("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 { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./index-Cb2tNFVq.js";
3
+ const C = {}, s = {
4
+ viewBox: "0 0 24 24",
5
+ fill: "none"
6
+ };
7
+ function c(l, e) {
8
+ return o(), t("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,102 @@
1
+ import { defineComponent as g, ref as v, unref as o, openBlock as c, createElementBlock as u, createElementVNode as e, renderSlot as _, createVNode as s, withCtx as f, Fragment as b, renderList as h, createBlock as x, toValue as m, createTextVNode as w, toDisplayString as y, createCommentVNode as C } from "vue";
2
+ import { onKeyStroke as k } from "@vueuse/core";
3
+ import { VcRouterLinkTabs as V, VcRouterLinkTabsItem as R, VcIconButton as B } from "@wisemen/vue-core-components";
4
+ import { RouterView as E } from "vue-router";
5
+ import { u as T, b as j, c as A } from "./index-Cb2tNFVq.js";
6
+ class H {
7
+ /**
8
+ * Checks if any parent element has `aria-hidden="true"` set. use this to check if a dialog or a popover is open.
9
+ * @param element The element to start checking from.
10
+ * @returns True if any parent has `aria-hidden="true"`, false otherwise.
11
+ */
12
+ static parentHasAriaHidden(a) {
13
+ let t = a.parentElement;
14
+ for (; t; ) {
15
+ if (t.hasAttribute("aria-hidden"))
16
+ return t.getAttribute("aria-hidden") === "true";
17
+ t = t.parentElement;
18
+ }
19
+ return !1;
20
+ }
21
+ }
22
+ const N = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" }, I = { class: "flex h-full min-w-[400px] flex-col" }, L = { class: "bg-secondary flex h-full w-full flex-1 justify-center overflow-hidden" }, S = { class: "flex w-full flex-col" }, D = { class: "p-lg grid w-full grid-cols-3" }, z = { class: "flex items-center justify-center" }, F = { class: "flex items-center justify-end" }, K = { class: "h-full w-full overflow-y-auto" }, O = /* @__PURE__ */ g({
23
+ __name: "CrmDetailView",
24
+ props: {
25
+ entityType: {},
26
+ tabs: {}
27
+ },
28
+ setup(i) {
29
+ const a = i, t = v(null), d = T(), p = j();
30
+ return k("Escape", () => {
31
+ const r = t.value?.$el;
32
+ r && H.parentHasAriaHidden(r) || d.goToReturnRoute();
33
+ }), (r, l) => o(p).isInitialized.value ? (c(), u("div", N, [
34
+ e("div", $, [
35
+ e("div", I, [
36
+ _(r.$slots, "sidebar")
37
+ ]),
38
+ s(A, {
39
+ color: o(d).getEntityConfig(i.entityType)?.color ?? null,
40
+ class: "relative flex flex-1 flex-col overflow-hidden"
41
+ }, {
42
+ default: f(() => [
43
+ e("div", L, [
44
+ e("div", S, [
45
+ e("div", D, [
46
+ l[1] || (l[1] = e("div", null, null, -1)),
47
+ e("div", z, [
48
+ s(o(V), {
49
+ "class-config": {
50
+ base: "flex justify-center bg-primary border-none shadow-lg w-fit",
51
+ list: "rounded-lg w-fit",
52
+ item: "data-[state=active]:text-[var(--brand-contrast)]",
53
+ indicator: "rounded-md bg-gradient-to-b bg-brand-500",
54
+ scrollContainer: "!p-xs bg-white rounded-lg border border-primary/50"
55
+ },
56
+ variant: "button-border"
57
+ }, {
58
+ items: f(() => [
59
+ (c(!0), u(b, null, h(a.tabs, (n) => (c(), x(o(R), {
60
+ key: m(n.label),
61
+ to: {
62
+ name: n.to
63
+ }
64
+ }, {
65
+ default: f(() => [
66
+ w(y(m(n.label)), 1)
67
+ ]),
68
+ _: 2
69
+ }, 1032, ["to"]))), 128))
70
+ ]),
71
+ _: 1
72
+ })
73
+ ]),
74
+ e("div", F, [
75
+ s(o(B), {
76
+ ref_key: "closeButtonRef",
77
+ ref: t,
78
+ "class-config": {
79
+ root: "rounded-md shadow-lg"
80
+ },
81
+ icon: "close",
82
+ label: "Close",
83
+ variant: "secondary",
84
+ onClick: l[0] || (l[0] = (n) => o(d).goToReturnRoute())
85
+ }, null, 512)
86
+ ])
87
+ ]),
88
+ e("div", K, [
89
+ s(o(E))
90
+ ])
91
+ ])
92
+ ])
93
+ ]),
94
+ _: 1
95
+ }, 8, ["color"])
96
+ ])
97
+ ])) : C("", !0);
98
+ }
99
+ });
100
+ export {
101
+ O as _
102
+ };
@@ -0,0 +1,207 @@
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
+ };