@wavelengthusaf/components 2.10.2 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -1
- package/dist/cjs/index.cjs +176 -106
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +21 -22
- package/dist/esm/index.d.ts +21 -22
- package/dist/esm/index.js +313 -243
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,30 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
### 3.0.1
|
|
18
|
+
|
|
19
|
+
- 5/27/2025
|
|
20
|
+
- Updated `WavelengthProgressBar` to be a web component; added several new props
|
|
21
|
+
|
|
22
|
+
### 3.0.0
|
|
23
|
+
|
|
24
|
+
- 5/16/2025
|
|
25
|
+
- Renamed several components to include the word `Wavelength` in front of them. The following components have been renamed accordingly:
|
|
26
|
+
|
|
27
|
+
<pre>
|
|
28
|
+
sliderCarousel --------> WavelengthSliderCarousel
|
|
29
|
+
GreenEllipse ----------> DELETED
|
|
30
|
+
ManyPlanes ------------> WavelengthManyPlanes
|
|
31
|
+
AppLogo ---------------> WavelengthAppLogo
|
|
32
|
+
DefaultIcon -----------> WavelengthDefaultIcon
|
|
33
|
+
NotAvailablePage ------> WavelengthNotAvailablePage
|
|
34
|
+
ButtonPagination ------> WavelengthButtonPagination
|
|
35
|
+
VariationPagination ---> WavelengthVariationPagination
|
|
36
|
+
WavelengthPagination --> WavelengthDefaultPagination
|
|
37
|
+
SearchTextField -------> WavelengthSearchTextField
|
|
38
|
+
TestSnackbar ----------> WavelengthTestSnackbar
|
|
39
|
+
</pre>
|
|
40
|
+
|
|
17
41
|
### 2.10.2
|
|
18
42
|
|
|
19
43
|
- 5/14/2025
|
|
@@ -44,7 +68,7 @@ npm install @wavelengthusaf/components
|
|
|
44
68
|
### 2.9.1
|
|
45
69
|
|
|
46
70
|
- 5/02/2025
|
|
47
|
-
- WavelengthButton updated; new props
|
|
71
|
+
- `WavelengthButton` updated; new props
|
|
48
72
|
- Minor bug fixes
|
|
49
73
|
|
|
50
74
|
### 2.9.0
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __create = Object.create;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1503,6 +1503,85 @@ if (!customElements.get("wavelength-button")) {
|
|
|
1503
1503
|
customElements.define("wavelength-button", WavelengthButton);
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
1506
|
+
// src/web-components/wavelength-progress-bar.ts
|
|
1507
|
+
var template2 = document.createElement("template");
|
|
1508
|
+
template2.innerHTML = `
|
|
1509
|
+
<style>
|
|
1510
|
+
.label {
|
|
1511
|
+
display: flex;
|
|
1512
|
+
justify-content: space-between;
|
|
1513
|
+
font-family: Arial, sans-serif;
|
|
1514
|
+
margin-bottom: 6px;
|
|
1515
|
+
}
|
|
1516
|
+
.progress-bar {
|
|
1517
|
+
background-color: #e0e0e0;
|
|
1518
|
+
border: 1px solid black;
|
|
1519
|
+
border-radius: 12px;
|
|
1520
|
+
overflow: hidden;
|
|
1521
|
+
position: relative;
|
|
1522
|
+
}
|
|
1523
|
+
.progress-fill {
|
|
1524
|
+
background-color: #1976d2;
|
|
1525
|
+
height: 100%;
|
|
1526
|
+
transition: width 0.3s ease-in-out;
|
|
1527
|
+
border-right: 1px solid black;
|
|
1528
|
+
}
|
|
1529
|
+
</style>
|
|
1530
|
+
<div class="container">
|
|
1531
|
+
<div class="label">
|
|
1532
|
+
<span class="name"></span>
|
|
1533
|
+
<span class="status"></span>
|
|
1534
|
+
</div>
|
|
1535
|
+
<div class="progress-bar">
|
|
1536
|
+
<div class="progress-fill"></div>
|
|
1537
|
+
</div>
|
|
1538
|
+
</div>
|
|
1539
|
+
`;
|
|
1540
|
+
var WavelengthProgressBar = class extends HTMLElement {
|
|
1541
|
+
static get observedAttributes() {
|
|
1542
|
+
return ["value", "width", "height", "font-size", "font-color", "progress-border", "progress-color", "name"];
|
|
1543
|
+
}
|
|
1544
|
+
constructor() {
|
|
1545
|
+
super();
|
|
1546
|
+
const shadow = this.attachShadow({ mode: "open" });
|
|
1547
|
+
shadow.appendChild(template2.content.cloneNode(true));
|
|
1548
|
+
this.container = shadow.querySelector(".container");
|
|
1549
|
+
this.nameSpan = shadow.querySelector(".name");
|
|
1550
|
+
this.statusSpan = shadow.querySelector(".status");
|
|
1551
|
+
this.progressBar = shadow.querySelector(".progress-bar");
|
|
1552
|
+
this.progressFill = shadow.querySelector(".progress-fill");
|
|
1553
|
+
}
|
|
1554
|
+
connectedCallback() {
|
|
1555
|
+
this.updateRendering();
|
|
1556
|
+
}
|
|
1557
|
+
attributeChangedCallback() {
|
|
1558
|
+
this.updateRendering();
|
|
1559
|
+
}
|
|
1560
|
+
updateRendering() {
|
|
1561
|
+
const value = Number(_nullishCoalesce(this.getAttribute("value"), () => ( "0")));
|
|
1562
|
+
const width2 = _nullishCoalesce(this.getAttribute("width"), () => ( "425px"));
|
|
1563
|
+
const height2 = _nullishCoalesce(this.getAttribute("height"), () => ( "12px"));
|
|
1564
|
+
const fontSize = _nullishCoalesce(this.getAttribute("font-size"), () => ( "inherit"));
|
|
1565
|
+
const fontColor = _nullishCoalesce(this.getAttribute("font-color"), () => ( "#000000"));
|
|
1566
|
+
const progressBorder = _nullishCoalesce(this.getAttribute("progress-border"), () => ( "10px solid black"));
|
|
1567
|
+
const progressColor = _nullishCoalesce(this.getAttribute("progress-color"), () => ( "#1976d2"));
|
|
1568
|
+
const name = _nullishCoalesce(this.getAttribute("name"), () => ( ""));
|
|
1569
|
+
this.container.style.width = width2;
|
|
1570
|
+
this.progressBar.style.width = width2;
|
|
1571
|
+
this.progressBar.style.height = height2;
|
|
1572
|
+
this.progressBar.style.border = progressBorder;
|
|
1573
|
+
this.progressFill.style.width = `${Math.min(value, 100)}%`;
|
|
1574
|
+
this.progressFill.style.backgroundColor = progressColor;
|
|
1575
|
+
this.nameSpan.textContent = name;
|
|
1576
|
+
this.statusSpan.textContent = value === 100 ? `Complete! - ${value}%` : `Uploading - ${value}%`;
|
|
1577
|
+
this.nameSpan.style.fontSize = fontSize;
|
|
1578
|
+
this.nameSpan.style.color = fontColor;
|
|
1579
|
+
this.statusSpan.style.fontSize = fontSize;
|
|
1580
|
+
this.statusSpan.style.color = fontColor;
|
|
1581
|
+
}
|
|
1582
|
+
};
|
|
1583
|
+
customElements.define("wavelength-progress-bar", WavelengthProgressBar);
|
|
1584
|
+
|
|
1506
1585
|
// src/styles/fontBase64.tsx
|
|
1507
1586
|
var goldmanFont = `@font-face {
|
|
1508
1587
|
font-family: 'Goldman';
|
|
@@ -4431,13 +4510,13 @@ function WavelengthSearch({
|
|
|
4431
4510
|
return void 0;
|
|
4432
4511
|
}
|
|
4433
4512
|
|
|
4434
|
-
// src/components/search/
|
|
4513
|
+
// src/components/search/WavelengthSearchTextField.tsx
|
|
4435
4514
|
|
|
4436
4515
|
|
|
4437
4516
|
|
|
4438
|
-
function
|
|
4517
|
+
function WavelengthSearchTextField() {
|
|
4439
4518
|
const palette2 = getPalette();
|
|
4440
|
-
const
|
|
4519
|
+
const WavelengthSearchTextField2 = _styled2.default.call(void 0, (0, _TextField2.default))(() => ({
|
|
4441
4520
|
"&.MuiTextField-root": {
|
|
4442
4521
|
"& label.Mui-focused": {
|
|
4443
4522
|
color: `${palette2.primary}`
|
|
@@ -4455,12 +4534,12 @@ function SearchTextField() {
|
|
|
4455
4534
|
}
|
|
4456
4535
|
}
|
|
4457
4536
|
}));
|
|
4458
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4537
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthSearchTextField2, {});
|
|
4459
4538
|
}
|
|
4460
4539
|
|
|
4461
|
-
// src/components/logos/applogo/
|
|
4540
|
+
// src/components/logos/applogo/WavelengthAppLogo.tsx
|
|
4462
4541
|
|
|
4463
|
-
function
|
|
4542
|
+
function WavelengthAppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
|
|
4464
4543
|
let logo;
|
|
4465
4544
|
{
|
|
4466
4545
|
}
|
|
@@ -4904,17 +4983,17 @@ function AppLogo({ width: width2, height: height2, name = "", grayscale, id }) {
|
|
|
4904
4983
|
}
|
|
4905
4984
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: logo });
|
|
4906
4985
|
}
|
|
4907
|
-
var
|
|
4986
|
+
var WavelengthAppLogo_default = WavelengthAppLogo;
|
|
4908
4987
|
|
|
4909
|
-
// src/components/PageComponents/
|
|
4988
|
+
// src/components/PageComponents/WavelengthNotAvailablePage.tsx
|
|
4910
4989
|
|
|
4911
|
-
function
|
|
4990
|
+
function WavelengthNotAvailablePage({ WavelengthAppLogoName, errorMessage, backgroundColor: backgroundColor2, buttonText, redirectLink, buttonColorOne, buttonColorTwo, id }) {
|
|
4912
4991
|
backgroundColor2 = backgroundColor2 ? backgroundColor2 : "gray";
|
|
4913
|
-
|
|
4992
|
+
WavelengthAppLogoName = WavelengthAppLogoName ? WavelengthAppLogoName : "563rdpatch";
|
|
4914
4993
|
buttonColorOne = buttonColorOne ? buttonColorOne : "white";
|
|
4915
4994
|
buttonColorTwo = buttonColorTwo ? buttonColorTwo : "#0D5288";
|
|
4916
4995
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { id, style: { display: "flex", backgroundColor: backgroundColor2, flexDirection: "column", alignItems: "center", height: "100%", justifyContent: "center", gap: 55, padding: "8%" }, children: [
|
|
4917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: WavelengthAppLogoName, width: 300, height: 200, grayscale: true }),
|
|
4918
4997
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", alignItems: "center" }, children: [
|
|
4919
4998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { style: { textAlign: "center", marginBottom: 45, fontSize: 40, color: "white" }, children: `${errorMessage}` }),
|
|
4920
4999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthButton2, { "data-testid": "not-available-button", variant: "contained", colorOne: buttonColorOne, colorTwo: buttonColorTwo, href: redirectLink, children: buttonText })
|
|
@@ -5154,41 +5233,24 @@ function WavelengthDragAndDrop({
|
|
|
5154
5233
|
}
|
|
5155
5234
|
|
|
5156
5235
|
// src/components/PageComponents/WavelengthProgressBar.tsx
|
|
5157
|
-
var _Box = require('@mui/material/Box'); var _Box2 = _interopRequireDefault(_Box);
|
|
5158
|
-
var _LinearProgress = require('@mui/material/LinearProgress'); var _LinearProgress2 = _interopRequireDefault(_LinearProgress);
|
|
5159
5236
|
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
{
|
|
5178
|
-
variant: "determinate",
|
|
5179
|
-
value,
|
|
5180
|
-
style: { backgroundColor: backgroundColor2, height: height2, borderRadius: borderRadius2, border: "2px solid black" },
|
|
5181
|
-
sx: {
|
|
5182
|
-
"& .MuiLinearProgress-bar": {
|
|
5183
|
-
backgroundColor: progressColor,
|
|
5184
|
-
borderRadius: borderRadius2,
|
|
5185
|
-
border: "1px solid black"
|
|
5186
|
-
}
|
|
5187
|
-
}
|
|
5188
|
-
}
|
|
5189
|
-
) })
|
|
5190
|
-
] });
|
|
5191
|
-
}
|
|
5237
|
+
|
|
5238
|
+
var WavelengthProgressBar2 = ({ name, value, width: width2, height: height2, fontSize, fontColor, progressBorder, progressColor, ...rest }) => {
|
|
5239
|
+
const ref = _react.useRef.call(void 0, null);
|
|
5240
|
+
_react.useEffect.call(void 0, () => {
|
|
5241
|
+
if (ref.current) {
|
|
5242
|
+
if (name !== void 0) ref.current.setAttribute("name", name);
|
|
5243
|
+
if (value !== void 0) ref.current.setAttribute("value", value.toString());
|
|
5244
|
+
if (width2 !== void 0) ref.current.setAttribute("width", width2);
|
|
5245
|
+
if (height2 !== void 0) ref.current.setAttribute("height", height2);
|
|
5246
|
+
if (fontSize !== void 0) ref.current.setAttribute("font-size", fontSize);
|
|
5247
|
+
if (fontColor !== void 0) ref.current.setAttribute("font-color", fontColor);
|
|
5248
|
+
if (progressBorder !== void 0) ref.current.setAttribute("progress-border", progressBorder);
|
|
5249
|
+
if (progressColor !== void 0) ref.current.setAttribute("progress-color", progressColor);
|
|
5250
|
+
}
|
|
5251
|
+
}, [name, value, width2, height2, fontSize, fontColor, progressBorder, progressColor]);
|
|
5252
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-progress-bar", { ref, ...rest });
|
|
5253
|
+
};
|
|
5192
5254
|
|
|
5193
5255
|
// src/components/PageComponents/WavelengthCommentDisplay.tsx
|
|
5194
5256
|
|
|
@@ -5344,10 +5406,7 @@ function WavelengthAccessAlert({
|
|
|
5344
5406
|
children: [
|
|
5345
5407
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { fontSize: "8px", fontWeight: 400, position: "absolute", top: "5px", right: "12px" }, children: time }),
|
|
5346
5408
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "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__ */ _jsxruntime.
|
|
5348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLogo_default, { name: appLogo, width: 22 }),
|
|
5349
|
-
" "
|
|
5350
|
-
] }),
|
|
5409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: appLogo, width: 22 }) }),
|
|
5351
5410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", gap: "4px", marginLeft: "5px" }, children: [
|
|
5352
5411
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { htmlFor: "", children: [
|
|
5353
5412
|
"Requestor: ",
|
|
@@ -5391,7 +5450,8 @@ function WavelengthAccessAlert({
|
|
|
5391
5450
|
access
|
|
5392
5451
|
] }),
|
|
5393
5452
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
5394
|
-
|
|
5453
|
+
" ",
|
|
5454
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: appLogo, width: 22 }),
|
|
5395
5455
|
" "
|
|
5396
5456
|
] }),
|
|
5397
5457
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
@@ -5428,7 +5488,7 @@ function WavelengthAccessAlert({
|
|
|
5428
5488
|
access
|
|
5429
5489
|
] }),
|
|
5430
5490
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { gridArea: "2/1/3/2" }, children: [
|
|
5431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthAppLogo_default, { name: appLogo, width: 22 }),
|
|
5432
5492
|
" "
|
|
5433
5493
|
] }),
|
|
5434
5494
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { style: { display: "flex", flexDirection: "column", gridArea: "2/2/3/4", fontSize: "10px", marginLeft: "5px" }, children: [
|
|
@@ -5563,7 +5623,7 @@ function WavelengthAlert({
|
|
|
5563
5623
|
|
|
5564
5624
|
// src/components/footers/WavelengthFooter/WavelengthFooter.tsx
|
|
5565
5625
|
|
|
5566
|
-
|
|
5626
|
+
var _Box = require('@mui/material/Box'); var _Box2 = _interopRequireDefault(_Box);
|
|
5567
5627
|
var _Container = require('@mui/material/Container'); var _Container2 = _interopRequireDefault(_Container);
|
|
5568
5628
|
|
|
5569
5629
|
|
|
@@ -5646,10 +5706,42 @@ function WavelengthBanner2({ headerText = "CLASSIFICATION//CONTROL", headerColor
|
|
|
5646
5706
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "wavelength-banner", { ref });
|
|
5647
5707
|
}
|
|
5648
5708
|
|
|
5649
|
-
// src/components/
|
|
5709
|
+
// src/components/logos/default/WavelengthDefaultIcon.tsx
|
|
5650
5710
|
|
|
5711
|
+
function WavelengthDefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5712
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: width2, height: height2, viewBox: "0 0 185 140", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5715
|
+
"path",
|
|
5716
|
+
{
|
|
5717
|
+
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",
|
|
5718
|
+
fill: "url(#paint0_linear_3571_2148)",
|
|
5719
|
+
fillOpacity: ".0.5",
|
|
5720
|
+
stroke: "#6B6B6B"
|
|
5721
|
+
}
|
|
5722
|
+
),
|
|
5723
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5725
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5726
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5727
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5728
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5729
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5730
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "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" }),
|
|
5732
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5733
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5734
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "linearGradient", { id: "paint0_linear_3571_2148", x1: "63.5", y1: "13", x2: "63.5", y2: "140", gradientUnits: "userSpaceOnUse", children: [
|
|
5735
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { stopColor: "#A1A1A1" }),
|
|
5736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { offset: "1", stopColor: "#606060" })
|
|
5737
|
+
] }) })
|
|
5738
|
+
] }) });
|
|
5739
|
+
}
|
|
5651
5740
|
|
|
5652
|
-
|
|
5741
|
+
// src/components/CSFD/WavelengthManyPlanes.tsx
|
|
5742
|
+
|
|
5743
|
+
|
|
5744
|
+
function WavelengthManyPlanes({ numberOfPlanes = 5, trailDir = "left", color: color2, opacity = 1, gradient = false }) {
|
|
5653
5745
|
let direction = "row-reverse";
|
|
5654
5746
|
let flippy = "";
|
|
5655
5747
|
const palette2 = getPalette();
|
|
@@ -5688,38 +5780,6 @@ function ManyPlanesComponent({ numberOfPlanes = 5, trailDir = "left", color: col
|
|
|
5688
5780
|
return PlaneGridWrapper(numberOfPlanes, opacity);
|
|
5689
5781
|
}
|
|
5690
5782
|
|
|
5691
|
-
// src/components/logos/default/DefaultDisplay.tsx
|
|
5692
|
-
|
|
5693
|
-
function DefaultIcon({ width: width2 = "180", height: height2 = 140 }) {
|
|
5694
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: width2, height: height2, viewBox: "0 0 185 140", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: width2, height: height2, fill: "#7A7A7A" }),
|
|
5696
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "102", y: "16", width: "70", height: "115", fill: "#4A4A4A" }),
|
|
5706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "24.5", x2: "142", y2: "24.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "41.5", x2: "160", y2: "41.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5708
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "51.5", x2: "160", y2: "51.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5709
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "61.5", x2: "160", y2: "61.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "71.5", x2: "160", y2: "71.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5711
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "112", y1: "81.5", x2: "160", y2: "81.5", stroke: "#D9D9D9", strokeWidth: "3" }),
|
|
5712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "48", cy: "44", r: "28", fill: "#D9D9D9", fillOpacity: "0.5" }),
|
|
5713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "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__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "83", width: "56", height: "15", rx: "4", fill: "#D9D9D9" }),
|
|
5715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { x: "20", y: "107", width: "56", height: "15", rx: "4", fill: "#ABABAB" }),
|
|
5716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "defs", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "linearGradient", { id: "paint0_linear_3571_2148", x1: "63.5", y1: "13", x2: "63.5", y2: "140", gradientUnits: "userSpaceOnUse", children: [
|
|
5717
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { stopColor: "#A1A1A1" }),
|
|
5718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "stop", { offset: "1", stopColor: "#606060" })
|
|
5719
|
-
] }) })
|
|
5720
|
-
] }) });
|
|
5721
|
-
}
|
|
5722
|
-
|
|
5723
5783
|
// src/components/separators/WavelengthPlaneTrail/WavelengthPlaneTrail.tsx
|
|
5724
5784
|
var _Divider = require('@mui/material/Divider'); var _Divider2 = _interopRequireDefault(_Divider);
|
|
5725
5785
|
|
|
@@ -6177,7 +6237,7 @@ function WavelengthStandardSnackbar({ type, show, icon, horryAlign, vertyAlign,
|
|
|
6177
6237
|
);
|
|
6178
6238
|
}
|
|
6179
6239
|
|
|
6180
|
-
// src/components/snackbars/
|
|
6240
|
+
// src/components/snackbars/WavelengthTestSnackbar.tsx
|
|
6181
6241
|
|
|
6182
6242
|
|
|
6183
6243
|
|
|
@@ -6199,7 +6259,7 @@ var useOutsideClick = (callback) => {
|
|
|
6199
6259
|
}, [callback]);
|
|
6200
6260
|
return ref;
|
|
6201
6261
|
};
|
|
6202
|
-
function
|
|
6262
|
+
function WavelengthTestSnackbar({ isPopUpOpen, toggleOpen, type, message, customVertyAlign, width: width2, img }) {
|
|
6203
6263
|
const ref = useOutsideClick(() => {
|
|
6204
6264
|
toggleOpen(false);
|
|
6205
6265
|
});
|
|
@@ -6335,7 +6395,7 @@ var DefaultCarousel = ({ items, buttonSize, imageHeight, imageWidth, cardHeight,
|
|
|
6335
6395
|
) }) });
|
|
6336
6396
|
};
|
|
6337
6397
|
|
|
6338
|
-
// src/components/carousels/
|
|
6398
|
+
// src/components/carousels/WavelengthSliderCarousel.tsx
|
|
6339
6399
|
|
|
6340
6400
|
|
|
6341
6401
|
|
|
@@ -6418,10 +6478,10 @@ var SliderCardCarousel = ({ items, cardHeight, cardWidth, contHeight, contWidth
|
|
|
6418
6478
|
) }) });
|
|
6419
6479
|
};
|
|
6420
6480
|
|
|
6421
|
-
// src/components/pagination/
|
|
6481
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6422
6482
|
|
|
6423
6483
|
|
|
6424
|
-
// src/components/pagination/
|
|
6484
|
+
// src/components/pagination/WavelengthButtonPagination.tsx
|
|
6425
6485
|
|
|
6426
6486
|
|
|
6427
6487
|
var _ArrowBackIosNew = require('@mui/icons-material/ArrowBackIosNew'); var _ArrowBackIosNew2 = _interopRequireDefault(_ArrowBackIosNew);
|
|
@@ -6440,7 +6500,7 @@ var MyDroplistItems = _styledcomponents2.default.call(void 0, "li")`
|
|
|
6440
6500
|
background-color: lightgray;
|
|
6441
6501
|
}
|
|
6442
6502
|
`;
|
|
6443
|
-
function
|
|
6503
|
+
function WavelengthButtonPagination({ totalPages, current, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6444
6504
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
6445
6505
|
const [isSecOpen, setIsSecOpen] = _react.useState.call(void 0, false);
|
|
6446
6506
|
const toggleDropdown = (index) => {
|
|
@@ -6530,16 +6590,16 @@ function ButtonPagination({ totalPages, current, handleChangePage, itemList, fir
|
|
|
6530
6590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Button2.default, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, sx: WLButtonPagStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ArrowForwardIos2.default, {}) })
|
|
6531
6591
|
] });
|
|
6532
6592
|
}
|
|
6533
|
-
var
|
|
6593
|
+
var WavelengthButtonPagination_default = WavelengthButtonPagination;
|
|
6534
6594
|
|
|
6535
|
-
// src/components/pagination/
|
|
6595
|
+
// src/components/pagination/WavelengthVariationPagination.tsx
|
|
6536
6596
|
|
|
6537
6597
|
|
|
6538
6598
|
|
|
6539
6599
|
|
|
6540
6600
|
|
|
6541
6601
|
|
|
6542
|
-
function
|
|
6602
|
+
function WavelengthVariationPagination({ totalPages, current, variant, handleChangePage, itemList, firstEllipseList, secondEllipseList }) {
|
|
6543
6603
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
6544
6604
|
const [isSecOpen, setIsSecOpen] = _react.useState.call(void 0, false);
|
|
6545
6605
|
const MyDroplistItems2 = _styledcomponents2.default.call(void 0, "li")`
|
|
@@ -6621,9 +6681,9 @@ function VariationPagination({ totalPages, current, variant, handleChangePage, i
|
|
|
6621
6681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Button2.default, { onClick: () => handleChangePage(current + 1), disabled: current === totalPages, variant, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ArrowForwardIos2.default, {}) })
|
|
6622
6682
|
] });
|
|
6623
6683
|
}
|
|
6624
|
-
var
|
|
6684
|
+
var WavelengthVariationPagination_default = WavelengthVariationPagination;
|
|
6625
6685
|
|
|
6626
|
-
// src/components/pagination/
|
|
6686
|
+
// src/components/pagination/WavelengthDefaultPagination.tsx
|
|
6627
6687
|
|
|
6628
6688
|
var range = (start, end) => {
|
|
6629
6689
|
const length = end - start + 1;
|
|
@@ -6662,10 +6722,20 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6662
6722
|
}
|
|
6663
6723
|
};
|
|
6664
6724
|
if (style3 === "circular") {
|
|
6665
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6725
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6726
|
+
WavelengthButtonPagination_default,
|
|
6727
|
+
{
|
|
6728
|
+
totalPages,
|
|
6729
|
+
current,
|
|
6730
|
+
handleChangePage,
|
|
6731
|
+
itemList,
|
|
6732
|
+
firstEllipseList,
|
|
6733
|
+
secondEllipseList
|
|
6734
|
+
}
|
|
6735
|
+
);
|
|
6666
6736
|
} else if (style3 === "text") {
|
|
6667
6737
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6668
|
-
|
|
6738
|
+
WavelengthVariationPagination_default,
|
|
6669
6739
|
{
|
|
6670
6740
|
totalPages,
|
|
6671
6741
|
current,
|
|
@@ -6678,7 +6748,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6678
6748
|
);
|
|
6679
6749
|
} else if (style3 === "outlined") {
|
|
6680
6750
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6681
|
-
|
|
6751
|
+
WavelengthVariationPagination_default,
|
|
6682
6752
|
{
|
|
6683
6753
|
totalPages,
|
|
6684
6754
|
current,
|
|
@@ -6691,7 +6761,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6691
6761
|
);
|
|
6692
6762
|
} else if (style3 === "contained") {
|
|
6693
6763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6694
|
-
|
|
6764
|
+
WavelengthVariationPagination_default,
|
|
6695
6765
|
{
|
|
6696
6766
|
totalPages,
|
|
6697
6767
|
current,
|
|
@@ -6704,7 +6774,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6704
6774
|
);
|
|
6705
6775
|
} else {
|
|
6706
6776
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6707
|
-
|
|
6777
|
+
WavelengthVariationPagination_default,
|
|
6708
6778
|
{
|
|
6709
6779
|
totalPages,
|
|
6710
6780
|
current,
|
|
@@ -6716,7 +6786,7 @@ function DefaultPagination({ totalPages, currentPageNumber, siblingCount = 1, bo
|
|
|
6716
6786
|
);
|
|
6717
6787
|
}
|
|
6718
6788
|
}
|
|
6719
|
-
var
|
|
6789
|
+
var WavelengthDefaultPagination_default = DefaultPagination;
|
|
6720
6790
|
|
|
6721
6791
|
// src/components/TextField/WavelengthTextField.tsx
|
|
6722
6792
|
|
|
@@ -7211,7 +7281,7 @@ var WavelengthDataTable = ({ data, columns, itemsPerPage, totalPages }) => {
|
|
|
7211
7281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: headers }) }),
|
|
7212
7282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tbody", { children: rows })
|
|
7213
7283
|
] }) }),
|
|
7214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledNavBoxDiv, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledNavBoxDiv, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WavelengthDefaultPagination_default, { totalPages, currentPageNumber: currentPage, onPageChange: setCurrentPage, style: "circular" }) })
|
|
7215
7285
|
] });
|
|
7216
7286
|
};
|
|
7217
7287
|
|
|
@@ -7286,7 +7356,7 @@ var SampleComponent2 = ({
|
|
|
7286
7356
|
|
|
7287
7357
|
|
|
7288
7358
|
|
|
7289
|
-
exports.
|
|
7359
|
+
exports.ButtonIcon = ButtonIcon; exports.ButtonMenu = ButtonMenu; exports.DefaultCarousel = DefaultCarousel; exports.DefaultPagination = DefaultPagination; exports.SampleComponent = SampleComponent2; exports.SliderCardCarousel = SliderCardCarousel; exports.WavelengthAccessAlert = WavelengthAccessAlert; exports.WavelengthAlert = WavelengthAlert; exports.WavelengthAppLogo = WavelengthAppLogo; exports.WavelengthAppTheme = WavelengthAppTheme; exports.WavelengthAutocomplete = WavelengthAutocomplete; exports.WavelengthBanner = WavelengthBanner2; exports.WavelengthBox = WavelengthBox; exports.WavelengthButton = WavelengthButton2; exports.WavelengthCommentDisplay = WavelengthCommentDisplay; exports.WavelengthConfirmationModal = WavelengthConfirmationModal; exports.WavelengthContentModal = WavelengthContentModal; exports.WavelengthContentPlaceholder = WavelengthContentPlaceholder; exports.WavelengthDataTable = WavelengthDataTable; exports.WavelengthDefaultIcon = WavelengthDefaultIcon; exports.WavelengthDragAndDrop = WavelengthDragAndDrop; exports.WavelengthDropdown = WavelengthDropdown; exports.WavelengthDropdownButton = WavelengthDropdownButton; exports.WavelengthExampleComponent = WavelengthExampleComponent; exports.WavelengthFileDownloader = WavelengthFileDownloader; exports.WavelengthFooter = WavelengthFooter; exports.WavelengthManyPlanes = WavelengthManyPlanes; exports.WavelengthNotAvailablePage = WavelengthNotAvailablePage; exports.WavelengthPermissionAlert = WavelengthPermissionAlert; exports.WavelengthPlaneTrail = WavelengthPlaneTrail; exports.WavelengthPopUpMenu = WavelengthPopUpMenu; exports.WavelengthProgressBar = WavelengthProgressBar2; exports.WavelengthSearch = WavelengthSearch; exports.WavelengthSearchTextField = WavelengthSearchTextField; exports.WavelengthSideBar = WavelengthSideBar; exports.WavelengthSlider = WavelengthSlider; exports.WavelengthSnackbar = WavelengthSnackbar; exports.WavelengthSpinningLogo = WavelengthSpinningLogo; exports.WavelengthSpinningOuterCircle = WavelengthSpinningOuterCircle; exports.WavelengthStandardSnackbar = WavelengthStandardSnackbar; exports.WavelengthStyledButton = WavelengthStyledButton; exports.WavelengthTestSnackbar = WavelengthTestSnackbar; exports.WavelengthTextField = WavelengthTextField; exports.WavelengthTitleBar = WavelengthTitleBar2; exports.add = add; exports.ascendingRange = ascendingRange; exports.concat = concat; exports.findBestStringMatch = findBestStringMatch; exports.range = range; exports.useOutsideClick = useOutsideClick; exports.useThemeContext = useThemeContext;
|
|
7290
7360
|
/*! Bundled license information:
|
|
7291
7361
|
|
|
7292
7362
|
react-is/cjs/react-is.production.min.js:
|