@wavelengthusaf/components 2.10.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/cjs/index.cjs +84 -77
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +22 -21
- package/dist/esm/index.d.ts +22 -21
- package/dist/esm/index.js +96 -89
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -4431,13 +4431,13 @@ function WavelengthSearch({
|
|
|
4431
4431
|
return void 0;
|
|
4432
4432
|
}
|
|
4433
4433
|
|
|
4434
|
-
// src/components/search/
|
|
4434
|
+
// src/components/search/WavelengthSearchTextField.tsx
|
|
4435
4435
|
import styled5 from "@emotion/styled";
|
|
4436
4436
|
import TextField3 from "@mui/material/TextField";
|
|
4437
4437
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
4438
|
-
function
|
|
4438
|
+
function WavelengthSearchTextField() {
|
|
4439
4439
|
const palette2 = getPalette();
|
|
4440
|
-
const
|
|
4440
|
+
const WavelengthSearchTextField2 = styled5(TextField3)(() => ({
|
|
4441
4441
|
"&.MuiTextField-root": {
|
|
4442
4442
|
"& label.Mui-focused": {
|
|
4443
4443
|
color: `${palette2.primary}`
|
|
@@ -4455,12 +4455,12 @@ function SearchTextField() {
|
|
|
4455
4455
|
}
|
|
4456
4456
|
}
|
|
4457
4457
|
}));
|
|
4458
|
-
return /* @__PURE__ */ jsx9(
|
|
4458
|
+
return /* @__PURE__ */ jsx9(WavelengthSearchTextField2, {});
|
|
4459
4459
|
}
|
|
4460
4460
|
|
|
4461
|
-
// src/components/logos/applogo/
|
|
4461
|
+
// src/components/logos/applogo/WavelengthAppLogo.tsx
|
|
4462
4462
|
import { Fragment as Fragment5, jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4463
|
-
function
|
|
4463
|
+
function WavelengthAppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
|
|
4464
4464
|
let logo;
|
|
4465
4465
|
{
|
|
4466
4466
|
}
|
|
@@ -4904,17 +4904,17 @@ function AppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
|
|
|
4904
4904
|
}
|
|
4905
4905
|
return /* @__PURE__ */ jsx10("div", { children: logo });
|
|
4906
4906
|
}
|
|
4907
|
-
var
|
|
4907
|
+
var WavelengthAppLogo_default = WavelengthAppLogo;
|
|
4908
4908
|
|
|
4909
|
-
// src/components/PageComponents/
|
|
4909
|
+
// src/components/PageComponents/WavelengthNotAvailablePage.tsx
|
|
4910
4910
|
import { Fragment as Fragment6, jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4911
|
-
function
|
|
4911
|
+
function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor: backgroundColor2, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }) {
|
|
4912
4912
|
backgroundColor2 = backgroundColor2 ? backgroundColor2 : "gray";
|
|
4913
|
-
|
|
4913
|
+
WavelengthAppLogoName = WavelengthAppLogoName ? WavelengthAppLogoName : "563rdpatch";
|
|
4914
4914
|
buttonColorOne = buttonColorOne ? buttonColorOne : "white";
|
|
4915
4915
|
buttonColorTwo = buttonColorTwo ? buttonColorTwo : "#0D5288";
|
|
4916
4916
|
return /* @__PURE__ */ jsx11(Fragment6, { children: /* @__PURE__ */ jsxs6("div", { id, style: { display: "flex", backgroundColor: backgroundColor2, flexDirection: "column", alignItems: "center", height: "100%", justifyContent: "center", gap: 55, padding: "8%" }, children: [
|
|
4917
|
-
/* @__PURE__ */ jsx11(
|
|
4917
|
+
/* @__PURE__ */ jsx11(WavelengthAppLogo_default, { name: WavelengthAppLogoName, width: 300, height: 200, grayscale: true }),
|
|
4918
4918
|
/* @__PURE__ */ jsxs6("div", { style: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [
|
|
4919
4919
|
/* @__PURE__ */ jsx11("p", { style: { textAlign: "center", marginBottom: 45, fontSize: 40, color: "white" }, children: `${errorMessage}` }),
|
|
4920
4920
|
/* @__PURE__ */ jsx11(WavelengthButton2, { "data-testid": "not-available-button", variant: "contained", colorOne: buttonColorOne, colorTwo: buttonColorTwo, href: redirectLink, children: buttonText })
|
|
@@ -5344,10 +5344,7 @@ function WavelengthAccessAlert({
|
|
|
5344
5344
|
children: [
|
|
5345
5345
|
/* @__PURE__ */ jsx19("div", { style: { fontSize: "8px", fontWeight: 400, position: "absolute", top: "5px", right: "12px" }, children: time }),
|
|
5346
5346
|
/* @__PURE__ */ jsx19("div", { style: { fontWeight: 700, fontSize: "12px", color: "rgba(248, 136, 5, 1)", marginTop: "5px", marginLeft: "5px", gridArea: "1/2/1/3" }, children: access }),
|
|
5347
|
-
/* @__PURE__ */
|
|
5348
|
-
/* @__PURE__ */ jsx19(AppLogo_default, { name: appLogo, width: 22 }),
|
|
5349
|
-
" "
|
|
5350
|
-
] }),
|
|
5347
|
+
/* @__PURE__ */ jsx19("div", { style: { gridArea: "2/1/3/2" }, children: /* @__PURE__ */ jsx19(WavelengthAppLogo_default, { name: appLogo, width: 22 }) }),
|
|
5351
5348
|
/* @__PURE__ */ jsxs14("div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", gap: "4px", marginLeft: "5px" }, children: [
|
|
5352
5349
|
/* @__PURE__ */ jsxs14("label", { htmlFor: "", children: [
|
|
5353
5350
|
"Requestor: ",
|
|
@@ -5391,7 +5388,8 @@ function WavelengthAccessAlert({
|
|
|
5391
5388
|
access
|
|
5392
5389
|
] }),
|
|
5393
5390
|
/* @__PURE__ */ jsxs14("div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
5394
|
-
|
|
5391
|
+
" ",
|
|
5392
|
+
/* @__PURE__ */ jsx19(WavelengthAppLogo_default, { name: appLogo, width: 22 }),
|
|
5395
5393
|
" "
|
|
5396
5394
|
] }),
|
|
5397
5395
|
/* @__PURE__ */ jsxs14("div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
@@ -5428,7 +5426,7 @@ function WavelengthAccessAlert({
|
|
|
5428
5426
|
access
|
|
5429
5427
|
] }),
|
|
5430
5428
|
/* @__PURE__ */ jsxs14("div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
5431
|
-
/* @__PURE__ */ jsx19(
|
|
5429
|
+
/* @__PURE__ */ jsx19(WavelengthAppLogo_default, { name: appLogo, width: 22 }),
|
|
5432
5430
|
" "
|
|
5433
5431
|
] }),
|
|
5434
5432
|
/* @__PURE__ */ jsxs14("div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
@@ -5461,7 +5459,6 @@ function WavelengthAlert({
|
|
|
5461
5459
|
variant,
|
|
5462
5460
|
timeStamp,
|
|
5463
5461
|
url,
|
|
5464
|
-
initiator,
|
|
5465
5462
|
id,
|
|
5466
5463
|
onClose
|
|
5467
5464
|
}) {
|
|
@@ -5536,12 +5533,8 @@ function WavelengthAlert({
|
|
|
5536
5533
|
/* @__PURE__ */ jsx20(NotificationsIcon, { sx: iconStyle }),
|
|
5537
5534
|
/* @__PURE__ */ jsxs15("a", { href: url, style: { display: "flex", flexDirection: "column", gap: "7px", width: "250px", marginLeft: "12px", textDecoration: "none", color: baseContainerStyle.color }, children: [
|
|
5538
5535
|
/* @__PURE__ */ jsx20("label", { style: { fontSize: "16px", lineHeight: "24px", letterSpacing: "0.15px", fontWeight: 550 }, children: alertType }),
|
|
5539
|
-
/* @__PURE__ */ jsx20("div", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", letterSpacing: "0.25px", width: "200px" }, children:
|
|
5540
|
-
/* @__PURE__ */
|
|
5541
|
-
/* @__PURE__ */ jsx20("span", { style: { fontWeight: 550 }, children: "Initiator: " }),
|
|
5542
|
-
" ",
|
|
5543
|
-
initiator
|
|
5544
|
-
] })
|
|
5536
|
+
/* @__PURE__ */ jsx20("div", { style: { fontSize: "14px", fontWeight: 400, lineHeight: "20px", letterSpacing: "0.25px", width: "200px" }, children: appName }),
|
|
5537
|
+
/* @__PURE__ */ jsx20("div", { style: { fontSize: "14px", lineHeight: "20px", fontWeight: 400 }, children: alertDescription })
|
|
5545
5538
|
] }),
|
|
5546
5539
|
/* @__PURE__ */ jsxs15(
|
|
5547
5540
|
"div",
|
|
@@ -5651,10 +5644,42 @@ function WavelengthBanner2({ headerText = "CLASSIFICATION//CONTROL", headerColor
|
|
|
5651
5644
|
return /* @__PURE__ */ jsx23("wavelength-banner", { ref });
|
|
5652
5645
|
}
|
|
5653
5646
|
|
|
5654
|
-
// src/components/
|
|
5655
|
-
import Grid3 from "@mui/material/Grid";
|
|
5647
|
+
// src/components/logos/default/WavelengthDefaultIcon.tsx
|
|
5656
5648
|
import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5657
|
-
function
|
|
5649
|
+
function WavelengthDefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5650
|
+
return /* @__PURE__ */ jsx24("div", { children: /* @__PURE__ */ jsxs17("svg", { width: width2, height: height2, viewBox: "0 0 185 140", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5651
|
+
/* @__PURE__ */ jsx24("rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5652
|
+
/* @__PURE__ */ jsx24(
|
|
5653
|
+
"path",
|
|
5654
|
+
{
|
|
5655
|
+
d: "M63.5 14.618L77.2811 57.0319L77.3934 57.3774H77.7566H122.353L86.2738 83.5906L85.9799 83.8042L86.0922 84.1497L99.8733 126.564L63.7939 100.35L63.5 100.137L63.2061 100.35L27.1267 126.564L40.9078 84.1497L41.0201 83.8042L40.7262 83.5906L4.64675 57.3774H49.2434H49.6066L49.7189 57.0319L63.5 14.618Z",
|
|
5656
|
+
fill: "url(#paint0_linear_3571_2148)",
|
|
5657
|
+
fillOpacity: ".0.5",
|
|
5658
|
+
stroke: "#6B6B6B"
|
|
5659
|
+
}
|
|
5660
|
+
),
|
|
5661
|
+
/* @__PURE__ */ jsx24("rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5662
|
+
/* @__PURE__ */ jsx24("line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5663
|
+
/* @__PURE__ */ jsx24("line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5664
|
+
/* @__PURE__ */ jsx24("line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5665
|
+
/* @__PURE__ */ jsx24("line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5666
|
+
/* @__PURE__ */ jsx24("line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5667
|
+
/* @__PURE__ */ jsx24("line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5668
|
+
/* @__PURE__ */ jsx24("circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5669
|
+
/* @__PURE__ */ jsx24("path", { d: "M76 44.2478C76 59.5749 63.4645 72 48.0011 72C48.0011 72 49 19.5 49 16C49 16 20 16 20 44.2478C35.4634 44.2478 76 44.2478 76 44.2478Z", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5670
|
+
/* @__PURE__ */ jsx24("rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5671
|
+
/* @__PURE__ */ jsx24("rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5672
|
+
/* @__PURE__ */ jsx24("defs", { children: /* @__PURE__ */ jsxs17("linearGradient", { id: "paint0_linear_3571_2148", x1: "63.5", y1: "13", x2: "63.5", y2: "140", gradientUnits: "userSpaceOnUse", children: [
|
|
5673
|
+
/* @__PURE__ */ jsx24("stop", { stopColor: "#A1A1A1" }),
|
|
5674
|
+
/* @__PURE__ */ jsx24("stop", { offset: "1", stopColor: "#606060" })
|
|
5675
|
+
] }) })
|
|
5676
|
+
] }) });
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
// src/components/CSFD/WavelengthManyPlanes.tsx
|
|
5680
|
+
import Grid3 from "@mui/material/Grid";
|
|
5681
|
+
import { jsx as jsx25, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5682
|
+
function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false }) {
|
|
5658
5683
|
let direction = "row-reverse";
|
|
5659
5684
|
let flippy = "";
|
|
5660
5685
|
const palette2 = getPalette();
|
|
@@ -5664,9 +5689,9 @@ function ManyPlanesComponent({ numberOfPlanes = 5, trailDir = "left", color: col
|
|
|
5664
5689
|
flippy = "rotate(180)";
|
|
5665
5690
|
}
|
|
5666
5691
|
const PlaneGrid = ({ opacity: opacity2 }) => {
|
|
5667
|
-
return /* @__PURE__ */
|
|
5668
|
-
/* @__PURE__ */
|
|
5669
|
-
/* @__PURE__ */
|
|
5692
|
+
return /* @__PURE__ */ jsx25(Grid3, { item: true, children: /* @__PURE__ */ jsxs18("svg", { width: "40", height: "40", viewBox: "0 0 40 40", transform: flippy, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5693
|
+
/* @__PURE__ */ jsx25("mask", { id: "mask0_56_851", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "40", height: "40", children: /* @__PURE__ */ jsx25("rect", { x: "40", width: "40", height: "40", transform: "rotate(90 40 0)", fill: "#D9D9D9" }) }),
|
|
5694
|
+
/* @__PURE__ */ jsx25("g", { mask: "url(#mask0_56_851)", children: /* @__PURE__ */ jsx25(
|
|
5670
5695
|
"path",
|
|
5671
5696
|
{
|
|
5672
5697
|
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",
|
|
@@ -5681,50 +5706,18 @@ function ManyPlanesComponent({ numberOfPlanes = 5, trailDir = "left", color: col
|
|
|
5681
5706
|
if (gradient) {
|
|
5682
5707
|
for (let i = 0; i < size; i++) {
|
|
5683
5708
|
const currentOpacity = baseOpacity - i / (size - 1) * (baseOpacity - 0.05);
|
|
5684
|
-
planes.push(/* @__PURE__ */
|
|
5709
|
+
planes.push(/* @__PURE__ */ jsx25(PlaneGrid, { opacity: currentOpacity }, i));
|
|
5685
5710
|
}
|
|
5686
5711
|
} else {
|
|
5687
5712
|
for (let i = 0; i < size; i++) {
|
|
5688
|
-
planes.push(/* @__PURE__ */
|
|
5713
|
+
planes.push(/* @__PURE__ */ jsx25(PlaneGrid, { opacity: baseOpacity }, i));
|
|
5689
5714
|
}
|
|
5690
5715
|
}
|
|
5691
|
-
return /* @__PURE__ */
|
|
5716
|
+
return /* @__PURE__ */ jsx25(Grid3, { container: true, alignItems: "center", flexDirection: direction, spacing: 3, children: planes });
|
|
5692
5717
|
};
|
|
5693
5718
|
return PlaneGridWrapper(numberOfPlanes, opacity);
|
|
5694
5719
|
}
|
|
5695
5720
|
|
|
5696
|
-
// src/components/logos/default/DefaultDisplay.tsx
|
|
5697
|
-
import { jsx as jsx25, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5698
|
-
function DefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5699
|
-
return /* @__PURE__ */ jsx25("div", { children: /* @__PURE__ */ jsxs18("svg", { width: width2, height: height2, viewBox: "0 0 185 140", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5700
|
-
/* @__PURE__ */ jsx25("rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5701
|
-
/* @__PURE__ */ jsx25(
|
|
5702
|
-
"path",
|
|
5703
|
-
{
|
|
5704
|
-
d: "M63.5 14.618L77.2811 57.0319L77.3934 57.3774H77.7566H122.353L86.2738 83.5906L85.9799 83.8042L86.0922 84.1497L99.8733 126.564L63.7939 100.35L63.5 100.137L63.2061 100.35L27.1267 126.564L40.9078 84.1497L41.0201 83.8042L40.7262 83.5906L4.64675 57.3774H49.2434H49.6066L49.7189 57.0319L63.5 14.618Z",
|
|
5705
|
-
fill: "url(#paint0_linear_3571_2148)",
|
|
5706
|
-
fillOpacity: ".0.5",
|
|
5707
|
-
stroke: "#6B6B6B"
|
|
5708
|
-
}
|
|
5709
|
-
),
|
|
5710
|
-
/* @__PURE__ */ jsx25("rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5711
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5712
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5713
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5714
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5715
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5716
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5717
|
-
/* @__PURE__ */ jsx25("circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5718
|
-
/* @__PURE__ */ jsx25("path", { d: "M76 44.2478C76 59.5749 63.4645 72 48.0011 72C48.0011 72 49 19.5 49 16C49 16 20 16 20 44.2478C35.4634 44.2478 76 44.2478 76 44.2478Z", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5719
|
-
/* @__PURE__ */ jsx25("rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5720
|
-
/* @__PURE__ */ jsx25("rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5721
|
-
/* @__PURE__ */ jsx25("defs", { children: /* @__PURE__ */ jsxs18("linearGradient", { id: "paint0_linear_3571_2148", x1: "63.5", y1: "13", x2: "63.5", y2: "140", gradientUnits: "userSpaceOnUse", children: [
|
|
5722
|
-
/* @__PURE__ */ jsx25("stop", { stopColor: "#A1A1A1" }),
|
|
5723
|
-
/* @__PURE__ */ jsx25("stop", { offset: "1", stopColor: "#606060" })
|
|
5724
|
-
] }) })
|
|
5725
|
-
] }) });
|
|
5726
|
-
}
|
|
5727
|
-
|
|
5728
5721
|
// src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
|
|
5729
5722
|
import Divider from "@mui/material/Divider";
|
|
5730
5723
|
import Grid4 from "@mui/material/Grid";
|
|
@@ -6182,7 +6175,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
|
|
|
6182
6175
|
);
|
|
6183
6176
|
}
|
|
6184
6177
|
|
|
6185
|
-
// src/components/snackbars/
|
|
6178
|
+
// src/components/snackbars/WavelengthTestSnackbar.tsx
|
|
6186
6179
|
import Box6 from "@mui/material/Box";
|
|
6187
6180
|
import Button4 from "@mui/material/Button";
|
|
6188
6181
|
import { useEffect as useEffect4, useRef as useRef5 } from "react";
|
|
@@ -6204,7 +6197,7 @@ var useOutsideClick = (callback) => {
|
|
|
6204
6197
|
}, [callback]);
|
|
6205
6198
|
return ref;
|
|
6206
6199
|
};
|
|
6207
|
-
function
|
|
6200
|
+
function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width: width2, img }) {
|
|
6208
6201
|
const ref = useOutsideClick(() => {
|
|
6209
6202
|
toggleOpen(false);
|
|
6210
6203
|
});
|
|
@@ -6340,7 +6333,7 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
6340
6333
|
) }) });
|
|
6341
6334
|
};
|
|
6342
6335
|
|
|
6343
|
-
// src/components/carousels/
|
|
6336
|
+
// src/components/carousels/WavelengthSliderCarousel.tsx
|
|
6344
6337
|
import { useState as useState5, useEffect as useEffect6 } from "react";
|
|
6345
6338
|
import Grid6 from "@mui/material/Grid";
|
|
6346
6339
|
import Card2 from "@mui/material/Card";
|
|
@@ -6423,10 +6416,10 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
6423
6416
|
) }) });
|
|
6424
6417
|
};
|
|
6425
6418
|
|
|
6426
|
-
// src/components/pagination/
|
|
6419
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6427
6420
|
import { useState as useState8, useMemo } from "react";
|
|
6428
6421
|
|
|
6429
|
-
// src/components/pagination/
|
|
6422
|
+
// src/components/pagination/WavelengthButtonPagination.tsx
|
|
6430
6423
|
import { useState as useState6 } from "react";
|
|
6431
6424
|
import Button5 from "@mui/material/Button";
|
|
6432
6425
|
import ArrowBackIosNewIcon from "@mui/icons-material/ArrowBackIosNew";
|
|
@@ -6445,7 +6438,7 @@ var MyDroplistItems = styled8("li")`
|
|
|
6445
6438
|
background-color: lightgray;
|
|
6446
6439
|
}
|
|
6447
6440
|
`;
|
|
6448
|
-
function
|
|
6441
|
+
function WavelengthButtonPagination({ totalPages, current, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6449
6442
|
const [isOpen, setIsOpen] = useState6(false);
|
|
6450
6443
|
const [isSecOpen, setIsSecOpen] = useState6(false);
|
|
6451
6444
|
const toggleDropdown = (index) => {
|
|
@@ -6535,16 +6528,16 @@ function ButtonPagination({ totalPages, current, handleChangePage, itemList, fir
|
|
|
6535
6528
|
/* @__PURE__ */ jsx37(Button5, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, sx: WLButtonPagStyle, children: /* @__PURE__ */ jsx37(ArrowForwardIosIcon, {}) })
|
|
6536
6529
|
] });
|
|
6537
6530
|
}
|
|
6538
|
-
var
|
|
6531
|
+
var WavelengthButtonPagination_default = WavelengthButtonPagination;
|
|
6539
6532
|
|
|
6540
|
-
// src/components/pagination/
|
|
6533
|
+
// src/components/pagination/WavelengthVariationPagination.tsx
|
|
6541
6534
|
import { useState as useState7 } from "react";
|
|
6542
6535
|
import Button6 from "@mui/material/Button";
|
|
6543
6536
|
import ArrowBackIosNewIcon2 from "@mui/icons-material/ArrowBackIosNew";
|
|
6544
6537
|
import ArrowForwardIosIcon2 from "@mui/icons-material/ArrowForwardIos";
|
|
6545
6538
|
import styled9 from "styled-components";
|
|
6546
6539
|
import { jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6547
|
-
function
|
|
6540
|
+
function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6548
6541
|
const [isOpen, setIsOpen] = useState7(false);
|
|
6549
6542
|
const [isSecOpen, setIsSecOpen] = useState7(false);
|
|
6550
6543
|
const MyDroplistItems2 = styled9("li")`
|
|
@@ -6626,9 +6619,9 @@ function VariationPagination({ totalPages, current, variant, handleChangePage, i
|
|
|
6626
6619
|
/* @__PURE__ */ jsx38(Button6, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, variant, children: /* @__PURE__ */ jsx38(ArrowForwardIosIcon2, {}) })
|
|
6627
6620
|
] });
|
|
6628
6621
|
}
|
|
6629
|
-
var
|
|
6622
|
+
var WavelengthVariationPagination_default = WavelengthVariationPagination;
|
|
6630
6623
|
|
|
6631
|
-
// src/components/pagination/
|
|
6624
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6632
6625
|
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
6633
6626
|
var range = (start, end) => {
|
|
6634
6627
|
const length = end - start + 1;
|
|
@@ -6667,10 +6660,20 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6667
6660
|
}
|
|
6668
6661
|
};
|
|
6669
6662
|
if (style3 === "circular") {
|
|
6670
|
-
return /* @__PURE__ */ jsx39(
|
|
6663
|
+
return /* @__PURE__ */ jsx39(
|
|
6664
|
+
WavelengthButtonPagination_default,
|
|
6665
|
+
{
|
|
6666
|
+
totalPages,
|
|
6667
|
+
current,
|
|
6668
|
+
handleChangePage,
|
|
6669
|
+
itemList,
|
|
6670
|
+
firstEllipseList,
|
|
6671
|
+
secondEllipseList
|
|
6672
|
+
}
|
|
6673
|
+
);
|
|
6671
6674
|
} else if (style3 === "text") {
|
|
6672
6675
|
return /* @__PURE__ */ jsx39(
|
|
6673
|
-
|
|
6676
|
+
WavelengthVariationPagination_default,
|
|
6674
6677
|
{
|
|
6675
6678
|
totalPages,
|
|
6676
6679
|
current,
|
|
@@ -6683,7 +6686,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6683
6686
|
);
|
|
6684
6687
|
} else if (style3 === "outlined") {
|
|
6685
6688
|
return /* @__PURE__ */ jsx39(
|
|
6686
|
-
|
|
6689
|
+
WavelengthVariationPagination_default,
|
|
6687
6690
|
{
|
|
6688
6691
|
totalPages,
|
|
6689
6692
|
current,
|
|
@@ -6696,7 +6699,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6696
6699
|
);
|
|
6697
6700
|
} else if (style3 === "contained") {
|
|
6698
6701
|
return /* @__PURE__ */ jsx39(
|
|
6699
|
-
|
|
6702
|
+
WavelengthVariationPagination_default,
|
|
6700
6703
|
{
|
|
6701
6704
|
totalPages,
|
|
6702
6705
|
current,
|
|
@@ -6709,7 +6712,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6709
6712
|
);
|
|
6710
6713
|
} else {
|
|
6711
6714
|
return /* @__PURE__ */ jsx39(
|
|
6712
|
-
|
|
6715
|
+
WavelengthVariationPagination_default,
|
|
6713
6716
|
{
|
|
6714
6717
|
totalPages,
|
|
6715
6718
|
current,
|
|
@@ -6721,7 +6724,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6721
6724
|
);
|
|
6722
6725
|
}
|
|
6723
6726
|
}
|
|
6724
|
-
var
|
|
6727
|
+
var WavelengthDefaultPagination_default = DefaultPagination;
|
|
6725
6728
|
|
|
6726
6729
|
// src/components/TextField/WavelengthTextField.tsx
|
|
6727
6730
|
import { useCallback, useState as useState9 } from "react";
|
|
@@ -6790,6 +6793,8 @@ function WavelengthTextField(props) {
|
|
|
6790
6793
|
return /* @__PURE__ */ jsx40(
|
|
6791
6794
|
TextField4,
|
|
6792
6795
|
{
|
|
6796
|
+
value: props.value,
|
|
6797
|
+
inputRef: props.inputRef,
|
|
6793
6798
|
type: props.type,
|
|
6794
6799
|
required: props.required,
|
|
6795
6800
|
label: props.label,
|
|
@@ -6832,6 +6837,8 @@ function WavelengthTextField(props) {
|
|
|
6832
6837
|
/* @__PURE__ */ jsx40(
|
|
6833
6838
|
StandardTextField,
|
|
6834
6839
|
{
|
|
6840
|
+
value: props.value,
|
|
6841
|
+
ref: props.inputRef,
|
|
6835
6842
|
type: props.type,
|
|
6836
6843
|
id: "custom-input",
|
|
6837
6844
|
placeholder: props.placeholder,
|
|
@@ -7212,7 +7219,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages }) => {
|
|
|
7212
7219
|
/* @__PURE__ */ jsx41("thead", { children: /* @__PURE__ */ jsx41("tr", { children: headers }) }),
|
|
7213
7220
|
/* @__PURE__ */ jsx41("tbody", { children: rows })
|
|
7214
7221
|
] }) }),
|
|
7215
|
-
/* @__PURE__ */ jsx41(StyledNavBoxDiv, { children: /* @__PURE__ */ jsx41(
|
|
7222
|
+
/* @__PURE__ */ jsx41(StyledNavBoxDiv, { children: /* @__PURE__ */ jsx41(WavelengthDefaultPagination_default, { totalPages, currentPageNumber: currentPage, onPageChange: setCurrentPage, style: "circular" }) })
|
|
7216
7223
|
] });
|
|
7217
7224
|
};
|
|
7218
7225
|
|
|
@@ -7236,20 +7243,15 @@ var SampleComponent2 = ({
|
|
|
7236
7243
|
return /* @__PURE__ */ jsx42("sample-component", { ref, ...rest, children });
|
|
7237
7244
|
};
|
|
7238
7245
|
export {
|
|
7239
|
-
AppLogo,
|
|
7240
7246
|
ButtonIcon,
|
|
7241
7247
|
ButtonMenu,
|
|
7242
7248
|
DefaultCarousel,
|
|
7243
|
-
DefaultIcon,
|
|
7244
7249
|
DefaultPagination,
|
|
7245
|
-
ManyPlanesComponent,
|
|
7246
|
-
NotAvailablePage,
|
|
7247
7250
|
SampleComponent2 as SampleComponent,
|
|
7248
|
-
SearchTextField,
|
|
7249
7251
|
SliderCardCarousel,
|
|
7250
|
-
TestSnackbar,
|
|
7251
7252
|
WavelengthAccessAlert,
|
|
7252
7253
|
WavelengthAlert,
|
|
7254
|
+
WavelengthAppLogo,
|
|
7253
7255
|
WavelengthAppTheme,
|
|
7254
7256
|
WavelengthAutocomplete,
|
|
7255
7257
|
WavelengthBanner2 as WavelengthBanner,
|
|
@@ -7260,17 +7262,21 @@ export {
|
|
|
7260
7262
|
WavelengthContentModal,
|
|
7261
7263
|
WavelengthContentPlaceholder,
|
|
7262
7264
|
WavelengthDataTable,
|
|
7265
|
+
WavelengthDefaultIcon,
|
|
7263
7266
|
WavelengthDragAndDrop,
|
|
7264
7267
|
WavelengthDropdown,
|
|
7265
7268
|
WavelengthDropdownButton,
|
|
7266
7269
|
WavelengthExampleComponent,
|
|
7267
7270
|
WavelengthFileDownloader,
|
|
7268
7271
|
WavelengthFooter,
|
|
7272
|
+
WavelengthManyPlanes,
|
|
7273
|
+
WavelengthNotAvailablePage,
|
|
7269
7274
|
WavelengthPermissionAlert,
|
|
7270
7275
|
WavelengthPlaneTrail,
|
|
7271
7276
|
WavelengthPopUpMenu,
|
|
7272
7277
|
WavelengthProgressBar,
|
|
7273
7278
|
WavelengthSearch,
|
|
7279
|
+
WavelengthSearchTextField,
|
|
7274
7280
|
WavelengthSideBar,
|
|
7275
7281
|
WavelengthSlider,
|
|
7276
7282
|
WavelengthSnackbar,
|
|
@@ -7278,6 +7284,7 @@ export {
|
|
|
7278
7284
|
WavelengthSpinningOuterCircle,
|
|
7279
7285
|
WavelengthStandardSnackbar,
|
|
7280
7286
|
WavelengthStyledButton,
|
|
7287
|
+
WavelengthTestSnackbar,
|
|
7281
7288
|
WavelengthTextField,
|
|
7282
7289
|
WavelengthTitleBar2 as WavelengthTitleBar,
|
|
7283
7290
|
add,
|