@vuu-ui/vuu-shell 0.8.22-debug → 0.8.23-debug
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/cjs/index.js +60 -50
- package/cjs/index.js.map +4 -4
- package/esm/index.js +21 -10
- package/esm/index.js.map +4 -4
- package/index.css +6 -6
- package/index.css.map +2 -2
- package/package.json +9 -9
- package/types/app-header/AppHeader.d.ts +1 -1
- package/types/shell.d.ts +1 -1
package/cjs/index.js
CHANGED
|
@@ -78,7 +78,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
78
78
|
|
|
79
79
|
// src/app-header/AppHeader.tsx
|
|
80
80
|
var import_react3 = require("react");
|
|
81
|
-
var
|
|
81
|
+
var import_vuu_ui_controls2 = require("@vuu-ui/vuu-ui-controls");
|
|
82
82
|
var import_clsx2 = __toESM(require("clsx"));
|
|
83
83
|
|
|
84
84
|
// src/login/LoginPanel.tsx
|
|
@@ -342,7 +342,7 @@ var AppHeader = ({
|
|
|
342
342
|
loginUrl,
|
|
343
343
|
onNavigate,
|
|
344
344
|
onSwitchTheme,
|
|
345
|
-
themeMode
|
|
345
|
+
themeMode: _,
|
|
346
346
|
user,
|
|
347
347
|
...htmlAttributes
|
|
348
348
|
}) => {
|
|
@@ -351,7 +351,7 @@ var AppHeader = ({
|
|
|
351
351
|
logout(loginUrl);
|
|
352
352
|
}, [loginUrl]);
|
|
353
353
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
354
|
-
|
|
354
|
+
import_vuu_ui_controls2.Toolbar,
|
|
355
355
|
{
|
|
356
356
|
alignItems: "end",
|
|
357
357
|
className,
|
|
@@ -424,7 +424,7 @@ var ConnectionStatusIcon = ({
|
|
|
424
424
|
|
|
425
425
|
// src/feature/Feature.tsx
|
|
426
426
|
var import_react6 = __toESM(require("react"));
|
|
427
|
-
var
|
|
427
|
+
var import_vuu_layout = require("@vuu-ui/vuu-layout");
|
|
428
428
|
|
|
429
429
|
// src/feature/FeatureErrorBoundary.tsx
|
|
430
430
|
var import_react5 = __toESM(require("react"));
|
|
@@ -507,10 +507,10 @@ function RawFeature({
|
|
|
507
507
|
}
|
|
508
508
|
var Feature = import_react6.default.memo(RawFeature);
|
|
509
509
|
Feature.displayName = "Feature";
|
|
510
|
-
(0,
|
|
510
|
+
(0, import_vuu_layout.registerComponent)("Feature", Feature, "view");
|
|
511
511
|
|
|
512
512
|
// src/layout-management/SaveLayoutPanel.tsx
|
|
513
|
-
var
|
|
513
|
+
var import_vuu_ui_controls3 = require("@vuu-ui/vuu-ui-controls");
|
|
514
514
|
|
|
515
515
|
// ../../node_modules/html-to-image/es/util.js
|
|
516
516
|
function resolveUrl(url, baseUrl) {
|
|
@@ -1342,7 +1342,7 @@ var SaveLayoutPanel = (props) => {
|
|
|
1342
1342
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_core3.FormField, { className: formField, children: [
|
|
1343
1343
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_core3.FormFieldLabel, { children: "Group" }),
|
|
1344
1344
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1345
|
-
|
|
1345
|
+
import_vuu_ui_controls3.ComboBox,
|
|
1346
1346
|
{
|
|
1347
1347
|
source: groups,
|
|
1348
1348
|
allowFreeText: true,
|
|
@@ -1375,7 +1375,7 @@ var SaveLayoutPanel = (props) => {
|
|
|
1375
1375
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_core3.FormField, { className: formField, children: [
|
|
1376
1376
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_core3.FormFieldLabel, { children: "Some Layout Setting" }),
|
|
1377
1377
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `${classBase3}-settingsGroup`, children: checkboxValues.map((value, i) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1378
|
-
|
|
1378
|
+
import_vuu_ui_controls3.Checkbox,
|
|
1379
1379
|
{
|
|
1380
1380
|
onToggle: () => setCheckValues(
|
|
1381
1381
|
(prev) => prev.includes(value) ? prev.filter((entry) => entry !== value) : [...prev, value]
|
|
@@ -1389,7 +1389,7 @@ var SaveLayoutPanel = (props) => {
|
|
|
1389
1389
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_core3.FormField, { className: formField, children: [
|
|
1390
1390
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_core3.FormFieldLabel, { children: "Some Layout Setting" }),
|
|
1391
1391
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `${classBase3}-settingsGroup`, children: radioValues.map((value, i) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1392
|
-
|
|
1392
|
+
import_vuu_ui_controls3.RadioButton,
|
|
1393
1393
|
{
|
|
1394
1394
|
onClick: () => setRadioValue(value),
|
|
1395
1395
|
checked: radioValue === value,
|
|
@@ -1418,11 +1418,11 @@ var SaveLayoutPanel = (props) => {
|
|
|
1418
1418
|
};
|
|
1419
1419
|
|
|
1420
1420
|
// src/layout-management/LayoutList.tsx
|
|
1421
|
-
var
|
|
1421
|
+
var import_vuu_ui_controls4 = require("@vuu-ui/vuu-ui-controls");
|
|
1422
1422
|
|
|
1423
1423
|
// src/layout-management/useLayoutManager.tsx
|
|
1424
1424
|
var import_react14 = __toESM(require("react"));
|
|
1425
|
-
var
|
|
1425
|
+
var import_vuu_layout2 = require("@vuu-ui/vuu-layout");
|
|
1426
1426
|
|
|
1427
1427
|
// ../vuu-popups/src/dialog/Dialog.tsx
|
|
1428
1428
|
var import_clsx5 = __toESM(require("clsx"));
|
|
@@ -1457,8 +1457,11 @@ var DialogHeader = ({
|
|
|
1457
1457
|
|
|
1458
1458
|
// ../vuu-popups/src/popup/useAnchoredPosition.ts
|
|
1459
1459
|
var import_react8 = require("react");
|
|
1460
|
+
|
|
1461
|
+
// ../vuu-popups/src/popup/getPositionRelativeToAnchor.ts
|
|
1460
1462
|
var getPositionRelativeToAnchor = (anchorElement, placement, offsetLeft, offsetTop, minWidth, dimensions) => {
|
|
1461
1463
|
const { bottom, height, left, right, top, width } = anchorElement.getBoundingClientRect();
|
|
1464
|
+
console.log({ top });
|
|
1462
1465
|
switch (placement) {
|
|
1463
1466
|
case "below":
|
|
1464
1467
|
return { left: left + offsetLeft, top: bottom + offsetTop };
|
|
@@ -1491,10 +1494,12 @@ var getPositionRelativeToAnchor = (anchorElement, placement, offsetLeft, offsetT
|
|
|
1491
1494
|
}
|
|
1492
1495
|
default:
|
|
1493
1496
|
throw Error(
|
|
1494
|
-
|
|
1497
|
+
`Popup getPositionRelativeToAnchor non-supported placement value ${placement}`
|
|
1495
1498
|
);
|
|
1496
1499
|
}
|
|
1497
1500
|
};
|
|
1501
|
+
|
|
1502
|
+
// ../vuu-popups/src/popup/useAnchoredPosition.ts
|
|
1498
1503
|
var useAnchoredPosition = ({
|
|
1499
1504
|
anchorElement,
|
|
1500
1505
|
minWidth,
|
|
@@ -1570,7 +1575,7 @@ var Dialog = ({
|
|
|
1570
1575
|
} = PopupProps;
|
|
1571
1576
|
const rootRef = (0, import_react9.useRef)(null);
|
|
1572
1577
|
const portalRef = (0, import_react9.useRef)(null);
|
|
1573
|
-
const [themeClass,
|
|
1578
|
+
const [themeClass, _, dataMode] = (0, import_vuu_utils2.useThemeAttributes)();
|
|
1574
1579
|
const { position } = useAnchoredPosition({
|
|
1575
1580
|
anchorElement,
|
|
1576
1581
|
offsetLeft,
|
|
@@ -2082,18 +2087,22 @@ var LayoutManagementProvider = (props) => {
|
|
|
2082
2087
|
}, [notify, setApplicationJSON]);
|
|
2083
2088
|
const saveApplicationLayout = (0, import_react14.useCallback)(
|
|
2084
2089
|
(layout) => {
|
|
2085
|
-
|
|
2086
|
-
|
|
2090
|
+
if ((0, import_vuu_layout2.isLayoutJSON)(layout)) {
|
|
2091
|
+
setApplicationLayout(layout, false);
|
|
2092
|
+
getPersistenceManager().saveApplicationJSON(applicationJSONRef.current);
|
|
2093
|
+
} else {
|
|
2094
|
+
console.error("Tried to save invalid application layout", layout);
|
|
2095
|
+
}
|
|
2087
2096
|
},
|
|
2088
2097
|
[setApplicationLayout]
|
|
2089
2098
|
);
|
|
2090
2099
|
const saveLayout = (0, import_react14.useCallback)(
|
|
2091
2100
|
(metadata) => {
|
|
2092
|
-
const layoutToSave = (0,
|
|
2101
|
+
const layoutToSave = (0, import_vuu_layout2.resolveJSONPath)(
|
|
2093
2102
|
applicationJSONRef.current.layout,
|
|
2094
2103
|
"#main-tabs.ACTIVE_CHILD"
|
|
2095
2104
|
);
|
|
2096
|
-
if (layoutToSave) {
|
|
2105
|
+
if (layoutToSave && (0, import_vuu_layout2.isLayoutJSON)(layoutToSave)) {
|
|
2097
2106
|
getPersistenceManager().createLayout(metadata, ensureLayoutHasTitle(layoutToSave, metadata)).then((metadata2) => {
|
|
2098
2107
|
notify({
|
|
2099
2108
|
type: "success" /* Success */,
|
|
@@ -2110,10 +2119,11 @@ var LayoutManagementProvider = (props) => {
|
|
|
2110
2119
|
console.error("Error occurred while saving layout", error2);
|
|
2111
2120
|
});
|
|
2112
2121
|
} else {
|
|
2122
|
+
console.error("Tried to save invalid layout", layoutToSave);
|
|
2113
2123
|
notify({
|
|
2114
2124
|
type: "error" /* Error */,
|
|
2115
2125
|
header: "Failed to Save Layout",
|
|
2116
|
-
body: "Cannot save
|
|
2126
|
+
body: "Cannot save invalid layout"
|
|
2117
2127
|
});
|
|
2118
2128
|
}
|
|
2119
2129
|
},
|
|
@@ -2238,7 +2248,7 @@ var LayoutList = (props) => {
|
|
|
2238
2248
|
children: [
|
|
2239
2249
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: `${classBase7}-header`, children: "My Layouts" }),
|
|
2240
2250
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2241
|
-
|
|
2251
|
+
import_vuu_ui_controls4.List,
|
|
2242
2252
|
{
|
|
2243
2253
|
height: "auto",
|
|
2244
2254
|
source: Object.entries(layoutsByGroup),
|
|
@@ -2267,14 +2277,14 @@ var LayoutList = (props) => {
|
|
|
2267
2277
|
|
|
2268
2278
|
// src/left-nav/LeftNav.tsx
|
|
2269
2279
|
var import_vuu_icons = require("@vuu-ui/vuu-icons");
|
|
2270
|
-
var
|
|
2271
|
-
var
|
|
2280
|
+
var import_vuu_layout4 = require("@vuu-ui/vuu-layout");
|
|
2281
|
+
var import_vuu_ui_controls5 = require("@vuu-ui/vuu-ui-controls");
|
|
2272
2282
|
var import_vuu_utils5 = require("@vuu-ui/vuu-utils");
|
|
2273
2283
|
var import_clsx7 = __toESM(require("clsx"));
|
|
2274
2284
|
var import_react15 = require("react");
|
|
2275
2285
|
|
|
2276
2286
|
// src/feature-list/FeatureList.tsx
|
|
2277
|
-
var
|
|
2287
|
+
var import_vuu_layout3 = require("@vuu-ui/vuu-layout");
|
|
2278
2288
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2279
2289
|
var classBase8 = "vuuFeatureList";
|
|
2280
2290
|
var FeatureList = ({
|
|
@@ -2289,13 +2299,13 @@ var FeatureList = ({
|
|
|
2289
2299
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { ...htmlAttributes, className: classBase8, children: [
|
|
2290
2300
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: `${classBase8}-header`, children: title }),
|
|
2291
2301
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: `${classBase8}-content`, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2292
|
-
|
|
2302
|
+
import_vuu_layout3.Palette,
|
|
2293
2303
|
{
|
|
2294
2304
|
orientation: "vertical",
|
|
2295
2305
|
ListProps: listProps,
|
|
2296
2306
|
ViewProps: ViewProps2,
|
|
2297
2307
|
children: features.map((featureProps, i) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2298
|
-
|
|
2308
|
+
import_vuu_layout3.PaletteItem,
|
|
2299
2309
|
{
|
|
2300
2310
|
closeable: true,
|
|
2301
2311
|
label: featureProps.title,
|
|
@@ -2322,7 +2332,7 @@ var getDisplayStatus = (activeTabIndex, expanded) => {
|
|
|
2322
2332
|
}
|
|
2323
2333
|
};
|
|
2324
2334
|
var LeftNav = (props) => {
|
|
2325
|
-
const dispatch = (0,
|
|
2335
|
+
const dispatch = (0, import_vuu_layout4.useLayoutProviderDispatch)();
|
|
2326
2336
|
const [themeClass] = (0, import_vuu_utils5.useThemeAttributes)();
|
|
2327
2337
|
const {
|
|
2328
2338
|
"data-path": path,
|
|
@@ -2406,7 +2416,7 @@ var LeftNav = (props) => {
|
|
|
2406
2416
|
children: [
|
|
2407
2417
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "vuuLeftNav-logo", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_vuu_icons.VuuLogo, {}) }),
|
|
2408
2418
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: `${classBase9}-main`, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2409
|
-
|
|
2419
|
+
import_vuu_ui_controls5.Tabstrip,
|
|
2410
2420
|
{
|
|
2411
2421
|
activeTabIndex: navState.activeTabIndex,
|
|
2412
2422
|
animateSelectionThumb: false,
|
|
@@ -2414,10 +2424,10 @@ var LeftNav = (props) => {
|
|
|
2414
2424
|
onActiveChange: handleTabSelection,
|
|
2415
2425
|
orientation: "vertical",
|
|
2416
2426
|
children: [
|
|
2417
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2418
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2419
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2420
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2427
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_vuu_ui_controls5.Tab, { "data-icon": "demo", label: "DEMO" }),
|
|
2428
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_vuu_ui_controls5.Tab, { "data-icon": "features", label: "VUU FEATURES" }),
|
|
2429
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_vuu_ui_controls5.Tab, { "data-icon": "tables", label: "VUU TABLES" }),
|
|
2430
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_vuu_ui_controls5.Tab, { "data-icon": "layouts", label: "MY LAYOUTS" })
|
|
2421
2431
|
]
|
|
2422
2432
|
}
|
|
2423
2433
|
) }),
|
|
@@ -2436,7 +2446,7 @@ var LeftNav = (props) => {
|
|
|
2436
2446
|
}
|
|
2437
2447
|
),
|
|
2438
2448
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2439
|
-
|
|
2449
|
+
import_vuu_layout4.Stack,
|
|
2440
2450
|
{
|
|
2441
2451
|
active: navState.activeTabIndex - 1,
|
|
2442
2452
|
className: `${classBase9}-menu-secondary`,
|
|
@@ -2726,7 +2736,7 @@ var SessionEditingForm = ({
|
|
|
2726
2736
|
|
|
2727
2737
|
// src/shell.tsx
|
|
2728
2738
|
var import_vuu_data_remote2 = require("@vuu-ui/vuu-data-remote");
|
|
2729
|
-
var
|
|
2739
|
+
var import_vuu_layout8 = require("@vuu-ui/vuu-layout");
|
|
2730
2740
|
var import_vuu_utils7 = require("@vuu-ui/vuu-utils");
|
|
2731
2741
|
var import_clsx11 = __toESM(require("clsx"));
|
|
2732
2742
|
var import_react20 = require("react");
|
|
@@ -2735,7 +2745,7 @@ var import_react20 = require("react");
|
|
|
2735
2745
|
var import_core6 = require("@salt-ds/core");
|
|
2736
2746
|
var import_clsx9 = __toESM(require("clsx"));
|
|
2737
2747
|
var import_react17 = require("react");
|
|
2738
|
-
var
|
|
2748
|
+
var import_vuu_layout5 = require("@vuu-ui/vuu-layout");
|
|
2739
2749
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2740
2750
|
var classBase11 = "vuuContextPanel";
|
|
2741
2751
|
var ContextPanel = ({
|
|
@@ -2745,7 +2755,7 @@ var ContextPanel = ({
|
|
|
2745
2755
|
overlay = false,
|
|
2746
2756
|
title
|
|
2747
2757
|
}) => {
|
|
2748
|
-
const dispatchLayoutAction = (0,
|
|
2758
|
+
const dispatchLayoutAction = (0, import_vuu_layout5.useLayoutProviderDispatch)();
|
|
2749
2759
|
const handleClose = (0, import_react17.useCallback)(() => {
|
|
2750
2760
|
dispatchLayoutAction({
|
|
2751
2761
|
path: "#context-panel",
|
|
@@ -2760,7 +2770,7 @@ var ContextPanel = ({
|
|
|
2760
2770
|
[`${classBase11}-overlay`]: overlay
|
|
2761
2771
|
});
|
|
2762
2772
|
const content = (0, import_react17.useMemo)(
|
|
2763
|
-
() => contentProp && expanded ? (0,
|
|
2773
|
+
() => contentProp && expanded ? (0, import_vuu_layout5.layoutFromJson)(contentProp, "context-0") : null,
|
|
2764
2774
|
[contentProp, expanded]
|
|
2765
2775
|
);
|
|
2766
2776
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
@@ -2769,7 +2779,7 @@ var ContextPanel = ({
|
|
|
2769
2779
|
className: (0, import_clsx9.default)(classBase11, className, {
|
|
2770
2780
|
[`${classBase11}-expanded`]: expanded
|
|
2771
2781
|
}),
|
|
2772
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2782
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_vuu_layout5.View, { className: `${classBase11}-inner`, header: false, id: "context-panel", children: [
|
|
2773
2783
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: `${classBase11}-header`, children: [
|
|
2774
2784
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("h2", { className: `${classBase11}-title`, children: title }),
|
|
2775
2785
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
@@ -2789,7 +2799,7 @@ var ContextPanel = ({
|
|
|
2789
2799
|
};
|
|
2790
2800
|
|
|
2791
2801
|
// src/shell-layouts/useFullHeightLeftPanel.tsx
|
|
2792
|
-
var
|
|
2802
|
+
var import_vuu_layout6 = require("@vuu-ui/vuu-layout");
|
|
2793
2803
|
|
|
2794
2804
|
// src/shell-layouts/side-panel/SidePanel.tsx
|
|
2795
2805
|
var import_react18 = require("react");
|
|
@@ -2821,7 +2831,7 @@ var useFullHeightLeftPanel = ({
|
|
|
2821
2831
|
LeftSidePanelProps
|
|
2822
2832
|
}) => {
|
|
2823
2833
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2824
|
-
|
|
2834
|
+
import_vuu_layout6.Flexbox,
|
|
2825
2835
|
{
|
|
2826
2836
|
className: "App",
|
|
2827
2837
|
style: {
|
|
@@ -2832,13 +2842,13 @@ var useFullHeightLeftPanel = ({
|
|
|
2832
2842
|
children: [
|
|
2833
2843
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(SidePanel, { ...LeftSidePanelProps, id: "vuu-side-panel" }),
|
|
2834
2844
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2835
|
-
|
|
2845
|
+
import_vuu_layout6.Flexbox,
|
|
2836
2846
|
{
|
|
2837
2847
|
className: "vuuShell-content",
|
|
2838
2848
|
style: { flex: 1, flexDirection: "column" },
|
|
2839
2849
|
children: [
|
|
2840
2850
|
appHeader,
|
|
2841
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2851
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_vuu_layout6.DraggableLayout, { dropTarget: true, style: { flex: 1 } }, "main-content")
|
|
2842
2852
|
]
|
|
2843
2853
|
}
|
|
2844
2854
|
),
|
|
@@ -2849,7 +2859,7 @@ var useFullHeightLeftPanel = ({
|
|
|
2849
2859
|
};
|
|
2850
2860
|
|
|
2851
2861
|
// src/shell-layouts/useInlayLeftPanel.tsx
|
|
2852
|
-
var
|
|
2862
|
+
var import_vuu_layout7 = require("@vuu-ui/vuu-layout");
|
|
2853
2863
|
var import_react19 = require("react");
|
|
2854
2864
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
2855
2865
|
var useInlayLeftPanel = ({
|
|
@@ -2873,7 +2883,7 @@ var useInlayLeftPanel = ({
|
|
|
2873
2883
|
const drawers = [];
|
|
2874
2884
|
drawers.push(
|
|
2875
2885
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2876
|
-
|
|
2886
|
+
import_vuu_layout7.Drawer,
|
|
2877
2887
|
{
|
|
2878
2888
|
onClick: handleDrawerClick,
|
|
2879
2889
|
open,
|
|
@@ -2883,7 +2893,7 @@ var useInlayLeftPanel = ({
|
|
|
2883
2893
|
sizeOpen: 200,
|
|
2884
2894
|
toggleButton: "end",
|
|
2885
2895
|
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2886
|
-
|
|
2896
|
+
import_vuu_layout7.View,
|
|
2887
2897
|
{
|
|
2888
2898
|
className: "vuuShell-palette",
|
|
2889
2899
|
id: "vw-app-palette",
|
|
@@ -2902,15 +2912,15 @@ var useInlayLeftPanel = ({
|
|
|
2902
2912
|
[handleDrawerClick, open]
|
|
2903
2913
|
);
|
|
2904
2914
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
2905
|
-
|
|
2915
|
+
import_vuu_layout7.Flexbox,
|
|
2906
2916
|
{
|
|
2907
2917
|
className: "App",
|
|
2908
2918
|
style: { flexDirection: "column", height: "100%", width: "100%" },
|
|
2909
2919
|
children: [
|
|
2910
2920
|
appHeader,
|
|
2911
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2921
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_vuu_layout7.DockLayout, { style: { flex: 1 }, children: getDrawers(LeftSidePanelProps == null ? void 0 : LeftSidePanelProps.children).concat(
|
|
2912
2922
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2913
|
-
|
|
2923
|
+
import_vuu_layout7.DraggableLayout,
|
|
2914
2924
|
{
|
|
2915
2925
|
dropTarget: true,
|
|
2916
2926
|
style: { width: "100%", height: "100%" }
|
|
@@ -2934,7 +2944,7 @@ var useShellLayout = ({
|
|
|
2934
2944
|
|
|
2935
2945
|
// src/shell.tsx
|
|
2936
2946
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
2937
|
-
if (typeof
|
|
2947
|
+
if (typeof import_vuu_layout8.StackLayout !== "function") {
|
|
2938
2948
|
console.warn(
|
|
2939
2949
|
"StackLayout module not loaded, will be unsbale to deserialize from layout JSON"
|
|
2940
2950
|
);
|
|
@@ -2948,7 +2958,7 @@ var Shell = ({
|
|
|
2948
2958
|
className: classNameProp,
|
|
2949
2959
|
leftSidePanelLayout,
|
|
2950
2960
|
loginUrl,
|
|
2951
|
-
saveLocation
|
|
2961
|
+
saveLocation: _,
|
|
2952
2962
|
saveUrl,
|
|
2953
2963
|
serverUrl,
|
|
2954
2964
|
user,
|
|
@@ -3014,13 +3024,13 @@ var Shell = ({
|
|
|
3014
3024
|
menuBuilder: buildMenuOptions,
|
|
3015
3025
|
children: [
|
|
3016
3026
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3017
|
-
|
|
3027
|
+
import_vuu_layout8.LayoutProvider,
|
|
3018
3028
|
{
|
|
3019
3029
|
...LayoutProps,
|
|
3020
3030
|
layout: applicationJson.layout,
|
|
3021
3031
|
onLayoutChange: handleLayoutChange,
|
|
3022
3032
|
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3023
|
-
|
|
3033
|
+
import_vuu_layout8.DraggableLayout,
|
|
3024
3034
|
{
|
|
3025
3035
|
className,
|
|
3026
3036
|
"data-mode": dataMode,
|