@streamoid/ui 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +539 -0
- package/dist/index.d.mts +109 -1
- package/dist/index.d.ts +109 -1
- package/dist/index.js +909 -448
- package/dist/index.mjs +884 -415
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3234,6 +3234,472 @@ function StreamoidSidebar({
|
|
|
3234
3234
|
);
|
|
3235
3235
|
}
|
|
3236
3236
|
|
|
3237
|
+
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
3238
|
+
import {
|
|
3239
|
+
useCallback,
|
|
3240
|
+
useState as useState5
|
|
3241
|
+
} from "react";
|
|
3242
|
+
|
|
3243
|
+
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.module.css
|
|
3244
|
+
var ScArtifaxSidebar_default = {
|
|
3245
|
+
scArtifaxSidebar: "ScArtifaxSidebar_scArtifaxSidebar",
|
|
3246
|
+
variantExpanded: "ScArtifaxSidebar_variantExpanded",
|
|
3247
|
+
container: "ScArtifaxSidebar_container",
|
|
3248
|
+
expanded: "ScArtifaxSidebar_expanded",
|
|
3249
|
+
collapsed: "ScArtifaxSidebar_collapsed",
|
|
3250
|
+
borderOverlayExpanded: "ScArtifaxSidebar_borderOverlayExpanded",
|
|
3251
|
+
borderOverlayCollapsed: "ScArtifaxSidebar_borderOverlayCollapsed",
|
|
3252
|
+
body: "ScArtifaxSidebar_body",
|
|
3253
|
+
bodyCollapsed: "ScArtifaxSidebar_bodyCollapsed",
|
|
3254
|
+
logoUnitExpanded: "ScArtifaxSidebar_logoUnitExpanded",
|
|
3255
|
+
logoUnitCollapsed: "ScArtifaxSidebar_logoUnitCollapsed",
|
|
3256
|
+
sectionContainer: "ScArtifaxSidebar_sectionContainer",
|
|
3257
|
+
sectionContainerCollapsed: "ScArtifaxSidebar_sectionContainerCollapsed",
|
|
3258
|
+
sectionHeader: "ScArtifaxSidebar_sectionHeader",
|
|
3259
|
+
sectionLabel: "ScArtifaxSidebar_sectionLabel",
|
|
3260
|
+
sectionChevron: "ScArtifaxSidebar_sectionChevron",
|
|
3261
|
+
switchAppRow: "ScArtifaxSidebar_switchAppRow",
|
|
3262
|
+
switchAppIconBox: "ScArtifaxSidebar_switchAppIconBox",
|
|
3263
|
+
switchAppLabel: "ScArtifaxSidebar_switchAppLabel",
|
|
3264
|
+
switchAppRowCollapsed: "ScArtifaxSidebar_switchAppRowCollapsed",
|
|
3265
|
+
profileRow: "ScArtifaxSidebar_profileRow",
|
|
3266
|
+
profileRowCollapsed: "ScArtifaxSidebar_profileRowCollapsed",
|
|
3267
|
+
profileAvatar: "ScArtifaxSidebar_profileAvatar",
|
|
3268
|
+
profileInfo: "ScArtifaxSidebar_profileInfo",
|
|
3269
|
+
profileName: "ScArtifaxSidebar_profileName",
|
|
3270
|
+
profileSubtitle: "ScArtifaxSidebar_profileSubtitle",
|
|
3271
|
+
creditWarningSlot: "ScArtifaxSidebar_creditWarningSlot",
|
|
3272
|
+
footerExpanded: "ScArtifaxSidebar_footerExpanded",
|
|
3273
|
+
footerVersion: "ScArtifaxSidebar_footerVersion",
|
|
3274
|
+
footerToggle: "ScArtifaxSidebar_footerToggle",
|
|
3275
|
+
footerCollapsed: "ScArtifaxSidebar_footerCollapsed",
|
|
3276
|
+
footerVersionCenter: "ScArtifaxSidebar_footerVersionCenter",
|
|
3277
|
+
placeholderIcon: "ScArtifaxSidebar_placeholderIcon"
|
|
3278
|
+
};
|
|
3279
|
+
|
|
3280
|
+
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
3281
|
+
import {
|
|
3282
|
+
SiconAppSwitch,
|
|
3283
|
+
SiconCollapse as SiconCollapse3,
|
|
3284
|
+
SiconDown,
|
|
3285
|
+
SiconUp
|
|
3286
|
+
} from "@streamoid/icons";
|
|
3287
|
+
import { Fragment as Fragment15, jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
3288
|
+
function ArtifaxPlaceholderIcon() {
|
|
3289
|
+
return /* @__PURE__ */ jsx41("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
3290
|
+
}
|
|
3291
|
+
function resolveIcon2(iconMap, item, active, expanded) {
|
|
3292
|
+
const renderer = iconMap?.[item.iconKey];
|
|
3293
|
+
if (renderer == null) return /* @__PURE__ */ jsx41(ArtifaxPlaceholderIcon, {});
|
|
3294
|
+
if (typeof renderer === "function") {
|
|
3295
|
+
return /* @__PURE__ */ jsx41(Fragment15, { children: renderer({ item, active, expanded }) });
|
|
3296
|
+
}
|
|
3297
|
+
return /* @__PURE__ */ jsx41(Fragment15, { children: renderer });
|
|
3298
|
+
}
|
|
3299
|
+
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
3300
|
+
if (toggleIcon == null)
|
|
3301
|
+
return /* @__PURE__ */ jsx41(SiconCollapse3, {});
|
|
3302
|
+
if (typeof toggleIcon === "function") {
|
|
3303
|
+
return toggleIcon(expanded);
|
|
3304
|
+
}
|
|
3305
|
+
return toggleIcon;
|
|
3306
|
+
}
|
|
3307
|
+
function SectionHeader2({
|
|
3308
|
+
label,
|
|
3309
|
+
open,
|
|
3310
|
+
onToggle
|
|
3311
|
+
}) {
|
|
3312
|
+
const Chevron = open ? SiconUp : SiconDown;
|
|
3313
|
+
return /* @__PURE__ */ jsxs33(
|
|
3314
|
+
"button",
|
|
3315
|
+
{
|
|
3316
|
+
type: "button",
|
|
3317
|
+
className: ScArtifaxSidebar_default.sectionHeader,
|
|
3318
|
+
onClick: onToggle,
|
|
3319
|
+
disabled: !onToggle,
|
|
3320
|
+
children: [
|
|
3321
|
+
/* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.sectionLabel, children: label }),
|
|
3322
|
+
/* @__PURE__ */ jsx41(Chevron, { className: ScArtifaxSidebar_default.sectionChevron })
|
|
3323
|
+
]
|
|
3324
|
+
}
|
|
3325
|
+
);
|
|
3326
|
+
}
|
|
3327
|
+
var ScArtifaxSidebar = ({
|
|
3328
|
+
expanded,
|
|
3329
|
+
onToggle,
|
|
3330
|
+
sections,
|
|
3331
|
+
iconMap,
|
|
3332
|
+
activeItemId,
|
|
3333
|
+
onItemSelect,
|
|
3334
|
+
expandedLogo,
|
|
3335
|
+
collapsedLogo,
|
|
3336
|
+
creditWarning,
|
|
3337
|
+
switchApp,
|
|
3338
|
+
profile,
|
|
3339
|
+
versionText = "v2.1.2",
|
|
3340
|
+
toggleIcon,
|
|
3341
|
+
openSections,
|
|
3342
|
+
onSectionToggle,
|
|
3343
|
+
className,
|
|
3344
|
+
style
|
|
3345
|
+
}) => {
|
|
3346
|
+
const isControlled = !!openSections;
|
|
3347
|
+
const [internalOpen, setInternalOpen] = useState5(
|
|
3348
|
+
() => {
|
|
3349
|
+
const init = {};
|
|
3350
|
+
sections.forEach((s) => {
|
|
3351
|
+
init[s.id] = s.defaultOpen ?? true;
|
|
3352
|
+
});
|
|
3353
|
+
return init;
|
|
3354
|
+
}
|
|
3355
|
+
);
|
|
3356
|
+
const isSectionOpen = (id) => isControlled ? !!openSections?.[id] : !!internalOpen[id];
|
|
3357
|
+
const handleSectionToggle = useCallback(
|
|
3358
|
+
(id) => {
|
|
3359
|
+
const next = !isSectionOpen(id);
|
|
3360
|
+
if (isControlled) {
|
|
3361
|
+
onSectionToggle?.(id, next);
|
|
3362
|
+
} else {
|
|
3363
|
+
setInternalOpen((p) => ({ ...p, [id]: next }));
|
|
3364
|
+
onSectionToggle?.(id, next);
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3368
|
+
[isControlled, onSectionToggle, internalOpen, openSections]
|
|
3369
|
+
);
|
|
3370
|
+
const renderMenuItem2 = (item, sectionId) => {
|
|
3371
|
+
const active = item.id === activeItemId;
|
|
3372
|
+
const state = active ? "active" : "default";
|
|
3373
|
+
return /* @__PURE__ */ jsx41(
|
|
3374
|
+
ScSidebarMenu,
|
|
3375
|
+
{
|
|
3376
|
+
icon: resolveIcon2(iconMap, item, active, expanded),
|
|
3377
|
+
text: expanded ? item.label : void 0,
|
|
3378
|
+
state,
|
|
3379
|
+
variant: expanded ? "expanded" : "collapsed",
|
|
3380
|
+
onClick: () => onItemSelect?.(item, sectionId)
|
|
3381
|
+
},
|
|
3382
|
+
item.id
|
|
3383
|
+
);
|
|
3384
|
+
};
|
|
3385
|
+
if (expanded) {
|
|
3386
|
+
return /* @__PURE__ */ jsx41(
|
|
3387
|
+
"div",
|
|
3388
|
+
{
|
|
3389
|
+
className: ScArtifaxSidebar_default.scArtifaxSidebar + " " + ScArtifaxSidebar_default.variantExpanded + (className ? " " + className : ""),
|
|
3390
|
+
style,
|
|
3391
|
+
children: /* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.expanded, children: [
|
|
3392
|
+
/* @__PURE__ */ jsx41("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayExpanded }),
|
|
3393
|
+
/* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.body, children: [
|
|
3394
|
+
expandedLogo ? /* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.logoUnitExpanded, children: expandedLogo }) : null,
|
|
3395
|
+
sections.map((section, idx) => {
|
|
3396
|
+
const open = section.label ? section.collapsible !== false ? isSectionOpen(section.id) : true : true;
|
|
3397
|
+
const showHeader = !!section.label;
|
|
3398
|
+
const canToggle = showHeader && section.collapsible !== false;
|
|
3399
|
+
return /* @__PURE__ */ jsxs33("div", { children: [
|
|
3400
|
+
idx > 0 ? /* @__PURE__ */ jsx41(ScHDivider, {}) : null,
|
|
3401
|
+
/* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.sectionContainer, children: [
|
|
3402
|
+
showHeader ? /* @__PURE__ */ jsx41(
|
|
3403
|
+
SectionHeader2,
|
|
3404
|
+
{
|
|
3405
|
+
label: section.label,
|
|
3406
|
+
open,
|
|
3407
|
+
onToggle: canToggle ? () => handleSectionToggle(section.id) : void 0
|
|
3408
|
+
}
|
|
3409
|
+
) : null,
|
|
3410
|
+
open ? section.items.map(
|
|
3411
|
+
(item) => renderMenuItem2(item, section.id)
|
|
3412
|
+
) : null
|
|
3413
|
+
] })
|
|
3414
|
+
] }, section.id);
|
|
3415
|
+
})
|
|
3416
|
+
] }),
|
|
3417
|
+
creditWarning ? /* @__PURE__ */ jsxs33(Fragment15, { children: [
|
|
3418
|
+
/* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx41(
|
|
3419
|
+
CreditWarningBanner,
|
|
3420
|
+
{
|
|
3421
|
+
availableCredits: creditWarning.availableCredits,
|
|
3422
|
+
remainingPct: creditWarning.remainingPct,
|
|
3423
|
+
level: creditWarning.level ?? "danger",
|
|
3424
|
+
onBuyCredits: creditWarning.onBuyCredits,
|
|
3425
|
+
expanded: true
|
|
3426
|
+
}
|
|
3427
|
+
) }),
|
|
3428
|
+
/* @__PURE__ */ jsx41(ScHDivider, {})
|
|
3429
|
+
] }) : null,
|
|
3430
|
+
switchApp ? /* @__PURE__ */ jsxs33(Fragment15, { children: [
|
|
3431
|
+
/* @__PURE__ */ jsxs33(
|
|
3432
|
+
"button",
|
|
3433
|
+
{
|
|
3434
|
+
type: "button",
|
|
3435
|
+
className: ScArtifaxSidebar_default.switchAppRow,
|
|
3436
|
+
onClick: switchApp.onClick,
|
|
3437
|
+
children: [
|
|
3438
|
+
/* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.switchAppIconBox, children: switchApp.icon ?? /* @__PURE__ */ jsx41(SiconAppSwitch, {}) }),
|
|
3439
|
+
/* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.switchAppLabel, children: switchApp.label ?? "Switch App" })
|
|
3440
|
+
]
|
|
3441
|
+
}
|
|
3442
|
+
),
|
|
3443
|
+
/* @__PURE__ */ jsx41(ScHDivider, {})
|
|
3444
|
+
] }) : null,
|
|
3445
|
+
profile ? /* @__PURE__ */ jsxs33(Fragment15, { children: [
|
|
3446
|
+
/* @__PURE__ */ jsxs33(
|
|
3447
|
+
"button",
|
|
3448
|
+
{
|
|
3449
|
+
type: "button",
|
|
3450
|
+
className: ScArtifaxSidebar_default.profileRow,
|
|
3451
|
+
onClick: profile.onClick,
|
|
3452
|
+
children: [
|
|
3453
|
+
/* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar }),
|
|
3454
|
+
/* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.profileInfo, children: [
|
|
3455
|
+
/* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.profileName, children: profile.name }),
|
|
3456
|
+
profile.subtitle ? /* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.profileSubtitle, children: profile.subtitle }) : null
|
|
3457
|
+
] })
|
|
3458
|
+
]
|
|
3459
|
+
}
|
|
3460
|
+
),
|
|
3461
|
+
/* @__PURE__ */ jsx41(ScHDivider, {})
|
|
3462
|
+
] }) : null,
|
|
3463
|
+
/* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.footerExpanded, children: [
|
|
3464
|
+
/* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.footerVersion, children: versionText }),
|
|
3465
|
+
/* @__PURE__ */ jsx41(
|
|
3466
|
+
"button",
|
|
3467
|
+
{
|
|
3468
|
+
type: "button",
|
|
3469
|
+
className: ScArtifaxSidebar_default.footerToggle,
|
|
3470
|
+
onClick: onToggle,
|
|
3471
|
+
"aria-label": "Collapse sidebar",
|
|
3472
|
+
children: resolveToggleIcon2(toggleIcon, true)
|
|
3473
|
+
}
|
|
3474
|
+
)
|
|
3475
|
+
] })
|
|
3476
|
+
] })
|
|
3477
|
+
}
|
|
3478
|
+
);
|
|
3479
|
+
}
|
|
3480
|
+
return /* @__PURE__ */ jsx41(
|
|
3481
|
+
"div",
|
|
3482
|
+
{
|
|
3483
|
+
className: ScArtifaxSidebar_default.scArtifaxSidebar + (className ? " " + className : ""),
|
|
3484
|
+
style,
|
|
3485
|
+
children: /* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.container + " " + ScArtifaxSidebar_default.collapsed, children: [
|
|
3486
|
+
/* @__PURE__ */ jsx41("div", { "aria-hidden": "true", className: ScArtifaxSidebar_default.borderOverlayCollapsed }),
|
|
3487
|
+
/* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.body + " " + ScArtifaxSidebar_default.bodyCollapsed, children: [
|
|
3488
|
+
collapsedLogo ? /* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.logoUnitCollapsed, children: collapsedLogo }) : null,
|
|
3489
|
+
sections.map((section, idx) => /* @__PURE__ */ jsxs33("div", { children: [
|
|
3490
|
+
idx > 0 ? /* @__PURE__ */ jsx41(ScHDivider, {}) : null,
|
|
3491
|
+
/* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.sectionContainerCollapsed, children: section.items.map((item) => renderMenuItem2(item, section.id)) })
|
|
3492
|
+
] }, section.id))
|
|
3493
|
+
] }),
|
|
3494
|
+
creditWarning ? /* @__PURE__ */ jsxs33(Fragment15, { children: [
|
|
3495
|
+
/* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.creditWarningSlot, children: /* @__PURE__ */ jsx41(
|
|
3496
|
+
CreditWarningBanner,
|
|
3497
|
+
{
|
|
3498
|
+
availableCredits: creditWarning.availableCredits,
|
|
3499
|
+
remainingPct: creditWarning.remainingPct,
|
|
3500
|
+
level: creditWarning.level ?? "danger",
|
|
3501
|
+
onBuyCredits: creditWarning.onBuyCredits,
|
|
3502
|
+
expanded: false
|
|
3503
|
+
}
|
|
3504
|
+
) }),
|
|
3505
|
+
/* @__PURE__ */ jsx41(ScHDivider, {})
|
|
3506
|
+
] }) : null,
|
|
3507
|
+
switchApp ? /* @__PURE__ */ jsxs33(Fragment15, { children: [
|
|
3508
|
+
/* @__PURE__ */ jsx41(
|
|
3509
|
+
"button",
|
|
3510
|
+
{
|
|
3511
|
+
type: "button",
|
|
3512
|
+
className: ScArtifaxSidebar_default.switchAppRowCollapsed,
|
|
3513
|
+
onClick: switchApp.onClick,
|
|
3514
|
+
"aria-label": switchApp.label ?? "Switch App",
|
|
3515
|
+
children: switchApp.icon ?? /* @__PURE__ */ jsx41(SiconAppSwitch, {})
|
|
3516
|
+
}
|
|
3517
|
+
),
|
|
3518
|
+
/* @__PURE__ */ jsx41(ScHDivider, {})
|
|
3519
|
+
] }) : null,
|
|
3520
|
+
profile ? /* @__PURE__ */ jsxs33(Fragment15, { children: [
|
|
3521
|
+
/* @__PURE__ */ jsx41(
|
|
3522
|
+
"button",
|
|
3523
|
+
{
|
|
3524
|
+
type: "button",
|
|
3525
|
+
className: ScArtifaxSidebar_default.profileRowCollapsed,
|
|
3526
|
+
onClick: profile.onClick,
|
|
3527
|
+
"aria-label": profile.name,
|
|
3528
|
+
children: /* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.profileAvatar, children: profile.avatar })
|
|
3529
|
+
}
|
|
3530
|
+
),
|
|
3531
|
+
/* @__PURE__ */ jsx41(ScHDivider, {})
|
|
3532
|
+
] }) : null,
|
|
3533
|
+
/* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
|
|
3534
|
+
/* @__PURE__ */ jsx41(
|
|
3535
|
+
"button",
|
|
3536
|
+
{
|
|
3537
|
+
type: "button",
|
|
3538
|
+
className: ScArtifaxSidebar_default.footerToggle,
|
|
3539
|
+
onClick: onToggle,
|
|
3540
|
+
"aria-label": "Expand sidebar",
|
|
3541
|
+
children: resolveToggleIcon2(toggleIcon, false)
|
|
3542
|
+
}
|
|
3543
|
+
),
|
|
3544
|
+
/* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.footerVersionCenter, children: versionText })
|
|
3545
|
+
] })
|
|
3546
|
+
] })
|
|
3547
|
+
}
|
|
3548
|
+
);
|
|
3549
|
+
};
|
|
3550
|
+
|
|
3551
|
+
// src/SC-Guide/ScGuide.module.css
|
|
3552
|
+
var ScGuide_default = {
|
|
3553
|
+
scGuide: "ScGuide_scGuide",
|
|
3554
|
+
header: "ScGuide_header",
|
|
3555
|
+
title: "ScGuide_title",
|
|
3556
|
+
description: "ScGuide_description",
|
|
3557
|
+
actions: "ScGuide_actions",
|
|
3558
|
+
skipButton: "ScGuide_skipButton",
|
|
3559
|
+
skipSpacer: "ScGuide_skipSpacer",
|
|
3560
|
+
nextButton: "ScGuide_nextButton",
|
|
3561
|
+
nextLabel: "ScGuide_nextLabel",
|
|
3562
|
+
nextIcon: "ScGuide_nextIcon"
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
// src/SC-Guide/ScGuide.tsx
|
|
3566
|
+
import { SiconRight as SiconRight2 } from "@streamoid/icons";
|
|
3567
|
+
import { jsx as jsx42, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
3568
|
+
var ScGuide = ({
|
|
3569
|
+
title = "Title",
|
|
3570
|
+
description = "Description",
|
|
3571
|
+
skipLabel = "Skip",
|
|
3572
|
+
nextLabel = "Next",
|
|
3573
|
+
nextIcon,
|
|
3574
|
+
onSkip,
|
|
3575
|
+
onNext,
|
|
3576
|
+
hideSkip = false,
|
|
3577
|
+
hideNext = false,
|
|
3578
|
+
disabled = false,
|
|
3579
|
+
className,
|
|
3580
|
+
style
|
|
3581
|
+
}) => {
|
|
3582
|
+
return /* @__PURE__ */ jsxs34(
|
|
3583
|
+
"div",
|
|
3584
|
+
{
|
|
3585
|
+
className: ScGuide_default.scGuide + (className ? " " + className : ""),
|
|
3586
|
+
style,
|
|
3587
|
+
children: [
|
|
3588
|
+
/* @__PURE__ */ jsxs34("div", { className: ScGuide_default.header, children: [
|
|
3589
|
+
/* @__PURE__ */ jsx42("p", { className: ScGuide_default.title, children: title }),
|
|
3590
|
+
/* @__PURE__ */ jsx42("p", { className: ScGuide_default.description, children: description })
|
|
3591
|
+
] }),
|
|
3592
|
+
/* @__PURE__ */ jsx42(ScHDivider, {}),
|
|
3593
|
+
/* @__PURE__ */ jsxs34("div", { className: ScGuide_default.actions, children: [
|
|
3594
|
+
hideSkip ? /* @__PURE__ */ jsx42("span", { className: ScGuide_default.skipSpacer, "aria-hidden": "true", children: skipLabel }) : /* @__PURE__ */ jsx42(
|
|
3595
|
+
"button",
|
|
3596
|
+
{
|
|
3597
|
+
type: "button",
|
|
3598
|
+
className: ScGuide_default.skipButton,
|
|
3599
|
+
onClick: onSkip,
|
|
3600
|
+
disabled,
|
|
3601
|
+
children: skipLabel
|
|
3602
|
+
}
|
|
3603
|
+
),
|
|
3604
|
+
!hideNext && /* @__PURE__ */ jsxs34(
|
|
3605
|
+
"button",
|
|
3606
|
+
{
|
|
3607
|
+
type: "button",
|
|
3608
|
+
className: ScGuide_default.nextButton,
|
|
3609
|
+
onClick: onNext,
|
|
3610
|
+
disabled,
|
|
3611
|
+
children: [
|
|
3612
|
+
/* @__PURE__ */ jsx42("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
3613
|
+
/* @__PURE__ */ jsx42("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ jsx42(SiconRight2, { size: 16, strokeWidth: 1.5 }) })
|
|
3614
|
+
]
|
|
3615
|
+
}
|
|
3616
|
+
)
|
|
3617
|
+
] })
|
|
3618
|
+
]
|
|
3619
|
+
}
|
|
3620
|
+
);
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3623
|
+
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.module.css
|
|
3624
|
+
var ScSideBarLogoUnit_default = {
|
|
3625
|
+
scSideBarLogoUnit: "ScSideBarLogoUnit_scSideBarLogoUnit",
|
|
3626
|
+
row: "ScSideBarLogoUnit_row",
|
|
3627
|
+
chip: "ScSideBarLogoUnit_chip",
|
|
3628
|
+
nonInteractive: "ScSideBarLogoUnit_nonInteractive",
|
|
3629
|
+
switch: "ScSideBarLogoUnit_switch",
|
|
3630
|
+
switchIcon: "ScSideBarLogoUnit_switchIcon",
|
|
3631
|
+
collapsed: "ScSideBarLogoUnit_collapsed",
|
|
3632
|
+
collapsedTrigger: "ScSideBarLogoUnit_collapsedTrigger"
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3635
|
+
// src/SC-SideBarLogoUnit/ScSideBarLogoUnit.tsx
|
|
3636
|
+
import { SiconDoubleArrow } from "@streamoid/icons";
|
|
3637
|
+
import { jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
3638
|
+
var ScSideBarLogoUnit = ({
|
|
3639
|
+
state = "expanded",
|
|
3640
|
+
wordmark,
|
|
3641
|
+
onClick,
|
|
3642
|
+
onSwitchClick,
|
|
3643
|
+
switchAriaLabel = "Switch product",
|
|
3644
|
+
hideSwitch = false,
|
|
3645
|
+
disabled = false,
|
|
3646
|
+
className,
|
|
3647
|
+
style
|
|
3648
|
+
}) => {
|
|
3649
|
+
const interactive = !!onClick && !disabled;
|
|
3650
|
+
if (state === "collapsed") {
|
|
3651
|
+
return /* @__PURE__ */ jsx43(
|
|
3652
|
+
"div",
|
|
3653
|
+
{
|
|
3654
|
+
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + " " + ScSideBarLogoUnit_default.collapsed + (className ? " " + className : ""),
|
|
3655
|
+
style,
|
|
3656
|
+
children: /* @__PURE__ */ jsx43(
|
|
3657
|
+
"button",
|
|
3658
|
+
{
|
|
3659
|
+
type: "button",
|
|
3660
|
+
className: ScSideBarLogoUnit_default.collapsedTrigger + (interactive ? "" : " " + ScSideBarLogoUnit_default.nonInteractive),
|
|
3661
|
+
onClick: interactive ? onClick : void 0,
|
|
3662
|
+
disabled,
|
|
3663
|
+
"aria-disabled": !interactive || disabled,
|
|
3664
|
+
children: wordmark
|
|
3665
|
+
}
|
|
3666
|
+
)
|
|
3667
|
+
}
|
|
3668
|
+
);
|
|
3669
|
+
}
|
|
3670
|
+
return /* @__PURE__ */ jsx43(
|
|
3671
|
+
"div",
|
|
3672
|
+
{
|
|
3673
|
+
className: ScSideBarLogoUnit_default.scSideBarLogoUnit + (className ? " " + className : ""),
|
|
3674
|
+
style,
|
|
3675
|
+
children: /* @__PURE__ */ jsxs35("div", { className: ScSideBarLogoUnit_default.row, children: [
|
|
3676
|
+
/* @__PURE__ */ jsx43(
|
|
3677
|
+
"button",
|
|
3678
|
+
{
|
|
3679
|
+
type: "button",
|
|
3680
|
+
className: ScSideBarLogoUnit_default.chip + (interactive ? "" : " " + ScSideBarLogoUnit_default.nonInteractive),
|
|
3681
|
+
onClick: interactive ? onClick : void 0,
|
|
3682
|
+
disabled,
|
|
3683
|
+
"aria-disabled": !interactive || disabled,
|
|
3684
|
+
children: wordmark
|
|
3685
|
+
}
|
|
3686
|
+
),
|
|
3687
|
+
hideSwitch ? null : /* @__PURE__ */ jsx43(
|
|
3688
|
+
"button",
|
|
3689
|
+
{
|
|
3690
|
+
type: "button",
|
|
3691
|
+
className: ScSideBarLogoUnit_default.switch,
|
|
3692
|
+
onClick: onSwitchClick,
|
|
3693
|
+
disabled: disabled || !onSwitchClick,
|
|
3694
|
+
"aria-label": switchAriaLabel,
|
|
3695
|
+
children: /* @__PURE__ */ jsx43("span", { className: ScSideBarLogoUnit_default.switchIcon, children: /* @__PURE__ */ jsx43(SiconDoubleArrow, { size: 16, strokeWidth: 1.5 }) })
|
|
3696
|
+
}
|
|
3697
|
+
)
|
|
3698
|
+
] })
|
|
3699
|
+
}
|
|
3700
|
+
);
|
|
3701
|
+
};
|
|
3702
|
+
|
|
3237
3703
|
// src/SC-Slider/ScSlider.module.css
|
|
3238
3704
|
var ScSlider_default = {
|
|
3239
3705
|
scSlider: "ScSlider_scSlider",
|
|
@@ -3244,23 +3710,23 @@ var ScSlider_default = {
|
|
|
3244
3710
|
};
|
|
3245
3711
|
|
|
3246
3712
|
// src/SC-Slider/ScSlider.tsx
|
|
3247
|
-
import { jsx as
|
|
3713
|
+
import { jsx as jsx44, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
3248
3714
|
var ScSlider = ({
|
|
3249
3715
|
className,
|
|
3250
3716
|
onValueChange,
|
|
3251
3717
|
...props
|
|
3252
3718
|
}) => {
|
|
3253
|
-
return /* @__PURE__ */
|
|
3254
|
-
/* @__PURE__ */
|
|
3255
|
-
/* @__PURE__ */
|
|
3256
|
-
/* @__PURE__ */
|
|
3257
|
-
/* @__PURE__ */
|
|
3258
|
-
/* @__PURE__ */
|
|
3259
|
-
/* @__PURE__ */
|
|
3260
|
-
/* @__PURE__ */
|
|
3261
|
-
/* @__PURE__ */
|
|
3262
|
-
/* @__PURE__ */
|
|
3263
|
-
/* @__PURE__ */
|
|
3719
|
+
return /* @__PURE__ */ jsxs36("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
|
|
3720
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressBar }),
|
|
3721
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressDot }),
|
|
3722
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressBar2 }),
|
|
3723
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressDot2 }),
|
|
3724
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressBar2 }),
|
|
3725
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressDot2 }),
|
|
3726
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressBar2 }),
|
|
3727
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressDot2 }),
|
|
3728
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressBar2 }),
|
|
3729
|
+
/* @__PURE__ */ jsx44("div", { className: ScSlider_default.progressDot2 })
|
|
3264
3730
|
] });
|
|
3265
3731
|
};
|
|
3266
3732
|
|
|
@@ -3272,7 +3738,7 @@ import {
|
|
|
3272
3738
|
SiconCrown,
|
|
3273
3739
|
SiconSwitch
|
|
3274
3740
|
} from "@streamoid/icons";
|
|
3275
|
-
import { jsx as
|
|
3741
|
+
import { jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3276
3742
|
var PRIMARY_ICON = "var(--alias-text---icons-primary)";
|
|
3277
3743
|
function deriveInitials(name) {
|
|
3278
3744
|
return name.split(/\s+/).slice(0, 2).map((w) => w[0]?.toUpperCase() ?? "").join("") || "WS";
|
|
@@ -3290,7 +3756,7 @@ function WorkspaceRow({
|
|
|
3290
3756
|
switchWorkspaceText,
|
|
3291
3757
|
onSwitch
|
|
3292
3758
|
}) {
|
|
3293
|
-
return /* @__PURE__ */
|
|
3759
|
+
return /* @__PURE__ */ jsxs37(
|
|
3294
3760
|
"div",
|
|
3295
3761
|
{
|
|
3296
3762
|
className: "relative shrink-0 w-full",
|
|
@@ -3300,7 +3766,7 @@ function WorkspaceRow({
|
|
|
3300
3766
|
backdropFilter: "blur(4px)"
|
|
3301
3767
|
},
|
|
3302
3768
|
children: [
|
|
3303
|
-
/* @__PURE__ */
|
|
3769
|
+
/* @__PURE__ */ jsx45(
|
|
3304
3770
|
"div",
|
|
3305
3771
|
{
|
|
3306
3772
|
"aria-hidden": "true",
|
|
@@ -3311,7 +3777,7 @@ function WorkspaceRow({
|
|
|
3311
3777
|
}
|
|
3312
3778
|
}
|
|
3313
3779
|
),
|
|
3314
|
-
/* @__PURE__ */
|
|
3780
|
+
/* @__PURE__ */ jsx45("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs37(
|
|
3315
3781
|
"div",
|
|
3316
3782
|
{
|
|
3317
3783
|
className: "flex items-center w-full",
|
|
@@ -3320,20 +3786,20 @@ function WorkspaceRow({
|
|
|
3320
3786
|
padding: "var(--spacing-6xl)"
|
|
3321
3787
|
},
|
|
3322
3788
|
children: [
|
|
3323
|
-
/* @__PURE__ */
|
|
3789
|
+
/* @__PURE__ */ jsxs37(
|
|
3324
3790
|
"div",
|
|
3325
3791
|
{
|
|
3326
3792
|
className: "flex flex-1 items-center min-w-0",
|
|
3327
3793
|
style: { gap: "var(--spacing-xl)" },
|
|
3328
3794
|
children: [
|
|
3329
|
-
/* @__PURE__ */
|
|
3795
|
+
/* @__PURE__ */ jsx45(
|
|
3330
3796
|
ScIntialProfileCover,
|
|
3331
3797
|
{
|
|
3332
3798
|
intial: workspace.initials || deriveInitials(workspace.name),
|
|
3333
3799
|
className: "shrink-0"
|
|
3334
3800
|
}
|
|
3335
3801
|
),
|
|
3336
|
-
/* @__PURE__ */
|
|
3802
|
+
/* @__PURE__ */ jsx45(
|
|
3337
3803
|
"p",
|
|
3338
3804
|
{
|
|
3339
3805
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis",
|
|
@@ -3353,7 +3819,7 @@ function WorkspaceRow({
|
|
|
3353
3819
|
]
|
|
3354
3820
|
}
|
|
3355
3821
|
),
|
|
3356
|
-
/* @__PURE__ */
|
|
3822
|
+
/* @__PURE__ */ jsxs37(
|
|
3357
3823
|
"div",
|
|
3358
3824
|
{
|
|
3359
3825
|
className: "flex items-center justify-center shrink-0",
|
|
@@ -3362,7 +3828,7 @@ function WorkspaceRow({
|
|
|
3362
3828
|
padding: "0 var(--spacing-3xl)"
|
|
3363
3829
|
},
|
|
3364
3830
|
children: [
|
|
3365
|
-
/* @__PURE__ */
|
|
3831
|
+
/* @__PURE__ */ jsx45(
|
|
3366
3832
|
ScRole,
|
|
3367
3833
|
{
|
|
3368
3834
|
type: normalizeRole(workspace.role),
|
|
@@ -3370,23 +3836,23 @@ function WorkspaceRow({
|
|
|
3370
3836
|
style: { width: 80 }
|
|
3371
3837
|
}
|
|
3372
3838
|
),
|
|
3373
|
-
/* @__PURE__ */
|
|
3839
|
+
/* @__PURE__ */ jsx45("div", { className: "flex flex-row items-center self-stretch", children: /* @__PURE__ */ jsxs37(
|
|
3374
3840
|
"div",
|
|
3375
3841
|
{
|
|
3376
3842
|
className: "flex items-center shrink-0",
|
|
3377
3843
|
style: { gap: "var(--spacing-3xl)" },
|
|
3378
3844
|
children: [
|
|
3379
|
-
/* @__PURE__ */
|
|
3845
|
+
/* @__PURE__ */ jsx45("div", { style: { width: 120, flexShrink: 0 }, children: /* @__PURE__ */ jsx45(
|
|
3380
3846
|
ScPairtext,
|
|
3381
3847
|
{
|
|
3382
|
-
icon: /* @__PURE__ */
|
|
3848
|
+
icon: /* @__PURE__ */ jsx45(SiconTeam4, { className: "w-6 h-6", color: PRIMARY_ICON }),
|
|
3383
3849
|
content: workspace.userCount || "\u2013",
|
|
3384
3850
|
iconPosition: "left",
|
|
3385
3851
|
type: "icon"
|
|
3386
3852
|
}
|
|
3387
3853
|
) }),
|
|
3388
|
-
/* @__PURE__ */
|
|
3389
|
-
/* @__PURE__ */
|
|
3854
|
+
/* @__PURE__ */ jsx45(ScVDivider, {}),
|
|
3855
|
+
/* @__PURE__ */ jsxs37(
|
|
3390
3856
|
"div",
|
|
3391
3857
|
{
|
|
3392
3858
|
className: "flex items-center",
|
|
@@ -3396,14 +3862,14 @@ function WorkspaceRow({
|
|
|
3396
3862
|
gap: "var(--spacing-md)"
|
|
3397
3863
|
},
|
|
3398
3864
|
children: [
|
|
3399
|
-
/* @__PURE__ */
|
|
3865
|
+
/* @__PURE__ */ jsx45(
|
|
3400
3866
|
SiconCrown,
|
|
3401
3867
|
{
|
|
3402
3868
|
className: "w-6 h-6 shrink-0",
|
|
3403
3869
|
color: PRIMARY_ICON
|
|
3404
3870
|
}
|
|
3405
3871
|
),
|
|
3406
|
-
/* @__PURE__ */
|
|
3872
|
+
/* @__PURE__ */ jsx45(
|
|
3407
3873
|
"span",
|
|
3408
3874
|
{
|
|
3409
3875
|
className: "truncate",
|
|
@@ -3425,7 +3891,7 @@ function WorkspaceRow({
|
|
|
3425
3891
|
]
|
|
3426
3892
|
}
|
|
3427
3893
|
),
|
|
3428
|
-
workspace.isCurrent ? /* @__PURE__ */
|
|
3894
|
+
workspace.isCurrent ? /* @__PURE__ */ jsx45(
|
|
3429
3895
|
ScButton,
|
|
3430
3896
|
{
|
|
3431
3897
|
text: currentWorkspaceText,
|
|
@@ -3434,14 +3900,14 @@ function WorkspaceRow({
|
|
|
3434
3900
|
size: "lg",
|
|
3435
3901
|
style: { width: 200, flexShrink: 0, opacity: 0.5 }
|
|
3436
3902
|
}
|
|
3437
|
-
) : /* @__PURE__ */
|
|
3903
|
+
) : /* @__PURE__ */ jsx45(
|
|
3438
3904
|
ScButton,
|
|
3439
3905
|
{
|
|
3440
3906
|
text: switchWorkspaceText,
|
|
3441
3907
|
variant: "secondary",
|
|
3442
3908
|
size: "lg",
|
|
3443
3909
|
styleVariant: "icon-left",
|
|
3444
|
-
icon: /* @__PURE__ */
|
|
3910
|
+
icon: /* @__PURE__ */ jsx45(SiconSwitch, { className: "w-5 h-5", color: PRIMARY_ICON }),
|
|
3445
3911
|
style: { width: 200, flexShrink: 0 },
|
|
3446
3912
|
onClick: onSwitch
|
|
3447
3913
|
}
|
|
@@ -3475,7 +3941,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3475
3941
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
3476
3942
|
}, [open, onClose]);
|
|
3477
3943
|
if (!open) return null;
|
|
3478
|
-
return /* @__PURE__ */
|
|
3944
|
+
return /* @__PURE__ */ jsx45(
|
|
3479
3945
|
"div",
|
|
3480
3946
|
{
|
|
3481
3947
|
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
@@ -3483,7 +3949,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3483
3949
|
onClick: (e) => {
|
|
3484
3950
|
if (e.target === e.currentTarget) onClose();
|
|
3485
3951
|
},
|
|
3486
|
-
children: /* @__PURE__ */
|
|
3952
|
+
children: /* @__PURE__ */ jsxs37(
|
|
3487
3953
|
"div",
|
|
3488
3954
|
{
|
|
3489
3955
|
ref: modalRef,
|
|
@@ -3496,14 +3962,14 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3496
3962
|
height: "60vh"
|
|
3497
3963
|
},
|
|
3498
3964
|
children: [
|
|
3499
|
-
/* @__PURE__ */
|
|
3965
|
+
/* @__PURE__ */ jsx45(
|
|
3500
3966
|
"div",
|
|
3501
3967
|
{
|
|
3502
3968
|
className: "shrink-0 w-full relative",
|
|
3503
3969
|
style: {
|
|
3504
3970
|
borderBottom: "1px solid var(--alias-border-divider)"
|
|
3505
3971
|
},
|
|
3506
|
-
children: /* @__PURE__ */
|
|
3972
|
+
children: /* @__PURE__ */ jsx45("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs37(
|
|
3507
3973
|
"div",
|
|
3508
3974
|
{
|
|
3509
3975
|
className: "flex items-center w-full",
|
|
@@ -3512,7 +3978,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3512
3978
|
padding: "var(--spacing-3xl) var(--spacing-6xl)"
|
|
3513
3979
|
},
|
|
3514
3980
|
children: [
|
|
3515
|
-
/* @__PURE__ */
|
|
3981
|
+
/* @__PURE__ */ jsx45(
|
|
3516
3982
|
"p",
|
|
3517
3983
|
{
|
|
3518
3984
|
className: "flex-1 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
@@ -3526,20 +3992,20 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3526
3992
|
children: title
|
|
3527
3993
|
}
|
|
3528
3994
|
),
|
|
3529
|
-
/* @__PURE__ */
|
|
3995
|
+
/* @__PURE__ */ jsx45("div", { className: "shrink-0 cursor-pointer", onClick: onClose, children: /* @__PURE__ */ jsx45(SiconClose2, { className: "w-6 h-6", color: PRIMARY_ICON }) })
|
|
3530
3996
|
]
|
|
3531
3997
|
}
|
|
3532
3998
|
) })
|
|
3533
3999
|
}
|
|
3534
4000
|
),
|
|
3535
|
-
/* @__PURE__ */
|
|
4001
|
+
/* @__PURE__ */ jsx45(
|
|
3536
4002
|
"div",
|
|
3537
4003
|
{
|
|
3538
4004
|
className: "flex-1 min-h-0 w-full overflow-y-auto",
|
|
3539
4005
|
style: {
|
|
3540
4006
|
borderRadius: "0 0 var(--radius-4xl) var(--radius-4xl)"
|
|
3541
4007
|
},
|
|
3542
|
-
children: /* @__PURE__ */
|
|
4008
|
+
children: /* @__PURE__ */ jsxs37(
|
|
3543
4009
|
"div",
|
|
3544
4010
|
{
|
|
3545
4011
|
className: "flex flex-col items-start",
|
|
@@ -3548,7 +4014,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3548
4014
|
gap: "var(--spacing-3xl)"
|
|
3549
4015
|
},
|
|
3550
4016
|
children: [
|
|
3551
|
-
loading && workspaces.length === 0 ? /* @__PURE__ */
|
|
4017
|
+
loading && workspaces.length === 0 ? /* @__PURE__ */ jsx45(
|
|
3552
4018
|
"p",
|
|
3553
4019
|
{
|
|
3554
4020
|
style: {
|
|
@@ -3559,7 +4025,7 @@ function StreamoidWorkspaceSwitcher({
|
|
|
3559
4025
|
children: loadingText
|
|
3560
4026
|
}
|
|
3561
4027
|
) : null,
|
|
3562
|
-
workspaces.map((ws) => /* @__PURE__ */
|
|
4028
|
+
workspaces.map((ws) => /* @__PURE__ */ jsx45(
|
|
3563
4029
|
WorkspaceRow,
|
|
3564
4030
|
{
|
|
3565
4031
|
workspace: ws,
|
|
@@ -3598,23 +4064,23 @@ var ScAppListingCard_default = {
|
|
|
3598
4064
|
|
|
3599
4065
|
// src/SC-app listing card/ScAppListingCard.tsx
|
|
3600
4066
|
import { SiconCart } from "@streamoid/icons";
|
|
3601
|
-
import { jsx as
|
|
4067
|
+
import { jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3602
4068
|
var ScAppListingCard = ({
|
|
3603
|
-
icon = /* @__PURE__ */
|
|
4069
|
+
icon = /* @__PURE__ */ jsx46(SiconCart, { className: ScAppListingCard_default.siconCartInstance }),
|
|
3604
4070
|
title = "Stores",
|
|
3605
4071
|
descrp = "Centralized product and asset management for every storefront",
|
|
3606
4072
|
className,
|
|
3607
4073
|
...props
|
|
3608
4074
|
}) => {
|
|
3609
|
-
return /* @__PURE__ */
|
|
3610
|
-
/* @__PURE__ */
|
|
3611
|
-
/* @__PURE__ */
|
|
3612
|
-
/* @__PURE__ */
|
|
4075
|
+
return /* @__PURE__ */ jsxs38("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
|
|
4076
|
+
/* @__PURE__ */ jsxs38("div", { className: ScAppListingCard_default.header, children: [
|
|
4077
|
+
/* @__PURE__ */ jsx46("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
|
|
4078
|
+
/* @__PURE__ */ jsxs38("div", { className: ScAppListingCard_default.title, children: [
|
|
3613
4079
|
title,
|
|
3614
4080
|
" "
|
|
3615
4081
|
] })
|
|
3616
4082
|
] }),
|
|
3617
|
-
/* @__PURE__ */
|
|
4083
|
+
/* @__PURE__ */ jsxs38("div", { className: ScAppListingCard_default.description, children: [
|
|
3618
4084
|
descrp,
|
|
3619
4085
|
" "
|
|
3620
4086
|
] })
|
|
@@ -3632,22 +4098,22 @@ var ScAppCard_default = {
|
|
|
3632
4098
|
|
|
3633
4099
|
// src/SC-appCard/ScAppCard.tsx
|
|
3634
4100
|
import { SiconArtifacts as SiconArtifacts2 } from "@streamoid/icons";
|
|
3635
|
-
import { jsx as
|
|
4101
|
+
import { jsx as jsx47, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
3636
4102
|
var ScAppCard = ({
|
|
3637
|
-
appIcon = /* @__PURE__ */
|
|
4103
|
+
appIcon = /* @__PURE__ */ jsx47(SiconArtifacts2, { className: ScAppCard_default.siconArtifactsInstance }),
|
|
3638
4104
|
appName = "Artifax",
|
|
3639
4105
|
appDescription = "Info about artifax",
|
|
3640
4106
|
className,
|
|
3641
4107
|
...props
|
|
3642
4108
|
}) => {
|
|
3643
|
-
return /* @__PURE__ */
|
|
3644
|
-
/* @__PURE__ */
|
|
3645
|
-
/* @__PURE__ */
|
|
3646
|
-
/* @__PURE__ */
|
|
4109
|
+
return /* @__PURE__ */ jsxs39("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
|
|
4110
|
+
/* @__PURE__ */ jsx47("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
|
|
4111
|
+
/* @__PURE__ */ jsxs39("div", { className: ScAppCard_default.textContainer, children: [
|
|
4112
|
+
/* @__PURE__ */ jsxs39("div", { className: ScAppCard_default.title, children: [
|
|
3647
4113
|
appName,
|
|
3648
4114
|
" "
|
|
3649
4115
|
] }),
|
|
3650
|
-
/* @__PURE__ */
|
|
4116
|
+
/* @__PURE__ */ jsxs39("div", { className: ScAppCard_default.subtitle, children: [
|
|
3651
4117
|
appDescription,
|
|
3652
4118
|
" "
|
|
3653
4119
|
] })
|
|
@@ -3674,9 +4140,9 @@ var ScAppCardV3_default = {
|
|
|
3674
4140
|
|
|
3675
4141
|
// src/SC-AppCardV3/ScAppCardV3.tsx
|
|
3676
4142
|
import { SiconCart as SiconCart2 } from "@streamoid/icons";
|
|
3677
|
-
import { jsx as
|
|
4143
|
+
import { jsx as jsx48, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
3678
4144
|
var ScAppCardV3 = ({
|
|
3679
|
-
appIcon = /* @__PURE__ */
|
|
4145
|
+
appIcon = /* @__PURE__ */ jsx48(SiconCart2, { className: ScAppCardV3_default.iconPillIcon }),
|
|
3680
4146
|
appName = "Stores",
|
|
3681
4147
|
description = "Centralized product and asset management for every storefront",
|
|
3682
4148
|
active = false,
|
|
@@ -3688,25 +4154,25 @@ var ScAppCardV3 = ({
|
|
|
3688
4154
|
ScAppCardV3_default.scAppCardV3,
|
|
3689
4155
|
active ? ScAppCardV3_default.scAppCardV3Active : ""
|
|
3690
4156
|
].filter(Boolean).join(" ");
|
|
3691
|
-
return /* @__PURE__ */
|
|
4157
|
+
return /* @__PURE__ */ jsx48(
|
|
3692
4158
|
"div",
|
|
3693
4159
|
{
|
|
3694
4160
|
className: [ScAppCardV3_default.cardBorder, className || ""].filter(Boolean).join(" "),
|
|
3695
4161
|
style,
|
|
3696
4162
|
...props,
|
|
3697
|
-
children: /* @__PURE__ */
|
|
3698
|
-
/* @__PURE__ */
|
|
3699
|
-
/* @__PURE__ */
|
|
3700
|
-
/* @__PURE__ */
|
|
3701
|
-
/* @__PURE__ */
|
|
3702
|
-
/* @__PURE__ */
|
|
3703
|
-
/* @__PURE__ */
|
|
3704
|
-
/* @__PURE__ */
|
|
3705
|
-
/* @__PURE__ */
|
|
3706
|
-
/* @__PURE__ */
|
|
4163
|
+
children: /* @__PURE__ */ jsxs40("div", { className: cardClass, children: [
|
|
4164
|
+
/* @__PURE__ */ jsx48("div", { className: ScAppCardV3_default.glow }),
|
|
4165
|
+
/* @__PURE__ */ jsx48("div", { className: ScAppCardV3_default.glowHover }),
|
|
4166
|
+
/* @__PURE__ */ jsxs40("div", { className: ScAppCardV3_default.header, children: [
|
|
4167
|
+
/* @__PURE__ */ jsxs40("div", { className: ScAppCardV3_default.iconRow, children: [
|
|
4168
|
+
/* @__PURE__ */ jsx48("p", { className: ScAppCardV3_default.appName, children: appName }),
|
|
4169
|
+
/* @__PURE__ */ jsxs40("div", { className: ScAppCardV3_default.iconPill, children: [
|
|
4170
|
+
/* @__PURE__ */ jsx48("div", { className: ScAppCardV3_default.iconPillBg }),
|
|
4171
|
+
/* @__PURE__ */ jsx48("div", { className: ScAppCardV3_default.iconPillIcon, children: appIcon }),
|
|
4172
|
+
/* @__PURE__ */ jsx48("div", { className: ScAppCardV3_default.iconPillShadow })
|
|
3707
4173
|
] })
|
|
3708
4174
|
] }),
|
|
3709
|
-
/* @__PURE__ */
|
|
4175
|
+
/* @__PURE__ */ jsx48("p", { className: ScAppCardV3_default.description, children: description })
|
|
3710
4176
|
] })
|
|
3711
4177
|
] })
|
|
3712
4178
|
}
|
|
@@ -3744,7 +4210,7 @@ var ScToggleSwitch_default = {
|
|
|
3744
4210
|
};
|
|
3745
4211
|
|
|
3746
4212
|
// src/SC-toggleSwitch/ScToggleSwitch.tsx
|
|
3747
|
-
import { jsx as
|
|
4213
|
+
import { jsx as jsx49, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3748
4214
|
var ScToggleSwitch = ({
|
|
3749
4215
|
active = "false",
|
|
3750
4216
|
checked,
|
|
@@ -3754,7 +4220,7 @@ var ScToggleSwitch = ({
|
|
|
3754
4220
|
}) => {
|
|
3755
4221
|
const isActive = checked !== void 0 ? checked : active === "true";
|
|
3756
4222
|
const variantsClassName = ScToggleSwitch_default["active-" + (isActive ? "true" : "false")];
|
|
3757
|
-
return /* @__PURE__ */
|
|
4223
|
+
return /* @__PURE__ */ jsx49(
|
|
3758
4224
|
"div",
|
|
3759
4225
|
{
|
|
3760
4226
|
className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
|
|
@@ -3764,20 +4230,20 @@ var ScToggleSwitch = ({
|
|
|
3764
4230
|
props.onClick?.(e);
|
|
3765
4231
|
},
|
|
3766
4232
|
style: { cursor: "pointer", ...props.style },
|
|
3767
|
-
children: isActive ? /* @__PURE__ */
|
|
3768
|
-
/* @__PURE__ */
|
|
3769
|
-
/* @__PURE__ */
|
|
3770
|
-
] }) : /* @__PURE__ */
|
|
3771
|
-
/* @__PURE__ */
|
|
3772
|
-
/* @__PURE__ */
|
|
3773
|
-
/* @__PURE__ */
|
|
4233
|
+
children: isActive ? /* @__PURE__ */ jsxs41("svg", { width: "40", height: "24", viewBox: "0 0 40 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4234
|
+
/* @__PURE__ */ jsx49("rect", { width: "40", height: "24", rx: "12", fill: "var(--alias-fill-base-base, #f5f5f5)" }),
|
|
4235
|
+
/* @__PURE__ */ jsx49("circle", { cx: "28", cy: "12", r: "10", fill: "var(--alias-text---icons-inverse, #101010)" })
|
|
4236
|
+
] }) : /* @__PURE__ */ jsxs41("svg", { width: "41", height: "25", viewBox: "0 0 41 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4237
|
+
/* @__PURE__ */ jsx49("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)" }),
|
|
4238
|
+
/* @__PURE__ */ jsx49("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)" }),
|
|
4239
|
+
/* @__PURE__ */ jsx49("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)" })
|
|
3774
4240
|
] })
|
|
3775
4241
|
}
|
|
3776
4242
|
);
|
|
3777
4243
|
};
|
|
3778
4244
|
|
|
3779
4245
|
// src/SC-artifaxInvite/ScArtifaxInvite.tsx
|
|
3780
|
-
import { jsx as
|
|
4246
|
+
import { jsx as jsx50, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3781
4247
|
var ScArtifaxInvite = ({
|
|
3782
4248
|
active = "true",
|
|
3783
4249
|
appName = "Artifax",
|
|
@@ -3790,22 +4256,22 @@ var ScArtifaxInvite = ({
|
|
|
3790
4256
|
}) => {
|
|
3791
4257
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3792
4258
|
const variantsClassName = ScArtifaxInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3793
|
-
return /* @__PURE__ */
|
|
4259
|
+
return /* @__PURE__ */ jsxs42(
|
|
3794
4260
|
"div",
|
|
3795
4261
|
{
|
|
3796
4262
|
className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
|
|
3797
4263
|
...props,
|
|
3798
4264
|
children: [
|
|
3799
|
-
/* @__PURE__ */
|
|
4265
|
+
/* @__PURE__ */ jsx50(
|
|
3800
4266
|
ScAppCard,
|
|
3801
4267
|
{
|
|
3802
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
4268
|
+
appIcon: appIcon || /* @__PURE__ */ jsx50(SiconArtifacts3, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
|
|
3803
4269
|
appName,
|
|
3804
4270
|
appDescription,
|
|
3805
4271
|
className: ScArtifaxInvite_default.scAppCardInstance
|
|
3806
4272
|
}
|
|
3807
4273
|
),
|
|
3808
|
-
/* @__PURE__ */
|
|
4274
|
+
/* @__PURE__ */ jsx50(
|
|
3809
4275
|
ScToggleSwitch,
|
|
3810
4276
|
{
|
|
3811
4277
|
checked: isEnabled,
|
|
@@ -3831,12 +4297,12 @@ var ScPhtogenixInvite_default = {
|
|
|
3831
4297
|
|
|
3832
4298
|
// src/SC-phtogenixInvite/ScPhtogenixInvite.tsx
|
|
3833
4299
|
import { SiconArtifacts as SiconArtifacts4 } from "@streamoid/icons";
|
|
3834
|
-
import { jsx as
|
|
4300
|
+
import { jsx as jsx51, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3835
4301
|
var ScPhtogenixInvite = ({
|
|
3836
4302
|
active = "true",
|
|
3837
4303
|
scAppCardappDescription = "Info about photogenix",
|
|
3838
4304
|
scAppCardappName = "Photogenix",
|
|
3839
|
-
scAppCardappIcon = /* @__PURE__ */
|
|
4305
|
+
scAppCardappIcon = /* @__PURE__ */ jsx51(SiconArtifacts4, { className: ScPhtogenixInvite_default.siconArtifactsInstance }),
|
|
3840
4306
|
className,
|
|
3841
4307
|
enabled,
|
|
3842
4308
|
onToggle,
|
|
@@ -3844,12 +4310,12 @@ var ScPhtogenixInvite = ({
|
|
|
3844
4310
|
}) => {
|
|
3845
4311
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3846
4312
|
const variantsClassName = ScPhtogenixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3847
|
-
return /* @__PURE__ */
|
|
4313
|
+
return /* @__PURE__ */ jsxs43(
|
|
3848
4314
|
"div",
|
|
3849
4315
|
{
|
|
3850
4316
|
className: ScPhtogenixInvite_default.scPhtogenixInvite + " " + className + " " + variantsClassName,
|
|
3851
4317
|
children: [
|
|
3852
|
-
/* @__PURE__ */
|
|
4318
|
+
/* @__PURE__ */ jsx51(
|
|
3853
4319
|
ScAppCard,
|
|
3854
4320
|
{
|
|
3855
4321
|
appIcon: scAppCardappIcon,
|
|
@@ -3858,7 +4324,7 @@ var ScPhtogenixInvite = ({
|
|
|
3858
4324
|
className: ScPhtogenixInvite_default.scAppCardInstance
|
|
3859
4325
|
}
|
|
3860
4326
|
),
|
|
3861
|
-
/* @__PURE__ */
|
|
4327
|
+
/* @__PURE__ */ jsx51(
|
|
3862
4328
|
ScToggleSwitch,
|
|
3863
4329
|
{
|
|
3864
4330
|
checked: isEnabled,
|
|
@@ -3908,10 +4374,10 @@ var ScOnlyField_default = {
|
|
|
3908
4374
|
|
|
3909
4375
|
// src/SC-onlyField/ScOnlyField.tsx
|
|
3910
4376
|
import { SiconBolt as SiconBolt4 } from "@streamoid/icons";
|
|
3911
|
-
import { jsx as
|
|
4377
|
+
import { jsx as jsx52, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3912
4378
|
var ScOnlyField = ({
|
|
3913
|
-
tfRightIcon = /* @__PURE__ */
|
|
3914
|
-
tfLeftIcon = /* @__PURE__ */
|
|
4379
|
+
tfRightIcon = /* @__PURE__ */ jsx52(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
4380
|
+
tfLeftIcon = /* @__PURE__ */ jsx52(SiconBolt4, { className: ScOnlyField_default.siconBoltInstance }),
|
|
3915
4381
|
state = "default",
|
|
3916
4382
|
tfGroup = "icon-right",
|
|
3917
4383
|
labelGroup = "none",
|
|
@@ -3924,14 +4390,14 @@ var ScOnlyField = ({
|
|
|
3924
4390
|
...props
|
|
3925
4391
|
}) => {
|
|
3926
4392
|
const variantsClassName = ScOnlyField_default["state-" + state] + " " + ScOnlyField_default["tf-group-" + tfGroup] + " " + ScOnlyField_default["label-group-" + labelGroup] + (size !== "default" ? " " + ScOnlyField_default["size-" + size] : "");
|
|
3927
|
-
return /* @__PURE__ */
|
|
4393
|
+
return /* @__PURE__ */ jsx52(
|
|
3928
4394
|
"div",
|
|
3929
4395
|
{
|
|
3930
4396
|
className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
|
|
3931
4397
|
...props,
|
|
3932
|
-
children: /* @__PURE__ */
|
|
3933
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
3934
|
-
/* @__PURE__ */
|
|
4398
|
+
children: /* @__PURE__ */ jsxs44("div", { className: ScOnlyField_default.inputContainer, children: [
|
|
4399
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx52("div", { className: ScOnlyField_default.iconWrapper, children: tfLeftIcon }),
|
|
4400
|
+
/* @__PURE__ */ jsx52(
|
|
3935
4401
|
"input",
|
|
3936
4402
|
{
|
|
3937
4403
|
className: ScOnlyField_default.inputText,
|
|
@@ -3951,7 +4417,7 @@ var ScOnlyField = ({
|
|
|
3951
4417
|
...inputProps
|
|
3952
4418
|
}
|
|
3953
4419
|
),
|
|
3954
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */
|
|
4420
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx52("div", { className: ScOnlyField_default.iconWrapper, children: tfRightIcon })
|
|
3955
4421
|
] })
|
|
3956
4422
|
}
|
|
3957
4423
|
);
|
|
@@ -3959,7 +4425,7 @@ var ScOnlyField = ({
|
|
|
3959
4425
|
|
|
3960
4426
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
3961
4427
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
3962
|
-
import { Fragment as
|
|
4428
|
+
import { Fragment as Fragment16, jsx as jsx53, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3963
4429
|
var ScCatalogixInvite = ({
|
|
3964
4430
|
active = "false",
|
|
3965
4431
|
appName = "Catalogix",
|
|
@@ -3981,23 +4447,23 @@ var ScCatalogixInvite = ({
|
|
|
3981
4447
|
const isEnabled = enabled !== void 0 ? enabled : active === "true";
|
|
3982
4448
|
const variantsClassName = ScCatalogixInvite_default["active-" + (isEnabled ? "true" : "false")];
|
|
3983
4449
|
const displayCount = selectedStores ? `${selectedStores.length} Selected` : selectedCount;
|
|
3984
|
-
return /* @__PURE__ */
|
|
4450
|
+
return /* @__PURE__ */ jsxs45(
|
|
3985
4451
|
"div",
|
|
3986
4452
|
{
|
|
3987
4453
|
className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
|
|
3988
4454
|
...props,
|
|
3989
4455
|
children: [
|
|
3990
|
-
/* @__PURE__ */
|
|
3991
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsxs45("div", { className: ScCatalogixInvite_default.appHeader, children: [
|
|
4457
|
+
/* @__PURE__ */ jsx53(
|
|
3992
4458
|
ScAppCard,
|
|
3993
4459
|
{
|
|
3994
|
-
appIcon: appIcon || /* @__PURE__ */
|
|
4460
|
+
appIcon: appIcon || /* @__PURE__ */ jsx53(SiconArtifacts5, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
|
|
3995
4461
|
appDescription,
|
|
3996
4462
|
appName,
|
|
3997
4463
|
className: ScCatalogixInvite_default.scAppCardInstance
|
|
3998
4464
|
}
|
|
3999
4465
|
),
|
|
4000
|
-
/* @__PURE__ */
|
|
4466
|
+
/* @__PURE__ */ jsx53(
|
|
4001
4467
|
ScToggleSwitch,
|
|
4002
4468
|
{
|
|
4003
4469
|
checked: isEnabled,
|
|
@@ -4006,29 +4472,29 @@ var ScCatalogixInvite = ({
|
|
|
4006
4472
|
}
|
|
4007
4473
|
)
|
|
4008
4474
|
] }),
|
|
4009
|
-
isEnabled && /* @__PURE__ */
|
|
4010
|
-
/* @__PURE__ */
|
|
4011
|
-
/* @__PURE__ */
|
|
4475
|
+
isEnabled && /* @__PURE__ */ jsx53(Fragment16, { children: /* @__PURE__ */ jsxs45("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
4476
|
+
/* @__PURE__ */ jsxs45("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
4477
|
+
/* @__PURE__ */ jsxs45("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
4012
4478
|
storeAccessTitle,
|
|
4013
4479
|
" "
|
|
4014
4480
|
] }),
|
|
4015
|
-
/* @__PURE__ */
|
|
4481
|
+
/* @__PURE__ */ jsxs45("div", { className: ScCatalogixInvite_default.selectedCount, children: [
|
|
4016
4482
|
displayCount,
|
|
4017
4483
|
" "
|
|
4018
4484
|
] })
|
|
4019
4485
|
] }),
|
|
4020
|
-
/* @__PURE__ */
|
|
4486
|
+
/* @__PURE__ */ jsx53(
|
|
4021
4487
|
ScOnlyField,
|
|
4022
4488
|
{
|
|
4023
|
-
tfLeftIcon: /* @__PURE__ */
|
|
4024
|
-
tfRightIcon: /* @__PURE__ */
|
|
4489
|
+
tfLeftIcon: /* @__PURE__ */ jsx53(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4490
|
+
tfRightIcon: /* @__PURE__ */ jsx53(SiconSearch, { className: ScCatalogixInvite_default.siconSearchInstance }),
|
|
4025
4491
|
placeholderFilled: searchPlaceholder,
|
|
4026
4492
|
value: searchValue,
|
|
4027
4493
|
onInputChange: onSearchChange,
|
|
4028
4494
|
className: ScCatalogixInvite_default.scOnlyFieldInstance
|
|
4029
4495
|
}
|
|
4030
4496
|
),
|
|
4031
|
-
/* @__PURE__ */
|
|
4497
|
+
/* @__PURE__ */ jsx53("div", { className: ScCatalogixInvite_default.storeListContainer, children: stores ? stores.length > 0 ? stores.map((store) => /* @__PURE__ */ jsx53(
|
|
4032
4498
|
ScPairtext,
|
|
4033
4499
|
{
|
|
4034
4500
|
content: store.name,
|
|
@@ -4039,53 +4505,53 @@ var ScCatalogixInvite = ({
|
|
|
4039
4505
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4040
4506
|
},
|
|
4041
4507
|
store.id
|
|
4042
|
-
)) : /* @__PURE__ */
|
|
4508
|
+
)) : /* @__PURE__ */ jsx53("div", { style: {
|
|
4043
4509
|
padding: "var(--spacing-3xl, 16px)",
|
|
4044
4510
|
color: "var(--alias-text-and-icons-muted, #7a7a7a)",
|
|
4045
4511
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
4046
4512
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
4047
4513
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
4048
|
-
}, children: "No stores found" }) : /* @__PURE__ */
|
|
4049
|
-
/* @__PURE__ */
|
|
4514
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs45(Fragment16, { children: [
|
|
4515
|
+
/* @__PURE__ */ jsx53(
|
|
4050
4516
|
ScPairtext,
|
|
4051
4517
|
{
|
|
4052
|
-
icon: /* @__PURE__ */
|
|
4518
|
+
icon: /* @__PURE__ */ jsx53(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4053
4519
|
iconPosition: "right",
|
|
4054
4520
|
type: "checkbox",
|
|
4055
4521
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4056
4522
|
}
|
|
4057
4523
|
),
|
|
4058
|
-
/* @__PURE__ */
|
|
4524
|
+
/* @__PURE__ */ jsx53(
|
|
4059
4525
|
ScPairtext,
|
|
4060
4526
|
{
|
|
4061
|
-
icon: /* @__PURE__ */
|
|
4527
|
+
icon: /* @__PURE__ */ jsx53(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4062
4528
|
iconPosition: "right",
|
|
4063
4529
|
type: "checkbox",
|
|
4064
4530
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4065
4531
|
}
|
|
4066
4532
|
),
|
|
4067
|
-
/* @__PURE__ */
|
|
4533
|
+
/* @__PURE__ */ jsx53(
|
|
4068
4534
|
ScPairtext,
|
|
4069
4535
|
{
|
|
4070
|
-
icon: /* @__PURE__ */
|
|
4536
|
+
icon: /* @__PURE__ */ jsx53(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4071
4537
|
iconPosition: "right",
|
|
4072
4538
|
type: "checkbox",
|
|
4073
4539
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4074
4540
|
}
|
|
4075
4541
|
),
|
|
4076
|
-
/* @__PURE__ */
|
|
4542
|
+
/* @__PURE__ */ jsx53(
|
|
4077
4543
|
ScPairtext,
|
|
4078
4544
|
{
|
|
4079
|
-
icon: /* @__PURE__ */
|
|
4545
|
+
icon: /* @__PURE__ */ jsx53(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4080
4546
|
iconPosition: "right",
|
|
4081
4547
|
type: "checkbox",
|
|
4082
4548
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
4083
4549
|
}
|
|
4084
4550
|
),
|
|
4085
|
-
/* @__PURE__ */
|
|
4551
|
+
/* @__PURE__ */ jsx53(
|
|
4086
4552
|
ScPairtext,
|
|
4087
4553
|
{
|
|
4088
|
-
icon: /* @__PURE__ */
|
|
4554
|
+
icon: /* @__PURE__ */ jsx53(SiconHome10, { className: ScCatalogixInvite_default.siconHomeInstance }),
|
|
4089
4555
|
iconPosition: "right",
|
|
4090
4556
|
type: "checkbox",
|
|
4091
4557
|
className: ScCatalogixInvite_default.scPairtextInstance
|
|
@@ -4099,7 +4565,7 @@ var ScCatalogixInvite = ({
|
|
|
4099
4565
|
};
|
|
4100
4566
|
|
|
4101
4567
|
// src/SC-appField/ScAppField.tsx
|
|
4102
|
-
import { jsx as
|
|
4568
|
+
import { jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
4103
4569
|
var ScAppField = ({
|
|
4104
4570
|
appFieldTitle = "App permission",
|
|
4105
4571
|
className,
|
|
@@ -4116,13 +4582,13 @@ var ScAppField = ({
|
|
|
4116
4582
|
onCatalogixSearchChange,
|
|
4117
4583
|
...props
|
|
4118
4584
|
}) => {
|
|
4119
|
-
return /* @__PURE__ */
|
|
4120
|
-
/* @__PURE__ */
|
|
4585
|
+
return /* @__PURE__ */ jsxs46("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
|
|
4586
|
+
/* @__PURE__ */ jsx54("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ jsxs46("div", { className: ScAppField_default.title, children: [
|
|
4121
4587
|
appFieldTitle,
|
|
4122
4588
|
" "
|
|
4123
4589
|
] }) }),
|
|
4124
|
-
/* @__PURE__ */
|
|
4125
|
-
/* @__PURE__ */
|
|
4590
|
+
/* @__PURE__ */ jsxs46("div", { className: ScAppField_default.inputContainer, children: [
|
|
4591
|
+
/* @__PURE__ */ jsx54(
|
|
4126
4592
|
ScArtifaxInvite,
|
|
4127
4593
|
{
|
|
4128
4594
|
enabled: artifaxEnabled,
|
|
@@ -4130,18 +4596,18 @@ var ScAppField = ({
|
|
|
4130
4596
|
className: ScAppField_default.scArtifaxInviteInstance
|
|
4131
4597
|
}
|
|
4132
4598
|
),
|
|
4133
|
-
/* @__PURE__ */
|
|
4599
|
+
/* @__PURE__ */ jsx54(
|
|
4134
4600
|
ScPhtogenixInvite,
|
|
4135
4601
|
{
|
|
4136
4602
|
enabled: photogenixEnabled,
|
|
4137
4603
|
onToggle: onPhotogenixToggle,
|
|
4138
4604
|
scAppCardappDescription: "Info about photogenix",
|
|
4139
4605
|
scAppCardappName: "Photogenix",
|
|
4140
|
-
scAppCardappIcon: /* @__PURE__ */
|
|
4606
|
+
scAppCardappIcon: /* @__PURE__ */ jsx54(SiconPhotogenix2, { className: ScAppField_default.siconPhotogenixInstance }),
|
|
4141
4607
|
className: ScAppField_default.scPhtogenixInviteInstance
|
|
4142
4608
|
}
|
|
4143
4609
|
),
|
|
4144
|
-
/* @__PURE__ */
|
|
4610
|
+
/* @__PURE__ */ jsx54(
|
|
4145
4611
|
ScCatalogixInvite,
|
|
4146
4612
|
{
|
|
4147
4613
|
enabled: catalogixEnabled,
|
|
@@ -4168,13 +4634,13 @@ var ScBillingHistoryHeader_default = {
|
|
|
4168
4634
|
};
|
|
4169
4635
|
|
|
4170
4636
|
// src/SC-billingHistoryHeader/ScBillingHistoryHeader.tsx
|
|
4171
|
-
import { jsx as
|
|
4637
|
+
import { jsx as jsx55, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
4172
4638
|
var ScBillingHistoryHeader = ({
|
|
4173
4639
|
className,
|
|
4174
4640
|
...props
|
|
4175
4641
|
}) => {
|
|
4176
|
-
return /* @__PURE__ */
|
|
4177
|
-
/* @__PURE__ */
|
|
4642
|
+
return /* @__PURE__ */ jsxs47("div", { className: ScBillingHistoryHeader_default.scBillingHistoryHeader + " " + className, children: [
|
|
4643
|
+
/* @__PURE__ */ jsx55(
|
|
4178
4644
|
ScHeader,
|
|
4179
4645
|
{
|
|
4180
4646
|
text: "Invoice",
|
|
@@ -4182,7 +4648,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4182
4648
|
className: ScBillingHistoryHeader_default.scHeaderInstance
|
|
4183
4649
|
}
|
|
4184
4650
|
),
|
|
4185
|
-
/* @__PURE__ */
|
|
4651
|
+
/* @__PURE__ */ jsx55(
|
|
4186
4652
|
ScHeader,
|
|
4187
4653
|
{
|
|
4188
4654
|
text: "Amount",
|
|
@@ -4190,7 +4656,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4190
4656
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4191
4657
|
}
|
|
4192
4658
|
),
|
|
4193
|
-
/* @__PURE__ */
|
|
4659
|
+
/* @__PURE__ */ jsx55(
|
|
4194
4660
|
ScHeader,
|
|
4195
4661
|
{
|
|
4196
4662
|
text: "Date",
|
|
@@ -4198,7 +4664,7 @@ var ScBillingHistoryHeader = ({
|
|
|
4198
4664
|
className: ScBillingHistoryHeader_default.scHeaderInstance2
|
|
4199
4665
|
}
|
|
4200
4666
|
),
|
|
4201
|
-
/* @__PURE__ */
|
|
4667
|
+
/* @__PURE__ */ jsx55(
|
|
4202
4668
|
ScHeader,
|
|
4203
4669
|
{
|
|
4204
4670
|
text: "Action",
|
|
@@ -4220,19 +4686,19 @@ var ScCheckField_default = {
|
|
|
4220
4686
|
|
|
4221
4687
|
// src/SC-checkField/ScCheckField.tsx
|
|
4222
4688
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
4223
|
-
import { Fragment as
|
|
4689
|
+
import { Fragment as Fragment17, jsx as jsx56, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
4224
4690
|
var ScCheckField = ({
|
|
4225
4691
|
label = "Label",
|
|
4226
4692
|
className,
|
|
4227
4693
|
checkboxes,
|
|
4228
4694
|
...props
|
|
4229
4695
|
}) => {
|
|
4230
|
-
return /* @__PURE__ */
|
|
4231
|
-
/* @__PURE__ */
|
|
4696
|
+
return /* @__PURE__ */ jsxs48("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
|
|
4697
|
+
/* @__PURE__ */ jsx56("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ jsxs48("div", { className: ScCheckField_default.label, children: [
|
|
4232
4698
|
label,
|
|
4233
4699
|
" "
|
|
4234
4700
|
] }) }),
|
|
4235
|
-
/* @__PURE__ */
|
|
4701
|
+
/* @__PURE__ */ jsx56("div", { className: ScCheckField_default.tabSwitcher, children: checkboxes ? checkboxes.map((item, i) => /* @__PURE__ */ jsx56(
|
|
4236
4702
|
ScPairtext,
|
|
4237
4703
|
{
|
|
4238
4704
|
content: item.label,
|
|
@@ -4242,19 +4708,19 @@ var ScCheckField = ({
|
|
|
4242
4708
|
className: ScCheckField_default.scPairtextInstance
|
|
4243
4709
|
},
|
|
4244
4710
|
i
|
|
4245
|
-
)) : /* @__PURE__ */
|
|
4246
|
-
/* @__PURE__ */
|
|
4711
|
+
)) : /* @__PURE__ */ jsxs48(Fragment17, { children: [
|
|
4712
|
+
/* @__PURE__ */ jsx56(
|
|
4247
4713
|
ScPairtext,
|
|
4248
4714
|
{
|
|
4249
|
-
icon: /* @__PURE__ */
|
|
4715
|
+
icon: /* @__PURE__ */ jsx56(SiconHome11, { className: ScCheckField_default.siconHomeInstance }),
|
|
4250
4716
|
type: "checkbox",
|
|
4251
4717
|
className: ScCheckField_default.scPairtextInstance
|
|
4252
4718
|
}
|
|
4253
4719
|
),
|
|
4254
|
-
/* @__PURE__ */
|
|
4720
|
+
/* @__PURE__ */ jsx56(
|
|
4255
4721
|
ScPairtext,
|
|
4256
4722
|
{
|
|
4257
|
-
icon: /* @__PURE__ */
|
|
4723
|
+
icon: /* @__PURE__ */ jsx56(SiconHome11, { className: ScCheckField_default.siconHomeInstance }),
|
|
4258
4724
|
type: "checkbox",
|
|
4259
4725
|
className: ScCheckField_default.scPairtextInstance
|
|
4260
4726
|
}
|
|
@@ -4275,9 +4741,9 @@ var ScFieldButton_default = {
|
|
|
4275
4741
|
|
|
4276
4742
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4277
4743
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
4278
|
-
import { Fragment as
|
|
4744
|
+
import { Fragment as Fragment18, jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4279
4745
|
var ScFieldButton = ({
|
|
4280
|
-
icon = /* @__PURE__ */
|
|
4746
|
+
icon = /* @__PURE__ */ jsx57(SiconHome12, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4281
4747
|
type = "default",
|
|
4282
4748
|
state = "default",
|
|
4283
4749
|
className,
|
|
@@ -4285,18 +4751,18 @@ var ScFieldButton = ({
|
|
|
4285
4751
|
...props
|
|
4286
4752
|
}) => {
|
|
4287
4753
|
const variantsClassName = ScFieldButton_default["type-" + type] + " " + ScFieldButton_default["state-" + state];
|
|
4288
|
-
return /* @__PURE__ */
|
|
4754
|
+
return /* @__PURE__ */ jsx57(
|
|
4289
4755
|
"div",
|
|
4290
4756
|
{
|
|
4291
4757
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4292
4758
|
...props,
|
|
4293
|
-
children: /* @__PURE__ */
|
|
4294
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */
|
|
4295
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */
|
|
4759
|
+
children: /* @__PURE__ */ jsxs49("div", { className: ScFieldButton_default.container, children: [
|
|
4760
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx57(Fragment18, { children: icon }),
|
|
4761
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx57(Fragment18, { children: /* @__PURE__ */ jsxs49("div", { className: ScFieldButton_default.label, children: [
|
|
4296
4762
|
text,
|
|
4297
4763
|
" "
|
|
4298
4764
|
] }) }),
|
|
4299
|
-
type === "icon-left" && /* @__PURE__ */
|
|
4765
|
+
type === "icon-left" && /* @__PURE__ */ jsx57(Fragment18, { children: icon })
|
|
4300
4766
|
] })
|
|
4301
4767
|
}
|
|
4302
4768
|
);
|
|
@@ -4311,16 +4777,16 @@ var ScPendingAction_default = {
|
|
|
4311
4777
|
|
|
4312
4778
|
// src/SC-pendingAction/ScPendingAction.tsx
|
|
4313
4779
|
import { SiconHome as SiconHome13 } from "@streamoid/icons";
|
|
4314
|
-
import { jsx as
|
|
4780
|
+
import { jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4315
4781
|
var ScPendingAction = ({
|
|
4316
4782
|
className,
|
|
4317
4783
|
...props
|
|
4318
4784
|
}) => {
|
|
4319
|
-
return /* @__PURE__ */
|
|
4320
|
-
/* @__PURE__ */
|
|
4785
|
+
return /* @__PURE__ */ jsxs50("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
|
|
4786
|
+
/* @__PURE__ */ jsx58(
|
|
4321
4787
|
ScButton,
|
|
4322
4788
|
{
|
|
4323
|
-
icon: /* @__PURE__ */
|
|
4789
|
+
icon: /* @__PURE__ */ jsx58(SiconHome13, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4324
4790
|
text: "Cancel",
|
|
4325
4791
|
variant: "error",
|
|
4326
4792
|
type: "tertiary",
|
|
@@ -4328,11 +4794,11 @@ var ScPendingAction = ({
|
|
|
4328
4794
|
className: ScPendingAction_default.scButtonInstance
|
|
4329
4795
|
}
|
|
4330
4796
|
),
|
|
4331
|
-
/* @__PURE__ */
|
|
4332
|
-
/* @__PURE__ */
|
|
4797
|
+
/* @__PURE__ */ jsx58(ScVDivider, { className: ScPendingAction_default.scVDividerInstance }),
|
|
4798
|
+
/* @__PURE__ */ jsx58(
|
|
4333
4799
|
ScButton,
|
|
4334
4800
|
{
|
|
4335
|
-
icon: /* @__PURE__ */
|
|
4801
|
+
icon: /* @__PURE__ */ jsx58(SiconHome13, { className: ScPendingAction_default.siconHomeInstance }),
|
|
4336
4802
|
text: "Resend",
|
|
4337
4803
|
variant: "tertiary",
|
|
4338
4804
|
size: "sm",
|
|
@@ -4356,7 +4822,7 @@ var ScQuickPrompt_default = {
|
|
|
4356
4822
|
|
|
4357
4823
|
// src/SC-quick prompt/ScQuickPrompt.tsx
|
|
4358
4824
|
import { SiconBolt as SiconBolt5 } from "@streamoid/icons";
|
|
4359
|
-
import { jsx as
|
|
4825
|
+
import { jsx as jsx59, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
4360
4826
|
var ScQuickPrompt = ({
|
|
4361
4827
|
appName = "Photogenix",
|
|
4362
4828
|
heading = "Swap Model and Background",
|
|
@@ -4364,20 +4830,20 @@ var ScQuickPrompt = ({
|
|
|
4364
4830
|
className,
|
|
4365
4831
|
...props
|
|
4366
4832
|
}) => {
|
|
4367
|
-
return /* @__PURE__ */
|
|
4368
|
-
/* @__PURE__ */
|
|
4369
|
-
/* @__PURE__ */
|
|
4370
|
-
/* @__PURE__ */
|
|
4833
|
+
return /* @__PURE__ */ jsxs51("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
|
|
4834
|
+
/* @__PURE__ */ jsxs51("div", { className: ScQuickPrompt_default.header, children: [
|
|
4835
|
+
/* @__PURE__ */ jsx59("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ jsx59(SiconBolt5, { className: ScQuickPrompt_default.siconBoltInstance }) }),
|
|
4836
|
+
/* @__PURE__ */ jsx59("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ jsxs51("div", { className: ScQuickPrompt_default.title, children: [
|
|
4371
4837
|
appName,
|
|
4372
4838
|
" "
|
|
4373
4839
|
] }) })
|
|
4374
4840
|
] }),
|
|
4375
|
-
/* @__PURE__ */
|
|
4376
|
-
/* @__PURE__ */
|
|
4841
|
+
/* @__PURE__ */ jsxs51("div", { className: ScQuickPrompt_default.body, children: [
|
|
4842
|
+
/* @__PURE__ */ jsxs51("div", { className: ScQuickPrompt_default.heading, children: [
|
|
4377
4843
|
heading,
|
|
4378
4844
|
" "
|
|
4379
4845
|
] }),
|
|
4380
|
-
/* @__PURE__ */
|
|
4846
|
+
/* @__PURE__ */ jsxs51("div", { className: ScQuickPrompt_default.description, children: [
|
|
4381
4847
|
description,
|
|
4382
4848
|
" "
|
|
4383
4849
|
] })
|
|
@@ -4394,13 +4860,13 @@ var ScReferralTableHeader_default = {
|
|
|
4394
4860
|
};
|
|
4395
4861
|
|
|
4396
4862
|
// src/SC-referralTableHeader/ScReferralTableHeader.tsx
|
|
4397
|
-
import { jsx as
|
|
4863
|
+
import { jsx as jsx60, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
4398
4864
|
var ScReferralTableHeader = ({
|
|
4399
4865
|
className,
|
|
4400
4866
|
...props
|
|
4401
4867
|
}) => {
|
|
4402
|
-
return /* @__PURE__ */
|
|
4403
|
-
/* @__PURE__ */
|
|
4868
|
+
return /* @__PURE__ */ jsxs52("div", { className: ScReferralTableHeader_default.scReferralTableHeader + " " + className, children: [
|
|
4869
|
+
/* @__PURE__ */ jsx60(
|
|
4404
4870
|
ScHeader,
|
|
4405
4871
|
{
|
|
4406
4872
|
text: "User",
|
|
@@ -4408,7 +4874,7 @@ var ScReferralTableHeader = ({
|
|
|
4408
4874
|
className: ScReferralTableHeader_default.scHeaderInstance
|
|
4409
4875
|
}
|
|
4410
4876
|
),
|
|
4411
|
-
/* @__PURE__ */
|
|
4877
|
+
/* @__PURE__ */ jsx60(
|
|
4412
4878
|
ScHeader,
|
|
4413
4879
|
{
|
|
4414
4880
|
text: "Date",
|
|
@@ -4416,7 +4882,7 @@ var ScReferralTableHeader = ({
|
|
|
4416
4882
|
className: ScReferralTableHeader_default.scHeaderInstance2
|
|
4417
4883
|
}
|
|
4418
4884
|
),
|
|
4419
|
-
/* @__PURE__ */
|
|
4885
|
+
/* @__PURE__ */ jsx60(
|
|
4420
4886
|
ScHeader,
|
|
4421
4887
|
{
|
|
4422
4888
|
text: "Status",
|
|
@@ -4424,7 +4890,7 @@ var ScReferralTableHeader = ({
|
|
|
4424
4890
|
className: ScReferralTableHeader_default.scHeaderInstance3
|
|
4425
4891
|
}
|
|
4426
4892
|
),
|
|
4427
|
-
/* @__PURE__ */
|
|
4893
|
+
/* @__PURE__ */ jsx60(
|
|
4428
4894
|
ScHeader,
|
|
4429
4895
|
{
|
|
4430
4896
|
text: "Reward",
|
|
@@ -4445,7 +4911,7 @@ var ScReferralTableList_default = {
|
|
|
4445
4911
|
};
|
|
4446
4912
|
|
|
4447
4913
|
// src/SC-referralTableList/ScReferralTableList.tsx
|
|
4448
|
-
import { jsx as
|
|
4914
|
+
import { jsx as jsx61, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
4449
4915
|
var ScReferralTableList = ({
|
|
4450
4916
|
userEmail = "chris@kepler.com",
|
|
4451
4917
|
userName,
|
|
@@ -4455,8 +4921,8 @@ var ScReferralTableList = ({
|
|
|
4455
4921
|
className,
|
|
4456
4922
|
...props
|
|
4457
4923
|
}) => {
|
|
4458
|
-
return /* @__PURE__ */
|
|
4459
|
-
/* @__PURE__ */
|
|
4924
|
+
return /* @__PURE__ */ jsxs53("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
|
|
4925
|
+
/* @__PURE__ */ jsx61(
|
|
4460
4926
|
ScProfile,
|
|
4461
4927
|
{
|
|
4462
4928
|
subText: userEmail,
|
|
@@ -4464,12 +4930,12 @@ var ScReferralTableList = ({
|
|
|
4464
4930
|
className: ScReferralTableList_default.scProfileInstance
|
|
4465
4931
|
}
|
|
4466
4932
|
),
|
|
4467
|
-
/* @__PURE__ */
|
|
4933
|
+
/* @__PURE__ */ jsxs53("div", { className: ScReferralTableList_default.date, children: [
|
|
4468
4934
|
date,
|
|
4469
4935
|
" "
|
|
4470
4936
|
] }),
|
|
4471
|
-
/* @__PURE__ */
|
|
4472
|
-
/* @__PURE__ */
|
|
4937
|
+
/* @__PURE__ */ jsx61(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
|
|
4938
|
+
/* @__PURE__ */ jsxs53("div", { className: ScReferralTableList_default.points, children: [
|
|
4473
4939
|
points,
|
|
4474
4940
|
" "
|
|
4475
4941
|
] })
|
|
@@ -4485,33 +4951,33 @@ var ScSettingsNav_default = {
|
|
|
4485
4951
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
4486
4952
|
import { SiconTeam as SiconTeam5 } from "@streamoid/icons";
|
|
4487
4953
|
import { SiconWorkspace, SiconReferral } from "@streamoid/icons";
|
|
4488
|
-
import { jsx as
|
|
4954
|
+
import { jsx as jsx62, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
4489
4955
|
var ScSettingsNav = ({
|
|
4490
4956
|
className,
|
|
4491
4957
|
...props
|
|
4492
4958
|
}) => {
|
|
4493
|
-
return /* @__PURE__ */
|
|
4494
|
-
/* @__PURE__ */
|
|
4959
|
+
return /* @__PURE__ */ jsx62("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ jsxs54("div", { className: ScSettingsNav_default.container, children: [
|
|
4960
|
+
/* @__PURE__ */ jsx62(
|
|
4495
4961
|
ScSidebarMenu,
|
|
4496
4962
|
{
|
|
4497
|
-
icon: /* @__PURE__ */
|
|
4963
|
+
icon: /* @__PURE__ */ jsx62(SiconTeam5, { className: ScSettingsNav_default.siconTeamInstance }),
|
|
4498
4964
|
text: "Profile",
|
|
4499
4965
|
state: "active",
|
|
4500
4966
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4501
4967
|
}
|
|
4502
4968
|
),
|
|
4503
|
-
/* @__PURE__ */
|
|
4969
|
+
/* @__PURE__ */ jsx62(
|
|
4504
4970
|
ScSidebarMenu,
|
|
4505
4971
|
{
|
|
4506
|
-
icon: /* @__PURE__ */
|
|
4972
|
+
icon: /* @__PURE__ */ jsx62(SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
4507
4973
|
text: "Workspace",
|
|
4508
4974
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4509
4975
|
}
|
|
4510
4976
|
),
|
|
4511
|
-
/* @__PURE__ */
|
|
4977
|
+
/* @__PURE__ */ jsx62(
|
|
4512
4978
|
ScSidebarMenu,
|
|
4513
4979
|
{
|
|
4514
|
-
icon: /* @__PURE__ */
|
|
4980
|
+
icon: /* @__PURE__ */ jsx62(SiconReferral, { className: ScSettingsNav_default.siconReferralInstance }),
|
|
4515
4981
|
text: "Referral",
|
|
4516
4982
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
4517
4983
|
}
|
|
@@ -4527,7 +4993,7 @@ var ScTabField_default = {
|
|
|
4527
4993
|
};
|
|
4528
4994
|
|
|
4529
4995
|
// src/SC-tabField/ScTabField.tsx
|
|
4530
|
-
import { jsx as
|
|
4996
|
+
import { jsx as jsx63, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
4531
4997
|
var ScTabField = ({
|
|
4532
4998
|
label = "Label",
|
|
4533
4999
|
className,
|
|
@@ -4536,17 +5002,17 @@ var ScTabField = ({
|
|
|
4536
5002
|
onTabChange,
|
|
4537
5003
|
...props
|
|
4538
5004
|
}) => {
|
|
4539
|
-
return /* @__PURE__ */
|
|
4540
|
-
/* @__PURE__ */
|
|
5005
|
+
return /* @__PURE__ */ jsxs55("div", { className: ScTabField_default.scTabField + " " + className, children: [
|
|
5006
|
+
/* @__PURE__ */ jsx63("div", { className: ScTabField_default.labelContainer, children: /* @__PURE__ */ jsxs55("div", { className: ScTabField_default.label, children: [
|
|
4541
5007
|
label,
|
|
4542
5008
|
" "
|
|
4543
5009
|
] }) }),
|
|
4544
|
-
tabs ? /* @__PURE__ */
|
|
5010
|
+
tabs ? /* @__PURE__ */ jsx63(
|
|
4545
5011
|
ScTabSwitcher,
|
|
4546
5012
|
{
|
|
4547
5013
|
tabCount: String(tabs.length),
|
|
4548
5014
|
className: ScTabField_default.scTabSwitcherInstance,
|
|
4549
|
-
component: tabs[0] ? /* @__PURE__ */
|
|
5015
|
+
component: tabs[0] ? /* @__PURE__ */ jsx63(
|
|
4550
5016
|
ScTabComp,
|
|
4551
5017
|
{
|
|
4552
5018
|
text: tabs[0].label,
|
|
@@ -4556,7 +5022,7 @@ var ScTabField = ({
|
|
|
4556
5022
|
style: { flex: 1 }
|
|
4557
5023
|
}
|
|
4558
5024
|
) : void 0,
|
|
4559
|
-
component2: tabs[1] ? /* @__PURE__ */
|
|
5025
|
+
component2: tabs[1] ? /* @__PURE__ */ jsx63(
|
|
4560
5026
|
ScTabComp,
|
|
4561
5027
|
{
|
|
4562
5028
|
text: tabs[1].label,
|
|
@@ -4567,7 +5033,7 @@ var ScTabField = ({
|
|
|
4567
5033
|
}
|
|
4568
5034
|
) : void 0
|
|
4569
5035
|
}
|
|
4570
|
-
) : /* @__PURE__ */
|
|
5036
|
+
) : /* @__PURE__ */ jsx63(ScTabSwitcher, { className: ScTabField_default.scTabSwitcherInstance })
|
|
4571
5037
|
] });
|
|
4572
5038
|
};
|
|
4573
5039
|
|
|
@@ -4584,19 +5050,19 @@ var ScTableHeader_default = {
|
|
|
4584
5050
|
};
|
|
4585
5051
|
|
|
4586
5052
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
4587
|
-
import { Fragment as
|
|
5053
|
+
import { Fragment as Fragment19, jsx as jsx64, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
4588
5054
|
var ScTableHeader = ({
|
|
4589
5055
|
type = "default",
|
|
4590
5056
|
className,
|
|
4591
5057
|
...props
|
|
4592
5058
|
}) => {
|
|
4593
5059
|
const variantsClassName = ScTableHeader_default["type-" + type];
|
|
4594
|
-
return /* @__PURE__ */
|
|
5060
|
+
return /* @__PURE__ */ jsxs56(
|
|
4595
5061
|
"div",
|
|
4596
5062
|
{
|
|
4597
5063
|
className: ScTableHeader_default.scTableHeader + " " + className + " " + variantsClassName,
|
|
4598
5064
|
children: [
|
|
4599
|
-
/* @__PURE__ */
|
|
5065
|
+
/* @__PURE__ */ jsx64(
|
|
4600
5066
|
ScHeader,
|
|
4601
5067
|
{
|
|
4602
5068
|
text: "User",
|
|
@@ -4604,7 +5070,7 @@ var ScTableHeader = ({
|
|
|
4604
5070
|
className: ScTableHeader_default.scHeaderInstance
|
|
4605
5071
|
}
|
|
4606
5072
|
),
|
|
4607
|
-
/* @__PURE__ */
|
|
5073
|
+
/* @__PURE__ */ jsx64(
|
|
4608
5074
|
ScHeader,
|
|
4609
5075
|
{
|
|
4610
5076
|
text: "Role",
|
|
@@ -4612,7 +5078,7 @@ var ScTableHeader = ({
|
|
|
4612
5078
|
className: ScTableHeader_default.scHeaderInstance2
|
|
4613
5079
|
}
|
|
4614
5080
|
),
|
|
4615
|
-
/* @__PURE__ */
|
|
5081
|
+
/* @__PURE__ */ jsx64(
|
|
4616
5082
|
ScHeader,
|
|
4617
5083
|
{
|
|
4618
5084
|
text: "Access",
|
|
@@ -4620,7 +5086,7 @@ var ScTableHeader = ({
|
|
|
4620
5086
|
className: ScTableHeader_default.scHeaderInstance3
|
|
4621
5087
|
}
|
|
4622
5088
|
),
|
|
4623
|
-
/* @__PURE__ */
|
|
5089
|
+
/* @__PURE__ */ jsx64(
|
|
4624
5090
|
ScHeader,
|
|
4625
5091
|
{
|
|
4626
5092
|
text: "Invited by",
|
|
@@ -4628,7 +5094,7 @@ var ScTableHeader = ({
|
|
|
4628
5094
|
className: ScTableHeader_default.scHeaderInstance4
|
|
4629
5095
|
}
|
|
4630
5096
|
),
|
|
4631
|
-
type === "pending" && /* @__PURE__ */
|
|
5097
|
+
type === "pending" && /* @__PURE__ */ jsx64(Fragment19, { children: /* @__PURE__ */ jsx64(
|
|
4632
5098
|
ScHeader,
|
|
4633
5099
|
{
|
|
4634
5100
|
text: "Invite action",
|
|
@@ -4636,7 +5102,7 @@ var ScTableHeader = ({
|
|
|
4636
5102
|
className: ScTableHeader_default.scHeaderInstance5
|
|
4637
5103
|
}
|
|
4638
5104
|
) }),
|
|
4639
|
-
type === "default" && /* @__PURE__ */
|
|
5105
|
+
type === "default" && /* @__PURE__ */ jsx64(Fragment19, { children: /* @__PURE__ */ jsx64(
|
|
4640
5106
|
ScHeader,
|
|
4641
5107
|
{
|
|
4642
5108
|
text: "Signed On",
|
|
@@ -4670,7 +5136,7 @@ var ScTableList_default = {
|
|
|
4670
5136
|
// src/SC-tableList/ScTableList.tsx
|
|
4671
5137
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
4672
5138
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
4673
|
-
import { Fragment as
|
|
5139
|
+
import { Fragment as Fragment20, jsx as jsx65, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
4674
5140
|
var ScTableList = ({
|
|
4675
5141
|
invitedBy = "Rohan",
|
|
4676
5142
|
signedOn = "Nov 9th, 2025",
|
|
@@ -4682,51 +5148,51 @@ var ScTableList = ({
|
|
|
4682
5148
|
...props
|
|
4683
5149
|
}) => {
|
|
4684
5150
|
const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
|
|
4685
|
-
return /* @__PURE__ */
|
|
5151
|
+
return /* @__PURE__ */ jsxs57(
|
|
4686
5152
|
"div",
|
|
4687
5153
|
{
|
|
4688
5154
|
className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
|
|
4689
5155
|
onClick: (e) => onRowClick && onRowClick(invitedBy, e),
|
|
4690
5156
|
...props,
|
|
4691
5157
|
children: [
|
|
4692
|
-
/* @__PURE__ */
|
|
5158
|
+
/* @__PURE__ */ jsx65(
|
|
4693
5159
|
ScProfile,
|
|
4694
5160
|
{
|
|
4695
5161
|
subText: userEmail,
|
|
4696
5162
|
className: ScTableList_default.scProfileInstance
|
|
4697
5163
|
}
|
|
4698
5164
|
),
|
|
4699
|
-
/* @__PURE__ */
|
|
4700
|
-
/* @__PURE__ */
|
|
4701
|
-
/* @__PURE__ */
|
|
5165
|
+
/* @__PURE__ */ jsx65(ScRole, { className: ScTableList_default.scRoleInstance }),
|
|
5166
|
+
/* @__PURE__ */ jsxs57("div", { className: ScTableList_default.accessInfo, children: [
|
|
5167
|
+
/* @__PURE__ */ jsx65(
|
|
4702
5168
|
ScAccess,
|
|
4703
5169
|
{
|
|
4704
|
-
component: /* @__PURE__ */
|
|
4705
|
-
component2: /* @__PURE__ */
|
|
5170
|
+
component: /* @__PURE__ */ jsx65(SiconArtifacts6, { className: ScTableList_default.siconArtifactsInstance }),
|
|
5171
|
+
component2: /* @__PURE__ */ jsx65(SiconPhotogenix3, { className: ScTableList_default.siconPhotogenixInstance }),
|
|
4706
5172
|
className: ScTableList_default.scAccessInstance
|
|
4707
5173
|
}
|
|
4708
5174
|
),
|
|
4709
|
-
/* @__PURE__ */
|
|
5175
|
+
/* @__PURE__ */ jsx65(
|
|
4710
5176
|
ScAccess,
|
|
4711
5177
|
{
|
|
4712
|
-
component: /* @__PURE__ */
|
|
4713
|
-
component2: /* @__PURE__ */
|
|
5178
|
+
component: /* @__PURE__ */ jsx65(SiconUserAdd, { className: ScTableList_default.siconUserAddInstance }),
|
|
5179
|
+
component2: /* @__PURE__ */ jsx65(SiconCoins, { className: ScTableList_default.siconCoinsInstance }),
|
|
4714
5180
|
visibleSiconCatalogix: false,
|
|
4715
5181
|
className: ScTableList_default.scAccessInstance
|
|
4716
5182
|
}
|
|
4717
5183
|
)
|
|
4718
5184
|
] }),
|
|
4719
|
-
/* @__PURE__ */
|
|
5185
|
+
/* @__PURE__ */ jsxs57("div", { className: ScTableList_default.userName, children: [
|
|
4720
5186
|
invitedBy,
|
|
4721
5187
|
" "
|
|
4722
5188
|
] }),
|
|
4723
|
-
variant === "pending" && /* @__PURE__ */
|
|
5189
|
+
variant === "pending" && /* @__PURE__ */ jsx65(Fragment20, { children: /* @__PURE__ */ jsx65(
|
|
4724
5190
|
ScPendingAction,
|
|
4725
5191
|
{
|
|
4726
5192
|
className: ScTableList_default.scPendingActionInstance
|
|
4727
5193
|
}
|
|
4728
5194
|
) }),
|
|
4729
|
-
variant === "active" && /* @__PURE__ */
|
|
5195
|
+
variant === "active" && /* @__PURE__ */ jsx65(Fragment20, { children: /* @__PURE__ */ jsxs57("div", { className: ScTableList_default.date, children: [
|
|
4730
5196
|
signedOn,
|
|
4731
5197
|
" "
|
|
4732
5198
|
] }) })
|
|
@@ -4761,7 +5227,7 @@ import {
|
|
|
4761
5227
|
SiconSwitch as SiconSwitch2,
|
|
4762
5228
|
SiconLogout as SiconLogout2
|
|
4763
5229
|
} from "@streamoid/icons";
|
|
4764
|
-
import { jsx as
|
|
5230
|
+
import { jsx as jsx66, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
4765
5231
|
var ScWorkspaceCard = ({
|
|
4766
5232
|
workspaceName = "Stores",
|
|
4767
5233
|
role = "Admin",
|
|
@@ -4771,21 +5237,21 @@ var ScWorkspaceCard = ({
|
|
|
4771
5237
|
className,
|
|
4772
5238
|
...props
|
|
4773
5239
|
}) => {
|
|
4774
|
-
return /* @__PURE__ */
|
|
4775
|
-
/* @__PURE__ */
|
|
4776
|
-
/* @__PURE__ */
|
|
5240
|
+
return /* @__PURE__ */ jsxs58("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
|
|
5241
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
|
|
5242
|
+
/* @__PURE__ */ jsx66(
|
|
4777
5243
|
ScIntialProfileCover,
|
|
4778
5244
|
{
|
|
4779
5245
|
className: ScWorkspaceCard_default.scIntialProfileCoverInstance
|
|
4780
5246
|
}
|
|
4781
5247
|
),
|
|
4782
|
-
/* @__PURE__ */
|
|
5248
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceCard_default.workspaceName, children: [
|
|
4783
5249
|
workspaceName,
|
|
4784
5250
|
" "
|
|
4785
5251
|
] })
|
|
4786
5252
|
] }),
|
|
4787
|
-
/* @__PURE__ */
|
|
4788
|
-
/* @__PURE__ */
|
|
5253
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceCard_default.userInfo, children: [
|
|
5254
|
+
/* @__PURE__ */ jsx66(
|
|
4789
5255
|
ScBadges,
|
|
4790
5256
|
{
|
|
4791
5257
|
text: role,
|
|
@@ -4793,41 +5259,41 @@ var ScWorkspaceCard = ({
|
|
|
4793
5259
|
className: ScWorkspaceCard_default.scBadgesInstance
|
|
4794
5260
|
}
|
|
4795
5261
|
),
|
|
4796
|
-
/* @__PURE__ */
|
|
4797
|
-
/* @__PURE__ */
|
|
5262
|
+
/* @__PURE__ */ jsxs58("div", { className: ScWorkspaceCard_default.userDetails, children: [
|
|
5263
|
+
/* @__PURE__ */ jsx66(
|
|
4798
5264
|
ScPairtext,
|
|
4799
5265
|
{
|
|
4800
|
-
icon: /* @__PURE__ */
|
|
5266
|
+
icon: /* @__PURE__ */ jsx66(SiconTeam6, { className: ScWorkspaceCard_default.siconTeamInstance }),
|
|
4801
5267
|
content: userCount,
|
|
4802
5268
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4803
5269
|
}
|
|
4804
5270
|
),
|
|
4805
|
-
/* @__PURE__ */
|
|
4806
|
-
/* @__PURE__ */
|
|
5271
|
+
/* @__PURE__ */ jsx66(ScVDivider, { className: ScWorkspaceCard_default.scVDividerInstance }),
|
|
5272
|
+
/* @__PURE__ */ jsx66(
|
|
4807
5273
|
ScPairtext,
|
|
4808
5274
|
{
|
|
4809
|
-
icon: /* @__PURE__ */
|
|
5275
|
+
icon: /* @__PURE__ */ jsx66(SiconCrown2, { className: ScWorkspaceCard_default.siconCrownInstance }),
|
|
4810
5276
|
content: ownerEmail,
|
|
4811
5277
|
className: ScWorkspaceCard_default.scPairtextInstance
|
|
4812
5278
|
}
|
|
4813
5279
|
)
|
|
4814
5280
|
] })
|
|
4815
5281
|
] }),
|
|
4816
|
-
/* @__PURE__ */
|
|
5282
|
+
/* @__PURE__ */ jsx66(
|
|
4817
5283
|
ScButton,
|
|
4818
5284
|
{
|
|
4819
|
-
icon: /* @__PURE__ */
|
|
5285
|
+
icon: /* @__PURE__ */ jsx66(SiconSwitch2, { className: ScWorkspaceCard_default.siconSwitchInstance }),
|
|
4820
5286
|
text: buttonText,
|
|
4821
5287
|
state: "disabled",
|
|
4822
5288
|
variant: "outline",
|
|
4823
5289
|
className: ScWorkspaceCard_default.scButtonInstance
|
|
4824
5290
|
}
|
|
4825
5291
|
),
|
|
4826
|
-
/* @__PURE__ */
|
|
5292
|
+
/* @__PURE__ */ jsx66(
|
|
4827
5293
|
ScButton,
|
|
4828
5294
|
{
|
|
4829
5295
|
text: "Leave workspace",
|
|
4830
|
-
icon: /* @__PURE__ */
|
|
5296
|
+
icon: /* @__PURE__ */ jsx66(SiconLogout2, { className: ScWorkspaceCard_default.siconLogoutInstance }),
|
|
4831
5297
|
styleVariant: "icon-only",
|
|
4832
5298
|
variant: "error",
|
|
4833
5299
|
className: ScWorkspaceCard_default.scButtonInstance2
|
|
@@ -4837,7 +5303,7 @@ var ScWorkspaceCard = ({
|
|
|
4837
5303
|
};
|
|
4838
5304
|
|
|
4839
5305
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4840
|
-
import { useState as
|
|
5306
|
+
import { useState as useState6 } from "react";
|
|
4841
5307
|
import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3, SiconLogout as SiconLogout3 } from "@streamoid/icons";
|
|
4842
5308
|
|
|
4843
5309
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
|
|
@@ -4863,7 +5329,7 @@ var ScWorkspaceSwitchCard_default = {
|
|
|
4863
5329
|
};
|
|
4864
5330
|
|
|
4865
5331
|
// src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
|
|
4866
|
-
import { jsx as
|
|
5332
|
+
import { jsx as jsx67, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
4867
5333
|
function ScWorkspaceSwitchCard({
|
|
4868
5334
|
wsName = "Workspace name is kepler",
|
|
4869
5335
|
role = "Admin",
|
|
@@ -4878,7 +5344,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4878
5344
|
onSettings,
|
|
4879
5345
|
onLeave
|
|
4880
5346
|
}) {
|
|
4881
|
-
const [internalHover, setInternalHover] =
|
|
5347
|
+
const [internalHover, setInternalHover] = useState6(false);
|
|
4882
5348
|
const isHover = hover !== void 0 ? hover : internalHover;
|
|
4883
5349
|
const isCurrent = type === "currentWS";
|
|
4884
5350
|
const isOther = type === "otherWS";
|
|
@@ -4893,14 +5359,14 @@ function ScWorkspaceSwitchCard({
|
|
|
4893
5359
|
].filter(Boolean).join(" ");
|
|
4894
5360
|
const dpBg = isCurrent ? "var(--alias-fill-neutral-neutralactive, #313131)" : "var(--alias-fill-neutral-neutralselected, #242424)";
|
|
4895
5361
|
const roleColorClass = isAdmin ? ScWorkspaceSwitchCard_default.detailValueRole : ScWorkspaceSwitchCard_default.detailValueInfo;
|
|
4896
|
-
return /* @__PURE__ */
|
|
5362
|
+
return /* @__PURE__ */ jsx67(
|
|
4897
5363
|
"div",
|
|
4898
5364
|
{
|
|
4899
5365
|
className: cardClass,
|
|
4900
5366
|
onMouseEnter: () => setInternalHover(true),
|
|
4901
5367
|
onMouseLeave: () => setInternalHover(false),
|
|
4902
|
-
children: /* @__PURE__ */
|
|
4903
|
-
/* @__PURE__ */
|
|
5368
|
+
children: /* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchCard_default.wsInfo, children: [
|
|
5369
|
+
/* @__PURE__ */ jsx67(
|
|
4904
5370
|
ScDp,
|
|
4905
5371
|
{
|
|
4906
5372
|
type: imageUrl ? "image" : "initial",
|
|
@@ -4914,26 +5380,26 @@ function ScWorkspaceSwitchCard({
|
|
|
4914
5380
|
}
|
|
4915
5381
|
}
|
|
4916
5382
|
),
|
|
4917
|
-
/* @__PURE__ */
|
|
4918
|
-
/* @__PURE__ */
|
|
4919
|
-
/* @__PURE__ */
|
|
4920
|
-
/* @__PURE__ */
|
|
4921
|
-
/* @__PURE__ */
|
|
4922
|
-
/* @__PURE__ */
|
|
5383
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchCard_default.infoCol, children: [
|
|
5384
|
+
/* @__PURE__ */ jsx67("p", { className: ScWorkspaceSwitchCard_default.wsName, children: wsName }),
|
|
5385
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchCard_default.detailsRow, children: [
|
|
5386
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
5387
|
+
/* @__PURE__ */ jsx67("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Role" }),
|
|
5388
|
+
/* @__PURE__ */ jsx67("span", { className: roleColorClass, children: displayRole })
|
|
4923
5389
|
] }),
|
|
4924
|
-
/* @__PURE__ */
|
|
4925
|
-
/* @__PURE__ */
|
|
4926
|
-
/* @__PURE__ */
|
|
4927
|
-
/* @__PURE__ */
|
|
5390
|
+
/* @__PURE__ */ jsx67(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
5391
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchCard_default.detailItem, children: [
|
|
5392
|
+
/* @__PURE__ */ jsx67("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Plan" }),
|
|
5393
|
+
/* @__PURE__ */ jsx67("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: plan })
|
|
4928
5394
|
] }),
|
|
4929
|
-
/* @__PURE__ */
|
|
4930
|
-
/* @__PURE__ */
|
|
4931
|
-
/* @__PURE__ */
|
|
4932
|
-
/* @__PURE__ */
|
|
5395
|
+
/* @__PURE__ */ jsx67(ScVDivider, { className: ScWorkspaceSwitchCard_default.vDivider }),
|
|
5396
|
+
/* @__PURE__ */ jsxs59("div", { className: ScWorkspaceSwitchCard_default.detailItemFlex, children: [
|
|
5397
|
+
/* @__PURE__ */ jsx67("span", { className: ScWorkspaceSwitchCard_default.detailLabel, children: "Workspace Owner" }),
|
|
5398
|
+
/* @__PURE__ */ jsx67("span", { className: ScWorkspaceSwitchCard_default.detailValueSecondary, children: ownerId })
|
|
4933
5399
|
] })
|
|
4934
5400
|
] })
|
|
4935
5401
|
] }),
|
|
4936
|
-
isHover && isOther && /* @__PURE__ */
|
|
5402
|
+
isHover && isOther && /* @__PURE__ */ jsx67(
|
|
4937
5403
|
"div",
|
|
4938
5404
|
{
|
|
4939
5405
|
onClick: (e) => {
|
|
@@ -4941,19 +5407,19 @@ function ScWorkspaceSwitchCard({
|
|
|
4941
5407
|
onSwitch?.();
|
|
4942
5408
|
},
|
|
4943
5409
|
style: { cursor: "pointer" },
|
|
4944
|
-
children: /* @__PURE__ */
|
|
5410
|
+
children: /* @__PURE__ */ jsx67(
|
|
4945
5411
|
ScButton,
|
|
4946
5412
|
{
|
|
4947
5413
|
text: "Switch Workspace",
|
|
4948
5414
|
variant: "secondary",
|
|
4949
5415
|
size: "sm",
|
|
4950
5416
|
styleVariant: "icon-left",
|
|
4951
|
-
icon: /* @__PURE__ */
|
|
5417
|
+
icon: /* @__PURE__ */ jsx67(SiconSwitch3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4952
5418
|
}
|
|
4953
5419
|
)
|
|
4954
5420
|
}
|
|
4955
5421
|
),
|
|
4956
|
-
isHover && isAdmin && /* @__PURE__ */
|
|
5422
|
+
isHover && isAdmin && /* @__PURE__ */ jsx67(
|
|
4957
5423
|
"div",
|
|
4958
5424
|
{
|
|
4959
5425
|
onClick: (e) => {
|
|
@@ -4961,18 +5427,18 @@ function ScWorkspaceSwitchCard({
|
|
|
4961
5427
|
onSettings?.();
|
|
4962
5428
|
},
|
|
4963
5429
|
style: { cursor: "pointer" },
|
|
4964
|
-
children: /* @__PURE__ */
|
|
5430
|
+
children: /* @__PURE__ */ jsx67(
|
|
4965
5431
|
ScButton,
|
|
4966
5432
|
{
|
|
4967
5433
|
styleVariant: "icon-only",
|
|
4968
5434
|
variant: "outline",
|
|
4969
5435
|
size: "sm",
|
|
4970
|
-
icon: /* @__PURE__ */
|
|
5436
|
+
icon: /* @__PURE__ */ jsx67(SiconSettings3, { className: ScWorkspaceSwitchCard_default.btnIcon })
|
|
4971
5437
|
}
|
|
4972
5438
|
)
|
|
4973
5439
|
}
|
|
4974
5440
|
),
|
|
4975
|
-
isHover && !isAdmin && /* @__PURE__ */
|
|
5441
|
+
isHover && !isAdmin && /* @__PURE__ */ jsx67(
|
|
4976
5442
|
"div",
|
|
4977
5443
|
{
|
|
4978
5444
|
className: ScWorkspaceSwitchCard_default.leaveBtn,
|
|
@@ -4980,7 +5446,7 @@ function ScWorkspaceSwitchCard({
|
|
|
4980
5446
|
e.stopPropagation();
|
|
4981
5447
|
onLeave?.();
|
|
4982
5448
|
},
|
|
4983
|
-
children: /* @__PURE__ */
|
|
5449
|
+
children: /* @__PURE__ */ jsx67(SiconLogout3, { className: ScWorkspaceSwitchCard_default.btnIcon, color: "currentColor" })
|
|
4984
5450
|
}
|
|
4985
5451
|
)
|
|
4986
5452
|
] })
|
|
@@ -4998,18 +5464,18 @@ var ScRoleMobile_default = {
|
|
|
4998
5464
|
};
|
|
4999
5465
|
|
|
5000
5466
|
// src/SC-Role-Mobile/ScRoleMobile.tsx
|
|
5001
|
-
import { jsx as
|
|
5467
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
5002
5468
|
var ScRoleMobile = ({
|
|
5003
5469
|
role = "admin",
|
|
5004
5470
|
className,
|
|
5005
5471
|
...props
|
|
5006
5472
|
}) => {
|
|
5007
|
-
return /* @__PURE__ */
|
|
5473
|
+
return /* @__PURE__ */ jsx68(
|
|
5008
5474
|
"div",
|
|
5009
5475
|
{
|
|
5010
5476
|
className: ScRoleMobile_default.scRoleMobile + " " + ScRoleMobile_default["role-" + role] + " " + className,
|
|
5011
5477
|
...props,
|
|
5012
|
-
children: /* @__PURE__ */
|
|
5478
|
+
children: /* @__PURE__ */ jsx68("p", { className: ScRoleMobile_default.text, children: role === "admin" ? "Admin" : "Member" })
|
|
5013
5479
|
}
|
|
5014
5480
|
);
|
|
5015
5481
|
};
|
|
@@ -5026,7 +5492,7 @@ var ScProfileV2Mobile_default = {
|
|
|
5026
5492
|
};
|
|
5027
5493
|
|
|
5028
5494
|
// src/SC-Profile-V2-Mobile/ScProfileV2Mobile.tsx
|
|
5029
|
-
import { jsx as
|
|
5495
|
+
import { jsx as jsx69, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
5030
5496
|
var ScProfileV2Mobile = ({
|
|
5031
5497
|
name = "Chris Hemsworth",
|
|
5032
5498
|
email = "chris@kepler.com",
|
|
@@ -5036,17 +5502,17 @@ var ScProfileV2Mobile = ({
|
|
|
5036
5502
|
...props
|
|
5037
5503
|
}) => {
|
|
5038
5504
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5039
|
-
const profileImage = /* @__PURE__ */
|
|
5040
|
-
return /* @__PURE__ */
|
|
5505
|
+
const profileImage = /* @__PURE__ */ jsx69("div", { className: ScProfileV2Mobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx69("img", { src: imageUrl, alt: name, className: ScProfileV2Mobile_default.image }) : /* @__PURE__ */ jsx69("div", { className: ScProfileV2Mobile_default.initials, children: initials }) });
|
|
5506
|
+
return /* @__PURE__ */ jsxs60(
|
|
5041
5507
|
"div",
|
|
5042
5508
|
{
|
|
5043
5509
|
className: ScProfileV2Mobile_default.scProfileV2Mobile + " " + className,
|
|
5044
5510
|
...props,
|
|
5045
5511
|
children: [
|
|
5046
5512
|
dpPosition === "left" && profileImage,
|
|
5047
|
-
/* @__PURE__ */
|
|
5048
|
-
/* @__PURE__ */
|
|
5049
|
-
/* @__PURE__ */
|
|
5513
|
+
/* @__PURE__ */ jsxs60("div", { className: ScProfileV2Mobile_default.userInfo, children: [
|
|
5514
|
+
/* @__PURE__ */ jsx69("p", { className: ScProfileV2Mobile_default.userName, children: name }),
|
|
5515
|
+
/* @__PURE__ */ jsx69("p", { className: ScProfileV2Mobile_default.userEmail, children: email })
|
|
5050
5516
|
] }),
|
|
5051
5517
|
dpPosition === "right" && profileImage
|
|
5052
5518
|
]
|
|
@@ -5073,7 +5539,7 @@ var ScTableListMobile_default = {
|
|
|
5073
5539
|
};
|
|
5074
5540
|
|
|
5075
5541
|
// src/SC-tableList-mobile/ScTableListMobile.tsx
|
|
5076
|
-
import { jsx as
|
|
5542
|
+
import { jsx as jsx70, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5077
5543
|
var ScTableListMobile = ({
|
|
5078
5544
|
name = "Chris Hemsworth",
|
|
5079
5545
|
email = "chris@kepler.com",
|
|
@@ -5086,25 +5552,25 @@ var ScTableListMobile = ({
|
|
|
5086
5552
|
...props
|
|
5087
5553
|
}) => {
|
|
5088
5554
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5089
|
-
return /* @__PURE__ */
|
|
5555
|
+
return /* @__PURE__ */ jsxs61(
|
|
5090
5556
|
"div",
|
|
5091
5557
|
{
|
|
5092
5558
|
className: ScTableListMobile_default.scTableListMobile + " " + className,
|
|
5093
5559
|
onClick: onRowClick,
|
|
5094
5560
|
...props,
|
|
5095
5561
|
children: [
|
|
5096
|
-
/* @__PURE__ */
|
|
5097
|
-
/* @__PURE__ */
|
|
5098
|
-
/* @__PURE__ */
|
|
5099
|
-
/* @__PURE__ */
|
|
5562
|
+
/* @__PURE__ */ jsxs61("div", { className: ScTableListMobile_default.profileRow, children: [
|
|
5563
|
+
/* @__PURE__ */ jsxs61("div", { className: ScTableListMobile_default.userInfo, children: [
|
|
5564
|
+
/* @__PURE__ */ jsx70("p", { className: ScTableListMobile_default.userName, children: name }),
|
|
5565
|
+
/* @__PURE__ */ jsx70("p", { className: ScTableListMobile_default.userEmail, children: email })
|
|
5100
5566
|
] }),
|
|
5101
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ jsx70("div", { className: ScTableListMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx70("img", { src: imageUrl, alt: name, className: ScTableListMobile_default.image }) : /* @__PURE__ */ jsx70("div", { className: ScTableListMobile_default.initials, children: initials }) })
|
|
5102
5568
|
] }),
|
|
5103
|
-
/* @__PURE__ */
|
|
5104
|
-
/* @__PURE__ */
|
|
5105
|
-
/* @__PURE__ */
|
|
5106
|
-
accessIcons && accessIcons.length > 0 && /* @__PURE__ */
|
|
5107
|
-
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */
|
|
5569
|
+
/* @__PURE__ */ jsxs61("div", { className: ScTableListMobile_default.detailsRow, children: [
|
|
5570
|
+
/* @__PURE__ */ jsx70("div", { className: ScTableListMobile_default.roleBadge, children: /* @__PURE__ */ jsx70("p", { className: ScTableListMobile_default.roleText, children: role }) }),
|
|
5571
|
+
/* @__PURE__ */ jsxs61("div", { className: ScTableListMobile_default.accessInfo, children: [
|
|
5572
|
+
accessIcons && accessIcons.length > 0 && /* @__PURE__ */ jsx70("div", { className: ScTableListMobile_default.accessGroup, children: accessIcons.map((icon, i) => /* @__PURE__ */ jsx70("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) }),
|
|
5573
|
+
permissionIcons && permissionIcons.length > 0 && /* @__PURE__ */ jsx70("div", { className: ScTableListMobile_default.accessGroup, children: permissionIcons.map((icon, i) => /* @__PURE__ */ jsx70("span", { className: ScTableListMobile_default.accessIcon, children: icon }, i)) })
|
|
5108
5574
|
] })
|
|
5109
5575
|
] })
|
|
5110
5576
|
]
|
|
@@ -5132,7 +5598,7 @@ var ScWorkspaceSwitchMobile_default = {
|
|
|
5132
5598
|
};
|
|
5133
5599
|
|
|
5134
5600
|
// src/SC-workspaceSwitch-Mobile/ScWorkspaceSwitchMobile.tsx
|
|
5135
|
-
import { jsx as
|
|
5601
|
+
import { jsx as jsx71, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5136
5602
|
var ScWorkspaceSwitchMobile = ({
|
|
5137
5603
|
storeName = "Stores",
|
|
5138
5604
|
initials = "WS",
|
|
@@ -5145,24 +5611,24 @@ var ScWorkspaceSwitchMobile = ({
|
|
|
5145
5611
|
...props
|
|
5146
5612
|
}) => {
|
|
5147
5613
|
const variant = currentWs ? "current" : "other";
|
|
5148
|
-
return /* @__PURE__ */
|
|
5614
|
+
return /* @__PURE__ */ jsxs62(
|
|
5149
5615
|
"div",
|
|
5150
5616
|
{
|
|
5151
5617
|
className: ScWorkspaceSwitchMobile_default.scWorkspaceSwitchMobile + " " + ScWorkspaceSwitchMobile_default["variant-" + variant] + " " + className,
|
|
5152
5618
|
onClick,
|
|
5153
5619
|
...props,
|
|
5154
5620
|
children: [
|
|
5155
|
-
/* @__PURE__ */
|
|
5156
|
-
/* @__PURE__ */
|
|
5157
|
-
/* @__PURE__ */
|
|
5158
|
-
/* @__PURE__ */
|
|
5621
|
+
/* @__PURE__ */ jsxs62("div", { className: ScWorkspaceSwitchMobile_default.workspaceInfo, children: [
|
|
5622
|
+
/* @__PURE__ */ jsxs62("div", { className: ScWorkspaceSwitchMobile_default.wsNameRow, children: [
|
|
5623
|
+
/* @__PURE__ */ jsx71("div", { className: ScWorkspaceSwitchMobile_default.initialsBox, children: /* @__PURE__ */ jsx71("span", { className: ScWorkspaceSwitchMobile_default.initialsText, children: initials }) }),
|
|
5624
|
+
/* @__PURE__ */ jsx71("p", { className: ScWorkspaceSwitchMobile_default.storeName, children: storeName })
|
|
5159
5625
|
] }),
|
|
5160
|
-
/* @__PURE__ */
|
|
5626
|
+
/* @__PURE__ */ jsx71("div", { className: ScWorkspaceSwitchMobile_default.roleBadge, children: /* @__PURE__ */ jsx71("p", { className: ScWorkspaceSwitchMobile_default.roleText, children: role }) })
|
|
5161
5627
|
] }),
|
|
5162
|
-
/* @__PURE__ */
|
|
5163
|
-
/* @__PURE__ */
|
|
5164
|
-
/* @__PURE__ */
|
|
5165
|
-
/* @__PURE__ */
|
|
5628
|
+
/* @__PURE__ */ jsx71("div", { className: ScWorkspaceSwitchMobile_default.divider }),
|
|
5629
|
+
/* @__PURE__ */ jsxs62("div", { className: ScWorkspaceSwitchMobile_default.ownerRow, children: [
|
|
5630
|
+
/* @__PURE__ */ jsx71("div", { className: ScWorkspaceSwitchMobile_default.ownerIconContainer, children: ownerIcon && /* @__PURE__ */ jsx71("span", { className: ScWorkspaceSwitchMobile_default.ownerIcon, children: ownerIcon }) }),
|
|
5631
|
+
/* @__PURE__ */ jsx71("p", { className: ScWorkspaceSwitchMobile_default.ownerText, children: ownerId })
|
|
5166
5632
|
] })
|
|
5167
5633
|
]
|
|
5168
5634
|
}
|
|
@@ -5189,7 +5655,7 @@ var ScWorkspaceSettingsMobile_default = {
|
|
|
5189
5655
|
};
|
|
5190
5656
|
|
|
5191
5657
|
// src/SC-workspaceSettings-Mobile/ScWorkspaceSettingsMobile.tsx
|
|
5192
|
-
import { jsx as
|
|
5658
|
+
import { jsx as jsx72, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5193
5659
|
var ScWorkspaceSettingsMobile = ({
|
|
5194
5660
|
storeName = "Stores",
|
|
5195
5661
|
initials = "WS",
|
|
@@ -5204,28 +5670,28 @@ var ScWorkspaceSettingsMobile = ({
|
|
|
5204
5670
|
...props
|
|
5205
5671
|
}) => {
|
|
5206
5672
|
const variant = currentWs ? "current" : "other";
|
|
5207
|
-
return /* @__PURE__ */
|
|
5673
|
+
return /* @__PURE__ */ jsxs63(
|
|
5208
5674
|
"div",
|
|
5209
5675
|
{
|
|
5210
5676
|
className: ScWorkspaceSettingsMobile_default.scWorkspaceSettingsMobile + " " + ScWorkspaceSettingsMobile_default["variant-" + variant] + " " + className,
|
|
5211
5677
|
onClick,
|
|
5212
5678
|
...props,
|
|
5213
5679
|
children: [
|
|
5214
|
-
/* @__PURE__ */
|
|
5215
|
-
/* @__PURE__ */
|
|
5216
|
-
/* @__PURE__ */
|
|
5217
|
-
/* @__PURE__ */
|
|
5680
|
+
/* @__PURE__ */ jsxs63("div", { className: ScWorkspaceSettingsMobile_default.workspaceInfo, children: [
|
|
5681
|
+
/* @__PURE__ */ jsxs63("div", { className: ScWorkspaceSettingsMobile_default.wsNameRow, children: [
|
|
5682
|
+
/* @__PURE__ */ jsx72("div", { className: ScWorkspaceSettingsMobile_default.initialsBox, children: /* @__PURE__ */ jsx72("span", { className: ScWorkspaceSettingsMobile_default.initialsText, children: initials }) }),
|
|
5683
|
+
/* @__PURE__ */ jsx72("p", { className: ScWorkspaceSettingsMobile_default.storeName, children: storeName })
|
|
5218
5684
|
] }),
|
|
5219
|
-
/* @__PURE__ */
|
|
5685
|
+
/* @__PURE__ */ jsx72("div", { className: ScWorkspaceSettingsMobile_default.roleBadge, children: /* @__PURE__ */ jsx72("p", { className: ScWorkspaceSettingsMobile_default.roleText, children: role }) })
|
|
5220
5686
|
] }),
|
|
5221
|
-
/* @__PURE__ */
|
|
5222
|
-
/* @__PURE__ */
|
|
5223
|
-
/* @__PURE__ */
|
|
5224
|
-
/* @__PURE__ */
|
|
5687
|
+
/* @__PURE__ */ jsx72("div", { className: ScWorkspaceSettingsMobile_default.divider }),
|
|
5688
|
+
/* @__PURE__ */ jsxs63("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5689
|
+
/* @__PURE__ */ jsx72("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: ownerIcon && /* @__PURE__ */ jsx72("span", { className: ScWorkspaceSettingsMobile_default.icon, children: ownerIcon }) }),
|
|
5690
|
+
/* @__PURE__ */ jsx72("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: ownerId })
|
|
5225
5691
|
] }),
|
|
5226
|
-
/* @__PURE__ */
|
|
5227
|
-
/* @__PURE__ */
|
|
5228
|
-
/* @__PURE__ */
|
|
5692
|
+
/* @__PURE__ */ jsxs63("div", { className: ScWorkspaceSettingsMobile_default.infoRow, children: [
|
|
5693
|
+
/* @__PURE__ */ jsx72("div", { className: ScWorkspaceSettingsMobile_default.iconContainer, children: teamIcon && /* @__PURE__ */ jsx72("span", { className: ScWorkspaceSettingsMobile_default.icon, children: teamIcon }) }),
|
|
5694
|
+
/* @__PURE__ */ jsx72("p", { className: ScWorkspaceSettingsMobile_default.infoText, children: teamCount })
|
|
5229
5695
|
] })
|
|
5230
5696
|
]
|
|
5231
5697
|
}
|
|
@@ -5248,7 +5714,7 @@ var ScMobileTopNav_default = {
|
|
|
5248
5714
|
};
|
|
5249
5715
|
|
|
5250
5716
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5251
|
-
import { Fragment as
|
|
5717
|
+
import { Fragment as Fragment21, jsx as jsx73, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
5252
5718
|
var ScMobileTopNav = ({
|
|
5253
5719
|
type = "home",
|
|
5254
5720
|
searchIcon = false,
|
|
@@ -5271,22 +5737,22 @@ var ScMobileTopNav = ({
|
|
|
5271
5737
|
}) => {
|
|
5272
5738
|
const hasBorder = type === "chat" || type === "inApp";
|
|
5273
5739
|
const showSearch = type === "inApp" && searchIcon && search;
|
|
5274
|
-
return /* @__PURE__ */
|
|
5740
|
+
return /* @__PURE__ */ jsxs64(
|
|
5275
5741
|
"div",
|
|
5276
5742
|
{
|
|
5277
5743
|
className: ScMobileTopNav_default.scMobileTopNav + " " + (hasBorder ? ScMobileTopNav_default.withBorder : "") + " " + className,
|
|
5278
5744
|
...props,
|
|
5279
5745
|
children: [
|
|
5280
|
-
type === "home" && /* @__PURE__ */
|
|
5281
|
-
type === "chat" && /* @__PURE__ */
|
|
5282
|
-
/* @__PURE__ */
|
|
5283
|
-
/* @__PURE__ */
|
|
5284
|
-
/* @__PURE__ */
|
|
5746
|
+
type === "home" && /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5747
|
+
type === "chat" && /* @__PURE__ */ jsxs64(Fragment21, { children: [
|
|
5748
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5749
|
+
/* @__PURE__ */ jsx73("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
5750
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5285
5751
|
] }),
|
|
5286
|
-
showSearch && /* @__PURE__ */
|
|
5287
|
-
/* @__PURE__ */
|
|
5288
|
-
/* @__PURE__ */
|
|
5289
|
-
/* @__PURE__ */
|
|
5752
|
+
showSearch && /* @__PURE__ */ jsxs64(Fragment21, { children: [
|
|
5753
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs64("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
5754
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5755
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx73(
|
|
5290
5756
|
"input",
|
|
5291
5757
|
{
|
|
5292
5758
|
type: "text",
|
|
@@ -5297,17 +5763,17 @@ var ScMobileTopNav = ({
|
|
|
5297
5763
|
}
|
|
5298
5764
|
) })
|
|
5299
5765
|
] }) }),
|
|
5300
|
-
/* @__PURE__ */
|
|
5766
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5301
5767
|
] }),
|
|
5302
|
-
type === "inApp" && !search && /* @__PURE__ */
|
|
5303
|
-
/* @__PURE__ */
|
|
5304
|
-
/* @__PURE__ */
|
|
5305
|
-
/* @__PURE__ */
|
|
5768
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs64(Fragment21, { children: [
|
|
5769
|
+
/* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5770
|
+
/* @__PURE__ */ jsx73("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
5771
|
+
/* @__PURE__ */ jsx73(
|
|
5306
5772
|
"div",
|
|
5307
5773
|
{
|
|
5308
5774
|
className: ScMobileTopNav_default.iconContainer + " " + (!searchIcon ? ScMobileTopNav_default.hidden : ""),
|
|
5309
5775
|
onClick: onSearchClick,
|
|
5310
|
-
children: searchIcon ? searchIconElement || /* @__PURE__ */
|
|
5776
|
+
children: searchIcon ? searchIconElement || /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder }) : /* @__PURE__ */ jsx73("div", { className: ScMobileTopNav_default.iconPlaceholder })
|
|
5311
5777
|
}
|
|
5312
5778
|
)
|
|
5313
5779
|
] })
|
|
@@ -5328,7 +5794,7 @@ var ScMobileBottomAction_default = {
|
|
|
5328
5794
|
};
|
|
5329
5795
|
|
|
5330
5796
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5331
|
-
import { jsx as
|
|
5797
|
+
import { jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5332
5798
|
var ScMobileBottomAction = ({
|
|
5333
5799
|
text = "Save Changes",
|
|
5334
5800
|
disabled = false,
|
|
@@ -5340,28 +5806,28 @@ var ScMobileBottomAction = ({
|
|
|
5340
5806
|
...props
|
|
5341
5807
|
}) => {
|
|
5342
5808
|
const isTwoButton = !!secondaryText;
|
|
5343
|
-
return /* @__PURE__ */
|
|
5809
|
+
return /* @__PURE__ */ jsxs65(
|
|
5344
5810
|
"div",
|
|
5345
5811
|
{
|
|
5346
5812
|
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5347
5813
|
...props,
|
|
5348
5814
|
children: [
|
|
5349
|
-
isTwoButton && /* @__PURE__ */
|
|
5815
|
+
isTwoButton && /* @__PURE__ */ jsx74(
|
|
5350
5816
|
"button",
|
|
5351
5817
|
{
|
|
5352
5818
|
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5353
5819
|
onClick: onSecondaryClick,
|
|
5354
5820
|
disabled: secondaryDisabled,
|
|
5355
|
-
children: /* @__PURE__ */
|
|
5821
|
+
children: /* @__PURE__ */ jsx74("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5356
5822
|
}
|
|
5357
5823
|
),
|
|
5358
|
-
/* @__PURE__ */
|
|
5824
|
+
/* @__PURE__ */ jsx74(
|
|
5359
5825
|
"button",
|
|
5360
5826
|
{
|
|
5361
5827
|
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5362
5828
|
onClick,
|
|
5363
5829
|
disabled,
|
|
5364
|
-
children: /* @__PURE__ */
|
|
5830
|
+
children: /* @__PURE__ */ jsx74("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5365
5831
|
}
|
|
5366
5832
|
)
|
|
5367
5833
|
]
|
|
@@ -5379,7 +5845,7 @@ var ScPopUpMenu_default = {
|
|
|
5379
5845
|
};
|
|
5380
5846
|
|
|
5381
5847
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5382
|
-
import { jsx as
|
|
5848
|
+
import { jsx as jsx75, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5383
5849
|
var ScPopUpMenu = ({
|
|
5384
5850
|
menu = "Options",
|
|
5385
5851
|
state = "default",
|
|
@@ -5388,15 +5854,15 @@ var ScPopUpMenu = ({
|
|
|
5388
5854
|
className,
|
|
5389
5855
|
...props
|
|
5390
5856
|
}) => {
|
|
5391
|
-
return /* @__PURE__ */
|
|
5857
|
+
return /* @__PURE__ */ jsxs66(
|
|
5392
5858
|
"div",
|
|
5393
5859
|
{
|
|
5394
5860
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
5395
5861
|
onClick,
|
|
5396
5862
|
...props,
|
|
5397
5863
|
children: [
|
|
5398
|
-
icon && /* @__PURE__ */
|
|
5399
|
-
/* @__PURE__ */
|
|
5864
|
+
icon && /* @__PURE__ */ jsx75("span", { className: ScPopUpMenu_default.icon, children: icon }),
|
|
5865
|
+
/* @__PURE__ */ jsx75("p", { className: ScPopUpMenu_default.menuText, children: menu })
|
|
5400
5866
|
]
|
|
5401
5867
|
}
|
|
5402
5868
|
);
|
|
@@ -5422,7 +5888,7 @@ var ScReferralCardMobile_default = {
|
|
|
5422
5888
|
};
|
|
5423
5889
|
|
|
5424
5890
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5425
|
-
import { jsx as
|
|
5891
|
+
import { jsx as jsx76, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5426
5892
|
var ScReferralCardMobile = ({
|
|
5427
5893
|
name = "Chris Hemsworth",
|
|
5428
5894
|
email = "chris@kepler.com",
|
|
@@ -5435,27 +5901,27 @@ var ScReferralCardMobile = ({
|
|
|
5435
5901
|
...props
|
|
5436
5902
|
}) => {
|
|
5437
5903
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5438
|
-
return /* @__PURE__ */
|
|
5904
|
+
return /* @__PURE__ */ jsxs67(
|
|
5439
5905
|
"div",
|
|
5440
5906
|
{
|
|
5441
5907
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5442
5908
|
onClick,
|
|
5443
5909
|
...props,
|
|
5444
5910
|
children: [
|
|
5445
|
-
/* @__PURE__ */
|
|
5446
|
-
/* @__PURE__ */
|
|
5447
|
-
/* @__PURE__ */
|
|
5448
|
-
/* @__PURE__ */
|
|
5449
|
-
/* @__PURE__ */
|
|
5450
|
-
/* @__PURE__ */
|
|
5911
|
+
/* @__PURE__ */ jsxs67("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
5912
|
+
/* @__PURE__ */ jsxs67("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
5913
|
+
/* @__PURE__ */ jsx76("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx76("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx76("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
5914
|
+
/* @__PURE__ */ jsxs67("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
5915
|
+
/* @__PURE__ */ jsx76("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
5916
|
+
/* @__PURE__ */ jsx76("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
5451
5917
|
] })
|
|
5452
5918
|
] }),
|
|
5453
|
-
/* @__PURE__ */
|
|
5919
|
+
/* @__PURE__ */ jsx76("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx76("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5454
5920
|
] }),
|
|
5455
|
-
/* @__PURE__ */
|
|
5456
|
-
/* @__PURE__ */
|
|
5457
|
-
/* @__PURE__ */
|
|
5458
|
-
/* @__PURE__ */
|
|
5921
|
+
/* @__PURE__ */ jsx76("div", { className: ScReferralCardMobile_default.divider }),
|
|
5922
|
+
/* @__PURE__ */ jsxs67("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
5923
|
+
/* @__PURE__ */ jsx76("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
5924
|
+
/* @__PURE__ */ jsx76("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
5459
5925
|
] })
|
|
5460
5926
|
]
|
|
5461
5927
|
}
|
|
@@ -5472,19 +5938,19 @@ var InvoiceHistoryMobile_default = {
|
|
|
5472
5938
|
};
|
|
5473
5939
|
|
|
5474
5940
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5475
|
-
import { jsx as
|
|
5941
|
+
import { jsx as jsx77, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5476
5942
|
var InvoiceHistoryMobile = ({
|
|
5477
5943
|
invoiceId = "# INV-2800-2026",
|
|
5478
5944
|
date = "Nov 9th, 2025",
|
|
5479
5945
|
amount = "$320.89",
|
|
5480
5946
|
className
|
|
5481
5947
|
}) => {
|
|
5482
|
-
return /* @__PURE__ */
|
|
5483
|
-
/* @__PURE__ */
|
|
5484
|
-
/* @__PURE__ */
|
|
5485
|
-
/* @__PURE__ */
|
|
5948
|
+
return /* @__PURE__ */ jsxs68("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
5949
|
+
/* @__PURE__ */ jsxs68("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
5950
|
+
/* @__PURE__ */ jsx77("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
5951
|
+
/* @__PURE__ */ jsx77("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
5486
5952
|
] }),
|
|
5487
|
-
/* @__PURE__ */
|
|
5953
|
+
/* @__PURE__ */ jsx77("div", { className: InvoiceHistoryMobile_default.amount, children: amount })
|
|
5488
5954
|
] });
|
|
5489
5955
|
};
|
|
5490
5956
|
|
|
@@ -5502,7 +5968,7 @@ var UsageHistoryMobile_default = {
|
|
|
5502
5968
|
};
|
|
5503
5969
|
|
|
5504
5970
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5505
|
-
import { jsx as
|
|
5971
|
+
import { jsx as jsx78, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
5506
5972
|
var UsageHistoryMobile = ({
|
|
5507
5973
|
serviceName = "Artifax Generation",
|
|
5508
5974
|
credits = "50",
|
|
@@ -5511,18 +5977,18 @@ var UsageHistoryMobile = ({
|
|
|
5511
5977
|
balance = "84,902",
|
|
5512
5978
|
className
|
|
5513
5979
|
}) => {
|
|
5514
|
-
return /* @__PURE__ */
|
|
5515
|
-
/* @__PURE__ */
|
|
5516
|
-
/* @__PURE__ */
|
|
5517
|
-
/* @__PURE__ */
|
|
5980
|
+
return /* @__PURE__ */ jsxs69("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
5981
|
+
/* @__PURE__ */ jsxs69("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
5982
|
+
/* @__PURE__ */ jsx78("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
5983
|
+
/* @__PURE__ */ jsx78("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
5518
5984
|
] }),
|
|
5519
|
-
/* @__PURE__ */
|
|
5520
|
-
/* @__PURE__ */
|
|
5521
|
-
/* @__PURE__ */
|
|
5522
|
-
/* @__PURE__ */
|
|
5523
|
-
/* @__PURE__ */
|
|
5985
|
+
/* @__PURE__ */ jsxs69("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
5986
|
+
/* @__PURE__ */ jsxs69("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
5987
|
+
/* @__PURE__ */ jsx78("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
5988
|
+
/* @__PURE__ */ jsx78("div", { className: UsageHistoryMobile_default.divider }),
|
|
5989
|
+
/* @__PURE__ */ jsx78("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
5524
5990
|
] }),
|
|
5525
|
-
/* @__PURE__ */
|
|
5991
|
+
/* @__PURE__ */ jsx78("span", { className: UsageHistoryMobile_default.balance, children: balance })
|
|
5526
5992
|
] })
|
|
5527
5993
|
] });
|
|
5528
5994
|
};
|
|
@@ -5546,7 +6012,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5546
6012
|
};
|
|
5547
6013
|
|
|
5548
6014
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5549
|
-
import { jsx as
|
|
6015
|
+
import { jsx as jsx79, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
5550
6016
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5551
6017
|
wsName = "Workspace name is kepler",
|
|
5552
6018
|
initials = "WS",
|
|
@@ -5559,14 +6025,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5559
6025
|
className,
|
|
5560
6026
|
...props
|
|
5561
6027
|
}) => {
|
|
5562
|
-
return /* @__PURE__ */
|
|
6028
|
+
return /* @__PURE__ */ jsx79(
|
|
5563
6029
|
"div",
|
|
5564
6030
|
{
|
|
5565
6031
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5566
6032
|
onClick,
|
|
5567
6033
|
...props,
|
|
5568
|
-
children: /* @__PURE__ */
|
|
5569
|
-
/* @__PURE__ */
|
|
6034
|
+
children: /* @__PURE__ */ jsxs70("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
6035
|
+
/* @__PURE__ */ jsx79("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx79(
|
|
5570
6036
|
ScDp,
|
|
5571
6037
|
{
|
|
5572
6038
|
type: imageUrl ? "image" : "initial",
|
|
@@ -5580,14 +6046,14 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5580
6046
|
}
|
|
5581
6047
|
}
|
|
5582
6048
|
) }),
|
|
5583
|
-
/* @__PURE__ */
|
|
5584
|
-
/* @__PURE__ */
|
|
5585
|
-
/* @__PURE__ */
|
|
5586
|
-
/* @__PURE__ */
|
|
5587
|
-
/* @__PURE__ */
|
|
5588
|
-
/* @__PURE__ */
|
|
5589
|
-
/* @__PURE__ */
|
|
5590
|
-
/* @__PURE__ */
|
|
6049
|
+
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
6050
|
+
/* @__PURE__ */ jsx79("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
6051
|
+
/* @__PURE__ */ jsxs70("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
6052
|
+
/* @__PURE__ */ jsx79("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
6053
|
+
/* @__PURE__ */ jsx79("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
6054
|
+
/* @__PURE__ */ jsx79("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
6055
|
+
/* @__PURE__ */ jsx79("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
6056
|
+
/* @__PURE__ */ jsx79("span", { className: ScWorkspaceSwitchMobileV2_default.ownerText, children: ownerId })
|
|
5591
6057
|
] })
|
|
5592
6058
|
] })
|
|
5593
6059
|
] })
|
|
@@ -5614,7 +6080,7 @@ var ScImageField_default = {
|
|
|
5614
6080
|
|
|
5615
6081
|
// src/SC-imageField/ScImageField.tsx
|
|
5616
6082
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
5617
|
-
import { jsx as
|
|
6083
|
+
import { jsx as jsx80, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
5618
6084
|
var ScImageField = ({
|
|
5619
6085
|
label = "Label",
|
|
5620
6086
|
imagePreview,
|
|
@@ -5637,8 +6103,8 @@ var ScImageField = ({
|
|
|
5637
6103
|
}
|
|
5638
6104
|
e.target.value = "";
|
|
5639
6105
|
}
|
|
5640
|
-
return /* @__PURE__ */
|
|
5641
|
-
/* @__PURE__ */
|
|
6106
|
+
return /* @__PURE__ */ jsxs71("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
6107
|
+
/* @__PURE__ */ jsx80(
|
|
5642
6108
|
"input",
|
|
5643
6109
|
{
|
|
5644
6110
|
ref: inputRef,
|
|
@@ -5648,9 +6114,9 @@ var ScImageField = ({
|
|
|
5648
6114
|
onChange: handleChange
|
|
5649
6115
|
}
|
|
5650
6116
|
),
|
|
5651
|
-
/* @__PURE__ */
|
|
5652
|
-
hasImage ? /* @__PURE__ */
|
|
5653
|
-
/* @__PURE__ */
|
|
6117
|
+
/* @__PURE__ */ jsx80("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx80("div", { className: ScImageField_default.label, children: label }) }),
|
|
6118
|
+
hasImage ? /* @__PURE__ */ jsxs71("div", { className: ScImageField_default.previewArea, children: [
|
|
6119
|
+
/* @__PURE__ */ jsx80(
|
|
5654
6120
|
"img",
|
|
5655
6121
|
{
|
|
5656
6122
|
className: ScImageField_default.previewImage,
|
|
@@ -5658,8 +6124,8 @@ var ScImageField = ({
|
|
|
5658
6124
|
alt: "preview"
|
|
5659
6125
|
}
|
|
5660
6126
|
),
|
|
5661
|
-
/* @__PURE__ */
|
|
5662
|
-
/* @__PURE__ */
|
|
6127
|
+
/* @__PURE__ */ jsx80("span", { className: ScImageField_default.fileName, children: imageName || "image" }),
|
|
6128
|
+
/* @__PURE__ */ jsx80(
|
|
5663
6129
|
SiconDelete2,
|
|
5664
6130
|
{
|
|
5665
6131
|
className: ScImageField_default.removeIcon,
|
|
@@ -5670,9 +6136,9 @@ var ScImageField = ({
|
|
|
5670
6136
|
}
|
|
5671
6137
|
}
|
|
5672
6138
|
)
|
|
5673
|
-
] }) : /* @__PURE__ */
|
|
5674
|
-
/* @__PURE__ */
|
|
5675
|
-
/* @__PURE__ */
|
|
6139
|
+
] }) : /* @__PURE__ */ jsxs71("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
6140
|
+
/* @__PURE__ */ jsx80(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
6141
|
+
/* @__PURE__ */ jsx80("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
5676
6142
|
] })
|
|
5677
6143
|
] });
|
|
5678
6144
|
};
|
|
@@ -5686,7 +6152,7 @@ var ScSettingsTabComp_default = {
|
|
|
5686
6152
|
};
|
|
5687
6153
|
|
|
5688
6154
|
// src/SC-settingsTabComp/ScSettingsTabComp.tsx
|
|
5689
|
-
import { jsx as
|
|
6155
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
5690
6156
|
var ScSettingsTabComp = ({
|
|
5691
6157
|
tabName = "Tab",
|
|
5692
6158
|
active = false,
|
|
@@ -5694,12 +6160,12 @@ var ScSettingsTabComp = ({
|
|
|
5694
6160
|
className
|
|
5695
6161
|
}) => {
|
|
5696
6162
|
const variantsClassName = ScSettingsTabComp_default["active-" + active];
|
|
5697
|
-
return /* @__PURE__ */
|
|
6163
|
+
return /* @__PURE__ */ jsx81(
|
|
5698
6164
|
"div",
|
|
5699
6165
|
{
|
|
5700
6166
|
className: ScSettingsTabComp_default.scSettingsTabComp + " " + variantsClassName + " " + (className ?? ""),
|
|
5701
6167
|
onClick,
|
|
5702
|
-
children: /* @__PURE__ */
|
|
6168
|
+
children: /* @__PURE__ */ jsx81("span", { className: ScSettingsTabComp_default.tabText, children: tabName })
|
|
5703
6169
|
}
|
|
5704
6170
|
);
|
|
5705
6171
|
};
|
|
@@ -5719,7 +6185,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5719
6185
|
|
|
5720
6186
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5721
6187
|
import { SiconCredits as SiconCredits3 } from "@streamoid/icons";
|
|
5722
|
-
import { jsx as
|
|
6188
|
+
import { jsx as jsx82, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
5723
6189
|
var ScCreditsUsageCardMobile = ({
|
|
5724
6190
|
usageLabel = "Credits usage",
|
|
5725
6191
|
usageText = "8,450 / 30,000",
|
|
@@ -5729,23 +6195,23 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5729
6195
|
className,
|
|
5730
6196
|
...props
|
|
5731
6197
|
}) => {
|
|
5732
|
-
return /* @__PURE__ */
|
|
5733
|
-
/* @__PURE__ */
|
|
5734
|
-
/* @__PURE__ */
|
|
6198
|
+
return /* @__PURE__ */ jsxs72("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
6199
|
+
/* @__PURE__ */ jsxs72("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
6200
|
+
/* @__PURE__ */ jsx82(
|
|
5735
6201
|
SiconCredits3,
|
|
5736
6202
|
{
|
|
5737
6203
|
className: ScCreditsUsageCardMobile_default.headerIcon,
|
|
5738
6204
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5739
6205
|
}
|
|
5740
6206
|
),
|
|
5741
|
-
/* @__PURE__ */
|
|
6207
|
+
/* @__PURE__ */ jsx82("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5742
6208
|
] }),
|
|
5743
|
-
/* @__PURE__ */
|
|
5744
|
-
/* @__PURE__ */
|
|
5745
|
-
/* @__PURE__ */
|
|
5746
|
-
/* @__PURE__ */
|
|
6209
|
+
/* @__PURE__ */ jsx82("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
6210
|
+
/* @__PURE__ */ jsxs72("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
6211
|
+
/* @__PURE__ */ jsx82("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
6212
|
+
/* @__PURE__ */ jsx82("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
5747
6213
|
] }),
|
|
5748
|
-
/* @__PURE__ */
|
|
6214
|
+
/* @__PURE__ */ jsx82(
|
|
5749
6215
|
ScButton,
|
|
5750
6216
|
{
|
|
5751
6217
|
text: buyButtonText,
|
|
@@ -5777,7 +6243,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5777
6243
|
|
|
5778
6244
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5779
6245
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
5780
|
-
import { jsx as
|
|
6246
|
+
import { jsx as jsx83, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
5781
6247
|
var ScPlanDetailsCardMobile = ({
|
|
5782
6248
|
planName = "Pro",
|
|
5783
6249
|
planCredits = "30,000 credits",
|
|
@@ -5789,19 +6255,19 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5789
6255
|
className,
|
|
5790
6256
|
...props
|
|
5791
6257
|
}) => {
|
|
5792
|
-
return /* @__PURE__ */
|
|
5793
|
-
/* @__PURE__ */
|
|
5794
|
-
/* @__PURE__ */
|
|
5795
|
-
/* @__PURE__ */
|
|
6258
|
+
return /* @__PURE__ */ jsxs73("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
6259
|
+
/* @__PURE__ */ jsxs73("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
6260
|
+
/* @__PURE__ */ jsxs73("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
6261
|
+
/* @__PURE__ */ jsx83(
|
|
5796
6262
|
SiconBilling4,
|
|
5797
6263
|
{
|
|
5798
6264
|
className: ScPlanDetailsCardMobile_default.headerIcon,
|
|
5799
6265
|
color: "var(--alias-text-and-icons-tertiary, #9e9e9e)"
|
|
5800
6266
|
}
|
|
5801
6267
|
),
|
|
5802
|
-
/* @__PURE__ */
|
|
6268
|
+
/* @__PURE__ */ jsx83("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
5803
6269
|
] }),
|
|
5804
|
-
/* @__PURE__ */
|
|
6270
|
+
/* @__PURE__ */ jsx83(
|
|
5805
6271
|
ScBadges,
|
|
5806
6272
|
{
|
|
5807
6273
|
text: badgeText,
|
|
@@ -5811,16 +6277,16 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5811
6277
|
}
|
|
5812
6278
|
)
|
|
5813
6279
|
] }),
|
|
5814
|
-
/* @__PURE__ */
|
|
5815
|
-
/* @__PURE__ */
|
|
5816
|
-
/* @__PURE__ */
|
|
5817
|
-
/* @__PURE__ */
|
|
5818
|
-
/* @__PURE__ */
|
|
5819
|
-
/* @__PURE__ */
|
|
6280
|
+
/* @__PURE__ */ jsx83("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
6281
|
+
/* @__PURE__ */ jsxs73("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
|
|
6282
|
+
/* @__PURE__ */ jsxs73("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
6283
|
+
/* @__PURE__ */ jsx83("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
6284
|
+
/* @__PURE__ */ jsx83("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
6285
|
+
/* @__PURE__ */ jsx83("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
5820
6286
|
] }),
|
|
5821
|
-
/* @__PURE__ */
|
|
6287
|
+
/* @__PURE__ */ jsx83("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
5822
6288
|
] }),
|
|
5823
|
-
/* @__PURE__ */
|
|
6289
|
+
/* @__PURE__ */ jsx83(
|
|
5824
6290
|
ScButton,
|
|
5825
6291
|
{
|
|
5826
6292
|
text: upgradeButtonText,
|
|
@@ -5843,6 +6309,7 @@ export {
|
|
|
5843
6309
|
ScAppField,
|
|
5844
6310
|
ScAppListingCard,
|
|
5845
6311
|
ScArtifaxInvite,
|
|
6312
|
+
ScArtifaxSidebar,
|
|
5846
6313
|
ScBadges,
|
|
5847
6314
|
ScBillingHistoryHeader,
|
|
5848
6315
|
ScBillingHistoryTableList,
|
|
@@ -5859,6 +6326,7 @@ export {
|
|
|
5859
6326
|
ScDp,
|
|
5860
6327
|
ScFieldButton,
|
|
5861
6328
|
ScGoogleSignIn,
|
|
6329
|
+
ScGuide,
|
|
5862
6330
|
ScHDivider,
|
|
5863
6331
|
ScHeader,
|
|
5864
6332
|
ScImageField,
|
|
@@ -5891,6 +6359,7 @@ export {
|
|
|
5891
6359
|
ScRoleMobile,
|
|
5892
6360
|
ScSettingsNav,
|
|
5893
6361
|
ScSettingsTabComp,
|
|
6362
|
+
ScSideBarLogoUnit,
|
|
5894
6363
|
ScSidebar,
|
|
5895
6364
|
ScSidebarIcons,
|
|
5896
6365
|
ScSidebarMenu,
|