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