@trops/dash-core 0.1.291 → 0.1.292
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/electron/index.js +24 -0
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -70947,6 +70947,9 @@ async function handleCreateDashboard$1({ name, layout }) {
|
|
|
70947
70947
|
};
|
|
70948
70948
|
}
|
|
70949
70949
|
|
|
70950
|
+
// Notify renderer so UI refreshes
|
|
70951
|
+
win.webContents.send("workspace:saved");
|
|
70952
|
+
|
|
70950
70953
|
const response = { id: String(newWorkspace.id), name: newWorkspace.name };
|
|
70951
70954
|
if (layout && layout.rows && layout.cols) {
|
|
70952
70955
|
response.layout = { rows: layout.rows, cols: layout.cols };
|
|
@@ -71039,6 +71042,9 @@ async function handleDeleteDashboard$1({ dashboardId }) {
|
|
|
71039
71042
|
};
|
|
71040
71043
|
}
|
|
71041
71044
|
|
|
71045
|
+
// Notify renderer so UI refreshes
|
|
71046
|
+
win.webContents.send("workspace:saved");
|
|
71047
|
+
|
|
71042
71048
|
return {
|
|
71043
71049
|
content: [
|
|
71044
71050
|
{
|
|
@@ -71389,6 +71395,9 @@ async function handleAddWidget$1({ dashboardId, widgetName, row, col }) {
|
|
|
71389
71395
|
};
|
|
71390
71396
|
}
|
|
71391
71397
|
|
|
71398
|
+
// Notify renderer so UI refreshes
|
|
71399
|
+
win.webContents.send("workspace:saved");
|
|
71400
|
+
|
|
71392
71401
|
const response = {
|
|
71393
71402
|
widgetId: String(newId),
|
|
71394
71403
|
name: widgetName.trim(),
|
|
@@ -71490,6 +71499,9 @@ async function handleRemoveWidget$1({ dashboardId, widgetId }) {
|
|
|
71490
71499
|
};
|
|
71491
71500
|
}
|
|
71492
71501
|
|
|
71502
|
+
// Notify renderer so UI refreshes
|
|
71503
|
+
win.webContents.send("workspace:saved");
|
|
71504
|
+
|
|
71493
71505
|
return {
|
|
71494
71506
|
content: [
|
|
71495
71507
|
{
|
|
@@ -71586,6 +71598,9 @@ async function handleConfigureWidget$1({ dashboardId, widgetId, config }) {
|
|
|
71586
71598
|
};
|
|
71587
71599
|
}
|
|
71588
71600
|
|
|
71601
|
+
// Notify renderer so UI refreshes
|
|
71602
|
+
win.webContents.send("workspace:saved");
|
|
71603
|
+
|
|
71589
71604
|
return {
|
|
71590
71605
|
content: [
|
|
71591
71606
|
{
|
|
@@ -72764,6 +72779,9 @@ async function handleSetLayout$1({ dashboardId, rows, cols, gap, colModes }) {
|
|
|
72764
72779
|
};
|
|
72765
72780
|
}
|
|
72766
72781
|
|
|
72782
|
+
// Notify renderer so UI refreshes
|
|
72783
|
+
win.webContents.send("workspace:saved");
|
|
72784
|
+
|
|
72767
72785
|
return {
|
|
72768
72786
|
content: [
|
|
72769
72787
|
{
|
|
@@ -72921,6 +72939,9 @@ async function handleUpdateLayout$1({ dashboardId, rows, cols, gap, colModes })
|
|
|
72921
72939
|
};
|
|
72922
72940
|
}
|
|
72923
72941
|
|
|
72942
|
+
// Notify renderer so UI refreshes
|
|
72943
|
+
win.webContents.send("workspace:saved");
|
|
72944
|
+
|
|
72924
72945
|
return {
|
|
72925
72946
|
content: [
|
|
72926
72947
|
{
|
|
@@ -73101,6 +73122,9 @@ async function handleMoveWidget$1({ dashboardId, widgetId, row, col }) {
|
|
|
73101
73122
|
};
|
|
73102
73123
|
}
|
|
73103
73124
|
|
|
73125
|
+
// Notify renderer so UI refreshes
|
|
73126
|
+
win.webContents.send("workspace:saved");
|
|
73127
|
+
|
|
73104
73128
|
const response = {
|
|
73105
73129
|
widgetId,
|
|
73106
73130
|
cell: { row: r, col: c },
|