@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.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
CreditWarningBanner: () => CreditWarningBanner,
|
|
23
24
|
InvoiceHistoryMobile: () => InvoiceHistoryMobile,
|
|
24
25
|
NscWorkspaceSwitch: () => NscWorkspaceSwitch,
|
|
25
26
|
ScAccess: () => ScAccess,
|
|
@@ -1005,8 +1006,192 @@ var ScCreditsUsageCard = ({
|
|
|
1005
1006
|
] });
|
|
1006
1007
|
};
|
|
1007
1008
|
|
|
1008
|
-
// src/SC-
|
|
1009
|
+
// src/SC-CreditWarningBanner/CreditWarningBanner.tsx
|
|
1009
1010
|
var import_react3 = require("react");
|
|
1011
|
+
var import_icons9 = require("@streamoid/icons");
|
|
1012
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1013
|
+
var STYLES = {
|
|
1014
|
+
warning: {
|
|
1015
|
+
bg: "rgba(255, 165, 0, 0.08)",
|
|
1016
|
+
border: "rgba(255, 165, 0, 0.32)",
|
|
1017
|
+
color: "var(--primitives-warning-400)"
|
|
1018
|
+
},
|
|
1019
|
+
danger: {
|
|
1020
|
+
bg: "rgba(255, 0, 0, 0.08)",
|
|
1021
|
+
border: "rgba(255, 0, 0, 0.32)",
|
|
1022
|
+
color: "var(--primitives-error-400)"
|
|
1023
|
+
}
|
|
1024
|
+
};
|
|
1025
|
+
function WarningIcon({ color }) {
|
|
1026
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
1027
|
+
"svg",
|
|
1028
|
+
{
|
|
1029
|
+
"aria-hidden": "true",
|
|
1030
|
+
width: "16",
|
|
1031
|
+
height: "16",
|
|
1032
|
+
viewBox: "0 0 16 16",
|
|
1033
|
+
fill: "none",
|
|
1034
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1035
|
+
className: "shrink-0",
|
|
1036
|
+
children: [
|
|
1037
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1038
|
+
"path",
|
|
1039
|
+
{
|
|
1040
|
+
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",
|
|
1041
|
+
stroke: color,
|
|
1042
|
+
strokeWidth: "1.25",
|
|
1043
|
+
strokeLinejoin: "round"
|
|
1044
|
+
}
|
|
1045
|
+
),
|
|
1046
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1047
|
+
"path",
|
|
1048
|
+
{
|
|
1049
|
+
d: "M8 6.25V8.625",
|
|
1050
|
+
stroke: color,
|
|
1051
|
+
strokeWidth: "1.25",
|
|
1052
|
+
strokeLinecap: "round"
|
|
1053
|
+
}
|
|
1054
|
+
),
|
|
1055
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1056
|
+
"path",
|
|
1057
|
+
{
|
|
1058
|
+
d: "M8 10.25H8.00667",
|
|
1059
|
+
stroke: color,
|
|
1060
|
+
strokeWidth: "1.25",
|
|
1061
|
+
strokeLinecap: "round"
|
|
1062
|
+
}
|
|
1063
|
+
)
|
|
1064
|
+
]
|
|
1065
|
+
}
|
|
1066
|
+
);
|
|
1067
|
+
}
|
|
1068
|
+
function CreditWarningBanner({
|
|
1069
|
+
availableCredits,
|
|
1070
|
+
remainingPct,
|
|
1071
|
+
level,
|
|
1072
|
+
onBuyCredits,
|
|
1073
|
+
expanded = true,
|
|
1074
|
+
onCollapsedClick
|
|
1075
|
+
}) {
|
|
1076
|
+
const [dismissed, setDismissed] = (0, import_react3.useState)(false);
|
|
1077
|
+
if (dismissed) return null;
|
|
1078
|
+
const { bg, border, color } = STYLES[level];
|
|
1079
|
+
if (!expanded) {
|
|
1080
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1081
|
+
"button",
|
|
1082
|
+
{
|
|
1083
|
+
type: "button",
|
|
1084
|
+
"aria-label": "Show low credits warning",
|
|
1085
|
+
className: "flex shrink-0 items-center justify-center cursor-pointer transition-opacity hover:opacity-90",
|
|
1086
|
+
style: {
|
|
1087
|
+
width: 40,
|
|
1088
|
+
height: 40,
|
|
1089
|
+
backgroundColor: bg,
|
|
1090
|
+
border: `0.5px solid ${border}`,
|
|
1091
|
+
borderRadius: "var(--radius-xl)"
|
|
1092
|
+
},
|
|
1093
|
+
onClick: onCollapsedClick ?? onBuyCredits,
|
|
1094
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(WarningIcon, { color })
|
|
1095
|
+
}
|
|
1096
|
+
);
|
|
1097
|
+
}
|
|
1098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1099
|
+
"div",
|
|
1100
|
+
{
|
|
1101
|
+
className: "flex shrink-0 w-full",
|
|
1102
|
+
style: { padding: "var(--spacing-3xl) var(--spacing-md)" },
|
|
1103
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
1104
|
+
"div",
|
|
1105
|
+
{
|
|
1106
|
+
className: "flex w-full flex-col",
|
|
1107
|
+
style: {
|
|
1108
|
+
backgroundColor: bg,
|
|
1109
|
+
border: `0.5px solid ${border}`,
|
|
1110
|
+
borderRadius: "var(--radius-xl)",
|
|
1111
|
+
padding: "var(--spacing-xl)",
|
|
1112
|
+
gap: "var(--spacing-sm, 8px)"
|
|
1113
|
+
},
|
|
1114
|
+
children: [
|
|
1115
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex w-full items-center", style: { gap: 8 }, children: [
|
|
1116
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(WarningIcon, { color }),
|
|
1117
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1118
|
+
"p",
|
|
1119
|
+
{
|
|
1120
|
+
className: "min-w-0 flex-1",
|
|
1121
|
+
style: {
|
|
1122
|
+
color,
|
|
1123
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
1124
|
+
fontSize: 12,
|
|
1125
|
+
lineHeight: "var(--line-height-line-height-xs)",
|
|
1126
|
+
fontWeight: 600,
|
|
1127
|
+
letterSpacing: "var(--letter-spacing-letter-spacing-normal, 0px)"
|
|
1128
|
+
},
|
|
1129
|
+
children: "Low Credits"
|
|
1130
|
+
}
|
|
1131
|
+
),
|
|
1132
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1133
|
+
"button",
|
|
1134
|
+
{
|
|
1135
|
+
type: "button",
|
|
1136
|
+
"aria-label": "Dismiss low credits warning",
|
|
1137
|
+
className: "flex shrink-0 cursor-pointer items-center justify-center",
|
|
1138
|
+
style: { width: 16, height: 16 },
|
|
1139
|
+
onClick: () => setDismissed(true),
|
|
1140
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_icons9.SiconClose, { color, size: 16, strokeWidth: 1.25 })
|
|
1141
|
+
}
|
|
1142
|
+
)
|
|
1143
|
+
] }),
|
|
1144
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
1145
|
+
"p",
|
|
1146
|
+
{
|
|
1147
|
+
className: "w-full",
|
|
1148
|
+
style: {
|
|
1149
|
+
color,
|
|
1150
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
1151
|
+
fontSize: 12,
|
|
1152
|
+
lineHeight: "var(--line-height-line-height-xs)",
|
|
1153
|
+
fontWeight: 400,
|
|
1154
|
+
letterSpacing: "var(--letter-spacing-letter-spacing-normal, 0px)"
|
|
1155
|
+
},
|
|
1156
|
+
children: [
|
|
1157
|
+
"Only ",
|
|
1158
|
+
availableCredits.toLocaleString(),
|
|
1159
|
+
" credits (",
|
|
1160
|
+
remainingPct,
|
|
1161
|
+
"%)",
|
|
1162
|
+
" ",
|
|
1163
|
+
"remaining.",
|
|
1164
|
+
" ",
|
|
1165
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1166
|
+
"button",
|
|
1167
|
+
{
|
|
1168
|
+
type: "button",
|
|
1169
|
+
className: "cursor-pointer underline",
|
|
1170
|
+
onClick: onBuyCredits,
|
|
1171
|
+
style: {
|
|
1172
|
+
color,
|
|
1173
|
+
fontFamily: "inherit",
|
|
1174
|
+
fontSize: "inherit",
|
|
1175
|
+
fontWeight: "inherit",
|
|
1176
|
+
lineHeight: "inherit"
|
|
1177
|
+
},
|
|
1178
|
+
children: "Buy credits"
|
|
1179
|
+
}
|
|
1180
|
+
),
|
|
1181
|
+
" ",
|
|
1182
|
+
"to avoid interruptions."
|
|
1183
|
+
]
|
|
1184
|
+
}
|
|
1185
|
+
)
|
|
1186
|
+
]
|
|
1187
|
+
}
|
|
1188
|
+
)
|
|
1189
|
+
}
|
|
1190
|
+
);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
// src/SC-Dp/ScDp.tsx
|
|
1194
|
+
var import_react4 = require("react");
|
|
1010
1195
|
|
|
1011
1196
|
// src/SC-Dp/ScDp.module.css
|
|
1012
1197
|
var ScDp_default = {
|
|
@@ -1021,7 +1206,7 @@ var ScDp_default = {
|
|
|
1021
1206
|
};
|
|
1022
1207
|
|
|
1023
1208
|
// src/SC-Dp/ScDp.tsx
|
|
1024
|
-
var
|
|
1209
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1025
1210
|
function ScDp({
|
|
1026
1211
|
type = "initial",
|
|
1027
1212
|
variant = "workspace",
|
|
@@ -1031,7 +1216,7 @@ function ScDp({
|
|
|
1031
1216
|
className,
|
|
1032
1217
|
style
|
|
1033
1218
|
}) {
|
|
1034
|
-
const [imageFailed, setImageFailed] = (0,
|
|
1219
|
+
const [imageFailed, setImageFailed] = (0, import_react4.useState)(false);
|
|
1035
1220
|
const isProfile = variant === "profile";
|
|
1036
1221
|
const showImage = type === "image" && imageUrl && !imageFailed;
|
|
1037
1222
|
const containerClass = [
|
|
@@ -1045,7 +1230,7 @@ function ScDp({
|
|
|
1045
1230
|
height: size,
|
|
1046
1231
|
...style
|
|
1047
1232
|
};
|
|
1048
|
-
return /* @__PURE__ */ (0,
|
|
1233
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: containerClass, style: sizeStyle, children: showImage ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1049
1234
|
"img",
|
|
1050
1235
|
{
|
|
1051
1236
|
src: imageUrl,
|
|
@@ -1053,7 +1238,7 @@ function ScDp({
|
|
|
1053
1238
|
className: ScDp_default.image + " " + (isProfile ? ScDp_default.imageProfile : ScDp_default.imageWorkspace),
|
|
1054
1239
|
onError: () => setImageFailed(true)
|
|
1055
1240
|
}
|
|
1056
|
-
) : /* @__PURE__ */ (0,
|
|
1241
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: ScDp_default.initials, children: initial }) });
|
|
1057
1242
|
}
|
|
1058
1243
|
|
|
1059
1244
|
// src/SC-Google sign in/ScGoogleSignIn.module.css
|
|
@@ -1065,7 +1250,7 @@ var ScGoogleSignIn_default = {
|
|
|
1065
1250
|
};
|
|
1066
1251
|
|
|
1067
1252
|
// src/SC-Google sign in/ScGoogleSignIn.tsx
|
|
1068
|
-
var
|
|
1253
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1069
1254
|
var ScGoogleSignIn = ({
|
|
1070
1255
|
hover = "false",
|
|
1071
1256
|
googleLogoSrc = "google-logo0.png",
|
|
@@ -1074,14 +1259,14 @@ var ScGoogleSignIn = ({
|
|
|
1074
1259
|
...props
|
|
1075
1260
|
}) => {
|
|
1076
1261
|
const variantsClassName = ScGoogleSignIn_default["hover-" + hover];
|
|
1077
|
-
return /* @__PURE__ */ (0,
|
|
1262
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1078
1263
|
"div",
|
|
1079
1264
|
{
|
|
1080
1265
|
className: ScGoogleSignIn_default.scGoogleSignIn + " " + className + " " + variantsClassName,
|
|
1081
1266
|
...props,
|
|
1082
1267
|
children: [
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1268
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("img", { className: ScGoogleSignIn_default.googleLogo, src: googleLogoSrc }),
|
|
1269
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: ScGoogleSignIn_default.signInText, children: [
|
|
1085
1270
|
signInText,
|
|
1086
1271
|
" "
|
|
1087
1272
|
] })
|
|
@@ -1097,19 +1282,19 @@ var ScIntialProfileCover_default = {
|
|
|
1097
1282
|
};
|
|
1098
1283
|
|
|
1099
1284
|
// src/SC-Intial Profile Cover/ScIntialProfileCover.tsx
|
|
1100
|
-
var
|
|
1285
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1101
1286
|
var ScIntialProfileCover = ({
|
|
1102
1287
|
intial = "WS",
|
|
1103
1288
|
size,
|
|
1104
1289
|
className
|
|
1105
1290
|
}) => {
|
|
1106
1291
|
const sizeStyle = size ? { width: size, height: size, padding: 0 } : void 0;
|
|
1107
|
-
return /* @__PURE__ */ (0,
|
|
1292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1108
1293
|
"div",
|
|
1109
1294
|
{
|
|
1110
1295
|
className: ScIntialProfileCover_default.scIntialProfileCover + " " + className,
|
|
1111
1296
|
style: sizeStyle,
|
|
1112
|
-
children: /* @__PURE__ */ (0,
|
|
1297
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: ScIntialProfileCover_default.initials, children: [
|
|
1113
1298
|
intial,
|
|
1114
1299
|
" "
|
|
1115
1300
|
] })
|
|
@@ -1133,14 +1318,14 @@ var ScStrLogo_default = {
|
|
|
1133
1318
|
};
|
|
1134
1319
|
|
|
1135
1320
|
// src/SC-strLogo/ScStrLogo.tsx
|
|
1136
|
-
var
|
|
1321
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1137
1322
|
var ScStrLogo = ({
|
|
1138
1323
|
type = "default",
|
|
1139
1324
|
className,
|
|
1140
1325
|
...props
|
|
1141
1326
|
}) => {
|
|
1142
1327
|
const variantsClassName = ScStrLogo_default["type-" + type];
|
|
1143
|
-
return /* @__PURE__ */ (0,
|
|
1328
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1144
1329
|
"svg",
|
|
1145
1330
|
{
|
|
1146
1331
|
className: ScStrLogo_default.scStrLogo + " " + className + " " + variantsClassName,
|
|
@@ -1150,28 +1335,28 @@ var ScStrLogo = ({
|
|
|
1150
1335
|
fill: "none",
|
|
1151
1336
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1152
1337
|
children: [
|
|
1153
|
-
/* @__PURE__ */ (0,
|
|
1338
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1154
1339
|
"path",
|
|
1155
1340
|
{
|
|
1156
1341
|
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",
|
|
1157
1342
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1158
1343
|
}
|
|
1159
1344
|
),
|
|
1160
|
-
/* @__PURE__ */ (0,
|
|
1345
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1161
1346
|
"path",
|
|
1162
1347
|
{
|
|
1163
1348
|
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",
|
|
1164
1349
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1165
1350
|
}
|
|
1166
1351
|
),
|
|
1167
|
-
/* @__PURE__ */ (0,
|
|
1352
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1168
1353
|
"path",
|
|
1169
1354
|
{
|
|
1170
1355
|
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",
|
|
1171
1356
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1172
1357
|
}
|
|
1173
1358
|
),
|
|
1174
|
-
/* @__PURE__ */ (0,
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1175
1360
|
"path",
|
|
1176
1361
|
{
|
|
1177
1362
|
fillRule: "evenodd",
|
|
@@ -1180,7 +1365,7 @@ var ScStrLogo = ({
|
|
|
1180
1365
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1181
1366
|
}
|
|
1182
1367
|
),
|
|
1183
|
-
/* @__PURE__ */ (0,
|
|
1368
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1184
1369
|
"path",
|
|
1185
1370
|
{
|
|
1186
1371
|
fillRule: "evenodd",
|
|
@@ -1189,14 +1374,14 @@ var ScStrLogo = ({
|
|
|
1189
1374
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1190
1375
|
}
|
|
1191
1376
|
),
|
|
1192
|
-
/* @__PURE__ */ (0,
|
|
1377
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1193
1378
|
"path",
|
|
1194
1379
|
{
|
|
1195
1380
|
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",
|
|
1196
1381
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1197
1382
|
}
|
|
1198
1383
|
),
|
|
1199
|
-
/* @__PURE__ */ (0,
|
|
1384
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1200
1385
|
"path",
|
|
1201
1386
|
{
|
|
1202
1387
|
fillRule: "evenodd",
|
|
@@ -1205,14 +1390,14 @@ var ScStrLogo = ({
|
|
|
1205
1390
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1206
1391
|
}
|
|
1207
1392
|
),
|
|
1208
|
-
/* @__PURE__ */ (0,
|
|
1393
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1209
1394
|
"path",
|
|
1210
1395
|
{
|
|
1211
1396
|
d: "M381.603 60H370.884V19.2857H381.603V60Z",
|
|
1212
1397
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1213
1398
|
}
|
|
1214
1399
|
),
|
|
1215
|
-
/* @__PURE__ */ (0,
|
|
1400
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1216
1401
|
"path",
|
|
1217
1402
|
{
|
|
1218
1403
|
fillRule: "evenodd",
|
|
@@ -1221,28 +1406,28 @@ var ScStrLogo = ({
|
|
|
1221
1406
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1222
1407
|
}
|
|
1223
1408
|
),
|
|
1224
|
-
/* @__PURE__ */ (0,
|
|
1409
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1225
1410
|
"path",
|
|
1226
1411
|
{
|
|
1227
1412
|
d: "M381.603 15H370.884V4.28571H381.603V15Z",
|
|
1228
1413
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1229
1414
|
}
|
|
1230
1415
|
),
|
|
1231
|
-
/* @__PURE__ */ (0,
|
|
1416
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1232
1417
|
"path",
|
|
1233
1418
|
{
|
|
1234
1419
|
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",
|
|
1235
1420
|
fill: "url(#paint0_linear_19_1153)"
|
|
1236
1421
|
}
|
|
1237
1422
|
),
|
|
1238
|
-
/* @__PURE__ */ (0,
|
|
1423
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1239
1424
|
"path",
|
|
1240
1425
|
{
|
|
1241
1426
|
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",
|
|
1242
1427
|
fill: "var(--alias-text-and-icons-primary, #f5f5f5)"
|
|
1243
1428
|
}
|
|
1244
1429
|
),
|
|
1245
|
-
/* @__PURE__ */ (0,
|
|
1430
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1246
1431
|
"linearGradient",
|
|
1247
1432
|
{
|
|
1248
1433
|
id: "paint0_linear_19_1153",
|
|
@@ -1252,8 +1437,8 @@ var ScStrLogo = ({
|
|
|
1252
1437
|
y2: "30.0494",
|
|
1253
1438
|
gradientUnits: "userSpaceOnUse",
|
|
1254
1439
|
children: [
|
|
1255
|
-
/* @__PURE__ */ (0,
|
|
1256
|
-
/* @__PURE__ */ (0,
|
|
1440
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("stop", { offset: "0.673116", stopColor: "#50DCDE" }),
|
|
1441
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("stop", { offset: "0.85581", stopColor: "#7850DE" })
|
|
1257
1442
|
]
|
|
1258
1443
|
}
|
|
1259
1444
|
) })
|
|
@@ -1263,18 +1448,18 @@ var ScStrLogo = ({
|
|
|
1263
1448
|
};
|
|
1264
1449
|
|
|
1265
1450
|
// src/SC-Logo unit/ScLogoUnit.tsx
|
|
1266
|
-
var
|
|
1451
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1267
1452
|
var ScLogoUnit = ({
|
|
1268
1453
|
state = "expanded",
|
|
1269
1454
|
className,
|
|
1270
1455
|
...props
|
|
1271
1456
|
}) => {
|
|
1272
1457
|
const variantsClassName = ScLogoUnit_default["state-" + state];
|
|
1273
|
-
return /* @__PURE__ */ (0,
|
|
1458
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1274
1459
|
"div",
|
|
1275
1460
|
{
|
|
1276
1461
|
className: ScLogoUnit_default.scLogoUnit + " " + className + " " + variantsClassName,
|
|
1277
|
-
children: /* @__PURE__ */ (0,
|
|
1462
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1278
1463
|
ScStrLogo,
|
|
1279
1464
|
{
|
|
1280
1465
|
type: "default",
|
|
@@ -1298,10 +1483,10 @@ var ScMenuOptions_default = {
|
|
|
1298
1483
|
};
|
|
1299
1484
|
|
|
1300
1485
|
// src/SC-Menu options/ScMenuOptions.tsx
|
|
1301
|
-
var
|
|
1302
|
-
var
|
|
1486
|
+
var import_icons10 = require("@streamoid/icons");
|
|
1487
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1303
1488
|
var ScMenuOptions = ({
|
|
1304
|
-
icon = /* @__PURE__ */ (0,
|
|
1489
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.SiconTeam, { className: ScMenuOptions_default.siconTeamInstance }),
|
|
1305
1490
|
version = "v2.0.21",
|
|
1306
1491
|
hover = "false",
|
|
1307
1492
|
variant = "default",
|
|
@@ -1310,18 +1495,18 @@ var ScMenuOptions = ({
|
|
|
1310
1495
|
...props
|
|
1311
1496
|
}) => {
|
|
1312
1497
|
const variantsClassName = ScMenuOptions_default["hover-" + hover] + " " + ScMenuOptions_default["variant-" + variant];
|
|
1313
|
-
return /* @__PURE__ */ (0,
|
|
1498
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
1314
1499
|
"div",
|
|
1315
1500
|
{
|
|
1316
1501
|
className: ScMenuOptions_default.scMenuOptions + " " + className + " " + variantsClassName,
|
|
1317
1502
|
...props,
|
|
1318
1503
|
children: [
|
|
1319
1504
|
icon,
|
|
1320
|
-
/* @__PURE__ */ (0,
|
|
1505
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: ScMenuOptions_default.content, children: [
|
|
1321
1506
|
text,
|
|
1322
1507
|
" "
|
|
1323
1508
|
] }),
|
|
1324
|
-
variant === "with-v" && /* @__PURE__ */ (0,
|
|
1509
|
+
variant === "with-v" && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jsx_runtime22.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: ScMenuOptions_default.content2, children: [
|
|
1325
1510
|
version,
|
|
1326
1511
|
" "
|
|
1327
1512
|
] }) })
|
|
@@ -1337,26 +1522,26 @@ var ScOnlyIcon_default = {
|
|
|
1337
1522
|
};
|
|
1338
1523
|
|
|
1339
1524
|
// src/SC-OnlyIcon/ScOnlyIcon.tsx
|
|
1340
|
-
var
|
|
1341
|
-
var
|
|
1525
|
+
var import_icons11 = require("@streamoid/icons");
|
|
1526
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1342
1527
|
var ScOnlyIcon = ({
|
|
1343
1528
|
variant = "default",
|
|
1344
1529
|
className,
|
|
1345
1530
|
...props
|
|
1346
1531
|
}) => {
|
|
1347
1532
|
const variantsClassName = ScOnlyIcon_default["variant-" + variant];
|
|
1348
|
-
return /* @__PURE__ */ (0,
|
|
1533
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1349
1534
|
"div",
|
|
1350
1535
|
{
|
|
1351
1536
|
className: ScOnlyIcon_default.scOnlyIcon + " " + className + " " + variantsClassName,
|
|
1352
1537
|
...props,
|
|
1353
|
-
children: /* @__PURE__ */ (0,
|
|
1538
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_icons11.SiconSettings, { className: ScOnlyIcon_default.siconSettingsInstance })
|
|
1354
1539
|
}
|
|
1355
1540
|
);
|
|
1356
1541
|
};
|
|
1357
1542
|
|
|
1358
1543
|
// src/SC-Plan card/ScPlanCard.tsx
|
|
1359
|
-
var
|
|
1544
|
+
var import_react5 = require("react");
|
|
1360
1545
|
|
|
1361
1546
|
// src/SC-Plan card/ScPlanCard.module.css
|
|
1362
1547
|
var ScPlanCard_default = {
|
|
@@ -1386,8 +1571,8 @@ var ScPlanCard_default = {
|
|
|
1386
1571
|
};
|
|
1387
1572
|
|
|
1388
1573
|
// src/SC-Plan card/ScPlanCard.tsx
|
|
1389
|
-
var
|
|
1390
|
-
var
|
|
1574
|
+
var import_icons12 = require("@streamoid/icons");
|
|
1575
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1391
1576
|
var ScPlanCard = ({
|
|
1392
1577
|
planName = "Pro",
|
|
1393
1578
|
price = "$49.99 / month",
|
|
@@ -1407,23 +1592,23 @@ var ScPlanCard = ({
|
|
|
1407
1592
|
const isCustom = type === "custom";
|
|
1408
1593
|
const isFreeOrPopular = type === "free" || type === "popular";
|
|
1409
1594
|
const variantsClassName = ScPlanCard_default["type-" + type];
|
|
1410
|
-
return /* @__PURE__ */ (0,
|
|
1595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1411
1596
|
"div",
|
|
1412
1597
|
{
|
|
1413
1598
|
className: ScPlanCard_default.scPlanCard + " " + (className || "") + " " + variantsClassName,
|
|
1414
1599
|
children: [
|
|
1415
|
-
/* @__PURE__ */ (0,
|
|
1416
|
-
/* @__PURE__ */ (0,
|
|
1417
|
-
!isCustom && /* @__PURE__ */ (0,
|
|
1600
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.planHeader, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: ScPlanCard_default.planInfo, children: [
|
|
1601
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.planName, children: planName }),
|
|
1602
|
+
!isCustom && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.planPrice, children: price })
|
|
1418
1603
|
] }) }),
|
|
1419
|
-
isFreeOrPopular && /* @__PURE__ */ (0,
|
|
1420
|
-
/* @__PURE__ */ (0,
|
|
1604
|
+
isFreeOrPopular && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: ScPlanCard_default.creditsWrapper, children: [
|
|
1605
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1421
1606
|
"div",
|
|
1422
1607
|
{
|
|
1423
1608
|
className: ScPlanCard_default.creditsContainer + (isPopular ? " " + ScPlanCard_default.creditsContainerPopular : ""),
|
|
1424
1609
|
children: [
|
|
1425
|
-
/* @__PURE__ */ (0,
|
|
1426
|
-
|
|
1610
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1611
|
+
import_icons12.SiconCredits,
|
|
1427
1612
|
{
|
|
1428
1613
|
className: ScPlanCard_default.siconCreditsInstance,
|
|
1429
1614
|
color: "var(--alias-text-and-icons-primary, #f5f5f5)",
|
|
@@ -1431,16 +1616,16 @@ var ScPlanCard = ({
|
|
|
1431
1616
|
strokeWidth: 1.5
|
|
1432
1617
|
}
|
|
1433
1618
|
),
|
|
1434
|
-
/* @__PURE__ */ (0,
|
|
1435
|
-
isPopular && /* @__PURE__ */ (0,
|
|
1619
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.creditsText, children: credits }),
|
|
1620
|
+
isPopular && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
1436
1621
|
"button",
|
|
1437
1622
|
{
|
|
1438
1623
|
type: "button",
|
|
1439
1624
|
className: ScPlanCard_default.increaseCreditsBtn,
|
|
1440
1625
|
onClick: onIncreaseCredits,
|
|
1441
1626
|
children: [
|
|
1442
|
-
/* @__PURE__ */ (0,
|
|
1443
|
-
/* @__PURE__ */ (0,
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: ScPlanCard_default.increaseCreditsLabel, children: "Increase credits" }),
|
|
1628
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1444
1629
|
"svg",
|
|
1445
1630
|
{
|
|
1446
1631
|
className: ScPlanCard_default.increaseCreditsArrow,
|
|
@@ -1449,7 +1634,7 @@ var ScPlanCard = ({
|
|
|
1449
1634
|
viewBox: "0 0 12 12",
|
|
1450
1635
|
fill: "none",
|
|
1451
1636
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1452
|
-
children: /* @__PURE__ */ (0,
|
|
1637
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1453
1638
|
"path",
|
|
1454
1639
|
{
|
|
1455
1640
|
d: "M3 4.5L6 7.5L9 4.5",
|
|
@@ -1469,7 +1654,7 @@ var ScPlanCard = ({
|
|
|
1469
1654
|
),
|
|
1470
1655
|
creditsDropdown
|
|
1471
1656
|
] }),
|
|
1472
|
-
isFreeOrPopular && /* @__PURE__ */ (0,
|
|
1657
|
+
isFreeOrPopular && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1473
1658
|
ScButton,
|
|
1474
1659
|
{
|
|
1475
1660
|
text: buttonText,
|
|
@@ -1479,20 +1664,20 @@ var ScPlanCard = ({
|
|
|
1479
1664
|
onClick: buttonState !== "disabled" ? onUpgrade : void 0
|
|
1480
1665
|
}
|
|
1481
1666
|
),
|
|
1482
|
-
isCustom && /* @__PURE__ */ (0,
|
|
1483
|
-
isCustom && description && /* @__PURE__ */ (0,
|
|
1484
|
-
isFreeOrPopular && features.map((section, sIdx) => /* @__PURE__ */ (0,
|
|
1485
|
-
sIdx > 0 && /* @__PURE__ */ (0,
|
|
1486
|
-
/* @__PURE__ */ (0,
|
|
1487
|
-
/* @__PURE__ */ (0,
|
|
1488
|
-
section.features.map((feature, fIdx) => /* @__PURE__ */ (0,
|
|
1489
|
-
section.icon || /* @__PURE__ */ (0,
|
|
1490
|
-
/* @__PURE__ */ (0,
|
|
1667
|
+
isCustom && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1668
|
+
isCustom && description && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.description, children: description }),
|
|
1669
|
+
isFreeOrPopular && features.map((section, sIdx) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react5.Fragment, { children: [
|
|
1670
|
+
sIdx > 0 && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1671
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: ScPlanCard_default.featuresSection, children: [
|
|
1672
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.sectionTitle, children: section.section }),
|
|
1673
|
+
section.features.map((feature, fIdx) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: ScPlanCard_default.featureRow, children: [
|
|
1674
|
+
section.icon || /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons12.SiconHome, { color: "var(--alias-text-and-icons-tertiary, #9e9e9e)", size: 24, strokeWidth: 1.5 }),
|
|
1675
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: ScPlanCard_default.featureText, children: feature })
|
|
1491
1676
|
] }, fIdx))
|
|
1492
1677
|
] })
|
|
1493
1678
|
] }, section.section)),
|
|
1494
|
-
isCustom && /* @__PURE__ */ (0,
|
|
1495
|
-
isCustom && /* @__PURE__ */ (0,
|
|
1679
|
+
isCustom && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ScHDivider, { className: ScPlanCard_default.scHDividerInstance }),
|
|
1680
|
+
isCustom && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1496
1681
|
ScButton,
|
|
1497
1682
|
{
|
|
1498
1683
|
text: buttonText,
|
|
@@ -1524,9 +1709,9 @@ var ScPlanDetailsCard_default = {
|
|
|
1524
1709
|
};
|
|
1525
1710
|
|
|
1526
1711
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
1527
|
-
var import_icons12 = require("@streamoid/icons");
|
|
1528
1712
|
var import_icons13 = require("@streamoid/icons");
|
|
1529
|
-
var
|
|
1713
|
+
var import_icons14 = require("@streamoid/icons");
|
|
1714
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1530
1715
|
var ScPlanDetailsCard = ({
|
|
1531
1716
|
planName = "Free",
|
|
1532
1717
|
planCredits = "30,000 credits",
|
|
@@ -1538,17 +1723,17 @@ var ScPlanDetailsCard = ({
|
|
|
1538
1723
|
className,
|
|
1539
1724
|
...props
|
|
1540
1725
|
}) => {
|
|
1541
|
-
return /* @__PURE__ */ (0,
|
|
1542
|
-
/* @__PURE__ */ (0,
|
|
1543
|
-
/* @__PURE__ */ (0,
|
|
1726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, ...props, children: [
|
|
1727
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planHeader, children: [
|
|
1728
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1544
1729
|
ScPairtext,
|
|
1545
1730
|
{
|
|
1546
|
-
icon: /* @__PURE__ */ (0,
|
|
1731
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_icons13.SiconBilling, { color: "var(--alias-text-and-icons-primary, #f5f5f5)", className: ScPlanDetailsCard_default.siconBillingInstance }),
|
|
1547
1732
|
content: currentPlanLabel,
|
|
1548
1733
|
className: ScPlanDetailsCard_default.scPairtextInstance
|
|
1549
1734
|
}
|
|
1550
1735
|
),
|
|
1551
|
-
/* @__PURE__ */ (0,
|
|
1736
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1552
1737
|
ScBadges,
|
|
1553
1738
|
{
|
|
1554
1739
|
text: badgeText,
|
|
@@ -1558,20 +1743,20 @@ var ScPlanDetailsCard = ({
|
|
|
1558
1743
|
}
|
|
1559
1744
|
)
|
|
1560
1745
|
] }),
|
|
1561
|
-
/* @__PURE__ */ (0,
|
|
1562
|
-
/* @__PURE__ */ (0,
|
|
1563
|
-
/* @__PURE__ */ (0,
|
|
1564
|
-
/* @__PURE__ */ (0,
|
|
1565
|
-
/* @__PURE__ */ (0,
|
|
1566
|
-
/* @__PURE__ */ (0,
|
|
1567
|
-
/* @__PURE__ */ (0,
|
|
1746
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
1747
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
1748
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planInfo, children: [
|
|
1749
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
1751
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
1752
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
|
|
1568
1753
|
] }),
|
|
1569
|
-
/* @__PURE__ */ (0,
|
|
1754
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: ScPlanDetailsCard_default.planPrice, children: planPrice })
|
|
1570
1755
|
] }),
|
|
1571
|
-
/* @__PURE__ */ (0,
|
|
1756
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1572
1757
|
ScButton,
|
|
1573
1758
|
{
|
|
1574
|
-
icon: /* @__PURE__ */ (0,
|
|
1759
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_icons14.SiconHome, { className: ScPlanDetailsCard_default.siconHomeInstance }),
|
|
1575
1760
|
text: upgradeButtonText,
|
|
1576
1761
|
size: "md",
|
|
1577
1762
|
className: ScPlanDetailsCard_default.scButtonInstance,
|
|
@@ -1593,7 +1778,7 @@ var ScProfile_default = {
|
|
|
1593
1778
|
};
|
|
1594
1779
|
|
|
1595
1780
|
// src/SC-Profile/ScProfile.tsx
|
|
1596
|
-
var
|
|
1781
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1597
1782
|
var ScProfile = ({
|
|
1598
1783
|
name = "Chris Hemsworth",
|
|
1599
1784
|
subText = "Kepler workspace",
|
|
@@ -1603,19 +1788,19 @@ var ScProfile = ({
|
|
|
1603
1788
|
...props
|
|
1604
1789
|
}) => {
|
|
1605
1790
|
const variantsClassName = ScProfile_default["collapsed-" + collapsed];
|
|
1606
|
-
return /* @__PURE__ */ (0,
|
|
1791
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
1607
1792
|
"div",
|
|
1608
1793
|
{
|
|
1609
1794
|
className: ScProfile_default.scProfile + " " + className + " " + variantsClassName,
|
|
1610
1795
|
...props,
|
|
1611
1796
|
children: [
|
|
1612
|
-
/* @__PURE__ */ (0,
|
|
1613
|
-
collapsed === "false" && /* @__PURE__ */ (0,
|
|
1614
|
-
/* @__PURE__ */ (0,
|
|
1797
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("img", { className: ScProfile_default.profileImage, src: profileImage }),
|
|
1798
|
+
collapsed === "false" && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jsx_runtime26.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: ScProfile_default.userInfo, children: [
|
|
1799
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: ScProfile_default.userName, children: [
|
|
1615
1800
|
name,
|
|
1616
1801
|
" "
|
|
1617
1802
|
] }),
|
|
1618
|
-
/* @__PURE__ */ (0,
|
|
1803
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: ScProfile_default.userDescription, children: [
|
|
1619
1804
|
subText,
|
|
1620
1805
|
" "
|
|
1621
1806
|
] })
|
|
@@ -1626,7 +1811,7 @@ var ScProfile = ({
|
|
|
1626
1811
|
};
|
|
1627
1812
|
|
|
1628
1813
|
// src/SC-Profile Image update/ScProfileImageUpdate.tsx
|
|
1629
|
-
var
|
|
1814
|
+
var import_react6 = require("react");
|
|
1630
1815
|
|
|
1631
1816
|
// src/SC-Profile Image update/ScProfileImageUpdate.module.css
|
|
1632
1817
|
var ScProfileImageUpdate_default = {
|
|
@@ -1641,7 +1826,7 @@ var ScProfileImageUpdate_default = {
|
|
|
1641
1826
|
};
|
|
1642
1827
|
|
|
1643
1828
|
// src/SC-Profile Image update/ScProfileImageUpdate.tsx
|
|
1644
|
-
var
|
|
1829
|
+
var import_icons15 = require("@streamoid/icons");
|
|
1645
1830
|
|
|
1646
1831
|
// src/SC-VDivider/ScVDivider.module.css
|
|
1647
1832
|
var ScVDivider_default = {
|
|
@@ -1649,14 +1834,14 @@ var ScVDivider_default = {
|
|
|
1649
1834
|
};
|
|
1650
1835
|
|
|
1651
1836
|
// src/SC-VDivider/ScVDivider.tsx
|
|
1652
|
-
var
|
|
1837
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1653
1838
|
var ScVDivider = ({
|
|
1654
1839
|
color,
|
|
1655
1840
|
className,
|
|
1656
1841
|
style,
|
|
1657
1842
|
...props
|
|
1658
1843
|
}) => {
|
|
1659
|
-
return /* @__PURE__ */ (0,
|
|
1844
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1660
1845
|
"div",
|
|
1661
1846
|
{
|
|
1662
1847
|
className: ScVDivider_default.scVDivider + (className ? " " + className : ""),
|
|
@@ -1667,7 +1852,7 @@ var ScVDivider = ({
|
|
|
1667
1852
|
};
|
|
1668
1853
|
|
|
1669
1854
|
// src/SC-Profile Image update/ScProfileImageUpdate.tsx
|
|
1670
|
-
var
|
|
1855
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
1671
1856
|
var ScProfileImageUpdate = ({
|
|
1672
1857
|
imageUrl,
|
|
1673
1858
|
initials = "",
|
|
@@ -1676,7 +1861,7 @@ var ScProfileImageUpdate = ({
|
|
|
1676
1861
|
className,
|
|
1677
1862
|
...props
|
|
1678
1863
|
}) => {
|
|
1679
|
-
const inputRef = (0,
|
|
1864
|
+
const inputRef = (0, import_react6.useRef)(null);
|
|
1680
1865
|
function handleUploadClick() {
|
|
1681
1866
|
inputRef.current?.click();
|
|
1682
1867
|
}
|
|
@@ -1687,8 +1872,8 @@ var ScProfileImageUpdate = ({
|
|
|
1687
1872
|
}
|
|
1688
1873
|
e.target.value = "";
|
|
1689
1874
|
}
|
|
1690
|
-
return /* @__PURE__ */ (0,
|
|
1691
|
-
/* @__PURE__ */ (0,
|
|
1875
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: ScProfileImageUpdate_default.scProfileImageUpdate + " " + className, ...props, children: [
|
|
1876
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1692
1877
|
"input",
|
|
1693
1878
|
{
|
|
1694
1879
|
ref: inputRef,
|
|
@@ -1698,12 +1883,12 @@ var ScProfileImageUpdate = ({
|
|
|
1698
1883
|
onChange: handleFileChange
|
|
1699
1884
|
}
|
|
1700
1885
|
),
|
|
1701
|
-
imageUrl ? /* @__PURE__ */ (0,
|
|
1702
|
-
/* @__PURE__ */ (0,
|
|
1703
|
-
/* @__PURE__ */ (0,
|
|
1886
|
+
imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("img", { className: ScProfileImageUpdate_default.profileImage, src: imageUrl, alt: "profile" }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: ScProfileImageUpdate_default.profileImage + " " + ScProfileImageUpdate_default.profileInitials, children: initials }),
|
|
1887
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: ScProfileImageUpdate_default.buttonContainer, children: [
|
|
1888
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1704
1889
|
ScButton,
|
|
1705
1890
|
{
|
|
1706
|
-
icon: /* @__PURE__ */ (0,
|
|
1891
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_icons15.SiconUpload, { className: ScProfileImageUpdate_default.siconUploadInstance }),
|
|
1707
1892
|
styleVariant: "icon-only",
|
|
1708
1893
|
variant: "tertiary",
|
|
1709
1894
|
size: "md",
|
|
@@ -1711,11 +1896,11 @@ var ScProfileImageUpdate = ({
|
|
|
1711
1896
|
onClick: handleUploadClick
|
|
1712
1897
|
}
|
|
1713
1898
|
),
|
|
1714
|
-
/* @__PURE__ */ (0,
|
|
1715
|
-
/* @__PURE__ */ (0,
|
|
1899
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ScVDivider, { className: ScProfileImageUpdate_default.scVDividerInstance }),
|
|
1900
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1716
1901
|
ScButton,
|
|
1717
1902
|
{
|
|
1718
|
-
icon: /* @__PURE__ */ (0,
|
|
1903
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_icons15.SiconDelete, { className: ScProfileImageUpdate_default.siconDeleteInstance }),
|
|
1719
1904
|
styleVariant: "icon-only",
|
|
1720
1905
|
variant: "tertiary",
|
|
1721
1906
|
size: "md",
|
|
@@ -1759,7 +1944,7 @@ var ScWorkspace_default = {
|
|
|
1759
1944
|
};
|
|
1760
1945
|
|
|
1761
1946
|
// src/SC-Workspace/ScWorkspace.tsx
|
|
1762
|
-
var
|
|
1947
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
1763
1948
|
var ScWorkspace = ({
|
|
1764
1949
|
collapsed = "false",
|
|
1765
1950
|
workspaceName = "Kepler",
|
|
@@ -1769,19 +1954,19 @@ var ScWorkspace = ({
|
|
|
1769
1954
|
...props
|
|
1770
1955
|
}) => {
|
|
1771
1956
|
const variantsClassName = ScWorkspace_default["collapsed-" + collapsed];
|
|
1772
|
-
return /* @__PURE__ */ (0,
|
|
1957
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
1773
1958
|
"div",
|
|
1774
1959
|
{
|
|
1775
1960
|
className: ScWorkspace_default.scWorkspace + " " + className + " " + variantsClassName,
|
|
1776
1961
|
...props,
|
|
1777
1962
|
children: [
|
|
1778
|
-
/* @__PURE__ */ (0,
|
|
1779
|
-
collapsed === "false" && /* @__PURE__ */ (0,
|
|
1780
|
-
/* @__PURE__ */ (0,
|
|
1963
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
|
|
1964
|
+
collapsed === "false" && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: ScWorkspace_default.userInfo, children: [
|
|
1965
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: ScWorkspace_default.userName, children: [
|
|
1781
1966
|
workspaceName,
|
|
1782
1967
|
" "
|
|
1783
1968
|
] }),
|
|
1784
|
-
/* @__PURE__ */ (0,
|
|
1969
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: ScWorkspace_default.userRole, children: [
|
|
1785
1970
|
userRole,
|
|
1786
1971
|
" "
|
|
1787
1972
|
] })
|
|
@@ -1792,10 +1977,10 @@ var ScWorkspace = ({
|
|
|
1792
1977
|
};
|
|
1793
1978
|
|
|
1794
1979
|
// src/SC-Profile options/ScProfileOptions.tsx
|
|
1795
|
-
var import_icons17 = require("@streamoid/icons");
|
|
1796
1980
|
var import_icons18 = require("@streamoid/icons");
|
|
1797
1981
|
var import_icons19 = require("@streamoid/icons");
|
|
1798
1982
|
var import_icons20 = require("@streamoid/icons");
|
|
1983
|
+
var import_icons21 = require("@streamoid/icons");
|
|
1799
1984
|
|
|
1800
1985
|
// src/SC-tabComp/ScTabComp.module.css
|
|
1801
1986
|
var ScTabComp_default = {
|
|
@@ -1809,10 +1994,10 @@ var ScTabComp_default = {
|
|
|
1809
1994
|
};
|
|
1810
1995
|
|
|
1811
1996
|
// src/SC-tabComp/ScTabComp.tsx
|
|
1812
|
-
var
|
|
1813
|
-
var
|
|
1997
|
+
var import_icons16 = require("@streamoid/icons");
|
|
1998
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
1814
1999
|
var ScTabComp = ({
|
|
1815
|
-
icon = /* @__PURE__ */ (0,
|
|
2000
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_icons16.SiconHome, { className: ScTabComp_default.siconHomeInstance }),
|
|
1816
2001
|
active = "false",
|
|
1817
2002
|
type = "text-only",
|
|
1818
2003
|
className,
|
|
@@ -1820,14 +2005,14 @@ var ScTabComp = ({
|
|
|
1820
2005
|
...props
|
|
1821
2006
|
}) => {
|
|
1822
2007
|
const variantsClassName = ScTabComp_default["active-" + active] + " " + ScTabComp_default["type-" + type];
|
|
1823
|
-
return /* @__PURE__ */ (0,
|
|
2008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
1824
2009
|
"div",
|
|
1825
2010
|
{
|
|
1826
2011
|
className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
|
|
1827
2012
|
...props,
|
|
1828
2013
|
children: [
|
|
1829
|
-
type === "icon-only" && /* @__PURE__ */ (0,
|
|
1830
|
-
type === "text-only" && /* @__PURE__ */ (0,
|
|
2014
|
+
type === "icon-only" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: ScTabComp_default.icon, children: icon }) }),
|
|
2015
|
+
type === "text-only" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: ScTabComp_default.tabText, children: [
|
|
1831
2016
|
text,
|
|
1832
2017
|
" "
|
|
1833
2018
|
] }) }) })
|
|
@@ -1837,8 +2022,8 @@ var ScTabComp = ({
|
|
|
1837
2022
|
};
|
|
1838
2023
|
|
|
1839
2024
|
// src/SC-Profile options/ScProfileOptions.tsx
|
|
1840
|
-
var import_icons21 = require("@streamoid/icons");
|
|
1841
2025
|
var import_icons22 = require("@streamoid/icons");
|
|
2026
|
+
var import_icons23 = require("@streamoid/icons");
|
|
1842
2027
|
|
|
1843
2028
|
// src/SC-tabSwitcher/ScTabSwitcher.module.css
|
|
1844
2029
|
var ScTabSwitcher_default = {
|
|
@@ -1847,8 +2032,8 @@ var ScTabSwitcher_default = {
|
|
|
1847
2032
|
};
|
|
1848
2033
|
|
|
1849
2034
|
// src/SC-tabSwitcher/ScTabSwitcher.tsx
|
|
1850
|
-
var
|
|
1851
|
-
var
|
|
2035
|
+
var import_icons17 = require("@streamoid/icons");
|
|
2036
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1852
2037
|
var ScTabSwitcher = ({
|
|
1853
2038
|
tabCount = "2",
|
|
1854
2039
|
component,
|
|
@@ -1860,45 +2045,45 @@ var ScTabSwitcher = ({
|
|
|
1860
2045
|
...props
|
|
1861
2046
|
}) => {
|
|
1862
2047
|
const variantsClassName = ScTabSwitcher_default["tab-count-" + tabCount];
|
|
1863
|
-
return /* @__PURE__ */ (0,
|
|
2048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
1864
2049
|
"div",
|
|
1865
2050
|
{
|
|
1866
2051
|
className: ScTabSwitcher_default.scTabSwitcher + " " + className + " " + variantsClassName,
|
|
1867
2052
|
...props,
|
|
1868
2053
|
children: [
|
|
1869
|
-
component ? component : /* @__PURE__ */ (0,
|
|
2054
|
+
component ? component : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1870
2055
|
ScTabComp,
|
|
1871
2056
|
{
|
|
1872
|
-
icon: /* @__PURE__ */ (0,
|
|
2057
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons17.SiconHome, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1873
2058
|
active: "true",
|
|
1874
2059
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1875
2060
|
}
|
|
1876
2061
|
),
|
|
1877
|
-
component2 ? component2 : /* @__PURE__ */ (0,
|
|
2062
|
+
component2 ? component2 : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1878
2063
|
ScTabComp,
|
|
1879
2064
|
{
|
|
1880
|
-
icon: /* @__PURE__ */ (0,
|
|
2065
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons17.SiconHome, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1881
2066
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1882
2067
|
}
|
|
1883
2068
|
),
|
|
1884
|
-
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ (0,
|
|
2069
|
+
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_jsx_runtime31.Fragment, { children: component3 ? component3 : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1885
2070
|
ScTabComp,
|
|
1886
2071
|
{
|
|
1887
|
-
icon: /* @__PURE__ */ (0,
|
|
2072
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons17.SiconHome, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1888
2073
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1889
2074
|
}
|
|
1890
2075
|
) }),
|
|
1891
|
-
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ (0,
|
|
2076
|
+
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_jsx_runtime31.Fragment, { children: component4 ? component4 : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1892
2077
|
ScTabComp,
|
|
1893
2078
|
{
|
|
1894
|
-
icon: /* @__PURE__ */ (0,
|
|
2079
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons17.SiconHome, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1895
2080
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1896
2081
|
}
|
|
1897
2082
|
) }),
|
|
1898
|
-
tabCount === "5" && /* @__PURE__ */ (0,
|
|
2083
|
+
tabCount === "5" && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_jsx_runtime31.Fragment, { children: component5 ? component5 : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1899
2084
|
ScTabComp,
|
|
1900
2085
|
{
|
|
1901
|
-
icon: /* @__PURE__ */ (0,
|
|
2086
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons17.SiconHome, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1902
2087
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1903
2088
|
}
|
|
1904
2089
|
) })
|
|
@@ -1908,18 +2093,18 @@ var ScTabSwitcher = ({
|
|
|
1908
2093
|
};
|
|
1909
2094
|
|
|
1910
2095
|
// src/SC-Profile options/ScProfileOptions.tsx
|
|
1911
|
-
var
|
|
2096
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1912
2097
|
var ScProfileOptions = ({
|
|
1913
2098
|
className,
|
|
1914
2099
|
...props
|
|
1915
2100
|
}) => {
|
|
1916
|
-
return /* @__PURE__ */ (0,
|
|
1917
|
-
/* @__PURE__ */ (0,
|
|
1918
|
-
/* @__PURE__ */ (0,
|
|
1919
|
-
/* @__PURE__ */ (0,
|
|
1920
|
-
/* @__PURE__ */ (0,
|
|
1921
|
-
/* @__PURE__ */ (0,
|
|
1922
|
-
/* @__PURE__ */ (0,
|
|
2101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, ...props, children: [
|
|
2102
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: ScProfileOptions_default.profileHeader, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScProfile, { className: ScProfileOptions_default.scProfileInstance }) }),
|
|
2103
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance }),
|
|
2104
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: ScProfileOptions_default.profileDetails, children: [
|
|
2105
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: ScProfileOptions_default.workspaceInfo, children: [
|
|
2106
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScWorkspace, { className: ScProfileOptions_default.scWorkspaceInstance }),
|
|
2107
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1923
2108
|
ScBadges,
|
|
1924
2109
|
{
|
|
1925
2110
|
text: "1000 credits left",
|
|
@@ -1929,25 +2114,25 @@ var ScProfileOptions = ({
|
|
|
1929
2114
|
}
|
|
1930
2115
|
)
|
|
1931
2116
|
] }),
|
|
1932
|
-
/* @__PURE__ */ (0,
|
|
2117
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1933
2118
|
ScMenuOptions,
|
|
1934
2119
|
{
|
|
1935
|
-
icon: /* @__PURE__ */ (0,
|
|
2120
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons18.SiconTeam, { className: ScProfileOptions_default.siconTeamInstance }),
|
|
1936
2121
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1937
2122
|
}
|
|
1938
2123
|
),
|
|
1939
|
-
/* @__PURE__ */ (0,
|
|
2124
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1940
2125
|
ScMenuOptions,
|
|
1941
2126
|
{
|
|
1942
|
-
icon: /* @__PURE__ */ (0,
|
|
2127
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons19.SiconBilling, { className: ScProfileOptions_default.siconBillingInstance }),
|
|
1943
2128
|
text: "Billing",
|
|
1944
2129
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1945
2130
|
}
|
|
1946
2131
|
),
|
|
1947
|
-
/* @__PURE__ */ (0,
|
|
2132
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1948
2133
|
ScButton,
|
|
1949
2134
|
{
|
|
1950
|
-
icon: /* @__PURE__ */ (0,
|
|
2135
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons19.SiconHome, { className: ScProfileOptions_default.siconHomeInstance }),
|
|
1951
2136
|
text: "Switch workspace",
|
|
1952
2137
|
variant: "secondary",
|
|
1953
2138
|
size: "md",
|
|
@@ -1955,66 +2140,66 @@ var ScProfileOptions = ({
|
|
|
1955
2140
|
}
|
|
1956
2141
|
)
|
|
1957
2142
|
] }),
|
|
1958
|
-
/* @__PURE__ */ (0,
|
|
1959
|
-
/* @__PURE__ */ (0,
|
|
1960
|
-
/* @__PURE__ */ (0,
|
|
2143
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance2 }),
|
|
2144
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: ScProfileOptions_default.settingsOptions, children: [
|
|
2145
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1961
2146
|
ScMenuOptions,
|
|
1962
2147
|
{
|
|
1963
|
-
icon: /* @__PURE__ */ (0,
|
|
2148
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons20.SiconBolt, { className: ScProfileOptions_default.siconBoltInstance }),
|
|
1964
2149
|
text: "What's new",
|
|
1965
2150
|
variant: "with-v",
|
|
1966
2151
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1967
2152
|
}
|
|
1968
2153
|
),
|
|
1969
|
-
/* @__PURE__ */ (0,
|
|
2154
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1970
2155
|
ScMenuOptions,
|
|
1971
2156
|
{
|
|
1972
|
-
icon: /* @__PURE__ */ (0,
|
|
2157
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons20.SiconSettings, { className: ScProfileOptions_default.siconSettingsInstance }),
|
|
1973
2158
|
text: "All settings",
|
|
1974
2159
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1975
2160
|
}
|
|
1976
2161
|
)
|
|
1977
2162
|
] }),
|
|
1978
|
-
/* @__PURE__ */ (0,
|
|
1979
|
-
/* @__PURE__ */ (0,
|
|
2163
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance3 }),
|
|
2164
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1980
2165
|
ScMenuOptions,
|
|
1981
2166
|
{
|
|
1982
|
-
icon: /* @__PURE__ */ (0,
|
|
2167
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons21.SiconLogout, { className: ScProfileOptions_default.siconLogoutInstance }),
|
|
1983
2168
|
text: "Logout",
|
|
1984
2169
|
variant: "error",
|
|
1985
2170
|
className: ScProfileOptions_default.scMenuOptionsInstance
|
|
1986
2171
|
}
|
|
1987
2172
|
),
|
|
1988
|
-
/* @__PURE__ */ (0,
|
|
2173
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1989
2174
|
ScTabSwitcher,
|
|
1990
2175
|
{
|
|
1991
2176
|
tabCount: "3",
|
|
1992
|
-
component: /* @__PURE__ */ (0,
|
|
2177
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1993
2178
|
ScTabComp,
|
|
1994
2179
|
{
|
|
1995
2180
|
className: ScProfileOptions_default.scTabCompInstance,
|
|
1996
2181
|
active: "true",
|
|
1997
2182
|
type: "icon-only",
|
|
1998
|
-
icon: /* @__PURE__ */ (0,
|
|
2183
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons22.SiconSystem, { className: ScProfileOptions_default.siconSystemInstance })
|
|
1999
2184
|
}
|
|
2000
2185
|
),
|
|
2001
|
-
component2: /* @__PURE__ */ (0,
|
|
2186
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2002
2187
|
ScTabComp,
|
|
2003
2188
|
{
|
|
2004
2189
|
className: ScProfileOptions_default.scTabCompInstance,
|
|
2005
2190
|
type: "icon-only",
|
|
2006
|
-
icon: /* @__PURE__ */ (0,
|
|
2191
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons22.SiconLight, { className: ScProfileOptions_default.siconLightInstance })
|
|
2007
2192
|
}
|
|
2008
2193
|
),
|
|
2009
|
-
component3: /* @__PURE__ */ (0,
|
|
2194
|
+
component3: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2010
2195
|
ScTabComp,
|
|
2011
2196
|
{
|
|
2012
2197
|
className: ScProfileOptions_default.scTabCompInstance,
|
|
2013
2198
|
type: "icon-only",
|
|
2014
|
-
icon: /* @__PURE__ */ (0,
|
|
2199
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons23.SiconDark, { className: ScProfileOptions_default.siconDarkInstance })
|
|
2015
2200
|
}
|
|
2016
2201
|
),
|
|
2017
|
-
scTabCompicon: /* @__PURE__ */ (0,
|
|
2202
|
+
scTabCompicon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_icons22.SiconSystem, { className: ScProfileOptions_default.siconSystemInstance2 }),
|
|
2018
2203
|
scTabCompactive: "true",
|
|
2019
2204
|
scTabComptype: "icon-only",
|
|
2020
2205
|
className: ScProfileOptions_default.scTabSwitcherInstance
|
|
@@ -2034,10 +2219,10 @@ var ScProfileSettingsComp_default = {
|
|
|
2034
2219
|
};
|
|
2035
2220
|
|
|
2036
2221
|
// src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
|
|
2037
|
-
var
|
|
2222
|
+
var import_icons25 = require("@streamoid/icons");
|
|
2038
2223
|
|
|
2039
2224
|
// src/SC-textField/ScTextField.tsx
|
|
2040
|
-
var
|
|
2225
|
+
var import_react7 = require("react");
|
|
2041
2226
|
|
|
2042
2227
|
// src/SC-textField/ScTextField.module.css
|
|
2043
2228
|
var ScTextField_default = {
|
|
@@ -2058,11 +2243,11 @@ var ScTextField_default = {
|
|
|
2058
2243
|
};
|
|
2059
2244
|
|
|
2060
2245
|
// src/SC-textField/ScTextField.tsx
|
|
2061
|
-
var
|
|
2062
|
-
var
|
|
2246
|
+
var import_icons24 = require("@streamoid/icons");
|
|
2247
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
2063
2248
|
var ScTextField = ({
|
|
2064
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
2065
|
-
tfLeftIcon = /* @__PURE__ */ (0,
|
|
2249
|
+
tfRightIcon = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_icons24.SiconBolt, { className: ScTextField_default.siconBoltInstance }),
|
|
2250
|
+
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_icons24.SiconBolt, { className: ScTextField_default.siconBoltInstance }),
|
|
2066
2251
|
state,
|
|
2067
2252
|
tfGroup = "icon-right",
|
|
2068
2253
|
labelGroup = "",
|
|
@@ -2072,26 +2257,26 @@ var ScTextField = ({
|
|
|
2072
2257
|
style,
|
|
2073
2258
|
...props
|
|
2074
2259
|
}) => {
|
|
2075
|
-
const [focused, setFocused] = (0,
|
|
2260
|
+
const [focused, setFocused] = (0, import_react7.useState)(false);
|
|
2076
2261
|
const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
|
|
2077
2262
|
const variantsClassName = ScTextField_default["state-" + derivedState] + " " + ScTextField_default["tf-group-" + tfGroup] + " " + ScTextField_default["label-group-" + labelGroup];
|
|
2078
|
-
return /* @__PURE__ */ (0,
|
|
2263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
2079
2264
|
"div",
|
|
2080
2265
|
{
|
|
2081
2266
|
className: ScTextField_default.scTextField + " " + className + " " + variantsClassName,
|
|
2082
2267
|
style,
|
|
2083
2268
|
children: [
|
|
2084
|
-
labelGroup && /* @__PURE__ */ (0,
|
|
2085
|
-
/* @__PURE__ */ (0,
|
|
2269
|
+
labelGroup && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: ScTextField_default.labelContainer, children: [
|
|
2270
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: ScTextField_default.label, children: [
|
|
2086
2271
|
label,
|
|
2087
2272
|
" "
|
|
2088
2273
|
] }),
|
|
2089
|
-
labelGroup === "text" && /* @__PURE__ */ (0,
|
|
2090
|
-
labelGroup === "icon" && /* @__PURE__ */ (0,
|
|
2274
|
+
labelGroup === "text" && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: ScTextField_default.info, children: "info " }) }),
|
|
2275
|
+
labelGroup === "icon" && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_icons24.SiconBolt, { className: ScTextField_default.siconBoltInstance }) })
|
|
2091
2276
|
] }),
|
|
2092
|
-
/* @__PURE__ */ (0,
|
|
2093
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
2094
|
-
/* @__PURE__ */ (0,
|
|
2277
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: ScTextField_default.inputContainer, children: [
|
|
2278
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: tfLeftIcon }),
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2095
2280
|
"input",
|
|
2096
2281
|
{
|
|
2097
2282
|
className: ScTextField_default.inputText,
|
|
@@ -2107,7 +2292,7 @@ var ScTextField = ({
|
|
|
2107
2292
|
}
|
|
2108
2293
|
}
|
|
2109
2294
|
),
|
|
2110
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
2295
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: tfRightIcon })
|
|
2111
2296
|
] })
|
|
2112
2297
|
]
|
|
2113
2298
|
}
|
|
@@ -2115,7 +2300,7 @@ var ScTextField = ({
|
|
|
2115
2300
|
};
|
|
2116
2301
|
|
|
2117
2302
|
// src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
|
|
2118
|
-
var
|
|
2303
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
2119
2304
|
var ScProfileSettingsComp = ({
|
|
2120
2305
|
firstName = "Chris",
|
|
2121
2306
|
lastName = "Hemsworth",
|
|
@@ -2123,20 +2308,20 @@ var ScProfileSettingsComp = ({
|
|
|
2123
2308
|
className,
|
|
2124
2309
|
...props
|
|
2125
2310
|
}) => {
|
|
2126
|
-
return /* @__PURE__ */ (0,
|
|
2127
|
-
/* @__PURE__ */ (0,
|
|
2311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, ...props, children: [
|
|
2312
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2128
2313
|
ScProfileImageUpdate,
|
|
2129
2314
|
{
|
|
2130
2315
|
className: ScProfileSettingsComp_default.scProfileImageUpdateInstance
|
|
2131
2316
|
}
|
|
2132
2317
|
),
|
|
2133
|
-
/* @__PURE__ */ (0,
|
|
2134
|
-
/* @__PURE__ */ (0,
|
|
2135
|
-
/* @__PURE__ */ (0,
|
|
2318
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: ScProfileSettingsComp_default.profileInfo, children: [
|
|
2319
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: ScProfileSettingsComp_default.nameFields, children: [
|
|
2320
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2136
2321
|
ScTextField,
|
|
2137
2322
|
{
|
|
2138
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
2139
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
2323
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons25.SiconBolt, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2324
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons25.SiconBolt, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2140
2325
|
placeholderFilled: firstName,
|
|
2141
2326
|
label: "First Name",
|
|
2142
2327
|
state: "filled",
|
|
@@ -2144,11 +2329,11 @@ var ScProfileSettingsComp = ({
|
|
|
2144
2329
|
className: ScProfileSettingsComp_default.scTextFieldInstance
|
|
2145
2330
|
}
|
|
2146
2331
|
),
|
|
2147
|
-
/* @__PURE__ */ (0,
|
|
2332
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2148
2333
|
ScTextField,
|
|
2149
2334
|
{
|
|
2150
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
2151
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
2335
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons25.SiconBolt, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2336
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons25.SiconBolt, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2152
2337
|
placeholderFilled: lastName,
|
|
2153
2338
|
label: "Last Name",
|
|
2154
2339
|
state: "filled",
|
|
@@ -2157,11 +2342,11 @@ var ScProfileSettingsComp = ({
|
|
|
2157
2342
|
}
|
|
2158
2343
|
)
|
|
2159
2344
|
] }),
|
|
2160
|
-
/* @__PURE__ */ (0,
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
2161
2346
|
ScTextField,
|
|
2162
2347
|
{
|
|
2163
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
2164
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
2348
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons25.SiconBolt, { className: ScProfileSettingsComp_default.siconBoltInstance }),
|
|
2349
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_icons25.SiconLock, { className: ScProfileSettingsComp_default.siconLockInstance }),
|
|
2165
2350
|
placeholderFilled: email,
|
|
2166
2351
|
label: "Email ID",
|
|
2167
2352
|
className: ScProfileSettingsComp_default.scTextFieldInstance2
|
|
@@ -2179,7 +2364,7 @@ var ScRole_default = {
|
|
|
2179
2364
|
};
|
|
2180
2365
|
|
|
2181
2366
|
// src/SC-Role/ScRole.tsx
|
|
2182
|
-
var
|
|
2367
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
2183
2368
|
var ScRole = ({
|
|
2184
2369
|
type = "admin",
|
|
2185
2370
|
label,
|
|
@@ -2188,12 +2373,12 @@ var ScRole = ({
|
|
|
2188
2373
|
}) => {
|
|
2189
2374
|
const variantsClassName = ScRole_default["type-" + type];
|
|
2190
2375
|
const displayLabel = label ?? (type === "admin" ? "Admin" : "Member");
|
|
2191
|
-
return /* @__PURE__ */ (0,
|
|
2376
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
2192
2377
|
"div",
|
|
2193
2378
|
{
|
|
2194
2379
|
className: ScRole_default.scRole + " " + className + " " + variantsClassName,
|
|
2195
2380
|
...props,
|
|
2196
|
-
children: /* @__PURE__ */ (0,
|
|
2381
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: ScRole_default.role, children: [
|
|
2197
2382
|
displayLabel,
|
|
2198
2383
|
" "
|
|
2199
2384
|
] })
|
|
@@ -2230,7 +2415,7 @@ var ScSidebar_default = {
|
|
|
2230
2415
|
};
|
|
2231
2416
|
|
|
2232
2417
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2233
|
-
var
|
|
2418
|
+
var import_icons29 = require("@streamoid/icons");
|
|
2234
2419
|
|
|
2235
2420
|
// src/SC-Sidebar menu/ScSidebarMenu.module.css
|
|
2236
2421
|
var ScSidebarMenu_default = {
|
|
@@ -2244,10 +2429,10 @@ var ScSidebarMenu_default = {
|
|
|
2244
2429
|
};
|
|
2245
2430
|
|
|
2246
2431
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
2247
|
-
var
|
|
2248
|
-
var
|
|
2432
|
+
var import_icons26 = require("@streamoid/icons");
|
|
2433
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
2249
2434
|
var ScSidebarMenu = ({
|
|
2250
|
-
icon = /* @__PURE__ */ (0,
|
|
2435
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_icons26.SiconHome, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
2251
2436
|
state = "default",
|
|
2252
2437
|
variant = "expanded",
|
|
2253
2438
|
className,
|
|
@@ -2257,16 +2442,16 @@ var ScSidebarMenu = ({
|
|
|
2257
2442
|
...props
|
|
2258
2443
|
}) => {
|
|
2259
2444
|
const variantsClassName = ScSidebarMenu_default["state-" + state] + " " + ScSidebarMenu_default["variant-" + variant];
|
|
2260
|
-
return /* @__PURE__ */ (0,
|
|
2445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2261
2446
|
"div",
|
|
2262
2447
|
{
|
|
2263
2448
|
className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
|
|
2264
2449
|
...props,
|
|
2265
2450
|
children: [
|
|
2266
2451
|
icon,
|
|
2267
|
-
variant === "expanded" && /* @__PURE__ */ (0,
|
|
2268
|
-
/* @__PURE__ */ (0,
|
|
2269
|
-
moreIcon && /* @__PURE__ */ (0,
|
|
2452
|
+
variant === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
|
|
2453
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: ScSidebarMenu_default.content, children: text }),
|
|
2454
|
+
moreIcon && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
2270
2455
|
"div",
|
|
2271
2456
|
{
|
|
2272
2457
|
className: ScSidebarMenu_default.moreIconWrapper,
|
|
@@ -2284,10 +2469,10 @@ var ScSidebarMenu = ({
|
|
|
2284
2469
|
};
|
|
2285
2470
|
|
|
2286
2471
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2287
|
-
var import_icons29 = require("@streamoid/icons");
|
|
2288
2472
|
var import_icons30 = require("@streamoid/icons");
|
|
2289
2473
|
var import_icons31 = require("@streamoid/icons");
|
|
2290
2474
|
var import_icons32 = require("@streamoid/icons");
|
|
2475
|
+
var import_icons33 = require("@streamoid/icons");
|
|
2291
2476
|
|
|
2292
2477
|
// src/SC-Sidebar profile/ScSidebarProfile.module.css
|
|
2293
2478
|
var ScSidebarProfile_default = {
|
|
@@ -2298,7 +2483,7 @@ var ScSidebarProfile_default = {
|
|
|
2298
2483
|
};
|
|
2299
2484
|
|
|
2300
2485
|
// src/SC-Sidebar profile/ScSidebarProfile.tsx
|
|
2301
|
-
var
|
|
2486
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
2302
2487
|
var ScSidebarProfile = ({
|
|
2303
2488
|
state = "default",
|
|
2304
2489
|
variant = "expanded",
|
|
@@ -2306,12 +2491,12 @@ var ScSidebarProfile = ({
|
|
|
2306
2491
|
...props
|
|
2307
2492
|
}) => {
|
|
2308
2493
|
const variantsClassName = ScSidebarProfile_default["state-" + state] + " " + ScSidebarProfile_default["variant-" + variant];
|
|
2309
|
-
return /* @__PURE__ */ (0,
|
|
2494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
2310
2495
|
"div",
|
|
2311
2496
|
{
|
|
2312
2497
|
className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
|
|
2313
2498
|
...props,
|
|
2314
|
-
children: /* @__PURE__ */ (0,
|
|
2499
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
|
|
2315
2500
|
}
|
|
2316
2501
|
);
|
|
2317
2502
|
};
|
|
@@ -2323,16 +2508,16 @@ var ScSidebarIcons_default = {
|
|
|
2323
2508
|
};
|
|
2324
2509
|
|
|
2325
2510
|
// src/SC-sidebar icons/ScSidebarIcons.tsx
|
|
2326
|
-
var
|
|
2327
|
-
var
|
|
2511
|
+
var import_icons27 = require("@streamoid/icons");
|
|
2512
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
2328
2513
|
var ScSidebarIcons = ({
|
|
2329
|
-
instance = /* @__PURE__ */ (0,
|
|
2514
|
+
instance = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_icons27.SiconSupport, { className: ScSidebarIcons_default.siconSupportInstance }),
|
|
2330
2515
|
state = "default",
|
|
2331
2516
|
className,
|
|
2332
2517
|
...props
|
|
2333
2518
|
}) => {
|
|
2334
2519
|
const variantsClassName = ScSidebarIcons_default["state-" + state];
|
|
2335
|
-
return /* @__PURE__ */ (0,
|
|
2520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2336
2521
|
"div",
|
|
2337
2522
|
{
|
|
2338
2523
|
className: ScSidebarIcons_default.scSidebarIcons + " " + className + " " + variantsClassName,
|
|
@@ -2342,7 +2527,7 @@ var ScSidebarIcons = ({
|
|
|
2342
2527
|
};
|
|
2343
2528
|
|
|
2344
2529
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2345
|
-
var
|
|
2530
|
+
var import_icons34 = require("@streamoid/icons");
|
|
2346
2531
|
|
|
2347
2532
|
// src/SC-version/ScVersion.module.css
|
|
2348
2533
|
var ScVersion_default = {
|
|
@@ -2354,8 +2539,8 @@ var ScVersion_default = {
|
|
|
2354
2539
|
};
|
|
2355
2540
|
|
|
2356
2541
|
// src/SC-version/ScVersion.tsx
|
|
2357
|
-
var
|
|
2358
|
-
var
|
|
2542
|
+
var import_icons28 = require("@streamoid/icons");
|
|
2543
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
2359
2544
|
var ScVersion = ({
|
|
2360
2545
|
state = "expanded",
|
|
2361
2546
|
version = "v2.1.2",
|
|
@@ -2365,27 +2550,27 @@ var ScVersion = ({
|
|
|
2365
2550
|
...props
|
|
2366
2551
|
}) => {
|
|
2367
2552
|
const variantsClassName = ScVersion_default["state-" + state];
|
|
2368
|
-
return /* @__PURE__ */ (0,
|
|
2553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
2369
2554
|
"div",
|
|
2370
2555
|
{
|
|
2371
2556
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
2372
2557
|
...props,
|
|
2373
2558
|
children: [
|
|
2374
|
-
state === "collapsed" && /* @__PURE__ */ (0,
|
|
2559
|
+
state === "collapsed" && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2375
2560
|
ScSidebarIcons,
|
|
2376
2561
|
{
|
|
2377
|
-
instance: scSidebarIconsinstance || /* @__PURE__ */ (0,
|
|
2562
|
+
instance: scSidebarIconsinstance || /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_icons28.SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2378
2563
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2379
2564
|
}
|
|
2380
2565
|
) }) }),
|
|
2381
|
-
/* @__PURE__ */ (0,
|
|
2566
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: ScVersion_default.content, children: [
|
|
2382
2567
|
version,
|
|
2383
2568
|
" "
|
|
2384
2569
|
] }),
|
|
2385
|
-
state === "expanded" && /* @__PURE__ */ (0,
|
|
2570
|
+
state === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2386
2571
|
ScSidebarIcons,
|
|
2387
2572
|
{
|
|
2388
|
-
instance: /* @__PURE__ */ (0,
|
|
2573
|
+
instance: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_icons28.SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2389
2574
|
state: "hover",
|
|
2390
2575
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2391
2576
|
}
|
|
@@ -2396,7 +2581,7 @@ var ScVersion = ({
|
|
|
2396
2581
|
};
|
|
2397
2582
|
|
|
2398
2583
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2399
|
-
var
|
|
2584
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
2400
2585
|
var ScSidebar = ({
|
|
2401
2586
|
state = "expanded",
|
|
2402
2587
|
className,
|
|
@@ -2404,47 +2589,47 @@ var ScSidebar = ({
|
|
|
2404
2589
|
...props
|
|
2405
2590
|
}) => {
|
|
2406
2591
|
const variantsClassName = ScSidebar_default["state-" + state];
|
|
2407
|
-
return /* @__PURE__ */ (0,
|
|
2592
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
2408
2593
|
"div",
|
|
2409
2594
|
{
|
|
2410
2595
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
2411
2596
|
children: [
|
|
2412
|
-
state === "collapsed" && /* @__PURE__ */ (0,
|
|
2413
|
-
/* @__PURE__ */ (0,
|
|
2414
|
-
/* @__PURE__ */ (0,
|
|
2597
|
+
state === "collapsed" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.collapsedContainer, children: [
|
|
2598
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.collapsedItems, children: [
|
|
2599
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2415
2600
|
ScLogoUnit,
|
|
2416
2601
|
{
|
|
2417
2602
|
state: "collapsed",
|
|
2418
2603
|
className: ScSidebar_default.scLogoUnitInstance
|
|
2419
2604
|
}
|
|
2420
2605
|
),
|
|
2421
|
-
/* @__PURE__ */ (0,
|
|
2606
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.collapsedItemContainer, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2422
2607
|
ScSidebarMenu,
|
|
2423
2608
|
{
|
|
2424
2609
|
text: "New chat",
|
|
2425
|
-
icon: /* @__PURE__ */ (0,
|
|
2610
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons29.SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2426
2611
|
variant: "collapsed",
|
|
2427
2612
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2428
2613
|
}
|
|
2429
2614
|
) }),
|
|
2430
|
-
/* @__PURE__ */ (0,
|
|
2431
|
-
/* @__PURE__ */ (0,
|
|
2432
|
-
/* @__PURE__ */ (0,
|
|
2615
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2616
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2617
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2433
2618
|
ScSidebarMenu,
|
|
2434
2619
|
{
|
|
2435
2620
|
text: "Artifax",
|
|
2436
|
-
icon: /* @__PURE__ */ (0,
|
|
2621
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons30.SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2437
2622
|
state: "active",
|
|
2438
2623
|
variant: "collapsed",
|
|
2439
2624
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2440
2625
|
}
|
|
2441
2626
|
),
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2627
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2443
2628
|
ScSidebarMenu,
|
|
2444
2629
|
{
|
|
2445
2630
|
text: "Photogenix",
|
|
2446
|
-
icon: /* @__PURE__ */ (0,
|
|
2447
|
-
|
|
2631
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2632
|
+
import_icons30.SiconPhotogenix,
|
|
2448
2633
|
{
|
|
2449
2634
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
2450
2635
|
}
|
|
@@ -2453,131 +2638,131 @@ var ScSidebar = ({
|
|
|
2453
2638
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2454
2639
|
}
|
|
2455
2640
|
),
|
|
2456
|
-
/* @__PURE__ */ (0,
|
|
2641
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2457
2642
|
ScSidebarMenu,
|
|
2458
2643
|
{
|
|
2459
2644
|
text: "Catalogix",
|
|
2460
|
-
icon: /* @__PURE__ */ (0,
|
|
2645
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconCatalogix, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2461
2646
|
variant: "collapsed",
|
|
2462
2647
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2463
2648
|
}
|
|
2464
2649
|
)
|
|
2465
2650
|
] }),
|
|
2466
|
-
/* @__PURE__ */ (0,
|
|
2467
|
-
/* @__PURE__ */ (0,
|
|
2468
|
-
/* @__PURE__ */ (0,
|
|
2651
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2652
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2653
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2469
2654
|
ScSidebarMenu,
|
|
2470
2655
|
{
|
|
2471
2656
|
text: "Teams",
|
|
2472
|
-
icon: /* @__PURE__ */ (0,
|
|
2657
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconTeam, { className: ScSidebar_default.siconTeamInstance }),
|
|
2473
2658
|
variant: "collapsed",
|
|
2474
2659
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2475
2660
|
}
|
|
2476
2661
|
),
|
|
2477
|
-
/* @__PURE__ */ (0,
|
|
2662
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2478
2663
|
ScSidebarMenu,
|
|
2479
2664
|
{
|
|
2480
2665
|
text: "Billing",
|
|
2481
|
-
icon: /* @__PURE__ */ (0,
|
|
2666
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconBilling, { className: ScSidebar_default.siconBillingInstance }),
|
|
2482
2667
|
variant: "collapsed",
|
|
2483
2668
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2484
2669
|
}
|
|
2485
2670
|
)
|
|
2486
2671
|
] }),
|
|
2487
|
-
/* @__PURE__ */ (0,
|
|
2488
|
-
/* @__PURE__ */ (0,
|
|
2489
|
-
/* @__PURE__ */ (0,
|
|
2672
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance3 }),
|
|
2673
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.collapsedItemGroup, children: [
|
|
2674
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2490
2675
|
ScSidebarMenu,
|
|
2491
2676
|
{
|
|
2492
2677
|
text: "Chat 1",
|
|
2493
|
-
icon: /* @__PURE__ */ (0,
|
|
2678
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2494
2679
|
variant: "collapsed",
|
|
2495
2680
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2496
2681
|
}
|
|
2497
2682
|
),
|
|
2498
|
-
/* @__PURE__ */ (0,
|
|
2683
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2499
2684
|
ScSidebarMenu,
|
|
2500
2685
|
{
|
|
2501
2686
|
text: "Chat 2",
|
|
2502
|
-
icon: /* @__PURE__ */ (0,
|
|
2687
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2503
2688
|
variant: "collapsed",
|
|
2504
2689
|
className: ScSidebar_default.scSidebarMenuInstance2
|
|
2505
2690
|
}
|
|
2506
2691
|
),
|
|
2507
|
-
/* @__PURE__ */ (0,
|
|
2692
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2508
2693
|
ScSidebarMenu,
|
|
2509
2694
|
{
|
|
2510
2695
|
text: "Chat 3",
|
|
2511
|
-
icon: /* @__PURE__ */ (0,
|
|
2696
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2512
2697
|
variant: "collapsed",
|
|
2513
2698
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2514
2699
|
}
|
|
2515
2700
|
),
|
|
2516
|
-
/* @__PURE__ */ (0,
|
|
2701
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2517
2702
|
ScSidebarMenu,
|
|
2518
2703
|
{
|
|
2519
2704
|
text: "View all",
|
|
2520
|
-
icon: /* @__PURE__ */ (0,
|
|
2705
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2521
2706
|
variant: "collapsed",
|
|
2522
2707
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2523
2708
|
}
|
|
2524
2709
|
)
|
|
2525
2710
|
] })
|
|
2526
2711
|
] }),
|
|
2527
|
-
/* @__PURE__ */ (0,
|
|
2712
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.collapsedItemContainer2, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2528
2713
|
ScSidebarMenu,
|
|
2529
2714
|
{
|
|
2530
2715
|
text: "Live support",
|
|
2531
|
-
icon: /* @__PURE__ */ (0,
|
|
2716
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconSupport, { className: ScSidebar_default.siconSupportInstance }),
|
|
2532
2717
|
variant: "collapsed",
|
|
2533
2718
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2534
2719
|
}
|
|
2535
2720
|
) }),
|
|
2536
|
-
/* @__PURE__ */ (0,
|
|
2537
|
-
/* @__PURE__ */ (0,
|
|
2721
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance4 }),
|
|
2722
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.collapsedItemContainer3, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2538
2723
|
ScSidebarProfile,
|
|
2539
2724
|
{
|
|
2540
2725
|
variant: "collapsed",
|
|
2541
2726
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2542
2727
|
}
|
|
2543
2728
|
) }),
|
|
2544
|
-
/* @__PURE__ */ (0,
|
|
2545
|
-
/* @__PURE__ */ (0,
|
|
2729
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance5 }),
|
|
2730
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2546
2731
|
ScVersion,
|
|
2547
2732
|
{
|
|
2548
2733
|
state: "collapsed",
|
|
2549
|
-
scSidebarIconsinstance: /* @__PURE__ */ (0,
|
|
2734
|
+
scSidebarIconsinstance: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons34.SiconCollapse, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2550
2735
|
className: ScSidebar_default.scVersionInstance
|
|
2551
2736
|
}
|
|
2552
2737
|
)
|
|
2553
2738
|
] }) }),
|
|
2554
|
-
state === "expanded" && /* @__PURE__ */ (0,
|
|
2555
|
-
/* @__PURE__ */ (0,
|
|
2556
|
-
/* @__PURE__ */ (0,
|
|
2557
|
-
/* @__PURE__ */ (0,
|
|
2739
|
+
state === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.expandedContainer, children: [
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.expandedItems, children: [
|
|
2741
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
|
|
2742
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2558
2743
|
ScSidebarMenu,
|
|
2559
2744
|
{
|
|
2560
|
-
icon: /* @__PURE__ */ (0,
|
|
2745
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons29.SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2561
2746
|
text: "New chat",
|
|
2562
2747
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2563
2748
|
}
|
|
2564
2749
|
) }),
|
|
2565
|
-
/* @__PURE__ */ (0,
|
|
2566
|
-
/* @__PURE__ */ (0,
|
|
2567
|
-
/* @__PURE__ */ (0,
|
|
2750
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2751
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.content, children: "Apps " }) }),
|
|
2752
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2568
2753
|
ScSidebarMenu,
|
|
2569
2754
|
{
|
|
2570
|
-
icon: /* @__PURE__ */ (0,
|
|
2755
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons30.SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2571
2756
|
text: "Artifax",
|
|
2572
2757
|
state: "active",
|
|
2573
2758
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2574
2759
|
}
|
|
2575
2760
|
),
|
|
2576
|
-
/* @__PURE__ */ (0,
|
|
2761
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2577
2762
|
ScSidebarMenu,
|
|
2578
2763
|
{
|
|
2579
|
-
icon: /* @__PURE__ */ (0,
|
|
2580
|
-
|
|
2764
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2765
|
+
import_icons30.SiconPhotogenix,
|
|
2581
2766
|
{
|
|
2582
2767
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
2583
2768
|
}
|
|
@@ -2586,97 +2771,97 @@ var ScSidebar = ({
|
|
|
2586
2771
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2587
2772
|
}
|
|
2588
2773
|
),
|
|
2589
|
-
/* @__PURE__ */ (0,
|
|
2774
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2590
2775
|
ScSidebarMenu,
|
|
2591
2776
|
{
|
|
2592
|
-
icon: /* @__PURE__ */ (0,
|
|
2777
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconCatalogix, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2593
2778
|
text: "Catalogix",
|
|
2594
2779
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2595
2780
|
}
|
|
2596
2781
|
)
|
|
2597
2782
|
] }),
|
|
2598
|
-
/* @__PURE__ */ (0,
|
|
2599
|
-
/* @__PURE__ */ (0,
|
|
2600
|
-
/* @__PURE__ */ (0,
|
|
2783
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2784
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.content, children: "Management " }) }),
|
|
2785
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2601
2786
|
ScSidebarMenu,
|
|
2602
2787
|
{
|
|
2603
|
-
icon: /* @__PURE__ */ (0,
|
|
2788
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconTeam, { className: ScSidebar_default.siconTeamInstance }),
|
|
2604
2789
|
text: "Teams",
|
|
2605
2790
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2606
2791
|
}
|
|
2607
2792
|
),
|
|
2608
|
-
/* @__PURE__ */ (0,
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2609
2794
|
ScSidebarMenu,
|
|
2610
2795
|
{
|
|
2611
|
-
icon: /* @__PURE__ */ (0,
|
|
2796
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconBilling, { className: ScSidebar_default.siconBillingInstance }),
|
|
2612
2797
|
text: "Billing",
|
|
2613
2798
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2614
2799
|
}
|
|
2615
2800
|
)
|
|
2616
2801
|
] }),
|
|
2617
|
-
/* @__PURE__ */ (0,
|
|
2618
|
-
/* @__PURE__ */ (0,
|
|
2619
|
-
/* @__PURE__ */ (0,
|
|
2802
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: ScSidebar_default.expandedItemGroup, children: [
|
|
2803
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemHeader, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.content, children: "Recents " }) }),
|
|
2804
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2620
2805
|
ScSidebarMenu,
|
|
2621
2806
|
{
|
|
2622
|
-
icon: /* @__PURE__ */ (0,
|
|
2807
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2623
2808
|
text: "Chat 1",
|
|
2624
2809
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2625
2810
|
}
|
|
2626
2811
|
),
|
|
2627
|
-
/* @__PURE__ */ (0,
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2628
2813
|
ScSidebarMenu,
|
|
2629
2814
|
{
|
|
2630
|
-
icon: /* @__PURE__ */ (0,
|
|
2815
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2631
2816
|
text: "Chat 2",
|
|
2632
2817
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2633
2818
|
}
|
|
2634
2819
|
),
|
|
2635
|
-
/* @__PURE__ */ (0,
|
|
2820
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2636
2821
|
ScSidebarMenu,
|
|
2637
2822
|
{
|
|
2638
|
-
icon: /* @__PURE__ */ (0,
|
|
2823
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2639
2824
|
text: "Chat 3",
|
|
2640
2825
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2641
2826
|
}
|
|
2642
2827
|
),
|
|
2643
|
-
/* @__PURE__ */ (0,
|
|
2828
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2644
2829
|
ScSidebarMenu,
|
|
2645
2830
|
{
|
|
2646
|
-
icon: /* @__PURE__ */ (0,
|
|
2831
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2647
2832
|
text: "View all",
|
|
2648
2833
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2649
2834
|
}
|
|
2650
2835
|
)
|
|
2651
2836
|
] })
|
|
2652
2837
|
] }),
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2838
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2654
2839
|
ScSidebarMenu,
|
|
2655
2840
|
{
|
|
2656
|
-
icon: /* @__PURE__ */ (0,
|
|
2841
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconSupport, { className: ScSidebar_default.siconSupportInstance }),
|
|
2657
2842
|
text: "Live support",
|
|
2658
2843
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2659
2844
|
}
|
|
2660
2845
|
) }),
|
|
2661
|
-
/* @__PURE__ */ (0,
|
|
2662
|
-
/* @__PURE__ */ (0,
|
|
2846
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance }),
|
|
2847
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemContainer2, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2663
2848
|
ScSidebarProfile,
|
|
2664
2849
|
{
|
|
2665
2850
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2666
2851
|
}
|
|
2667
2852
|
) }),
|
|
2668
|
-
/* @__PURE__ */ (0,
|
|
2669
|
-
/* @__PURE__ */ (0,
|
|
2853
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2854
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2670
2855
|
ScVersion,
|
|
2671
2856
|
{
|
|
2672
|
-
component: /* @__PURE__ */ (0,
|
|
2857
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2673
2858
|
ScSidebarIcons,
|
|
2674
2859
|
{
|
|
2675
2860
|
className: ScSidebar_default.scSidebarIconsInstance,
|
|
2676
|
-
instance: /* @__PURE__ */ (0,
|
|
2861
|
+
instance: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons34.SiconCollapse, { className: ScSidebar_default.siconCollapseInstance })
|
|
2677
2862
|
}
|
|
2678
2863
|
),
|
|
2679
|
-
scSidebarIconsinstance: /* @__PURE__ */ (0,
|
|
2864
|
+
scSidebarIconsinstance: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons34.SiconCollapse, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2680
2865
|
className: ScSidebar_default.scVersionInstance
|
|
2681
2866
|
}
|
|
2682
2867
|
)
|
|
@@ -2687,9 +2872,9 @@ var ScSidebar = ({
|
|
|
2687
2872
|
};
|
|
2688
2873
|
|
|
2689
2874
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
2690
|
-
var
|
|
2875
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2691
2876
|
function SectionHeader({ label }) {
|
|
2692
|
-
return /* @__PURE__ */ (0,
|
|
2877
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2693
2878
|
"div",
|
|
2694
2879
|
{
|
|
2695
2880
|
className: "flex items-center w-full text-text-xs-regular",
|
|
@@ -2697,12 +2882,12 @@ function SectionHeader({ label }) {
|
|
|
2697
2882
|
padding: "var(--spacing-xs) var(--spacing-3xl)",
|
|
2698
2883
|
color: "var(--alias-text---icons-tertiary)"
|
|
2699
2884
|
},
|
|
2700
|
-
children: /* @__PURE__ */ (0,
|
|
2885
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { children: label })
|
|
2701
2886
|
}
|
|
2702
2887
|
) }) });
|
|
2703
2888
|
}
|
|
2704
2889
|
function HDivider() {
|
|
2705
|
-
return /* @__PURE__ */ (0,
|
|
2890
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2706
2891
|
"div",
|
|
2707
2892
|
{
|
|
2708
2893
|
className: "shrink-0 w-full",
|
|
@@ -2742,7 +2927,7 @@ function renderMenuItem({
|
|
|
2742
2927
|
const active = item.id === activeItemId;
|
|
2743
2928
|
const highlighted = highlightedItemIds?.has(item.id) ?? false;
|
|
2744
2929
|
const state = active ? "active" : highlighted ? "default-highlight" : "default";
|
|
2745
|
-
return /* @__PURE__ */ (0,
|
|
2930
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2746
2931
|
ScSidebarMenu,
|
|
2747
2932
|
{
|
|
2748
2933
|
icon: resolveIcon(iconMap, item, active || highlighted, expanded),
|
|
@@ -2781,12 +2966,12 @@ function StreamoidSidebar({
|
|
|
2781
2966
|
}) {
|
|
2782
2967
|
const effectiveHideFooter = hideFooter || isMobile;
|
|
2783
2968
|
if (expanded) {
|
|
2784
|
-
return /* @__PURE__ */ (0,
|
|
2969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2785
2970
|
"div",
|
|
2786
2971
|
{
|
|
2787
2972
|
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
2788
2973
|
style: { padding: "var(--spacing-3xl)", ...style },
|
|
2789
|
-
children: /* @__PURE__ */ (0,
|
|
2974
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2790
2975
|
"div",
|
|
2791
2976
|
{
|
|
2792
2977
|
className: "flex flex-col h-full relative shrink-0",
|
|
@@ -2799,7 +2984,7 @@ function StreamoidSidebar({
|
|
|
2799
2984
|
gap: "var(--spacing-xxs)"
|
|
2800
2985
|
},
|
|
2801
2986
|
children: [
|
|
2802
|
-
/* @__PURE__ */ (0,
|
|
2987
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2803
2988
|
"div",
|
|
2804
2989
|
{
|
|
2805
2990
|
"aria-hidden": "true",
|
|
@@ -2810,15 +2995,15 @@ function StreamoidSidebar({
|
|
|
2810
2995
|
}
|
|
2811
2996
|
}
|
|
2812
2997
|
),
|
|
2813
|
-
/* @__PURE__ */ (0,
|
|
2998
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2814
2999
|
"div",
|
|
2815
3000
|
{
|
|
2816
3001
|
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
2817
3002
|
style: { gap: "var(--spacing-xxs)" },
|
|
2818
3003
|
children: [
|
|
2819
|
-
/* @__PURE__ */ (0,
|
|
2820
|
-
/* @__PURE__ */ (0,
|
|
2821
|
-
isMobile ? /* @__PURE__ */ (0,
|
|
3004
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex items-center justify-between w-full shrink-0", children: [
|
|
3005
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "min-w-0 flex-1", children: expandedLogo }),
|
|
3006
|
+
isMobile ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2822
3007
|
"div",
|
|
2823
3008
|
{
|
|
2824
3009
|
className: "flex items-center cursor-pointer shrink-0",
|
|
@@ -2831,9 +3016,9 @@ function StreamoidSidebar({
|
|
|
2831
3016
|
}
|
|
2832
3017
|
) : null
|
|
2833
3018
|
] }),
|
|
2834
|
-
config.topItem && /* @__PURE__ */ (0,
|
|
2835
|
-
/* @__PURE__ */ (0,
|
|
2836
|
-
/* @__PURE__ */ (0,
|
|
3019
|
+
config.topItem && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
3020
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}),
|
|
3021
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2837
3022
|
"div",
|
|
2838
3023
|
{
|
|
2839
3024
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2851,9 +3036,9 @@ function StreamoidSidebar({
|
|
|
2851
3036
|
})
|
|
2852
3037
|
}
|
|
2853
3038
|
),
|
|
2854
|
-
/* @__PURE__ */ (0,
|
|
3039
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {})
|
|
2855
3040
|
] }),
|
|
2856
|
-
showBody && bodyContent ? /* @__PURE__ */ (0,
|
|
3041
|
+
showBody && bodyContent ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: config.sections.map((section) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2857
3042
|
"div",
|
|
2858
3043
|
{
|
|
2859
3044
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2862,7 +3047,7 @@ function StreamoidSidebar({
|
|
|
2862
3047
|
gap: "var(--spacing-xxs)"
|
|
2863
3048
|
},
|
|
2864
3049
|
children: [
|
|
2865
|
-
section.label ? /* @__PURE__ */ (0,
|
|
3050
|
+
section.label ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SectionHeader, { label: section.label }) : null,
|
|
2866
3051
|
section.items.map(
|
|
2867
3052
|
(item) => renderMenuItem({
|
|
2868
3053
|
item,
|
|
@@ -2881,7 +3066,7 @@ function StreamoidSidebar({
|
|
|
2881
3066
|
}
|
|
2882
3067
|
),
|
|
2883
3068
|
preFooterContent,
|
|
2884
|
-
config.bottomItems?.length ? /* @__PURE__ */ (0,
|
|
3069
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2885
3070
|
"div",
|
|
2886
3071
|
{
|
|
2887
3072
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2898,9 +3083,9 @@ function StreamoidSidebar({
|
|
|
2898
3083
|
)
|
|
2899
3084
|
}
|
|
2900
3085
|
) : null,
|
|
2901
|
-
/* @__PURE__ */ (0,
|
|
2902
|
-
profile ? /* @__PURE__ */ (0,
|
|
2903
|
-
/* @__PURE__ */ (0,
|
|
3086
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}),
|
|
3087
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
3088
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2904
3089
|
"div",
|
|
2905
3090
|
{
|
|
2906
3091
|
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
@@ -2918,8 +3103,8 @@ function StreamoidSidebar({
|
|
|
2918
3103
|
},
|
|
2919
3104
|
children: [
|
|
2920
3105
|
profile.avatar,
|
|
2921
|
-
/* @__PURE__ */ (0,
|
|
2922
|
-
/* @__PURE__ */ (0,
|
|
3106
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex flex-col flex-1 min-w-0", children: [
|
|
3107
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2923
3108
|
"span",
|
|
2924
3109
|
{
|
|
2925
3110
|
className: "text-text-sm-medium truncate",
|
|
@@ -2927,7 +3112,7 @@ function StreamoidSidebar({
|
|
|
2927
3112
|
children: profile.name
|
|
2928
3113
|
}
|
|
2929
3114
|
),
|
|
2930
|
-
profile.subtitle ? /* @__PURE__ */ (0,
|
|
3115
|
+
profile.subtitle ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2931
3116
|
"span",
|
|
2932
3117
|
{
|
|
2933
3118
|
className: "text-text-xs-regular truncate",
|
|
@@ -2939,9 +3124,9 @@ function StreamoidSidebar({
|
|
|
2939
3124
|
]
|
|
2940
3125
|
}
|
|
2941
3126
|
),
|
|
2942
|
-
!effectiveHideFooter && /* @__PURE__ */ (0,
|
|
3127
|
+
!effectiveHideFooter && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}) })
|
|
2943
3128
|
] }) : null,
|
|
2944
|
-
!effectiveHideFooter && /* @__PURE__ */ (0,
|
|
3129
|
+
!effectiveHideFooter && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2945
3130
|
"div",
|
|
2946
3131
|
{
|
|
2947
3132
|
className: "flex items-center w-full",
|
|
@@ -2950,7 +3135,7 @@ function StreamoidSidebar({
|
|
|
2950
3135
|
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-xl)"
|
|
2951
3136
|
},
|
|
2952
3137
|
children: [
|
|
2953
|
-
/* @__PURE__ */ (0,
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2954
3139
|
"p",
|
|
2955
3140
|
{
|
|
2956
3141
|
className: "flex-1 text-text-sm-regular truncate",
|
|
@@ -2958,7 +3143,7 @@ function StreamoidSidebar({
|
|
|
2958
3143
|
children: versionText
|
|
2959
3144
|
}
|
|
2960
3145
|
),
|
|
2961
|
-
/* @__PURE__ */ (0,
|
|
3146
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2962
3147
|
"div",
|
|
2963
3148
|
{
|
|
2964
3149
|
className: "flex items-center cursor-pointer",
|
|
@@ -2979,12 +3164,12 @@ function StreamoidSidebar({
|
|
|
2979
3164
|
}
|
|
2980
3165
|
);
|
|
2981
3166
|
}
|
|
2982
|
-
return /* @__PURE__ */ (0,
|
|
3167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2983
3168
|
"div",
|
|
2984
3169
|
{
|
|
2985
3170
|
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
2986
3171
|
style,
|
|
2987
|
-
children: /* @__PURE__ */ (0,
|
|
3172
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2988
3173
|
"div",
|
|
2989
3174
|
{
|
|
2990
3175
|
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
@@ -2994,7 +3179,7 @@ function StreamoidSidebar({
|
|
|
2994
3179
|
gap: "var(--spacing-xxs)"
|
|
2995
3180
|
},
|
|
2996
3181
|
children: [
|
|
2997
|
-
/* @__PURE__ */ (0,
|
|
3182
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2998
3183
|
"div",
|
|
2999
3184
|
{
|
|
3000
3185
|
"aria-hidden": "true",
|
|
@@ -3004,15 +3189,15 @@ function StreamoidSidebar({
|
|
|
3004
3189
|
}
|
|
3005
3190
|
}
|
|
3006
3191
|
),
|
|
3007
|
-
/* @__PURE__ */ (0,
|
|
3192
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3008
3193
|
"div",
|
|
3009
3194
|
{
|
|
3010
3195
|
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
3011
3196
|
style: { gap: "var(--spacing-xxs)" },
|
|
3012
3197
|
children: [
|
|
3013
3198
|
collapsedLogo,
|
|
3014
|
-
config.topItem ? /* @__PURE__ */ (0,
|
|
3015
|
-
/* @__PURE__ */ (0,
|
|
3199
|
+
config.topItem ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
3200
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3016
3201
|
"div",
|
|
3017
3202
|
{
|
|
3018
3203
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -3030,10 +3215,10 @@ function StreamoidSidebar({
|
|
|
3030
3215
|
})
|
|
3031
3216
|
}
|
|
3032
3217
|
),
|
|
3033
|
-
/* @__PURE__ */ (0,
|
|
3218
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {})
|
|
3034
3219
|
] }) : null,
|
|
3035
|
-
showBody && bodyContent ? /* @__PURE__ */ (0,
|
|
3036
|
-
/* @__PURE__ */ (0,
|
|
3220
|
+
showBody && bodyContent ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-col items-center w-full", children: bodyContent }) : config.sections.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex flex-col items-center w-full", children: [
|
|
3221
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3037
3222
|
"div",
|
|
3038
3223
|
{
|
|
3039
3224
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -3056,13 +3241,13 @@ function StreamoidSidebar({
|
|
|
3056
3241
|
)
|
|
3057
3242
|
}
|
|
3058
3243
|
),
|
|
3059
|
-
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ (0,
|
|
3244
|
+
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}) : null
|
|
3060
3245
|
] }, section.id))
|
|
3061
3246
|
]
|
|
3062
3247
|
}
|
|
3063
3248
|
),
|
|
3064
3249
|
preFooterContent,
|
|
3065
|
-
config.bottomItems?.length ? /* @__PURE__ */ (0,
|
|
3250
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3066
3251
|
"div",
|
|
3067
3252
|
{
|
|
3068
3253
|
className: "flex flex-col items-center justify-center shrink-0 w-full",
|
|
@@ -3082,9 +3267,9 @@ function StreamoidSidebar({
|
|
|
3082
3267
|
)
|
|
3083
3268
|
}
|
|
3084
3269
|
) : null,
|
|
3085
|
-
/* @__PURE__ */ (0,
|
|
3086
|
-
profile ? /* @__PURE__ */ (0,
|
|
3087
|
-
/* @__PURE__ */ (0,
|
|
3270
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}),
|
|
3271
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
3272
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3088
3273
|
"div",
|
|
3089
3274
|
{
|
|
3090
3275
|
className: "flex items-center justify-center shrink-0 cursor-pointer",
|
|
@@ -3102,9 +3287,9 @@ function StreamoidSidebar({
|
|
|
3102
3287
|
children: profile.avatar
|
|
3103
3288
|
}
|
|
3104
3289
|
),
|
|
3105
|
-
/* @__PURE__ */ (0,
|
|
3290
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {})
|
|
3106
3291
|
] }) : null,
|
|
3107
|
-
!hideFooter && /* @__PURE__ */ (0,
|
|
3292
|
+
!hideFooter && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3108
3293
|
"div",
|
|
3109
3294
|
{
|
|
3110
3295
|
className: "shrink-0 flex flex-col items-center",
|
|
@@ -3114,7 +3299,7 @@ function StreamoidSidebar({
|
|
|
3114
3299
|
width: 56
|
|
3115
3300
|
},
|
|
3116
3301
|
children: [
|
|
3117
|
-
/* @__PURE__ */ (0,
|
|
3302
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3118
3303
|
"div",
|
|
3119
3304
|
{
|
|
3120
3305
|
className: "flex items-center cursor-pointer",
|
|
@@ -3126,7 +3311,7 @@ function StreamoidSidebar({
|
|
|
3126
3311
|
children: resolveToggleIcon(toggleIcon, false)
|
|
3127
3312
|
}
|
|
3128
3313
|
),
|
|
3129
|
-
/* @__PURE__ */ (0,
|
|
3314
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3130
3315
|
"p",
|
|
3131
3316
|
{
|
|
3132
3317
|
className: "text-text-xs-regular text-center truncate",
|
|
@@ -3154,30 +3339,30 @@ var ScSlider_default = {
|
|
|
3154
3339
|
};
|
|
3155
3340
|
|
|
3156
3341
|
// src/SC-Slider/ScSlider.tsx
|
|
3157
|
-
var
|
|
3342
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3158
3343
|
var ScSlider = ({
|
|
3159
3344
|
className,
|
|
3160
3345
|
onValueChange,
|
|
3161
3346
|
...props
|
|
3162
3347
|
}) => {
|
|
3163
|
-
return /* @__PURE__ */ (0,
|
|
3164
|
-
/* @__PURE__ */ (0,
|
|
3165
|
-
/* @__PURE__ */ (0,
|
|
3166
|
-
/* @__PURE__ */ (0,
|
|
3167
|
-
/* @__PURE__ */ (0,
|
|
3168
|
-
/* @__PURE__ */ (0,
|
|
3169
|
-
/* @__PURE__ */ (0,
|
|
3170
|
-
/* @__PURE__ */ (0,
|
|
3171
|
-
/* @__PURE__ */ (0,
|
|
3172
|
-
/* @__PURE__ */ (0,
|
|
3173
|
-
/* @__PURE__ */ (0,
|
|
3348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
3349
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressBar }),
|
|
3350
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressDot }),
|
|
3351
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3352
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
3353
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3354
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
3355
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3356
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
3357
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3358
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScSlider_default.progressDot2 })
|
|
3174
3359
|
] });
|
|
3175
3360
|
};
|
|
3176
3361
|
|
|
3177
3362
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
3178
|
-
var
|
|
3179
|
-
var
|
|
3180
|
-
var
|
|
3363
|
+
var import_react8 = require("react");
|
|
3364
|
+
var import_icons35 = require("@streamoid/icons");
|
|
3365
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
3181
3366
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
3182
3367
|
function deriveInitials(name) {
|
|
3183
3368
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -3195,7 +3380,7 @@ function WorkspaceRow({
|
|
|
3195
3380
|
switchWorkspaceText,
|
|
3196
3381
|
onSwitch
|
|
3197
3382
|
}) {
|
|
3198
|
-
return /* @__PURE__ */ (0,
|
|
3383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3199
3384
|
"div",
|
|
3200
3385
|
{
|
|
3201
3386
|
className: "relative shrink-0 w-full",
|
|
@@ -3205,7 +3390,7 @@ function WorkspaceRow({
|
|
|
3205
3390
|
backdropFilter: "blur(4px)"
|
|
3206
3391
|
},
|
|
3207
3392
|
children: [
|
|
3208
|
-
/* @__PURE__ */ (0,
|
|
3393
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3209
3394
|
"div",
|
|
3210
3395
|
{
|
|
3211
3396
|
"aria-hidden": "true",
|
|
@@ -3216,7 +3401,7 @@ function WorkspaceRow({
|
|
|
3216
3401
|
}
|
|
3217
3402
|
}
|
|
3218
3403
|
),
|
|
3219
|
-
/* @__PURE__ */ (0,
|
|
3404
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3220
3405
|
"div",
|
|
3221
3406
|
{
|
|
3222
3407
|
className: "flex items-center w-full",
|
|
@@ -3225,20 +3410,20 @@ function WorkspaceRow({
|
|
|
3225
3410
|
padding: "var(--spacing-6xl)"
|
|
3226
3411
|
},
|
|
3227
3412
|
children: [
|
|
3228
|
-
/* @__PURE__ */ (0,
|
|
3413
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3229
3414
|
"div",
|
|
3230
3415
|
{
|
|
3231
3416
|
className: "flex flex-1 items-center min-w-0",
|
|
3232
3417
|
style: { gap: "var(--spacing-xl)" },
|
|
3233
3418
|
children: [
|
|
3234
|
-
/* @__PURE__ */ (0,
|
|
3419
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3235
3420
|
ScIntialProfileCover,
|
|
3236
3421
|
{
|
|
3237
3422
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
3238
3423
|
className: "shrink-0"
|
|
3239
3424
|
}
|
|
3240
3425
|
),
|
|
3241
|
-
/* @__PURE__ */ (0,
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3242
3427
|
"p",
|
|
3243
3428
|
{
|
|
3244
3429
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -3258,7 +3443,7 @@ function WorkspaceRow({
|
|
|
3258
3443
|
]
|
|
3259
3444
|
}
|
|
3260
3445
|
),
|
|
3261
|
-
/* @__PURE__ */ (0,
|
|
3446
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3262
3447
|
"div",
|
|
3263
3448
|
{
|
|
3264
3449
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3267,7 +3452,7 @@ function WorkspaceRow({
|
|
|
3267
3452
|
padding: "0 var(--spacing-3xl)"
|
|
3268
3453
|
},
|
|
3269
3454
|
children: [
|
|
3270
|
-
/* @__PURE__ */ (0,
|
|
3455
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3271
3456
|
ScRole,
|
|
3272
3457
|
{
|
|
3273
3458
|
type: normalizeRole(workspace.role),
|
|
@@ -3275,23 +3460,23 @@ function WorkspaceRow({
|
|
|
3275
3460
|
style: { width: 80 }
|
|
3276
3461
|
}
|
|
3277
3462
|
),
|
|
3278
|
-
/* @__PURE__ */ (0,
|
|
3463
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3279
3464
|
"div",
|
|
3280
3465
|
{
|
|
3281
3466
|
className: "flex items-center shrink-0",
|
|
3282
3467
|
style: { gap: "var(--spacing-3xl)" },
|
|
3283
3468
|
children: [
|
|
3284
|
-
/* @__PURE__ */ (0,
|
|
3469
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3285
3470
|
ScPairtext,
|
|
3286
3471
|
{
|
|
3287
|
-
icon: /* @__PURE__ */ (0,
|
|
3472
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons35.SiconTeam, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
3288
3473
|
content: workspace.userCount || "\u2013",
|
|
3289
3474
|
iconPosition: "left",
|
|
3290
3475
|
type: "icon"
|
|
3291
3476
|
}
|
|
3292
3477
|
) }),
|
|
3293
|
-
/* @__PURE__ */ (0,
|
|
3294
|
-
/* @__PURE__ */ (0,
|
|
3478
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScVDivider, {}),
|
|
3479
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3295
3480
|
"div",
|
|
3296
3481
|
{
|
|
3297
3482
|
className: "flex items-center",
|
|
@@ -3301,14 +3486,14 @@ function WorkspaceRow({
|
|
|
3301
3486
|
gap: "var(--spacing-md)"
|
|
3302
3487
|
},
|
|
3303
3488
|
children: [
|
|
3304
|
-
/* @__PURE__ */ (0,
|
|
3305
|
-
|
|
3489
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3490
|
+
import_icons35.SiconCrown,
|
|
3306
3491
|
{
|
|
3307
3492
|
className: "w-6 h-6 shrink-0",
|
|
3308
3493
|
color: PRIMARY_ICON
|
|
3309
3494
|
}
|
|
3310
3495
|
),
|
|
3311
|
-
/* @__PURE__ */ (0,
|
|
3496
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3312
3497
|
"span",
|
|
3313
3498
|
{
|
|
3314
3499
|
className: "truncate",
|
|
@@ -3330,7 +3515,7 @@ function WorkspaceRow({
|
|
|
3330
3515
|
]
|
|
3331
3516
|
}
|
|
3332
3517
|
),
|
|
3333
|
-
workspace.isCurrent ? /* @__PURE__ */ (0,
|
|
3518
|
+
workspace.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3334
3519
|
ScButton,
|
|
3335
3520
|
{
|
|
3336
3521
|
text: currentWorkspaceText,
|
|
@@ -3339,14 +3524,14 @@ function WorkspaceRow({
|
|
|
3339
3524
|
size: "lg",
|
|
3340
3525
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
3341
3526
|
}
|
|
3342
|
-
) : /* @__PURE__ */ (0,
|
|
3527
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3343
3528
|
ScButton,
|
|
3344
3529
|
{
|
|
3345
3530
|
text: switchWorkspaceText,
|
|
3346
3531
|
variant: "secondary",
|
|
3347
3532
|
size: "lg",
|
|
3348
3533
|
styleVariant: "icon-left",
|
|
3349
|
-
icon: /* @__PURE__ */ (0,
|
|
3534
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons35.SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
3350
3535
|
style: { width: 200, flexShrink: 0 },
|
|
3351
3536
|
onClick: onSwitch
|
|
3352
3537
|
}
|
|
@@ -3366,12 +3551,12 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3366
3551
|
onSwitchWorkspace,
|
|
3367
3552
|
config
|
|
3368
3553
|
}) {
|
|
3369
|
-
const modalRef = (0,
|
|
3554
|
+
const modalRef = (0, import_react8.useRef)(null);
|
|
3370
3555
|
const title = config?.title || "Switch workspace";
|
|
3371
3556
|
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
3372
3557
|
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
3373
3558
|
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
3374
|
-
(0,
|
|
3559
|
+
(0, import_react8.useEffect)(() => {
|
|
3375
3560
|
if (!open) return;
|
|
3376
3561
|
function handleKeyDown(e) {
|
|
3377
3562
|
if (e.key === "Escape") onClose();
|
|
@@ -3380,7 +3565,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3380
3565
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
3381
3566
|
}, [open, onClose]);
|
|
3382
3567
|
if (!open) return null;
|
|
3383
|
-
return /* @__PURE__ */ (0,
|
|
3568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3384
3569
|
"div",
|
|
3385
3570
|
{
|
|
3386
3571
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -3388,7 +3573,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3388
3573
|
onClick: (e) => {
|
|
3389
3574
|
if (e.target === e.currentTarget) onClose();
|
|
3390
3575
|
},
|
|
3391
|
-
children: /* @__PURE__ */ (0,
|
|
3576
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3392
3577
|
"div",
|
|
3393
3578
|
{
|
|
3394
3579
|
ref: modalRef,
|
|
@@ -3401,14 +3586,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3401
3586
|
height: "60vh"
|
|
3402
3587
|
},
|
|
3403
3588
|
children: [
|
|
3404
|
-
/* @__PURE__ */ (0,
|
|
3589
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3405
3590
|
"div",
|
|
3406
3591
|
{
|
|
3407
3592
|
className: "shrink-0 w-full relative",
|
|
3408
3593
|
style: {
|
|
3409
3594
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3410
3595
|
},
|
|
3411
|
-
children: /* @__PURE__ */ (0,
|
|
3596
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3412
3597
|
"div",
|
|
3413
3598
|
{
|
|
3414
3599
|
className: "flex items-center w-full",
|
|
@@ -3417,7 +3602,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3417
3602
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
3418
3603
|
},
|
|
3419
3604
|
children: [
|
|
3420
|
-
/* @__PURE__ */ (0,
|
|
3605
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3421
3606
|
"p",
|
|
3422
3607
|
{
|
|
3423
3608
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -3431,20 +3616,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3431
3616
|
children: title
|
|
3432
3617
|
}
|
|
3433
3618
|
),
|
|
3434
|
-
/* @__PURE__ */ (0,
|
|
3619
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons35.SiconClose, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
3435
3620
|
]
|
|
3436
3621
|
}
|
|
3437
3622
|
) })
|
|
3438
3623
|
}
|
|
3439
3624
|
),
|
|
3440
|
-
/* @__PURE__ */ (0,
|
|
3625
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3441
3626
|
"div",
|
|
3442
3627
|
{
|
|
3443
3628
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
3444
3629
|
style: {
|
|
3445
3630
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3446
3631
|
},
|
|
3447
|
-
children: /* @__PURE__ */ (0,
|
|
3632
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3448
3633
|
"div",
|
|
3449
3634
|
{
|
|
3450
3635
|
className: "flex flex-col items-start",
|
|
@@ -3453,7 +3638,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3453
3638
|
gap: "var(--spacing-3xl)"
|
|
3454
3639
|
},
|
|
3455
3640
|
children: [
|
|
3456
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */ (0,
|
|
3641
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3457
3642
|
"p",
|
|
3458
3643
|
{
|
|
3459
3644
|
style: {
|
|
@@ -3464,7 +3649,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3464
3649
|
children: loadingText
|
|
3465
3650
|
}
|
|
3466
3651
|
) : null,
|
|
3467
|
-
workspaces.map((ws) => /* @__PURE__ */ (0,
|
|
3652
|
+
workspaces.map((ws) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3468
3653
|
WorkspaceRow,
|
|
3469
3654
|
{
|
|
3470
3655
|
workspace: ws,
|
|
@@ -3502,24 +3687,24 @@ var ScAppListingCard_default = {
|
|
|
3502
3687
|
};
|
|
3503
3688
|
|
|
3504
3689
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3505
|
-
var
|
|
3506
|
-
var
|
|
3690
|
+
var import_icons36 = require("@streamoid/icons");
|
|
3691
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
3507
3692
|
var ScAppListingCard = ({
|
|
3508
|
-
icon = /* @__PURE__ */ (0,
|
|
3693
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_icons36.SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3509
3694
|
title = "Stores",
|
|
3510
3695
|
descrp = "Centralized product and asset management for every storefront",
|
|
3511
3696
|
className,
|
|
3512
3697
|
...props
|
|
3513
3698
|
}) => {
|
|
3514
|
-
return /* @__PURE__ */ (0,
|
|
3515
|
-
/* @__PURE__ */ (0,
|
|
3516
|
-
/* @__PURE__ */ (0,
|
|
3517
|
-
/* @__PURE__ */ (0,
|
|
3699
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
3700
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: ScAppListingCard_default.header, children: [
|
|
3701
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
3702
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: ScAppListingCard_default.title, children: [
|
|
3518
3703
|
title,
|
|
3519
3704
|
" "
|
|
3520
3705
|
] })
|
|
3521
3706
|
] }),
|
|
3522
|
-
/* @__PURE__ */ (0,
|
|
3707
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: ScAppListingCard_default.description, children: [
|
|
3523
3708
|
descrp,
|
|
3524
3709
|
" "
|
|
3525
3710
|
] })
|
|
@@ -3536,23 +3721,23 @@ var ScAppCard_default = {
|
|
|
3536
3721
|
};
|
|
3537
3722
|
|
|
3538
3723
|
// src/SC-appCard/ScAppCard.tsx
|
|
3539
|
-
var
|
|
3540
|
-
var
|
|
3724
|
+
var import_icons37 = require("@streamoid/icons");
|
|
3725
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
3541
3726
|
var ScAppCard = ({
|
|
3542
|
-
appIcon = /* @__PURE__ */ (0,
|
|
3727
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_icons37.SiconArtifacts, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3543
3728
|
appName = "Artifax",
|
|
3544
3729
|
appDescription = "Info about artifax",
|
|
3545
3730
|
className,
|
|
3546
3731
|
...props
|
|
3547
3732
|
}) => {
|
|
3548
|
-
return /* @__PURE__ */ (0,
|
|
3549
|
-
/* @__PURE__ */ (0,
|
|
3550
|
-
/* @__PURE__ */ (0,
|
|
3551
|
-
/* @__PURE__ */ (0,
|
|
3733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
3734
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
3735
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
|
|
3736
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: ScAppCard_default.title, children: [
|
|
3552
3737
|
appName,
|
|
3553
3738
|
" "
|
|
3554
3739
|
] }),
|
|
3555
|
-
/* @__PURE__ */ (0,
|
|
3740
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: ScAppCard_default.subtitle, children: [
|
|
3556
3741
|
appDescription,
|
|
3557
3742
|
" "
|
|
3558
3743
|
] })
|
|
@@ -3578,10 +3763,10 @@ var ScAppCardV3_default = {
|
|
|
3578
3763
|
};
|
|
3579
3764
|
|
|
3580
3765
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
3581
|
-
var
|
|
3582
|
-
var
|
|
3766
|
+
var import_icons38 = require("@streamoid/icons");
|
|
3767
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
3583
3768
|
var ScAppCardV3 = ({
|
|
3584
|
-
appIcon = /* @__PURE__ */ (0,
|
|
3769
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons38.SiconCart, { className: ScAppCardV3_default.iconPillIcon }),
|
|
3585
3770
|
appName = "Stores",
|
|
3586
3771
|
description = "Centralized product and asset management for every storefront",
|
|
3587
3772
|
active = false,
|
|
@@ -3593,25 +3778,25 @@ var ScAppCardV3 = ({
|
|
|
3593
3778
|
ScAppCardV3_default.scAppCardV3,
|
|
3594
3779
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
3595
3780
|
].filter(Boolean).join(" ");
|
|
3596
|
-
return /* @__PURE__ */ (0,
|
|
3781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3597
3782
|
"div",
|
|
3598
3783
|
{
|
|
3599
3784
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
3600
3785
|
style,
|
|
3601
3786
|
...props,
|
|
3602
|
-
children: /* @__PURE__ */ (0,
|
|
3603
|
-
/* @__PURE__ */ (0,
|
|
3604
|
-
/* @__PURE__ */ (0,
|
|
3605
|
-
/* @__PURE__ */ (0,
|
|
3606
|
-
/* @__PURE__ */ (0,
|
|
3607
|
-
/* @__PURE__ */ (0,
|
|
3608
|
-
/* @__PURE__ */ (0,
|
|
3609
|
-
/* @__PURE__ */ (0,
|
|
3610
|
-
/* @__PURE__ */ (0,
|
|
3611
|
-
/* @__PURE__ */ (0,
|
|
3787
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: cardClass, children: [
|
|
3788
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: ScAppCardV3_default.glow }),
|
|
3789
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: ScAppCardV3_default.glowHover }),
|
|
3790
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: ScAppCardV3_default.header, children: [
|
|
3791
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
3792
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
3793
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
3794
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
3795
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
3796
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
3612
3797
|
] })
|
|
3613
3798
|
] }),
|
|
3614
|
-
/* @__PURE__ */ (0,
|
|
3799
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: ScAppCardV3_default.description, children: description })
|
|
3615
3800
|
] })
|
|
3616
3801
|
] })
|
|
3617
3802
|
}
|
|
@@ -3638,7 +3823,7 @@ var ScArtifaxInvite_default = {
|
|
|
3638
3823
|
};
|
|
3639
3824
|
|
|
3640
3825
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3641
|
-
var
|
|
3826
|
+
var import_icons39 = require("@streamoid/icons");
|
|
3642
3827
|
|
|
3643
3828
|
// src/SC-toggleSwitch/ScToggleSwitch.module.css
|
|
3644
3829
|
var ScToggleSwitch_default = {
|
|
@@ -3649,7 +3834,7 @@ var ScToggleSwitch_default = {
|
|
|
3649
3834
|
};
|
|
3650
3835
|
|
|
3651
3836
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3652
|
-
var
|
|
3837
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
3653
3838
|
var ScToggleSwitch = ({
|
|
3654
3839
|
active = "false",
|
|
3655
3840
|
checked,
|
|
@@ -3659,7 +3844,7 @@ var ScToggleSwitch = ({
|
|
|
3659
3844
|
}) => {
|
|
3660
3845
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3661
3846
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3662
|
-
return /* @__PURE__ */ (0,
|
|
3847
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
3663
3848
|
"div",
|
|
3664
3849
|
{
|
|
3665
3850
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -3669,20 +3854,20 @@ var ScToggleSwitch = ({
|
|
|
3669
3854
|
props.onClick?.(e);
|
|
3670
3855
|
},
|
|
3671
3856
|
style: { cursor: "pointer", ...props.style },
|
|
3672
|
-
children: isActive ? /* @__PURE__ */ (0,
|
|
3673
|
-
/* @__PURE__ */ (0,
|
|
3674
|
-
/* @__PURE__ */ (0,
|
|
3675
|
-
] }) : /* @__PURE__ */ (0,
|
|
3676
|
-
/* @__PURE__ */ (0,
|
|
3677
|
-
/* @__PURE__ */ (0,
|
|
3678
|
-
/* @__PURE__ */ (0,
|
|
3857
|
+
children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3858
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
3859
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
3860
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3861
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("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)" }),
|
|
3862
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("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)" }),
|
|
3863
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("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)" })
|
|
3679
3864
|
] })
|
|
3680
3865
|
}
|
|
3681
3866
|
);
|
|
3682
3867
|
};
|
|
3683
3868
|
|
|
3684
3869
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3685
|
-
var
|
|
3870
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
3686
3871
|
var ScArtifaxInvite = ({
|
|
3687
3872
|
active = "true",
|
|
3688
3873
|
appName = "Artifax",
|
|
@@ -3695,22 +3880,22 @@ var ScArtifaxInvite = ({
|
|
|
3695
3880
|
}) => {
|
|
3696
3881
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3697
3882
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3698
|
-
return /* @__PURE__ */ (0,
|
|
3883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3699
3884
|
"div",
|
|
3700
3885
|
{
|
|
3701
3886
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
3702
3887
|
...props,
|
|
3703
3888
|
children: [
|
|
3704
|
-
/* @__PURE__ */ (0,
|
|
3889
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3705
3890
|
ScAppCard,
|
|
3706
3891
|
{
|
|
3707
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
3892
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_icons39.SiconArtifacts, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
3708
3893
|
appName,
|
|
3709
3894
|
appDescription,
|
|
3710
3895
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
3711
3896
|
}
|
|
3712
3897
|
),
|
|
3713
|
-
/* @__PURE__ */ (0,
|
|
3898
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3714
3899
|
ScToggleSwitch,
|
|
3715
3900
|
{
|
|
3716
3901
|
checked: isEnabled,
|
|
@@ -3724,7 +3909,7 @@ var ScArtifaxInvite = ({
|
|
|
3724
3909
|
};
|
|
3725
3910
|
|
|
3726
3911
|
// src/SC-appField/ScAppField.tsx
|
|
3727
|
-
var
|
|
3912
|
+
var import_icons45 = require("@streamoid/icons");
|
|
3728
3913
|
|
|
3729
3914
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.module.css
|
|
3730
3915
|
var ScPhtogenixInvite_default = {
|
|
@@ -3735,13 +3920,13 @@ var ScPhtogenixInvite_default = {
|
|
|
3735
3920
|
};
|
|
3736
3921
|
|
|
3737
3922
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3738
|
-
var
|
|
3739
|
-
var
|
|
3923
|
+
var import_icons40 = require("@streamoid/icons");
|
|
3924
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
3740
3925
|
var ScPhtogenixInvite = ({
|
|
3741
3926
|
active = "true",
|
|
3742
3927
|
scAppCardappDescription = "Info about photogenix",
|
|
3743
3928
|
scAppCardappName = "Photogenix",
|
|
3744
|
-
scAppCardappIcon = /* @__PURE__ */ (0,
|
|
3929
|
+
scAppCardappIcon = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_icons40.SiconArtifacts, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3745
3930
|
className,
|
|
3746
3931
|
enabled,
|
|
3747
3932
|
onToggle,
|
|
@@ -3749,12 +3934,12 @@ var ScPhtogenixInvite = ({
|
|
|
3749
3934
|
}) => {
|
|
3750
3935
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3751
3936
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3752
|
-
return /* @__PURE__ */ (0,
|
|
3937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
3753
3938
|
"div",
|
|
3754
3939
|
{
|
|
3755
3940
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
3756
3941
|
children: [
|
|
3757
|
-
/* @__PURE__ */ (0,
|
|
3942
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3758
3943
|
ScAppCard,
|
|
3759
3944
|
{
|
|
3760
3945
|
appIcon: scAppCardappIcon,
|
|
@@ -3763,7 +3948,7 @@ var ScPhtogenixInvite = ({
|
|
|
3763
3948
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
3764
3949
|
}
|
|
3765
3950
|
),
|
|
3766
|
-
/* @__PURE__ */ (0,
|
|
3951
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3767
3952
|
ScToggleSwitch,
|
|
3768
3953
|
{
|
|
3769
3954
|
checked: isEnabled,
|
|
@@ -3793,8 +3978,8 @@ var ScCatalogixInvite_default = {
|
|
|
3793
3978
|
};
|
|
3794
3979
|
|
|
3795
3980
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3796
|
-
var import_icons41 = require("@streamoid/icons");
|
|
3797
3981
|
var import_icons42 = require("@streamoid/icons");
|
|
3982
|
+
var import_icons43 = require("@streamoid/icons");
|
|
3798
3983
|
|
|
3799
3984
|
// src/SC-onlyField/ScOnlyField.module.css
|
|
3800
3985
|
var ScOnlyField_default = {
|
|
@@ -3812,11 +3997,11 @@ var ScOnlyField_default = {
|
|
|
3812
3997
|
};
|
|
3813
3998
|
|
|
3814
3999
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
3815
|
-
var
|
|
3816
|
-
var
|
|
4000
|
+
var import_icons41 = require("@streamoid/icons");
|
|
4001
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
3817
4002
|
var ScOnlyField = ({
|
|
3818
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
3819
|
-
tfLeftIcon = /* @__PURE__ */ (0,
|
|
4003
|
+
tfRightIcon = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_icons41.SiconBolt, { className: ScOnlyField_default.siconBoltInstance }),
|
|
4004
|
+
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_icons41.SiconBolt, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3820
4005
|
state = "default",
|
|
3821
4006
|
tfGroup = "icon-right",
|
|
3822
4007
|
labelGroup = "none",
|
|
@@ -3829,14 +4014,14 @@ var ScOnlyField = ({
|
|
|
3829
4014
|
...props
|
|
3830
4015
|
}) => {
|
|
3831
4016
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
3832
|
-
return /* @__PURE__ */ (0,
|
|
4017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3833
4018
|
"div",
|
|
3834
4019
|
{
|
|
3835
4020
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
3836
4021
|
...props,
|
|
3837
|
-
children: /* @__PURE__ */ (0,
|
|
3838
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
3839
|
-
/* @__PURE__ */ (0,
|
|
4022
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
4023
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
4024
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3840
4025
|
"input",
|
|
3841
4026
|
{
|
|
3842
4027
|
className: ScOnlyField_default.inputText,
|
|
@@ -3856,15 +4041,15 @@ var ScOnlyField = ({
|
|
|
3856
4041
|
...inputProps
|
|
3857
4042
|
}
|
|
3858
4043
|
),
|
|
3859
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
4044
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
3860
4045
|
] })
|
|
3861
4046
|
}
|
|
3862
4047
|
);
|
|
3863
4048
|
};
|
|
3864
4049
|
|
|
3865
4050
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3866
|
-
var
|
|
3867
|
-
var
|
|
4051
|
+
var import_icons44 = require("@streamoid/icons");
|
|
4052
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
3868
4053
|
var ScCatalogixInvite = ({
|
|
3869
4054
|
active = "false",
|
|
3870
4055
|
appName = "Catalogix",
|
|
@@ -3886,23 +4071,23 @@ var ScCatalogixInvite = ({
|
|
|
3886
4071
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3887
4072
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3888
4073
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
3889
|
-
return /* @__PURE__ */ (0,
|
|
4074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
3890
4075
|
"div",
|
|
3891
4076
|
{
|
|
3892
4077
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
3893
4078
|
...props,
|
|
3894
4079
|
children: [
|
|
3895
|
-
/* @__PURE__ */ (0,
|
|
3896
|
-
/* @__PURE__ */ (0,
|
|
4080
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
4081
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3897
4082
|
ScAppCard,
|
|
3898
4083
|
{
|
|
3899
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
4084
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons42.SiconArtifacts, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
3900
4085
|
appDescription,
|
|
3901
4086
|
appName,
|
|
3902
4087
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
3903
4088
|
}
|
|
3904
4089
|
),
|
|
3905
|
-
/* @__PURE__ */ (0,
|
|
4090
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3906
4091
|
ScToggleSwitch,
|
|
3907
4092
|
{
|
|
3908
4093
|
checked: isEnabled,
|
|
@@ -3911,29 +4096,29 @@ var ScCatalogixInvite = ({
|
|
|
3911
4096
|
}
|
|
3912
4097
|
)
|
|
3913
4098
|
] }),
|
|
3914
|
-
isEnabled && /* @__PURE__ */ (0,
|
|
3915
|
-
/* @__PURE__ */ (0,
|
|
3916
|
-
/* @__PURE__ */ (0,
|
|
4099
|
+
isEnabled && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
4100
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
4101
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
3917
4102
|
storeAccessTitle,
|
|
3918
4103
|
" "
|
|
3919
4104
|
] }),
|
|
3920
|
-
/* @__PURE__ */ (0,
|
|
4105
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
3921
4106
|
displayCount,
|
|
3922
4107
|
" "
|
|
3923
4108
|
] })
|
|
3924
4109
|
] }),
|
|
3925
|
-
/* @__PURE__ */ (0,
|
|
4110
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3926
4111
|
ScOnlyField,
|
|
3927
4112
|
{
|
|
3928
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
3929
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
4113
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons43.SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4114
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons43.SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
3930
4115
|
placeholderFilled: searchPlaceholder,
|
|
3931
4116
|
value: searchValue,
|
|
3932
4117
|
onInputChange: onSearchChange,
|
|
3933
4118
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
3934
4119
|
}
|
|
3935
4120
|
),
|
|
3936
|
-
/* @__PURE__ */ (0,
|
|
4121
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3937
4122
|
ScPairtext,
|
|
3938
4123
|
{
|
|
3939
4124
|
content: store.name,
|
|
@@ -3944,53 +4129,53 @@ var ScCatalogixInvite = ({
|
|
|
3944
4129
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3945
4130
|
},
|
|
3946
4131
|
store.id
|
|
3947
|
-
)) : /* @__PURE__ */ (0,
|
|
4132
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { style: {
|
|
3948
4133
|
padding: "var(--spacing-3xl, 16px)",
|
|
3949
4134
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
3950
4135
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
3951
4136
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
3952
4137
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
3953
|
-
}, children: "No stores found" }) : /* @__PURE__ */ (0,
|
|
3954
|
-
/* @__PURE__ */ (0,
|
|
4138
|
+
}, children: "No stores found" }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
4139
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3955
4140
|
ScPairtext,
|
|
3956
4141
|
{
|
|
3957
|
-
icon: /* @__PURE__ */ (0,
|
|
4142
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3958
4143
|
iconPosition: "right",
|
|
3959
4144
|
type: "checkbox",
|
|
3960
4145
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3961
4146
|
}
|
|
3962
4147
|
),
|
|
3963
|
-
/* @__PURE__ */ (0,
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3964
4149
|
ScPairtext,
|
|
3965
4150
|
{
|
|
3966
|
-
icon: /* @__PURE__ */ (0,
|
|
4151
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3967
4152
|
iconPosition: "right",
|
|
3968
4153
|
type: "checkbox",
|
|
3969
4154
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3970
4155
|
}
|
|
3971
4156
|
),
|
|
3972
|
-
/* @__PURE__ */ (0,
|
|
4157
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3973
4158
|
ScPairtext,
|
|
3974
4159
|
{
|
|
3975
|
-
icon: /* @__PURE__ */ (0,
|
|
4160
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3976
4161
|
iconPosition: "right",
|
|
3977
4162
|
type: "checkbox",
|
|
3978
4163
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3979
4164
|
}
|
|
3980
4165
|
),
|
|
3981
|
-
/* @__PURE__ */ (0,
|
|
4166
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3982
4167
|
ScPairtext,
|
|
3983
4168
|
{
|
|
3984
|
-
icon: /* @__PURE__ */ (0,
|
|
4169
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3985
4170
|
iconPosition: "right",
|
|
3986
4171
|
type: "checkbox",
|
|
3987
4172
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3988
4173
|
}
|
|
3989
4174
|
),
|
|
3990
|
-
/* @__PURE__ */ (0,
|
|
4175
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3991
4176
|
ScPairtext,
|
|
3992
4177
|
{
|
|
3993
|
-
icon: /* @__PURE__ */ (0,
|
|
4178
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3994
4179
|
iconPosition: "right",
|
|
3995
4180
|
type: "checkbox",
|
|
3996
4181
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -4004,7 +4189,7 @@ var ScCatalogixInvite = ({
|
|
|
4004
4189
|
};
|
|
4005
4190
|
|
|
4006
4191
|
// src/SC-appField/ScAppField.tsx
|
|
4007
|
-
var
|
|
4192
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
4008
4193
|
var ScAppField = ({
|
|
4009
4194
|
appFieldTitle = "App permission",
|
|
4010
4195
|
className,
|
|
@@ -4021,13 +4206,13 @@ var ScAppField = ({
|
|
|
4021
4206
|
onCatalogixSearchChange,
|
|
4022
4207
|
...props
|
|
4023
4208
|
}) => {
|
|
4024
|
-
return /* @__PURE__ */ (0,
|
|
4025
|
-
/* @__PURE__ */ (0,
|
|
4209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
4210
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: ScAppField_default.title, children: [
|
|
4026
4211
|
appFieldTitle,
|
|
4027
4212
|
" "
|
|
4028
4213
|
] }) }),
|
|
4029
|
-
/* @__PURE__ */ (0,
|
|
4030
|
-
/* @__PURE__ */ (0,
|
|
4214
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
|
|
4215
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
4031
4216
|
ScArtifaxInvite,
|
|
4032
4217
|
{
|
|
4033
4218
|
enabled: artifaxEnabled,
|
|
@@ -4035,18 +4220,18 @@ var ScAppField = ({
|
|
|
4035
4220
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
4036
4221
|
}
|
|
4037
4222
|
),
|
|
4038
|
-
/* @__PURE__ */ (0,
|
|
4223
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
4039
4224
|
ScPhtogenixInvite,
|
|
4040
4225
|
{
|
|
4041
4226
|
enabled: photogenixEnabled,
|
|
4042
4227
|
onToggle: onPhotogenixToggle,
|
|
4043
4228
|
scAppCardappDescription: "Info about photogenix",
|
|
4044
4229
|
scAppCardappName: "Photogenix",
|
|
4045
|
-
scAppCardappIcon: /* @__PURE__ */ (0,
|
|
4230
|
+
scAppCardappIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_icons45.SiconPhotogenix, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
4046
4231
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
4047
4232
|
}
|
|
4048
4233
|
),
|
|
4049
|
-
/* @__PURE__ */ (0,
|
|
4234
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
4050
4235
|
ScCatalogixInvite,
|
|
4051
4236
|
{
|
|
4052
4237
|
enabled: catalogixEnabled,
|
|
@@ -4073,13 +4258,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
4073
4258
|
};
|
|
4074
4259
|
|
|
4075
4260
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
4076
|
-
var
|
|
4261
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4077
4262
|
var ScBillingHistoryHeader = ({
|
|
4078
4263
|
className,
|
|
4079
4264
|
...props
|
|
4080
4265
|
}) => {
|
|
4081
|
-
return /* @__PURE__ */ (0,
|
|
4082
|
-
/* @__PURE__ */ (0,
|
|
4266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
4267
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4083
4268
|
ScHeader,
|
|
4084
4269
|
{
|
|
4085
4270
|
text: "Invoice",
|
|
@@ -4087,7 +4272,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4087
4272
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
4088
4273
|
}
|
|
4089
4274
|
),
|
|
4090
|
-
/* @__PURE__ */ (0,
|
|
4275
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4091
4276
|
ScHeader,
|
|
4092
4277
|
{
|
|
4093
4278
|
text: "Amount",
|
|
@@ -4095,7 +4280,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4095
4280
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4096
4281
|
}
|
|
4097
4282
|
),
|
|
4098
|
-
/* @__PURE__ */ (0,
|
|
4283
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4099
4284
|
ScHeader,
|
|
4100
4285
|
{
|
|
4101
4286
|
text: "Date",
|
|
@@ -4103,7 +4288,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4103
4288
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4104
4289
|
}
|
|
4105
4290
|
),
|
|
4106
|
-
/* @__PURE__ */ (0,
|
|
4291
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4107
4292
|
ScHeader,
|
|
4108
4293
|
{
|
|
4109
4294
|
text: "Action",
|
|
@@ -4124,20 +4309,20 @@ var ScCheckField_default = {
|
|
|
4124
4309
|
};
|
|
4125
4310
|
|
|
4126
4311
|
// src/SC-checkField/ScCheckField.tsx
|
|
4127
|
-
var
|
|
4128
|
-
var
|
|
4312
|
+
var import_icons46 = require("@streamoid/icons");
|
|
4313
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4129
4314
|
var ScCheckField = ({
|
|
4130
4315
|
label = "Label",
|
|
4131
4316
|
className,
|
|
4132
4317
|
checkboxes,
|
|
4133
4318
|
...props
|
|
4134
4319
|
}) => {
|
|
4135
|
-
return /* @__PURE__ */ (0,
|
|
4136
|
-
/* @__PURE__ */ (0,
|
|
4320
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
4321
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCheckField_default.label, children: [
|
|
4137
4322
|
label,
|
|
4138
4323
|
" "
|
|
4139
4324
|
] }) }),
|
|
4140
|
-
/* @__PURE__ */ (0,
|
|
4325
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4141
4326
|
ScPairtext,
|
|
4142
4327
|
{
|
|
4143
4328
|
content: item.label,
|
|
@@ -4147,19 +4332,19 @@ var ScCheckField = ({
|
|
|
4147
4332
|
className: ScCheckField_default.scPairtextInstance
|
|
4148
4333
|
},
|
|
4149
4334
|
i
|
|
4150
|
-
)) : /* @__PURE__ */ (0,
|
|
4151
|
-
/* @__PURE__ */ (0,
|
|
4335
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
4336
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4152
4337
|
ScPairtext,
|
|
4153
4338
|
{
|
|
4154
|
-
icon: /* @__PURE__ */ (0,
|
|
4339
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons46.SiconHome, { className: ScCheckField_default.siconHomeInstance }),
|
|
4155
4340
|
type: "checkbox",
|
|
4156
4341
|
className: ScCheckField_default.scPairtextInstance
|
|
4157
4342
|
}
|
|
4158
4343
|
),
|
|
4159
|
-
/* @__PURE__ */ (0,
|
|
4344
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4160
4345
|
ScPairtext,
|
|
4161
4346
|
{
|
|
4162
|
-
icon: /* @__PURE__ */ (0,
|
|
4347
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons46.SiconHome, { className: ScCheckField_default.siconHomeInstance }),
|
|
4163
4348
|
type: "checkbox",
|
|
4164
4349
|
className: ScCheckField_default.scPairtextInstance
|
|
4165
4350
|
}
|
|
@@ -4179,10 +4364,10 @@ var ScFieldButton_default = {
|
|
|
4179
4364
|
};
|
|
4180
4365
|
|
|
4181
4366
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4182
|
-
var
|
|
4183
|
-
var
|
|
4367
|
+
var import_icons47 = require("@streamoid/icons");
|
|
4368
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
4184
4369
|
var ScFieldButton = ({
|
|
4185
|
-
icon = /* @__PURE__ */ (0,
|
|
4370
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_icons47.SiconHome, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4186
4371
|
type = "default",
|
|
4187
4372
|
state = "default",
|
|
4188
4373
|
className,
|
|
@@ -4190,18 +4375,18 @@ var ScFieldButton = ({
|
|
|
4190
4375
|
...props
|
|
4191
4376
|
}) => {
|
|
4192
4377
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
4193
|
-
return /* @__PURE__ */ (0,
|
|
4378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
4194
4379
|
"div",
|
|
4195
4380
|
{
|
|
4196
4381
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4197
4382
|
...props,
|
|
4198
|
-
children: /* @__PURE__ */ (0,
|
|
4199
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0,
|
|
4200
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0,
|
|
4383
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScFieldButton_default.container, children: [
|
|
4384
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: icon }),
|
|
4385
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScFieldButton_default.label, children: [
|
|
4201
4386
|
text,
|
|
4202
4387
|
" "
|
|
4203
4388
|
] }) }),
|
|
4204
|
-
type === "icon-left" && /* @__PURE__ */ (0,
|
|
4389
|
+
type === "icon-left" && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: icon })
|
|
4205
4390
|
] })
|
|
4206
4391
|
}
|
|
4207
4392
|
);
|
|
@@ -4215,17 +4400,17 @@ var ScPendingAction_default = {
|
|
|
4215
4400
|
};
|
|
4216
4401
|
|
|
4217
4402
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
4218
|
-
var
|
|
4219
|
-
var
|
|
4403
|
+
var import_icons48 = require("@streamoid/icons");
|
|
4404
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
4220
4405
|
var ScPendingAction = ({
|
|
4221
4406
|
className,
|
|
4222
4407
|
...props
|
|
4223
4408
|
}) => {
|
|
4224
|
-
return /* @__PURE__ */ (0,
|
|
4225
|
-
/* @__PURE__ */ (0,
|
|
4409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
4410
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4226
4411
|
ScButton,
|
|
4227
4412
|
{
|
|
4228
|
-
icon: /* @__PURE__ */ (0,
|
|
4413
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_icons48.SiconHome, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4229
4414
|
text: "Cancel",
|
|
4230
4415
|
variant: "error",
|
|
4231
4416
|
type: "tertiary",
|
|
@@ -4233,11 +4418,11 @@ var ScPendingAction = ({
|
|
|
4233
4418
|
className: ScPendingAction_default.scButtonInstance
|
|
4234
4419
|
}
|
|
4235
4420
|
),
|
|
4236
|
-
/* @__PURE__ */ (0,
|
|
4237
|
-
/* @__PURE__ */ (0,
|
|
4421
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
4422
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4238
4423
|
ScButton,
|
|
4239
4424
|
{
|
|
4240
|
-
icon: /* @__PURE__ */ (0,
|
|
4425
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_icons48.SiconHome, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4241
4426
|
text: "Resend",
|
|
4242
4427
|
variant: "tertiary",
|
|
4243
4428
|
size: "sm",
|
|
@@ -4260,8 +4445,8 @@ var ScQuickPrompt_default = {
|
|
|
4260
4445
|
};
|
|
4261
4446
|
|
|
4262
4447
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
4263
|
-
var
|
|
4264
|
-
var
|
|
4448
|
+
var import_icons49 = require("@streamoid/icons");
|
|
4449
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
4265
4450
|
var ScQuickPrompt = ({
|
|
4266
4451
|
appName = "Photogenix",
|
|
4267
4452
|
heading = "Swap Model and Background",
|
|
@@ -4269,20 +4454,20 @@ var ScQuickPrompt = ({
|
|
|
4269
4454
|
className,
|
|
4270
4455
|
...props
|
|
4271
4456
|
}) => {
|
|
4272
|
-
return /* @__PURE__ */ (0,
|
|
4273
|
-
/* @__PURE__ */ (0,
|
|
4274
|
-
/* @__PURE__ */ (0,
|
|
4275
|
-
/* @__PURE__ */ (0,
|
|
4457
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
4458
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
|
|
4459
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_icons49.SiconBolt, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
4460
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
|
|
4276
4461
|
appName,
|
|
4277
4462
|
" "
|
|
4278
4463
|
] }) })
|
|
4279
4464
|
] }),
|
|
4280
|
-
/* @__PURE__ */ (0,
|
|
4281
|
-
/* @__PURE__ */ (0,
|
|
4465
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
|
|
4466
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
|
|
4282
4467
|
heading,
|
|
4283
4468
|
" "
|
|
4284
4469
|
] }),
|
|
4285
|
-
/* @__PURE__ */ (0,
|
|
4470
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
|
|
4286
4471
|
description,
|
|
4287
4472
|
" "
|
|
4288
4473
|
] })
|
|
@@ -4299,13 +4484,13 @@ var ScReferralTableHeader_default = {
|
|
|
4299
4484
|
};
|
|
4300
4485
|
|
|
4301
4486
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
4302
|
-
var
|
|
4487
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
4303
4488
|
var ScReferralTableHeader = ({
|
|
4304
4489
|
className,
|
|
4305
4490
|
...props
|
|
4306
4491
|
}) => {
|
|
4307
|
-
return /* @__PURE__ */ (0,
|
|
4308
|
-
/* @__PURE__ */ (0,
|
|
4492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4309
4494
|
ScHeader,
|
|
4310
4495
|
{
|
|
4311
4496
|
text: "User",
|
|
@@ -4313,7 +4498,7 @@ var ScReferralTableHeader = ({
|
|
|
4313
4498
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
4314
4499
|
}
|
|
4315
4500
|
),
|
|
4316
|
-
/* @__PURE__ */ (0,
|
|
4501
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4317
4502
|
ScHeader,
|
|
4318
4503
|
{
|
|
4319
4504
|
text: "Date",
|
|
@@ -4321,7 +4506,7 @@ var ScReferralTableHeader = ({
|
|
|
4321
4506
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
4322
4507
|
}
|
|
4323
4508
|
),
|
|
4324
|
-
/* @__PURE__ */ (0,
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4325
4510
|
ScHeader,
|
|
4326
4511
|
{
|
|
4327
4512
|
text: "Status",
|
|
@@ -4329,7 +4514,7 @@ var ScReferralTableHeader = ({
|
|
|
4329
4514
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
4330
4515
|
}
|
|
4331
4516
|
),
|
|
4332
|
-
/* @__PURE__ */ (0,
|
|
4517
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4333
4518
|
ScHeader,
|
|
4334
4519
|
{
|
|
4335
4520
|
text: "Reward",
|
|
@@ -4350,7 +4535,7 @@ var ScReferralTableList_default = {
|
|
|
4350
4535
|
};
|
|
4351
4536
|
|
|
4352
4537
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4353
|
-
var
|
|
4538
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
4354
4539
|
var ScReferralTableList = ({
|
|
4355
4540
|
userEmail = "chris@kepler.com",
|
|
4356
4541
|
userName,
|
|
@@ -4360,8 +4545,8 @@ var ScReferralTableList = ({
|
|
|
4360
4545
|
className,
|
|
4361
4546
|
...props
|
|
4362
4547
|
}) => {
|
|
4363
|
-
return /* @__PURE__ */ (0,
|
|
4364
|
-
/* @__PURE__ */ (0,
|
|
4548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
4549
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4365
4550
|
ScProfile,
|
|
4366
4551
|
{
|
|
4367
4552
|
subText: userEmail,
|
|
@@ -4369,12 +4554,12 @@ var ScReferralTableList = ({
|
|
|
4369
4554
|
className: ScReferralTableList_default.scProfileInstance
|
|
4370
4555
|
}
|
|
4371
4556
|
),
|
|
4372
|
-
/* @__PURE__ */ (0,
|
|
4557
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScReferralTableList_default.date, children: [
|
|
4373
4558
|
date,
|
|
4374
4559
|
" "
|
|
4375
4560
|
] }),
|
|
4376
|
-
/* @__PURE__ */ (0,
|
|
4377
|
-
/* @__PURE__ */ (0,
|
|
4561
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
4562
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScReferralTableList_default.points, children: [
|
|
4378
4563
|
points,
|
|
4379
4564
|
" "
|
|
4380
4565
|
] })
|
|
@@ -4388,35 +4573,35 @@ var ScSettingsNav_default = {
|
|
|
4388
4573
|
};
|
|
4389
4574
|
|
|
4390
4575
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4391
|
-
var import_icons49 = require("@streamoid/icons");
|
|
4392
4576
|
var import_icons50 = require("@streamoid/icons");
|
|
4393
|
-
var
|
|
4577
|
+
var import_icons51 = require("@streamoid/icons");
|
|
4578
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
4394
4579
|
var ScSettingsNav = ({
|
|
4395
4580
|
className,
|
|
4396
4581
|
...props
|
|
4397
4582
|
}) => {
|
|
4398
|
-
return /* @__PURE__ */ (0,
|
|
4399
|
-
/* @__PURE__ */ (0,
|
|
4583
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScSettingsNav_default.container, children: [
|
|
4584
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
4400
4585
|
ScSidebarMenu,
|
|
4401
4586
|
{
|
|
4402
|
-
icon: /* @__PURE__ */ (0,
|
|
4587
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons50.SiconTeam, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
4403
4588
|
text: "Profile",
|
|
4404
4589
|
state: "active",
|
|
4405
4590
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4406
4591
|
}
|
|
4407
4592
|
),
|
|
4408
|
-
/* @__PURE__ */ (0,
|
|
4593
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
4409
4594
|
ScSidebarMenu,
|
|
4410
4595
|
{
|
|
4411
|
-
icon: /* @__PURE__ */ (0,
|
|
4596
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons51.SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
4412
4597
|
text: "Workspace",
|
|
4413
4598
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4414
4599
|
}
|
|
4415
4600
|
),
|
|
4416
|
-
/* @__PURE__ */ (0,
|
|
4601
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
4417
4602
|
ScSidebarMenu,
|
|
4418
4603
|
{
|
|
4419
|
-
icon: /* @__PURE__ */ (0,
|
|
4604
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons51.SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
4420
4605
|
text: "Referral",
|
|
4421
4606
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4422
4607
|
}
|
|
@@ -4432,7 +4617,7 @@ var ScTabField_default = {
|
|
|
4432
4617
|
};
|
|
4433
4618
|
|
|
4434
4619
|
// src/SC-tabField/ScTabField.tsx
|
|
4435
|
-
var
|
|
4620
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
4436
4621
|
var ScTabField = ({
|
|
4437
4622
|
label = "Label",
|
|
4438
4623
|
className,
|
|
@@ -4441,17 +4626,17 @@ var ScTabField = ({
|
|
|
4441
4626
|
onTabChange,
|
|
4442
4627
|
...props
|
|
4443
4628
|
}) => {
|
|
4444
|
-
return /* @__PURE__ */ (0,
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
4630
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScTabField_default.label, children: [
|
|
4446
4631
|
label,
|
|
4447
4632
|
" "
|
|
4448
4633
|
] }) }),
|
|
4449
|
-
tabs ? /* @__PURE__ */ (0,
|
|
4634
|
+
tabs ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4450
4635
|
ScTabSwitcher,
|
|
4451
4636
|
{
|
|
4452
4637
|
tabCount: String(tabs.length),
|
|
4453
4638
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
4454
|
-
component: tabs[0] ? /* @__PURE__ */ (0,
|
|
4639
|
+
component: tabs[0] ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4455
4640
|
ScTabComp,
|
|
4456
4641
|
{
|
|
4457
4642
|
text: tabs[0].label,
|
|
@@ -4461,7 +4646,7 @@ var ScTabField = ({
|
|
|
4461
4646
|
style: { flex: 1 }
|
|
4462
4647
|
}
|
|
4463
4648
|
) : void 0,
|
|
4464
|
-
component2: tabs[1] ? /* @__PURE__ */ (0,
|
|
4649
|
+
component2: tabs[1] ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4465
4650
|
ScTabComp,
|
|
4466
4651
|
{
|
|
4467
4652
|
text: tabs[1].label,
|
|
@@ -4472,7 +4657,7 @@ var ScTabField = ({
|
|
|
4472
4657
|
}
|
|
4473
4658
|
) : void 0
|
|
4474
4659
|
}
|
|
4475
|
-
) : /* @__PURE__ */ (0,
|
|
4660
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4476
4661
|
] });
|
|
4477
4662
|
};
|
|
4478
4663
|
|
|
@@ -4489,19 +4674,19 @@ var ScTableHeader_default = {
|
|
|
4489
4674
|
};
|
|
4490
4675
|
|
|
4491
4676
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4492
|
-
var
|
|
4677
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
4493
4678
|
var ScTableHeader = ({
|
|
4494
4679
|
type = "default",
|
|
4495
4680
|
className,
|
|
4496
4681
|
...props
|
|
4497
4682
|
}) => {
|
|
4498
4683
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4499
|
-
return /* @__PURE__ */ (0,
|
|
4684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
4500
4685
|
"div",
|
|
4501
4686
|
{
|
|
4502
4687
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
4503
4688
|
children: [
|
|
4504
|
-
/* @__PURE__ */ (0,
|
|
4689
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4505
4690
|
ScHeader,
|
|
4506
4691
|
{
|
|
4507
4692
|
text: "User",
|
|
@@ -4509,7 +4694,7 @@ var ScTableHeader = ({
|
|
|
4509
4694
|
className: ScTableHeader_default.scHeaderInstance
|
|
4510
4695
|
}
|
|
4511
4696
|
),
|
|
4512
|
-
/* @__PURE__ */ (0,
|
|
4697
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4513
4698
|
ScHeader,
|
|
4514
4699
|
{
|
|
4515
4700
|
text: "Role",
|
|
@@ -4517,7 +4702,7 @@ var ScTableHeader = ({
|
|
|
4517
4702
|
className: ScTableHeader_default.scHeaderInstance2
|
|
4518
4703
|
}
|
|
4519
4704
|
),
|
|
4520
|
-
/* @__PURE__ */ (0,
|
|
4705
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4521
4706
|
ScHeader,
|
|
4522
4707
|
{
|
|
4523
4708
|
text: "Access",
|
|
@@ -4525,7 +4710,7 @@ var ScTableHeader = ({
|
|
|
4525
4710
|
className: ScTableHeader_default.scHeaderInstance3
|
|
4526
4711
|
}
|
|
4527
4712
|
),
|
|
4528
|
-
/* @__PURE__ */ (0,
|
|
4713
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4529
4714
|
ScHeader,
|
|
4530
4715
|
{
|
|
4531
4716
|
text: "Invited by",
|
|
@@ -4533,7 +4718,7 @@ var ScTableHeader = ({
|
|
|
4533
4718
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4534
4719
|
}
|
|
4535
4720
|
),
|
|
4536
|
-
type === "pending" && /* @__PURE__ */ (0,
|
|
4721
|
+
type === "pending" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx_runtime62.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4537
4722
|
ScHeader,
|
|
4538
4723
|
{
|
|
4539
4724
|
text: "Invite action",
|
|
@@ -4541,7 +4726,7 @@ var ScTableHeader = ({
|
|
|
4541
4726
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4542
4727
|
}
|
|
4543
4728
|
) }),
|
|
4544
|
-
type === "default" && /* @__PURE__ */ (0,
|
|
4729
|
+
type === "default" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx_runtime62.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4545
4730
|
ScHeader,
|
|
4546
4731
|
{
|
|
4547
4732
|
text: "Signed On",
|
|
@@ -4573,9 +4758,9 @@ var ScTableList_default = {
|
|
|
4573
4758
|
};
|
|
4574
4759
|
|
|
4575
4760
|
// src/SC-tableList/ScTableList.tsx
|
|
4576
|
-
var import_icons51 = require("@streamoid/icons");
|
|
4577
4761
|
var import_icons52 = require("@streamoid/icons");
|
|
4578
|
-
var
|
|
4762
|
+
var import_icons53 = require("@streamoid/icons");
|
|
4763
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
4579
4764
|
var ScTableList = ({
|
|
4580
4765
|
invitedBy = "Rohan",
|
|
4581
4766
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4587,51 +4772,51 @@ var ScTableList = ({
|
|
|
4587
4772
|
...props
|
|
4588
4773
|
}) => {
|
|
4589
4774
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4590
|
-
return /* @__PURE__ */ (0,
|
|
4775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
4591
4776
|
"div",
|
|
4592
4777
|
{
|
|
4593
4778
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
4594
4779
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
4595
4780
|
...props,
|
|
4596
4781
|
children: [
|
|
4597
|
-
/* @__PURE__ */ (0,
|
|
4782
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4598
4783
|
ScProfile,
|
|
4599
4784
|
{
|
|
4600
4785
|
subText: userEmail,
|
|
4601
4786
|
className: ScTableList_default.scProfileInstance
|
|
4602
4787
|
}
|
|
4603
4788
|
),
|
|
4604
|
-
/* @__PURE__ */ (0,
|
|
4605
|
-
/* @__PURE__ */ (0,
|
|
4606
|
-
/* @__PURE__ */ (0,
|
|
4789
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
4790
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: ScTableList_default.accessInfo, children: [
|
|
4791
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4607
4792
|
ScAccess,
|
|
4608
4793
|
{
|
|
4609
|
-
component: /* @__PURE__ */ (0,
|
|
4610
|
-
component2: /* @__PURE__ */ (0,
|
|
4794
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons52.SiconArtifacts, { className: ScTableList_default.siconArtifactsInstance }),
|
|
4795
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons52.SiconPhotogenix, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
4611
4796
|
className: ScTableList_default.scAccessInstance
|
|
4612
4797
|
}
|
|
4613
4798
|
),
|
|
4614
|
-
/* @__PURE__ */ (0,
|
|
4799
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4615
4800
|
ScAccess,
|
|
4616
4801
|
{
|
|
4617
|
-
component: /* @__PURE__ */ (0,
|
|
4618
|
-
component2: /* @__PURE__ */ (0,
|
|
4802
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons53.SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
4803
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons53.SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
4619
4804
|
visibleSiconCatalogix: false,
|
|
4620
4805
|
className: ScTableList_default.scAccessInstance
|
|
4621
4806
|
}
|
|
4622
4807
|
)
|
|
4623
4808
|
] }),
|
|
4624
|
-
/* @__PURE__ */ (0,
|
|
4809
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: ScTableList_default.userName, children: [
|
|
4625
4810
|
invitedBy,
|
|
4626
4811
|
" "
|
|
4627
4812
|
] }),
|
|
4628
|
-
variant === "pending" && /* @__PURE__ */ (0,
|
|
4813
|
+
variant === "pending" && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_jsx_runtime63.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4629
4814
|
ScPendingAction,
|
|
4630
4815
|
{
|
|
4631
4816
|
className: ScTableList_default.scPendingActionInstance
|
|
4632
4817
|
}
|
|
4633
4818
|
) }),
|
|
4634
|
-
variant === "active" && /* @__PURE__ */ (0,
|
|
4819
|
+
variant === "active" && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_jsx_runtime63.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: ScTableList_default.date, children: [
|
|
4635
4820
|
signedOn,
|
|
4636
4821
|
" "
|
|
4637
4822
|
] }) })
|
|
@@ -4660,8 +4845,8 @@ var ScWorkspaceCard_default = {
|
|
|
4660
4845
|
};
|
|
4661
4846
|
|
|
4662
4847
|
// src/SC-workspaceCard/ScWorkspaceCard.tsx
|
|
4663
|
-
var
|
|
4664
|
-
var
|
|
4848
|
+
var import_icons54 = require("@streamoid/icons");
|
|
4849
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
4665
4850
|
var ScWorkspaceCard = ({
|
|
4666
4851
|
workspaceName = "Stores",
|
|
4667
4852
|
role = "Admin",
|
|
@@ -4671,21 +4856,21 @@ var ScWorkspaceCard = ({
|
|
|
4671
4856
|
className,
|
|
4672
4857
|
...props
|
|
4673
4858
|
}) => {
|
|
4674
|
-
return /* @__PURE__ */ (0,
|
|
4675
|
-
/* @__PURE__ */ (0,
|
|
4676
|
-
/* @__PURE__ */ (0,
|
|
4859
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
4860
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
4861
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4677
4862
|
ScIntialProfileCover,
|
|
4678
4863
|
{
|
|
4679
4864
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4680
4865
|
}
|
|
4681
4866
|
),
|
|
4682
|
-
/* @__PURE__ */ (0,
|
|
4867
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4683
4868
|
workspaceName,
|
|
4684
4869
|
" "
|
|
4685
4870
|
] })
|
|
4686
4871
|
] }),
|
|
4687
|
-
/* @__PURE__ */ (0,
|
|
4688
|
-
/* @__PURE__ */ (0,
|
|
4872
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
4873
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4689
4874
|
ScBadges,
|
|
4690
4875
|
{
|
|
4691
4876
|
text: role,
|
|
@@ -4693,41 +4878,41 @@ var ScWorkspaceCard = ({
|
|
|
4693
4878
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4694
4879
|
}
|
|
4695
4880
|
),
|
|
4696
|
-
/* @__PURE__ */ (0,
|
|
4697
|
-
/* @__PURE__ */ (0,
|
|
4881
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
4882
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4698
4883
|
ScPairtext,
|
|
4699
4884
|
{
|
|
4700
|
-
icon: /* @__PURE__ */ (0,
|
|
4885
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconTeam, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
4701
4886
|
content: userCount,
|
|
4702
4887
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4703
4888
|
}
|
|
4704
4889
|
),
|
|
4705
|
-
/* @__PURE__ */ (0,
|
|
4706
|
-
/* @__PURE__ */ (0,
|
|
4890
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
4891
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4707
4892
|
ScPairtext,
|
|
4708
4893
|
{
|
|
4709
|
-
icon: /* @__PURE__ */ (0,
|
|
4894
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconCrown, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
4710
4895
|
content: ownerEmail,
|
|
4711
4896
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4712
4897
|
}
|
|
4713
4898
|
)
|
|
4714
4899
|
] })
|
|
4715
4900
|
] }),
|
|
4716
|
-
/* @__PURE__ */ (0,
|
|
4901
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4717
4902
|
ScButton,
|
|
4718
4903
|
{
|
|
4719
|
-
icon: /* @__PURE__ */ (0,
|
|
4904
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconSwitch, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
4720
4905
|
text: buttonText,
|
|
4721
4906
|
state: "disabled",
|
|
4722
4907
|
variant: "outline",
|
|
4723
4908
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
4724
4909
|
}
|
|
4725
4910
|
),
|
|
4726
|
-
/* @__PURE__ */ (0,
|
|
4911
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4727
4912
|
ScButton,
|
|
4728
4913
|
{
|
|
4729
4914
|
text: "Leave workspace",
|
|
4730
|
-
icon: /* @__PURE__ */ (0,
|
|
4915
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconLogout, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
4731
4916
|
styleVariant: "icon-only",
|
|
4732
4917
|
variant: "error",
|
|
4733
4918
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -4737,8 +4922,8 @@ var ScWorkspaceCard = ({
|
|
|
4737
4922
|
};
|
|
4738
4923
|
|
|
4739
4924
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4740
|
-
var
|
|
4741
|
-
var
|
|
4925
|
+
var import_react9 = require("react");
|
|
4926
|
+
var import_icons55 = require("@streamoid/icons");
|
|
4742
4927
|
|
|
4743
4928
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
4744
4929
|
var ScWorkspaceSwitchCard_default = {
|
|
@@ -4763,7 +4948,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4763
4948
|
};
|
|
4764
4949
|
|
|
4765
4950
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4766
|
-
var
|
|
4951
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
4767
4952
|
function ScWorkspaceSwitchCard({
|
|
4768
4953
|
wsName = "Workspace name is kepler",
|
|
4769
4954
|
role = "Admin",
|
|
@@ -4778,7 +4963,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4778
4963
|
onSettings,
|
|
4779
4964
|
onLeave
|
|
4780
4965
|
}) {
|
|
4781
|
-
const [internalHover, setInternalHover] = (0,
|
|
4966
|
+
const [internalHover, setInternalHover] = (0, import_react9.useState)(false);
|
|
4782
4967
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4783
4968
|
const isCurrent = type === "currentWS";
|
|
4784
4969
|
const isOther = type === "otherWS";
|
|
@@ -4793,14 +4978,14 @@ function ScWorkspaceSwitchCard({
|
|
|
4793
4978
|
].filter(Boolean).join(" ");
|
|
4794
4979
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
4795
4980
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
4796
|
-
return /* @__PURE__ */ (0,
|
|
4981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4797
4982
|
"div",
|
|
4798
4983
|
{
|
|
4799
4984
|
className: cardClass,
|
|
4800
4985
|
onMouseEnter: () => setInternalHover(true),
|
|
4801
4986
|
onMouseLeave: () => setInternalHover(false),
|
|
4802
|
-
children: /* @__PURE__ */ (0,
|
|
4803
|
-
/* @__PURE__ */ (0,
|
|
4987
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
4988
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4804
4989
|
ScDp,
|
|
4805
4990
|
{
|
|
4806
4991
|
type: imageUrl ? "image" : "initial",
|
|
@@ -4814,26 +4999,26 @@ function ScWorkspaceSwitchCard({
|
|
|
4814
4999
|
}
|
|
4815
5000
|
}
|
|
4816
5001
|
),
|
|
4817
|
-
/* @__PURE__ */ (0,
|
|
4818
|
-
/* @__PURE__ */ (0,
|
|
4819
|
-
/* @__PURE__ */ (0,
|
|
4820
|
-
/* @__PURE__ */ (0,
|
|
4821
|
-
/* @__PURE__ */ (0,
|
|
4822
|
-
/* @__PURE__ */ (0,
|
|
5002
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
5003
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
5004
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
5005
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
5006
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
5007
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: roleColorClass, children: displayRole })
|
|
4823
5008
|
] }),
|
|
4824
|
-
/* @__PURE__ */ (0,
|
|
4825
|
-
/* @__PURE__ */ (0,
|
|
4826
|
-
/* @__PURE__ */ (0,
|
|
4827
|
-
/* @__PURE__ */ (0,
|
|
5009
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
5010
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
5011
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
5012
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
4828
5013
|
] }),
|
|
4829
|
-
/* @__PURE__ */ (0,
|
|
4830
|
-
/* @__PURE__ */ (0,
|
|
4831
|
-
/* @__PURE__ */ (0,
|
|
4832
|
-
/* @__PURE__ */ (0,
|
|
5014
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
5015
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
5016
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
5017
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
4833
5018
|
] })
|
|
4834
5019
|
] })
|
|
4835
5020
|
] }),
|
|
4836
|
-
isHover && isOther && /* @__PURE__ */ (0,
|
|
5021
|
+
isHover && isOther && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4837
5022
|
"div",
|
|
4838
5023
|
{
|
|
4839
5024
|
onClick: (e) => {
|
|
@@ -4841,19 +5026,19 @@ function ScWorkspaceSwitchCard({
|
|
|
4841
5026
|
onSwitch?.();
|
|
4842
5027
|
},
|
|
4843
5028
|
style: { cursor: "pointer" },
|
|
4844
|
-
children: /* @__PURE__ */ (0,
|
|
5029
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4845
5030
|
ScButton,
|
|
4846
5031
|
{
|
|
4847
5032
|
text: "Switch Workspace",
|
|
4848
5033
|
variant: "secondary",
|
|
4849
5034
|
size: "sm",
|
|
4850
5035
|
styleVariant: "icon-left",
|
|
4851
|
-
icon: /* @__PURE__ */ (0,
|
|
5036
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons55.SiconSwitch, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4852
5037
|
}
|
|
4853
5038
|
)
|
|
4854
5039
|
}
|
|
4855
5040
|
),
|
|
4856
|
-
isHover && isAdmin && /* @__PURE__ */ (0,
|
|
5041
|
+
isHover && isAdmin && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4857
5042
|
"div",
|
|
4858
5043
|
{
|
|
4859
5044
|
onClick: (e) => {
|
|
@@ -4861,18 +5046,18 @@ function ScWorkspaceSwitchCard({
|
|
|
4861
5046
|
onSettings?.();
|
|
4862
5047
|
},
|
|
4863
5048
|
style: { cursor: "pointer" },
|
|
4864
|
-
children: /* @__PURE__ */ (0,
|
|
5049
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4865
5050
|
ScButton,
|
|
4866
5051
|
{
|
|
4867
5052
|
styleVariant: "icon-only",
|
|
4868
5053
|
variant: "outline",
|
|
4869
5054
|
size: "sm",
|
|
4870
|
-
icon: /* @__PURE__ */ (0,
|
|
5055
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons55.SiconSettings, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4871
5056
|
}
|
|
4872
5057
|
)
|
|
4873
5058
|
}
|
|
4874
5059
|
),
|
|
4875
|
-
isHover && !isAdmin && /* @__PURE__ */ (0,
|
|
5060
|
+
isHover && !isAdmin && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4876
5061
|
"div",
|
|
4877
5062
|
{
|
|
4878
5063
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -4880,7 +5065,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4880
5065
|
e.stopPropagation();
|
|
4881
5066
|
onLeave?.();
|
|
4882
5067
|
},
|
|
4883
|
-
children: /* @__PURE__ */ (0,
|
|
5068
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons55.SiconLogout, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
4884
5069
|
}
|
|
4885
5070
|
)
|
|
4886
5071
|
] })
|
|
@@ -4898,18 +5083,18 @@ var ScRoleMobile_default = {
|
|
|
4898
5083
|
};
|
|
4899
5084
|
|
|
4900
5085
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
4901
|
-
var
|
|
5086
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
4902
5087
|
var ScRoleMobile = ({
|
|
4903
5088
|
role = "admin",
|
|
4904
5089
|
className,
|
|
4905
5090
|
...props
|
|
4906
5091
|
}) => {
|
|
4907
|
-
return /* @__PURE__ */ (0,
|
|
5092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4908
5093
|
"div",
|
|
4909
5094
|
{
|
|
4910
5095
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
4911
5096
|
...props,
|
|
4912
|
-
children: /* @__PURE__ */ (0,
|
|
5097
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
4913
5098
|
}
|
|
4914
5099
|
);
|
|
4915
5100
|
};
|
|
@@ -4926,7 +5111,7 @@ var ScProfileV2Mobile_default = {
|
|
|
4926
5111
|
};
|
|
4927
5112
|
|
|
4928
5113
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
4929
|
-
var
|
|
5114
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
4930
5115
|
var ScProfileV2Mobile = ({
|
|
4931
5116
|
name = "Chris Hemsworth",
|
|
4932
5117
|
email = "chris@kepler.com",
|
|
@@ -4936,17 +5121,17 @@ var ScProfileV2Mobile = ({
|
|
|
4936
5121
|
...props
|
|
4937
5122
|
}) => {
|
|
4938
5123
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4939
|
-
const profileImage = /* @__PURE__ */ (0,
|
|
4940
|
-
return /* @__PURE__ */ (0,
|
|
5124
|
+
const profileImage = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
5125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
4941
5126
|
"div",
|
|
4942
5127
|
{
|
|
4943
5128
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
4944
5129
|
...props,
|
|
4945
5130
|
children: [
|
|
4946
5131
|
dpPosition === "left" && profileImage,
|
|
4947
|
-
/* @__PURE__ */ (0,
|
|
4948
|
-
/* @__PURE__ */ (0,
|
|
4949
|
-
/* @__PURE__ */ (0,
|
|
5132
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
5133
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
5134
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
4950
5135
|
] }),
|
|
4951
5136
|
dpPosition === "right" && profileImage
|
|
4952
5137
|
]
|
|
@@ -4973,7 +5158,7 @@ var ScTableListMobile_default = {
|
|
|
4973
5158
|
};
|
|
4974
5159
|
|
|
4975
5160
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
4976
|
-
var
|
|
5161
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
4977
5162
|
var ScTableListMobile = ({
|
|
4978
5163
|
name = "Chris Hemsworth",
|
|
4979
5164
|
email = "chris@kepler.com",
|
|
@@ -4986,25 +5171,25 @@ var ScTableListMobile = ({
|
|
|
4986
5171
|
...props
|
|
4987
5172
|
}) => {
|
|
4988
5173
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4989
|
-
return /* @__PURE__ */ (0,
|
|
5174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
4990
5175
|
"div",
|
|
4991
5176
|
{
|
|
4992
5177
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
4993
5178
|
onClick: onRowClick,
|
|
4994
5179
|
...props,
|
|
4995
5180
|
children: [
|
|
4996
|
-
/* @__PURE__ */ (0,
|
|
4997
|
-
/* @__PURE__ */ (0,
|
|
4998
|
-
/* @__PURE__ */ (0,
|
|
4999
|
-
/* @__PURE__ */ (0,
|
|
5181
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
5182
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
5183
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
5184
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
5000
5185
|
] }),
|
|
5001
|
-
/* @__PURE__ */ (0,
|
|
5186
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
5002
5187
|
] }),
|
|
5003
|
-
/* @__PURE__ */ (0,
|
|
5004
|
-
/* @__PURE__ */ (0,
|
|
5005
|
-
/* @__PURE__ */ (0,
|
|
5006
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0,
|
|
5007
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0,
|
|
5188
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
5189
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
5190
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
5191
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
5192
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
5008
5193
|
] })
|
|
5009
5194
|
] })
|
|
5010
5195
|
]
|
|
@@ -5032,7 +5217,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
5032
5217
|
};
|
|
5033
5218
|
|
|
5034
5219
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
5035
|
-
var
|
|
5220
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
5036
5221
|
var ScWorkspaceSwitchMobile = ({
|
|
5037
5222
|
storeName = "Stores",
|
|
5038
5223
|
initials = "WS",
|
|
@@ -5045,24 +5230,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
5045
5230
|
...props
|
|
5046
5231
|
}) => {
|
|
5047
5232
|
const variant = currentWs ? "current" : "other";
|
|
5048
|
-
return /* @__PURE__ */ (0,
|
|
5233
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
5049
5234
|
"div",
|
|
5050
5235
|
{
|
|
5051
5236
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
5052
5237
|
onClick,
|
|
5053
5238
|
...props,
|
|
5054
5239
|
children: [
|
|
5055
|
-
/* @__PURE__ */ (0,
|
|
5056
|
-
/* @__PURE__ */ (0,
|
|
5057
|
-
/* @__PURE__ */ (0,
|
|
5058
|
-
/* @__PURE__ */ (0,
|
|
5240
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
5241
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
5242
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
5243
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
5059
5244
|
] }),
|
|
5060
|
-
/* @__PURE__ */ (0,
|
|
5245
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
5061
5246
|
] }),
|
|
5062
|
-
/* @__PURE__ */ (0,
|
|
5063
|
-
/* @__PURE__ */ (0,
|
|
5064
|
-
/* @__PURE__ */ (0,
|
|
5065
|
-
/* @__PURE__ */ (0,
|
|
5247
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
5248
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
5249
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
5250
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
5066
5251
|
] })
|
|
5067
5252
|
]
|
|
5068
5253
|
}
|
|
@@ -5089,7 +5274,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
5089
5274
|
};
|
|
5090
5275
|
|
|
5091
5276
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
5092
|
-
var
|
|
5277
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
5093
5278
|
var ScWorkspaceSettingsMobile = ({
|
|
5094
5279
|
storeName = "Stores",
|
|
5095
5280
|
initials = "WS",
|
|
@@ -5104,28 +5289,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
5104
5289
|
...props
|
|
5105
5290
|
}) => {
|
|
5106
5291
|
const variant = currentWs ? "current" : "other";
|
|
5107
|
-
return /* @__PURE__ */ (0,
|
|
5292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
5108
5293
|
"div",
|
|
5109
5294
|
{
|
|
5110
5295
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
5111
5296
|
onClick,
|
|
5112
5297
|
...props,
|
|
5113
5298
|
children: [
|
|
5114
|
-
/* @__PURE__ */ (0,
|
|
5115
|
-
/* @__PURE__ */ (0,
|
|
5116
|
-
/* @__PURE__ */ (0,
|
|
5117
|
-
/* @__PURE__ */ (0,
|
|
5299
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
5300
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
5301
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
5302
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
5118
5303
|
] }),
|
|
5119
|
-
/* @__PURE__ */ (0,
|
|
5304
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
5120
5305
|
] }),
|
|
5121
|
-
/* @__PURE__ */ (0,
|
|
5122
|
-
/* @__PURE__ */ (0,
|
|
5123
|
-
/* @__PURE__ */ (0,
|
|
5124
|
-
/* @__PURE__ */ (0,
|
|
5306
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
5307
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5308
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
5309
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
5125
5310
|
] }),
|
|
5126
|
-
/* @__PURE__ */ (0,
|
|
5127
|
-
/* @__PURE__ */ (0,
|
|
5128
|
-
/* @__PURE__ */ (0,
|
|
5311
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5312
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
5313
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
5129
5314
|
] })
|
|
5130
5315
|
]
|
|
5131
5316
|
}
|
|
@@ -5148,7 +5333,7 @@ var ScMobileTopNav_default = {
|
|
|
5148
5333
|
};
|
|
5149
5334
|
|
|
5150
5335
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5151
|
-
var
|
|
5336
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
5152
5337
|
var ScMobileTopNav = ({
|
|
5153
5338
|
type = "home",
|
|
5154
5339
|
searchIcon = false,
|
|
@@ -5171,22 +5356,22 @@ var ScMobileTopNav = ({
|
|
|
5171
5356
|
}) => {
|
|
5172
5357
|
const hasBorder = type === "chat" || type === "inApp";
|
|
5173
5358
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
5174
|
-
return /* @__PURE__ */ (0,
|
|
5359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
5175
5360
|
"div",
|
|
5176
5361
|
{
|
|
5177
5362
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
5178
5363
|
...props,
|
|
5179
5364
|
children: [
|
|
5180
|
-
type === "home" && /* @__PURE__ */ (0,
|
|
5181
|
-
type === "chat" && /* @__PURE__ */ (0,
|
|
5182
|
-
/* @__PURE__ */ (0,
|
|
5183
|
-
/* @__PURE__ */ (0,
|
|
5184
|
-
/* @__PURE__ */ (0,
|
|
5365
|
+
type === "home" && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5366
|
+
type === "chat" && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
5367
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5368
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
5369
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5185
5370
|
] }),
|
|
5186
|
-
showSearch && /* @__PURE__ */ (0,
|
|
5187
|
-
/* @__PURE__ */ (0,
|
|
5188
|
-
/* @__PURE__ */ (0,
|
|
5189
|
-
/* @__PURE__ */ (0,
|
|
5371
|
+
showSearch && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
5372
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
5373
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5374
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
5190
5375
|
"input",
|
|
5191
5376
|
{
|
|
5192
5377
|
type: "text",
|
|
@@ -5197,17 +5382,17 @@ var ScMobileTopNav = ({
|
|
|
5197
5382
|
}
|
|
5198
5383
|
) })
|
|
5199
5384
|
] }) }),
|
|
5200
|
-
/* @__PURE__ */ (0,
|
|
5385
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5201
5386
|
] }),
|
|
5202
|
-
type === "inApp" && !search && /* @__PURE__ */ (0,
|
|
5203
|
-
/* @__PURE__ */ (0,
|
|
5204
|
-
/* @__PURE__ */ (0,
|
|
5205
|
-
/* @__PURE__ */ (0,
|
|
5387
|
+
type === "inApp" && !search && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
5388
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5389
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
5390
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
5206
5391
|
"div",
|
|
5207
5392
|
{
|
|
5208
5393
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5209
5394
|
onClick: onSearchClick,
|
|
5210
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */ (0,
|
|
5395
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
5211
5396
|
}
|
|
5212
5397
|
)
|
|
5213
5398
|
] })
|
|
@@ -5228,7 +5413,7 @@ var ScMobileBottomAction_default = {
|
|
|
5228
5413
|
};
|
|
5229
5414
|
|
|
5230
5415
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5231
|
-
var
|
|
5416
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
5232
5417
|
var ScMobileBottomAction = ({
|
|
5233
5418
|
text = "Save Changes",
|
|
5234
5419
|
disabled = false,
|
|
@@ -5240,28 +5425,28 @@ var ScMobileBottomAction = ({
|
|
|
5240
5425
|
...props
|
|
5241
5426
|
}) => {
|
|
5242
5427
|
const isTwoButton = !!secondaryText;
|
|
5243
|
-
return /* @__PURE__ */ (0,
|
|
5428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
5244
5429
|
"div",
|
|
5245
5430
|
{
|
|
5246
5431
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5247
5432
|
...props,
|
|
5248
5433
|
children: [
|
|
5249
|
-
isTwoButton && /* @__PURE__ */ (0,
|
|
5434
|
+
isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
5250
5435
|
"button",
|
|
5251
5436
|
{
|
|
5252
5437
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5253
5438
|
onClick: onSecondaryClick,
|
|
5254
5439
|
disabled: secondaryDisabled,
|
|
5255
|
-
children: /* @__PURE__ */ (0,
|
|
5440
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5256
5441
|
}
|
|
5257
5442
|
),
|
|
5258
|
-
/* @__PURE__ */ (0,
|
|
5443
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
5259
5444
|
"button",
|
|
5260
5445
|
{
|
|
5261
5446
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5262
5447
|
onClick,
|
|
5263
5448
|
disabled,
|
|
5264
|
-
children: /* @__PURE__ */ (0,
|
|
5449
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5265
5450
|
}
|
|
5266
5451
|
)
|
|
5267
5452
|
]
|
|
@@ -5279,7 +5464,7 @@ var ScPopUpMenu_default = {
|
|
|
5279
5464
|
};
|
|
5280
5465
|
|
|
5281
5466
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5282
|
-
var
|
|
5467
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
5283
5468
|
var ScPopUpMenu = ({
|
|
5284
5469
|
menu = "Options",
|
|
5285
5470
|
state = "default",
|
|
@@ -5288,15 +5473,15 @@ var ScPopUpMenu = ({
|
|
|
5288
5473
|
className,
|
|
5289
5474
|
...props
|
|
5290
5475
|
}) => {
|
|
5291
|
-
return /* @__PURE__ */ (0,
|
|
5476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
5292
5477
|
"div",
|
|
5293
5478
|
{
|
|
5294
5479
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5295
5480
|
onClick,
|
|
5296
5481
|
...props,
|
|
5297
5482
|
children: [
|
|
5298
|
-
icon && /* @__PURE__ */ (0,
|
|
5299
|
-
/* @__PURE__ */ (0,
|
|
5483
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
5300
5485
|
]
|
|
5301
5486
|
}
|
|
5302
5487
|
);
|
|
@@ -5322,7 +5507,7 @@ var ScReferralCardMobile_default = {
|
|
|
5322
5507
|
};
|
|
5323
5508
|
|
|
5324
5509
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5325
|
-
var
|
|
5510
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
5326
5511
|
var ScReferralCardMobile = ({
|
|
5327
5512
|
name = "Chris Hemsworth",
|
|
5328
5513
|
email = "chris@kepler.com",
|
|
@@ -5335,27 +5520,27 @@ var ScReferralCardMobile = ({
|
|
|
5335
5520
|
...props
|
|
5336
5521
|
}) => {
|
|
5337
5522
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5338
|
-
return /* @__PURE__ */ (0,
|
|
5523
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
5339
5524
|
"div",
|
|
5340
5525
|
{
|
|
5341
5526
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5342
5527
|
onClick,
|
|
5343
5528
|
...props,
|
|
5344
5529
|
children: [
|
|
5345
|
-
/* @__PURE__ */ (0,
|
|
5346
|
-
/* @__PURE__ */ (0,
|
|
5347
|
-
/* @__PURE__ */ (0,
|
|
5348
|
-
/* @__PURE__ */ (0,
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5350
|
-
/* @__PURE__ */ (0,
|
|
5530
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
5531
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
5532
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
5533
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
5535
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
5351
5536
|
] })
|
|
5352
5537
|
] }),
|
|
5353
|
-
/* @__PURE__ */ (0,
|
|
5538
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5354
5539
|
] }),
|
|
5355
|
-
/* @__PURE__ */ (0,
|
|
5356
|
-
/* @__PURE__ */ (0,
|
|
5357
|
-
/* @__PURE__ */ (0,
|
|
5358
|
-
/* @__PURE__ */ (0,
|
|
5540
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScReferralCardMobile_default.divider }),
|
|
5541
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
5542
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
5543
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
5359
5544
|
] })
|
|
5360
5545
|
]
|
|
5361
5546
|
}
|
|
@@ -5372,19 +5557,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
5372
5557
|
};
|
|
5373
5558
|
|
|
5374
5559
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5375
|
-
var
|
|
5560
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
5376
5561
|
var InvoiceHistoryMobile = ({
|
|
5377
5562
|
invoiceId = "# INV-2800-2026",
|
|
5378
5563
|
date = "Nov 9th, 2025",
|
|
5379
5564
|
amount = "$320.89",
|
|
5380
5565
|
className
|
|
5381
5566
|
}) => {
|
|
5382
|
-
return /* @__PURE__ */ (0,
|
|
5383
|
-
/* @__PURE__ */ (0,
|
|
5384
|
-
/* @__PURE__ */ (0,
|
|
5385
|
-
/* @__PURE__ */ (0,
|
|
5567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
5568
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
5569
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
5570
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
5386
5571
|
] }),
|
|
5387
|
-
/* @__PURE__ */ (0,
|
|
5572
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5388
5573
|
] });
|
|
5389
5574
|
};
|
|
5390
5575
|
|
|
@@ -5402,7 +5587,7 @@ var UsageHistoryMobile_default = {
|
|
|
5402
5587
|
};
|
|
5403
5588
|
|
|
5404
5589
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5405
|
-
var
|
|
5590
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
5406
5591
|
var UsageHistoryMobile = ({
|
|
5407
5592
|
serviceName = "Artifax Generation",
|
|
5408
5593
|
credits = "50",
|
|
@@ -5411,18 +5596,18 @@ var UsageHistoryMobile = ({
|
|
|
5411
5596
|
balance = "84,902",
|
|
5412
5597
|
className
|
|
5413
5598
|
}) => {
|
|
5414
|
-
return /* @__PURE__ */ (0,
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5417
|
-
/* @__PURE__ */ (0,
|
|
5599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
5600
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
5601
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
5602
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
5418
5603
|
] }),
|
|
5419
|
-
/* @__PURE__ */ (0,
|
|
5420
|
-
/* @__PURE__ */ (0,
|
|
5421
|
-
/* @__PURE__ */ (0,
|
|
5422
|
-
/* @__PURE__ */ (0,
|
|
5423
|
-
/* @__PURE__ */ (0,
|
|
5604
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
5605
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
5606
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
5607
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: UsageHistoryMobile_default.divider }),
|
|
5608
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
5424
5609
|
] }),
|
|
5425
|
-
/* @__PURE__ */ (0,
|
|
5610
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5426
5611
|
] })
|
|
5427
5612
|
] });
|
|
5428
5613
|
};
|
|
@@ -5446,7 +5631,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5446
5631
|
};
|
|
5447
5632
|
|
|
5448
5633
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5449
|
-
var
|
|
5634
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
5450
5635
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5451
5636
|
wsName = "Workspace name is kepler",
|
|
5452
5637
|
initials = "WS",
|
|
@@ -5459,14 +5644,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5459
5644
|
className,
|
|
5460
5645
|
...props
|
|
5461
5646
|
}) => {
|
|
5462
|
-
return /* @__PURE__ */ (0,
|
|
5647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
5463
5648
|
"div",
|
|
5464
5649
|
{
|
|
5465
5650
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5466
5651
|
onClick,
|
|
5467
5652
|
...props,
|
|
5468
|
-
children: /* @__PURE__ */ (0,
|
|
5469
|
-
/* @__PURE__ */ (0,
|
|
5653
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
5470
5655
|
ScDp,
|
|
5471
5656
|
{
|
|
5472
5657
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5480,14 +5665,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5480
5665
|
}
|
|
5481
5666
|
}
|
|
5482
5667
|
) }),
|
|
5483
|
-
/* @__PURE__ */ (0,
|
|
5484
|
-
/* @__PURE__ */ (0,
|
|
5485
|
-
/* @__PURE__ */ (0,
|
|
5486
|
-
/* @__PURE__ */ (0,
|
|
5487
|
-
/* @__PURE__ */ (0,
|
|
5488
|
-
/* @__PURE__ */ (0,
|
|
5489
|
-
/* @__PURE__ */ (0,
|
|
5490
|
-
/* @__PURE__ */ (0,
|
|
5668
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
5669
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
5670
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
5671
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
5672
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5673
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
5674
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5675
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
5491
5676
|
] })
|
|
5492
5677
|
] })
|
|
5493
5678
|
] })
|
|
@@ -5496,7 +5681,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5496
5681
|
};
|
|
5497
5682
|
|
|
5498
5683
|
// src/SC-imageField/ScImageField.tsx
|
|
5499
|
-
var
|
|
5684
|
+
var import_react10 = require("react");
|
|
5500
5685
|
|
|
5501
5686
|
// src/SC-imageField/ScImageField.module.css
|
|
5502
5687
|
var ScImageField_default = {
|
|
@@ -5513,8 +5698,8 @@ var ScImageField_default = {
|
|
|
5513
5698
|
};
|
|
5514
5699
|
|
|
5515
5700
|
// src/SC-imageField/ScImageField.tsx
|
|
5516
|
-
var
|
|
5517
|
-
var
|
|
5701
|
+
var import_icons56 = require("@streamoid/icons");
|
|
5702
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
5518
5703
|
var ScImageField = ({
|
|
5519
5704
|
label = "Label",
|
|
5520
5705
|
imagePreview,
|
|
@@ -5523,7 +5708,7 @@ var ScImageField = ({
|
|
|
5523
5708
|
onRemove,
|
|
5524
5709
|
className
|
|
5525
5710
|
}) => {
|
|
5526
|
-
const inputRef = (0,
|
|
5711
|
+
const inputRef = (0, import_react10.useRef)(null);
|
|
5527
5712
|
const hasImage = !!imagePreview;
|
|
5528
5713
|
function handleClick() {
|
|
5529
5714
|
if (!hasImage) {
|
|
@@ -5537,8 +5722,8 @@ var ScImageField = ({
|
|
|
5537
5722
|
}
|
|
5538
5723
|
e.target.value = "";
|
|
5539
5724
|
}
|
|
5540
|
-
return /* @__PURE__ */ (0,
|
|
5541
|
-
/* @__PURE__ */ (0,
|
|
5725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
5726
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
5542
5727
|
"input",
|
|
5543
5728
|
{
|
|
5544
5729
|
ref: inputRef,
|
|
@@ -5548,9 +5733,9 @@ var ScImageField = ({
|
|
|
5548
5733
|
onChange: handleChange
|
|
5549
5734
|
}
|
|
5550
5735
|
),
|
|
5551
|
-
/* @__PURE__ */ (0,
|
|
5552
|
-
hasImage ? /* @__PURE__ */ (0,
|
|
5553
|
-
/* @__PURE__ */ (0,
|
|
5736
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: ScImageField_default.label, children: label }) }),
|
|
5737
|
+
hasImage ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScImageField_default.previewArea, children: [
|
|
5738
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
5554
5739
|
"img",
|
|
5555
5740
|
{
|
|
5556
5741
|
className: ScImageField_default.previewImage,
|
|
@@ -5558,9 +5743,9 @@ var ScImageField = ({
|
|
|
5558
5743
|
alt: "preview"
|
|
5559
5744
|
}
|
|
5560
5745
|
),
|
|
5561
|
-
/* @__PURE__ */ (0,
|
|
5562
|
-
/* @__PURE__ */ (0,
|
|
5563
|
-
|
|
5746
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
5747
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
5748
|
+
import_icons56.SiconDelete,
|
|
5564
5749
|
{
|
|
5565
5750
|
className: ScImageField_default.removeIcon,
|
|
5566
5751
|
color: "var(--alias-text-and-icons-error, #d11a1a)",
|
|
@@ -5570,9 +5755,9 @@ var ScImageField = ({
|
|
|
5570
5755
|
}
|
|
5571
5756
|
}
|
|
5572
5757
|
)
|
|
5573
|
-
] }) : /* @__PURE__ */ (0,
|
|
5574
|
-
/* @__PURE__ */ (0,
|
|
5575
|
-
/* @__PURE__ */ (0,
|
|
5758
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
5759
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_icons56.SiconUpload, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
5760
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
5576
5761
|
] })
|
|
5577
5762
|
] });
|
|
5578
5763
|
};
|
|
@@ -5586,7 +5771,7 @@ var ScSettingsTabComp_default = {
|
|
|
5586
5771
|
};
|
|
5587
5772
|
|
|
5588
5773
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5589
|
-
var
|
|
5774
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
5590
5775
|
var ScSettingsTabComp = ({
|
|
5591
5776
|
tabName = "Tab",
|
|
5592
5777
|
active = false,
|
|
@@ -5594,12 +5779,12 @@ var ScSettingsTabComp = ({
|
|
|
5594
5779
|
className
|
|
5595
5780
|
}) => {
|
|
5596
5781
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5597
|
-
return /* @__PURE__ */ (0,
|
|
5782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
5598
5783
|
"div",
|
|
5599
5784
|
{
|
|
5600
5785
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5601
5786
|
onClick,
|
|
5602
|
-
children: /* @__PURE__ */ (0,
|
|
5787
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5603
5788
|
}
|
|
5604
5789
|
);
|
|
5605
5790
|
};
|
|
@@ -5618,8 +5803,8 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5618
5803
|
};
|
|
5619
5804
|
|
|
5620
5805
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5621
|
-
var
|
|
5622
|
-
var
|
|
5806
|
+
var import_icons57 = require("@streamoid/icons");
|
|
5807
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
5623
5808
|
var ScCreditsUsageCardMobile = ({
|
|
5624
5809
|
usageLabel = "Credits usage",
|
|
5625
5810
|
usageText = "8,450 / 30,000",
|
|
@@ -5629,23 +5814,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5629
5814
|
className,
|
|
5630
5815
|
...props
|
|
5631
5816
|
}) => {
|
|
5632
|
-
return /* @__PURE__ */ (0,
|
|
5633
|
-
/* @__PURE__ */ (0,
|
|
5634
|
-
/* @__PURE__ */ (0,
|
|
5635
|
-
|
|
5817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5818
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
5819
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
5820
|
+
import_icons57.SiconCredits,
|
|
5636
5821
|
{
|
|
5637
5822
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5638
5823
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5639
5824
|
}
|
|
5640
5825
|
),
|
|
5641
|
-
/* @__PURE__ */ (0,
|
|
5826
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5642
5827
|
] }),
|
|
5643
|
-
/* @__PURE__ */ (0,
|
|
5644
|
-
/* @__PURE__ */ (0,
|
|
5645
|
-
/* @__PURE__ */ (0,
|
|
5646
|
-
/* @__PURE__ */ (0,
|
|
5828
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
5829
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
5830
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
5831
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
5647
5832
|
] }),
|
|
5648
|
-
/* @__PURE__ */ (0,
|
|
5833
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
5649
5834
|
ScButton,
|
|
5650
5835
|
{
|
|
5651
5836
|
text: buyButtonText,
|
|
@@ -5676,8 +5861,8 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5676
5861
|
};
|
|
5677
5862
|
|
|
5678
5863
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5679
|
-
var
|
|
5680
|
-
var
|
|
5864
|
+
var import_icons58 = require("@streamoid/icons");
|
|
5865
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
5681
5866
|
var ScPlanDetailsCardMobile = ({
|
|
5682
5867
|
planName = "Pro",
|
|
5683
5868
|
planCredits = "30,000 credits",
|
|
@@ -5689,19 +5874,19 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5689
5874
|
className,
|
|
5690
5875
|
...props
|
|
5691
5876
|
}) => {
|
|
5692
|
-
return /* @__PURE__ */ (0,
|
|
5693
|
-
/* @__PURE__ */ (0,
|
|
5694
|
-
/* @__PURE__ */ (0,
|
|
5695
|
-
/* @__PURE__ */ (0,
|
|
5696
|
-
|
|
5877
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5878
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
5879
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
5880
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5881
|
+
import_icons58.SiconBilling,
|
|
5697
5882
|
{
|
|
5698
5883
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5699
5884
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5700
5885
|
}
|
|
5701
5886
|
),
|
|
5702
|
-
/* @__PURE__ */ (0,
|
|
5887
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5703
5888
|
] }),
|
|
5704
|
-
/* @__PURE__ */ (0,
|
|
5889
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5705
5890
|
ScBadges,
|
|
5706
5891
|
{
|
|
5707
5892
|
text: badgeText,
|
|
@@ -5711,16 +5896,16 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5711
5896
|
}
|
|
5712
5897
|
)
|
|
5713
5898
|
] }),
|
|
5714
|
-
/* @__PURE__ */ (0,
|
|
5715
|
-
/* @__PURE__ */ (0,
|
|
5716
|
-
/* @__PURE__ */ (0,
|
|
5717
|
-
/* @__PURE__ */ (0,
|
|
5718
|
-
/* @__PURE__ */ (0,
|
|
5719
|
-
/* @__PURE__ */ (0,
|
|
5899
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
5900
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
|
|
5901
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
5902
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
5903
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
5904
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
5720
5905
|
] }),
|
|
5721
|
-
/* @__PURE__ */ (0,
|
|
5906
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5722
5907
|
] }),
|
|
5723
|
-
/* @__PURE__ */ (0,
|
|
5908
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5724
5909
|
ScButton,
|
|
5725
5910
|
{
|
|
5726
5911
|
text: upgradeButtonText,
|