@wavelengthusaf/components 4.5.1 → 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.
@@ -4983,7 +4983,7 @@ var WavelengthFileDropZone = ({
4983
4983
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-file-drop-zone", { ref, style: mergedStyle, ...rest, children });
4984
4984
  };
4985
4985
 
4986
- // src/components/SnackBar/WavelengthWebSnackbar.tsx.tsx
4986
+ // src/components/SnackBar/WavelengthWebSnackbar.tsx
4987
4987
 
4988
4988
 
4989
4989
 
@@ -5007,8 +5007,14 @@ var WavelengthWebSnackbar = ({
5007
5007
  _react.useEffect.call(void 0, () => {
5008
5008
  const el = ref.current;
5009
5009
  if (!el) return;
5010
- if (message !== void 0) el.setAttribute("message", message);
5011
- else el.removeAttribute("message");
5010
+ if (message) {
5011
+ el.removeAttribute("message");
5012
+ requestAnimationFrame(() => {
5013
+ el.setAttribute("message", message);
5014
+ });
5015
+ } else {
5016
+ el.removeAttribute("message");
5017
+ }
5012
5018
  if (duration !== void 0) el.setAttribute("duration", String(duration));
5013
5019
  else el.removeAttribute("duration");
5014
5020
  }, [message, duration]);
@@ -5860,44 +5866,32 @@ WavelengthDefaultIcon.displayName = "WavelengthDefaultIcon";
5860
5866
  // src/components/CSFD/WavelengthManyPlanes.tsx
5861
5867
 
5862
5868
 
5863
- function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false, id }) {
5864
- let direction = "row-reverse";
5865
- let flippy = "";
5866
- const palette2 = getPalette();
5867
- const colorish = color2 ? color2 : palette2.primary;
5868
- if (trailDir !== "right") {
5869
- direction = "row";
5870
- flippy = "rotate(180)";
5871
- }
5872
- const PlaneGrid = ({ opacity: opacity2 }) => {
5873
- 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: [
5874
- /* @__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" }) }),
5875
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "g", { mask: "url(#mask0_56_851)", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5876
- "path",
5877
- {
5878
- 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",
5879
- fillOpacity: opacity2,
5880
- fill: colorish
5881
- }
5882
- ) })
5883
- ] }) });
5884
- };
5885
- const PlaneGridWrapper = (size, baseOpacity) => {
5886
- const planes = [];
5887
- if (gradient) {
5888
- for (let i = 0; i < size; i++) {
5889
- const currentOpacity = baseOpacity - i / (size - 1) * (baseOpacity - 0.05);
5890
- planes.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlaneGrid, { opacity: currentOpacity }, i));
5891
- }
5892
- } else {
5893
- for (let i = 0; i < size; i++) {
5894
- planes.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlaneGrid, { opacity: baseOpacity }, i));
5895
- }
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);
5896
5876
  }
5897
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Grid2.default, { container: true, alignItems: "center", flexDirection: direction, spacing: 3, id, children: planes });
5898
- };
5899
- return PlaneGridWrapper(numberOfPlanes, opacity);
5900
- }
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
+ };
5901
5895
  WavelengthManyPlanes.displayName = "WavelengthManyPlanes";
5902
5896
 
5903
5897
  // src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
@@ -6134,7 +6128,29 @@ WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
6134
6128
 
6135
6129
 
6136
6130
  var WavelengthDropdown = _react.forwardRef.call(void 0, (props, ref) => {
6137
- 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;
6138
6154
  const elementRef = _react.useRef.call(void 0, null);
6139
6155
  _react.useImperativeHandle.call(void 0, ref, () => elementRef.current);
6140
6156
  _react.useEffect.call(void 0, () => {
@@ -6160,14 +6176,20 @@ var WavelengthDropdown = _react.forwardRef.call(void 0, (props, ref) => {
6160
6176
  defaultValue,
6161
6177
  "font-size": fontSize,
6162
6178
  "font-family": fontFamily,
6179
+ "border-color": borderColor2,
6163
6180
  "border-radius": borderRadius2,
6164
6181
  width: width2,
6165
6182
  height: height2,
6166
6183
  color: textColor,
6167
6184
  "arrow-size": arrowSize,
6185
+ "arrow-color": arrowColor,
6168
6186
  "popup-radius": popupRadius,
6169
6187
  "popup-align": popupAlign,
6170
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,
6171
6193
  ...rest
6172
6194
  }
6173
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
@@ -4983,7 +4983,7 @@ var WavelengthFileDropZone = ({
4983
4983
  return /* @__PURE__ */ jsx14("wavelength-file-drop-zone", { ref, style: mergedStyle, ...rest, children });
4984
4984
  };
4985
4985
 
4986
- // src/components/SnackBar/WavelengthWebSnackbar.tsx.tsx
4986
+ // src/components/SnackBar/WavelengthWebSnackbar.tsx
4987
4987
  import { useEffect as useEffect4, useRef as useRef5 } from "react";
4988
4988
  import "@wavelengthusaf/web-components";
4989
4989
  import { jsx as jsx15 } from "react/jsx-runtime";
@@ -5007,8 +5007,14 @@ var WavelengthWebSnackbar = ({
5007
5007
  useEffect4(() => {
5008
5008
  const el = ref.current;
5009
5009
  if (!el) return;
5010
- if (message !== void 0) el.setAttribute("message", message);
5011
- else el.removeAttribute("message");
5010
+ if (message) {
5011
+ el.removeAttribute("message");
5012
+ requestAnimationFrame(() => {
5013
+ el.setAttribute("message", message);
5014
+ });
5015
+ } else {
5016
+ el.removeAttribute("message");
5017
+ }
5012
5018
  if (duration !== void 0) el.setAttribute("duration", String(duration));
5013
5019
  else el.removeAttribute("duration");
5014
5020
  }, [message, duration]);
@@ -5858,50 +5864,38 @@ function WavelengthDefaultIcon({ width: width2 = "180", height: height2 = 140, i
5858
5864
  WavelengthDefaultIcon.displayName = "WavelengthDefaultIcon";
5859
5865
 
5860
5866
  // src/components/CSFD/WavelengthManyPlanes.tsx
5861
- import Grid3 from "@mui/material/Grid";
5862
- import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
5863
- function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false, id }) {
5864
- let direction = "row-reverse";
5865
- let flippy = "";
5866
- const palette2 = getPalette();
5867
- const colorish = color2 ? color2 : palette2.primary;
5868
- if (trailDir !== "right") {
5869
- direction = "row";
5870
- flippy = "rotate(180)";
5871
- }
5872
- const PlaneGrid = ({ opacity: opacity2 }) => {
5873
- 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: [
5874
- /* @__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" }) }),
5875
- /* @__PURE__ */ jsx29("g", { mask: "url(#mask0_56_851)", children: /* @__PURE__ */ jsx29(
5876
- "path",
5877
- {
5878
- 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",
5879
- fillOpacity: opacity2,
5880
- fill: colorish
5881
- }
5882
- ) })
5883
- ] }) });
5884
- };
5885
- const PlaneGridWrapper = (size, baseOpacity) => {
5886
- const planes = [];
5887
- if (gradient) {
5888
- for (let i = 0; i < size; i++) {
5889
- const currentOpacity = baseOpacity - i / (size - 1) * (baseOpacity - 0.05);
5890
- planes.push(/* @__PURE__ */ jsx29(PlaneGrid, { opacity: currentOpacity }, i));
5891
- }
5892
- } else {
5893
- for (let i = 0; i < size; i++) {
5894
- planes.push(/* @__PURE__ */ jsx29(PlaneGrid, { opacity: baseOpacity }, i));
5895
- }
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);
5896
5876
  }
5897
- return /* @__PURE__ */ jsx29(Grid3, { container: true, alignItems: "center", flexDirection: direction, spacing: 3, id, children: planes });
5898
- };
5899
- return PlaneGridWrapper(numberOfPlanes, opacity);
5900
- }
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
+ };
5901
5895
  WavelengthManyPlanes.displayName = "WavelengthManyPlanes";
5902
5896
 
5903
5897
  // src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
5904
- import { useRef as useRef10, useEffect as useEffect9 } from "react";
5898
+ import { useRef as useRef11, useEffect as useEffect10 } from "react";
5905
5899
  import "@wavelengthusaf/web-components";
5906
5900
  import { jsx as jsx30 } from "react/jsx-runtime";
5907
5901
  var WavelengthPlaneTrail = ({
@@ -5914,8 +5908,8 @@ var WavelengthPlaneTrail = ({
5914
5908
  ...rest
5915
5909
  // This rest operator includes className, style, onClick, etc.
5916
5910
  }) => {
5917
- const ref = useRef10(null);
5918
- useEffect9(() => {
5911
+ const ref = useRef11(null);
5912
+ useEffect10(() => {
5919
5913
  const el = ref.current;
5920
5914
  if (!el) return;
5921
5915
  if (customStyle2 !== void 0) {
@@ -5937,13 +5931,13 @@ WavelengthPlaneTrail.displayName = "WavelengthPlaneTrail";
5937
5931
 
5938
5932
  // src/components/modals/WavelengthConfirmationModal.tsx
5939
5933
  import { Modal, Box as Box2 } from "@mui/material";
5940
- import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
5934
+ import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
5941
5935
  function WavelengthConfirmationModal(props) {
5942
5936
  const { show, setShow, id, name } = props;
5943
5937
  const handleClose = () => {
5944
5938
  setShow(false);
5945
5939
  };
5946
- return /* @__PURE__ */ jsx31(Modal, { open: show, onClose: handleClose, children: /* @__PURE__ */ jsxs18(
5940
+ return /* @__PURE__ */ jsx31(Modal, { open: show, onClose: handleClose, children: /* @__PURE__ */ jsxs17(
5947
5941
  Box2,
5948
5942
  {
5949
5943
  sx: {
@@ -5966,7 +5960,7 @@ function WavelengthConfirmationModal(props) {
5966
5960
  children: [
5967
5961
  /* @__PURE__ */ jsx31("p", { style: { margin: "0px", fontSize: "28px", fontWeight: 500, padding: "0px", marginBottom: "16px", fontFamily: props.fontFamily }, children: props.textObj?.title }),
5968
5962
  /* @__PURE__ */ jsx31("p", { style: { margin: "0px", fontSize: "16px", lineHeight: "19.2px", fontFamily: props.fontFamily, fontWeight: 400, height: "60px" }, children: props.textObj?.dialog }),
5969
- /* @__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: [
5970
5964
  props.cancelButton,
5971
5965
  props.submitButton
5972
5966
  ] })
@@ -5979,14 +5973,14 @@ WavelengthConfirmationModal.displayName = "WavelengthConfirmationModal";
5979
5973
  // src/components/modals/WavelengthContentModal.tsx
5980
5974
  import { Button as Button3, Dialog, DialogActions, DialogTitle, DialogContent, Typography as Typography3, IconButton as IconButton4, Box as Box3 } from "@mui/material";
5981
5975
  import CloseIcon from "@mui/icons-material/Close";
5982
- import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
5976
+ import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
5983
5977
  function WavelengthContentModal(props) {
5984
5978
  const { show, setShow, handleContentModalOnConfirmProp } = props;
5985
5979
  const handleClose = () => {
5986
5980
  setShow(false);
5987
5981
  };
5988
- 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: [
5989
- /* @__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: [
5990
5984
  /* @__PURE__ */ jsx32(Box3, { flexGrow: 1, children: props.textObj?.title }),
5991
5985
  /* @__PURE__ */ jsx32(Box3, { children: /* @__PURE__ */ jsx32(IconButton4, { onClick: handleClose, children: /* @__PURE__ */ jsx32(CloseIcon, {}) }) })
5992
5986
  ] }) }),
@@ -5997,7 +5991,7 @@ function WavelengthContentModal(props) {
5997
5991
  WavelengthContentModal.displayName = "WavelengthContentModal";
5998
5992
 
5999
5993
  // src/components/modals/WavelengthPopUpMenu.tsx
6000
- import React12 from "react";
5994
+ import React13 from "react";
6001
5995
  import Menu from "@mui/material/Menu";
6002
5996
  import MenuItem from "@mui/material/MenuItem";
6003
5997
  import Box4 from "@mui/material/Box";
@@ -6006,7 +6000,7 @@ import { HelpOutline } from "@mui/icons-material";
6006
6000
  import styled6 from "styled-components";
6007
6001
  import IconButton5 from "@mui/material/IconButton";
6008
6002
  import Divider from "@mui/material/Divider";
6009
- 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";
6010
6004
  var customStyle = { marginLeft: 16, marginRight: 16, marginTop: 8, marginBottom: 8 };
6011
6005
  var emailStyle = {
6012
6006
  marginLeft: 16,
@@ -6027,7 +6021,7 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6027
6021
  color: ${({ hoverColor }) => hoverColor || "inherit"};
6028
6022
  }
6029
6023
  `;
6030
- const [anchorEl, setAnchorEl] = React12.useState(null);
6024
+ const [anchorEl, setAnchorEl] = React13.useState(null);
6031
6025
  const open = Boolean(anchorEl);
6032
6026
  let icon;
6033
6027
  const handleClick = (event) => {
@@ -6043,9 +6037,9 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6043
6037
  }
6044
6038
  const anchor = menuDirection === "top" || menuDirection === void 0 ? "top" : "bottom";
6045
6039
  const transform = menuDirection === "top" || menuDirection === void 0 ? "bottom" : "top";
6046
- return /* @__PURE__ */ jsxs20(Fragment11, { children: [
6040
+ return /* @__PURE__ */ jsxs19(Fragment11, { children: [
6047
6041
  /* @__PURE__ */ jsx33(IconButton5, { onClick: handleClick, children: icon }),
6048
- /* @__PURE__ */ jsxs20(
6042
+ /* @__PURE__ */ jsxs19(
6049
6043
  Menu,
6050
6044
  {
6051
6045
  id,
@@ -6066,35 +6060,35 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6066
6060
  if (items.end === true) {
6067
6061
  if (items.itemType === "header") {
6068
6062
  if (items.link) {
6069
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6063
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6070
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 }) }) }),
6071
6065
  /* @__PURE__ */ jsx33(Divider, {})
6072
6066
  ] }, index);
6073
6067
  } else {
6074
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6068
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6075
6069
  /* @__PURE__ */ jsx33("p", { style: { marginLeft: 16, marginRight: 16, marginTop: 6, marginBottom: 6 }, children: /* @__PURE__ */ jsx33("span", { style: { fontWeight: "bold" }, children: items.label }) }),
6076
6070
  /* @__PURE__ */ jsx33(Divider, {})
6077
6071
  ] }, index);
6078
6072
  }
6079
6073
  } else if (items.itemType === "link") {
6080
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6074
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6081
6075
  /* @__PURE__ */ jsx33(MenuItem, { children: /* @__PURE__ */ jsx33(Links, { href: items.link, hoverColor: items.hoverColor, children: items.label }, index) }),
6082
6076
  /* @__PURE__ */ jsx33(Divider, {})
6083
6077
  ] }, index);
6084
6078
  } else {
6085
6079
  if (items.link) {
6086
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6080
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6087
6081
  /* @__PURE__ */ jsx33(MenuItem, { children: /* @__PURE__ */ jsx33("a", { style: { textDecoration: "none", color: "inherit" }, href: items.link, children: items.label }) }),
6088
6082
  /* @__PURE__ */ jsx33(Divider, {})
6089
6083
  ] }, index);
6090
6084
  } else {
6091
6085
  if (items.email) {
6092
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6086
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6093
6087
  /* @__PURE__ */ jsx33(Links, { href: items.email, style: emailStyle, children: items.label }),
6094
6088
  /* @__PURE__ */ jsx33(Divider, {})
6095
6089
  ] }, index);
6096
6090
  } else {
6097
- return /* @__PURE__ */ jsxs20(Box4, { children: [
6091
+ return /* @__PURE__ */ jsxs19(Box4, { children: [
6098
6092
  /* @__PURE__ */ jsx33("p", { style: customStyle, children: items.label }),
6099
6093
  /* @__PURE__ */ jsx33(Divider, {})
6100
6094
  ] }, index);
@@ -6131,13 +6125,35 @@ function WavelengthPopUpMenu({ menuItems, customIcon = false, width: width2, men
6131
6125
  WavelengthPopUpMenu.displayName = "WavelengthPopUpMenu";
6132
6126
 
6133
6127
  // src/components/modals/WavelengthDropdown.tsx
6134
- 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";
6135
6129
  import { jsx as jsx34 } from "react/jsx-runtime";
6136
6130
  var WavelengthDropdown = forwardRef((props, ref) => {
6137
- const { options, defaultValue, value, fontSize, fontFamily, borderRadius: borderRadius2, width: width2, height: height2, textColor, arrowSize, popupRadius, popupAlign, popupSelectedColor, onChange, ...rest } = props;
6138
- 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);
6139
6155
  useImperativeHandle2(ref, () => elementRef.current);
6140
- useEffect10(() => {
6156
+ useEffect11(() => {
6141
6157
  const el = elementRef.current;
6142
6158
  if (!el || !onChange) return;
6143
6159
  const handler = (e) => {
@@ -6147,7 +6163,7 @@ var WavelengthDropdown = forwardRef((props, ref) => {
6147
6163
  el.addEventListener("change", handler);
6148
6164
  return () => el.removeEventListener("change", handler);
6149
6165
  }, [onChange]);
6150
- useEffect10(() => {
6166
+ useEffect11(() => {
6151
6167
  if (value !== void 0 && elementRef.current) {
6152
6168
  elementRef.current.value = value;
6153
6169
  }
@@ -6160,14 +6176,20 @@ var WavelengthDropdown = forwardRef((props, ref) => {
6160
6176
  defaultValue,
6161
6177
  "font-size": fontSize,
6162
6178
  "font-family": fontFamily,
6179
+ "border-color": borderColor2,
6163
6180
  "border-radius": borderRadius2,
6164
6181
  width: width2,
6165
6182
  height: height2,
6166
6183
  color: textColor,
6167
6184
  "arrow-size": arrowSize,
6185
+ "arrow-color": arrowColor,
6168
6186
  "popup-radius": popupRadius,
6169
6187
  "popup-align": popupAlign,
6170
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,
6171
6193
  ...rest
6172
6194
  }
6173
6195
  );
@@ -6179,7 +6201,7 @@ import Snackbar from "@mui/material/Snackbar";
6179
6201
  import SnackbarContent from "@mui/material/SnackbarContent";
6180
6202
  import CloseIcon2 from "@mui/icons-material/Close";
6181
6203
  import { IconButton as IconButton6 } from "@mui/material";
6182
- import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
6204
+ import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
6183
6205
  function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor, textColor, horryAlign, vertyAlign, durationSb, width: width2, icon, id }) {
6184
6206
  const handleClose = () => {
6185
6207
  setShow(false);
@@ -6207,7 +6229,7 @@ function WavelengthSnackbar({ show, setShow, closeIcon, message, snackBarColor,
6207
6229
  display: "flex",
6208
6230
  width: width2
6209
6231
  },
6210
- message: /* @__PURE__ */ jsxs21("div", { children: [
6232
+ message: /* @__PURE__ */ jsxs20("div", { children: [
6211
6233
  /* @__PURE__ */ jsx35("span", { children: icon }),
6212
6234
  /* @__PURE__ */ jsx35("span", { id: "snackbar", children: message ? message : "Insert Message Here" })
6213
6235
  ] }),
@@ -6222,7 +6244,7 @@ WavelengthSnackbar.displayName = "WavelengthSnackbar";
6222
6244
  // src/components/snackbars/WavelengthStandardSnackbar.tsx
6223
6245
  import Snackbar2 from "@mui/material/Snackbar";
6224
6246
  import SnackbarContent2 from "@mui/material/SnackbarContent";
6225
- import { jsx as jsx36, jsxs as jsxs22 } from "react/jsx-runtime";
6247
+ import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
6226
6248
  function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign, durationSb, width: width2, message, customVertyAlign, toggleShow, closeIcon, id }) {
6227
6249
  const handleClose = () => {
6228
6250
  toggleShow(false);
@@ -6258,7 +6280,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
6258
6280
  //color: props.textColor ? props.textColor : palette.secondary,
6259
6281
  },
6260
6282
  sx: { paddingTop: "0px", paddingBottom: "0px" },
6261
- message: /* @__PURE__ */ jsxs22(
6283
+ message: /* @__PURE__ */ jsxs21(
6262
6284
  "div",
6263
6285
  {
6264
6286
  style: {
@@ -6267,7 +6289,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
6267
6289
  width: width2
6268
6290
  },
6269
6291
  children: [
6270
- /* @__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: [
6271
6293
  /* @__PURE__ */ jsx36("div", { style: { marginTop: "5px" }, children: sIcon }),
6272
6294
  /* @__PURE__ */ jsx36("div", { style: { fontSize: "1rem", marginLeft: "10px" }, children: message ? message : "Insert Message Here" })
6273
6295
  ] }),
@@ -6285,11 +6307,11 @@ WavelengthStandardSnackbar.displayName = "WavelengthStandardSnackbar";
6285
6307
  // src/components/snackbars/WavelengthTestSnackbar.tsx
6286
6308
  import Box5 from "@mui/material/Box";
6287
6309
  import Button4 from "@mui/material/Button";
6288
- import { useEffect as useEffect11, useRef as useRef12 } from "react";
6289
- 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";
6290
6312
  var useOutsideClick = (callback) => {
6291
- const ref = useRef12(null);
6292
- useEffect11(() => {
6313
+ const ref = useRef13(null);
6314
+ useEffect12(() => {
6293
6315
  const handleClickOutside = (event) => {
6294
6316
  if (ref.current && !ref.current.contains(event.target)) {
6295
6317
  callback();
@@ -6316,7 +6338,7 @@ function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, custom
6316
6338
  } else if (type === "disabled") {
6317
6339
  bgColor = "#737373";
6318
6340
  }
6319
- return /* @__PURE__ */ jsx37(Fragment12, { children: isPopUpOpen && /* @__PURE__ */ jsxs23(
6341
+ return /* @__PURE__ */ jsx37(Fragment12, { children: isPopUpOpen && /* @__PURE__ */ jsxs22(
6320
6342
  Box5,
6321
6343
  {
6322
6344
  id,
@@ -6390,12 +6412,12 @@ import IconButton7 from "@mui/material/IconButton";
6390
6412
  import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
6391
6413
  import NavigateNextIcon from "@mui/icons-material/NavigateNext";
6392
6414
  import Typography4 from "@mui/material/Typography";
6393
- import Grid4 from "@mui/material/Grid";
6415
+ import Grid3 from "@mui/material/Grid";
6394
6416
  import Card from "@mui/material/Card";
6395
6417
  import CardContent from "@mui/material/CardContent";
6396
6418
  import CardMedia from "@mui/material/CardMedia";
6397
6419
  import CardActionArea from "@mui/material/CardActionArea";
6398
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
6420
+ import { jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
6399
6421
  var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight, cardWidth, id, name }) => {
6400
6422
  const [currentIndex, setCurrentIndex] = useState4(0);
6401
6423
  const adjustButtonSize = buttonSize !== void 0 ? buttonSize : 70;
@@ -6412,8 +6434,8 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6412
6434
  const handleClick = () => {
6413
6435
  window.open(items[currentIndex].path, "_blank");
6414
6436
  };
6415
- return /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsxs24(
6416
- Grid4,
6437
+ return /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsxs23(
6438
+ Grid3,
6417
6439
  {
6418
6440
  container: true,
6419
6441
  spacing: 1,
@@ -6429,9 +6451,9 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6429
6451
  maxWidth: adjustCardWidth,
6430
6452
  maxHeight: adjustCardHeight
6431
6453
  },
6432
- children: /* @__PURE__ */ jsxs24(CardActionArea, { onClick: handleClick, children: [
6454
+ children: /* @__PURE__ */ jsxs23(CardActionArea, { onClick: handleClick, children: [
6433
6455
  /* @__PURE__ */ jsx39(CardMedia, { sx: { height: adjustImageHeight, width: adjustImageWidth }, image: items[currentIndex].image }),
6434
- /* @__PURE__ */ jsxs24(CardContent, { children: [
6456
+ /* @__PURE__ */ jsxs23(CardContent, { children: [
6435
6457
  /* @__PURE__ */ jsx39(Typography4, { variant: "h4", children: items[currentIndex].title }),
6436
6458
  /* @__PURE__ */ jsx39(Typography4, { variant: "body1", children: items[currentIndex].description })
6437
6459
  ] })
@@ -6446,18 +6468,18 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
6446
6468
  DefaultCarousel.displayName = "DefaultCarousel";
6447
6469
 
6448
6470
  // src/components/carousels/WavelengthSliderCarousel.tsx
6449
- import { useState as useState5, useEffect as useEffect13 } from "react";
6450
- import Grid5 from "@mui/material/Grid";
6471
+ import { useState as useState5, useEffect as useEffect14 } from "react";
6472
+ import Grid4 from "@mui/material/Grid";
6451
6473
  import Card2 from "@mui/material/Card";
6452
6474
  import CardContent2 from "@mui/material/CardContent";
6453
6475
  import CardMedia2 from "@mui/material/CardMedia";
6454
6476
  import CardActionArea2 from "@mui/material/CardActionArea";
6455
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
6477
+ import { jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
6456
6478
  var delay = 2500;
6457
6479
  var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth }) => {
6458
6480
  const [index, setIndex] = useState5(0);
6459
6481
  const [isHovered, setIsHovered] = useState5(false);
6460
- useEffect13(() => {
6482
+ useEffect14(() => {
6461
6483
  setTimeout(() => setIndex((prevIndex) => prevIndex === items.length - 1 ? 0 : prevIndex + 1), delay);
6462
6484
  return () => {
6463
6485
  };
@@ -6496,7 +6518,7 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
6496
6518
  }
6497
6519
  };
6498
6520
  return /* @__PURE__ */ jsx40("div", { style: styles.carouselcontainer, children: /* @__PURE__ */ jsx40("div", { className: "my-animation", style: styles.carouselTrackStyle, children: /* @__PURE__ */ jsx40(
6499
- Grid5,
6521
+ Grid4,
6500
6522
  {
6501
6523
  sx: {
6502
6524
  display: "flex",
@@ -6515,9 +6537,9 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
6515
6537
  },
6516
6538
  onMouseEnter: () => setIsHovered(true),
6517
6539
  onMouseLeave: () => setIsHovered(false),
6518
- children: /* @__PURE__ */ jsxs25(CardActionArea2, { href: card.path, children: [
6540
+ children: /* @__PURE__ */ jsxs24(CardActionArea2, { href: card.path, children: [
6519
6541
  /* @__PURE__ */ jsx40(CardMedia2, { sx: { height: adjustCardHeight, width: adjustCardWith }, image: card.image }),
6520
- /* @__PURE__ */ jsxs25(CardContent2, { children: [
6542
+ /* @__PURE__ */ jsxs24(CardContent2, { children: [
6521
6543
  /* @__PURE__ */ jsx40("h3", { children: card.title }),
6522
6544
  /* @__PURE__ */ jsx40("p", { children: card.description })
6523
6545
  ] })
@@ -6538,7 +6560,7 @@ import Button5 from "@mui/material/Button";
6538
6560
  import ArrowBackIosNewIcon from "@mui/icons-material/ArrowBackIosNew";
6539
6561
  import ArrowForwardIosIcon from "@mui/icons-material/ArrowForwardIos";
6540
6562
  import styled7 from "styled-components";
6541
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
6563
+ import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
6542
6564
  var MyDroplistItems = styled7("li")`
6543
6565
  background-color: white;
6544
6566
  color: #000000;
@@ -6582,14 +6604,14 @@ function WavelengthButtonPagination({ totalPages, current, handleChangePage, ite
6582
6604
  "&:disabled": { background: "rgb(226, 223, 223)" },
6583
6605
  "&.active": { background: "#8FD8FF" }
6584
6606
  };
6585
- return /* @__PURE__ */ jsxs26("div", { style: dropstyles.butPagCompDivStyle, id, children: [
6607
+ return /* @__PURE__ */ jsxs25("div", { style: dropstyles.butPagCompDivStyle, id, children: [
6586
6608
  /* @__PURE__ */ jsx41(Button5, { onClick: () => handleChangePage(current - 1), disabled: current === 1, sx: WLButtonPagStyle, children: /* @__PURE__ */ jsx41(ArrowBackIosNewIcon, {}) }),
6587
6609
  /* @__PURE__ */ jsx41("section", { style: dropstyles.rangenumbers, children: itemList.map(
6588
6610
  (item, index) => item === "..." && index === 1 ? (
6589
6611
  //first half ellipse with first half dropdown
6590
6612
  // dropdown
6591
6613
  // eslint-disable-next-line react/jsx-key
6592
- /* @__PURE__ */ jsxs26("div", { children: [
6614
+ /* @__PURE__ */ jsxs25("div", { children: [
6593
6615
  /* @__PURE__ */ jsx41(Button5, { onClick: () => toggleDropdown(1), className: current === index ? "active" : "", sx: WLButtonPagStyle, children: item }, index),
6594
6616
  isOpen && /* @__PURE__ */ jsx41("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx41("ul", { style: dropstyles.mydrop, children: firstEllipseList.map((item2) => /* @__PURE__ */ jsx41(
6595
6617
  MyDroplistItems,
@@ -6604,7 +6626,7 @@ function WavelengthButtonPagination({ totalPages, current, handleChangePage, ite
6604
6626
  ] })
6605
6627
  ) : item === "..." && index === 5 ? (
6606
6628
  //second half ellipse with second half dropdown
6607
- /* @__PURE__ */ jsxs26("div", { children: [
6629
+ /* @__PURE__ */ jsxs25("div", { children: [
6608
6630
  /* @__PURE__ */ jsx41(Button5, { onClick: () => toggleDropdown(5), className: current === index ? "active" : "", sx: WLButtonPagStyle, children: item }, index),
6609
6631
  isSecOpen && /* @__PURE__ */ jsx41("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx41("ul", { style: dropstyles.mydrop, children: secondEllipseList.map((item2) => /* @__PURE__ */ jsx41(
6610
6632
  MyDroplistItems,
@@ -6631,7 +6653,7 @@ import Button6 from "@mui/material/Button";
6631
6653
  import ArrowBackIosNewIcon2 from "@mui/icons-material/ArrowBackIosNew";
6632
6654
  import ArrowForwardIosIcon2 from "@mui/icons-material/ArrowForwardIos";
6633
6655
  import styled8 from "styled-components";
6634
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
6656
+ import { jsx as jsx42, jsxs as jsxs26 } from "react/jsx-runtime";
6635
6657
  function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList, id }) {
6636
6658
  const [isOpen, setIsOpen] = useState7(false);
6637
6659
  const [isSecOpen, setIsSecOpen] = useState7(false);
@@ -6673,13 +6695,13 @@ function WavelengthVariationPagination({ totalPages, current, variant, handleCha
6673
6695
  setIsSecOpen(!isSecOpen);
6674
6696
  }
6675
6697
  };
6676
- return /* @__PURE__ */ jsxs27("div", { style: dropstyles.pagination, id, children: [
6698
+ return /* @__PURE__ */ jsxs26("div", { style: dropstyles.pagination, id, children: [
6677
6699
  /* @__PURE__ */ jsx42(Button6, { onClick: () => handleChangePage(current - 1), variant, disabled: current === 1, children: /* @__PURE__ */ jsx42(ArrowBackIosNewIcon2, {}) }),
6678
6700
  /* @__PURE__ */ jsx42("section", { style: dropstyles.rangenumbers, children: itemList.map(
6679
6701
  (item, index) => item === "..." && index === 1 ? (
6680
6702
  //first half ellipse with first half dropdown
6681
6703
  // eslint-disable-next-line react/jsx-key
6682
- /* @__PURE__ */ jsxs27("div", { children: [
6704
+ /* @__PURE__ */ jsxs26("div", { children: [
6683
6705
  /* @__PURE__ */ jsx42(Button6, { onClick: () => toggleDropdown(1), variant, className: current === index ? "active" : "", children: item }, index),
6684
6706
  isOpen && /* @__PURE__ */ jsx42("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx42("ul", { style: dropstyles.mydrop, children: firstEllipseList.map((item2) => /* @__PURE__ */ jsx42(
6685
6707
  MyDroplistItems2,
@@ -6695,7 +6717,7 @@ function WavelengthVariationPagination({ totalPages, current, variant, handleCha
6695
6717
  ] })
6696
6718
  ) : item === "..." && index === 5 ? (
6697
6719
  //second half ellipse with second half dropdown
6698
- /* @__PURE__ */ jsxs27("div", { children: [
6720
+ /* @__PURE__ */ jsxs26("div", { children: [
6699
6721
  /* @__PURE__ */ jsx42(Button6, { onClick: () => toggleDropdown(5), variant, className: current === index ? "active" : "", children: item }, index),
6700
6722
  isSecOpen && /* @__PURE__ */ jsx42("div", { style: dropstyles.dropcenter, children: /* @__PURE__ */ jsx42("ul", { style: dropstyles.mydrop, children: secondEllipseList.map((item2) => /* @__PURE__ */ jsx42(
6701
6723
  MyDroplistItems2,
@@ -6829,7 +6851,7 @@ WavelengthDefaultPagination.displayName = "WavelengthDefaultPagination";
6829
6851
  var WavelengthDefaultPagination_default = WavelengthDefaultPagination;
6830
6852
 
6831
6853
  // src/components/TextField/WavelengthInput.tsx
6832
- 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";
6833
6855
  import "@wavelengthusaf/web-components";
6834
6856
  import { jsx as jsx44 } from "react/jsx-runtime";
6835
6857
  var WavelengthInput = forwardRef2(
@@ -6868,12 +6890,12 @@ var WavelengthInput = forwardRef2(
6868
6890
  onBlurCallback,
6869
6891
  ...rest
6870
6892
  }, ref) => {
6871
- const internalRef = useRef13(null);
6893
+ const internalRef = useRef14(null);
6872
6894
  useImperativeHandle3(ref, () => ({
6873
6895
  ...internalRef.current,
6874
6896
  validate: () => internalRef.current?.validate?.(true)
6875
6897
  }));
6876
- useEffect14(() => {
6898
+ useEffect15(() => {
6877
6899
  const el = internalRef.current;
6878
6900
  if (!el) return;
6879
6901
  const set = (attr, val) => {
@@ -6944,7 +6966,7 @@ var WavelengthInput = forwardRef2(
6944
6966
  label,
6945
6967
  disabled
6946
6968
  ]);
6947
- useEffect14(() => {
6969
+ useEffect15(() => {
6948
6970
  const el = internalRef.current;
6949
6971
  if (!el || !onBlurCallback) return;
6950
6972
  const handler = (e) => {
@@ -6956,7 +6978,7 @@ var WavelengthInput = forwardRef2(
6956
6978
  el.addEventListener("blur", handler);
6957
6979
  return () => el.removeEventListener("blur", handler);
6958
6980
  }, [onBlurCallback]);
6959
- useEffect14(() => {
6981
+ useEffect15(() => {
6960
6982
  const el = internalRef.current;
6961
6983
  if (!el || !onChange) return;
6962
6984
  const handler = (e) => {
@@ -6986,9 +7008,9 @@ WavelengthInput.displayName = "WavelengthInput";
6986
7008
  import { WavelengthInput as WavelengthInput2 } from "@wavelengthusaf/web-components";
6987
7009
 
6988
7010
  // src/components/DataTable/WavelengthDataTable.tsx
6989
- 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";
6990
7012
  import styled9 from "styled-components";
6991
- import { jsx as jsx45, jsxs as jsxs28 } from "react/jsx-runtime";
7013
+ import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
6992
7014
  var ModalInputDiv = styled9.div`
6993
7015
  display: flex;
6994
7016
  flex-direction: column; /* Corrected this line */
@@ -7167,8 +7189,8 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7167
7189
  const [currentPage, setCurrentPage] = useState9(1);
7168
7190
  const [isOpen, setIsOpen] = useState9(false);
7169
7191
  const [editingMenuKey, setEditingMenuKey] = useState9(null);
7170
- const menuRef = useRef14(null);
7171
- const modalRef = useRef14(null);
7192
+ const menuRef = useRef15(null);
7193
+ const modalRef = useRef15(null);
7172
7194
  function isNumeric(value) {
7173
7195
  return /^\d+$/.test(value);
7174
7196
  }
@@ -7176,7 +7198,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7176
7198
  setSelectedValue(event.target.value);
7177
7199
  setLocalData(copiedArray);
7178
7200
  };
7179
- useEffect15(() => {
7201
+ useEffect16(() => {
7180
7202
  if (!selectedValue || searchItem === "") {
7181
7203
  setLocalData(copiedArray);
7182
7204
  setNoRowsOpen(false);
@@ -7206,7 +7228,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7206
7228
  const closeModal = () => {
7207
7229
  setIsModalOpen(false);
7208
7230
  };
7209
- useEffect15(() => {
7231
+ useEffect16(() => {
7210
7232
  const handleClickOutside = (event) => {
7211
7233
  if (isModalOpen && modalRef.current && !modalRef.current.contains(event.target)) {
7212
7234
  closeModal();
@@ -7263,9 +7285,9 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7263
7285
  setEditingId(null);
7264
7286
  };
7265
7287
  const headers = columns.map((column, index) => {
7266
- return /* @__PURE__ */ jsxs28(TableHeadStyle, { children: [
7288
+ return /* @__PURE__ */ jsxs27(TableHeadStyle, { children: [
7267
7289
  column.title,
7268
- /* @__PURE__ */ jsxs28(KebabMenu, { ref: menuRef, children: [
7290
+ /* @__PURE__ */ jsxs27(KebabMenu, { ref: menuRef, children: [
7269
7291
  /* @__PURE__ */ jsx45(
7270
7292
  KebabIcon,
7271
7293
  {
@@ -7276,25 +7298,25 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7276
7298
  children: "\u22EE"
7277
7299
  }
7278
7300
  ),
7279
- isOpen && editingMenuKey === column.key && /* @__PURE__ */ jsxs28(MenuOptions, { children: [
7280
- 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: [
7281
7303
  /* @__PURE__ */ jsx45("span", { children: "\u2B06" }),
7282
7304
  " Sort ASC"
7283
- ] }) : /* @__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: [
7284
7306
  /* @__PURE__ */ jsx45("span", { children: "\u2B07" }),
7285
7307
  " Sort DESC"
7286
7308
  ] }),
7287
- /* @__PURE__ */ jsxs28("li", { title: `MenuListFilterButton-${index}`, onClick: openModal, children: [
7309
+ /* @__PURE__ */ jsxs27("li", { title: `MenuListFilterButton-${index}`, onClick: openModal, children: [
7288
7310
  /* @__PURE__ */ jsx45("span", { children: "\u23F7" }),
7289
7311
  " Filter"
7290
7312
  ] }),
7291
- isModalOpen && /* @__PURE__ */ jsx45(ModalOverlay, { children: /* @__PURE__ */ jsxs28(ModalWrapper, { ref: modalRef, children: [
7313
+ isModalOpen && /* @__PURE__ */ jsx45(ModalOverlay, { children: /* @__PURE__ */ jsxs27(ModalWrapper, { ref: modalRef, children: [
7292
7314
  /* @__PURE__ */ jsx45(ModalClose, { title: `ModalClose-${index}`, onClick: closeModal, children: "\xD7" }),
7293
- /* @__PURE__ */ jsxs28(ModalInputDiv, { children: [
7315
+ /* @__PURE__ */ jsxs27(ModalInputDiv, { children: [
7294
7316
  /* @__PURE__ */ jsx45("label", { htmlFor: "filterSelectId", children: "Columns: " }),
7295
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)) })
7296
7318
  ] }),
7297
- /* @__PURE__ */ jsxs28(ModalInputDiv, { children: [
7319
+ /* @__PURE__ */ jsxs27(ModalInputDiv, { children: [
7298
7320
  /* @__PURE__ */ jsx45("label", { htmlFor: "filterInputId", children: "Values: " }),
7299
7321
  /* @__PURE__ */ jsx45(
7300
7322
  "input",
@@ -7337,8 +7359,8 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages, id }) => {
7337
7359
  }
7338
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);
7339
7361
  }) }, item.id));
7340
- return /* @__PURE__ */ jsxs28("div", { id, children: [
7341
- /* @__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: [
7342
7364
  /* @__PURE__ */ jsx45("thead", { children: /* @__PURE__ */ jsx45("tr", { children: headers }) }),
7343
7365
  /* @__PURE__ */ jsx45("tbody", { children: rows })
7344
7366
  ] }) }),
@@ -7350,7 +7372,7 @@ WavelengthDataTable.displayName = "WavelengthDataTable";
7350
7372
  // src/components/DataTable/SubRowTable/ChildSubTable.tsx
7351
7373
  import { useMemo as useMemo3, useState as useState10, Fragment as Fragment13 } from "react";
7352
7374
  import styled10 from "styled-components";
7353
- 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";
7354
7376
  var TableContainer = styled10.div`
7355
7377
  width: 1200px;
7356
7378
  border-radius: 16px;
@@ -7587,15 +7609,15 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7587
7609
  return result;
7588
7610
  }, [data, sortKey, sortOrder, sortSubKey, sortSubOrder]);
7589
7611
  const renderSortButton = (column, sortOrder2, sortKey2) => {
7590
- 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: [
7591
7613
  column.title,
7592
7614
  " ",
7593
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" }) })
7594
- ] }) }) : /* @__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: [
7595
7617
  column.title,
7596
7618
  " ",
7597
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" }) })
7598
- ] }) }) : /* @__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: [
7599
7621
  column.title,
7600
7622
  " ",
7601
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" }) })
@@ -7603,15 +7625,15 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7603
7625
  };
7604
7626
  const renderSortSubButton = (column, sortSubOrder2, sortSubKey2) => {
7605
7627
  const columnKey = trimBeforePeriod2(column.key);
7606
- 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: [
7607
7629
  column.title,
7608
7630
  " ",
7609
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" }) })
7610
- ] }) : /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7632
+ ] }) : /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7611
7633
  column.title,
7612
7634
  " ",
7613
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" }) })
7614
- ] }) : /* @__PURE__ */ jsxs29(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7636
+ ] }) : /* @__PURE__ */ jsxs28(SortButton, { $sortColor: "white", onClick: () => toggleSubSortOrder(columnKey), children: [
7615
7637
  column.title,
7616
7638
  " ",
7617
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" }) })
@@ -7624,7 +7646,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7624
7646
  return /* @__PURE__ */ jsx46("th", { children: renderSortSubButton(column, sortSubOrder, sortSubKey) }, `SubHeadCell-${index}`);
7625
7647
  });
7626
7648
  const subDataRows = (itemId) => {
7627
- 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: [
7628
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(
7629
7651
  "path",
7630
7652
  {
@@ -7641,16 +7663,16 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7641
7663
  })
7642
7664
  ] }, `${item}-${item.Details?.relationId}-${fileItem.id}-${index}`)) }, `SDR-${item.id}-${item.Details?.relationId}`));
7643
7665
  };
7644
- const dataRows = processedRowData?.map((item, index) => /* @__PURE__ */ jsxs29(BodyRowContainer, { children: [
7666
+ const dataRows = processedRowData?.map((item, index) => /* @__PURE__ */ jsxs28(BodyRowContainer, { children: [
7645
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}`)) }),
7646
- /* @__PURE__ */ jsxs29(ButtonStylingRow, { children: [
7668
+ /* @__PURE__ */ jsxs28(ButtonStylingRow, { children: [
7647
7669
  /* @__PURE__ */ jsx46(DownloadMissionButton, { onClick: downloadMissionOnClick, children: "Download Mission" }),
7648
7670
  /* @__PURE__ */ jsx46(AddButton, { onClick: addFilesOnClick, children: "Add files" })
7649
7671
  ] }),
7650
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" }) }) }),
7651
- openRow === item.id && /* @__PURE__ */ jsxs29("div", { children: [
7652
- /* @__PURE__ */ jsxs29(SubDataTable, { children: [
7653
- /* @__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: [
7654
7676
  /* @__PURE__ */ jsx46("th", {}),
7655
7677
  SubDataHeaders
7656
7678
  ] }) }),
@@ -7659,7 +7681,7 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7659
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" }) }) })
7660
7682
  ] })
7661
7683
  ] }, `Bodycontainer-${item.id}-${index}`));
7662
- return /* @__PURE__ */ jsxs29(TableContainer, { children: [
7684
+ return /* @__PURE__ */ jsxs28(TableContainer, { children: [
7663
7685
  /* @__PURE__ */ jsx46(TablePrimaryRow, { $amountofColumns: HeadColumns.length, children: headers }),
7664
7686
  /* @__PURE__ */ jsx46("div", { title: "tablebodies", children: dataRows })
7665
7687
  ] });
@@ -7667,14 +7689,14 @@ var ChildDataTable = ({ data, columns, downloadArrowOnClick, downloadMissionOnCl
7667
7689
  ChildDataTable.displayName = "ChildDataTable";
7668
7690
 
7669
7691
  // src/components/DataTable/SubRowTable/ChildDataTable.tsx
7670
- import { useRef as useRef15, useEffect as useEffect16 } from "react";
7692
+ import { useRef as useRef16, useEffect as useEffect17 } from "react";
7671
7693
  import "@wavelengthusaf/web-components";
7672
7694
  import { createRoot } from "react-dom/client";
7673
7695
  import { jsx as jsx47 } from "react/jsx-runtime";
7674
7696
  var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdownButtonIcon, ...rest }) => {
7675
- const tableRef = useRef15(null);
7676
- const reactDropdownRoots = useRef15(/* @__PURE__ */ new Map());
7677
- useEffect16(() => {
7697
+ const tableRef = useRef16(null);
7698
+ const reactDropdownRoots = useRef16(/* @__PURE__ */ new Map());
7699
+ useEffect17(() => {
7678
7700
  const customChildDataTableElement = tableRef.current;
7679
7701
  if (!customChildDataTableElement) return;
7680
7702
  if (columns !== void 0) customChildDataTableElement.setColumns = columns;
@@ -7683,7 +7705,7 @@ var ChildDataTable2 = ({ columns, data, dropdownArrowLocation, sortIcon, dropdow
7683
7705
  if (sortIcon !== void 0) customChildDataTableElement.setSortIcon = sortIcon;
7684
7706
  if (dropdownButtonIcon !== void 0) customChildDataTableElement.setDropdownButtonIcon = dropdownButtonIcon;
7685
7707
  }, [columns, data, dropdownArrowLocation, sortIcon, dropdownButtonIcon]);
7686
- useEffect16(() => {
7708
+ useEffect17(() => {
7687
7709
  const el = tableRef.current;
7688
7710
  if (!el) return;
7689
7711
  const handleReactDropdown = (event) => {
@@ -7730,7 +7752,7 @@ import { ChildDataTable as ChildDataTable3 } from "@wavelengthusaf/web-component
7730
7752
  // src/components/DataTable/NestedDataTable/NestedDataTable.tsx
7731
7753
  import { useState as useState11 } from "react";
7732
7754
  import styled11 from "styled-components";
7733
- 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";
7734
7756
  var TableStyle = styled11.table`
7735
7757
  width: 100%;
7736
7758
  height: 100%;
@@ -7830,12 +7852,12 @@ var NestedDataTable = ({ data, columns, id }) => {
7830
7852
  return /* @__PURE__ */ jsx48("td", { children: /* @__PURE__ */ jsx48("span", { children: value }) }, `Span-${item.id}-${colIndex}`);
7831
7853
  }
7832
7854
  }) }, `Sub-${item.id}-${index}`) }));
7833
- const childRows = /* @__PURE__ */ jsxs30(SubTableStyle, { children: [
7855
+ const childRows = /* @__PURE__ */ jsxs29(SubTableStyle, { children: [
7834
7856
  /* @__PURE__ */ jsx48("thead", { children: /* @__PURE__ */ jsx48("tr", { children: SubDataHeaders }) }),
7835
7857
  /* @__PURE__ */ jsx48("tbody", { children: subDataRows })
7836
7858
  ] });
7837
- 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: [
7838
- /* @__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: [
7839
7861
  /* @__PURE__ */ jsx48(DropdownButton, { onClick: () => toggleDropdown(index), children: isAscending && isOpen && primaryRowIndex === index ? /* @__PURE__ */ jsx48(Fragment15, { children: "\u2227" }) : /* @__PURE__ */ jsx48(Fragment15, { children: "\u2228" }) }),
7840
7862
  HeadColumns.map((column, index2) => {
7841
7863
  return /* @__PURE__ */ jsx48(PrimaryTdSpan, { children: /* @__PURE__ */ jsx48("span", { title: `spanRow-${item.id}-${column.key}-${index2}`, children: item[column.key] }) }, `${item.id}-${index}=${index2}`);
@@ -7843,8 +7865,8 @@ var NestedDataTable = ({ data, columns, id }) => {
7843
7865
  ] }, index),
7844
7866
  isOpen && primaryRowIndex === index && /* @__PURE__ */ jsx48(SubTrRows, { $index: index, children: /* @__PURE__ */ jsx48("td", { colSpan: HeadColumns.length + 1, children: childRows }) }, index)
7845
7867
  ] }));
7846
- return /* @__PURE__ */ jsx48("div", { id, children: /* @__PURE__ */ jsxs30(TableStyle, { children: [
7847
- /* @__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: [
7848
7870
  /* @__PURE__ */ jsx48("th", { title: "dropdownth" }),
7849
7871
  headers
7850
7872
  ] }) }),
@@ -7854,9 +7876,9 @@ var NestedDataTable = ({ data, columns, id }) => {
7854
7876
  NestedDataTable.displayName = "NestedDataTable";
7855
7877
 
7856
7878
  // src/components/AutoComplete/WavelengthAutoComplete.tsx
7857
- 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";
7858
7880
  import styled12 from "styled-components";
7859
- 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";
7860
7882
  var AutoContainer = styled12.div`
7861
7883
  //position: relative;
7862
7884
  position: relative;
@@ -7985,9 +8007,9 @@ var WavelengthAutoComplete = ({
7985
8007
  placeholder,
7986
8008
  onBlurCallback
7987
8009
  }) => {
7988
- const inputRef = useRef17(null);
7989
- const listRef = useRef17(null);
7990
- const noItemListRef = useRef17(null);
8010
+ const inputRef = useRef18(null);
8011
+ const listRef = useRef18(null);
8012
+ const noItemListRef = useRef18(null);
7991
8013
  const [inputValue, setInputValue] = useState12(placeholder ?? "");
7992
8014
  const [suggestions, setSuggestions] = useState12([]);
7993
8015
  const [isDropdownVisible, setIsDropdownVisible] = useState12(false);
@@ -7995,7 +8017,7 @@ var WavelengthAutoComplete = ({
7995
8017
  const arrayLength = suggestions.length;
7996
8018
  const [focusedIndex, setFocusedIndex] = useState12(0);
7997
8019
  const idName = id ? id : "auto-comp";
7998
- useEffect17(() => {
8020
+ useEffect18(() => {
7999
8021
  const handleClickOutsideList = (event) => {
8000
8022
  if (listRef.current && !listRef.current.contains(event.target)) {
8001
8023
  setIsDropdownVisible(false);
@@ -8007,7 +8029,7 @@ var WavelengthAutoComplete = ({
8007
8029
  };
8008
8030
  }, [focusedIndex]);
8009
8031
  if (onDataChange !== void 0) {
8010
- useEffect17(() => {
8032
+ useEffect18(() => {
8011
8033
  onDataChange(inputValue);
8012
8034
  }, [inputValue]);
8013
8035
  }
@@ -8073,8 +8095,8 @@ var WavelengthAutoComplete = ({
8073
8095
  break;
8074
8096
  }
8075
8097
  };
8076
- return /* @__PURE__ */ jsx49(Fragment16, { children: /* @__PURE__ */ jsxs31(AutoContainer, { $inputHeight: height2, $inputWidth: width2, children: [
8077
- /* @__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: [
8078
8100
  /* @__PURE__ */ jsx49(
8079
8101
  Input,
8080
8102
  {
@@ -8127,9 +8149,9 @@ var WavelengthAutoComplete = ({
8127
8149
  WavelengthAutoComplete.displayName = "WavelengthAutoComplete";
8128
8150
 
8129
8151
  // src/components/inputs/WavelengthDatePicker.tsx
8130
- import { useEffect as useEffect18, useState as useState13 } from "react";
8152
+ import { useEffect as useEffect19, useState as useState13 } from "react";
8131
8153
  import styled13 from "styled-components";
8132
- import { jsx as jsx50, jsxs as jsxs32 } from "react/jsx-runtime";
8154
+ import { jsx as jsx50, jsxs as jsxs31 } from "react/jsx-runtime";
8133
8155
  var Label2 = styled13.label`
8134
8156
  position: absolute;
8135
8157
  top: 50%;
@@ -8201,7 +8223,7 @@ var WavelengthDatePicker = ({
8201
8223
  const [minAdjusted, setMinAdjusted] = useState13("");
8202
8224
  const [maxAdjusted, setMaxAdjusted] = useState13("");
8203
8225
  const idName = id ? id : "WlDatePick";
8204
- useEffect18(() => {
8226
+ useEffect19(() => {
8205
8227
  const minDate = new Date(min || "");
8206
8228
  const maxDate = new Date(max || "");
8207
8229
  if (inputTimeType === "datetime-local") {
@@ -8240,7 +8262,7 @@ var WavelengthDatePicker = ({
8240
8262
  setValue(dateString);
8241
8263
  if (OnDataChange !== void 0) OnDataChange(new Date(dateString));
8242
8264
  };
8243
- return /* @__PURE__ */ jsxs32(
8265
+ return /* @__PURE__ */ jsxs31(
8244
8266
  InputWrapper2,
8245
8267
  {
8246
8268
  id: `${idName}-inputWrapper`,
@@ -8284,7 +8306,7 @@ WavelengthDatePicker.displayName = "WavelengthDatePicker";
8284
8306
  import { WavelengthDatePicker as WavelengthDatePicker2 } from "@wavelengthusaf/web-components";
8285
8307
 
8286
8308
  // src/components/inputs/WavelengthCheckbox.tsx
8287
- import { useRef as useRef18, useEffect as useEffect19 } from "react";
8309
+ import { useRef as useRef19, useEffect as useEffect20 } from "react";
8288
8310
  import "@wavelengthusaf/web-components";
8289
8311
  import { jsx as jsx51 } from "react/jsx-runtime";
8290
8312
  var WavelengthCheckbox = ({
@@ -8296,8 +8318,8 @@ var WavelengthCheckbox = ({
8296
8318
  textSize,
8297
8319
  ...rest
8298
8320
  }) => {
8299
- const ref = useRef18(null);
8300
- useEffect19(() => {
8321
+ const ref = useRef19(null);
8322
+ useEffect20(() => {
8301
8323
  const el = ref.current;
8302
8324
  if (!el) return;
8303
8325
  if (size !== void 0) {
@@ -8326,7 +8348,7 @@ var WavelengthCheckbox = ({
8326
8348
  WavelengthCheckbox.displayName = "WavelengthCheckbox";
8327
8349
 
8328
8350
  // src/components/samples/SampleComponent.tsx
8329
- import { useRef as useRef19, useEffect as useEffect20 } from "react";
8351
+ import { useRef as useRef20, useEffect as useEffect21 } from "react";
8330
8352
  import { jsx as jsx52 } from "react/jsx-runtime";
8331
8353
  var SampleComponent = ({
8332
8354
  testProp,
@@ -8336,8 +8358,8 @@ var SampleComponent = ({
8336
8358
  ...rest
8337
8359
  // This rest operator includes className, style, onClick, etc.
8338
8360
  }) => {
8339
- const ref = useRef19(null);
8340
- useEffect20(() => {
8361
+ const ref = useRef20(null);
8362
+ useEffect21(() => {
8341
8363
  const el = ref.current;
8342
8364
  if (!el) return;
8343
8365
  el.customStyles = customStyle2;
@@ -8350,7 +8372,7 @@ var SampleComponent = ({
8350
8372
  SampleComponent.displayName = "SampleComponent";
8351
8373
 
8352
8374
  // src/components/NotificationPanel/WavelengthNotificationPanel.tsx
8353
- import { useRef as useRef20, useEffect as useEffect21 } from "react";
8375
+ import { useRef as useRef21, useEffect as useEffect22 } from "react";
8354
8376
  import "@wavelengthusaf/web-components";
8355
8377
  import { jsx as jsx53 } from "react/jsx-runtime";
8356
8378
  var WavelengthNotificationPanel = ({
@@ -8361,8 +8383,8 @@ var WavelengthNotificationPanel = ({
8361
8383
  ...rest
8362
8384
  // This rest operator includes className, style, onClick, etc.
8363
8385
  }) => {
8364
- const ref = useRef20(null);
8365
- useEffect21(() => {
8386
+ const ref = useRef21(null);
8387
+ useEffect22(() => {
8366
8388
  const el = ref.current;
8367
8389
  if (!el) return;
8368
8390
  if (notifications !== void 0) {
@@ -8388,11 +8410,11 @@ var WavelengthNotificationPanel = ({
8388
8410
  import { SampleComponent as SampleComponent2 } from "@wavelengthusaf/web-components";
8389
8411
 
8390
8412
  // src/components/MultiSelect/WavelengthMultiSelectAutocomplete.tsx
8391
- import { useEffect as useEffect22, useRef as useRef21 } from "react";
8413
+ import { useEffect as useEffect23, useRef as useRef22 } from "react";
8392
8414
  import { jsx as jsx54 } from "react/jsx-runtime";
8393
8415
  var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Options", label, name, style: style3, onChange, value, disabled, ...rest }) => {
8394
- const componentRef = useRef21(null);
8395
- useEffect22(() => {
8416
+ const componentRef = useRef22(null);
8417
+ useEffect23(() => {
8396
8418
  const component = componentRef.current;
8397
8419
  if (!component) return;
8398
8420
  const handleValueChange = (event) => {
@@ -8405,7 +8427,7 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8405
8427
  component.removeEventListener("change", handleValueChange);
8406
8428
  };
8407
8429
  }, [onChange]);
8408
- useEffect22(() => {
8430
+ useEffect23(() => {
8409
8431
  const component = componentRef.current;
8410
8432
  if (!component) return;
8411
8433
  if (placeholder) component.setAttribute("placeholder", placeholder);
@@ -8415,7 +8437,7 @@ var WavelengthMultiSelectAutocomplete = ({ options, placeholder = "Select Option
8415
8437
  if (options) component.autocompleteOptions = options;
8416
8438
  if (style3) component.customStyles = style3;
8417
8439
  }, [options, placeholder, name, label, style3]);
8418
- useEffect22(() => {
8440
+ useEffect23(() => {
8419
8441
  const component = componentRef.current;
8420
8442
  if (component && value) {
8421
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.1",
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",