@trops/dash-core 0.1.125 → 0.1.127
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 +12 -15
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +28 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +28 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -14800,7 +14800,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
|
|
|
14800
14800
|
className: "flex-1 text-center",
|
|
14801
14801
|
children: /*#__PURE__*/jsxs("span", {
|
|
14802
14802
|
className: "text-xs opacity-40",
|
|
14803
|
-
children: ["Step", " ", inlineWizardStep + 1, " ", "
|
|
14803
|
+
children: ["Step", " ", inlineWizardStep + 1, " of", " ", inlineTotalSteps]
|
|
14804
14804
|
})
|
|
14805
14805
|
}), /*#__PURE__*/jsxs("div", {
|
|
14806
14806
|
className: "flex flex-row gap-2",
|
|
@@ -32684,7 +32684,9 @@ var DashboardDetail = function DashboardDetail(_ref2) {
|
|
|
32684
32684
|
_ref2$credentials = _ref2.credentials,
|
|
32685
32685
|
credentials = _ref2$credentials === void 0 ? null : _ref2$credentials,
|
|
32686
32686
|
_ref2$onReloadWorkspa = _ref2.onReloadWorkspaces,
|
|
32687
|
-
onReloadWorkspaces = _ref2$onReloadWorkspa === void 0 ? null : _ref2$onReloadWorkspa
|
|
32687
|
+
onReloadWorkspaces = _ref2$onReloadWorkspa === void 0 ? null : _ref2$onReloadWorkspa,
|
|
32688
|
+
_ref2$onOpenWorkspace = _ref2.onOpenWorkspace,
|
|
32689
|
+
onOpenWorkspace = _ref2$onOpenWorkspace === void 0 ? null : _ref2$onOpenWorkspace;
|
|
32688
32690
|
var ws = workspace;
|
|
32689
32691
|
var isEditing = editingId === ws.id;
|
|
32690
32692
|
var widgetCount = (ws.layout || []).length;
|
|
@@ -32831,9 +32833,17 @@ var DashboardDetail = function DashboardDetail(_ref2) {
|
|
|
32831
32833
|
onClick: onCancelRename,
|
|
32832
32834
|
size: "sm"
|
|
32833
32835
|
})]
|
|
32834
|
-
}) : /*#__PURE__*/
|
|
32835
|
-
|
|
32836
|
-
|
|
32836
|
+
}) : /*#__PURE__*/jsxs(Fragment, {
|
|
32837
|
+
children: [/*#__PURE__*/jsx(SubHeading, {
|
|
32838
|
+
title: ws.name || "Untitled",
|
|
32839
|
+
padding: false
|
|
32840
|
+
}), onOpenWorkspace && /*#__PURE__*/jsx(ButtonIcon, {
|
|
32841
|
+
icon: "arrow-up-right-from-square",
|
|
32842
|
+
onClick: function onClick() {
|
|
32843
|
+
return onOpenWorkspace(ws);
|
|
32844
|
+
},
|
|
32845
|
+
size: "sm"
|
|
32846
|
+
})]
|
|
32837
32847
|
})
|
|
32838
32848
|
}), /*#__PURE__*/jsxs("div", {
|
|
32839
32849
|
className: "flex-shrink-0 flex flex-col space-y-3",
|
|
@@ -32953,6 +32963,8 @@ var DashboardsSection = function DashboardsSection(_ref) {
|
|
|
32953
32963
|
credentials = _ref$credentials === void 0 ? null : _ref$credentials,
|
|
32954
32964
|
_ref$onReloadWorkspac = _ref.onReloadWorkspaces,
|
|
32955
32965
|
onReloadWorkspaces = _ref$onReloadWorkspac === void 0 ? null : _ref$onReloadWorkspac,
|
|
32966
|
+
_ref$onOpenWorkspace = _ref.onOpenWorkspace,
|
|
32967
|
+
onOpenWorkspace = _ref$onOpenWorkspace === void 0 ? null : _ref$onOpenWorkspace,
|
|
32956
32968
|
_ref$createRequested = _ref.createRequested,
|
|
32957
32969
|
createRequested = _ref$createRequested === void 0 ? false : _ref$createRequested,
|
|
32958
32970
|
_ref$onCreateAcknowle = _ref.onCreateAcknowledged,
|
|
@@ -33207,7 +33219,8 @@ var DashboardsSection = function DashboardsSection(_ref) {
|
|
|
33207
33219
|
},
|
|
33208
33220
|
dashApi: dashApi,
|
|
33209
33221
|
credentials: credentials,
|
|
33210
|
-
onReloadWorkspaces: onReloadWorkspaces
|
|
33222
|
+
onReloadWorkspaces: onReloadWorkspaces,
|
|
33223
|
+
onOpenWorkspace: onOpenWorkspace
|
|
33211
33224
|
});
|
|
33212
33225
|
}
|
|
33213
33226
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
@@ -37054,7 +37067,7 @@ var RegistryPackageDetail = function RegistryPackageDetail(_ref) {
|
|
|
37054
37067
|
children: [/*#__PURE__*/jsx(FontAwesomeIcon, {
|
|
37055
37068
|
icon: "triangle-exclamation",
|
|
37056
37069
|
className: "mr-1"
|
|
37057
|
-
}), "Incompatible \u2014 requires
|
|
37070
|
+
}), "Incompatible \u2014 requires ", widget.missingApis.join(", "), " API", widget.missingApis.length !== 1 ? "s" : ""]
|
|
37058
37071
|
})
|
|
37059
37072
|
}), widget.repository && /*#__PURE__*/jsxs("div", {
|
|
37060
37073
|
children: [/*#__PURE__*/jsx("span", {
|
|
@@ -39337,6 +39350,8 @@ var AppSettingsModal = function AppSettingsModal(_ref) {
|
|
|
39337
39350
|
onReloadWorkspaces = _ref$onReloadWorkspac === void 0 ? null : _ref$onReloadWorkspac,
|
|
39338
39351
|
_ref$onReloadMenuItem = _ref.onReloadMenuItems,
|
|
39339
39352
|
onReloadMenuItems = _ref$onReloadMenuItem === void 0 ? null : _ref$onReloadMenuItem,
|
|
39353
|
+
_ref$onOpenWorkspace = _ref.onOpenWorkspace,
|
|
39354
|
+
onOpenWorkspace = _ref$onOpenWorkspace === void 0 ? null : _ref$onOpenWorkspace,
|
|
39340
39355
|
_ref$onOpenThemeEdito = _ref.onOpenThemeEditor,
|
|
39341
39356
|
onOpenThemeEditor = _ref$onOpenThemeEdito === void 0 ? null : _ref$onOpenThemeEdito,
|
|
39342
39357
|
_ref$authStatus = _ref.authStatus,
|
|
@@ -39432,7 +39447,8 @@ var AppSettingsModal = function AppSettingsModal(_ref) {
|
|
|
39432
39447
|
createRequested: createRequested,
|
|
39433
39448
|
onCreateAcknowledged: function onCreateAcknowledged() {
|
|
39434
39449
|
return setCreateRequested(false);
|
|
39435
|
-
}
|
|
39450
|
+
},
|
|
39451
|
+
onOpenWorkspace: onOpenWorkspace
|
|
39436
39452
|
}), activeSection === "folders" && /*#__PURE__*/jsx(FoldersSection, {
|
|
39437
39453
|
menuItems: menuItems,
|
|
39438
39454
|
workspaces: workspaces,
|
|
@@ -41914,6 +41930,10 @@ var DashboardStageInner = function DashboardStageInner(_ref2) {
|
|
|
41914
41930
|
credentials: credentials,
|
|
41915
41931
|
onReloadWorkspaces: loadWorkspaces,
|
|
41916
41932
|
onReloadMenuItems: loadMenuItems,
|
|
41933
|
+
onOpenWorkspace: function onOpenWorkspace(ws) {
|
|
41934
|
+
handleOpenTab(ws);
|
|
41935
|
+
setIsAppSettingsOpen(false);
|
|
41936
|
+
},
|
|
41917
41937
|
onOpenThemeEditor: function onOpenThemeEditor() {
|
|
41918
41938
|
setIsAppSettingsOpen(false);
|
|
41919
41939
|
setIsThemeManagerOpen(true);
|