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