react-luminus-components 2.0.3-beta.r19-6 → 2.0.3-beta.r19-7
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/.vite/manifest.json +26 -26
- package/dist/{FormDisabledProvider-lKlErIZV.js → FormDisabledProvider-D97cw4w8.js} +1 -1
- package/dist/{FormDisabledProvider-CmnU1xQA.cjs → FormDisabledProvider-DmcOvKn6.cjs} +1 -1
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +1 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +5 -5
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +3 -3
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +2 -2
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +4 -4
- package/dist/{nivo-bar-x25pkH7Y.js → nivo-bar-BOjrASSM.js} +88 -81
- package/dist/{nivo-bar-BoNqpopc.cjs → nivo-bar-DIm4VsOp.cjs} +1 -1
- package/dist/{useLocalStorageState-CgixnUsv.js → useLocalStorageState-DVcgyVda.js} +1 -1
- package/dist/{useLocalStorageState-8ZrFwaeC.cjs → useLocalStorageState-DrNytfl8.cjs} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as x, jsxs as ce, Fragment as et } from "react/jsx-runtime";
|
|
2
2
|
import * as ae from "react";
|
|
3
|
-
import Pe, { useRef as oe, useState as ye, useCallback as K, useContext as le, useMemo as ne, useEffect as ue, useLayoutEffect as Oa, useReducer as Hf, createContext as fn, cloneElement as ka, forwardRef as
|
|
3
|
+
import Pe, { useRef as oe, useState as ye, useCallback as K, useContext as le, useMemo as ne, useEffect as ue, useLayoutEffect as Oa, useReducer as Hf, createContext as fn, cloneElement as ka, forwardRef as Tn, useImperativeHandle as Vf, memo as Ft, Fragment as mo, isValidElement as $$, Component as C6, createElement as tn } from "react";
|
|
4
4
|
import { InteractionStatus as E6 } from "@azure/msal-browser";
|
|
5
5
|
import { Link as iu, generatePath as O6 } from "react-router";
|
|
6
6
|
import { useMsal as k6, useIsAuthenticated as M6 } from "@azure/msal-react";
|
|
@@ -5582,7 +5582,7 @@ function mR(e) {
|
|
|
5582
5582
|
}, [])
|
|
5583
5583
|
});
|
|
5584
5584
|
}
|
|
5585
|
-
const Y4 = /* @__PURE__ */
|
|
5585
|
+
const Y4 = /* @__PURE__ */ Tn((e, t) => {
|
|
5586
5586
|
let {
|
|
5587
5587
|
show: n = !1,
|
|
5588
5588
|
role: r = "dialog",
|
|
@@ -26488,7 +26488,7 @@ function TH(e) {
|
|
|
26488
26488
|
}, [])
|
|
26489
26489
|
});
|
|
26490
26490
|
}
|
|
26491
|
-
const sE = /* @__PURE__ */
|
|
26491
|
+
const sE = /* @__PURE__ */ Tn((e, t) => {
|
|
26492
26492
|
let {
|
|
26493
26493
|
show: n = !1,
|
|
26494
26494
|
role: r = "dialog",
|
|
@@ -27177,41 +27177,48 @@ const Mc = Object.assign(pE, {
|
|
|
27177
27177
|
...t,
|
|
27178
27178
|
y: 0
|
|
27179
27179
|
};
|
|
27180
|
-
}, GH =
|
|
27181
|
-
|
|
27182
|
-
|
|
27183
|
-
|
|
27184
|
-
|
|
27185
|
-
|
|
27186
|
-
|
|
27187
|
-
|
|
27188
|
-
|
|
27189
|
-
|
|
27190
|
-
|
|
27191
|
-
|
|
27192
|
-
|
|
27193
|
-
|
|
27194
|
-
|
|
27195
|
-
|
|
27196
|
-
|
|
27197
|
-
|
|
27198
|
-
|
|
27199
|
-
|
|
27200
|
-
{
|
|
27201
|
-
|
|
27202
|
-
|
|
27203
|
-
|
|
27204
|
-
|
|
27205
|
-
|
|
27206
|
-
|
|
27207
|
-
|
|
27208
|
-
|
|
27209
|
-
|
|
27210
|
-
|
|
27211
|
-
|
|
27212
|
-
|
|
27213
|
-
|
|
27214
|
-
|
|
27180
|
+
}, GH = ({
|
|
27181
|
+
ref: e,
|
|
27182
|
+
isLink: t,
|
|
27183
|
+
to: n,
|
|
27184
|
+
children: r,
|
|
27185
|
+
LinkComponent: i,
|
|
27186
|
+
onClick: a,
|
|
27187
|
+
onCellInteraction: o,
|
|
27188
|
+
...s
|
|
27189
|
+
}) => t && n ? /* @__PURE__ */ x(
|
|
27190
|
+
i,
|
|
27191
|
+
{
|
|
27192
|
+
ref: e,
|
|
27193
|
+
to: n,
|
|
27194
|
+
onAuxClick: (c) => {
|
|
27195
|
+
c.button === 1 && (o == null || o());
|
|
27196
|
+
},
|
|
27197
|
+
onClick: () => {
|
|
27198
|
+
a == null || a(), o == null || o();
|
|
27199
|
+
},
|
|
27200
|
+
onContextMenu: () => {
|
|
27201
|
+
o == null || o();
|
|
27202
|
+
},
|
|
27203
|
+
...s,
|
|
27204
|
+
children: r
|
|
27205
|
+
}
|
|
27206
|
+
) : /* @__PURE__ */ x(
|
|
27207
|
+
"div",
|
|
27208
|
+
{
|
|
27209
|
+
ref: e,
|
|
27210
|
+
onAuxClick: a || o ? (c) => {
|
|
27211
|
+
c.button === 1 && (o == null || o());
|
|
27212
|
+
} : void 0,
|
|
27213
|
+
onClick: a || o ? () => {
|
|
27214
|
+
a == null || a(), o == null || o();
|
|
27215
|
+
} : void 0,
|
|
27216
|
+
onContextMenu: a || o ? () => {
|
|
27217
|
+
o == null || o();
|
|
27218
|
+
} : void 0,
|
|
27219
|
+
...s,
|
|
27220
|
+
children: r
|
|
27221
|
+
}
|
|
27215
27222
|
), KH = ({
|
|
27216
27223
|
row: e,
|
|
27217
27224
|
cell: t,
|
|
@@ -27303,7 +27310,7 @@ const Mc = Object.assign(pE, {
|
|
|
27303
27310
|
]
|
|
27304
27311
|
}
|
|
27305
27312
|
);
|
|
27306
|
-
}, ZH =
|
|
27313
|
+
}, ZH = Tn(KH), XH = ({
|
|
27307
27314
|
table: e,
|
|
27308
27315
|
additionalOptions: t,
|
|
27309
27316
|
IconComponent: n,
|
|
@@ -27366,7 +27373,7 @@ const Mc = Object.assign(pE, {
|
|
|
27366
27373
|
(V = document.getElementById(`filter-${Y.id}`)) == null || V.focus();
|
|
27367
27374
|
}
|
|
27368
27375
|
}, [E]);
|
|
27369
|
-
const R = e.
|
|
27376
|
+
const R = e.getPrePaginationRowModel().rows, D = new Map(
|
|
27370
27377
|
e.getVisibleLeafColumns().map((Q, V) => [V, Q.id])
|
|
27371
27378
|
), N = oe(null), {
|
|
27372
27379
|
selectedCoords: O,
|
|
@@ -27662,7 +27669,7 @@ const Mc = Object.assign(pE, {
|
|
|
27662
27669
|
}
|
|
27663
27670
|
);
|
|
27664
27671
|
};
|
|
27665
|
-
|
|
27672
|
+
Tn(XH);
|
|
27666
27673
|
const QH = (e, t) => t.split(".").reduce(
|
|
27667
27674
|
(n, r) => n && typeof n == "object" ? n[r] : void 0,
|
|
27668
27675
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -30093,7 +30100,7 @@ var Xx = (e, t) => {
|
|
|
30093
30100
|
// re-rendered on every animation frame.
|
|
30094
30101
|
!we.fun(e) || e.prototype && e.prototype.isReactComponent
|
|
30095
30102
|
);
|
|
30096
|
-
return
|
|
30103
|
+
return Tn((r, i) => {
|
|
30097
30104
|
const a = oe(null), o = n && // eslint-disable-next-line react-hooks/rules-of-hooks
|
|
30098
30105
|
K(
|
|
30099
30106
|
(m) => {
|
|
@@ -35057,7 +35064,7 @@ function C3(e, t, n, r, i, a) {
|
|
|
35057
35064
|
}
|
|
35058
35065
|
const [Gie, Kie] = C3(tp, _b, wb, T3, vb, mb), [Zie, Xie] = C3(ep, xb, bb, yb, gb, pb);
|
|
35059
35066
|
var Jm = /* @__PURE__ */ new Date(), eg = /* @__PURE__ */ new Date();
|
|
35060
|
-
function
|
|
35067
|
+
function Sn(e, t, n, r) {
|
|
35061
35068
|
function i(a) {
|
|
35062
35069
|
return e(a = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+a)), a;
|
|
35063
35070
|
}
|
|
@@ -35078,7 +35085,7 @@ function Tn(e, t, n, r) {
|
|
|
35078
35085
|
while (l < a && a < o);
|
|
35079
35086
|
return c;
|
|
35080
35087
|
}, i.filter = function(a) {
|
|
35081
|
-
return
|
|
35088
|
+
return Sn(function(o) {
|
|
35082
35089
|
if (o >= o) for (; e(o), !a(o); ) o.setTime(o - 1);
|
|
35083
35090
|
}, function(o, s) {
|
|
35084
35091
|
if (o >= o)
|
|
@@ -35099,14 +35106,14 @@ function Tn(e, t, n, r) {
|
|
|
35099
35106
|
}) : i;
|
|
35100
35107
|
}), i;
|
|
35101
35108
|
}
|
|
35102
|
-
var Ql =
|
|
35109
|
+
var Ql = Sn(function() {
|
|
35103
35110
|
}, function(e, t) {
|
|
35104
35111
|
e.setTime(+e + t);
|
|
35105
35112
|
}, function(e, t) {
|
|
35106
35113
|
return t - e;
|
|
35107
35114
|
});
|
|
35108
35115
|
Ql.every = function(e) {
|
|
35109
|
-
return e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
|
|
35116
|
+
return e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? Sn(function(t) {
|
|
35110
35117
|
t.setTime(Math.floor(t / e) * e);
|
|
35111
35118
|
}, function(t, n) {
|
|
35112
35119
|
t.setTime(+t + n * e);
|
|
@@ -35115,7 +35122,7 @@ Ql.every = function(e) {
|
|
|
35115
35122
|
}) : Ql;
|
|
35116
35123
|
};
|
|
35117
35124
|
Ql.range;
|
|
35118
|
-
var Pf = 1e3, Eo = 6e4, Lf = 36e5, E3 = 864e5, O3 = 6048e5, Mv =
|
|
35125
|
+
var Pf = 1e3, Eo = 6e4, Lf = 36e5, E3 = 864e5, O3 = 6048e5, Mv = Sn(function(e) {
|
|
35119
35126
|
e.setTime(e - e.getMilliseconds());
|
|
35120
35127
|
}, function(e, t) {
|
|
35121
35128
|
e.setTime(+e + t * Pf);
|
|
@@ -35125,7 +35132,7 @@ var Pf = 1e3, Eo = 6e4, Lf = 36e5, E3 = 864e5, O3 = 6048e5, Mv = Tn(function(e)
|
|
|
35125
35132
|
return e.getUTCSeconds();
|
|
35126
35133
|
});
|
|
35127
35134
|
Mv.range;
|
|
35128
|
-
var k3 =
|
|
35135
|
+
var k3 = Sn(function(e) {
|
|
35129
35136
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Pf);
|
|
35130
35137
|
}, function(e, t) {
|
|
35131
35138
|
e.setTime(+e + t * Eo);
|
|
@@ -35135,7 +35142,7 @@ var k3 = Tn(function(e) {
|
|
|
35135
35142
|
return e.getMinutes();
|
|
35136
35143
|
});
|
|
35137
35144
|
k3.range;
|
|
35138
|
-
var M3 =
|
|
35145
|
+
var M3 = Sn(function(e) {
|
|
35139
35146
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Pf - e.getMinutes() * Eo);
|
|
35140
35147
|
}, function(e, t) {
|
|
35141
35148
|
e.setTime(+e + t * Lf);
|
|
@@ -35145,7 +35152,7 @@ var M3 = Tn(function(e) {
|
|
|
35145
35152
|
return e.getHours();
|
|
35146
35153
|
});
|
|
35147
35154
|
M3.range;
|
|
35148
|
-
var $b =
|
|
35155
|
+
var $b = Sn(function(e) {
|
|
35149
35156
|
e.setHours(0, 0, 0, 0);
|
|
35150
35157
|
}, function(e, t) {
|
|
35151
35158
|
e.setDate(e.getDate() + t);
|
|
@@ -35156,7 +35163,7 @@ var $b = Tn(function(e) {
|
|
|
35156
35163
|
});
|
|
35157
35164
|
$b.range;
|
|
35158
35165
|
function jo(e) {
|
|
35159
|
-
return
|
|
35166
|
+
return Sn(function(t) {
|
|
35160
35167
|
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
|
|
35161
35168
|
}, function(t, n) {
|
|
35162
35169
|
t.setDate(t.getDate() + n * 7);
|
|
@@ -35172,7 +35179,7 @@ R3.range;
|
|
|
35172
35179
|
Oo.range;
|
|
35173
35180
|
D3.range;
|
|
35174
35181
|
N3.range;
|
|
35175
|
-
var I3 =
|
|
35182
|
+
var I3 = Sn(function(e) {
|
|
35176
35183
|
e.setDate(1), e.setHours(0, 0, 0, 0);
|
|
35177
35184
|
}, function(e, t) {
|
|
35178
35185
|
e.setMonth(e.getMonth() + t);
|
|
@@ -35182,7 +35189,7 @@ var I3 = Tn(function(e) {
|
|
|
35182
35189
|
return e.getMonth();
|
|
35183
35190
|
});
|
|
35184
35191
|
I3.range;
|
|
35185
|
-
var Ca =
|
|
35192
|
+
var Ca = Sn(function(e) {
|
|
35186
35193
|
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
|
|
35187
35194
|
}, function(e, t) {
|
|
35188
35195
|
e.setFullYear(e.getFullYear() + t);
|
|
@@ -35192,14 +35199,14 @@ var Ca = Tn(function(e) {
|
|
|
35192
35199
|
return e.getFullYear();
|
|
35193
35200
|
});
|
|
35194
35201
|
Ca.every = function(e) {
|
|
35195
|
-
return !isFinite(e = Math.floor(e)) || !(e > 0) ? null :
|
|
35202
|
+
return !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Sn(function(t) {
|
|
35196
35203
|
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
|
|
35197
35204
|
}, function(t, n) {
|
|
35198
35205
|
t.setFullYear(t.getFullYear() + n * e);
|
|
35199
35206
|
});
|
|
35200
35207
|
};
|
|
35201
35208
|
Ca.range;
|
|
35202
|
-
var P3 =
|
|
35209
|
+
var P3 = Sn(function(e) {
|
|
35203
35210
|
e.setUTCSeconds(0, 0);
|
|
35204
35211
|
}, function(e, t) {
|
|
35205
35212
|
e.setTime(+e + t * Eo);
|
|
@@ -35209,7 +35216,7 @@ var P3 = Tn(function(e) {
|
|
|
35209
35216
|
return e.getUTCMinutes();
|
|
35210
35217
|
});
|
|
35211
35218
|
P3.range;
|
|
35212
|
-
var L3 =
|
|
35219
|
+
var L3 = Sn(function(e) {
|
|
35213
35220
|
e.setUTCMinutes(0, 0, 0);
|
|
35214
35221
|
}, function(e, t) {
|
|
35215
35222
|
e.setTime(+e + t * Lf);
|
|
@@ -35219,7 +35226,7 @@ var L3 = Tn(function(e) {
|
|
|
35219
35226
|
return e.getUTCHours();
|
|
35220
35227
|
});
|
|
35221
35228
|
L3.range;
|
|
35222
|
-
var Sb =
|
|
35229
|
+
var Sb = Sn(function(e) {
|
|
35223
35230
|
e.setUTCHours(0, 0, 0, 0);
|
|
35224
35231
|
}, function(e, t) {
|
|
35225
35232
|
e.setUTCDate(e.getUTCDate() + t);
|
|
@@ -35230,7 +35237,7 @@ var Sb = Tn(function(e) {
|
|
|
35230
35237
|
});
|
|
35231
35238
|
Sb.range;
|
|
35232
35239
|
function Bo(e) {
|
|
35233
|
-
return
|
|
35240
|
+
return Sn(function(t) {
|
|
35234
35241
|
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
|
|
35235
35242
|
}, function(t, n) {
|
|
35236
35243
|
t.setUTCDate(t.getUTCDate() + n * 7);
|
|
@@ -35246,7 +35253,7 @@ j3.range;
|
|
|
35246
35253
|
ko.range;
|
|
35247
35254
|
B3.range;
|
|
35248
35255
|
z3.range;
|
|
35249
|
-
var W3 =
|
|
35256
|
+
var W3 = Sn(function(e) {
|
|
35250
35257
|
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
|
|
35251
35258
|
}, function(e, t) {
|
|
35252
35259
|
e.setUTCMonth(e.getUTCMonth() + t);
|
|
@@ -35256,7 +35263,7 @@ var W3 = Tn(function(e) {
|
|
|
35256
35263
|
return e.getUTCMonth();
|
|
35257
35264
|
});
|
|
35258
35265
|
W3.range;
|
|
35259
|
-
var Ea =
|
|
35266
|
+
var Ea = Sn(function(e) {
|
|
35260
35267
|
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
35261
35268
|
}, function(e, t) {
|
|
35262
35269
|
e.setUTCFullYear(e.getUTCFullYear() + t);
|
|
@@ -35266,7 +35273,7 @@ var Ea = Tn(function(e) {
|
|
|
35266
35273
|
return e.getUTCFullYear();
|
|
35267
35274
|
});
|
|
35268
35275
|
Ea.every = function(e) {
|
|
35269
|
-
return !isFinite(e = Math.floor(e)) || !(e > 0) ? null :
|
|
35276
|
+
return !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Sn(function(t) {
|
|
35270
35277
|
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
|
|
35271
35278
|
}, function(t, n) {
|
|
35272
35279
|
t.setUTCFullYear(t.getUTCFullYear() + n * e);
|
|
@@ -36509,7 +36516,7 @@ var Nle = ["id", "colors"], Ile = function(e) {
|
|
|
36509
36516
|
var r = n.type, i = dk(n, zle);
|
|
36510
36517
|
return Y_[r] ? tn(Y_[r], li({ key: i.id }, i)) : null;
|
|
36511
36518
|
}) });
|
|
36512
|
-
}), Rp =
|
|
36519
|
+
}), Rp = Tn(function(e, t) {
|
|
36513
36520
|
var n = e.width, r = e.height, i = e.margin, a = e.defs, o = e.children, s = e.role, c = e.ariaLabel, l = e.ariaLabelledBy, u = e.ariaDescribedBy, d = e.isFocusable, f = qt();
|
|
36514
36521
|
return ce("svg", { xmlns: "http://www.w3.org/2000/svg", width: n, height: r, role: s, "aria-label": c, "aria-labelledby": l, "aria-describedby": u, focusable: d, tabIndex: d ? 0 : void 0, ref: t, children: [x(Wle, { defs: a }), x("rect", { width: n, height: r, fill: f.background }), x("g", { transform: "translate(" + i.left + "," + i.top + ")", children: o })] });
|
|
36515
36522
|
}), Ule = Ft(function(e) {
|
|
@@ -37386,10 +37393,10 @@ var Z_, Que = function(e) {
|
|
|
37386
37393
|
return x(Rp, { width: Cn, height: an, margin: Me, defs: _n, role: dn, ref: Gt, children: u.map(function(Ot, Ia) {
|
|
37387
37394
|
return qn[Ot] !== void 0 ? qn[Ot] : typeof Ot == "function" ? x(mo, { children: tn(Ot, Na) }, Ia) : null;
|
|
37388
37395
|
}) });
|
|
37389
|
-
}, ode =
|
|
37396
|
+
}, ode = Tn(function(e, t) {
|
|
37390
37397
|
var n = e.isInteractive, r = n === void 0 ? _e.isInteractive : n, i = e.animate, a = i === void 0 ? _e.animate : i, o = e.motionConfig, s = o === void 0 ? _e.motionConfig : o, c = e.theme, l = e.renderWrapper, u = Lu(e, ide);
|
|
37391
37398
|
return x(zo, { animate: a, isInteractive: r, motionConfig: s, renderWrapper: l, theme: c, children: x(ade, Pr({ isInteractive: r }, u, { forwardedRef: t })) });
|
|
37392
|
-
}), sde = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"], Pbe =
|
|
37399
|
+
}), sde = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"], Pbe = Tn(function(e, t) {
|
|
37393
37400
|
var n = e.defaultWidth, r = e.defaultHeight, i = e.onResize, a = e.debounceResize, o = Lu(e, sde);
|
|
37394
37401
|
return x(Wo, { defaultWidth: n, defaultHeight: r, onResize: i, debounceResize: a, children: function(s) {
|
|
37395
37402
|
var c = s.width, l = s.height;
|
|
@@ -37430,11 +37437,11 @@ var Z_, Que = function(e) {
|
|
|
37430
37437
|
Rt && kt(Rt, it);
|
|
37431
37438
|
}
|
|
37432
37439
|
} : void 0, role: ze });
|
|
37433
|
-
}, ude =
|
|
37440
|
+
}, ude = Tn(function(e, t) {
|
|
37434
37441
|
var n = e.isInteractive, r = n === void 0 ? _e.isInteractive : n, i = e.theme, a = e.renderWrapper, o = Lu(e, cde);
|
|
37435
37442
|
return x(zo, { isInteractive: r, renderWrapper: a, theme: i, children: x(lde, Pr({ isInteractive: r }, o, { forwardedRef: t })) });
|
|
37436
37443
|
}), dde = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"];
|
|
37437
|
-
|
|
37444
|
+
Tn(function(e, t) {
|
|
37438
37445
|
var n = e.defaultWidth, r = e.defaultHeight, i = e.onResize, a = e.debounceResize, o = Lu(e, dde);
|
|
37439
37446
|
return x(Wo, { defaultWidth: n, defaultHeight: r, onResize: i, debounceResize: a, children: function(s) {
|
|
37440
37447
|
var c = s.width, l = s.height;
|
|
@@ -37852,7 +37859,7 @@ var n$ = function(e, t, n) {
|
|
|
37852
37859
|
var i;
|
|
37853
37860
|
return ((i = e(r)) != null ? i : 0) + n;
|
|
37854
37861
|
};
|
|
37855
|
-
}, jk = { millisecond: [Ql, Ql], second: [Mv, Mv], minute: [k3, P3], hour: [M3, L3], day: [
|
|
37862
|
+
}, jk = { millisecond: [Ql, Ql], second: [Mv, Mv], minute: [k3, P3], hour: [M3, L3], day: [Sn(function(e) {
|
|
37856
37863
|
return e.setHours(0, 0, 0, 0);
|
|
37857
37864
|
}, function(e, t) {
|
|
37858
37865
|
return e.setDate(e.getDate() + t);
|
|
@@ -37860,7 +37867,7 @@ var n$ = function(e, t, n) {
|
|
|
37860
37867
|
return (t.getTime() - e.getTime()) / 864e5;
|
|
37861
37868
|
}, function(e) {
|
|
37862
37869
|
return Math.floor(e.getTime() / 864e5);
|
|
37863
|
-
}),
|
|
37870
|
+
}), Sn(function(e) {
|
|
37864
37871
|
return e.setUTCHours(0, 0, 0, 0);
|
|
37865
37872
|
}, function(e, t) {
|
|
37866
37873
|
return e.setUTCDate(e.getUTCDate() + t);
|
|
@@ -38824,11 +38831,11 @@ var mr = { xDomain: [0, 1], yDomain: [0, 1], layers: ["links", "cells", "points"
|
|
|
38824
38831
|
return x(Rp, { width: P, height: z, margin: W, role: D, ref: N, children: o.map(function(j, L) {
|
|
38825
38832
|
return ee[j] !== void 0 ? ee[j] : typeof j == "function" ? x(mo, { children: tn(j, J) }, L) : null;
|
|
38826
38833
|
}) });
|
|
38827
|
-
}, _pe =
|
|
38834
|
+
}, _pe = Tn(function(e, t) {
|
|
38828
38835
|
var n = e.theme, r = Yk(e, wpe);
|
|
38829
38836
|
return x(zo, { isInteractive: !1, animate: !1, theme: n, children: x(xpe, Uf({}, r, { forwardedRef: t })) });
|
|
38830
38837
|
}), $pe = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"];
|
|
38831
|
-
|
|
38838
|
+
Tn(function(e, t) {
|
|
38832
38839
|
var n = e.defaultWidth, r = e.defaultHeight, i = e.onResize, a = e.debounceResize, o = Yk(e, $pe);
|
|
38833
38840
|
return x(Wo, { defaultWidth: n, defaultHeight: r, onResize: i, debounceResize: a, children: function(s) {
|
|
38834
38841
|
var c = s.width, l = s.height;
|
|
@@ -39071,10 +39078,10 @@ function Bpe(e) {
|
|
|
39071
39078
|
return typeof Xr == "function" ? x(mo, { children: Xr(Fp) }, Xi) : Yn[Xr];
|
|
39072
39079
|
}) });
|
|
39073
39080
|
}
|
|
39074
|
-
var zpe =
|
|
39081
|
+
var zpe = Tn(function(e, t) {
|
|
39075
39082
|
var n = e.isInteractive, r = n === void 0 ? ut.isInteractive : n, i = e.animate, a = i === void 0 ? ut.animate : i, o = e.motionConfig, s = o === void 0 ? ut.motionConfig : o, c = e.theme, l = e.renderWrapper, u = Np(e, jpe);
|
|
39076
39083
|
return x(zo, { animate: a, isInteractive: r, motionConfig: s, renderWrapper: l, theme: c, children: x(Bpe, Hn({ isInteractive: r }, u, { forwardedRef: t })) });
|
|
39077
|
-
}), Wpe = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"], Lbe =
|
|
39084
|
+
}), Wpe = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"], Lbe = Tn(function(e, t) {
|
|
39078
39085
|
var n = e.defaultWidth, r = e.defaultHeight, i = e.onResize, a = e.debounceResize, o = Np(e, Wpe);
|
|
39079
39086
|
return x(Wo, { defaultWidth: n, defaultHeight: r, onResize: i, debounceResize: a, children: function(s) {
|
|
39080
39087
|
var c = s.width, l = s.height;
|
|
@@ -39149,11 +39156,11 @@ var zpe = $n(function(e, t) {
|
|
|
39149
39156
|
}
|
|
39150
39157
|
}, [Ne, Te]);
|
|
39151
39158
|
return x("canvas", { ref: Db(Ve, Re), width: hn * a, height: De * a, style: { width: hn, height: De, cursor: de ? "auto" : "normal" }, onMouseEnter: de ? xt : void 0, onMouseMove: de ? xt : void 0, onMouseLeave: de ? dn : void 0, onMouseDown: de ? Gt : void 0, onMouseUp: de ? Qt : void 0, onClick: de ? Cn : void 0, onDoubleClick: de ? an : void 0, role: he });
|
|
39152
|
-
}, Vpe =
|
|
39159
|
+
}, Vpe = Tn(function(e, t) {
|
|
39153
39160
|
var n = e.isInteractive, r = e.renderWrapper, i = e.theme, a = Np(e, Upe);
|
|
39154
39161
|
return x(zo, { isInteractive: n, renderWrapper: r, theme: i, animate: !1, children: x(Hpe, Hn({}, a, { forwardedRef: t })) });
|
|
39155
39162
|
}), qpe = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"];
|
|
39156
|
-
|
|
39163
|
+
Tn(function(e, t) {
|
|
39157
39164
|
var n = e.defaultWidth;
|
|
39158
39165
|
e.defaultHeight;
|
|
39159
39166
|
var r = e.onResize, i = e.debounceResize, a = Np(e, qpe);
|
|
@@ -39519,7 +39526,7 @@ var x$, w0e = function(e) {
|
|
|
39519
39526
|
return x(Gy, { id: n, value: r.formattedValue, enableChip: !0, color: t });
|
|
39520
39527
|
}, en = { indexBy: "id", keys: ["value"], groupMode: "stacked", layout: "vertical", valueScale: { type: "linear", nice: !0, round: !1 }, indexScale: { type: "band", round: !1 }, padding: 0.1, innerPadding: 0, enableGridX: !1, enableGridY: !0, enableLabel: !0, label: "formattedValue", labelPosition: "middle", labelOffset: 0, labelSkipWidth: 0, labelSkipHeight: 0, labelTextColor: { theme: "labels.text.fill" }, colorBy: "id", colors: { scheme: "nivo" }, borderRadius: 0, borderWidth: 0, borderColor: { from: "color" }, isInteractive: !0, tooltip: T0e, tooltipLabel: function(e) {
|
|
39521
39528
|
return e.id + " - " + e.indexValue;
|
|
39522
|
-
}, legends: [], initialHiddenIds: [], annotations: [], enableTotals: !1, totalsOffset: 10 }, Jt = Dt({}, en, { layers: ["grid", "axes", "bars", "totals", "markers", "legends", "annotations"], axisTop: null, axisRight: null, axisBottom: {}, axisLeft: {}, barComponent: $0e, defs: [], fill: [], markers: [], animate: !0, animateOnMount: !1, motionConfig: "default", role: "img", isFocusable: !1 }),
|
|
39529
|
+
}, legends: [], initialHiddenIds: [], annotations: [], enableTotals: !1, totalsOffset: 10 }, Jt = Dt({}, en, { layers: ["grid", "axes", "bars", "totals", "markers", "legends", "annotations"], axisTop: null, axisRight: null, axisBottom: {}, axisLeft: {}, barComponent: $0e, defs: [], fill: [], markers: [], animate: !0, animateOnMount: !1, motionConfig: "default", role: "img", isFocusable: !1 }), $n = Dt({}, en, { layers: ["grid", "axes", "bars", "totals", "legends", "annotations"], axisTop: null, axisRight: null, axisBottom: {}, axisLeft: {}, renderBar: function(e, t) {
|
|
39523
39530
|
var n = t.bar, r = n.color, i = n.height, a = n.width, o = n.x, s = n.y, c = t.borderColor, l = t.borderRadius, u = t.borderWidth, d = t.label, f = t.shouldRenderLabel, h = t.labelStyle, m = t.labelX, p = t.labelY, g = t.textAnchor;
|
|
39524
39531
|
e.fillStyle = r, u > 0 && (e.strokeStyle = c, e.lineWidth = u), e.beginPath(), b0e(e, o, s, a, i, Math.min(l, i)), e.fill(), u > 0 && e.stroke(), f && (e.textBaseline = "middle", e.textAlign = g === "middle" ? "center" : g, Ao(e, h, d, o + m, s + p));
|
|
39525
39532
|
}, pixelRatio: typeof window < "u" && (x$ = window.devicePixelRatio) != null ? x$ : 1 }), o6 = function(e, t, n, r, i, a) {
|
|
@@ -39751,7 +39758,7 @@ var C0e = ["layout", "width", "height", "padding", "innerPadding", "valueScale",
|
|
|
39751
39758
|
var Pa;
|
|
39752
39759
|
return typeof Le == "function" ? x(mo, { children: tn(Le, Ia) }, Zr) : (Pa = Ot == null ? void 0 : Ot[Le]) != null ? Pa : null;
|
|
39753
39760
|
}) });
|
|
39754
|
-
}, W0e =
|
|
39761
|
+
}, W0e = Tn(function(e, t) {
|
|
39755
39762
|
var n = e.isInteractive, r = n === void 0 ? Jt.isInteractive : n, i = e.animate, a = i === void 0 ? Jt.animate : i, o = e.motionConfig, s = o === void 0 ? Jt.motionConfig : o, c = e.theme, l = e.renderWrapper, u = Da(e, B0e);
|
|
39756
39763
|
return x(zo, { animate: a, isInteractive: r, motionConfig: s, renderWrapper: l, theme: c, children: x(z0e, Dt({}, u, { isInteractive: r, forwardedRef: t })) });
|
|
39757
39764
|
}), U0e = ["isInteractive", "renderWrapper", "theme"], ug = function(e, t, n, r) {
|
|
@@ -39759,7 +39766,7 @@ var C0e = ["layout", "width", "height", "padding", "innerPadding", "valueScale",
|
|
|
39759
39766
|
return wk(i.x + t.left, i.y + t.top, i.width, i.height, n, r);
|
|
39760
39767
|
});
|
|
39761
39768
|
}, H0e = function(e) {
|
|
39762
|
-
var t, n = e.data, r = e.indexBy, i = e.keys, a = e.margin, o = e.width, s = e.height, c = e.groupMode, l = e.layout, u = e.valueScale, d = e.indexScale, f = e.padding, h = e.innerPadding, m = e.axisTop, p = e.axisRight, g = e.axisBottom, y = g === void 0 ?
|
|
39769
|
+
var t, n = e.data, r = e.indexBy, i = e.keys, a = e.margin, o = e.width, s = e.height, c = e.groupMode, l = e.layout, u = e.valueScale, d = e.indexScale, f = e.padding, h = e.innerPadding, m = e.axisTop, p = e.axisRight, g = e.axisBottom, y = g === void 0 ? $n.axisBottom : g, w = e.axisLeft, b = w === void 0 ? $n.axisLeft : w, _ = e.enableGridX, v = _ === void 0 ? $n.enableGridX : _, $ = e.enableGridY, T = $ === void 0 ? $n.enableGridY : $, k = e.gridXValues, C = e.gridYValues, A = e.labelPosition, S = A === void 0 ? $n.labelPosition : A, E = e.labelOffset, R = E === void 0 ? $n.labelOffset : E, D = e.layers, N = D === void 0 ? $n.layers : D, O = e.renderBar, P = O === void 0 ? $n.renderBar : O, z = e.enableLabel, W = z === void 0 ? $n.enableLabel : z, I = e.label, B = e.labelSkipWidth, q = B === void 0 ? $n.labelSkipWidth : B, X = e.labelSkipHeight, G = X === void 0 ? $n.labelSkipHeight : X, Z = e.labelTextColor, ee = e.colorBy, J = e.colors, j = e.borderRadius, L = j === void 0 ? $n.borderRadius : j, F = e.borderWidth, U = F === void 0 ? $n.borderWidth : F, M = e.borderColor, Q = e.annotations, V = Q === void 0 ? $n.annotations : Q, Y = e.legendLabel, de = e.tooltipLabel, ie = e.valueFormat, re = e.isInteractive, fe = re === void 0 ? $n.isInteractive : re, ve = e.tooltip, Oe = ve === void 0 ? $n.tooltip : ve, Ce = e.onClick, Te = e.onMouseEnter, ge = e.onMouseLeave, Se = e.legends, he = e.pixelRatio, Re = he === void 0 ? $n.pixelRatio : he, Ve = e.role, Yt = e.forwardedRef, Ke = e.enableTotals, $t = Ke === void 0 ? $n.enableTotals : Ke, kt = e.totalsOffset, hn = kt === void 0 ? $n.totalsOffset : kt, De = oe(null), je = qt(), St = Uo(o, s, a), Qe = St.margin, Tt = St.innerWidth, ht = St.innerHeight, jt = St.outerWidth, nt = St.outerHeight, ze = f6({ indexBy: r, label: I, tooltipLabel: de, valueFormat: ie, colors: J, colorBy: ee, borderColor: M, labelTextColor: Z, groupMode: c, layout: l, data: n, keys: i, margin: Qe, width: Tt, height: ht, padding: f, innerPadding: h, valueScale: u, indexScale: d, enableLabel: W, labelSkipWidth: q, labelSkipHeight: G, legends: Se, legendLabel: Y, totalsOffset: hn }), Ye = ze.bars, at = ze.barsWithValue, We = ze.xScale, ot = ze.yScale, wt = ze.getLabel, lt = ze.getTooltipLabel, Be = ze.getBorderColor, Ne = ze.getLabelColor, Ze = ze.shouldRenderBarLabel, Ct = ze.legendsWithData, st = ze.barTotals, xt = ze.getColor, dn = Zi(), Gt = dn.showTooltipFromEvent, Qt = dn.hideTooltip, Cn = d0e({ annotations: a6({ data: Ye, annotations: V, getPosition: function(Ue) {
|
|
39763
39770
|
return { x: Ue.x, y: Ue.y };
|
|
39764
39771
|
}, getDimensions: function(Ue) {
|
|
39765
39772
|
var He = Ue.width, gt = Ue.height;
|
|
@@ -39778,7 +39785,7 @@ var C0e = ["layout", "width", "height", "padding", "innerPadding", "valueScale",
|
|
|
39778
39785
|
var Bt = gt[0], At = gt[1];
|
|
39779
39786
|
Fb(Ue, Dt({}, Bt, { data: At, containerWidth: Tt, containerHeight: ht, theme: je }));
|
|
39780
39787
|
}) : He === "annotations" ? y0e(Ue, { annotations: Cn, theme: je }) : He === "totals" && $t ? function(gt, Bt, At, it) {
|
|
39781
|
-
it === void 0 && (it =
|
|
39788
|
+
it === void 0 && (it = $n.layout), Mo(gt, At.labels.text), gt.textBaseline = it === "vertical" ? "alphabetic" : "middle", gt.textAlign = it === "vertical" ? "center" : "start", Bt.forEach(function(Rt) {
|
|
39782
39789
|
Ao(gt, At.labels.text, Rt.formattedValue, Rt.x, Rt.y);
|
|
39783
39790
|
});
|
|
39784
39791
|
}(Ue, st, je, l) : typeof He == "function" && He(Ue, an);
|
|
@@ -39803,17 +39810,17 @@ var C0e = ["layout", "width", "height", "padding", "innerPadding", "valueScale",
|
|
|
39803
39810
|
}
|
|
39804
39811
|
}, [Qe, Ce, Ye]);
|
|
39805
39812
|
return x("canvas", { ref: Db(De, Yt), width: jt * Re, height: nt * Re, style: { width: jt, height: nt, cursor: fe ? "auto" : "normal" }, onMouseEnter: fe ? Mt : void 0, onMouseMove: fe ? Mt : void 0, onMouseLeave: fe ? yn : void 0, onClick: fe ? on : void 0, role: Ve });
|
|
39806
|
-
}, V0e =
|
|
39813
|
+
}, V0e = Tn(function(e, t) {
|
|
39807
39814
|
var n = e.isInteractive, r = e.renderWrapper, i = e.theme, a = Da(e, U0e);
|
|
39808
39815
|
return x(zo, { isInteractive: n, renderWrapper: r, theme: i, animate: !1, children: x(H0e, Dt({}, a, { isInteractive: n, forwardedRef: t })) });
|
|
39809
|
-
}), q0e = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"], Fbe =
|
|
39816
|
+
}), q0e = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"], Fbe = Tn(function(e, t) {
|
|
39810
39817
|
var n = e.defaultWidth, r = e.defaultHeight, i = e.onResize, a = e.debounceResize, o = Da(e, q0e);
|
|
39811
39818
|
return x(Wo, { defaultWidth: n, defaultHeight: r, onResize: i, debounceResize: a, children: function(s) {
|
|
39812
39819
|
var c = s.width, l = s.height;
|
|
39813
39820
|
return x(W0e, Dt({}, o, { width: c, height: l, ref: t }));
|
|
39814
39821
|
} });
|
|
39815
39822
|
}), Y0e = ["defaultWidth", "defaultHeight", "onResize", "debounceResize"];
|
|
39816
|
-
|
|
39823
|
+
Tn(function(e, t) {
|
|
39817
39824
|
var n = e.defaultWidth, r = e.defaultHeight, i = e.onResize, a = e.debounceResize, o = Da(e, Y0e);
|
|
39818
39825
|
return x(Wo, { defaultWidth: n, defaultHeight: r, onResize: i, debounceResize: a, children: function(s) {
|
|
39819
39826
|
var c = s.width, l = s.height;
|