beesoft-components 0.4.8 → 0.4.9

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.es.js CHANGED
@@ -82,14 +82,14 @@ function zo() {
82
82
  // with.
83
83
  c.$$typeof === z || c.getModuleId !== void 0));
84
84
  }
85
- function X(c, w, O) {
85
+ function J(c, w, O) {
86
86
  var q = c.displayName;
87
87
  if (q)
88
88
  return q;
89
89
  var pe = w.displayName || w.name || "";
90
90
  return pe !== "" ? O + "(" + pe + ")" : O;
91
91
  }
92
- function J(c) {
92
+ function X(c) {
93
93
  return c.displayName || "Context";
94
94
  }
95
95
  function v(c) {
@@ -117,12 +117,12 @@ function zo() {
117
117
  switch (c.$$typeof) {
118
118
  case s:
119
119
  var w = c;
120
- return J(w) + ".Consumer";
120
+ return X(w) + ".Consumer";
121
121
  case o:
122
122
  var O = c;
123
- return J(O._context) + ".Provider";
123
+ return X(O._context) + ".Provider";
124
124
  case u:
125
- return X(c, c.render, "ForwardRef");
125
+ return J(c, c.render, "ForwardRef");
126
126
  case d:
127
127
  var q = c.displayName || null;
128
128
  return q !== null ? q : v(c.type) || "Memo";
@@ -1444,7 +1444,7 @@ const ll = (e, t) => {
1444
1444
  j.className = `${K.current}`, x && D === x && (j.innerHTML = ""), C == null || C(m);
1445
1445
  },
1446
1446
  [x, C]
1447
- ), X = Ae(
1447
+ ), J = Ae(
1448
1448
  (m) => {
1449
1449
  const j = m.target.innerHTML;
1450
1450
  if (x && j === "") {
@@ -1454,10 +1454,10 @@ const ll = (e, t) => {
1454
1454
  P == null || P(m);
1455
1455
  },
1456
1456
  [x, P]
1457
- ), J = Ae(
1457
+ ), X = Ae(
1458
1458
  (m) => {
1459
1459
  var j, D;
1460
- (j = z.current) == null || j.removeEventListener("focus", oe), (D = z.current) == null || D.removeEventListener("blur", X), x && m && m !== document.activeElement && m.innerHTML === "" && (m.innerHTML = x, m.className = `${K.current} ${ee.current}`), m.addEventListener("focus", oe), m.addEventListener("blur", X), z.current = m;
1460
+ (j = z.current) == null || j.removeEventListener("focus", oe), (D = z.current) == null || D.removeEventListener("blur", J), x && m && m !== document.activeElement && m.innerHTML === "" && (m.innerHTML = x, m.className = `${K.current} ${ee.current}`), m.addEventListener("focus", oe), m.addEventListener("blur", J), z.current = m;
1461
1461
  },
1462
1462
  [x]
1463
1463
  ), v = Ae(
@@ -1499,7 +1499,7 @@ const ll = (e, t) => {
1499
1499
  /* @__PURE__ */ h.jsx(
1500
1500
  "div",
1501
1501
  {
1502
- ref: (m) => m && J(m),
1502
+ ref: (m) => m && X(m),
1503
1503
  className: K.current,
1504
1504
  contentEditable: !n,
1505
1505
  suppressContentEditableWarning: !0,
@@ -3987,14 +3987,14 @@ function ze(e, t, r, n) {
3987
3987
  var oe = Ne((o = (s = (u = (l = n == null ? void 0 : n.firstWeekContainsDate) !== null && l !== void 0 ? l : n == null || (f = n.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && u !== void 0 ? u : ee.firstWeekContainsDate) !== null && s !== void 0 ? s : (b = ee.locale) === null || b === void 0 || (T = b.options) === null || T === void 0 ? void 0 : T.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
3988
3988
  if (!(oe >= 1 && oe <= 7))
3989
3989
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
3990
- var X = Ne((x = (C = (P = (R = n == null ? void 0 : n.weekStartsOn) !== null && R !== void 0 ? R : n == null || (V = n.locale) === null || V === void 0 || (G = V.options) === null || G === void 0 ? void 0 : G.weekStartsOn) !== null && P !== void 0 ? P : ee.weekStartsOn) !== null && C !== void 0 ? C : (W = ee.locale) === null || W === void 0 || (g = W.options) === null || g === void 0 ? void 0 : g.weekStartsOn) !== null && x !== void 0 ? x : 0);
3991
- if (!(X >= 0 && X <= 6))
3990
+ var J = Ne((x = (C = (P = (R = n == null ? void 0 : n.weekStartsOn) !== null && R !== void 0 ? R : n == null || (V = n.locale) === null || V === void 0 || (G = V.options) === null || G === void 0 ? void 0 : G.weekStartsOn) !== null && P !== void 0 ? P : ee.weekStartsOn) !== null && C !== void 0 ? C : (W = ee.locale) === null || W === void 0 || (g = W.options) === null || g === void 0 ? void 0 : g.weekStartsOn) !== null && x !== void 0 ? x : 0);
3991
+ if (!(J >= 0 && J <= 6))
3992
3992
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
3993
3993
  if (K === "")
3994
3994
  return Y === "" ? me(r) : /* @__PURE__ */ new Date(NaN);
3995
- var J = {
3995
+ var X = {
3996
3996
  firstWeekContainsDate: oe,
3997
- weekStartsOn: X,
3997
+ weekStartsOn: J,
3998
3998
  locale: z
3999
3999
  }, v = [new Df()], F = K.match(dd).map(function(_) {
4000
4000
  var N = _[0];
@@ -4023,7 +4023,7 @@ function ze(e, t, r, n) {
4023
4023
  token: H,
4024
4024
  fullToken: N
4025
4025
  });
4026
- var Fe = Pe.run(Y, N, z.match, J);
4026
+ var Fe = Pe.run(Y, N, z.match, X);
4027
4027
  if (!Fe)
4028
4028
  return {
4029
4029
  v: /* @__PURE__ */ new Date(NaN)
@@ -4073,9 +4073,9 @@ function ze(e, t, r, n) {
4073
4073
  try {
4074
4074
  for (j.s(); !(D = j.n()).done; ) {
4075
4075
  var k = D.value;
4076
- if (!k.validate(y, J))
4076
+ if (!k.validate(y, X))
4077
4077
  return /* @__PURE__ */ new Date(NaN);
4078
- var $ = k.set(y, m, J);
4078
+ var $ = k.set(y, m, X);
4079
4079
  Array.isArray($) ? (y = $[0], yf(m, $[1])) : y = $;
4080
4080
  }
4081
4081
  } catch (_) {
@@ -4305,13 +4305,15 @@ function Rp(e) {
4305
4305
  "--theme-bsc-gray-2": e.gray2 || "#5f5f5f",
4306
4306
  "--theme-bsc-gray-3": e.gray3 || "#8f8f8f",
4307
4307
  "--theme-bsc-gray-4": e.gray4 || "#bebebe",
4308
- "--theme-bsc-gray-5": e.gray5 || "#eeeeee",
4309
- "--theme-bsc-mono-dark-1": e.monoDark1 || "#222222",
4308
+ "--theme-bsc-gray-5": e.gray5 || "#eee",
4309
+ "--theme-bsc-black": e.black || "#000",
4310
+ "--theme-bsc-white": e.white || "#fff",
4311
+ "--theme-bsc-mono-dark-1": e.monoDark1 || "#222",
4310
4312
  "--theme-bsc-mono-dark-2": e.monoDark2 || "#3c3c3c",
4311
4313
  "--theme-bsc-mono-dark-3": e.monoDark3 || "#4e4e4e",
4312
4314
  "--theme-bsc-mono-light-1": e.monoLight1 || "#fefefe",
4313
- "--theme-bsc-mono-light-2": e.monoLight2 || "#eeeeee",
4314
- "--theme-bsc-mono-light-3": e.monoLight3 || "#cccccc",
4315
+ "--theme-bsc-mono-light-2": e.monoLight2 || "#eee",
4316
+ "--theme-bsc-mono-light-3": e.monoLight3 || "#ccc",
4315
4317
  "--theme-bsc-info": e.info || "#2e7ff8",
4316
4318
  "--theme-bsc-success": e.success || "#53ae0c",
4317
4319
  "--theme-bsc-warning": e.warning || "#ff6914",
@@ -4729,7 +4731,7 @@ function $h() {
4729
4731
  }
4730
4732
  }
4731
4733
  }
4732
- var g = u, Y = l, K = s, ee = o, z = t, oe = f, X = n, J = x, v = T, F = r, B = i, A = a, te = d, L = !1;
4734
+ var g = u, Y = l, K = s, ee = o, z = t, oe = f, J = n, X = x, v = T, F = r, B = i, A = a, te = d, L = !1;
4733
4735
  function le(S) {
4734
4736
  return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(S) || W(S) === u;
4735
4737
  }
@@ -4769,7 +4771,7 @@ function $h() {
4769
4771
  function Pe(S) {
4770
4772
  return W(S) === d;
4771
4773
  }
4772
- ye.AsyncMode = g, ye.ConcurrentMode = Y, ye.ContextConsumer = K, ye.ContextProvider = ee, ye.Element = z, ye.ForwardRef = oe, ye.Fragment = X, ye.Lazy = J, ye.Memo = v, ye.Portal = F, ye.Profiler = B, ye.StrictMode = A, ye.Suspense = te, ye.isAsyncMode = le, ye.isConcurrentMode = p, ye.isContextConsumer = E, ye.isContextProvider = y, ye.isElement = m, ye.isForwardRef = j, ye.isFragment = D, ye.isLazy = k, ye.isMemo = $, ye.isPortal = _, ye.isProfiler = N, ye.isStrictMode = H, ye.isSuspense = Pe, ye.isValidElementType = G, ye.typeOf = W;
4774
+ ye.AsyncMode = g, ye.ConcurrentMode = Y, ye.ContextConsumer = K, ye.ContextProvider = ee, ye.Element = z, ye.ForwardRef = oe, ye.Fragment = J, ye.Lazy = X, ye.Memo = v, ye.Portal = F, ye.Profiler = B, ye.StrictMode = A, ye.Suspense = te, ye.isAsyncMode = le, ye.isConcurrentMode = p, ye.isContextConsumer = E, ye.isContextProvider = y, ye.isElement = m, ye.isForwardRef = j, ye.isFragment = D, ye.isLazy = k, ye.isMemo = $, ye.isPortal = _, ye.isProfiler = N, ye.isStrictMode = H, ye.isSuspense = Pe, ye.isValidElementType = G, ye.typeOf = W;
4773
4775
  }()), ye;
4774
4776
  }
4775
4777
  var ya;
@@ -4933,7 +4935,7 @@ function Fh() {
4933
4935
  objectOf: ee,
4934
4936
  oneOf: K,
4935
4937
  oneOfType: z,
4936
- shape: J,
4938
+ shape: X,
4937
4939
  exact: v
4938
4940
  };
4939
4941
  function x(p, E) {
@@ -5095,12 +5097,12 @@ function Fh() {
5095
5097
  }
5096
5098
  return P(p);
5097
5099
  }
5098
- function X(p, E, y, m, j) {
5100
+ function J(p, E, y, m, j) {
5099
5101
  return new C(
5100
5102
  (p || "React class") + ": " + E + " type `" + y + "." + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
5101
5103
  );
5102
5104
  }
5103
- function J(p) {
5105
+ function X(p) {
5104
5106
  function E(y, m, j, D, k) {
5105
5107
  var $ = y[m], _ = A($);
5106
5108
  if (_ !== "object")
@@ -5108,7 +5110,7 @@ function Fh() {
5108
5110
  for (var N in p) {
5109
5111
  var H = p[N];
5110
5112
  if (typeof H != "function")
5111
- return X(j, D, k, N, te(H));
5113
+ return J(j, D, k, N, te(H));
5112
5114
  var Pe = H($, N, j, D, k + "." + N, r);
5113
5115
  if (Pe)
5114
5116
  return Pe;
@@ -5126,7 +5128,7 @@ function Fh() {
5126
5128
  for (var H in N) {
5127
5129
  var Pe = p[H];
5128
5130
  if (n(p, H) && typeof Pe != "function")
5129
- return X(j, D, k, H, te(Pe));
5131
+ return J(j, D, k, H, te(Pe));
5130
5132
  if (!Pe)
5131
5133
  return new C(
5132
5134
  "Invalid " + D + " `" + k + "` key `" + H + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(y[m], null, " ") + `
@@ -5693,9 +5695,9 @@ const qh = ({
5693
5695
  Y.current = bo(g.current, F, v);
5694
5696
  }, oe = () => {
5695
5697
  Y.current && wo(Y.current);
5696
- }, X = () => {
5698
+ }, J = () => {
5697
5699
  C(-1), T(-1), l == null || l();
5698
- }, J = {
5700
+ }, X = {
5699
5701
  entering: { opacity: 0.5 },
5700
5702
  entered: { opacity: 0.5 }
5701
5703
  };
@@ -5710,7 +5712,7 @@ const qh = ({
5710
5712
  onEntering: ee,
5711
5713
  onEntered: z,
5712
5714
  onExit: oe,
5713
- onExited: X,
5715
+ onExited: J,
5714
5716
  unmountOnExit: n,
5715
5717
  children: ({ state: v, defaultStyle: F, transitionStyles: B }) => /* @__PURE__ */ h.jsxs("div", { ref: (A) => A && K(A), children: [
5716
5718
  /* @__PURE__ */ h.jsx(
@@ -5720,7 +5722,7 @@ const qh = ({
5720
5722
  style: {
5721
5723
  zIndex: x,
5722
5724
  ...B[v],
5723
- ...J[v]
5725
+ ...X[v]
5724
5726
  }
5725
5727
  }
5726
5728
  ),
@@ -5933,12 +5935,12 @@ const Gh = ({
5933
5935
  left: 0,
5934
5936
  top: 0,
5935
5937
  width: 0
5936
- }), X = ne(), J = ne(), v = ne(), F = ne(), B = ne(), A = ne();
5937
- ke(() => () => {
5938
+ }), J = ne(), X = ne(), v = ne(), F = ne(), B = ne(), A = ne();
5939
+ ke(() => (u === !0 && (A.current = new ResizeObserver(te)), () => {
5938
5940
  var D, k;
5939
- u === !0 && (J.current && ((D = A.current) == null || D.unobserve(J.current)), (k = A.current) == null || k.disconnect());
5940
- }, []), ke(() => {
5941
- if (t && (X.current = So(t), o && (v.current = mo(X.current, {
5941
+ u === !0 && (X.current && ((D = A.current) == null || D.unobserve(X.current)), (k = A.current) == null || k.disconnect());
5942
+ }), []), ke(() => {
5943
+ if (t && (J.current = So(t), o && (v.current = mo(J.current, {
5942
5944
  overflow: "scroll, auto",
5943
5945
  overflowX: "scroll, auto",
5944
5946
  overflowY: "scroll, auto"
@@ -5949,13 +5951,13 @@ const Gh = ({
5949
5951
  e !== void 0 && g(e);
5950
5952
  }, [t, e, o, s]);
5951
5953
  const te = (D) => {
5952
- if (J.current) {
5954
+ if (X.current) {
5953
5955
  const k = Ee.getScreenDimensions(), $ = D[D.length - 1].target, _ = $.getBoundingClientRect(), N = Ee.determineOffScreenLocation(_);
5954
5956
  if (N) {
5955
- if (X.current && Ee.canPositionElementOnScreenWithTarget($, X.current)) {
5957
+ if (J.current && Ee.canPositionElementOnScreenWithTarget($, J.current)) {
5956
5958
  const H = Ee.positionElementToTargetOnScreen(
5957
- J.current,
5958
5959
  X.current,
5960
+ J.current,
5959
5961
  n,
5960
5962
  r
5961
5963
  );
@@ -5973,16 +5975,16 @@ const Gh = ({
5973
5975
  }, 20), le = () => {
5974
5976
  G(z.current);
5975
5977
  }, p = () => {
5976
- if (!J.current)
5978
+ if (!X.current)
5977
5979
  return;
5978
5980
  T == null || T();
5979
5981
  let D;
5980
- !a && X.current && (D = [X.current]);
5982
+ !a && J.current && (D = [J.current]);
5981
5983
  const k = ($) => {
5982
5984
  $ ? C == null || C() : g(!1);
5983
5985
  };
5984
- F.current = bo(J.current, k, D), o && (B.current = cl(
5985
- ($) => J.current && Yd($, J.current) && g(!1),
5986
+ F.current = bo(X.current, k, D), o && (B.current = cl(
5987
+ ($) => X.current && Yd($, X.current) && g(!1),
5986
5988
  100,
5987
5989
  { leading: !0 }
5988
5990
  ), v.current && v.current.addEventListener("scroll", B.current));
@@ -5992,17 +5994,17 @@ const Gh = ({
5992
5994
  G(-1), x == null || x();
5993
5995
  }, m = (D) => {
5994
5996
  var k, $;
5995
- if (J.current = D, P == null || P(D), X.current) {
5997
+ if (u === !0 && X.current && ((k = A.current) == null || k.unobserve(X.current)), X.current = D, P == null || P(D), J.current) {
5996
5998
  const _ = Ee.positionElementToTarget(
5997
- J.current,
5998
5999
  X.current,
6000
+ J.current,
5999
6001
  n,
6000
6002
  r
6001
6003
  );
6002
6004
  oe.current = {
6003
6005
  ..._,
6004
- width: X.current.offsetWidth
6005
- }, u === !0 && (Ee.canPositionElementOnScreenWithTarget(J.current, X.current) || Ee.canPositionElementOnScreen(J.current)) && ((k = A.current) == null || k.unobserve(J.current), ($ = A.current) == null || $.observe(J.current), A.current = new ResizeObserver(te));
6006
+ width: J.current.offsetWidth
6007
+ }, u === !0 && (Ee.canPositionElementOnScreenWithTarget(X.current, J.current) || Ee.canPositionElementOnScreen(X.current)) && (($ = A.current) == null || $.observe(X.current));
6006
6008
  }
6007
6009
  }, j = dr(() => {
6008
6010
  const D = {
@@ -6713,13 +6715,13 @@ const sp = (e, t) => {
6713
6715
  x ? x(L) ? (Y(!0), C == null || C(L)) : Y(!1) : C == null || C(L);
6714
6716
  },
6715
6717
  [C]
6716
- ), X = Ae(
6718
+ ), J = Ae(
6717
6719
  (L) => {
6718
6720
  var le;
6719
6721
  (le = z.current) == null || le.inputFocused(), P == null || P(L);
6720
6722
  },
6721
6723
  [P]
6722
- ), J = Ae(
6724
+ ), X = Ae(
6723
6725
  (L) => {
6724
6726
  var le;
6725
6727
  (le = z.current) == null || le.inputBlurred(), R == null || R(L);
@@ -6758,8 +6760,8 @@ const sp = (e, t) => {
6758
6760
  rightElementClassName: d,
6759
6761
  isSingleLine: b,
6760
6762
  allowSingleLineScroll: T,
6761
- onFocus: X,
6762
- onBlur: J,
6763
+ onFocus: J,
6764
+ onBlur: X,
6763
6765
  onElementCreate: V,
6764
6766
  onLeftElementClick: G,
6765
6767
  onRightElementClick: W
@@ -7283,13 +7285,13 @@ const fr = ({
7283
7285
  throw new Error("Range selection mode requires onDateSelected to be set");
7284
7286
  !r || wf(A, r) ? o(A) : r && !n ? o(A, { setEndDate: !0 }) : r && n && o(A);
7285
7287
  }
7286
- }, oe = (A) => (V == null ? void 0 : V.toLocaleDateString()) === A.toLocaleDateString(), X = (A) => {
7288
+ }, oe = (A) => (V == null ? void 0 : V.toLocaleDateString()) === A.toLocaleDateString(), J = (A) => {
7287
7289
  if (b && x) {
7288
7290
  const te = A.getTime();
7289
7291
  return te >= b && te <= x;
7290
7292
  }
7291
7293
  return !1;
7292
- }, J = {
7294
+ }, X = {
7293
7295
  viewDate: e,
7294
7296
  selectedDate: t,
7295
7297
  selectedStartDate: r,
@@ -7302,9 +7304,9 @@ const fr = ({
7302
7304
  isValidDate: u,
7303
7305
  onDateClicked: z,
7304
7306
  isSelectedDate: oe,
7305
- isInSelectedDateRange: X
7307
+ isInSelectedDateRange: J
7306
7308
  }, F = K || ((A, te) => /* @__PURE__ */ h.jsx("div", { className: "bsc-w-full bc-dt-calendar", children: te }));
7307
- return /* @__PURE__ */ h.jsx(gn, { props: J, template: F, children: /* @__PURE__ */ h.jsxs("div", { className: "bsc-grid bsc-grid-cols-7 bsc-gap-3 bc-dt-day-row bsc-min-w-[329px]", children: [
7309
+ return /* @__PURE__ */ h.jsx(gn, { props: X, template: F, children: /* @__PURE__ */ h.jsxs("div", { className: "bsc-grid bsc-grid-cols-7 bsc-gap-3 bc-dt-day-row bsc-min-w-[329px]", children: [
7308
7310
  (B = g.current) == null ? void 0 : B.map((A, te) => /* @__PURE__ */ h.jsx("div", { className: "bsc-text-center bsc-font-bold bc-dt-day-cell", children: A }, te)),
7309
7311
  P == null ? void 0 : P.map(
7310
7312
  (A, te) => A.map((L, le) => {
@@ -7313,10 +7315,10 @@ const fr = ({
7313
7315
  "bsc-text-center bsc-py-1",
7314
7316
  {
7315
7317
  "bsc-text-gray-3": !L.isCurrent,
7316
- "bsc-bg-primary-3 dark:bsc-bg-mono-light-1 dark:bsc-text-mono-dark-1": L && L.dayValue && (V && oe(L.dayValue) || b && !x && eo(b, L.dayValue) || b && x && X(L.dayValue)),
7318
+ "bsc-bg-primary-3 dark:bsc-bg-mono-light-1 dark:bsc-text-mono-dark-1": L && L.dayValue && (V && oe(L.dayValue) || b && !x && eo(b, L.dayValue) || b && x && J(L.dayValue)),
7317
7319
  "bsc-cursor-pointer": p,
7318
7320
  "bsc-text-error bsc-cursor-not-allowed": !p,
7319
- "bsc-bg-primary-5 dark:bsc-bg-mono-light-3 dark:bsc-text-mono-dark-1": L.dayValue && yd(L.dayValue) && !(oe(L.dayValue) || X(L.dayValue))
7321
+ "bsc-bg-primary-5 dark:bsc-bg-mono-light-3 dark:bsc-text-mono-dark-1": L.dayValue && yd(L.dayValue) && !(oe(L.dayValue) || J(L.dayValue))
7320
7322
  },
7321
7323
  "bc-dt-date-cell"
7322
7324
  );
@@ -7634,10 +7636,10 @@ const fr = ({
7634
7636
  o({
7635
7637
  type: Z.DaySelector
7636
7638
  });
7637
- }, X = Ze("bsc-w-full bsc-grid bsc-grid-rows-3 bsc-gap-4 bc-dt-time-grid", {
7639
+ }, J = Ze("bsc-w-full bsc-grid bsc-grid-rows-3 bsc-gap-4 bc-dt-time-grid", {
7638
7640
  "bsc-grid-cols-4": n === Ce.TwelveHour,
7639
7641
  "bsc-grid-cols-3": n === Ce.TwentyFourHour
7640
- }), J = Ze(
7642
+ }), X = Ze(
7641
7643
  "bsc-text-center bsc-cursor-pointer hover:bsc-bg-gray-4 dark:bsc-text-mono-light-1 dark:hover:bsc-bg-mono-light-1 dark:hover:bsc-text-mono-dark-1 bc-dt-time-date-value",
7642
7644
  {
7643
7645
  "bsc-col-span-4": n === Ce.TwelveHour,
@@ -7649,8 +7651,8 @@ const fr = ({
7649
7651
  {
7650
7652
  className: "bc-dt-time-selector bsc-flex bsc-flex-row bsc-justify-center bsc-p-2",
7651
7653
  style: { minWidth: n === Ce.TwelveHour ? "15rem" : "11rem" },
7652
- children: /* @__PURE__ */ h.jsxs("div", { className: X, children: [
7653
- t && /* @__PURE__ */ h.jsx("div", { className: J, onClick: oe, children: G.current }),
7654
+ children: /* @__PURE__ */ h.jsxs("div", { className: J, children: [
7655
+ t && /* @__PURE__ */ h.jsx("div", { className: X, onClick: oe, children: G.current }),
7654
7656
  /* @__PURE__ */ h.jsx("div", { className: "bc-dt-time-hour-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ h.jsx(Ke, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: W, children: /* @__PURE__ */ h.jsx(Ar, {}) }) }),
7655
7657
  /* @__PURE__ */ h.jsx("div", {}),
7656
7658
  /* @__PURE__ */ h.jsx("div", { className: "bc-dt-time-minute-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ h.jsx(Ke, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: Y, children: /* @__PURE__ */ h.jsx(Ar, {}) }) }),
@@ -7971,13 +7973,13 @@ const Ep = (e, t) => {
7971
7973
  dateScrollerTemplate: V,
7972
7974
  inputTemplate: G
7973
7975
  }) => {
7974
- const [W, g] = je(!1), [Y, K] = je(), [ee, z] = je(), oe = ne(), X = ne(!1), J = ne(o || po()), v = ne(), F = ne(), B = ne(), [A, te] = Ep(u, Y), L = ne({
7976
+ const [W, g] = je(!1), [Y, K] = je(), [ee, z] = je(), oe = ne(), J = ne(!1), X = ne(o || po()), v = ne(), F = ne(), B = ne(), [A, te] = Ep(u, Y), L = ne({
7975
7977
  calendarTemplate: R,
7976
7978
  dateScrollerTemplate: V
7977
7979
  });
7978
7980
  ke(() => {
7979
- J.current && le(J.current);
7980
- }, [J]), ke(() => {
7981
+ X.current && le(X.current);
7982
+ }, [X]), ke(() => {
7981
7983
  o && le(o);
7982
7984
  }, [o]), ke(() => {
7983
7985
  if (e) {
@@ -8068,9 +8070,9 @@ const Ep = (e, t) => {
8068
8070
  type: Z.ClearDates
8069
8071
  }), g(!1), P == null || P();
8070
8072
  }, Me = (Q, fe) => {
8071
- (!F.current || oe.current !== fe) && (F.current = Q, oe.current = fe, X.current = !0);
8073
+ (!F.current || oe.current !== fe) && (F.current = Q, oe.current = fe, J.current = !0);
8072
8074
  }, Fe = () => {
8073
- (!B.current || X.current) && F.current && (B.current = F.current, z(F.current), X.current = !1);
8075
+ (!B.current || J.current) && F.current && (B.current = F.current, z(F.current), J.current = !1);
8074
8076
  }, Ye = () => {
8075
8077
  g(!1), m({
8076
8078
  type: u === we.TimeOnly ? Z.TimeSelector : u === we.DateTime || u === we.DateOnly ? Z.DaySelector : Z.DateRangeSelector
Binary file