@wisemen/wise-crm-web 2.0.0-alpha.22 → 2.0.0-alpha.23

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.
@@ -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-BdE_BLXy.js";
3
+ import { _ as p } from "./index-D0KFS2x_.js";
4
4
  import { bq as c } from "./uuid.util-8nyk7pzI.js";
5
- import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-UxTnX2I8.js";
5
+ import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-D3fHOTDe.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 k, UITabsRouterLinkItem as R, UIIconButton as B } from "@wisemen/vue-core-design-system";
4
- import { d as E, f as T, T as I, a6 as V } from "./index-BdE_BLXy.js";
4
+ import { d as E, f as T, T as I, a6 as V } from "./index-D0KFS2x_.js";
5
5
  import { useRoute as A, RouterView as H } from "vue-router";
6
6
  class U {
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, openBlock as t, createElementBlock as f, createElementVNode as s, createVNode as a, withCtx as n, toDisplayString as m, unref as e, createBlock as o, createCommentVNode as _, Fragment as g, renderList as v, normalizeClass as b, resolveDynamicComponent as k, computed as M } from "vue";
2
2
  import { useRouteParams as I } from "@vueuse/router";
3
3
  import { useOffsetInfiniteQuery as L } from "@wisemen/vue-core-api-utils";
4
- import { M as T, D as p, g as w, a as A, m as S, b as V, u as j, A as Q } from "./index-BdE_BLXy.js";
4
+ import { M as T, D as p, g as w, a as A, m as S, b as V, u as j, A as Q } from "./index-D0KFS2x_.js";
5
5
  import { UIEmptyState as U } from "@wisemen/vue-core-design-system";
6
6
  import { AnimatePresence as $, Motion as q } from "motion-v";
7
7
  import { AccordionRoot as z, AccordionItem as B, AccordionHeader as E, AccordionTrigger as F, AccordionContent as H } from "reka-ui";
@@ -2,8 +2,8 @@ import { defineComponent as x, openBlock as d, createBlock as g, unref as e, ref
2
2
  import { useRouteParams as Me } from "@vueuse/router";
3
3
  import { useI18n as I } from "vue-i18n";
4
4
  import { bq as fe, bv as Ve, bx as qe, bA as Ee } from "./uuid.util-8nyk7pzI.js";
5
- import { _ as Le } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-UxTnX2I8.js";
6
- import { c as k, d as pe, e as Oe, f as $, h as L, i as Qe, E as _e, C as ge, j as Ae, k as Be, l as Ke, n as je, o as R, g as Re, J as ze, p as Ge, q as re, r as Ye, I as Ze, s as ye, t as A, v as He, w as be, x as Je, y as Xe, U as We, z as ea, u as aa, B as ta, Q as na, F as la, G as oa, H as ia, K as se, L as he, N as ra, O as ue, P as sa, R as ua, S as ca, T as da, V as ve, W as ma, X as fa, Y as pa, Z as _a, $ as ga, a0 as ya, a1 as ba, a2 as ha, a3 as va, a4 as Ua, A as Ca } from "./index-BdE_BLXy.js";
5
+ import { _ as Le } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-D3fHOTDe.js";
6
+ import { c as k, d as pe, e as Oe, f as $, h as L, i as Qe, E as _e, C as ge, j as Ae, k as Be, l as Ke, n as je, o as R, g as Re, J as ze, p as Ge, q as re, r as Ye, I as Ze, s as ye, t as A, v as He, w as be, x as Je, y as Xe, U as We, z as ea, u as aa, B as ta, Q as na, F as la, G as oa, H as ia, K as se, L as he, N as ra, O as ue, P as sa, R as ua, S as ca, T as da, V as ve, W as ma, X as fa, Y as pa, Z as _a, $ as ga, a0 as ya, a1 as ba, a2 as ha, a3 as va, a4 as Ua, A as Ca } from "./index-D0KFS2x_.js";
7
7
  import { useToast as Ue, useOverlay as H, UIConfirmDialog as wa, UIIconButton as ne, UITextField as G, toFormField as Q, UIDropdownMenu as Pa, UIDropdownMenuGroup as Da, UIDropdownMenuItem as ce, UIPhoneNumberField as de, UIFormLayout as le, UIFormFieldGroup as B, UIFormFieldGrid as K, UIFormDialog as Ce, UIDialogHeader as we, UIForm as me, UIDialogBody as J, UIDialogFooter as X, UIDialogFooterSubmit as W, createAutocompleteOptions as xa, createSelectOptions as ee, UIAutocomplete as Ia, UISelect as ae, UIButton as Na, UIBadge as Pe } from "@wisemen/vue-core-design-system";
8
8
  import { useMutation as T, useQuery as De, useOffsetInfiniteQuery as Sa, useKeysetInfiniteQuery as ka } from "@wisemen/vue-core-api-utils";
9
9
  import { useForm as Y } from "formango";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as n, openBlock as o, createBlock as r, unref as i, withCtx as s, createVNode as u } from "vue";
2
2
  import { useRouteParams as d } from "@vueuse/router";
3
3
  import { bq as m } from "./uuid.util-8nyk7pzI.js";
4
- import { _ as p } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-UxTnX2I8.js";
5
- import { a5 as c } from "./index-BdE_BLXy.js";
4
+ import { _ as p } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-D3fHOTDe.js";
5
+ import { a5 as c } from "./index-D0KFS2x_.js";
6
6
  const k = /* @__PURE__ */ n({
7
7
  __name: "IndividualDetailView",
8
8
  props: {
@@ -4849,8 +4849,7 @@ const A_ = { class: "flex items-center gap-sm p-sm px-md text-brand-500" }, S_ =
4849
4849
  s(a(Ce), {
4850
4850
  label: a(i).t("wise_crm.info_dialog.copy_to_clipboard"),
4851
4851
  icon: a(Nu),
4852
- variant: "tertiary",
4853
- size: "sm",
4852
+ class: "size-auto rounded-sm border-none bg-transparent p-xs shadow-none data-[loading=false]:not-disabled:hover:bg-secondary",
4854
4853
  onClick: m
4855
4854
  }, null, 8, ["label", "icon"])
4856
4855
  ])
@@ -10496,8 +10495,7 @@ const ct = /* @__PURE__ */ we(Cb, [["render", kb]]), Vb = { class: "font-semibol
10496
10495
  s(a(Ce), {
10497
10496
  label: a(r).t("wise_crm.info_dialog.sidebar.business.add_icon"),
10498
10497
  icon: a(Pe),
10499
- variant: "tertiary",
10500
- size: "sm",
10498
+ class: "size-auto rounded-sm border-none bg-transparent p-xs shadow-none duration-300 data-[loading=false]:not-disabled:hover:bg-secondary/50",
10501
10499
  onClick: _
10502
10500
  }, null, 8, ["label", "icon"])
10503
10501
  ]),
@@ -10536,8 +10534,7 @@ const ct = /* @__PURE__ */ we(Cb, [["render", kb]]), Vb = { class: "font-semibol
10536
10534
  s(a(Ce), {
10537
10535
  label: a(r).t("wise_crm.info_dialog.sidebar.business.add_icon"),
10538
10536
  icon: a(xd),
10539
- variant: "tertiary",
10540
- size: "sm",
10537
+ class: "h-auto w-auto rounded-sm border-none bg-transparent p-xs shadow-none duration-300 data-[loading=false]:not-disabled:hover:bg-secondary/50",
10541
10538
  onClick: (x) => f(y.uuid)
10542
10539
  }, null, 8, ["label", "icon", "onClick"])
10543
10540
  ]),
@@ -12192,7 +12189,7 @@ function J0(n, e) {
12192
12189
  At('<mask id="mask0_4933_393121" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="0" y="0" width="480" height="480"><rect width="480" height="480" fill="url(#paint0_radial_4933_393121)"></rect></mask><g mask="url(#mask0_4933_393121)"><g clip-path="url(#clip0_4933_393121)"><g clip-path="url(#clip1_4933_393121)"><line x1="0.5" x2="0.5" y2="480" class="stroke-current"></line><line x1="32.5" x2="32.5" y2="480" class="stroke-current"></line><line x1="64.5" x2="64.5" y2="480" class="stroke-current"></line><line x1="96.5" x2="96.5" y2="480" class="stroke-current"></line><line x1="128.5" x2="128.5" y2="480" class="stroke-current"></line><line x1="160.5" x2="160.5" y2="480" class="stroke-current"></line><line x1="192.5" x2="192.5" y2="480" class="stroke-current"></line><line x1="224.5" x2="224.5" y2="480" class="stroke-current"></line><line x1="256.5" x2="256.5" y2="480" class="stroke-current"></line><line x1="288.5" x2="288.5" y2="480" class="stroke-current"></line><line x1="320.5" x2="320.5" y2="480" class="stroke-current"></line><line x1="352.5" x2="352.5" y2="480" class="stroke-current"></line><line x1="384.5" x2="384.5" y2="480" class="stroke-current"></line><line x1="416.5" x2="416.5" y2="480" class="stroke-current"></line><line x1="448.5" x2="448.5" y2="480" class="stroke-current"></line></g><rect x="0.5" y="0.5" width="479" height="479" class="stroke-current"></rect><g clip-path="url(#clip2_4933_393121)"><line y1="31.5" x2="480" y2="31.5" class="stroke-current"></line><line y1="63.5" x2="480" y2="63.5" class="stroke-current"></line><line y1="95.5" x2="480" y2="95.5" class="stroke-current"></line><line y1="127.5" x2="480" y2="127.5" class="stroke-current"></line><line y1="159.5" x2="480" y2="159.5" class="stroke-current"></line><line y1="191.5" x2="480" y2="191.5" class="stroke-current"></line><line y1="223.5" x2="480" y2="223.5" class="stroke-current"></line><line y1="255.5" x2="480" y2="255.5" class="stroke-current"></line><line y1="287.5" x2="480" y2="287.5" class="stroke-current"></line><line y1="319.5" x2="480" y2="319.5" class="stroke-current"></line><line y1="351.5" x2="480" y2="351.5" class="stroke-current"></line><line y1="383.5" x2="480" y2="383.5" class="stroke-current"></line><line y1="415.5" x2="480" y2="415.5" class="stroke-current"></line><line y1="447.5" x2="480" y2="447.5" class="stroke-current"></line><line y1="479.5" x2="480" y2="479.5" class="stroke-current"></line></g><rect x="0.5" y="0.5" width="479" height="479" class="stroke-current"></rect></g></g><defs><radialGradient id="paint0_radial_4933_393121" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(240 240) rotate(90) scale(240 240)"><stop></stop><stop offset="1" stop-opacity="0"></stop></radialGradient><clipPath id="clip0_4933_393121"><rect width="480" height="480" fill="white"></rect></clipPath><clipPath id="clip1_4933_393121"><rect width="480" height="480" fill="white"></rect></clipPath><clipPath id="clip2_4933_393121"><rect width="480" height="480" fill="white"></rect></clipPath></defs>', 3)
12193
12190
  ])]);
12194
12191
  }
12195
- const Un = /* @__PURE__ */ we(Q0, [["render", J0]]), Y0 = { class: "relative isolate h-full max-w-150 min-w-100 overflow-hidden rounded-xl bg-primary p-xl shadow-lg" }, X0 = { class: "font-semibold text-primary" }, eh = { class: "text-4xl font-semibold text-brand-600" }, th = /* @__PURE__ */ k({
12192
+ const Un = /* @__PURE__ */ we(Q0, [["render", J0]]), Y0 = { class: "relative isolate h-full overflow-hidden rounded-xl bg-primary p-xl shadow-lg lg:max-w-150 lg:min-w-100" }, X0 = { class: "font-semibold text-primary" }, eh = { class: "text-4xl font-semibold text-brand-600" }, th = /* @__PURE__ */ k({
12196
12193
  __name: "WidgetBusinessStatistics",
12197
12194
  emits: ["viewAll"],
12198
12195
  setup(n, { emit: e }) {
@@ -12280,7 +12277,7 @@ function oh(n, e) {
12280
12277
  At('<path d="M62.895 65.715C74.55 60.435 82.665 48.72 82.665 35.1C82.65 16.545 67.62 1.5 49.05 1.5C30.48 1.5 15.45 16.545 15.45 35.1C15.45 48.72 23.565 60.45 35.22 65.715C15.705 71.64 1.5 89.775 1.5 111.225H96.615C96.615 89.775 82.41 71.64 62.895 65.715Z" fill="#F8FAFC"></path><path d="M49.0498 0.75C68.0344 0.75 83.3997 16.1312 83.415 35.0996L83.4092 35.751C83.1676 48.7335 75.713 59.9417 64.8926 65.5762C83.7927 72.1308 97.3651 90.0929 97.3652 111.225V111.975H0.75V111.225C0.750168 90.094 14.321 72.1325 33.2197 65.5771C22.2196 59.8596 14.7002 48.356 14.7002 35.0996C14.7004 16.1309 30.0656 0.750106 49.0498 0.75Z" stroke="black" stroke-opacity="0.08" stroke-width="1.5"></path><path d="M1.50003 111.225C1.50003 84.9603 22.785 63.6753 49.05 63.6753C75.315 63.6753 96.6 84.9603 96.6 111.225H1.50003Z" fill="url(#paint0_linear_18087_18112)"></path><path d="M49.0501 68.7C67.6069 68.7 82.6501 53.6568 82.6501 35.1C82.6501 16.5432 67.6069 1.5 49.0501 1.5C30.4933 1.5 15.4501 16.5432 15.4501 35.1C15.4501 53.6568 30.4933 68.7 49.0501 68.7Z" fill="url(#paint1_linear_18087_18112)"></path><defs><linearGradient id="paint0_linear_18087_18112" x1="12.5384" y1="71.7418" x2="47.4718" y2="137.374" gradientUnits="userSpaceOnUse"><stop stop-color="#E3E8EF"></stop><stop offset="0.350715" stop-color="#F8FAFC"></stop></linearGradient><linearGradient id="paint1_linear_18087_18112" x1="23.2501" y1="12.9" x2="82.6501" y2="68.6999" gradientUnits="userSpaceOnUse"><stop stop-color="#E3E8EF"></stop><stop offset="0.350715" stop-color="#F8FAFC"></stop></linearGradient></defs>', 5)
12281
12278
  ])]);
12282
12279
  }
12283
- const rh = /* @__PURE__ */ we(ah, [["render", oh]]), sh = { class: "relative isolate h-full max-w-150 min-w-100 overflow-hidden rounded-xl bg-primary p-xl shadow-lg" }, lh = { class: "font-semibold text-primary" }, ch = { class: "text-4xl font-semibold text-brand-600" }, uh = /* @__PURE__ */ k({
12280
+ const rh = /* @__PURE__ */ we(ah, [["render", oh]]), sh = { class: "relative isolate h-full overflow-hidden rounded-xl bg-primary p-xl shadow-lg lg:max-w-150 lg:min-w-100" }, lh = { class: "font-semibold text-primary" }, ch = { class: "text-4xl font-semibold text-brand-600" }, uh = /* @__PURE__ */ k({
12284
12281
  __name: "WidgetIndividualStatistics",
12285
12282
  emits: ["viewAll"],
12286
12283
  setup(n, { emit: e }) {
@@ -12424,7 +12421,7 @@ const _h = ["disabled", "type"], vo = /* @__PURE__ */ k({
12424
12421
  _: 1
12425
12422
  }));
12426
12423
  }
12427
- }), bh = { class: "flex size-full max-w-150 flex-col gap-lg rounded-xl border border-primary/50 p-xl shadow-lg lg:w-full lg:min-w-150" }, hh = { class: "font-medium text-primary" }, vh = { key: 0 }, yh = { class: "text-tertiary" }, wh = {
12424
+ }), bh = { class: "flex max-h-100 w-full flex-col gap-lg rounded-xl border border-primary/50 p-xl shadow-lg lg:h-full lg:max-h-none lg:max-w-150 lg:min-w-150" }, hh = { class: "font-medium text-primary" }, vh = { key: 0 }, yh = { class: "text-tertiary" }, wh = {
12428
12425
  key: 1,
12429
12426
  class: "flex flex-1 flex-col overflow-hidden"
12430
12427
  }, Ch = /* @__PURE__ */ k({
@@ -12947,9 +12944,9 @@ const yo = /* @__PURE__ */ k({
12947
12944
  }, null, 8, ["is-open"])
12948
12945
  ], 64));
12949
12946
  }
12950
- }), Zh = { class: "mx-auto flex w-full flex-1 flex-col overflow-y-auto px-(--container-padding-x) py-4xl" }, Gh = { class: "flex h-full flex-1 flex-col" }, Kh = { class: "flex min-h-50 flex-1 items-center justify-center" }, Qh = { class: "flex flex-col items-center justify-center gap-lg lg:h-full lg:max-h-110 lg:w-full lg:flex-row lg:items-center lg:justify-center" }, Wh = {
12947
+ }), Zh = { class: "mx-auto flex w-full flex-1 flex-col overflow-y-auto px-(--container-padding-x) py-4xl" }, Gh = { class: "flex h-full flex-1 flex-col" }, Kh = { class: "flex min-h-50 flex-1 items-center justify-center" }, Qh = { class: "flex flex-col gap-lg lg:size-full lg:max-h-110 lg:flex-row lg:items-center lg:justify-center" }, Wh = {
12951
12948
  key: 0,
12952
- class: "flex h-full w-full flex-col items-center justify-between gap-lg lg:w-fit"
12949
+ class: "flex size-full flex-col justify-between gap-lg lg:w-fit lg:items-center"
12953
12950
  }, m8 = /* @__PURE__ */ k({
12954
12951
  __name: "CrmOverviewContent",
12955
12952
  props: {
@@ -17123,7 +17120,7 @@ function My(n) {
17123
17120
  }))
17124
17121
  },
17125
17122
  path: "/business/:businessUuid",
17126
- component: () => import("./BusinessDetailView-CiKV_R78.js"),
17123
+ component: () => import("./BusinessDetailView-CdeyRt-d.js"),
17127
17124
  redirect: {
17128
17125
  name: n[0].route.name
17129
17126
  },
@@ -17137,7 +17134,7 @@ function Ty(n) {
17137
17134
  {
17138
17135
  name: "deal-communication",
17139
17136
  path: "communication",
17140
- component: () => import("./DealCommunicationTabView-Dv8DwZvL.js")
17137
+ component: () => import("./DealCommunicationTabView-B9yBtgFP.js")
17141
17138
  }
17142
17139
  ];
17143
17140
  return [
@@ -17150,7 +17147,7 @@ function Ty(n) {
17150
17147
  }))
17151
17148
  },
17152
17149
  path: "/deals/:dealUuid",
17153
- component: () => import("./DealDetailView-BNWu5Dmn.js"),
17150
+ component: () => import("./DealDetailView-DEJ0J-Qz.js"),
17154
17151
  redirect: {
17155
17152
  name: e[0].name
17156
17153
  },
@@ -17169,7 +17166,7 @@ function Ly(n) {
17169
17166
  }))
17170
17167
  },
17171
17168
  path: "/individual/:individualUuid",
17172
- component: () => import("./IndividualDetailView-u6SK4EhX.js"),
17169
+ component: () => import("./IndividualDetailView-CrAwSkxY.js"),
17173
17170
  redirect: {
17174
17171
  name: n[0].route.name
17175
17172
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a7 as i, a8 as e, a9 as r, aa as C, ab as m, ac as d, ad as n, ae as W, af as l, S as t, ag as o, ah as u, ai as g, aj as v, ak as c, al as B, am as D, an as I, ao as f, v as S, d as b, f as h, ap as p, aq as T, ar as U } from "./index-BdE_BLXy.js";
1
+ import { a7 as i, a8 as e, a9 as r, aa as C, ab as m, ac as d, ad as n, ae as W, af as l, S as t, ag as o, ah as u, ai as g, aj as v, ak as c, al as B, am as D, an as I, ao as f, v as S, d as b, f as h, ap as p, aq as T, ar as U } from "./index-D0KFS2x_.js";
2
2
  export {
3
3
  i as CrmSearchTrigger,
4
4
  e as WiseCrmBusinessBillingInformationCard,