@kong-ui-public/dashboard-renderer 8.15.23 → 8.16.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.
@@ -0,0 +1,16 @@
1
+ import { type ExploreExportState } from '@kong-ui-public/analytics-utilities';
2
+ type __VLS_Props = {
3
+ exportState: ExploreExportState;
4
+ filename: string;
5
+ modalDescription?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ closeModal: (...args: any[]) => void;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onCloseModal?: ((...args: any[]) => any) | undefined;
11
+ }>, {
12
+ modalDescription: string;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=CsvExportModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CsvExportModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CsvExportModal.vue"],"names":[],"mappings":"AAqTA,OAAO,EAIL,KAAK,kBAAkB,EAIxB,MAAM,qCAAqC,CAAA;AAO5C,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAC;AAwbF,QAAA,MAAM,YAAY;;;;;sBAzbG,MAAM;6EA6bzB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardTile.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DashboardTile.vue"],"names":[],"mappings":"AAgsBA,OAAO,KAAK,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACtG,OAAO,KAAK,EAOV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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAhTvC,MAAM;iBAED,OAAO;qBACH,OAAO;iBAEX,OAAO;cAEV,UAAU,CAAC,MAAM,CAAC;6EAu3B7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,20 @@
1
+ import type { CsvData } from '../types/csv-export';
2
+ type __VLS_Props = {
3
+ rows: CsvData;
4
+ headers: Record<string, string>;
5
+ filename: string;
6
+ };
7
+ declare var __VLS_7: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_7) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=DownloadCsv.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadCsv.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DownloadCsv.vue"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAGlD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC;AA6CF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,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"}
@@ -0,0 +1,134 @@
1
+ import { type PropType } from 'vue';
2
+ import { type CsvData, type CsvKeyValuePair } from '../../types/csv-export';
3
+ declare var __VLS_1: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_1) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ data: {
9
+ type: PropType<CsvData>;
10
+ required: true;
11
+ };
12
+ fields: {
13
+ type: {
14
+ (arrayLength: number): string[];
15
+ (...items: string[]): string[];
16
+ new (arrayLength: number): string[];
17
+ new (...items: string[]): string[];
18
+ isArray(arg: any): arg is any[];
19
+ readonly prototype: any[];
20
+ from<T>(arrayLike: ArrayLike<T>): T[];
21
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
22
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
23
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
24
+ of<T>(...items: T[]): T[];
25
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
26
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
27
+ readonly [Symbol.species]: ArrayConstructor;
28
+ };
29
+ required: false;
30
+ default: null;
31
+ };
32
+ labels: {
33
+ type: PropType<CsvKeyValuePair> | null;
34
+ required: false;
35
+ default: null;
36
+ };
37
+ filename: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ delimiter: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ required: false;
45
+ };
46
+ separatorExcel: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ encoding: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ testing: {
55
+ type: BooleanConstructor;
56
+ required: false;
57
+ default: boolean;
58
+ };
59
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
60
+ "export-started": (data: CsvData) => any;
61
+ "export-finished": (data: string) => any;
62
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
+ data: {
64
+ type: PropType<CsvData>;
65
+ required: true;
66
+ };
67
+ fields: {
68
+ type: {
69
+ (arrayLength: number): string[];
70
+ (...items: string[]): string[];
71
+ new (arrayLength: number): string[];
72
+ new (...items: string[]): string[];
73
+ isArray(arg: any): arg is any[];
74
+ readonly prototype: any[];
75
+ from<T>(arrayLike: ArrayLike<T>): T[];
76
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
77
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
78
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
79
+ of<T>(...items: T[]): T[];
80
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
81
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
82
+ readonly [Symbol.species]: ArrayConstructor;
83
+ };
84
+ required: false;
85
+ default: null;
86
+ };
87
+ labels: {
88
+ type: PropType<CsvKeyValuePair> | null;
89
+ required: false;
90
+ default: null;
91
+ };
92
+ filename: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ delimiter: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ required: false;
100
+ };
101
+ separatorExcel: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ encoding: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ testing: {
110
+ type: BooleanConstructor;
111
+ required: false;
112
+ default: boolean;
113
+ };
114
+ }>> & Readonly<{
115
+ "onExport-started"?: ((data: CsvData) => any) | undefined;
116
+ "onExport-finished"?: ((data: string) => any) | undefined;
117
+ }>, {
118
+ fields: string[];
119
+ labels: CsvKeyValuePair;
120
+ filename: string;
121
+ delimiter: string;
122
+ separatorExcel: boolean;
123
+ encoding: string;
124
+ testing: boolean;
125
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
126
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
127
+ declare const _default: typeof __VLS_export;
128
+ export default _default;
129
+ type __VLS_WithSlots<T, S> = T & {
130
+ new (): {
131
+ $slots: S;
132
+ };
133
+ };
134
+ //# sourceMappingURL=VueJsonCsv.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VueJsonCsv.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/vue-json-csv/VueJsonCsv.vue"],"names":[],"mappings":"AAqJA,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAG/D,OAAO,EAAa,KAAK,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAiKtF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;cAIG,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAShB,QAAQ,CAAC,eAAe,CAAC,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cATjC,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAShB,QAAQ,CAAC,eAAe,CAAC,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA2BlD,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,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"}
@@ -1,7 +1,8 @@
1
1
  import DashboardRenderer from './components/DashboardRenderer.vue';
2
2
  import GridLayout from './components/layout/GridLayout.vue';
3
3
  import DashboardTilePreview from './components/DashboardTilePreview.vue';
4
- export { DashboardRenderer, GridLayout, DashboardTilePreview };
4
+ import CsvExportModal from './components/CsvExportModal.vue';
5
+ export { DashboardRenderer, GridLayout, DashboardTilePreview, CsvExportModal };
5
6
  export * from './types';
6
7
  export * from './constants';
7
8
  export * from './utils';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,UAAU,MAAM,oCAAoC,CAAA;AAC3D,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAA;AAE9D,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,UAAU,MAAM,oCAAoC,CAAA;AAC3D,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AACxE,OAAO,cAAc,MAAM,iCAAiC,CAAA;AAE5D,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,oBAAoB,EAAE,cAAc,EAAE,CAAA;AAE9E,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
@@ -0,0 +1,20 @@
1
+ export interface CsvKeyValuePair {
2
+ [key: string]: string;
3
+ }
4
+ export declare enum ValidType {
5
+ String = "string",
6
+ Number = "number",
7
+ Boolean = "boolean",
8
+ Object = "object",
9
+ Undefined = "undefined"
10
+ }
11
+ export interface Header {
12
+ label: string;
13
+ key: string;
14
+ }
15
+ export interface TimeseriesColumn {
16
+ label: string;
17
+ key: string;
18
+ }
19
+ export type CsvData = CsvKeyValuePair[];
20
+ //# sourceMappingURL=csv-export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"csv-export.d.ts","sourceRoot":"","sources":["../../../src/types/csv-export.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;AAED,oBAAY,SAAS;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,OAAO,GAAG,eAAe,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/dashboard-renderer",
3
- "version": "8.15.23",
3
+ "version": "8.16.0",
4
4
  "type": "module",
5
5
  "main": "./dist/dashboard-renderer.umd.js",
6
6
  "module": "./dist/dashboard-renderer.es.js",
@@ -24,20 +24,22 @@
24
24
  "@kong/design-tokens": "3.1.5",
25
25
  "@kong/icons": "^1.62.0",
26
26
  "@kong/kongponents": "9.63.0",
27
+ "@types/file-saver": "^2.0.7",
28
+ "@types/papaparse": "^5.5.2",
27
29
  "ajv": "^8.20.0",
28
30
  "cypress-real-events": "^1.15.0",
29
31
  "pinia": ">= 3.0.4 < 4",
30
32
  "swrv": "^1.2.0",
31
33
  "vue": "^3.5.35",
32
- "@kong-ui-public/analytics-chart": "^10.21.12",
33
- "@kong-ui-public/analytics-geo-map": "^1.8.10",
34
- "@kong-ui-public/analytics-config-store": "^1.4.7",
35
- "@kong-ui-public/analytics-metric-provider": "^11.6.9",
36
- "@kong-ui-public/analytics-utilities": "^12.24.2",
34
+ "@kong-ui-public/analytics-chart": "^10.22.0",
35
+ "@kong-ui-public/analytics-config-store": "^1.4.8",
36
+ "@kong-ui-public/analytics-metric-provider": "^11.6.10",
37
37
  "@kong-ui-public/entities-shared": "^3.57.10",
38
+ "@kong-ui-public/analytics-geo-map": "^1.8.11",
39
+ "@kong-ui-public/analytics-utilities": "^12.25.0",
38
40
  "@kong-ui-public/i18n": "^2.5.0",
39
- "@kong-ui-public/table-data-grid": "^0.3.8",
40
- "@kong-ui-public/sandbox-layout": "^2.6.8"
41
+ "@kong-ui-public/sandbox-layout": "^2.6.8",
42
+ "@kong-ui-public/table-data-grid": "^0.3.8"
41
43
  },
42
44
  "repository": {
43
45
  "type": "git",
@@ -54,26 +56,29 @@
54
56
  "extends": "../../../package.json"
55
57
  },
56
58
  "distSizeChecker": {
57
- "errorLimit": "1MB"
59
+ "errorLimit": "1.1MB"
58
60
  },
59
61
  "peerDependencies": {
60
62
  "@kong/icons": "^1.58.0",
61
63
  "@kong/kongponents": "^9.63.0",
62
64
  "swrv": "^1.2.0",
63
65
  "vue": ">= 3.3.13 < 4",
64
- "@kong-ui-public/analytics-chart": "^10.21.12",
65
- "@kong-ui-public/analytics-config-store": "^1.4.7",
66
- "@kong-ui-public/analytics-geo-map": "^1.8.10",
67
- "@kong-ui-public/analytics-metric-provider": "^11.6.9",
68
- "@kong-ui-public/analytics-utilities": "^12.24.2",
66
+ "@kong-ui-public/analytics-chart": "^10.22.0",
67
+ "@kong-ui-public/analytics-config-store": "^1.4.8",
68
+ "@kong-ui-public/analytics-geo-map": "^1.8.11",
69
+ "@kong-ui-public/analytics-metric-provider": "^11.6.10",
70
+ "@kong-ui-public/analytics-utilities": "^12.25.0",
69
71
  "@kong-ui-public/i18n": "^2.5.0",
70
72
  "@kong-ui-public/table-data-grid": "^0.3.8"
71
73
  },
72
74
  "dependencies": {
73
75
  "@zumer/snapdom": "^2.6.0",
76
+ "date-fns-tz": "^3.2.0",
77
+ "file-saver": "^2.0.5",
74
78
  "gridstack": "^11.5.1",
75
79
  "jspdf": "^4.2.1",
76
80
  "p-queue": "^9.3.1",
81
+ "papaparse": "^5.5.3",
77
82
  "@kong-ui-public/core": "^1.13.5"
78
83
  },
79
84
  "scripts": {