@wavelengthusaf/components 2.10.2 → 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 +19 -0
- package/dist/cjs/index.cjs +78 -70
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +15 -15
- package/dist/esm/index.d.ts +15 -15
- package/dist/esm/index.js +90 -82
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -159,10 +159,10 @@ interface SearchProps {
|
|
|
159
159
|
}
|
|
160
160
|
declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, clearIconMarginRight, }: SearchProps): react_jsx_runtime.JSX.Element | undefined;
|
|
161
161
|
|
|
162
|
-
declare function
|
|
162
|
+
declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
|
|
163
163
|
|
|
164
|
-
interface
|
|
165
|
-
|
|
164
|
+
interface WavelengthNotAvailablePageProps {
|
|
165
|
+
WavelengthAppLogoName?: string;
|
|
166
166
|
errorMessage: string;
|
|
167
167
|
backgroundColor?: string;
|
|
168
168
|
buttonText: string;
|
|
@@ -171,7 +171,7 @@ interface NotAvailablePageProps {
|
|
|
171
171
|
buttonColorTwo?: string;
|
|
172
172
|
id?: string;
|
|
173
173
|
}
|
|
174
|
-
declare function
|
|
174
|
+
declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
|
|
175
175
|
|
|
176
176
|
interface SubSectionItem {
|
|
177
177
|
title?: string;
|
|
@@ -331,14 +331,20 @@ interface WavelengthBannerProps {
|
|
|
331
331
|
}
|
|
332
332
|
declare function WavelengthBanner({ headerText, headerColor, textColor, opacity, zIndex, id }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
333
333
|
|
|
334
|
-
interface
|
|
334
|
+
interface WavelengthAppLogoProps {
|
|
335
335
|
width?: number;
|
|
336
336
|
height?: number;
|
|
337
337
|
name?: string;
|
|
338
338
|
grayscale?: boolean;
|
|
339
339
|
id?: string;
|
|
340
340
|
}
|
|
341
|
-
declare function
|
|
341
|
+
declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
|
|
342
|
+
|
|
343
|
+
interface DefaultProps {
|
|
344
|
+
width?: string;
|
|
345
|
+
height?: number;
|
|
346
|
+
}
|
|
347
|
+
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
342
348
|
|
|
343
349
|
interface HeaderProps {
|
|
344
350
|
numberOfPlanes?: number;
|
|
@@ -347,13 +353,7 @@ interface HeaderProps {
|
|
|
347
353
|
opacity?: number;
|
|
348
354
|
gradient?: boolean;
|
|
349
355
|
}
|
|
350
|
-
declare function
|
|
351
|
-
|
|
352
|
-
interface DefaultProps {
|
|
353
|
-
width?: string;
|
|
354
|
-
height?: number;
|
|
355
|
-
}
|
|
356
|
-
declare function DefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
356
|
+
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
357
357
|
|
|
358
358
|
interface WavelengthPlaneTrailProps {
|
|
359
359
|
trailDir?: "right" | "left";
|
|
@@ -475,7 +475,7 @@ interface Testprops {
|
|
|
475
475
|
customVertyAlign?: string;
|
|
476
476
|
}
|
|
477
477
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
478
|
-
declare function
|
|
478
|
+
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
|
|
479
479
|
|
|
480
480
|
interface sliderProps {
|
|
481
481
|
width?: string;
|
|
@@ -585,4 +585,4 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
585
585
|
}
|
|
586
586
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ButtonIcon, ButtonMenu, DefaultCarousel, DefaultPagination, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -159,10 +159,10 @@ interface SearchProps {
|
|
|
159
159
|
}
|
|
160
160
|
declare function WavelengthSearch({ id, mode, type, width, height, label, size, borderRadius, children, placeholder, onEnter, onSearchItemSelected, options, onChange, borderColor, hoverColor, textColor, fontSize, backgroundColor, iconPos, clearIconMarginRight, }: SearchProps): react_jsx_runtime.JSX.Element | undefined;
|
|
161
161
|
|
|
162
|
-
declare function
|
|
162
|
+
declare function WavelengthSearchTextField(): react_jsx_runtime.JSX.Element;
|
|
163
163
|
|
|
164
|
-
interface
|
|
165
|
-
|
|
164
|
+
interface WavelengthNotAvailablePageProps {
|
|
165
|
+
WavelengthAppLogoName?: string;
|
|
166
166
|
errorMessage: string;
|
|
167
167
|
backgroundColor?: string;
|
|
168
168
|
buttonText: string;
|
|
@@ -171,7 +171,7 @@ interface NotAvailablePageProps {
|
|
|
171
171
|
buttonColorTwo?: string;
|
|
172
172
|
id?: string;
|
|
173
173
|
}
|
|
174
|
-
declare function
|
|
174
|
+
declare function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }: WavelengthNotAvailablePageProps): react_jsx_runtime.JSX.Element;
|
|
175
175
|
|
|
176
176
|
interface SubSectionItem {
|
|
177
177
|
title?: string;
|
|
@@ -331,14 +331,20 @@ interface WavelengthBannerProps {
|
|
|
331
331
|
}
|
|
332
332
|
declare function WavelengthBanner({ headerText, headerColor, textColor, opacity, zIndex, id }: WavelengthBannerProps): react_jsx_runtime.JSX.Element;
|
|
333
333
|
|
|
334
|
-
interface
|
|
334
|
+
interface WavelengthAppLogoProps {
|
|
335
335
|
width?: number;
|
|
336
336
|
height?: number;
|
|
337
337
|
name?: string;
|
|
338
338
|
grayscale?: boolean;
|
|
339
339
|
id?: string;
|
|
340
340
|
}
|
|
341
|
-
declare function
|
|
341
|
+
declare function WavelengthAppLogo({ width, height, name, grayscale, id }: WavelengthAppLogoProps): react_jsx_runtime.JSX.Element;
|
|
342
|
+
|
|
343
|
+
interface DefaultProps {
|
|
344
|
+
width?: string;
|
|
345
|
+
height?: number;
|
|
346
|
+
}
|
|
347
|
+
declare function WavelengthDefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
342
348
|
|
|
343
349
|
interface HeaderProps {
|
|
344
350
|
numberOfPlanes?: number;
|
|
@@ -347,13 +353,7 @@ interface HeaderProps {
|
|
|
347
353
|
opacity?: number;
|
|
348
354
|
gradient?: boolean;
|
|
349
355
|
}
|
|
350
|
-
declare function
|
|
351
|
-
|
|
352
|
-
interface DefaultProps {
|
|
353
|
-
width?: string;
|
|
354
|
-
height?: number;
|
|
355
|
-
}
|
|
356
|
-
declare function DefaultIcon({ width, height }: DefaultProps): react_jsx_runtime.JSX.Element;
|
|
356
|
+
declare function WavelengthManyPlanes({ numberOfPlanes, trailDir, color, opacity, gradient }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
357
357
|
|
|
358
358
|
interface WavelengthPlaneTrailProps {
|
|
359
359
|
trailDir?: "right" | "left";
|
|
@@ -475,7 +475,7 @@ interface Testprops {
|
|
|
475
475
|
customVertyAlign?: string;
|
|
476
476
|
}
|
|
477
477
|
declare const useOutsideClick: (callback: () => void) => React__default.RefObject<HTMLDivElement>;
|
|
478
|
-
declare function
|
|
478
|
+
declare function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width, img }: Testprops): react_jsx_runtime.JSX.Element;
|
|
479
479
|
|
|
480
480
|
interface sliderProps {
|
|
481
481
|
width?: string;
|
|
@@ -585,4 +585,4 @@ interface SampleComponentProps extends React__default.HTMLAttributes<HTMLElement
|
|
|
585
585
|
}
|
|
586
586
|
declare const SampleComponent: React__default.FC<SampleComponentProps>;
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ButtonIcon, ButtonMenu, DefaultCarousel, DefaultPagination, SampleComponent, type SearchProps, type SearchResult, SliderCardCarousel, type StyledButtonPropsTwo, type ThemeProperties, WavelengthAccessAlert, WavelengthAlert, WavelengthAppLogo, WavelengthAppTheme, WavelengthAutocomplete, WavelengthBanner, WavelengthBox, WavelengthButton, type WavelengthButtonProps, WavelengthCommentDisplay, WavelengthConfirmationModal, WavelengthContentModal, WavelengthContentPlaceholder, WavelengthDataTable, WavelengthDefaultIcon, WavelengthDragAndDrop, WavelengthDropdown, WavelengthDropdownButton, WavelengthExampleComponent, WavelengthFileDownloader, WavelengthFooter, WavelengthManyPlanes, WavelengthNotAvailablePage, WavelengthPermissionAlert, WavelengthPlaneTrail, WavelengthPopUpMenu, WavelengthProgressBar, WavelengthSearch, WavelengthSearchTextField, WavelengthSideBar, WavelengthSlider, WavelengthSnackbar, WavelengthSpinningLogo, WavelengthSpinningOuterCircle, WavelengthStandardSnackbar, WavelengthStyledButton, WavelengthTestSnackbar, WavelengthTextField, WavelengthTitleBar, add, ascendingRange, concat, findBestStringMatch, type menuItemProps, range, useOutsideClick, useThemeContext };
|
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: [
|
|
@@ -5646,10 +5644,42 @@ function WavelengthBanner2({ headerText = "CLASSIFICATION//CONTROL", headerColor
|
|
|
5646
5644
|
return /* @__PURE__ */ jsx23("wavelength-banner", { ref });
|
|
5647
5645
|
}
|
|
5648
5646
|
|
|
5649
|
-
// src/components/
|
|
5650
|
-
import Grid3 from "@mui/material/Grid";
|
|
5647
|
+
// src/components/logos/default/WavelengthDefaultIcon.tsx
|
|
5651
5648
|
import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5652
|
-
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 }) {
|
|
5653
5683
|
let direction = "row-reverse";
|
|
5654
5684
|
let flippy = "";
|
|
5655
5685
|
const palette2 = getPalette();
|
|
@@ -5659,9 +5689,9 @@ function ManyPlanesComponent({ numberOfPlanes = 5, trailDir = "left", color: col
|
|
|
5659
5689
|
flippy = "rotate(180)";
|
|
5660
5690
|
}
|
|
5661
5691
|
const PlaneGrid = ({ opacity: opacity2 }) => {
|
|
5662
|
-
return /* @__PURE__ */
|
|
5663
|
-
/* @__PURE__ */
|
|
5664
|
-
/* @__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(
|
|
5665
5695
|
"path",
|
|
5666
5696
|
{
|
|
5667
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",
|
|
@@ -5676,50 +5706,18 @@ function ManyPlanesComponent({ numberOfPlanes = 5, trailDir = "left", color: col
|
|
|
5676
5706
|
if (gradient) {
|
|
5677
5707
|
for (let i = 0; i < size; i++) {
|
|
5678
5708
|
const currentOpacity = baseOpacity - i / (size - 1) * (baseOpacity - 0.05);
|
|
5679
|
-
planes.push(/* @__PURE__ */
|
|
5709
|
+
planes.push(/* @__PURE__ */ jsx25(PlaneGrid, { opacity: currentOpacity }, i));
|
|
5680
5710
|
}
|
|
5681
5711
|
} else {
|
|
5682
5712
|
for (let i = 0; i < size; i++) {
|
|
5683
|
-
planes.push(/* @__PURE__ */
|
|
5713
|
+
planes.push(/* @__PURE__ */ jsx25(PlaneGrid, { opacity: baseOpacity }, i));
|
|
5684
5714
|
}
|
|
5685
5715
|
}
|
|
5686
|
-
return /* @__PURE__ */
|
|
5716
|
+
return /* @__PURE__ */ jsx25(Grid3, { container: true, alignItems: "center", flexDirection: direction, spacing: 3, children: planes });
|
|
5687
5717
|
};
|
|
5688
5718
|
return PlaneGridWrapper(numberOfPlanes, opacity);
|
|
5689
5719
|
}
|
|
5690
5720
|
|
|
5691
|
-
// src/components/logos/default/DefaultDisplay.tsx
|
|
5692
|
-
import { jsx as jsx25, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5693
|
-
function DefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5694
|
-
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: [
|
|
5695
|
-
/* @__PURE__ */ jsx25("rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5696
|
-
/* @__PURE__ */ jsx25(
|
|
5697
|
-
"path",
|
|
5698
|
-
{
|
|
5699
|
-
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",
|
|
5700
|
-
fill: "url(#paint0_linear_3571_2148)",
|
|
5701
|
-
fillOpacity: ".0.5",
|
|
5702
|
-
stroke: "#6B6B6B"
|
|
5703
|
-
}
|
|
5704
|
-
),
|
|
5705
|
-
/* @__PURE__ */ jsx25("rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5706
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5707
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5708
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5709
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5710
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5711
|
-
/* @__PURE__ */ jsx25("line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5712
|
-
/* @__PURE__ */ jsx25("circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5713
|
-
/* @__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" }),
|
|
5714
|
-
/* @__PURE__ */ jsx25("rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5715
|
-
/* @__PURE__ */ jsx25("rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5716
|
-
/* @__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: [
|
|
5717
|
-
/* @__PURE__ */ jsx25("stop", { stopColor: "#A1A1A1" }),
|
|
5718
|
-
/* @__PURE__ */ jsx25("stop", { offset: "1", stopColor: "#606060" })
|
|
5719
|
-
] }) })
|
|
5720
|
-
] }) });
|
|
5721
|
-
}
|
|
5722
|
-
|
|
5723
5721
|
// src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
|
|
5724
5722
|
import Divider from "@mui/material/Divider";
|
|
5725
5723
|
import Grid4 from "@mui/material/Grid";
|
|
@@ -6177,7 +6175,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
|
|
|
6177
6175
|
);
|
|
6178
6176
|
}
|
|
6179
6177
|
|
|
6180
|
-
// src/components/snackbars/
|
|
6178
|
+
// src/components/snackbars/WavelengthTestSnackbar.tsx
|
|
6181
6179
|
import Box6 from "@mui/material/Box";
|
|
6182
6180
|
import Button4 from "@mui/material/Button";
|
|
6183
6181
|
import { useEffect as useEffect4, useRef as useRef5 } from "react";
|
|
@@ -6199,7 +6197,7 @@ var useOutsideClick = (callback) => {
|
|
|
6199
6197
|
}, [callback]);
|
|
6200
6198
|
return ref;
|
|
6201
6199
|
};
|
|
6202
|
-
function
|
|
6200
|
+
function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width: width2, img }) {
|
|
6203
6201
|
const ref = useOutsideClick(() => {
|
|
6204
6202
|
toggleOpen(false);
|
|
6205
6203
|
});
|
|
@@ -6335,7 +6333,7 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
6335
6333
|
) }) });
|
|
6336
6334
|
};
|
|
6337
6335
|
|
|
6338
|
-
// src/components/carousels/
|
|
6336
|
+
// src/components/carousels/WavelengthSliderCarousel.tsx
|
|
6339
6337
|
import { useState as useState5, useEffect as useEffect6 } from "react";
|
|
6340
6338
|
import Grid6 from "@mui/material/Grid";
|
|
6341
6339
|
import Card2 from "@mui/material/Card";
|
|
@@ -6418,10 +6416,10 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
6418
6416
|
) }) });
|
|
6419
6417
|
};
|
|
6420
6418
|
|
|
6421
|
-
// src/components/pagination/
|
|
6419
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6422
6420
|
import { useState as useState8, useMemo } from "react";
|
|
6423
6421
|
|
|
6424
|
-
// src/components/pagination/
|
|
6422
|
+
// src/components/pagination/WavelengthButtonPagination.tsx
|
|
6425
6423
|
import { useState as useState6 } from "react";
|
|
6426
6424
|
import Button5 from "@mui/material/Button";
|
|
6427
6425
|
import ArrowBackIosNewIcon from "@mui/icons-material/ArrowBackIosNew";
|
|
@@ -6440,7 +6438,7 @@ var MyDroplistItems = styled8("li")`
|
|
|
6440
6438
|
background-color: lightgray;
|
|
6441
6439
|
}
|
|
6442
6440
|
`;
|
|
6443
|
-
function
|
|
6441
|
+
function WavelengthButtonPagination({ totalPages, current, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6444
6442
|
const [isOpen, setIsOpen] = useState6(false);
|
|
6445
6443
|
const [isSecOpen, setIsSecOpen] = useState6(false);
|
|
6446
6444
|
const toggleDropdown = (index) => {
|
|
@@ -6530,16 +6528,16 @@ function ButtonPagination({ totalPages, current, handleChangePage, itemList, fir
|
|
|
6530
6528
|
/* @__PURE__ */ jsx37(Button5, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, sx: WLButtonPagStyle, children: /* @__PURE__ */ jsx37(ArrowForwardIosIcon, {}) })
|
|
6531
6529
|
] });
|
|
6532
6530
|
}
|
|
6533
|
-
var
|
|
6531
|
+
var WavelengthButtonPagination_default = WavelengthButtonPagination;
|
|
6534
6532
|
|
|
6535
|
-
// src/components/pagination/
|
|
6533
|
+
// src/components/pagination/WavelengthVariationPagination.tsx
|
|
6536
6534
|
import { useState as useState7 } from "react";
|
|
6537
6535
|
import Button6 from "@mui/material/Button";
|
|
6538
6536
|
import ArrowBackIosNewIcon2 from "@mui/icons-material/ArrowBackIosNew";
|
|
6539
6537
|
import ArrowForwardIosIcon2 from "@mui/icons-material/ArrowForwardIos";
|
|
6540
6538
|
import styled9 from "styled-components";
|
|
6541
6539
|
import { jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6542
|
-
function
|
|
6540
|
+
function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6543
6541
|
const [isOpen, setIsOpen] = useState7(false);
|
|
6544
6542
|
const [isSecOpen, setIsSecOpen] = useState7(false);
|
|
6545
6543
|
const MyDroplistItems2 = styled9("li")`
|
|
@@ -6621,9 +6619,9 @@ function VariationPagination({ totalPages, current, variant, handleChangePage, i
|
|
|
6621
6619
|
/* @__PURE__ */ jsx38(Button6, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, variant, children: /* @__PURE__ */ jsx38(ArrowForwardIosIcon2, {}) })
|
|
6622
6620
|
] });
|
|
6623
6621
|
}
|
|
6624
|
-
var
|
|
6622
|
+
var WavelengthVariationPagination_default = WavelengthVariationPagination;
|
|
6625
6623
|
|
|
6626
|
-
// src/components/pagination/
|
|
6624
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6627
6625
|
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
6628
6626
|
var range = (start, end) => {
|
|
6629
6627
|
const length = end - start + 1;
|
|
@@ -6662,10 +6660,20 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6662
6660
|
}
|
|
6663
6661
|
};
|
|
6664
6662
|
if (style3 === "circular") {
|
|
6665
|
-
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
|
+
);
|
|
6666
6674
|
} else if (style3 === "text") {
|
|
6667
6675
|
return /* @__PURE__ */ jsx39(
|
|
6668
|
-
|
|
6676
|
+
WavelengthVariationPagination_default,
|
|
6669
6677
|
{
|
|
6670
6678
|
totalPages,
|
|
6671
6679
|
current,
|
|
@@ -6678,7 +6686,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6678
6686
|
);
|
|
6679
6687
|
} else if (style3 === "outlined") {
|
|
6680
6688
|
return /* @__PURE__ */ jsx39(
|
|
6681
|
-
|
|
6689
|
+
WavelengthVariationPagination_default,
|
|
6682
6690
|
{
|
|
6683
6691
|
totalPages,
|
|
6684
6692
|
current,
|
|
@@ -6691,7 +6699,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6691
6699
|
);
|
|
6692
6700
|
} else if (style3 === "contained") {
|
|
6693
6701
|
return /* @__PURE__ */ jsx39(
|
|
6694
|
-
|
|
6702
|
+
WavelengthVariationPagination_default,
|
|
6695
6703
|
{
|
|
6696
6704
|
totalPages,
|
|
6697
6705
|
current,
|
|
@@ -6704,7 +6712,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6704
6712
|
);
|
|
6705
6713
|
} else {
|
|
6706
6714
|
return /* @__PURE__ */ jsx39(
|
|
6707
|
-
|
|
6715
|
+
WavelengthVariationPagination_default,
|
|
6708
6716
|
{
|
|
6709
6717
|
totalPages,
|
|
6710
6718
|
current,
|
|
@@ -6716,7 +6724,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6716
6724
|
);
|
|
6717
6725
|
}
|
|
6718
6726
|
}
|
|
6719
|
-
var
|
|
6727
|
+
var WavelengthDefaultPagination_default = DefaultPagination;
|
|
6720
6728
|
|
|
6721
6729
|
// src/components/TextField/WavelengthTextField.tsx
|
|
6722
6730
|
import { useCallback, useState as useState9 } from "react";
|
|
@@ -7211,7 +7219,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages }) => {
|
|
|
7211
7219
|
/* @__PURE__ */ jsx41("thead", { children: /* @__PURE__ */ jsx41("tr", { children: headers }) }),
|
|
7212
7220
|
/* @__PURE__ */ jsx41("tbody", { children: rows })
|
|
7213
7221
|
] }) }),
|
|
7214
|
-
/* @__PURE__ */ jsx41(StyledNavBoxDiv, { children: /* @__PURE__ */ jsx41(
|
|
7222
|
+
/* @__PURE__ */ jsx41(StyledNavBoxDiv, { children: /* @__PURE__ */ jsx41(WavelengthDefaultPagination_default, { totalPages, currentPageNumber: currentPage, onPageChange: setCurrentPage, style: "circular" }) })
|
|
7215
7223
|
] });
|
|
7216
7224
|
};
|
|
7217
7225
|
|
|
@@ -7235,20 +7243,15 @@ var SampleComponent2 = ({
|
|
|
7235
7243
|
return /* @__PURE__ */ jsx42("sample-component", { ref, ...rest, children });
|
|
7236
7244
|
};
|
|
7237
7245
|
export {
|
|
7238
|
-
AppLogo,
|
|
7239
7246
|
ButtonIcon,
|
|
7240
7247
|
ButtonMenu,
|
|
7241
7248
|
DefaultCarousel,
|
|
7242
|
-
DefaultIcon,
|
|
7243
7249
|
DefaultPagination,
|
|
7244
|
-
ManyPlanesComponent,
|
|
7245
|
-
NotAvailablePage,
|
|
7246
7250
|
SampleComponent2 as SampleComponent,
|
|
7247
|
-
SearchTextField,
|
|
7248
7251
|
SliderCardCarousel,
|
|
7249
|
-
TestSnackbar,
|
|
7250
7252
|
WavelengthAccessAlert,
|
|
7251
7253
|
WavelengthAlert,
|
|
7254
|
+
WavelengthAppLogo,
|
|
7252
7255
|
WavelengthAppTheme,
|
|
7253
7256
|
WavelengthAutocomplete,
|
|
7254
7257
|
WavelengthBanner2 as WavelengthBanner,
|
|
@@ -7259,17 +7262,21 @@ export {
|
|
|
7259
7262
|
WavelengthContentModal,
|
|
7260
7263
|
WavelengthContentPlaceholder,
|
|
7261
7264
|
WavelengthDataTable,
|
|
7265
|
+
WavelengthDefaultIcon,
|
|
7262
7266
|
WavelengthDragAndDrop,
|
|
7263
7267
|
WavelengthDropdown,
|
|
7264
7268
|
WavelengthDropdownButton,
|
|
7265
7269
|
WavelengthExampleComponent,
|
|
7266
7270
|
WavelengthFileDownloader,
|
|
7267
7271
|
WavelengthFooter,
|
|
7272
|
+
WavelengthManyPlanes,
|
|
7273
|
+
WavelengthNotAvailablePage,
|
|
7268
7274
|
WavelengthPermissionAlert,
|
|
7269
7275
|
WavelengthPlaneTrail,
|
|
7270
7276
|
WavelengthPopUpMenu,
|
|
7271
7277
|
WavelengthProgressBar,
|
|
7272
7278
|
WavelengthSearch,
|
|
7279
|
+
WavelengthSearchTextField,
|
|
7273
7280
|
WavelengthSideBar,
|
|
7274
7281
|
WavelengthSlider,
|
|
7275
7282
|
WavelengthSnackbar,
|
|
@@ -7277,6 +7284,7 @@ export {
|
|
|
7277
7284
|
WavelengthSpinningOuterCircle,
|
|
7278
7285
|
WavelengthStandardSnackbar,
|
|
7279
7286
|
WavelengthStyledButton,
|
|
7287
|
+
WavelengthTestSnackbar,
|
|
7280
7288
|
WavelengthTextField,
|
|
7281
7289
|
WavelengthTitleBar2 as WavelengthTitleBar,
|
|
7282
7290
|
add,
|