@oneclick.dev/cms-core-modules 0.0.116 → 0.0.117

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.
Files changed (31) hide show
  1. package/dist/{Acquisition-FV3QpaUX.mjs → Acquisition-X5-eksDw.mjs} +2 -2
  2. package/dist/{Audience-ka0b7YPE.mjs → Audience-CXryJ8tc.mjs} +2 -2
  3. package/dist/{ContentEditor-Df5uWpVC.mjs → ContentEditor-CUe6-NwF.mjs} +7001 -5467
  4. package/dist/{ContentEditor-CsbOFg3a.js → ContentEditor-DWoXc0T_.js} +39 -39
  5. package/dist/{Create-BXNLRQag.mjs → Create-BPA2ywrd.mjs} +1 -1
  6. package/dist/{DateFormatter-qbhRYxI_.mjs → DateFormatter-BkKoSf_l.mjs} +5 -5
  7. package/dist/{Detail-BCOcP2ql.mjs → Detail-C1Blq61w.mjs} +1 -1
  8. package/dist/{Detail-ChD5XurA.mjs → Detail-CfsPwl4s.mjs} +17 -17
  9. package/dist/{Detail-DnX7tsqN.mjs → Detail-CtItxMX4.mjs} +1 -1
  10. package/dist/{Detail-Btzwo0Y3.mjs → Detail-Dnpnmy4-.mjs} +1 -1
  11. package/dist/{Find-zN_dKz4p.mjs → Find-BAvaNf90.mjs} +1 -1
  12. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-BHeMJ6nr.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-BXTkYCm_.mjs} +1 -1
  13. package/dist/{Overview-BR_y8x3W.mjs → Overview-BWLxUksJ.mjs} +1 -1
  14. package/dist/{Overview-MpgkLB6m.mjs → Overview-Bjvu9Lfc.mjs} +3 -3
  15. package/dist/{SeoHealth-bVQj_Xgm.mjs → SeoHealth-I2mqiuLm.mjs} +3 -3
  16. package/dist/{TableView-Csv5Lycy.mjs → TableView-BQI3CWll.mjs} +2 -2
  17. package/dist/{agenda-BSdlrfxv.mjs → agenda-B3nj388v.mjs} +3 -3
  18. package/dist/{exceptions-CqityDo9.mjs → exceptions-Dgj54ULn.mjs} +1 -1
  19. package/dist/{index-DZV720u-.mjs → index-52nwosIs.mjs} +45 -45
  20. package/dist/{index-CkVwMqpn.mjs → index-Bnn9LahC.mjs} +52 -52
  21. package/dist/{index-B8GvmAwh.mjs → index-DiTIA8Sh.mjs} +27 -27
  22. package/dist/{index-CM4eaK5T.mjs → index-Djp4EBb0.mjs} +130 -130
  23. package/dist/{index-L54VBzwJ.mjs → index-ar4tbR3i.mjs} +8 -8
  24. package/dist/{index-BIF2RB7k.mjs → index-cC_2cw31.mjs} +4 -4
  25. package/dist/{index-CFzn2Lus.mjs → index-hMp4p5qA.mjs} +3 -3
  26. package/dist/index.cjs.js +1 -1
  27. package/dist/index.mjs +20 -20
  28. package/dist/{math-BJ-oX_IM.mjs → math-Bkw6u412.mjs} +11 -11
  29. package/dist/{resources-B-D5MUhV.mjs → resources-CK0oWssj.mjs} +1 -1
  30. package/dist/{vee-validate-zod-DNjTLCgh.mjs → vee-validate-zod-CcOwoF6y.mjs} +6 -6
  31. package/package.json +2 -2
@@ -2,7 +2,7 @@ import { defineComponent as z, inject as L, resolveComponent as o, openBlock as
2
2
  import { Import as re, DollarSign as oe, Percent as ne, Truck as se, Info as me, Loader2 as K, UserCog as pe, Plus as Z, Pencil as fe, Trash2 as ve, CalendarIcon as h, List as ce } from "lucide-vue-next";
3
3
  import { useModulePermissions as j, useModuleStorage as W, useConfirmation as _e, useModuleRoute as ge, useProjectSettings as xe, useLogs as ye, useModuleBreadcrumbs as be, useFirebaseIntegration as we } from "@oneclick.dev/cms-kit";
4
4
  import { c as ee } from "./utils-CanmrIWO.mjs";
5
- import { e as Ve, $ as te, a as Ue } from "./DateFormatter-qbhRYxI_.mjs";
5
+ import { $ as Ve, b as te, a as Ue } from "./DateFormatter-BkKoSf_l.mjs";
6
6
  import { t as I } from "./index-RLz1QPrf.mjs";
7
7
  const Ce = /* @__PURE__ */ z({
8
8
  __name: "SingleCode",
@@ -729,10 +729,10 @@ function je(e, t) {
729
729
  throw new Error("Unexpected hour cycle result");
730
730
  }
731
731
  export {
732
- X as $,
732
+ Ve as $,
733
733
  Je as a,
734
- x as b,
735
- Ne as c,
736
- _e as d,
737
- Ve as e
734
+ X as b,
735
+ x as c,
736
+ Ne as d,
737
+ _e as e
738
738
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, inject as G, resolveComponent as c, openBlock as r, createBlock as h, withCtx as l, createVNode as t, createElementVNode as s, createTextVNode as d, isRef as j, unref as e, createElementBlock as C, toDisplayString as y, createCommentVNode as g, withModifiers as Y, watch as Z, provide as R, computed as ee, ref as te, onMounted as le } from "vue";
2
- import { f as E, u as N, t as oe, o as q, s as M, e as se } from "./vee-validate-zod-DNjTLCgh.mjs";
2
+ import { u as E, a as N, t as oe, o as q, s as M, f as se } from "./vee-validate-zod-CcOwoF6y.mjs";
3
3
  import { X as ne, ImagePlus as ie, Tag as ae, ChevronRight as re, Trash as ce, Loader2 as W } from "lucide-vue-next";
4
4
  import { g as ue } from "./google-CvtuJwgk.mjs";
5
5
  import { useModulePermissions as de, useModuleRoute as pe, useConfirmation as me, useFirebaseIntegration as fe, useModuleBreadcrumbs as _e } from "@oneclick.dev/cms-kit";
@@ -1,9 +1,9 @@
1
- import { defineComponent as oe, ref as k, withAsyncContext as le, computed as L, resolveComponent as u, openBlock as n, createElementBlock as i, createElementVNode as d, createVNode as o, unref as r, withCtx as l, toDisplayString as m, createTextVNode as s, Fragment as se, renderList as ae, createBlock as _, createCommentVNode as c, normalizeClass as B } from "vue";
1
+ import { defineComponent as oe, ref as k, withAsyncContext as le, computed as L, resolveComponent as u, openBlock as n, createElementBlock as i, createElementVNode as d, createVNode as o, unref as r, withCtx as l, toDisplayString as m, createTextVNode as s, Fragment as se, renderList as ae, createBlock as _, createCommentVNode as f, normalizeClass as B } from "vue";
2
2
  import { Tag as ne, ChevronRight as de, CalendarIcon as j } from "lucide-vue-next";
3
3
  import { c as z } from "./utils-CanmrIWO.mjs";
4
4
  import { useLogs as ue, useModuleRoute as ie, useModuleStorage as re, useFirebaseIntegration as me, useModuleBreadcrumbs as pe } from "@oneclick.dev/cms-kit";
5
- import { e as ve, $ as E, a as ce, c as M } from "./DateFormatter-qbhRYxI_.mjs";
6
- const fe = { class: "relative @container" }, xe = {
5
+ import { $ as ve, b as E, a as fe, d as M } from "./DateFormatter-BkKoSf_l.mjs";
6
+ const ce = { class: "relative @container" }, xe = {
7
7
  key: 0,
8
8
  class: "max-w-5xl mx-auto mt-4"
9
9
  }, ge = { class: "flex flex-row gap-4 justify-between mb-6" }, _e = { class: "flex items-center" }, be = { class: "text-lg font-semibold mx-2 uppercase" }, ye = {
@@ -48,7 +48,7 @@ const fe = { class: "relative @container" }, xe = {
48
48
  let g, w;
49
49
  const b = F, { log: Re, logWarning: We, logError: Ze } = ue(), { params: A, navigateTo: S } = ie(), { getModuleData: G } = re(), { confirm: R } = useConfirmation(), y = k([]);
50
50
  y.value = ([g, w] = le(() => G("promo-types")), g = await g, w(), g || []);
51
- const U = me(b.config.project), t = k(null), C = k(!1), p = L(() => (t.value?.usageCount ?? 0) > 0), f = L(() => y.value.find((V) => V.key === t.value?.type) || null);
51
+ const U = me(b.config.project), t = k(null), C = k(!1), p = L(() => (t.value?.usageCount ?? 0) > 0), c = L(() => y.value.find((V) => V.key === t.value?.type) || null);
52
52
  pe(() => [
53
53
  { text: "Promo codes list", href: t.value?.code ? "/promo-codes" : "" },
54
54
  { text: t.value?.code || "" }
@@ -62,7 +62,7 @@ const fe = { class: "relative @container" }, xe = {
62
62
  };
63
63
  return W(), (V, e) => {
64
64
  const x = u("Button"), v = u("Label"), P = u("Input"), q = u("SelectValue"), O = u("SelectTrigger"), Y = u("SelectItem"), H = u("SelectGroup"), J = u("SelectContent"), K = u("Select"), Q = u("Switch"), I = u("PopoverTrigger"), T = u("Calendar"), N = u("PopoverContent"), D = u("Popover"), X = u("Textarea"), h = u("Loader2"), ee = u("CardContent"), te = u("Card");
65
- return n(), i("div", fe, [
65
+ return n(), i("div", ce, [
66
66
  t.value ? (n(), i("div", xe, [
67
67
  d("div", ge, [
68
68
  d("div", _e, [
@@ -155,28 +155,28 @@ const fe = { class: "relative @container" }, xe = {
155
155
  _: 1
156
156
  }, 8, ["modelValue"]),
157
157
  d("div", Ue, [
158
- f.value?.hasValueField ? (n(), i("div", $e, [
158
+ c.value?.hasValueField ? (n(), i("div", $e, [
159
159
  o(v, {
160
160
  for: "discountValue",
161
161
  class: "text-muted-foreground"
162
162
  }, {
163
163
  default: l(() => [
164
- s(m(f.value?.valueLabel || "Value"), 1)
164
+ s(m(c.value?.valueLabel || "Value"), 1)
165
165
  ]),
166
166
  _: 1
167
167
  }),
168
168
  d("div", Pe, [
169
- f.value?.valuePrefix ? (n(), i("span", Ie, m(f.value?.valuePrefix), 1)) : c("", !0),
169
+ c.value?.valuePrefix ? (n(), i("span", Ie, m(c.value?.valuePrefix), 1)) : f("", !0),
170
170
  o(P, {
171
171
  modelValue: t.value.value,
172
172
  "onUpdate:modelValue": e[3] || (e[3] = (a) => t.value.value = a),
173
173
  id: "discountValue",
174
174
  disabled: p.value
175
175
  }, null, 8, ["modelValue", "disabled"]),
176
- f.value?.valueSuffix ? (n(), i("span", Te, m(f.value?.valueSuffix), 1)) : c("", !0)
176
+ c.value?.valueSuffix ? (n(), i("span", Te, m(c.value?.valueSuffix), 1)) : f("", !0)
177
177
  ])
178
- ])) : c("", !0),
179
- f.value?.allowUnlimitedUses ? (n(), i("div", Ne, [
178
+ ])) : f("", !0),
179
+ c.value?.allowUnlimitedUses ? (n(), i("div", Ne, [
180
180
  o(v, {
181
181
  for: "unlimitedUses",
182
182
  class: "text-muted-foreground"
@@ -200,7 +200,7 @@ const fe = { class: "relative @container" }, xe = {
200
200
  _: 1
201
201
  })
202
202
  ])
203
- ])) : c("", !0)
203
+ ])) : f("", !0)
204
204
  ]),
205
205
  e[28] || (e[28] = d("h3", { class: "font-medium" }, "Availability", -1)),
206
206
  e[29] || (e[29] = d("p", { class: "text-sm text-muted-foreground mb-4" }, "When will this code be available?", -1)),
@@ -239,7 +239,7 @@ const fe = { class: "relative @container" }, xe = {
239
239
  modelValue: t.value.startsAt,
240
240
  "onUpdate:modelValue": e[5] || (e[5] = (a) => t.value.startsAt = a),
241
241
  "initial-focus": "",
242
- minValue: r(ce)()
242
+ minValue: r(fe)()
243
243
  }, null, 8, ["modelValue", "minValue"])
244
244
  ]),
245
245
  _: 1
@@ -248,7 +248,7 @@ const fe = { class: "relative @container" }, xe = {
248
248
  _: 1
249
249
  }),
250
250
  t.value.startsAt ? (n(), i("div", je, [
251
- p.value ? c("", !0) : (n(), _(x, {
251
+ p.value ? f("", !0) : (n(), _(x, {
252
252
  key: 0,
253
253
  onClick: e[6] || (e[6] = (a) => t.value.startsAt = void 0),
254
254
  variant: "link"
@@ -303,7 +303,7 @@ const fe = { class: "relative @container" }, xe = {
303
303
  _: 1
304
304
  }),
305
305
  t.value.expiresAt ? (n(), i("div", Me, [
306
- p.value ? c("", !0) : (n(), _(x, {
306
+ p.value ? f("", !0) : (n(), _(x, {
307
307
  key: 0,
308
308
  onClick: e[8] || (e[8] = (a) => t.value.expiresAt = void 0),
309
309
  variant: "link"
@@ -355,7 +355,7 @@ const fe = { class: "relative @container" }, xe = {
355
355
  C.value ? (n(), _(h, {
356
356
  key: 0,
357
357
  class: "size-4 animate-spin"
358
- })) : c("", !0),
358
+ })) : f("", !0),
359
359
  e[26] || (e[26] = s(" Update Code ", -1))
360
360
  ]),
361
361
  _: 1
@@ -369,7 +369,7 @@ const fe = { class: "relative @container" }, xe = {
369
369
  _: 1
370
370
  }),
371
371
  s(" " + m(t.value), 1)
372
- ])) : c("", !0)
372
+ ])) : f("", !0)
373
373
  ]);
374
374
  };
375
375
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, inject as Q, ref as R, resolveComponent as i, openBlock as d, createBlock as O, withCtx as s, createVNode as n, createElementVNode as o, createTextVNode as v, isRef as N, unref as e, createElementBlock as b, toDisplayString as _, createCommentVNode as f, watch as ee, Fragment as X, renderList as H, normalizeClass as te, computed as oe, onMounted as ne, provide as se } from "vue";
2
- import { f as W, u as S, t as le, o as ie, p as J, c as q, s as F, a as ae, e as de } from "./vee-validate-zod-DNjTLCgh.mjs";
2
+ import { u as W, a as S, t as le, o as ie, p as J, c as q, s as F, b as ae, f as de } from "./vee-validate-zod-CcOwoF6y.mjs";
3
3
  import { r as j } from "./countries-BTPvmrsb.mjs";
4
4
  import { ChevronsUpDown as re, Search as ce, Check as ue, X as pe, Tag as me, ChevronRight as fe, Trash as _e, Loader2 as K } from "lucide-vue-next";
5
5
  import { useModulePermissions as xe, useModuleRoute as ve, useConfirmation as be, useFirebaseIntegration as ge, useModuleBreadcrumbs as he } from "@oneclick.dev/cms-kit";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ne, inject as tt, resolveComponent as v, openBlock as h, createBlock as L, withCtx as f, createVNode as s, createElementVNode as u, createTextVNode as V, isRef as Y, unref as m, createElementBlock as w, toDisplayString as F, createCommentVNode as O, computed as de, watch as re, useTemplateRef as Ee, ref as X, nextTick as Te, Fragment as J, renderList as ie, withModifiers as fe, onMounted as lt, normalizeClass as $e, withKeys as Yt, provide as dt, withAsyncContext as Kt } from "vue";
2
- import { f as xe, u as U, t as qt, o as Se, a as ve, s as H, p as Ne, c as be, b as Ie, d as ut, e as Jt } from "./vee-validate-zod-DNjTLCgh.mjs";
2
+ import { u as xe, a as U, t as qt, o as Se, b as ve, s as H, p as Ne, c as be, d as Ie, e as ut, f as Jt } from "./vee-validate-zod-CcOwoF6y.mjs";
3
3
  import { Info as Wt, GripVertical as Qe, CircleX as Gt, Trash2 as Zt, PlusCircle as ct, Search as ft, ListFilter as Qt, ChevronDown as pt, X as en, ImagePlus as gt, Plus as tn, Tag as nn, ChevronRight as on, Archive as ln, Trash as rn, Loader2 as mt } from "lucide-vue-next";
4
4
  import { animations as yt } from "@formkit/drag-and-drop";
5
5
  import { useConfirmation as Dt, useModuleRoute as St, useFirebaseIntegration as Ct, useModulePermissions as an, useModuleBreadcrumbs as sn } from "@oneclick.dev/cms-kit";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Y, ref as _, withAsyncContext as M, watch as $, onMounted as Q, resolveComponent as s, openBlock as d, createElementBlock as j, createElementVNode as c, createVNode as t, unref as v, withCtx as l, createTextVNode as o, createBlock as g, createCommentVNode as T, toDisplayString as i, Fragment as h, renderList as G } from "vue";
2
2
  import { useModulePermissions as J, useModuleRoute as K, useModuleStorage as W, useModuleBreadcrumbs as X, useFirebaseIntegration as Z, useRoute as ee, useRouter as te, useOverlayParams as le } from "@oneclick.dev/cms-kit";
3
3
  import { Plus as ne, Search as oe, Loader2 as se, Pencil as ae } from "lucide-vue-next";
4
- import { u as ue } from "./index-L54VBzwJ.mjs";
4
+ import { u as ue } from "./index-ar4tbR3i.mjs";
5
5
  const re = { class: "relative" }, ie = {
6
6
  ref: "container",
7
7
  class: "w-full max-w-5xl mx-auto"
@@ -2,7 +2,7 @@ import { defineComponent as we, ref as j, reactive as Ue, computed as oe, watch
2
2
  import { CalendarIcon as je, ChevronLeft as He, Check as Qe, ChevronRight as Ye, X as We, Zap as Ge, Plus as Pe, Pencil as Xe, Users as Ze, Tag as Je, Trash2 as Me } from "lucide-vue-next";
3
3
  import { useModuleRoute as Ke, useModule as et, useFirebaseIntegration as tt } from "@oneclick.dev/cms-kit";
4
4
  import { c as Oe } from "./utils-CanmrIWO.mjs";
5
- import { e as nt, a as Ae, $ as Ve } from "./DateFormatter-qbhRYxI_.mjs";
5
+ import { $ as nt, a as Ae, b as Ve } from "./DateFormatter-BkKoSf_l.mjs";
6
6
  import { _ as st } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const at = { class: "space-y-3" }, ot = { class: "grid gap-4 @md/modal:grid-cols-2 @2xl/modal:grid-cols-3 @4xl/modal:grid-cols-4 overflow-hidden p-1" }, rt = {
8
8
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Q, inject as K, openBlock as r, createElementBlock as g, createElementVNode as i, Fragment as I, renderList as q, withModifiers as ue, normalizeClass as ee, unref as o, createCommentVNode as T, toDisplayString as P, createTextVNode as m, resolveComponent as s, createBlock as $, withCtx as l, createVNode as t, computed as X, renderSlot as _e, ref as j, useTemplateRef as be, withAsyncContext as xe, watch as Ce, onMounted as ye, onUnmounted as we, provide as O, withKeys as ke } from "vue";
2
2
  import { Filter as he, ChevronsUpDown as Pe, Check as se, RotateCcw as $e, ExternalLink as Se, Search as Me, Plus as Ve, LayoutGrid as Te, List as Ae } from "lucide-vue-next";
3
3
  import { useModuleRoute as J, useModulePermissions as Y, useFirebaseIntegration as te, useConfirmation as ze, useModuleBreadcrumbs as Ie } from "@oneclick.dev/cms-kit";
4
- import { u as Le } from "./index-CFzn2Lus.mjs";
4
+ import { a as Le } from "./index-hMp4p5qA.mjs";
5
5
  import { c as ae } from "./utils-CanmrIWO.mjs";
6
6
  import { t as D } from "./index-RLz1QPrf.mjs";
7
7
  const Ee = { class: "grid @md:grid-cols-2 @2xl:grid-cols-3 @3xl:grid-cols-4 @4xl:grid-cols-5 @5xl:grid-cols-6 gap-6" }, De = ["onClick", "onContextmenu"], Fe = ["src"], Be = { class: "font-semibold" }, Ue = { class: "text-sm text-muted-foreground flex items-center gap-2" }, Re = { class: "flex items-center gap-2" }, je = { key: 0 }, Ke = /* @__PURE__ */ Q({
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as _e, ref as f, computed as te, watch as he, onMounted as ye, resolveComponent as h, openBlock as n, createElementBlock as i, createElementVNode as s, toDisplayString as u, unref as r, Fragment as w, renderList as D, normalizeClass as L, createVNode as t, withCtx as l, createCommentVNode as P, createBlock as T, createTextVNode as y, resolveDynamicComponent as W, normalizeStyle as se } from "vue";
2
2
  import { useModule as be, useModuleRoute as we, useModuleBreadcrumbs as Ce } from "@oneclick.dev/cms-kit";
3
- import "./index-CkVwMqpn.mjs";
3
+ import "./index-Bnn9LahC.mjs";
4
4
  import { componentToString as oe, ChartTooltipContent as ae } from "@oneclick.dev/cms-kit/charts";
5
5
  import { MousePointerClick as ke, Users as $e, Eye as De, Clock as Pe, Zap as Te, TrendingDown as le, TrendingUp as ne, UserPlus as Se, Activity as Ue, RefreshCw as Ve, Loader2 as Re, ArrowUpRight as Me, Globe as Fe, Minus as Ae, Smartphone as ze, Tablet as Ne, Monitor as Be } from "lucide-vue-next";
6
- import { $ as re, O as j, A as ie, z as ue } from "./index-BIF2RB7k.mjs";
7
- import { P as ce, S as H } from "./index-B8GvmAwh.mjs";
6
+ import { $ as re, O as j, A as ie, z as ue } from "./index-cC_2cw31.mjs";
7
+ import { P as ce, S as H } from "./index-DiTIA8Sh.mjs";
8
8
  const Le = { class: "flex flex-col gap-4 w-full max-w-7xl mx-auto py-8" }, je = { class: "flex justify-between gap-4 flex-col @lg:flex-row @lg:items-center" }, Ge = { class: "text-muted-foreground text-sm mt-1" }, Ie = {
9
9
  key: 0,
10
10
  class: "flex items-center gap-2"
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as w, resolveComponent as M, openBlock as a, createElementBlock as m, createVNode as n, withCtx as v, createElementVNode as e, unref as s, createTextVNode as x, toDisplayString as d, normalizeClass as b, computed as T, createBlock as k, normalizeStyle as z, createCommentVNode as $, Fragment as R, renderList as B, ref as _, watch as te, onMounted as se } from "vue";
2
2
  import { useModule as oe, useModuleRoute as ne, useModuleBreadcrumbs as re } from "@oneclick.dev/cms-kit";
3
3
  import { MousePointerClick as K, Eye as q, TrendingUp as le, Hash as ae, RefreshCw as ie, AlertTriangle as de, Loader2 as ue, Search as ce, FileText as me, ArrowUpRight as xe } from "lucide-vue-next";
4
- import "./index-CkVwMqpn.mjs";
4
+ import "./index-Bnn9LahC.mjs";
5
5
  import { componentToString as V, ChartTooltipContent as X } from "@oneclick.dev/cms-kit/charts";
6
- import { $ as j, O as U, A as G, z as J } from "./index-BIF2RB7k.mjs";
7
- import { P as Q, S as W } from "./index-B8GvmAwh.mjs";
6
+ import { $ as j, O as U, A as G, z as J } from "./index-cC_2cw31.mjs";
7
+ import { P as Q, S as W } from "./index-DiTIA8Sh.mjs";
8
8
  function S(t) {
9
9
  return t >= 1e6 ? `${(t / 1e6).toFixed(1)}M` : t >= 1e3 ? `${(t / 1e3).toFixed(1)}K` : Math.round(t).toString();
10
10
  }
@@ -6,8 +6,8 @@ import mn from "@oneclick.dev/cms-kit/components";
6
6
  import { i as vn } from "./interpolation-w7IRDJwK.mjs";
7
7
  import { nodeProps as wn, NodeToolbarWrapper as _n, Handle as Dt, Position as Vt, NodeContextMenu as yn } from "@oneclick.dev/cms-kit/flow-builder";
8
8
  import { animations as Cn } from "@formkit/drag-and-drop";
9
- import { a as Sn } from "./index-CFzn2Lus.mjs";
10
- import { e as xn, a as Ft, $ as Ce, b as Le } from "./DateFormatter-qbhRYxI_.mjs";
9
+ import { u as Sn } from "./index-hMp4p5qA.mjs";
10
+ import { $ as xn, a as Ft, b as Ce, c as Le } from "./DateFormatter-BkKoSf_l.mjs";
11
11
  import { _ as bn } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
12
12
  function Fe(e, o) {
13
13
  return typeof e == "function" ? e(o) : e;
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ae, resolveComponent as H, openBlock as s, createElementBlock as i, createElementVNode as e, Fragment as Z, renderList as te, toDisplayString as v, normalizeStyle as se, normalizeClass as q, createVNode as l, withCtx as z, unref as S, createTextVNode as le, createCommentVNode as j, computed as R, ref as C, createBlock as ee, nextTick as ve, provide as ne, onMounted as $e, onUnmounted as Te, inject as de, onBeforeUnmount as ze, watch as ue, useTemplateRef as Ae } from "vue";
2
- import { a as ce, $ as me } from "./DateFormatter-qbhRYxI_.mjs";
2
+ import { a as ce, b as me } from "./DateFormatter-BkKoSf_l.mjs";
3
3
  import { X as De, Search as Ee, Clock as he, Users as xe, ChevronLeft as ge, ChevronRight as fe, Asterisk as Be, CalendarDays as je } from "lucide-vue-next";
4
4
  import { _ as Pe } from "./EditLayout.vue_vue_type_script_setup_true_lang-pDO9b4Pv.mjs";
5
5
  import { useModuleRoute as ye, useModule as be, useFirebaseIntegration as _e, useModulePermissions as Oe } from "@oneclick.dev/cms-kit";
6
6
  import { u as Le, _ as Re, a as Ue, b as Ne, F as Fe } from "./OrderDetailDialog.vue_vue_type_script_setup_true_lang-DwAUYR8p.mjs";
7
7
  import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
- import { _ as He } from "./NewReservationDialog.vue_vue_type_script_setup_true_lang-BHeMJ6nr.mjs";
9
- import { u as Qe } from "./index-CFzn2Lus.mjs";
8
+ import { _ as He } from "./NewReservationDialog.vue_vue_type_script_setup_true_lang-BXTkYCm_.mjs";
9
+ import { a as Qe } from "./index-hMp4p5qA.mjs";
10
10
  const We = { class: "mb-6" }, qe = { class: "flex items-end gap-px h-24 bg-muted/30 rounded-lg p-2 overflow-visible" }, Xe = ["onClick"], Ye = { class: "absolute -top-8 left-1/2 -translate-x-1/2 bg-popover border shadow-md rounded px-2 py-1 text-xs whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none z-10" }, Je = { class: "font-medium" }, Ke = { class: "text-muted-foreground" }, Ge = { class: "w-full flex-1 flex items-end justify-center" }, Ze = {
11
11
  key: 1,
12
12
  class: "text-[10px] mt-1"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as ne, ref as I, reactive as ce, computed as te, resolveComponent as u, openBlock as l, createBlock as y, withCtx as r, createVNode as n, createTextVNode as c, toDisplayString as w, createElementVNode as s, unref as p, createElementBlock as a, Fragment as h, normalizeClass as k, createCommentVNode as g, renderList as B, normalizeStyle as re } from "vue";
2
2
  import { _ as me } from "./EditLayout.vue_vue_type_script_setup_true_lang-pDO9b4Pv.mjs";
3
- import { e as ae, a as R, $ as C, d as N } from "./DateFormatter-qbhRYxI_.mjs";
3
+ import { $ as ae, a as R, b as C, e as N } from "./DateFormatter-BkKoSf_l.mjs";
4
4
  import { Calendar as se, Users as le, BanIcon as de, Trash2 as ie, Plus as ue, CalendarPlus as pe } from "lucide-vue-next";
5
5
  import { useModuleRoute as fe, useModulePermissions as ve, useModule as ge, useFirebaseIntegration as xe } from "@oneclick.dev/cms-kit";
6
6
  const ye = { class: "space-y-6 py-4" }, _e = { key: 0 }, be = { class: "space-y-2" }, Ce = { class: "flex items-center justify-center w-8 h-8 rounded-full bg-muted" }, ke = {
@@ -1,11 +1,11 @@
1
- import { defineComponent as ht, toRefs as Dt, reactive as Et, ref as pt, watchEffect as Ot, watch as lt, onUnmounted as mt, provide as nt, openBlock as vt, createElementBlock as bt, renderSlot as Tt, toRaw as at, inject as zt, computed as Nt, onMounted as Wt, nextTick as Gt } from "vue";
2
- import { c as Ht, b as Mt, e as it, Z as et, a as Ft, q as yt, E as Bt, l as J, D as $t, C as jt, S as Pt, v as ut, M as It, j as Ut, a1 as Yt, N as At, R as xt, X as Xt, _ as Vt, n as qt } from "./index-CkVwMqpn.mjs";
3
- import { j as dt, f as j, s as M, e as k, h as ct, p as Zt, g as D, t as tt, k as Z, i as ot, a as gt, d as S, m as Jt, c as ft, b as Kt } from "./math-BJ-oX_IM.mjs";
4
- const Qt = Object.assign(Object.assign({}, Ht), { tooltip: void 0, annotations: void 0 });
5
- class te extends Mt {
1
+ import { defineComponent as ht, toRefs as Et, reactive as Ot, ref as pt, watchEffect as Dt, watch as lt, onUnmounted as mt, provide as nt, openBlock as vt, createElementBlock as bt, renderSlot as Tt, toRaw as at, inject as zt, computed as Nt, onMounted as Wt, nextTick as Gt } from "vue";
2
+ import { C as Ht, d as Bt, X as it, u as et, l as Ft, I as yt, i as Mt, f as K, q as $t, m as Pt, S as jt, E as ut, B as It, h as Yt, Y as Ut, J as At, K as xt, N as Xt, O as Vt, P as qt } from "./index-Bnn9LahC.mjs";
3
+ import { a as dt, b as P, s as B, c as k, h as ct, p as Jt, e as E, t as tt, d as J, m as ot, f as gt, g as S, i as Kt, j as ft, k as Qt } from "./math-Bkw6u412.mjs";
4
+ const Zt = Object.assign(Object.assign({}, Ht), { tooltip: void 0, annotations: void 0 });
5
+ class te extends Bt {
6
6
  constructor(e, n, i) {
7
7
  var r;
8
- super(e), this._defaultConfig = Qt, this.config = this._defaultConfig, n && (this.updateContainer(n, !0), this.component = n.component), i && this.setData(i, !0), !((r = this.component) === null || r === void 0) && r.datamodel.data && this.render();
8
+ super(e), this._defaultConfig = Zt, this.config = this._defaultConfig, n && (this.updateContainer(n, !0), this.component = n.component), i && this.setData(i, !0), !((r = this.component) === null || r === void 0) && r.datamodel.data && this.render();
9
9
  }
10
10
  setData(e, n) {
11
11
  var i;
@@ -82,12 +82,12 @@ function oe(u) {
82
82
  }
83
83
  function le(u, e, n, i, r, d, l, t) {
84
84
  var s = n - u, a = i - e, m = l - r, h = t - d, c = h * s - m * a;
85
- if (!(c * c < D))
85
+ if (!(c * c < E))
86
86
  return c = (m * (e - d) - h * (u - r)) / c, [u + c * s, e + c * a];
87
87
  }
88
- function Q(u, e, n, i, r, d, l) {
89
- var t = u - n, s = e - i, a = (l ? d : -d) / Z(t * t + s * s), m = a * s, h = -a * t, c = u + m, v = e + h, b = n + m, _ = i + h, o = (c + b) / 2, C = (v + _) / 2, A = b - c, x = _ - v, y = A * A + x * x, L = r - d, R = c * _ - b * v, z = (x < 0 ? -1 : 1) * Z(Jt(0, L * L * y - R * R)), N = (R * x - A * z) / y, w = (-R * A - x * z) / y, E = (R * x + A * z) / y, O = (-R * A + x * z) / y, g = N - o, p = w - C, W = E - o, G = O - C;
90
- return g * g + p * p > W * W + G * G && (N = E, w = O), {
88
+ function Z(u, e, n, i, r, d, l) {
89
+ var t = u - n, s = e - i, a = (l ? d : -d) / J(t * t + s * s), m = a * s, h = -a * t, c = u + m, v = e + h, b = n + m, _ = i + h, o = (c + b) / 2, C = (v + _) / 2, A = b - c, x = _ - v, y = A * A + x * x, L = r - d, R = c * _ - b * v, z = (x < 0 ? -1 : 1) * J(Kt(0, L * L * y - R * R)), N = (R * x - A * z) / y, w = (-R * A - x * z) / y, O = (R * x + A * z) / y, D = (-R * A + x * z) / y, g = N - o, p = w - C, W = O - o, G = D - C;
90
+ return g * g + p * p > W * W + G * G && (N = O, w = D), {
91
91
  cx: N,
92
92
  cy: w,
93
93
  x01: -m,
@@ -100,30 +100,30 @@ function se() {
100
100
  var u = ee, e = ne, n = k(0), i = null, r = ae, d = ie, l = oe, t = null;
101
101
  function s() {
102
102
  var a, m, h = +u.apply(this, arguments), c = +e.apply(this, arguments), v = r.apply(this, arguments) - ct, b = d.apply(this, arguments) - ct, _ = gt(b - v), o = b > v;
103
- if (t || (t = a = Zt()), c < h && (m = c, c = h, h = m), !(c > D)) t.moveTo(0, 0);
104
- else if (_ > tt - D)
105
- t.moveTo(c * j(v), c * M(v)), t.arc(0, 0, c, v, b, !o), h > D && (t.moveTo(h * j(b), h * M(b)), t.arc(0, 0, h, b, v, o));
103
+ if (t || (t = a = Jt()), c < h && (m = c, c = h, h = m), !(c > E)) t.moveTo(0, 0);
104
+ else if (_ > tt - E)
105
+ t.moveTo(c * P(v), c * B(v)), t.arc(0, 0, c, v, b, !o), h > E && (t.moveTo(h * P(b), h * B(b)), t.arc(0, 0, h, b, v, o));
106
106
  else {
107
- var C = v, A = b, x = v, y = b, L = _, R = _, z = l.apply(this, arguments) / 2, N = z > D && (i ? +i.apply(this, arguments) : Z(h * h + c * c)), w = ot(gt(c - h) / 2, +n.apply(this, arguments)), E = w, O = w, g, p;
108
- if (N > D) {
109
- var W = ft(N / h * M(z)), G = ft(N / c * M(z));
110
- (L -= W * 2) > D ? (W *= o ? 1 : -1, x += W, y -= W) : (L = 0, x = y = (v + b) / 2), (R -= G * 2) > D ? (G *= o ? 1 : -1, C += G, A -= G) : (R = 0, C = A = (v + b) / 2);
107
+ var C = v, A = b, x = v, y = b, L = _, R = _, z = l.apply(this, arguments) / 2, N = z > E && (i ? +i.apply(this, arguments) : J(h * h + c * c)), w = ot(gt(c - h) / 2, +n.apply(this, arguments)), O = w, D = w, g, p;
108
+ if (N > E) {
109
+ var W = ft(N / h * B(z)), G = ft(N / c * B(z));
110
+ (L -= W * 2) > E ? (W *= o ? 1 : -1, x += W, y -= W) : (L = 0, x = y = (v + b) / 2), (R -= G * 2) > E ? (G *= o ? 1 : -1, C += G, A -= G) : (R = 0, C = A = (v + b) / 2);
111
111
  }
112
- var F = c * j(C), B = c * M(C), K = h * j(y), P = h * M(y);
113
- if (w > D) {
114
- var $ = c * j(A), I = c * M(A), U = h * j(x), Y = h * M(x), H;
115
- if (_ < dt && (H = le(F, B, U, Y, $, I, K, P))) {
116
- var X = F - H[0], V = B - H[1], f = $ - H[0], T = I - H[1], q = 1 / M(Kt((X * f + V * T) / (Z(X * X + V * V) * Z(f * f + T * T))) / 2), rt = Z(H[0] * H[0] + H[1] * H[1]);
117
- E = ot(w, (h - rt) / (q - 1)), O = ot(w, (c - rt) / (q + 1));
112
+ var F = c * P(C), M = c * B(C), Q = h * P(y), j = h * B(y);
113
+ if (w > E) {
114
+ var $ = c * P(A), I = c * B(A), Y = h * P(x), U = h * B(x), H;
115
+ if (_ < dt && (H = le(F, M, Y, U, $, I, Q, j))) {
116
+ var X = F - H[0], V = M - H[1], f = $ - H[0], T = I - H[1], q = 1 / B(Qt((X * f + V * T) / (J(X * X + V * V) * J(f * f + T * T))) / 2), rt = J(H[0] * H[0] + H[1] * H[1]);
117
+ O = ot(w, (h - rt) / (q - 1)), D = ot(w, (c - rt) / (q + 1));
118
118
  }
119
119
  }
120
- R > D ? O > D ? (g = Q(U, Y, F, B, c, O, o), p = Q($, I, K, P, c, O, o), t.moveTo(g.cx + g.x01, g.cy + g.y01), O < w ? t.arc(g.cx, g.cy, O, S(g.y01, g.x01), S(p.y01, p.x01), !o) : (t.arc(g.cx, g.cy, O, S(g.y01, g.x01), S(g.y11, g.x11), !o), t.arc(0, 0, c, S(g.cy + g.y11, g.cx + g.x11), S(p.cy + p.y11, p.cx + p.x11), !o), t.arc(p.cx, p.cy, O, S(p.y11, p.x11), S(p.y01, p.x01), !o))) : (t.moveTo(F, B), t.arc(0, 0, c, C, A, !o)) : t.moveTo(F, B), !(h > D) || !(L > D) ? t.lineTo(K, P) : E > D ? (g = Q(K, P, $, I, h, -E, o), p = Q(F, B, U, Y, h, -E, o), t.lineTo(g.cx + g.x01, g.cy + g.y01), E < w ? t.arc(g.cx, g.cy, E, S(g.y01, g.x01), S(p.y01, p.x01), !o) : (t.arc(g.cx, g.cy, E, S(g.y01, g.x01), S(g.y11, g.x11), !o), t.arc(0, 0, h, S(g.cy + g.y11, g.cx + g.x11), S(p.cy + p.y11, p.cx + p.x11), o), t.arc(p.cx, p.cy, E, S(p.y11, p.x11), S(p.y01, p.x01), !o))) : t.arc(0, 0, h, y, x, o);
120
+ R > E ? D > E ? (g = Z(Y, U, F, M, c, D, o), p = Z($, I, Q, j, c, D, o), t.moveTo(g.cx + g.x01, g.cy + g.y01), D < w ? t.arc(g.cx, g.cy, D, S(g.y01, g.x01), S(p.y01, p.x01), !o) : (t.arc(g.cx, g.cy, D, S(g.y01, g.x01), S(g.y11, g.x11), !o), t.arc(0, 0, c, S(g.cy + g.y11, g.cx + g.x11), S(p.cy + p.y11, p.cx + p.x11), !o), t.arc(p.cx, p.cy, D, S(p.y11, p.x11), S(p.y01, p.x01), !o))) : (t.moveTo(F, M), t.arc(0, 0, c, C, A, !o)) : t.moveTo(F, M), !(h > E) || !(L > E) ? t.lineTo(Q, j) : O > E ? (g = Z(Q, j, $, I, h, -O, o), p = Z(F, M, Y, U, h, -O, o), t.lineTo(g.cx + g.x01, g.cy + g.y01), O < w ? t.arc(g.cx, g.cy, O, S(g.y01, g.x01), S(p.y01, p.x01), !o) : (t.arc(g.cx, g.cy, O, S(g.y01, g.x01), S(g.y11, g.x11), !o), t.arc(0, 0, h, S(g.cy + g.y11, g.cx + g.x11), S(p.cy + p.y11, p.cx + p.x11), o), t.arc(p.cx, p.cy, O, S(p.y11, p.x11), S(p.y01, p.x01), !o))) : t.arc(0, 0, h, y, x, o);
121
121
  }
122
122
  if (t.closePath(), a) return t = null, a + "" || null;
123
123
  }
124
124
  return s.centroid = function() {
125
125
  var a = (+u.apply(this, arguments) + +e.apply(this, arguments)) / 2, m = (+r.apply(this, arguments) + +d.apply(this, arguments)) / 2 - dt / 2;
126
- return [j(m) * a, M(m) * a];
126
+ return [P(m) * a, B(m) * a];
127
127
  }, s.innerRadius = function(a) {
128
128
  return arguments.length ? (u = typeof a == "function" ? a : k(+a), s) : u;
129
129
  }, s.outerRadius = function(a) {
@@ -209,7 +209,7 @@ function fe(u, e, n, i) {
209
209
  innerRadius: l.innerRadius,
210
210
  outerRadius: l.outerRadius,
211
211
  padAngle: l.padAngle
212
- }, h = Bt(a._animState, m);
212
+ }, h = Mt(a._animState, m);
213
213
  return (c) => (a._animState = h(c), n(a._animState));
214
214
  }) : u.attr("d", n).style("opacity", r);
215
215
  }
@@ -219,7 +219,7 @@ function he(u, e) {
219
219
  const Rt = Array.from({ length: 4 }, (u, e) => {
220
220
  const n = -Math.PI / 2 + e * Math.PI / 2;
221
221
  return [n, n + Math.PI];
222
- }), [xe, Re, _e, Le] = Rt, _t = J`
222
+ }), [xe, Re, _e, Le] = Rt, _t = K`
223
223
  label: donut-component;
224
224
  `, pe = $t`
225
225
  :root {
@@ -251,16 +251,16 @@ const Rt = Array.from({ length: 4 }, (u, e) => {
251
251
  --vis-donut-central-sub-label-text-color: var(--vis-dark-donut-central-sub-label-text-color);
252
252
  --vis-donut-background-color: var(--vis-dark-donut-background-color);
253
253
  }
254
- `, Lt = J`
254
+ `, Lt = K`
255
255
  label: background;
256
256
  fill: var(--vis-donut-background-color);
257
- `, st = J`
257
+ `, st = K`
258
258
  label: segment;
259
259
  stroke-width: var(--vis-donut-segment-stroke-width);
260
260
  stroke: var(--vis-donut-segment-stroke-color, var(--vis-donut-background-color));
261
- `, St = J`
261
+ `, St = K`
262
262
  label: segment-exit;
263
- `, wt = J`
263
+ `, wt = K`
264
264
  label: central-label;
265
265
  text-anchor: middle;
266
266
  dominant-baseline: middle;
@@ -268,7 +268,7 @@ const Rt = Array.from({ length: 4 }, (u, e) => {
268
268
  font-family: var(--vis-donut-central-label-font-family, var(--vis-font-family));
269
269
  font-weight: var(--vis-donut-central-label-font-weight);
270
270
  fill: var(--vis-donut-central-label-text-color);
271
- `, kt = J`
271
+ `, kt = K`
272
272
  label: central-label;
273
273
  text-anchor: middle;
274
274
  dominant-baseline: middle;
@@ -286,9 +286,9 @@ const Rt = Array.from({ length: 4 }, (u, e) => {
286
286
  segmentExit: St,
287
287
  variables: pe
288
288
  }, Symbol.toStringTag, { value: "Module" }));
289
- class Ct extends jt {
289
+ class Ct extends Pt {
290
290
  constructor(e) {
291
- super(), this._defaultConfig = ce, this.config = this._defaultConfig, this.datamodel = new Pt(), this.arcGen = se(), this.events = {}, e && this.setConfig(e), this.arcBackground = this.g.append("path"), this.arcGroup = this.g.append("g"), this.centralLabel = this.g.append("text").attr("class", wt), this.centralSubLabel = this.g.append("text").attr("class", kt);
291
+ super(), this._defaultConfig = ce, this.config = this._defaultConfig, this.datamodel = new jt(), this.arcGen = se(), this.events = {}, e && this.setConfig(e), this.arcBackground = this.g.append("path"), this.arcGroup = this.g.append("g"), this.centralLabel = this.g.append("text").attr("class", wt), this.centralSubLabel = this.g.append("text").attr("class", kt);
292
292
  }
293
293
  get bleed() {
294
294
  return { top: 0, bottom: 0, left: 0, right: 0 };
@@ -298,9 +298,9 @@ class Ct extends jt {
298
298
  const { config: o, datamodel: C, bleed: A } = this, x = C.data.map((f, T) => ({
299
299
  index: T,
300
300
  datum: f
301
- })).filter((f) => o.showEmptySegments || ut(f.datum, o.value, f.index)), y = It(e) ? e : o.duration, [L, R, z, N] = Rt.map((f) => o.angleRange && o.angleRange[0] === f[0] && o.angleRange[1] === f[1]), w = L || z, E = R || N, O = this._width * (E ? 2 : 1), g = this._height * (w ? 2 : 1), p = o.radius || Math.min(O - A.left - A.right, g - A.top - A.bottom) / 2, W = o.arcWidth === 0 ? 0 : Ut(p - o.arcWidth, 0, p - 1), G = this._height / 2 + (L ? p / 2 : z ? -p / 2 : 0), F = this._width / 2 + (N ? p / 2 : R ? -p / 2 : 0), B = `translate(${F},${G})`;
302
- this.arcGroup.attr("transform", B), this.arcGen.startAngle((f) => f.startAngle).endAngle((f) => f.endAngle).innerRadius((f) => f.innerRadius).outerRadius((f) => f.outerRadius).padAngle((f) => f.padAngle).cornerRadius(o.cornerRadius);
303
- const P = de().startAngle((i = (n = o.angleRange) === null || n === void 0 ? void 0 : n[0]) !== null && i !== void 0 ? i : 0).endAngle((d = (r = o.angleRange) === null || r === void 0 ? void 0 : r[1]) !== null && d !== void 0 ? d : 2 * Math.PI).padAngle(o.padAngle).value((f) => ut(f.datum, o.value, f.index) || 0).sort((f, T) => {
301
+ })).filter((f) => o.showEmptySegments || ut(f.datum, o.value, f.index)), y = It(e) ? e : o.duration, [L, R, z, N] = Rt.map((f) => o.angleRange && o.angleRange[0] === f[0] && o.angleRange[1] === f[1]), w = L || z, O = R || N, D = this._width * (O ? 2 : 1), g = this._height * (w ? 2 : 1), p = o.radius || Math.min(D - A.left - A.right, g - A.top - A.bottom) / 2, W = o.arcWidth === 0 ? 0 : Yt(p - o.arcWidth, 0, p - 1), G = this._height / 2 + (L ? p / 2 : z ? -p / 2 : 0), F = this._width / 2 + (N ? p / 2 : R ? -p / 2 : 0), M = `translate(${F},${G})`;
302
+ this.arcGroup.attr("transform", M), this.arcGen.startAngle((f) => f.startAngle).endAngle((f) => f.endAngle).innerRadius((f) => f.innerRadius).outerRadius((f) => f.outerRadius).padAngle((f) => f.padAngle).cornerRadius(o.cornerRadius);
303
+ const j = de().startAngle((i = (n = o.angleRange) === null || n === void 0 ? void 0 : n[0]) !== null && i !== void 0 ? i : 0).endAngle((d = (r = o.angleRange) === null || r === void 0 ? void 0 : r[1]) !== null && d !== void 0 ? d : 2 * Math.PI).padAngle(o.padAngle).value((f) => ut(f.datum, o.value, f.index) || 0).sort((f, T) => {
304
304
  var q;
305
305
  return (q = o.sortFunction) === null || q === void 0 ? void 0 : q.call(o, f.datum, T.datum);
306
306
  })(x).map((f) => {
@@ -311,15 +311,15 @@ class Ct extends jt {
311
311
  outerRadius: p
312
312
  });
313
313
  return o.showEmptySegments && f.endAngle - f.startAngle - f.padAngle <= Number.EPSILON && (T.endAngle = f.startAngle + Math.max(o.emptySegmentAngle, o.padAngle), T.padAngle = f.padAngle / 2), T;
314
- }), $ = this.arcGroup.selectAll(`.${st}`).data(P, (f) => o.id(f.data, f.index)), I = $.enter().append("path").attr("class", st).call(ge, o), U = $.merge(I);
315
- U.call(fe, o, this.arcGen, y), U.sort((f, T) => T.value - f.value), $.exit().attr("class", St).call(he, y);
316
- const Y = R ? "start" : N ? "end" : "middle";
317
- this.centralLabel.attr("dy", o.centralSubLabel ? "-0.55em" : null).style("text-anchor", Y).text((l = o.centralLabel) !== null && l !== void 0 ? l : null), this.centralSubLabel.attr("dy", o.centralLabel ? "0.55em" : null).style("text-anchor", Y).text((t = o.centralSubLabel) !== null && t !== void 0 ? t : null), o.centralSubLabelWrap && Yt(this.centralSubLabel, W * 1.9);
314
+ }), $ = this.arcGroup.selectAll(`.${st}`).data(j, (f) => o.id(f.data, f.index)), I = $.enter().append("path").attr("class", st).call(ge, o), Y = $.merge(I);
315
+ Y.call(fe, o, this.arcGen, y), Y.sort((f, T) => T.value - f.value), $.exit().attr("class", St).call(he, y);
316
+ const U = R ? "start" : N ? "end" : "middle";
317
+ this.centralLabel.attr("dy", o.centralSubLabel ? "-0.55em" : null).style("text-anchor", U).text((l = o.centralLabel) !== null && l !== void 0 ? l : null), this.centralSubLabel.attr("dy", o.centralLabel ? "0.55em" : null).style("text-anchor", U).text((t = o.centralSubLabel) !== null && t !== void 0 ? t : null), o.centralSubLabelWrap && Ut(this.centralSubLabel, W * 1.9);
318
318
  const H = (o.centralLabelOffsetX || 0) + F;
319
319
  let X = (o.centralLabelOffsetY || 0) + G;
320
320
  w && o.centralLabelOffsetX === void 0 && o.centralLabelOffsetY === void 0 && (X = (L ? -this.centralSubLabel.node().getBoundingClientRect().height : z ? this.centralLabel.node().getBoundingClientRect().height : 0) + G);
321
321
  const V = `translate(${H},${X})`;
322
- this.centralLabel.attr("transform", V), this.centralSubLabel.attr("transform", V), this.arcBackground.attr("class", Lt).attr("visibility", o.showBackground ? null : "hidden").attr("transform", B), et(this.arcBackground, y).attr("d", this.arcGen({
322
+ this.centralLabel.attr("transform", V), this.centralSubLabel.attr("transform", V), this.arcBackground.attr("class", Lt).attr("visibility", o.showBackground ? null : "hidden").attr("transform", M), et(this.arcBackground, y).attr("d", this.arcGen({
323
323
  startAngle: (h = (a = (s = o.backgroundAngleRange) === null || s === void 0 ? void 0 : s[0]) !== null && a !== void 0 ? a : (m = o.angleRange) === null || m === void 0 ? void 0 : m[0]) !== null && h !== void 0 ? h : 0,
324
324
  endAngle: (_ = (v = (c = o.backgroundAngleRange) === null || c === void 0 ? void 0 : c[1]) !== null && v !== void 0 ? v : (b = o.angleRange) === null || b === void 0 ? void 0 : b[1]) !== null && _ !== void 0 ? _ : 2 * Math.PI,
325
325
  innerRadius: W,
@@ -345,16 +345,16 @@ const Se = /* @__PURE__ */ ht({
345
345
  data: {}
346
346
  },
347
347
  setup(u, { expose: e }) {
348
- const n = u, { data: i } = Dt(n), r = At(n);
348
+ const n = u, { data: i } = Et(n), r = At(n);
349
349
  let d;
350
- const l = Et({
350
+ const l = Ot({
351
351
  component: void 0,
352
352
  tooltip: void 0,
353
353
  annotations: void 0
354
354
  }), t = pt(), s = () => {
355
355
  d || t.value && l.component && (d = new te(t.value, { ...at(l) }, i.value));
356
356
  };
357
- return Ot(() => {
357
+ return Dt(() => {
358
358
  var a;
359
359
  s(), (a = l.component) == null || a.config, d?.updateContainer({ ...at(r.value), ...at(l) });
360
360
  }), lt(i, () => {
@@ -3798,60 +3798,60 @@ function Au(t) {
3798
3798
  }
3799
3799
  })();
3800
3800
  export {
3801
- tn as $,
3802
- Qn as A,
3803
- Ba as B,
3804
- lu as C,
3805
- Da as D,
3806
- $r as E,
3801
+ tu as $,
3802
+ yt as A,
3803
+ Ie as B,
3804
+ Js as C,
3805
+ au as D,
3806
+ U as E,
3807
3807
  Dn as F,
3808
- L as G,
3809
- Er as H,
3810
- De as I,
3811
- tu as J,
3812
- Yt as K,
3813
- Jn as L,
3814
- Ie as M,
3815
- Au as N,
3816
- Je as O,
3817
- wt as P,
3818
- Qe as Q,
3819
- mu as R,
3808
+ Jn as G,
3809
+ ru as H,
3810
+ du as I,
3811
+ Au as J,
3812
+ mu as K,
3813
+ _u as L,
3814
+ wu as M,
3815
+ yu as N,
3816
+ xu as O,
3817
+ bu as P,
3818
+ Ts as Q,
3819
+ Qn as R,
3820
3820
  hu as S,
3821
- yt as T,
3822
- uu as U,
3821
+ it as T,
3822
+ iu as U,
3823
3823
  mt as V,
3824
- vu as W,
3825
- yu as X,
3826
- be as Y,
3827
- fu as Z,
3828
- xu as _,
3829
- Ic as a,
3830
- pu as a0,
3831
- gu as a1,
3832
- Kt as b,
3833
- Js as c,
3834
- Mr as d,
3835
- at as e,
3836
- it as f,
3837
- he as g,
3838
- ws as h,
3839
- wu as i,
3840
- en as j,
3841
- eu as k,
3842
- cu as l,
3843
- _u as m,
3844
- bu as n,
3824
+ nu as W,
3825
+ at as X,
3826
+ gu as Y,
3827
+ Qe as Z,
3828
+ Je as _,
3829
+ he as a,
3830
+ Cs as a0,
3831
+ $s as a1,
3832
+ ws as b,
3833
+ L as c,
3834
+ Kt as d,
3835
+ Mr as e,
3836
+ cu as f,
3837
+ Ba as g,
3838
+ en as h,
3839
+ $r as i,
3840
+ eu as j,
3841
+ Es as k,
3842
+ Ic as l,
3843
+ lu as m,
3844
+ su as n,
3845
3845
  ou as o,
3846
- Es as p,
3847
- du as q,
3848
- su as r,
3849
- $s as s,
3850
- Cs as t,
3851
- au as u,
3852
- U as v,
3853
- iu as w,
3854
- nu as x,
3855
- ru as y,
3856
- Ts as z
3846
+ De as p,
3847
+ Da as q,
3848
+ wt as r,
3849
+ be as s,
3850
+ tn as t,
3851
+ fu as u,
3852
+ Yt as v,
3853
+ Er as w,
3854
+ pu as x,
3855
+ vu as y,
3856
+ uu as z
3857
3857
  };