@crystaldesign/diva-backoffice 24.7.0-beta.50 → 24.7.0-beta.52
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/build/esm/index.js
CHANGED
|
@@ -76,6 +76,7 @@ import CheckOutlined from '@ant-design/icons/lib/icons/CheckOutlined';
|
|
|
76
76
|
import CloseOutlined from '@ant-design/icons/lib/icons/CloseOutlined';
|
|
77
77
|
import { ContentBoxComponent } from '@crystaldesign/content-box';
|
|
78
78
|
import { AgChartsReact } from 'ag-charts-react';
|
|
79
|
+
import classnames from 'classnames';
|
|
79
80
|
import { Histogram } from '@crystaldesign/analytics';
|
|
80
81
|
import dayjs from 'dayjs';
|
|
81
82
|
import advancedFormat from 'dayjs/plugin/advancedFormat';
|
|
@@ -93,7 +94,6 @@ import { AgGridReact } from 'ag-grid-react';
|
|
|
93
94
|
import 'ag-grid-community/styles/ag-grid.css';
|
|
94
95
|
import 'ag-grid-community/styles/ag-theme-alpine.css';
|
|
95
96
|
import 'ag-grid-enterprise';
|
|
96
|
-
import classnames from 'classnames';
|
|
97
97
|
import Collapsible from 'react-collapsible';
|
|
98
98
|
import QuestionOutlined from '@ant-design/icons/QuestionOutlined';
|
|
99
99
|
import { TransformWrapper, TransformComponent } from 'react-zoom-pan-pinch';
|
|
@@ -17898,13 +17898,15 @@ function AGHistogram (_ref) {
|
|
|
17898
17898
|
footnote: {
|
|
17899
17899
|
text: footnote
|
|
17900
17900
|
},
|
|
17901
|
-
series:
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17901
|
+
series: data.yKeys.map(function (ykey) {
|
|
17902
|
+
return {
|
|
17903
|
+
type: 'bar',
|
|
17904
|
+
xKey: 'key',
|
|
17905
|
+
yKey: ykey,
|
|
17906
|
+
stacked: stacking,
|
|
17907
|
+
yName: ykey
|
|
17908
|
+
};
|
|
17909
|
+
})
|
|
17908
17910
|
});
|
|
17909
17911
|
}
|
|
17910
17912
|
}, [data]);
|
|
@@ -17948,16 +17950,13 @@ function AGHistogram (_ref) {
|
|
|
17948
17950
|
children: /*#__PURE__*/jsxs("div", {
|
|
17949
17951
|
className: container,
|
|
17950
17952
|
children: [!loadingHistogram && /*#__PURE__*/jsx("div", {
|
|
17951
|
-
className: column1,
|
|
17953
|
+
className: classnames(column1, 'ag-theme-alpine'),
|
|
17952
17954
|
style: {
|
|
17953
17955
|
height: height,
|
|
17954
17956
|
width: width
|
|
17955
17957
|
},
|
|
17956
|
-
children: /*#__PURE__*/jsx(
|
|
17957
|
-
|
|
17958
|
-
children: options && /*#__PURE__*/jsx(AgChartsReact, {
|
|
17959
|
-
options: options
|
|
17960
|
-
})
|
|
17958
|
+
children: options && /*#__PURE__*/jsx(AgChartsReact, {
|
|
17959
|
+
options: options
|
|
17961
17960
|
})
|
|
17962
17961
|
}), loadingHistogram && /*#__PURE__*/jsx("div", {
|
|
17963
17962
|
className: spinner,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AGHistogram/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAM5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AGHistogram/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAM5D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C,UAAU,KAAK;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB,QAAQ,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,MAAM,EACN,KAAK,EACL,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACX,WAAW,GACZ,EAAE,KAAK,eAoFP"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.7.0-beta.
|
|
3
|
+
"version": "24.7.0-beta.52",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons": "5.0.1",
|
|
17
17
|
"@babel/runtime": "7.18.0",
|
|
18
|
-
"@crystaldesign/spreadsheet": "24.7.0-beta.
|
|
18
|
+
"@crystaldesign/spreadsheet": "24.7.0-beta.52",
|
|
19
19
|
"@google/model-viewer": "3.4.0",
|
|
20
20
|
"@tinymce/tinymce-react": "^3.13.0",
|
|
21
|
-
"ag-charts-community": "^
|
|
22
|
-
"ag-charts-react": "^
|
|
21
|
+
"ag-charts-community": "^9.3.1",
|
|
22
|
+
"ag-charts-react": "^9.3.1",
|
|
23
23
|
"antd": "5.0.0",
|
|
24
24
|
"csv": "^6.1.5",
|
|
25
25
|
"deepmerge": "^4.2.2",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"module": "build/esm/index.js",
|
|
52
52
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "d64d9af445d2105141b0fb9895d010e83ab2652a"
|
|
54
54
|
}
|