@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.
- package/dist/{AppSkeletonLoader-Dq6pKznm.js → AppSkeletonLoader-Chnz5oZv.js} +8 -21
- package/dist/{BusinessDetailSidebarProvider-a6VeNUii.js → BusinessDetailSidebarProvider-D__S8sa1.js} +30 -30
- package/dist/{BusinessDetailView-Dz3wDSx5.js → BusinessDetailView-Cu96XfzM.js} +3 -3
- package/dist/{CrmDetailHeaderCard-BkA0Z-Cu.js → CrmDetailHeaderCard-CacrRk2b.js} +3 -3
- package/dist/{CrmDetailView-BhZEQqUH.js → CrmDetailView-BJb6FSsY.js} +1 -1
- package/dist/{DealCommunicationTabView-Drp9MEPu.js → DealCommunicationTabView-CA1mbm_c.js} +2 -2
- package/dist/{DealDetailView-DWLudchX.js → DealDetailView-aB7D0WZu.js} +7 -7
- package/dist/{DealExternalAttachment-B6l0gDqF.js → DealExternalAttachment-wYY7tzfj.js} +2 -2
- package/dist/{DealSendMailDialog-Dqei4933.js → DealSendMailDialog-CMcszATV.js} +271 -271
- package/dist/{Error-za-wClcU.js → Error-D6dRLq_g.js} +843 -959
- package/dist/{IndividualDetailSidebarProvider-jjRoK1Av.js → IndividualDetailSidebarProvider-DZxDw1zQ.js} +11 -11
- package/dist/{IndividualDetailView-BqIRHn-0.js → IndividualDetailView-BeCdDJDk.js} +3 -3
- package/dist/{client-9P6xe_5g.js → client-BpnfhHgS.js} +163 -168
- package/dist/index.js +73 -73
- package/dist/testing.js +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
2
|
-
import { a as S, i as C, l as w, n as T, o as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
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: () => (
|
|
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
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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 {
|
|
2
|
-
import { t } from "./IndividualDetailSidebarProvider-
|
|
3
|
-
import { t as n } from "./CrmDetailView-
|
|
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
|