@neowit/orbit-vue 0.15.3 → 0.16.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/orbit.js CHANGED
@@ -762,7 +762,7 @@ function po() {
762
762
  toggleTheme: a
763
763
  };
764
764
  }
765
- const Yi = ["aria-label"], dm = /* @__PURE__ */ ee({
765
+ const Yi = ["aria-label"], cm = /* @__PURE__ */ ee({
766
766
  __name: "OThemeToggle",
767
767
  props: {
768
768
  mode: { default: "button" },
@@ -4978,7 +4978,7 @@ const Zi = /* @__PURE__ */ ee({
4978
4978
  ], 64));
4979
4979
  }
4980
4980
  });
4981
- function cm() {
4981
+ function fm() {
4982
4982
  const e = he(Al);
4983
4983
  if (!e)
4984
4984
  throw new Error("[Orbit] useToast() must be used within <OToastProvider>");
@@ -6875,7 +6875,8 @@ const Tb = /* @__PURE__ */ Ua(Ob, [["render", Mb]]), Ib = ["aria-selected", "ari
6875
6875
  orientation: { default: "horizontal" },
6876
6876
  linear: { type: Boolean, default: !1 },
6877
6877
  variant: { default: "default" },
6878
- size: { default: "md" }
6878
+ size: { default: "md" },
6879
+ align: { default: "start" }
6879
6880
  },
6880
6881
  emits: ["update:modelValue", "step-click"],
6881
6882
  setup(e, { emit: a }) {
@@ -6902,6 +6903,7 @@ const Tb = /* @__PURE__ */ Ua(Ob, [["render", Mb]]), Ib = ["aria-selected", "ari
6902
6903
  linear: m(() => t.linear),
6903
6904
  variant: m(() => t.variant),
6904
6905
  size: m(() => t.size),
6906
+ align: m(() => t.align),
6905
6907
  totalSteps: c,
6906
6908
  registerStep: r,
6907
6909
  unregisterStep: f,
@@ -6911,7 +6913,8 @@ const Tb = /* @__PURE__ */ Ua(Ob, [["render", Mb]]), Ib = ["aria-selected", "ari
6911
6913
  "orb-stepper",
6912
6914
  `orb-stepper--${t.orientation}`,
6913
6915
  `orb-stepper--${t.variant}`,
6914
- `orb-stepper--${t.size}`
6916
+ `orb-stepper--${t.size}`,
6917
+ t.align === "center" ? "orb-stepper--center" : ""
6915
6918
  ]), b = m(() => c.value <= 1 ? 0 : Math.round(i.value / (c.value - 1) * 100));
6916
6919
  return (w, x) => (l(), d("div", {
6917
6920
  class: K(u.value),
@@ -7244,12 +7247,16 @@ const Tb = /* @__PURE__ */ Ua(Ob, [["render", Mb]]), Ib = ["aria-selected", "ari
7244
7247
  ])
7245
7248
  ], 42, bv));
7246
7249
  }
7247
- }), gv = /* @__PURE__ */ ee({
7250
+ }), gv = ["tabindex", "aria-disabled"], mv = /* @__PURE__ */ ee({
7248
7251
  __name: "OUploadTrigger",
7249
7252
  setup(e) {
7250
7253
  const a = he(Ya);
7251
7254
  return (t, o) => (l(), d("div", {
7252
7255
  class: K(["orb-upload-trigger", { "orb-upload-trigger--disabled": z(a).disabled.value }]),
7256
+ role: "button",
7257
+ tabindex: z(a).disabled.value ? -1 : 0,
7258
+ "aria-disabled": z(a).disabled.value || void 0,
7259
+ "aria-label": "Selecionar arquivos para upload",
7253
7260
  onClick: o[0] || (o[0] = (n) => z(a).openFileDialog()),
7254
7261
  onKeydown: [
7255
7262
  o[1] || (o[1] = nt(ye((n) => z(a).openFileDialog(), ["prevent"]), ["enter"])),
@@ -7257,12 +7264,12 @@ const Tb = /* @__PURE__ */ Ua(Ob, [["render", Mb]]), Ib = ["aria-selected", "ari
7257
7264
  ]
7258
7265
  }, [
7259
7266
  te(t.$slots, "default")
7260
- ], 34));
7267
+ ], 42, gv));
7261
7268
  }
7262
- }), mv = ["role", "aria-label", "aria-labelledby", "aria-describedby", "aria-busy"], pv = {
7269
+ }), pv = ["role", "aria-label", "aria-labelledby", "aria-describedby", "aria-busy"], yv = {
7263
7270
  key: 0,
7264
7271
  class: "orb-dialog__hero"
7265
- }, yv = { class: "orb-dialog__hero-actions" }, kv = ["aria-label"], wv = ["disabled"], xv = { class: "orb-dialog__header-text" }, _v = ["aria-label"], $v = ["disabled"], oa = [];
7272
+ }, kv = { class: "orb-dialog__hero-actions" }, wv = ["aria-label"], xv = ["disabled"], _v = { class: "orb-dialog__header-text" }, $v = ["aria-label"], Cv = ["disabled"], oa = [];
7266
7273
  let wa = 0, ml = "", pl = "";
7267
7274
  const Nl = /* @__PURE__ */ ee({
7268
7275
  __name: "ODialog",
@@ -7439,9 +7446,9 @@ const Nl = /* @__PURE__ */ ee({
7439
7446
  tabindex: "-1",
7440
7447
  onKeydown: S
7441
7448
  }, [
7442
- U.$slots.hero ? (l(), d("div", pv, [
7449
+ U.$slots.hero ? (l(), d("div", yv, [
7443
7450
  te(U.$slots, "hero"),
7444
- k("div", yv, [
7451
+ k("div", kv, [
7445
7452
  e.allowFullscreen ? (l(), d("button", {
7446
7453
  key: 0,
7447
7454
  type: "button",
@@ -7458,7 +7465,7 @@ const Nl = /* @__PURE__ */ ee({
7458
7465
  size: 18,
7459
7466
  "aria-hidden": "true"
7460
7467
  }))
7461
- ], 8, kv)) : D("", !0),
7468
+ ], 8, wv)) : D("", !0),
7462
7469
  e.showCloseButton ? (l(), d("button", {
7463
7470
  key: 1,
7464
7471
  type: "button",
@@ -7477,7 +7484,7 @@ const Nl = /* @__PURE__ */ ee({
7477
7484
  size: 20,
7478
7485
  "aria-hidden": "true"
7479
7486
  }))
7480
- ], 8, wv)) : D("", !0)
7487
+ ], 8, xv)) : D("", !0)
7481
7488
  ])
7482
7489
  ])) : D("", !0),
7483
7490
  U.$slots.header || e.title ? (l(), d("div", {
@@ -7485,7 +7492,7 @@ const Nl = /* @__PURE__ */ ee({
7485
7492
  class: K(N.value)
7486
7493
  }, [
7487
7494
  te(U.$slots, "header", {}, () => [
7488
- k("div", xv, [
7495
+ k("div", _v, [
7489
7496
  e.title ? (l(), d("h2", {
7490
7497
  key: 0,
7491
7498
  id: r,
@@ -7515,7 +7522,7 @@ const Nl = /* @__PURE__ */ ee({
7515
7522
  size: 18,
7516
7523
  "aria-hidden": "true"
7517
7524
  }))
7518
- ], 8, _v)) : D("", !0),
7525
+ ], 8, $v)) : D("", !0),
7519
7526
  e.showCloseButton ? (l(), d("button", {
7520
7527
  key: 1,
7521
7528
  type: "button",
@@ -7534,7 +7541,7 @@ const Nl = /* @__PURE__ */ ee({
7534
7541
  size: 20,
7535
7542
  "aria-hidden": "true"
7536
7543
  }))
7537
- ], 8, $v)) : D("", !0)
7544
+ ], 8, Cv)) : D("", !0)
7538
7545
  ], 64))
7539
7546
  ], 2)) : D("", !0),
7540
7547
  k("div", {
@@ -7550,7 +7557,7 @@ const Nl = /* @__PURE__ */ ee({
7550
7557
  }, [
7551
7558
  te(U.$slots, "footer", { loading: e.loading })
7552
7559
  ], 2)) : D("", !0)
7553
- ], 42, mv)
7560
+ ], 42, pv)
7554
7561
  ], 38)) : D("", !0)
7555
7562
  ]),
7556
7563
  _: 3
@@ -7558,7 +7565,7 @@ const Nl = /* @__PURE__ */ ee({
7558
7565
  ])) : D("", !0);
7559
7566
  }
7560
7567
  }), ht = Dl([]);
7561
- function Cv() {
7568
+ function Sv() {
7562
7569
  function e(n) {
7563
7570
  return new Promise((i) => {
7564
7571
  const v = {
@@ -7613,7 +7620,7 @@ function Cv() {
7613
7620
  }
7614
7621
  return { confirm: e, alert: a, warning: t, destructive: o };
7615
7622
  }
7616
- function Sv() {
7623
+ function Dv() {
7617
7624
  return ht;
7618
7625
  }
7619
7626
  function yl(e, a) {
@@ -7623,28 +7630,28 @@ function yl(e, a) {
7623
7630
  o !== -1 && ht.splice(o, 1);
7624
7631
  }, 300));
7625
7632
  }
7626
- const Dv = {
7633
+ const Ov = {
7627
7634
  key: 0,
7628
7635
  class: "orb-alert-dialog orb-alert-dialog--centered"
7629
- }, Ov = { class: "orb-alert-dialog__title" }, Rv = {
7636
+ }, Rv = { class: "orb-alert-dialog__title" }, Mv = {
7630
7637
  key: 1,
7631
7638
  class: "orb-alert-dialog__description"
7632
- }, Mv = {
7639
+ }, Tv = {
7633
7640
  key: 2,
7634
7641
  class: "orb-alert-dialog__body"
7635
- }, Tv = ["disabled"], Iv = ["disabled"], Bv = ["disabled"], Vv = { class: "orb-alert-dialog orb-alert-dialog--horizontal" }, zv = { class: "orb-alert-dialog__text" }, Lv = { class: "orb-alert-dialog__title" }, Ev = { class: "orb-alert-dialog__desc-wrap" }, Av = {
7642
+ }, Iv = ["disabled"], Bv = ["disabled"], Vv = ["disabled"], zv = { class: "orb-alert-dialog orb-alert-dialog--horizontal" }, Lv = { class: "orb-alert-dialog__text" }, Ev = { class: "orb-alert-dialog__title" }, Av = { class: "orb-alert-dialog__desc-wrap" }, Hv = {
7636
7643
  key: 0,
7637
7644
  class: "orb-alert-dialog__description"
7638
- }, Hv = {
7645
+ }, Fv = {
7639
7646
  key: 1,
7640
7647
  class: "orb-alert-dialog__body"
7641
- }, Fv = {
7648
+ }, Pv = {
7642
7649
  key: 2,
7643
7650
  class: "orb-alert-dialog__confirmation"
7644
- }, Pv = { class: "orb-alert-dialog__confirmation-label" }, Nv = ["placeholder"], Wv = {
7651
+ }, Nv = { class: "orb-alert-dialog__confirmation-label" }, Wv = ["placeholder"], Kv = {
7645
7652
  key: 0,
7646
7653
  class: "orb-alert-dialog__actions orb-alert-dialog__actions--inline"
7647
- }, Kv = ["disabled"], jv = ["disabled"], Gv = ["disabled"], qv = { class: "orb-alert-dialog__actions orb-alert-dialog__actions--footer" }, Uv = ["disabled"], Yv = ["disabled"], Xv = ["disabled"], Wl = /* @__PURE__ */ ee({
7654
+ }, jv = ["disabled"], Gv = ["disabled"], qv = ["disabled"], Uv = { class: "orb-alert-dialog__actions orb-alert-dialog__actions--footer" }, Yv = ["disabled"], Xv = ["disabled"], Qv = ["disabled"], Wl = /* @__PURE__ */ ee({
7648
7655
  __name: "OAlertDialog",
7649
7656
  props: {
7650
7657
  open: { type: Boolean, default: !1 },
@@ -7724,7 +7731,7 @@ const Dv = {
7724
7731
  "onUpdate:open": E
7725
7732
  }, Ol({
7726
7733
  default: be(() => [
7727
- r.value ? (l(), d("div", Dv, [
7734
+ r.value ? (l(), d("div", Ov, [
7728
7735
  e.showIcon ? (l(), d("div", {
7729
7736
  key: 0,
7730
7737
  class: K(x.value)
@@ -7734,9 +7741,9 @@ const Dv = {
7734
7741
  size: "md"
7735
7742
  }, null, 8, ["status"])
7736
7743
  ], 2)) : D("", !0),
7737
- k("h3", Ov, W(e.title), 1),
7738
- e.description ? (l(), d("p", Rv, W(e.description), 1)) : D("", !0),
7739
- V.$slots.default ? (l(), d("div", Mv, [
7744
+ k("h3", Rv, W(e.title), 1),
7745
+ e.description ? (l(), d("p", Mv, W(e.description), 1)) : D("", !0),
7746
+ V.$slots.default ? (l(), d("div", Tv, [
7740
7747
  te(V.$slots, "default")
7741
7748
  ])) : D("", !0),
7742
7749
  k("div", {
@@ -7751,7 +7758,7 @@ const Dv = {
7751
7758
  class: "orb-alert-dialog__btn orb-alert-dialog__btn--secondary",
7752
7759
  disabled: e.loading,
7753
7760
  onClick: S
7754
- }, W(e.secondaryLabel), 9, Tv)) : D("", !0),
7761
+ }, W(e.secondaryLabel), 9, Iv)) : D("", !0),
7755
7762
  p.value ? (l(), d("button", {
7756
7763
  key: 1,
7757
7764
  ref_key: "cancelBtnRef",
@@ -7760,7 +7767,7 @@ const Dv = {
7760
7767
  class: "orb-alert-dialog__btn orb-alert-dialog__btn--cancel",
7761
7768
  disabled: e.loading,
7762
7769
  onClick: y
7763
- }, W(b.value), 9, Iv)) : D("", !0),
7770
+ }, W(b.value), 9, Bv)) : D("", !0),
7764
7771
  k("button", {
7765
7772
  ref_key: "confirmBtnRef",
7766
7773
  ref: g,
@@ -7776,10 +7783,10 @@ const Dv = {
7776
7783
  "aria-hidden": "true"
7777
7784
  })) : D("", !0),
7778
7785
  ge(" " + W(u.value), 1)
7779
- ], 10, Bv)
7786
+ ], 10, Vv)
7780
7787
  ], 2)
7781
7788
  ])) : (l(), d(re, { key: 1 }, [
7782
- k("div", Vv, [
7789
+ k("div", zv, [
7783
7790
  e.showIcon ? (l(), d("div", {
7784
7791
  key: 0,
7785
7792
  class: K(x.value)
@@ -7789,15 +7796,15 @@ const Dv = {
7789
7796
  size: "md"
7790
7797
  }, null, 8, ["status"])
7791
7798
  ], 2)) : D("", !0),
7792
- k("div", zv, [
7793
- k("h3", Lv, W(e.title), 1),
7794
- k("div", Ev, [
7795
- e.description ? (l(), d("p", Av, W(e.description), 1)) : D("", !0),
7796
- V.$slots.default ? (l(), d("div", Hv, [
7799
+ k("div", Lv, [
7800
+ k("h3", Ev, W(e.title), 1),
7801
+ k("div", Av, [
7802
+ e.description ? (l(), d("p", Hv, W(e.description), 1)) : D("", !0),
7803
+ V.$slots.default ? (l(), d("div", Fv, [
7797
7804
  te(V.$slots, "default")
7798
7805
  ])) : D("", !0),
7799
- e.confirmationText ? (l(), d("div", Fv, [
7800
- k("p", Pv, [
7806
+ e.confirmationText ? (l(), d("div", Pv, [
7807
+ k("p", Nv, [
7801
7808
  M[1] || (M[1] = ge(" Digite ", -1)),
7802
7809
  k("strong", null, W(e.confirmationText), 1),
7803
7810
  M[2] || (M[2] = ge(" para confirmar: ", -1))
@@ -7809,21 +7816,21 @@ const Dv = {
7809
7816
  placeholder: e.confirmationText,
7810
7817
  autocomplete: "off",
7811
7818
  spellcheck: "false"
7812
- }, null, 8, Nv), [
7819
+ }, null, 8, Wv), [
7813
7820
  [Kt, h.value]
7814
7821
  ])
7815
7822
  ])) : D("", !0)
7816
7823
  ])
7817
7824
  ])
7818
7825
  ]),
7819
- e.inlineActions ? (l(), d("div", Wv, [
7826
+ e.inlineActions ? (l(), d("div", Kv, [
7820
7827
  e.secondaryLabel ? (l(), d("button", {
7821
7828
  key: 0,
7822
7829
  type: "button",
7823
7830
  class: "orb-alert-dialog__btn orb-alert-dialog__btn--secondary",
7824
7831
  disabled: e.loading,
7825
7832
  onClick: S
7826
- }, W(e.secondaryLabel), 9, Kv)) : D("", !0),
7833
+ }, W(e.secondaryLabel), 9, jv)) : D("", !0),
7827
7834
  p.value ? (l(), d("button", {
7828
7835
  key: 1,
7829
7836
  ref_key: "cancelBtnRef",
@@ -7832,7 +7839,7 @@ const Dv = {
7832
7839
  class: "orb-alert-dialog__btn orb-alert-dialog__btn--cancel",
7833
7840
  disabled: e.loading,
7834
7841
  onClick: y
7835
- }, W(b.value), 9, jv)) : D("", !0),
7842
+ }, W(b.value), 9, Gv)) : D("", !0),
7836
7843
  k("button", {
7837
7844
  ref_key: "confirmBtnRef",
7838
7845
  ref: g,
@@ -7848,7 +7855,7 @@ const Dv = {
7848
7855
  "aria-hidden": "true"
7849
7856
  })) : D("", !0),
7850
7857
  ge(" " + W(u.value), 1)
7851
- ], 10, Gv)
7858
+ ], 10, qv)
7852
7859
  ])) : D("", !0)
7853
7860
  ], 64))
7854
7861
  ]),
@@ -7857,14 +7864,14 @@ const Dv = {
7857
7864
  !r.value && !e.inlineActions ? {
7858
7865
  name: "footer",
7859
7866
  fn: be(() => [
7860
- k("div", qv, [
7867
+ k("div", Uv, [
7861
7868
  e.secondaryLabel ? (l(), d("button", {
7862
7869
  key: 0,
7863
7870
  type: "button",
7864
7871
  class: "orb-alert-dialog__btn orb-alert-dialog__btn--secondary",
7865
7872
  disabled: e.loading,
7866
7873
  onClick: S
7867
- }, W(e.secondaryLabel), 9, Uv)) : D("", !0),
7874
+ }, W(e.secondaryLabel), 9, Yv)) : D("", !0),
7868
7875
  p.value ? (l(), d("button", {
7869
7876
  key: 1,
7870
7877
  ref_key: "cancelBtnRef",
@@ -7873,7 +7880,7 @@ const Dv = {
7873
7880
  class: "orb-alert-dialog__btn orb-alert-dialog__btn--cancel",
7874
7881
  disabled: e.loading,
7875
7882
  onClick: y
7876
- }, W(b.value), 9, Yv)) : D("", !0),
7883
+ }, W(b.value), 9, Xv)) : D("", !0),
7877
7884
  k("button", {
7878
7885
  ref_key: "confirmBtnRef",
7879
7886
  ref: g,
@@ -7889,7 +7896,7 @@ const Dv = {
7889
7896
  "aria-hidden": "true"
7890
7897
  })) : D("", !0),
7891
7898
  ge(" " + W(u.value), 1)
7892
- ], 10, Xv)
7899
+ ], 10, Qv)
7893
7900
  ])
7894
7901
  ]),
7895
7902
  key: "0"
@@ -7899,7 +7906,7 @@ const Dv = {
7899
7906
  }), Kl = /* @__PURE__ */ ee({
7900
7907
  __name: "ODialogProvider",
7901
7908
  setup(e) {
7902
- const a = Sv();
7909
+ const a = Dv();
7903
7910
  function t(g) {
7904
7911
  yl(g, !0);
7905
7912
  }
@@ -7932,15 +7939,15 @@ const Dv = {
7932
7939
  }
7933
7940
  }, null, 8, ["open", "title", "description", "variant", "layout", "confirm-label", "cancel-label", "size", "onConfirm", "onCancel", "onUpdate:open"]))), 128));
7934
7941
  }
7935
- }), Qv = ["data-theme"], Zv = ["aria-label", "aria-labelledby", "aria-describedby", "aria-busy"], Jv = {
7942
+ }), Zv = ["data-theme"], Jv = ["aria-label", "aria-labelledby", "aria-describedby", "aria-busy"], e0 = {
7936
7943
  key: 0,
7937
7944
  class: "orb-offcanvas__header"
7938
- }, e0 = { class: "orb-offcanvas__header-text" }, t0 = ["disabled"], a0 = { class: "orb-offcanvas__body" }, o0 = {
7945
+ }, t0 = { class: "orb-offcanvas__header-text" }, a0 = ["disabled"], o0 = { class: "orb-offcanvas__body" }, l0 = {
7939
7946
  key: 1,
7940
7947
  class: "orb-offcanvas__footer"
7941
7948
  }, la = [];
7942
7949
  let xa = 0, kl = "", wl = "";
7943
- const l0 = /* @__PURE__ */ ee({
7950
+ const n0 = /* @__PURE__ */ ee({
7944
7951
  __name: "OOffCanvas",
7945
7952
  props: {
7946
7953
  open: { type: Boolean, default: !1 },
@@ -8132,9 +8139,9 @@ const l0 = /* @__PURE__ */ ee({
8132
8139
  tabindex: "-1",
8133
8140
  onKeydown: y
8134
8141
  }, [
8135
- N.$slots.header || e.title || e.showCloseButton ? (l(), d("div", Jv, [
8142
+ N.$slots.header || e.title || e.showCloseButton ? (l(), d("div", e0, [
8136
8143
  te(N.$slots, "header", {}, () => [
8137
- k("div", e0, [
8144
+ k("div", t0, [
8138
8145
  e.title ? (l(), d("h2", {
8139
8146
  key: 0,
8140
8147
  id: r,
@@ -8166,17 +8173,17 @@ const l0 = /* @__PURE__ */ ee({
8166
8173
  size: 20,
8167
8174
  "aria-hidden": "true"
8168
8175
  }))
8169
- ], 8, t0)) : D("", !0)
8176
+ ], 8, a0)) : D("", !0)
8170
8177
  ])
8171
8178
  ])) : D("", !0),
8172
- k("div", a0, [
8179
+ k("div", o0, [
8173
8180
  te(N.$slots, "default")
8174
8181
  ]),
8175
- N.$slots.footer ? (l(), d("div", o0, [
8182
+ N.$slots.footer ? (l(), d("div", l0, [
8176
8183
  te(N.$slots, "footer", { loading: e.loading })
8177
8184
  ])) : D("", !0)
8178
- ], 46, Zv)
8179
- ], 46, Qv)), [
8185
+ ], 46, Jv)
8186
+ ], 46, Zv)), [
8180
8187
  [jt, e.destroyOnClose ? !0 : n.value]
8181
8188
  ]) : D("", !0)
8182
8189
  ]),
@@ -8185,7 +8192,7 @@ const l0 = /* @__PURE__ */ ee({
8185
8192
  ], 8, ["to"])) : D("", !0)
8186
8193
  ], 64));
8187
8194
  }
8188
- }), Da = Symbol("OSidebar"), n0 = ["aria-label"], jl = /* @__PURE__ */ ee({
8195
+ }), Da = Symbol("OSidebar"), r0 = ["aria-label"], jl = /* @__PURE__ */ ee({
8189
8196
  __name: "OSidebar",
8190
8197
  props: {
8191
8198
  collapsed: { type: Boolean, default: !1 },
@@ -8297,10 +8304,10 @@ const l0 = /* @__PURE__ */ ee({
8297
8304
  isMobile: h.value,
8298
8305
  isMobileOpen: w.value
8299
8306
  })
8300
- ], 14, n0)
8307
+ ], 14, r0)
8301
8308
  ], 64));
8302
8309
  }
8303
- }), r0 = { class: "orb-sidebar__header-row" }, i0 = ["aria-expanded"], s0 = ["aria-expanded"], u0 = {
8310
+ }), i0 = { class: "orb-sidebar__header-row" }, s0 = ["aria-expanded"], u0 = ["aria-expanded"], d0 = {
8304
8311
  xmlns: "http://www.w3.org/2000/svg",
8305
8312
  width: "16",
8306
8313
  height: "16",
@@ -8323,7 +8330,7 @@ const l0 = /* @__PURE__ */ ee({
8323
8330
  return (i, v) => (l(), d("div", {
8324
8331
  class: K(["orb-sidebar__header", { "orb-sidebar__header--collapsed": z(t).collapsed.value }])
8325
8332
  }, [
8326
- k("div", r0, [
8333
+ k("div", i0, [
8327
8334
  (l(), J($e(o.value || "div"), Rl({ class: "orb-sidebar__header-content" }, n.value), {
8328
8335
  default: be(() => [
8329
8336
  te(i.$slots, "default")
@@ -8353,7 +8360,7 @@ const l0 = /* @__PURE__ */ ee({
8353
8360
  }, [
8354
8361
  k("polyline", { points: "15 18 9 12 15 6" })
8355
8362
  ], -1)
8356
- ])], 8, i0)) : D("", !0)
8363
+ ])], 8, s0)) : D("", !0)
8357
8364
  ]),
8358
8365
  z(t).collapsed.value && !z(t).isMobile.value ? (l(), d("button", {
8359
8366
  key: 0,
@@ -8364,23 +8371,23 @@ const l0 = /* @__PURE__ */ ee({
8364
8371
  onClick: v[1] || (v[1] = //@ts-ignore
8365
8372
  (...g) => z(t).toggleCollapsed && z(t).toggleCollapsed(...g))
8366
8373
  }, [
8367
- (l(), d("svg", u0, [...v[3] || (v[3] = [
8374
+ (l(), d("svg", d0, [...v[3] || (v[3] = [
8368
8375
  k("polyline", { points: "15 18 9 12 15 6" }, null, -1)
8369
8376
  ])]))
8370
- ], 8, s0)) : D("", !0)
8377
+ ], 8, u0)) : D("", !0)
8371
8378
  ], 2));
8372
8379
  }
8373
- }), d0 = { class: "orb-sidebar__content" }, ql = /* @__PURE__ */ ee({
8380
+ }), c0 = { class: "orb-sidebar__content" }, ql = /* @__PURE__ */ ee({
8374
8381
  __name: "OSidebarContent",
8375
8382
  setup(e) {
8376
- return (a, t) => (l(), d("div", d0, [
8383
+ return (a, t) => (l(), d("div", c0, [
8377
8384
  te(a.$slots, "default")
8378
8385
  ]));
8379
8386
  }
8380
- }), c0 = ["aria-label"], f0 = {
8387
+ }), f0 = ["aria-label"], b0 = {
8381
8388
  key: 0,
8382
8389
  class: "orb-sidebar__group-label"
8383
- }, b0 = { class: "orb-sidebar__group-items" }, Ul = /* @__PURE__ */ ee({
8390
+ }, v0 = { class: "orb-sidebar__group-items" }, Ul = /* @__PURE__ */ ee({
8384
8391
  __name: "OSidebarGroup",
8385
8392
  props: {
8386
8393
  label: {}
@@ -8391,24 +8398,24 @@ const l0 = /* @__PURE__ */ ee({
8391
8398
  role: "group",
8392
8399
  "aria-label": e.label
8393
8400
  }, [
8394
- e.label ? (l(), d("div", f0, W(e.label), 1)) : D("", !0),
8395
- k("div", b0, [
8401
+ e.label ? (l(), d("div", b0, W(e.label), 1)) : D("", !0),
8402
+ k("div", v0, [
8396
8403
  te(a.$slots, "default")
8397
8404
  ])
8398
- ], 8, c0));
8405
+ ], 8, f0));
8399
8406
  }
8400
- }), v0 = { class: "orb-sidebar__item-wrapper" }, h0 = {
8407
+ }), h0 = { class: "orb-sidebar__item-wrapper" }, g0 = {
8401
8408
  key: 0,
8402
8409
  class: "orb-sidebar__item-icon",
8403
8410
  "aria-hidden": "true"
8404
- }, g0 = { class: "orb-sidebar__item-label" }, m0 = {
8411
+ }, m0 = { class: "orb-sidebar__item-label" }, p0 = {
8405
8412
  key: 1,
8406
8413
  class: "orb-sidebar__item-trailing"
8407
- }, p0 = {
8414
+ }, y0 = {
8408
8415
  key: 2,
8409
8416
  class: "orb-sidebar__tooltip",
8410
8417
  role: "tooltip"
8411
- }, y0 = {
8418
+ }, k0 = {
8412
8419
  key: 0,
8413
8420
  class: "orb-sidebar__sub-items"
8414
8421
  }, Yl = /* @__PURE__ */ ee({
@@ -8440,7 +8447,7 @@ const l0 = /* @__PURE__ */ ee({
8440
8447
  }
8441
8448
  o("click", b);
8442
8449
  }
8443
- return (b, w) => (l(), d("div", v0, [
8450
+ return (b, w) => (l(), d("div", h0, [
8444
8451
  (l(), J($e(f.value), Rl({
8445
8452
  class: r.value,
8446
8453
  "aria-disabled": e.disabled || void 0,
@@ -8449,57 +8456,57 @@ const l0 = /* @__PURE__ */ ee({
8449
8456
  tabindex: e.disabled ? -1 : 0
8450
8457
  }, s.value, { onClick: u }), {
8451
8458
  default: be(() => [
8452
- z(v) ? (l(), d("span", h0, [
8459
+ z(v) ? (l(), d("span", g0, [
8453
8460
  (l(), J($e(z(v)), {
8454
8461
  size: g.value,
8455
8462
  weight: "duotone"
8456
8463
  }, null, 8, ["size"]))
8457
8464
  ])) : D("", !0),
8458
- k("span", g0, [
8465
+ k("span", m0, [
8459
8466
  te(b.$slots, "default")
8460
8467
  ]),
8461
- b.$slots.trailing ? (l(), d("span", m0, [
8468
+ b.$slots.trailing ? (l(), d("span", p0, [
8462
8469
  te(b.$slots, "trailing")
8463
8470
  ])) : D("", !0),
8464
- z(n).collapsed.value && (e.tooltip || b.$slots.default) ? (l(), d("span", p0, [
8471
+ z(n).collapsed.value && (e.tooltip || b.$slots.default) ? (l(), d("span", y0, [
8465
8472
  ge(W(e.tooltip), 1),
8466
8473
  e.tooltip ? D("", !0) : te(b.$slots, "default", { key: 0 })
8467
8474
  ])) : D("", !0)
8468
8475
  ]),
8469
8476
  _: 3
8470
8477
  }, 16, ["class", "aria-disabled", "aria-current", "aria-label", "tabindex"])),
8471
- h.value && c.value ? (l(), d("div", y0, [
8478
+ h.value && c.value ? (l(), d("div", k0, [
8472
8479
  te(b.$slots, "sub-items")
8473
8480
  ])) : D("", !0)
8474
8481
  ]));
8475
8482
  }
8476
- }), k0 = { class: "orb-sidebar__sub-items" }, w0 = /* @__PURE__ */ ee({
8483
+ }), w0 = { class: "orb-sidebar__sub-items" }, x0 = /* @__PURE__ */ ee({
8477
8484
  __name: "OSidebarSubItems",
8478
8485
  setup(e) {
8479
- return (a, t) => (l(), d("div", k0, [
8486
+ return (a, t) => (l(), d("div", w0, [
8480
8487
  te(a.$slots, "default")
8481
8488
  ]));
8482
8489
  }
8483
- }), x0 = {
8490
+ }), _0 = {
8484
8491
  role: "separator",
8485
8492
  class: "orb-sidebar__separator"
8486
- }, _0 = /* @__PURE__ */ ee({
8493
+ }, $0 = /* @__PURE__ */ ee({
8487
8494
  __name: "OSidebarSeparator",
8488
8495
  setup(e) {
8489
- return (a, t) => (l(), d("div", x0));
8496
+ return (a, t) => (l(), d("div", _0));
8490
8497
  }
8491
- }), $0 = { class: "orb-sidebar__footer" }, Xl = /* @__PURE__ */ ee({
8498
+ }), C0 = { class: "orb-sidebar__footer" }, Xl = /* @__PURE__ */ ee({
8492
8499
  __name: "OSidebarFooter",
8493
8500
  setup(e) {
8494
8501
  const a = he(Da);
8495
- return (t, o) => (l(), d("div", $0, [
8502
+ return (t, o) => (l(), d("div", C0, [
8496
8503
  o[0] || (o[0] = k("div", { class: "orb-sidebar__footer-divider" }, null, -1)),
8497
8504
  te(t.$slots, "default", {
8498
8505
  collapsed: z(a).collapsed.value
8499
8506
  })
8500
8507
  ]));
8501
8508
  }
8502
- }), C0 = ["aria-label", "aria-expanded"], S0 = /* @__PURE__ */ ee({
8509
+ }), S0 = ["aria-label", "aria-expanded"], D0 = /* @__PURE__ */ ee({
8503
8510
  __name: "OSidebarTrigger",
8504
8511
  props: {
8505
8512
  ariaLabel: { default: "Alternar sidebar" }
@@ -8523,22 +8530,22 @@ const l0 = /* @__PURE__ */ ee({
8523
8530
  "aria-hidden": "true"
8524
8531
  })
8525
8532
  ])
8526
- ], 8, C0));
8533
+ ], 8, S0));
8527
8534
  }
8528
- }), D0 = {
8535
+ }), O0 = {
8529
8536
  key: 0,
8530
8537
  class: "orb-sidebar__footer-user"
8531
- }, O0 = { class: "orb-sidebar__footer-user-info" }, R0 = { class: "orb-sidebar__footer-user-name" }, M0 = {
8538
+ }, R0 = { class: "orb-sidebar__footer-user-info" }, M0 = { class: "orb-sidebar__footer-user-name" }, T0 = {
8532
8539
  key: 0,
8533
8540
  class: "orb-sidebar__footer-user-email"
8534
- }, T0 = {
8541
+ }, I0 = {
8535
8542
  key: 1,
8536
8543
  class: "orb-sidebar__footer-avatar"
8537
- }, I0 = {
8544
+ }, B0 = {
8538
8545
  type: "button",
8539
8546
  class: "orb-sidebar__footer-avatar-btn",
8540
8547
  "aria-label": "Menu do usuário"
8541
- }, B0 = /* @__PURE__ */ ee({
8548
+ }, V0 = /* @__PURE__ */ ee({
8542
8549
  __name: "OSidebarLayout",
8543
8550
  props: {
8544
8551
  collapsed: { type: Boolean, default: !1 },
@@ -8650,15 +8657,15 @@ const l0 = /* @__PURE__ */ ee({
8650
8657
  }),
8651
8658
  v.value ? (l(), J(Xl, { key: 0 }, {
8652
8659
  default: be(({ collapsed: x }) => [
8653
- e.user && !x ? (l(), d("div", D0, [
8660
+ e.user && !x ? (l(), d("div", O0, [
8654
8661
  se(Wa, {
8655
8662
  name: e.user.name,
8656
8663
  src: e.user.avatar,
8657
8664
  size: "sm"
8658
8665
  }, null, 8, ["name", "src"]),
8659
- k("div", O0, [
8660
- k("div", R0, W(e.user.name), 1),
8661
- e.user.email ? (l(), d("div", M0, W(e.user.email), 1)) : D("", !0)
8666
+ k("div", R0, [
8667
+ k("div", M0, W(e.user.name), 1),
8668
+ e.user.email ? (l(), d("div", T0, W(e.user.email), 1)) : D("", !0)
8662
8669
  ]),
8663
8670
  g.value ? (l(), J(bo, { key: 0 }, {
8664
8671
  default: be(() => [
@@ -8733,7 +8740,7 @@ const l0 = /* @__PURE__ */ ee({
8733
8740
  ]),
8734
8741
  _: 1
8735
8742
  })) : D("", !0)
8736
- ])) : e.user && x ? (l(), d("div", T0, [
8743
+ ])) : e.user && x ? (l(), d("div", I0, [
8737
8744
  g.value ? (l(), J(bo, {
8738
8745
  key: 0,
8739
8746
  placement: "right-end"
@@ -8741,7 +8748,7 @@ const l0 = /* @__PURE__ */ ee({
8741
8748
  default: be(() => [
8742
8749
  se(vo, null, {
8743
8750
  default: be(() => [
8744
- k("button", I0, [
8751
+ k("button", B0, [
8745
8752
  se(Wa, {
8746
8753
  name: e.user.name,
8747
8754
  src: e.user.avatar,
@@ -8817,11 +8824,11 @@ function Ue(e) {
8817
8824
  }
8818
8825
  };
8819
8826
  }
8820
- function V0(e, a) {
8827
+ function z0(e, a) {
8821
8828
  const t = Ue(a);
8822
8829
  return e.row >= t.start.row && e.row <= t.end.row && e.col >= t.start.col && e.col <= t.end.col;
8823
8830
  }
8824
- function z0(e) {
8831
+ function L0(e) {
8825
8832
  const a = new Array(e.length);
8826
8833
  let t = 0;
8827
8834
  for (let o = 0; o < e.length; o++)
@@ -8888,7 +8895,7 @@ function Zl(e, a) {
8888
8895
  return e;
8889
8896
  }
8890
8897
  }
8891
- function L0(e, a) {
8898
+ function E0(e, a) {
8892
8899
  let t = 0, o = e.length - 1;
8893
8900
  for (; t < o; ) {
8894
8901
  const n = t + o >>> 1;
@@ -8896,7 +8903,7 @@ function L0(e, a) {
8896
8903
  }
8897
8904
  return t;
8898
8905
  }
8899
- function E0(e) {
8906
+ function A0(e) {
8900
8907
  const {
8901
8908
  containerRef: a,
8902
8909
  totalRows: t,
@@ -8929,7 +8936,7 @@ function E0(e) {
8929
8936
  for (let C = 0; C < B.length; C++)
8930
8937
  I += B[C];
8931
8938
  return I;
8932
- }), _ = m(() => z0(i.value)), p = m(() => {
8939
+ }), _ = m(() => L0(i.value)), p = m(() => {
8933
8940
  const I = a.value;
8934
8941
  return I ? I.clientHeight - h : 400;
8935
8942
  }), $ = m(() => {
@@ -8961,7 +8968,7 @@ function E0(e) {
8961
8968
  const I = _.value, B = i.value, C = o.value;
8962
8969
  if (C === 0) return { start: 0, end: 0 };
8963
8970
  const R = b.value, L = $.value;
8964
- let q = L0(I, R), ae = q;
8971
+ let q = E0(I, R), ae = q;
8965
8972
  for (; ae < C - 1 && I[ae] + B[ae] < R + L; )
8966
8973
  ae++;
8967
8974
  const G = ut(q - g, 0, C), N = ut(ae + 1 + g, 0, C);
@@ -9005,7 +9012,7 @@ function E0(e) {
9005
9012
  scrollToCell: P
9006
9013
  };
9007
9014
  }
9008
- function A0(e) {
9015
+ function H0(e) {
9009
9016
  const { totalRows: a, totalCols: t, selectionMode: o } = e, n = T(null), i = T([]), v = T(!1), g = T(null);
9010
9017
  function h(C, R) {
9011
9018
  o.value !== "none" && (n.value = { row: C, col: R });
@@ -9095,7 +9102,7 @@ function A0(e) {
9095
9102
  function S(C, R) {
9096
9103
  const L = { row: C, col: R };
9097
9104
  for (const q of i.value)
9098
- if (V0(L, q)) return !0;
9105
+ if (z0(L, q)) return !0;
9099
9106
  return !1;
9100
9107
  }
9101
9108
  function E(C) {
@@ -9176,7 +9183,7 @@ function A0(e) {
9176
9183
  rowColSelectMode: x
9177
9184
  };
9178
9185
  }
9179
- function H0(e) {
9186
+ function F0(e) {
9180
9187
  const {
9181
9188
  activeCell: a,
9182
9189
  totalRows: t,
@@ -9422,7 +9429,7 @@ function H0(e) {
9422
9429
  }
9423
9430
  return { handleKeydown: ae };
9424
9431
  }
9425
- function F0(e, a, t) {
9432
+ function P0(e, a, t) {
9426
9433
  const o = T(e.columns.map((p) => p.field));
9427
9434
  ve(() => e.columns.map((p) => p.field).join(","), () => {
9428
9435
  const p = new Set(o.value), $ = e.columns.map((S) => S.field), y = o.value.filter((S) => $.includes(S));
@@ -9524,7 +9531,7 @@ function F0(e, a, t) {
9524
9531
  getPinnedRightOffset: _
9525
9532
  };
9526
9533
  }
9527
- function P0(e) {
9534
+ function N0(e) {
9528
9535
  const { data: a, columns: t, readOnly: o, scrollToCell: n, pushUndo: i, emit: v } = e, g = T(!1), h = T(null), c = T(null), r = T(null);
9529
9536
  function f(y, S) {
9530
9537
  if (o.value) return !1;
@@ -9742,7 +9749,7 @@ function P0(e) {
9742
9749
  clearCells: $
9743
9750
  };
9744
9751
  }
9745
- function N0(e) {
9752
+ function W0(e) {
9746
9753
  const { data: a, maxStackSize: t = 100, onColumnResize: o, onRowResize: n, onSortChange: i } = e, v = T([]), g = T([]), h = m(() => v.value.length > 0), c = m(() => g.value.length > 0);
9747
9754
  function r(u) {
9748
9755
  v.value.push(u), g.value = [], v.value.length > t && v.value.shift();
@@ -9813,7 +9820,7 @@ function N0(e) {
9813
9820
  redo: s
9814
9821
  };
9815
9822
  }
9816
- function W0(e) {
9823
+ function K0(e) {
9817
9824
  const {
9818
9825
  data: a,
9819
9826
  columns: t,
@@ -9998,7 +10005,7 @@ function W0(e) {
9998
10005
  paste: V
9999
10006
  };
10000
10007
  }
10001
- function K0(e) {
10008
+ function j0(e) {
10002
10009
  const { data: a, columns: t, sortable: o, multiSort: n, defaultSort: i } = e, v = T(i ?? []), g = m(() => {
10003
10010
  const s = v.value;
10004
10011
  if (s.length === 0) return a.value;
@@ -10042,7 +10049,7 @@ function K0(e) {
10042
10049
  getSortOrder: f
10043
10050
  };
10044
10051
  }
10045
- function j0(e, a) {
10052
+ function G0(e, a) {
10046
10053
  const t = a.operator, o = a.value;
10047
10054
  if (t === "empty") return e == null || e === "";
10048
10055
  if (t === "notEmpty") return e != null && e !== "";
@@ -10080,13 +10087,13 @@ function j0(e, a) {
10080
10087
  }
10081
10088
  return !0;
10082
10089
  }
10083
- function G0(e) {
10090
+ function q0(e) {
10084
10091
  const { data: a, columns: t } = e, o = T(/* @__PURE__ */ new Map()), n = m(() => {
10085
10092
  const r = o.value;
10086
10093
  return r.size === 0 ? a.value : a.value.filter((f) => {
10087
10094
  for (const [s, u] of r) {
10088
10095
  const b = t.value.find((x) => x.field === s), w = b != null && b.valueGetter ? b.valueGetter({ row: f, rowIndex: 0, column: b }) : f[s];
10089
- if (!j0(w, u))
10096
+ if (!G0(w, u))
10090
10097
  return !1;
10091
10098
  }
10092
10099
  return !0;
@@ -10119,7 +10126,7 @@ function G0(e) {
10119
10126
  hasActiveFilter: c
10120
10127
  };
10121
10128
  }
10122
- function q0(e) {
10129
+ function U0(e) {
10123
10130
  const { data: a, columns: t } = e, o = T(""), n = m(() => {
10124
10131
  const g = o.value.trim().toLowerCase();
10125
10132
  return g ? a.value.filter((h) => t.value.some((c) => {
@@ -10140,7 +10147,7 @@ function q0(e) {
10140
10147
  clearQuery: v
10141
10148
  };
10142
10149
  }
10143
- function U0(e) {
10150
+ function Y0(e) {
10144
10151
  const { columns: a, containerRef: t, widthOverrides: o, onResize: n } = e, i = T(!1), v = T(null), g = T(0), h = T(0), c = T(0);
10145
10152
  function r(b) {
10146
10153
  return o.value.get(b.field) ?? b.width ?? 100;
@@ -10191,7 +10198,7 @@ function U0(e) {
10191
10198
  autoFitAllColumns: u
10192
10199
  };
10193
10200
  }
10194
- function Y0(e) {
10201
+ function X0(e) {
10195
10202
  const { columnOrder: a, onReorder: t } = e, o = T(!1), n = T([]), i = T(null), v = T(null), g = T(null);
10196
10203
  function h(u) {
10197
10204
  o.value = !0;
@@ -10241,7 +10248,7 @@ function Y0(e) {
10241
10248
  cancelDrag: s
10242
10249
  };
10243
10250
  }
10244
- function X0(e) {
10251
+ function Q0(e) {
10245
10252
  const {
10246
10253
  data: a,
10247
10254
  columns: t,
@@ -10390,7 +10397,7 @@ function X0(e) {
10390
10397
  handleKeydown: P
10391
10398
  };
10392
10399
  }
10393
- function Q0(e) {
10400
+ function Z0(e) {
10394
10401
  const { mergeCells: a } = e;
10395
10402
  function t(c, r) {
10396
10403
  return a.value.find(
@@ -10461,7 +10468,7 @@ function Q0(e) {
10461
10468
  getNextVisibleCell: h
10462
10469
  };
10463
10470
  }
10464
- function Z0(e) {
10471
+ function J0(e) {
10465
10472
  const {
10466
10473
  data: a,
10467
10474
  columns: t,
@@ -10634,7 +10641,7 @@ function Z0(e) {
10634
10641
  getFillPreviewStyle: $
10635
10642
  };
10636
10643
  }
10637
- function J0(e) {
10644
+ function eh(e) {
10638
10645
  const { data: a, groupBy: t, groupDefaultExpanded: o } = e, n = T(/* @__PURE__ */ new Map()), i = m(() => {
10639
10646
  const w = t.value;
10640
10647
  if (!w) return [];
@@ -10723,7 +10730,7 @@ function J0(e) {
10723
10730
  expandedGroups: n
10724
10731
  };
10725
10732
  }
10726
- function eh(e) {
10733
+ function th(e) {
10727
10734
  const { data: a, columns: t, showFooter: o } = e;
10728
10735
  function n(c, r) {
10729
10736
  if (typeof r == "function")
@@ -10795,7 +10802,7 @@ function eh(e) {
10795
10802
  getSummaryLabel: v
10796
10803
  };
10797
10804
  }
10798
- function th(e) {
10805
+ function ah(e) {
10799
10806
  const { data: a, allColumns: t, visibleColumns: o } = e;
10800
10807
  function n(s) {
10801
10808
  return s ? t.value : o.value;
@@ -10899,7 +10906,7 @@ function th(e) {
10899
10906
  exportExcel: h
10900
10907
  };
10901
10908
  }
10902
- function ah(e) {
10909
+ function oh(e) {
10903
10910
  const { data: a, columns: t } = e, o = T(/* @__PURE__ */ new Map());
10904
10911
  function n(f, s) {
10905
10912
  const u = t.value[s];
@@ -10952,7 +10959,7 @@ function ah(e) {
10952
10959
  clearCellError: r
10953
10960
  };
10954
10961
  }
10955
- function oh() {
10962
+ function lh() {
10956
10963
  const e = T(/* @__PURE__ */ new Map()), a = T(null);
10957
10964
  function t(r, f) {
10958
10965
  return `${r}:${f}`;
@@ -10997,7 +11004,7 @@ function oh() {
10997
11004
  clearAllComments: c
10998
11005
  };
10999
11006
  }
11000
- function lh(e) {
11007
+ function nh(e) {
11001
11008
  const { data: a, defaultRowHeight: t, onRowResize: o, customRowHeights: n } = e, i = n ?? T(/* @__PURE__ */ new Map()), v = T(/* @__PURE__ */ new Set()), g = T(null), h = T(0), c = T(null), r = T(null);
11002
11009
  function f(O) {
11003
11010
  return i.value.get(O) ?? t;
@@ -11084,7 +11091,7 @@ function lh(e) {
11084
11091
  visibleData: M
11085
11092
  };
11086
11093
  }
11087
- function nh(e) {
11094
+ function rh(e) {
11088
11095
  const { data: a, enabled: t, pageSize: o } = e, n = T(1), i = m(() => a.value.length), v = m(() => !t.value || o.value <= 0 ? 1 : Math.max(1, Math.ceil(i.value / o.value)));
11089
11096
  ve([v], () => {
11090
11097
  n.value > v.value && (n.value = v.value);
@@ -11127,7 +11134,7 @@ function nh(e) {
11127
11134
  lastPage: u
11128
11135
  };
11129
11136
  }
11130
- const rh = /* @__PURE__ */ ee({
11137
+ const ih = /* @__PURE__ */ ee({
11131
11138
  __name: "ODataGridHeaderMenu",
11132
11139
  props: {
11133
11140
  field: {},
@@ -11225,11 +11232,11 @@ const rh = /* @__PURE__ */ ee({
11225
11232
  ], 36)
11226
11233
  ]));
11227
11234
  }
11228
- }), ih = {
11235
+ }), sh = {
11229
11236
  class: "orb-datagrid__header",
11230
11237
  role: "row",
11231
11238
  "aria-rowindex": "1"
11232
- }, sh = ["data-col-field", "aria-colindex", "aria-sort", "onMousedown"], uh = { class: "orb-datagrid__header-text" }, dh = ["onMousedown"], ch = {
11239
+ }, uh = ["data-col-field", "aria-colindex", "aria-sort", "onMousedown"], dh = { class: "orb-datagrid__header-text" }, ch = ["onMousedown"], fh = {
11233
11240
  key: 0,
11234
11241
  width: "12",
11235
11242
  height: "12",
@@ -11240,7 +11247,7 @@ const rh = /* @__PURE__ */ ee({
11240
11247
  "stroke-linecap": "round",
11241
11248
  "stroke-linejoin": "round",
11242
11249
  "aria-hidden": "true"
11243
- }, fh = {
11250
+ }, bh = {
11244
11251
  key: 1,
11245
11252
  width: "12",
11246
11253
  height: "12",
@@ -11251,14 +11258,14 @@ const rh = /* @__PURE__ */ ee({
11251
11258
  "stroke-linecap": "round",
11252
11259
  "stroke-linejoin": "round",
11253
11260
  "aria-hidden": "true"
11254
- }, bh = {
11261
+ }, vh = {
11255
11262
  key: 1,
11256
11263
  class: "orb-datagrid__sort-badge"
11257
- }, vh = {
11264
+ }, hh = {
11258
11265
  key: 2,
11259
11266
  class: "orb-datagrid__filter-icon",
11260
11267
  "aria-label": "Coluna filtrada"
11261
- }, hh = ["onMousedown"], gh = ["onMousedown", "onDblclick"], xl = 5, mh = /* @__PURE__ */ ee({
11268
+ }, gh = ["onMousedown"], mh = ["onMousedown", "onDblclick"], xl = 5, ph = /* @__PURE__ */ ee({
11262
11269
  __name: "ODataGridHeader",
11263
11270
  setup(e) {
11264
11271
  const a = he(ct), t = T(null), o = T(null);
@@ -11367,7 +11374,7 @@ const rh = /* @__PURE__ */ ee({
11367
11374
  S += E[M].width ?? 100;
11368
11375
  return S;
11369
11376
  }
11370
- return (p, $) => (l(), d("div", ih, [
11377
+ return (p, $) => (l(), d("div", sh, [
11371
11378
  (l(!0), d(re, null, ke(v.value, ({ col: y, index: S }) => (l(), d("div", {
11372
11379
  key: y.field,
11373
11380
  class: K(b(y, S)),
@@ -11378,20 +11385,20 @@ const rh = /* @__PURE__ */ ee({
11378
11385
  "aria-sort": z(a).getSortOrder(y.field) === "asc" ? "ascending" : z(a).getSortOrder(y.field) === "desc" ? "descending" : void 0,
11379
11386
  onMousedown: (E) => u(E, S)
11380
11387
  }, [
11381
- k("span", uh, W(y.header), 1),
11388
+ k("span", dh, W(y.header), 1),
11382
11389
  z(a).sortable.value && y.sortable !== !1 && z(a).getSortOrder(y.field) ? (l(), d("span", {
11383
11390
  key: 0,
11384
11391
  class: K(["orb-datagrid__sort-icon orb-datagrid__sort-icon--clickable", { "orb-datagrid__sort-icon--active": z(a).getSortOrder(y.field) !== null }]),
11385
11392
  onMousedown: ye((E) => g(E, y.field), ["stop"])
11386
11393
  }, [
11387
- z(a).getSortOrder(y.field) === "asc" ? (l(), d("svg", ch, [...$[0] || ($[0] = [
11394
+ z(a).getSortOrder(y.field) === "asc" ? (l(), d("svg", fh, [...$[0] || ($[0] = [
11388
11395
  k("path", { d: "M12 5v14M5 12l7-7 7 7" }, null, -1)
11389
- ])])) : z(a).getSortOrder(y.field) === "desc" ? (l(), d("svg", fh, [...$[1] || ($[1] = [
11396
+ ])])) : z(a).getSortOrder(y.field) === "desc" ? (l(), d("svg", bh, [...$[1] || ($[1] = [
11390
11397
  k("path", { d: "M12 19V5M19 12l-7 7-7-7" }, null, -1)
11391
11398
  ])])) : D("", !0)
11392
- ], 42, dh)) : D("", !0),
11393
- z(a).multiSort.value && z(a).getSortIndex(y.field) > 0 && z(a).sortState.value.length > 1 ? (l(), d("span", bh, W(z(a).getSortIndex(y.field)), 1)) : D("", !0),
11394
- z(a).filterable.value && z(a).hasActiveFilter(y.field) ? (l(), d("span", vh, [...$[2] || ($[2] = [
11399
+ ], 42, ch)) : D("", !0),
11400
+ z(a).multiSort.value && z(a).getSortIndex(y.field) > 0 && z(a).sortState.value.length > 1 ? (l(), d("span", vh, W(z(a).getSortIndex(y.field)), 1)) : D("", !0),
11401
+ z(a).filterable.value && z(a).hasActiveFilter(y.field) ? (l(), d("span", hh, [...$[2] || ($[2] = [
11395
11402
  k("svg", {
11396
11403
  width: "12",
11397
11404
  height: "12",
@@ -11420,8 +11427,8 @@ const rh = /* @__PURE__ */ ee({
11420
11427
  }, [
11421
11428
  k("path", { d: "M6 9l6 6 6-6" })
11422
11429
  ], -1)
11423
- ])], 40, hh)) : D("", !0),
11424
- t.value === y.field ? (l(), J(rh, {
11430
+ ])], 40, gh)) : D("", !0),
11431
+ t.value === y.field ? (l(), J(ih, {
11425
11432
  key: 4,
11426
11433
  field: y.field,
11427
11434
  "col-index": S,
@@ -11433,14 +11440,14 @@ const rh = /* @__PURE__ */ ee({
11433
11440
  class: "orb-datagrid__resize-handle",
11434
11441
  onMousedown: (E) => h(E, S),
11435
11442
  onDblclick: (E) => c(E, S)
11436
- }, null, 40, gh)) : D("", !0)
11437
- ], 46, sh))), 128))
11443
+ }, null, 40, mh)) : D("", !0)
11444
+ ], 46, uh))), 128))
11438
11445
  ]));
11439
11446
  }
11440
- }), ph = {
11447
+ }), yh = {
11441
11448
  class: "orb-datagrid__empty-state",
11442
11449
  role: "status"
11443
- }, yh = {
11450
+ }, kh = {
11444
11451
  key: 0,
11445
11452
  class: "orb-datagrid__empty-state-icon",
11446
11453
  width: "48",
@@ -11452,15 +11459,15 @@ const rh = /* @__PURE__ */ ee({
11452
11459
  "stroke-linecap": "round",
11453
11460
  "stroke-linejoin": "round",
11454
11461
  "aria-hidden": "true"
11455
- }, kh = { class: "orb-datagrid__empty-state-text" }, wh = /* @__PURE__ */ ee({
11462
+ }, wh = { class: "orb-datagrid__empty-state-text" }, xh = /* @__PURE__ */ ee({
11456
11463
  __name: "ODataGridEmptyState",
11457
11464
  props: {
11458
11465
  message: {},
11459
11466
  icon: { type: Boolean }
11460
11467
  },
11461
11468
  setup(e) {
11462
- return (a, t) => (l(), d("div", ph, [
11463
- e.icon !== !1 ? (l(), d("svg", yh, [...t[0] || (t[0] = [
11469
+ return (a, t) => (l(), d("div", yh, [
11470
+ e.icon !== !1 ? (l(), d("svg", kh, [...t[0] || (t[0] = [
11464
11471
  k("rect", {
11465
11472
  x: "3",
11466
11473
  y: "3",
@@ -11481,13 +11488,13 @@ const rh = /* @__PURE__ */ ee({
11481
11488
  y2: "21"
11482
11489
  }, null, -1)
11483
11490
  ])])) : D("", !0),
11484
- k("span", kh, W(e.message ?? "Nenhum dado para exibir"), 1)
11491
+ k("span", wh, W(e.message ?? "Nenhum dado para exibir"), 1)
11485
11492
  ]));
11486
11493
  }
11487
- }), xh = { class: "orb-datagrid__pagination" }, _h = { class: "orb-datagrid__pagination-info" }, $h = { class: "orb-datagrid__pagination-size" }, Ch = ["value"], Sh = ["value"], Dh = { class: "orb-datagrid__pagination-controls" }, Oh = ["disabled"], Rh = ["disabled"], Mh = {
11494
+ }), _h = { class: "orb-datagrid__pagination" }, $h = { class: "orb-datagrid__pagination-info" }, Ch = { class: "orb-datagrid__pagination-size" }, Sh = ["value"], Dh = ["value"], Oh = { class: "orb-datagrid__pagination-controls" }, Rh = ["disabled"], Mh = ["disabled"], Th = {
11488
11495
  key: 0,
11489
11496
  class: "orb-datagrid__pagination-ellipsis"
11490
- }, Th = ["onClick"], Ih = ["disabled"], Bh = ["disabled"], Vh = /* @__PURE__ */ ee({
11497
+ }, Ih = ["onClick"], Bh = ["disabled"], Vh = ["disabled"], zh = /* @__PURE__ */ ee({
11491
11498
  __name: "ODataGridPagination",
11492
11499
  props: {
11493
11500
  currentPage: {},
@@ -11509,9 +11516,9 @@ const rh = /* @__PURE__ */ ee({
11509
11516
  for (let f = c; f <= r; f++) h.push(f);
11510
11517
  return g < v - 2 && h.push("ellipsis"), h.push(v), h;
11511
11518
  });
11512
- return (v, g) => (l(), d("div", xh, [
11513
- k("div", _h, W(e.pageInfo.from) + "–" + W(e.pageInfo.to) + " de " + W(e.pageInfo.total), 1),
11514
- k("div", $h, [
11519
+ return (v, g) => (l(), d("div", _h, [
11520
+ k("div", $h, W(e.pageInfo.from) + "–" + W(e.pageInfo.to) + " de " + W(e.pageInfo.total), 1),
11521
+ k("div", Ch, [
11515
11522
  k("select", {
11516
11523
  class: "orb-datagrid__pagination-select",
11517
11524
  value: e.pageSize,
@@ -11520,10 +11527,10 @@ const rh = /* @__PURE__ */ ee({
11520
11527
  (l(!0), d(re, null, ke(n.value, (h) => (l(), d("option", {
11521
11528
  key: h,
11522
11529
  value: h
11523
- }, W(h) + " / pág", 9, Sh))), 128))
11524
- ], 40, Ch)
11530
+ }, W(h) + " / pág", 9, Dh))), 128))
11531
+ ], 40, Sh)
11525
11532
  ]),
11526
- k("div", Dh, [
11533
+ k("div", Oh, [
11527
11534
  k("button", {
11528
11535
  class: "orb-datagrid__pagination-btn",
11529
11536
  disabled: e.currentPage <= 1,
@@ -11543,7 +11550,7 @@ const rh = /* @__PURE__ */ ee({
11543
11550
  k("polyline", { points: "11 17 6 12 11 7" }),
11544
11551
  k("polyline", { points: "18 17 13 12 18 7" })
11545
11552
  ], -1)
11546
- ])], 8, Oh),
11553
+ ])], 8, Rh),
11547
11554
  k("button", {
11548
11555
  class: "orb-datagrid__pagination-btn",
11549
11556
  disabled: e.currentPage <= 1,
@@ -11562,13 +11569,13 @@ const rh = /* @__PURE__ */ ee({
11562
11569
  }, [
11563
11570
  k("polyline", { points: "15 18 9 12 15 6" })
11564
11571
  ], -1)
11565
- ])], 8, Rh),
11572
+ ])], 8, Mh),
11566
11573
  (l(!0), d(re, null, ke(i.value, (h, c) => (l(), d(re, { key: c }, [
11567
- h === "ellipsis" ? (l(), d("span", Mh, "…")) : (l(), d("button", {
11574
+ h === "ellipsis" ? (l(), d("span", Th, "…")) : (l(), d("button", {
11568
11575
  key: 1,
11569
11576
  class: K(["orb-datagrid__pagination-page", { "orb-datagrid__pagination-page--active": h === e.currentPage }]),
11570
11577
  onClick: (r) => o("update:currentPage", h)
11571
- }, W(h), 11, Th))
11578
+ }, W(h), 11, Ih))
11572
11579
  ], 64))), 128)),
11573
11580
  k("button", {
11574
11581
  class: "orb-datagrid__pagination-btn",
@@ -11588,7 +11595,7 @@ const rh = /* @__PURE__ */ ee({
11588
11595
  }, [
11589
11596
  k("polyline", { points: "9 18 15 12 9 6" })
11590
11597
  ], -1)
11591
- ])], 8, Ih),
11598
+ ])], 8, Bh),
11592
11599
  k("button", {
11593
11600
  class: "orb-datagrid__pagination-btn",
11594
11601
  disabled: e.currentPage >= e.totalPages,
@@ -11608,29 +11615,29 @@ const rh = /* @__PURE__ */ ee({
11608
11615
  k("polyline", { points: "13 17 18 12 13 7" }),
11609
11616
  k("polyline", { points: "6 17 11 12 6 7" })
11610
11617
  ], -1)
11611
- ])], 8, Bh)
11618
+ ])], 8, Vh)
11612
11619
  ])
11613
11620
  ]));
11614
11621
  }
11615
- }), zh = { class: "orb-datagrid__cell-content" }, Lh = /* @__PURE__ */ ee({
11622
+ }), Lh = { class: "orb-datagrid__cell-content" }, Eh = /* @__PURE__ */ ee({
11616
11623
  __name: "TextRenderer",
11617
11624
  props: {
11618
11625
  value: {},
11619
11626
  formattedValue: {}
11620
11627
  },
11621
11628
  setup(e) {
11622
- return (a, t) => (l(), d("span", zh, W(e.formattedValue), 1));
11629
+ return (a, t) => (l(), d("span", Lh, W(e.formattedValue), 1));
11623
11630
  }
11624
- }), Eh = { class: "orb-datagrid__cell-content" }, Ah = /* @__PURE__ */ ee({
11631
+ }), Ah = { class: "orb-datagrid__cell-content" }, Hh = /* @__PURE__ */ ee({
11625
11632
  __name: "NumberRenderer",
11626
11633
  props: {
11627
11634
  value: {},
11628
11635
  formattedValue: {}
11629
11636
  },
11630
11637
  setup(e) {
11631
- return (a, t) => (l(), d("span", Eh, W(e.formattedValue), 1));
11638
+ return (a, t) => (l(), d("span", Ah, W(e.formattedValue), 1));
11632
11639
  }
11633
- }), Hh = ["aria-label"], Fh = {
11640
+ }), Fh = ["aria-label"], Ph = {
11634
11641
  key: 0,
11635
11642
  xmlns: "http://www.w3.org/2000/svg",
11636
11643
  width: "16",
@@ -11642,7 +11649,7 @@ const rh = /* @__PURE__ */ ee({
11642
11649
  "stroke-linecap": "round",
11643
11650
  "stroke-linejoin": "round",
11644
11651
  "aria-hidden": "true"
11645
- }, Ph = /* @__PURE__ */ ee({
11652
+ }, Nh = /* @__PURE__ */ ee({
11646
11653
  __name: "CheckboxRenderer",
11647
11654
  props: {
11648
11655
  value: {}
@@ -11657,12 +11664,12 @@ const rh = /* @__PURE__ */ ee({
11657
11664
  role: "img",
11658
11665
  "aria-label": t.value ? "Marcado" : "Desmarcado"
11659
11666
  }, [
11660
- t.value ? (l(), d("svg", Fh, [...n[0] || (n[0] = [
11667
+ t.value ? (l(), d("svg", Ph, [...n[0] || (n[0] = [
11661
11668
  k("polyline", { points: "20 6 9 17 4 12" }, null, -1)
11662
11669
  ])])) : D("", !0)
11663
- ], 10, Hh));
11670
+ ], 10, Fh));
11664
11671
  }
11665
- }), Nh = { class: "orb-datagrid__cell-content" }, Wh = /* @__PURE__ */ ee({
11672
+ }), Wh = { class: "orb-datagrid__cell-content" }, Kh = /* @__PURE__ */ ee({
11666
11673
  __name: "DateRenderer",
11667
11674
  props: {
11668
11675
  value: {},
@@ -11690,9 +11697,9 @@ const rh = /* @__PURE__ */ ee({
11690
11697
  const n = a.value;
11691
11698
  return n != null && n !== "" ? t(n) : a.formattedValue ? a.formattedValue : "";
11692
11699
  });
11693
- return (n, i) => (l(), d("span", Nh, W(o.value), 1));
11700
+ return (n, i) => (l(), d("span", Wh, W(o.value), 1));
11694
11701
  }
11695
- }), Kh = { class: "orb-datagrid__cell-content orb-datagrid__cell-content--select" }, jh = { class: "orb-datagrid__select-value" }, Gh = /* @__PURE__ */ ee({
11702
+ }), jh = { class: "orb-datagrid__cell-content orb-datagrid__cell-content--select" }, Gh = { class: "orb-datagrid__select-value" }, qh = /* @__PURE__ */ ee({
11696
11703
  __name: "SelectRenderer",
11697
11704
  props: {
11698
11705
  value: {},
@@ -11706,8 +11713,8 @@ const rh = /* @__PURE__ */ ee({
11706
11713
  }
11707
11714
  return a.value ?? "";
11708
11715
  });
11709
- return (o, n) => (l(), d("span", Kh, [
11710
- k("span", jh, W(t.value), 1),
11716
+ return (o, n) => (l(), d("span", jh, [
11717
+ k("span", Gh, W(t.value), 1),
11711
11718
  n[0] || (n[0] = k("svg", {
11712
11719
  class: "orb-datagrid__select-arrow",
11713
11720
  width: "12",
@@ -11724,16 +11731,16 @@ const rh = /* @__PURE__ */ ee({
11724
11731
  ], -1))
11725
11732
  ]));
11726
11733
  }
11727
- }), qh = ["aria-selected", "aria-readonly", "aria-colindex", "aria-invalid", "data-row", "data-col"], Uh = {
11734
+ }), Uh = ["aria-selected", "aria-readonly", "aria-colindex", "aria-invalid", "data-row", "data-col"], Yh = {
11728
11735
  key: 6,
11729
11736
  class: "orb-datagrid__validation-tooltip"
11730
- }, Yh = {
11737
+ }, Xh = {
11731
11738
  key: 7,
11732
11739
  class: "orb-datagrid__comment-tooltip"
11733
- }, Xh = {
11740
+ }, Qh = {
11734
11741
  key: 0,
11735
11742
  class: "orb-datagrid__comment-author"
11736
- }, Qh = { class: "orb-datagrid__comment-text" }, Zh = /* @__PURE__ */ ee({
11743
+ }, Zh = { class: "orb-datagrid__comment-text" }, Jh = /* @__PURE__ */ ee({
11737
11744
  __name: "ODataGridCell",
11738
11745
  props: {
11739
11746
  rowIndex: {},
@@ -11888,35 +11895,35 @@ const rh = /* @__PURE__ */ ee({
11888
11895
  "row-index": e.rowIndex,
11889
11896
  "col-index": e.colIndex,
11890
11897
  column: e.column
11891
- }, null, 8, ["value", "row", "row-index", "col-index", "column"])) : A.value === "checkbox" ? (l(), J(Ph, {
11898
+ }, null, 8, ["value", "row", "row-index", "col-index", "column"])) : A.value === "checkbox" ? (l(), J(Nh, {
11892
11899
  key: 1,
11893
11900
  value: o.value
11894
- }, null, 8, ["value"])) : A.value === "number" ? (l(), J(Ah, {
11901
+ }, null, 8, ["value"])) : A.value === "number" ? (l(), J(Hh, {
11895
11902
  key: 2,
11896
11903
  value: o.value,
11897
11904
  "formatted-value": n.value
11898
- }, null, 8, ["value", "formatted-value"])) : A.value === "date" ? (l(), J(Wh, {
11905
+ }, null, 8, ["value", "formatted-value"])) : A.value === "date" ? (l(), J(Kh, {
11899
11906
  key: 3,
11900
11907
  value: o.value,
11901
11908
  "formatted-value": n.value
11902
- }, null, 8, ["value", "formatted-value"])) : A.value === "select" ? (l(), J(Gh, {
11909
+ }, null, 8, ["value", "formatted-value"])) : A.value === "select" ? (l(), J(qh, {
11903
11910
  key: 4,
11904
11911
  value: o.value,
11905
11912
  options: (q = e.column.editorOptions) == null ? void 0 : q.options
11906
- }, null, 8, ["value", "options"])) : (l(), J(Lh, {
11913
+ }, null, 8, ["value", "options"])) : (l(), J(Eh, {
11907
11914
  key: 5,
11908
11915
  value: o.value,
11909
11916
  "formatted-value": n.value
11910
11917
  }, null, 8, ["value", "formatted-value"])),
11911
- u.value && $.value && b.value ? (l(), d("div", Uh, W(b.value.message), 1)) : D("", !0),
11912
- x.value && _.value ? (l(), d("div", Yh, [
11913
- _.value.author ? (l(), d("div", Xh, W(_.value.author), 1)) : D("", !0),
11914
- k("div", Qh, W(_.value.text), 1)
11918
+ u.value && $.value && b.value ? (l(), d("div", Yh, W(b.value.message), 1)) : D("", !0),
11919
+ x.value && _.value ? (l(), d("div", Xh, [
11920
+ _.value.author ? (l(), d("div", Qh, W(_.value.author), 1)) : D("", !0),
11921
+ k("div", Zh, W(_.value.text), 1)
11915
11922
  ])) : D("", !0)
11916
- ], 46, qh));
11923
+ ], 46, Uh));
11917
11924
  };
11918
11925
  }
11919
- }), Jh = ["aria-rowindex"], eg = /* @__PURE__ */ ee({
11926
+ }), eg = ["aria-rowindex"], tg = /* @__PURE__ */ ee({
11920
11927
  __name: "ODataGridRow",
11921
11928
  props: {
11922
11929
  rowIndex: {}
@@ -11938,18 +11945,18 @@ const rh = /* @__PURE__ */ ee({
11938
11945
  role: "row",
11939
11946
  "aria-rowindex": e.rowIndex + 2
11940
11947
  }, [
11941
- (l(!0), d(re, null, ke(n.value, ({ col: g, index: h }) => (l(), J(Zh, {
11948
+ (l(!0), d(re, null, ke(n.value, ({ col: g, index: h }) => (l(), J(Jh, {
11942
11949
  key: g.field,
11943
11950
  "row-index": e.rowIndex,
11944
11951
  "col-index": h,
11945
11952
  column: g
11946
11953
  }, null, 8, ["row-index", "col-index", "column"]))), 128))
11947
- ], 14, Jh));
11954
+ ], 14, eg));
11948
11955
  }
11949
- }), tg = {
11956
+ }), ag = {
11950
11957
  class: "orb-datagrid__body",
11951
11958
  role: "rowgroup"
11952
- }, ag = ["onClick"], og = { class: "orb-datagrid__group-label" }, lg = { class: "orb-datagrid__group-count" }, ng = /* @__PURE__ */ ee({
11959
+ }, og = ["onClick"], lg = { class: "orb-datagrid__group-label" }, ng = { class: "orb-datagrid__group-count" }, rg = /* @__PURE__ */ ee({
11953
11960
  __name: "ODataGridBody",
11954
11961
  setup(e) {
11955
11962
  const a = he(ct), t = m(() => !!a.groupBy.value), o = m(() => {
@@ -11969,7 +11976,7 @@ const rh = /* @__PURE__ */ ee({
11969
11976
  function n(i) {
11970
11977
  a.toggleGroup(i);
11971
11978
  }
11972
- return (i, v) => (l(), d("div", tg, [
11979
+ return (i, v) => (l(), d("div", ag, [
11973
11980
  (l(!0), d(re, null, ke(o.value, (g, h) => {
11974
11981
  var c;
11975
11982
  return l(), d(re, {
@@ -11999,9 +12006,9 @@ const rh = /* @__PURE__ */ ee({
11999
12006
  k("path", { d: "M6 9l6 6 6-6" })
12000
12007
  ], -1)
12001
12008
  ])], 2),
12002
- k("span", og, W(g.item.group.label), 1),
12003
- k("span", lg, W(g.item.group.rows.length), 1)
12004
- ], 12, ag)) : g.type === "data" ? (l(), J(eg, {
12009
+ k("span", lg, W(g.item.group.label), 1),
12010
+ k("span", ng, W(g.item.group.rows.length), 1)
12011
+ ], 12, og)) : g.type === "data" ? (l(), J(tg, {
12005
12012
  key: 1,
12006
12013
  "row-index": g.rowIndex
12007
12014
  }, null, 8, ["row-index"])) : D("", !0)
@@ -12009,7 +12016,7 @@ const rh = /* @__PURE__ */ ee({
12009
12016
  }), 128))
12010
12017
  ]));
12011
12018
  }
12012
- }), rg = { class: "orb-datagrid__row-headers" }, ig = ["data-row-header", "onMousedown"], sg = ["onMousedown", "onDblclick"], ug = /* @__PURE__ */ ee({
12019
+ }), ig = { class: "orb-datagrid__row-headers" }, sg = ["data-row-header", "onMousedown"], ug = ["onMousedown", "onDblclick"], dg = /* @__PURE__ */ ee({
12013
12020
  __name: "ODataGridRowHeader",
12014
12021
  setup(e) {
12015
12022
  const a = he(ct), t = m(() => !!a.groupBy.value), o = m(() => {
@@ -12047,7 +12054,7 @@ const rh = /* @__PURE__ */ ee({
12047
12054
  function v(g, h) {
12048
12055
  g.preventDefault(), g.stopPropagation();
12049
12056
  }
12050
- return (g, h) => (l(), d("div", rg, [
12057
+ return (g, h) => (l(), d("div", ig, [
12051
12058
  h[0] || (h[0] = k("div", { class: "orb-datagrid__row-header-spacer" }, null, -1)),
12052
12059
  (l(!0), d(re, null, ke(o.value, (c, r) => (l(), d(re, { key: r }, [
12053
12060
  c.type === "group" ? (l(), d("div", {
@@ -12073,12 +12080,12 @@ const rh = /* @__PURE__ */ ee({
12073
12080
  class: "orb-datagrid__row-resize-handle",
12074
12081
  onMousedown: (f) => i(f, c.rowIndex),
12075
12082
  onDblclick: (f) => v(f, c.rowIndex)
12076
- }, null, 40, sg)) : D("", !0)
12077
- ], 46, ig))
12083
+ }, null, 40, ug)) : D("", !0)
12084
+ ], 46, sg))
12078
12085
  ], 64))), 128))
12079
12086
  ]));
12080
12087
  }
12081
- }), dg = /* @__PURE__ */ ee({
12088
+ }), cg = /* @__PURE__ */ ee({
12082
12089
  __name: "ODataGridCorner",
12083
12090
  setup(e) {
12084
12091
  const a = he(ct);
@@ -12093,10 +12100,10 @@ const rh = /* @__PURE__ */ ee({
12093
12100
  onMousedown: ye(t, ["prevent"])
12094
12101
  }, null, 32));
12095
12102
  }
12096
- }), cg = {
12103
+ }), fg = {
12097
12104
  class: "orb-datagrid__selection-layer",
12098
12105
  "aria-hidden": "true"
12099
- }, fg = /* @__PURE__ */ ee({
12106
+ }, bg = /* @__PURE__ */ ee({
12100
12107
  __name: "ODataGridSelectionLayer",
12101
12108
  emits: ["fillHandleMousedown"],
12102
12109
  setup(e, { emit: a }) {
@@ -12155,7 +12162,7 @@ const rh = /* @__PURE__ */ ee({
12155
12162
  function c(r) {
12156
12163
  t("fillHandleMousedown", r);
12157
12164
  }
12158
- return (r, f) => (l(), d("div", cg, [
12165
+ return (r, f) => (l(), d("div", fg, [
12159
12166
  (l(!0), d(re, null, ke(h.value, (s, u) => (l(), d("div", {
12160
12167
  key: "sel-" + u,
12161
12168
  class: "orb-datagrid__selection-overlay",
@@ -12174,11 +12181,11 @@ const rh = /* @__PURE__ */ ee({
12174
12181
  }, null, 4)) : D("", !0)
12175
12182
  ]));
12176
12183
  }
12177
- }), bg = {
12184
+ }), vg = {
12178
12185
  class: "orb-datagrid__filter-row",
12179
12186
  role: "row",
12180
12187
  "aria-label": "Filtros de coluna"
12181
- }, vg = ["value", "aria-label", "onChange"], hg = ["placeholder", "value", "aria-label", "onInput"], gg = /* @__PURE__ */ ee({
12188
+ }, hg = ["value", "aria-label", "onChange"], gg = ["placeholder", "value", "aria-label", "onInput"], mg = /* @__PURE__ */ ee({
12182
12189
  __name: "ODataGridFilterRow",
12183
12190
  props: {
12184
12191
  filters: {}
@@ -12253,7 +12260,7 @@ const rh = /* @__PURE__ */ ee({
12253
12260
  return ve(() => o.filters, (x) => {
12254
12261
  for (const [_, p] of x)
12255
12262
  p.type === "set" || p.operator === "equals" ? typeof p.value == "boolean" && (i.value[_] = p.value ? "yes" : "no") : i.value[_] = String(p.value ?? "");
12256
- }, { immediate: !0, deep: !0 }), (x, _) => (l(), d("div", bg, [
12263
+ }, { immediate: !0, deep: !0 }), (x, _) => (l(), d("div", vg, [
12257
12264
  (l(!0), d(re, null, ke(g.value, ({ col: p, index: $ }) => (l(), d("div", {
12258
12265
  key: p.field,
12259
12266
  class: "orb-datagrid__filter-cell",
@@ -12270,7 +12277,7 @@ const rh = /* @__PURE__ */ ee({
12270
12277
  k("option", { value: "all" }, "Todos", -1),
12271
12278
  k("option", { value: "yes" }, "Sim", -1),
12272
12279
  k("option", { value: "no" }, "Não", -1)
12273
- ])], 40, vg)) : (l(), d("input", {
12280
+ ])], 40, hg)) : (l(), d("input", {
12274
12281
  key: 1,
12275
12282
  type: "text",
12276
12283
  class: "orb-datagrid__filter-input",
@@ -12280,15 +12287,15 @@ const rh = /* @__PURE__ */ ee({
12280
12287
  onInput: (y) => b(p.field, y.target.value, p.type),
12281
12288
  onKeydown: _[0] || (_[0] = ye(() => {
12282
12289
  }, ["stop"]))
12283
- }, null, 40, hg))
12290
+ }, null, 40, gg))
12284
12291
  ], 64)) : D("", !0)
12285
12292
  ], 4))), 128))
12286
12293
  ]));
12287
12294
  }
12288
- }), mg = {
12295
+ }), pg = {
12289
12296
  class: "orb-datagrid__search-bar",
12290
12297
  role: "search"
12291
- }, pg = ["value"], yg = /* @__PURE__ */ ee({
12298
+ }, yg = ["value"], kg = /* @__PURE__ */ ee({
12292
12299
  __name: "ODataGridSearchBar",
12293
12300
  props: {
12294
12301
  modelValue: {}
@@ -12309,7 +12316,7 @@ const rh = /* @__PURE__ */ ee({
12309
12316
  function g() {
12310
12317
  n.value = "", i && clearTimeout(i), o("update:modelValue", "");
12311
12318
  }
12312
- return (h, c) => (l(), d("div", mg, [
12319
+ return (h, c) => (l(), d("div", pg, [
12313
12320
  c[2] || (c[2] = k("span", {
12314
12321
  class: "orb-datagrid__search-icon",
12315
12322
  "aria-hidden": "true"
@@ -12341,7 +12348,7 @@ const rh = /* @__PURE__ */ ee({
12341
12348
  onInput: v,
12342
12349
  onKeydown: c[0] || (c[0] = ye(() => {
12343
12350
  }, ["stop"]))
12344
- }, null, 40, pg),
12351
+ }, null, 40, yg),
12345
12352
  n.value ? (l(), d("button", {
12346
12353
  key: 0,
12347
12354
  class: "orb-datagrid__search-clear",
@@ -12366,14 +12373,14 @@ const rh = /* @__PURE__ */ ee({
12366
12373
  ])])) : D("", !0)
12367
12374
  ]));
12368
12375
  }
12369
- }), kg = {
12376
+ }), wg = {
12370
12377
  key: 0,
12371
12378
  class: "orb-dropdown__separator",
12372
12379
  role: "separator"
12373
- }, wg = ["aria-disabled", "tabindex", "onClick", "onMouseenter"], xg = { class: "orb-dropdown__item-label" }, _g = {
12380
+ }, xg = ["aria-disabled", "tabindex", "onClick", "onMouseenter"], _g = { class: "orb-dropdown__item-label" }, $g = {
12374
12381
  key: 0,
12375
12382
  class: "orb-dropdown__item-shortcut"
12376
- }, $g = /* @__PURE__ */ ee({
12383
+ }, Cg = /* @__PURE__ */ ee({
12377
12384
  __name: "ODataGridContextMenu",
12378
12385
  props: {
12379
12386
  isOpen: { type: Boolean },
@@ -12433,7 +12440,7 @@ const rh = /* @__PURE__ */ ee({
12433
12440
  (l(!0), d(re, null, ke(e.items, (s) => (l(), d(re, {
12434
12441
  key: s.id
12435
12442
  }, [
12436
- s.separator ? (l(), d("div", kg)) : (l(), d("div", {
12443
+ s.separator ? (l(), d("div", wg)) : (l(), d("div", {
12437
12444
  key: 1,
12438
12445
  role: "menuitem",
12439
12446
  class: K([
@@ -12448,18 +12455,18 @@ const rh = /* @__PURE__ */ ee({
12448
12455
  onClick: (u) => g(s),
12449
12456
  onMouseenter: (u) => o("update:focusedIndex", i(s))
12450
12457
  }, [
12451
- k("span", xg, W(s.label), 1),
12452
- s.shortcut ? (l(), d("span", _g, W(s.shortcut), 1)) : D("", !0)
12453
- ], 42, wg))
12458
+ k("span", _g, W(s.label), 1),
12459
+ s.shortcut ? (l(), d("span", $g, W(s.shortcut), 1)) : D("", !0)
12460
+ ], 42, xg))
12454
12461
  ], 64))), 128))
12455
12462
  ], 36)) : D("", !0)
12456
12463
  ]));
12457
12464
  }
12458
- }), Cg = {
12465
+ }), Sg = {
12459
12466
  class: "orb-datagrid__footer",
12460
12467
  role: "row",
12461
12468
  "aria-label": "Resumo das colunas"
12462
- }, Sg = ["aria-colindex"], Dg = { class: "orb-datagrid__footer-value" }, Og = /* @__PURE__ */ ee({
12469
+ }, Dg = ["aria-colindex"], Og = { class: "orb-datagrid__footer-value" }, Rg = /* @__PURE__ */ ee({
12463
12470
  __name: "ODataGridFooter",
12464
12471
  props: {
12465
12472
  summaries: {}
@@ -12482,7 +12489,7 @@ const rh = /* @__PURE__ */ ee({
12482
12489
  };
12483
12490
  return v.maxWidth && (c.maxWidth = `${v.maxWidth}px`), c;
12484
12491
  }
12485
- return (v, g) => (l(), d("div", Cg, [
12492
+ return (v, g) => (l(), d("div", Sg, [
12486
12493
  (l(!0), d(re, null, ke(o.value, ({ col: h, index: c }) => (l(), d("div", {
12487
12494
  key: h.field,
12488
12495
  class: K(["orb-datagrid__footer-cell", {
@@ -12493,11 +12500,11 @@ const rh = /* @__PURE__ */ ee({
12493
12500
  role: "gridcell",
12494
12501
  "aria-colindex": c + 1
12495
12502
  }, [
12496
- k("span", Dg, W(n(h.field)), 1)
12497
- ], 14, Sg))), 128))
12503
+ k("span", Og, W(n(h.field)), 1)
12504
+ ], 14, Dg))), 128))
12498
12505
  ]));
12499
12506
  }
12500
- }), Rg = ["value"], Mg = /* @__PURE__ */ ee({
12507
+ }), Mg = ["value"], Tg = /* @__PURE__ */ ee({
12501
12508
  __name: "TextEditor",
12502
12509
  props: {
12503
12510
  modelValue: {},
@@ -12545,9 +12552,9 @@ const rh = /* @__PURE__ */ ee({
12545
12552
  value: i.value,
12546
12553
  onInput: v,
12547
12554
  onKeydown: g
12548
- }, null, 40, Rg));
12555
+ }, null, 40, Mg));
12549
12556
  }
12550
- }), Tg = ["inputmode", "value"], Ig = /* @__PURE__ */ ee({
12557
+ }), Ig = ["inputmode", "value"], Bg = /* @__PURE__ */ ee({
12551
12558
  __name: "NumberEditor",
12552
12559
  props: {
12553
12560
  modelValue: {},
@@ -12626,9 +12633,9 @@ const rh = /* @__PURE__ */ ee({
12626
12633
  value: g.value,
12627
12634
  onInput: h,
12628
12635
  onKeydown: c
12629
- }, null, 40, Tg));
12636
+ }, null, 40, Ig));
12630
12637
  }
12631
- }), Bg = ["aria-selected", "onMousedown", "onMouseenter"], Vg = { class: "orb-datagrid__select-option-label" }, zg = {
12638
+ }), Vg = ["aria-selected", "onMousedown", "onMouseenter"], zg = { class: "orb-datagrid__select-option-label" }, Lg = {
12632
12639
  key: 0,
12633
12640
  class: "orb-datagrid__select-option-check",
12634
12641
  width: "16",
@@ -12636,7 +12643,7 @@ const rh = /* @__PURE__ */ ee({
12636
12643
  viewBox: "0 0 24 24",
12637
12644
  fill: "none",
12638
12645
  "aria-hidden": "true"
12639
- }, Lg = /* @__PURE__ */ ee({
12646
+ }, Eg = /* @__PURE__ */ ee({
12640
12647
  __name: "SelectEditor",
12641
12648
  props: {
12642
12649
  modelValue: {},
@@ -12730,8 +12737,8 @@ const rh = /* @__PURE__ */ ee({
12730
12737
  onMousedown: ye((p) => s(_), ["prevent"]),
12731
12738
  onMouseenter: (p) => i.value = _
12732
12739
  }, [
12733
- k("span", Vg, W(x.label), 1),
12734
- x.value === e.modelValue ? (l(), d("svg", zg, [...w[0] || (w[0] = [
12740
+ k("span", zg, W(x.label), 1),
12741
+ x.value === e.modelValue ? (l(), d("svg", Lg, [...w[0] || (w[0] = [
12735
12742
  k("path", {
12736
12743
  d: "M20 6.5L9 17.5L4 12.5",
12737
12744
  stroke: "currentColor",
@@ -12740,14 +12747,14 @@ const rh = /* @__PURE__ */ ee({
12740
12747
  "stroke-linejoin": "round"
12741
12748
  }, null, -1)
12742
12749
  ])])) : D("", !0)
12743
- ], 42, Bg))), 128))
12750
+ ], 42, Vg))), 128))
12744
12751
  ], 2)
12745
12752
  ], 544));
12746
12753
  }
12747
- }), Eg = { class: "orb-datagrid__date-display" }, Ag = {
12754
+ }), Ag = { class: "orb-datagrid__date-display" }, Hg = {
12748
12755
  key: 0,
12749
12756
  class: "orb-datagrid__date-time-row"
12750
- }, Hg = { class: "orb-datagrid__date-time-inputs" }, Fg = { class: "orb-datagrid__date-footer" }, Pg = /* @__PURE__ */ ee({
12757
+ }, Fg = { class: "orb-datagrid__date-time-inputs" }, Pg = { class: "orb-datagrid__date-footer" }, Ng = /* @__PURE__ */ ee({
12751
12758
  __name: "DateEditor",
12752
12759
  props: {
12753
12760
  modelValue: {},
@@ -12841,7 +12848,7 @@ const rh = /* @__PURE__ */ ee({
12841
12848
  onMousedown: O[8] || (O[8] = ye(() => {
12842
12849
  }, ["stop"]))
12843
12850
  }, [
12844
- k("span", Eg, W(x.value), 1),
12851
+ k("span", Ag, W(x.value), 1),
12845
12852
  k("div", {
12846
12853
  class: K(["orb-datagrid__date-dropdown", { "orb-datagrid__date-dropdown--inverted": o.value }])
12847
12854
  }, [
@@ -12853,9 +12860,9 @@ const rh = /* @__PURE__ */ ee({
12853
12860
  onSelect: _,
12854
12861
  onNavigate: y
12855
12862
  }, null, 8, ["selected", "view-date"]),
12856
- e.showTime ? (l(), d("div", Ag, [
12863
+ e.showTime ? (l(), d("div", Hg, [
12857
12864
  O[10] || (O[10] = k("label", { class: "orb-datagrid__date-time-label" }, "Horário", -1)),
12858
- k("div", Hg, [
12865
+ k("div", Fg, [
12859
12866
  Ye(k("input", {
12860
12867
  "onUpdate:modelValue": O[0] || (O[0] = (A) => u.value = A),
12861
12868
  type: "text",
@@ -12885,7 +12892,7 @@ const rh = /* @__PURE__ */ ee({
12885
12892
  ])
12886
12893
  ])
12887
12894
  ])) : D("", !0),
12888
- k("div", Fg, [
12895
+ k("div", Pg, [
12889
12896
  k("button", {
12890
12897
  type: "button",
12891
12898
  class: "orb-datagrid__date-clear-btn",
@@ -12914,7 +12921,7 @@ const rh = /* @__PURE__ */ ee({
12914
12921
  ], 2)
12915
12922
  ], 544));
12916
12923
  }
12917
- }), Ng = ["value"], Wg = ["onMousedown", "onMouseenter"], Kg = /* @__PURE__ */ ee({
12924
+ }), Wg = ["value"], Kg = ["onMousedown", "onMouseenter"], jg = /* @__PURE__ */ ee({
12918
12925
  __name: "AutocompleteEditor",
12919
12926
  props: {
12920
12927
  modelValue: {},
@@ -12995,7 +13002,7 @@ const rh = /* @__PURE__ */ ee({
12995
13002
  class: "orb-datagrid__editor-input",
12996
13003
  value: v.value,
12997
13004
  onInput: b
12998
- }, null, 40, Ng),
13005
+ }, null, 40, Wg),
12999
13006
  r.value.length > 0 ? (l(), d("div", {
13000
13007
  key: 0,
13001
13008
  ref_key: "listRef",
@@ -13012,14 +13019,14 @@ const rh = /* @__PURE__ */ ee({
13012
13019
  role: "option",
13013
13020
  onMousedown: ye((y) => u(p), ["prevent"]),
13014
13021
  onMouseenter: (y) => g.value = $
13015
- }, W(p), 43, Wg))), 128))
13022
+ }, W(p), 43, Kg))), 128))
13016
13023
  ], 2)) : D("", !0)
13017
13024
  ], 32));
13018
13025
  }
13019
- }), jg = ["aria-rowcount", "aria-colcount"], Gg = {
13026
+ }), Gg = ["aria-rowcount", "aria-colcount"], qg = {
13020
13027
  key: 2,
13021
13028
  class: "orb-datagrid__frozen-rows"
13022
- }, qg = { class: "orb-datagrid__find-replace-header" }, Ug = { class: "orb-datagrid__find-replace-row" }, Yg = { class: "orb-datagrid__find-replace-row" }, Xg = { class: "orb-datagrid__find-replace-options" }, Qg = { class: "orb-datagrid__find-replace-option" }, Rt = 50, _l = 33, na = 40, Zg = 44, Jg = 28, em = /* @__PURE__ */ ee({
13029
+ }, Ug = { class: "orb-datagrid__find-replace-header" }, Yg = { class: "orb-datagrid__find-replace-row" }, Xg = { class: "orb-datagrid__find-replace-row" }, Qg = { class: "orb-datagrid__find-replace-options" }, Zg = { class: "orb-datagrid__find-replace-option" }, Rt = 50, _l = 33, na = 40, Jg = 44, em = 28, tm = /* @__PURE__ */ ee({
13023
13030
  __name: "ODataGrid",
13024
13031
  props: {
13025
13032
  data: {},
@@ -13065,7 +13072,7 @@ const rh = /* @__PURE__ */ ee({
13065
13072
  },
13066
13073
  emits: ["cellClick", "cellDblClick", "cellContextMenu", "selectionChange", "scroll", "cellEditStart", "cellEditEnd", "cellValueChange", "copy", "cut", "paste", "undo", "redo", "columnResize", "columnReorder", "sortChange", "columnPin", "columnVisibilityChange", "filterChange", "searchChange", "rowInsert", "rowDelete", "columnInsert", "columnDelete", "pageChange", "rowMove", "cellInput", "dataChange"],
13067
13074
  setup(e, { expose: a, emit: t }) {
13068
- const o = e, n = t, i = T(null), v = Cv(), g = T(/* @__PURE__ */ new Map()), h = T(0);
13075
+ const o = e, n = t, i = T(null), v = Sv(), g = T(/* @__PURE__ */ new Map()), h = T(0);
13069
13076
  let c = null;
13070
13077
  function r() {
13071
13078
  if (!i.value) return;
@@ -13077,14 +13084,14 @@ const rh = /* @__PURE__ */ ee({
13077
13084
  }), Te(() => {
13078
13085
  c == null || c.disconnect();
13079
13086
  });
13080
- const { visibleColumns: f, columnWidths: s, columnOrder: u, getRowKey: b } = F0(o, g, h), w = m(() => o.data), x = m(() => o.readOnly), _ = m(() => o.sortable), p = m(() => o.multiSort), {
13087
+ const { visibleColumns: f, columnWidths: s, columnOrder: u, getRowKey: b } = P0(o, g, h), w = m(() => o.data), x = m(() => o.readOnly), _ = m(() => o.sortable), p = m(() => o.multiSort), {
13081
13088
  sortState: $,
13082
13089
  sortedData: y,
13083
13090
  toggleSort: S,
13084
13091
  clearSort: E,
13085
13092
  getSortIndex: V,
13086
13093
  getSortOrder: M
13087
- } = K0({
13094
+ } = j0({
13088
13095
  data: w,
13089
13096
  columns: f,
13090
13097
  sortable: _,
@@ -13101,7 +13108,7 @@ const rh = /* @__PURE__ */ ee({
13101
13108
  removeFilter: B,
13102
13109
  clearAllFilters: C,
13103
13110
  hasActiveFilter: R
13104
- } = G0({
13111
+ } = q0({
13105
13112
  data: m(() => y.value),
13106
13113
  columns: f
13107
13114
  });
@@ -13113,7 +13120,7 @@ const rh = /* @__PURE__ */ ee({
13113
13120
  searchedData: q,
13114
13121
  setQuery: ae,
13115
13122
  clearQuery: G
13116
- } = q0({
13123
+ } = U0({
13117
13124
  data: P,
13118
13125
  columns: f
13119
13126
  });
@@ -13143,7 +13150,7 @@ const rh = /* @__PURE__ */ ee({
13143
13150
  startResize: Ce,
13144
13151
  autoFitColumn: De,
13145
13152
  autoFitAllColumns: Ae
13146
- } = U0({
13153
+ } = Y0({
13147
13154
  columns: f,
13148
13155
  containerRef: i,
13149
13156
  rowHeight: o.rowHeight,
@@ -13170,7 +13177,7 @@ const rh = /* @__PURE__ */ ee({
13170
13177
  clearDragOver: ma,
13171
13178
  endDrag: pa,
13172
13179
  cancelDrag: ft
13173
- } = Y0({
13180
+ } = X0({
13174
13181
  columnOrder: u,
13175
13182
  onReorder: (H) => {
13176
13183
  n("columnReorder", H);
@@ -13188,7 +13195,7 @@ const rh = /* @__PURE__ */ ee({
13188
13195
  columnOffsets: xo,
13189
13196
  onScroll: tn,
13190
13197
  scrollToCell: Oa
13191
- } = E0({
13198
+ } = A0({
13192
13199
  containerRef: i,
13193
13200
  totalRows: Je,
13194
13201
  totalCols: Y,
@@ -13223,7 +13230,7 @@ const rh = /* @__PURE__ */ ee({
13223
13230
  startColumnDragSelection: vn,
13224
13231
  extendColumnDragSelection: hn,
13225
13232
  rowColSelectMode: gn
13226
- } = A0({
13233
+ } = H0({
13227
13234
  totalRows: Je,
13228
13235
  totalCols: Y,
13229
13236
  selectionMode: _o
@@ -13231,7 +13238,7 @@ const rh = /* @__PURE__ */ ee({
13231
13238
  pushUndo: mn,
13232
13239
  undo: pn,
13233
13240
  redo: yn
13234
- } = N0({
13241
+ } = W0({
13235
13242
  data: Ra,
13236
13243
  onColumnResize: (H, X) => {
13237
13244
  g.value.set(H, X), ra(g);
@@ -13271,7 +13278,7 @@ const rh = /* @__PURE__ */ ee({
13271
13278
  cancelEdit: Za,
13272
13279
  clearCell: xn,
13273
13280
  clearCells: _n
13274
- } = P0({
13281
+ } = N0({
13275
13282
  data: Ra,
13276
13283
  columns: f,
13277
13284
  readOnly: x,
@@ -13288,7 +13295,7 @@ const rh = /* @__PURE__ */ ee({
13288
13295
  copy: Sn,
13289
13296
  cut: Dn,
13290
13297
  paste: On
13291
- } = W0({
13298
+ } = K0({
13292
13299
  data: Ra,
13293
13300
  columns: f,
13294
13301
  activeCell: wt,
@@ -13382,7 +13389,7 @@ ${ne.join(`
13382
13389
  );
13383
13390
  oe.test(ne) && (Gt(H.row, H.col, ne.replace(oe, Va.value)), Ja());
13384
13391
  }
13385
- const { handleKeydown: Eo } = H0({
13392
+ const { handleKeydown: Eo } = F0({
13386
13393
  activeCell: wt,
13387
13394
  totalRows: Je,
13388
13395
  totalCols: Y,
@@ -13419,7 +13426,7 @@ ${ne.join(`
13419
13426
  getMergeSpan: Bn,
13420
13427
  addMerge: Vn,
13421
13428
  removeMerge: zn
13422
- } = Q0({
13429
+ } = Z0({
13423
13430
  mergeCells: Mn
13424
13431
  }), za = m(() => o.contextMenu ?? !0);
13425
13432
  function Ao(H, X) {
@@ -13467,7 +13474,7 @@ ${ne.join(`
13467
13474
  close: Nn,
13468
13475
  executeItem: Wn,
13469
13476
  handleKeydown: Kn
13470
- } = X0({
13477
+ } = Q0({
13471
13478
  data: m(() => N.value),
13472
13479
  columns: f,
13473
13480
  activeCell: wt,
@@ -13491,7 +13498,7 @@ ${ne.join(`
13491
13498
  isDragging: No,
13492
13499
  startFillDrag: Gn,
13493
13500
  getFillPreviewStyle: Wo
13494
- } = Z0({
13501
+ } = J0({
13495
13502
  data: m(() => N.value),
13496
13503
  columns: f,
13497
13504
  activeCell: wt,
@@ -13508,7 +13515,7 @@ ${ne.join(`
13508
13515
  toggleGroup: Un,
13509
13516
  expandAll: Yn,
13510
13517
  collapseAll: Xn
13511
- } = J0({
13518
+ } = eh({
13512
13519
  data: m(() => N.value),
13513
13520
  groupBy: Ko,
13514
13521
  groupDefaultExpanded: qn
@@ -13518,14 +13525,14 @@ ${ne.join(`
13518
13525
  }, { immediate: !0 });
13519
13526
  const Go = m(() => o.showFooter ?? !1), {
13520
13527
  summaries: qo
13521
- } = eh({
13528
+ } = th({
13522
13529
  data: m(() => N.value),
13523
13530
  columns: f,
13524
13531
  showFooter: Go
13525
13532
  }), Qn = m(() => o.columns), {
13526
13533
  exportCSV: Zn,
13527
13534
  exportExcel: Jn
13528
- } = th({
13535
+ } = ah({
13529
13536
  data: m(() => N.value),
13530
13537
  allColumns: Qn,
13531
13538
  visibleColumns: f
@@ -13536,7 +13543,7 @@ ${ne.join(`
13536
13543
  getCellError: or,
13537
13544
  hasCellError: lr,
13538
13545
  clearErrors: nr
13539
- } = ah({
13546
+ } = oh({
13540
13547
  data: m(() => N.value),
13541
13548
  columns: f
13542
13549
  });
@@ -13552,7 +13559,7 @@ ${ne.join(`
13552
13559
  showComment: dr,
13553
13560
  hideComment: cr,
13554
13561
  clearAllComments: fr
13555
- } = oh();
13562
+ } = lh();
13556
13563
  if (o.cellComments)
13557
13564
  for (const H of o.cellComments)
13558
13565
  Uo(H.row, H.col, H.text, H.author);
@@ -13566,7 +13573,7 @@ ${ne.join(`
13566
13573
  hideRow: gr,
13567
13574
  showRow: mr,
13568
13575
  showAllRows: pr
13569
- } = lh({
13576
+ } = nh({
13570
13577
  data: m(() => N.value),
13571
13578
  defaultRowHeight: o.rowHeight,
13572
13579
  customRowHeights: F,
@@ -13587,7 +13594,7 @@ ${ne.join(`
13587
13594
  totalPages: Zo,
13588
13595
  pageInfo: yr,
13589
13596
  goToPage: oo
13590
- } = nh({
13597
+ } = rh({
13591
13598
  data: m(() => N.value),
13592
13599
  enabled: ao,
13593
13600
  pageSize: La
@@ -13810,7 +13817,7 @@ ${ne.join(`
13810
13817
  }), zr = m(() => {
13811
13818
  const H = `${Ie.value + o.headerHeight + Aa.value + Qt.value}px`;
13812
13819
  return { width: `${He.value}px`, height: H };
13813
- }), Qt = m(() => !o.nestedHeaders || o.nestedHeaders.length === 0 ? 0 : o.nestedHeaders.length * Jg);
13820
+ }), Qt = m(() => !o.nestedHeaders || o.nestedHeaders.length === 0 ? 0 : o.nestedHeaders.length * em);
13814
13821
  function Lr(H, X) {
13815
13822
  var Oe, Be;
13816
13823
  const ne = H.colspan ?? 1, oe = s.value;
@@ -14067,14 +14074,14 @@ ${ne.join(`
14067
14074
  style: de(zr.value)
14068
14075
  }, [
14069
14076
  e.showRowHeaders ? (l(), d(re, { key: 0 }, [
14070
- se(dg, {
14077
+ se(cg, {
14071
14078
  style: de(Hr.value)
14072
14079
  }, null, 8, ["style"]),
14073
14080
  k("div", {
14074
14081
  class: "orb-datagrid__row-headers-container",
14075
14082
  style: de(Fr.value)
14076
14083
  }, [
14077
- se(ug)
14084
+ se(dg)
14078
14085
  ], 4)
14079
14086
  ], 64)) : D("", !0),
14080
14087
  k("div", {
@@ -14086,7 +14093,7 @@ ${ne.join(`
14086
14093
  class: "orb-datagrid__search-container",
14087
14094
  style: de({ height: `${na}px` })
14088
14095
  }, [
14089
- se(yg, {
14096
+ se(kg, {
14090
14097
  "model-value": z(L),
14091
14098
  "onUpdate:modelValue": Gr
14092
14099
  }, null, 8, ["model-value"])
@@ -14112,14 +14119,14 @@ ${ne.join(`
14112
14119
  class: "orb-datagrid__header-container",
14113
14120
  style: de({ ...Er.value, top: `${(e.globalSearch ? na : 0) + Qt.value}px` })
14114
14121
  }, [
14115
- se(mh)
14122
+ se(ph)
14116
14123
  ], 4),
14117
14124
  e.filterRow ? (l(), d("div", {
14118
14125
  key: 2,
14119
14126
  class: "orb-datagrid__filter-row-container",
14120
14127
  style: de({ ...Nr.value, top: `${o.headerHeight + (e.globalSearch ? na : 0) + Qt.value}px` })
14121
14128
  }, [
14122
- se(gg, {
14129
+ se(mg, {
14123
14130
  filters: z(A),
14124
14131
  onSetFilter: Kr,
14125
14132
  onRemoveFilter: jr
@@ -14129,7 +14136,7 @@ ${ne.join(`
14129
14136
  class: "orb-datagrid__body-container",
14130
14137
  style: de(Ar.value)
14131
14138
  }, [
14132
- se(ng)
14139
+ se(rg)
14133
14140
  ], 4)
14134
14141
  ], 4),
14135
14142
  k("div", {
@@ -14137,7 +14144,7 @@ ${ne.join(`
14137
14144
  style: de(Pr.value),
14138
14145
  "aria-hidden": "true"
14139
14146
  }, [
14140
- se(fg, { onFillHandleMousedown: z(Gn) }, null, 8, ["onFillHandleMousedown"]),
14147
+ se(bg, { onFillHandleMousedown: z(Gn) }, null, 8, ["onFillHandleMousedown"]),
14141
14148
  z(No) && z(Wo)() ? (l(), d("div", {
14142
14149
  key: 0,
14143
14150
  class: "orb-datagrid__autofill-preview",
@@ -14161,14 +14168,14 @@ ${ne.join(`
14161
14168
  "onUpdate:modelValue": Ut,
14162
14169
  onCommit: Yt,
14163
14170
  onCancel: Xt
14164
- }, null, 40, ["model-value", "row", "row-index", "col-index", "column"])) : Pt.value === "select" ? (l(), J(Lg, {
14171
+ }, null, 40, ["model-value", "row", "row-index", "col-index", "column"])) : Pt.value === "select" ? (l(), J(Eg, {
14165
14172
  key: 1,
14166
14173
  "model-value": z(it),
14167
14174
  options: ((me = (ce = ot.value) == null ? void 0 : ce.editorOptions) == null ? void 0 : me.options) ?? [],
14168
14175
  "onUpdate:modelValue": Ut,
14169
14176
  onCommit: Yt,
14170
14177
  onCancel: Xt
14171
- }, null, 8, ["model-value", "options"])) : Pt.value === "autocomplete" ? (l(), J(Kg, {
14178
+ }, null, 8, ["model-value", "options"])) : Pt.value === "autocomplete" ? (l(), J(jg, {
14172
14179
  key: 2,
14173
14180
  "model-value": z(it),
14174
14181
  source: ((Oe = (_e = ot.value) == null ? void 0 : _e.editorOptions) == null ? void 0 : Oe.source) ?? [],
@@ -14176,7 +14183,7 @@ ${ne.join(`
14176
14183
  "onUpdate:modelValue": Ut,
14177
14184
  onCommit: Yt,
14178
14185
  onCancel: Xt
14179
- }, null, 8, ["model-value", "source", "initial-value"])) : Pt.value === "number" ? (l(), J(Ig, {
14186
+ }, null, 8, ["model-value", "source", "initial-value"])) : Pt.value === "number" ? (l(), J(Bg, {
14180
14187
  key: 3,
14181
14188
  "model-value": z(it),
14182
14189
  "initial-value": Ea.value,
@@ -14188,7 +14195,7 @@ ${ne.join(`
14188
14195
  "onUpdate:modelValue": Ut,
14189
14196
  onCommit: Yt,
14190
14197
  onCancel: Xt
14191
- }, null, 8, ["model-value", "initial-value", "step", "min", "max", "integer", "allow-negative"])) : Pt.value === "date" ? (l(), J(Pg, {
14198
+ }, null, 8, ["model-value", "initial-value", "step", "min", "max", "integer", "allow-negative"])) : Pt.value === "date" ? (l(), J(Ng, {
14192
14199
  key: 4,
14193
14200
  "model-value": z(it),
14194
14201
  "initial-value": Ea.value,
@@ -14196,7 +14203,7 @@ ${ne.join(`
14196
14203
  "onUpdate:modelValue": Ut,
14197
14204
  onCommit: Yt,
14198
14205
  onCancel: Xt
14199
- }, null, 8, ["model-value", "initial-value", "show-time"])) : (l(), J(Mg, {
14206
+ }, null, 8, ["model-value", "initial-value", "show-time"])) : (l(), J(Tg, {
14200
14207
  key: 5,
14201
14208
  "model-value": z(it),
14202
14209
  "initial-value": Ea.value,
@@ -14216,20 +14223,20 @@ ${ne.join(`
14216
14223
  e.showRowHeaders ? (l(), d("div", {
14217
14224
  key: 0,
14218
14225
  class: "orb-datagrid__footer-corner",
14219
- style: de({ width: `${Rt}px`, height: `${Zg}px` })
14226
+ style: de({ width: `${Rt}px`, height: `${Jg}px` })
14220
14227
  }, null, 4)) : D("", !0),
14221
14228
  k("div", {
14222
14229
  class: "orb-datagrid__footer-scroll",
14223
14230
  style: de({ transform: `translateX(${z(ya)}px)` })
14224
14231
  }, [
14225
- se(Og, { summaries: z(qo) }, null, 8, ["summaries"])
14232
+ se(Rg, { summaries: z(qo) }, null, 8, ["summaries"])
14226
14233
  ], 4)
14227
14234
  ], 4)) : D("", !0),
14228
- N.value.length === 0 ? (l(), J(wh, {
14235
+ N.value.length === 0 ? (l(), J(xh, {
14229
14236
  key: 1,
14230
14237
  message: e.emptyMessage
14231
14238
  }, null, 8, ["message"])) : D("", !0),
14232
- e.frozenRows > 0 ? (l(), d("div", Gg, [
14239
+ e.frozenRows > 0 ? (l(), d("div", qg, [
14233
14240
  (l(!0), d(re, null, ke(e.frozenRows, (Pe) => (l(), d("div", {
14234
14241
  key: `frozen-${Pe - 1}`,
14235
14242
  class: "orb-datagrid__row orb-datagrid__row--frozen"
@@ -14241,7 +14248,7 @@ ${ne.join(`
14241
14248
  }, W(j(Pe - 1, Fa)), 5))), 128))
14242
14249
  ]))), 128))
14243
14250
  ])) : D("", !0),
14244
- ao.value ? (l(), J(Vh, {
14251
+ ao.value ? (l(), J(zh, {
14245
14252
  key: 3,
14246
14253
  "current-page": z(Qo),
14247
14254
  "total-pages": z(Zo),
@@ -14272,7 +14279,7 @@ ${ne.join(`
14272
14279
  onKeydown: X[6] || (X[6] = ye(() => {
14273
14280
  }, ["stop"]))
14274
14281
  }, [
14275
- k("div", qg, [
14282
+ k("div", Ug, [
14276
14283
  X[9] || (X[9] = k("span", { class: "orb-datagrid__find-replace-title" }, "Localizar e Substituir", -1)),
14277
14284
  k("button", {
14278
14285
  class: "orb-datagrid__find-replace-close",
@@ -14280,7 +14287,7 @@ ${ne.join(`
14280
14287
  "aria-label": "Fechar"
14281
14288
  }, "×")
14282
14289
  ]),
14283
- k("div", Ug, [
14290
+ k("div", Yg, [
14284
14291
  Ye(k("input", {
14285
14292
  "onUpdate:modelValue": X[2] || (X[2] = (Pe) => st.value = Pe),
14286
14293
  class: "orb-datagrid__find-replace-input",
@@ -14306,7 +14313,7 @@ ${ne.join(`
14306
14313
  ], -1)
14307
14314
  ])])
14308
14315
  ]),
14309
- k("div", Yg, [
14316
+ k("div", Xg, [
14310
14317
  Ye(k("input", {
14311
14318
  "onUpdate:modelValue": X[3] || (X[3] = (Pe) => Va.value = Pe),
14312
14319
  class: "orb-datagrid__find-replace-input",
@@ -14326,8 +14333,8 @@ ${ne.join(`
14326
14333
  title: "Substituir tudo"
14327
14334
  }, "∀")
14328
14335
  ]),
14329
- k("div", Xg, [
14330
- k("label", Qg, [
14336
+ k("div", Qg, [
14337
+ k("label", Zg, [
14331
14338
  Ye(k("input", {
14332
14339
  "onUpdate:modelValue": X[5] || (X[5] = (Pe) => Ot.value = Pe),
14333
14340
  type: "checkbox"
@@ -14338,7 +14345,7 @@ ${ne.join(`
14338
14345
  ])
14339
14346
  ])
14340
14347
  ], 32)) : D("", !0),
14341
- za.value !== !1 ? (l(), J($g, {
14348
+ za.value !== !1 ? (l(), J(Cg, {
14342
14349
  key: 8,
14343
14350
  "is-open": z(En),
14344
14351
  position: z(An),
@@ -14351,11 +14358,11 @@ ${ne.join(`
14351
14358
  "onUpdate:focusedIndex": X[7] || (X[7] = (Pe) => Po.value = Pe)
14352
14359
  }, null, 8, ["is-open", "position", "items", "focused-index", "context", "onClose", "onExecute", "onKeydown"])) : D("", !0),
14353
14360
  se(z(Kl))
14354
- ], 46, jg);
14361
+ ], 46, Gg);
14355
14362
  };
14356
14363
  }
14357
14364
  });
14358
- function fm(e, a = "/brands") {
14365
+ function bm(e, a = "/brands") {
14359
14366
  function t() {
14360
14367
  if (typeof document > "u") return;
14361
14368
  const o = z(e), i = `${z(a)}/${o}/favicon.svg`;
@@ -14704,7 +14711,7 @@ var xt = {
14704
14711
  800: "oklch(26.8% 0.011 36.5)",
14705
14712
  900: "oklch(21.4% 0.009 43.1)",
14706
14713
  950: "oklch(14.7% 0.004 49.3)"
14707
- }, bm = {
14714
+ }, vm = {
14708
14715
  50: "oklch(97.7% 0.014 308.299)",
14709
14716
  100: "oklch(94.6% 0.033 307.174)",
14710
14717
  200: "oklch(90.2% 0.063 306.703)",
@@ -14716,7 +14723,7 @@ var xt = {
14716
14723
  800: "oklch(43.8% 0.218 303.724)",
14717
14724
  900: "oklch(38.1% 0.176 304.987)",
14718
14725
  950: "oklch(29.1% 0.149 302.717)"
14719
- }, tm = {
14726
+ }, am = {
14720
14727
  50: "oklch(97.9% 0.011 356.992)",
14721
14728
  100: "oklch(95.1% 0.026 2.758)",
14722
14729
  200: "oklch(88.9% 0.062 2.08)",
@@ -14728,7 +14735,7 @@ var xt = {
14728
14735
  800: "oklch(47.4% 0.157 11.378)",
14729
14736
  900: "oklch(40.8% 0.132 10.888)",
14730
14737
  950: "oklch(27% 0.08 10.488)"
14731
- }, am = {
14738
+ }, om = {
14732
14739
  50: "oklch(96.2% 0.018 272.314)",
14733
14740
  100: "oklch(93% 0.034 272.788)",
14734
14741
  200: "oklch(87% 0.065 274.039)",
@@ -14740,7 +14747,7 @@ var xt = {
14740
14747
  800: "oklch(39.8% 0.195 277.366)",
14741
14748
  900: "oklch(35.9% 0.144 278.697)",
14742
14749
  950: "oklch(25.7% 0.09 281.288)"
14743
- }, om = {
14750
+ }, lm = {
14744
14751
  50: "oklch(98.4% 0.014 180.72)",
14745
14752
  100: "oklch(95.3% 0.051 180.801)",
14746
14753
  200: "oklch(91% 0.096 180.426)",
@@ -14752,7 +14759,7 @@ var xt = {
14752
14759
  800: "oklch(43.7% 0.078 188.216)",
14753
14760
  900: "oklch(38.6% 0.063 188.416)",
14754
14761
  950: "oklch(27.7% 0.046 192.524)"
14755
- }, lm = {
14762
+ }, nm = {
14756
14763
  50: "oklch(97.5% 0.015 94.196)",
14757
14764
  100: "oklch(93.7% 0.038 92.236)",
14758
14765
  200: "oklch(87.4% 0.071 89.461)",
@@ -14764,7 +14771,7 @@ var xt = {
14764
14771
  800: "oklch(42.3% 0.075 51.375)",
14765
14772
  900: "oklch(38.1% 0.065 45.673)",
14766
14773
  950: "oklch(25.9% 0.045 41.584)"
14767
- }, nm = {
14774
+ }, rm = {
14768
14775
  50: "oklch(97.4% 0.006 239.819)",
14769
14776
  100: "oklch(95.2% 0.009 242.84)",
14770
14777
  200: "oklch(91% 0.018 245.4)",
@@ -14779,7 +14786,7 @@ var xt = {
14779
14786
  }, Ke = {
14780
14787
  display: "'Inter Display', 'Inter', system-ui, -apple-system, sans-serif",
14781
14788
  mono: "'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Menlo', 'Consolas', monospace"
14782
- }, vm = {
14789
+ }, hm = {
14783
14790
  display: "'salt' on"
14784
14791
  }, je = {
14785
14792
  regular: "400",
@@ -14813,7 +14820,7 @@ var xt = {
14813
14820
  900: "52px",
14814
14821
  1e3: "56px",
14815
14822
  1100: "76px"
14816
- }, hm = {
14823
+ }, gm = {
14817
14824
  0: "0px",
14818
14825
  100: "2px",
14819
14826
  200: "4px",
@@ -14830,7 +14837,7 @@ var xt = {
14830
14837
  1300: "128px",
14831
14838
  1400: "200px",
14832
14839
  1500: "400px"
14833
- }, gm = {
14840
+ }, mm = {
14834
14841
  0: "0px",
14835
14842
  100: "4px",
14836
14843
  200: "8px",
@@ -14839,7 +14846,7 @@ var xt = {
14839
14846
  500: "24px",
14840
14847
  600: "40px",
14841
14848
  pill: "9999px"
14842
- }, mm = {
14849
+ }, pm = {
14843
14850
  0: "0px",
14844
14851
  100: "1px",
14845
14852
  150: "1.5px",
@@ -14857,14 +14864,14 @@ var xt = {
14857
14864
  200: "0px 4px 4px 0px rgba(0, 0, 0, 0.20), 0px 8px 24px 0px rgba(0, 0, 0, 0.40)",
14858
14865
  300: "0px 16px 40px 0px rgba(0, 0, 0, 0.40), 0px 8px 8px 0px rgba(0, 0, 0, 0.20)",
14859
14866
  400: "0px 24px 56px 0px rgba(0, 0, 0, 0.50), 0px 12px 12px 0px rgba(0, 0, 0, 0.25)"
14860
- }, pm = {
14867
+ }, ym = {
14861
14868
  xs: "375px",
14862
14869
  sm: "640px",
14863
14870
  md: "768px",
14864
14871
  lg: "1024px",
14865
14872
  xl: "1280px",
14866
14873
  "2xl": "1536px"
14867
- }, ym = {
14874
+ }, km = {
14868
14875
  hide: "-1",
14869
14876
  base: "0",
14870
14877
  dropdown: "1000",
@@ -14875,19 +14882,19 @@ var xt = {
14875
14882
  popover: "1500",
14876
14883
  tooltip: "1600",
14877
14884
  toast: "1700"
14878
- }, km = {
14885
+ }, wm = {
14879
14886
  fastest: "50ms",
14880
14887
  fast: "100ms",
14881
14888
  normal: "200ms",
14882
14889
  slow: "300ms",
14883
14890
  slower: "400ms",
14884
14891
  slowest: "500ms"
14885
- }, wm = {
14892
+ }, xm = {
14886
14893
  linear: "linear",
14887
14894
  in: "cubic-bezier(0.4, 0, 1, 1)",
14888
14895
  out: "cubic-bezier(0, 0, 0.2, 1)",
14889
14896
  inOut: "cubic-bezier(0.4, 0, 0.2, 1)"
14890
- }, xm = {
14897
+ }, _m = {
14891
14898
  h1: {
14892
14899
  fontFamily: Ke.display,
14893
14900
  fontWeight: je.bold,
@@ -14942,7 +14949,7 @@ var xt = {
14942
14949
  // 20px
14943
14950
  letterSpacing: "0px"
14944
14951
  }
14945
- }, _m = {
14952
+ }, $m = {
14946
14953
  large: {
14947
14954
  fontFamily: Ke.display,
14948
14955
  fontWeight: je.regular,
@@ -14979,7 +14986,7 @@ var xt = {
14979
14986
  // 16px
14980
14987
  letterSpacing: "0px"
14981
14988
  }
14982
- }, $m = {
14989
+ }, Cm = {
14983
14990
  large: {
14984
14991
  fontFamily: Ke.display,
14985
14992
  fontWeight: je["semi-bold"],
@@ -14998,7 +15005,7 @@ var xt = {
14998
15005
  // 16px
14999
15006
  letterSpacing: "0px"
15000
15007
  }
15001
- }, Cm = {
15008
+ }, Sm = {
15002
15009
  large: {
15003
15010
  fontFamily: Ke.display,
15004
15011
  fontWeight: je["semi-bold"],
@@ -15026,7 +15033,7 @@ var xt = {
15026
15033
  // 16px
15027
15034
  letterSpacing: "0px"
15028
15035
  }
15029
- }, Sm = {
15036
+ }, Dm = {
15030
15037
  // ── Background (layer) ──
15031
15038
  bg: "var(--orb-base-0)",
15032
15039
  "bg-subtle": "var(--orb-base-50)",
@@ -15382,7 +15389,7 @@ var xt = {
15382
15389
  // ── Shared semantic ──
15383
15390
  "text-support": "var(--orb-base-500)",
15384
15391
  "frame-bg-layer3": "var(--orb-base-100)"
15385
- }, Dm = {
15392
+ }, Om = {
15386
15393
  // ── Background (layer) ──
15387
15394
  // Hierarchy: bg (deepest) → bg-subtle (cards/hero) → bg-muted (code/inputs) → bg-emphasis (hover)
15388
15395
  bg: "var(--orb-base-900)",
@@ -15739,7 +15746,7 @@ var xt = {
15739
15746
  // ── Shared semantic ──
15740
15747
  "text-support": "var(--orb-base-400)",
15741
15748
  "frame-bg-layer3": "var(--orb-base-600)"
15742
- }, Om = {
15749
+ }, Rm = {
15743
15750
  // ── Success (fixed across themes) ──
15744
15751
  "static-success-default": et[600],
15745
15752
  "static-success-hover": et[700],
@@ -15756,27 +15763,27 @@ var xt = {
15756
15763
  "static-overlay-fg": yt[0],
15757
15764
  // ── Fixed colors (never change between themes) ──
15758
15765
  "static-white": yt[0]
15759
- }, Rm = {
15760
- branding: tm
15761
15766
  }, Mm = {
15762
15767
  branding: am
15763
15768
  }, Tm = {
15764
- branding: om,
15765
- base: "gray"
15769
+ branding: om
15766
15770
  }, Im = {
15767
15771
  branding: lm,
15768
- base: "neutral"
15772
+ base: "gray"
15769
15773
  }, Bm = {
15770
- branding: nm
15774
+ branding: nm,
15775
+ base: "neutral"
15776
+ }, Vm = {
15777
+ branding: rm
15771
15778
  };
15772
- function Vm(e) {
15779
+ function zm(e) {
15773
15780
  return e;
15774
15781
  }
15775
15782
  function io(e) {
15776
15783
  return Object.entries(e).map(([a, t]) => ` --orb-${a}: ${t};`).join(`
15777
15784
  `);
15778
15785
  }
15779
- function rm(e) {
15786
+ function im(e) {
15780
15787
  const a = ["50", "100", "200", "300", "400", "500", "600", "700", "800", "900", "950"], t = [];
15781
15788
  t.push(" --orb-base-0: #fff;");
15782
15789
  for (const o of a)
@@ -15784,7 +15791,7 @@ function rm(e) {
15784
15791
  return t.push(" --orb-base-1000: #000;"), t.join(`
15785
15792
  `);
15786
15793
  }
15787
- function zm(e) {
15794
+ function Lm(e) {
15788
15795
  var n, i;
15789
15796
  const a = [];
15790
15797
  a.push(`/**
@@ -15795,7 +15802,7 @@ function zm(e) {
15795
15802
  * import '@neowit/orbit-tokens/css'
15796
15803
  * import './orbit-overrides.css'
15797
15804
  */`), e.base && a.push(`:root {
15798
- ${rm(e.base)}
15805
+ ${im(e.base)}
15799
15806
  }`);
15800
15807
  const t = (n = e.theme) == null ? void 0 : n.light, o = (i = e.theme) == null ? void 0 : i.dark;
15801
15808
  return t && Object.keys(t).length > 0 && a.push(`:root,
@@ -15812,7 +15819,7 @@ ${io(o)}
15812
15819
  `) + `
15813
15820
  `;
15814
15821
  }
15815
- const im = {
15822
+ const sm = {
15816
15823
  OText: hi,
15817
15824
  OBadge: mo,
15818
15825
  OTooltip: Tl,
@@ -15848,17 +15855,17 @@ const im = {
15848
15855
  ODialog: Nl,
15849
15856
  ODialogProvider: Kl,
15850
15857
  OAlertDialog: Wl,
15851
- OOffCanvas: l0,
15858
+ OOffCanvas: n0,
15852
15859
  OSidebar: jl,
15853
15860
  OSidebarHeader: Gl,
15854
15861
  OSidebarContent: ql,
15855
15862
  OSidebarGroup: Ul,
15856
15863
  OSidebarItem: Yl,
15857
- OSidebarSubItems: w0,
15858
- OSidebarSeparator: _0,
15864
+ OSidebarSubItems: x0,
15865
+ OSidebarSeparator: $0,
15859
15866
  OSidebarFooter: Xl,
15860
- OSidebarTrigger: S0,
15861
- OSidebarLayout: B0,
15867
+ OSidebarTrigger: D0,
15868
+ OSidebarLayout: V0,
15862
15869
  OAccordion: rc,
15863
15870
  OAccordionItem: sc,
15864
15871
  OAccordionTrigger: vc,
@@ -15903,12 +15910,12 @@ const im = {
15903
15910
  OStepPanel: dv,
15904
15911
  OUpload: fv,
15905
15912
  OUploadDropzone: hv,
15906
- OUploadTrigger: gv,
15913
+ OUploadTrigger: mv,
15907
15914
  OUploadHiddenInput: Pl,
15908
- ODataGrid: em
15909
- }, Lm = {
15915
+ ODataGrid: tm
15916
+ }, Em = {
15910
15917
  install(e) {
15911
- for (const [a, t] of Object.entries(im))
15918
+ for (const [a, t] of Object.entries(sm))
15912
15919
  e.component(a, t);
15913
15920
  }
15914
15921
  };
@@ -15937,7 +15944,7 @@ export {
15937
15944
  bs as OCode,
15938
15945
  kb as OCodeBlock,
15939
15946
  zl as OCopyButton,
15940
- em as ODataGrid,
15947
+ tm as ODataGrid,
15941
15948
  Hf as ODatePicker,
15942
15949
  Nl as ODialog,
15943
15950
  Kl as ODialogProvider,
@@ -15963,7 +15970,7 @@ export {
15963
15970
  uf as OInputNumber,
15964
15971
  ib as OLightbox,
15965
15972
  Zi as OLogo,
15966
- l0 as OOffCanvas,
15973
+ n0 as OOffCanvas,
15967
15974
  Ti as ORadioButton,
15968
15975
  uu as ORadioGroup,
15969
15976
  Od as OSelect,
@@ -15973,10 +15980,10 @@ export {
15973
15980
  Ul as OSidebarGroup,
15974
15981
  Gl as OSidebarHeader,
15975
15982
  Yl as OSidebarItem,
15976
- B0 as OSidebarLayout,
15977
- _0 as OSidebarSeparator,
15978
- w0 as OSidebarSubItems,
15979
- S0 as OSidebarTrigger,
15983
+ V0 as OSidebarLayout,
15984
+ $0 as OSidebarSeparator,
15985
+ x0 as OSidebarSubItems,
15986
+ D0 as OSidebarTrigger,
15980
15987
  es as OSkeleton,
15981
15988
  ts as OSkeletonText,
15982
15989
  dt as OSpinner,
@@ -16000,56 +16007,56 @@ export {
16000
16007
  hi as OText,
16001
16008
  au as OTextArea,
16002
16009
  Js as OTextField,
16003
- dm as OThemeToggle,
16010
+ cm as OThemeToggle,
16004
16011
  El as OToast,
16005
16012
  af as OToastProvider,
16006
16013
  Tl as OTooltip,
16007
16014
  fv as OUpload,
16008
16015
  hv as OUploadDropzone,
16009
16016
  Pl as OUploadHiddenInput,
16010
- gv as OUploadTrigger,
16011
- Lm as OrbitPlugin,
16017
+ mv as OUploadTrigger,
16018
+ Em as OrbitPlugin,
16012
16019
  Fl as TableHeaderInjectionKey,
16013
16020
  Hl as TableSelectionInjectionKey,
16014
16021
  Le as amber,
16015
16022
  lt as blue,
16016
- _m as body,
16017
- gm as borderRadius,
16018
- mm as borderWidth,
16019
- pm as breakpoints,
16020
- Cm as button,
16021
- $m as caption,
16022
- Rm as contasy,
16023
- Bm as contasyGlobal,
16024
- Im as contasyPrivate,
16025
- Tm as contasyStart,
16023
+ $m as body,
16024
+ mm as borderRadius,
16025
+ pm as borderWidth,
16026
+ ym as breakpoints,
16027
+ Sm as button,
16028
+ Cm as caption,
16029
+ Mm as contasy,
16030
+ Vm as contasyGlobal,
16031
+ Bm as contasyPrivate,
16032
+ Im as contasyStart,
16026
16033
  Bt as cyan,
16027
- Dm as dark,
16028
- Lm as default,
16029
- Vm as defineOrbitConfig,
16030
- km as duration,
16031
- wm as easing,
16034
+ Om as dark,
16035
+ Em as default,
16036
+ zm as defineOrbitConfig,
16037
+ wm as duration,
16038
+ xm as easing,
16032
16039
  Me as emerald,
16033
16040
  Ke as fontFamily,
16034
- vm as fontFeatureSettings,
16041
+ hm as fontFeatureSettings,
16035
16042
  Ge as fontSize,
16036
16043
  je as fontWeight,
16037
16044
  zt as fuchsia,
16038
- zm as generateConfigCss,
16045
+ Lm as generateConfigCss,
16039
16046
  Jl as gray,
16040
16047
  et as green,
16041
- xm as heading,
16048
+ _m as heading,
16042
16049
  mt as indigo,
16043
- Sm as light,
16050
+ Dm as light,
16044
16051
  Tt as lime,
16045
16052
  qe as lineHeight,
16046
16053
  ua as mauve,
16047
16054
  ca as mist,
16048
16055
  yt as neutral,
16049
- Mm as notasy,
16056
+ Tm as notasy,
16050
16057
  da as olive,
16051
16058
  gt as orange,
16052
- bm as orbit,
16059
+ vm as orbit,
16053
16060
  Lt as pink,
16054
16061
  pt as purple,
16055
16062
  Se as red,
@@ -16058,20 +16065,20 @@ export {
16058
16065
  Wt as shadowsDark,
16059
16066
  Ee as sky,
16060
16067
  At as slate,
16061
- hm as spacing,
16062
- Om as staticTokens,
16068
+ gm as spacing,
16069
+ Rm as staticTokens,
16063
16070
  sa as stone,
16064
16071
  fa as taupe,
16065
16072
  It as teal,
16066
16073
  xt as transparent,
16067
- fm as useBrandFavicon,
16068
- Cv as useDialog,
16074
+ bm as useBrandFavicon,
16075
+ Sv as useDialog,
16069
16076
  Ne as useIcon,
16070
16077
  Qi as useLogo,
16071
16078
  po as useTheme,
16072
- cm as useToast,
16079
+ fm as useToast,
16073
16080
  Vt as violet,
16074
16081
  Mt as yellow,
16075
- ym as zIndex,
16082
+ km as zIndex,
16076
16083
  ia as zinc
16077
16084
  };