@streamoid/ui 0.6.24 → 0.6.26
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 +4 -3
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +42 -4
- package/dist/index.mjs +140 -102
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -3896,13 +3896,13 @@
|
|
|
3896
3896
|
.ScSidebarShell_appWordmark {
|
|
3897
3897
|
display: inline-flex;
|
|
3898
3898
|
min-width: 0;
|
|
3899
|
-
max-width:
|
|
3899
|
+
max-width: none;
|
|
3900
3900
|
align-items: center;
|
|
3901
3901
|
overflow: hidden;
|
|
3902
3902
|
}
|
|
3903
3903
|
.ScSidebarShell_appWordmark svg {
|
|
3904
|
-
|
|
3905
|
-
height:
|
|
3904
|
+
width: auto;
|
|
3905
|
+
height: 16px;
|
|
3906
3906
|
}
|
|
3907
3907
|
.ScSidebarShell_appGridIcon {
|
|
3908
3908
|
display: grid;
|
|
@@ -4240,6 +4240,7 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4240
4240
|
.ScArtifaxSidebar_appIdentityMain {
|
|
4241
4241
|
display: flex;
|
|
4242
4242
|
flex: 1 1 0;
|
|
4243
|
+
width: 100%;
|
|
4243
4244
|
min-width: 0;
|
|
4244
4245
|
min-height: 3rem;
|
|
4245
4246
|
align-items: center;
|
package/dist/index.d.mts
CHANGED
|
@@ -84,6 +84,8 @@ interface IScAppSwitchPanelProps {
|
|
|
84
84
|
/** Standard Changelog, Status Page, and Help and Support rows. Prefer this
|
|
85
85
|
* over rebuilding `systemItems` in each Streamoid application. */
|
|
86
86
|
utilities?: ScAppSwitchUtilities;
|
|
87
|
+
/** Panel heading. Defaults to "Switch Apps". Pass `null` to hide it. */
|
|
88
|
+
title?: string | null;
|
|
87
89
|
/** Optional section title. Omit it for a compact, divider-only section. */
|
|
88
90
|
systemLabel?: string;
|
|
89
91
|
className?: string;
|
|
@@ -100,7 +102,7 @@ declare const ScAppSwitchRow: ({ item, }: {
|
|
|
100
102
|
/** Shared product-switch list — the same across every Streamoid app. The host
|
|
101
103
|
* passes its product list (current app excluded) and its own logo lives in the
|
|
102
104
|
* surrounding sidebar; only this content is identical everywhere. */
|
|
103
|
-
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
105
|
+
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, title, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
104
106
|
|
|
105
107
|
interface IScBadgesProps {
|
|
106
108
|
text?: string;
|
|
@@ -686,7 +688,8 @@ interface StreamoidSidebarPopoverPositionOptions {
|
|
|
686
688
|
width: number;
|
|
687
689
|
/** Horizontal gap between the sidebar and panel. Defaults to 8px. */
|
|
688
690
|
gap?: number;
|
|
689
|
-
/** Vertical inset from the sidebar card edge. Defaults to
|
|
691
|
+
/** Vertical inset from the sidebar card edge. Defaults to 0 so the
|
|
692
|
+
* panel lines up with the top or bottom of the visible sidenav. */
|
|
690
693
|
inset?: number;
|
|
691
694
|
}
|
|
692
695
|
type StreamoidSidebarPopoverPosition = CSSProperties & {
|
package/dist/index.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ interface IScAppSwitchPanelProps {
|
|
|
84
84
|
/** Standard Changelog, Status Page, and Help and Support rows. Prefer this
|
|
85
85
|
* over rebuilding `systemItems` in each Streamoid application. */
|
|
86
86
|
utilities?: ScAppSwitchUtilities;
|
|
87
|
+
/** Panel heading. Defaults to "Switch Apps". Pass `null` to hide it. */
|
|
88
|
+
title?: string | null;
|
|
87
89
|
/** Optional section title. Omit it for a compact, divider-only section. */
|
|
88
90
|
systemLabel?: string;
|
|
89
91
|
className?: string;
|
|
@@ -100,7 +102,7 @@ declare const ScAppSwitchRow: ({ item, }: {
|
|
|
100
102
|
/** Shared product-switch list — the same across every Streamoid app. The host
|
|
101
103
|
* passes its product list (current app excluded) and its own logo lives in the
|
|
102
104
|
* surrounding sidebar; only this content is identical everywhere. */
|
|
103
|
-
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
105
|
+
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, title, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
104
106
|
|
|
105
107
|
interface IScBadgesProps {
|
|
106
108
|
text?: string;
|
|
@@ -686,7 +688,8 @@ interface StreamoidSidebarPopoverPositionOptions {
|
|
|
686
688
|
width: number;
|
|
687
689
|
/** Horizontal gap between the sidebar and panel. Defaults to 8px. */
|
|
688
690
|
gap?: number;
|
|
689
|
-
/** Vertical inset from the sidebar card edge. Defaults to
|
|
691
|
+
/** Vertical inset from the sidebar card edge. Defaults to 0 so the
|
|
692
|
+
* panel lines up with the top or bottom of the visible sidenav. */
|
|
690
693
|
inset?: number;
|
|
691
694
|
}
|
|
692
695
|
type StreamoidSidebarPopoverPosition = CSSProperties & {
|
package/dist/index.js
CHANGED
|
@@ -640,6 +640,7 @@ var ScAppSwitchPanel = ({
|
|
|
640
640
|
apps,
|
|
641
641
|
systemItems,
|
|
642
642
|
utilities,
|
|
643
|
+
title = "Switch Apps",
|
|
643
644
|
systemLabel,
|
|
644
645
|
className,
|
|
645
646
|
style
|
|
@@ -659,6 +660,34 @@ var ScAppSwitchPanel = ({
|
|
|
659
660
|
...style
|
|
660
661
|
},
|
|
661
662
|
children: [
|
|
663
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
664
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
665
|
+
"h2",
|
|
666
|
+
{
|
|
667
|
+
style: {
|
|
668
|
+
margin: 0,
|
|
669
|
+
padding: "var(--spacing-xl, 12px) var(--spacing-3xl, 16px) var(--spacing-sm, 4px)",
|
|
670
|
+
color: T.primary,
|
|
671
|
+
fontFamily: T.font,
|
|
672
|
+
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
673
|
+
lineHeight: "var(--line-height-line-height-sm, 20px)",
|
|
674
|
+
fontWeight: 500
|
|
675
|
+
},
|
|
676
|
+
children: title
|
|
677
|
+
}
|
|
678
|
+
),
|
|
679
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
680
|
+
"div",
|
|
681
|
+
{
|
|
682
|
+
"aria-hidden": true,
|
|
683
|
+
style: {
|
|
684
|
+
height: 1,
|
|
685
|
+
margin: "0 var(--spacing-md, 8px)",
|
|
686
|
+
background: "var(--alias-border-divider, #dedede)"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
)
|
|
690
|
+
] }) : null,
|
|
662
691
|
ordered.map((app) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ScAppSwitchRow, { item: app }, app.key)),
|
|
663
692
|
resolvedSystemItems.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
664
693
|
"div",
|
|
@@ -5143,7 +5172,13 @@ function ScSidebarAppIdentity({
|
|
|
5143
5172
|
title: "Switch Apps",
|
|
5144
5173
|
className: `${ScSidebarShell_default.appIdentity} ${expanded ? ScSidebarShell_default.appIdentityExpanded : ScSidebarShell_default.appIdentityCollapsed}${className ? ` ${className}` : ""}`,
|
|
5145
5174
|
children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
5146
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5175
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5176
|
+
ScAppcardLogos,
|
|
5177
|
+
{
|
|
5178
|
+
product,
|
|
5179
|
+
style: { height: 16 }
|
|
5180
|
+
}
|
|
5181
|
+
) }),
|
|
5147
5182
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(AppGridIcon, {})
|
|
5148
5183
|
] }) : collapsedMark ?? (product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidMascot, { size: 40 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { "aria-hidden": true, className: ScSidebarShell_default.collapsedProductMark, children: collapsedLabel ?? COMPACT_APP_LABELS[product] }))
|
|
5149
5184
|
}
|
|
@@ -5544,7 +5579,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5544
5579
|
placement,
|
|
5545
5580
|
width,
|
|
5546
5581
|
gap = 8,
|
|
5547
|
-
inset =
|
|
5582
|
+
inset = 0
|
|
5548
5583
|
}) {
|
|
5549
5584
|
const [position, setPosition] = (0, import_react14.useState)({
|
|
5550
5585
|
position: "fixed",
|
|
@@ -5588,7 +5623,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5588
5623
|
window.innerHeight - bounds.bottom + inset
|
|
5589
5624
|
)
|
|
5590
5625
|
};
|
|
5591
|
-
|
|
5626
|
+
const next = {
|
|
5592
5627
|
position: "fixed",
|
|
5593
5628
|
left,
|
|
5594
5629
|
width: panelWidth,
|
|
@@ -5596,7 +5631,10 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5596
5631
|
maxHeight: `calc(100dvh - ${VIEWPORT_INSET * 2}px)`,
|
|
5597
5632
|
visibility: "visible",
|
|
5598
5633
|
...vertical
|
|
5599
|
-
}
|
|
5634
|
+
};
|
|
5635
|
+
setPosition(
|
|
5636
|
+
(prev) => prev.left === next.left && prev.width === next.width && prev.visibility === next.visibility && prev.top === next.top && prev.bottom === next.bottom ? prev : next
|
|
5637
|
+
);
|
|
5600
5638
|
};
|
|
5601
5639
|
resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5602
5640
|
measure();
|
package/dist/index.mjs
CHANGED
|
@@ -214,7 +214,7 @@ function ScStreamoidMascot({
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
// src/SC-AppSwitch/ScAppSwitchPanel.tsx
|
|
217
|
-
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
217
|
+
import { Fragment, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
218
218
|
var STREAMOID_CHANGELOG_URL = "https://doc.clickup.com/3414296/p/h/3868r-26044/13a22b6f796b2c8";
|
|
219
219
|
var STREAMOID_STATUS_PAGE_URL = "https://status.streamoid.com/";
|
|
220
220
|
function openExternal(url) {
|
|
@@ -472,6 +472,7 @@ var ScAppSwitchPanel = ({
|
|
|
472
472
|
apps,
|
|
473
473
|
systemItems,
|
|
474
474
|
utilities,
|
|
475
|
+
title = "Switch Apps",
|
|
475
476
|
systemLabel,
|
|
476
477
|
className,
|
|
477
478
|
style
|
|
@@ -491,6 +492,34 @@ var ScAppSwitchPanel = ({
|
|
|
491
492
|
...style
|
|
492
493
|
},
|
|
493
494
|
children: [
|
|
495
|
+
title ? /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
496
|
+
/* @__PURE__ */ jsx5(
|
|
497
|
+
"h2",
|
|
498
|
+
{
|
|
499
|
+
style: {
|
|
500
|
+
margin: 0,
|
|
501
|
+
padding: "var(--spacing-xl, 12px) var(--spacing-3xl, 16px) var(--spacing-sm, 4px)",
|
|
502
|
+
color: T.primary,
|
|
503
|
+
fontFamily: T.font,
|
|
504
|
+
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
505
|
+
lineHeight: "var(--line-height-line-height-sm, 20px)",
|
|
506
|
+
fontWeight: 500
|
|
507
|
+
},
|
|
508
|
+
children: title
|
|
509
|
+
}
|
|
510
|
+
),
|
|
511
|
+
/* @__PURE__ */ jsx5(
|
|
512
|
+
"div",
|
|
513
|
+
{
|
|
514
|
+
"aria-hidden": true,
|
|
515
|
+
style: {
|
|
516
|
+
height: 1,
|
|
517
|
+
margin: "0 var(--spacing-md, 8px)",
|
|
518
|
+
background: "var(--alias-border-divider, #dedede)"
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
)
|
|
522
|
+
] }) : null,
|
|
494
523
|
ordered.map((app) => /* @__PURE__ */ jsx5(ScAppSwitchRow, { item: app }, app.key)),
|
|
495
524
|
resolvedSystemItems.length > 0 ? /* @__PURE__ */ jsxs4(
|
|
496
525
|
"div",
|
|
@@ -643,7 +672,7 @@ var ScHeader_default = {
|
|
|
643
672
|
|
|
644
673
|
// src/SC-Header/ScHeader.tsx
|
|
645
674
|
import { SiconDoubleArrowUp, SiconDoubleArrowDown } from "@streamoid/icons";
|
|
646
|
-
import { Fragment, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
675
|
+
import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
647
676
|
var ScHeader = ({
|
|
648
677
|
text = "Header",
|
|
649
678
|
state = "up",
|
|
@@ -661,13 +690,13 @@ var ScHeader = ({
|
|
|
661
690
|
text,
|
|
662
691
|
" "
|
|
663
692
|
] }),
|
|
664
|
-
state === "down" && /* @__PURE__ */ jsx8(
|
|
693
|
+
state === "down" && /* @__PURE__ */ jsx8(Fragment2, { children: /* @__PURE__ */ jsx8(
|
|
665
694
|
SiconDoubleArrowDown,
|
|
666
695
|
{
|
|
667
696
|
className: ScHeader_default.siconDoubleArrowDownInstance
|
|
668
697
|
}
|
|
669
698
|
) }),
|
|
670
|
-
state === "up" && /* @__PURE__ */ jsx8(
|
|
699
|
+
state === "up" && /* @__PURE__ */ jsx8(Fragment2, { children: /* @__PURE__ */ jsx8(
|
|
671
700
|
SiconDoubleArrowUp,
|
|
672
701
|
{
|
|
673
702
|
className: ScHeader_default.siconDoubleArrowUpInstance
|
|
@@ -996,7 +1025,7 @@ var ScCheckbox = ({
|
|
|
996
1025
|
};
|
|
997
1026
|
|
|
998
1027
|
// src/SC-Pairtext/ScPairtext.tsx
|
|
999
|
-
import { Fragment as
|
|
1028
|
+
import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1000
1029
|
var ScPairtext = ({
|
|
1001
1030
|
content = "Pairtext",
|
|
1002
1031
|
icon = /* @__PURE__ */ jsx12(SiconHome, { className: ScPairtext_default.siconHomeInstance }),
|
|
@@ -1018,11 +1047,11 @@ var ScPairtext = ({
|
|
|
1018
1047
|
onChange?.(!checked);
|
|
1019
1048
|
},
|
|
1020
1049
|
children: [
|
|
1021
|
-
iconPosition === "right" && /* @__PURE__ */ jsx12(
|
|
1050
|
+
iconPosition === "right" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsxs12("div", { className: ScPairtext_default.content, children: [
|
|
1022
1051
|
content,
|
|
1023
1052
|
" "
|
|
1024
1053
|
] }) }),
|
|
1025
|
-
type === "checkbox" && /* @__PURE__ */ jsx12(
|
|
1054
|
+
type === "checkbox" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsx12(
|
|
1026
1055
|
ScCheckbox,
|
|
1027
1056
|
{
|
|
1028
1057
|
state: derivedState,
|
|
@@ -1030,15 +1059,15 @@ var ScPairtext = ({
|
|
|
1030
1059
|
className: ScPairtext_default.scCheckboxInstance
|
|
1031
1060
|
}
|
|
1032
1061
|
) }),
|
|
1033
|
-
type === "radio" && /* @__PURE__ */ jsx12(
|
|
1062
|
+
type === "radio" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsx12(
|
|
1034
1063
|
ScRadio,
|
|
1035
1064
|
{
|
|
1036
1065
|
state: derivedState,
|
|
1037
1066
|
className: ScPairtext_default.scRadioInstance
|
|
1038
1067
|
}
|
|
1039
1068
|
) }),
|
|
1040
|
-
type === "icon" && /* @__PURE__ */ jsx12(
|
|
1041
|
-
iconPosition === "left" && /* @__PURE__ */ jsx12(
|
|
1069
|
+
type === "icon" && /* @__PURE__ */ jsx12(Fragment3, { children: icon }),
|
|
1070
|
+
iconPosition === "left" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsxs12("div", { className: ScPairtext_default.content, children: [
|
|
1042
1071
|
content,
|
|
1043
1072
|
" "
|
|
1044
1073
|
] }) })
|
|
@@ -1124,7 +1153,7 @@ var ScButton_default = {
|
|
|
1124
1153
|
// src/SC-Button/ScButton.tsx
|
|
1125
1154
|
import { SiconHome as SiconHome2 } from "@streamoid/icons";
|
|
1126
1155
|
import { useState as useState2, useEffect, isValidElement, cloneElement } from "react";
|
|
1127
|
-
import { Fragment as
|
|
1156
|
+
import { Fragment as Fragment4, jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1128
1157
|
if (typeof window !== "undefined" && CSS.registerProperty) {
|
|
1129
1158
|
const props = [
|
|
1130
1159
|
{ name: "--x-0", val: "72%" },
|
|
@@ -1235,13 +1264,13 @@ var ScButton = ({
|
|
|
1235
1264
|
style: { backgroundImage: `url(${noiseUrl})` }
|
|
1236
1265
|
}
|
|
1237
1266
|
),
|
|
1238
|
-
/* @__PURE__ */ jsx14("div", { className: ScButton_default.container, children: loading ? /* @__PURE__ */ jsx14("span", { className: ScButton_default.spinner, "aria-hidden": true }) : children !== void 0 && children !== null ? /* @__PURE__ */ jsx14("div", { className: ScButton_default.label, children }) : /* @__PURE__ */ jsxs14(
|
|
1239
|
-
(styleVariant === "icon-left" || styleVariant === "icon-only") && /* @__PURE__ */ jsx14(
|
|
1240
|
-
(styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ jsx14(
|
|
1267
|
+
/* @__PURE__ */ jsx14("div", { className: ScButton_default.container, children: loading ? /* @__PURE__ */ jsx14("span", { className: ScButton_default.spinner, "aria-hidden": true }) : children !== void 0 && children !== null ? /* @__PURE__ */ jsx14("div", { className: ScButton_default.label, children }) : /* @__PURE__ */ jsxs14(Fragment4, { children: [
|
|
1268
|
+
(styleVariant === "icon-left" || styleVariant === "icon-only") && /* @__PURE__ */ jsx14(Fragment4, { children: styledIcon }),
|
|
1269
|
+
(styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ jsx14(Fragment4, { children: /* @__PURE__ */ jsxs14("div", { className: ScButton_default.label, children: [
|
|
1241
1270
|
text,
|
|
1242
1271
|
" "
|
|
1243
1272
|
] }) }),
|
|
1244
|
-
styleVariant === "icon-right" && /* @__PURE__ */ jsx14(
|
|
1273
|
+
styleVariant === "icon-right" && /* @__PURE__ */ jsx14(Fragment4, { children: styledIcon })
|
|
1245
1274
|
] }) })
|
|
1246
1275
|
]
|
|
1247
1276
|
}
|
|
@@ -2058,7 +2087,7 @@ var ScMenuOptions_default = {
|
|
|
2058
2087
|
|
|
2059
2088
|
// src/SC-Menu options/ScMenuOptions.tsx
|
|
2060
2089
|
import { SiconTeam } from "@streamoid/icons";
|
|
2061
|
-
import { Fragment as
|
|
2090
|
+
import { Fragment as Fragment5, jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2062
2091
|
var ScMenuOptions = ({
|
|
2063
2092
|
icon = /* @__PURE__ */ jsx26(SiconTeam, { className: ScMenuOptions_default.siconTeamInstance }),
|
|
2064
2093
|
version = "v2.0.21",
|
|
@@ -2080,7 +2109,7 @@ var ScMenuOptions = ({
|
|
|
2080
2109
|
text,
|
|
2081
2110
|
" "
|
|
2082
2111
|
] }),
|
|
2083
|
-
variant === "with-v" && /* @__PURE__ */ jsx26(
|
|
2112
|
+
variant === "with-v" && /* @__PURE__ */ jsx26(Fragment5, { children: /* @__PURE__ */ jsxs22("div", { className: ScMenuOptions_default.content2, children: [
|
|
2084
2113
|
version,
|
|
2085
2114
|
" "
|
|
2086
2115
|
] }) })
|
|
@@ -2593,7 +2622,7 @@ var ScPlanDetailsCard_default = {
|
|
|
2593
2622
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
2594
2623
|
import { SiconBilling } from "@streamoid/icons";
|
|
2595
2624
|
import { SiconHome as SiconHome4 } from "@streamoid/icons";
|
|
2596
|
-
import { Fragment as
|
|
2625
|
+
import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2597
2626
|
var ScPlanDetailsCard = ({
|
|
2598
2627
|
planName = "Free",
|
|
2599
2628
|
planCredits = "30,000 credits",
|
|
@@ -2617,7 +2646,7 @@ var ScPlanDetailsCard = ({
|
|
|
2617
2646
|
className: ScPlanDetailsCard_default.scPairtextInstance
|
|
2618
2647
|
}
|
|
2619
2648
|
),
|
|
2620
|
-
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs25(
|
|
2649
|
+
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2621
2650
|
/* @__PURE__ */ jsx30(
|
|
2622
2651
|
ScBadges,
|
|
2623
2652
|
{
|
|
@@ -2627,7 +2656,7 @@ var ScPlanDetailsCard = ({
|
|
|
2627
2656
|
className: ScPlanDetailsCard_default.scBadgesInstance
|
|
2628
2657
|
}
|
|
2629
2658
|
),
|
|
2630
|
-
badgeSubText && /* @__PURE__ */ jsxs25(
|
|
2659
|
+
badgeSubText && /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2631
2660
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.badgeDot }),
|
|
2632
2661
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.badgeSubText, children: badgeSubText })
|
|
2633
2662
|
] })
|
|
@@ -2635,13 +2664,13 @@ var ScPlanDetailsCard = ({
|
|
|
2635
2664
|
] }),
|
|
2636
2665
|
/* @__PURE__ */ jsx30(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
2637
2666
|
/* @__PURE__ */ jsxs25("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
2638
|
-
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs25(
|
|
2667
|
+
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2639
2668
|
/* @__PURE__ */ jsxs25("div", { className: ScPlanDetailsCard_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
2640
2669
|
/* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.planNameSkeleton}` }),
|
|
2641
2670
|
/* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.creditsSkeleton}` })
|
|
2642
2671
|
] }),
|
|
2643
2672
|
/* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.priceSkeleton}` })
|
|
2644
|
-
] }) : /* @__PURE__ */ jsxs25(
|
|
2673
|
+
] }) : /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2645
2674
|
/* @__PURE__ */ jsxs25("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
2646
2675
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
2647
2676
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
@@ -2674,7 +2703,7 @@ var ScProfile_default = {
|
|
|
2674
2703
|
};
|
|
2675
2704
|
|
|
2676
2705
|
// src/SC-Profile/ScProfile.tsx
|
|
2677
|
-
import { Fragment as
|
|
2706
|
+
import { Fragment as Fragment7, jsx as jsx31, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2678
2707
|
var ScProfile = ({
|
|
2679
2708
|
name = "Chris Hemsworth",
|
|
2680
2709
|
subText = "Kepler workspace",
|
|
@@ -2691,7 +2720,7 @@ var ScProfile = ({
|
|
|
2691
2720
|
...props,
|
|
2692
2721
|
children: [
|
|
2693
2722
|
/* @__PURE__ */ jsx31("img", { className: ScProfile_default.profileImage, src: profileImage }),
|
|
2694
|
-
collapsed === "false" && /* @__PURE__ */ jsx31(
|
|
2723
|
+
collapsed === "false" && /* @__PURE__ */ jsx31(Fragment7, { children: /* @__PURE__ */ jsxs26("div", { className: ScProfile_default.userInfo, children: [
|
|
2695
2724
|
/* @__PURE__ */ jsxs26("div", { className: ScProfile_default.userName, children: [
|
|
2696
2725
|
name,
|
|
2697
2726
|
" "
|
|
@@ -2840,7 +2869,7 @@ var ScWorkspace_default = {
|
|
|
2840
2869
|
};
|
|
2841
2870
|
|
|
2842
2871
|
// src/SC-Workspace/ScWorkspace.tsx
|
|
2843
|
-
import { Fragment as
|
|
2872
|
+
import { Fragment as Fragment8, jsx as jsx34, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2844
2873
|
var ScWorkspace = ({
|
|
2845
2874
|
collapsed = "false",
|
|
2846
2875
|
workspaceName = "Kepler",
|
|
@@ -2857,7 +2886,7 @@ var ScWorkspace = ({
|
|
|
2857
2886
|
...props,
|
|
2858
2887
|
children: [
|
|
2859
2888
|
/* @__PURE__ */ jsx34("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
|
|
2860
|
-
collapsed === "false" && /* @__PURE__ */ jsx34(
|
|
2889
|
+
collapsed === "false" && /* @__PURE__ */ jsx34(Fragment8, { children: /* @__PURE__ */ jsxs28("div", { className: ScWorkspace_default.userInfo, children: [
|
|
2861
2890
|
/* @__PURE__ */ jsxs28("div", { className: ScWorkspace_default.userName, children: [
|
|
2862
2891
|
workspaceName,
|
|
2863
2892
|
" "
|
|
@@ -2891,7 +2920,7 @@ var ScTabComp_default = {
|
|
|
2891
2920
|
|
|
2892
2921
|
// src/SC-tabComp/ScTabComp.tsx
|
|
2893
2922
|
import { SiconHome as SiconHome5 } from "@streamoid/icons";
|
|
2894
|
-
import { Fragment as
|
|
2923
|
+
import { Fragment as Fragment9, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2895
2924
|
var ScTabComp = ({
|
|
2896
2925
|
icon = /* @__PURE__ */ jsx35(SiconHome5, { className: ScTabComp_default.siconHomeInstance }),
|
|
2897
2926
|
active = "false",
|
|
@@ -2907,8 +2936,8 @@ var ScTabComp = ({
|
|
|
2907
2936
|
className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
|
|
2908
2937
|
...props,
|
|
2909
2938
|
children: [
|
|
2910
|
-
type === "icon-only" && /* @__PURE__ */ jsx35(
|
|
2911
|
-
type === "text-only" && /* @__PURE__ */ jsx35(
|
|
2939
|
+
type === "icon-only" && /* @__PURE__ */ jsx35(Fragment9, { children: /* @__PURE__ */ jsx35("div", { className: ScTabComp_default.icon, children: icon }) }),
|
|
2940
|
+
type === "text-only" && /* @__PURE__ */ jsx35(Fragment9, { children: /* @__PURE__ */ jsx35("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ jsxs29("div", { className: ScTabComp_default.tabText, children: [
|
|
2912
2941
|
text,
|
|
2913
2942
|
" "
|
|
2914
2943
|
] }) }) })
|
|
@@ -2929,7 +2958,7 @@ var ScTabSwitcher_default = {
|
|
|
2929
2958
|
|
|
2930
2959
|
// src/SC-tabSwitcher/ScTabSwitcher.tsx
|
|
2931
2960
|
import { SiconHome as SiconHome6 } from "@streamoid/icons";
|
|
2932
|
-
import { Fragment as
|
|
2961
|
+
import { Fragment as Fragment10, jsx as jsx36, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2933
2962
|
var ScTabSwitcher = ({
|
|
2934
2963
|
tabCount = "2",
|
|
2935
2964
|
component,
|
|
@@ -2965,21 +2994,21 @@ var ScTabSwitcher = ({
|
|
|
2965
2994
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
2966
2995
|
}
|
|
2967
2996
|
),
|
|
2968
|
-
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(
|
|
2997
|
+
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(Fragment10, { children: component3 ? component3 : /* @__PURE__ */ jsx36(
|
|
2969
2998
|
ScTabComp,
|
|
2970
2999
|
{
|
|
2971
3000
|
icon: /* @__PURE__ */ jsx36(SiconHome6, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
2972
3001
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
2973
3002
|
}
|
|
2974
3003
|
) }),
|
|
2975
|
-
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(
|
|
3004
|
+
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(Fragment10, { children: component4 ? component4 : /* @__PURE__ */ jsx36(
|
|
2976
3005
|
ScTabComp,
|
|
2977
3006
|
{
|
|
2978
3007
|
icon: /* @__PURE__ */ jsx36(SiconHome6, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
2979
3008
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
2980
3009
|
}
|
|
2981
3010
|
) }),
|
|
2982
|
-
tabCount === "5" && /* @__PURE__ */ jsx36(
|
|
3011
|
+
tabCount === "5" && /* @__PURE__ */ jsx36(Fragment10, { children: component5 ? component5 : /* @__PURE__ */ jsx36(
|
|
2983
3012
|
ScTabComp,
|
|
2984
3013
|
{
|
|
2985
3014
|
icon: /* @__PURE__ */ jsx36(SiconHome6, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
@@ -3263,7 +3292,7 @@ var ScInfoPopup = ({
|
|
|
3263
3292
|
};
|
|
3264
3293
|
|
|
3265
3294
|
// src/SC-textField/ScTextField.tsx
|
|
3266
|
-
import { Fragment as
|
|
3295
|
+
import { Fragment as Fragment11, jsx as jsx39, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
3267
3296
|
var ScTextField = forwardRef(
|
|
3268
3297
|
({
|
|
3269
3298
|
tfRightIcon = /* @__PURE__ */ jsx39(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
@@ -3311,8 +3340,8 @@ var ScTextField = forwardRef(
|
|
|
3311
3340
|
required && /* @__PURE__ */ jsx39("span", { className: ScTextField_default.required, children: "*" })
|
|
3312
3341
|
] }),
|
|
3313
3342
|
info != null && /* @__PURE__ */ jsx39(ScInfoPopup, { content: info }),
|
|
3314
|
-
labelGroup === "text" && /* @__PURE__ */ jsx39(
|
|
3315
|
-
labelGroup === "icon" && /* @__PURE__ */ jsx39(
|
|
3343
|
+
labelGroup === "text" && /* @__PURE__ */ jsx39(Fragment11, { children: /* @__PURE__ */ jsx39("div", { className: ScTextField_default.info, children: "info " }) }),
|
|
3344
|
+
labelGroup === "icon" && /* @__PURE__ */ jsx39(Fragment11, { children: /* @__PURE__ */ jsx39(SiconBolt2, { className: ScTextField_default.siconBoltInstance }) })
|
|
3316
3345
|
] }),
|
|
3317
3346
|
/* @__PURE__ */ jsxs33(
|
|
3318
3347
|
"div",
|
|
@@ -3321,7 +3350,7 @@ var ScTextField = forwardRef(
|
|
|
3321
3350
|
style: containerStyle,
|
|
3322
3351
|
children: [
|
|
3323
3352
|
leftSlot,
|
|
3324
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(
|
|
3353
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(Fragment11, { children: tfLeftIcon }),
|
|
3325
3354
|
/* @__PURE__ */ jsx39(
|
|
3326
3355
|
"input",
|
|
3327
3356
|
{
|
|
@@ -3340,7 +3369,7 @@ var ScTextField = forwardRef(
|
|
|
3340
3369
|
}
|
|
3341
3370
|
}
|
|
3342
3371
|
),
|
|
3343
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(
|
|
3372
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(Fragment11, { children: tfRightIcon }),
|
|
3344
3373
|
rightSlot
|
|
3345
3374
|
]
|
|
3346
3375
|
}
|
|
@@ -3492,7 +3521,7 @@ var ScSidebarMenu_default = {
|
|
|
3492
3521
|
|
|
3493
3522
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
3494
3523
|
import { SiconHome as SiconHome8 } from "@streamoid/icons";
|
|
3495
|
-
import { Fragment as
|
|
3524
|
+
import { Fragment as Fragment12, jsx as jsx42, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
3496
3525
|
var ScSidebarMenu = ({
|
|
3497
3526
|
icon = /* @__PURE__ */ jsx42(SiconHome8, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
3498
3527
|
state = "default",
|
|
@@ -3511,7 +3540,7 @@ var ScSidebarMenu = ({
|
|
|
3511
3540
|
...props,
|
|
3512
3541
|
children: [
|
|
3513
3542
|
icon,
|
|
3514
|
-
variant === "expanded" && /* @__PURE__ */ jsxs36(
|
|
3543
|
+
variant === "expanded" && /* @__PURE__ */ jsxs36(Fragment12, { children: [
|
|
3515
3544
|
/* @__PURE__ */ jsx42("div", { className: ScSidebarMenu_default.content, children: text }),
|
|
3516
3545
|
moreIcon && /* @__PURE__ */ jsx42(
|
|
3517
3546
|
"div",
|
|
@@ -3602,7 +3631,7 @@ var ScVersion_default = {
|
|
|
3602
3631
|
|
|
3603
3632
|
// src/SC-version/ScVersion.tsx
|
|
3604
3633
|
import { SiconCollapse } from "@streamoid/icons";
|
|
3605
|
-
import { Fragment as
|
|
3634
|
+
import { Fragment as Fragment13, jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3606
3635
|
var ScVersion = ({
|
|
3607
3636
|
state = "expanded",
|
|
3608
3637
|
version = "v2.1.2",
|
|
@@ -3618,7 +3647,7 @@ var ScVersion = ({
|
|
|
3618
3647
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
3619
3648
|
...props,
|
|
3620
3649
|
children: [
|
|
3621
|
-
state === "collapsed" && /* @__PURE__ */ jsx45(
|
|
3650
|
+
state === "collapsed" && /* @__PURE__ */ jsx45(Fragment13, { children: /* @__PURE__ */ jsx45("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx45(
|
|
3622
3651
|
ScSidebarIcons,
|
|
3623
3652
|
{
|
|
3624
3653
|
instance: scSidebarIconsinstance || /* @__PURE__ */ jsx45(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
@@ -3629,7 +3658,7 @@ var ScVersion = ({
|
|
|
3629
3658
|
version,
|
|
3630
3659
|
" "
|
|
3631
3660
|
] }),
|
|
3632
|
-
state === "expanded" && /* @__PURE__ */ jsx45(
|
|
3661
|
+
state === "expanded" && /* @__PURE__ */ jsx45(Fragment13, { children: /* @__PURE__ */ jsx45(
|
|
3633
3662
|
ScSidebarIcons,
|
|
3634
3663
|
{
|
|
3635
3664
|
instance: /* @__PURE__ */ jsx45(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
@@ -3643,7 +3672,7 @@ var ScVersion = ({
|
|
|
3643
3672
|
};
|
|
3644
3673
|
|
|
3645
3674
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
3646
|
-
import { Fragment as
|
|
3675
|
+
import { Fragment as Fragment14, jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3647
3676
|
var ScSidebar = ({
|
|
3648
3677
|
state = "expanded",
|
|
3649
3678
|
className,
|
|
@@ -3656,7 +3685,7 @@ var ScSidebar = ({
|
|
|
3656
3685
|
{
|
|
3657
3686
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
3658
3687
|
children: [
|
|
3659
|
-
state === "collapsed" && /* @__PURE__ */ jsx46(
|
|
3688
|
+
state === "collapsed" && /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.collapsedContainer, children: [
|
|
3660
3689
|
/* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.collapsedItems, children: [
|
|
3661
3690
|
/* @__PURE__ */ jsx46(
|
|
3662
3691
|
ScLogoUnit,
|
|
@@ -3798,7 +3827,7 @@ var ScSidebar = ({
|
|
|
3798
3827
|
}
|
|
3799
3828
|
)
|
|
3800
3829
|
] }) }),
|
|
3801
|
-
state === "expanded" && /* @__PURE__ */ jsx46(
|
|
3830
|
+
state === "expanded" && /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.expandedContainer, children: [
|
|
3802
3831
|
/* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.expandedItems, children: [
|
|
3803
3832
|
/* @__PURE__ */ jsx46(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
|
|
3804
3833
|
/* @__PURE__ */ jsx46("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx46(
|
|
@@ -4074,7 +4103,7 @@ function ScSidebarResizeHandle({
|
|
|
4074
4103
|
}
|
|
4075
4104
|
|
|
4076
4105
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
4077
|
-
import { Fragment as
|
|
4106
|
+
import { Fragment as Fragment15, jsx as jsx49, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
4078
4107
|
function SectionHeader({ label }) {
|
|
4079
4108
|
return /* @__PURE__ */ jsx49("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ jsx49("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsx49(
|
|
4080
4109
|
"div",
|
|
@@ -4344,7 +4373,7 @@ function StreamoidSidebar({
|
|
|
4344
4373
|
},
|
|
4345
4374
|
children: [
|
|
4346
4375
|
!hasSwitchCard ? logoRow : null,
|
|
4347
|
-
!!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs40(
|
|
4376
|
+
!!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4348
4377
|
/* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
|
|
4349
4378
|
/* @__PURE__ */ jsx49(
|
|
4350
4379
|
"div",
|
|
@@ -4369,7 +4398,7 @@ function StreamoidSidebar({
|
|
|
4369
4398
|
),
|
|
4370
4399
|
/* @__PURE__ */ jsx49(HDivider, {})
|
|
4371
4400
|
] }),
|
|
4372
|
-
showBody && bodyContent ? /* @__PURE__ */ jsx49("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsxs40(
|
|
4401
|
+
showBody && bodyContent ? /* @__PURE__ */ jsx49("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4373
4402
|
!(topItems?.length || config.topItem) && /* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
|
|
4374
4403
|
config.sections.map((section) => /* @__PURE__ */ jsxs40(
|
|
4375
4404
|
"div",
|
|
@@ -4509,7 +4538,7 @@ function StreamoidSidebar({
|
|
|
4509
4538
|
]
|
|
4510
4539
|
}
|
|
4511
4540
|
)
|
|
4512
|
-
) : /* @__PURE__ */ jsxs40(
|
|
4541
|
+
) : /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4513
4542
|
/* @__PURE__ */ jsxs40(
|
|
4514
4543
|
"div",
|
|
4515
4544
|
{
|
|
@@ -4549,7 +4578,7 @@ function StreamoidSidebar({
|
|
|
4549
4578
|
]
|
|
4550
4579
|
}
|
|
4551
4580
|
),
|
|
4552
|
-
!effectiveHideFooter && /* @__PURE__ */ jsx49(
|
|
4581
|
+
!effectiveHideFooter && /* @__PURE__ */ jsx49(Fragment15, { children: /* @__PURE__ */ jsx49(HDivider, {}) })
|
|
4553
4582
|
] }) : null,
|
|
4554
4583
|
!effectiveHideFooter && !toggleInProfile && /* @__PURE__ */ jsx49("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx49("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs40(
|
|
4555
4584
|
"div",
|
|
@@ -4624,7 +4653,7 @@ function StreamoidSidebar({
|
|
|
4624
4653
|
}
|
|
4625
4654
|
}
|
|
4626
4655
|
),
|
|
4627
|
-
hasSwitchCard ? /* @__PURE__ */ jsxs40(
|
|
4656
|
+
hasSwitchCard ? /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4628
4657
|
/* @__PURE__ */ jsx49(
|
|
4629
4658
|
"div",
|
|
4630
4659
|
{
|
|
@@ -4677,7 +4706,7 @@ function StreamoidSidebar({
|
|
|
4677
4706
|
},
|
|
4678
4707
|
children: [
|
|
4679
4708
|
collapsedLogo,
|
|
4680
|
-
!!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs40(
|
|
4709
|
+
!!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4681
4710
|
/* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
|
|
4682
4711
|
/* @__PURE__ */ jsx49(
|
|
4683
4712
|
"div",
|
|
@@ -4883,7 +4912,7 @@ var ScSidebarShell_default = {
|
|
|
4883
4912
|
};
|
|
4884
4913
|
|
|
4885
4914
|
// src/SC-SidebarShell/ScSidebarShell.tsx
|
|
4886
|
-
import { Fragment as
|
|
4915
|
+
import { Fragment as Fragment16, jsx as jsx50, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
4887
4916
|
function ScSidebarWorkspaceTrigger({
|
|
4888
4917
|
workspaceName,
|
|
4889
4918
|
workspaceImage,
|
|
@@ -4914,7 +4943,7 @@ function ScSidebarWorkspaceTrigger({
|
|
|
4914
4943
|
size: expanded ? 32 : 40
|
|
4915
4944
|
}
|
|
4916
4945
|
),
|
|
4917
|
-
expanded ? /* @__PURE__ */ jsxs41(
|
|
4946
|
+
expanded ? /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
4918
4947
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.workspaceName, children: workspaceName }),
|
|
4919
4948
|
/* @__PURE__ */ jsx50(
|
|
4920
4949
|
SiconDoubleArrow,
|
|
@@ -4951,7 +4980,7 @@ function ScSidebarSearchTrigger({
|
|
|
4951
4980
|
color: "var(--alias-text---icons-muted)"
|
|
4952
4981
|
}
|
|
4953
4982
|
),
|
|
4954
|
-
expanded ? /* @__PURE__ */ jsxs41(
|
|
4983
|
+
expanded ? /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
4955
4984
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.searchLabel, children: label }),
|
|
4956
4985
|
shortcut ? /* @__PURE__ */ jsx50("kbd", { className: ScSidebarShell_default.shortcut, children: shortcut }) : null
|
|
4957
4986
|
] }) : null
|
|
@@ -4983,8 +5012,14 @@ function ScSidebarAppIdentity({
|
|
|
4983
5012
|
"aria-label": `Switch Apps. Current app: ${appLabel}`,
|
|
4984
5013
|
title: "Switch Apps",
|
|
4985
5014
|
className: `${ScSidebarShell_default.appIdentity} ${expanded ? ScSidebarShell_default.appIdentityExpanded : ScSidebarShell_default.appIdentityCollapsed}${className ? ` ${className}` : ""}`,
|
|
4986
|
-
children: expanded ? /* @__PURE__ */ jsxs41(
|
|
4987
|
-
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ jsx50(
|
|
5015
|
+
children: expanded ? /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
5016
|
+
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ jsx50(
|
|
5017
|
+
ScAppcardLogos,
|
|
5018
|
+
{
|
|
5019
|
+
product,
|
|
5020
|
+
style: { height: 16 }
|
|
5021
|
+
}
|
|
5022
|
+
) }),
|
|
4988
5023
|
/* @__PURE__ */ jsx50(AppGridIcon, {})
|
|
4989
5024
|
] }) : collapsedMark ?? (product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidMascot, { size: 40 }) : /* @__PURE__ */ jsx50("span", { "aria-hidden": true, className: ScSidebarShell_default.collapsedProductMark, children: collapsedLabel ?? COMPACT_APP_LABELS[product] }))
|
|
4990
5025
|
}
|
|
@@ -4998,7 +5033,7 @@ function MenuActionRow({
|
|
|
4998
5033
|
trailing,
|
|
4999
5034
|
ariaLabel
|
|
5000
5035
|
}) {
|
|
5001
|
-
const content = /* @__PURE__ */ jsxs41(
|
|
5036
|
+
const content = /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
5002
5037
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.rowIcon, children: icon }),
|
|
5003
5038
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.rowLabel, children: label }),
|
|
5004
5039
|
value != null ? /* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.rowValue, children: value }) : null,
|
|
@@ -5388,7 +5423,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5388
5423
|
placement,
|
|
5389
5424
|
width,
|
|
5390
5425
|
gap = 8,
|
|
5391
|
-
inset =
|
|
5426
|
+
inset = 0
|
|
5392
5427
|
}) {
|
|
5393
5428
|
const [position, setPosition] = useState11({
|
|
5394
5429
|
position: "fixed",
|
|
@@ -5432,7 +5467,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5432
5467
|
window.innerHeight - bounds.bottom + inset
|
|
5433
5468
|
)
|
|
5434
5469
|
};
|
|
5435
|
-
|
|
5470
|
+
const next = {
|
|
5436
5471
|
position: "fixed",
|
|
5437
5472
|
left,
|
|
5438
5473
|
width: panelWidth,
|
|
@@ -5440,7 +5475,10 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5440
5475
|
maxHeight: `calc(100dvh - ${VIEWPORT_INSET * 2}px)`,
|
|
5441
5476
|
visibility: "visible",
|
|
5442
5477
|
...vertical
|
|
5443
|
-
}
|
|
5478
|
+
};
|
|
5479
|
+
setPosition(
|
|
5480
|
+
(prev) => prev.left === next.left && prev.width === next.width && prev.visibility === next.visibility && prev.top === next.top && prev.bottom === next.bottom ? prev : next
|
|
5481
|
+
);
|
|
5444
5482
|
};
|
|
5445
5483
|
resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5446
5484
|
measure();
|
|
@@ -5497,7 +5535,7 @@ var ScArtifaxSidebar_default = {
|
|
|
5497
5535
|
|
|
5498
5536
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
5499
5537
|
import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
|
|
5500
|
-
import { Fragment as
|
|
5538
|
+
import { Fragment as Fragment17, jsx as jsx51, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
5501
5539
|
function ArtifaxPlaceholderIcon() {
|
|
5502
5540
|
return /* @__PURE__ */ jsx51("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
5503
5541
|
}
|
|
@@ -5505,9 +5543,9 @@ function resolveIcon2(iconMap, item, active, expanded) {
|
|
|
5505
5543
|
const renderer = iconMap?.[item.iconKey];
|
|
5506
5544
|
if (renderer == null) return /* @__PURE__ */ jsx51(ArtifaxPlaceholderIcon, {});
|
|
5507
5545
|
if (typeof renderer === "function") {
|
|
5508
|
-
return /* @__PURE__ */ jsx51(
|
|
5546
|
+
return /* @__PURE__ */ jsx51(Fragment17, { children: renderer({ item, active, expanded }) });
|
|
5509
5547
|
}
|
|
5510
|
-
return /* @__PURE__ */ jsx51(
|
|
5548
|
+
return /* @__PURE__ */ jsx51(Fragment17, { children: renderer });
|
|
5511
5549
|
}
|
|
5512
5550
|
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
5513
5551
|
if (toggleIcon == null)
|
|
@@ -5802,7 +5840,7 @@ var ScSidebarSwitchMenu_default = {
|
|
|
5802
5840
|
};
|
|
5803
5841
|
|
|
5804
5842
|
// src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.tsx
|
|
5805
|
-
import { Fragment as
|
|
5843
|
+
import { Fragment as Fragment18, jsx as jsx52, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
5806
5844
|
var ScSidebarSwitchMenu = ({
|
|
5807
5845
|
icon,
|
|
5808
5846
|
state = "default",
|
|
@@ -5822,7 +5860,7 @@ var ScSidebarSwitchMenu = ({
|
|
|
5822
5860
|
...props,
|
|
5823
5861
|
children: [
|
|
5824
5862
|
icon ? /* @__PURE__ */ jsx52("div", { className: ScSidebarSwitchMenu_default.iconWrapper, children: icon }) : null,
|
|
5825
|
-
variant === "expanded" && /* @__PURE__ */ jsxs43(
|
|
5863
|
+
variant === "expanded" && /* @__PURE__ */ jsxs43(Fragment18, { children: [
|
|
5826
5864
|
/* @__PURE__ */ jsxs43("div", { className: ScSidebarSwitchMenu_default.content, children: [
|
|
5827
5865
|
/* @__PURE__ */ jsx52("div", { className: ScSidebarSwitchMenu_default.text, children: text }),
|
|
5828
5866
|
/* @__PURE__ */ jsx52("div", { className: ScSidebarSwitchMenu_default.description, children: description })
|
|
@@ -7414,7 +7452,7 @@ var ScOnlyField = ({
|
|
|
7414
7452
|
|
|
7415
7453
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
7416
7454
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
7417
|
-
import { Fragment as
|
|
7455
|
+
import { Fragment as Fragment19, jsx as jsx67, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7418
7456
|
var ScCatalogixInvite = ({
|
|
7419
7457
|
active = "false",
|
|
7420
7458
|
appName = "Catalogix",
|
|
@@ -7461,7 +7499,7 @@ var ScCatalogixInvite = ({
|
|
|
7461
7499
|
}
|
|
7462
7500
|
)
|
|
7463
7501
|
] }),
|
|
7464
|
-
isEnabled && /* @__PURE__ */ jsx67(
|
|
7502
|
+
isEnabled && /* @__PURE__ */ jsx67(Fragment19, { children: /* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
7465
7503
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
7466
7504
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
7467
7505
|
storeAccessTitle,
|
|
@@ -7500,7 +7538,7 @@ var ScCatalogixInvite = ({
|
|
|
7500
7538
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
7501
7539
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
7502
7540
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
7503
|
-
}, children: "No stores found" }) : /* @__PURE__ */ jsxs57(
|
|
7541
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs57(Fragment19, { children: [
|
|
7504
7542
|
/* @__PURE__ */ jsx67(
|
|
7505
7543
|
ScPairtext,
|
|
7506
7544
|
{
|
|
@@ -7675,7 +7713,7 @@ var ScCheckField_default = {
|
|
|
7675
7713
|
|
|
7676
7714
|
// src/SC-checkField/ScCheckField.tsx
|
|
7677
7715
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
7678
|
-
import { Fragment as
|
|
7716
|
+
import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7679
7717
|
var ScCheckField = ({
|
|
7680
7718
|
label = "Label",
|
|
7681
7719
|
className,
|
|
@@ -7697,7 +7735,7 @@ var ScCheckField = ({
|
|
|
7697
7735
|
className: ScCheckField_default.scPairtextInstance
|
|
7698
7736
|
},
|
|
7699
7737
|
i
|
|
7700
|
-
)) : /* @__PURE__ */ jsxs60(
|
|
7738
|
+
)) : /* @__PURE__ */ jsxs60(Fragment20, { children: [
|
|
7701
7739
|
/* @__PURE__ */ jsx70(
|
|
7702
7740
|
ScPairtext,
|
|
7703
7741
|
{
|
|
@@ -7730,7 +7768,7 @@ var ScFieldButton_default = {
|
|
|
7730
7768
|
|
|
7731
7769
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
7732
7770
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
7733
|
-
import { Fragment as
|
|
7771
|
+
import { Fragment as Fragment21, jsx as jsx71, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
7734
7772
|
var ScFieldButton = ({
|
|
7735
7773
|
icon = /* @__PURE__ */ jsx71(SiconHome11, { className: ScFieldButton_default.siconHomeInstance }),
|
|
7736
7774
|
type = "default",
|
|
@@ -7746,12 +7784,12 @@ var ScFieldButton = ({
|
|
|
7746
7784
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
7747
7785
|
...props,
|
|
7748
7786
|
children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.container, children: [
|
|
7749
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx71(
|
|
7750
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx71(
|
|
7787
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx71(Fragment21, { children: icon }),
|
|
7788
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx71(Fragment21, { children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.label, children: [
|
|
7751
7789
|
text,
|
|
7752
7790
|
" "
|
|
7753
7791
|
] }) }),
|
|
7754
|
-
type === "icon-left" && /* @__PURE__ */ jsx71(
|
|
7792
|
+
type === "icon-left" && /* @__PURE__ */ jsx71(Fragment21, { children: icon })
|
|
7755
7793
|
] })
|
|
7756
7794
|
}
|
|
7757
7795
|
);
|
|
@@ -8039,7 +8077,7 @@ var ScTableHeader_default = {
|
|
|
8039
8077
|
};
|
|
8040
8078
|
|
|
8041
8079
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
8042
|
-
import { Fragment as
|
|
8080
|
+
import { Fragment as Fragment22, jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8043
8081
|
var ScTableHeader = ({
|
|
8044
8082
|
type = "default",
|
|
8045
8083
|
className,
|
|
@@ -8083,7 +8121,7 @@ var ScTableHeader = ({
|
|
|
8083
8121
|
className: ScTableHeader_default.scHeaderInstance4
|
|
8084
8122
|
}
|
|
8085
8123
|
),
|
|
8086
|
-
type === "pending" && /* @__PURE__ */ jsx78(
|
|
8124
|
+
type === "pending" && /* @__PURE__ */ jsx78(Fragment22, { children: /* @__PURE__ */ jsx78(
|
|
8087
8125
|
ScHeader,
|
|
8088
8126
|
{
|
|
8089
8127
|
text: "Invite action",
|
|
@@ -8091,7 +8129,7 @@ var ScTableHeader = ({
|
|
|
8091
8129
|
className: ScTableHeader_default.scHeaderInstance5
|
|
8092
8130
|
}
|
|
8093
8131
|
) }),
|
|
8094
|
-
type === "default" && /* @__PURE__ */ jsx78(
|
|
8132
|
+
type === "default" && /* @__PURE__ */ jsx78(Fragment22, { children: /* @__PURE__ */ jsx78(
|
|
8095
8133
|
ScHeader,
|
|
8096
8134
|
{
|
|
8097
8135
|
text: "Signed On",
|
|
@@ -8125,7 +8163,7 @@ var ScTableList_default = {
|
|
|
8125
8163
|
// src/SC-tableList/ScTableList.tsx
|
|
8126
8164
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
8127
8165
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
8128
|
-
import { Fragment as
|
|
8166
|
+
import { Fragment as Fragment23, jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
8129
8167
|
var ScTableList = ({
|
|
8130
8168
|
invitedBy = "Rohan",
|
|
8131
8169
|
signedOn = "Nov 9th, 2025",
|
|
@@ -8175,13 +8213,13 @@ var ScTableList = ({
|
|
|
8175
8213
|
invitedBy,
|
|
8176
8214
|
" "
|
|
8177
8215
|
] }),
|
|
8178
|
-
variant === "pending" && /* @__PURE__ */ jsx79(
|
|
8216
|
+
variant === "pending" && /* @__PURE__ */ jsx79(Fragment23, { children: /* @__PURE__ */ jsx79(
|
|
8179
8217
|
ScPendingAction,
|
|
8180
8218
|
{
|
|
8181
8219
|
className: ScTableList_default.scPendingActionInstance
|
|
8182
8220
|
}
|
|
8183
8221
|
) }),
|
|
8184
|
-
variant === "active" && /* @__PURE__ */ jsx79(
|
|
8222
|
+
variant === "active" && /* @__PURE__ */ jsx79(Fragment23, { children: /* @__PURE__ */ jsxs69("div", { className: ScTableList_default.date, children: [
|
|
8185
8223
|
signedOn,
|
|
8186
8224
|
" "
|
|
8187
8225
|
] }) })
|
|
@@ -8529,7 +8567,7 @@ var ScDrawer_default = {
|
|
|
8529
8567
|
};
|
|
8530
8568
|
|
|
8531
8569
|
// src/SC-Drawer/ScDrawer.tsx
|
|
8532
|
-
import { Fragment as
|
|
8570
|
+
import { Fragment as Fragment24, jsx as jsx83, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8533
8571
|
var ScDrawer = ({
|
|
8534
8572
|
children,
|
|
8535
8573
|
onClose,
|
|
@@ -8564,7 +8602,7 @@ var ScDrawer = ({
|
|
|
8564
8602
|
}, [open, closeOnEsc, closeOnOutside, onClose]);
|
|
8565
8603
|
if (!open || typeof document === "undefined") return null;
|
|
8566
8604
|
return createPortal2(
|
|
8567
|
-
/* @__PURE__ */ jsxs72(
|
|
8605
|
+
/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
8568
8606
|
backdrop && /* @__PURE__ */ jsx83(
|
|
8569
8607
|
"div",
|
|
8570
8608
|
{
|
|
@@ -9053,7 +9091,7 @@ var ScTaxonomyPill_default = {
|
|
|
9053
9091
|
|
|
9054
9092
|
// src/SC-TaxonomyPill/ScTaxonomyPill.tsx
|
|
9055
9093
|
import { SiconDown as SiconDown2, SiconUp as SiconUp2 } from "@streamoid/icons";
|
|
9056
|
-
import { Fragment as
|
|
9094
|
+
import { Fragment as Fragment25, jsx as jsx93, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
9057
9095
|
var ScTaxonomyPill = ({
|
|
9058
9096
|
type = "pill",
|
|
9059
9097
|
state = "default",
|
|
@@ -9070,7 +9108,7 @@ var ScTaxonomyPill = ({
|
|
|
9070
9108
|
].filter(Boolean).join(" ");
|
|
9071
9109
|
return /* @__PURE__ */ jsx93("div", { className: cls, ...props, children: /* @__PURE__ */ jsxs81("div", { className: ScTaxonomyPill_default.inner, children: [
|
|
9072
9110
|
type === "pill" && /* @__PURE__ */ jsx93("span", { className: ScTaxonomyPill_default.label, children: label }),
|
|
9073
|
-
type === "expand" && /* @__PURE__ */ jsxs81(
|
|
9111
|
+
type === "expand" && /* @__PURE__ */ jsxs81(Fragment25, { children: [
|
|
9074
9112
|
/* @__PURE__ */ jsx93("span", { className: ScTaxonomyPill_default.label, children: count }),
|
|
9075
9113
|
/* @__PURE__ */ jsx93(SiconDown2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9076
9114
|
] }),
|
|
@@ -9198,7 +9236,7 @@ var ScMappingCard_default = {
|
|
|
9198
9236
|
};
|
|
9199
9237
|
|
|
9200
9238
|
// src/SC-MappingCard/ScMappingCard.tsx
|
|
9201
|
-
import { Fragment as
|
|
9239
|
+
import { Fragment as Fragment26, jsx as jsx96, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
9202
9240
|
var ScMappingCard = ({
|
|
9203
9241
|
badge,
|
|
9204
9242
|
columnName,
|
|
@@ -9285,7 +9323,7 @@ var ScMappingCard = ({
|
|
|
9285
9323
|
] })
|
|
9286
9324
|
] }),
|
|
9287
9325
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actions, children: [
|
|
9288
|
-
isDefault && /* @__PURE__ */ jsxs82(
|
|
9326
|
+
isDefault && /* @__PURE__ */ jsxs82(Fragment26, { children: [
|
|
9289
9327
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9290
9328
|
/* @__PURE__ */ jsx96(
|
|
9291
9329
|
"button",
|
|
@@ -10144,7 +10182,7 @@ var ScMediaApproval_default = {
|
|
|
10144
10182
|
};
|
|
10145
10183
|
|
|
10146
10184
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10147
|
-
import { Fragment as
|
|
10185
|
+
import { Fragment as Fragment27, jsx as jsx106, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
10148
10186
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
10149
10187
|
var isVideoUrl = (url, mediaType) => {
|
|
10150
10188
|
if (mediaType === "video") return true;
|
|
@@ -10226,7 +10264,7 @@ var ScMediaApproval = (props) => {
|
|
|
10226
10264
|
)
|
|
10227
10265
|
}
|
|
10228
10266
|
) }),
|
|
10229
|
-
total > 1 && /* @__PURE__ */ jsxs90(
|
|
10267
|
+
total > 1 && /* @__PURE__ */ jsxs90(Fragment27, { children: [
|
|
10230
10268
|
/* @__PURE__ */ jsx106(
|
|
10231
10269
|
"button",
|
|
10232
10270
|
{
|
|
@@ -10969,7 +11007,7 @@ var ScMobileTopNav_default = {
|
|
|
10969
11007
|
};
|
|
10970
11008
|
|
|
10971
11009
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
10972
|
-
import { Fragment as
|
|
11010
|
+
import { Fragment as Fragment28, jsx as jsx114, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
10973
11011
|
var ScMobileTopNav = ({
|
|
10974
11012
|
type = "home",
|
|
10975
11013
|
searchIcon = false,
|
|
@@ -10999,12 +11037,12 @@ var ScMobileTopNav = ({
|
|
|
10999
11037
|
...props,
|
|
11000
11038
|
children: [
|
|
11001
11039
|
type === "home" && /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11002
|
-
type === "chat" && /* @__PURE__ */ jsxs97(
|
|
11040
|
+
type === "chat" && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11003
11041
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11004
11042
|
/* @__PURE__ */ jsx114("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
11005
11043
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11006
11044
|
] }),
|
|
11007
|
-
showSearch && /* @__PURE__ */ jsxs97(
|
|
11045
|
+
showSearch && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11008
11046
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs97("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
11009
11047
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11010
11048
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx114(
|
|
@@ -11020,7 +11058,7 @@ var ScMobileTopNav = ({
|
|
|
11020
11058
|
] }) }),
|
|
11021
11059
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11022
11060
|
] }),
|
|
11023
|
-
type === "inApp" && !search && /* @__PURE__ */ jsxs97(
|
|
11061
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11024
11062
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11025
11063
|
/* @__PURE__ */ jsx114("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
11026
11064
|
/* @__PURE__ */ jsx114(
|
|
@@ -11508,7 +11546,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
11508
11546
|
|
|
11509
11547
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
11510
11548
|
import { SiconBilling as SiconBilling5 } from "@streamoid/icons";
|
|
11511
|
-
import { Fragment as
|
|
11549
|
+
import { Fragment as Fragment29, jsx as jsx124, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
11512
11550
|
var ScPlanDetailsCardMobile = ({
|
|
11513
11551
|
planName = "Pro",
|
|
11514
11552
|
planCredits = "30,000 credits",
|
|
@@ -11534,7 +11572,7 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11534
11572
|
),
|
|
11535
11573
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
11536
11574
|
] }),
|
|
11537
|
-
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs106(
|
|
11575
|
+
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11538
11576
|
/* @__PURE__ */ jsx124(
|
|
11539
11577
|
ScBadges,
|
|
11540
11578
|
{
|
|
@@ -11544,20 +11582,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11544
11582
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
11545
11583
|
}
|
|
11546
11584
|
),
|
|
11547
|
-
badgeSubText && /* @__PURE__ */ jsxs106(
|
|
11585
|
+
badgeSubText && /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11548
11586
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
11549
11587
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
11550
11588
|
] })
|
|
11551
11589
|
] }) })
|
|
11552
11590
|
] }),
|
|
11553
11591
|
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
11554
|
-
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs106(
|
|
11592
|
+
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11555
11593
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
11556
11594
|
/* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
11557
11595
|
/* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
11558
11596
|
] }),
|
|
11559
11597
|
/* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
11560
|
-
] }) : /* @__PURE__ */ jsxs106(
|
|
11598
|
+
] }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11561
11599
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
11562
11600
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
11563
11601
|
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
@@ -11617,7 +11655,7 @@ import {
|
|
|
11617
11655
|
SiconLight as SiconLight3,
|
|
11618
11656
|
SiconDark as SiconDark3
|
|
11619
11657
|
} from "@streamoid/icons";
|
|
11620
|
-
import { Fragment as
|
|
11658
|
+
import { Fragment as Fragment30, jsx as jsx125, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
11621
11659
|
var activateOnKey = (handler) => (event) => {
|
|
11622
11660
|
if (!handler) return;
|
|
11623
11661
|
if (event.key === "Enter" || event.key === " ") {
|
|
@@ -11740,7 +11778,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11740
11778
|
)
|
|
11741
11779
|
] })
|
|
11742
11780
|
] }),
|
|
11743
|
-
hasWorkspaceBlock && /* @__PURE__ */ jsxs107(
|
|
11781
|
+
hasWorkspaceBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
11744
11782
|
/* @__PURE__ */ jsx125(ScHDivider, { className: "" }),
|
|
11745
11783
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.profileDetails, children: [
|
|
11746
11784
|
showWorkspace && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.workspaceInfo, children: [
|
|
@@ -11775,7 +11813,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11775
11813
|
] })
|
|
11776
11814
|
] })
|
|
11777
11815
|
] }),
|
|
11778
|
-
hasMenuBlock && /* @__PURE__ */ jsxs107(
|
|
11816
|
+
hasMenuBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
11779
11817
|
/* @__PURE__ */ jsx125(ScHDivider, { className: "" }),
|
|
11780
11818
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.settingsOptions, children: [
|
|
11781
11819
|
showTeams && menuRow(/* @__PURE__ */ jsx125(SiconTeam8, { size: 24 }), teamsLabel, onTeams),
|