@kong-ui-public/dashboard-renderer 10.0.3 → 10.0.4
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/dist/{GeoMapRenderer-DBkMPNa3.js → GeoMapRenderer-C6jqGl_A.js} +1 -1
- package/dist/dashboard-renderer.es.js +17 -17
- package/dist/dashboard-renderer.umd.js +13 -13
- package/dist/{index-DirmsHeS.js → index-BK-tZyzO.js} +4074 -4082
- package/dist/style.css +1 -1
- package/dist/types/components/DashboardRenderer.vue.d.ts.map +1 -1
- package/dist/types/components/DashboardTile.vue.d.ts.map +1 -1
- package/dist/types/components/layout/DraggableGridLayout.vue.d.ts +1 -0
- package/dist/types/components/layout/DraggableGridLayout.vue.d.ts.map +1 -1
- package/dist/types/components/layout/grid-utils.d.ts +25 -0
- package/dist/types/components/layout/grid-utils.d.ts.map +1 -1
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/constants.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/components/layout/GridLayout.vue.d.ts +0 -47
- package/dist/types/components/layout/GridLayout.vue.d.ts.map +0 -1
|
@@ -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":"AAoaA,OAAO,KAAK,EAAE,wBAAwB,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACjF,OAAO,KAAK,EAIV,eAAe,EAIhB,MAAM,qCAAqC,CAAA;AAiB5C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,wBAAwB,CAAA;IACjC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAmQF,KAAK,gBAA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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 +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":"AAm2BA,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAC9F,OAAO,KAAK,EAQV,eAAe,EAEf,UAAU,EACV,cAAc,EAEf,MAAM,qCAAqC,CAAA;AAK5C,OAAO,gDAAgD,CAAA;AACvD,OAAO,0DAA0D,CAAA;AA2BjE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,wBAAwB,CAAA;IACjC,UAAU,EAAE,cAAc,CAAA;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;CAC9B,CAAC;AAgcF,KAAK,gBAAgB,GAAG;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFA6pBhD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -10,6 +10,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
10
10
|
tiles: Array<GridTile<T>>;
|
|
11
11
|
tileHeight?: number;
|
|
12
12
|
columns?: number;
|
|
13
|
+
editable?: boolean;
|
|
13
14
|
} & {
|
|
14
15
|
"onUpdate-tiles"?: ((tiles: GridTile<T>[]) => any) | undefined;
|
|
15
16
|
}> & (typeof globalThis extends {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableGridLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/DraggableGridLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DraggableGridLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/DraggableGridLayout.vue"],"names":[],"mappings":"AAwUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAQzC,OAAO,kCAAkC,CAAA;AACzC,OAAO,wCAAwC,CAAA;AAE/C,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;IACzC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IAC3C,KAAK,EAAE,KAAK,CAA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AC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
1
|
import type { GridTile } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Marks fit content rows as 'auto', every other row is tileHeight px.
|
|
4
|
+
* A fit content row is one where every tile starting in it is 1 row tall and has
|
|
5
|
+
* fit_to_content. A tile with fit_to_content next to a regular tile keeps the full row height.
|
|
6
|
+
*/
|
|
2
7
|
export declare const calculateRowDefs: (tileHeight: number, tiles: Array<GridTile<unknown>>) => string[];
|
|
8
|
+
/** The tile's position in GridStack cells */
|
|
9
|
+
export interface CellBox {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
w: number;
|
|
13
|
+
h: number;
|
|
14
|
+
}
|
|
15
|
+
interface LayoutOptions {
|
|
16
|
+
cellsPerRow: number;
|
|
17
|
+
columns: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Lays out view mode by dashboard row. Each row starts where the row above ends, so tiles keep their order,
|
|
21
|
+
* and GridStack never has to resolve a collision (which can reorder tiles).
|
|
22
|
+
*
|
|
23
|
+
* @param rowDefs from calculateRowDefs, 'auto' marks a fit content row
|
|
24
|
+
* @param measured tile id mapped to its content height in cells
|
|
25
|
+
*/
|
|
26
|
+
export declare const layoutRows: (tiles: Array<GridTile<unknown>>, rowDefs: string[], measured: ReadonlyMap<string, number>, { cellsPerRow, columns }: LayoutOptions) => Map<string, CellBox>;
|
|
27
|
+
export {};
|
|
3
28
|
//# sourceMappingURL=grid-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-utils.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,EAAE,OAAO,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,KAAG,MAAM,EA4B5F,CAAA"}
|
|
1
|
+
{"version":3,"file":"grid-utils.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,EAAE,OAAO,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,KAAG,MAAM,EA4B5F,CAAA;AAED,6CAA6C;AAC7C,MAAM,WAAW,OAAO;IACtB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,UAAU,aAAa;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAChB;AAkDD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAC/B,SAAS,MAAM,EAAE,EACjB,UAAU,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EACrC,0BAA0B,aAAa,KACtC,GAAG,CAAC,MAAM,EAAE,OAAO,CAyBrB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const DEFAULT_TILE_HEIGHT = 170;
|
|
2
2
|
export declare const DASHBOARD_COLS = 6;
|
|
3
|
+
export declare const CELLS_PER_ROW = 20;
|
|
3
4
|
export declare const INJECT_QUERY_PROVIDER = "analytics-query-provider";
|
|
4
5
|
export declare const INJECT_DASHBOARD_COORDINATOR = "analytics-dashboard-coordinator";
|
|
5
6
|
export declare const ENTITY_ID_TOKEN = "{entity-id}";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,MAAM,CAAA;AACtC,eAAO,MAAM,cAAc,IAAI,CAAA;AAC/B,eAAO,MAAM,qBAAqB,6BAA6B,CAAA;AAC/D,eAAO,MAAM,4BAA4B,oCAAoC,CAAA;AAC7E,eAAO,MAAM,eAAe,gBAAgB,CAAA;AAC5C,eAAO,MAAM,WAAW,YAAY,CAAA;AACpC,eAAO,MAAM,eAAe,gBAAgB,CAAA;AAC5C,eAAO,MAAM,gCAAgC,QAAY,CAAA;AAEzD;;GAEG;AACH,eAAO,MAAM,oCAAoC,SAAS,CAAA;AAE1D;;GAEG;AACH,eAAO,MAAM,mCAAmC,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,mBAAmB,MAAM,CAAA;AACtC,eAAO,MAAM,cAAc,IAAI,CAAA;AAC/B,eAAO,MAAM,aAAa,KAAK,CAAA;AAC/B,eAAO,MAAM,qBAAqB,6BAA6B,CAAA;AAC/D,eAAO,MAAM,4BAA4B,oCAAoC,CAAA;AAC7E,eAAO,MAAM,eAAe,gBAAgB,CAAA;AAC5C,eAAO,MAAM,WAAW,YAAY,CAAA;AACpC,eAAO,MAAM,eAAe,gBAAgB,CAAA;AAC5C,eAAO,MAAM,gCAAgC,QAAY,CAAA;AAEzD;;GAEG;AACH,eAAO,MAAM,oCAAoC,SAAS,CAAA;AAE1D;;GAEG;AACH,eAAO,MAAM,mCAAmC,UAAU,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import DashboardRenderer from './components/DashboardRenderer.vue';
|
|
2
|
-
import GridLayout from './components/layout/GridLayout.vue';
|
|
3
2
|
import DashboardTilePreview from './components/DashboardTilePreview.vue';
|
|
4
3
|
import CsvExportModal from './components/CsvExportModal.vue';
|
|
5
|
-
export { DashboardRenderer,
|
|
4
|
+
export { DashboardRenderer, DashboardTilePreview, CsvExportModal };
|
|
6
5
|
export * from './types';
|
|
7
6
|
export * from './constants';
|
|
8
7
|
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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AACxE,OAAO,cAAc,MAAM,iCAAiC,CAAA;AAE5D,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,cAAc,EAAE,CAAA;AAElE,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { GridTile } from 'src/types';
|
|
3
|
-
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: import("vue").PublicProps & __VLS_PrettifyLocal<import("vue").ExtractPublicPropTypes<{
|
|
5
|
-
tileHeight: {
|
|
6
|
-
type: NumberConstructor;
|
|
7
|
-
required: boolean;
|
|
8
|
-
default: () => number;
|
|
9
|
-
};
|
|
10
|
-
columns: {
|
|
11
|
-
type: NumberConstructor;
|
|
12
|
-
required: boolean;
|
|
13
|
-
default: () => number;
|
|
14
|
-
};
|
|
15
|
-
tiles: {
|
|
16
|
-
type: PropType<Array<GridTile<T>>>;
|
|
17
|
-
required: boolean;
|
|
18
|
-
};
|
|
19
|
-
}>> & (typeof globalThis extends {
|
|
20
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
21
|
-
} ? P : {});
|
|
22
|
-
expose: (exposed: {}) => void;
|
|
23
|
-
attrs: any;
|
|
24
|
-
slots: {
|
|
25
|
-
tile?: (props: {
|
|
26
|
-
tile: GridTile<T>;
|
|
27
|
-
style: {
|
|
28
|
-
'grid-column-start': number;
|
|
29
|
-
'grid-column-end': number;
|
|
30
|
-
'grid-row-start': number;
|
|
31
|
-
'grid-row-end': number;
|
|
32
|
-
};
|
|
33
|
-
fitToContent: boolean;
|
|
34
|
-
}) => any;
|
|
35
|
-
};
|
|
36
|
-
emit: {};
|
|
37
|
-
}>) => import("vue").VNode & {
|
|
38
|
-
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
39
|
-
};
|
|
40
|
-
declare const _default: typeof __VLS_export;
|
|
41
|
-
export default _default;
|
|
42
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} : {
|
|
45
|
-
[K in keyof T as K]: T[K];
|
|
46
|
-
}) & {};
|
|
47
|
-
//# sourceMappingURL=GridLayout.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GridLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/GridLayout.vue"],"names":[],"mappings":"AAmIA,OAAO,EAAY,KAAK,QAAQ,EAA+B,MAAM,KAAK,CAAA;AAC1E,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,WAAW,CAAA;AAI/C,QAAA,MAAM,YAAY,GAAK,CAAC,EACvB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,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