@wavelengthusaf/components 4.13.0 → 4.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +192 -195
- package/dist/cjs/index.d.cts +41 -24
- package/dist/esm/index.d.ts +41 -24
- package/dist/esm/index.js +474 -477
- package/package.json +2 -2
package/dist/cjs/index.cjs
CHANGED
|
@@ -206,7 +206,7 @@ var require_react_is_development = __commonJS({
|
|
|
206
206
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
207
207
|
var Element = REACT_ELEMENT_TYPE;
|
|
208
208
|
var ForwardRef2 = REACT_FORWARD_REF_TYPE;
|
|
209
|
-
var
|
|
209
|
+
var Fragment15 = REACT_FRAGMENT_TYPE;
|
|
210
210
|
var Lazy = REACT_LAZY_TYPE;
|
|
211
211
|
var Memo2 = REACT_MEMO_TYPE;
|
|
212
212
|
var Portal = REACT_PORTAL_TYPE;
|
|
@@ -265,7 +265,7 @@ var require_react_is_development = __commonJS({
|
|
|
265
265
|
exports.ContextProvider = ContextProvider;
|
|
266
266
|
exports.Element = Element;
|
|
267
267
|
exports.ForwardRef = ForwardRef2;
|
|
268
|
-
exports.Fragment =
|
|
268
|
+
exports.Fragment = Fragment15;
|
|
269
269
|
exports.Lazy = Lazy;
|
|
270
270
|
exports.Memo = Memo2;
|
|
271
271
|
exports.Portal = Portal;
|
|
@@ -3728,7 +3728,7 @@ WavelengthExampleComponent.displayName = "WavelengthExampleComponent";
|
|
|
3728
3728
|
|
|
3729
3729
|
|
|
3730
3730
|
var WavelengthSearch = ({
|
|
3731
|
-
customStyle
|
|
3731
|
+
customStyle,
|
|
3732
3732
|
width: width2,
|
|
3733
3733
|
mode,
|
|
3734
3734
|
fontSize,
|
|
@@ -3761,7 +3761,7 @@ var WavelengthSearch = ({
|
|
|
3761
3761
|
_react.useEffect.call(void 0, () => {
|
|
3762
3762
|
const el = ref.current;
|
|
3763
3763
|
if (!el) return;
|
|
3764
|
-
el.customStyles =
|
|
3764
|
+
el.customStyles = customStyle;
|
|
3765
3765
|
syncAttribute("width", width2);
|
|
3766
3766
|
syncAttribute("mode", mode);
|
|
3767
3767
|
syncAttribute("font-size", fontSize);
|
|
@@ -3779,7 +3779,7 @@ var WavelengthSearch = ({
|
|
|
3779
3779
|
syncAttribute("input-color", inputColor);
|
|
3780
3780
|
syncAttribute("input-font", inputFont);
|
|
3781
3781
|
}, [
|
|
3782
|
-
|
|
3782
|
+
customStyle,
|
|
3783
3783
|
width2,
|
|
3784
3784
|
mode,
|
|
3785
3785
|
fontSize,
|
|
@@ -5162,14 +5162,14 @@ var WavelengthBadge = ({
|
|
|
5162
5162
|
textBoxHoverBorderColor,
|
|
5163
5163
|
item,
|
|
5164
5164
|
children,
|
|
5165
|
-
customStyle
|
|
5165
|
+
customStyle,
|
|
5166
5166
|
...rest
|
|
5167
5167
|
}) => {
|
|
5168
5168
|
const ref = _react.useRef.call(void 0, null);
|
|
5169
5169
|
_react.useEffect.call(void 0, () => {
|
|
5170
5170
|
const el = ref.current;
|
|
5171
5171
|
if (!el) return;
|
|
5172
|
-
el.customStyles =
|
|
5172
|
+
el.customStyles = customStyle;
|
|
5173
5173
|
const updateAttribute = (attr, value) => {
|
|
5174
5174
|
if (value !== void 0 && value !== null && value !== "") {
|
|
5175
5175
|
el.setAttribute(attr, value.toString());
|
|
@@ -5213,7 +5213,7 @@ var WavelengthBadge = ({
|
|
|
5213
5213
|
textBoxBorderRadius,
|
|
5214
5214
|
textBoxHoverBorderColor,
|
|
5215
5215
|
item,
|
|
5216
|
-
|
|
5216
|
+
customStyle
|
|
5217
5217
|
]);
|
|
5218
5218
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "wavelength-badge", { ref, ...rest, children: [
|
|
5219
5219
|
badgeContent !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { slot: "badge", children: badgeContent }),
|
|
@@ -5526,7 +5526,7 @@ var WavelengthPlaneTrail = ({
|
|
|
5526
5526
|
id,
|
|
5527
5527
|
children,
|
|
5528
5528
|
// Style argument
|
|
5529
|
-
customStyle
|
|
5529
|
+
customStyle,
|
|
5530
5530
|
...rest
|
|
5531
5531
|
// This rest operator includes className, style, onClick, etc.
|
|
5532
5532
|
}) => {
|
|
@@ -5534,8 +5534,8 @@ var WavelengthPlaneTrail = ({
|
|
|
5534
5534
|
_react.useEffect.call(void 0, () => {
|
|
5535
5535
|
const el = ref.current;
|
|
5536
5536
|
if (!el) return;
|
|
5537
|
-
if (
|
|
5538
|
-
el.customStyles =
|
|
5537
|
+
if (customStyle !== void 0) {
|
|
5538
|
+
el.customStyles = customStyle;
|
|
5539
5539
|
}
|
|
5540
5540
|
if (trailDir !== void 0) {
|
|
5541
5541
|
el.setAttribute("trailDir", trailDir);
|
|
@@ -5547,7 +5547,7 @@ var WavelengthPlaneTrail = ({
|
|
|
5547
5547
|
el.setAttribute("id", id);
|
|
5548
5548
|
}
|
|
5549
5549
|
}, [trailDir]);
|
|
5550
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-planetrail", { ref, trailDir, color: color2, id, customStyle
|
|
5550
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-planetrail", { ref, trailDir, color: color2, id, customStyle, ...rest, children });
|
|
5551
5551
|
};
|
|
5552
5552
|
WavelengthPlaneTrail.displayName = "WavelengthPlaneTrail";
|
|
5553
5553
|
|
|
@@ -5556,39 +5556,41 @@ WavelengthPlaneTrail.displayName = "WavelengthPlaneTrail";
|
|
|
5556
5556
|
|
|
5557
5557
|
function WavelengthConfirmationModal(props) {
|
|
5558
5558
|
const { show, setShow, id, name } = props;
|
|
5559
|
-
const
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5559
|
+
const modalRef = _react.useRef.call(void 0, null);
|
|
5560
|
+
_react.useEffect.call(void 0, () => {
|
|
5561
|
+
const handleClose = () => {
|
|
5562
|
+
setShow(false);
|
|
5563
|
+
};
|
|
5564
|
+
const currentModal = modalRef.current;
|
|
5565
|
+
if (currentModal) {
|
|
5566
|
+
currentModal.addEventListener("close", handleClose);
|
|
5567
|
+
}
|
|
5568
|
+
return () => {
|
|
5569
|
+
if (currentModal) {
|
|
5570
|
+
currentModal.removeEventListener("close", handleClose);
|
|
5571
|
+
}
|
|
5572
|
+
};
|
|
5573
|
+
}, [setShow]);
|
|
5574
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5575
|
+
"wavelength-confirmation-modal",
|
|
5564
5576
|
{
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
borderRadius: "16px",
|
|
5577
|
-
color: props.textColor || "black",
|
|
5578
|
-
boxShadow: 24,
|
|
5579
|
-
padding: "32px",
|
|
5580
|
-
overflow: "scroll"
|
|
5581
|
-
},
|
|
5577
|
+
ref: modalRef,
|
|
5578
|
+
show: show ? "true" : void 0,
|
|
5579
|
+
"modal-id": id,
|
|
5580
|
+
"modal-name": name,
|
|
5581
|
+
width: props.width,
|
|
5582
|
+
height: props.height,
|
|
5583
|
+
"font-family": props.fontFamily,
|
|
5584
|
+
"text-color": props.textColor,
|
|
5585
|
+
"background-color": props.backgroundColor,
|
|
5586
|
+
"title-text": _optionalChain([props, 'access', _31 => _31.textObj, 'optionalAccess', _32 => _32.title]),
|
|
5587
|
+
"dialog-text": _optionalChain([props, 'access', _33 => _33.textObj, 'optionalAccess', _34 => _34.dialog]),
|
|
5582
5588
|
children: [
|
|
5583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "
|
|
5584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "
|
|
5585
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "row", justifyContent: "flex-end", marginTop: "40px", gap: "8px" }, children: [
|
|
5586
|
-
props.cancelButton,
|
|
5587
|
-
props.submitButton
|
|
5588
|
-
] })
|
|
5589
|
+
props.cancelButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { slot: "cancel-button", style: { display: "contents" }, children: props.cancelButton }),
|
|
5590
|
+
props.submitButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { slot: "submit-button", style: { display: "contents" }, children: props.submitButton })
|
|
5589
5591
|
]
|
|
5590
5592
|
}
|
|
5591
|
-
)
|
|
5593
|
+
);
|
|
5592
5594
|
}
|
|
5593
5595
|
WavelengthConfirmationModal.displayName = "WavelengthConfirmationModal";
|
|
5594
5596
|
|
|
@@ -5614,136 +5616,34 @@ WavelengthContentModal.displayName = "WavelengthContentModal";
|
|
|
5614
5616
|
|
|
5615
5617
|
// src/components/modals/WavelengthPopUpMenu.tsx
|
|
5616
5618
|
|
|
5617
|
-
var _Menu = require('@mui/material/Menu'); var _Menu2 = _interopRequireDefault(_Menu);
|
|
5618
|
-
var _MenuItem = require('@mui/material/MenuItem'); var _MenuItem2 = _interopRequireDefault(_MenuItem);
|
|
5619
|
-
|
|
5620
|
-
var _Slide = require('@mui/material/Slide'); var _Slide2 = _interopRequireDefault(_Slide);
|
|
5621
5619
|
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
}
|
|
5645
|
-
`;
|
|
5646
|
-
const [anchorEl, setAnchorEl] = React2.default.useState(null);
|
|
5647
|
-
const open = Boolean(anchorEl);
|
|
5648
|
-
let icon;
|
|
5649
|
-
const handleClick = (event) => {
|
|
5650
|
-
setAnchorEl(event.currentTarget);
|
|
5651
|
-
};
|
|
5652
|
-
const handleClose = () => {
|
|
5653
|
-
setAnchorEl(null);
|
|
5654
|
-
};
|
|
5655
|
-
if (customIcon) {
|
|
5656
|
-
icon = customIcon;
|
|
5657
|
-
} else {
|
|
5658
|
-
icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _iconsmaterial.HelpOutline, { fontSize: "medium", sx: { color: color2 } });
|
|
5659
|
-
}
|
|
5660
|
-
const anchor = menuDirection === "top" || menuDirection === void 0 ? "top" : "bottom";
|
|
5661
|
-
const transform = menuDirection === "top" || menuDirection === void 0 ? "bottom" : "top";
|
|
5662
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
5663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _IconButton2.default, { onClick: handleClick, children: icon }),
|
|
5664
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5665
|
-
_Menu2.default,
|
|
5666
|
-
{
|
|
5667
|
-
id,
|
|
5668
|
-
open,
|
|
5669
|
-
sx: {
|
|
5670
|
-
width: width2,
|
|
5671
|
-
"& .MuiPaper-root": {
|
|
5672
|
-
border: border2
|
|
5673
|
-
}
|
|
5674
|
-
},
|
|
5675
|
-
onClose: handleClose,
|
|
5676
|
-
anchorEl,
|
|
5677
|
-
TransitionComponent: _Slide2.default,
|
|
5678
|
-
anchorOrigin: { vertical: anchor, horizontal: "center" },
|
|
5679
|
-
transformOrigin: { vertical: transform, horizontal: "center" },
|
|
5680
|
-
children: [
|
|
5681
|
-
...menuItems.map((items, index) => {
|
|
5682
|
-
if (items.end === true) {
|
|
5683
|
-
if (items.itemType === "header") {
|
|
5684
|
-
if (items.link) {
|
|
5685
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
|
|
5686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: "bold" }, children: items.label }) }) }),
|
|
5687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
|
|
5688
|
-
] }, index);
|
|
5689
|
-
} else {
|
|
5690
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
|
|
5691
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: { marginLeft: 16, marginRight: 16, marginTop: 6, marginBottom: 6 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: { fontWeight: "bold" }, children: items.label }) }),
|
|
5692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
|
|
5693
|
-
] }, index);
|
|
5694
|
-
}
|
|
5695
|
-
} else if (items.itemType === "link") {
|
|
5696
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
|
|
5697
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.link, hoverColor: items.hoverColor, children: items.label }, index) }),
|
|
5698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
|
|
5699
|
-
] }, index);
|
|
5700
|
-
} else {
|
|
5701
|
-
if (items.link) {
|
|
5702
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
|
|
5703
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: items.label }) }),
|
|
5704
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
|
|
5705
|
-
] }, index);
|
|
5706
|
-
} else {
|
|
5707
|
-
if (items.email) {
|
|
5708
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
|
|
5709
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.email, style: emailStyle, children: items.label }),
|
|
5710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
|
|
5711
|
-
] }, index);
|
|
5712
|
-
} else {
|
|
5713
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _Box2.default, { children: [
|
|
5714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: customStyle, children: items.label }),
|
|
5715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Divider2.default, {})
|
|
5716
|
-
] }, index);
|
|
5717
|
-
}
|
|
5718
|
-
}
|
|
5719
|
-
}
|
|
5720
|
-
} else if (items.end === void 0 || items.end === false || items.end === null) {
|
|
5721
|
-
if (items.itemType === "header") {
|
|
5722
|
-
if (items.link) {
|
|
5723
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.link, hoverColor: items.hoverColor, children: items.label }) }, index);
|
|
5724
|
-
} else {
|
|
5725
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: customStyle, children: items.label }, index);
|
|
5726
|
-
}
|
|
5727
|
-
} else if (items.itemType === "link") {
|
|
5728
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { style: { textDecoration: "none" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.link, hoverColor: items.hoverColor || "", children: items.label }) }, index);
|
|
5729
|
-
} else {
|
|
5730
|
-
if (items.link) {
|
|
5731
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _MenuItem2.default, { href: items.link, children: items.label }, index);
|
|
5732
|
-
} else {
|
|
5733
|
-
if (items.email) {
|
|
5734
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: emailStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Links, { href: items.email, hoverColor: items.hoverColor || "blue", children: items.label }) }, index);
|
|
5735
|
-
} else {
|
|
5736
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: customStyle, children: items.label }, index);
|
|
5737
|
-
}
|
|
5738
|
-
}
|
|
5739
|
-
}
|
|
5740
|
-
}
|
|
5741
|
-
})
|
|
5742
|
-
]
|
|
5620
|
+
var WavelengthPopUpMenu = React2.default.forwardRef(
|
|
5621
|
+
({ children, customStyle = {}, variant, trigger, menuDirection, menuOffset, menuItems, badgeLabel, ...rest }, externalRef) => {
|
|
5622
|
+
const internalRef = _react.useRef.call(void 0, null);
|
|
5623
|
+
React2.default.useImperativeHandle(externalRef, () => internalRef.current);
|
|
5624
|
+
_react.useEffect.call(void 0, () => {
|
|
5625
|
+
const el = internalRef.current;
|
|
5626
|
+
if (!el) return;
|
|
5627
|
+
el.customStyles = customStyle;
|
|
5628
|
+
const set = (attr, value) => {
|
|
5629
|
+
if (value !== void 0 && value !== null && value !== "") {
|
|
5630
|
+
el.setAttribute(attr, value.toString());
|
|
5631
|
+
} else {
|
|
5632
|
+
el.removeAttribute(attr);
|
|
5633
|
+
}
|
|
5634
|
+
};
|
|
5635
|
+
set("variant", variant);
|
|
5636
|
+
set("trigger", trigger);
|
|
5637
|
+
set("menu-direction", menuDirection);
|
|
5638
|
+
set("menu-offset", menuOffset);
|
|
5639
|
+
set("badge-label", badgeLabel);
|
|
5640
|
+
if (menuItems !== void 0) {
|
|
5641
|
+
el.setAttribute("menu-items", JSON.stringify(menuItems));
|
|
5743
5642
|
}
|
|
5744
|
-
)
|
|
5745
|
-
|
|
5746
|
-
}
|
|
5643
|
+
}, [customStyle, variant, trigger, menuDirection, menuOffset, menuItems, badgeLabel]);
|
|
5644
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-popup-menu", { ref: internalRef, ...rest, children });
|
|
5645
|
+
}
|
|
5646
|
+
);
|
|
5747
5647
|
WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
|
|
5748
5648
|
|
|
5749
5649
|
// src/components/modals/WavelengthDropdown.tsx
|
|
@@ -5886,7 +5786,7 @@ WavelengthMenu.displayName = "WavelengthMenu";
|
|
|
5886
5786
|
// src/components/modals/WavelengthSwitch.tsx
|
|
5887
5787
|
|
|
5888
5788
|
|
|
5889
|
-
var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2, labelFont, checked, value, onWavelengthSwitchChange, customStyle
|
|
5789
|
+
var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2, labelFont, checked, value, onWavelengthSwitchChange, customStyle, ...rest }) => {
|
|
5890
5790
|
const ref = _react.useRef.call(void 0, null);
|
|
5891
5791
|
_react.useEffect.call(void 0, () => {
|
|
5892
5792
|
const el = ref.current;
|
|
@@ -5898,7 +5798,7 @@ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2,
|
|
|
5898
5798
|
el.setAttribute(attr, isBool ? "" : val.toString());
|
|
5899
5799
|
}
|
|
5900
5800
|
};
|
|
5901
|
-
el.customStyles =
|
|
5801
|
+
el.customStyles = customStyle;
|
|
5902
5802
|
syncAttribute("checked", checked, true);
|
|
5903
5803
|
syncAttribute("disabled", disabled, true);
|
|
5904
5804
|
syncAttribute("label", label);
|
|
@@ -5907,7 +5807,7 @@ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2,
|
|
|
5907
5807
|
syncAttribute("color", color2);
|
|
5908
5808
|
syncAttribute("label-font", labelFont);
|
|
5909
5809
|
syncAttribute("value", value);
|
|
5910
|
-
}, [checked, label, labelPlacement, size, disabled, color2, labelFont, value,
|
|
5810
|
+
}, [checked, label, labelPlacement, size, disabled, color2, labelFont, value, customStyle]);
|
|
5911
5811
|
_react.useEffect.call(void 0, () => {
|
|
5912
5812
|
const el = ref.current;
|
|
5913
5813
|
if (!el || !onWavelengthSwitchChange) return;
|
|
@@ -5921,6 +5821,102 @@ var WavelengthSwitch = ({ label, labelPlacement, size, disabled, color: color2,
|
|
|
5921
5821
|
};
|
|
5922
5822
|
WavelengthSwitch.displayName = "WavelengthSwitch";
|
|
5923
5823
|
|
|
5824
|
+
// src/components/modals/WavelengthDialog.tsx
|
|
5825
|
+
|
|
5826
|
+
|
|
5827
|
+
var WavelengthDialog = ({
|
|
5828
|
+
children,
|
|
5829
|
+
customStyle,
|
|
5830
|
+
dialogTitle,
|
|
5831
|
+
leftBtnLabel,
|
|
5832
|
+
rightBtnLabel,
|
|
5833
|
+
boxColor,
|
|
5834
|
+
maxWidth: maxWidth2,
|
|
5835
|
+
maxHeight: maxHeight2,
|
|
5836
|
+
shadow,
|
|
5837
|
+
borderRadius: borderRadius2,
|
|
5838
|
+
borderColor: borderColor2,
|
|
5839
|
+
textColor,
|
|
5840
|
+
leftBtnBg,
|
|
5841
|
+
leftBtnColor,
|
|
5842
|
+
rightBtnBg,
|
|
5843
|
+
rightBtnColor,
|
|
5844
|
+
overlay,
|
|
5845
|
+
fontFamily,
|
|
5846
|
+
open,
|
|
5847
|
+
onWlLeftBtnClick,
|
|
5848
|
+
onWlRightBtnClick,
|
|
5849
|
+
...rest
|
|
5850
|
+
}) => {
|
|
5851
|
+
const ref = _react.useRef.call(void 0, null);
|
|
5852
|
+
_react.useEffect.call(void 0, () => {
|
|
5853
|
+
const el = ref.current;
|
|
5854
|
+
if (!el) return;
|
|
5855
|
+
if (open) el.setAttribute("open", "");
|
|
5856
|
+
else el.removeAttribute("open");
|
|
5857
|
+
}, [open]);
|
|
5858
|
+
_react.useEffect.call(void 0, () => {
|
|
5859
|
+
const el = ref.current;
|
|
5860
|
+
if (!el) return;
|
|
5861
|
+
if (overlay) el.setAttribute("overlay", "");
|
|
5862
|
+
else el.removeAttribute("overlay");
|
|
5863
|
+
}, [overlay]);
|
|
5864
|
+
_react.useEffect.call(void 0, () => {
|
|
5865
|
+
const el = ref.current;
|
|
5866
|
+
if (!el) return;
|
|
5867
|
+
const handleLeft = (e) => _optionalChain([onWlLeftBtnClick, 'optionalCall', _41 => _41(e)]);
|
|
5868
|
+
const handleRight = (e) => _optionalChain([onWlRightBtnClick, 'optionalCall', _42 => _42(e)]);
|
|
5869
|
+
el.addEventListener("wl-left-btn-click", handleLeft);
|
|
5870
|
+
el.addEventListener("wl-right-btn-click", handleRight);
|
|
5871
|
+
return () => {
|
|
5872
|
+
el.removeEventListener("wl-left-btn-click", handleLeft);
|
|
5873
|
+
el.removeEventListener("wl-right-btn-click", handleRight);
|
|
5874
|
+
};
|
|
5875
|
+
}, [onWlLeftBtnClick, onWlRightBtnClick]);
|
|
5876
|
+
_react.useEffect.call(void 0, () => {
|
|
5877
|
+
const el = ref.current;
|
|
5878
|
+
if (!el) return;
|
|
5879
|
+
if (customStyle !== void 0) el.customStyles = customStyle;
|
|
5880
|
+
const setAttr = (attr, value) => {
|
|
5881
|
+
if (value !== void 0) el.setAttribute(attr, value);
|
|
5882
|
+
};
|
|
5883
|
+
setAttr("dialog-title", dialogTitle);
|
|
5884
|
+
setAttr("left-btn-label", leftBtnLabel);
|
|
5885
|
+
setAttr("right-btn-label", rightBtnLabel);
|
|
5886
|
+
setAttr("box-color", boxColor);
|
|
5887
|
+
setAttr("max-width", maxWidth2);
|
|
5888
|
+
setAttr("max-height", maxHeight2);
|
|
5889
|
+
setAttr("shadow", shadow);
|
|
5890
|
+
setAttr("border-radius", borderRadius2);
|
|
5891
|
+
setAttr("border-color", borderColor2);
|
|
5892
|
+
setAttr("text-color", textColor);
|
|
5893
|
+
setAttr("left-btn-bg", leftBtnBg);
|
|
5894
|
+
setAttr("left-btn-color", leftBtnColor);
|
|
5895
|
+
setAttr("right-btn-bg", rightBtnBg);
|
|
5896
|
+
setAttr("right-btn-color", rightBtnColor);
|
|
5897
|
+
setAttr("font-family", fontFamily);
|
|
5898
|
+
}, [
|
|
5899
|
+
customStyle,
|
|
5900
|
+
dialogTitle,
|
|
5901
|
+
leftBtnLabel,
|
|
5902
|
+
rightBtnLabel,
|
|
5903
|
+
boxColor,
|
|
5904
|
+
maxWidth2,
|
|
5905
|
+
maxHeight2,
|
|
5906
|
+
shadow,
|
|
5907
|
+
borderRadius2,
|
|
5908
|
+
borderColor2,
|
|
5909
|
+
textColor,
|
|
5910
|
+
leftBtnBg,
|
|
5911
|
+
leftBtnColor,
|
|
5912
|
+
rightBtnBg,
|
|
5913
|
+
rightBtnColor,
|
|
5914
|
+
fontFamily
|
|
5915
|
+
]);
|
|
5916
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-dialog", { ref, ...rest, children });
|
|
5917
|
+
};
|
|
5918
|
+
WavelengthDialog.displayName = "WavelengthDialog";
|
|
5919
|
+
|
|
5924
5920
|
// src/components/modals/WavelengthPagination.tsx
|
|
5925
5921
|
|
|
5926
5922
|
|
|
@@ -5928,7 +5924,7 @@ var WavelengthPagination = ({
|
|
|
5928
5924
|
testProp,
|
|
5929
5925
|
children,
|
|
5930
5926
|
// Style argument
|
|
5931
|
-
customStyle
|
|
5927
|
+
customStyle,
|
|
5932
5928
|
variant,
|
|
5933
5929
|
textColor,
|
|
5934
5930
|
font,
|
|
@@ -5955,7 +5951,7 @@ var WavelengthPagination = ({
|
|
|
5955
5951
|
_react.useEffect.call(void 0, () => {
|
|
5956
5952
|
const el = ref.current;
|
|
5957
5953
|
if (!el) return;
|
|
5958
|
-
el.customStyles =
|
|
5954
|
+
el.customStyles = customStyle;
|
|
5959
5955
|
syncAttribute("variant", variant || "");
|
|
5960
5956
|
syncAttribute("text-color", textColor || "");
|
|
5961
5957
|
syncAttribute("font", font || "");
|
|
@@ -5967,8 +5963,8 @@ var WavelengthPagination = ({
|
|
|
5967
5963
|
syncAttribute("active-text-color", activeTextColor || "");
|
|
5968
5964
|
syncAttribute("background-color", backgroundColor2 || "");
|
|
5969
5965
|
syncAttribute("disabled-color", disabledColor || "");
|
|
5970
|
-
syncAttribute("total-pages", _optionalChain([totalPages, 'optionalAccess',
|
|
5971
|
-
syncAttribute("current-page", _optionalChain([currentPage, 'optionalAccess',
|
|
5966
|
+
syncAttribute("total-pages", _optionalChain([totalPages, 'optionalAccess', _43 => _43.toString, 'call', _44 => _44()]) || "");
|
|
5967
|
+
syncAttribute("current-page", _optionalChain([currentPage, 'optionalAccess', _45 => _45.toString, 'call', _46 => _46()]) || "");
|
|
5972
5968
|
const handlePageChange = (e) => {
|
|
5973
5969
|
if (onPageChange) {
|
|
5974
5970
|
onPageChange(e.detail.page);
|
|
@@ -6497,7 +6493,7 @@ WavelengthSlider.displayName = "WavelengthSlider";
|
|
|
6497
6493
|
|
|
6498
6494
|
// src/components/carousels/WavelengthDefaultCarousel.tsx
|
|
6499
6495
|
|
|
6500
|
-
|
|
6496
|
+
var _IconButton = require('@mui/material/IconButton'); var _IconButton2 = _interopRequireDefault(_IconButton);
|
|
6501
6497
|
var _NavigateBefore = require('@mui/icons-material/NavigateBefore'); var _NavigateBefore2 = _interopRequireDefault(_NavigateBefore);
|
|
6502
6498
|
var _NavigateNext = require('@mui/icons-material/NavigateNext'); var _NavigateNext2 = _interopRequireDefault(_NavigateNext);
|
|
6503
6499
|
|
|
@@ -6684,7 +6680,7 @@ var WavelengthInput = _react.forwardRef.call(void 0,
|
|
|
6684
6680
|
const internalRef = _react.useRef.call(void 0, null);
|
|
6685
6681
|
_react.useImperativeHandle.call(void 0, ref, () => ({
|
|
6686
6682
|
...internalRef.current,
|
|
6687
|
-
validate: () => _optionalChain([internalRef, 'access',
|
|
6683
|
+
validate: () => _optionalChain([internalRef, 'access', _47 => _47.current, 'optionalAccess', _48 => _48.validate, 'optionalCall', _49 => _49(true)])
|
|
6688
6684
|
}));
|
|
6689
6685
|
_react.useEffect.call(void 0, () => {
|
|
6690
6686
|
const el = internalRef.current;
|
|
@@ -6763,7 +6759,7 @@ var WavelengthInput = _react.forwardRef.call(void 0,
|
|
|
6763
6759
|
const el = internalRef.current;
|
|
6764
6760
|
if (!el || !onBlurCallback) return;
|
|
6765
6761
|
const handler = (e) => {
|
|
6766
|
-
const input = _optionalChain([el, 'access',
|
|
6762
|
+
const input = _optionalChain([el, 'access', _50 => _50.shadowRoot, 'optionalAccess', _51 => _51.querySelector, 'call', _52 => _52("input, textarea")]);
|
|
6767
6763
|
if (input) {
|
|
6768
6764
|
onBlurCallback();
|
|
6769
6765
|
}
|
|
@@ -6775,7 +6771,7 @@ var WavelengthInput = _react.forwardRef.call(void 0,
|
|
|
6775
6771
|
const el = internalRef.current;
|
|
6776
6772
|
if (!el || !onChange) return;
|
|
6777
6773
|
const handler = (e) => {
|
|
6778
|
-
const input = _optionalChain([el, 'access',
|
|
6774
|
+
const input = _optionalChain([el, 'access', _53 => _53.shadowRoot, 'optionalAccess', _54 => _54.querySelector, 'call', _55 => _55("input, textarea")]);
|
|
6779
6775
|
if (input) {
|
|
6780
6776
|
const synthetic = {
|
|
6781
6777
|
...e,
|
|
@@ -6978,7 +6974,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
|
|
|
6978
6974
|
const [noRowsOpen, setNoRowsOpen] = _react.useState.call(void 0, false);
|
|
6979
6975
|
const [isModalOpen, setIsModalOpen] = _react.useState.call(void 0, false);
|
|
6980
6976
|
const [searchItem, setSearchItem] = _react.useState.call(void 0, "");
|
|
6981
|
-
const [selectedValue, setSelectedValue] = _react.useState.call(void 0, _optionalChain([columns, 'access',
|
|
6977
|
+
const [selectedValue, setSelectedValue] = _react.useState.call(void 0, _optionalChain([columns, 'access', _56 => _56[0], 'optionalAccess', _57 => _57.key]) || "");
|
|
6982
6978
|
const [currentPage, setCurrentPage] = _react.useState.call(void 0, 1);
|
|
6983
6979
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
6984
6980
|
const [editingMenuKey, setEditingMenuKey] = _react.useState.call(void 0, null);
|
|
@@ -7132,7 +7128,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
|
|
|
7132
7128
|
] }, index)
|
|
7133
7129
|
] }, `headCell-${index}`);
|
|
7134
7130
|
});
|
|
7135
|
-
const rows = !_optionalChain([currentPageData, 'optionalAccess',
|
|
7131
|
+
const rows = !_optionalChain([currentPageData, 'optionalAccess', _58 => _58.length]) || noRowsOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : _optionalChain([currentPageData, 'optionalAccess', _59 => _59.map, 'call', _60 => _60((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: columns.map((column, index2) => {
|
|
7136
7132
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledTd, { children: editingId === item.id && editedColumnKey === column.key ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7137
7133
|
StyledInput,
|
|
7138
7134
|
{
|
|
@@ -7378,7 +7374,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
|
|
|
7378
7374
|
}
|
|
7379
7375
|
if (sortSubOrder) {
|
|
7380
7376
|
result.map(
|
|
7381
|
-
(item) => _optionalChain([item, 'access',
|
|
7377
|
+
(item) => _optionalChain([item, 'access', _61 => _61.Details, 'optionalAccess', _62 => _62.fileObjects, 'access', _63 => _63.sort, 'call', _64 => _64((c, d) => {
|
|
7382
7378
|
const valueC = c[sortSubKey];
|
|
7383
7379
|
const valueD = d[sortSubKey];
|
|
7384
7380
|
if (typeof valueC === "string" && typeof valueD === "string") {
|
|
@@ -7439,24 +7435,24 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
|
|
|
7439
7435
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { children: renderSortSubButton(column, sortSubOrder, sortSubKey) }, `SubHeadCell-${index}`);
|
|
7440
7436
|
});
|
|
7441
7437
|
const subDataRows = (itemId) => {
|
|
7442
|
-
return processedRowData.filter((item) => _optionalChain([item, 'access',
|
|
7438
|
+
return processedRowData.filter((item) => _optionalChain([item, 'access', _65 => _65.Details, 'optionalAccess', _66 => _66.relationId]) === itemId).map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: _optionalChain([item, 'access', _67 => _67.Details, 'optionalAccess', _68 => _68.fileObjects, 'access', _69 => _69.map, 'call', _70 => _70((fileItem, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SubDataTableBodyRowContainer, { children: [
|
|
7443
7439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DownloadArrow, { onClick: downloadArrowOnClick, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { width: "17", height: "16", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7444
7440
|
"path",
|
|
7445
7441
|
{
|
|
7446
7442
|
d: "M8.5 12L3.5 7L4.9 5.55L7.5 8.15V0H9.5V8.15L12.1 5.55L13.5 7L8.5 12ZM2.5 16C1.95 16 1.47917 15.8042 1.0875 15.4125C0.695833 15.0208 0.5 14.55 0.5 14V11H2.5V14H14.5V11H16.5V14C16.5 14.55 16.3042 15.0208 15.9125 15.4125C15.5208 15.8042 15.05 16 14.5 16H2.5Z",
|
|
7447
7443
|
fill: "#1C1B1F"
|
|
7448
7444
|
}
|
|
7449
|
-
) }) }) }, `td-${_optionalChain([item, 'access',
|
|
7445
|
+
) }) }) }, `td-${_optionalChain([item, 'access', _71 => _71.Details, 'optionalAccess', _72 => _72.relationId])}-${fileItem.id}`),
|
|
7450
7446
|
SubDataColumns.map((column) => {
|
|
7451
7447
|
const columnKey = trimBeforePeriod2(column.key);
|
|
7452
7448
|
const value = fileItem[columnKey];
|
|
7453
7449
|
if (value !== void 0) {
|
|
7454
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTableCell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: value }, `span-${_optionalChain([item, 'access',
|
|
7450
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTableCell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: value }, `span-${_optionalChain([item, 'access', _73 => _73.Details, 'optionalAccess', _74 => _74.relationId])}-${fileItem.id}-${index}-${column.title}`) }, `fileitem-${item}-${_optionalChain([item, 'access', _75 => _75.Details, 'optionalAccess', _76 => _76.relationId])}-${fileItem.id}-${index}-${column.title}`);
|
|
7455
7451
|
}
|
|
7456
7452
|
})
|
|
7457
|
-
] }, `${item}-${_optionalChain([item, 'access',
|
|
7453
|
+
] }, `${item}-${_optionalChain([item, 'access', _77 => _77.Details, 'optionalAccess', _78 => _78.relationId])}-${fileItem.id}-${index}`))]) }, `SDR-${item.id}-${_optionalChain([item, 'access', _79 => _79.Details, 'optionalAccess', _80 => _80.relationId])}`));
|
|
7458
7454
|
};
|
|
7459
|
-
const dataRows = _optionalChain([processedRowData, 'optionalAccess',
|
|
7455
|
+
const dataRows = _optionalChain([processedRowData, 'optionalAccess', _81 => _81.map, 'call', _82 => _82((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, BodyRowContainer, { children: [
|
|
7460
7456
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { $amountofColumns: HeadColumns.length, children: HeadColumns.map((column) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBodyCell, { $primaryBoldState: column.PrimaryBoldText, children: item[column.key] }, `TableBodycell-${item.id}-${column.key}`)) }),
|
|
7461
7457
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ButtonStylingRow, { children: [
|
|
7462
7458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DownloadMissionButton, { onClick: downloadMissionOnClick, children: "Download Mission" }),
|
|
@@ -7510,7 +7506,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
|
|
|
7510
7506
|
root = _client.createRoot.call(void 0, container);
|
|
7511
7507
|
reactDropdownRoots.current.set(container, root);
|
|
7512
7508
|
}
|
|
7513
|
-
const item = _optionalChain([data, 'optionalAccess',
|
|
7509
|
+
const item = _optionalChain([data, 'optionalAccess', _83 => _83.find, 'call', _84 => _84((item2) => String(item2.id) === String(itemId))]);
|
|
7514
7510
|
if (item && item.dropdown && root) {
|
|
7515
7511
|
root.render(item.dropdown);
|
|
7516
7512
|
}
|
|
@@ -7637,9 +7633,9 @@ var NestedDataTable = ({ data, columns, id }) => {
|
|
|
7637
7633
|
const SubDataHeaders = SubDataColumns.map((column, index) => {
|
|
7638
7634
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { children: column.title }, `SubHeadCell-${index}`);
|
|
7639
7635
|
});
|
|
7640
|
-
const subDataRows = !_optionalChain([data, 'optionalAccess',
|
|
7636
|
+
const subDataRows = !_optionalChain([data, 'optionalAccess', _85 => _85.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoSubDataRows", colSpan: columns.length, children: "No data" }) }) : data.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubDataTr, { children: SubDataColumns.map((column, colIndex) => {
|
|
7641
7637
|
const columnKey = trimBeforePeriod(column.key);
|
|
7642
|
-
const value = _optionalChain([item, 'access',
|
|
7638
|
+
const value = _optionalChain([item, 'access', _86 => _86.Details, 'optionalAccess', _87 => _87[columnKey]]);
|
|
7643
7639
|
console.log("value: ", value);
|
|
7644
7640
|
if (value !== void 0) {
|
|
7645
7641
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: value }) }, `Span-${item.id}-${colIndex}`);
|
|
@@ -7649,7 +7645,7 @@ var NestedDataTable = ({ data, columns, id }) => {
|
|
|
7649
7645
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: SubDataHeaders }) }),
|
|
7650
7646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tbody", { children: subDataRows })
|
|
7651
7647
|
] });
|
|
7652
|
-
const rows = !_optionalChain([data, 'optionalAccess',
|
|
7648
|
+
const rows = !_optionalChain([data, 'optionalAccess', _88 => _88.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : _optionalChain([data, 'optionalAccess', _89 => _89.map, 'call', _90 => _90((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7653
7649
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PrimaryTrRows, { $index: index, children: [
|
|
7654
7650
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownButton, { onClick: () => toggleDropdown(index), children: isAscending && isOpen && primaryRowIndex === index ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: "\u2227" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: "\u2228" }) }),
|
|
7655
7651
|
HeadColumns.map((column, index2) => {
|
|
@@ -8147,7 +8143,7 @@ var SampleComponent = ({
|
|
|
8147
8143
|
testProp,
|
|
8148
8144
|
children,
|
|
8149
8145
|
// Style argument
|
|
8150
|
-
customStyle
|
|
8146
|
+
customStyle,
|
|
8151
8147
|
...rest
|
|
8152
8148
|
// This rest operator includes className, style, onClick, etc.
|
|
8153
8149
|
}) => {
|
|
@@ -8155,7 +8151,7 @@ var SampleComponent = ({
|
|
|
8155
8151
|
_react.useEffect.call(void 0, () => {
|
|
8156
8152
|
const el = ref.current;
|
|
8157
8153
|
if (!el) return;
|
|
8158
|
-
el.customStyles =
|
|
8154
|
+
el.customStyles = customStyle;
|
|
8159
8155
|
if (testProp !== void 0) {
|
|
8160
8156
|
el.setAttribute("test-prop", testProp);
|
|
8161
8157
|
}
|
|
@@ -8318,7 +8314,8 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
|
|
|
8318
8314
|
|
|
8319
8315
|
|
|
8320
8316
|
|
|
8321
|
-
|
|
8317
|
+
|
|
8318
|
+
exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.ChildDataTable = ChildDataTable2; exports.ChildDataTableElement = _webcomponents.ChildDataTable; exports.DefaultCarousel = DefaultCarousel; exports.NestedDataTable = NestedDataTable; exports.SampleComponent = SampleComponent; exports.SampleComponentElement = _webcomponents.SampleComponent; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutoComplete = WavelengthAutoComplete; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBadge = WavelengthBadge; exports.WavelengthBanner = WavelengthBanner; exports.WavelengthBannerElement = _webcomponents.WavelengthBanner; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton; exports.WavelengthButtonElement = _webcomponents.WavelengthButton; exports.WavelengthCheckbox = WavelengthCheckbox; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDatePicker = WavelengthDatePicker; exports.WavelengthDatePickerElement = _webcomponents.WavelengthDatePicker; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDefaultPagination = WavelengthDefaultPagination; exports.WavelengthDialog = WavelengthDialog; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFileDropZone = WavelengthFileDropZone; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthForm = WavelengthForm; exports.WavelengthFormElement = _webcomponents.WavelengthForm; exports.WavelengthInput = WavelengthInput; exports.WavelengthInputElement = _webcomponents.WavelengthInput; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthMenu = WavelengthMenu; exports.WavelengthMultiSelectAutocomplete = WavelengthMultiSelectAutocomplete; exports.WavelengthMultiSelectAutocompleteElement = _webcomponents.WavelengthMultiSelectAutocomplete; exports.WavelengthNavBar = WavelengthNavBar; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthNotificationPanel = WavelengthNotificationPanel; exports.WavelengthPagination = WavelengthPagination; exports.WavelengthPaginationElement = _webcomponents.WavelengthPagination; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar; exports.WavelengthProgressBarElement = _webcomponents.WavelengthProgressBar; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthSwitch = WavelengthSwitch; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTitleBar = WavelengthTitleBar; exports.WavelengthTitleBarElement = _webcomponents.WavelengthTitleBar; exports.WavelengthToolTip = WavelengthToolTip; exports.WavelengthWebSnackbar = WavelengthWebSnackbar; exports.add = add; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
|
|
8322
8319
|
/*! Bundled license information:
|
|
8323
8320
|
|
|
8324
8321
|
react-is/cjs/react-is.production.min.js:
|