@kong-ui-public/dashboard-renderer 8.12.15 → 8.12.16
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/README.md +20 -16
- package/dist/{GeoMapRenderer-azbs6_67.js → GeoMapRenderer-CDCvLcNv.js} +1 -1
- package/dist/dashboard-renderer.es.js +1 -1
- package/dist/dashboard-renderer.umd.js +5 -5
- package/dist/{index-B-sUo98c.js → index-DxrhvuyE.js} +1171 -1195
- package/dist/style.css +1 -1
- package/dist/types/components/DashboardRenderer.vue.d.ts +18 -44
- package/dist/types/components/DashboardRenderer.vue.d.ts.map +1 -1
- package/dist/types/components/DashboardTile.vue.d.ts +18 -12
- package/dist/types/components/DashboardTile.vue.d.ts.map +1 -1
- package/dist/types/components/DashboardTilePreview.vue.d.ts.map +1 -1
- package/dist/types/composables/useContextLinks.d.ts +4 -4
- package/dist/types/composables/useContextLinks.d.ts.map +1 -1
- package/dist/types/utils/configure-definition.d.ts.map +1 -1
- package/dist/types/utils/duplicate-tile.d.ts +1 -9
- package/dist/types/utils/duplicate-tile.d.ts.map +1 -1
- package/dist/types/utils/tile-definition.d.ts +3 -0
- package/dist/types/utils/tile-definition.d.ts.map +1 -0
- package/package.json +15 -15
|
@@ -30,7 +30,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
30
30
|
operator: "empty" | "not_empty";
|
|
31
31
|
})[] | undefined;
|
|
32
32
|
template_id?: string | null | undefined;
|
|
33
|
-
tiles:
|
|
33
|
+
tiles: {
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
type: "chart";
|
|
36
36
|
definition: {
|
|
@@ -236,22 +236,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
236
236
|
bounds?: [number, number][] | undefined;
|
|
237
237
|
type: "choropleth_map";
|
|
238
238
|
};
|
|
239
|
-
}
|
|
240
|
-
layout: {
|
|
241
|
-
position: {
|
|
242
|
-
col: number;
|
|
243
|
-
row: number;
|
|
244
|
-
};
|
|
245
|
-
size: {
|
|
246
|
-
fit_to_content?: boolean | undefined;
|
|
247
|
-
cols: number;
|
|
248
|
-
rows: number;
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
} | {
|
|
252
|
-
id?: string | undefined;
|
|
253
|
-
type: "table";
|
|
254
|
-
definition: {
|
|
239
|
+
} | {
|
|
255
240
|
query: {
|
|
256
241
|
filters?: ({
|
|
257
242
|
field: string;
|
|
@@ -267,8 +252,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
267
252
|
page_size?: number | undefined;
|
|
268
253
|
datasource: "platform";
|
|
269
254
|
};
|
|
270
|
-
|
|
271
|
-
|
|
255
|
+
chart: {
|
|
256
|
+
chart_title?: string | undefined;
|
|
257
|
+
type: "table";
|
|
272
258
|
};
|
|
273
259
|
};
|
|
274
260
|
layout: {
|
|
@@ -282,7 +268,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
282
268
|
rows: number;
|
|
283
269
|
};
|
|
284
270
|
};
|
|
285
|
-
}
|
|
271
|
+
}[];
|
|
286
272
|
}) => any;
|
|
287
273
|
} & {
|
|
288
274
|
"edit-tile": (tile: GridTile<{
|
|
@@ -504,8 +490,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
504
490
|
page_size?: number | undefined;
|
|
505
491
|
datasource: "platform";
|
|
506
492
|
};
|
|
507
|
-
|
|
508
|
-
|
|
493
|
+
chart: {
|
|
494
|
+
chart_title?: string | undefined;
|
|
495
|
+
type: "table";
|
|
509
496
|
};
|
|
510
497
|
}>) => any;
|
|
511
498
|
"tile-time-range-zoom": (newTimeRange: TileZoomEvent) => any;
|
|
@@ -729,8 +716,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
729
716
|
page_size?: number | undefined;
|
|
730
717
|
datasource: "platform";
|
|
731
718
|
};
|
|
732
|
-
|
|
733
|
-
|
|
719
|
+
chart: {
|
|
720
|
+
chart_title?: string | undefined;
|
|
721
|
+
type: "table";
|
|
734
722
|
};
|
|
735
723
|
}>) => any) | undefined;
|
|
736
724
|
"onTile-time-range-zoom"?: ((newTimeRange: TileZoomEvent) => any) | undefined;
|
|
@@ -746,7 +734,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
746
734
|
operator: "empty" | "not_empty";
|
|
747
735
|
})[] | undefined;
|
|
748
736
|
template_id?: string | null | undefined;
|
|
749
|
-
tiles:
|
|
737
|
+
tiles: {
|
|
750
738
|
id?: string | undefined;
|
|
751
739
|
type: "chart";
|
|
752
740
|
definition: {
|
|
@@ -952,22 +940,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
952
940
|
bounds?: [number, number][] | undefined;
|
|
953
941
|
type: "choropleth_map";
|
|
954
942
|
};
|
|
955
|
-
}
|
|
956
|
-
layout: {
|
|
957
|
-
position: {
|
|
958
|
-
col: number;
|
|
959
|
-
row: number;
|
|
960
|
-
};
|
|
961
|
-
size: {
|
|
962
|
-
fit_to_content?: boolean | undefined;
|
|
963
|
-
cols: number;
|
|
964
|
-
rows: number;
|
|
965
|
-
};
|
|
966
|
-
};
|
|
967
|
-
} | {
|
|
968
|
-
id?: string | undefined;
|
|
969
|
-
type: "table";
|
|
970
|
-
definition: {
|
|
943
|
+
} | {
|
|
971
944
|
query: {
|
|
972
945
|
filters?: ({
|
|
973
946
|
field: string;
|
|
@@ -983,8 +956,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
983
956
|
page_size?: number | undefined;
|
|
984
957
|
datasource: "platform";
|
|
985
958
|
};
|
|
986
|
-
|
|
987
|
-
|
|
959
|
+
chart: {
|
|
960
|
+
chart_title?: string | undefined;
|
|
961
|
+
type: "table";
|
|
988
962
|
};
|
|
989
963
|
};
|
|
990
964
|
layout: {
|
|
@@ -998,7 +972,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
998
972
|
rows: number;
|
|
999
973
|
};
|
|
1000
974
|
};
|
|
1001
|
-
}
|
|
975
|
+
}[];
|
|
1002
976
|
}) => any) | undefined;
|
|
1003
977
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1004
978
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DashboardRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardRenderer.vue"],"names":[],"mappings":"AAmWA,OAAO,KAAK,EAAE,wBAAwB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACjF,OAAO,KAAK,EAIV,eAAe,EAIhB,MAAM,qCAAqC,CAAA;AAgB5C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,wBAAwB,CAAA;IACjC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AA0MF,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,eAAe,CAAC;CAC3B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAwNxD,QAAA,IAAI,OAAO,IAAU,EAAuB,QAAQ,oBAAW,EAAE,QAAQ,IAAY,CAAE;AACvF,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AASxD,QAAA,MAAM,UAAU;;;;;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CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -243,8 +243,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
243
243
|
page_size?: number | undefined;
|
|
244
244
|
datasource: "platform";
|
|
245
245
|
};
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
chart: {
|
|
247
|
+
chart_title?: string | undefined;
|
|
248
|
+
type: "table";
|
|
248
249
|
};
|
|
249
250
|
}) => any;
|
|
250
251
|
"duplicate-tile": (tile: {
|
|
@@ -466,8 +467,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
466
467
|
page_size?: number | undefined;
|
|
467
468
|
datasource: "platform";
|
|
468
469
|
};
|
|
469
|
-
|
|
470
|
-
|
|
470
|
+
chart: {
|
|
471
|
+
chart_title?: string | undefined;
|
|
472
|
+
type: "table";
|
|
471
473
|
};
|
|
472
474
|
}) => any;
|
|
473
475
|
"remove-tile": (tile: {
|
|
@@ -689,8 +691,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
689
691
|
page_size?: number | undefined;
|
|
690
692
|
datasource: "platform";
|
|
691
693
|
};
|
|
692
|
-
|
|
693
|
-
|
|
694
|
+
chart: {
|
|
695
|
+
chart_title?: string | undefined;
|
|
696
|
+
type: "table";
|
|
694
697
|
};
|
|
695
698
|
}) => any;
|
|
696
699
|
"tile-time-range-zoom": (newTimeRange: TileZoomEvent) => any;
|
|
@@ -916,8 +919,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
916
919
|
page_size?: number | undefined;
|
|
917
920
|
datasource: "platform";
|
|
918
921
|
};
|
|
919
|
-
|
|
920
|
-
|
|
922
|
+
chart: {
|
|
923
|
+
chart_title?: string | undefined;
|
|
924
|
+
type: "table";
|
|
921
925
|
};
|
|
922
926
|
}) => any) | undefined;
|
|
923
927
|
"onDuplicate-tile"?: ((tile: {
|
|
@@ -1139,8 +1143,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
1139
1143
|
page_size?: number | undefined;
|
|
1140
1144
|
datasource: "platform";
|
|
1141
1145
|
};
|
|
1142
|
-
|
|
1143
|
-
|
|
1146
|
+
chart: {
|
|
1147
|
+
chart_title?: string | undefined;
|
|
1148
|
+
type: "table";
|
|
1144
1149
|
};
|
|
1145
1150
|
}) => any) | undefined;
|
|
1146
1151
|
"onRemove-tile"?: ((tile: {
|
|
@@ -1362,8 +1367,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
1362
1367
|
page_size?: number | undefined;
|
|
1363
1368
|
datasource: "platform";
|
|
1364
1369
|
};
|
|
1365
|
-
|
|
1366
|
-
|
|
1370
|
+
chart: {
|
|
1371
|
+
chart_title?: string | undefined;
|
|
1372
|
+
type: "table";
|
|
1367
1373
|
};
|
|
1368
1374
|
}) => any) | undefined;
|
|
1369
1375
|
"onTile-time-range-zoom"?: ((newTimeRange: TileZoomEvent) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardTile.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardTile.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DashboardTile.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardTile.vue"],"names":[],"mappings":"AAorBA,OAAO,KAAK,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACtG,OAAO,KAAK,EAOV,eAAe,EAEf,UAAU,EACV,cAAc,EACf,MAAM,qCAAqC,CAAA;AAK5C,OAAO,gDAAgD,CAAA;AACvD,OAAO,0DAA0D,CAAA;AAoBjE,KAAK,WAAW,GAAG;IACjB,OAAO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
{"version":3,"file":"DashboardTilePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardTilePreview.vue"],"names":[],"mappings":"AAsIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE9F,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EACf,cAAc,EACf,MAAM,qCAAqC,CAAA;AAS5C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,wBAAwB,CAAA;IACjC,UAAU,EAAE,cAAc,CAAA;IAC1B,aAAa,CAAC,EAAE,UAAU,EAAE,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AA2MF,QAAA,MAAM,YAAY;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { DeepReadonly, Ref } from 'vue';
|
|
2
|
-
import type { AiExploreQuery, AllFilters, AnalyticsBridge, ChartTileDefinition, ExploreQuery, ExploreResultV4, TimeRangeV4 } from '@kong-ui-public/analytics-utilities';
|
|
2
|
+
import type { AiExploreQuery, AllFilters, AnalyticsBridge, ChartTileDefinition, ExploreQuery, ExploreResultV4, TableChartTileDefinition, TimeRangeV4, ValidDashboardTableQuery } from '@kong-ui-public/analytics-utilities';
|
|
3
3
|
import type { DashboardRendererContextInternal } from '../types';
|
|
4
4
|
import type { ExternalLink } from '@kong-ui-public/analytics-chart';
|
|
5
5
|
export default function useContextLinks({ queryBridge, context, definition, chartData, }: {
|
|
6
6
|
queryBridge: AnalyticsBridge | undefined;
|
|
7
7
|
context: Readonly<Ref<DeepReadonly<DashboardRendererContextInternal>>>;
|
|
8
|
-
definition: Readonly<Ref<
|
|
8
|
+
definition: Readonly<Ref<ChartTileDefinition | TableChartTileDefinition>>;
|
|
9
9
|
chartData: Readonly<Ref<DeepReadonly<ExploreResultV4 | undefined>>>;
|
|
10
10
|
}): {
|
|
11
11
|
exploreLinkKebabMenu: import("vue").ComputedRef<string>;
|
|
@@ -23,7 +23,7 @@ export default function useContextLinks({ queryBridge, context, definition, char
|
|
|
23
23
|
} | undefined, ExternalLink | {
|
|
24
24
|
href: string;
|
|
25
25
|
} | undefined>;
|
|
26
|
-
buildExploreQuery: (timeRange: TimeRangeV4, filters:
|
|
26
|
+
buildExploreQuery: (timeRange: TimeRangeV4, filters: AllFilters[]) => ExploreQuery | AiExploreQuery;
|
|
27
27
|
buildRequestsQueryZoomActions: (timeRange: TimeRangeV4, filters: DeepReadonly<AllFilters[]>) => {
|
|
28
28
|
filter: readonly ({
|
|
29
29
|
readonly operator: import("@kong-ui-public/analytics-utilities").ExploreFilterTypesV2;
|
|
@@ -67,7 +67,7 @@ export default function useContextLinks({ queryBridge, context, definition, char
|
|
|
67
67
|
end: Date | undefined;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
buildExploreLink: (exploreQuery: ExploreQuery | AiExploreQuery) => string;
|
|
70
|
+
buildExploreLink: (exploreQuery: ExploreQuery | AiExploreQuery | DeepReadonly<ValidDashboardTableQuery>) => string;
|
|
71
71
|
buildRequestLink: (requestQuery: DeepReadonly<{
|
|
72
72
|
filter: AllFilters[];
|
|
73
73
|
timeframe: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useContextLinks.d.ts","sourceRoot":"","sources":["../../../src/composables/useContextLinks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,KAAK,EAAyB,cAAc,EAAE,UAAU,EAAE,eAAe,EAAE,mBAAmB,EAAuB,YAAY,EAAE,eAAe,EAA4D,WAAW,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"useContextLinks.d.ts","sourceRoot":"","sources":["../../../src/composables/useContextLinks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EA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":"configure-definition.d.ts","sourceRoot":"","sources":["../../../src/utils/configure-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"configure-definition.d.ts","sourceRoot":"","sources":["../../../src/utils/configure-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAEhB,MAAM,qCAAqC,CAAA;AA8G5C;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,QAAQ,eAAe,EACvB,0BAA0B,OAAO,KAChC,eAsBF,CAAA"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import type { GridTile } from '../types';
|
|
2
2
|
import type { TileConfig, TileDefinition } from '@kong-ui-public/analytics-utilities';
|
|
3
|
-
/**
|
|
4
|
-
* Creates a table tile copy with a new id, origin position, preserved size, and
|
|
5
|
-
* a copied table config whose title is prefixed when present.
|
|
6
|
-
*
|
|
7
|
-
* @param tile The existing dashboard grid tile to duplicate.
|
|
8
|
-
* @returns A table tile config ready to be inserted into the dashboard.
|
|
9
|
-
*/
|
|
10
|
-
export declare const duplicateTableTile: (tile: GridTile<TileDefinition>) => TileConfig;
|
|
11
3
|
/**
|
|
12
4
|
* Creates a chart tile copy with a new id, origin position, preserved size, and
|
|
13
|
-
* copied chart metadata.
|
|
5
|
+
* copied chart metadata. Chart titles are prefixed when supported.
|
|
14
6
|
*
|
|
15
7
|
* @param tile The existing dashboard grid tile to duplicate.
|
|
16
8
|
* @returns A chart tile config ready to be inserted into the dashboard.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicate-tile.d.ts","sourceRoot":"","sources":["../../../src/utils/duplicate-tile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"duplicate-tile.d.ts","sourceRoot":"","sources":["../../../src/utils/duplicate-tile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACf,MAAM,qCAAqC,CAAA;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,QAAQ,CAAC,cAAc,CAAC,KAAG,UAwBnE,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { TableChartTileDefinition, TileDefinition } from '@kong-ui-public/analytics-utilities';
|
|
2
|
+
export declare const isTableChartDefinition: (definition: TileDefinition | undefined) => definition is TableChartTileDefinition;
|
|
3
|
+
//# sourceMappingURL=tile-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tile-definition.d.ts","sourceRoot":"","sources":["../../../src/utils/tile-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,cAAc,EACf,MAAM,qCAAqC,CAAA;AAE5C,eAAO,MAAM,sBAAsB,GACjC,YAAY,cAAc,GAAG,SAAS,KACrC,UAAU,IAAI,wBAEhB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/dashboard-renderer",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/dashboard-renderer.umd.js",
|
|
6
6
|
"module": "./dist/dashboard-renderer.es.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"pinia": ">= 3.0.4 < 4",
|
|
30
30
|
"swrv": "^1.2.0",
|
|
31
31
|
"vue": "^3.5.35",
|
|
32
|
-
"@kong-ui-public/analytics-
|
|
33
|
-
"@kong-ui-public/analytics-
|
|
34
|
-
"@kong-ui-public/analytics-
|
|
35
|
-
"@kong-ui-public/analytics-
|
|
36
|
-
"@kong-ui-public/analytics-
|
|
37
|
-
"@kong-ui-public/i18n": "^2.4.6",
|
|
32
|
+
"@kong-ui-public/analytics-config-store": "^1.3.31",
|
|
33
|
+
"@kong-ui-public/analytics-chart": "^10.19.7",
|
|
34
|
+
"@kong-ui-public/analytics-geo-map": "^1.5.48",
|
|
35
|
+
"@kong-ui-public/analytics-metric-provider": "^11.4.4",
|
|
36
|
+
"@kong-ui-public/analytics-utilities": "^12.19.5",
|
|
38
37
|
"@kong-ui-public/entities-shared": "^3.53.4",
|
|
39
|
-
"@kong-ui-public/
|
|
40
|
-
"@kong-ui-public/table-data-grid": "^0.2.1"
|
|
38
|
+
"@kong-ui-public/i18n": "^2.4.6",
|
|
39
|
+
"@kong-ui-public/table-data-grid": "^0.2.1",
|
|
40
|
+
"@kong-ui-public/sandbox-layout": "^2.4.25"
|
|
41
41
|
},
|
|
42
42
|
"repository": {
|
|
43
43
|
"type": "git",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"@kong/kongponents": "^9.59.0",
|
|
62
62
|
"swrv": "^1.2.0",
|
|
63
63
|
"vue": ">= 3.3.13 < 4",
|
|
64
|
-
"@kong-ui-public/analytics-chart": "^10.19.
|
|
65
|
-
"@kong-ui-public/analytics-
|
|
66
|
-
"@kong-ui-public/analytics-
|
|
64
|
+
"@kong-ui-public/analytics-chart": "^10.19.7",
|
|
65
|
+
"@kong-ui-public/analytics-metric-provider": "^11.4.4",
|
|
66
|
+
"@kong-ui-public/analytics-config-store": "^1.3.31",
|
|
67
|
+
"@kong-ui-public/analytics-geo-map": "^1.5.48",
|
|
68
|
+
"@kong-ui-public/analytics-utilities": "^12.19.5",
|
|
67
69
|
"@kong-ui-public/i18n": "^2.4.6",
|
|
68
|
-
"@kong-ui-public/table-data-grid": "^0.2.1"
|
|
69
|
-
"@kong-ui-public/analytics-utilities": "^12.19.4",
|
|
70
|
-
"@kong-ui-public/analytics-geo-map": "^1.5.47"
|
|
70
|
+
"@kong-ui-public/table-data-grid": "^0.2.1"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"gridstack": "^11.5.1",
|