@bygd/nc-report-ui 0.1.11 → 0.1.12
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/default/cjs/index.cjs +1 -1157
- package/dist/default/esm/index.js +0 -17
- package/dist/default/iife/index.js +110 -45160
- package/package.json +1 -1
- package/dist/app/esm/index.html +0 -21
- package/dist/app/esm/index.js +0 -45222
- package/dist/default/iife/index.js.map +0 -1
|
@@ -879,23 +879,6 @@ var Chart = ({
|
|
|
879
879
|
setActiveViewIndex(viewIndex);
|
|
880
880
|
setActiveView(chart.doc.view[viewIndex]);
|
|
881
881
|
}, [chart]);
|
|
882
|
-
|
|
883
|
-
// React.useEffect(() => {
|
|
884
|
-
// let cron;
|
|
885
|
-
// if (chart?.doc?.refresh?.enabled === true) {
|
|
886
|
-
// cron = new CronJob(chart.doc.refresh.cron, () => {
|
|
887
|
-
// if (inView) {
|
|
888
|
-
// loadSource(filterRef.current);
|
|
889
|
-
// }
|
|
890
|
-
// });
|
|
891
|
-
// cron.start();
|
|
892
|
-
// }
|
|
893
|
-
|
|
894
|
-
// return () => {
|
|
895
|
-
// cron && cron.stop();
|
|
896
|
-
// }
|
|
897
|
-
// }, [chart, inView]);
|
|
898
|
-
|
|
899
882
|
React__default.useEffect(() => {
|
|
900
883
|
if (!id) return;
|
|
901
884
|
init().catch(error => {
|