@wisemen/wise-crm-web 0.0.6 → 0.0.8
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-DSCFMcP_.js → AppSkeletonLoader-DVZ-oKgW.js} +0 -1
- package/dist/{BusinessDetailSidebarProvider-CSE2JUiL.js → BusinessDetailSidebarProvider-D8lTtfDg.js} +92 -92
- package/dist/{BusinessDetailView-P7_SasmG.js → BusinessDetailView-BEfkLaO3.js} +6 -6
- package/dist/{CrmDetailContainer-B-jRp8WU.js → CrmDetailContainer-BhE9TeRa.js} +17 -5
- package/dist/{CrmDetailHeaderCard-gOZjS84T.js → CrmDetailHeaderCard-dsov61PH.js} +22 -22
- package/dist/{CrmDetailView-B5idcIYr.js → CrmDetailView-Dhe_OWwv.js} +2 -2
- package/dist/{DealCommunicationTabView-BG_Qslor.js → DealCommunicationTabView-CBrLD41Z.js} +4 -4
- package/dist/{DealDetailView-Diz1MJWX.js → DealDetailView-C0x_Jcnk.js} +360 -360
- package/dist/{DealExternalAttachment-CARDcgFd.js → DealExternalAttachment-BKfk73VA.js} +1 -1
- package/dist/{IndividualDetailSidebarProvider-tkKp9tkm.js → IndividualDetailSidebarProvider-5Wzaj7UV.js} +225 -225
- package/dist/{IndividualDetailView-B1YTPERA.js → IndividualDetailView-DRwArbrn.js} +6 -6
- package/dist/ThreeDotsIcon-DkYTrsaw.js +30 -0
- package/dist/client/apiErrorCode.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts +1 -2
- package/dist/client/zod.gen.d.ts +0 -2
- package/dist/composables/contactCreateDialog.composable.d.ts +1 -1
- package/dist/deal/components/DealSendMailFormFooter.vue.d.ts +1 -0
- package/dist/{dealDetail.query-DYdgE2uM.js → dealDetail.query-D-Pmjn83.js} +7 -7
- package/dist/dialogs/contact-create/ContactCreateDialog.vue.d.ts +2 -2
- package/dist/dialogs/contact-create/components/ContactCreateDialogFormSection.vue.d.ts +1 -1
- package/dist/icons/ThreeDotsIcon.vue.d.ts +3 -0
- package/dist/icons/icon.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +205 -214
- package/dist/plugins/i18n.plugin.d.ts +4 -0
- package/dist/{router-0gpcUlQN.js → router-BnXy8xRF.js} +1 -1
- package/package.json +1 -1
- /package/dist/{TimeLineMarkerIcon-OSPKuxl8.js → TimeLineMarkerIcon-DNZ0uZSV.js} +0 -0
- /package/dist/{TrashIcon-DE-5mA_Q.js → TrashIcon-r9pSz6zx.js} +0 -0
- /package/dist/{UploadCloudIcon-CLWJgt3W.js → UploadCloudIcon-BWVmJNXK.js} +0 -0
- /package/dist/{UserCircleIcon-BSc89Xbp.js → UserCircleIcon-CxdkG6tn.js} +0 -0
- /package/dist/{UserIcon-Ck4mdkpw.js → UserIcon-D8OuMZgx.js} +0 -0
- /package/dist/{VerticalDotsIcon-sLzQr0-d.js → VerticalDotsIcon-CzzzRf6q.js} +0 -0
- /package/dist/{WalletIcon-DhG5si7Z.js → WalletIcon-ZW5zEe5n.js} +0 -0
|
@@ -3367,7 +3367,6 @@ const zUnlinkContactPersonFromDealCommand = z.object({ contactPersonUuid: z.uuid
|
|
|
3367
3367
|
email: z.union([z.email(), z.null()]),
|
|
3368
3368
|
phone: z.union([z.string(), z.null()]),
|
|
3369
3369
|
mobilePhone: z.union([z.string(), z.null()]),
|
|
3370
|
-
position: z.union([z.string(), z.null()]),
|
|
3371
3370
|
isPrimary: z.boolean()
|
|
3372
3371
|
});
|
|
3373
3372
|
z.object({
|
package/dist/{BusinessDetailSidebarProvider-CSE2JUiL.js → BusinessDetailSidebarProvider-D8lTtfDg.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as NoteUpdateDialog_default, E as useSearch, H as toFormField, L as AppSidebarFormSubmitButton_default, O as useOffsetInfiniteQuery, P as VisuallyHidden_default, R as AppGlobalFormError_default, S as useContactPersonCreateMutation, T as AppDrawer_default, U as AppForm_default, V as CrmDetailSidebarNotesView_default, W as i18nPlugin,
|
|
2
|
-
import { a as AddressUtil, c as ContactPersonCreateNewForm_default, i as CrmDetailSidebarMapCard_default, l as ActivityList_default, n as CrmDetailSidebarAccordionContactPersonInfo_default, o as contactPersonUpdateFormSchema, r as CrmDetailSidebarAccordionBillingInformation_default, s as ContactPersonCreateForm_default, t as CrmDetailHeaderCard_default, u as assert } from "./CrmDetailHeaderCard-
|
|
3
|
-
import { At as viewBusinessIndexV1, Dt as viewBusinessBillingInformationDetailV1, Et as viewBusinessActivityLogIndexV1, Mt as viewBusinessStatisticsV1, Ot as viewBusinessContactPersonDetailV1, V as plainDateSchema, W as ZonedDateTimeTransformer, _t as updateBusinessV1, cn as Be, gt as updateBusinessContactPersonV1, in as EntityType, kt as viewBusinessDetailV1, ln as He, nt as linkContactPersonToBusinessV1, pt as unlinkContactPersonFromBusinessV1, q as createBusinessV1, st as makeBusinessContactPersonPrimaryV1, t as AppSkeletonLoader_default, tn as CountryCode, tt as linkBusinessAsChildV1, un as ze, wt as upsertBusinessBillingInformationV1, x as Motion, z as useDateTimeFormat } from "./AppSkeletonLoader-
|
|
1
|
+
import { B as NoteUpdateDialog_default, E as useSearch, H as toFormField, L as AppSidebarFormSubmitButton_default, O as useOffsetInfiniteQuery, P as VisuallyHidden_default, Q as useApiErrorToast, R as AppGlobalFormError_default, S as useContactPersonCreateMutation, T as AppDrawer_default, U as AppForm_default, V as CrmDetailSidebarNotesView_default, W as i18nPlugin, Z as useForm, a as AppColorProvider_default, at as NoteService, c as useEntityDetail, ct as AppGrid_default, d as CrmDetailSidebarAccordionItem_default, dt as ActivityIndexPaginationTransformer, f as CrmDetailAccordionRoot_default, ft as ActivityIndexTransformer, i as CrmDetailSidebarTabs_default, it as useNoteDeleteMutation, l as AppOpenEntityButton_default, lt as ContactPersonUpdateTransformer, n as useCrm, nt as useMutation, p as AppIconLabelPair_default, rt as useQueryClient, t as CrmDetailContainer_default, tt as useKeysetInfiniteQuery, u as CrmDetailSidebarCard_default, ut as AddressTransformer, z as AppAndOrSeparator_default } from "./CrmDetailContainer-BhE9TeRa.js";
|
|
2
|
+
import { a as AddressUtil, c as ContactPersonCreateNewForm_default, i as CrmDetailSidebarMapCard_default, l as ActivityList_default, n as CrmDetailSidebarAccordionContactPersonInfo_default, o as contactPersonUpdateFormSchema, r as CrmDetailSidebarAccordionBillingInformation_default, s as ContactPersonCreateForm_default, t as CrmDetailHeaderCard_default, u as assert } from "./CrmDetailHeaderCard-dsov61PH.js";
|
|
3
|
+
import { At as viewBusinessIndexV1, Dt as viewBusinessBillingInformationDetailV1, Et as viewBusinessActivityLogIndexV1, Mt as viewBusinessStatisticsV1, Ot as viewBusinessContactPersonDetailV1, V as plainDateSchema, W as ZonedDateTimeTransformer, _t as updateBusinessV1, cn as Be, gt as updateBusinessContactPersonV1, in as EntityType, kt as viewBusinessDetailV1, ln as He, nt as linkContactPersonToBusinessV1, pt as unlinkContactPersonFromBusinessV1, q as createBusinessV1, st as makeBusinessContactPersonPrimaryV1, t as AppSkeletonLoader_default, tn as CountryCode, tt as linkBusinessAsChildV1, un as ze, wt as upsertBusinessBillingInformationV1, x as Motion, z as useDateTimeFormat } from "./AppSkeletonLoader-DVZ-oKgW.js";
|
|
4
4
|
import { t as Error_default } from "./Error-1YqHfPB-.js";
|
|
5
5
|
import z$1, { z } from "zod";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useModel, withCtx, withModifiers } from "vue";
|
|
@@ -350,31 +350,31 @@ var BusinessDetailSidebarNotesContent_default = /* @__PURE__ */ defineComponent(
|
|
|
350
350
|
__name: "BusinessDetailSidebarNotesContent",
|
|
351
351
|
props: { business: {} },
|
|
352
352
|
setup(F) {
|
|
353
|
-
let I = F, L = useDialog(NoteUpdateDialog_default), R = useApiErrorToast(), B = useNoteBusinessCreateMutation(),
|
|
354
|
-
async function
|
|
353
|
+
let I = F, L = useDialog(NoteUpdateDialog_default), R = useApiErrorToast(), B = useNoteBusinessCreateMutation(), H = useNoteDeleteMutation(), U = useNoteBusinessIndexQuery(computed(() => I.business.uuid)), W = computed(() => U.data?.value?.data ?? []);
|
|
354
|
+
async function G(s) {
|
|
355
355
|
await B.execute({
|
|
356
356
|
body: s,
|
|
357
357
|
params: { businessUuid: I.business.uuid }
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
|
-
async function
|
|
360
|
+
async function q(s) {
|
|
361
361
|
try {
|
|
362
|
-
await
|
|
362
|
+
await H.execute({ params: { noteUuid: s } });
|
|
363
363
|
} catch (s) {
|
|
364
364
|
R.show(s);
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function J(s) {
|
|
368
368
|
L.open({ note: s });
|
|
369
369
|
}
|
|
370
370
|
return (s, F) => (openBlock(), createBlock(CrmDetailSidebarNotesView_default, {
|
|
371
|
-
"is-loading": unref(
|
|
372
|
-
notes:
|
|
373
|
-
"on-submit":
|
|
374
|
-
"has-next-page": unref(
|
|
375
|
-
onNext: F[0] ||= (s) => unref(
|
|
376
|
-
onDelete:
|
|
377
|
-
onUpdate:
|
|
371
|
+
"is-loading": unref(U).isLoading.value,
|
|
372
|
+
notes: W.value,
|
|
373
|
+
"on-submit": G,
|
|
374
|
+
"has-next-page": unref(U).hasNextPage.value,
|
|
375
|
+
onNext: F[0] ||= (s) => unref(U).fetchNextPage(),
|
|
376
|
+
onDelete: q,
|
|
377
|
+
onUpdate: J
|
|
378
378
|
}, null, 8, [
|
|
379
379
|
"is-loading",
|
|
380
380
|
"notes",
|
|
@@ -661,7 +661,7 @@ var _hoisted_1$2 = { class: "col-span-2 flex w-full justify-center" }, BusinessA
|
|
|
661
661
|
},
|
|
662
662
|
emits: ["close", "useExisting"],
|
|
663
663
|
setup(s, { emit: F }) {
|
|
664
|
-
let R = s, B = F,
|
|
664
|
+
let R = s, B = F, V = useI18n(), U = useForm({
|
|
665
665
|
initialState: {
|
|
666
666
|
childUuid: null,
|
|
667
667
|
parentUuid: null,
|
|
@@ -678,32 +678,32 @@ var _hoisted_1$2 = { class: "col-span-2 flex w-full justify-center" }, BusinessA
|
|
|
678
678
|
onSubmit: async (s) => {
|
|
679
679
|
await R.onSubmit(s);
|
|
680
680
|
}
|
|
681
|
-
}),
|
|
681
|
+
}), W = U.register("name"), K = U.register("email"), q = U.register("address"), Y = U.register("mobilePhone"), X = U.register("phone"), Z = U.register("companyNumber"), Q = U.register("vatNumber");
|
|
682
682
|
function $() {
|
|
683
683
|
B("useExisting");
|
|
684
684
|
}
|
|
685
685
|
return (s, F) => (openBlock(), createElementBlock("div", null, [createVNode(AppForm_default, { form: unref(U) }, {
|
|
686
686
|
default: withCtx(() => [createVNode(AppGrid_default, { cols: 2 }, {
|
|
687
687
|
default: withCtx(() => [
|
|
688
|
-
createVNode(unref(VcTextField), mergeProps({ "is-required": !0 }, unref(toFormField)(unref(
|
|
689
|
-
label: unref(
|
|
690
|
-
placeholder: unref(
|
|
688
|
+
createVNode(unref(VcTextField), mergeProps({ "is-required": !0 }, unref(toFormField)(unref(W)), {
|
|
689
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.name"),
|
|
690
|
+
placeholder: unref(V).t("wise_crm.contact.create_dialog.form.name"),
|
|
691
691
|
class: "col-span-2"
|
|
692
692
|
}), null, 16, ["label", "placeholder"]),
|
|
693
693
|
createVNode(unref(VcAddressAutocomplete), mergeProps({
|
|
694
694
|
"is-required": !0,
|
|
695
|
-
label: unref(
|
|
696
|
-
}, unref(toFormField)(unref(
|
|
695
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.fields.address")
|
|
696
|
+
}, unref(toFormField)(unref(q)), { class: "col-span-2" }), null, 16, ["label"]),
|
|
697
697
|
createVNode(unref(VcTextField), mergeProps({
|
|
698
|
-
label: unref(
|
|
699
|
-
placeholder: unref(
|
|
698
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.company_number"),
|
|
699
|
+
placeholder: unref(V).t("wise_crm.contact.create_dialog.form.company_number")
|
|
700
700
|
}, unref(toFormField)(unref(Z))), null, 16, ["label", "placeholder"]),
|
|
701
701
|
createVNode(AppVatNumberField_default, mergeProps({
|
|
702
|
-
label: unref(
|
|
703
|
-
placeholder: unref(
|
|
702
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.vat_number"),
|
|
703
|
+
placeholder: unref(V).t("wise_crm.contact.create_dialog.form.vat_number")
|
|
704
704
|
}, unref(toFormField)(unref(Q))), null, 16, ["label", "placeholder"]),
|
|
705
705
|
createVNode(FormFieldset_default, {
|
|
706
|
-
title: unref(
|
|
706
|
+
title: unref(V).t("wise_crm.shared.contact_info"),
|
|
707
707
|
class: "col-span-2"
|
|
708
708
|
}, {
|
|
709
709
|
default: withCtx(() => [createVNode(AppGrid_default, {
|
|
@@ -712,24 +712,24 @@ var _hoisted_1$2 = { class: "col-span-2 flex w-full justify-center" }, BusinessA
|
|
|
712
712
|
}, {
|
|
713
713
|
default: withCtx(() => [
|
|
714
714
|
createVNode(unref(VcTextField), mergeProps(unref(toFormField)(unref(K)), {
|
|
715
|
-
label: unref(
|
|
716
|
-
placeholder: unref(
|
|
715
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.fields.email"),
|
|
716
|
+
placeholder: unref(V).t("wise_crm.contact.create_dialog.form.fields.email")
|
|
717
717
|
}), null, 16, ["label", "placeholder"]),
|
|
718
718
|
createVNode(AppAndOrSeparator_default, null, {
|
|
719
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(
|
|
719
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(V).t("wise_crm.contact.create_dialog.form.seperator_label")), 1)]),
|
|
720
720
|
_: 1
|
|
721
721
|
}),
|
|
722
722
|
createVNode(unref(VcPhoneNumberField), mergeProps(unref(toFormField)(unref(Y)), {
|
|
723
|
-
label: unref(
|
|
724
|
-
placeholder: unref(
|
|
723
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.fields.mobile_phone"),
|
|
724
|
+
placeholder: unref(V).t("wise_crm.contact.create_dialog.form.fields.mobile_phone")
|
|
725
725
|
}), null, 16, ["label", "placeholder"]),
|
|
726
726
|
createVNode(AppAndOrSeparator_default, null, {
|
|
727
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(
|
|
727
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(V).t("wise_crm.contact.create_dialog.form.seperator_label")), 1)]),
|
|
728
728
|
_: 1
|
|
729
729
|
}),
|
|
730
730
|
createVNode(unref(VcPhoneNumberField), mergeProps(unref(toFormField)(unref(X)), {
|
|
731
|
-
label: unref(
|
|
732
|
-
placeholder: unref(
|
|
731
|
+
label: unref(V).t("wise_crm.contact.create_dialog.form.fields.phone"),
|
|
732
|
+
placeholder: unref(V).t("wise_crm.contact.create_dialog.form.fields.phone")
|
|
733
733
|
}), null, 16, ["label", "placeholder"])
|
|
734
734
|
]),
|
|
735
735
|
_: 1
|
|
@@ -742,14 +742,14 @@ var _hoisted_1$2 = { class: "col-span-2 flex w-full justify-center" }, BusinessA
|
|
|
742
742
|
variant: "secondary",
|
|
743
743
|
onClick: $
|
|
744
744
|
}, {
|
|
745
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(
|
|
745
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(V).t("wise_crm.info_dialog.add_business_child_dialog.create_a_existing_one")), 1)]),
|
|
746
746
|
_: 1
|
|
747
747
|
})])
|
|
748
748
|
]),
|
|
749
749
|
_: 1
|
|
750
750
|
}), createVNode(AppSidebarFormSubmitButton_default, {
|
|
751
751
|
"is-loading": unref(U).isSubmitting.value,
|
|
752
|
-
label: unref(
|
|
752
|
+
label: unref(V).t("wise_crm.shared.add")
|
|
753
753
|
}, null, 8, ["is-loading", "label"])]),
|
|
754
754
|
_: 1
|
|
755
755
|
}, 8, ["form"])]));
|
|
@@ -773,7 +773,7 @@ var BusinessAddExistingChildForm_default = /* @__PURE__ */ defineComponent({
|
|
|
773
773
|
},
|
|
774
774
|
emits: ["createNew"],
|
|
775
775
|
setup(s, { emit: R }) {
|
|
776
|
-
let B = s, V = R, H = useI18n(), U = useSearch({ persistInUrl: !1 }),
|
|
776
|
+
let B = s, V = R, H = useI18n(), U = useSearch({ persistInUrl: !1 }), W = useBusinessIndexQuery({ params: { search: U.debouncedSearch } }), K = useForm({
|
|
777
777
|
initialState: { business: null },
|
|
778
778
|
schema: z.object({ business: z.object({
|
|
779
779
|
uuid: businessUuidSchema,
|
|
@@ -782,7 +782,7 @@ var BusinessAddExistingChildForm_default = /* @__PURE__ */ defineComponent({
|
|
|
782
782
|
onSubmit: async (s) => {
|
|
783
783
|
await B.onSubmit(s.business.uuid);
|
|
784
784
|
}
|
|
785
|
-
}),
|
|
785
|
+
}), q = K.register("business"), Y = computed(() => (W.data.value?.data.filter((s) => s.uuid !== B.parentBusinessUuid) ?? []).map((s) => ({
|
|
786
786
|
uuid: s.uuid,
|
|
787
787
|
name: s.name
|
|
788
788
|
})));
|
|
@@ -795,10 +795,10 @@ var BusinessAddExistingChildForm_default = /* @__PURE__ */ defineComponent({
|
|
|
795
795
|
return (s, F) => (openBlock(), createBlock(AppForm_default, { form: unref(K) }, {
|
|
796
796
|
default: withCtx(() => [createVNode(AppGrid_default, { cols: 1 }, {
|
|
797
797
|
default: withCtx(() => [
|
|
798
|
-
createVNode(unref(VcAutocomplete), mergeProps(unref(toFormField)(unref(
|
|
798
|
+
createVNode(unref(VcAutocomplete), mergeProps(unref(toFormField)(unref(q)), {
|
|
799
799
|
items: Y.value,
|
|
800
800
|
"display-fn": (s) => s.name,
|
|
801
|
-
"is-loading": unref(
|
|
801
|
+
"is-loading": unref(W).isFetching.value,
|
|
802
802
|
label: unref(H).t("wise_crm.info_dialog.search_an_existing_one"),
|
|
803
803
|
"icon-left": "search",
|
|
804
804
|
onSearch: X
|
|
@@ -836,14 +836,14 @@ var BusinessAddExistingChildForm_default = /* @__PURE__ */ defineComponent({
|
|
|
836
836
|
props: { businessUuid: {} },
|
|
837
837
|
emits: ["close"],
|
|
838
838
|
setup(s, { emit: F }) {
|
|
839
|
-
let I = s, L = F, R = useI18n(), B = useApiErrorToast(),
|
|
840
|
-
function
|
|
839
|
+
let I = s, L = F, R = useI18n(), B = useApiErrorToast(), H = ref(!1), U = ref(null), G = useBusinessCreateMutation(), K = useBusinessAddChildBusinessMutation();
|
|
840
|
+
function q() {
|
|
841
841
|
L("close");
|
|
842
842
|
}
|
|
843
|
-
async function
|
|
843
|
+
async function J(s) {
|
|
844
844
|
try {
|
|
845
|
-
let F = await
|
|
846
|
-
await
|
|
845
|
+
let F = await G.execute({ body: s });
|
|
846
|
+
await K.execute({ params: {
|
|
847
847
|
childUuid: F,
|
|
848
848
|
parentUuid: I.businessUuid
|
|
849
849
|
} }), L("close");
|
|
@@ -853,7 +853,7 @@ var BusinessAddExistingChildForm_default = /* @__PURE__ */ defineComponent({
|
|
|
853
853
|
}
|
|
854
854
|
async function Y(s) {
|
|
855
855
|
try {
|
|
856
|
-
await
|
|
856
|
+
await K.execute({ params: {
|
|
857
857
|
childUuid: s,
|
|
858
858
|
parentUuid: I.businessUuid
|
|
859
859
|
} }), L("close");
|
|
@@ -862,26 +862,26 @@ var BusinessAddExistingChildForm_default = /* @__PURE__ */ defineComponent({
|
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
function X() {
|
|
865
|
-
|
|
865
|
+
H.value = !1;
|
|
866
866
|
}
|
|
867
867
|
function Z() {
|
|
868
|
-
|
|
868
|
+
H.value = !0;
|
|
869
869
|
}
|
|
870
870
|
return (s, F) => (openBlock(), createBlock(AppDrawer_default, {
|
|
871
871
|
title: unref(R).t("wise_crm.info_dialog.add_business_child_dialog.title"),
|
|
872
872
|
description: unref(R).t("wise_crm.info_dialog.contact_person_create.description"),
|
|
873
|
-
onClose:
|
|
873
|
+
onClose: q
|
|
874
874
|
}, {
|
|
875
|
-
default: withCtx(() => [
|
|
875
|
+
default: withCtx(() => [H.value ? (openBlock(), createBlock(BusinessAddChildBusinessForm_default, {
|
|
876
876
|
key: 0,
|
|
877
|
-
"on-submit":
|
|
877
|
+
"on-submit": J,
|
|
878
878
|
"business-uuid": I.businessUuid,
|
|
879
|
-
onClose:
|
|
879
|
+
onClose: q,
|
|
880
880
|
onUseExisting: X
|
|
881
881
|
}, null, 8, ["business-uuid"])) : (openBlock(), createBlock(BusinessAddExistingChildForm_default, {
|
|
882
882
|
key: 1,
|
|
883
|
-
modelValue:
|
|
884
|
-
"onUpdate:modelValue": F[0] ||= (s) =>
|
|
883
|
+
modelValue: U.value,
|
|
884
|
+
"onUpdate:modelValue": F[0] ||= (s) => U.value = s,
|
|
885
885
|
"parent-business-uuid": I.businessUuid,
|
|
886
886
|
"on-submit": Y,
|
|
887
887
|
onCreateNew: Z
|
|
@@ -910,17 +910,17 @@ var BusinessContactPersonCreateDialog_default = /* @__PURE__ */ defineComponent(
|
|
|
910
910
|
},
|
|
911
911
|
emits: ["close", "createNewContactPerson"],
|
|
912
912
|
setup(s, { emit: F }) {
|
|
913
|
-
let I = s, L = F, R = useI18n(), B = useApiErrorToast(),
|
|
914
|
-
async function
|
|
913
|
+
let I = s, L = F, R = useI18n(), B = useApiErrorToast(), H = useBusinessLinkContactPersonMutation(), G = useContactPersonCreateMutation();
|
|
914
|
+
async function K(s) {
|
|
915
915
|
try {
|
|
916
|
-
let F = await
|
|
916
|
+
let F = await G.execute({ body: {
|
|
917
917
|
email: s.email,
|
|
918
918
|
firstName: s.firstName,
|
|
919
919
|
lastName: s.lastName,
|
|
920
920
|
mobilePhone: s.mobilePhone,
|
|
921
921
|
phone: s.phone
|
|
922
922
|
} });
|
|
923
|
-
I.isCreatingNewContactPerson || await
|
|
923
|
+
I.isCreatingNewContactPerson || await H.execute({
|
|
924
924
|
body: {
|
|
925
925
|
contactPersonUuid: F,
|
|
926
926
|
contactInfo: {
|
|
@@ -931,7 +931,7 @@ var BusinessContactPersonCreateDialog_default = /* @__PURE__ */ defineComponent(
|
|
|
931
931
|
position: s.position
|
|
932
932
|
},
|
|
933
933
|
params: { businessUuid: I.businessUuid }
|
|
934
|
-
}),
|
|
934
|
+
}), J({
|
|
935
935
|
label: `${s.firstName} ${s.lastName}`,
|
|
936
936
|
value: F
|
|
937
937
|
});
|
|
@@ -939,21 +939,21 @@ var BusinessContactPersonCreateDialog_default = /* @__PURE__ */ defineComponent(
|
|
|
939
939
|
B.show(s);
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
|
-
async function
|
|
942
|
+
async function q(s, F, L) {
|
|
943
943
|
if (s !== null) try {
|
|
944
|
-
await
|
|
944
|
+
await H.execute({
|
|
945
945
|
body: {
|
|
946
946
|
contactPersonUuid: s,
|
|
947
947
|
contactInfo: F,
|
|
948
948
|
position: L
|
|
949
949
|
},
|
|
950
950
|
params: { businessUuid: I.businessUuid }
|
|
951
|
-
}),
|
|
951
|
+
}), J();
|
|
952
952
|
} catch (s) {
|
|
953
953
|
B.show(s);
|
|
954
954
|
}
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function J(s) {
|
|
957
957
|
if (s === void 0) {
|
|
958
958
|
L("close");
|
|
959
959
|
return;
|
|
@@ -963,12 +963,12 @@ var BusinessContactPersonCreateDialog_default = /* @__PURE__ */ defineComponent(
|
|
|
963
963
|
return (s, F) => (openBlock(), createBlock(AppDrawer_default, {
|
|
964
964
|
title: unref(R).t("wise_crm.info_dialog.contact_person_create.title"),
|
|
965
965
|
description: unref(R).t("wise_crm.info_dialog.contact_person_create.description"),
|
|
966
|
-
onClose:
|
|
966
|
+
onClose: J
|
|
967
967
|
}, {
|
|
968
968
|
default: withCtx(() => [createVNode(ContactPersonCreateForm_default, {
|
|
969
|
-
"on-submit":
|
|
970
|
-
"on-link-contact-person":
|
|
971
|
-
onClose:
|
|
969
|
+
"on-submit": K,
|
|
970
|
+
"on-link-contact-person": q,
|
|
971
|
+
onClose: J
|
|
972
972
|
})]),
|
|
973
973
|
_: 1
|
|
974
974
|
}, 8, ["title", "description"]));
|
|
@@ -1032,10 +1032,10 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1032
1032
|
},
|
|
1033
1033
|
emits: ["close"],
|
|
1034
1034
|
setup(s, { emit: F }) {
|
|
1035
|
-
let I = s, L = F, R = useI18n(), B = useApiErrorToast(),
|
|
1036
|
-
async function
|
|
1035
|
+
let I = s, L = F, R = useI18n(), B = useApiErrorToast(), H = useBusinessContactPersonUpdateMutation(), U = useBusinessContactPersonDetailQuery(computed(() => I.businessUuid), computed(() => I.contactPersonUuid));
|
|
1036
|
+
async function G(s) {
|
|
1037
1037
|
try {
|
|
1038
|
-
await
|
|
1038
|
+
await H.execute({
|
|
1039
1039
|
body: s,
|
|
1040
1040
|
params: {
|
|
1041
1041
|
businessUuid: I.businessUuid,
|
|
@@ -1046,20 +1046,20 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1046
1046
|
B.show(s);
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function K() {
|
|
1050
1050
|
L("close");
|
|
1051
1051
|
}
|
|
1052
1052
|
return (s, F) => (openBlock(), createBlock(AppDrawer_default, {
|
|
1053
1053
|
title: unref(R).t("wise_crm.info_dialog.contact_person_update.title"),
|
|
1054
1054
|
description: unref(R).t("wise_crm.info_dialog.contact_person_create.description"),
|
|
1055
|
-
onClose:
|
|
1055
|
+
onClose: K
|
|
1056
1056
|
}, {
|
|
1057
|
-
default: withCtx(() => [unref(
|
|
1057
|
+
default: withCtx(() => [unref(U).data.value ? (openBlock(), createBlock(BusinessContactPersonUpdateForm_default, {
|
|
1058
1058
|
key: 0,
|
|
1059
1059
|
"business-uuid": I.businessUuid,
|
|
1060
|
-
"on-submit":
|
|
1061
|
-
"contact-person": unref(
|
|
1062
|
-
onClose:
|
|
1060
|
+
"on-submit": G,
|
|
1061
|
+
"contact-person": unref(U).data.value,
|
|
1062
|
+
onClose: K
|
|
1063
1063
|
}, null, 8, ["business-uuid", "contact-person"])) : createCommentVNode("", !0)]),
|
|
1064
1064
|
_: 1
|
|
1065
1065
|
}, 8, ["title", "description"]));
|
|
@@ -1203,17 +1203,17 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1203
1203
|
__name: "BusinessDetailSidebarOverviewContent",
|
|
1204
1204
|
props: { business: {} },
|
|
1205
1205
|
setup(s) {
|
|
1206
|
-
let F = s, I = useI18n(), L = useApiErrorToast(), R = useBusinessPrimaryContactPersonUpdateMutation(), B = useBusinessUnlinkContactPersonMutation(),
|
|
1207
|
-
function
|
|
1208
|
-
|
|
1206
|
+
let F = s, I = useI18n(), L = useApiErrorToast(), R = useBusinessPrimaryContactPersonUpdateMutation(), B = useBusinessUnlinkContactPersonMutation(), H = useDialog(BusinessContactPersonCreateDialog_default), U = useDialog(BusinessContactPersonUpdateDialog_default), W = useDialog(BusinessAddChildBusinessDialog_default), G = computed(() => F.business.contactPersons.length > 0);
|
|
1207
|
+
function K() {
|
|
1208
|
+
H.open({ businessUuid: F.business.uuid });
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1211
|
-
|
|
1210
|
+
function q(s) {
|
|
1211
|
+
U.open({
|
|
1212
1212
|
businessUuid: F.business.uuid,
|
|
1213
1213
|
contactPersonUuid: s
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
|
-
async function
|
|
1216
|
+
async function J(s) {
|
|
1217
1217
|
try {
|
|
1218
1218
|
await B.execute({
|
|
1219
1219
|
body: { contactPersonUuid: s },
|
|
@@ -1230,7 +1230,7 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1230
1230
|
} });
|
|
1231
1231
|
}
|
|
1232
1232
|
function X() {
|
|
1233
|
-
|
|
1233
|
+
W.open({ businessUuid: F.business.uuid });
|
|
1234
1234
|
}
|
|
1235
1235
|
return (L, R) => (openBlock(), createBlock(CrmDetailAccordionRoot_default, { "default-values": [
|
|
1236
1236
|
"business",
|
|
@@ -1263,19 +1263,19 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1263
1263
|
_: 1
|
|
1264
1264
|
}, 8, ["is-empty", "label"]),
|
|
1265
1265
|
createVNode(CrmDetailSidebarAccordionItem_default, {
|
|
1266
|
-
"is-empty": !
|
|
1266
|
+
"is-empty": !G.value,
|
|
1267
1267
|
label: unref(I).t("wise_crm.info_dialog.sidebar.overview.contact_persons_label"),
|
|
1268
1268
|
value: "contact-persons",
|
|
1269
1269
|
icon: "userCircle",
|
|
1270
|
-
onAdd:
|
|
1270
|
+
onAdd: K
|
|
1271
1271
|
}, {
|
|
1272
|
-
actions: withCtx(() => [
|
|
1272
|
+
actions: withCtx(() => [G.value ? createCommentVNode("", !0) : (openBlock(), createBlock(unref(VcIconButton), {
|
|
1273
1273
|
key: 0,
|
|
1274
1274
|
label: unref(I).t("wise_crm.info_dialog.sidebar.overview.contact_persons_label"),
|
|
1275
1275
|
variant: "accordion",
|
|
1276
1276
|
class: "z-1",
|
|
1277
1277
|
icon: "plus",
|
|
1278
|
-
onClick:
|
|
1278
|
+
onClick: K
|
|
1279
1279
|
}, null, 8, ["label"]))]),
|
|
1280
1280
|
default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(F.business.contactPersons, (s) => (openBlock(), createBlock(unref(Motion), {
|
|
1281
1281
|
key: s.uuid,
|
|
@@ -1284,8 +1284,8 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1284
1284
|
default: withCtx(() => [createVNode(CrmDetailSidebarAccordionContactPersonInfo_default, {
|
|
1285
1285
|
"contact-person": s,
|
|
1286
1286
|
"on-toggle-is-primary": () => Y(s.uuid),
|
|
1287
|
-
onUpdate: (F) =>
|
|
1288
|
-
onDelete: (F) =>
|
|
1287
|
+
onUpdate: (F) => q(s.uuid),
|
|
1288
|
+
onDelete: (F) => J(s.uuid)
|
|
1289
1289
|
}, null, 8, [
|
|
1290
1290
|
"contact-person",
|
|
1291
1291
|
"on-toggle-is-primary",
|
|
@@ -1293,12 +1293,12 @@ var BusinessContactPersonUpdateForm_default = /* @__PURE__ */ defineComponent({
|
|
|
1293
1293
|
"onDelete"
|
|
1294
1294
|
])]),
|
|
1295
1295
|
_: 2
|
|
1296
|
-
}, 1032, ["layout-id"]))), 128)),
|
|
1296
|
+
}, 1032, ["layout-id"]))), 128)), G.value ? (openBlock(), createBlock(unref(VcButton), {
|
|
1297
1297
|
key: 0,
|
|
1298
1298
|
variant: "tertiary",
|
|
1299
1299
|
size: "sm",
|
|
1300
1300
|
"icon-left": "plus",
|
|
1301
|
-
onClick:
|
|
1301
|
+
onClick: K
|
|
1302
1302
|
}, {
|
|
1303
1303
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(I).t("wise_crm.shared.add")), 1)]),
|
|
1304
1304
|
_: 1
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./CrmDetailContainer-
|
|
2
|
-
import { t as BusinessDetailSidebarProvider_default } from "./BusinessDetailSidebarProvider-
|
|
3
|
-
import "./CrmDetailHeaderCard-
|
|
4
|
-
import { in as EntityType } from "./AppSkeletonLoader-
|
|
1
|
+
import "./CrmDetailContainer-BhE9TeRa.js";
|
|
2
|
+
import { t as BusinessDetailSidebarProvider_default } from "./BusinessDetailSidebarProvider-D8lTtfDg.js";
|
|
3
|
+
import "./CrmDetailHeaderCard-dsov61PH.js";
|
|
4
|
+
import { in as EntityType } from "./AppSkeletonLoader-DVZ-oKgW.js";
|
|
5
5
|
import "./_plugin-vue_export-helper-D6IyMfNk.js";
|
|
6
6
|
import "./Error-1YqHfPB-.js";
|
|
7
|
-
import { t as useRouteParams } from "./router-
|
|
8
|
-
import { t as CrmDetailView_default } from "./CrmDetailView-
|
|
7
|
+
import { t as useRouteParams } from "./router-BnXy8xRF.js";
|
|
8
|
+
import { t as CrmDetailView_default } from "./CrmDetailView-Dhe_OWwv.js";
|
|
9
9
|
import { createBlock, createVNode, defineComponent, openBlock, unref, withCtx } from "vue";
|
|
10
10
|
var BusinessDetailView_default = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "BusinessDetailView",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createUserIndividualGrantV1, A as useElementSize, B as DateUtil, Bt as viewIndividualContactPersonDetailV1, C as _sfc_main$2, Ct as updateNoteV1, F as useStorage, G as Xn, H as AppGroup_default, Ht as viewIndividualIndexV1, Lt as viewDealNotesIndexV1, M as useInfiniteScroll, N as useLocalStorage, Nt as viewCustomFieldDefinitionIndexV1, Q as createNoteV1, Qt as client, R as useDebounceFn, Rt as viewIndividualActivityLogIndexV1, Tt as upsertIndividualBillingInformationV1, U as PlainDateTransformer, Ut as viewIndividualNotesIndexV1, Vt as viewIndividualDetailV1, W as ZonedDateTimeTransformer, Wt as viewIndividualStatisticsV1, X as createIndividualV1, Xt as viewTenantConfigDetailV1, _ as toValue$1, a as AccordionItem_default, b as isEqual, bt as updateIndividualContactPersonV1, c as Slot, d as useDirection, et as deleteNoteV1, f as unrefElement, g as refAutoReset, h as createEventHook, ht as unlinkContactPersonFromIndividualV1, i as AccordionContent_default, in as EntityType, it as linkContactPersonToIndividualV1, jt as viewBusinessNotesIndexV1, l as useId$1, lt as makeIndividualContactPersonPrimaryV1, m as useVModel, n as AccordionTrigger_default, o as AccordionRoot_default, on as Locale, r as AccordionHeader_default, rn as EntityColor, s as Primitive, u as useForwardExpose, un as ze, x as Motion, xt as updateIndividualV1, y as createContext, z as useDateTimeFormat, zt as viewIndividualBillingInformationDetailV1 } from "./AppSkeletonLoader-
|
|
1
|
+
import { $ as createUserIndividualGrantV1, A as useElementSize, B as DateUtil, Bt as viewIndividualContactPersonDetailV1, C as _sfc_main$2, Ct as updateNoteV1, F as useStorage, G as Xn, H as AppGroup_default, Ht as viewIndividualIndexV1, Lt as viewDealNotesIndexV1, M as useInfiniteScroll, N as useLocalStorage, Nt as viewCustomFieldDefinitionIndexV1, Q as createNoteV1, Qt as client, R as useDebounceFn, Rt as viewIndividualActivityLogIndexV1, Tt as upsertIndividualBillingInformationV1, U as PlainDateTransformer, Ut as viewIndividualNotesIndexV1, Vt as viewIndividualDetailV1, W as ZonedDateTimeTransformer, Wt as viewIndividualStatisticsV1, X as createIndividualV1, Xt as viewTenantConfigDetailV1, _ as toValue$1, a as AccordionItem_default, b as isEqual, bt as updateIndividualContactPersonV1, c as Slot, d as useDirection, et as deleteNoteV1, f as unrefElement, g as refAutoReset, h as createEventHook, ht as unlinkContactPersonFromIndividualV1, i as AccordionContent_default, in as EntityType, it as linkContactPersonToIndividualV1, jt as viewBusinessNotesIndexV1, l as useId$1, lt as makeIndividualContactPersonPrimaryV1, m as useVModel, n as AccordionTrigger_default, o as AccordionRoot_default, on as Locale, r as AccordionHeader_default, rn as EntityColor, s as Primitive, u as useForwardExpose, un as ze, x as Motion, xt as updateIndividualV1, y as createContext, z as useDateTimeFormat, zt as viewIndividualBillingInformationDetailV1 } from "./AppSkeletonLoader-DVZ-oKgW.js";
|
|
2
2
|
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-D6IyMfNk.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as Vue from "vue";
|
|
@@ -155,6 +155,7 @@ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDes
|
|
|
155
155
|
"enum.api_error_code.shift_not_found": "Shift not found",
|
|
156
156
|
"enum.api_error_code.invalid_vat_number": "Invalid VAT number",
|
|
157
157
|
"validation.vat_number.invalid_country_code": "No/Invalid country code",
|
|
158
|
+
"wise_crm.widgets.view_all": "View all",
|
|
158
159
|
"validation.vat_number.numbers_only": "Invalid VAT number",
|
|
159
160
|
"enum.api_error_code.shift_overlaps_with_absence": "Shift overlaps with absence",
|
|
160
161
|
"enum.api_error_code.shift_overlaps_with_existing_shifts": "Shift overlaps with existing shifts",
|
|
@@ -573,6 +574,7 @@ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDes
|
|
|
573
574
|
"wise_crm.info_dialog.business.information.billing_information.purchase_notes_different_switch": "Purchase notes on a different email",
|
|
574
575
|
"module.crm.info_dialog.individual.tabs.info.label": "Information",
|
|
575
576
|
"wise_crm.deal.form.fields.name": "Name",
|
|
577
|
+
"wise_crm.deal.form.fields.quote": "Quote",
|
|
576
578
|
"wise_crm.deal.overview_title": "Deals",
|
|
577
579
|
"wise_crm.deal.overview.column.card.empty_deal_owner": "No deal owner",
|
|
578
580
|
"wise_crm.deal.overview.create": "Create deal",
|
|
@@ -663,6 +665,7 @@ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDes
|
|
|
663
665
|
"enum.api_error_code.customer_zone_tenant_domain_not_found": "Tenantdomein niet gevonden",
|
|
664
666
|
"enum.api_error_code.coordinates_not_provided": "Coördinaten niet opgegeven",
|
|
665
667
|
"component.filters_dropdown_menu.clear_all_filters": "Alle filters verwijderen",
|
|
668
|
+
"wise_crm.deal.form.fields.quote": "Offerte",
|
|
666
669
|
"wise_crm.deal.filters.owner.label": "Deal owner",
|
|
667
670
|
"component.filters_dropdown_menu.filter": "Filter",
|
|
668
671
|
"component.filters_active.no_active_filters": "Geen filters",
|
|
@@ -1052,6 +1055,7 @@ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDes
|
|
|
1052
1055
|
"validation.too_small": "Must be greater than or equal to {count}",
|
|
1053
1056
|
"validation.unauthorized": "Unauthorized",
|
|
1054
1057
|
"enum.api_error_code.invalid_vat_number": "Ongeldig btw-nummer",
|
|
1058
|
+
"wise_crm.widgets.view_all": "Bekijk alles",
|
|
1055
1059
|
"validation.vat_number.invalid_country_code": "Geen/Ongeldige landcode",
|
|
1056
1060
|
"validation.vat_number.numbers_only": "Ongeldig BTW-nummer",
|
|
1057
1061
|
"wise_crm.activity.no_entries_found": "Geen updates gevonden",
|
|
@@ -3374,7 +3378,15 @@ var AppDialogActionPrimary_default = /* @__PURE__ */ defineComponent({
|
|
|
3374
3378
|
function _sfc_render$3(t, c) {
|
|
3375
3379
|
return openBlock(), createElementBlock("div", _hoisted_1$17, [renderSlot(t.$slots, "default")]);
|
|
3376
3380
|
}
|
|
3377
|
-
var AppDialogContainer_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main$4, [["render", _sfc_render$3]]),
|
|
3381
|
+
var AppDialogContainer_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main$4, [["render", _sfc_render$3]]), AppDialogActions_default = /* @__PURE__ */ defineComponent({
|
|
3382
|
+
__name: "AppDialogActions",
|
|
3383
|
+
setup(t) {
|
|
3384
|
+
return (t, c) => (openBlock(), createBlock(AppDialogContainer_default, { class: "gap-sm flex items-center" }, {
|
|
3385
|
+
default: withCtx(() => [renderSlot(t.$slots, "default")]),
|
|
3386
|
+
_: 3
|
|
3387
|
+
}));
|
|
3388
|
+
}
|
|
3389
|
+
}), _hoisted_1$16 = { class: "gap-xl flex items-center" }, _hoisted_2$9 = { class: "bg-brand-200 flex size-13 shrink-0 items-center justify-center rounded-full border-3 border-solid border-white shadow-[0px_2px_10px_0px_rgba(0,0,0,0.1)]" }, _hoisted_3$5 = { class: "text-primary text-sm" }, _hoisted_4$3 = { class: "text-primary text-xl font-semibold" }, AppDialogHeader_default = /* @__PURE__ */ defineComponent({
|
|
3378
3390
|
__name: "AppDialogHeader",
|
|
3379
3391
|
props: {
|
|
3380
3392
|
title: {},
|
|
@@ -3419,7 +3431,7 @@ var AppDialogContainer_default = /* @__PURE__ */ __plugin_vue_export_helper_defa
|
|
|
3419
3431
|
u("closed");
|
|
3420
3432
|
}
|
|
3421
3433
|
return (t, c) => (openBlock(), createBlock(unref(VcDialog), {
|
|
3422
|
-
"class-config": { content: "w-120" },
|
|
3434
|
+
"class-config": { content: "w-full max-w-120" },
|
|
3423
3435
|
onClose: f
|
|
3424
3436
|
}, {
|
|
3425
3437
|
default: withCtx(() => [createVNode(AppDialogContainer_default, null, {
|
|
@@ -3429,7 +3441,7 @@ var AppDialogContainer_default = /* @__PURE__ */ __plugin_vue_export_helper_defa
|
|
|
3429
3441
|
icon: "infoCircle"
|
|
3430
3442
|
}, null, 8, ["title", "description"])]),
|
|
3431
3443
|
_: 1
|
|
3432
|
-
}), createVNode(
|
|
3444
|
+
}), createVNode(AppDialogActions_default, null, {
|
|
3433
3445
|
default: withCtx(() => [createVNode(AppDialogActionCancel_default, { "is-disabled": l.isLoading }, null, 8, ["is-disabled"]), createVNode(AppDialogActionPrimary_default, {
|
|
3434
3446
|
label: l.confirmText,
|
|
3435
3447
|
"is-destructive": l.isDestructive,
|
|
@@ -6082,4 +6094,4 @@ function _sfc_render(t, c) {
|
|
|
6082
6094
|
return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(t.$slots, "default")]);
|
|
6083
6095
|
}
|
|
6084
6096
|
var CrmDetailContainer_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
6085
|
-
export {
|
|
6097
|
+
export { LoggerUtil as $, ListboxFilter_default as A, NoteUpdateDialog_default as B, IndividualService as C, useRouteQueryState as D, useSearch as E, useCollection as F, AppConfirmDialog_default as G, toFormField as H, useFormControl as I, AppDialogContainer_default as J, AppDialogHeader_default as K, AppSidebarFormSubmitButton_default as L, ListboxRoot_default as M, VisuallyHiddenInput_default as N, useOffsetInfiniteQuery as O, VisuallyHidden_default as P, useApiErrorToast as Q, AppGlobalFormError_default as R, useContactPersonCreateMutation as S, AppDrawer_default as T, AppForm_default as U, CrmDetailSidebarNotesView_default as V, i18nPlugin as W, AppDialogActionCancel_default as X, AppDialogActionPrimary_default as Y, useForm as Z, EntityAutocomplete_default as _, AppColorProvider_default as a, NoteService as at, useIndividualIndexQuery as b, useEntityDetail as c, AppGrid_default as ct, CrmDetailSidebarAccordionItem_default as d, ActivityIndexPaginationTransformer as dt, createI18nKeyMap as et, CrmDetailAccordionRoot_default as f, ActivityIndexTransformer as ft, IndividualAutocomplete_default as g, ContactPersonFormNameField_default as h, en_US_default as ht, CrmDetailSidebarTabs_default as i, useNoteDeleteMutation as it, ListboxContent_default as j, ListboxItem_default as k, AppOpenEntityButton_default as l, ContactPersonUpdateTransformer as lt, individualItemSchema as m, nl_BE_default as mt, useCrm as n, useMutation as nt, EntityTypeUtil as o, AppInfiniteScroll_default as ot, AppIconLabelPair_default as p, individualUuidSchema as pt, AppDialogActions_default as q, useCrmConfig as r, useQueryClient as rt, useGoogleMapsApiKey as s, AppEmptyState_default as st, CrmDetailContainer_default as t, useKeysetInfiniteQuery as tt, CrmDetailSidebarCard_default as u, AddressTransformer as ut, AppSeparator_default as v, IndividualUpdateTransformer as w, ContactPersonFormContactField_default as x, AppHeightTransition_default as y, AppAndOrSeparator_default as z };
|