@lobb-js/lobb-ext-reports 0.7.2 → 0.8.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.
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}: Props = $props();
|
|
28
28
|
|
|
29
29
|
const utils = props.utils;
|
|
30
|
-
const { UpdateDetailViewButton, Button } = utils.components;
|
|
30
|
+
const { UpdateDetailViewButton, Button, Tooltip } = utils.components;
|
|
31
31
|
const icons = utils.components.Icons;
|
|
32
32
|
|
|
33
33
|
function findCustomChartComponent(type: string): any {
|
|
@@ -75,7 +75,19 @@
|
|
|
75
75
|
|
|
76
76
|
<div class="gridContainer h-full rounded-md border bg-background">
|
|
77
77
|
<div class="flex items-center justify-between border-b p-2 text-sm">
|
|
78
|
-
<div
|
|
78
|
+
<div class="flex items-center gap-1.5">
|
|
79
|
+
<span>{chartRecord.title}</span>
|
|
80
|
+
{#if chartRecord.description}
|
|
81
|
+
<Tooltip.Root>
|
|
82
|
+
<Tooltip.Trigger>
|
|
83
|
+
<icons.CircleHelp class="text-muted-foreground" size={14} />
|
|
84
|
+
</Tooltip.Trigger>
|
|
85
|
+
<Tooltip.Content class="max-w-64 text-xs">
|
|
86
|
+
{chartRecord.description}
|
|
87
|
+
</Tooltip.Content>
|
|
88
|
+
</Tooltip.Root>
|
|
89
|
+
{/if}
|
|
90
|
+
</div>
|
|
79
91
|
<div class="flex">
|
|
80
92
|
<UpdateDetailViewButton
|
|
81
93
|
collectionName="reports_charts"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}: Props = $props();
|
|
28
28
|
|
|
29
29
|
const utils = props.utils;
|
|
30
|
-
const { UpdateDetailViewButton, Button } = utils.components;
|
|
30
|
+
const { UpdateDetailViewButton, Button, Tooltip } = utils.components;
|
|
31
31
|
const icons = utils.components.Icons;
|
|
32
32
|
|
|
33
33
|
function findCustomChartComponent(type: string): any {
|
|
@@ -75,7 +75,19 @@
|
|
|
75
75
|
|
|
76
76
|
<div class="gridContainer h-full rounded-md border bg-background">
|
|
77
77
|
<div class="flex items-center justify-between border-b p-2 text-sm">
|
|
78
|
-
<div
|
|
78
|
+
<div class="flex items-center gap-1.5">
|
|
79
|
+
<span>{chartRecord.title}</span>
|
|
80
|
+
{#if chartRecord.description}
|
|
81
|
+
<Tooltip.Root>
|
|
82
|
+
<Tooltip.Trigger>
|
|
83
|
+
<icons.CircleHelp class="text-muted-foreground" size={14} />
|
|
84
|
+
</Tooltip.Trigger>
|
|
85
|
+
<Tooltip.Content class="max-w-64 text-xs">
|
|
86
|
+
{chartRecord.description}
|
|
87
|
+
</Tooltip.Content>
|
|
88
|
+
</Tooltip.Root>
|
|
89
|
+
{/if}
|
|
90
|
+
</div>
|
|
79
91
|
<div class="flex">
|
|
80
92
|
<UpdateDetailViewButton
|
|
81
93
|
collectionName="reports_charts"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobb-js/lobb-ext-reports",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"package": "svelte-package --input extensions/reports/studio"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@lobb-js/core": "^0.26.
|
|
37
|
+
"@lobb-js/core": "^0.26.1",
|
|
38
38
|
"chart.js": "^4.4.8",
|
|
39
39
|
"gridstack": "^12.6.0",
|
|
40
40
|
"hono": "^4.7.0",
|