@vuu-ui/vuu-data-react 0.8.16-debug → 0.8.17-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 +1036 -1036
- package/cjs/index.js.map +3 -3
- package/esm/index.js +285 -285
- package/esm/index.js.map +3 -3
- package/package.json +9 -9
package/esm/index.js
CHANGED
|
@@ -964,11 +964,11 @@ var require_react_dom_development = __commonJS({
|
|
|
964
964
|
if (true) {
|
|
965
965
|
(function() {
|
|
966
966
|
"use strict";
|
|
967
|
-
var
|
|
967
|
+
var React36 = __require("react");
|
|
968
968
|
var _assign = require_object_assign();
|
|
969
969
|
var Scheduler = require_scheduler();
|
|
970
970
|
var tracing = require_tracing();
|
|
971
|
-
var ReactSharedInternals =
|
|
971
|
+
var ReactSharedInternals = React36.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
972
972
|
function warn(format) {
|
|
973
973
|
{
|
|
974
974
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -1000,7 +1000,7 @@ var require_react_dom_development = __commonJS({
|
|
|
1000
1000
|
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
1003
|
-
if (!
|
|
1003
|
+
if (!React36) {
|
|
1004
1004
|
{
|
|
1005
1005
|
throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");
|
|
1006
1006
|
}
|
|
@@ -2420,7 +2420,7 @@ var require_react_dom_development = __commonJS({
|
|
|
2420
2420
|
var didWarnInvalidChild = false;
|
|
2421
2421
|
function flattenChildren(children) {
|
|
2422
2422
|
var content2 = "";
|
|
2423
|
-
|
|
2423
|
+
React36.Children.forEach(children, function(child) {
|
|
2424
2424
|
if (child == null) {
|
|
2425
2425
|
return;
|
|
2426
2426
|
}
|
|
@@ -2431,7 +2431,7 @@ var require_react_dom_development = __commonJS({
|
|
|
2431
2431
|
function validateProps(element, props) {
|
|
2432
2432
|
{
|
|
2433
2433
|
if (typeof props.children === "object" && props.children !== null) {
|
|
2434
|
-
|
|
2434
|
+
React36.Children.forEach(props.children, function(child) {
|
|
2435
2435
|
if (child == null) {
|
|
2436
2436
|
return;
|
|
2437
2437
|
}
|
|
@@ -9823,7 +9823,7 @@ var require_react_dom_development = __commonJS({
|
|
|
9823
9823
|
}
|
|
9824
9824
|
var fakeInternalInstance = {};
|
|
9825
9825
|
var isArray = Array.isArray;
|
|
9826
|
-
var emptyRefsObject = new
|
|
9826
|
+
var emptyRefsObject = new React36.Component().refs;
|
|
9827
9827
|
var didWarnAboutStateAssignmentForComponent;
|
|
9828
9828
|
var didWarnAboutUninitializedState;
|
|
9829
9829
|
var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
|
|
@@ -26162,13 +26162,13 @@ import { forwardRef as forwardRef22 } from "react";
|
|
|
26162
26162
|
|
|
26163
26163
|
// ../vuu-ui-controls/src/list/CheckboxIcon.tsx
|
|
26164
26164
|
var import_classnames21 = __toESM(require_classnames());
|
|
26165
|
-
import
|
|
26165
|
+
import React19 from "react";
|
|
26166
26166
|
var classBase13 = "vuuCheckboxIcon";
|
|
26167
26167
|
var CheckboxIcon2 = ({
|
|
26168
26168
|
checked = false,
|
|
26169
26169
|
disabled = false,
|
|
26170
26170
|
...htmlAttributes
|
|
26171
|
-
}) => /* @__PURE__ */
|
|
26171
|
+
}) => /* @__PURE__ */ React19.createElement(
|
|
26172
26172
|
"span",
|
|
26173
26173
|
{
|
|
26174
26174
|
...htmlAttributes,
|
|
@@ -26179,13 +26179,13 @@ var CheckboxIcon2 = ({
|
|
|
26179
26179
|
);
|
|
26180
26180
|
|
|
26181
26181
|
// ../vuu-ui-controls/src/list/ListItem.tsx
|
|
26182
|
-
import { jsx as
|
|
26182
|
+
import { jsx as jsx51, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
26183
26183
|
var classBase14 = "vuuListItem";
|
|
26184
26184
|
var ListItemProxy = forwardRef22(function ListItemNextProxy({
|
|
26185
26185
|
height,
|
|
26186
26186
|
...htmlAttributes
|
|
26187
26187
|
}, forwardedRef) {
|
|
26188
|
-
return /* @__PURE__ */
|
|
26188
|
+
return /* @__PURE__ */ jsx51(
|
|
26189
26189
|
"div",
|
|
26190
26190
|
{
|
|
26191
26191
|
...htmlAttributes,
|
|
@@ -26230,8 +26230,8 @@ var ListItem = forwardRef22(
|
|
|
26230
26230
|
ref: forwardedRef,
|
|
26231
26231
|
style,
|
|
26232
26232
|
children: [
|
|
26233
|
-
showCheckbox && /* @__PURE__ */
|
|
26234
|
-
children && typeof children !== "string" ? children : itemTextHighlightPattern == null ? /* @__PURE__ */
|
|
26233
|
+
showCheckbox && /* @__PURE__ */ jsx51(CheckboxIcon2, { "aria-hidden": true, checked: selected }),
|
|
26234
|
+
children && typeof children !== "string" ? children : itemTextHighlightPattern == null ? /* @__PURE__ */ jsx51("span", { className: `${classBase14}-textWrapper`, children: label || children }) : /* @__PURE__ */ jsx51(
|
|
26235
26235
|
Highlighter,
|
|
26236
26236
|
{
|
|
26237
26237
|
matchPattern: itemTextHighlightPattern,
|
|
@@ -26275,7 +26275,7 @@ import { boxContainsPoint as boxContainsPoint2, dispatchCustomEvent } from "@vuu
|
|
|
26275
26275
|
import { useCallback as useCallback35, useRef as useRef32 } from "react";
|
|
26276
26276
|
|
|
26277
26277
|
// ../vuu-ui-controls/src/drag-drop/DragDropProvider.tsx
|
|
26278
|
-
import { jsx as
|
|
26278
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
26279
26279
|
var NO_DRAG_CONTEXT = {
|
|
26280
26280
|
isDragSource: void 0,
|
|
26281
26281
|
isDropTarget: void 0,
|
|
@@ -26352,7 +26352,7 @@ import {
|
|
|
26352
26352
|
useCallback as useCallback37,
|
|
26353
26353
|
useMemo as useMemo21
|
|
26354
26354
|
} from "react";
|
|
26355
|
-
import { jsx as
|
|
26355
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
26356
26356
|
var makeClassNames = (classNames2) => classNames2.split(" ").map((className) => `vuuDraggable-${className}`);
|
|
26357
26357
|
var Draggable2 = forwardRef23(
|
|
26358
26358
|
function Draggable3({ wrapperClassName, element, onDropped, onTransitionEnd, style, scale = 1 }, forwardedRef) {
|
|
@@ -26380,13 +26380,13 @@ var Draggable2 = forwardRef23(
|
|
|
26380
26380
|
}),
|
|
26381
26381
|
[]
|
|
26382
26382
|
);
|
|
26383
|
-
return /* @__PURE__ */
|
|
26383
|
+
return /* @__PURE__ */ jsx53(Portal, { children: /* @__PURE__ */ jsx53(
|
|
26384
26384
|
PopupComponent,
|
|
26385
26385
|
{
|
|
26386
26386
|
anchorElement: { current: document.body },
|
|
26387
26387
|
placement: "absolute",
|
|
26388
26388
|
position,
|
|
26389
|
-
children: /* @__PURE__ */
|
|
26389
|
+
children: /* @__PURE__ */ jsx53(
|
|
26390
26390
|
"div",
|
|
26391
26391
|
{
|
|
26392
26392
|
className: (0, import_classnames23.default)("vuuDraggable", ...makeClassNames(wrapperClassName)),
|
|
@@ -26760,7 +26760,7 @@ var useDropIndicator = () => {
|
|
|
26760
26760
|
};
|
|
26761
26761
|
|
|
26762
26762
|
// ../vuu-ui-controls/src/drag-drop/useDragDropIndicator.tsx
|
|
26763
|
-
import { jsx as
|
|
26763
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
26764
26764
|
var NOT_OVERFLOWED2 = ':not([data-overflowed="true"])';
|
|
26765
26765
|
var NOT_HIDDEN2 = ':not([aria-hidden="true"])';
|
|
26766
26766
|
var useDragDropIndicator = ({
|
|
@@ -26882,7 +26882,7 @@ var useDragDropIndicator = ({
|
|
|
26882
26882
|
height: 2
|
|
26883
26883
|
};
|
|
26884
26884
|
setDropIndicator(
|
|
26885
|
-
/* @__PURE__ */
|
|
26885
|
+
/* @__PURE__ */ jsx54(
|
|
26886
26886
|
Draggable2,
|
|
26887
26887
|
{
|
|
26888
26888
|
wrapperClassName: "dropIndicatorContainer",
|
|
@@ -27409,7 +27409,7 @@ var useDragDropNaturalMovement = ({
|
|
|
27409
27409
|
};
|
|
27410
27410
|
|
|
27411
27411
|
// ../vuu-ui-controls/src/drag-drop/useDragDropNext.tsx
|
|
27412
|
-
import { jsx as
|
|
27412
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
27413
27413
|
var NULL_DRAG_DROP_RESULT = {
|
|
27414
27414
|
beginDrag: () => void 0,
|
|
27415
27415
|
drag: () => void 0,
|
|
@@ -27754,7 +27754,7 @@ var useDragDropNext = ({
|
|
|
27754
27754
|
} = dragElement;
|
|
27755
27755
|
setDraggableStatus({
|
|
27756
27756
|
isDragging: true,
|
|
27757
|
-
draggable: /* @__PURE__ */
|
|
27757
|
+
draggable: /* @__PURE__ */ jsx55(
|
|
27758
27758
|
Draggable2,
|
|
27759
27759
|
{
|
|
27760
27760
|
element: cloneElement7(dragElement),
|
|
@@ -28370,7 +28370,7 @@ var useScrollPosition = ({
|
|
|
28370
28370
|
};
|
|
28371
28371
|
|
|
28372
28372
|
// ../vuu-ui-controls/src/list/List.tsx
|
|
28373
|
-
import { Fragment as Fragment6, jsx as
|
|
28373
|
+
import { Fragment as Fragment6, jsx as jsx56, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
28374
28374
|
import { createElement as createElement3 } from "react";
|
|
28375
28375
|
var defaultEmptyMessage = "No data to display";
|
|
28376
28376
|
var classBase15 = "vuuList";
|
|
@@ -28567,7 +28567,7 @@ var List = forwardRef24(function List2({
|
|
|
28567
28567
|
showCheckbox: checkable
|
|
28568
28568
|
};
|
|
28569
28569
|
list.push(
|
|
28570
|
-
isChildItem ? cloneElement8(value, listItemProps) : /* @__PURE__ */
|
|
28570
|
+
isChildItem ? cloneElement8(value, listItemProps) : /* @__PURE__ */ jsx56(ListItem4, { ...listItemProps })
|
|
28571
28571
|
);
|
|
28572
28572
|
idx.value += 1;
|
|
28573
28573
|
}
|
|
@@ -28578,7 +28578,7 @@ var List = forwardRef24(function List2({
|
|
|
28578
28578
|
renderCollectionItems(items, idx, idx.value + count) || []
|
|
28579
28579
|
) : header;
|
|
28580
28580
|
list.push(
|
|
28581
|
-
/* @__PURE__ */
|
|
28581
|
+
/* @__PURE__ */ jsx56("div", { role: "group", children: childItems2 }, id2)
|
|
28582
28582
|
);
|
|
28583
28583
|
};
|
|
28584
28584
|
const renderCollectionItems = (items, idx = { value: 0 }, end = items.length) => {
|
|
@@ -28599,7 +28599,7 @@ var List = forwardRef24(function List2({
|
|
|
28599
28599
|
};
|
|
28600
28600
|
function renderEmpty() {
|
|
28601
28601
|
if (emptyMessage || showEmptyMessage) {
|
|
28602
|
-
return /* @__PURE__ */
|
|
28602
|
+
return /* @__PURE__ */ jsx56("span", { className: `${classBase15}-empty-message`, children: emptyMessage != null ? emptyMessage : defaultEmptyMessage });
|
|
28603
28603
|
} else {
|
|
28604
28604
|
return null;
|
|
28605
28605
|
}
|
|
@@ -28645,8 +28645,8 @@ var List = forwardRef24(function List2({
|
|
|
28645
28645
|
style: { ...styleProp, ...sizeStyles },
|
|
28646
28646
|
tabIndex: listDisabled || disableFocus ? void 0 : tabIndex,
|
|
28647
28647
|
children: [
|
|
28648
|
-
/* @__PURE__ */
|
|
28649
|
-
collectionHook.data.length === 0 && ListPlaceholder !== void 0 ? /* @__PURE__ */
|
|
28648
|
+
/* @__PURE__ */ jsx56(ListItemProxy, { ref: rowHeightProxyRef, height: itemHeightProp }),
|
|
28649
|
+
collectionHook.data.length === 0 && ListPlaceholder !== void 0 ? /* @__PURE__ */ jsx56(Fragment6, { children: /* @__PURE__ */ jsx56(ListPlaceholder, {}) }) : /* @__PURE__ */ jsx56("div", { className: `${classBase15}-viewport`, ref: scrollContainerRef, children: /* @__PURE__ */ jsxs15(
|
|
28650
28650
|
"div",
|
|
28651
28651
|
{
|
|
28652
28652
|
className: `${classBase15}-scrollingContentContainer`,
|
|
@@ -28754,7 +28754,7 @@ var useVirtualization = ({
|
|
|
28754
28754
|
};
|
|
28755
28755
|
|
|
28756
28756
|
// ../vuu-ui-controls/src/list/VirtualizedList.tsx
|
|
28757
|
-
import { jsx as
|
|
28757
|
+
import { jsx as jsx57, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
28758
28758
|
var defaultEmptyMessage2 = "No data to display";
|
|
28759
28759
|
var withBaseName11 = makePrefixer("saltList");
|
|
28760
28760
|
var ListItem3 = memo(ListItem);
|
|
@@ -28879,7 +28879,7 @@ var VirtualizedList = forwardRef25(function List3({
|
|
|
28879
28879
|
const [key, offset, pos, item] = row;
|
|
28880
28880
|
const index = pos - 1;
|
|
28881
28881
|
list.push(
|
|
28882
|
-
/* @__PURE__ */
|
|
28882
|
+
/* @__PURE__ */ jsx57(
|
|
28883
28883
|
ListItem3,
|
|
28884
28884
|
{
|
|
28885
28885
|
"aria-setsize": collectionHook.data.length,
|
|
@@ -28912,7 +28912,7 @@ var VirtualizedList = forwardRef25(function List3({
|
|
|
28912
28912
|
}
|
|
28913
28913
|
function renderEmpty() {
|
|
28914
28914
|
if (emptyMessage || showEmptyMessage) {
|
|
28915
|
-
return /* @__PURE__ */
|
|
28915
|
+
return /* @__PURE__ */ jsx57("span", { className: withBaseName11("empty-message"), children: emptyMessage != null ? emptyMessage : defaultEmptyMessage2 });
|
|
28916
28916
|
} else {
|
|
28917
28917
|
return null;
|
|
28918
28918
|
}
|
|
@@ -28933,7 +28933,7 @@ var VirtualizedList = forwardRef25(function List3({
|
|
|
28933
28933
|
maxWidth: maxWidth != null ? maxWidth : width,
|
|
28934
28934
|
maxHeight: maxHeight != null ? maxHeight : listHeight
|
|
28935
28935
|
};
|
|
28936
|
-
return /* @__PURE__ */
|
|
28936
|
+
return /* @__PURE__ */ jsx57(
|
|
28937
28937
|
"div",
|
|
28938
28938
|
{
|
|
28939
28939
|
...htmlAttributes,
|
|
@@ -28952,7 +28952,7 @@ var VirtualizedList = forwardRef25(function List3({
|
|
|
28952
28952
|
className: withBaseName11("scrollingContentContainer"),
|
|
28953
28953
|
style: { height: contentHeight },
|
|
28954
28954
|
children: [
|
|
28955
|
-
/* @__PURE__ */
|
|
28955
|
+
/* @__PURE__ */ jsx57(ListItemProxy, { ref: rowHeightProxyRef }),
|
|
28956
28956
|
renderContent()
|
|
28957
28957
|
]
|
|
28958
28958
|
}
|
|
@@ -28963,7 +28963,7 @@ var VirtualizedList = forwardRef25(function List3({
|
|
|
28963
28963
|
|
|
28964
28964
|
// ../vuu-ui-controls/src/list/RadioIcon.tsx
|
|
28965
28965
|
var import_classnames25 = __toESM(require_classnames());
|
|
28966
|
-
import { jsx as
|
|
28966
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
28967
28967
|
|
|
28968
28968
|
// ../vuu-ui-controls/src/dropdown/useDropdown.ts
|
|
28969
28969
|
import { useCallback as useCallback50, useMemo as useMemo29 } from "react";
|
|
@@ -29064,7 +29064,7 @@ var useDropdown = ({
|
|
|
29064
29064
|
};
|
|
29065
29065
|
|
|
29066
29066
|
// ../vuu-ui-controls/src/dropdown/Dropdown.tsx
|
|
29067
|
-
import { jsx as
|
|
29067
|
+
import { jsx as jsx59, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
29068
29068
|
var Dropdown2 = forwardRef26(function Dropdown3({
|
|
29069
29069
|
"aria-label": ariaLabel,
|
|
29070
29070
|
children,
|
|
@@ -29146,7 +29146,7 @@ var Dropdown2 = forwardRef26(function Dropdown3({
|
|
|
29146
29146
|
})
|
|
29147
29147
|
);
|
|
29148
29148
|
} else {
|
|
29149
|
-
return /* @__PURE__ */
|
|
29149
|
+
return /* @__PURE__ */ jsx59(
|
|
29150
29150
|
DropdownButton,
|
|
29151
29151
|
{
|
|
29152
29152
|
label: triggerLabel,
|
|
@@ -29156,7 +29156,7 @@ var Dropdown2 = forwardRef26(function Dropdown3({
|
|
|
29156
29156
|
);
|
|
29157
29157
|
}
|
|
29158
29158
|
};
|
|
29159
|
-
return /* @__PURE__ */
|
|
29159
|
+
return /* @__PURE__ */ jsx59(CollectionProvider, { collectionHook, children: /* @__PURE__ */ jsxs17(
|
|
29160
29160
|
DropdownBase,
|
|
29161
29161
|
{
|
|
29162
29162
|
...props,
|
|
@@ -29168,7 +29168,7 @@ var Dropdown2 = forwardRef26(function Dropdown3({
|
|
|
29168
29168
|
width,
|
|
29169
29169
|
children: [
|
|
29170
29170
|
getTriggerComponent(),
|
|
29171
|
-
/* @__PURE__ */
|
|
29171
|
+
/* @__PURE__ */ jsx59(
|
|
29172
29172
|
List,
|
|
29173
29173
|
{
|
|
29174
29174
|
ListItem: ListItem4,
|
|
@@ -29523,15 +29523,15 @@ var useCombobox = ({
|
|
|
29523
29523
|
|
|
29524
29524
|
// ../vuu-ui-controls/src/list/ChevronIcon.tsx
|
|
29525
29525
|
var import_classnames26 = __toESM(require_classnames());
|
|
29526
|
-
import { jsx as
|
|
29526
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
29527
29527
|
var classBase16 = "vuuChevronIcon";
|
|
29528
29528
|
var ChevronIcon = (props) => {
|
|
29529
29529
|
const { direction, ...htmlAttributes } = props;
|
|
29530
|
-
return /* @__PURE__ */
|
|
29530
|
+
return /* @__PURE__ */ jsx60("span", { ...htmlAttributes, className: (0, import_classnames26.default)(classBase16, direction) });
|
|
29531
29531
|
};
|
|
29532
29532
|
|
|
29533
29533
|
// ../vuu-ui-controls/src/combo-box/ComboBox.tsx
|
|
29534
|
-
import { jsx as
|
|
29534
|
+
import { jsx as jsx61, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
29535
29535
|
var ComboBox = forwardRef27(function Combobox({
|
|
29536
29536
|
InputProps: InputProps4,
|
|
29537
29537
|
ListProps: ListProps6,
|
|
@@ -29636,14 +29636,14 @@ var ComboBox = forwardRef27(function Combobox({
|
|
|
29636
29636
|
onOpenChange(true);
|
|
29637
29637
|
}
|
|
29638
29638
|
}, [isOpen, onOpenChange]);
|
|
29639
|
-
const endAdornment = endAdornmentProp === null ? null : /* @__PURE__ */
|
|
29639
|
+
const endAdornment = endAdornmentProp === null ? null : /* @__PURE__ */ jsx61(
|
|
29640
29640
|
ChevronIcon,
|
|
29641
29641
|
{
|
|
29642
29642
|
direction: isOpen ? "up" : "down",
|
|
29643
29643
|
onClick: handleDropdownIconClick
|
|
29644
29644
|
}
|
|
29645
29645
|
);
|
|
29646
|
-
return /* @__PURE__ */
|
|
29646
|
+
return /* @__PURE__ */ jsx61(CollectionProvider, { collectionHook, children: /* @__PURE__ */ jsxs18(
|
|
29647
29647
|
DropdownBase,
|
|
29648
29648
|
{
|
|
29649
29649
|
...props,
|
|
@@ -29655,7 +29655,7 @@ var ComboBox = forwardRef27(function Combobox({
|
|
|
29655
29655
|
ref: forwardedRef,
|
|
29656
29656
|
width,
|
|
29657
29657
|
children: [
|
|
29658
|
-
/* @__PURE__ */
|
|
29658
|
+
/* @__PURE__ */ jsx61(
|
|
29659
29659
|
Input,
|
|
29660
29660
|
{
|
|
29661
29661
|
...inputProps,
|
|
@@ -29664,7 +29664,7 @@ var ComboBox = forwardRef27(function Combobox({
|
|
|
29664
29664
|
endAdornment
|
|
29665
29665
|
}
|
|
29666
29666
|
),
|
|
29667
|
-
/* @__PURE__ */
|
|
29667
|
+
/* @__PURE__ */ jsx61(
|
|
29668
29668
|
List,
|
|
29669
29669
|
{
|
|
29670
29670
|
...ListProps6,
|
|
@@ -29689,7 +29689,7 @@ var ComboBox = forwardRef27(function Combobox({
|
|
|
29689
29689
|
// ../vuu-ui-controls/src/cycle-state-button/CycleStateButton.tsx
|
|
29690
29690
|
var import_classnames27 = __toESM(require_classnames());
|
|
29691
29691
|
import { forwardRef as forwardRef28, useCallback as useCallback54 } from "react";
|
|
29692
|
-
import { jsx as
|
|
29692
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
29693
29693
|
var classBase17 = "vuuCycleStateButton";
|
|
29694
29694
|
var getNextValue = (value, valueList) => {
|
|
29695
29695
|
const index = valueList.indexOf(value.toUpperCase());
|
|
@@ -29717,7 +29717,7 @@ var CycleStateButton = forwardRef28(function CycleStateButton2({
|
|
|
29717
29717
|
},
|
|
29718
29718
|
[onCommit, value, values]
|
|
29719
29719
|
);
|
|
29720
|
-
return /* @__PURE__ */
|
|
29720
|
+
return /* @__PURE__ */ jsx62(
|
|
29721
29721
|
Button,
|
|
29722
29722
|
{
|
|
29723
29723
|
...buttonProps,
|
|
@@ -29879,7 +29879,7 @@ import {
|
|
|
29879
29879
|
forwardRef as forwardRef29,
|
|
29880
29880
|
useRef as useRef49
|
|
29881
29881
|
} from "react";
|
|
29882
|
-
import { jsx as
|
|
29882
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
29883
29883
|
var classBase18 = "vuuEditableLabel";
|
|
29884
29884
|
var EditableLabel = forwardRef29(function EditableLabel2({
|
|
29885
29885
|
className: classNameProp,
|
|
@@ -29966,7 +29966,7 @@ var EditableLabel = forwardRef29(function EditableLabel2({
|
|
|
29966
29966
|
const className = (0, import_classnames28.default)(classBase18, classNameProp, {
|
|
29967
29967
|
[`${classBase18}-editing`]: editing
|
|
29968
29968
|
});
|
|
29969
|
-
return /* @__PURE__ */
|
|
29969
|
+
return /* @__PURE__ */ jsx63(
|
|
29970
29970
|
"div",
|
|
29971
29971
|
{
|
|
29972
29972
|
...restProps,
|
|
@@ -29974,7 +29974,7 @@ var EditableLabel = forwardRef29(function EditableLabel2({
|
|
|
29974
29974
|
onDoubleClick: handleDoubleClick,
|
|
29975
29975
|
"data-text": value,
|
|
29976
29976
|
ref: forwardedRef,
|
|
29977
|
-
children: editing ? /* @__PURE__ */
|
|
29977
|
+
children: editing ? /* @__PURE__ */ jsx63(
|
|
29978
29978
|
Input,
|
|
29979
29979
|
{
|
|
29980
29980
|
inputProps: { className: `${classBase18}-input`, spellCheck: false },
|
|
@@ -29987,7 +29987,7 @@ var EditableLabel = forwardRef29(function EditableLabel2({
|
|
|
29987
29987
|
textAlign: "left",
|
|
29988
29988
|
variant: "secondary"
|
|
29989
29989
|
}
|
|
29990
|
-
) : /* @__PURE__ */
|
|
29990
|
+
) : /* @__PURE__ */ jsx63("span", { className: `${classBase18}-label`, children: value })
|
|
29991
29991
|
}
|
|
29992
29992
|
);
|
|
29993
29993
|
});
|
|
@@ -29995,7 +29995,7 @@ var EditableLabel = forwardRef29(function EditableLabel2({
|
|
|
29995
29995
|
// ../vuu-ui-controls/src/expando-input/ExpandoInput.tsx
|
|
29996
29996
|
var import_classnames29 = __toESM(require_classnames());
|
|
29997
29997
|
import { forwardRef as forwardRef30 } from "react";
|
|
29998
|
-
import { jsx as
|
|
29998
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
29999
29999
|
var classBase19 = "vuuExpandoInput";
|
|
30000
30000
|
var noop2 = () => void 0;
|
|
30001
30001
|
var ExpandoInput = forwardRef30(function ExpandoInput2({
|
|
@@ -30006,14 +30006,14 @@ var ExpandoInput = forwardRef30(function ExpandoInput2({
|
|
|
30006
30006
|
onCommit = noop2,
|
|
30007
30007
|
...props
|
|
30008
30008
|
}, forwardedRef) {
|
|
30009
|
-
return /* @__PURE__ */
|
|
30009
|
+
return /* @__PURE__ */ jsx64(
|
|
30010
30010
|
"div",
|
|
30011
30011
|
{
|
|
30012
30012
|
className: (0, import_classnames29.default)(classBase19, classNameProp, {
|
|
30013
30013
|
[`${classBase19}-error`]: errorMessage
|
|
30014
30014
|
}),
|
|
30015
30015
|
"data-text": value,
|
|
30016
|
-
children: /* @__PURE__ */
|
|
30016
|
+
children: /* @__PURE__ */ jsx64(
|
|
30017
30017
|
VuuInput,
|
|
30018
30018
|
{
|
|
30019
30019
|
...props,
|
|
@@ -30032,10 +30032,10 @@ var ExpandoInput = forwardRef30(function ExpandoInput2({
|
|
|
30032
30032
|
});
|
|
30033
30033
|
|
|
30034
30034
|
// ../vuu-ui-controls/src/inputs/Checkbox.tsx
|
|
30035
|
-
import { jsx as
|
|
30035
|
+
import { jsx as jsx65, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
30036
30036
|
|
|
30037
30037
|
// ../vuu-ui-controls/src/inputs/RadioButton.tsx
|
|
30038
|
-
import { jsx as
|
|
30038
|
+
import { jsx as jsx66, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
30039
30039
|
|
|
30040
30040
|
// ../vuu-table/src/header-cell/GroupHeaderCellNext.tsx
|
|
30041
30041
|
var import_classnames32 = __toESM(require_classnames());
|
|
@@ -30043,7 +30043,7 @@ import { useCallback as useCallback60, useRef as useRef52, useState as useState3
|
|
|
30043
30043
|
|
|
30044
30044
|
// ../vuu-table/src/column-resizing/ColumnResizer.tsx
|
|
30045
30045
|
import { useCallback as useCallback57, useRef as useRef50 } from "react";
|
|
30046
|
-
import { jsx as
|
|
30046
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
30047
30047
|
var NOOP = () => void 0;
|
|
30048
30048
|
var baseClass = "vuuColumnResizerNext";
|
|
30049
30049
|
var ColumnResizer = ({
|
|
@@ -30092,7 +30092,7 @@ var ColumnResizer = ({
|
|
|
30092
30092
|
},
|
|
30093
30093
|
[onDragStart, onMouseMove, onMouseUp]
|
|
30094
30094
|
);
|
|
30095
|
-
return /* @__PURE__ */
|
|
30095
|
+
return /* @__PURE__ */ jsx67("div", { className: baseClass, onMouseDown: handleMouseDown });
|
|
30096
30096
|
};
|
|
30097
30097
|
|
|
30098
30098
|
// ../vuu-table/src/column-resizing/useTableColumnResize.tsx
|
|
@@ -30171,7 +30171,7 @@ var useCell = (column, classBase50, isHeader3) => (
|
|
|
30171
30171
|
// ../vuu-table/src/column-header-pill/ColumnHeaderPill.tsx
|
|
30172
30172
|
var import_classnames31 = __toESM(require_classnames());
|
|
30173
30173
|
import { useCallback as useCallback59 } from "react";
|
|
30174
|
-
import { jsx as
|
|
30174
|
+
import { jsx as jsx68, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
30175
30175
|
var classBase20 = "vuuColumnHeaderPill";
|
|
30176
30176
|
var ColumnHeaderPill = ({
|
|
30177
30177
|
children,
|
|
@@ -30196,7 +30196,7 @@ var ColumnHeaderPill = ({
|
|
|
30196
30196
|
);
|
|
30197
30197
|
return /* @__PURE__ */ jsxs21("div", { ...htmlAttributes, className: (0, import_classnames31.default)(classBase20, className), children: [
|
|
30198
30198
|
children,
|
|
30199
|
-
removable ? /* @__PURE__ */
|
|
30199
|
+
removable ? /* @__PURE__ */ jsx68(
|
|
30200
30200
|
"span",
|
|
30201
30201
|
{
|
|
30202
30202
|
className: `${classBase20}-removeButton`,
|
|
@@ -30209,7 +30209,7 @@ var ColumnHeaderPill = ({
|
|
|
30209
30209
|
};
|
|
30210
30210
|
|
|
30211
30211
|
// ../vuu-table/src/column-header-pill/GroupColumnPill.tsx
|
|
30212
|
-
import { jsx as
|
|
30212
|
+
import { jsx as jsx69, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
30213
30213
|
var GroupColumnPill = ({
|
|
30214
30214
|
column,
|
|
30215
30215
|
...columnHeaderProps
|
|
@@ -30217,27 +30217,27 @@ var GroupColumnPill = ({
|
|
|
30217
30217
|
const { name: name3, sorted } = column;
|
|
30218
30218
|
const icon = typeof sorted === "number" ? sorted < 0 ? "arrow-down" : "arrow-up" : sorted === "A" ? "arrow-up" : sorted === "D" ? "arrow-down" : void 0;
|
|
30219
30219
|
return /* @__PURE__ */ jsxs22(ColumnHeaderPill, { ...columnHeaderProps, column, children: [
|
|
30220
|
-
/* @__PURE__ */
|
|
30221
|
-
icon !== void 0 ? /* @__PURE__ */
|
|
30222
|
-
typeof sorted === "number" ? /* @__PURE__ */
|
|
30220
|
+
/* @__PURE__ */ jsx69("span", { className: "vuuGroupColumnPill-label", children: name3 }),
|
|
30221
|
+
icon !== void 0 ? /* @__PURE__ */ jsx69("span", { "data-icon": icon }) : null,
|
|
30222
|
+
typeof sorted === "number" ? /* @__PURE__ */ jsx69("span", { className: "vuuSortPosition", children: Math.abs(sorted) }) : null
|
|
30223
30223
|
] });
|
|
30224
30224
|
};
|
|
30225
30225
|
|
|
30226
30226
|
// ../vuu-table/src/column-header-pill/SortIndicator.tsx
|
|
30227
|
-
import { jsx as
|
|
30227
|
+
import { jsx as jsx70, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
30228
30228
|
var SortIndicator = ({ column }) => {
|
|
30229
30229
|
if (!column.sorted) {
|
|
30230
30230
|
return null;
|
|
30231
30231
|
}
|
|
30232
30232
|
const icon = typeof column.sorted === "number" ? column.sorted < 0 ? "arrow-down" : "arrow-up" : column.sorted === "A" ? "arrow-up" : "arrow-down";
|
|
30233
30233
|
return /* @__PURE__ */ jsxs23(ColumnHeaderPill, { column, children: [
|
|
30234
|
-
/* @__PURE__ */
|
|
30235
|
-
typeof column.sorted === "number" ? /* @__PURE__ */
|
|
30234
|
+
/* @__PURE__ */ jsx70("span", { "data-icon": icon }),
|
|
30235
|
+
typeof column.sorted === "number" ? /* @__PURE__ */ jsx70("span", { className: "vuuSortPosition", children: Math.abs(column.sorted) }) : null
|
|
30236
30236
|
] });
|
|
30237
30237
|
};
|
|
30238
30238
|
|
|
30239
30239
|
// ../vuu-table/src/header-cell/GroupHeaderCellNext.tsx
|
|
30240
|
-
import { jsx as
|
|
30240
|
+
import { jsx as jsx71, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
30241
30241
|
import { createElement as createElement4 } from "react";
|
|
30242
30242
|
var classBase21 = "vuuTableGroupHeaderCell";
|
|
30243
30243
|
var switchIfChanged = (columns, newColumns) => {
|
|
@@ -30299,7 +30299,7 @@ var GroupHeaderCellNext = ({
|
|
|
30299
30299
|
role: "columnheader",
|
|
30300
30300
|
style,
|
|
30301
30301
|
children: [
|
|
30302
|
-
/* @__PURE__ */
|
|
30302
|
+
/* @__PURE__ */ jsx71(
|
|
30303
30303
|
OverflowContainer,
|
|
30304
30304
|
{
|
|
30305
30305
|
allowDragDrop: true,
|
|
@@ -30319,7 +30319,7 @@ var GroupHeaderCellNext = ({
|
|
|
30319
30319
|
})
|
|
30320
30320
|
}
|
|
30321
30321
|
),
|
|
30322
|
-
/* @__PURE__ */
|
|
30322
|
+
/* @__PURE__ */ jsx71(
|
|
30323
30323
|
ColumnHeaderPill,
|
|
30324
30324
|
{
|
|
30325
30325
|
column: groupColumn,
|
|
@@ -30327,7 +30327,7 @@ var GroupHeaderCellNext = ({
|
|
|
30327
30327
|
onRemove: onRemoveColumn
|
|
30328
30328
|
}
|
|
30329
30329
|
),
|
|
30330
|
-
groupColumn.resizeable !== false ? /* @__PURE__ */
|
|
30330
|
+
groupColumn.resizeable !== false ? /* @__PURE__ */ jsx71(ColumnResizer, { ...resizeProps }) : null
|
|
30331
30331
|
]
|
|
30332
30332
|
}
|
|
30333
30333
|
);
|
|
@@ -30343,7 +30343,7 @@ import {
|
|
|
30343
30343
|
useRef as useRef53,
|
|
30344
30344
|
useState as useState35
|
|
30345
30345
|
} from "react";
|
|
30346
|
-
import { jsx as
|
|
30346
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
30347
30347
|
var getPosition4 = (element) => {
|
|
30348
30348
|
if (element) {
|
|
30349
30349
|
const { bottom, left } = element.getBoundingClientRect();
|
|
@@ -30374,7 +30374,7 @@ var ColumnMenu = ({
|
|
|
30374
30374
|
},
|
|
30375
30375
|
[column, handleMenuClose, showContextMenu2]
|
|
30376
30376
|
);
|
|
30377
|
-
return /* @__PURE__ */
|
|
30377
|
+
return /* @__PURE__ */ jsx72(
|
|
30378
30378
|
"span",
|
|
30379
30379
|
{
|
|
30380
30380
|
...props,
|
|
@@ -30390,7 +30390,7 @@ var ColumnMenu = ({
|
|
|
30390
30390
|
|
|
30391
30391
|
// ../vuu-table/src/header-cell/HeaderCell.tsx
|
|
30392
30392
|
var import_classnames34 = __toESM(require_classnames());
|
|
30393
|
-
import { jsx as
|
|
30393
|
+
import { jsx as jsx73, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
30394
30394
|
var classBase22 = "vuuTableHeaderCell";
|
|
30395
30395
|
var HeaderCell = ({
|
|
30396
30396
|
className: classNameProp,
|
|
@@ -30414,10 +30414,10 @@ var HeaderCell = ({
|
|
|
30414
30414
|
[isResizing, onClick]
|
|
30415
30415
|
);
|
|
30416
30416
|
const { className, style } = useCell(column, classBase22, true);
|
|
30417
|
-
const columnMenu = /* @__PURE__ */
|
|
30418
|
-
const columnLabel = HeaderCellLabelRenderer ? /* @__PURE__ */
|
|
30419
|
-
const columnContent = HeaderCellContentRenderer ? [/* @__PURE__ */
|
|
30420
|
-
const sortIndicator = /* @__PURE__ */
|
|
30417
|
+
const columnMenu = /* @__PURE__ */ jsx73(ColumnMenu, { column });
|
|
30418
|
+
const columnLabel = HeaderCellLabelRenderer ? /* @__PURE__ */ jsx73(HeaderCellLabelRenderer, { className: `${classBase22}-label`, column }) : /* @__PURE__ */ jsx73("div", { className: `${classBase22}-label`, children: (_a4 = column.label) != null ? _a4 : column.name });
|
|
30419
|
+
const columnContent = HeaderCellContentRenderer ? [/* @__PURE__ */ jsx73(HeaderCellContentRenderer, { column }, "content")] : [];
|
|
30420
|
+
const sortIndicator = /* @__PURE__ */ jsx73(SortIndicator, { column });
|
|
30421
30421
|
const headerItems = column.align === "right" ? [sortIndicator, columnLabel].concat(columnContent).concat(columnMenu) : [columnMenu, columnLabel, sortIndicator].concat(columnContent);
|
|
30422
30422
|
return /* @__PURE__ */ jsxs25(
|
|
30423
30423
|
"div",
|
|
@@ -30432,7 +30432,7 @@ var HeaderCell = ({
|
|
|
30432
30432
|
style,
|
|
30433
30433
|
children: [
|
|
30434
30434
|
...headerItems,
|
|
30435
|
-
column.resizeable !== false ? /* @__PURE__ */
|
|
30435
|
+
column.resizeable !== false ? /* @__PURE__ */ jsx73(ColumnResizer, { ...resizeProps }) : null
|
|
30436
30436
|
]
|
|
30437
30437
|
}
|
|
30438
30438
|
);
|
|
@@ -30462,7 +30462,7 @@ import { memo as memo2, useCallback as useCallback65 } from "react";
|
|
|
30462
30462
|
// ../vuu-table/src/table-cell/TableCell.tsx
|
|
30463
30463
|
import { isNumericColumn } from "@vuu-ui/vuu-utils";
|
|
30464
30464
|
import { useCallback as useCallback63 } from "react";
|
|
30465
|
-
import { jsx as
|
|
30465
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
30466
30466
|
var classBase23 = "vuuTableCell";
|
|
30467
30467
|
var TableCell = ({
|
|
30468
30468
|
column,
|
|
@@ -30496,14 +30496,14 @@ var TableCell = ({
|
|
|
30496
30496
|
},
|
|
30497
30497
|
[column, onClick]
|
|
30498
30498
|
);
|
|
30499
|
-
return /* @__PURE__ */
|
|
30499
|
+
return /* @__PURE__ */ jsx74(
|
|
30500
30500
|
"div",
|
|
30501
30501
|
{
|
|
30502
30502
|
className,
|
|
30503
30503
|
onClick: onClick ? handleClick : void 0,
|
|
30504
30504
|
role: "cell",
|
|
30505
30505
|
style,
|
|
30506
|
-
children: CellRenderer ? /* @__PURE__ */
|
|
30506
|
+
children: CellRenderer ? /* @__PURE__ */ jsx74(
|
|
30507
30507
|
CellRenderer,
|
|
30508
30508
|
{
|
|
30509
30509
|
column,
|
|
@@ -30520,7 +30520,7 @@ var TableCell = ({
|
|
|
30520
30520
|
import { getGroupValueAndOffset, metadataKeys as metadataKeys2 } from "@vuu-ui/vuu-utils";
|
|
30521
30521
|
import { useCallback as useCallback64 } from "react";
|
|
30522
30522
|
var import_classnames35 = __toESM(require_classnames());
|
|
30523
|
-
import { jsx as
|
|
30523
|
+
import { jsx as jsx75, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
30524
30524
|
var { IS_LEAF } = metadataKeys2;
|
|
30525
30525
|
var classBase24 = "vuuTableGroupCell";
|
|
30526
30526
|
var TableGroupCell = ({ column, onClick, row }) => {
|
|
@@ -30534,7 +30534,7 @@ var TableGroupCell = ({ column, onClick, row }) => {
|
|
|
30534
30534
|
[column, onClick]
|
|
30535
30535
|
);
|
|
30536
30536
|
const isLeaf3 = row[IS_LEAF];
|
|
30537
|
-
const spacers = Array(offset).fill(0).map((n, i) => /* @__PURE__ */
|
|
30537
|
+
const spacers = Array(offset).fill(0).map((n, i) => /* @__PURE__ */ jsx75("span", { className: `${classBase24}-spacer` }, i));
|
|
30538
30538
|
return /* @__PURE__ */ jsxs26(
|
|
30539
30539
|
"div",
|
|
30540
30540
|
{
|
|
@@ -30544,15 +30544,15 @@ var TableGroupCell = ({ column, onClick, row }) => {
|
|
|
30544
30544
|
onClick: isLeaf3 ? void 0 : handleClick,
|
|
30545
30545
|
children: [
|
|
30546
30546
|
spacers,
|
|
30547
|
-
isLeaf3 ? null : /* @__PURE__ */
|
|
30548
|
-
/* @__PURE__ */
|
|
30547
|
+
isLeaf3 ? null : /* @__PURE__ */ jsx75("span", { className: `${classBase24}-toggle`, "data-icon": "triangle-right" }),
|
|
30548
|
+
/* @__PURE__ */ jsx75("span", { children: value })
|
|
30549
30549
|
]
|
|
30550
30550
|
}
|
|
30551
30551
|
);
|
|
30552
30552
|
};
|
|
30553
30553
|
|
|
30554
30554
|
// ../vuu-table/src/Row.tsx
|
|
30555
|
-
import { jsx as
|
|
30555
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
30556
30556
|
import { createElement as createElement5 } from "react";
|
|
30557
30557
|
var { IDX, IS_EXPANDED, SELECTED: SELECTED2 } = metadataKeys3;
|
|
30558
30558
|
var classBase25 = "vuuTableRow";
|
|
@@ -30613,12 +30613,12 @@ var Row2 = memo2(
|
|
|
30613
30613
|
onClick: handleRowClick,
|
|
30614
30614
|
style
|
|
30615
30615
|
},
|
|
30616
|
-
/* @__PURE__ */
|
|
30616
|
+
/* @__PURE__ */ jsx76("span", { className: `${classBase25}-selectionDecorator vuuStickyLeft` }),
|
|
30617
30617
|
columns.filter(isNotHidden).map((column) => {
|
|
30618
30618
|
const isGroup = isGroupColumn(column);
|
|
30619
30619
|
const isJsonCell = isJsonColumn(column);
|
|
30620
30620
|
const Cell = isGroup ? TableGroupCell : TableCell;
|
|
30621
|
-
return /* @__PURE__ */
|
|
30621
|
+
return /* @__PURE__ */ jsx76(
|
|
30622
30622
|
Cell,
|
|
30623
30623
|
{
|
|
30624
30624
|
column,
|
|
@@ -30630,7 +30630,7 @@ var Row2 = memo2(
|
|
|
30630
30630
|
column.key
|
|
30631
30631
|
);
|
|
30632
30632
|
}),
|
|
30633
|
-
/* @__PURE__ */
|
|
30633
|
+
/* @__PURE__ */ jsx76("span", { className: `${classBase25}-selectionDecorator vuuStickyRight` })
|
|
30634
30634
|
);
|
|
30635
30635
|
}
|
|
30636
30636
|
);
|
|
@@ -30686,7 +30686,7 @@ import {
|
|
|
30686
30686
|
isValidNumber as isValidNumber3,
|
|
30687
30687
|
registerComponent as registerComponent4
|
|
30688
30688
|
} from "@vuu-ui/vuu-utils";
|
|
30689
|
-
import { jsx as
|
|
30689
|
+
import { jsx as jsx77, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
30690
30690
|
var classBase26 = "vuuProgressCell";
|
|
30691
30691
|
var ProgressCell = ({ column, columnMap, row }) => {
|
|
30692
30692
|
const { type } = column;
|
|
@@ -30721,8 +30721,8 @@ var ProgressCell = ({ column, columnMap, row }) => {
|
|
|
30721
30721
|
const className = (0, import_classnames37.default)(classBase26, {});
|
|
30722
30722
|
return /* @__PURE__ */ jsxs27("div", { className, tabIndex: -1, children: [
|
|
30723
30723
|
showProgress ? /* @__PURE__ */ jsxs27("span", { className: `${classBase26}-track`, children: [
|
|
30724
|
-
/* @__PURE__ */
|
|
30725
|
-
/* @__PURE__ */
|
|
30724
|
+
/* @__PURE__ */ jsx77("span", { className: `${classBase26}-bg` }),
|
|
30725
|
+
/* @__PURE__ */ jsx77(
|
|
30726
30726
|
"span",
|
|
30727
30727
|
{
|
|
30728
30728
|
className: `${classBase26}-bar`,
|
|
@@ -30730,7 +30730,7 @@ var ProgressCell = ({ column, columnMap, row }) => {
|
|
|
30730
30730
|
}
|
|
30731
30731
|
)
|
|
30732
30732
|
] }) : null,
|
|
30733
|
-
/* @__PURE__ */
|
|
30733
|
+
/* @__PURE__ */ jsx77("span", { className: `${classBase26}-text`, children: `${percentage} %` })
|
|
30734
30734
|
] });
|
|
30735
30735
|
};
|
|
30736
30736
|
registerComponent4("vuu.progress", ProgressCell, "cell-renderer", {
|
|
@@ -30773,7 +30773,7 @@ function useDirection(key, value, column) {
|
|
|
30773
30773
|
}
|
|
30774
30774
|
|
|
30775
30775
|
// ../vuu-table-extras/src/cell-renderers-next/background-cell/BackgroundCell.tsx
|
|
30776
|
-
import { jsx as
|
|
30776
|
+
import { jsx as jsx78, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
30777
30777
|
var CHAR_ARROW_UP = String.fromCharCode(11014);
|
|
30778
30778
|
var CHAR_ARROW_DOWN = String.fromCharCode(11015);
|
|
30779
30779
|
var { KEY } = metadataKeys4;
|
|
@@ -30805,7 +30805,7 @@ var BackgroundCell = ({ column, columnMap, row }) => {
|
|
|
30805
30805
|
[`${classBase27}-arrowBackground`]: flashStyle === FlashStyle.ArrowBackground
|
|
30806
30806
|
});
|
|
30807
30807
|
return /* @__PURE__ */ jsxs28("div", { className, tabIndex: -1, children: [
|
|
30808
|
-
/* @__PURE__ */
|
|
30808
|
+
/* @__PURE__ */ jsx78("div", { className: `${classBase27}-flasher`, children: arrow }),
|
|
30809
30809
|
valueFormatter(row[dataIdx])
|
|
30810
30810
|
] });
|
|
30811
30811
|
};
|
|
@@ -30826,7 +30826,7 @@ import {
|
|
|
30826
30826
|
registerConfigurationEditor
|
|
30827
30827
|
} from "@vuu-ui/vuu-utils";
|
|
30828
30828
|
import { useCallback as useCallback66, useState as useState36 } from "react";
|
|
30829
|
-
import { jsx as
|
|
30829
|
+
import { jsx as jsx79, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
30830
30830
|
var classBase28 = "vuuBackgroundCellConfiguration";
|
|
30831
30831
|
var flashOptions = [
|
|
30832
30832
|
{ label: "Background Only", value: "bg-only" },
|
|
@@ -30858,8 +30858,8 @@ var BackgroundCellConfigurationEditor = ({
|
|
|
30858
30858
|
[column.type, onChangeRendering]
|
|
30859
30859
|
);
|
|
30860
30860
|
return /* @__PURE__ */ jsxs29(FormField, { children: [
|
|
30861
|
-
/* @__PURE__ */
|
|
30862
|
-
/* @__PURE__ */
|
|
30861
|
+
/* @__PURE__ */ jsx79(FormFieldLabel, { children: "Flash Style" }),
|
|
30862
|
+
/* @__PURE__ */ jsx79(
|
|
30863
30863
|
Dropdown2,
|
|
30864
30864
|
{
|
|
30865
30865
|
className: `${classBase28}-flashStyle`,
|
|
@@ -30882,7 +30882,7 @@ import {
|
|
|
30882
30882
|
useCallback as useCallback67
|
|
30883
30883
|
} from "react";
|
|
30884
30884
|
import { getColumnLabel } from "@vuu-ui/vuu-utils";
|
|
30885
|
-
import { jsx as
|
|
30885
|
+
import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
30886
30886
|
|
|
30887
30887
|
// ../vuu-table-extras/src/column-settings/ColumnSettingsPanel.tsx
|
|
30888
30888
|
import {
|
|
@@ -50807,7 +50807,7 @@ var useColumnExpressionEditor = ({
|
|
|
50807
50807
|
};
|
|
50808
50808
|
|
|
50809
50809
|
// ../vuu-table-extras/src/column-expression-input/ColumnExpressionInput.tsx
|
|
50810
|
-
import { jsx as
|
|
50810
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
50811
50811
|
var classBase29 = "vuuColumnExpressionInput";
|
|
50812
50812
|
var ColumnExpressionInput = memo3(
|
|
50813
50813
|
({
|
|
@@ -50822,7 +50822,7 @@ var ColumnExpressionInput = memo3(
|
|
|
50822
50822
|
source,
|
|
50823
50823
|
suggestionProvider
|
|
50824
50824
|
});
|
|
50825
|
-
return /* @__PURE__ */
|
|
50825
|
+
return /* @__PURE__ */ jsx81("div", { className: `${classBase29}`, onBlur, ref: editorRef });
|
|
50826
50826
|
},
|
|
50827
50827
|
(prevProps, newProps) => {
|
|
50828
50828
|
return prevProps.source === newProps.source;
|
|
@@ -51194,7 +51194,7 @@ import {
|
|
|
51194
51194
|
import { useCallback as useCallback71, useRef as useRef58, useState as useState37 } from "react";
|
|
51195
51195
|
|
|
51196
51196
|
// ../vuu-table-extras/src/column-expression-panel/ColumnExpressionPanel.tsx
|
|
51197
|
-
import { jsx as
|
|
51197
|
+
import { jsx as jsx82, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
51198
51198
|
|
|
51199
51199
|
// ../vuu-table-extras/src/column-formatting-settings/ColumnFormattingPanel.tsx
|
|
51200
51200
|
import {
|
|
@@ -51212,10 +51212,10 @@ import {
|
|
|
51212
51212
|
useCallback as useCallback73,
|
|
51213
51213
|
useState as useState38
|
|
51214
51214
|
} from "react";
|
|
51215
|
-
import { jsx as
|
|
51215
|
+
import { jsx as jsx83, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
51216
51216
|
|
|
51217
51217
|
// ../vuu-table-extras/src/column-formatting-settings/ColumnFormattingPanel.tsx
|
|
51218
|
-
import { jsx as
|
|
51218
|
+
import { jsx as jsx84, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
51219
51219
|
|
|
51220
51220
|
// ../vuu-table-extras/src/column-settings/ColumnNameLabel.tsx
|
|
51221
51221
|
var import_classnames41 = __toESM(require_classnames(), 1);
|
|
@@ -51223,7 +51223,7 @@ import {
|
|
|
51223
51223
|
getCalculatedColumnDetails as getCalculatedColumnDetails2,
|
|
51224
51224
|
isCalculatedColumn
|
|
51225
51225
|
} from "@vuu-ui/vuu-utils";
|
|
51226
|
-
import { jsx as
|
|
51226
|
+
import { jsx as jsx85, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
51227
51227
|
|
|
51228
51228
|
// ../vuu-table-extras/src/column-settings/useColumnSettings.ts
|
|
51229
51229
|
import {
|
|
@@ -51267,12 +51267,12 @@ var stringCellRenderers = [
|
|
|
51267
51267
|
];
|
|
51268
51268
|
|
|
51269
51269
|
// ../vuu-table-extras/src/column-settings/ColumnSettingsPanel.tsx
|
|
51270
|
-
import { jsx as
|
|
51270
|
+
import { jsx as jsx86, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
51271
51271
|
|
|
51272
51272
|
// ../vuu-table-extras/src/datasource-stats/DatasourceStats.tsx
|
|
51273
51273
|
var import_classnames43 = __toESM(require_classnames(), 1);
|
|
51274
51274
|
import { useEffect as useEffect17, useState as useState40 } from "react";
|
|
51275
|
-
import { jsx as
|
|
51275
|
+
import { jsx as jsx87, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
51276
51276
|
var numberFormatter = new Intl.NumberFormat();
|
|
51277
51277
|
|
|
51278
51278
|
// ../vuu-table-extras/src/table-settings/useTableSettings.ts
|
|
@@ -51289,7 +51289,7 @@ import {
|
|
|
51289
51289
|
} from "react";
|
|
51290
51290
|
|
|
51291
51291
|
// ../vuu-table-extras/src/table-settings/TableSettingsPanel.tsx
|
|
51292
|
-
import { jsx as
|
|
51292
|
+
import { jsx as jsx88, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
51293
51293
|
|
|
51294
51294
|
// ../vuu-table-extras/src/useTableAndColumnSettings.ts
|
|
51295
51295
|
import { getCalculatedColumnType as getCalculatedColumnType2 } from "@vuu-ui/vuu-utils";
|
|
@@ -53726,7 +53726,7 @@ var useTableHeader = ({
|
|
|
53726
53726
|
};
|
|
53727
53727
|
|
|
53728
53728
|
// ../vuu-table/src/table-header/TableHeader.tsx
|
|
53729
|
-
import { jsx as
|
|
53729
|
+
import { jsx as jsx89, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
53730
53730
|
var TableHeader = ({
|
|
53731
53731
|
classBase: classBase50 = "vuuTable",
|
|
53732
53732
|
columns,
|
|
@@ -53752,10 +53752,10 @@ var TableHeader = ({
|
|
|
53752
53752
|
tableConfig
|
|
53753
53753
|
});
|
|
53754
53754
|
return /* @__PURE__ */ jsxs38("div", { className: `${classBase50}-col-headings`, ref: containerRef, children: [
|
|
53755
|
-
headings.map((colHeaders, i) => /* @__PURE__ */
|
|
53755
|
+
headings.map((colHeaders, i) => /* @__PURE__ */ jsx89("div", { className: "vuuTable-heading", children: colHeaders.map(({ label, width }, j) => /* @__PURE__ */ jsx89("div", { className: "vuuTable-headingCell", style: { width }, children: label }, j)) }, i)),
|
|
53756
53756
|
/* @__PURE__ */ jsxs38("div", { className: `${classBase50}-col-headers`, role: "row", children: [
|
|
53757
53757
|
columns.filter(isNotHidden2).map(
|
|
53758
|
-
(col, i) => isGroupColumn4(col) ? /* @__PURE__ */
|
|
53758
|
+
(col, i) => isGroupColumn4(col) ? /* @__PURE__ */ jsx89(
|
|
53759
53759
|
GroupHeaderCellNext,
|
|
53760
53760
|
{
|
|
53761
53761
|
column: col,
|
|
@@ -53765,7 +53765,7 @@ var TableHeader = ({
|
|
|
53765
53765
|
onResize: onResizeColumn
|
|
53766
53766
|
},
|
|
53767
53767
|
col.name
|
|
53768
|
-
) : /* @__PURE__ */
|
|
53768
|
+
) : /* @__PURE__ */ jsx89(
|
|
53769
53769
|
HeaderCell,
|
|
53770
53770
|
{
|
|
53771
53771
|
className: (0, import_classnames44.default)({
|
|
@@ -53787,7 +53787,7 @@ var TableHeader = ({
|
|
|
53787
53787
|
};
|
|
53788
53788
|
|
|
53789
53789
|
// ../vuu-table/src/Table.tsx
|
|
53790
|
-
import { jsx as
|
|
53790
|
+
import { jsx as jsx90, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
53791
53791
|
var classBase30 = "vuuTable";
|
|
53792
53792
|
var { IDX: IDX3, RENDER_IDX } = metadataKeys9;
|
|
53793
53793
|
var TableCore = ({
|
|
@@ -53890,16 +53890,16 @@ var TableCore = ({
|
|
|
53890
53890
|
menuActionHandler: handleContextMenuAction,
|
|
53891
53891
|
menuBuilder,
|
|
53892
53892
|
children: [
|
|
53893
|
-
/* @__PURE__ */
|
|
53893
|
+
/* @__PURE__ */ jsx90(
|
|
53894
53894
|
"div",
|
|
53895
53895
|
{
|
|
53896
53896
|
className: `${classBase30}-scrollbarContainer`,
|
|
53897
53897
|
ref: scrollProps.scrollbarContainerRef,
|
|
53898
53898
|
style: cssVariables,
|
|
53899
|
-
children: /* @__PURE__ */
|
|
53899
|
+
children: /* @__PURE__ */ jsx90("div", { className: `${classBase30}-scrollbarContent` })
|
|
53900
53900
|
}
|
|
53901
53901
|
),
|
|
53902
|
-
/* @__PURE__ */
|
|
53902
|
+
/* @__PURE__ */ jsx90(
|
|
53903
53903
|
"div",
|
|
53904
53904
|
{
|
|
53905
53905
|
className,
|
|
@@ -53912,7 +53912,7 @@ var TableCore = ({
|
|
|
53912
53912
|
className: `${classBase30}-table`,
|
|
53913
53913
|
tabIndex: disableFocus ? void 0 : -1,
|
|
53914
53914
|
children: [
|
|
53915
|
-
showColumnHeaders ? /* @__PURE__ */
|
|
53915
|
+
showColumnHeaders ? /* @__PURE__ */ jsx90(
|
|
53916
53916
|
TableHeader,
|
|
53917
53917
|
{
|
|
53918
53918
|
columns,
|
|
@@ -53926,7 +53926,7 @@ var TableCore = ({
|
|
|
53926
53926
|
tableId: id
|
|
53927
53927
|
}
|
|
53928
53928
|
) : null,
|
|
53929
|
-
/* @__PURE__ */
|
|
53929
|
+
/* @__PURE__ */ jsx90("div", { className: `${classBase30}-body`, children: data.map((data2) => /* @__PURE__ */ jsx90(
|
|
53930
53930
|
Row3,
|
|
53931
53931
|
{
|
|
53932
53932
|
columnMap,
|
|
@@ -53981,7 +53981,7 @@ var Table = forwardRef31(function TableNext({
|
|
|
53981
53981
|
}, forwardedRef) {
|
|
53982
53982
|
const containerRef = useRef70(null);
|
|
53983
53983
|
const [size, setSize] = useState45();
|
|
53984
|
-
return /* @__PURE__ */
|
|
53984
|
+
return /* @__PURE__ */ jsx90(
|
|
53985
53985
|
MeasuredContainer,
|
|
53986
53986
|
{
|
|
53987
53987
|
...htmlAttributes,
|
|
@@ -53989,7 +53989,7 @@ var Table = forwardRef31(function TableNext({
|
|
|
53989
53989
|
id,
|
|
53990
53990
|
onResize: setSize,
|
|
53991
53991
|
ref: useForkRef(containerRef, forwardedRef),
|
|
53992
|
-
children: size ? /* @__PURE__ */
|
|
53992
|
+
children: size ? /* @__PURE__ */ jsx90(
|
|
53993
53993
|
TableCore,
|
|
53994
53994
|
{
|
|
53995
53995
|
Row: Row3,
|
|
@@ -54031,7 +54031,7 @@ var dataAndColumnUnchanged = (p, p1) => p.column === p1.column && p.row[p.column
|
|
|
54031
54031
|
|
|
54032
54032
|
// ../vuu-table/src/cell-renderers/checkbox-cell/CheckboxCell.tsx
|
|
54033
54033
|
import { dispatchCustomEvent as dispatchCustomEvent4, registerComponent as registerComponent6 } from "@vuu-ui/vuu-utils";
|
|
54034
|
-
import { jsx as
|
|
54034
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
54035
54035
|
var CheckboxCell = memo4(
|
|
54036
54036
|
({ column, columnMap, onCommit = WarnCommit, row }) => {
|
|
54037
54037
|
const dataIdx = columnMap[column.name];
|
|
@@ -54046,7 +54046,7 @@ var CheckboxCell = memo4(
|
|
|
54046
54046
|
},
|
|
54047
54047
|
[onCommit]
|
|
54048
54048
|
);
|
|
54049
|
-
return !!column.editable ? /* @__PURE__ */
|
|
54049
|
+
return !!column.editable ? /* @__PURE__ */ jsx91(Checkbox, { checked: isChecked, onClick: handleCommit(!isChecked) }) : /* @__PURE__ */ jsx91(CheckboxIcon2, { checked: isChecked, disabled: true });
|
|
54050
54050
|
},
|
|
54051
54051
|
dataAndColumnUnchanged
|
|
54052
54052
|
);
|
|
@@ -54058,7 +54058,7 @@ registerComponent6("checkbox-cell", CheckboxCell, "cell-renderer", {
|
|
|
54058
54058
|
// ../vuu-table/src/cell-renderers/dropdown-cell/DropdownCell.tsx
|
|
54059
54059
|
import { dispatchCustomEvent as dispatchCustomEvent5, registerComponent as registerComponent7 } from "@vuu-ui/vuu-utils";
|
|
54060
54060
|
import { memo as memo5, useCallback as useCallback89, useState as useState46 } from "react";
|
|
54061
|
-
import { jsx as
|
|
54061
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
54062
54062
|
var classBase31 = "vuuTableDropdownCell";
|
|
54063
54063
|
var openKeys = ["Enter", " "];
|
|
54064
54064
|
var DropdownCell = memo5(
|
|
@@ -54084,7 +54084,7 @@ var DropdownCell = memo5(
|
|
|
54084
54084
|
},
|
|
54085
54085
|
[onCommit]
|
|
54086
54086
|
);
|
|
54087
|
-
return /* @__PURE__ */
|
|
54087
|
+
return /* @__PURE__ */ jsx92(
|
|
54088
54088
|
Dropdown2,
|
|
54089
54089
|
{
|
|
54090
54090
|
className: classBase31,
|
|
@@ -54103,7 +54103,7 @@ registerComponent7("dropdown-cell", DropdownCell, "cell-renderer", {});
|
|
|
54103
54103
|
// ../vuu-table/src/cell-renderers/input-cell/InputCell.tsx
|
|
54104
54104
|
import { registerComponent as registerComponent8 } from "@vuu-ui/vuu-utils";
|
|
54105
54105
|
var import_classnames46 = __toESM(require_classnames());
|
|
54106
|
-
import { jsx as
|
|
54106
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
54107
54107
|
var classBase32 = "vuuTableInputCell";
|
|
54108
54108
|
var WarnCommit2 = () => {
|
|
54109
54109
|
console.warn(
|
|
@@ -54128,9 +54128,9 @@ var InputCell = ({
|
|
|
54128
54128
|
onCommit,
|
|
54129
54129
|
clientSideEditValidationCheck
|
|
54130
54130
|
});
|
|
54131
|
-
const endAdornment = warningMessage && align === "left" ? /* @__PURE__ */
|
|
54132
|
-
const startAdornment = warningMessage && align === "right" ? /* @__PURE__ */
|
|
54133
|
-
return /* @__PURE__ */
|
|
54131
|
+
const endAdornment = warningMessage && align === "left" ? /* @__PURE__ */ jsx93("span", { className: `${classBase32}-icon`, "data-icon": "error" }) : void 0;
|
|
54132
|
+
const startAdornment = warningMessage && align === "right" ? /* @__PURE__ */ jsx93("span", { className: `${classBase32}-icon`, "data-icon": "error" }) : void 0;
|
|
54133
|
+
return /* @__PURE__ */ jsx93(
|
|
54134
54134
|
Input,
|
|
54135
54135
|
{
|
|
54136
54136
|
...editProps,
|
|
@@ -54147,7 +54147,7 @@ registerComponent8("input-cell", InputCell, "cell-renderer", {});
|
|
|
54147
54147
|
// ../vuu-table/src/cell-renderers/lookup-cell/LookupCell.tsx
|
|
54148
54148
|
import { registerComponent as registerComponent9 } from "@vuu-ui/vuu-utils";
|
|
54149
54149
|
import { memo as memo6 } from "react";
|
|
54150
|
-
import { jsx as
|
|
54150
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
54151
54151
|
var LookupCell = memo6(
|
|
54152
54152
|
function LookupCell2({
|
|
54153
54153
|
column,
|
|
@@ -54156,7 +54156,7 @@ var LookupCell = memo6(
|
|
|
54156
54156
|
}) {
|
|
54157
54157
|
const dataIdx = columnMap[column.name];
|
|
54158
54158
|
const { initialValue: value } = useLookupValues(column, row[dataIdx]);
|
|
54159
|
-
return /* @__PURE__ */
|
|
54159
|
+
return /* @__PURE__ */ jsx94("span", { children: value == null ? void 0 : value.label });
|
|
54160
54160
|
},
|
|
54161
54161
|
dataAndColumnUnchanged
|
|
54162
54162
|
);
|
|
@@ -54171,7 +54171,7 @@ import {
|
|
|
54171
54171
|
registerComponent as registerComponent10
|
|
54172
54172
|
} from "@vuu-ui/vuu-utils";
|
|
54173
54173
|
import { memo as memo7, useCallback as useCallback90 } from "react";
|
|
54174
|
-
import { jsx as
|
|
54174
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
54175
54175
|
var classBase33 = "vuuTableToggleCell";
|
|
54176
54176
|
var getValueList = ({ name: name3, type }) => {
|
|
54177
54177
|
if (isTypeDescriptor5(type) && isValueListRenderer(type.renderer)) {
|
|
@@ -54203,7 +54203,7 @@ var ToggleCell = memo7(
|
|
|
54203
54203
|
},
|
|
54204
54204
|
[onCommit]
|
|
54205
54205
|
);
|
|
54206
|
-
return /* @__PURE__ */
|
|
54206
|
+
return /* @__PURE__ */ jsx95(
|
|
54207
54207
|
CycleStateButton,
|
|
54208
54208
|
{
|
|
54209
54209
|
className: (0, import_classnames47.default)(classBase33, `${classBase33}-${column.name}`),
|
|
@@ -54263,7 +54263,7 @@ import { forwardRef as forwardRef32, useMemo as useMemo40 } from "react";
|
|
|
54263
54263
|
|
|
54264
54264
|
// ../vuu-ui-controls/src/instrument-picker/SearchCell.tsx
|
|
54265
54265
|
import { registerComponent as registerComponent11 } from "@vuu-ui/vuu-utils";
|
|
54266
|
-
import { jsx as
|
|
54266
|
+
import { jsx as jsx96, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
54267
54267
|
var classBase34 = "vuuSearchCell";
|
|
54268
54268
|
var SearchCell = ({
|
|
54269
54269
|
column,
|
|
@@ -54273,7 +54273,7 @@ var SearchCell = ({
|
|
|
54273
54273
|
const key = columnMap[column.name];
|
|
54274
54274
|
const value = row[key];
|
|
54275
54275
|
return /* @__PURE__ */ jsxs40("div", { className: classBase34, tabIndex: -1, children: [
|
|
54276
|
-
/* @__PURE__ */
|
|
54276
|
+
/* @__PURE__ */ jsx96("span", { "data-icon": "draggable" }),
|
|
54277
54277
|
value
|
|
54278
54278
|
] });
|
|
54279
54279
|
};
|
|
@@ -54365,7 +54365,7 @@ var useInstrumentPicker = ({
|
|
|
54365
54365
|
};
|
|
54366
54366
|
|
|
54367
54367
|
// ../vuu-ui-controls/src/instrument-picker/InstrumentPicker.tsx
|
|
54368
|
-
import { jsx as
|
|
54368
|
+
import { jsx as jsx97, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
54369
54369
|
var classBase35 = "vuuInstrumentPicker";
|
|
54370
54370
|
var InstrumentPicker = forwardRef32(function InstrumentPicker2({
|
|
54371
54371
|
TableProps: { dataSource, ...TableProps3 },
|
|
@@ -54399,7 +54399,7 @@ var InstrumentPicker = forwardRef32(function InstrumentPicker2({
|
|
|
54399
54399
|
onSelect,
|
|
54400
54400
|
searchColumns
|
|
54401
54401
|
});
|
|
54402
|
-
const endAdornment = useMemo40(() => /* @__PURE__ */
|
|
54402
|
+
const endAdornment = useMemo40(() => /* @__PURE__ */ jsx97("span", { "data-icon": "chevron-down" }), []);
|
|
54403
54403
|
const tableProps = {
|
|
54404
54404
|
...TableProps3,
|
|
54405
54405
|
config: {
|
|
@@ -54420,7 +54420,7 @@ var InstrumentPicker = forwardRef32(function InstrumentPicker2({
|
|
|
54420
54420
|
ref: forwardedRef,
|
|
54421
54421
|
width,
|
|
54422
54422
|
children: [
|
|
54423
|
-
/* @__PURE__ */
|
|
54423
|
+
/* @__PURE__ */ jsx97(
|
|
54424
54424
|
Input,
|
|
54425
54425
|
{
|
|
54426
54426
|
...inputProps,
|
|
@@ -54429,7 +54429,7 @@ var InstrumentPicker = forwardRef32(function InstrumentPicker2({
|
|
|
54429
54429
|
value
|
|
54430
54430
|
}
|
|
54431
54431
|
),
|
|
54432
|
-
/* @__PURE__ */
|
|
54432
|
+
/* @__PURE__ */ jsx97(
|
|
54433
54433
|
Table,
|
|
54434
54434
|
{
|
|
54435
54435
|
rowHeight: 25,
|
|
@@ -54456,7 +54456,7 @@ import { useCallback as useCallback94 } from "react";
|
|
|
54456
54456
|
|
|
54457
54457
|
// ../vuu-ui-controls/src/instrument-search/SearchCell.tsx
|
|
54458
54458
|
import { registerComponent as registerComponent12 } from "@vuu-ui/vuu-utils";
|
|
54459
|
-
import { jsx as
|
|
54459
|
+
import { jsx as jsx98, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
54460
54460
|
var classBase36 = "vuuSearchCell";
|
|
54461
54461
|
var SearchCell2 = ({
|
|
54462
54462
|
column,
|
|
@@ -54466,7 +54466,7 @@ var SearchCell2 = ({
|
|
|
54466
54466
|
const key = columnMap[column.name];
|
|
54467
54467
|
const value = row[key];
|
|
54468
54468
|
return /* @__PURE__ */ jsxs42("div", { className: classBase36, tabIndex: -1, children: [
|
|
54469
|
-
/* @__PURE__ */
|
|
54469
|
+
/* @__PURE__ */ jsx98("span", { "data-icon": "draggable" }),
|
|
54470
54470
|
value
|
|
54471
54471
|
] });
|
|
54472
54472
|
};
|
|
@@ -54539,7 +54539,7 @@ var useInstrumentSearch = ({
|
|
|
54539
54539
|
};
|
|
54540
54540
|
|
|
54541
54541
|
// ../vuu-ui-controls/src/instrument-search/InstrumentSearch.tsx
|
|
54542
|
-
import { jsx as
|
|
54542
|
+
import { jsx as jsx99, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
54543
54543
|
var classBase37 = "vuuInstrumentSearch";
|
|
54544
54544
|
var defaultTableConfig = {
|
|
54545
54545
|
columns: [
|
|
@@ -54557,7 +54557,7 @@ var defaultTableConfig = {
|
|
|
54557
54557
|
],
|
|
54558
54558
|
rowSeparators: true
|
|
54559
54559
|
};
|
|
54560
|
-
var searchIcon = /* @__PURE__ */
|
|
54560
|
+
var searchIcon = /* @__PURE__ */ jsx99("span", { "data-icon": "search" });
|
|
54561
54561
|
var InstrumentSearch = ({
|
|
54562
54562
|
TableProps: TableProps3,
|
|
54563
54563
|
autoFocus = false,
|
|
@@ -54582,7 +54582,7 @@ var InstrumentSearch = ({
|
|
|
54582
54582
|
}, 100);
|
|
54583
54583
|
}, []);
|
|
54584
54584
|
return /* @__PURE__ */ jsxs43("div", { ...htmlAttributes, className: (0, import_classnames48.default)(classBase37, className), children: [
|
|
54585
|
-
/* @__PURE__ */
|
|
54585
|
+
/* @__PURE__ */ jsx99("div", { className: `${classBase37}-inputField`, children: /* @__PURE__ */ jsx99(
|
|
54586
54586
|
Input,
|
|
54587
54587
|
{
|
|
54588
54588
|
inputProps: { onKeyDown },
|
|
@@ -54593,7 +54593,7 @@ var InstrumentSearch = ({
|
|
|
54593
54593
|
onChange
|
|
54594
54594
|
}
|
|
54595
54595
|
) }),
|
|
54596
|
-
dataSource ? /* @__PURE__ */
|
|
54596
|
+
dataSource ? /* @__PURE__ */ jsx99(
|
|
54597
54597
|
Table,
|
|
54598
54598
|
{
|
|
54599
54599
|
disableFocus: true,
|
|
@@ -54624,7 +54624,7 @@ import {
|
|
|
54624
54624
|
numericFormatter
|
|
54625
54625
|
} from "@vuu-ui/vuu-utils";
|
|
54626
54626
|
import { memo as memo8, useMemo as useMemo42, useRef as useRef72 } from "react";
|
|
54627
|
-
import { jsx as
|
|
54627
|
+
import { jsx as jsx100, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
54628
54628
|
var classBase38 = "vuuPriceTicker";
|
|
54629
54629
|
var getValueFormatter2 = (decimals) => numericFormatter({
|
|
54630
54630
|
type: {
|
|
@@ -54651,7 +54651,7 @@ var PriceTicker = memo8(
|
|
|
54651
54651
|
ref.current = [price, direction];
|
|
54652
54652
|
return /* @__PURE__ */ jsxs44("div", { ...htmlAttributes, className: (0, import_classnames49.default)(classBase38, className, direction), children: [
|
|
54653
54653
|
formatNumber(price),
|
|
54654
|
-
showArrow ? /* @__PURE__ */
|
|
54654
|
+
showArrow ? /* @__PURE__ */ jsx100("span", { "data-icon": "price-arrow" }) : null
|
|
54655
54655
|
] });
|
|
54656
54656
|
}
|
|
54657
54657
|
);
|
|
@@ -54659,7 +54659,7 @@ PriceTicker.displayName = "PriceTicker";
|
|
|
54659
54659
|
|
|
54660
54660
|
// ../vuu-ui-controls/src/tabstrip/Tabstrip.tsx
|
|
54661
54661
|
var import_classnames50 = __toESM(require_classnames());
|
|
54662
|
-
import
|
|
54662
|
+
import React22, { useMemo as useMemo44, useRef as useRef76 } from "react";
|
|
54663
54663
|
|
|
54664
54664
|
// ../vuu-ui-controls/src/tabstrip/useTabstrip.ts
|
|
54665
54665
|
import { dispatchMouseEvent as dispatchMouseEvent5 } from "@vuu-ui/vuu-utils";
|
|
@@ -55342,7 +55342,7 @@ var useTabstrip = ({
|
|
|
55342
55342
|
};
|
|
55343
55343
|
|
|
55344
55344
|
// ../vuu-ui-controls/src/tabstrip/Tabstrip.tsx
|
|
55345
|
-
import { Fragment as Fragment7, jsx as
|
|
55345
|
+
import { Fragment as Fragment7, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
55346
55346
|
import { createElement as createElement6 } from "react";
|
|
55347
55347
|
var classBase39 = "vuuTabstrip";
|
|
55348
55348
|
var Tabstrip = ({
|
|
@@ -55407,7 +55407,7 @@ var Tabstrip = ({
|
|
|
55407
55407
|
showMenuButton = showTabMenuButton
|
|
55408
55408
|
} = child.props;
|
|
55409
55409
|
const selected = index === activeTabIndex;
|
|
55410
|
-
return
|
|
55410
|
+
return React22.cloneElement(child, {
|
|
55411
55411
|
...tabProps,
|
|
55412
55412
|
...tabstripHook.navigationProps,
|
|
55413
55413
|
className: (0, import_classnames50.default)(className2, tabClassName),
|
|
@@ -55458,7 +55458,7 @@ var Tabstrip = ({
|
|
|
55458
55458
|
]
|
|
55459
55459
|
);
|
|
55460
55460
|
return /* @__PURE__ */ jsxs45(Fragment7, { children: [
|
|
55461
|
-
/* @__PURE__ */
|
|
55461
|
+
/* @__PURE__ */ jsx101(
|
|
55462
55462
|
OverflowContainer,
|
|
55463
55463
|
{
|
|
55464
55464
|
...htmlAttributes,
|
|
@@ -55488,7 +55488,7 @@ import {
|
|
|
55488
55488
|
// ../vuu-ui-controls/src/tabstrip/TabMenu.tsx
|
|
55489
55489
|
var import_classnames51 = __toESM(require_classnames());
|
|
55490
55490
|
import { useMemo as useMemo45 } from "react";
|
|
55491
|
-
import { jsx as
|
|
55491
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
55492
55492
|
var classBase40 = "vuuTabMenu";
|
|
55493
55493
|
var TabMenu = ({
|
|
55494
55494
|
allowClose,
|
|
@@ -55520,7 +55520,7 @@ var TabMenu = ({
|
|
|
55520
55520
|
],
|
|
55521
55521
|
[allowClose, allowRename, controlledComponentId, index]
|
|
55522
55522
|
);
|
|
55523
|
-
return /* @__PURE__ */
|
|
55523
|
+
return /* @__PURE__ */ jsx102(
|
|
55524
55524
|
PopupMenu,
|
|
55525
55525
|
{
|
|
55526
55526
|
className: classBase40,
|
|
@@ -55535,7 +55535,7 @@ var TabMenu = ({
|
|
|
55535
55535
|
};
|
|
55536
55536
|
|
|
55537
55537
|
// ../vuu-ui-controls/src/tabstrip/Tab.tsx
|
|
55538
|
-
import { jsx as
|
|
55538
|
+
import { jsx as jsx103, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
55539
55539
|
var classBase41 = "vuuTab";
|
|
55540
55540
|
var noop4 = () => void 0;
|
|
55541
55541
|
var Tab = forwardRef33(function Tab2({
|
|
@@ -55595,7 +55595,7 @@ var Tab = forwardRef33(function Tab2({
|
|
|
55595
55595
|
};
|
|
55596
55596
|
const getLabel2 = () => {
|
|
55597
55597
|
if (editable2) {
|
|
55598
|
-
return /* @__PURE__ */
|
|
55598
|
+
return /* @__PURE__ */ jsx103(
|
|
55599
55599
|
EditableLabel,
|
|
55600
55600
|
{
|
|
55601
55601
|
editing,
|
|
@@ -55641,7 +55641,7 @@ var Tab = forwardRef33(function Tab2({
|
|
|
55641
55641
|
role: "tab",
|
|
55642
55642
|
tabIndex,
|
|
55643
55643
|
children: [
|
|
55644
|
-
/* @__PURE__ */
|
|
55644
|
+
/* @__PURE__ */ jsx103("div", { className: `${classBase41}-main`, children: /* @__PURE__ */ jsx103(
|
|
55645
55645
|
"span",
|
|
55646
55646
|
{
|
|
55647
55647
|
className: `${classBase41}-text`,
|
|
@@ -55649,7 +55649,7 @@ var Tab = forwardRef33(function Tab2({
|
|
|
55649
55649
|
children: children != null ? children : getLabel2()
|
|
55650
55650
|
}
|
|
55651
55651
|
) }),
|
|
55652
|
-
showMenuButton ? /* @__PURE__ */
|
|
55652
|
+
showMenuButton ? /* @__PURE__ */ jsx103(
|
|
55653
55653
|
TabMenu,
|
|
55654
55654
|
{
|
|
55655
55655
|
allowClose: closeable,
|
|
@@ -56531,12 +56531,12 @@ var useTree = ({
|
|
|
56531
56531
|
};
|
|
56532
56532
|
|
|
56533
56533
|
// ../vuu-ui-controls/src/tree/Tree.tsx
|
|
56534
|
-
import { jsx as
|
|
56534
|
+
import { jsx as jsx104, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
56535
56535
|
import { createElement as createElement7 } from "react";
|
|
56536
56536
|
var classBase42 = "vuuTree";
|
|
56537
56537
|
var isExpanded = (node) => node.expanded === true;
|
|
56538
56538
|
var TreeNode2 = ({ children, idx, ...props }) => {
|
|
56539
|
-
return /* @__PURE__ */
|
|
56539
|
+
return /* @__PURE__ */ jsx104("li", { ...props, children });
|
|
56540
56540
|
};
|
|
56541
56541
|
var Tree2 = forwardRef34(function Tree3({
|
|
56542
56542
|
allowDragDrop,
|
|
@@ -56603,8 +56603,8 @@ var Tree2 = forwardRef34(function Tree3({
|
|
|
56603
56603
|
...propsCommonToAllListItems,
|
|
56604
56604
|
...getListItemProps(item, idx, highlightedIdx, selected, focusVisible),
|
|
56605
56605
|
children: [
|
|
56606
|
-
item.icon ? /* @__PURE__ */
|
|
56607
|
-
/* @__PURE__ */
|
|
56606
|
+
item.icon ? /* @__PURE__ */ jsx104("span", { className: `${classBase42}Node-icon`, "data-icon": item.icon }) : null,
|
|
56607
|
+
/* @__PURE__ */ jsx104("span", { children: item.label })
|
|
56608
56608
|
]
|
|
56609
56609
|
}
|
|
56610
56610
|
)
|
|
@@ -56633,19 +56633,19 @@ var Tree2 = forwardRef34(function Tree3({
|
|
|
56633
56633
|
key: `header-${i}`
|
|
56634
56634
|
},
|
|
56635
56635
|
allowGroupSelect ? /* @__PURE__ */ jsxs47("div", { className: `${classBase42}Node-label`, children: [
|
|
56636
|
-
/* @__PURE__ */
|
|
56636
|
+
/* @__PURE__ */ jsx104("span", { className: `${classBase42}Node-toggle` }),
|
|
56637
56637
|
title
|
|
56638
56638
|
] }) : /* @__PURE__ */ jsxs47("div", { className: `${classBase42}Node-label`, children: [
|
|
56639
|
-
child.icon ? /* @__PURE__ */
|
|
56639
|
+
child.icon ? /* @__PURE__ */ jsx104(
|
|
56640
56640
|
"span",
|
|
56641
56641
|
{
|
|
56642
56642
|
className: `${classBase42}Node-icon`,
|
|
56643
56643
|
"data-icon": child.icon
|
|
56644
56644
|
}
|
|
56645
56645
|
) : null,
|
|
56646
|
-
/* @__PURE__ */
|
|
56646
|
+
/* @__PURE__ */ jsx104("span", { children: title })
|
|
56647
56647
|
] }),
|
|
56648
|
-
/* @__PURE__ */
|
|
56648
|
+
/* @__PURE__ */ jsx104("ul", { role: "group", children: isExpanded(child) ? renderSourceContent(child.childNodes, idx) : "" })
|
|
56649
56649
|
)
|
|
56650
56650
|
);
|
|
56651
56651
|
}
|
|
@@ -56662,7 +56662,7 @@ var Tree2 = forwardRef34(function Tree3({
|
|
|
56662
56662
|
return listItems;
|
|
56663
56663
|
}
|
|
56664
56664
|
}
|
|
56665
|
-
return /* @__PURE__ */
|
|
56665
|
+
return /* @__PURE__ */ jsx104(
|
|
56666
56666
|
"ul",
|
|
56667
56667
|
{
|
|
56668
56668
|
...htmlAttributes,
|
|
@@ -56696,7 +56696,7 @@ import {
|
|
|
56696
56696
|
forwardRef as forwardRef35,
|
|
56697
56697
|
useCallback as useCallback107
|
|
56698
56698
|
} from "react";
|
|
56699
|
-
import { Fragment as Fragment8, jsx as
|
|
56699
|
+
import { Fragment as Fragment8, jsx as jsx105, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
56700
56700
|
var classBase43 = "vuuInput";
|
|
56701
56701
|
var constantInputProps = {
|
|
56702
56702
|
autoComplete: "off"
|
|
@@ -56751,7 +56751,7 @@ var VuuInput = forwardRef35(function VuuInput2({
|
|
|
56751
56751
|
},
|
|
56752
56752
|
[commitValue]
|
|
56753
56753
|
);
|
|
56754
|
-
const endAdornment = errorMessage ? /* @__PURE__ */
|
|
56754
|
+
const endAdornment = errorMessage ? /* @__PURE__ */ jsx105(
|
|
56755
56755
|
"span",
|
|
56756
56756
|
{
|
|
56757
56757
|
...anchorProps,
|
|
@@ -56760,7 +56760,7 @@ var VuuInput = forwardRef35(function VuuInput2({
|
|
|
56760
56760
|
}
|
|
56761
56761
|
) : void 0;
|
|
56762
56762
|
return /* @__PURE__ */ jsxs48(Fragment8, { children: [
|
|
56763
|
-
/* @__PURE__ */
|
|
56763
|
+
/* @__PURE__ */ jsx105(
|
|
56764
56764
|
Input,
|
|
56765
56765
|
{
|
|
56766
56766
|
...props,
|
|
@@ -56778,7 +56778,7 @@ var VuuInput = forwardRef35(function VuuInput2({
|
|
|
56778
56778
|
onKeyDown: handleKeyDown
|
|
56779
56779
|
}
|
|
56780
56780
|
),
|
|
56781
|
-
tooltipProps ? /* @__PURE__ */
|
|
56781
|
+
tooltipProps ? /* @__PURE__ */ jsx105(Tooltip, { ...tooltipProps, status: "error" }) : null
|
|
56782
56782
|
] });
|
|
56783
56783
|
});
|
|
56784
56784
|
|
|
@@ -56895,7 +56895,7 @@ var useViewActionDispatcher = (id, root, viewPath, dropTargets) => {
|
|
|
56895
56895
|
|
|
56896
56896
|
// ../vuu-layout/src/layout-view/View.tsx
|
|
56897
56897
|
var import_classnames55 = __toESM(require_classnames());
|
|
56898
|
-
import
|
|
56898
|
+
import React24, {
|
|
56899
56899
|
forwardRef as forwardRef36,
|
|
56900
56900
|
useCallback as useCallback111,
|
|
56901
56901
|
useMemo as useMemo49,
|
|
@@ -57028,9 +57028,9 @@ var useViewResize = ({
|
|
|
57028
57028
|
};
|
|
57029
57029
|
|
|
57030
57030
|
// ../vuu-layout/src/layout-view/ViewContext.ts
|
|
57031
|
-
import
|
|
57031
|
+
import React23, { useContext as useContext11 } from "react";
|
|
57032
57032
|
var NO_CONTEXT = { dispatch: null };
|
|
57033
|
-
var ViewContext =
|
|
57033
|
+
var ViewContext = React23.createContext(NO_CONTEXT);
|
|
57034
57034
|
var useViewDispatch = () => {
|
|
57035
57035
|
var _a4;
|
|
57036
57036
|
const context = useContext11(ViewContext);
|
|
@@ -57039,7 +57039,7 @@ var useViewDispatch = () => {
|
|
|
57039
57039
|
var useViewContext = () => useContext11(ViewContext);
|
|
57040
57040
|
|
|
57041
57041
|
// ../vuu-layout/src/layout-view/View.tsx
|
|
57042
|
-
import { jsx as
|
|
57042
|
+
import { jsx as jsx106, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
57043
57043
|
var classBase44 = "vuuView";
|
|
57044
57044
|
var getProps2 = (state, props) => {
|
|
57045
57045
|
if (state && props) {
|
|
@@ -57101,8 +57101,8 @@ var View = forwardRef36(function View2(props, forwardedRef) {
|
|
|
57101
57101
|
_setComponentProps(props2);
|
|
57102
57102
|
}, []);
|
|
57103
57103
|
const getContent = () => {
|
|
57104
|
-
if (
|
|
57105
|
-
return
|
|
57104
|
+
if (React24.isValidElement(children) && (restoredState || componentProps)) {
|
|
57105
|
+
return React24.cloneElement(
|
|
57106
57106
|
children,
|
|
57107
57107
|
getProps2(restoredState, componentProps)
|
|
57108
57108
|
);
|
|
@@ -57138,7 +57138,7 @@ var View = forwardRef36(function View2(props, forwardedRef) {
|
|
|
57138
57138
|
]
|
|
57139
57139
|
);
|
|
57140
57140
|
const headerProps = typeof header === "object" ? header : {};
|
|
57141
|
-
return /* @__PURE__ */
|
|
57141
|
+
return /* @__PURE__ */ jsx106(
|
|
57142
57142
|
"div",
|
|
57143
57143
|
{
|
|
57144
57144
|
...restProps,
|
|
@@ -57153,7 +57153,7 @@ var View = forwardRef36(function View2(props, forwardedRef) {
|
|
|
57153
57153
|
style,
|
|
57154
57154
|
tabIndex: -1,
|
|
57155
57155
|
children: /* @__PURE__ */ jsxs49(ViewContext.Provider, { value: viewContextValue, children: [
|
|
57156
|
-
header ? /* @__PURE__ */
|
|
57156
|
+
header ? /* @__PURE__ */ jsx106(
|
|
57157
57157
|
Header2,
|
|
57158
57158
|
{
|
|
57159
57159
|
...headerProps,
|
|
@@ -57167,18 +57167,18 @@ var View = forwardRef36(function View2(props, forwardedRef) {
|
|
|
57167
57167
|
title
|
|
57168
57168
|
}
|
|
57169
57169
|
) : null,
|
|
57170
|
-
/* @__PURE__ */
|
|
57170
|
+
/* @__PURE__ */ jsx106("div", { className: `${classBase44}-main`, ref: mainRef, children: getContent() })
|
|
57171
57171
|
] })
|
|
57172
57172
|
}
|
|
57173
57173
|
);
|
|
57174
57174
|
});
|
|
57175
57175
|
View.displayName = "View";
|
|
57176
|
-
var MemoView =
|
|
57176
|
+
var MemoView = React24.memo(View);
|
|
57177
57177
|
MemoView.displayName = "View";
|
|
57178
57178
|
registerComponent("View", MemoView, "view");
|
|
57179
57179
|
|
|
57180
57180
|
// ../vuu-layout/src/layout-header/Header.tsx
|
|
57181
|
-
import { jsx as
|
|
57181
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
57182
57182
|
var classBase45 = "vuuHeader";
|
|
57183
57183
|
var Header = ({
|
|
57184
57184
|
className: classNameProp,
|
|
@@ -57247,7 +57247,7 @@ var Header = ({
|
|
|
57247
57247
|
}
|
|
57248
57248
|
});
|
|
57249
57249
|
title && toolbarItems.push(
|
|
57250
|
-
/* @__PURE__ */
|
|
57250
|
+
/* @__PURE__ */ jsx107(
|
|
57251
57251
|
EditableLabel,
|
|
57252
57252
|
{
|
|
57253
57253
|
className: `${classBase45}-title`,
|
|
@@ -57265,7 +57265,7 @@ var Header = ({
|
|
|
57265
57265
|
)
|
|
57266
57266
|
);
|
|
57267
57267
|
closeable && actionButtons.push(
|
|
57268
|
-
/* @__PURE__ */
|
|
57268
|
+
/* @__PURE__ */ jsx107(
|
|
57269
57269
|
Button,
|
|
57270
57270
|
{
|
|
57271
57271
|
"data-icon": "close",
|
|
@@ -57277,12 +57277,12 @@ var Header = ({
|
|
|
57277
57277
|
)
|
|
57278
57278
|
);
|
|
57279
57279
|
postTitleContributedItems.length > 0 && toolbarItems.push(
|
|
57280
|
-
/* @__PURE__ */
|
|
57280
|
+
/* @__PURE__ */ jsx107("div", { className: "vuuTooltrayProxy", "data-align": "end", children: postTitleContributedItems }, "contributions")
|
|
57281
57281
|
);
|
|
57282
57282
|
actionButtons.length > 0 && toolbarItems.push(
|
|
57283
|
-
/* @__PURE__ */
|
|
57283
|
+
/* @__PURE__ */ jsx107("div", { className: "vuuTooltrayProxy", "data-align": "end", children: actionButtons }, "actions")
|
|
57284
57284
|
);
|
|
57285
|
-
return /* @__PURE__ */
|
|
57285
|
+
return /* @__PURE__ */ jsx107(
|
|
57286
57286
|
"div",
|
|
57287
57287
|
{
|
|
57288
57288
|
className: (0, import_classnames56.default)("vuuToolbarProxy", className),
|
|
@@ -57330,7 +57330,7 @@ import { useRef as useRef93 } from "react";
|
|
|
57330
57330
|
|
|
57331
57331
|
// ../vuu-filters/src/filter-builder-menu/FilterBuilderMenu.tsx
|
|
57332
57332
|
import { useCallback as useCallback112, useRef as useRef88 } from "react";
|
|
57333
|
-
import { Fragment as Fragment9, jsx as
|
|
57333
|
+
import { Fragment as Fragment9, jsx as jsx108, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
57334
57334
|
|
|
57335
57335
|
// ../vuu-filters/src/filter-clause/ExpandoCombobox.tsx
|
|
57336
57336
|
import { itemToString as defaultToString } from "@vuu-ui/vuu-utils";
|
|
@@ -57342,7 +57342,7 @@ import {
|
|
|
57342
57342
|
useRef as useRef89,
|
|
57343
57343
|
useState as useState54
|
|
57344
57344
|
} from "react";
|
|
57345
|
-
import { jsx as
|
|
57345
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
57346
57346
|
var classBase46 = "vuuExpandoCombobox";
|
|
57347
57347
|
var NO_INPUT_PROPS = {};
|
|
57348
57348
|
var ExpandoCombobox = forwardRef37(function ExpandoCombobox2({
|
|
@@ -57428,14 +57428,14 @@ var ExpandoCombobox = forwardRef37(function ExpandoCombobox2({
|
|
|
57428
57428
|
const popupProps = {
|
|
57429
57429
|
minWidth: "fit-content"
|
|
57430
57430
|
};
|
|
57431
|
-
return /* @__PURE__ */
|
|
57431
|
+
return /* @__PURE__ */ jsx109(
|
|
57432
57432
|
"div",
|
|
57433
57433
|
{
|
|
57434
57434
|
className: (0, import_classnames57.default)(classBase46, classNameProp),
|
|
57435
57435
|
"data-text": text,
|
|
57436
57436
|
ref: forwardedRef,
|
|
57437
57437
|
style,
|
|
57438
|
-
children: /* @__PURE__ */
|
|
57438
|
+
children: /* @__PURE__ */ jsx109(
|
|
57439
57439
|
ComboBox,
|
|
57440
57440
|
{
|
|
57441
57441
|
...props,
|
|
@@ -57465,7 +57465,7 @@ import {
|
|
|
57465
57465
|
useCallback as useCallback114
|
|
57466
57466
|
} from "react";
|
|
57467
57467
|
import { isValidNumber as isValidNumber9 } from "@vuu-ui/vuu-utils";
|
|
57468
|
-
import { jsx as
|
|
57468
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
57469
57469
|
var NumericInput = forwardRef38(function NumericInput2({
|
|
57470
57470
|
InputProps: InputProps4,
|
|
57471
57471
|
className,
|
|
@@ -57498,7 +57498,7 @@ var NumericInput = forwardRef38(function NumericInput2({
|
|
|
57498
57498
|
},
|
|
57499
57499
|
[onInputComplete]
|
|
57500
57500
|
);
|
|
57501
|
-
return /* @__PURE__ */
|
|
57501
|
+
return /* @__PURE__ */ jsx110(
|
|
57502
57502
|
ExpandoInput,
|
|
57503
57503
|
{
|
|
57504
57504
|
...InputProps4,
|
|
@@ -57522,7 +57522,7 @@ import {
|
|
|
57522
57522
|
useMemo as useMemo51,
|
|
57523
57523
|
useState as useState56
|
|
57524
57524
|
} from "react";
|
|
57525
|
-
import { jsx as
|
|
57525
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
57526
57526
|
var selectionKeys = ["Enter", " "];
|
|
57527
57527
|
var NO_DATA_MATCH = ["No matching data"];
|
|
57528
57528
|
var TextInput = forwardRef39(function TextInput2({
|
|
@@ -57603,7 +57603,7 @@ var TextInput = forwardRef39(function TextInput2({
|
|
|
57603
57603
|
}
|
|
57604
57604
|
switch (operator2) {
|
|
57605
57605
|
case "in":
|
|
57606
|
-
return /* @__PURE__ */
|
|
57606
|
+
return /* @__PURE__ */ jsx111(
|
|
57607
57607
|
ExpandoCombobox,
|
|
57608
57608
|
{
|
|
57609
57609
|
InputProps: InputProps4,
|
|
@@ -57620,7 +57620,7 @@ var TextInput = forwardRef39(function TextInput2({
|
|
|
57620
57620
|
}
|
|
57621
57621
|
);
|
|
57622
57622
|
case "starts": {
|
|
57623
|
-
return /* @__PURE__ */
|
|
57623
|
+
return /* @__PURE__ */ jsx111(
|
|
57624
57624
|
ExpandoCombobox,
|
|
57625
57625
|
{
|
|
57626
57626
|
InputProps: InputProps4,
|
|
@@ -57642,7 +57642,7 @@ var TextInput = forwardRef39(function TextInput2({
|
|
|
57642
57642
|
);
|
|
57643
57643
|
}
|
|
57644
57644
|
case "ends":
|
|
57645
|
-
return /* @__PURE__ */
|
|
57645
|
+
return /* @__PURE__ */ jsx111(
|
|
57646
57646
|
ExpandoInput,
|
|
57647
57647
|
{
|
|
57648
57648
|
...InputProps4,
|
|
@@ -57654,7 +57654,7 @@ var TextInput = forwardRef39(function TextInput2({
|
|
|
57654
57654
|
}
|
|
57655
57655
|
);
|
|
57656
57656
|
default:
|
|
57657
|
-
return /* @__PURE__ */
|
|
57657
|
+
return /* @__PURE__ */ jsx111(
|
|
57658
57658
|
ExpandoCombobox,
|
|
57659
57659
|
{
|
|
57660
57660
|
InputProps: InputProps4,
|
|
@@ -57705,7 +57705,7 @@ import {
|
|
|
57705
57705
|
} from "react";
|
|
57706
57706
|
|
|
57707
57707
|
// ../vuu-filters/src/filter-clause/FilterClauseEditor.tsx
|
|
57708
|
-
import { jsx as
|
|
57708
|
+
import { jsx as jsx112, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
57709
57709
|
|
|
57710
57710
|
// ../vuu-filters/src/filter-pill/FilterPill.tsx
|
|
57711
57711
|
var import_classnames60 = __toESM(require_classnames(), 1);
|
|
@@ -57715,7 +57715,7 @@ import { useCallback as useCallback118, useRef as useRef91 } from "react";
|
|
|
57715
57715
|
// ../vuu-filters/src/filter-pill-menu/FilterPillMenu.tsx
|
|
57716
57716
|
var import_classnames59 = __toESM(require_classnames(), 1);
|
|
57717
57717
|
import { useMemo as useMemo53 } from "react";
|
|
57718
|
-
import { jsx as
|
|
57718
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
57719
57719
|
|
|
57720
57720
|
// ../vuu-filters/src/filter-utils.ts
|
|
57721
57721
|
import {
|
|
@@ -57736,10 +57736,10 @@ import {
|
|
|
57736
57736
|
isMultiValueFilter as isMultiValueFilter3,
|
|
57737
57737
|
quotedStrings
|
|
57738
57738
|
} from "@vuu-ui/vuu-utils";
|
|
57739
|
-
import { jsx as
|
|
57739
|
+
import { jsx as jsx114, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
57740
57740
|
|
|
57741
57741
|
// ../vuu-filters/src/filter-pill/FilterPill.tsx
|
|
57742
|
-
import { jsx as
|
|
57742
|
+
import { jsx as jsx115, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
57743
57743
|
|
|
57744
57744
|
// ../vuu-filters/src/filter-bar/useFilterBar.ts
|
|
57745
57745
|
import {
|
|
@@ -57762,10 +57762,10 @@ import { useCallback as useCallback119 } from "react";
|
|
|
57762
57762
|
import { useCallback as useCallback121, useMemo as useMemo55 } from "react";
|
|
57763
57763
|
|
|
57764
57764
|
// ../vuu-filters/src/filter-bar/FilterBarMenu.tsx
|
|
57765
|
-
import { jsx as
|
|
57765
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
57766
57766
|
|
|
57767
57767
|
// ../vuu-filters/src/filter-bar/FilterBar.tsx
|
|
57768
|
-
import { jsx as
|
|
57768
|
+
import { jsx as jsx117, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
57769
57769
|
import { createElement as createElement8 } from "react";
|
|
57770
57770
|
|
|
57771
57771
|
// ../vuu-filters/src/filter-input/useCodeMirrorEditor.ts
|
|
@@ -57874,7 +57874,7 @@ var vuuTheme2 = EditorView.theme(
|
|
|
57874
57874
|
import { useCallback as useCallback122 } from "react";
|
|
57875
57875
|
|
|
57876
57876
|
// ../vuu-filters/src/filter-input/FilterInput.tsx
|
|
57877
|
-
import { jsx as
|
|
57877
|
+
import { jsx as jsx118, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
57878
57878
|
|
|
57879
57879
|
// ../vuu-filters/src/filter-input/useFilterSuggestionProvider.ts
|
|
57880
57880
|
import { useCallback as useCallback123, useRef as useRef95 } from "react";
|
|
@@ -58046,7 +58046,7 @@ _urlKey = new WeakMap();
|
|
|
58046
58046
|
|
|
58047
58047
|
// ../vuu-layout/src/layout-persistence/useLayoutContextMenuItems.tsx
|
|
58048
58048
|
import { useCallback as useCallback124, useMemo as useMemo57 } from "react";
|
|
58049
|
-
import { jsx as
|
|
58049
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
58050
58050
|
|
|
58051
58051
|
// ../vuu-layout/src/measured-container/MeasuredContainer.tsx
|
|
58052
58052
|
import { forwardRef as forwardRef40 } from "react";
|
|
@@ -58309,7 +58309,7 @@ var useMeasuredContainer = ({
|
|
|
58309
58309
|
|
|
58310
58310
|
// ../vuu-layout/src/measured-container/MeasuredContainer.tsx
|
|
58311
58311
|
var import_classnames63 = __toESM(require_classnames());
|
|
58312
|
-
import { jsx as
|
|
58312
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
58313
58313
|
var baseClass2 = "vuuMeasuredContainer";
|
|
58314
58314
|
var MeasuredContainer = forwardRef40(function MeasuredContainer2({
|
|
58315
58315
|
children,
|
|
@@ -58340,7 +58340,7 @@ var MeasuredContainer = forwardRef40(function MeasuredContainer2({
|
|
|
58340
58340
|
};
|
|
58341
58341
|
};
|
|
58342
58342
|
const forkedRef = useForkRef(containerRef, forwardedRef);
|
|
58343
|
-
return unmeasured ? /* @__PURE__ */
|
|
58343
|
+
return unmeasured ? /* @__PURE__ */ jsx120(
|
|
58344
58344
|
"div",
|
|
58345
58345
|
{
|
|
58346
58346
|
...htmlAttributes,
|
|
@@ -58348,7 +58348,7 @@ var MeasuredContainer = forwardRef40(function MeasuredContainer2({
|
|
|
58348
58348
|
style: getStyle2(),
|
|
58349
58349
|
ref: containerRef
|
|
58350
58350
|
}
|
|
58351
|
-
) : /* @__PURE__ */
|
|
58351
|
+
) : /* @__PURE__ */ jsx120(
|
|
58352
58352
|
"div",
|
|
58353
58353
|
{
|
|
58354
58354
|
...htmlAttributes,
|
|
@@ -58362,7 +58362,7 @@ var MeasuredContainer = forwardRef40(function MeasuredContainer2({
|
|
|
58362
58362
|
|
|
58363
58363
|
// ../vuu-layout/src/overflow-container/OverflowContainer.tsx
|
|
58364
58364
|
var import_classnames64 = __toESM(require_classnames());
|
|
58365
|
-
import
|
|
58365
|
+
import React25, {
|
|
58366
58366
|
forwardRef as forwardRef41
|
|
58367
58367
|
} from "react";
|
|
58368
58368
|
|
|
@@ -58754,9 +58754,9 @@ var useOverflowContainer = ({
|
|
|
58754
58754
|
};
|
|
58755
58755
|
|
|
58756
58756
|
// ../vuu-layout/src/overflow-container/OverflowContainer.tsx
|
|
58757
|
-
import { jsx as
|
|
58757
|
+
import { jsx as jsx121, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
58758
58758
|
var classBase47 = "vuuOverflowContainer";
|
|
58759
|
-
var WrapContainer =
|
|
58759
|
+
var WrapContainer = React25.memo(
|
|
58760
58760
|
({
|
|
58761
58761
|
PopupMenuProps: PopupMenuProps2,
|
|
58762
58762
|
allowDragDrop,
|
|
@@ -58800,7 +58800,7 @@ var WrapContainer = React24.memo(
|
|
|
58800
58800
|
id: itemId = `${id}-${i}`,
|
|
58801
58801
|
label = `Item ${i + 1}`
|
|
58802
58802
|
} = childEl.props;
|
|
58803
|
-
return /* @__PURE__ */
|
|
58803
|
+
return /* @__PURE__ */ jsx121(
|
|
58804
58804
|
"div",
|
|
58805
58805
|
{
|
|
58806
58806
|
className: (0, import_classnames64.default)(`${classBase47}-item`, {
|
|
@@ -58817,12 +58817,12 @@ var WrapContainer = React24.memo(
|
|
|
58817
58817
|
i
|
|
58818
58818
|
);
|
|
58819
58819
|
});
|
|
58820
|
-
const overflowIndicator = /* @__PURE__ */
|
|
58820
|
+
const overflowIndicator = /* @__PURE__ */ jsx121(
|
|
58821
58821
|
"div",
|
|
58822
58822
|
{
|
|
58823
58823
|
className: `${classBase47}-OverflowIndicator`,
|
|
58824
58824
|
"data-index": "overflow",
|
|
58825
|
-
children: /* @__PURE__ */
|
|
58825
|
+
children: /* @__PURE__ */ jsx121(
|
|
58826
58826
|
PopupMenu,
|
|
58827
58827
|
{
|
|
58828
58828
|
...PopupMenuProps2,
|
|
@@ -58858,14 +58858,14 @@ var OverflowContainer = forwardRef41(function OverflowContainer2({
|
|
|
58858
58858
|
...htmlAttributes
|
|
58859
58859
|
}, forwardedRef) {
|
|
58860
58860
|
const id = useId2(idProp);
|
|
58861
|
-
return /* @__PURE__ */
|
|
58861
|
+
return /* @__PURE__ */ jsx121(
|
|
58862
58862
|
"div",
|
|
58863
58863
|
{
|
|
58864
58864
|
...htmlAttributes,
|
|
58865
58865
|
className: (0, import_classnames64.default)((0, import_classnames64.default)(className, classBase47)),
|
|
58866
58866
|
id,
|
|
58867
58867
|
ref: forwardedRef,
|
|
58868
|
-
children: /* @__PURE__ */
|
|
58868
|
+
children: /* @__PURE__ */ jsx121(
|
|
58869
58869
|
WrapContainer,
|
|
58870
58870
|
{
|
|
58871
58871
|
PopupMenuProps: PopupMenuProps2,
|
|
@@ -58891,7 +58891,7 @@ import {
|
|
|
58891
58891
|
cloneElement as cloneElement11,
|
|
58892
58892
|
memo as memo9
|
|
58893
58893
|
} from "react";
|
|
58894
|
-
import { jsx as
|
|
58894
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
58895
58895
|
var clonePaletteItem = (paletteItem) => {
|
|
58896
58896
|
const dolly = paletteItem.cloneNode(true);
|
|
58897
58897
|
dolly.id = "";
|
|
@@ -58908,7 +58908,7 @@ var PaletteItem = memo9(
|
|
|
58908
58908
|
closeable,
|
|
58909
58909
|
...props
|
|
58910
58910
|
}) => {
|
|
58911
|
-
return /* @__PURE__ */
|
|
58911
|
+
return /* @__PURE__ */ jsx122(
|
|
58912
58912
|
ListItem,
|
|
58913
58913
|
{
|
|
58914
58914
|
className: (0, import_classnames65.default)("vuuPaletteItem", className),
|
|
@@ -58943,7 +58943,7 @@ var Palette = ({
|
|
|
58943
58943
|
const { height, left, top: top2, width } = listItemElement.getBoundingClientRect();
|
|
58944
58944
|
const id = uuid5();
|
|
58945
58945
|
const identifiers = { id, key: id };
|
|
58946
|
-
const component = template ? payload : /* @__PURE__ */
|
|
58946
|
+
const component = template ? payload : /* @__PURE__ */ jsx122(
|
|
58947
58947
|
MemoView,
|
|
58948
58948
|
{
|
|
58949
58949
|
...ViewProps4,
|
|
@@ -58977,7 +58977,7 @@ var Palette = ({
|
|
|
58977
58977
|
type: "drag-start"
|
|
58978
58978
|
});
|
|
58979
58979
|
}
|
|
58980
|
-
return /* @__PURE__ */
|
|
58980
|
+
return /* @__PURE__ */ jsx122(
|
|
58981
58981
|
List,
|
|
58982
58982
|
{
|
|
58983
58983
|
...ListProps6,
|
|
@@ -58998,18 +58998,18 @@ registerComponent("Palette", Palette, "view");
|
|
|
58998
58998
|
|
|
58999
58999
|
// ../vuu-layout/src/stack/Stack.tsx
|
|
59000
59000
|
var import_classnames66 = __toESM(require_classnames());
|
|
59001
|
-
import
|
|
59001
|
+
import React26, {
|
|
59002
59002
|
forwardRef as forwardRef42,
|
|
59003
59003
|
useCallback as useCallback128,
|
|
59004
59004
|
useRef as useRef99
|
|
59005
59005
|
} from "react";
|
|
59006
|
-
import { jsx as
|
|
59006
|
+
import { jsx as jsx123, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
59007
59007
|
var classBase48 = "vuuTabs";
|
|
59008
59008
|
var getDefaultTabIcon = () => void 0;
|
|
59009
59009
|
var getChildElements = (children) => {
|
|
59010
59010
|
const elements = [];
|
|
59011
|
-
|
|
59012
|
-
if (
|
|
59011
|
+
React26.Children.forEach(children, (child) => {
|
|
59012
|
+
if (React26.isValidElement(child)) {
|
|
59013
59013
|
elements.push(child);
|
|
59014
59014
|
} else {
|
|
59015
59015
|
console.warn(`Stack has unexpected child element type`);
|
|
@@ -59056,7 +59056,7 @@ var Stack2 = forwardRef42(function Stack3({
|
|
|
59056
59056
|
);
|
|
59057
59057
|
const activeChild = () => {
|
|
59058
59058
|
var _a5;
|
|
59059
|
-
if (
|
|
59059
|
+
if (React26.isValidElement(children)) {
|
|
59060
59060
|
return children;
|
|
59061
59061
|
}
|
|
59062
59062
|
if (Array.isArray(children)) {
|
|
@@ -59072,7 +59072,7 @@ var Stack2 = forwardRef42(function Stack3({
|
|
|
59072
59072
|
} = child2.props;
|
|
59073
59073
|
const label = getTabLabel(child2, idx, tabLabels.current);
|
|
59074
59074
|
tabLabels.current.push(label);
|
|
59075
|
-
return /* @__PURE__ */
|
|
59075
|
+
return /* @__PURE__ */ jsx123(
|
|
59076
59076
|
Tab,
|
|
59077
59077
|
{
|
|
59078
59078
|
ariaControls: childId,
|
|
@@ -59100,7 +59100,7 @@ var Stack2 = forwardRef42(function Stack3({
|
|
|
59100
59100
|
id,
|
|
59101
59101
|
ref,
|
|
59102
59102
|
children: [
|
|
59103
|
-
showTabs ? /* @__PURE__ */
|
|
59103
|
+
showTabs ? /* @__PURE__ */ jsx123(
|
|
59104
59104
|
Tabstrip,
|
|
59105
59105
|
{
|
|
59106
59106
|
...TabstripProps2,
|
|
@@ -59118,7 +59118,7 @@ var Stack2 = forwardRef42(function Stack3({
|
|
|
59118
59118
|
children: renderTabs()
|
|
59119
59119
|
}
|
|
59120
59120
|
) : null,
|
|
59121
|
-
/* @__PURE__ */
|
|
59121
|
+
/* @__PURE__ */ jsx123(
|
|
59122
59122
|
"div",
|
|
59123
59123
|
{
|
|
59124
59124
|
"aria-labelledby": `${id}-${active}`,
|
|
@@ -59134,9 +59134,9 @@ var Stack2 = forwardRef42(function Stack3({
|
|
|
59134
59134
|
Stack2.displayName = "Stack";
|
|
59135
59135
|
|
|
59136
59136
|
// ../vuu-layout/src/stack/StackLayout.tsx
|
|
59137
|
-
import
|
|
59138
|
-
import { jsx as
|
|
59139
|
-
var defaultCreateNewChild = () => /* @__PURE__ */
|
|
59137
|
+
import React27, { useCallback as useCallback129, useRef as useRef100 } from "react";
|
|
59138
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
59139
|
+
var defaultCreateNewChild = () => /* @__PURE__ */ jsx124(
|
|
59140
59140
|
Placeholder,
|
|
59141
59141
|
{
|
|
59142
59142
|
resizeable: true,
|
|
@@ -59179,7 +59179,7 @@ var StackLayout = (props) => {
|
|
|
59179
59179
|
);
|
|
59180
59180
|
const handleTabAdd = useCallback129(() => {
|
|
59181
59181
|
if (path) {
|
|
59182
|
-
const tabIndex =
|
|
59182
|
+
const tabIndex = React27.Children.count(children);
|
|
59183
59183
|
const component = createNewChild(tabIndex);
|
|
59184
59184
|
dispatch({
|
|
59185
59185
|
type: "add",
|
|
@@ -59223,7 +59223,7 @@ var StackLayout = (props) => {
|
|
|
59223
59223
|
return loadState(id2, "view-title") || title || // This will normally never be called as title is always assigned in layout model
|
|
59224
59224
|
getDefaultTabLabel(component, idx, existingLabels);
|
|
59225
59225
|
};
|
|
59226
|
-
return /* @__PURE__ */
|
|
59226
|
+
return /* @__PURE__ */ jsx124(
|
|
59227
59227
|
Stack2,
|
|
59228
59228
|
{
|
|
59229
59229
|
...restProps,
|
|
@@ -59244,7 +59244,7 @@ registerComponent("Stack", StackLayout, "container");
|
|
|
59244
59244
|
|
|
59245
59245
|
// ../vuu-layout/src/toolbar/Toolbar.tsx
|
|
59246
59246
|
var import_classnames67 = __toESM(require_classnames());
|
|
59247
|
-
import
|
|
59247
|
+
import React28, { useMemo as useMemo60, useRef as useRef103 } from "react";
|
|
59248
59248
|
|
|
59249
59249
|
// ../vuu-layout/src/toolbar/useToolbar.ts
|
|
59250
59250
|
import { isValidNumber as isValidNumber12 } from "@vuu-ui/vuu-utils";
|
|
@@ -59298,22 +59298,22 @@ import { isSelectableElement as isSelectableElement2, getClosestIndexItem } from
|
|
|
59298
59298
|
import { useCallback as useCallback131 } from "react";
|
|
59299
59299
|
|
|
59300
59300
|
// ../vuu-layout/src/toolbar/Toolbar.tsx
|
|
59301
|
-
import { jsx as
|
|
59301
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
59302
59302
|
|
|
59303
59303
|
// ../vuu-layout/src/tools/config-wrapper/ConfigWrapper.tsx
|
|
59304
|
-
import
|
|
59305
|
-
import { jsx as
|
|
59304
|
+
import React29, { useState as useState62 } from "react";
|
|
59305
|
+
import { jsx as jsx126, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
59306
59306
|
|
|
59307
59307
|
// ../vuu-layout/src/tools/devtools-box/layout-configurator.jsx
|
|
59308
|
-
import { jsx as
|
|
59308
|
+
import { jsx as jsx127, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
59309
59309
|
var CSS_DIGIT = "(\\d+)(?:px)?";
|
|
59310
59310
|
var CSS_MEASURE = `^(?:${CSS_DIGIT}(?:\\s${CSS_DIGIT}(?:\\s${CSS_DIGIT}(?:\\s${CSS_DIGIT})?)?)?)$`;
|
|
59311
59311
|
var CSS_REX = new RegExp(CSS_MEASURE);
|
|
59312
59312
|
|
|
59313
59313
|
// ../vuu-layout/src/tools/devtools-tree/layout-tree-viewer.jsx
|
|
59314
59314
|
var import_classnames68 = __toESM(require_classnames());
|
|
59315
|
-
import
|
|
59316
|
-
import { jsx as
|
|
59315
|
+
import React30 from "react";
|
|
59316
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
59317
59317
|
|
|
59318
59318
|
// ../vuu-shell/src/login/LoginPanel.tsx
|
|
59319
59319
|
import {
|
|
@@ -59325,35 +59325,35 @@ import {
|
|
|
59325
59325
|
|
|
59326
59326
|
// ../vuu-shell/src/login/VuuLogo.tsx
|
|
59327
59327
|
import { useMemo as useMemo61 } from "react";
|
|
59328
|
-
import { jsx as
|
|
59328
|
+
import { jsx as jsx129, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
59329
59329
|
|
|
59330
59330
|
// ../vuu-shell/src/login/LoginPanel.tsx
|
|
59331
59331
|
var import_classnames69 = __toESM(require_classnames());
|
|
59332
|
-
import { jsx as
|
|
59332
|
+
import { jsx as jsx130, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
59333
59333
|
|
|
59334
59334
|
// ../vuu-shell/src/login/login-utils.ts
|
|
59335
59335
|
import { getCookieValue } from "@vuu-ui/vuu-utils";
|
|
59336
59336
|
|
|
59337
59337
|
// ../vuu-shell/src/app-header/AppHeader.tsx
|
|
59338
|
-
import { jsx as
|
|
59338
|
+
import { jsx as jsx131, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
59339
59339
|
|
|
59340
59340
|
// ../vuu-shell/src/connection-status/ConnectionStatusIcon.tsx
|
|
59341
59341
|
var import_classnames71 = __toESM(require_classnames());
|
|
59342
|
-
import
|
|
59343
|
-
import { Fragment as Fragment10, jsx as
|
|
59342
|
+
import React31, { useEffect as useEffect30, useState as useState64 } from "react";
|
|
59343
|
+
import { Fragment as Fragment10, jsx as jsx132, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
59344
59344
|
|
|
59345
59345
|
// ../vuu-shell/src/density-switch/DensitySwitch.tsx
|
|
59346
59346
|
var import_classnames72 = __toESM(require_classnames());
|
|
59347
59347
|
import { useCallback as useCallback135 } from "react";
|
|
59348
|
-
import { jsx as
|
|
59348
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
59349
59349
|
|
|
59350
59350
|
// ../vuu-shell/src/feature/Feature.tsx
|
|
59351
|
-
import
|
|
59351
|
+
import React33, { Suspense, useEffect as useEffect31 } from "react";
|
|
59352
59352
|
|
|
59353
59353
|
// ../vuu-shell/src/feature/FeatureErrorBoundary.tsx
|
|
59354
|
-
import
|
|
59355
|
-
import { Fragment as Fragment11, jsx as
|
|
59356
|
-
var FeatureErrorBoundary = class extends
|
|
59354
|
+
import React32 from "react";
|
|
59355
|
+
import { Fragment as Fragment11, jsx as jsx134, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
59356
|
+
var FeatureErrorBoundary = class extends React32.Component {
|
|
59357
59357
|
constructor(props) {
|
|
59358
59358
|
super(props);
|
|
59359
59359
|
this.state = { errorMessage: null };
|
|
@@ -59368,8 +59368,8 @@ var FeatureErrorBoundary = class extends React31.Component {
|
|
|
59368
59368
|
render() {
|
|
59369
59369
|
if (this.state.errorMessage) {
|
|
59370
59370
|
return /* @__PURE__ */ jsxs64(Fragment11, { children: [
|
|
59371
|
-
/* @__PURE__ */
|
|
59372
|
-
/* @__PURE__ */
|
|
59371
|
+
/* @__PURE__ */ jsx134("h1", { children: "An error occured while creating component." }),
|
|
59372
|
+
/* @__PURE__ */ jsx134("p", { children: this.state.errorMessage })
|
|
59373
59373
|
] });
|
|
59374
59374
|
}
|
|
59375
59375
|
return this.props.children;
|
|
@@ -59377,8 +59377,8 @@ var FeatureErrorBoundary = class extends React31.Component {
|
|
|
59377
59377
|
};
|
|
59378
59378
|
|
|
59379
59379
|
// ../vuu-shell/src/feature/Loader.tsx
|
|
59380
|
-
import { jsx as
|
|
59381
|
-
var Loader = () => /* @__PURE__ */
|
|
59380
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
59381
|
+
var Loader = () => /* @__PURE__ */ jsx135("div", { className: "hwLoader" });
|
|
59382
59382
|
|
|
59383
59383
|
// ../vuu-shell/src/feature/css-module-loader.ts
|
|
59384
59384
|
var importCSS = async (path) => {
|
|
@@ -59387,7 +59387,7 @@ var importCSS = async (path) => {
|
|
|
59387
59387
|
};
|
|
59388
59388
|
|
|
59389
59389
|
// ../vuu-shell/src/feature/Feature.tsx
|
|
59390
|
-
import { jsx as
|
|
59390
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
59391
59391
|
var componentsMap = /* @__PURE__ */ new Map();
|
|
59392
59392
|
var useCachedFeature = (url) => {
|
|
59393
59393
|
useEffect31(
|
|
@@ -59399,7 +59399,7 @@ var useCachedFeature = (url) => {
|
|
|
59399
59399
|
if (!componentsMap.has(url)) {
|
|
59400
59400
|
componentsMap.set(
|
|
59401
59401
|
url,
|
|
59402
|
-
|
|
59402
|
+
React33.lazy(() => import(
|
|
59403
59403
|
/* @vite-ignore */
|
|
59404
59404
|
url
|
|
59405
59405
|
))
|
|
@@ -59427,29 +59427,29 @@ function RawFeature({
|
|
|
59427
59427
|
});
|
|
59428
59428
|
}
|
|
59429
59429
|
const LazyFeature = useCachedFeature(url);
|
|
59430
|
-
return /* @__PURE__ */
|
|
59430
|
+
return /* @__PURE__ */ jsx136(FeatureErrorBoundary, { url, children: /* @__PURE__ */ jsx136(Suspense, { fallback: /* @__PURE__ */ jsx136(Loader, {}), children: /* @__PURE__ */ jsx136(LazyFeature, { ...props, ...params }) }) });
|
|
59431
59431
|
}
|
|
59432
|
-
var Feature =
|
|
59432
|
+
var Feature = React33.memo(RawFeature);
|
|
59433
59433
|
Feature.displayName = "Feature";
|
|
59434
59434
|
registerComponent("Feature", Feature, "view");
|
|
59435
59435
|
|
|
59436
59436
|
// ../vuu-shell/src/layout-management/SaveLayoutPanel.tsx
|
|
59437
59437
|
import { useEffect as useEffect32, useState as useState65 } from "react";
|
|
59438
59438
|
import { takeScreenshot } from "@vuu-ui/vuu-utils";
|
|
59439
|
-
import { jsx as
|
|
59439
|
+
import { jsx as jsx137, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
59440
59440
|
var classBase49 = "saveLayoutPanel";
|
|
59441
59441
|
var formField = `${classBase49}-formField`;
|
|
59442
59442
|
|
|
59443
59443
|
// ../vuu-shell/src/layout-management/useLayoutManager.tsx
|
|
59444
|
-
import
|
|
59444
|
+
import React34, {
|
|
59445
59445
|
useCallback as useCallback136,
|
|
59446
59446
|
useContext as useContext12,
|
|
59447
59447
|
useEffect as useEffect33,
|
|
59448
59448
|
useRef as useRef105,
|
|
59449
59449
|
useState as useState66
|
|
59450
59450
|
} from "react";
|
|
59451
|
-
import { jsx as
|
|
59452
|
-
var LayoutManagementContext =
|
|
59451
|
+
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
59452
|
+
var LayoutManagementContext = React34.createContext({
|
|
59453
59453
|
getApplicationSettings: () => void 0,
|
|
59454
59454
|
layoutMetadata: [],
|
|
59455
59455
|
saveLayout: () => void 0,
|
|
@@ -59461,11 +59461,11 @@ var LayoutManagementContext = React33.createContext({
|
|
|
59461
59461
|
});
|
|
59462
59462
|
|
|
59463
59463
|
// ../vuu-shell/src/layout-management/LayoutList.tsx
|
|
59464
|
-
import { Fragment as Fragment12, jsx as
|
|
59464
|
+
import { Fragment as Fragment12, jsx as jsx139, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
59465
59465
|
|
|
59466
59466
|
// ../vuu-icons/src/VuuLogo.tsx
|
|
59467
59467
|
import { memo as memo10 } from "react";
|
|
59468
|
-
import { jsx as
|
|
59468
|
+
import { jsx as jsx140, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
59469
59469
|
var VuuLogo2 = memo10(() => {
|
|
59470
59470
|
return /* @__PURE__ */ jsxs67(
|
|
59471
59471
|
"svg",
|
|
@@ -59477,21 +59477,21 @@ var VuuLogo2 = memo10(() => {
|
|
|
59477
59477
|
xmlns: "http://www.w3.org/2000/svg",
|
|
59478
59478
|
children: [
|
|
59479
59479
|
/* @__PURE__ */ jsxs67("g", { clipPath: "url(#clip0_217_6990)", children: [
|
|
59480
|
-
/* @__PURE__ */
|
|
59480
|
+
/* @__PURE__ */ jsx140(
|
|
59481
59481
|
"path",
|
|
59482
59482
|
{
|
|
59483
59483
|
d: "M39.8642 15.5509L35.9196 7.58974L34.3369 6.85464L24.6235 22.0825L39.1628 30.618L42.3152 25.6347L39.8642 15.5509Z",
|
|
59484
59484
|
fill: "url(#paint0_linear_217_6990)"
|
|
59485
59485
|
}
|
|
59486
59486
|
),
|
|
59487
|
-
/* @__PURE__ */
|
|
59487
|
+
/* @__PURE__ */ jsx140(
|
|
59488
59488
|
"path",
|
|
59489
59489
|
{
|
|
59490
59490
|
d: "M42.6246 24.8716C41.9199 25.9157 40.9625 26.824 39.767 27.4905C38.424 28.2396 36.9563 28.597 35.5081 28.597C32.7541 28.597 30.0715 27.3094 28.4466 24.9855L15.772 3.90967L15.7655 3.9206C13.3615 0.137431 8.25372 -1.13143 4.24754 1.10507C0.178173 3.37435 -1.20852 8.39359 1.14854 12.3125L18.3445 40.9095C19.1108 42.1846 20.1816 43.1834 21.4144 43.8764C21.4241 43.8826 21.4338 43.8889 21.4435 43.8951C21.4484 43.8982 21.4549 43.9013 21.4597 43.9045C22.0332 44.2228 22.6423 44.471 23.2725 44.6536C23.3194 44.6677 23.368 44.6817 23.415 44.6942C23.6418 44.7551 23.8702 44.8097 24.1019 44.8534C24.1456 44.8612 24.1894 44.8659 24.2331 44.8737C24.4194 44.9049 24.6073 44.9314 24.7952 44.9501C24.8698 44.9579 24.9443 44.9658 25.0188 44.9704C25.2342 44.9876 25.4497 44.9985 25.6668 45.0001C25.6781 45.0001 25.6895 45.0001 25.6992 45.0001C25.7024 45.0001 25.704 45.0001 25.7073 45.0001C25.7105 45.0001 25.7121 45.0001 25.7154 45.0001C25.9503 45.0001 26.1868 44.9876 26.4217 44.9689C26.4751 44.9642 26.5286 44.9595 26.5837 44.9533C26.8137 44.9299 27.0438 44.9002 27.2738 44.8596C27.277 44.8596 27.2803 44.8596 27.2835 44.8596C27.5362 44.8144 27.7889 44.7551 28.0384 44.6864C28.0546 44.6817 28.0692 44.677 28.0854 44.6723C28.4483 44.5709 28.8063 44.4445 29.1594 44.2931C29.1659 44.29 29.174 44.2868 29.1805 44.2837C29.4494 44.1682 29.7151 44.0418 29.9759 43.8967C30.24 43.75 30.491 43.5908 30.7308 43.4206C30.9398 43.2739 31.1407 43.1179 31.3367 42.9524C31.5748 42.7495 31.8 42.5373 32.009 42.3141C32.1661 42.1471 32.3168 41.9723 32.4609 41.7913C32.5079 41.732 32.5517 41.6711 32.5954 41.6118C32.6942 41.4807 32.7882 41.3465 32.8789 41.2091C32.9259 41.1373 32.9728 41.0671 33.0182 40.9953C33.036 40.9672 33.0555 40.9407 33.0717 40.9126L42.7153 24.8763H42.6214L42.6246 24.8716Z",
|
|
59491
59491
|
fill: "url(#paint1_linear_217_6990)"
|
|
59492
59492
|
}
|
|
59493
59493
|
),
|
|
59494
|
-
/* @__PURE__ */
|
|
59494
|
+
/* @__PURE__ */ jsx140(
|
|
59495
59495
|
"path",
|
|
59496
59496
|
{
|
|
59497
59497
|
d: "M42.8402 16.4218L42.1112 15.2232L38.9636 9.58433L37.504 7.19644C37.2286 6.56123 36.579 6.11331 35.8176 6.11331C34.8083 6.11331 33.9919 6.90147 33.9919 7.87223C33.9919 8.20154 34.0907 8.50432 34.2543 8.76808L34.2349 8.78056L39.9048 18.0808C40.5884 19.2186 40.7715 20.5437 40.4199 21.8141C40.0684 23.0845 39.226 24.1458 38.045 24.806C37.2675 25.2398 36.3846 25.4693 35.4936 25.4693C33.6727 25.4693 31.9766 24.5281 31.0662 23.0143L22.9161 9.63271H22.9323L19.4899 3.90958L19.4834 3.92051C19.4235 3.8253 19.3538 3.73947 19.2907 3.64738L19.1935 3.48663C19.1935 3.48663 19.1854 3.49131 19.1821 3.49443C17.5654 1.27666 14.9799 0.0390178 12.3118 0.00936427V0H7.91199V0.02185C10.9851 -0.184164 14.0582 1.23296 15.7656 3.92051L15.7721 3.90958L28.4451 24.987C30.0699 27.3093 32.7542 28.5985 35.5066 28.5985C36.9548 28.5985 38.4225 28.2426 39.7655 27.4919C40.961 26.8255 41.9168 25.9156 42.6231 24.8731H42.717L42.6846 24.9261C43.1366 24.2347 43.4833 23.4731 43.7068 22.6615C44.2916 20.5452 43.9871 18.3352 42.8369 16.4234L42.8402 16.4218Z",
|
|
@@ -59499,21 +59499,21 @@ var VuuLogo2 = memo10(() => {
|
|
|
59499
59499
|
}
|
|
59500
59500
|
),
|
|
59501
59501
|
/* @__PURE__ */ jsxs67("g", { opacity: "0.86", children: [
|
|
59502
|
-
/* @__PURE__ */
|
|
59502
|
+
/* @__PURE__ */ jsx140(
|
|
59503
59503
|
"path",
|
|
59504
59504
|
{
|
|
59505
59505
|
d: "M34.2332 8.78212L39.9031 18.0824C40.5868 19.2202 40.7698 20.5452 40.4183 21.8156C40.2044 22.5897 39.8059 23.2858 39.2616 23.8617C39.9744 23.2343 40.4879 22.4243 40.7423 21.5035C41.0938 20.2331 40.9107 18.908 40.2271 17.7703L34.5572 8.46998L34.5767 8.4575C34.413 8.19374 34.3142 7.89096 34.3142 7.56165C34.3142 7.15586 34.4584 6.78285 34.6982 6.48476C34.2672 6.80626 33.9902 7.30881 33.9902 7.87379C33.9902 8.2031 34.0891 8.50588 34.2527 8.76964L34.2332 8.78212Z",
|
|
59506
59506
|
fill: "white"
|
|
59507
59507
|
}
|
|
59508
59508
|
),
|
|
59509
|
-
/* @__PURE__ */
|
|
59509
|
+
/* @__PURE__ */ jsx140(
|
|
59510
59510
|
"path",
|
|
59511
59511
|
{
|
|
59512
59512
|
d: "M42.6917 24.9169L42.6863 24.9256C42.6863 24.9256 42.6899 24.9187 42.6935 24.9152C42.6935 24.9152 42.6935 24.9152 42.6935 24.9169H42.6917Z",
|
|
59513
59513
|
fill: "white"
|
|
59514
59514
|
}
|
|
59515
59515
|
),
|
|
59516
|
-
/* @__PURE__ */
|
|
59516
|
+
/* @__PURE__ */ jsx140(
|
|
59517
59517
|
"path",
|
|
59518
59518
|
{
|
|
59519
59519
|
d: "M40.0911 27.1798C38.7481 27.9289 37.2804 28.2863 35.8322 28.2863C33.0782 28.2863 30.3955 26.9988 28.7707 24.6749L16.0961 3.59744L16.0896 3.60837C14.9281 1.78077 13.1364 0.543128 11.1422 0H7.91199V0.02185C10.9851 -0.184164 14.0582 1.23296 15.7656 3.92051L15.7721 3.90958L28.4451 24.987C30.0699 27.3093 32.7542 28.5985 35.5066 28.5985C36.9548 28.5985 38.4225 28.2426 39.7655 27.4919C40.4815 27.0924 41.1084 26.6055 41.6511 26.0561C41.1862 26.479 40.6662 26.8583 40.0894 27.1798H40.0911Z",
|
|
@@ -59533,8 +59533,8 @@ var VuuLogo2 = memo10(() => {
|
|
|
59533
59533
|
y2: "18.7363",
|
|
59534
59534
|
gradientUnits: "userSpaceOnUse",
|
|
59535
59535
|
children: [
|
|
59536
|
-
/* @__PURE__ */
|
|
59537
|
-
/* @__PURE__ */
|
|
59536
|
+
/* @__PURE__ */ jsx140("stop", { stopColor: "#4906A5" }),
|
|
59537
|
+
/* @__PURE__ */ jsx140("stop", { offset: "1", stopColor: "#D3423A" })
|
|
59538
59538
|
]
|
|
59539
59539
|
}
|
|
59540
59540
|
),
|
|
@@ -59548,12 +59548,12 @@ var VuuLogo2 = memo10(() => {
|
|
|
59548
59548
|
y2: "22.5009",
|
|
59549
59549
|
gradientUnits: "userSpaceOnUse",
|
|
59550
59550
|
children: [
|
|
59551
|
-
/* @__PURE__ */
|
|
59552
|
-
/* @__PURE__ */
|
|
59551
|
+
/* @__PURE__ */ jsx140("stop", { stopColor: "#7C06A5" }),
|
|
59552
|
+
/* @__PURE__ */ jsx140("stop", { offset: "1", stopColor: "#D3423A" })
|
|
59553
59553
|
]
|
|
59554
59554
|
}
|
|
59555
59555
|
),
|
|
59556
|
-
/* @__PURE__ */
|
|
59556
|
+
/* @__PURE__ */ jsx140("clipPath", { id: "clip0_217_6990", children: /* @__PURE__ */ jsx140("rect", { width: "44", height: "45", fill: "white" }) })
|
|
59557
59557
|
] })
|
|
59558
59558
|
]
|
|
59559
59559
|
}
|
|
@@ -59566,7 +59566,7 @@ var import_classnames74 = __toESM(require_classnames());
|
|
|
59566
59566
|
import { useCallback as useCallback137, useState as useState67 } from "react";
|
|
59567
59567
|
|
|
59568
59568
|
// ../vuu-shell/src/feature-list/FeatureList.tsx
|
|
59569
|
-
import { jsx as
|
|
59569
|
+
import { jsx as jsx141, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
59570
59570
|
|
|
59571
59571
|
// ../vuu-shell/src/theme-provider/ThemeProvider.tsx
|
|
59572
59572
|
var import_classnames73 = __toESM(require_classnames());
|
|
@@ -59576,7 +59576,7 @@ import {
|
|
|
59576
59576
|
cloneElement as cloneElement12,
|
|
59577
59577
|
useContext as useContext13
|
|
59578
59578
|
} from "react";
|
|
59579
|
-
import { jsx as
|
|
59579
|
+
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
59580
59580
|
var DEFAULT_DENSITY2 = "medium";
|
|
59581
59581
|
var DEFAULT_THEME = "salt-theme";
|
|
59582
59582
|
var DEFAULT_THEME_MODE = "light";
|
|
@@ -59647,12 +59647,12 @@ var ThemeProvider = ({
|
|
|
59647
59647
|
const themeMode = (_b = themeModeProp != null ? themeModeProp : inheritedThemeMode) != null ? _b : DEFAULT_THEME_MODE;
|
|
59648
59648
|
const theme2 = (_c = themeProp != null ? themeProp : inheritedTheme) != null ? _c : DEFAULT_THEME;
|
|
59649
59649
|
const themedChildren = applyThemeClasses ? createThemedChildren(children, theme2, themeMode, density) : children;
|
|
59650
|
-
return /* @__PURE__ */
|
|
59650
|
+
return /* @__PURE__ */ jsx142(ThemeContext2.Provider, { value: { themeMode, density, theme: theme2 }, children: themedChildren });
|
|
59651
59651
|
};
|
|
59652
59652
|
ThemeProvider.displayName = "ThemeProvider";
|
|
59653
59653
|
|
|
59654
59654
|
// ../vuu-shell/src/left-nav/LeftNav.tsx
|
|
59655
|
-
import { jsx as
|
|
59655
|
+
import { jsx as jsx143, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
59656
59656
|
|
|
59657
59657
|
// ../vuu-shell/src/session-editing-form/SessionEditingForm.tsx
|
|
59658
59658
|
var import_classnames75 = __toESM(require_classnames());
|
|
@@ -59673,7 +59673,7 @@ import {
|
|
|
59673
59673
|
isValidNumber as isValidNumber13,
|
|
59674
59674
|
shallowEquals
|
|
59675
59675
|
} from "@vuu-ui/vuu-utils";
|
|
59676
|
-
import { jsx as
|
|
59676
|
+
import { jsx as jsx144, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
59677
59677
|
|
|
59678
59678
|
// ../vuu-shell/src/shell.tsx
|
|
59679
59679
|
import { connectToServer } from "@vuu-ui/vuu-data";
|
|
@@ -59688,27 +59688,27 @@ import {
|
|
|
59688
59688
|
// ../vuu-shell/src/shell-layouts/context-panel/ContextPanel.tsx
|
|
59689
59689
|
var import_classnames76 = __toESM(require_classnames());
|
|
59690
59690
|
import { useCallback as useCallback139, useMemo as useMemo63 } from "react";
|
|
59691
|
-
import { jsx as
|
|
59691
|
+
import { jsx as jsx145, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
59692
59692
|
|
|
59693
59693
|
// ../vuu-shell/src/shell-layouts/side-panel/SidePanel.tsx
|
|
59694
59694
|
var import_classnames77 = __toESM(require_classnames());
|
|
59695
59695
|
import { useMemo as useMemo64 } from "react";
|
|
59696
|
-
import { jsx as
|
|
59696
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
59697
59697
|
|
|
59698
59698
|
// ../vuu-shell/src/shell-layouts/useFullHeightLeftPanel.tsx
|
|
59699
|
-
import { jsx as
|
|
59699
|
+
import { jsx as jsx147, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
59700
59700
|
|
|
59701
59701
|
// ../vuu-shell/src/shell-layouts/useInlayLeftPanel.tsx
|
|
59702
59702
|
import { useCallback as useCallback140, useRef as useRef107, useState as useState69 } from "react";
|
|
59703
|
-
import { jsx as
|
|
59703
|
+
import { jsx as jsx148, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
59704
59704
|
|
|
59705
59705
|
// ../vuu-shell/src/shell.tsx
|
|
59706
|
-
import { jsx as
|
|
59706
|
+
import { jsx as jsx149, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
59707
59707
|
var { error } = logger2("Shell");
|
|
59708
59708
|
|
|
59709
59709
|
// ../vuu-shell/src/ShellContextProvider.tsx
|
|
59710
59710
|
import { createContext as createContext11, useContext as useContext14 } from "react";
|
|
59711
|
-
import { jsx as
|
|
59711
|
+
import { jsx as jsx150 } from "react/jsx-runtime";
|
|
59712
59712
|
var defaultConfig = {};
|
|
59713
59713
|
var ShellContext = createContext11(defaultConfig);
|
|
59714
59714
|
var useShellContext = () => {
|
|
@@ -59718,7 +59718,7 @@ var useShellContext = () => {
|
|
|
59718
59718
|
// ../vuu-shell/src/theme-switch/ThemeSwitch.tsx
|
|
59719
59719
|
var import_classnames79 = __toESM(require_classnames());
|
|
59720
59720
|
import { useCallback as useCallback142 } from "react";
|
|
59721
|
-
import { jsx as
|
|
59721
|
+
import { jsx as jsx151, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
59722
59722
|
|
|
59723
59723
|
// src/hooks/useLookupValues.ts
|
|
59724
59724
|
import {
|