@streamoid/ui 0.3.1 → 0.3.3
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/dist/index.css +18 -1
- package/dist/index.d.mts +23 -4
- package/dist/index.d.ts +23 -4
- package/dist/index.js +1060 -820
- package/dist/index.mjs +1008 -768
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -900,8 +900,192 @@ var ScCreditsUsageCard = ({
|
|
|
900
900
|
] });
|
|
901
901
|
};
|
|
902
902
|
|
|
903
|
-
// src/SC-
|
|
903
|
+
// src/SC-CreditWarningBanner/CreditWarningBanner.tsx
|
|
904
904
|
import { useState as useState2 } from "react";
|
|
905
|
+
import { SiconClose } from "@streamoid/icons";
|
|
906
|
+
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
907
|
+
var STYLES = {
|
|
908
|
+
warning: {
|
|
909
|
+
bg: "rgba(255, 165, 0, 0.08)",
|
|
910
|
+
border: "rgba(255, 165, 0, 0.32)",
|
|
911
|
+
color: "var(--primitives-warning-400)"
|
|
912
|
+
},
|
|
913
|
+
danger: {
|
|
914
|
+
bg: "rgba(255, 0, 0, 0.08)",
|
|
915
|
+
border: "rgba(255, 0, 0, 0.32)",
|
|
916
|
+
color: "var(--primitives-error-400)"
|
|
917
|
+
}
|
|
918
|
+
};
|
|
919
|
+
function WarningIcon({ color }) {
|
|
920
|
+
return /* @__PURE__ */ jsxs13(
|
|
921
|
+
"svg",
|
|
922
|
+
{
|
|
923
|
+
"aria-hidden": "true",
|
|
924
|
+
width: "16",
|
|
925
|
+
height: "16",
|
|
926
|
+
viewBox: "0 0 16 16",
|
|
927
|
+
fill: "none",
|
|
928
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
929
|
+
className: "shrink-0",
|
|
930
|
+
children: [
|
|
931
|
+
/* @__PURE__ */ jsx15(
|
|
932
|
+
"path",
|
|
933
|
+
{
|
|
934
|
+
d: "M8 3.16667L12.5171 11.1667C12.6588 11.4177 12.4775 11.7292 12.1895 11.7292H3.81054C3.52252 11.7292 3.34119 11.4177 3.48294 11.1667L8 3.16667Z",
|
|
935
|
+
stroke: color,
|
|
936
|
+
strokeWidth: "1.25",
|
|
937
|
+
strokeLinejoin: "round"
|
|
938
|
+
}
|
|
939
|
+
),
|
|
940
|
+
/* @__PURE__ */ jsx15(
|
|
941
|
+
"path",
|
|
942
|
+
{
|
|
943
|
+
d: "M8 6.25V8.625",
|
|
944
|
+
stroke: color,
|
|
945
|
+
strokeWidth: "1.25",
|
|
946
|
+
strokeLinecap: "round"
|
|
947
|
+
}
|
|
948
|
+
),
|
|
949
|
+
/* @__PURE__ */ jsx15(
|
|
950
|
+
"path",
|
|
951
|
+
{
|
|
952
|
+
d: "M8 10.25H8.00667",
|
|
953
|
+
stroke: color,
|
|
954
|
+
strokeWidth: "1.25",
|
|
955
|
+
strokeLinecap: "round"
|
|
956
|
+
}
|
|
957
|
+
)
|
|
958
|
+
]
|
|
959
|
+
}
|
|
960
|
+
);
|
|
961
|
+
}
|
|
962
|
+
function CreditWarningBanner({
|
|
963
|
+
availableCredits,
|
|
964
|
+
remainingPct,
|
|
965
|
+
level,
|
|
966
|
+
onBuyCredits,
|
|
967
|
+
expanded = true,
|
|
968
|
+
onCollapsedClick
|
|
969
|
+
}) {
|
|
970
|
+
const [dismissed, setDismissed] = useState2(false);
|
|
971
|
+
if (dismissed) return null;
|
|
972
|
+
const { bg, border, color } = STYLES[level];
|
|
973
|
+
if (!expanded) {
|
|
974
|
+
return /* @__PURE__ */ jsx15(
|
|
975
|
+
"button",
|
|
976
|
+
{
|
|
977
|
+
type: "button",
|
|
978
|
+
"aria-label": "Show low credits warning",
|
|
979
|
+
className: "flex shrink-0 items-center justify-center cursor-pointer transition-opacity hover:opacity-90",
|
|
980
|
+
style: {
|
|
981
|
+
width: 40,
|
|
982
|
+
height: 40,
|
|
983
|
+
backgroundColor: bg,
|
|
984
|
+
border: `0.5px solid ${border}`,
|
|
985
|
+
borderRadius: "var(--radius-xl)"
|
|
986
|
+
},
|
|
987
|
+
onClick: onCollapsedClick ?? onBuyCredits,
|
|
988
|
+
children: /* @__PURE__ */ jsx15(WarningIcon, { color })
|
|
989
|
+
}
|
|
990
|
+
);
|
|
991
|
+
}
|
|
992
|
+
return /* @__PURE__ */ jsx15(
|
|
993
|
+
"div",
|
|
994
|
+
{
|
|
995
|
+
className: "flex shrink-0 w-full",
|
|
996
|
+
style: { padding: "var(--spacing-3xl) var(--spacing-md)" },
|
|
997
|
+
children: /* @__PURE__ */ jsxs13(
|
|
998
|
+
"div",
|
|
999
|
+
{
|
|
1000
|
+
className: "flex w-full flex-col",
|
|
1001
|
+
style: {
|
|
1002
|
+
backgroundColor: bg,
|
|
1003
|
+
border: `0.5px solid ${border}`,
|
|
1004
|
+
borderRadius: "var(--radius-xl)",
|
|
1005
|
+
padding: "var(--spacing-xl)",
|
|
1006
|
+
gap: "var(--spacing-sm, 8px)"
|
|
1007
|
+
},
|
|
1008
|
+
children: [
|
|
1009
|
+
/* @__PURE__ */ jsxs13("div", { className: "flex w-full items-center", style: { gap: 8 }, children: [
|
|
1010
|
+
/* @__PURE__ */ jsx15(WarningIcon, { color }),
|
|
1011
|
+
/* @__PURE__ */ jsx15(
|
|
1012
|
+
"p",
|
|
1013
|
+
{
|
|
1014
|
+
className: "min-w-0 flex-1",
|
|
1015
|
+
style: {
|
|
1016
|
+
color,
|
|
1017
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
1018
|
+
fontSize: 12,
|
|
1019
|
+
lineHeight: "var(--line-height-line-height-xs)",
|
|
1020
|
+
fontWeight: 600,
|
|
1021
|
+
letterSpacing: "var(--letter-spacing-letter-spacing-normal, 0px)"
|
|
1022
|
+
},
|
|
1023
|
+
children: "Low Credits"
|
|
1024
|
+
}
|
|
1025
|
+
),
|
|
1026
|
+
/* @__PURE__ */ jsx15(
|
|
1027
|
+
"button",
|
|
1028
|
+
{
|
|
1029
|
+
type: "button",
|
|
1030
|
+
"aria-label": "Dismiss low credits warning",
|
|
1031
|
+
className: "flex shrink-0 cursor-pointer items-center justify-center",
|
|
1032
|
+
style: { width: 16, height: 16 },
|
|
1033
|
+
onClick: () => setDismissed(true),
|
|
1034
|
+
children: /* @__PURE__ */ jsx15(SiconClose, { color, size: 16, strokeWidth: 1.25 })
|
|
1035
|
+
}
|
|
1036
|
+
)
|
|
1037
|
+
] }),
|
|
1038
|
+
/* @__PURE__ */ jsxs13(
|
|
1039
|
+
"p",
|
|
1040
|
+
{
|
|
1041
|
+
className: "w-full",
|
|
1042
|
+
style: {
|
|
1043
|
+
color,
|
|
1044
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
1045
|
+
fontSize: 12,
|
|
1046
|
+
lineHeight: "var(--line-height-line-height-xs)",
|
|
1047
|
+
fontWeight: 400,
|
|
1048
|
+
letterSpacing: "var(--letter-spacing-letter-spacing-normal, 0px)"
|
|
1049
|
+
},
|
|
1050
|
+
children: [
|
|
1051
|
+
"Only ",
|
|
1052
|
+
availableCredits.toLocaleString(),
|
|
1053
|
+
" credits (",
|
|
1054
|
+
remainingPct,
|
|
1055
|
+
"%)",
|
|
1056
|
+
" ",
|
|
1057
|
+
"remaining.",
|
|
1058
|
+
" ",
|
|
1059
|
+
/* @__PURE__ */ jsx15(
|
|
1060
|
+
"button",
|
|
1061
|
+
{
|
|
1062
|
+
type: "button",
|
|
1063
|
+
className: "cursor-pointer underline",
|
|
1064
|
+
onClick: onBuyCredits,
|
|
1065
|
+
style: {
|
|
1066
|
+
color,
|
|
1067
|
+
fontFamily: "inherit",
|
|
1068
|
+
fontSize: "inherit",
|
|
1069
|
+
fontWeight: "inherit",
|
|
1070
|
+
lineHeight: "inherit"
|
|
1071
|
+
},
|
|
1072
|
+
children: "Buy credits"
|
|
1073
|
+
}
|
|
1074
|
+
),
|
|
1075
|
+
" ",
|
|
1076
|
+
"to avoid interruptions."
|
|
1077
|
+
]
|
|
1078
|
+
}
|
|
1079
|
+
)
|
|
1080
|
+
]
|
|
1081
|
+
}
|
|
1082
|
+
)
|
|
1083
|
+
}
|
|
1084
|
+
);
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
// src/SC-Dp/ScDp.tsx
|
|
1088
|
+
import { useState as useState3 } from "react";
|
|
905
1089
|
|
|
906
1090
|
// src/SC-Dp/ScDp.module.css
|
|
907
1091
|
var ScDp_default = {
|
|
@@ -916,7 +1100,7 @@ var ScDp_default = {
|
|
|
916
1100
|
};
|
|
917
1101
|
|
|
918
1102
|
// src/SC-Dp/ScDp.tsx
|
|
919
|
-
import { jsx as
|
|
1103
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
920
1104
|
function ScDp({
|
|
921
1105
|
type = "initial",
|
|
922
1106
|
variant = "workspace",
|
|
@@ -926,7 +1110,7 @@ function ScDp({
|
|
|
926
1110
|
className,
|
|
927
1111
|
style
|
|
928
1112
|
}) {
|
|
929
|
-
const [imageFailed, setImageFailed] =
|
|
1113
|
+
const [imageFailed, setImageFailed] = useState3(false);
|
|
930
1114
|
const isProfile = variant === "profile";
|
|
931
1115
|
const showImage = type === "image" && imageUrl && !imageFailed;
|
|
932
1116
|
const containerClass = [
|
|
@@ -940,7 +1124,7 @@ function ScDp({
|
|
|
940
1124
|
height: size,
|
|
941
1125
|
...style
|
|
942
1126
|
};
|
|
943
|
-
return /* @__PURE__ */
|
|
1127
|
+
return /* @__PURE__ */ jsx16("div", { className: containerClass, style: sizeStyle, children: showImage ? /* @__PURE__ */ jsx16(
|
|
944
1128
|
"img",
|
|
945
1129
|
{
|
|
946
1130
|
src: imageUrl,
|
|
@@ -948,7 +1132,7 @@ function ScDp({
|
|
|
948
1132
|
className: ScDp_default.image + " " + (isProfile ? ScDp_default.imageProfile : ScDp_default.imageWorkspace),
|
|
949
1133
|
onError: () => setImageFailed(true)
|
|
950
1134
|
}
|
|
951
|
-
) : /* @__PURE__ */
|
|
1135
|
+
) : /* @__PURE__ */ jsx16("div", { className: ScDp_default.initials, children: initial }) });
|
|
952
1136
|
}
|
|
953
1137
|
|
|
954
1138
|
// src/SC-Google sign in/ScGoogleSignIn.module.css
|
|
@@ -960,7 +1144,7 @@ var ScGoogleSignIn_default = {
|
|
|
960
1144
|
};
|
|
961
1145
|
|
|
962
1146
|
// src/SC-Google sign in/ScGoogleSignIn.tsx
|
|
963
|
-
import { jsx as
|
|
1147
|
+
import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
964
1148
|
var ScGoogleSignIn = ({
|
|
965
1149
|
hover = "false",
|
|
966
1150
|
googleLogoSrc = "google-logo0.png",
|
|
@@ -969,14 +1153,14 @@ var ScGoogleSignIn = ({
|
|
|
969
1153
|
...props
|
|
970
1154
|
}) => {
|
|
971
1155
|
const variantsClassName = ScGoogleSignIn_default["hover-" + hover];
|
|
972
|
-
return /* @__PURE__ */
|
|
1156
|
+
return /* @__PURE__ */ jsxs14(
|
|
973
1157
|
"div",
|
|
974
1158
|
{
|
|
975
1159
|
className: ScGoogleSignIn_default.scGoogleSignIn + " " + className + " " + variantsClassName,
|
|
976
1160
|
...props,
|
|
977
1161
|
children: [
|
|
978
|
-
/* @__PURE__ */
|
|
979
|
-
/* @__PURE__ */
|
|
1162
|
+
/* @__PURE__ */ jsx17("img", { className: ScGoogleSignIn_default.googleLogo, src: googleLogoSrc }),
|
|
1163
|
+
/* @__PURE__ */ jsxs14("div", { className: ScGoogleSignIn_default.signInText, children: [
|
|
980
1164
|
signInText,
|
|
981
1165
|
" "
|
|
982
1166
|
] })
|
|
@@ -992,19 +1176,19 @@ var ScIntialProfileCover_default = {
|
|
|
992
1176
|
};
|
|
993
1177
|
|
|
994
1178
|
// src/SC-Intial Profile Cover/ScIntialProfileCover.tsx
|
|
995
|
-
import { jsx as
|
|
1179
|
+
import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
996
1180
|
var ScIntialProfileCover = ({
|
|
997
1181
|
intial = "WS",
|
|
998
1182
|
size,
|
|
999
1183
|
className
|
|
1000
1184
|
}) => {
|
|
1001
1185
|
const sizeStyle = size ? { width: size, height: size, padding: 0 } : void 0;
|
|
1002
|
-
return /* @__PURE__ */
|
|
1186
|
+
return /* @__PURE__ */ jsx18(
|
|
1003
1187
|
"div",
|
|
1004
1188
|
{
|
|
1005
1189
|
className: ScIntialProfileCover_default.scIntialProfileCover + " " + className,
|
|
1006
1190
|
style: sizeStyle,
|
|
1007
|
-
children: /* @__PURE__ */
|
|
1191
|
+
children: /* @__PURE__ */ jsxs15("div", { className: ScIntialProfileCover_default.initials, children: [
|
|
1008
1192
|
intial,
|
|
1009
1193
|
" "
|
|
1010
1194
|
] })
|
|
@@ -1028,14 +1212,14 @@ var ScStrLogo_default = {
|
|
|
1028
1212
|
};
|
|
1029
1213
|
|
|
1030
1214
|
// src/SC-strLogo/ScStrLogo.tsx
|
|
1031
|
-
import { jsx as
|
|
1215
|
+
import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1032
1216
|
var ScStrLogo = ({
|
|
1033
1217
|
type = "default",
|
|
1034
1218
|
className,
|
|
1035
1219
|
...props
|
|
1036
1220
|
}) => {
|
|
1037
1221
|
const variantsClassName = ScStrLogo_default["type-" + type];
|
|
1038
|
-
return /* @__PURE__ */
|
|
1222
|
+
return /* @__PURE__ */ jsxs16(
|
|
1039
1223
|
"svg",
|
|
1040
1224
|
{
|
|
1041
1225
|
className: ScStrLogo_default.scStrLogo + " " + className + " " + variantsClassName,
|
|
@@ -1045,28 +1229,28 @@ var ScStrLogo = ({
|
|
|
1045
1229
|
fill: "none",
|
|
1046
1230
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1047
1231
|
children: [
|
|
1048
|
-
/* @__PURE__ */
|
|
1232
|
+
/* @__PURE__ */ jsx19(
|
|
1049
1233
|
"path",
|
|
1050
1234
|
{
|
|
1051
1235
|
d: "M25.4245 0C31.151 0 35.8474 0.870386 39.5123 2.60951C43.2344 4.29067 45.9838 6.66671 47.759 9.73912C49.5912 12.7533 50.5077 16.2314 50.5078 20.173V20.6961H39.7698V19.4782C39.7698 17.3333 39.2841 15.5647 38.3106 14.1734C37.3944 12.7242 35.8187 11.6527 33.5854 10.957C31.3521 10.2614 28.2885 9.91281 24.3945 9.91281C21.0732 9.91281 18.4096 10.1737 16.4054 10.6955C14.4019 11.2171 12.9417 11.9704 12.0256 12.9555C11.1668 13.9408 10.7382 15.2459 10.738 16.8687C10.738 18.26 11.0237 19.4212 11.5964 20.3488C12.2263 21.2759 13.1717 21.9993 14.4311 22.5209C15.6907 23.0426 17.3221 23.5068 19.3259 23.9125L34.1004 26.4342C38.1662 27.1298 41.4604 28.2312 43.98 29.7384C46.5564 31.1875 48.4449 33.0145 49.6474 35.2169C50.8498 37.3617 51.452 39.8257 51.452 42.6081C51.452 45.6226 50.5928 48.4648 48.8748 51.1314C47.2143 53.7394 44.5517 55.8833 40.8878 57.5642C37.2802 59.1873 32.555 60 26.7142 60C20.9878 60 16.1485 59.2173 12.1973 57.6521C8.30332 56.0289 5.32541 53.7384 3.26391 50.782C1.26003 47.7678 0.257656 44.1162 0.257511 39.827V39.3039H10.9955V40.7833C10.9956 42.87 11.4528 44.6091 12.3689 46.0003C13.2852 47.3336 14.8895 48.3473 17.18 49.043C19.4705 49.7385 22.6487 50.0872 26.7142 50.0872C30.3217 50.0872 33.1283 49.8541 35.1325 49.3904C37.1935 48.8686 38.6249 48.1157 39.4265 47.1303C40.2853 46.087 40.7139 44.7541 40.714 43.1313C40.714 40.9288 39.9992 39.3052 38.5681 38.2617C37.1938 37.2182 34.8159 36.3778 31.4373 35.7401L16.4912 33.3922C13.2278 32.8125 10.3367 31.884 7.81746 30.609C5.35509 29.3336 3.43653 27.6227 2.06219 25.4778C0.68793 23.2751 8.30917e-05 20.58 0 17.3919C0 15.2472 0.457344 13.1595 1.37339 11.1307C2.28962 9.04377 3.75103 7.15968 5.75528 5.47852C7.75939 3.79748 10.3642 2.46289 13.5706 1.4774C16.8345 0.491954 20.7865 5.93522e-05 25.4245 0Z",
|
|
1052
1236
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1053
1237
|
}
|
|
1054
1238
|
),
|
|
1055
|
-
/* @__PURE__ */
|
|
1239
|
+
/* @__PURE__ */ jsx19(
|
|
1056
1240
|
"path",
|
|
1057
1241
|
{
|
|
1058
1242
|
d: "M75.3629 16.9273H90.0411V25.3753H75.3629V44.3157C75.3629 46.7155 75.9003 48.345 76.975 49.202C78.1064 50.0016 79.9174 50.4011 82.4058 50.4011H90.0411V60H80.0295C75.335 60 71.6298 58.8573 68.9147 56.5723C66.1997 54.2298 64.8407 50.4299 64.8406 45.1737V25.3753H57.8836V16.9273H64.8406V4.28571H75.3629V16.9273Z",
|
|
1059
1243
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1060
1244
|
}
|
|
1061
1245
|
),
|
|
1062
|
-
/* @__PURE__ */
|
|
1246
|
+
/* @__PURE__ */ jsx19(
|
|
1063
1247
|
"path",
|
|
1064
1248
|
{
|
|
1065
1249
|
d: "M106.269 29.2069H106.951C107.349 26.901 108.143 24.848 109.336 23.0483C110.528 21.1923 112.119 19.7582 114.107 18.7458C116.094 17.6774 118.536 17.1429 121.432 17.1429C124.669 17.1429 127.281 17.8188 129.269 19.1685C131.256 20.4619 132.704 22.2325 133.613 24.4817C134.578 26.6752 135.062 29.123 135.062 31.8227V38.5714H124.499V33.9321C124.499 31.1762 123.873 29.1782 122.624 27.9408C121.374 26.6478 119.272 26.001 116.32 26.001C113.027 26.0012 110.669 26.8734 109.25 28.6168C107.919 30.1985 107.212 32.4971 107.129 35.512L107.121 36.1251V60H96.4726V17.1429H106.269V29.2069Z",
|
|
1066
1250
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1067
1251
|
}
|
|
1068
1252
|
),
|
|
1069
|
-
/* @__PURE__ */
|
|
1253
|
+
/* @__PURE__ */ jsx19(
|
|
1070
1254
|
"path",
|
|
1071
1255
|
{
|
|
1072
1256
|
fillRule: "evenodd",
|
|
@@ -1075,7 +1259,7 @@ var ScStrLogo = ({
|
|
|
1075
1259
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1076
1260
|
}
|
|
1077
1261
|
),
|
|
1078
|
-
/* @__PURE__ */
|
|
1262
|
+
/* @__PURE__ */ jsx19(
|
|
1079
1263
|
"path",
|
|
1080
1264
|
{
|
|
1081
1265
|
fillRule: "evenodd",
|
|
@@ -1084,14 +1268,14 @@ var ScStrLogo = ({
|
|
|
1084
1268
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1085
1269
|
}
|
|
1086
1270
|
),
|
|
1087
|
-
/* @__PURE__ */
|
|
1271
|
+
/* @__PURE__ */ jsx19(
|
|
1088
1272
|
"path",
|
|
1089
1273
|
{
|
|
1090
1274
|
d: "M247.628 30.6403H248.216C248.608 28.2785 249.365 26.0856 250.485 24.0611C251.662 21.9802 253.37 20.3201 255.611 19.0827C257.851 17.7891 260.681 17.1429 264.098 17.1429C267.795 17.1429 270.819 17.9032 273.172 19.4217C275.524 20.9403 277.262 23.0207 278.382 25.6641C279.12 27.2856 279.625 29.029 279.9 30.8936H280.482C280.874 28.5316 281.659 26.3093 282.836 24.2285C284.012 22.1481 285.748 20.4619 288.044 19.1685C290.341 17.8187 293.254 17.1429 296.783 17.1429C300.424 17.1429 303.42 17.9033 305.773 19.4217C308.181 20.884 309.975 22.9076 311.151 25.4946C312.384 28.0816 313 31.0346 313 34.3527V60H302.58V37.4749C302.58 33.5941 301.768 30.8105 300.143 29.1232C298.519 27.3798 295.774 26.5074 291.909 26.5074C287.708 26.5075 284.795 27.5192 283.171 29.5438C281.546 31.5686 280.734 34.7197 280.734 38.9941V60H270.232V37.4749C270.232 33.5946 269.419 30.8105 267.795 29.1232C266.227 27.3798 263.51 26.5075 259.645 26.5074C255.388 26.5074 252.447 27.5196 250.822 29.5438C249.254 31.5686 248.469 34.7197 248.469 38.9941V60H237.966V17.1429H247.628V30.6403Z",
|
|
1091
1275
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1092
1276
|
}
|
|
1093
1277
|
),
|
|
1094
|
-
/* @__PURE__ */
|
|
1278
|
+
/* @__PURE__ */ jsx19(
|
|
1095
1279
|
"path",
|
|
1096
1280
|
{
|
|
1097
1281
|
fillRule: "evenodd",
|
|
@@ -1100,14 +1284,14 @@ var ScStrLogo = ({
|
|
|
1100
1284
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1101
1285
|
}
|
|
1102
1286
|
),
|
|
1103
|
-
/* @__PURE__ */
|
|
1287
|
+
/* @__PURE__ */ jsx19(
|
|
1104
1288
|
"path",
|
|
1105
1289
|
{
|
|
1106
1290
|
d: "M381.603 60H370.884V19.2857H381.603V60Z",
|
|
1107
1291
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1108
1292
|
}
|
|
1109
1293
|
),
|
|
1110
|
-
/* @__PURE__ */
|
|
1294
|
+
/* @__PURE__ */ jsx19(
|
|
1111
1295
|
"path",
|
|
1112
1296
|
{
|
|
1113
1297
|
fillRule: "evenodd",
|
|
@@ -1116,28 +1300,28 @@ var ScStrLogo = ({
|
|
|
1116
1300
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1117
1301
|
}
|
|
1118
1302
|
),
|
|
1119
|
-
/* @__PURE__ */
|
|
1303
|
+
/* @__PURE__ */ jsx19(
|
|
1120
1304
|
"path",
|
|
1121
1305
|
{
|
|
1122
1306
|
d: "M381.603 15H370.884V4.28571H381.603V15Z",
|
|
1123
1307
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1124
1308
|
}
|
|
1125
1309
|
),
|
|
1126
|
-
/* @__PURE__ */
|
|
1310
|
+
/* @__PURE__ */ jsx19(
|
|
1127
1311
|
"path",
|
|
1128
1312
|
{
|
|
1129
1313
|
d: "M508.97 60H567.484V0C535.229 0 508.97 26.9258 508.97 60ZM463.069 18.4452V60H503.594C503.594 37.1025 485.606 18.4452 463.069 18.4452Z",
|
|
1130
1314
|
fill: "url(#paint0_linear_19_1153)"
|
|
1131
1315
|
}
|
|
1132
1316
|
),
|
|
1133
|
-
/* @__PURE__ */
|
|
1317
|
+
/* @__PURE__ */ jsx19(
|
|
1134
1318
|
"path",
|
|
1135
1319
|
{
|
|
1136
1320
|
d: "M567.484 0V60H625.999C626.206 26.9258 599.946 0 567.484 0ZM593.537 40.4947C590.642 40.4947 588.161 37.9505 588.161 34.9823C588.161 32.0141 590.642 29.47 593.537 29.47C596.431 29.47 598.913 32.0141 598.913 34.9823C599.119 37.9505 596.638 40.4947 593.537 40.4947Z",
|
|
1137
1321
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1138
1322
|
}
|
|
1139
1323
|
),
|
|
1140
|
-
/* @__PURE__ */
|
|
1324
|
+
/* @__PURE__ */ jsx19("defs", { children: /* @__PURE__ */ jsxs16(
|
|
1141
1325
|
"linearGradient",
|
|
1142
1326
|
{
|
|
1143
1327
|
id: "paint0_linear_19_1153",
|
|
@@ -1147,8 +1331,8 @@ var ScStrLogo = ({
|
|
|
1147
1331
|
y2: "30.0494",
|
|
1148
1332
|
gradientUnits: "userSpaceOnUse",
|
|
1149
1333
|
children: [
|
|
1150
|
-
/* @__PURE__ */
|
|
1151
|
-
/* @__PURE__ */
|
|
1334
|
+
/* @__PURE__ */ jsx19("stop", { offset: "0.673116", stopColor: "#50DCDE" }),
|
|
1335
|
+
/* @__PURE__ */ jsx19("stop", { offset: "0.85581", stopColor: "#7850DE" })
|
|
1152
1336
|
]
|
|
1153
1337
|
}
|
|
1154
1338
|
) })
|
|
@@ -1158,18 +1342,18 @@ var ScStrLogo = ({
|
|
|
1158
1342
|
};
|
|
1159
1343
|
|
|
1160
1344
|
// src/SC-Logo unit/ScLogoUnit.tsx
|
|
1161
|
-
import { jsx as
|
|
1345
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1162
1346
|
var ScLogoUnit = ({
|
|
1163
1347
|
state = "expanded",
|
|
1164
1348
|
className,
|
|
1165
1349
|
...props
|
|
1166
1350
|
}) => {
|
|
1167
1351
|
const variantsClassName = ScLogoUnit_default["state-" + state];
|
|
1168
|
-
return /* @__PURE__ */
|
|
1352
|
+
return /* @__PURE__ */ jsx20(
|
|
1169
1353
|
"div",
|
|
1170
1354
|
{
|
|
1171
1355
|
className: ScLogoUnit_default.scLogoUnit + " " + className + " " + variantsClassName,
|
|
1172
|
-
children: /* @__PURE__ */
|
|
1356
|
+
children: /* @__PURE__ */ jsx20(
|
|
1173
1357
|
ScStrLogo,
|
|
1174
1358
|
{
|
|
1175
1359
|
type: "default",
|
|
@@ -1194,9 +1378,9 @@ var ScMenuOptions_default = {
|
|
|
1194
1378
|
|
|
1195
1379
|
// src/SC-Menu options/ScMenuOptions.tsx
|
|
1196
1380
|
import { SiconTeam } from "@streamoid/icons";
|
|
1197
|
-
import { Fragment as Fragment4, jsx as
|
|
1381
|
+
import { Fragment as Fragment4, jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1198
1382
|
var ScMenuOptions = ({
|
|
1199
|
-
icon = /* @__PURE__ */
|
|
1383
|
+
icon = /* @__PURE__ */ jsx21(SiconTeam, { className: ScMenuOptions_default.siconTeamInstance }),
|
|
1200
1384
|
version = "v2.0.21",
|
|
1201
1385
|
hover = "false",
|
|
1202
1386
|
variant = "default",
|
|
@@ -1205,18 +1389,18 @@ var ScMenuOptions = ({
|
|
|
1205
1389
|
...props
|
|
1206
1390
|
}) => {
|
|
1207
1391
|
const variantsClassName = ScMenuOptions_default["hover-" + hover] + " " + ScMenuOptions_default["variant-" + variant];
|
|
1208
|
-
return /* @__PURE__ */
|
|
1392
|
+
return /* @__PURE__ */ jsxs17(
|
|
1209
1393
|
"div",
|
|
1210
1394
|
{
|
|
1211
1395
|
className: ScMenuOptions_default.scMenuOptions + " " + className + " " + variantsClassName,
|
|
1212
1396
|
...props,
|
|
1213
1397
|
children: [
|
|
1214
1398
|
icon,
|
|
1215
|
-
/* @__PURE__ */
|
|
1399
|
+
/* @__PURE__ */ jsxs17("div", { className: ScMenuOptions_default.content, children: [
|
|
1216
1400
|
text,
|
|
1217
1401
|
" "
|
|
1218
1402
|
] }),
|
|
1219
|
-
variant === "with-v" && /* @__PURE__ */
|
|
1403
|
+
variant === "with-v" && /* @__PURE__ */ jsx21(Fragment4, { children: /* @__PURE__ */ jsxs17("div", { className: ScMenuOptions_default.content2, children: [
|
|
1220
1404
|
version,
|
|
1221
1405
|
" "
|
|
1222
1406
|
] }) })
|
|
@@ -1233,19 +1417,19 @@ var ScOnlyIcon_default = {
|
|
|
1233
1417
|
|
|
1234
1418
|
// src/SC-OnlyIcon/ScOnlyIcon.tsx
|
|
1235
1419
|
import { SiconSettings } from "@streamoid/icons";
|
|
1236
|
-
import { jsx as
|
|
1420
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
1237
1421
|
var ScOnlyIcon = ({
|
|
1238
1422
|
variant = "default",
|
|
1239
1423
|
className,
|
|
1240
1424
|
...props
|
|
1241
1425
|
}) => {
|
|
1242
1426
|
const variantsClassName = ScOnlyIcon_default["variant-" + variant];
|
|
1243
|
-
return /* @__PURE__ */
|
|
1427
|
+
return /* @__PURE__ */ jsx22(
|
|
1244
1428
|
"div",
|
|
1245
1429
|
{
|
|
1246
1430
|
className: ScOnlyIcon_default.scOnlyIcon + " " + className + " " + variantsClassName,
|
|
1247
1431
|
...props,
|
|
1248
|
-
children: /* @__PURE__ */
|
|
1432
|
+
children: /* @__PURE__ */ jsx22(SiconSettings, { className: ScOnlyIcon_default.siconSettingsInstance })
|
|
1249
1433
|
}
|
|
1250
1434
|
);
|
|
1251
1435
|
};
|
|
@@ -1282,7 +1466,7 @@ var ScPlanCard_default = {
|
|
|
1282
1466
|
|
|
1283
1467
|
// src/SC-Plan card/ScPlanCard.tsx
|
|
1284
1468
|
import { SiconCredits as SiconCredits2, SiconHome as SiconHome4 } from "@streamoid/icons";
|
|
1285
|
-
import { jsx as
|
|
1469
|
+
import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1286
1470
|
var ScPlanCard = ({
|
|
1287
1471
|
planName = "Pro",
|
|
1288
1472
|
price = "$49.99 / month",
|
|
@@ -1302,22 +1486,22 @@ var ScPlanCard = ({
|
|
|
1302
1486
|
const isCustom = type === "custom";
|
|
1303
1487
|
const isFreeOrPopular = type === "free" || type === "popular";
|
|
1304
1488
|
const variantsClassName = ScPlanCard_default["type-" + type];
|
|
1305
|
-
return /* @__PURE__ */
|
|
1489
|
+
return /* @__PURE__ */ jsxs18(
|
|
1306
1490
|
"div",
|
|
1307
1491
|
{
|
|
1308
1492
|
className: ScPlanCard_default.scPlanCard + " " + (className || "") + " " + variantsClassName,
|
|
1309
1493
|
children: [
|
|
1310
|
-
/* @__PURE__ */
|
|
1311
|
-
/* @__PURE__ */
|
|
1312
|
-
!isCustom && /* @__PURE__ */
|
|
1494
|
+
/* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.planHeader, children: /* @__PURE__ */ jsxs18("div", { className: ScPlanCard_default.planInfo, children: [
|
|
1495
|
+
/* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.planName, children: planName }),
|
|
1496
|
+
!isCustom && /* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.planPrice, children: price })
|
|
1313
1497
|
] }) }),
|
|
1314
|
-
isFreeOrPopular && /* @__PURE__ */
|
|
1315
|
-
/* @__PURE__ */
|
|
1498
|
+
isFreeOrPopular && /* @__PURE__ */ jsxs18("div", { className: ScPlanCard_default.creditsWrapper, children: [
|
|
1499
|
+
/* @__PURE__ */ jsxs18(
|
|
1316
1500
|
"div",
|
|
1317
1501
|
{
|
|
1318
1502
|
className: ScPlanCard_default.creditsContainer + (isPopular ? " " + ScPlanCard_default.creditsContainerPopular : ""),
|
|
1319
1503
|
children: [
|
|
1320
|
-
/* @__PURE__ */
|
|
1504
|
+
/* @__PURE__ */ jsx23(
|
|
1321
1505
|
SiconCredits2,
|
|
1322
1506
|
{
|
|
1323
1507
|
className: ScPlanCard_default.siconCreditsInstance,
|
|
@@ -1326,16 +1510,16 @@ var ScPlanCard = ({
|
|
|
1326
1510
|
strokeWidth: 1.5
|
|
1327
1511
|
}
|
|
1328
1512
|
),
|
|
1329
|
-
/* @__PURE__ */
|
|
1330
|
-
isPopular && /* @__PURE__ */
|
|
1513
|
+
/* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.creditsText, children: credits }),
|
|
1514
|
+
isPopular && /* @__PURE__ */ jsxs18(
|
|
1331
1515
|
"button",
|
|
1332
1516
|
{
|
|
1333
1517
|
type: "button",
|
|
1334
1518
|
className: ScPlanCard_default.increaseCreditsBtn,
|
|
1335
1519
|
onClick: onIncreaseCredits,
|
|
1336
1520
|
children: [
|
|
1337
|
-
/* @__PURE__ */
|
|
1338
|
-
/* @__PURE__ */
|
|
1521
|
+
/* @__PURE__ */ jsx23("span", { className: ScPlanCard_default.increaseCreditsLabel, children: "Increase credits" }),
|
|
1522
|
+
/* @__PURE__ */ jsx23(
|
|
1339
1523
|
"svg",
|
|
1340
1524
|
{
|
|
1341
1525
|
className: ScPlanCard_default.increaseCreditsArrow,
|
|
@@ -1344,7 +1528,7 @@ var ScPlanCard = ({
|
|
|
1344
1528
|
viewBox: "0 0 12 12",
|
|
1345
1529
|
fill: "none",
|
|
1346
1530
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1347
|
-
children: /* @__PURE__ */
|
|
1531
|
+
children: /* @__PURE__ */ jsx23(
|
|
1348
1532
|
"path",
|
|
1349
1533
|
{
|
|
1350
1534
|
d: "M3 4.5L6 7.5L9 4.5",
|
|
@@ -1364,7 +1548,7 @@ var ScPlanCard = ({
|
|
|
1364
1548
|
),
|
|
1365
1549
|
creditsDropdown
|
|
1366
1550
|
] }),
|
|
1367
|
-
isFreeOrPopular && /* @__PURE__ */
|
|
1551
|
+
isFreeOrPopular && /* @__PURE__ */ jsx23(
|
|
1368
1552
|
ScButton,
|
|
1369
1553
|
{
|
|
1370
1554
|
text: buttonText,
|
|
@@ -1374,20 +1558,20 @@ var ScPlanCard = ({
|
|
|
1374
1558
|
onClick: buttonState !== "disabled" ? onUpgrade : void 0
|
|
1375
1559
|
}
|
|
1376
1560
|
),
|
|
1377
|
-
isCustom && /* @__PURE__ */
|
|
1378
|
-
isCustom && description && /* @__PURE__ */
|
|
1379
|
-
isFreeOrPopular && features.map((section, sIdx) => /* @__PURE__ */
|
|
1380
|
-
sIdx > 0 && /* @__PURE__ */
|
|
1381
|
-
/* @__PURE__ */
|
|
1382
|
-
/* @__PURE__ */
|
|
1383
|
-
section.features.map((feature, fIdx) => /* @__PURE__ */
|
|
1384
|
-
section.icon || /* @__PURE__ */
|
|
1385
|
-
/* @__PURE__ */
|
|
1561
|
+
isCustom && /* @__PURE__ */ jsx23(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1562
|
+
isCustom && description && /* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.description, children: description }),
|
|
1563
|
+
isFreeOrPopular && features.map((section, sIdx) => /* @__PURE__ */ jsxs18(Fragment5, { children: [
|
|
1564
|
+
sIdx > 0 && /* @__PURE__ */ jsx23(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1565
|
+
/* @__PURE__ */ jsxs18("div", { className: ScPlanCard_default.featuresSection, children: [
|
|
1566
|
+
/* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.sectionTitle, children: section.section }),
|
|
1567
|
+
section.features.map((feature, fIdx) => /* @__PURE__ */ jsxs18("div", { className: ScPlanCard_default.featureRow, children: [
|
|
1568
|
+
section.icon || /* @__PURE__ */ jsx23(SiconHome4, { color: "var(--alias-text-and-icons-tertiary, #9e9e9e)", size: 24, strokeWidth: 1.5 }),
|
|
1569
|
+
/* @__PURE__ */ jsx23("span", { className: ScPlanCard_default.featureText, children: feature })
|
|
1386
1570
|
] }, fIdx))
|
|
1387
1571
|
] })
|
|
1388
1572
|
] }, section.section)),
|
|
1389
|
-
isCustom && /* @__PURE__ */
|
|
1390
|
-
isCustom && /* @__PURE__ */
|
|
1573
|
+
isCustom && /* @__PURE__ */ jsx23(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1574
|
+
isCustom && /* @__PURE__ */ jsx23(
|
|
1391
1575
|
ScButton,
|
|
1392
1576
|
{
|
|
1393
1577
|
text: buttonText,
|
|
@@ -1421,7 +1605,7 @@ var ScPlanDetailsCard_default = {
|
|
|
1421
1605
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
1422
1606
|
import { SiconBilling } from "@streamoid/icons";
|
|
1423
1607
|
import { SiconHome as SiconHome5 } from "@streamoid/icons";
|
|
1424
|
-
import { jsx as
|
|
1608
|
+
import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1425
1609
|
var ScPlanDetailsCard = ({
|
|
1426
1610
|
planName = "Free",
|
|
1427
1611
|
planCredits = "30,000 credits",
|
|
@@ -1433,17 +1617,17 @@ var ScPlanDetailsCard = ({
|
|
|
1433
1617
|
className,
|
|
1434
1618
|
...props
|
|
1435
1619
|
}) => {
|
|
1436
|
-
return /* @__PURE__ */
|
|
1437
|
-
/* @__PURE__ */
|
|
1438
|
-
/* @__PURE__ */
|
|
1620
|
+
return /* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, ...props, children: [
|
|
1621
|
+
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planHeader, children: [
|
|
1622
|
+
/* @__PURE__ */ jsx24(
|
|
1439
1623
|
ScPairtext,
|
|
1440
1624
|
{
|
|
1441
|
-
icon: /* @__PURE__ */
|
|
1625
|
+
icon: /* @__PURE__ */ jsx24(SiconBilling, { color: "var(--alias-text-and-icons-primary, #f5f5f5)", className: ScPlanDetailsCard_default.siconBillingInstance }),
|
|
1442
1626
|
content: currentPlanLabel,
|
|
1443
1627
|
className: ScPlanDetailsCard_default.scPairtextInstance
|
|
1444
1628
|
}
|
|
1445
1629
|
),
|
|
1446
|
-
/* @__PURE__ */
|
|
1630
|
+
/* @__PURE__ */ jsx24(
|
|
1447
1631
|
ScBadges,
|
|
1448
1632
|
{
|
|
1449
1633
|
text: badgeText,
|
|
@@ -1453,20 +1637,20 @@ var ScPlanDetailsCard = ({
|
|
|
1453
1637
|
}
|
|
1454
1638
|
)
|
|
1455
1639
|
] }),
|
|
1456
|
-
/* @__PURE__ */
|
|
1457
|
-
/* @__PURE__ */
|
|
1458
|
-
/* @__PURE__ */
|
|
1459
|
-
/* @__PURE__ */
|
|
1460
|
-
/* @__PURE__ */
|
|
1461
|
-
/* @__PURE__ */
|
|
1462
|
-
/* @__PURE__ */
|
|
1640
|
+
/* @__PURE__ */ jsx24(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
1641
|
+
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
1642
|
+
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planInfo, children: [
|
|
1643
|
+
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
1644
|
+
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
1645
|
+
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
1646
|
+
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
|
|
1463
1647
|
] }),
|
|
1464
|
-
/* @__PURE__ */
|
|
1648
|
+
/* @__PURE__ */ jsx24("div", { className: ScPlanDetailsCard_default.planPrice, children: planPrice })
|
|
1465
1649
|
] }),
|
|
1466
|
-
/* @__PURE__ */
|
|
1650
|
+
/* @__PURE__ */ jsx24(
|
|
1467
1651
|
ScButton,
|
|
1468
1652
|
{
|
|
1469
|
-
icon: /* @__PURE__ */
|
|
1653
|
+
icon: /* @__PURE__ */ jsx24(SiconHome5, { className: ScPlanDetailsCard_default.siconHomeInstance }),
|
|
1470
1654
|
text: upgradeButtonText,
|
|
1471
1655
|
size: "md",
|
|
1472
1656
|
className: ScPlanDetailsCard_default.scButtonInstance,
|
|
@@ -1488,7 +1672,7 @@ var ScProfile_default = {
|
|
|
1488
1672
|
};
|
|
1489
1673
|
|
|
1490
1674
|
// src/SC-Profile/ScProfile.tsx
|
|
1491
|
-
import { Fragment as Fragment6, jsx as
|
|
1675
|
+
import { Fragment as Fragment6, jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1492
1676
|
var ScProfile = ({
|
|
1493
1677
|
name = "Chris Hemsworth",
|
|
1494
1678
|
subText = "Kepler workspace",
|
|
@@ -1498,19 +1682,19 @@ var ScProfile = ({
|
|
|
1498
1682
|
...props
|
|
1499
1683
|
}) => {
|
|
1500
1684
|
const variantsClassName = ScProfile_default["collapsed-" + collapsed];
|
|
1501
|
-
return /* @__PURE__ */
|
|
1685
|
+
return /* @__PURE__ */ jsxs20(
|
|
1502
1686
|
"div",
|
|
1503
1687
|
{
|
|
1504
1688
|
className: ScProfile_default.scProfile + " " + className + " " + variantsClassName,
|
|
1505
1689
|
...props,
|
|
1506
1690
|
children: [
|
|
1507
|
-
/* @__PURE__ */
|
|
1508
|
-
collapsed === "false" && /* @__PURE__ */
|
|
1509
|
-
/* @__PURE__ */
|
|
1691
|
+
/* @__PURE__ */ jsx25("img", { className: ScProfile_default.profileImage, src: profileImage }),
|
|
1692
|
+
collapsed === "false" && /* @__PURE__ */ jsx25(Fragment6, { children: /* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userInfo, children: [
|
|
1693
|
+
/* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userName, children: [
|
|
1510
1694
|
name,
|
|
1511
1695
|
" "
|
|
1512
1696
|
] }),
|
|
1513
|
-
/* @__PURE__ */
|
|
1697
|
+
/* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userDescription, children: [
|
|
1514
1698
|
subText,
|
|
1515
1699
|
" "
|
|
1516
1700
|
] })
|
|
@@ -1544,14 +1728,14 @@ var ScVDivider_default = {
|
|
|
1544
1728
|
};
|
|
1545
1729
|
|
|
1546
1730
|
// src/SC-VDivider/ScVDivider.tsx
|
|
1547
|
-
import { jsx as
|
|
1731
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
1548
1732
|
var ScVDivider = ({
|
|
1549
1733
|
color,
|
|
1550
1734
|
className,
|
|
1551
1735
|
style,
|
|
1552
1736
|
...props
|
|
1553
1737
|
}) => {
|
|
1554
|
-
return /* @__PURE__ */
|
|
1738
|
+
return /* @__PURE__ */ jsx26(
|
|
1555
1739
|
"div",
|
|
1556
1740
|
{
|
|
1557
1741
|
className: ScVDivider_default.scVDivider + (className ? " " + className : ""),
|
|
@@ -1562,7 +1746,7 @@ var ScVDivider = ({
|
|
|
1562
1746
|
};
|
|
1563
1747
|
|
|
1564
1748
|
// src/SC-Profile Image update/ScProfileImageUpdate.tsx
|
|
1565
|
-
import { jsx as
|
|
1749
|
+
import { jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1566
1750
|
var ScProfileImageUpdate = ({
|
|
1567
1751
|
imageUrl,
|
|
1568
1752
|
initials = "",
|
|
@@ -1582,8 +1766,8 @@ var ScProfileImageUpdate = ({
|
|
|
1582
1766
|
}
|
|
1583
1767
|
e.target.value = "";
|
|
1584
1768
|
}
|
|
1585
|
-
return /* @__PURE__ */
|
|
1586
|
-
/* @__PURE__ */
|
|
1769
|
+
return /* @__PURE__ */ jsxs21("div", { className: ScProfileImageUpdate_default.scProfileImageUpdate + " " + className, ...props, children: [
|
|
1770
|
+
/* @__PURE__ */ jsx27(
|
|
1587
1771
|
"input",
|
|
1588
1772
|
{
|
|
1589
1773
|
ref: inputRef,
|
|
@@ -1593,12 +1777,12 @@ var ScProfileImageUpdate = ({
|
|
|
1593
1777
|
onChange: handleFileChange
|
|
1594
1778
|
}
|
|
1595
1779
|
),
|
|
1596
|
-
imageUrl ? /* @__PURE__ */
|
|
1597
|
-
/* @__PURE__ */
|
|
1598
|
-
/* @__PURE__ */
|
|
1780
|
+
imageUrl ? /* @__PURE__ */ jsx27("img", { className: ScProfileImageUpdate_default.profileImage, src: imageUrl, alt: "profile" }) : /* @__PURE__ */ jsx27("div", { className: ScProfileImageUpdate_default.profileImage + " " + ScProfileImageUpdate_default.profileInitials, children: initials }),
|
|
1781
|
+
/* @__PURE__ */ jsxs21("div", { className: ScProfileImageUpdate_default.buttonContainer, children: [
|
|
1782
|
+
/* @__PURE__ */ jsx27(
|
|
1599
1783
|
ScButton,
|
|
1600
1784
|
{
|
|
1601
|
-
icon: /* @__PURE__ */
|
|
1785
|
+
icon: /* @__PURE__ */ jsx27(SiconUpload, { className: ScProfileImageUpdate_default.siconUploadInstance }),
|
|
1602
1786
|
styleVariant: "icon-only",
|
|
1603
1787
|
variant: "tertiary",
|
|
1604
1788
|
size: "md",
|
|
@@ -1606,11 +1790,11 @@ var ScProfileImageUpdate = ({
|
|
|
1606
1790
|
onClick: handleUploadClick
|
|
1607
1791
|
}
|
|
1608
1792
|
),
|
|
1609
|
-
/* @__PURE__ */
|
|
1610
|
-
/* @__PURE__ */
|
|
1793
|
+
/* @__PURE__ */ jsx27(ScVDivider, { className: ScProfileImageUpdate_default.scVDividerInstance }),
|
|
1794
|
+
/* @__PURE__ */ jsx27(
|
|
1611
1795
|
ScButton,
|
|
1612
1796
|
{
|
|
1613
|
-
icon: /* @__PURE__ */
|
|
1797
|
+
icon: /* @__PURE__ */ jsx27(SiconDelete, { className: ScProfileImageUpdate_default.siconDeleteInstance }),
|
|
1614
1798
|
styleVariant: "icon-only",
|
|
1615
1799
|
variant: "tertiary",
|
|
1616
1800
|
size: "md",
|
|
@@ -1654,7 +1838,7 @@ var ScWorkspace_default = {
|
|
|
1654
1838
|
};
|
|
1655
1839
|
|
|
1656
1840
|
// src/SC-Workspace/ScWorkspace.tsx
|
|
1657
|
-
import { Fragment as Fragment7, jsx as
|
|
1841
|
+
import { Fragment as Fragment7, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1658
1842
|
var ScWorkspace = ({
|
|
1659
1843
|
collapsed = "false",
|
|
1660
1844
|
workspaceName = "Kepler",
|
|
@@ -1664,19 +1848,19 @@ var ScWorkspace = ({
|
|
|
1664
1848
|
...props
|
|
1665
1849
|
}) => {
|
|
1666
1850
|
const variantsClassName = ScWorkspace_default["collapsed-" + collapsed];
|
|
1667
|
-
return /* @__PURE__ */
|
|
1851
|
+
return /* @__PURE__ */ jsxs22(
|
|
1668
1852
|
"div",
|
|
1669
1853
|
{
|
|
1670
1854
|
className: ScWorkspace_default.scWorkspace + " " + className + " " + variantsClassName,
|
|
1671
1855
|
...props,
|
|
1672
1856
|
children: [
|
|
1673
|
-
/* @__PURE__ */
|
|
1674
|
-
collapsed === "false" && /* @__PURE__ */
|
|
1675
|
-
/* @__PURE__ */
|
|
1857
|
+
/* @__PURE__ */ jsx28("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
|
|
1858
|
+
collapsed === "false" && /* @__PURE__ */ jsx28(Fragment7, { children: /* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userInfo, children: [
|
|
1859
|
+
/* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userName, children: [
|
|
1676
1860
|
workspaceName,
|
|
1677
1861
|
" "
|
|
1678
1862
|
] }),
|
|
1679
|
-
/* @__PURE__ */
|
|
1863
|
+
/* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userRole, children: [
|
|
1680
1864
|
userRole,
|
|
1681
1865
|
" "
|
|
1682
1866
|
] })
|
|
@@ -1705,9 +1889,9 @@ var ScTabComp_default = {
|
|
|
1705
1889
|
|
|
1706
1890
|
// src/SC-tabComp/ScTabComp.tsx
|
|
1707
1891
|
import { SiconHome as SiconHome6 } from "@streamoid/icons";
|
|
1708
|
-
import { Fragment as Fragment8, jsx as
|
|
1892
|
+
import { Fragment as Fragment8, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1709
1893
|
var ScTabComp = ({
|
|
1710
|
-
icon = /* @__PURE__ */
|
|
1894
|
+
icon = /* @__PURE__ */ jsx29(SiconHome6, { className: ScTabComp_default.siconHomeInstance }),
|
|
1711
1895
|
active = "false",
|
|
1712
1896
|
type = "text-only",
|
|
1713
1897
|
className,
|
|
@@ -1715,14 +1899,14 @@ var ScTabComp = ({
|
|
|
1715
1899
|
...props
|
|
1716
1900
|
}) => {
|
|
1717
1901
|
const variantsClassName = ScTabComp_default["active-" + active] + " " + ScTabComp_default["type-" + type];
|
|
1718
|
-
return /* @__PURE__ */
|
|
1902
|
+
return /* @__PURE__ */ jsxs23(
|
|
1719
1903
|
"div",
|
|
1720
1904
|
{
|
|
1721
1905
|
className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
|
|
1722
1906
|
...props,
|
|
1723
1907
|
children: [
|
|
1724
|
-
type === "icon-only" && /* @__PURE__ */
|
|
1725
|
-
type === "text-only" && /* @__PURE__ */
|
|
1908
|
+
type === "icon-only" && /* @__PURE__ */ jsx29(Fragment8, { children: /* @__PURE__ */ jsx29("div", { className: ScTabComp_default.icon, children: icon }) }),
|
|
1909
|
+
type === "text-only" && /* @__PURE__ */ jsx29(Fragment8, { children: /* @__PURE__ */ jsx29("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ jsxs23("div", { className: ScTabComp_default.tabText, children: [
|
|
1726
1910
|
text,
|
|
1727
1911
|
" "
|
|
1728
1912
|
] }) }) })
|
|
@@ -1743,7 +1927,7 @@ var ScTabSwitcher_default = {
|
|
|
1743
1927
|
|
|
1744
1928
|
// src/SC-tabSwitcher/ScTabSwitcher.tsx
|
|
1745
1929
|
import { SiconHome as SiconHome7 } from "@streamoid/icons";
|
|
1746
|
-
import { Fragment as Fragment9, jsx as
|
|
1930
|
+
import { Fragment as Fragment9, jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1747
1931
|
var ScTabSwitcher = ({
|
|
1748
1932
|
tabCount = "2",
|
|
1749
1933
|
component,
|
|
@@ -1755,45 +1939,45 @@ var ScTabSwitcher = ({
|
|
|
1755
1939
|
...props
|
|
1756
1940
|
}) => {
|
|
1757
1941
|
const variantsClassName = ScTabSwitcher_default["tab-count-" + tabCount];
|
|
1758
|
-
return /* @__PURE__ */
|
|
1942
|
+
return /* @__PURE__ */ jsxs24(
|
|
1759
1943
|
"div",
|
|
1760
1944
|
{
|
|
1761
1945
|
className: ScTabSwitcher_default.scTabSwitcher + " " + className + " " + variantsClassName,
|
|
1762
1946
|
...props,
|
|
1763
1947
|
children: [
|
|
1764
|
-
component ? component : /* @__PURE__ */
|
|
1948
|
+
component ? component : /* @__PURE__ */ jsx30(
|
|
1765
1949
|
ScTabComp,
|
|
1766
1950
|
{
|
|
1767
|
-
icon: /* @__PURE__ */
|
|
1951
|
+
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1768
1952
|
active: "true",
|
|
1769
1953
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1770
1954
|
}
|
|
1771
1955
|
),
|
|
1772
|
-
component2 ? component2 : /* @__PURE__ */
|
|
1956
|
+
component2 ? component2 : /* @__PURE__ */ jsx30(
|
|
1773
1957
|
ScTabComp,
|
|
1774
1958
|
{
|
|
1775
|
-
icon: /* @__PURE__ */
|
|
1959
|
+
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1776
1960
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1777
1961
|
}
|
|
1778
1962
|
),
|
|
1779
|
-
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */
|
|
1963
|
+
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment9, { children: component3 ? component3 : /* @__PURE__ */ jsx30(
|
|
1780
1964
|
ScTabComp,
|
|
1781
1965
|
{
|
|
1782
|
-
icon: /* @__PURE__ */
|
|
1966
|
+
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1783
1967
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1784
1968
|
}
|
|
1785
1969
|
) }),
|
|
1786
|
-
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */
|
|
1970
|
+
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment9, { children: component4 ? component4 : /* @__PURE__ */ jsx30(
|
|
1787
1971
|
ScTabComp,
|
|
1788
1972
|
{
|
|
1789
|
-
icon: /* @__PURE__ */
|
|
1973
|
+
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1790
1974
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1791
1975
|
}
|
|
1792
1976
|
) }),
|
|
1793
|
-
tabCount === "5" && /* @__PURE__ */
|
|
1977
|
+
tabCount === "5" && /* @__PURE__ */ jsx30(Fragment9, { children: component5 ? component5 : /* @__PURE__ */ jsx30(
|
|
1794
1978
|
ScTabComp,
|
|
1795
1979
|
{
|
|
1796
|
-
icon: /* @__PURE__ */
|
|
1980
|
+
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1797
1981
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1798
1982
|
}
|
|
1799
1983
|
) })
|
|
@@ -1803,18 +1987,18 @@ var ScTabSwitcher = ({
|
|
|
1803
1987
|
};
|
|
1804
1988
|
|
|
1805
1989
|
// src/SC-Profile options/ScProfileOptions.tsx
|
|
1806
|
-
import { jsx as
|
|
1990
|
+
import { jsx as jsx31, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1807
1991
|
var ScProfileOptions = ({
|
|
1808
1992
|
className,
|
|
1809
1993
|
...props
|
|
1810
1994
|
}) => {
|
|
1811
|
-
return /* @__PURE__ */
|
|
1812
|
-
/* @__PURE__ */
|
|
1813
|
-
/* @__PURE__ */
|
|
1814
|
-
/* @__PURE__ */
|
|
1815
|
-
/* @__PURE__ */
|
|
1816
|
-
/* @__PURE__ */
|
|
1817
|
-
/* @__PURE__ */
|
|
1995
|
+
return /* @__PURE__ */ jsxs25("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, ...props, children: [
|
|
1996
|
+
/* @__PURE__ */ jsx31("div", { className: ScProfileOptions_default.profileHeader, children: /* @__PURE__ */ jsx31(ScProfile, { className: ScProfileOptions_default.scProfileInstance }) }),
|
|
1997
|
+
/* @__PURE__ */ jsx31(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance }),
|
|
1998
|
+
/* @__PURE__ */ jsxs25("div", { className: ScProfileOptions_default.profileDetails, children: [
|
|
1999
|
+
/* @__PURE__ */ jsxs25("div", { className: ScProfileOptions_default.workspaceInfo, children: [
|
|
2000
|
+
/* @__PURE__ */ jsx31(ScWorkspace, { className: ScProfileOptions_default.scWorkspaceInstance }),
|
|
2001
|
+
/* @__PURE__ */ jsx31(
|
|
1818
2002
|
ScBadges,
|
|
1819
2003
|
{
|
|
1820
2004
|
text: "1000 credits left",
|
|
@@ -1824,25 +2008,25 @@ var ScProfileOptions = ({
|
|
|
1824
2008
|
}
|
|
1825
2009
|
)
|
|
1826
2010
|
] }),
|
|
1827
|
-
/* @__PURE__ */
|
|
2011
|
+
/* @__PURE__ */ jsx31(
|
|
1828
2012
|
ScMenuOptions,
|
|
1829
2013
|
{
|
|
1830
|
-
icon: /* @__PURE__ */
|
|
2014
|
+
icon: /* @__PURE__ */ jsx31(SiconTeam2, { className: ScProfileOptions_default.siconTeamInstance }),
|
|
1831
2015
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1832
2016
|
}
|
|
1833
2017
|
),
|
|
1834
|
-
/* @__PURE__ */
|
|
2018
|
+
/* @__PURE__ */ jsx31(
|
|
1835
2019
|
ScMenuOptions,
|
|
1836
2020
|
{
|
|
1837
|
-
icon: /* @__PURE__ */
|
|
2021
|
+
icon: /* @__PURE__ */ jsx31(SiconBilling2, { className: ScProfileOptions_default.siconBillingInstance }),
|
|
1838
2022
|
text: "Billing",
|
|
1839
2023
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1840
2024
|
}
|
|
1841
2025
|
),
|
|
1842
|
-
/* @__PURE__ */
|
|
2026
|
+
/* @__PURE__ */ jsx31(
|
|
1843
2027
|
ScButton,
|
|
1844
2028
|
{
|
|
1845
|
-
icon: /* @__PURE__ */
|
|
2029
|
+
icon: /* @__PURE__ */ jsx31(SiconHome8, { className: ScProfileOptions_default.siconHomeInstance }),
|
|
1846
2030
|
text: "Switch workspace",
|
|
1847
2031
|
variant: "secondary",
|
|
1848
2032
|
size: "md",
|
|
@@ -1850,66 +2034,66 @@ var ScProfileOptions = ({
|
|
|
1850
2034
|
}
|
|
1851
2035
|
)
|
|
1852
2036
|
] }),
|
|
1853
|
-
/* @__PURE__ */
|
|
1854
|
-
/* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
2037
|
+
/* @__PURE__ */ jsx31(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance2 }),
|
|
2038
|
+
/* @__PURE__ */ jsxs25("div", { className: ScProfileOptions_default.settingsOptions, children: [
|
|
2039
|
+
/* @__PURE__ */ jsx31(
|
|
1856
2040
|
ScMenuOptions,
|
|
1857
2041
|
{
|
|
1858
|
-
icon: /* @__PURE__ */
|
|
2042
|
+
icon: /* @__PURE__ */ jsx31(SiconBolt, { className: ScProfileOptions_default.siconBoltInstance }),
|
|
1859
2043
|
text: "What's new",
|
|
1860
2044
|
variant: "with-v",
|
|
1861
2045
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1862
2046
|
}
|
|
1863
2047
|
),
|
|
1864
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ jsx31(
|
|
1865
2049
|
ScMenuOptions,
|
|
1866
2050
|
{
|
|
1867
|
-
icon: /* @__PURE__ */
|
|
2051
|
+
icon: /* @__PURE__ */ jsx31(SiconSettings2, { className: ScProfileOptions_default.siconSettingsInstance }),
|
|
1868
2052
|
text: "All settings",
|
|
1869
2053
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1870
2054
|
}
|
|
1871
2055
|
)
|
|
1872
2056
|
] }),
|
|
1873
|
-
/* @__PURE__ */
|
|
1874
|
-
/* @__PURE__ */
|
|
2057
|
+
/* @__PURE__ */ jsx31(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance3 }),
|
|
2058
|
+
/* @__PURE__ */ jsx31(
|
|
1875
2059
|
ScMenuOptions,
|
|
1876
2060
|
{
|
|
1877
|
-
icon: /* @__PURE__ */
|
|
2061
|
+
icon: /* @__PURE__ */ jsx31(SiconLogout, { className: ScProfileOptions_default.siconLogoutInstance }),
|
|
1878
2062
|
text: "Logout",
|
|
1879
2063
|
variant: "error",
|
|
1880
2064
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1881
2065
|
}
|
|
1882
2066
|
),
|
|
1883
|
-
/* @__PURE__ */
|
|
2067
|
+
/* @__PURE__ */ jsx31(
|
|
1884
2068
|
ScTabSwitcher,
|
|
1885
2069
|
{
|
|
1886
2070
|
tabCount: "3",
|
|
1887
|
-
component: /* @__PURE__ */
|
|
2071
|
+
component: /* @__PURE__ */ jsx31(
|
|
1888
2072
|
ScTabComp,
|
|
1889
2073
|
{
|
|
1890
2074
|
className: ScProfileOptions_default.scTabCompInstance,
|
|
1891
2075
|
active: "true",
|
|
1892
2076
|
type: "icon-only",
|
|
1893
|
-
icon: /* @__PURE__ */
|
|
2077
|
+
icon: /* @__PURE__ */ jsx31(SiconSystem, { className: ScProfileOptions_default.siconSystemInstance })
|
|
1894
2078
|
}
|
|
1895
2079
|
),
|
|
1896
|
-
component2: /* @__PURE__ */
|
|
2080
|
+
component2: /* @__PURE__ */ jsx31(
|
|
1897
2081
|
ScTabComp,
|
|
1898
2082
|
{
|
|
1899
2083
|
className: ScProfileOptions_default.scTabCompInstance,
|
|
1900
2084
|
type: "icon-only",
|
|
1901
|
-
icon: /* @__PURE__ */
|
|
2085
|
+
icon: /* @__PURE__ */ jsx31(SiconLight, { className: ScProfileOptions_default.siconLightInstance })
|
|
1902
2086
|
}
|
|
1903
2087
|
),
|
|
1904
|
-
component3: /* @__PURE__ */
|
|
2088
|
+
component3: /* @__PURE__ */ jsx31(
|
|
1905
2089
|
ScTabComp,
|
|
1906
2090
|
{
|
|
1907
2091
|
className: ScProfileOptions_default.scTabCompInstance,
|
|
1908
2092
|
type: "icon-only",
|
|
1909
|
-
icon: /* @__PURE__ */
|
|
2093
|
+
icon: /* @__PURE__ */ jsx31(SiconDark, { className: ScProfileOptions_default.siconDarkInstance })
|
|
1910
2094
|
}
|
|
1911
2095
|
),
|
|
1912
|
-
scTabCompicon: /* @__PURE__ */
|
|
2096
|
+
scTabCompicon: /* @__PURE__ */ jsx31(SiconSystem, { className: ScProfileOptions_default.siconSystemInstance2 }),
|
|
1913
2097
|
scTabCompactive: "true",
|
|
1914
2098
|
scTabComptype: "icon-only",
|
|
1915
2099
|
className: ScProfileOptions_default.scTabSwitcherInstance
|
|
@@ -1932,7 +2116,7 @@ var ScProfileSettingsComp_default = {
|
|
|
1932
2116
|
import { SiconBolt as SiconBolt3, SiconLock } from "@streamoid/icons";
|
|
1933
2117
|
|
|
1934
2118
|
// src/SC-textField/ScTextField.tsx
|
|
1935
|
-
import { useState as
|
|
2119
|
+
import { useState as useState4 } from "react";
|
|
1936
2120
|
|
|
1937
2121
|
// src/SC-textField/ScTextField.module.css
|
|
1938
2122
|
var ScTextField_default = {
|
|
@@ -1954,10 +2138,10 @@ var ScTextField_default = {
|
|
|
1954
2138
|
|
|
1955
2139
|
// src/SC-textField/ScTextField.tsx
|
|
1956
2140
|
import { SiconBolt as SiconBolt2 } from "@streamoid/icons";
|
|
1957
|
-
import { Fragment as Fragment10, jsx as
|
|
2141
|
+
import { Fragment as Fragment10, jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1958
2142
|
var ScTextField = ({
|
|
1959
|
-
tfRightIcon = /* @__PURE__ */
|
|
1960
|
-
tfLeftIcon = /* @__PURE__ */
|
|
2143
|
+
tfRightIcon = /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
2144
|
+
tfLeftIcon = /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
1961
2145
|
state,
|
|
1962
2146
|
tfGroup = "icon-right",
|
|
1963
2147
|
labelGroup = "",
|
|
@@ -1967,26 +2151,26 @@ var ScTextField = ({
|
|
|
1967
2151
|
style,
|
|
1968
2152
|
...props
|
|
1969
2153
|
}) => {
|
|
1970
|
-
const [focused, setFocused] =
|
|
2154
|
+
const [focused, setFocused] = useState4(false);
|
|
1971
2155
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
1972
2156
|
const variantsClassName = ScTextField_default["state-" + derivedState] + " " + ScTextField_default["tf-group-" + tfGroup] + " " + ScTextField_default["label-group-" + labelGroup];
|
|
1973
|
-
return /* @__PURE__ */
|
|
2157
|
+
return /* @__PURE__ */ jsxs26(
|
|
1974
2158
|
"div",
|
|
1975
2159
|
{
|
|
1976
2160
|
className: ScTextField_default.scTextField + " " + className + " " + variantsClassName,
|
|
1977
2161
|
style,
|
|
1978
2162
|
children: [
|
|
1979
|
-
labelGroup && /* @__PURE__ */
|
|
1980
|
-
/* @__PURE__ */
|
|
2163
|
+
labelGroup && /* @__PURE__ */ jsxs26("div", { className: ScTextField_default.labelContainer, children: [
|
|
2164
|
+
/* @__PURE__ */ jsxs26("div", { className: ScTextField_default.label, children: [
|
|
1981
2165
|
label,
|
|
1982
2166
|
" "
|
|
1983
2167
|
] }),
|
|
1984
|
-
labelGroup === "text" && /* @__PURE__ */
|
|
1985
|
-
labelGroup === "icon" && /* @__PURE__ */
|
|
2168
|
+
labelGroup === "text" && /* @__PURE__ */ jsx32(Fragment10, { children: /* @__PURE__ */ jsx32("div", { className: ScTextField_default.info, children: "info " }) }),
|
|
2169
|
+
labelGroup === "icon" && /* @__PURE__ */ jsx32(Fragment10, { children: /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }) })
|
|
1986
2170
|
] }),
|
|
1987
|
-
/* @__PURE__ */
|
|
1988
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
1989
|
-
/* @__PURE__ */
|
|
2171
|
+
/* @__PURE__ */ jsxs26("div", { className: ScTextField_default.inputContainer, children: [
|
|
2172
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment10, { children: tfLeftIcon }),
|
|
2173
|
+
/* @__PURE__ */ jsx32(
|
|
1990
2174
|
"input",
|
|
1991
2175
|
{
|
|
1992
2176
|
className: ScTextField_default.inputText,
|
|
@@ -2002,7 +2186,7 @@ var ScTextField = ({
|
|
|
2002
2186
|
}
|
|
2003
2187
|
}
|
|
2004
2188
|
),
|
|
2005
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
2189
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment10, { children: tfRightIcon })
|
|
2006
2190
|
] })
|
|
2007
2191
|
]
|
|
2008
2192
|
}
|
|
@@ -2010,7 +2194,7 @@ var ScTextField = ({
|
|
|
2010
2194
|
};
|
|
2011
2195
|
|
|
2012
2196
|
// src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
|
|
2013
|
-
import { jsx as
|
|
2197
|
+
import { jsx as jsx33, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
2014
2198
|
var ScProfileSettingsComp = ({
|
|
2015
2199
|
firstName = "Chris",
|
|
2016
2200
|
lastName = "Hemsworth",
|
|
@@ -2018,20 +2202,20 @@ var ScProfileSettingsComp = ({
|
|
|
2018
2202
|
className,
|
|
2019
2203
|
...props
|
|
2020
2204
|
}) => {
|
|
2021
|
-
return /* @__PURE__ */
|
|
2022
|
-
/* @__PURE__ */
|
|
2205
|
+
return /* @__PURE__ */ jsxs27("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, ...props, children: [
|
|
2206
|
+
/* @__PURE__ */ jsx33(
|
|
2023
2207
|
ScProfileImageUpdate,
|
|
2024
2208
|
{
|
|
2025
2209
|
className: ScProfileSettingsComp_default.scProfileImageUpdateInstance
|
|
2026
2210
|
}
|
|
2027
2211
|
),
|
|
2028
|
-
/* @__PURE__ */
|
|
2029
|
-
/* @__PURE__ */
|
|
2030
|
-
/* @__PURE__ */
|
|
2212
|
+
/* @__PURE__ */ jsxs27("div", { className: ScProfileSettingsComp_default.profileInfo, children: [
|
|
2213
|
+
/* @__PURE__ */ jsxs27("div", { className: ScProfileSettingsComp_default.nameFields, children: [
|
|
2214
|
+
/* @__PURE__ */ jsx33(
|
|
2031
2215
|
ScTextField,
|
|
2032
2216
|
{
|
|
2033
|
-
tfLeftIcon: /* @__PURE__ */
|
|
2034
|
-
tfRightIcon: /* @__PURE__ */
|
|
2217
|
+
tfLeftIcon: /* @__PURE__ */ jsx33(SiconBolt3, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2218
|
+
tfRightIcon: /* @__PURE__ */ jsx33(SiconBolt3, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2035
2219
|
placeholderFilled: firstName,
|
|
2036
2220
|
label: "First Name",
|
|
2037
2221
|
state: "filled",
|
|
@@ -2039,11 +2223,11 @@ var ScProfileSettingsComp = ({
|
|
|
2039
2223
|
className: ScProfileSettingsComp_default.scTextFieldInstance
|
|
2040
2224
|
}
|
|
2041
2225
|
),
|
|
2042
|
-
/* @__PURE__ */
|
|
2226
|
+
/* @__PURE__ */ jsx33(
|
|
2043
2227
|
ScTextField,
|
|
2044
2228
|
{
|
|
2045
|
-
tfLeftIcon: /* @__PURE__ */
|
|
2046
|
-
tfRightIcon: /* @__PURE__ */
|
|
2229
|
+
tfLeftIcon: /* @__PURE__ */ jsx33(SiconBolt3, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2230
|
+
tfRightIcon: /* @__PURE__ */ jsx33(SiconBolt3, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2047
2231
|
placeholderFilled: lastName,
|
|
2048
2232
|
label: "Last Name",
|
|
2049
2233
|
state: "filled",
|
|
@@ -2052,11 +2236,11 @@ var ScProfileSettingsComp = ({
|
|
|
2052
2236
|
}
|
|
2053
2237
|
)
|
|
2054
2238
|
] }),
|
|
2055
|
-
/* @__PURE__ */
|
|
2239
|
+
/* @__PURE__ */ jsx33(
|
|
2056
2240
|
ScTextField,
|
|
2057
2241
|
{
|
|
2058
|
-
tfLeftIcon: /* @__PURE__ */
|
|
2059
|
-
tfRightIcon: /* @__PURE__ */
|
|
2242
|
+
tfLeftIcon: /* @__PURE__ */ jsx33(SiconBolt3, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2243
|
+
tfRightIcon: /* @__PURE__ */ jsx33(SiconLock, { className: ScProfileSettingsComp_default.siconLockInstance }),
|
|
2060
2244
|
placeholderFilled: email,
|
|
2061
2245
|
label: "Email ID",
|
|
2062
2246
|
className: ScProfileSettingsComp_default.scTextFieldInstance2
|
|
@@ -2074,7 +2258,7 @@ var ScRole_default = {
|
|
|
2074
2258
|
};
|
|
2075
2259
|
|
|
2076
2260
|
// src/SC-Role/ScRole.tsx
|
|
2077
|
-
import { jsx as
|
|
2261
|
+
import { jsx as jsx34, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2078
2262
|
var ScRole = ({
|
|
2079
2263
|
type = "admin",
|
|
2080
2264
|
label,
|
|
@@ -2083,12 +2267,12 @@ var ScRole = ({
|
|
|
2083
2267
|
}) => {
|
|
2084
2268
|
const variantsClassName = ScRole_default["type-" + type];
|
|
2085
2269
|
const displayLabel = label ?? (type === "admin" ? "Admin" : "Member");
|
|
2086
|
-
return /* @__PURE__ */
|
|
2270
|
+
return /* @__PURE__ */ jsx34(
|
|
2087
2271
|
"div",
|
|
2088
2272
|
{
|
|
2089
2273
|
className: ScRole_default.scRole + " " + className + " " + variantsClassName,
|
|
2090
2274
|
...props,
|
|
2091
|
-
children: /* @__PURE__ */
|
|
2275
|
+
children: /* @__PURE__ */ jsxs28("div", { className: ScRole_default.role, children: [
|
|
2092
2276
|
displayLabel,
|
|
2093
2277
|
" "
|
|
2094
2278
|
] })
|
|
@@ -2131,34 +2315,48 @@ import { SiconPlus } from "@streamoid/icons";
|
|
|
2131
2315
|
var ScSidebarMenu_default = {
|
|
2132
2316
|
scSidebarMenu: "ScSidebarMenu_scSidebarMenu",
|
|
2133
2317
|
content: "ScSidebarMenu_content",
|
|
2318
|
+
moreIconWrapper: "ScSidebarMenu_moreIconWrapper",
|
|
2134
2319
|
"state-active": "ScSidebarMenu_state-active",
|
|
2320
|
+
"state-default-highlight": "ScSidebarMenu_state-default-highlight",
|
|
2135
2321
|
"state-hover": "ScSidebarMenu_state-hover",
|
|
2136
2322
|
"variant-collapsed": "ScSidebarMenu_variant-collapsed"
|
|
2137
2323
|
};
|
|
2138
2324
|
|
|
2139
2325
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
2140
2326
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
2141
|
-
import { Fragment as Fragment11, jsx as
|
|
2327
|
+
import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2142
2328
|
var ScSidebarMenu = ({
|
|
2143
|
-
icon = /* @__PURE__ */
|
|
2329
|
+
icon = /* @__PURE__ */ jsx35(SiconHome9, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
2144
2330
|
state = "default",
|
|
2145
2331
|
variant = "expanded",
|
|
2146
2332
|
className,
|
|
2147
2333
|
text = "Menu Item",
|
|
2334
|
+
moreIcon,
|
|
2335
|
+
onMoreClick,
|
|
2148
2336
|
...props
|
|
2149
2337
|
}) => {
|
|
2150
2338
|
const variantsClassName = ScSidebarMenu_default["state-" + state] + " " + ScSidebarMenu_default["variant-" + variant];
|
|
2151
|
-
return /* @__PURE__ */
|
|
2339
|
+
return /* @__PURE__ */ jsxs29(
|
|
2152
2340
|
"div",
|
|
2153
2341
|
{
|
|
2154
2342
|
className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
|
|
2155
2343
|
...props,
|
|
2156
2344
|
children: [
|
|
2157
2345
|
icon,
|
|
2158
|
-
variant === "expanded" && /* @__PURE__ */
|
|
2159
|
-
text,
|
|
2160
|
-
|
|
2161
|
-
|
|
2346
|
+
variant === "expanded" && /* @__PURE__ */ jsxs29(Fragment11, { children: [
|
|
2347
|
+
/* @__PURE__ */ jsx35("div", { className: ScSidebarMenu_default.content, children: text }),
|
|
2348
|
+
moreIcon && /* @__PURE__ */ jsx35(
|
|
2349
|
+
"div",
|
|
2350
|
+
{
|
|
2351
|
+
className: ScSidebarMenu_default.moreIconWrapper,
|
|
2352
|
+
onClick: (e) => {
|
|
2353
|
+
e.stopPropagation();
|
|
2354
|
+
onMoreClick?.(e);
|
|
2355
|
+
},
|
|
2356
|
+
children: moreIcon
|
|
2357
|
+
}
|
|
2358
|
+
)
|
|
2359
|
+
] })
|
|
2162
2360
|
]
|
|
2163
2361
|
}
|
|
2164
2362
|
);
|
|
@@ -2179,7 +2377,7 @@ var ScSidebarProfile_default = {
|
|
|
2179
2377
|
};
|
|
2180
2378
|
|
|
2181
2379
|
// src/SC-Sidebar profile/ScSidebarProfile.tsx
|
|
2182
|
-
import { jsx as
|
|
2380
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2183
2381
|
var ScSidebarProfile = ({
|
|
2184
2382
|
state = "default",
|
|
2185
2383
|
variant = "expanded",
|
|
@@ -2187,12 +2385,12 @@ var ScSidebarProfile = ({
|
|
|
2187
2385
|
...props
|
|
2188
2386
|
}) => {
|
|
2189
2387
|
const variantsClassName = ScSidebarProfile_default["state-" + state] + " " + ScSidebarProfile_default["variant-" + variant];
|
|
2190
|
-
return /* @__PURE__ */
|
|
2388
|
+
return /* @__PURE__ */ jsx36(
|
|
2191
2389
|
"div",
|
|
2192
2390
|
{
|
|
2193
2391
|
className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
|
|
2194
2392
|
...props,
|
|
2195
|
-
children: /* @__PURE__ */
|
|
2393
|
+
children: /* @__PURE__ */ jsx36(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
|
|
2196
2394
|
}
|
|
2197
2395
|
);
|
|
2198
2396
|
};
|
|
@@ -2205,15 +2403,15 @@ var ScSidebarIcons_default = {
|
|
|
2205
2403
|
|
|
2206
2404
|
// src/SC-sidebar icons/ScSidebarIcons.tsx
|
|
2207
2405
|
import { SiconSupport } from "@streamoid/icons";
|
|
2208
|
-
import { jsx as
|
|
2406
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2209
2407
|
var ScSidebarIcons = ({
|
|
2210
|
-
instance = /* @__PURE__ */
|
|
2408
|
+
instance = /* @__PURE__ */ jsx37(SiconSupport, { className: ScSidebarIcons_default.siconSupportInstance }),
|
|
2211
2409
|
state = "default",
|
|
2212
2410
|
className,
|
|
2213
2411
|
...props
|
|
2214
2412
|
}) => {
|
|
2215
2413
|
const variantsClassName = ScSidebarIcons_default["state-" + state];
|
|
2216
|
-
return /* @__PURE__ */
|
|
2414
|
+
return /* @__PURE__ */ jsx37(
|
|
2217
2415
|
"div",
|
|
2218
2416
|
{
|
|
2219
2417
|
className: ScSidebarIcons_default.scSidebarIcons + " " + className + " " + variantsClassName,
|
|
@@ -2236,7 +2434,7 @@ var ScVersion_default = {
|
|
|
2236
2434
|
|
|
2237
2435
|
// src/SC-version/ScVersion.tsx
|
|
2238
2436
|
import { SiconCollapse } from "@streamoid/icons";
|
|
2239
|
-
import { Fragment as Fragment12, jsx as
|
|
2437
|
+
import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2240
2438
|
var ScVersion = ({
|
|
2241
2439
|
state = "expanded",
|
|
2242
2440
|
version = "v2.1.2",
|
|
@@ -2246,27 +2444,27 @@ var ScVersion = ({
|
|
|
2246
2444
|
...props
|
|
2247
2445
|
}) => {
|
|
2248
2446
|
const variantsClassName = ScVersion_default["state-" + state];
|
|
2249
|
-
return /* @__PURE__ */
|
|
2447
|
+
return /* @__PURE__ */ jsxs30(
|
|
2250
2448
|
"div",
|
|
2251
2449
|
{
|
|
2252
2450
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
2253
2451
|
...props,
|
|
2254
2452
|
children: [
|
|
2255
|
-
state === "collapsed" && /* @__PURE__ */
|
|
2453
|
+
state === "collapsed" && /* @__PURE__ */ jsx38(Fragment12, { children: /* @__PURE__ */ jsx38("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx38(
|
|
2256
2454
|
ScSidebarIcons,
|
|
2257
2455
|
{
|
|
2258
|
-
instance: scSidebarIconsinstance || /* @__PURE__ */
|
|
2456
|
+
instance: scSidebarIconsinstance || /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2259
2457
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2260
2458
|
}
|
|
2261
2459
|
) }) }),
|
|
2262
|
-
/* @__PURE__ */
|
|
2460
|
+
/* @__PURE__ */ jsxs30("div", { className: ScVersion_default.content, children: [
|
|
2263
2461
|
version,
|
|
2264
2462
|
" "
|
|
2265
2463
|
] }),
|
|
2266
|
-
state === "expanded" && /* @__PURE__ */
|
|
2464
|
+
state === "expanded" && /* @__PURE__ */ jsx38(Fragment12, { children: /* @__PURE__ */ jsx38(
|
|
2267
2465
|
ScSidebarIcons,
|
|
2268
2466
|
{
|
|
2269
|
-
instance: /* @__PURE__ */
|
|
2467
|
+
instance: /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2270
2468
|
state: "hover",
|
|
2271
2469
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2272
2470
|
}
|
|
@@ -2277,7 +2475,7 @@ var ScVersion = ({
|
|
|
2277
2475
|
};
|
|
2278
2476
|
|
|
2279
2477
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2280
|
-
import { Fragment as Fragment13, jsx as
|
|
2478
|
+
import { Fragment as Fragment13, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2281
2479
|
var ScSidebar = ({
|
|
2282
2480
|
state = "expanded",
|
|
2283
2481
|
className,
|
|
@@ -2285,46 +2483,46 @@ var ScSidebar = ({
|
|
|
2285
2483
|
...props
|
|
2286
2484
|
}) => {
|
|
2287
2485
|
const variantsClassName = ScSidebar_default["state-" + state];
|
|
2288
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsxs31(
|
|
2289
2487
|
"div",
|
|
2290
2488
|
{
|
|
2291
2489
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
2292
2490
|
children: [
|
|
2293
|
-
state === "collapsed" && /* @__PURE__ */
|
|
2294
|
-
/* @__PURE__ */
|
|
2295
|
-
/* @__PURE__ */
|
|
2491
|
+
state === "collapsed" && /* @__PURE__ */ jsx39(Fragment13, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedContainer, children: [
|
|
2492
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItems, children: [
|
|
2493
|
+
/* @__PURE__ */ jsx39(
|
|
2296
2494
|
ScLogoUnit,
|
|
2297
2495
|
{
|
|
2298
2496
|
state: "collapsed",
|
|
2299
2497
|
className: ScSidebar_default.scLogoUnitInstance
|
|
2300
2498
|
}
|
|
2301
2499
|
),
|
|
2302
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.collapsedItemContainer, children: /* @__PURE__ */ jsx39(
|
|
2303
2501
|
ScSidebarMenu,
|
|
2304
2502
|
{
|
|
2305
2503
|
text: "New chat",
|
|
2306
|
-
icon: /* @__PURE__ */
|
|
2504
|
+
icon: /* @__PURE__ */ jsx39(SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2307
2505
|
variant: "collapsed",
|
|
2308
2506
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2309
2507
|
}
|
|
2310
2508
|
) }),
|
|
2311
|
-
/* @__PURE__ */
|
|
2312
|
-
/* @__PURE__ */
|
|
2313
|
-
/* @__PURE__ */
|
|
2509
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2510
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2511
|
+
/* @__PURE__ */ jsx39(
|
|
2314
2512
|
ScSidebarMenu,
|
|
2315
2513
|
{
|
|
2316
2514
|
text: "Artifax",
|
|
2317
|
-
icon: /* @__PURE__ */
|
|
2515
|
+
icon: /* @__PURE__ */ jsx39(SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2318
2516
|
state: "active",
|
|
2319
2517
|
variant: "collapsed",
|
|
2320
2518
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2321
2519
|
}
|
|
2322
2520
|
),
|
|
2323
|
-
/* @__PURE__ */
|
|
2521
|
+
/* @__PURE__ */ jsx39(
|
|
2324
2522
|
ScSidebarMenu,
|
|
2325
2523
|
{
|
|
2326
2524
|
text: "Photogenix",
|
|
2327
|
-
icon: /* @__PURE__ */
|
|
2525
|
+
icon: /* @__PURE__ */ jsx39(
|
|
2328
2526
|
SiconPhotogenix,
|
|
2329
2527
|
{
|
|
2330
2528
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
@@ -2334,130 +2532,130 @@ var ScSidebar = ({
|
|
|
2334
2532
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2335
2533
|
}
|
|
2336
2534
|
),
|
|
2337
|
-
/* @__PURE__ */
|
|
2535
|
+
/* @__PURE__ */ jsx39(
|
|
2338
2536
|
ScSidebarMenu,
|
|
2339
2537
|
{
|
|
2340
2538
|
text: "Catalogix",
|
|
2341
|
-
icon: /* @__PURE__ */
|
|
2539
|
+
icon: /* @__PURE__ */ jsx39(SiconCatalogix2, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2342
2540
|
variant: "collapsed",
|
|
2343
2541
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2344
2542
|
}
|
|
2345
2543
|
)
|
|
2346
2544
|
] }),
|
|
2347
|
-
/* @__PURE__ */
|
|
2348
|
-
/* @__PURE__ */
|
|
2349
|
-
/* @__PURE__ */
|
|
2545
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2546
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2547
|
+
/* @__PURE__ */ jsx39(
|
|
2350
2548
|
ScSidebarMenu,
|
|
2351
2549
|
{
|
|
2352
2550
|
text: "Teams",
|
|
2353
|
-
icon: /* @__PURE__ */
|
|
2551
|
+
icon: /* @__PURE__ */ jsx39(SiconTeam3, { className: ScSidebar_default.siconTeamInstance }),
|
|
2354
2552
|
variant: "collapsed",
|
|
2355
2553
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2356
2554
|
}
|
|
2357
2555
|
),
|
|
2358
|
-
/* @__PURE__ */
|
|
2556
|
+
/* @__PURE__ */ jsx39(
|
|
2359
2557
|
ScSidebarMenu,
|
|
2360
2558
|
{
|
|
2361
2559
|
text: "Billing",
|
|
2362
|
-
icon: /* @__PURE__ */
|
|
2560
|
+
icon: /* @__PURE__ */ jsx39(SiconBilling3, { className: ScSidebar_default.siconBillingInstance }),
|
|
2363
2561
|
variant: "collapsed",
|
|
2364
2562
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2365
2563
|
}
|
|
2366
2564
|
)
|
|
2367
2565
|
] }),
|
|
2368
|
-
/* @__PURE__ */
|
|
2369
|
-
/* @__PURE__ */
|
|
2370
|
-
/* @__PURE__ */
|
|
2566
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance3 }),
|
|
2567
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2568
|
+
/* @__PURE__ */ jsx39(
|
|
2371
2569
|
ScSidebarMenu,
|
|
2372
2570
|
{
|
|
2373
2571
|
text: "Chat 1",
|
|
2374
|
-
icon: /* @__PURE__ */
|
|
2572
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2375
2573
|
variant: "collapsed",
|
|
2376
2574
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2377
2575
|
}
|
|
2378
2576
|
),
|
|
2379
|
-
/* @__PURE__ */
|
|
2577
|
+
/* @__PURE__ */ jsx39(
|
|
2380
2578
|
ScSidebarMenu,
|
|
2381
2579
|
{
|
|
2382
2580
|
text: "Chat 2",
|
|
2383
|
-
icon: /* @__PURE__ */
|
|
2581
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2384
2582
|
variant: "collapsed",
|
|
2385
2583
|
className: ScSidebar_default.scSidebarMenuInstance2
|
|
2386
2584
|
}
|
|
2387
2585
|
),
|
|
2388
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ jsx39(
|
|
2389
2587
|
ScSidebarMenu,
|
|
2390
2588
|
{
|
|
2391
2589
|
text: "Chat 3",
|
|
2392
|
-
icon: /* @__PURE__ */
|
|
2590
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2393
2591
|
variant: "collapsed",
|
|
2394
2592
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2395
2593
|
}
|
|
2396
2594
|
),
|
|
2397
|
-
/* @__PURE__ */
|
|
2595
|
+
/* @__PURE__ */ jsx39(
|
|
2398
2596
|
ScSidebarMenu,
|
|
2399
2597
|
{
|
|
2400
2598
|
text: "View all",
|
|
2401
|
-
icon: /* @__PURE__ */
|
|
2599
|
+
icon: /* @__PURE__ */ jsx39(SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2402
2600
|
variant: "collapsed",
|
|
2403
2601
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2404
2602
|
}
|
|
2405
2603
|
)
|
|
2406
2604
|
] })
|
|
2407
2605
|
] }),
|
|
2408
|
-
/* @__PURE__ */
|
|
2606
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.collapsedItemContainer2, children: /* @__PURE__ */ jsx39(
|
|
2409
2607
|
ScSidebarMenu,
|
|
2410
2608
|
{
|
|
2411
2609
|
text: "Live support",
|
|
2412
|
-
icon: /* @__PURE__ */
|
|
2610
|
+
icon: /* @__PURE__ */ jsx39(SiconSupport2, { className: ScSidebar_default.siconSupportInstance }),
|
|
2413
2611
|
variant: "collapsed",
|
|
2414
2612
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2415
2613
|
}
|
|
2416
2614
|
) }),
|
|
2417
|
-
/* @__PURE__ */
|
|
2418
|
-
/* @__PURE__ */
|
|
2615
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance4 }),
|
|
2616
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.collapsedItemContainer3, children: /* @__PURE__ */ jsx39(
|
|
2419
2617
|
ScSidebarProfile,
|
|
2420
2618
|
{
|
|
2421
2619
|
variant: "collapsed",
|
|
2422
2620
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2423
2621
|
}
|
|
2424
2622
|
) }),
|
|
2425
|
-
/* @__PURE__ */
|
|
2426
|
-
/* @__PURE__ */
|
|
2623
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance5 }),
|
|
2624
|
+
/* @__PURE__ */ jsx39(
|
|
2427
2625
|
ScVersion,
|
|
2428
2626
|
{
|
|
2429
2627
|
state: "collapsed",
|
|
2430
|
-
scSidebarIconsinstance: /* @__PURE__ */
|
|
2628
|
+
scSidebarIconsinstance: /* @__PURE__ */ jsx39(SiconCollapse2, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2431
2629
|
className: ScSidebar_default.scVersionInstance
|
|
2432
2630
|
}
|
|
2433
2631
|
)
|
|
2434
2632
|
] }) }),
|
|
2435
|
-
state === "expanded" && /* @__PURE__ */
|
|
2436
|
-
/* @__PURE__ */
|
|
2437
|
-
/* @__PURE__ */
|
|
2438
|
-
/* @__PURE__ */
|
|
2633
|
+
state === "expanded" && /* @__PURE__ */ jsx39(Fragment13, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedContainer, children: [
|
|
2634
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedItems, children: [
|
|
2635
|
+
/* @__PURE__ */ jsx39(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
|
|
2636
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx39(
|
|
2439
2637
|
ScSidebarMenu,
|
|
2440
2638
|
{
|
|
2441
|
-
icon: /* @__PURE__ */
|
|
2639
|
+
icon: /* @__PURE__ */ jsx39(SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2442
2640
|
text: "New chat",
|
|
2443
2641
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2444
2642
|
}
|
|
2445
2643
|
) }),
|
|
2446
|
-
/* @__PURE__ */
|
|
2447
|
-
/* @__PURE__ */
|
|
2448
|
-
/* @__PURE__ */
|
|
2644
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2645
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ jsx39("div", { className: ScSidebar_default.content, children: "Apps " }) }),
|
|
2646
|
+
/* @__PURE__ */ jsx39(
|
|
2449
2647
|
ScSidebarMenu,
|
|
2450
2648
|
{
|
|
2451
|
-
icon: /* @__PURE__ */
|
|
2649
|
+
icon: /* @__PURE__ */ jsx39(SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2452
2650
|
text: "Artifax",
|
|
2453
2651
|
state: "active",
|
|
2454
2652
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2455
2653
|
}
|
|
2456
2654
|
),
|
|
2457
|
-
/* @__PURE__ */
|
|
2655
|
+
/* @__PURE__ */ jsx39(
|
|
2458
2656
|
ScSidebarMenu,
|
|
2459
2657
|
{
|
|
2460
|
-
icon: /* @__PURE__ */
|
|
2658
|
+
icon: /* @__PURE__ */ jsx39(
|
|
2461
2659
|
SiconPhotogenix,
|
|
2462
2660
|
{
|
|
2463
2661
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
@@ -2467,97 +2665,97 @@ var ScSidebar = ({
|
|
|
2467
2665
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2468
2666
|
}
|
|
2469
2667
|
),
|
|
2470
|
-
/* @__PURE__ */
|
|
2668
|
+
/* @__PURE__ */ jsx39(
|
|
2471
2669
|
ScSidebarMenu,
|
|
2472
2670
|
{
|
|
2473
|
-
icon: /* @__PURE__ */
|
|
2671
|
+
icon: /* @__PURE__ */ jsx39(SiconCatalogix2, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2474
2672
|
text: "Catalogix",
|
|
2475
2673
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2476
2674
|
}
|
|
2477
2675
|
)
|
|
2478
2676
|
] }),
|
|
2479
|
-
/* @__PURE__ */
|
|
2480
|
-
/* @__PURE__ */
|
|
2481
|
-
/* @__PURE__ */
|
|
2677
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2678
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ jsx39("div", { className: ScSidebar_default.content, children: "Management " }) }),
|
|
2679
|
+
/* @__PURE__ */ jsx39(
|
|
2482
2680
|
ScSidebarMenu,
|
|
2483
2681
|
{
|
|
2484
|
-
icon: /* @__PURE__ */
|
|
2682
|
+
icon: /* @__PURE__ */ jsx39(SiconTeam3, { className: ScSidebar_default.siconTeamInstance }),
|
|
2485
2683
|
text: "Teams",
|
|
2486
2684
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2487
2685
|
}
|
|
2488
2686
|
),
|
|
2489
|
-
/* @__PURE__ */
|
|
2687
|
+
/* @__PURE__ */ jsx39(
|
|
2490
2688
|
ScSidebarMenu,
|
|
2491
2689
|
{
|
|
2492
|
-
icon: /* @__PURE__ */
|
|
2690
|
+
icon: /* @__PURE__ */ jsx39(SiconBilling3, { className: ScSidebar_default.siconBillingInstance }),
|
|
2493
2691
|
text: "Billing",
|
|
2494
2692
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2495
2693
|
}
|
|
2496
2694
|
)
|
|
2497
2695
|
] }),
|
|
2498
|
-
/* @__PURE__ */
|
|
2499
|
-
/* @__PURE__ */
|
|
2500
|
-
/* @__PURE__ */
|
|
2696
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2697
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ jsx39("div", { className: ScSidebar_default.content, children: "Recents " }) }),
|
|
2698
|
+
/* @__PURE__ */ jsx39(
|
|
2501
2699
|
ScSidebarMenu,
|
|
2502
2700
|
{
|
|
2503
|
-
icon: /* @__PURE__ */
|
|
2701
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2504
2702
|
text: "Chat 1",
|
|
2505
2703
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2506
2704
|
}
|
|
2507
2705
|
),
|
|
2508
|
-
/* @__PURE__ */
|
|
2706
|
+
/* @__PURE__ */ jsx39(
|
|
2509
2707
|
ScSidebarMenu,
|
|
2510
2708
|
{
|
|
2511
|
-
icon: /* @__PURE__ */
|
|
2709
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2512
2710
|
text: "Chat 2",
|
|
2513
2711
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2514
2712
|
}
|
|
2515
2713
|
),
|
|
2516
|
-
/* @__PURE__ */
|
|
2714
|
+
/* @__PURE__ */ jsx39(
|
|
2517
2715
|
ScSidebarMenu,
|
|
2518
2716
|
{
|
|
2519
|
-
icon: /* @__PURE__ */
|
|
2717
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2520
2718
|
text: "Chat 3",
|
|
2521
2719
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2522
2720
|
}
|
|
2523
2721
|
),
|
|
2524
|
-
/* @__PURE__ */
|
|
2722
|
+
/* @__PURE__ */ jsx39(
|
|
2525
2723
|
ScSidebarMenu,
|
|
2526
2724
|
{
|
|
2527
|
-
icon: /* @__PURE__ */
|
|
2725
|
+
icon: /* @__PURE__ */ jsx39(SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2528
2726
|
text: "View all",
|
|
2529
2727
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2530
2728
|
}
|
|
2531
2729
|
)
|
|
2532
2730
|
] })
|
|
2533
2731
|
] }),
|
|
2534
|
-
/* @__PURE__ */
|
|
2732
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx39(
|
|
2535
2733
|
ScSidebarMenu,
|
|
2536
2734
|
{
|
|
2537
|
-
icon: /* @__PURE__ */
|
|
2735
|
+
icon: /* @__PURE__ */ jsx39(SiconSupport2, { className: ScSidebar_default.siconSupportInstance }),
|
|
2538
2736
|
text: "Live support",
|
|
2539
2737
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2540
2738
|
}
|
|
2541
2739
|
) }),
|
|
2542
|
-
/* @__PURE__ */
|
|
2543
|
-
/* @__PURE__ */
|
|
2740
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2741
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer2, children: /* @__PURE__ */ jsx39(
|
|
2544
2742
|
ScSidebarProfile,
|
|
2545
2743
|
{
|
|
2546
2744
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2547
2745
|
}
|
|
2548
2746
|
) }),
|
|
2549
|
-
/* @__PURE__ */
|
|
2550
|
-
/* @__PURE__ */
|
|
2747
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2748
|
+
/* @__PURE__ */ jsx39(
|
|
2551
2749
|
ScVersion,
|
|
2552
2750
|
{
|
|
2553
|
-
component: /* @__PURE__ */
|
|
2751
|
+
component: /* @__PURE__ */ jsx39(
|
|
2554
2752
|
ScSidebarIcons,
|
|
2555
2753
|
{
|
|
2556
2754
|
className: ScSidebar_default.scSidebarIconsInstance,
|
|
2557
|
-
instance: /* @__PURE__ */
|
|
2755
|
+
instance: /* @__PURE__ */ jsx39(SiconCollapse2, { className: ScSidebar_default.siconCollapseInstance })
|
|
2558
2756
|
}
|
|
2559
2757
|
),
|
|
2560
|
-
scSidebarIconsinstance: /* @__PURE__ */
|
|
2758
|
+
scSidebarIconsinstance: /* @__PURE__ */ jsx39(SiconCollapse2, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2561
2759
|
className: ScSidebar_default.scVersionInstance
|
|
2562
2760
|
}
|
|
2563
2761
|
)
|
|
@@ -2568,9 +2766,9 @@ var ScSidebar = ({
|
|
|
2568
2766
|
};
|
|
2569
2767
|
|
|
2570
2768
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
2571
|
-
import { Fragment as Fragment14, jsx as
|
|
2769
|
+
import { Fragment as Fragment14, jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2572
2770
|
function SectionHeader({ label }) {
|
|
2573
|
-
return /* @__PURE__ */
|
|
2771
|
+
return /* @__PURE__ */ jsx40("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ jsx40("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsx40(
|
|
2574
2772
|
"div",
|
|
2575
2773
|
{
|
|
2576
2774
|
className: "flex items-center w-full text-text-xs-regular",
|
|
@@ -2578,12 +2776,12 @@ function SectionHeader({ label }) {
|
|
|
2578
2776
|
padding: "var(--spacing-xs) var(--spacing-3xl)",
|
|
2579
2777
|
color: "var(--alias-text---icons-tertiary)"
|
|
2580
2778
|
},
|
|
2581
|
-
children: /* @__PURE__ */
|
|
2779
|
+
children: /* @__PURE__ */ jsx40("span", { children: label })
|
|
2582
2780
|
}
|
|
2583
2781
|
) }) });
|
|
2584
2782
|
}
|
|
2585
2783
|
function HDivider() {
|
|
2586
|
-
return /* @__PURE__ */
|
|
2784
|
+
return /* @__PURE__ */ jsx40(
|
|
2587
2785
|
"div",
|
|
2588
2786
|
{
|
|
2589
2787
|
className: "shrink-0 w-full",
|
|
@@ -2614,18 +2812,25 @@ function renderMenuItem({
|
|
|
2614
2812
|
sectionId,
|
|
2615
2813
|
expanded,
|
|
2616
2814
|
activeItemId,
|
|
2815
|
+
highlightedItemIds,
|
|
2617
2816
|
iconMap,
|
|
2618
|
-
onItemSelect
|
|
2817
|
+
onItemSelect,
|
|
2818
|
+
moreIcon,
|
|
2819
|
+
onMoreClick
|
|
2619
2820
|
}) {
|
|
2620
2821
|
const active = item.id === activeItemId;
|
|
2621
|
-
|
|
2822
|
+
const highlighted = highlightedItemIds?.has(item.id) ?? false;
|
|
2823
|
+
const state = active ? "active" : highlighted ? "default-highlight" : "default";
|
|
2824
|
+
return /* @__PURE__ */ jsx40(
|
|
2622
2825
|
ScSidebarMenu,
|
|
2623
2826
|
{
|
|
2624
|
-
icon: resolveIcon(iconMap, item, active, expanded),
|
|
2827
|
+
icon: resolveIcon(iconMap, item, active || highlighted, expanded),
|
|
2625
2828
|
text: expanded ? item.label : void 0,
|
|
2626
|
-
state
|
|
2829
|
+
state,
|
|
2627
2830
|
variant: expanded ? "expanded" : "collapsed",
|
|
2628
|
-
onClick: () => onItemSelect?.(item, sectionId)
|
|
2831
|
+
onClick: () => onItemSelect?.(item, sectionId),
|
|
2832
|
+
moreIcon,
|
|
2833
|
+
onMoreClick: onMoreClick ? () => onMoreClick(item, sectionId) : void 0
|
|
2629
2834
|
},
|
|
2630
2835
|
item.id
|
|
2631
2836
|
);
|
|
@@ -2636,7 +2841,10 @@ function StreamoidSidebar({
|
|
|
2636
2841
|
config,
|
|
2637
2842
|
iconMap,
|
|
2638
2843
|
activeItemId,
|
|
2844
|
+
highlightedItemIds,
|
|
2639
2845
|
onItemSelect,
|
|
2846
|
+
moreIcon,
|
|
2847
|
+
onMoreClick,
|
|
2640
2848
|
expandedLogo,
|
|
2641
2849
|
collapsedLogo,
|
|
2642
2850
|
profile,
|
|
@@ -2644,16 +2852,20 @@ function StreamoidSidebar({
|
|
|
2644
2852
|
toggleIcon,
|
|
2645
2853
|
hideFooter = false,
|
|
2646
2854
|
preFooterContent,
|
|
2855
|
+
bodyContent,
|
|
2856
|
+
showBody = false,
|
|
2857
|
+
isMobile = false,
|
|
2647
2858
|
className,
|
|
2648
2859
|
style
|
|
2649
2860
|
}) {
|
|
2861
|
+
const effectiveHideFooter = hideFooter || isMobile;
|
|
2650
2862
|
if (expanded) {
|
|
2651
|
-
return /* @__PURE__ */
|
|
2863
|
+
return /* @__PURE__ */ jsx40(
|
|
2652
2864
|
"div",
|
|
2653
2865
|
{
|
|
2654
2866
|
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
2655
2867
|
style: { padding: "var(--spacing-3xl)", ...style },
|
|
2656
|
-
children: /* @__PURE__ */
|
|
2868
|
+
children: /* @__PURE__ */ jsxs32(
|
|
2657
2869
|
"div",
|
|
2658
2870
|
{
|
|
2659
2871
|
className: "flex flex-col h-full relative shrink-0",
|
|
@@ -2661,12 +2873,12 @@ function StreamoidSidebar({
|
|
|
2661
2873
|
backgroundColor: "var(--alias-surface-base)",
|
|
2662
2874
|
borderRadius: "var(--radius-3xl)",
|
|
2663
2875
|
padding: "var(--spacing-md)",
|
|
2664
|
-
paddingBottom:
|
|
2876
|
+
paddingBottom: effectiveHideFooter ? "var(--spacing-md)" : void 0,
|
|
2665
2877
|
width: 256,
|
|
2666
2878
|
gap: "var(--spacing-xxs)"
|
|
2667
2879
|
},
|
|
2668
2880
|
children: [
|
|
2669
|
-
/* @__PURE__ */
|
|
2881
|
+
/* @__PURE__ */ jsx40(
|
|
2670
2882
|
"div",
|
|
2671
2883
|
{
|
|
2672
2884
|
"aria-hidden": "true",
|
|
@@ -2677,29 +2889,50 @@ function StreamoidSidebar({
|
|
|
2677
2889
|
}
|
|
2678
2890
|
}
|
|
2679
2891
|
),
|
|
2680
|
-
/* @__PURE__ */
|
|
2892
|
+
/* @__PURE__ */ jsxs32(
|
|
2681
2893
|
"div",
|
|
2682
2894
|
{
|
|
2683
2895
|
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
2684
2896
|
style: { gap: "var(--spacing-xxs)" },
|
|
2685
2897
|
children: [
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2898
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-between w-full shrink-0", children: [
|
|
2899
|
+
/* @__PURE__ */ jsx40("div", { className: "min-w-0 flex-1", children: expandedLogo }),
|
|
2900
|
+
isMobile ? /* @__PURE__ */ jsx40(
|
|
2901
|
+
"div",
|
|
2902
|
+
{
|
|
2903
|
+
className: "flex items-center cursor-pointer shrink-0",
|
|
2904
|
+
style: {
|
|
2905
|
+
padding: "var(--spacing-md)",
|
|
2906
|
+
borderRadius: "var(--radius-3xl)"
|
|
2907
|
+
},
|
|
2908
|
+
onClick: onToggle,
|
|
2909
|
+
children: resolveToggleIcon(toggleIcon, true)
|
|
2910
|
+
}
|
|
2911
|
+
) : null
|
|
2912
|
+
] }),
|
|
2913
|
+
config.topItem && /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
2914
|
+
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
2915
|
+
/* @__PURE__ */ jsx40(
|
|
2916
|
+
"div",
|
|
2917
|
+
{
|
|
2918
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
2919
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
2920
|
+
children: renderMenuItem({
|
|
2921
|
+
item: config.topItem,
|
|
2922
|
+
sectionId: "top",
|
|
2923
|
+
expanded: true,
|
|
2924
|
+
activeItemId,
|
|
2925
|
+
highlightedItemIds,
|
|
2926
|
+
iconMap,
|
|
2927
|
+
onItemSelect,
|
|
2928
|
+
moreIcon,
|
|
2929
|
+
onMoreClick
|
|
2930
|
+
})
|
|
2931
|
+
}
|
|
2932
|
+
),
|
|
2933
|
+
/* @__PURE__ */ jsx40(HDivider, {})
|
|
2934
|
+
] }),
|
|
2935
|
+
showBody && bodyContent ? /* @__PURE__ */ jsx40("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsx40(Fragment14, { children: config.sections.map((section) => /* @__PURE__ */ jsxs32(
|
|
2703
2936
|
"div",
|
|
2704
2937
|
{
|
|
2705
2938
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2708,7 +2941,7 @@ function StreamoidSidebar({
|
|
|
2708
2941
|
gap: "var(--spacing-xxs)"
|
|
2709
2942
|
},
|
|
2710
2943
|
children: [
|
|
2711
|
-
section.label ? /* @__PURE__ */
|
|
2944
|
+
section.label ? /* @__PURE__ */ jsx40(SectionHeader, { label: section.label }) : null,
|
|
2712
2945
|
section.items.map(
|
|
2713
2946
|
(item) => renderMenuItem({
|
|
2714
2947
|
item,
|
|
@@ -2722,11 +2955,12 @@ function StreamoidSidebar({
|
|
|
2722
2955
|
]
|
|
2723
2956
|
},
|
|
2724
2957
|
section.id
|
|
2725
|
-
))
|
|
2958
|
+
)) })
|
|
2726
2959
|
]
|
|
2727
2960
|
}
|
|
2728
2961
|
),
|
|
2729
|
-
|
|
2962
|
+
preFooterContent,
|
|
2963
|
+
config.bottomItems?.length ? /* @__PURE__ */ jsx40(
|
|
2730
2964
|
"div",
|
|
2731
2965
|
{
|
|
2732
2966
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2743,16 +2977,14 @@ function StreamoidSidebar({
|
|
|
2743
2977
|
)
|
|
2744
2978
|
}
|
|
2745
2979
|
) : null,
|
|
2746
|
-
|
|
2747
|
-
/* @__PURE__ */
|
|
2748
|
-
|
|
2749
|
-
/* @__PURE__ */ jsxs31(
|
|
2980
|
+
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
2981
|
+
profile ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
2982
|
+
/* @__PURE__ */ jsxs32(
|
|
2750
2983
|
"div",
|
|
2751
2984
|
{
|
|
2752
2985
|
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
2753
2986
|
style: {
|
|
2754
|
-
padding: "var(--spacing-md)",
|
|
2755
|
-
marginTop: "var(--spacing-md)",
|
|
2987
|
+
padding: "var(--spacing-md) var(--spacing-xl)",
|
|
2756
2988
|
gap: "var(--spacing-md)",
|
|
2757
2989
|
borderRadius: "var(--radius-xl)"
|
|
2758
2990
|
},
|
|
@@ -2765,8 +2997,8 @@ function StreamoidSidebar({
|
|
|
2765
2997
|
},
|
|
2766
2998
|
children: [
|
|
2767
2999
|
profile.avatar,
|
|
2768
|
-
/* @__PURE__ */
|
|
2769
|
-
/* @__PURE__ */
|
|
3000
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex flex-col flex-1 min-w-0", children: [
|
|
3001
|
+
/* @__PURE__ */ jsx40(
|
|
2770
3002
|
"span",
|
|
2771
3003
|
{
|
|
2772
3004
|
className: "text-text-sm-medium truncate",
|
|
@@ -2774,7 +3006,7 @@ function StreamoidSidebar({
|
|
|
2774
3006
|
children: profile.name
|
|
2775
3007
|
}
|
|
2776
3008
|
),
|
|
2777
|
-
profile.subtitle ? /* @__PURE__ */
|
|
3009
|
+
profile.subtitle ? /* @__PURE__ */ jsx40(
|
|
2778
3010
|
"span",
|
|
2779
3011
|
{
|
|
2780
3012
|
className: "text-text-xs-regular truncate",
|
|
@@ -2786,21 +3018,18 @@ function StreamoidSidebar({
|
|
|
2786
3018
|
]
|
|
2787
3019
|
}
|
|
2788
3020
|
),
|
|
2789
|
-
!
|
|
2790
|
-
/* @__PURE__ */ jsx39("div", { style: { marginTop: "var(--spacing-md)" } }),
|
|
2791
|
-
/* @__PURE__ */ jsx39(HDivider, {})
|
|
2792
|
-
] })
|
|
3021
|
+
!effectiveHideFooter && /* @__PURE__ */ jsx40(Fragment14, { children: /* @__PURE__ */ jsx40(HDivider, {}) })
|
|
2793
3022
|
] }) : null,
|
|
2794
|
-
!
|
|
3023
|
+
!effectiveHideFooter && /* @__PURE__ */ jsx40("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx40("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs32(
|
|
2795
3024
|
"div",
|
|
2796
3025
|
{
|
|
2797
3026
|
className: "flex items-center w-full",
|
|
2798
3027
|
style: {
|
|
2799
3028
|
gap: "var(--spacing-xs)",
|
|
2800
|
-
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-
|
|
3029
|
+
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-xl)"
|
|
2801
3030
|
},
|
|
2802
3031
|
children: [
|
|
2803
|
-
/* @__PURE__ */
|
|
3032
|
+
/* @__PURE__ */ jsx40(
|
|
2804
3033
|
"p",
|
|
2805
3034
|
{
|
|
2806
3035
|
className: "flex-1 text-text-sm-regular truncate",
|
|
@@ -2808,7 +3037,7 @@ function StreamoidSidebar({
|
|
|
2808
3037
|
children: versionText
|
|
2809
3038
|
}
|
|
2810
3039
|
),
|
|
2811
|
-
/* @__PURE__ */
|
|
3040
|
+
/* @__PURE__ */ jsx40(
|
|
2812
3041
|
"div",
|
|
2813
3042
|
{
|
|
2814
3043
|
className: "flex items-center cursor-pointer",
|
|
@@ -2829,12 +3058,12 @@ function StreamoidSidebar({
|
|
|
2829
3058
|
}
|
|
2830
3059
|
);
|
|
2831
3060
|
}
|
|
2832
|
-
return /* @__PURE__ */
|
|
3061
|
+
return /* @__PURE__ */ jsx40(
|
|
2833
3062
|
"div",
|
|
2834
3063
|
{
|
|
2835
3064
|
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
2836
3065
|
style,
|
|
2837
|
-
children: /* @__PURE__ */
|
|
3066
|
+
children: /* @__PURE__ */ jsxs32(
|
|
2838
3067
|
"div",
|
|
2839
3068
|
{
|
|
2840
3069
|
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
@@ -2844,7 +3073,7 @@ function StreamoidSidebar({
|
|
|
2844
3073
|
gap: "var(--spacing-xxs)"
|
|
2845
3074
|
},
|
|
2846
3075
|
children: [
|
|
2847
|
-
/* @__PURE__ */
|
|
3076
|
+
/* @__PURE__ */ jsx40(
|
|
2848
3077
|
"div",
|
|
2849
3078
|
{
|
|
2850
3079
|
"aria-hidden": "true",
|
|
@@ -2854,15 +3083,15 @@ function StreamoidSidebar({
|
|
|
2854
3083
|
}
|
|
2855
3084
|
}
|
|
2856
3085
|
),
|
|
2857
|
-
/* @__PURE__ */
|
|
3086
|
+
/* @__PURE__ */ jsxs32(
|
|
2858
3087
|
"div",
|
|
2859
3088
|
{
|
|
2860
3089
|
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
2861
3090
|
style: { gap: "var(--spacing-xxs)" },
|
|
2862
3091
|
children: [
|
|
2863
3092
|
collapsedLogo,
|
|
2864
|
-
config.topItem ? /* @__PURE__ */
|
|
2865
|
-
/* @__PURE__ */
|
|
3093
|
+
config.topItem ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
3094
|
+
/* @__PURE__ */ jsx40(
|
|
2866
3095
|
"div",
|
|
2867
3096
|
{
|
|
2868
3097
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -2872,15 +3101,18 @@ function StreamoidSidebar({
|
|
|
2872
3101
|
sectionId: "top",
|
|
2873
3102
|
expanded: false,
|
|
2874
3103
|
activeItemId,
|
|
3104
|
+
highlightedItemIds,
|
|
2875
3105
|
iconMap,
|
|
2876
|
-
onItemSelect
|
|
3106
|
+
onItemSelect,
|
|
3107
|
+
moreIcon,
|
|
3108
|
+
onMoreClick
|
|
2877
3109
|
})
|
|
2878
3110
|
}
|
|
2879
3111
|
),
|
|
2880
|
-
/* @__PURE__ */
|
|
3112
|
+
/* @__PURE__ */ jsx40(HDivider, {})
|
|
2881
3113
|
] }) : null,
|
|
2882
|
-
config.sections.map((section, sectionIndex) => /* @__PURE__ */
|
|
2883
|
-
/* @__PURE__ */
|
|
3114
|
+
showBody && bodyContent ? /* @__PURE__ */ jsx40("div", { className: "flex flex-col items-center w-full", children: bodyContent }) : config.sections.map((section, sectionIndex) => /* @__PURE__ */ jsxs32("div", { className: "flex flex-col items-center w-full", children: [
|
|
3115
|
+
/* @__PURE__ */ jsx40(
|
|
2884
3116
|
"div",
|
|
2885
3117
|
{
|
|
2886
3118
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -2894,18 +3126,22 @@ function StreamoidSidebar({
|
|
|
2894
3126
|
sectionId: section.id,
|
|
2895
3127
|
expanded: false,
|
|
2896
3128
|
activeItemId,
|
|
3129
|
+
highlightedItemIds,
|
|
2897
3130
|
iconMap,
|
|
2898
|
-
onItemSelect
|
|
3131
|
+
onItemSelect,
|
|
3132
|
+
moreIcon,
|
|
3133
|
+
onMoreClick
|
|
2899
3134
|
})
|
|
2900
3135
|
)
|
|
2901
3136
|
}
|
|
2902
3137
|
),
|
|
2903
|
-
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */
|
|
3138
|
+
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ jsx40(HDivider, {}) : null
|
|
2904
3139
|
] }, section.id))
|
|
2905
3140
|
]
|
|
2906
3141
|
}
|
|
2907
3142
|
),
|
|
2908
|
-
|
|
3143
|
+
preFooterContent,
|
|
3144
|
+
config.bottomItems?.length ? /* @__PURE__ */ jsx40(
|
|
2909
3145
|
"div",
|
|
2910
3146
|
{
|
|
2911
3147
|
className: "flex flex-col items-center justify-center shrink-0 w-full",
|
|
@@ -2916,15 +3152,18 @@ function StreamoidSidebar({
|
|
|
2916
3152
|
sectionId: "bottom",
|
|
2917
3153
|
expanded: false,
|
|
2918
3154
|
activeItemId,
|
|
3155
|
+
highlightedItemIds,
|
|
2919
3156
|
iconMap,
|
|
2920
|
-
onItemSelect
|
|
3157
|
+
onItemSelect,
|
|
3158
|
+
moreIcon,
|
|
3159
|
+
onMoreClick
|
|
2921
3160
|
})
|
|
2922
3161
|
)
|
|
2923
3162
|
}
|
|
2924
3163
|
) : null,
|
|
2925
|
-
/* @__PURE__ */
|
|
2926
|
-
profile ? /* @__PURE__ */
|
|
2927
|
-
/* @__PURE__ */
|
|
3164
|
+
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
3165
|
+
profile ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
3166
|
+
/* @__PURE__ */ jsx40(
|
|
2928
3167
|
"div",
|
|
2929
3168
|
{
|
|
2930
3169
|
className: "flex items-center justify-center shrink-0 cursor-pointer",
|
|
@@ -2942,9 +3181,9 @@ function StreamoidSidebar({
|
|
|
2942
3181
|
children: profile.avatar
|
|
2943
3182
|
}
|
|
2944
3183
|
),
|
|
2945
|
-
/* @__PURE__ */
|
|
3184
|
+
/* @__PURE__ */ jsx40(HDivider, {})
|
|
2946
3185
|
] }) : null,
|
|
2947
|
-
!hideFooter && /* @__PURE__ */
|
|
3186
|
+
!hideFooter && /* @__PURE__ */ jsxs32(
|
|
2948
3187
|
"div",
|
|
2949
3188
|
{
|
|
2950
3189
|
className: "shrink-0 flex flex-col items-center",
|
|
@@ -2954,7 +3193,7 @@ function StreamoidSidebar({
|
|
|
2954
3193
|
width: 56
|
|
2955
3194
|
},
|
|
2956
3195
|
children: [
|
|
2957
|
-
/* @__PURE__ */
|
|
3196
|
+
/* @__PURE__ */ jsx40(
|
|
2958
3197
|
"div",
|
|
2959
3198
|
{
|
|
2960
3199
|
className: "flex items-center cursor-pointer",
|
|
@@ -2966,7 +3205,7 @@ function StreamoidSidebar({
|
|
|
2966
3205
|
children: resolveToggleIcon(toggleIcon, false)
|
|
2967
3206
|
}
|
|
2968
3207
|
),
|
|
2969
|
-
/* @__PURE__ */
|
|
3208
|
+
/* @__PURE__ */ jsx40(
|
|
2970
3209
|
"p",
|
|
2971
3210
|
{
|
|
2972
3211
|
className: "text-text-xs-regular text-center truncate",
|
|
@@ -2994,35 +3233,35 @@ var ScSlider_default = {
|
|
|
2994
3233
|
};
|
|
2995
3234
|
|
|
2996
3235
|
// src/SC-Slider/ScSlider.tsx
|
|
2997
|
-
import { jsx as
|
|
3236
|
+
import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2998
3237
|
var ScSlider = ({
|
|
2999
3238
|
className,
|
|
3000
3239
|
onValueChange,
|
|
3001
3240
|
...props
|
|
3002
3241
|
}) => {
|
|
3003
|
-
return /* @__PURE__ */
|
|
3004
|
-
/* @__PURE__ */
|
|
3005
|
-
/* @__PURE__ */
|
|
3006
|
-
/* @__PURE__ */
|
|
3007
|
-
/* @__PURE__ */
|
|
3008
|
-
/* @__PURE__ */
|
|
3009
|
-
/* @__PURE__ */
|
|
3010
|
-
/* @__PURE__ */
|
|
3011
|
-
/* @__PURE__ */
|
|
3012
|
-
/* @__PURE__ */
|
|
3013
|
-
/* @__PURE__ */
|
|
3242
|
+
return /* @__PURE__ */ jsxs33("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
3243
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressBar }),
|
|
3244
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressDot }),
|
|
3245
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressBar2 }),
|
|
3246
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressDot2 }),
|
|
3247
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressBar2 }),
|
|
3248
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressDot2 }),
|
|
3249
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressBar2 }),
|
|
3250
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressDot2 }),
|
|
3251
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressBar2 }),
|
|
3252
|
+
/* @__PURE__ */ jsx41("div", { className: ScSlider_default.progressDot2 })
|
|
3014
3253
|
] });
|
|
3015
3254
|
};
|
|
3016
3255
|
|
|
3017
3256
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
3018
3257
|
import { useEffect, useRef as useRef2 } from "react";
|
|
3019
3258
|
import {
|
|
3020
|
-
SiconClose,
|
|
3259
|
+
SiconClose as SiconClose2,
|
|
3021
3260
|
SiconTeam as SiconTeam4,
|
|
3022
3261
|
SiconCrown,
|
|
3023
3262
|
SiconSwitch
|
|
3024
3263
|
} from "@streamoid/icons";
|
|
3025
|
-
import { jsx as
|
|
3264
|
+
import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
3026
3265
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
3027
3266
|
function deriveInitials(name) {
|
|
3028
3267
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -3040,7 +3279,7 @@ function WorkspaceRow({
|
|
|
3040
3279
|
switchWorkspaceText,
|
|
3041
3280
|
onSwitch
|
|
3042
3281
|
}) {
|
|
3043
|
-
return /* @__PURE__ */
|
|
3282
|
+
return /* @__PURE__ */ jsxs34(
|
|
3044
3283
|
"div",
|
|
3045
3284
|
{
|
|
3046
3285
|
className: "relative shrink-0 w-full",
|
|
@@ -3050,7 +3289,7 @@ function WorkspaceRow({
|
|
|
3050
3289
|
backdropFilter: "blur(4px)"
|
|
3051
3290
|
},
|
|
3052
3291
|
children: [
|
|
3053
|
-
/* @__PURE__ */
|
|
3292
|
+
/* @__PURE__ */ jsx42(
|
|
3054
3293
|
"div",
|
|
3055
3294
|
{
|
|
3056
3295
|
"aria-hidden": "true",
|
|
@@ -3061,7 +3300,7 @@ function WorkspaceRow({
|
|
|
3061
3300
|
}
|
|
3062
3301
|
}
|
|
3063
3302
|
),
|
|
3064
|
-
/* @__PURE__ */
|
|
3303
|
+
/* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs34(
|
|
3065
3304
|
"div",
|
|
3066
3305
|
{
|
|
3067
3306
|
className: "flex items-center w-full",
|
|
@@ -3070,20 +3309,20 @@ function WorkspaceRow({
|
|
|
3070
3309
|
padding: "var(--spacing-6xl)"
|
|
3071
3310
|
},
|
|
3072
3311
|
children: [
|
|
3073
|
-
/* @__PURE__ */
|
|
3312
|
+
/* @__PURE__ */ jsxs34(
|
|
3074
3313
|
"div",
|
|
3075
3314
|
{
|
|
3076
3315
|
className: "flex flex-1 items-center min-w-0",
|
|
3077
3316
|
style: { gap: "var(--spacing-xl)" },
|
|
3078
3317
|
children: [
|
|
3079
|
-
/* @__PURE__ */
|
|
3318
|
+
/* @__PURE__ */ jsx42(
|
|
3080
3319
|
ScIntialProfileCover,
|
|
3081
3320
|
{
|
|
3082
3321
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
3083
3322
|
className: "shrink-0"
|
|
3084
3323
|
}
|
|
3085
3324
|
),
|
|
3086
|
-
/* @__PURE__ */
|
|
3325
|
+
/* @__PURE__ */ jsx42(
|
|
3087
3326
|
"p",
|
|
3088
3327
|
{
|
|
3089
3328
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -3103,7 +3342,7 @@ function WorkspaceRow({
|
|
|
3103
3342
|
]
|
|
3104
3343
|
}
|
|
3105
3344
|
),
|
|
3106
|
-
/* @__PURE__ */
|
|
3345
|
+
/* @__PURE__ */ jsxs34(
|
|
3107
3346
|
"div",
|
|
3108
3347
|
{
|
|
3109
3348
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3112,7 +3351,7 @@ function WorkspaceRow({
|
|
|
3112
3351
|
padding: "0 var(--spacing-3xl)"
|
|
3113
3352
|
},
|
|
3114
3353
|
children: [
|
|
3115
|
-
/* @__PURE__ */
|
|
3354
|
+
/* @__PURE__ */ jsx42(
|
|
3116
3355
|
ScRole,
|
|
3117
3356
|
{
|
|
3118
3357
|
type: normalizeRole(workspace.role),
|
|
@@ -3120,23 +3359,23 @@ function WorkspaceRow({
|
|
|
3120
3359
|
style: { width: 80 }
|
|
3121
3360
|
}
|
|
3122
3361
|
),
|
|
3123
|
-
/* @__PURE__ */
|
|
3362
|
+
/* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs34(
|
|
3124
3363
|
"div",
|
|
3125
3364
|
{
|
|
3126
3365
|
className: "flex items-center shrink-0",
|
|
3127
3366
|
style: { gap: "var(--spacing-3xl)" },
|
|
3128
3367
|
children: [
|
|
3129
|
-
/* @__PURE__ */
|
|
3368
|
+
/* @__PURE__ */ jsx42("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ jsx42(
|
|
3130
3369
|
ScPairtext,
|
|
3131
3370
|
{
|
|
3132
|
-
icon: /* @__PURE__ */
|
|
3371
|
+
icon: /* @__PURE__ */ jsx42(SiconTeam4, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
3133
3372
|
content: workspace.userCount || "\u2013",
|
|
3134
3373
|
iconPosition: "left",
|
|
3135
3374
|
type: "icon"
|
|
3136
3375
|
}
|
|
3137
3376
|
) }),
|
|
3138
|
-
/* @__PURE__ */
|
|
3139
|
-
/* @__PURE__ */
|
|
3377
|
+
/* @__PURE__ */ jsx42(ScVDivider, {}),
|
|
3378
|
+
/* @__PURE__ */ jsxs34(
|
|
3140
3379
|
"div",
|
|
3141
3380
|
{
|
|
3142
3381
|
className: "flex items-center",
|
|
@@ -3146,14 +3385,14 @@ function WorkspaceRow({
|
|
|
3146
3385
|
gap: "var(--spacing-md)"
|
|
3147
3386
|
},
|
|
3148
3387
|
children: [
|
|
3149
|
-
/* @__PURE__ */
|
|
3388
|
+
/* @__PURE__ */ jsx42(
|
|
3150
3389
|
SiconCrown,
|
|
3151
3390
|
{
|
|
3152
3391
|
className: "w-6 h-6 shrink-0",
|
|
3153
3392
|
color: PRIMARY_ICON
|
|
3154
3393
|
}
|
|
3155
3394
|
),
|
|
3156
|
-
/* @__PURE__ */
|
|
3395
|
+
/* @__PURE__ */ jsx42(
|
|
3157
3396
|
"span",
|
|
3158
3397
|
{
|
|
3159
3398
|
className: "truncate",
|
|
@@ -3175,7 +3414,7 @@ function WorkspaceRow({
|
|
|
3175
3414
|
]
|
|
3176
3415
|
}
|
|
3177
3416
|
),
|
|
3178
|
-
workspace.isCurrent ? /* @__PURE__ */
|
|
3417
|
+
workspace.isCurrent ? /* @__PURE__ */ jsx42(
|
|
3179
3418
|
ScButton,
|
|
3180
3419
|
{
|
|
3181
3420
|
text: currentWorkspaceText,
|
|
@@ -3184,14 +3423,14 @@ function WorkspaceRow({
|
|
|
3184
3423
|
size: "lg",
|
|
3185
3424
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
3186
3425
|
}
|
|
3187
|
-
) : /* @__PURE__ */
|
|
3426
|
+
) : /* @__PURE__ */ jsx42(
|
|
3188
3427
|
ScButton,
|
|
3189
3428
|
{
|
|
3190
3429
|
text: switchWorkspaceText,
|
|
3191
3430
|
variant: "secondary",
|
|
3192
3431
|
size: "lg",
|
|
3193
3432
|
styleVariant: "icon-left",
|
|
3194
|
-
icon: /* @__PURE__ */
|
|
3433
|
+
icon: /* @__PURE__ */ jsx42(SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
3195
3434
|
style: { width: 200, flexShrink: 0 },
|
|
3196
3435
|
onClick: onSwitch
|
|
3197
3436
|
}
|
|
@@ -3225,7 +3464,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3225
3464
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
3226
3465
|
}, [open, onClose]);
|
|
3227
3466
|
if (!open) return null;
|
|
3228
|
-
return /* @__PURE__ */
|
|
3467
|
+
return /* @__PURE__ */ jsx42(
|
|
3229
3468
|
"div",
|
|
3230
3469
|
{
|
|
3231
3470
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -3233,7 +3472,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3233
3472
|
onClick: (e) => {
|
|
3234
3473
|
if (e.target === e.currentTarget) onClose();
|
|
3235
3474
|
},
|
|
3236
|
-
children: /* @__PURE__ */
|
|
3475
|
+
children: /* @__PURE__ */ jsxs34(
|
|
3237
3476
|
"div",
|
|
3238
3477
|
{
|
|
3239
3478
|
ref: modalRef,
|
|
@@ -3246,14 +3485,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3246
3485
|
height: "60vh"
|
|
3247
3486
|
},
|
|
3248
3487
|
children: [
|
|
3249
|
-
/* @__PURE__ */
|
|
3488
|
+
/* @__PURE__ */ jsx42(
|
|
3250
3489
|
"div",
|
|
3251
3490
|
{
|
|
3252
3491
|
className: "shrink-0 w-full relative",
|
|
3253
3492
|
style: {
|
|
3254
3493
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3255
3494
|
},
|
|
3256
|
-
children: /* @__PURE__ */
|
|
3495
|
+
children: /* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs34(
|
|
3257
3496
|
"div",
|
|
3258
3497
|
{
|
|
3259
3498
|
className: "flex items-center w-full",
|
|
@@ -3262,7 +3501,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3262
3501
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
3263
3502
|
},
|
|
3264
3503
|
children: [
|
|
3265
|
-
/* @__PURE__ */
|
|
3504
|
+
/* @__PURE__ */ jsx42(
|
|
3266
3505
|
"p",
|
|
3267
3506
|
{
|
|
3268
3507
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -3276,20 +3515,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3276
3515
|
children: title
|
|
3277
3516
|
}
|
|
3278
3517
|
),
|
|
3279
|
-
/* @__PURE__ */
|
|
3518
|
+
/* @__PURE__ */ jsx42("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx42(SiconClose2, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
3280
3519
|
]
|
|
3281
3520
|
}
|
|
3282
3521
|
) })
|
|
3283
3522
|
}
|
|
3284
3523
|
),
|
|
3285
|
-
/* @__PURE__ */
|
|
3524
|
+
/* @__PURE__ */ jsx42(
|
|
3286
3525
|
"div",
|
|
3287
3526
|
{
|
|
3288
3527
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
3289
3528
|
style: {
|
|
3290
3529
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3291
3530
|
},
|
|
3292
|
-
children: /* @__PURE__ */
|
|
3531
|
+
children: /* @__PURE__ */ jsxs34(
|
|
3293
3532
|
"div",
|
|
3294
3533
|
{
|
|
3295
3534
|
className: "flex flex-col items-start",
|
|
@@ -3298,7 +3537,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3298
3537
|
gap: "var(--spacing-3xl)"
|
|
3299
3538
|
},
|
|
3300
3539
|
children: [
|
|
3301
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */
|
|
3540
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ jsx42(
|
|
3302
3541
|
"p",
|
|
3303
3542
|
{
|
|
3304
3543
|
style: {
|
|
@@ -3309,7 +3548,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3309
3548
|
children: loadingText
|
|
3310
3549
|
}
|
|
3311
3550
|
) : null,
|
|
3312
|
-
workspaces.map((ws) => /* @__PURE__ */
|
|
3551
|
+
workspaces.map((ws) => /* @__PURE__ */ jsx42(
|
|
3313
3552
|
WorkspaceRow,
|
|
3314
3553
|
{
|
|
3315
3554
|
workspace: ws,
|
|
@@ -3348,23 +3587,23 @@ var ScAppListingCard_default = {
|
|
|
3348
3587
|
|
|
3349
3588
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3350
3589
|
import { SiconCart } from "@streamoid/icons";
|
|
3351
|
-
import { jsx as
|
|
3590
|
+
import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
3352
3591
|
var ScAppListingCard = ({
|
|
3353
|
-
icon = /* @__PURE__ */
|
|
3592
|
+
icon = /* @__PURE__ */ jsx43(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3354
3593
|
title = "Stores",
|
|
3355
3594
|
descrp = "Centralized product and asset management for every storefront",
|
|
3356
3595
|
className,
|
|
3357
3596
|
...props
|
|
3358
3597
|
}) => {
|
|
3359
|
-
return /* @__PURE__ */
|
|
3360
|
-
/* @__PURE__ */
|
|
3361
|
-
/* @__PURE__ */
|
|
3362
|
-
/* @__PURE__ */
|
|
3598
|
+
return /* @__PURE__ */ jsxs35("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
3599
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppListingCard_default.header, children: [
|
|
3600
|
+
/* @__PURE__ */ jsx43("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
3601
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppListingCard_default.title, children: [
|
|
3363
3602
|
title,
|
|
3364
3603
|
" "
|
|
3365
3604
|
] })
|
|
3366
3605
|
] }),
|
|
3367
|
-
/* @__PURE__ */
|
|
3606
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppListingCard_default.description, children: [
|
|
3368
3607
|
descrp,
|
|
3369
3608
|
" "
|
|
3370
3609
|
] })
|
|
@@ -3382,22 +3621,22 @@ var ScAppCard_default = {
|
|
|
3382
3621
|
|
|
3383
3622
|
// src/SC-appCard/ScAppCard.tsx
|
|
3384
3623
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
3385
|
-
import { jsx as
|
|
3624
|
+
import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
3386
3625
|
var ScAppCard = ({
|
|
3387
|
-
appIcon = /* @__PURE__ */
|
|
3626
|
+
appIcon = /* @__PURE__ */ jsx44(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3388
3627
|
appName = "Artifax",
|
|
3389
3628
|
appDescription = "Info about artifax",
|
|
3390
3629
|
className,
|
|
3391
3630
|
...props
|
|
3392
3631
|
}) => {
|
|
3393
|
-
return /* @__PURE__ */
|
|
3394
|
-
/* @__PURE__ */
|
|
3395
|
-
/* @__PURE__ */
|
|
3396
|
-
/* @__PURE__ */
|
|
3632
|
+
return /* @__PURE__ */ jsxs36("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
3633
|
+
/* @__PURE__ */ jsx44("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
3634
|
+
/* @__PURE__ */ jsxs36("div", { className: ScAppCard_default.textContainer, children: [
|
|
3635
|
+
/* @__PURE__ */ jsxs36("div", { className: ScAppCard_default.title, children: [
|
|
3397
3636
|
appName,
|
|
3398
3637
|
" "
|
|
3399
3638
|
] }),
|
|
3400
|
-
/* @__PURE__ */
|
|
3639
|
+
/* @__PURE__ */ jsxs36("div", { className: ScAppCard_default.subtitle, children: [
|
|
3401
3640
|
appDescription,
|
|
3402
3641
|
" "
|
|
3403
3642
|
] })
|
|
@@ -3424,9 +3663,9 @@ var ScAppCardV3_default = {
|
|
|
3424
3663
|
|
|
3425
3664
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
3426
3665
|
import { SiconCart as SiconCart2 } from "@streamoid/icons";
|
|
3427
|
-
import { jsx as
|
|
3666
|
+
import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3428
3667
|
var ScAppCardV3 = ({
|
|
3429
|
-
appIcon = /* @__PURE__ */
|
|
3668
|
+
appIcon = /* @__PURE__ */ jsx45(SiconCart2, { className: ScAppCardV3_default.iconPillIcon }),
|
|
3430
3669
|
appName = "Stores",
|
|
3431
3670
|
description = "Centralized product and asset management for every storefront",
|
|
3432
3671
|
active = false,
|
|
@@ -3438,25 +3677,25 @@ var ScAppCardV3 = ({
|
|
|
3438
3677
|
ScAppCardV3_default.scAppCardV3,
|
|
3439
3678
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
3440
3679
|
].filter(Boolean).join(" ");
|
|
3441
|
-
return /* @__PURE__ */
|
|
3680
|
+
return /* @__PURE__ */ jsx45(
|
|
3442
3681
|
"div",
|
|
3443
3682
|
{
|
|
3444
3683
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
3445
3684
|
style,
|
|
3446
3685
|
...props,
|
|
3447
|
-
children: /* @__PURE__ */
|
|
3448
|
-
/* @__PURE__ */
|
|
3449
|
-
/* @__PURE__ */
|
|
3450
|
-
/* @__PURE__ */
|
|
3451
|
-
/* @__PURE__ */
|
|
3452
|
-
/* @__PURE__ */
|
|
3453
|
-
/* @__PURE__ */
|
|
3454
|
-
/* @__PURE__ */
|
|
3455
|
-
/* @__PURE__ */
|
|
3456
|
-
/* @__PURE__ */
|
|
3686
|
+
children: /* @__PURE__ */ jsxs37("div", { className: cardClass, children: [
|
|
3687
|
+
/* @__PURE__ */ jsx45("div", { className: ScAppCardV3_default.glow }),
|
|
3688
|
+
/* @__PURE__ */ jsx45("div", { className: ScAppCardV3_default.glowHover }),
|
|
3689
|
+
/* @__PURE__ */ jsxs37("div", { className: ScAppCardV3_default.header, children: [
|
|
3690
|
+
/* @__PURE__ */ jsxs37("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
3691
|
+
/* @__PURE__ */ jsx45("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
3692
|
+
/* @__PURE__ */ jsxs37("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
3693
|
+
/* @__PURE__ */ jsx45("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
3694
|
+
/* @__PURE__ */ jsx45("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
3695
|
+
/* @__PURE__ */ jsx45("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
3457
3696
|
] })
|
|
3458
3697
|
] }),
|
|
3459
|
-
/* @__PURE__ */
|
|
3698
|
+
/* @__PURE__ */ jsx45("p", { className: ScAppCardV3_default.description, children: description })
|
|
3460
3699
|
] })
|
|
3461
3700
|
] })
|
|
3462
3701
|
}
|
|
@@ -3494,7 +3733,7 @@ var ScToggleSwitch_default = {
|
|
|
3494
3733
|
};
|
|
3495
3734
|
|
|
3496
3735
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3497
|
-
import { jsx as
|
|
3736
|
+
import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3498
3737
|
var ScToggleSwitch = ({
|
|
3499
3738
|
active = "false",
|
|
3500
3739
|
checked,
|
|
@@ -3504,7 +3743,7 @@ var ScToggleSwitch = ({
|
|
|
3504
3743
|
}) => {
|
|
3505
3744
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3506
3745
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3507
|
-
return /* @__PURE__ */
|
|
3746
|
+
return /* @__PURE__ */ jsx46(
|
|
3508
3747
|
"div",
|
|
3509
3748
|
{
|
|
3510
3749
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -3514,20 +3753,20 @@ var ScToggleSwitch = ({
|
|
|
3514
3753
|
props.onClick?.(e);
|
|
3515
3754
|
},
|
|
3516
3755
|
style: { cursor: "pointer", ...props.style },
|
|
3517
|
-
children: isActive ? /* @__PURE__ */
|
|
3518
|
-
/* @__PURE__ */
|
|
3519
|
-
/* @__PURE__ */
|
|
3520
|
-
] }) : /* @__PURE__ */
|
|
3521
|
-
/* @__PURE__ */
|
|
3522
|
-
/* @__PURE__ */
|
|
3523
|
-
/* @__PURE__ */
|
|
3756
|
+
children: isActive ? /* @__PURE__ */ jsxs38("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3757
|
+
/* @__PURE__ */ jsx46("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
3758
|
+
/* @__PURE__ */ jsx46("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
3759
|
+
] }) : /* @__PURE__ */ jsxs38("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3760
|
+
/* @__PURE__ */ jsx46("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)" }),
|
|
3761
|
+
/* @__PURE__ */ jsx46("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)" }),
|
|
3762
|
+
/* @__PURE__ */ jsx46("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)" })
|
|
3524
3763
|
] })
|
|
3525
3764
|
}
|
|
3526
3765
|
);
|
|
3527
3766
|
};
|
|
3528
3767
|
|
|
3529
3768
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3530
|
-
import { jsx as
|
|
3769
|
+
import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
3531
3770
|
var ScArtifaxInvite = ({
|
|
3532
3771
|
active = "true",
|
|
3533
3772
|
appName = "Artifax",
|
|
@@ -3540,22 +3779,22 @@ var ScArtifaxInvite = ({
|
|
|
3540
3779
|
}) => {
|
|
3541
3780
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3542
3781
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3543
|
-
return /* @__PURE__ */
|
|
3782
|
+
return /* @__PURE__ */ jsxs39(
|
|
3544
3783
|
"div",
|
|
3545
3784
|
{
|
|
3546
3785
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
3547
3786
|
...props,
|
|
3548
3787
|
children: [
|
|
3549
|
-
/* @__PURE__ */
|
|
3788
|
+
/* @__PURE__ */ jsx47(
|
|
3550
3789
|
ScAppCard,
|
|
3551
3790
|
{
|
|
3552
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
3791
|
+
appIcon: appIcon || /* @__PURE__ */ jsx47(SiconArtifacts3, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
3553
3792
|
appName,
|
|
3554
3793
|
appDescription,
|
|
3555
3794
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
3556
3795
|
}
|
|
3557
3796
|
),
|
|
3558
|
-
/* @__PURE__ */
|
|
3797
|
+
/* @__PURE__ */ jsx47(
|
|
3559
3798
|
ScToggleSwitch,
|
|
3560
3799
|
{
|
|
3561
3800
|
checked: isEnabled,
|
|
@@ -3581,12 +3820,12 @@ var ScPhtogenixInvite_default = {
|
|
|
3581
3820
|
|
|
3582
3821
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3583
3822
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
3584
|
-
import { jsx as
|
|
3823
|
+
import { jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
3585
3824
|
var ScPhtogenixInvite = ({
|
|
3586
3825
|
active = "true",
|
|
3587
3826
|
scAppCardappDescription = "Info about photogenix",
|
|
3588
3827
|
scAppCardappName = "Photogenix",
|
|
3589
|
-
scAppCardappIcon = /* @__PURE__ */
|
|
3828
|
+
scAppCardappIcon = /* @__PURE__ */ jsx48(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3590
3829
|
className,
|
|
3591
3830
|
enabled,
|
|
3592
3831
|
onToggle,
|
|
@@ -3594,12 +3833,12 @@ var ScPhtogenixInvite = ({
|
|
|
3594
3833
|
}) => {
|
|
3595
3834
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3596
3835
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3597
|
-
return /* @__PURE__ */
|
|
3836
|
+
return /* @__PURE__ */ jsxs40(
|
|
3598
3837
|
"div",
|
|
3599
3838
|
{
|
|
3600
3839
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
3601
3840
|
children: [
|
|
3602
|
-
/* @__PURE__ */
|
|
3841
|
+
/* @__PURE__ */ jsx48(
|
|
3603
3842
|
ScAppCard,
|
|
3604
3843
|
{
|
|
3605
3844
|
appIcon: scAppCardappIcon,
|
|
@@ -3608,7 +3847,7 @@ var ScPhtogenixInvite = ({
|
|
|
3608
3847
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
3609
3848
|
}
|
|
3610
3849
|
),
|
|
3611
|
-
/* @__PURE__ */
|
|
3850
|
+
/* @__PURE__ */ jsx48(
|
|
3612
3851
|
ScToggleSwitch,
|
|
3613
3852
|
{
|
|
3614
3853
|
checked: isEnabled,
|
|
@@ -3658,10 +3897,10 @@ var ScOnlyField_default = {
|
|
|
3658
3897
|
|
|
3659
3898
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
3660
3899
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
3661
|
-
import { jsx as
|
|
3900
|
+
import { jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3662
3901
|
var ScOnlyField = ({
|
|
3663
|
-
tfRightIcon = /* @__PURE__ */
|
|
3664
|
-
tfLeftIcon = /* @__PURE__ */
|
|
3902
|
+
tfRightIcon = /* @__PURE__ */ jsx49(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3903
|
+
tfLeftIcon = /* @__PURE__ */ jsx49(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3665
3904
|
state = "default",
|
|
3666
3905
|
tfGroup = "icon-right",
|
|
3667
3906
|
labelGroup = "none",
|
|
@@ -3674,14 +3913,14 @@ var ScOnlyField = ({
|
|
|
3674
3913
|
...props
|
|
3675
3914
|
}) => {
|
|
3676
3915
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
3677
|
-
return /* @__PURE__ */
|
|
3916
|
+
return /* @__PURE__ */ jsx49(
|
|
3678
3917
|
"div",
|
|
3679
3918
|
{
|
|
3680
3919
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
3681
3920
|
...props,
|
|
3682
|
-
children: /* @__PURE__ */
|
|
3683
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
3684
|
-
/* @__PURE__ */
|
|
3921
|
+
children: /* @__PURE__ */ jsxs41("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
3922
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx49("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
3923
|
+
/* @__PURE__ */ jsx49(
|
|
3685
3924
|
"input",
|
|
3686
3925
|
{
|
|
3687
3926
|
className: ScOnlyField_default.inputText,
|
|
@@ -3701,7 +3940,7 @@ var ScOnlyField = ({
|
|
|
3701
3940
|
...inputProps
|
|
3702
3941
|
}
|
|
3703
3942
|
),
|
|
3704
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
3943
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx49("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
3705
3944
|
] })
|
|
3706
3945
|
}
|
|
3707
3946
|
);
|
|
@@ -3709,7 +3948,7 @@ var ScOnlyField = ({
|
|
|
3709
3948
|
|
|
3710
3949
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3711
3950
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
3712
|
-
import { Fragment as Fragment15, jsx as
|
|
3951
|
+
import { Fragment as Fragment15, jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3713
3952
|
var ScCatalogixInvite = ({
|
|
3714
3953
|
active = "false",
|
|
3715
3954
|
appName = "Catalogix",
|
|
@@ -3731,23 +3970,23 @@ var ScCatalogixInvite = ({
|
|
|
3731
3970
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3732
3971
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3733
3972
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
3734
|
-
return /* @__PURE__ */
|
|
3973
|
+
return /* @__PURE__ */ jsxs42(
|
|
3735
3974
|
"div",
|
|
3736
3975
|
{
|
|
3737
3976
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
3738
3977
|
...props,
|
|
3739
3978
|
children: [
|
|
3740
|
-
/* @__PURE__ */
|
|
3741
|
-
/* @__PURE__ */
|
|
3979
|
+
/* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
3980
|
+
/* @__PURE__ */ jsx50(
|
|
3742
3981
|
ScAppCard,
|
|
3743
3982
|
{
|
|
3744
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
3983
|
+
appIcon: appIcon || /* @__PURE__ */ jsx50(SiconArtifacts5, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
3745
3984
|
appDescription,
|
|
3746
3985
|
appName,
|
|
3747
3986
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
3748
3987
|
}
|
|
3749
3988
|
),
|
|
3750
|
-
/* @__PURE__ */
|
|
3989
|
+
/* @__PURE__ */ jsx50(
|
|
3751
3990
|
ScToggleSwitch,
|
|
3752
3991
|
{
|
|
3753
3992
|
checked: isEnabled,
|
|
@@ -3756,29 +3995,29 @@ var ScCatalogixInvite = ({
|
|
|
3756
3995
|
}
|
|
3757
3996
|
)
|
|
3758
3997
|
] }),
|
|
3759
|
-
isEnabled && /* @__PURE__ */
|
|
3760
|
-
/* @__PURE__ */
|
|
3761
|
-
/* @__PURE__ */
|
|
3998
|
+
isEnabled && /* @__PURE__ */ jsx50(Fragment15, { children: /* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
3999
|
+
/* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
4000
|
+
/* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
3762
4001
|
storeAccessTitle,
|
|
3763
4002
|
" "
|
|
3764
4003
|
] }),
|
|
3765
|
-
/* @__PURE__ */
|
|
4004
|
+
/* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
3766
4005
|
displayCount,
|
|
3767
4006
|
" "
|
|
3768
4007
|
] })
|
|
3769
4008
|
] }),
|
|
3770
|
-
/* @__PURE__ */
|
|
4009
|
+
/* @__PURE__ */ jsx50(
|
|
3771
4010
|
ScOnlyField,
|
|
3772
4011
|
{
|
|
3773
|
-
tfLeftIcon: /* @__PURE__ */
|
|
3774
|
-
tfRightIcon: /* @__PURE__ */
|
|
4012
|
+
tfLeftIcon: /* @__PURE__ */ jsx50(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4013
|
+
tfRightIcon: /* @__PURE__ */ jsx50(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
3775
4014
|
placeholderFilled: searchPlaceholder,
|
|
3776
4015
|
value: searchValue,
|
|
3777
4016
|
onInputChange: onSearchChange,
|
|
3778
4017
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
3779
4018
|
}
|
|
3780
4019
|
),
|
|
3781
|
-
/* @__PURE__ */
|
|
4020
|
+
/* @__PURE__ */ jsx50("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx50(
|
|
3782
4021
|
ScPairtext,
|
|
3783
4022
|
{
|
|
3784
4023
|
content: store.name,
|
|
@@ -3789,53 +4028,53 @@ var ScCatalogixInvite = ({
|
|
|
3789
4028
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3790
4029
|
},
|
|
3791
4030
|
store.id
|
|
3792
|
-
)) : /* @__PURE__ */
|
|
4031
|
+
)) : /* @__PURE__ */ jsx50("div", { style: {
|
|
3793
4032
|
padding: "var(--spacing-3xl, 16px)",
|
|
3794
4033
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
3795
4034
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
3796
4035
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
3797
4036
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
3798
|
-
}, children: "No stores found" }) : /* @__PURE__ */
|
|
3799
|
-
/* @__PURE__ */
|
|
4037
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs42(Fragment15, { children: [
|
|
4038
|
+
/* @__PURE__ */ jsx50(
|
|
3800
4039
|
ScPairtext,
|
|
3801
4040
|
{
|
|
3802
|
-
icon: /* @__PURE__ */
|
|
4041
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3803
4042
|
iconPosition: "right",
|
|
3804
4043
|
type: "checkbox",
|
|
3805
4044
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3806
4045
|
}
|
|
3807
4046
|
),
|
|
3808
|
-
/* @__PURE__ */
|
|
4047
|
+
/* @__PURE__ */ jsx50(
|
|
3809
4048
|
ScPairtext,
|
|
3810
4049
|
{
|
|
3811
|
-
icon: /* @__PURE__ */
|
|
4050
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3812
4051
|
iconPosition: "right",
|
|
3813
4052
|
type: "checkbox",
|
|
3814
4053
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3815
4054
|
}
|
|
3816
4055
|
),
|
|
3817
|
-
/* @__PURE__ */
|
|
4056
|
+
/* @__PURE__ */ jsx50(
|
|
3818
4057
|
ScPairtext,
|
|
3819
4058
|
{
|
|
3820
|
-
icon: /* @__PURE__ */
|
|
4059
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3821
4060
|
iconPosition: "right",
|
|
3822
4061
|
type: "checkbox",
|
|
3823
4062
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3824
4063
|
}
|
|
3825
4064
|
),
|
|
3826
|
-
/* @__PURE__ */
|
|
4065
|
+
/* @__PURE__ */ jsx50(
|
|
3827
4066
|
ScPairtext,
|
|
3828
4067
|
{
|
|
3829
|
-
icon: /* @__PURE__ */
|
|
4068
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3830
4069
|
iconPosition: "right",
|
|
3831
4070
|
type: "checkbox",
|
|
3832
4071
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3833
4072
|
}
|
|
3834
4073
|
),
|
|
3835
|
-
/* @__PURE__ */
|
|
4074
|
+
/* @__PURE__ */ jsx50(
|
|
3836
4075
|
ScPairtext,
|
|
3837
4076
|
{
|
|
3838
|
-
icon: /* @__PURE__ */
|
|
4077
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3839
4078
|
iconPosition: "right",
|
|
3840
4079
|
type: "checkbox",
|
|
3841
4080
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -3849,7 +4088,7 @@ var ScCatalogixInvite = ({
|
|
|
3849
4088
|
};
|
|
3850
4089
|
|
|
3851
4090
|
// src/SC-appField/ScAppField.tsx
|
|
3852
|
-
import { jsx as
|
|
4091
|
+
import { jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3853
4092
|
var ScAppField = ({
|
|
3854
4093
|
appFieldTitle = "App permission",
|
|
3855
4094
|
className,
|
|
@@ -3866,13 +4105,13 @@ var ScAppField = ({
|
|
|
3866
4105
|
onCatalogixSearchChange,
|
|
3867
4106
|
...props
|
|
3868
4107
|
}) => {
|
|
3869
|
-
return /* @__PURE__ */
|
|
3870
|
-
/* @__PURE__ */
|
|
4108
|
+
return /* @__PURE__ */ jsxs43("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
4109
|
+
/* @__PURE__ */ jsx51("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ jsxs43("div", { className: ScAppField_default.title, children: [
|
|
3871
4110
|
appFieldTitle,
|
|
3872
4111
|
" "
|
|
3873
4112
|
] }) }),
|
|
3874
|
-
/* @__PURE__ */
|
|
3875
|
-
/* @__PURE__ */
|
|
4113
|
+
/* @__PURE__ */ jsxs43("div", { className: ScAppField_default.inputContainer, children: [
|
|
4114
|
+
/* @__PURE__ */ jsx51(
|
|
3876
4115
|
ScArtifaxInvite,
|
|
3877
4116
|
{
|
|
3878
4117
|
enabled: artifaxEnabled,
|
|
@@ -3880,18 +4119,18 @@ var ScAppField = ({
|
|
|
3880
4119
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
3881
4120
|
}
|
|
3882
4121
|
),
|
|
3883
|
-
/* @__PURE__ */
|
|
4122
|
+
/* @__PURE__ */ jsx51(
|
|
3884
4123
|
ScPhtogenixInvite,
|
|
3885
4124
|
{
|
|
3886
4125
|
enabled: photogenixEnabled,
|
|
3887
4126
|
onToggle: onPhotogenixToggle,
|
|
3888
4127
|
scAppCardappDescription: "Info about photogenix",
|
|
3889
4128
|
scAppCardappName: "Photogenix",
|
|
3890
|
-
scAppCardappIcon: /* @__PURE__ */
|
|
4129
|
+
scAppCardappIcon: /* @__PURE__ */ jsx51(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
3891
4130
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
3892
4131
|
}
|
|
3893
4132
|
),
|
|
3894
|
-
/* @__PURE__ */
|
|
4133
|
+
/* @__PURE__ */ jsx51(
|
|
3895
4134
|
ScCatalogixInvite,
|
|
3896
4135
|
{
|
|
3897
4136
|
enabled: catalogixEnabled,
|
|
@@ -3918,13 +4157,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
3918
4157
|
};
|
|
3919
4158
|
|
|
3920
4159
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
3921
|
-
import { jsx as
|
|
4160
|
+
import { jsx as jsx52, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3922
4161
|
var ScBillingHistoryHeader = ({
|
|
3923
4162
|
className,
|
|
3924
4163
|
...props
|
|
3925
4164
|
}) => {
|
|
3926
|
-
return /* @__PURE__ */
|
|
3927
|
-
/* @__PURE__ */
|
|
4165
|
+
return /* @__PURE__ */ jsxs44("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
4166
|
+
/* @__PURE__ */ jsx52(
|
|
3928
4167
|
ScHeader,
|
|
3929
4168
|
{
|
|
3930
4169
|
text: "Invoice",
|
|
@@ -3932,7 +4171,7 @@ var ScBillingHistoryHeader = ({
|
|
|
3932
4171
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
3933
4172
|
}
|
|
3934
4173
|
),
|
|
3935
|
-
/* @__PURE__ */
|
|
4174
|
+
/* @__PURE__ */ jsx52(
|
|
3936
4175
|
ScHeader,
|
|
3937
4176
|
{
|
|
3938
4177
|
text: "Amount",
|
|
@@ -3940,7 +4179,7 @@ var ScBillingHistoryHeader = ({
|
|
|
3940
4179
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
3941
4180
|
}
|
|
3942
4181
|
),
|
|
3943
|
-
/* @__PURE__ */
|
|
4182
|
+
/* @__PURE__ */ jsx52(
|
|
3944
4183
|
ScHeader,
|
|
3945
4184
|
{
|
|
3946
4185
|
text: "Date",
|
|
@@ -3948,7 +4187,7 @@ var ScBillingHistoryHeader = ({
|
|
|
3948
4187
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
3949
4188
|
}
|
|
3950
4189
|
),
|
|
3951
|
-
/* @__PURE__ */
|
|
4190
|
+
/* @__PURE__ */ jsx52(
|
|
3952
4191
|
ScHeader,
|
|
3953
4192
|
{
|
|
3954
4193
|
text: "Action",
|
|
@@ -3970,19 +4209,19 @@ var ScCheckField_default = {
|
|
|
3970
4209
|
|
|
3971
4210
|
// src/SC-checkField/ScCheckField.tsx
|
|
3972
4211
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
3973
|
-
import { Fragment as Fragment16, jsx as
|
|
4212
|
+
import { Fragment as Fragment16, jsx as jsx53, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3974
4213
|
var ScCheckField = ({
|
|
3975
4214
|
label = "Label",
|
|
3976
4215
|
className,
|
|
3977
4216
|
checkboxes,
|
|
3978
4217
|
...props
|
|
3979
4218
|
}) => {
|
|
3980
|
-
return /* @__PURE__ */
|
|
3981
|
-
/* @__PURE__ */
|
|
4219
|
+
return /* @__PURE__ */ jsxs45("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
4220
|
+
/* @__PURE__ */ jsx53("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ jsxs45("div", { className: ScCheckField_default.label, children: [
|
|
3982
4221
|
label,
|
|
3983
4222
|
" "
|
|
3984
4223
|
] }) }),
|
|
3985
|
-
/* @__PURE__ */
|
|
4224
|
+
/* @__PURE__ */ jsx53("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx53(
|
|
3986
4225
|
ScPairtext,
|
|
3987
4226
|
{
|
|
3988
4227
|
content: item.label,
|
|
@@ -3992,19 +4231,19 @@ var ScCheckField = ({
|
|
|
3992
4231
|
className: ScCheckField_default.scPairtextInstance
|
|
3993
4232
|
},
|
|
3994
4233
|
i
|
|
3995
|
-
)) : /* @__PURE__ */
|
|
3996
|
-
/* @__PURE__ */
|
|
4234
|
+
)) : /* @__PURE__ */ jsxs45(Fragment16, { children: [
|
|
4235
|
+
/* @__PURE__ */ jsx53(
|
|
3997
4236
|
ScPairtext,
|
|
3998
4237
|
{
|
|
3999
|
-
icon: /* @__PURE__ */
|
|
4238
|
+
icon: /* @__PURE__ */ jsx53(SiconHome11, { className: ScCheckField_default.siconHomeInstance }),
|
|
4000
4239
|
type: "checkbox",
|
|
4001
4240
|
className: ScCheckField_default.scPairtextInstance
|
|
4002
4241
|
}
|
|
4003
4242
|
),
|
|
4004
|
-
/* @__PURE__ */
|
|
4243
|
+
/* @__PURE__ */ jsx53(
|
|
4005
4244
|
ScPairtext,
|
|
4006
4245
|
{
|
|
4007
|
-
icon: /* @__PURE__ */
|
|
4246
|
+
icon: /* @__PURE__ */ jsx53(SiconHome11, { className: ScCheckField_default.siconHomeInstance }),
|
|
4008
4247
|
type: "checkbox",
|
|
4009
4248
|
className: ScCheckField_default.scPairtextInstance
|
|
4010
4249
|
}
|
|
@@ -4025,9 +4264,9 @@ var ScFieldButton_default = {
|
|
|
4025
4264
|
|
|
4026
4265
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4027
4266
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
4028
|
-
import { Fragment as Fragment17, jsx as
|
|
4267
|
+
import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
4029
4268
|
var ScFieldButton = ({
|
|
4030
|
-
icon = /* @__PURE__ */
|
|
4269
|
+
icon = /* @__PURE__ */ jsx54(SiconHome12, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4031
4270
|
type = "default",
|
|
4032
4271
|
state = "default",
|
|
4033
4272
|
className,
|
|
@@ -4035,18 +4274,18 @@ var ScFieldButton = ({
|
|
|
4035
4274
|
...props
|
|
4036
4275
|
}) => {
|
|
4037
4276
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
4038
|
-
return /* @__PURE__ */
|
|
4277
|
+
return /* @__PURE__ */ jsx54(
|
|
4039
4278
|
"div",
|
|
4040
4279
|
{
|
|
4041
4280
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4042
4281
|
...props,
|
|
4043
|
-
children: /* @__PURE__ */
|
|
4044
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */
|
|
4045
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */
|
|
4282
|
+
children: /* @__PURE__ */ jsxs46("div", { className: ScFieldButton_default.container, children: [
|
|
4283
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx54(Fragment17, { children: icon }),
|
|
4284
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx54(Fragment17, { children: /* @__PURE__ */ jsxs46("div", { className: ScFieldButton_default.label, children: [
|
|
4046
4285
|
text,
|
|
4047
4286
|
" "
|
|
4048
4287
|
] }) }),
|
|
4049
|
-
type === "icon-left" && /* @__PURE__ */
|
|
4288
|
+
type === "icon-left" && /* @__PURE__ */ jsx54(Fragment17, { children: icon })
|
|
4050
4289
|
] })
|
|
4051
4290
|
}
|
|
4052
4291
|
);
|
|
@@ -4061,16 +4300,16 @@ var ScPendingAction_default = {
|
|
|
4061
4300
|
|
|
4062
4301
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
4063
4302
|
import { SiconHome as SiconHome13 } from "@streamoid/icons";
|
|
4064
|
-
import { jsx as
|
|
4303
|
+
import { jsx as jsx55, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
4065
4304
|
var ScPendingAction = ({
|
|
4066
4305
|
className,
|
|
4067
4306
|
...props
|
|
4068
4307
|
}) => {
|
|
4069
|
-
return /* @__PURE__ */
|
|
4070
|
-
/* @__PURE__ */
|
|
4308
|
+
return /* @__PURE__ */ jsxs47("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
4309
|
+
/* @__PURE__ */ jsx55(
|
|
4071
4310
|
ScButton,
|
|
4072
4311
|
{
|
|
4073
|
-
icon: /* @__PURE__ */
|
|
4312
|
+
icon: /* @__PURE__ */ jsx55(SiconHome13, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4074
4313
|
text: "Cancel",
|
|
4075
4314
|
variant: "error",
|
|
4076
4315
|
type: "tertiary",
|
|
@@ -4078,11 +4317,11 @@ var ScPendingAction = ({
|
|
|
4078
4317
|
className: ScPendingAction_default.scButtonInstance
|
|
4079
4318
|
}
|
|
4080
4319
|
),
|
|
4081
|
-
/* @__PURE__ */
|
|
4082
|
-
/* @__PURE__ */
|
|
4320
|
+
/* @__PURE__ */ jsx55(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
4321
|
+
/* @__PURE__ */ jsx55(
|
|
4083
4322
|
ScButton,
|
|
4084
4323
|
{
|
|
4085
|
-
icon: /* @__PURE__ */
|
|
4324
|
+
icon: /* @__PURE__ */ jsx55(SiconHome13, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4086
4325
|
text: "Resend",
|
|
4087
4326
|
variant: "tertiary",
|
|
4088
4327
|
size: "sm",
|
|
@@ -4106,7 +4345,7 @@ var ScQuickPrompt_default = {
|
|
|
4106
4345
|
|
|
4107
4346
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
4108
4347
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
4109
|
-
import { jsx as
|
|
4348
|
+
import { jsx as jsx56, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
4110
4349
|
var ScQuickPrompt = ({
|
|
4111
4350
|
appName = "Photogenix",
|
|
4112
4351
|
heading = "Swap Model and Background",
|
|
@@ -4114,20 +4353,20 @@ var ScQuickPrompt = ({
|
|
|
4114
4353
|
className,
|
|
4115
4354
|
...props
|
|
4116
4355
|
}) => {
|
|
4117
|
-
return /* @__PURE__ */
|
|
4118
|
-
/* @__PURE__ */
|
|
4119
|
-
/* @__PURE__ */
|
|
4120
|
-
/* @__PURE__ */
|
|
4356
|
+
return /* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
4357
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.header, children: [
|
|
4358
|
+
/* @__PURE__ */ jsx56("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ jsx56(SiconBolt5, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
4359
|
+
/* @__PURE__ */ jsx56("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.title, children: [
|
|
4121
4360
|
appName,
|
|
4122
4361
|
" "
|
|
4123
4362
|
] }) })
|
|
4124
4363
|
] }),
|
|
4125
|
-
/* @__PURE__ */
|
|
4126
|
-
/* @__PURE__ */
|
|
4364
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.body, children: [
|
|
4365
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.heading, children: [
|
|
4127
4366
|
heading,
|
|
4128
4367
|
" "
|
|
4129
4368
|
] }),
|
|
4130
|
-
/* @__PURE__ */
|
|
4369
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.description, children: [
|
|
4131
4370
|
description,
|
|
4132
4371
|
" "
|
|
4133
4372
|
] })
|
|
@@ -4144,13 +4383,13 @@ var ScReferralTableHeader_default = {
|
|
|
4144
4383
|
};
|
|
4145
4384
|
|
|
4146
4385
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
4147
|
-
import { jsx as
|
|
4386
|
+
import { jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4148
4387
|
var ScReferralTableHeader = ({
|
|
4149
4388
|
className,
|
|
4150
4389
|
...props
|
|
4151
4390
|
}) => {
|
|
4152
|
-
return /* @__PURE__ */
|
|
4153
|
-
/* @__PURE__ */
|
|
4391
|
+
return /* @__PURE__ */ jsxs49("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
4392
|
+
/* @__PURE__ */ jsx57(
|
|
4154
4393
|
ScHeader,
|
|
4155
4394
|
{
|
|
4156
4395
|
text: "User",
|
|
@@ -4158,7 +4397,7 @@ var ScReferralTableHeader = ({
|
|
|
4158
4397
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
4159
4398
|
}
|
|
4160
4399
|
),
|
|
4161
|
-
/* @__PURE__ */
|
|
4400
|
+
/* @__PURE__ */ jsx57(
|
|
4162
4401
|
ScHeader,
|
|
4163
4402
|
{
|
|
4164
4403
|
text: "Date",
|
|
@@ -4166,7 +4405,7 @@ var ScReferralTableHeader = ({
|
|
|
4166
4405
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
4167
4406
|
}
|
|
4168
4407
|
),
|
|
4169
|
-
/* @__PURE__ */
|
|
4408
|
+
/* @__PURE__ */ jsx57(
|
|
4170
4409
|
ScHeader,
|
|
4171
4410
|
{
|
|
4172
4411
|
text: "Status",
|
|
@@ -4174,7 +4413,7 @@ var ScReferralTableHeader = ({
|
|
|
4174
4413
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
4175
4414
|
}
|
|
4176
4415
|
),
|
|
4177
|
-
/* @__PURE__ */
|
|
4416
|
+
/* @__PURE__ */ jsx57(
|
|
4178
4417
|
ScHeader,
|
|
4179
4418
|
{
|
|
4180
4419
|
text: "Reward",
|
|
@@ -4195,7 +4434,7 @@ var ScReferralTableList_default = {
|
|
|
4195
4434
|
};
|
|
4196
4435
|
|
|
4197
4436
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4198
|
-
import { jsx as
|
|
4437
|
+
import { jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4199
4438
|
var ScReferralTableList = ({
|
|
4200
4439
|
userEmail = "chris@kepler.com",
|
|
4201
4440
|
userName,
|
|
@@ -4205,8 +4444,8 @@ var ScReferralTableList = ({
|
|
|
4205
4444
|
className,
|
|
4206
4445
|
...props
|
|
4207
4446
|
}) => {
|
|
4208
|
-
return /* @__PURE__ */
|
|
4209
|
-
/* @__PURE__ */
|
|
4447
|
+
return /* @__PURE__ */ jsxs50("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
4448
|
+
/* @__PURE__ */ jsx58(
|
|
4210
4449
|
ScProfile,
|
|
4211
4450
|
{
|
|
4212
4451
|
subText: userEmail,
|
|
@@ -4214,12 +4453,12 @@ var ScReferralTableList = ({
|
|
|
4214
4453
|
className: ScReferralTableList_default.scProfileInstance
|
|
4215
4454
|
}
|
|
4216
4455
|
),
|
|
4217
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsxs50("div", { className: ScReferralTableList_default.date, children: [
|
|
4218
4457
|
date,
|
|
4219
4458
|
" "
|
|
4220
4459
|
] }),
|
|
4221
|
-
/* @__PURE__ */
|
|
4222
|
-
/* @__PURE__ */
|
|
4460
|
+
/* @__PURE__ */ jsx58(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
4461
|
+
/* @__PURE__ */ jsxs50("div", { className: ScReferralTableList_default.points, children: [
|
|
4223
4462
|
points,
|
|
4224
4463
|
" "
|
|
4225
4464
|
] })
|
|
@@ -4235,33 +4474,33 @@ var ScSettingsNav_default = {
|
|
|
4235
4474
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4236
4475
|
import { SiconTeam as SiconTeam5 } from "@streamoid/icons";
|
|
4237
4476
|
import { SiconWorkspace, SiconReferral } from "@streamoid/icons";
|
|
4238
|
-
import { jsx as
|
|
4477
|
+
import { jsx as jsx59, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
4239
4478
|
var ScSettingsNav = ({
|
|
4240
4479
|
className,
|
|
4241
4480
|
...props
|
|
4242
4481
|
}) => {
|
|
4243
|
-
return /* @__PURE__ */
|
|
4244
|
-
/* @__PURE__ */
|
|
4482
|
+
return /* @__PURE__ */ jsx59("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs51("div", { className: ScSettingsNav_default.container, children: [
|
|
4483
|
+
/* @__PURE__ */ jsx59(
|
|
4245
4484
|
ScSidebarMenu,
|
|
4246
4485
|
{
|
|
4247
|
-
icon: /* @__PURE__ */
|
|
4486
|
+
icon: /* @__PURE__ */ jsx59(SiconTeam5, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
4248
4487
|
text: "Profile",
|
|
4249
4488
|
state: "active",
|
|
4250
4489
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4251
4490
|
}
|
|
4252
4491
|
),
|
|
4253
|
-
/* @__PURE__ */
|
|
4492
|
+
/* @__PURE__ */ jsx59(
|
|
4254
4493
|
ScSidebarMenu,
|
|
4255
4494
|
{
|
|
4256
|
-
icon: /* @__PURE__ */
|
|
4495
|
+
icon: /* @__PURE__ */ jsx59(SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
4257
4496
|
text: "Workspace",
|
|
4258
4497
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4259
4498
|
}
|
|
4260
4499
|
),
|
|
4261
|
-
/* @__PURE__ */
|
|
4500
|
+
/* @__PURE__ */ jsx59(
|
|
4262
4501
|
ScSidebarMenu,
|
|
4263
4502
|
{
|
|
4264
|
-
icon: /* @__PURE__ */
|
|
4503
|
+
icon: /* @__PURE__ */ jsx59(SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
4265
4504
|
text: "Referral",
|
|
4266
4505
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4267
4506
|
}
|
|
@@ -4277,7 +4516,7 @@ var ScTabField_default = {
|
|
|
4277
4516
|
};
|
|
4278
4517
|
|
|
4279
4518
|
// src/SC-tabField/ScTabField.tsx
|
|
4280
|
-
import { jsx as
|
|
4519
|
+
import { jsx as jsx60, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
4281
4520
|
var ScTabField = ({
|
|
4282
4521
|
label = "Label",
|
|
4283
4522
|
className,
|
|
@@ -4286,17 +4525,17 @@ var ScTabField = ({
|
|
|
4286
4525
|
onTabChange,
|
|
4287
4526
|
...props
|
|
4288
4527
|
}) => {
|
|
4289
|
-
return /* @__PURE__ */
|
|
4290
|
-
/* @__PURE__ */
|
|
4528
|
+
return /* @__PURE__ */ jsxs52("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
4529
|
+
/* @__PURE__ */ jsx60("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ jsxs52("div", { className: ScTabField_default.label, children: [
|
|
4291
4530
|
label,
|
|
4292
4531
|
" "
|
|
4293
4532
|
] }) }),
|
|
4294
|
-
tabs ? /* @__PURE__ */
|
|
4533
|
+
tabs ? /* @__PURE__ */ jsx60(
|
|
4295
4534
|
ScTabSwitcher,
|
|
4296
4535
|
{
|
|
4297
4536
|
tabCount: String(tabs.length),
|
|
4298
4537
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
4299
|
-
component: tabs[0] ? /* @__PURE__ */
|
|
4538
|
+
component: tabs[0] ? /* @__PURE__ */ jsx60(
|
|
4300
4539
|
ScTabComp,
|
|
4301
4540
|
{
|
|
4302
4541
|
text: tabs[0].label,
|
|
@@ -4306,7 +4545,7 @@ var ScTabField = ({
|
|
|
4306
4545
|
style: { flex: 1 }
|
|
4307
4546
|
}
|
|
4308
4547
|
) : void 0,
|
|
4309
|
-
component2: tabs[1] ? /* @__PURE__ */
|
|
4548
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx60(
|
|
4310
4549
|
ScTabComp,
|
|
4311
4550
|
{
|
|
4312
4551
|
text: tabs[1].label,
|
|
@@ -4317,7 +4556,7 @@ var ScTabField = ({
|
|
|
4317
4556
|
}
|
|
4318
4557
|
) : void 0
|
|
4319
4558
|
}
|
|
4320
|
-
) : /* @__PURE__ */
|
|
4559
|
+
) : /* @__PURE__ */ jsx60(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4321
4560
|
] });
|
|
4322
4561
|
};
|
|
4323
4562
|
|
|
@@ -4334,19 +4573,19 @@ var ScTableHeader_default = {
|
|
|
4334
4573
|
};
|
|
4335
4574
|
|
|
4336
4575
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4337
|
-
import { Fragment as Fragment18, jsx as
|
|
4576
|
+
import { Fragment as Fragment18, jsx as jsx61, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
4338
4577
|
var ScTableHeader = ({
|
|
4339
4578
|
type = "default",
|
|
4340
4579
|
className,
|
|
4341
4580
|
...props
|
|
4342
4581
|
}) => {
|
|
4343
4582
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4344
|
-
return /* @__PURE__ */
|
|
4583
|
+
return /* @__PURE__ */ jsxs53(
|
|
4345
4584
|
"div",
|
|
4346
4585
|
{
|
|
4347
4586
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
4348
4587
|
children: [
|
|
4349
|
-
/* @__PURE__ */
|
|
4588
|
+
/* @__PURE__ */ jsx61(
|
|
4350
4589
|
ScHeader,
|
|
4351
4590
|
{
|
|
4352
4591
|
text: "User",
|
|
@@ -4354,7 +4593,7 @@ var ScTableHeader = ({
|
|
|
4354
4593
|
className: ScTableHeader_default.scHeaderInstance
|
|
4355
4594
|
}
|
|
4356
4595
|
),
|
|
4357
|
-
/* @__PURE__ */
|
|
4596
|
+
/* @__PURE__ */ jsx61(
|
|
4358
4597
|
ScHeader,
|
|
4359
4598
|
{
|
|
4360
4599
|
text: "Role",
|
|
@@ -4362,7 +4601,7 @@ var ScTableHeader = ({
|
|
|
4362
4601
|
className: ScTableHeader_default.scHeaderInstance2
|
|
4363
4602
|
}
|
|
4364
4603
|
),
|
|
4365
|
-
/* @__PURE__ */
|
|
4604
|
+
/* @__PURE__ */ jsx61(
|
|
4366
4605
|
ScHeader,
|
|
4367
4606
|
{
|
|
4368
4607
|
text: "Access",
|
|
@@ -4370,7 +4609,7 @@ var ScTableHeader = ({
|
|
|
4370
4609
|
className: ScTableHeader_default.scHeaderInstance3
|
|
4371
4610
|
}
|
|
4372
4611
|
),
|
|
4373
|
-
/* @__PURE__ */
|
|
4612
|
+
/* @__PURE__ */ jsx61(
|
|
4374
4613
|
ScHeader,
|
|
4375
4614
|
{
|
|
4376
4615
|
text: "Invited by",
|
|
@@ -4378,7 +4617,7 @@ var ScTableHeader = ({
|
|
|
4378
4617
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4379
4618
|
}
|
|
4380
4619
|
),
|
|
4381
|
-
type === "pending" && /* @__PURE__ */
|
|
4620
|
+
type === "pending" && /* @__PURE__ */ jsx61(Fragment18, { children: /* @__PURE__ */ jsx61(
|
|
4382
4621
|
ScHeader,
|
|
4383
4622
|
{
|
|
4384
4623
|
text: "Invite action",
|
|
@@ -4386,7 +4625,7 @@ var ScTableHeader = ({
|
|
|
4386
4625
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4387
4626
|
}
|
|
4388
4627
|
) }),
|
|
4389
|
-
type === "default" && /* @__PURE__ */
|
|
4628
|
+
type === "default" && /* @__PURE__ */ jsx61(Fragment18, { children: /* @__PURE__ */ jsx61(
|
|
4390
4629
|
ScHeader,
|
|
4391
4630
|
{
|
|
4392
4631
|
text: "Signed On",
|
|
@@ -4420,7 +4659,7 @@ var ScTableList_default = {
|
|
|
4420
4659
|
// src/SC-tableList/ScTableList.tsx
|
|
4421
4660
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
4422
4661
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
4423
|
-
import { Fragment as Fragment19, jsx as
|
|
4662
|
+
import { Fragment as Fragment19, jsx as jsx62, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4424
4663
|
var ScTableList = ({
|
|
4425
4664
|
invitedBy = "Rohan",
|
|
4426
4665
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4432,51 +4671,51 @@ var ScTableList = ({
|
|
|
4432
4671
|
...props
|
|
4433
4672
|
}) => {
|
|
4434
4673
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4435
|
-
return /* @__PURE__ */
|
|
4674
|
+
return /* @__PURE__ */ jsxs54(
|
|
4436
4675
|
"div",
|
|
4437
4676
|
{
|
|
4438
4677
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
4439
4678
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
4440
4679
|
...props,
|
|
4441
4680
|
children: [
|
|
4442
|
-
/* @__PURE__ */
|
|
4681
|
+
/* @__PURE__ */ jsx62(
|
|
4443
4682
|
ScProfile,
|
|
4444
4683
|
{
|
|
4445
4684
|
subText: userEmail,
|
|
4446
4685
|
className: ScTableList_default.scProfileInstance
|
|
4447
4686
|
}
|
|
4448
4687
|
),
|
|
4449
|
-
/* @__PURE__ */
|
|
4450
|
-
/* @__PURE__ */
|
|
4451
|
-
/* @__PURE__ */
|
|
4688
|
+
/* @__PURE__ */ jsx62(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
4689
|
+
/* @__PURE__ */ jsxs54("div", { className: ScTableList_default.accessInfo, children: [
|
|
4690
|
+
/* @__PURE__ */ jsx62(
|
|
4452
4691
|
ScAccess,
|
|
4453
4692
|
{
|
|
4454
|
-
component: /* @__PURE__ */
|
|
4455
|
-
component2: /* @__PURE__ */
|
|
4693
|
+
component: /* @__PURE__ */ jsx62(SiconArtifacts6, { className: ScTableList_default.siconArtifactsInstance }),
|
|
4694
|
+
component2: /* @__PURE__ */ jsx62(SiconPhotogenix3, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
4456
4695
|
className: ScTableList_default.scAccessInstance
|
|
4457
4696
|
}
|
|
4458
4697
|
),
|
|
4459
|
-
/* @__PURE__ */
|
|
4698
|
+
/* @__PURE__ */ jsx62(
|
|
4460
4699
|
ScAccess,
|
|
4461
4700
|
{
|
|
4462
|
-
component: /* @__PURE__ */
|
|
4463
|
-
component2: /* @__PURE__ */
|
|
4701
|
+
component: /* @__PURE__ */ jsx62(SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
4702
|
+
component2: /* @__PURE__ */ jsx62(SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
4464
4703
|
visibleSiconCatalogix: false,
|
|
4465
4704
|
className: ScTableList_default.scAccessInstance
|
|
4466
4705
|
}
|
|
4467
4706
|
)
|
|
4468
4707
|
] }),
|
|
4469
|
-
/* @__PURE__ */
|
|
4708
|
+
/* @__PURE__ */ jsxs54("div", { className: ScTableList_default.userName, children: [
|
|
4470
4709
|
invitedBy,
|
|
4471
4710
|
" "
|
|
4472
4711
|
] }),
|
|
4473
|
-
variant === "pending" && /* @__PURE__ */
|
|
4712
|
+
variant === "pending" && /* @__PURE__ */ jsx62(Fragment19, { children: /* @__PURE__ */ jsx62(
|
|
4474
4713
|
ScPendingAction,
|
|
4475
4714
|
{
|
|
4476
4715
|
className: ScTableList_default.scPendingActionInstance
|
|
4477
4716
|
}
|
|
4478
4717
|
) }),
|
|
4479
|
-
variant === "active" && /* @__PURE__ */
|
|
4718
|
+
variant === "active" && /* @__PURE__ */ jsx62(Fragment19, { children: /* @__PURE__ */ jsxs54("div", { className: ScTableList_default.date, children: [
|
|
4480
4719
|
signedOn,
|
|
4481
4720
|
" "
|
|
4482
4721
|
] }) })
|
|
@@ -4511,7 +4750,7 @@ import {
|
|
|
4511
4750
|
SiconSwitch as SiconSwitch2,
|
|
4512
4751
|
SiconLogout as SiconLogout2
|
|
4513
4752
|
} from "@streamoid/icons";
|
|
4514
|
-
import { jsx as
|
|
4753
|
+
import { jsx as jsx63, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4515
4754
|
var ScWorkspaceCard = ({
|
|
4516
4755
|
workspaceName = "Stores",
|
|
4517
4756
|
role = "Admin",
|
|
@@ -4521,21 +4760,21 @@ var ScWorkspaceCard = ({
|
|
|
4521
4760
|
className,
|
|
4522
4761
|
...props
|
|
4523
4762
|
}) => {
|
|
4524
|
-
return /* @__PURE__ */
|
|
4525
|
-
/* @__PURE__ */
|
|
4526
|
-
/* @__PURE__ */
|
|
4763
|
+
return /* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
4764
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
4765
|
+
/* @__PURE__ */ jsx63(
|
|
4527
4766
|
ScIntialProfileCover,
|
|
4528
4767
|
{
|
|
4529
4768
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4530
4769
|
}
|
|
4531
4770
|
),
|
|
4532
|
-
/* @__PURE__ */
|
|
4771
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4533
4772
|
workspaceName,
|
|
4534
4773
|
" "
|
|
4535
4774
|
] })
|
|
4536
4775
|
] }),
|
|
4537
|
-
/* @__PURE__ */
|
|
4538
|
-
/* @__PURE__ */
|
|
4776
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
4777
|
+
/* @__PURE__ */ jsx63(
|
|
4539
4778
|
ScBadges,
|
|
4540
4779
|
{
|
|
4541
4780
|
text: role,
|
|
@@ -4543,41 +4782,41 @@ var ScWorkspaceCard = ({
|
|
|
4543
4782
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4544
4783
|
}
|
|
4545
4784
|
),
|
|
4546
|
-
/* @__PURE__ */
|
|
4547
|
-
/* @__PURE__ */
|
|
4785
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
4786
|
+
/* @__PURE__ */ jsx63(
|
|
4548
4787
|
ScPairtext,
|
|
4549
4788
|
{
|
|
4550
|
-
icon: /* @__PURE__ */
|
|
4789
|
+
icon: /* @__PURE__ */ jsx63(SiconTeam6, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
4551
4790
|
content: userCount,
|
|
4552
4791
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4553
4792
|
}
|
|
4554
4793
|
),
|
|
4555
|
-
/* @__PURE__ */
|
|
4556
|
-
/* @__PURE__ */
|
|
4794
|
+
/* @__PURE__ */ jsx63(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
4795
|
+
/* @__PURE__ */ jsx63(
|
|
4557
4796
|
ScPairtext,
|
|
4558
4797
|
{
|
|
4559
|
-
icon: /* @__PURE__ */
|
|
4798
|
+
icon: /* @__PURE__ */ jsx63(SiconCrown2, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
4560
4799
|
content: ownerEmail,
|
|
4561
4800
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4562
4801
|
}
|
|
4563
4802
|
)
|
|
4564
4803
|
] })
|
|
4565
4804
|
] }),
|
|
4566
|
-
/* @__PURE__ */
|
|
4805
|
+
/* @__PURE__ */ jsx63(
|
|
4567
4806
|
ScButton,
|
|
4568
4807
|
{
|
|
4569
|
-
icon: /* @__PURE__ */
|
|
4808
|
+
icon: /* @__PURE__ */ jsx63(SiconSwitch2, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
4570
4809
|
text: buttonText,
|
|
4571
4810
|
state: "disabled",
|
|
4572
4811
|
variant: "outline",
|
|
4573
4812
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
4574
4813
|
}
|
|
4575
4814
|
),
|
|
4576
|
-
/* @__PURE__ */
|
|
4815
|
+
/* @__PURE__ */ jsx63(
|
|
4577
4816
|
ScButton,
|
|
4578
4817
|
{
|
|
4579
4818
|
text: "Leave workspace",
|
|
4580
|
-
icon: /* @__PURE__ */
|
|
4819
|
+
icon: /* @__PURE__ */ jsx63(SiconLogout2, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
4581
4820
|
styleVariant: "icon-only",
|
|
4582
4821
|
variant: "error",
|
|
4583
4822
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -4587,7 +4826,7 @@ var ScWorkspaceCard = ({
|
|
|
4587
4826
|
};
|
|
4588
4827
|
|
|
4589
4828
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4590
|
-
import { useState as
|
|
4829
|
+
import { useState as useState5 } from "react";
|
|
4591
4830
|
import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3, SiconLogout as SiconLogout3 } from "@streamoid/icons";
|
|
4592
4831
|
|
|
4593
4832
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
@@ -4613,7 +4852,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4613
4852
|
};
|
|
4614
4853
|
|
|
4615
4854
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4616
|
-
import { jsx as
|
|
4855
|
+
import { jsx as jsx64, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4617
4856
|
function ScWorkspaceSwitchCard({
|
|
4618
4857
|
wsName = "Workspace name is kepler",
|
|
4619
4858
|
role = "Admin",
|
|
@@ -4628,7 +4867,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4628
4867
|
onSettings,
|
|
4629
4868
|
onLeave
|
|
4630
4869
|
}) {
|
|
4631
|
-
const [internalHover, setInternalHover] =
|
|
4870
|
+
const [internalHover, setInternalHover] = useState5(false);
|
|
4632
4871
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4633
4872
|
const isCurrent = type === "currentWS";
|
|
4634
4873
|
const isOther = type === "otherWS";
|
|
@@ -4643,14 +4882,14 @@ function ScWorkspaceSwitchCard({
|
|
|
4643
4882
|
].filter(Boolean).join(" ");
|
|
4644
4883
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
4645
4884
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
4646
|
-
return /* @__PURE__ */
|
|
4885
|
+
return /* @__PURE__ */ jsx64(
|
|
4647
4886
|
"div",
|
|
4648
4887
|
{
|
|
4649
4888
|
className: cardClass,
|
|
4650
4889
|
onMouseEnter: () => setInternalHover(true),
|
|
4651
4890
|
onMouseLeave: () => setInternalHover(false),
|
|
4652
|
-
children: /* @__PURE__ */
|
|
4653
|
-
/* @__PURE__ */
|
|
4891
|
+
children: /* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
4892
|
+
/* @__PURE__ */ jsx64(
|
|
4654
4893
|
ScDp,
|
|
4655
4894
|
{
|
|
4656
4895
|
type: imageUrl ? "image" : "initial",
|
|
@@ -4664,26 +4903,26 @@ function ScWorkspaceSwitchCard({
|
|
|
4664
4903
|
}
|
|
4665
4904
|
}
|
|
4666
4905
|
),
|
|
4667
|
-
/* @__PURE__ */
|
|
4668
|
-
/* @__PURE__ */
|
|
4669
|
-
/* @__PURE__ */
|
|
4670
|
-
/* @__PURE__ */
|
|
4671
|
-
/* @__PURE__ */
|
|
4672
|
-
/* @__PURE__ */
|
|
4906
|
+
/* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
4907
|
+
/* @__PURE__ */ jsx64("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
4908
|
+
/* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
4909
|
+
/* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
4910
|
+
/* @__PURE__ */ jsx64("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
4911
|
+
/* @__PURE__ */ jsx64("span", { className: roleColorClass, children: displayRole })
|
|
4673
4912
|
] }),
|
|
4674
|
-
/* @__PURE__ */
|
|
4675
|
-
/* @__PURE__ */
|
|
4676
|
-
/* @__PURE__ */
|
|
4677
|
-
/* @__PURE__ */
|
|
4913
|
+
/* @__PURE__ */ jsx64(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
4914
|
+
/* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
4915
|
+
/* @__PURE__ */ jsx64("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
4916
|
+
/* @__PURE__ */ jsx64("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
4678
4917
|
] }),
|
|
4679
|
-
/* @__PURE__ */
|
|
4680
|
-
/* @__PURE__ */
|
|
4681
|
-
/* @__PURE__ */
|
|
4682
|
-
/* @__PURE__ */
|
|
4918
|
+
/* @__PURE__ */ jsx64(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
4919
|
+
/* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
4920
|
+
/* @__PURE__ */ jsx64("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
4921
|
+
/* @__PURE__ */ jsx64("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
4683
4922
|
] })
|
|
4684
4923
|
] })
|
|
4685
4924
|
] }),
|
|
4686
|
-
isHover && isOther && /* @__PURE__ */
|
|
4925
|
+
isHover && isOther && /* @__PURE__ */ jsx64(
|
|
4687
4926
|
"div",
|
|
4688
4927
|
{
|
|
4689
4928
|
onClick: (e) => {
|
|
@@ -4691,19 +4930,19 @@ function ScWorkspaceSwitchCard({
|
|
|
4691
4930
|
onSwitch?.();
|
|
4692
4931
|
},
|
|
4693
4932
|
style: { cursor: "pointer" },
|
|
4694
|
-
children: /* @__PURE__ */
|
|
4933
|
+
children: /* @__PURE__ */ jsx64(
|
|
4695
4934
|
ScButton,
|
|
4696
4935
|
{
|
|
4697
4936
|
text: "Switch Workspace",
|
|
4698
4937
|
variant: "secondary",
|
|
4699
4938
|
size: "sm",
|
|
4700
4939
|
styleVariant: "icon-left",
|
|
4701
|
-
icon: /* @__PURE__ */
|
|
4940
|
+
icon: /* @__PURE__ */ jsx64(SiconSwitch3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4702
4941
|
}
|
|
4703
4942
|
)
|
|
4704
4943
|
}
|
|
4705
4944
|
),
|
|
4706
|
-
isHover && isAdmin && /* @__PURE__ */
|
|
4945
|
+
isHover && isAdmin && /* @__PURE__ */ jsx64(
|
|
4707
4946
|
"div",
|
|
4708
4947
|
{
|
|
4709
4948
|
onClick: (e) => {
|
|
@@ -4711,18 +4950,18 @@ function ScWorkspaceSwitchCard({
|
|
|
4711
4950
|
onSettings?.();
|
|
4712
4951
|
},
|
|
4713
4952
|
style: { cursor: "pointer" },
|
|
4714
|
-
children: /* @__PURE__ */
|
|
4953
|
+
children: /* @__PURE__ */ jsx64(
|
|
4715
4954
|
ScButton,
|
|
4716
4955
|
{
|
|
4717
4956
|
styleVariant: "icon-only",
|
|
4718
4957
|
variant: "outline",
|
|
4719
4958
|
size: "sm",
|
|
4720
|
-
icon: /* @__PURE__ */
|
|
4959
|
+
icon: /* @__PURE__ */ jsx64(SiconSettings3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4721
4960
|
}
|
|
4722
4961
|
)
|
|
4723
4962
|
}
|
|
4724
4963
|
),
|
|
4725
|
-
isHover && !isAdmin && /* @__PURE__ */
|
|
4964
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx64(
|
|
4726
4965
|
"div",
|
|
4727
4966
|
{
|
|
4728
4967
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -4730,7 +4969,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4730
4969
|
e.stopPropagation();
|
|
4731
4970
|
onLeave?.();
|
|
4732
4971
|
},
|
|
4733
|
-
children: /* @__PURE__ */
|
|
4972
|
+
children: /* @__PURE__ */ jsx64(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
4734
4973
|
}
|
|
4735
4974
|
)
|
|
4736
4975
|
] })
|
|
@@ -4748,18 +4987,18 @@ var ScRoleMobile_default = {
|
|
|
4748
4987
|
};
|
|
4749
4988
|
|
|
4750
4989
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
4751
|
-
import { jsx as
|
|
4990
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
4752
4991
|
var ScRoleMobile = ({
|
|
4753
4992
|
role = "admin",
|
|
4754
4993
|
className,
|
|
4755
4994
|
...props
|
|
4756
4995
|
}) => {
|
|
4757
|
-
return /* @__PURE__ */
|
|
4996
|
+
return /* @__PURE__ */ jsx65(
|
|
4758
4997
|
"div",
|
|
4759
4998
|
{
|
|
4760
4999
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
4761
5000
|
...props,
|
|
4762
|
-
children: /* @__PURE__ */
|
|
5001
|
+
children: /* @__PURE__ */ jsx65("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
4763
5002
|
}
|
|
4764
5003
|
);
|
|
4765
5004
|
};
|
|
@@ -4776,7 +5015,7 @@ var ScProfileV2Mobile_default = {
|
|
|
4776
5015
|
};
|
|
4777
5016
|
|
|
4778
5017
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
4779
|
-
import { jsx as
|
|
5018
|
+
import { jsx as jsx66, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4780
5019
|
var ScProfileV2Mobile = ({
|
|
4781
5020
|
name = "Chris Hemsworth",
|
|
4782
5021
|
email = "chris@kepler.com",
|
|
@@ -4786,17 +5025,17 @@ var ScProfileV2Mobile = ({
|
|
|
4786
5025
|
...props
|
|
4787
5026
|
}) => {
|
|
4788
5027
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4789
|
-
const profileImage = /* @__PURE__ */
|
|
4790
|
-
return /* @__PURE__ */
|
|
5028
|
+
const profileImage = /* @__PURE__ */ jsx66("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx66("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx66("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
5029
|
+
return /* @__PURE__ */ jsxs57(
|
|
4791
5030
|
"div",
|
|
4792
5031
|
{
|
|
4793
5032
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
4794
5033
|
...props,
|
|
4795
5034
|
children: [
|
|
4796
5035
|
dpPosition === "left" && profileImage,
|
|
4797
|
-
/* @__PURE__ */
|
|
4798
|
-
/* @__PURE__ */
|
|
4799
|
-
/* @__PURE__ */
|
|
5036
|
+
/* @__PURE__ */ jsxs57("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
5037
|
+
/* @__PURE__ */ jsx66("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
5038
|
+
/* @__PURE__ */ jsx66("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
4800
5039
|
] }),
|
|
4801
5040
|
dpPosition === "right" && profileImage
|
|
4802
5041
|
]
|
|
@@ -4823,7 +5062,7 @@ var ScTableListMobile_default = {
|
|
|
4823
5062
|
};
|
|
4824
5063
|
|
|
4825
5064
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
4826
|
-
import { jsx as
|
|
5065
|
+
import { jsx as jsx67, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4827
5066
|
var ScTableListMobile = ({
|
|
4828
5067
|
name = "Chris Hemsworth",
|
|
4829
5068
|
email = "chris@kepler.com",
|
|
@@ -4836,25 +5075,25 @@ var ScTableListMobile = ({
|
|
|
4836
5075
|
...props
|
|
4837
5076
|
}) => {
|
|
4838
5077
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4839
|
-
return /* @__PURE__ */
|
|
5078
|
+
return /* @__PURE__ */ jsxs58(
|
|
4840
5079
|
"div",
|
|
4841
5080
|
{
|
|
4842
5081
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
4843
5082
|
onClick: onRowClick,
|
|
4844
5083
|
...props,
|
|
4845
5084
|
children: [
|
|
4846
|
-
/* @__PURE__ */
|
|
4847
|
-
/* @__PURE__ */
|
|
4848
|
-
/* @__PURE__ */
|
|
4849
|
-
/* @__PURE__ */
|
|
5085
|
+
/* @__PURE__ */ jsxs58("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
5086
|
+
/* @__PURE__ */ jsxs58("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
5087
|
+
/* @__PURE__ */ jsx67("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
5088
|
+
/* @__PURE__ */ jsx67("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
4850
5089
|
] }),
|
|
4851
|
-
/* @__PURE__ */
|
|
5090
|
+
/* @__PURE__ */ jsx67("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx67("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx67("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
4852
5091
|
] }),
|
|
4853
|
-
/* @__PURE__ */
|
|
4854
|
-
/* @__PURE__ */
|
|
4855
|
-
/* @__PURE__ */
|
|
4856
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
4857
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
5092
|
+
/* @__PURE__ */ jsxs58("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
5093
|
+
/* @__PURE__ */ jsx67("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx67("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
5094
|
+
/* @__PURE__ */ jsxs58("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
5095
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx67("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx67("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
5096
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx67("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx67("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
4858
5097
|
] })
|
|
4859
5098
|
] })
|
|
4860
5099
|
]
|
|
@@ -4882,7 +5121,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
4882
5121
|
};
|
|
4883
5122
|
|
|
4884
5123
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
4885
|
-
import { jsx as
|
|
5124
|
+
import { jsx as jsx68, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4886
5125
|
var ScWorkspaceSwitchMobile = ({
|
|
4887
5126
|
storeName = "Stores",
|
|
4888
5127
|
initials = "WS",
|
|
@@ -4895,24 +5134,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
4895
5134
|
...props
|
|
4896
5135
|
}) => {
|
|
4897
5136
|
const variant = currentWs ? "current" : "other";
|
|
4898
|
-
return /* @__PURE__ */
|
|
5137
|
+
return /* @__PURE__ */ jsxs59(
|
|
4899
5138
|
"div",
|
|
4900
5139
|
{
|
|
4901
5140
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
4902
5141
|
onClick,
|
|
4903
5142
|
...props,
|
|
4904
5143
|
children: [
|
|
4905
|
-
/* @__PURE__ */
|
|
4906
|
-
/* @__PURE__ */
|
|
4907
|
-
/* @__PURE__ */
|
|
4908
|
-
/* @__PURE__ */
|
|
5144
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
5145
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
5146
|
+
/* @__PURE__ */ jsx68("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx68("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
5147
|
+
/* @__PURE__ */ jsx68("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
4909
5148
|
] }),
|
|
4910
|
-
/* @__PURE__ */
|
|
5149
|
+
/* @__PURE__ */ jsx68("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx68("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
4911
5150
|
] }),
|
|
4912
|
-
/* @__PURE__ */
|
|
4913
|
-
/* @__PURE__ */
|
|
4914
|
-
/* @__PURE__ */
|
|
4915
|
-
/* @__PURE__ */
|
|
5151
|
+
/* @__PURE__ */ jsx68("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
5152
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
5153
|
+
/* @__PURE__ */ jsx68("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx68("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
5154
|
+
/* @__PURE__ */ jsx68("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
4916
5155
|
] })
|
|
4917
5156
|
]
|
|
4918
5157
|
}
|
|
@@ -4939,7 +5178,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
4939
5178
|
};
|
|
4940
5179
|
|
|
4941
5180
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
4942
|
-
import { jsx as
|
|
5181
|
+
import { jsx as jsx69, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4943
5182
|
var ScWorkspaceSettingsMobile = ({
|
|
4944
5183
|
storeName = "Stores",
|
|
4945
5184
|
initials = "WS",
|
|
@@ -4954,28 +5193,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
4954
5193
|
...props
|
|
4955
5194
|
}) => {
|
|
4956
5195
|
const variant = currentWs ? "current" : "other";
|
|
4957
|
-
return /* @__PURE__ */
|
|
5196
|
+
return /* @__PURE__ */ jsxs60(
|
|
4958
5197
|
"div",
|
|
4959
5198
|
{
|
|
4960
5199
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
4961
5200
|
onClick,
|
|
4962
5201
|
...props,
|
|
4963
5202
|
children: [
|
|
4964
|
-
/* @__PURE__ */
|
|
4965
|
-
/* @__PURE__ */
|
|
4966
|
-
/* @__PURE__ */
|
|
4967
|
-
/* @__PURE__ */
|
|
5203
|
+
/* @__PURE__ */ jsxs60("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
5204
|
+
/* @__PURE__ */ jsxs60("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
5205
|
+
/* @__PURE__ */ jsx69("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx69("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
5206
|
+
/* @__PURE__ */ jsx69("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
4968
5207
|
] }),
|
|
4969
|
-
/* @__PURE__ */
|
|
5208
|
+
/* @__PURE__ */ jsx69("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx69("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
4970
5209
|
] }),
|
|
4971
|
-
/* @__PURE__ */
|
|
4972
|
-
/* @__PURE__ */
|
|
4973
|
-
/* @__PURE__ */
|
|
4974
|
-
/* @__PURE__ */
|
|
5210
|
+
/* @__PURE__ */ jsx69("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
5211
|
+
/* @__PURE__ */ jsxs60("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5212
|
+
/* @__PURE__ */ jsx69("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx69("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
5213
|
+
/* @__PURE__ */ jsx69("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
4975
5214
|
] }),
|
|
4976
|
-
/* @__PURE__ */
|
|
4977
|
-
/* @__PURE__ */
|
|
4978
|
-
/* @__PURE__ */
|
|
5215
|
+
/* @__PURE__ */ jsxs60("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5216
|
+
/* @__PURE__ */ jsx69("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx69("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
5217
|
+
/* @__PURE__ */ jsx69("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
4979
5218
|
] })
|
|
4980
5219
|
]
|
|
4981
5220
|
}
|
|
@@ -4998,7 +5237,7 @@ var ScMobileTopNav_default = {
|
|
|
4998
5237
|
};
|
|
4999
5238
|
|
|
5000
5239
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5001
|
-
import { Fragment as Fragment20, jsx as
|
|
5240
|
+
import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5002
5241
|
var ScMobileTopNav = ({
|
|
5003
5242
|
type = "home",
|
|
5004
5243
|
searchIcon = false,
|
|
@@ -5021,22 +5260,22 @@ var ScMobileTopNav = ({
|
|
|
5021
5260
|
}) => {
|
|
5022
5261
|
const hasBorder = type === "chat" || type === "inApp";
|
|
5023
5262
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
5024
|
-
return /* @__PURE__ */
|
|
5263
|
+
return /* @__PURE__ */ jsxs61(
|
|
5025
5264
|
"div",
|
|
5026
5265
|
{
|
|
5027
5266
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
5028
5267
|
...props,
|
|
5029
5268
|
children: [
|
|
5030
|
-
type === "home" && /* @__PURE__ */
|
|
5031
|
-
type === "chat" && /* @__PURE__ */
|
|
5032
|
-
/* @__PURE__ */
|
|
5033
|
-
/* @__PURE__ */
|
|
5034
|
-
/* @__PURE__ */
|
|
5269
|
+
type === "home" && /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5270
|
+
type === "chat" && /* @__PURE__ */ jsxs61(Fragment20, { children: [
|
|
5271
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5272
|
+
/* @__PURE__ */ jsx70("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
5273
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5035
5274
|
] }),
|
|
5036
|
-
showSearch && /* @__PURE__ */
|
|
5037
|
-
/* @__PURE__ */
|
|
5038
|
-
/* @__PURE__ */
|
|
5039
|
-
/* @__PURE__ */
|
|
5275
|
+
showSearch && /* @__PURE__ */ jsxs61(Fragment20, { children: [
|
|
5276
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs61("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
5277
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5278
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx70(
|
|
5040
5279
|
"input",
|
|
5041
5280
|
{
|
|
5042
5281
|
type: "text",
|
|
@@ -5047,17 +5286,17 @@ var ScMobileTopNav = ({
|
|
|
5047
5286
|
}
|
|
5048
5287
|
) })
|
|
5049
5288
|
] }) }),
|
|
5050
|
-
/* @__PURE__ */
|
|
5289
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5051
5290
|
] }),
|
|
5052
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
5053
|
-
/* @__PURE__ */
|
|
5054
|
-
/* @__PURE__ */
|
|
5055
|
-
/* @__PURE__ */
|
|
5291
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs61(Fragment20, { children: [
|
|
5292
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5293
|
+
/* @__PURE__ */ jsx70("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
5294
|
+
/* @__PURE__ */ jsx70(
|
|
5056
5295
|
"div",
|
|
5057
5296
|
{
|
|
5058
5297
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5059
5298
|
onClick: onSearchClick,
|
|
5060
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
5299
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
5061
5300
|
}
|
|
5062
5301
|
)
|
|
5063
5302
|
] })
|
|
@@ -5078,7 +5317,7 @@ var ScMobileBottomAction_default = {
|
|
|
5078
5317
|
};
|
|
5079
5318
|
|
|
5080
5319
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5081
|
-
import { jsx as
|
|
5320
|
+
import { jsx as jsx71, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5082
5321
|
var ScMobileBottomAction = ({
|
|
5083
5322
|
text = "Save Changes",
|
|
5084
5323
|
disabled = false,
|
|
@@ -5090,28 +5329,28 @@ var ScMobileBottomAction = ({
|
|
|
5090
5329
|
...props
|
|
5091
5330
|
}) => {
|
|
5092
5331
|
const isTwoButton = !!secondaryText;
|
|
5093
|
-
return /* @__PURE__ */
|
|
5332
|
+
return /* @__PURE__ */ jsxs62(
|
|
5094
5333
|
"div",
|
|
5095
5334
|
{
|
|
5096
5335
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5097
5336
|
...props,
|
|
5098
5337
|
children: [
|
|
5099
|
-
isTwoButton && /* @__PURE__ */
|
|
5338
|
+
isTwoButton && /* @__PURE__ */ jsx71(
|
|
5100
5339
|
"button",
|
|
5101
5340
|
{
|
|
5102
5341
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5103
5342
|
onClick: onSecondaryClick,
|
|
5104
5343
|
disabled: secondaryDisabled,
|
|
5105
|
-
children: /* @__PURE__ */
|
|
5344
|
+
children: /* @__PURE__ */ jsx71("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5106
5345
|
}
|
|
5107
5346
|
),
|
|
5108
|
-
/* @__PURE__ */
|
|
5347
|
+
/* @__PURE__ */ jsx71(
|
|
5109
5348
|
"button",
|
|
5110
5349
|
{
|
|
5111
5350
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5112
5351
|
onClick,
|
|
5113
5352
|
disabled,
|
|
5114
|
-
children: /* @__PURE__ */
|
|
5353
|
+
children: /* @__PURE__ */ jsx71("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5115
5354
|
}
|
|
5116
5355
|
)
|
|
5117
5356
|
]
|
|
@@ -5129,7 +5368,7 @@ var ScPopUpMenu_default = {
|
|
|
5129
5368
|
};
|
|
5130
5369
|
|
|
5131
5370
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5132
|
-
import { jsx as
|
|
5371
|
+
import { jsx as jsx72, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5133
5372
|
var ScPopUpMenu = ({
|
|
5134
5373
|
menu = "Options",
|
|
5135
5374
|
state = "default",
|
|
@@ -5138,15 +5377,15 @@ var ScPopUpMenu = ({
|
|
|
5138
5377
|
className,
|
|
5139
5378
|
...props
|
|
5140
5379
|
}) => {
|
|
5141
|
-
return /* @__PURE__ */
|
|
5380
|
+
return /* @__PURE__ */ jsxs63(
|
|
5142
5381
|
"div",
|
|
5143
5382
|
{
|
|
5144
5383
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5145
5384
|
onClick,
|
|
5146
5385
|
...props,
|
|
5147
5386
|
children: [
|
|
5148
|
-
icon && /* @__PURE__ */
|
|
5149
|
-
/* @__PURE__ */
|
|
5387
|
+
icon && /* @__PURE__ */ jsx72("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
5388
|
+
/* @__PURE__ */ jsx72("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
5150
5389
|
]
|
|
5151
5390
|
}
|
|
5152
5391
|
);
|
|
@@ -5172,7 +5411,7 @@ var ScReferralCardMobile_default = {
|
|
|
5172
5411
|
};
|
|
5173
5412
|
|
|
5174
5413
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5175
|
-
import { jsx as
|
|
5414
|
+
import { jsx as jsx73, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
5176
5415
|
var ScReferralCardMobile = ({
|
|
5177
5416
|
name = "Chris Hemsworth",
|
|
5178
5417
|
email = "chris@kepler.com",
|
|
@@ -5185,27 +5424,27 @@ var ScReferralCardMobile = ({
|
|
|
5185
5424
|
...props
|
|
5186
5425
|
}) => {
|
|
5187
5426
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5188
|
-
return /* @__PURE__ */
|
|
5427
|
+
return /* @__PURE__ */ jsxs64(
|
|
5189
5428
|
"div",
|
|
5190
5429
|
{
|
|
5191
5430
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5192
5431
|
onClick,
|
|
5193
5432
|
...props,
|
|
5194
5433
|
children: [
|
|
5195
|
-
/* @__PURE__ */
|
|
5196
|
-
/* @__PURE__ */
|
|
5197
|
-
/* @__PURE__ */
|
|
5198
|
-
/* @__PURE__ */
|
|
5199
|
-
/* @__PURE__ */
|
|
5200
|
-
/* @__PURE__ */
|
|
5434
|
+
/* @__PURE__ */ jsxs64("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
5435
|
+
/* @__PURE__ */ jsxs64("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
5436
|
+
/* @__PURE__ */ jsx73("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx73("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx73("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
5437
|
+
/* @__PURE__ */ jsxs64("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
5438
|
+
/* @__PURE__ */ jsx73("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
5439
|
+
/* @__PURE__ */ jsx73("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
5201
5440
|
] })
|
|
5202
5441
|
] }),
|
|
5203
|
-
/* @__PURE__ */
|
|
5442
|
+
/* @__PURE__ */ jsx73("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx73("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5204
5443
|
] }),
|
|
5205
|
-
/* @__PURE__ */
|
|
5206
|
-
/* @__PURE__ */
|
|
5207
|
-
/* @__PURE__ */
|
|
5208
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx73("div", { className: ScReferralCardMobile_default.divider }),
|
|
5445
|
+
/* @__PURE__ */ jsxs64("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
5446
|
+
/* @__PURE__ */ jsx73("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
5447
|
+
/* @__PURE__ */ jsx73("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
5209
5448
|
] })
|
|
5210
5449
|
]
|
|
5211
5450
|
}
|
|
@@ -5222,19 +5461,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
5222
5461
|
};
|
|
5223
5462
|
|
|
5224
5463
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5225
|
-
import { jsx as
|
|
5464
|
+
import { jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5226
5465
|
var InvoiceHistoryMobile = ({
|
|
5227
5466
|
invoiceId = "# INV-2800-2026",
|
|
5228
5467
|
date = "Nov 9th, 2025",
|
|
5229
5468
|
amount = "$320.89",
|
|
5230
5469
|
className
|
|
5231
5470
|
}) => {
|
|
5232
|
-
return /* @__PURE__ */
|
|
5233
|
-
/* @__PURE__ */
|
|
5234
|
-
/* @__PURE__ */
|
|
5235
|
-
/* @__PURE__ */
|
|
5471
|
+
return /* @__PURE__ */ jsxs65("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
5472
|
+
/* @__PURE__ */ jsxs65("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
5473
|
+
/* @__PURE__ */ jsx74("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
5474
|
+
/* @__PURE__ */ jsx74("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
5236
5475
|
] }),
|
|
5237
|
-
/* @__PURE__ */
|
|
5476
|
+
/* @__PURE__ */ jsx74("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5238
5477
|
] });
|
|
5239
5478
|
};
|
|
5240
5479
|
|
|
@@ -5252,7 +5491,7 @@ var UsageHistoryMobile_default = {
|
|
|
5252
5491
|
};
|
|
5253
5492
|
|
|
5254
5493
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5255
|
-
import { jsx as
|
|
5494
|
+
import { jsx as jsx75, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5256
5495
|
var UsageHistoryMobile = ({
|
|
5257
5496
|
serviceName = "Artifax Generation",
|
|
5258
5497
|
credits = "50",
|
|
@@ -5261,18 +5500,18 @@ var UsageHistoryMobile = ({
|
|
|
5261
5500
|
balance = "84,902",
|
|
5262
5501
|
className
|
|
5263
5502
|
}) => {
|
|
5264
|
-
return /* @__PURE__ */
|
|
5265
|
-
/* @__PURE__ */
|
|
5266
|
-
/* @__PURE__ */
|
|
5267
|
-
/* @__PURE__ */
|
|
5503
|
+
return /* @__PURE__ */ jsxs66("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
5504
|
+
/* @__PURE__ */ jsxs66("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
5505
|
+
/* @__PURE__ */ jsx75("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
5506
|
+
/* @__PURE__ */ jsx75("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
5268
5507
|
] }),
|
|
5269
|
-
/* @__PURE__ */
|
|
5270
|
-
/* @__PURE__ */
|
|
5271
|
-
/* @__PURE__ */
|
|
5272
|
-
/* @__PURE__ */
|
|
5273
|
-
/* @__PURE__ */
|
|
5508
|
+
/* @__PURE__ */ jsxs66("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
5509
|
+
/* @__PURE__ */ jsxs66("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
5510
|
+
/* @__PURE__ */ jsx75("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
5511
|
+
/* @__PURE__ */ jsx75("div", { className: UsageHistoryMobile_default.divider }),
|
|
5512
|
+
/* @__PURE__ */ jsx75("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
5274
5513
|
] }),
|
|
5275
|
-
/* @__PURE__ */
|
|
5514
|
+
/* @__PURE__ */ jsx75("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5276
5515
|
] })
|
|
5277
5516
|
] });
|
|
5278
5517
|
};
|
|
@@ -5296,7 +5535,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5296
5535
|
};
|
|
5297
5536
|
|
|
5298
5537
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5299
|
-
import { jsx as
|
|
5538
|
+
import { jsx as jsx76, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5300
5539
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5301
5540
|
wsName = "Workspace name is kepler",
|
|
5302
5541
|
initials = "WS",
|
|
@@ -5309,14 +5548,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5309
5548
|
className,
|
|
5310
5549
|
...props
|
|
5311
5550
|
}) => {
|
|
5312
|
-
return /* @__PURE__ */
|
|
5551
|
+
return /* @__PURE__ */ jsx76(
|
|
5313
5552
|
"div",
|
|
5314
5553
|
{
|
|
5315
5554
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5316
5555
|
onClick,
|
|
5317
5556
|
...props,
|
|
5318
|
-
children: /* @__PURE__ */
|
|
5319
|
-
/* @__PURE__ */
|
|
5557
|
+
children: /* @__PURE__ */ jsxs67("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
5558
|
+
/* @__PURE__ */ jsx76("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx76(
|
|
5320
5559
|
ScDp,
|
|
5321
5560
|
{
|
|
5322
5561
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5330,14 +5569,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5330
5569
|
}
|
|
5331
5570
|
}
|
|
5332
5571
|
) }),
|
|
5333
|
-
/* @__PURE__ */
|
|
5334
|
-
/* @__PURE__ */
|
|
5335
|
-
/* @__PURE__ */
|
|
5336
|
-
/* @__PURE__ */
|
|
5337
|
-
/* @__PURE__ */
|
|
5338
|
-
/* @__PURE__ */
|
|
5339
|
-
/* @__PURE__ */
|
|
5340
|
-
/* @__PURE__ */
|
|
5572
|
+
/* @__PURE__ */ jsxs67("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
5573
|
+
/* @__PURE__ */ jsx76("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
5574
|
+
/* @__PURE__ */ jsxs67("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
5575
|
+
/* @__PURE__ */ jsx76("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
5576
|
+
/* @__PURE__ */ jsx76("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5577
|
+
/* @__PURE__ */ jsx76("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
5578
|
+
/* @__PURE__ */ jsx76("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5579
|
+
/* @__PURE__ */ jsx76("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
5341
5580
|
] })
|
|
5342
5581
|
] })
|
|
5343
5582
|
] })
|
|
@@ -5364,7 +5603,7 @@ var ScImageField_default = {
|
|
|
5364
5603
|
|
|
5365
5604
|
// src/SC-imageField/ScImageField.tsx
|
|
5366
5605
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
5367
|
-
import { jsx as
|
|
5606
|
+
import { jsx as jsx77, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5368
5607
|
var ScImageField = ({
|
|
5369
5608
|
label = "Label",
|
|
5370
5609
|
imagePreview,
|
|
@@ -5387,8 +5626,8 @@ var ScImageField = ({
|
|
|
5387
5626
|
}
|
|
5388
5627
|
e.target.value = "";
|
|
5389
5628
|
}
|
|
5390
|
-
return /* @__PURE__ */
|
|
5391
|
-
/* @__PURE__ */
|
|
5629
|
+
return /* @__PURE__ */ jsxs68("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
5630
|
+
/* @__PURE__ */ jsx77(
|
|
5392
5631
|
"input",
|
|
5393
5632
|
{
|
|
5394
5633
|
ref: inputRef,
|
|
@@ -5398,9 +5637,9 @@ var ScImageField = ({
|
|
|
5398
5637
|
onChange: handleChange
|
|
5399
5638
|
}
|
|
5400
5639
|
),
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
hasImage ? /* @__PURE__ */
|
|
5403
|
-
/* @__PURE__ */
|
|
5640
|
+
/* @__PURE__ */ jsx77("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx77("div", { className: ScImageField_default.label, children: label }) }),
|
|
5641
|
+
hasImage ? /* @__PURE__ */ jsxs68("div", { className: ScImageField_default.previewArea, children: [
|
|
5642
|
+
/* @__PURE__ */ jsx77(
|
|
5404
5643
|
"img",
|
|
5405
5644
|
{
|
|
5406
5645
|
className: ScImageField_default.previewImage,
|
|
@@ -5408,8 +5647,8 @@ var ScImageField = ({
|
|
|
5408
5647
|
alt: "preview"
|
|
5409
5648
|
}
|
|
5410
5649
|
),
|
|
5411
|
-
/* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5650
|
+
/* @__PURE__ */ jsx77("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
5651
|
+
/* @__PURE__ */ jsx77(
|
|
5413
5652
|
SiconDelete2,
|
|
5414
5653
|
{
|
|
5415
5654
|
className: ScImageField_default.removeIcon,
|
|
@@ -5420,9 +5659,9 @@ var ScImageField = ({
|
|
|
5420
5659
|
}
|
|
5421
5660
|
}
|
|
5422
5661
|
)
|
|
5423
|
-
] }) : /* @__PURE__ */
|
|
5424
|
-
/* @__PURE__ */
|
|
5425
|
-
/* @__PURE__ */
|
|
5662
|
+
] }) : /* @__PURE__ */ jsxs68("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
5663
|
+
/* @__PURE__ */ jsx77(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
5664
|
+
/* @__PURE__ */ jsx77("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
5426
5665
|
] })
|
|
5427
5666
|
] });
|
|
5428
5667
|
};
|
|
@@ -5436,7 +5675,7 @@ var ScSettingsTabComp_default = {
|
|
|
5436
5675
|
};
|
|
5437
5676
|
|
|
5438
5677
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5439
|
-
import { jsx as
|
|
5678
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
5440
5679
|
var ScSettingsTabComp = ({
|
|
5441
5680
|
tabName = "Tab",
|
|
5442
5681
|
active = false,
|
|
@@ -5444,12 +5683,12 @@ var ScSettingsTabComp = ({
|
|
|
5444
5683
|
className
|
|
5445
5684
|
}) => {
|
|
5446
5685
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5447
|
-
return /* @__PURE__ */
|
|
5686
|
+
return /* @__PURE__ */ jsx78(
|
|
5448
5687
|
"div",
|
|
5449
5688
|
{
|
|
5450
5689
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5451
5690
|
onClick,
|
|
5452
|
-
children: /* @__PURE__ */
|
|
5691
|
+
children: /* @__PURE__ */ jsx78("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5453
5692
|
}
|
|
5454
5693
|
);
|
|
5455
5694
|
};
|
|
@@ -5469,7 +5708,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5469
5708
|
|
|
5470
5709
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5471
5710
|
import { SiconCredits as SiconCredits3 } from "@streamoid/icons";
|
|
5472
|
-
import { jsx as
|
|
5711
|
+
import { jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
5473
5712
|
var ScCreditsUsageCardMobile = ({
|
|
5474
5713
|
usageLabel = "Credits usage",
|
|
5475
5714
|
usageText = "8,450 / 30,000",
|
|
@@ -5479,23 +5718,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5479
5718
|
className,
|
|
5480
5719
|
...props
|
|
5481
5720
|
}) => {
|
|
5482
|
-
return /* @__PURE__ */
|
|
5483
|
-
/* @__PURE__ */
|
|
5484
|
-
/* @__PURE__ */
|
|
5721
|
+
return /* @__PURE__ */ jsxs69("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5722
|
+
/* @__PURE__ */ jsxs69("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
5723
|
+
/* @__PURE__ */ jsx79(
|
|
5485
5724
|
SiconCredits3,
|
|
5486
5725
|
{
|
|
5487
5726
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5488
5727
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5489
5728
|
}
|
|
5490
5729
|
),
|
|
5491
|
-
/* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx79("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5492
5731
|
] }),
|
|
5493
|
-
/* @__PURE__ */
|
|
5494
|
-
/* @__PURE__ */
|
|
5495
|
-
/* @__PURE__ */
|
|
5496
|
-
/* @__PURE__ */
|
|
5732
|
+
/* @__PURE__ */ jsx79("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
5733
|
+
/* @__PURE__ */ jsxs69("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
5734
|
+
/* @__PURE__ */ jsx79("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
5735
|
+
/* @__PURE__ */ jsx79("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
5497
5736
|
] }),
|
|
5498
|
-
/* @__PURE__ */
|
|
5737
|
+
/* @__PURE__ */ jsx79(
|
|
5499
5738
|
ScButton,
|
|
5500
5739
|
{
|
|
5501
5740
|
text: buyButtonText,
|
|
@@ -5527,7 +5766,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5527
5766
|
|
|
5528
5767
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5529
5768
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
5530
|
-
import { jsx as
|
|
5769
|
+
import { jsx as jsx80, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
5531
5770
|
var ScPlanDetailsCardMobile = ({
|
|
5532
5771
|
planName = "Pro",
|
|
5533
5772
|
planCredits = "30,000 credits",
|
|
@@ -5539,19 +5778,19 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5539
5778
|
className,
|
|
5540
5779
|
...props
|
|
5541
5780
|
}) => {
|
|
5542
|
-
return /* @__PURE__ */
|
|
5543
|
-
/* @__PURE__ */
|
|
5544
|
-
/* @__PURE__ */
|
|
5545
|
-
/* @__PURE__ */
|
|
5781
|
+
return /* @__PURE__ */ jsxs70("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5782
|
+
/* @__PURE__ */ jsxs70("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
5783
|
+
/* @__PURE__ */ jsxs70("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
5784
|
+
/* @__PURE__ */ jsx80(
|
|
5546
5785
|
SiconBilling4,
|
|
5547
5786
|
{
|
|
5548
5787
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5549
5788
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5550
5789
|
}
|
|
5551
5790
|
),
|
|
5552
|
-
/* @__PURE__ */
|
|
5791
|
+
/* @__PURE__ */ jsx80("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5553
5792
|
] }),
|
|
5554
|
-
/* @__PURE__ */
|
|
5793
|
+
/* @__PURE__ */ jsx80(
|
|
5555
5794
|
ScBadges,
|
|
5556
5795
|
{
|
|
5557
5796
|
text: badgeText,
|
|
@@ -5561,16 +5800,16 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5561
5800
|
}
|
|
5562
5801
|
)
|
|
5563
5802
|
] }),
|
|
5564
|
-
/* @__PURE__ */
|
|
5565
|
-
/* @__PURE__ */
|
|
5566
|
-
/* @__PURE__ */
|
|
5567
|
-
/* @__PURE__ */
|
|
5568
|
-
/* @__PURE__ */
|
|
5569
|
-
/* @__PURE__ */
|
|
5803
|
+
/* @__PURE__ */ jsx80("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
5804
|
+
/* @__PURE__ */ jsxs70("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
|
|
5805
|
+
/* @__PURE__ */ jsxs70("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
5806
|
+
/* @__PURE__ */ jsx80("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
5807
|
+
/* @__PURE__ */ jsx80("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
5808
|
+
/* @__PURE__ */ jsx80("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
5570
5809
|
] }),
|
|
5571
|
-
/* @__PURE__ */
|
|
5810
|
+
/* @__PURE__ */ jsx80("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5572
5811
|
] }),
|
|
5573
|
-
/* @__PURE__ */
|
|
5812
|
+
/* @__PURE__ */ jsx80(
|
|
5574
5813
|
ScButton,
|
|
5575
5814
|
{
|
|
5576
5815
|
text: upgradeButtonText,
|
|
@@ -5584,6 +5823,7 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5584
5823
|
] });
|
|
5585
5824
|
};
|
|
5586
5825
|
export {
|
|
5826
|
+
CreditWarningBanner,
|
|
5587
5827
|
InvoiceHistoryMobile,
|
|
5588
5828
|
NscWorkspaceSwitch,
|
|
5589
5829
|
ScAccess,
|