@streamoid/ui 0.2.4 → 0.2.6
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 +4 -3
- package/dist/index.css +1431 -5
- package/dist/index.d.mts +333 -18
- package/dist/index.d.ts +333 -18
- package/dist/index.js +1128 -107
- package/dist/index.mjs +1336 -315
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -311,69 +311,80 @@ var ScCheckbox_default = {
|
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
// src/SC-checkbox/ScCheckbox.tsx
|
|
314
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
314
|
+
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
315
315
|
var ScCheckbox = ({
|
|
316
316
|
state = "default",
|
|
317
|
+
checked,
|
|
318
|
+
onChange,
|
|
317
319
|
className,
|
|
318
320
|
...props
|
|
319
321
|
}) => {
|
|
320
|
-
const
|
|
322
|
+
const effectiveState = checked !== void 0 ? checked ? "selected" : "default" : state;
|
|
323
|
+
const variantsClassName = ScCheckbox_default["state-" + effectiveState];
|
|
321
324
|
return /* @__PURE__ */ jsx6(
|
|
322
325
|
"div",
|
|
323
326
|
{
|
|
324
327
|
className: ScCheckbox_default.scCheckbox + " " + className + " " + variantsClassName,
|
|
328
|
+
style: { cursor: "pointer", ...props.style },
|
|
325
329
|
...props,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
{
|
|
337
|
-
d: "M17.5996 22.5V24H6.40039V22.5H17.5996ZM22.5 17.5996V6.40039C22.5 5.25553 22.4985 4.48629 22.4502 3.89453C22.4033 3.32077 22.3198 3.04631 22.2275 2.86523C21.9879 2.39483 21.6052 2.01214 21.1348 1.77246C20.9537 1.68023 20.6792 1.59671 20.1055 1.5498C19.5137 1.50146 18.7445 1.5 17.5996 1.5H6.40039C5.25553 1.5 4.48629 1.50146 3.89453 1.5498C3.32077 1.59671 3.04631 1.68023 2.86523 1.77246C2.39483 2.01214 2.01214 2.39483 1.77246 2.86523C1.68023 3.04631 1.59671 3.32077 1.5498 3.89453C1.50146 4.48629 1.5 5.25553 1.5 6.40039V17.5996C1.5 18.7445 1.50146 19.5137 1.5498 20.1055C1.59671 20.6792 1.68023 20.9537 1.77246 21.1348C2.01214 21.6052 2.39483 21.9879 2.86523 22.2275C3.04631 22.3198 3.32077 22.4033 3.89453 22.4502C4.48629 22.4985 5.25553 22.5 6.40039 22.5V24L4.91602 23.9932C3.72431 23.9744 2.96088 23.9041 2.34766 23.6406L2.18359 23.5645C1.52512 23.2289 0.974134 22.7183 0.589844 22.0918L0.435547 21.8164C-0.000427067 20.9608 1.63278e-09 19.8398 1.63278e-09 17.5996V6.40039C1.63278e-09 4.16018 -0.000427067 3.03924 0.435547 2.18359C0.819016 1.43109 1.43109 0.819016 2.18359 0.435547C2.82525 0.108606 3.61607 0.0272847 4.91602 0.00683594L6.40039 1.63278e-09H17.5996C19.8398 1.63278e-09 20.9608 -0.000427067 21.8164 0.435547C22.5689 0.819016 23.181 1.43109 23.5645 2.18359C24.0004 3.03924 24 4.16018 24 6.40039V17.5996C24 19.8398 24.0004 20.9608 23.5645 21.8164L23.4102 22.0918C23.0259 22.7183 22.4749 23.2289 21.8164 23.5645L21.6523 23.6406C20.816 23.9999 19.6999 24 17.5996 24V22.5C18.7445 22.5 19.5137 22.4985 20.1055 22.4502C20.6792 22.4033 20.9537 22.3198 21.1348 22.2275C21.6052 21.9879 21.9879 21.6052 22.2275 21.1348C22.3198 20.9537 22.4033 20.6792 22.4502 20.1055C22.4985 19.5137 22.5 18.7445 22.5 17.5996Z",
|
|
338
|
-
fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
|
|
339
|
-
}
|
|
340
|
-
)
|
|
341
|
-
}
|
|
342
|
-
)
|
|
330
|
+
onClick: (e) => {
|
|
331
|
+
onChange?.(
|
|
332
|
+
checked !== void 0 ? !checked : effectiveState !== "selected"
|
|
333
|
+
);
|
|
334
|
+
props.onClick?.(e);
|
|
335
|
+
},
|
|
336
|
+
children: effectiveState === "selected" ? /* @__PURE__ */ jsxs6("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
337
|
+
/* @__PURE__ */ jsx6("rect", { width: "24", height: "24", rx: "6", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
338
|
+
/* @__PURE__ */ jsx6("path", { d: "M7.5 12L10.5 15L16.5 9", stroke: "var(--alias-text---icons-inverse, #101010)", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
339
|
+
] }) : /* @__PURE__ */ jsx6("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx6("rect", { x: "0.75", y: "0.75", width: "22.5", height: "22.5", rx: "5.25", stroke: "var(--alias-border-default, #3e3e3e)", strokeWidth: "1.5" }) })
|
|
343
340
|
}
|
|
344
341
|
);
|
|
345
342
|
};
|
|
346
343
|
|
|
347
344
|
// src/SC-Pairtext/ScPairtext.tsx
|
|
348
|
-
import { Fragment as Fragment2, jsx as jsx7, jsxs as
|
|
345
|
+
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
349
346
|
var ScPairtext = ({
|
|
350
347
|
content = "Pairtext",
|
|
351
348
|
icon = /* @__PURE__ */ jsx7(SiconHome, { className: ScPairtext_default.siconHomeInstance }),
|
|
352
349
|
iconPosition = "left",
|
|
353
350
|
type = "icon",
|
|
351
|
+
checked,
|
|
352
|
+
onChange,
|
|
354
353
|
className,
|
|
355
354
|
...props
|
|
356
355
|
}) => {
|
|
357
356
|
const variantsClassName = ScPairtext_default["icon-position-" + iconPosition] + " " + ScPairtext_default["type-" + type];
|
|
358
|
-
|
|
357
|
+
const derivedState = checked !== void 0 ? checked ? "selected" : "default" : "default";
|
|
358
|
+
return /* @__PURE__ */ jsxs7(
|
|
359
359
|
"div",
|
|
360
360
|
{
|
|
361
361
|
className: ScPairtext_default.scPairtext + " " + className + " " + variantsClassName,
|
|
362
|
+
style: { cursor: "pointer" },
|
|
363
|
+
onClick: (e) => {
|
|
364
|
+
onChange?.(!checked);
|
|
365
|
+
},
|
|
362
366
|
children: [
|
|
363
|
-
iconPosition === "right" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */
|
|
367
|
+
iconPosition === "right" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */ jsxs7("div", { className: ScPairtext_default.content, children: [
|
|
364
368
|
content,
|
|
365
369
|
" "
|
|
366
370
|
] }) }),
|
|
367
371
|
type === "checkbox" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */ jsx7(
|
|
368
372
|
ScCheckbox,
|
|
369
373
|
{
|
|
370
|
-
state:
|
|
374
|
+
state: derivedState,
|
|
375
|
+
checked,
|
|
371
376
|
className: ScPairtext_default.scCheckboxInstance
|
|
372
377
|
}
|
|
373
378
|
) }),
|
|
374
|
-
type === "radio" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */ jsx7(
|
|
379
|
+
type === "radio" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */ jsx7(
|
|
380
|
+
ScRadio,
|
|
381
|
+
{
|
|
382
|
+
state: derivedState,
|
|
383
|
+
className: ScPairtext_default.scRadioInstance
|
|
384
|
+
}
|
|
385
|
+
) }),
|
|
375
386
|
type === "icon" && /* @__PURE__ */ jsx7(Fragment2, { children: icon }),
|
|
376
|
-
iconPosition === "left" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */
|
|
387
|
+
iconPosition === "left" && /* @__PURE__ */ jsx7(Fragment2, { children: /* @__PURE__ */ jsxs7("div", { className: ScPairtext_default.content, children: [
|
|
377
388
|
content,
|
|
378
389
|
" "
|
|
379
390
|
] }) })
|
|
@@ -383,7 +394,7 @@ var ScPairtext = ({
|
|
|
383
394
|
};
|
|
384
395
|
|
|
385
396
|
// src/SC-BillingHistoryTableList/ScBillingHistoryTableList.tsx
|
|
386
|
-
import { jsx as jsx8, jsxs as
|
|
397
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
387
398
|
var ScBillingHistoryTableList = ({
|
|
388
399
|
invoiceNumber = "# INV-2800-2026",
|
|
389
400
|
amount = "$320.89",
|
|
@@ -393,22 +404,22 @@ var ScBillingHistoryTableList = ({
|
|
|
393
404
|
onRowClick,
|
|
394
405
|
...props
|
|
395
406
|
}) => {
|
|
396
|
-
return /* @__PURE__ */
|
|
407
|
+
return /* @__PURE__ */ jsxs8(
|
|
397
408
|
"div",
|
|
398
409
|
{
|
|
399
410
|
className: ScBillingHistoryTableList_default.scBillingHistoryTableList + " " + className,
|
|
400
411
|
onClick: onRowClick,
|
|
401
412
|
...props,
|
|
402
413
|
children: [
|
|
403
|
-
/* @__PURE__ */
|
|
414
|
+
/* @__PURE__ */ jsxs8("div", { className: ScBillingHistoryTableList_default.invoiceNumber, children: [
|
|
404
415
|
invoiceNumber,
|
|
405
416
|
" "
|
|
406
417
|
] }),
|
|
407
|
-
/* @__PURE__ */
|
|
418
|
+
/* @__PURE__ */ jsxs8("div", { className: ScBillingHistoryTableList_default.amount, children: [
|
|
408
419
|
amount,
|
|
409
420
|
" "
|
|
410
421
|
] }),
|
|
411
|
-
/* @__PURE__ */
|
|
422
|
+
/* @__PURE__ */ jsxs8("div", { className: ScBillingHistoryTableList_default.date, children: [
|
|
412
423
|
date,
|
|
413
424
|
" "
|
|
414
425
|
] }),
|
|
@@ -456,7 +467,7 @@ var ScButton_default = {
|
|
|
456
467
|
// src/SC-Button/ScButton.tsx
|
|
457
468
|
import { SiconHome as SiconHome2 } from "@streamoid/icons";
|
|
458
469
|
import { useMemo, isValidElement, cloneElement } from "react";
|
|
459
|
-
import { Fragment as Fragment3, jsx as jsx9, jsxs as
|
|
470
|
+
import { Fragment as Fragment3, jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
460
471
|
if (typeof window !== "undefined" && CSS.registerProperty) {
|
|
461
472
|
const props = [
|
|
462
473
|
{ name: "--x-0", val: "72%" },
|
|
@@ -537,7 +548,7 @@ var ScButton = ({
|
|
|
537
548
|
const strokeWidth = size === "sm" ? 1.25 : 1.5;
|
|
538
549
|
const styledIcon = isValidElement(icon) ? cloneElement(icon, { color: "currentColor", strokeWidth }) : icon;
|
|
539
550
|
const variantsClassName = ScButton_default["style-variant-" + styleVariant] + " " + ScButton_default["state-" + state] + " " + ScButton_default["variant-" + variant] + " " + ScButton_default["type-" + type] + " " + ScButton_default["size-" + size];
|
|
540
|
-
return /* @__PURE__ */
|
|
551
|
+
return /* @__PURE__ */ jsxs9(
|
|
541
552
|
"div",
|
|
542
553
|
{
|
|
543
554
|
className: ScButton_default.scButton + " " + className + " " + variantsClassName,
|
|
@@ -550,9 +561,9 @@ var ScButton = ({
|
|
|
550
561
|
style: { backgroundImage: `url(${noiseUrl})` }
|
|
551
562
|
}
|
|
552
563
|
),
|
|
553
|
-
/* @__PURE__ */
|
|
564
|
+
/* @__PURE__ */ jsxs9("div", { className: ScButton_default.container, children: [
|
|
554
565
|
(styleVariant === "icon-left" || styleVariant === "icon-only") && /* @__PURE__ */ jsx9(Fragment3, { children: styledIcon }),
|
|
555
|
-
(styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ jsx9(Fragment3, { children: /* @__PURE__ */
|
|
566
|
+
(styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ jsx9(Fragment3, { children: /* @__PURE__ */ jsxs9("div", { className: ScButton_default.label, children: [
|
|
556
567
|
text,
|
|
557
568
|
" "
|
|
558
569
|
] }) }),
|
|
@@ -644,7 +655,7 @@ var ScCalendarDateComps_default = {
|
|
|
644
655
|
};
|
|
645
656
|
|
|
646
657
|
// src/SC-Calendar date comps/ScCalendarDateComps.tsx
|
|
647
|
-
import { jsx as jsx11, jsxs as
|
|
658
|
+
import { jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
648
659
|
var ScCalendarDateComps = ({
|
|
649
660
|
date = "31",
|
|
650
661
|
state = "default",
|
|
@@ -657,7 +668,7 @@ var ScCalendarDateComps = ({
|
|
|
657
668
|
{
|
|
658
669
|
className: ScCalendarDateComps_default.scCalendarDateComps + " " + className + " " + variantsClassName,
|
|
659
670
|
...props,
|
|
660
|
-
children: /* @__PURE__ */
|
|
671
|
+
children: /* @__PURE__ */ jsxs10("div", { className: ScCalendarDateComps_default.date, children: [
|
|
661
672
|
date,
|
|
662
673
|
" "
|
|
663
674
|
] })
|
|
@@ -666,7 +677,7 @@ var ScCalendarDateComps = ({
|
|
|
666
677
|
};
|
|
667
678
|
|
|
668
679
|
// src/SC-Calendar/ScCalendar.tsx
|
|
669
|
-
import { jsx as jsx12, jsxs as
|
|
680
|
+
import { jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
670
681
|
var MONTH_NAMES = [
|
|
671
682
|
"January",
|
|
672
683
|
"February",
|
|
@@ -729,14 +740,14 @@ var ScCalendar = ({
|
|
|
729
740
|
}
|
|
730
741
|
return String(dayIndex - firstDayOfMonth + 1);
|
|
731
742
|
};
|
|
732
|
-
return /* @__PURE__ */
|
|
733
|
-
/* @__PURE__ */
|
|
734
|
-
/* @__PURE__ */
|
|
743
|
+
return /* @__PURE__ */ jsxs11("div", { className: ScCalendar_default.scCalendar + " " + className, ...props, children: [
|
|
744
|
+
/* @__PURE__ */ jsxs11("div", { className: ScCalendar_default.header, children: [
|
|
745
|
+
/* @__PURE__ */ jsxs11("div", { className: ScCalendar_default.monthYear, children: [
|
|
735
746
|
MONTH_NAMES[currentMonth],
|
|
736
747
|
" ",
|
|
737
748
|
currentYear
|
|
738
749
|
] }),
|
|
739
|
-
/* @__PURE__ */
|
|
750
|
+
/* @__PURE__ */ jsxs11("div", { className: ScCalendar_default.navigation, children: [
|
|
740
751
|
/* @__PURE__ */ jsx12(
|
|
741
752
|
SiconLeft,
|
|
742
753
|
{
|
|
@@ -822,7 +833,7 @@ var ScProgressBar = ({
|
|
|
822
833
|
|
|
823
834
|
// src/SC-Credits usage card/ScCreditsUsageCard.tsx
|
|
824
835
|
import { SiconHome as SiconHome3 } from "@streamoid/icons";
|
|
825
|
-
import { jsx as jsx14, jsxs as
|
|
836
|
+
import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
826
837
|
var ScCreditsUsageCard = ({
|
|
827
838
|
usageLabel = "Credits usage",
|
|
828
839
|
usageText = "8,450 / 30,000",
|
|
@@ -837,8 +848,8 @@ var ScCreditsUsageCard = ({
|
|
|
837
848
|
}) => {
|
|
838
849
|
const [btnHovered, setBtnHovered] = useState(false);
|
|
839
850
|
const displayText = btnHovered && buyButtonHoverText ? buyButtonHoverText : buyButtonText;
|
|
840
|
-
return /* @__PURE__ */
|
|
841
|
-
/* @__PURE__ */
|
|
851
|
+
return /* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.scCreditsUsageCard + " " + className, ...props, children: [
|
|
852
|
+
/* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.header, children: [
|
|
842
853
|
/* @__PURE__ */ jsx14(
|
|
843
854
|
ScPairtext,
|
|
844
855
|
{
|
|
@@ -847,13 +858,13 @@ var ScCreditsUsageCard = ({
|
|
|
847
858
|
className: ScCreditsUsageCard_default.scPairtextInstance
|
|
848
859
|
}
|
|
849
860
|
),
|
|
850
|
-
/* @__PURE__ */
|
|
861
|
+
/* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.usageText, children: [
|
|
851
862
|
usageText,
|
|
852
863
|
" "
|
|
853
864
|
] })
|
|
854
865
|
] }),
|
|
855
866
|
/* @__PURE__ */ jsx14(ScHDivider, { className: ScCreditsUsageCard_default.scHDividerInstance }),
|
|
856
|
-
/* @__PURE__ */
|
|
867
|
+
/* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.progressContainer, children: [
|
|
857
868
|
/* @__PURE__ */ jsx14(
|
|
858
869
|
ScProgressBar,
|
|
859
870
|
{
|
|
@@ -861,7 +872,7 @@ var ScCreditsUsageCard = ({
|
|
|
861
872
|
className: ScCreditsUsageCard_default.scProgressBarInstance
|
|
862
873
|
}
|
|
863
874
|
),
|
|
864
|
-
/* @__PURE__ */
|
|
875
|
+
/* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.remainingText, children: [
|
|
865
876
|
remainingText,
|
|
866
877
|
" "
|
|
867
878
|
] }),
|
|
@@ -949,7 +960,7 @@ var ScGoogleSignIn_default = {
|
|
|
949
960
|
};
|
|
950
961
|
|
|
951
962
|
// src/SC-Google sign in/ScGoogleSignIn.tsx
|
|
952
|
-
import { jsx as jsx16, jsxs as
|
|
963
|
+
import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
953
964
|
var ScGoogleSignIn = ({
|
|
954
965
|
hover = "false",
|
|
955
966
|
googleLogoSrc = "google-logo0.png",
|
|
@@ -958,14 +969,14 @@ var ScGoogleSignIn = ({
|
|
|
958
969
|
...props
|
|
959
970
|
}) => {
|
|
960
971
|
const variantsClassName = ScGoogleSignIn_default["hover-" + hover];
|
|
961
|
-
return /* @__PURE__ */
|
|
972
|
+
return /* @__PURE__ */ jsxs13(
|
|
962
973
|
"div",
|
|
963
974
|
{
|
|
964
975
|
className: ScGoogleSignIn_default.scGoogleSignIn + " " + className + " " + variantsClassName,
|
|
965
976
|
...props,
|
|
966
977
|
children: [
|
|
967
978
|
/* @__PURE__ */ jsx16("img", { className: ScGoogleSignIn_default.googleLogo, src: googleLogoSrc }),
|
|
968
|
-
/* @__PURE__ */
|
|
979
|
+
/* @__PURE__ */ jsxs13("div", { className: ScGoogleSignIn_default.signInText, children: [
|
|
969
980
|
signInText,
|
|
970
981
|
" "
|
|
971
982
|
] })
|
|
@@ -981,7 +992,7 @@ var ScIntialProfileCover_default = {
|
|
|
981
992
|
};
|
|
982
993
|
|
|
983
994
|
// src/SC-Intial Profile Cover/ScIntialProfileCover.tsx
|
|
984
|
-
import { jsx as jsx17, jsxs as
|
|
995
|
+
import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
985
996
|
var ScIntialProfileCover = ({
|
|
986
997
|
intial = "WS",
|
|
987
998
|
size,
|
|
@@ -993,7 +1004,7 @@ var ScIntialProfileCover = ({
|
|
|
993
1004
|
{
|
|
994
1005
|
className: ScIntialProfileCover_default.scIntialProfileCover + " " + className,
|
|
995
1006
|
style: sizeStyle,
|
|
996
|
-
children: /* @__PURE__ */
|
|
1007
|
+
children: /* @__PURE__ */ jsxs14("div", { className: ScIntialProfileCover_default.initials, children: [
|
|
997
1008
|
intial,
|
|
998
1009
|
" "
|
|
999
1010
|
] })
|
|
@@ -1017,14 +1028,14 @@ var ScStrLogo_default = {
|
|
|
1017
1028
|
};
|
|
1018
1029
|
|
|
1019
1030
|
// src/SC-strLogo/ScStrLogo.tsx
|
|
1020
|
-
import { jsx as jsx18, jsxs as
|
|
1031
|
+
import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1021
1032
|
var ScStrLogo = ({
|
|
1022
1033
|
type = "default",
|
|
1023
1034
|
className,
|
|
1024
1035
|
...props
|
|
1025
1036
|
}) => {
|
|
1026
1037
|
const variantsClassName = ScStrLogo_default["type-" + type];
|
|
1027
|
-
return /* @__PURE__ */
|
|
1038
|
+
return /* @__PURE__ */ jsxs15(
|
|
1028
1039
|
"svg",
|
|
1029
1040
|
{
|
|
1030
1041
|
className: ScStrLogo_default.scStrLogo + " " + className + " " + variantsClassName,
|
|
@@ -1126,7 +1137,7 @@ var ScStrLogo = ({
|
|
|
1126
1137
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1127
1138
|
}
|
|
1128
1139
|
),
|
|
1129
|
-
/* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */
|
|
1140
|
+
/* @__PURE__ */ jsx18("defs", { children: /* @__PURE__ */ jsxs15(
|
|
1130
1141
|
"linearGradient",
|
|
1131
1142
|
{
|
|
1132
1143
|
id: "paint0_linear_19_1153",
|
|
@@ -1183,7 +1194,7 @@ var ScMenuOptions_default = {
|
|
|
1183
1194
|
|
|
1184
1195
|
// src/SC-Menu options/ScMenuOptions.tsx
|
|
1185
1196
|
import { SiconTeam } from "@streamoid/icons";
|
|
1186
|
-
import { Fragment as Fragment4, jsx as jsx20, jsxs as
|
|
1197
|
+
import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1187
1198
|
var ScMenuOptions = ({
|
|
1188
1199
|
icon = /* @__PURE__ */ jsx20(SiconTeam, { className: ScMenuOptions_default.siconTeamInstance }),
|
|
1189
1200
|
version = "v2.0.21",
|
|
@@ -1194,18 +1205,18 @@ var ScMenuOptions = ({
|
|
|
1194
1205
|
...props
|
|
1195
1206
|
}) => {
|
|
1196
1207
|
const variantsClassName = ScMenuOptions_default["hover-" + hover] + " " + ScMenuOptions_default["variant-" + variant];
|
|
1197
|
-
return /* @__PURE__ */
|
|
1208
|
+
return /* @__PURE__ */ jsxs16(
|
|
1198
1209
|
"div",
|
|
1199
1210
|
{
|
|
1200
1211
|
className: ScMenuOptions_default.scMenuOptions + " " + className + " " + variantsClassName,
|
|
1201
1212
|
...props,
|
|
1202
1213
|
children: [
|
|
1203
1214
|
icon,
|
|
1204
|
-
/* @__PURE__ */
|
|
1215
|
+
/* @__PURE__ */ jsxs16("div", { className: ScMenuOptions_default.content, children: [
|
|
1205
1216
|
text,
|
|
1206
1217
|
" "
|
|
1207
1218
|
] }),
|
|
1208
|
-
variant === "with-v" && /* @__PURE__ */ jsx20(Fragment4, { children: /* @__PURE__ */
|
|
1219
|
+
variant === "with-v" && /* @__PURE__ */ jsx20(Fragment4, { children: /* @__PURE__ */ jsxs16("div", { className: ScMenuOptions_default.content2, children: [
|
|
1209
1220
|
version,
|
|
1210
1221
|
" "
|
|
1211
1222
|
] }) })
|
|
@@ -1271,7 +1282,7 @@ var ScPlanCard_default = {
|
|
|
1271
1282
|
|
|
1272
1283
|
// src/SC-Plan card/ScPlanCard.tsx
|
|
1273
1284
|
import { SiconCredits as SiconCredits2, SiconHome as SiconHome4 } from "@streamoid/icons";
|
|
1274
|
-
import { jsx as jsx22, jsxs as
|
|
1285
|
+
import { jsx as jsx22, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1275
1286
|
var ScPlanCard = ({
|
|
1276
1287
|
planName = "Pro",
|
|
1277
1288
|
price = "$49.99 / month",
|
|
@@ -1291,17 +1302,17 @@ var ScPlanCard = ({
|
|
|
1291
1302
|
const isCustom = type === "custom";
|
|
1292
1303
|
const isFreeOrPopular = type === "free" || type === "popular";
|
|
1293
1304
|
const variantsClassName = ScPlanCard_default["type-" + type];
|
|
1294
|
-
return /* @__PURE__ */
|
|
1305
|
+
return /* @__PURE__ */ jsxs17(
|
|
1295
1306
|
"div",
|
|
1296
1307
|
{
|
|
1297
1308
|
className: ScPlanCard_default.scPlanCard + " " + (className || "") + " " + variantsClassName,
|
|
1298
1309
|
children: [
|
|
1299
|
-
/* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.planHeader, children: /* @__PURE__ */
|
|
1310
|
+
/* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.planHeader, children: /* @__PURE__ */ jsxs17("div", { className: ScPlanCard_default.planInfo, children: [
|
|
1300
1311
|
/* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.planName, children: planName }),
|
|
1301
1312
|
!isCustom && /* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.planPrice, children: price })
|
|
1302
1313
|
] }) }),
|
|
1303
|
-
isFreeOrPopular && /* @__PURE__ */
|
|
1304
|
-
/* @__PURE__ */
|
|
1314
|
+
isFreeOrPopular && /* @__PURE__ */ jsxs17("div", { className: ScPlanCard_default.creditsWrapper, children: [
|
|
1315
|
+
/* @__PURE__ */ jsxs17(
|
|
1305
1316
|
"div",
|
|
1306
1317
|
{
|
|
1307
1318
|
className: ScPlanCard_default.creditsContainer + (isPopular ? " " + ScPlanCard_default.creditsContainerPopular : ""),
|
|
@@ -1316,7 +1327,7 @@ var ScPlanCard = ({
|
|
|
1316
1327
|
}
|
|
1317
1328
|
),
|
|
1318
1329
|
/* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.creditsText, children: credits }),
|
|
1319
|
-
isPopular && /* @__PURE__ */
|
|
1330
|
+
isPopular && /* @__PURE__ */ jsxs17(
|
|
1320
1331
|
"button",
|
|
1321
1332
|
{
|
|
1322
1333
|
type: "button",
|
|
@@ -1365,11 +1376,11 @@ var ScPlanCard = ({
|
|
|
1365
1376
|
),
|
|
1366
1377
|
isCustom && /* @__PURE__ */ jsx22(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1367
1378
|
isCustom && description && /* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.description, children: description }),
|
|
1368
|
-
isFreeOrPopular && features.map((section, sIdx) => /* @__PURE__ */
|
|
1379
|
+
isFreeOrPopular && features.map((section, sIdx) => /* @__PURE__ */ jsxs17(Fragment5, { children: [
|
|
1369
1380
|
sIdx > 0 && /* @__PURE__ */ jsx22(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1370
|
-
/* @__PURE__ */
|
|
1381
|
+
/* @__PURE__ */ jsxs17("div", { className: ScPlanCard_default.featuresSection, children: [
|
|
1371
1382
|
/* @__PURE__ */ jsx22("div", { className: ScPlanCard_default.sectionTitle, children: section.section }),
|
|
1372
|
-
section.features.map((feature, fIdx) => /* @__PURE__ */
|
|
1383
|
+
section.features.map((feature, fIdx) => /* @__PURE__ */ jsxs17("div", { className: ScPlanCard_default.featureRow, children: [
|
|
1373
1384
|
section.icon || /* @__PURE__ */ jsx22(SiconHome4, { color: "var(--alias-text-and-icons-tertiary, #9e9e9e)", size: 24, strokeWidth: 1.5 }),
|
|
1374
1385
|
/* @__PURE__ */ jsx22("span", { className: ScPlanCard_default.featureText, children: feature })
|
|
1375
1386
|
] }, fIdx))
|
|
@@ -1410,7 +1421,7 @@ var ScPlanDetailsCard_default = {
|
|
|
1410
1421
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
1411
1422
|
import { SiconBilling } from "@streamoid/icons";
|
|
1412
1423
|
import { SiconHome as SiconHome5 } from "@streamoid/icons";
|
|
1413
|
-
import { jsx as jsx23, jsxs as
|
|
1424
|
+
import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1414
1425
|
var ScPlanDetailsCard = ({
|
|
1415
1426
|
planName = "Free",
|
|
1416
1427
|
planCredits = "30,000 credits",
|
|
@@ -1422,8 +1433,8 @@ var ScPlanDetailsCard = ({
|
|
|
1422
1433
|
className,
|
|
1423
1434
|
...props
|
|
1424
1435
|
}) => {
|
|
1425
|
-
return /* @__PURE__ */
|
|
1426
|
-
/* @__PURE__ */
|
|
1436
|
+
return /* @__PURE__ */ jsxs18("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, ...props, children: [
|
|
1437
|
+
/* @__PURE__ */ jsxs18("div", { className: ScPlanDetailsCard_default.planHeader, children: [
|
|
1427
1438
|
/* @__PURE__ */ jsx23(
|
|
1428
1439
|
ScPairtext,
|
|
1429
1440
|
{
|
|
@@ -1443,9 +1454,9 @@ var ScPlanDetailsCard = ({
|
|
|
1443
1454
|
)
|
|
1444
1455
|
] }),
|
|
1445
1456
|
/* @__PURE__ */ jsx23(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
1446
|
-
/* @__PURE__ */
|
|
1447
|
-
/* @__PURE__ */
|
|
1448
|
-
/* @__PURE__ */
|
|
1457
|
+
/* @__PURE__ */ jsxs18("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
1458
|
+
/* @__PURE__ */ jsxs18("div", { className: ScPlanDetailsCard_default.planInfo, children: [
|
|
1459
|
+
/* @__PURE__ */ jsxs18("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
1449
1460
|
/* @__PURE__ */ jsx23("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
1450
1461
|
/* @__PURE__ */ jsx23("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
1451
1462
|
/* @__PURE__ */ jsx23("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
|
|
@@ -1477,7 +1488,7 @@ var ScProfile_default = {
|
|
|
1477
1488
|
};
|
|
1478
1489
|
|
|
1479
1490
|
// src/SC-Profile/ScProfile.tsx
|
|
1480
|
-
import { Fragment as Fragment6, jsx as jsx24, jsxs as
|
|
1491
|
+
import { Fragment as Fragment6, jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1481
1492
|
var ScProfile = ({
|
|
1482
1493
|
name = "Chris Hemsworth",
|
|
1483
1494
|
subText = "Kepler workspace",
|
|
@@ -1487,19 +1498,19 @@ var ScProfile = ({
|
|
|
1487
1498
|
...props
|
|
1488
1499
|
}) => {
|
|
1489
1500
|
const variantsClassName = ScProfile_default["collapsed-" + collapsed];
|
|
1490
|
-
return /* @__PURE__ */
|
|
1501
|
+
return /* @__PURE__ */ jsxs19(
|
|
1491
1502
|
"div",
|
|
1492
1503
|
{
|
|
1493
1504
|
className: ScProfile_default.scProfile + " " + className + " " + variantsClassName,
|
|
1494
1505
|
...props,
|
|
1495
1506
|
children: [
|
|
1496
1507
|
/* @__PURE__ */ jsx24("img", { className: ScProfile_default.profileImage, src: profileImage }),
|
|
1497
|
-
collapsed === "false" && /* @__PURE__ */ jsx24(Fragment6, { children: /* @__PURE__ */
|
|
1498
|
-
/* @__PURE__ */
|
|
1508
|
+
collapsed === "false" && /* @__PURE__ */ jsx24(Fragment6, { children: /* @__PURE__ */ jsxs19("div", { className: ScProfile_default.userInfo, children: [
|
|
1509
|
+
/* @__PURE__ */ jsxs19("div", { className: ScProfile_default.userName, children: [
|
|
1499
1510
|
name,
|
|
1500
1511
|
" "
|
|
1501
1512
|
] }),
|
|
1502
|
-
/* @__PURE__ */
|
|
1513
|
+
/* @__PURE__ */ jsxs19("div", { className: ScProfile_default.userDescription, children: [
|
|
1503
1514
|
subText,
|
|
1504
1515
|
" "
|
|
1505
1516
|
] })
|
|
@@ -1509,6 +1520,9 @@ var ScProfile = ({
|
|
|
1509
1520
|
);
|
|
1510
1521
|
};
|
|
1511
1522
|
|
|
1523
|
+
// src/SC-Profile Image update/ScProfileImageUpdate.tsx
|
|
1524
|
+
import { useRef } from "react";
|
|
1525
|
+
|
|
1512
1526
|
// src/SC-Profile Image update/ScProfileImageUpdate.module.css
|
|
1513
1527
|
var ScProfileImageUpdate_default = {
|
|
1514
1528
|
scProfileImageUpdate: "ScProfileImageUpdate_scProfileImageUpdate",
|
|
@@ -1516,6 +1530,7 @@ var ScProfileImageUpdate_default = {
|
|
|
1516
1530
|
buttonContainer: "ScProfileImageUpdate_buttonContainer",
|
|
1517
1531
|
scButtonInstance: "ScProfileImageUpdate_scButtonInstance",
|
|
1518
1532
|
scVDividerInstance: "ScProfileImageUpdate_scVDividerInstance",
|
|
1533
|
+
profileInitials: "ScProfileImageUpdate_profileInitials",
|
|
1519
1534
|
siconUploadInstance: "ScProfileImageUpdate_siconUploadInstance",
|
|
1520
1535
|
siconDeleteInstance: "ScProfileImageUpdate_siconDeleteInstance"
|
|
1521
1536
|
};
|
|
@@ -1555,34 +1570,64 @@ var ScVDivider = ({
|
|
|
1555
1570
|
};
|
|
1556
1571
|
|
|
1557
1572
|
// src/SC-Profile Image update/ScProfileImageUpdate.tsx
|
|
1558
|
-
import { jsx as jsx26, jsxs as
|
|
1573
|
+
import { jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1559
1574
|
var ScProfileImageUpdate = ({
|
|
1575
|
+
imageUrl,
|
|
1576
|
+
initials = "",
|
|
1577
|
+
onUpload,
|
|
1578
|
+
onDelete,
|
|
1560
1579
|
className,
|
|
1561
1580
|
...props
|
|
1562
1581
|
}) => {
|
|
1563
|
-
|
|
1582
|
+
const inputRef = useRef(null);
|
|
1583
|
+
function handleUploadClick() {
|
|
1584
|
+
inputRef.current?.click();
|
|
1585
|
+
}
|
|
1586
|
+
function handleFileChange(e) {
|
|
1587
|
+
const file = e.target.files?.[0];
|
|
1588
|
+
if (file) {
|
|
1589
|
+
onUpload?.(file);
|
|
1590
|
+
}
|
|
1591
|
+
e.target.value = "";
|
|
1592
|
+
}
|
|
1593
|
+
return /* @__PURE__ */ jsxs20("div", { className: ScProfileImageUpdate_default.scProfileImageUpdate + " " + className, ...props, children: [
|
|
1564
1594
|
/* @__PURE__ */ jsx26(
|
|
1565
|
-
|
|
1595
|
+
"input",
|
|
1566
1596
|
{
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1597
|
+
ref: inputRef,
|
|
1598
|
+
type: "file",
|
|
1599
|
+
accept: "image/*",
|
|
1600
|
+
style: { display: "none" },
|
|
1601
|
+
onChange: handleFileChange
|
|
1572
1602
|
}
|
|
1573
1603
|
),
|
|
1574
|
-
/* @__PURE__ */ jsx26(
|
|
1575
|
-
/* @__PURE__ */
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1604
|
+
imageUrl ? /* @__PURE__ */ jsx26("img", { className: ScProfileImageUpdate_default.profileImage, src: imageUrl, alt: "profile" }) : /* @__PURE__ */ jsx26("div", { className: ScProfileImageUpdate_default.profileImage + " " + ScProfileImageUpdate_default.profileInitials, children: initials }),
|
|
1605
|
+
/* @__PURE__ */ jsxs20("div", { className: ScProfileImageUpdate_default.buttonContainer, children: [
|
|
1606
|
+
/* @__PURE__ */ jsx26(
|
|
1607
|
+
ScButton,
|
|
1608
|
+
{
|
|
1609
|
+
icon: /* @__PURE__ */ jsx26(SiconUpload, { className: ScProfileImageUpdate_default.siconUploadInstance }),
|
|
1610
|
+
styleVariant: "icon-only",
|
|
1611
|
+
variant: "tertiary",
|
|
1612
|
+
size: "md",
|
|
1613
|
+
className: ScProfileImageUpdate_default.scButtonInstance,
|
|
1614
|
+
onClick: handleUploadClick
|
|
1615
|
+
}
|
|
1616
|
+
),
|
|
1617
|
+
/* @__PURE__ */ jsx26(ScVDivider, { className: ScProfileImageUpdate_default.scVDividerInstance }),
|
|
1618
|
+
/* @__PURE__ */ jsx26(
|
|
1619
|
+
ScButton,
|
|
1620
|
+
{
|
|
1621
|
+
icon: /* @__PURE__ */ jsx26(SiconDelete, { className: ScProfileImageUpdate_default.siconDeleteInstance }),
|
|
1622
|
+
styleVariant: "icon-only",
|
|
1623
|
+
variant: "tertiary",
|
|
1624
|
+
size: "md",
|
|
1625
|
+
className: ScProfileImageUpdate_default.scButtonInstance,
|
|
1626
|
+
onClick: () => onDelete?.()
|
|
1627
|
+
}
|
|
1628
|
+
)
|
|
1629
|
+
] })
|
|
1630
|
+
] });
|
|
1586
1631
|
};
|
|
1587
1632
|
|
|
1588
1633
|
// src/SC-Profile options/ScProfileOptions.module.css
|
|
@@ -1617,7 +1662,7 @@ var ScWorkspace_default = {
|
|
|
1617
1662
|
};
|
|
1618
1663
|
|
|
1619
1664
|
// src/SC-Workspace/ScWorkspace.tsx
|
|
1620
|
-
import { Fragment as Fragment7, jsx as jsx27, jsxs as
|
|
1665
|
+
import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1621
1666
|
var ScWorkspace = ({
|
|
1622
1667
|
collapsed = "false",
|
|
1623
1668
|
workspaceName = "Kepler",
|
|
@@ -1627,19 +1672,19 @@ var ScWorkspace = ({
|
|
|
1627
1672
|
...props
|
|
1628
1673
|
}) => {
|
|
1629
1674
|
const variantsClassName = ScWorkspace_default["collapsed-" + collapsed];
|
|
1630
|
-
return /* @__PURE__ */
|
|
1675
|
+
return /* @__PURE__ */ jsxs21(
|
|
1631
1676
|
"div",
|
|
1632
1677
|
{
|
|
1633
1678
|
className: ScWorkspace_default.scWorkspace + " " + className + " " + variantsClassName,
|
|
1634
1679
|
...props,
|
|
1635
1680
|
children: [
|
|
1636
1681
|
/* @__PURE__ */ jsx27("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
|
|
1637
|
-
collapsed === "false" && /* @__PURE__ */ jsx27(Fragment7, { children: /* @__PURE__ */
|
|
1638
|
-
/* @__PURE__ */
|
|
1682
|
+
collapsed === "false" && /* @__PURE__ */ jsx27(Fragment7, { children: /* @__PURE__ */ jsxs21("div", { className: ScWorkspace_default.userInfo, children: [
|
|
1683
|
+
/* @__PURE__ */ jsxs21("div", { className: ScWorkspace_default.userName, children: [
|
|
1639
1684
|
workspaceName,
|
|
1640
1685
|
" "
|
|
1641
1686
|
] }),
|
|
1642
|
-
/* @__PURE__ */
|
|
1687
|
+
/* @__PURE__ */ jsxs21("div", { className: ScWorkspace_default.userRole, children: [
|
|
1643
1688
|
userRole,
|
|
1644
1689
|
" "
|
|
1645
1690
|
] })
|
|
@@ -1668,7 +1713,7 @@ var ScTabComp_default = {
|
|
|
1668
1713
|
|
|
1669
1714
|
// src/SC-tabComp/ScTabComp.tsx
|
|
1670
1715
|
import { SiconHome as SiconHome6 } from "@streamoid/icons";
|
|
1671
|
-
import { Fragment as Fragment8, jsx as jsx28, jsxs as
|
|
1716
|
+
import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1672
1717
|
var ScTabComp = ({
|
|
1673
1718
|
icon = /* @__PURE__ */ jsx28(SiconHome6, { className: ScTabComp_default.siconHomeInstance }),
|
|
1674
1719
|
active = "false",
|
|
@@ -1678,14 +1723,14 @@ var ScTabComp = ({
|
|
|
1678
1723
|
...props
|
|
1679
1724
|
}) => {
|
|
1680
1725
|
const variantsClassName = ScTabComp_default["active-" + active] + " " + ScTabComp_default["type-" + type];
|
|
1681
|
-
return /* @__PURE__ */
|
|
1726
|
+
return /* @__PURE__ */ jsxs22(
|
|
1682
1727
|
"div",
|
|
1683
1728
|
{
|
|
1684
1729
|
className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
|
|
1685
1730
|
...props,
|
|
1686
1731
|
children: [
|
|
1687
1732
|
type === "icon-only" && /* @__PURE__ */ jsx28(Fragment8, { children: /* @__PURE__ */ jsx28("div", { className: ScTabComp_default.icon, children: icon }) }),
|
|
1688
|
-
type === "text-only" && /* @__PURE__ */ jsx28(Fragment8, { children: /* @__PURE__ */ jsx28("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */
|
|
1733
|
+
type === "text-only" && /* @__PURE__ */ jsx28(Fragment8, { children: /* @__PURE__ */ jsx28("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ jsxs22("div", { className: ScTabComp_default.tabText, children: [
|
|
1689
1734
|
text,
|
|
1690
1735
|
" "
|
|
1691
1736
|
] }) }) })
|
|
@@ -1706,7 +1751,7 @@ var ScTabSwitcher_default = {
|
|
|
1706
1751
|
|
|
1707
1752
|
// src/SC-tabSwitcher/ScTabSwitcher.tsx
|
|
1708
1753
|
import { SiconHome as SiconHome7 } from "@streamoid/icons";
|
|
1709
|
-
import { Fragment as Fragment9, jsx as jsx29, jsxs as
|
|
1754
|
+
import { Fragment as Fragment9, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1710
1755
|
var ScTabSwitcher = ({
|
|
1711
1756
|
tabCount = "2",
|
|
1712
1757
|
component,
|
|
@@ -1718,7 +1763,7 @@ var ScTabSwitcher = ({
|
|
|
1718
1763
|
...props
|
|
1719
1764
|
}) => {
|
|
1720
1765
|
const variantsClassName = ScTabSwitcher_default["tab-count-" + tabCount];
|
|
1721
|
-
return /* @__PURE__ */
|
|
1766
|
+
return /* @__PURE__ */ jsxs23(
|
|
1722
1767
|
"div",
|
|
1723
1768
|
{
|
|
1724
1769
|
className: ScTabSwitcher_default.scTabSwitcher + " " + className + " " + variantsClassName,
|
|
@@ -1766,16 +1811,16 @@ var ScTabSwitcher = ({
|
|
|
1766
1811
|
};
|
|
1767
1812
|
|
|
1768
1813
|
// src/SC-Profile options/ScProfileOptions.tsx
|
|
1769
|
-
import { jsx as jsx30, jsxs as
|
|
1814
|
+
import { jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1770
1815
|
var ScProfileOptions = ({
|
|
1771
1816
|
className,
|
|
1772
1817
|
...props
|
|
1773
1818
|
}) => {
|
|
1774
|
-
return /* @__PURE__ */
|
|
1819
|
+
return /* @__PURE__ */ jsxs24("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, ...props, children: [
|
|
1775
1820
|
/* @__PURE__ */ jsx30("div", { className: ScProfileOptions_default.profileHeader, children: /* @__PURE__ */ jsx30(ScProfile, { className: ScProfileOptions_default.scProfileInstance }) }),
|
|
1776
1821
|
/* @__PURE__ */ jsx30(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance }),
|
|
1777
|
-
/* @__PURE__ */
|
|
1778
|
-
/* @__PURE__ */
|
|
1822
|
+
/* @__PURE__ */ jsxs24("div", { className: ScProfileOptions_default.profileDetails, children: [
|
|
1823
|
+
/* @__PURE__ */ jsxs24("div", { className: ScProfileOptions_default.workspaceInfo, children: [
|
|
1779
1824
|
/* @__PURE__ */ jsx30(ScWorkspace, { className: ScProfileOptions_default.scWorkspaceInstance }),
|
|
1780
1825
|
/* @__PURE__ */ jsx30(
|
|
1781
1826
|
ScBadges,
|
|
@@ -1814,7 +1859,7 @@ var ScProfileOptions = ({
|
|
|
1814
1859
|
)
|
|
1815
1860
|
] }),
|
|
1816
1861
|
/* @__PURE__ */ jsx30(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance2 }),
|
|
1817
|
-
/* @__PURE__ */
|
|
1862
|
+
/* @__PURE__ */ jsxs24("div", { className: ScProfileOptions_default.settingsOptions, children: [
|
|
1818
1863
|
/* @__PURE__ */ jsx30(
|
|
1819
1864
|
ScMenuOptions,
|
|
1820
1865
|
{
|
|
@@ -1894,6 +1939,9 @@ var ScProfileSettingsComp_default = {
|
|
|
1894
1939
|
// src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
|
|
1895
1940
|
import { SiconBolt as SiconBolt3, SiconLock } from "@streamoid/icons";
|
|
1896
1941
|
|
|
1942
|
+
// src/SC-textField/ScTextField.tsx
|
|
1943
|
+
import { useState as useState3 } from "react";
|
|
1944
|
+
|
|
1897
1945
|
// src/SC-textField/ScTextField.module.css
|
|
1898
1946
|
var ScTextField_default = {
|
|
1899
1947
|
scTextField: "ScTextField_scTextField",
|
|
@@ -1908,17 +1956,17 @@ var ScTextField_default = {
|
|
|
1908
1956
|
"tf-group-icon-left-right": "ScTextField_tf-group-icon-left-right",
|
|
1909
1957
|
"state-hover": "ScTextField_state-hover",
|
|
1910
1958
|
"state-filled": "ScTextField_state-filled",
|
|
1911
|
-
"state-
|
|
1959
|
+
"state-active": "ScTextField_state-active",
|
|
1912
1960
|
ScTextField_labelContainer: "ScTextField_ScTextField_labelContainer"
|
|
1913
1961
|
};
|
|
1914
1962
|
|
|
1915
1963
|
// src/SC-textField/ScTextField.tsx
|
|
1916
1964
|
import { SiconBolt as SiconBolt2 } from "@streamoid/icons";
|
|
1917
|
-
import { Fragment as Fragment10, jsx as jsx31, jsxs as
|
|
1965
|
+
import { Fragment as Fragment10, jsx as jsx31, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1918
1966
|
var ScTextField = ({
|
|
1919
1967
|
tfRightIcon = /* @__PURE__ */ jsx31(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
1920
1968
|
tfLeftIcon = /* @__PURE__ */ jsx31(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
1921
|
-
state
|
|
1969
|
+
state,
|
|
1922
1970
|
tfGroup = "icon-right",
|
|
1923
1971
|
labelGroup = "",
|
|
1924
1972
|
className,
|
|
@@ -1926,28 +1974,38 @@ var ScTextField = ({
|
|
|
1926
1974
|
label = "",
|
|
1927
1975
|
...props
|
|
1928
1976
|
}) => {
|
|
1929
|
-
const
|
|
1930
|
-
|
|
1977
|
+
const [focused, setFocused] = useState3(false);
|
|
1978
|
+
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
1979
|
+
const variantsClassName = ScTextField_default["state-" + derivedState] + " " + ScTextField_default["tf-group-" + tfGroup] + " " + ScTextField_default["label-group-" + labelGroup];
|
|
1980
|
+
return /* @__PURE__ */ jsxs25(
|
|
1931
1981
|
"div",
|
|
1932
1982
|
{
|
|
1933
1983
|
className: ScTextField_default.scTextField + " " + className + " " + variantsClassName,
|
|
1934
1984
|
children: [
|
|
1935
|
-
labelGroup && /* @__PURE__ */
|
|
1936
|
-
/* @__PURE__ */
|
|
1985
|
+
labelGroup && /* @__PURE__ */ jsxs25("div", { className: ScTextField_default.labelContainer, children: [
|
|
1986
|
+
/* @__PURE__ */ jsxs25("div", { className: ScTextField_default.label, children: [
|
|
1937
1987
|
label,
|
|
1938
1988
|
" "
|
|
1939
1989
|
] }),
|
|
1940
1990
|
labelGroup === "text" && /* @__PURE__ */ jsx31(Fragment10, { children: /* @__PURE__ */ jsx31("div", { className: ScTextField_default.info, children: "info " }) }),
|
|
1941
1991
|
labelGroup === "icon" && /* @__PURE__ */ jsx31(Fragment10, { children: /* @__PURE__ */ jsx31(SiconBolt2, { className: ScTextField_default.siconBoltInstance }) })
|
|
1942
1992
|
] }),
|
|
1943
|
-
/* @__PURE__ */
|
|
1993
|
+
/* @__PURE__ */ jsxs25("div", { className: ScTextField_default.inputContainer, children: [
|
|
1944
1994
|
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx31(Fragment10, { children: tfLeftIcon }),
|
|
1945
1995
|
/* @__PURE__ */ jsx31(
|
|
1946
1996
|
"input",
|
|
1947
1997
|
{
|
|
1948
1998
|
className: ScTextField_default.inputText,
|
|
1949
1999
|
placeholder: placeholderFilled,
|
|
1950
|
-
...props
|
|
2000
|
+
...props,
|
|
2001
|
+
onFocus: (e) => {
|
|
2002
|
+
setFocused(true);
|
|
2003
|
+
props.onFocus?.(e);
|
|
2004
|
+
},
|
|
2005
|
+
onBlur: (e) => {
|
|
2006
|
+
setFocused(false);
|
|
2007
|
+
props.onBlur?.(e);
|
|
2008
|
+
}
|
|
1951
2009
|
}
|
|
1952
2010
|
),
|
|
1953
2011
|
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx31(Fragment10, { children: tfRightIcon })
|
|
@@ -1958,7 +2016,7 @@ var ScTextField = ({
|
|
|
1958
2016
|
};
|
|
1959
2017
|
|
|
1960
2018
|
// src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
|
|
1961
|
-
import { jsx as jsx32, jsxs as
|
|
2019
|
+
import { jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1962
2020
|
var ScProfileSettingsComp = ({
|
|
1963
2021
|
firstName = "Chris",
|
|
1964
2022
|
lastName = "Hemsworth",
|
|
@@ -1966,15 +2024,15 @@ var ScProfileSettingsComp = ({
|
|
|
1966
2024
|
className,
|
|
1967
2025
|
...props
|
|
1968
2026
|
}) => {
|
|
1969
|
-
return /* @__PURE__ */
|
|
2027
|
+
return /* @__PURE__ */ jsxs26("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, ...props, children: [
|
|
1970
2028
|
/* @__PURE__ */ jsx32(
|
|
1971
2029
|
ScProfileImageUpdate,
|
|
1972
2030
|
{
|
|
1973
2031
|
className: ScProfileSettingsComp_default.scProfileImageUpdateInstance
|
|
1974
2032
|
}
|
|
1975
2033
|
),
|
|
1976
|
-
/* @__PURE__ */
|
|
1977
|
-
/* @__PURE__ */
|
|
2034
|
+
/* @__PURE__ */ jsxs26("div", { className: ScProfileSettingsComp_default.profileInfo, children: [
|
|
2035
|
+
/* @__PURE__ */ jsxs26("div", { className: ScProfileSettingsComp_default.nameFields, children: [
|
|
1978
2036
|
/* @__PURE__ */ jsx32(
|
|
1979
2037
|
ScTextField,
|
|
1980
2038
|
{
|
|
@@ -2022,7 +2080,7 @@ var ScRole_default = {
|
|
|
2022
2080
|
};
|
|
2023
2081
|
|
|
2024
2082
|
// src/SC-Role/ScRole.tsx
|
|
2025
|
-
import { jsx as jsx33, jsxs as
|
|
2083
|
+
import { jsx as jsx33, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
2026
2084
|
var ScRole = ({
|
|
2027
2085
|
type = "admin",
|
|
2028
2086
|
label,
|
|
@@ -2036,7 +2094,7 @@ var ScRole = ({
|
|
|
2036
2094
|
{
|
|
2037
2095
|
className: ScRole_default.scRole + " " + className + " " + variantsClassName,
|
|
2038
2096
|
...props,
|
|
2039
|
-
children: /* @__PURE__ */
|
|
2097
|
+
children: /* @__PURE__ */ jsxs27("div", { className: ScRole_default.role, children: [
|
|
2040
2098
|
displayLabel,
|
|
2041
2099
|
" "
|
|
2042
2100
|
] })
|
|
@@ -2086,7 +2144,7 @@ var ScSidebarMenu_default = {
|
|
|
2086
2144
|
|
|
2087
2145
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
2088
2146
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
2089
|
-
import { Fragment as Fragment11, jsx as jsx34, jsxs as
|
|
2147
|
+
import { Fragment as Fragment11, jsx as jsx34, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2090
2148
|
var ScSidebarMenu = ({
|
|
2091
2149
|
icon = /* @__PURE__ */ jsx34(SiconHome9, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
2092
2150
|
state = "default",
|
|
@@ -2096,14 +2154,14 @@ var ScSidebarMenu = ({
|
|
|
2096
2154
|
...props
|
|
2097
2155
|
}) => {
|
|
2098
2156
|
const variantsClassName = ScSidebarMenu_default["state-" + state] + " " + ScSidebarMenu_default["variant-" + variant];
|
|
2099
|
-
return /* @__PURE__ */
|
|
2157
|
+
return /* @__PURE__ */ jsxs28(
|
|
2100
2158
|
"div",
|
|
2101
2159
|
{
|
|
2102
2160
|
className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
|
|
2103
2161
|
...props,
|
|
2104
2162
|
children: [
|
|
2105
2163
|
icon,
|
|
2106
|
-
variant === "expanded" && /* @__PURE__ */ jsx34(Fragment11, { children: /* @__PURE__ */
|
|
2164
|
+
variant === "expanded" && /* @__PURE__ */ jsx34(Fragment11, { children: /* @__PURE__ */ jsxs28("div", { className: ScSidebarMenu_default.content, children: [
|
|
2107
2165
|
text,
|
|
2108
2166
|
" "
|
|
2109
2167
|
] }) })
|
|
@@ -2184,7 +2242,7 @@ var ScVersion_default = {
|
|
|
2184
2242
|
|
|
2185
2243
|
// src/SC-version/ScVersion.tsx
|
|
2186
2244
|
import { SiconCollapse } from "@streamoid/icons";
|
|
2187
|
-
import { Fragment as Fragment12, jsx as jsx37, jsxs as
|
|
2245
|
+
import { Fragment as Fragment12, jsx as jsx37, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2188
2246
|
var ScVersion = ({
|
|
2189
2247
|
state = "expanded",
|
|
2190
2248
|
version = "v2.1.2",
|
|
@@ -2194,7 +2252,7 @@ var ScVersion = ({
|
|
|
2194
2252
|
...props
|
|
2195
2253
|
}) => {
|
|
2196
2254
|
const variantsClassName = ScVersion_default["state-" + state];
|
|
2197
|
-
return /* @__PURE__ */
|
|
2255
|
+
return /* @__PURE__ */ jsxs29(
|
|
2198
2256
|
"div",
|
|
2199
2257
|
{
|
|
2200
2258
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
@@ -2207,7 +2265,7 @@ var ScVersion = ({
|
|
|
2207
2265
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2208
2266
|
}
|
|
2209
2267
|
) }) }),
|
|
2210
|
-
/* @__PURE__ */
|
|
2268
|
+
/* @__PURE__ */ jsxs29("div", { className: ScVersion_default.content, children: [
|
|
2211
2269
|
version,
|
|
2212
2270
|
" "
|
|
2213
2271
|
] }),
|
|
@@ -2225,7 +2283,7 @@ var ScVersion = ({
|
|
|
2225
2283
|
};
|
|
2226
2284
|
|
|
2227
2285
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2228
|
-
import { Fragment as Fragment13, jsx as jsx38, jsxs as
|
|
2286
|
+
import { Fragment as Fragment13, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2229
2287
|
var ScSidebar = ({
|
|
2230
2288
|
state = "expanded",
|
|
2231
2289
|
className,
|
|
@@ -2233,13 +2291,13 @@ var ScSidebar = ({
|
|
|
2233
2291
|
...props
|
|
2234
2292
|
}) => {
|
|
2235
2293
|
const variantsClassName = ScSidebar_default["state-" + state];
|
|
2236
|
-
return /* @__PURE__ */
|
|
2294
|
+
return /* @__PURE__ */ jsxs30(
|
|
2237
2295
|
"div",
|
|
2238
2296
|
{
|
|
2239
2297
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
2240
2298
|
children: [
|
|
2241
|
-
state === "collapsed" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */
|
|
2242
|
-
/* @__PURE__ */
|
|
2299
|
+
state === "collapsed" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.collapsedContainer, children: [
|
|
2300
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.collapsedItems, children: [
|
|
2243
2301
|
/* @__PURE__ */ jsx38(
|
|
2244
2302
|
ScLogoUnit,
|
|
2245
2303
|
{
|
|
@@ -2257,7 +2315,7 @@ var ScSidebar = ({
|
|
|
2257
2315
|
}
|
|
2258
2316
|
) }),
|
|
2259
2317
|
/* @__PURE__ */ jsx38(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2260
|
-
/* @__PURE__ */
|
|
2318
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2261
2319
|
/* @__PURE__ */ jsx38(
|
|
2262
2320
|
ScSidebarMenu,
|
|
2263
2321
|
{
|
|
@@ -2293,7 +2351,7 @@ var ScSidebar = ({
|
|
|
2293
2351
|
)
|
|
2294
2352
|
] }),
|
|
2295
2353
|
/* @__PURE__ */ jsx38(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2296
|
-
/* @__PURE__ */
|
|
2354
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2297
2355
|
/* @__PURE__ */ jsx38(
|
|
2298
2356
|
ScSidebarMenu,
|
|
2299
2357
|
{
|
|
@@ -2314,7 +2372,7 @@ var ScSidebar = ({
|
|
|
2314
2372
|
)
|
|
2315
2373
|
] }),
|
|
2316
2374
|
/* @__PURE__ */ jsx38(ScHDivider, { className: ScSidebar_default.scHDividerInstance3 }),
|
|
2317
|
-
/* @__PURE__ */
|
|
2375
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2318
2376
|
/* @__PURE__ */ jsx38(
|
|
2319
2377
|
ScSidebarMenu,
|
|
2320
2378
|
{
|
|
@@ -2380,8 +2438,8 @@ var ScSidebar = ({
|
|
|
2380
2438
|
}
|
|
2381
2439
|
)
|
|
2382
2440
|
] }) }),
|
|
2383
|
-
state === "expanded" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */
|
|
2384
|
-
/* @__PURE__ */
|
|
2441
|
+
state === "expanded" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.expandedContainer, children: [
|
|
2442
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.expandedItems, children: [
|
|
2385
2443
|
/* @__PURE__ */ jsx38(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
|
|
2386
2444
|
/* @__PURE__ */ jsx38("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx38(
|
|
2387
2445
|
ScSidebarMenu,
|
|
@@ -2391,7 +2449,7 @@ var ScSidebar = ({
|
|
|
2391
2449
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2392
2450
|
}
|
|
2393
2451
|
) }),
|
|
2394
|
-
/* @__PURE__ */
|
|
2452
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2395
2453
|
/* @__PURE__ */ jsx38("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ jsx38("div", { className: ScSidebar_default.content, children: "Apps " }) }),
|
|
2396
2454
|
/* @__PURE__ */ jsx38(
|
|
2397
2455
|
ScSidebarMenu,
|
|
@@ -2424,7 +2482,7 @@ var ScSidebar = ({
|
|
|
2424
2482
|
}
|
|
2425
2483
|
)
|
|
2426
2484
|
] }),
|
|
2427
|
-
/* @__PURE__ */
|
|
2485
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2428
2486
|
/* @__PURE__ */ jsx38("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ jsx38("div", { className: ScSidebar_default.content, children: "Management " }) }),
|
|
2429
2487
|
/* @__PURE__ */ jsx38(
|
|
2430
2488
|
ScSidebarMenu,
|
|
@@ -2443,7 +2501,7 @@ var ScSidebar = ({
|
|
|
2443
2501
|
}
|
|
2444
2502
|
)
|
|
2445
2503
|
] }),
|
|
2446
|
-
/* @__PURE__ */
|
|
2504
|
+
/* @__PURE__ */ jsxs30("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2447
2505
|
/* @__PURE__ */ jsx38("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ jsx38("div", { className: ScSidebar_default.content, children: "Recents " }) }),
|
|
2448
2506
|
/* @__PURE__ */ jsx38(
|
|
2449
2507
|
ScSidebarMenu,
|
|
@@ -2516,7 +2574,7 @@ var ScSidebar = ({
|
|
|
2516
2574
|
};
|
|
2517
2575
|
|
|
2518
2576
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
2519
|
-
import { Fragment as Fragment14, jsx as jsx39, jsxs as
|
|
2577
|
+
import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2520
2578
|
function SectionHeader({ label }) {
|
|
2521
2579
|
return /* @__PURE__ */ jsx39("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ jsx39("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsx39(
|
|
2522
2580
|
"div",
|
|
@@ -2590,6 +2648,7 @@ function StreamoidSidebar({
|
|
|
2590
2648
|
profile,
|
|
2591
2649
|
versionText = "v1.0.0",
|
|
2592
2650
|
toggleIcon,
|
|
2651
|
+
hideFooter = false,
|
|
2593
2652
|
className,
|
|
2594
2653
|
style
|
|
2595
2654
|
}) {
|
|
@@ -2599,7 +2658,7 @@ function StreamoidSidebar({
|
|
|
2599
2658
|
{
|
|
2600
2659
|
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
2601
2660
|
style: { padding: "var(--spacing-3xl)", ...style },
|
|
2602
|
-
children: /* @__PURE__ */
|
|
2661
|
+
children: /* @__PURE__ */ jsxs31(
|
|
2603
2662
|
"div",
|
|
2604
2663
|
{
|
|
2605
2664
|
className: "flex flex-col h-full relative shrink-0",
|
|
@@ -2607,6 +2666,7 @@ function StreamoidSidebar({
|
|
|
2607
2666
|
backgroundColor: "var(--alias-surface-base)",
|
|
2608
2667
|
borderRadius: "var(--radius-3xl)",
|
|
2609
2668
|
padding: "var(--spacing-md)",
|
|
2669
|
+
paddingBottom: hideFooter ? "var(--spacing-md)" : void 0,
|
|
2610
2670
|
width: 256,
|
|
2611
2671
|
gap: "var(--spacing-xxs)"
|
|
2612
2672
|
},
|
|
@@ -2622,7 +2682,7 @@ function StreamoidSidebar({
|
|
|
2622
2682
|
}
|
|
2623
2683
|
}
|
|
2624
2684
|
),
|
|
2625
|
-
/* @__PURE__ */
|
|
2685
|
+
/* @__PURE__ */ jsxs31(
|
|
2626
2686
|
"div",
|
|
2627
2687
|
{
|
|
2628
2688
|
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
@@ -2644,7 +2704,7 @@ function StreamoidSidebar({
|
|
|
2644
2704
|
})
|
|
2645
2705
|
}
|
|
2646
2706
|
),
|
|
2647
|
-
config.sections.map((section) => /* @__PURE__ */
|
|
2707
|
+
config.sections.map((section) => /* @__PURE__ */ jsxs31(
|
|
2648
2708
|
"div",
|
|
2649
2709
|
{
|
|
2650
2710
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2689,13 +2749,14 @@ function StreamoidSidebar({
|
|
|
2689
2749
|
}
|
|
2690
2750
|
) : null,
|
|
2691
2751
|
/* @__PURE__ */ jsx39(HDivider, {}),
|
|
2692
|
-
profile ? /* @__PURE__ */
|
|
2693
|
-
/* @__PURE__ */
|
|
2752
|
+
profile ? /* @__PURE__ */ jsxs31(Fragment14, { children: [
|
|
2753
|
+
/* @__PURE__ */ jsxs31(
|
|
2694
2754
|
"div",
|
|
2695
2755
|
{
|
|
2696
2756
|
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
2697
2757
|
style: {
|
|
2698
2758
|
padding: "var(--spacing-md)",
|
|
2759
|
+
marginTop: "var(--spacing-md)",
|
|
2699
2760
|
gap: "var(--spacing-md)",
|
|
2700
2761
|
borderRadius: "var(--radius-xl)"
|
|
2701
2762
|
},
|
|
@@ -2708,7 +2769,7 @@ function StreamoidSidebar({
|
|
|
2708
2769
|
},
|
|
2709
2770
|
children: [
|
|
2710
2771
|
profile.avatar,
|
|
2711
|
-
/* @__PURE__ */
|
|
2772
|
+
/* @__PURE__ */ jsxs31("div", { className: "flex flex-col flex-1 min-w-0", children: [
|
|
2712
2773
|
/* @__PURE__ */ jsx39(
|
|
2713
2774
|
"span",
|
|
2714
2775
|
{
|
|
@@ -2729,9 +2790,12 @@ function StreamoidSidebar({
|
|
|
2729
2790
|
]
|
|
2730
2791
|
}
|
|
2731
2792
|
),
|
|
2732
|
-
/* @__PURE__ */
|
|
2793
|
+
!hideFooter && /* @__PURE__ */ jsxs31(Fragment14, { children: [
|
|
2794
|
+
/* @__PURE__ */ jsx39("div", { style: { marginTop: "var(--spacing-md)" } }),
|
|
2795
|
+
/* @__PURE__ */ jsx39(HDivider, {})
|
|
2796
|
+
] })
|
|
2733
2797
|
] }) : null,
|
|
2734
|
-
/* @__PURE__ */ jsx39("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx39("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */
|
|
2798
|
+
!hideFooter && /* @__PURE__ */ jsx39("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx39("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs31(
|
|
2735
2799
|
"div",
|
|
2736
2800
|
{
|
|
2737
2801
|
className: "flex items-center w-full",
|
|
@@ -2774,7 +2838,7 @@ function StreamoidSidebar({
|
|
|
2774
2838
|
{
|
|
2775
2839
|
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
2776
2840
|
style,
|
|
2777
|
-
children: /* @__PURE__ */
|
|
2841
|
+
children: /* @__PURE__ */ jsxs31(
|
|
2778
2842
|
"div",
|
|
2779
2843
|
{
|
|
2780
2844
|
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
@@ -2794,14 +2858,14 @@ function StreamoidSidebar({
|
|
|
2794
2858
|
}
|
|
2795
2859
|
}
|
|
2796
2860
|
),
|
|
2797
|
-
/* @__PURE__ */
|
|
2861
|
+
/* @__PURE__ */ jsxs31(
|
|
2798
2862
|
"div",
|
|
2799
2863
|
{
|
|
2800
2864
|
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
2801
2865
|
style: { gap: "var(--spacing-xxs)" },
|
|
2802
2866
|
children: [
|
|
2803
2867
|
collapsedLogo,
|
|
2804
|
-
config.topItem ? /* @__PURE__ */
|
|
2868
|
+
config.topItem ? /* @__PURE__ */ jsxs31(Fragment14, { children: [
|
|
2805
2869
|
/* @__PURE__ */ jsx39(
|
|
2806
2870
|
"div",
|
|
2807
2871
|
{
|
|
@@ -2819,7 +2883,7 @@ function StreamoidSidebar({
|
|
|
2819
2883
|
),
|
|
2820
2884
|
/* @__PURE__ */ jsx39(HDivider, {})
|
|
2821
2885
|
] }) : null,
|
|
2822
|
-
config.sections.map((section, sectionIndex) => /* @__PURE__ */
|
|
2886
|
+
config.sections.map((section, sectionIndex) => /* @__PURE__ */ jsxs31("div", { className: "flex flex-col items-center w-full", children: [
|
|
2823
2887
|
/* @__PURE__ */ jsx39(
|
|
2824
2888
|
"div",
|
|
2825
2889
|
{
|
|
@@ -2863,7 +2927,7 @@ function StreamoidSidebar({
|
|
|
2863
2927
|
}
|
|
2864
2928
|
) : null,
|
|
2865
2929
|
/* @__PURE__ */ jsx39(HDivider, {}),
|
|
2866
|
-
profile ? /* @__PURE__ */
|
|
2930
|
+
profile ? /* @__PURE__ */ jsxs31(Fragment14, { children: [
|
|
2867
2931
|
/* @__PURE__ */ jsx39(
|
|
2868
2932
|
"div",
|
|
2869
2933
|
{
|
|
@@ -2884,7 +2948,7 @@ function StreamoidSidebar({
|
|
|
2884
2948
|
),
|
|
2885
2949
|
/* @__PURE__ */ jsx39(HDivider, {})
|
|
2886
2950
|
] }) : null,
|
|
2887
|
-
/* @__PURE__ */
|
|
2951
|
+
!hideFooter && /* @__PURE__ */ jsxs31(
|
|
2888
2952
|
"div",
|
|
2889
2953
|
{
|
|
2890
2954
|
className: "shrink-0 flex flex-col items-center",
|
|
@@ -2934,13 +2998,13 @@ var ScSlider_default = {
|
|
|
2934
2998
|
};
|
|
2935
2999
|
|
|
2936
3000
|
// src/SC-Slider/ScSlider.tsx
|
|
2937
|
-
import { jsx as jsx40, jsxs as
|
|
3001
|
+
import { jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2938
3002
|
var ScSlider = ({
|
|
2939
3003
|
className,
|
|
2940
3004
|
onValueChange,
|
|
2941
3005
|
...props
|
|
2942
3006
|
}) => {
|
|
2943
|
-
return /* @__PURE__ */
|
|
3007
|
+
return /* @__PURE__ */ jsxs32("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
2944
3008
|
/* @__PURE__ */ jsx40("div", { className: ScSlider_default.progressBar }),
|
|
2945
3009
|
/* @__PURE__ */ jsx40("div", { className: ScSlider_default.progressDot }),
|
|
2946
3010
|
/* @__PURE__ */ jsx40("div", { className: ScSlider_default.progressBar2 }),
|
|
@@ -2955,14 +3019,14 @@ var ScSlider = ({
|
|
|
2955
3019
|
};
|
|
2956
3020
|
|
|
2957
3021
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
2958
|
-
import { useEffect, useRef } from "react";
|
|
3022
|
+
import { useEffect, useRef as useRef2 } from "react";
|
|
2959
3023
|
import {
|
|
2960
3024
|
SiconClose,
|
|
2961
3025
|
SiconTeam as SiconTeam4,
|
|
2962
3026
|
SiconCrown,
|
|
2963
3027
|
SiconSwitch
|
|
2964
3028
|
} from "@streamoid/icons";
|
|
2965
|
-
import { jsx as jsx41, jsxs as
|
|
3029
|
+
import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2966
3030
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
2967
3031
|
function deriveInitials(name) {
|
|
2968
3032
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -2980,7 +3044,7 @@ function WorkspaceRow({
|
|
|
2980
3044
|
switchWorkspaceText,
|
|
2981
3045
|
onSwitch
|
|
2982
3046
|
}) {
|
|
2983
|
-
return /* @__PURE__ */
|
|
3047
|
+
return /* @__PURE__ */ jsxs33(
|
|
2984
3048
|
"div",
|
|
2985
3049
|
{
|
|
2986
3050
|
className: "relative shrink-0 w-full",
|
|
@@ -3001,7 +3065,7 @@ function WorkspaceRow({
|
|
|
3001
3065
|
}
|
|
3002
3066
|
}
|
|
3003
3067
|
),
|
|
3004
|
-
/* @__PURE__ */ jsx41("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */
|
|
3068
|
+
/* @__PURE__ */ jsx41("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs33(
|
|
3005
3069
|
"div",
|
|
3006
3070
|
{
|
|
3007
3071
|
className: "flex items-center w-full",
|
|
@@ -3010,7 +3074,7 @@ function WorkspaceRow({
|
|
|
3010
3074
|
padding: "var(--spacing-6xl)"
|
|
3011
3075
|
},
|
|
3012
3076
|
children: [
|
|
3013
|
-
/* @__PURE__ */
|
|
3077
|
+
/* @__PURE__ */ jsxs33(
|
|
3014
3078
|
"div",
|
|
3015
3079
|
{
|
|
3016
3080
|
className: "flex flex-1 items-center min-w-0",
|
|
@@ -3043,7 +3107,7 @@ function WorkspaceRow({
|
|
|
3043
3107
|
]
|
|
3044
3108
|
}
|
|
3045
3109
|
),
|
|
3046
|
-
/* @__PURE__ */
|
|
3110
|
+
/* @__PURE__ */ jsxs33(
|
|
3047
3111
|
"div",
|
|
3048
3112
|
{
|
|
3049
3113
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3060,7 +3124,7 @@ function WorkspaceRow({
|
|
|
3060
3124
|
style: { width: 80 }
|
|
3061
3125
|
}
|
|
3062
3126
|
),
|
|
3063
|
-
/* @__PURE__ */ jsx41("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */
|
|
3127
|
+
/* @__PURE__ */ jsx41("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs33(
|
|
3064
3128
|
"div",
|
|
3065
3129
|
{
|
|
3066
3130
|
className: "flex items-center shrink-0",
|
|
@@ -3076,7 +3140,7 @@ function WorkspaceRow({
|
|
|
3076
3140
|
}
|
|
3077
3141
|
) }),
|
|
3078
3142
|
/* @__PURE__ */ jsx41(ScVDivider, {}),
|
|
3079
|
-
/* @__PURE__ */
|
|
3143
|
+
/* @__PURE__ */ jsxs33(
|
|
3080
3144
|
"div",
|
|
3081
3145
|
{
|
|
3082
3146
|
className: "flex items-center",
|
|
@@ -3151,7 +3215,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3151
3215
|
onSwitchWorkspace,
|
|
3152
3216
|
config
|
|
3153
3217
|
}) {
|
|
3154
|
-
const modalRef =
|
|
3218
|
+
const modalRef = useRef2(null);
|
|
3155
3219
|
const title = config?.title || "Switch workspace";
|
|
3156
3220
|
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
3157
3221
|
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
@@ -3173,7 +3237,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3173
3237
|
onClick: (e) => {
|
|
3174
3238
|
if (e.target === e.currentTarget) onClose();
|
|
3175
3239
|
},
|
|
3176
|
-
children: /* @__PURE__ */
|
|
3240
|
+
children: /* @__PURE__ */ jsxs33(
|
|
3177
3241
|
"div",
|
|
3178
3242
|
{
|
|
3179
3243
|
ref: modalRef,
|
|
@@ -3193,7 +3257,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3193
3257
|
style: {
|
|
3194
3258
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3195
3259
|
},
|
|
3196
|
-
children: /* @__PURE__ */ jsx41("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */
|
|
3260
|
+
children: /* @__PURE__ */ jsx41("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs33(
|
|
3197
3261
|
"div",
|
|
3198
3262
|
{
|
|
3199
3263
|
className: "flex items-center w-full",
|
|
@@ -3229,7 +3293,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3229
3293
|
style: {
|
|
3230
3294
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3231
3295
|
},
|
|
3232
|
-
children: /* @__PURE__ */
|
|
3296
|
+
children: /* @__PURE__ */ jsxs33(
|
|
3233
3297
|
"div",
|
|
3234
3298
|
{
|
|
3235
3299
|
className: "flex flex-col items-start",
|
|
@@ -3288,7 +3352,7 @@ var ScAppListingCard_default = {
|
|
|
3288
3352
|
|
|
3289
3353
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3290
3354
|
import { SiconCart } from "@streamoid/icons";
|
|
3291
|
-
import { jsx as jsx42, jsxs as
|
|
3355
|
+
import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
3292
3356
|
var ScAppListingCard = ({
|
|
3293
3357
|
icon = /* @__PURE__ */ jsx42(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3294
3358
|
title = "Stores",
|
|
@@ -3296,15 +3360,15 @@ var ScAppListingCard = ({
|
|
|
3296
3360
|
className,
|
|
3297
3361
|
...props
|
|
3298
3362
|
}) => {
|
|
3299
|
-
return /* @__PURE__ */
|
|
3300
|
-
/* @__PURE__ */
|
|
3363
|
+
return /* @__PURE__ */ jsxs34("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
3364
|
+
/* @__PURE__ */ jsxs34("div", { className: ScAppListingCard_default.header, children: [
|
|
3301
3365
|
/* @__PURE__ */ jsx42("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
3302
|
-
/* @__PURE__ */
|
|
3366
|
+
/* @__PURE__ */ jsxs34("div", { className: ScAppListingCard_default.title, children: [
|
|
3303
3367
|
title,
|
|
3304
3368
|
" "
|
|
3305
3369
|
] })
|
|
3306
3370
|
] }),
|
|
3307
|
-
/* @__PURE__ */
|
|
3371
|
+
/* @__PURE__ */ jsxs34("div", { className: ScAppListingCard_default.description, children: [
|
|
3308
3372
|
descrp,
|
|
3309
3373
|
" "
|
|
3310
3374
|
] })
|
|
@@ -3322,7 +3386,7 @@ var ScAppCard_default = {
|
|
|
3322
3386
|
|
|
3323
3387
|
// src/SC-appCard/ScAppCard.tsx
|
|
3324
3388
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
3325
|
-
import { jsx as jsx43, jsxs as
|
|
3389
|
+
import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
3326
3390
|
var ScAppCard = ({
|
|
3327
3391
|
appIcon = /* @__PURE__ */ jsx43(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3328
3392
|
appName = "Artifax",
|
|
@@ -3330,14 +3394,14 @@ var ScAppCard = ({
|
|
|
3330
3394
|
className,
|
|
3331
3395
|
...props
|
|
3332
3396
|
}) => {
|
|
3333
|
-
return /* @__PURE__ */
|
|
3397
|
+
return /* @__PURE__ */ jsxs35("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
3334
3398
|
/* @__PURE__ */ jsx43("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
3335
|
-
/* @__PURE__ */
|
|
3336
|
-
/* @__PURE__ */
|
|
3399
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppCard_default.textContainer, children: [
|
|
3400
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppCard_default.title, children: [
|
|
3337
3401
|
appName,
|
|
3338
3402
|
" "
|
|
3339
3403
|
] }),
|
|
3340
|
-
/* @__PURE__ */
|
|
3404
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppCard_default.subtitle, children: [
|
|
3341
3405
|
appDescription,
|
|
3342
3406
|
" "
|
|
3343
3407
|
] })
|
|
@@ -3376,67 +3440,53 @@ var ScToggleSwitch_default = {
|
|
|
3376
3440
|
};
|
|
3377
3441
|
|
|
3378
3442
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3379
|
-
import { jsx as jsx44, jsxs as
|
|
3443
|
+
import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
3380
3444
|
var ScToggleSwitch = ({
|
|
3381
3445
|
active = "false",
|
|
3446
|
+
checked,
|
|
3447
|
+
onToggle,
|
|
3382
3448
|
className,
|
|
3383
3449
|
...props
|
|
3384
3450
|
}) => {
|
|
3385
|
-
const
|
|
3451
|
+
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3452
|
+
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3386
3453
|
return /* @__PURE__ */ jsx44(
|
|
3387
3454
|
"div",
|
|
3388
3455
|
{
|
|
3389
3456
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
3390
3457
|
...props,
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
|
|
3405
|
-
}
|
|
3406
|
-
),
|
|
3407
|
-
/* @__PURE__ */ jsx44(
|
|
3408
|
-
"path",
|
|
3409
|
-
{
|
|
3410
|
-
d: "M40 12.25C40 5.76065 34.7393 0.5 28.25 0.5H12.25C5.76065 0.5 0.5 5.76065 0.5 12.25C0.5 18.7393 5.76065 24 12.25 24H28.25C34.7393 24 40 18.7393 40 12.25ZM40.5 12.25C40.5 19.0155 35.0155 24.5 28.25 24.5H12.25C5.48451 24.5 0 19.0155 0 12.25C0 5.48451 5.48451 0 12.25 0H28.25C35.0155 0 40.5 5.48451 40.5 12.25Z",
|
|
3411
|
-
fill: "var(--alias-border-divider, #242424)"
|
|
3412
|
-
}
|
|
3413
|
-
),
|
|
3414
|
-
/* @__PURE__ */ jsx44(
|
|
3415
|
-
"path",
|
|
3416
|
-
{
|
|
3417
|
-
d: "M2.25 12.25C2.25 6.72715 6.72715 2.25 12.25 2.25C17.7728 2.25 22.25 6.72715 22.25 12.25C22.25 17.7728 17.7728 22.25 12.25 22.25C6.72715 22.25 2.25 17.7728 2.25 12.25Z",
|
|
3418
|
-
fill: "var(--alias-fill-neutral-neutralactive, #313131)"
|
|
3419
|
-
}
|
|
3420
|
-
)
|
|
3421
|
-
]
|
|
3422
|
-
}
|
|
3423
|
-
)
|
|
3458
|
+
onClick: (e) => {
|
|
3459
|
+
onToggle?.(!isActive);
|
|
3460
|
+
props.onClick?.(e);
|
|
3461
|
+
},
|
|
3462
|
+
style: { cursor: "pointer", ...props.style },
|
|
3463
|
+
children: isActive ? /* @__PURE__ */ jsxs36("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3464
|
+
/* @__PURE__ */ jsx44("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
3465
|
+
/* @__PURE__ */ jsx44("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
3466
|
+
] }) : /* @__PURE__ */ jsxs36("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3467
|
+
/* @__PURE__ */ jsx44("path", { d: "M0.25 12.25C0.25 5.62258 5.62258 0.25 12.25 0.25H28.25C34.8774 0.25 40.25 5.62258 40.25 12.25C40.25 18.8774 34.8774 24.25 28.25 24.25H12.25C5.62258 24.25 0.25 18.8774 0.25 12.25Z", fill: "var(--alias-fill-neutral-neutral, #1a1a1a)" }),
|
|
3468
|
+
/* @__PURE__ */ jsx44("path", { d: "M40 12.25C40 5.76065 34.7393 0.5 28.25 0.5H12.25C5.76065 0.5 0.5 5.76065 0.5 12.25C0.5 18.7393 5.76065 24 12.25 24H28.25C34.7393 24 40 18.7393 40 12.25ZM40.5 12.25C40.5 19.0155 35.0155 24.5 28.25 24.5H12.25C5.48451 24.5 0 19.0155 0 12.25C0 5.48451 5.48451 0 12.25 0H28.25C35.0155 0 40.5 5.48451 40.5 12.25Z", fill: "var(--alias-border-divider, #242424)" }),
|
|
3469
|
+
/* @__PURE__ */ jsx44("path", { d: "M2.25 12.25C2.25 6.72715 6.72715 2.25 12.25 2.25C17.7728 2.25 22.25 6.72715 22.25 12.25C22.25 17.7728 17.7728 22.25 12.25 22.25C6.72715 22.25 2.25 17.7728 2.25 12.25Z", fill: "var(--alias-fill-neutral-neutralactive, #313131)" })
|
|
3470
|
+
] })
|
|
3424
3471
|
}
|
|
3425
3472
|
);
|
|
3426
3473
|
};
|
|
3427
3474
|
|
|
3428
3475
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3429
|
-
import { jsx as jsx45, jsxs as
|
|
3476
|
+
import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3430
3477
|
var ScArtifaxInvite = ({
|
|
3431
3478
|
active = "true",
|
|
3432
3479
|
appName = "Artifax",
|
|
3433
3480
|
appDescription = "Info about artifax",
|
|
3434
3481
|
appIcon,
|
|
3435
3482
|
className,
|
|
3483
|
+
enabled,
|
|
3484
|
+
onToggle,
|
|
3436
3485
|
...props
|
|
3437
3486
|
}) => {
|
|
3438
|
-
const
|
|
3439
|
-
|
|
3487
|
+
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3488
|
+
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3489
|
+
return /* @__PURE__ */ jsxs37(
|
|
3440
3490
|
"div",
|
|
3441
3491
|
{
|
|
3442
3492
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
@@ -3454,7 +3504,8 @@ var ScArtifaxInvite = ({
|
|
|
3454
3504
|
/* @__PURE__ */ jsx45(
|
|
3455
3505
|
ScToggleSwitch,
|
|
3456
3506
|
{
|
|
3457
|
-
|
|
3507
|
+
checked: isEnabled,
|
|
3508
|
+
onToggle,
|
|
3458
3509
|
className: ScArtifaxInvite_default.scToggleSwitchInstance
|
|
3459
3510
|
}
|
|
3460
3511
|
)
|
|
@@ -3476,17 +3527,20 @@ var ScPhtogenixInvite_default = {
|
|
|
3476
3527
|
|
|
3477
3528
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3478
3529
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
3479
|
-
import { jsx as jsx46, jsxs as
|
|
3530
|
+
import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3480
3531
|
var ScPhtogenixInvite = ({
|
|
3481
3532
|
active = "true",
|
|
3482
3533
|
scAppCardappDescription = "Info about photogenix",
|
|
3483
3534
|
scAppCardappName = "Photogenix",
|
|
3484
3535
|
scAppCardappIcon = /* @__PURE__ */ jsx46(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3485
3536
|
className,
|
|
3537
|
+
enabled,
|
|
3538
|
+
onToggle,
|
|
3486
3539
|
...props
|
|
3487
3540
|
}) => {
|
|
3488
|
-
const
|
|
3489
|
-
|
|
3541
|
+
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3542
|
+
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3543
|
+
return /* @__PURE__ */ jsxs38(
|
|
3490
3544
|
"div",
|
|
3491
3545
|
{
|
|
3492
3546
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
@@ -3503,7 +3557,8 @@ var ScPhtogenixInvite = ({
|
|
|
3503
3557
|
/* @__PURE__ */ jsx46(
|
|
3504
3558
|
ScToggleSwitch,
|
|
3505
3559
|
{
|
|
3506
|
-
|
|
3560
|
+
checked: isEnabled,
|
|
3561
|
+
onToggle,
|
|
3507
3562
|
className: ScPhtogenixInvite_default.scToggleSwitchInstance
|
|
3508
3563
|
}
|
|
3509
3564
|
)
|
|
@@ -3546,7 +3601,7 @@ var ScOnlyField_default = {
|
|
|
3546
3601
|
|
|
3547
3602
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
3548
3603
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
3549
|
-
import { Fragment as Fragment15, jsx as jsx47, jsxs as
|
|
3604
|
+
import { Fragment as Fragment15, jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
3550
3605
|
var ScOnlyField = ({
|
|
3551
3606
|
tfRightIcon = /* @__PURE__ */ jsx47(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3552
3607
|
tfLeftIcon = /* @__PURE__ */ jsx47(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
@@ -3555,6 +3610,9 @@ var ScOnlyField = ({
|
|
|
3555
3610
|
labelGroup = "none",
|
|
3556
3611
|
className,
|
|
3557
3612
|
placeholderFilled = "Placeholder",
|
|
3613
|
+
value,
|
|
3614
|
+
onInputChange,
|
|
3615
|
+
inputProps,
|
|
3558
3616
|
...props
|
|
3559
3617
|
}) => {
|
|
3560
3618
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup];
|
|
@@ -3563,12 +3621,28 @@ var ScOnlyField = ({
|
|
|
3563
3621
|
{
|
|
3564
3622
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
3565
3623
|
...props,
|
|
3566
|
-
children: /* @__PURE__ */
|
|
3624
|
+
children: /* @__PURE__ */ jsxs39("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
3567
3625
|
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx47(Fragment15, { children: tfLeftIcon }),
|
|
3568
|
-
/* @__PURE__ */
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3626
|
+
/* @__PURE__ */ jsx47(
|
|
3627
|
+
"input",
|
|
3628
|
+
{
|
|
3629
|
+
className: ScOnlyField_default.inputText,
|
|
3630
|
+
placeholder: placeholderFilled,
|
|
3631
|
+
value,
|
|
3632
|
+
onChange: (e) => onInputChange?.(e.target.value),
|
|
3633
|
+
style: {
|
|
3634
|
+
background: "transparent",
|
|
3635
|
+
border: "none",
|
|
3636
|
+
outline: "none",
|
|
3637
|
+
font: "inherit",
|
|
3638
|
+
color: "inherit",
|
|
3639
|
+
width: "100%",
|
|
3640
|
+
padding: 0,
|
|
3641
|
+
margin: 0
|
|
3642
|
+
},
|
|
3643
|
+
...inputProps
|
|
3644
|
+
}
|
|
3645
|
+
),
|
|
3572
3646
|
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx47(Fragment15, { children: tfRightIcon })
|
|
3573
3647
|
] })
|
|
3574
3648
|
}
|
|
@@ -3577,7 +3651,7 @@ var ScOnlyField = ({
|
|
|
3577
3651
|
|
|
3578
3652
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3579
3653
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
3580
|
-
import { Fragment as Fragment16, jsx as jsx48, jsxs as
|
|
3654
|
+
import { Fragment as Fragment16, jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
3581
3655
|
var ScCatalogixInvite = ({
|
|
3582
3656
|
active = "false",
|
|
3583
3657
|
appName = "Catalogix",
|
|
@@ -3587,16 +3661,25 @@ var ScCatalogixInvite = ({
|
|
|
3587
3661
|
searchPlaceholder = "Search stores...",
|
|
3588
3662
|
appIcon,
|
|
3589
3663
|
className,
|
|
3664
|
+
enabled,
|
|
3665
|
+
onToggle,
|
|
3666
|
+
stores,
|
|
3667
|
+
selectedStores,
|
|
3668
|
+
onStoreToggle,
|
|
3669
|
+
searchValue,
|
|
3670
|
+
onSearchChange,
|
|
3590
3671
|
...props
|
|
3591
3672
|
}) => {
|
|
3592
|
-
const
|
|
3593
|
-
|
|
3673
|
+
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3674
|
+
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3675
|
+
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
3676
|
+
return /* @__PURE__ */ jsxs40(
|
|
3594
3677
|
"div",
|
|
3595
3678
|
{
|
|
3596
3679
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
3597
3680
|
...props,
|
|
3598
3681
|
children: [
|
|
3599
|
-
/* @__PURE__ */
|
|
3682
|
+
/* @__PURE__ */ jsxs40("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
3600
3683
|
/* @__PURE__ */ jsx48(
|
|
3601
3684
|
ScAppCard,
|
|
3602
3685
|
{
|
|
@@ -3609,19 +3692,20 @@ var ScCatalogixInvite = ({
|
|
|
3609
3692
|
/* @__PURE__ */ jsx48(
|
|
3610
3693
|
ScToggleSwitch,
|
|
3611
3694
|
{
|
|
3612
|
-
|
|
3695
|
+
checked: isEnabled,
|
|
3696
|
+
onToggle,
|
|
3613
3697
|
className: ScCatalogixInvite_default.scToggleSwitchInstance
|
|
3614
3698
|
}
|
|
3615
3699
|
)
|
|
3616
3700
|
] }),
|
|
3617
|
-
|
|
3618
|
-
/* @__PURE__ */
|
|
3619
|
-
/* @__PURE__ */
|
|
3701
|
+
isEnabled && /* @__PURE__ */ jsx48(Fragment16, { children: /* @__PURE__ */ jsxs40("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
3702
|
+
/* @__PURE__ */ jsxs40("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
3703
|
+
/* @__PURE__ */ jsxs40("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
3620
3704
|
storeAccessTitle,
|
|
3621
3705
|
" "
|
|
3622
3706
|
] }),
|
|
3623
|
-
/* @__PURE__ */
|
|
3624
|
-
|
|
3707
|
+
/* @__PURE__ */ jsxs40("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
3708
|
+
displayCount,
|
|
3625
3709
|
" "
|
|
3626
3710
|
] })
|
|
3627
3711
|
] }),
|
|
@@ -3631,10 +3715,29 @@ var ScCatalogixInvite = ({
|
|
|
3631
3715
|
tfLeftIcon: /* @__PURE__ */ jsx48(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
3632
3716
|
tfRightIcon: /* @__PURE__ */ jsx48(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
3633
3717
|
placeholderFilled: searchPlaceholder,
|
|
3718
|
+
value: searchValue,
|
|
3719
|
+
onInputChange: onSearchChange,
|
|
3634
3720
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
3635
3721
|
}
|
|
3636
3722
|
),
|
|
3637
|
-
/* @__PURE__ */
|
|
3723
|
+
/* @__PURE__ */ jsx48("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx48(
|
|
3724
|
+
ScPairtext,
|
|
3725
|
+
{
|
|
3726
|
+
content: store.name,
|
|
3727
|
+
iconPosition: "right",
|
|
3728
|
+
type: "checkbox",
|
|
3729
|
+
checked: selectedStores?.includes(store.id),
|
|
3730
|
+
onChange: () => onStoreToggle?.(store.id),
|
|
3731
|
+
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3732
|
+
},
|
|
3733
|
+
store.id
|
|
3734
|
+
)) : /* @__PURE__ */ jsx48("div", { style: {
|
|
3735
|
+
padding: "var(--spacing-3xl, 16px)",
|
|
3736
|
+
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
3737
|
+
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
3738
|
+
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
3739
|
+
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
3740
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs40(Fragment16, { children: [
|
|
3638
3741
|
/* @__PURE__ */ jsx48(
|
|
3639
3742
|
ScPairtext,
|
|
3640
3743
|
{
|
|
@@ -3680,7 +3783,7 @@ var ScCatalogixInvite = ({
|
|
|
3680
3783
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3681
3784
|
}
|
|
3682
3785
|
)
|
|
3683
|
-
] })
|
|
3786
|
+
] }) })
|
|
3684
3787
|
] }) })
|
|
3685
3788
|
]
|
|
3686
3789
|
}
|
|
@@ -3688,27 +3791,42 @@ var ScCatalogixInvite = ({
|
|
|
3688
3791
|
};
|
|
3689
3792
|
|
|
3690
3793
|
// src/SC-appField/ScAppField.tsx
|
|
3691
|
-
import { jsx as jsx49, jsxs as
|
|
3794
|
+
import { jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3692
3795
|
var ScAppField = ({
|
|
3693
3796
|
appFieldTitle = "App permission",
|
|
3694
3797
|
className,
|
|
3798
|
+
artifaxEnabled,
|
|
3799
|
+
onArtifaxToggle,
|
|
3800
|
+
photogenixEnabled,
|
|
3801
|
+
onPhotogenixToggle,
|
|
3802
|
+
catalogixEnabled,
|
|
3803
|
+
onCatalogixToggle,
|
|
3804
|
+
catalogixStores,
|
|
3805
|
+
catalogixSelectedStores,
|
|
3806
|
+
onCatalogixStoreToggle,
|
|
3807
|
+
catalogixSearchValue,
|
|
3808
|
+
onCatalogixSearchChange,
|
|
3695
3809
|
...props
|
|
3696
3810
|
}) => {
|
|
3697
|
-
return /* @__PURE__ */
|
|
3698
|
-
/* @__PURE__ */ jsx49("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */
|
|
3811
|
+
return /* @__PURE__ */ jsxs41("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
3812
|
+
/* @__PURE__ */ jsx49("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ jsxs41("div", { className: ScAppField_default.title, children: [
|
|
3699
3813
|
appFieldTitle,
|
|
3700
3814
|
" "
|
|
3701
3815
|
] }) }),
|
|
3702
|
-
/* @__PURE__ */
|
|
3816
|
+
/* @__PURE__ */ jsxs41("div", { className: ScAppField_default.inputContainer, children: [
|
|
3703
3817
|
/* @__PURE__ */ jsx49(
|
|
3704
3818
|
ScArtifaxInvite,
|
|
3705
3819
|
{
|
|
3820
|
+
enabled: artifaxEnabled,
|
|
3821
|
+
onToggle: onArtifaxToggle,
|
|
3706
3822
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
3707
3823
|
}
|
|
3708
3824
|
),
|
|
3709
3825
|
/* @__PURE__ */ jsx49(
|
|
3710
3826
|
ScPhtogenixInvite,
|
|
3711
3827
|
{
|
|
3828
|
+
enabled: photogenixEnabled,
|
|
3829
|
+
onToggle: onPhotogenixToggle,
|
|
3712
3830
|
scAppCardappDescription: "Info about photogenix",
|
|
3713
3831
|
scAppCardappName: "Photogenix",
|
|
3714
3832
|
scAppCardappIcon: /* @__PURE__ */ jsx49(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
@@ -3718,6 +3836,13 @@ var ScAppField = ({
|
|
|
3718
3836
|
/* @__PURE__ */ jsx49(
|
|
3719
3837
|
ScCatalogixInvite,
|
|
3720
3838
|
{
|
|
3839
|
+
enabled: catalogixEnabled,
|
|
3840
|
+
onToggle: onCatalogixToggle,
|
|
3841
|
+
stores: catalogixStores,
|
|
3842
|
+
selectedStores: catalogixSelectedStores,
|
|
3843
|
+
onStoreToggle: onCatalogixStoreToggle,
|
|
3844
|
+
searchValue: catalogixSearchValue,
|
|
3845
|
+
onSearchChange: onCatalogixSearchChange,
|
|
3721
3846
|
active: "true",
|
|
3722
3847
|
className: ScAppField_default.scCatalogixInviteInstance
|
|
3723
3848
|
}
|
|
@@ -3735,12 +3860,12 @@ var ScBillingHistoryHeader_default = {
|
|
|
3735
3860
|
};
|
|
3736
3861
|
|
|
3737
3862
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
3738
|
-
import { jsx as jsx50, jsxs as
|
|
3863
|
+
import { jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3739
3864
|
var ScBillingHistoryHeader = ({
|
|
3740
3865
|
className,
|
|
3741
3866
|
...props
|
|
3742
3867
|
}) => {
|
|
3743
|
-
return /* @__PURE__ */
|
|
3868
|
+
return /* @__PURE__ */ jsxs42("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
3744
3869
|
/* @__PURE__ */ jsx50(
|
|
3745
3870
|
ScHeader,
|
|
3746
3871
|
{
|
|
@@ -3787,18 +3912,29 @@ var ScCheckField_default = {
|
|
|
3787
3912
|
|
|
3788
3913
|
// src/SC-checkField/ScCheckField.tsx
|
|
3789
3914
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
3790
|
-
import { jsx as jsx51, jsxs as
|
|
3915
|
+
import { Fragment as Fragment17, jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3791
3916
|
var ScCheckField = ({
|
|
3792
3917
|
label = "Label",
|
|
3793
3918
|
className,
|
|
3919
|
+
checkboxes,
|
|
3794
3920
|
...props
|
|
3795
3921
|
}) => {
|
|
3796
|
-
return /* @__PURE__ */
|
|
3797
|
-
/* @__PURE__ */ jsx51("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */
|
|
3922
|
+
return /* @__PURE__ */ jsxs43("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
3923
|
+
/* @__PURE__ */ jsx51("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ jsxs43("div", { className: ScCheckField_default.label, children: [
|
|
3798
3924
|
label,
|
|
3799
3925
|
" "
|
|
3800
3926
|
] }) }),
|
|
3801
|
-
/* @__PURE__ */
|
|
3927
|
+
/* @__PURE__ */ jsx51("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx51(
|
|
3928
|
+
ScPairtext,
|
|
3929
|
+
{
|
|
3930
|
+
content: item.label,
|
|
3931
|
+
type: "checkbox",
|
|
3932
|
+
checked: item.checked,
|
|
3933
|
+
onChange: item.onChange,
|
|
3934
|
+
className: ScCheckField_default.scPairtextInstance
|
|
3935
|
+
},
|
|
3936
|
+
i
|
|
3937
|
+
)) : /* @__PURE__ */ jsxs43(Fragment17, { children: [
|
|
3802
3938
|
/* @__PURE__ */ jsx51(
|
|
3803
3939
|
ScPairtext,
|
|
3804
3940
|
{
|
|
@@ -3815,7 +3951,7 @@ var ScCheckField = ({
|
|
|
3815
3951
|
className: ScCheckField_default.scPairtextInstance
|
|
3816
3952
|
}
|
|
3817
3953
|
)
|
|
3818
|
-
] })
|
|
3954
|
+
] }) })
|
|
3819
3955
|
] });
|
|
3820
3956
|
};
|
|
3821
3957
|
|
|
@@ -3831,7 +3967,7 @@ var ScFieldButton_default = {
|
|
|
3831
3967
|
|
|
3832
3968
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
3833
3969
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
3834
|
-
import { Fragment as
|
|
3970
|
+
import { Fragment as Fragment18, jsx as jsx52, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3835
3971
|
var ScFieldButton = ({
|
|
3836
3972
|
icon = /* @__PURE__ */ jsx52(SiconHome12, { className: ScFieldButton_default.siconHomeInstance }),
|
|
3837
3973
|
type = "default",
|
|
@@ -3846,13 +3982,13 @@ var ScFieldButton = ({
|
|
|
3846
3982
|
{
|
|
3847
3983
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
3848
3984
|
...props,
|
|
3849
|
-
children: /* @__PURE__ */
|
|
3850
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx52(
|
|
3851
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx52(
|
|
3985
|
+
children: /* @__PURE__ */ jsxs44("div", { className: ScFieldButton_default.container, children: [
|
|
3986
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx52(Fragment18, { children: icon }),
|
|
3987
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx52(Fragment18, { children: /* @__PURE__ */ jsxs44("div", { className: ScFieldButton_default.label, children: [
|
|
3852
3988
|
text,
|
|
3853
3989
|
" "
|
|
3854
3990
|
] }) }),
|
|
3855
|
-
type === "icon-left" && /* @__PURE__ */ jsx52(
|
|
3991
|
+
type === "icon-left" && /* @__PURE__ */ jsx52(Fragment18, { children: icon })
|
|
3856
3992
|
] })
|
|
3857
3993
|
}
|
|
3858
3994
|
);
|
|
@@ -3867,12 +4003,12 @@ var ScPendingAction_default = {
|
|
|
3867
4003
|
|
|
3868
4004
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
3869
4005
|
import { SiconHome as SiconHome13 } from "@streamoid/icons";
|
|
3870
|
-
import { jsx as jsx53, jsxs as
|
|
4006
|
+
import { jsx as jsx53, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3871
4007
|
var ScPendingAction = ({
|
|
3872
4008
|
className,
|
|
3873
4009
|
...props
|
|
3874
4010
|
}) => {
|
|
3875
|
-
return /* @__PURE__ */
|
|
4011
|
+
return /* @__PURE__ */ jsxs45("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
3876
4012
|
/* @__PURE__ */ jsx53(
|
|
3877
4013
|
ScButton,
|
|
3878
4014
|
{
|
|
@@ -3912,7 +4048,7 @@ var ScQuickPrompt_default = {
|
|
|
3912
4048
|
|
|
3913
4049
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
3914
4050
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
3915
|
-
import { jsx as jsx54, jsxs as
|
|
4051
|
+
import { jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
3916
4052
|
var ScQuickPrompt = ({
|
|
3917
4053
|
appName = "Photogenix",
|
|
3918
4054
|
heading = "Swap Model and Background",
|
|
@@ -3920,20 +4056,20 @@ var ScQuickPrompt = ({
|
|
|
3920
4056
|
className,
|
|
3921
4057
|
...props
|
|
3922
4058
|
}) => {
|
|
3923
|
-
return /* @__PURE__ */
|
|
3924
|
-
/* @__PURE__ */
|
|
4059
|
+
return /* @__PURE__ */ jsxs46("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
4060
|
+
/* @__PURE__ */ jsxs46("div", { className: ScQuickPrompt_default.header, children: [
|
|
3925
4061
|
/* @__PURE__ */ jsx54("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ jsx54(SiconBolt5, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
3926
|
-
/* @__PURE__ */ jsx54("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */
|
|
4062
|
+
/* @__PURE__ */ jsx54("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ jsxs46("div", { className: ScQuickPrompt_default.title, children: [
|
|
3927
4063
|
appName,
|
|
3928
4064
|
" "
|
|
3929
4065
|
] }) })
|
|
3930
4066
|
] }),
|
|
3931
|
-
/* @__PURE__ */
|
|
3932
|
-
/* @__PURE__ */
|
|
4067
|
+
/* @__PURE__ */ jsxs46("div", { className: ScQuickPrompt_default.body, children: [
|
|
4068
|
+
/* @__PURE__ */ jsxs46("div", { className: ScQuickPrompt_default.heading, children: [
|
|
3933
4069
|
heading,
|
|
3934
4070
|
" "
|
|
3935
4071
|
] }),
|
|
3936
|
-
/* @__PURE__ */
|
|
4072
|
+
/* @__PURE__ */ jsxs46("div", { className: ScQuickPrompt_default.description, children: [
|
|
3937
4073
|
description,
|
|
3938
4074
|
" "
|
|
3939
4075
|
] })
|
|
@@ -3950,12 +4086,12 @@ var ScReferralTableHeader_default = {
|
|
|
3950
4086
|
};
|
|
3951
4087
|
|
|
3952
4088
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
3953
|
-
import { jsx as jsx55, jsxs as
|
|
4089
|
+
import { jsx as jsx55, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
3954
4090
|
var ScReferralTableHeader = ({
|
|
3955
4091
|
className,
|
|
3956
4092
|
...props
|
|
3957
4093
|
}) => {
|
|
3958
|
-
return /* @__PURE__ */
|
|
4094
|
+
return /* @__PURE__ */ jsxs47("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
3959
4095
|
/* @__PURE__ */ jsx55(
|
|
3960
4096
|
ScHeader,
|
|
3961
4097
|
{
|
|
@@ -4001,7 +4137,7 @@ var ScReferralTableList_default = {
|
|
|
4001
4137
|
};
|
|
4002
4138
|
|
|
4003
4139
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4004
|
-
import { jsx as jsx56, jsxs as
|
|
4140
|
+
import { jsx as jsx56, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
4005
4141
|
var ScReferralTableList = ({
|
|
4006
4142
|
userEmail = "chris@kepler.com",
|
|
4007
4143
|
userName,
|
|
@@ -4011,7 +4147,7 @@ var ScReferralTableList = ({
|
|
|
4011
4147
|
className,
|
|
4012
4148
|
...props
|
|
4013
4149
|
}) => {
|
|
4014
|
-
return /* @__PURE__ */
|
|
4150
|
+
return /* @__PURE__ */ jsxs48("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
4015
4151
|
/* @__PURE__ */ jsx56(
|
|
4016
4152
|
ScProfile,
|
|
4017
4153
|
{
|
|
@@ -4020,12 +4156,12 @@ var ScReferralTableList = ({
|
|
|
4020
4156
|
className: ScReferralTableList_default.scProfileInstance
|
|
4021
4157
|
}
|
|
4022
4158
|
),
|
|
4023
|
-
/* @__PURE__ */
|
|
4159
|
+
/* @__PURE__ */ jsxs48("div", { className: ScReferralTableList_default.date, children: [
|
|
4024
4160
|
date,
|
|
4025
4161
|
" "
|
|
4026
4162
|
] }),
|
|
4027
4163
|
/* @__PURE__ */ jsx56(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
4028
|
-
/* @__PURE__ */
|
|
4164
|
+
/* @__PURE__ */ jsxs48("div", { className: ScReferralTableList_default.points, children: [
|
|
4029
4165
|
points,
|
|
4030
4166
|
" "
|
|
4031
4167
|
] })
|
|
@@ -4041,12 +4177,12 @@ var ScSettingsNav_default = {
|
|
|
4041
4177
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4042
4178
|
import { SiconTeam as SiconTeam5 } from "@streamoid/icons";
|
|
4043
4179
|
import { SiconWorkspace, SiconReferral } from "@streamoid/icons";
|
|
4044
|
-
import { jsx as jsx57, jsxs as
|
|
4180
|
+
import { jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4045
4181
|
var ScSettingsNav = ({
|
|
4046
4182
|
className,
|
|
4047
4183
|
...props
|
|
4048
4184
|
}) => {
|
|
4049
|
-
return /* @__PURE__ */ jsx57("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */
|
|
4185
|
+
return /* @__PURE__ */ jsx57("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs49("div", { className: ScSettingsNav_default.container, children: [
|
|
4050
4186
|
/* @__PURE__ */ jsx57(
|
|
4051
4187
|
ScSidebarMenu,
|
|
4052
4188
|
{
|
|
@@ -4083,18 +4219,47 @@ var ScTabField_default = {
|
|
|
4083
4219
|
};
|
|
4084
4220
|
|
|
4085
4221
|
// src/SC-tabField/ScTabField.tsx
|
|
4086
|
-
import { jsx as jsx58, jsxs as
|
|
4222
|
+
import { jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4087
4223
|
var ScTabField = ({
|
|
4088
4224
|
label = "Label",
|
|
4089
4225
|
className,
|
|
4226
|
+
tabs,
|
|
4227
|
+
activeTab,
|
|
4228
|
+
onTabChange,
|
|
4090
4229
|
...props
|
|
4091
4230
|
}) => {
|
|
4092
|
-
return /* @__PURE__ */
|
|
4093
|
-
/* @__PURE__ */ jsx58("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */
|
|
4231
|
+
return /* @__PURE__ */ jsxs50("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
4232
|
+
/* @__PURE__ */ jsx58("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ jsxs50("div", { className: ScTabField_default.label, children: [
|
|
4094
4233
|
label,
|
|
4095
4234
|
" "
|
|
4096
4235
|
] }) }),
|
|
4097
|
-
/* @__PURE__ */ jsx58(
|
|
4236
|
+
tabs ? /* @__PURE__ */ jsx58(
|
|
4237
|
+
ScTabSwitcher,
|
|
4238
|
+
{
|
|
4239
|
+
tabCount: String(tabs.length),
|
|
4240
|
+
className: ScTabField_default.scTabSwitcherInstance,
|
|
4241
|
+
component: tabs[0] ? /* @__PURE__ */ jsx58(
|
|
4242
|
+
ScTabComp,
|
|
4243
|
+
{
|
|
4244
|
+
text: tabs[0].label,
|
|
4245
|
+
type: "text-only",
|
|
4246
|
+
active: activeTab === tabs[0].value ? "true" : "false",
|
|
4247
|
+
onClick: () => onTabChange?.(tabs[0].value),
|
|
4248
|
+
style: { flex: 1 }
|
|
4249
|
+
}
|
|
4250
|
+
) : void 0,
|
|
4251
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx58(
|
|
4252
|
+
ScTabComp,
|
|
4253
|
+
{
|
|
4254
|
+
text: tabs[1].label,
|
|
4255
|
+
type: "text-only",
|
|
4256
|
+
active: activeTab === tabs[1].value ? "true" : "false",
|
|
4257
|
+
onClick: () => onTabChange?.(tabs[1].value),
|
|
4258
|
+
style: { flex: 1 }
|
|
4259
|
+
}
|
|
4260
|
+
) : void 0
|
|
4261
|
+
}
|
|
4262
|
+
) : /* @__PURE__ */ jsx58(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4098
4263
|
] });
|
|
4099
4264
|
};
|
|
4100
4265
|
|
|
@@ -4111,14 +4276,14 @@ var ScTableHeader_default = {
|
|
|
4111
4276
|
};
|
|
4112
4277
|
|
|
4113
4278
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4114
|
-
import { Fragment as
|
|
4279
|
+
import { Fragment as Fragment19, jsx as jsx59, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
4115
4280
|
var ScTableHeader = ({
|
|
4116
4281
|
type = "default",
|
|
4117
4282
|
className,
|
|
4118
4283
|
...props
|
|
4119
4284
|
}) => {
|
|
4120
4285
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4121
|
-
return /* @__PURE__ */
|
|
4286
|
+
return /* @__PURE__ */ jsxs51(
|
|
4122
4287
|
"div",
|
|
4123
4288
|
{
|
|
4124
4289
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
@@ -4155,7 +4320,7 @@ var ScTableHeader = ({
|
|
|
4155
4320
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4156
4321
|
}
|
|
4157
4322
|
),
|
|
4158
|
-
type === "pending" && /* @__PURE__ */ jsx59(
|
|
4323
|
+
type === "pending" && /* @__PURE__ */ jsx59(Fragment19, { children: /* @__PURE__ */ jsx59(
|
|
4159
4324
|
ScHeader,
|
|
4160
4325
|
{
|
|
4161
4326
|
text: "Invite action",
|
|
@@ -4163,7 +4328,7 @@ var ScTableHeader = ({
|
|
|
4163
4328
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4164
4329
|
}
|
|
4165
4330
|
) }),
|
|
4166
|
-
type === "default" && /* @__PURE__ */ jsx59(
|
|
4331
|
+
type === "default" && /* @__PURE__ */ jsx59(Fragment19, { children: /* @__PURE__ */ jsx59(
|
|
4167
4332
|
ScHeader,
|
|
4168
4333
|
{
|
|
4169
4334
|
text: "Signed On",
|
|
@@ -4197,7 +4362,7 @@ var ScTableList_default = {
|
|
|
4197
4362
|
// src/SC-tableList/ScTableList.tsx
|
|
4198
4363
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
4199
4364
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
4200
|
-
import { Fragment as
|
|
4365
|
+
import { Fragment as Fragment20, jsx as jsx60, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
4201
4366
|
var ScTableList = ({
|
|
4202
4367
|
invitedBy = "Rohan",
|
|
4203
4368
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4209,7 +4374,7 @@ var ScTableList = ({
|
|
|
4209
4374
|
...props
|
|
4210
4375
|
}) => {
|
|
4211
4376
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4212
|
-
return /* @__PURE__ */
|
|
4377
|
+
return /* @__PURE__ */ jsxs52(
|
|
4213
4378
|
"div",
|
|
4214
4379
|
{
|
|
4215
4380
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
@@ -4224,7 +4389,7 @@ var ScTableList = ({
|
|
|
4224
4389
|
}
|
|
4225
4390
|
),
|
|
4226
4391
|
/* @__PURE__ */ jsx60(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
4227
|
-
/* @__PURE__ */
|
|
4392
|
+
/* @__PURE__ */ jsxs52("div", { className: ScTableList_default.accessInfo, children: [
|
|
4228
4393
|
/* @__PURE__ */ jsx60(
|
|
4229
4394
|
ScAccess,
|
|
4230
4395
|
{
|
|
@@ -4243,17 +4408,17 @@ var ScTableList = ({
|
|
|
4243
4408
|
}
|
|
4244
4409
|
)
|
|
4245
4410
|
] }),
|
|
4246
|
-
/* @__PURE__ */
|
|
4411
|
+
/* @__PURE__ */ jsxs52("div", { className: ScTableList_default.userName, children: [
|
|
4247
4412
|
invitedBy,
|
|
4248
4413
|
" "
|
|
4249
4414
|
] }),
|
|
4250
|
-
variant === "pending" && /* @__PURE__ */ jsx60(
|
|
4415
|
+
variant === "pending" && /* @__PURE__ */ jsx60(Fragment20, { children: /* @__PURE__ */ jsx60(
|
|
4251
4416
|
ScPendingAction,
|
|
4252
4417
|
{
|
|
4253
4418
|
className: ScTableList_default.scPendingActionInstance
|
|
4254
4419
|
}
|
|
4255
4420
|
) }),
|
|
4256
|
-
variant === "active" && /* @__PURE__ */ jsx60(
|
|
4421
|
+
variant === "active" && /* @__PURE__ */ jsx60(Fragment20, { children: /* @__PURE__ */ jsxs52("div", { className: ScTableList_default.date, children: [
|
|
4257
4422
|
signedOn,
|
|
4258
4423
|
" "
|
|
4259
4424
|
] }) })
|
|
@@ -4288,7 +4453,7 @@ import {
|
|
|
4288
4453
|
SiconSwitch as SiconSwitch2,
|
|
4289
4454
|
SiconLogout as SiconLogout2
|
|
4290
4455
|
} from "@streamoid/icons";
|
|
4291
|
-
import { jsx as jsx61, jsxs as
|
|
4456
|
+
import { jsx as jsx61, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
4292
4457
|
var ScWorkspaceCard = ({
|
|
4293
4458
|
workspaceName = "Stores",
|
|
4294
4459
|
role = "Admin",
|
|
@@ -4298,20 +4463,20 @@ var ScWorkspaceCard = ({
|
|
|
4298
4463
|
className,
|
|
4299
4464
|
...props
|
|
4300
4465
|
}) => {
|
|
4301
|
-
return /* @__PURE__ */
|
|
4302
|
-
/* @__PURE__ */
|
|
4466
|
+
return /* @__PURE__ */ jsxs53("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
4467
|
+
/* @__PURE__ */ jsxs53("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
4303
4468
|
/* @__PURE__ */ jsx61(
|
|
4304
4469
|
ScIntialProfileCover,
|
|
4305
4470
|
{
|
|
4306
4471
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4307
4472
|
}
|
|
4308
4473
|
),
|
|
4309
|
-
/* @__PURE__ */
|
|
4474
|
+
/* @__PURE__ */ jsxs53("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4310
4475
|
workspaceName,
|
|
4311
4476
|
" "
|
|
4312
4477
|
] })
|
|
4313
4478
|
] }),
|
|
4314
|
-
/* @__PURE__ */
|
|
4479
|
+
/* @__PURE__ */ jsxs53("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
4315
4480
|
/* @__PURE__ */ jsx61(
|
|
4316
4481
|
ScBadges,
|
|
4317
4482
|
{
|
|
@@ -4320,7 +4485,7 @@ var ScWorkspaceCard = ({
|
|
|
4320
4485
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4321
4486
|
}
|
|
4322
4487
|
),
|
|
4323
|
-
/* @__PURE__ */
|
|
4488
|
+
/* @__PURE__ */ jsxs53("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
4324
4489
|
/* @__PURE__ */ jsx61(
|
|
4325
4490
|
ScPairtext,
|
|
4326
4491
|
{
|
|
@@ -4364,8 +4529,8 @@ var ScWorkspaceCard = ({
|
|
|
4364
4529
|
};
|
|
4365
4530
|
|
|
4366
4531
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4367
|
-
import { useState as
|
|
4368
|
-
import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3 } from "@streamoid/icons";
|
|
4532
|
+
import { useState as useState4 } from "react";
|
|
4533
|
+
import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3, SiconLogout as SiconLogout3 } from "@streamoid/icons";
|
|
4369
4534
|
|
|
4370
4535
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
4371
4536
|
var ScWorkspaceSwitchCard_default = {
|
|
@@ -4385,12 +4550,13 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4385
4550
|
detailValueInfo: "ScWorkspaceSwitchCard_detailValueInfo",
|
|
4386
4551
|
detailValueSecondary: "ScWorkspaceSwitchCard_detailValueSecondary",
|
|
4387
4552
|
vDivider: "ScWorkspaceSwitchCard_vDivider",
|
|
4388
|
-
btnIcon: "ScWorkspaceSwitchCard_btnIcon"
|
|
4553
|
+
btnIcon: "ScWorkspaceSwitchCard_btnIcon",
|
|
4554
|
+
leaveBtn: "ScWorkspaceSwitchCard_leaveBtn"
|
|
4389
4555
|
};
|
|
4390
4556
|
|
|
4391
4557
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4392
|
-
import { jsx as jsx62, jsxs as
|
|
4393
|
-
function
|
|
4558
|
+
import { jsx as jsx62, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4559
|
+
function ScWorkspaceSwitchCard({
|
|
4394
4560
|
wsName = "Workspace name is kepler",
|
|
4395
4561
|
role = "Admin",
|
|
4396
4562
|
plan = "Free",
|
|
@@ -4401,9 +4567,10 @@ function NscWorkspaceSwitch({
|
|
|
4401
4567
|
hover,
|
|
4402
4568
|
className,
|
|
4403
4569
|
onSwitch,
|
|
4404
|
-
onSettings
|
|
4570
|
+
onSettings,
|
|
4571
|
+
onLeave
|
|
4405
4572
|
}) {
|
|
4406
|
-
const [internalHover, setInternalHover] =
|
|
4573
|
+
const [internalHover, setInternalHover] = useState4(false);
|
|
4407
4574
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4408
4575
|
const isCurrent = type === "currentWS";
|
|
4409
4576
|
const isOther = type === "otherWS";
|
|
@@ -4424,7 +4591,7 @@ function NscWorkspaceSwitch({
|
|
|
4424
4591
|
className: cardClass,
|
|
4425
4592
|
onMouseEnter: () => setInternalHover(true),
|
|
4426
4593
|
onMouseLeave: () => setInternalHover(false),
|
|
4427
|
-
children: /* @__PURE__ */
|
|
4594
|
+
children: /* @__PURE__ */ jsxs54("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
4428
4595
|
/* @__PURE__ */ jsx62(
|
|
4429
4596
|
ScDp,
|
|
4430
4597
|
{
|
|
@@ -4439,20 +4606,20 @@ function NscWorkspaceSwitch({
|
|
|
4439
4606
|
}
|
|
4440
4607
|
}
|
|
4441
4608
|
),
|
|
4442
|
-
/* @__PURE__ */
|
|
4609
|
+
/* @__PURE__ */ jsxs54("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
4443
4610
|
/* @__PURE__ */ jsx62("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
4444
|
-
/* @__PURE__ */
|
|
4445
|
-
/* @__PURE__ */
|
|
4611
|
+
/* @__PURE__ */ jsxs54("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
4612
|
+
/* @__PURE__ */ jsxs54("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
4446
4613
|
/* @__PURE__ */ jsx62("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
4447
4614
|
/* @__PURE__ */ jsx62("span", { className: roleColorClass, children: displayRole })
|
|
4448
4615
|
] }),
|
|
4449
4616
|
/* @__PURE__ */ jsx62(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
4450
|
-
/* @__PURE__ */
|
|
4617
|
+
/* @__PURE__ */ jsxs54("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
4451
4618
|
/* @__PURE__ */ jsx62("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
4452
4619
|
/* @__PURE__ */ jsx62("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
4453
4620
|
] }),
|
|
4454
4621
|
/* @__PURE__ */ jsx62(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
4455
|
-
/* @__PURE__ */
|
|
4622
|
+
/* @__PURE__ */ jsxs54("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
4456
4623
|
/* @__PURE__ */ jsx62("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
4457
4624
|
/* @__PURE__ */ jsx62("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
4458
4625
|
] })
|
|
@@ -4496,13 +4663,852 @@ function NscWorkspaceSwitch({
|
|
|
4496
4663
|
}
|
|
4497
4664
|
)
|
|
4498
4665
|
}
|
|
4666
|
+
),
|
|
4667
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx62(
|
|
4668
|
+
"div",
|
|
4669
|
+
{
|
|
4670
|
+
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
4671
|
+
onClick: (e) => {
|
|
4672
|
+
e.stopPropagation();
|
|
4673
|
+
onLeave?.();
|
|
4674
|
+
},
|
|
4675
|
+
children: /* @__PURE__ */ jsx62(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
4676
|
+
}
|
|
4499
4677
|
)
|
|
4500
4678
|
] })
|
|
4501
4679
|
}
|
|
4502
4680
|
);
|
|
4503
4681
|
}
|
|
4504
|
-
var
|
|
4682
|
+
var NscWorkspaceSwitch = ScWorkspaceSwitchCard;
|
|
4683
|
+
|
|
4684
|
+
// src/SC-Role-Mobile/ScRoleMobile.module.css
|
|
4685
|
+
var ScRoleMobile_default = {
|
|
4686
|
+
scRoleMobile: "ScRoleMobile_scRoleMobile",
|
|
4687
|
+
"role-admin": "ScRoleMobile_role-admin",
|
|
4688
|
+
"role-member": "ScRoleMobile_role-member",
|
|
4689
|
+
text: "ScRoleMobile_text"
|
|
4690
|
+
};
|
|
4691
|
+
|
|
4692
|
+
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
4693
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
4694
|
+
var ScRoleMobile = ({
|
|
4695
|
+
role = "admin",
|
|
4696
|
+
className,
|
|
4697
|
+
...props
|
|
4698
|
+
}) => {
|
|
4699
|
+
return /* @__PURE__ */ jsx63(
|
|
4700
|
+
"div",
|
|
4701
|
+
{
|
|
4702
|
+
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
4703
|
+
...props,
|
|
4704
|
+
children: /* @__PURE__ */ jsx63("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
4705
|
+
}
|
|
4706
|
+
);
|
|
4707
|
+
};
|
|
4708
|
+
|
|
4709
|
+
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.module.css
|
|
4710
|
+
var ScProfileV2Mobile_default = {
|
|
4711
|
+
scProfileV2Mobile: "ScProfileV2Mobile_scProfileV2Mobile",
|
|
4712
|
+
profileImage: "ScProfileV2Mobile_profileImage",
|
|
4713
|
+
image: "ScProfileV2Mobile_image",
|
|
4714
|
+
initials: "ScProfileV2Mobile_initials",
|
|
4715
|
+
userInfo: "ScProfileV2Mobile_userInfo",
|
|
4716
|
+
userName: "ScProfileV2Mobile_userName",
|
|
4717
|
+
userEmail: "ScProfileV2Mobile_userEmail"
|
|
4718
|
+
};
|
|
4719
|
+
|
|
4720
|
+
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
4721
|
+
import { jsx as jsx64, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4722
|
+
var ScProfileV2Mobile = ({
|
|
4723
|
+
name = "Chris Hemsworth",
|
|
4724
|
+
email = "chris@kepler.com",
|
|
4725
|
+
imageUrl,
|
|
4726
|
+
dpPosition = "left",
|
|
4727
|
+
className,
|
|
4728
|
+
...props
|
|
4729
|
+
}) => {
|
|
4730
|
+
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4731
|
+
const profileImage = /* @__PURE__ */ jsx64("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx64("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx64("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
4732
|
+
return /* @__PURE__ */ jsxs55(
|
|
4733
|
+
"div",
|
|
4734
|
+
{
|
|
4735
|
+
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
4736
|
+
...props,
|
|
4737
|
+
children: [
|
|
4738
|
+
dpPosition === "left" && profileImage,
|
|
4739
|
+
/* @__PURE__ */ jsxs55("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
4740
|
+
/* @__PURE__ */ jsx64("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
4741
|
+
/* @__PURE__ */ jsx64("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
4742
|
+
] }),
|
|
4743
|
+
dpPosition === "right" && profileImage
|
|
4744
|
+
]
|
|
4745
|
+
}
|
|
4746
|
+
);
|
|
4747
|
+
};
|
|
4748
|
+
|
|
4749
|
+
// src/SC-tableList-mobile/ScTableListMobile.module.css
|
|
4750
|
+
var ScTableListMobile_default = {
|
|
4751
|
+
scTableListMobile: "ScTableListMobile_scTableListMobile",
|
|
4752
|
+
profileRow: "ScTableListMobile_profileRow",
|
|
4753
|
+
userInfo: "ScTableListMobile_userInfo",
|
|
4754
|
+
userName: "ScTableListMobile_userName",
|
|
4755
|
+
userEmail: "ScTableListMobile_userEmail",
|
|
4756
|
+
profileImage: "ScTableListMobile_profileImage",
|
|
4757
|
+
image: "ScTableListMobile_image",
|
|
4758
|
+
initials: "ScTableListMobile_initials",
|
|
4759
|
+
detailsRow: "ScTableListMobile_detailsRow",
|
|
4760
|
+
roleBadge: "ScTableListMobile_roleBadge",
|
|
4761
|
+
roleText: "ScTableListMobile_roleText",
|
|
4762
|
+
accessInfo: "ScTableListMobile_accessInfo",
|
|
4763
|
+
accessGroup: "ScTableListMobile_accessGroup",
|
|
4764
|
+
accessIcon: "ScTableListMobile_accessIcon"
|
|
4765
|
+
};
|
|
4766
|
+
|
|
4767
|
+
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
4768
|
+
import { jsx as jsx65, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4769
|
+
var ScTableListMobile = ({
|
|
4770
|
+
name = "Chris Hemsworth",
|
|
4771
|
+
email = "chris@kepler.com",
|
|
4772
|
+
imageUrl,
|
|
4773
|
+
role = "Admin",
|
|
4774
|
+
accessIcons,
|
|
4775
|
+
permissionIcons,
|
|
4776
|
+
onRowClick,
|
|
4777
|
+
className,
|
|
4778
|
+
...props
|
|
4779
|
+
}) => {
|
|
4780
|
+
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4781
|
+
return /* @__PURE__ */ jsxs56(
|
|
4782
|
+
"div",
|
|
4783
|
+
{
|
|
4784
|
+
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
4785
|
+
onClick: onRowClick,
|
|
4786
|
+
...props,
|
|
4787
|
+
children: [
|
|
4788
|
+
/* @__PURE__ */ jsxs56("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
4789
|
+
/* @__PURE__ */ jsxs56("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
4790
|
+
/* @__PURE__ */ jsx65("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
4791
|
+
/* @__PURE__ */ jsx65("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
4792
|
+
] }),
|
|
4793
|
+
/* @__PURE__ */ jsx65("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx65("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx65("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
4794
|
+
] }),
|
|
4795
|
+
/* @__PURE__ */ jsxs56("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
4796
|
+
/* @__PURE__ */ jsx65("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx65("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
4797
|
+
/* @__PURE__ */ jsxs56("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
4798
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx65("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx65("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
4799
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx65("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx65("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
4800
|
+
] })
|
|
4801
|
+
] })
|
|
4802
|
+
]
|
|
4803
|
+
}
|
|
4804
|
+
);
|
|
4805
|
+
};
|
|
4806
|
+
|
|
4807
|
+
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.module.css
|
|
4808
|
+
var ScWorkspaceSwitchMobile_default = {
|
|
4809
|
+
scWorkspaceSwitchMobile: "ScWorkspaceSwitchMobile_scWorkspaceSwitchMobile",
|
|
4810
|
+
"variant-current": "ScWorkspaceSwitchMobile_variant-current",
|
|
4811
|
+
"variant-other": "ScWorkspaceSwitchMobile_variant-other",
|
|
4812
|
+
workspaceInfo: "ScWorkspaceSwitchMobile_workspaceInfo",
|
|
4813
|
+
wsNameRow: "ScWorkspaceSwitchMobile_wsNameRow",
|
|
4814
|
+
initialsBox: "ScWorkspaceSwitchMobile_initialsBox",
|
|
4815
|
+
initialsText: "ScWorkspaceSwitchMobile_initialsText",
|
|
4816
|
+
storeName: "ScWorkspaceSwitchMobile_storeName",
|
|
4817
|
+
roleBadge: "ScWorkspaceSwitchMobile_roleBadge",
|
|
4818
|
+
roleText: "ScWorkspaceSwitchMobile_roleText",
|
|
4819
|
+
divider: "ScWorkspaceSwitchMobile_divider",
|
|
4820
|
+
ownerRow: "ScWorkspaceSwitchMobile_ownerRow",
|
|
4821
|
+
ownerIconContainer: "ScWorkspaceSwitchMobile_ownerIconContainer",
|
|
4822
|
+
ownerIcon: "ScWorkspaceSwitchMobile_ownerIcon",
|
|
4823
|
+
ownerText: "ScWorkspaceSwitchMobile_ownerText"
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
4827
|
+
import { jsx as jsx66, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4828
|
+
var ScWorkspaceSwitchMobile = ({
|
|
4829
|
+
storeName = "Stores",
|
|
4830
|
+
initials = "WS",
|
|
4831
|
+
role = "Admin",
|
|
4832
|
+
ownerId = "rohan@streamoid.com",
|
|
4833
|
+
currentWs = true,
|
|
4834
|
+
ownerIcon,
|
|
4835
|
+
className,
|
|
4836
|
+
onClick,
|
|
4837
|
+
...props
|
|
4838
|
+
}) => {
|
|
4839
|
+
const variant = currentWs ? "current" : "other";
|
|
4840
|
+
return /* @__PURE__ */ jsxs57(
|
|
4841
|
+
"div",
|
|
4842
|
+
{
|
|
4843
|
+
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
4844
|
+
onClick,
|
|
4845
|
+
...props,
|
|
4846
|
+
children: [
|
|
4847
|
+
/* @__PURE__ */ jsxs57("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
4848
|
+
/* @__PURE__ */ jsxs57("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
4849
|
+
/* @__PURE__ */ jsx66("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx66("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
4850
|
+
/* @__PURE__ */ jsx66("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
4851
|
+
] }),
|
|
4852
|
+
/* @__PURE__ */ jsx66("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx66("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
4853
|
+
] }),
|
|
4854
|
+
/* @__PURE__ */ jsx66("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
4855
|
+
/* @__PURE__ */ jsxs57("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
4856
|
+
/* @__PURE__ */ jsx66("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx66("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
4857
|
+
/* @__PURE__ */ jsx66("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
4858
|
+
] })
|
|
4859
|
+
]
|
|
4860
|
+
}
|
|
4861
|
+
);
|
|
4862
|
+
};
|
|
4863
|
+
|
|
4864
|
+
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.module.css
|
|
4865
|
+
var ScWorkspaceSettingsMobile_default = {
|
|
4866
|
+
scWorkspaceSettingsMobile: "ScWorkspaceSettingsMobile_scWorkspaceSettingsMobile",
|
|
4867
|
+
"variant-current": "ScWorkspaceSettingsMobile_variant-current",
|
|
4868
|
+
"variant-other": "ScWorkspaceSettingsMobile_variant-other",
|
|
4869
|
+
workspaceInfo: "ScWorkspaceSettingsMobile_workspaceInfo",
|
|
4870
|
+
wsNameRow: "ScWorkspaceSettingsMobile_wsNameRow",
|
|
4871
|
+
initialsBox: "ScWorkspaceSettingsMobile_initialsBox",
|
|
4872
|
+
initialsText: "ScWorkspaceSettingsMobile_initialsText",
|
|
4873
|
+
storeName: "ScWorkspaceSettingsMobile_storeName",
|
|
4874
|
+
roleBadge: "ScWorkspaceSettingsMobile_roleBadge",
|
|
4875
|
+
roleText: "ScWorkspaceSettingsMobile_roleText",
|
|
4876
|
+
divider: "ScWorkspaceSettingsMobile_divider",
|
|
4877
|
+
infoRow: "ScWorkspaceSettingsMobile_infoRow",
|
|
4878
|
+
iconContainer: "ScWorkspaceSettingsMobile_iconContainer",
|
|
4879
|
+
icon: "ScWorkspaceSettingsMobile_icon",
|
|
4880
|
+
infoText: "ScWorkspaceSettingsMobile_infoText"
|
|
4881
|
+
};
|
|
4882
|
+
|
|
4883
|
+
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
4884
|
+
import { jsx as jsx67, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4885
|
+
var ScWorkspaceSettingsMobile = ({
|
|
4886
|
+
storeName = "Stores",
|
|
4887
|
+
initials = "WS",
|
|
4888
|
+
role = "Admin",
|
|
4889
|
+
ownerId = "rohan@streamoid.com",
|
|
4890
|
+
teamCount = "12 Users",
|
|
4891
|
+
currentWs = true,
|
|
4892
|
+
ownerIcon,
|
|
4893
|
+
teamIcon,
|
|
4894
|
+
className,
|
|
4895
|
+
onClick,
|
|
4896
|
+
...props
|
|
4897
|
+
}) => {
|
|
4898
|
+
const variant = currentWs ? "current" : "other";
|
|
4899
|
+
return /* @__PURE__ */ jsxs58(
|
|
4900
|
+
"div",
|
|
4901
|
+
{
|
|
4902
|
+
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
4903
|
+
onClick,
|
|
4904
|
+
...props,
|
|
4905
|
+
children: [
|
|
4906
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
4907
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
4908
|
+
/* @__PURE__ */ jsx67("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx67("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
4909
|
+
/* @__PURE__ */ jsx67("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
4910
|
+
] }),
|
|
4911
|
+
/* @__PURE__ */ jsx67("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx67("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
4912
|
+
] }),
|
|
4913
|
+
/* @__PURE__ */ jsx67("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
4914
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
4915
|
+
/* @__PURE__ */ jsx67("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx67("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
4916
|
+
/* @__PURE__ */ jsx67("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
4917
|
+
] }),
|
|
4918
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
4919
|
+
/* @__PURE__ */ jsx67("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx67("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
4920
|
+
/* @__PURE__ */ jsx67("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
4921
|
+
] })
|
|
4922
|
+
]
|
|
4923
|
+
}
|
|
4924
|
+
);
|
|
4925
|
+
};
|
|
4926
|
+
|
|
4927
|
+
// src/SC-MobileTopNav/ScMobileTopNav.module.css
|
|
4928
|
+
var ScMobileTopNav_default = {
|
|
4929
|
+
scMobileTopNav: "ScMobileTopNav_scMobileTopNav",
|
|
4930
|
+
withBorder: "ScMobileTopNav_withBorder",
|
|
4931
|
+
iconContainer: "ScMobileTopNav_iconContainer",
|
|
4932
|
+
iconPlaceholder: "ScMobileTopNav_iconPlaceholder",
|
|
4933
|
+
hidden: "ScMobileTopNav_hidden",
|
|
4934
|
+
chatTitle: "ScMobileTopNav_chatTitle",
|
|
4935
|
+
heading: "ScMobileTopNav_heading",
|
|
4936
|
+
searchRow: "ScMobileTopNav_searchRow",
|
|
4937
|
+
searchInputContainer: "ScMobileTopNav_searchInputContainer",
|
|
4938
|
+
searchInput: "ScMobileTopNav_searchInput",
|
|
4939
|
+
searchField: "ScMobileTopNav_searchField"
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
4943
|
+
import { Fragment as Fragment21, jsx as jsx68, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4944
|
+
var ScMobileTopNav = ({
|
|
4945
|
+
type = "home",
|
|
4946
|
+
searchIcon = false,
|
|
4947
|
+
search = false,
|
|
4948
|
+
heading = "Heading",
|
|
4949
|
+
chatTitle = "Chat title comes here...",
|
|
4950
|
+
searchPlaceholder = "Search...",
|
|
4951
|
+
searchValue,
|
|
4952
|
+
menuIcon,
|
|
4953
|
+
searchIconElement,
|
|
4954
|
+
closeIcon,
|
|
4955
|
+
moreIcon,
|
|
4956
|
+
onMenuClick,
|
|
4957
|
+
onSearchClick,
|
|
4958
|
+
onCloseClick,
|
|
4959
|
+
onMoreClick,
|
|
4960
|
+
onSearchChange,
|
|
4961
|
+
className,
|
|
4962
|
+
...props
|
|
4963
|
+
}) => {
|
|
4964
|
+
const hasBorder = type === "chat" || type === "inApp";
|
|
4965
|
+
const showSearch = type === "inApp" && searchIcon && search;
|
|
4966
|
+
return /* @__PURE__ */ jsxs59(
|
|
4967
|
+
"div",
|
|
4968
|
+
{
|
|
4969
|
+
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
4970
|
+
...props,
|
|
4971
|
+
children: [
|
|
4972
|
+
type === "home" && /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
4973
|
+
type === "chat" && /* @__PURE__ */ jsxs59(Fragment21, { children: [
|
|
4974
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
4975
|
+
/* @__PURE__ */ jsx68("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
4976
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
4977
|
+
] }),
|
|
4978
|
+
showSearch && /* @__PURE__ */ jsxs59(Fragment21, { children: [
|
|
4979
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs59("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
4980
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
4981
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx68(
|
|
4982
|
+
"input",
|
|
4983
|
+
{
|
|
4984
|
+
type: "text",
|
|
4985
|
+
className: ScMobileTopNav_default.searchField,
|
|
4986
|
+
placeholder: searchPlaceholder,
|
|
4987
|
+
value: searchValue,
|
|
4988
|
+
onChange: (e) => onSearchChange?.(e.target.value)
|
|
4989
|
+
}
|
|
4990
|
+
) })
|
|
4991
|
+
] }) }),
|
|
4992
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
4993
|
+
] }),
|
|
4994
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs59(Fragment21, { children: [
|
|
4995
|
+
/* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
4996
|
+
/* @__PURE__ */ jsx68("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
4997
|
+
/* @__PURE__ */ jsx68(
|
|
4998
|
+
"div",
|
|
4999
|
+
{
|
|
5000
|
+
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5001
|
+
onClick: onSearchClick,
|
|
5002
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx68("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
5003
|
+
}
|
|
5004
|
+
)
|
|
5005
|
+
] })
|
|
5006
|
+
]
|
|
5007
|
+
}
|
|
5008
|
+
);
|
|
5009
|
+
};
|
|
5010
|
+
|
|
5011
|
+
// src/SC-MobileBottomAction/ScMobileBottomAction.module.css
|
|
5012
|
+
var ScMobileBottomAction_default = {
|
|
5013
|
+
scMobileBottomAction: "ScMobileBottomAction_scMobileBottomAction",
|
|
5014
|
+
button: "ScMobileBottomAction_button",
|
|
5015
|
+
disabled: "ScMobileBottomAction_disabled",
|
|
5016
|
+
buttonText: "ScMobileBottomAction_buttonText"
|
|
5017
|
+
};
|
|
5018
|
+
|
|
5019
|
+
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5020
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
5021
|
+
var ScMobileBottomAction = ({
|
|
5022
|
+
text = "Save Changes",
|
|
5023
|
+
disabled = false,
|
|
5024
|
+
onClick,
|
|
5025
|
+
className,
|
|
5026
|
+
...props
|
|
5027
|
+
}) => {
|
|
5028
|
+
return /* @__PURE__ */ jsx69(
|
|
5029
|
+
"div",
|
|
5030
|
+
{
|
|
5031
|
+
className: ScMobileBottomAction_default.scMobileBottomAction + " " + className,
|
|
5032
|
+
...props,
|
|
5033
|
+
children: /* @__PURE__ */ jsx69(
|
|
5034
|
+
"button",
|
|
5035
|
+
{
|
|
5036
|
+
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5037
|
+
onClick,
|
|
5038
|
+
disabled,
|
|
5039
|
+
children: /* @__PURE__ */ jsx69("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5040
|
+
}
|
|
5041
|
+
)
|
|
5042
|
+
}
|
|
5043
|
+
);
|
|
5044
|
+
};
|
|
5045
|
+
|
|
5046
|
+
// src/SC-PopUpMenu/ScPopUpMenu.module.css
|
|
5047
|
+
var ScPopUpMenu_default = {
|
|
5048
|
+
scPopUpMenu: "ScPopUpMenu_scPopUpMenu",
|
|
5049
|
+
"state-default": "ScPopUpMenu_state-default",
|
|
5050
|
+
"state-clicked": "ScPopUpMenu_state-clicked",
|
|
5051
|
+
icon: "ScPopUpMenu_icon",
|
|
5052
|
+
menuText: "ScPopUpMenu_menuText"
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5056
|
+
import { jsx as jsx70, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
5057
|
+
var ScPopUpMenu = ({
|
|
5058
|
+
menu = "Options",
|
|
5059
|
+
state = "default",
|
|
5060
|
+
icon,
|
|
5061
|
+
onClick,
|
|
5062
|
+
className,
|
|
5063
|
+
...props
|
|
5064
|
+
}) => {
|
|
5065
|
+
return /* @__PURE__ */ jsxs60(
|
|
5066
|
+
"div",
|
|
5067
|
+
{
|
|
5068
|
+
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5069
|
+
onClick,
|
|
5070
|
+
...props,
|
|
5071
|
+
children: [
|
|
5072
|
+
icon && /* @__PURE__ */ jsx70("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
5073
|
+
/* @__PURE__ */ jsx70("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
5074
|
+
]
|
|
5075
|
+
}
|
|
5076
|
+
);
|
|
5077
|
+
};
|
|
5078
|
+
|
|
5079
|
+
// src/SC-referralCard-Mobile/ScReferralCardMobile.module.css
|
|
5080
|
+
var ScReferralCardMobile_default = {
|
|
5081
|
+
scReferralCardMobile: "ScReferralCardMobile_scReferralCardMobile",
|
|
5082
|
+
userRow: "ScReferralCardMobile_userRow",
|
|
5083
|
+
profileSection: "ScReferralCardMobile_profileSection",
|
|
5084
|
+
profileImage: "ScReferralCardMobile_profileImage",
|
|
5085
|
+
image: "ScReferralCardMobile_image",
|
|
5086
|
+
initials: "ScReferralCardMobile_initials",
|
|
5087
|
+
userInfo: "ScReferralCardMobile_userInfo",
|
|
5088
|
+
userName: "ScReferralCardMobile_userName",
|
|
5089
|
+
userEmail: "ScReferralCardMobile_userEmail",
|
|
5090
|
+
badge: "ScReferralCardMobile_badge",
|
|
5091
|
+
badgeText: "ScReferralCardMobile_badgeText",
|
|
5092
|
+
divider: "ScReferralCardMobile_divider",
|
|
5093
|
+
detailsRow: "ScReferralCardMobile_detailsRow",
|
|
5094
|
+
dateText: "ScReferralCardMobile_dateText",
|
|
5095
|
+
creditsText: "ScReferralCardMobile_creditsText"
|
|
5096
|
+
};
|
|
5097
|
+
|
|
5098
|
+
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5099
|
+
import { jsx as jsx71, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5100
|
+
var ScReferralCardMobile = ({
|
|
5101
|
+
name = "Chris Hemsworth",
|
|
5102
|
+
email = "chris@kepler.com",
|
|
5103
|
+
imageUrl,
|
|
5104
|
+
badge = "Confirmed",
|
|
5105
|
+
date = "Nov 9th, 2025",
|
|
5106
|
+
credits = "+ 500",
|
|
5107
|
+
onClick,
|
|
5108
|
+
className,
|
|
5109
|
+
...props
|
|
5110
|
+
}) => {
|
|
5111
|
+
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5112
|
+
return /* @__PURE__ */ jsxs61(
|
|
5113
|
+
"div",
|
|
5114
|
+
{
|
|
5115
|
+
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5116
|
+
onClick,
|
|
5117
|
+
...props,
|
|
5118
|
+
children: [
|
|
5119
|
+
/* @__PURE__ */ jsxs61("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
5120
|
+
/* @__PURE__ */ jsxs61("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
5121
|
+
/* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx71("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
5122
|
+
/* @__PURE__ */ jsxs61("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
5123
|
+
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
5124
|
+
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
5125
|
+
] })
|
|
5126
|
+
] }),
|
|
5127
|
+
/* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5128
|
+
] }),
|
|
5129
|
+
/* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.divider }),
|
|
5130
|
+
/* @__PURE__ */ jsxs61("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
5131
|
+
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
5132
|
+
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
5133
|
+
] })
|
|
5134
|
+
]
|
|
5135
|
+
}
|
|
5136
|
+
);
|
|
5137
|
+
};
|
|
5138
|
+
|
|
5139
|
+
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.module.css
|
|
5140
|
+
var InvoiceHistoryMobile_default = {
|
|
5141
|
+
invoiceHistoryMobile: "InvoiceHistoryMobile_invoiceHistoryMobile",
|
|
5142
|
+
info: "InvoiceHistoryMobile_info",
|
|
5143
|
+
invoiceId: "InvoiceHistoryMobile_invoiceId",
|
|
5144
|
+
date: "InvoiceHistoryMobile_date",
|
|
5145
|
+
amount: "InvoiceHistoryMobile_amount"
|
|
5146
|
+
};
|
|
5147
|
+
|
|
5148
|
+
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5149
|
+
import { jsx as jsx72, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5150
|
+
var InvoiceHistoryMobile = ({
|
|
5151
|
+
invoiceId = "# INV-2800-2026",
|
|
5152
|
+
date = "Nov 9th, 2025",
|
|
5153
|
+
amount = "$320.89",
|
|
5154
|
+
className
|
|
5155
|
+
}) => {
|
|
5156
|
+
return /* @__PURE__ */ jsxs62("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
5157
|
+
/* @__PURE__ */ jsxs62("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
5158
|
+
/* @__PURE__ */ jsx72("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
5159
|
+
/* @__PURE__ */ jsx72("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
5160
|
+
] }),
|
|
5161
|
+
/* @__PURE__ */ jsx72("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5162
|
+
] });
|
|
5163
|
+
};
|
|
5164
|
+
|
|
5165
|
+
// src/SC-UsageHistoryMobile/UsageHistoryMobile.module.css
|
|
5166
|
+
var UsageHistoryMobile_default = {
|
|
5167
|
+
usageHistoryMobile: "UsageHistoryMobile_usageHistoryMobile",
|
|
5168
|
+
row1: "UsageHistoryMobile_row1",
|
|
5169
|
+
serviceName: "UsageHistoryMobile_serviceName",
|
|
5170
|
+
credits: "UsageHistoryMobile_credits",
|
|
5171
|
+
row2: "UsageHistoryMobile_row2",
|
|
5172
|
+
metaLeft: "UsageHistoryMobile_metaLeft",
|
|
5173
|
+
metaText: "UsageHistoryMobile_metaText",
|
|
5174
|
+
divider: "UsageHistoryMobile_divider",
|
|
5175
|
+
balance: "UsageHistoryMobile_balance"
|
|
5176
|
+
};
|
|
5177
|
+
|
|
5178
|
+
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5179
|
+
import { jsx as jsx73, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5180
|
+
var UsageHistoryMobile = ({
|
|
5181
|
+
serviceName = "Artifax Generation",
|
|
5182
|
+
credits = "50",
|
|
5183
|
+
userName = "Rohan",
|
|
5184
|
+
date = "Nov 9th, 2025",
|
|
5185
|
+
balance = "84,902",
|
|
5186
|
+
className
|
|
5187
|
+
}) => {
|
|
5188
|
+
return /* @__PURE__ */ jsxs63("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
5189
|
+
/* @__PURE__ */ jsxs63("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
5190
|
+
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
5191
|
+
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
5192
|
+
] }),
|
|
5193
|
+
/* @__PURE__ */ jsxs63("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
5194
|
+
/* @__PURE__ */ jsxs63("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
5195
|
+
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
5196
|
+
/* @__PURE__ */ jsx73("div", { className: UsageHistoryMobile_default.divider }),
|
|
5197
|
+
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
5198
|
+
] }),
|
|
5199
|
+
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5200
|
+
] })
|
|
5201
|
+
] });
|
|
5202
|
+
};
|
|
5203
|
+
|
|
5204
|
+
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.module.css
|
|
5205
|
+
var ScWorkspaceSwitchMobileV2_default = {
|
|
5206
|
+
scWorkspaceSwitchMobileV2: "ScWorkspaceSwitchMobileV2_scWorkspaceSwitchMobileV2",
|
|
5207
|
+
"type-currentWS": "ScWorkspaceSwitchMobileV2_type-currentWS",
|
|
5208
|
+
"type-otherWS": "ScWorkspaceSwitchMobileV2_type-otherWS",
|
|
5209
|
+
"type-display": "ScWorkspaceSwitchMobileV2_type-display",
|
|
5210
|
+
workspaceInfo: "ScWorkspaceSwitchMobileV2_workspaceInfo",
|
|
5211
|
+
dpContainer: "ScWorkspaceSwitchMobileV2_dpContainer",
|
|
5212
|
+
textContainer: "ScWorkspaceSwitchMobileV2_textContainer",
|
|
5213
|
+
wsName: "ScWorkspaceSwitchMobileV2_wsName",
|
|
5214
|
+
userDetails: "ScWorkspaceSwitchMobileV2_userDetails",
|
|
5215
|
+
roleText: "ScWorkspaceSwitchMobileV2_roleText",
|
|
5216
|
+
roleMember: "ScWorkspaceSwitchMobileV2_roleMember",
|
|
5217
|
+
dot: "ScWorkspaceSwitchMobileV2_dot",
|
|
5218
|
+
planText: "ScWorkspaceSwitchMobileV2_planText",
|
|
5219
|
+
ownerText: "ScWorkspaceSwitchMobileV2_ownerText"
|
|
5220
|
+
};
|
|
5221
|
+
|
|
5222
|
+
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5223
|
+
import { jsx as jsx74, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
5224
|
+
var ScWorkspaceSwitchMobileV2 = ({
|
|
5225
|
+
wsName = "Workspace name is kepler",
|
|
5226
|
+
initials = "WS",
|
|
5227
|
+
imageUrl,
|
|
5228
|
+
role = "Admin",
|
|
5229
|
+
plan = "Free",
|
|
5230
|
+
ownerId = "rohan@streamoid.com",
|
|
5231
|
+
type = "currentWS",
|
|
5232
|
+
onClick,
|
|
5233
|
+
className,
|
|
5234
|
+
...props
|
|
5235
|
+
}) => {
|
|
5236
|
+
return /* @__PURE__ */ jsx74(
|
|
5237
|
+
"div",
|
|
5238
|
+
{
|
|
5239
|
+
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5240
|
+
onClick,
|
|
5241
|
+
...props,
|
|
5242
|
+
children: /* @__PURE__ */ jsxs64("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
5243
|
+
/* @__PURE__ */ jsx74("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx74(
|
|
5244
|
+
ScDp,
|
|
5245
|
+
{
|
|
5246
|
+
type: imageUrl ? "image" : "initial",
|
|
5247
|
+
variant: "workspace",
|
|
5248
|
+
initial: initials,
|
|
5249
|
+
imageUrl,
|
|
5250
|
+
size: 60,
|
|
5251
|
+
style: {
|
|
5252
|
+
borderRadius: "var(--radius-xl, 12px)",
|
|
5253
|
+
...type === "currentWS" && !imageUrl ? { background: "var(--alias-fill-neutral-neutralactive, #313131)" } : {}
|
|
5254
|
+
}
|
|
5255
|
+
}
|
|
5256
|
+
) }),
|
|
5257
|
+
/* @__PURE__ */ jsxs64("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
5258
|
+
/* @__PURE__ */ jsx74("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
5259
|
+
/* @__PURE__ */ jsxs64("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
5260
|
+
/* @__PURE__ */ jsx74("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
5261
|
+
/* @__PURE__ */ jsx74("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5262
|
+
/* @__PURE__ */ jsx74("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
5263
|
+
/* @__PURE__ */ jsx74("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5264
|
+
/* @__PURE__ */ jsx74("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
5265
|
+
] })
|
|
5266
|
+
] })
|
|
5267
|
+
] })
|
|
5268
|
+
}
|
|
5269
|
+
);
|
|
5270
|
+
};
|
|
5271
|
+
|
|
5272
|
+
// src/SC-imageField/ScImageField.tsx
|
|
5273
|
+
import { useRef as useRef3 } from "react";
|
|
5274
|
+
|
|
5275
|
+
// src/SC-imageField/ScImageField.module.css
|
|
5276
|
+
var ScImageField_default = {
|
|
5277
|
+
scImageField: "ScImageField_scImageField",
|
|
5278
|
+
labelContainer: "ScImageField_labelContainer",
|
|
5279
|
+
label: "ScImageField_label",
|
|
5280
|
+
uploadArea: "ScImageField_uploadArea",
|
|
5281
|
+
uploadIcon: "ScImageField_uploadIcon",
|
|
5282
|
+
uploadText: "ScImageField_uploadText",
|
|
5283
|
+
previewArea: "ScImageField_previewArea",
|
|
5284
|
+
previewImage: "ScImageField_previewImage",
|
|
5285
|
+
fileName: "ScImageField_fileName",
|
|
5286
|
+
removeIcon: "ScImageField_removeIcon"
|
|
5287
|
+
};
|
|
5288
|
+
|
|
5289
|
+
// src/SC-imageField/ScImageField.tsx
|
|
5290
|
+
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
5291
|
+
import { jsx as jsx75, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5292
|
+
var ScImageField = ({
|
|
5293
|
+
label = "Label",
|
|
5294
|
+
imagePreview,
|
|
5295
|
+
imageName,
|
|
5296
|
+
onFileSelect,
|
|
5297
|
+
onRemove,
|
|
5298
|
+
className
|
|
5299
|
+
}) => {
|
|
5300
|
+
const inputRef = useRef3(null);
|
|
5301
|
+
const hasImage = !!imagePreview;
|
|
5302
|
+
function handleClick() {
|
|
5303
|
+
if (!hasImage) {
|
|
5304
|
+
inputRef.current?.click();
|
|
5305
|
+
}
|
|
5306
|
+
}
|
|
5307
|
+
function handleChange(e) {
|
|
5308
|
+
const file = e.target.files?.[0];
|
|
5309
|
+
if (file) {
|
|
5310
|
+
onFileSelect?.(file);
|
|
5311
|
+
}
|
|
5312
|
+
e.target.value = "";
|
|
5313
|
+
}
|
|
5314
|
+
return /* @__PURE__ */ jsxs65("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
5315
|
+
/* @__PURE__ */ jsx75(
|
|
5316
|
+
"input",
|
|
5317
|
+
{
|
|
5318
|
+
ref: inputRef,
|
|
5319
|
+
type: "file",
|
|
5320
|
+
accept: "image/*",
|
|
5321
|
+
style: { display: "none" },
|
|
5322
|
+
onChange: handleChange
|
|
5323
|
+
}
|
|
5324
|
+
),
|
|
5325
|
+
/* @__PURE__ */ jsx75("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx75("div", { className: ScImageField_default.label, children: label }) }),
|
|
5326
|
+
hasImage ? /* @__PURE__ */ jsxs65("div", { className: ScImageField_default.previewArea, children: [
|
|
5327
|
+
/* @__PURE__ */ jsx75(
|
|
5328
|
+
"img",
|
|
5329
|
+
{
|
|
5330
|
+
className: ScImageField_default.previewImage,
|
|
5331
|
+
src: imagePreview,
|
|
5332
|
+
alt: "preview"
|
|
5333
|
+
}
|
|
5334
|
+
),
|
|
5335
|
+
/* @__PURE__ */ jsx75("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
5336
|
+
/* @__PURE__ */ jsx75(
|
|
5337
|
+
SiconDelete2,
|
|
5338
|
+
{
|
|
5339
|
+
className: ScImageField_default.removeIcon,
|
|
5340
|
+
color: "var(--alias-text-and-icons-error, #d11a1a)",
|
|
5341
|
+
onClick: (e) => {
|
|
5342
|
+
e.stopPropagation();
|
|
5343
|
+
onRemove?.();
|
|
5344
|
+
}
|
|
5345
|
+
}
|
|
5346
|
+
)
|
|
5347
|
+
] }) : /* @__PURE__ */ jsxs65("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
5348
|
+
/* @__PURE__ */ jsx75(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
5349
|
+
/* @__PURE__ */ jsx75("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
5350
|
+
] })
|
|
5351
|
+
] });
|
|
5352
|
+
};
|
|
5353
|
+
|
|
5354
|
+
// src/SC-settingsTabComp/ScSettingsTabComp.module.css
|
|
5355
|
+
var ScSettingsTabComp_default = {
|
|
5356
|
+
scSettingsTabComp: "ScSettingsTabComp_scSettingsTabComp",
|
|
5357
|
+
tabText: "ScSettingsTabComp_tabText",
|
|
5358
|
+
"active-true": "ScSettingsTabComp_active-true",
|
|
5359
|
+
"active-false": "ScSettingsTabComp_active-false"
|
|
5360
|
+
};
|
|
5361
|
+
|
|
5362
|
+
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5363
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
5364
|
+
var ScSettingsTabComp = ({
|
|
5365
|
+
tabName = "Tab",
|
|
5366
|
+
active = false,
|
|
5367
|
+
onClick,
|
|
5368
|
+
className
|
|
5369
|
+
}) => {
|
|
5370
|
+
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5371
|
+
return /* @__PURE__ */ jsx76(
|
|
5372
|
+
"div",
|
|
5373
|
+
{
|
|
5374
|
+
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5375
|
+
onClick,
|
|
5376
|
+
children: /* @__PURE__ */ jsx76("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5377
|
+
}
|
|
5378
|
+
);
|
|
5379
|
+
};
|
|
5380
|
+
|
|
5381
|
+
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.module.css
|
|
5382
|
+
var ScCreditsUsageCardMobile_default = {
|
|
5383
|
+
scCreditsUsageCardMobile: "ScCreditsUsageCardMobile_scCreditsUsageCardMobile",
|
|
5384
|
+
header: "ScCreditsUsageCardMobile_header",
|
|
5385
|
+
headerIcon: "ScCreditsUsageCardMobile_headerIcon",
|
|
5386
|
+
headerLabel: "ScCreditsUsageCardMobile_headerLabel",
|
|
5387
|
+
divider: "ScCreditsUsageCardMobile_divider",
|
|
5388
|
+
usageInfo: "ScCreditsUsageCardMobile_usageInfo",
|
|
5389
|
+
usageText: "ScCreditsUsageCardMobile_usageText",
|
|
5390
|
+
remainingText: "ScCreditsUsageCardMobile_remainingText",
|
|
5391
|
+
scButtonInstance: "ScCreditsUsageCardMobile_scButtonInstance"
|
|
5392
|
+
};
|
|
5393
|
+
|
|
5394
|
+
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5395
|
+
import { SiconCredits as SiconCredits3 } from "@streamoid/icons";
|
|
5396
|
+
import { jsx as jsx77, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5397
|
+
var ScCreditsUsageCardMobile = ({
|
|
5398
|
+
usageLabel = "Credits usage",
|
|
5399
|
+
usageText = "8,450 / 30,000",
|
|
5400
|
+
remainingText = "21,550 (60%) Remaining",
|
|
5401
|
+
buyButtonText = "Buy credits",
|
|
5402
|
+
onBuyClick,
|
|
5403
|
+
className,
|
|
5404
|
+
...props
|
|
5405
|
+
}) => {
|
|
5406
|
+
return /* @__PURE__ */ jsxs66("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5407
|
+
/* @__PURE__ */ jsxs66("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
5408
|
+
/* @__PURE__ */ jsx77(
|
|
5409
|
+
SiconCredits3,
|
|
5410
|
+
{
|
|
5411
|
+
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5412
|
+
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5413
|
+
}
|
|
5414
|
+
),
|
|
5415
|
+
/* @__PURE__ */ jsx77("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5416
|
+
] }),
|
|
5417
|
+
/* @__PURE__ */ jsx77("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
5418
|
+
/* @__PURE__ */ jsxs66("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
5419
|
+
/* @__PURE__ */ jsx77("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
5420
|
+
/* @__PURE__ */ jsx77("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
5421
|
+
] }),
|
|
5422
|
+
/* @__PURE__ */ jsx77(
|
|
5423
|
+
ScButton,
|
|
5424
|
+
{
|
|
5425
|
+
text: buyButtonText,
|
|
5426
|
+
variant: "secondary",
|
|
5427
|
+
size: "md",
|
|
5428
|
+
className: ScCreditsUsageCardMobile_default.scButtonInstance,
|
|
5429
|
+
onClick: onBuyClick
|
|
5430
|
+
}
|
|
5431
|
+
)
|
|
5432
|
+
] });
|
|
5433
|
+
};
|
|
5434
|
+
|
|
5435
|
+
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.module.css
|
|
5436
|
+
var ScPlanDetailsCardMobile_default = {
|
|
5437
|
+
scPlanDetailsCardMobile: "ScPlanDetailsCardMobile_scPlanDetailsCardMobile",
|
|
5438
|
+
planHeader: "ScPlanDetailsCardMobile_planHeader",
|
|
5439
|
+
headerLeft: "ScPlanDetailsCardMobile_headerLeft",
|
|
5440
|
+
headerIcon: "ScPlanDetailsCardMobile_headerIcon",
|
|
5441
|
+
headerLabel: "ScPlanDetailsCardMobile_headerLabel",
|
|
5442
|
+
divider: "ScPlanDetailsCardMobile_divider",
|
|
5443
|
+
planInfo: "ScPlanDetailsCardMobile_planInfo",
|
|
5444
|
+
planNameRow: "ScPlanDetailsCardMobile_planNameRow",
|
|
5445
|
+
planName: "ScPlanDetailsCardMobile_planName",
|
|
5446
|
+
dot: "ScPlanDetailsCardMobile_dot",
|
|
5447
|
+
planPrice: "ScPlanDetailsCardMobile_planPrice",
|
|
5448
|
+
scBadgesInstance: "ScPlanDetailsCardMobile_scBadgesInstance",
|
|
5449
|
+
scButtonInstance: "ScPlanDetailsCardMobile_scButtonInstance"
|
|
5450
|
+
};
|
|
5451
|
+
|
|
5452
|
+
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5453
|
+
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
5454
|
+
import { jsx as jsx78, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5455
|
+
var ScPlanDetailsCardMobile = ({
|
|
5456
|
+
planName = "Pro",
|
|
5457
|
+
planCredits = "30,000 credits",
|
|
5458
|
+
planPrice = "$0.00 / month",
|
|
5459
|
+
badgeText = "Active",
|
|
5460
|
+
currentPlanLabel = "Current plan",
|
|
5461
|
+
upgradeButtonText = "Upgrade",
|
|
5462
|
+
onUpgrade,
|
|
5463
|
+
className,
|
|
5464
|
+
...props
|
|
5465
|
+
}) => {
|
|
5466
|
+
return /* @__PURE__ */ jsxs67("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5467
|
+
/* @__PURE__ */ jsxs67("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
5468
|
+
/* @__PURE__ */ jsxs67("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
5469
|
+
/* @__PURE__ */ jsx78(
|
|
5470
|
+
SiconBilling4,
|
|
5471
|
+
{
|
|
5472
|
+
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5473
|
+
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5474
|
+
}
|
|
5475
|
+
),
|
|
5476
|
+
/* @__PURE__ */ jsx78("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5477
|
+
] }),
|
|
5478
|
+
/* @__PURE__ */ jsx78(
|
|
5479
|
+
ScBadges,
|
|
5480
|
+
{
|
|
5481
|
+
text: badgeText,
|
|
5482
|
+
variant: "success",
|
|
5483
|
+
styleVariant: "opaque",
|
|
5484
|
+
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
5485
|
+
}
|
|
5486
|
+
)
|
|
5487
|
+
] }),
|
|
5488
|
+
/* @__PURE__ */ jsx78("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
5489
|
+
/* @__PURE__ */ jsxs67("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
|
|
5490
|
+
/* @__PURE__ */ jsxs67("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
5491
|
+
/* @__PURE__ */ jsx78("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
5492
|
+
/* @__PURE__ */ jsx78("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
5493
|
+
/* @__PURE__ */ jsx78("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
5494
|
+
] }),
|
|
5495
|
+
/* @__PURE__ */ jsx78("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5496
|
+
] }),
|
|
5497
|
+
/* @__PURE__ */ jsx78(
|
|
5498
|
+
ScButton,
|
|
5499
|
+
{
|
|
5500
|
+
text: upgradeButtonText,
|
|
5501
|
+
variant: "primary",
|
|
5502
|
+
size: "md",
|
|
5503
|
+
className: ScPlanDetailsCardMobile_default.scButtonInstance,
|
|
5504
|
+
style: { backgroundImage: "linear-gradient(154deg, rgb(18, 57, 255) 0%, rgb(73, 206, 255) 100%)" },
|
|
5505
|
+
onClick: onUpgrade
|
|
5506
|
+
}
|
|
5507
|
+
)
|
|
5508
|
+
] });
|
|
5509
|
+
};
|
|
4505
5510
|
export {
|
|
5511
|
+
InvoiceHistoryMobile,
|
|
4506
5512
|
NscWorkspaceSwitch,
|
|
4507
5513
|
ScAccess,
|
|
4508
5514
|
ScAppCard,
|
|
@@ -4521,14 +5527,18 @@ export {
|
|
|
4521
5527
|
ScCheckField,
|
|
4522
5528
|
ScCheckbox,
|
|
4523
5529
|
ScCreditsUsageCard,
|
|
5530
|
+
ScCreditsUsageCardMobile,
|
|
4524
5531
|
ScDp,
|
|
4525
5532
|
ScFieldButton,
|
|
4526
5533
|
ScGoogleSignIn,
|
|
4527
5534
|
ScHDivider,
|
|
4528
5535
|
ScHeader,
|
|
5536
|
+
ScImageField,
|
|
4529
5537
|
ScIntialProfileCover,
|
|
4530
5538
|
ScLogoUnit,
|
|
4531
5539
|
ScMenuOptions,
|
|
5540
|
+
ScMobileBottomAction,
|
|
5541
|
+
ScMobileTopNav,
|
|
4532
5542
|
ScOnlyField,
|
|
4533
5543
|
ScOnlyIcon,
|
|
4534
5544
|
ScPairtext,
|
|
@@ -4536,17 +5546,23 @@ export {
|
|
|
4536
5546
|
ScPhtogenixInvite,
|
|
4537
5547
|
ScPlanCard,
|
|
4538
5548
|
ScPlanDetailsCard,
|
|
5549
|
+
ScPlanDetailsCardMobile,
|
|
5550
|
+
ScPopUpMenu,
|
|
4539
5551
|
ScProfile,
|
|
4540
5552
|
ScProfileImageUpdate,
|
|
4541
5553
|
ScProfileOptions,
|
|
4542
5554
|
ScProfileSettingsComp,
|
|
5555
|
+
ScProfileV2Mobile,
|
|
4543
5556
|
ScProgressBar,
|
|
4544
5557
|
ScQuickPrompt,
|
|
4545
5558
|
ScRadio,
|
|
5559
|
+
ScReferralCardMobile,
|
|
4546
5560
|
ScReferralTableHeader,
|
|
4547
5561
|
ScReferralTableList,
|
|
4548
5562
|
ScRole,
|
|
5563
|
+
ScRoleMobile,
|
|
4549
5564
|
ScSettingsNav,
|
|
5565
|
+
ScSettingsTabComp,
|
|
4550
5566
|
ScSidebar,
|
|
4551
5567
|
ScSidebarIcons,
|
|
4552
5568
|
ScSidebarMenu,
|
|
@@ -4558,12 +5574,17 @@ export {
|
|
|
4558
5574
|
ScTabSwitcher,
|
|
4559
5575
|
ScTableHeader,
|
|
4560
5576
|
ScTableList,
|
|
5577
|
+
ScTableListMobile,
|
|
4561
5578
|
ScTextField,
|
|
4562
5579
|
ScToggleSwitch,
|
|
4563
5580
|
ScVDivider,
|
|
4564
5581
|
ScVersion,
|
|
4565
5582
|
ScWorkspaceCard,
|
|
5583
|
+
ScWorkspaceSettingsMobile,
|
|
4566
5584
|
ScWorkspaceSwitchCard,
|
|
5585
|
+
ScWorkspaceSwitchMobile,
|
|
5586
|
+
ScWorkspaceSwitchMobileV2,
|
|
4567
5587
|
StreamoidSidebar,
|
|
4568
|
-
StreamoidWorkspaceSwitcher
|
|
5588
|
+
StreamoidWorkspaceSwitcher,
|
|
5589
|
+
UsageHistoryMobile
|
|
4569
5590
|
};
|