@wavelengthusaf/components 4.5.2 → 4.6.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.
@@ -5866,44 +5866,32 @@ WavelengthDefaultIcon.displayName = "WavelengthDefaultIcon";
5866
5866
  // src/components/CSFD/WavelengthManyPlanes.tsx
5867
5867
 
5868
5868
 
5869
- function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false, id }) {
5870
- let direction = "row-reverse";
5871
- let flippy = "";
5872
- const palette2 = getPalette();
5873
- const colorish = color2 ? color2 : palette2.primary;
5874
- if (trailDir !== "right") {
5875
- direction = "row";
5876
- flippy = "rotate(180)";
5877
- }
5878
- const PlaneGrid = ({ opacity: opacity2 }) => {
5879
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Grid2.default, { item: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: "40", height: "40", viewBox: "0 0 40 40", transform: flippy, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5880
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "mask", { id: "mask0_56_851", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "40", height: "40", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "40", width: "40", height: "40", transform: "rotate(90 40 0)", fill: "#D9D9D9" }) }),
5881
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "g", { mask: "url(#mask0_56_851)", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5882
- "path",
5883
- {
5884
- d: "M4.16662 14.8988L5.76079 14.8988L8.16454 18.1359L18.2616 18.1359L14.1291 4.16669L16.2425 4.16669L24.5075 18.1359L33.985 18.1359C34.5022 18.1359 34.9422 18.3172 35.305 18.68C35.6677 19.0428 35.8491 19.4828 35.8491 20C35.8491 20.5172 35.6677 20.9572 35.305 21.32C34.9422 21.6828 34.5022 21.8642 33.985 21.8642L24.5075 21.8642L16.2425 35.8334L14.1291 35.8334L18.2616 21.8642L8.19662 21.8642L5.76079 25.1013L4.16662 25.1013L5.64329 20L4.16662 14.8988Z",
5885
- fillOpacity: opacity2,
5886
- fill: colorish
5887
- }
5888
- ) })
5889
- ] }) });
5890
- };
5891
- const PlaneGridWrapper = (size, baseOpacity) => {
5892
- const planes = [];
5893
- if (gradient) {
5894
- for (let i = 0; i < size; i++) {
5895
- const currentOpacity = baseOpacity - i / (size - 1) * (baseOpacity - 0.05);
5896
- planes.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlaneGrid, { opacity: currentOpacity }, i));
5897
- }
5898
- } else {
5899
- for (let i = 0; i < size; i++) {
5900
- planes.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlaneGrid, { opacity: baseOpacity }, i));
5901
- }
5869
+ var WavelengthManyPlanes = ({ children, numberOfPlanes, trailDir, opacity, color: color2, gradient, spaced, ...rest }) => {
5870
+ const ref = _react.useRef.call(void 0, null);
5871
+ _react.useEffect.call(void 0, () => {
5872
+ const el = ref.current;
5873
+ if (!el) return;
5874
+ if (numberOfPlanes !== void 0) {
5875
+ el.setAttribute("number-of-planes", numberOfPlanes);
5902
5876
  }
5903
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Grid2.default, { container: true, alignItems: "center", flexDirection: direction, spacing: 3, id, children: planes });
5904
- };
5905
- return PlaneGridWrapper(numberOfPlanes, opacity);
5906
- }
5877
+ if (trailDir !== void 0) {
5878
+ el.setAttribute("trail-dir", trailDir);
5879
+ }
5880
+ if (opacity !== void 0) {
5881
+ el.setAttribute("opacity", opacity);
5882
+ }
5883
+ if (color2 !== void 0) {
5884
+ el.setAttribute("color", color2);
5885
+ }
5886
+ if (gradient !== void 0) {
5887
+ el.setAttribute("gradient", gradient);
5888
+ }
5889
+ if (spaced !== void 0) {
5890
+ el.setAttribute("spaced", spaced);
5891
+ }
5892
+ }, [numberOfPlanes, trailDir, opacity, color2, gradient, spaced]);
5893
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-manyplanes", { ref, trailDir, opacity, color: color2, gradient, spaced, ...rest, children });
5894
+ };
5907
5895
  WavelengthManyPlanes.displayName = "WavelengthManyPlanes";
5908
5896
 
5909
5897
  // src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
@@ -6140,7 +6128,29 @@ WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
6140
6128
 
6141
6129
 
6142
6130
  var WavelengthDropdown = _react.forwardRef.call(void 0, (props, ref) => {
6143
- const { options, defaultValue, value, fontSize, fontFamily, borderRadius: borderRadius2, width: width2, height: height2, textColor, arrowSize, popupRadius, popupAlign, popupSelectedColor, onChange, ...rest } = props;
6131
+ const {
6132
+ options,
6133
+ defaultValue,
6134
+ value,
6135
+ fontSize,
6136
+ fontFamily,
6137
+ borderColor: borderColor2,
6138
+ borderRadius: borderRadius2,
6139
+ width: width2,
6140
+ height: height2,
6141
+ textColor,
6142
+ arrowSize,
6143
+ arrowColor,
6144
+ popupRadius,
6145
+ popupAlign,
6146
+ popupSelectedColor,
6147
+ popupBackgroundColor,
6148
+ popupTextColor,
6149
+ popupTextAlign,
6150
+ popupHoverBackground,
6151
+ onChange,
6152
+ ...rest
6153
+ } = props;
6144
6154
  const elementRef = _react.useRef.call(void 0, null);
6145
6155
  _react.useImperativeHandle.call(void 0, ref, () => elementRef.current);
6146
6156
  _react.useEffect.call(void 0, () => {
@@ -6166,14 +6176,20 @@ var WavelengthDropdown = _react.forwardRef.call(void 0, (props, ref) => {
6166
6176
  defaultValue,
6167
6177
  "font-size": fontSize,
6168
6178
  "font-family": fontFamily,
6179
+ "border-color": borderColor2,
6169
6180
  "border-radius": borderRadius2,
6170
6181
  width: width2,
6171
6182
  height: height2,
6172
6183
  color: textColor,
6173
6184
  "arrow-size": arrowSize,
6185
+ "arrow-color": arrowColor,
6174
6186
  "popup-radius": popupRadius,
6175
6187
  "popup-align": popupAlign,
6176
6188
  "popup-selected-color": popupSelectedColor,
6189
+ "popup-background-color": popupBackgroundColor,
6190
+ "popup-text-color": popupTextColor,
6191
+ "popup-text-align": popupTextAlign,
6192
+ "popup-hover-background": popupHoverBackground,
6177
6193
  ...rest
6178
6194
  }
6179
6195
  );
@@ -591,18 +591,15 @@ declare namespace WavelengthDefaultIcon {
591
591
  var displayName: string;
592
592
  }
593
593
 
594
- interface HeaderProps {
595
- numberOfPlanes?: number;
596
- trailDir?: "right" | "left";
594
+ interface WavelengthManyPlanesProps extends React__default.HTMLAttributes<HTMLElement> {
595
+ numberOfPlanes?: string;
596
+ trailDir?: string;
597
+ opacity?: string;
597
598
  color?: string;
598
- opacity?: number;
599
- gradient?: boolean;
600
- id?: string;
601
- }
602
- declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient, id }: HeaderProps): react_jsx_runtime.JSX.Element;
603
- declare namespace WavelengthManyPlanes {
604
- var displayName: string;
599
+ gradient?: string;
600
+ spaced?: string;
605
601
  }
602
+ declare const WavelengthManyPlanes: React__default.FC<WavelengthManyPlanesProps>;
606
603
 
607
604
  type StyleProp = {
608
605
  [selector: string]: any;
@@ -686,13 +683,19 @@ interface WavelengthDropdownProps extends React.HTMLAttributes<HTMLElement> {
686
683
  textColor?: string;
687
684
  fontSize?: string;
688
685
  fontFamily?: string;
686
+ borderColor?: string;
689
687
  borderRadius?: string;
690
688
  width?: string;
691
689
  height?: string;
692
690
  arrowSize?: string;
691
+ arrowColor?: string;
693
692
  popupRadius?: string;
694
693
  popupAlign?: "left" | "center" | "right";
695
694
  popupSelectedColor?: string;
695
+ popupBackgroundColor?: string;
696
+ popupTextColor?: string;
697
+ popupTextAlign?: string;
698
+ popupHoverBackground?: string;
696
699
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
697
700
  }
698
701
  declare const WavelengthDropdown: React$1.ForwardRefExoticComponent<WavelengthDropdownProps & React$1.RefAttributes<HTMLElement>>;
@@ -591,18 +591,15 @@ declare namespace WavelengthDefaultIcon {
591
591
  var displayName: string;
592
592
  }
593
593
 
594
- interface HeaderProps {
595
- numberOfPlanes?: number;
596
- trailDir?: "right" | "left";
594
+ interface WavelengthManyPlanesProps extends React__default.HTMLAttributes<HTMLElement> {
595
+ numberOfPlanes?: string;
596
+ trailDir?: string;
597
+ opacity?: string;
597
598
  color?: string;
598
- opacity?: number;
599
- gradient?: boolean;
600
- id?: string;
601
- }
602
- declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient, id }: HeaderProps): react_jsx_runtime.JSX.Element;
603
- declare namespace WavelengthManyPlanes {
604
- var displayName: string;
599
+ gradient?: string;
600
+ spaced?: string;
605
601
  }
602
+ declare const WavelengthManyPlanes: React__default.FC<WavelengthManyPlanesProps>;
606
603
 
607
604
  type StyleProp = {
608
605
  [selector: string]: any;
@@ -686,13 +683,19 @@ interface WavelengthDropdownProps extends React.HTMLAttributes<HTMLElement> {
686
683
  textColor?: string;
687
684
  fontSize?: string;
688
685
  fontFamily?: string;
686
+ borderColor?: string;
689
687
  borderRadius?: string;
690
688
  width?: string;
691
689
  height?: string;
692
690
  arrowSize?: string;
691
+ arrowColor?: string;
693
692
  popupRadius?: string;
694
693
  popupAlign?: "left" | "center" | "right";
695
694
  popupSelectedColor?: string;
695
+ popupBackgroundColor?: string;
696
+ popupTextColor?: string;
697
+ popupTextAlign?: string;
698
+ popupHoverBackground?: string;
696
699
  onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
697
700
  }
698
701
  declare const WavelengthDropdown: React$1.ForwardRefExoticComponent<WavelengthDropdownProps & React$1.RefAttributes<HTMLElement>>;
package/dist/esm/index.js CHANGED
@@ -5864,50 +5864,38 @@ function WavelengthDefaultIcon({ width: width2 = "180", height: height2 = 140, i
5864
5864
  WavelengthDefaultIcon.displayName = "WavelengthDefaultIcon";
5865
5865
 
5866
5866
  // src/components/CSFD/WavelengthManyPlanes.tsx
5867
- import Grid3 from "@mui/material/Grid";
5868
- import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
5869
- function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false, id }) {
5870
- let direction = "row-reverse";
5871
- let flippy = "";
5872
- const palette2 = getPalette();
5873
- const colorish = color2 ? color2 : palette2.primary;
5874
- if (trailDir !== "right") {
5875
- direction = "row";
5876
- flippy = "rotate(180)";
5877
- }
5878
- const PlaneGrid = ({ opacity: opacity2 }) => {
5879
- return /* @__PURE__ */ jsx29(Grid3, { item: true, children: /* @__PURE__ */ jsxs17("svg", { width: "40", height: "40", viewBox: "0 0 40 40", transform: flippy, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5880
- /* @__PURE__ */ jsx29("mask", { id: "mask0_56_851", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "40", height: "40", children: /* @__PURE__ */ jsx29("rect", { x: "40", width: "40", height: "40", transform: "rotate(90 40 0)", fill: "#D9D9D9" }) }),
5881
- /* @__PURE__ */ jsx29("g", { mask: "url(#mask0_56_851)", children: /* @__PURE__ */ jsx29(
5882
- "path",
5883
- {
5884
- d: "M4.16662 14.8988L5.76079 14.8988L8.16454 18.1359L18.2616 18.1359L14.1291 4.16669L16.2425 4.16669L24.5075 18.1359L33.985 18.1359C34.5022 18.1359 34.9422 18.3172 35.305 18.68C35.6677 19.0428 35.8491 19.4828 35.8491 20C35.8491 20.5172 35.6677 20.9572 35.305 21.32C34.9422 21.6828 34.5022 21.8642 33.985 21.8642L24.5075 21.8642L16.2425 35.8334L14.1291 35.8334L18.2616 21.8642L8.19662 21.8642L5.76079 25.1013L4.16662 25.1013L5.64329 20L4.16662 14.8988Z",
5885
- fillOpacity: opacity2,
5886
- fill: colorish
5887
- }
5888
- ) })
5889
- ] }) });
5890
- };
5891
- const PlaneGridWrapper = (size, baseOpacity) => {
5892
- const planes = [];
5893
- if (gradient) {
5894
- for (let i = 0; i < size; i++) {
5895
- const currentOpacity = baseOpacity - i / (size - 1) * (baseOpacity - 0.05);
5896
- planes.push(/* @__PURE__ */ jsx29(PlaneGrid, { opacity: currentOpacity }, i));
5897
- }
5898
- } else {
5899
- for (let i = 0; i < size; i++) {
5900
- planes.push(/* @__PURE__ */ jsx29(PlaneGrid, { opacity: baseOpacity }, i));
5901
- }
5867
+ import { useRef as useRef10, useEffect as useEffect9 } from "react";
5868
+ import { jsx as jsx29 } from "react/jsx-runtime";
5869
+ var WavelengthManyPlanes = ({ children, numberOfPlanes, trailDir, opacity, color: color2, gradient, spaced, ...rest }) => {
5870
+ const ref = useRef10(null);
5871
+ useEffect9(() => {
5872
+ const el = ref.current;
5873
+ if (!el) return;
5874
+ if (numberOfPlanes !== void 0) {
5875
+ el.setAttribute("number-of-planes", numberOfPlanes);
5902
5876
  }
5903
- return /* @__PURE__ */ jsx29(Grid3, { container: true, alignItems: "center", flexDirection: direction, spacing: 3, id, children: planes });
5904
- };
5905
- return PlaneGridWrapper(numberOfPlanes, opacity);
5906
- }
5877
+ if (trailDir !== void 0) {
5878
+ el.setAttribute("trail-dir", trailDir);
5879
+ }
5880
+ if (opacity !== void 0) {
5881
+ el.setAttribute("opacity", opacity);
5882
+ }
5883
+ if (color2 !== void 0) {
5884
+ el.setAttribute("color", color2);
5885
+ }
5886
+ if (gradient !== void 0) {
5887
+ el.setAttribute("gradient", gradient);
5888
+ }
5889
+ if (spaced !== void 0) {
5890
+ el.setAttribute("spaced", spaced);
5891
+ }
5892
+ }, [numberOfPlanes, trailDir, opacity, color2, gradient, spaced]);
5893
+ return /* @__PURE__ */ jsx29("wavelength-manyplanes", { ref, trailDir, opacity, color: color2, gradient, spaced, ...rest, children });
5894
+ };
5907
5895
  WavelengthManyPlanes.displayName = "WavelengthManyPlanes";
5908
5896
 
5909
5897
  // src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
5910
- import { useRef as useRef10, useEffect as useEffect9 } from "react";
5898
+ import { useRef as useRef11, useEffect as useEffect10 } from "react";
5911
5899
  import "@wavelengthusaf/web-components";
5912
5900
  import { jsx as jsx30 } from "react/jsx-runtime";
5913
5901
  var WavelengthPlaneTrail = ({
@@ -5920,8 +5908,8 @@ var WavelengthPlaneTrail = ({
5920
5908
  ...rest
5921
5909
  // This rest operator includes className, style, onClick, etc.
5922
5910
  }) => {
5923
- const ref = useRef10(null);
5924
- useEffect9(() => {
5911
+ const ref = useRef11(null);
5912
+ useEffect10(() => {
5925
5913
  const el = ref.current;
5926
5914
  if (!el) return;
5927
5915
  if (customStyle2 !== void 0) {
@@ -5943,13 +5931,13 @@ WavelengthPlaneTrail.displayName = "WavelengthPlaneTrail";
5943
5931
 
5944
5932
  // src/components/modals/WavelengthConfirmationModal.tsx
5945
5933
  import { Modal, Box as Box2 } from "@mui/material";
5946
- import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
5934
+ import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
5947
5935
  function WavelengthConfirmationModal(props) {
5948
5936
  const { show, setShow, id, name } = props;
5949
5937
  const handleClose = () => {
5950
5938
  setShow(false);
5951
5939
  };
5952
- return /* @__PURE__ */ jsx31(Modal, { open: show, onClose: handleClose, children: /* @__PURE__ */ jsxs18(
5940
+ return /* @__PURE__ */ jsx31(Modal, { open: show, onClose: handleClose, children: /* @__PURE__ */ jsxs17(
5953
5941
  Box2,
5954
5942
  {
5955
5943
  sx: {
@@ -5972,7 +5960,7 @@ function WavelengthConfirmationModal(props) {
5972
5960
  children: [
5973
5961
  /* @__PURE__ */ jsx31("p", { style: { margin: "0px", fontSize: "28px", fontWeight: 500, padding: "0px", marginBottom: "16px", fontFamily: props.fontFamily }, children: props.textObj?.title }),
5974
5962
  /* @__PURE__ */ jsx31("p", { style: { margin: "0px", fontSize: "16px", lineHeight: "19.2px", fontFamily: props.fontFamily, fontWeight: 400, height: "60px" }, children: props.textObj?.dialog }),
5975
- /* @__PURE__ */ jsxs18("div", { style: { display: "flex", flexDirection: "row", justifyContent: "flex-end", marginTop: "40px", gap: "8px" }, children: [
5963
+ /* @__PURE__ */ jsxs17("div", { style: { display: "flex", flexDirection: "row", justifyContent: "flex-end", marginTop: "40px", gap: "8px" }, children: [
5976
5964
  props.cancelButton,
5977
5965
  props.submitButton
5978
5966
  ] })
@@ -5985,14 +5973,14 @@ WavelengthConfirmationModal.displayName = "WavelengthConfirmationModal";
5985
5973
  // src/components/modals/WavelengthContentModal.tsx
5986
5974
  import { Button as Button3, Dialog, DialogActions, DialogTitle, DialogContent, Typography as Typography3, IconButton as IconButton4, Box as Box3 } from "@mui/material";
5987
5975
  import CloseIcon from "@mui/icons-material/Close";
5988
- import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
5976
+ import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
5989
5977
  function WavelengthContentModal(props) {
5990
5978
  const { show, setShow, handleContentModalOnConfirmProp } = props;
5991
5979
  const handleClose = () => {
5992
5980
  setShow(false);
5993
5981
  };
5994
- return /* @__PURE__ */ jsxs19(Dialog, { "data-testid": "testId-WavelengthContentModal", open: show, onClose: handleClose, "aria-labelledby": "alert-dialog-title", "aria-describedby": "alert-dialog-description", id: props.id, children: [
5995
- /* @__PURE__ */ jsx32(DialogTitle, { alignContent: `center`, id: "alert-dialog-title", children: /* @__PURE__ */ jsxs19(Box3, { display: "flex", alignItems: "center", children: [
5982
+ return /* @__PURE__ */ jsxs18(Dialog, { "data-testid": "testId-WavelengthContentModal", open: show, onClose: handleClose, "aria-labelledby": "alert-dialog-title", "aria-describedby": "alert-dialog-description", id: props.id, children: [
5983
+ /* @__PURE__ */ jsx32(DialogTitle, { alignContent: `center`, id: "alert-dialog-title", children: /* @__PURE__ */ jsxs18(Box3, { display: "flex", alignItems: "center", children: [
5996
5984
  /* @__PURE__ */ jsx32(Box3, { flexGrow: 1, children: props.textObj?.title }),
5997
5985
  /* @__PURE__ */ jsx32(Box3, { children: /* @__PURE__ */ jsx32(IconButton4, { onClick: handleClose, children: /* @__PURE__ */ jsx32(CloseIcon, {}) }) })
5998
5986
  ] }) }),
@@ -6003,7 +5991,7 @@ function WavelengthContentModal(props) {
6003
5991
  WavelengthContentModal.displayName = "WavelengthContentModal";
6004
5992
 
6005
5993
  // src/components/modals/WavelengthPopUpMenu.tsx
6006
- import React12 from "react";
5994
+ import React13 from "react";
6007
5995
  import Menu from "@mui/material/Menu";
6008
5996
  import MenuItem from "@mui/material/MenuItem";
6009
5997
  import Box4 from "@mui/material/Box";
@@ -6012,7 +6000,7 @@ import { HelpOutline } from "@mui/icons-material";
6012
6000
  import styled6 from "styled-components";
6013
6001
  import IconButton5 from "@mui/material/IconButton";
6014
6002
  import Divider from "@mui/material/Divider";
6015
- import { Fragment as Fragment11, jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
6003
+ import { Fragment as Fragment11, jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
6016
6004
  var customStyle = { marginLeft: 16, marginRight: 16, marginTop: 8, marginBottom: 8 };
6017
6005
  var emailStyle = {
6018
6006
  marginLeft: 16,
@@ -6033,7 +6021,7 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6033
6021
  color: ${({ hoverColor }) => hoverColor || "inherit"};
6034
6022
  }
6035
6023
  `;
6036
- const [anchorEl, setAnchorEl] = React12.useState(null);
6024
+ const [anchorEl, setAnchorEl] = React13.useState(null);
6037
6025
  const open = Boolean(anchorEl);
6038
6026
  let icon;
6039
6027
  const handleClick = (event) => {
@@ -6049,9 +6037,9 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6049
6037
  }
6050
6038
  const anchor = menuDirection === "top" || menuDirection === void 0 ? "top" : "bottom";
6051
6039
  const transform = menuDirection === "top" || menuDirection === void 0 ? "bottom" : "top";
6052
- return /* @__PURE__ */ jsxs20(Fragment11, { children: [
6040
+ return /* @__PURE__ */ jsxs19(Fragment11, { children: [
6053
6041
  /* @__PURE__ */ jsx33(IconButton5, { onClick: handleClick, children: icon }),
6054
- /* @__PURE__ */ jsxs20(
6042
+ /* @__PURE__ */ jsxs19(
6055
6043
  Menu,
6056
6044
  {
6057
6045
  id,
@@ -6072,35 +6060,35 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6072
6060
  if (items.end === true) {
6073
6061
  if (items.itemType === "header") {
6074
6062
  if (items.link) {
6075
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6063
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6076
6064
  /* @__PURE__ */ jsx33(MenuItem, { children: /* @__PURE__ */ jsx33("a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: /* @__PURE__ */ jsx33("span", { style: { fontWeight: "bold" }, children: items.label }) }) }),
6077
6065
  /* @__PURE__ */ jsx33(Divider, {})
6078
6066
  ] }, index);
6079
6067
  } else {
6080
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6068
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6081
6069
  /* @__PURE__ */ jsx33("p", { style: { marginLeft: 16, marginRight: 16, marginTop: 6, marginBottom: 6 }, children: /* @__PURE__ */ jsx33("span", { style: { fontWeight: "bold" }, children: items.label }) }),
6082
6070
  /* @__PURE__ */ jsx33(Divider, {})
6083
6071
  ] }, index);
6084
6072
  }
6085
6073
  } else if (items.itemType === "link") {
6086
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6074
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6087
6075
  /* @__PURE__ */ jsx33(MenuItem, { children: /* @__PURE__ */ jsx33(Links, { href: items.link, hoverColor: items.hoverColor, children: items.label }, index) }),
6088
6076
  /* @__PURE__ */ jsx33(Divider, {})
6089
6077
  ] }, index);
6090
6078
  } else {
6091
6079
  if (items.link) {
6092
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6080
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6093
6081
  /* @__PURE__ */ jsx33(MenuItem, { children: /* @__PURE__ */ jsx33("a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: items.label }) }),
6094
6082
  /* @__PURE__ */ jsx33(Divider, {})
6095
6083
  ] }, index);
6096
6084
  } else {
6097
6085
  if (items.email) {
6098
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6086
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6099
6087
  /* @__PURE__ */ jsx33(Links, { href: items.email, style: emailStyle, children: items.label }),
6100
6088
  /* @__PURE__ */ jsx33(Divider, {})
6101
6089
  ] }, index);
6102
6090
  } else {
6103
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6091
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6104
6092
  /* @__PURE__ */ jsx33("p", { style: customStyle, children: items.label }),
6105
6093
  /* @__PURE__ */ jsx33(Divider, {})
6106
6094
  ] }, index);
@@ -6137,13 +6125,35 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6137
6125
  WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
6138
6126
 
6139
6127
  // src/components/modals/WavelengthDropdown.tsx
6140
- import { forwardRef, useEffect as useEffect10, useImperativeHandle as useImperativeHandle2, useRef as useRef11 } from "react";
6128
+ import { forwardRef, useEffect as useEffect11, useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
6141
6129
  import { jsx as jsx34 } from "react/jsx-runtime";
6142
6130
  var WavelengthDropdown = forwardRef((props, ref) => {
6143
- const { options, defaultValue, value, fontSize, fontFamily, borderRadius: borderRadius2, width: width2, height: height2, textColor, arrowSize, popupRadius, popupAlign, popupSelectedColor, onChange, ...rest } = props;
6144
- const elementRef = useRef11(null);
6131
+ const {
6132
+ options,
6133
+ defaultValue,
6134
+ value,
6135
+ fontSize,
6136
+ fontFamily,
6137
+ borderColor: borderColor2,
6138
+ borderRadius: borderRadius2,
6139
+ width: width2,
6140
+ height: height2,
6141
+ textColor,
6142
+ arrowSize,
6143
+ arrowColor,
6144
+ popupRadius,
6145
+ popupAlign,
6146
+ popupSelectedColor,
6147
+ popupBackgroundColor,
6148
+ popupTextColor,
6149
+ popupTextAlign,
6150
+ popupHoverBackground,
6151
+ onChange,
6152
+ ...rest
6153
+ } = props;
6154
+ const elementRef = useRef12(null);
6145
6155
  useImperativeHandle2(ref, () => elementRef.current);
6146
- useEffect10(() => {
6156
+ useEffect11(() => {
6147
6157
  const el = elementRef.current;
6148
6158
  if (!el || !onChange) return;
6149
6159
  const handler = (e) => {
@@ -6153,7 +6163,7 @@ var WavelengthDropdown = forwardRef((props, ref) => {
6153
6163
  el.addEventListener("change", handler);
6154
6164
  return () => el.removeEventListener("change", handler);
6155
6165
  }, [onChange]);
6156
- useEffect10(() => {
6166
+ useEffect11(() => {
6157
6167
  if (value !== void 0 && elementRef.current) {
6158
6168
  elementRef.current.value = value;
6159
6169
  }
@@ -6166,14 +6176,20 @@ var WavelengthDropdown = forwardRef((props, ref) => {
6166
6176
  defaultValue,
6167
6177
  "font-size": fontSize,
6168
6178
  "font-family": fontFamily,
6179
+ "border-color": borderColor2,
6169
6180
  "border-radius": borderRadius2,
6170
6181
  width: width2,
6171
6182
  height: height2,
6172
6183
  color: textColor,
6173
6184
  "arrow-size": arrowSize,
6185
+ "arrow-color": arrowColor,
6174
6186
  "popup-radius": popupRadius,
6175
6187
  "popup-align": popupAlign,
6176
6188
  "popup-selected-color": popupSelectedColor,
6189
+ "popup-background-color": popupBackgroundColor,
6190
+ "popup-text-color": popupTextColor,
6191
+ "popup-text-align": popupTextAlign,
6192
+ "popup-hover-background": popupHoverBackground,
6177
6193
  ...rest
6178
6194
  }
6179
6195
  );
@@ -6185,7 +6201,7 @@ import Snackbar from "@mui/material/Snackbar";
6185
6201
  import SnackbarContent from "@mui/material/SnackbarContent";
6186
6202
  import CloseIcon2 from "@mui/icons-material/Close";
6187
6203
  import { IconButton as IconButton6 } from "@mui/material";
6188
- import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
6204
+ import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
6189
6205
  function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor, textColor, horryAlign, vertyAlign, durationSb, width: width2, icon, id }) {
6190
6206
  const handleClose = () => {
6191
6207
  setShow(false);
@@ -6213,7 +6229,7 @@ function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor,
6213
6229
  display: "flex",
6214
6230
  width: width2
6215
6231
  },
6216
- message: /* @__PURE__ */ jsxs21("div", { children: [
6232
+ message: /* @__PURE__ */ jsxs20("div", { children: [
6217
6233
  /* @__PURE__ */ jsx35("span", { children: icon }),
6218
6234
  /* @__PURE__ */ jsx35("span", { id: "snackbar", children: message ? message : "Insert Message Here" })
6219
6235
  ] }),
@@ -6228,7 +6244,7 @@ WavelengthSnackbar.displayName = "WavelengthSnackbar";
6228
6244
  // src/components/snackbars/WavelengthStandardSnackbar.tsx
6229
6245
  import Snackbar2 from "@mui/material/Snackbar";
6230
6246
  import SnackbarContent2 from "@mui/material/SnackbarContent";
6231
- import { jsx as jsx36, jsxs as jsxs22 } from "react/jsx-runtime";
6247
+ import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
6232
6248
  function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width: width2, message, customVertyAlign, toggleShow, closeIcon, id }) {
6233
6249
  const handleClose = () => {
6234
6250
  toggleShow(false);
@@ -6264,7 +6280,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
6264
6280
  //color: props.textColor ? props.textColor : palette.secondary,
6265
6281
  },
6266
6282
  sx: { paddingTop: "0px", paddingBottom: "0px" },
6267
- message: /* @__PURE__ */ jsxs22(
6283
+ message: /* @__PURE__ */ jsxs21(
6268
6284
  "div",
6269
6285
  {
6270
6286
  style: {
@@ -6273,7 +6289,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
6273
6289
  width: width2
6274
6290
  },
6275
6291
  children: [
6276
- /* @__PURE__ */ jsxs22("div", { style: { gridColumnStart: 2, gridColumnEnd: 5, textAlign: "center", display: "flex", flexDirection: "row", justifyContent: "center", alignItems: "center" }, id: "snackbar", children: [
6292
+ /* @__PURE__ */ jsxs21("div", { style: { gridColumnStart: 2, gridColumnEnd: 5, textAlign: "center", display: "flex", flexDirection: "row", justifyContent: "center", alignItems: "center" }, id: "snackbar", children: [
6277
6293
  /* @__PURE__ */ jsx36("div", { style: { marginTop: "5px" }, children: sIcon }),
6278
6294
  /* @__PURE__ */ jsx36("div", { style: { fontSize: "1rem", marginLeft: "10px" }, children: message ? message : "Insert Message Here" })
6279
6295
  ] }),
@@ -6291,11 +6307,11 @@ WavelengthStandardSnackbar.displayName = "WavelengthStandardSnackbar";
6291
6307
  // src/components/snackbars/WavelengthTestSnackbar.tsx
6292
6308
  import Box5 from "@mui/material/Box";
6293
6309
  import Button4 from "@mui/material/Button";
6294
- import { useEffect as useEffect11, useRef as useRef12 } from "react";
6295
- import { Fragment as Fragment12, jsx as jsx37, jsxs as jsxs23 } from "react/jsx-runtime";
6310
+ import { useEffect as useEffect12, useRef as useRef13 } from "react";
6311
+ import { Fragment as Fragment12, jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
6296
6312
  var useOutsideClick = (callback) => {
6297
- const ref = useRef12(null);
6298
- useEffect11(() => {
6313
+ const ref = useRef13(null);
6314
+ useEffect12(() => {
6299
6315
  const handleClickOutside = (event) => {
6300
6316
  if (ref.current && !ref.current.contains(event.target)) {
6301
6317
  callback();
@@ -6322,7 +6338,7 @@ function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, custom
6322
6338
  } else if (type === "disabled") {
6323
6339
  bgColor = "#737373";
6324
6340
  }
6325
- return /* @__PURE__ */ jsx37(Fragment12, { children: isPopUpOpen && /* @__PURE__ */ jsxs23(
6341
+ return /* @__PURE__ */ jsx37(Fragment12, { children: isPopUpOpen && /* @__PURE__ */ jsxs22(
6326
6342
  Box5,
6327
6343
  {
6328
6344
  id,
@@ -6396,12 +6412,12 @@ import IconButton7 from "@mui/material/IconButton";
6396
6412
  import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
6397
6413
  import NavigateNextIcon from "@mui/icons-material/NavigateNext";
6398
6414
  import Typography4 from "@mui/material/Typography";
6399
- import Grid4 from "@mui/material/Grid";
6415
+ import Grid3 from "@mui/material/Grid";
6400
6416
  import Card from "@mui/material/Card";
6401
6417
  import CardContent from "@mui/material/CardContent";
6402
6418
  import CardMedia from "@mui/material/CardMedia";
6403
6419
  import CardActionArea from "@mui/material/CardActionArea";
6404
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
6420
+ import { jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
6405
6421
  var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight, cardWidth, id, name }) => {
6406
6422
  const [currentIndex, setCurrentIndex] = useState4(0);
6407
6423
  const adjustButtonSize = buttonSize !== void 0 ? buttonSize : 70;
@@ -6418,8 +6434,8 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6418
6434
  const handleClick = () => {
6419
6435
  window.open(items[currentIndex].path, "_blank");
6420
6436
  };
6421
- return /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsxs24(
6422
- Grid4,
6437
+ return /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsxs23(
6438
+ Grid3,
6423
6439
  {
6424
6440
  container: true,
6425
6441
  spacing: 1,
@@ -6435,9 +6451,9 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6435
6451
  maxWidth: adjustCardWidth,
6436
6452
  maxHeight: adjustCardHeight
6437
6453
  },
6438
- children: /* @__PURE__ */ jsxs24(CardActionArea, { onClick: handleClick, children: [
6454
+ children: /* @__PURE__ */ jsxs23(CardActionArea, { onClick: handleClick, children: [
6439
6455
  /* @__PURE__ */ jsx39(CardMedia, { sx: { height: adjustImageHeight, width: adjustImageWidth }, image: items[currentIndex].image }),
6440
- /* @__PURE__ */ jsxs24(CardContent, { children: [
6456
+ /* @__PURE__ */ jsxs23(CardContent, { children: [
6441
6457
  /* @__PURE__ */ jsx39(Typography4, { variant: "h4", children: items[currentIndex].title }),
6442
6458
  /* @__PURE__ */ jsx39(Typography4, { variant: "body1", children: items[currentIndex].description })
6443
6459
  ] })
@@ -6452,18 +6468,18 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6452
6468
  DefaultCarousel.displayName = "DefaultCarousel";
6453
6469
 
6454
6470
  // src/components/carousels/WavelengthSliderCarousel.tsx
6455
- import { useState as useState5, useEffect as useEffect13 } from "react";
6456
- import Grid5 from "@mui/material/Grid";
6471
+ import { useState as useState5, useEffect as useEffect14 } from "react";
6472
+ import Grid4 from "@mui/material/Grid";
6457
6473
  import Card2 from "@mui/material/Card";
6458
6474
  import CardContent2 from "@mui/material/CardContent";
6459
6475
  import CardMedia2 from "@mui/material/CardMedia";
6460
6476
  import CardActionArea2 from "@mui/material/CardActionArea";
6461
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
6477
+ import { jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
6462
6478
  var delay = 2500;
6463
6479
  var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth }) => {
6464
6480
  const [index, setIndex] = useState5(0);
6465
6481
  const [isHovered, setIsHovered] = useState5(false);
6466
- useEffect13(() => {
6482
+ useEffect14(() => {
6467
6483
  setTimeout(() => setIndex((prevIndex) => prevIndex === items.length - 1 ? 0 : prevIndex + 1), delay);
6468
6484
  return () => {
6469
6485
  };
@@ -6502,7 +6518,7 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
6502
6518
  }
6503
6519
  };
6504
6520
  return /* @__PURE__ */ jsx40("div", { style: styles.carouselcontainer, children: /* @__PURE__ */ jsx40("div", { className: "my-animation", style: styles.carouselTrackStyle, children: /* @__PURE__ */ jsx40(
6505
- Grid5,
6521
+ Grid4,
6506
6522
  {
6507
6523
  sx: {
6508
6524
  display: "flex",
@@ -6521,9 +6537,9 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
6521
6537
  },
6522
6538
  onMouseEnter: () => setIsHovered(true),
6523
6539
  onMouseLeave: () => setIsHovered(false),
6524
- children: /* @__PURE__ */ jsxs25(CardActionArea2, { href: card.path, children: [
6540
+ children: /* @__PURE__ */ jsxs24(CardActionArea2, { href: card.path, children: [
6525
6541
  /* @__PURE__ */ jsx40(CardMedia2, { sx: { height: adjustCardHeight, width: adjustCardWith }, image: card.image }),
6526
- /* @__PURE__ */ jsxs25(CardContent2, { children: [
6542
+ /* @__PURE__ */ jsxs24(CardContent2, { children: [
6527
6543
  /* @__PURE__ */ jsx40("h3", { children: card.title }),
6528
6544
  /* @__PURE__ */ jsx40("p", { children: card.description })
6529
6545
  ] })
@@ -6544,7 +6560,7 @@ import Button5 from "@mui/material/Button";
6544
6560
  import ArrowBackIosNewIcon from "@mui/icons-material/ArrowBackIosNew";
6545
6561
  import ArrowForwardIosIcon from "@mui/icons-material/ArrowForwardIos";
6546
6562
  import styled7 from "styled-components";
6547
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
6563
+ import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
6548
6564
  var MyDroplistItems = styled7("li")`
6549
6565
  background-color: white;
6550
6566
  color: #000000;
@@ -6588,14 +6604,14 @@ function WavelengthButtonPagination({ totalPages, current, handleChangePage, ite
6588
6604
  "&:disabled": { background: "rgb(226, 223, 223)" },
6589
6605
  "&.active": { background: "#8FD8FF" }
6590
6606
  };
6591
- return /* @__PURE__ */ jsxs26("div", { style: dropstyles.butPagCompDivStyle, id, children: [
6607
+ return /* @__PURE__ */ jsxs25("div", { style: dropstyles.butPagCompDivStyle, id, children: [
6592
6608
  /* @__PURE__ */ jsx41(Button5, { onClick: () => handleChangePage(current - 1), disabled: current === 1, sx: WLButtonPagStyle, children: /* @__PURE__ */ jsx41(ArrowBackIosNewIcon, {}) }),
6593
6609
  /* @__PURE__ */ jsx41("section", { style: dropstyles.rangenumbers, children: itemList.map(
6594
6610
  (item, index) => item === "..." && index === 1 ? (
6595
6611
  //first half ellipse with first half dropdown
6596
6612
  // dropdown
6597
6613
  // eslint-disable-next-line react/jsx-key
6598
- /* @__PURE__ */ jsxs26("div", { children: [
6614
+ /* @__PURE__ */ jsxs25("div", { children: [
6599
6615
  /* @__PURE__ */ jsx41(Button5, { onClick: () => toggleDropdown(1), className: current === index ? "active" : "", sx: WLButtonPagStyle, children: item }, index),
6600
6616
  isOpen && /* @__PURE__ */ jsx41("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx41("ul", { style: dropstyles.mydrop, children: firstEllipseList.map((item2) => /* @__PURE__ */ jsx41(
6601
6617
  MyDroplistItems,
@@ -6610,7 +6626,7 @@ function WavelengthButtonPagination({ totalPages, current, handleChangePage, ite
6610
6626
  ] })
6611
6627
  ) : item === "..." && index === 5 ? (
6612
6628
  //second half ellipse with second half dropdown
6613
- /* @__PURE__ */ jsxs26("div", { children: [
6629
+ /* @__PURE__ */ jsxs25("div", { children: [
6614
6630
  /* @__PURE__ */ jsx41(Button5, { onClick: () => toggleDropdown(5), className: current === index ? "active" : "", sx: WLButtonPagStyle, children: item }, index),
6615
6631
  isSecOpen && /* @__PURE__ */ jsx41("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx41("ul", { style: dropstyles.mydrop, children: secondEllipseList.map((item2) => /* @__PURE__ */ jsx41(
6616
6632
  MyDroplistItems,
@@ -6637,7 +6653,7 @@ import Button6 from "@mui/material/Button";
6637
6653
  import ArrowBackIosNewIcon2 from "@mui/icons-material/ArrowBackIosNew";
6638
6654
  import ArrowForwardIosIcon2 from "@mui/icons-material/ArrowForwardIos";
6639
6655
  import styled8 from "styled-components";
6640
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
6656
+ import { jsx as jsx42, jsxs as jsxs26 } from "react/jsx-runtime";
6641
6657
  function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList, id }) {
6642
6658
  const [isOpen, setIsOpen] = useState7(false);
6643
6659
  const [isSecOpen, setIsSecOpen] = useState7(false);
@@ -6679,13 +6695,13 @@ function WavelengthVariationPagination({ totalPages, current, variant, handleCha
6679
6695
  setIsSecOpen(!isSecOpen);
6680
6696
  }
6681
6697
  };
6682
- return /* @__PURE__ */ jsxs27("div", { style: dropstyles.pagination, id, children: [
6698
+ return /* @__PURE__ */ jsxs26("div", { style: dropstyles.pagination, id, children: [
6683
6699
  /* @__PURE__ */ jsx42(Button6, { onClick: () => handleChangePage(current - 1), variant, disabled: current === 1, children: /* @__PURE__ */ jsx42(ArrowBackIosNewIcon2, {}) }),
6684
6700
  /* @__PURE__ */ jsx42("section", { style: dropstyles.rangenumbers, children: itemList.map(
6685
6701
  (item, index) => item === "..." && index === 1 ? (
6686
6702
  //first half ellipse with first half dropdown
6687
6703
  // eslint-disable-next-line react/jsx-key
6688
- /* @__PURE__ */ jsxs27("div", { children: [
6704
+ /* @__PURE__ */ jsxs26("div", { children: [
6689
6705
  /* @__PURE__ */ jsx42(Button6, { onClick: () => toggleDropdown(1), variant, className: current === index ? "active" : "", children: item }, index),
6690
6706
  isOpen && /* @__PURE__ */ jsx42("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx42("ul", { style: dropstyles.mydrop, children: firstEllipseList.map((item2) => /* @__PURE__ */ jsx42(
6691
6707
  MyDroplistItems2,
@@ -6701,7 +6717,7 @@ function WavelengthVariationPagination({ totalPages, current, variant, handleCha
6701
6717
  ] })
6702
6718
  ) : item === "..." && index === 5 ? (
6703
6719
  //second half ellipse with second half dropdown
6704
- /* @__PURE__ */ jsxs27("div", { children: [
6720
+ /* @__PURE__ */ jsxs26("div", { children: [
6705
6721
  /* @__PURE__ */ jsx42(Button6, { onClick: () => toggleDropdown(5), variant, className: current === index ? "active" : "", children: item }, index),
6706
6722
  isSecOpen && /* @__PURE__ */ jsx42("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx42("ul", { style: dropstyles.mydrop, children: secondEllipseList.map((item2) => /* @__PURE__ */ jsx42(
6707
6723
  MyDroplistItems2,
@@ -6835,7 +6851,7 @@ WavelengthDefaultPagination.displayName = "WavelengthDefaultPagination";
6835
6851
  var WavelengthDefaultPagination_default = WavelengthDefaultPagination;
6836
6852
 
6837
6853
  // src/components/TextField/WavelengthInput.tsx
6838
- import { useRef as useRef13, useEffect as useEffect14, forwardRef as forwardRef2, useImperativeHandle as useImperativeHandle3 } from "react";
6854
+ import { useRef as useRef14, useEffect as useEffect15, forwardRef as forwardRef2, useImperativeHandle as useImperativeHandle3 } from "react";
6839
6855
  import "@wavelengthusaf/web-components";
6840
6856
  import { jsx as jsx44 } from "react/jsx-runtime";
6841
6857
  var WavelengthInput = forwardRef2(
@@ -6874,12 +6890,12 @@ var WavelengthInput = forwardRef2(
6874
6890
  onBlurCallback,
6875
6891
  ...rest
6876
6892
  }, ref) => {
6877
- const internalRef = useRef13(null);
6893
+ const internalRef = useRef14(null);
6878
6894
  useImperativeHandle3(ref, () => ({
6879
6895
  ...internalRef.current,
6880
6896
  validate: () => internalRef.current?.validate?.(true)
6881
6897
  }));
6882
- useEffect14(() => {
6898
+ useEffect15(() => {
6883
6899
  const el = internalRef.current;
6884
6900
  if (!el) return;
6885
6901
  const set = (attr, val) => {
@@ -6950,7 +6966,7 @@ var WavelengthInput = forwardRef2(
6950
6966
  label,
6951
6967
  disabled
6952
6968
  ]);
6953
- useEffect14(() => {
6969
+ useEffect15(() => {
6954
6970
  const el = internalRef.current;
6955
6971
  if (!el || !onBlurCallback) return;
6956
6972
  const handler = (e) => {
@@ -6962,7 +6978,7 @@ var WavelengthInput = forwardRef2(
6962
6978
  el.addEventListener("blur", handler);
6963
6979
  return () => el.removeEventListener("blur", handler);
6964
6980
  }, [onBlurCallback]);
6965
- useEffect14(() => {
6981
+ useEffect15(() => {
6966
6982
  const el = internalRef.current;
6967
6983
  if (!el || !onChange) return;
6968
6984
  const handler = (e) => {
@@ -6992,9 +7008,9 @@ WavelengthInput.displayName = "WavelengthInput";
6992
7008
  import { WavelengthInput as WavelengthInput2 } from "@wavelengthusaf/web-components";
6993
7009
 
6994
7010
  // src/components/DataTable/WavelengthDataTable.tsx
6995
- import { useEffect as useEffect15, useRef as useRef14, useState as useState9 } from "react";
7011
+ import { useEffect as useEffect16, useRef as useRef15, useState as useState9 } from "react";
6996
7012
  import styled9 from "styled-components";
6997
- import { jsx as jsx45, jsxs as jsxs28 } from "react/jsx-runtime";
7013
+ import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
6998
7014
  var ModalInputDiv = styled9.div`
6999
7015
  display: flex;
7000
7016
  flex-direction: column; /* Corrected this line */
@@ -7173,8 +7189,8 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7173
7189
  const [currentPage, setCurrentPage] = useState9(1);
7174
7190
  const [isOpen, setIsOpen] = useState9(false);
7175
7191
  const [editingMenuKey, setEditingMenuKey] = useState9(null);
7176
- const menuRef = useRef14(null);
7177
- const modalRef = useRef14(null);
7192
+ const menuRef = useRef15(null);
7193
+ const modalRef = useRef15(null);
7178
7194
  function isNumeric(value) {
7179
7195
  return /^\d+$/.test(value);
7180
7196
  }
@@ -7182,7 +7198,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7182
7198
  setSelectedValue(event.target.value);
7183
7199
  setLocalData(copiedArray);
7184
7200
  };
7185
- useEffect15(() => {
7201
+ useEffect16(() => {
7186
7202
  if (!selectedValue || searchItem === "") {
7187
7203
  setLocalData(copiedArray);
7188
7204
  setNoRowsOpen(false);
@@ -7212,7 +7228,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7212
7228
  const closeModal = () => {
7213
7229
  setIsModalOpen(false);
7214
7230
  };
7215
- useEffect15(() => {
7231
+ useEffect16(() => {
7216
7232
  const handleClickOutside = (event) => {
7217
7233
  if (isModalOpen && modalRef.current && !modalRef.current.contains(event.target)) {
7218
7234
  closeModal();
@@ -7269,9 +7285,9 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7269
7285
  setEditingId(null);
7270
7286
  };
7271
7287
  const headers = columns.map((column, index) => {
7272
- return /* @__PURE__ */ jsxs28(TableHeadStyle, { children: [
7288
+ return /* @__PURE__ */ jsxs27(TableHeadStyle, { children: [
7273
7289
  column.title,
7274
- /* @__PURE__ */ jsxs28(KebabMenu, { ref: menuRef, children: [
7290
+ /* @__PURE__ */ jsxs27(KebabMenu, { ref: menuRef, children: [
7275
7291
  /* @__PURE__ */ jsx45(
7276
7292
  KebabIcon,
7277
7293
  {
@@ -7282,25 +7298,25 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7282
7298
  children: "\u22EE"
7283
7299
  }
7284
7300
  ),
7285
- isOpen && editingMenuKey === column.key && /* @__PURE__ */ jsxs28(MenuOptions, { children: [
7286
- sortOrder === "asc" ? /* @__PURE__ */ jsxs28("li", { title: `MenuListASC-${index}`, onClick: () => handleSort(column.key, "asc"), children: [
7301
+ isOpen && editingMenuKey === column.key && /* @__PURE__ */ jsxs27(MenuOptions, { children: [
7302
+ sortOrder === "asc" ? /* @__PURE__ */ jsxs27("li", { title: `MenuListASC-${index}`, onClick: () => handleSort(column.key, "asc"), children: [
7287
7303
  /* @__PURE__ */ jsx45("span", { children: "\u2B06" }),
7288
7304
  " Sort ASC"
7289
- ] }) : /* @__PURE__ */ jsxs28("li", { title: `MenuListDES-${index}`, onClick: () => handleSort(column.key, "desc"), children: [
7305
+ ] }) : /* @__PURE__ */ jsxs27("li", { title: `MenuListDES-${index}`, onClick: () => handleSort(column.key, "desc"), children: [
7290
7306
  /* @__PURE__ */ jsx45("span", { children: "\u2B07" }),
7291
7307
  " Sort DESC"
7292
7308
  ] }),
7293
- /* @__PURE__ */ jsxs28("li", { title: `MenuListFilterButton-${index}`, onClick: openModal, children: [
7309
+ /* @__PURE__ */ jsxs27("li", { title: `MenuListFilterButton-${index}`, onClick: openModal, children: [
7294
7310
  /* @__PURE__ */ jsx45("span", { children: "\u23F7" }),
7295
7311
  " Filter"
7296
7312
  ] }),
7297
- isModalOpen && /* @__PURE__ */ jsx45(ModalOverlay, { children: /* @__PURE__ */ jsxs28(ModalWrapper, { ref: modalRef, children: [
7313
+ isModalOpen && /* @__PURE__ */ jsx45(ModalOverlay, { children: /* @__PURE__ */ jsxs27(ModalWrapper, { ref: modalRef, children: [
7298
7314
  /* @__PURE__ */ jsx45(ModalClose, { title: `ModalClose-${index}`, onClick: closeModal, children: "\xD7" }),
7299
- /* @__PURE__ */ jsxs28(ModalInputDiv, { children: [
7315
+ /* @__PURE__ */ jsxs27(ModalInputDiv, { children: [
7300
7316
  /* @__PURE__ */ jsx45("label", { htmlFor: "filterSelectId", children: "Columns: " }),
7301
7317
  /* @__PURE__ */ jsx45("select", { title: `filterSelect-${index}`, id: "filterSelectId", value: selectedValue, onChange: handleChange, children: columns.map((item) => /* @__PURE__ */ jsx45("option", { children: item.key }, item.key)) })
7302
7318
  ] }),
7303
- /* @__PURE__ */ jsxs28(ModalInputDiv, { children: [
7319
+ /* @__PURE__ */ jsxs27(ModalInputDiv, { children: [
7304
7320
  /* @__PURE__ */ jsx45("label", { htmlFor: "filterInputId", children: "Values: " }),
7305
7321
  /* @__PURE__ */ jsx45(
7306
7322
  "input",
@@ -7343,8 +7359,8 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7343
7359
  }
7344
7360
  ) : /* @__PURE__ */ jsx45("span", { title: `spanRow-${item.id}-${column.key}-${index2}`, onDoubleClick: () => handleEdit(item.id, item[column.key], column.key), children: item[column.key] }) }, index2);
7345
7361
  }) }, item.id));
7346
- return /* @__PURE__ */ jsxs28("div", { id, children: [
7347
- /* @__PURE__ */ jsx45(StyledBoxDiv, { title: "StyledBoxDiv", children: /* @__PURE__ */ jsxs28(StyledTableTwo, { title: "StyledTable", children: [
7362
+ return /* @__PURE__ */ jsxs27("div", { id, children: [
7363
+ /* @__PURE__ */ jsx45(StyledBoxDiv, { title: "StyledBoxDiv", children: /* @__PURE__ */ jsxs27(StyledTableTwo, { title: "StyledTable", children: [
7348
7364
  /* @__PURE__ */ jsx45("thead", { children: /* @__PURE__ */ jsx45("tr", { children: headers }) }),
7349
7365
  /* @__PURE__ */ jsx45("tbody", { children: rows })
7350
7366
  ] }) }),
@@ -7356,7 +7372,7 @@ WavelengthDataTable.displayName = "WavelengthDataTable";
7356
7372
  // src/components/DataTable/SubRowTable/ChildSubTable.tsx
7357
7373
  import { useMemo as useMemo3, useState as useState10, Fragment as Fragment13 } from "react";
7358
7374
  import styled10 from "styled-components";
7359
- import { Fragment as Fragment14, jsx as jsx46, jsxs as jsxs29 } from "react/jsx-runtime";
7375
+ import { Fragment as Fragment14, jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
7360
7376
  var TableContainer = styled10.div`
7361
7377
  width: 1200px;
7362
7378
  border-radius: 16px;
@@ -7593,15 +7609,15 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7593
7609
  return result;
7594
7610
  }, [data, sortKey, sortOrder, sortSubKey, sortSubOrder]);
7595
7611
  const renderSortButton = (column, sortOrder2, sortKey2) => {
7596
- return sortKey2 === column.key ? sortOrder2 === "asc" ? /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7612
+ return sortKey2 === column.key ? sortOrder2 === "asc" ? /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7597
7613
  column.title,
7598
7614
  " ",
7599
7615
  /* @__PURE__ */ jsx46("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
7600
- ] }) }) : /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7616
+ ] }) }) : /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7601
7617
  column.title,
7602
7618
  " ",
7603
7619
  /* @__PURE__ */ jsx46("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M13.2375 9.2627L7.5 3.5377L1.7625 9.2627L0 7.5002L7.5 0.000196457L15 7.5002L13.2375 9.2627Z", fill: "white" }) })
7604
- ] }) }) : /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7620
+ ] }) }) : /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "black", onClick: () => toggleSortOrder(column.key), children: [
7605
7621
  column.title,
7606
7622
  " ",
7607
7623
  /* @__PURE__ */ jsx46("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
@@ -7609,15 +7625,15 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7609
7625
  };
7610
7626
  const renderSortSubButton = (column, sortSubOrder2, sortSubKey2) => {
7611
7627
  const columnKey = trimBeforePeriod2(column.key);
7612
- return sortSubKey2 === columnKey ? sortSubOrder2 === "asc" ? /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7628
+ return sortSubKey2 === columnKey ? sortSubOrder2 === "asc" ? /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7613
7629
  column.title,
7614
7630
  " ",
7615
7631
  /* @__PURE__ */ jsx46("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
7616
- ] }) : /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7632
+ ] }) : /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7617
7633
  column.title,
7618
7634
  " ",
7619
7635
  /* @__PURE__ */ jsx46("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M13.2375 9.2627L7.5 3.5377L1.7625 9.2627L0 7.5002L7.5 0.000196457L15 7.5002L13.2375 9.2627Z", fill: "white" }) })
7620
- ] }) : /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7636
+ ] }) : /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7621
7637
  column.title,
7622
7638
  " ",
7623
7639
  /* @__PURE__ */ jsx46("svg", { width: "15", height: "10", viewBox: "0 0 15 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M13.2375 0.368774L7.5 6.09377L1.7625 0.368774L0 2.13127L7.5 9.63127L15 2.13127L13.2375 0.368774Z", fill: "white" }) })
@@ -7630,7 +7646,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7630
7646
  return /* @__PURE__ */ jsx46("th", { children: renderSortSubButton(column, sortSubOrder, sortSubKey) }, `SubHeadCell-${index}`);
7631
7647
  });
7632
7648
  const subDataRows = (itemId) => {
7633
- return processedRowData.filter((item) => item.Details?.relationId === itemId).map((item) => /* @__PURE__ */ jsx46(Fragment13, { children: item.Details?.fileObjects.map((fileItem, index) => /* @__PURE__ */ jsxs29(SubDataTableBodyRowContainer, { children: [
7649
+ return processedRowData.filter((item) => item.Details?.relationId === itemId).map((item) => /* @__PURE__ */ jsx46(Fragment13, { children: item.Details?.fileObjects.map((fileItem, index) => /* @__PURE__ */ jsxs28(SubDataTableBodyRowContainer, { children: [
7634
7650
  /* @__PURE__ */ jsx46("td", { children: /* @__PURE__ */ jsx46(DownloadArrow, { onClick: downloadArrowOnClick, children: /* @__PURE__ */ jsx46("svg", { width: "17", height: "16", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46(
7635
7651
  "path",
7636
7652
  {
@@ -7647,16 +7663,16 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7647
7663
  })
7648
7664
  ] }, `${item}-${item.Details?.relationId}-${fileItem.id}-${index}`)) }, `SDR-${item.id}-${item.Details?.relationId}`));
7649
7665
  };
7650
- const dataRows = processedRowData?.map((item, index) => /* @__PURE__ */ jsxs29(BodyRowContainer, { children: [
7666
+ const dataRows = processedRowData?.map((item, index) => /* @__PURE__ */ jsxs28(BodyRowContainer, { children: [
7651
7667
  /* @__PURE__ */ jsx46(TableRow, { $amountofColumns: HeadColumns.length, children: HeadColumns.map((column) => /* @__PURE__ */ jsx46(TableBodyCell, { $primaryBoldState: column.PrimaryBoldText, children: item[column.key] }, `TableBodycell-${item.id}-${column.key}`)) }),
7652
- /* @__PURE__ */ jsxs29(ButtonStylingRow, { children: [
7668
+ /* @__PURE__ */ jsxs28(ButtonStylingRow, { children: [
7653
7669
  /* @__PURE__ */ jsx46(DownloadMissionButton, { onClick: downloadMissionOnClick, children: "Download Mission" }),
7654
7670
  /* @__PURE__ */ jsx46(AddButton, { onClick: addFilesOnClick, children: "Add files" })
7655
7671
  ] }),
7656
7672
  openRow !== item.id && /* @__PURE__ */ jsx46(BottomArrowBar, { onClick: () => toggleDropdown(item.id), children: /* @__PURE__ */ jsx46("svg", { width: "92", height: "14", viewBox: "0 0 92 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M64 0L44 6L24 0H0L44 14L92 0H64Z", fill: "#7A7A7A" }) }) }),
7657
- openRow === item.id && /* @__PURE__ */ jsxs29("div", { children: [
7658
- /* @__PURE__ */ jsxs29(SubDataTable, { children: [
7659
- /* @__PURE__ */ jsx46(SubDataHeaderColumn, { children: /* @__PURE__ */ jsxs29(SubDataTableHeaderRow, { children: [
7673
+ openRow === item.id && /* @__PURE__ */ jsxs28("div", { children: [
7674
+ /* @__PURE__ */ jsxs28(SubDataTable, { children: [
7675
+ /* @__PURE__ */ jsx46(SubDataHeaderColumn, { children: /* @__PURE__ */ jsxs28(SubDataTableHeaderRow, { children: [
7660
7676
  /* @__PURE__ */ jsx46("th", {}),
7661
7677
  SubDataHeaders
7662
7678
  ] }) }),
@@ -7665,7 +7681,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7665
7681
  /* @__PURE__ */ jsx46(BottomUpArrowBar, { onClick: () => toggleUpward(), children: /* @__PURE__ */ jsx46("svg", { width: "92", height: "14", viewBox: "0 0 92 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx46("path", { d: "M64 14L44 8L24 14H0L44 0L92 14H64Z", fill: "#7A7A7A" }) }) })
7666
7682
  ] })
7667
7683
  ] }, `Bodycontainer-${item.id}-${index}`));
7668
- return /* @__PURE__ */ jsxs29(TableContainer, { children: [
7684
+ return /* @__PURE__ */ jsxs28(TableContainer, { children: [
7669
7685
  /* @__PURE__ */ jsx46(TablePrimaryRow, { $amountofColumns: HeadColumns.length, children: headers }),
7670
7686
  /* @__PURE__ */ jsx46("div", { title: "tablebodies", children: dataRows })
7671
7687
  ] });
@@ -7673,14 +7689,14 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7673
7689
  ChildDataTable.displayName = "ChildDataTable";
7674
7690
 
7675
7691
  // src/components/DataTable/SubRowTable/ChildDataTable.tsx
7676
- import { useRef as useRef15, useEffect as useEffect16 } from "react";
7692
+ import { useRef as useRef16, useEffect as useEffect17 } from "react";
7677
7693
  import "@wavelengthusaf/web-components";
7678
7694
  import { createRoot } from "react-dom/client";
7679
7695
  import { jsx as jsx47 } from "react/jsx-runtime";
7680
7696
  var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdownButtonIcon, ...rest }) => {
7681
- const tableRef = useRef15(null);
7682
- const reactDropdownRoots = useRef15(/* @__PURE__ */ new Map());
7683
- useEffect16(() => {
7697
+ const tableRef = useRef16(null);
7698
+ const reactDropdownRoots = useRef16(/* @__PURE__ */ new Map());
7699
+ useEffect17(() => {
7684
7700
  const customChildDataTableElement = tableRef.current;
7685
7701
  if (!customChildDataTableElement) return;
7686
7702
  if (columns !== void 0) customChildDataTableElement.setColumns = columns;
@@ -7689,7 +7705,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7689
7705
  if (sortIcon !== void 0) customChildDataTableElement.setSortIcon = sortIcon;
7690
7706
  if (dropdownButtonIcon !== void 0) customChildDataTableElement.setDropdownButtonIcon = dropdownButtonIcon;
7691
7707
  }, [columns, data, dropdownArrowLocation, sortIcon, dropdownButtonIcon]);
7692
- useEffect16(() => {
7708
+ useEffect17(() => {
7693
7709
  const el = tableRef.current;
7694
7710
  if (!el) return;
7695
7711
  const handleReactDropdown = (event) => {
@@ -7736,7 +7752,7 @@ import { ChildDataTable as ChildDataTable3 } from "@wavelengthusaf/web-component
7736
7752
  // src/components/DataTable/NestedDataTable/NestedDataTable.tsx
7737
7753
  import { useState as useState11 } from "react";
7738
7754
  import styled11 from "styled-components";
7739
- import { Fragment as Fragment15, jsx as jsx48, jsxs as jsxs30 } from "react/jsx-runtime";
7755
+ import { Fragment as Fragment15, jsx as jsx48, jsxs as jsxs29 } from "react/jsx-runtime";
7740
7756
  var TableStyle = styled11.table`
7741
7757
  width: 100%;
7742
7758
  height: 100%;
@@ -7836,12 +7852,12 @@ var NestedDataTable = ({ data, columns, id }) => {
7836
7852
  return /* @__PURE__ */ jsx48("td", { children: /* @__PURE__ */ jsx48("span", { children: value }) }, `Span-${item.id}-${colIndex}`);
7837
7853
  }
7838
7854
  }) }, `Sub-${item.id}-${index}`) }));
7839
- const childRows = /* @__PURE__ */ jsxs30(SubTableStyle, { children: [
7855
+ const childRows = /* @__PURE__ */ jsxs29(SubTableStyle, { children: [
7840
7856
  /* @__PURE__ */ jsx48("thead", { children: /* @__PURE__ */ jsx48("tr", { children: SubDataHeaders }) }),
7841
7857
  /* @__PURE__ */ jsx48("tbody", { children: subDataRows })
7842
7858
  ] });
7843
- const rows = !data?.length ? /* @__PURE__ */ jsx48("tr", { children: /* @__PURE__ */ jsx48("td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : data?.map((item, index) => /* @__PURE__ */ jsxs30(Fragment15, { children: [
7844
- /* @__PURE__ */ jsxs30(PrimaryTrRows, { $index: index, children: [
7859
+ const rows = !data?.length ? /* @__PURE__ */ jsx48("tr", { children: /* @__PURE__ */ jsx48("td", { title: "NoDataRows", colSpan: columns.length, children: "No data" }) }) : data?.map((item, index) => /* @__PURE__ */ jsxs29(Fragment15, { children: [
7860
+ /* @__PURE__ */ jsxs29(PrimaryTrRows, { $index: index, children: [
7845
7861
  /* @__PURE__ */ jsx48(DropdownButton, { onClick: () => toggleDropdown(index), children: isAscending && isOpen && primaryRowIndex === index ? /* @__PURE__ */ jsx48(Fragment15, { children: "\u2227" }) : /* @__PURE__ */ jsx48(Fragment15, { children: "\u2228" }) }),
7846
7862
  HeadColumns.map((column, index2) => {
7847
7863
  return /* @__PURE__ */ jsx48(PrimaryTdSpan, { children: /* @__PURE__ */ jsx48("span", { title: `spanRow-${item.id}-${column.key}-${index2}`, children: item[column.key] }) }, `${item.id}-${index}=${index2}`);
@@ -7849,8 +7865,8 @@ var NestedDataTable = ({ data, columns, id }) => {
7849
7865
  ] }, index),
7850
7866
  isOpen && primaryRowIndex === index && /* @__PURE__ */ jsx48(SubTrRows, { $index: index, children: /* @__PURE__ */ jsx48("td", { colSpan: HeadColumns.length + 1, children: childRows }) }, index)
7851
7867
  ] }));
7852
- return /* @__PURE__ */ jsx48("div", { id, children: /* @__PURE__ */ jsxs30(TableStyle, { children: [
7853
- /* @__PURE__ */ jsx48("thead", { children: /* @__PURE__ */ jsxs30("tr", { children: [
7868
+ return /* @__PURE__ */ jsx48("div", { id, children: /* @__PURE__ */ jsxs29(TableStyle, { children: [
7869
+ /* @__PURE__ */ jsx48("thead", { children: /* @__PURE__ */ jsxs29("tr", { children: [
7854
7870
  /* @__PURE__ */ jsx48("th", { title: "dropdownth" }),
7855
7871
  headers
7856
7872
  ] }) }),
@@ -7860,9 +7876,9 @@ var NestedDataTable = ({ data, columns, id }) => {
7860
7876
  NestedDataTable.displayName = "NestedDataTable";
7861
7877
 
7862
7878
  // src/components/AutoComplete/WavelengthAutoComplete.tsx
7863
- import { useEffect as useEffect17, useRef as useRef17, useState as useState12 } from "react";
7879
+ import { useEffect as useEffect18, useRef as useRef18, useState as useState12 } from "react";
7864
7880
  import styled12 from "styled-components";
7865
- import { Fragment as Fragment16, jsx as jsx49, jsxs as jsxs31 } from "react/jsx-runtime";
7881
+ import { Fragment as Fragment16, jsx as jsx49, jsxs as jsxs30 } from "react/jsx-runtime";
7866
7882
  var AutoContainer = styled12.div`
7867
7883
  //position: relative;
7868
7884
  position: relative;
@@ -7991,9 +8007,9 @@ var WavelengthAutoComplete = ({
7991
8007
  placeholder,
7992
8008
  onBlurCallback
7993
8009
  }) => {
7994
- const inputRef = useRef17(null);
7995
- const listRef = useRef17(null);
7996
- const noItemListRef = useRef17(null);
8010
+ const inputRef = useRef18(null);
8011
+ const listRef = useRef18(null);
8012
+ const noItemListRef = useRef18(null);
7997
8013
  const [inputValue, setInputValue] = useState12(placeholder ?? "");
7998
8014
  const [suggestions, setSuggestions] = useState12([]);
7999
8015
  const [isDropdownVisible, setIsDropdownVisible] = useState12(false);
@@ -8001,7 +8017,7 @@ var WavelengthAutoComplete = ({
8001
8017
  const arrayLength = suggestions.length;
8002
8018
  const [focusedIndex, setFocusedIndex] = useState12(0);
8003
8019
  const idName = id ? id : "auto-comp";
8004
- useEffect17(() => {
8020
+ useEffect18(() => {
8005
8021
  const handleClickOutsideList = (event) => {
8006
8022
  if (listRef.current && !listRef.current.contains(event.target)) {
8007
8023
  setIsDropdownVisible(false);
@@ -8013,7 +8029,7 @@ var WavelengthAutoComplete = ({
8013
8029
  };
8014
8030
  }, [focusedIndex]);
8015
8031
  if (onDataChange !== void 0) {
8016
- useEffect17(() => {
8032
+ useEffect18(() => {
8017
8033
  onDataChange(inputValue);
8018
8034
  }, [inputValue]);
8019
8035
  }
@@ -8079,8 +8095,8 @@ var WavelengthAutoComplete = ({
8079
8095
  break;
8080
8096
  }
8081
8097
  };
8082
- return /* @__PURE__ */ jsx49(Fragment16, { children: /* @__PURE__ */ jsxs31(AutoContainer, { $inputHeight: height2, $inputWidth: width2, children: [
8083
- /* @__PURE__ */ jsxs31(InputWrapper, { id: `${idName}-input-wrapper`, $inputHeight: height2, $inputWidth: width2, children: [
8098
+ return /* @__PURE__ */ jsx49(Fragment16, { children: /* @__PURE__ */ jsxs30(AutoContainer, { $inputHeight: height2, $inputWidth: width2, children: [
8099
+ /* @__PURE__ */ jsxs30(InputWrapper, { id: `${idName}-input-wrapper`, $inputHeight: height2, $inputWidth: width2, children: [
8084
8100
  /* @__PURE__ */ jsx49(
8085
8101
  Input,
8086
8102
  {
@@ -8133,9 +8149,9 @@ var WavelengthAutoComplete = ({
8133
8149
  WavelengthAutoComplete.displayName = "WavelengthAutoComplete";
8134
8150
 
8135
8151
  // src/components/inputs/WavelengthDatePicker.tsx
8136
- import { useEffect as useEffect18, useState as useState13 } from "react";
8152
+ import { useEffect as useEffect19, useState as useState13 } from "react";
8137
8153
  import styled13 from "styled-components";
8138
- import { jsx as jsx50, jsxs as jsxs32 } from "react/jsx-runtime";
8154
+ import { jsx as jsx50, jsxs as jsxs31 } from "react/jsx-runtime";
8139
8155
  var Label2 = styled13.label`
8140
8156
  position: absolute;
8141
8157
  top: 50%;
@@ -8207,7 +8223,7 @@ var WavelengthDatePicker = ({
8207
8223
  const [minAdjusted, setMinAdjusted] = useState13("");
8208
8224
  const [maxAdjusted, setMaxAdjusted] = useState13("");
8209
8225
  const idName = id ? id : "WlDatePick";
8210
- useEffect18(() => {
8226
+ useEffect19(() => {
8211
8227
  const minDate = new Date(min || "");
8212
8228
  const maxDate = new Date(max || "");
8213
8229
  if (inputTimeType === "datetime-local") {
@@ -8246,7 +8262,7 @@ var WavelengthDatePicker = ({
8246
8262
  setValue(dateString);
8247
8263
  if (OnDataChange !== void 0) OnDataChange(new Date(dateString));
8248
8264
  };
8249
- return /* @__PURE__ */ jsxs32(
8265
+ return /* @__PURE__ */ jsxs31(
8250
8266
  InputWrapper2,
8251
8267
  {
8252
8268
  id: `${idName}-inputWrapper`,
@@ -8290,7 +8306,7 @@ WavelengthDatePicker.displayName = "WavelengthDatePicker";
8290
8306
  import { WavelengthDatePicker as WavelengthDatePicker2 } from "@wavelengthusaf/web-components";
8291
8307
 
8292
8308
  // src/components/inputs/WavelengthCheckbox.tsx
8293
- import { useRef as useRef18, useEffect as useEffect19 } from "react";
8309
+ import { useRef as useRef19, useEffect as useEffect20 } from "react";
8294
8310
  import "@wavelengthusaf/web-components";
8295
8311
  import { jsx as jsx51 } from "react/jsx-runtime";
8296
8312
  var WavelengthCheckbox = ({
@@ -8302,8 +8318,8 @@ var WavelengthCheckbox = ({
8302
8318
  textSize,
8303
8319
  ...rest
8304
8320
  }) => {
8305
- const ref = useRef18(null);
8306
- useEffect19(() => {
8321
+ const ref = useRef19(null);
8322
+ useEffect20(() => {
8307
8323
  const el = ref.current;
8308
8324
  if (!el) return;
8309
8325
  if (size !== void 0) {
@@ -8332,7 +8348,7 @@ var WavelengthCheckbox = ({
8332
8348
  WavelengthCheckbox.displayName = "WavelengthCheckbox";
8333
8349
 
8334
8350
  // src/components/samples/SampleComponent.tsx
8335
- import { useRef as useRef19, useEffect as useEffect20 } from "react";
8351
+ import { useRef as useRef20, useEffect as useEffect21 } from "react";
8336
8352
  import { jsx as jsx52 } from "react/jsx-runtime";
8337
8353
  var SampleComponent = ({
8338
8354
  testProp,
@@ -8342,8 +8358,8 @@ var SampleComponent = ({
8342
8358
  ...rest
8343
8359
  // This rest operator includes className, style, onClick, etc.
8344
8360
  }) => {
8345
- const ref = useRef19(null);
8346
- useEffect20(() => {
8361
+ const ref = useRef20(null);
8362
+ useEffect21(() => {
8347
8363
  const el = ref.current;
8348
8364
  if (!el) return;
8349
8365
  el.customStyles = customStyle2;
@@ -8356,7 +8372,7 @@ var SampleComponent = ({
8356
8372
  SampleComponent.displayName = "SampleComponent";
8357
8373
 
8358
8374
  // src/components/NotificationPanel/WavelengthNotificationPanel.tsx
8359
- import { useRef as useRef20, useEffect as useEffect21 } from "react";
8375
+ import { useRef as useRef21, useEffect as useEffect22 } from "react";
8360
8376
  import "@wavelengthusaf/web-components";
8361
8377
  import { jsx as jsx53 } from "react/jsx-runtime";
8362
8378
  var WavelengthNotificationPanel = ({
@@ -8367,8 +8383,8 @@ var WavelengthNotificationPanel = ({
8367
8383
  ...rest
8368
8384
  // This rest operator includes className, style, onClick, etc.
8369
8385
  }) => {
8370
- const ref = useRef20(null);
8371
- useEffect21(() => {
8386
+ const ref = useRef21(null);
8387
+ useEffect22(() => {
8372
8388
  const el = ref.current;
8373
8389
  if (!el) return;
8374
8390
  if (notifications !== void 0) {
@@ -8394,11 +8410,11 @@ var WavelengthNotificationPanel = ({
8394
8410
  import { SampleComponent as SampleComponent2 } from "@wavelengthusaf/web-components";
8395
8411
 
8396
8412
  // src/components/MultiSelect/WavelengthMultiSelectAutocomplete.tsx
8397
- import { useEffect as useEffect22, useRef as useRef21 } from "react";
8413
+ import { useEffect as useEffect23, useRef as useRef22 } from "react";
8398
8414
  import { jsx as jsx54 } from "react/jsx-runtime";
8399
8415
  var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, disabled, ...rest }) => {
8400
- const componentRef = useRef21(null);
8401
- useEffect22(() => {
8416
+ const componentRef = useRef22(null);
8417
+ useEffect23(() => {
8402
8418
  const component = componentRef.current;
8403
8419
  if (!component) return;
8404
8420
  const handleValueChange = (event) => {
@@ -8411,7 +8427,7 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8411
8427
  component.removeEventListener("change", handleValueChange);
8412
8428
  };
8413
8429
  }, [onChange]);
8414
- useEffect22(() => {
8430
+ useEffect23(() => {
8415
8431
  const component = componentRef.current;
8416
8432
  if (!component) return;
8417
8433
  if (placeholder) component.setAttribute("placeholder", placeholder);
@@ -8421,7 +8437,7 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8421
8437
  if (options) component.autocompleteOptions = options;
8422
8438
  if (style3) component.customStyles = style3;
8423
8439
  }, [options, placeholder, name, label, style3]);
8424
- useEffect22(() => {
8440
+ useEffect23(() => {
8425
8441
  const component = componentRef.current;
8426
8442
  if (component && value) {
8427
8443
  component.value = value;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@wavelengthusaf/components",
3
3
  "author": "563 EWS - Wavelength",
4
4
  "license": "MIT",
5
- "version": "4.5.2",
5
+ "version": "4.6.0",
6
6
  "description": "Common component library used by Wavelength developers",
7
7
  "main": "/dist/cjs/index.cjs",
8
8
  "module": "/dist/esm/index.js",
@@ -71,7 +71,7 @@
71
71
  "@emotion/styled": "^11.11.0",
72
72
  "@mui/icons-material": "^5.16.5",
73
73
  "@mui/material": "^5.15.7",
74
- "@wavelengthusaf/web-components": "^1.7.0",
74
+ "@wavelengthusaf/web-components": "^1.8.0",
75
75
  "react": "^18.2.0",
76
76
  "react-router-dom": "^6.26.2",
77
77
  "styled-components": "^6.1.12",