@kong-ui-public/dashboard-renderer 8.26.2 → 8.26.3-pr.3819.04ffe7eda.0
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/package.json +15 -15
- package/dist/GeoMapRenderer-BId1nADv.js +0 -71
- package/dist/dashboard-renderer.es.js +0 -19
- package/dist/dashboard-renderer.umd.js +0 -13
- package/dist/index-DDeLeM1I.js +0 -7867
- package/dist/style.css +0 -1
- package/dist/types/components/BarChartRenderer.vue.d.ts +0 -7
- package/dist/types/components/BarChartRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/BaseAnalyticsChartRenderer.vue.d.ts +0 -21
- package/dist/types/components/BaseAnalyticsChartRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/CsvExportModal.vue.d.ts +0 -16
- package/dist/types/components/CsvExportModal.vue.d.ts.map +0 -1
- package/dist/types/components/DashboardRenderer.vue.d.ts +0 -1218
- package/dist/types/components/DashboardRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/DashboardTile.vue.d.ts +0 -1671
- package/dist/types/components/DashboardTile.vue.d.ts.map +0 -1
- package/dist/types/components/DashboardTilePreview.vue.d.ts +0 -23
- package/dist/types/components/DashboardTilePreview.vue.d.ts.map +0 -1
- package/dist/types/components/DonutChartRenderer.vue.d.ts +0 -7
- package/dist/types/components/DonutChartRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/DownloadCsv.vue.d.ts +0 -20
- package/dist/types/components/DownloadCsv.vue.d.ts.map +0 -1
- package/dist/types/components/FallbackEntityLink.vue.d.ts +0 -9
- package/dist/types/components/FallbackEntityLink.vue.d.ts.map +0 -1
- package/dist/types/components/GeoMapRenderer.vue.d.ts +0 -12
- package/dist/types/components/GeoMapRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/GoldenSignalsRenderer.vue.d.ts +0 -7
- package/dist/types/components/GoldenSignalsRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/QueryDataProvider.vue.d.ts +0 -31
- package/dist/types/components/QueryDataProvider.vue.d.ts.map +0 -1
- package/dist/types/components/ScatterChartRenderer.vue.d.ts +0 -12
- package/dist/types/components/ScatterChartRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/SimpleChartRenderer.vue.d.ts +0 -7
- package/dist/types/components/SimpleChartRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/TableDataGridRenderer.vue.d.ts +0 -10
- package/dist/types/components/TableDataGridRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/TimeseriesChartRenderer.vue.d.ts +0 -13
- package/dist/types/components/TimeseriesChartRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/TopNTableRenderer.vue.d.ts +0 -7
- package/dist/types/components/TopNTableRenderer.vue.d.ts.map +0 -1
- package/dist/types/components/layout/DraggableGridLayout.vue.d.ts +0 -38
- package/dist/types/components/layout/DraggableGridLayout.vue.d.ts.map +0 -1
- package/dist/types/components/layout/GridLayout.vue.d.ts +0 -46
- package/dist/types/components/layout/GridLayout.vue.d.ts.map +0 -1
- package/dist/types/components/layout/grid-utils.d.ts +0 -3
- package/dist/types/components/layout/grid-utils.d.ts.map +0 -1
- package/dist/types/components/vue-json-csv/VueJsonCsv.vue.d.ts +0 -134
- package/dist/types/components/vue-json-csv/VueJsonCsv.vue.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -17
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useContextLinks.d.ts +0 -87
- package/dist/types/composables/useContextLinks.d.ts.map +0 -1
- package/dist/types/composables/useDashboardContext.d.ts +0 -21
- package/dist/types/composables/useDashboardContext.d.ts.map +0 -1
- package/dist/types/composables/useEvauluateFeatureFlag.d.ts +0 -4
- package/dist/types/composables/useEvauluateFeatureFlag.d.ts.map +0 -1
- package/dist/types/composables/useExportPdf.d.ts +0 -26
- package/dist/types/composables/useExportPdf.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/composables/useIssueQuery.d.ts +0 -6
- package/dist/types/composables/useIssueQuery.d.ts.map +0 -1
- package/dist/types/composables/useRequestQueue.d.ts +0 -3
- package/dist/types/composables/useRequestQueue.d.ts.map +0 -1
- package/dist/types/constants.d.ts +0 -16
- package/dist/types/constants.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -9
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/stores/tests/setupPiniaTestStore.d.ts +0 -13
- package/dist/types/stores/tests/setupPiniaTestStore.d.ts.map +0 -1
- package/dist/types/test-utils/dragutil.d.ts +0 -8
- package/dist/types/test-utils/dragutil.d.ts.map +0 -1
- package/dist/types/test-utils/index.d.ts +0 -2
- package/dist/types/test-utils/index.d.ts.map +0 -1
- package/dist/types/types/csv-export.d.ts +0 -20
- package/dist/types/types/csv-export.d.ts.map +0 -1
- package/dist/types/types/grid-layout-types.d.ts +0 -26
- package/dist/types/types/grid-layout-types.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -4
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/renderer-types.d.ts +0 -80
- package/dist/types/types/renderer-types.d.ts.map +0 -1
- package/dist/types/types/tile-events.d.ts +0 -10
- package/dist/types/types/tile-events.d.ts.map +0 -1
- package/dist/types/utils/configure-definition.d.ts +0 -10
- package/dist/types/utils/configure-definition.d.ts.map +0 -1
- package/dist/types/utils/duplicate-tile.d.ts +0 -11
- package/dist/types/utils/duplicate-tile.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/table-data-grid-renderer.d.ts +0 -48
- package/dist/types/utils/table-data-grid-renderer.d.ts.map +0 -1
- package/dist/types/utils/tile-definition.d.ts +0 -4
- package/dist/types/utils/tile-definition.d.ts.map +0 -1
- package/dist/types/utils/time-range-support.d.ts +0 -9
- package/dist/types/utils/time-range-support.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/dashboard-renderer",
|
|
3
|
-
"version": "8.26.
|
|
3
|
+
"version": "8.26.3-pr.3819.04ffe7eda.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/dashboard-renderer.umd.js",
|
|
6
6
|
"module": "./dist/dashboard-renderer.es.js",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@kong-ui-public/analytics-chart": "^10.31.
|
|
25
|
-
"@kong-ui-public/analytics-config-store": "^1.4.
|
|
26
|
-
"@kong-ui-public/analytics-geo-map": "^1.9.
|
|
27
|
-
"@kong-ui-public/analytics-metric-provider": "^11.6.
|
|
28
|
-
"@kong-ui-public/analytics-utilities": "^12.40.
|
|
29
|
-
"@kong-ui-public/entities-shared": "^3.67.
|
|
24
|
+
"@kong-ui-public/analytics-chart": "^10.31.3-pr.3819.04ffe7eda.0",
|
|
25
|
+
"@kong-ui-public/analytics-config-store": "^1.4.41-pr.3819.04ffe7eda.0",
|
|
26
|
+
"@kong-ui-public/analytics-geo-map": "^1.9.33-pr.3819.04ffe7eda.0",
|
|
27
|
+
"@kong-ui-public/analytics-metric-provider": "^11.6.45-pr.3819.04ffe7eda.0",
|
|
28
|
+
"@kong-ui-public/analytics-utilities": "^12.40.2-pr.3819.04ffe7eda.0",
|
|
29
|
+
"@kong-ui-public/entities-shared": "^3.67.5-pr.3819.04ffe7eda.0",
|
|
30
30
|
"@kong-ui-public/i18n": "^2.5.1",
|
|
31
|
-
"@kong-ui-public/sandbox-layout": "^2.7.
|
|
32
|
-
"@kong-ui-public/table-data-grid": "^0.5.
|
|
31
|
+
"@kong-ui-public/sandbox-layout": "^2.7.5-pr.3819.04ffe7eda.0",
|
|
32
|
+
"@kong-ui-public/table-data-grid": "^0.5.3-pr.3819.04ffe7eda.0",
|
|
33
33
|
"@kong/design-tokens": "3.3.1",
|
|
34
34
|
"@kong/icons": "^1.62.1",
|
|
35
35
|
"@kong/kongponents": "9.64.15",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"errorLimit": "1.1MB"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@kong-ui-public/analytics-chart": "^10.31.
|
|
63
|
-
"@kong-ui-public/analytics-config-store": "^1.4.
|
|
64
|
-
"@kong-ui-public/analytics-geo-map": "^1.9.
|
|
65
|
-
"@kong-ui-public/analytics-metric-provider": "^11.6.
|
|
66
|
-
"@kong-ui-public/analytics-utilities": "^12.40.
|
|
62
|
+
"@kong-ui-public/analytics-chart": "^10.31.3-pr.3819.04ffe7eda.0",
|
|
63
|
+
"@kong-ui-public/analytics-config-store": "^1.4.41-pr.3819.04ffe7eda.0",
|
|
64
|
+
"@kong-ui-public/analytics-geo-map": "^1.9.33-pr.3819.04ffe7eda.0",
|
|
65
|
+
"@kong-ui-public/analytics-metric-provider": "^11.6.45-pr.3819.04ffe7eda.0",
|
|
66
|
+
"@kong-ui-public/analytics-utilities": "^12.40.2-pr.3819.04ffe7eda.0",
|
|
67
67
|
"@kong-ui-public/i18n": "^2.5.1",
|
|
68
|
-
"@kong-ui-public/table-data-grid": "^0.5.
|
|
68
|
+
"@kong-ui-public/table-data-grid": "^0.5.3-pr.3819.04ffe7eda.0",
|
|
69
69
|
"@kong/icons": "^1.58.0",
|
|
70
70
|
"@kong/kongponents": "^9.63.0",
|
|
71
71
|
"swrv": "^1.2.0",
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as p, computed as o, openBlock as q, createBlock as C, withCtx as x, createVNode as g, unref as _ } from "vue";
|
|
2
|
-
import { _ as M } from "./index-DDeLeM1I.js";
|
|
3
|
-
import { exploreResultToCountryMetrics as E, AnalyticsGeoMap as O } from "@kong-ui-public/analytics-geo-map";
|
|
4
|
-
import { COUNTRIES as R } from "@kong-ui-public/analytics-utilities";
|
|
5
|
-
const U = /* @__PURE__ */ v({
|
|
6
|
-
__name: "GeoMapRenderer",
|
|
7
|
-
props: {
|
|
8
|
-
query: {},
|
|
9
|
-
context: {},
|
|
10
|
-
queryReady: { type: Boolean },
|
|
11
|
-
chartOptions: {},
|
|
12
|
-
height: {},
|
|
13
|
-
refreshCounter: {},
|
|
14
|
-
activeMetric: {},
|
|
15
|
-
headerDescription: {},
|
|
16
|
-
requestsLink: {},
|
|
17
|
-
exploreLink: {}
|
|
18
|
-
},
|
|
19
|
-
emits: ["bounds-change"],
|
|
20
|
-
setup(r, { emit: c }) {
|
|
21
|
-
const n = r, e = p(void 0), s = o(() => e.value ? E(e.value) : {}), a = o(() => e.value ? e.value?.meta.metric_names && e.value.meta.metric_names[0] : ""), m = o(() => n.query.limit !== void 0 && n.query.limit > 0 ? n.query.limit : R.length), l = o(() => {
|
|
22
|
-
if (!n.query.filters?.find(({ field: i, operator: u }) => i === "country_code" && (u === "not_empty" || u === "empty" || u === "in"))) {
|
|
23
|
-
const i = {
|
|
24
|
-
field: "country_code",
|
|
25
|
-
operator: "not_empty"
|
|
26
|
-
};
|
|
27
|
-
return {
|
|
28
|
-
...n.query,
|
|
29
|
-
filters: [
|
|
30
|
-
...n.query.filters || [],
|
|
31
|
-
i
|
|
32
|
-
]
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
return n.query;
|
|
36
|
-
}), y = o(() => {
|
|
37
|
-
if (!e.value)
|
|
38
|
-
return "";
|
|
39
|
-
const t = e?.value?.meta.metric_units, i = e?.value?.meta?.metric_names;
|
|
40
|
-
return t && i && t[i[0]];
|
|
41
|
-
}), d = (t) => {
|
|
42
|
-
e.value = t;
|
|
43
|
-
}, f = c, h = (t) => {
|
|
44
|
-
f("bounds-change", t);
|
|
45
|
-
};
|
|
46
|
-
return (t, i) => (q(), C(M, {
|
|
47
|
-
context: r.context,
|
|
48
|
-
"limit-override": m.value,
|
|
49
|
-
query: l.value,
|
|
50
|
-
"query-ready": r.queryReady,
|
|
51
|
-
"refresh-counter": r.refreshCounter,
|
|
52
|
-
onChartData: d
|
|
53
|
-
}, {
|
|
54
|
-
default: x(() => [
|
|
55
|
-
g(_(O), {
|
|
56
|
-
bounds: r.chartOptions.bounds,
|
|
57
|
-
"country-metrics": s.value,
|
|
58
|
-
"fit-to-country": r.chartOptions.fit_to_country,
|
|
59
|
-
metric: a.value,
|
|
60
|
-
"metric-unit": y.value,
|
|
61
|
-
"with-legend": r.chartOptions.legend || !1,
|
|
62
|
-
onBoundsChange: h
|
|
63
|
-
}, null, 8, ["bounds", "country-metrics", "fit-to-country", "metric", "metric-unit", "with-legend"])
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 8, ["context", "limit-override", "query", "query-ready", "refresh-counter"]));
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
U as default
|
|
71
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { C as _, a as s, D as R, b as T, c as e, d as L, e as i, E as I, F as o, f as r, G as D, I as N, T as S, g as A, i as F, l as d } from "./index-DDeLeM1I.js";
|
|
2
|
-
export {
|
|
3
|
-
_ as CP_ID_TOKEN,
|
|
4
|
-
s as CsvExportModal,
|
|
5
|
-
R as DASHBOARD_COLS,
|
|
6
|
-
T as DEFAULT_TILE_HEIGHT,
|
|
7
|
-
e as DEFAULT_TILE_REFRESH_INTERVAL_MS,
|
|
8
|
-
L as DashboardRenderer,
|
|
9
|
-
i as DashboardTilePreview,
|
|
10
|
-
I as ENTITY_ID_TOKEN,
|
|
11
|
-
o as FULLSCREEN_LONG_REFRESH_INTERVAL_MS,
|
|
12
|
-
r as FULLSCREEN_SHORT_REFRESH_INTERVAL_MS,
|
|
13
|
-
D as GridLayout,
|
|
14
|
-
N as INJECT_QUERY_PROVIDER,
|
|
15
|
-
S as TIMEFRAME_TOKEN,
|
|
16
|
-
A as configureAllowedDefinition,
|
|
17
|
-
F as isTimeRangeUnsupported,
|
|
18
|
-
d as limitTimeRange
|
|
19
|
-
};
|