@things-factory/kpi 9.0.29 → 9.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.
- package/client/charts/kpi-mini-trend-chart.ts +125 -0
- package/client/charts/kpi-trend-chart.ts +163 -0
- package/client/google-map/common-google-map.ts +370 -0
- package/client/google-map/google-map-loader.ts +29 -0
- package/client/pages/kpi-dashboard/cards/kpi-level1-card.ts +248 -0
- package/client/pages/kpi-dashboard/cards/kpi-level2-comparison.ts +369 -0
- package/client/pages/kpi-dashboard/cards/kpi-level3-comparison.ts +443 -0
- package/client/pages/kpi-dashboard/components/kpi-chart-toggle.ts +72 -0
- package/client/pages/kpi-dashboard/components/kpi-left-panel.ts +399 -0
- package/client/pages/kpi-dashboard/components/kpi-map-panel.ts +302 -0
- package/client/pages/kpi-dashboard/components/kpi-region-popup.ts +355 -0
- package/client/pages/kpi-dashboard/kpi-dashboard-map.ts +243 -0
- package/client/pages/kpi-dashboard/kpi-dashboard.ts +416 -0
- package/client/route.ts +4 -0
- package/dist-client/charts/kpi-mini-trend-chart.d.ts +14 -0
- package/dist-client/charts/kpi-mini-trend-chart.js +148 -0
- package/dist-client/charts/kpi-mini-trend-chart.js.map +1 -0
- package/dist-client/charts/kpi-trend-chart.d.ts +25 -0
- package/dist-client/charts/kpi-trend-chart.js +186 -0
- package/dist-client/charts/kpi-trend-chart.js.map +1 -0
- package/dist-client/google-map/common-google-map.d.ts +34 -0
- package/dist-client/google-map/common-google-map.js +333 -0
- package/dist-client/google-map/common-google-map.js.map +1 -0
- package/dist-client/google-map/google-map-loader.d.ts +6 -0
- package/dist-client/google-map/google-map-loader.js +22 -0
- package/dist-client/google-map/google-map-loader.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level1-card.d.ts +17 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level1-card.js +279 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level1-card.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level2-comparison.d.ts +19 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level2-comparison.js +385 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level2-comparison.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level3-comparison.d.ts +23 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level3-comparison.js +465 -0
- package/dist-client/pages/kpi-dashboard/cards/kpi-level3-comparison.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-chart-toggle.d.ts +8 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-chart-toggle.js +78 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-chart-toggle.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-left-panel.d.ts +22 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-left-panel.js +404 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-left-panel.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-map-panel.d.ts +28 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-map-panel.js +298 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-map-panel.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-region-popup.d.ts +23 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-region-popup.js +368 -0
- package/dist-client/pages/kpi-dashboard/components/kpi-region-popup.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/kpi-dashboard-map.d.ts +29 -0
- package/dist-client/pages/kpi-dashboard/kpi-dashboard-map.js +271 -0
- package/dist-client/pages/kpi-dashboard/kpi-dashboard-map.js.map +1 -0
- package/dist-client/pages/kpi-dashboard/kpi-dashboard.d.ts +21 -0
- package/dist-client/pages/kpi-dashboard/kpi-dashboard.js +398 -0
- package/dist-client/pages/kpi-dashboard/kpi-dashboard.js.map +1 -1
- package/dist-client/route.d.ts +1 -1
- package/dist-client/route.js +3 -0
- package/dist-client/route.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/index.d.ts +1 -0
- package/dist-server/index.js +1 -0
- package/dist-server/index.js.map +1 -1
- package/dist-server/migrations/index.d.ts +1 -0
- package/dist-server/migrations/index.js +12 -0
- package/dist-server/migrations/index.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/server/index.ts +1 -0
- package/server/migrations/index.ts +9 -0
- package/things-factory.config.js +2 -1
- package/translations/en.json +1 -0
- package/translations/ja.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/kpi",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.31",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@things-factory/dataset": "^9.0.28",
|
|
45
45
|
"@things-factory/shell": "^9.0.25"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "3edffaba43578c71e33389fa27696de99a006049"
|
|
48
48
|
}
|
package/server/index.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const glob = require('glob')
|
|
2
|
+
const path = require('path')
|
|
3
|
+
|
|
4
|
+
export var migrations = []
|
|
5
|
+
|
|
6
|
+
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
|
|
7
|
+
if (file.indexOf('index.js') !== -1) return
|
|
8
|
+
migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])
|
|
9
|
+
})
|
package/things-factory.config.js
CHANGED
|
@@ -18,7 +18,8 @@ export default {
|
|
|
18
18
|
{ tagname: 'kpi-metric-value-manual-entry-page', page: 'kpi-metric-value-manual-entry' },
|
|
19
19
|
{ tagname: 'kpi-history-list-page', page: 'kpi-history-list' },
|
|
20
20
|
{ tagname: 'kpi-statistic-list-page', page: 'kpi-statistic-list' },
|
|
21
|
-
{ tagname: 'kpi-statistic-editor-page', page: 'kpi-statistic-editor' }
|
|
21
|
+
{ tagname: 'kpi-statistic-editor-page', page: 'kpi-statistic-editor' },
|
|
22
|
+
{ tagname: 'kpi-dashboard-map', page: 'kpi-dashboard-map' }
|
|
22
23
|
],
|
|
23
24
|
bootstrap
|
|
24
25
|
}
|
package/translations/en.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"title.kpi list": "KPI List",
|
|
7
7
|
"title.kpi category list": "KPI Catogory List",
|
|
8
8
|
"title.kpi category value list": "KPI Category Value List",
|
|
9
|
+
"title.kpi dashboard": "KPI Dashboard",
|
|
9
10
|
"title.kpi value editor": "KPI Value Editor",
|
|
10
11
|
"title.kpi grade list": "KPI Grade List",
|
|
11
12
|
"title.kpi metric list": "KPI Metric List",
|
package/translations/ja.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"title.kpi list": "KPIリスト",
|
|
7
7
|
"title.kpi category list": "KPIカテゴリリスト",
|
|
8
8
|
"title.kpi category value list": "KPIカテゴリ値リスト",
|
|
9
|
+
"title.kpi dashboard": "KPIダッシュボード",
|
|
9
10
|
"title.kpi value editor": "KPI値エディタ",
|
|
10
11
|
"title.kpi grade list": "KPIグレードリスト",
|
|
11
12
|
"title.kpi metric list": "KPIメトリックリスト",
|
package/translations/ko.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"title.kpi list": "KPI 목록",
|
|
7
7
|
"title.kpi category list": "KPI 카테고리 목록",
|
|
8
8
|
"title.kpi category value list": "KPI 카테고리 값 목록",
|
|
9
|
+
"title.kpi dashboard": "KPI 대시보드",
|
|
9
10
|
"title.kpi value editor": "KPI 값 편집기",
|
|
10
11
|
"title.kpi grade list": "KPI 등급 목록",
|
|
11
12
|
"title.kpi metric list": "KPI 지표 목록",
|
package/translations/ms.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"title.kpi list": "Senarai KPI",
|
|
7
7
|
"title.kpi category list": "Senarai Kategori KPI",
|
|
8
8
|
"title.kpi category value list": "Senarai Nilai Kategori KPI",
|
|
9
|
+
"title.kpi dashboard": "Papan Dasbor KPI",
|
|
9
10
|
"title.kpi value editor": "Editor Nilai KPI",
|
|
10
11
|
"title.kpi grade list": "Senarai Gred KPI",
|
|
11
12
|
"title.kpi metric list": "Senarai Metrik KPI",
|
package/translations/zh.json
CHANGED