@streamoid/ui 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +18 -1
- package/dist/index.d.mts +23 -4
- package/dist/index.d.ts +23 -4
- package/dist/index.js +1060 -820
- package/dist/index.mjs +1008 -768
- package/package.json +1 -1
package/dist/index.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,50 +2415,64 @@ 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 = {
|
|
2237
2422
|
scSidebarMenu: "ScSidebarMenu_scSidebarMenu",
|
|
2238
2423
|
content: "ScSidebarMenu_content",
|
|
2424
|
+
moreIconWrapper: "ScSidebarMenu_moreIconWrapper",
|
|
2239
2425
|
"state-active": "ScSidebarMenu_state-active",
|
|
2426
|
+
"state-default-highlight": "ScSidebarMenu_state-default-highlight",
|
|
2240
2427
|
"state-hover": "ScSidebarMenu_state-hover",
|
|
2241
2428
|
"variant-collapsed": "ScSidebarMenu_variant-collapsed"
|
|
2242
2429
|
};
|
|
2243
2430
|
|
|
2244
2431
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
2245
|
-
var
|
|
2246
|
-
var
|
|
2432
|
+
var import_icons26 = require("@streamoid/icons");
|
|
2433
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
2247
2434
|
var ScSidebarMenu = ({
|
|
2248
|
-
icon = /* @__PURE__ */ (0,
|
|
2435
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_icons26.SiconHome, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
2249
2436
|
state = "default",
|
|
2250
2437
|
variant = "expanded",
|
|
2251
2438
|
className,
|
|
2252
2439
|
text = "Menu Item",
|
|
2440
|
+
moreIcon,
|
|
2441
|
+
onMoreClick,
|
|
2253
2442
|
...props
|
|
2254
2443
|
}) => {
|
|
2255
2444
|
const variantsClassName = ScSidebarMenu_default["state-" + state] + " " + ScSidebarMenu_default["variant-" + variant];
|
|
2256
|
-
return /* @__PURE__ */ (0,
|
|
2445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
2257
2446
|
"div",
|
|
2258
2447
|
{
|
|
2259
2448
|
className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
|
|
2260
2449
|
...props,
|
|
2261
2450
|
children: [
|
|
2262
2451
|
icon,
|
|
2263
|
-
variant === "expanded" && /* @__PURE__ */ (0,
|
|
2264
|
-
text,
|
|
2265
|
-
|
|
2266
|
-
|
|
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)(
|
|
2455
|
+
"div",
|
|
2456
|
+
{
|
|
2457
|
+
className: ScSidebarMenu_default.moreIconWrapper,
|
|
2458
|
+
onClick: (e) => {
|
|
2459
|
+
e.stopPropagation();
|
|
2460
|
+
onMoreClick?.(e);
|
|
2461
|
+
},
|
|
2462
|
+
children: moreIcon
|
|
2463
|
+
}
|
|
2464
|
+
)
|
|
2465
|
+
] })
|
|
2267
2466
|
]
|
|
2268
2467
|
}
|
|
2269
2468
|
);
|
|
2270
2469
|
};
|
|
2271
2470
|
|
|
2272
2471
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2273
|
-
var import_icons29 = require("@streamoid/icons");
|
|
2274
2472
|
var import_icons30 = require("@streamoid/icons");
|
|
2275
2473
|
var import_icons31 = require("@streamoid/icons");
|
|
2276
2474
|
var import_icons32 = require("@streamoid/icons");
|
|
2475
|
+
var import_icons33 = require("@streamoid/icons");
|
|
2277
2476
|
|
|
2278
2477
|
// src/SC-Sidebar profile/ScSidebarProfile.module.css
|
|
2279
2478
|
var ScSidebarProfile_default = {
|
|
@@ -2284,7 +2483,7 @@ var ScSidebarProfile_default = {
|
|
|
2284
2483
|
};
|
|
2285
2484
|
|
|
2286
2485
|
// src/SC-Sidebar profile/ScSidebarProfile.tsx
|
|
2287
|
-
var
|
|
2486
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
2288
2487
|
var ScSidebarProfile = ({
|
|
2289
2488
|
state = "default",
|
|
2290
2489
|
variant = "expanded",
|
|
@@ -2292,12 +2491,12 @@ var ScSidebarProfile = ({
|
|
|
2292
2491
|
...props
|
|
2293
2492
|
}) => {
|
|
2294
2493
|
const variantsClassName = ScSidebarProfile_default["state-" + state] + " " + ScSidebarProfile_default["variant-" + variant];
|
|
2295
|
-
return /* @__PURE__ */ (0,
|
|
2494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
2296
2495
|
"div",
|
|
2297
2496
|
{
|
|
2298
2497
|
className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
|
|
2299
2498
|
...props,
|
|
2300
|
-
children: /* @__PURE__ */ (0,
|
|
2499
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
|
|
2301
2500
|
}
|
|
2302
2501
|
);
|
|
2303
2502
|
};
|
|
@@ -2309,16 +2508,16 @@ var ScSidebarIcons_default = {
|
|
|
2309
2508
|
};
|
|
2310
2509
|
|
|
2311
2510
|
// src/SC-sidebar icons/ScSidebarIcons.tsx
|
|
2312
|
-
var
|
|
2313
|
-
var
|
|
2511
|
+
var import_icons27 = require("@streamoid/icons");
|
|
2512
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
2314
2513
|
var ScSidebarIcons = ({
|
|
2315
|
-
instance = /* @__PURE__ */ (0,
|
|
2514
|
+
instance = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_icons27.SiconSupport, { className: ScSidebarIcons_default.siconSupportInstance }),
|
|
2316
2515
|
state = "default",
|
|
2317
2516
|
className,
|
|
2318
2517
|
...props
|
|
2319
2518
|
}) => {
|
|
2320
2519
|
const variantsClassName = ScSidebarIcons_default["state-" + state];
|
|
2321
|
-
return /* @__PURE__ */ (0,
|
|
2520
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
2322
2521
|
"div",
|
|
2323
2522
|
{
|
|
2324
2523
|
className: ScSidebarIcons_default.scSidebarIcons + " " + className + " " + variantsClassName,
|
|
@@ -2328,7 +2527,7 @@ var ScSidebarIcons = ({
|
|
|
2328
2527
|
};
|
|
2329
2528
|
|
|
2330
2529
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2331
|
-
var
|
|
2530
|
+
var import_icons34 = require("@streamoid/icons");
|
|
2332
2531
|
|
|
2333
2532
|
// src/SC-version/ScVersion.module.css
|
|
2334
2533
|
var ScVersion_default = {
|
|
@@ -2340,8 +2539,8 @@ var ScVersion_default = {
|
|
|
2340
2539
|
};
|
|
2341
2540
|
|
|
2342
2541
|
// src/SC-version/ScVersion.tsx
|
|
2343
|
-
var
|
|
2344
|
-
var
|
|
2542
|
+
var import_icons28 = require("@streamoid/icons");
|
|
2543
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
2345
2544
|
var ScVersion = ({
|
|
2346
2545
|
state = "expanded",
|
|
2347
2546
|
version = "v2.1.2",
|
|
@@ -2351,27 +2550,27 @@ var ScVersion = ({
|
|
|
2351
2550
|
...props
|
|
2352
2551
|
}) => {
|
|
2353
2552
|
const variantsClassName = ScVersion_default["state-" + state];
|
|
2354
|
-
return /* @__PURE__ */ (0,
|
|
2553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
2355
2554
|
"div",
|
|
2356
2555
|
{
|
|
2357
2556
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
2358
2557
|
...props,
|
|
2359
2558
|
children: [
|
|
2360
|
-
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)(
|
|
2361
2560
|
ScSidebarIcons,
|
|
2362
2561
|
{
|
|
2363
|
-
instance: scSidebarIconsinstance || /* @__PURE__ */ (0,
|
|
2562
|
+
instance: scSidebarIconsinstance || /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_icons28.SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2364
2563
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2365
2564
|
}
|
|
2366
2565
|
) }) }),
|
|
2367
|
-
/* @__PURE__ */ (0,
|
|
2566
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: ScVersion_default.content, children: [
|
|
2368
2567
|
version,
|
|
2369
2568
|
" "
|
|
2370
2569
|
] }),
|
|
2371
|
-
state === "expanded" && /* @__PURE__ */ (0,
|
|
2570
|
+
state === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
2372
2571
|
ScSidebarIcons,
|
|
2373
2572
|
{
|
|
2374
|
-
instance: /* @__PURE__ */ (0,
|
|
2573
|
+
instance: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_icons28.SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
2375
2574
|
state: "hover",
|
|
2376
2575
|
className: ScVersion_default.scSidebarIconsInstance
|
|
2377
2576
|
}
|
|
@@ -2382,7 +2581,7 @@ var ScVersion = ({
|
|
|
2382
2581
|
};
|
|
2383
2582
|
|
|
2384
2583
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2385
|
-
var
|
|
2584
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
2386
2585
|
var ScSidebar = ({
|
|
2387
2586
|
state = "expanded",
|
|
2388
2587
|
className,
|
|
@@ -2390,47 +2589,47 @@ var ScSidebar = ({
|
|
|
2390
2589
|
...props
|
|
2391
2590
|
}) => {
|
|
2392
2591
|
const variantsClassName = ScSidebar_default["state-" + state];
|
|
2393
|
-
return /* @__PURE__ */ (0,
|
|
2592
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
2394
2593
|
"div",
|
|
2395
2594
|
{
|
|
2396
2595
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
2397
2596
|
children: [
|
|
2398
|
-
state === "collapsed" && /* @__PURE__ */ (0,
|
|
2399
|
-
/* @__PURE__ */ (0,
|
|
2400
|
-
/* @__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)(
|
|
2401
2600
|
ScLogoUnit,
|
|
2402
2601
|
{
|
|
2403
2602
|
state: "collapsed",
|
|
2404
2603
|
className: ScSidebar_default.scLogoUnitInstance
|
|
2405
2604
|
}
|
|
2406
2605
|
),
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2606
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.collapsedItemContainer, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2408
2607
|
ScSidebarMenu,
|
|
2409
2608
|
{
|
|
2410
2609
|
text: "New chat",
|
|
2411
|
-
icon: /* @__PURE__ */ (0,
|
|
2610
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons29.SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2412
2611
|
variant: "collapsed",
|
|
2413
2612
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2414
2613
|
}
|
|
2415
2614
|
) }),
|
|
2416
|
-
/* @__PURE__ */ (0,
|
|
2417
|
-
/* @__PURE__ */ (0,
|
|
2418
|
-
/* @__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)(
|
|
2419
2618
|
ScSidebarMenu,
|
|
2420
2619
|
{
|
|
2421
2620
|
text: "Artifax",
|
|
2422
|
-
icon: /* @__PURE__ */ (0,
|
|
2621
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons30.SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2423
2622
|
state: "active",
|
|
2424
2623
|
variant: "collapsed",
|
|
2425
2624
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2426
2625
|
}
|
|
2427
2626
|
),
|
|
2428
|
-
/* @__PURE__ */ (0,
|
|
2627
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2429
2628
|
ScSidebarMenu,
|
|
2430
2629
|
{
|
|
2431
2630
|
text: "Photogenix",
|
|
2432
|
-
icon: /* @__PURE__ */ (0,
|
|
2433
|
-
|
|
2631
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2632
|
+
import_icons30.SiconPhotogenix,
|
|
2434
2633
|
{
|
|
2435
2634
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
2436
2635
|
}
|
|
@@ -2439,131 +2638,131 @@ var ScSidebar = ({
|
|
|
2439
2638
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2440
2639
|
}
|
|
2441
2640
|
),
|
|
2442
|
-
/* @__PURE__ */ (0,
|
|
2641
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2443
2642
|
ScSidebarMenu,
|
|
2444
2643
|
{
|
|
2445
2644
|
text: "Catalogix",
|
|
2446
|
-
icon: /* @__PURE__ */ (0,
|
|
2645
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconCatalogix, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2447
2646
|
variant: "collapsed",
|
|
2448
2647
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2449
2648
|
}
|
|
2450
2649
|
)
|
|
2451
2650
|
] }),
|
|
2452
|
-
/* @__PURE__ */ (0,
|
|
2453
|
-
/* @__PURE__ */ (0,
|
|
2454
|
-
/* @__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)(
|
|
2455
2654
|
ScSidebarMenu,
|
|
2456
2655
|
{
|
|
2457
2656
|
text: "Teams",
|
|
2458
|
-
icon: /* @__PURE__ */ (0,
|
|
2657
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconTeam, { className: ScSidebar_default.siconTeamInstance }),
|
|
2459
2658
|
variant: "collapsed",
|
|
2460
2659
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2461
2660
|
}
|
|
2462
2661
|
),
|
|
2463
|
-
/* @__PURE__ */ (0,
|
|
2662
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2464
2663
|
ScSidebarMenu,
|
|
2465
2664
|
{
|
|
2466
2665
|
text: "Billing",
|
|
2467
|
-
icon: /* @__PURE__ */ (0,
|
|
2666
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconBilling, { className: ScSidebar_default.siconBillingInstance }),
|
|
2468
2667
|
variant: "collapsed",
|
|
2469
2668
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2470
2669
|
}
|
|
2471
2670
|
)
|
|
2472
2671
|
] }),
|
|
2473
|
-
/* @__PURE__ */ (0,
|
|
2474
|
-
/* @__PURE__ */ (0,
|
|
2475
|
-
/* @__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)(
|
|
2476
2675
|
ScSidebarMenu,
|
|
2477
2676
|
{
|
|
2478
2677
|
text: "Chat 1",
|
|
2479
|
-
icon: /* @__PURE__ */ (0,
|
|
2678
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2480
2679
|
variant: "collapsed",
|
|
2481
2680
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2482
2681
|
}
|
|
2483
2682
|
),
|
|
2484
|
-
/* @__PURE__ */ (0,
|
|
2683
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2485
2684
|
ScSidebarMenu,
|
|
2486
2685
|
{
|
|
2487
2686
|
text: "Chat 2",
|
|
2488
|
-
icon: /* @__PURE__ */ (0,
|
|
2687
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2489
2688
|
variant: "collapsed",
|
|
2490
2689
|
className: ScSidebar_default.scSidebarMenuInstance2
|
|
2491
2690
|
}
|
|
2492
2691
|
),
|
|
2493
|
-
/* @__PURE__ */ (0,
|
|
2692
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2494
2693
|
ScSidebarMenu,
|
|
2495
2694
|
{
|
|
2496
2695
|
text: "Chat 3",
|
|
2497
|
-
icon: /* @__PURE__ */ (0,
|
|
2696
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2498
2697
|
variant: "collapsed",
|
|
2499
2698
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2500
2699
|
}
|
|
2501
2700
|
),
|
|
2502
|
-
/* @__PURE__ */ (0,
|
|
2701
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2503
2702
|
ScSidebarMenu,
|
|
2504
2703
|
{
|
|
2505
2704
|
text: "View all",
|
|
2506
|
-
icon: /* @__PURE__ */ (0,
|
|
2705
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2507
2706
|
variant: "collapsed",
|
|
2508
2707
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2509
2708
|
}
|
|
2510
2709
|
)
|
|
2511
2710
|
] })
|
|
2512
2711
|
] }),
|
|
2513
|
-
/* @__PURE__ */ (0,
|
|
2712
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.collapsedItemContainer2, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2514
2713
|
ScSidebarMenu,
|
|
2515
2714
|
{
|
|
2516
2715
|
text: "Live support",
|
|
2517
|
-
icon: /* @__PURE__ */ (0,
|
|
2716
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconSupport, { className: ScSidebar_default.siconSupportInstance }),
|
|
2518
2717
|
variant: "collapsed",
|
|
2519
2718
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2520
2719
|
}
|
|
2521
2720
|
) }),
|
|
2522
|
-
/* @__PURE__ */ (0,
|
|
2523
|
-
/* @__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)(
|
|
2524
2723
|
ScSidebarProfile,
|
|
2525
2724
|
{
|
|
2526
2725
|
variant: "collapsed",
|
|
2527
2726
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2528
2727
|
}
|
|
2529
2728
|
) }),
|
|
2530
|
-
/* @__PURE__ */ (0,
|
|
2531
|
-
/* @__PURE__ */ (0,
|
|
2729
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance5 }),
|
|
2730
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2532
2731
|
ScVersion,
|
|
2533
2732
|
{
|
|
2534
2733
|
state: "collapsed",
|
|
2535
|
-
scSidebarIconsinstance: /* @__PURE__ */ (0,
|
|
2734
|
+
scSidebarIconsinstance: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons34.SiconCollapse, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2536
2735
|
className: ScSidebar_default.scVersionInstance
|
|
2537
2736
|
}
|
|
2538
2737
|
)
|
|
2539
2738
|
] }) }),
|
|
2540
|
-
state === "expanded" && /* @__PURE__ */ (0,
|
|
2541
|
-
/* @__PURE__ */ (0,
|
|
2542
|
-
/* @__PURE__ */ (0,
|
|
2543
|
-
/* @__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)(
|
|
2544
2743
|
ScSidebarMenu,
|
|
2545
2744
|
{
|
|
2546
|
-
icon: /* @__PURE__ */ (0,
|
|
2745
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons29.SiconPlus, { className: ScSidebar_default.siconPlusInstance }),
|
|
2547
2746
|
text: "New chat",
|
|
2548
2747
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2549
2748
|
}
|
|
2550
2749
|
) }),
|
|
2551
|
-
/* @__PURE__ */ (0,
|
|
2552
|
-
/* @__PURE__ */ (0,
|
|
2553
|
-
/* @__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)(
|
|
2554
2753
|
ScSidebarMenu,
|
|
2555
2754
|
{
|
|
2556
|
-
icon: /* @__PURE__ */ (0,
|
|
2755
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons30.SiconArtifacts, { className: ScSidebar_default.siconArtifactsInstance }),
|
|
2557
2756
|
text: "Artifax",
|
|
2558
2757
|
state: "active",
|
|
2559
2758
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2560
2759
|
}
|
|
2561
2760
|
),
|
|
2562
|
-
/* @__PURE__ */ (0,
|
|
2761
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2563
2762
|
ScSidebarMenu,
|
|
2564
2763
|
{
|
|
2565
|
-
icon: /* @__PURE__ */ (0,
|
|
2566
|
-
|
|
2764
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2765
|
+
import_icons30.SiconPhotogenix,
|
|
2567
2766
|
{
|
|
2568
2767
|
className: ScSidebar_default.siconPhotogenixInstance
|
|
2569
2768
|
}
|
|
@@ -2572,97 +2771,97 @@ var ScSidebar = ({
|
|
|
2572
2771
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2573
2772
|
}
|
|
2574
2773
|
),
|
|
2575
|
-
/* @__PURE__ */ (0,
|
|
2774
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2576
2775
|
ScSidebarMenu,
|
|
2577
2776
|
{
|
|
2578
|
-
icon: /* @__PURE__ */ (0,
|
|
2777
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconCatalogix, { className: ScSidebar_default.siconCatalogixInstance }),
|
|
2579
2778
|
text: "Catalogix",
|
|
2580
2779
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2581
2780
|
}
|
|
2582
2781
|
)
|
|
2583
2782
|
] }),
|
|
2584
|
-
/* @__PURE__ */ (0,
|
|
2585
|
-
/* @__PURE__ */ (0,
|
|
2586
|
-
/* @__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)(
|
|
2587
2786
|
ScSidebarMenu,
|
|
2588
2787
|
{
|
|
2589
|
-
icon: /* @__PURE__ */ (0,
|
|
2788
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons31.SiconTeam, { className: ScSidebar_default.siconTeamInstance }),
|
|
2590
2789
|
text: "Teams",
|
|
2591
2790
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2592
2791
|
}
|
|
2593
2792
|
),
|
|
2594
|
-
/* @__PURE__ */ (0,
|
|
2793
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2595
2794
|
ScSidebarMenu,
|
|
2596
2795
|
{
|
|
2597
|
-
icon: /* @__PURE__ */ (0,
|
|
2796
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconBilling, { className: ScSidebar_default.siconBillingInstance }),
|
|
2598
2797
|
text: "Billing",
|
|
2599
2798
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2600
2799
|
}
|
|
2601
2800
|
)
|
|
2602
2801
|
] }),
|
|
2603
|
-
/* @__PURE__ */ (0,
|
|
2604
|
-
/* @__PURE__ */ (0,
|
|
2605
|
-
/* @__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)(
|
|
2606
2805
|
ScSidebarMenu,
|
|
2607
2806
|
{
|
|
2608
|
-
icon: /* @__PURE__ */ (0,
|
|
2807
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2609
2808
|
text: "Chat 1",
|
|
2610
2809
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2611
2810
|
}
|
|
2612
2811
|
),
|
|
2613
|
-
/* @__PURE__ */ (0,
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2614
2813
|
ScSidebarMenu,
|
|
2615
2814
|
{
|
|
2616
|
-
icon: /* @__PURE__ */ (0,
|
|
2815
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2617
2816
|
text: "Chat 2",
|
|
2618
2817
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2619
2818
|
}
|
|
2620
2819
|
),
|
|
2621
|
-
/* @__PURE__ */ (0,
|
|
2820
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2622
2821
|
ScSidebarMenu,
|
|
2623
2822
|
{
|
|
2624
|
-
icon: /* @__PURE__ */ (0,
|
|
2823
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons32.SiconDot, { className: ScSidebar_default.siconDotInstance }),
|
|
2625
2824
|
text: "Chat 3",
|
|
2626
2825
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2627
2826
|
}
|
|
2628
2827
|
),
|
|
2629
|
-
/* @__PURE__ */ (0,
|
|
2828
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2630
2829
|
ScSidebarMenu,
|
|
2631
2830
|
{
|
|
2632
|
-
icon: /* @__PURE__ */ (0,
|
|
2831
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconMore, { className: ScSidebar_default.siconMoreInstance }),
|
|
2633
2832
|
text: "View all",
|
|
2634
2833
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2635
2834
|
}
|
|
2636
2835
|
)
|
|
2637
2836
|
] })
|
|
2638
2837
|
] }),
|
|
2639
|
-
/* @__PURE__ */ (0,
|
|
2838
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2640
2839
|
ScSidebarMenu,
|
|
2641
2840
|
{
|
|
2642
|
-
icon: /* @__PURE__ */ (0,
|
|
2841
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons33.SiconSupport, { className: ScSidebar_default.siconSupportInstance }),
|
|
2643
2842
|
text: "Live support",
|
|
2644
2843
|
className: ScSidebar_default.scSidebarMenuInstance
|
|
2645
2844
|
}
|
|
2646
2845
|
) }),
|
|
2647
|
-
/* @__PURE__ */ (0,
|
|
2648
|
-
/* @__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)(
|
|
2649
2848
|
ScSidebarProfile,
|
|
2650
2849
|
{
|
|
2651
2850
|
className: ScSidebar_default.scSidebarProfileInstance
|
|
2652
2851
|
}
|
|
2653
2852
|
) }),
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
2655
|
-
/* @__PURE__ */ (0,
|
|
2853
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScHDivider, { className: ScSidebar_default.scHDividerInstance2 }),
|
|
2854
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2656
2855
|
ScVersion,
|
|
2657
2856
|
{
|
|
2658
|
-
component: /* @__PURE__ */ (0,
|
|
2857
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
2659
2858
|
ScSidebarIcons,
|
|
2660
2859
|
{
|
|
2661
2860
|
className: ScSidebar_default.scSidebarIconsInstance,
|
|
2662
|
-
instance: /* @__PURE__ */ (0,
|
|
2861
|
+
instance: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons34.SiconCollapse, { className: ScSidebar_default.siconCollapseInstance })
|
|
2663
2862
|
}
|
|
2664
2863
|
),
|
|
2665
|
-
scSidebarIconsinstance: /* @__PURE__ */ (0,
|
|
2864
|
+
scSidebarIconsinstance: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_icons34.SiconCollapse, { className: ScSidebar_default.siconCollapseInstance }),
|
|
2666
2865
|
className: ScSidebar_default.scVersionInstance
|
|
2667
2866
|
}
|
|
2668
2867
|
)
|
|
@@ -2673,9 +2872,9 @@ var ScSidebar = ({
|
|
|
2673
2872
|
};
|
|
2674
2873
|
|
|
2675
2874
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
2676
|
-
var
|
|
2875
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
2677
2876
|
function SectionHeader({ label }) {
|
|
2678
|
-
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)(
|
|
2679
2878
|
"div",
|
|
2680
2879
|
{
|
|
2681
2880
|
className: "flex items-center w-full text-text-xs-regular",
|
|
@@ -2683,12 +2882,12 @@ function SectionHeader({ label }) {
|
|
|
2683
2882
|
padding: "var(--spacing-xs) var(--spacing-3xl)",
|
|
2684
2883
|
color: "var(--alias-text---icons-tertiary)"
|
|
2685
2884
|
},
|
|
2686
|
-
children: /* @__PURE__ */ (0,
|
|
2885
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { children: label })
|
|
2687
2886
|
}
|
|
2688
2887
|
) }) });
|
|
2689
2888
|
}
|
|
2690
2889
|
function HDivider() {
|
|
2691
|
-
return /* @__PURE__ */ (0,
|
|
2890
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2692
2891
|
"div",
|
|
2693
2892
|
{
|
|
2694
2893
|
className: "shrink-0 w-full",
|
|
@@ -2719,18 +2918,25 @@ function renderMenuItem({
|
|
|
2719
2918
|
sectionId,
|
|
2720
2919
|
expanded,
|
|
2721
2920
|
activeItemId,
|
|
2921
|
+
highlightedItemIds,
|
|
2722
2922
|
iconMap,
|
|
2723
|
-
onItemSelect
|
|
2923
|
+
onItemSelect,
|
|
2924
|
+
moreIcon,
|
|
2925
|
+
onMoreClick
|
|
2724
2926
|
}) {
|
|
2725
2927
|
const active = item.id === activeItemId;
|
|
2726
|
-
|
|
2928
|
+
const highlighted = highlightedItemIds?.has(item.id) ?? false;
|
|
2929
|
+
const state = active ? "active" : highlighted ? "default-highlight" : "default";
|
|
2930
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2727
2931
|
ScSidebarMenu,
|
|
2728
2932
|
{
|
|
2729
|
-
icon: resolveIcon(iconMap, item, active, expanded),
|
|
2933
|
+
icon: resolveIcon(iconMap, item, active || highlighted, expanded),
|
|
2730
2934
|
text: expanded ? item.label : void 0,
|
|
2731
|
-
state
|
|
2935
|
+
state,
|
|
2732
2936
|
variant: expanded ? "expanded" : "collapsed",
|
|
2733
|
-
onClick: () => onItemSelect?.(item, sectionId)
|
|
2937
|
+
onClick: () => onItemSelect?.(item, sectionId),
|
|
2938
|
+
moreIcon,
|
|
2939
|
+
onMoreClick: onMoreClick ? () => onMoreClick(item, sectionId) : void 0
|
|
2734
2940
|
},
|
|
2735
2941
|
item.id
|
|
2736
2942
|
);
|
|
@@ -2741,7 +2947,10 @@ function StreamoidSidebar({
|
|
|
2741
2947
|
config,
|
|
2742
2948
|
iconMap,
|
|
2743
2949
|
activeItemId,
|
|
2950
|
+
highlightedItemIds,
|
|
2744
2951
|
onItemSelect,
|
|
2952
|
+
moreIcon,
|
|
2953
|
+
onMoreClick,
|
|
2745
2954
|
expandedLogo,
|
|
2746
2955
|
collapsedLogo,
|
|
2747
2956
|
profile,
|
|
@@ -2749,16 +2958,20 @@ function StreamoidSidebar({
|
|
|
2749
2958
|
toggleIcon,
|
|
2750
2959
|
hideFooter = false,
|
|
2751
2960
|
preFooterContent,
|
|
2961
|
+
bodyContent,
|
|
2962
|
+
showBody = false,
|
|
2963
|
+
isMobile = false,
|
|
2752
2964
|
className,
|
|
2753
2965
|
style
|
|
2754
2966
|
}) {
|
|
2967
|
+
const effectiveHideFooter = hideFooter || isMobile;
|
|
2755
2968
|
if (expanded) {
|
|
2756
|
-
return /* @__PURE__ */ (0,
|
|
2969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2757
2970
|
"div",
|
|
2758
2971
|
{
|
|
2759
2972
|
className: `flex h-full items-center shrink-0 ${className ?? ""}`.trim(),
|
|
2760
2973
|
style: { padding: "var(--spacing-3xl)", ...style },
|
|
2761
|
-
children: /* @__PURE__ */ (0,
|
|
2974
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2762
2975
|
"div",
|
|
2763
2976
|
{
|
|
2764
2977
|
className: "flex flex-col h-full relative shrink-0",
|
|
@@ -2766,12 +2979,12 @@ function StreamoidSidebar({
|
|
|
2766
2979
|
backgroundColor: "var(--alias-surface-base)",
|
|
2767
2980
|
borderRadius: "var(--radius-3xl)",
|
|
2768
2981
|
padding: "var(--spacing-md)",
|
|
2769
|
-
paddingBottom:
|
|
2982
|
+
paddingBottom: effectiveHideFooter ? "var(--spacing-md)" : void 0,
|
|
2770
2983
|
width: 256,
|
|
2771
2984
|
gap: "var(--spacing-xxs)"
|
|
2772
2985
|
},
|
|
2773
2986
|
children: [
|
|
2774
|
-
/* @__PURE__ */ (0,
|
|
2987
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2775
2988
|
"div",
|
|
2776
2989
|
{
|
|
2777
2990
|
"aria-hidden": "true",
|
|
@@ -2782,29 +2995,50 @@ function StreamoidSidebar({
|
|
|
2782
2995
|
}
|
|
2783
2996
|
}
|
|
2784
2997
|
),
|
|
2785
|
-
/* @__PURE__ */ (0,
|
|
2998
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2786
2999
|
"div",
|
|
2787
3000
|
{
|
|
2788
3001
|
className: "flex flex-col flex-1 items-start min-h-0 w-full overflow-y-auto sidebar-scroll",
|
|
2789
3002
|
style: { gap: "var(--spacing-xxs)" },
|
|
2790
3003
|
children: [
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
),
|
|
2807
|
-
|
|
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)(
|
|
3007
|
+
"div",
|
|
3008
|
+
{
|
|
3009
|
+
className: "flex items-center cursor-pointer shrink-0",
|
|
3010
|
+
style: {
|
|
3011
|
+
padding: "var(--spacing-md)",
|
|
3012
|
+
borderRadius: "var(--radius-3xl)"
|
|
3013
|
+
},
|
|
3014
|
+
onClick: onToggle,
|
|
3015
|
+
children: resolveToggleIcon(toggleIcon, true)
|
|
3016
|
+
}
|
|
3017
|
+
) : null
|
|
3018
|
+
] }),
|
|
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)(
|
|
3022
|
+
"div",
|
|
3023
|
+
{
|
|
3024
|
+
className: "flex flex-col items-start shrink-0 w-full",
|
|
3025
|
+
style: { padding: "var(--spacing-md) 0" },
|
|
3026
|
+
children: renderMenuItem({
|
|
3027
|
+
item: config.topItem,
|
|
3028
|
+
sectionId: "top",
|
|
3029
|
+
expanded: true,
|
|
3030
|
+
activeItemId,
|
|
3031
|
+
highlightedItemIds,
|
|
3032
|
+
iconMap,
|
|
3033
|
+
onItemSelect,
|
|
3034
|
+
moreIcon,
|
|
3035
|
+
onMoreClick
|
|
3036
|
+
})
|
|
3037
|
+
}
|
|
3038
|
+
),
|
|
3039
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {})
|
|
3040
|
+
] }),
|
|
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)(
|
|
2808
3042
|
"div",
|
|
2809
3043
|
{
|
|
2810
3044
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2813,7 +3047,7 @@ function StreamoidSidebar({
|
|
|
2813
3047
|
gap: "var(--spacing-xxs)"
|
|
2814
3048
|
},
|
|
2815
3049
|
children: [
|
|
2816
|
-
section.label ? /* @__PURE__ */ (0,
|
|
3050
|
+
section.label ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SectionHeader, { label: section.label }) : null,
|
|
2817
3051
|
section.items.map(
|
|
2818
3052
|
(item) => renderMenuItem({
|
|
2819
3053
|
item,
|
|
@@ -2827,11 +3061,12 @@ function StreamoidSidebar({
|
|
|
2827
3061
|
]
|
|
2828
3062
|
},
|
|
2829
3063
|
section.id
|
|
2830
|
-
))
|
|
3064
|
+
)) })
|
|
2831
3065
|
]
|
|
2832
3066
|
}
|
|
2833
3067
|
),
|
|
2834
|
-
|
|
3068
|
+
preFooterContent,
|
|
3069
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2835
3070
|
"div",
|
|
2836
3071
|
{
|
|
2837
3072
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -2848,16 +3083,14 @@ function StreamoidSidebar({
|
|
|
2848
3083
|
)
|
|
2849
3084
|
}
|
|
2850
3085
|
) : null,
|
|
2851
|
-
|
|
2852
|
-
/* @__PURE__ */ (0,
|
|
2853
|
-
|
|
2854
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
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)(
|
|
2855
3089
|
"div",
|
|
2856
3090
|
{
|
|
2857
3091
|
className: "flex items-center shrink-0 w-full cursor-pointer",
|
|
2858
3092
|
style: {
|
|
2859
|
-
padding: "var(--spacing-md)",
|
|
2860
|
-
marginTop: "var(--spacing-md)",
|
|
3093
|
+
padding: "var(--spacing-md) var(--spacing-xl)",
|
|
2861
3094
|
gap: "var(--spacing-md)",
|
|
2862
3095
|
borderRadius: "var(--radius-xl)"
|
|
2863
3096
|
},
|
|
@@ -2870,8 +3103,8 @@ function StreamoidSidebar({
|
|
|
2870
3103
|
},
|
|
2871
3104
|
children: [
|
|
2872
3105
|
profile.avatar,
|
|
2873
|
-
/* @__PURE__ */ (0,
|
|
2874
|
-
/* @__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)(
|
|
2875
3108
|
"span",
|
|
2876
3109
|
{
|
|
2877
3110
|
className: "text-text-sm-medium truncate",
|
|
@@ -2879,7 +3112,7 @@ function StreamoidSidebar({
|
|
|
2879
3112
|
children: profile.name
|
|
2880
3113
|
}
|
|
2881
3114
|
),
|
|
2882
|
-
profile.subtitle ? /* @__PURE__ */ (0,
|
|
3115
|
+
profile.subtitle ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2883
3116
|
"span",
|
|
2884
3117
|
{
|
|
2885
3118
|
className: "text-text-xs-regular truncate",
|
|
@@ -2891,21 +3124,18 @@ function StreamoidSidebar({
|
|
|
2891
3124
|
]
|
|
2892
3125
|
}
|
|
2893
3126
|
),
|
|
2894
|
-
!
|
|
2895
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { style: { marginTop: "var(--spacing-md)" } }),
|
|
2896
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(HDivider, {})
|
|
2897
|
-
] })
|
|
3127
|
+
!effectiveHideFooter && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}) })
|
|
2898
3128
|
] }) : null,
|
|
2899
|
-
!
|
|
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)(
|
|
2900
3130
|
"div",
|
|
2901
3131
|
{
|
|
2902
3132
|
className: "flex items-center w-full",
|
|
2903
3133
|
style: {
|
|
2904
3134
|
gap: "var(--spacing-xs)",
|
|
2905
|
-
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-
|
|
3135
|
+
padding: "var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-xl)"
|
|
2906
3136
|
},
|
|
2907
3137
|
children: [
|
|
2908
|
-
/* @__PURE__ */ (0,
|
|
3138
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2909
3139
|
"p",
|
|
2910
3140
|
{
|
|
2911
3141
|
className: "flex-1 text-text-sm-regular truncate",
|
|
@@ -2913,7 +3143,7 @@ function StreamoidSidebar({
|
|
|
2913
3143
|
children: versionText
|
|
2914
3144
|
}
|
|
2915
3145
|
),
|
|
2916
|
-
/* @__PURE__ */ (0,
|
|
3146
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2917
3147
|
"div",
|
|
2918
3148
|
{
|
|
2919
3149
|
className: "flex items-center cursor-pointer",
|
|
@@ -2934,12 +3164,12 @@ function StreamoidSidebar({
|
|
|
2934
3164
|
}
|
|
2935
3165
|
);
|
|
2936
3166
|
}
|
|
2937
|
-
return /* @__PURE__ */ (0,
|
|
3167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2938
3168
|
"div",
|
|
2939
3169
|
{
|
|
2940
3170
|
className: `flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
|
|
2941
3171
|
style,
|
|
2942
|
-
children: /* @__PURE__ */ (0,
|
|
3172
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2943
3173
|
"div",
|
|
2944
3174
|
{
|
|
2945
3175
|
className: "flex flex-col h-full items-center justify-center relative shrink-0",
|
|
@@ -2949,7 +3179,7 @@ function StreamoidSidebar({
|
|
|
2949
3179
|
gap: "var(--spacing-xxs)"
|
|
2950
3180
|
},
|
|
2951
3181
|
children: [
|
|
2952
|
-
/* @__PURE__ */ (0,
|
|
3182
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2953
3183
|
"div",
|
|
2954
3184
|
{
|
|
2955
3185
|
"aria-hidden": "true",
|
|
@@ -2959,15 +3189,15 @@ function StreamoidSidebar({
|
|
|
2959
3189
|
}
|
|
2960
3190
|
}
|
|
2961
3191
|
),
|
|
2962
|
-
/* @__PURE__ */ (0,
|
|
3192
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
2963
3193
|
"div",
|
|
2964
3194
|
{
|
|
2965
3195
|
className: "flex flex-col flex-1 items-center min-h-0 overflow-y-auto sidebar-scroll",
|
|
2966
3196
|
style: { gap: "var(--spacing-xxs)" },
|
|
2967
3197
|
children: [
|
|
2968
3198
|
collapsedLogo,
|
|
2969
|
-
config.topItem ? /* @__PURE__ */ (0,
|
|
2970
|
-
/* @__PURE__ */ (0,
|
|
3199
|
+
config.topItem ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
3200
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
2971
3201
|
"div",
|
|
2972
3202
|
{
|
|
2973
3203
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -2977,15 +3207,18 @@ function StreamoidSidebar({
|
|
|
2977
3207
|
sectionId: "top",
|
|
2978
3208
|
expanded: false,
|
|
2979
3209
|
activeItemId,
|
|
3210
|
+
highlightedItemIds,
|
|
2980
3211
|
iconMap,
|
|
2981
|
-
onItemSelect
|
|
3212
|
+
onItemSelect,
|
|
3213
|
+
moreIcon,
|
|
3214
|
+
onMoreClick
|
|
2982
3215
|
})
|
|
2983
3216
|
}
|
|
2984
3217
|
),
|
|
2985
|
-
/* @__PURE__ */ (0,
|
|
3218
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {})
|
|
2986
3219
|
] }) : null,
|
|
2987
|
-
config.sections.map((section, sectionIndex) => /* @__PURE__ */ (0,
|
|
2988
|
-
/* @__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)(
|
|
2989
3222
|
"div",
|
|
2990
3223
|
{
|
|
2991
3224
|
className: "flex flex-col items-start shrink-0",
|
|
@@ -2999,18 +3232,22 @@ function StreamoidSidebar({
|
|
|
2999
3232
|
sectionId: section.id,
|
|
3000
3233
|
expanded: false,
|
|
3001
3234
|
activeItemId,
|
|
3235
|
+
highlightedItemIds,
|
|
3002
3236
|
iconMap,
|
|
3003
|
-
onItemSelect
|
|
3237
|
+
onItemSelect,
|
|
3238
|
+
moreIcon,
|
|
3239
|
+
onMoreClick
|
|
3004
3240
|
})
|
|
3005
3241
|
)
|
|
3006
3242
|
}
|
|
3007
3243
|
),
|
|
3008
|
-
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ (0,
|
|
3244
|
+
sectionIndex < config.sections.length - 1 ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {}) : null
|
|
3009
3245
|
] }, section.id))
|
|
3010
3246
|
]
|
|
3011
3247
|
}
|
|
3012
3248
|
),
|
|
3013
|
-
|
|
3249
|
+
preFooterContent,
|
|
3250
|
+
config.bottomItems?.length ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3014
3251
|
"div",
|
|
3015
3252
|
{
|
|
3016
3253
|
className: "flex flex-col items-center justify-center shrink-0 w-full",
|
|
@@ -3021,15 +3258,18 @@ function StreamoidSidebar({
|
|
|
3021
3258
|
sectionId: "bottom",
|
|
3022
3259
|
expanded: false,
|
|
3023
3260
|
activeItemId,
|
|
3261
|
+
highlightedItemIds,
|
|
3024
3262
|
iconMap,
|
|
3025
|
-
onItemSelect
|
|
3263
|
+
onItemSelect,
|
|
3264
|
+
moreIcon,
|
|
3265
|
+
onMoreClick
|
|
3026
3266
|
})
|
|
3027
3267
|
)
|
|
3028
3268
|
}
|
|
3029
3269
|
) : null,
|
|
3030
|
-
/* @__PURE__ */ (0,
|
|
3031
|
-
profile ? /* @__PURE__ */ (0,
|
|
3032
|
-
/* @__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)(
|
|
3033
3273
|
"div",
|
|
3034
3274
|
{
|
|
3035
3275
|
className: "flex items-center justify-center shrink-0 cursor-pointer",
|
|
@@ -3047,9 +3287,9 @@ function StreamoidSidebar({
|
|
|
3047
3287
|
children: profile.avatar
|
|
3048
3288
|
}
|
|
3049
3289
|
),
|
|
3050
|
-
/* @__PURE__ */ (0,
|
|
3290
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(HDivider, {})
|
|
3051
3291
|
] }) : null,
|
|
3052
|
-
!hideFooter && /* @__PURE__ */ (0,
|
|
3292
|
+
!hideFooter && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
3053
3293
|
"div",
|
|
3054
3294
|
{
|
|
3055
3295
|
className: "shrink-0 flex flex-col items-center",
|
|
@@ -3059,7 +3299,7 @@ function StreamoidSidebar({
|
|
|
3059
3299
|
width: 56
|
|
3060
3300
|
},
|
|
3061
3301
|
children: [
|
|
3062
|
-
/* @__PURE__ */ (0,
|
|
3302
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3063
3303
|
"div",
|
|
3064
3304
|
{
|
|
3065
3305
|
className: "flex items-center cursor-pointer",
|
|
@@ -3071,7 +3311,7 @@ function StreamoidSidebar({
|
|
|
3071
3311
|
children: resolveToggleIcon(toggleIcon, false)
|
|
3072
3312
|
}
|
|
3073
3313
|
),
|
|
3074
|
-
/* @__PURE__ */ (0,
|
|
3314
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
3075
3315
|
"p",
|
|
3076
3316
|
{
|
|
3077
3317
|
className: "text-text-xs-regular text-center truncate",
|
|
@@ -3099,30 +3339,30 @@ var ScSlider_default = {
|
|
|
3099
3339
|
};
|
|
3100
3340
|
|
|
3101
3341
|
// src/SC-Slider/ScSlider.tsx
|
|
3102
|
-
var
|
|
3342
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3103
3343
|
var ScSlider = ({
|
|
3104
3344
|
className,
|
|
3105
3345
|
onValueChange,
|
|
3106
3346
|
...props
|
|
3107
3347
|
}) => {
|
|
3108
|
-
return /* @__PURE__ */ (0,
|
|
3109
|
-
/* @__PURE__ */ (0,
|
|
3110
|
-
/* @__PURE__ */ (0,
|
|
3111
|
-
/* @__PURE__ */ (0,
|
|
3112
|
-
/* @__PURE__ */ (0,
|
|
3113
|
-
/* @__PURE__ */ (0,
|
|
3114
|
-
/* @__PURE__ */ (0,
|
|
3115
|
-
/* @__PURE__ */ (0,
|
|
3116
|
-
/* @__PURE__ */ (0,
|
|
3117
|
-
/* @__PURE__ */ (0,
|
|
3118
|
-
/* @__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 })
|
|
3119
3359
|
] });
|
|
3120
3360
|
};
|
|
3121
3361
|
|
|
3122
3362
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
3123
|
-
var
|
|
3124
|
-
var
|
|
3125
|
-
var
|
|
3363
|
+
var import_react8 = require("react");
|
|
3364
|
+
var import_icons35 = require("@streamoid/icons");
|
|
3365
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
3126
3366
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
3127
3367
|
function deriveInitials(name) {
|
|
3128
3368
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -3140,7 +3380,7 @@ function WorkspaceRow({
|
|
|
3140
3380
|
switchWorkspaceText,
|
|
3141
3381
|
onSwitch
|
|
3142
3382
|
}) {
|
|
3143
|
-
return /* @__PURE__ */ (0,
|
|
3383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3144
3384
|
"div",
|
|
3145
3385
|
{
|
|
3146
3386
|
className: "relative shrink-0 w-full",
|
|
@@ -3150,7 +3390,7 @@ function WorkspaceRow({
|
|
|
3150
3390
|
backdropFilter: "blur(4px)"
|
|
3151
3391
|
},
|
|
3152
3392
|
children: [
|
|
3153
|
-
/* @__PURE__ */ (0,
|
|
3393
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3154
3394
|
"div",
|
|
3155
3395
|
{
|
|
3156
3396
|
"aria-hidden": "true",
|
|
@@ -3161,7 +3401,7 @@ function WorkspaceRow({
|
|
|
3161
3401
|
}
|
|
3162
3402
|
}
|
|
3163
3403
|
),
|
|
3164
|
-
/* @__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)(
|
|
3165
3405
|
"div",
|
|
3166
3406
|
{
|
|
3167
3407
|
className: "flex items-center w-full",
|
|
@@ -3170,20 +3410,20 @@ function WorkspaceRow({
|
|
|
3170
3410
|
padding: "var(--spacing-6xl)"
|
|
3171
3411
|
},
|
|
3172
3412
|
children: [
|
|
3173
|
-
/* @__PURE__ */ (0,
|
|
3413
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3174
3414
|
"div",
|
|
3175
3415
|
{
|
|
3176
3416
|
className: "flex flex-1 items-center min-w-0",
|
|
3177
3417
|
style: { gap: "var(--spacing-xl)" },
|
|
3178
3418
|
children: [
|
|
3179
|
-
/* @__PURE__ */ (0,
|
|
3419
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3180
3420
|
ScIntialProfileCover,
|
|
3181
3421
|
{
|
|
3182
3422
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
3183
3423
|
className: "shrink-0"
|
|
3184
3424
|
}
|
|
3185
3425
|
),
|
|
3186
|
-
/* @__PURE__ */ (0,
|
|
3426
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3187
3427
|
"p",
|
|
3188
3428
|
{
|
|
3189
3429
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -3203,7 +3443,7 @@ function WorkspaceRow({
|
|
|
3203
3443
|
]
|
|
3204
3444
|
}
|
|
3205
3445
|
),
|
|
3206
|
-
/* @__PURE__ */ (0,
|
|
3446
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3207
3447
|
"div",
|
|
3208
3448
|
{
|
|
3209
3449
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3212,7 +3452,7 @@ function WorkspaceRow({
|
|
|
3212
3452
|
padding: "0 var(--spacing-3xl)"
|
|
3213
3453
|
},
|
|
3214
3454
|
children: [
|
|
3215
|
-
/* @__PURE__ */ (0,
|
|
3455
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3216
3456
|
ScRole,
|
|
3217
3457
|
{
|
|
3218
3458
|
type: normalizeRole(workspace.role),
|
|
@@ -3220,23 +3460,23 @@ function WorkspaceRow({
|
|
|
3220
3460
|
style: { width: 80 }
|
|
3221
3461
|
}
|
|
3222
3462
|
),
|
|
3223
|
-
/* @__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)(
|
|
3224
3464
|
"div",
|
|
3225
3465
|
{
|
|
3226
3466
|
className: "flex items-center shrink-0",
|
|
3227
3467
|
style: { gap: "var(--spacing-3xl)" },
|
|
3228
3468
|
children: [
|
|
3229
|
-
/* @__PURE__ */ (0,
|
|
3469
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3230
3470
|
ScPairtext,
|
|
3231
3471
|
{
|
|
3232
|
-
icon: /* @__PURE__ */ (0,
|
|
3472
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons35.SiconTeam, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
3233
3473
|
content: workspace.userCount || "\u2013",
|
|
3234
3474
|
iconPosition: "left",
|
|
3235
3475
|
type: "icon"
|
|
3236
3476
|
}
|
|
3237
3477
|
) }),
|
|
3238
|
-
/* @__PURE__ */ (0,
|
|
3239
|
-
/* @__PURE__ */ (0,
|
|
3478
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScVDivider, {}),
|
|
3479
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3240
3480
|
"div",
|
|
3241
3481
|
{
|
|
3242
3482
|
className: "flex items-center",
|
|
@@ -3246,14 +3486,14 @@ function WorkspaceRow({
|
|
|
3246
3486
|
gap: "var(--spacing-md)"
|
|
3247
3487
|
},
|
|
3248
3488
|
children: [
|
|
3249
|
-
/* @__PURE__ */ (0,
|
|
3250
|
-
|
|
3489
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3490
|
+
import_icons35.SiconCrown,
|
|
3251
3491
|
{
|
|
3252
3492
|
className: "w-6 h-6 shrink-0",
|
|
3253
3493
|
color: PRIMARY_ICON
|
|
3254
3494
|
}
|
|
3255
3495
|
),
|
|
3256
|
-
/* @__PURE__ */ (0,
|
|
3496
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3257
3497
|
"span",
|
|
3258
3498
|
{
|
|
3259
3499
|
className: "truncate",
|
|
@@ -3275,7 +3515,7 @@ function WorkspaceRow({
|
|
|
3275
3515
|
]
|
|
3276
3516
|
}
|
|
3277
3517
|
),
|
|
3278
|
-
workspace.isCurrent ? /* @__PURE__ */ (0,
|
|
3518
|
+
workspace.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3279
3519
|
ScButton,
|
|
3280
3520
|
{
|
|
3281
3521
|
text: currentWorkspaceText,
|
|
@@ -3284,14 +3524,14 @@ function WorkspaceRow({
|
|
|
3284
3524
|
size: "lg",
|
|
3285
3525
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
3286
3526
|
}
|
|
3287
|
-
) : /* @__PURE__ */ (0,
|
|
3527
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3288
3528
|
ScButton,
|
|
3289
3529
|
{
|
|
3290
3530
|
text: switchWorkspaceText,
|
|
3291
3531
|
variant: "secondary",
|
|
3292
3532
|
size: "lg",
|
|
3293
3533
|
styleVariant: "icon-left",
|
|
3294
|
-
icon: /* @__PURE__ */ (0,
|
|
3534
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons35.SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
3295
3535
|
style: { width: 200, flexShrink: 0 },
|
|
3296
3536
|
onClick: onSwitch
|
|
3297
3537
|
}
|
|
@@ -3311,12 +3551,12 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3311
3551
|
onSwitchWorkspace,
|
|
3312
3552
|
config
|
|
3313
3553
|
}) {
|
|
3314
|
-
const modalRef = (0,
|
|
3554
|
+
const modalRef = (0, import_react8.useRef)(null);
|
|
3315
3555
|
const title = config?.title || "Switch workspace";
|
|
3316
3556
|
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
3317
3557
|
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
3318
3558
|
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
3319
|
-
(0,
|
|
3559
|
+
(0, import_react8.useEffect)(() => {
|
|
3320
3560
|
if (!open) return;
|
|
3321
3561
|
function handleKeyDown(e) {
|
|
3322
3562
|
if (e.key === "Escape") onClose();
|
|
@@ -3325,7 +3565,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3325
3565
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
3326
3566
|
}, [open, onClose]);
|
|
3327
3567
|
if (!open) return null;
|
|
3328
|
-
return /* @__PURE__ */ (0,
|
|
3568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3329
3569
|
"div",
|
|
3330
3570
|
{
|
|
3331
3571
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -3333,7 +3573,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3333
3573
|
onClick: (e) => {
|
|
3334
3574
|
if (e.target === e.currentTarget) onClose();
|
|
3335
3575
|
},
|
|
3336
|
-
children: /* @__PURE__ */ (0,
|
|
3576
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3337
3577
|
"div",
|
|
3338
3578
|
{
|
|
3339
3579
|
ref: modalRef,
|
|
@@ -3346,14 +3586,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3346
3586
|
height: "60vh"
|
|
3347
3587
|
},
|
|
3348
3588
|
children: [
|
|
3349
|
-
/* @__PURE__ */ (0,
|
|
3589
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3350
3590
|
"div",
|
|
3351
3591
|
{
|
|
3352
3592
|
className: "shrink-0 w-full relative",
|
|
3353
3593
|
style: {
|
|
3354
3594
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3355
3595
|
},
|
|
3356
|
-
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)(
|
|
3357
3597
|
"div",
|
|
3358
3598
|
{
|
|
3359
3599
|
className: "flex items-center w-full",
|
|
@@ -3362,7 +3602,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3362
3602
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
3363
3603
|
},
|
|
3364
3604
|
children: [
|
|
3365
|
-
/* @__PURE__ */ (0,
|
|
3605
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3366
3606
|
"p",
|
|
3367
3607
|
{
|
|
3368
3608
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -3376,20 +3616,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3376
3616
|
children: title
|
|
3377
3617
|
}
|
|
3378
3618
|
),
|
|
3379
|
-
/* @__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 }) })
|
|
3380
3620
|
]
|
|
3381
3621
|
}
|
|
3382
3622
|
) })
|
|
3383
3623
|
}
|
|
3384
3624
|
),
|
|
3385
|
-
/* @__PURE__ */ (0,
|
|
3625
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3386
3626
|
"div",
|
|
3387
3627
|
{
|
|
3388
3628
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
3389
3629
|
style: {
|
|
3390
3630
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3391
3631
|
},
|
|
3392
|
-
children: /* @__PURE__ */ (0,
|
|
3632
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3393
3633
|
"div",
|
|
3394
3634
|
{
|
|
3395
3635
|
className: "flex flex-col items-start",
|
|
@@ -3398,7 +3638,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3398
3638
|
gap: "var(--spacing-3xl)"
|
|
3399
3639
|
},
|
|
3400
3640
|
children: [
|
|
3401
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */ (0,
|
|
3641
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3402
3642
|
"p",
|
|
3403
3643
|
{
|
|
3404
3644
|
style: {
|
|
@@ -3409,7 +3649,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3409
3649
|
children: loadingText
|
|
3410
3650
|
}
|
|
3411
3651
|
) : null,
|
|
3412
|
-
workspaces.map((ws) => /* @__PURE__ */ (0,
|
|
3652
|
+
workspaces.map((ws) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3413
3653
|
WorkspaceRow,
|
|
3414
3654
|
{
|
|
3415
3655
|
workspace: ws,
|
|
@@ -3447,24 +3687,24 @@ var ScAppListingCard_default = {
|
|
|
3447
3687
|
};
|
|
3448
3688
|
|
|
3449
3689
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3450
|
-
var
|
|
3451
|
-
var
|
|
3690
|
+
var import_icons36 = require("@streamoid/icons");
|
|
3691
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
3452
3692
|
var ScAppListingCard = ({
|
|
3453
|
-
icon = /* @__PURE__ */ (0,
|
|
3693
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_icons36.SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3454
3694
|
title = "Stores",
|
|
3455
3695
|
descrp = "Centralized product and asset management for every storefront",
|
|
3456
3696
|
className,
|
|
3457
3697
|
...props
|
|
3458
3698
|
}) => {
|
|
3459
|
-
return /* @__PURE__ */ (0,
|
|
3460
|
-
/* @__PURE__ */ (0,
|
|
3461
|
-
/* @__PURE__ */ (0,
|
|
3462
|
-
/* @__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: [
|
|
3463
3703
|
title,
|
|
3464
3704
|
" "
|
|
3465
3705
|
] })
|
|
3466
3706
|
] }),
|
|
3467
|
-
/* @__PURE__ */ (0,
|
|
3707
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: ScAppListingCard_default.description, children: [
|
|
3468
3708
|
descrp,
|
|
3469
3709
|
" "
|
|
3470
3710
|
] })
|
|
@@ -3481,23 +3721,23 @@ var ScAppCard_default = {
|
|
|
3481
3721
|
};
|
|
3482
3722
|
|
|
3483
3723
|
// src/SC-appCard/ScAppCard.tsx
|
|
3484
|
-
var
|
|
3485
|
-
var
|
|
3724
|
+
var import_icons37 = require("@streamoid/icons");
|
|
3725
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
3486
3726
|
var ScAppCard = ({
|
|
3487
|
-
appIcon = /* @__PURE__ */ (0,
|
|
3727
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_icons37.SiconArtifacts, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3488
3728
|
appName = "Artifax",
|
|
3489
3729
|
appDescription = "Info about artifax",
|
|
3490
3730
|
className,
|
|
3491
3731
|
...props
|
|
3492
3732
|
}) => {
|
|
3493
|
-
return /* @__PURE__ */ (0,
|
|
3494
|
-
/* @__PURE__ */ (0,
|
|
3495
|
-
/* @__PURE__ */ (0,
|
|
3496
|
-
/* @__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: [
|
|
3497
3737
|
appName,
|
|
3498
3738
|
" "
|
|
3499
3739
|
] }),
|
|
3500
|
-
/* @__PURE__ */ (0,
|
|
3740
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: ScAppCard_default.subtitle, children: [
|
|
3501
3741
|
appDescription,
|
|
3502
3742
|
" "
|
|
3503
3743
|
] })
|
|
@@ -3523,10 +3763,10 @@ var ScAppCardV3_default = {
|
|
|
3523
3763
|
};
|
|
3524
3764
|
|
|
3525
3765
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
3526
|
-
var
|
|
3527
|
-
var
|
|
3766
|
+
var import_icons38 = require("@streamoid/icons");
|
|
3767
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
3528
3768
|
var ScAppCardV3 = ({
|
|
3529
|
-
appIcon = /* @__PURE__ */ (0,
|
|
3769
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons38.SiconCart, { className: ScAppCardV3_default.iconPillIcon }),
|
|
3530
3770
|
appName = "Stores",
|
|
3531
3771
|
description = "Centralized product and asset management for every storefront",
|
|
3532
3772
|
active = false,
|
|
@@ -3538,25 +3778,25 @@ var ScAppCardV3 = ({
|
|
|
3538
3778
|
ScAppCardV3_default.scAppCardV3,
|
|
3539
3779
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
3540
3780
|
].filter(Boolean).join(" ");
|
|
3541
|
-
return /* @__PURE__ */ (0,
|
|
3781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3542
3782
|
"div",
|
|
3543
3783
|
{
|
|
3544
3784
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
3545
3785
|
style,
|
|
3546
3786
|
...props,
|
|
3547
|
-
children: /* @__PURE__ */ (0,
|
|
3548
|
-
/* @__PURE__ */ (0,
|
|
3549
|
-
/* @__PURE__ */ (0,
|
|
3550
|
-
/* @__PURE__ */ (0,
|
|
3551
|
-
/* @__PURE__ */ (0,
|
|
3552
|
-
/* @__PURE__ */ (0,
|
|
3553
|
-
/* @__PURE__ */ (0,
|
|
3554
|
-
/* @__PURE__ */ (0,
|
|
3555
|
-
/* @__PURE__ */ (0,
|
|
3556
|
-
/* @__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 })
|
|
3557
3797
|
] })
|
|
3558
3798
|
] }),
|
|
3559
|
-
/* @__PURE__ */ (0,
|
|
3799
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: ScAppCardV3_default.description, children: description })
|
|
3560
3800
|
] })
|
|
3561
3801
|
] })
|
|
3562
3802
|
}
|
|
@@ -3583,7 +3823,7 @@ var ScArtifaxInvite_default = {
|
|
|
3583
3823
|
};
|
|
3584
3824
|
|
|
3585
3825
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3586
|
-
var
|
|
3826
|
+
var import_icons39 = require("@streamoid/icons");
|
|
3587
3827
|
|
|
3588
3828
|
// src/SC-toggleSwitch/ScToggleSwitch.module.css
|
|
3589
3829
|
var ScToggleSwitch_default = {
|
|
@@ -3594,7 +3834,7 @@ var ScToggleSwitch_default = {
|
|
|
3594
3834
|
};
|
|
3595
3835
|
|
|
3596
3836
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3597
|
-
var
|
|
3837
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
3598
3838
|
var ScToggleSwitch = ({
|
|
3599
3839
|
active = "false",
|
|
3600
3840
|
checked,
|
|
@@ -3604,7 +3844,7 @@ var ScToggleSwitch = ({
|
|
|
3604
3844
|
}) => {
|
|
3605
3845
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3606
3846
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3607
|
-
return /* @__PURE__ */ (0,
|
|
3847
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
3608
3848
|
"div",
|
|
3609
3849
|
{
|
|
3610
3850
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -3614,20 +3854,20 @@ var ScToggleSwitch = ({
|
|
|
3614
3854
|
props.onClick?.(e);
|
|
3615
3855
|
},
|
|
3616
3856
|
style: { cursor: "pointer", ...props.style },
|
|
3617
|
-
children: isActive ? /* @__PURE__ */ (0,
|
|
3618
|
-
/* @__PURE__ */ (0,
|
|
3619
|
-
/* @__PURE__ */ (0,
|
|
3620
|
-
] }) : /* @__PURE__ */ (0,
|
|
3621
|
-
/* @__PURE__ */ (0,
|
|
3622
|
-
/* @__PURE__ */ (0,
|
|
3623
|
-
/* @__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)" })
|
|
3624
3864
|
] })
|
|
3625
3865
|
}
|
|
3626
3866
|
);
|
|
3627
3867
|
};
|
|
3628
3868
|
|
|
3629
3869
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3630
|
-
var
|
|
3870
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
3631
3871
|
var ScArtifaxInvite = ({
|
|
3632
3872
|
active = "true",
|
|
3633
3873
|
appName = "Artifax",
|
|
@@ -3640,22 +3880,22 @@ var ScArtifaxInvite = ({
|
|
|
3640
3880
|
}) => {
|
|
3641
3881
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3642
3882
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3643
|
-
return /* @__PURE__ */ (0,
|
|
3883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
3644
3884
|
"div",
|
|
3645
3885
|
{
|
|
3646
3886
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
3647
3887
|
...props,
|
|
3648
3888
|
children: [
|
|
3649
|
-
/* @__PURE__ */ (0,
|
|
3889
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3650
3890
|
ScAppCard,
|
|
3651
3891
|
{
|
|
3652
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
3892
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_icons39.SiconArtifacts, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
3653
3893
|
appName,
|
|
3654
3894
|
appDescription,
|
|
3655
3895
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
3656
3896
|
}
|
|
3657
3897
|
),
|
|
3658
|
-
/* @__PURE__ */ (0,
|
|
3898
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
3659
3899
|
ScToggleSwitch,
|
|
3660
3900
|
{
|
|
3661
3901
|
checked: isEnabled,
|
|
@@ -3669,7 +3909,7 @@ var ScArtifaxInvite = ({
|
|
|
3669
3909
|
};
|
|
3670
3910
|
|
|
3671
3911
|
// src/SC-appField/ScAppField.tsx
|
|
3672
|
-
var
|
|
3912
|
+
var import_icons45 = require("@streamoid/icons");
|
|
3673
3913
|
|
|
3674
3914
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.module.css
|
|
3675
3915
|
var ScPhtogenixInvite_default = {
|
|
@@ -3680,13 +3920,13 @@ var ScPhtogenixInvite_default = {
|
|
|
3680
3920
|
};
|
|
3681
3921
|
|
|
3682
3922
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3683
|
-
var
|
|
3684
|
-
var
|
|
3923
|
+
var import_icons40 = require("@streamoid/icons");
|
|
3924
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
3685
3925
|
var ScPhtogenixInvite = ({
|
|
3686
3926
|
active = "true",
|
|
3687
3927
|
scAppCardappDescription = "Info about photogenix",
|
|
3688
3928
|
scAppCardappName = "Photogenix",
|
|
3689
|
-
scAppCardappIcon = /* @__PURE__ */ (0,
|
|
3929
|
+
scAppCardappIcon = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_icons40.SiconArtifacts, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3690
3930
|
className,
|
|
3691
3931
|
enabled,
|
|
3692
3932
|
onToggle,
|
|
@@ -3694,12 +3934,12 @@ var ScPhtogenixInvite = ({
|
|
|
3694
3934
|
}) => {
|
|
3695
3935
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3696
3936
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3697
|
-
return /* @__PURE__ */ (0,
|
|
3937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
3698
3938
|
"div",
|
|
3699
3939
|
{
|
|
3700
3940
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
3701
3941
|
children: [
|
|
3702
|
-
/* @__PURE__ */ (0,
|
|
3942
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3703
3943
|
ScAppCard,
|
|
3704
3944
|
{
|
|
3705
3945
|
appIcon: scAppCardappIcon,
|
|
@@ -3708,7 +3948,7 @@ var ScPhtogenixInvite = ({
|
|
|
3708
3948
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
3709
3949
|
}
|
|
3710
3950
|
),
|
|
3711
|
-
/* @__PURE__ */ (0,
|
|
3951
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3712
3952
|
ScToggleSwitch,
|
|
3713
3953
|
{
|
|
3714
3954
|
checked: isEnabled,
|
|
@@ -3738,8 +3978,8 @@ var ScCatalogixInvite_default = {
|
|
|
3738
3978
|
};
|
|
3739
3979
|
|
|
3740
3980
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3741
|
-
var import_icons41 = require("@streamoid/icons");
|
|
3742
3981
|
var import_icons42 = require("@streamoid/icons");
|
|
3982
|
+
var import_icons43 = require("@streamoid/icons");
|
|
3743
3983
|
|
|
3744
3984
|
// src/SC-onlyField/ScOnlyField.module.css
|
|
3745
3985
|
var ScOnlyField_default = {
|
|
@@ -3757,11 +3997,11 @@ var ScOnlyField_default = {
|
|
|
3757
3997
|
};
|
|
3758
3998
|
|
|
3759
3999
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
3760
|
-
var
|
|
3761
|
-
var
|
|
4000
|
+
var import_icons41 = require("@streamoid/icons");
|
|
4001
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
3762
4002
|
var ScOnlyField = ({
|
|
3763
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
3764
|
-
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 }),
|
|
3765
4005
|
state = "default",
|
|
3766
4006
|
tfGroup = "icon-right",
|
|
3767
4007
|
labelGroup = "none",
|
|
@@ -3774,14 +4014,14 @@ var ScOnlyField = ({
|
|
|
3774
4014
|
...props
|
|
3775
4015
|
}) => {
|
|
3776
4016
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
3777
|
-
return /* @__PURE__ */ (0,
|
|
4017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3778
4018
|
"div",
|
|
3779
4019
|
{
|
|
3780
4020
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
3781
4021
|
...props,
|
|
3782
|
-
children: /* @__PURE__ */ (0,
|
|
3783
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
3784
|
-
/* @__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)(
|
|
3785
4025
|
"input",
|
|
3786
4026
|
{
|
|
3787
4027
|
className: ScOnlyField_default.inputText,
|
|
@@ -3801,15 +4041,15 @@ var ScOnlyField = ({
|
|
|
3801
4041
|
...inputProps
|
|
3802
4042
|
}
|
|
3803
4043
|
),
|
|
3804
|
-
(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 })
|
|
3805
4045
|
] })
|
|
3806
4046
|
}
|
|
3807
4047
|
);
|
|
3808
4048
|
};
|
|
3809
4049
|
|
|
3810
4050
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3811
|
-
var
|
|
3812
|
-
var
|
|
4051
|
+
var import_icons44 = require("@streamoid/icons");
|
|
4052
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
3813
4053
|
var ScCatalogixInvite = ({
|
|
3814
4054
|
active = "false",
|
|
3815
4055
|
appName = "Catalogix",
|
|
@@ -3831,23 +4071,23 @@ var ScCatalogixInvite = ({
|
|
|
3831
4071
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3832
4072
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3833
4073
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
3834
|
-
return /* @__PURE__ */ (0,
|
|
4074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
3835
4075
|
"div",
|
|
3836
4076
|
{
|
|
3837
4077
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
3838
4078
|
...props,
|
|
3839
4079
|
children: [
|
|
3840
|
-
/* @__PURE__ */ (0,
|
|
3841
|
-
/* @__PURE__ */ (0,
|
|
4080
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
4081
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3842
4082
|
ScAppCard,
|
|
3843
4083
|
{
|
|
3844
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
4084
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons42.SiconArtifacts, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
3845
4085
|
appDescription,
|
|
3846
4086
|
appName,
|
|
3847
4087
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
3848
4088
|
}
|
|
3849
4089
|
),
|
|
3850
|
-
/* @__PURE__ */ (0,
|
|
4090
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3851
4091
|
ScToggleSwitch,
|
|
3852
4092
|
{
|
|
3853
4093
|
checked: isEnabled,
|
|
@@ -3856,29 +4096,29 @@ var ScCatalogixInvite = ({
|
|
|
3856
4096
|
}
|
|
3857
4097
|
)
|
|
3858
4098
|
] }),
|
|
3859
|
-
isEnabled && /* @__PURE__ */ (0,
|
|
3860
|
-
/* @__PURE__ */ (0,
|
|
3861
|
-
/* @__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: [
|
|
3862
4102
|
storeAccessTitle,
|
|
3863
4103
|
" "
|
|
3864
4104
|
] }),
|
|
3865
|
-
/* @__PURE__ */ (0,
|
|
4105
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
3866
4106
|
displayCount,
|
|
3867
4107
|
" "
|
|
3868
4108
|
] })
|
|
3869
4109
|
] }),
|
|
3870
|
-
/* @__PURE__ */ (0,
|
|
4110
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3871
4111
|
ScOnlyField,
|
|
3872
4112
|
{
|
|
3873
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
3874
|
-
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 }),
|
|
3875
4115
|
placeholderFilled: searchPlaceholder,
|
|
3876
4116
|
value: searchValue,
|
|
3877
4117
|
onInputChange: onSearchChange,
|
|
3878
4118
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
3879
4119
|
}
|
|
3880
4120
|
),
|
|
3881
|
-
/* @__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)(
|
|
3882
4122
|
ScPairtext,
|
|
3883
4123
|
{
|
|
3884
4124
|
content: store.name,
|
|
@@ -3889,53 +4129,53 @@ var ScCatalogixInvite = ({
|
|
|
3889
4129
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3890
4130
|
},
|
|
3891
4131
|
store.id
|
|
3892
|
-
)) : /* @__PURE__ */ (0,
|
|
4132
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { style: {
|
|
3893
4133
|
padding: "var(--spacing-3xl, 16px)",
|
|
3894
4134
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
3895
4135
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
3896
4136
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
3897
4137
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
3898
|
-
}, children: "No stores found" }) : /* @__PURE__ */ (0,
|
|
3899
|
-
/* @__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)(
|
|
3900
4140
|
ScPairtext,
|
|
3901
4141
|
{
|
|
3902
|
-
icon: /* @__PURE__ */ (0,
|
|
4142
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3903
4143
|
iconPosition: "right",
|
|
3904
4144
|
type: "checkbox",
|
|
3905
4145
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3906
4146
|
}
|
|
3907
4147
|
),
|
|
3908
|
-
/* @__PURE__ */ (0,
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3909
4149
|
ScPairtext,
|
|
3910
4150
|
{
|
|
3911
|
-
icon: /* @__PURE__ */ (0,
|
|
4151
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3912
4152
|
iconPosition: "right",
|
|
3913
4153
|
type: "checkbox",
|
|
3914
4154
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3915
4155
|
}
|
|
3916
4156
|
),
|
|
3917
|
-
/* @__PURE__ */ (0,
|
|
4157
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3918
4158
|
ScPairtext,
|
|
3919
4159
|
{
|
|
3920
|
-
icon: /* @__PURE__ */ (0,
|
|
4160
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3921
4161
|
iconPosition: "right",
|
|
3922
4162
|
type: "checkbox",
|
|
3923
4163
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3924
4164
|
}
|
|
3925
4165
|
),
|
|
3926
|
-
/* @__PURE__ */ (0,
|
|
4166
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3927
4167
|
ScPairtext,
|
|
3928
4168
|
{
|
|
3929
|
-
icon: /* @__PURE__ */ (0,
|
|
4169
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3930
4170
|
iconPosition: "right",
|
|
3931
4171
|
type: "checkbox",
|
|
3932
4172
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
3933
4173
|
}
|
|
3934
4174
|
),
|
|
3935
|
-
/* @__PURE__ */ (0,
|
|
4175
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3936
4176
|
ScPairtext,
|
|
3937
4177
|
{
|
|
3938
|
-
icon: /* @__PURE__ */ (0,
|
|
4178
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons44.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
3939
4179
|
iconPosition: "right",
|
|
3940
4180
|
type: "checkbox",
|
|
3941
4181
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -3949,7 +4189,7 @@ var ScCatalogixInvite = ({
|
|
|
3949
4189
|
};
|
|
3950
4190
|
|
|
3951
4191
|
// src/SC-appField/ScAppField.tsx
|
|
3952
|
-
var
|
|
4192
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
3953
4193
|
var ScAppField = ({
|
|
3954
4194
|
appFieldTitle = "App permission",
|
|
3955
4195
|
className,
|
|
@@ -3966,13 +4206,13 @@ var ScAppField = ({
|
|
|
3966
4206
|
onCatalogixSearchChange,
|
|
3967
4207
|
...props
|
|
3968
4208
|
}) => {
|
|
3969
|
-
return /* @__PURE__ */ (0,
|
|
3970
|
-
/* @__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: [
|
|
3971
4211
|
appFieldTitle,
|
|
3972
4212
|
" "
|
|
3973
4213
|
] }) }),
|
|
3974
|
-
/* @__PURE__ */ (0,
|
|
3975
|
-
/* @__PURE__ */ (0,
|
|
4214
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
|
|
4215
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3976
4216
|
ScArtifaxInvite,
|
|
3977
4217
|
{
|
|
3978
4218
|
enabled: artifaxEnabled,
|
|
@@ -3980,18 +4220,18 @@ var ScAppField = ({
|
|
|
3980
4220
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
3981
4221
|
}
|
|
3982
4222
|
),
|
|
3983
|
-
/* @__PURE__ */ (0,
|
|
4223
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3984
4224
|
ScPhtogenixInvite,
|
|
3985
4225
|
{
|
|
3986
4226
|
enabled: photogenixEnabled,
|
|
3987
4227
|
onToggle: onPhotogenixToggle,
|
|
3988
4228
|
scAppCardappDescription: "Info about photogenix",
|
|
3989
4229
|
scAppCardappName: "Photogenix",
|
|
3990
|
-
scAppCardappIcon: /* @__PURE__ */ (0,
|
|
4230
|
+
scAppCardappIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_icons45.SiconPhotogenix, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
3991
4231
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
3992
4232
|
}
|
|
3993
4233
|
),
|
|
3994
|
-
/* @__PURE__ */ (0,
|
|
4234
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3995
4235
|
ScCatalogixInvite,
|
|
3996
4236
|
{
|
|
3997
4237
|
enabled: catalogixEnabled,
|
|
@@ -4018,13 +4258,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
4018
4258
|
};
|
|
4019
4259
|
|
|
4020
4260
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
4021
|
-
var
|
|
4261
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4022
4262
|
var ScBillingHistoryHeader = ({
|
|
4023
4263
|
className,
|
|
4024
4264
|
...props
|
|
4025
4265
|
}) => {
|
|
4026
|
-
return /* @__PURE__ */ (0,
|
|
4027
|
-
/* @__PURE__ */ (0,
|
|
4266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
4267
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4028
4268
|
ScHeader,
|
|
4029
4269
|
{
|
|
4030
4270
|
text: "Invoice",
|
|
@@ -4032,7 +4272,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4032
4272
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
4033
4273
|
}
|
|
4034
4274
|
),
|
|
4035
|
-
/* @__PURE__ */ (0,
|
|
4275
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4036
4276
|
ScHeader,
|
|
4037
4277
|
{
|
|
4038
4278
|
text: "Amount",
|
|
@@ -4040,7 +4280,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4040
4280
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4041
4281
|
}
|
|
4042
4282
|
),
|
|
4043
|
-
/* @__PURE__ */ (0,
|
|
4283
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4044
4284
|
ScHeader,
|
|
4045
4285
|
{
|
|
4046
4286
|
text: "Date",
|
|
@@ -4048,7 +4288,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4048
4288
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4049
4289
|
}
|
|
4050
4290
|
),
|
|
4051
|
-
/* @__PURE__ */ (0,
|
|
4291
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4052
4292
|
ScHeader,
|
|
4053
4293
|
{
|
|
4054
4294
|
text: "Action",
|
|
@@ -4069,20 +4309,20 @@ var ScCheckField_default = {
|
|
|
4069
4309
|
};
|
|
4070
4310
|
|
|
4071
4311
|
// src/SC-checkField/ScCheckField.tsx
|
|
4072
|
-
var
|
|
4073
|
-
var
|
|
4312
|
+
var import_icons46 = require("@streamoid/icons");
|
|
4313
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4074
4314
|
var ScCheckField = ({
|
|
4075
4315
|
label = "Label",
|
|
4076
4316
|
className,
|
|
4077
4317
|
checkboxes,
|
|
4078
4318
|
...props
|
|
4079
4319
|
}) => {
|
|
4080
|
-
return /* @__PURE__ */ (0,
|
|
4081
|
-
/* @__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: [
|
|
4082
4322
|
label,
|
|
4083
4323
|
" "
|
|
4084
4324
|
] }) }),
|
|
4085
|
-
/* @__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)(
|
|
4086
4326
|
ScPairtext,
|
|
4087
4327
|
{
|
|
4088
4328
|
content: item.label,
|
|
@@ -4092,19 +4332,19 @@ var ScCheckField = ({
|
|
|
4092
4332
|
className: ScCheckField_default.scPairtextInstance
|
|
4093
4333
|
},
|
|
4094
4334
|
i
|
|
4095
|
-
)) : /* @__PURE__ */ (0,
|
|
4096
|
-
/* @__PURE__ */ (0,
|
|
4335
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
4336
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4097
4337
|
ScPairtext,
|
|
4098
4338
|
{
|
|
4099
|
-
icon: /* @__PURE__ */ (0,
|
|
4339
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons46.SiconHome, { className: ScCheckField_default.siconHomeInstance }),
|
|
4100
4340
|
type: "checkbox",
|
|
4101
4341
|
className: ScCheckField_default.scPairtextInstance
|
|
4102
4342
|
}
|
|
4103
4343
|
),
|
|
4104
|
-
/* @__PURE__ */ (0,
|
|
4344
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4105
4345
|
ScPairtext,
|
|
4106
4346
|
{
|
|
4107
|
-
icon: /* @__PURE__ */ (0,
|
|
4347
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons46.SiconHome, { className: ScCheckField_default.siconHomeInstance }),
|
|
4108
4348
|
type: "checkbox",
|
|
4109
4349
|
className: ScCheckField_default.scPairtextInstance
|
|
4110
4350
|
}
|
|
@@ -4124,10 +4364,10 @@ var ScFieldButton_default = {
|
|
|
4124
4364
|
};
|
|
4125
4365
|
|
|
4126
4366
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4127
|
-
var
|
|
4128
|
-
var
|
|
4367
|
+
var import_icons47 = require("@streamoid/icons");
|
|
4368
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
4129
4369
|
var ScFieldButton = ({
|
|
4130
|
-
icon = /* @__PURE__ */ (0,
|
|
4370
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_icons47.SiconHome, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4131
4371
|
type = "default",
|
|
4132
4372
|
state = "default",
|
|
4133
4373
|
className,
|
|
@@ -4135,18 +4375,18 @@ var ScFieldButton = ({
|
|
|
4135
4375
|
...props
|
|
4136
4376
|
}) => {
|
|
4137
4377
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
4138
|
-
return /* @__PURE__ */ (0,
|
|
4378
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
4139
4379
|
"div",
|
|
4140
4380
|
{
|
|
4141
4381
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4142
4382
|
...props,
|
|
4143
|
-
children: /* @__PURE__ */ (0,
|
|
4144
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0,
|
|
4145
|
-
(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: [
|
|
4146
4386
|
text,
|
|
4147
4387
|
" "
|
|
4148
4388
|
] }) }),
|
|
4149
|
-
type === "icon-left" && /* @__PURE__ */ (0,
|
|
4389
|
+
type === "icon-left" && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: icon })
|
|
4150
4390
|
] })
|
|
4151
4391
|
}
|
|
4152
4392
|
);
|
|
@@ -4160,17 +4400,17 @@ var ScPendingAction_default = {
|
|
|
4160
4400
|
};
|
|
4161
4401
|
|
|
4162
4402
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
4163
|
-
var
|
|
4164
|
-
var
|
|
4403
|
+
var import_icons48 = require("@streamoid/icons");
|
|
4404
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
4165
4405
|
var ScPendingAction = ({
|
|
4166
4406
|
className,
|
|
4167
4407
|
...props
|
|
4168
4408
|
}) => {
|
|
4169
|
-
return /* @__PURE__ */ (0,
|
|
4170
|
-
/* @__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)(
|
|
4171
4411
|
ScButton,
|
|
4172
4412
|
{
|
|
4173
|
-
icon: /* @__PURE__ */ (0,
|
|
4413
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_icons48.SiconHome, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4174
4414
|
text: "Cancel",
|
|
4175
4415
|
variant: "error",
|
|
4176
4416
|
type: "tertiary",
|
|
@@ -4178,11 +4418,11 @@ var ScPendingAction = ({
|
|
|
4178
4418
|
className: ScPendingAction_default.scButtonInstance
|
|
4179
4419
|
}
|
|
4180
4420
|
),
|
|
4181
|
-
/* @__PURE__ */ (0,
|
|
4182
|
-
/* @__PURE__ */ (0,
|
|
4421
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
4422
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4183
4423
|
ScButton,
|
|
4184
4424
|
{
|
|
4185
|
-
icon: /* @__PURE__ */ (0,
|
|
4425
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_icons48.SiconHome, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4186
4426
|
text: "Resend",
|
|
4187
4427
|
variant: "tertiary",
|
|
4188
4428
|
size: "sm",
|
|
@@ -4205,8 +4445,8 @@ var ScQuickPrompt_default = {
|
|
|
4205
4445
|
};
|
|
4206
4446
|
|
|
4207
4447
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
4208
|
-
var
|
|
4209
|
-
var
|
|
4448
|
+
var import_icons49 = require("@streamoid/icons");
|
|
4449
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
4210
4450
|
var ScQuickPrompt = ({
|
|
4211
4451
|
appName = "Photogenix",
|
|
4212
4452
|
heading = "Swap Model and Background",
|
|
@@ -4214,20 +4454,20 @@ var ScQuickPrompt = ({
|
|
|
4214
4454
|
className,
|
|
4215
4455
|
...props
|
|
4216
4456
|
}) => {
|
|
4217
|
-
return /* @__PURE__ */ (0,
|
|
4218
|
-
/* @__PURE__ */ (0,
|
|
4219
|
-
/* @__PURE__ */ (0,
|
|
4220
|
-
/* @__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: [
|
|
4221
4461
|
appName,
|
|
4222
4462
|
" "
|
|
4223
4463
|
] }) })
|
|
4224
4464
|
] }),
|
|
4225
|
-
/* @__PURE__ */ (0,
|
|
4226
|
-
/* @__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: [
|
|
4227
4467
|
heading,
|
|
4228
4468
|
" "
|
|
4229
4469
|
] }),
|
|
4230
|
-
/* @__PURE__ */ (0,
|
|
4470
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
|
|
4231
4471
|
description,
|
|
4232
4472
|
" "
|
|
4233
4473
|
] })
|
|
@@ -4244,13 +4484,13 @@ var ScReferralTableHeader_default = {
|
|
|
4244
4484
|
};
|
|
4245
4485
|
|
|
4246
4486
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
4247
|
-
var
|
|
4487
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
4248
4488
|
var ScReferralTableHeader = ({
|
|
4249
4489
|
className,
|
|
4250
4490
|
...props
|
|
4251
4491
|
}) => {
|
|
4252
|
-
return /* @__PURE__ */ (0,
|
|
4253
|
-
/* @__PURE__ */ (0,
|
|
4492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
4493
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4254
4494
|
ScHeader,
|
|
4255
4495
|
{
|
|
4256
4496
|
text: "User",
|
|
@@ -4258,7 +4498,7 @@ var ScReferralTableHeader = ({
|
|
|
4258
4498
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
4259
4499
|
}
|
|
4260
4500
|
),
|
|
4261
|
-
/* @__PURE__ */ (0,
|
|
4501
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4262
4502
|
ScHeader,
|
|
4263
4503
|
{
|
|
4264
4504
|
text: "Date",
|
|
@@ -4266,7 +4506,7 @@ var ScReferralTableHeader = ({
|
|
|
4266
4506
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
4267
4507
|
}
|
|
4268
4508
|
),
|
|
4269
|
-
/* @__PURE__ */ (0,
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4270
4510
|
ScHeader,
|
|
4271
4511
|
{
|
|
4272
4512
|
text: "Status",
|
|
@@ -4274,7 +4514,7 @@ var ScReferralTableHeader = ({
|
|
|
4274
4514
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
4275
4515
|
}
|
|
4276
4516
|
),
|
|
4277
|
-
/* @__PURE__ */ (0,
|
|
4517
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4278
4518
|
ScHeader,
|
|
4279
4519
|
{
|
|
4280
4520
|
text: "Reward",
|
|
@@ -4295,7 +4535,7 @@ var ScReferralTableList_default = {
|
|
|
4295
4535
|
};
|
|
4296
4536
|
|
|
4297
4537
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4298
|
-
var
|
|
4538
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
4299
4539
|
var ScReferralTableList = ({
|
|
4300
4540
|
userEmail = "chris@kepler.com",
|
|
4301
4541
|
userName,
|
|
@@ -4305,8 +4545,8 @@ var ScReferralTableList = ({
|
|
|
4305
4545
|
className,
|
|
4306
4546
|
...props
|
|
4307
4547
|
}) => {
|
|
4308
|
-
return /* @__PURE__ */ (0,
|
|
4309
|
-
/* @__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)(
|
|
4310
4550
|
ScProfile,
|
|
4311
4551
|
{
|
|
4312
4552
|
subText: userEmail,
|
|
@@ -4314,12 +4554,12 @@ var ScReferralTableList = ({
|
|
|
4314
4554
|
className: ScReferralTableList_default.scProfileInstance
|
|
4315
4555
|
}
|
|
4316
4556
|
),
|
|
4317
|
-
/* @__PURE__ */ (0,
|
|
4557
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScReferralTableList_default.date, children: [
|
|
4318
4558
|
date,
|
|
4319
4559
|
" "
|
|
4320
4560
|
] }),
|
|
4321
|
-
/* @__PURE__ */ (0,
|
|
4322
|
-
/* @__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: [
|
|
4323
4563
|
points,
|
|
4324
4564
|
" "
|
|
4325
4565
|
] })
|
|
@@ -4333,35 +4573,35 @@ var ScSettingsNav_default = {
|
|
|
4333
4573
|
};
|
|
4334
4574
|
|
|
4335
4575
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4336
|
-
var import_icons49 = require("@streamoid/icons");
|
|
4337
4576
|
var import_icons50 = require("@streamoid/icons");
|
|
4338
|
-
var
|
|
4577
|
+
var import_icons51 = require("@streamoid/icons");
|
|
4578
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
4339
4579
|
var ScSettingsNav = ({
|
|
4340
4580
|
className,
|
|
4341
4581
|
...props
|
|
4342
4582
|
}) => {
|
|
4343
|
-
return /* @__PURE__ */ (0,
|
|
4344
|
-
/* @__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)(
|
|
4345
4585
|
ScSidebarMenu,
|
|
4346
4586
|
{
|
|
4347
|
-
icon: /* @__PURE__ */ (0,
|
|
4587
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons50.SiconTeam, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
4348
4588
|
text: "Profile",
|
|
4349
4589
|
state: "active",
|
|
4350
4590
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4351
4591
|
}
|
|
4352
4592
|
),
|
|
4353
|
-
/* @__PURE__ */ (0,
|
|
4593
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
4354
4594
|
ScSidebarMenu,
|
|
4355
4595
|
{
|
|
4356
|
-
icon: /* @__PURE__ */ (0,
|
|
4596
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons51.SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
4357
4597
|
text: "Workspace",
|
|
4358
4598
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4359
4599
|
}
|
|
4360
4600
|
),
|
|
4361
|
-
/* @__PURE__ */ (0,
|
|
4601
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
4362
4602
|
ScSidebarMenu,
|
|
4363
4603
|
{
|
|
4364
|
-
icon: /* @__PURE__ */ (0,
|
|
4604
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons51.SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
4365
4605
|
text: "Referral",
|
|
4366
4606
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4367
4607
|
}
|
|
@@ -4377,7 +4617,7 @@ var ScTabField_default = {
|
|
|
4377
4617
|
};
|
|
4378
4618
|
|
|
4379
4619
|
// src/SC-tabField/ScTabField.tsx
|
|
4380
|
-
var
|
|
4620
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
4381
4621
|
var ScTabField = ({
|
|
4382
4622
|
label = "Label",
|
|
4383
4623
|
className,
|
|
@@ -4386,17 +4626,17 @@ var ScTabField = ({
|
|
|
4386
4626
|
onTabChange,
|
|
4387
4627
|
...props
|
|
4388
4628
|
}) => {
|
|
4389
|
-
return /* @__PURE__ */ (0,
|
|
4390
|
-
/* @__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: [
|
|
4391
4631
|
label,
|
|
4392
4632
|
" "
|
|
4393
4633
|
] }) }),
|
|
4394
|
-
tabs ? /* @__PURE__ */ (0,
|
|
4634
|
+
tabs ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4395
4635
|
ScTabSwitcher,
|
|
4396
4636
|
{
|
|
4397
4637
|
tabCount: String(tabs.length),
|
|
4398
4638
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
4399
|
-
component: tabs[0] ? /* @__PURE__ */ (0,
|
|
4639
|
+
component: tabs[0] ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4400
4640
|
ScTabComp,
|
|
4401
4641
|
{
|
|
4402
4642
|
text: tabs[0].label,
|
|
@@ -4406,7 +4646,7 @@ var ScTabField = ({
|
|
|
4406
4646
|
style: { flex: 1 }
|
|
4407
4647
|
}
|
|
4408
4648
|
) : void 0,
|
|
4409
|
-
component2: tabs[1] ? /* @__PURE__ */ (0,
|
|
4649
|
+
component2: tabs[1] ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4410
4650
|
ScTabComp,
|
|
4411
4651
|
{
|
|
4412
4652
|
text: tabs[1].label,
|
|
@@ -4417,7 +4657,7 @@ var ScTabField = ({
|
|
|
4417
4657
|
}
|
|
4418
4658
|
) : void 0
|
|
4419
4659
|
}
|
|
4420
|
-
) : /* @__PURE__ */ (0,
|
|
4660
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4421
4661
|
] });
|
|
4422
4662
|
};
|
|
4423
4663
|
|
|
@@ -4434,19 +4674,19 @@ var ScTableHeader_default = {
|
|
|
4434
4674
|
};
|
|
4435
4675
|
|
|
4436
4676
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4437
|
-
var
|
|
4677
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
4438
4678
|
var ScTableHeader = ({
|
|
4439
4679
|
type = "default",
|
|
4440
4680
|
className,
|
|
4441
4681
|
...props
|
|
4442
4682
|
}) => {
|
|
4443
4683
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4444
|
-
return /* @__PURE__ */ (0,
|
|
4684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
4445
4685
|
"div",
|
|
4446
4686
|
{
|
|
4447
4687
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
4448
4688
|
children: [
|
|
4449
|
-
/* @__PURE__ */ (0,
|
|
4689
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4450
4690
|
ScHeader,
|
|
4451
4691
|
{
|
|
4452
4692
|
text: "User",
|
|
@@ -4454,7 +4694,7 @@ var ScTableHeader = ({
|
|
|
4454
4694
|
className: ScTableHeader_default.scHeaderInstance
|
|
4455
4695
|
}
|
|
4456
4696
|
),
|
|
4457
|
-
/* @__PURE__ */ (0,
|
|
4697
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4458
4698
|
ScHeader,
|
|
4459
4699
|
{
|
|
4460
4700
|
text: "Role",
|
|
@@ -4462,7 +4702,7 @@ var ScTableHeader = ({
|
|
|
4462
4702
|
className: ScTableHeader_default.scHeaderInstance2
|
|
4463
4703
|
}
|
|
4464
4704
|
),
|
|
4465
|
-
/* @__PURE__ */ (0,
|
|
4705
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4466
4706
|
ScHeader,
|
|
4467
4707
|
{
|
|
4468
4708
|
text: "Access",
|
|
@@ -4470,7 +4710,7 @@ var ScTableHeader = ({
|
|
|
4470
4710
|
className: ScTableHeader_default.scHeaderInstance3
|
|
4471
4711
|
}
|
|
4472
4712
|
),
|
|
4473
|
-
/* @__PURE__ */ (0,
|
|
4713
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4474
4714
|
ScHeader,
|
|
4475
4715
|
{
|
|
4476
4716
|
text: "Invited by",
|
|
@@ -4478,7 +4718,7 @@ var ScTableHeader = ({
|
|
|
4478
4718
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4479
4719
|
}
|
|
4480
4720
|
),
|
|
4481
|
-
type === "pending" && /* @__PURE__ */ (0,
|
|
4721
|
+
type === "pending" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx_runtime62.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4482
4722
|
ScHeader,
|
|
4483
4723
|
{
|
|
4484
4724
|
text: "Invite action",
|
|
@@ -4486,7 +4726,7 @@ var ScTableHeader = ({
|
|
|
4486
4726
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4487
4727
|
}
|
|
4488
4728
|
) }),
|
|
4489
|
-
type === "default" && /* @__PURE__ */ (0,
|
|
4729
|
+
type === "default" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx_runtime62.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4490
4730
|
ScHeader,
|
|
4491
4731
|
{
|
|
4492
4732
|
text: "Signed On",
|
|
@@ -4518,9 +4758,9 @@ var ScTableList_default = {
|
|
|
4518
4758
|
};
|
|
4519
4759
|
|
|
4520
4760
|
// src/SC-tableList/ScTableList.tsx
|
|
4521
|
-
var import_icons51 = require("@streamoid/icons");
|
|
4522
4761
|
var import_icons52 = require("@streamoid/icons");
|
|
4523
|
-
var
|
|
4762
|
+
var import_icons53 = require("@streamoid/icons");
|
|
4763
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
4524
4764
|
var ScTableList = ({
|
|
4525
4765
|
invitedBy = "Rohan",
|
|
4526
4766
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4532,51 +4772,51 @@ var ScTableList = ({
|
|
|
4532
4772
|
...props
|
|
4533
4773
|
}) => {
|
|
4534
4774
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4535
|
-
return /* @__PURE__ */ (0,
|
|
4775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
4536
4776
|
"div",
|
|
4537
4777
|
{
|
|
4538
4778
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
4539
4779
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
4540
4780
|
...props,
|
|
4541
4781
|
children: [
|
|
4542
|
-
/* @__PURE__ */ (0,
|
|
4782
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4543
4783
|
ScProfile,
|
|
4544
4784
|
{
|
|
4545
4785
|
subText: userEmail,
|
|
4546
4786
|
className: ScTableList_default.scProfileInstance
|
|
4547
4787
|
}
|
|
4548
4788
|
),
|
|
4549
|
-
/* @__PURE__ */ (0,
|
|
4550
|
-
/* @__PURE__ */ (0,
|
|
4551
|
-
/* @__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)(
|
|
4552
4792
|
ScAccess,
|
|
4553
4793
|
{
|
|
4554
|
-
component: /* @__PURE__ */ (0,
|
|
4555
|
-
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 }),
|
|
4556
4796
|
className: ScTableList_default.scAccessInstance
|
|
4557
4797
|
}
|
|
4558
4798
|
),
|
|
4559
|
-
/* @__PURE__ */ (0,
|
|
4799
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4560
4800
|
ScAccess,
|
|
4561
4801
|
{
|
|
4562
|
-
component: /* @__PURE__ */ (0,
|
|
4563
|
-
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 }),
|
|
4564
4804
|
visibleSiconCatalogix: false,
|
|
4565
4805
|
className: ScTableList_default.scAccessInstance
|
|
4566
4806
|
}
|
|
4567
4807
|
)
|
|
4568
4808
|
] }),
|
|
4569
|
-
/* @__PURE__ */ (0,
|
|
4809
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: ScTableList_default.userName, children: [
|
|
4570
4810
|
invitedBy,
|
|
4571
4811
|
" "
|
|
4572
4812
|
] }),
|
|
4573
|
-
variant === "pending" && /* @__PURE__ */ (0,
|
|
4813
|
+
variant === "pending" && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_jsx_runtime63.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4574
4814
|
ScPendingAction,
|
|
4575
4815
|
{
|
|
4576
4816
|
className: ScTableList_default.scPendingActionInstance
|
|
4577
4817
|
}
|
|
4578
4818
|
) }),
|
|
4579
|
-
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: [
|
|
4580
4820
|
signedOn,
|
|
4581
4821
|
" "
|
|
4582
4822
|
] }) })
|
|
@@ -4605,8 +4845,8 @@ var ScWorkspaceCard_default = {
|
|
|
4605
4845
|
};
|
|
4606
4846
|
|
|
4607
4847
|
// src/SC-workspaceCard/ScWorkspaceCard.tsx
|
|
4608
|
-
var
|
|
4609
|
-
var
|
|
4848
|
+
var import_icons54 = require("@streamoid/icons");
|
|
4849
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
4610
4850
|
var ScWorkspaceCard = ({
|
|
4611
4851
|
workspaceName = "Stores",
|
|
4612
4852
|
role = "Admin",
|
|
@@ -4616,21 +4856,21 @@ var ScWorkspaceCard = ({
|
|
|
4616
4856
|
className,
|
|
4617
4857
|
...props
|
|
4618
4858
|
}) => {
|
|
4619
|
-
return /* @__PURE__ */ (0,
|
|
4620
|
-
/* @__PURE__ */ (0,
|
|
4621
|
-
/* @__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)(
|
|
4622
4862
|
ScIntialProfileCover,
|
|
4623
4863
|
{
|
|
4624
4864
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4625
4865
|
}
|
|
4626
4866
|
),
|
|
4627
|
-
/* @__PURE__ */ (0,
|
|
4867
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4628
4868
|
workspaceName,
|
|
4629
4869
|
" "
|
|
4630
4870
|
] })
|
|
4631
4871
|
] }),
|
|
4632
|
-
/* @__PURE__ */ (0,
|
|
4633
|
-
/* @__PURE__ */ (0,
|
|
4872
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
4873
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4634
4874
|
ScBadges,
|
|
4635
4875
|
{
|
|
4636
4876
|
text: role,
|
|
@@ -4638,41 +4878,41 @@ var ScWorkspaceCard = ({
|
|
|
4638
4878
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4639
4879
|
}
|
|
4640
4880
|
),
|
|
4641
|
-
/* @__PURE__ */ (0,
|
|
4642
|
-
/* @__PURE__ */ (0,
|
|
4881
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
4882
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4643
4883
|
ScPairtext,
|
|
4644
4884
|
{
|
|
4645
|
-
icon: /* @__PURE__ */ (0,
|
|
4885
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconTeam, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
4646
4886
|
content: userCount,
|
|
4647
4887
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4648
4888
|
}
|
|
4649
4889
|
),
|
|
4650
|
-
/* @__PURE__ */ (0,
|
|
4651
|
-
/* @__PURE__ */ (0,
|
|
4890
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
4891
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4652
4892
|
ScPairtext,
|
|
4653
4893
|
{
|
|
4654
|
-
icon: /* @__PURE__ */ (0,
|
|
4894
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconCrown, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
4655
4895
|
content: ownerEmail,
|
|
4656
4896
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4657
4897
|
}
|
|
4658
4898
|
)
|
|
4659
4899
|
] })
|
|
4660
4900
|
] }),
|
|
4661
|
-
/* @__PURE__ */ (0,
|
|
4901
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4662
4902
|
ScButton,
|
|
4663
4903
|
{
|
|
4664
|
-
icon: /* @__PURE__ */ (0,
|
|
4904
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconSwitch, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
4665
4905
|
text: buttonText,
|
|
4666
4906
|
state: "disabled",
|
|
4667
4907
|
variant: "outline",
|
|
4668
4908
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
4669
4909
|
}
|
|
4670
4910
|
),
|
|
4671
|
-
/* @__PURE__ */ (0,
|
|
4911
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4672
4912
|
ScButton,
|
|
4673
4913
|
{
|
|
4674
4914
|
text: "Leave workspace",
|
|
4675
|
-
icon: /* @__PURE__ */ (0,
|
|
4915
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_icons54.SiconLogout, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
4676
4916
|
styleVariant: "icon-only",
|
|
4677
4917
|
variant: "error",
|
|
4678
4918
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -4682,8 +4922,8 @@ var ScWorkspaceCard = ({
|
|
|
4682
4922
|
};
|
|
4683
4923
|
|
|
4684
4924
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4685
|
-
var
|
|
4686
|
-
var
|
|
4925
|
+
var import_react9 = require("react");
|
|
4926
|
+
var import_icons55 = require("@streamoid/icons");
|
|
4687
4927
|
|
|
4688
4928
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
4689
4929
|
var ScWorkspaceSwitchCard_default = {
|
|
@@ -4708,7 +4948,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4708
4948
|
};
|
|
4709
4949
|
|
|
4710
4950
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4711
|
-
var
|
|
4951
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
4712
4952
|
function ScWorkspaceSwitchCard({
|
|
4713
4953
|
wsName = "Workspace name is kepler",
|
|
4714
4954
|
role = "Admin",
|
|
@@ -4723,7 +4963,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4723
4963
|
onSettings,
|
|
4724
4964
|
onLeave
|
|
4725
4965
|
}) {
|
|
4726
|
-
const [internalHover, setInternalHover] = (0,
|
|
4966
|
+
const [internalHover, setInternalHover] = (0, import_react9.useState)(false);
|
|
4727
4967
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4728
4968
|
const isCurrent = type === "currentWS";
|
|
4729
4969
|
const isOther = type === "otherWS";
|
|
@@ -4738,14 +4978,14 @@ function ScWorkspaceSwitchCard({
|
|
|
4738
4978
|
].filter(Boolean).join(" ");
|
|
4739
4979
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
4740
4980
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
4741
|
-
return /* @__PURE__ */ (0,
|
|
4981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4742
4982
|
"div",
|
|
4743
4983
|
{
|
|
4744
4984
|
className: cardClass,
|
|
4745
4985
|
onMouseEnter: () => setInternalHover(true),
|
|
4746
4986
|
onMouseLeave: () => setInternalHover(false),
|
|
4747
|
-
children: /* @__PURE__ */ (0,
|
|
4748
|
-
/* @__PURE__ */ (0,
|
|
4987
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
4988
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4749
4989
|
ScDp,
|
|
4750
4990
|
{
|
|
4751
4991
|
type: imageUrl ? "image" : "initial",
|
|
@@ -4759,26 +4999,26 @@ function ScWorkspaceSwitchCard({
|
|
|
4759
4999
|
}
|
|
4760
5000
|
}
|
|
4761
5001
|
),
|
|
4762
|
-
/* @__PURE__ */ (0,
|
|
4763
|
-
/* @__PURE__ */ (0,
|
|
4764
|
-
/* @__PURE__ */ (0,
|
|
4765
|
-
/* @__PURE__ */ (0,
|
|
4766
|
-
/* @__PURE__ */ (0,
|
|
4767
|
-
/* @__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 })
|
|
4768
5008
|
] }),
|
|
4769
|
-
/* @__PURE__ */ (0,
|
|
4770
|
-
/* @__PURE__ */ (0,
|
|
4771
|
-
/* @__PURE__ */ (0,
|
|
4772
|
-
/* @__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 })
|
|
4773
5013
|
] }),
|
|
4774
|
-
/* @__PURE__ */ (0,
|
|
4775
|
-
/* @__PURE__ */ (0,
|
|
4776
|
-
/* @__PURE__ */ (0,
|
|
4777
|
-
/* @__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 })
|
|
4778
5018
|
] })
|
|
4779
5019
|
] })
|
|
4780
5020
|
] }),
|
|
4781
|
-
isHover && isOther && /* @__PURE__ */ (0,
|
|
5021
|
+
isHover && isOther && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4782
5022
|
"div",
|
|
4783
5023
|
{
|
|
4784
5024
|
onClick: (e) => {
|
|
@@ -4786,19 +5026,19 @@ function ScWorkspaceSwitchCard({
|
|
|
4786
5026
|
onSwitch?.();
|
|
4787
5027
|
},
|
|
4788
5028
|
style: { cursor: "pointer" },
|
|
4789
|
-
children: /* @__PURE__ */ (0,
|
|
5029
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4790
5030
|
ScButton,
|
|
4791
5031
|
{
|
|
4792
5032
|
text: "Switch Workspace",
|
|
4793
5033
|
variant: "secondary",
|
|
4794
5034
|
size: "sm",
|
|
4795
5035
|
styleVariant: "icon-left",
|
|
4796
|
-
icon: /* @__PURE__ */ (0,
|
|
5036
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons55.SiconSwitch, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4797
5037
|
}
|
|
4798
5038
|
)
|
|
4799
5039
|
}
|
|
4800
5040
|
),
|
|
4801
|
-
isHover && isAdmin && /* @__PURE__ */ (0,
|
|
5041
|
+
isHover && isAdmin && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4802
5042
|
"div",
|
|
4803
5043
|
{
|
|
4804
5044
|
onClick: (e) => {
|
|
@@ -4806,18 +5046,18 @@ function ScWorkspaceSwitchCard({
|
|
|
4806
5046
|
onSettings?.();
|
|
4807
5047
|
},
|
|
4808
5048
|
style: { cursor: "pointer" },
|
|
4809
|
-
children: /* @__PURE__ */ (0,
|
|
5049
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4810
5050
|
ScButton,
|
|
4811
5051
|
{
|
|
4812
5052
|
styleVariant: "icon-only",
|
|
4813
5053
|
variant: "outline",
|
|
4814
5054
|
size: "sm",
|
|
4815
|
-
icon: /* @__PURE__ */ (0,
|
|
5055
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons55.SiconSettings, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4816
5056
|
}
|
|
4817
5057
|
)
|
|
4818
5058
|
}
|
|
4819
5059
|
),
|
|
4820
|
-
isHover && !isAdmin && /* @__PURE__ */ (0,
|
|
5060
|
+
isHover && !isAdmin && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4821
5061
|
"div",
|
|
4822
5062
|
{
|
|
4823
5063
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -4825,7 +5065,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4825
5065
|
e.stopPropagation();
|
|
4826
5066
|
onLeave?.();
|
|
4827
5067
|
},
|
|
4828
|
-
children: /* @__PURE__ */ (0,
|
|
5068
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons55.SiconLogout, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
4829
5069
|
}
|
|
4830
5070
|
)
|
|
4831
5071
|
] })
|
|
@@ -4843,18 +5083,18 @@ var ScRoleMobile_default = {
|
|
|
4843
5083
|
};
|
|
4844
5084
|
|
|
4845
5085
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
4846
|
-
var
|
|
5086
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
4847
5087
|
var ScRoleMobile = ({
|
|
4848
5088
|
role = "admin",
|
|
4849
5089
|
className,
|
|
4850
5090
|
...props
|
|
4851
5091
|
}) => {
|
|
4852
|
-
return /* @__PURE__ */ (0,
|
|
5092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4853
5093
|
"div",
|
|
4854
5094
|
{
|
|
4855
5095
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
4856
5096
|
...props,
|
|
4857
|
-
children: /* @__PURE__ */ (0,
|
|
5097
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
4858
5098
|
}
|
|
4859
5099
|
);
|
|
4860
5100
|
};
|
|
@@ -4871,7 +5111,7 @@ var ScProfileV2Mobile_default = {
|
|
|
4871
5111
|
};
|
|
4872
5112
|
|
|
4873
5113
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
4874
|
-
var
|
|
5114
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
4875
5115
|
var ScProfileV2Mobile = ({
|
|
4876
5116
|
name = "Chris Hemsworth",
|
|
4877
5117
|
email = "chris@kepler.com",
|
|
@@ -4881,17 +5121,17 @@ var ScProfileV2Mobile = ({
|
|
|
4881
5121
|
...props
|
|
4882
5122
|
}) => {
|
|
4883
5123
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4884
|
-
const profileImage = /* @__PURE__ */ (0,
|
|
4885
|
-
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)(
|
|
4886
5126
|
"div",
|
|
4887
5127
|
{
|
|
4888
5128
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
4889
5129
|
...props,
|
|
4890
5130
|
children: [
|
|
4891
5131
|
dpPosition === "left" && profileImage,
|
|
4892
|
-
/* @__PURE__ */ (0,
|
|
4893
|
-
/* @__PURE__ */ (0,
|
|
4894
|
-
/* @__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 })
|
|
4895
5135
|
] }),
|
|
4896
5136
|
dpPosition === "right" && profileImage
|
|
4897
5137
|
]
|
|
@@ -4918,7 +5158,7 @@ var ScTableListMobile_default = {
|
|
|
4918
5158
|
};
|
|
4919
5159
|
|
|
4920
5160
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
4921
|
-
var
|
|
5161
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
4922
5162
|
var ScTableListMobile = ({
|
|
4923
5163
|
name = "Chris Hemsworth",
|
|
4924
5164
|
email = "chris@kepler.com",
|
|
@@ -4931,25 +5171,25 @@ var ScTableListMobile = ({
|
|
|
4931
5171
|
...props
|
|
4932
5172
|
}) => {
|
|
4933
5173
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
4934
|
-
return /* @__PURE__ */ (0,
|
|
5174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
4935
5175
|
"div",
|
|
4936
5176
|
{
|
|
4937
5177
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
4938
5178
|
onClick: onRowClick,
|
|
4939
5179
|
...props,
|
|
4940
5180
|
children: [
|
|
4941
|
-
/* @__PURE__ */ (0,
|
|
4942
|
-
/* @__PURE__ */ (0,
|
|
4943
|
-
/* @__PURE__ */ (0,
|
|
4944
|
-
/* @__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 })
|
|
4945
5185
|
] }),
|
|
4946
|
-
/* @__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 }) })
|
|
4947
5187
|
] }),
|
|
4948
|
-
/* @__PURE__ */ (0,
|
|
4949
|
-
/* @__PURE__ */ (0,
|
|
4950
|
-
/* @__PURE__ */ (0,
|
|
4951
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0,
|
|
4952
|
-
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)) })
|
|
4953
5193
|
] })
|
|
4954
5194
|
] })
|
|
4955
5195
|
]
|
|
@@ -4977,7 +5217,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
4977
5217
|
};
|
|
4978
5218
|
|
|
4979
5219
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
4980
|
-
var
|
|
5220
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
4981
5221
|
var ScWorkspaceSwitchMobile = ({
|
|
4982
5222
|
storeName = "Stores",
|
|
4983
5223
|
initials = "WS",
|
|
@@ -4990,24 +5230,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
4990
5230
|
...props
|
|
4991
5231
|
}) => {
|
|
4992
5232
|
const variant = currentWs ? "current" : "other";
|
|
4993
|
-
return /* @__PURE__ */ (0,
|
|
5233
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
4994
5234
|
"div",
|
|
4995
5235
|
{
|
|
4996
5236
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
4997
5237
|
onClick,
|
|
4998
5238
|
...props,
|
|
4999
5239
|
children: [
|
|
5000
|
-
/* @__PURE__ */ (0,
|
|
5001
|
-
/* @__PURE__ */ (0,
|
|
5002
|
-
/* @__PURE__ */ (0,
|
|
5003
|
-
/* @__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 })
|
|
5004
5244
|
] }),
|
|
5005
|
-
/* @__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 }) })
|
|
5006
5246
|
] }),
|
|
5007
|
-
/* @__PURE__ */ (0,
|
|
5008
|
-
/* @__PURE__ */ (0,
|
|
5009
|
-
/* @__PURE__ */ (0,
|
|
5010
|
-
/* @__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 })
|
|
5011
5251
|
] })
|
|
5012
5252
|
]
|
|
5013
5253
|
}
|
|
@@ -5034,7 +5274,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
5034
5274
|
};
|
|
5035
5275
|
|
|
5036
5276
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
5037
|
-
var
|
|
5277
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
5038
5278
|
var ScWorkspaceSettingsMobile = ({
|
|
5039
5279
|
storeName = "Stores",
|
|
5040
5280
|
initials = "WS",
|
|
@@ -5049,28 +5289,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
5049
5289
|
...props
|
|
5050
5290
|
}) => {
|
|
5051
5291
|
const variant = currentWs ? "current" : "other";
|
|
5052
|
-
return /* @__PURE__ */ (0,
|
|
5292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
5053
5293
|
"div",
|
|
5054
5294
|
{
|
|
5055
5295
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
5056
5296
|
onClick,
|
|
5057
5297
|
...props,
|
|
5058
5298
|
children: [
|
|
5059
|
-
/* @__PURE__ */ (0,
|
|
5060
|
-
/* @__PURE__ */ (0,
|
|
5061
|
-
/* @__PURE__ */ (0,
|
|
5062
|
-
/* @__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 })
|
|
5063
5303
|
] }),
|
|
5064
|
-
/* @__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 }) })
|
|
5065
5305
|
] }),
|
|
5066
|
-
/* @__PURE__ */ (0,
|
|
5067
|
-
/* @__PURE__ */ (0,
|
|
5068
|
-
/* @__PURE__ */ (0,
|
|
5069
|
-
/* @__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 })
|
|
5070
5310
|
] }),
|
|
5071
|
-
/* @__PURE__ */ (0,
|
|
5072
|
-
/* @__PURE__ */ (0,
|
|
5073
|
-
/* @__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 })
|
|
5074
5314
|
] })
|
|
5075
5315
|
]
|
|
5076
5316
|
}
|
|
@@ -5093,7 +5333,7 @@ var ScMobileTopNav_default = {
|
|
|
5093
5333
|
};
|
|
5094
5334
|
|
|
5095
5335
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5096
|
-
var
|
|
5336
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
5097
5337
|
var ScMobileTopNav = ({
|
|
5098
5338
|
type = "home",
|
|
5099
5339
|
searchIcon = false,
|
|
@@ -5116,22 +5356,22 @@ var ScMobileTopNav = ({
|
|
|
5116
5356
|
}) => {
|
|
5117
5357
|
const hasBorder = type === "chat" || type === "inApp";
|
|
5118
5358
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
5119
|
-
return /* @__PURE__ */ (0,
|
|
5359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
5120
5360
|
"div",
|
|
5121
5361
|
{
|
|
5122
5362
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
5123
5363
|
...props,
|
|
5124
5364
|
children: [
|
|
5125
|
-
type === "home" && /* @__PURE__ */ (0,
|
|
5126
|
-
type === "chat" && /* @__PURE__ */ (0,
|
|
5127
|
-
/* @__PURE__ */ (0,
|
|
5128
|
-
/* @__PURE__ */ (0,
|
|
5129
|
-
/* @__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 }) })
|
|
5130
5370
|
] }),
|
|
5131
|
-
showSearch && /* @__PURE__ */ (0,
|
|
5132
|
-
/* @__PURE__ */ (0,
|
|
5133
|
-
/* @__PURE__ */ (0,
|
|
5134
|
-
/* @__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)(
|
|
5135
5375
|
"input",
|
|
5136
5376
|
{
|
|
5137
5377
|
type: "text",
|
|
@@ -5142,17 +5382,17 @@ var ScMobileTopNav = ({
|
|
|
5142
5382
|
}
|
|
5143
5383
|
) })
|
|
5144
5384
|
] }) }),
|
|
5145
|
-
/* @__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 }) })
|
|
5146
5386
|
] }),
|
|
5147
|
-
type === "inApp" && !search && /* @__PURE__ */ (0,
|
|
5148
|
-
/* @__PURE__ */ (0,
|
|
5149
|
-
/* @__PURE__ */ (0,
|
|
5150
|
-
/* @__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)(
|
|
5151
5391
|
"div",
|
|
5152
5392
|
{
|
|
5153
5393
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5154
5394
|
onClick: onSearchClick,
|
|
5155
|
-
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 })
|
|
5156
5396
|
}
|
|
5157
5397
|
)
|
|
5158
5398
|
] })
|
|
@@ -5173,7 +5413,7 @@ var ScMobileBottomAction_default = {
|
|
|
5173
5413
|
};
|
|
5174
5414
|
|
|
5175
5415
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5176
|
-
var
|
|
5416
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
5177
5417
|
var ScMobileBottomAction = ({
|
|
5178
5418
|
text = "Save Changes",
|
|
5179
5419
|
disabled = false,
|
|
@@ -5185,28 +5425,28 @@ var ScMobileBottomAction = ({
|
|
|
5185
5425
|
...props
|
|
5186
5426
|
}) => {
|
|
5187
5427
|
const isTwoButton = !!secondaryText;
|
|
5188
|
-
return /* @__PURE__ */ (0,
|
|
5428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
5189
5429
|
"div",
|
|
5190
5430
|
{
|
|
5191
5431
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5192
5432
|
...props,
|
|
5193
5433
|
children: [
|
|
5194
|
-
isTwoButton && /* @__PURE__ */ (0,
|
|
5434
|
+
isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
5195
5435
|
"button",
|
|
5196
5436
|
{
|
|
5197
5437
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5198
5438
|
onClick: onSecondaryClick,
|
|
5199
5439
|
disabled: secondaryDisabled,
|
|
5200
|
-
children: /* @__PURE__ */ (0,
|
|
5440
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5201
5441
|
}
|
|
5202
5442
|
),
|
|
5203
|
-
/* @__PURE__ */ (0,
|
|
5443
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
5204
5444
|
"button",
|
|
5205
5445
|
{
|
|
5206
5446
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5207
5447
|
onClick,
|
|
5208
5448
|
disabled,
|
|
5209
|
-
children: /* @__PURE__ */ (0,
|
|
5449
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5210
5450
|
}
|
|
5211
5451
|
)
|
|
5212
5452
|
]
|
|
@@ -5224,7 +5464,7 @@ var ScPopUpMenu_default = {
|
|
|
5224
5464
|
};
|
|
5225
5465
|
|
|
5226
5466
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5227
|
-
var
|
|
5467
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
5228
5468
|
var ScPopUpMenu = ({
|
|
5229
5469
|
menu = "Options",
|
|
5230
5470
|
state = "default",
|
|
@@ -5233,15 +5473,15 @@ var ScPopUpMenu = ({
|
|
|
5233
5473
|
className,
|
|
5234
5474
|
...props
|
|
5235
5475
|
}) => {
|
|
5236
|
-
return /* @__PURE__ */ (0,
|
|
5476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
5237
5477
|
"div",
|
|
5238
5478
|
{
|
|
5239
5479
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5240
5480
|
onClick,
|
|
5241
5481
|
...props,
|
|
5242
5482
|
children: [
|
|
5243
|
-
icon && /* @__PURE__ */ (0,
|
|
5244
|
-
/* @__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 })
|
|
5245
5485
|
]
|
|
5246
5486
|
}
|
|
5247
5487
|
);
|
|
@@ -5267,7 +5507,7 @@ var ScReferralCardMobile_default = {
|
|
|
5267
5507
|
};
|
|
5268
5508
|
|
|
5269
5509
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5270
|
-
var
|
|
5510
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
5271
5511
|
var ScReferralCardMobile = ({
|
|
5272
5512
|
name = "Chris Hemsworth",
|
|
5273
5513
|
email = "chris@kepler.com",
|
|
@@ -5280,27 +5520,27 @@ var ScReferralCardMobile = ({
|
|
|
5280
5520
|
...props
|
|
5281
5521
|
}) => {
|
|
5282
5522
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5283
|
-
return /* @__PURE__ */ (0,
|
|
5523
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
5284
5524
|
"div",
|
|
5285
5525
|
{
|
|
5286
5526
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5287
5527
|
onClick,
|
|
5288
5528
|
...props,
|
|
5289
5529
|
children: [
|
|
5290
|
-
/* @__PURE__ */ (0,
|
|
5291
|
-
/* @__PURE__ */ (0,
|
|
5292
|
-
/* @__PURE__ */ (0,
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5294
|
-
/* @__PURE__ */ (0,
|
|
5295
|
-
/* @__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 })
|
|
5296
5536
|
] })
|
|
5297
5537
|
] }),
|
|
5298
|
-
/* @__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 }) })
|
|
5299
5539
|
] }),
|
|
5300
|
-
/* @__PURE__ */ (0,
|
|
5301
|
-
/* @__PURE__ */ (0,
|
|
5302
|
-
/* @__PURE__ */ (0,
|
|
5303
|
-
/* @__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 })
|
|
5304
5544
|
] })
|
|
5305
5545
|
]
|
|
5306
5546
|
}
|
|
@@ -5317,19 +5557,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
5317
5557
|
};
|
|
5318
5558
|
|
|
5319
5559
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5320
|
-
var
|
|
5560
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
5321
5561
|
var InvoiceHistoryMobile = ({
|
|
5322
5562
|
invoiceId = "# INV-2800-2026",
|
|
5323
5563
|
date = "Nov 9th, 2025",
|
|
5324
5564
|
amount = "$320.89",
|
|
5325
5565
|
className
|
|
5326
5566
|
}) => {
|
|
5327
|
-
return /* @__PURE__ */ (0,
|
|
5328
|
-
/* @__PURE__ */ (0,
|
|
5329
|
-
/* @__PURE__ */ (0,
|
|
5330
|
-
/* @__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 })
|
|
5331
5571
|
] }),
|
|
5332
|
-
/* @__PURE__ */ (0,
|
|
5572
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5333
5573
|
] });
|
|
5334
5574
|
};
|
|
5335
5575
|
|
|
@@ -5347,7 +5587,7 @@ var UsageHistoryMobile_default = {
|
|
|
5347
5587
|
};
|
|
5348
5588
|
|
|
5349
5589
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5350
|
-
var
|
|
5590
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
5351
5591
|
var UsageHistoryMobile = ({
|
|
5352
5592
|
serviceName = "Artifax Generation",
|
|
5353
5593
|
credits = "50",
|
|
@@ -5356,18 +5596,18 @@ var UsageHistoryMobile = ({
|
|
|
5356
5596
|
balance = "84,902",
|
|
5357
5597
|
className
|
|
5358
5598
|
}) => {
|
|
5359
|
-
return /* @__PURE__ */ (0,
|
|
5360
|
-
/* @__PURE__ */ (0,
|
|
5361
|
-
/* @__PURE__ */ (0,
|
|
5362
|
-
/* @__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 })
|
|
5363
5603
|
] }),
|
|
5364
|
-
/* @__PURE__ */ (0,
|
|
5365
|
-
/* @__PURE__ */ (0,
|
|
5366
|
-
/* @__PURE__ */ (0,
|
|
5367
|
-
/* @__PURE__ */ (0,
|
|
5368
|
-
/* @__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 })
|
|
5369
5609
|
] }),
|
|
5370
|
-
/* @__PURE__ */ (0,
|
|
5610
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5371
5611
|
] })
|
|
5372
5612
|
] });
|
|
5373
5613
|
};
|
|
@@ -5391,7 +5631,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5391
5631
|
};
|
|
5392
5632
|
|
|
5393
5633
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5394
|
-
var
|
|
5634
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
5395
5635
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5396
5636
|
wsName = "Workspace name is kepler",
|
|
5397
5637
|
initials = "WS",
|
|
@@ -5404,14 +5644,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5404
5644
|
className,
|
|
5405
5645
|
...props
|
|
5406
5646
|
}) => {
|
|
5407
|
-
return /* @__PURE__ */ (0,
|
|
5647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
5408
5648
|
"div",
|
|
5409
5649
|
{
|
|
5410
5650
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5411
5651
|
onClick,
|
|
5412
5652
|
...props,
|
|
5413
|
-
children: /* @__PURE__ */ (0,
|
|
5414
|
-
/* @__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)(
|
|
5415
5655
|
ScDp,
|
|
5416
5656
|
{
|
|
5417
5657
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5425,14 +5665,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5425
5665
|
}
|
|
5426
5666
|
}
|
|
5427
5667
|
) }),
|
|
5428
|
-
/* @__PURE__ */ (0,
|
|
5429
|
-
/* @__PURE__ */ (0,
|
|
5430
|
-
/* @__PURE__ */ (0,
|
|
5431
|
-
/* @__PURE__ */ (0,
|
|
5432
|
-
/* @__PURE__ */ (0,
|
|
5433
|
-
/* @__PURE__ */ (0,
|
|
5434
|
-
/* @__PURE__ */ (0,
|
|
5435
|
-
/* @__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 })
|
|
5436
5676
|
] })
|
|
5437
5677
|
] })
|
|
5438
5678
|
] })
|
|
@@ -5441,7 +5681,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5441
5681
|
};
|
|
5442
5682
|
|
|
5443
5683
|
// src/SC-imageField/ScImageField.tsx
|
|
5444
|
-
var
|
|
5684
|
+
var import_react10 = require("react");
|
|
5445
5685
|
|
|
5446
5686
|
// src/SC-imageField/ScImageField.module.css
|
|
5447
5687
|
var ScImageField_default = {
|
|
@@ -5458,8 +5698,8 @@ var ScImageField_default = {
|
|
|
5458
5698
|
};
|
|
5459
5699
|
|
|
5460
5700
|
// src/SC-imageField/ScImageField.tsx
|
|
5461
|
-
var
|
|
5462
|
-
var
|
|
5701
|
+
var import_icons56 = require("@streamoid/icons");
|
|
5702
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
5463
5703
|
var ScImageField = ({
|
|
5464
5704
|
label = "Label",
|
|
5465
5705
|
imagePreview,
|
|
@@ -5468,7 +5708,7 @@ var ScImageField = ({
|
|
|
5468
5708
|
onRemove,
|
|
5469
5709
|
className
|
|
5470
5710
|
}) => {
|
|
5471
|
-
const inputRef = (0,
|
|
5711
|
+
const inputRef = (0, import_react10.useRef)(null);
|
|
5472
5712
|
const hasImage = !!imagePreview;
|
|
5473
5713
|
function handleClick() {
|
|
5474
5714
|
if (!hasImage) {
|
|
@@ -5482,8 +5722,8 @@ var ScImageField = ({
|
|
|
5482
5722
|
}
|
|
5483
5723
|
e.target.value = "";
|
|
5484
5724
|
}
|
|
5485
|
-
return /* @__PURE__ */ (0,
|
|
5486
|
-
/* @__PURE__ */ (0,
|
|
5725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
5726
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
5487
5727
|
"input",
|
|
5488
5728
|
{
|
|
5489
5729
|
ref: inputRef,
|
|
@@ -5493,9 +5733,9 @@ var ScImageField = ({
|
|
|
5493
5733
|
onChange: handleChange
|
|
5494
5734
|
}
|
|
5495
5735
|
),
|
|
5496
|
-
/* @__PURE__ */ (0,
|
|
5497
|
-
hasImage ? /* @__PURE__ */ (0,
|
|
5498
|
-
/* @__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)(
|
|
5499
5739
|
"img",
|
|
5500
5740
|
{
|
|
5501
5741
|
className: ScImageField_default.previewImage,
|
|
@@ -5503,9 +5743,9 @@ var ScImageField = ({
|
|
|
5503
5743
|
alt: "preview"
|
|
5504
5744
|
}
|
|
5505
5745
|
),
|
|
5506
|
-
/* @__PURE__ */ (0,
|
|
5507
|
-
/* @__PURE__ */ (0,
|
|
5508
|
-
|
|
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,
|
|
5509
5749
|
{
|
|
5510
5750
|
className: ScImageField_default.removeIcon,
|
|
5511
5751
|
color: "var(--alias-text-and-icons-error, #d11a1a)",
|
|
@@ -5515,9 +5755,9 @@ var ScImageField = ({
|
|
|
5515
5755
|
}
|
|
5516
5756
|
}
|
|
5517
5757
|
)
|
|
5518
|
-
] }) : /* @__PURE__ */ (0,
|
|
5519
|
-
/* @__PURE__ */ (0,
|
|
5520
|
-
/* @__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" })
|
|
5521
5761
|
] })
|
|
5522
5762
|
] });
|
|
5523
5763
|
};
|
|
@@ -5531,7 +5771,7 @@ var ScSettingsTabComp_default = {
|
|
|
5531
5771
|
};
|
|
5532
5772
|
|
|
5533
5773
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5534
|
-
var
|
|
5774
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
5535
5775
|
var ScSettingsTabComp = ({
|
|
5536
5776
|
tabName = "Tab",
|
|
5537
5777
|
active = false,
|
|
@@ -5539,12 +5779,12 @@ var ScSettingsTabComp = ({
|
|
|
5539
5779
|
className
|
|
5540
5780
|
}) => {
|
|
5541
5781
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5542
|
-
return /* @__PURE__ */ (0,
|
|
5782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
5543
5783
|
"div",
|
|
5544
5784
|
{
|
|
5545
5785
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5546
5786
|
onClick,
|
|
5547
|
-
children: /* @__PURE__ */ (0,
|
|
5787
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5548
5788
|
}
|
|
5549
5789
|
);
|
|
5550
5790
|
};
|
|
@@ -5563,8 +5803,8 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5563
5803
|
};
|
|
5564
5804
|
|
|
5565
5805
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5566
|
-
var
|
|
5567
|
-
var
|
|
5806
|
+
var import_icons57 = require("@streamoid/icons");
|
|
5807
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
5568
5808
|
var ScCreditsUsageCardMobile = ({
|
|
5569
5809
|
usageLabel = "Credits usage",
|
|
5570
5810
|
usageText = "8,450 / 30,000",
|
|
@@ -5574,23 +5814,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5574
5814
|
className,
|
|
5575
5815
|
...props
|
|
5576
5816
|
}) => {
|
|
5577
|
-
return /* @__PURE__ */ (0,
|
|
5578
|
-
/* @__PURE__ */ (0,
|
|
5579
|
-
/* @__PURE__ */ (0,
|
|
5580
|
-
|
|
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,
|
|
5581
5821
|
{
|
|
5582
5822
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5583
5823
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5584
5824
|
}
|
|
5585
5825
|
),
|
|
5586
|
-
/* @__PURE__ */ (0,
|
|
5826
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5587
5827
|
] }),
|
|
5588
|
-
/* @__PURE__ */ (0,
|
|
5589
|
-
/* @__PURE__ */ (0,
|
|
5590
|
-
/* @__PURE__ */ (0,
|
|
5591
|
-
/* @__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 })
|
|
5592
5832
|
] }),
|
|
5593
|
-
/* @__PURE__ */ (0,
|
|
5833
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
5594
5834
|
ScButton,
|
|
5595
5835
|
{
|
|
5596
5836
|
text: buyButtonText,
|
|
@@ -5621,8 +5861,8 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5621
5861
|
};
|
|
5622
5862
|
|
|
5623
5863
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5624
|
-
var
|
|
5625
|
-
var
|
|
5864
|
+
var import_icons58 = require("@streamoid/icons");
|
|
5865
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
5626
5866
|
var ScPlanDetailsCardMobile = ({
|
|
5627
5867
|
planName = "Pro",
|
|
5628
5868
|
planCredits = "30,000 credits",
|
|
@@ -5634,19 +5874,19 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5634
5874
|
className,
|
|
5635
5875
|
...props
|
|
5636
5876
|
}) => {
|
|
5637
|
-
return /* @__PURE__ */ (0,
|
|
5638
|
-
/* @__PURE__ */ (0,
|
|
5639
|
-
/* @__PURE__ */ (0,
|
|
5640
|
-
/* @__PURE__ */ (0,
|
|
5641
|
-
|
|
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,
|
|
5642
5882
|
{
|
|
5643
5883
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5644
5884
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5645
5885
|
}
|
|
5646
5886
|
),
|
|
5647
|
-
/* @__PURE__ */ (0,
|
|
5887
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5648
5888
|
] }),
|
|
5649
|
-
/* @__PURE__ */ (0,
|
|
5889
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5650
5890
|
ScBadges,
|
|
5651
5891
|
{
|
|
5652
5892
|
text: badgeText,
|
|
@@ -5656,16 +5896,16 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5656
5896
|
}
|
|
5657
5897
|
)
|
|
5658
5898
|
] }),
|
|
5659
|
-
/* @__PURE__ */ (0,
|
|
5660
|
-
/* @__PURE__ */ (0,
|
|
5661
|
-
/* @__PURE__ */ (0,
|
|
5662
|
-
/* @__PURE__ */ (0,
|
|
5663
|
-
/* @__PURE__ */ (0,
|
|
5664
|
-
/* @__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 })
|
|
5665
5905
|
] }),
|
|
5666
|
-
/* @__PURE__ */ (0,
|
|
5906
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5667
5907
|
] }),
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5908
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5669
5909
|
ScButton,
|
|
5670
5910
|
{
|
|
5671
5911
|
text: upgradeButtonText,
|