@selectwin/kit 0.1.94 → 0.1.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4798,16 +4798,17 @@ var Ir = r(function({ value: e, title: t = "Metadados", maxHeight: n = 360, defa
4798
4798
  });
4799
4799
  }), Vr = r(function({ name: e, src: t, icon: n, dashed: r = !1, round: i = !1, className: a, ...o }, s) {
4800
4800
  var c;
4801
- let l = (e == null || (c = e.trim()) == null || (c = c[0]) == null ? void 0 : c.toUpperCase()) ?? "?";
4801
+ let l = (e == null || (c = e.trim()) == null || (c = c[0]) == null ? void 0 : c.toUpperCase()) ?? "?", [u, f] = d(null), p = !!t && u !== t;
4802
4802
  return /* @__PURE__ */ m("span", {
4803
4803
  ref: s,
4804
4804
  ...o,
4805
4805
  className: `select-avatar${r ? " select-avatar--dashed" : ""}${i ? " select-avatar--round" : ""}${a ? " " + a : ""}`,
4806
4806
  "aria-hidden": "true",
4807
- children: t ? /* @__PURE__ */ m("img", {
4807
+ children: p ? /* @__PURE__ */ m("img", {
4808
4808
  src: t,
4809
4809
  alt: "",
4810
- className: "select-avatar__img"
4810
+ className: "select-avatar__img",
4811
+ onError: () => f(t ?? null)
4811
4812
  }) : n ? /* @__PURE__ */ m("span", {
4812
4813
  className: "select-avatar__icon",
4813
4814
  children: n
@@ -5427,6 +5428,7 @@ function yi({ item: e, active: t, onSelect: n }) {
5427
5428
  type: "button",
5428
5429
  className: r ? `select-sidenav__item${e.id === t ? " is-active" : ""}` : `select-sidenav__item select-sidenav__item--parent${a ? " is-open" : ""}`,
5429
5430
  onClick: () => r ? n(e.id) : s((e) => !e),
5431
+ "data-nav-id": e.id,
5430
5432
  "aria-expanded": r ? void 0 : a,
5431
5433
  children: [
5432
5434
  e.icon && /* @__PURE__ */ m("span", {
@@ -5462,6 +5464,7 @@ function yi({ item: e, active: t, onSelect: n }) {
5462
5464
  className: `select-sidenav__item select-sidenav__item--child${e.id === t ? " is-active" : ""}`,
5463
5465
  onClick: () => n(e.id),
5464
5466
  tabIndex: l ? void 0 : -1,
5467
+ "data-nav-id": e.id,
5465
5468
  children: [e.icon && /* @__PURE__ */ m("span", {
5466
5469
  className: "select-sidenav__icon",
5467
5470
  children: e.icon
@@ -5495,6 +5498,7 @@ var bi = r(function({ sections: e, active: t, onSelect: n, header: r, className:
5495
5498
  type: "button",
5496
5499
  className: `select-sidenav__item${e.id === t ? " is-active" : ""}`,
5497
5500
  onClick: () => n(e.id),
5501
+ "data-nav-id": e.id,
5498
5502
  children: [e.icon && /* @__PURE__ */ m("span", {
5499
5503
  className: "select-sidenav__icon",
5500
5504
  children: e.icon
@@ -22927,7 +22931,275 @@ var ec = r(function({ label: e, children: t, action: n, align: r = "center", loa
22927
22931
  }, r);
22928
22932
  })
22929
22933
  });
22930
- }), nc = r(function({ name: e, price: t, priceSuffix: n, headerAction: r, summary: i, cta: a, featuresTitle: o, features: s, featured: c = !1, className: l, ...u }, d) {
22934
+ });
22935
+ //#endregion
22936
+ //#region src/SelectSetupGuide.tsx
22937
+ function nc({ status: e }) {
22938
+ return /* @__PURE__ */ m("span", {
22939
+ className: `select-setupguide__icon select-setupguide__icon--${e}`,
22940
+ "aria-hidden": "true",
22941
+ children: e === "done" && /* @__PURE__ */ m("svg", {
22942
+ viewBox: "0 0 16 16",
22943
+ width: "10",
22944
+ height: "10",
22945
+ fill: "none",
22946
+ children: /* @__PURE__ */ m("path", {
22947
+ d: "M3.5 8.5l3 3 6-7",
22948
+ stroke: "currentColor",
22949
+ strokeWidth: "2",
22950
+ strokeLinecap: "round",
22951
+ strokeLinejoin: "round"
22952
+ })
22953
+ })
22954
+ });
22955
+ }
22956
+ var rc = {
22957
+ done: "feito",
22958
+ todo: "a fazer",
22959
+ next: "próximo passo",
22960
+ skipped: "pulado",
22961
+ waiting: "aguardando"
22962
+ }, ic = r(function({ title: e, description: t, progress: n, actions: r, next: i, groups: a, minimized: o = !1, tone: s = "default", className: c, ...l }, u) {
22963
+ let d = n && n.total > 0 ? Math.round(n.done / n.total * 100) : 0;
22964
+ return /* @__PURE__ */ h("section", {
22965
+ ref: u,
22966
+ ...l,
22967
+ className: `select-setupguide${o ? " is-minimized" : ""}${s === "sandbox" ? " select-setupguide--sandbox" : ""}${c ? " " + c : ""}`,
22968
+ children: [/* @__PURE__ */ h("div", {
22969
+ className: "select-setupguide__head",
22970
+ children: [
22971
+ /* @__PURE__ */ h("div", {
22972
+ className: "select-setupguide__heading",
22973
+ children: [/* @__PURE__ */ m("h2", {
22974
+ className: "select-setupguide__title",
22975
+ children: e
22976
+ }), t && /* @__PURE__ */ m("p", {
22977
+ className: "select-setupguide__desc",
22978
+ children: t
22979
+ })]
22980
+ }),
22981
+ n && /* @__PURE__ */ h("div", {
22982
+ className: "select-setupguide__progress",
22983
+ children: [/* @__PURE__ */ m("div", {
22984
+ className: "select-setupguide__bar",
22985
+ role: "progressbar",
22986
+ "aria-valuemin": 0,
22987
+ "aria-valuemax": n.total,
22988
+ "aria-valuenow": n.done,
22989
+ "aria-label": "Progresso",
22990
+ children: /* @__PURE__ */ m("span", {
22991
+ className: "select-setupguide__fill",
22992
+ style: { width: `${d}%` }
22993
+ })
22994
+ }), /* @__PURE__ */ h("span", {
22995
+ className: "select-setupguide__count",
22996
+ children: [
22997
+ n.done,
22998
+ " de ",
22999
+ n.total
23000
+ ]
23001
+ })]
23002
+ }),
23003
+ r && /* @__PURE__ */ m("div", {
23004
+ className: "select-setupguide__actions",
23005
+ children: r
23006
+ })
23007
+ ]
23008
+ }), !o && /* @__PURE__ */ h("div", {
23009
+ className: `select-setupguide__body${i ? "" : " select-setupguide__body--list"}`,
23010
+ children: [i && /* @__PURE__ */ m("div", {
23011
+ className: "select-setupguide__next",
23012
+ children: i
23013
+ }), /* @__PURE__ */ m("div", {
23014
+ className: "select-setupguide__steps",
23015
+ children: a.map((e, t) => /* @__PURE__ */ h("div", {
23016
+ className: "select-setupguide__group",
23017
+ children: [/* @__PURE__ */ m("div", {
23018
+ className: "select-setupguide__grouptitle",
23019
+ children: e.title
23020
+ }), /* @__PURE__ */ m("ul", {
23021
+ className: "select-setupguide__list",
23022
+ children: e.steps.map((e) => /* @__PURE__ */ h("li", {
23023
+ className: `select-setupguide__step is-${e.status}`,
23024
+ children: [
23025
+ /* @__PURE__ */ m(nc, { status: e.status }),
23026
+ /* @__PURE__ */ h("span", {
23027
+ className: "select-setupguide__text",
23028
+ children: [/* @__PURE__ */ h("span", {
23029
+ className: "select-setupguide__steptitle",
23030
+ children: [e.title, /* @__PURE__ */ h("span", {
23031
+ className: "select-setupguide__sr",
23032
+ children: [" — ", rc[e.status]]
23033
+ })]
23034
+ }), e.description && /* @__PURE__ */ m("span", {
23035
+ className: "select-setupguide__stepdesc",
23036
+ children: e.description
23037
+ })]
23038
+ }),
23039
+ e.trailing && /* @__PURE__ */ m("span", {
23040
+ className: "select-setupguide__trailing",
23041
+ children: e.trailing
23042
+ })
23043
+ ]
23044
+ }, e.id))
23045
+ })]
23046
+ }, t))
23047
+ })]
23048
+ })]
23049
+ });
23050
+ });
23051
+ function ac({ eyebrow: e, title: t, children: n, actions: r }) {
23052
+ return /* @__PURE__ */ h("div", {
23053
+ className: "select-setupnext",
23054
+ children: [
23055
+ e && /* @__PURE__ */ m("div", {
23056
+ className: "select-setupnext__eyebrow",
23057
+ children: e
23058
+ }),
23059
+ /* @__PURE__ */ m("h3", {
23060
+ className: "select-setupnext__title",
23061
+ children: t
23062
+ }),
23063
+ n && /* @__PURE__ */ m("div", {
23064
+ className: "select-setupnext__body",
23065
+ children: n
23066
+ }),
23067
+ r && /* @__PURE__ */ m("div", {
23068
+ className: "select-setupnext__actions",
23069
+ children: r
23070
+ })
23071
+ ]
23072
+ });
23073
+ }
23074
+ //#endregion
23075
+ //#region src/SelectTour.tsx
23076
+ var oc = 6, sc = 12;
23077
+ function cc(e) {
23078
+ let t = document.querySelector(e);
23079
+ if (!t) return null;
23080
+ let n = t.getBoundingClientRect();
23081
+ return n.width === 0 && n.height === 0 ? null : {
23082
+ top: n.top - oc,
23083
+ left: n.left - oc,
23084
+ width: n.width + 12,
23085
+ height: n.height + 12
23086
+ };
23087
+ }
23088
+ function lc({ open: e, steps: t, onClose: n, labels: r = {}, theme: a = "light" }) {
23089
+ let s = l(() => e ? t.filter((e) => document.querySelector(e.target)) : [], [e]), [f, p] = d(0), [_, v] = d(null), [y, b] = d(null), x = u(null), S = u(null);
23090
+ o(() => {
23091
+ e && p(0);
23092
+ }, [e]);
23093
+ let C = s[f], w = f === s.length - 1, T = i(() => {
23094
+ if (!C) return;
23095
+ let e = cc(C.target);
23096
+ v(e);
23097
+ let t = x.current;
23098
+ if (!e || !t) return;
23099
+ let n = t.offsetWidth, r = t.offsetHeight, i = window.innerWidth, a = window.innerHeight, o = e.left + e.width + sc, s = e.top;
23100
+ o + n > i - 8 && (o = Math.min(Math.max(8, e.left), i - n - 8), s = e.top + e.height + sc, s + r > a - 8 && (s = e.top - r - sc)), s = Math.min(Math.max(8, s), a - r - 8), b({
23101
+ top: s,
23102
+ left: o
23103
+ });
23104
+ }, [C]);
23105
+ return c(() => {
23106
+ var t, n;
23107
+ e && C && ((t = document.querySelector(C.target)) == null || t.scrollIntoView({
23108
+ block: "nearest",
23109
+ inline: "nearest"
23110
+ }), T(), (n = S.current) == null || n.focus({ preventScroll: !0 }));
23111
+ }, [
23112
+ e,
23113
+ C,
23114
+ T
23115
+ ]), o(() => {
23116
+ if (!e) return;
23117
+ let t = (e) => {
23118
+ e.key === "Escape" && n("skip");
23119
+ };
23120
+ return window.addEventListener("keydown", t), window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
23121
+ window.removeEventListener("keydown", t), window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
23122
+ };
23123
+ }, [
23124
+ e,
23125
+ n,
23126
+ T
23127
+ ]), !e || !C ? null : g(/* @__PURE__ */ h("div", {
23128
+ className: "select select-tour",
23129
+ "data-theme": a,
23130
+ children: [
23131
+ /* @__PURE__ */ m("div", {
23132
+ className: "select-tour__catch",
23133
+ "aria-hidden": "true"
23134
+ }),
23135
+ _ && /* @__PURE__ */ m("div", {
23136
+ className: "select-tour__hole",
23137
+ "aria-hidden": "true",
23138
+ style: {
23139
+ top: _.top,
23140
+ left: _.left,
23141
+ width: _.width,
23142
+ height: _.height
23143
+ }
23144
+ }),
23145
+ /* @__PURE__ */ h("div", {
23146
+ ref: x,
23147
+ className: "select-tour__pop",
23148
+ role: "dialog",
23149
+ "aria-modal": "true",
23150
+ "aria-labelledby": "select-tour-title",
23151
+ style: y ? {
23152
+ top: y.top,
23153
+ left: y.left
23154
+ } : { visibility: "hidden" },
23155
+ children: [
23156
+ /* @__PURE__ */ h("span", {
23157
+ className: "select-tour__count",
23158
+ children: [
23159
+ f + 1,
23160
+ " de ",
23161
+ s.length
23162
+ ]
23163
+ }),
23164
+ /* @__PURE__ */ m("h2", {
23165
+ id: "select-tour-title",
23166
+ className: "select-tour__title",
23167
+ children: C.title
23168
+ }),
23169
+ /* @__PURE__ */ m("div", {
23170
+ className: "select-tour__body",
23171
+ children: C.body
23172
+ }),
23173
+ /* @__PURE__ */ h("div", {
23174
+ className: "select-tour__foot",
23175
+ children: [/* @__PURE__ */ m(zr, {
23176
+ onClick: () => n("skip"),
23177
+ children: r.skip ?? "Pular tour"
23178
+ }), /* @__PURE__ */ h("span", {
23179
+ className: "select-tour__nav",
23180
+ children: [f > 0 && /* @__PURE__ */ m(V, {
23181
+ variant: "secondary",
23182
+ size: "sm",
23183
+ inline: !0,
23184
+ onClick: () => p((e) => e - 1),
23185
+ children: r.prev ?? "Anterior"
23186
+ }), /* @__PURE__ */ m(V, {
23187
+ ref: S,
23188
+ size: "sm",
23189
+ inline: !0,
23190
+ onClick: () => w ? n("done") : p((e) => e + 1),
23191
+ children: w ? r.done ?? "Concluir" : r.next ?? "Próximo"
23192
+ })]
23193
+ })]
23194
+ })
23195
+ ]
23196
+ })
23197
+ ]
23198
+ }), document.body);
23199
+ }
23200
+ //#endregion
23201
+ //#region src/SelectPlanCard.tsx
23202
+ var uc = r(function({ name: e, price: t, priceSuffix: n, headerAction: r, summary: i, cta: a, featuresTitle: o, features: s, featured: c = !1, className: l, ...u }, d) {
22931
23203
  return /* @__PURE__ */ h("div", {
22932
23204
  ref: d,
22933
23205
  ...u,
@@ -22982,7 +23254,7 @@ var ec = r(function({ label: e, children: t, action: n, align: r = "center", loa
22982
23254
  })]
22983
23255
  })]
22984
23256
  });
22985
- }), rc = r(function({ title: e, description: t, headerAction: n, footer: r, children: i, className: a, ...o }, s) {
23257
+ }), dc = r(function({ title: e, description: t, headerAction: n, footer: r, children: i, className: a, ...o }, s) {
22986
23258
  return /* @__PURE__ */ h("div", {
22987
23259
  ref: s,
22988
23260
  ...o,
@@ -23018,7 +23290,7 @@ var ec = r(function({ label: e, children: t, action: n, align: r = "center", loa
23018
23290
  ]
23019
23291
  });
23020
23292
  });
23021
- function ic({ media: e, title: t, secondary: n, action: r, muted: i = !1, onClick: a }) {
23293
+ function fc({ media: e, title: t, secondary: n, action: r, muted: i = !1, onClick: a }) {
23022
23294
  let o = /* @__PURE__ */ h(p, { children: [
23023
23295
  e && /* @__PURE__ */ m("span", {
23024
23296
  className: "select-listrow__media",
@@ -23052,7 +23324,7 @@ function ic({ media: e, title: t, secondary: n, action: r, muted: i = !1, onClic
23052
23324
  }
23053
23325
  //#endregion
23054
23326
  //#region src/SelectThumbnail.tsx
23055
- var ac = r(function({ src: e, alt: t = "", size: n = 40, className: r, ...i }, a) {
23327
+ var pc = r(function({ src: e, alt: t = "", size: n = 40, className: r, ...i }, a) {
23056
23328
  let [s, c] = d(!1);
23057
23329
  return o(() => c(!1), [e]), /* @__PURE__ */ m("span", {
23058
23330
  ref: a,
@@ -23077,7 +23349,7 @@ var ac = r(function({ src: e, alt: t = "", size: n = 40, className: r, ...i }, a
23077
23349
  });
23078
23350
  //#endregion
23079
23351
  //#region src/SelectImageZoomModal.tsx
23080
- function oc({ open: e, onClose: t, src: n, alt: r, title: i }) {
23352
+ function mc({ open: e, onClose: t, src: n, alt: r, title: i }) {
23081
23353
  return /* @__PURE__ */ m($i, {
23082
23354
  open: e,
23083
23355
  onClose: t,
@@ -23096,7 +23368,7 @@ function oc({ open: e, onClose: t, src: n, alt: r, title: i }) {
23096
23368
  }
23097
23369
  //#endregion
23098
23370
  //#region src/SelectZoomThumbnail.tsx
23099
- function sc({ src: e, alt: t = "", size: n = 40, title: r }) {
23371
+ function hc({ src: e, alt: t = "", size: n = 40, title: r }) {
23100
23372
  let [i, a] = d(!1);
23101
23373
  return e ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("button", {
23102
23374
  type: "button",
@@ -23109,25 +23381,25 @@ function sc({ src: e, alt: t = "", size: n = 40, title: r }) {
23109
23381
  cursor: "zoom-in",
23110
23382
  display: "inline-flex"
23111
23383
  },
23112
- children: /* @__PURE__ */ m(ac, {
23384
+ children: /* @__PURE__ */ m(pc, {
23113
23385
  src: e,
23114
23386
  size: n,
23115
23387
  alt: t
23116
23388
  })
23117
- }), i && /* @__PURE__ */ m(oc, {
23389
+ }), i && /* @__PURE__ */ m(mc, {
23118
23390
  open: !0,
23119
23391
  onClose: () => a(!1),
23120
23392
  src: e,
23121
23393
  alt: t,
23122
23394
  title: r ?? t
23123
- })] }) : /* @__PURE__ */ m(ac, {
23395
+ })] }) : /* @__PURE__ */ m(pc, {
23124
23396
  size: n,
23125
23397
  alt: t
23126
23398
  });
23127
23399
  }
23128
23400
  //#endregion
23129
23401
  //#region src/SelectMediaCell.tsx
23130
- var cc = r(function({ media: e, title: t, secondary: n, className: r, ...i }, a) {
23402
+ var gc = r(function({ media: e, title: t, secondary: n, className: r, ...i }, a) {
23131
23403
  return /* @__PURE__ */ h("span", {
23132
23404
  ref: a,
23133
23405
  ...i,
@@ -23149,7 +23421,7 @@ var cc = r(function({ media: e, title: t, secondary: n, className: r, ...i }, a)
23149
23421
  });
23150
23422
  //#endregion
23151
23423
  //#region src/SelectOfflineModal.tsx
23152
- function lc() {
23424
+ function _c() {
23153
23425
  let [e, t] = d(() => typeof navigator < "u" && navigator.onLine === !1);
23154
23426
  return o(() => {
23155
23427
  let e = () => t(!1), n = () => t(!0);
@@ -23172,7 +23444,7 @@ function lc() {
23172
23444
  }
23173
23445
  //#endregion
23174
23446
  //#region src/SelectKeyValueEditor.tsx
23175
- function uc(e) {
23447
+ function vc(e) {
23176
23448
  return Array.isArray(e) ? e.filter((e) => typeof e == "object" && !!e).map((e) => ({
23177
23449
  name: String(e.name ?? e.key ?? ""),
23178
23450
  value: e.value == null ? "" : String(e.value)
@@ -23181,8 +23453,8 @@ function uc(e) {
23181
23453
  value: t == null ? "" : String(t)
23182
23454
  })) : [];
23183
23455
  }
23184
- var dc = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valuePlaceholder: r = "Valor", keyOptions: i, addLabel: a = "Adicionar", max: o, helpText: s = "Linhas vazias serão ignoradas.", className: c, ...l }, u) {
23185
- let d = uc(e), f = (e, n) => t(d.map((t, r) => r === e ? {
23456
+ var yc = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valuePlaceholder: r = "Valor", keyOptions: i, addLabel: a = "Adicionar", max: o, helpText: s = "Linhas vazias serão ignoradas.", className: c, ...l }, u) {
23457
+ let d = vc(e), f = (e, n) => t(d.map((t, r) => r === e ? {
23186
23458
  ...t,
23187
23459
  ...n
23188
23460
  } : t)), p = (e) => t(d.filter((t, n) => n !== e)), g = () => t([...d, {
@@ -23246,7 +23518,7 @@ var dc = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
23246
23518
  })
23247
23519
  ]
23248
23520
  });
23249
- }), fc = (e) => String(e).padStart(2, "0"), pc = {
23521
+ }), bc = (e) => String(e).padStart(2, "0"), xc = {
23250
23522
  "en-US": {
23251
23523
  weekdays: [
23252
23524
  "Su",
@@ -23305,34 +23577,34 @@ var dc = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
23305
23577
  to: "Até",
23306
23578
  cancel: "Cancelar",
23307
23579
  apply: "Aplicar",
23308
- formatDate: (e) => `${fc(e.getDate())} / ${fc(e.getMonth() + 1)} / ${e.getFullYear()}`
23580
+ formatDate: (e) => `${bc(e.getDate())} / ${bc(e.getMonth() + 1)} / ${e.getFullYear()}`
23309
23581
  }
23310
- }, mc = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), hc = (e) => new Date(e.getFullYear(), e.getMonth(), 1), gc = (e, t) => new Date(e.getFullYear(), e.getMonth(), e.getDate() + t), _c = (e, t) => new Date(e.getFullYear(), e.getMonth() + t, 1), vc = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), yc = (e) => {
23582
+ }, Sc = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), Cc = (e) => new Date(e.getFullYear(), e.getMonth(), 1), wc = (e, t) => new Date(e.getFullYear(), e.getMonth(), e.getDate() + t), Tc = (e, t) => new Date(e.getFullYear(), e.getMonth() + t, 1), Ec = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Dc = (e) => {
23311
23583
  let t = /* @__PURE__ */ new Date();
23312
23584
  return {
23313
23585
  from: /* @__PURE__ */ new Date(t.getTime() - e * 6e4),
23314
23586
  to: t
23315
23587
  };
23316
- }, bc = [
23588
+ }, Oc = [
23317
23589
  {
23318
23590
  id: "15m",
23319
23591
  label: "Last 15 minutes",
23320
- range: () => yc(15)
23592
+ range: () => Dc(15)
23321
23593
  },
23322
23594
  {
23323
23595
  id: "1h",
23324
23596
  label: "Last 1 hour",
23325
- range: () => yc(60)
23597
+ range: () => Dc(60)
23326
23598
  },
23327
23599
  {
23328
23600
  id: "3h",
23329
23601
  label: "Last 3 hours",
23330
- range: () => yc(180)
23602
+ range: () => Dc(180)
23331
23603
  },
23332
23604
  {
23333
23605
  id: "24h",
23334
23606
  label: "Last 24 hours",
23335
- range: () => yc(1440)
23607
+ range: () => Dc(1440)
23336
23608
  },
23337
23609
  {
23338
23610
  id: "3d",
@@ -23348,78 +23620,78 @@ var dc = r(function({ pairs: e, onChange: t, keyPlaceholder: n = "Chave", valueP
23348
23620
  id: "all",
23349
23621
  label: "All",
23350
23622
  range: () => ({
23351
- from: mc(/* @__PURE__ */ new Date()),
23352
- to: mc(/* @__PURE__ */ new Date())
23623
+ from: Sc(/* @__PURE__ */ new Date()),
23624
+ to: Sc(/* @__PURE__ */ new Date())
23353
23625
  })
23354
23626
  }
23355
- ], xc = (e) => {
23356
- let t = mc(/* @__PURE__ */ new Date());
23627
+ ], kc = (e) => {
23628
+ let t = Sc(/* @__PURE__ */ new Date());
23357
23629
  return {
23358
- from: gc(t, -e),
23630
+ from: wc(t, -e),
23359
23631
  to: t
23360
23632
  };
23361
- }, Sc = (e) => {
23362
- let t = gc(mc(/* @__PURE__ */ new Date()), -e);
23633
+ }, Ac = (e) => {
23634
+ let t = wc(Sc(/* @__PURE__ */ new Date()), -e);
23363
23635
  return {
23364
23636
  from: t,
23365
23637
  to: t
23366
23638
  };
23367
- }, Cc = [
23639
+ }, jc = [
23368
23640
  {
23369
23641
  id: "today",
23370
23642
  label: "Hoje",
23371
- range: () => xc(0)
23643
+ range: () => kc(0)
23372
23644
  },
23373
23645
  {
23374
23646
  id: "yesterday",
23375
23647
  label: "Ontem",
23376
- range: () => Sc(1)
23648
+ range: () => Ac(1)
23377
23649
  },
23378
23650
  {
23379
23651
  id: "7d",
23380
23652
  label: "Últimos 7 dias",
23381
- range: () => xc(6)
23653
+ range: () => kc(6)
23382
23654
  },
23383
23655
  {
23384
23656
  id: "10d",
23385
23657
  label: "Últimos 10 dias",
23386
- range: () => xc(9)
23658
+ range: () => kc(9)
23387
23659
  },
23388
23660
  {
23389
23661
  id: "15d",
23390
23662
  label: "Últimos 15 dias",
23391
- range: () => xc(14)
23663
+ range: () => kc(14)
23392
23664
  },
23393
23665
  {
23394
23666
  id: "20d",
23395
23667
  label: "Últimos 20 dias",
23396
- range: () => xc(19)
23668
+ range: () => kc(19)
23397
23669
  },
23398
23670
  {
23399
23671
  id: "30d",
23400
23672
  label: "Últimos 30 dias",
23401
- range: () => xc(29)
23673
+ range: () => kc(29)
23402
23674
  },
23403
23675
  {
23404
23676
  id: "90d",
23405
23677
  label: "Últimos 90 dias",
23406
- range: () => xc(89)
23678
+ range: () => kc(89)
23407
23679
  }
23408
23680
  ];
23409
- function wc(e) {
23681
+ function Mc(e) {
23410
23682
  if (!e) return "—";
23411
23683
  let t = e.getHours(), n = t < 12 ? "AM" : "PM";
23412
23684
  return t = t % 12 || 12, `${t} : ${String(e.getMinutes()).padStart(2, "0")} ${n}`;
23413
23685
  }
23414
- var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accentVar: i, locale: a = "en-US", showTime: o = !0, maxDate: s, embedded: c = !1, className: l, ...u }, f) {
23415
- let p = pc[a], g = mc(/* @__PURE__ */ new Date()), _ = s ? mc(s) : null, [v, y] = d(e ?? {
23686
+ var Nc = r(function({ value: e, presets: t = Oc, onApply: n, onCancel: r, accentVar: i, locale: a = "en-US", showTime: o = !0, maxDate: s, embedded: c = !1, className: l, ...u }, f) {
23687
+ let p = xc[a], g = Sc(/* @__PURE__ */ new Date()), _ = s ? Sc(s) : null, [v, y] = d(e ?? {
23416
23688
  from: g,
23417
23689
  to: g
23418
- }), [b, x] = d(hc((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [S, C] = d(null), w = gc(hc(b), -hc(b).getDay()), T = Array.from({ length: 42 }, (e, t) => gc(w, t)), E = (e) => _ ? mc(e) > _ : !1, D = (e) => e ? p.formatDate(e) : /* @__PURE__ */ m("span", {
23690
+ }), [b, x] = d(Cc((e == null ? void 0 : e.from) ?? /* @__PURE__ */ new Date())), [S, C] = d(null), w = wc(Cc(b), -Cc(b).getDay()), T = Array.from({ length: 42 }, (e, t) => wc(w, t)), E = (e) => _ ? Sc(e) > _ : !1, D = (e) => e ? p.formatDate(e) : /* @__PURE__ */ m("span", {
23419
23691
  className: "select-datepicker__placeholder",
23420
23692
  children: "— / — / ——"
23421
23693
  }), O = (e) => {
23422
- E(e) || (C(null), y((t) => !t.from || t.from && t.to || e < mc(t.from) ? {
23694
+ E(e) || (C(null), y((t) => !t.from || t.from && t.to || e < Sc(t.from) ? {
23423
23695
  from: e,
23424
23696
  to: null
23425
23697
  } : {
@@ -23429,7 +23701,7 @@ var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accent
23429
23701
  }, k = (e) => {
23430
23702
  if (e.disabled || !e.range) return;
23431
23703
  let t = e.range();
23432
- y(t), C(e.id), t.from && x(hc(t.from));
23704
+ y(t), C(e.id), t.from && x(Cc(t.from));
23433
23705
  }, A = i ? { "--select-dp-accent": `var(${i})` } : void 0;
23434
23706
  return /* @__PURE__ */ m("div", {
23435
23707
  ref: f,
@@ -23475,7 +23747,7 @@ var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accent
23475
23747
  }),
23476
23748
  o && /* @__PURE__ */ m("span", {
23477
23749
  className: "select-datepicker__pill select-datepicker__pill--time",
23478
- children: wc(v[e])
23750
+ children: Mc(v[e])
23479
23751
  })
23480
23752
  ]
23481
23753
  }, e))
@@ -23487,7 +23759,7 @@ var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accent
23487
23759
  type: "button",
23488
23760
  className: "select-datepicker__nav",
23489
23761
  "aria-label": a === "pt-BR" ? "Mês anterior" : "Previous month",
23490
- onClick: () => x((e) => _c(e, -1)),
23762
+ onClick: () => x((e) => Tc(e, -1)),
23491
23763
  children: /* @__PURE__ */ m(U, {})
23492
23764
  }),
23493
23765
  /* @__PURE__ */ h("span", {
@@ -23502,7 +23774,7 @@ var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accent
23502
23774
  type: "button",
23503
23775
  className: "select-datepicker__nav",
23504
23776
  "aria-label": a === "pt-BR" ? "Próximo mês" : "Next month",
23505
- onClick: () => x((e) => _c(e, 1)),
23777
+ onClick: () => x((e) => Tc(e, 1)),
23506
23778
  children: /* @__PURE__ */ m(ae, {})
23507
23779
  })
23508
23780
  ]
@@ -23514,7 +23786,7 @@ var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accent
23514
23786
  className: "select-datepicker__weekday",
23515
23787
  children: e
23516
23788
  }, t)), T.map((e) => {
23517
- let t = e.getMonth() !== b.getMonth(), n = E(e), r = !!v.from && vc(e, v.from), i = !!v.to && vc(e, v.to), a = r || i, o = !!v.from && !!v.to && !vc(v.from, v.to), s = "select-datepicker__day" + (v.from && v.to && e > mc(v.from) && e < mc(v.to) ? " select-datepicker__day--in-range" : "") + (o && r ? " select-datepicker__day--range-start" : "") + (o && i ? " select-datepicker__day--range-end" : ""), c = "select-datepicker__daybtn" + (a ? " is-selected" : "") + (vc(e, g) && !a ? " is-today" : "") + (t ? " is-outside" : "");
23789
+ let t = e.getMonth() !== b.getMonth(), n = E(e), r = !!v.from && Ec(e, v.from), i = !!v.to && Ec(e, v.to), a = r || i, o = !!v.from && !!v.to && !Ec(v.from, v.to), s = "select-datepicker__day" + (v.from && v.to && e > Sc(v.from) && e < Sc(v.to) ? " select-datepicker__day--in-range" : "") + (o && r ? " select-datepicker__day--range-start" : "") + (o && i ? " select-datepicker__day--range-end" : ""), c = "select-datepicker__daybtn" + (a ? " is-selected" : "") + (Ec(e, g) && !a ? " is-today" : "") + (t ? " is-outside" : "");
23518
23790
  return /* @__PURE__ */ m("div", {
23519
23791
  className: s,
23520
23792
  children: /* @__PURE__ */ m("button", {
@@ -23545,17 +23817,17 @@ var Tc = r(function({ value: e, presets: t = bc, onApply: n, onCancel: r, accent
23545
23817
  })]
23546
23818
  })
23547
23819
  });
23548
- }), Ec = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), Dc = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Oc = (e) => `${String(e.getDate()).padStart(2, "0")}/${String(e.getMonth() + 1).padStart(2, "0")}/${e.getFullYear()}`;
23549
- function kc(e, t) {
23820
+ }), Pc = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), Fc = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Ic = (e) => `${String(e.getDate()).padStart(2, "0")}/${String(e.getMonth() + 1).padStart(2, "0")}/${e.getFullYear()}`;
23821
+ function Lc(e, t) {
23550
23822
  for (let r of t) {
23551
23823
  var n;
23552
23824
  let t = (n = r.range) == null ? void 0 : n.call(r);
23553
- if (t != null && t.from && t != null && t.to && Dc(t.from, e.start) && Dc(t.to, e.end)) return r.label;
23825
+ if (t != null && t.from && t != null && t.to && Fc(t.from, e.start) && Fc(t.to, e.end)) return r.label;
23554
23826
  }
23555
- return Dc(e.start, e.end) ? Oc(e.start) : `${Oc(e.start)} – ${Oc(e.end)}`;
23827
+ return Fc(e.start, e.end) ? Ic(e.start) : `${Ic(e.start)} – ${Ic(e.end)}`;
23556
23828
  }
23557
- function Ac({ value: e, onChange: t, presets: n = Cc, maxDate: r, placement: i = "bottom-end", size: a = "md", disabled: o = !1, block: s = !1 }) {
23558
- let [c, l] = d(!1), u = r === null ? null : r ?? Ec(/* @__PURE__ */ new Date());
23829
+ function Rc({ value: e, onChange: t, presets: n = jc, maxDate: r, placement: i = "bottom-end", size: a = "md", disabled: o = !1, block: s = !1 }) {
23830
+ let [c, l] = d(!1), u = r === null ? null : r ?? Pc(/* @__PURE__ */ new Date());
23559
23831
  return /* @__PURE__ */ m(on, {
23560
23832
  active: c,
23561
23833
  onClose: () => l(!1),
@@ -23569,9 +23841,9 @@ function Ac({ value: e, onChange: t, presets: n = Cc, maxDate: r, placement: i =
23569
23841
  icon: /* @__PURE__ */ m(rt, {}),
23570
23842
  trailingIcon: /* @__PURE__ */ m(W, {}),
23571
23843
  onClick: () => l((e) => !e),
23572
- children: kc(e, n)
23844
+ children: Lc(e, n)
23573
23845
  }),
23574
- children: /* @__PURE__ */ m(Tc, {
23846
+ children: /* @__PURE__ */ m(Nc, {
23575
23847
  embedded: !0,
23576
23848
  locale: "pt-BR",
23577
23849
  showTime: !1,
@@ -23584,8 +23856,8 @@ function Ac({ value: e, onChange: t, presets: n = Cc, maxDate: r, placement: i =
23584
23856
  onCancel: () => l(!1),
23585
23857
  onApply: (e) => {
23586
23858
  e.from && t({
23587
- start: Ec(e.from),
23588
- end: Ec(e.to ?? e.from)
23859
+ start: Pc(e.from),
23860
+ end: Pc(e.to ?? e.from)
23589
23861
  }), l(!1);
23590
23862
  }
23591
23863
  })
@@ -23593,7 +23865,7 @@ function Ac({ value: e, onChange: t, presets: n = Cc, maxDate: r, placement: i =
23593
23865
  }
23594
23866
  //#endregion
23595
23867
  //#region src/SelectNumberField.tsx
23596
- var jc = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a = 1, decimal: o = !1, disabled: c = !1, hint: l, error: u, onBlur: f, placeholder: p, size: g = "md", className: _, ...v }, y) {
23868
+ var zc = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a = 1, decimal: o = !1, disabled: c = !1, hint: l, error: u, onBlur: f, placeholder: p, size: g = "md", className: _, ...v }, y) {
23597
23869
  let b = s(), x = (e) => Math.min(i ?? Infinity, Math.max(r ?? -Infinity, e)), S = (e) => Math.round(e * 1e6) / 1e6, C = t ?? 0, w = r != null && C <= r, T = i != null && C >= i, [E, D] = d(!1), [O, k] = d(""), A = o && E ? O : t == null ? "" : String(t), j = (e) => {
23598
23870
  let t = o ? e.replace(/[^\d.,-]/g, "").replace(",", ".") : e.replace(/[^\d-]/g, "");
23599
23871
  if (o && k(t), t === "" || t === "-" || t === ".") return n(null);
@@ -23667,7 +23939,7 @@ var jc = r(function({ label: e, value: t, onChange: n, min: r, max: i, step: a =
23667
23939
  });
23668
23940
  //#endregion
23669
23941
  //#region src/SelectRepeatingFieldArray.tsx
23670
- function Mc({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Adicionar", rowLabel: a, min: o = 0, max: s, addDisabled: c = !1, reorderable: l = !1, chrome: u = "card", emptyState: d, helpText: f }) {
23942
+ function Bc({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Adicionar", rowLabel: a, min: o = 0, max: s, addDisabled: c = !1, reorderable: l = !1, chrome: u = "card", emptyState: d, helpText: f }) {
23671
23943
  let g = !c && (s == null || e.length < s), _ = e.length > o, v = (n, r) => t(e.map((e, t) => t === n ? r : e)), y = (n) => t(e.filter((e, t) => t !== n)), b = (n, r) => {
23672
23944
  let i = n + r;
23673
23945
  if (i < 0 || i >= e.length) return;
@@ -23762,7 +24034,7 @@ function Mc({ items: e, onChange: t, renderRow: n, newItem: r, addLabel: i = "Ad
23762
24034
  }
23763
24035
  //#endregion
23764
24036
  //#region src/SelectBuilderLayout.tsx
23765
- function Nc({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveLabel: a = "Salvar", saveDisabled: o = !1, cancelTo: s, error: c, preview: l, children: u }) {
24037
+ function Vc({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveLabel: a = "Salvar", saveDisabled: o = !1, cancelTo: s, error: c, preview: l, children: u }) {
23766
24038
  let d = v();
23767
24039
  return /* @__PURE__ */ m(ti, {
23768
24040
  title: e,
@@ -23802,7 +24074,7 @@ function Nc({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
23802
24074
  }
23803
24075
  //#endregion
23804
24076
  //#region src/SelectBuilderWorkspace.tsx
23805
- function Pc({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveLabel: a = "Salvar", saveDisabled: o = !1, cancelTo: s, error: c, sections: u, activeId: f, onActiveChange: g, searchable: _ = !1, preview: y, previewLayout: b = "fill", toolbar: x, dirty: S = !1, dirtyLabel: C = "Alterações não salvas" }) {
24077
+ function Hc({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveLabel: a = "Salvar", saveDisabled: o = !1, cancelTo: s, error: c, sections: u, activeId: f, onActiveChange: g, searchable: _ = !1, preview: y, previewLayout: b = "fill", toolbar: x, dirty: S = !1, dirtyLabel: C = "Alterações não salvas" }) {
23806
24078
  var w;
23807
24079
  let T = v(), [E, D] = d(((w = u[0]) == null ? void 0 : w.id) ?? ""), [O, k] = d(""), A = f ?? E, j = u.find((e) => e.id === A) ?? u[0], M = (e) => {
23808
24080
  f === void 0 && D(e), g == null || g(e);
@@ -23962,10 +24234,10 @@ function Pc({ title: e, subtitle: t, backTo: n, onSave: r, saving: i = !1, saveL
23962
24234
  }
23963
24235
  //#endregion
23964
24236
  //#region src/SelectFlowCanvas.tsx
23965
- var Fc = (e) => Math.round(e * 100) / 100;
23966
- function Ic({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], children: a, zoom: o, defaultZoom: c = 1, onZoomChange: l, minZoom: u = .5, maxZoom: f = 1.3, onBackgroundClick: p, ariaLabel: g }) {
24237
+ var Uc = (e) => Math.round(e * 100) / 100;
24238
+ function Wc({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], children: a, zoom: o, defaultZoom: c = 1, onZoomChange: l, minZoom: u = .5, maxZoom: f = 1.3, onBackgroundClick: p, ariaLabel: g }) {
23967
24239
  let _ = s().replace(/:/g, ""), [v, y] = d(c), b = o ?? v, x = (e) => {
23968
- let t = Fc(Math.min(f, Math.max(u, e)));
24240
+ let t = Uc(Math.min(f, Math.max(u, e)));
23969
24241
  o === void 0 && y(t), l == null || l(t);
23970
24242
  }, S = `select-flow-arrow-${_}`, C = `select-flow-arrow-on-${_}`;
23971
24243
  return /* @__PURE__ */ h("div", {
@@ -24081,7 +24353,7 @@ function Ic({ width: e, height: t, edges: n, labels: r = [], pluses: i = [], chi
24081
24353
  })]
24082
24354
  });
24083
24355
  }
24084
- function Lc({ x: e, y: t, width: n, height: r, shape: i = "card", tone: a = "neutral", icon: o, order: s, eyebrow: c, title: l, subtitle: u, tags: d, titleTone: f = "default", selected: p = !1, active: g = !1, muted: _ = !1, invalid: v = !1, onClick: y, ariaLabel: b }) {
24356
+ function Gc({ x: e, y: t, width: n, height: r, shape: i = "card", tone: a = "neutral", icon: o, order: s, eyebrow: c, title: l, subtitle: u, tags: d, titleTone: f = "default", selected: p = !1, active: g = !1, muted: _ = !1, invalid: v = !1, onClick: y, ariaLabel: b }) {
24085
24357
  let x = `${p ? " is-selected" : v ? " is-invalid" : g ? " is-on" : ""}${_ ? " is-muted" : ""}`, S = {
24086
24358
  left: e,
24087
24359
  top: t,
@@ -24157,7 +24429,7 @@ function Lc({ x: e, y: t, width: n, height: r, shape: i = "card", tone: a = "neu
24157
24429
  })]
24158
24430
  });
24159
24431
  }
24160
- function Rc({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar: i, actions: a, error: o, canvas: s, inspectorHead: c, inspector: l, inspectorLabel: u = "Painel" }) {
24432
+ function Kc({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar: i, actions: a, error: o, canvas: s, inspectorHead: c, inspector: l, inspectorLabel: u = "Painel" }) {
24161
24433
  return /* @__PURE__ */ h("div", {
24162
24434
  className: "select-flowpage",
24163
24435
  children: [
@@ -24219,7 +24491,7 @@ function Rc({ title: e, subtitle: t, onBack: n, backLabel: r = "Voltar", toolbar
24219
24491
  }
24220
24492
  //#endregion
24221
24493
  //#region src/SelectSwitchField.tsx
24222
- var zc = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint: i, help: a, className: o, ...s }, c) {
24494
+ var qc = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint: i, help: a, className: o, ...s }, c) {
24223
24495
  return /* @__PURE__ */ h("div", {
24224
24496
  ref: c,
24225
24497
  ...s,
@@ -24247,8 +24519,8 @@ var zc = r(function({ label: e, checked: t, onChange: n, disabled: r = !1, hint:
24247
24519
  children: i
24248
24520
  })]
24249
24521
  });
24250
- }), Bc = (e) => /^#[0-9a-fA-F]{6}$/.test(e);
24251
- function Vc({ label: e, value: t, onChange: n, disabled: r = !1, hint: i, error: a }) {
24522
+ }), Jc = (e) => /^#[0-9a-fA-F]{6}$/.test(e);
24523
+ function Yc({ label: e, value: t, onChange: n, disabled: r = !1, hint: i, error: a }) {
24252
24524
  return /* @__PURE__ */ m(Tt, {
24253
24525
  label: e,
24254
24526
  value: t,
@@ -24266,7 +24538,7 @@ function Vc({ label: e, value: t, onChange: n, disabled: r = !1, hint: i, error:
24266
24538
  prefix: /* @__PURE__ */ m("input", {
24267
24539
  type: "color",
24268
24540
  className: "select-color-swatch",
24269
- value: Bc(t) ? t : "#000000",
24541
+ value: Jc(t) ? t : "#000000",
24270
24542
  onChange: (e) => n(e.target.value),
24271
24543
  disabled: r,
24272
24544
  "aria-label": e ? `${e} — escolher cor` : "Escolher cor"
@@ -24275,13 +24547,13 @@ function Vc({ label: e, value: t, onChange: n, disabled: r = !1, hint: i, error:
24275
24547
  }
24276
24548
  //#endregion
24277
24549
  //#region src/SelectImageField.tsx
24278
- function Hc(e) {
24550
+ function Xc(e) {
24279
24551
  return new Promise((t, n) => {
24280
24552
  let r = new FileReader();
24281
24553
  r.onload = () => t(String(r.result)), r.onerror = () => n(r.error), r.readAsDataURL(e);
24282
24554
  });
24283
24555
  }
24284
- var Uc = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", maxSizeMB: i = 3, urlPlaceholder: a, hint: o, uploadFile: s, className: c, ...l }, u) {
24556
+ var Zc = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", maxSizeMB: i = 3, urlPlaceholder: a, hint: o, uploadFile: s, className: c, ...l }, u) {
24285
24557
  let [f, p] = d([]), [g, _] = d(null), v = t ? [t] : [], y = async (e) => {
24286
24558
  let t = e[0];
24287
24559
  if (!t) {
@@ -24289,7 +24561,7 @@ var Uc = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
24289
24561
  return;
24290
24562
  }
24291
24563
  if (_(null), !s) {
24292
- n(await Hc(t)), p([]);
24564
+ n(await Xc(t)), p([]);
24293
24565
  return;
24294
24566
  }
24295
24567
  p([t]);
@@ -24321,7 +24593,7 @@ var Uc = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
24321
24593
  children: g
24322
24594
  })]
24323
24595
  });
24324
- }), Wc = r(function({ items: e, multiple: t = !1, defaultOpenIds: n = [], className: r, ...i }, a) {
24596
+ }), Qc = r(function({ items: e, multiple: t = !1, defaultOpenIds: n = [], className: r, ...i }, a) {
24325
24597
  let [o, s] = d(() => new Set(n)), c = (e) => s((n) => {
24326
24598
  let r = n.has(e), i = new Set(t ? n : []);
24327
24599
  return r ? i.delete(e) : i.add(e), i;
@@ -24367,6 +24639,6 @@ var Uc = r(function({ label: e, value: t, onChange: n, accept: r = "image/*", ma
24367
24639
  });
24368
24640
  });
24369
24641
  //#endregion
24370
- export { C as AUTH_FX_VARIANTS, Le as AppleIcon, mt as AppsIcon, G as ArrowLeftIcon, ze as ArrowRightIcon, Ge as AtIcon, Pe as AuthAppIcon, Ce as BellIcon, pe as BookmarkIcon, lt as BroadcastIcon, qe as BuildingIcon, rt as CalendarIcon, gt as CartIcon, ft as ChartLineIcon, We as CheckCircleIcon, Ve as CheckIcon, W as ChevronDownIcon, U as ChevronLeftIcon, ae as ChevronRightIcon, it as ChevronUpIcon, ot as ClipboardIcon, fe as ClockIcon, le as CloseIcon, ce as CopyIcon, $e as CreditCardIcon, Ee as CubeIcon, ct as DiscountIcon, ue as DotsHorizontalIcon, et as EditIcon, at as ExportIcon, q as ExternalLinkIcon, He as EyeIcon, Ue as EyeOffIcon, Ie as FacebookIcon, K as FilterIcon, ie as GithubIcon, _e as GlobeIcon, H as GoogleIcon, be as HelpIcon, Xe as HomeIcon, ye as InfoIcon, Je as KeyIcon, dt as LinkIcon, nt as LockIcon, Fe as MailIcon, _t as MenuIcon, ht as MinusCircleIcon, Ae as MobileIcon, ke as MonitorIcon, Oe as MoonIcon, st as NoteIcon, Re as PasskeyIcon, Ne as PhoneIcon, me as PinIcon, Me as PlusIcon, je as RefreshIcon, Te as RocketIcon, Yn as SELECT_CARD_BRANDS, ra as SELECT_COL_DATETIME, ia as SELECT_COL_ID, On as SELECT_COUNTRIES, Cc as SELECT_DAILY_PRESETS, bc as SELECT_DATE_PRESETS, Rn as SELECT_SPACE, Pn as SELECT_TRANSACTION_STATUS, oe as SearchIcon, Wc as SelectAccordion, Ji as SelectActionCard, In as SelectActionList, Ln as SelectActionMenu, Kt as SelectAddButton, ga as SelectAddCard, Lt as SelectAlert, Yi as SelectAppTile, B as SelectAuthFx, Vr as SelectAvatar, Jr as SelectBackLink, Nn as SelectBadge, xo as SelectBalanceCard, fn as SelectBankAccountField, zo as SelectBarChart, Kn as SelectBox, hs as SelectBoxPlot, Nc as SelectBuilderLayout, Pc as SelectBuilderWorkspace, cs as SelectBullet, Bs as SelectBump, V as SelectButton, _s as SelectCalendarHeatmap, ms as SelectCandlestick, re as SelectCard, _a as SelectCardGrid, wo as SelectChartCard, Et as SelectCheckbox, Es as SelectChord, qs as SelectCirclePack, qi as SelectCollapsible, Vc as SelectColorField, Wo as SelectColumnChart, Ho as SelectComboChart, cn as SelectCombobox, ta as SelectConfirmModal, Gi as SelectCopyRow, Ki as SelectCopyableId, Xi as SelectCreateTile, ha as SelectDataTable, eo as SelectDateField, Tc as SelectDatePicker, Ac as SelectDateRangeField, $s as SelectDetailList, ec as SelectDetailRow, ir as SelectDisclosureButton, Br as SelectDivider, It as SelectDocumentField, Uo as SelectDonut, S as SelectDotField, bs as SelectDumbbell, So as SelectFeeBreakdown, Tt as SelectField, ln as SelectFieldGrid, Gt as SelectFileDropzone, Rt as SelectFileTile, ao as SelectFilterBar, Wi as SelectFilterChip, Ic as SelectFlowCanvas, Rc as SelectFlowLayout, Lc as SelectFlowNode, ii as SelectFormLayout, na as SelectFormModal, Go as SelectFunnel, Xo as SelectGauge, Ss as SelectGaugeBands, Fs as SelectGlobe, Un as SelectGrid, Zo as SelectHeatmap, Ds as SelectHexbin, La as SelectHideMoneyToggle, as as SelectHorizontalBar, Ws as SelectIcicle, di as SelectIcon, J as SelectIconButton, Wr as SelectIdentityFooter, Uc as SelectImageField, Jt as SelectImageUploadField, qt as SelectImageUrlsField, oc as SelectImageZoomModal, Ct as SelectInfoTip, Hn as SelectInline, Ir as SelectJsonViewer, dc as SelectKeyValueEditor, Co as SelectKpiCard, wt as SelectLabelRow, ya as SelectLayoutThumb, Bo as SelectLineChart, zr as SelectLinkButton, rc as SelectListCard, ic as SelectListRow, ei as SelectLoader, xs as SelectMarimekko, Ha as SelectMarkStack, cc as SelectMediaCell, Ri as SelectMenu, Ui as SelectMenuButton, Hi as SelectMenuDivider, Vi as SelectMenuHeading, zi as SelectMenuItem, Bi as SelectMenuLink, Ia as SelectMetricDelta, $i as SelectModal, Pa as SelectMoney, Mt as SelectMoneyField, Js as SelectNetwork, fi as SelectNote, jc as SelectNumberField, Ra as SelectOfferPrice, lc as SelectOfflineModal, Hr as SelectOptionList, Ur as SelectOptionRow, Gr as SelectOtpInput, ti as SelectPage, wi as SelectPagination, hi as SelectPanel, Vs as SelectParallel, Ls as SelectPareto, $r as SelectPasswordStrength, rr as SelectPaymentBrand, An as SelectPhoneField, nc as SelectPlanCard, vs as SelectPolarArea, on as SelectPopover, bo as SelectPreviewFrame, Qo as SelectProgressList, zs as SelectPyramid, fs as SelectRadar, es as SelectRadialBar, jn as SelectRadioGroup, gs as SelectRangeBar, Ba as SelectRating, Va as SelectRatingQuote, va as SelectRecordCard, Mc as SelectRepeatingFieldArray, Yr as SelectResendButton, ea as SelectRowActions, ps as SelectSankey, ds as SelectScatter, xi as SelectSearchInput, gi as SelectSection, Mn as SelectSegmented, Yt as SelectSelect, Na as SelectSensitiveValue, pi as SelectSettingList, mi as SelectSettingRow, bi as SelectSideNav, li as SelectSkeleton, ys as SelectSlope, Ro as SelectSparkline, Sa as SelectSplitChain, Vn as SelectStack, Vo as SelectStackedArea, Fn as SelectStatusBadge, tc as SelectSteps, Cs as SelectStreamGraph, ws as SelectSunburst, so as SelectSurface, pn as SelectSwitch, zc as SelectSwitchField, Ni as SelectTable, Ii as SelectTableCell, Li as SelectTableEmpty, Fi as SelectTableRow, _i as SelectTabs, oo as SelectTagSelect, qn as SelectText, Dt as SelectTextarea, Zs as SelectThemeSwitcher, ac as SelectThumbnail, Is as SelectTicker, Rr as SelectTimeline, ho as SelectToastProvider, mn as SelectToggleList, gn as SelectTogglePanel, hn as SelectToggleRow, St as SelectTooltip, Gs as SelectTree, us as SelectTreemap, Ot as SelectUnitInput, Pi as SelectUserCell, ja as SelectValueVisibilityProvider, Ks as SelectVenn, Ts as SelectViolin, Rs as SelectWaffle, os as SelectWaterfall, Os as SelectWordCloud, Zi as SelectWorkspaceSwitcher, sc as SelectZoomThumbnail, ve as SelectorIcon, tt as SendIcon, de as Setting4Icon, Ze as SettingsIcon, Be as ShieldIcon, ge as SplitIcon, he as StarIcon, pt as StoreIcon, vt as StorefrontIcon, De as SunIcon, we as TerminalIcon, Ye as TrashIcon, ut as TruckIcon, se as UploadIcon, Se as UserIcon, Qe as WalletIcon, xe as WarningIcon, Ke as Web3Icon, rn as detectSelectTheme, kn as dialCodeOf, Qr as passwordScore, Xs as resolveSelectTheme, Qn as selectCardBrand, $n as selectCardBrandLabel, pa as useSelectPageSize, go as useSelectToast, Ma as useSelectValueVisibility };
24642
+ export { C as AUTH_FX_VARIANTS, Le as AppleIcon, mt as AppsIcon, G as ArrowLeftIcon, ze as ArrowRightIcon, Ge as AtIcon, Pe as AuthAppIcon, Ce as BellIcon, pe as BookmarkIcon, lt as BroadcastIcon, qe as BuildingIcon, rt as CalendarIcon, gt as CartIcon, ft as ChartLineIcon, We as CheckCircleIcon, Ve as CheckIcon, W as ChevronDownIcon, U as ChevronLeftIcon, ae as ChevronRightIcon, it as ChevronUpIcon, ot as ClipboardIcon, fe as ClockIcon, le as CloseIcon, ce as CopyIcon, $e as CreditCardIcon, Ee as CubeIcon, ct as DiscountIcon, ue as DotsHorizontalIcon, et as EditIcon, at as ExportIcon, q as ExternalLinkIcon, He as EyeIcon, Ue as EyeOffIcon, Ie as FacebookIcon, K as FilterIcon, ie as GithubIcon, _e as GlobeIcon, H as GoogleIcon, be as HelpIcon, Xe as HomeIcon, ye as InfoIcon, Je as KeyIcon, dt as LinkIcon, nt as LockIcon, Fe as MailIcon, _t as MenuIcon, ht as MinusCircleIcon, Ae as MobileIcon, ke as MonitorIcon, Oe as MoonIcon, st as NoteIcon, Re as PasskeyIcon, Ne as PhoneIcon, me as PinIcon, Me as PlusIcon, je as RefreshIcon, Te as RocketIcon, Yn as SELECT_CARD_BRANDS, ra as SELECT_COL_DATETIME, ia as SELECT_COL_ID, On as SELECT_COUNTRIES, jc as SELECT_DAILY_PRESETS, Oc as SELECT_DATE_PRESETS, Rn as SELECT_SPACE, Pn as SELECT_TRANSACTION_STATUS, oe as SearchIcon, Qc as SelectAccordion, Ji as SelectActionCard, In as SelectActionList, Ln as SelectActionMenu, Kt as SelectAddButton, ga as SelectAddCard, Lt as SelectAlert, Yi as SelectAppTile, B as SelectAuthFx, Vr as SelectAvatar, Jr as SelectBackLink, Nn as SelectBadge, xo as SelectBalanceCard, fn as SelectBankAccountField, zo as SelectBarChart, Kn as SelectBox, hs as SelectBoxPlot, Vc as SelectBuilderLayout, Hc as SelectBuilderWorkspace, cs as SelectBullet, Bs as SelectBump, V as SelectButton, _s as SelectCalendarHeatmap, ms as SelectCandlestick, re as SelectCard, _a as SelectCardGrid, wo as SelectChartCard, Et as SelectCheckbox, Es as SelectChord, qs as SelectCirclePack, qi as SelectCollapsible, Yc as SelectColorField, Wo as SelectColumnChart, Ho as SelectComboChart, cn as SelectCombobox, ta as SelectConfirmModal, Gi as SelectCopyRow, Ki as SelectCopyableId, Xi as SelectCreateTile, ha as SelectDataTable, eo as SelectDateField, Nc as SelectDatePicker, Rc as SelectDateRangeField, $s as SelectDetailList, ec as SelectDetailRow, ir as SelectDisclosureButton, Br as SelectDivider, It as SelectDocumentField, Uo as SelectDonut, S as SelectDotField, bs as SelectDumbbell, So as SelectFeeBreakdown, Tt as SelectField, ln as SelectFieldGrid, Gt as SelectFileDropzone, Rt as SelectFileTile, ao as SelectFilterBar, Wi as SelectFilterChip, Wc as SelectFlowCanvas, Kc as SelectFlowLayout, Gc as SelectFlowNode, ii as SelectFormLayout, na as SelectFormModal, Go as SelectFunnel, Xo as SelectGauge, Ss as SelectGaugeBands, Fs as SelectGlobe, Un as SelectGrid, Zo as SelectHeatmap, Ds as SelectHexbin, La as SelectHideMoneyToggle, as as SelectHorizontalBar, Ws as SelectIcicle, di as SelectIcon, J as SelectIconButton, Wr as SelectIdentityFooter, Zc as SelectImageField, Jt as SelectImageUploadField, qt as SelectImageUrlsField, mc as SelectImageZoomModal, Ct as SelectInfoTip, Hn as SelectInline, Ir as SelectJsonViewer, yc as SelectKeyValueEditor, Co as SelectKpiCard, wt as SelectLabelRow, ya as SelectLayoutThumb, Bo as SelectLineChart, zr as SelectLinkButton, dc as SelectListCard, fc as SelectListRow, ei as SelectLoader, xs as SelectMarimekko, Ha as SelectMarkStack, gc as SelectMediaCell, Ri as SelectMenu, Ui as SelectMenuButton, Hi as SelectMenuDivider, Vi as SelectMenuHeading, zi as SelectMenuItem, Bi as SelectMenuLink, Ia as SelectMetricDelta, $i as SelectModal, Pa as SelectMoney, Mt as SelectMoneyField, Js as SelectNetwork, fi as SelectNote, zc as SelectNumberField, Ra as SelectOfferPrice, _c as SelectOfflineModal, Hr as SelectOptionList, Ur as SelectOptionRow, Gr as SelectOtpInput, ti as SelectPage, wi as SelectPagination, hi as SelectPanel, Vs as SelectParallel, Ls as SelectPareto, $r as SelectPasswordStrength, rr as SelectPaymentBrand, An as SelectPhoneField, uc as SelectPlanCard, vs as SelectPolarArea, on as SelectPopover, bo as SelectPreviewFrame, Qo as SelectProgressList, zs as SelectPyramid, fs as SelectRadar, es as SelectRadialBar, jn as SelectRadioGroup, gs as SelectRangeBar, Ba as SelectRating, Va as SelectRatingQuote, va as SelectRecordCard, Bc as SelectRepeatingFieldArray, Yr as SelectResendButton, ea as SelectRowActions, ps as SelectSankey, ds as SelectScatter, xi as SelectSearchInput, gi as SelectSection, Mn as SelectSegmented, Yt as SelectSelect, Na as SelectSensitiveValue, pi as SelectSettingList, mi as SelectSettingRow, ic as SelectSetupGuide, ac as SelectSetupNext, bi as SelectSideNav, li as SelectSkeleton, ys as SelectSlope, Ro as SelectSparkline, Sa as SelectSplitChain, Vn as SelectStack, Vo as SelectStackedArea, Fn as SelectStatusBadge, tc as SelectSteps, Cs as SelectStreamGraph, ws as SelectSunburst, so as SelectSurface, pn as SelectSwitch, qc as SelectSwitchField, Ni as SelectTable, Ii as SelectTableCell, Li as SelectTableEmpty, Fi as SelectTableRow, _i as SelectTabs, oo as SelectTagSelect, qn as SelectText, Dt as SelectTextarea, Zs as SelectThemeSwitcher, pc as SelectThumbnail, Is as SelectTicker, Rr as SelectTimeline, ho as SelectToastProvider, mn as SelectToggleList, gn as SelectTogglePanel, hn as SelectToggleRow, St as SelectTooltip, lc as SelectTour, Gs as SelectTree, us as SelectTreemap, Ot as SelectUnitInput, Pi as SelectUserCell, ja as SelectValueVisibilityProvider, Ks as SelectVenn, Ts as SelectViolin, Rs as SelectWaffle, os as SelectWaterfall, Os as SelectWordCloud, Zi as SelectWorkspaceSwitcher, hc as SelectZoomThumbnail, ve as SelectorIcon, tt as SendIcon, de as Setting4Icon, Ze as SettingsIcon, Be as ShieldIcon, ge as SplitIcon, he as StarIcon, pt as StoreIcon, vt as StorefrontIcon, De as SunIcon, we as TerminalIcon, Ye as TrashIcon, ut as TruckIcon, se as UploadIcon, Se as UserIcon, Qe as WalletIcon, xe as WarningIcon, Ke as Web3Icon, rn as detectSelectTheme, kn as dialCodeOf, Qr as passwordScore, Xs as resolveSelectTheme, Qn as selectCardBrand, $n as selectCardBrandLabel, pa as useSelectPageSize, go as useSelectToast, Ma as useSelectValueVisibility };
24371
24643
 
24372
24644
  //# sourceMappingURL=index.js.map