@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/index.js
CHANGED
|
@@ -43321,7 +43321,7 @@ var Calender = function Calender(props) {
|
|
|
43321
43321
|
date: dateAsNumber,
|
|
43322
43322
|
unix: getUnixTime(date)
|
|
43323
43323
|
}));
|
|
43324
|
-
} else if (!range) {
|
|
43324
|
+
} else if (!range && value) {
|
|
43325
43325
|
var _date = fromUnixTime(value);
|
|
43326
43326
|
var _dateAsNumber = _date.getDate();
|
|
43327
43327
|
var _selectedDayInfo = getDayInfo(_date);
|
|
@@ -44080,6 +44080,7 @@ var PageHeader = function PageHeader(props) {
|
|
|
44080
44080
|
children: [/*#__PURE__*/jsx("div", {
|
|
44081
44081
|
className: modules_bdcbeaa5.breadcrumb,
|
|
44082
44082
|
children: /*#__PURE__*/jsx(BreadCrumbs, _objectSpread2({}, _objectSpread2(_objectSpread2({}, crumbsProps), {}, {
|
|
44083
|
+
theme: theme,
|
|
44083
44084
|
className: modules_bdcbeaa5.breadcrumb
|
|
44084
44085
|
})))
|
|
44085
44086
|
}), /*#__PURE__*/jsxs("div", {
|
|
@@ -106878,6 +106879,7 @@ use([install$8, install$5, install$9, install$a, install$1, install$i, install])
|
|
|
106878
106879
|
var BaseAreaChart = function BaseAreaChart(props) {
|
|
106879
106880
|
var _seriesData$chartData, _seriesData$chartData6, _seriesData$metaData$, _seriesData$metaData;
|
|
106880
106881
|
var title = props.title,
|
|
106882
|
+
gridOptions = props.gridOptions,
|
|
106881
106883
|
gridContainLabel = props.gridContainLabel,
|
|
106882
106884
|
seriesData = props.seriesData,
|
|
106883
106885
|
tooltip = props.tooltip,
|
|
@@ -106963,9 +106965,9 @@ var BaseAreaChart = function BaseAreaChart(props) {
|
|
|
106963
106965
|
title: {
|
|
106964
106966
|
text: title
|
|
106965
106967
|
},
|
|
106966
|
-
grid: {
|
|
106968
|
+
grid: _objectSpread2({
|
|
106967
106969
|
containLabel: gridContainLabel
|
|
106968
|
-
},
|
|
106970
|
+
}, gridOptions),
|
|
106969
106971
|
tooltip: _objectSpread2({}, tooltip),
|
|
106970
106972
|
legend: {
|
|
106971
106973
|
show: legendShow,
|
|
@@ -107003,8 +107005,8 @@ var BaseAreaChart = function BaseAreaChart(props) {
|
|
|
107003
107005
|
};
|
|
107004
107006
|
BaseAreaChart.propTypes = {
|
|
107005
107007
|
title: propTypes$1.exports.string,
|
|
107008
|
+
gridOptions: propTypes$1.exports.object,
|
|
107006
107009
|
gridContainLabel: propTypes$1.exports.bool,
|
|
107007
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
107008
107010
|
tooltip: propTypes$1.exports.object,
|
|
107009
107011
|
legendShow: propTypes$1.exports.bool,
|
|
107010
107012
|
xAxisShow: propTypes$1.exports.bool,
|
|
@@ -107015,7 +107017,6 @@ BaseAreaChart.propTypes = {
|
|
|
107015
107017
|
yAxisLineShow: propTypes$1.exports.bool,
|
|
107016
107018
|
yAxisTickShow: propTypes$1.exports.bool,
|
|
107017
107019
|
cursor: propTypes$1.exports.string,
|
|
107018
|
-
// eslint-disable-next-line react/forbid-prop-types
|
|
107019
107020
|
seriesOption: propTypes$1.exports.arrayOf(propTypes$1.exports.object),
|
|
107020
107021
|
lineStyleWidth: propTypes$1.exports.number,
|
|
107021
107022
|
lineStyleType: propTypes$1.exports.oneOf(['dashed', 'solid', 'dotted']),
|
|
@@ -107027,6 +107028,12 @@ BaseAreaChart.propTypes = {
|
|
|
107027
107028
|
};
|
|
107028
107029
|
BaseAreaChart.defaultProps = {
|
|
107029
107030
|
title: '',
|
|
107031
|
+
gridOptions: {
|
|
107032
|
+
left: 0,
|
|
107033
|
+
right: 0,
|
|
107034
|
+
bottom: 0,
|
|
107035
|
+
top: 0
|
|
107036
|
+
},
|
|
107030
107037
|
gridContainLabel: false,
|
|
107031
107038
|
tooltip: {},
|
|
107032
107039
|
stacked: false,
|