@wavelengthusaf/components 4.3.0 → 4.4.1

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/esm/index.js 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 Fragment18 = REACT_FRAGMENT_TYPE;
209
+ var Fragment17 = 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 = Fragment18;
268
+ exports.Fragment = Fragment17;
269
269
  exports.Lazy = Lazy;
270
270
  exports.Memo = Memo2;
271
271
  exports.Portal = Portal;
@@ -6083,133 +6083,47 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6083
6083
  WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
6084
6084
 
6085
6085
  // src/components/modals/WavelengthDropdown.tsx
6086
- import React11 from "react";
6087
- import { Menu as MuiMenu } from "@mui/material";
6088
- import { MenuItem as MuiMenuItem, styled as styled7 } from "@mui/material";
6089
- import Grow from "@mui/material/Grow";
6090
- import { Fragment as Fragment12, jsx as jsx33, jsxs as jsxs22 } from "react/jsx-runtime";
6091
- function WavelengthDropdown({
6092
- id,
6093
- options,
6094
- buttonSx,
6095
- width: width2 = "200px",
6096
- buttonText,
6097
- menuSx = { backgroundColor: "#FCFAF8", borderColor: "blue", width: width2, boxShadow: "none" },
6098
- palette: palette2
6099
- }) {
6100
- const [anchorEl, setAnchorEl] = React11.useState(null);
6101
- const open = Boolean(anchorEl);
6102
- const handleClick = (event) => {
6103
- setAnchorEl(event.currentTarget);
6104
- };
6105
- const handleClose = () => {
6106
- setAnchorEl(null);
6107
- };
6108
- const breweryStyleButton = {
6109
- backgroundColor: "#d16a2f",
6110
- color: "white",
6111
- padding: "16px 16px",
6112
- width: width2,
6113
- fontSize: "18px",
6114
- minWidth: "min-content",
6115
- borderTopRightRadius: "8px",
6116
- borderTopLeftRadius: "8px",
6117
- "&:hover": {
6118
- backgroundColor: "rgba(228, 119, 57, 1)"
6119
- }
6120
- };
6121
- const breweryDropDownStyle = {
6122
- backgroundColor: "#FCFAF8",
6123
- borderColor: "#d16a2f",
6124
- hoverColor: "rgba(209, 106, 47, 0.1)",
6125
- width: width2
6126
- };
6127
- const defaultDropdownSx = {
6128
- backgroundColor: "white",
6129
- borderColor: "blue",
6130
- hoverColor: "#d4d4e3",
6131
- width: width2
6132
- };
6133
- const defaultsx = menuSx ? { ...defaultDropdownSx, ...menuSx } : defaultDropdownSx;
6134
- let myButtonSx;
6135
- let myMenusx;
6136
- if (palette2 === "brewery") {
6137
- myButtonSx = { ...breweryStyleButton, ...buttonSx };
6138
- myMenusx = { ...breweryDropDownStyle, ...menuSx };
6139
- } else {
6140
- myButtonSx = buttonSx;
6141
- myMenusx = defaultsx;
6142
- }
6143
- const MenuItem2 = styled7(MuiMenuItem)({
6144
- "&.MuiMenuItem-root": {
6145
- "&.Mui-selected": {
6146
- backgroundColor: `${myMenusx.backgroundColor}`
6147
- },
6148
- "&:hover": {
6149
- backgroundColor: `${myMenusx.hoverColor}`
6150
- }
6086
+ import { forwardRef, useEffect as useEffect8, useImperativeHandle as useImperativeHandle2, useRef as useRef9 } from "react";
6087
+ import { jsx as jsx33 } from "react/jsx-runtime";
6088
+ var WavelengthDropdown = forwardRef((props, ref) => {
6089
+ const { options, defaultValue, value, fontSize, fontFamily, borderRadius: borderRadius2, width: width2, height: height2, textColor, arrowSize, popupRadius, popupAlign, popupSelectedColor, onChange, ...rest } = props;
6090
+ const elementRef = useRef9(null);
6091
+ useImperativeHandle2(ref, () => elementRef.current);
6092
+ useEffect8(() => {
6093
+ const el = elementRef.current;
6094
+ if (!el || !onChange) return;
6095
+ const handler = (e) => {
6096
+ const customEvent = e;
6097
+ onChange(customEvent);
6098
+ };
6099
+ el.addEventListener("change", handler);
6100
+ return () => el.removeEventListener("change", handler);
6101
+ }, [onChange]);
6102
+ useEffect8(() => {
6103
+ if (value !== void 0 && elementRef.current) {
6104
+ elementRef.current.value = value;
6151
6105
  }
6152
- });
6153
- const MyMenu = styled7(MuiMenu)({
6154
- top: "-7px",
6155
- left: "0px",
6156
- boxSizing: "border-box",
6157
- "& .MuiMenu-paper": {
6158
- borderBottomLeftRadius: "8px",
6159
- borderBottomRightRadius: "8px",
6160
- borderTopRightRadius: "0px",
6161
- borderTopLeftRadius: "0px",
6162
- boxShadow: menuSx?.boxShadow,
6163
- width: myMenusx.width,
6164
- backgroundColor: `${myMenusx.backgroundColor}`
6165
- },
6166
- "& .MuiMenu-list": {
6167
- borderBottomLeftRadius: "8px",
6168
- borderBottomRightRadius: "8px",
6169
- borderLeft: `1px solid ${myMenusx.borderColor}`,
6170
- borderRight: `1px solid ${myMenusx.borderColor}`,
6171
- borderBottom: `1px solid ${myMenusx.borderColor}`
6106
+ }, [value]);
6107
+ return /* @__PURE__ */ jsx33(
6108
+ "wavelength-dropdown",
6109
+ {
6110
+ ref: elementRef,
6111
+ options: JSON.stringify(options),
6112
+ defaultValue,
6113
+ "font-size": fontSize,
6114
+ "font-family": fontFamily,
6115
+ "border-radius": borderRadius2,
6116
+ width: width2,
6117
+ height: height2,
6118
+ color: textColor,
6119
+ "arrow-size": arrowSize,
6120
+ "popup-radius": popupRadius,
6121
+ "popup-align": popupAlign,
6122
+ "popup-selected-color": popupSelectedColor,
6123
+ ...rest
6172
6124
  }
6173
- });
6174
- return /* @__PURE__ */ jsxs22(Fragment12, { children: [
6175
- /* @__PURE__ */ jsx33(
6176
- WavelengthButton,
6177
- {
6178
- variant: "contained",
6179
- size: "large",
6180
- borderRadius: "0.5rem",
6181
- padding: myButtonSx.padding || breweryStyleButton.padding,
6182
- width: width2,
6183
- margin: "0rem",
6184
- colorOne: menuSx.borderColor,
6185
- colorTwo: menuSx.backgroundColor,
6186
- fontSize: "1.125rem",
6187
- boxShadow: "none",
6188
- onClick: handleClick,
6189
- children: buttonText
6190
- }
6191
- ),
6192
- /* @__PURE__ */ jsx33(
6193
- MyMenu,
6194
- {
6195
- id,
6196
- anchorEl,
6197
- open,
6198
- onClose: handleClose,
6199
- MenuListProps: {
6200
- "aria-labelledby": "basic-button"
6201
- },
6202
- anchorOrigin: { vertical: "bottom", horizontal: "center" },
6203
- transformOrigin: { vertical: "top", horizontal: "center" },
6204
- TransitionComponent: Grow,
6205
- children: options.map((item, index) => {
6206
- return /* @__PURE__ */ jsx33(MenuItem2, { onClick: item.onClick, children: item.option }, index);
6207
- })
6208
- }
6209
- )
6210
- ] });
6211
- }
6212
- var WavelengthDropdownStyled = styled7(WavelengthDropdown)``;
6125
+ );
6126
+ });
6213
6127
  WavelengthDropdown.displayName = "WavelengthDropdown";
6214
6128
 
6215
6129
  // src/components/snackbars/WavelengthSnackbar.tsx
@@ -6217,7 +6131,7 @@ import Snackbar from "@mui/material/Snackbar";
6217
6131
  import SnackbarContent from "@mui/material/SnackbarContent";
6218
6132
  import CloseIcon2 from "@mui/icons-material/Close";
6219
6133
  import { IconButton as IconButton6 } from "@mui/material";
6220
- import { jsx as jsx34, jsxs as jsxs23 } from "react/jsx-runtime";
6134
+ import { jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
6221
6135
  function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor, textColor, horryAlign, vertyAlign, durationSb, width: width2, icon, id }) {
6222
6136
  const handleClose = () => {
6223
6137
  setShow(false);
@@ -6245,7 +6159,7 @@ function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor,
6245
6159
  display: "flex",
6246
6160
  width: width2
6247
6161
  },
6248
- message: /* @__PURE__ */ jsxs23("div", { children: [
6162
+ message: /* @__PURE__ */ jsxs22("div", { children: [
6249
6163
  /* @__PURE__ */ jsx34("span", { children: icon }),
6250
6164
  /* @__PURE__ */ jsx34("span", { id: "snackbar", children: message ? message : "Insert Message Here" })
6251
6165
  ] }),
@@ -6260,7 +6174,7 @@ WavelengthSnackbar.displayName = "WavelengthSnackbar";
6260
6174
  // src/components/snackbars/WavelengthStandardSnackbar.tsx
6261
6175
  import Snackbar2 from "@mui/material/Snackbar";
6262
6176
  import SnackbarContent2 from "@mui/material/SnackbarContent";
6263
- import { jsx as jsx35, jsxs as jsxs24 } from "react/jsx-runtime";
6177
+ import { jsx as jsx35, jsxs as jsxs23 } from "react/jsx-runtime";
6264
6178
  function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width: width2, message, customVertyAlign, toggleShow, closeIcon, id }) {
6265
6179
  const handleClose = () => {
6266
6180
  toggleShow(false);
@@ -6296,7 +6210,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
6296
6210
  //color: props.textColor ? props.textColor : palette.secondary,
6297
6211
  },
6298
6212
  sx: { paddingTop: "0px", paddingBottom: "0px" },
6299
- message: /* @__PURE__ */ jsxs24(
6213
+ message: /* @__PURE__ */ jsxs23(
6300
6214
  "div",
6301
6215
  {
6302
6216
  style: {
@@ -6305,7 +6219,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
6305
6219
  width: width2
6306
6220
  },
6307
6221
  children: [
6308
- /* @__PURE__ */ jsxs24("div", { style: { gridColumnStart: 2, gridColumnEnd: 5, textAlign: "center", display: "flex", flexDirection: "row", justifyContent: "center", alignItems: "center" }, id: "snackbar", children: [
6222
+ /* @__PURE__ */ jsxs23("div", { style: { gridColumnStart: 2, gridColumnEnd: 5, textAlign: "center", display: "flex", flexDirection: "row", justifyContent: "center", alignItems: "center" }, id: "snackbar", children: [
6309
6223
  /* @__PURE__ */ jsx35("div", { style: { marginTop: "5px" }, children: sIcon }),
6310
6224
  /* @__PURE__ */ jsx35("div", { style: { fontSize: "1rem", marginLeft: "10px" }, children: message ? message : "Insert Message Here" })
6311
6225
  ] }),
@@ -6323,11 +6237,11 @@ WavelengthStandardSnackbar.displayName = "WavelengthStandardSnackbar";
6323
6237
  // src/components/snackbars/WavelengthTestSnackbar.tsx
6324
6238
  import Box5 from "@mui/material/Box";
6325
6239
  import Button4 from "@mui/material/Button";
6326
- import { useEffect as useEffect8, useRef as useRef9 } from "react";
6327
- import { Fragment as Fragment13, jsx as jsx36, jsxs as jsxs25 } from "react/jsx-runtime";
6240
+ import { useEffect as useEffect9, useRef as useRef10 } from "react";
6241
+ import { Fragment as Fragment12, jsx as jsx36, jsxs as jsxs24 } from "react/jsx-runtime";
6328
6242
  var useOutsideClick = (callback) => {
6329
- const ref = useRef9(null);
6330
- useEffect8(() => {
6243
+ const ref = useRef10(null);
6244
+ useEffect9(() => {
6331
6245
  const handleClickOutside = (event) => {
6332
6246
  if (ref.current && !ref.current.contains(event.target)) {
6333
6247
  callback();
@@ -6354,7 +6268,7 @@ function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, custom
6354
6268
  } else if (type === "disabled") {
6355
6269
  bgColor = "#737373";
6356
6270
  }
6357
- return /* @__PURE__ */ jsx36(Fragment13, { children: isPopUpOpen && /* @__PURE__ */ jsxs25(
6271
+ return /* @__PURE__ */ jsx36(Fragment12, { children: isPopUpOpen && /* @__PURE__ */ jsxs24(
6358
6272
  Box5,
6359
6273
  {
6360
6274
  id,
@@ -6433,7 +6347,7 @@ import Card from "@mui/material/Card";
6433
6347
  import CardContent from "@mui/material/CardContent";
6434
6348
  import CardMedia from "@mui/material/CardMedia";
6435
6349
  import CardActionArea from "@mui/material/CardActionArea";
6436
- import { jsx as jsx38, jsxs as jsxs26 } from "react/jsx-runtime";
6350
+ import { jsx as jsx38, jsxs as jsxs25 } from "react/jsx-runtime";
6437
6351
  var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight, cardWidth, id, name }) => {
6438
6352
  const [currentIndex, setCurrentIndex] = useState4(0);
6439
6353
  const adjustButtonSize = buttonSize !== void 0 ? buttonSize : 70;
@@ -6450,7 +6364,7 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6450
6364
  const handleClick = () => {
6451
6365
  window.open(items[currentIndex].path, "_blank");
6452
6366
  };
6453
- return /* @__PURE__ */ jsx38("div", { children: /* @__PURE__ */ jsx38("div", { children: /* @__PURE__ */ jsxs26(
6367
+ return /* @__PURE__ */ jsx38("div", { children: /* @__PURE__ */ jsx38("div", { children: /* @__PURE__ */ jsxs25(
6454
6368
  Grid5,
6455
6369
  {
6456
6370
  container: true,
@@ -6467,9 +6381,9 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6467
6381
  maxWidth: adjustCardWidth,
6468
6382
  maxHeight: adjustCardHeight
6469
6383
  },
6470
- children: /* @__PURE__ */ jsxs26(CardActionArea, { onClick: handleClick, children: [
6384
+ children: /* @__PURE__ */ jsxs25(CardActionArea, { onClick: handleClick, children: [
6471
6385
  /* @__PURE__ */ jsx38(CardMedia, { sx: { height: adjustImageHeight, width: adjustImageWidth }, image: items[currentIndex].image }),
6472
- /* @__PURE__ */ jsxs26(CardContent, { children: [
6386
+ /* @__PURE__ */ jsxs25(CardContent, { children: [
6473
6387
  /* @__PURE__ */ jsx38(Typography4, { variant: "h4", children: items[currentIndex].title }),
6474
6388
  /* @__PURE__ */ jsx38(Typography4, { variant: "body1", children: items[currentIndex].description })
6475
6389
  ] })
@@ -6484,18 +6398,18 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6484
6398
  DefaultCarousel.displayName = "DefaultCarousel";
6485
6399
 
6486
6400
  // src/components/carousels/WavelengthSliderCarousel.tsx
6487
- import { useState as useState5, useEffect as useEffect10 } from "react";
6401
+ import { useState as useState5, useEffect as useEffect11 } from "react";
6488
6402
  import Grid6 from "@mui/material/Grid";
6489
6403
  import Card2 from "@mui/material/Card";
6490
6404
  import CardContent2 from "@mui/material/CardContent";
6491
6405
  import CardMedia2 from "@mui/material/CardMedia";
6492
6406
  import CardActionArea2 from "@mui/material/CardActionArea";
6493
- import { jsx as jsx39, jsxs as jsxs27 } from "react/jsx-runtime";
6407
+ import { jsx as jsx39, jsxs as jsxs26 } from "react/jsx-runtime";
6494
6408
  var delay = 2500;
6495
6409
  var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth }) => {
6496
6410
  const [index, setIndex] = useState5(0);
6497
6411
  const [isHovered, setIsHovered] = useState5(false);
6498
- useEffect10(() => {
6412
+ useEffect11(() => {
6499
6413
  setTimeout(() => setIndex((prevIndex) => prevIndex === items.length - 1 ? 0 : prevIndex + 1), delay);
6500
6414
  return () => {
6501
6415
  };
@@ -6553,9 +6467,9 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
6553
6467
  },
6554
6468
  onMouseEnter: () => setIsHovered(true),
6555
6469
  onMouseLeave: () => setIsHovered(false),
6556
- children: /* @__PURE__ */ jsxs27(CardActionArea2, { href: card.path, children: [
6470
+ children: /* @__PURE__ */ jsxs26(CardActionArea2, { href: card.path, children: [
6557
6471
  /* @__PURE__ */ jsx39(CardMedia2, { sx: { height: adjustCardHeight, width: adjustCardWith }, image: card.image }),
6558
- /* @__PURE__ */ jsxs27(CardContent2, { children: [
6472
+ /* @__PURE__ */ jsxs26(CardContent2, { children: [
6559
6473
  /* @__PURE__ */ jsx39("h3", { children: card.title }),
6560
6474
  /* @__PURE__ */ jsx39("p", { children: card.description })
6561
6475
  ] })
@@ -6575,9 +6489,9 @@ import { useState as useState6 } from "react";
6575
6489
  import Button5 from "@mui/material/Button";
6576
6490
  import ArrowBackIosNewIcon from "@mui/icons-material/ArrowBackIosNew";
6577
6491
  import ArrowForwardIosIcon from "@mui/icons-material/ArrowForwardIos";
6578
- import styled8 from "styled-components";
6579
- import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
6580
- var MyDroplistItems = styled8("li")`
6492
+ import styled7 from "styled-components";
6493
+ import { jsx as jsx40, jsxs as jsxs27 } from "react/jsx-runtime";
6494
+ var MyDroplistItems = styled7("li")`
6581
6495
  background-color: white;
6582
6496
  color: #000000;
6583
6497
  padding: 10px 30px;
@@ -6620,14 +6534,14 @@ function WavelengthButtonPagination({ totalPages, current, handleChangePage, ite
6620
6534
  "&:disabled": { background: "rgb(226, 223, 223)" },
6621
6535
  "&.active": { background: "#8FD8FF" }
6622
6536
  };
6623
- return /* @__PURE__ */ jsxs28("div", { style: dropstyles.butPagCompDivStyle, id, children: [
6537
+ return /* @__PURE__ */ jsxs27("div", { style: dropstyles.butPagCompDivStyle, id, children: [
6624
6538
  /* @__PURE__ */ jsx40(Button5, { onClick: () => handleChangePage(current - 1), disabled: current === 1, sx: WLButtonPagStyle, children: /* @__PURE__ */ jsx40(ArrowBackIosNewIcon, {}) }),
6625
6539
  /* @__PURE__ */ jsx40("section", { style: dropstyles.rangenumbers, children: itemList.map(
6626
6540
  (item, index) => item === "..." && index === 1 ? (
6627
6541
  //first half ellipse with first half dropdown
6628
6542
  // dropdown
6629
6543
  // eslint-disable-next-line react/jsx-key
6630
- /* @__PURE__ */ jsxs28("div", { children: [
6544
+ /* @__PURE__ */ jsxs27("div", { children: [
6631
6545
  /* @__PURE__ */ jsx40(Button5, { onClick: () => toggleDropdown(1), className: current === index ? "active" : "", sx: WLButtonPagStyle, children: item }, index),
6632
6546
  isOpen && /* @__PURE__ */ jsx40("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx40("ul", { style: dropstyles.mydrop, children: firstEllipseList.map((item2) => /* @__PURE__ */ jsx40(
6633
6547
  MyDroplistItems,
@@ -6642,7 +6556,7 @@ function WavelengthButtonPagination({ totalPages, current, handleChangePage, ite
6642
6556
  ] })
6643
6557
  ) : item === "..." && index === 5 ? (
6644
6558
  //second half ellipse with second half dropdown
6645
- /* @__PURE__ */ jsxs28("div", { children: [
6559
+ /* @__PURE__ */ jsxs27("div", { children: [
6646
6560
  /* @__PURE__ */ jsx40(Button5, { onClick: () => toggleDropdown(5), className: current === index ? "active" : "", sx: WLButtonPagStyle, children: item }, index),
6647
6561
  isSecOpen && /* @__PURE__ */ jsx40("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx40("ul", { style: dropstyles.mydrop, children: secondEllipseList.map((item2) => /* @__PURE__ */ jsx40(
6648
6562
  MyDroplistItems,
@@ -6668,12 +6582,12 @@ import { useState as useState7 } from "react";
6668
6582
  import Button6 from "@mui/material/Button";
6669
6583
  import ArrowBackIosNewIcon2 from "@mui/icons-material/ArrowBackIosNew";
6670
6584
  import ArrowForwardIosIcon2 from "@mui/icons-material/ArrowForwardIos";
6671
- import styled9 from "styled-components";
6672
- import { jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
6585
+ import styled8 from "styled-components";
6586
+ import { jsx as jsx41, jsxs as jsxs28 } from "react/jsx-runtime";
6673
6587
  function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList, id }) {
6674
6588
  const [isOpen, setIsOpen] = useState7(false);
6675
6589
  const [isSecOpen, setIsSecOpen] = useState7(false);
6676
- const MyDroplistItems2 = styled9("li")`
6590
+ const MyDroplistItems2 = styled8("li")`
6677
6591
  background-color: white;
6678
6592
  color: #000000;
6679
6593
  padding: 10px 30px;
@@ -6711,13 +6625,13 @@ function WavelengthVariationPagination({ totalPages, current, variant, handleCha
6711
6625
  setIsSecOpen(!isSecOpen);
6712
6626
  }
6713
6627
  };
6714
- return /* @__PURE__ */ jsxs29("div", { style: dropstyles.pagination, id, children: [
6628
+ return /* @__PURE__ */ jsxs28("div", { style: dropstyles.pagination, id, children: [
6715
6629
  /* @__PURE__ */ jsx41(Button6, { onClick: () => handleChangePage(current - 1), variant, disabled: current === 1, children: /* @__PURE__ */ jsx41(ArrowBackIosNewIcon2, {}) }),
6716
6630
  /* @__PURE__ */ jsx41("section", { style: dropstyles.rangenumbers, children: itemList.map(
6717
6631
  (item, index) => item === "..." && index === 1 ? (
6718
6632
  //first half ellipse with first half dropdown
6719
6633
  // eslint-disable-next-line react/jsx-key
6720
- /* @__PURE__ */ jsxs29("div", { children: [
6634
+ /* @__PURE__ */ jsxs28("div", { children: [
6721
6635
  /* @__PURE__ */ jsx41(Button6, { onClick: () => toggleDropdown(1), variant, className: current === index ? "active" : "", children: item }, index),
6722
6636
  isOpen && /* @__PURE__ */ jsx41("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx41("ul", { style: dropstyles.mydrop, children: firstEllipseList.map((item2) => /* @__PURE__ */ jsx41(
6723
6637
  MyDroplistItems2,
@@ -6733,7 +6647,7 @@ function WavelengthVariationPagination({ totalPages, current, variant, handleCha
6733
6647
  ] })
6734
6648
  ) : item === "..." && index === 5 ? (
6735
6649
  //second half ellipse with second half dropdown
6736
- /* @__PURE__ */ jsxs29("div", { children: [
6650
+ /* @__PURE__ */ jsxs28("div", { children: [
6737
6651
  /* @__PURE__ */ jsx41(Button6, { onClick: () => toggleDropdown(5), variant, className: current === index ? "active" : "", children: item }, index),
6738
6652
  isSecOpen && /* @__PURE__ */ jsx41("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx41("ul", { style: dropstyles.mydrop, children: secondEllipseList.map((item2) => /* @__PURE__ */ jsx41(
6739
6653
  MyDroplistItems2,
@@ -6867,10 +6781,10 @@ WavelengthDefaultPagination.displayName = "WavelengthDefaultPagination";
6867
6781
  var WavelengthDefaultPagination_default = WavelengthDefaultPagination;
6868
6782
 
6869
6783
  // src/components/TextField/WavelengthInput.tsx
6870
- import { useRef as useRef10, useEffect as useEffect11, forwardRef, useImperativeHandle as useImperativeHandle2 } from "react";
6784
+ import { useRef as useRef11, useEffect as useEffect12, forwardRef as forwardRef2, useImperativeHandle as useImperativeHandle3 } from "react";
6871
6785
  import "@wavelengthusaf/web-components";
6872
6786
  import { jsx as jsx43 } from "react/jsx-runtime";
6873
- var WavelengthInput = forwardRef(
6787
+ var WavelengthInput = forwardRef2(
6874
6788
  ({
6875
6789
  id,
6876
6790
  name,
@@ -6906,12 +6820,12 @@ var WavelengthInput = forwardRef(
6906
6820
  onBlurCallback,
6907
6821
  ...rest
6908
6822
  }, ref) => {
6909
- const internalRef = useRef10(null);
6910
- useImperativeHandle2(ref, () => ({
6823
+ const internalRef = useRef11(null);
6824
+ useImperativeHandle3(ref, () => ({
6911
6825
  ...internalRef.current,
6912
6826
  validate: () => internalRef.current?.validate?.(true)
6913
6827
  }));
6914
- useEffect11(() => {
6828
+ useEffect12(() => {
6915
6829
  const el = internalRef.current;
6916
6830
  if (!el) return;
6917
6831
  const set = (attr, val) => {
@@ -6982,7 +6896,7 @@ var WavelengthInput = forwardRef(
6982
6896
  label,
6983
6897
  disabled
6984
6898
  ]);
6985
- useEffect11(() => {
6899
+ useEffect12(() => {
6986
6900
  const el = internalRef.current;
6987
6901
  if (!el || !onBlurCallback) return;
6988
6902
  const handler = (e) => {
@@ -6994,7 +6908,7 @@ var WavelengthInput = forwardRef(
6994
6908
  el.addEventListener("blur", handler);
6995
6909
  return () => el.removeEventListener("blur", handler);
6996
6910
  }, [onBlurCallback]);
6997
- useEffect11(() => {
6911
+ useEffect12(() => {
6998
6912
  const el = internalRef.current;
6999
6913
  if (!el || !onChange) return;
7000
6914
  const handler = (e) => {
@@ -7024,10 +6938,10 @@ WavelengthInput.displayName = "WavelengthInput";
7024
6938
  import { WavelengthInput as WavelengthInput2 } from "@wavelengthusaf/web-components";
7025
6939
 
7026
6940
  // src/components/DataTable/WavelengthDataTable.tsx
7027
- import { useEffect as useEffect12, useRef as useRef11, useState as useState9 } from "react";
7028
- import styled10 from "styled-components";
7029
- import { jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
7030
- var ModalInputDiv = styled10.div`
6941
+ import { useEffect as useEffect13, useRef as useRef12, useState as useState9 } from "react";
6942
+ import styled9 from "styled-components";
6943
+ import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
6944
+ var ModalInputDiv = styled9.div`
7031
6945
  display: flex;
7032
6946
  flex-direction: column; /* Corrected this line */
7033
6947
  gap: 3px;
@@ -7057,7 +6971,7 @@ var ModalInputDiv = styled10.div`
7057
6971
  }
7058
6972
  }
7059
6973
  `;
7060
- var ModalOverlay = styled10.div`
6974
+ var ModalOverlay = styled9.div`
7061
6975
  position: fixed;
7062
6976
  bottom: 19%;
7063
6977
  right: 15%;
@@ -7069,7 +6983,7 @@ var ModalOverlay = styled10.div`
7069
6983
  align-items: center;
7070
6984
  z-index: 1;
7071
6985
  `;
7072
- var ModalWrapper = styled10.div`
6986
+ var ModalWrapper = styled9.div`
7073
6987
  background-color: white;
7074
6988
  border-radius: 8px;
7075
6989
  padding: 20px;
@@ -7080,7 +6994,7 @@ var ModalWrapper = styled10.div`
7080
6994
  display: flex;
7081
6995
  align-items: center;
7082
6996
  `;
7083
- var ModalClose = styled10.button`
6997
+ var ModalClose = styled9.button`
7084
6998
  position: absolute;
7085
6999
  top: 10px;
7086
7000
  right: 10px;
@@ -7090,16 +7004,16 @@ var ModalClose = styled10.button`
7090
7004
  background: none;
7091
7005
  z-index: 2;
7092
7006
  `;
7093
- var TableHeadStyle = styled10.th`
7007
+ var TableHeadStyle = styled9.th`
7094
7008
  position: relative;
7095
7009
  `;
7096
- var KebabMenu = styled10.div`
7010
+ var KebabMenu = styled9.div`
7097
7011
  display: inline-block;
7098
7012
  position: absolute;
7099
7013
  right: 0;
7100
7014
  top: 2px;
7101
7015
  `;
7102
- var KebabIcon = styled10.div`
7016
+ var KebabIcon = styled9.div`
7103
7017
  cursor: pointer;
7104
7018
  font-size: 20px;
7105
7019
  padding: 5px;
@@ -7112,7 +7026,7 @@ var KebabIcon = styled10.div`
7112
7026
  color: #8fd8ff;
7113
7027
  }
7114
7028
  `;
7115
- var MenuOptions = styled10.ul`
7029
+ var MenuOptions = styled9.ul`
7116
7030
  position: absolute;
7117
7031
  right: 0;
7118
7032
  top: 100%;
@@ -7135,7 +7049,7 @@ var MenuOptions = styled10.ul`
7135
7049
  }
7136
7050
  }
7137
7051
  `;
7138
- var StyledBoxDiv = styled10.div`
7052
+ var StyledBoxDiv = styled9.div`
7139
7053
  background-color: white;
7140
7054
  width: 700px;
7141
7055
  height: 480px;
@@ -7143,7 +7057,7 @@ var StyledBoxDiv = styled10.div`
7143
7057
  border-top-left-radius: 10px;
7144
7058
  border-top-right-radius: 10px;
7145
7059
  `;
7146
- var StyledNavBoxDiv = styled10.div`
7060
+ var StyledNavBoxDiv = styled9.div`
7147
7061
  background-color: white;
7148
7062
  width: 700px;
7149
7063
  display: flex; /* Make parent a flex-container */
@@ -7153,13 +7067,13 @@ var StyledNavBoxDiv = styled10.div`
7153
7067
 
7154
7068
  box-shadow: 0.5px 3px 5px black;
7155
7069
  `;
7156
- var StyledTd = styled10.td`
7070
+ var StyledTd = styled9.td`
7157
7071
  border-top: 1px solid #c6c7cc;
7158
7072
  border-bottom: 1px solid #c6c7cc;
7159
7073
  padding: 10px 15px;
7160
7074
  vertical-align: middle;
7161
7075
  `;
7162
- var StyledTableTwo = styled10.table`
7076
+ var StyledTableTwo = styled9.table`
7163
7077
  width: 95%;
7164
7078
  height: 95%;
7165
7079
  border-collapse: collapse;
@@ -7185,7 +7099,7 @@ var StyledTableTwo = styled10.table`
7185
7099
  }
7186
7100
  }
7187
7101
  `;
7188
- var StyledInput = styled10.input`
7102
+ var StyledInput = styled9.input`
7189
7103
  height: 100%;
7190
7104
  width: 100%;
7191
7105
  outline: none;
@@ -7205,8 +7119,8 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7205
7119
  const [currentPage, setCurrentPage] = useState9(1);
7206
7120
  const [isOpen, setIsOpen] = useState9(false);
7207
7121
  const [editingMenuKey, setEditingMenuKey] = useState9(null);
7208
- const menuRef = useRef11(null);
7209
- const modalRef = useRef11(null);
7122
+ const menuRef = useRef12(null);
7123
+ const modalRef = useRef12(null);
7210
7124
  function isNumeric(value) {
7211
7125
  return /^\d+$/.test(value);
7212
7126
  }
@@ -7214,7 +7128,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7214
7128
  setSelectedValue(event.target.value);
7215
7129
  setLocalData(copiedArray);
7216
7130
  };
7217
- useEffect12(() => {
7131
+ useEffect13(() => {
7218
7132
  if (!selectedValue || searchItem === "") {
7219
7133
  setLocalData(copiedArray);
7220
7134
  setNoRowsOpen(false);
@@ -7244,7 +7158,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7244
7158
  const closeModal = () => {
7245
7159
  setIsModalOpen(false);
7246
7160
  };
7247
- useEffect12(() => {
7161
+ useEffect13(() => {
7248
7162
  const handleClickOutside = (event) => {
7249
7163
  if (isModalOpen && modalRef.current && !modalRef.current.contains(event.target)) {
7250
7164
  closeModal();
@@ -7301,9 +7215,9 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7301
7215
  setEditingId(null);
7302
7216
  };
7303
7217
  const headers = columns.map((column, index) => {
7304
- return /* @__PURE__ */ jsxs30(TableHeadStyle, { children: [
7218
+ return /* @__PURE__ */ jsxs29(TableHeadStyle, { children: [
7305
7219
  column.title,
7306
- /* @__PURE__ */ jsxs30(KebabMenu, { ref: menuRef, children: [
7220
+ /* @__PURE__ */ jsxs29(KebabMenu, { ref: menuRef, children: [
7307
7221
  /* @__PURE__ */ jsx44(
7308
7222
  KebabIcon,
7309
7223
  {
@@ -7314,25 +7228,25 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7314
7228
  children: "\u22EE"
7315
7229
  }
7316
7230
  ),
7317
- isOpen && editingMenuKey === column.key && /* @__PURE__ */ jsxs30(MenuOptions, { children: [
7318
- sortOrder === "asc" ? /* @__PURE__ */ jsxs30("li", { title: `MenuListASC-${index}`, onClick: () => handleSort(column.key, "asc"), children: [
7231
+ isOpen && editingMenuKey === column.key && /* @__PURE__ */ jsxs29(MenuOptions, { children: [
7232
+ sortOrder === "asc" ? /* @__PURE__ */ jsxs29("li", { title: `MenuListASC-${index}`, onClick: () => handleSort(column.key, "asc"), children: [
7319
7233
  /* @__PURE__ */ jsx44("span", { children: "\u2B06" }),
7320
7234
  " Sort ASC"
7321
- ] }) : /* @__PURE__ */ jsxs30("li", { title: `MenuListDES-${index}`, onClick: () => handleSort(column.key, "desc"), children: [
7235
+ ] }) : /* @__PURE__ */ jsxs29("li", { title: `MenuListDES-${index}`, onClick: () => handleSort(column.key, "desc"), children: [
7322
7236
  /* @__PURE__ */ jsx44("span", { children: "\u2B07" }),
7323
7237
  " Sort DESC"
7324
7238
  ] }),
7325
- /* @__PURE__ */ jsxs30("li", { title: `MenuListFilterButton-${index}`, onClick: openModal, children: [
7239
+ /* @__PURE__ */ jsxs29("li", { title: `MenuListFilterButton-${index}`, onClick: openModal, children: [
7326
7240
  /* @__PURE__ */ jsx44("span", { children: "\u23F7" }),
7327
7241
  " Filter"
7328
7242
  ] }),
7329
- isModalOpen && /* @__PURE__ */ jsx44(ModalOverlay, { children: /* @__PURE__ */ jsxs30(ModalWrapper, { ref: modalRef, children: [
7243
+ isModalOpen && /* @__PURE__ */ jsx44(ModalOverlay, { children: /* @__PURE__ */ jsxs29(ModalWrapper, { ref: modalRef, children: [
7330
7244
  /* @__PURE__ */ jsx44(ModalClose, { title: `ModalClose-${index}`, onClick: closeModal, children: "\xD7" }),
7331
- /* @__PURE__ */ jsxs30(ModalInputDiv, { children: [
7245
+ /* @__PURE__ */ jsxs29(ModalInputDiv, { children: [
7332
7246
  /* @__PURE__ */ jsx44("label", { htmlFor: "filterSelectId", children: "Columns: " }),
7333
7247
  /* @__PURE__ */ jsx44("select", { title: `filterSelect-${index}`, id: "filterSelectId", value: selectedValue, onChange: handleChange, children: columns.map((item) => /* @__PURE__ */ jsx44("option", { children: item.key }, item.key)) })
7334
7248
  ] }),
7335
- /* @__PURE__ */ jsxs30(ModalInputDiv, { children: [
7249
+ /* @__PURE__ */ jsxs29(ModalInputDiv, { children: [
7336
7250
  /* @__PURE__ */ jsx44("label", { htmlFor: "filterInputId", children: "Values: " }),
7337
7251
  /* @__PURE__ */ jsx44(
7338
7252
  "input",
@@ -7375,8 +7289,8 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7375
7289
  }
7376
7290
  ) : /* @__PURE__ */ jsx44("span", { title: `spanRow-${item.id}-${column.key}-${index2}`, onDoubleClick: () => handleEdit(item.id, item[column.key], column.key), children: item[column.key] }) }, index2);
7377
7291
  }) }, item.id));
7378
- return /* @__PURE__ */ jsxs30("div", { id, children: [
7379
- /* @__PURE__ */ jsx44(StyledBoxDiv, { title: "StyledBoxDiv", children: /* @__PURE__ */ jsxs30(StyledTableTwo, { title: "StyledTable", children: [
7292
+ return /* @__PURE__ */ jsxs29("div", { id, children: [
7293
+ /* @__PURE__ */ jsx44(StyledBoxDiv, { title: "StyledBoxDiv", children: /* @__PURE__ */ jsxs29(StyledTableTwo, { title: "StyledTable", children: [
7380
7294
  /* @__PURE__ */ jsx44("thead", { children: /* @__PURE__ */ jsx44("tr", { children: headers }) }),
7381
7295
  /* @__PURE__ */ jsx44("tbody", { children: rows })
7382
7296
  ] }) }),
@@ -7386,29 +7300,29 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7386
7300
  WavelengthDataTable.displayName = "WavelengthDataTable";
7387
7301
 
7388
7302
  // src/components/DataTable/SubRowTable/ChildSubTable.tsx
7389
- import { useMemo as useMemo3, useState as useState10, Fragment as Fragment14 } from "react";
7390
- import styled11 from "styled-components";
7391
- import { Fragment as Fragment15, jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
7392
- var TableContainer = styled11.div`
7303
+ import { useMemo as useMemo3, useState as useState10, Fragment as Fragment13 } from "react";
7304
+ import styled10 from "styled-components";
7305
+ import { Fragment as Fragment14, jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
7306
+ var TableContainer = styled10.div`
7393
7307
  width: 1200px;
7394
7308
  border-radius: 16px;
7395
7309
  `;
7396
- var TableRow = styled11.div`
7310
+ var TableRow = styled10.div`
7397
7311
  display: grid;
7398
7312
  grid-template-columns: ${({ $amountofColumns }) => `repeat(${$amountofColumns}, 1fr)`};
7399
7313
  `;
7400
- var TablePrimaryRow = styled11.div`
7314
+ var TablePrimaryRow = styled10.div`
7401
7315
  display: grid;
7402
7316
  grid-template-columns: ${({ $amountofColumns }) => `repeat(${$amountofColumns}, 1fr)`};
7403
7317
  `;
7404
- var BodyRowContainer = styled11.div`
7318
+ var BodyRowContainer = styled10.div`
7405
7319
  border: 1px solid black;
7406
7320
  background-color: white;
7407
7321
  border-radius: 16px;
7408
7322
  overflow: hidden;
7409
7323
  margin-bottom: 10px;
7410
7324
  `;
7411
- var TableHeaderCell = styled11.div`
7325
+ var TableHeaderCell = styled10.div`
7412
7326
  padding-left: 12px;
7413
7327
  padding-right: 25px;
7414
7328
  height: 60px;
@@ -7416,7 +7330,7 @@ var TableHeaderCell = styled11.div`
7416
7330
  display: flex;
7417
7331
  align-items: center;
7418
7332
  `;
7419
- var TableBodyCell = styled11.div`
7333
+ var TableBodyCell = styled10.div`
7420
7334
  background-color: #fff;
7421
7335
  color: black;
7422
7336
  position: relative;
@@ -7425,27 +7339,27 @@ var TableBodyCell = styled11.div`
7425
7339
  font-size: ${(props) => props.$primaryBoldState ? "24px" : "16px"};
7426
7340
  font-weight: ${(props) => props.$primaryBoldState ? "bold" : "normal"};
7427
7341
  `;
7428
- var ButtonStylingRow = styled11.div`
7342
+ var ButtonStylingRow = styled10.div`
7429
7343
  display: flex;
7430
7344
  flex-direction: row;
7431
7345
  `;
7432
- var BottomArrowBar = styled11.div`
7346
+ var BottomArrowBar = styled10.div`
7433
7347
  background-color: #e9e9e9;
7434
7348
  text-align: center;
7435
7349
  `;
7436
- var BottomUpArrowBar = styled11.div`
7350
+ var BottomUpArrowBar = styled10.div`
7437
7351
  background-color: #e9e9e9;
7438
7352
  text-align: center;
7439
7353
  position: relative;
7440
7354
  `;
7441
- var SubDataTable = styled11.table`
7355
+ var SubDataTable = styled10.table`
7442
7356
  background-color: white;
7443
7357
  color: black;
7444
7358
  width: 100%;
7445
7359
  border-collapse: collapse;
7446
7360
  line-height: 1.2;
7447
7361
  `;
7448
- var SubDataTableHeaderRow = styled11.tr`
7362
+ var SubDataTableHeaderRow = styled10.tr`
7449
7363
  height: 50px;
7450
7364
  background-color: #304359;
7451
7365
  color: white;
@@ -7456,10 +7370,10 @@ var SubDataTableHeaderRow = styled11.tr`
7456
7370
  white-space: nowrap;
7457
7371
  }
7458
7372
  `;
7459
- var SubDataTableBodyRow = styled11.tbody`
7373
+ var SubDataTableBodyRow = styled10.tbody`
7460
7374
  font-size: 14px;
7461
7375
  `;
7462
- var SubDataTableBodyRowContainer = styled11.tr`
7376
+ var SubDataTableBodyRowContainer = styled10.tr`
7463
7377
  td {
7464
7378
  padding: 10px 0;
7465
7379
  max-width: 100px;
@@ -7469,13 +7383,13 @@ var SubDataTableBodyRowContainer = styled11.tr`
7469
7383
  background-color: #96e0e5;
7470
7384
  }
7471
7385
  `;
7472
- var SubDataTableCell = styled11.td`
7386
+ var SubDataTableCell = styled10.td`
7473
7387
  text-align: center;
7474
7388
  `;
7475
- var SubDataHeaderColumn = styled11.thead`
7389
+ var SubDataHeaderColumn = styled10.thead`
7476
7390
  background-color: #304359;
7477
7391
  `;
7478
- var SortButton = styled11.button`
7392
+ var SortButton = styled10.button`
7479
7393
  font-size: 16px;
7480
7394
  font-weight: bold;
7481
7395
  color: white;
@@ -7483,7 +7397,7 @@ var SortButton = styled11.button`
7483
7397
  border: none;
7484
7398
  white-space: nowrap;
7485
7399
  `;
7486
- var DownloadMissionButton = styled11.button`
7400
+ var DownloadMissionButton = styled10.button`
7487
7401
  width: 217px;
7488
7402
  height: 45px;
7489
7403
  padding: 12px 32px 12px 32px;
@@ -7512,7 +7426,7 @@ var DownloadMissionButton = styled11.button`
7512
7426
  transition: background-color 0.2s ease;
7513
7427
  }
7514
7428
  `;
7515
- var AddButton = styled11.button`
7429
+ var AddButton = styled10.button`
7516
7430
  width: 130px;
7517
7431
  height: 45px;
7518
7432
  border: 1px solid #1a8083;
@@ -7542,7 +7456,7 @@ var AddButton = styled11.button`
7542
7456
  transition: background-color 0.2s ease;
7543
7457
  }
7544
7458
  `;
7545
- var DownloadArrow = styled11.button`
7459
+ var DownloadArrow = styled10.button`
7546
7460
  background-color: transparent;
7547
7461
  border: none;
7548
7462
 
@@ -7625,15 +7539,15 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7625
7539
  return result;
7626
7540
  }, [data, sortKey, sortOrder, sortSubKey, sortSubOrder]);
7627
7541
  const renderSortButton = (column, sortOrder2, sortKey2) => {
7628
- return sortKey2 === column.key ? sortOrder2 === "asc" ? /* @__PURE__ */ jsx45(Fragment15, { children: /* @__PURE__ */ jsxs31(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7542
+ return sortKey2 === column.key ? sortOrder2 === "asc" ? /* @__PURE__ */ jsx45(Fragment14, { children: /* @__PURE__ */ jsxs30(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7629
7543
  column.title,
7630
7544
  " ",
7631
7545
  /* @__PURE__ */ jsx45("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
7632
- ] }) }) : /* @__PURE__ */ jsx45(Fragment15, { children: /* @__PURE__ */ jsxs31(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7546
+ ] }) }) : /* @__PURE__ */ jsx45(Fragment14, { children: /* @__PURE__ */ jsxs30(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7633
7547
  column.title,
7634
7548
  " ",
7635
7549
  /* @__PURE__ */ jsx45("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M13.2375 9.2627L7.5 3.5377L1.7625 9.2627L0 7.5002L7.5 0.000196457L15 7.5002L13.2375 9.2627Z", fill: "white" }) })
7636
- ] }) }) : /* @__PURE__ */ jsx45(Fragment15, { children: /* @__PURE__ */ jsxs31(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7550
+ ] }) }) : /* @__PURE__ */ jsx45(Fragment14, { children: /* @__PURE__ */ jsxs30(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7637
7551
  column.title,
7638
7552
  " ",
7639
7553
  /* @__PURE__ */ jsx45("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
@@ -7641,15 +7555,15 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7641
7555
  };
7642
7556
  const renderSortSubButton = (column, sortSubOrder2, sortSubKey2) => {
7643
7557
  const columnKey = trimBeforePeriod2(column.key);
7644
- return sortSubKey2 === columnKey ? sortSubOrder2 === "asc" ? /* @__PURE__ */ jsxs31(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7558
+ return sortSubKey2 === columnKey ? sortSubOrder2 === "asc" ? /* @__PURE__ */ jsxs30(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7645
7559
  column.title,
7646
7560
  " ",
7647
7561
  /* @__PURE__ */ jsx45("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
7648
- ] }) : /* @__PURE__ */ jsxs31(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7562
+ ] }) : /* @__PURE__ */ jsxs30(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7649
7563
  column.title,
7650
7564
  " ",
7651
7565
  /* @__PURE__ */ jsx45("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M13.2375 9.2627L7.5 3.5377L1.7625 9.2627L0 7.5002L7.5 0.000196457L15 7.5002L13.2375 9.2627Z", fill: "white" }) })
7652
- ] }) : /* @__PURE__ */ jsxs31(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7566
+ ] }) : /* @__PURE__ */ jsxs30(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7653
7567
  column.title,
7654
7568
  " ",
7655
7569
  /* @__PURE__ */ jsx45("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
@@ -7662,7 +7576,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7662
7576
  return /* @__PURE__ */ jsx45("th", { children: renderSortSubButton(column, sortSubOrder, sortSubKey) }, `SubHeadCell-${index}`);
7663
7577
  });
7664
7578
  const subDataRows = (itemId) => {
7665
- return processedRowData.filter((item) => item.Details?.relationId === itemId).map((item) => /* @__PURE__ */ jsx45(Fragment14, { children: item.Details?.fileObjects.map((fileItem, index) => /* @__PURE__ */ jsxs31(SubDataTableBodyRowContainer, { children: [
7579
+ return processedRowData.filter((item) => item.Details?.relationId === itemId).map((item) => /* @__PURE__ */ jsx45(Fragment13, { children: item.Details?.fileObjects.map((fileItem, index) => /* @__PURE__ */ jsxs30(SubDataTableBodyRowContainer, { children: [
7666
7580
  /* @__PURE__ */ jsx45("td", { children: /* @__PURE__ */ jsx45(DownloadArrow, { onClick: downloadArrowOnClick, children: /* @__PURE__ */ jsx45("svg", { width: "17", height: "16", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45(
7667
7581
  "path",
7668
7582
  {
@@ -7679,16 +7593,16 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7679
7593
  })
7680
7594
  ] }, `${item}-${item.Details?.relationId}-${fileItem.id}-${index}`)) }, `SDR-${item.id}-${item.Details?.relationId}`));
7681
7595
  };
7682
- const dataRows = processedRowData?.map((item, index) => /* @__PURE__ */ jsxs31(BodyRowContainer, { children: [
7596
+ const dataRows = processedRowData?.map((item, index) => /* @__PURE__ */ jsxs30(BodyRowContainer, { children: [
7683
7597
  /* @__PURE__ */ jsx45(TableRow, { $amountofColumns: HeadColumns.length, children: HeadColumns.map((column) => /* @__PURE__ */ jsx45(TableBodyCell, { $primaryBoldState: column.PrimaryBoldText, children: item[column.key] }, `TableBodycell-${item.id}-${column.key}`)) }),
7684
- /* @__PURE__ */ jsxs31(ButtonStylingRow, { children: [
7598
+ /* @__PURE__ */ jsxs30(ButtonStylingRow, { children: [
7685
7599
  /* @__PURE__ */ jsx45(DownloadMissionButton, { onClick: downloadMissionOnClick, children: "Download Mission" }),
7686
7600
  /* @__PURE__ */ jsx45(AddButton, { onClick: addFilesOnClick, children: "Add files" })
7687
7601
  ] }),
7688
7602
  openRow !== item.id && /* @__PURE__ */ jsx45(BottomArrowBar, { onClick: () => toggleDropdown(item.id), children: /* @__PURE__ */ jsx45("svg", { width: "92", height: "14", viewBox: "0 0 92 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M64 0L44 6L24 0H0L44 14L92 0H64Z", fill: "#7A7A7A" }) }) }),
7689
- openRow === item.id && /* @__PURE__ */ jsxs31("div", { children: [
7690
- /* @__PURE__ */ jsxs31(SubDataTable, { children: [
7691
- /* @__PURE__ */ jsx45(SubDataHeaderColumn, { children: /* @__PURE__ */ jsxs31(SubDataTableHeaderRow, { children: [
7603
+ openRow === item.id && /* @__PURE__ */ jsxs30("div", { children: [
7604
+ /* @__PURE__ */ jsxs30(SubDataTable, { children: [
7605
+ /* @__PURE__ */ jsx45(SubDataHeaderColumn, { children: /* @__PURE__ */ jsxs30(SubDataTableHeaderRow, { children: [
7692
7606
  /* @__PURE__ */ jsx45("th", {}),
7693
7607
  SubDataHeaders
7694
7608
  ] }) }),
@@ -7697,7 +7611,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7697
7611
  /* @__PURE__ */ jsx45(BottomUpArrowBar, { onClick: () => toggleUpward(), children: /* @__PURE__ */ jsx45("svg", { width: "92", height: "14", viewBox: "0 0 92 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx45("path", { d: "M64 14L44 8L24 14H0L44 0L92 14H64Z", fill: "#7A7A7A" }) }) })
7698
7612
  ] })
7699
7613
  ] }, `Bodycontainer-${item.id}-${index}`));
7700
- return /* @__PURE__ */ jsxs31(TableContainer, { children: [
7614
+ return /* @__PURE__ */ jsxs30(TableContainer, { children: [
7701
7615
  /* @__PURE__ */ jsx45(TablePrimaryRow, { $amountofColumns: HeadColumns.length, children: headers }),
7702
7616
  /* @__PURE__ */ jsx45("div", { title: "tablebodies", children: dataRows })
7703
7617
  ] });
@@ -7705,14 +7619,14 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7705
7619
  ChildDataTable.displayName = "ChildDataTable";
7706
7620
 
7707
7621
  // src/components/DataTable/SubRowTable/ChildDataTable.tsx
7708
- import { useRef as useRef12, useEffect as useEffect13 } from "react";
7622
+ import { useRef as useRef13, useEffect as useEffect14 } from "react";
7709
7623
  import "@wavelengthusaf/web-components";
7710
7624
  import { createRoot } from "react-dom/client";
7711
7625
  import { jsx as jsx46 } from "react/jsx-runtime";
7712
7626
  var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdownButtonIcon, ...rest }) => {
7713
- const tableRef = useRef12(null);
7714
- const reactDropdownRoots = useRef12(/* @__PURE__ */ new Map());
7715
- useEffect13(() => {
7627
+ const tableRef = useRef13(null);
7628
+ const reactDropdownRoots = useRef13(/* @__PURE__ */ new Map());
7629
+ useEffect14(() => {
7716
7630
  const customChildDataTableElement = tableRef.current;
7717
7631
  if (!customChildDataTableElement) return;
7718
7632
  if (columns !== void 0) customChildDataTableElement.setColumns = columns;
@@ -7721,7 +7635,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7721
7635
  if (sortIcon !== void 0) customChildDataTableElement.setSortIcon = sortIcon;
7722
7636
  if (dropdownButtonIcon !== void 0) customChildDataTableElement.setDropdownButtonIcon = dropdownButtonIcon;
7723
7637
  }, [columns, data, dropdownArrowLocation, sortIcon, dropdownButtonIcon]);
7724
- useEffect13(() => {
7638
+ useEffect14(() => {
7725
7639
  const el = tableRef.current;
7726
7640
  if (!el) return;
7727
7641
  const handleReactDropdown = (event) => {
@@ -7767,9 +7681,9 @@ import { ChildDataTable as ChildDataTable3 } from "@wavelengthusaf/web-component
7767
7681
 
7768
7682
  // src/components/DataTable/NestedDataTable/NestedDataTable.tsx
7769
7683
  import { useState as useState11 } from "react";
7770
- import styled12 from "styled-components";
7771
- import { Fragment as Fragment16, jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
7772
- var TableStyle = styled12.table`
7684
+ import styled11 from "styled-components";
7685
+ import { Fragment as Fragment15, jsx as jsx47, jsxs as jsxs31 } from "react/jsx-runtime";
7686
+ var TableStyle = styled11.table`
7773
7687
  width: 100%;
7774
7688
  height: 100%;
7775
7689
  border-collapse: collapse;
@@ -7785,26 +7699,26 @@ var TableStyle = styled12.table`
7785
7699
  margin-right: auto;
7786
7700
  position: absolute;
7787
7701
  `;
7788
- var MainThHeaders = styled12.th`
7702
+ var MainThHeaders = styled11.th`
7789
7703
  &:not(:last-child) {
7790
7704
  border-right: 1px solid #c6c7cc;
7791
7705
  }
7792
7706
  `;
7793
- var SubDataTr = styled12.tr`
7707
+ var SubDataTr = styled11.tr`
7794
7708
  background-color: white;
7795
7709
 
7796
7710
  &:nth-child(even) {
7797
7711
  background-color: #e0ffff;
7798
7712
  }
7799
7713
  `;
7800
- var PrimaryTrRows = styled12.tr`
7714
+ var PrimaryTrRows = styled11.tr`
7801
7715
  background-color: ${(props) => props.$index % 2 === 0 ? "white" : "#e0ffff"};
7802
7716
  `;
7803
- var SubTrRows = styled12.tr`
7717
+ var SubTrRows = styled11.tr`
7804
7718
  background-color: ${(props) => props.$index % 2 === 0 ? "white" : "#e0ffff"};
7805
7719
  height: 120px;
7806
7720
  `;
7807
- var SubTableStyle = styled12.table`
7721
+ var SubTableStyle = styled11.table`
7808
7722
  width: 95%;
7809
7723
  border-collapse: collapse;
7810
7724
  margin-top: -15px;
@@ -7824,7 +7738,7 @@ var SubTableStyle = styled12.table`
7824
7738
  }
7825
7739
  }
7826
7740
  `;
7827
- var DropdownButton = styled12.button`
7741
+ var DropdownButton = styled11.button`
7828
7742
  background-color: transparent;
7829
7743
  background-repeat: no-repeat;
7830
7744
  border: none;
@@ -7834,7 +7748,7 @@ var DropdownButton = styled12.button`
7834
7748
  font-weight: bold; /* This makes the UTF symbols bold */
7835
7749
  font-size: 20px;
7836
7750
  `;
7837
- var PrimaryTdSpan = styled12.td`
7751
+ var PrimaryTdSpan = styled11.td`
7838
7752
  &:not(:last-child) {
7839
7753
  border-right: 1px solid black;
7840
7754
  }
@@ -7860,7 +7774,7 @@ var NestedDataTable = ({ data, columns, id }) => {
7860
7774
  const SubDataHeaders = SubDataColumns.map((column, index) => {
7861
7775
  return /* @__PURE__ */ jsx47("th", { children: column.title }, `SubHeadCell-${index}`);
7862
7776
  });
7863
- const subDataRows = !data?.length ? /* @__PURE__ */ jsx47("tr", { children: /* @__PURE__ */ jsx47("td", { title: "NoSubDataRows", colSpan: columns.length, children: "No data" }) }) : data.map((item, index) => /* @__PURE__ */ jsx47(Fragment16, { children: /* @__PURE__ */ jsx47(SubDataTr, { children: SubDataColumns.map((column, colIndex) => {
7777
+ const subDataRows = !data?.length ? /* @__PURE__ */ jsx47("tr", { children: /* @__PURE__ */ jsx47("td", { title: "NoSubDataRows", colSpan: columns.length, children: "No data" }) }) : data.map((item, index) => /* @__PURE__ */ jsx47(Fragment15, { children: /* @__PURE__ */ jsx47(SubDataTr, { children: SubDataColumns.map((column, colIndex) => {
7864
7778
  const columnKey = trimBeforePeriod(column.key);
7865
7779
  const value = item.Details?.[columnKey];
7866
7780
  console.log("value: ", value);
@@ -7868,21 +7782,21 @@ var NestedDataTable = ({ data, columns, id }) => {
7868
7782
  return /* @__PURE__ */ jsx47("td", { children: /* @__PURE__ */ jsx47("span", { children: value }) }, `Span-${item.id}-${colIndex}`);
7869
7783
  }
7870
7784
  }) }, `Sub-${item.id}-${index}`) }));
7871
- const childRows = /* @__PURE__ */ jsxs32(SubTableStyle, { children: [
7785
+ const childRows = /* @__PURE__ */ jsxs31(SubTableStyle, { children: [
7872
7786
  /* @__PURE__ */ jsx47("thead", { children: /* @__PURE__ */ jsx47("tr", { children: SubDataHeaders }) }),
7873
7787
  /* @__PURE__ */ jsx47("tbody", { children: subDataRows })
7874
7788
  ] });
7875
- const rows = !data?.length ? /* @__PURE__ */ jsx47("tr", { children: /* @__PURE__ */ jsx47("td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : data?.map((item, index) => /* @__PURE__ */ jsxs32(Fragment16, { children: [
7876
- /* @__PURE__ */ jsxs32(PrimaryTrRows, { $index: index, children: [
7877
- /* @__PURE__ */ jsx47(DropdownButton, { onClick: () => toggleDropdown(index), children: isAscending && isOpen && primaryRowIndex === index ? /* @__PURE__ */ jsx47(Fragment16, { children: "\u2227" }) : /* @__PURE__ */ jsx47(Fragment16, { children: "\u2228" }) }),
7789
+ const rows = !data?.length ? /* @__PURE__ */ jsx47("tr", { children: /* @__PURE__ */ jsx47("td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : data?.map((item, index) => /* @__PURE__ */ jsxs31(Fragment15, { children: [
7790
+ /* @__PURE__ */ jsxs31(PrimaryTrRows, { $index: index, children: [
7791
+ /* @__PURE__ */ jsx47(DropdownButton, { onClick: () => toggleDropdown(index), children: isAscending && isOpen && primaryRowIndex === index ? /* @__PURE__ */ jsx47(Fragment15, { children: "\u2227" }) : /* @__PURE__ */ jsx47(Fragment15, { children: "\u2228" }) }),
7878
7792
  HeadColumns.map((column, index2) => {
7879
7793
  return /* @__PURE__ */ jsx47(PrimaryTdSpan, { children: /* @__PURE__ */ jsx47("span", { title: `spanRow-${item.id}-${column.key}-${index2}`, children: item[column.key] }) }, `${item.id}-${index}=${index2}`);
7880
7794
  })
7881
7795
  ] }, index),
7882
7796
  isOpen && primaryRowIndex === index && /* @__PURE__ */ jsx47(SubTrRows, { $index: index, children: /* @__PURE__ */ jsx47("td", { colSpan: HeadColumns.length + 1, children: childRows }) }, index)
7883
7797
  ] }));
7884
- return /* @__PURE__ */ jsx47("div", { id, children: /* @__PURE__ */ jsxs32(TableStyle, { children: [
7885
- /* @__PURE__ */ jsx47("thead", { children: /* @__PURE__ */ jsxs32("tr", { children: [
7798
+ return /* @__PURE__ */ jsx47("div", { id, children: /* @__PURE__ */ jsxs31(TableStyle, { children: [
7799
+ /* @__PURE__ */ jsx47("thead", { children: /* @__PURE__ */ jsxs31("tr", { children: [
7886
7800
  /* @__PURE__ */ jsx47("th", { title: "dropdownth" }),
7887
7801
  headers
7888
7802
  ] }) }),
@@ -7892,20 +7806,20 @@ var NestedDataTable = ({ data, columns, id }) => {
7892
7806
  NestedDataTable.displayName = "NestedDataTable";
7893
7807
 
7894
7808
  // src/components/AutoComplete/WavelengthAutoComplete.tsx
7895
- import { useEffect as useEffect14, useRef as useRef14, useState as useState12 } from "react";
7896
- import styled13 from "styled-components";
7897
- import { Fragment as Fragment17, jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
7898
- var AutoContainer = styled13.div`
7809
+ import { useEffect as useEffect15, useRef as useRef15, useState as useState12 } from "react";
7810
+ import styled12 from "styled-components";
7811
+ import { Fragment as Fragment16, jsx as jsx48, jsxs as jsxs32 } from "react/jsx-runtime";
7812
+ var AutoContainer = styled12.div`
7899
7813
  //position: relative;
7900
7814
  position: relative;
7901
7815
  width: ${(props) => props.$inputWidth || "320px"};
7902
7816
  height: ${(props) => props.$inputHeight || "51px"};
7903
7817
  `;
7904
- var InputWrapper = styled13.div`
7818
+ var InputWrapper = styled12.div`
7905
7819
  width: 100%;
7906
7820
  height: 100%;
7907
7821
  `;
7908
- var Label = styled13.label`
7822
+ var Label = styled12.label`
7909
7823
  position: absolute;
7910
7824
  top: 50%;
7911
7825
  left: 10px;
@@ -7917,7 +7831,7 @@ var Label = styled13.label`
7917
7831
  padding: 0 5px;
7918
7832
  background-color: transparent;
7919
7833
  `;
7920
- var Input = styled13.input`
7834
+ var Input = styled12.input`
7921
7835
  width: 100%; //this must be 100%, as width inherit inherits the literal expression, not the value
7922
7836
  height: 100%;
7923
7837
  padding: 0.5rem 0.75rem;
@@ -7959,7 +7873,7 @@ var Input = styled13.input`
7959
7873
  color: ${(props) => props.$defaultLabelColor || "#ccc"};
7960
7874
  }
7961
7875
  `;
7962
- var DropDownList = styled13.ul`
7876
+ var DropDownList = styled12.ul`
7963
7877
  position: absolute;
7964
7878
  z-index: 5;
7965
7879
  width: 100%;
@@ -7973,7 +7887,7 @@ var DropDownList = styled13.ul`
7973
7887
  overflow: scroll; //necessary for limiting scroll options
7974
7888
  max-height: 390px; //necessary for limiting scroll options, limit to 10 per view
7975
7889
  `;
7976
- var ActiveListItem = styled13.li`
7890
+ var ActiveListItem = styled12.li`
7977
7891
  position: relative;
7978
7892
  width: 100%;
7979
7893
  z-index: 9999;
@@ -7990,7 +7904,7 @@ var ActiveListItem = styled13.li`
7990
7904
  background-color: #d8d8d8;
7991
7905
  }
7992
7906
  `;
7993
- var NoHoverListItem = styled13.li`
7907
+ var NoHoverListItem = styled12.li`
7994
7908
  position: relative;
7995
7909
  z-index: 9999;
7996
7910
  padding: 10px;
@@ -8023,9 +7937,9 @@ var WavelengthAutoComplete = ({
8023
7937
  placeholder,
8024
7938
  onBlurCallback
8025
7939
  }) => {
8026
- const inputRef = useRef14(null);
8027
- const listRef = useRef14(null);
8028
- const noItemListRef = useRef14(null);
7940
+ const inputRef = useRef15(null);
7941
+ const listRef = useRef15(null);
7942
+ const noItemListRef = useRef15(null);
8029
7943
  const [inputValue, setInputValue] = useState12(placeholder ?? "");
8030
7944
  const [suggestions, setSuggestions] = useState12([]);
8031
7945
  const [isDropdownVisible, setIsDropdownVisible] = useState12(false);
@@ -8033,7 +7947,7 @@ var WavelengthAutoComplete = ({
8033
7947
  const arrayLength = suggestions.length;
8034
7948
  const [focusedIndex, setFocusedIndex] = useState12(0);
8035
7949
  const idName = id ? id : "auto-comp";
8036
- useEffect14(() => {
7950
+ useEffect15(() => {
8037
7951
  const handleClickOutsideList = (event) => {
8038
7952
  if (listRef.current && !listRef.current.contains(event.target)) {
8039
7953
  setIsDropdownVisible(false);
@@ -8045,7 +7959,7 @@ var WavelengthAutoComplete = ({
8045
7959
  };
8046
7960
  }, [focusedIndex]);
8047
7961
  if (onDataChange !== void 0) {
8048
- useEffect14(() => {
7962
+ useEffect15(() => {
8049
7963
  onDataChange(inputValue);
8050
7964
  }, [inputValue]);
8051
7965
  }
@@ -8111,8 +8025,8 @@ var WavelengthAutoComplete = ({
8111
8025
  break;
8112
8026
  }
8113
8027
  };
8114
- return /* @__PURE__ */ jsx48(Fragment17, { children: /* @__PURE__ */ jsxs33(AutoContainer, { $inputHeight: height2, $inputWidth: width2, children: [
8115
- /* @__PURE__ */ jsxs33(InputWrapper, { id: `${idName}-input-wrapper`, $inputHeight: height2, $inputWidth: width2, children: [
8028
+ return /* @__PURE__ */ jsx48(Fragment16, { children: /* @__PURE__ */ jsxs32(AutoContainer, { $inputHeight: height2, $inputWidth: width2, children: [
8029
+ /* @__PURE__ */ jsxs32(InputWrapper, { id: `${idName}-input-wrapper`, $inputHeight: height2, $inputWidth: width2, children: [
8116
8030
  /* @__PURE__ */ jsx48(
8117
8031
  Input,
8118
8032
  {
@@ -8165,10 +8079,10 @@ var WavelengthAutoComplete = ({
8165
8079
  WavelengthAutoComplete.displayName = "WavelengthAutoComplete";
8166
8080
 
8167
8081
  // src/components/inputs/WavelengthDatePicker.tsx
8168
- import { useEffect as useEffect15, useState as useState13 } from "react";
8169
- import styled14 from "styled-components";
8170
- import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
8171
- var Label2 = styled14.label`
8082
+ import { useEffect as useEffect16, useState as useState13 } from "react";
8083
+ import styled13 from "styled-components";
8084
+ import { jsx as jsx49, jsxs as jsxs33 } from "react/jsx-runtime";
8085
+ var Label2 = styled13.label`
8172
8086
  position: absolute;
8173
8087
  top: 50%;
8174
8088
  left: 10px;
@@ -8180,7 +8094,7 @@ var Label2 = styled14.label`
8180
8094
  padding: 0 5px;
8181
8095
  background-color: transparent;
8182
8096
  `;
8183
- var InputWrapper2 = styled14.div`
8097
+ var InputWrapper2 = styled13.div`
8184
8098
  position: relative;
8185
8099
  width: ${(props) => props.$inputWidth || "320px"};
8186
8100
  height: ${(props) => props.$inputHeight || "51px"};
@@ -8239,7 +8153,7 @@ var WavelengthDatePicker = ({
8239
8153
  const [minAdjusted, setMinAdjusted] = useState13("");
8240
8154
  const [maxAdjusted, setMaxAdjusted] = useState13("");
8241
8155
  const idName = id ? id : "WlDatePick";
8242
- useEffect15(() => {
8156
+ useEffect16(() => {
8243
8157
  const minDate = new Date(min || "");
8244
8158
  const maxDate = new Date(max || "");
8245
8159
  if (inputTimeType === "datetime-local") {
@@ -8278,7 +8192,7 @@ var WavelengthDatePicker = ({
8278
8192
  setValue(dateString);
8279
8193
  if (OnDataChange !== void 0) OnDataChange(new Date(dateString));
8280
8194
  };
8281
- return /* @__PURE__ */ jsxs34(
8195
+ return /* @__PURE__ */ jsxs33(
8282
8196
  InputWrapper2,
8283
8197
  {
8284
8198
  id: `${idName}-inputWrapper`,
@@ -8322,7 +8236,7 @@ WavelengthDatePicker.displayName = "WavelengthDatePicker";
8322
8236
  import { WavelengthDatePicker as WavelengthDatePicker2 } from "@wavelengthusaf/web-components";
8323
8237
 
8324
8238
  // src/components/inputs/WavelengthCheckbox.tsx
8325
- import { useRef as useRef15, useEffect as useEffect16 } from "react";
8239
+ import { useRef as useRef16, useEffect as useEffect17 } from "react";
8326
8240
  import "@wavelengthusaf/web-components";
8327
8241
  import { jsx as jsx50 } from "react/jsx-runtime";
8328
8242
  var WavelengthCheckbox = ({
@@ -8334,8 +8248,8 @@ var WavelengthCheckbox = ({
8334
8248
  textSize,
8335
8249
  ...rest
8336
8250
  }) => {
8337
- const ref = useRef15(null);
8338
- useEffect16(() => {
8251
+ const ref = useRef16(null);
8252
+ useEffect17(() => {
8339
8253
  const el = ref.current;
8340
8254
  if (!el) return;
8341
8255
  if (size !== void 0) {
@@ -8364,7 +8278,7 @@ var WavelengthCheckbox = ({
8364
8278
  WavelengthCheckbox.displayName = "WavelengthCheckbox";
8365
8279
 
8366
8280
  // src/components/samples/SampleComponent.tsx
8367
- import { useRef as useRef16, useEffect as useEffect17 } from "react";
8281
+ import { useRef as useRef17, useEffect as useEffect18 } from "react";
8368
8282
  import { jsx as jsx51 } from "react/jsx-runtime";
8369
8283
  var SampleComponent = ({
8370
8284
  testProp,
@@ -8374,8 +8288,8 @@ var SampleComponent = ({
8374
8288
  ...rest
8375
8289
  // This rest operator includes className, style, onClick, etc.
8376
8290
  }) => {
8377
- const ref = useRef16(null);
8378
- useEffect17(() => {
8291
+ const ref = useRef17(null);
8292
+ useEffect18(() => {
8379
8293
  const el = ref.current;
8380
8294
  if (!el) return;
8381
8295
  el.customStyles = customStyle2;
@@ -8388,7 +8302,7 @@ var SampleComponent = ({
8388
8302
  SampleComponent.displayName = "SampleComponent";
8389
8303
 
8390
8304
  // src/components/NotificationPanel/WavelengthNotificationPanel.tsx
8391
- import { useRef as useRef17, useEffect as useEffect18 } from "react";
8305
+ import { useRef as useRef18, useEffect as useEffect19 } from "react";
8392
8306
  import "@wavelengthusaf/web-components";
8393
8307
  import { jsx as jsx52 } from "react/jsx-runtime";
8394
8308
  var WavelengthNotificationPanel = ({
@@ -8399,8 +8313,8 @@ var WavelengthNotificationPanel = ({
8399
8313
  ...rest
8400
8314
  // This rest operator includes className, style, onClick, etc.
8401
8315
  }) => {
8402
- const ref = useRef17(null);
8403
- useEffect18(() => {
8316
+ const ref = useRef18(null);
8317
+ useEffect19(() => {
8404
8318
  const el = ref.current;
8405
8319
  if (!el) return;
8406
8320
  if (notifications !== void 0) {
@@ -8426,11 +8340,11 @@ var WavelengthNotificationPanel = ({
8426
8340
  import { SampleComponent as SampleComponent2 } from "@wavelengthusaf/web-components";
8427
8341
 
8428
8342
  // src/components/MultiSelect/WavelengthMultiSelectAutocomplete.tsx
8429
- import { useEffect as useEffect19, useRef as useRef18 } from "react";
8343
+ import { useEffect as useEffect20, useRef as useRef19 } from "react";
8430
8344
  import { jsx as jsx53 } from "react/jsx-runtime";
8431
- var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, ...rest }) => {
8432
- const componentRef = useRef18(null);
8433
- useEffect19(() => {
8345
+ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, disabled, ...rest }) => {
8346
+ const componentRef = useRef19(null);
8347
+ useEffect20(() => {
8434
8348
  const component = componentRef.current;
8435
8349
  if (!component) return;
8436
8350
  const handleValueChange = (event) => {
@@ -8443,16 +8357,17 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8443
8357
  component.removeEventListener("change", handleValueChange);
8444
8358
  };
8445
8359
  }, [onChange]);
8446
- useEffect19(() => {
8360
+ useEffect20(() => {
8447
8361
  const component = componentRef.current;
8448
8362
  if (!component) return;
8449
8363
  if (placeholder) component.setAttribute("placeholder", placeholder);
8450
8364
  if (label) component.setAttribute("label", label);
8451
8365
  if (name) component.setAttribute("name", name);
8366
+ if (disabled) component.setAttribute("disabled", disabled ? "true" : "false");
8452
8367
  if (options) component.autocompleteOptions = options;
8453
8368
  if (style3) component.customStyles = style3;
8454
8369
  }, [options, placeholder, name, label, style3]);
8455
- useEffect19(() => {
8370
+ useEffect20(() => {
8456
8371
  const component = componentRef.current;
8457
8372
  if (component && value) {
8458
8373
  component.value = value;