@wisemen/wise-crm-web 1.2.0 → 1.3.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.
@@ -1,7 +1,7 @@
1
- import { $ as e, A as t, B as n, F as r, P as i, Q as a, R as o, T as s, W as c, Y as l, c as u, et as d, h as f, i as p, l as m, m as h, n as g, o as _, r as v, s as y, t as b, y as x } from "./Error-za-wClcU.js";
2
- import { a as S, i as C, l as w, n as T, o as ee, r as te, s as E, t as D, u as O } from "./CrmDetailHeaderCard-BkA0Z-Cu.js";
3
- import { c as k, l as A, n as ne, t as re, u as j } from "./AppSkeletonLoader-Dq6pKznm.js";
4
- import { mt as M } from "./client-9P6xe_5g.js";
1
+ import { $ as e, A as t, B as n, F as r, P as i, Q as a, R as o, T as s, W as c, Y as l, c as u, et as d, h as f, i as p, l as m, m as h, n as g, o as _, r as v, s as y, t as b, y as x } from "./Error-D6dRLq_g.js";
2
+ import { a as S, i as C, l as w, n as T, o as E, r as ee, s as D, t as O, u as k } from "./CrmDetailHeaderCard-CacrRk2b.js";
3
+ import { c as A, l as j, n as te, s as ne, t as re } from "./AppSkeletonLoader-Chnz5oZv.js";
4
+ import { pt as M } from "./client-BpnfhHgS.js";
5
5
  import { Fragment as N, computed as P, createBlock as F, createCommentVNode as I, createElementBlock as L, createElementVNode as R, createTextVNode as ie, createVNode as z, defineComponent as B, openBlock as V, ref as H, renderList as U, toDisplayString as W, unref as G, withCtx as K } from "vue";
6
6
  import { useI18n as q } from "vue-i18n";
7
7
  import { VcButton as J, VcRouterLinkButton as Y, useDialog as X, usePagination as ae, useToast as oe } from "@wisemen/vue-core-components";
@@ -12,7 +12,7 @@ import { Motion as ue } from "motion-v";
12
12
  function Z(e) {
13
13
  return A({
14
14
  isEnabled: P(() => e.value !== null),
15
- queryFn: () => (O(e.value !== null, "individualUuid is null"), x.getByUuid(e.value)),
15
+ queryFn: () => (k(e.value !== null, "individualUuid is null"), x.getByUuid(e.value)),
16
16
  queryKey: { wiseCrmIndividualDetail: { individualUuid: e } }
17
17
  });
18
18
  }
@@ -27,7 +27,7 @@ function de() {
27
27
  //#endregion
28
28
  //#region src/api/queries/individual/individualActivityIndex.query.ts
29
29
  function fe(e, t) {
30
- return k({
30
+ return ne({
31
31
  paginationOptions: t,
32
32
  queryFn: async (t) => await x.getActivity(e.value, t),
33
33
  queryKey: { individualActivityIndex: { paginationOptions: t } }
@@ -167,7 +167,7 @@ var ye = { class: "gap-md flex flex-col" }, be = /* @__PURE__ */ B({
167
167
  let t = e, n = q();
168
168
  return (e, r) => (V(), L("div", ye, [z(_, null, {
169
169
  default: K(() => [z(m, {
170
- label: G(n).t("wise_crm.info_dialog.sidebar.overview.created_at_label", { value: t.individual.createdAt ? G(ne)().toDateTime(t.individual.createdAt) : "-" }),
170
+ label: G(n).t("wise_crm.info_dialog.sidebar.overview.created_at_label", { value: t.individual.createdAt ? G(te)().toDateTime(t.individual.createdAt) : "-" }),
171
171
  icon: "clockPlus"
172
172
  }, null, 8, ["label"])]),
173
173
  _: 1
@@ -253,7 +253,7 @@ var Se = /* @__PURE__ */ B({
253
253
  description: G(i).t("wise_crm.info_dialog.contact_person_create.description"),
254
254
  onClose: d
255
255
  }, {
256
- default: K(() => [z(ee, {
256
+ default: K(() => [z(E, {
257
257
  "on-submit": c,
258
258
  "on-link-contact-person": u,
259
259
  "is-creating-new-contact-person": n.isCreatingNewContactPerson,
@@ -312,7 +312,7 @@ var Te = /* @__PURE__ */ B({
312
312
  await t.onSubmit(e);
313
313
  }
314
314
  });
315
- return (e, t) => (V(), F(E, { form: G(a) }, {
315
+ return (e, t) => (V(), F(D, { form: G(a) }, {
316
316
  actions: K(() => [z(r, null, {
317
317
  default: K(() => [z(i, {
318
318
  "is-loading": G(a).isSubmitting.value,
@@ -425,7 +425,7 @@ var Te = /* @__PURE__ */ B({
425
425
  value: "invoice",
426
426
  icon: "wallet"
427
427
  }, {
428
- default: K(() => [t.individual.billingInformationDetail ? (V(), F(te, {
428
+ default: K(() => [t.individual.billingInformationDetail ? (V(), F(ee, {
429
429
  key: 0,
430
430
  "invoice-address": t.individual.billingInformationDetail.location?.address ?? null,
431
431
  "invoice-email": t.individual.billingInformationDetail.invoiceEmail
@@ -545,7 +545,7 @@ var Te = /* @__PURE__ */ B({
545
545
  color: G(i).getEntityConfig(G(M).INDIVIDUAL)?.color ?? null,
546
546
  class: "flex h-full flex-col"
547
547
  }, {
548
- default: K(() => [z(D, {
548
+ default: K(() => [z(O, {
549
549
  "entity-type": G(M).INDIVIDUAL,
550
550
  name: `${n.individual.firstName} ${n.individual.lastName}`,
551
551
  address: n.individual.address,
@@ -1,6 +1,6 @@
1
- import { mt as e } from "./client-9P6xe_5g.js";
2
- import { t } from "./IndividualDetailSidebarProvider-jjRoK1Av.js";
3
- import { t as n } from "./CrmDetailView-BhZEQqUH.js";
1
+ import { pt as e } from "./client-BpnfhHgS.js";
2
+ import { t } from "./IndividualDetailSidebarProvider-DZxDw1zQ.js";
3
+ import { t as n } from "./CrmDetailView-BJb6FSsY.js";
4
4
  import { createBlock as r, createVNode as i, defineComponent as a, openBlock as o, unref as s, withCtx as c } from "vue";
5
5
  import { useRouteParams as l } from "@vueuse/router";
6
6
  //#endregion