@wisemen/wise-crm-web 2.0.0-alpha.4 → 2.0.0-alpha.6

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 n, openBlock as o, 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-uh3Ew2Yy.js";
3
+ import { _ as p } from "./index-DhVEfWNY.js";
4
4
  import { aV as c } from "./uuid.util-B9bkU4IX.js";
5
- import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-BoCwerkk.js";
5
+ import { _ } from "./CrmDetailView.vue_vue_type_script_setup_true_lang-Cl6b9lH3.js";
6
6
  const x = /* @__PURE__ */ n({
7
7
  __name: "BusinessDetailView",
8
8
  props: {
@@ -1,7 +1,7 @@
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 b, createBlock as g, toValue as m, createCommentVNode as w } from "vue";
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
- import { UITabsRouterLink as k, UITabsRouterLinkItem as R, UIIconButton as B } from "@wisemen/vue-core-design-system";
4
- import { a1 as E, V as I, X as V, ab as T } from "./index-uh3Ew2Yy.js";
3
+ import { UITabsRouterLink as R, UITabsRouterLinkItem as k, UIIconButton as B } from "@wisemen/vue-core-design-system";
4
+ import { X as E, O as I, R as T, a6 as V } from "./index-DhVEfWNY.js";
5
5
  import { useRoute as A, RouterView as H } from "vue-router";
6
6
  class U {
7
7
  /**
@@ -19,7 +19,7 @@ class U {
19
19
  return !1;
20
20
  }
21
21
  }
22
- const $ = { key: 0 }, j = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" }, z = { class: "flex h-full min-w-100 flex-col" }, L = { class: "flex size-full flex-1 justify-center overflow-hidden bg-secondary" }, N = { class: "flex w-full flex-col" }, S = { class: "grid w-full grid-cols-3 p-lg" }, X = { class: "flex items-center justify-center" }, D = { class: "flex items-center justify-end" }, F = { class: "size-full overflow-y-auto" }, O = /* @__PURE__ */ v({
22
+ const $ = { key: 0 }, j = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" }, z = { class: "flex h-full min-w-100 flex-col" }, L = { class: "flex size-full flex-1 justify-center overflow-hidden bg-secondary" }, N = { class: "flex w-full flex-col" }, S = { class: "grid w-full grid-cols-3 p-lg" }, X = { class: "flex items-center justify-center" }, D = { class: "flex items-center justify-end" }, F = { class: "size-full overflow-y-auto" }, M = /* @__PURE__ */ v({
23
23
  __name: "CrmDetailView",
24
24
  props: {
25
25
  entityType: {},
@@ -35,7 +35,7 @@ const $ = { key: 0 }, j = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" },
35
35
  t("div", z, [
36
36
  x(l.$slots, "sidebar")
37
37
  ]),
38
- r(V, {
38
+ r(T, {
39
39
  color: e(c).getEntityConfig(i.entityType)?.color ?? null,
40
40
  class: "relative flex flex-1 flex-col overflow-hidden"
41
41
  }, {
@@ -45,9 +45,9 @@ const $ = { key: 0 }, j = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" },
45
45
  t("div", S, [
46
46
  n[1] || (n[1] = t("div", null, null, -1)),
47
47
  t("div", X, [
48
- r(e(k), { variant: "button-border" }, {
48
+ r(e(R), { variant: "button-border" }, {
49
49
  default: f(() => [
50
- (d(!0), u(y, null, b(a.tabs, (s) => (d(), g(e(R), {
50
+ (d(!0), u(y, null, g(a.tabs, (s) => (d(), w(e(k), {
51
51
  key: m(s.label),
52
52
  label: m(s.label),
53
53
  to: {
@@ -66,7 +66,7 @@ const $ = { key: 0 }, j = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" },
66
66
  "class-config": {
67
67
  root: "rounded-md shadow-lg"
68
68
  },
69
- icon: e(T),
69
+ icon: e(V),
70
70
  label: "Close",
71
71
  variant: "secondary",
72
72
  onClick: n[0] || (n[0] = (s) => e(c).goToReturnRoute())
@@ -82,9 +82,9 @@ const $ = { key: 0 }, j = { class: "flex h-dvh w-dvw flex-1 overflow-hidden" },
82
82
  _: 1
83
83
  }, 8, ["color"])
84
84
  ])
85
- ])) : w("", !0);
85
+ ])) : b("", !0);
86
86
  }
87
87
  });
88
88
  export {
89
- O as _
89
+ M as _
90
90
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as A, openBlock as t, createElementBlock as f, createElementVNode as n, createVNode as a, withCtx as s, toDisplayString as m, unref as e, createBlock as l, createCommentVNode as _, Fragment as v, renderList as g, normalizeClass as b, resolveDynamicComponent as k, computed as I } from "vue";
2
2
  import { useRouteParams as M } from "@vueuse/router";
3
3
  import { useOffsetInfiniteQuery as L } from "@wisemen/vue-core-api-utils";
4
- import { M as T, D as p, a as w, b as C, C as S, c as V, u as j, A as U } from "./index-uh3Ew2Yy.js";
4
+ import { M as T, D as p, a as w, b as C, C as S, c as V, u as j, A as U } from "./index-DhVEfWNY.js";
5
5
  import { UIEmptyState as $ } from "@wisemen/vue-core-design-system";
6
6
  import { AnimatePresence as q, Motion as z } from "motion-v";
7
7
  import { AccordionRoot as B, AccordionItem as E, AccordionHeader as F, AccordionTrigger as H, AccordionContent as N } from "reka-ui";