@xola/ui-kit 2.3.3 → 2.3.5
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/build/style.css +1 -1
- package/build/ui-kit.mjs +241 -242
- package/build/ui-kit.umd.js +2 -2
- package/package.json +1 -1
package/build/ui-kit.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Transition as Le, Dialog as tt, Switch as Dn } from "@headlessui/react";
|
|
2
2
|
import c from "prop-types";
|
|
3
3
|
import * as X from "react";
|
|
4
|
-
import n, { useState as ie, useEffect as Re, cloneElement as Et, forwardRef as Ye, Fragment as Ce, Children as Ge, createContext as yt, useRef as fe, useCallback as me, useMemo as
|
|
4
|
+
import n, { useState as ie, useEffect as Re, cloneElement as Et, forwardRef as Ye, Fragment as Ce, Children as Ge, createContext as yt, useRef as fe, useCallback as me, useMemo as ye, useContext as De, useLayoutEffect as C1, createElement as Ze, Component as La } from "react";
|
|
5
5
|
import E from "clsx";
|
|
6
6
|
import { range as Aa, round as st, isNumber as Ma, isString as Cr, isEmpty as xr, isFunction as x1, isArray as E1, merge as $e } from "lodash";
|
|
7
7
|
import zn from "@tippyjs/react";
|
|
@@ -4095,8 +4095,7 @@ const Bs = {
|
|
|
4095
4095
|
size: "small",
|
|
4096
4096
|
variant: "link",
|
|
4097
4097
|
className: E(
|
|
4098
|
-
"m-2.5 inline-flex !h-10 !w-10 items-center justify-center !rounded-full bg-white !px-1.5"
|
|
4099
|
-
"!text-black focus:hidden"
|
|
4098
|
+
"m-2.5 inline-flex !h-10 !w-10 items-center justify-center !rounded-full bg-white !px-1.5 !text-black"
|
|
4100
4099
|
),
|
|
4101
4100
|
onClick: e
|
|
4102
4101
|
},
|
|
@@ -4817,7 +4816,7 @@ const $1 = yt({
|
|
|
4817
4816
|
"Please wrap your app with `<Provider />` component from `@xola/ui-kit`. Otherwise your app will not work with SSR frameworks."
|
|
4818
4817
|
), D2++)
|
|
4819
4818
|
}), Lu = ({ children: e }) => {
|
|
4820
|
-
const t = fe(1), o = me(() => t.current++, [t]), a =
|
|
4819
|
+
const t = fe(1), o = me(() => t.current++, [t]), a = ye(() => ({ generateId: o }), [o]);
|
|
4821
4820
|
return /* @__PURE__ */ n.createElement($1.Provider, { value: a }, e);
|
|
4822
4821
|
}, kn = (e) => {
|
|
4823
4822
|
const { generateId: t } = De($1), [o] = ie(() => `${e}-${t()}`);
|
|
@@ -5053,7 +5052,7 @@ const rn = {
|
|
|
5053
5052
|
danger: "text-danger",
|
|
5054
5053
|
caution: "text-caution"
|
|
5055
5054
|
}, rr = yt(), Ue = ({ children: e, className: t, currency: o, locale: a, ...r }) => {
|
|
5056
|
-
const i =
|
|
5055
|
+
const i = ye(() => ({ currency: o, locale: a }), [o, a]);
|
|
5057
5056
|
return /* @__PURE__ */ n.createElement(rr.Provider, { value: i }, /* @__PURE__ */ n.createElement("table", { className: E("ui-breakdown", "w-full", t), ...r }, /* @__PURE__ */ n.createElement("tbody", null, e)));
|
|
5058
5057
|
};
|
|
5059
5058
|
Ue.propTypes = {
|
|
@@ -5442,7 +5441,7 @@ function de(e, t) {
|
|
|
5442
5441
|
function vt(e, t, o) {
|
|
5443
5442
|
return e.slice(t, o);
|
|
5444
5443
|
}
|
|
5445
|
-
function
|
|
5444
|
+
function Ie(e) {
|
|
5446
5445
|
return e.length;
|
|
5447
5446
|
}
|
|
5448
5447
|
function sr(e) {
|
|
@@ -5512,7 +5511,7 @@ function bt(e) {
|
|
|
5512
5511
|
return 0;
|
|
5513
5512
|
}
|
|
5514
5513
|
function vo(e) {
|
|
5515
|
-
return an = rt = 1, fo =
|
|
5514
|
+
return an = rt = 1, fo = Ie(at = e), ve = 0, [];
|
|
5516
5515
|
}
|
|
5517
5516
|
function bo(e) {
|
|
5518
5517
|
return at = "", e;
|
|
@@ -5595,7 +5594,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
|
|
|
5595
5594
|
}
|
|
5596
5595
|
break;
|
|
5597
5596
|
case 123 * p:
|
|
5598
|
-
s[d++] =
|
|
5597
|
+
s[d++] = Ie(A) * w;
|
|
5599
5598
|
case 125 * p:
|
|
5600
5599
|
case 59:
|
|
5601
5600
|
case 0:
|
|
@@ -5604,7 +5603,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
|
|
|
5604
5603
|
case 125:
|
|
5605
5604
|
f = 0;
|
|
5606
5605
|
case 59 + m:
|
|
5607
|
-
C > 0 &&
|
|
5606
|
+
C > 0 && Ie(A) - g && At(C > 32 ? Hr(A + ";", a, o, g - 1) : Hr(Q(A, " ", "") + ";", a, o, g - 2), u);
|
|
5608
5607
|
break;
|
|
5609
5608
|
case 59:
|
|
5610
5609
|
A += ";";
|
|
@@ -5626,7 +5625,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
|
|
|
5626
5625
|
d = m = C = 0, p = w = 1, I = A = "", g = l;
|
|
5627
5626
|
break;
|
|
5628
5627
|
case 58:
|
|
5629
|
-
g = 1 +
|
|
5628
|
+
g = 1 + Ie(A), C = b;
|
|
5630
5629
|
default:
|
|
5631
5630
|
if (p < 1) {
|
|
5632
5631
|
if (y == 123)
|
|
@@ -5639,13 +5638,13 @@ function Tt(e, t, o, a, r, i, l, s, u) {
|
|
|
5639
5638
|
w = m > 0 ? 1 : (A += "\f", -1);
|
|
5640
5639
|
break;
|
|
5641
5640
|
case 44:
|
|
5642
|
-
s[d++] = (
|
|
5641
|
+
s[d++] = (Ie(A) - 1) * w, w = 1;
|
|
5643
5642
|
break;
|
|
5644
5643
|
case 64:
|
|
5645
|
-
Ae() === 45 && (A += St(be())), v = Ae(), m = g =
|
|
5644
|
+
Ae() === 45 && (A += St(be())), v = Ae(), m = g = Ie(I = A += fl(Ft())), y++;
|
|
5646
5645
|
break;
|
|
5647
5646
|
case 45:
|
|
5648
|
-
b === 45 &&
|
|
5647
|
+
b === 45 && Ie(A) == 2 && (p = 0);
|
|
5649
5648
|
}
|
|
5650
5649
|
}
|
|
5651
5650
|
return i;
|
|
@@ -5679,7 +5678,7 @@ function wl(e, t, o, a) {
|
|
|
5679
5678
|
case ar:
|
|
5680
5679
|
e.value = e.props.join(",");
|
|
5681
5680
|
}
|
|
5682
|
-
return
|
|
5681
|
+
return Ie(o = nt(e.children, a)) ? e.return = e.value + "{" + o + "}" : "";
|
|
5683
5682
|
}
|
|
5684
5683
|
function Cl(e) {
|
|
5685
5684
|
var t = sr(e);
|
|
@@ -5857,7 +5856,7 @@ function Co(e, t) {
|
|
|
5857
5856
|
case 5789:
|
|
5858
5857
|
case 5021:
|
|
5859
5858
|
case 4765:
|
|
5860
|
-
if (
|
|
5859
|
+
if (Ie(e) - 1 - t > 6)
|
|
5861
5860
|
switch (de(e, t + 1)) {
|
|
5862
5861
|
case 109:
|
|
5863
5862
|
if (de(e, t + 4) !== 45)
|
|
@@ -5872,7 +5871,7 @@ function Co(e, t) {
|
|
|
5872
5871
|
if (de(e, t + 1) !== 115)
|
|
5873
5872
|
break;
|
|
5874
5873
|
case 6444:
|
|
5875
|
-
switch (de(e,
|
|
5874
|
+
switch (de(e, Ie(e) - 3 - (~Bn(e, "!important") && 10))) {
|
|
5876
5875
|
case 107:
|
|
5877
5876
|
return Q(e, ":", ":" + Y) + e;
|
|
5878
5877
|
case 101:
|
|
@@ -7224,7 +7223,7 @@ var Xc = function(t) {
|
|
|
7224
7223
|
zIndex: 1
|
|
7225
7224
|
};
|
|
7226
7225
|
}, Yc = function(t) {
|
|
7227
|
-
var o = t.appendTo, a = t.children, r = t.controlElement, i = t.innerProps, l = t.menuPlacement, s = t.menuPosition, u = fe(null), d = fe(null), m = ie(Oo(l)), g = Se(m, 2), v = g[0], C = g[1], b =
|
|
7226
|
+
var o = t.appendTo, a = t.children, r = t.controlElement, i = t.innerProps, l = t.menuPlacement, s = t.menuPosition, u = fe(null), d = fe(null), m = ie(Oo(l)), g = Se(m, 2), v = g[0], C = g[1], b = ye(function() {
|
|
7228
7227
|
return {
|
|
7229
7228
|
setPortalPlacement: C
|
|
7230
7229
|
};
|
|
@@ -7825,9 +7824,9 @@ var j3 = process.env.NODE_ENV === "production" ? {
|
|
|
7825
7824
|
return "".concat(a).concat(o ? " for search term " + o : "", ".");
|
|
7826
7825
|
}
|
|
7827
7826
|
}, Z3 = function(t) {
|
|
7828
|
-
var o = t.ariaSelection, a = t.focusedOption, r = t.focusedValue, i = t.focusableOptions, l = t.isFocused, s = t.selectValue, u = t.selectProps, d = t.id, m = u.ariaLiveMessages, g = u.getOptionLabel, v = u.inputValue, C = u.isMulti, b = u.isOptionDisabled, p = u.isSearchable, f = u.menuIsOpen, w = u.options, y = u.screenReaderStatus, I = u.tabSelectsValue, L = u["aria-label"], x = u["aria-live"], k =
|
|
7827
|
+
var o = t.ariaSelection, a = t.focusedOption, r = t.focusedValue, i = t.focusableOptions, l = t.isFocused, s = t.selectValue, u = t.selectProps, d = t.id, m = u.ariaLiveMessages, g = u.getOptionLabel, v = u.inputValue, C = u.isMulti, b = u.isOptionDisabled, p = u.isSearchable, f = u.menuIsOpen, w = u.options, y = u.screenReaderStatus, I = u.tabSelectsValue, L = u["aria-label"], x = u["aria-live"], k = ye(function() {
|
|
7829
7828
|
return H(H({}, W3), m || {});
|
|
7830
|
-
}, [m]), A =
|
|
7829
|
+
}, [m]), A = ye(function() {
|
|
7831
7830
|
var D = "";
|
|
7832
7831
|
if (o && k.onChange) {
|
|
7833
7832
|
var O = o.option, K = o.options, $ = o.removedValue, ne = o.removedValues, te = o.value, re = function(oe) {
|
|
@@ -7840,7 +7839,7 @@ var j3 = process.env.NODE_ENV === "production" ? {
|
|
|
7840
7839
|
D = k.onChange(R);
|
|
7841
7840
|
}
|
|
7842
7841
|
return D;
|
|
7843
|
-
}, [o, k, b, s, g]), M =
|
|
7842
|
+
}, [o, k, b, s, g]), M = ye(function() {
|
|
7844
7843
|
var D = "", O = a || r, K = !!(a && s && s.includes(a));
|
|
7845
7844
|
if (O && k.onFocus) {
|
|
7846
7845
|
var $ = {
|
|
@@ -7855,7 +7854,7 @@ var j3 = process.env.NODE_ENV === "production" ? {
|
|
|
7855
7854
|
D = k.onFocus($);
|
|
7856
7855
|
}
|
|
7857
7856
|
return D;
|
|
7858
|
-
}, [a, r, g, b, k, i, s]), B =
|
|
7857
|
+
}, [a, r, g, b, k, i, s]), B = ye(function() {
|
|
7859
7858
|
var D = "";
|
|
7860
7859
|
if (f && w.length && k.onFilter) {
|
|
7861
7860
|
var O = y({
|
|
@@ -7867,7 +7866,7 @@ var j3 = process.env.NODE_ENV === "production" ? {
|
|
|
7867
7866
|
});
|
|
7868
7867
|
}
|
|
7869
7868
|
return D;
|
|
7870
|
-
}, [i, v, f, k, w, y]), z =
|
|
7869
|
+
}, [i, v, f, k, w, y]), z = ye(function() {
|
|
7871
7870
|
var D = "";
|
|
7872
7871
|
if (k.guidance) {
|
|
7873
7872
|
var O = r ? "value" : f ? "menu" : "input";
|
|
@@ -9452,12 +9451,12 @@ var x4 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
|
|
|
9452
9451
|
}
|
|
9453
9452
|
};
|
|
9454
9453
|
function E4(e) {
|
|
9455
|
-
var t = e.allowCreateWhileLoading, o = t === void 0 ? !1 : t, a = e.createOptionPosition, r = a === void 0 ? "last" : a, i = e.formatCreateLabel, l = i === void 0 ? bn.formatCreateLabel : i, s = e.isValidNewOption, u = s === void 0 ? bn.isValidNewOption : s, d = e.getNewOptionData, m = d === void 0 ? bn.getNewOptionData : d, g = e.onCreateOption, v = e.options, C = v === void 0 ? [] : v, b = e.onChange, p = Qe(e, x4), f = p.getOptionValue, w = f === void 0 ? ea : f, y = p.getOptionLabel, I = y === void 0 ? $o : y, L = p.inputValue, x = p.isLoading, k = p.isMulti, A = p.value, M = p.name, B =
|
|
9454
|
+
var t = e.allowCreateWhileLoading, o = t === void 0 ? !1 : t, a = e.createOptionPosition, r = a === void 0 ? "last" : a, i = e.formatCreateLabel, l = i === void 0 ? bn.formatCreateLabel : i, s = e.isValidNewOption, u = s === void 0 ? bn.isValidNewOption : s, d = e.getNewOptionData, m = d === void 0 ? bn.getNewOptionData : d, g = e.onCreateOption, v = e.options, C = v === void 0 ? [] : v, b = e.onChange, p = Qe(e, x4), f = p.getOptionValue, w = f === void 0 ? ea : f, y = p.getOptionLabel, I = y === void 0 ? $o : y, L = p.inputValue, x = p.isLoading, k = p.isMulti, A = p.value, M = p.name, B = ye(function() {
|
|
9456
9455
|
return u(L, Yt(A), C, {
|
|
9457
9456
|
getOptionValue: w,
|
|
9458
9457
|
getOptionLabel: I
|
|
9459
9458
|
}) ? m(L, l(L)) : void 0;
|
|
9460
|
-
}, [l, m, I, w, L, u, C, A]), z =
|
|
9459
|
+
}, [l, m, I, w, L, u, C, A]), z = ye(function() {
|
|
9461
9460
|
return (o || !x) && B ? r === "first" ? [B].concat(ht(C)) : [].concat(ht(C), [B]) : C;
|
|
9462
9461
|
}, [o, r, x, B, C]), V = me(function(F, j) {
|
|
9463
9462
|
if (j.action !== "select-option")
|
|
@@ -9890,30 +9889,6 @@ V4.propTypes = {
|
|
|
9890
9889
|
passwordResetUrl: c.string
|
|
9891
9890
|
};
|
|
9892
9891
|
var pa = { exports: {} };
|
|
9893
|
-
(function(e, t) {
|
|
9894
|
-
(function(o, a) {
|
|
9895
|
-
e.exports = a();
|
|
9896
|
-
})(Fe, function() {
|
|
9897
|
-
var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
9898
|
-
return function(a, r, i) {
|
|
9899
|
-
var l = r.prototype, s = l.format;
|
|
9900
|
-
i.en.formats = o, l.format = function(u) {
|
|
9901
|
-
u === void 0 && (u = "YYYY-MM-DDTHH:mm:ssZ");
|
|
9902
|
-
var d = this.$locale().formats, m = function(g, v) {
|
|
9903
|
-
return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(C, b, p) {
|
|
9904
|
-
var f = p && p.toUpperCase();
|
|
9905
|
-
return b || v[p] || o[p] || v[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, y, I) {
|
|
9906
|
-
return y || I.slice(1);
|
|
9907
|
-
});
|
|
9908
|
-
});
|
|
9909
|
-
}(u, d === void 0 ? {} : d);
|
|
9910
|
-
return s.call(this, m);
|
|
9911
|
-
};
|
|
9912
|
-
};
|
|
9913
|
-
});
|
|
9914
|
-
})(pa);
|
|
9915
|
-
const F4 = pa.exports;
|
|
9916
|
-
var ha = { exports: {} };
|
|
9917
9892
|
(function(e, t) {
|
|
9918
9893
|
(function(o, a) {
|
|
9919
9894
|
e.exports = a();
|
|
@@ -10042,6 +10017,30 @@ var ha = { exports: {} };
|
|
|
10042
10017
|
};
|
|
10043
10018
|
};
|
|
10044
10019
|
});
|
|
10020
|
+
})(pa);
|
|
10021
|
+
const F4 = pa.exports;
|
|
10022
|
+
var ha = { exports: {} };
|
|
10023
|
+
(function(e, t) {
|
|
10024
|
+
(function(o, a) {
|
|
10025
|
+
e.exports = a();
|
|
10026
|
+
})(Fe, function() {
|
|
10027
|
+
var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
10028
|
+
return function(a, r, i) {
|
|
10029
|
+
var l = r.prototype, s = l.format;
|
|
10030
|
+
i.en.formats = o, l.format = function(u) {
|
|
10031
|
+
u === void 0 && (u = "YYYY-MM-DDTHH:mm:ssZ");
|
|
10032
|
+
var d = this.$locale().formats, m = function(g, v) {
|
|
10033
|
+
return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(C, b, p) {
|
|
10034
|
+
var f = p && p.toUpperCase();
|
|
10035
|
+
return b || v[p] || o[p] || v[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, y, I) {
|
|
10036
|
+
return y || I.slice(1);
|
|
10037
|
+
});
|
|
10038
|
+
});
|
|
10039
|
+
}(u, d === void 0 ? {} : d);
|
|
10040
|
+
return s.call(this, m);
|
|
10041
|
+
};
|
|
10042
|
+
};
|
|
10043
|
+
});
|
|
10045
10044
|
})(ha);
|
|
10046
10045
|
const S4 = ha.exports;
|
|
10047
10046
|
var ga = { exports: {} };
|
|
@@ -10073,6 +10072,70 @@ var ga = { exports: {} };
|
|
|
10073
10072
|
})(ga);
|
|
10074
10073
|
const T4 = ga.exports;
|
|
10075
10074
|
var fa = { exports: {} };
|
|
10075
|
+
(function(e, t) {
|
|
10076
|
+
(function(o, a) {
|
|
10077
|
+
e.exports = a();
|
|
10078
|
+
})(Fe, function() {
|
|
10079
|
+
var o = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
|
|
10080
|
+
return function(r, i, l) {
|
|
10081
|
+
var s, u = function(v, C, b) {
|
|
10082
|
+
b === void 0 && (b = {});
|
|
10083
|
+
var p = new Date(v), f = function(w, y) {
|
|
10084
|
+
y === void 0 && (y = {});
|
|
10085
|
+
var I = y.timeZoneName || "short", L = w + "|" + I, x = a[L];
|
|
10086
|
+
return x || (x = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: w, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: I }), a[L] = x), x;
|
|
10087
|
+
}(C, b);
|
|
10088
|
+
return f.formatToParts(p);
|
|
10089
|
+
}, d = function(v, C) {
|
|
10090
|
+
for (var b = u(v, C), p = [], f = 0; f < b.length; f += 1) {
|
|
10091
|
+
var w = b[f], y = w.type, I = w.value, L = o[y];
|
|
10092
|
+
L >= 0 && (p[L] = parseInt(I, 10));
|
|
10093
|
+
}
|
|
10094
|
+
var x = p[3], k = x === 24 ? 0 : x, A = p[0] + "-" + p[1] + "-" + p[2] + " " + k + ":" + p[4] + ":" + p[5] + ":000", M = +v;
|
|
10095
|
+
return (l.utc(A).valueOf() - (M -= M % 1e3)) / 6e4;
|
|
10096
|
+
}, m = i.prototype;
|
|
10097
|
+
m.tz = function(v, C) {
|
|
10098
|
+
v === void 0 && (v = s);
|
|
10099
|
+
var b = this.utcOffset(), p = this.toDate(), f = p.toLocaleString("en-US", { timeZone: v }), w = Math.round((p - new Date(f)) / 1e3 / 60), y = l(f, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - w, !0);
|
|
10100
|
+
if (C) {
|
|
10101
|
+
var I = y.utcOffset();
|
|
10102
|
+
y = y.add(b - I, "minute");
|
|
10103
|
+
}
|
|
10104
|
+
return y.$x.$timezone = v, y;
|
|
10105
|
+
}, m.offsetName = function(v) {
|
|
10106
|
+
var C = this.$x.$timezone || l.tz.guess(), b = u(this.valueOf(), C, { timeZoneName: v }).find(function(p) {
|
|
10107
|
+
return p.type.toLowerCase() === "timezonename";
|
|
10108
|
+
});
|
|
10109
|
+
return b && b.value;
|
|
10110
|
+
};
|
|
10111
|
+
var g = m.startOf;
|
|
10112
|
+
m.startOf = function(v, C) {
|
|
10113
|
+
if (!this.$x || !this.$x.$timezone)
|
|
10114
|
+
return g.call(this, v, C);
|
|
10115
|
+
var b = l(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
10116
|
+
return g.call(b, v, C).tz(this.$x.$timezone, !0);
|
|
10117
|
+
}, l.tz = function(v, C, b) {
|
|
10118
|
+
var p = b && C, f = b || C || s, w = d(+l(), f);
|
|
10119
|
+
if (typeof v != "string")
|
|
10120
|
+
return l(v).tz(f);
|
|
10121
|
+
var y = function(k, A, M) {
|
|
10122
|
+
var B = k - 60 * A * 1e3, z = d(B, M);
|
|
10123
|
+
if (A === z)
|
|
10124
|
+
return [B, A];
|
|
10125
|
+
var V = d(B -= 60 * (z - A) * 1e3, M);
|
|
10126
|
+
return z === V ? [B, z] : [k - 60 * Math.min(z, V) * 1e3, Math.max(z, V)];
|
|
10127
|
+
}(l.utc(v, p).valueOf(), w, f), I = y[0], L = y[1], x = l(I).utcOffset(L);
|
|
10128
|
+
return x.$x.$timezone = f, x;
|
|
10129
|
+
}, l.tz.guess = function() {
|
|
10130
|
+
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
10131
|
+
}, l.tz.setDefault = function(v) {
|
|
10132
|
+
s = v;
|
|
10133
|
+
};
|
|
10134
|
+
};
|
|
10135
|
+
});
|
|
10136
|
+
})(fa);
|
|
10137
|
+
const H4 = fa.exports;
|
|
10138
|
+
var va = { exports: {} };
|
|
10076
10139
|
(function(e, t) {
|
|
10077
10140
|
(function(o, a) {
|
|
10078
10141
|
e.exports = a();
|
|
@@ -10152,77 +10215,13 @@ var fa = { exports: {} };
|
|
|
10152
10215
|
};
|
|
10153
10216
|
};
|
|
10154
10217
|
});
|
|
10155
|
-
})(fa);
|
|
10156
|
-
const H4 = fa.exports;
|
|
10157
|
-
var va = { exports: {} };
|
|
10158
|
-
(function(e, t) {
|
|
10159
|
-
(function(o, a) {
|
|
10160
|
-
e.exports = a();
|
|
10161
|
-
})(Fe, function() {
|
|
10162
|
-
var o = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
|
|
10163
|
-
return function(r, i, l) {
|
|
10164
|
-
var s, u = function(v, C, b) {
|
|
10165
|
-
b === void 0 && (b = {});
|
|
10166
|
-
var p = new Date(v), f = function(w, y) {
|
|
10167
|
-
y === void 0 && (y = {});
|
|
10168
|
-
var I = y.timeZoneName || "short", L = w + "|" + I, x = a[L];
|
|
10169
|
-
return x || (x = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: w, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: I }), a[L] = x), x;
|
|
10170
|
-
}(C, b);
|
|
10171
|
-
return f.formatToParts(p);
|
|
10172
|
-
}, d = function(v, C) {
|
|
10173
|
-
for (var b = u(v, C), p = [], f = 0; f < b.length; f += 1) {
|
|
10174
|
-
var w = b[f], y = w.type, I = w.value, L = o[y];
|
|
10175
|
-
L >= 0 && (p[L] = parseInt(I, 10));
|
|
10176
|
-
}
|
|
10177
|
-
var x = p[3], k = x === 24 ? 0 : x, A = p[0] + "-" + p[1] + "-" + p[2] + " " + k + ":" + p[4] + ":" + p[5] + ":000", M = +v;
|
|
10178
|
-
return (l.utc(A).valueOf() - (M -= M % 1e3)) / 6e4;
|
|
10179
|
-
}, m = i.prototype;
|
|
10180
|
-
m.tz = function(v, C) {
|
|
10181
|
-
v === void 0 && (v = s);
|
|
10182
|
-
var b = this.utcOffset(), p = this.toDate(), f = p.toLocaleString("en-US", { timeZone: v }), w = Math.round((p - new Date(f)) / 1e3 / 60), y = l(f, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - w, !0);
|
|
10183
|
-
if (C) {
|
|
10184
|
-
var I = y.utcOffset();
|
|
10185
|
-
y = y.add(b - I, "minute");
|
|
10186
|
-
}
|
|
10187
|
-
return y.$x.$timezone = v, y;
|
|
10188
|
-
}, m.offsetName = function(v) {
|
|
10189
|
-
var C = this.$x.$timezone || l.tz.guess(), b = u(this.valueOf(), C, { timeZoneName: v }).find(function(p) {
|
|
10190
|
-
return p.type.toLowerCase() === "timezonename";
|
|
10191
|
-
});
|
|
10192
|
-
return b && b.value;
|
|
10193
|
-
};
|
|
10194
|
-
var g = m.startOf;
|
|
10195
|
-
m.startOf = function(v, C) {
|
|
10196
|
-
if (!this.$x || !this.$x.$timezone)
|
|
10197
|
-
return g.call(this, v, C);
|
|
10198
|
-
var b = l(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
10199
|
-
return g.call(b, v, C).tz(this.$x.$timezone, !0);
|
|
10200
|
-
}, l.tz = function(v, C, b) {
|
|
10201
|
-
var p = b && C, f = b || C || s, w = d(+l(), f);
|
|
10202
|
-
if (typeof v != "string")
|
|
10203
|
-
return l(v).tz(f);
|
|
10204
|
-
var y = function(k, A, M) {
|
|
10205
|
-
var B = k - 60 * A * 1e3, z = d(B, M);
|
|
10206
|
-
if (A === z)
|
|
10207
|
-
return [B, A];
|
|
10208
|
-
var V = d(B -= 60 * (z - A) * 1e3, M);
|
|
10209
|
-
return z === V ? [B, z] : [k - 60 * Math.min(z, V) * 1e3, Math.max(z, V)];
|
|
10210
|
-
}(l.utc(v, p).valueOf(), w, f), I = y[0], L = y[1], x = l(I).utcOffset(L);
|
|
10211
|
-
return x.$x.$timezone = f, x;
|
|
10212
|
-
}, l.tz.guess = function() {
|
|
10213
|
-
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
10214
|
-
}, l.tz.setDefault = function(v) {
|
|
10215
|
-
s = v;
|
|
10216
|
-
};
|
|
10217
|
-
};
|
|
10218
|
-
});
|
|
10219
10218
|
})(va);
|
|
10220
10219
|
const R4 = va.exports;
|
|
10221
|
-
_.extend(S4);
|
|
10222
10220
|
_.extend(F4);
|
|
10221
|
+
_.extend(S4);
|
|
10223
10222
|
_.extend(T4);
|
|
10224
|
-
_.extend(H4);
|
|
10225
10223
|
_.extend(R4);
|
|
10224
|
+
_.extend(H4);
|
|
10226
10225
|
const ba = {
|
|
10227
10226
|
DATE_ISO: "YYYY-MM-DD"
|
|
10228
10227
|
}, G4 = (e) => {
|
|
@@ -10298,6 +10297,128 @@ br.propTypes = {
|
|
|
10298
10297
|
date: c.objectOf(Date).isRequired,
|
|
10299
10298
|
onChange: c.func.isRequired
|
|
10300
10299
|
};
|
|
10300
|
+
const _t = ({ onPreviousClick: e, onNextClick: t, className: o, showNextButton: a, showPreviousButton: r }) => /* @__PURE__ */ n.createElement("div", { className: E("absolute right-1 top-1.5 z-50", o) }, /* @__PURE__ */ n.createElement(Gn, { isVisible: r, onClick: e }, /* @__PURE__ */ n.createElement(B1, null)), /* @__PURE__ */ n.createElement(Gn, { isVisible: a, onClick: t }, /* @__PURE__ */ n.createElement(Kt, null)));
|
|
10301
|
+
_t.propTypes = {
|
|
10302
|
+
onPreviousClick: c.func,
|
|
10303
|
+
onNextClick: c.func,
|
|
10304
|
+
className: c.string,
|
|
10305
|
+
showNextButton: c.bool,
|
|
10306
|
+
showPreviousButton: c.bool
|
|
10307
|
+
};
|
|
10308
|
+
const Gn = ({ isVisible: e = !0, onClick: t, children: o }) => /* @__PURE__ */ n.createElement(
|
|
10309
|
+
"button",
|
|
10310
|
+
{
|
|
10311
|
+
type: "button",
|
|
10312
|
+
className: E(
|
|
10313
|
+
e ? "inline-block" : "invisible",
|
|
10314
|
+
"inline-flex h-7 w-7 items-center justify-center rounded-full border border-transparent leading-none text-black hover:border-black"
|
|
10315
|
+
),
|
|
10316
|
+
onClick: () => t()
|
|
10317
|
+
},
|
|
10318
|
+
o
|
|
10319
|
+
);
|
|
10320
|
+
Gn.propTypes = {
|
|
10321
|
+
isVisible: c.bool,
|
|
10322
|
+
onClick: c.func.isRequired,
|
|
10323
|
+
children: c.element.isRequired
|
|
10324
|
+
};
|
|
10325
|
+
const xa = ({
|
|
10326
|
+
getTooltip: e,
|
|
10327
|
+
value: t,
|
|
10328
|
+
getDayContent: o,
|
|
10329
|
+
isDateRangeStyle: a,
|
|
10330
|
+
shouldShowYearPicker: r,
|
|
10331
|
+
startMonth: i,
|
|
10332
|
+
disabledDays: l,
|
|
10333
|
+
endMonth: s,
|
|
10334
|
+
modifiers: u,
|
|
10335
|
+
selectedDays: d,
|
|
10336
|
+
handleDayClick: m,
|
|
10337
|
+
handleStartMonthChange: g,
|
|
10338
|
+
handleEndMonthChange: v,
|
|
10339
|
+
handleTodayClick: C,
|
|
10340
|
+
timezoneName: b,
|
|
10341
|
+
...p
|
|
10342
|
+
}) => {
|
|
10343
|
+
const f = G(t == null ? void 0 : t.from, b).isSame(G(t == null ? void 0 : t.to, b), "month"), w = G(t == null ? void 0 : t.from, b).isSame(G(t == null ? void 0 : t.to, b), "day"), y = (V, F) => r && V ? ({ date: j }) => /* @__PURE__ */ n.createElement(br, { date: j, currentMonth: V, onChange: F }) : void 0, I = y(i, g), L = y(s, v), x = (V) => x1(l) ? l(V) : E1(l) ? l.some((F) => G(F, b).isSame(V, "day")) : !1, k = (V) => x(V), A = (V) => {
|
|
10344
|
+
const F = G(V, b).isBefore(t == null ? void 0 : t.from, "day");
|
|
10345
|
+
return x(V) || F && !w;
|
|
10346
|
+
}, M = (V, F, j) => {
|
|
10347
|
+
const D = e == null ? void 0 : e(V), O = F(V), K = D ? tn : n.Fragment, $ = D ? { placement: "top", content: D } : {};
|
|
10348
|
+
return /* @__PURE__ */ n.createElement(K, { ...$ }, /* @__PURE__ */ n.createElement(
|
|
10349
|
+
Qt,
|
|
10350
|
+
{
|
|
10351
|
+
disabled: O,
|
|
10352
|
+
selectedDate: t,
|
|
10353
|
+
date: V,
|
|
10354
|
+
getContent: o,
|
|
10355
|
+
currentMonth: j
|
|
10356
|
+
}
|
|
10357
|
+
));
|
|
10358
|
+
}, B = (V) => M(V, k, i), z = (V) => M(V, A, s);
|
|
10359
|
+
return /* @__PURE__ */ n.createElement("div", { className: "flex gap-4" }, /* @__PURE__ */ n.createElement(
|
|
10360
|
+
En,
|
|
10361
|
+
{
|
|
10362
|
+
className: E(
|
|
10363
|
+
"ui-date-picker max-w-[400px] rounded-lg pt-3",
|
|
10364
|
+
a ? "date-range-picker" : null,
|
|
10365
|
+
o ? "has-custom-content" : null,
|
|
10366
|
+
u.waitlist ? "has-custom-content" : null
|
|
10367
|
+
),
|
|
10368
|
+
month: i,
|
|
10369
|
+
modifiers: { ...u, start: t == null ? void 0 : t.from },
|
|
10370
|
+
disabledDays: k,
|
|
10371
|
+
navbarElement: _t,
|
|
10372
|
+
captionElement: I,
|
|
10373
|
+
selectedDays: [d == null ? void 0 : d.from, d],
|
|
10374
|
+
renderDay: B,
|
|
10375
|
+
getTooltip: e,
|
|
10376
|
+
onDayClick: (V, F, j) => m(V, F, j, !0),
|
|
10377
|
+
onMonthChange: g,
|
|
10378
|
+
onTodayButtonClick: C,
|
|
10379
|
+
...p
|
|
10380
|
+
}
|
|
10381
|
+
), /* @__PURE__ */ n.createElement(
|
|
10382
|
+
En,
|
|
10383
|
+
{
|
|
10384
|
+
className: E(
|
|
10385
|
+
"ui-date-picker max-w-[400px] rounded-lg pt-3",
|
|
10386
|
+
a ? "date-range-picker" : null,
|
|
10387
|
+
o ? "has-custom-content" : null,
|
|
10388
|
+
u.waitlist ? "has-custom-content" : null
|
|
10389
|
+
),
|
|
10390
|
+
month: s,
|
|
10391
|
+
modifiers: f ? {} : { ...u, end: t == null ? void 0 : t.to },
|
|
10392
|
+
disabledDays: A,
|
|
10393
|
+
navbarElement: _t,
|
|
10394
|
+
captionElement: L,
|
|
10395
|
+
selectedDays: f ? [] : d,
|
|
10396
|
+
renderDay: z,
|
|
10397
|
+
getTooltip: e,
|
|
10398
|
+
onDayClick: (V, F, j) => m(V, F, j, !1),
|
|
10399
|
+
onMonthChange: v,
|
|
10400
|
+
onTodayButtonClick: C,
|
|
10401
|
+
...p
|
|
10402
|
+
}
|
|
10403
|
+
));
|
|
10404
|
+
};
|
|
10405
|
+
xa.propTypes = {
|
|
10406
|
+
getTooltip: c.func,
|
|
10407
|
+
value: c.object,
|
|
10408
|
+
getDayContent: c.func,
|
|
10409
|
+
isDisabled: c.func,
|
|
10410
|
+
isDateRangeStyle: c.bool,
|
|
10411
|
+
startMonth: c.instanceOf(Date),
|
|
10412
|
+
endMonth: c.instanceOf(Date),
|
|
10413
|
+
modifiers: c.object,
|
|
10414
|
+
disabledStartDays: c.func,
|
|
10415
|
+
disabledEndDays: c.func,
|
|
10416
|
+
handleDayClick: c.func,
|
|
10417
|
+
handleStartMonthChange: c.func,
|
|
10418
|
+
handleEndMonthChange: c.func,
|
|
10419
|
+
handleTodayClick: c.func,
|
|
10420
|
+
timezoneName: c.string
|
|
10421
|
+
};
|
|
10301
10422
|
const q = {
|
|
10302
10423
|
YESTERDAY: "P1D,yesterday",
|
|
10303
10424
|
TODAY: "P1D,today",
|
|
@@ -10464,7 +10585,7 @@ const q = {
|
|
|
10464
10585
|
from: Z(G(null, e).startOf("year")),
|
|
10465
10586
|
to: Z(G(null, e).endOf("year"), !1)
|
|
10466
10587
|
})
|
|
10467
|
-
},
|
|
10588
|
+
}, Ea = ({
|
|
10468
10589
|
ranges: e = ["day", "week", "month", "quarter", "year"],
|
|
10469
10590
|
value: t,
|
|
10470
10591
|
showApply: o = !0,
|
|
@@ -10481,7 +10602,7 @@ const q = {
|
|
|
10481
10602
|
return /* @__PURE__ */ n.createElement("optgroup", { key: s, label: u.label }, u.options.map((d) => /* @__PURE__ */ n.createElement("option", { key: d.value, value: d.value }, d.label)));
|
|
10482
10603
|
})), o && /* @__PURE__ */ n.createElement(Te, { onClick: r }, "Apply"));
|
|
10483
10604
|
};
|
|
10484
|
-
|
|
10605
|
+
Ea.propTypes = {
|
|
10485
10606
|
ranges: c.arrayOf(c.oneOf(["day", "week", "month", "quarter", "year"])),
|
|
10486
10607
|
onChange: c.func.isRequired,
|
|
10487
10608
|
onSubmit: c.func.isRequired,
|
|
@@ -10489,128 +10610,6 @@ xa.propTypes = {
|
|
|
10489
10610
|
value: c.string,
|
|
10490
10611
|
timezoneName: c.string
|
|
10491
10612
|
};
|
|
10492
|
-
const _t = ({ onPreviousClick: e, onNextClick: t, className: o, showNextButton: a, showPreviousButton: r }) => /* @__PURE__ */ n.createElement("div", { className: E("absolute right-1 top-1.5 z-50", o) }, /* @__PURE__ */ n.createElement(Gn, { isVisible: r, onClick: e }, /* @__PURE__ */ n.createElement(B1, null)), /* @__PURE__ */ n.createElement(Gn, { isVisible: a, onClick: t }, /* @__PURE__ */ n.createElement(Kt, null)));
|
|
10493
|
-
_t.propTypes = {
|
|
10494
|
-
onPreviousClick: c.func,
|
|
10495
|
-
onNextClick: c.func,
|
|
10496
|
-
className: c.string,
|
|
10497
|
-
showNextButton: c.bool,
|
|
10498
|
-
showPreviousButton: c.bool
|
|
10499
|
-
};
|
|
10500
|
-
const Gn = ({ isVisible: e = !0, onClick: t, children: o }) => /* @__PURE__ */ n.createElement(
|
|
10501
|
-
"button",
|
|
10502
|
-
{
|
|
10503
|
-
type: "button",
|
|
10504
|
-
className: E(
|
|
10505
|
-
e ? "inline-block" : "invisible",
|
|
10506
|
-
"inline-flex h-7 w-7 items-center justify-center rounded-full border border-transparent leading-none text-black hover:border-black"
|
|
10507
|
-
),
|
|
10508
|
-
onClick: () => t()
|
|
10509
|
-
},
|
|
10510
|
-
o
|
|
10511
|
-
);
|
|
10512
|
-
Gn.propTypes = {
|
|
10513
|
-
isVisible: c.bool,
|
|
10514
|
-
onClick: c.func.isRequired,
|
|
10515
|
-
children: c.element.isRequired
|
|
10516
|
-
};
|
|
10517
|
-
const Ea = ({
|
|
10518
|
-
getTooltip: e,
|
|
10519
|
-
value: t,
|
|
10520
|
-
getDayContent: o,
|
|
10521
|
-
isDateRangeStyle: a,
|
|
10522
|
-
shouldShowYearPicker: r,
|
|
10523
|
-
startMonth: i,
|
|
10524
|
-
disabledDays: l,
|
|
10525
|
-
endMonth: s,
|
|
10526
|
-
modifiers: u,
|
|
10527
|
-
selectedDays: d,
|
|
10528
|
-
handleDayClick: m,
|
|
10529
|
-
handleStartMonthChange: g,
|
|
10530
|
-
handleEndMonthChange: v,
|
|
10531
|
-
handleTodayClick: C,
|
|
10532
|
-
timezoneName: b,
|
|
10533
|
-
...p
|
|
10534
|
-
}) => {
|
|
10535
|
-
const f = G(t == null ? void 0 : t.from, b).isSame(G(t == null ? void 0 : t.to, b), "month"), w = G(t == null ? void 0 : t.from, b).isSame(G(t == null ? void 0 : t.to, b), "day"), y = (V, F) => r && V ? ({ date: j }) => /* @__PURE__ */ n.createElement(br, { date: j, currentMonth: V, onChange: F }) : void 0, I = y(i, g), L = y(s, v), x = (V) => x1(l) ? l(V) : E1(l) ? l.some((F) => G(F, b).isSame(V, "day")) : !1, k = (V) => x(V), A = (V) => {
|
|
10536
|
-
const F = G(V, b).isBefore(t == null ? void 0 : t.from, "day");
|
|
10537
|
-
return x(V) || F && !w;
|
|
10538
|
-
}, M = (V, F, j) => {
|
|
10539
|
-
const D = e == null ? void 0 : e(V), O = F(V), K = D ? tn : n.Fragment, $ = D ? { placement: "top", content: D } : {};
|
|
10540
|
-
return /* @__PURE__ */ n.createElement(K, { ...$ }, /* @__PURE__ */ n.createElement(
|
|
10541
|
-
Qt,
|
|
10542
|
-
{
|
|
10543
|
-
disabled: O,
|
|
10544
|
-
selectedDate: t,
|
|
10545
|
-
date: V,
|
|
10546
|
-
getContent: o,
|
|
10547
|
-
currentMonth: j
|
|
10548
|
-
}
|
|
10549
|
-
));
|
|
10550
|
-
}, B = (V) => M(V, k, i), z = (V) => M(V, A, s);
|
|
10551
|
-
return /* @__PURE__ */ n.createElement("div", { className: "flex gap-4" }, /* @__PURE__ */ n.createElement(
|
|
10552
|
-
En,
|
|
10553
|
-
{
|
|
10554
|
-
className: E(
|
|
10555
|
-
"ui-date-picker max-w-[400px] rounded-lg pt-3",
|
|
10556
|
-
a ? "date-range-picker" : null,
|
|
10557
|
-
o ? "has-custom-content" : null,
|
|
10558
|
-
u.waitlist ? "has-custom-content" : null
|
|
10559
|
-
),
|
|
10560
|
-
month: i,
|
|
10561
|
-
modifiers: { ...u, start: t == null ? void 0 : t.from },
|
|
10562
|
-
disabledDays: k,
|
|
10563
|
-
navbarElement: _t,
|
|
10564
|
-
captionElement: I,
|
|
10565
|
-
selectedDays: [d == null ? void 0 : d.from, d],
|
|
10566
|
-
renderDay: B,
|
|
10567
|
-
getTooltip: e,
|
|
10568
|
-
onDayClick: (V, F, j) => m(V, F, j, !0),
|
|
10569
|
-
onMonthChange: g,
|
|
10570
|
-
onTodayButtonClick: C,
|
|
10571
|
-
...p
|
|
10572
|
-
}
|
|
10573
|
-
), /* @__PURE__ */ n.createElement(
|
|
10574
|
-
En,
|
|
10575
|
-
{
|
|
10576
|
-
className: E(
|
|
10577
|
-
"ui-date-picker max-w-[400px] rounded-lg pt-3",
|
|
10578
|
-
a ? "date-range-picker" : null,
|
|
10579
|
-
o ? "has-custom-content" : null,
|
|
10580
|
-
u.waitlist ? "has-custom-content" : null
|
|
10581
|
-
),
|
|
10582
|
-
month: s,
|
|
10583
|
-
modifiers: f ? {} : { ...u, end: t == null ? void 0 : t.to },
|
|
10584
|
-
disabledDays: A,
|
|
10585
|
-
navbarElement: _t,
|
|
10586
|
-
captionElement: L,
|
|
10587
|
-
selectedDays: f ? [] : d,
|
|
10588
|
-
renderDay: z,
|
|
10589
|
-
getTooltip: e,
|
|
10590
|
-
onDayClick: (V, F, j) => m(V, F, j, !1),
|
|
10591
|
-
onMonthChange: v,
|
|
10592
|
-
onTodayButtonClick: C,
|
|
10593
|
-
...p
|
|
10594
|
-
}
|
|
10595
|
-
));
|
|
10596
|
-
};
|
|
10597
|
-
Ea.propTypes = {
|
|
10598
|
-
getTooltip: c.func,
|
|
10599
|
-
value: c.object,
|
|
10600
|
-
getDayContent: c.func,
|
|
10601
|
-
isDisabled: c.func,
|
|
10602
|
-
isDateRangeStyle: c.bool,
|
|
10603
|
-
startMonth: c.instanceOf(Date),
|
|
10604
|
-
endMonth: c.instanceOf(Date),
|
|
10605
|
-
modifiers: c.object,
|
|
10606
|
-
disabledStartDays: c.func,
|
|
10607
|
-
disabledEndDays: c.func,
|
|
10608
|
-
handleDayClick: c.func,
|
|
10609
|
-
handleStartMonthChange: c.func,
|
|
10610
|
-
handleEndMonthChange: c.func,
|
|
10611
|
-
handleTodayClick: c.func,
|
|
10612
|
-
timezoneName: c.string
|
|
10613
|
-
};
|
|
10614
10613
|
const ya = ({ value: e, upcomingDates: t, onChange: o, onMonthChange: a }) => /* @__PURE__ */ n.createElement("div", { className: "rounded-l-lg border-r border-gray pt-8" }, /* @__PURE__ */ n.createElement("p", { className: "mb-2 px-6 text-lg font-bold" }, "Upcoming"), (t == null ? void 0 : t.length) > 0 ? /* @__PURE__ */ n.createElement("div", { className: "mt-5" }, t == null ? void 0 : t.map((r) => {
|
|
10615
10614
|
const i = _(r).isSame(_(e), "day"), l = _(r).format();
|
|
10616
10615
|
return /* @__PURE__ */ n.createElement(
|
|
@@ -10692,7 +10691,7 @@ const Rt = {
|
|
|
10692
10691
|
);
|
|
10693
10692
|
else
|
|
10694
10693
|
i(Z(G(R, b)), P, oe);
|
|
10695
|
-
}, ne = r && w ? ({ date: R }) => /* @__PURE__ */ n.createElement(br, { date: R, currentMonth: w, onChange: D }) : void 0, te = (R) => {
|
|
10694
|
+
}, ne = ye(() => r && w ? ({ date: R }) => /* @__PURE__ */ n.createElement(br, { date: R, currentMonth: w, onChange: D }) : void 0, [r, w]), te = (R) => {
|
|
10696
10695
|
const P = v == null ? void 0 : v(R), oe = F(R);
|
|
10697
10696
|
return P ? /* @__PURE__ */ n.createElement(tn, { placement: "top", content: P }, /* @__PURE__ */ n.createElement(
|
|
10698
10697
|
Qt,
|
|
@@ -10723,7 +10722,7 @@ const Rt = {
|
|
|
10723
10722
|
onMonthChange: D
|
|
10724
10723
|
}
|
|
10725
10724
|
) : null, B ? /* @__PURE__ */ n.createElement(
|
|
10726
|
-
|
|
10725
|
+
xa,
|
|
10727
10726
|
{
|
|
10728
10727
|
isDateRangeStyle: ce,
|
|
10729
10728
|
shouldShowYearPicker: r,
|
|
@@ -10765,7 +10764,7 @@ const Rt = {
|
|
|
10765
10764
|
...p
|
|
10766
10765
|
}
|
|
10767
10766
|
)), g.Footer ? /* @__PURE__ */ n.createElement(g.Footer, null) : null, m && /* @__PURE__ */ n.createElement("div", { className: "max-w-200 " }, /* @__PURE__ */ n.createElement("div", { className: "ml-auto w-5/12" }, /* @__PURE__ */ n.createElement(
|
|
10768
|
-
|
|
10767
|
+
Ea,
|
|
10769
10768
|
{
|
|
10770
10769
|
value: A,
|
|
10771
10770
|
ranges: d,
|
|
@@ -11815,7 +11814,7 @@ export {
|
|
|
11815
11814
|
Vi as ReceptionBellIcon,
|
|
11816
11815
|
Fi as ReceptionBellMoneyIcon,
|
|
11817
11816
|
Si as RefreshIcon,
|
|
11818
|
-
|
|
11817
|
+
Ea as RelativeDateRange,
|
|
11819
11818
|
du as RosterIcon,
|
|
11820
11819
|
mu as RoundedSquareIcon,
|
|
11821
11820
|
Ti as RulerIcon,
|