@streamoid/ui 0.4.3 → 0.4.5
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 +539 -0
- package/dist/index.d.mts +109 -1
- package/dist/index.d.ts +109 -1
- package/dist/index.js +909 -448
- package/dist/index.mjs +884 -415
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(index_exports, {
|
|
|
29
29
|
ScAppField: () => ScAppField,
|
|
30
30
|
ScAppListingCard: () => ScAppListingCard,
|
|
31
31
|
ScArtifaxInvite: () => ScArtifaxInvite,
|
|
32
|
+
ScArtifaxSidebar: () => ScArtifaxSidebar,
|
|
32
33
|
ScBadges: () => ScBadges,
|
|
33
34
|
ScBillingHistoryHeader: () => ScBillingHistoryHeader,
|
|
34
35
|
ScBillingHistoryTableList: () => ScBillingHistoryTableList,
|
|
@@ -45,6 +46,7 @@ __export(index_exports, {
|
|
|
45
46
|
ScDp: () => ScDp,
|
|
46
47
|
ScFieldButton: () => ScFieldButton,
|
|
47
48
|
ScGoogleSignIn: () => ScGoogleSignIn,
|
|
49
|
+
ScGuide: () => ScGuide,
|
|
48
50
|
ScHDivider: () => ScHDivider,
|
|
49
51
|
ScHeader: () => ScHeader,
|
|
50
52
|
ScImageField: () => ScImageField,
|
|
@@ -77,6 +79,7 @@ __export(index_exports, {
|
|
|
77
79
|
ScRoleMobile: () => ScRoleMobile,
|
|
78
80
|
ScSettingsNav: () => ScSettingsNav,
|
|
79
81
|
ScSettingsTabComp: () => ScSettingsTabComp,
|
|
82
|
+
ScSideBarLogoUnit: () => ScSideBarLogoUnit,
|
|
80
83
|
ScSidebar: () => ScSidebar,
|
|
81
84
|
ScSidebarIcons: () => ScSidebarIcons,
|
|
82
85
|
ScSidebarMenu: () => ScSidebarMenu,
|
|
@@ -3340,6 +3343,464 @@ function StreamoidSidebar({
|
|
|
3340
3343
|
);
|
|
3341
3344
|
}
|
|
3342
3345
|
|
|
3346
|
+
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
3347
|
+
var import_react8 = require("react");
|
|
3348
|
+
|
|
3349
|
+
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.module.css
|
|
3350
|
+
var ScArtifaxSidebar_default = {
|
|
3351
|
+
scArtifaxSidebar: "ScArtifaxSidebar_scArtifaxSidebar",
|
|
3352
|
+
variantExpanded: "ScArtifaxSidebar_variantExpanded",
|
|
3353
|
+
container: "ScArtifaxSidebar_container",
|
|
3354
|
+
expanded: "ScArtifaxSidebar_expanded",
|
|
3355
|
+
collapsed: "ScArtifaxSidebar_collapsed",
|
|
3356
|
+
borderOverlayExpanded: "ScArtifaxSidebar_borderOverlayExpanded",
|
|
3357
|
+
borderOverlayCollapsed: "ScArtifaxSidebar_borderOverlayCollapsed",
|
|
3358
|
+
body: "ScArtifaxSidebar_body",
|
|
3359
|
+
bodyCollapsed: "ScArtifaxSidebar_bodyCollapsed",
|
|
3360
|
+
logoUnitExpanded: "ScArtifaxSidebar_logoUnitExpanded",
|
|
3361
|
+
logoUnitCollapsed: "ScArtifaxSidebar_logoUnitCollapsed",
|
|
3362
|
+
sectionContainer: "ScArtifaxSidebar_sectionContainer",
|
|
3363
|
+
sectionContainerCollapsed: "ScArtifaxSidebar_sectionContainerCollapsed",
|
|
3364
|
+
sectionHeader: "ScArtifaxSidebar_sectionHeader",
|
|
3365
|
+
sectionLabel: "ScArtifaxSidebar_sectionLabel",
|
|
3366
|
+
sectionChevron: "ScArtifaxSidebar_sectionChevron",
|
|
3367
|
+
switchAppRow: "ScArtifaxSidebar_switchAppRow",
|
|
3368
|
+
switchAppIconBox: "ScArtifaxSidebar_switchAppIconBox",
|
|
3369
|
+
switchAppLabel: "ScArtifaxSidebar_switchAppLabel",
|
|
3370
|
+
switchAppRowCollapsed: "ScArtifaxSidebar_switchAppRowCollapsed",
|
|
3371
|
+
profileRow: "ScArtifaxSidebar_profileRow",
|
|
3372
|
+
profileRowCollapsed: "ScArtifaxSidebar_profileRowCollapsed",
|
|
3373
|
+
profileAvatar: "ScArtifaxSidebar_profileAvatar",
|
|
3374
|
+
profileInfo: "ScArtifaxSidebar_profileInfo",
|
|
3375
|
+
profileName: "ScArtifaxSidebar_profileName",
|
|
3376
|
+
profileSubtitle: "ScArtifaxSidebar_profileSubtitle",
|
|
3377
|
+
creditWarningSlot: "ScArtifaxSidebar_creditWarningSlot",
|
|
3378
|
+
footerExpanded: "ScArtifaxSidebar_footerExpanded",
|
|
3379
|
+
footerVersion: "ScArtifaxSidebar_footerVersion",
|
|
3380
|
+
footerToggle: "ScArtifaxSidebar_footerToggle",
|
|
3381
|
+
footerCollapsed: "ScArtifaxSidebar_footerCollapsed",
|
|
3382
|
+
footerVersionCenter: "ScArtifaxSidebar_footerVersionCenter",
|
|
3383
|
+
placeholderIcon: "ScArtifaxSidebar_placeholderIcon"
|
|
3384
|
+
};
|
|
3385
|
+
|
|
3386
|
+
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
3387
|
+
var import_icons35 = require("@streamoid/icons");
|
|
3388
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
3389
|
+
function ArtifaxPlaceholderIcon() {
|
|
3390
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
3391
|
+
}
|
|
3392
|
+
function resolveIcon2(iconMap, item, active, expanded) {
|
|
3393
|
+
const renderer = iconMap?.[item.iconKey];
|
|
3394
|
+
if (renderer == null) return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ArtifaxPlaceholderIcon, {});
|
|
3395
|
+
if (typeof renderer === "function") {
|
|
3396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx_runtime42.Fragment, { children: renderer({ item, active, expanded }) });
|
|
3397
|
+
}
|
|
3398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx_runtime42.Fragment, { children: renderer });
|
|
3399
|
+
}
|
|
3400
|
+
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
3401
|
+
if (toggleIcon == null)
|
|
3402
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_icons35.SiconCollapse, {});
|
|
3403
|
+
if (typeof toggleIcon === "function") {
|
|
3404
|
+
return toggleIcon(expanded);
|
|
3405
|
+
}
|
|
3406
|
+
return toggleIcon;
|
|
3407
|
+
}
|
|
3408
|
+
function SectionHeader2({
|
|
3409
|
+
label,
|
|
3410
|
+
open,
|
|
3411
|
+
onToggle
|
|
3412
|
+
}) {
|
|
3413
|
+
const Chevron = open ? import_icons35.SiconUp : import_icons35.SiconDown;
|
|
3414
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
3415
|
+
"button",
|
|
3416
|
+
{
|
|
3417
|
+
type: "button",
|
|
3418
|
+
className: ScArtifaxSidebar_default.sectionHeader,
|
|
3419
|
+
onClick: onToggle,
|
|
3420
|
+
disabled: !onToggle,
|
|
3421
|
+
children: [
|
|
3422
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.sectionLabel, children: label }),
|
|
3423
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Chevron, { className: ScArtifaxSidebar_default.sectionChevron })
|
|
3424
|
+
]
|
|
3425
|
+
}
|
|
3426
|
+
);
|
|
3427
|
+
}
|
|
3428
|
+
var ScArtifaxSidebar = ({
|
|
3429
|
+
expanded,
|
|
3430
|
+
onToggle,
|
|
3431
|
+
sections,
|
|
3432
|
+
iconMap,
|
|
3433
|
+
activeItemId,
|
|
3434
|
+
onItemSelect,
|
|
3435
|
+
expandedLogo,
|
|
3436
|
+
collapsedLogo,
|
|
3437
|
+
creditWarning,
|
|
3438
|
+
switchApp,
|
|
3439
|
+
profile,
|
|
3440
|
+
versionText = "v2.1.2",
|
|
3441
|
+
toggleIcon,
|
|
3442
|
+
openSections,
|
|
3443
|
+
onSectionToggle,
|
|
3444
|
+
className,
|
|
3445
|
+
style
|
|
3446
|
+
}) => {
|
|
3447
|
+
const isControlled = !!openSections;
|
|
3448
|
+
const [internalOpen, setInternalOpen] = (0, import_react8.useState)(
|
|
3449
|
+
() => {
|
|
3450
|
+
const init = {};
|
|
3451
|
+
sections.forEach((s) => {
|
|
3452
|
+
init[s.id] = s.defaultOpen ?? true;
|
|
3453
|
+
});
|
|
3454
|
+
return init;
|
|
3455
|
+
}
|
|
3456
|
+
);
|
|
3457
|
+
const isSectionOpen = (id) => isControlled ? !!openSections?.[id] : !!internalOpen[id];
|
|
3458
|
+
const handleSectionToggle = (0, import_react8.useCallback)(
|
|
3459
|
+
(id) => {
|
|
3460
|
+
const next = !isSectionOpen(id);
|
|
3461
|
+
if (isControlled) {
|
|
3462
|
+
onSectionToggle?.(id, next);
|
|
3463
|
+
} else {
|
|
3464
|
+
setInternalOpen((p) => ({ ...p, [id]: next }));
|
|
3465
|
+
onSectionToggle?.(id, next);
|
|
3466
|
+
}
|
|
3467
|
+
},
|
|
3468
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3469
|
+
[isControlled, onSectionToggle, internalOpen, openSections]
|
|
3470
|
+
);
|
|
3471
|
+
const renderMenuItem2 = (item, sectionId) => {
|
|
3472
|
+
const active = item.id === activeItemId;
|
|
3473
|
+
const state = active ? "active" : "default";
|
|
3474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3475
|
+
ScSidebarMenu,
|
|
3476
|
+
{
|
|
3477
|
+
icon: resolveIcon2(iconMap, item, active, expanded),
|
|
3478
|
+
text: expanded ? item.label : void 0,
|
|
3479
|
+
state,
|
|
3480
|
+
variant: expanded ? "expanded" : "collapsed",
|
|
3481
|
+
onClick: () => onItemSelect?.(item, sectionId)
|
|
3482
|
+
},
|
|
3483
|
+
item.id
|
|
3484
|
+
);
|
|
3485
|
+
};
|
|
3486
|
+
if (expanded) {
|
|
3487
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3488
|
+
"div",
|
|
3489
|
+
{
|
|
3490
|
+
className: ScArtifaxSidebar_default.scArtifaxSidebar + " " + ScArtifaxSidebar_default.variantExpanded + (className ? " " + className : ""),
|
|
3491
|
+
style,
|
|
3492
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.expanded, children: [
|
|
3493
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayExpanded }),
|
|
3494
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.body, children: [
|
|
3495
|
+
expandedLogo ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.logoUnitExpanded, children: expandedLogo }) : null,
|
|
3496
|
+
sections.map((section, idx) => {
|
|
3497
|
+
const open = section.label ? section.collapsible !== false ? isSectionOpen(section.id) : true : true;
|
|
3498
|
+
const showHeader = !!section.label;
|
|
3499
|
+
const canToggle = showHeader && section.collapsible !== false;
|
|
3500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
|
|
3501
|
+
idx > 0 ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {}) : null,
|
|
3502
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.sectionContainer, children: [
|
|
3503
|
+
showHeader ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3504
|
+
SectionHeader2,
|
|
3505
|
+
{
|
|
3506
|
+
label: section.label,
|
|
3507
|
+
open,
|
|
3508
|
+
onToggle: canToggle ? () => handleSectionToggle(section.id) : void 0
|
|
3509
|
+
}
|
|
3510
|
+
) : null,
|
|
3511
|
+
open ? section.items.map(
|
|
3512
|
+
(item) => renderMenuItem2(item, section.id)
|
|
3513
|
+
) : null
|
|
3514
|
+
] })
|
|
3515
|
+
] }, section.id);
|
|
3516
|
+
})
|
|
3517
|
+
] }),
|
|
3518
|
+
creditWarning ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3519
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3520
|
+
CreditWarningBanner,
|
|
3521
|
+
{
|
|
3522
|
+
availableCredits: creditWarning.availableCredits,
|
|
3523
|
+
remainingPct: creditWarning.remainingPct,
|
|
3524
|
+
level: creditWarning.level ?? "danger",
|
|
3525
|
+
onBuyCredits: creditWarning.onBuyCredits,
|
|
3526
|
+
expanded: true
|
|
3527
|
+
}
|
|
3528
|
+
) }),
|
|
3529
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {})
|
|
3530
|
+
] }) : null,
|
|
3531
|
+
switchApp ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3532
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
3533
|
+
"button",
|
|
3534
|
+
{
|
|
3535
|
+
type: "button",
|
|
3536
|
+
className: ScArtifaxSidebar_default.switchAppRow,
|
|
3537
|
+
onClick: switchApp.onClick,
|
|
3538
|
+
children: [
|
|
3539
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.switchAppIconBox, children: switchApp.icon ?? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_icons35.SiconAppSwitch, {}) }),
|
|
3540
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.switchAppLabel, children: switchApp.label ?? "Switch App" })
|
|
3541
|
+
]
|
|
3542
|
+
}
|
|
3543
|
+
),
|
|
3544
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {})
|
|
3545
|
+
] }) : null,
|
|
3546
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3547
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
3548
|
+
"button",
|
|
3549
|
+
{
|
|
3550
|
+
type: "button",
|
|
3551
|
+
className: ScArtifaxSidebar_default.profileRow,
|
|
3552
|
+
onClick: profile.onClick,
|
|
3553
|
+
children: [
|
|
3554
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar }),
|
|
3555
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.profileInfo, children: [
|
|
3556
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.profileName, children: profile.name }),
|
|
3557
|
+
profile.subtitle ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.profileSubtitle, children: profile.subtitle }) : null
|
|
3558
|
+
] })
|
|
3559
|
+
]
|
|
3560
|
+
}
|
|
3561
|
+
),
|
|
3562
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {})
|
|
3563
|
+
] }) : null,
|
|
3564
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.footerExpanded, children: [
|
|
3565
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.footerVersion, children: versionText }),
|
|
3566
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3567
|
+
"button",
|
|
3568
|
+
{
|
|
3569
|
+
type: "button",
|
|
3570
|
+
className: ScArtifaxSidebar_default.footerToggle,
|
|
3571
|
+
onClick: onToggle,
|
|
3572
|
+
"aria-label": "Collapse sidebar",
|
|
3573
|
+
children: resolveToggleIcon2(toggleIcon, true)
|
|
3574
|
+
}
|
|
3575
|
+
)
|
|
3576
|
+
] })
|
|
3577
|
+
] })
|
|
3578
|
+
}
|
|
3579
|
+
);
|
|
3580
|
+
}
|
|
3581
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3582
|
+
"div",
|
|
3583
|
+
{
|
|
3584
|
+
className: ScArtifaxSidebar_default.scArtifaxSidebar + (className ? " " + className : ""),
|
|
3585
|
+
style,
|
|
3586
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.collapsed, children: [
|
|
3587
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayCollapsed }),
|
|
3588
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.body + " " + ScArtifaxSidebar_default.bodyCollapsed, children: [
|
|
3589
|
+
collapsedLogo ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.logoUnitCollapsed, children: collapsedLogo }) : null,
|
|
3590
|
+
sections.map((section, idx) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
|
|
3591
|
+
idx > 0 ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {}) : null,
|
|
3592
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.sectionContainerCollapsed, children: section.items.map((item) => renderMenuItem2(item, section.id)) })
|
|
3593
|
+
] }, section.id))
|
|
3594
|
+
] }),
|
|
3595
|
+
creditWarning ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3596
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3597
|
+
CreditWarningBanner,
|
|
3598
|
+
{
|
|
3599
|
+
availableCredits: creditWarning.availableCredits,
|
|
3600
|
+
remainingPct: creditWarning.remainingPct,
|
|
3601
|
+
level: creditWarning.level ?? "danger",
|
|
3602
|
+
onBuyCredits: creditWarning.onBuyCredits,
|
|
3603
|
+
expanded: false
|
|
3604
|
+
}
|
|
3605
|
+
) }),
|
|
3606
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {})
|
|
3607
|
+
] }) : null,
|
|
3608
|
+
switchApp ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3609
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3610
|
+
"button",
|
|
3611
|
+
{
|
|
3612
|
+
type: "button",
|
|
3613
|
+
className: ScArtifaxSidebar_default.switchAppRowCollapsed,
|
|
3614
|
+
onClick: switchApp.onClick,
|
|
3615
|
+
"aria-label": switchApp.label ?? "Switch App",
|
|
3616
|
+
children: switchApp.icon ?? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_icons35.SiconAppSwitch, {})
|
|
3617
|
+
}
|
|
3618
|
+
),
|
|
3619
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {})
|
|
3620
|
+
] }) : null,
|
|
3621
|
+
profile ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
|
|
3622
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3623
|
+
"button",
|
|
3624
|
+
{
|
|
3625
|
+
type: "button",
|
|
3626
|
+
className: ScArtifaxSidebar_default.profileRowCollapsed,
|
|
3627
|
+
onClick: profile.onClick,
|
|
3628
|
+
"aria-label": profile.name,
|
|
3629
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar })
|
|
3630
|
+
}
|
|
3631
|
+
),
|
|
3632
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {})
|
|
3633
|
+
] }) : null,
|
|
3634
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
|
|
3635
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
3636
|
+
"button",
|
|
3637
|
+
{
|
|
3638
|
+
type: "button",
|
|
3639
|
+
className: ScArtifaxSidebar_default.footerToggle,
|
|
3640
|
+
onClick: onToggle,
|
|
3641
|
+
"aria-label": "Expand sidebar",
|
|
3642
|
+
children: resolveToggleIcon2(toggleIcon, false)
|
|
3643
|
+
}
|
|
3644
|
+
),
|
|
3645
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.footerVersionCenter, children: versionText })
|
|
3646
|
+
] })
|
|
3647
|
+
] })
|
|
3648
|
+
}
|
|
3649
|
+
);
|
|
3650
|
+
};
|
|
3651
|
+
|
|
3652
|
+
// src/SC-Guide/ScGuide.module.css
|
|
3653
|
+
var ScGuide_default = {
|
|
3654
|
+
scGuide: "ScGuide_scGuide",
|
|
3655
|
+
header: "ScGuide_header",
|
|
3656
|
+
title: "ScGuide_title",
|
|
3657
|
+
description: "ScGuide_description",
|
|
3658
|
+
actions: "ScGuide_actions",
|
|
3659
|
+
skipButton: "ScGuide_skipButton",
|
|
3660
|
+
skipSpacer: "ScGuide_skipSpacer",
|
|
3661
|
+
nextButton: "ScGuide_nextButton",
|
|
3662
|
+
nextLabel: "ScGuide_nextLabel",
|
|
3663
|
+
nextIcon: "ScGuide_nextIcon"
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
// src/SC-Guide/ScGuide.tsx
|
|
3667
|
+
var import_icons36 = require("@streamoid/icons");
|
|
3668
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
3669
|
+
var ScGuide = ({
|
|
3670
|
+
title = "Title",
|
|
3671
|
+
description = "Description",
|
|
3672
|
+
skipLabel = "Skip",
|
|
3673
|
+
nextLabel = "Next",
|
|
3674
|
+
nextIcon,
|
|
3675
|
+
onSkip,
|
|
3676
|
+
onNext,
|
|
3677
|
+
hideSkip = false,
|
|
3678
|
+
hideNext = false,
|
|
3679
|
+
disabled = false,
|
|
3680
|
+
className,
|
|
3681
|
+
style
|
|
3682
|
+
}) => {
|
|
3683
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3684
|
+
"div",
|
|
3685
|
+
{
|
|
3686
|
+
className: ScGuide_default.scGuide + (className ? " " + className : ""),
|
|
3687
|
+
style,
|
|
3688
|
+
children: [
|
|
3689
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: ScGuide_default.header, children: [
|
|
3690
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: ScGuide_default.title, children: title }),
|
|
3691
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: ScGuide_default.description, children: description })
|
|
3692
|
+
] }),
|
|
3693
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ScHDivider, {}),
|
|
3694
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: ScGuide_default.actions, children: [
|
|
3695
|
+
hideSkip ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.skipSpacer, "aria-hidden": "true", children: skipLabel }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
3696
|
+
"button",
|
|
3697
|
+
{
|
|
3698
|
+
type: "button",
|
|
3699
|
+
className: ScGuide_default.skipButton,
|
|
3700
|
+
onClick: onSkip,
|
|
3701
|
+
disabled,
|
|
3702
|
+
children: skipLabel
|
|
3703
|
+
}
|
|
3704
|
+
),
|
|
3705
|
+
!hideNext && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
3706
|
+
"button",
|
|
3707
|
+
{
|
|
3708
|
+
type: "button",
|
|
3709
|
+
className: ScGuide_default.nextButton,
|
|
3710
|
+
onClick: onNext,
|
|
3711
|
+
disabled,
|
|
3712
|
+
children: [
|
|
3713
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
3714
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons36.SiconRight, { size: 16, strokeWidth: 1.5 }) })
|
|
3715
|
+
]
|
|
3716
|
+
}
|
|
3717
|
+
)
|
|
3718
|
+
] })
|
|
3719
|
+
]
|
|
3720
|
+
}
|
|
3721
|
+
);
|
|
3722
|
+
};
|
|
3723
|
+
|
|
3724
|
+
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.module.css
|
|
3725
|
+
var ScSideBarLogoUnit_default = {
|
|
3726
|
+
scSideBarLogoUnit: "ScSideBarLogoUnit_scSideBarLogoUnit",
|
|
3727
|
+
row: "ScSideBarLogoUnit_row",
|
|
3728
|
+
chip: "ScSideBarLogoUnit_chip",
|
|
3729
|
+
nonInteractive: "ScSideBarLogoUnit_nonInteractive",
|
|
3730
|
+
switch: "ScSideBarLogoUnit_switch",
|
|
3731
|
+
switchIcon: "ScSideBarLogoUnit_switchIcon",
|
|
3732
|
+
collapsed: "ScSideBarLogoUnit_collapsed",
|
|
3733
|
+
collapsedTrigger: "ScSideBarLogoUnit_collapsedTrigger"
|
|
3734
|
+
};
|
|
3735
|
+
|
|
3736
|
+
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.tsx
|
|
3737
|
+
var import_icons37 = require("@streamoid/icons");
|
|
3738
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
3739
|
+
var ScSideBarLogoUnit = ({
|
|
3740
|
+
state = "expanded",
|
|
3741
|
+
wordmark,
|
|
3742
|
+
onClick,
|
|
3743
|
+
onSwitchClick,
|
|
3744
|
+
switchAriaLabel = "Switch product",
|
|
3745
|
+
hideSwitch = false,
|
|
3746
|
+
disabled = false,
|
|
3747
|
+
className,
|
|
3748
|
+
style
|
|
3749
|
+
}) => {
|
|
3750
|
+
const interactive = !!onClick && !disabled;
|
|
3751
|
+
if (state === "collapsed") {
|
|
3752
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3753
|
+
"div",
|
|
3754
|
+
{
|
|
3755
|
+
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + " " + ScSideBarLogoUnit_default.collapsed + (className ? " " + className : ""),
|
|
3756
|
+
style,
|
|
3757
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3758
|
+
"button",
|
|
3759
|
+
{
|
|
3760
|
+
type: "button",
|
|
3761
|
+
className: ScSideBarLogoUnit_default.collapsedTrigger + (interactive ? "" : " " + ScSideBarLogoUnit_default.nonInteractive),
|
|
3762
|
+
onClick: interactive ? onClick : void 0,
|
|
3763
|
+
disabled,
|
|
3764
|
+
"aria-disabled": !interactive || disabled,
|
|
3765
|
+
children: wordmark
|
|
3766
|
+
}
|
|
3767
|
+
)
|
|
3768
|
+
}
|
|
3769
|
+
);
|
|
3770
|
+
}
|
|
3771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3772
|
+
"div",
|
|
3773
|
+
{
|
|
3774
|
+
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + (className ? " " + className : ""),
|
|
3775
|
+
style,
|
|
3776
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: ScSideBarLogoUnit_default.row, children: [
|
|
3777
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3778
|
+
"button",
|
|
3779
|
+
{
|
|
3780
|
+
type: "button",
|
|
3781
|
+
className: ScSideBarLogoUnit_default.chip + (interactive ? "" : " " + ScSideBarLogoUnit_default.nonInteractive),
|
|
3782
|
+
onClick: interactive ? onClick : void 0,
|
|
3783
|
+
disabled,
|
|
3784
|
+
"aria-disabled": !interactive || disabled,
|
|
3785
|
+
children: wordmark
|
|
3786
|
+
}
|
|
3787
|
+
),
|
|
3788
|
+
hideSwitch ? null : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
3789
|
+
"button",
|
|
3790
|
+
{
|
|
3791
|
+
type: "button",
|
|
3792
|
+
className: ScSideBarLogoUnit_default.switch,
|
|
3793
|
+
onClick: onSwitchClick,
|
|
3794
|
+
disabled: disabled || !onSwitchClick,
|
|
3795
|
+
"aria-label": switchAriaLabel,
|
|
3796
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: ScSideBarLogoUnit_default.switchIcon, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_icons37.SiconDoubleArrow, { size: 16, strokeWidth: 1.5 }) })
|
|
3797
|
+
}
|
|
3798
|
+
)
|
|
3799
|
+
] })
|
|
3800
|
+
}
|
|
3801
|
+
);
|
|
3802
|
+
};
|
|
3803
|
+
|
|
3343
3804
|
// src/SC-Slider/ScSlider.module.css
|
|
3344
3805
|
var ScSlider_default = {
|
|
3345
3806
|
scSlider: "ScSlider_scSlider",
|
|
@@ -3350,30 +3811,30 @@ var ScSlider_default = {
|
|
|
3350
3811
|
};
|
|
3351
3812
|
|
|
3352
3813
|
// src/SC-Slider/ScSlider.tsx
|
|
3353
|
-
var
|
|
3814
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
3354
3815
|
var ScSlider = ({
|
|
3355
3816
|
className,
|
|
3356
3817
|
onValueChange,
|
|
3357
3818
|
...props
|
|
3358
3819
|
}) => {
|
|
3359
|
-
return /* @__PURE__ */ (0,
|
|
3360
|
-
/* @__PURE__ */ (0,
|
|
3361
|
-
/* @__PURE__ */ (0,
|
|
3362
|
-
/* @__PURE__ */ (0,
|
|
3363
|
-
/* @__PURE__ */ (0,
|
|
3364
|
-
/* @__PURE__ */ (0,
|
|
3365
|
-
/* @__PURE__ */ (0,
|
|
3366
|
-
/* @__PURE__ */ (0,
|
|
3367
|
-
/* @__PURE__ */ (0,
|
|
3368
|
-
/* @__PURE__ */ (0,
|
|
3369
|
-
/* @__PURE__ */ (0,
|
|
3820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
3821
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressBar }),
|
|
3822
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressDot }),
|
|
3823
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3824
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
3825
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3826
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
3827
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3828
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressDot2 }),
|
|
3829
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressBar2 }),
|
|
3830
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: ScSlider_default.progressDot2 })
|
|
3370
3831
|
] });
|
|
3371
3832
|
};
|
|
3372
3833
|
|
|
3373
3834
|
// src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
|
|
3374
|
-
var
|
|
3375
|
-
var
|
|
3376
|
-
var
|
|
3835
|
+
var import_react9 = require("react");
|
|
3836
|
+
var import_icons38 = require("@streamoid/icons");
|
|
3837
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
3377
3838
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
3378
3839
|
function deriveInitials(name) {
|
|
3379
3840
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -3391,7 +3852,7 @@ function WorkspaceRow({
|
|
|
3391
3852
|
switchWorkspaceText,
|
|
3392
3853
|
onSwitch
|
|
3393
3854
|
}) {
|
|
3394
|
-
return /* @__PURE__ */ (0,
|
|
3855
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3395
3856
|
"div",
|
|
3396
3857
|
{
|
|
3397
3858
|
className: "relative shrink-0 w-full",
|
|
@@ -3401,7 +3862,7 @@ function WorkspaceRow({
|
|
|
3401
3862
|
backdropFilter: "blur(4px)"
|
|
3402
3863
|
},
|
|
3403
3864
|
children: [
|
|
3404
|
-
/* @__PURE__ */ (0,
|
|
3865
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3405
3866
|
"div",
|
|
3406
3867
|
{
|
|
3407
3868
|
"aria-hidden": "true",
|
|
@@ -3412,7 +3873,7 @@ function WorkspaceRow({
|
|
|
3412
3873
|
}
|
|
3413
3874
|
}
|
|
3414
3875
|
),
|
|
3415
|
-
/* @__PURE__ */ (0,
|
|
3876
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3416
3877
|
"div",
|
|
3417
3878
|
{
|
|
3418
3879
|
className: "flex items-center w-full",
|
|
@@ -3421,20 +3882,20 @@ function WorkspaceRow({
|
|
|
3421
3882
|
padding: "var(--spacing-6xl)"
|
|
3422
3883
|
},
|
|
3423
3884
|
children: [
|
|
3424
|
-
/* @__PURE__ */ (0,
|
|
3885
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3425
3886
|
"div",
|
|
3426
3887
|
{
|
|
3427
3888
|
className: "flex flex-1 items-center min-w-0",
|
|
3428
3889
|
style: { gap: "var(--spacing-xl)" },
|
|
3429
3890
|
children: [
|
|
3430
|
-
/* @__PURE__ */ (0,
|
|
3891
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3431
3892
|
ScIntialProfileCover,
|
|
3432
3893
|
{
|
|
3433
3894
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
3434
3895
|
className: "shrink-0"
|
|
3435
3896
|
}
|
|
3436
3897
|
),
|
|
3437
|
-
/* @__PURE__ */ (0,
|
|
3898
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3438
3899
|
"p",
|
|
3439
3900
|
{
|
|
3440
3901
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -3454,7 +3915,7 @@ function WorkspaceRow({
|
|
|
3454
3915
|
]
|
|
3455
3916
|
}
|
|
3456
3917
|
),
|
|
3457
|
-
/* @__PURE__ */ (0,
|
|
3918
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3458
3919
|
"div",
|
|
3459
3920
|
{
|
|
3460
3921
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3463,7 +3924,7 @@ function WorkspaceRow({
|
|
|
3463
3924
|
padding: "0 var(--spacing-3xl)"
|
|
3464
3925
|
},
|
|
3465
3926
|
children: [
|
|
3466
|
-
/* @__PURE__ */ (0,
|
|
3927
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3467
3928
|
ScRole,
|
|
3468
3929
|
{
|
|
3469
3930
|
type: normalizeRole(workspace.role),
|
|
@@ -3471,23 +3932,23 @@ function WorkspaceRow({
|
|
|
3471
3932
|
style: { width: 80 }
|
|
3472
3933
|
}
|
|
3473
3934
|
),
|
|
3474
|
-
/* @__PURE__ */ (0,
|
|
3935
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3475
3936
|
"div",
|
|
3476
3937
|
{
|
|
3477
3938
|
className: "flex items-center shrink-0",
|
|
3478
3939
|
style: { gap: "var(--spacing-3xl)" },
|
|
3479
3940
|
children: [
|
|
3480
|
-
/* @__PURE__ */ (0,
|
|
3941
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3481
3942
|
ScPairtext,
|
|
3482
3943
|
{
|
|
3483
|
-
icon: /* @__PURE__ */ (0,
|
|
3944
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons38.SiconTeam, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
3484
3945
|
content: workspace.userCount || "\u2013",
|
|
3485
3946
|
iconPosition: "left",
|
|
3486
3947
|
type: "icon"
|
|
3487
3948
|
}
|
|
3488
3949
|
) }),
|
|
3489
|
-
/* @__PURE__ */ (0,
|
|
3490
|
-
/* @__PURE__ */ (0,
|
|
3950
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ScVDivider, {}),
|
|
3951
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3491
3952
|
"div",
|
|
3492
3953
|
{
|
|
3493
3954
|
className: "flex items-center",
|
|
@@ -3497,14 +3958,14 @@ function WorkspaceRow({
|
|
|
3497
3958
|
gap: "var(--spacing-md)"
|
|
3498
3959
|
},
|
|
3499
3960
|
children: [
|
|
3500
|
-
/* @__PURE__ */ (0,
|
|
3501
|
-
|
|
3961
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3962
|
+
import_icons38.SiconCrown,
|
|
3502
3963
|
{
|
|
3503
3964
|
className: "w-6 h-6 shrink-0",
|
|
3504
3965
|
color: PRIMARY_ICON
|
|
3505
3966
|
}
|
|
3506
3967
|
),
|
|
3507
|
-
/* @__PURE__ */ (0,
|
|
3968
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3508
3969
|
"span",
|
|
3509
3970
|
{
|
|
3510
3971
|
className: "truncate",
|
|
@@ -3526,7 +3987,7 @@ function WorkspaceRow({
|
|
|
3526
3987
|
]
|
|
3527
3988
|
}
|
|
3528
3989
|
),
|
|
3529
|
-
workspace.isCurrent ? /* @__PURE__ */ (0,
|
|
3990
|
+
workspace.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3530
3991
|
ScButton,
|
|
3531
3992
|
{
|
|
3532
3993
|
text: currentWorkspaceText,
|
|
@@ -3535,14 +3996,14 @@ function WorkspaceRow({
|
|
|
3535
3996
|
size: "lg",
|
|
3536
3997
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
3537
3998
|
}
|
|
3538
|
-
) : /* @__PURE__ */ (0,
|
|
3999
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3539
4000
|
ScButton,
|
|
3540
4001
|
{
|
|
3541
4002
|
text: switchWorkspaceText,
|
|
3542
4003
|
variant: "secondary",
|
|
3543
4004
|
size: "lg",
|
|
3544
4005
|
styleVariant: "icon-left",
|
|
3545
|
-
icon: /* @__PURE__ */ (0,
|
|
4006
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons38.SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
3546
4007
|
style: { width: 200, flexShrink: 0 },
|
|
3547
4008
|
onClick: onSwitch
|
|
3548
4009
|
}
|
|
@@ -3562,12 +4023,12 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3562
4023
|
onSwitchWorkspace,
|
|
3563
4024
|
config
|
|
3564
4025
|
}) {
|
|
3565
|
-
const modalRef = (0,
|
|
4026
|
+
const modalRef = (0, import_react9.useRef)(null);
|
|
3566
4027
|
const title = config?.title || "Switch workspace";
|
|
3567
4028
|
const loadingText = config?.loadingText || "Loading workspaces\u2026";
|
|
3568
4029
|
const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
|
|
3569
4030
|
const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
|
|
3570
|
-
(0,
|
|
4031
|
+
(0, import_react9.useEffect)(() => {
|
|
3571
4032
|
if (!open) return;
|
|
3572
4033
|
function handleKeyDown(e) {
|
|
3573
4034
|
if (e.key === "Escape") onClose();
|
|
@@ -3576,7 +4037,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3576
4037
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
3577
4038
|
}, [open, onClose]);
|
|
3578
4039
|
if (!open) return null;
|
|
3579
|
-
return /* @__PURE__ */ (0,
|
|
4040
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3580
4041
|
"div",
|
|
3581
4042
|
{
|
|
3582
4043
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -3584,7 +4045,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3584
4045
|
onClick: (e) => {
|
|
3585
4046
|
if (e.target === e.currentTarget) onClose();
|
|
3586
4047
|
},
|
|
3587
|
-
children: /* @__PURE__ */ (0,
|
|
4048
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3588
4049
|
"div",
|
|
3589
4050
|
{
|
|
3590
4051
|
ref: modalRef,
|
|
@@ -3597,14 +4058,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3597
4058
|
height: "60vh"
|
|
3598
4059
|
},
|
|
3599
4060
|
children: [
|
|
3600
|
-
/* @__PURE__ */ (0,
|
|
4061
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3601
4062
|
"div",
|
|
3602
4063
|
{
|
|
3603
4064
|
className: "shrink-0 w-full relative",
|
|
3604
4065
|
style: {
|
|
3605
4066
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3606
4067
|
},
|
|
3607
|
-
children: /* @__PURE__ */ (0,
|
|
4068
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3608
4069
|
"div",
|
|
3609
4070
|
{
|
|
3610
4071
|
className: "flex items-center w-full",
|
|
@@ -3613,7 +4074,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3613
4074
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
3614
4075
|
},
|
|
3615
4076
|
children: [
|
|
3616
|
-
/* @__PURE__ */ (0,
|
|
4077
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3617
4078
|
"p",
|
|
3618
4079
|
{
|
|
3619
4080
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -3627,20 +4088,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3627
4088
|
children: title
|
|
3628
4089
|
}
|
|
3629
4090
|
),
|
|
3630
|
-
/* @__PURE__ */ (0,
|
|
4091
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons38.SiconClose, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
3631
4092
|
]
|
|
3632
4093
|
}
|
|
3633
4094
|
) })
|
|
3634
4095
|
}
|
|
3635
4096
|
),
|
|
3636
|
-
/* @__PURE__ */ (0,
|
|
4097
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3637
4098
|
"div",
|
|
3638
4099
|
{
|
|
3639
4100
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
3640
4101
|
style: {
|
|
3641
4102
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3642
4103
|
},
|
|
3643
|
-
children: /* @__PURE__ */ (0,
|
|
4104
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
3644
4105
|
"div",
|
|
3645
4106
|
{
|
|
3646
4107
|
className: "flex flex-col items-start",
|
|
@@ -3649,7 +4110,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3649
4110
|
gap: "var(--spacing-3xl)"
|
|
3650
4111
|
},
|
|
3651
4112
|
children: [
|
|
3652
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */ (0,
|
|
4113
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3653
4114
|
"p",
|
|
3654
4115
|
{
|
|
3655
4116
|
style: {
|
|
@@ -3660,7 +4121,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3660
4121
|
children: loadingText
|
|
3661
4122
|
}
|
|
3662
4123
|
) : null,
|
|
3663
|
-
workspaces.map((ws) => /* @__PURE__ */ (0,
|
|
4124
|
+
workspaces.map((ws) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
3664
4125
|
WorkspaceRow,
|
|
3665
4126
|
{
|
|
3666
4127
|
workspace: ws,
|
|
@@ -3698,24 +4159,24 @@ var ScAppListingCard_default = {
|
|
|
3698
4159
|
};
|
|
3699
4160
|
|
|
3700
4161
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3701
|
-
var
|
|
3702
|
-
var
|
|
4162
|
+
var import_icons39 = require("@streamoid/icons");
|
|
4163
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
3703
4164
|
var ScAppListingCard = ({
|
|
3704
|
-
icon = /* @__PURE__ */ (0,
|
|
4165
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_icons39.SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3705
4166
|
title = "Stores",
|
|
3706
4167
|
descrp = "Centralized product and asset management for every storefront",
|
|
3707
4168
|
className,
|
|
3708
4169
|
...props
|
|
3709
4170
|
}) => {
|
|
3710
|
-
return /* @__PURE__ */ (0,
|
|
3711
|
-
/* @__PURE__ */ (0,
|
|
3712
|
-
/* @__PURE__ */ (0,
|
|
3713
|
-
/* @__PURE__ */ (0,
|
|
4171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
4172
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: ScAppListingCard_default.header, children: [
|
|
4173
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
4174
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: ScAppListingCard_default.title, children: [
|
|
3714
4175
|
title,
|
|
3715
4176
|
" "
|
|
3716
4177
|
] })
|
|
3717
4178
|
] }),
|
|
3718
|
-
/* @__PURE__ */ (0,
|
|
4179
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: ScAppListingCard_default.description, children: [
|
|
3719
4180
|
descrp,
|
|
3720
4181
|
" "
|
|
3721
4182
|
] })
|
|
@@ -3732,23 +4193,23 @@ var ScAppCard_default = {
|
|
|
3732
4193
|
};
|
|
3733
4194
|
|
|
3734
4195
|
// src/SC-appCard/ScAppCard.tsx
|
|
3735
|
-
var
|
|
3736
|
-
var
|
|
4196
|
+
var import_icons40 = require("@streamoid/icons");
|
|
4197
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
3737
4198
|
var ScAppCard = ({
|
|
3738
|
-
appIcon = /* @__PURE__ */ (0,
|
|
4199
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_icons40.SiconArtifacts, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3739
4200
|
appName = "Artifax",
|
|
3740
4201
|
appDescription = "Info about artifax",
|
|
3741
4202
|
className,
|
|
3742
4203
|
...props
|
|
3743
4204
|
}) => {
|
|
3744
|
-
return /* @__PURE__ */ (0,
|
|
3745
|
-
/* @__PURE__ */ (0,
|
|
3746
|
-
/* @__PURE__ */ (0,
|
|
3747
|
-
/* @__PURE__ */ (0,
|
|
4205
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
4206
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
4207
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
|
|
4208
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: ScAppCard_default.title, children: [
|
|
3748
4209
|
appName,
|
|
3749
4210
|
" "
|
|
3750
4211
|
] }),
|
|
3751
|
-
/* @__PURE__ */ (0,
|
|
4212
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: ScAppCard_default.subtitle, children: [
|
|
3752
4213
|
appDescription,
|
|
3753
4214
|
" "
|
|
3754
4215
|
] })
|
|
@@ -3774,10 +4235,10 @@ var ScAppCardV3_default = {
|
|
|
3774
4235
|
};
|
|
3775
4236
|
|
|
3776
4237
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
3777
|
-
var
|
|
3778
|
-
var
|
|
4238
|
+
var import_icons41 = require("@streamoid/icons");
|
|
4239
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
3779
4240
|
var ScAppCardV3 = ({
|
|
3780
|
-
appIcon = /* @__PURE__ */ (0,
|
|
4241
|
+
appIcon = /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_icons41.SiconCart, { className: ScAppCardV3_default.iconPillIcon }),
|
|
3781
4242
|
appName = "Stores",
|
|
3782
4243
|
description = "Centralized product and asset management for every storefront",
|
|
3783
4244
|
active = false,
|
|
@@ -3789,25 +4250,25 @@ var ScAppCardV3 = ({
|
|
|
3789
4250
|
ScAppCardV3_default.scAppCardV3,
|
|
3790
4251
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
3791
4252
|
].filter(Boolean).join(" ");
|
|
3792
|
-
return /* @__PURE__ */ (0,
|
|
4253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
3793
4254
|
"div",
|
|
3794
4255
|
{
|
|
3795
4256
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
3796
4257
|
style,
|
|
3797
4258
|
...props,
|
|
3798
|
-
children: /* @__PURE__ */ (0,
|
|
3799
|
-
/* @__PURE__ */ (0,
|
|
3800
|
-
/* @__PURE__ */ (0,
|
|
3801
|
-
/* @__PURE__ */ (0,
|
|
3802
|
-
/* @__PURE__ */ (0,
|
|
3803
|
-
/* @__PURE__ */ (0,
|
|
3804
|
-
/* @__PURE__ */ (0,
|
|
3805
|
-
/* @__PURE__ */ (0,
|
|
3806
|
-
/* @__PURE__ */ (0,
|
|
3807
|
-
/* @__PURE__ */ (0,
|
|
4259
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: cardClass, children: [
|
|
4260
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: ScAppCardV3_default.glow }),
|
|
4261
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: ScAppCardV3_default.glowHover }),
|
|
4262
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: ScAppCardV3_default.header, children: [
|
|
4263
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
4264
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
4265
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
4266
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
4267
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
4268
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
3808
4269
|
] })
|
|
3809
4270
|
] }),
|
|
3810
|
-
/* @__PURE__ */ (0,
|
|
4271
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: ScAppCardV3_default.description, children: description })
|
|
3811
4272
|
] })
|
|
3812
4273
|
] })
|
|
3813
4274
|
}
|
|
@@ -3834,7 +4295,7 @@ var ScArtifaxInvite_default = {
|
|
|
3834
4295
|
};
|
|
3835
4296
|
|
|
3836
4297
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3837
|
-
var
|
|
4298
|
+
var import_icons42 = require("@streamoid/icons");
|
|
3838
4299
|
|
|
3839
4300
|
// src/SC-toggleSwitch/ScToggleSwitch.module.css
|
|
3840
4301
|
var ScToggleSwitch_default = {
|
|
@@ -3845,7 +4306,7 @@ var ScToggleSwitch_default = {
|
|
|
3845
4306
|
};
|
|
3846
4307
|
|
|
3847
4308
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3848
|
-
var
|
|
4309
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
3849
4310
|
var ScToggleSwitch = ({
|
|
3850
4311
|
active = "false",
|
|
3851
4312
|
checked,
|
|
@@ -3855,7 +4316,7 @@ var ScToggleSwitch = ({
|
|
|
3855
4316
|
}) => {
|
|
3856
4317
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3857
4318
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3858
|
-
return /* @__PURE__ */ (0,
|
|
4319
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
3859
4320
|
"div",
|
|
3860
4321
|
{
|
|
3861
4322
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -3865,20 +4326,20 @@ var ScToggleSwitch = ({
|
|
|
3865
4326
|
props.onClick?.(e);
|
|
3866
4327
|
},
|
|
3867
4328
|
style: { cursor: "pointer", ...props.style },
|
|
3868
|
-
children: isActive ? /* @__PURE__ */ (0,
|
|
3869
|
-
/* @__PURE__ */ (0,
|
|
3870
|
-
/* @__PURE__ */ (0,
|
|
3871
|
-
] }) : /* @__PURE__ */ (0,
|
|
3872
|
-
/* @__PURE__ */ (0,
|
|
3873
|
-
/* @__PURE__ */ (0,
|
|
3874
|
-
/* @__PURE__ */ (0,
|
|
4329
|
+
children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4330
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
4331
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
4332
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4333
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.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)" }),
|
|
4334
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.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)" }),
|
|
4335
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.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)" })
|
|
3875
4336
|
] })
|
|
3876
4337
|
}
|
|
3877
4338
|
);
|
|
3878
4339
|
};
|
|
3879
4340
|
|
|
3880
4341
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3881
|
-
var
|
|
4342
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
3882
4343
|
var ScArtifaxInvite = ({
|
|
3883
4344
|
active = "true",
|
|
3884
4345
|
appName = "Artifax",
|
|
@@ -3891,22 +4352,22 @@ var ScArtifaxInvite = ({
|
|
|
3891
4352
|
}) => {
|
|
3892
4353
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3893
4354
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3894
|
-
return /* @__PURE__ */ (0,
|
|
4355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
3895
4356
|
"div",
|
|
3896
4357
|
{
|
|
3897
4358
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
3898
4359
|
...props,
|
|
3899
4360
|
children: [
|
|
3900
|
-
/* @__PURE__ */ (0,
|
|
4361
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3901
4362
|
ScAppCard,
|
|
3902
4363
|
{
|
|
3903
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
4364
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons42.SiconArtifacts, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
3904
4365
|
appName,
|
|
3905
4366
|
appDescription,
|
|
3906
4367
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
3907
4368
|
}
|
|
3908
4369
|
),
|
|
3909
|
-
/* @__PURE__ */ (0,
|
|
4370
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
3910
4371
|
ScToggleSwitch,
|
|
3911
4372
|
{
|
|
3912
4373
|
checked: isEnabled,
|
|
@@ -3920,7 +4381,7 @@ var ScArtifaxInvite = ({
|
|
|
3920
4381
|
};
|
|
3921
4382
|
|
|
3922
4383
|
// src/SC-appField/ScAppField.tsx
|
|
3923
|
-
var
|
|
4384
|
+
var import_icons48 = require("@streamoid/icons");
|
|
3924
4385
|
|
|
3925
4386
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.module.css
|
|
3926
4387
|
var ScPhtogenixInvite_default = {
|
|
@@ -3931,13 +4392,13 @@ var ScPhtogenixInvite_default = {
|
|
|
3931
4392
|
};
|
|
3932
4393
|
|
|
3933
4394
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3934
|
-
var
|
|
3935
|
-
var
|
|
4395
|
+
var import_icons43 = require("@streamoid/icons");
|
|
4396
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
3936
4397
|
var ScPhtogenixInvite = ({
|
|
3937
4398
|
active = "true",
|
|
3938
4399
|
scAppCardappDescription = "Info about photogenix",
|
|
3939
4400
|
scAppCardappName = "Photogenix",
|
|
3940
|
-
scAppCardappIcon = /* @__PURE__ */ (0,
|
|
4401
|
+
scAppCardappIcon = /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_icons43.SiconArtifacts, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3941
4402
|
className,
|
|
3942
4403
|
enabled,
|
|
3943
4404
|
onToggle,
|
|
@@ -3945,12 +4406,12 @@ var ScPhtogenixInvite = ({
|
|
|
3945
4406
|
}) => {
|
|
3946
4407
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3947
4408
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3948
|
-
return /* @__PURE__ */ (0,
|
|
4409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
3949
4410
|
"div",
|
|
3950
4411
|
{
|
|
3951
4412
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
3952
4413
|
children: [
|
|
3953
|
-
/* @__PURE__ */ (0,
|
|
4414
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3954
4415
|
ScAppCard,
|
|
3955
4416
|
{
|
|
3956
4417
|
appIcon: scAppCardappIcon,
|
|
@@ -3959,7 +4420,7 @@ var ScPhtogenixInvite = ({
|
|
|
3959
4420
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
3960
4421
|
}
|
|
3961
4422
|
),
|
|
3962
|
-
/* @__PURE__ */ (0,
|
|
4423
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
3963
4424
|
ScToggleSwitch,
|
|
3964
4425
|
{
|
|
3965
4426
|
checked: isEnabled,
|
|
@@ -3989,8 +4450,8 @@ var ScCatalogixInvite_default = {
|
|
|
3989
4450
|
};
|
|
3990
4451
|
|
|
3991
4452
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3992
|
-
var
|
|
3993
|
-
var
|
|
4453
|
+
var import_icons45 = require("@streamoid/icons");
|
|
4454
|
+
var import_icons46 = require("@streamoid/icons");
|
|
3994
4455
|
|
|
3995
4456
|
// src/SC-onlyField/ScOnlyField.module.css
|
|
3996
4457
|
var ScOnlyField_default = {
|
|
@@ -4008,11 +4469,11 @@ var ScOnlyField_default = {
|
|
|
4008
4469
|
};
|
|
4009
4470
|
|
|
4010
4471
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
4011
|
-
var
|
|
4012
|
-
var
|
|
4472
|
+
var import_icons44 = require("@streamoid/icons");
|
|
4473
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4013
4474
|
var ScOnlyField = ({
|
|
4014
|
-
tfRightIcon = /* @__PURE__ */ (0,
|
|
4015
|
-
tfLeftIcon = /* @__PURE__ */ (0,
|
|
4475
|
+
tfRightIcon = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_icons44.SiconBolt, { className: ScOnlyField_default.siconBoltInstance }),
|
|
4476
|
+
tfLeftIcon = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_icons44.SiconBolt, { className: ScOnlyField_default.siconBoltInstance }),
|
|
4016
4477
|
state = "default",
|
|
4017
4478
|
tfGroup = "icon-right",
|
|
4018
4479
|
labelGroup = "none",
|
|
@@ -4025,14 +4486,14 @@ var ScOnlyField = ({
|
|
|
4025
4486
|
...props
|
|
4026
4487
|
}) => {
|
|
4027
4488
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
4028
|
-
return /* @__PURE__ */ (0,
|
|
4489
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4029
4490
|
"div",
|
|
4030
4491
|
{
|
|
4031
4492
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
4032
4493
|
...props,
|
|
4033
|
-
children: /* @__PURE__ */ (0,
|
|
4034
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
4035
|
-
/* @__PURE__ */ (0,
|
|
4494
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
4495
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
4496
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
4036
4497
|
"input",
|
|
4037
4498
|
{
|
|
4038
4499
|
className: ScOnlyField_default.inputText,
|
|
@@ -4052,15 +4513,15 @@ var ScOnlyField = ({
|
|
|
4052
4513
|
...inputProps
|
|
4053
4514
|
}
|
|
4054
4515
|
),
|
|
4055
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0,
|
|
4516
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
4056
4517
|
] })
|
|
4057
4518
|
}
|
|
4058
4519
|
);
|
|
4059
4520
|
};
|
|
4060
4521
|
|
|
4061
4522
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
4062
|
-
var
|
|
4063
|
-
var
|
|
4523
|
+
var import_icons47 = require("@streamoid/icons");
|
|
4524
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4064
4525
|
var ScCatalogixInvite = ({
|
|
4065
4526
|
active = "false",
|
|
4066
4527
|
appName = "Catalogix",
|
|
@@ -4082,23 +4543,23 @@ var ScCatalogixInvite = ({
|
|
|
4082
4543
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
4083
4544
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
4084
4545
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
4085
|
-
return /* @__PURE__ */ (0,
|
|
4546
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
4086
4547
|
"div",
|
|
4087
4548
|
{
|
|
4088
4549
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
4089
4550
|
...props,
|
|
4090
4551
|
children: [
|
|
4091
|
-
/* @__PURE__ */ (0,
|
|
4092
|
-
/* @__PURE__ */ (0,
|
|
4552
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
4553
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4093
4554
|
ScAppCard,
|
|
4094
4555
|
{
|
|
4095
|
-
appIcon: appIcon || /* @__PURE__ */ (0,
|
|
4556
|
+
appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons45.SiconArtifacts, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
4096
4557
|
appDescription,
|
|
4097
4558
|
appName,
|
|
4098
4559
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
4099
4560
|
}
|
|
4100
4561
|
),
|
|
4101
|
-
/* @__PURE__ */ (0,
|
|
4562
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4102
4563
|
ScToggleSwitch,
|
|
4103
4564
|
{
|
|
4104
4565
|
checked: isEnabled,
|
|
@@ -4107,29 +4568,29 @@ var ScCatalogixInvite = ({
|
|
|
4107
4568
|
}
|
|
4108
4569
|
)
|
|
4109
4570
|
] }),
|
|
4110
|
-
isEnabled && /* @__PURE__ */ (0,
|
|
4111
|
-
/* @__PURE__ */ (0,
|
|
4112
|
-
/* @__PURE__ */ (0,
|
|
4571
|
+
isEnabled && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
4572
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
4573
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
4113
4574
|
storeAccessTitle,
|
|
4114
4575
|
" "
|
|
4115
4576
|
] }),
|
|
4116
|
-
/* @__PURE__ */ (0,
|
|
4577
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
4117
4578
|
displayCount,
|
|
4118
4579
|
" "
|
|
4119
4580
|
] })
|
|
4120
4581
|
] }),
|
|
4121
|
-
/* @__PURE__ */ (0,
|
|
4582
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4122
4583
|
ScOnlyField,
|
|
4123
4584
|
{
|
|
4124
|
-
tfLeftIcon: /* @__PURE__ */ (0,
|
|
4125
|
-
tfRightIcon: /* @__PURE__ */ (0,
|
|
4585
|
+
tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons46.SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4586
|
+
tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons46.SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4126
4587
|
placeholderFilled: searchPlaceholder,
|
|
4127
4588
|
value: searchValue,
|
|
4128
4589
|
onInputChange: onSearchChange,
|
|
4129
4590
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
4130
4591
|
}
|
|
4131
4592
|
),
|
|
4132
|
-
/* @__PURE__ */ (0,
|
|
4593
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4133
4594
|
ScPairtext,
|
|
4134
4595
|
{
|
|
4135
4596
|
content: store.name,
|
|
@@ -4140,53 +4601,53 @@ var ScCatalogixInvite = ({
|
|
|
4140
4601
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4141
4602
|
},
|
|
4142
4603
|
store.id
|
|
4143
|
-
)) : /* @__PURE__ */ (0,
|
|
4604
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { style: {
|
|
4144
4605
|
padding: "var(--spacing-3xl, 16px)",
|
|
4145
4606
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
4146
4607
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
4147
4608
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
4148
4609
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
4149
|
-
}, children: "No stores found" }) : /* @__PURE__ */ (0,
|
|
4150
|
-
/* @__PURE__ */ (0,
|
|
4610
|
+
}, children: "No stores found" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
4611
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4151
4612
|
ScPairtext,
|
|
4152
4613
|
{
|
|
4153
|
-
icon: /* @__PURE__ */ (0,
|
|
4614
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons47.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4154
4615
|
iconPosition: "right",
|
|
4155
4616
|
type: "checkbox",
|
|
4156
4617
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4157
4618
|
}
|
|
4158
4619
|
),
|
|
4159
|
-
/* @__PURE__ */ (0,
|
|
4620
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4160
4621
|
ScPairtext,
|
|
4161
4622
|
{
|
|
4162
|
-
icon: /* @__PURE__ */ (0,
|
|
4623
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons47.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4163
4624
|
iconPosition: "right",
|
|
4164
4625
|
type: "checkbox",
|
|
4165
4626
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4166
4627
|
}
|
|
4167
4628
|
),
|
|
4168
|
-
/* @__PURE__ */ (0,
|
|
4629
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4169
4630
|
ScPairtext,
|
|
4170
4631
|
{
|
|
4171
|
-
icon: /* @__PURE__ */ (0,
|
|
4632
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons47.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4172
4633
|
iconPosition: "right",
|
|
4173
4634
|
type: "checkbox",
|
|
4174
4635
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4175
4636
|
}
|
|
4176
4637
|
),
|
|
4177
|
-
/* @__PURE__ */ (0,
|
|
4638
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4178
4639
|
ScPairtext,
|
|
4179
4640
|
{
|
|
4180
|
-
icon: /* @__PURE__ */ (0,
|
|
4641
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons47.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4181
4642
|
iconPosition: "right",
|
|
4182
4643
|
type: "checkbox",
|
|
4183
4644
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4184
4645
|
}
|
|
4185
4646
|
),
|
|
4186
|
-
/* @__PURE__ */ (0,
|
|
4647
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
4187
4648
|
ScPairtext,
|
|
4188
4649
|
{
|
|
4189
|
-
icon: /* @__PURE__ */ (0,
|
|
4650
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_icons47.SiconHome, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4190
4651
|
iconPosition: "right",
|
|
4191
4652
|
type: "checkbox",
|
|
4192
4653
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -4200,7 +4661,7 @@ var ScCatalogixInvite = ({
|
|
|
4200
4661
|
};
|
|
4201
4662
|
|
|
4202
4663
|
// src/SC-appField/ScAppField.tsx
|
|
4203
|
-
var
|
|
4664
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
4204
4665
|
var ScAppField = ({
|
|
4205
4666
|
appFieldTitle = "App permission",
|
|
4206
4667
|
className,
|
|
@@ -4217,13 +4678,13 @@ var ScAppField = ({
|
|
|
4217
4678
|
onCatalogixSearchChange,
|
|
4218
4679
|
...props
|
|
4219
4680
|
}) => {
|
|
4220
|
-
return /* @__PURE__ */ (0,
|
|
4221
|
-
/* @__PURE__ */ (0,
|
|
4681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
4682
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScAppField_default.title, children: [
|
|
4222
4683
|
appFieldTitle,
|
|
4223
4684
|
" "
|
|
4224
4685
|
] }) }),
|
|
4225
|
-
/* @__PURE__ */ (0,
|
|
4226
|
-
/* @__PURE__ */ (0,
|
|
4686
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
|
|
4687
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
4227
4688
|
ScArtifaxInvite,
|
|
4228
4689
|
{
|
|
4229
4690
|
enabled: artifaxEnabled,
|
|
@@ -4231,18 +4692,18 @@ var ScAppField = ({
|
|
|
4231
4692
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
4232
4693
|
}
|
|
4233
4694
|
),
|
|
4234
|
-
/* @__PURE__ */ (0,
|
|
4695
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
4235
4696
|
ScPhtogenixInvite,
|
|
4236
4697
|
{
|
|
4237
4698
|
enabled: photogenixEnabled,
|
|
4238
4699
|
onToggle: onPhotogenixToggle,
|
|
4239
4700
|
scAppCardappDescription: "Info about photogenix",
|
|
4240
4701
|
scAppCardappName: "Photogenix",
|
|
4241
|
-
scAppCardappIcon: /* @__PURE__ */ (0,
|
|
4702
|
+
scAppCardappIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_icons48.SiconPhotogenix, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
4242
4703
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
4243
4704
|
}
|
|
4244
4705
|
),
|
|
4245
|
-
/* @__PURE__ */ (0,
|
|
4706
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
4246
4707
|
ScCatalogixInvite,
|
|
4247
4708
|
{
|
|
4248
4709
|
enabled: catalogixEnabled,
|
|
@@ -4269,13 +4730,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
4269
4730
|
};
|
|
4270
4731
|
|
|
4271
4732
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
4272
|
-
var
|
|
4733
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
4273
4734
|
var ScBillingHistoryHeader = ({
|
|
4274
4735
|
className,
|
|
4275
4736
|
...props
|
|
4276
4737
|
}) => {
|
|
4277
|
-
return /* @__PURE__ */ (0,
|
|
4278
|
-
/* @__PURE__ */ (0,
|
|
4738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
4739
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4279
4740
|
ScHeader,
|
|
4280
4741
|
{
|
|
4281
4742
|
text: "Invoice",
|
|
@@ -4283,7 +4744,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4283
4744
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
4284
4745
|
}
|
|
4285
4746
|
),
|
|
4286
|
-
/* @__PURE__ */ (0,
|
|
4747
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4287
4748
|
ScHeader,
|
|
4288
4749
|
{
|
|
4289
4750
|
text: "Amount",
|
|
@@ -4291,7 +4752,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4291
4752
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4292
4753
|
}
|
|
4293
4754
|
),
|
|
4294
|
-
/* @__PURE__ */ (0,
|
|
4755
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4295
4756
|
ScHeader,
|
|
4296
4757
|
{
|
|
4297
4758
|
text: "Date",
|
|
@@ -4299,7 +4760,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4299
4760
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4300
4761
|
}
|
|
4301
4762
|
),
|
|
4302
|
-
/* @__PURE__ */ (0,
|
|
4763
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
4303
4764
|
ScHeader,
|
|
4304
4765
|
{
|
|
4305
4766
|
text: "Action",
|
|
@@ -4320,20 +4781,20 @@ var ScCheckField_default = {
|
|
|
4320
4781
|
};
|
|
4321
4782
|
|
|
4322
4783
|
// src/SC-checkField/ScCheckField.tsx
|
|
4323
|
-
var
|
|
4324
|
-
var
|
|
4784
|
+
var import_icons49 = require("@streamoid/icons");
|
|
4785
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
4325
4786
|
var ScCheckField = ({
|
|
4326
4787
|
label = "Label",
|
|
4327
4788
|
className,
|
|
4328
4789
|
checkboxes,
|
|
4329
4790
|
...props
|
|
4330
4791
|
}) => {
|
|
4331
|
-
return /* @__PURE__ */ (0,
|
|
4332
|
-
/* @__PURE__ */ (0,
|
|
4792
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
4793
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: ScCheckField_default.label, children: [
|
|
4333
4794
|
label,
|
|
4334
4795
|
" "
|
|
4335
4796
|
] }) }),
|
|
4336
|
-
/* @__PURE__ */ (0,
|
|
4797
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
4337
4798
|
ScPairtext,
|
|
4338
4799
|
{
|
|
4339
4800
|
content: item.label,
|
|
@@ -4343,19 +4804,19 @@ var ScCheckField = ({
|
|
|
4343
4804
|
className: ScCheckField_default.scPairtextInstance
|
|
4344
4805
|
},
|
|
4345
4806
|
i
|
|
4346
|
-
)) : /* @__PURE__ */ (0,
|
|
4347
|
-
/* @__PURE__ */ (0,
|
|
4807
|
+
)) : /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
|
|
4808
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
4348
4809
|
ScPairtext,
|
|
4349
4810
|
{
|
|
4350
|
-
icon: /* @__PURE__ */ (0,
|
|
4811
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_icons49.SiconHome, { className: ScCheckField_default.siconHomeInstance }),
|
|
4351
4812
|
type: "checkbox",
|
|
4352
4813
|
className: ScCheckField_default.scPairtextInstance
|
|
4353
4814
|
}
|
|
4354
4815
|
),
|
|
4355
|
-
/* @__PURE__ */ (0,
|
|
4816
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
4356
4817
|
ScPairtext,
|
|
4357
4818
|
{
|
|
4358
|
-
icon: /* @__PURE__ */ (0,
|
|
4819
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_icons49.SiconHome, { className: ScCheckField_default.siconHomeInstance }),
|
|
4359
4820
|
type: "checkbox",
|
|
4360
4821
|
className: ScCheckField_default.scPairtextInstance
|
|
4361
4822
|
}
|
|
@@ -4375,10 +4836,10 @@ var ScFieldButton_default = {
|
|
|
4375
4836
|
};
|
|
4376
4837
|
|
|
4377
4838
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4378
|
-
var
|
|
4379
|
-
var
|
|
4839
|
+
var import_icons50 = require("@streamoid/icons");
|
|
4840
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
4380
4841
|
var ScFieldButton = ({
|
|
4381
|
-
icon = /* @__PURE__ */ (0,
|
|
4842
|
+
icon = /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_icons50.SiconHome, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4382
4843
|
type = "default",
|
|
4383
4844
|
state = "default",
|
|
4384
4845
|
className,
|
|
@@ -4386,18 +4847,18 @@ var ScFieldButton = ({
|
|
|
4386
4847
|
...props
|
|
4387
4848
|
}) => {
|
|
4388
4849
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
4389
|
-
return /* @__PURE__ */ (0,
|
|
4850
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4390
4851
|
"div",
|
|
4391
4852
|
{
|
|
4392
4853
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4393
4854
|
...props,
|
|
4394
|
-
children: /* @__PURE__ */ (0,
|
|
4395
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0,
|
|
4396
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0,
|
|
4855
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScFieldButton_default.container, children: [
|
|
4856
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: icon }),
|
|
4857
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScFieldButton_default.label, children: [
|
|
4397
4858
|
text,
|
|
4398
4859
|
" "
|
|
4399
4860
|
] }) }),
|
|
4400
|
-
type === "icon-left" && /* @__PURE__ */ (0,
|
|
4861
|
+
type === "icon-left" && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: icon })
|
|
4401
4862
|
] })
|
|
4402
4863
|
}
|
|
4403
4864
|
);
|
|
@@ -4411,17 +4872,17 @@ var ScPendingAction_default = {
|
|
|
4411
4872
|
};
|
|
4412
4873
|
|
|
4413
4874
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
4414
|
-
var
|
|
4415
|
-
var
|
|
4875
|
+
var import_icons51 = require("@streamoid/icons");
|
|
4876
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
4416
4877
|
var ScPendingAction = ({
|
|
4417
4878
|
className,
|
|
4418
4879
|
...props
|
|
4419
4880
|
}) => {
|
|
4420
|
-
return /* @__PURE__ */ (0,
|
|
4421
|
-
/* @__PURE__ */ (0,
|
|
4881
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
4882
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4422
4883
|
ScButton,
|
|
4423
4884
|
{
|
|
4424
|
-
icon: /* @__PURE__ */ (0,
|
|
4885
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_icons51.SiconHome, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4425
4886
|
text: "Cancel",
|
|
4426
4887
|
variant: "error",
|
|
4427
4888
|
type: "tertiary",
|
|
@@ -4429,11 +4890,11 @@ var ScPendingAction = ({
|
|
|
4429
4890
|
className: ScPendingAction_default.scButtonInstance
|
|
4430
4891
|
}
|
|
4431
4892
|
),
|
|
4432
|
-
/* @__PURE__ */ (0,
|
|
4433
|
-
/* @__PURE__ */ (0,
|
|
4893
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
4894
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4434
4895
|
ScButton,
|
|
4435
4896
|
{
|
|
4436
|
-
icon: /* @__PURE__ */ (0,
|
|
4897
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_icons51.SiconHome, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4437
4898
|
text: "Resend",
|
|
4438
4899
|
variant: "tertiary",
|
|
4439
4900
|
size: "sm",
|
|
@@ -4456,8 +4917,8 @@ var ScQuickPrompt_default = {
|
|
|
4456
4917
|
};
|
|
4457
4918
|
|
|
4458
4919
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
4459
|
-
var
|
|
4460
|
-
var
|
|
4920
|
+
var import_icons52 = require("@streamoid/icons");
|
|
4921
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
4461
4922
|
var ScQuickPrompt = ({
|
|
4462
4923
|
appName = "Photogenix",
|
|
4463
4924
|
heading = "Swap Model and Background",
|
|
@@ -4465,20 +4926,20 @@ var ScQuickPrompt = ({
|
|
|
4465
4926
|
className,
|
|
4466
4927
|
...props
|
|
4467
4928
|
}) => {
|
|
4468
|
-
return /* @__PURE__ */ (0,
|
|
4469
|
-
/* @__PURE__ */ (0,
|
|
4470
|
-
/* @__PURE__ */ (0,
|
|
4471
|
-
/* @__PURE__ */ (0,
|
|
4929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
4930
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
|
|
4931
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_icons52.SiconBolt, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
4932
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
|
|
4472
4933
|
appName,
|
|
4473
4934
|
" "
|
|
4474
4935
|
] }) })
|
|
4475
4936
|
] }),
|
|
4476
|
-
/* @__PURE__ */ (0,
|
|
4477
|
-
/* @__PURE__ */ (0,
|
|
4937
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
|
|
4938
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
|
|
4478
4939
|
heading,
|
|
4479
4940
|
" "
|
|
4480
4941
|
] }),
|
|
4481
|
-
/* @__PURE__ */ (0,
|
|
4942
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
|
|
4482
4943
|
description,
|
|
4483
4944
|
" "
|
|
4484
4945
|
] })
|
|
@@ -4495,13 +4956,13 @@ var ScReferralTableHeader_default = {
|
|
|
4495
4956
|
};
|
|
4496
4957
|
|
|
4497
4958
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
4498
|
-
var
|
|
4959
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
4499
4960
|
var ScReferralTableHeader = ({
|
|
4500
4961
|
className,
|
|
4501
4962
|
...props
|
|
4502
4963
|
}) => {
|
|
4503
|
-
return /* @__PURE__ */ (0,
|
|
4504
|
-
/* @__PURE__ */ (0,
|
|
4964
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
4965
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4505
4966
|
ScHeader,
|
|
4506
4967
|
{
|
|
4507
4968
|
text: "User",
|
|
@@ -4509,7 +4970,7 @@ var ScReferralTableHeader = ({
|
|
|
4509
4970
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
4510
4971
|
}
|
|
4511
4972
|
),
|
|
4512
|
-
/* @__PURE__ */ (0,
|
|
4973
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4513
4974
|
ScHeader,
|
|
4514
4975
|
{
|
|
4515
4976
|
text: "Date",
|
|
@@ -4517,7 +4978,7 @@ var ScReferralTableHeader = ({
|
|
|
4517
4978
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
4518
4979
|
}
|
|
4519
4980
|
),
|
|
4520
|
-
/* @__PURE__ */ (0,
|
|
4981
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4521
4982
|
ScHeader,
|
|
4522
4983
|
{
|
|
4523
4984
|
text: "Status",
|
|
@@ -4525,7 +4986,7 @@ var ScReferralTableHeader = ({
|
|
|
4525
4986
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
4526
4987
|
}
|
|
4527
4988
|
),
|
|
4528
|
-
/* @__PURE__ */ (0,
|
|
4989
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
4529
4990
|
ScHeader,
|
|
4530
4991
|
{
|
|
4531
4992
|
text: "Reward",
|
|
@@ -4546,7 +5007,7 @@ var ScReferralTableList_default = {
|
|
|
4546
5007
|
};
|
|
4547
5008
|
|
|
4548
5009
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4549
|
-
var
|
|
5010
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
4550
5011
|
var ScReferralTableList = ({
|
|
4551
5012
|
userEmail = "chris@kepler.com",
|
|
4552
5013
|
userName,
|
|
@@ -4556,8 +5017,8 @@ var ScReferralTableList = ({
|
|
|
4556
5017
|
className,
|
|
4557
5018
|
...props
|
|
4558
5019
|
}) => {
|
|
4559
|
-
return /* @__PURE__ */ (0,
|
|
4560
|
-
/* @__PURE__ */ (0,
|
|
5020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
5021
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
4561
5022
|
ScProfile,
|
|
4562
5023
|
{
|
|
4563
5024
|
subText: userEmail,
|
|
@@ -4565,12 +5026,12 @@ var ScReferralTableList = ({
|
|
|
4565
5026
|
className: ScReferralTableList_default.scProfileInstance
|
|
4566
5027
|
}
|
|
4567
5028
|
),
|
|
4568
|
-
/* @__PURE__ */ (0,
|
|
5029
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: ScReferralTableList_default.date, children: [
|
|
4569
5030
|
date,
|
|
4570
5031
|
" "
|
|
4571
5032
|
] }),
|
|
4572
|
-
/* @__PURE__ */ (0,
|
|
4573
|
-
/* @__PURE__ */ (0,
|
|
5033
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
5034
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: ScReferralTableList_default.points, children: [
|
|
4574
5035
|
points,
|
|
4575
5036
|
" "
|
|
4576
5037
|
] })
|
|
@@ -4584,35 +5045,35 @@ var ScSettingsNav_default = {
|
|
|
4584
5045
|
};
|
|
4585
5046
|
|
|
4586
5047
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4587
|
-
var
|
|
4588
|
-
var
|
|
4589
|
-
var
|
|
5048
|
+
var import_icons53 = require("@streamoid/icons");
|
|
5049
|
+
var import_icons54 = require("@streamoid/icons");
|
|
5050
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
4590
5051
|
var ScSettingsNav = ({
|
|
4591
5052
|
className,
|
|
4592
5053
|
...props
|
|
4593
5054
|
}) => {
|
|
4594
|
-
return /* @__PURE__ */ (0,
|
|
4595
|
-
/* @__PURE__ */ (0,
|
|
5055
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: ScSettingsNav_default.container, children: [
|
|
5056
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4596
5057
|
ScSidebarMenu,
|
|
4597
5058
|
{
|
|
4598
|
-
icon: /* @__PURE__ */ (0,
|
|
5059
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons53.SiconTeam, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
4599
5060
|
text: "Profile",
|
|
4600
5061
|
state: "active",
|
|
4601
5062
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4602
5063
|
}
|
|
4603
5064
|
),
|
|
4604
|
-
/* @__PURE__ */ (0,
|
|
5065
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4605
5066
|
ScSidebarMenu,
|
|
4606
5067
|
{
|
|
4607
|
-
icon: /* @__PURE__ */ (0,
|
|
5068
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons54.SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
4608
5069
|
text: "Workspace",
|
|
4609
5070
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4610
5071
|
}
|
|
4611
5072
|
),
|
|
4612
|
-
/* @__PURE__ */ (0,
|
|
5073
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
4613
5074
|
ScSidebarMenu,
|
|
4614
5075
|
{
|
|
4615
|
-
icon: /* @__PURE__ */ (0,
|
|
5076
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons54.SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
4616
5077
|
text: "Referral",
|
|
4617
5078
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4618
5079
|
}
|
|
@@ -4628,7 +5089,7 @@ var ScTabField_default = {
|
|
|
4628
5089
|
};
|
|
4629
5090
|
|
|
4630
5091
|
// src/SC-tabField/ScTabField.tsx
|
|
4631
|
-
var
|
|
5092
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
4632
5093
|
var ScTabField = ({
|
|
4633
5094
|
label = "Label",
|
|
4634
5095
|
className,
|
|
@@ -4637,17 +5098,17 @@ var ScTabField = ({
|
|
|
4637
5098
|
onTabChange,
|
|
4638
5099
|
...props
|
|
4639
5100
|
}) => {
|
|
4640
|
-
return /* @__PURE__ */ (0,
|
|
4641
|
-
/* @__PURE__ */ (0,
|
|
5101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
5102
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: ScTabField_default.label, children: [
|
|
4642
5103
|
label,
|
|
4643
5104
|
" "
|
|
4644
5105
|
] }) }),
|
|
4645
|
-
tabs ? /* @__PURE__ */ (0,
|
|
5106
|
+
tabs ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4646
5107
|
ScTabSwitcher,
|
|
4647
5108
|
{
|
|
4648
5109
|
tabCount: String(tabs.length),
|
|
4649
5110
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
4650
|
-
component: tabs[0] ? /* @__PURE__ */ (0,
|
|
5111
|
+
component: tabs[0] ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4651
5112
|
ScTabComp,
|
|
4652
5113
|
{
|
|
4653
5114
|
text: tabs[0].label,
|
|
@@ -4657,7 +5118,7 @@ var ScTabField = ({
|
|
|
4657
5118
|
style: { flex: 1 }
|
|
4658
5119
|
}
|
|
4659
5120
|
) : void 0,
|
|
4660
|
-
component2: tabs[1] ? /* @__PURE__ */ (0,
|
|
5121
|
+
component2: tabs[1] ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
4661
5122
|
ScTabComp,
|
|
4662
5123
|
{
|
|
4663
5124
|
text: tabs[1].label,
|
|
@@ -4668,7 +5129,7 @@ var ScTabField = ({
|
|
|
4668
5129
|
}
|
|
4669
5130
|
) : void 0
|
|
4670
5131
|
}
|
|
4671
|
-
) : /* @__PURE__ */ (0,
|
|
5132
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4672
5133
|
] });
|
|
4673
5134
|
};
|
|
4674
5135
|
|
|
@@ -4685,19 +5146,19 @@ var ScTableHeader_default = {
|
|
|
4685
5146
|
};
|
|
4686
5147
|
|
|
4687
5148
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4688
|
-
var
|
|
5149
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
4689
5150
|
var ScTableHeader = ({
|
|
4690
5151
|
type = "default",
|
|
4691
5152
|
className,
|
|
4692
5153
|
...props
|
|
4693
5154
|
}) => {
|
|
4694
5155
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4695
|
-
return /* @__PURE__ */ (0,
|
|
5156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
4696
5157
|
"div",
|
|
4697
5158
|
{
|
|
4698
5159
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
4699
5160
|
children: [
|
|
4700
|
-
/* @__PURE__ */ (0,
|
|
5161
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4701
5162
|
ScHeader,
|
|
4702
5163
|
{
|
|
4703
5164
|
text: "User",
|
|
@@ -4705,7 +5166,7 @@ var ScTableHeader = ({
|
|
|
4705
5166
|
className: ScTableHeader_default.scHeaderInstance
|
|
4706
5167
|
}
|
|
4707
5168
|
),
|
|
4708
|
-
/* @__PURE__ */ (0,
|
|
5169
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4709
5170
|
ScHeader,
|
|
4710
5171
|
{
|
|
4711
5172
|
text: "Role",
|
|
@@ -4713,7 +5174,7 @@ var ScTableHeader = ({
|
|
|
4713
5174
|
className: ScTableHeader_default.scHeaderInstance2
|
|
4714
5175
|
}
|
|
4715
5176
|
),
|
|
4716
|
-
/* @__PURE__ */ (0,
|
|
5177
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4717
5178
|
ScHeader,
|
|
4718
5179
|
{
|
|
4719
5180
|
text: "Access",
|
|
@@ -4721,7 +5182,7 @@ var ScTableHeader = ({
|
|
|
4721
5182
|
className: ScTableHeader_default.scHeaderInstance3
|
|
4722
5183
|
}
|
|
4723
5184
|
),
|
|
4724
|
-
/* @__PURE__ */ (0,
|
|
5185
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4725
5186
|
ScHeader,
|
|
4726
5187
|
{
|
|
4727
5188
|
text: "Invited by",
|
|
@@ -4729,7 +5190,7 @@ var ScTableHeader = ({
|
|
|
4729
5190
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4730
5191
|
}
|
|
4731
5192
|
),
|
|
4732
|
-
type === "pending" && /* @__PURE__ */ (0,
|
|
5193
|
+
type === "pending" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4733
5194
|
ScHeader,
|
|
4734
5195
|
{
|
|
4735
5196
|
text: "Invite action",
|
|
@@ -4737,7 +5198,7 @@ var ScTableHeader = ({
|
|
|
4737
5198
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4738
5199
|
}
|
|
4739
5200
|
) }),
|
|
4740
|
-
type === "default" && /* @__PURE__ */ (0,
|
|
5201
|
+
type === "default" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4741
5202
|
ScHeader,
|
|
4742
5203
|
{
|
|
4743
5204
|
text: "Signed On",
|
|
@@ -4769,9 +5230,9 @@ var ScTableList_default = {
|
|
|
4769
5230
|
};
|
|
4770
5231
|
|
|
4771
5232
|
// src/SC-tableList/ScTableList.tsx
|
|
4772
|
-
var
|
|
4773
|
-
var
|
|
4774
|
-
var
|
|
5233
|
+
var import_icons55 = require("@streamoid/icons");
|
|
5234
|
+
var import_icons56 = require("@streamoid/icons");
|
|
5235
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
4775
5236
|
var ScTableList = ({
|
|
4776
5237
|
invitedBy = "Rohan",
|
|
4777
5238
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4783,51 +5244,51 @@ var ScTableList = ({
|
|
|
4783
5244
|
...props
|
|
4784
5245
|
}) => {
|
|
4785
5246
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4786
|
-
return /* @__PURE__ */ (0,
|
|
5247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
4787
5248
|
"div",
|
|
4788
5249
|
{
|
|
4789
5250
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
4790
5251
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
4791
5252
|
...props,
|
|
4792
5253
|
children: [
|
|
4793
|
-
/* @__PURE__ */ (0,
|
|
5254
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4794
5255
|
ScProfile,
|
|
4795
5256
|
{
|
|
4796
5257
|
subText: userEmail,
|
|
4797
5258
|
className: ScTableList_default.scProfileInstance
|
|
4798
5259
|
}
|
|
4799
5260
|
),
|
|
4800
|
-
/* @__PURE__ */ (0,
|
|
4801
|
-
/* @__PURE__ */ (0,
|
|
4802
|
-
/* @__PURE__ */ (0,
|
|
5261
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
5262
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: ScTableList_default.accessInfo, children: [
|
|
5263
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4803
5264
|
ScAccess,
|
|
4804
5265
|
{
|
|
4805
|
-
component: /* @__PURE__ */ (0,
|
|
4806
|
-
component2: /* @__PURE__ */ (0,
|
|
5266
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_icons55.SiconArtifacts, { className: ScTableList_default.siconArtifactsInstance }),
|
|
5267
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_icons55.SiconPhotogenix, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
4807
5268
|
className: ScTableList_default.scAccessInstance
|
|
4808
5269
|
}
|
|
4809
5270
|
),
|
|
4810
|
-
/* @__PURE__ */ (0,
|
|
5271
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4811
5272
|
ScAccess,
|
|
4812
5273
|
{
|
|
4813
|
-
component: /* @__PURE__ */ (0,
|
|
4814
|
-
component2: /* @__PURE__ */ (0,
|
|
5274
|
+
component: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_icons56.SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
5275
|
+
component2: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_icons56.SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
4815
5276
|
visibleSiconCatalogix: false,
|
|
4816
5277
|
className: ScTableList_default.scAccessInstance
|
|
4817
5278
|
}
|
|
4818
5279
|
)
|
|
4819
5280
|
] }),
|
|
4820
|
-
/* @__PURE__ */ (0,
|
|
5281
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: ScTableList_default.userName, children: [
|
|
4821
5282
|
invitedBy,
|
|
4822
5283
|
" "
|
|
4823
5284
|
] }),
|
|
4824
|
-
variant === "pending" && /* @__PURE__ */ (0,
|
|
5285
|
+
variant === "pending" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_jsx_runtime66.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4825
5286
|
ScPendingAction,
|
|
4826
5287
|
{
|
|
4827
5288
|
className: ScTableList_default.scPendingActionInstance
|
|
4828
5289
|
}
|
|
4829
5290
|
) }),
|
|
4830
|
-
variant === "active" && /* @__PURE__ */ (0,
|
|
5291
|
+
variant === "active" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_jsx_runtime66.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: ScTableList_default.date, children: [
|
|
4831
5292
|
signedOn,
|
|
4832
5293
|
" "
|
|
4833
5294
|
] }) })
|
|
@@ -4856,8 +5317,8 @@ var ScWorkspaceCard_default = {
|
|
|
4856
5317
|
};
|
|
4857
5318
|
|
|
4858
5319
|
// src/SC-workspaceCard/ScWorkspaceCard.tsx
|
|
4859
|
-
var
|
|
4860
|
-
var
|
|
5320
|
+
var import_icons57 = require("@streamoid/icons");
|
|
5321
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
4861
5322
|
var ScWorkspaceCard = ({
|
|
4862
5323
|
workspaceName = "Stores",
|
|
4863
5324
|
role = "Admin",
|
|
@@ -4867,21 +5328,21 @@ var ScWorkspaceCard = ({
|
|
|
4867
5328
|
className,
|
|
4868
5329
|
...props
|
|
4869
5330
|
}) => {
|
|
4870
|
-
return /* @__PURE__ */ (0,
|
|
4871
|
-
/* @__PURE__ */ (0,
|
|
4872
|
-
/* @__PURE__ */ (0,
|
|
5331
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
5332
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
5333
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4873
5334
|
ScIntialProfileCover,
|
|
4874
5335
|
{
|
|
4875
5336
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4876
5337
|
}
|
|
4877
5338
|
),
|
|
4878
|
-
/* @__PURE__ */ (0,
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4879
5340
|
workspaceName,
|
|
4880
5341
|
" "
|
|
4881
5342
|
] })
|
|
4882
5343
|
] }),
|
|
4883
|
-
/* @__PURE__ */ (0,
|
|
4884
|
-
/* @__PURE__ */ (0,
|
|
5344
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
5345
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4885
5346
|
ScBadges,
|
|
4886
5347
|
{
|
|
4887
5348
|
text: role,
|
|
@@ -4889,41 +5350,41 @@ var ScWorkspaceCard = ({
|
|
|
4889
5350
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4890
5351
|
}
|
|
4891
5352
|
),
|
|
4892
|
-
/* @__PURE__ */ (0,
|
|
4893
|
-
/* @__PURE__ */ (0,
|
|
5353
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
5354
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4894
5355
|
ScPairtext,
|
|
4895
5356
|
{
|
|
4896
|
-
icon: /* @__PURE__ */ (0,
|
|
5357
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_icons57.SiconTeam, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
4897
5358
|
content: userCount,
|
|
4898
5359
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4899
5360
|
}
|
|
4900
5361
|
),
|
|
4901
|
-
/* @__PURE__ */ (0,
|
|
4902
|
-
/* @__PURE__ */ (0,
|
|
5362
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
5363
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4903
5364
|
ScPairtext,
|
|
4904
5365
|
{
|
|
4905
|
-
icon: /* @__PURE__ */ (0,
|
|
5366
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_icons57.SiconCrown, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
4906
5367
|
content: ownerEmail,
|
|
4907
5368
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4908
5369
|
}
|
|
4909
5370
|
)
|
|
4910
5371
|
] })
|
|
4911
5372
|
] }),
|
|
4912
|
-
/* @__PURE__ */ (0,
|
|
5373
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4913
5374
|
ScButton,
|
|
4914
5375
|
{
|
|
4915
|
-
icon: /* @__PURE__ */ (0,
|
|
5376
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_icons57.SiconSwitch, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
4916
5377
|
text: buttonText,
|
|
4917
5378
|
state: "disabled",
|
|
4918
5379
|
variant: "outline",
|
|
4919
5380
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
4920
5381
|
}
|
|
4921
5382
|
),
|
|
4922
|
-
/* @__PURE__ */ (0,
|
|
5383
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4923
5384
|
ScButton,
|
|
4924
5385
|
{
|
|
4925
5386
|
text: "Leave workspace",
|
|
4926
|
-
icon: /* @__PURE__ */ (0,
|
|
5387
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_icons57.SiconLogout, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
4927
5388
|
styleVariant: "icon-only",
|
|
4928
5389
|
variant: "error",
|
|
4929
5390
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -4933,8 +5394,8 @@ var ScWorkspaceCard = ({
|
|
|
4933
5394
|
};
|
|
4934
5395
|
|
|
4935
5396
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4936
|
-
var
|
|
4937
|
-
var
|
|
5397
|
+
var import_react10 = require("react");
|
|
5398
|
+
var import_icons58 = require("@streamoid/icons");
|
|
4938
5399
|
|
|
4939
5400
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
4940
5401
|
var ScWorkspaceSwitchCard_default = {
|
|
@@ -4959,7 +5420,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4959
5420
|
};
|
|
4960
5421
|
|
|
4961
5422
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4962
|
-
var
|
|
5423
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
4963
5424
|
function ScWorkspaceSwitchCard({
|
|
4964
5425
|
wsName = "Workspace name is kepler",
|
|
4965
5426
|
role = "Admin",
|
|
@@ -4974,7 +5435,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4974
5435
|
onSettings,
|
|
4975
5436
|
onLeave
|
|
4976
5437
|
}) {
|
|
4977
|
-
const [internalHover, setInternalHover] = (0,
|
|
5438
|
+
const [internalHover, setInternalHover] = (0, import_react10.useState)(false);
|
|
4978
5439
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4979
5440
|
const isCurrent = type === "currentWS";
|
|
4980
5441
|
const isOther = type === "otherWS";
|
|
@@ -4989,14 +5450,14 @@ function ScWorkspaceSwitchCard({
|
|
|
4989
5450
|
].filter(Boolean).join(" ");
|
|
4990
5451
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
4991
5452
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
4992
|
-
return /* @__PURE__ */ (0,
|
|
5453
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4993
5454
|
"div",
|
|
4994
5455
|
{
|
|
4995
5456
|
className: cardClass,
|
|
4996
5457
|
onMouseEnter: () => setInternalHover(true),
|
|
4997
5458
|
onMouseLeave: () => setInternalHover(false),
|
|
4998
|
-
children: /* @__PURE__ */ (0,
|
|
4999
|
-
/* @__PURE__ */ (0,
|
|
5459
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
5460
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5000
5461
|
ScDp,
|
|
5001
5462
|
{
|
|
5002
5463
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5010,26 +5471,26 @@ function ScWorkspaceSwitchCard({
|
|
|
5010
5471
|
}
|
|
5011
5472
|
}
|
|
5012
5473
|
),
|
|
5013
|
-
/* @__PURE__ */ (0,
|
|
5014
|
-
/* @__PURE__ */ (0,
|
|
5015
|
-
/* @__PURE__ */ (0,
|
|
5016
|
-
/* @__PURE__ */ (0,
|
|
5017
|
-
/* @__PURE__ */ (0,
|
|
5018
|
-
/* @__PURE__ */ (0,
|
|
5474
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
5475
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
5476
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
5477
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
5478
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
5479
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: roleColorClass, children: displayRole })
|
|
5019
5480
|
] }),
|
|
5020
|
-
/* @__PURE__ */ (0,
|
|
5021
|
-
/* @__PURE__ */ (0,
|
|
5022
|
-
/* @__PURE__ */ (0,
|
|
5023
|
-
/* @__PURE__ */ (0,
|
|
5481
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
5482
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
5483
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
5024
5485
|
] }),
|
|
5025
|
-
/* @__PURE__ */ (0,
|
|
5026
|
-
/* @__PURE__ */ (0,
|
|
5027
|
-
/* @__PURE__ */ (0,
|
|
5028
|
-
/* @__PURE__ */ (0,
|
|
5486
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
5487
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
5488
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
5489
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
5029
5490
|
] })
|
|
5030
5491
|
] })
|
|
5031
5492
|
] }),
|
|
5032
|
-
isHover && isOther && /* @__PURE__ */ (0,
|
|
5493
|
+
isHover && isOther && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5033
5494
|
"div",
|
|
5034
5495
|
{
|
|
5035
5496
|
onClick: (e) => {
|
|
@@ -5037,19 +5498,19 @@ function ScWorkspaceSwitchCard({
|
|
|
5037
5498
|
onSwitch?.();
|
|
5038
5499
|
},
|
|
5039
5500
|
style: { cursor: "pointer" },
|
|
5040
|
-
children: /* @__PURE__ */ (0,
|
|
5501
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5041
5502
|
ScButton,
|
|
5042
5503
|
{
|
|
5043
5504
|
text: "Switch Workspace",
|
|
5044
5505
|
variant: "secondary",
|
|
5045
5506
|
size: "sm",
|
|
5046
5507
|
styleVariant: "icon-left",
|
|
5047
|
-
icon: /* @__PURE__ */ (0,
|
|
5508
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_icons58.SiconSwitch, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
5048
5509
|
}
|
|
5049
5510
|
)
|
|
5050
5511
|
}
|
|
5051
5512
|
),
|
|
5052
|
-
isHover && isAdmin && /* @__PURE__ */ (0,
|
|
5513
|
+
isHover && isAdmin && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5053
5514
|
"div",
|
|
5054
5515
|
{
|
|
5055
5516
|
onClick: (e) => {
|
|
@@ -5057,18 +5518,18 @@ function ScWorkspaceSwitchCard({
|
|
|
5057
5518
|
onSettings?.();
|
|
5058
5519
|
},
|
|
5059
5520
|
style: { cursor: "pointer" },
|
|
5060
|
-
children: /* @__PURE__ */ (0,
|
|
5521
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5061
5522
|
ScButton,
|
|
5062
5523
|
{
|
|
5063
5524
|
styleVariant: "icon-only",
|
|
5064
5525
|
variant: "outline",
|
|
5065
5526
|
size: "sm",
|
|
5066
|
-
icon: /* @__PURE__ */ (0,
|
|
5527
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_icons58.SiconSettings, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
5067
5528
|
}
|
|
5068
5529
|
)
|
|
5069
5530
|
}
|
|
5070
5531
|
),
|
|
5071
|
-
isHover && !isAdmin && /* @__PURE__ */ (0,
|
|
5532
|
+
isHover && !isAdmin && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
5072
5533
|
"div",
|
|
5073
5534
|
{
|
|
5074
5535
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -5076,7 +5537,7 @@ function ScWorkspaceSwitchCard({
|
|
|
5076
5537
|
e.stopPropagation();
|
|
5077
5538
|
onLeave?.();
|
|
5078
5539
|
},
|
|
5079
|
-
children: /* @__PURE__ */ (0,
|
|
5540
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_icons58.SiconLogout, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
5080
5541
|
}
|
|
5081
5542
|
)
|
|
5082
5543
|
] })
|
|
@@ -5094,18 +5555,18 @@ var ScRoleMobile_default = {
|
|
|
5094
5555
|
};
|
|
5095
5556
|
|
|
5096
5557
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
5097
|
-
var
|
|
5558
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
5098
5559
|
var ScRoleMobile = ({
|
|
5099
5560
|
role = "admin",
|
|
5100
5561
|
className,
|
|
5101
5562
|
...props
|
|
5102
5563
|
}) => {
|
|
5103
|
-
return /* @__PURE__ */ (0,
|
|
5564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
5104
5565
|
"div",
|
|
5105
5566
|
{
|
|
5106
5567
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
5107
5568
|
...props,
|
|
5108
|
-
children: /* @__PURE__ */ (0,
|
|
5569
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
5109
5570
|
}
|
|
5110
5571
|
);
|
|
5111
5572
|
};
|
|
@@ -5122,7 +5583,7 @@ var ScProfileV2Mobile_default = {
|
|
|
5122
5583
|
};
|
|
5123
5584
|
|
|
5124
5585
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
5125
|
-
var
|
|
5586
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
5126
5587
|
var ScProfileV2Mobile = ({
|
|
5127
5588
|
name = "Chris Hemsworth",
|
|
5128
5589
|
email = "chris@kepler.com",
|
|
@@ -5132,17 +5593,17 @@ var ScProfileV2Mobile = ({
|
|
|
5132
5593
|
...props
|
|
5133
5594
|
}) => {
|
|
5134
5595
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5135
|
-
const profileImage = /* @__PURE__ */ (0,
|
|
5136
|
-
return /* @__PURE__ */ (0,
|
|
5596
|
+
const profileImage = /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
5597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
5137
5598
|
"div",
|
|
5138
5599
|
{
|
|
5139
5600
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
5140
5601
|
...props,
|
|
5141
5602
|
children: [
|
|
5142
5603
|
dpPosition === "left" && profileImage,
|
|
5143
|
-
/* @__PURE__ */ (0,
|
|
5144
|
-
/* @__PURE__ */ (0,
|
|
5145
|
-
/* @__PURE__ */ (0,
|
|
5604
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
5605
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
5606
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
5146
5607
|
] }),
|
|
5147
5608
|
dpPosition === "right" && profileImage
|
|
5148
5609
|
]
|
|
@@ -5169,7 +5630,7 @@ var ScTableListMobile_default = {
|
|
|
5169
5630
|
};
|
|
5170
5631
|
|
|
5171
5632
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
5172
|
-
var
|
|
5633
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
5173
5634
|
var ScTableListMobile = ({
|
|
5174
5635
|
name = "Chris Hemsworth",
|
|
5175
5636
|
email = "chris@kepler.com",
|
|
@@ -5182,25 +5643,25 @@ var ScTableListMobile = ({
|
|
|
5182
5643
|
...props
|
|
5183
5644
|
}) => {
|
|
5184
5645
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5185
|
-
return /* @__PURE__ */ (0,
|
|
5646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
5186
5647
|
"div",
|
|
5187
5648
|
{
|
|
5188
5649
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
5189
5650
|
onClick: onRowClick,
|
|
5190
5651
|
...props,
|
|
5191
5652
|
children: [
|
|
5192
|
-
/* @__PURE__ */ (0,
|
|
5193
|
-
/* @__PURE__ */ (0,
|
|
5194
|
-
/* @__PURE__ */ (0,
|
|
5195
|
-
/* @__PURE__ */ (0,
|
|
5653
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
5655
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
5656
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
5196
5657
|
] }),
|
|
5197
|
-
/* @__PURE__ */ (0,
|
|
5658
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
5198
5659
|
] }),
|
|
5199
|
-
/* @__PURE__ */ (0,
|
|
5200
|
-
/* @__PURE__ */ (0,
|
|
5201
|
-
/* @__PURE__ */ (0,
|
|
5202
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0,
|
|
5203
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0,
|
|
5660
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
5661
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
5662
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
5663
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
5664
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
5204
5665
|
] })
|
|
5205
5666
|
] })
|
|
5206
5667
|
]
|
|
@@ -5228,7 +5689,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
5228
5689
|
};
|
|
5229
5690
|
|
|
5230
5691
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
5231
|
-
var
|
|
5692
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
5232
5693
|
var ScWorkspaceSwitchMobile = ({
|
|
5233
5694
|
storeName = "Stores",
|
|
5234
5695
|
initials = "WS",
|
|
@@ -5241,24 +5702,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
5241
5702
|
...props
|
|
5242
5703
|
}) => {
|
|
5243
5704
|
const variant = currentWs ? "current" : "other";
|
|
5244
|
-
return /* @__PURE__ */ (0,
|
|
5705
|
+
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
|
|
5245
5706
|
"div",
|
|
5246
5707
|
{
|
|
5247
5708
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
5248
5709
|
onClick,
|
|
5249
5710
|
...props,
|
|
5250
5711
|
children: [
|
|
5251
|
-
/* @__PURE__ */ (0,
|
|
5252
|
-
/* @__PURE__ */ (0,
|
|
5253
|
-
/* @__PURE__ */ (0,
|
|
5254
|
-
/* @__PURE__ */ (0,
|
|
5712
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
5713
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
5714
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
5715
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
5255
5716
|
] }),
|
|
5256
|
-
/* @__PURE__ */ (0,
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
5257
5718
|
] }),
|
|
5258
|
-
/* @__PURE__ */ (0,
|
|
5259
|
-
/* @__PURE__ */ (0,
|
|
5260
|
-
/* @__PURE__ */ (0,
|
|
5261
|
-
/* @__PURE__ */ (0,
|
|
5719
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
5720
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
5721
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
5722
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
5262
5723
|
] })
|
|
5263
5724
|
]
|
|
5264
5725
|
}
|
|
@@ -5285,7 +5746,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
5285
5746
|
};
|
|
5286
5747
|
|
|
5287
5748
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
5288
|
-
var
|
|
5749
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
5289
5750
|
var ScWorkspaceSettingsMobile = ({
|
|
5290
5751
|
storeName = "Stores",
|
|
5291
5752
|
initials = "WS",
|
|
@@ -5300,28 +5761,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
5300
5761
|
...props
|
|
5301
5762
|
}) => {
|
|
5302
5763
|
const variant = currentWs ? "current" : "other";
|
|
5303
|
-
return /* @__PURE__ */ (0,
|
|
5764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
5304
5765
|
"div",
|
|
5305
5766
|
{
|
|
5306
5767
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
5307
5768
|
onClick,
|
|
5308
5769
|
...props,
|
|
5309
5770
|
children: [
|
|
5310
|
-
/* @__PURE__ */ (0,
|
|
5311
|
-
/* @__PURE__ */ (0,
|
|
5312
|
-
/* @__PURE__ */ (0,
|
|
5313
|
-
/* @__PURE__ */ (0,
|
|
5771
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
5772
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
5773
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
5774
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
5314
5775
|
] }),
|
|
5315
|
-
/* @__PURE__ */ (0,
|
|
5776
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
5316
5777
|
] }),
|
|
5317
|
-
/* @__PURE__ */ (0,
|
|
5318
|
-
/* @__PURE__ */ (0,
|
|
5319
|
-
/* @__PURE__ */ (0,
|
|
5320
|
-
/* @__PURE__ */ (0,
|
|
5778
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
5779
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5780
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
5781
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
5321
5782
|
] }),
|
|
5322
|
-
/* @__PURE__ */ (0,
|
|
5323
|
-
/* @__PURE__ */ (0,
|
|
5324
|
-
/* @__PURE__ */ (0,
|
|
5783
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5784
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
5785
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
5325
5786
|
] })
|
|
5326
5787
|
]
|
|
5327
5788
|
}
|
|
@@ -5344,7 +5805,7 @@ var ScMobileTopNav_default = {
|
|
|
5344
5805
|
};
|
|
5345
5806
|
|
|
5346
5807
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5347
|
-
var
|
|
5808
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
5348
5809
|
var ScMobileTopNav = ({
|
|
5349
5810
|
type = "home",
|
|
5350
5811
|
searchIcon = false,
|
|
@@ -5367,22 +5828,22 @@ var ScMobileTopNav = ({
|
|
|
5367
5828
|
}) => {
|
|
5368
5829
|
const hasBorder = type === "chat" || type === "inApp";
|
|
5369
5830
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
5370
|
-
return /* @__PURE__ */ (0,
|
|
5831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
|
|
5371
5832
|
"div",
|
|
5372
5833
|
{
|
|
5373
5834
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
5374
5835
|
...props,
|
|
5375
5836
|
children: [
|
|
5376
|
-
type === "home" && /* @__PURE__ */ (0,
|
|
5377
|
-
type === "chat" && /* @__PURE__ */ (0,
|
|
5378
|
-
/* @__PURE__ */ (0,
|
|
5379
|
-
/* @__PURE__ */ (0,
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5837
|
+
type === "home" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5838
|
+
type === "chat" && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
5839
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5840
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
5841
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5381
5842
|
] }),
|
|
5382
|
-
showSearch && /* @__PURE__ */ (0,
|
|
5383
|
-
/* @__PURE__ */ (0,
|
|
5384
|
-
/* @__PURE__ */ (0,
|
|
5385
|
-
/* @__PURE__ */ (0,
|
|
5843
|
+
showSearch && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
5844
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
5845
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5846
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
5386
5847
|
"input",
|
|
5387
5848
|
{
|
|
5388
5849
|
type: "text",
|
|
@@ -5393,17 +5854,17 @@ var ScMobileTopNav = ({
|
|
|
5393
5854
|
}
|
|
5394
5855
|
) })
|
|
5395
5856
|
] }) }),
|
|
5396
|
-
/* @__PURE__ */ (0,
|
|
5857
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5397
5858
|
] }),
|
|
5398
|
-
type === "inApp" && !search && /* @__PURE__ */ (0,
|
|
5399
|
-
/* @__PURE__ */ (0,
|
|
5400
|
-
/* @__PURE__ */ (0,
|
|
5401
|
-
/* @__PURE__ */ (0,
|
|
5859
|
+
type === "inApp" && !search && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
|
|
5860
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5861
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
5862
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
5402
5863
|
"div",
|
|
5403
5864
|
{
|
|
5404
5865
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5405
5866
|
onClick: onSearchClick,
|
|
5406
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */ (0,
|
|
5867
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
5407
5868
|
}
|
|
5408
5869
|
)
|
|
5409
5870
|
] })
|
|
@@ -5424,7 +5885,7 @@ var ScMobileBottomAction_default = {
|
|
|
5424
5885
|
};
|
|
5425
5886
|
|
|
5426
5887
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5427
|
-
var
|
|
5888
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
5428
5889
|
var ScMobileBottomAction = ({
|
|
5429
5890
|
text = "Save Changes",
|
|
5430
5891
|
disabled = false,
|
|
@@ -5436,28 +5897,28 @@ var ScMobileBottomAction = ({
|
|
|
5436
5897
|
...props
|
|
5437
5898
|
}) => {
|
|
5438
5899
|
const isTwoButton = !!secondaryText;
|
|
5439
|
-
return /* @__PURE__ */ (0,
|
|
5900
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
5440
5901
|
"div",
|
|
5441
5902
|
{
|
|
5442
5903
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5443
5904
|
...props,
|
|
5444
5905
|
children: [
|
|
5445
|
-
isTwoButton && /* @__PURE__ */ (0,
|
|
5906
|
+
isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
5446
5907
|
"button",
|
|
5447
5908
|
{
|
|
5448
5909
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5449
5910
|
onClick: onSecondaryClick,
|
|
5450
5911
|
disabled: secondaryDisabled,
|
|
5451
|
-
children: /* @__PURE__ */ (0,
|
|
5912
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5452
5913
|
}
|
|
5453
5914
|
),
|
|
5454
|
-
/* @__PURE__ */ (0,
|
|
5915
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
5455
5916
|
"button",
|
|
5456
5917
|
{
|
|
5457
5918
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5458
5919
|
onClick,
|
|
5459
5920
|
disabled,
|
|
5460
|
-
children: /* @__PURE__ */ (0,
|
|
5921
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5461
5922
|
}
|
|
5462
5923
|
)
|
|
5463
5924
|
]
|
|
@@ -5475,7 +5936,7 @@ var ScPopUpMenu_default = {
|
|
|
5475
5936
|
};
|
|
5476
5937
|
|
|
5477
5938
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5478
|
-
var
|
|
5939
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
5479
5940
|
var ScPopUpMenu = ({
|
|
5480
5941
|
menu = "Options",
|
|
5481
5942
|
state = "default",
|
|
@@ -5484,15 +5945,15 @@ var ScPopUpMenu = ({
|
|
|
5484
5945
|
className,
|
|
5485
5946
|
...props
|
|
5486
5947
|
}) => {
|
|
5487
|
-
return /* @__PURE__ */ (0,
|
|
5948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
5488
5949
|
"div",
|
|
5489
5950
|
{
|
|
5490
5951
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5491
5952
|
onClick,
|
|
5492
5953
|
...props,
|
|
5493
5954
|
children: [
|
|
5494
|
-
icon && /* @__PURE__ */ (0,
|
|
5495
|
-
/* @__PURE__ */ (0,
|
|
5955
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
5956
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
5496
5957
|
]
|
|
5497
5958
|
}
|
|
5498
5959
|
);
|
|
@@ -5518,7 +5979,7 @@ var ScReferralCardMobile_default = {
|
|
|
5518
5979
|
};
|
|
5519
5980
|
|
|
5520
5981
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5521
|
-
var
|
|
5982
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
5522
5983
|
var ScReferralCardMobile = ({
|
|
5523
5984
|
name = "Chris Hemsworth",
|
|
5524
5985
|
email = "chris@kepler.com",
|
|
@@ -5531,27 +5992,27 @@ var ScReferralCardMobile = ({
|
|
|
5531
5992
|
...props
|
|
5532
5993
|
}) => {
|
|
5533
5994
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5534
|
-
return /* @__PURE__ */ (0,
|
|
5995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
5535
5996
|
"div",
|
|
5536
5997
|
{
|
|
5537
5998
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5538
5999
|
onClick,
|
|
5539
6000
|
...props,
|
|
5540
6001
|
children: [
|
|
5541
|
-
/* @__PURE__ */ (0,
|
|
5542
|
-
/* @__PURE__ */ (0,
|
|
5543
|
-
/* @__PURE__ */ (0,
|
|
5544
|
-
/* @__PURE__ */ (0,
|
|
5545
|
-
/* @__PURE__ */ (0,
|
|
5546
|
-
/* @__PURE__ */ (0,
|
|
6002
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
6003
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
6004
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
6005
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
6006
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
6007
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
5547
6008
|
] })
|
|
5548
6009
|
] }),
|
|
5549
|
-
/* @__PURE__ */ (0,
|
|
6010
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5550
6011
|
] }),
|
|
5551
|
-
/* @__PURE__ */ (0,
|
|
5552
|
-
/* @__PURE__ */ (0,
|
|
5553
|
-
/* @__PURE__ */ (0,
|
|
5554
|
-
/* @__PURE__ */ (0,
|
|
6012
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: ScReferralCardMobile_default.divider }),
|
|
6013
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
6014
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
6015
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
5555
6016
|
] })
|
|
5556
6017
|
]
|
|
5557
6018
|
}
|
|
@@ -5568,19 +6029,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
5568
6029
|
};
|
|
5569
6030
|
|
|
5570
6031
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5571
|
-
var
|
|
6032
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
5572
6033
|
var InvoiceHistoryMobile = ({
|
|
5573
6034
|
invoiceId = "# INV-2800-2026",
|
|
5574
6035
|
date = "Nov 9th, 2025",
|
|
5575
6036
|
amount = "$320.89",
|
|
5576
6037
|
className
|
|
5577
6038
|
}) => {
|
|
5578
|
-
return /* @__PURE__ */ (0,
|
|
5579
|
-
/* @__PURE__ */ (0,
|
|
5580
|
-
/* @__PURE__ */ (0,
|
|
5581
|
-
/* @__PURE__ */ (0,
|
|
6039
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
6040
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
6041
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
5582
6043
|
] }),
|
|
5583
|
-
/* @__PURE__ */ (0,
|
|
6044
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5584
6045
|
] });
|
|
5585
6046
|
};
|
|
5586
6047
|
|
|
@@ -5598,7 +6059,7 @@ var UsageHistoryMobile_default = {
|
|
|
5598
6059
|
};
|
|
5599
6060
|
|
|
5600
6061
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5601
|
-
var
|
|
6062
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
5602
6063
|
var UsageHistoryMobile = ({
|
|
5603
6064
|
serviceName = "Artifax Generation",
|
|
5604
6065
|
credits = "50",
|
|
@@ -5607,18 +6068,18 @@ var UsageHistoryMobile = ({
|
|
|
5607
6068
|
balance = "84,902",
|
|
5608
6069
|
className
|
|
5609
6070
|
}) => {
|
|
5610
|
-
return /* @__PURE__ */ (0,
|
|
5611
|
-
/* @__PURE__ */ (0,
|
|
5612
|
-
/* @__PURE__ */ (0,
|
|
5613
|
-
/* @__PURE__ */ (0,
|
|
6071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
6072
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
6073
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
6074
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
5614
6075
|
] }),
|
|
5615
|
-
/* @__PURE__ */ (0,
|
|
5616
|
-
/* @__PURE__ */ (0,
|
|
5617
|
-
/* @__PURE__ */ (0,
|
|
5618
|
-
/* @__PURE__ */ (0,
|
|
5619
|
-
/* @__PURE__ */ (0,
|
|
6076
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
6077
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
6078
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
6079
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: UsageHistoryMobile_default.divider }),
|
|
6080
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
5620
6081
|
] }),
|
|
5621
|
-
/* @__PURE__ */ (0,
|
|
6082
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5622
6083
|
] })
|
|
5623
6084
|
] });
|
|
5624
6085
|
};
|
|
@@ -5642,7 +6103,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5642
6103
|
};
|
|
5643
6104
|
|
|
5644
6105
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5645
|
-
var
|
|
6106
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
5646
6107
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5647
6108
|
wsName = "Workspace name is kepler",
|
|
5648
6109
|
initials = "WS",
|
|
@@ -5655,14 +6116,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5655
6116
|
className,
|
|
5656
6117
|
...props
|
|
5657
6118
|
}) => {
|
|
5658
|
-
return /* @__PURE__ */ (0,
|
|
6119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
5659
6120
|
"div",
|
|
5660
6121
|
{
|
|
5661
6122
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5662
6123
|
onClick,
|
|
5663
6124
|
...props,
|
|
5664
|
-
children: /* @__PURE__ */ (0,
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
6125
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
6126
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
5666
6127
|
ScDp,
|
|
5667
6128
|
{
|
|
5668
6129
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5676,14 +6137,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5676
6137
|
}
|
|
5677
6138
|
}
|
|
5678
6139
|
) }),
|
|
5679
|
-
/* @__PURE__ */ (0,
|
|
5680
|
-
/* @__PURE__ */ (0,
|
|
5681
|
-
/* @__PURE__ */ (0,
|
|
5682
|
-
/* @__PURE__ */ (0,
|
|
5683
|
-
/* @__PURE__ */ (0,
|
|
5684
|
-
/* @__PURE__ */ (0,
|
|
5685
|
-
/* @__PURE__ */ (0,
|
|
5686
|
-
/* @__PURE__ */ (0,
|
|
6140
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
6141
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
6142
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
6143
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
6144
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
6145
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
6146
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
6147
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
5687
6148
|
] })
|
|
5688
6149
|
] })
|
|
5689
6150
|
] })
|
|
@@ -5692,7 +6153,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5692
6153
|
};
|
|
5693
6154
|
|
|
5694
6155
|
// src/SC-imageField/ScImageField.tsx
|
|
5695
|
-
var
|
|
6156
|
+
var import_react11 = require("react");
|
|
5696
6157
|
|
|
5697
6158
|
// src/SC-imageField/ScImageField.module.css
|
|
5698
6159
|
var ScImageField_default = {
|
|
@@ -5709,8 +6170,8 @@ var ScImageField_default = {
|
|
|
5709
6170
|
};
|
|
5710
6171
|
|
|
5711
6172
|
// src/SC-imageField/ScImageField.tsx
|
|
5712
|
-
var
|
|
5713
|
-
var
|
|
6173
|
+
var import_icons59 = require("@streamoid/icons");
|
|
6174
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
5714
6175
|
var ScImageField = ({
|
|
5715
6176
|
label = "Label",
|
|
5716
6177
|
imagePreview,
|
|
@@ -5719,7 +6180,7 @@ var ScImageField = ({
|
|
|
5719
6180
|
onRemove,
|
|
5720
6181
|
className
|
|
5721
6182
|
}) => {
|
|
5722
|
-
const inputRef = (0,
|
|
6183
|
+
const inputRef = (0, import_react11.useRef)(null);
|
|
5723
6184
|
const hasImage = !!imagePreview;
|
|
5724
6185
|
function handleClick() {
|
|
5725
6186
|
if (!hasImage) {
|
|
@@ -5733,8 +6194,8 @@ var ScImageField = ({
|
|
|
5733
6194
|
}
|
|
5734
6195
|
e.target.value = "";
|
|
5735
6196
|
}
|
|
5736
|
-
return /* @__PURE__ */ (0,
|
|
5737
|
-
/* @__PURE__ */ (0,
|
|
6197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
6198
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5738
6199
|
"input",
|
|
5739
6200
|
{
|
|
5740
6201
|
ref: inputRef,
|
|
@@ -5744,9 +6205,9 @@ var ScImageField = ({
|
|
|
5744
6205
|
onChange: handleChange
|
|
5745
6206
|
}
|
|
5746
6207
|
),
|
|
5747
|
-
/* @__PURE__ */ (0,
|
|
5748
|
-
hasImage ? /* @__PURE__ */ (0,
|
|
5749
|
-
/* @__PURE__ */ (0,
|
|
6208
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: ScImageField_default.label, children: label }) }),
|
|
6209
|
+
hasImage ? /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScImageField_default.previewArea, children: [
|
|
6210
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
5750
6211
|
"img",
|
|
5751
6212
|
{
|
|
5752
6213
|
className: ScImageField_default.previewImage,
|
|
@@ -5754,9 +6215,9 @@ var ScImageField = ({
|
|
|
5754
6215
|
alt: "preview"
|
|
5755
6216
|
}
|
|
5756
6217
|
),
|
|
5757
|
-
/* @__PURE__ */ (0,
|
|
5758
|
-
/* @__PURE__ */ (0,
|
|
5759
|
-
|
|
6218
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
6219
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
6220
|
+
import_icons59.SiconDelete,
|
|
5760
6221
|
{
|
|
5761
6222
|
className: ScImageField_default.removeIcon,
|
|
5762
6223
|
color: "var(--alias-text-and-icons-error, #d11a1a)",
|
|
@@ -5766,9 +6227,9 @@ var ScImageField = ({
|
|
|
5766
6227
|
}
|
|
5767
6228
|
}
|
|
5768
6229
|
)
|
|
5769
|
-
] }) : /* @__PURE__ */ (0,
|
|
5770
|
-
/* @__PURE__ */ (0,
|
|
5771
|
-
/* @__PURE__ */ (0,
|
|
6230
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
6231
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_icons59.SiconUpload, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
6232
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
5772
6233
|
] })
|
|
5773
6234
|
] });
|
|
5774
6235
|
};
|
|
@@ -5782,7 +6243,7 @@ var ScSettingsTabComp_default = {
|
|
|
5782
6243
|
};
|
|
5783
6244
|
|
|
5784
6245
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5785
|
-
var
|
|
6246
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
5786
6247
|
var ScSettingsTabComp = ({
|
|
5787
6248
|
tabName = "Tab",
|
|
5788
6249
|
active = false,
|
|
@@ -5790,12 +6251,12 @@ var ScSettingsTabComp = ({
|
|
|
5790
6251
|
className
|
|
5791
6252
|
}) => {
|
|
5792
6253
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5793
|
-
return /* @__PURE__ */ (0,
|
|
6254
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
5794
6255
|
"div",
|
|
5795
6256
|
{
|
|
5796
6257
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5797
6258
|
onClick,
|
|
5798
|
-
children: /* @__PURE__ */ (0,
|
|
6259
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5799
6260
|
}
|
|
5800
6261
|
);
|
|
5801
6262
|
};
|
|
@@ -5814,8 +6275,8 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5814
6275
|
};
|
|
5815
6276
|
|
|
5816
6277
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5817
|
-
var
|
|
5818
|
-
var
|
|
6278
|
+
var import_icons60 = require("@streamoid/icons");
|
|
6279
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
5819
6280
|
var ScCreditsUsageCardMobile = ({
|
|
5820
6281
|
usageLabel = "Credits usage",
|
|
5821
6282
|
usageText = "8,450 / 30,000",
|
|
@@ -5825,23 +6286,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5825
6286
|
className,
|
|
5826
6287
|
...props
|
|
5827
6288
|
}) => {
|
|
5828
|
-
return /* @__PURE__ */ (0,
|
|
5829
|
-
/* @__PURE__ */ (0,
|
|
5830
|
-
/* @__PURE__ */ (0,
|
|
5831
|
-
|
|
6289
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
6290
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
6291
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
6292
|
+
import_icons60.SiconCredits,
|
|
5832
6293
|
{
|
|
5833
6294
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5834
6295
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5835
6296
|
}
|
|
5836
6297
|
),
|
|
5837
|
-
/* @__PURE__ */ (0,
|
|
6298
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5838
6299
|
] }),
|
|
5839
|
-
/* @__PURE__ */ (0,
|
|
5840
|
-
/* @__PURE__ */ (0,
|
|
5841
|
-
/* @__PURE__ */ (0,
|
|
5842
|
-
/* @__PURE__ */ (0,
|
|
6300
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
6301
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
6302
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
6303
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
5843
6304
|
] }),
|
|
5844
|
-
/* @__PURE__ */ (0,
|
|
6305
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
5845
6306
|
ScButton,
|
|
5846
6307
|
{
|
|
5847
6308
|
text: buyButtonText,
|
|
@@ -5872,8 +6333,8 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5872
6333
|
};
|
|
5873
6334
|
|
|
5874
6335
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5875
|
-
var
|
|
5876
|
-
var
|
|
6336
|
+
var import_icons61 = require("@streamoid/icons");
|
|
6337
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
5877
6338
|
var ScPlanDetailsCardMobile = ({
|
|
5878
6339
|
planName = "Pro",
|
|
5879
6340
|
planCredits = "30,000 credits",
|
|
@@ -5885,19 +6346,19 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5885
6346
|
className,
|
|
5886
6347
|
...props
|
|
5887
6348
|
}) => {
|
|
5888
|
-
return /* @__PURE__ */ (0,
|
|
5889
|
-
/* @__PURE__ */ (0,
|
|
5890
|
-
/* @__PURE__ */ (0,
|
|
5891
|
-
/* @__PURE__ */ (0,
|
|
5892
|
-
|
|
6349
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
6350
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
6351
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
6352
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
6353
|
+
import_icons61.SiconBilling,
|
|
5893
6354
|
{
|
|
5894
6355
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5895
6356
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5896
6357
|
}
|
|
5897
6358
|
),
|
|
5898
|
-
/* @__PURE__ */ (0,
|
|
6359
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5899
6360
|
] }),
|
|
5900
|
-
/* @__PURE__ */ (0,
|
|
6361
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
5901
6362
|
ScBadges,
|
|
5902
6363
|
{
|
|
5903
6364
|
text: badgeText,
|
|
@@ -5907,16 +6368,16 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5907
6368
|
}
|
|
5908
6369
|
)
|
|
5909
6370
|
] }),
|
|
5910
|
-
/* @__PURE__ */ (0,
|
|
5911
|
-
/* @__PURE__ */ (0,
|
|
5912
|
-
/* @__PURE__ */ (0,
|
|
5913
|
-
/* @__PURE__ */ (0,
|
|
5914
|
-
/* @__PURE__ */ (0,
|
|
5915
|
-
/* @__PURE__ */ (0,
|
|
6371
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
6372
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
|
|
6373
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
6374
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
6375
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
6376
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
5916
6377
|
] }),
|
|
5917
|
-
/* @__PURE__ */ (0,
|
|
6378
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5918
6379
|
] }),
|
|
5919
|
-
/* @__PURE__ */ (0,
|
|
6380
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
5920
6381
|
ScButton,
|
|
5921
6382
|
{
|
|
5922
6383
|
text: upgradeButtonText,
|