@wisemen/wise-crm-web 2.0.0-alpha.18 → 2.0.0-alpha.19

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 o, openBlock as n, 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-CG74NCQe.js";
3
+ import { _ as p } from "./index-BCOpQBj9.js";
4
4
  import { bo as c } from "./uuid.util-D__ipm1G.js";
5
- import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-B4-NVz00.js";
5
+ import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-CQa8ecQJ.js";
6
6
  const x = /* @__PURE__ */ o({
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 R, UITabsRouterLinkItem as k, UIIconButton as B } from "@wisemen/vue-core-design-system";
4
- import { X as E, c as I, R as T, a5 as V } from "./index-CG74NCQe.js";
4
+ import { X as E, c as I, R as T, a5 as V } from "./index-BCOpQBj9.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-CG74NCQe.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-BCOpQBj9.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, ref as V, useTemplateRef as Ie, openBlock as m, c
2
2
  import { useRouteParams as $e } from "@vueuse/router";
3
3
  import { useI18n as I } from "vue-i18n";
4
4
  import { bo as me, bt as Te, bv as Me, by as Ve } from "./uuid.util-D__ipm1G.js";
5
- import { _ as Oe } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-B4-NVz00.js";
6
- import { c as F, d as $, e as E, f as Le, E as fe, C as pe, h as Ee, i as qe, j as Qe, k as Ae, l as R, g as Be, J as Ke, n as je, o as ie, p as Re, I as ze, q as _e, r as A, s as Ge, t as ge, v as Ye, w as Ze, U as He, x as Je, u as Xe, y as We, Q as ea, z as aa, B as ta, F as na, G as re, H as ye, K as la, L as se, N as oa, O as ia, P as ra, R as sa, S as be, T as ua, V as ca, W as da, X as ma, Y as fa, Z as pa, $ as _a, a0 as ga, a1 as ya, a2 as ba, a3 as ha, A as va } from "./index-CG74NCQe.js";
5
+ import { _ as Oe } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-CQa8ecQJ.js";
6
+ import { c as F, d as $, e as E, f as Le, E as fe, C as pe, h as Ee, i as qe, j as Qe, k as Ae, l as R, g as Be, J as Ke, n as je, o as ie, p as Re, I as ze, q as _e, r as A, s as Ge, t as ge, v as Ye, w as Ze, U as He, x as Je, u as Xe, y as We, Q as ea, z as aa, B as ta, F as na, G as re, H as ye, K as la, L as se, N as oa, O as ia, P as ra, R as sa, S as be, T as ua, V as ca, W as da, X as ma, Y as fa, Z as pa, $ as _a, a0 as ga, a1 as ya, a2 as ba, a3 as ha, A as va } from "./index-BCOpQBj9.js";
7
7
  import { UITextField as G, toFormField as Q, UIIconButton as he, UIDropdownMenu as Ua, UIDropdownMenuGroup as Ca, UIDropdownMenuItem as ue, UIPhoneNumberField as ce, UIFormLayout as te, UIFormFieldGroup as B, UIFormFieldGrid as K, useToast as wa, UIFormDialog as ve, UIDialogHeader as Ue, UIForm as de, UIDialogBody as H, UIDialogFooter as J, UIDialogFooterSubmit as X, createAutocompleteOptions as Pa, createSelectOptions as W, UIAutocomplete as Da, UISelect as ee, useOverlay as ne, UIButton as xa, UIBadge as Ce } from "@wisemen/vue-core-design-system";
8
8
  import { useForm as Y } from "formango";
9
9
  import Z, { z as N } from "zod";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as o, openBlock as n, 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 { bo as m } from "./uuid.util-D__ipm1G.js";
4
- import { _ as p } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-B4-NVz00.js";
5
- import { a4 as c } from "./index-CG74NCQe.js";
4
+ import { _ as p } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-CQa8ecQJ.js";
5
+ import { a4 as c } from "./index-BCOpQBj9.js";
6
6
  const k = /* @__PURE__ */ o({
7
7
  __name: "IndividualDetailView",
8
8
  props: {
@@ -10998,13 +10998,13 @@ const v0 = /* @__PURE__ */ k({
10998
10998
  __name: "BusinessBillingInformationUpdateForm",
10999
10999
  props: {
11000
11000
  businessUuid: {},
11001
+ billingAddress: {},
11001
11002
  billingInformation: {},
11002
- businessAddress: {},
11003
11003
  onSubmit: { type: Function }
11004
11004
  },
11005
11005
  setup(n) {
11006
11006
  const e = n, i = F(), o = Ve(), r = V(() => e.billingInformation === null ? null : {
11007
- billingAddress: e.businessAddress,
11007
+ billingAddress: e.billingAddress,
11008
11008
  invoiceCcEmails: e.billingInformation.invoiceCcEmails ?? [],
11009
11009
  invoiceEmail: e.billingInformation.invoiceEmail,
11010
11010
  purchaseNoteCcEmails: e.billingInformation.purchaseNoteCcEmails ?? [],
@@ -11197,7 +11197,7 @@ const v0 = /* @__PURE__ */ k({
11197
11197
  const e = n, i = ae(), o = V(() => e.businessUuid), r = rn(o), l = V(() => r.result.value.isOk() ? r.result.value.getValue() : null), u = V(() => l.value === null ? !1 : l.value.billingInformation !== null), m = l0(
11198
11198
  o,
11199
11199
  u
11200
- ), _ = V(() => m.result.value.isOk() ? m.result.value.getValue() : null), f = V(() => _.value?.uuid ?? null), p = s0(), h = V(() => l.value?.address ?? null);
11200
+ ), _ = V(() => m.result.value.isOk() ? m.result.value.getValue() : null), f = V(() => _.value?.uuid ?? null), p = s0(), h = V(() => _.value?.billingLocation?.address ?? null);
11201
11201
  async function y(x) {
11202
11202
  try {
11203
11203
  await p.execute({
@@ -11216,11 +11216,11 @@ const v0 = /* @__PURE__ */ k({
11216
11216
  class: "h-40"
11217
11217
  })) : (c(), g(v0, {
11218
11218
  key: 1,
11219
- "business-address": h.value,
11219
+ "billing-address": h.value,
11220
11220
  "business-uuid": o.value,
11221
11221
  "on-submit": y,
11222
11222
  "billing-information": _.value
11223
- }, null, 8, ["business-address", "business-uuid", "billing-information"]));
11223
+ }, null, 8, ["billing-address", "business-uuid", "billing-information"]));
11224
11224
  }
11225
11225
  });
11226
11226
  function y0() {
@@ -17097,7 +17097,7 @@ function Fy(n) {
17097
17097
  }))
17098
17098
  },
17099
17099
  path: "/business/:businessUuid",
17100
- component: () => import("./BusinessDetailView-JUY_nvij.js"),
17100
+ component: () => import("./BusinessDetailView-BojPWMZa.js"),
17101
17101
  redirect: {
17102
17102
  name: n[0].route.name
17103
17103
  },
@@ -17111,7 +17111,7 @@ function jy(n) {
17111
17111
  {
17112
17112
  name: "deal-communication",
17113
17113
  path: "communication",
17114
- component: () => import("./DealCommunicationTabView-hAExWSab.js")
17114
+ component: () => import("./DealCommunicationTabView-CXMOO8KT.js")
17115
17115
  }
17116
17116
  ];
17117
17117
  return [
@@ -17124,7 +17124,7 @@ function jy(n) {
17124
17124
  }))
17125
17125
  },
17126
17126
  path: "/deals/:dealUuid",
17127
- component: () => import("./DealDetailView-CCmy8hmr.js"),
17127
+ component: () => import("./DealDetailView-BRkngNx8.js"),
17128
17128
  redirect: {
17129
17129
  name: e[0].name
17130
17130
  },
@@ -17143,7 +17143,7 @@ function zy(n) {
17143
17143
  }))
17144
17144
  },
17145
17145
  path: "/individual/:individualUuid",
17146
- component: () => import("./IndividualDetailView-CzQw0HCH.js"),
17146
+ component: () => import("./IndividualDetailView-VajxffP5.js"),
17147
17147
  redirect: {
17148
17148
  name: n[0].route.name
17149
17149
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a6 as i, a7 as e, a8 as r, a9 as C, aa as m, ab as n, ac as d, ad as W, ae as l, P as t, af as o, ag as u, ah as g, ai as v, aj as c, ak as B, al as D, am as I, an as b, s as f, X as S, c as h, ao as p, ap as T, aq as U } from "./index-CG74NCQe.js";
1
+ import { a6 as i, a7 as e, a8 as r, a9 as C, aa as m, ab as n, ac as d, ad as W, ae as l, P as t, af as o, ag as u, ah as g, ai as v, aj as c, ak as B, al as D, am as I, an as b, s as f, X as S, c as h, ao as p, ap as T, aq as U } from "./index-BCOpQBj9.js";
2
2
  export {
3
3
  i as CrmSearchTrigger,
4
4
  e as WiseCrmBusinessBillingInformationCard,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wisemen/wise-crm-web",
3
3
  "type": "module",
4
- "version": "2.0.0-alpha.18",
4
+ "version": "2.0.0-alpha.19",
5
5
  "private": false,
6
6
  "description": "CRM frontend package with Vue 3 components, composables and types",
7
7
  "author": "Wisemen",