@opengis/bi 1.0.29 → 1.0.31

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.
Files changed (28) hide show
  1. package/config.js +12 -12
  2. package/dist/bi.js +1 -1
  3. package/dist/bi.umd.cjs +110 -123
  4. package/dist/{import-file-SGbMr5Cs.js → import-file-CGUzCAix.js} +17342 -17509
  5. package/dist/{map-component-mixin-DRaF15KA.js → map-component-mixin-BkEQzSdJ.js} +4839 -4839
  6. package/dist/{vs-donut-B-KfTP_b.js → vs-donut-DiNanKYo.js} +1 -1
  7. package/dist/{vs-funnel-bar-DSTBJljM.js → vs-funnel-bar-BM7WMuDM.js} +1 -1
  8. package/dist/{vs-map-DKyZvjn9.js → vs-map-DLALMtkA.js} +2 -2
  9. package/dist/{vs-map-cluster-CkJhoifg.js → vs-map-cluster-DLJPVkGz.js} +2 -2
  10. package/dist/{vs-number-CnPxB9Zt.js → vs-number-EfOaU6-B.js} +1 -1
  11. package/dist/{vs-table-B7EHFI8w.js → vs-table-BdxjaLf1.js} +1 -1
  12. package/dist/{vs-text-DUHwwnnV.js → vs-text-DhA-8Fxf.js} +4 -4
  13. package/package.json +2 -2
  14. package/plugin.js +13 -5
  15. package/server/plugins/docs.js +48 -48
  16. package/server/plugins/hook.js +89 -89
  17. package/server/plugins/vite.js +69 -69
  18. package/server/routes/dashboard/controllers/utils/yaml.js +11 -11
  19. package/server/routes/data/controllers/data.js +2 -1
  20. package/server/routes/data/controllers/util/chartSQL.js +2 -1
  21. package/server/routes/data/controllers/util/normalizeData.js +61 -61
  22. package/server/routes/map/controllers/cluster.js +110 -110
  23. package/server/routes/map/controllers/clusterVtile.js +166 -166
  24. package/server/routes/map/controllers/geojson.js +127 -127
  25. package/server/routes/map/controllers/map.js +61 -61
  26. package/server/routes/map/controllers/utils/downloadClusterData.js +44 -44
  27. package/server/routes/map/controllers/vtile.js +183 -183
  28. package/utils.js +12 -12
package/config.js CHANGED
@@ -1,12 +1,12 @@
1
- import { existsSync, readFileSync } from 'fs';
2
-
3
- const fileName = ['/data/local/config.json', 'config.json'].find((el) =>
4
- existsSync(el) ? el : null
5
- );
6
- const config = fileName ? JSON.parse(readFileSync(fileName), '{}') : {};
7
-
8
- Object.assign(config, {
9
- allTemplates: config?.allTemplates || {},
10
- });
11
-
12
- export default config;
1
+ import { existsSync, readFileSync } from 'fs';
2
+
3
+ const fileName = ['/data/local/config.json', 'config.json'].find((el) =>
4
+ existsSync(el) ? el : null
5
+ );
6
+ const config = fileName ? JSON.parse(readFileSync(fileName), '{}') : {};
7
+
8
+ Object.assign(config, {
9
+ allTemplates: config?.allTemplates || {},
10
+ });
11
+
12
+ export default config;
package/dist/bi.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as f } from "./import-file-SGbMr5Cs.js";
1
+ import { l as f } from "./import-file-CGUzCAix.js";
2
2
  export {
3
3
  f as default
4
4
  };