@things-factory/kpi 9.0.29 → 9.0.30

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 (61) hide show
  1. package/client/google-map/common-google-map.ts +332 -0
  2. package/client/google-map/google-map-loader.ts +29 -0
  3. package/client/google-map/script-loader.ts +173 -0
  4. package/client/pages/kpi-dashboard/cards/kpi-level1-card.ts +248 -0
  5. package/client/pages/kpi-dashboard/cards/kpi-level2-comparison.ts +369 -0
  6. package/client/pages/kpi-dashboard/cards/kpi-level3-comparison.ts +443 -0
  7. package/client/pages/kpi-dashboard/components/kpi-chart-toggle.ts +73 -0
  8. package/client/pages/kpi-dashboard/components/kpi-map-panel.ts +222 -0
  9. package/client/pages/kpi-dashboard/kpi-dashboard-map.ts +786 -0
  10. package/client/pages/kpi-dashboard/kpi-dashboard.ts +416 -0
  11. package/client/route.ts +4 -0
  12. package/dist-client/google-map/common-google-map.d.ts +34 -0
  13. package/dist-client/google-map/common-google-map.js +300 -0
  14. package/dist-client/google-map/common-google-map.js.map +1 -0
  15. package/dist-client/google-map/google-map-loader.d.ts +6 -0
  16. package/dist-client/google-map/google-map-loader.js +22 -0
  17. package/dist-client/google-map/google-map-loader.js.map +1 -0
  18. package/dist-client/google-map/script-loader.d.ts +3 -0
  19. package/dist-client/google-map/script-loader.js +144 -0
  20. package/dist-client/google-map/script-loader.js.map +1 -0
  21. package/dist-client/pages/kpi-dashboard/cards/kpi-level1-card.d.ts +17 -0
  22. package/dist-client/pages/kpi-dashboard/cards/kpi-level1-card.js +279 -0
  23. package/dist-client/pages/kpi-dashboard/cards/kpi-level1-card.js.map +1 -0
  24. package/dist-client/pages/kpi-dashboard/cards/kpi-level2-comparison.d.ts +19 -0
  25. package/dist-client/pages/kpi-dashboard/cards/kpi-level2-comparison.js +385 -0
  26. package/dist-client/pages/kpi-dashboard/cards/kpi-level2-comparison.js.map +1 -0
  27. package/dist-client/pages/kpi-dashboard/cards/kpi-level3-comparison.d.ts +23 -0
  28. package/dist-client/pages/kpi-dashboard/cards/kpi-level3-comparison.js +465 -0
  29. package/dist-client/pages/kpi-dashboard/cards/kpi-level3-comparison.js.map +1 -0
  30. package/dist-client/pages/kpi-dashboard/components/kpi-chart-toggle.d.ts +8 -0
  31. package/dist-client/pages/kpi-dashboard/components/kpi-chart-toggle.js +79 -0
  32. package/dist-client/pages/kpi-dashboard/components/kpi-chart-toggle.js.map +1 -0
  33. package/dist-client/pages/kpi-dashboard/components/kpi-map-panel.d.ts +23 -0
  34. package/dist-client/pages/kpi-dashboard/components/kpi-map-panel.js +223 -0
  35. package/dist-client/pages/kpi-dashboard/components/kpi-map-panel.js.map +1 -0
  36. package/dist-client/pages/kpi-dashboard/kpi-dashboard-map.d.ts +38 -0
  37. package/dist-client/pages/kpi-dashboard/kpi-dashboard-map.js +813 -0
  38. package/dist-client/pages/kpi-dashboard/kpi-dashboard-map.js.map +1 -0
  39. package/dist-client/pages/kpi-dashboard/kpi-dashboard.d.ts +21 -0
  40. package/dist-client/pages/kpi-dashboard/kpi-dashboard.js +398 -0
  41. package/dist-client/pages/kpi-dashboard/kpi-dashboard.js.map +1 -1
  42. package/dist-client/route.d.ts +1 -1
  43. package/dist-client/route.js +3 -0
  44. package/dist-client/route.js.map +1 -1
  45. package/dist-client/tsconfig.tsbuildinfo +1 -1
  46. package/dist-server/index.d.ts +1 -0
  47. package/dist-server/index.js +1 -0
  48. package/dist-server/index.js.map +1 -1
  49. package/dist-server/migrations/index.d.ts +1 -0
  50. package/dist-server/migrations/index.js +12 -0
  51. package/dist-server/migrations/index.js.map +1 -0
  52. package/dist-server/tsconfig.tsbuildinfo +1 -1
  53. package/package.json +2 -2
  54. package/server/index.ts +1 -0
  55. package/server/migrations/index.ts +9 -0
  56. package/things-factory.config.js +2 -1
  57. package/translations/en.json +1 -0
  58. package/translations/ja.json +1 -0
  59. package/translations/ko.json +1 -0
  60. package/translations/ms.json +1 -0
  61. package/translations/zh.json +1 -0
@@ -1,2 +1,3 @@
1
+ export * from './migrations/index.js';
1
2
  export * from './service/index.js';
2
3
  import './routes';
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./migrations/index.js"), exports);
4
5
  tslib_1.__exportStar(require("./service/index.js"), exports);
5
6
  require("./routes");
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC;AAElC,oBAAiB","sourcesContent":["export * from './service/index.js'\n\nimport './routes'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../server/index.ts"],"names":[],"mappings":";;;AAAA,gEAAqC;AACrC,6DAAkC;AAElC,oBAAiB","sourcesContent":["export * from './migrations/index.js'\nexport * from './service/index.js'\n\nimport './routes'\n"]}
@@ -0,0 +1 @@
1
+ export declare var migrations: any[];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.migrations = void 0;
4
+ const glob = require('glob');
5
+ const path = require('path');
6
+ exports.migrations = [];
7
+ glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
8
+ if (file.indexOf('index.js') !== -1)
9
+ return;
10
+ exports.migrations = exports.migrations.concat(Object.values(require(path.resolve(file))) || []);
11
+ });
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,IAAI;IAC1E,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA","sourcesContent":["const glob = require('glob')\nconst path = require('path')\n\nexport var migrations = []\n\nglob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {\n if (file.indexOf('index.js') !== -1) return\n migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])\n})\n"]}