@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
|
@@ -899,19 +899,6 @@ function Oe(e) {
|
|
|
899
899
|
//#endregion
|
|
900
900
|
//#region src/models/date/date.transformer.ts
|
|
901
901
|
var ke = class {
|
|
902
|
-
static fromDto(e) {
|
|
903
|
-
return S.PlainDate.from(e);
|
|
904
|
-
}
|
|
905
|
-
static fromNullableDto(e) {
|
|
906
|
-
return e === null ? null : this.fromDto(e);
|
|
907
|
-
}
|
|
908
|
-
static toDto(e) {
|
|
909
|
-
return e.toString();
|
|
910
|
-
}
|
|
911
|
-
static toNullableDto(e) {
|
|
912
|
-
return e === null ? null : this.toDto(e);
|
|
913
|
-
}
|
|
914
|
-
}, Ae = class {
|
|
915
902
|
static fromDto(e) {
|
|
916
903
|
let t = S.Instant.from(e), n = S.Now.timeZoneId();
|
|
917
904
|
return t.toZonedDateTimeISO(n);
|
|
@@ -919,7 +906,7 @@ var ke = class {
|
|
|
919
906
|
static fromNullableDto(e) {
|
|
920
907
|
return e === null ? null : this.fromDto(e);
|
|
921
908
|
}
|
|
922
|
-
},
|
|
909
|
+
}, Ae = /* @__PURE__ */ i({
|
|
923
910
|
__name: "AppGroup",
|
|
924
911
|
props: {
|
|
925
912
|
align: { default: "center" },
|
|
@@ -979,7 +966,7 @@ var ke = class {
|
|
|
979
966
|
s.value
|
|
980
967
|
], "flex"]) }, [m(e.$slots, "default")], 2));
|
|
981
968
|
}
|
|
982
|
-
}),
|
|
969
|
+
}), je = t.instanceof(S.PlainDate), Q = class {
|
|
983
970
|
static dateTimeToZonedDateTime(e) {
|
|
984
971
|
return e.toZonedDateTime(this.getMyTimezone());
|
|
985
972
|
}
|
|
@@ -1016,7 +1003,7 @@ function $() {
|
|
|
1016
1003
|
year: "numeric"
|
|
1017
1004
|
};
|
|
1018
1005
|
}
|
|
1019
|
-
function
|
|
1006
|
+
function Me() {
|
|
1020
1007
|
let { locale: e, t } = b(), r = x(), i = n(() => r.hourCycle.value || Q.getDefaultHourCycle(e.value));
|
|
1021
1008
|
function a(e) {
|
|
1022
1009
|
return {
|
|
@@ -1103,10 +1090,10 @@ function Ne() {
|
|
|
1103
1090
|
}
|
|
1104
1091
|
//#endregion
|
|
1105
1092
|
//#region src/components/skeleton-loader/AppSkeletonLoader.vue
|
|
1106
|
-
var
|
|
1107
|
-
function
|
|
1108
|
-
return d(), r("div",
|
|
1093
|
+
var Ne = {}, Pe = { class: "bg-tertiary w-full animate-pulse rounded-lg" };
|
|
1094
|
+
function Fe(e, t) {
|
|
1095
|
+
return d(), r("div", Pe);
|
|
1109
1096
|
}
|
|
1110
|
-
var
|
|
1097
|
+
var Ie = /* @__PURE__ */ e(Ne, [["render", Fe]]);
|
|
1111
1098
|
//#endregion
|
|
1112
|
-
export {
|
|
1099
|
+
export { Ae as a, Oe as c, je as i, Ee as l, Me as n, ke as o, Q as r, De as s, Ie as t };
|
package/dist/{BusinessDetailSidebarProvider-a6VeNUii.js → BusinessDetailSidebarProvider-D__S8sa1.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, H as s, I as c, K as l, L as u, M as d, O as f, P as p, Q as m, R as h, S as ee, T as te, U as g, V as _, W as ne, Y as v, _ as re, a as ie, at as ae, c as oe, ct as se, et as ce, g as le, h as ue, i as de, it as fe, k as pe, l as y, lt as me, m as he, n as ge, o as _e, ot as b, r as ve, rt as x, s as ye, st as be, t as xe, x as Se, y as Ce, z as we } from "./Error-
|
|
2
|
-
import { a as Te, c as Ee, i as De, l as Oe, n as ke, o as Ae, r as je, s as Me, t as Ne, u as Pe } from "./CrmDetailHeaderCard-
|
|
3
|
-
import { c as Fe, i as Ie, l as
|
|
4
|
-
import { B as Be, F as Ve, I as He, L as Ue, M as We, P as Ge, R as Ke, T as qe, d as Je,
|
|
1
|
+
import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, H as s, I as c, K as l, L as u, M as d, O as f, P as p, Q as m, R as h, S as ee, T as te, U as g, V as _, W as ne, Y as v, _ as re, a as ie, at as ae, c as oe, ct as se, et as ce, g as le, h as ue, i as de, it as fe, k as pe, l as y, lt as me, m as he, n as ge, o as _e, ot as b, r as ve, rt as x, s as ye, st as be, t as xe, x as Se, y as Ce, z as we } from "./Error-D6dRLq_g.js";
|
|
2
|
+
import { a as Te, c as Ee, i as De, l as Oe, n as ke, o as Ae, r as je, s as Me, t as Ne, u as Pe } from "./CrmDetailHeaderCard-CacrRk2b.js";
|
|
3
|
+
import { c as Fe, i as Ie, l as S, n as Le, o as C, s as Re, t as ze } from "./AppSkeletonLoader-Chnz5oZv.js";
|
|
4
|
+
import { B as Be, F as Ve, I as He, L as Ue, M as We, P as Ge, R as Ke, T as qe, d as Je, g as Ye, n as Xe, pt as w, u as Ze, ut as Qe, w as $e, x as et } from "./client-BpnfhHgS.js";
|
|
5
5
|
import * as T from "zod";
|
|
6
6
|
import tt, { z as E } from "zod";
|
|
7
7
|
import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createTextVNode as N, createVNode as P, defineComponent as F, inject as nt, mergeModels as rt, mergeProps as I, normalizeClass as L, openBlock as R, provide as it, ref as z, renderList as B, renderSlot as at, resolveDynamicComponent as ot, toDisplayString as V, unref as H, useId as st, useModel as ct, withCtx as U, withModifiers as lt } from "vue";
|
|
@@ -19,8 +19,8 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
19
19
|
uuid: e.uuid,
|
|
20
20
|
billingLocation: e.billingLocation ? {
|
|
21
21
|
uuid: e.billingLocation.uuid,
|
|
22
|
-
createdAt:
|
|
23
|
-
updatedAt:
|
|
22
|
+
createdAt: C.fromDto(e.billingLocation.createdAt),
|
|
23
|
+
updatedAt: C.fromDto(e.billingLocation.updatedAt),
|
|
24
24
|
address: b.fromDto(e.billingLocation.address)
|
|
25
25
|
} : null,
|
|
26
26
|
invoiceCcEmails: e.invoiceCcEmails,
|
|
@@ -104,7 +104,7 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
104
104
|
static fromDto(e) {
|
|
105
105
|
return {
|
|
106
106
|
uuid: e.uuid,
|
|
107
|
-
createdAt:
|
|
107
|
+
createdAt: C.fromDto(e.createdAt),
|
|
108
108
|
name: e.name,
|
|
109
109
|
address: b.fromNullableDto(e.location?.address ?? null),
|
|
110
110
|
companyNumber: e.companyNumber,
|
|
@@ -118,8 +118,8 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
118
118
|
static fromDto(e) {
|
|
119
119
|
return {
|
|
120
120
|
uuid: e.uuid,
|
|
121
|
-
createdAt:
|
|
122
|
-
updatedAt:
|
|
121
|
+
createdAt: C.fromDto(e.createdAt),
|
|
122
|
+
updatedAt: C.fromDto(e.updatedAt),
|
|
123
123
|
name: e.name,
|
|
124
124
|
address: b.fromNullableDto(e.location?.address ?? null),
|
|
125
125
|
billingInformation: e.billingInformation === null ? null : {
|
|
@@ -128,8 +128,8 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
128
128
|
invoiceEmail: e.billingInformation.invoiceEmail ?? "",
|
|
129
129
|
location: e.billingInformation.location ? {
|
|
130
130
|
uuid: e.billingInformation.location.uuid,
|
|
131
|
-
createdAt:
|
|
132
|
-
updatedAt:
|
|
131
|
+
createdAt: C.fromDto(e.billingInformation.location.createdAt),
|
|
132
|
+
updatedAt: C.fromDto(e.billingInformation.location.updatedAt),
|
|
133
133
|
address: b.fromDto(e.billingInformation.location.address)
|
|
134
134
|
} : null,
|
|
135
135
|
purchaseNoteCcEmails: e.billingInformation.purchaseNoteCcEmails ?? [],
|
|
@@ -153,8 +153,8 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
153
153
|
language: e.language,
|
|
154
154
|
location: e.location === null ? null : {
|
|
155
155
|
uuid: e.location.uuid,
|
|
156
|
-
createdAt:
|
|
157
|
-
updatedAt:
|
|
156
|
+
createdAt: C.fromDto(e.location.createdAt),
|
|
157
|
+
updatedAt: C.fromDto(e.location.updatedAt),
|
|
158
158
|
address: b.fromDto(e.location.address)
|
|
159
159
|
},
|
|
160
160
|
mobilePhone: e.mobilePhone,
|
|
@@ -207,13 +207,13 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
207
207
|
}
|
|
208
208
|
}, Y = class {
|
|
209
209
|
static async addChildBusiness(e, t) {
|
|
210
|
-
await
|
|
210
|
+
await Ze({ path: {
|
|
211
211
|
businessUuid: e,
|
|
212
212
|
childUuid: t
|
|
213
213
|
} });
|
|
214
214
|
}
|
|
215
215
|
static async create(e) {
|
|
216
|
-
return (await
|
|
216
|
+
return (await Xe({ body: Lt.toDto(e) })).data.uuid;
|
|
217
217
|
}
|
|
218
218
|
static async findByName(e) {
|
|
219
219
|
let t = await Ke({ query: new ut().withSearch(e).build() });
|
|
@@ -276,7 +276,7 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
static async setPrimaryContactPersonForBusiness(e, t) {
|
|
279
|
-
await
|
|
279
|
+
await Ye({ path: {
|
|
280
280
|
businessUuid: e,
|
|
281
281
|
contactPersonUuid: t
|
|
282
282
|
} });
|
|
@@ -313,7 +313,7 @@ var J = E.string().uuid().brand("BusinessUuid"), Nt = class {
|
|
|
313
313
|
//#endregion
|
|
314
314
|
//#region src/api/queries/business/businessDetail.query.ts
|
|
315
315
|
function Wt(e) {
|
|
316
|
-
return
|
|
316
|
+
return Fe({
|
|
317
317
|
isEnabled: O(() => e.value !== null),
|
|
318
318
|
queryFn: async () => (Pe(e.value !== null, "businessUuid is null"), await Y.getByUuid(e.value)),
|
|
319
319
|
queryKey: { wiseCrmBusinessDetail: { businessUuid: e } }
|
|
@@ -322,7 +322,7 @@ function Wt(e) {
|
|
|
322
322
|
//#endregion
|
|
323
323
|
//#region src/api/queries/business/businessActivityIndex.query.ts
|
|
324
324
|
function Gt(e, t) {
|
|
325
|
-
return
|
|
325
|
+
return Re({
|
|
326
326
|
paginationOptions: t,
|
|
327
327
|
queryFn: async (t) => await Y.getActivity(e.value, t),
|
|
328
328
|
queryKey: { businessActivityIndex: { paginationOptions: t } }
|
|
@@ -351,7 +351,7 @@ var Kt = /* @__PURE__ */ F({
|
|
|
351
351
|
//#endregion
|
|
352
352
|
//#region src/api/mutations/noteBusinessCreate.mutation.ts
|
|
353
353
|
function qt() {
|
|
354
|
-
return
|
|
354
|
+
return S({
|
|
355
355
|
queryFn: async ({ body: e, params: t }) => await ce.create(e, { businessUuid: t.businessUuid }),
|
|
356
356
|
queryKeysToInvalidate: { noteBusinessIndex: {} }
|
|
357
357
|
});
|
|
@@ -439,7 +439,7 @@ function Xt() {
|
|
|
439
439
|
//#endregion
|
|
440
440
|
//#region src/api/mutations/business/businessUnlinkContactPerson.mutation.ts
|
|
441
441
|
function Zt() {
|
|
442
|
-
return
|
|
442
|
+
return S({
|
|
443
443
|
queryFn: async ({ body: e, params: t }) => await Y.unlinkContactPerson(t.businessUuid, e.contactPersonUuid),
|
|
444
444
|
queryKeysToInvalidate: {
|
|
445
445
|
businessIndex: {},
|
|
@@ -450,7 +450,7 @@ function Zt() {
|
|
|
450
450
|
//#endregion
|
|
451
451
|
//#region src/api/mutations/business/businessAddChildBusiness.mutation.ts
|
|
452
452
|
function Qt() {
|
|
453
|
-
return
|
|
453
|
+
return S({
|
|
454
454
|
queryFn: async ({ params: e }) => await Y.addChildBusiness(e.parentUuid, e.childUuid),
|
|
455
455
|
queryKeysToInvalidate: {
|
|
456
456
|
businessIndex: {},
|
|
@@ -461,7 +461,7 @@ function Qt() {
|
|
|
461
461
|
//#endregion
|
|
462
462
|
//#region src/api/mutations/business/businessCreate.mutation.ts
|
|
463
463
|
function $t() {
|
|
464
|
-
return
|
|
464
|
+
return S({
|
|
465
465
|
queryFn: async ({ body: e }) => await Y.create(e),
|
|
466
466
|
queryKeysToInvalidate: { businessIndex: {} }
|
|
467
467
|
});
|
|
@@ -1476,7 +1476,7 @@ var ii = (e) => (e.client ?? f).get({
|
|
|
1476
1476
|
//#endregion
|
|
1477
1477
|
//#region src/api/queries/cbe/cbeEnterpriseSearchByTerm.query.ts
|
|
1478
1478
|
function si(e) {
|
|
1479
|
-
return
|
|
1479
|
+
return Fe({
|
|
1480
1480
|
isEnabled: O(() => e.value.length > 0),
|
|
1481
1481
|
queryFn: async () => (await oi.searchEnterprisesByTerm(e.value)).data,
|
|
1482
1482
|
queryKey: { cbeEnterpriseSearchByTerm: { searchTerm: e } }
|
|
@@ -2135,7 +2135,7 @@ var hi = ["aria-describedby"], gi = /* @__PURE__ */ F({
|
|
|
2135
2135
|
street: E.string().min(1),
|
|
2136
2136
|
streetNumber: E.string()
|
|
2137
2137
|
}), Fi = tt.object({
|
|
2138
|
-
countryCode: tt.enum(
|
|
2138
|
+
countryCode: tt.enum(Qe, { error: g.global.t("validation.vat_number.invalid_country_code") }),
|
|
2139
2139
|
number: tt.string().min(1).regex(/^\d+$/, g.global.t("validation.vat_number.numbers_only"))
|
|
2140
2140
|
}), Ii = class {
|
|
2141
2141
|
static getZodType(e) {
|
|
@@ -2283,11 +2283,11 @@ var Q = /* @__PURE__ */ function(e) {
|
|
|
2283
2283
|
lat: null,
|
|
2284
2284
|
lng: null
|
|
2285
2285
|
},
|
|
2286
|
-
country:
|
|
2286
|
+
country: Qe.BE
|
|
2287
2287
|
});
|
|
2288
2288
|
} else ne.setValue(null);
|
|
2289
2289
|
re.setValue({
|
|
2290
|
-
countryCode:
|
|
2290
|
+
countryCode: Qe.BE,
|
|
2291
2291
|
number: t
|
|
2292
2292
|
}), v.setValue(t);
|
|
2293
2293
|
}
|
|
@@ -2415,7 +2415,7 @@ var Q = /* @__PURE__ */ function(e) {
|
|
|
2415
2415
|
//#endregion
|
|
2416
2416
|
//#region src/api/mutations/business/businessLinkContactPerson.mutation.ts
|
|
2417
2417
|
function Vi() {
|
|
2418
|
-
return
|
|
2418
|
+
return S({
|
|
2419
2419
|
queryFn: async ({ body: e, params: t }) => await Y.linkContactPerson(t.businessUuid, e.contactPersonUuid, e.position, e.contactInfo),
|
|
2420
2420
|
queryKeysToInvalidate: {
|
|
2421
2421
|
businessIndex: {},
|
|
@@ -2503,7 +2503,7 @@ var Hi = /* @__PURE__ */ F({
|
|
|
2503
2503
|
//#endregion
|
|
2504
2504
|
//#region src/api/mutations/business/businessContactPersonUpdate.mutation.ts
|
|
2505
2505
|
function Ui() {
|
|
2506
|
-
return
|
|
2506
|
+
return S({
|
|
2507
2507
|
queryFn: async ({ body: e, params: t }) => await Y.updateContactPerson(t.businessUuid, t.contactPersonUuid, e),
|
|
2508
2508
|
queryKeysToInvalidate: {
|
|
2509
2509
|
businessIndex: {},
|
|
@@ -2515,7 +2515,7 @@ function Ui() {
|
|
|
2515
2515
|
//#endregion
|
|
2516
2516
|
//#region src/api/queries/business/businessContactPersonDetail.query.ts
|
|
2517
2517
|
function Wi(e, t) {
|
|
2518
|
-
return
|
|
2518
|
+
return Fe({
|
|
2519
2519
|
isEnabled: O(() => e.value !== null && t.value !== null),
|
|
2520
2520
|
queryFn: () => {
|
|
2521
2521
|
if (e.value === null) throw Error("Individual UUID is null");
|
|
@@ -2728,7 +2728,7 @@ var Gi = /* @__PURE__ */ F({
|
|
|
2728
2728
|
business: e.business,
|
|
2729
2729
|
onAddChild: a
|
|
2730
2730
|
}, null, 8, ["business"])]), M("div", ia, [P(y, {
|
|
2731
|
-
label: H(i).t("wise_crm.info_dialog.sidebar.overview.created_at_label", { value: n.business.createdAt ? H(
|
|
2731
|
+
label: H(i).t("wise_crm.info_dialog.sidebar.overview.created_at_label", { value: n.business.createdAt ? H(Le)().toDateTime(n.business.createdAt) : "-" }),
|
|
2732
2732
|
icon: "clockPlus"
|
|
2733
2733
|
}, null, 8, ["label"])])]),
|
|
2734
2734
|
_: 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./BusinessDetailSidebarProvider-
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./CrmDetailView-
|
|
1
|
+
import { t as e } from "./BusinessDetailSidebarProvider-D__S8sa1.js";
|
|
2
|
+
import { pt as t } from "./client-BpnfhHgS.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as e, H as t, P as n, U as r, V as i, Y as a, _ as o, a as s, d as c, f as l, g as u, k as d, l as f, nt as p, o as m, p as h, rt as g, tt as _, u as v, x as ee, y as te } from "./Error-
|
|
2
|
-
import { a as y, n as ne, r as re } from "./AppSkeletonLoader-
|
|
3
|
-
import {
|
|
1
|
+
import { F as e, H as t, P as n, U as r, V as i, Y as a, _ as o, a as s, d as c, f as l, g as u, k as d, l as f, nt as p, o as m, p as h, rt as g, tt as _, u as v, x as ee, y as te } from "./Error-D6dRLq_g.js";
|
|
2
|
+
import { a as y, n as ne, r as re } from "./AppSkeletonLoader-Chnz5oZv.js";
|
|
3
|
+
import { pt as ie } from "./client-BpnfhHgS.js";
|
|
4
4
|
import ae, { z as b } from "zod";
|
|
5
5
|
import { Comment as oe, Fragment as se, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createTextVNode as E, createVNode as D, defineComponent as O, guardReactiveProps as ce, inject as k, markRaw as A, mergeProps as le, normalizeProps as ue, onBeforeUnmount as j, onMounted as de, openBlock as M, provide as N, ref as P, renderList as fe, renderSlot as pe, resolveDynamicComponent as me, toDisplayString as F, toRef as I, unref as L, watch as R, withCtx as z } from "vue";
|
|
6
6
|
import { useI18n as B } from "vue-i18n";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, D as t, T as n } from "./Error-
|
|
1
|
+
import { A as e, D as t, T as n } from "./Error-D6dRLq_g.js";
|
|
2
2
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, ref as f, renderList as p, renderSlot as m, toDisplayString as h, toValue as g, unref as _, withCtx as v } from "vue";
|
|
3
3
|
import { VcIconButton as y, VcRouterLinkTabs as b, VcRouterLinkTabsItem as x } from "@wisemen/vue-core-components";
|
|
4
4
|
import { RouterView as S } from "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e,
|
|
2
|
-
import { n as i, r as a, t as o } from "./DealExternalAttachment-
|
|
1
|
+
import { a as e, c as t, n, t as r } from "./AppSkeletonLoader-Chnz5oZv.js";
|
|
2
|
+
import { n as i, r as a, t as o } from "./DealExternalAttachment-wYY7tzfj.js";
|
|
3
3
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, openBlock as g, renderList as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
|
|
4
4
|
import { useI18n as x } from "vue-i18n";
|
|
5
5
|
import { VcIcon as S } from "@wisemen/vue-core-components";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, D as r, F as i, H as a, M as o, P as s, Q as c, R as l, T as u, U as d, V as f, Y as p, _ as m, a as h, c as g, d as _, et as v, f as y, g as b, h as ee, i as x, l as S, m as te, n as ne, o as C, p as re, r as ie, rt as w, s as ae, t as oe, u as se, x as ce } from "./Error-
|
|
2
|
-
import { a as le,
|
|
3
|
-
import {
|
|
4
|
-
import { d as ge, f as D, g as _e, h as ve, n as ye, t as be, u as xe } from "./DealSendMailDialog-
|
|
5
|
-
import { t as Se } from "./CrmDetailView-
|
|
1
|
+
import { $ as e, A as t, B as n, D as r, F as i, H as a, M as o, P as s, Q as c, R as l, T as u, U as d, V as f, Y as p, _ as m, a as h, c as g, d as _, et as v, f as y, g as b, h as ee, i as x, l as S, m as te, n as ne, o as C, p as re, r as ie, rt as w, s as ae, t as oe, u as se, x as ce } from "./Error-D6dRLq_g.js";
|
|
2
|
+
import { a as le, c as T, l as E, n as ue, t as de } from "./AppSkeletonLoader-Chnz5oZv.js";
|
|
3
|
+
import { _t as fe, dt as pe, pt as me, st as he } from "./client-BpnfhHgS.js";
|
|
4
|
+
import { d as ge, f as D, g as _e, h as ve, n as ye, t as be, u as xe } from "./DealSendMailDialog-CMcszATV.js";
|
|
5
|
+
import { t as Se } from "./CrmDetailView-BJb6FSsY.js";
|
|
6
6
|
import O, { z as k } from "zod";
|
|
7
7
|
import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, defineComponent as R, mergeModels as Ce, mergeProps as we, nextTick as Te, openBlock as z, ref as B, renderList as V, renderSlot as Ee, toDisplayString as H, unref as U, useModel as De, useTemplateRef as Oe, withCtx as W } from "vue";
|
|
8
8
|
import { useI18n as G } from "vue-i18n";
|
|
@@ -307,7 +307,7 @@ var qe = { class: "flex items-start justify-between" }, Je = { class: "flex flex
|
|
|
307
307
|
"display-fn": h,
|
|
308
308
|
"is-loading": U(i).isLoading.value
|
|
309
309
|
}, {
|
|
310
|
-
default: W(() => [(z(!0), P(A, null, V(Object.values(U(
|
|
310
|
+
default: W(() => [(z(!0), P(A, null, V(Object.values(U(fe)), (e) => (z(), M(U(X), {
|
|
311
311
|
key: e,
|
|
312
312
|
value: e
|
|
313
313
|
}, {
|
|
@@ -814,7 +814,7 @@ var ht = /* @__PURE__ */ R({
|
|
|
814
814
|
}
|
|
815
815
|
async function m(e) {
|
|
816
816
|
if (e.triggers.length !== 0) {
|
|
817
|
-
if (e.triggers[0]?.triggerType ===
|
|
817
|
+
if (e.triggers[0]?.triggerType === he.EMAIL) {
|
|
818
818
|
o.open({
|
|
819
819
|
dealUuid: n.deal.uuid,
|
|
820
820
|
client: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { o as e } from "./AppSkeletonLoader-Chnz5oZv.js";
|
|
2
|
+
import { Q as t, gt as n, o as r } from "./client-BpnfhHgS.js";
|
|
3
3
|
import { t as i } from "./_plugin-vue_export-helper-D3hKq4w_.js";
|
|
4
4
|
import { createBlock as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, openBlock as u, renderSlot as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
5
5
|
import { VcIcon as h, VcIconButton as g } from "@wisemen/vue-core-components";
|