@streamoid/ui 0.3.2 → 0.3.4
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.d.mts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +979 -794
- package/dist/index.mjs +927 -742
- 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
|
] })
|
|
@@ -2140,9 +2324,9 @@ var ScSidebarMenu_default = {
|
|
|
2140
2324
|
|
|
2141
2325
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
2142
2326
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
2143
|
-
import { Fragment as Fragment11, jsx as
|
|
2327
|
+
import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2144
2328
|
var ScSidebarMenu = ({
|
|
2145
|
-
icon = /* @__PURE__ */
|
|
2329
|
+
icon = /* @__PURE__ */ jsx35(SiconHome9, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
2146
2330
|
state = "default",
|
|
2147
2331
|
variant = "expanded",
|
|
2148
2332
|
className,
|
|
@@ -2152,16 +2336,16 @@ var ScSidebarMenu = ({
|
|
|
2152
2336
|
...props
|
|
2153
2337
|
}) => {
|
|
2154
2338
|
const variantsClassName = ScSidebarMenu_default["state-" + state] + " " + ScSidebarMenu_default["variant-" + variant];
|
|
2155
|
-
return /* @__PURE__ */
|
|
2339
|
+
return /* @__PURE__ */ jsxs29(
|
|
2156
2340
|
"div",
|
|
2157
2341
|
{
|
|
2158
2342
|
className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
|
|
2159
2343
|
...props,
|
|
2160
2344
|
children: [
|
|
2161
2345
|
icon,
|
|
2162
|
-
variant === "expanded" && /* @__PURE__ */
|
|
2163
|
-
/* @__PURE__ */
|
|
2164
|
-
moreIcon && /* @__PURE__ */
|
|
2346
|
+
variant === "expanded" && /* @__PURE__ */ jsxs29(Fragment11, { children: [
|
|
2347
|
+
/* @__PURE__ */ jsx35("div", { className: ScSidebarMenu_default.content, children: text }),
|
|
2348
|
+
moreIcon && /* @__PURE__ */ jsx35(
|
|
2165
2349
|
"div",
|
|
2166
2350
|
{
|
|
2167
2351
|
className: ScSidebarMenu_default.moreIconWrapper,
|
|
@@ -2193,7 +2377,7 @@ var ScSidebarProfile_default = {
|
|
|
2193
2377
|
};
|
|
2194
2378
|
|
|
2195
2379
|
// src/SC-Sidebar profile/ScSidebarProfile.tsx
|
|
2196
|
-
import { jsx as
|
|
2380
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2197
2381
|
var ScSidebarProfile = ({
|
|
2198
2382
|
state = "default",
|
|
2199
2383
|
variant = "expanded",
|
|
@@ -2201,12 +2385,12 @@ var ScSidebarProfile = ({
|
|
|
2201
2385
|
...props
|
|
2202
2386
|
}) => {
|
|
2203
2387
|
const variantsClassName = ScSidebarProfile_default["state-" + state] + " " + ScSidebarProfile_default["variant-" + variant];
|
|
2204
|
-
return /* @__PURE__ */
|
|
2388
|
+
return /* @__PURE__ */ jsx36(
|
|
2205
2389
|
"div",
|
|
2206
2390
|
{
|
|
2207
2391
|
className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
|
|
2208
2392
|
...props,
|
|
2209
|
-
children: /* @__PURE__ */
|
|
2393
|
+
children: /* @__PURE__ */ jsx36(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
|
|
2210
2394
|
}
|
|
2211
2395
|
);
|
|
2212
2396
|
};
|
|
@@ -2219,15 +2403,15 @@ var ScSidebarIcons_default = {
|
|
|
2219
2403
|
|
|
2220
2404
|
// src/SC-sidebar icons/ScSidebarIcons.tsx
|
|
2221
2405
|
import { SiconSupport } from "@streamoid/icons";
|
|
2222
|
-
import { jsx as
|
|
2406
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2223
2407
|
var ScSidebarIcons = ({
|
|
2224
|
-
instance = /* @__PURE__ */
|
|
2408
|
+
instance = /* @__PURE__ */ jsx37(SiconSupport, { className: ScSidebarIcons_default.siconSupportInstance }),
|
|
2225
2409
|
state = "default",
|
|
2226
2410
|
className,
|
|
2227
2411
|
...props
|
|
2228
2412
|
}) => {
|
|
2229
2413
|
const variantsClassName = ScSidebarIcons_default["state-" + state];
|
|
2230
|
-
return /* @__PURE__ */
|
|
2414
|
+
return /* @__PURE__ */ jsx37(
|
|
2231
2415
|
"div",
|
|
2232
2416
|
{
|
|
2233
2417
|
className: ScSidebarIcons_default.scSidebarIcons + " " + className + " " + variantsClassName,
|
|
@@ -2250,7 +2434,7 @@ var ScVersion_default = {
|
|
|
2250
2434
|
|
|
2251
2435
|
// src/SC-version/ScVersion.tsx
|
|
2252
2436
|
import { SiconCollapse } from "@streamoid/icons";
|
|
2253
|
-
import { Fragment as Fragment12, jsx as
|
|
2437
|
+
import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2254
2438
|
var ScVersion = ({
|
|
2255
2439
|
state = "expanded",
|
|
2256
2440
|
version = "v2.1.2",
|
|
@@ -2260,27 +2444,27 @@ var ScVersion = ({
|
|
|
2260
2444
|
...props
|
|
2261
2445
|
}) => {
|
|
2262
2446
|
const variantsClassName = ScVersion_default["state-" + state];
|
|
2263
|
-
return /* @__PURE__ */
|
|
2447
|
+
return /* @__PURE__ */ jsxs30(
|
|
2264
2448
|
"div",
|
|
2265
2449
|
{
|
|
2266
2450
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
2267
2451
|
...props,
|
|
2268
2452
|
children: [
|
|
2269
|
-
state === "collapsed" && /* @__PURE__ */
|
|
2453
|
+
state === "collapsed" && /* @__PURE__ */ jsx38(Fragment12, { children: /* @__PURE__ */ jsx38("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx38(
|
|
2270
2454
|
ScSidebarIcons,
|
|
2271
2455
|
{
|
|
2272
|
-
instance: scSidebarIconsinstance || /* @__PURE__ */
|
|
2456
|
+
instance: scSidebarIconsinstance || /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2273
2457
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2274
2458
|
}
|
|
2275
2459
|
) }) }),
|
|
2276
|
-
/* @__PURE__ */
|
|
2460
|
+
/* @__PURE__ */ jsxs30("div", { className: ScVersion_default.content, children: [
|
|
2277
2461
|
version,
|
|
2278
2462
|
" "
|
|
2279
2463
|
] }),
|
|
2280
|
-
state === "expanded" && /* @__PURE__ */
|
|
2464
|
+
state === "expanded" && /* @__PURE__ */ jsx38(Fragment12, { children: /* @__PURE__ */ jsx38(
|
|
2281
2465
|
ScSidebarIcons,
|
|
2282
2466
|
{
|
|
2283
|
-
instance: /* @__PURE__ */
|
|
2467
|
+
instance: /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2284
2468
|
state: "hover",
|
|
2285
2469
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2286
2470
|
}
|
|
@@ -2291,7 +2475,7 @@ var ScVersion = ({
|
|
|
2291
2475
|
};
|
|
2292
2476
|
|
|
2293
2477
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2294
|
-
import { Fragment as Fragment13, jsx as
|
|
2478
|
+
import { Fragment as Fragment13, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2295
2479
|
var ScSidebar = ({
|
|
2296
2480
|
state = "expanded",
|
|
2297
2481
|
className,
|
|
@@ -2299,46 +2483,46 @@ var ScSidebar = ({
|
|
|
2299
2483
|
...props
|
|
2300
2484
|
}) => {
|
|
2301
2485
|
const variantsClassName = ScSidebar_default["state-" + state];
|
|
2302
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsxs31(
|
|
2303
2487
|
"div",
|
|
2304
2488
|
{
|
|
2305
2489
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
2306
2490
|
children: [
|
|
2307
|
-
state === "collapsed" && /* @__PURE__ */
|
|
2308
|
-
/* @__PURE__ */
|
|
2309
|
-
/* @__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(
|
|
2310
2494
|
ScLogoUnit,
|
|
2311
2495
|
{
|
|
2312
2496
|
state: "collapsed",
|
|
2313
2497
|
className: ScSidebar_default.scLogoUnitInstance
|
|
2314
2498
|
}
|
|
2315
2499
|
),
|
|
2316
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.collapsedItemContainer, children: /* @__PURE__ */ jsx39(
|
|
2317
2501
|
ScSidebarMenu,
|
|
2318
2502
|
{
|
|
2319
2503
|
text: "New chat",
|
|
2320
|
-
icon: /* @__PURE__ */
|
|
2504
|
+
icon: /* @__PURE__ */ jsx39(SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2321
2505
|
variant: "collapsed",
|
|
2322
2506
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2323
2507
|
}
|
|
2324
2508
|
) }),
|
|
2325
|
-
/* @__PURE__ */
|
|
2326
|
-
/* @__PURE__ */
|
|
2327
|
-
/* @__PURE__ */
|
|
2509
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2510
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2511
|
+
/* @__PURE__ */ jsx39(
|
|
2328
2512
|
ScSidebarMenu,
|
|
2329
2513
|
{
|
|
2330
2514
|
text: "Artifax",
|
|
2331
|
-
icon: /* @__PURE__ */
|
|
2515
|
+
icon: /* @__PURE__ */ jsx39(SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2332
2516
|
state: "active",
|
|
2333
2517
|
variant: "collapsed",
|
|
2334
2518
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2335
2519
|
}
|
|
2336
2520
|
),
|
|
2337
|
-
/* @__PURE__ */
|
|
2521
|
+
/* @__PURE__ */ jsx39(
|
|
2338
2522
|
ScSidebarMenu,
|
|
2339
2523
|
{
|
|
2340
2524
|
text: "Photogenix",
|
|
2341
|
-
icon: /* @__PURE__ */
|
|
2525
|
+
icon: /* @__PURE__ */ jsx39(
|
|
2342
2526
|
SiconPhotogenix,
|
|
2343
2527
|
{
|
|
2344
2528
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
@@ -2348,130 +2532,130 @@ var ScSidebar = ({
|
|
|
2348
2532
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2349
2533
|
}
|
|
2350
2534
|
),
|
|
2351
|
-
/* @__PURE__ */
|
|
2535
|
+
/* @__PURE__ */ jsx39(
|
|
2352
2536
|
ScSidebarMenu,
|
|
2353
2537
|
{
|
|
2354
2538
|
text: "Catalogix",
|
|
2355
|
-
icon: /* @__PURE__ */
|
|
2539
|
+
icon: /* @__PURE__ */ jsx39(SiconCatalogix2, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2356
2540
|
variant: "collapsed",
|
|
2357
2541
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2358
2542
|
}
|
|
2359
2543
|
)
|
|
2360
2544
|
] }),
|
|
2361
|
-
/* @__PURE__ */
|
|
2362
|
-
/* @__PURE__ */
|
|
2363
|
-
/* @__PURE__ */
|
|
2545
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2546
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2547
|
+
/* @__PURE__ */ jsx39(
|
|
2364
2548
|
ScSidebarMenu,
|
|
2365
2549
|
{
|
|
2366
2550
|
text: "Teams",
|
|
2367
|
-
icon: /* @__PURE__ */
|
|
2551
|
+
icon: /* @__PURE__ */ jsx39(SiconTeam3, { className: ScSidebar_default.siconTeamInstance }),
|
|
2368
2552
|
variant: "collapsed",
|
|
2369
2553
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2370
2554
|
}
|
|
2371
2555
|
),
|
|
2372
|
-
/* @__PURE__ */
|
|
2556
|
+
/* @__PURE__ */ jsx39(
|
|
2373
2557
|
ScSidebarMenu,
|
|
2374
2558
|
{
|
|
2375
2559
|
text: "Billing",
|
|
2376
|
-
icon: /* @__PURE__ */
|
|
2560
|
+
icon: /* @__PURE__ */ jsx39(SiconBilling3, { className: ScSidebar_default.siconBillingInstance }),
|
|
2377
2561
|
variant: "collapsed",
|
|
2378
2562
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2379
2563
|
}
|
|
2380
2564
|
)
|
|
2381
2565
|
] }),
|
|
2382
|
-
/* @__PURE__ */
|
|
2383
|
-
/* @__PURE__ */
|
|
2384
|
-
/* @__PURE__ */
|
|
2566
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance3 }),
|
|
2567
|
+
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2568
|
+
/* @__PURE__ */ jsx39(
|
|
2385
2569
|
ScSidebarMenu,
|
|
2386
2570
|
{
|
|
2387
2571
|
text: "Chat 1",
|
|
2388
|
-
icon: /* @__PURE__ */
|
|
2572
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2389
2573
|
variant: "collapsed",
|
|
2390
2574
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2391
2575
|
}
|
|
2392
2576
|
),
|
|
2393
|
-
/* @__PURE__ */
|
|
2577
|
+
/* @__PURE__ */ jsx39(
|
|
2394
2578
|
ScSidebarMenu,
|
|
2395
2579
|
{
|
|
2396
2580
|
text: "Chat 2",
|
|
2397
|
-
icon: /* @__PURE__ */
|
|
2581
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2398
2582
|
variant: "collapsed",
|
|
2399
2583
|
className: ScSidebar_default.scSidebarMenuInstance2
|
|
2400
2584
|
}
|
|
2401
2585
|
),
|
|
2402
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ jsx39(
|
|
2403
2587
|
ScSidebarMenu,
|
|
2404
2588
|
{
|
|
2405
2589
|
text: "Chat 3",
|
|
2406
|
-
icon: /* @__PURE__ */
|
|
2590
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2407
2591
|
variant: "collapsed",
|
|
2408
2592
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2409
2593
|
}
|
|
2410
2594
|
),
|
|
2411
|
-
/* @__PURE__ */
|
|
2595
|
+
/* @__PURE__ */ jsx39(
|
|
2412
2596
|
ScSidebarMenu,
|
|
2413
2597
|
{
|
|
2414
2598
|
text: "View all",
|
|
2415
|
-
icon: /* @__PURE__ */
|
|
2599
|
+
icon: /* @__PURE__ */ jsx39(SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2416
2600
|
variant: "collapsed",
|
|
2417
2601
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2418
2602
|
}
|
|
2419
2603
|
)
|
|
2420
2604
|
] })
|
|
2421
2605
|
] }),
|
|
2422
|
-
/* @__PURE__ */
|
|
2606
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.collapsedItemContainer2, children: /* @__PURE__ */ jsx39(
|
|
2423
2607
|
ScSidebarMenu,
|
|
2424
2608
|
{
|
|
2425
2609
|
text: "Live support",
|
|
2426
|
-
icon: /* @__PURE__ */
|
|
2610
|
+
icon: /* @__PURE__ */ jsx39(SiconSupport2, { className: ScSidebar_default.siconSupportInstance }),
|
|
2427
2611
|
variant: "collapsed",
|
|
2428
2612
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2429
2613
|
}
|
|
2430
2614
|
) }),
|
|
2431
|
-
/* @__PURE__ */
|
|
2432
|
-
/* @__PURE__ */
|
|
2615
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance4 }),
|
|
2616
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.collapsedItemContainer3, children: /* @__PURE__ */ jsx39(
|
|
2433
2617
|
ScSidebarProfile,
|
|
2434
2618
|
{
|
|
2435
2619
|
variant: "collapsed",
|
|
2436
2620
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2437
2621
|
}
|
|
2438
2622
|
) }),
|
|
2439
|
-
/* @__PURE__ */
|
|
2440
|
-
/* @__PURE__ */
|
|
2623
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance5 }),
|
|
2624
|
+
/* @__PURE__ */ jsx39(
|
|
2441
2625
|
ScVersion,
|
|
2442
2626
|
{
|
|
2443
2627
|
state: "collapsed",
|
|
2444
|
-
scSidebarIconsinstance: /* @__PURE__ */
|
|
2628
|
+
scSidebarIconsinstance: /* @__PURE__ */ jsx39(SiconCollapse2, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2445
2629
|
className: ScSidebar_default.scVersionInstance
|
|
2446
2630
|
}
|
|
2447
2631
|
)
|
|
2448
2632
|
] }) }),
|
|
2449
|
-
state === "expanded" && /* @__PURE__ */
|
|
2450
|
-
/* @__PURE__ */
|
|
2451
|
-
/* @__PURE__ */
|
|
2452
|
-
/* @__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(
|
|
2453
2637
|
ScSidebarMenu,
|
|
2454
2638
|
{
|
|
2455
|
-
icon: /* @__PURE__ */
|
|
2639
|
+
icon: /* @__PURE__ */ jsx39(SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2456
2640
|
text: "New chat",
|
|
2457
2641
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2458
2642
|
}
|
|
2459
2643
|
) }),
|
|
2460
|
-
/* @__PURE__ */
|
|
2461
|
-
/* @__PURE__ */
|
|
2462
|
-
/* @__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(
|
|
2463
2647
|
ScSidebarMenu,
|
|
2464
2648
|
{
|
|
2465
|
-
icon: /* @__PURE__ */
|
|
2649
|
+
icon: /* @__PURE__ */ jsx39(SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2466
2650
|
text: "Artifax",
|
|
2467
2651
|
state: "active",
|
|
2468
2652
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2469
2653
|
}
|
|
2470
2654
|
),
|
|
2471
|
-
/* @__PURE__ */
|
|
2655
|
+
/* @__PURE__ */ jsx39(
|
|
2472
2656
|
ScSidebarMenu,
|
|
2473
2657
|
{
|
|
2474
|
-
icon: /* @__PURE__ */
|
|
2658
|
+
icon: /* @__PURE__ */ jsx39(
|
|
2475
2659
|
SiconPhotogenix,
|
|
2476
2660
|
{
|
|
2477
2661
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
@@ -2481,97 +2665,97 @@ var ScSidebar = ({
|
|
|
2481
2665
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2482
2666
|
}
|
|
2483
2667
|
),
|
|
2484
|
-
/* @__PURE__ */
|
|
2668
|
+
/* @__PURE__ */ jsx39(
|
|
2485
2669
|
ScSidebarMenu,
|
|
2486
2670
|
{
|
|
2487
|
-
icon: /* @__PURE__ */
|
|
2671
|
+
icon: /* @__PURE__ */ jsx39(SiconCatalogix2, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2488
2672
|
text: "Catalogix",
|
|
2489
2673
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2490
2674
|
}
|
|
2491
2675
|
)
|
|
2492
2676
|
] }),
|
|
2493
|
-
/* @__PURE__ */
|
|
2494
|
-
/* @__PURE__ */
|
|
2495
|
-
/* @__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(
|
|
2496
2680
|
ScSidebarMenu,
|
|
2497
2681
|
{
|
|
2498
|
-
icon: /* @__PURE__ */
|
|
2682
|
+
icon: /* @__PURE__ */ jsx39(SiconTeam3, { className: ScSidebar_default.siconTeamInstance }),
|
|
2499
2683
|
text: "Teams",
|
|
2500
2684
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2501
2685
|
}
|
|
2502
2686
|
),
|
|
2503
|
-
/* @__PURE__ */
|
|
2687
|
+
/* @__PURE__ */ jsx39(
|
|
2504
2688
|
ScSidebarMenu,
|
|
2505
2689
|
{
|
|
2506
|
-
icon: /* @__PURE__ */
|
|
2690
|
+
icon: /* @__PURE__ */ jsx39(SiconBilling3, { className: ScSidebar_default.siconBillingInstance }),
|
|
2507
2691
|
text: "Billing",
|
|
2508
2692
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2509
2693
|
}
|
|
2510
2694
|
)
|
|
2511
2695
|
] }),
|
|
2512
|
-
/* @__PURE__ */
|
|
2513
|
-
/* @__PURE__ */
|
|
2514
|
-
/* @__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(
|
|
2515
2699
|
ScSidebarMenu,
|
|
2516
2700
|
{
|
|
2517
|
-
icon: /* @__PURE__ */
|
|
2701
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2518
2702
|
text: "Chat 1",
|
|
2519
2703
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2520
2704
|
}
|
|
2521
2705
|
),
|
|
2522
|
-
/* @__PURE__ */
|
|
2706
|
+
/* @__PURE__ */ jsx39(
|
|
2523
2707
|
ScSidebarMenu,
|
|
2524
2708
|
{
|
|
2525
|
-
icon: /* @__PURE__ */
|
|
2709
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2526
2710
|
text: "Chat 2",
|
|
2527
2711
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2528
2712
|
}
|
|
2529
2713
|
),
|
|
2530
|
-
/* @__PURE__ */
|
|
2714
|
+
/* @__PURE__ */ jsx39(
|
|
2531
2715
|
ScSidebarMenu,
|
|
2532
2716
|
{
|
|
2533
|
-
icon: /* @__PURE__ */
|
|
2717
|
+
icon: /* @__PURE__ */ jsx39(SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2534
2718
|
text: "Chat 3",
|
|
2535
2719
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2536
2720
|
}
|
|
2537
2721
|
),
|
|
2538
|
-
/* @__PURE__ */
|
|
2722
|
+
/* @__PURE__ */ jsx39(
|
|
2539
2723
|
ScSidebarMenu,
|
|
2540
2724
|
{
|
|
2541
|
-
icon: /* @__PURE__ */
|
|
2725
|
+
icon: /* @__PURE__ */ jsx39(SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2542
2726
|
text: "View all",
|
|
2543
2727
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2544
2728
|
}
|
|
2545
2729
|
)
|
|
2546
2730
|
] })
|
|
2547
2731
|
] }),
|
|
2548
|
-
/* @__PURE__ */
|
|
2732
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx39(
|
|
2549
2733
|
ScSidebarMenu,
|
|
2550
2734
|
{
|
|
2551
|
-
icon: /* @__PURE__ */
|
|
2735
|
+
icon: /* @__PURE__ */ jsx39(SiconSupport2, { className: ScSidebar_default.siconSupportInstance }),
|
|
2552
2736
|
text: "Live support",
|
|
2553
2737
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2554
2738
|
}
|
|
2555
2739
|
) }),
|
|
2556
|
-
/* @__PURE__ */
|
|
2557
|
-
/* @__PURE__ */
|
|
2740
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2741
|
+
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer2, children: /* @__PURE__ */ jsx39(
|
|
2558
2742
|
ScSidebarProfile,
|
|
2559
2743
|
{
|
|
2560
2744
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2561
2745
|
}
|
|
2562
2746
|
) }),
|
|
2563
|
-
/* @__PURE__ */
|
|
2564
|
-
/* @__PURE__ */
|
|
2747
|
+
/* @__PURE__ */ jsx39(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2748
|
+
/* @__PURE__ */ jsx39(
|
|
2565
2749
|
ScVersion,
|
|
2566
2750
|
{
|
|
2567
|
-
component: /* @__PURE__ */
|
|
2751
|
+
component: /* @__PURE__ */ jsx39(
|
|
2568
2752
|
ScSidebarIcons,
|
|
2569
2753
|
{
|
|
2570
2754
|
className: ScSidebar_default.scSidebarIconsInstance,
|
|
2571
|
-
instance: /* @__PURE__ */
|
|
2755
|
+
instance: /* @__PURE__ */ jsx39(SiconCollapse2, { className: ScSidebar_default.siconCollapseInstance })
|
|
2572
2756
|
}
|
|
2573
2757
|
),
|
|
2574
|
-
scSidebarIconsinstance: /* @__PURE__ */
|
|
2758
|
+
scSidebarIconsinstance: /* @__PURE__ */ jsx39(SiconCollapse2, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2575
2759
|
className: ScSidebar_default.scVersionInstance
|
|
2576
2760
|
}
|
|
2577
2761
|
)
|
|
@@ -2582,9 +2766,9 @@ var ScSidebar = ({
|
|
|
2582
2766
|
};
|
|
2583
2767
|
|
|
2584
2768
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
2585
|
-
import { Fragment as Fragment14, jsx as
|
|
2769
|
+
import { Fragment as Fragment14, jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2586
2770
|
function SectionHeader({ label }) {
|
|
2587
|
-
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(
|
|
2588
2772
|
"div",
|
|
2589
2773
|
{
|
|
2590
2774
|
className: "flex items-center w-full text-text-xs-regular",
|
|
@@ -2592,12 +2776,12 @@ function SectionHeader({ label }) {
|
|
|
2592
2776
|
padding: "var(--spacing-xs) var(--spacing-3xl)",
|
|
2593
2777
|
color: "var(--alias-text---icons-tertiary)"
|
|
2594
2778
|
},
|
|
2595
|
-
children: /* @__PURE__ */
|
|
2779
|
+
children: /* @__PURE__ */ jsx40("span", { children: label })
|
|
2596
2780
|
}
|
|
2597
2781
|
) }) });
|
|
2598
2782
|
}
|
|
2599
2783
|
function HDivider() {
|
|
2600
|
-
return /* @__PURE__ */
|
|
2784
|
+
return /* @__PURE__ */ jsx40(
|
|
2601
2785
|
"div",
|
|
2602
2786
|
{
|
|
2603
2787
|
className: "shrink-0 w-full",
|
|
@@ -2637,7 +2821,7 @@ function renderMenuItem({
|
|
|
2637
2821
|
const active = item.id === activeItemId;
|
|
2638
2822
|
const highlighted = highlightedItemIds?.has(item.id) ?? false;
|
|
2639
2823
|
const state = active ? "active" : highlighted ? "default-highlight" : "default";
|
|
2640
|
-
return /* @__PURE__ */
|
|
2824
|
+
return /* @__PURE__ */ jsx40(
|
|
2641
2825
|
ScSidebarMenu,
|
|
2642
2826
|
{
|
|
2643
2827
|
icon: resolveIcon(iconMap, item, active || highlighted, expanded),
|
|
@@ -2676,12 +2860,12 @@ function StreamoidSidebar({
|
|
|
2676
2860
|
}) {
|
|
2677
2861
|
const effectiveHideFooter = hideFooter || isMobile;
|
|
2678
2862
|
if (expanded) {
|
|
2679
|
-
return /* @__PURE__ */
|
|
2863
|
+
return /* @__PURE__ */ jsx40(
|
|
2680
2864
|
"div",
|
|
2681
2865
|
{
|
|
2682
2866
|
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
2683
2867
|
style: { padding: "var(--spacing-3xl)", ...style },
|
|
2684
|
-
children: /* @__PURE__ */
|
|
2868
|
+
children: /* @__PURE__ */ jsxs32(
|
|
2685
2869
|
"div",
|
|
2686
2870
|
{
|
|
2687
2871
|
className: "flex flex-col h-full relative shrink-0",
|
|
@@ -2694,7 +2878,7 @@ function StreamoidSidebar({
|
|
|
2694
2878
|
gap: "var(--spacing-xxs)"
|
|
2695
2879
|
},
|
|
2696
2880
|
children: [
|
|
2697
|
-
/* @__PURE__ */
|
|
2881
|
+
/* @__PURE__ */ jsx40(
|
|
2698
2882
|
"div",
|
|
2699
2883
|
{
|
|
2700
2884
|
"aria-hidden": "true",
|
|
@@ -2705,15 +2889,15 @@ function StreamoidSidebar({
|
|
|
2705
2889
|
}
|
|
2706
2890
|
}
|
|
2707
2891
|
),
|
|
2708
|
-
/* @__PURE__ */
|
|
2892
|
+
/* @__PURE__ */ jsxs32(
|
|
2709
2893
|
"div",
|
|
2710
2894
|
{
|
|
2711
2895
|
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
2712
2896
|
style: { gap: "var(--spacing-xxs)" },
|
|
2713
2897
|
children: [
|
|
2714
|
-
/* @__PURE__ */
|
|
2715
|
-
/* @__PURE__ */
|
|
2716
|
-
isMobile ? /* @__PURE__ */
|
|
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(
|
|
2717
2901
|
"div",
|
|
2718
2902
|
{
|
|
2719
2903
|
className: "flex items-center cursor-pointer shrink-0",
|
|
@@ -2726,9 +2910,9 @@ function StreamoidSidebar({
|
|
|
2726
2910
|
}
|
|
2727
2911
|
) : null
|
|
2728
2912
|
] }),
|
|
2729
|
-
config.topItem && /* @__PURE__ */
|
|
2730
|
-
/* @__PURE__ */
|
|
2731
|
-
/* @__PURE__ */
|
|
2913
|
+
config.topItem && /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
2914
|
+
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
2915
|
+
/* @__PURE__ */ jsx40(
|
|
2732
2916
|
"div",
|
|
2733
2917
|
{
|
|
2734
2918
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2746,9 +2930,9 @@ function StreamoidSidebar({
|
|
|
2746
2930
|
})
|
|
2747
2931
|
}
|
|
2748
2932
|
),
|
|
2749
|
-
/* @__PURE__ */
|
|
2933
|
+
/* @__PURE__ */ jsx40(HDivider, {})
|
|
2750
2934
|
] }),
|
|
2751
|
-
showBody && bodyContent ? /* @__PURE__ */
|
|
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(
|
|
2752
2936
|
"div",
|
|
2753
2937
|
{
|
|
2754
2938
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2757,7 +2941,7 @@ function StreamoidSidebar({
|
|
|
2757
2941
|
gap: "var(--spacing-xxs)"
|
|
2758
2942
|
},
|
|
2759
2943
|
children: [
|
|
2760
|
-
section.label ? /* @__PURE__ */
|
|
2944
|
+
section.label ? /* @__PURE__ */ jsx40(SectionHeader, { label: section.label }) : null,
|
|
2761
2945
|
section.items.map(
|
|
2762
2946
|
(item) => renderMenuItem({
|
|
2763
2947
|
item,
|
|
@@ -2776,7 +2960,7 @@ function StreamoidSidebar({
|
|
|
2776
2960
|
}
|
|
2777
2961
|
),
|
|
2778
2962
|
preFooterContent,
|
|
2779
|
-
config.bottomItems?.length ? /* @__PURE__ */
|
|
2963
|
+
config.bottomItems?.length ? /* @__PURE__ */ jsx40(
|
|
2780
2964
|
"div",
|
|
2781
2965
|
{
|
|
2782
2966
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2793,9 +2977,9 @@ function StreamoidSidebar({
|
|
|
2793
2977
|
)
|
|
2794
2978
|
}
|
|
2795
2979
|
) : null,
|
|
2796
|
-
/* @__PURE__ */
|
|
2797
|
-
profile ? /* @__PURE__ */
|
|
2798
|
-
/* @__PURE__ */
|
|
2980
|
+
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
2981
|
+
profile ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
2982
|
+
/* @__PURE__ */ jsxs32(
|
|
2799
2983
|
"div",
|
|
2800
2984
|
{
|
|
2801
2985
|
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
@@ -2813,8 +2997,8 @@ function StreamoidSidebar({
|
|
|
2813
2997
|
},
|
|
2814
2998
|
children: [
|
|
2815
2999
|
profile.avatar,
|
|
2816
|
-
/* @__PURE__ */
|
|
2817
|
-
/* @__PURE__ */
|
|
3000
|
+
/* @__PURE__ */ jsxs32("div", { className: "flex flex-col flex-1 min-w-0", children: [
|
|
3001
|
+
/* @__PURE__ */ jsx40(
|
|
2818
3002
|
"span",
|
|
2819
3003
|
{
|
|
2820
3004
|
className: "text-text-sm-medium truncate",
|
|
@@ -2822,7 +3006,7 @@ function StreamoidSidebar({
|
|
|
2822
3006
|
children: profile.name
|
|
2823
3007
|
}
|
|
2824
3008
|
),
|
|
2825
|
-
profile.subtitle ? /* @__PURE__ */
|
|
3009
|
+
profile.subtitle ? /* @__PURE__ */ jsx40(
|
|
2826
3010
|
"span",
|
|
2827
3011
|
{
|
|
2828
3012
|
className: "text-text-xs-regular truncate",
|
|
@@ -2834,9 +3018,9 @@ function StreamoidSidebar({
|
|
|
2834
3018
|
]
|
|
2835
3019
|
}
|
|
2836
3020
|
),
|
|
2837
|
-
!effectiveHideFooter && /* @__PURE__ */
|
|
3021
|
+
!effectiveHideFooter && /* @__PURE__ */ jsx40(Fragment14, { children: /* @__PURE__ */ jsx40(HDivider, {}) })
|
|
2838
3022
|
] }) : null,
|
|
2839
|
-
!effectiveHideFooter && /* @__PURE__ */
|
|
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(
|
|
2840
3024
|
"div",
|
|
2841
3025
|
{
|
|
2842
3026
|
className: "flex items-center w-full",
|
|
@@ -2845,7 +3029,7 @@ function StreamoidSidebar({
|
|
|
2845
3029
|
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-xl)"
|
|
2846
3030
|
},
|
|
2847
3031
|
children: [
|
|
2848
|
-
/* @__PURE__ */
|
|
3032
|
+
/* @__PURE__ */ jsx40(
|
|
2849
3033
|
"p",
|
|
2850
3034
|
{
|
|
2851
3035
|
className: "flex-1 text-text-sm-regular truncate",
|
|
@@ -2853,7 +3037,7 @@ function StreamoidSidebar({
|
|
|
2853
3037
|
children: versionText
|
|
2854
3038
|
}
|
|
2855
3039
|
),
|
|
2856
|
-
/* @__PURE__ */
|
|
3040
|
+
/* @__PURE__ */ jsx40(
|
|
2857
3041
|
"div",
|
|
2858
3042
|
{
|
|
2859
3043
|
className: "flex items-center cursor-pointer",
|
|
@@ -2874,12 +3058,12 @@ function StreamoidSidebar({
|
|
|
2874
3058
|
}
|
|
2875
3059
|
);
|
|
2876
3060
|
}
|
|
2877
|
-
return /* @__PURE__ */
|
|
3061
|
+
return /* @__PURE__ */ jsx40(
|
|
2878
3062
|
"div",
|
|
2879
3063
|
{
|
|
2880
3064
|
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
2881
3065
|
style,
|
|
2882
|
-
children: /* @__PURE__ */
|
|
3066
|
+
children: /* @__PURE__ */ jsxs32(
|
|
2883
3067
|
"div",
|
|
2884
3068
|
{
|
|
2885
3069
|
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
@@ -2889,7 +3073,7 @@ function StreamoidSidebar({
|
|
|
2889
3073
|
gap: "var(--spacing-xxs)"
|
|
2890
3074
|
},
|
|
2891
3075
|
children: [
|
|
2892
|
-
/* @__PURE__ */
|
|
3076
|
+
/* @__PURE__ */ jsx40(
|
|
2893
3077
|
"div",
|
|
2894
3078
|
{
|
|
2895
3079
|
"aria-hidden": "true",
|
|
@@ -2899,15 +3083,15 @@ function StreamoidSidebar({
|
|
|
2899
3083
|
}
|
|
2900
3084
|
}
|
|
2901
3085
|
),
|
|
2902
|
-
/* @__PURE__ */
|
|
3086
|
+
/* @__PURE__ */ jsxs32(
|
|
2903
3087
|
"div",
|
|
2904
3088
|
{
|
|
2905
3089
|
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
2906
3090
|
style: { gap: "var(--spacing-xxs)" },
|
|
2907
3091
|
children: [
|
|
2908
3092
|
collapsedLogo,
|
|
2909
|
-
config.topItem ? /* @__PURE__ */
|
|
2910
|
-
/* @__PURE__ */
|
|
3093
|
+
config.topItem ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
3094
|
+
/* @__PURE__ */ jsx40(
|
|
2911
3095
|
"div",
|
|
2912
3096
|
{
|
|
2913
3097
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -2925,10 +3109,10 @@ function StreamoidSidebar({
|
|
|
2925
3109
|
})
|
|
2926
3110
|
}
|
|
2927
3111
|
),
|
|
2928
|
-
/* @__PURE__ */
|
|
3112
|
+
/* @__PURE__ */ jsx40(HDivider, {})
|
|
2929
3113
|
] }) : null,
|
|
2930
|
-
showBody && bodyContent ? /* @__PURE__ */
|
|
2931
|
-
/* @__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(
|
|
2932
3116
|
"div",
|
|
2933
3117
|
{
|
|
2934
3118
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -2951,13 +3135,13 @@ function StreamoidSidebar({
|
|
|
2951
3135
|
)
|
|
2952
3136
|
}
|
|
2953
3137
|
),
|
|
2954
|
-
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */
|
|
3138
|
+
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ jsx40(HDivider, {}) : null
|
|
2955
3139
|
] }, section.id))
|
|
2956
3140
|
]
|
|
2957
3141
|
}
|
|
2958
3142
|
),
|
|
2959
3143
|
preFooterContent,
|
|
2960
|
-
config.bottomItems?.length ? /* @__PURE__ */
|
|
3144
|
+
config.bottomItems?.length ? /* @__PURE__ */ jsx40(
|
|
2961
3145
|
"div",
|
|
2962
3146
|
{
|
|
2963
3147
|
className: "flex flex-col items-center justify-center shrink-0 w-full",
|
|
@@ -2977,9 +3161,9 @@ function StreamoidSidebar({
|
|
|
2977
3161
|
)
|
|
2978
3162
|
}
|
|
2979
3163
|
) : null,
|
|
2980
|
-
/* @__PURE__ */
|
|
2981
|
-
profile ? /* @__PURE__ */
|
|
2982
|
-
/* @__PURE__ */
|
|
3164
|
+
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
3165
|
+
profile ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
|
|
3166
|
+
/* @__PURE__ */ jsx40(
|
|
2983
3167
|
"div",
|
|
2984
3168
|
{
|
|
2985
3169
|
className: "flex items-center justify-center shrink-0 cursor-pointer",
|
|
@@ -2997,9 +3181,9 @@ function StreamoidSidebar({
|
|
|
2997
3181
|
children: profile.avatar
|
|
2998
3182
|
}
|
|
2999
3183
|
),
|
|
3000
|
-
/* @__PURE__ */
|
|
3184
|
+
/* @__PURE__ */ jsx40(HDivider, {})
|
|
3001
3185
|
] }) : null,
|
|
3002
|
-
!hideFooter && /* @__PURE__ */
|
|
3186
|
+
!hideFooter && /* @__PURE__ */ jsxs32(
|
|
3003
3187
|
"div",
|
|
3004
3188
|
{
|
|
3005
3189
|
className: "shrink-0 flex flex-col items-center",
|
|
@@ -3009,7 +3193,7 @@ function StreamoidSidebar({
|
|
|
3009
3193
|
width: 56
|
|
3010
3194
|
},
|
|
3011
3195
|
children: [
|
|
3012
|
-
/* @__PURE__ */
|
|
3196
|
+
/* @__PURE__ */ jsx40(
|
|
3013
3197
|
"div",
|
|
3014
3198
|
{
|
|
3015
3199
|
className: "flex items-center cursor-pointer",
|
|
@@ -3021,7 +3205,7 @@ function StreamoidSidebar({
|
|
|
3021
3205
|
children: resolveToggleIcon(toggleIcon, false)
|
|
3022
3206
|
}
|
|
3023
3207
|
),
|
|
3024
|
-
/* @__PURE__ */
|
|
3208
|
+
/* @__PURE__ */ jsx40(
|
|
3025
3209
|
"p",
|
|
3026
3210
|
{
|
|
3027
3211
|
className: "text-text-xs-regular text-center truncate",
|
|
@@ -3049,35 +3233,35 @@ var ScSlider_default = {
|
|
|
3049
3233
|
};
|
|
3050
3234
|
|
|
3051
3235
|
// src/SC-Slider/ScSlider.tsx
|
|
3052
|
-
import { jsx as
|
|
3236
|
+
import { jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
3053
3237
|
var ScSlider = ({
|
|
3054
3238
|
className,
|
|
3055
3239
|
onValueChange,
|
|
3056
3240
|
...props
|
|
3057
3241
|
}) => {
|
|
3058
|
-
return /* @__PURE__ */
|
|
3059
|
-
/* @__PURE__ */
|
|
3060
|
-
/* @__PURE__ */
|
|
3061
|
-
/* @__PURE__ */
|
|
3062
|
-
/* @__PURE__ */
|
|
3063
|
-
/* @__PURE__ */
|
|
3064
|
-
/* @__PURE__ */
|
|
3065
|
-
/* @__PURE__ */
|
|
3066
|
-
/* @__PURE__ */
|
|
3067
|
-
/* @__PURE__ */
|
|
3068
|
-
/* @__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 })
|
|
3069
3253
|
] });
|
|
3070
3254
|
};
|
|
3071
3255
|
|
|
3072
3256
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
3073
3257
|
import { useEffect, useRef as useRef2 } from "react";
|
|
3074
3258
|
import {
|
|
3075
|
-
SiconClose,
|
|
3259
|
+
SiconClose as SiconClose2,
|
|
3076
3260
|
SiconTeam as SiconTeam4,
|
|
3077
3261
|
SiconCrown,
|
|
3078
3262
|
SiconSwitch
|
|
3079
3263
|
} from "@streamoid/icons";
|
|
3080
|
-
import { jsx as
|
|
3264
|
+
import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
3081
3265
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
3082
3266
|
function deriveInitials(name) {
|
|
3083
3267
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -3095,7 +3279,7 @@ function WorkspaceRow({
|
|
|
3095
3279
|
switchWorkspaceText,
|
|
3096
3280
|
onSwitch
|
|
3097
3281
|
}) {
|
|
3098
|
-
return /* @__PURE__ */
|
|
3282
|
+
return /* @__PURE__ */ jsxs34(
|
|
3099
3283
|
"div",
|
|
3100
3284
|
{
|
|
3101
3285
|
className: "relative shrink-0 w-full",
|
|
@@ -3105,7 +3289,7 @@ function WorkspaceRow({
|
|
|
3105
3289
|
backdropFilter: "blur(4px)"
|
|
3106
3290
|
},
|
|
3107
3291
|
children: [
|
|
3108
|
-
/* @__PURE__ */
|
|
3292
|
+
/* @__PURE__ */ jsx42(
|
|
3109
3293
|
"div",
|
|
3110
3294
|
{
|
|
3111
3295
|
"aria-hidden": "true",
|
|
@@ -3116,7 +3300,7 @@ function WorkspaceRow({
|
|
|
3116
3300
|
}
|
|
3117
3301
|
}
|
|
3118
3302
|
),
|
|
3119
|
-
/* @__PURE__ */
|
|
3303
|
+
/* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs34(
|
|
3120
3304
|
"div",
|
|
3121
3305
|
{
|
|
3122
3306
|
className: "flex items-center w-full",
|
|
@@ -3125,20 +3309,20 @@ function WorkspaceRow({
|
|
|
3125
3309
|
padding: "var(--spacing-6xl)"
|
|
3126
3310
|
},
|
|
3127
3311
|
children: [
|
|
3128
|
-
/* @__PURE__ */
|
|
3312
|
+
/* @__PURE__ */ jsxs34(
|
|
3129
3313
|
"div",
|
|
3130
3314
|
{
|
|
3131
3315
|
className: "flex flex-1 items-center min-w-0",
|
|
3132
3316
|
style: { gap: "var(--spacing-xl)" },
|
|
3133
3317
|
children: [
|
|
3134
|
-
/* @__PURE__ */
|
|
3318
|
+
/* @__PURE__ */ jsx42(
|
|
3135
3319
|
ScIntialProfileCover,
|
|
3136
3320
|
{
|
|
3137
3321
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
3138
3322
|
className: "shrink-0"
|
|
3139
3323
|
}
|
|
3140
3324
|
),
|
|
3141
|
-
/* @__PURE__ */
|
|
3325
|
+
/* @__PURE__ */ jsx42(
|
|
3142
3326
|
"p",
|
|
3143
3327
|
{
|
|
3144
3328
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -3158,7 +3342,7 @@ function WorkspaceRow({
|
|
|
3158
3342
|
]
|
|
3159
3343
|
}
|
|
3160
3344
|
),
|
|
3161
|
-
/* @__PURE__ */
|
|
3345
|
+
/* @__PURE__ */ jsxs34(
|
|
3162
3346
|
"div",
|
|
3163
3347
|
{
|
|
3164
3348
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3167,7 +3351,7 @@ function WorkspaceRow({
|
|
|
3167
3351
|
padding: "0 var(--spacing-3xl)"
|
|
3168
3352
|
},
|
|
3169
3353
|
children: [
|
|
3170
|
-
/* @__PURE__ */
|
|
3354
|
+
/* @__PURE__ */ jsx42(
|
|
3171
3355
|
ScRole,
|
|
3172
3356
|
{
|
|
3173
3357
|
type: normalizeRole(workspace.role),
|
|
@@ -3175,23 +3359,23 @@ function WorkspaceRow({
|
|
|
3175
3359
|
style: { width: 80 }
|
|
3176
3360
|
}
|
|
3177
3361
|
),
|
|
3178
|
-
/* @__PURE__ */
|
|
3362
|
+
/* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs34(
|
|
3179
3363
|
"div",
|
|
3180
3364
|
{
|
|
3181
3365
|
className: "flex items-center shrink-0",
|
|
3182
3366
|
style: { gap: "var(--spacing-3xl)" },
|
|
3183
3367
|
children: [
|
|
3184
|
-
/* @__PURE__ */
|
|
3368
|
+
/* @__PURE__ */ jsx42("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ jsx42(
|
|
3185
3369
|
ScPairtext,
|
|
3186
3370
|
{
|
|
3187
|
-
icon: /* @__PURE__ */
|
|
3371
|
+
icon: /* @__PURE__ */ jsx42(SiconTeam4, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
3188
3372
|
content: workspace.userCount || "\u2013",
|
|
3189
3373
|
iconPosition: "left",
|
|
3190
3374
|
type: "icon"
|
|
3191
3375
|
}
|
|
3192
3376
|
) }),
|
|
3193
|
-
/* @__PURE__ */
|
|
3194
|
-
/* @__PURE__ */
|
|
3377
|
+
/* @__PURE__ */ jsx42(ScVDivider, {}),
|
|
3378
|
+
/* @__PURE__ */ jsxs34(
|
|
3195
3379
|
"div",
|
|
3196
3380
|
{
|
|
3197
3381
|
className: "flex items-center",
|
|
@@ -3201,14 +3385,14 @@ function WorkspaceRow({
|
|
|
3201
3385
|
gap: "var(--spacing-md)"
|
|
3202
3386
|
},
|
|
3203
3387
|
children: [
|
|
3204
|
-
/* @__PURE__ */
|
|
3388
|
+
/* @__PURE__ */ jsx42(
|
|
3205
3389
|
SiconCrown,
|
|
3206
3390
|
{
|
|
3207
3391
|
className: "w-6 h-6 shrink-0",
|
|
3208
3392
|
color: PRIMARY_ICON
|
|
3209
3393
|
}
|
|
3210
3394
|
),
|
|
3211
|
-
/* @__PURE__ */
|
|
3395
|
+
/* @__PURE__ */ jsx42(
|
|
3212
3396
|
"span",
|
|
3213
3397
|
{
|
|
3214
3398
|
className: "truncate",
|
|
@@ -3230,7 +3414,7 @@ function WorkspaceRow({
|
|
|
3230
3414
|
]
|
|
3231
3415
|
}
|
|
3232
3416
|
),
|
|
3233
|
-
workspace.isCurrent ? /* @__PURE__ */
|
|
3417
|
+
workspace.isCurrent ? /* @__PURE__ */ jsx42(
|
|
3234
3418
|
ScButton,
|
|
3235
3419
|
{
|
|
3236
3420
|
text: currentWorkspaceText,
|
|
@@ -3239,14 +3423,14 @@ function WorkspaceRow({
|
|
|
3239
3423
|
size: "lg",
|
|
3240
3424
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
3241
3425
|
}
|
|
3242
|
-
) : /* @__PURE__ */
|
|
3426
|
+
) : /* @__PURE__ */ jsx42(
|
|
3243
3427
|
ScButton,
|
|
3244
3428
|
{
|
|
3245
3429
|
text: switchWorkspaceText,
|
|
3246
3430
|
variant: "secondary",
|
|
3247
3431
|
size: "lg",
|
|
3248
3432
|
styleVariant: "icon-left",
|
|
3249
|
-
icon: /* @__PURE__ */
|
|
3433
|
+
icon: /* @__PURE__ */ jsx42(SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
3250
3434
|
style: { width: 200, flexShrink: 0 },
|
|
3251
3435
|
onClick: onSwitch
|
|
3252
3436
|
}
|
|
@@ -3280,7 +3464,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3280
3464
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
3281
3465
|
}, [open, onClose]);
|
|
3282
3466
|
if (!open) return null;
|
|
3283
|
-
return /* @__PURE__ */
|
|
3467
|
+
return /* @__PURE__ */ jsx42(
|
|
3284
3468
|
"div",
|
|
3285
3469
|
{
|
|
3286
3470
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -3288,7 +3472,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3288
3472
|
onClick: (e) => {
|
|
3289
3473
|
if (e.target === e.currentTarget) onClose();
|
|
3290
3474
|
},
|
|
3291
|
-
children: /* @__PURE__ */
|
|
3475
|
+
children: /* @__PURE__ */ jsxs34(
|
|
3292
3476
|
"div",
|
|
3293
3477
|
{
|
|
3294
3478
|
ref: modalRef,
|
|
@@ -3301,14 +3485,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3301
3485
|
height: "60vh"
|
|
3302
3486
|
},
|
|
3303
3487
|
children: [
|
|
3304
|
-
/* @__PURE__ */
|
|
3488
|
+
/* @__PURE__ */ jsx42(
|
|
3305
3489
|
"div",
|
|
3306
3490
|
{
|
|
3307
3491
|
className: "shrink-0 w-full relative",
|
|
3308
3492
|
style: {
|
|
3309
3493
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3310
3494
|
},
|
|
3311
|
-
children: /* @__PURE__ */
|
|
3495
|
+
children: /* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs34(
|
|
3312
3496
|
"div",
|
|
3313
3497
|
{
|
|
3314
3498
|
className: "flex items-center w-full",
|
|
@@ -3317,7 +3501,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3317
3501
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
3318
3502
|
},
|
|
3319
3503
|
children: [
|
|
3320
|
-
/* @__PURE__ */
|
|
3504
|
+
/* @__PURE__ */ jsx42(
|
|
3321
3505
|
"p",
|
|
3322
3506
|
{
|
|
3323
3507
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -3331,20 +3515,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3331
3515
|
children: title
|
|
3332
3516
|
}
|
|
3333
3517
|
),
|
|
3334
|
-
/* @__PURE__ */
|
|
3518
|
+
/* @__PURE__ */ jsx42("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx42(SiconClose2, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
3335
3519
|
]
|
|
3336
3520
|
}
|
|
3337
3521
|
) })
|
|
3338
3522
|
}
|
|
3339
3523
|
),
|
|
3340
|
-
/* @__PURE__ */
|
|
3524
|
+
/* @__PURE__ */ jsx42(
|
|
3341
3525
|
"div",
|
|
3342
3526
|
{
|
|
3343
3527
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
3344
3528
|
style: {
|
|
3345
3529
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3346
3530
|
},
|
|
3347
|
-
children: /* @__PURE__ */
|
|
3531
|
+
children: /* @__PURE__ */ jsxs34(
|
|
3348
3532
|
"div",
|
|
3349
3533
|
{
|
|
3350
3534
|
className: "flex flex-col items-start",
|
|
@@ -3353,7 +3537,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3353
3537
|
gap: "var(--spacing-3xl)"
|
|
3354
3538
|
},
|
|
3355
3539
|
children: [
|
|
3356
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */
|
|
3540
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ jsx42(
|
|
3357
3541
|
"p",
|
|
3358
3542
|
{
|
|
3359
3543
|
style: {
|
|
@@ -3364,7 +3548,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3364
3548
|
children: loadingText
|
|
3365
3549
|
}
|
|
3366
3550
|
) : null,
|
|
3367
|
-
workspaces.map((ws) => /* @__PURE__ */
|
|
3551
|
+
workspaces.map((ws) => /* @__PURE__ */ jsx42(
|
|
3368
3552
|
WorkspaceRow,
|
|
3369
3553
|
{
|
|
3370
3554
|
workspace: ws,
|
|
@@ -3403,23 +3587,23 @@ var ScAppListingCard_default = {
|
|
|
3403
3587
|
|
|
3404
3588
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3405
3589
|
import { SiconCart } from "@streamoid/icons";
|
|
3406
|
-
import { jsx as
|
|
3590
|
+
import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
3407
3591
|
var ScAppListingCard = ({
|
|
3408
|
-
icon = /* @__PURE__ */
|
|
3592
|
+
icon = /* @__PURE__ */ jsx43(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3409
3593
|
title = "Stores",
|
|
3410
3594
|
descrp = "Centralized product and asset management for every storefront",
|
|
3411
3595
|
className,
|
|
3412
3596
|
...props
|
|
3413
3597
|
}) => {
|
|
3414
|
-
return /* @__PURE__ */
|
|
3415
|
-
/* @__PURE__ */
|
|
3416
|
-
/* @__PURE__ */
|
|
3417
|
-
/* @__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: [
|
|
3418
3602
|
title,
|
|
3419
3603
|
" "
|
|
3420
3604
|
] })
|
|
3421
3605
|
] }),
|
|
3422
|
-
/* @__PURE__ */
|
|
3606
|
+
/* @__PURE__ */ jsxs35("div", { className: ScAppListingCard_default.description, children: [
|
|
3423
3607
|
descrp,
|
|
3424
3608
|
" "
|
|
3425
3609
|
] })
|
|
@@ -3437,22 +3621,22 @@ var ScAppCard_default = {
|
|
|
3437
3621
|
|
|
3438
3622
|
// src/SC-appCard/ScAppCard.tsx
|
|
3439
3623
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
3440
|
-
import { jsx as
|
|
3624
|
+
import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
3441
3625
|
var ScAppCard = ({
|
|
3442
|
-
appIcon = /* @__PURE__ */
|
|
3626
|
+
appIcon = /* @__PURE__ */ jsx44(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3443
3627
|
appName = "Artifax",
|
|
3444
3628
|
appDescription = "Info about artifax",
|
|
3445
3629
|
className,
|
|
3446
3630
|
...props
|
|
3447
3631
|
}) => {
|
|
3448
|
-
return /* @__PURE__ */
|
|
3449
|
-
/* @__PURE__ */
|
|
3450
|
-
/* @__PURE__ */
|
|
3451
|
-
/* @__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: [
|
|
3452
3636
|
appName,
|
|
3453
3637
|
" "
|
|
3454
3638
|
] }),
|
|
3455
|
-
/* @__PURE__ */
|
|
3639
|
+
/* @__PURE__ */ jsxs36("div", { className: ScAppCard_default.subtitle, children: [
|
|
3456
3640
|
appDescription,
|
|
3457
3641
|
" "
|
|
3458
3642
|
] })
|
|
@@ -3479,9 +3663,9 @@ var ScAppCardV3_default = {
|
|
|
3479
3663
|
|
|
3480
3664
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
3481
3665
|
import { SiconCart as SiconCart2 } from "@streamoid/icons";
|
|
3482
|
-
import { jsx as
|
|
3666
|
+
import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3483
3667
|
var ScAppCardV3 = ({
|
|
3484
|
-
appIcon = /* @__PURE__ */
|
|
3668
|
+
appIcon = /* @__PURE__ */ jsx45(SiconCart2, { className: ScAppCardV3_default.iconPillIcon }),
|
|
3485
3669
|
appName = "Stores",
|
|
3486
3670
|
description = "Centralized product and asset management for every storefront",
|
|
3487
3671
|
active = false,
|
|
@@ -3493,25 +3677,25 @@ var ScAppCardV3 = ({
|
|
|
3493
3677
|
ScAppCardV3_default.scAppCardV3,
|
|
3494
3678
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
3495
3679
|
].filter(Boolean).join(" ");
|
|
3496
|
-
return /* @__PURE__ */
|
|
3680
|
+
return /* @__PURE__ */ jsx45(
|
|
3497
3681
|
"div",
|
|
3498
3682
|
{
|
|
3499
3683
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
3500
3684
|
style,
|
|
3501
3685
|
...props,
|
|
3502
|
-
children: /* @__PURE__ */
|
|
3503
|
-
/* @__PURE__ */
|
|
3504
|
-
/* @__PURE__ */
|
|
3505
|
-
/* @__PURE__ */
|
|
3506
|
-
/* @__PURE__ */
|
|
3507
|
-
/* @__PURE__ */
|
|
3508
|
-
/* @__PURE__ */
|
|
3509
|
-
/* @__PURE__ */
|
|
3510
|
-
/* @__PURE__ */
|
|
3511
|
-
/* @__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 })
|
|
3512
3696
|
] })
|
|
3513
3697
|
] }),
|
|
3514
|
-
/* @__PURE__ */
|
|
3698
|
+
/* @__PURE__ */ jsx45("p", { className: ScAppCardV3_default.description, children: description })
|
|
3515
3699
|
] })
|
|
3516
3700
|
] })
|
|
3517
3701
|
}
|
|
@@ -3549,7 +3733,7 @@ var ScToggleSwitch_default = {
|
|
|
3549
3733
|
};
|
|
3550
3734
|
|
|
3551
3735
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3552
|
-
import { jsx as
|
|
3736
|
+
import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3553
3737
|
var ScToggleSwitch = ({
|
|
3554
3738
|
active = "false",
|
|
3555
3739
|
checked,
|
|
@@ -3559,7 +3743,7 @@ var ScToggleSwitch = ({
|
|
|
3559
3743
|
}) => {
|
|
3560
3744
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3561
3745
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3562
|
-
return /* @__PURE__ */
|
|
3746
|
+
return /* @__PURE__ */ jsx46(
|
|
3563
3747
|
"div",
|
|
3564
3748
|
{
|
|
3565
3749
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -3569,20 +3753,20 @@ var ScToggleSwitch = ({
|
|
|
3569
3753
|
props.onClick?.(e);
|
|
3570
3754
|
},
|
|
3571
3755
|
style: { cursor: "pointer", ...props.style },
|
|
3572
|
-
children: isActive ? /* @__PURE__ */
|
|
3573
|
-
/* @__PURE__ */
|
|
3574
|
-
/* @__PURE__ */
|
|
3575
|
-
] }) : /* @__PURE__ */
|
|
3576
|
-
/* @__PURE__ */
|
|
3577
|
-
/* @__PURE__ */
|
|
3578
|
-
/* @__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)" })
|
|
3579
3763
|
] })
|
|
3580
3764
|
}
|
|
3581
3765
|
);
|
|
3582
3766
|
};
|
|
3583
3767
|
|
|
3584
3768
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3585
|
-
import { jsx as
|
|
3769
|
+
import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
3586
3770
|
var ScArtifaxInvite = ({
|
|
3587
3771
|
active = "true",
|
|
3588
3772
|
appName = "Artifax",
|
|
@@ -3595,22 +3779,22 @@ var ScArtifaxInvite = ({
|
|
|
3595
3779
|
}) => {
|
|
3596
3780
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3597
3781
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3598
|
-
return /* @__PURE__ */
|
|
3782
|
+
return /* @__PURE__ */ jsxs39(
|
|
3599
3783
|
"div",
|
|
3600
3784
|
{
|
|
3601
3785
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
3602
3786
|
...props,
|
|
3603
3787
|
children: [
|
|
3604
|
-
/* @__PURE__ */
|
|
3788
|
+
/* @__PURE__ */ jsx47(
|
|
3605
3789
|
ScAppCard,
|
|
3606
3790
|
{
|
|
3607
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
3791
|
+
appIcon: appIcon || /* @__PURE__ */ jsx47(SiconArtifacts3, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
3608
3792
|
appName,
|
|
3609
3793
|
appDescription,
|
|
3610
3794
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
3611
3795
|
}
|
|
3612
3796
|
),
|
|
3613
|
-
/* @__PURE__ */
|
|
3797
|
+
/* @__PURE__ */ jsx47(
|
|
3614
3798
|
ScToggleSwitch,
|
|
3615
3799
|
{
|
|
3616
3800
|
checked: isEnabled,
|
|
@@ -3636,12 +3820,12 @@ var ScPhtogenixInvite_default = {
|
|
|
3636
3820
|
|
|
3637
3821
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3638
3822
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
3639
|
-
import { jsx as
|
|
3823
|
+
import { jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
3640
3824
|
var ScPhtogenixInvite = ({
|
|
3641
3825
|
active = "true",
|
|
3642
3826
|
scAppCardappDescription = "Info about photogenix",
|
|
3643
3827
|
scAppCardappName = "Photogenix",
|
|
3644
|
-
scAppCardappIcon = /* @__PURE__ */
|
|
3828
|
+
scAppCardappIcon = /* @__PURE__ */ jsx48(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3645
3829
|
className,
|
|
3646
3830
|
enabled,
|
|
3647
3831
|
onToggle,
|
|
@@ -3649,12 +3833,12 @@ var ScPhtogenixInvite = ({
|
|
|
3649
3833
|
}) => {
|
|
3650
3834
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3651
3835
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3652
|
-
return /* @__PURE__ */
|
|
3836
|
+
return /* @__PURE__ */ jsxs40(
|
|
3653
3837
|
"div",
|
|
3654
3838
|
{
|
|
3655
3839
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
3656
3840
|
children: [
|
|
3657
|
-
/* @__PURE__ */
|
|
3841
|
+
/* @__PURE__ */ jsx48(
|
|
3658
3842
|
ScAppCard,
|
|
3659
3843
|
{
|
|
3660
3844
|
appIcon: scAppCardappIcon,
|
|
@@ -3663,7 +3847,7 @@ var ScPhtogenixInvite = ({
|
|
|
3663
3847
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
3664
3848
|
}
|
|
3665
3849
|
),
|
|
3666
|
-
/* @__PURE__ */
|
|
3850
|
+
/* @__PURE__ */ jsx48(
|
|
3667
3851
|
ScToggleSwitch,
|
|
3668
3852
|
{
|
|
3669
3853
|
checked: isEnabled,
|
|
@@ -3713,10 +3897,10 @@ var ScOnlyField_default = {
|
|
|
3713
3897
|
|
|
3714
3898
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
3715
3899
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
3716
|
-
import { jsx as
|
|
3900
|
+
import { jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3717
3901
|
var ScOnlyField = ({
|
|
3718
|
-
tfRightIcon = /* @__PURE__ */
|
|
3719
|
-
tfLeftIcon = /* @__PURE__ */
|
|
3902
|
+
tfRightIcon = /* @__PURE__ */ jsx49(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3903
|
+
tfLeftIcon = /* @__PURE__ */ jsx49(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3720
3904
|
state = "default",
|
|
3721
3905
|
tfGroup = "icon-right",
|
|
3722
3906
|
labelGroup = "none",
|
|
@@ -3729,14 +3913,14 @@ var ScOnlyField = ({
|
|
|
3729
3913
|
...props
|
|
3730
3914
|
}) => {
|
|
3731
3915
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
3732
|
-
return /* @__PURE__ */
|
|
3916
|
+
return /* @__PURE__ */ jsx49(
|
|
3733
3917
|
"div",
|
|
3734
3918
|
{
|
|
3735
3919
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
3736
3920
|
...props,
|
|
3737
|
-
children: /* @__PURE__ */
|
|
3738
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
3739
|
-
/* @__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(
|
|
3740
3924
|
"input",
|
|
3741
3925
|
{
|
|
3742
3926
|
className: ScOnlyField_default.inputText,
|
|
@@ -3756,7 +3940,7 @@ var ScOnlyField = ({
|
|
|
3756
3940
|
...inputProps
|
|
3757
3941
|
}
|
|
3758
3942
|
),
|
|
3759
|
-
(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 })
|
|
3760
3944
|
] })
|
|
3761
3945
|
}
|
|
3762
3946
|
);
|
|
@@ -3764,7 +3948,7 @@ var ScOnlyField = ({
|
|
|
3764
3948
|
|
|
3765
3949
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3766
3950
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
3767
|
-
import { Fragment as Fragment15, jsx as
|
|
3951
|
+
import { Fragment as Fragment15, jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3768
3952
|
var ScCatalogixInvite = ({
|
|
3769
3953
|
active = "false",
|
|
3770
3954
|
appName = "Catalogix",
|
|
@@ -3786,23 +3970,23 @@ var ScCatalogixInvite = ({
|
|
|
3786
3970
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3787
3971
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3788
3972
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
3789
|
-
return /* @__PURE__ */
|
|
3973
|
+
return /* @__PURE__ */ jsxs42(
|
|
3790
3974
|
"div",
|
|
3791
3975
|
{
|
|
3792
3976
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
3793
3977
|
...props,
|
|
3794
3978
|
children: [
|
|
3795
|
-
/* @__PURE__ */
|
|
3796
|
-
/* @__PURE__ */
|
|
3979
|
+
/* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
3980
|
+
/* @__PURE__ */ jsx50(
|
|
3797
3981
|
ScAppCard,
|
|
3798
3982
|
{
|
|
3799
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
3983
|
+
appIcon: appIcon || /* @__PURE__ */ jsx50(SiconArtifacts5, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
3800
3984
|
appDescription,
|
|
3801
3985
|
appName,
|
|
3802
3986
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
3803
3987
|
}
|
|
3804
3988
|
),
|
|
3805
|
-
/* @__PURE__ */
|
|
3989
|
+
/* @__PURE__ */ jsx50(
|
|
3806
3990
|
ScToggleSwitch,
|
|
3807
3991
|
{
|
|
3808
3992
|
checked: isEnabled,
|
|
@@ -3811,29 +3995,29 @@ var ScCatalogixInvite = ({
|
|
|
3811
3995
|
}
|
|
3812
3996
|
)
|
|
3813
3997
|
] }),
|
|
3814
|
-
isEnabled && /* @__PURE__ */
|
|
3815
|
-
/* @__PURE__ */
|
|
3816
|
-
/* @__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: [
|
|
3817
4001
|
storeAccessTitle,
|
|
3818
4002
|
" "
|
|
3819
4003
|
] }),
|
|
3820
|
-
/* @__PURE__ */
|
|
4004
|
+
/* @__PURE__ */ jsxs42("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
3821
4005
|
displayCount,
|
|
3822
4006
|
" "
|
|
3823
4007
|
] })
|
|
3824
4008
|
] }),
|
|
3825
|
-
/* @__PURE__ */
|
|
4009
|
+
/* @__PURE__ */ jsx50(
|
|
3826
4010
|
ScOnlyField,
|
|
3827
4011
|
{
|
|
3828
|
-
tfLeftIcon: /* @__PURE__ */
|
|
3829
|
-
tfRightIcon: /* @__PURE__ */
|
|
4012
|
+
tfLeftIcon: /* @__PURE__ */ jsx50(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4013
|
+
tfRightIcon: /* @__PURE__ */ jsx50(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
3830
4014
|
placeholderFilled: searchPlaceholder,
|
|
3831
4015
|
value: searchValue,
|
|
3832
4016
|
onInputChange: onSearchChange,
|
|
3833
4017
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
3834
4018
|
}
|
|
3835
4019
|
),
|
|
3836
|
-
/* @__PURE__ */
|
|
4020
|
+
/* @__PURE__ */ jsx50("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx50(
|
|
3837
4021
|
ScPairtext,
|
|
3838
4022
|
{
|
|
3839
4023
|
content: store.name,
|
|
@@ -3844,53 +4028,53 @@ var ScCatalogixInvite = ({
|
|
|
3844
4028
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3845
4029
|
},
|
|
3846
4030
|
store.id
|
|
3847
|
-
)) : /* @__PURE__ */
|
|
4031
|
+
)) : /* @__PURE__ */ jsx50("div", { style: {
|
|
3848
4032
|
padding: "var(--spacing-3xl, 16px)",
|
|
3849
4033
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
3850
4034
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
3851
4035
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
3852
4036
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
3853
|
-
}, children: "No stores found" }) : /* @__PURE__ */
|
|
3854
|
-
/* @__PURE__ */
|
|
4037
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs42(Fragment15, { children: [
|
|
4038
|
+
/* @__PURE__ */ jsx50(
|
|
3855
4039
|
ScPairtext,
|
|
3856
4040
|
{
|
|
3857
|
-
icon: /* @__PURE__ */
|
|
4041
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3858
4042
|
iconPosition: "right",
|
|
3859
4043
|
type: "checkbox",
|
|
3860
4044
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3861
4045
|
}
|
|
3862
4046
|
),
|
|
3863
|
-
/* @__PURE__ */
|
|
4047
|
+
/* @__PURE__ */ jsx50(
|
|
3864
4048
|
ScPairtext,
|
|
3865
4049
|
{
|
|
3866
|
-
icon: /* @__PURE__ */
|
|
4050
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3867
4051
|
iconPosition: "right",
|
|
3868
4052
|
type: "checkbox",
|
|
3869
4053
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3870
4054
|
}
|
|
3871
4055
|
),
|
|
3872
|
-
/* @__PURE__ */
|
|
4056
|
+
/* @__PURE__ */ jsx50(
|
|
3873
4057
|
ScPairtext,
|
|
3874
4058
|
{
|
|
3875
|
-
icon: /* @__PURE__ */
|
|
4059
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3876
4060
|
iconPosition: "right",
|
|
3877
4061
|
type: "checkbox",
|
|
3878
4062
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3879
4063
|
}
|
|
3880
4064
|
),
|
|
3881
|
-
/* @__PURE__ */
|
|
4065
|
+
/* @__PURE__ */ jsx50(
|
|
3882
4066
|
ScPairtext,
|
|
3883
4067
|
{
|
|
3884
|
-
icon: /* @__PURE__ */
|
|
4068
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3885
4069
|
iconPosition: "right",
|
|
3886
4070
|
type: "checkbox",
|
|
3887
4071
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3888
4072
|
}
|
|
3889
4073
|
),
|
|
3890
|
-
/* @__PURE__ */
|
|
4074
|
+
/* @__PURE__ */ jsx50(
|
|
3891
4075
|
ScPairtext,
|
|
3892
4076
|
{
|
|
3893
|
-
icon: /* @__PURE__ */
|
|
4077
|
+
icon: /* @__PURE__ */ jsx50(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3894
4078
|
iconPosition: "right",
|
|
3895
4079
|
type: "checkbox",
|
|
3896
4080
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -3904,7 +4088,7 @@ var ScCatalogixInvite = ({
|
|
|
3904
4088
|
};
|
|
3905
4089
|
|
|
3906
4090
|
// src/SC-appField/ScAppField.tsx
|
|
3907
|
-
import { jsx as
|
|
4091
|
+
import { jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3908
4092
|
var ScAppField = ({
|
|
3909
4093
|
appFieldTitle = "App permission",
|
|
3910
4094
|
className,
|
|
@@ -3921,13 +4105,13 @@ var ScAppField = ({
|
|
|
3921
4105
|
onCatalogixSearchChange,
|
|
3922
4106
|
...props
|
|
3923
4107
|
}) => {
|
|
3924
|
-
return /* @__PURE__ */
|
|
3925
|
-
/* @__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: [
|
|
3926
4110
|
appFieldTitle,
|
|
3927
4111
|
" "
|
|
3928
4112
|
] }) }),
|
|
3929
|
-
/* @__PURE__ */
|
|
3930
|
-
/* @__PURE__ */
|
|
4113
|
+
/* @__PURE__ */ jsxs43("div", { className: ScAppField_default.inputContainer, children: [
|
|
4114
|
+
/* @__PURE__ */ jsx51(
|
|
3931
4115
|
ScArtifaxInvite,
|
|
3932
4116
|
{
|
|
3933
4117
|
enabled: artifaxEnabled,
|
|
@@ -3935,18 +4119,18 @@ var ScAppField = ({
|
|
|
3935
4119
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
3936
4120
|
}
|
|
3937
4121
|
),
|
|
3938
|
-
/* @__PURE__ */
|
|
4122
|
+
/* @__PURE__ */ jsx51(
|
|
3939
4123
|
ScPhtogenixInvite,
|
|
3940
4124
|
{
|
|
3941
4125
|
enabled: photogenixEnabled,
|
|
3942
4126
|
onToggle: onPhotogenixToggle,
|
|
3943
4127
|
scAppCardappDescription: "Info about photogenix",
|
|
3944
4128
|
scAppCardappName: "Photogenix",
|
|
3945
|
-
scAppCardappIcon: /* @__PURE__ */
|
|
4129
|
+
scAppCardappIcon: /* @__PURE__ */ jsx51(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
3946
4130
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
3947
4131
|
}
|
|
3948
4132
|
),
|
|
3949
|
-
/* @__PURE__ */
|
|
4133
|
+
/* @__PURE__ */ jsx51(
|
|
3950
4134
|
ScCatalogixInvite,
|
|
3951
4135
|
{
|
|
3952
4136
|
enabled: catalogixEnabled,
|
|
@@ -3973,13 +4157,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
3973
4157
|
};
|
|
3974
4158
|
|
|
3975
4159
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
3976
|
-
import { jsx as
|
|
4160
|
+
import { jsx as jsx52, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3977
4161
|
var ScBillingHistoryHeader = ({
|
|
3978
4162
|
className,
|
|
3979
4163
|
...props
|
|
3980
4164
|
}) => {
|
|
3981
|
-
return /* @__PURE__ */
|
|
3982
|
-
/* @__PURE__ */
|
|
4165
|
+
return /* @__PURE__ */ jsxs44("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
4166
|
+
/* @__PURE__ */ jsx52(
|
|
3983
4167
|
ScHeader,
|
|
3984
4168
|
{
|
|
3985
4169
|
text: "Invoice",
|
|
@@ -3987,7 +4171,7 @@ var ScBillingHistoryHeader = ({
|
|
|
3987
4171
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
3988
4172
|
}
|
|
3989
4173
|
),
|
|
3990
|
-
/* @__PURE__ */
|
|
4174
|
+
/* @__PURE__ */ jsx52(
|
|
3991
4175
|
ScHeader,
|
|
3992
4176
|
{
|
|
3993
4177
|
text: "Amount",
|
|
@@ -3995,7 +4179,7 @@ var ScBillingHistoryHeader = ({
|
|
|
3995
4179
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
3996
4180
|
}
|
|
3997
4181
|
),
|
|
3998
|
-
/* @__PURE__ */
|
|
4182
|
+
/* @__PURE__ */ jsx52(
|
|
3999
4183
|
ScHeader,
|
|
4000
4184
|
{
|
|
4001
4185
|
text: "Date",
|
|
@@ -4003,7 +4187,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4003
4187
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4004
4188
|
}
|
|
4005
4189
|
),
|
|
4006
|
-
/* @__PURE__ */
|
|
4190
|
+
/* @__PURE__ */ jsx52(
|
|
4007
4191
|
ScHeader,
|
|
4008
4192
|
{
|
|
4009
4193
|
text: "Action",
|
|
@@ -4025,19 +4209,19 @@ var ScCheckField_default = {
|
|
|
4025
4209
|
|
|
4026
4210
|
// src/SC-checkField/ScCheckField.tsx
|
|
4027
4211
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
4028
|
-
import { Fragment as Fragment16, jsx as
|
|
4212
|
+
import { Fragment as Fragment16, jsx as jsx53, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
4029
4213
|
var ScCheckField = ({
|
|
4030
4214
|
label = "Label",
|
|
4031
4215
|
className,
|
|
4032
4216
|
checkboxes,
|
|
4033
4217
|
...props
|
|
4034
4218
|
}) => {
|
|
4035
|
-
return /* @__PURE__ */
|
|
4036
|
-
/* @__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: [
|
|
4037
4221
|
label,
|
|
4038
4222
|
" "
|
|
4039
4223
|
] }) }),
|
|
4040
|
-
/* @__PURE__ */
|
|
4224
|
+
/* @__PURE__ */ jsx53("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx53(
|
|
4041
4225
|
ScPairtext,
|
|
4042
4226
|
{
|
|
4043
4227
|
content: item.label,
|
|
@@ -4047,19 +4231,19 @@ var ScCheckField = ({
|
|
|
4047
4231
|
className: ScCheckField_default.scPairtextInstance
|
|
4048
4232
|
},
|
|
4049
4233
|
i
|
|
4050
|
-
)) : /* @__PURE__ */
|
|
4051
|
-
/* @__PURE__ */
|
|
4234
|
+
)) : /* @__PURE__ */ jsxs45(Fragment16, { children: [
|
|
4235
|
+
/* @__PURE__ */ jsx53(
|
|
4052
4236
|
ScPairtext,
|
|
4053
4237
|
{
|
|
4054
|
-
icon: /* @__PURE__ */
|
|
4238
|
+
icon: /* @__PURE__ */ jsx53(SiconHome11, { className: ScCheckField_default.siconHomeInstance }),
|
|
4055
4239
|
type: "checkbox",
|
|
4056
4240
|
className: ScCheckField_default.scPairtextInstance
|
|
4057
4241
|
}
|
|
4058
4242
|
),
|
|
4059
|
-
/* @__PURE__ */
|
|
4243
|
+
/* @__PURE__ */ jsx53(
|
|
4060
4244
|
ScPairtext,
|
|
4061
4245
|
{
|
|
4062
|
-
icon: /* @__PURE__ */
|
|
4246
|
+
icon: /* @__PURE__ */ jsx53(SiconHome11, { className: ScCheckField_default.siconHomeInstance }),
|
|
4063
4247
|
type: "checkbox",
|
|
4064
4248
|
className: ScCheckField_default.scPairtextInstance
|
|
4065
4249
|
}
|
|
@@ -4080,9 +4264,9 @@ var ScFieldButton_default = {
|
|
|
4080
4264
|
|
|
4081
4265
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4082
4266
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
4083
|
-
import { Fragment as Fragment17, jsx as
|
|
4267
|
+
import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
4084
4268
|
var ScFieldButton = ({
|
|
4085
|
-
icon = /* @__PURE__ */
|
|
4269
|
+
icon = /* @__PURE__ */ jsx54(SiconHome12, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4086
4270
|
type = "default",
|
|
4087
4271
|
state = "default",
|
|
4088
4272
|
className,
|
|
@@ -4090,18 +4274,18 @@ var ScFieldButton = ({
|
|
|
4090
4274
|
...props
|
|
4091
4275
|
}) => {
|
|
4092
4276
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
4093
|
-
return /* @__PURE__ */
|
|
4277
|
+
return /* @__PURE__ */ jsx54(
|
|
4094
4278
|
"div",
|
|
4095
4279
|
{
|
|
4096
4280
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4097
4281
|
...props,
|
|
4098
|
-
children: /* @__PURE__ */
|
|
4099
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */
|
|
4100
|
-
(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: [
|
|
4101
4285
|
text,
|
|
4102
4286
|
" "
|
|
4103
4287
|
] }) }),
|
|
4104
|
-
type === "icon-left" && /* @__PURE__ */
|
|
4288
|
+
type === "icon-left" && /* @__PURE__ */ jsx54(Fragment17, { children: icon })
|
|
4105
4289
|
] })
|
|
4106
4290
|
}
|
|
4107
4291
|
);
|
|
@@ -4116,16 +4300,16 @@ var ScPendingAction_default = {
|
|
|
4116
4300
|
|
|
4117
4301
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
4118
4302
|
import { SiconHome as SiconHome13 } from "@streamoid/icons";
|
|
4119
|
-
import { jsx as
|
|
4303
|
+
import { jsx as jsx55, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
4120
4304
|
var ScPendingAction = ({
|
|
4121
4305
|
className,
|
|
4122
4306
|
...props
|
|
4123
4307
|
}) => {
|
|
4124
|
-
return /* @__PURE__ */
|
|
4125
|
-
/* @__PURE__ */
|
|
4308
|
+
return /* @__PURE__ */ jsxs47("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
4309
|
+
/* @__PURE__ */ jsx55(
|
|
4126
4310
|
ScButton,
|
|
4127
4311
|
{
|
|
4128
|
-
icon: /* @__PURE__ */
|
|
4312
|
+
icon: /* @__PURE__ */ jsx55(SiconHome13, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4129
4313
|
text: "Cancel",
|
|
4130
4314
|
variant: "error",
|
|
4131
4315
|
type: "tertiary",
|
|
@@ -4133,11 +4317,11 @@ var ScPendingAction = ({
|
|
|
4133
4317
|
className: ScPendingAction_default.scButtonInstance
|
|
4134
4318
|
}
|
|
4135
4319
|
),
|
|
4136
|
-
/* @__PURE__ */
|
|
4137
|
-
/* @__PURE__ */
|
|
4320
|
+
/* @__PURE__ */ jsx55(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
4321
|
+
/* @__PURE__ */ jsx55(
|
|
4138
4322
|
ScButton,
|
|
4139
4323
|
{
|
|
4140
|
-
icon: /* @__PURE__ */
|
|
4324
|
+
icon: /* @__PURE__ */ jsx55(SiconHome13, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4141
4325
|
text: "Resend",
|
|
4142
4326
|
variant: "tertiary",
|
|
4143
4327
|
size: "sm",
|
|
@@ -4161,7 +4345,7 @@ var ScQuickPrompt_default = {
|
|
|
4161
4345
|
|
|
4162
4346
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
4163
4347
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
4164
|
-
import { jsx as
|
|
4348
|
+
import { jsx as jsx56, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
4165
4349
|
var ScQuickPrompt = ({
|
|
4166
4350
|
appName = "Photogenix",
|
|
4167
4351
|
heading = "Swap Model and Background",
|
|
@@ -4169,20 +4353,20 @@ var ScQuickPrompt = ({
|
|
|
4169
4353
|
className,
|
|
4170
4354
|
...props
|
|
4171
4355
|
}) => {
|
|
4172
|
-
return /* @__PURE__ */
|
|
4173
|
-
/* @__PURE__ */
|
|
4174
|
-
/* @__PURE__ */
|
|
4175
|
-
/* @__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: [
|
|
4176
4360
|
appName,
|
|
4177
4361
|
" "
|
|
4178
4362
|
] }) })
|
|
4179
4363
|
] }),
|
|
4180
|
-
/* @__PURE__ */
|
|
4181
|
-
/* @__PURE__ */
|
|
4364
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.body, children: [
|
|
4365
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.heading, children: [
|
|
4182
4366
|
heading,
|
|
4183
4367
|
" "
|
|
4184
4368
|
] }),
|
|
4185
|
-
/* @__PURE__ */
|
|
4369
|
+
/* @__PURE__ */ jsxs48("div", { className: ScQuickPrompt_default.description, children: [
|
|
4186
4370
|
description,
|
|
4187
4371
|
" "
|
|
4188
4372
|
] })
|
|
@@ -4199,13 +4383,13 @@ var ScReferralTableHeader_default = {
|
|
|
4199
4383
|
};
|
|
4200
4384
|
|
|
4201
4385
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
4202
|
-
import { jsx as
|
|
4386
|
+
import { jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4203
4387
|
var ScReferralTableHeader = ({
|
|
4204
4388
|
className,
|
|
4205
4389
|
...props
|
|
4206
4390
|
}) => {
|
|
4207
|
-
return /* @__PURE__ */
|
|
4208
|
-
/* @__PURE__ */
|
|
4391
|
+
return /* @__PURE__ */ jsxs49("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
4392
|
+
/* @__PURE__ */ jsx57(
|
|
4209
4393
|
ScHeader,
|
|
4210
4394
|
{
|
|
4211
4395
|
text: "User",
|
|
@@ -4213,7 +4397,7 @@ var ScReferralTableHeader = ({
|
|
|
4213
4397
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
4214
4398
|
}
|
|
4215
4399
|
),
|
|
4216
|
-
/* @__PURE__ */
|
|
4400
|
+
/* @__PURE__ */ jsx57(
|
|
4217
4401
|
ScHeader,
|
|
4218
4402
|
{
|
|
4219
4403
|
text: "Date",
|
|
@@ -4221,7 +4405,7 @@ var ScReferralTableHeader = ({
|
|
|
4221
4405
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
4222
4406
|
}
|
|
4223
4407
|
),
|
|
4224
|
-
/* @__PURE__ */
|
|
4408
|
+
/* @__PURE__ */ jsx57(
|
|
4225
4409
|
ScHeader,
|
|
4226
4410
|
{
|
|
4227
4411
|
text: "Status",
|
|
@@ -4229,7 +4413,7 @@ var ScReferralTableHeader = ({
|
|
|
4229
4413
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
4230
4414
|
}
|
|
4231
4415
|
),
|
|
4232
|
-
/* @__PURE__ */
|
|
4416
|
+
/* @__PURE__ */ jsx57(
|
|
4233
4417
|
ScHeader,
|
|
4234
4418
|
{
|
|
4235
4419
|
text: "Reward",
|
|
@@ -4250,7 +4434,7 @@ var ScReferralTableList_default = {
|
|
|
4250
4434
|
};
|
|
4251
4435
|
|
|
4252
4436
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4253
|
-
import { jsx as
|
|
4437
|
+
import { jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4254
4438
|
var ScReferralTableList = ({
|
|
4255
4439
|
userEmail = "chris@kepler.com",
|
|
4256
4440
|
userName,
|
|
@@ -4260,8 +4444,8 @@ var ScReferralTableList = ({
|
|
|
4260
4444
|
className,
|
|
4261
4445
|
...props
|
|
4262
4446
|
}) => {
|
|
4263
|
-
return /* @__PURE__ */
|
|
4264
|
-
/* @__PURE__ */
|
|
4447
|
+
return /* @__PURE__ */ jsxs50("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
4448
|
+
/* @__PURE__ */ jsx58(
|
|
4265
4449
|
ScProfile,
|
|
4266
4450
|
{
|
|
4267
4451
|
subText: userEmail,
|
|
@@ -4269,12 +4453,12 @@ var ScReferralTableList = ({
|
|
|
4269
4453
|
className: ScReferralTableList_default.scProfileInstance
|
|
4270
4454
|
}
|
|
4271
4455
|
),
|
|
4272
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsxs50("div", { className: ScReferralTableList_default.date, children: [
|
|
4273
4457
|
date,
|
|
4274
4458
|
" "
|
|
4275
4459
|
] }),
|
|
4276
|
-
/* @__PURE__ */
|
|
4277
|
-
/* @__PURE__ */
|
|
4460
|
+
/* @__PURE__ */ jsx58(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
4461
|
+
/* @__PURE__ */ jsxs50("div", { className: ScReferralTableList_default.points, children: [
|
|
4278
4462
|
points,
|
|
4279
4463
|
" "
|
|
4280
4464
|
] })
|
|
@@ -4290,33 +4474,33 @@ var ScSettingsNav_default = {
|
|
|
4290
4474
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4291
4475
|
import { SiconTeam as SiconTeam5 } from "@streamoid/icons";
|
|
4292
4476
|
import { SiconWorkspace, SiconReferral } from "@streamoid/icons";
|
|
4293
|
-
import { jsx as
|
|
4477
|
+
import { jsx as jsx59, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
4294
4478
|
var ScSettingsNav = ({
|
|
4295
4479
|
className,
|
|
4296
4480
|
...props
|
|
4297
4481
|
}) => {
|
|
4298
|
-
return /* @__PURE__ */
|
|
4299
|
-
/* @__PURE__ */
|
|
4482
|
+
return /* @__PURE__ */ jsx59("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs51("div", { className: ScSettingsNav_default.container, children: [
|
|
4483
|
+
/* @__PURE__ */ jsx59(
|
|
4300
4484
|
ScSidebarMenu,
|
|
4301
4485
|
{
|
|
4302
|
-
icon: /* @__PURE__ */
|
|
4486
|
+
icon: /* @__PURE__ */ jsx59(SiconTeam5, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
4303
4487
|
text: "Profile",
|
|
4304
4488
|
state: "active",
|
|
4305
4489
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4306
4490
|
}
|
|
4307
4491
|
),
|
|
4308
|
-
/* @__PURE__ */
|
|
4492
|
+
/* @__PURE__ */ jsx59(
|
|
4309
4493
|
ScSidebarMenu,
|
|
4310
4494
|
{
|
|
4311
|
-
icon: /* @__PURE__ */
|
|
4495
|
+
icon: /* @__PURE__ */ jsx59(SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
4312
4496
|
text: "Workspace",
|
|
4313
4497
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4314
4498
|
}
|
|
4315
4499
|
),
|
|
4316
|
-
/* @__PURE__ */
|
|
4500
|
+
/* @__PURE__ */ jsx59(
|
|
4317
4501
|
ScSidebarMenu,
|
|
4318
4502
|
{
|
|
4319
|
-
icon: /* @__PURE__ */
|
|
4503
|
+
icon: /* @__PURE__ */ jsx59(SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
4320
4504
|
text: "Referral",
|
|
4321
4505
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4322
4506
|
}
|
|
@@ -4332,7 +4516,7 @@ var ScTabField_default = {
|
|
|
4332
4516
|
};
|
|
4333
4517
|
|
|
4334
4518
|
// src/SC-tabField/ScTabField.tsx
|
|
4335
|
-
import { jsx as
|
|
4519
|
+
import { jsx as jsx60, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
4336
4520
|
var ScTabField = ({
|
|
4337
4521
|
label = "Label",
|
|
4338
4522
|
className,
|
|
@@ -4341,17 +4525,17 @@ var ScTabField = ({
|
|
|
4341
4525
|
onTabChange,
|
|
4342
4526
|
...props
|
|
4343
4527
|
}) => {
|
|
4344
|
-
return /* @__PURE__ */
|
|
4345
|
-
/* @__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: [
|
|
4346
4530
|
label,
|
|
4347
4531
|
" "
|
|
4348
4532
|
] }) }),
|
|
4349
|
-
tabs ? /* @__PURE__ */
|
|
4533
|
+
tabs ? /* @__PURE__ */ jsx60(
|
|
4350
4534
|
ScTabSwitcher,
|
|
4351
4535
|
{
|
|
4352
4536
|
tabCount: String(tabs.length),
|
|
4353
4537
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
4354
|
-
component: tabs[0] ? /* @__PURE__ */
|
|
4538
|
+
component: tabs[0] ? /* @__PURE__ */ jsx60(
|
|
4355
4539
|
ScTabComp,
|
|
4356
4540
|
{
|
|
4357
4541
|
text: tabs[0].label,
|
|
@@ -4361,7 +4545,7 @@ var ScTabField = ({
|
|
|
4361
4545
|
style: { flex: 1 }
|
|
4362
4546
|
}
|
|
4363
4547
|
) : void 0,
|
|
4364
|
-
component2: tabs[1] ? /* @__PURE__ */
|
|
4548
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx60(
|
|
4365
4549
|
ScTabComp,
|
|
4366
4550
|
{
|
|
4367
4551
|
text: tabs[1].label,
|
|
@@ -4372,7 +4556,7 @@ var ScTabField = ({
|
|
|
4372
4556
|
}
|
|
4373
4557
|
) : void 0
|
|
4374
4558
|
}
|
|
4375
|
-
) : /* @__PURE__ */
|
|
4559
|
+
) : /* @__PURE__ */ jsx60(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4376
4560
|
] });
|
|
4377
4561
|
};
|
|
4378
4562
|
|
|
@@ -4389,19 +4573,19 @@ var ScTableHeader_default = {
|
|
|
4389
4573
|
};
|
|
4390
4574
|
|
|
4391
4575
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4392
|
-
import { Fragment as Fragment18, jsx as
|
|
4576
|
+
import { Fragment as Fragment18, jsx as jsx61, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
4393
4577
|
var ScTableHeader = ({
|
|
4394
4578
|
type = "default",
|
|
4395
4579
|
className,
|
|
4396
4580
|
...props
|
|
4397
4581
|
}) => {
|
|
4398
4582
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4399
|
-
return /* @__PURE__ */
|
|
4583
|
+
return /* @__PURE__ */ jsxs53(
|
|
4400
4584
|
"div",
|
|
4401
4585
|
{
|
|
4402
4586
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
4403
4587
|
children: [
|
|
4404
|
-
/* @__PURE__ */
|
|
4588
|
+
/* @__PURE__ */ jsx61(
|
|
4405
4589
|
ScHeader,
|
|
4406
4590
|
{
|
|
4407
4591
|
text: "User",
|
|
@@ -4409,7 +4593,7 @@ var ScTableHeader = ({
|
|
|
4409
4593
|
className: ScTableHeader_default.scHeaderInstance
|
|
4410
4594
|
}
|
|
4411
4595
|
),
|
|
4412
|
-
/* @__PURE__ */
|
|
4596
|
+
/* @__PURE__ */ jsx61(
|
|
4413
4597
|
ScHeader,
|
|
4414
4598
|
{
|
|
4415
4599
|
text: "Role",
|
|
@@ -4417,7 +4601,7 @@ var ScTableHeader = ({
|
|
|
4417
4601
|
className: ScTableHeader_default.scHeaderInstance2
|
|
4418
4602
|
}
|
|
4419
4603
|
),
|
|
4420
|
-
/* @__PURE__ */
|
|
4604
|
+
/* @__PURE__ */ jsx61(
|
|
4421
4605
|
ScHeader,
|
|
4422
4606
|
{
|
|
4423
4607
|
text: "Access",
|
|
@@ -4425,7 +4609,7 @@ var ScTableHeader = ({
|
|
|
4425
4609
|
className: ScTableHeader_default.scHeaderInstance3
|
|
4426
4610
|
}
|
|
4427
4611
|
),
|
|
4428
|
-
/* @__PURE__ */
|
|
4612
|
+
/* @__PURE__ */ jsx61(
|
|
4429
4613
|
ScHeader,
|
|
4430
4614
|
{
|
|
4431
4615
|
text: "Invited by",
|
|
@@ -4433,7 +4617,7 @@ var ScTableHeader = ({
|
|
|
4433
4617
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4434
4618
|
}
|
|
4435
4619
|
),
|
|
4436
|
-
type === "pending" && /* @__PURE__ */
|
|
4620
|
+
type === "pending" && /* @__PURE__ */ jsx61(Fragment18, { children: /* @__PURE__ */ jsx61(
|
|
4437
4621
|
ScHeader,
|
|
4438
4622
|
{
|
|
4439
4623
|
text: "Invite action",
|
|
@@ -4441,7 +4625,7 @@ var ScTableHeader = ({
|
|
|
4441
4625
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4442
4626
|
}
|
|
4443
4627
|
) }),
|
|
4444
|
-
type === "default" && /* @__PURE__ */
|
|
4628
|
+
type === "default" && /* @__PURE__ */ jsx61(Fragment18, { children: /* @__PURE__ */ jsx61(
|
|
4445
4629
|
ScHeader,
|
|
4446
4630
|
{
|
|
4447
4631
|
text: "Signed On",
|
|
@@ -4475,7 +4659,7 @@ var ScTableList_default = {
|
|
|
4475
4659
|
// src/SC-tableList/ScTableList.tsx
|
|
4476
4660
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
4477
4661
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
4478
|
-
import { Fragment as Fragment19, jsx as
|
|
4662
|
+
import { Fragment as Fragment19, jsx as jsx62, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4479
4663
|
var ScTableList = ({
|
|
4480
4664
|
invitedBy = "Rohan",
|
|
4481
4665
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4487,51 +4671,51 @@ var ScTableList = ({
|
|
|
4487
4671
|
...props
|
|
4488
4672
|
}) => {
|
|
4489
4673
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4490
|
-
return /* @__PURE__ */
|
|
4674
|
+
return /* @__PURE__ */ jsxs54(
|
|
4491
4675
|
"div",
|
|
4492
4676
|
{
|
|
4493
4677
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
4494
4678
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
4495
4679
|
...props,
|
|
4496
4680
|
children: [
|
|
4497
|
-
/* @__PURE__ */
|
|
4681
|
+
/* @__PURE__ */ jsx62(
|
|
4498
4682
|
ScProfile,
|
|
4499
4683
|
{
|
|
4500
4684
|
subText: userEmail,
|
|
4501
4685
|
className: ScTableList_default.scProfileInstance
|
|
4502
4686
|
}
|
|
4503
4687
|
),
|
|
4504
|
-
/* @__PURE__ */
|
|
4505
|
-
/* @__PURE__ */
|
|
4506
|
-
/* @__PURE__ */
|
|
4688
|
+
/* @__PURE__ */ jsx62(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
4689
|
+
/* @__PURE__ */ jsxs54("div", { className: ScTableList_default.accessInfo, children: [
|
|
4690
|
+
/* @__PURE__ */ jsx62(
|
|
4507
4691
|
ScAccess,
|
|
4508
4692
|
{
|
|
4509
|
-
component: /* @__PURE__ */
|
|
4510
|
-
component2: /* @__PURE__ */
|
|
4693
|
+
component: /* @__PURE__ */ jsx62(SiconArtifacts6, { className: ScTableList_default.siconArtifactsInstance }),
|
|
4694
|
+
component2: /* @__PURE__ */ jsx62(SiconPhotogenix3, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
4511
4695
|
className: ScTableList_default.scAccessInstance
|
|
4512
4696
|
}
|
|
4513
4697
|
),
|
|
4514
|
-
/* @__PURE__ */
|
|
4698
|
+
/* @__PURE__ */ jsx62(
|
|
4515
4699
|
ScAccess,
|
|
4516
4700
|
{
|
|
4517
|
-
component: /* @__PURE__ */
|
|
4518
|
-
component2: /* @__PURE__ */
|
|
4701
|
+
component: /* @__PURE__ */ jsx62(SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
4702
|
+
component2: /* @__PURE__ */ jsx62(SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
4519
4703
|
visibleSiconCatalogix: false,
|
|
4520
4704
|
className: ScTableList_default.scAccessInstance
|
|
4521
4705
|
}
|
|
4522
4706
|
)
|
|
4523
4707
|
] }),
|
|
4524
|
-
/* @__PURE__ */
|
|
4708
|
+
/* @__PURE__ */ jsxs54("div", { className: ScTableList_default.userName, children: [
|
|
4525
4709
|
invitedBy,
|
|
4526
4710
|
" "
|
|
4527
4711
|
] }),
|
|
4528
|
-
variant === "pending" && /* @__PURE__ */
|
|
4712
|
+
variant === "pending" && /* @__PURE__ */ jsx62(Fragment19, { children: /* @__PURE__ */ jsx62(
|
|
4529
4713
|
ScPendingAction,
|
|
4530
4714
|
{
|
|
4531
4715
|
className: ScTableList_default.scPendingActionInstance
|
|
4532
4716
|
}
|
|
4533
4717
|
) }),
|
|
4534
|
-
variant === "active" && /* @__PURE__ */
|
|
4718
|
+
variant === "active" && /* @__PURE__ */ jsx62(Fragment19, { children: /* @__PURE__ */ jsxs54("div", { className: ScTableList_default.date, children: [
|
|
4535
4719
|
signedOn,
|
|
4536
4720
|
" "
|
|
4537
4721
|
] }) })
|
|
@@ -4566,7 +4750,7 @@ import {
|
|
|
4566
4750
|
SiconSwitch as SiconSwitch2,
|
|
4567
4751
|
SiconLogout as SiconLogout2
|
|
4568
4752
|
} from "@streamoid/icons";
|
|
4569
|
-
import { jsx as
|
|
4753
|
+
import { jsx as jsx63, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4570
4754
|
var ScWorkspaceCard = ({
|
|
4571
4755
|
workspaceName = "Stores",
|
|
4572
4756
|
role = "Admin",
|
|
@@ -4576,21 +4760,21 @@ var ScWorkspaceCard = ({
|
|
|
4576
4760
|
className,
|
|
4577
4761
|
...props
|
|
4578
4762
|
}) => {
|
|
4579
|
-
return /* @__PURE__ */
|
|
4580
|
-
/* @__PURE__ */
|
|
4581
|
-
/* @__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(
|
|
4582
4766
|
ScIntialProfileCover,
|
|
4583
4767
|
{
|
|
4584
4768
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4585
4769
|
}
|
|
4586
4770
|
),
|
|
4587
|
-
/* @__PURE__ */
|
|
4771
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4588
4772
|
workspaceName,
|
|
4589
4773
|
" "
|
|
4590
4774
|
] })
|
|
4591
4775
|
] }),
|
|
4592
|
-
/* @__PURE__ */
|
|
4593
|
-
/* @__PURE__ */
|
|
4776
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
4777
|
+
/* @__PURE__ */ jsx63(
|
|
4594
4778
|
ScBadges,
|
|
4595
4779
|
{
|
|
4596
4780
|
text: role,
|
|
@@ -4598,41 +4782,41 @@ var ScWorkspaceCard = ({
|
|
|
4598
4782
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4599
4783
|
}
|
|
4600
4784
|
),
|
|
4601
|
-
/* @__PURE__ */
|
|
4602
|
-
/* @__PURE__ */
|
|
4785
|
+
/* @__PURE__ */ jsxs55("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
4786
|
+
/* @__PURE__ */ jsx63(
|
|
4603
4787
|
ScPairtext,
|
|
4604
4788
|
{
|
|
4605
|
-
icon: /* @__PURE__ */
|
|
4789
|
+
icon: /* @__PURE__ */ jsx63(SiconTeam6, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
4606
4790
|
content: userCount,
|
|
4607
4791
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4608
4792
|
}
|
|
4609
4793
|
),
|
|
4610
|
-
/* @__PURE__ */
|
|
4611
|
-
/* @__PURE__ */
|
|
4794
|
+
/* @__PURE__ */ jsx63(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
4795
|
+
/* @__PURE__ */ jsx63(
|
|
4612
4796
|
ScPairtext,
|
|
4613
4797
|
{
|
|
4614
|
-
icon: /* @__PURE__ */
|
|
4798
|
+
icon: /* @__PURE__ */ jsx63(SiconCrown2, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
4615
4799
|
content: ownerEmail,
|
|
4616
4800
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4617
4801
|
}
|
|
4618
4802
|
)
|
|
4619
4803
|
] })
|
|
4620
4804
|
] }),
|
|
4621
|
-
/* @__PURE__ */
|
|
4805
|
+
/* @__PURE__ */ jsx63(
|
|
4622
4806
|
ScButton,
|
|
4623
4807
|
{
|
|
4624
|
-
icon: /* @__PURE__ */
|
|
4808
|
+
icon: /* @__PURE__ */ jsx63(SiconSwitch2, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
4625
4809
|
text: buttonText,
|
|
4626
4810
|
state: "disabled",
|
|
4627
4811
|
variant: "outline",
|
|
4628
4812
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
4629
4813
|
}
|
|
4630
4814
|
),
|
|
4631
|
-
/* @__PURE__ */
|
|
4815
|
+
/* @__PURE__ */ jsx63(
|
|
4632
4816
|
ScButton,
|
|
4633
4817
|
{
|
|
4634
4818
|
text: "Leave workspace",
|
|
4635
|
-
icon: /* @__PURE__ */
|
|
4819
|
+
icon: /* @__PURE__ */ jsx63(SiconLogout2, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
4636
4820
|
styleVariant: "icon-only",
|
|
4637
4821
|
variant: "error",
|
|
4638
4822
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -4642,7 +4826,7 @@ var ScWorkspaceCard = ({
|
|
|
4642
4826
|
};
|
|
4643
4827
|
|
|
4644
4828
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4645
|
-
import { useState as
|
|
4829
|
+
import { useState as useState5 } from "react";
|
|
4646
4830
|
import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3, SiconLogout as SiconLogout3 } from "@streamoid/icons";
|
|
4647
4831
|
|
|
4648
4832
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
@@ -4668,7 +4852,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4668
4852
|
};
|
|
4669
4853
|
|
|
4670
4854
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4671
|
-
import { jsx as
|
|
4855
|
+
import { jsx as jsx64, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4672
4856
|
function ScWorkspaceSwitchCard({
|
|
4673
4857
|
wsName = "Workspace name is kepler",
|
|
4674
4858
|
role = "Admin",
|
|
@@ -4683,7 +4867,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4683
4867
|
onSettings,
|
|
4684
4868
|
onLeave
|
|
4685
4869
|
}) {
|
|
4686
|
-
const [internalHover, setInternalHover] =
|
|
4870
|
+
const [internalHover, setInternalHover] = useState5(false);
|
|
4687
4871
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4688
4872
|
const isCurrent = type === "currentWS";
|
|
4689
4873
|
const isOther = type === "otherWS";
|
|
@@ -4698,14 +4882,14 @@ function ScWorkspaceSwitchCard({
|
|
|
4698
4882
|
].filter(Boolean).join(" ");
|
|
4699
4883
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
4700
4884
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
4701
|
-
return /* @__PURE__ */
|
|
4885
|
+
return /* @__PURE__ */ jsx64(
|
|
4702
4886
|
"div",
|
|
4703
4887
|
{
|
|
4704
4888
|
className: cardClass,
|
|
4705
4889
|
onMouseEnter: () => setInternalHover(true),
|
|
4706
4890
|
onMouseLeave: () => setInternalHover(false),
|
|
4707
|
-
children: /* @__PURE__ */
|
|
4708
|
-
/* @__PURE__ */
|
|
4891
|
+
children: /* @__PURE__ */ jsxs56("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
4892
|
+
/* @__PURE__ */ jsx64(
|
|
4709
4893
|
ScDp,
|
|
4710
4894
|
{
|
|
4711
4895
|
type: imageUrl ? "image" : "initial",
|
|
@@ -4719,26 +4903,26 @@ function ScWorkspaceSwitchCard({
|
|
|
4719
4903
|
}
|
|
4720
4904
|
}
|
|
4721
4905
|
),
|
|
4722
|
-
/* @__PURE__ */
|
|
4723
|
-
/* @__PURE__ */
|
|
4724
|
-
/* @__PURE__ */
|
|
4725
|
-
/* @__PURE__ */
|
|
4726
|
-
/* @__PURE__ */
|
|
4727
|
-
/* @__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 })
|
|
4728
4912
|
] }),
|
|
4729
|
-
/* @__PURE__ */
|
|
4730
|
-
/* @__PURE__ */
|
|
4731
|
-
/* @__PURE__ */
|
|
4732
|
-
/* @__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 })
|
|
4733
4917
|
] }),
|
|
4734
|
-
/* @__PURE__ */
|
|
4735
|
-
/* @__PURE__ */
|
|
4736
|
-
/* @__PURE__ */
|
|
4737
|
-
/* @__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 })
|
|
4738
4922
|
] })
|
|
4739
4923
|
] })
|
|
4740
4924
|
] }),
|
|
4741
|
-
isHover && isOther && /* @__PURE__ */
|
|
4925
|
+
isHover && isOther && /* @__PURE__ */ jsx64(
|
|
4742
4926
|
"div",
|
|
4743
4927
|
{
|
|
4744
4928
|
onClick: (e) => {
|
|
@@ -4746,19 +4930,19 @@ function ScWorkspaceSwitchCard({
|
|
|
4746
4930
|
onSwitch?.();
|
|
4747
4931
|
},
|
|
4748
4932
|
style: { cursor: "pointer" },
|
|
4749
|
-
children: /* @__PURE__ */
|
|
4933
|
+
children: /* @__PURE__ */ jsx64(
|
|
4750
4934
|
ScButton,
|
|
4751
4935
|
{
|
|
4752
4936
|
text: "Switch Workspace",
|
|
4753
4937
|
variant: "secondary",
|
|
4754
4938
|
size: "sm",
|
|
4755
4939
|
styleVariant: "icon-left",
|
|
4756
|
-
icon: /* @__PURE__ */
|
|
4940
|
+
icon: /* @__PURE__ */ jsx64(SiconSwitch3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4757
4941
|
}
|
|
4758
4942
|
)
|
|
4759
4943
|
}
|
|
4760
4944
|
),
|
|
4761
|
-
isHover && isAdmin && /* @__PURE__ */
|
|
4945
|
+
isHover && isAdmin && /* @__PURE__ */ jsx64(
|
|
4762
4946
|
"div",
|
|
4763
4947
|
{
|
|
4764
4948
|
onClick: (e) => {
|
|
@@ -4766,18 +4950,18 @@ function ScWorkspaceSwitchCard({
|
|
|
4766
4950
|
onSettings?.();
|
|
4767
4951
|
},
|
|
4768
4952
|
style: { cursor: "pointer" },
|
|
4769
|
-
children: /* @__PURE__ */
|
|
4953
|
+
children: /* @__PURE__ */ jsx64(
|
|
4770
4954
|
ScButton,
|
|
4771
4955
|
{
|
|
4772
4956
|
styleVariant: "icon-only",
|
|
4773
4957
|
variant: "outline",
|
|
4774
4958
|
size: "sm",
|
|
4775
|
-
icon: /* @__PURE__ */
|
|
4959
|
+
icon: /* @__PURE__ */ jsx64(SiconSettings3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4776
4960
|
}
|
|
4777
4961
|
)
|
|
4778
4962
|
}
|
|
4779
4963
|
),
|
|
4780
|
-
isHover && !isAdmin && /* @__PURE__ */
|
|
4964
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx64(
|
|
4781
4965
|
"div",
|
|
4782
4966
|
{
|
|
4783
4967
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -4785,7 +4969,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4785
4969
|
e.stopPropagation();
|
|
4786
4970
|
onLeave?.();
|
|
4787
4971
|
},
|
|
4788
|
-
children: /* @__PURE__ */
|
|
4972
|
+
children: /* @__PURE__ */ jsx64(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
4789
4973
|
}
|
|
4790
4974
|
)
|
|
4791
4975
|
] })
|
|
@@ -4803,18 +4987,18 @@ var ScRoleMobile_default = {
|
|
|
4803
4987
|
};
|
|
4804
4988
|
|
|
4805
4989
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
4806
|
-
import { jsx as
|
|
4990
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
4807
4991
|
var ScRoleMobile = ({
|
|
4808
4992
|
role = "admin",
|
|
4809
4993
|
className,
|
|
4810
4994
|
...props
|
|
4811
4995
|
}) => {
|
|
4812
|
-
return /* @__PURE__ */
|
|
4996
|
+
return /* @__PURE__ */ jsx65(
|
|
4813
4997
|
"div",
|
|
4814
4998
|
{
|
|
4815
4999
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
4816
5000
|
...props,
|
|
4817
|
-
children: /* @__PURE__ */
|
|
5001
|
+
children: /* @__PURE__ */ jsx65("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
4818
5002
|
}
|
|
4819
5003
|
);
|
|
4820
5004
|
};
|
|
@@ -4831,7 +5015,7 @@ var ScProfileV2Mobile_default = {
|
|
|
4831
5015
|
};
|
|
4832
5016
|
|
|
4833
5017
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
4834
|
-
import { jsx as
|
|
5018
|
+
import { jsx as jsx66, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4835
5019
|
var ScProfileV2Mobile = ({
|
|
4836
5020
|
name = "Chris Hemsworth",
|
|
4837
5021
|
email = "chris@kepler.com",
|
|
@@ -4841,17 +5025,17 @@ var ScProfileV2Mobile = ({
|
|
|
4841
5025
|
...props
|
|
4842
5026
|
}) => {
|
|
4843
5027
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4844
|
-
const profileImage = /* @__PURE__ */
|
|
4845
|
-
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(
|
|
4846
5030
|
"div",
|
|
4847
5031
|
{
|
|
4848
5032
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
4849
5033
|
...props,
|
|
4850
5034
|
children: [
|
|
4851
5035
|
dpPosition === "left" && profileImage,
|
|
4852
|
-
/* @__PURE__ */
|
|
4853
|
-
/* @__PURE__ */
|
|
4854
|
-
/* @__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 })
|
|
4855
5039
|
] }),
|
|
4856
5040
|
dpPosition === "right" && profileImage
|
|
4857
5041
|
]
|
|
@@ -4878,7 +5062,7 @@ var ScTableListMobile_default = {
|
|
|
4878
5062
|
};
|
|
4879
5063
|
|
|
4880
5064
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
4881
|
-
import { jsx as
|
|
5065
|
+
import { jsx as jsx67, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4882
5066
|
var ScTableListMobile = ({
|
|
4883
5067
|
name = "Chris Hemsworth",
|
|
4884
5068
|
email = "chris@kepler.com",
|
|
@@ -4891,25 +5075,25 @@ var ScTableListMobile = ({
|
|
|
4891
5075
|
...props
|
|
4892
5076
|
}) => {
|
|
4893
5077
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4894
|
-
return /* @__PURE__ */
|
|
5078
|
+
return /* @__PURE__ */ jsxs58(
|
|
4895
5079
|
"div",
|
|
4896
5080
|
{
|
|
4897
5081
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
4898
5082
|
onClick: onRowClick,
|
|
4899
5083
|
...props,
|
|
4900
5084
|
children: [
|
|
4901
|
-
/* @__PURE__ */
|
|
4902
|
-
/* @__PURE__ */
|
|
4903
|
-
/* @__PURE__ */
|
|
4904
|
-
/* @__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 })
|
|
4905
5089
|
] }),
|
|
4906
|
-
/* @__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 }) })
|
|
4907
5091
|
] }),
|
|
4908
|
-
/* @__PURE__ */
|
|
4909
|
-
/* @__PURE__ */
|
|
4910
|
-
/* @__PURE__ */
|
|
4911
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
4912
|
-
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)) })
|
|
4913
5097
|
] })
|
|
4914
5098
|
] })
|
|
4915
5099
|
]
|
|
@@ -4937,7 +5121,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
4937
5121
|
};
|
|
4938
5122
|
|
|
4939
5123
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
4940
|
-
import { jsx as
|
|
5124
|
+
import { jsx as jsx68, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4941
5125
|
var ScWorkspaceSwitchMobile = ({
|
|
4942
5126
|
storeName = "Stores",
|
|
4943
5127
|
initials = "WS",
|
|
@@ -4950,24 +5134,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
4950
5134
|
...props
|
|
4951
5135
|
}) => {
|
|
4952
5136
|
const variant = currentWs ? "current" : "other";
|
|
4953
|
-
return /* @__PURE__ */
|
|
5137
|
+
return /* @__PURE__ */ jsxs59(
|
|
4954
5138
|
"div",
|
|
4955
5139
|
{
|
|
4956
5140
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
4957
5141
|
onClick,
|
|
4958
5142
|
...props,
|
|
4959
5143
|
children: [
|
|
4960
|
-
/* @__PURE__ */
|
|
4961
|
-
/* @__PURE__ */
|
|
4962
|
-
/* @__PURE__ */
|
|
4963
|
-
/* @__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 })
|
|
4964
5148
|
] }),
|
|
4965
|
-
/* @__PURE__ */
|
|
5149
|
+
/* @__PURE__ */ jsx68("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx68("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
4966
5150
|
] }),
|
|
4967
|
-
/* @__PURE__ */
|
|
4968
|
-
/* @__PURE__ */
|
|
4969
|
-
/* @__PURE__ */
|
|
4970
|
-
/* @__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 })
|
|
4971
5155
|
] })
|
|
4972
5156
|
]
|
|
4973
5157
|
}
|
|
@@ -4994,7 +5178,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
4994
5178
|
};
|
|
4995
5179
|
|
|
4996
5180
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
4997
|
-
import { jsx as
|
|
5181
|
+
import { jsx as jsx69, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
4998
5182
|
var ScWorkspaceSettingsMobile = ({
|
|
4999
5183
|
storeName = "Stores",
|
|
5000
5184
|
initials = "WS",
|
|
@@ -5009,28 +5193,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
5009
5193
|
...props
|
|
5010
5194
|
}) => {
|
|
5011
5195
|
const variant = currentWs ? "current" : "other";
|
|
5012
|
-
return /* @__PURE__ */
|
|
5196
|
+
return /* @__PURE__ */ jsxs60(
|
|
5013
5197
|
"div",
|
|
5014
5198
|
{
|
|
5015
5199
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
5016
5200
|
onClick,
|
|
5017
5201
|
...props,
|
|
5018
5202
|
children: [
|
|
5019
|
-
/* @__PURE__ */
|
|
5020
|
-
/* @__PURE__ */
|
|
5021
|
-
/* @__PURE__ */
|
|
5022
|
-
/* @__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 })
|
|
5023
5207
|
] }),
|
|
5024
|
-
/* @__PURE__ */
|
|
5208
|
+
/* @__PURE__ */ jsx69("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx69("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
5025
5209
|
] }),
|
|
5026
|
-
/* @__PURE__ */
|
|
5027
|
-
/* @__PURE__ */
|
|
5028
|
-
/* @__PURE__ */
|
|
5029
|
-
/* @__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 })
|
|
5030
5214
|
] }),
|
|
5031
|
-
/* @__PURE__ */
|
|
5032
|
-
/* @__PURE__ */
|
|
5033
|
-
/* @__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 })
|
|
5034
5218
|
] })
|
|
5035
5219
|
]
|
|
5036
5220
|
}
|
|
@@ -5053,7 +5237,7 @@ var ScMobileTopNav_default = {
|
|
|
5053
5237
|
};
|
|
5054
5238
|
|
|
5055
5239
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5056
|
-
import { Fragment as Fragment20, jsx as
|
|
5240
|
+
import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5057
5241
|
var ScMobileTopNav = ({
|
|
5058
5242
|
type = "home",
|
|
5059
5243
|
searchIcon = false,
|
|
@@ -5076,22 +5260,22 @@ var ScMobileTopNav = ({
|
|
|
5076
5260
|
}) => {
|
|
5077
5261
|
const hasBorder = type === "chat" || type === "inApp";
|
|
5078
5262
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
5079
|
-
return /* @__PURE__ */
|
|
5263
|
+
return /* @__PURE__ */ jsxs61(
|
|
5080
5264
|
"div",
|
|
5081
5265
|
{
|
|
5082
5266
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
5083
5267
|
...props,
|
|
5084
5268
|
children: [
|
|
5085
|
-
type === "home" && /* @__PURE__ */
|
|
5086
|
-
type === "chat" && /* @__PURE__ */
|
|
5087
|
-
/* @__PURE__ */
|
|
5088
|
-
/* @__PURE__ */
|
|
5089
|
-
/* @__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 }) })
|
|
5090
5274
|
] }),
|
|
5091
|
-
showSearch && /* @__PURE__ */
|
|
5092
|
-
/* @__PURE__ */
|
|
5093
|
-
/* @__PURE__ */
|
|
5094
|
-
/* @__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(
|
|
5095
5279
|
"input",
|
|
5096
5280
|
{
|
|
5097
5281
|
type: "text",
|
|
@@ -5102,17 +5286,17 @@ var ScMobileTopNav = ({
|
|
|
5102
5286
|
}
|
|
5103
5287
|
) })
|
|
5104
5288
|
] }) }),
|
|
5105
|
-
/* @__PURE__ */
|
|
5289
|
+
/* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5106
5290
|
] }),
|
|
5107
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
5108
|
-
/* @__PURE__ */
|
|
5109
|
-
/* @__PURE__ */
|
|
5110
|
-
/* @__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(
|
|
5111
5295
|
"div",
|
|
5112
5296
|
{
|
|
5113
5297
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5114
5298
|
onClick: onSearchClick,
|
|
5115
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
5299
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx70("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
5116
5300
|
}
|
|
5117
5301
|
)
|
|
5118
5302
|
] })
|
|
@@ -5133,7 +5317,7 @@ var ScMobileBottomAction_default = {
|
|
|
5133
5317
|
};
|
|
5134
5318
|
|
|
5135
5319
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5136
|
-
import { jsx as
|
|
5320
|
+
import { jsx as jsx71, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5137
5321
|
var ScMobileBottomAction = ({
|
|
5138
5322
|
text = "Save Changes",
|
|
5139
5323
|
disabled = false,
|
|
@@ -5145,28 +5329,28 @@ var ScMobileBottomAction = ({
|
|
|
5145
5329
|
...props
|
|
5146
5330
|
}) => {
|
|
5147
5331
|
const isTwoButton = !!secondaryText;
|
|
5148
|
-
return /* @__PURE__ */
|
|
5332
|
+
return /* @__PURE__ */ jsxs62(
|
|
5149
5333
|
"div",
|
|
5150
5334
|
{
|
|
5151
5335
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5152
5336
|
...props,
|
|
5153
5337
|
children: [
|
|
5154
|
-
isTwoButton && /* @__PURE__ */
|
|
5338
|
+
isTwoButton && /* @__PURE__ */ jsx71(
|
|
5155
5339
|
"button",
|
|
5156
5340
|
{
|
|
5157
5341
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5158
5342
|
onClick: onSecondaryClick,
|
|
5159
5343
|
disabled: secondaryDisabled,
|
|
5160
|
-
children: /* @__PURE__ */
|
|
5344
|
+
children: /* @__PURE__ */ jsx71("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5161
5345
|
}
|
|
5162
5346
|
),
|
|
5163
|
-
/* @__PURE__ */
|
|
5347
|
+
/* @__PURE__ */ jsx71(
|
|
5164
5348
|
"button",
|
|
5165
5349
|
{
|
|
5166
5350
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5167
5351
|
onClick,
|
|
5168
5352
|
disabled,
|
|
5169
|
-
children: /* @__PURE__ */
|
|
5353
|
+
children: /* @__PURE__ */ jsx71("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5170
5354
|
}
|
|
5171
5355
|
)
|
|
5172
5356
|
]
|
|
@@ -5184,7 +5368,7 @@ var ScPopUpMenu_default = {
|
|
|
5184
5368
|
};
|
|
5185
5369
|
|
|
5186
5370
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5187
|
-
import { jsx as
|
|
5371
|
+
import { jsx as jsx72, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5188
5372
|
var ScPopUpMenu = ({
|
|
5189
5373
|
menu = "Options",
|
|
5190
5374
|
state = "default",
|
|
@@ -5193,15 +5377,15 @@ var ScPopUpMenu = ({
|
|
|
5193
5377
|
className,
|
|
5194
5378
|
...props
|
|
5195
5379
|
}) => {
|
|
5196
|
-
return /* @__PURE__ */
|
|
5380
|
+
return /* @__PURE__ */ jsxs63(
|
|
5197
5381
|
"div",
|
|
5198
5382
|
{
|
|
5199
5383
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5200
5384
|
onClick,
|
|
5201
5385
|
...props,
|
|
5202
5386
|
children: [
|
|
5203
|
-
icon && /* @__PURE__ */
|
|
5204
|
-
/* @__PURE__ */
|
|
5387
|
+
icon && /* @__PURE__ */ jsx72("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
5388
|
+
/* @__PURE__ */ jsx72("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
5205
5389
|
]
|
|
5206
5390
|
}
|
|
5207
5391
|
);
|
|
@@ -5227,7 +5411,7 @@ var ScReferralCardMobile_default = {
|
|
|
5227
5411
|
};
|
|
5228
5412
|
|
|
5229
5413
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5230
|
-
import { jsx as
|
|
5414
|
+
import { jsx as jsx73, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
5231
5415
|
var ScReferralCardMobile = ({
|
|
5232
5416
|
name = "Chris Hemsworth",
|
|
5233
5417
|
email = "chris@kepler.com",
|
|
@@ -5240,27 +5424,27 @@ var ScReferralCardMobile = ({
|
|
|
5240
5424
|
...props
|
|
5241
5425
|
}) => {
|
|
5242
5426
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5243
|
-
return /* @__PURE__ */
|
|
5427
|
+
return /* @__PURE__ */ jsxs64(
|
|
5244
5428
|
"div",
|
|
5245
5429
|
{
|
|
5246
5430
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5247
5431
|
onClick,
|
|
5248
5432
|
...props,
|
|
5249
5433
|
children: [
|
|
5250
|
-
/* @__PURE__ */
|
|
5251
|
-
/* @__PURE__ */
|
|
5252
|
-
/* @__PURE__ */
|
|
5253
|
-
/* @__PURE__ */
|
|
5254
|
-
/* @__PURE__ */
|
|
5255
|
-
/* @__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 })
|
|
5256
5440
|
] })
|
|
5257
5441
|
] }),
|
|
5258
|
-
/* @__PURE__ */
|
|
5442
|
+
/* @__PURE__ */ jsx73("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx73("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5259
5443
|
] }),
|
|
5260
|
-
/* @__PURE__ */
|
|
5261
|
-
/* @__PURE__ */
|
|
5262
|
-
/* @__PURE__ */
|
|
5263
|
-
/* @__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 })
|
|
5264
5448
|
] })
|
|
5265
5449
|
]
|
|
5266
5450
|
}
|
|
@@ -5277,19 +5461,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
5277
5461
|
};
|
|
5278
5462
|
|
|
5279
5463
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5280
|
-
import { jsx as
|
|
5464
|
+
import { jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5281
5465
|
var InvoiceHistoryMobile = ({
|
|
5282
5466
|
invoiceId = "# INV-2800-2026",
|
|
5283
5467
|
date = "Nov 9th, 2025",
|
|
5284
5468
|
amount = "$320.89",
|
|
5285
5469
|
className
|
|
5286
5470
|
}) => {
|
|
5287
|
-
return /* @__PURE__ */
|
|
5288
|
-
/* @__PURE__ */
|
|
5289
|
-
/* @__PURE__ */
|
|
5290
|
-
/* @__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 })
|
|
5291
5475
|
] }),
|
|
5292
|
-
/* @__PURE__ */
|
|
5476
|
+
/* @__PURE__ */ jsx74("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5293
5477
|
] });
|
|
5294
5478
|
};
|
|
5295
5479
|
|
|
@@ -5307,7 +5491,7 @@ var UsageHistoryMobile_default = {
|
|
|
5307
5491
|
};
|
|
5308
5492
|
|
|
5309
5493
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5310
|
-
import { jsx as
|
|
5494
|
+
import { jsx as jsx75, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5311
5495
|
var UsageHistoryMobile = ({
|
|
5312
5496
|
serviceName = "Artifax Generation",
|
|
5313
5497
|
credits = "50",
|
|
@@ -5316,18 +5500,18 @@ var UsageHistoryMobile = ({
|
|
|
5316
5500
|
balance = "84,902",
|
|
5317
5501
|
className
|
|
5318
5502
|
}) => {
|
|
5319
|
-
return /* @__PURE__ */
|
|
5320
|
-
/* @__PURE__ */
|
|
5321
|
-
/* @__PURE__ */
|
|
5322
|
-
/* @__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 })
|
|
5323
5507
|
] }),
|
|
5324
|
-
/* @__PURE__ */
|
|
5325
|
-
/* @__PURE__ */
|
|
5326
|
-
/* @__PURE__ */
|
|
5327
|
-
/* @__PURE__ */
|
|
5328
|
-
/* @__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 })
|
|
5329
5513
|
] }),
|
|
5330
|
-
/* @__PURE__ */
|
|
5514
|
+
/* @__PURE__ */ jsx75("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5331
5515
|
] })
|
|
5332
5516
|
] });
|
|
5333
5517
|
};
|
|
@@ -5351,7 +5535,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5351
5535
|
};
|
|
5352
5536
|
|
|
5353
5537
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5354
|
-
import { jsx as
|
|
5538
|
+
import { jsx as jsx76, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5355
5539
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5356
5540
|
wsName = "Workspace name is kepler",
|
|
5357
5541
|
initials = "WS",
|
|
@@ -5364,14 +5548,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5364
5548
|
className,
|
|
5365
5549
|
...props
|
|
5366
5550
|
}) => {
|
|
5367
|
-
return /* @__PURE__ */
|
|
5551
|
+
return /* @__PURE__ */ jsx76(
|
|
5368
5552
|
"div",
|
|
5369
5553
|
{
|
|
5370
5554
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5371
5555
|
onClick,
|
|
5372
5556
|
...props,
|
|
5373
|
-
children: /* @__PURE__ */
|
|
5374
|
-
/* @__PURE__ */
|
|
5557
|
+
children: /* @__PURE__ */ jsxs67("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
5558
|
+
/* @__PURE__ */ jsx76("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx76(
|
|
5375
5559
|
ScDp,
|
|
5376
5560
|
{
|
|
5377
5561
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5385,14 +5569,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5385
5569
|
}
|
|
5386
5570
|
}
|
|
5387
5571
|
) }),
|
|
5388
|
-
/* @__PURE__ */
|
|
5389
|
-
/* @__PURE__ */
|
|
5390
|
-
/* @__PURE__ */
|
|
5391
|
-
/* @__PURE__ */
|
|
5392
|
-
/* @__PURE__ */
|
|
5393
|
-
/* @__PURE__ */
|
|
5394
|
-
/* @__PURE__ */
|
|
5395
|
-
/* @__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 })
|
|
5396
5580
|
] })
|
|
5397
5581
|
] })
|
|
5398
5582
|
] })
|
|
@@ -5419,7 +5603,7 @@ var ScImageField_default = {
|
|
|
5419
5603
|
|
|
5420
5604
|
// src/SC-imageField/ScImageField.tsx
|
|
5421
5605
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
5422
|
-
import { jsx as
|
|
5606
|
+
import { jsx as jsx77, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5423
5607
|
var ScImageField = ({
|
|
5424
5608
|
label = "Label",
|
|
5425
5609
|
imagePreview,
|
|
@@ -5442,8 +5626,8 @@ var ScImageField = ({
|
|
|
5442
5626
|
}
|
|
5443
5627
|
e.target.value = "";
|
|
5444
5628
|
}
|
|
5445
|
-
return /* @__PURE__ */
|
|
5446
|
-
/* @__PURE__ */
|
|
5629
|
+
return /* @__PURE__ */ jsxs68("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
5630
|
+
/* @__PURE__ */ jsx77(
|
|
5447
5631
|
"input",
|
|
5448
5632
|
{
|
|
5449
5633
|
ref: inputRef,
|
|
@@ -5453,9 +5637,9 @@ var ScImageField = ({
|
|
|
5453
5637
|
onChange: handleChange
|
|
5454
5638
|
}
|
|
5455
5639
|
),
|
|
5456
|
-
/* @__PURE__ */
|
|
5457
|
-
hasImage ? /* @__PURE__ */
|
|
5458
|
-
/* @__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(
|
|
5459
5643
|
"img",
|
|
5460
5644
|
{
|
|
5461
5645
|
className: ScImageField_default.previewImage,
|
|
@@ -5463,8 +5647,8 @@ var ScImageField = ({
|
|
|
5463
5647
|
alt: "preview"
|
|
5464
5648
|
}
|
|
5465
5649
|
),
|
|
5466
|
-
/* @__PURE__ */
|
|
5467
|
-
/* @__PURE__ */
|
|
5650
|
+
/* @__PURE__ */ jsx77("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
5651
|
+
/* @__PURE__ */ jsx77(
|
|
5468
5652
|
SiconDelete2,
|
|
5469
5653
|
{
|
|
5470
5654
|
className: ScImageField_default.removeIcon,
|
|
@@ -5475,9 +5659,9 @@ var ScImageField = ({
|
|
|
5475
5659
|
}
|
|
5476
5660
|
}
|
|
5477
5661
|
)
|
|
5478
|
-
] }) : /* @__PURE__ */
|
|
5479
|
-
/* @__PURE__ */
|
|
5480
|
-
/* @__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" })
|
|
5481
5665
|
] })
|
|
5482
5666
|
] });
|
|
5483
5667
|
};
|
|
@@ -5491,7 +5675,7 @@ var ScSettingsTabComp_default = {
|
|
|
5491
5675
|
};
|
|
5492
5676
|
|
|
5493
5677
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5494
|
-
import { jsx as
|
|
5678
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
5495
5679
|
var ScSettingsTabComp = ({
|
|
5496
5680
|
tabName = "Tab",
|
|
5497
5681
|
active = false,
|
|
@@ -5499,12 +5683,12 @@ var ScSettingsTabComp = ({
|
|
|
5499
5683
|
className
|
|
5500
5684
|
}) => {
|
|
5501
5685
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5502
|
-
return /* @__PURE__ */
|
|
5686
|
+
return /* @__PURE__ */ jsx78(
|
|
5503
5687
|
"div",
|
|
5504
5688
|
{
|
|
5505
5689
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5506
5690
|
onClick,
|
|
5507
|
-
children: /* @__PURE__ */
|
|
5691
|
+
children: /* @__PURE__ */ jsx78("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5508
5692
|
}
|
|
5509
5693
|
);
|
|
5510
5694
|
};
|
|
@@ -5524,7 +5708,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5524
5708
|
|
|
5525
5709
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5526
5710
|
import { SiconCredits as SiconCredits3 } from "@streamoid/icons";
|
|
5527
|
-
import { jsx as
|
|
5711
|
+
import { jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
5528
5712
|
var ScCreditsUsageCardMobile = ({
|
|
5529
5713
|
usageLabel = "Credits usage",
|
|
5530
5714
|
usageText = "8,450 / 30,000",
|
|
@@ -5534,23 +5718,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5534
5718
|
className,
|
|
5535
5719
|
...props
|
|
5536
5720
|
}) => {
|
|
5537
|
-
return /* @__PURE__ */
|
|
5538
|
-
/* @__PURE__ */
|
|
5539
|
-
/* @__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(
|
|
5540
5724
|
SiconCredits3,
|
|
5541
5725
|
{
|
|
5542
5726
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5543
5727
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5544
5728
|
}
|
|
5545
5729
|
),
|
|
5546
|
-
/* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx79("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5547
5731
|
] }),
|
|
5548
|
-
/* @__PURE__ */
|
|
5549
|
-
/* @__PURE__ */
|
|
5550
|
-
/* @__PURE__ */
|
|
5551
|
-
/* @__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 })
|
|
5552
5736
|
] }),
|
|
5553
|
-
/* @__PURE__ */
|
|
5737
|
+
/* @__PURE__ */ jsx79(
|
|
5554
5738
|
ScButton,
|
|
5555
5739
|
{
|
|
5556
5740
|
text: buyButtonText,
|
|
@@ -5582,7 +5766,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5582
5766
|
|
|
5583
5767
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5584
5768
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
5585
|
-
import { jsx as
|
|
5769
|
+
import { jsx as jsx80, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
5586
5770
|
var ScPlanDetailsCardMobile = ({
|
|
5587
5771
|
planName = "Pro",
|
|
5588
5772
|
planCredits = "30,000 credits",
|
|
@@ -5594,19 +5778,19 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5594
5778
|
className,
|
|
5595
5779
|
...props
|
|
5596
5780
|
}) => {
|
|
5597
|
-
return /* @__PURE__ */
|
|
5598
|
-
/* @__PURE__ */
|
|
5599
|
-
/* @__PURE__ */
|
|
5600
|
-
/* @__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(
|
|
5601
5785
|
SiconBilling4,
|
|
5602
5786
|
{
|
|
5603
5787
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5604
5788
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5605
5789
|
}
|
|
5606
5790
|
),
|
|
5607
|
-
/* @__PURE__ */
|
|
5791
|
+
/* @__PURE__ */ jsx80("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5608
5792
|
] }),
|
|
5609
|
-
/* @__PURE__ */
|
|
5793
|
+
/* @__PURE__ */ jsx80(
|
|
5610
5794
|
ScBadges,
|
|
5611
5795
|
{
|
|
5612
5796
|
text: badgeText,
|
|
@@ -5616,16 +5800,16 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5616
5800
|
}
|
|
5617
5801
|
)
|
|
5618
5802
|
] }),
|
|
5619
|
-
/* @__PURE__ */
|
|
5620
|
-
/* @__PURE__ */
|
|
5621
|
-
/* @__PURE__ */
|
|
5622
|
-
/* @__PURE__ */
|
|
5623
|
-
/* @__PURE__ */
|
|
5624
|
-
/* @__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 })
|
|
5625
5809
|
] }),
|
|
5626
|
-
/* @__PURE__ */
|
|
5810
|
+
/* @__PURE__ */ jsx80("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5627
5811
|
] }),
|
|
5628
|
-
/* @__PURE__ */
|
|
5812
|
+
/* @__PURE__ */ jsx80(
|
|
5629
5813
|
ScButton,
|
|
5630
5814
|
{
|
|
5631
5815
|
text: upgradeButtonText,
|
|
@@ -5639,6 +5823,7 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5639
5823
|
] });
|
|
5640
5824
|
};
|
|
5641
5825
|
export {
|
|
5826
|
+
CreditWarningBanner,
|
|
5642
5827
|
InvoiceHistoryMobile,
|
|
5643
5828
|
NscWorkspaceSwitch,
|
|
5644
5829
|
ScAccess,
|