@object-ui/components 4.0.12 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4089,14 +4089,18 @@ var ts = [
4089
4089
  function fs(e) {
4090
4090
  return Array.isArray(e) ? e : e != null && e !== "" ? [e] : [];
4091
4091
  }
4092
- function ps({ fields: e = [], value: t, onChange: n, className: r, showClearAll: i = !0 }) {
4093
- let [a, o] = p.useState(t || {
4094
- id: "root",
4095
- logic: "and",
4096
- conditions: []
4097
- });
4092
+ function ps(e) {
4093
+ return !!e && typeof e == "object" && Array.isArray(e.conditions) && (e.logic === "and" || e.logic === "or");
4094
+ }
4095
+ var ms = {
4096
+ id: "root",
4097
+ logic: "and",
4098
+ conditions: []
4099
+ };
4100
+ function hs({ fields: e = [], value: t, onChange: n, className: r, showClearAll: i = !0 }) {
4101
+ let [a, o] = p.useState(ps(t) ? t : ms);
4098
4102
  p.useEffect(() => {
4099
- t && JSON.stringify(t) !== JSON.stringify(a) && o(t);
4103
+ ps(t) && JSON.stringify(t) !== JSON.stringify(a) && o(t);
4100
4104
  }, [t]);
4101
4105
  let s = (e) => {
4102
4106
  o(e), n?.(e);
@@ -4142,7 +4146,7 @@ function ps({ fields: e = [], value: t, onChange: n, className: r, showClearAll:
4142
4146
  return cs.includes(n) ? "number" : n === "date" ? "date" : n === "datetime" ? "datetime-local" : n === "time" ? "time" : "text";
4143
4147
  }, _ = (t) => {
4144
4148
  let n = e.find((e) => e.value === t.field), r = ["in", "notIn"].includes(t.operator);
4145
- if (ds.includes(n?.type || "") && !n?.options && (n?.referenceTo || n?.type === "user" || n?.type === "owner")) return /* @__PURE__ */ S(ms, {
4149
+ if (ds.includes(n?.type || "") && !n?.options && (n?.referenceTo || n?.type === "user" || n?.type === "owner")) return /* @__PURE__ */ S(gs, {
4146
4150
  field: n,
4147
4151
  value: t.value,
4148
4152
  multiple: r,
@@ -4295,8 +4299,8 @@ function ps({ fields: e = [], value: t, onChange: n, className: r, showClearAll:
4295
4299
  ]
4296
4300
  });
4297
4301
  }
4298
- ps.displayName = "FilterBuilder";
4299
- function ms({ field: e, value: t, multiple: n, onChange: r }) {
4302
+ hs.displayName = "FilterBuilder";
4303
+ function gs({ field: e, value: t, multiple: n, onChange: r }) {
4300
4304
  let i = p.useContext(o)?.dataSource ?? null, a = e.referenceTo || (e.type === "user" || e.type === "owner" ? "users" : void 0), s = e.displayField || "name", c = e.idField || "id", [l, u] = p.useState(!1), [d, f] = p.useState(""), [m, h] = p.useState([]), [g, _] = p.useState(!1), [v, y] = p.useState(null), [b, x] = p.useState({}), w = p.useRef(null), T = p.useMemo(() => n ? fs(t).map((e) => String(e)) : t == null || t === "" ? [] : [String(t)], [t, n]), E = i != null && typeof i.find == "function" && !!a, D = p.useCallback((e) => {
4301
4305
  let t = e?.[c] ?? e?.id ?? e?._id, n = e?.[s] ?? e?.label ?? e?.name ?? String(t);
4302
4306
  return {
@@ -4461,7 +4465,7 @@ function ms({ field: e, value: t, multiple: n, onChange: r }) {
4461
4465
  }
4462
4466
  //#endregion
4463
4467
  //#region src/custom/sort-builder.tsx
4464
- function hs({ fields: e = [], value: t = [], onChange: n, className: r }) {
4468
+ function _s({ fields: e = [], value: t = [], onChange: n, className: r }) {
4465
4469
  let i = p.useCallback((e) => (e || []).map((e, t) => ({
4466
4470
  id: e?.id ?? (typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `sort-${t}-${e?.field ?? ""}`),
4467
4471
  field: e?.field ?? "",
@@ -4555,7 +4559,7 @@ function hs({ fields: e = [], value: t = [], onChange: n, className: r }) {
4555
4559
  }
4556
4560
  //#endregion
4557
4561
  //#region src/custom/config-field-renderer.tsx
4558
- function gs({ field: e, value: t, onChange: n, draft: r, objectDef: i }) {
4562
+ function vs({ field: e, value: t, onChange: n, draft: r, objectDef: i }) {
4559
4563
  if (e.visibleWhen && !e.visibleWhen(r)) return null;
4560
4564
  let a = e.disabled || (e.disabledWhen ? e.disabledWhen(r) : !1), o = t ?? e.defaultValue, s = null;
4561
4565
  switch (e.type) {
@@ -4694,7 +4698,7 @@ function gs({ field: e, value: t, onChange: n, draft: r, objectDef: i }) {
4694
4698
  case "filter":
4695
4699
  s = /* @__PURE__ */ C("div", {
4696
4700
  "data-testid": `config-field-${e.key}`,
4697
- children: [/* @__PURE__ */ S(es, { label: e.label }), /* @__PURE__ */ S(ps, {
4701
+ children: [/* @__PURE__ */ S(es, { label: e.label }), /* @__PURE__ */ S(hs, {
4698
4702
  fields: e.fields,
4699
4703
  value: o,
4700
4704
  onChange: n,
@@ -4705,7 +4709,7 @@ function gs({ field: e, value: t, onChange: n, draft: r, objectDef: i }) {
4705
4709
  case "sort":
4706
4710
  s = /* @__PURE__ */ C("div", {
4707
4711
  "data-testid": `config-field-${e.key}`,
4708
- children: [/* @__PURE__ */ S(es, { label: e.label }), /* @__PURE__ */ S(hs, {
4712
+ children: [/* @__PURE__ */ S(es, { label: e.label }), /* @__PURE__ */ S(_s, {
4709
4713
  fields: e.fields,
4710
4714
  value: o,
4711
4715
  onChange: n,
@@ -4743,7 +4747,7 @@ function gs({ field: e, value: t, onChange: n, draft: r, objectDef: i }) {
4743
4747
  }
4744
4748
  //#endregion
4745
4749
  //#region src/custom/section-header.tsx
4746
- function _s({ title: e, icon: t, collapsible: n, collapsed: r, onToggle: i, testId: a, className: o }) {
4750
+ function ys({ title: e, icon: t, collapsible: n, collapsed: r, onToggle: i, testId: a, className: o }) {
4747
4751
  let s = /* @__PURE__ */ C("h3", {
4748
4752
  className: "text-xs font-semibold text-foreground uppercase tracking-wider flex items-center gap-1.5",
4749
4753
  children: [t && /* @__PURE__ */ S("span", {
@@ -4767,21 +4771,22 @@ function _s({ title: e, icon: t, collapsible: n, collapsed: r, onToggle: i, test
4767
4771
  }
4768
4772
  //#endregion
4769
4773
  //#region src/custom/config-panel-renderer.tsx
4770
- function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChange: a, onSave: o, onDiscard: s, headerExtra: c, objectDef: l, className: u, saveLabel: d = "Save", discardLabel: f = "Discard", panelRef: m, role: h, ariaLabel: g, tabIndex: _, testId: v, closeTitle: y, footerTestId: x, saveTestId: w, discardTestId: T, expandedSections: E, onUndo: D, onRedo: O, canUndo: k, canRedo: A, undoLabel: ee = "Undo", redoLabel: j = "Redo" }) {
4771
- let [M, N] = b({});
4774
+ function bs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChange: a, onSave: o, onDiscard: s, headerExtra: c, objectDef: l, className: u, style: d, saveLabel: f = "Save", discardLabel: m = "Discard", panelRef: h, role: g, ariaLabel: _, tabIndex: v, testId: y, closeTitle: x, footerTestId: w, saveTestId: T, discardTestId: E, expandedSections: D, onUndo: O, onRedo: k, canUndo: A, canRedo: ee, undoLabel: j = "Undo", redoLabel: M = "Redo" }) {
4775
+ let [N, te] = b({});
4772
4776
  if (!e) return null;
4773
- let te = (e, t) => {
4774
- N((n) => ({
4777
+ let ne = (e, t) => {
4778
+ te((n) => ({
4775
4779
  ...n,
4776
4780
  [e]: !(n[e] ?? t ?? !1)
4777
4781
  }));
4778
- }, ne = (e, t) => E && E.includes(e) ? !1 : M[e] ?? t ?? !1;
4782
+ }, re = (e, t) => D && D.includes(e) ? !1 : N[e] ?? t ?? !1;
4779
4783
  return /* @__PURE__ */ C("div", {
4780
- ref: m,
4781
- "data-testid": v ?? "config-panel",
4782
- role: h,
4783
- "aria-label": g,
4784
- tabIndex: _,
4784
+ ref: h,
4785
+ "data-testid": y ?? "config-panel",
4786
+ role: g,
4787
+ "aria-label": _,
4788
+ tabIndex: v,
4789
+ style: d,
4785
4790
  className: K("absolute inset-y-0 right-0 w-full sm:w-[var(--config-panel-width,280px)] sm:relative border-l bg-background flex flex-col shrink-0 z-20", u),
4786
4791
  children: [
4787
4792
  /* @__PURE__ */ C("div", {
@@ -4798,24 +4803,24 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4798
4803
  }), /* @__PURE__ */ C("div", {
4799
4804
  className: "flex items-center gap-1",
4800
4805
  children: [
4801
- D && /* @__PURE__ */ S(J, {
4806
+ O && /* @__PURE__ */ S(J, {
4802
4807
  size: "sm",
4803
4808
  variant: "ghost",
4804
- onClick: D,
4805
- disabled: !k,
4809
+ onClick: O,
4810
+ disabled: !A,
4806
4811
  className: "h-7 w-7 p-0",
4807
4812
  "data-testid": "config-panel-undo",
4808
- title: ee,
4813
+ title: j,
4809
4814
  children: /* @__PURE__ */ S(Be, { className: "h-3.5 w-3.5" })
4810
4815
  }),
4811
- O && /* @__PURE__ */ S(J, {
4816
+ k && /* @__PURE__ */ S(J, {
4812
4817
  size: "sm",
4813
4818
  variant: "ghost",
4814
- onClick: O,
4815
- disabled: !A,
4819
+ onClick: k,
4820
+ disabled: !ee,
4816
4821
  className: "h-7 w-7 p-0",
4817
4822
  "data-testid": "config-panel-redo",
4818
- title: j,
4823
+ title: M,
4819
4824
  children: /* @__PURE__ */ S(Ae, { className: "h-3.5 w-3.5" })
4820
4825
  }),
4821
4826
  c,
@@ -4825,7 +4830,7 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4825
4830
  onClick: t,
4826
4831
  className: "h-7 w-7 p-0",
4827
4832
  "data-testid": "config-panel-close",
4828
- title: y,
4833
+ title: x,
4829
4834
  children: /* @__PURE__ */ S(He, { className: "h-3.5 w-3.5" })
4830
4835
  })
4831
4836
  ]
@@ -4835,17 +4840,17 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4835
4840
  className: "flex-1 overflow-auto px-4 pb-4",
4836
4841
  children: n.sections.map((e, t) => {
4837
4842
  if (e.visibleWhen && !e.visibleWhen(r)) return null;
4838
- let n = ne(e.key, e.defaultCollapsed);
4843
+ let n = re(e.key, e.defaultCollapsed);
4839
4844
  return /* @__PURE__ */ C("div", {
4840
4845
  "data-testid": `config-section-${e.key}`,
4841
4846
  children: [
4842
4847
  t > 0 && /* @__PURE__ */ S(sa, { className: "my-3" }),
4843
- /* @__PURE__ */ S(_s, {
4848
+ /* @__PURE__ */ S(ys, {
4844
4849
  title: e.title,
4845
4850
  icon: e.icon,
4846
4851
  collapsible: e.collapsible,
4847
4852
  collapsed: n,
4848
- onToggle: () => te(e.key, e.defaultCollapsed),
4853
+ onToggle: () => ne(e.key, e.defaultCollapsed),
4849
4854
  testId: `section-header-${e.key}`
4850
4855
  }),
4851
4856
  e.hint && /* @__PURE__ */ S("p", {
@@ -4854,7 +4859,7 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4854
4859
  }),
4855
4860
  !n && /* @__PURE__ */ C("div", {
4856
4861
  className: "space-y-1",
4857
- children: [e.fields.map((e) => /* @__PURE__ */ S(gs, {
4862
+ children: [e.fields.map((e) => /* @__PURE__ */ S(vs, {
4858
4863
  field: e,
4859
4864
  value: r[e.key],
4860
4865
  onChange: (t) => a(e.key, t),
@@ -4862,23 +4867,23 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4862
4867
  objectDef: l
4863
4868
  }, e.key)), e.subsections?.map((e) => {
4864
4869
  if (e.visibleWhen && !e.visibleWhen(r)) return null;
4865
- let t = ne(e.key, e.defaultCollapsed);
4870
+ let t = re(e.key, e.defaultCollapsed);
4866
4871
  return /* @__PURE__ */ C("div", {
4867
4872
  "data-testid": `config-subsection-${e.key}`,
4868
4873
  className: "ml-1",
4869
4874
  role: "group",
4870
4875
  "aria-label": e.title,
4871
- children: [/* @__PURE__ */ S(_s, {
4876
+ children: [/* @__PURE__ */ S(ys, {
4872
4877
  title: e.title,
4873
4878
  icon: e.icon,
4874
4879
  collapsible: e.collapsible,
4875
4880
  collapsed: t,
4876
- onToggle: () => te(e.key, e.defaultCollapsed),
4881
+ onToggle: () => ne(e.key, e.defaultCollapsed),
4877
4882
  testId: `section-header-${e.key}`,
4878
4883
  className: "pt-2 pb-1"
4879
4884
  }), !t && /* @__PURE__ */ S("div", {
4880
4885
  className: "space-y-1",
4881
- children: e.fields.map((e) => /* @__PURE__ */ S(gs, {
4886
+ children: e.fields.map((e) => /* @__PURE__ */ S(vs, {
4882
4887
  field: e,
4883
4888
  value: r[e.key],
4884
4889
  onChange: (t) => a(e.key, t),
@@ -4895,18 +4900,18 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4895
4900
  }),
4896
4901
  i && /* @__PURE__ */ C("div", {
4897
4902
  className: "px-4 py-2 border-t flex gap-2 shrink-0",
4898
- "data-testid": x ?? "config-panel-footer",
4903
+ "data-testid": w ?? "config-panel-footer",
4899
4904
  children: [/* @__PURE__ */ C(J, {
4900
4905
  size: "sm",
4901
4906
  onClick: o,
4902
- "data-testid": w ?? "config-panel-save",
4903
- children: [/* @__PURE__ */ S(Ne, { className: "h-3.5 w-3.5 mr-1" }), d]
4907
+ "data-testid": T ?? "config-panel-save",
4908
+ children: [/* @__PURE__ */ S(Ne, { className: "h-3.5 w-3.5 mr-1" }), f]
4904
4909
  }), /* @__PURE__ */ C(J, {
4905
4910
  size: "sm",
4906
4911
  variant: "ghost",
4907
4912
  onClick: s,
4908
- "data-testid": T ?? "config-panel-discard",
4909
- children: [/* @__PURE__ */ S(Me, { className: "h-3.5 w-3.5 mr-1" }), f]
4913
+ "data-testid": E ?? "config-panel-discard",
4914
+ children: [/* @__PURE__ */ S(Me, { className: "h-3.5 w-3.5 mr-1" }), m]
4910
4915
  })]
4911
4916
  })
4912
4917
  ]
@@ -4914,7 +4919,7 @@ function vs({ open: e, onClose: t, schema: n, draft: r, isDirty: i, onFieldChang
4914
4919
  }
4915
4920
  //#endregion
4916
4921
  //#region src/custom/date-picker.tsx
4917
- function ys({ date: e, onDateChange: t, placeholder: n = "Pick a date", className: r, disabled: i }) {
4922
+ function xs({ date: e, onDateChange: t, placeholder: n = "Pick a date", className: r, disabled: i }) {
4918
4923
  return /* @__PURE__ */ C(Vi, { children: [/* @__PURE__ */ S(Hi, {
4919
4924
  asChild: !0,
4920
4925
  children: /* @__PURE__ */ C(J, {
@@ -4935,7 +4940,7 @@ function ys({ date: e, onDateChange: t, placeholder: n = "Pick a date", classNam
4935
4940
  }
4936
4941
  //#endregion
4937
4942
  //#region src/custom/empty.tsx
4938
- function bs() {
4943
+ function Ss() {
4939
4944
  try {
4940
4945
  let { t: e } = Tt(), t = e("detail.noValue");
4941
4946
  return !t || t === "detail.noValue" ? "No value" : t;
@@ -4943,63 +4948,63 @@ function bs() {
4943
4948
  return "No value";
4944
4949
  }
4945
4950
  }
4946
- function xs({ className: e, ...t }) {
4951
+ function Cs({ className: e, ...t }) {
4947
4952
  return /* @__PURE__ */ S("div", {
4948
4953
  "data-slot": "empty",
4949
4954
  className: K("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", e),
4950
4955
  ...t
4951
4956
  });
4952
4957
  }
4953
- function Ss({ className: e, ...t }) {
4958
+ function ws({ className: e, ...t }) {
4954
4959
  return /* @__PURE__ */ S("div", {
4955
4960
  "data-slot": "empty-header",
4956
4961
  className: K("flex max-w-sm flex-col items-center gap-2 text-center", e),
4957
4962
  ...t
4958
4963
  });
4959
4964
  }
4960
- var Cs = L("flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4965
+ var Ts = L("flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4961
4966
  variants: { variant: {
4962
4967
  default: "bg-transparent",
4963
4968
  icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6"
4964
4969
  } },
4965
4970
  defaultVariants: { variant: "default" }
4966
4971
  });
4967
- function ws({ className: e, variant: t = "default", ...n }) {
4972
+ function Es({ className: e, variant: t = "default", ...n }) {
4968
4973
  return /* @__PURE__ */ S("div", {
4969
4974
  "data-slot": "empty-icon",
4970
4975
  "data-variant": t,
4971
- className: K(Cs({
4976
+ className: K(Ts({
4972
4977
  variant: t,
4973
4978
  className: e
4974
4979
  })),
4975
4980
  ...n
4976
4981
  });
4977
4982
  }
4978
- function Ts({ className: e, ...t }) {
4983
+ function Ds({ className: e, ...t }) {
4979
4984
  return /* @__PURE__ */ S("div", {
4980
4985
  "data-slot": "empty-title",
4981
4986
  className: K("text-lg font-medium tracking-tight", e),
4982
4987
  ...t
4983
4988
  });
4984
4989
  }
4985
- function Es({ className: e, ...t }) {
4990
+ function Os({ className: e, ...t }) {
4986
4991
  return /* @__PURE__ */ S("div", {
4987
4992
  "data-slot": "empty-description",
4988
4993
  className: K("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", e),
4989
4994
  ...t
4990
4995
  });
4991
4996
  }
4992
- function Ds({ className: e, ...t }) {
4997
+ function ks({ className: e, ...t }) {
4993
4998
  return /* @__PURE__ */ S("div", {
4994
4999
  "data-slot": "empty-content",
4995
5000
  className: K("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", e),
4996
5001
  ...t
4997
5002
  });
4998
5003
  }
4999
- function Os({ className: e, glyph: t = "—", ...n }) {
5004
+ function As({ className: e, glyph: t = "—", ...n }) {
5000
5005
  return /* @__PURE__ */ S("span", {
5001
5006
  "data-slot": "empty-value",
5002
- "aria-label": bs(),
5007
+ "aria-label": Ss(),
5003
5008
  className: K("select-none text-muted-foreground/50 no-underline pointer-events-none", e),
5004
5009
  ...n,
5005
5010
  children: t
@@ -5007,11 +5012,11 @@ function Os({ className: e, glyph: t = "—", ...n }) {
5007
5012
  }
5008
5013
  //#endregion
5009
5014
  //#region src/custom/field.tsx
5010
- var ks = L("space-y-2"), As = p.forwardRef(({ className: e, label: t, description: n, error: r, required: i, htmlFor: a, children: o, ...s }, c) => {
5015
+ var js = L("space-y-2"), Ms = p.forwardRef(({ className: e, label: t, description: n, error: r, required: i, htmlFor: a, children: o, ...s }, c) => {
5011
5016
  let l = p.useId(), u = a || l, d = `${u}-description`, f = `${u}-error`;
5012
5017
  return /* @__PURE__ */ C("div", {
5013
5018
  ref: c,
5014
- className: K(ks(), e),
5019
+ className: K(js(), e),
5015
5020
  ...s,
5016
5021
  children: [
5017
5022
  t && /* @__PURE__ */ S(Y, {
@@ -5038,10 +5043,10 @@ var ks = L("space-y-2"), As = p.forwardRef(({ className: e, label: t, descriptio
5038
5043
  ]
5039
5044
  });
5040
5045
  });
5041
- As.displayName = "Field";
5046
+ Ms.displayName = "Field";
5042
5047
  //#endregion
5043
5048
  //#region src/custom/input-group.tsx
5044
- var js = p.forwardRef(({ className: e, startContent: t, endContent: n, children: r, ...i }, a) => /* @__PURE__ */ C("div", {
5049
+ var Ns = p.forwardRef(({ className: e, startContent: t, endContent: n, children: r, ...i }, a) => /* @__PURE__ */ C("div", {
5045
5050
  ref: a,
5046
5051
  className: K("flex w-full items-center rounded-md border border-input bg-transparent ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2", "has-[[data-invalid]]:border-destructive", e),
5047
5052
  ...i,
@@ -5060,10 +5065,10 @@ var js = p.forwardRef(({ className: e, startContent: t, endContent: n, children:
5060
5065
  })
5061
5066
  ]
5062
5067
  }));
5063
- js.displayName = "InputGroup";
5068
+ Ns.displayName = "InputGroup";
5064
5069
  //#endregion
5065
5070
  //#region src/custom/item.tsx
5066
- function Ms({ className: e, ...t }) {
5071
+ function Ps({ className: e, ...t }) {
5067
5072
  return /* @__PURE__ */ S("div", {
5068
5073
  role: "list",
5069
5074
  "data-slot": "item-group",
@@ -5071,7 +5076,7 @@ function Ms({ className: e, ...t }) {
5071
5076
  ...t
5072
5077
  });
5073
5078
  }
5074
- function Ns({ className: e, ...t }) {
5079
+ function Fs({ className: e, ...t }) {
5075
5080
  return /* @__PURE__ */ S(sa, {
5076
5081
  "data-slot": "item-separator",
5077
5082
  orientation: "horizontal",
@@ -5079,7 +5084,7 @@ function Ns({ className: e, ...t }) {
5079
5084
  ...t
5080
5085
  });
5081
5086
  }
5082
- var Ps = L("group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", {
5087
+ var Is = L("group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", {
5083
5088
  variants: {
5084
5089
  variant: {
5085
5090
  default: "bg-transparent",
@@ -5096,12 +5101,12 @@ var Ps = L("group/item flex items-center border border-transparent text-sm round
5096
5101
  size: "default"
5097
5102
  }
5098
5103
  });
5099
- function Fs({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...i }) {
5104
+ function Ls({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...i }) {
5100
5105
  return /* @__PURE__ */ S(r ? I : "div", {
5101
5106
  "data-slot": "item",
5102
5107
  "data-variant": t,
5103
5108
  "data-size": n,
5104
- className: K(Ps({
5109
+ className: K(Is({
5105
5110
  variant: t,
5106
5111
  size: n,
5107
5112
  className: e
@@ -5109,7 +5114,7 @@ function Fs({ className: e, variant: t = "default", size: n = "default", asChild
5109
5114
  ...i
5110
5115
  });
5111
5116
  }
5112
- var Is = L("flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5", {
5117
+ var Rs = L("flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5", {
5113
5118
  variants: { variant: {
5114
5119
  default: "bg-transparent",
5115
5120
  icon: "size-8 border rounded-sm bg-muted [&_svg:not([class*='size-'])]:size-4",
@@ -5117,53 +5122,53 @@ var Is = L("flex shrink-0 items-center justify-center gap-2 group-has-[[data-slo
5117
5122
  } },
5118
5123
  defaultVariants: { variant: "default" }
5119
5124
  });
5120
- function Ls({ className: e, variant: t = "default", ...n }) {
5125
+ function zs({ className: e, variant: t = "default", ...n }) {
5121
5126
  return /* @__PURE__ */ S("div", {
5122
5127
  "data-slot": "item-media",
5123
5128
  "data-variant": t,
5124
- className: K(Is({
5129
+ className: K(Rs({
5125
5130
  variant: t,
5126
5131
  className: e
5127
5132
  })),
5128
5133
  ...n
5129
5134
  });
5130
5135
  }
5131
- function Rs({ className: e, ...t }) {
5136
+ function Bs({ className: e, ...t }) {
5132
5137
  return /* @__PURE__ */ S("div", {
5133
5138
  "data-slot": "item-content",
5134
5139
  className: K("flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none", e),
5135
5140
  ...t
5136
5141
  });
5137
5142
  }
5138
- function zs({ className: e, ...t }) {
5143
+ function Vs({ className: e, ...t }) {
5139
5144
  return /* @__PURE__ */ S("div", {
5140
5145
  "data-slot": "item-title",
5141
5146
  className: K("flex w-fit items-center gap-2 text-sm leading-snug font-medium", e),
5142
5147
  ...t
5143
5148
  });
5144
5149
  }
5145
- function Bs({ className: e, ...t }) {
5150
+ function Hs({ className: e, ...t }) {
5146
5151
  return /* @__PURE__ */ S("p", {
5147
5152
  "data-slot": "item-description",
5148
5153
  className: K("text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
5149
5154
  ...t
5150
5155
  });
5151
5156
  }
5152
- function Vs({ className: e, ...t }) {
5157
+ function Us({ className: e, ...t }) {
5153
5158
  return /* @__PURE__ */ S("div", {
5154
5159
  "data-slot": "item-actions",
5155
5160
  className: K("flex items-center gap-2", e),
5156
5161
  ...t
5157
5162
  });
5158
5163
  }
5159
- function Hs({ className: e, ...t }) {
5164
+ function Ws({ className: e, ...t }) {
5160
5165
  return /* @__PURE__ */ S("div", {
5161
5166
  "data-slot": "item-header",
5162
5167
  className: K("flex basis-full items-center justify-between gap-2", e),
5163
5168
  ...t
5164
5169
  });
5165
5170
  }
5166
- function Us({ className: e, ...t }) {
5171
+ function Gs({ className: e, ...t }) {
5167
5172
  return /* @__PURE__ */ S("div", {
5168
5173
  "data-slot": "item-footer",
5169
5174
  className: K("flex basis-full items-center justify-between gap-2", e),
@@ -5172,14 +5177,14 @@ function Us({ className: e, ...t }) {
5172
5177
  }
5173
5178
  //#endregion
5174
5179
  //#region src/custom/kbd.tsx
5175
- function Ws({ className: e, ...t }) {
5180
+ function Ks({ className: e, ...t }) {
5176
5181
  return /* @__PURE__ */ S("kbd", {
5177
5182
  "data-slot": "kbd",
5178
5183
  className: K("bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", e),
5179
5184
  ...t
5180
5185
  });
5181
5186
  }
5182
- function Gs({ className: e, ...t }) {
5187
+ function qs({ className: e, ...t }) {
5183
5188
  return /* @__PURE__ */ S("kbd", {
5184
5189
  "data-slot": "kbd-group",
5185
5190
  className: K("inline-flex items-center gap-1", e),
@@ -5188,28 +5193,28 @@ function Gs({ className: e, ...t }) {
5188
5193
  }
5189
5194
  //#endregion
5190
5195
  //#region src/custom/native-select.tsx
5191
- var Ks = p.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ S("select", {
5196
+ var Js = p.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ S("select", {
5192
5197
  className: K("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", e),
5193
5198
  ref: r,
5194
5199
  ...n,
5195
5200
  children: t
5196
5201
  }));
5197
- Ks.displayName = "NativeSelect";
5202
+ Js.displayName = "NativeSelect";
5198
5203
  //#endregion
5199
5204
  //#region src/custom/navigation-overlay.tsx
5200
- function qs(e) {
5205
+ function Ys(e) {
5201
5206
  if (e != null) return typeof e == "number" ? `${e}px` : e;
5202
5207
  }
5203
- function Js(e) {
5204
- let t = qs(e);
5208
+ function Xs(e) {
5209
+ let t = Ys(e);
5205
5210
  return t ? {
5206
5211
  maxWidth: t,
5207
5212
  width: "100%"
5208
5213
  } : {};
5209
5214
  }
5210
- var Ys = ({ isOpen: e, selectedRecord: t, mode: n, close: r, setIsOpen: i, width: a, view: o, title: s, description: c, className: l, children: u, renderView: d, mainContent: f, popoverTrigger: p }) => {
5215
+ var Zs = ({ isOpen: e, selectedRecord: t, mode: n, close: r, setIsOpen: i, width: a, view: o, title: s, description: c, className: l, children: u, renderView: d, mainContent: f, popoverTrigger: p }) => {
5211
5216
  if (n === "page" || n === "new_window" || n === "none" || !t) return null;
5212
- let m = Js(a), h = s || "Record Detail", g = (e) => d && o ? d(e, o) : u(e);
5217
+ let m = Xs(a), h = s || "Record Detail", g = (e) => d && o ? d(e, o) : u(e);
5213
5218
  if (n === "drawer") return /* @__PURE__ */ S(ca, {
5214
5219
  open: e,
5215
5220
  onOpenChange: i,
@@ -5341,10 +5346,10 @@ var Ys = ({ isOpen: e, selectedRecord: t, mode: n, close: r, setIsOpen: i, width
5341
5346
  })
5342
5347
  }) : null : null;
5343
5348
  };
5344
- Ys.displayName = "NavigationOverlay";
5349
+ Zs.displayName = "NavigationOverlay";
5345
5350
  //#endregion
5346
5351
  //#region src/custom/spinner.tsx
5347
- function Xs({ className: e, ...t }) {
5352
+ function Qs({ className: e, ...t }) {
5348
5353
  return /* @__PURE__ */ S("div", {
5349
5354
  role: "status",
5350
5355
  "aria-label": "Loading",
@@ -5355,16 +5360,16 @@ function Xs({ className: e, ...t }) {
5355
5360
  }
5356
5361
  //#endregion
5357
5362
  //#region src/custom/grouping-editor.tsx
5358
- var Zs = {
5363
+ var $s = {
5359
5364
  addGroup: "Add group field",
5360
5365
  collapseTitle: "Collapsed by default",
5361
5366
  removeTitle: "Remove",
5362
5367
  ascendingTitle: "Ascending",
5363
5368
  descendingTitle: "Descending"
5364
5369
  };
5365
- function Qs({ value: e, onChange: t, fieldOptions: n, maxLevels: r = 3, className: i, labels: a }) {
5370
+ function ec({ value: e, onChange: t, fieldOptions: n, maxLevels: r = 3, className: i, labels: a }) {
5366
5371
  let o = {
5367
- ...Zs,
5372
+ ...$s,
5368
5373
  ...a || {}
5369
5374
  }, s = e?.fields ?? [], c = new Set(s.map((e) => e.field)), l = (e) => {
5370
5375
  t(e.length ? { fields: e } : void 0);
@@ -5453,7 +5458,7 @@ function Qs({ value: e, onChange: t, fieldOptions: n, maxLevels: r = 3, classNam
5453
5458
  }
5454
5459
  //#endregion
5455
5460
  //#region src/custom/action-param-dialog.tsx
5456
- var $s = ({ params: e, open: t, onSubmit: n, onCancel: r, title: i = "Action Parameters", description: a = "Please provide the required parameters." }) => {
5461
+ var tc = ({ params: e, open: t, onSubmit: n, onCancel: r, title: i = "Action Parameters", description: a = "Please provide the required parameters." }) => {
5457
5462
  let [o, s] = b(() => {
5458
5463
  let t = {};
5459
5464
  return e.forEach((e) => {
@@ -5665,10 +5670,10 @@ var $s = ({ params: e, open: t, onSubmit: n, onCancel: r, title: i = "Action Par
5665
5670
  })
5666
5671
  });
5667
5672
  };
5668
- $s.displayName = "ActionParamDialog";
5673
+ tc.displayName = "ActionParamDialog";
5669
5674
  //#endregion
5670
5675
  //#region src/custom/view-skeleton.tsx
5671
- function ec({ rows: e = 5, columns: t = 4, className: n, ...r }) {
5676
+ function nc({ rows: e = 5, columns: t = 4, className: n, ...r }) {
5672
5677
  return /* @__PURE__ */ C("div", {
5673
5678
  "data-slot": "grid-skeleton",
5674
5679
  className: K("w-full space-y-2", n),
@@ -5682,7 +5687,7 @@ function ec({ rows: e = 5, columns: t = 4, className: n, ...r }) {
5682
5687
  }, n))]
5683
5688
  });
5684
5689
  }
5685
- function tc({ columns: e = 3, cardsPerColumn: t = 3, className: n, ...r }) {
5690
+ function rc({ columns: e = 3, cardsPerColumn: t = 3, className: n, ...r }) {
5686
5691
  return /* @__PURE__ */ S("div", {
5687
5692
  "data-slot": "kanban-skeleton",
5688
5693
  className: K("flex gap-4 overflow-x-auto", n),
@@ -5696,7 +5701,7 @@ function tc({ columns: e = 3, cardsPerColumn: t = 3, className: n, ...r }) {
5696
5701
  }, n))
5697
5702
  });
5698
5703
  }
5699
- function nc({ rows: e = 4, className: t, ...n }) {
5704
+ function ic({ rows: e = 4, className: t, ...n }) {
5700
5705
  return /* @__PURE__ */ C("div", {
5701
5706
  "data-slot": "form-skeleton",
5702
5707
  className: K("w-full max-w-lg space-y-6", t),
@@ -5707,7 +5712,7 @@ function nc({ rows: e = 4, className: t, ...n }) {
5707
5712
  }, t)), /* @__PURE__ */ S(Q, { className: "h-9 w-24 rounded-md" })]
5708
5713
  });
5709
5714
  }
5710
- function rc({ rows: e = 5, className: t, ...n }) {
5715
+ function ac({ rows: e = 5, className: t, ...n }) {
5711
5716
  return /* @__PURE__ */ S("div", {
5712
5717
  "data-slot": "list-skeleton",
5713
5718
  className: K("w-full space-y-3", t),
@@ -5721,7 +5726,7 @@ function rc({ rows: e = 5, className: t, ...n }) {
5721
5726
  }, t))
5722
5727
  });
5723
5728
  }
5724
- function ic({ className: e, ...t }) {
5729
+ function oc({ className: e, ...t }) {
5725
5730
  return /* @__PURE__ */ C("div", {
5726
5731
  "data-slot": "chart-skeleton",
5727
5732
  className: K("w-full space-y-4", e),
@@ -5751,18 +5756,18 @@ function ic({ className: e, ...t }) {
5751
5756
  ]
5752
5757
  });
5753
5758
  }
5754
- function ac({ variant: e, ...t }) {
5759
+ function sc({ variant: e, ...t }) {
5755
5760
  switch (e) {
5756
- case "grid": return /* @__PURE__ */ S(ec, { ...t });
5757
- case "kanban": return /* @__PURE__ */ S(tc, { ...t });
5758
- case "form": return /* @__PURE__ */ S(nc, { ...t });
5759
- case "list": return /* @__PURE__ */ S(rc, { ...t });
5760
- case "chart": return /* @__PURE__ */ S(ic, { ...t });
5761
+ case "grid": return /* @__PURE__ */ S(nc, { ...t });
5762
+ case "kanban": return /* @__PURE__ */ S(rc, { ...t });
5763
+ case "form": return /* @__PURE__ */ S(ic, { ...t });
5764
+ case "list": return /* @__PURE__ */ S(ac, { ...t });
5765
+ case "chart": return /* @__PURE__ */ S(oc, { ...t });
5761
5766
  }
5762
5767
  }
5763
5768
  //#endregion
5764
5769
  //#region src/custom/view-states.tsx
5765
- function oc({ className: e, message: t = "Loading…", ...n }) {
5770
+ function cc({ className: e, message: t = "Loading…", ...n }) {
5766
5771
  return /* @__PURE__ */ C("div", {
5767
5772
  role: "status",
5768
5773
  "aria-label": t,
@@ -5775,7 +5780,7 @@ function oc({ className: e, message: t = "Loading…", ...n }) {
5775
5780
  })]
5776
5781
  });
5777
5782
  }
5778
- function sc({ className: e, icon: t, title: n = "No data", description: r, action: i, children: a, ...o }) {
5783
+ function lc({ className: e, icon: t, title: n = "No data", description: r, action: i, children: a, ...o }) {
5779
5784
  return /* @__PURE__ */ C("div", {
5780
5785
  "data-slot": "data-empty-state",
5781
5786
  className: K("flex flex-col items-center justify-center gap-3 p-6 text-center", e),
@@ -5798,7 +5803,7 @@ function sc({ className: e, icon: t, title: n = "No data", description: r, actio
5798
5803
  ]
5799
5804
  });
5800
5805
  }
5801
- function cc({ className: e, title: t = "Something went wrong", message: n, onRetry: r, retryLabel: i = "Retry", children: a, ...o }) {
5806
+ function uc({ className: e, title: t = "Something went wrong", message: n, onRetry: r, retryLabel: i = "Retry", children: a, ...o }) {
5802
5807
  return /* @__PURE__ */ C("div", {
5803
5808
  role: "alert",
5804
5809
  "data-slot": "data-error-state",
@@ -5829,7 +5834,7 @@ function cc({ className: e, title: t = "Something went wrong", message: n, onRet
5829
5834
  }
5830
5835
  //#endregion
5831
5836
  //#region src/custom/mobile-dialog-content.tsx
5832
- var lc = p.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ C(Hn, { children: [/* @__PURE__ */ S(Wn, {}), /* @__PURE__ */ C(z.Content, {
5837
+ var dc = p.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ C(Hn, { children: [/* @__PURE__ */ S(Wn, {}), /* @__PURE__ */ C(z.Content, {
5833
5838
  ref: r,
5834
5839
  className: K("fixed inset-0 z-50 w-full bg-background p-4 shadow-lg duration-200", "h-[100dvh]", "sm:inset-auto sm:left-[50%] sm:top-[50%] sm:translate-x-[-50%] sm:translate-y-[-50%]", "sm:max-w-lg sm:h-auto sm:max-h-[90vh] sm:rounded-lg sm:border sm:p-6", "data-[state=open]:animate-in data-[state=closed]:animate-out", "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", "data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]", "data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]", e),
5835
5840
  ...n,
@@ -5841,13 +5846,13 @@ var lc = p.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
5841
5846
  })]
5842
5847
  })]
5843
5848
  })] }));
5844
- lc.displayName = "MobileDialogContent";
5849
+ dc.displayName = "MobileDialogContent";
5845
5850
  //#endregion
5846
5851
  //#region src/custom/export-progress-dialog.tsx
5847
- function uc(e) {
5852
+ function fc(e) {
5848
5853
  return !e && e !== 0 ? "" : e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : e < 1024 * 1024 * 1024 ? `${(e / (1024 * 1024)).toFixed(1)} MB` : `${(e / (1024 * 1024 * 1024)).toFixed(2)} GB`;
5849
5854
  }
5850
- function dc({ open: e, onOpenChange: t, job: n, title: r, description: i, filename: a, allowCloseWhileRunning: o = !0, className: s, onAfterDownload: c, closeAfterDownloadMs: l }) {
5855
+ function pc({ open: e, onOpenChange: t, job: n, title: r, description: i, filename: a, allowCloseWhileRunning: o = !0, className: s, onAfterDownload: c, closeAfterDownloadMs: l }) {
5851
5856
  let { progress: u, error: d, isRunning: f, cancel: m, download: h, reset: g } = n, _ = u?.status, v = typeof u?.percentComplete == "number" ? Math.max(0, Math.min(100, u.percentComplete)) : void 0, y = _ === "completed", b = _ === "failed" || _ === "expired", x = _ === "cancelled", w = p.useCallback(async () => {
5852
5857
  await h(a) && (c?.(), l && l > 0 && setTimeout(() => t(!1), l));
5853
5858
  }, [
@@ -5909,7 +5914,7 @@ function dc({ open: e, onOpenChange: t, job: n, title: r, description: i, filena
5909
5914
  }),
5910
5915
  u?.fileSize ? /* @__PURE__ */ S("div", {
5911
5916
  className: "text-xs text-muted-foreground",
5912
- children: uc(u.fileSize)
5917
+ children: fc(u.fileSize)
5913
5918
  }) : null,
5914
5919
  (d || u?.error) && /* @__PURE__ */ S("div", {
5915
5920
  "data-testid": "export-progress-error",
@@ -6049,7 +6054,7 @@ e.register("combobox", ({ schema: e, ...t }) => {
6049
6054
  });
6050
6055
  //#endregion
6051
6056
  //#region src/renderers/layout/card.tsx
6052
- var fc = h(({ schema: e, className: t, ...n }, r) => {
6057
+ var mc = h(({ schema: e, className: t, ...n }, r) => {
6053
6058
  let { "data-obj-id": i, "data-obj-type": a, style: o, ...s } = n, c = e.clickable || !!n.onClick;
6054
6059
  return /* @__PURE__ */ C(pn, {
6055
6060
  ref: r,
@@ -6072,7 +6077,7 @@ var fc = h(({ schema: e, className: t, ...n }, r) => {
6072
6077
  ]
6073
6078
  });
6074
6079
  });
6075
- e.register("card", fc, {
6080
+ e.register("card", mc, {
6076
6081
  namespace: "ui",
6077
6082
  label: "Card",
6078
6083
  inputs: [
@@ -6187,7 +6192,7 @@ e.register("card", fc, {
6187
6192
  });
6188
6193
  //#endregion
6189
6194
  //#region src/renderers/layout/grid.tsx
6190
- var pc = {
6195
+ var hc = {
6191
6196
  1: "grid-cols-1",
6192
6197
  2: "grid-cols-2",
6193
6198
  3: "grid-cols-3",
@@ -6200,7 +6205,7 @@ var pc = {
6200
6205
  10: "grid-cols-10",
6201
6206
  11: "grid-cols-11",
6202
6207
  12: "grid-cols-12"
6203
- }, mc = {
6208
+ }, gc = {
6204
6209
  1: "sm:grid-cols-1",
6205
6210
  2: "sm:grid-cols-2",
6206
6211
  3: "sm:grid-cols-3",
@@ -6213,7 +6218,7 @@ var pc = {
6213
6218
  10: "sm:grid-cols-10",
6214
6219
  11: "sm:grid-cols-11",
6215
6220
  12: "sm:grid-cols-12"
6216
- }, hc = {
6221
+ }, _c = {
6217
6222
  1: "md:grid-cols-1",
6218
6223
  2: "md:grid-cols-2",
6219
6224
  3: "md:grid-cols-3",
@@ -6226,7 +6231,7 @@ var pc = {
6226
6231
  10: "md:grid-cols-10",
6227
6232
  11: "md:grid-cols-11",
6228
6233
  12: "md:grid-cols-12"
6229
- }, gc = {
6234
+ }, vc = {
6230
6235
  1: "lg:grid-cols-1",
6231
6236
  2: "lg:grid-cols-2",
6232
6237
  3: "lg:grid-cols-3",
@@ -6239,7 +6244,7 @@ var pc = {
6239
6244
  10: "lg:grid-cols-10",
6240
6245
  11: "lg:grid-cols-11",
6241
6246
  12: "lg:grid-cols-12"
6242
- }, _c = {
6247
+ }, yc = {
6243
6248
  1: "xl:grid-cols-1",
6244
6249
  2: "xl:grid-cols-2",
6245
6250
  3: "xl:grid-cols-3",
@@ -6252,7 +6257,7 @@ var pc = {
6252
6257
  10: "xl:grid-cols-10",
6253
6258
  11: "xl:grid-cols-11",
6254
6259
  12: "xl:grid-cols-12"
6255
- }, vc = {
6260
+ }, bc = {
6256
6261
  0: "gap-0",
6257
6262
  1: "gap-1",
6258
6263
  2: "gap-2",
@@ -6269,7 +6274,7 @@ var pc = {
6269
6274
  e.register("grid", ({ schema: e, className: t, ...n }) => {
6270
6275
  let r = 2, i, a, o, s;
6271
6276
  typeof e.columns == "number" ? r = e.columns : typeof e.columns == "object" && e.columns !== null && (r = e.columns.xs ?? 1, i = e.columns.sm, a = e.columns.md, o = e.columns.lg, s = e.columns.xl), e.smColumns && (i = e.smColumns), e.mdColumns && (a = e.mdColumns), e.lgColumns && (o = e.lgColumns), e.xlColumns && (s = e.xlColumns);
6272
- let c = e.gap ?? 4, l = K("grid", pc[r] || "grid-cols-2", i && mc[i], a && hc[a], o && gc[o], s && _c[s], vc[c] || `gap-[${c * .25}rem]`, t), { "data-obj-id": u, "data-obj-type": d, style: f, ...p } = n;
6277
+ let c = e.gap ?? 4, l = K("grid", hc[r] || "grid-cols-2", i && gc[i], a && _c[a], o && vc[o], s && yc[s], bc[c] || `gap-[${c * .25}rem]`, t), { "data-obj-id": u, "data-obj-type": d, style: f, ...p } = n;
6273
6278
  return /* @__PURE__ */ S("div", {
6274
6279
  className: l,
6275
6280
  ...p,
@@ -6459,7 +6464,7 @@ e.register("grid", ({ schema: e, className: t, ...n }) => {
6459
6464
  });
6460
6465
  //#endregion
6461
6466
  //#region src/renderers/layout/stack.tsx
6462
- var yc = h(({ schema: e, className: t, ...n }, r) => {
6467
+ var xc = h(({ schema: e, className: t, ...n }, r) => {
6463
6468
  let i = e.direction || "col", a = e.justify || "start", o = e.align || "stretch", s = e.gap ?? e.spacing ?? 2, c = e.wrap || !1, l = K("flex", i === "row" && "flex-row", i === "col" && "flex-col", i === "row-reverse" && "flex-row-reverse", i === "col-reverse" && "flex-col-reverse", a === "start" && "justify-start", a === "end" && "justify-end", a === "center" && "justify-center", a === "between" && "justify-between", a === "around" && "justify-around", a === "evenly" && "justify-evenly", o === "start" && "items-start", o === "end" && "items-end", o === "center" && "items-center", o === "baseline" && "items-baseline", o === "stretch" && "items-stretch", s === 0 && "gap-0", s === 1 && "gap-1", s === 2 && "gap-1.5 sm:gap-2", s === 3 && "gap-2 sm:gap-3", s === 4 && "gap-2 sm:gap-3 md:gap-4", s === 5 && "gap-3 sm:gap-4 md:gap-5", s === 6 && "gap-3 sm:gap-4 md:gap-6", s === 8 && "gap-4 sm:gap-6 md:gap-8", s === 10 && "gap-5 sm:gap-7 md:gap-10", c && "flex-wrap", t), { "data-obj-id": u, "data-obj-type": d, style: f, ...p } = n;
6464
6469
  return /* @__PURE__ */ S("div", {
6465
6470
  ref: r,
@@ -6471,7 +6476,7 @@ var yc = h(({ schema: e, className: t, ...n }, r) => {
6471
6476
  children: e.children && q(e.children)
6472
6477
  });
6473
6478
  });
6474
- e.register("stack", yc, {
6479
+ e.register("stack", xc, {
6475
6480
  namespace: "ui",
6476
6481
  label: "Stack",
6477
6482
  inputs: [
@@ -6543,7 +6548,7 @@ e.register("stack", yc, {
6543
6548
  });
6544
6549
  //#endregion
6545
6550
  //#region src/renderers/layout/container.tsx
6546
- var bc = h(({ schema: e, className: t, ...n }, r) => {
6551
+ var Sc = h(({ schema: e, className: t, ...n }, r) => {
6547
6552
  let i = e.maxWidth || "xl", a = e.padding || 4, o = e.centered !== !1, s = K("w-full", i === "sm" && "max-w-sm", i === "md" && "max-w-md", i === "lg" && "max-w-lg", i === "xl" && "max-w-xl", i === "2xl" && "max-w-2xl", i === "3xl" && "max-w-3xl", i === "4xl" && "max-w-4xl", i === "5xl" && "max-w-5xl", i === "6xl" && "max-w-6xl", i === "7xl" && "max-w-7xl", i === "full" && "max-w-full", i === "screen" && "max-w-screen-2xl", o && "mx-auto", a === 0 && "p-0", a === 1 && "p-0.5 sm:p-1", a === 2 && "p-1 sm:p-2", a === 3 && "p-2 sm:p-3", a === 4 && "p-2 sm:p-3 md:p-4", a === 5 && "p-3 sm:p-4 md:p-5", a === 6 && "p-3 sm:p-4 md:p-6", a === 7 && "p-4 sm:p-5 md:p-7", a === 8 && "p-4 sm:p-6 md:p-8", a === 10 && "p-5 sm:p-7 md:p-10", a === 12 && "p-6 sm:p-8 md:p-12", a === 16 && "p-8 sm:p-10 md:p-16", t), { "data-obj-id": c, "data-obj-type": l, style: u, ...d } = n;
6548
6553
  return /* @__PURE__ */ S("div", {
6549
6554
  ref: r,
@@ -6555,7 +6560,7 @@ var bc = h(({ schema: e, className: t, ...n }, r) => {
6555
6560
  children: e.children && q(e.children)
6556
6561
  });
6557
6562
  });
6558
- e.register("container", bc, {
6563
+ e.register("container", Sc, {
6559
6564
  namespace: "ui",
6560
6565
  label: "Container",
6561
6566
  inputs: [
@@ -6618,7 +6623,7 @@ e.register("container", bc, {
6618
6623
  });
6619
6624
  //#endregion
6620
6625
  //#region src/renderers/layout/page.tsx
6621
- function xc(e) {
6626
+ function Cc(e) {
6622
6627
  switch (e) {
6623
6628
  case "small": return "w-64";
6624
6629
  case "medium": return "w-80";
@@ -6627,7 +6632,7 @@ function xc(e) {
6627
6632
  default: return e || "w-full";
6628
6633
  }
6629
6634
  }
6630
- function Sc(e) {
6635
+ function wc(e) {
6631
6636
  switch (e) {
6632
6637
  case "utility": return "max-w-4xl";
6633
6638
  case "home": return "max-w-screen-2xl";
@@ -6635,10 +6640,10 @@ function Sc(e) {
6635
6640
  default: return "max-w-7xl";
6636
6641
  }
6637
6642
  }
6638
- function Cc(e, t) {
6643
+ function Tc(e, t) {
6639
6644
  return e?.find((e) => e.name?.toLowerCase() === t.toLowerCase());
6640
6645
  }
6641
- function wc(e, t) {
6646
+ function Ec(e, t) {
6642
6647
  if (!e) return [];
6643
6648
  let n = new Set(t.map((e) => e.toLowerCase()));
6644
6649
  return e.filter((e) => !n.has(e.name?.toLowerCase() ?? ""));
@@ -6650,8 +6655,8 @@ var $ = ({ region: e, className: t }) => {
6650
6655
  "data-region": e.name,
6651
6656
  children: n.map((t, n) => /* @__PURE__ */ S(a, { schema: t }, t?.id || `${e.name}-${n}`))
6652
6657
  });
6653
- }, Tc = ({ regions: e, pageType: t, className: n }) => {
6654
- let r = Cc(e, "header"), i = Cc(e, "sidebar"), a = Cc(e, "main"), o = Cc(e, "aside"), s = Cc(e, "footer"), c = wc(e, [
6658
+ }, Dc = ({ regions: e, pageType: t, className: n }) => {
6659
+ let r = Tc(e, "header"), i = Tc(e, "sidebar"), a = Tc(e, "main"), o = Tc(e, "aside"), s = Tc(e, "footer"), c = Ec(e, [
6655
6660
  "header",
6656
6661
  "sidebar",
6657
6662
  "main",
@@ -6664,13 +6669,13 @@ var $ = ({ region: e, className: t }) => {
6664
6669
  children: [
6665
6670
  r && /* @__PURE__ */ S($, {
6666
6671
  region: r,
6667
- className: K(xc(r.width))
6672
+ className: K(Cc(r.width))
6668
6673
  }),
6669
6674
  /* @__PURE__ */ C("div", {
6670
6675
  className: "flex flex-1 gap-6",
6671
6676
  children: [
6672
6677
  i && /* @__PURE__ */ S("aside", {
6673
- className: K("shrink-0", xc(i.width || "small")),
6678
+ className: K("shrink-0", Cc(i.width || "small")),
6674
6679
  children: /* @__PURE__ */ S($, { region: i })
6675
6680
  }),
6676
6681
  /* @__PURE__ */ C("div", {
@@ -6678,14 +6683,14 @@ var $ = ({ region: e, className: t }) => {
6678
6683
  children: [a && /* @__PURE__ */ S($, { region: a }), c.map((e, t) => /* @__PURE__ */ S($, { region: e }, e.name || `extra-${t}`))]
6679
6684
  }),
6680
6685
  o && /* @__PURE__ */ S("aside", {
6681
- className: K("shrink-0", xc(o.width || "small")),
6686
+ className: K("shrink-0", Cc(o.width || "small")),
6682
6687
  children: /* @__PURE__ */ S($, { region: o })
6683
6688
  })
6684
6689
  ]
6685
6690
  }),
6686
6691
  s && /* @__PURE__ */ S($, {
6687
6692
  region: s,
6688
- className: K(xc(s.width))
6693
+ className: K(Cc(s.width))
6689
6694
  })
6690
6695
  ]
6691
6696
  }) : /* @__PURE__ */ S("div", {
@@ -6693,22 +6698,22 @@ var $ = ({ region: e, className: t }) => {
6693
6698
  "data-page-layout": t,
6694
6699
  children: e.map((e, t) => /* @__PURE__ */ S($, { region: e }, e.name || t))
6695
6700
  });
6696
- }, Ec = ({ schema: e }) => {
6701
+ }, Oc = ({ schema: e }) => {
6697
6702
  let t = e.body || e.children, n = Array.isArray(t) ? t : t ? [t] : [];
6698
6703
  return n.length === 0 ? null : /* @__PURE__ */ S("div", {
6699
6704
  className: "space-y-6",
6700
6705
  children: n.map((e, t) => /* @__PURE__ */ S(a, { schema: e }, e?.id || t))
6701
6706
  });
6702
- }, Dc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Tc, {
6707
+ }, kc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Dc, {
6703
6708
  regions: e.regions,
6704
6709
  pageType: e.pageType
6705
- }) : /* @__PURE__ */ S(Ec, { schema: e }), Oc = {
6706
- default: Dc,
6707
- "full-width": Dc,
6710
+ }) : /* @__PURE__ */ S(Oc, { schema: e }), Ac = {
6711
+ default: kc,
6712
+ "full-width": kc,
6708
6713
  "header-sidebar-main": ({ schema: e }) => {
6709
6714
  let t = e.regions || [];
6710
- if (t.length === 0) return /* @__PURE__ */ S(Ec, { schema: e });
6711
- let n = Cc(t, "header"), r = Cc(t, "sidebar"), i = Cc(t, "main"), a = wc(t, [
6715
+ if (t.length === 0) return /* @__PURE__ */ S(Oc, { schema: e });
6716
+ let n = Tc(t, "header"), r = Tc(t, "sidebar"), i = Tc(t, "main"), a = Ec(t, [
6712
6717
  "header",
6713
6718
  "sidebar",
6714
6719
  "main"
@@ -6719,7 +6724,7 @@ var $ = ({ region: e, className: t }) => {
6719
6724
  children: [n && /* @__PURE__ */ S($, { region: n }), /* @__PURE__ */ C("div", {
6720
6725
  className: "flex flex-1 gap-6",
6721
6726
  children: [r && /* @__PURE__ */ S("aside", {
6722
- className: K("shrink-0", xc(r.width || "medium")),
6727
+ className: K("shrink-0", Cc(r.width || "medium")),
6723
6728
  children: /* @__PURE__ */ S($, { region: r })
6724
6729
  }), /* @__PURE__ */ C("div", {
6725
6730
  className: "flex-1 min-w-0 space-y-6",
@@ -6730,8 +6735,8 @@ var $ = ({ region: e, className: t }) => {
6730
6735
  },
6731
6736
  "three-column": ({ schema: e }) => {
6732
6737
  let t = e.regions || [];
6733
- if (t.length === 0) return /* @__PURE__ */ S(Ec, { schema: e });
6734
- let n = Cc(t, "header"), r = Cc(t, "sidebar"), i = Cc(t, "main"), a = Cc(t, "aside"), o = Cc(t, "footer"), s = wc(t, [
6738
+ if (t.length === 0) return /* @__PURE__ */ S(Oc, { schema: e });
6739
+ let n = Tc(t, "header"), r = Tc(t, "sidebar"), i = Tc(t, "main"), a = Tc(t, "aside"), o = Tc(t, "footer"), s = Ec(t, [
6735
6740
  "header",
6736
6741
  "sidebar",
6737
6742
  "main",
@@ -6747,7 +6752,7 @@ var $ = ({ region: e, className: t }) => {
6747
6752
  className: "flex flex-1 gap-6",
6748
6753
  children: [
6749
6754
  r && /* @__PURE__ */ S("aside", {
6750
- className: K("shrink-0", xc(r.width || "small")),
6755
+ className: K("shrink-0", Cc(r.width || "small")),
6751
6756
  children: /* @__PURE__ */ S($, { region: r })
6752
6757
  }),
6753
6758
  /* @__PURE__ */ C("div", {
@@ -6755,7 +6760,7 @@ var $ = ({ region: e, className: t }) => {
6755
6760
  children: [i && /* @__PURE__ */ S($, { region: i }), s.map((e, t) => /* @__PURE__ */ S($, { region: e }, e.name || `extra-${t}`))]
6756
6761
  }),
6757
6762
  a && /* @__PURE__ */ S("aside", {
6758
- className: K("shrink-0", xc(a.width || "small")),
6763
+ className: K("shrink-0", Cc(a.width || "small")),
6759
6764
  children: /* @__PURE__ */ S($, { region: a })
6760
6765
  })
6761
6766
  ]
@@ -6766,8 +6771,8 @@ var $ = ({ region: e, className: t }) => {
6766
6771
  },
6767
6772
  dashboard: ({ schema: e }) => {
6768
6773
  let t = e.regions || [];
6769
- if (t.length === 0) return /* @__PURE__ */ S(Ec, { schema: e });
6770
- let n = Cc(t, "header"), r = Cc(t, "footer"), i = wc(t, ["header", "footer"]);
6774
+ if (t.length === 0) return /* @__PURE__ */ S(Oc, { schema: e });
6775
+ let n = Tc(t, "header"), r = Tc(t, "footer"), i = Ec(t, ["header", "footer"]);
6771
6776
  return /* @__PURE__ */ C("div", {
6772
6777
  className: "flex flex-col gap-6",
6773
6778
  "data-template": "dashboard",
@@ -6782,30 +6787,30 @@ var $ = ({ region: e, className: t }) => {
6782
6787
  });
6783
6788
  }
6784
6789
  };
6785
- function kc(e) {
6786
- return e.template && Oc[e.template] || null;
6790
+ function jc(e) {
6791
+ return e.template && Ac[e.template] || null;
6787
6792
  }
6788
- var Ac = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Tc, {
6793
+ var Mc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Dc, {
6789
6794
  regions: e.regions,
6790
6795
  pageType: "record"
6791
- }) : /* @__PURE__ */ S(Ec, { schema: e }), jc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Tc, {
6796
+ }) : /* @__PURE__ */ S(Oc, { schema: e }), Nc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Dc, {
6792
6797
  regions: e.regions,
6793
6798
  pageType: "home"
6794
- }) : /* @__PURE__ */ S(Ec, { schema: e }), Mc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Tc, {
6799
+ }) : /* @__PURE__ */ S(Oc, { schema: e }), Pc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Dc, {
6795
6800
  regions: e.regions,
6796
6801
  pageType: "app"
6797
- }) : /* @__PURE__ */ S(Ec, { schema: e }), Nc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Tc, {
6802
+ }) : /* @__PURE__ */ S(Oc, { schema: e }), Fc = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */ S(Dc, {
6798
6803
  regions: e.regions,
6799
6804
  pageType: "utility"
6800
- }) : /* @__PURE__ */ S(Ec, { schema: e }), Pc = ({ schema: e, className: t, ...n }) => {
6805
+ }) : /* @__PURE__ */ S(Oc, { schema: e }), Ic = ({ schema: e, className: t, ...n }) => {
6801
6806
  let r = e.pageType || "record", { "data-obj-id": a, "data-obj-type": o, style: s, ...c } = n, l = v(() => {
6802
- let t = kc(e);
6807
+ let t = jc(e);
6803
6808
  if (t) return /* @__PURE__ */ S(t, { schema: e });
6804
6809
  switch (r) {
6805
- case "home": return /* @__PURE__ */ S(jc, { schema: e });
6806
- case "app": return /* @__PURE__ */ S(Mc, { schema: e });
6807
- case "utility": return /* @__PURE__ */ S(Nc, { schema: e });
6808
- default: return /* @__PURE__ */ S(Ac, { schema: e });
6810
+ case "home": return /* @__PURE__ */ S(Nc, { schema: e });
6811
+ case "app": return /* @__PURE__ */ S(Pc, { schema: e });
6812
+ case "utility": return /* @__PURE__ */ S(Fc, { schema: e });
6813
+ default: return /* @__PURE__ */ S(Mc, { schema: e });
6809
6814
  }
6810
6815
  }, [e, r]), u = /* @__PURE__ */ S("div", {
6811
6816
  className: K("min-h-full w-full bg-background p-4 md:p-6 lg:p-8", t),
@@ -6815,7 +6820,7 @@ var Ac = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */
6815
6820
  style: s,
6816
6821
  ...c,
6817
6822
  children: /* @__PURE__ */ C("div", {
6818
- className: K("mx-auto space-y-8", Sc(r)),
6823
+ className: K("mx-auto space-y-8", wc(r)),
6819
6824
  children: [(e.title || e.description) && /* @__PURE__ */ C("div", {
6820
6825
  className: "space-y-2",
6821
6826
  children: [e.title && /* @__PURE__ */ S("h1", {
@@ -6832,7 +6837,7 @@ var Ac = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */
6832
6837
  definitions: e.variables,
6833
6838
  children: u
6834
6839
  }) : u;
6835
- }, Fc = {
6840
+ }, Lc = {
6836
6841
  namespace: "ui",
6837
6842
  label: "Page",
6838
6843
  icon: "Layout",
@@ -6883,17 +6888,17 @@ var Ac = ({ schema: e }) => e.regions && e.regions.length > 0 ? /* @__PURE__ */
6883
6888
  }
6884
6889
  ]
6885
6890
  };
6886
- e.register("page", Pc, Fc), e.register("app", Pc, {
6887
- ...Fc,
6891
+ e.register("page", Ic, Lc), e.register("app", Ic, {
6892
+ ...Lc,
6888
6893
  label: "App Page"
6889
- }), e.register("utility", Pc, {
6890
- ...Fc,
6894
+ }), e.register("utility", Ic, {
6895
+ ...Lc,
6891
6896
  label: "Utility Page"
6892
- }), e.register("home", Pc, {
6893
- ...Fc,
6897
+ }), e.register("home", Ic, {
6898
+ ...Lc,
6894
6899
  label: "Home Page"
6895
- }), e.register("record", Pc, {
6896
- ...Fc,
6900
+ }), e.register("record", Ic, {
6901
+ ...Lc,
6897
6902
  label: "Record Page"
6898
6903
  }), [
6899
6904
  "aside",
@@ -7148,7 +7153,7 @@ e.register("page", Pc, Fc), e.register("app", Pc, {
7148
7153
  });
7149
7154
  //#endregion
7150
7155
  //#region src/renderers/navigation/header-bar.tsx
7151
- function Ic({ crumb: e, isLast: t }) {
7156
+ function Rc({ crumb: e, isLast: t }) {
7152
7157
  let n = s(e.label) ?? "";
7153
7158
  return e.siblings && e.siblings.length > 0 ? /* @__PURE__ */ C(Ar, { children: [/* @__PURE__ */ C(jr, {
7154
7159
  className: "flex items-center gap-1",
@@ -7180,7 +7185,7 @@ e.register("header-bar", ({ schema: e }) => /* @__PURE__ */ C("header", {
7180
7185
  orientation: "vertical",
7181
7186
  className: "mr-2 h-4"
7182
7187
  }),
7183
- /* @__PURE__ */ S(rn, { children: /* @__PURE__ */ S(an, { children: e.crumbs?.map((t, n) => /* @__PURE__ */ C(m.Fragment, { children: [/* @__PURE__ */ S(on, { children: /* @__PURE__ */ S(Ic, {
7188
+ /* @__PURE__ */ S(rn, { children: /* @__PURE__ */ S(an, { children: e.crumbs?.map((t, n) => /* @__PURE__ */ C(m.Fragment, { children: [/* @__PURE__ */ S(on, { children: /* @__PURE__ */ S(Rc, {
7184
7189
  crumb: t,
7185
7190
  isLast: n === e.crumbs.length - 1
7186
7191
  }) }), n < e.crumbs.length - 1 && /* @__PURE__ */ S(ln, {})] }, n)) }) }),
@@ -7408,7 +7413,7 @@ e.register("header-bar", ({ schema: e }) => /* @__PURE__ */ C("header", {
7408
7413
  });
7409
7414
  //#endregion
7410
7415
  //#region src/renderers/data-display/tree-view.tsx
7411
- var Lc = ({ node: e, onNodeClick: t }) => {
7416
+ var zc = ({ node: e, onNodeClick: t }) => {
7412
7417
  let [n, r] = b(!1), i = e.children && e.children.length > 0;
7413
7418
  return /* @__PURE__ */ C("div", {
7414
7419
  className: "relative",
@@ -7436,7 +7441,7 @@ var Lc = ({ node: e, onNodeClick: t }) => {
7436
7441
  ]
7437
7442
  }), i && n && /* @__PURE__ */ S("div", {
7438
7443
  className: "relative ml-[11px] pl-3 border-l border-border animate-in slide-in-from-left-2 fade-in duration-200",
7439
- children: e.children.map((e) => /* @__PURE__ */ S(Lc, {
7444
+ children: e.children.map((e) => /* @__PURE__ */ S(zc, {
7440
7445
  node: e,
7441
7446
  onNodeClick: t
7442
7447
  }, e.id))
@@ -7458,7 +7463,7 @@ e.register("tree-view", ({ schema: e, className: t, ...n }) => {
7458
7463
  })
7459
7464
  }), /* @__PURE__ */ S("div", {
7460
7465
  className: "space-y-1",
7461
- children: a.map((e) => /* @__PURE__ */ S(Lc, {
7466
+ children: a.map((e) => /* @__PURE__ */ S(zc, {
7462
7467
  node: e,
7463
7468
  onNodeClick: r
7464
7469
  }, e.id))
@@ -7531,40 +7536,40 @@ e.register("tree-view", ({ schema: e, className: t, ...n }) => {
7531
7536
  });
7532
7537
  //#endregion
7533
7538
  //#region src/lib/lazy-icon.tsx
7534
- function Rc(e) {
7535
- return e.includes("-") ? e.toLowerCase() : e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1-$2").toLowerCase();
7536
- }
7537
- var zc = new Set(Ot);
7538
7539
  function Bc(e) {
7539
- return zc.has(e);
7540
+ return e.includes("-") ? e.toLowerCase() : e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1-$2").toLowerCase();
7540
7541
  }
7541
- var Vc = /* @__PURE__ */ new Map();
7542
+ var Vc = new Set(Ot);
7542
7543
  function Hc(e) {
7544
+ return Vc.has(e);
7545
+ }
7546
+ var Uc = /* @__PURE__ */ new Map();
7547
+ function Wc(e) {
7543
7548
  if (!e) return fe;
7544
- let t = Vc.get(e);
7549
+ let t = Uc.get(e);
7545
7550
  if (t) return t;
7546
- let n = Rc(e);
7547
- if (!Bc(n)) return Vc.set(e, fe), fe;
7551
+ let n = Bc(e);
7552
+ if (!Hc(n)) return Uc.set(e, fe), fe;
7548
7553
  let r = (e) => m.createElement(Dt, {
7549
7554
  name: n,
7550
7555
  fallback: fe,
7551
7556
  ...e
7552
7557
  });
7553
- return r.displayName = `LucideIcon(${e})`, Vc.set(e, r), r;
7558
+ return r.displayName = `LucideIcon(${e})`, Uc.set(e, r), r;
7554
7559
  }
7555
- var Uc = ({ name: e, ...t }) => {
7560
+ var Gc = ({ name: e, ...t }) => {
7556
7561
  if (!e) return m.createElement(fe, t);
7557
- let n = Rc(e);
7558
- return Bc(n) ? m.createElement(Dt, {
7562
+ let n = Bc(e);
7563
+ return Hc(n) ? m.createElement(Dt, {
7559
7564
  name: n,
7560
7565
  fallback: fe,
7561
7566
  ...t
7562
7567
  }) : m.createElement(fe, t);
7563
- }, Wc = (e) => e ? Hc(e) : null;
7568
+ }, Kc = (e) => e ? Wc(e) : null;
7564
7569
  //#endregion
7565
7570
  //#region src/renderers/overlay/hover-card.tsx
7566
7571
  e.register("statistic", ({ schema: e }) => {
7567
- let t = e.icon ? Wc(e.icon) : null;
7572
+ let t = e.icon ? Kc(e.icon) : null;
7568
7573
  return /* @__PURE__ */ C("div", {
7569
7574
  className: K("group relative flex flex-col p-4 sm:p-5 md:p-6 rounded-xl border bg-card text-card-foreground shadow-sm", e.className),
7570
7575
  children: [
@@ -7785,7 +7790,7 @@ e.register("statistic", ({ schema: e }) => {
7785
7790
  }), e.register("loading", ({ schema: e, className: t, ...n }) => {
7786
7791
  let r = e.size || "md", i = e.fullscreen || !1, a = /* @__PURE__ */ C("div", {
7787
7792
  className: K("flex flex-col items-center justify-center gap-2", t),
7788
- children: [/* @__PURE__ */ S(Xs, { className: K(r === "sm" && "h-4 w-4", r === "md" && "h-8 w-8", r === "lg" && "h-12 w-12", r === "xl" && "h-16 w-16") }), e.text && /* @__PURE__ */ S("p", {
7793
+ children: [/* @__PURE__ */ S(Qs, { className: K(r === "sm" && "h-4 w-4", r === "md" && "h-8 w-8", r === "lg" && "h-12 w-12", r === "xl" && "h-16 w-16") }), e.text && /* @__PURE__ */ S("p", {
7789
7794
  className: "text-sm text-muted-foreground",
7790
7795
  children: e.text
7791
7796
  })]
@@ -8574,13 +8579,13 @@ e.register("statistic", ({ schema: e }) => {
8574
8579
  });
8575
8580
  //#endregion
8576
8581
  //#region src/renderers/overlay/dropdown-menu.tsx
8577
- var Gc = (e) => e ? e.map((e, t) => e.type === "separator" ? /* @__PURE__ */ S(Ur, {}, t) : e.type === "label" ? /* @__PURE__ */ S(Hr, { children: e.label }, t) : e.children ? /* @__PURE__ */ C(Pr, { children: [/* @__PURE__ */ C(Ir, {
8582
+ var qc = (e) => e ? e.map((e, t) => e.type === "separator" ? /* @__PURE__ */ S(Ur, {}, t) : e.type === "label" ? /* @__PURE__ */ S(Hr, { children: e.label }, t) : e.children ? /* @__PURE__ */ C(Pr, { children: [/* @__PURE__ */ C(Ir, {
8578
8583
  inset: e.inset,
8579
8584
  children: [e.icon && /* @__PURE__ */ S("span", {
8580
8585
  className: "mr-2",
8581
8586
  children: e.icon
8582
8587
  }), e.label]
8583
- }), /* @__PURE__ */ S(Lr, { children: Gc(e.children) })] }, t) : /* @__PURE__ */ C(zr, {
8588
+ }), /* @__PURE__ */ S(Lr, { children: qc(e.children) })] }, t) : /* @__PURE__ */ C(zr, {
8584
8589
  disabled: e.disabled,
8585
8590
  inset: e.inset,
8586
8591
  onSelect: e.onSelect,
@@ -8610,7 +8615,7 @@ e.register("dropdown-menu", ({ schema: e, className: t, ...n }) => /* @__PURE__
8610
8615
  children: [
8611
8616
  e.label && /* @__PURE__ */ S(Hr, { children: e.label }),
8612
8617
  e.label && /* @__PURE__ */ S(Ur, {}),
8613
- Gc(e.items)
8618
+ qc(e.items)
8614
8619
  ]
8615
8620
  })]
8616
8621
  }), {
@@ -8678,10 +8683,10 @@ e.register("dropdown-menu", ({ schema: e, className: t, ...n }) => /* @__PURE__
8678
8683
  });
8679
8684
  //#endregion
8680
8685
  //#region src/renderers/overlay/context-menu.tsx
8681
- var Kc = (e) => e ? e.map((e, t) => e.type === "separator" ? /* @__PURE__ */ S(vr, {}, t) : e.type === "label" ? /* @__PURE__ */ S(_r, { children: e.label }, t) : e.children ? /* @__PURE__ */ C(lr, { children: [/* @__PURE__ */ S(dr, {
8686
+ var Jc = (e) => e ? e.map((e, t) => e.type === "separator" ? /* @__PURE__ */ S(vr, {}, t) : e.type === "label" ? /* @__PURE__ */ S(_r, { children: e.label }, t) : e.children ? /* @__PURE__ */ C(lr, { children: [/* @__PURE__ */ S(dr, {
8682
8687
  inset: e.inset,
8683
8688
  children: e.label
8684
- }), /* @__PURE__ */ S(fr, { children: Kc(e.children) })] }, t) : /* @__PURE__ */ C(mr, {
8689
+ }), /* @__PURE__ */ S(fr, { children: Jc(e.children) })] }, t) : /* @__PURE__ */ C(mr, {
8685
8690
  disabled: e.disabled,
8686
8691
  inset: e.inset,
8687
8692
  onSelect: e.onSelect,
@@ -8705,7 +8710,7 @@ e.register("context-menu", ({ schema: e, className: t, ...n }) => {
8705
8710
  })
8706
8711
  }), /* @__PURE__ */ S(pr, {
8707
8712
  className: i,
8708
- children: Kc(e.items)
8713
+ children: Jc(e.items)
8709
8714
  })]
8710
8715
  });
8711
8716
  }, {
@@ -9046,7 +9051,7 @@ e.register("context-menu", ({ schema: e, className: t, ...n }) => {
9046
9051
  children: [e.label && /* @__PURE__ */ S("label", {
9047
9052
  className: "text-sm font-medium mb-2 block",
9048
9053
  children: e.label
9049
- }), /* @__PURE__ */ S(ps, {
9054
+ }), /* @__PURE__ */ S(hs, {
9050
9055
  fields: e.fields || [],
9051
9056
  value: e.value || r.value,
9052
9057
  onChange: (t) => {
@@ -9344,7 +9349,7 @@ e.register("context-menu", ({ schema: e, className: t, ...n }) => {
9344
9349
  });
9345
9350
  //#endregion
9346
9351
  //#region src/renderers/complex/data-table.tsx
9347
- var qc = {
9352
+ var Yc = {
9348
9353
  "table.rowsPerPage": "Rows per page",
9349
9354
  "table.pageInfo": "Page {{current}} of {{total}}",
9350
9355
  "table.totalRecords": "{{count}} total",
@@ -9365,12 +9370,12 @@ var qc = {
9365
9370
  "table.delete": "Delete",
9366
9371
  "common.actions": "Actions"
9367
9372
  };
9368
- function Jc() {
9373
+ function Xc() {
9369
9374
  try {
9370
9375
  let e = f();
9371
9376
  return e.t("table.rowsPerPage") === "table.rowsPerPage" ? {
9372
9377
  t: (e, t) => {
9373
- let n = qc[e] || e;
9378
+ let n = Yc[e] || e;
9374
9379
  if (t) for (let [e, r] of Object.entries(t)) n = n.replace(`{{${e}}}`, String(r));
9375
9380
  return n;
9376
9381
  },
@@ -9382,7 +9387,7 @@ function Jc() {
9382
9387
  } catch {
9383
9388
  return {
9384
9389
  t: (e, t) => {
9385
- let n = qc[e] || e;
9390
+ let n = Yc[e] || e;
9386
9391
  if (t) for (let [e, r] of Object.entries(t)) n = n.replace(`{{${e}}}`, String(r));
9387
9392
  return n;
9388
9393
  },
@@ -9391,7 +9396,7 @@ function Jc() {
9391
9396
  }
9392
9397
  }
9393
9398
  e.register("data-table", ({ schema: t }) => {
9394
- let { caption: n, columns: r = [], data: i = [], pagination: a = !0, pageSize: o = 10, searchable: s = !0, selectable: c = !1, sortable: l = !0, exportable: u = !1, rowActions: d = !1, resizableColumns: f = !0, reorderableColumns: p = !0, editable: h = !1, singleClickEdit: g = !1, selectionStyle: w = "always", rowClassName: T, rowStyle: E, className: D, cellClassName: O, frozenColumns: k = 0, showRowNumbers: A = !1, showAddRow: ee = !1, borderless: j = !1 } = t, { t: M, language: te } = Jc(), re = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?(?:Z|[+-]\d{2}:?\d{2})?)?$/, ae = m.useCallback((e) => {
9399
+ let { caption: n, columns: r = [], data: i = [], pagination: a = !0, pageSize: o = 10, searchable: s = !0, selectable: c = !1, sortable: l = !0, exportable: u = !1, rowActions: d = !1, resizableColumns: f = !0, reorderableColumns: p = !0, editable: h = !1, singleClickEdit: g = !1, selectionStyle: w = "always", rowClassName: T, rowStyle: E, className: D, cellClassName: O, frozenColumns: k = 0, showRowNumbers: A = !1, showAddRow: ee = !1, borderless: j = !1 } = t, { t: M, language: te } = Xc(), re = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?(?:Z|[+-]\d{2}:?\d{2})?)?$/, ae = m.useCallback((e) => {
9395
9400
  if (typeof e != "string" || e.length < 8 || !re.test(e)) return e;
9396
9401
  let t = Date.parse(e);
9397
9402
  if (Number.isNaN(t)) return e;
@@ -10206,19 +10211,19 @@ e.register("data-table", ({ schema: t }) => {
10206
10211
  });
10207
10212
  //#endregion
10208
10213
  //#region src/renderers/action/resolve-icon.ts
10209
- function Yc(e) {
10214
+ function Zc(e) {
10210
10215
  return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join("");
10211
10216
  }
10212
- var Xc = { Home: "House" };
10213
- function Zc(e) {
10217
+ var Qc = { Home: "House" };
10218
+ function $c(e) {
10214
10219
  if (!e) return null;
10215
- let t = Yc(e);
10216
- return Ue[Xc[t] || t] ?? null;
10220
+ let t = Zc(e);
10221
+ return Ue[Qc[t] || t] ?? null;
10217
10222
  }
10218
10223
  //#endregion
10219
10224
  //#region src/renderers/action/action-button.tsx
10220
- var Qc = h(({ schema: e, className: t, context: n, ...r }, i) => {
10221
- let { "data-obj-id": a, "data-obj-type": o, style: s, data: d, ...f } = r, { execute: p } = l(), [m, h] = b(!1), _ = typeof d == "object" && d ? d : {}, v = u(c(e.visible), _), y = u(c(e.enabled), _), x = Zc(e.icon), w = e.variant === "primary" ? "default" : e.variant || "default", T = e.size === "md" ? "default" : e.size || "default", E = g(async () => {
10225
+ var el = h(({ schema: e, className: t, context: n, ...r }, i) => {
10226
+ let { "data-obj-id": a, "data-obj-type": o, style: s, data: d, ...f } = r, { execute: p } = l(), [m, h] = b(!1), _ = typeof d == "object" && d ? d : {}, v = u(c(e.visible), _), y = u(c(e.enabled), _), x = $c(e.icon), w = e.variant === "primary" ? "default" : e.variant || "default", T = e.size === "md" ? "default" : e.size || "default", E = g(async () => {
10222
10227
  if (!m) {
10223
10228
  h(!0);
10224
10229
  try {
@@ -10267,7 +10272,7 @@ var Qc = h(({ schema: e, className: t, context: n, ...r }, i) => {
10267
10272
  ]
10268
10273
  });
10269
10274
  });
10270
- Qc.displayName = "ActionButtonRenderer", e.register("action:button", Qc, {
10275
+ el.displayName = "ActionButtonRenderer", e.register("action:button", el, {
10271
10276
  namespace: "action",
10272
10277
  label: "Action Button",
10273
10278
  inputs: [
@@ -10346,8 +10351,8 @@ Qc.displayName = "ActionButtonRenderer", e.register("action:button", Qc, {
10346
10351
  });
10347
10352
  //#endregion
10348
10353
  //#region src/renderers/action/action-icon.tsx
10349
- var $c = h(({ schema: e, className: t, context: n, ...r }, i) => {
10350
- let { "data-obj-id": a, "data-obj-type": o, style: s, ...d } = r, { execute: f } = l(), [p, m] = b(!1), h = u(c(e.visible)), _ = u(c(e.enabled)), v = Zc(e.icon), y = e.variant === "primary" ? "default" : e.variant || "ghost", x = g(async () => {
10354
+ var tl = h(({ schema: e, className: t, context: n, ...r }, i) => {
10355
+ let { "data-obj-id": a, "data-obj-type": o, style: s, ...d } = r, { execute: f } = l(), [p, m] = b(!1), h = u(c(e.visible)), _ = u(c(e.enabled)), v = $c(e.icon), y = e.variant === "primary" ? "default" : e.variant || "ghost", x = g(async () => {
10351
10356
  if (!p) {
10352
10357
  m(!0);
10353
10358
  try {
@@ -10403,7 +10408,7 @@ var $c = h(({ schema: e, className: t, context: n, ...r }, i) => {
10403
10408
  }), /* @__PURE__ */ S(wa, { children: /* @__PURE__ */ S("p", { children: e.label || e.description }) })] })
10404
10409
  }) : w;
10405
10410
  });
10406
- $c.displayName = "ActionIconRenderer", e.register("action:icon", $c, {
10411
+ tl.displayName = "ActionIconRenderer", e.register("action:icon", tl, {
10407
10412
  namespace: "action",
10408
10413
  label: "Action Icon",
10409
10414
  inputs: [
@@ -10468,7 +10473,7 @@ $c.displayName = "ActionIconRenderer", e.register("action:icon", $c, {
10468
10473
  });
10469
10474
  //#endregion
10470
10475
  //#region src/renderers/action/action-menu.tsx
10471
- function el() {
10476
+ function nl() {
10472
10477
  try {
10473
10478
  let { t: e } = Tt(), t = e("detail.moreActions");
10474
10479
  return !t || t === "detail.moreActions" ? "More actions" : t;
@@ -10476,9 +10481,9 @@ function el() {
10476
10481
  return "More actions";
10477
10482
  }
10478
10483
  }
10479
- var tl = ({ action: e, onExecute: t }) => {
10484
+ var rl = ({ action: e, onExecute: t }) => {
10480
10485
  let n = u(c(e.visible)), r = u(c(e.enabled)), i = v(() => {
10481
- let t = Zc(e.icon);
10486
+ let t = $c(e.icon);
10482
10487
  return t ? /* @__PURE__ */ S(t, { className: "mr-2 h-4 w-4" }) : null;
10483
10488
  }, [e.icon]);
10484
10489
  return e.visible && !n ? null : /* @__PURE__ */ C(zr, {
@@ -10490,9 +10495,9 @@ var tl = ({ action: e, onExecute: t }) => {
10490
10495
  children: [i, /* @__PURE__ */ S("span", { children: e.label || e.name })]
10491
10496
  });
10492
10497
  };
10493
- tl.displayName = "ActionMenuItem";
10494
- var nl = h(({ schema: e, className: t, ...n }, r) => {
10495
- let { "data-obj-id": i, "data-obj-type": a, style: o, ...s } = n, { execute: d } = l(), [f, p] = b(!1), h = el(), _ = u(c(e.visible)), v = Zc(e.icon) || Ee, y = e.variant || "ghost", w = e.size || "icon", T = g(async (e) => {
10498
+ rl.displayName = "ActionMenuItem";
10499
+ var il = h(({ schema: e, className: t, ...n }, r) => {
10500
+ let { "data-obj-id": i, "data-obj-type": a, style: o, ...s } = n, { execute: d } = l(), [f, p] = b(!1), h = nl(), _ = u(c(e.visible)), v = $c(e.icon) || Ee, y = e.variant || "ghost", w = e.size || "icon", T = g(async (e) => {
10496
10501
  p(!0);
10497
10502
  try {
10498
10503
  if (typeof e.onClick == "function") {
@@ -10539,14 +10544,14 @@ var nl = h(({ schema: e, className: t, ...n }, r) => {
10539
10544
  align: "end",
10540
10545
  children: E.map((e, t) => {
10541
10546
  let n = e.tags?.includes("separator-before") && t > 0;
10542
- return /* @__PURE__ */ C(m.Fragment, { children: [n && /* @__PURE__ */ S(Ur, {}), /* @__PURE__ */ S(tl, {
10547
+ return /* @__PURE__ */ C(m.Fragment, { children: [n && /* @__PURE__ */ S(Ur, {}), /* @__PURE__ */ S(rl, {
10543
10548
  action: e,
10544
10549
  onExecute: T
10545
10550
  })] }, e.name || t);
10546
10551
  })
10547
10552
  })] });
10548
10553
  });
10549
- nl.displayName = "ActionMenuRenderer", e.register("action:menu", nl, {
10554
+ il.displayName = "ActionMenuRenderer", e.register("action:menu", il, {
10550
10555
  namespace: "action",
10551
10556
  label: "Action Menu",
10552
10557
  inputs: [
@@ -10591,8 +10596,8 @@ nl.displayName = "ActionMenuRenderer", e.register("action:menu", nl, {
10591
10596
  });
10592
10597
  //#endregion
10593
10598
  //#region src/renderers/action/action-group.tsx
10594
- var rl = ({ action: e, variant: t, size: n, onExecute: r }) => {
10595
- let [i, a] = b(!1), o = u(c(e.visible)), s = u(c(e.enabled)), l = Zc(e.icon), d = e.variant === "primary" ? "default" : e.variant || t || "outline", f = e.size === "md" ? "default" : e.size || n || "sm", p = g(async () => {
10599
+ var al = ({ action: e, variant: t, size: n, onExecute: r }) => {
10600
+ let [i, a] = b(!1), o = u(c(e.visible)), s = u(c(e.enabled)), l = $c(e.icon), d = e.variant === "primary" ? "default" : e.variant || t || "outline", f = e.size === "md" ? "default" : e.size || n || "sm", p = g(async () => {
10596
10601
  if (!i) {
10597
10602
  a(!0);
10598
10603
  try {
@@ -10620,8 +10625,8 @@ var rl = ({ action: e, variant: t, size: n, onExecute: r }) => {
10620
10625
  ]
10621
10626
  });
10622
10627
  };
10623
- rl.displayName = "InlineActionButton";
10624
- var il = h(({ schema: e, className: t, ...n }, r) => {
10628
+ al.displayName = "InlineActionButton";
10629
+ var ol = h(({ schema: e, className: t, ...n }, r) => {
10625
10630
  let { "data-obj-id": i, "data-obj-type": a, style: o, ...s } = n, { execute: d } = l(), [f, p] = b(!1), h = u(c(e.visible)), _ = e.actions || [];
10626
10631
  e.location && (_ = _.filter((t) => !t.locations || t.locations.includes(e.location)));
10627
10632
  let v = g(async (e) => {
@@ -10642,7 +10647,7 @@ var il = h(({ schema: e, className: t, ...n }, r) => {
10642
10647
  }, [d]);
10643
10648
  if (e.visible && !h || _.length === 0) return null;
10644
10649
  if ((e.display || "inline") === "dropdown") {
10645
- let n = Zc(e.icon);
10650
+ let n = $c(e.icon);
10646
10651
  return /* @__PURE__ */ C(Ar, { children: [/* @__PURE__ */ S(jr, {
10647
10652
  asChild: !0,
10648
10653
  children: /* @__PURE__ */ C(J, {
@@ -10664,7 +10669,7 @@ var il = h(({ schema: e, className: t, ...n }, r) => {
10664
10669
  }), /* @__PURE__ */ S(Rr, {
10665
10670
  align: "end",
10666
10671
  children: _.map((e, t) => {
10667
- let n = Zc(e.icon), r = e.tags?.includes("separator-before") && t > 0;
10672
+ let n = $c(e.icon), r = e.tags?.includes("separator-before") && t > 0;
10668
10673
  return /* @__PURE__ */ C(m.Fragment, { children: [r && /* @__PURE__ */ S(Ur, {}), /* @__PURE__ */ C(zr, {
10669
10674
  onSelect: async (t) => {
10670
10675
  t.preventDefault(), p(!0);
@@ -10687,7 +10692,7 @@ var il = h(({ schema: e, className: t, ...n }, r) => {
10687
10692
  "data-obj-id": i,
10688
10693
  "data-obj-type": a,
10689
10694
  style: o,
10690
- children: _.map((t) => /* @__PURE__ */ S(rl, {
10695
+ children: _.map((t) => /* @__PURE__ */ S(al, {
10691
10696
  action: t,
10692
10697
  variant: e.variant,
10693
10698
  size: e.size,
@@ -10695,7 +10700,7 @@ var il = h(({ schema: e, className: t, ...n }, r) => {
10695
10700
  }, t.name))
10696
10701
  });
10697
10702
  });
10698
- il.displayName = "ActionGroupRenderer", e.register("action:group", il, {
10703
+ ol.displayName = "ActionGroupRenderer", e.register("action:group", ol, {
10699
10704
  namespace: "action",
10700
10705
  label: "Action Group",
10701
10706
  inputs: [
@@ -10765,7 +10770,7 @@ il.displayName = "ActionGroupRenderer", e.register("action:group", il, {
10765
10770
  });
10766
10771
  //#endregion
10767
10772
  //#region src/renderers/action/action-bar.tsx
10768
- function al() {
10773
+ function sl() {
10769
10774
  try {
10770
10775
  let { t: e } = Tt(), t = e("common.actions");
10771
10776
  return !t || t === "common.actions" ? "Actions" : t;
@@ -10773,8 +10778,8 @@ function al() {
10773
10778
  return "Actions";
10774
10779
  }
10775
10780
  }
10776
- var ol = h(({ schema: t, className: n, ...r }, i) => {
10777
- let a = al(), { "data-obj-id": o, "data-obj-type": s, style: l, data: d, actions: f, systemActions: p, location: m, maxVisible: h, mobileMaxVisible: g, direction: _, gap: y, variant: b, size: x, visible: w, ...T } = r, E = u(c(t.visible)), D = ba(), O = v(() => {
10781
+ var cl = h(({ schema: t, className: n, ...r }, i) => {
10782
+ let a = sl(), { "data-obj-id": o, "data-obj-type": s, style: l, data: d, actions: f, systemActions: p, location: m, maxVisible: h, mobileMaxVisible: g, direction: _, gap: y, variant: b, size: x, visible: w, ...T } = r, E = u(c(t.visible)), D = ba(), O = v(() => {
10778
10783
  let e = t.actions || [], n = t.location ? e.filter((e) => !e.locations || e.locations.length === 0 || e.locations.includes(t.location)) : e, r = /* @__PURE__ */ new Set();
10779
10784
  return n.filter((e) => e.name ? r.has(e.name) ? !1 : (r.add(e.name), !0) : !0);
10780
10785
  }, [t.actions, t.location]), k = v(() => {
@@ -10830,7 +10835,7 @@ var ol = h(({ schema: t, className: n, ...r }, i) => {
10830
10835
  }), M.length > 0 && re]
10831
10836
  });
10832
10837
  });
10833
- ol.displayName = "ActionBarRenderer", e.register("action:bar", ol, {
10838
+ cl.displayName = "ActionBarRenderer", e.register("action:bar", cl, {
10834
10839
  namespace: "action",
10835
10840
  label: "Action Bar",
10836
10841
  inputs: [
@@ -10910,7 +10915,7 @@ ol.displayName = "ActionBarRenderer", e.register("action:bar", ol, {
10910
10915
  });
10911
10916
  //#endregion
10912
10917
  //#region src/renderers/placeholders.tsx
10913
- var sl = ({ schema: e, className: t }) => {
10918
+ var ll = ({ schema: e, className: t }) => {
10914
10919
  let n = e.type, r = n.startsWith("view:"), i = n.startsWith("widget:"), a = n.startsWith("field:");
10915
10920
  return /* @__PURE__ */ C("div", {
10916
10921
  className: K("flex flex-col items-center justify-center p-6 border-2 border-dashed rounded-lg bg-muted/30 transition-colors hover:bg-muted/50", r && "border-blue-300 bg-blue-50/50 min-h-[200px]", i && "border-purple-300 bg-purple-50/50 min-h-[150px]", a && "border-yellow-300 bg-yellow-50/50 p-2 min-h-[40px] flex-row gap-2 justify-start", t),
@@ -10937,15 +10942,15 @@ var sl = ({ schema: e, className: t }) => {
10937
10942
  })]
10938
10943
  })]
10939
10944
  });
10940
- }, cl = /* @__PURE__ */ "view:grid.view:kanban.view:map.view:calendar.view:gantt.view:timeline.view:gallery.view:simple.view:wizard.view:tabbed.view:drawer.view:modal.view:split.field:text.field:textarea.field:password.field:email.field:url.field:phone.field:markdown.field:html.field:code.field:number.field:currency.field:percent.field:slider.field:boolean.field:checkboxes.field:select.field:multiselect.field:radio.field:date.field:datetime.field:time.field:duration.field:lookup.field:master_detail.field:tree.field:image.field:file.field:video.field:audio.field:avatar.field:color.field:rating.field:signature.field:qrcode.field:progress.field:json.field:address.field:location.page:header.page-header.page:footer.page:tabs.page:accordion.page:card.page:sidebar.record:details.record:highlights.record:related_list.record:activity.record:chatter.record:path.app:launcher.nav:menu.nav:breadcrumb.global:search.global:notifications.user:profile.widget:metric.widget:bar.widget:line.widget:pie.widget:funnel.widget:radar.widget:scatter.widget:heatmap.widget:pivot.widget:table.widget:text.widget:image.ai:chat_window.ai:input.ai:suggestion.ai:feedback".split(".");
10941
- function ll() {
10942
- cl.forEach((t) => {
10943
- e.get(t) || e.register(t, sl);
10945
+ }, ul = /* @__PURE__ */ "view:grid.view:kanban.view:map.view:calendar.view:gantt.view:timeline.view:gallery.view:simple.view:wizard.view:tabbed.view:drawer.view:modal.view:split.field:text.field:textarea.field:password.field:email.field:url.field:phone.field:markdown.field:html.field:code.field:number.field:currency.field:percent.field:slider.field:boolean.field:checkboxes.field:select.field:multiselect.field:radio.field:date.field:datetime.field:time.field:duration.field:lookup.field:master_detail.field:tree.field:image.field:file.field:video.field:audio.field:avatar.field:color.field:rating.field:signature.field:qrcode.field:progress.field:json.field:address.field:location.page:header.page-header.page:footer.page:tabs.page:accordion.page:card.page:sidebar.record:details.record:highlights.record:related_list.record:activity.record:chatter.record:path.app:launcher.nav:menu.nav:breadcrumb.global:search.global:notifications.user:profile.widget:metric.widget:bar.widget:line.widget:pie.widget:funnel.widget:radar.widget:scatter.widget:heatmap.widget:pivot.widget:table.widget:text.widget:image.ai:chat_window.ai:input.ai:suggestion.ai:feedback".split(".");
10946
+ function dl() {
10947
+ ul.forEach((t) => {
10948
+ e.get(t) || e.register(t, ll);
10944
10949
  });
10945
10950
  }
10946
10951
  //#endregion
10947
10952
  //#region src/hooks/use-config-draft.ts
10948
- function ul(e, t) {
10953
+ function fl(e, t) {
10949
10954
  let n = t?.maxHistory ?? 50, [r, i] = b({ ...e }), [a, o] = b(t?.mode === "create"), s = y([]), c = y([]), [, l] = b(0);
10950
10955
  _(() => {
10951
10956
  i({ ...e }), o(t?.mode === "create"), s.current = [], c.current = [];
@@ -10982,7 +10987,7 @@ function ul(e, t) {
10982
10987
  }
10983
10988
  //#endregion
10984
10989
  //#region src/hooks/use-resize-observer.tsx
10985
- function dl(e) {
10990
+ function pl(e) {
10986
10991
  let [t, n] = p.useState({
10987
10992
  width: 0,
10988
10993
  height: 0
@@ -11012,16 +11017,16 @@ function dl(e) {
11012
11017
  }
11013
11018
  //#endregion
11014
11019
  //#region src/hooks/use-export-job.ts
11015
- var fl = [
11020
+ var ml = [
11016
11021
  "completed",
11017
11022
  "failed",
11018
11023
  "cancelled",
11019
11024
  "expired"
11020
11025
  ];
11021
- function pl(e) {
11022
- return !!e && fl.includes(e);
11026
+ function hl(e) {
11027
+ return !!e && ml.includes(e);
11023
11028
  }
11024
- function ml(e = {}) {
11029
+ function gl(e = {}) {
11025
11030
  let { dataSource: t, pollIntervalMs: n = 1500, maxAttempts: r = 600, onComplete: i, onError: a } = e, [o, s] = b(null), [c, l] = b(null), [u, d] = b(!1), f = y(null), p = y(null), m = y(0), h = y(!1), v = y({
11026
11031
  onComplete: i,
11027
11032
  onError: a
@@ -11046,7 +11051,7 @@ function ml(e = {}) {
11046
11051
  try {
11047
11052
  let e = await t.getExportJobProgress(f.current);
11048
11053
  if (h.current) return;
11049
- if (s(e), pl(e.status)) {
11054
+ if (s(e), hl(e.status)) {
11050
11055
  if (d(!1), e.status === "completed") v.current.onComplete?.(e);
11051
11056
  else {
11052
11057
  let t = e.error?.message ?? `Export ${e.status}`, n = Error(t);
@@ -11080,7 +11085,7 @@ function ml(e = {}) {
11080
11085
  processedRecords: 0,
11081
11086
  totalRecords: i.estimatedRecords,
11082
11087
  percentComplete: 0
11083
- }), pl(i.status)) {
11088
+ }), hl(i.status)) {
11084
11089
  if (d(!1), i.status === "completed" && t.getExportJobProgress) try {
11085
11090
  let e = await t.getExportJobProgress(i.jobId);
11086
11091
  s(e), v.current.onComplete?.(e);
@@ -11133,7 +11138,7 @@ function ml(e = {}) {
11133
11138
  }
11134
11139
  //#endregion
11135
11140
  //#region src/debug/DebugPanel.tsx
11136
- function hl({ schema: e }) {
11141
+ function _l({ schema: e }) {
11137
11142
  return e ? /* @__PURE__ */ S("pre", {
11138
11143
  className: "text-[11px] leading-relaxed font-mono overflow-auto max-h-[60vh] whitespace-pre-wrap break-all",
11139
11144
  children: JSON.stringify(e, null, 2)
@@ -11142,7 +11147,7 @@ function hl({ schema: e }) {
11142
11147
  children: "No schema available"
11143
11148
  });
11144
11149
  }
11145
- function gl({ dataContext: e }) {
11150
+ function vl({ dataContext: e }) {
11146
11151
  return e ? /* @__PURE__ */ S("pre", {
11147
11152
  className: "text-[11px] leading-relaxed font-mono overflow-auto max-h-[60vh] whitespace-pre-wrap break-all",
11148
11153
  children: JSON.stringify(e, null, 2)
@@ -11151,7 +11156,7 @@ function gl({ dataContext: e }) {
11151
11156
  children: "No data context available"
11152
11157
  });
11153
11158
  }
11154
- function _l() {
11159
+ function yl() {
11155
11160
  let t = v(() => {
11156
11161
  try {
11157
11162
  return e.getAllTypes();
@@ -11178,7 +11183,7 @@ function _l() {
11178
11183
  })]
11179
11184
  });
11180
11185
  }
11181
- function vl({ flags: e }) {
11186
+ function bl({ flags: e }) {
11182
11187
  return e ? /* @__PURE__ */ S("pre", {
11183
11188
  className: "text-[11px] leading-relaxed font-mono overflow-auto max-h-[60vh] whitespace-pre-wrap break-all",
11184
11189
  children: JSON.stringify(e, null, 2)
@@ -11187,14 +11192,14 @@ function vl({ flags: e }) {
11187
11192
  children: "No debug flags"
11188
11193
  });
11189
11194
  }
11190
- function yl(e) {
11195
+ function xl(e) {
11191
11196
  let n = t.getInstance(), [r, i] = b(() => n.getEntries(e));
11192
11197
  return m.useEffect(() => (i(n.getEntries(e)), n.subscribe(() => {
11193
11198
  i(n.getEntries(e));
11194
11199
  })), [n, e]), r;
11195
11200
  }
11196
- function bl() {
11197
- let e = yl("perf").map((e) => e.data);
11201
+ function Sl() {
11202
+ let e = xl("perf").map((e) => e.data);
11198
11203
  return e.length === 0 ? /* @__PURE__ */ S("p", {
11199
11204
  className: "text-xs text-muted-foreground italic",
11200
11205
  children: "No performance data collected yet"
@@ -11220,8 +11225,8 @@ function bl() {
11220
11225
  })]
11221
11226
  });
11222
11227
  }
11223
- function xl() {
11224
- let e = yl("expr").map((e) => e.data);
11228
+ function Cl() {
11229
+ let e = xl("expr").map((e) => e.data);
11225
11230
  return e.length === 0 ? /* @__PURE__ */ S("p", {
11226
11231
  className: "text-xs text-muted-foreground italic",
11227
11232
  children: "No expression evaluations tracked yet"
@@ -11247,8 +11252,8 @@ function xl() {
11247
11252
  })]
11248
11253
  });
11249
11254
  }
11250
- function Sl() {
11251
- let e = yl("event").map((e) => e.data);
11255
+ function wl() {
11256
+ let e = xl("event").map((e) => e.data);
11252
11257
  return e.length === 0 ? /* @__PURE__ */ S("p", {
11253
11258
  className: "text-xs text-muted-foreground italic",
11254
11259
  children: "No events captured yet"
@@ -11280,42 +11285,42 @@ function Sl() {
11280
11285
  })]
11281
11286
  });
11282
11287
  }
11283
- function Cl({ open: e, onClose: t, flags: n, schema: r, dataContext: i, extraTabs: a = [], className: o }) {
11288
+ function Tl({ open: e, onClose: t, flags: n, schema: r, dataContext: i, extraTabs: a = [], className: o }) {
11284
11289
  let s = v(() => [
11285
11290
  {
11286
11291
  id: "schema",
11287
11292
  label: "Schema",
11288
- render: () => /* @__PURE__ */ S(hl, { schema: r })
11293
+ render: () => /* @__PURE__ */ S(_l, { schema: r })
11289
11294
  },
11290
11295
  {
11291
11296
  id: "data",
11292
11297
  label: "Data",
11293
- render: () => /* @__PURE__ */ S(gl, { dataContext: i })
11298
+ render: () => /* @__PURE__ */ S(vl, { dataContext: i })
11294
11299
  },
11295
11300
  {
11296
11301
  id: "perf",
11297
11302
  label: "Perf",
11298
- render: () => /* @__PURE__ */ S(bl, {})
11303
+ render: () => /* @__PURE__ */ S(Sl, {})
11299
11304
  },
11300
11305
  {
11301
11306
  id: "expr",
11302
11307
  label: "Expr",
11303
- render: () => /* @__PURE__ */ S(xl, {})
11308
+ render: () => /* @__PURE__ */ S(Cl, {})
11304
11309
  },
11305
11310
  {
11306
11311
  id: "events",
11307
11312
  label: "Events",
11308
- render: () => /* @__PURE__ */ S(Sl, {})
11313
+ render: () => /* @__PURE__ */ S(wl, {})
11309
11314
  },
11310
11315
  {
11311
11316
  id: "registry",
11312
11317
  label: "Registry",
11313
- render: () => /* @__PURE__ */ S(_l, {})
11318
+ render: () => /* @__PURE__ */ S(yl, {})
11314
11319
  },
11315
11320
  {
11316
11321
  id: "flags",
11317
11322
  label: "Flags",
11318
- render: () => /* @__PURE__ */ S(vl, { flags: n })
11323
+ render: () => /* @__PURE__ */ S(bl, { flags: n })
11319
11324
  }
11320
11325
  ], [
11321
11326
  r,
@@ -11368,8 +11373,8 @@ function Cl({ open: e, onClose: t, flags: n, schema: r, dataContext: i, extraTab
11368
11373
  }
11369
11374
  //#endregion
11370
11375
  //#region src/index.ts
11371
- function wl() {
11376
+ function El() {
11372
11377
  return !0;
11373
11378
  }
11374
11379
  //#endregion
11375
- export { jt as Accordion, Pt as AccordionContent, Mt as AccordionItem, Nt as AccordionTrigger, $s as ActionParamDialog, Jt as Alert, Xt as AlertDescription, It as AlertDialog, Gt as AlertDialogAction, Kt as AlertDialogCancel, Bt as AlertDialogContent, Wt as AlertDialogDescription, Ht as AlertDialogFooter, Vt as AlertDialogHeader, zt as AlertDialogOverlay, Rt as AlertDialogPortal, Ut as AlertDialogTitle, Lt as AlertDialogTrigger, Yt as AlertTitle, Zt as AspectRatio, Qt as Avatar, en as AvatarFallback, $t as AvatarImage, nn as Badge, rn as Breadcrumb, un as BreadcrumbEllipsis, on as BreadcrumbItem, sn as BreadcrumbLink, an as BreadcrumbList, cn as BreadcrumbPage, ln as BreadcrumbSeparator, J as Button, Xo as ButtonGroup, Qo as ButtonGroupSeparator, Zo as ButtonGroupText, dn as Calendar, fn as CalendarDayButton, pn as Card, _n as CardContent, gn as CardDescription, vn as CardFooter, mn as CardHeader, hn as CardTitle, xn as Carousel, Sn as CarouselContent, Cn as CarouselItem, Tn as CarouselNext, wn as CarouselPrevious, kn as ChartContainer, Nn as ChartLegend, Pn as ChartLegendContent, ic as ChartSkeleton, An as ChartStyle, jn as ChartTooltip, Mn as ChartTooltipContent, In as Checkbox, Ln as Collapsible, zn as CollapsibleContent, Rn as CollapsibleTrigger, $o as Combobox, Xn as Command, Zn as CommandDialog, er as CommandEmpty, tr as CommandGroup, Qn as CommandInput, rr as CommandItem, $n as CommandList, nr as CommandSeparator, ir as CommandShortcut, gs as ConfigFieldRenderer, vs as ConfigPanelRenderer, es as ConfigRow, ar as ContextMenu, hr as ContextMenuCheckboxItem, pr as ContextMenuContent, sr as ContextMenuGroup, mr as ContextMenuItem, _r as ContextMenuLabel, cr as ContextMenuPortal, ur as ContextMenuRadioGroup, gr as ContextMenuRadioItem, vr as ContextMenuSeparator, yr as ContextMenuShortcut, lr as ContextMenuSub, fr as ContextMenuSubContent, dr as ContextMenuSubTrigger, or as ContextMenuTrigger, sc as DataEmptyState, cc as DataErrorState, oc as DataLoadingState, ys as DatePicker, Cl as DebugPanel, Bn as Dialog, Un as DialogClose, Gn as DialogContent, Yn as DialogDescription, qn as DialogFooter, Kn as DialogHeader, Wn as DialogOverlay, Hn as DialogPortal, Jn as DialogTitle, Vn as DialogTrigger, br as Drawer, Cr as DrawerClose, Tr as DrawerContent, kr as DrawerDescription, Dr as DrawerFooter, Er as DrawerHeader, wr as DrawerOverlay, Sr as DrawerPortal, Or as DrawerTitle, xr as DrawerTrigger, Ar as DropdownMenu, Br as DropdownMenuCheckboxItem, Rr as DropdownMenuContent, Mr as DropdownMenuGroup, zr as DropdownMenuItem, Hr as DropdownMenuLabel, Nr as DropdownMenuPortal, Fr as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Pr as DropdownMenuSub, Lr as DropdownMenuSubContent, Ir as DropdownMenuSubTrigger, jr as DropdownMenuTrigger, xs as Empty, Ds as EmptyContent, Es as EmptyDescription, Ss as EmptyHeader, ws as EmptyMedia, Ts as EmptyTitle, Os as EmptyValue, dc as ExportProgressDialog, As as Field, ps as FilterBuilder, Kr as Form, $r as FormControl, ei as FormDescription, Jr as FormField, Zr as FormItem, Qr as FormLabel, ti as FormMessage, nc as FormSkeleton, ec as GridSkeleton, Qs as GroupingEditor, ni as HoverCard, ii as HoverCardContent, ri as HoverCardTrigger, X as Input, js as InputGroup, ai as InputOTP, oi as InputOTPGroup, ci as InputOTPSeparator, si as InputOTPSlot, Fs as Item, Vs as ItemActions, Rs as ItemContent, Bs as ItemDescription, Us as ItemFooter, Ms as ItemGroup, Hs as ItemHeader, Ls as ItemMedia, Ns as ItemSeparator, zs as ItemTitle, tc as KanbanSkeleton, Ws as Kbd, Gs as KbdGroup, Y as Label, Uc as LazyIcon, rc as ListSkeleton, ms as LookupValuePicker, mi as Menubar, bi as MenubarCheckboxItem, vi as MenubarContent, ui as MenubarGroup, yi as MenubarItem, Si as MenubarLabel, li as MenubarMenu, di as MenubarPortal, fi as MenubarRadioGroup, xi as MenubarRadioItem, Ci as MenubarSeparator, wi as MenubarShortcut, pi as MenubarSub, _i as MenubarSubContent, gi as MenubarSubTrigger, hi as MenubarTrigger, lc as MobileDialogContent, Ks as NativeSelect, Ti as NavigationMenu, Ai as NavigationMenuContent, Ni as NavigationMenuIndicator, Di as NavigationMenuItem, ji as NavigationMenuLink, Ei as NavigationMenuList, ki as NavigationMenuTrigger, Mi as NavigationMenuViewport, Ys as NavigationOverlay, Pi as Pagination, Fi as PaginationContent, Bi as PaginationEllipsis, Ii as PaginationItem, Li as PaginationLink, zi as PaginationNext, Ri as PaginationPrevious, Vi as Popover, Ui as PopoverContent, Hi as PopoverTrigger, Wi as Progress, Gi as RadioGroup, Ki as RadioGroupItem, Yi as ResizableHandle, Ji as ResizablePanel, qi as ResizablePanelGroup, Xi as ScrollArea, Zi as ScrollBar, _s as SectionHeader, Qi as Select, ia as SelectContent, $i as SelectGroup, Z as SelectItem, aa as SelectLabel, ra as SelectScrollDownButton, na as SelectScrollUpButton, oa as SelectSeparator, ta as SelectTrigger, ea as SelectValue, sa as Separator, ca as Sheet, ua as SheetClose, ma as SheetContent, va as SheetDescription, ga as SheetFooter, ha as SheetHeader, fa as SheetOverlay, da as SheetPortal, _a as SheetTitle, la as SheetTrigger, Pa as Sidebar, Ha as SidebarContent, Ba as SidebarFooter, Ua as SidebarGroup, Ga as SidebarGroupAction, Ka as SidebarGroupContent, Wa as SidebarGroupLabel, za as SidebarHeader, Ra as SidebarInput, La as SidebarInset, qa as SidebarMenu, Za as SidebarMenuAction, Qa as SidebarMenuBadge, Xa as SidebarMenuButton, Ja as SidebarMenuItem, $a as SidebarMenuSkeleton, eo as SidebarMenuSub, no as SidebarMenuSubButton, to as SidebarMenuSubItem, Na as SidebarProvider, Ia as SidebarRail, Va as SidebarSeparator, Fa as SidebarTrigger, Q as Skeleton, ro as Slider, hs as SortBuilder, Xs as Spinner, ao as Switch, oo as Table, co as TableBody, mo as TableCaption, po as TableCell, lo as TableFooter, fo as TableHead, so as TableHeader, uo as TableRow, ho as Tabs, vo as TabsContent, go as TabsList, _o as TabsTrigger, yo as Textarea, io as Toaster, xo as Toggle, Co as ToggleGroup, wo as ToggleGroupItem, Sa as Tooltip, wa as TooltipContent, xa as TooltipProvider, Ca as TooltipTrigger, Ao as TypographyBlockquote, To as TypographyH1, Eo as TypographyH2, Do as TypographyH3, Oo as TypographyH4, Mo as TypographyInlineCode, Po as TypographyLarge, No as TypographyLead, jo as TypographyList, Io as TypographyMuted, ko as TypographyP, Fo as TypographySmall, ac as ViewSkeleton, tn as badgeVariants, Yo as buttonGroupVariants, Ft as buttonVariants, K as cn, We as cva, Hc as getLazyIcon, wl as initializeComponents, Oi as navigationMenuTriggerStyle, ll as registerPlaceholders, q as renderChildren, Rc as toKebabIconName, bo as toggleVariants, ul as useConfigDraft, ml as useExportJob, Yr as useFormField, ba as useIsMobile, dl as useResizeObserver, Ma as useSidebar };
11380
+ export { jt as Accordion, Pt as AccordionContent, Mt as AccordionItem, Nt as AccordionTrigger, tc as ActionParamDialog, Jt as Alert, Xt as AlertDescription, It as AlertDialog, Gt as AlertDialogAction, Kt as AlertDialogCancel, Bt as AlertDialogContent, Wt as AlertDialogDescription, Ht as AlertDialogFooter, Vt as AlertDialogHeader, zt as AlertDialogOverlay, Rt as AlertDialogPortal, Ut as AlertDialogTitle, Lt as AlertDialogTrigger, Yt as AlertTitle, Zt as AspectRatio, Qt as Avatar, en as AvatarFallback, $t as AvatarImage, nn as Badge, rn as Breadcrumb, un as BreadcrumbEllipsis, on as BreadcrumbItem, sn as BreadcrumbLink, an as BreadcrumbList, cn as BreadcrumbPage, ln as BreadcrumbSeparator, J as Button, Xo as ButtonGroup, Qo as ButtonGroupSeparator, Zo as ButtonGroupText, dn as Calendar, fn as CalendarDayButton, pn as Card, _n as CardContent, gn as CardDescription, vn as CardFooter, mn as CardHeader, hn as CardTitle, xn as Carousel, Sn as CarouselContent, Cn as CarouselItem, Tn as CarouselNext, wn as CarouselPrevious, kn as ChartContainer, Nn as ChartLegend, Pn as ChartLegendContent, oc as ChartSkeleton, An as ChartStyle, jn as ChartTooltip, Mn as ChartTooltipContent, In as Checkbox, Ln as Collapsible, zn as CollapsibleContent, Rn as CollapsibleTrigger, $o as Combobox, Xn as Command, Zn as CommandDialog, er as CommandEmpty, tr as CommandGroup, Qn as CommandInput, rr as CommandItem, $n as CommandList, nr as CommandSeparator, ir as CommandShortcut, vs as ConfigFieldRenderer, bs as ConfigPanelRenderer, es as ConfigRow, ar as ContextMenu, hr as ContextMenuCheckboxItem, pr as ContextMenuContent, sr as ContextMenuGroup, mr as ContextMenuItem, _r as ContextMenuLabel, cr as ContextMenuPortal, ur as ContextMenuRadioGroup, gr as ContextMenuRadioItem, vr as ContextMenuSeparator, yr as ContextMenuShortcut, lr as ContextMenuSub, fr as ContextMenuSubContent, dr as ContextMenuSubTrigger, or as ContextMenuTrigger, lc as DataEmptyState, uc as DataErrorState, cc as DataLoadingState, xs as DatePicker, Tl as DebugPanel, Bn as Dialog, Un as DialogClose, Gn as DialogContent, Yn as DialogDescription, qn as DialogFooter, Kn as DialogHeader, Wn as DialogOverlay, Hn as DialogPortal, Jn as DialogTitle, Vn as DialogTrigger, br as Drawer, Cr as DrawerClose, Tr as DrawerContent, kr as DrawerDescription, Dr as DrawerFooter, Er as DrawerHeader, wr as DrawerOverlay, Sr as DrawerPortal, Or as DrawerTitle, xr as DrawerTrigger, Ar as DropdownMenu, Br as DropdownMenuCheckboxItem, Rr as DropdownMenuContent, Mr as DropdownMenuGroup, zr as DropdownMenuItem, Hr as DropdownMenuLabel, Nr as DropdownMenuPortal, Fr as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Pr as DropdownMenuSub, Lr as DropdownMenuSubContent, Ir as DropdownMenuSubTrigger, jr as DropdownMenuTrigger, Cs as Empty, ks as EmptyContent, Os as EmptyDescription, ws as EmptyHeader, Es as EmptyMedia, Ds as EmptyTitle, As as EmptyValue, pc as ExportProgressDialog, Ms as Field, hs as FilterBuilder, Kr as Form, $r as FormControl, ei as FormDescription, Jr as FormField, Zr as FormItem, Qr as FormLabel, ti as FormMessage, ic as FormSkeleton, nc as GridSkeleton, ec as GroupingEditor, ni as HoverCard, ii as HoverCardContent, ri as HoverCardTrigger, X as Input, Ns as InputGroup, ai as InputOTP, oi as InputOTPGroup, ci as InputOTPSeparator, si as InputOTPSlot, Ls as Item, Us as ItemActions, Bs as ItemContent, Hs as ItemDescription, Gs as ItemFooter, Ps as ItemGroup, Ws as ItemHeader, zs as ItemMedia, Fs as ItemSeparator, Vs as ItemTitle, rc as KanbanSkeleton, Ks as Kbd, qs as KbdGroup, Y as Label, Gc as LazyIcon, ac as ListSkeleton, gs as LookupValuePicker, mi as Menubar, bi as MenubarCheckboxItem, vi as MenubarContent, ui as MenubarGroup, yi as MenubarItem, Si as MenubarLabel, li as MenubarMenu, di as MenubarPortal, fi as MenubarRadioGroup, xi as MenubarRadioItem, Ci as MenubarSeparator, wi as MenubarShortcut, pi as MenubarSub, _i as MenubarSubContent, gi as MenubarSubTrigger, hi as MenubarTrigger, dc as MobileDialogContent, Js as NativeSelect, Ti as NavigationMenu, Ai as NavigationMenuContent, Ni as NavigationMenuIndicator, Di as NavigationMenuItem, ji as NavigationMenuLink, Ei as NavigationMenuList, ki as NavigationMenuTrigger, Mi as NavigationMenuViewport, Zs as NavigationOverlay, Pi as Pagination, Fi as PaginationContent, Bi as PaginationEllipsis, Ii as PaginationItem, Li as PaginationLink, zi as PaginationNext, Ri as PaginationPrevious, Vi as Popover, Ui as PopoverContent, Hi as PopoverTrigger, Wi as Progress, Gi as RadioGroup, Ki as RadioGroupItem, Yi as ResizableHandle, Ji as ResizablePanel, qi as ResizablePanelGroup, Xi as ScrollArea, Zi as ScrollBar, ys as SectionHeader, Qi as Select, ia as SelectContent, $i as SelectGroup, Z as SelectItem, aa as SelectLabel, ra as SelectScrollDownButton, na as SelectScrollUpButton, oa as SelectSeparator, ta as SelectTrigger, ea as SelectValue, sa as Separator, ca as Sheet, ua as SheetClose, ma as SheetContent, va as SheetDescription, ga as SheetFooter, ha as SheetHeader, fa as SheetOverlay, da as SheetPortal, _a as SheetTitle, la as SheetTrigger, Pa as Sidebar, Ha as SidebarContent, Ba as SidebarFooter, Ua as SidebarGroup, Ga as SidebarGroupAction, Ka as SidebarGroupContent, Wa as SidebarGroupLabel, za as SidebarHeader, Ra as SidebarInput, La as SidebarInset, qa as SidebarMenu, Za as SidebarMenuAction, Qa as SidebarMenuBadge, Xa as SidebarMenuButton, Ja as SidebarMenuItem, $a as SidebarMenuSkeleton, eo as SidebarMenuSub, no as SidebarMenuSubButton, to as SidebarMenuSubItem, Na as SidebarProvider, Ia as SidebarRail, Va as SidebarSeparator, Fa as SidebarTrigger, Q as Skeleton, ro as Slider, _s as SortBuilder, Qs as Spinner, ao as Switch, oo as Table, co as TableBody, mo as TableCaption, po as TableCell, lo as TableFooter, fo as TableHead, so as TableHeader, uo as TableRow, ho as Tabs, vo as TabsContent, go as TabsList, _o as TabsTrigger, yo as Textarea, io as Toaster, xo as Toggle, Co as ToggleGroup, wo as ToggleGroupItem, Sa as Tooltip, wa as TooltipContent, xa as TooltipProvider, Ca as TooltipTrigger, Ao as TypographyBlockquote, To as TypographyH1, Eo as TypographyH2, Do as TypographyH3, Oo as TypographyH4, Mo as TypographyInlineCode, Po as TypographyLarge, No as TypographyLead, jo as TypographyList, Io as TypographyMuted, ko as TypographyP, Fo as TypographySmall, sc as ViewSkeleton, tn as badgeVariants, Yo as buttonGroupVariants, Ft as buttonVariants, K as cn, We as cva, Wc as getLazyIcon, El as initializeComponents, Oi as navigationMenuTriggerStyle, dl as registerPlaceholders, q as renderChildren, Bc as toKebabIconName, bo as toggleVariants, fl as useConfigDraft, gl as useExportJob, Yr as useFormField, ba as useIsMobile, pl as useResizeObserver, Ma as useSidebar };