@banyan_cloud/roots 1.0.65 → 1.0.67
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/cjs/index.js +12 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +12 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +12 -5
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -43341,7 +43341,7 @@ var Calender = function Calender(props) {
|
|
|
43341
43341
|
date: dateAsNumber,
|
|
43342
43342
|
unix: getUnixTime(date)
|
|
43343
43343
|
}));
|
|
43344
|
-
} else if (!range) {
|
|
43344
|
+
} else if (!range && value) {
|
|
43345
43345
|
var _date = fromUnixTime(value);
|
|
43346
43346
|
var _dateAsNumber = _date.getDate();
|
|
43347
43347
|
var _selectedDayInfo = getDayInfo(_date);
|
|
@@ -44100,6 +44100,7 @@ var PageHeader = function PageHeader(props) {
|
|
|
44100
44100
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
44101
44101
|
className: modules_bdcbeaa5.breadcrumb,
|
|
44102
44102
|
children: /*#__PURE__*/jsxRuntime.jsx(BreadCrumbs, _objectSpread2({}, _objectSpread2(_objectSpread2({}, crumbsProps), {}, {
|
|
44103
|
+
theme: theme,
|
|
44103
44104
|
className: modules_bdcbeaa5.breadcrumb
|
|
44104
44105
|
})))
|
|
44105
44106
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
@@ -106900,6 +106901,7 @@ use([install$8, install$5, install$9, install$a, install$1, install$i, install])
|
|
|
106900
106901
|
var BaseAreaChart = function BaseAreaChart(props) {
|
|
106901
106902
|
var _seriesData$chartData, _seriesData$chartData6, _seriesData$metaData$, _seriesData$metaData;
|
|
106902
106903
|
var title = props.title,
|
|
106904
|
+
gridOptions = props.gridOptions,
|
|
106903
106905
|
gridContainLabel = props.gridContainLabel,
|
|
106904
106906
|
seriesData = props.seriesData,
|
|
106905
106907
|
tooltip = props.tooltip,
|
|
@@ -106985,9 +106987,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
|
|
|
106985
106987
|
title: {
|
|
106986
106988
|
text: title
|
|
106987
106989
|
},
|
|
106988
|
-
grid: {
|
|
106990
|
+
grid: _objectSpread2({
|
|
106989
106991
|
containLabel: gridContainLabel
|
|
106990
|
-
},
|
|
106992
|
+
}, gridOptions),
|
|
106991
106993
|
tooltip: _objectSpread2({}, tooltip),
|
|
106992
106994
|
legend: {
|
|
106993
106995
|
show: legendShow,
|
|
@@ -107025,8 +107027,8 @@ var BaseAreaChart = function BaseAreaChart(props) {
|
|
|
107025
107027
|
};
|
|
107026
107028
|
BaseAreaChart.propTypes = {
|
|
107027
107029
|
title: propTypes$1.exports.string,
|
|
107030
|
+
gridOptions: propTypes$1.exports.object,
|
|
107028
107031
|
gridContainLabel: propTypes$1.exports.bool,
|
|
107029
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
107030
107032
|
tooltip: propTypes$1.exports.object,
|
|
107031
107033
|
legendShow: propTypes$1.exports.bool,
|
|
107032
107034
|
xAxisShow: propTypes$1.exports.bool,
|
|
@@ -107037,7 +107039,6 @@ BaseAreaChart.propTypes = {
|
|
|
107037
107039
|
yAxisLineShow: propTypes$1.exports.bool,
|
|
107038
107040
|
yAxisTickShow: propTypes$1.exports.bool,
|
|
107039
107041
|
cursor: propTypes$1.exports.string,
|
|
107040
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
107041
107042
|
seriesOption: propTypes$1.exports.arrayOf(propTypes$1.exports.object),
|
|
107042
107043
|
lineStyleWidth: propTypes$1.exports.number,
|
|
107043
107044
|
lineStyleType: propTypes$1.exports.oneOf(['dashed', 'solid', 'dotted']),
|
|
@@ -107049,6 +107050,12 @@ BaseAreaChart.propTypes = {
|
|
|
107049
107050
|
};
|
|
107050
107051
|
BaseAreaChart.defaultProps = {
|
|
107051
107052
|
title: '',
|
|
107053
|
+
gridOptions: {
|
|
107054
|
+
left: 0,
|
|
107055
|
+
right: 0,
|
|
107056
|
+
bottom: 0,
|
|
107057
|
+
top: 0
|
|
107058
|
+
},
|
|
107052
107059
|
gridContainLabel: false,
|
|
107053
107060
|
tooltip: {},
|
|
107054
107061
|
stacked: false,
|