@leapdevuk/component-toolbox 0.0.69 → 0.0.70
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.cjs.js +24 -24
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +67 -59
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8581,17 +8581,14 @@ const go = ({
|
|
|
8581
8581
|
{
|
|
8582
8582
|
style: {
|
|
8583
8583
|
backgroundColor: "#fff",
|
|
8584
|
-
border: "1px solid rgba(0, 0, 0, 0.12)"
|
|
8584
|
+
border: "1px solid rgba(0, 0, 0, 0.12)",
|
|
8585
|
+
borderRadius: 0
|
|
8585
8586
|
},
|
|
8586
8587
|
children: /* @__PURE__ */ m.jsxs(
|
|
8587
8588
|
"div",
|
|
8588
8589
|
{
|
|
8589
|
-
className: "displayFlex",
|
|
8590
|
-
style: {
|
|
8591
|
-
flexDirection: "row",
|
|
8592
|
-
alignItems: "center",
|
|
8593
|
-
borderRight: "1px solid rgba(0, 0, 0, 0.12)"
|
|
8594
|
-
},
|
|
8590
|
+
className: "displayFlex dateActionButtons",
|
|
8591
|
+
style: { flexDirection: "row" },
|
|
8595
8592
|
children: [
|
|
8596
8593
|
((s == null ? void 0 : s.showToday) || (s == null ? void 0 : s.showYesterday) || (s == null ? void 0 : s.showThisWeek) || (s == null ? void 0 : s.showLastWeek) || (s == null ? void 0 : s.showThisMonth) || (s == null ? void 0 : s.showLastMonth) || (s == null ? void 0 : s.showLast30) || (s == null ? void 0 : s.showLast60) || (s == null ? void 0 : s.showLast90) || (s == null ? void 0 : s.customActions)) && /* @__PURE__ */ m.jsxs(
|
|
8597
8594
|
"div",
|
|
@@ -8875,62 +8872,73 @@ const go = ({
|
|
|
8875
8872
|
}
|
|
8876
8873
|
),
|
|
8877
8874
|
/* @__PURE__ */ m.jsx(
|
|
8878
|
-
|
|
8875
|
+
"div",
|
|
8879
8876
|
{
|
|
8880
|
-
|
|
8881
|
-
|
|
8877
|
+
className: "displayFlex",
|
|
8878
|
+
style: {
|
|
8879
|
+
flexDirection: "column",
|
|
8880
|
+
borderLeft: "1px solid #e0e0e0",
|
|
8881
|
+
alignSelf: "flex-start"
|
|
8882
|
+
},
|
|
8882
8883
|
children: /* @__PURE__ */ m.jsx(
|
|
8883
|
-
|
|
8884
|
+
Ea,
|
|
8884
8885
|
{
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8886
|
+
dateAdapter: Wa,
|
|
8887
|
+
adapterLocale: x,
|
|
8888
|
+
children: /* @__PURE__ */ m.jsx(
|
|
8889
|
+
ls,
|
|
8890
|
+
{
|
|
8891
|
+
value: [
|
|
8892
|
+
O ? new Date(O) : null,
|
|
8893
|
+
M ? new Date(M) : null
|
|
8894
|
+
],
|
|
8895
|
+
onChange: (v, $) => {
|
|
8896
|
+
$ !== "partial" && R(!1);
|
|
8897
|
+
const D = v[0] ? v[0] : null, B = v[1] ? v[1] : null;
|
|
8898
|
+
if (h) {
|
|
8899
|
+
const ye = h(D);
|
|
8900
|
+
ye && c(ye);
|
|
8901
|
+
const E = h(B);
|
|
8902
|
+
E && c(E);
|
|
8903
|
+
}
|
|
8904
|
+
_(d), W(
|
|
8905
|
+
D && Ee(new Date(D), A)
|
|
8906
|
+
), L(
|
|
8907
|
+
B && Ee(new Date(B), A)
|
|
8908
|
+
), i(
|
|
8909
|
+
te(
|
|
8910
|
+
D ? new Date(D) : null,
|
|
8911
|
+
!0,
|
|
8912
|
+
a,
|
|
8913
|
+
e,
|
|
8914
|
+
o
|
|
8915
|
+
),
|
|
8916
|
+
te(
|
|
8917
|
+
B ? new Date(B) : null,
|
|
8918
|
+
r,
|
|
8919
|
+
!0,
|
|
8920
|
+
e,
|
|
8921
|
+
o
|
|
8922
|
+
)
|
|
8923
|
+
);
|
|
8924
|
+
},
|
|
8925
|
+
calendars: k || 2,
|
|
8926
|
+
sx: {
|
|
8927
|
+
"& .MuiTypography-caption": { height: 30, width: 30 },
|
|
8928
|
+
"& .MuiDateRangePickerDay-rangeIntervalPreview": {
|
|
8929
|
+
height: 30,
|
|
8930
|
+
width: 30
|
|
8931
|
+
},
|
|
8932
|
+
"& .MuiDayCalendar-slideTransition": {
|
|
8933
|
+
minHeight: 220,
|
|
8934
|
+
height: 220
|
|
8935
|
+
}
|
|
8936
|
+
},
|
|
8937
|
+
slotProps: {
|
|
8938
|
+
day: { style: { height: 30, width: 30 } }
|
|
8939
|
+
}
|
|
8929
8940
|
}
|
|
8930
|
-
|
|
8931
|
-
slotProps: {
|
|
8932
|
-
day: { style: { height: 30, width: 30 } }
|
|
8933
|
-
}
|
|
8941
|
+
)
|
|
8934
8942
|
}
|
|
8935
8943
|
)
|
|
8936
8944
|
}
|