aefis-core-ui 2.3.0-rc103 → 2.3.0-rc104
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.modern.js +31 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -25530,6 +25530,24 @@ const ScrollingContainer = _ref => {
|
|
|
25530
25530
|
})]
|
|
25531
25531
|
}));
|
|
25532
25532
|
};
|
|
25533
|
+
ScrollingContainer.propTypes = {
|
|
25534
|
+
/** The height of the container. If no height given, 100% is used. */
|
|
25535
|
+
height: PropTypes.any,
|
|
25536
|
+
/** Content of the content box */
|
|
25537
|
+
children: PropTypes.any.isRequired,
|
|
25538
|
+
/** Show bottom fade */
|
|
25539
|
+
showBottomFade: PropTypes.bool,
|
|
25540
|
+
/** Show top fade */
|
|
25541
|
+
showTopFade: PropTypes.bool,
|
|
25542
|
+
/** Function to handle when component is scrolled. */
|
|
25543
|
+
onScroll: PropTypes.func,
|
|
25544
|
+
/** Function to handle when component scroll reaches the start or top. */
|
|
25545
|
+
onScrollReachStart: PropTypes.func,
|
|
25546
|
+
/** Function to handle when component scroll reaches the end or bottom. */
|
|
25547
|
+
onScrollReachEnd: PropTypes.func,
|
|
25548
|
+
/** Component used to render the container. */
|
|
25549
|
+
component: PropTypes.string
|
|
25550
|
+
};
|
|
25533
25551
|
|
|
25534
25552
|
const moreThan = ruleValue => ({
|
|
25535
25553
|
fieldValue
|
|
@@ -26992,10 +27010,20 @@ const getDate$1 = dateStr => {
|
|
|
26992
27010
|
}
|
|
26993
27011
|
};
|
|
26994
27012
|
const DateSelectReadOnly$2 = props => {
|
|
27013
|
+
const {
|
|
27014
|
+
uiSchema,
|
|
27015
|
+
formData
|
|
27016
|
+
} = props;
|
|
26995
27017
|
const {
|
|
26996
27018
|
startDate,
|
|
26997
27019
|
endDate
|
|
26998
|
-
} =
|
|
27020
|
+
} = formData;
|
|
27021
|
+
const {
|
|
27022
|
+
label: startLabel = "Start Date"
|
|
27023
|
+
} = (uiSchema == null ? void 0 : uiSchema["ui:startDateProps"]) || {};
|
|
27024
|
+
const {
|
|
27025
|
+
label: endLabel = "End Date"
|
|
27026
|
+
} = (uiSchema == null ? void 0 : uiSchema["ui:endDateProps"]) || {};
|
|
26999
27027
|
return /*#__PURE__*/jsxs(Grid, {
|
|
27000
27028
|
container: true,
|
|
27001
27029
|
spacing: 3,
|
|
@@ -27007,7 +27035,7 @@ const DateSelectReadOnly$2 = props => {
|
|
|
27007
27035
|
children: [/*#__PURE__*/jsx(Typography, {
|
|
27008
27036
|
gutterBottom: true,
|
|
27009
27037
|
variant: "subtitle2",
|
|
27010
|
-
children:
|
|
27038
|
+
children: startLabel
|
|
27011
27039
|
}), /*#__PURE__*/jsx(Typography, {
|
|
27012
27040
|
color: "text.secondary",
|
|
27013
27041
|
variant: "body1",
|
|
@@ -27030,7 +27058,7 @@ const DateSelectReadOnly$2 = props => {
|
|
|
27030
27058
|
children: [/*#__PURE__*/jsx(Typography, {
|
|
27031
27059
|
gutterBottom: true,
|
|
27032
27060
|
variant: "subtitle2",
|
|
27033
|
-
children:
|
|
27061
|
+
children: endLabel
|
|
27034
27062
|
}), /*#__PURE__*/jsx(Typography, {
|
|
27035
27063
|
color: "text.secondary",
|
|
27036
27064
|
variant: "body1",
|