@leapdevuk/component-toolbox 0.0.68 → 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 +16 -16
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +72 -60
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8159,7 +8159,11 @@ const go = ({
|
|
|
8159
8159
|
"div",
|
|
8160
8160
|
{
|
|
8161
8161
|
className: "displayFlex",
|
|
8162
|
-
style: {
|
|
8162
|
+
style: {
|
|
8163
|
+
flexDirection: "column",
|
|
8164
|
+
alignItems: "center",
|
|
8165
|
+
backgroundColor: "#fff"
|
|
8166
|
+
},
|
|
8163
8167
|
children: [
|
|
8164
8168
|
/* @__PURE__ */ m.jsx(
|
|
8165
8169
|
Ea,
|
|
@@ -8577,17 +8581,14 @@ const go = ({
|
|
|
8577
8581
|
{
|
|
8578
8582
|
style: {
|
|
8579
8583
|
backgroundColor: "#fff",
|
|
8580
|
-
border: "1px solid rgba(0, 0, 0, 0.12)"
|
|
8584
|
+
border: "1px solid rgba(0, 0, 0, 0.12)",
|
|
8585
|
+
borderRadius: 0
|
|
8581
8586
|
},
|
|
8582
8587
|
children: /* @__PURE__ */ m.jsxs(
|
|
8583
8588
|
"div",
|
|
8584
8589
|
{
|
|
8585
|
-
className: "displayFlex",
|
|
8586
|
-
style: {
|
|
8587
|
-
flexDirection: "row",
|
|
8588
|
-
alignItems: "center",
|
|
8589
|
-
borderRight: "1px solid rgba(0, 0, 0, 0.12)"
|
|
8590
|
-
},
|
|
8590
|
+
className: "displayFlex dateActionButtons",
|
|
8591
|
+
style: { flexDirection: "row" },
|
|
8591
8592
|
children: [
|
|
8592
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(
|
|
8593
8594
|
"div",
|
|
@@ -8871,62 +8872,73 @@ const go = ({
|
|
|
8871
8872
|
}
|
|
8872
8873
|
),
|
|
8873
8874
|
/* @__PURE__ */ m.jsx(
|
|
8874
|
-
|
|
8875
|
+
"div",
|
|
8875
8876
|
{
|
|
8876
|
-
|
|
8877
|
-
|
|
8877
|
+
className: "displayFlex",
|
|
8878
|
+
style: {
|
|
8879
|
+
flexDirection: "column",
|
|
8880
|
+
borderLeft: "1px solid #e0e0e0",
|
|
8881
|
+
alignSelf: "flex-start"
|
|
8882
|
+
},
|
|
8878
8883
|
children: /* @__PURE__ */ m.jsx(
|
|
8879
|
-
|
|
8884
|
+
Ea,
|
|
8880
8885
|
{
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
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
|
-
|
|
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
|
+
}
|
|
8925
8940
|
}
|
|
8926
|
-
|
|
8927
|
-
slotProps: {
|
|
8928
|
-
day: { style: { height: 30, width: 30 } }
|
|
8929
|
-
}
|
|
8941
|
+
)
|
|
8930
8942
|
}
|
|
8931
8943
|
)
|
|
8932
8944
|
}
|