@streamoid/ui 0.1.7 → 0.1.9
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 +10 -0
- package/dist/index.d.mts +25 -9
- package/dist/index.d.ts +25 -9
- package/dist/index.js +519 -184
- package/dist/index.mjs +519 -184
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1097,11 +1097,11 @@ var require_react_development = __commonJS({
|
|
|
1097
1097
|
var dispatcher = resolveDispatcher();
|
|
1098
1098
|
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function useRef2(initialValue) {
|
|
1101
1101
|
var dispatcher = resolveDispatcher();
|
|
1102
1102
|
return dispatcher.useRef(initialValue);
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function useEffect2(create, deps) {
|
|
1105
1105
|
var dispatcher = resolveDispatcher();
|
|
1106
1106
|
return dispatcher.useEffect(create, deps);
|
|
1107
1107
|
}
|
|
@@ -1884,14 +1884,14 @@ var require_react_development = __commonJS({
|
|
|
1884
1884
|
exports.useContext = useContext;
|
|
1885
1885
|
exports.useDebugValue = useDebugValue;
|
|
1886
1886
|
exports.useDeferredValue = useDeferredValue;
|
|
1887
|
-
exports.useEffect =
|
|
1887
|
+
exports.useEffect = useEffect2;
|
|
1888
1888
|
exports.useId = useId;
|
|
1889
1889
|
exports.useImperativeHandle = useImperativeHandle;
|
|
1890
1890
|
exports.useInsertionEffect = useInsertionEffect;
|
|
1891
1891
|
exports.useLayoutEffect = useLayoutEffect;
|
|
1892
1892
|
exports.useMemo = useMemo;
|
|
1893
1893
|
exports.useReducer = useReducer;
|
|
1894
|
-
exports.useRef =
|
|
1894
|
+
exports.useRef = useRef2;
|
|
1895
1895
|
exports.useState = useState;
|
|
1896
1896
|
exports.useSyncExternalStore = useSyncExternalStore;
|
|
1897
1897
|
exports.useTransition = useTransition;
|
|
@@ -2799,11 +2799,11 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
2799
2799
|
return jsxWithValidation(type, props, key, false);
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
|
-
var
|
|
2803
|
-
var
|
|
2802
|
+
var jsx107 = jsxWithValidationDynamic;
|
|
2803
|
+
var jsxs59 = jsxWithValidationStatic;
|
|
2804
2804
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
2805
|
-
exports.jsx =
|
|
2806
|
-
exports.jsxs =
|
|
2805
|
+
exports.jsx = jsx107;
|
|
2806
|
+
exports.jsxs = jsxs59;
|
|
2807
2807
|
})();
|
|
2808
2808
|
}
|
|
2809
2809
|
}
|
|
@@ -2881,9 +2881,9 @@ __export(index_exports, {
|
|
|
2881
2881
|
ScToggleSwitch: () => ScToggleSwitch,
|
|
2882
2882
|
ScVDivider: () => ScVDivider,
|
|
2883
2883
|
ScVersion: () => ScVersion,
|
|
2884
|
-
ScWorkspace: () => ScWorkspace,
|
|
2885
2884
|
ScWorkspaceCard: () => ScWorkspaceCard,
|
|
2886
|
-
StreamoidSidebar: () => StreamoidSidebar
|
|
2885
|
+
StreamoidSidebar: () => StreamoidSidebar,
|
|
2886
|
+
StreamoidWorkspaceSwitcher: () => StreamoidWorkspaceSwitcher
|
|
2887
2887
|
});
|
|
2888
2888
|
module.exports = __toCommonJS(index_exports);
|
|
2889
2889
|
|
|
@@ -3105,6 +3105,22 @@ var SiconCatalogix = ({ color = "currentColor", strokeWidth = 1.25, size = 24, .
|
|
|
3105
3105
|
);
|
|
3106
3106
|
};
|
|
3107
3107
|
var sicon_catalogix_default = SiconCatalogix;
|
|
3108
|
+
var SiconClose = ({ color = "currentColor", strokeWidth = 1.25, size = 24, ...props }) => {
|
|
3109
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
3110
|
+
"svg",
|
|
3111
|
+
{
|
|
3112
|
+
...props,
|
|
3113
|
+
width: size,
|
|
3114
|
+
height: size,
|
|
3115
|
+
strokeWidth,
|
|
3116
|
+
viewBox: "0 0 24 24",
|
|
3117
|
+
fill: "none",
|
|
3118
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3119
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M6.75824 17.2426L12.0009 12M12.0009 12L17.2435 6.75735M12.0009 12L6.75824 6.75735M12.0009 12L17.2435 17.2426", stroke: color, strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" })
|
|
3120
|
+
}
|
|
3121
|
+
);
|
|
3122
|
+
};
|
|
3123
|
+
var sicon_close_default = SiconClose;
|
|
3108
3124
|
var SiconCollapse = ({ color = "currentColor", strokeWidth = 1.25, size = 24, ...props }) => {
|
|
3109
3125
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
3110
3126
|
"svg",
|
|
@@ -5245,6 +5261,7 @@ var ScProfileSettingsComp_default = {
|
|
|
5245
5261
|
// src/SC-textField/ScTextField.module.css
|
|
5246
5262
|
var ScTextField_default = {
|
|
5247
5263
|
scTextField: "ScTextField_scTextField",
|
|
5264
|
+
"label-group-none": "ScTextField_label-group-none",
|
|
5248
5265
|
labelContainer: "ScTextField_labelContainer",
|
|
5249
5266
|
label: "ScTextField_label",
|
|
5250
5267
|
inputContainer: "ScTextField_inputContainer",
|
|
@@ -5255,7 +5272,8 @@ var ScTextField_default = {
|
|
|
5255
5272
|
"tf-group-icon-left-right": "ScTextField_tf-group-icon-left-right",
|
|
5256
5273
|
"state-hover": "ScTextField_state-hover",
|
|
5257
5274
|
"state-filled": "ScTextField_state-filled",
|
|
5258
|
-
"state-ative-focused": "ScTextField_state-ative-focused"
|
|
5275
|
+
"state-ative-focused": "ScTextField_state-ative-focused",
|
|
5276
|
+
ScTextField_labelContainer: "ScTextField_ScTextField_labelContainer"
|
|
5259
5277
|
};
|
|
5260
5278
|
|
|
5261
5279
|
// src/SC-textField/ScTextField.tsx
|
|
@@ -5265,10 +5283,10 @@ var ScTextField = ({
|
|
|
5265
5283
|
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(sicon_bolt_default, { className: ScTextField_default.siconBoltInstance }),
|
|
5266
5284
|
state = "default",
|
|
5267
5285
|
tfGroup = "icon-right",
|
|
5268
|
-
labelGroup = "
|
|
5286
|
+
labelGroup = "",
|
|
5269
5287
|
className,
|
|
5270
5288
|
placeholderFilled = "Placeholder",
|
|
5271
|
-
label = "
|
|
5289
|
+
label = "",
|
|
5272
5290
|
...props
|
|
5273
5291
|
}) => {
|
|
5274
5292
|
const variantsClassName = ScTextField_default["state-" + state] + " " + ScTextField_default["tf-group-" + tfGroup] + " " + ScTextField_default["label-group-" + labelGroup];
|
|
@@ -5277,7 +5295,7 @@ var ScTextField = ({
|
|
|
5277
5295
|
{
|
|
5278
5296
|
className: ScTextField_default.scTextField + " " + className + " " + variantsClassName,
|
|
5279
5297
|
children: [
|
|
5280
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.labelContainer, children: [
|
|
5298
|
+
labelGroup && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.labelContainer, children: [
|
|
5281
5299
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.label, children: [
|
|
5282
5300
|
label,
|
|
5283
5301
|
" "
|
|
@@ -5845,7 +5863,7 @@ var ScSidebar = ({
|
|
|
5845
5863
|
);
|
|
5846
5864
|
};
|
|
5847
5865
|
|
|
5848
|
-
// src/SC-
|
|
5866
|
+
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
5849
5867
|
var import_jsx_runtime85 = __toESM(require_jsx_runtime());
|
|
5850
5868
|
function SectionHeader({ label }) {
|
|
5851
5869
|
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
@@ -6284,6 +6302,323 @@ var ScSlider = ({
|
|
|
6284
6302
|
] });
|
|
6285
6303
|
};
|
|
6286
6304
|
|
|
6305
|
+
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
6306
|
+
var import_react = __toESM(require_react());
|
|
6307
|
+
var import_jsx_runtime87 = __toESM(require_jsx_runtime());
|
|
6308
|
+
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
6309
|
+
function deriveInitials(name) {
|
|
6310
|
+
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
6311
|
+
}
|
|
6312
|
+
function normalizeRole(role) {
|
|
6313
|
+
return role === "admin" ? "admin" : "member";
|
|
6314
|
+
}
|
|
6315
|
+
function roleLabel(role) {
|
|
6316
|
+
const normalized = normalizeRole(role);
|
|
6317
|
+
return normalized === "admin" ? "Admin" : "Member";
|
|
6318
|
+
}
|
|
6319
|
+
function WorkspaceRow({
|
|
6320
|
+
workspace,
|
|
6321
|
+
currentWorkspaceText,
|
|
6322
|
+
switchWorkspaceText,
|
|
6323
|
+
onSwitch
|
|
6324
|
+
}) {
|
|
6325
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6326
|
+
"div",
|
|
6327
|
+
{
|
|
6328
|
+
className: "relative shrink-0 w-full",
|
|
6329
|
+
style: {
|
|
6330
|
+
backgroundColor: "var(--alias-surface-base)",
|
|
6331
|
+
borderRadius: "var(--radius-3xl)",
|
|
6332
|
+
backdropFilter: "blur(4px)"
|
|
6333
|
+
},
|
|
6334
|
+
children: [
|
|
6335
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6336
|
+
"div",
|
|
6337
|
+
{
|
|
6338
|
+
"aria-hidden": "true",
|
|
6339
|
+
className: "absolute inset-0 pointer-events-none",
|
|
6340
|
+
style: {
|
|
6341
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
6342
|
+
borderRadius: "var(--radius-3xl)"
|
|
6343
|
+
}
|
|
6344
|
+
}
|
|
6345
|
+
),
|
|
6346
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6347
|
+
"div",
|
|
6348
|
+
{
|
|
6349
|
+
className: "flex items-center w-full",
|
|
6350
|
+
style: {
|
|
6351
|
+
gap: "var(--spacing-3xl)",
|
|
6352
|
+
padding: "var(--spacing-6xl)"
|
|
6353
|
+
},
|
|
6354
|
+
children: [
|
|
6355
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6356
|
+
"div",
|
|
6357
|
+
{
|
|
6358
|
+
className: "flex flex-1 items-center min-w-0",
|
|
6359
|
+
style: { gap: "var(--spacing-xl)" },
|
|
6360
|
+
children: [
|
|
6361
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6362
|
+
ScIntialProfileCover,
|
|
6363
|
+
{
|
|
6364
|
+
intial: workspace.initials || deriveInitials(workspace.name),
|
|
6365
|
+
className: "shrink-0"
|
|
6366
|
+
}
|
|
6367
|
+
),
|
|
6368
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6369
|
+
"p",
|
|
6370
|
+
{
|
|
6371
|
+
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
6372
|
+
style: {
|
|
6373
|
+
color: "var(--alias-text---icons-primary)",
|
|
6374
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6375
|
+
fontSize: "var(--font-size-font-size-md)",
|
|
6376
|
+
fontWeight: 500,
|
|
6377
|
+
lineHeight: "var(--line-height-line-height-md)",
|
|
6378
|
+
display: "-webkit-box",
|
|
6379
|
+
WebkitLineClamp: 2,
|
|
6380
|
+
WebkitBoxOrient: "vertical"
|
|
6381
|
+
},
|
|
6382
|
+
children: workspace.name
|
|
6383
|
+
}
|
|
6384
|
+
)
|
|
6385
|
+
]
|
|
6386
|
+
}
|
|
6387
|
+
),
|
|
6388
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6389
|
+
"div",
|
|
6390
|
+
{
|
|
6391
|
+
className: "flex items-center justify-center shrink-0",
|
|
6392
|
+
style: {
|
|
6393
|
+
gap: "var(--spacing-6xl)",
|
|
6394
|
+
padding: "0 var(--spacing-3xl)"
|
|
6395
|
+
},
|
|
6396
|
+
children: [
|
|
6397
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6398
|
+
ScRole,
|
|
6399
|
+
{
|
|
6400
|
+
type: normalizeRole(workspace.role),
|
|
6401
|
+
label: roleLabel(workspace.role),
|
|
6402
|
+
style: { width: 80 }
|
|
6403
|
+
}
|
|
6404
|
+
),
|
|
6405
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6406
|
+
"div",
|
|
6407
|
+
{
|
|
6408
|
+
className: "flex items-center shrink-0",
|
|
6409
|
+
style: { gap: "var(--spacing-3xl)" },
|
|
6410
|
+
children: [
|
|
6411
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6412
|
+
ScPairtext,
|
|
6413
|
+
{
|
|
6414
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_team_default, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
6415
|
+
content: workspace.userCount || "\u2013",
|
|
6416
|
+
iconPosition: "left",
|
|
6417
|
+
type: "icon"
|
|
6418
|
+
}
|
|
6419
|
+
) }),
|
|
6420
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ScVDivider, {}),
|
|
6421
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6422
|
+
"div",
|
|
6423
|
+
{
|
|
6424
|
+
className: "flex items-center",
|
|
6425
|
+
style: {
|
|
6426
|
+
width: 200,
|
|
6427
|
+
flexShrink: 0,
|
|
6428
|
+
gap: "var(--spacing-md)"
|
|
6429
|
+
},
|
|
6430
|
+
children: [
|
|
6431
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6432
|
+
sicon_Crown_default,
|
|
6433
|
+
{
|
|
6434
|
+
className: "w-6 h-6 shrink-0",
|
|
6435
|
+
color: PRIMARY_ICON
|
|
6436
|
+
}
|
|
6437
|
+
),
|
|
6438
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6439
|
+
"span",
|
|
6440
|
+
{
|
|
6441
|
+
className: "truncate",
|
|
6442
|
+
style: {
|
|
6443
|
+
color: "var(--alias-text---icons-primary)",
|
|
6444
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6445
|
+
fontSize: "var(--font-size-font-size-sm)",
|
|
6446
|
+
lineHeight: "var(--line-height-line-height-sm)"
|
|
6447
|
+
},
|
|
6448
|
+
children: workspace.ownerEmail || "\u2013"
|
|
6449
|
+
}
|
|
6450
|
+
)
|
|
6451
|
+
]
|
|
6452
|
+
}
|
|
6453
|
+
)
|
|
6454
|
+
]
|
|
6455
|
+
}
|
|
6456
|
+
) })
|
|
6457
|
+
]
|
|
6458
|
+
}
|
|
6459
|
+
),
|
|
6460
|
+
workspace.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6461
|
+
ScButton,
|
|
6462
|
+
{
|
|
6463
|
+
text: currentWorkspaceText,
|
|
6464
|
+
variant: "outline",
|
|
6465
|
+
state: "disabled",
|
|
6466
|
+
size: "lg",
|
|
6467
|
+
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
6468
|
+
}
|
|
6469
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6470
|
+
ScButton,
|
|
6471
|
+
{
|
|
6472
|
+
text: switchWorkspaceText,
|
|
6473
|
+
variant: "secondary",
|
|
6474
|
+
size: "lg",
|
|
6475
|
+
styleVariant: "icon-left",
|
|
6476
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_switch_default, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
6477
|
+
style: { width: 200, flexShrink: 0 },
|
|
6478
|
+
onClick: onSwitch
|
|
6479
|
+
}
|
|
6480
|
+
)
|
|
6481
|
+
]
|
|
6482
|
+
}
|
|
6483
|
+
) })
|
|
6484
|
+
]
|
|
6485
|
+
}
|
|
6486
|
+
);
|
|
6487
|
+
}
|
|
6488
|
+
function StreamoidWorkspaceSwitcher({
|
|
6489
|
+
open,
|
|
6490
|
+
onClose,
|
|
6491
|
+
workspaces,
|
|
6492
|
+
loading = false,
|
|
6493
|
+
onSwitchWorkspace,
|
|
6494
|
+
config
|
|
6495
|
+
}) {
|
|
6496
|
+
const modalRef = (0, import_react.useRef)(null);
|
|
6497
|
+
const title = config?.title || "Switch workspace";
|
|
6498
|
+
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
6499
|
+
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
6500
|
+
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
6501
|
+
(0, import_react.useEffect)(() => {
|
|
6502
|
+
if (!open) return;
|
|
6503
|
+
function handleKeyDown(e) {
|
|
6504
|
+
if (e.key === "Escape") onClose();
|
|
6505
|
+
}
|
|
6506
|
+
document.addEventListener("keydown", handleKeyDown);
|
|
6507
|
+
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
6508
|
+
}, [open, onClose]);
|
|
6509
|
+
if (!open) return null;
|
|
6510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6511
|
+
"div",
|
|
6512
|
+
{
|
|
6513
|
+
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
6514
|
+
style: { backgroundColor: "rgba(0, 0, 0, 0.6)" },
|
|
6515
|
+
onClick: (e) => {
|
|
6516
|
+
if (e.target === e.currentTarget) onClose();
|
|
6517
|
+
},
|
|
6518
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6519
|
+
"div",
|
|
6520
|
+
{
|
|
6521
|
+
ref: modalRef,
|
|
6522
|
+
className: "flex flex-col items-start relative",
|
|
6523
|
+
style: {
|
|
6524
|
+
backgroundColor: "var(--alias-surface-subtle)",
|
|
6525
|
+
borderRadius: "var(--radius-4xl)",
|
|
6526
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
6527
|
+
width: "min(1000px, 90vw)",
|
|
6528
|
+
height: "60vh"
|
|
6529
|
+
},
|
|
6530
|
+
children: [
|
|
6531
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6532
|
+
"div",
|
|
6533
|
+
{
|
|
6534
|
+
className: "shrink-0 w-full relative",
|
|
6535
|
+
style: {
|
|
6536
|
+
borderBottom: "1px solid var(--alias-border-divider)"
|
|
6537
|
+
},
|
|
6538
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6539
|
+
"div",
|
|
6540
|
+
{
|
|
6541
|
+
className: "flex items-center w-full",
|
|
6542
|
+
style: {
|
|
6543
|
+
gap: "var(--spacing-3xl)",
|
|
6544
|
+
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
6545
|
+
},
|
|
6546
|
+
children: [
|
|
6547
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6548
|
+
"p",
|
|
6549
|
+
{
|
|
6550
|
+
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
6551
|
+
style: {
|
|
6552
|
+
color: "var(--alias-text---icons-primary)",
|
|
6553
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6554
|
+
fontSize: "var(--font-size-font-size-lg)",
|
|
6555
|
+
fontWeight: 600,
|
|
6556
|
+
lineHeight: "var(--line-height-line-height-lg)"
|
|
6557
|
+
},
|
|
6558
|
+
children: title
|
|
6559
|
+
}
|
|
6560
|
+
),
|
|
6561
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(sicon_close_default, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
6562
|
+
]
|
|
6563
|
+
}
|
|
6564
|
+
) })
|
|
6565
|
+
}
|
|
6566
|
+
),
|
|
6567
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6568
|
+
"div",
|
|
6569
|
+
{
|
|
6570
|
+
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
6571
|
+
style: {
|
|
6572
|
+
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
6573
|
+
},
|
|
6574
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6575
|
+
"div",
|
|
6576
|
+
{
|
|
6577
|
+
className: "flex flex-col items-start",
|
|
6578
|
+
style: {
|
|
6579
|
+
padding: "var(--spacing-6xl)",
|
|
6580
|
+
gap: "var(--spacing-3xl)"
|
|
6581
|
+
},
|
|
6582
|
+
children: [
|
|
6583
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6584
|
+
"p",
|
|
6585
|
+
{
|
|
6586
|
+
style: {
|
|
6587
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
6588
|
+
fontSize: "var(--font-size-font-size-sm)",
|
|
6589
|
+
color: "var(--alias-text---icons-muted)"
|
|
6590
|
+
},
|
|
6591
|
+
children: loadingText
|
|
6592
|
+
}
|
|
6593
|
+
) : null,
|
|
6594
|
+
workspaces.map((ws) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6595
|
+
WorkspaceRow,
|
|
6596
|
+
{
|
|
6597
|
+
workspace: ws,
|
|
6598
|
+
currentWorkspaceText,
|
|
6599
|
+
switchWorkspaceText,
|
|
6600
|
+
onSwitch: () => {
|
|
6601
|
+
if (ws.isCurrent) {
|
|
6602
|
+
onClose();
|
|
6603
|
+
return;
|
|
6604
|
+
}
|
|
6605
|
+
void onSwitchWorkspace(ws);
|
|
6606
|
+
}
|
|
6607
|
+
},
|
|
6608
|
+
ws.id
|
|
6609
|
+
))
|
|
6610
|
+
]
|
|
6611
|
+
}
|
|
6612
|
+
)
|
|
6613
|
+
}
|
|
6614
|
+
)
|
|
6615
|
+
]
|
|
6616
|
+
}
|
|
6617
|
+
)
|
|
6618
|
+
}
|
|
6619
|
+
);
|
|
6620
|
+
}
|
|
6621
|
+
|
|
6287
6622
|
// src/SC-app listing card/ScAppListingCard.module.css
|
|
6288
6623
|
var ScAppListingCard_default = {
|
|
6289
6624
|
scAppListingCard: "ScAppListingCard_scAppListingCard",
|
|
@@ -6294,23 +6629,23 @@ var ScAppListingCard_default = {
|
|
|
6294
6629
|
};
|
|
6295
6630
|
|
|
6296
6631
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
6297
|
-
var
|
|
6632
|
+
var import_jsx_runtime88 = __toESM(require_jsx_runtime());
|
|
6298
6633
|
var ScAppListingCard = ({
|
|
6299
|
-
icon = /* @__PURE__ */ (0,
|
|
6634
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(sicon_Cart_default, { className: ScAppListingCard_default.siconCartInstance }),
|
|
6300
6635
|
title = "Stores",
|
|
6301
6636
|
descrp = "Centralized product and asset management for every storefront",
|
|
6302
6637
|
className,
|
|
6303
6638
|
...props
|
|
6304
6639
|
}) => {
|
|
6305
|
-
return /* @__PURE__ */ (0,
|
|
6306
|
-
/* @__PURE__ */ (0,
|
|
6307
|
-
/* @__PURE__ */ (0,
|
|
6308
|
-
/* @__PURE__ */ (0,
|
|
6640
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
6641
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.header, children: [
|
|
6642
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
6643
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.title, children: [
|
|
6309
6644
|
title,
|
|
6310
6645
|
" "
|
|
6311
6646
|
] })
|
|
6312
6647
|
] }),
|
|
6313
|
-
/* @__PURE__ */ (0,
|
|
6648
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: ScAppListingCard_default.description, children: [
|
|
6314
6649
|
descrp,
|
|
6315
6650
|
" "
|
|
6316
6651
|
] })
|
|
@@ -6327,22 +6662,22 @@ var ScAppCard_default = {
|
|
|
6327
6662
|
};
|
|
6328
6663
|
|
|
6329
6664
|
// src/SC-appCard/ScAppCard.tsx
|
|
6330
|
-
var
|
|
6665
|
+
var import_jsx_runtime89 = __toESM(require_jsx_runtime());
|
|
6331
6666
|
var ScAppCard = ({
|
|
6332
|
-
appIcon = /* @__PURE__ */ (0,
|
|
6667
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
6333
6668
|
appName = "Artifax",
|
|
6334
6669
|
appDescription = "Info about artifax",
|
|
6335
6670
|
className,
|
|
6336
6671
|
...props
|
|
6337
6672
|
}) => {
|
|
6338
|
-
return /* @__PURE__ */ (0,
|
|
6339
|
-
/* @__PURE__ */ (0,
|
|
6340
|
-
/* @__PURE__ */ (0,
|
|
6341
|
-
/* @__PURE__ */ (0,
|
|
6673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
6674
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
6675
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
|
|
6676
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.title, children: [
|
|
6342
6677
|
appName,
|
|
6343
6678
|
" "
|
|
6344
6679
|
] }),
|
|
6345
|
-
/* @__PURE__ */ (0,
|
|
6680
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: ScAppCard_default.subtitle, children: [
|
|
6346
6681
|
appDescription,
|
|
6347
6682
|
" "
|
|
6348
6683
|
] })
|
|
@@ -6378,19 +6713,19 @@ var ScToggleSwitch_default = {
|
|
|
6378
6713
|
};
|
|
6379
6714
|
|
|
6380
6715
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
6381
|
-
var
|
|
6716
|
+
var import_jsx_runtime90 = __toESM(require_jsx_runtime());
|
|
6382
6717
|
var ScToggleSwitch = ({
|
|
6383
6718
|
active = "false",
|
|
6384
6719
|
className,
|
|
6385
6720
|
...props
|
|
6386
6721
|
}) => {
|
|
6387
6722
|
const variantsClassName = ScToggleSwitch_default["active-" + active];
|
|
6388
|
-
return /* @__PURE__ */ (0,
|
|
6723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6389
6724
|
"div",
|
|
6390
6725
|
{
|
|
6391
6726
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
6392
6727
|
...props,
|
|
6393
|
-
children: /* @__PURE__ */ (0,
|
|
6728
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
6394
6729
|
"svg",
|
|
6395
6730
|
{
|
|
6396
6731
|
width: "41",
|
|
@@ -6399,21 +6734,21 @@ var ScToggleSwitch = ({
|
|
|
6399
6734
|
fill: "none",
|
|
6400
6735
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6401
6736
|
children: [
|
|
6402
|
-
/* @__PURE__ */ (0,
|
|
6737
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6403
6738
|
"path",
|
|
6404
6739
|
{
|
|
6405
6740
|
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",
|
|
6406
6741
|
fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
|
|
6407
6742
|
}
|
|
6408
6743
|
),
|
|
6409
|
-
/* @__PURE__ */ (0,
|
|
6744
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6410
6745
|
"path",
|
|
6411
6746
|
{
|
|
6412
6747
|
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",
|
|
6413
6748
|
fill: "var(--alias-border-divider, #242424)"
|
|
6414
6749
|
}
|
|
6415
6750
|
),
|
|
6416
|
-
/* @__PURE__ */ (0,
|
|
6751
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6417
6752
|
"path",
|
|
6418
6753
|
{
|
|
6419
6754
|
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",
|
|
@@ -6428,7 +6763,7 @@ var ScToggleSwitch = ({
|
|
|
6428
6763
|
};
|
|
6429
6764
|
|
|
6430
6765
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
6431
|
-
var
|
|
6766
|
+
var import_jsx_runtime91 = __toESM(require_jsx_runtime());
|
|
6432
6767
|
var ScArtifaxInvite = ({
|
|
6433
6768
|
active = "true",
|
|
6434
6769
|
appName = "Artifax",
|
|
@@ -6438,22 +6773,22 @@ var ScArtifaxInvite = ({
|
|
|
6438
6773
|
...props
|
|
6439
6774
|
}) => {
|
|
6440
6775
|
const variantsClassName = ScArtifaxInvite_default["active-" + active];
|
|
6441
|
-
return /* @__PURE__ */ (0,
|
|
6776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
|
|
6442
6777
|
"div",
|
|
6443
6778
|
{
|
|
6444
6779
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
6445
6780
|
...props,
|
|
6446
6781
|
children: [
|
|
6447
|
-
/* @__PURE__ */ (0,
|
|
6782
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
6448
6783
|
ScAppCard,
|
|
6449
6784
|
{
|
|
6450
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
6785
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
6451
6786
|
appName,
|
|
6452
6787
|
appDescription,
|
|
6453
6788
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
6454
6789
|
}
|
|
6455
6790
|
),
|
|
6456
|
-
/* @__PURE__ */ (0,
|
|
6791
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
6457
6792
|
ScToggleSwitch,
|
|
6458
6793
|
{
|
|
6459
6794
|
active: "false",
|
|
@@ -6474,22 +6809,22 @@ var ScPhtogenixInvite_default = {
|
|
|
6474
6809
|
};
|
|
6475
6810
|
|
|
6476
6811
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
6477
|
-
var
|
|
6812
|
+
var import_jsx_runtime92 = __toESM(require_jsx_runtime());
|
|
6478
6813
|
var ScPhtogenixInvite = ({
|
|
6479
6814
|
active = "true",
|
|
6480
6815
|
scAppCardappDescription = "Info about photogenix",
|
|
6481
6816
|
scAppCardappName = "Photogenix",
|
|
6482
|
-
scAppCardappIcon = /* @__PURE__ */ (0,
|
|
6817
|
+
scAppCardappIcon = /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
6483
6818
|
className,
|
|
6484
6819
|
...props
|
|
6485
6820
|
}) => {
|
|
6486
6821
|
const variantsClassName = ScPhtogenixInvite_default["active-" + active];
|
|
6487
|
-
return /* @__PURE__ */ (0,
|
|
6822
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
6488
6823
|
"div",
|
|
6489
6824
|
{
|
|
6490
6825
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
6491
6826
|
children: [
|
|
6492
|
-
/* @__PURE__ */ (0,
|
|
6827
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6493
6828
|
ScAppCard,
|
|
6494
6829
|
{
|
|
6495
6830
|
appIcon: scAppCardappIcon,
|
|
@@ -6498,7 +6833,7 @@ var ScPhtogenixInvite = ({
|
|
|
6498
6833
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
6499
6834
|
}
|
|
6500
6835
|
),
|
|
6501
|
-
/* @__PURE__ */ (0,
|
|
6836
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6502
6837
|
ScToggleSwitch,
|
|
6503
6838
|
{
|
|
6504
6839
|
active: "false",
|
|
@@ -6539,10 +6874,10 @@ var ScOnlyField_default = {
|
|
|
6539
6874
|
};
|
|
6540
6875
|
|
|
6541
6876
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
6542
|
-
var
|
|
6877
|
+
var import_jsx_runtime93 = __toESM(require_jsx_runtime());
|
|
6543
6878
|
var ScOnlyField = ({
|
|
6544
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
6545
|
-
tfLeftIcon = /* @__PURE__ */ (0,
|
|
6879
|
+
tfRightIcon = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(sicon_bolt_default, { className: ScOnlyField_default.siconBoltInstance }),
|
|
6880
|
+
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(sicon_bolt_default, { className: ScOnlyField_default.siconBoltInstance }),
|
|
6546
6881
|
state = "default",
|
|
6547
6882
|
tfGroup = "icon-right",
|
|
6548
6883
|
labelGroup = "none",
|
|
@@ -6551,25 +6886,25 @@ var ScOnlyField = ({
|
|
|
6551
6886
|
...props
|
|
6552
6887
|
}) => {
|
|
6553
6888
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup];
|
|
6554
|
-
return /* @__PURE__ */ (0,
|
|
6889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
6555
6890
|
"div",
|
|
6556
6891
|
{
|
|
6557
6892
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
6558
6893
|
...props,
|
|
6559
|
-
children: /* @__PURE__ */ (0,
|
|
6560
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
6561
|
-
/* @__PURE__ */ (0,
|
|
6894
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
6895
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: tfLeftIcon }),
|
|
6896
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScOnlyField_default.inputText, children: [
|
|
6562
6897
|
placeholderFilled,
|
|
6563
6898
|
" "
|
|
6564
6899
|
] }),
|
|
6565
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
6900
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: tfRightIcon })
|
|
6566
6901
|
] })
|
|
6567
6902
|
}
|
|
6568
6903
|
);
|
|
6569
6904
|
};
|
|
6570
6905
|
|
|
6571
6906
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
6572
|
-
var
|
|
6907
|
+
var import_jsx_runtime94 = __toESM(require_jsx_runtime());
|
|
6573
6908
|
var ScCatalogixInvite = ({
|
|
6574
6909
|
active = "false",
|
|
6575
6910
|
appName = "Catalogix",
|
|
@@ -6582,23 +6917,23 @@ var ScCatalogixInvite = ({
|
|
|
6582
6917
|
...props
|
|
6583
6918
|
}) => {
|
|
6584
6919
|
const variantsClassName = ScCatalogixInvite_default["active-" + active];
|
|
6585
|
-
return /* @__PURE__ */ (0,
|
|
6920
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
|
|
6586
6921
|
"div",
|
|
6587
6922
|
{
|
|
6588
6923
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
6589
6924
|
...props,
|
|
6590
6925
|
children: [
|
|
6591
|
-
/* @__PURE__ */ (0,
|
|
6592
|
-
/* @__PURE__ */ (0,
|
|
6926
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
6927
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6593
6928
|
ScAppCard,
|
|
6594
6929
|
{
|
|
6595
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
6930
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
6596
6931
|
appDescription,
|
|
6597
6932
|
appName,
|
|
6598
6933
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
6599
6934
|
}
|
|
6600
6935
|
),
|
|
6601
|
-
/* @__PURE__ */ (0,
|
|
6936
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6602
6937
|
ScToggleSwitch,
|
|
6603
6938
|
{
|
|
6604
6939
|
active: "false",
|
|
@@ -6606,67 +6941,67 @@ var ScCatalogixInvite = ({
|
|
|
6606
6941
|
}
|
|
6607
6942
|
)
|
|
6608
6943
|
] }),
|
|
6609
|
-
active === "true" && /* @__PURE__ */ (0,
|
|
6610
|
-
/* @__PURE__ */ (0,
|
|
6611
|
-
/* @__PURE__ */ (0,
|
|
6944
|
+
active === "true" && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_jsx_runtime94.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
6945
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
6946
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
6612
6947
|
storeAccessTitle,
|
|
6613
6948
|
" "
|
|
6614
6949
|
] }),
|
|
6615
|
-
/* @__PURE__ */ (0,
|
|
6950
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
6616
6951
|
selectedCount,
|
|
6617
6952
|
" "
|
|
6618
6953
|
] })
|
|
6619
6954
|
] }),
|
|
6620
|
-
/* @__PURE__ */ (0,
|
|
6955
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6621
6956
|
ScOnlyField,
|
|
6622
6957
|
{
|
|
6623
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
6624
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
6958
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
6959
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
6625
6960
|
placeholderFilled: searchPlaceholder,
|
|
6626
6961
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
6627
6962
|
}
|
|
6628
6963
|
),
|
|
6629
|
-
/* @__PURE__ */ (0,
|
|
6630
|
-
/* @__PURE__ */ (0,
|
|
6964
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: ScCatalogixInvite_default.storeListContainer, children: [
|
|
6965
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6631
6966
|
ScPairtext,
|
|
6632
6967
|
{
|
|
6633
|
-
icon: /* @__PURE__ */ (0,
|
|
6968
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6634
6969
|
iconPosition: "right",
|
|
6635
6970
|
type: "checkbox",
|
|
6636
6971
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6637
6972
|
}
|
|
6638
6973
|
),
|
|
6639
|
-
/* @__PURE__ */ (0,
|
|
6974
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6640
6975
|
ScPairtext,
|
|
6641
6976
|
{
|
|
6642
|
-
icon: /* @__PURE__ */ (0,
|
|
6977
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6643
6978
|
iconPosition: "right",
|
|
6644
6979
|
type: "checkbox",
|
|
6645
6980
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6646
6981
|
}
|
|
6647
6982
|
),
|
|
6648
|
-
/* @__PURE__ */ (0,
|
|
6983
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6649
6984
|
ScPairtext,
|
|
6650
6985
|
{
|
|
6651
|
-
icon: /* @__PURE__ */ (0,
|
|
6986
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6652
6987
|
iconPosition: "right",
|
|
6653
6988
|
type: "checkbox",
|
|
6654
6989
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6655
6990
|
}
|
|
6656
6991
|
),
|
|
6657
|
-
/* @__PURE__ */ (0,
|
|
6992
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6658
6993
|
ScPairtext,
|
|
6659
6994
|
{
|
|
6660
|
-
icon: /* @__PURE__ */ (0,
|
|
6995
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6661
6996
|
iconPosition: "right",
|
|
6662
6997
|
type: "checkbox",
|
|
6663
6998
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
6664
6999
|
}
|
|
6665
7000
|
),
|
|
6666
|
-
/* @__PURE__ */ (0,
|
|
7001
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6667
7002
|
ScPairtext,
|
|
6668
7003
|
{
|
|
6669
|
-
icon: /* @__PURE__ */ (0,
|
|
7004
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(sicon_Home_default, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
6670
7005
|
iconPosition: "right",
|
|
6671
7006
|
type: "checkbox",
|
|
6672
7007
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -6680,34 +7015,34 @@ var ScCatalogixInvite = ({
|
|
|
6680
7015
|
};
|
|
6681
7016
|
|
|
6682
7017
|
// src/SC-appField/ScAppField.tsx
|
|
6683
|
-
var
|
|
7018
|
+
var import_jsx_runtime95 = __toESM(require_jsx_runtime());
|
|
6684
7019
|
var ScAppField = ({
|
|
6685
7020
|
appFieldTitle = "App permission",
|
|
6686
7021
|
className,
|
|
6687
7022
|
...props
|
|
6688
7023
|
}) => {
|
|
6689
|
-
return /* @__PURE__ */ (0,
|
|
6690
|
-
/* @__PURE__ */ (0,
|
|
7024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
7025
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.title, children: [
|
|
6691
7026
|
appFieldTitle,
|
|
6692
7027
|
" "
|
|
6693
7028
|
] }) }),
|
|
6694
|
-
/* @__PURE__ */ (0,
|
|
6695
|
-
/* @__PURE__ */ (0,
|
|
7029
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
|
|
7030
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6696
7031
|
ScArtifaxInvite,
|
|
6697
7032
|
{
|
|
6698
7033
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
6699
7034
|
}
|
|
6700
7035
|
),
|
|
6701
|
-
/* @__PURE__ */ (0,
|
|
7036
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6702
7037
|
ScPhtogenixInvite,
|
|
6703
7038
|
{
|
|
6704
7039
|
scAppCardappDescription: "Info about photogenix",
|
|
6705
7040
|
scAppCardappName: "Photogenix",
|
|
6706
|
-
scAppCardappIcon: /* @__PURE__ */ (0,
|
|
7041
|
+
scAppCardappIcon: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(sicon_photogenix_default, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
6707
7042
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
6708
7043
|
}
|
|
6709
7044
|
),
|
|
6710
|
-
/* @__PURE__ */ (0,
|
|
7045
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
6711
7046
|
ScCatalogixInvite,
|
|
6712
7047
|
{
|
|
6713
7048
|
active: "true",
|
|
@@ -6727,13 +7062,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
6727
7062
|
};
|
|
6728
7063
|
|
|
6729
7064
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
6730
|
-
var
|
|
7065
|
+
var import_jsx_runtime96 = __toESM(require_jsx_runtime());
|
|
6731
7066
|
var ScBillingHistoryHeader = ({
|
|
6732
7067
|
className,
|
|
6733
7068
|
...props
|
|
6734
7069
|
}) => {
|
|
6735
|
-
return /* @__PURE__ */ (0,
|
|
6736
|
-
/* @__PURE__ */ (0,
|
|
7070
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
7071
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6737
7072
|
ScHeader,
|
|
6738
7073
|
{
|
|
6739
7074
|
text: "Invoice",
|
|
@@ -6741,7 +7076,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6741
7076
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
6742
7077
|
}
|
|
6743
7078
|
),
|
|
6744
|
-
/* @__PURE__ */ (0,
|
|
7079
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6745
7080
|
ScHeader,
|
|
6746
7081
|
{
|
|
6747
7082
|
text: "Amount",
|
|
@@ -6749,7 +7084,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6749
7084
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
6750
7085
|
}
|
|
6751
7086
|
),
|
|
6752
|
-
/* @__PURE__ */ (0,
|
|
7087
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6753
7088
|
ScHeader,
|
|
6754
7089
|
{
|
|
6755
7090
|
text: "Date",
|
|
@@ -6757,7 +7092,7 @@ var ScBillingHistoryHeader = ({
|
|
|
6757
7092
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
6758
7093
|
}
|
|
6759
7094
|
),
|
|
6760
|
-
/* @__PURE__ */ (0,
|
|
7095
|
+
/* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
6761
7096
|
ScHeader,
|
|
6762
7097
|
{
|
|
6763
7098
|
text: "Action",
|
|
@@ -6778,30 +7113,30 @@ var ScCheckField_default = {
|
|
|
6778
7113
|
};
|
|
6779
7114
|
|
|
6780
7115
|
// src/SC-checkField/ScCheckField.tsx
|
|
6781
|
-
var
|
|
7116
|
+
var import_jsx_runtime97 = __toESM(require_jsx_runtime());
|
|
6782
7117
|
var ScCheckField = ({
|
|
6783
7118
|
label = "Label",
|
|
6784
7119
|
className,
|
|
6785
7120
|
...props
|
|
6786
7121
|
}) => {
|
|
6787
|
-
return /* @__PURE__ */ (0,
|
|
6788
|
-
/* @__PURE__ */ (0,
|
|
7122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
7123
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.label, children: [
|
|
6789
7124
|
label,
|
|
6790
7125
|
" "
|
|
6791
7126
|
] }) }),
|
|
6792
|
-
/* @__PURE__ */ (0,
|
|
6793
|
-
/* @__PURE__ */ (0,
|
|
7127
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScCheckField_default.tabSwitcher, children: [
|
|
7128
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6794
7129
|
ScPairtext,
|
|
6795
7130
|
{
|
|
6796
|
-
icon: /* @__PURE__ */ (0,
|
|
7131
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(sicon_Home_default, { className: ScCheckField_default.siconHomeInstance }),
|
|
6797
7132
|
type: "checkbox",
|
|
6798
7133
|
className: ScCheckField_default.scPairtextInstance
|
|
6799
7134
|
}
|
|
6800
7135
|
),
|
|
6801
|
-
/* @__PURE__ */ (0,
|
|
7136
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6802
7137
|
ScPairtext,
|
|
6803
7138
|
{
|
|
6804
|
-
icon: /* @__PURE__ */ (0,
|
|
7139
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(sicon_Home_default, { className: ScCheckField_default.siconHomeInstance }),
|
|
6805
7140
|
type: "checkbox",
|
|
6806
7141
|
className: ScCheckField_default.scPairtextInstance
|
|
6807
7142
|
}
|
|
@@ -6821,9 +7156,9 @@ var ScFieldButton_default = {
|
|
|
6821
7156
|
};
|
|
6822
7157
|
|
|
6823
7158
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
6824
|
-
var
|
|
7159
|
+
var import_jsx_runtime98 = __toESM(require_jsx_runtime());
|
|
6825
7160
|
var ScFieldButton = ({
|
|
6826
|
-
icon = /* @__PURE__ */ (0,
|
|
7161
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(sicon_Home_default, { className: ScFieldButton_default.siconHomeInstance }),
|
|
6827
7162
|
type = "default",
|
|
6828
7163
|
state = "default",
|
|
6829
7164
|
className,
|
|
@@ -6831,18 +7166,18 @@ var ScFieldButton = ({
|
|
|
6831
7166
|
...props
|
|
6832
7167
|
}) => {
|
|
6833
7168
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
6834
|
-
return /* @__PURE__ */ (0,
|
|
7169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
6835
7170
|
"div",
|
|
6836
7171
|
{
|
|
6837
7172
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
6838
7173
|
...props,
|
|
6839
|
-
children: /* @__PURE__ */ (0,
|
|
6840
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0,
|
|
6841
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0,
|
|
7174
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScFieldButton_default.container, children: [
|
|
7175
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: icon }),
|
|
7176
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScFieldButton_default.label, children: [
|
|
6842
7177
|
text,
|
|
6843
7178
|
" "
|
|
6844
7179
|
] }) }),
|
|
6845
|
-
type === "icon-left" && /* @__PURE__ */ (0,
|
|
7180
|
+
type === "icon-left" && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_jsx_runtime98.Fragment, { children: icon })
|
|
6846
7181
|
] })
|
|
6847
7182
|
}
|
|
6848
7183
|
);
|
|
@@ -6856,16 +7191,16 @@ var ScPendingAction_default = {
|
|
|
6856
7191
|
};
|
|
6857
7192
|
|
|
6858
7193
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
6859
|
-
var
|
|
7194
|
+
var import_jsx_runtime99 = __toESM(require_jsx_runtime());
|
|
6860
7195
|
var ScPendingAction = ({
|
|
6861
7196
|
className,
|
|
6862
7197
|
...props
|
|
6863
7198
|
}) => {
|
|
6864
|
-
return /* @__PURE__ */ (0,
|
|
6865
|
-
/* @__PURE__ */ (0,
|
|
7199
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
7200
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6866
7201
|
ScButton,
|
|
6867
7202
|
{
|
|
6868
|
-
icon: /* @__PURE__ */ (0,
|
|
7203
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(sicon_Home_default, { className: ScPendingAction_default.siconHomeInstance }),
|
|
6869
7204
|
text: "Cancel",
|
|
6870
7205
|
variant: "error",
|
|
6871
7206
|
type: "tertiary",
|
|
@@ -6873,11 +7208,11 @@ var ScPendingAction = ({
|
|
|
6873
7208
|
className: ScPendingAction_default.scButtonInstance
|
|
6874
7209
|
}
|
|
6875
7210
|
),
|
|
6876
|
-
/* @__PURE__ */ (0,
|
|
6877
|
-
/* @__PURE__ */ (0,
|
|
7211
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
7212
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
6878
7213
|
ScButton,
|
|
6879
7214
|
{
|
|
6880
|
-
icon: /* @__PURE__ */ (0,
|
|
7215
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(sicon_Home_default, { className: ScPendingAction_default.siconHomeInstance }),
|
|
6881
7216
|
text: "Resend",
|
|
6882
7217
|
variant: "tertiary",
|
|
6883
7218
|
size: "sm",
|
|
@@ -6900,7 +7235,7 @@ var ScQuickPrompt_default = {
|
|
|
6900
7235
|
};
|
|
6901
7236
|
|
|
6902
7237
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
6903
|
-
var
|
|
7238
|
+
var import_jsx_runtime100 = __toESM(require_jsx_runtime());
|
|
6904
7239
|
var ScQuickPrompt = ({
|
|
6905
7240
|
appName = "Photogenix",
|
|
6906
7241
|
heading = "Swap Model and Background",
|
|
@@ -6908,20 +7243,20 @@ var ScQuickPrompt = ({
|
|
|
6908
7243
|
className,
|
|
6909
7244
|
...props
|
|
6910
7245
|
}) => {
|
|
6911
|
-
return /* @__PURE__ */ (0,
|
|
6912
|
-
/* @__PURE__ */ (0,
|
|
6913
|
-
/* @__PURE__ */ (0,
|
|
6914
|
-
/* @__PURE__ */ (0,
|
|
7246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
7247
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
|
|
7248
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(sicon_bolt_default, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
7249
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
|
|
6915
7250
|
appName,
|
|
6916
7251
|
" "
|
|
6917
7252
|
] }) })
|
|
6918
7253
|
] }),
|
|
6919
|
-
/* @__PURE__ */ (0,
|
|
6920
|
-
/* @__PURE__ */ (0,
|
|
7254
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
|
|
7255
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
|
|
6921
7256
|
heading,
|
|
6922
7257
|
" "
|
|
6923
7258
|
] }),
|
|
6924
|
-
/* @__PURE__ */ (0,
|
|
7259
|
+
/* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
|
|
6925
7260
|
description,
|
|
6926
7261
|
" "
|
|
6927
7262
|
] })
|
|
@@ -6938,13 +7273,13 @@ var ScReferralTableHeader_default = {
|
|
|
6938
7273
|
};
|
|
6939
7274
|
|
|
6940
7275
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
6941
|
-
var
|
|
7276
|
+
var import_jsx_runtime101 = __toESM(require_jsx_runtime());
|
|
6942
7277
|
var ScReferralTableHeader = ({
|
|
6943
7278
|
className,
|
|
6944
7279
|
...props
|
|
6945
7280
|
}) => {
|
|
6946
|
-
return /* @__PURE__ */ (0,
|
|
6947
|
-
/* @__PURE__ */ (0,
|
|
7281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
7282
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6948
7283
|
ScHeader,
|
|
6949
7284
|
{
|
|
6950
7285
|
text: "User",
|
|
@@ -6952,7 +7287,7 @@ var ScReferralTableHeader = ({
|
|
|
6952
7287
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
6953
7288
|
}
|
|
6954
7289
|
),
|
|
6955
|
-
/* @__PURE__ */ (0,
|
|
7290
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6956
7291
|
ScHeader,
|
|
6957
7292
|
{
|
|
6958
7293
|
text: "Date",
|
|
@@ -6960,7 +7295,7 @@ var ScReferralTableHeader = ({
|
|
|
6960
7295
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
6961
7296
|
}
|
|
6962
7297
|
),
|
|
6963
|
-
/* @__PURE__ */ (0,
|
|
7298
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6964
7299
|
ScHeader,
|
|
6965
7300
|
{
|
|
6966
7301
|
text: "Status",
|
|
@@ -6968,7 +7303,7 @@ var ScReferralTableHeader = ({
|
|
|
6968
7303
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
6969
7304
|
}
|
|
6970
7305
|
),
|
|
6971
|
-
/* @__PURE__ */ (0,
|
|
7306
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
|
|
6972
7307
|
ScHeader,
|
|
6973
7308
|
{
|
|
6974
7309
|
text: "Reward",
|
|
@@ -6989,7 +7324,7 @@ var ScReferralTableList_default = {
|
|
|
6989
7324
|
};
|
|
6990
7325
|
|
|
6991
7326
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
6992
|
-
var
|
|
7327
|
+
var import_jsx_runtime102 = __toESM(require_jsx_runtime());
|
|
6993
7328
|
var ScReferralTableList = ({
|
|
6994
7329
|
userEmail = "chris@kepler.com",
|
|
6995
7330
|
userName,
|
|
@@ -6999,8 +7334,8 @@ var ScReferralTableList = ({
|
|
|
6999
7334
|
className,
|
|
7000
7335
|
...props
|
|
7001
7336
|
}) => {
|
|
7002
|
-
return /* @__PURE__ */ (0,
|
|
7003
|
-
/* @__PURE__ */ (0,
|
|
7337
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
7338
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
7004
7339
|
ScProfile,
|
|
7005
7340
|
{
|
|
7006
7341
|
subText: userEmail,
|
|
@@ -7008,12 +7343,12 @@ var ScReferralTableList = ({
|
|
|
7008
7343
|
className: ScReferralTableList_default.scProfileInstance
|
|
7009
7344
|
}
|
|
7010
7345
|
),
|
|
7011
|
-
/* @__PURE__ */ (0,
|
|
7346
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.date, children: [
|
|
7012
7347
|
date,
|
|
7013
7348
|
" "
|
|
7014
7349
|
] }),
|
|
7015
|
-
/* @__PURE__ */ (0,
|
|
7016
|
-
/* @__PURE__ */ (0,
|
|
7350
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
7351
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: ScReferralTableList_default.points, children: [
|
|
7017
7352
|
points,
|
|
7018
7353
|
" "
|
|
7019
7354
|
] })
|
|
@@ -7027,33 +7362,33 @@ var ScSettingsNav_default = {
|
|
|
7027
7362
|
};
|
|
7028
7363
|
|
|
7029
7364
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
7030
|
-
var
|
|
7365
|
+
var import_jsx_runtime103 = __toESM(require_jsx_runtime());
|
|
7031
7366
|
var ScSettingsNav = ({
|
|
7032
7367
|
className,
|
|
7033
7368
|
...props
|
|
7034
7369
|
}) => {
|
|
7035
|
-
return /* @__PURE__ */ (0,
|
|
7036
|
-
/* @__PURE__ */ (0,
|
|
7370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: ScSettingsNav_default.container, children: [
|
|
7371
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
7037
7372
|
ScSidebarMenu,
|
|
7038
7373
|
{
|
|
7039
|
-
icon: /* @__PURE__ */ (0,
|
|
7374
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_team_default, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
7040
7375
|
text: "Profile",
|
|
7041
7376
|
state: "active",
|
|
7042
7377
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
7043
7378
|
}
|
|
7044
7379
|
),
|
|
7045
|
-
/* @__PURE__ */ (0,
|
|
7380
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
7046
7381
|
ScSidebarMenu,
|
|
7047
7382
|
{
|
|
7048
|
-
icon: /* @__PURE__ */ (0,
|
|
7383
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_workspace_default, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
7049
7384
|
text: "Workspace",
|
|
7050
7385
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
7051
7386
|
}
|
|
7052
7387
|
),
|
|
7053
|
-
/* @__PURE__ */ (0,
|
|
7388
|
+
/* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
7054
7389
|
ScSidebarMenu,
|
|
7055
7390
|
{
|
|
7056
|
-
icon: /* @__PURE__ */ (0,
|
|
7391
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(sicon_referral_default, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
7057
7392
|
text: "Referral",
|
|
7058
7393
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
7059
7394
|
}
|
|
@@ -7069,18 +7404,18 @@ var ScTabField_default = {
|
|
|
7069
7404
|
};
|
|
7070
7405
|
|
|
7071
7406
|
// src/SC-tabField/ScTabField.tsx
|
|
7072
|
-
var
|
|
7407
|
+
var import_jsx_runtime104 = __toESM(require_jsx_runtime());
|
|
7073
7408
|
var ScTabField = ({
|
|
7074
7409
|
label = "Label",
|
|
7075
7410
|
className,
|
|
7076
7411
|
...props
|
|
7077
7412
|
}) => {
|
|
7078
|
-
return /* @__PURE__ */ (0,
|
|
7079
|
-
/* @__PURE__ */ (0,
|
|
7413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
7414
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: ScTabField_default.label, children: [
|
|
7080
7415
|
label,
|
|
7081
7416
|
" "
|
|
7082
7417
|
] }) }),
|
|
7083
|
-
/* @__PURE__ */ (0,
|
|
7418
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
7084
7419
|
] });
|
|
7085
7420
|
};
|
|
7086
7421
|
|
|
@@ -7097,19 +7432,19 @@ var ScTableHeader_default = {
|
|
|
7097
7432
|
};
|
|
7098
7433
|
|
|
7099
7434
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
7100
|
-
var
|
|
7435
|
+
var import_jsx_runtime105 = __toESM(require_jsx_runtime());
|
|
7101
7436
|
var ScTableHeader = ({
|
|
7102
7437
|
type = "default",
|
|
7103
7438
|
className,
|
|
7104
7439
|
...props
|
|
7105
7440
|
}) => {
|
|
7106
7441
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
7107
|
-
return /* @__PURE__ */ (0,
|
|
7442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
|
|
7108
7443
|
"div",
|
|
7109
7444
|
{
|
|
7110
7445
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
7111
7446
|
children: [
|
|
7112
|
-
/* @__PURE__ */ (0,
|
|
7447
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
7113
7448
|
ScHeader,
|
|
7114
7449
|
{
|
|
7115
7450
|
text: "User",
|
|
@@ -7117,7 +7452,7 @@ var ScTableHeader = ({
|
|
|
7117
7452
|
className: ScTableHeader_default.scHeaderInstance
|
|
7118
7453
|
}
|
|
7119
7454
|
),
|
|
7120
|
-
/* @__PURE__ */ (0,
|
|
7455
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
7121
7456
|
ScHeader,
|
|
7122
7457
|
{
|
|
7123
7458
|
text: "Role",
|
|
@@ -7125,7 +7460,7 @@ var ScTableHeader = ({
|
|
|
7125
7460
|
className: ScTableHeader_default.scHeaderInstance2
|
|
7126
7461
|
}
|
|
7127
7462
|
),
|
|
7128
|
-
/* @__PURE__ */ (0,
|
|
7463
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
7129
7464
|
ScHeader,
|
|
7130
7465
|
{
|
|
7131
7466
|
text: "Access",
|
|
@@ -7133,7 +7468,7 @@ var ScTableHeader = ({
|
|
|
7133
7468
|
className: ScTableHeader_default.scHeaderInstance3
|
|
7134
7469
|
}
|
|
7135
7470
|
),
|
|
7136
|
-
/* @__PURE__ */ (0,
|
|
7471
|
+
/* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
7137
7472
|
ScHeader,
|
|
7138
7473
|
{
|
|
7139
7474
|
text: "Invited by",
|
|
@@ -7141,7 +7476,7 @@ var ScTableHeader = ({
|
|
|
7141
7476
|
className: ScTableHeader_default.scHeaderInstance4
|
|
7142
7477
|
}
|
|
7143
7478
|
),
|
|
7144
|
-
type === "pending" && /* @__PURE__ */ (0,
|
|
7479
|
+
type === "pending" && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_jsx_runtime105.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
7145
7480
|
ScHeader,
|
|
7146
7481
|
{
|
|
7147
7482
|
text: "Invite action",
|
|
@@ -7149,7 +7484,7 @@ var ScTableHeader = ({
|
|
|
7149
7484
|
className: ScTableHeader_default.scHeaderInstance5
|
|
7150
7485
|
}
|
|
7151
7486
|
) }),
|
|
7152
|
-
type === "default" && /* @__PURE__ */ (0,
|
|
7487
|
+
type === "default" && /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_jsx_runtime105.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
7153
7488
|
ScHeader,
|
|
7154
7489
|
{
|
|
7155
7490
|
text: "Signed On",
|
|
@@ -7181,7 +7516,7 @@ var ScTableList_default = {
|
|
|
7181
7516
|
};
|
|
7182
7517
|
|
|
7183
7518
|
// src/SC-tableList/ScTableList.tsx
|
|
7184
|
-
var
|
|
7519
|
+
var import_jsx_runtime106 = __toESM(require_jsx_runtime());
|
|
7185
7520
|
var ScTableList = ({
|
|
7186
7521
|
invitedBy = "Rohan",
|
|
7187
7522
|
signedOn = "Nov 9th, 2025",
|
|
@@ -7193,51 +7528,51 @@ var ScTableList = ({
|
|
|
7193
7528
|
...props
|
|
7194
7529
|
}) => {
|
|
7195
7530
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
7196
|
-
return /* @__PURE__ */ (0,
|
|
7531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
7197
7532
|
"div",
|
|
7198
7533
|
{
|
|
7199
7534
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
7200
7535
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
7201
7536
|
...props,
|
|
7202
7537
|
children: [
|
|
7203
|
-
/* @__PURE__ */ (0,
|
|
7538
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7204
7539
|
ScProfile,
|
|
7205
7540
|
{
|
|
7206
7541
|
subText: userEmail,
|
|
7207
7542
|
className: ScTableList_default.scProfileInstance
|
|
7208
7543
|
}
|
|
7209
7544
|
),
|
|
7210
|
-
/* @__PURE__ */ (0,
|
|
7211
|
-
/* @__PURE__ */ (0,
|
|
7212
|
-
/* @__PURE__ */ (0,
|
|
7545
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
7546
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.accessInfo, children: [
|
|
7547
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7213
7548
|
ScAccess,
|
|
7214
7549
|
{
|
|
7215
|
-
component: /* @__PURE__ */ (0,
|
|
7216
|
-
component2: /* @__PURE__ */ (0,
|
|
7550
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_artifacts_default, { className: ScTableList_default.siconArtifactsInstance }),
|
|
7551
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_photogenix_default, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
7217
7552
|
className: ScTableList_default.scAccessInstance
|
|
7218
7553
|
}
|
|
7219
7554
|
),
|
|
7220
|
-
/* @__PURE__ */ (0,
|
|
7555
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7221
7556
|
ScAccess,
|
|
7222
7557
|
{
|
|
7223
|
-
component: /* @__PURE__ */ (0,
|
|
7224
|
-
component2: /* @__PURE__ */ (0,
|
|
7558
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_userAdd_default, { className: ScTableList_default.siconUserAddInstance }),
|
|
7559
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(sicon_Coins_default, { className: ScTableList_default.siconCoinsInstance }),
|
|
7225
7560
|
visibleSiconCatalogix: false,
|
|
7226
7561
|
className: ScTableList_default.scAccessInstance
|
|
7227
7562
|
}
|
|
7228
7563
|
)
|
|
7229
7564
|
] }),
|
|
7230
|
-
/* @__PURE__ */ (0,
|
|
7565
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.userName, children: [
|
|
7231
7566
|
invitedBy,
|
|
7232
7567
|
" "
|
|
7233
7568
|
] }),
|
|
7234
|
-
variant === "pending" && /* @__PURE__ */ (0,
|
|
7569
|
+
variant === "pending" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7235
7570
|
ScPendingAction,
|
|
7236
7571
|
{
|
|
7237
7572
|
className: ScTableList_default.scPendingActionInstance
|
|
7238
7573
|
}
|
|
7239
7574
|
) }),
|
|
7240
|
-
variant === "active" && /* @__PURE__ */ (0,
|
|
7575
|
+
variant === "active" && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: ScTableList_default.date, children: [
|
|
7241
7576
|
signedOn,
|
|
7242
7577
|
" "
|
|
7243
7578
|
] }) })
|
|
@@ -7266,7 +7601,7 @@ var ScWorkspaceCard_default = {
|
|
|
7266
7601
|
};
|
|
7267
7602
|
|
|
7268
7603
|
// src/SC-workspaceCard/ScWorkspaceCard.tsx
|
|
7269
|
-
var
|
|
7604
|
+
var import_jsx_runtime107 = __toESM(require_jsx_runtime());
|
|
7270
7605
|
var ScWorkspaceCard = ({
|
|
7271
7606
|
workspaceName = "Stores",
|
|
7272
7607
|
role = "Admin",
|
|
@@ -7276,21 +7611,21 @@ var ScWorkspaceCard = ({
|
|
|
7276
7611
|
className,
|
|
7277
7612
|
...props
|
|
7278
7613
|
}) => {
|
|
7279
|
-
return /* @__PURE__ */ (0,
|
|
7280
|
-
/* @__PURE__ */ (0,
|
|
7281
|
-
/* @__PURE__ */ (0,
|
|
7614
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
7615
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
7616
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7282
7617
|
ScIntialProfileCover,
|
|
7283
7618
|
{
|
|
7284
7619
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
7285
7620
|
}
|
|
7286
7621
|
),
|
|
7287
|
-
/* @__PURE__ */ (0,
|
|
7622
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
7288
7623
|
workspaceName,
|
|
7289
7624
|
" "
|
|
7290
7625
|
] })
|
|
7291
7626
|
] }),
|
|
7292
|
-
/* @__PURE__ */ (0,
|
|
7293
|
-
/* @__PURE__ */ (0,
|
|
7627
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
7628
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7294
7629
|
ScBadges,
|
|
7295
7630
|
{
|
|
7296
7631
|
text: role,
|
|
@@ -7298,41 +7633,41 @@ var ScWorkspaceCard = ({
|
|
|
7298
7633
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
7299
7634
|
}
|
|
7300
7635
|
),
|
|
7301
|
-
/* @__PURE__ */ (0,
|
|
7302
|
-
/* @__PURE__ */ (0,
|
|
7636
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
7637
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7303
7638
|
ScPairtext,
|
|
7304
7639
|
{
|
|
7305
|
-
icon: /* @__PURE__ */ (0,
|
|
7640
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_team_default, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
7306
7641
|
content: userCount,
|
|
7307
7642
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
7308
7643
|
}
|
|
7309
7644
|
),
|
|
7310
|
-
/* @__PURE__ */ (0,
|
|
7311
|
-
/* @__PURE__ */ (0,
|
|
7645
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
7646
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7312
7647
|
ScPairtext,
|
|
7313
7648
|
{
|
|
7314
|
-
icon: /* @__PURE__ */ (0,
|
|
7649
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_Crown_default, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
7315
7650
|
content: ownerEmail,
|
|
7316
7651
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
7317
7652
|
}
|
|
7318
7653
|
)
|
|
7319
7654
|
] })
|
|
7320
7655
|
] }),
|
|
7321
|
-
/* @__PURE__ */ (0,
|
|
7656
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7322
7657
|
ScButton,
|
|
7323
7658
|
{
|
|
7324
|
-
icon: /* @__PURE__ */ (0,
|
|
7659
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_switch_default, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
7325
7660
|
text: buttonText,
|
|
7326
7661
|
state: "disabled",
|
|
7327
7662
|
variant: "outline",
|
|
7328
7663
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
7329
7664
|
}
|
|
7330
7665
|
),
|
|
7331
|
-
/* @__PURE__ */ (0,
|
|
7666
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7332
7667
|
ScButton,
|
|
7333
7668
|
{
|
|
7334
7669
|
text: "Leave workspace",
|
|
7335
|
-
icon: /* @__PURE__ */ (0,
|
|
7670
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(sicon_logout_default, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
7336
7671
|
styleVariant: "icon-only",
|
|
7337
7672
|
variant: "error",
|
|
7338
7673
|
className: ScWorkspaceCard_default.scButtonInstance2
|